(window.webpackJsonp=window.webpackJsonp||[]).push([[97,40,80],{447:function(t,e,o){"use strict";o.r(e);var r=o(0),n=(o(10),o(448)),c={fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t.$cookies.get("__sssid")&&t.$cookies.set("__sssid",n.a.v4(),{path:"/",maxAge:t.$globals.cookieAge}),0!==t.$store.getters["modules/config/getVoucherListing"].length){e.next=7;break}return e.next=4,t.$api.serverCall(t.$axios,t.$globals.apiUrl,"collections/sss_config/documents/voucher-listing?a=1",t.$globals.apiKey.config);case 4:o=e.sent,r=JSON.parse(decodeURIComponent(o.data)),t.$store.dispatch("modules/config/setVoucherListing",r);case 7:case"end":return e.stop()}}),e)})))()},created:function(){0},mounted:function(){if(this.$store.getters["modules/config/getServerLoad"]&&null!==localStorage.getItem("vuexLocal")){var t=JSON.parse(localStorage.getItem("vuexLocal")),e={modules:{login:{},address:{},config:{},cart:{},buzz:{}}};e.modules.login=t.modules.login,e.modules.address=t.modules.address,t.modules.config.sessionData={},t.modules.config.voucherListing=[],t.modules.config.device={},t.modules.config.microSite={},t.modules.config.categoryName=this.$store.getters["modules/config/getCategoryName"],t.modules.config.pageTitle=this.$store.getters["modules/config/getPageTitle"],e.modules.config=t.modules.config,e.modules.cart=t.modules.cart,localStorage.setItem("vuexLocal",JSON.stringify(e)),this.$store.dispatch("modules/config/setServerLoad",!1)}}},l=o(1),component=Object(l.a)(c,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null);e.default=component.exports},449:function(t,e,o){var content=o(453);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(52).default)("2a84fb71",content,!0,{sourceMap:!1})},450:function(t,e,o){"use strict";o.r(e);var r={data:function(){return{scrollpx:0}},methods:{scrollToTop:function(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll:function(){this.scrollpx=window.scrollY}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)}},n=o(1),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return t.scrollpx>150?e("div",{staticClass:"fixed bottom-0 right-0 w-12 h-12 mr-0 cursor-pointer",class:(t.$store.getters["modules/config/getMicroSite"].site,"mb-12")},[e("button",{staticClass:"p-0 w-10 h-10 bg-sss-primary-500 rounded-full hover:bg-sss-primary-500 active:shadow-lg mouse shadow transition ease-in duration-200 focus:outline-none opacity-75",on:{click:t.scrollToTop}},[e("svg",{staticClass:"w-5 h-5 inline-block",attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{fill:"#FFFFFF","fill-rule":"evenodd",d:"M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L4.707 9.707a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])])]):t._e()}),[],!1,null,null,null);e.default=component.exports},452:function(t,e,o){"use strict";o(449)},453:function(t,e,o){var r=o(51)((function(i){return i[1]}));r.push([t.i,".emoji-404[data-v-caf5a10a]{position:relative;-webkit-animation:mymove-caf5a10a 2.5s infinite;animation:mymove-caf5a10a 2.5s infinite}@-webkit-keyframes mymove-caf5a10a{33%{top:0}66%{top:20px}to{top:0}}@keyframes mymove-caf5a10a{33%{top:0}66%{top:20px}to{top:0}}",""]),r.locals={},t.exports=r},454:function(t,e,o){"use strict";o.r(e);o(452);var r=o(1),component=Object(r.a)({},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-gray-100 h-screen justify-center"},[e("center",{staticClass:"mt-2 m-auto"},[e("nuxt-img",{staticClass:"w-100",attrs:{src:"https://images.streetstylestore.com/new-sssnew-images/market-place/pagenotfoundimage.jpg"}}),t._v(" "),e("div",{staticClass:"tracking-widest mt-4"},[e("span",{staticClass:"text-gray-500 text-xl"},[t._v("OOPs, We couldn't find what you are looking for!")])])],1),t._v(" "),e("center",{staticClass:"mt-6"},[e("nuxt-link",{staticClass:"text-gray-500 font-mono text-xl bg-gray-200 p-3 rounded-md hover:shadow-md",attrs:{to:"/"}},[t._v("Go back")])],1)],1)}),[],!1,null,"caf5a10a",null);e.default=component.exports},654:function(t,e,o){"use strict";o.r(e);var r=o(0),n=(o(10),o(4),o(27),o(28),o(13),o(40),o(450)),c=o(496),l=o.n(c),d=o(447),f=o(194),m=o(454),h={components:{InfiniteLoading:l.a,ScrollUp:n.default,OnServerLoad:d.default,SlideLogin:f.default,EmptyPage:m.default,Template1ProductBlock:function(){return o.e(12).then(o.bind(null,668))},TopMenu:function(){return Promise.all([o.e(0),o.e(17)]).then(o.bind(null,662))}},layout:"mainLayout",mounted:function(){this.$nuxt.$emit("pageLayout","list")},data:function(){return{perPage:30,loadedAll:!1,loadMore:!1,categoryId:0,loadingData:!0}},jsonld:function(){return{"@context":"https://schema.org","@type":"ProductList",mainEntityOfPage:{"@type":"WebPage","@id":this.$globals.siteBasePath+this.$route.fullPath},headline:this.$store.getters["modules/config/getCategoryName"],description:this.$store.getters["modules/config/getCategoryName"],author:{"@type":"Person",name:this.$globals.siteName},publisher:{"@type":"Organization",name:this.$globals.siteName,logo:{"@type":"ImageObject",url:this.$globals.siteLogo}}}},watch:{sortBy:function(t,e){var o=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o.loadCategoryData();case 1:case"end":return t.stop()}}),t)})))()},sizeFilter:function(t,e){var o=this;return Object(r.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t.length!=e.length&&o.loadCategoryData();case 1:case"end":return r.stop()}}),r)})))()}},fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.$route.params.child.split("-"),0===t.categoryId&&(t.categoryId=o[o.length-1]),t.categoryId!==t.$store.getters["modules/products/getCategoryId"]&&(t.$store.dispatch("modules/products/setSizeFilter",[]),t.$store.dispatch("modules/products/resetProductData")),1!==t.page){e.next=6;break}return e.next=6,t.$store.dispatch("modules/config/getCategoryData",t.categoryId);case 6:if(!t.loadMore&&t.idCategory===t.categoryId||"version"===t.categoryId){e.next=15;break}return t.loadingData=!0,r={categoryId:t.categoryId,perPage:t.perPage,page:t.page,sortBy:t.sortBy},e.next=11,t.$store.dispatch("modules/products/loadProducts",r);case 11:0===e.sent&&(t.loadedAll=!0),t.loadingData=!1,t.loadMore=!1;case 15:case"end":return e.stop()}}),e)})))()},methods:{infiniteHandler:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e.loadMore=!0,o.next=3,e.$fetch();case 3:t.loaded(),!0===e.loadedAll&&t.complete();case 5:case"end":return o.stop()}}),o)})))()},onCategorySelected:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e.categoryId=t,o.next=3,e.loadCategoryData();case 3:case"end":return o.stop()}}),o)})))()},loadCategoryData:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loadingData=!0,t.$store.dispatch("modules/products/resetProductData"),o={categoryId:t.categoryId,perPage:t.perPage,page:t.page,sortBy:t.sortBy},e.next=5,t.$store.dispatch("modules/products/loadProducts",o);case 5:0===e.sent&&(t.loadedAll=!0),t.loadingData=!1,t.loadMore=!1;case 9:case"end":return e.stop()}}),e)})))()}},computed:{productList:function(){if("back"!==this.$historyState.action)return this.$store.getters["modules/products/getProductList"];this.$store.dispatch("modules/products/setProductBackNavigation",!1);var t=this.$store.getters["modules/products/getProductList"];return t},page:function(){return this.$store.getters["modules/products/getCurrentPage"]},idCategory:function(){return this.$store.getters["modules/products/getCategoryId"]},sortBy:function(){return this.$store.getters["modules/products/getSortBy"]},sizeFilter:function(){return this.$store.getters["modules/products/getSizeFilter"]},sliderMenu:function(){return this.$store.getters["modules/config/getSessionData"]("slider","slider_menu")}}},v=o(1),component=Object(v.a)(h,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"justify-center"},[e("OnServerLoad"),t._v(" "),0!==t.productList.length||t.loadingData?t._e():e("div",[e("EmptyPage")],1),t._v(" "),t.sliderMenu.length>0?e("TopMenu",{staticClass:"sticky z-50 top-0",staticStyle:{position:"sticky"},attrs:{menuType:"second_menu",customWidth:"w-20",customFontSize:"text-sm",isSticky:"1",sliderMenu:t.sliderMenu,selectedCategory:t.categoryId},on:{categorySelected:t.onCategorySelected}}):t._e(),t._v(" "),e("div",{staticClass:"h-1 bg-gray-100"}),t._v(" "),""!=t.$store.getters["modules/products/getCategoryImage"]?e("div",{staticClass:"p-1"},[e("nuxt-img",{staticClass:"rounded shadow-lg w-full",attrs:{src:t.$store.getters["modules/products/getCategoryImage"],alt:t.$store.getters["modules/config/getCategoryName"]}})],1):t._e(),t._v(" "),0===t.productList.length&&t.loadingData?e("div",{staticClass:"flex justify-center items-center working-screen-height"},[e("div",{staticClass:"loader ease-linear rounded-full border-4 border-t-4 border-gray-200 h-16 w-16"})]):t._e(),t._v(" "),e("div",{staticClass:"xl:w-full pt-2"},[void 0!==t.$store.getters["modules/config/getMicroSite"].template&&"template1"===t.$store.getters["modules/config/getMicroSite"].template?e("div",{staticClass:"w-full justify-center grid gap-0 md:grid-cols-3 xl:grid-cols-4 overflow-x-hidden py-4",attrs:{id:"product-list-1s"}},t._l(t.productList,(function(t,o){return e("div",{key:o,class:(o+1)%5==1?"col-span-2":""},[e("div",[e("Template1ProductBlock",{key:"product-block-"+o,attrs:{productData:t.document,blockWidth:"w-full",productIndex:o}})],1)])})),0):e("div",{staticClass:"w-full justify-center grid grid-cols-2 md:grid-cols-3 xl:grid-cols-4 overflow-x-hidden pb-4",class:"gangsta.social"===t.$store.getters["modules/config/getMicroSite"].site?"gap-2":"gap-0",attrs:{id:"product-list-1s"}},t._l(t.productList,(function(t,o){return e("div",{key:o,staticClass:"shadow hover:shadow-lg"},[e("LazyProductBlock",{key:"product-block-"+o,attrs:{productData:t.document,blockWidth:"w-full",productIndex:o}})],1)})),0)]),t._v(" "),e("SlideLogin")],1),t._v(" "),e("div",[e("client-only",[e("ScrollUp"),t._v(" "),void 0!==t.productList&&t.productList.length>0?e("infinite-loading",{on:{infinite:t.infiniteHandler}}):t._e(),t._v(" "),e("div",{staticClass:"h-10"})],1)],1)])}),[],!1,null,null,null);e.default=component.exports}}]);