(window.webpackJsonp=window.webpackJsonp||[]).push([[92],{1258:function(e,t,o){"use strict";o(838)},1259:function(e,t,o){var r=o(9)(!1);r.push([e.i,'@-webkit-keyframes GradientHype-data-v-221ec064{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype-data-v-221ec064{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse-data-v-221ec064{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse-data-v-221ec064{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}.flash-deals-page[data-v-221ec064]{padding-top:105px}@media only screen and (max-width:1023px){.flash-deals-page[data-v-221ec064]{padding-top:55px}}.breadcrumbs[data-v-221ec064]{margin:0 80px}.breadcrumbs ul[data-v-221ec064]{overflow:hidden;padding:20px 0}.breadcrumbs ul li[data-v-221ec064]{float:left;color:#848484;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:14px;line-height:17px;margin-right:25px;position:relative}.breadcrumbs ul li[data-v-221ec064]:before{font-family:"fontello";content:"";position:absolute;right:-18px;font-size:10px}.breadcrumbs ul li[data-v-221ec064]:last-child{overflow:hidden;float:none;white-space:nowrap;text-overflow:ellipsis}.breadcrumbs ul li[data-v-221ec064]:last-child:before{content:""}.breadcrumbs ul li a[data-v-221ec064]{color:#eba1a1}.breadcrumbs ul li a[data-v-221ec064]:hover{text-decoration:underline}@media only screen and (max-width:1023px){.breadcrumbs[data-v-221ec064]{display:none}}',""]),e.exports=r},1615:function(e,t,o){"use strict";o.r(t);var r=o(5),n=(o(34),o(558)),header=o(512),c=o(494),l=o(29),d=o(507),h=o(193),f=o(191),m=o(290),v=o(1),_=o.n(v),x={name:"FlashDealsStore",layout:"defaultBridestory",middleware:["previousPage"],mixins:[l.a,h.a],components:{"store-listing":n.a,"store-header":header.a,"configured-popup":function(){return o.e(2).then(o.bind(null,1602))}},data:function(){return{dataAPI:null,fetched:!0,showConfiguredPopup:!1,trackingData:[],trackingCurrentScreen:"store_list_flash_deal"}},computed:{pageData:function(){return this.$store.getters.getPageState},EECStore:function(){return d.a}},methods:{handleTrackingData:function(e){var t=e.id,o=e.type,r=e.page,n=e.isEmpty;void 0!==n&&n?this.trackingData.splice(0,this.trackingData.length):this.trackingData.push({id:t,type:o,page:r})},handleObserveList:function(){var e=this;Object(f.a)({containerElementId:"store-flashdeals",listElementIdentifier:"[data-tracking-id]",callback:function(t){return e.handleTrackingData(t)}})},handlePostTracking:function(){var e=this;Object(f.d)({context:this,type:"ctr",trackingData:this.trackingData,trackingMeta:{current_screen:this.trackingCurrentScreen},onSuccess:function(t){return e.handleTrackingData(t)}})},handleTracking:function(){var e=this;setTimeout((function(){e.handleObserveList(),setTimeout((function(){e.handlePostTracking()}),500),Object(m.c)({onScrollStopCallback:function(){e.handlePostTracking()}})}),500)}},beforeMount:function(){var e=this;this.setLocalStorage("page.name","StoreFlashDealPage"),this.dataLayerPageName("StoreFlashDealPage"),_.a.set("BS.previous-page","store_flash_deals",{domain:".bridestory.com",path:"/"}),this.dataAPI=function(filter){return new c.a(e.$axios).getFlashDeals(filter)},this.fetched=!1,this.$store.dispatch("setShowNavMobile",!1),this.pageView({v2_pageProperties:{category:"store_list",subCategory:"flash_deals",properties:void 0}})},mounted:function(){var e=this;window.addEventListener("scroll",(function(){e.showConfiguredPopup=!0})),this.$nextTick((function(){e.fetched=!0,e.$nuxt.$loading.finish()})),this.handleTracking()},beforeDestroy:function(){var e=this;window.removeEventListener("scroll",(function(){e.showConfiguredPopup=!0})),this.$store.dispatch("setShowNavMobile",!0)},asyncData:function(e){var t=e.route,o=(e.params,{breadcrumbList:[{title:"Home",slug:"/"},{title:"Store",slug:"store"},{title:"Flash Sale",slug:!1}]});return e.store.dispatch("setPageState",o),{slug:t.params.slug}},fetch:function(e){return Object(r.a)(regeneratorRuntime.mark((function t(){var o,r,n,l,d,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.$axios,r=e.store,n=e.route,t.prev=1,l=new c.a(o),d={page:1,status:"all",limit:12,sort:"latest"},n.query.fcity_id&&(d.city_id=n.query.fcity_id),n.query.fsort&&(d.sort=n.query.fsort),n.query.fmin_pax&&(d.min_pax=n.query.fmin_pax),n.query.fmax_pax&&(d.max_pax=n.query.fmax_pax),n.query.fmin_price&&(d.min_price=n.query.fmin_price),n.query.fmax_price&&(d.max_price=n.query.fmax_price),t.next=12,l.getFlashDeals(d);case 12:h=t.sent,r.dispatch("setStoreProducts",h.data.deals),r.dispatch("setStorePagination",h.data.pagination),t.next=20;break;case 17:t.prev=17,t.t0=t.catch(1),console.error(t.t0);case 20:case"end":return t.stop()}}),t,null,[[1,17]])})))()}},k=(o(1258),o(3)),component=Object(k.a)(x,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"store-flashdeals"}},[e.fetched?o("div",{staticClass:"store-flashdeals--container"},[o("store-header",{attrs:{titlePage:"Flash Sale",isHideSearch:!0,isShowIcon:!0}}),e._v(" "),o("div",{staticClass:"flash-deals-page"},[o("store-listing",{attrs:{titleName:"Flash Sale",showFilter:!1,isHideMenuCategory:!0,isShowCategory:!1,isShowSubCategory:!1,initFetchOnFilter:!0,isHideTitleMobile:!0,isUsingTimer:!0,isShowBreadcrumb:!0,fetchAPI:e.dataAPI,canEditCategory:!1,positionInTitle:!0,list:e.EECStore.flash_list,disableFetchOnLoad:!0,trackingCurrentScreen:e.trackingCurrentScreen},on:{observeList:e.handleObserveList,postTracking:e.handlePostTracking}})],1)],1):e._e(),e._v(" "),e.showConfiguredPopup?o("configured-popup",{attrs:{pageName:"store_list_flash_deal"}}):e._e()],1)}),[],!1,null,"221ec064",null);t.default=component.exports},510:function(e,t,o){var content=o(537);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(10).default)("5742c7b9",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})},512:function(e,t,o){"use strict";var r={name:"StoreHeader",props:["titlePage","backURL","isCategorySelected","isHideSearch","isShowIcon","isCenteredTitle","onClick","isNotURL","onClickCategory","hideShadow","pageType"],components:{SearchBar:o(195).a},data:function(){return{lang:this.$cookies.get("BS_PreferredLang")||this.$cookies.get("BS_translation")}},computed:{isSearchActive:function(){return this.$store.getters.getIsSearchActive},previousPage:function(){return this.$store.getters.getPreviousLink},isFromDifferentSource:function(){return this.$store.getters.getIsFromDifferentSource}},methods:{focusSearch:function(){this.$store.dispatch("toggleSearchBar")},showCategoryPopUp:function(){this.$emit("onClickCategory")},onClickedBack:function(){this.$emit("onClick")},backToPreviousPage:function(){this.isFromDifferentSource?this.$nuxt.$router.push({path:this.localeLink("store")}):this.$router.back()}}},n=(o(536),o(3)),component=Object(n.a)(r,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"page__header",class:{"is-hide":e.isSearchActive,"hide-shadow":e.hideShadow}},[o("div",{staticClass:"page__header_container"},[o("div",{staticClass:"back"},[e.isNotURL?o("a",{on:{click:e.onClickedBack}},[o("span",{staticClass:"icon-arrow-left-2-filled",on:{click:e.onClickedBack}})]):o("a",{on:{click:e.backToPreviousPage}},[o("span",{staticClass:"icon-arrow-left-2-filled"})])]),e._v(" "),e.isCategorySelected?o("div",{staticClass:"title with-category",on:{click:e.showCategoryPopUp}},[o("div",{staticClass:"label-tag"},[e._v("\n\t\t\t\t"+e._s(e.$t("SearchResult.category"))+" "),o("span",{staticClass:"icon-arrow-down-2-filled"})]),e._v(" "),o("h1",{staticClass:"label-name",class:{owf:"owf"==e.pageType}},[e._v("\n\t\t\t\t"+e._s(e.titlePage)+"\n\t\t\t")])]):o("div",{staticClass:"title ",class:{"is-centered":e.isCenteredTitle}},[e.isShowIcon?o("i",{staticClass:"icon-thunder title-icon"}):e._e(),e._v("\n\t\t\t"+e._s(e.titlePage)+"\n\t\t\t"),e._t("default")],2),e._v(" "),e.isHideSearch?e._e():o("span",{staticClass:"search",on:{click:e.focusSearch}},[o("span",{staticClass:"imgs-menu imgs-menu--search magnifier-icon"})])])])}),[],!1,null,"40f157a6",null);t.a=component.exports},536:function(e,t,o){"use strict";o(510)},537:function(e,t,o){var r=o(9)(!1);r.push([e.i,'@-webkit-keyframes GradientHype-data-v-40f157a6{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype-data-v-40f157a6{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse-data-v-40f157a6{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse-data-v-40f157a6{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}.page__header[data-v-40f157a6]{top:0;left:0;position:fixed;z-index:1002;width:100%;background:#fff;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}@media only screen and (min-width:1024px){.page__header[data-v-40f157a6]{display:none}}.page__header.is-hide[data-v-40f157a6]{display:none}.page__header.hide-shadow[data-v-40f157a6]{box-shadow:unset}.page__header_container[data-v-40f157a6]{height:56px;color:#252525;display:flex;font-size:18px;justify-content:space-between;align-items:center;padding:10px 15px 10px 50px}.page__header_container .back[data-v-40f157a6]{position:absolute;top:0;left:0;color:#252525;font-size:20px;width:50px;text-align:center;height:100%;transition:all .25s ease-in-out;-webkit-tap-highlight-color:transparent}.page__header_container .back a[data-v-40f157a6]{color:#252525;display:block;width:100%;height:100%;padding:18px 4px}.page__header_container .title[data-v-40f157a6]{width:100%;overflow:hidden;padding-left:2px;color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif}.page__header_container .title-icon[data-v-40f157a6]{color:#eba1a1;font-size:18px}.page__header_container .title.is-centered[data-v-40f157a6]{position:absolute;left:35%;text-align:left;width:auto}.page__header_container .title.with-category[data-v-40f157a6]{font-size:11px;line-height:14px;color:#555;font-family:"Figtree","Helvetica",arial,sans-serif}.page__header_container .title.with-category .label-tag span[data-v-40f157a6]{font-size:8px;padding-left:2px}.page__header_container .title.with-category .label-name[data-v-40f157a6]{font-size:16px;color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif}.page__header_container .title.with-category .label-name.owf[data-v-40f157a6]{color:#7a739b}',""]),e.exports=r},838:function(e,t,o){var content=o(1259);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(10).default)("160abbcc",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})}}]); //# sourceMappingURL=index.1711516068016.92253024e5fe4b9f7afd.js.map