@ecomplus/widget-search-engine 1.0.0-beta.151 → 1.0.0-beta.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss?2eac","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss?51f3","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss?dd58","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss?dea0","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss?9423","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss?05a1","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss?76b1","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss?2ecc","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss?78e1","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss?c968","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss?b3c1","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss?daaf","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss?d250","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss?e2ba","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss?29b5","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss?81de","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss","webpack://widgetSearchEngine/../storefront-components/src/html/ProductQuickview.html","webpack://widgetSearchEngine/../storefront-components/src/js/helpers/sort-apps.js","webpack://widgetSearchEngine/../storefront-components/src/js/AAlert.js?9da8","webpack://widgetSearchEngine/../storefront-components/src/js/AAlert.js","webpack://widgetSearchEngine/../storefront-components/src/AAlert.vue","webpack://widgetSearchEngine/../storefront-components/src/html/AAlert.html","webpack://widgetSearchEngine/../storefront-components/src/js/AShare.js","webpack://widgetSearchEngine/../storefront-components/src/js/AShare.js?df80","webpack://widgetSearchEngine/../storefront-components/src/AShare.vue","webpack://widgetSearchEngine/../storefront-components/src/html/AShare.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductVariations.js?f67e","webpack://widgetSearchEngine/../storefront-components/src/js/ProductVariations.js","webpack://widgetSearchEngine/../storefront-components/src/ProductVariations.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ProductVariations.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductGallery.js?1688","webpack://widgetSearchEngine/../storefront-components/src/js/ProductGallery.js","webpack://widgetSearchEngine/../storefront-components/src/ProductGallery.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ProductGallery.html","webpack://widgetSearchEngine/../storefront-components/src/js/QuantitySelector.js?c5c4","webpack://widgetSearchEngine/../storefront-components/src/js/QuantitySelector.js","webpack://widgetSearchEngine/../storefront-components/src/QuantitySelector.vue","webpack://widgetSearchEngine/../storefront-components/src/html/QuantitySelector.html","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingLine.js?37d7","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingLine.js","webpack://widgetSearchEngine/../storefront-components/src/ShippingLine.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ShippingLine.html","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingCalculator.js","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingCalculator.js?d510","webpack://widgetSearchEngine/../storefront-components/src/ShippingCalculator.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ShippingCalculator.html","webpack://widgetSearchEngine/../storefront-components/src/js/PaymentOption.js?b860","webpack://widgetSearchEngine/../storefront-components/src/js/PaymentOption.js","webpack://widgetSearchEngine/../storefront-components/src/PaymentOption.vue","webpack://widgetSearchEngine/../storefront-components/src/html/PaymentOption.html","webpack://widgetSearchEngine/../storefront-components/src/js/TheProduct.js","webpack://widgetSearchEngine/../storefront-components/src/js/TheProduct.js?a2dc","webpack://widgetSearchEngine/../storefront-components/src/js/helpers/add-idle-callback.js","webpack://widgetSearchEngine/../storefront-components/src/TheProduct.vue","webpack://widgetSearchEngine/../storefront-components/src/html/TheProduct.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductQuickview.js?c184","webpack://widgetSearchEngine/../storefront-components/src/js/ProductQuickview.js","webpack://widgetSearchEngine/../storefront-components/src/ProductQuickview.vue"],"names":["content","__esModule","default","module","i","locals","exports","add","___CSS_LOADER_API_IMPORT___","push","results","order","sort","a","b","app_id","indexA","indexOf","indexB","name","props","canShow","type","Boolean","variant","String","data","count","computed","i19close","i18n","watch","this","_h","$createElement","_c","_self","attrs","key","_m","_e","_vm","staticClass","class","_t","on","$event","$emit","_v","shareNetworks","network","icon","color","components","ShareNetwork","url","required","title","description","i19email","i19on","toLowerCase","i19share","localUrl","window","startsWith","location","hostname","_l","ref","style","_s","product","Object","selectedId","maxOptionsBtns","Number","gridsData","Array","storefront","grids","selectedOptions","filteredGrids","i19select","i19selectVariation","variationsGrids","getVariationsGrids","orderedGrids","keys","methods","getColorOptionBg","optionText","rgbs","split","map","colorName","getSpecValueByText","variations","trim","length","getSpecValue","grid","values","colorNames","forEach","getGridTitle","selectOption","gridIndex","$set","gridId","filterGrids","nextFilteredGrids","options","includes","undefined","slice","variation","specifications","getSpecTextValue","splice","_id","handler","deep","immediate","index","target","value","domProps","APicture","pictures","videos","video","videoAspectRatio","canAddToCart","currentSlide","glideOptions","autoplay","rewind","isSSR","glide","pswp","activeIndex","isSliderMoved","elFirstPicture","zoomLinkStyle","i19addToCart","i19fullscreen","i19next","i19previous","i19openGallery","i19video","localPictures","videoSrc","replace","pswpItems","zoom","w","h","size","sizes","parseInt","src","getName","alt","pswpOptions","shareButtons","id","label","i19shareOnFacebook","getImg","moveSlider","go","openZoom","then","pack","PhotoSwipe","psUi","$refs","init","catch","console","error","finally","buy","pathname","slug","ecomCart","addProduct","close","mounted","document","querySelector","$nextTick","firstPicture","appendChild","Glide","mount","beforeDestroy","destroy","picture","preventDefault","refInFor","ALink","AAlert","items","min","max","buyText","kitProductId","kitName","kitPrice","hasBuyButton","selectedQnts","reduce","item","quantity","hasMinAlert","hasMaxAlert","alertVariant","i19maxQuantity","i19minQuantity","totalQuantity","total","remainingQuantity","strBuy","i19buyKit","checkInStock","maxQuantity","max_quantity","changeQnt","qntDiff","ev","lastQnt","newQnt","min_quantity","itemMaxQnt","maxQnt","Math","composition","product_id","variation_id","newItem","customizations","kit_product","pack_quantity","price","addItem","created","_k","keyCode","shippingLine","productionDeadline","deadlineStr","shipping","isWorkingDays","posting_deadline","working_days","delivery_time","days","i19upTo","i19workingDays","i19days","i19untilTomorrow","pick_up","i19pickUpToday","i19receiveToday","freightValueStr","freight","total_price","formatMoney","i19free","i19freeShipping","delivery_instructions","localStorage","reduceItemBody","itemOrProduct","shippedItem","field","CleaveInput","ShippingLine","zipCode","canSelectServices","canInputZip","countryCode","$ecomConfig","get","shippedItems","shippingResult","shippingData","skipAppIds","shippingAppsSort","ecomShippingApps","localZipCode","localShippedItems","amountSubtotal","shippingServices","selectedService","hasPaidOption","freeFromValue","isScheduled","retryTimer","isWaiting","hasCalculated","i19add$1ToEarn","i19calculateShipping","i19zipCode","cleaveOptions","blocks","delimiter","freeFromPercentage","round","maxDeadline","production_time","cumulative","itemDeadline","updateZipCode","parseShippingOptions","isRetry","appResult","validated","response","shipping_services","service","freeShippingFromValue","free_shipping_from_value","priceDiff","shipping_line","setSelectedService","find","isArray","sortApps","scheduleRetry","fetchShippingServices","timeout","clearTimeout","setTimeout","storeId","appId","to","zip","subtotal","modules","method","result","err","submitZipCode","setItem","getPrice","storedZip","getItem","apply","arguments","model","callback","$$v","expression","tag","active","service_code","paymentGateway","installmentsOption","i19atSight","i19interestFree","i19of","i19ofDiscount","i19onFreight","discount","installmentOptions","installment_options","concat","number","payment_method","code","max_number","tax","monthly_interest","minInstallment","min_installment","interest","pow","priceWithDiscount","apply_at","finalPrice","getContextBody","context","body","getContextId","sanitizeProductBody","assign","body_html","body_text","inventory_records","price_change_records","Portal","APrices","AShare","ProductVariations","ProductGallery","QuantitySelector","ShippingCalculator","PaymentOption","productId","headingTag","galleryColClassName","hasPromotionTimer","hasStickyBuyButton","hasQuantitySelector","lowQuantityToWarn","maxVariationOptionsBtns","isQuickview","paymentAppsSort","ecomPaymentApps","quoteLink","ecomPassport","accountUrl","fixedPrice","selectedVariationId","currentGalleyImg","isOnCart","qntToBuy","isStickyBuyVisible","isFavorite","hasClickedBuy","hasLoadError","paymentOptions","kitItems","currentTimer","i19addToFavorites","i19discountOf","i19endsIn","i19freeShippingFrom","i19loadProductErrorMsg","i19offer","i19only","i19outOfStock","i19paymentOptions","i19perUnit","i19productionDeadline","i19removeFromFavorites","i19retry","i19selectVariationMsg","i19unavailable","i19quoteProduct","i19units","i19unitsInStock","selectedVariation","isInStock","isWithoutPrice","isVariationInStock","isLogged","checkAuthorization","thumbnail","productQuantity","isLowQuantity","i19buy","priceValue","checkOnPromotion","base_price","isOnSale","price_effective_date","end","Date","now","getTime","ghostProductForPrices","prices","customization","add_to_price","getAdditionalPrice","ghostProduct","hasVariations","isKit","kit_composition","setBody","fetchProduct","store","axiosConfig","status","addition","formatAdditionalPrice","addToPrice","setCustomizationOption","text","findIndex","option","showVariationPicture","picture_id","pictureIndex","handleGridOption","toggleFavorite","variationId","buyOrScroll","scrollToElement","actions","fn","amount","currency_id","currency_symbol","discount_option","requestIdleCallback","kitComposition","ecomSearch","EcomSearch","setPageSize","setProductIds","fetch","getItems","addKitItem","parseProduct","genRandomObjectId","presetQntToBuy","checkFavorite","sticky","isBodyPaddingSet","setStickyBuyObserver","isToVisible","$anchor","$tmpDiv","createElement","parentNode","insertBefore","position","bottom","isMobile","lozad","rootMargin","threshold","load","stickyHeight","offsetHeight","paddingBottom","remove","createObserver","removeEventListener","addEventListener","observe","promotionDate","targetDate","dayMs","floor","setHours","formatTime","getRemainingTime","distance","hours","minutes","seconds","setInterval","timer","innerHTML","destroyed","clearInterval","sku","available","custom","grid_id","d","scopedSlots","_u","proxy","short_description","paymentOption","gateway","installments_option","ceil","directives","rawName","TheProduct","ABackdrop","portalId","productName","productLink","isVisible","i19seeMoreInfo","setProduct","hide","$destroy","portal","getElementById","setAttribute"],"mappings":"8HAGA,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAA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AKvhB,EAAG,SAAS,CAACO,YAAY,QAAQL,MAAM,CAAC,KAAO,SAAS,aAAaI,EAAIZ,UAAUgB,GAAG,CAAC,MAAQJ,EAAIshB,OAAO,CAAC5hB,EAAG,OAAO,CAACE,MAAM,CAAC,cAAc,SAAS,CAACI,EAAIO,GAAG,eAAcb,EAAG,MAAM,CAACO,YAAY,qCAAqC,CAAGD,EAAIihB,YAAiMjhB,EAAID,KAAxLL,EAAG,MAAM,CAACO,YAAY,8BAA8B,CAACP,EAAG,MAAM,CAACO,YAAY,iBAAiBL,MAAM,CAAC,KAAO,WAAW,CAACF,EAAG,OAAO,CAACO,YAAY,WAAW,CAACD,EAAIO,GAAG,oBAA6Bb,EAAG,MAAM,CAACO,YAAY,aAAa,CAACP,EAAG,cAAc,CAACE,MAAM,CAAC,eAAe,GAAG,aAAaI,EAAIwW,UAAU,QAAUxW,EAAI+B,SAAS3B,GAAG,CAAC,iBAAiBJ,EAAIqhB,WAAW,IAAMrhB,EAAIshB,SAAS,GAAIthB,EAAe,YAAEN,EAAG,IAAI,CAACO,YAAY,oDAAoDL,MAAM,CAAC,KAAOI,EAAIkhB,cAAc,CAAClhB,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAIohB,gBAAgB,OAAOphB,EAAID,QAAQ,GAAGC,EAAID,QAAQ,OAC92C,IyCWpB,EACA,KACA,KACA,OAIa,a","file":"widget-search-engine.1.min.js","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"a77703f4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"2577090c\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"c1dcc528\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"6dee8f7c\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3605e0a0\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"364922f4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"67fbb3c4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3a38550c\", content, true, {});","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".variations__grid{margin-bottom:var(--spacer-3)}.variations__grid--colors button{font-size:0}.variations__value{font-size:var(--font-size-sm);margin-left:var(--spacer-2)}.variations__value .i-check{color:var(--success)}.variations__value--empty{color:var(--text-muted)}.variations__option{border:var(--border-width) solid var(--border-color);margin-bottom:var(--spacer-2);min-height:2.3rem;min-width:2.3rem}@media(hover:hover){.variations__option:hover{border-color:var(--secondary-light)}}.variations__option:not(:last-of-type){margin-right:var(--spacer-2)}.variations__option--selected:not(.disabled){border-color:var(--secondary);box-shadow:0 0 0 .1rem rgba(var(--secondary-rgb),.6)}.variations__option.disabled{cursor:not-allowed;position:relative}.variations__option.disabled:after{background:var(--danger);border-radius:50%;color:var(--danger-yiq);content:\\\"x\\\";display:block;font-size:10px;height:14px;line-height:1;padding-top:1.5px;position:absolute;right:-3px;text-align:center;top:-3px;width:14px}.variations__select{max-width:350px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".gallery{display:flex;flex-direction:row;justify-content:center;max-width:810px;position:relative;text-align:center;width:100%}@media(min-width:992px){.gallery{margin-bottom:0}}.gallery__thumbs{display:inline-flex;flex-wrap:wrap;margin:-35px 0 0;padding:0;position:absolute;top:100%;width:auto;z-index:2}@media(min-width:992px){.gallery__thumbs{bottom:auto;display:block;flex-basis:90px;left:auto;margin:0 20px 0 0;overflow-y:auto;position:static}}.gallery__item{cursor:pointer;margin:0 15px 15px 0;opacity:.5;transition:opacity .15s linear}.gallery__item:last-of-type{margin-right:0}.gallery__item:before{background:var(--gray);border-radius:50%;content:\\\" \\\";display:block;height:10px;width:10px}.gallery__item--selected{cursor:auto;opacity:1}.gallery__item--selected:before{background:var(--secondary)}.gallery__item--video{font-size:11px;margin-top:-3px}.gallery__item--video:before,.gallery__item--video>span{display:none}@media(min-width:992px){.gallery__item{margin:0 0 var(--spacer-2)}.gallery__item:before{display:none}.gallery__item--video{font-size:var(--font-size);padding:var(--spacer-2) 0}.gallery__item--video i,.gallery__item--video svg{color:var(--primary-light);margin-right:var(--spacer-1)}.gallery__item--video>span{display:inline}}.gallery__stage{flex:1;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gallery__thumb,.gallery__thumb img{display:none}@media(min-width:992px){.gallery__thumb,.gallery__thumb img{display:block;height:auto;width:100%}}.gallery__open{display:none}@media(min-width:992px){.gallery__open{display:inline-block;font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-2);padding:0 var(--spacer-2)}}.gallery__big-image{cursor:zoom-in}.gallery img{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:hidden;position:absolute;top:0;touch-action:none;width:100%;z-index:1999}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:grab}.pswp--dragging .pswp__img{cursor:grabbing}.pswp__bg{-webkit-backface-visibility:hidden;background:#000;opacity:0;transform:translateZ(0)}.pswp__bg,.pswp__scroll-wrap{height:100%;left:0;position:absolute;top:0;width:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{bottom:0;left:0;position:absolute;right:0;top:0;touch-action:none}.pswp__container,.pswp__img{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__zoom-wrap{position:absolute;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1);width:100%}.pswp__bg{transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{bottom:0;overflow:hidden;right:0}.pswp__img,.pswp__item{left:0;position:absolute;top:0}.pswp__img{height:auto;width:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{height:auto!important;left:0;top:0;width:100%!important}.pswp__error-msg{color:#ccc;font-size:14px;left:0;line-height:16px;margin-top:-8px;position:absolute;text-align:center;top:50%;width:100%}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{-webkit-appearance:none;background:none;border:0;box-shadow:none;cursor:pointer;display:block;float:right;height:44px;margin:0;opacity:.75;overflow:visible;padding:0;position:relative;transition:opacity .2s;width:44px}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{opacity:.9;outline:none}.pswp__button::-moz-focus-inner{border:0;padding:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.png) 0 0 no-repeat;background-size:264px 88px;height:44px;width:44px}@media(-webkit-min-device-pixel-ratio:1.09375),(-webkit-min-device-pixel-ratio:1.1),(min-resolution:1.1dppx),(min-resolution:105dpi){.pswp--svg .pswp__button,.pswp--svg .pswp__button--arrow--left:before,.pswp--svg .pswp__button--arrow--right:before{background-image:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.svg)}.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:none}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{background-position:-88px 0;display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{background:none;height:100px;margin-top:-50px;position:absolute;top:50%;width:70px}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-color:rgba(0,0,0,.3);content:\\\"\\\";height:30px;position:absolute;top:35px;width:32px}.pswp__button--arrow--left:before{background-position:-138px -44px;left:6px}.pswp__button--arrow--right:before{background-position:-94px -44px;right:6px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__share-modal{-webkit-backface-visibility:hidden;background:rgba(0,0,0,.5);display:block;height:100%;left:0;opacity:0;padding:10px;position:absolute;top:0;transition:opacity .25s ease-out;width:100%;will-change:opacity;z-index:2099}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{-webkit-backface-visibility:hidden;background:#fff;border-radius:2px;box-shadow:0 2px 5px rgba(0,0,0,.25);display:block;position:absolute;right:44px;top:56px;transform:translateY(6px);transition:transform .25s;width:auto;will-change:transform;z-index:2119}.pswp__share-tooltip a{display:block;font-size:14px;line-height:18px;padding:8px 12px}.pswp__share-tooltip a,.pswp__share-tooltip a:hover{color:#000;text-decoration:none}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{border:6px solid transparent;border-bottom-color:#fff;content:\\\"\\\";display:block;height:0;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;position:absolute;right:15px;top:-12px;width:0}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{color:#fff;font-size:13px;height:44px;left:0;line-height:44px;opacity:.75;padding:0 10px;position:absolute;top:0}.pswp__caption{bottom:0;left:0;min-height:44px;position:absolute;width:100%}.pswp__caption small{color:#bbb;font-size:11px}.pswp__caption__center{color:#ccc;font-size:13px;line-height:20px;margin:0 auto;max-width:420px;padding:10px;text-align:left}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{direction:ltr;height:44px;left:50%;margin-left:-22px;opacity:0;position:absolute;top:0;transition:opacity .25s ease-out;width:44px;will-change:opacity}.pswp__preloader__icn{height:20px;margin:12px;width:20px}.pswp__preloader--active{opacity:1}.pswp__preloader--active .pswp__preloader__icn{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/preloader.gif) 0 0 no-repeat}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:clockwise .5s linear infinite}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.pswp--css_animation .pswp__preloader__icn{background:none;height:14px;left:15px;margin:0;opacity:.75;position:absolute;top:15px;width:14px}.pswp--css_animation .pswp__preloader__cut{height:14px;overflow:hidden;position:relative;width:7px}.pswp--css_animation .pswp__preloader__donut{background:none;border-color:#fff #fff transparent transparent;border-radius:50%;border-style:solid;border-width:2px;box-sizing:border-box;height:14px;left:0;margin:0;position:absolute;top:0;width:14px}@media screen and (max-width:1024px){.pswp__preloader{float:right;left:auto;margin:0;position:relative;top:auto}}@keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.pswp__ui{-webkit-font-smoothing:auto;opacity:1;visibility:visible;z-index:2049}.pswp__top-bar{height:44px;left:0;position:absolute;top:0;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:none}@media(min-width:992px){.pswp__caption__center{text-align:center}}.pswp .btn{bottom:20px;position:fixed;right:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".quantity-selector__btn-container{min-width:7rem}.quantity-selector__btn-container button{max-width:28px}.quantity-selector__item{align-items:center;display:flex;margin-bottom:var(--spacer-2)}.quantity-selector__item .btn{box-shadow:none;text-decoration:none}.quantity-selector__input{max-width:2.5rem;padding-left:var(--spacer-1);padding-right:var(--spacer-1);text-align:center}.quantity-selector__label{font-size:var(--font-size-sm);line-height:var(--line-height-sm);margin-left:var(--spacer-1)}.quantity-selector .alert{margin-bottom:0;margin-top:var(--spacer-3);max-width:300px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-line>strong{display:inline-block;min-width:120px}.shipping-line>span{display:inline-block}.shipping-line>small{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--text-muted);display:block;display:-webkit-box;line-height:var(--line-height-sm);overflow:hidden}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-calculator__input{max-width:150px}.shipping-calculator__services{font-size:var(--font-size-sm);max-width:370px}.shipping-calculator__services .active{cursor:auto}.shipping-calculator__option{display:flex;justify-content:space-between;width:100%}.shipping-calculator__option>small{min-width:70px;text-align:right}@media(min-width:1200px){.shipping-calculator__option{display:block;position:relative}.shipping-calculator__option>small{position:absolute;right:-5px;top:-5px}}.shipping-calculator__free-from-value{margin-top:var(--spacer-2)}.shipping-calculator__free-from-value .progress{height:1.5rem;margin-top:var(--spacer-1)}.shipping-calculator__free-from-value .progress-bar{background-color:var(--info)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".payment-option>.row{align-items:center}.payment-option:not(:first-of-type){margin-top:var(--spacer-2)}.payment-option__icon{height:auto;max-width:100%}.payment-option__label{font-size:var(--font-size-lg);font-weight:var(--font-light)}.payment-option__price{font-weight:var(--font-bold)}.payment-option__discount{font-size:var(--font-size);text-transform:lowercase}.payment-option__discount-value{text-transform:none}.payment-option__installment{font-size:var(--font-size-sm);margin-bottom:0}.payment-option__installment>li{display:flex;justify-content:space-between}.payment-option small{text-transform:lowercase}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product__sku{color:var(--text-muted);font-size:var(--font-size-sm)}.product__buy{cursor:pointer;margin-bottom:var(--spacer-3)}.product__out-of-stock,.product__unavailable,.product__without-price{color:var(--warning);font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-3)}.product__discount{color:var(--success)}.product__short-stock{background:rgba(var(--info-rgb),.2);border-radius:var(--border-radius-sm);display:inline-block;font-weight:var(--font-light);padding:var(--spacer-1) var(--spacer-3);text-transform:lowercase}.product__production i,.product__production svg,.product__short-stock i,.product__short-stock svg{color:var(--info)}.product__production strong{text-transform:lowercase}.product__payment>a{align-items:center;display:flex;justify-content:space-between}.product__free-shipping-from{color:var(--secondary);font-size:var(--font-size)}.product__sticky{background:var(--body-bg);bottom:0;box-shadow:var(--box-shadow-lg);left:0;padding:var(--spacer-2) var(--spacer-3);position:fixed;width:100%;z-index:500}.product__sticky-container{align-items:center;display:flex;justify-content:space-between;padding:0}.product__sticky a{margin-left:var(--spacer-3);padding:var(--spacer-2) var(--spacer-5);white-space:nowrap}.product__sticky .prices{align-items:center;display:flex;gap:var(--spacer-2);position:relative;white-space:nowrap}.product__sticky-picture{width:auto}.product__sticky-picture img{max-height:70px;width:auto}.product__sticky-info{align-items:center;display:flex}.product__sticky-info h5{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin:0 var(--spacer-3);overflow:hidden;text-overflow:ellipsis}.product__sticky-buy{display:flex}.product__favorite i{color:var(--red);opacity:.4}.product__favorite i.active{opacity:1}.product__favorite i.active+span{color:var(--text-muted)}.product__sale-timer{align-items:center;background-color:var(--secondary-light);border-radius:var(--border-radius);color:var(--secondary-light-yiq);display:flex;justify-content:center;line-height:1.2;max-width:300px;padding:var(--spacer-2);text-align:center;text-transform:uppercase;width:100%}.product__sale-timer small{text-transform:lowercase}@media(max-width:768px){.product__sticky-info{display:none}}@media(max-width:992px){.product__sticky-buy{width:100%}.product__sticky .btn{margin-left:0;width:100%}.product__sticky .prices{display:none}}.offers-variation-notification{margin:-1rem 0 1rem}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product-quickview__box{border-radius:0;left:0;max-height:100vh;overflow-y:auto;position:fixed;top:0;width:100vw;z-index:1090}@media(min-width:576px){.product-quickview__box{border-radius:var(--border-radius);margin-left:5vw;margin-top:5vh;max-height:90vh;width:90vw}}.product-quickview__loading{padding:var(--spacer-5);text-align:center}.product-quickview__loading .spinner-border{height:5rem;width:5rem}.product-quickview__btn-redirect{display:block;margin:var(--spacer-4) auto var(--spacer-5);max-width:400px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('portal',{attrs:{\"selector\":(\"#\" + _vm.portalId)}},[_c('div',{staticClass:\"product-quickview\"},[_c('a-backdrop',{attrs:{\"is-visible\":_vm.isVisible},on:{\"hide\":_vm.hide}}),_c('transition',{attrs:{\"enter-active-class\":\"animated zoomIn\",\"leave-active-class\":\"animated fadeOutUp slow\"}},[(_vm.isVisible)?_c('div',{staticClass:\"product-quickview__box card\"},[_vm._t(\"header\",function(){return [_c('div',{staticClass:\"product-quickview__header card-header\"},[_vm._v(\" \"+_vm._s(_vm.productName)+\" \"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"aria-label\":_vm.i19close},on:{\"click\":_vm.hide}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])]}),_c('div',{staticClass:\"product-quickview__body card-body\"},[(!_vm.productName)?_c('div',{staticClass:\"product-quickview__loading\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e(),_c('div',{staticClass:\"container\"},[_c('the-product',{attrs:{\"is-quickview\":\"\",\"product-id\":_vm.productId,\"product\":_vm.product},on:{\"update:product\":_vm.setProduct,\"buy\":_vm.hide}})],1),(_vm.productName)?_c('a',{staticClass:\"product-quickview__btn-redirect btn btn-secondary\",attrs:{\"href\":_vm.productLink}},[_vm._v(\" \"+_vm._s(_vm.i19seeMoreInfo)+\" \")]):_vm._e()])],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default (results, order) => {\n return results.sort((a, b) => {\n if (a.app_id === b.app_id) {\n return 0\n }\n const indexA = order.indexOf(a.app_id)\n const indexB = order.indexOf(b.app_id)\n return indexA > -1\n ? indexB > -1\n ? indexA < indexB ? -1 : 1\n : indexA > -1 ? -1 : 1\n : indexB > -1 ? 1 : 0\n })\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&\"","import { i19close } from '@ecomplus/i18n'\nimport { i18n } from '@ecomplus/utils'\n\nexport default {\n name: 'AAlert',\n\n props: {\n canShow: {\n type: Boolean,\n default: true\n },\n variant: {\n type: String,\n default: 'warning'\n }\n },\n\n data () {\n return {\n count: 1\n }\n },\n\n computed: {\n i19close: () => i18n(i19close)\n },\n\n watch: {\n canShow (canShow) {\n if (canShow) {\n this.count++\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/AAlert.html?vue&type=template&id=37f51dc8&lang=html&\"\nimport script from \"./js/AAlert.js?vue&type=script&lang=js&\"\nexport * from \"./js/AAlert.js?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInDown fast\"}},[(_vm.canShow)?_c('div',{key:_vm.count},[_vm._m(0)]):_vm._e()])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-dismissible fade show\",class:(\"alert-\" + _vm.variant),attrs:{\"role\":\"alert\"}},[_vm._t(\"default\"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"alert\",\"aria-label\":_vm.i19close},on:{\"click\":function($event){return _vm.$emit('dismiss')}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])],2)}]\n\nexport { render, staticRenderFns }","import {\n i19email,\n i19on,\n i19share\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { ShareNetwork } from 'vue-social-sharing'\n\nconst shareNetworks = [\n {\n network: 'whatsapp',\n name: 'WhatsApp',\n icon: 'i-whatsapp',\n color: '#25d366'\n },\n {\n network: 'facebook',\n name: 'Facebook',\n icon: 'i-facebook',\n color: '#1877f2'\n },\n {\n network: 'twitter',\n name: 'Twitter',\n icon: 'i-twitter',\n color: '#1da1f2'\n },\n {\n network: 'telegram',\n name: 'Telegram',\n icon: 'i-telegram',\n color: '#0088cc'\n },\n {\n network: 'pinterest',\n name: 'Pinterest',\n icon: 'i-pinterest',\n color: '#bd081c'\n },\n {\n network: 'email',\n name: 'Email',\n icon: 'i-envelope',\n color: '#333333'\n },\n {\n network: 'sms',\n name: 'SMS',\n color: '#333333'\n }\n]\n\nexport default {\n name: 'TheProduct',\n\n components: {\n ShareNetwork\n },\n\n props: {\n url: {\n type: String,\n required: true\n },\n title: String,\n description: String\n },\n\n computed: {\n i19email: () => i18n(i19email),\n i19on: () => i18n(i19on).toLowerCase(),\n i19share: () => i18n(i19share),\n shareNetworks: () => shareNetworks,\n\n localUrl () {\n if (typeof window === 'object' && !this.url.startsWith('http')) {\n return `https://${window.location.hostname}${this.url}`\n }\n return this.url\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./html/AShare.html?vue&type=template&id=318e7576&lang=html&\"\nimport script from \"./js/AShare.js?vue&type=script&lang=js&\"\nexport * from \"./js/AShare.js?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.shareNetworks),function(ref,i){\nvar network = ref.network;\nvar icon = ref.icon;\nvar name = ref.name;\nvar color = ref.color;\nreturn _c('share-network',{key:network,class:(\"btn share share--\" + network + \" px-2\"),attrs:{\"tag\":\"button\",\"network\":network,\"url\":_vm.localUrl,\"title\":_vm.title,\"description\":_vm.description,\"aria-label\":(_vm.i19share + \" \" + _vm.i19on + \" \" + name)}},[(icon)?_c('i',{class:icon,style:((\"color: \" + color))}):_c('strong',{style:((\"color: \" + color))},[_vm._v(\" \"+_vm._s(name)+\" \")]),(i === 0)?[_c('span',{staticClass:\"ml-1 d-none d-xl-inline-block\"},[_vm._v(\" \"+_vm._s((_vm.i19share + \" \" + _vm.i19on + \" \" + name))+\" \")])]:_vm._e()],2)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&\"","import {\n i19select,\n i19selectVariation\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n specValueByText as getSpecValueByText,\n specTextValue as getSpecTextValue,\n variationsGrids as getVariationsGrids,\n gridTitle as getGridTitle\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ProductVariations',\n\n props: {\n product: {\n type: Object,\n required: true\n },\n selectedId: String,\n maxOptionsBtns: {\n type: Number,\n default: 6\n },\n gridsData: {\n type: Array,\n default () {\n if (typeof window === 'object' && window.storefront && window.storefront.data) {\n return window.storefront.data.grids\n }\n }\n }\n },\n\n data () {\n return {\n selectedOptions: {},\n filteredGrids: {}\n }\n },\n\n computed: {\n i19select: () => i18n(i19select),\n i19selectVariation: () => i18n(i19selectVariation),\n\n variationsGrids () {\n return getVariationsGrids(this.product)\n },\n\n orderedGrids () {\n return Object.keys(this.variationsGrids)\n }\n },\n\n methods: {\n getColorOptionBg (optionText) {\n const rgbs = optionText.split(',').map(colorName => {\n return getSpecValueByText(this.product.variations, colorName.trim(), 'colors')\n })\n return rgbs.length > 1\n ? `background:linear-gradient(to right bottom, ${rgbs[0]} 50%, ${rgbs[1]} 50%)`\n : `background:${rgbs[0]}`\n },\n\n getSpecValue (optionText, grid) {\n const { variations } = this.product\n let values\n if (grid === 'colors') {\n const colorNames = optionText.split(',')\n if (colorNames.length > 1) {\n values = []\n colorNames.forEach(color => {\n values.push(getSpecValueByText(variations, color.trim(), grid))\n })\n }\n }\n return values || getSpecValueByText(variations, optionText, grid)\n },\n\n getGridTitle (grid) {\n return getGridTitle(grid, this.gridsData)\n },\n\n selectOption (optionText, grid, gridIndex) {\n const { product, selectedOptions, orderedGrids } = this\n this.$set(selectedOptions, grid, optionText)\n this.$emit('select-option', {\n gridId: grid,\n gridIndex,\n optionText\n })\n const filterGrids = {}\n for (let i = 0; i <= gridIndex; i++) {\n const grid = orderedGrids[i]\n if (selectedOptions[grid]) {\n filterGrids[grid] = selectedOptions[grid]\n }\n }\n const nextFilteredGrids = getVariationsGrids(product, filterGrids, true)\n for (let i = gridIndex + 1; i < orderedGrids.length; i++) {\n const grid = orderedGrids[i]\n const options = nextFilteredGrids[grid]\n this.filteredGrids[grid] = options\n if (selectedOptions[grid] && !options.includes(selectedOptions[grid])) {\n this.$set(selectedOptions, grid, undefined)\n }\n }\n const variations = product.variations.slice(0)\n for (let i = 0; i < variations.length; i++) {\n const variation = variations[i]\n const { specifications } = variation\n for (const grid in specifications) {\n if (selectedOptions[grid] !== getSpecTextValue(variation, grid)) {\n variations.splice(i, 1)\n i--\n break\n }\n }\n }\n this.$emit('update:selected-id', variations.length ? variations[0]._id : null)\n }\n },\n\n watch: {\n 'product.variations': {\n handler () {\n this.filteredGrids = getVariationsGrids(this.product, null, true)\n },\n deep: true,\n immediate: true\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductVariations.html?vue&type=template&id=2b27c5d8&lang=html&\"\nimport script from \"./js/ProductVariations.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductVariations.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.product.variations)?_c('div',{staticClass:\"variations\"},_vm._l((_vm.variationsGrids),function(options,grid,index){return (_vm.filteredGrids[grid])?_c('div',{class:(\"variations__grid variations__grid--\" + grid)},[_c('div',{staticClass:\"mb-2\"},[_c('span',{staticClass:\"variations__grid-title h5\"},[_vm._v(\" \"+_vm._s(_vm.getGridTitle(grid))+\" \")]),(_vm.selectedOptions[grid])?_c('span',{key:\"success\",staticClass:\"variations__value variations__value\"},[_c('i',{staticClass:\"i-check mr-1\"}),_vm._v(\" \"+_vm._s(_vm.selectedOptions[grid])+\" \")]):_c('span',{staticClass:\"variations__value variations__value--empty\"},[_c('i',{staticClass:\"i-arrow-down mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19selectVariation)+\" \")])]),(options.length <= _vm.maxOptionsBtns)?_vm._l((options),function(optionText){return _c('button',{staticClass:\"variations__option btn btn-light\",class:[\n _vm.selectedOptions[grid] === optionText ? 'variations__option--selected' : null, \n (\"variations__option--\" + optionText), \n _vm.filteredGrids[grid].includes(optionText) ? null : 'disabled'\n ],style:(grid === 'colors' ? _vm.getColorOptionBg(optionText) : null),on:{\"click\":function($event){return _vm.selectOption(optionText, grid, index)}}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])}):_c('select',{staticClass:\"variations__select custom-select\",on:{\"change\":function ($event) { return _vm.selectOption($event.target.value, grid, index); }}},[_c('option',{domProps:{\"selected\":!_vm.selectedOptions[grid]}},[_vm._v(\" \"+_vm._s(_vm.i19select)+\"... \")]),_vm._l((options),function(optionText){return _c('option',{attrs:{\"disabled\":!_vm.filteredGrids[grid].includes(optionText)},domProps:{\"value\":optionText,\"selected\":_vm.selectedOptions[grid] === optionText}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])})],2)],2):_vm._e()}),0):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&\"","import {\n i19addToCart,\n i19close,\n i19fullscreen,\n i19openGallery,\n i19next,\n i19previous,\n i19share,\n i19shareOnFacebook,\n i19video\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n name as getName,\n img as getImg\n} from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport Glide from '@glidejs/glide'\nimport APicture from '../APicture.vue'\n\nexport default {\n name: 'ProductGallery',\n\n components: {\n APicture\n },\n\n props: {\n product: {\n type: Object,\n default () {\n return {\n pictures: [],\n videos: []\n }\n }\n },\n pictures: Array,\n video: Object,\n videoAspectRatio: {\n type: String,\n default: '16by9'\n },\n canAddToCart: {\n type: Boolean,\n default: true\n },\n currentSlide: {\n type: Number,\n default: 1\n },\n glideOptions: {\n type: Object,\n default () {\n return {\n type: 'slider',\n autoplay: false,\n rewind: false\n }\n }\n },\n isSSR: Boolean\n },\n\n data () {\n return {\n glide: null,\n pswp: null,\n activeIndex: null,\n isSliderMoved: false,\n elFirstPicture: null,\n zoomLinkStyle: null\n }\n },\n\n computed: {\n i19addToCart: () => i18n(i19addToCart),\n i19close: () => i18n(i19close),\n i19fullscreen: () => i18n(i19fullscreen),\n i19next: () => i18n(i19next),\n i19previous: () => i18n(i19previous),\n i19openGallery: () => i18n(i19openGallery),\n i19share: () => i18n(i19share),\n i19video: () => i18n(i19video),\n\n localPictures () {\n return this.pictures && this.pictures.length\n ? this.pictures\n : (this.product.pictures || [])\n },\n\n videoSrc () {\n const video = this.video || (this.product.videos && this.product.videos[0])\n if (video && video.url) {\n return video.url.replace(/watch\\?v=(V7XQvAde51w)/i, 'embed/$1?rel=0')\n }\n return null\n },\n\n pswpItems () {\n const pswpItems = []\n this.localPictures.forEach(({ zoom }) => {\n if (zoom) {\n let w, h\n if (zoom.size) {\n const sizes = zoom.size.split('x')\n if (sizes.length === 2) {\n w = parseInt(sizes[0], 10)\n h = parseInt(sizes[1], 10)\n }\n }\n if (!w || !h) {\n w = h = 1000\n }\n pswpItems.push({\n src: zoom.url,\n title: getName(this.product) || zoom.alt,\n w,\n h\n })\n }\n })\n return pswpItems\n },\n\n pswpOptions () {\n return {\n shareButtons: [\n {\n id: 'facebook',\n label: i18n(i19shareOnFacebook),\n url: 'https://www.facebook.com/sharer/sharer.php?u={{url}}'\n },\n {\n id: 'twitter',\n label: 'Tweet',\n url: 'https://twitter.com/intent/tweet?text={{text}}&url={{url}}'\n },\n {\n id: 'pinterest',\n label: 'Pin it',\n url: 'http://www.pinterest.com/pin/create/button/' +\n '?url={{url}}&media={{image_url}}&description={{text}}'\n }\n ]\n }\n }\n },\n\n methods: {\n getImg,\n\n moveSlider (index) {\n this.activeIndex = index\n this.$emit('update:current-slide', index + 1)\n if (this.glide) {\n this.glide.go('=' + index)\n }\n if (!this.isSliderMoved) {\n this.isSliderMoved = true\n }\n },\n\n openZoom (index) {\n this.zoomLinkStyle = 'cursor: wait'\n return import(/* webpackPrefetch: true */ 'photoswipe')\n .then(pack => {\n const PhotoSwipe = pack.default\n return import(/* webpackPrefetch: true */ 'photoswipe/dist/photoswipe-ui-default').then(pack => {\n const psUi = pack.default\n this.pswp = new PhotoSwipe(this.$refs.pswp, psUi, this.pswpItems, {\n ...this.pswpOptions,\n index\n })\n this.pswp.init()\n })\n })\n .catch(console.error)\n .finally(() => {\n this.zoomLinkStyle = null\n })\n },\n\n buy () {\n const { product } = this\n this.$emit('buy', { product })\n if (product.variations && product.variations.length) {\n if (window.location.pathname !== `/${product.slug}`) {\n window.location = `/${product.slug}`\n } else {\n window.location = '#variations'\n }\n } else {\n ecomCart.addProduct(product)\n }\n if (this.pswp) {\n this.pswp.close()\n }\n }\n },\n\n watch: {\n currentSlide: {\n handler (currentSlide) {\n this.activeIndex = currentSlide - 1\n },\n immediate: true\n },\n\n activeIndex (index) {\n this.moveSlider(index)\n }\n },\n\n mounted () {\n if (this.isSSR) {\n this.elFirstPicture = document.querySelector('#product-gallery .product__picture')\n if (this.elFirstPicture) {\n this.$nextTick(() => {\n this.$refs.firstPicture[0].appendChild(this.elFirstPicture)\n })\n }\n }\n const glide = new Glide(this.$refs.glide, this.glideOptions)\n glide.on('run', () => {\n this.moveSlider(glide.index)\n })\n glide.mount()\n this.glide = glide\n },\n\n beforeDestroy () {\n if (this.glide) {\n this.glide.destroy()\n }\n if (this.pswp) {\n this.pswp.destroy()\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductGallery.html?vue&type=template&id=d1e24158&lang=html&\"\nimport script from \"./js/ProductGallery.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductGallery.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"gallery\"},[_c('div',{staticClass:\"gallery__thumbs\"},[(_vm.videoSrc)?_c('div',{staticClass:\"gallery__item gallery__item--video\",class:{ 'gallery__item--selected': _vm.localPictures.length === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = _vm.localPictures.length}}},[_c('i',{staticClass:\"i-play\"}),_c('span',[_vm._v(_vm._s(_vm.i19video))])]):_vm._e(),_vm._l((_vm.localPictures),function(picture,i){return _c('div',{key:'img-' + i,staticClass:\"gallery__item\",class:{ 'gallery__item--selected': i === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = i}}},[(i < 4)?_c('a-picture',{staticClass:\"gallery__thumb\",attrs:{\"src\":_vm.getImg(picture, null, 'small')}}):_vm._e()],1)}),(_vm.localPictures.length > 4)?_c('button',{staticClass:\"gallery__open btn btn-dark\",style:(_vm.zoomLinkStyle),attrs:{\"type\":\"button\",\"title\":_vm.i19openGallery},on:{\"click\":function($event){$event.preventDefault();return _vm.openZoom(4)}}},[_vm._v(\" +\"+_vm._s(_vm.localPictures.length - 4)+\" \")]):_vm._e()],2),_c('div',{staticClass:\"gallery__stage\"},[_c('div',{ref:\"glide\",staticClass:\"glide\"},[_c('div',{staticClass:\"glide__track\",attrs:{\"data-glide-el\":\"track\"}},[_c('ul',{staticClass:\"glide__slides\"},[_vm._l((_vm.localPictures),function(picture,i){return _c('li',{key:'slide-' + i,staticClass:\"glide__slide\"},[_c('div',{on:{\"click\":function($event){return _vm.openZoom(i)}}},[(i === 0 && !_vm.isSliderMoved)?_vm._t(\"default\",function(){return [(!_vm.elFirstPicture)?_c('a-picture',{staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle),attrs:{\"src\":_vm.getImg(picture, null, 'big')}}):_c('div',{ref:\"firstPicture\",refInFor:true,staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle)})]}):_c('a-picture',{staticClass:\"gallery__big-image\",attrs:{\"src\":_vm.getImg(picture, null, 'big')}})],2)])}),(_vm.videoSrc)?_c('li',{key:'slide-' + _vm.localPictures.length,staticClass:\"glide__slide\"},[_c('div',{staticClass:\"embed-responsive\",class:(\"embed-responsive-\" + _vm.videoAspectRatio)},[_c('iframe',{staticClass:\"embed-responsive-item\",attrs:{\"src\":_vm.videoSrc,\"allowfullscreen\":\"\"}})])]):_vm._e()],2)])])]),_vm._m(4)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__container\"},[_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__preloader\"},[_c('div',{staticClass:\"pswp__preloader__icn\"},[_c('div',{staticClass:\"pswp__preloader__cut\"},[_c('div',{staticClass:\"pswp__preloader__donut\"})])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\"},[_c('div',{staticClass:\"pswp__share-tooltip\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__caption\"},[_c('div',{staticClass:\"pswp__caption__center\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"pswp\",staticClass:\"pswp\",attrs:{\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"pswp__bg\"}),_c('div',{staticClass:\"pswp__scroll-wrap\"},[_vm._m(0),_c('div',{staticClass:\"pswp__ui pswp__ui--hidden\"},[_c('div',{staticClass:\"pswp__top-bar\"},[_c('div',{staticClass:\"pswp__counter\"}),_c('button',{staticClass:\"pswp__button pswp__button--close\",attrs:{\"title\":(_vm.i19close + \" (Esc)\")}}),_c('button',{staticClass:\"pswp__button pswp__button--share\",attrs:{\"title\":_vm.i19share}}),_c('button',{staticClass:\"pswp__button pswp__button--fs\",attrs:{\"title\":_vm.i19fullscreen}}),_c('button',{staticClass:\"pswp__button pswp__button--zoom\",attrs:{\"title\":\"Zoom in/out\"}}),_vm._m(1)]),_vm._m(2),_c('button',{staticClass:\"pswp__button pswp__button--arrow--left\",attrs:{\"title\":_vm.i19previous}}),_c('button',{staticClass:\"pswp__button pswp__button--arrow--right\",attrs:{\"title\":_vm.i19next}}),_vm._m(3),(_vm.canAddToCart)?_c('button',{staticClass:\"btn btn-success\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_c('i',{staticClass:\"i-shopping-cart\"}),_c('span',{staticClass:\"d-none d-md-inline ml-1\"},[_vm._v(\" \"+_vm._s(_vm.i19addToCart)+\" \")])]):_vm._e()])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&\"","import {\n i19buyKit,\n i19maxQuantity,\n i19minQuantity\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\n\nexport default {\n name: 'QuantitySelector',\n\n components: {\n ALink,\n AAlert\n },\n\n props: {\n items: {\n type: Array,\n required: true\n },\n min: {\n type: Number,\n default: 1\n },\n max: Number,\n slug: String,\n buyText: String,\n kitProductId: String,\n kitName: String,\n kitPrice: Number,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n }\n },\n\n data () {\n return {\n selectedQnts: this.items.reduce((selectedQnts, item) => {\n selectedQnts[item._id] = item.quantity || 0\n return selectedQnts\n }, {}),\n hasMinAlert: false,\n hasMaxAlert: false,\n alertVariant: 'warning'\n }\n },\n\n computed: {\n i19maxQuantity: () => i18n(i19maxQuantity),\n i19minQuantity: () => i18n(i19minQuantity),\n\n totalQuantity () {\n let total = 0\n const { selectedQnts } = this\n Object.keys(selectedQnts).forEach(key => {\n if (selectedQnts[key]) {\n total += selectedQnts[key]\n }\n })\n return total\n },\n\n remainingQuantity () {\n return this.max\n ? this.max - this.totalQuantity\n : 9999999\n },\n\n strBuy () {\n return this.buyText || i18n(i19buyKit)\n }\n },\n\n methods: {\n checkInStock (item) {\n const maxQuantity = item.max_quantity\n return typeof maxQuantity === 'number' && maxQuantity >= 0\n ? maxQuantity\n : 9999999\n },\n\n changeQnt (item, qntDiff, ev) {\n const { selectedQnts, remainingQuantity } = this\n const lastQnt = selectedQnts[item._id]\n let newQnt\n if (qntDiff) {\n newQnt = selectedQnts[item._id] + qntDiff\n } else if (ev) {\n selectedQnts[item._id] = ev.target.value.replace(/\\D/g, '')\n newQnt = parseInt(selectedQnts[item._id], 10)\n }\n if (this.items.length === 1 && this.min > newQnt) {\n newQnt = this.min\n }\n if (newQnt > 0) {\n if (item.min_quantity > newQnt) {\n newQnt = item.min_quantity\n } else {\n const itemMaxQnt = item.max_quantity !== undefined ? item.max_quantity : 9999999\n const maxQnt = Math.min(itemMaxQnt, lastQnt + remainingQuantity)\n if (maxQnt < newQnt) {\n this.alertVariant = 'info'\n this.hasMaxAlert = true\n newQnt = maxQnt\n }\n }\n selectedQnts[item._id] = newQnt\n } else {\n selectedQnts[item._id] = 0\n }\n this.$emit('set-quantity', {\n item,\n quantity: selectedQnts[item._id]\n })\n },\n\n buy () {\n this.alertVariant = 'warning'\n if (this.totalQuantity >= this.min) {\n if (this.max === undefined || this.totalQuantity <= this.max) {\n const items = []\n const composition = this.items.map(item => ({\n _id: item.product_id,\n variation_id: item.variation_id,\n quantity: this.selectedQnts[item._id]\n }))\n this.items.forEach(item => {\n const quantity = this.selectedQnts[item._id]\n if (quantity > 0) {\n const newItem = { ...item, quantity }\n delete newItem.customizations\n if (this.kitProductId) {\n newItem.kit_product = {\n _id: this.kitProductId,\n name: this.kitName,\n pack_quantity: this.totalQuantity,\n price: this.kitPrice,\n composition\n }\n }\n if (this.slug) {\n newItem.slug = this.slug\n }\n items.push(newItem)\n if (this.canAddToCart) {\n ecomCart.addItem(newItem)\n }\n }\n })\n this.$emit('buy', { items })\n } else {\n this.hasMaxAlert = true\n }\n } else {\n this.hasMinAlert = true\n }\n }\n },\n\n created () {\n if (this.max < this.items.length) {\n this.items.forEach(item => this.changeQnt(item))\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/QuantitySelector.html?vue&type=template&id=239bc742&lang=html&\"\nimport script from \"./js/QuantitySelector.js?vue&type=script&lang=js&\"\nexport * from \"./js/QuantitySelector.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"quantity-selector\"},[_vm._l((_vm.items),function(item){return _c('div',{staticClass:\"quantity-selector__item\"},[_c('div',{staticClass:\"row quantity-selector__btn-container\"},[_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.min_quantity >= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, -1)}}},[_c('i',{staticClass:\"i-chevron-down\"})]),_c('input',{staticClass:\"form-control quantity-selector__input col-sm-6\",attrs:{\"type\":\"tel\",\"disabled\":!_vm.checkInStock(item),\"readonly\":item.min_quantity && item.min_quantity === item.max_quantity},domProps:{\"value\":_vm.selectedQnts[item._id]},on:{\"change\":function (ev) { return _vm.changeQnt(item, null, ev); },\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }return _vm.changeQnt(item, 1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.changeQnt(item, -1)}]}}),_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.max_quantity <= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, 1)}}},[_c('i',{staticClass:\"i-chevron-up\"})])]),_c('span',{staticClass:\"quantity-selector__label\"},[_vm._t(\"default\",function(){return [(item.slug)?_c('a-link',{attrs:{\"target\":\"_blank\",\"href\":(\"/\" + (item.slug)),\"title\":item.name}},[_vm._v(\" \"+_vm._s(item.name)+\" \")]):[_vm._v(\" \"+_vm._s(item.name)+\" \")]]},null,{ item: item })],2)])}),_c('a-alert',{attrs:{\"can-show\":_vm.hasMinAlert}},[_vm._v(\" \"+_vm._s(_vm.i19minQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.min))])]),_c('a-alert',{attrs:{\"can-show\":_vm.hasMaxAlert,\"variant\":_vm.alertVariant}},[_vm._v(\" \"+_vm._s(_vm.i19maxQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.max))])]),(_vm.hasBuyButton)?_c('div',{staticClass:\"quantity-selector__buy\"},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary my-3\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ selectedQnts: _vm.selectedQnts, buy: _vm.buy })],2):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&\"","import {\n i19days,\n i19free,\n i19freeShipping,\n i19pickUpToday,\n i19receiveToday,\n i19untilTomorrow,\n i19upTo,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ShippingLine',\n\n props: {\n shippingLine: {\n type: Object,\n required: true\n },\n productionDeadline: {\n type: Number,\n default: 0\n }\n },\n\n computed: {\n deadlineStr () {\n const shipping = this.shippingLine\n const isWorkingDays = (shipping.posting_deadline && shipping.posting_deadline.working_days) ||\n (shipping.delivery_time && shipping.delivery_time.working_days)\n let days = shipping.posting_deadline ? shipping.posting_deadline.days : 0\n if (shipping.delivery_time) {\n days += shipping.delivery_time.days\n }\n days += this.productionDeadline\n if (days > 1) {\n return `${i18n(i19upTo)} ${days} ` +\n i18n(isWorkingDays ? i19workingDays : i19days).toLowerCase()\n }\n return i18n(days === 1\n ? i19untilTomorrow\n : shipping.pick_up ? i19pickUpToday : i19receiveToday)\n },\n\n freightValueStr () {\n const { shippingLine } = this\n const freight = typeof shippingLine.total_price === 'number'\n ? shippingLine.total_price\n : shippingLine.price\n if (freight) {\n return formatMoney(freight)\n } else {\n return i18n(shippingLine.pick_up ? i19free : i19freeShipping)\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ShippingLine.html?vue&type=template&id=254bda9c&lang=html&\"\nimport script from \"./js/ShippingLine.js?vue&type=script&lang=js&\"\nexport * from \"./js/ShippingLine.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-line\"},[_c('strong',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.deadlineStr)+\" \")]),_c('span',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.freightValueStr)+\" \")]),(_vm.shippingLine.delivery_instructions)?_c('small',[_vm._v(\" \"+_vm._s(_vm.shippingLine.delivery_instructions)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19add$1ToEarn,\n i19calculateShipping,\n i19freeShipping,\n i19zipCode\n} from '@ecomplus/i18n'\n\nimport {\n $ecomConfig,\n i18n,\n price as getPrice,\n formatMoney\n} from '@ecomplus/utils'\n\nimport { modules } from '@ecomplus/client'\nimport sortApps from './helpers/sort-apps'\nimport CleaveInput from 'vue-cleave-component'\nimport ShippingLine from '../ShippingLine.vue'\n\nconst localStorage = typeof window === 'object' && window.localStorage\nconst zipStorageKey = 'shipping-to-zip'\n\nconst reduceItemBody = itemOrProduct => {\n const shippedItem = {}\n ;[\n 'product_id',\n 'variation_id',\n 'sku',\n 'name',\n 'quantity',\n 'inventory',\n 'currency_id',\n 'currency_symbol',\n 'price',\n 'final_price',\n 'dimensions',\n 'weight'\n ].forEach(field => {\n if (itemOrProduct[field] !== undefined) {\n shippedItem[field] = itemOrProduct[field]\n }\n })\n return shippedItem\n}\n\nexport default {\n name: 'ShippingCalculator',\n\n components: {\n CleaveInput,\n ShippingLine\n },\n\n props: {\n zipCode: String,\n canSelectServices: Boolean,\n canInputZip: {\n type: Boolean,\n default: true\n },\n countryCode: {\n type: String,\n default: $ecomConfig.get('country_code')\n },\n shippedItems: {\n type: Array,\n default () {\n return []\n }\n },\n shippingResult: {\n type: Array,\n default () {\n return []\n }\n },\n shippingData: {\n type: Object,\n default () {\n return {}\n }\n },\n skipAppIds: Array,\n shippingAppsSort: {\n type: Array,\n default () {\n return window.ecomShippingApps || []\n }\n }\n },\n\n data () {\n return {\n localZipCode: null,\n localShippedItems: [],\n amountSubtotal: null,\n shippingServices: [],\n selectedService: null,\n hasPaidOption: false,\n freeFromValue: null,\n isScheduled: false,\n retryTimer: null,\n isWaiting: false,\n hasCalculated: false\n }\n },\n\n computed: {\n i19add$1ToEarn: () => i18n(i19add$1ToEarn),\n i19calculateShipping: () => i18n(i19calculateShipping),\n i19zipCode: () => i18n(i19zipCode),\n i19freeShipping: () => i18n(i19freeShipping).toLowerCase(),\n\n cleaveOptions () {\n return this.countryCode === 'BR'\n ? { blocks: [5, 3], delimiter: '-' }\n : { blocks: [30] }\n },\n\n freeFromPercentage () {\n return this.hasPaidOption && this.amountSubtotal < this.freeFromValue\n ? Math.round(this.amountSubtotal * 100 / this.freeFromValue)\n : null\n },\n\n productionDeadline () {\n let maxDeadline = 0\n this.shippedItems.forEach(item => {\n if (item.quantity && item.production_time) {\n const { days, cumulative } = item.production_time\n const itemDeadline = cumulative ? days * item.quantity : days\n if (itemDeadline > maxDeadline) {\n maxDeadline = itemDeadline\n }\n }\n })\n return maxDeadline\n }\n },\n\n methods: {\n formatMoney,\n\n updateZipCode () {\n this.$emit('update:zip-code', this.localZipCode)\n },\n\n parseShippingOptions (shippingResult = [], isRetry = false) {\n this.freeFromValue = null\n this.shippingServices = []\n if (shippingResult.length) {\n shippingResult.forEach(appResult => {\n const { validated, error, response } = appResult\n if (!validated || error) {\n return\n }\n if (this.skipAppIds && this.skipAppIds.includes(appResult.app_id)) {\n return\n }\n response.shipping_services.forEach(service => {\n this.shippingServices.push({\n app_id: appResult.app_id,\n ...service\n })\n })\n const freeShippingFromValue = response.free_shipping_from_value\n if (\n freeShippingFromValue &&\n (!this.freeFromValue || this.freeFromValue > freeShippingFromValue)\n ) {\n this.freeFromValue = freeShippingFromValue\n }\n })\n if (!this.shippingServices.length) {\n if (!isRetry) {\n this.fetchShippingServices(true)\n } else {\n this.scheduleRetry()\n }\n } else {\n this.shippingServices = this.shippingServices.sort((a, b) => {\n const priceDiff = a.shipping_line.total_price - b.shipping_line.total_price\n return priceDiff < 0\n ? -1\n : priceDiff > 0\n ? 1\n : a.shipping_line.delivery_time && b.shipping_line.delivery_time &&\n a.shipping_line.delivery_time.days < b.shipping_line.delivery_time.days\n ? -1\n : 1\n })\n this.setSelectedService(0)\n this.hasPaidOption = Boolean(this.shippingServices.find(service => {\n return service.shipping_line.total_price || service.shipping_line.price\n }))\n if (Array.isArray(this.shippingAppsSort) && this.shippingAppsSort.length) {\n this.shippingServices = sortApps(this.shippingServices, this.shippingAppsSort)\n }\n }\n }\n },\n\n scheduleRetry (timeout = 10000) {\n clearTimeout(this.retryTimer)\n this.retryTimer = setTimeout(() => {\n if (this.localZipCode && !this.shippingServices.length && this.shippedItems.length) {\n this.fetchShippingServices(true)\n }\n }, timeout)\n },\n\n fetchShippingServices (isRetry) {\n if (!this.isScheduled) {\n this.isScheduled = true\n setTimeout(() => {\n this.isScheduled = false\n const { storeId } = this\n let url = '/calculate_shipping.json'\n if (this.skipAppIds && this.skipAppIds.length) {\n url += '?skip_ids='\n this.skipAppIds.forEach((appId, i) => {\n if (i > 0) url += ','\n url += `${appId}`\n })\n }\n const method = 'POST'\n const data = {\n ...this.shippingData,\n to: {\n zip: this.localZipCode,\n ...this.shippingData.to\n }\n }\n if (this.localShippedItems.length) {\n data.items = this.localShippedItems\n data.subtotal = this.amountSubtotal\n }\n this.isWaiting = true\n modules({ url, method, storeId, data })\n .then(({ data }) => this.parseShippingOptions(data.result, isRetry))\n .catch(err => {\n if (!isRetry) {\n this.scheduleRetry(4000)\n }\n console.error(err)\n })\n .finally(() => {\n this.hasCalculated = true\n this.isWaiting = false\n })\n }, this.hasCalculated ? 150 : 50)\n }\n },\n\n submitZipCode () {\n this.updateZipCode()\n if (localStorage) {\n localStorage.setItem(zipStorageKey, this.localZipCode)\n }\n this.fetchShippingServices()\n },\n\n setSelectedService (i) {\n if (this.canSelectServices) {\n this.$emit('select-service', this.shippingServices[i])\n this.selectedService = i\n }\n }\n },\n\n watch: {\n shippedItems: {\n handler () {\n setTimeout(() => {\n this.localShippedItems = this.shippedItems.map(reduceItemBody)\n const { amountSubtotal } = this\n this.amountSubtotal = this.shippedItems.reduce((subtotal, item) => {\n return subtotal + getPrice(item) * item.quantity\n }, 0)\n if (\n this.hasCalculated &&\n (this.canSelectServices || amountSubtotal !== this.amountSubtotal ||\n (!this.shippingServices.length && !this.isWaiting))\n ) {\n this.fetchShippingServices()\n }\n }, 50)\n },\n deep: true,\n immediate: true\n },\n\n localZipCode (zipCode) {\n if (this.countryCode === 'BR' && zipCode.replace(/\\D/g, '').length === 8) {\n this.submitZipCode()\n }\n },\n\n zipCode: {\n handler (zipCode) {\n if (zipCode) {\n this.localZipCode = zipCode\n }\n },\n immediate: true\n },\n\n skipAppIds () {\n this.fetchShippingServices()\n },\n\n shippingResult: {\n handler (result) {\n if (result.length) {\n this.parseShippingOptions(result)\n }\n },\n immediate: true\n }\n },\n\n created () {\n if (!this.zipCode && localStorage) {\n const storedZip = localStorage.getItem(zipStorageKey)\n if (storedZip) {\n this.localZipCode = storedZip\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./html/ShippingCalculator.html?vue&type=template&id=118f910e&lang=html&\"\nimport script from \"./js/ShippingCalculator.js?vue&type=script&lang=js&\"\nexport * from \"./js/ShippingCalculator.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-calculator\"},[(_vm.canInputZip)?_c('form',{staticClass:\"shipping-calculator__form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submitZipCode.apply(null, arguments)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"shipping-calculator-zip\"}},[_vm._v(\" \"+_vm._s(_vm.i19calculateShipping)+\" \")]),_c('div',{staticClass:\"input-group\"},[_c('cleave-input',{staticClass:\"form-control shipping-calculator__input\",attrs:{\"type\":\"tel\",\"id\":\"shipping-calculator-zip\",\"placeholder\":_vm.i19zipCode,\"aria-label\":_vm.i19zipCode,\"options\":_vm.cleaveOptions},model:{value:(_vm.localZipCode),callback:function ($$v) {_vm.localZipCode=$$v},expression:\"localZipCode\"}}),_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"type\":\"submit\",\"aria-label\":_vm.i19calculateShipping}},[_c('i',{staticClass:\"i-shipping-fast\"})])])],1)])]):_vm._e(),_c('div',{staticClass:\"shipping-calculator__services\"},[_c('transition-group',{attrs:{\"enter-active-class\":\"animated fadeInDown\",\"leave-active-class\":\"animated position-absolute fadeOutUp\"}},[(_vm.isWaiting)?_c('div',{key:\"waiting\",staticClass:\"spinner-border spinner-border-sm\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_c('div',{key:\"services\",staticClass:\"list-group\"},_vm._l((_vm.shippingServices),function(service,i){return _c(_vm.canSelectServices ? 'a' : 'div',{key:i,tag:\"component\",staticClass:\"list-group-item\",class:{\n 'list-group-item-action': _vm.canSelectServices,\n active: _vm.canSelectServices && _vm.selectedService === i\n },attrs:{\"href\":_vm.canSelectServices && '#'},on:{\"click\":function($event){$event.preventDefault();return _vm.setSelectedService(i)}}},[_c('span',{staticClass:\"shipping-calculator__option\"},[_vm._t(\"option\",function(){return [_c('shipping-line',{attrs:{\"shipping-line\":service.shipping_line,\"production-deadline\":_vm.productionDeadline,\"data-service-code\":service.service_code}}),_c('small',[_vm._v(_vm._s(service.label))])]},null,{ service: service })],2)])}),1)]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\",\"leave-active-class\":\"animated fadeOutDown\"}},[(_vm.freeFromPercentage)?_c('div',{staticClass:\"shipping-calculator__free-from-value\"},[_vm._t(\"free-from-value\",function(){return [_c('span',[_vm._v(\" \"+_vm._s(_vm.i19add$1ToEarn.replace('$1', _vm.formatMoney(_vm.freeFromValue - _vm.amountSubtotal)))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.i19freeShipping))])]),(_vm.freeFromPercentage >= 33)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped\",style:((\"width: \" + _vm.freeFromPercentage + \"%\")),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.freeFromPercentage,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.i19freeShipping)+\" \"),_c('i',{staticClass:\"i-truck mx-1\"}),_c('strong',[_vm._v(_vm._s(_vm.freeFromPercentage)+\"%\")])])])]):_vm._e()]},null,{ amountSubtotal: _vm.amountSubtotal, freeFromValue: _vm.freeFromValue, freeFromPercentage: _vm.freeFromPercentage })],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&\"","import {\n i19atSight,\n i19interestFree,\n i19of,\n i19ofDiscount,\n i19onFreight\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'PaymentOption',\n\n props: {\n paymentGateway: {\n type: Object,\n required: true\n },\n installmentsOption: Object,\n price: Number\n },\n\n computed: {\n i19atSight: () => i18n(i19atSight),\n i19interestFree: () => i18n(i19interestFree),\n i19of: () => i18n(i19of),\n i19ofDiscount: () => i18n(i19ofDiscount),\n i19onFreight: () => i18n(i19onFreight),\n\n discount () {\n if (this.paymentGateway.discount && this.paymentGateway.discount.value > 0) {\n return this.paymentGateway.discount\n }\n },\n\n installmentOptions () {\n if (\n this.paymentGateway.installment_options &&\n this.paymentGateway.installment_options.length\n ) {\n return this.paymentGateway.installment_options.concat().sort((a, b) => {\n return a.number - b.number\n })\n } else if (\n this.price &&\n this.installmentsOption &&\n this.paymentGateway.payment_method.code === 'credit_card'\n ) {\n const installmentOptions = []\n for (let number = 2; number <= this.installmentsOption.max_number; number++) {\n const tax = this.installmentsOption.monthly_interest > 0\n const minInstallment = this.installmentsOption.min_installment || 5\n let value\n if (!tax) {\n value = this.price / number\n } else {\n const interest = this.installmentsOption.monthly_interest / 100\n value = this.price * interest / (1 - Math.pow(1 + interest, -number))\n }\n if (value >= minInstallment) {\n installmentOptions.push({\n number,\n value,\n tax\n })\n }\n }\n return installmentOptions\n }\n },\n\n priceWithDiscount () {\n if (this.price && this.discount && this.discount.apply_at !== 'freight') {\n if (this.discount.type === 'percentage') {\n return this.price * (100 - this.discount.value) / 100\n } else {\n const finalPrice = this.price - this.discount.value\n return (finalPrice > 0 ? finalPrice : 0)\n }\n }\n return this.price\n }\n },\n\n methods: {\n formatMoney\n }\n}\n","import { render, staticRenderFns } from \"./html/PaymentOption.html?vue&type=template&id=3043e380&lang=html&\"\nimport script from \"./js/PaymentOption.js?vue&type=script&lang=js&\"\nexport * from \"./js/PaymentOption.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"payment-option\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg\"},[(_vm.paymentGateway.icon)?_c('img',{staticClass:\"payment-option__icon\",attrs:{\"src\":_vm.paymentGateway.icon}}):_c('div',{staticClass:\"payment-option__label\"},[_vm._v(\" \"+_vm._s(_vm.paymentGateway.label)+\" \")])]),(_vm.discount || _vm.installmentOptions)?_c('div',{staticClass:\"payment-option__details col-lg-6 col-xl-5 mt-1 mt-lg-0\"},[(_vm.price)?_c('div',{staticClass:\"payment-option__price\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.priceWithDiscount))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19atSight))])]):_vm._e(),(_vm.discount)?_c('span',{staticClass:\"payment-option__discount badge badge-success\"},[(_vm.discount.type === 'percentage')?[_vm._v(\" \"+_vm._s(_vm.discount.value)+\"% \")]:_c('span',{staticClass:\"payment-option__discount-value\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.discount.value))+\" \")]),_vm._v(\" \"+_vm._s(_vm.i19ofDiscount)+\" \"),(_vm.discount.apply_at === 'freight')?[_vm._v(\" \"+_vm._s(_vm.i19onFreight)+\" \")]:_vm._e()],2):_vm._e(),(_vm.installmentOptions)?_c('ul',{staticClass:\"payment-option__installment list-unstyled\"},_vm._l((_vm.installmentOptions),function(ref){\nvar number = ref.number;\nvar value = ref.value;\nvar tax = ref.tax;\nreturn (number > 1)?_c('li',[_c('span',[_vm._v(\" \"+_vm._s((number + \"x\"))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19of))]),_vm._v(\" \"+_vm._s(_vm.formatMoney(value))+\" \")]),(!tax)?_c('small',[_vm._v(\" \"+_vm._s(_vm.i19interestFree)+\" \")]):_vm._e()]):_vm._e()}),0):_vm._e()]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19addToFavorites,\n i19buy,\n i19close,\n i19days,\n i19discountOf,\n i19endsIn,\n i19freeShippingFrom,\n i19loadProductErrorMsg,\n i19offer,\n i19only,\n i19outOfStock,\n i19paymentOptions,\n i19perUnit,\n i19productionDeadline,\n i19removeFromFavorites,\n i19retry,\n i19selectVariationMsg,\n i19unavailable,\n i19units,\n i19unitsInStock,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n randomObjectId as genRandomObjectId,\n name as getName,\n inStock as checkInStock,\n onPromotion as checkOnPromotion,\n price as getPrice,\n img as getImg,\n variationsGrids as getVariationsGrids,\n specTextValue as getSpecTextValue,\n specValueByText as getSpecValueByText,\n formatMoney,\n $ecomConfig\n} from '@ecomplus/utils'\n\nimport { store, modules } from '@ecomplus/client'\nimport EcomSearch from '@ecomplus/search-engine'\nimport ecomCart from '@ecomplus/shopping-cart'\nimport { isMobile } from '@ecomplus/storefront-twbs'\nimport lozad from 'lozad'\nimport sortApps from './helpers/sort-apps'\nimport addIdleCallback from './helpers/add-idle-callback'\nimport scrollToElement from './helpers/scroll-to-element'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\nimport APicture from '../APicture.vue'\nimport APrices from '../APrices.vue'\nimport AShare from '../AShare.vue'\nimport ProductVariations from '../ProductVariations.vue'\nimport ProductGallery from '../ProductGallery.vue'\nimport QuantitySelector from '../QuantitySelector.vue'\nimport ShippingCalculator from '../ShippingCalculator.vue'\nimport PaymentOption from '../PaymentOption.vue'\nimport ecomPassport from '@ecomplus/passport-client'\nimport { toggleFavorite, checkFavorite } from './helpers/favorite-products'\n\nconst storefront = (typeof window === 'object' && window.storefront) || {}\nconst getContextBody = () => (storefront.context && storefront.context.body) || {}\nconst getContextId = () => getContextBody()._id\n\nconst sanitizeProductBody = body => {\n const product = Object.assign({}, body)\n delete product.body_html\n delete product.body_text\n delete product.specifications\n delete product.inventory_records\n delete product.price_change_records\n return product\n}\n\nexport default {\n name: 'TheProduct',\n\n components: {\n Portal,\n ALink,\n AAlert,\n APicture,\n APrices,\n AShare,\n ProductVariations,\n ProductGallery,\n QuantitySelector,\n ShippingCalculator,\n PaymentOption\n },\n\n props: {\n productId: {\n type: String,\n default () {\n return getContextId()\n }\n },\n product: Object,\n headingTag: {\n type: String,\n default: 'h1'\n },\n buyText: String,\n galleryColClassName: {\n type: String,\n default: 'col-12 col-md-6'\n },\n hasPromotionTimer: Boolean,\n hasStickyBuyButton: {\n type: Boolean,\n default: true\n },\n hasQuantitySelector: Boolean,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n },\n lowQuantityToWarn: {\n type: Number,\n default: 12\n },\n maxVariationOptionsBtns: Number,\n isQuickview: Boolean,\n paymentAppsSort: {\n type: Array,\n default () {\n return window.ecomPaymentApps || []\n }\n },\n quoteLink: String,\n isSSR: Boolean,\n ecomPassport: {\n type: Object,\n default () {\n return ecomPassport\n }\n },\n accountUrl: {\n type: String,\n default: '/app/#/account/'\n }\n },\n\n data () {\n return {\n body: {},\n fixedPrice: null,\n selectedVariationId: null,\n currentGalleyImg: 1,\n isOnCart: false,\n qntToBuy: 1,\n isStickyBuyVisible: false,\n isFavorite: false,\n hasClickedBuy: false,\n hasLoadError: false,\n paymentOptions: [],\n customizations: [],\n kitItems: [],\n currentTimer: null\n }\n },\n\n computed: {\n i19addToFavorites: () => i18n(i19addToFavorites),\n i19close: () => i18n(i19close),\n i19days: () => i18n(i19days),\n i19discountOf: () => i18n(i19discountOf),\n i19endsIn: () => i18n(i19endsIn),\n i19freeShippingFrom: () => i18n(i19freeShippingFrom),\n i19loadProductErrorMsg: () => i18n(i19loadProductErrorMsg),\n i19offer: () => i18n(i19offer),\n i19only: () => i18n(i19only),\n i19outOfStock: () => i18n(i19outOfStock),\n i19paymentOptions: () => i18n(i19paymentOptions),\n i19perUnit: () => i18n(i19perUnit),\n i19productionDeadline: () => i18n(i19productionDeadline),\n i19removeFromFavorites: () => i18n(i19removeFromFavorites),\n i19retry: () => i18n(i19retry),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19unavailable: () => i18n(i19unavailable),\n i19quoteProduct: () => 'Cotar produto',\n i19units: () => i18n(i19units).toLowerCase(),\n i19unitsInStock: () => i18n(i19unitsInStock),\n i19workingDays: () => i18n(i19workingDays),\n\n selectedVariation () {\n return this.selectedVariationId\n ? this.body.variations.find(({ _id }) => _id === this.selectedVariationId)\n : {}\n },\n\n name () {\n return this.selectedVariation.name || getName(this.body)\n },\n\n isInStock () {\n return checkInStock(this.body)\n },\n\n isWithoutPrice () {\n return !getPrice(this.body)\n },\n\n isVariationInStock () {\n return checkInStock(this.selectedVariationId ? this.selectedVariation : this.body)\n },\n\n isLogged () {\n return ecomPassport.checkAuthorization()\n },\n\n thumbnail () {\n return getImg(this.body, null, 'small')\n },\n\n productQuantity () {\n if (this.selectedVariation.quantity) {\n return this.selectedVariation.quantity\n } else if (this.body.quantity) {\n return this.body.quantity\n }\n },\n\n isLowQuantity () {\n return this.productQuantity > 0 && this.lowQuantityToWarn > 0 &&\n this.productQuantity <= this.lowQuantityToWarn\n },\n\n strBuy () {\n return this.buyText || i18n(i19buy)\n },\n\n discount () {\n const { body } = this\n const priceValue = this.fixedPrice || getPrice(body)\n return checkOnPromotion(body) || (body.price > priceValue)\n ? Math.round(((body.base_price - priceValue) * 100) / body.base_price)\n : 0\n },\n\n isOnSale () {\n const { body } = this\n return this.hasPromotionTimer &&\n checkOnPromotion(body) &&\n body.price_effective_date &&\n body.price_effective_date.end &&\n Date.now() < new Date(body.price_effective_date.end).getTime()\n },\n\n ghostProductForPrices () {\n const prices = {}\n ;['price', 'base_price'].forEach(field => {\n let price = this.selectedVariation[field] || this.body[field]\n if (price !== undefined) {\n this.customizations.forEach(customization => {\n if (customization.add_to_price) {\n price += this.getAdditionalPrice(customization.add_to_price)\n }\n })\n }\n prices[field] = price\n })\n const ghostProduct = { ...this.body }\n if (this.selectedVariationId) {\n Object.assign(ghostProduct, this.selectedVariation)\n delete ghostProduct.variations\n }\n return {\n ...ghostProduct,\n ...prices\n }\n },\n\n hasVariations () {\n return this.body.variations && this.body.variations.length\n },\n\n isKit () {\n return this.body.kit_composition && this.body.kit_composition.length\n }\n },\n\n methods: {\n getVariationsGrids,\n getSpecValueByText,\n\n setBody (data) {\n this.body = {\n ...data,\n body_html: '',\n body_text: '',\n inventory_records: []\n }\n this.$emit('update:product', data)\n },\n\n fetchProduct (isRetry = false) {\n const { productId } = this\n return store({\n url: `/products/${productId}.json`,\n axiosConfig: {\n timeout: isRetry ? 2500 : 6000\n }\n })\n .then(({ data }) => {\n this.setBody(data)\n if (getContextId() === productId) {\n storefront.context.body = this.body\n }\n this.hasLoadError = false\n })\n .catch(err => {\n console.error(err)\n const { response } = err\n if (!response || !(response.status >= 400 && response.status < 500)) {\n if (!isRetry) {\n this.fetchProduct(true)\n } else {\n this.setBody(getContextBody())\n if (!this.body.name || !this.body.price || !this.body.pictures) {\n this.hasLoadError = true\n }\n }\n }\n })\n },\n\n getAdditionalPrice ({ type, addition }) {\n return type === 'fixed'\n ? addition\n : getPrice(this.body) * addition / 100\n },\n\n formatAdditionalPrice (addToPrice) {\n if (addToPrice && addToPrice.addition) {\n return formatMoney(this.getAdditionalPrice(addToPrice))\n }\n return ''\n },\n\n setCustomizationOption (customization, text) {\n const index = this.customizations.findIndex(({ _id }) => _id === customization._id)\n if (text) {\n if (index > -1) {\n this.customizations[index].option = { text }\n } else {\n this.customizations.push({\n _id: customization._id,\n label: customization.label,\n add_to_price: customization.add_to_price,\n option: { text }\n })\n }\n } else if (index > -1) {\n this.customizations.splice(index, 1)\n }\n },\n\n showVariationPicture (variation) {\n if (variation.picture_id) {\n const pictureIndex = this.body.pictures.findIndex(({ _id }) => {\n return _id === variation.picture_id\n })\n this.currentGalleyImg = pictureIndex + 1\n }\n },\n\n handleGridOption ({ gridId, gridIndex, optionText }) {\n if (gridIndex === 0) {\n const variation = this.body.variations.find(variation => {\n return getSpecTextValue(variation, gridId) === optionText\n })\n if (variation) {\n this.showVariationPicture(variation)\n }\n }\n },\n\n toggleFavorite () {\n if (this.isLogged) {\n this.isFavorite = toggleFavorite(this.body._id, this.ecomPassport)\n }\n },\n\n buy () {\n this.hasClickedBuy = true\n const product = sanitizeProductBody(this.body)\n let variationId\n if (this.hasVariations) {\n if (this.selectedVariationId) {\n variationId = this.selectedVariationId\n } else {\n return\n }\n }\n const customizations = [...this.customizations]\n this.$emit('buy', { product, variationId, customizations })\n if (this.canAddToCart) {\n ecomCart.addProduct({ ...product, customizations }, variationId, this.qntToBuy)\n }\n this.isOnCart = true\n },\n\n buyOrScroll () {\n if (this.hasVariations || this.isKit) {\n scrollToElement(this.$refs.actions)\n } else {\n this.buy()\n }\n }\n },\n\n watch: {\n selectedVariationId (variationId) {\n if (variationId) {\n if (this.hasClickedBuy) {\n this.hasClickedBuy = false\n }\n this.showVariationPicture(this.selectedVariation)\n }\n },\n\n fixedPrice (price) {\n if (price > 0 && !this.isQuickview) {\n addIdleCallback(() => {\n modules({\n url: '/list_payments.json',\n method: 'POST',\n data: {\n amount: {\n total: price\n },\n items: [{\n ...sanitizeProductBody(this.body),\n product_id: this.body._id\n }],\n currency_id: this.body.currency_id || $ecomConfig.get('currency'),\n currency_symbol: this.body.currency_symbol || $ecomConfig.get('currency_symbol')\n }\n })\n .then(({ data }) => {\n if (Array.isArray(this.paymentAppsSort) && this.paymentAppsSort.length) {\n sortApps(data.result, this.paymentAppsSort)\n }\n this.paymentOptions = data.result\n .reduce((paymentOptions, appResult) => {\n if (appResult.validated) {\n paymentOptions.push({\n app_id: appResult.app_id,\n ...appResult.response\n })\n }\n return paymentOptions\n }, [])\n .sort((a, b) => {\n return a.discount_option && a.discount_option.value &&\n !(b.discount_option && b.discount_option.value)\n ? -1\n : 1\n })\n })\n .catch(console.error)\n })\n }\n },\n\n isKit: {\n handler (isKit) {\n if (isKit && !this.kitItems.length) {\n const kitComposition = this.body.kit_composition\n const ecomSearch = new EcomSearch()\n ecomSearch\n .setPageSize(kitComposition.length)\n .setProductIds(kitComposition.map(({ _id }) => _id))\n .fetch(true)\n .then(() => {\n ecomSearch.getItems().forEach(product => {\n const { quantity } = kitComposition.find(({ _id }) => _id === product._id)\n const addKitItem = variationId => {\n const item = ecomCart.parseProduct(product, variationId, quantity)\n if (quantity) {\n item.min_quantity = item.max_quantity = quantity\n } else {\n item.quantity = 0\n }\n this.kitItems.push({\n ...item,\n _id: genRandomObjectId()\n })\n }\n if (product.variations) {\n product.variations.forEach(variation => {\n variation._id = genRandomObjectId()\n addKitItem(variation._id)\n })\n } else {\n addKitItem()\n }\n })\n })\n .catch(console.error)\n }\n },\n immediate: true\n }\n },\n\n created () {\n const presetQntToBuy = () => {\n this.qntToBuy = this.body.min_quantity || 1\n }\n if (this.product) {\n this.body = this.product\n if (this.isSSR) {\n this.fetchProduct().then(presetQntToBuy)\n } else {\n presetQntToBuy()\n }\n } else {\n this.fetchProduct().then(presetQntToBuy)\n }\n this.isFavorite = checkFavorite(this.body._id || this.productId, this.ecomPassport)\n },\n\n mounted () {\n if (this.$refs.sticky && !this.isWithoutPrice) {\n let isBodyPaddingSet = false\n const setStickyBuyObserver = (isToVisible = true) => {\n const $anchor = this.$refs[isToVisible ? 'sticky' : 'buy']\n if (!$anchor) {\n return\n }\n const $tmpDiv = document.createElement('div')\n $anchor.parentNode.insertBefore($tmpDiv, $anchor)\n if (isToVisible) {\n $tmpDiv.style.position = 'absolute'\n $tmpDiv.style.bottom = isMobile ? '-1600px' : '-1000px'\n }\n const obs = lozad($tmpDiv, {\n rootMargin: '100px',\n threshold: 0,\n load: () => {\n this.isStickyBuyVisible = isToVisible\n if (isToVisible && !isBodyPaddingSet) {\n this.$nextTick(() => {\n const stickyHeight = this.$refs.sticky.offsetHeight\n document.body.style.paddingBottom = `${(stickyHeight + 4)}px`\n isBodyPaddingSet = true\n })\n }\n $tmpDiv.remove()\n setTimeout(() => {\n const createObserver = function () {\n setStickyBuyObserver(!isToVisible)\n document.removeEventListener('scroll', createObserver)\n }\n document.addEventListener('scroll', createObserver)\n }, 100)\n }\n })\n obs.observe()\n }\n setStickyBuyObserver()\n }\n if (this.isOnSale) {\n const promotionDate = new Date(this.body.price_effective_date.end)\n const now = Date.now()\n if (promotionDate.getTime() > now) {\n let targetDate\n const dayMs = 24 * 60 * 60 * 1000\n const daysBetween = Math.floor((promotionDate.getTime() - now) / dayMs)\n if (daysBetween > 2) {\n targetDate = new Date()\n targetDate.setHours(23, 59, 59, 999)\n } else {\n targetDate = promotionDate\n }\n const formatTime = (number) => number < 10 ? `0${number}` : number\n const getRemainingTime = () => {\n const distance = targetDate.getTime() - Date.now()\n const days = Math.floor(distance / dayMs)\n const hours = Math.floor((distance % dayMs) / (1000 * 60 * 60))\n const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60))\n const seconds = Math.floor((distance % (1000 * 60)) / 1000)\n return (days > 0 ? `${formatTime(days)}:` : '') +\n `${formatTime(hours)}:${formatTime(minutes)}:${formatTime(seconds)}`\n }\n this.currentTimer = setInterval(() => {\n this.$refs.timer.innerHTML = getRemainingTime()\n }, 1000)\n }\n }\n },\n\n destroyed () {\n if (this.currentTimer) {\n clearInterval(this.currentTimer)\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&\"","export default fn => {\n if (typeof window === 'object' && typeof window.requestIdleCallback === 'function') {\n window.requestIdleCallback(fn)\n } else {\n setTimeout(fn, 500)\n }\n}\n","import { render, staticRenderFns } from \"./html/TheProduct.html?vue&type=template&id=d796e3ac&lang=html&\"\nimport script from \"./js/TheProduct.js?vue&type=script&lang=js&\"\nexport * from \"./js/TheProduct.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"product\",attrs:{\"data-product-id\":_vm.body._id,\"data-sku\":_vm.body.sku,\"data-selected-variation\":_vm.selectedVariationId}},[_c('a-alert',{attrs:{\"can-show\":_vm.hasLoadError,\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.i19loadProductErrorMsg)+\" \"),_c('a',{staticClass:\"alert-link\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fetchProduct.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.i19retry)+\" \")])]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn slower\"}},[(_vm.body._id)?_c('div',{staticClass:\"row\"},[_vm._t(\"gallery-col\",function(){return [_c('div',{class:_vm.galleryColClassName},[_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-gallery\"}},[_vm._t(\"stamps\"),_c('product-gallery',{attrs:{\"product\":_vm.body,\"can-add-to-cart\":_vm.canAddToCart && _vm.body.available && _vm.isInStock,\"current-slide\":_vm.currentGalleyImg,\"is-s-s-r\":_vm.isSSR},on:{\"update:currentSlide\":function($event){_vm.currentGalleyImg=$event},\"update:current-slide\":function($event){_vm.currentGalleyImg=$event}}},[_vm._t(\"first-picture\")],2),_vm._t(\"gallery-footer\")],2)],1)]}),_c('div',{ref:\"actions\",staticClass:\"col\"},[(!_vm.isSSR)?_vm._t(\"heading\",function(){return [_c(_vm.headingTag,{tag:\"component\",staticClass:\"product__name\"},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")]),_c('p',{staticClass:\"product__sku\"},[_vm._v(\" COD: \"+_vm._s(_vm.body.sku)+\" \")])]}):_vm._e(),_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-actions\"}},[_vm._t(\"rating\",function(){return [_vm._m(0)]}),(!_vm.body.available)?_c('div',{staticClass:\"product__unavailable\"},[_vm._t(\"unavailable\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19unavailable)+\" \")]})],2):(!_vm.isInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.isWithoutPrice)?_c('div',{staticClass:\"product__without-price\"},[_vm._t(\"without-price\",function(){return [(_vm.quoteLink)?_c('a',{attrs:{\"target\":\"_blank\",\"rel\":\"noopener\",\"href\":_vm.quoteLink}},[_vm._v(\" \"+_vm._s(_vm.i19quoteProduct)+\" \")]):_vm._e()]})],2):[_vm._t(\"prices\",function(){return [_c('p',{staticClass:\"product__prices\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":true,\"is-big\":true},on:{\"fix-price\":function (price) { return _vm.fixedPrice = price; }}}),_vm._t(\"discount-tag\",function(){return [(_vm.discount > 0)?_c('span',{staticClass:\"product__discount\"},[_vm._v(\" \"+_vm._s(_vm.i19discountOf)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.discount)+\"%\")])]):_vm._e()]},null,{ discount: _vm.discount })],2)]}),(_vm.hasVariations)?_vm._t(\"variations\",function(){return [_c('product-variations',{attrs:{\"product\":_vm.body,\"selected-id\":_vm.selectedVariationId,\"max-options-btns\":_vm.maxVariationOptionsBtns},on:{\"update:selectedId\":function($event){_vm.selectedVariationId=$event},\"update:selected-id\":function($event){_vm.selectedVariationId=$event},\"select-option\":_vm.handleGridOption}}),_c('a-alert',{attrs:{\"can-show\":_vm.hasClickedBuy && !_vm.selectedVariationId}},[_vm._v(\" \"+_vm._s(_vm.i19selectVariationMsg)+\" \")]),_vm._t(\"variations-info\")]}):_vm._e(),(_vm.body.customizations)?_vm._t(\"customizations\",function(){return _vm._l((_vm.body.customizations),function(custom){return (custom.custom_value)?_c('div',{key:custom._id,staticClass:\"product__customization form-group\",class:custom.grid_id ? (\"product__customization--\" + (custom.grid_id)) : null},[_c('label',{attrs:{\"for\":(\"c-\" + (custom._id))}},[_vm._v(\" \"+_vm._s(custom.label)+\" \"),(custom.add_to_price)?_c('span',{staticClass:\"badge badge-secondary\"},[_vm._v(\" \"+_vm._s(_vm.formatAdditionalPrice(custom.add_to_price))+\" \")]):_vm._e()]),_c('input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":(\"c-\" + (custom._id))},on:{\"keyup\":function (ev) { return _vm.setCustomizationOption(custom, ev.target.value); }}})]):_vm._e()})}):_vm._e(),(_vm.isKit)?_c('div',{staticClass:\"product__kit\"},[_vm._t(\"kit\",function(){return [_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(_vm.kitItems.length)?_c('quantity-selector',{attrs:{\"items\":_vm.kitItems,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"slug\":_vm.body.slug,\"kit-product-id\":_vm.body._id,\"kit-name\":_vm.name,\"kit-price\":_vm.fixedPrice},on:{\"buy\":function (d) { return _vm.$emit('buy', d); }},scopedSlots:_vm._u([{key:\"buy-button-content\",fn:function(){return [_vm._t(\"buy-button-content\")]},proxy:true}],null,true)}):_vm._e()],1),(!_vm.kitItems.length)?_c('span',{staticClass:\"product__kit-loading spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_vm._e()]},null,{ kitItems: _vm.kitItems })],2):[(!_vm.isVariationInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.hasBuyButton)?_c('div',{ref:\"buy\",staticClass:\"product__buy\"},[_c(_vm.hasQuantitySelector ? 'quantity-selector' : 'div',{tag:\"component\",attrs:{\"items\":_vm.hasQuantitySelector ? [{ _id: _vm.body._id, quantity: _vm.body.min_quantity || 1 }] : null,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"has-buy-button\":false},on:{\"set-quantity\":function (ref) {\n var quantity = ref.quantity;\n\n return _vm.qntToBuy = quantity;\n}}},[_c('span',{on:{\"click\":_vm.buy}},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary\",attrs:{\"type\":\"button\",\"disabled\":_vm.hasClickedBuy && !_vm.isOnCart}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ hasClickedBuy: _vm.hasClickedBuy, isOnCart: _vm.isOnCart })],2)])],1):_vm._e(),(_vm.isLowQuantity)?_c('p',{staticClass:\"product__short-stock\"},[_c('i',{staticClass:\"i-forward mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19only)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.productQuantity))]),_vm._v(\" \"+_vm._s(_vm.i19unitsInStock)+\" \")]):_vm._e()],_vm._t(\"sale-timer\",function(){return [(_vm.isOnSale)?_c('div',{staticClass:\"product__sale-timer mb-3\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.i19offer)+\" \"),_c('br'),_c('small',[_vm._v(_vm._s(_vm.i19endsIn))])]),_c('div',{ref:\"timer\",staticClass:\"h1 ml-3 mb-0\"},[_vm._v(\" 00:00:00 \")])]):_vm._e()]}),_vm._t(\"favorite\",function(){return [_c('div',[_c('a',{staticClass:\"btn btn-sm product__favorite\",attrs:{\"href\":_vm.isLogged ? null : _vm.accountUrl},on:{\"click\":_vm.toggleFavorite}},[_c('i',{staticClass:\"i-heart mr-1\",class:_vm.isFavorite ? 'active' : null}),_c('span',[_vm._v(\" \"+_vm._s(_vm.isFavorite ? _vm.i19removeFromFavorites : _vm.i19addToFavorites)+\" \")])])])]}),_vm._t(\"share\",function(){return [(_vm.body.slug)?_c('a-share',{staticClass:\"mb-3\",attrs:{\"url\":(\"/\" + (_vm.body.slug)),\"title\":_vm.body.name,\"description\":_vm.body.short_description}}):_vm._e()]}),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(!_vm.isQuickview && _vm.paymentOptions.length)?_vm._t(\"payment-gateways\",function(){return [_c('article',[_c('div',{staticClass:\"product__payment card mb-3\"},[_c('a',{staticClass:\"card-header\",attrs:{\"id\":\"product-payment-header\",\"role\":\"button\",\"href\":\"#product-payment\",\"data-toggle\":\"collapse\",\"aria-expanded\":\"false\",\"aria-controls\":\"product-payment\"}},[_c('span',[_vm._v(_vm._s(_vm.i19paymentOptions))]),_c('i',{staticClass:\"i-chevron-down\"})]),_c('div',{staticClass:\"collapse\",attrs:{\"id\":\"product-payment\",\"aria-labelledby\":\"product-payment-header\"}},[_c('div',{staticClass:\"card-body pb-0\"},_vm._l((_vm.paymentOptions),function(paymentOption){return _c('div',{key:paymentOption.app_id,staticClass:\"mb-3\",attrs:{\"id\":(\"product-payment-\" + (paymentOption.app_id))}},[_vm._t((\"payment-\" + (paymentOption.app_id)),function(){return _vm._l((paymentOption.payment_gateways),function(gateway,i){return _c('payment-option',{key:((paymentOption.app_id) + \"-\" + i),attrs:{\"payment-gateway\":gateway,\"installments-option\":paymentOption.installments_option,\"price\":_vm.fixedPrice}})})})],2)}),0)])])])]},null,{ paymentOptions: _vm.paymentOptions }):_vm._e()],2),(_vm.body.production_time && _vm.body.production_time.days)?_c('p',{staticClass:\"product__production\"},[_c('i',{staticClass:\"i-info-circle mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19productionDeadline)+\": \"),_c('strong',[_vm._v(\" \"+_vm._s(_vm.body.production_time.days)+\" \"+_vm._s(_vm.body.production_time.working_days ? _vm.i19workingDays : _vm.i19days)+\" \"),(_vm.body.production_time.cumulative)?[_vm._v(\" \"+_vm._s(_vm.i19perUnit)+\" \")]:_vm._e()],2)]):_vm._e(),(!_vm.isQuickview && (!_vm.isKit || _vm.kitItems.length))?_vm._t(\"shipping\",function(){return [_c('shipping-calculator',{attrs:{\"shippedItems\":_vm.isKit ? _vm.kitItems : [Object.assign({}, _vm.body,\n {product_id: _vm.body._id,\n quantity: _vm.qntToBuy || _vm.body.min_quantity || 1})]},scopedSlots:_vm._u([{key:\"free-from-value\",fn:function(ref){\n var amountSubtotal = ref.amountSubtotal;\n var freeFromValue = ref.freeFromValue;\nreturn [_c('div',{staticClass:\"product__free-shipping-from\"},[_vm._v(\" \"+_vm._s(_vm.i19freeShippingFrom)+\" \"),_c('strong',[_vm._v(\" \"+_vm._s(Math.ceil(freeFromValue / amountSubtotal))+\" \"+_vm._s(_vm.i19units)+\" \")])])]}}],null,false,3999804120)})]}):_vm._e(),_vm._t(\"track-price\",function(){return [_vm._m(1)]})]],2),(!_vm.isSSR && _vm.body.short_description)?_vm._t(\"short-description\",function(){return [_c('p',{staticClass:\"product__info lead\"},[_vm._v(\" \"+_vm._s(_vm.body.short_description)+\" \")])]}):_vm._e()],2)],2):_vm._e()]),(!_vm.isQuickview && _vm.hasStickyBuyButton && _vm.body.available && _vm.isInStock)?[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn\",\"leave-active-class\":\"animated fadeOut fast\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isStickyBuyVisible),expression:\"isStickyBuyVisible\"}],ref:\"sticky\",staticClass:\"product__sticky\"},[_c('div',{staticClass:\"product__sticky-container container\"},[_c('div',{staticClass:\"product__sticky-info\"},[_c('a-picture',{staticClass:\"product__sticky-picture\",attrs:{\"can-calc-height\":false,\"src\":_vm.thumbnail}}),_c('h5',[_vm._v(_vm._s(_vm.name))])],1),_c('div',{staticClass:\"product__sticky-buy\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":false,\"can-show-price-options\":true}}),_c('a',{staticClass:\"btn btn-lg btn-primary\",on:{\"click\":_vm.buyOrScroll}},[_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")])],1)])])])]:_vm._e(),(!_vm.body._id)?_vm._t(\"default\"):_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__rating\",attrs:{\"data-sku\":_vm.body.sku}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__track-price\",attrs:{\"data-sku\":_vm.body.sku}})}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&\"","import {\n i19close,\n i19seeMoreInfo\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport TheProduct from '../TheProduct.vue'\nimport ABackdrop from '../ABackdrop.vue'\n\nexport default {\n name: 'ProductQuickView',\n\n components: {\n Portal,\n TheProduct,\n ABackdrop\n },\n\n props: {\n productId: String,\n product: Object,\n portalId: {\n type: String,\n default: 'quickview'\n }\n },\n\n data () {\n return {\n productName: '',\n productLink: '',\n isVisible: false\n }\n },\n\n computed: {\n i19close: () => i18n(i19close),\n i19seeMoreInfo: () => i18n(i19seeMoreInfo)\n },\n\n methods: {\n setProduct ({ name, slug }) {\n this.productName = name\n this.productLink = `/${slug}`\n },\n\n hide () {\n this.isVisible = false\n setTimeout(() => {\n if (!this.isVisible) {\n this.$destroy()\n }\n }, 450)\n }\n },\n\n created () {\n let portal = document.getElementById(this.portalId)\n if (!portal) {\n portal = document.createElement('div')\n portal.setAttribute('id', this.portalId)\n document.body.appendChild(portal)\n } else {\n portal.innerHTML = ''\n }\n if (this.product) {\n this.setProduct(this.product)\n }\n this.isVisible = true\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductQuickview.html?vue&type=template&id=54730058&lang=html&\"\nimport script from \"./js/ProductQuickview.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductQuickview.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss?2eac","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss?51f3","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss?dd58","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss?dea0","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss?9423","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss?05a1","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss?76b1","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss?2ecc","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss?78e1","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductVariations.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss?c968","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductGallery.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss?b3c1","webpack://widgetSearchEngine/../storefront-components/src/scss/QuantitySelector.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss?daaf","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingLine.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss?d250","webpack://widgetSearchEngine/../storefront-components/src/scss/ShippingCalculator.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss?e2ba","webpack://widgetSearchEngine/../storefront-components/src/scss/PaymentOption.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss?29b5","webpack://widgetSearchEngine/../storefront-components/src/scss/TheProduct.scss","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss?81de","webpack://widgetSearchEngine/../storefront-components/src/scss/ProductQuickview.scss","webpack://widgetSearchEngine/../storefront-components/src/html/ProductQuickview.html","webpack://widgetSearchEngine/../storefront-components/src/js/helpers/sort-apps.js","webpack://widgetSearchEngine/../storefront-components/src/js/AAlert.js?9da8","webpack://widgetSearchEngine/../storefront-components/src/js/AAlert.js","webpack://widgetSearchEngine/../storefront-components/src/AAlert.vue","webpack://widgetSearchEngine/../storefront-components/src/html/AAlert.html","webpack://widgetSearchEngine/../storefront-components/src/js/AShare.js","webpack://widgetSearchEngine/../storefront-components/src/js/AShare.js?df80","webpack://widgetSearchEngine/../storefront-components/src/AShare.vue","webpack://widgetSearchEngine/../storefront-components/src/html/AShare.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductVariations.js?f67e","webpack://widgetSearchEngine/../storefront-components/src/js/ProductVariations.js","webpack://widgetSearchEngine/../storefront-components/src/ProductVariations.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ProductVariations.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductGallery.js?1688","webpack://widgetSearchEngine/../storefront-components/src/js/ProductGallery.js","webpack://widgetSearchEngine/../storefront-components/src/ProductGallery.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ProductGallery.html","webpack://widgetSearchEngine/../storefront-components/src/js/QuantitySelector.js?c5c4","webpack://widgetSearchEngine/../storefront-components/src/js/QuantitySelector.js","webpack://widgetSearchEngine/../storefront-components/src/QuantitySelector.vue","webpack://widgetSearchEngine/../storefront-components/src/html/QuantitySelector.html","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingLine.js?37d7","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingLine.js","webpack://widgetSearchEngine/../storefront-components/src/ShippingLine.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ShippingLine.html","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingCalculator.js","webpack://widgetSearchEngine/../storefront-components/src/js/ShippingCalculator.js?d510","webpack://widgetSearchEngine/../storefront-components/src/ShippingCalculator.vue","webpack://widgetSearchEngine/../storefront-components/src/html/ShippingCalculator.html","webpack://widgetSearchEngine/../storefront-components/src/js/PaymentOption.js?b860","webpack://widgetSearchEngine/../storefront-components/src/js/PaymentOption.js","webpack://widgetSearchEngine/../storefront-components/src/PaymentOption.vue","webpack://widgetSearchEngine/../storefront-components/src/html/PaymentOption.html","webpack://widgetSearchEngine/../storefront-components/src/js/TheProduct.js","webpack://widgetSearchEngine/../storefront-components/src/js/TheProduct.js?a2dc","webpack://widgetSearchEngine/../storefront-components/src/js/helpers/add-idle-callback.js","webpack://widgetSearchEngine/../storefront-components/src/TheProduct.vue","webpack://widgetSearchEngine/../storefront-components/src/html/TheProduct.html","webpack://widgetSearchEngine/../storefront-components/src/js/ProductQuickview.js?c184","webpack://widgetSearchEngine/../storefront-components/src/js/ProductQuickview.js","webpack://widgetSearchEngine/../storefront-components/src/ProductQuickview.vue"],"names":["content","__esModule","default","module","i","locals","exports","add","___CSS_LOADER_API_IMPORT___","push","results","order","sort","a","b","app_id","indexA","indexOf","indexB","name","props","canShow","type","Boolean","variant","String","data","count","computed","i19close","i18n","watch","this","_h","$createElement","_c","_self","attrs","key","_m","_e","_vm","staticClass","class","_t","on","$event","$emit","_v","shareNetworks","network","icon","color","components","ShareNetwork","url","required","title","description","i19email","i19on","toLowerCase","i19share","localUrl","window","startsWith","location","hostname","_l","ref","style","_s","product","Object","selectedId","maxOptionsBtns","Number","gridsData","Array","storefront","grids","selectedOptions","filteredGrids","i19select","i19selectVariation","variationsGrids","getVariationsGrids","orderedGrids","keys","variationFromUrl","variationId","URLSearchParams","search","get","methods","getColorOptionBg","optionText","rgbs","split","map","colorName","getSpecValueByText","variations","trim","length","getSpecValue","grid","values","colorNames","forEach","getGridTitle","selectOption","gridIndex","$set","gridId","filterGrids","nextFilteredGrids","options","includes","undefined","slice","variation","specifications","getSpecTextValue","splice","_id","handler","deep","immediate","mounted","isArray","selectedVariation","find","specs","nextSpec","specIndex","spec","specText","text","option","$nextTick","index","target","value","domProps","APicture","pictures","videos","video","videoAspectRatio","canAddToCart","currentSlide","glideOptions","autoplay","rewind","isSSR","glide","pswp","activeIndex","isSliderMoved","elFirstPicture","zoomLinkStyle","i19addToCart","i19fullscreen","i19next","i19previous","i19openGallery","i19video","localPictures","videoSrc","replace","pswpItems","zoom","w","h","size","sizes","parseInt","src","getName","alt","pswpOptions","shareButtons","id","label","i19shareOnFacebook","getImg","moveSlider","go","openZoom","then","pack","PhotoSwipe","psUi","$refs","init","catch","console","error","finally","buy","pathname","slug","ecomCart","addProduct","close","document","querySelector","firstPicture","appendChild","Glide","mount","beforeDestroy","destroy","picture","preventDefault","refInFor","ALink","AAlert","items","min","max","buyText","kitProductId","kitName","kitPrice","hasBuyButton","selectedQnts","reduce","item","quantity","hasMinAlert","hasMaxAlert","alertVariant","i19maxQuantity","i19minQuantity","totalQuantity","total","remainingQuantity","strBuy","i19buyKit","checkInStock","maxQuantity","max_quantity","changeQnt","qntDiff","ev","lastQnt","newQnt","min_quantity","itemMaxQnt","maxQnt","Math","composition","product_id","variation_id","newItem","customizations","kit_product","pack_quantity","price","addItem","created","_k","keyCode","shippingLine","productionDeadline","deadlineStr","shipping","isWorkingDays","posting_deadline","working_days","delivery_time","days","i19upTo","i19workingDays","i19days","i19untilTomorrow","pick_up","i19pickUpToday","i19receiveToday","freightValueStr","freight","total_price","formatMoney","i19free","i19freeShipping","delivery_instructions","localStorage","reduceItemBody","itemOrProduct","shippedItem","field","CleaveInput","ShippingLine","zipCode","canSelectServices","canInputZip","countryCode","$ecomConfig","shippedItems","shippingResult","shippingData","skipAppIds","shippingAppsSort","ecomShippingApps","localZipCode","localShippedItems","amountSubtotal","shippingServices","selectedService","hasPaidOption","freeFromValue","isScheduled","retryTimer","isWaiting","hasCalculated","i19add$1ToEarn","i19calculateShipping","i19zipCode","cleaveOptions","blocks","delimiter","freeFromPercentage","round","maxDeadline","production_time","cumulative","itemDeadline","updateZipCode","parseShippingOptions","isRetry","appResult","validated","response","shipping_services","service","freeShippingFromValue","free_shipping_from_value","priceDiff","shipping_line","setSelectedService","sortApps","scheduleRetry","fetchShippingServices","timeout","clearTimeout","setTimeout","storeId","appId","to","zip","subtotal","modules","method","result","err","submitZipCode","setItem","getPrice","storedZip","getItem","apply","arguments","model","callback","$$v","expression","tag","active","service_code","paymentGateway","installmentsOption","i19atSight","i19interestFree","i19of","i19ofDiscount","i19onFreight","discount","installmentOptions","installment_options","concat","number","payment_method","code","max_number","tax","monthly_interest","minInstallment","min_installment","interest","pow","priceWithDiscount","apply_at","finalPrice","getContextBody","context","body","getContextId","sanitizeProductBody","assign","body_html","body_text","inventory_records","price_change_records","Portal","APrices","AShare","ProductVariations","ProductGallery","QuantitySelector","ShippingCalculator","PaymentOption","productId","headingTag","galleryColClassName","hasPromotionTimer","hasStickyBuyButton","hasQuantitySelector","lowQuantityToWarn","maxVariationOptionsBtns","isQuickview","paymentAppsSort","ecomPaymentApps","quoteLink","ecomPassport","accountUrl","fixedPrice","selectedVariationId","currentGalleyImg","isOnCart","qntToBuy","isStickyBuyVisible","isFavorite","hasClickedBuy","hasLoadError","paymentOptions","kitItems","currentTimer","i19addToFavorites","i19discountOf","i19endsIn","i19freeShippingFrom","i19loadProductErrorMsg","i19offer","i19only","i19outOfStock","i19paymentOptions","i19perUnit","i19productionDeadline","i19removeFromFavorites","i19retry","i19selectVariationMsg","i19unavailable","i19quoteProduct","i19units","i19unitsInStock","isInStock","isWithoutPrice","isVariationInStock","isLogged","checkAuthorization","thumbnail","productQuantity","isLowQuantity","i19buy","priceValue","checkOnPromotion","base_price","isOnSale","price_effective_date","end","Date","now","getTime","ghostProductForPrices","prices","customization","add_to_price","getAdditionalPrice","ghostProduct","hasVariations","isKit","kit_composition","setBody","fetchProduct","store","axiosConfig","status","addition","formatAdditionalPrice","addToPrice","setCustomizationOption","findIndex","showVariationPicture","picture_id","pictureIndex","handleGridOption","toggleFavorite","buyOrScroll","scrollToElement","actions","fn","amount","currency_id","currency_symbol","discount_option","requestIdleCallback","kitComposition","ecomSearch","EcomSearch","setPageSize","setProductIds","fetch","getItems","addKitItem","parseProduct","genRandomObjectId","presetQntToBuy","checkFavorite","sticky","isBodyPaddingSet","setStickyBuyObserver","isToVisible","$anchor","$tmpDiv","createElement","parentNode","insertBefore","position","bottom","isMobile","lozad","rootMargin","threshold","load","stickyHeight","offsetHeight","paddingBottom","remove","createObserver","removeEventListener","addEventListener","observe","promotionDate","targetDate","dayMs","floor","setHours","formatTime","getRemainingTime","distance","hours","minutes","seconds","setInterval","timer","innerHTML","destroyed","clearInterval","sku","available","custom","grid_id","d","scopedSlots","_u","proxy","short_description","paymentOption","gateway","installments_option","ceil","directives","rawName","TheProduct","ABackdrop","portalId","productName","productLink","isVisible","i19seeMoreInfo","setProduct","hide","$destroy","portal","getElementById","setAttribute"],"mappings":"8HAGA,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iB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Bb,EAAG,MAAM,CAACO,YAAY,aAAa,CAACP,EAAG,cAAc,CAACE,MAAM,CAAC,eAAe,GAAG,aAAaI,EAAIoX,UAAU,QAAUpX,EAAI+B,SAAS3B,GAAG,CAAC,iBAAiBJ,EAAI6hB,WAAW,IAAM7hB,EAAI8hB,SAAS,GAAI9hB,EAAe,YAAEN,EAAG,IAAI,CAACO,YAAY,oDAAoDL,MAAM,CAAC,KAAOI,EAAI0hB,cAAc,CAAC1hB,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAI4hB,gBAAgB,OAAO5hB,EAAID,QAAQ,GAAGC,EAAID,QAAQ,OAC92C,IyCWpB,EACA,KACA,KACA,OAIa,a","file":"widget-search-engine.1.min.js","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"a77703f4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"2577090c\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"c1dcc528\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"6dee8f7c\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3605e0a0\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"364922f4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"67fbb3c4\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3a38550c\", content, true, {});","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".variations__grid{margin-bottom:var(--spacer-3)}.variations__grid--colors button{font-size:0}.variations__value{font-size:var(--font-size-sm);margin-left:var(--spacer-2)}.variations__value .i-check{color:var(--success)}.variations__value--empty{color:var(--text-muted)}.variations__option{border:var(--border-width) solid var(--border-color);margin-bottom:var(--spacer-2);min-height:2.3rem;min-width:2.3rem}@media(hover:hover){.variations__option:hover{border-color:var(--secondary-light)}}.variations__option:not(:last-of-type){margin-right:var(--spacer-2)}.variations__option--selected:not(.disabled){border-color:var(--secondary);box-shadow:0 0 0 .1rem rgba(var(--secondary-rgb),.6)}.variations__option.disabled{cursor:not-allowed;position:relative}.variations__option.disabled:after{background:var(--danger);border-radius:50%;color:var(--danger-yiq);content:\\\"x\\\";display:block;font-size:10px;height:14px;line-height:1;padding-top:1.5px;position:absolute;right:-3px;text-align:center;top:-3px;width:14px}.variations__select{max-width:350px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".gallery{display:flex;flex-direction:row;justify-content:center;max-width:810px;position:relative;text-align:center;width:100%}@media(min-width:992px){.gallery{margin-bottom:0}}.gallery__thumbs{display:inline-flex;flex-wrap:wrap;margin:-35px 0 0;padding:0;position:absolute;top:100%;width:auto;z-index:2}@media(min-width:992px){.gallery__thumbs{bottom:auto;display:block;flex-basis:90px;left:auto;margin:0 20px 0 0;overflow-y:auto;position:static}}.gallery__item{cursor:pointer;margin:0 15px 15px 0;opacity:.5;transition:opacity .15s linear}.gallery__item:last-of-type{margin-right:0}.gallery__item:before{background:var(--gray);border-radius:50%;content:\\\" \\\";display:block;height:10px;width:10px}.gallery__item--selected{cursor:auto;opacity:1}.gallery__item--selected:before{background:var(--secondary)}.gallery__item--video{font-size:11px;margin-top:-3px}.gallery__item--video:before,.gallery__item--video>span{display:none}@media(min-width:992px){.gallery__item{margin:0 0 var(--spacer-2)}.gallery__item:before{display:none}.gallery__item--video{font-size:var(--font-size);padding:var(--spacer-2) 0}.gallery__item--video i,.gallery__item--video svg{color:var(--primary-light);margin-right:var(--spacer-1)}.gallery__item--video>span{display:inline}}.gallery__stage{flex:1;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gallery__thumb,.gallery__thumb img{display:none}@media(min-width:992px){.gallery__thumb,.gallery__thumb img{display:block;height:auto;width:100%}}.gallery__open{display:none}@media(min-width:992px){.gallery__open{display:inline-block;font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-2);padding:0 var(--spacer-2)}}.gallery__big-image{cursor:zoom-in}.gallery img{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:hidden;position:absolute;top:0;touch-action:none;width:100%;z-index:1999}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:grab}.pswp--dragging .pswp__img{cursor:grabbing}.pswp__bg{-webkit-backface-visibility:hidden;background:#000;opacity:0;transform:translateZ(0)}.pswp__bg,.pswp__scroll-wrap{height:100%;left:0;position:absolute;top:0;width:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{bottom:0;left:0;position:absolute;right:0;top:0;touch-action:none}.pswp__container,.pswp__img{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__zoom-wrap{position:absolute;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1);width:100%}.pswp__bg{transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{bottom:0;overflow:hidden;right:0}.pswp__img,.pswp__item{left:0;position:absolute;top:0}.pswp__img{height:auto;width:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{height:auto!important;left:0;top:0;width:100%!important}.pswp__error-msg{color:#ccc;font-size:14px;left:0;line-height:16px;margin-top:-8px;position:absolute;text-align:center;top:50%;width:100%}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{-webkit-appearance:none;background:none;border:0;box-shadow:none;cursor:pointer;display:block;float:right;height:44px;margin:0;opacity:.75;overflow:visible;padding:0;position:relative;transition:opacity .2s;width:44px}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{opacity:.9;outline:none}.pswp__button::-moz-focus-inner{border:0;padding:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.png) 0 0 no-repeat;background-size:264px 88px;height:44px;width:44px}@media(-webkit-min-device-pixel-ratio:1.09375),(-webkit-min-device-pixel-ratio:1.1),(min-resolution:1.1dppx),(min-resolution:105dpi){.pswp--svg .pswp__button,.pswp--svg .pswp__button--arrow--left:before,.pswp--svg .pswp__button--arrow--right:before{background-image:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.svg)}.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:none}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{background-position:-88px 0;display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{background:none;height:100px;margin-top:-50px;position:absolute;top:50%;width:70px}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-color:rgba(0,0,0,.3);content:\\\"\\\";height:30px;position:absolute;top:35px;width:32px}.pswp__button--arrow--left:before{background-position:-138px -44px;left:6px}.pswp__button--arrow--right:before{background-position:-94px -44px;right:6px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__share-modal{-webkit-backface-visibility:hidden;background:rgba(0,0,0,.5);display:block;height:100%;left:0;opacity:0;padding:10px;position:absolute;top:0;transition:opacity .25s ease-out;width:100%;will-change:opacity;z-index:2099}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{-webkit-backface-visibility:hidden;background:#fff;border-radius:2px;box-shadow:0 2px 5px rgba(0,0,0,.25);display:block;position:absolute;right:44px;top:56px;transform:translateY(6px);transition:transform .25s;width:auto;will-change:transform;z-index:2119}.pswp__share-tooltip a{display:block;font-size:14px;line-height:18px;padding:8px 12px}.pswp__share-tooltip a,.pswp__share-tooltip a:hover{color:#000;text-decoration:none}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{border:6px solid transparent;border-bottom-color:#fff;content:\\\"\\\";display:block;height:0;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;position:absolute;right:15px;top:-12px;width:0}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{color:#fff;font-size:13px;height:44px;left:0;line-height:44px;opacity:.75;padding:0 10px;position:absolute;top:0}.pswp__caption{bottom:0;left:0;min-height:44px;position:absolute;width:100%}.pswp__caption small{color:#bbb;font-size:11px}.pswp__caption__center{color:#ccc;font-size:13px;line-height:20px;margin:0 auto;max-width:420px;padding:10px;text-align:left}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{direction:ltr;height:44px;left:50%;margin-left:-22px;opacity:0;position:absolute;top:0;transition:opacity .25s ease-out;width:44px;will-change:opacity}.pswp__preloader__icn{height:20px;margin:12px;width:20px}.pswp__preloader--active{opacity:1}.pswp__preloader--active .pswp__preloader__icn{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/preloader.gif) 0 0 no-repeat}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:clockwise .5s linear infinite}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.pswp--css_animation .pswp__preloader__icn{background:none;height:14px;left:15px;margin:0;opacity:.75;position:absolute;top:15px;width:14px}.pswp--css_animation .pswp__preloader__cut{height:14px;overflow:hidden;position:relative;width:7px}.pswp--css_animation .pswp__preloader__donut{background:none;border-color:#fff #fff transparent transparent;border-radius:50%;border-style:solid;border-width:2px;box-sizing:border-box;height:14px;left:0;margin:0;position:absolute;top:0;width:14px}@media screen and (max-width:1024px){.pswp__preloader{float:right;left:auto;margin:0;position:relative;top:auto}}@keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.pswp__ui{-webkit-font-smoothing:auto;opacity:1;visibility:visible;z-index:2049}.pswp__top-bar{height:44px;left:0;position:absolute;top:0;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:none}@media(min-width:992px){.pswp__caption__center{text-align:center}}.pswp .btn{bottom:20px;position:fixed;right:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".quantity-selector__btn-container{min-width:7rem}.quantity-selector__btn-container button{max-width:28px}.quantity-selector__item{align-items:center;display:flex;margin-bottom:var(--spacer-2)}.quantity-selector__item .btn{box-shadow:none;text-decoration:none}.quantity-selector__input{max-width:2.5rem;padding-left:var(--spacer-1);padding-right:var(--spacer-1);text-align:center}.quantity-selector__label{font-size:var(--font-size-sm);line-height:var(--line-height-sm);margin-left:var(--spacer-1)}.quantity-selector .alert{margin-bottom:0;margin-top:var(--spacer-3);max-width:300px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-line>strong{display:inline-block;min-width:120px}.shipping-line>span{display:inline-block}.shipping-line>small{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--text-muted);display:block;display:-webkit-box;line-height:var(--line-height-sm);overflow:hidden}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-calculator__input{max-width:150px}.shipping-calculator__services{font-size:var(--font-size-sm);max-width:370px}.shipping-calculator__services .active{cursor:auto}.shipping-calculator__option{display:flex;justify-content:space-between;width:100%}.shipping-calculator__option>small{min-width:70px;text-align:right}@media(min-width:1200px){.shipping-calculator__option{display:block;position:relative}.shipping-calculator__option>small{position:absolute;right:-5px;top:-5px}}.shipping-calculator__free-from-value{margin-top:var(--spacer-2)}.shipping-calculator__free-from-value .progress{height:1.5rem;margin-top:var(--spacer-1)}.shipping-calculator__free-from-value .progress-bar{background-color:var(--info)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".payment-option>.row{align-items:center}.payment-option:not(:first-of-type){margin-top:var(--spacer-2)}.payment-option__icon{height:auto;max-width:100%}.payment-option__label{font-size:var(--font-size-lg);font-weight:var(--font-light)}.payment-option__price{font-weight:var(--font-bold)}.payment-option__discount{font-size:var(--font-size);text-transform:lowercase}.payment-option__discount-value{text-transform:none}.payment-option__installment{font-size:var(--font-size-sm);margin-bottom:0}.payment-option__installment>li{display:flex;justify-content:space-between}.payment-option small{text-transform:lowercase}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product__sku{color:var(--text-muted);font-size:var(--font-size-sm)}.product__buy{cursor:pointer;margin-bottom:var(--spacer-3)}.product__out-of-stock,.product__unavailable,.product__without-price{color:var(--warning);font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-3)}.product__discount{color:var(--success)}.product__short-stock{background:rgba(var(--info-rgb),.2);border-radius:var(--border-radius-sm);display:inline-block;font-weight:var(--font-light);padding:var(--spacer-1) var(--spacer-3);text-transform:lowercase}.product__production i,.product__production svg,.product__short-stock i,.product__short-stock svg{color:var(--info)}.product__production strong{text-transform:lowercase}.product__payment>a{align-items:center;display:flex;justify-content:space-between}.product__free-shipping-from{color:var(--secondary);font-size:var(--font-size)}.product__sticky{background:var(--body-bg);bottom:0;box-shadow:var(--box-shadow-lg);left:0;padding:var(--spacer-2) var(--spacer-3);position:fixed;width:100%;z-index:500}.product__sticky-container{align-items:center;display:flex;justify-content:space-between;padding:0}.product__sticky a{margin-left:var(--spacer-3);padding:var(--spacer-2) var(--spacer-5);white-space:nowrap}.product__sticky .prices{align-items:center;display:flex;gap:var(--spacer-2);position:relative;white-space:nowrap}.product__sticky-picture{width:auto}.product__sticky-picture img{max-height:70px;width:auto}.product__sticky-info{align-items:center;display:flex}.product__sticky-info h5{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin:0 var(--spacer-3);overflow:hidden;text-overflow:ellipsis}.product__sticky-buy{display:flex}.product__favorite i{color:var(--red);opacity:.4}.product__favorite i.active{opacity:1}.product__favorite i.active+span{color:var(--text-muted)}.product__sale-timer{align-items:center;background-color:var(--secondary-light);border-radius:var(--border-radius);color:var(--secondary-light-yiq);display:flex;justify-content:center;line-height:1.2;max-width:300px;padding:var(--spacer-2);text-align:center;text-transform:uppercase;width:100%}.product__sale-timer small{text-transform:lowercase}@media(max-width:768px){.product__sticky-info{display:none}}@media(max-width:992px){.product__sticky-buy{width:100%}.product__sticky .btn{margin-left:0;width:100%}.product__sticky .prices{display:none}}.offers-variation-notification{margin:-1rem 0 1rem}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product-quickview__box{border-radius:0;left:0;max-height:100vh;overflow-y:auto;position:fixed;top:0;width:100vw;z-index:1090}@media(min-width:576px){.product-quickview__box{border-radius:var(--border-radius);margin-left:5vw;margin-top:5vh;max-height:90vh;width:90vw}}.product-quickview__loading{padding:var(--spacer-5);text-align:center}.product-quickview__loading .spinner-border{height:5rem;width:5rem}.product-quickview__btn-redirect{display:block;margin:var(--spacer-4) auto var(--spacer-5);max-width:400px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('portal',{attrs:{\"selector\":(\"#\" + _vm.portalId)}},[_c('div',{staticClass:\"product-quickview\"},[_c('a-backdrop',{attrs:{\"is-visible\":_vm.isVisible},on:{\"hide\":_vm.hide}}),_c('transition',{attrs:{\"enter-active-class\":\"animated zoomIn\",\"leave-active-class\":\"animated fadeOutUp slow\"}},[(_vm.isVisible)?_c('div',{staticClass:\"product-quickview__box card\"},[_vm._t(\"header\",function(){return [_c('div',{staticClass:\"product-quickview__header card-header\"},[_vm._v(\" \"+_vm._s(_vm.productName)+\" \"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"aria-label\":_vm.i19close},on:{\"click\":_vm.hide}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])]}),_c('div',{staticClass:\"product-quickview__body card-body\"},[(!_vm.productName)?_c('div',{staticClass:\"product-quickview__loading\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e(),_c('div',{staticClass:\"container\"},[_c('the-product',{attrs:{\"is-quickview\":\"\",\"product-id\":_vm.productId,\"product\":_vm.product},on:{\"update:product\":_vm.setProduct,\"buy\":_vm.hide}})],1),(_vm.productName)?_c('a',{staticClass:\"product-quickview__btn-redirect btn btn-secondary\",attrs:{\"href\":_vm.productLink}},[_vm._v(\" \"+_vm._s(_vm.i19seeMoreInfo)+\" \")]):_vm._e()])],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default (results, order) => {\n return results.sort((a, b) => {\n if (a.app_id === b.app_id) {\n return 0\n }\n const indexA = order.indexOf(a.app_id)\n const indexB = order.indexOf(b.app_id)\n return indexA > -1\n ? indexB > -1\n ? indexA < indexB ? -1 : 1\n : indexA > -1 ? -1 : 1\n : indexB > -1 ? 1 : 0\n })\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&\"","import { i19close } from '@ecomplus/i18n'\nimport { i18n } from '@ecomplus/utils'\n\nexport default {\n name: 'AAlert',\n\n props: {\n canShow: {\n type: Boolean,\n default: true\n },\n variant: {\n type: String,\n default: 'warning'\n }\n },\n\n data () {\n return {\n count: 1\n }\n },\n\n computed: {\n i19close: () => i18n(i19close)\n },\n\n watch: {\n canShow (canShow) {\n if (canShow) {\n this.count++\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/AAlert.html?vue&type=template&id=37f51dc8&lang=html&\"\nimport script from \"./js/AAlert.js?vue&type=script&lang=js&\"\nexport * from \"./js/AAlert.js?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInDown fast\"}},[(_vm.canShow)?_c('div',{key:_vm.count},[_vm._m(0)]):_vm._e()])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-dismissible fade show\",class:(\"alert-\" + _vm.variant),attrs:{\"role\":\"alert\"}},[_vm._t(\"default\"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"alert\",\"aria-label\":_vm.i19close},on:{\"click\":function($event){return _vm.$emit('dismiss')}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])],2)}]\n\nexport { render, staticRenderFns }","import {\n i19email,\n i19on,\n i19share\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { ShareNetwork } from 'vue-social-sharing'\n\nconst shareNetworks = [\n {\n network: 'whatsapp',\n name: 'WhatsApp',\n icon: 'i-whatsapp',\n color: '#25d366'\n },\n {\n network: 'facebook',\n name: 'Facebook',\n icon: 'i-facebook',\n color: '#1877f2'\n },\n {\n network: 'twitter',\n name: 'Twitter',\n icon: 'i-twitter',\n color: '#1da1f2'\n },\n {\n network: 'telegram',\n name: 'Telegram',\n icon: 'i-telegram',\n color: '#0088cc'\n },\n {\n network: 'pinterest',\n name: 'Pinterest',\n icon: 'i-pinterest',\n color: '#bd081c'\n },\n {\n network: 'email',\n name: 'Email',\n icon: 'i-envelope',\n color: '#333333'\n },\n {\n network: 'sms',\n name: 'SMS',\n color: '#333333'\n }\n]\n\nexport default {\n name: 'TheProduct',\n\n components: {\n ShareNetwork\n },\n\n props: {\n url: {\n type: String,\n required: true\n },\n title: String,\n description: String\n },\n\n computed: {\n i19email: () => i18n(i19email),\n i19on: () => i18n(i19on).toLowerCase(),\n i19share: () => i18n(i19share),\n shareNetworks: () => shareNetworks,\n\n localUrl () {\n if (typeof window === 'object' && !this.url.startsWith('http')) {\n return `https://${window.location.hostname}${this.url}`\n }\n return this.url\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./html/AShare.html?vue&type=template&id=318e7576&lang=html&\"\nimport script from \"./js/AShare.js?vue&type=script&lang=js&\"\nexport * from \"./js/AShare.js?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.shareNetworks),function(ref,i){\nvar network = ref.network;\nvar icon = ref.icon;\nvar name = ref.name;\nvar color = ref.color;\nreturn _c('share-network',{key:network,class:(\"btn share share--\" + network + \" px-2\"),attrs:{\"tag\":\"button\",\"network\":network,\"url\":_vm.localUrl,\"title\":_vm.title,\"description\":_vm.description,\"aria-label\":(_vm.i19share + \" \" + _vm.i19on + \" \" + name)}},[(icon)?_c('i',{class:icon,style:((\"color: \" + color))}):_c('strong',{style:((\"color: \" + color))},[_vm._v(\" \"+_vm._s(name)+\" \")]),(i === 0)?[_c('span',{staticClass:\"ml-1 d-none d-xl-inline-block\"},[_vm._v(\" \"+_vm._s((_vm.i19share + \" \" + _vm.i19on + \" \" + name))+\" \")])]:_vm._e()],2)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&\"","import {\n i19select,\n i19selectVariation\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n specValueByText as getSpecValueByText,\n specTextValue as getSpecTextValue,\n variationsGrids as getVariationsGrids,\n gridTitle as getGridTitle\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ProductVariations',\n\n props: {\n product: {\n type: Object,\n required: true\n },\n selectedId: String,\n maxOptionsBtns: {\n type: Number,\n default: 6\n },\n gridsData: {\n type: Array,\n default () {\n if (typeof window === 'object' && window.storefront && window.storefront.data) {\n return window.storefront.data.grids\n }\n }\n }\n },\n\n data () {\n return {\n selectedOptions: {},\n filteredGrids: {}\n }\n },\n\n computed: {\n i19select: () => i18n(i19select),\n i19selectVariation: () => i18n(i19selectVariation),\n\n variationsGrids () {\n return getVariationsGrids(this.product)\n },\n\n orderedGrids () {\n return Object.keys(this.variationsGrids)\n },\n\n variationFromUrl () {\n if (typeof window === 'object') {\n const urlParams = new URLSearchParams(window.location.search)\n const variationId = urlParams.get('variation_id')\n if (variationId) {\n return variationId\n }\n }\n return null\n }\n },\n\n methods: {\n getColorOptionBg (optionText) {\n const rgbs = optionText.split(',').map(colorName => {\n return getSpecValueByText(this.product.variations, colorName.trim(), 'colors')\n })\n return rgbs.length > 1\n ? `background:linear-gradient(to right bottom, ${rgbs[0]} 50%, ${rgbs[1]} 50%)`\n : `background:${rgbs[0]}`\n },\n\n getSpecValue (optionText, grid) {\n const { variations } = this.product\n let values\n if (grid === 'colors') {\n const colorNames = optionText.split(',')\n if (colorNames.length > 1) {\n values = []\n colorNames.forEach(color => {\n values.push(getSpecValueByText(variations, color.trim(), grid))\n })\n }\n }\n return values || getSpecValueByText(variations, optionText, grid)\n },\n\n getGridTitle (grid) {\n return getGridTitle(grid, this.gridsData)\n },\n\n selectOption (optionText, grid, gridIndex) {\n const { product, selectedOptions, orderedGrids } = this\n this.$set(selectedOptions, grid, optionText)\n this.$emit('select-option', {\n gridId: grid,\n gridIndex,\n optionText\n })\n const filterGrids = {}\n for (let i = 0; i <= gridIndex; i++) {\n const grid = orderedGrids[i]\n if (selectedOptions[grid]) {\n filterGrids[grid] = selectedOptions[grid]\n }\n }\n const nextFilteredGrids = getVariationsGrids(product, filterGrids, true)\n for (let i = gridIndex + 1; i < orderedGrids.length; i++) {\n const grid = orderedGrids[i]\n const options = nextFilteredGrids[grid]\n this.filteredGrids[grid] = options\n if (selectedOptions[grid] && !options.includes(selectedOptions[grid])) {\n this.$set(selectedOptions, grid, undefined)\n }\n }\n const variations = product.variations.slice(0)\n for (let i = 0; i < variations.length; i++) {\n const variation = variations[i]\n const { specifications } = variation\n for (const grid in specifications) {\n if (selectedOptions[grid] !== getSpecTextValue(variation, grid)) {\n variations.splice(i, 1)\n i--\n break\n }\n }\n }\n this.$emit('update:selected-id', variations.length ? variations[0]._id : null)\n }\n },\n\n watch: {\n 'product.variations': {\n handler () {\n this.filteredGrids = getVariationsGrids(this.product, null, true)\n },\n deep: true,\n immediate: true\n }\n },\n\n mounted () {\n if (this.variationFromUrl && Array.isArray(this.product.variations)) {\n const selectedVariation = this.product.variations.find(variation => variation._id === this.variationFromUrl)\n if (selectedVariation) {\n const { specifications } = selectedVariation\n const specs = Object.keys(specifications)\n const nextSpec = (specIndex = 0) => {\n const spec = specs[specIndex]\n if (specs[specIndex] && specifications[spec] && specifications[spec].length === 1) {\n const specText = specifications[spec][0].text\n if (this.variationsGrids[spec].find(option => option === specText)) {\n this.$nextTick(() => {\n this.selectOption(specText, spec, this.orderedGrids.indexOf(spec))\n nextSpec(specIndex + 1)\n })\n }\n }\n }\n nextSpec()\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductVariations.html?vue&type=template&id=2b27c5d8&lang=html&\"\nimport script from \"./js/ProductVariations.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductVariations.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.product.variations)?_c('div',{staticClass:\"variations\"},_vm._l((_vm.variationsGrids),function(options,grid,index){return (_vm.filteredGrids[grid])?_c('div',{class:(\"variations__grid variations__grid--\" + grid)},[_c('div',{staticClass:\"mb-2\"},[_c('span',{staticClass:\"variations__grid-title h5\"},[_vm._v(\" \"+_vm._s(_vm.getGridTitle(grid))+\" \")]),(_vm.selectedOptions[grid])?_c('span',{key:\"success\",staticClass:\"variations__value variations__value\"},[_c('i',{staticClass:\"i-check mr-1\"}),_vm._v(\" \"+_vm._s(_vm.selectedOptions[grid])+\" \")]):_c('span',{staticClass:\"variations__value variations__value--empty\"},[_c('i',{staticClass:\"i-arrow-down mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19selectVariation)+\" \")])]),(options.length <= _vm.maxOptionsBtns)?_vm._l((options),function(optionText){return _c('button',{staticClass:\"variations__option btn btn-light\",class:[\n _vm.selectedOptions[grid] === optionText ? 'variations__option--selected' : null, \n (\"variations__option--\" + optionText), \n _vm.filteredGrids[grid].includes(optionText) ? null : 'disabled'\n ],style:(grid === 'colors' ? _vm.getColorOptionBg(optionText) : null),on:{\"click\":function($event){return _vm.selectOption(optionText, grid, index)}}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])}):_c('select',{staticClass:\"variations__select custom-select\",on:{\"change\":function ($event) { return _vm.selectOption($event.target.value, grid, index); }}},[_c('option',{domProps:{\"selected\":!_vm.selectedOptions[grid]}},[_vm._v(\" \"+_vm._s(_vm.i19select)+\"... \")]),_vm._l((options),function(optionText){return _c('option',{attrs:{\"disabled\":!_vm.filteredGrids[grid].includes(optionText)},domProps:{\"value\":optionText,\"selected\":_vm.selectedOptions[grid] === optionText}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])})],2)],2):_vm._e()}),0):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&\"","import {\n i19addToCart,\n i19close,\n i19fullscreen,\n i19openGallery,\n i19next,\n i19previous,\n i19share,\n i19shareOnFacebook,\n i19video\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n name as getName,\n img as getImg\n} from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport Glide from '@glidejs/glide'\nimport APicture from '../APicture.vue'\n\nexport default {\n name: 'ProductGallery',\n\n components: {\n APicture\n },\n\n props: {\n product: {\n type: Object,\n default () {\n return {\n pictures: [],\n videos: []\n }\n }\n },\n pictures: Array,\n video: Object,\n videoAspectRatio: {\n type: String,\n default: '16by9'\n },\n canAddToCart: {\n type: Boolean,\n default: true\n },\n currentSlide: {\n type: Number,\n default: 1\n },\n glideOptions: {\n type: Object,\n default () {\n return {\n type: 'slider',\n autoplay: false,\n rewind: false\n }\n }\n },\n isSSR: Boolean\n },\n\n data () {\n return {\n glide: null,\n pswp: null,\n activeIndex: null,\n isSliderMoved: false,\n elFirstPicture: null,\n zoomLinkStyle: null\n }\n },\n\n computed: {\n i19addToCart: () => i18n(i19addToCart),\n i19close: () => i18n(i19close),\n i19fullscreen: () => i18n(i19fullscreen),\n i19next: () => i18n(i19next),\n i19previous: () => i18n(i19previous),\n i19openGallery: () => i18n(i19openGallery),\n i19share: () => i18n(i19share),\n i19video: () => i18n(i19video),\n\n localPictures () {\n return this.pictures && this.pictures.length\n ? this.pictures\n : (this.product.pictures || [])\n },\n\n videoSrc () {\n const video = this.video || (this.product.videos && this.product.videos[0])\n if (video && video.url) {\n return video.url.replace(/watch\\?v=(V7XQvAde51w)/i, 'embed/$1?rel=0')\n }\n return null\n },\n\n pswpItems () {\n const pswpItems = []\n this.localPictures.forEach(({ zoom }) => {\n if (zoom) {\n let w, h\n if (zoom.size) {\n const sizes = zoom.size.split('x')\n if (sizes.length === 2) {\n w = parseInt(sizes[0], 10)\n h = parseInt(sizes[1], 10)\n }\n }\n if (!w || !h) {\n w = h = 1000\n }\n pswpItems.push({\n src: zoom.url,\n title: getName(this.product) || zoom.alt,\n w,\n h\n })\n }\n })\n return pswpItems\n },\n\n pswpOptions () {\n return {\n shareButtons: [\n {\n id: 'facebook',\n label: i18n(i19shareOnFacebook),\n url: 'https://www.facebook.com/sharer/sharer.php?u={{url}}'\n },\n {\n id: 'twitter',\n label: 'Tweet',\n url: 'https://twitter.com/intent/tweet?text={{text}}&url={{url}}'\n },\n {\n id: 'pinterest',\n label: 'Pin it',\n url: 'http://www.pinterest.com/pin/create/button/' +\n '?url={{url}}&media={{image_url}}&description={{text}}'\n }\n ]\n }\n }\n },\n\n methods: {\n getImg,\n\n moveSlider (index) {\n this.activeIndex = index\n this.$emit('update:current-slide', index + 1)\n if (this.glide) {\n this.glide.go('=' + index)\n }\n if (!this.isSliderMoved) {\n this.isSliderMoved = true\n }\n },\n\n openZoom (index) {\n this.zoomLinkStyle = 'cursor: wait'\n return import(/* webpackPrefetch: true */ 'photoswipe')\n .then(pack => {\n const PhotoSwipe = pack.default\n return import(/* webpackPrefetch: true */ 'photoswipe/dist/photoswipe-ui-default').then(pack => {\n const psUi = pack.default\n this.pswp = new PhotoSwipe(this.$refs.pswp, psUi, this.pswpItems, {\n ...this.pswpOptions,\n index\n })\n this.pswp.init()\n })\n })\n .catch(console.error)\n .finally(() => {\n this.zoomLinkStyle = null\n })\n },\n\n buy () {\n const { product } = this\n this.$emit('buy', { product })\n if (product.variations && product.variations.length) {\n if (window.location.pathname !== `/${product.slug}`) {\n window.location = `/${product.slug}`\n } else {\n window.location = '#variations'\n }\n } else {\n ecomCart.addProduct(product)\n }\n if (this.pswp) {\n this.pswp.close()\n }\n }\n },\n\n watch: {\n currentSlide: {\n handler (currentSlide) {\n this.activeIndex = currentSlide - 1\n },\n immediate: true\n },\n\n activeIndex (index) {\n this.moveSlider(index)\n }\n },\n\n mounted () {\n if (this.isSSR) {\n this.elFirstPicture = document.querySelector('#product-gallery .product__picture')\n if (this.elFirstPicture) {\n this.$nextTick(() => {\n this.$refs.firstPicture[0].appendChild(this.elFirstPicture)\n })\n }\n }\n const glide = new Glide(this.$refs.glide, this.glideOptions)\n glide.on('run', () => {\n this.moveSlider(glide.index)\n })\n glide.mount()\n this.glide = glide\n },\n\n beforeDestroy () {\n if (this.glide) {\n this.glide.destroy()\n }\n if (this.pswp) {\n this.pswp.destroy()\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductGallery.html?vue&type=template&id=d1e24158&lang=html&\"\nimport script from \"./js/ProductGallery.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductGallery.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"gallery\"},[_c('div',{staticClass:\"gallery__thumbs\"},[(_vm.videoSrc)?_c('div',{staticClass:\"gallery__item gallery__item--video\",class:{ 'gallery__item--selected': _vm.localPictures.length === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = _vm.localPictures.length}}},[_c('i',{staticClass:\"i-play\"}),_c('span',[_vm._v(_vm._s(_vm.i19video))])]):_vm._e(),_vm._l((_vm.localPictures),function(picture,i){return _c('div',{key:'img-' + i,staticClass:\"gallery__item\",class:{ 'gallery__item--selected': i === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = i}}},[(i < 4)?_c('a-picture',{staticClass:\"gallery__thumb\",attrs:{\"src\":_vm.getImg(picture, null, 'small')}}):_vm._e()],1)}),(_vm.localPictures.length > 4)?_c('button',{staticClass:\"gallery__open btn btn-dark\",style:(_vm.zoomLinkStyle),attrs:{\"type\":\"button\",\"title\":_vm.i19openGallery},on:{\"click\":function($event){$event.preventDefault();return _vm.openZoom(4)}}},[_vm._v(\" +\"+_vm._s(_vm.localPictures.length - 4)+\" \")]):_vm._e()],2),_c('div',{staticClass:\"gallery__stage\"},[_c('div',{ref:\"glide\",staticClass:\"glide\"},[_c('div',{staticClass:\"glide__track\",attrs:{\"data-glide-el\":\"track\"}},[_c('ul',{staticClass:\"glide__slides\"},[_vm._l((_vm.localPictures),function(picture,i){return _c('li',{key:'slide-' + i,staticClass:\"glide__slide\"},[_c('div',{on:{\"click\":function($event){return _vm.openZoom(i)}}},[(i === 0 && !_vm.isSliderMoved)?_vm._t(\"default\",function(){return [(!_vm.elFirstPicture)?_c('a-picture',{staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle),attrs:{\"src\":_vm.getImg(picture, null, 'big')}}):_c('div',{ref:\"firstPicture\",refInFor:true,staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle)})]}):_c('a-picture',{staticClass:\"gallery__big-image\",attrs:{\"src\":_vm.getImg(picture, null, 'big')}})],2)])}),(_vm.videoSrc)?_c('li',{key:'slide-' + _vm.localPictures.length,staticClass:\"glide__slide\"},[_c('div',{staticClass:\"embed-responsive\",class:(\"embed-responsive-\" + _vm.videoAspectRatio)},[_c('iframe',{staticClass:\"embed-responsive-item\",attrs:{\"src\":_vm.videoSrc,\"allowfullscreen\":\"\"}})])]):_vm._e()],2)])])]),_vm._m(4)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__container\"},[_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__preloader\"},[_c('div',{staticClass:\"pswp__preloader__icn\"},[_c('div',{staticClass:\"pswp__preloader__cut\"},[_c('div',{staticClass:\"pswp__preloader__donut\"})])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\"},[_c('div',{staticClass:\"pswp__share-tooltip\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__caption\"},[_c('div',{staticClass:\"pswp__caption__center\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"pswp\",staticClass:\"pswp\",attrs:{\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"pswp__bg\"}),_c('div',{staticClass:\"pswp__scroll-wrap\"},[_vm._m(0),_c('div',{staticClass:\"pswp__ui pswp__ui--hidden\"},[_c('div',{staticClass:\"pswp__top-bar\"},[_c('div',{staticClass:\"pswp__counter\"}),_c('button',{staticClass:\"pswp__button pswp__button--close\",attrs:{\"title\":(_vm.i19close + \" (Esc)\")}}),_c('button',{staticClass:\"pswp__button pswp__button--share\",attrs:{\"title\":_vm.i19share}}),_c('button',{staticClass:\"pswp__button pswp__button--fs\",attrs:{\"title\":_vm.i19fullscreen}}),_c('button',{staticClass:\"pswp__button pswp__button--zoom\",attrs:{\"title\":\"Zoom in/out\"}}),_vm._m(1)]),_vm._m(2),_c('button',{staticClass:\"pswp__button pswp__button--arrow--left\",attrs:{\"title\":_vm.i19previous}}),_c('button',{staticClass:\"pswp__button pswp__button--arrow--right\",attrs:{\"title\":_vm.i19next}}),_vm._m(3),(_vm.canAddToCart)?_c('button',{staticClass:\"btn btn-success\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_c('i',{staticClass:\"i-shopping-cart\"}),_c('span',{staticClass:\"d-none d-md-inline ml-1\"},[_vm._v(\" \"+_vm._s(_vm.i19addToCart)+\" \")])]):_vm._e()])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&\"","import {\n i19buyKit,\n i19maxQuantity,\n i19minQuantity\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\n\nexport default {\n name: 'QuantitySelector',\n\n components: {\n ALink,\n AAlert\n },\n\n props: {\n items: {\n type: Array,\n required: true\n },\n min: {\n type: Number,\n default: 1\n },\n max: Number,\n slug: String,\n buyText: String,\n kitProductId: String,\n kitName: String,\n kitPrice: Number,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n }\n },\n\n data () {\n return {\n selectedQnts: this.items.reduce((selectedQnts, item) => {\n selectedQnts[item._id] = item.quantity || 0\n return selectedQnts\n }, {}),\n hasMinAlert: false,\n hasMaxAlert: false,\n alertVariant: 'warning'\n }\n },\n\n computed: {\n i19maxQuantity: () => i18n(i19maxQuantity),\n i19minQuantity: () => i18n(i19minQuantity),\n\n totalQuantity () {\n let total = 0\n const { selectedQnts } = this\n Object.keys(selectedQnts).forEach(key => {\n if (selectedQnts[key]) {\n total += selectedQnts[key]\n }\n })\n return total\n },\n\n remainingQuantity () {\n return this.max\n ? this.max - this.totalQuantity\n : 9999999\n },\n\n strBuy () {\n return this.buyText || i18n(i19buyKit)\n }\n },\n\n methods: {\n checkInStock (item) {\n const maxQuantity = item.max_quantity\n return typeof maxQuantity === 'number' && maxQuantity >= 0\n ? maxQuantity\n : 9999999\n },\n\n changeQnt (item, qntDiff, ev) {\n const { selectedQnts, remainingQuantity } = this\n const lastQnt = selectedQnts[item._id]\n let newQnt\n if (qntDiff) {\n newQnt = selectedQnts[item._id] + qntDiff\n } else if (ev) {\n selectedQnts[item._id] = ev.target.value.replace(/\\D/g, '')\n newQnt = parseInt(selectedQnts[item._id], 10)\n }\n if (this.items.length === 1 && this.min > newQnt) {\n newQnt = this.min\n }\n if (newQnt > 0) {\n if (item.min_quantity > newQnt) {\n newQnt = item.min_quantity\n } else {\n const itemMaxQnt = item.max_quantity !== undefined ? item.max_quantity : 9999999\n const maxQnt = Math.min(itemMaxQnt, lastQnt + remainingQuantity)\n if (maxQnt < newQnt) {\n this.alertVariant = 'info'\n this.hasMaxAlert = true\n newQnt = maxQnt\n }\n }\n selectedQnts[item._id] = newQnt\n } else {\n selectedQnts[item._id] = 0\n }\n this.$emit('set-quantity', {\n item,\n quantity: selectedQnts[item._id]\n })\n },\n\n buy () {\n this.alertVariant = 'warning'\n if (this.totalQuantity >= this.min) {\n if (this.max === undefined || this.totalQuantity <= this.max) {\n const items = []\n const composition = this.items.map(item => ({\n _id: item.product_id,\n variation_id: item.variation_id,\n quantity: this.selectedQnts[item._id]\n }))\n this.items.forEach(item => {\n const quantity = this.selectedQnts[item._id]\n if (quantity > 0) {\n const newItem = { ...item, quantity }\n delete newItem.customizations\n if (this.kitProductId) {\n newItem.kit_product = {\n _id: this.kitProductId,\n name: this.kitName,\n pack_quantity: this.totalQuantity,\n price: this.kitPrice,\n composition\n }\n }\n if (this.slug) {\n newItem.slug = this.slug\n }\n items.push(newItem)\n if (this.canAddToCart) {\n ecomCart.addItem(newItem)\n }\n }\n })\n this.$emit('buy', { items })\n } else {\n this.hasMaxAlert = true\n }\n } else {\n this.hasMinAlert = true\n }\n }\n },\n\n created () {\n if (this.max < this.items.length) {\n this.items.forEach(item => this.changeQnt(item))\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/QuantitySelector.html?vue&type=template&id=239bc742&lang=html&\"\nimport script from \"./js/QuantitySelector.js?vue&type=script&lang=js&\"\nexport * from \"./js/QuantitySelector.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"quantity-selector\"},[_vm._l((_vm.items),function(item){return _c('div',{staticClass:\"quantity-selector__item\"},[_c('div',{staticClass:\"row quantity-selector__btn-container\"},[_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.min_quantity >= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, -1)}}},[_c('i',{staticClass:\"i-chevron-down\"})]),_c('input',{staticClass:\"form-control quantity-selector__input col-sm-6\",attrs:{\"type\":\"tel\",\"disabled\":!_vm.checkInStock(item),\"readonly\":item.min_quantity && item.min_quantity === item.max_quantity},domProps:{\"value\":_vm.selectedQnts[item._id]},on:{\"change\":function (ev) { return _vm.changeQnt(item, null, ev); },\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }return _vm.changeQnt(item, 1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.changeQnt(item, -1)}]}}),_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.max_quantity <= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, 1)}}},[_c('i',{staticClass:\"i-chevron-up\"})])]),_c('span',{staticClass:\"quantity-selector__label\"},[_vm._t(\"default\",function(){return [(item.slug)?_c('a-link',{attrs:{\"target\":\"_blank\",\"href\":(\"/\" + (item.slug)),\"title\":item.name}},[_vm._v(\" \"+_vm._s(item.name)+\" \")]):[_vm._v(\" \"+_vm._s(item.name)+\" \")]]},null,{ item: item })],2)])}),_c('a-alert',{attrs:{\"can-show\":_vm.hasMinAlert}},[_vm._v(\" \"+_vm._s(_vm.i19minQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.min))])]),_c('a-alert',{attrs:{\"can-show\":_vm.hasMaxAlert,\"variant\":_vm.alertVariant}},[_vm._v(\" \"+_vm._s(_vm.i19maxQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.max))])]),(_vm.hasBuyButton)?_c('div',{staticClass:\"quantity-selector__buy\"},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary my-3\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ selectedQnts: _vm.selectedQnts, buy: _vm.buy })],2):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&\"","import {\n i19days,\n i19free,\n i19freeShipping,\n i19pickUpToday,\n i19receiveToday,\n i19untilTomorrow,\n i19upTo,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ShippingLine',\n\n props: {\n shippingLine: {\n type: Object,\n required: true\n },\n productionDeadline: {\n type: Number,\n default: 0\n }\n },\n\n computed: {\n deadlineStr () {\n const shipping = this.shippingLine\n const isWorkingDays = (shipping.posting_deadline && shipping.posting_deadline.working_days) ||\n (shipping.delivery_time && shipping.delivery_time.working_days)\n let days = shipping.posting_deadline ? shipping.posting_deadline.days : 0\n if (shipping.delivery_time) {\n days += shipping.delivery_time.days\n }\n days += this.productionDeadline\n if (days > 1) {\n return `${i18n(i19upTo)} ${days} ` +\n i18n(isWorkingDays ? i19workingDays : i19days).toLowerCase()\n }\n return i18n(days === 1\n ? i19untilTomorrow\n : shipping.pick_up ? i19pickUpToday : i19receiveToday)\n },\n\n freightValueStr () {\n const { shippingLine } = this\n const freight = typeof shippingLine.total_price === 'number'\n ? shippingLine.total_price\n : shippingLine.price\n if (freight) {\n return formatMoney(freight)\n } else {\n return i18n(shippingLine.pick_up ? i19free : i19freeShipping)\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ShippingLine.html?vue&type=template&id=254bda9c&lang=html&\"\nimport script from \"./js/ShippingLine.js?vue&type=script&lang=js&\"\nexport * from \"./js/ShippingLine.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-line\"},[_c('strong',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.deadlineStr)+\" \")]),_c('span',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.freightValueStr)+\" \")]),(_vm.shippingLine.delivery_instructions)?_c('small',[_vm._v(\" \"+_vm._s(_vm.shippingLine.delivery_instructions)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19add$1ToEarn,\n i19calculateShipping,\n i19freeShipping,\n i19zipCode\n} from '@ecomplus/i18n'\n\nimport {\n $ecomConfig,\n i18n,\n price as getPrice,\n formatMoney\n} from '@ecomplus/utils'\n\nimport { modules } from '@ecomplus/client'\nimport sortApps from './helpers/sort-apps'\nimport CleaveInput from 'vue-cleave-component'\nimport ShippingLine from '../ShippingLine.vue'\n\nconst localStorage = typeof window === 'object' && window.localStorage\nconst zipStorageKey = 'shipping-to-zip'\n\nconst reduceItemBody = itemOrProduct => {\n const shippedItem = {}\n ;[\n 'product_id',\n 'variation_id',\n 'sku',\n 'name',\n 'quantity',\n 'inventory',\n 'currency_id',\n 'currency_symbol',\n 'price',\n 'final_price',\n 'dimensions',\n 'weight'\n ].forEach(field => {\n if (itemOrProduct[field] !== undefined) {\n shippedItem[field] = itemOrProduct[field]\n }\n })\n return shippedItem\n}\n\nexport default {\n name: 'ShippingCalculator',\n\n components: {\n CleaveInput,\n ShippingLine\n },\n\n props: {\n zipCode: String,\n canSelectServices: Boolean,\n canInputZip: {\n type: Boolean,\n default: true\n },\n countryCode: {\n type: String,\n default: $ecomConfig.get('country_code')\n },\n shippedItems: {\n type: Array,\n default () {\n return []\n }\n },\n shippingResult: {\n type: Array,\n default () {\n return []\n }\n },\n shippingData: {\n type: Object,\n default () {\n return {}\n }\n },\n skipAppIds: Array,\n shippingAppsSort: {\n type: Array,\n default () {\n return window.ecomShippingApps || []\n }\n }\n },\n\n data () {\n return {\n localZipCode: null,\n localShippedItems: [],\n amountSubtotal: null,\n shippingServices: [],\n selectedService: null,\n hasPaidOption: false,\n freeFromValue: null,\n isScheduled: false,\n retryTimer: null,\n isWaiting: false,\n hasCalculated: false\n }\n },\n\n computed: {\n i19add$1ToEarn: () => i18n(i19add$1ToEarn),\n i19calculateShipping: () => i18n(i19calculateShipping),\n i19zipCode: () => i18n(i19zipCode),\n i19freeShipping: () => i18n(i19freeShipping).toLowerCase(),\n\n cleaveOptions () {\n return this.countryCode === 'BR'\n ? { blocks: [5, 3], delimiter: '-' }\n : { blocks: [30] }\n },\n\n freeFromPercentage () {\n return this.hasPaidOption && this.amountSubtotal < this.freeFromValue\n ? Math.round(this.amountSubtotal * 100 / this.freeFromValue)\n : null\n },\n\n productionDeadline () {\n let maxDeadline = 0\n this.shippedItems.forEach(item => {\n if (item.quantity && item.production_time) {\n const { days, cumulative } = item.production_time\n const itemDeadline = cumulative ? days * item.quantity : days\n if (itemDeadline > maxDeadline) {\n maxDeadline = itemDeadline\n }\n }\n })\n return maxDeadline\n }\n },\n\n methods: {\n formatMoney,\n\n updateZipCode () {\n this.$emit('update:zip-code', this.localZipCode)\n },\n\n parseShippingOptions (shippingResult = [], isRetry = false) {\n this.freeFromValue = null\n this.shippingServices = []\n if (shippingResult.length) {\n shippingResult.forEach(appResult => {\n const { validated, error, response } = appResult\n if (!validated || error) {\n return\n }\n if (this.skipAppIds && this.skipAppIds.includes(appResult.app_id)) {\n return\n }\n response.shipping_services.forEach(service => {\n this.shippingServices.push({\n app_id: appResult.app_id,\n ...service\n })\n })\n const freeShippingFromValue = response.free_shipping_from_value\n if (\n freeShippingFromValue &&\n (!this.freeFromValue || this.freeFromValue > freeShippingFromValue)\n ) {\n this.freeFromValue = freeShippingFromValue\n }\n })\n if (!this.shippingServices.length) {\n if (!isRetry) {\n this.fetchShippingServices(true)\n } else {\n this.scheduleRetry()\n }\n } else {\n this.shippingServices = this.shippingServices.sort((a, b) => {\n const priceDiff = a.shipping_line.total_price - b.shipping_line.total_price\n return priceDiff < 0\n ? -1\n : priceDiff > 0\n ? 1\n : a.shipping_line.delivery_time && b.shipping_line.delivery_time &&\n a.shipping_line.delivery_time.days < b.shipping_line.delivery_time.days\n ? -1\n : 1\n })\n this.setSelectedService(0)\n this.hasPaidOption = Boolean(this.shippingServices.find(service => {\n return service.shipping_line.total_price || service.shipping_line.price\n }))\n if (Array.isArray(this.shippingAppsSort) && this.shippingAppsSort.length) {\n this.shippingServices = sortApps(this.shippingServices, this.shippingAppsSort)\n }\n }\n }\n },\n\n scheduleRetry (timeout = 10000) {\n clearTimeout(this.retryTimer)\n this.retryTimer = setTimeout(() => {\n if (this.localZipCode && !this.shippingServices.length && this.shippedItems.length) {\n this.fetchShippingServices(true)\n }\n }, timeout)\n },\n\n fetchShippingServices (isRetry) {\n if (!this.isScheduled) {\n this.isScheduled = true\n setTimeout(() => {\n this.isScheduled = false\n const { storeId } = this\n let url = '/calculate_shipping.json'\n if (this.skipAppIds && this.skipAppIds.length) {\n url += '?skip_ids='\n this.skipAppIds.forEach((appId, i) => {\n if (i > 0) url += ','\n url += `${appId}`\n })\n }\n const method = 'POST'\n const data = {\n ...this.shippingData,\n to: {\n zip: this.localZipCode,\n ...this.shippingData.to\n }\n }\n if (this.localShippedItems.length) {\n data.items = this.localShippedItems\n data.subtotal = this.amountSubtotal\n }\n this.isWaiting = true\n modules({ url, method, storeId, data })\n .then(({ data }) => this.parseShippingOptions(data.result, isRetry))\n .catch(err => {\n if (!isRetry) {\n this.scheduleRetry(4000)\n }\n console.error(err)\n })\n .finally(() => {\n this.hasCalculated = true\n this.isWaiting = false\n })\n }, this.hasCalculated ? 150 : 50)\n }\n },\n\n submitZipCode () {\n this.updateZipCode()\n if (localStorage) {\n localStorage.setItem(zipStorageKey, this.localZipCode)\n }\n this.fetchShippingServices()\n },\n\n setSelectedService (i) {\n if (this.canSelectServices) {\n this.$emit('select-service', this.shippingServices[i])\n this.selectedService = i\n }\n }\n },\n\n watch: {\n shippedItems: {\n handler () {\n setTimeout(() => {\n this.localShippedItems = this.shippedItems.map(reduceItemBody)\n const { amountSubtotal } = this\n this.amountSubtotal = this.shippedItems.reduce((subtotal, item) => {\n return subtotal + getPrice(item) * item.quantity\n }, 0)\n if (\n this.hasCalculated &&\n (this.canSelectServices || amountSubtotal !== this.amountSubtotal ||\n (!this.shippingServices.length && !this.isWaiting))\n ) {\n this.fetchShippingServices()\n }\n }, 50)\n },\n deep: true,\n immediate: true\n },\n\n localZipCode (zipCode) {\n if (this.countryCode === 'BR' && zipCode.replace(/\\D/g, '').length === 8) {\n this.submitZipCode()\n }\n },\n\n zipCode: {\n handler (zipCode) {\n if (zipCode) {\n this.localZipCode = zipCode\n }\n },\n immediate: true\n },\n\n skipAppIds () {\n this.fetchShippingServices()\n },\n\n shippingResult: {\n handler (result) {\n if (result.length) {\n this.parseShippingOptions(result)\n }\n },\n immediate: true\n }\n },\n\n created () {\n if (!this.zipCode && localStorage) {\n const storedZip = localStorage.getItem(zipStorageKey)\n if (storedZip) {\n this.localZipCode = storedZip\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./html/ShippingCalculator.html?vue&type=template&id=118f910e&lang=html&\"\nimport script from \"./js/ShippingCalculator.js?vue&type=script&lang=js&\"\nexport * from \"./js/ShippingCalculator.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-calculator\"},[(_vm.canInputZip)?_c('form',{staticClass:\"shipping-calculator__form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submitZipCode.apply(null, arguments)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"shipping-calculator-zip\"}},[_vm._v(\" \"+_vm._s(_vm.i19calculateShipping)+\" \")]),_c('div',{staticClass:\"input-group\"},[_c('cleave-input',{staticClass:\"form-control shipping-calculator__input\",attrs:{\"type\":\"tel\",\"id\":\"shipping-calculator-zip\",\"placeholder\":_vm.i19zipCode,\"aria-label\":_vm.i19zipCode,\"options\":_vm.cleaveOptions},model:{value:(_vm.localZipCode),callback:function ($$v) {_vm.localZipCode=$$v},expression:\"localZipCode\"}}),_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"type\":\"submit\",\"aria-label\":_vm.i19calculateShipping}},[_c('i',{staticClass:\"i-shipping-fast\"})])])],1)])]):_vm._e(),_c('div',{staticClass:\"shipping-calculator__services\"},[_c('transition-group',{attrs:{\"enter-active-class\":\"animated fadeInDown\",\"leave-active-class\":\"animated position-absolute fadeOutUp\"}},[(_vm.isWaiting)?_c('div',{key:\"waiting\",staticClass:\"spinner-border spinner-border-sm\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_c('div',{key:\"services\",staticClass:\"list-group\"},_vm._l((_vm.shippingServices),function(service,i){return _c(_vm.canSelectServices ? 'a' : 'div',{key:i,tag:\"component\",staticClass:\"list-group-item\",class:{\n 'list-group-item-action': _vm.canSelectServices,\n active: _vm.canSelectServices && _vm.selectedService === i\n },attrs:{\"href\":_vm.canSelectServices && '#'},on:{\"click\":function($event){$event.preventDefault();return _vm.setSelectedService(i)}}},[_c('span',{staticClass:\"shipping-calculator__option\"},[_vm._t(\"option\",function(){return [_c('shipping-line',{attrs:{\"shipping-line\":service.shipping_line,\"production-deadline\":_vm.productionDeadline,\"data-service-code\":service.service_code}}),_c('small',[_vm._v(_vm._s(service.label))])]},null,{ service: service })],2)])}),1)]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\",\"leave-active-class\":\"animated fadeOutDown\"}},[(_vm.freeFromPercentage)?_c('div',{staticClass:\"shipping-calculator__free-from-value\"},[_vm._t(\"free-from-value\",function(){return [_c('span',[_vm._v(\" \"+_vm._s(_vm.i19add$1ToEarn.replace('$1', _vm.formatMoney(_vm.freeFromValue - _vm.amountSubtotal)))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.i19freeShipping))])]),(_vm.freeFromPercentage >= 33)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped\",style:((\"width: \" + _vm.freeFromPercentage + \"%\")),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.freeFromPercentage,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.i19freeShipping)+\" \"),_c('i',{staticClass:\"i-truck mx-1\"}),_c('strong',[_vm._v(_vm._s(_vm.freeFromPercentage)+\"%\")])])])]):_vm._e()]},null,{ amountSubtotal: _vm.amountSubtotal, freeFromValue: _vm.freeFromValue, freeFromPercentage: _vm.freeFromPercentage })],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&\"","import {\n i19atSight,\n i19interestFree,\n i19of,\n i19ofDiscount,\n i19onFreight\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'PaymentOption',\n\n props: {\n paymentGateway: {\n type: Object,\n required: true\n },\n installmentsOption: Object,\n price: Number\n },\n\n computed: {\n i19atSight: () => i18n(i19atSight),\n i19interestFree: () => i18n(i19interestFree),\n i19of: () => i18n(i19of),\n i19ofDiscount: () => i18n(i19ofDiscount),\n i19onFreight: () => i18n(i19onFreight),\n\n discount () {\n if (this.paymentGateway.discount && this.paymentGateway.discount.value > 0) {\n return this.paymentGateway.discount\n }\n },\n\n installmentOptions () {\n if (\n this.paymentGateway.installment_options &&\n this.paymentGateway.installment_options.length\n ) {\n return this.paymentGateway.installment_options.concat().sort((a, b) => {\n return a.number - b.number\n })\n } else if (\n this.price &&\n this.installmentsOption &&\n this.paymentGateway.payment_method.code === 'credit_card'\n ) {\n const installmentOptions = []\n for (let number = 2; number <= this.installmentsOption.max_number; number++) {\n const tax = this.installmentsOption.monthly_interest > 0\n const minInstallment = this.installmentsOption.min_installment || 5\n let value\n if (!tax) {\n value = this.price / number\n } else {\n const interest = this.installmentsOption.monthly_interest / 100\n value = this.price * interest / (1 - Math.pow(1 + interest, -number))\n }\n if (value >= minInstallment) {\n installmentOptions.push({\n number,\n value,\n tax\n })\n }\n }\n return installmentOptions\n }\n },\n\n priceWithDiscount () {\n if (this.price && this.discount && this.discount.apply_at !== 'freight') {\n if (this.discount.type === 'percentage') {\n return this.price * (100 - this.discount.value) / 100\n } else {\n const finalPrice = this.price - this.discount.value\n return (finalPrice > 0 ? finalPrice : 0)\n }\n }\n return this.price\n }\n },\n\n methods: {\n formatMoney\n }\n}\n","import { render, staticRenderFns } from \"./html/PaymentOption.html?vue&type=template&id=3043e380&lang=html&\"\nimport script from \"./js/PaymentOption.js?vue&type=script&lang=js&\"\nexport * from \"./js/PaymentOption.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"payment-option\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg\"},[(_vm.paymentGateway.icon)?_c('img',{staticClass:\"payment-option__icon\",attrs:{\"src\":_vm.paymentGateway.icon}}):_c('div',{staticClass:\"payment-option__label\"},[_vm._v(\" \"+_vm._s(_vm.paymentGateway.label)+\" \")])]),(_vm.discount || _vm.installmentOptions)?_c('div',{staticClass:\"payment-option__details col-lg-6 col-xl-5 mt-1 mt-lg-0\"},[(_vm.price)?_c('div',{staticClass:\"payment-option__price\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.priceWithDiscount))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19atSight))])]):_vm._e(),(_vm.discount)?_c('span',{staticClass:\"payment-option__discount badge badge-success\"},[(_vm.discount.type === 'percentage')?[_vm._v(\" \"+_vm._s(_vm.discount.value)+\"% \")]:_c('span',{staticClass:\"payment-option__discount-value\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.discount.value))+\" \")]),_vm._v(\" \"+_vm._s(_vm.i19ofDiscount)+\" \"),(_vm.discount.apply_at === 'freight')?[_vm._v(\" \"+_vm._s(_vm.i19onFreight)+\" \")]:_vm._e()],2):_vm._e(),(_vm.installmentOptions)?_c('ul',{staticClass:\"payment-option__installment list-unstyled\"},_vm._l((_vm.installmentOptions),function(ref){\nvar number = ref.number;\nvar value = ref.value;\nvar tax = ref.tax;\nreturn (number > 1)?_c('li',[_c('span',[_vm._v(\" \"+_vm._s((number + \"x\"))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19of))]),_vm._v(\" \"+_vm._s(_vm.formatMoney(value))+\" \")]),(!tax)?_c('small',[_vm._v(\" \"+_vm._s(_vm.i19interestFree)+\" \")]):_vm._e()]):_vm._e()}),0):_vm._e()]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19addToFavorites,\n i19buy,\n i19close,\n i19days,\n i19discountOf,\n i19endsIn,\n i19freeShippingFrom,\n i19loadProductErrorMsg,\n i19offer,\n i19only,\n i19outOfStock,\n i19paymentOptions,\n i19perUnit,\n i19productionDeadline,\n i19removeFromFavorites,\n i19retry,\n i19selectVariationMsg,\n i19unavailable,\n i19units,\n i19unitsInStock,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n randomObjectId as genRandomObjectId,\n name as getName,\n inStock as checkInStock,\n onPromotion as checkOnPromotion,\n price as getPrice,\n img as getImg,\n variationsGrids as getVariationsGrids,\n specTextValue as getSpecTextValue,\n specValueByText as getSpecValueByText,\n formatMoney,\n $ecomConfig\n} from '@ecomplus/utils'\n\nimport { store, modules } from '@ecomplus/client'\nimport EcomSearch from '@ecomplus/search-engine'\nimport ecomCart from '@ecomplus/shopping-cart'\nimport { isMobile } from '@ecomplus/storefront-twbs'\nimport lozad from 'lozad'\nimport sortApps from './helpers/sort-apps'\nimport addIdleCallback from './helpers/add-idle-callback'\nimport scrollToElement from './helpers/scroll-to-element'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\nimport APicture from '../APicture.vue'\nimport APrices from '../APrices.vue'\nimport AShare from '../AShare.vue'\nimport ProductVariations from '../ProductVariations.vue'\nimport ProductGallery from '../ProductGallery.vue'\nimport QuantitySelector from '../QuantitySelector.vue'\nimport ShippingCalculator from '../ShippingCalculator.vue'\nimport PaymentOption from '../PaymentOption.vue'\nimport ecomPassport from '@ecomplus/passport-client'\nimport { toggleFavorite, checkFavorite } from './helpers/favorite-products'\n\nconst storefront = (typeof window === 'object' && window.storefront) || {}\nconst getContextBody = () => (storefront.context && storefront.context.body) || {}\nconst getContextId = () => getContextBody()._id\n\nconst sanitizeProductBody = body => {\n const product = Object.assign({}, body)\n delete product.body_html\n delete product.body_text\n delete product.specifications\n delete product.inventory_records\n delete product.price_change_records\n return product\n}\n\nexport default {\n name: 'TheProduct',\n\n components: {\n Portal,\n ALink,\n AAlert,\n APicture,\n APrices,\n AShare,\n ProductVariations,\n ProductGallery,\n QuantitySelector,\n ShippingCalculator,\n PaymentOption\n },\n\n props: {\n productId: {\n type: String,\n default () {\n return getContextId()\n }\n },\n product: Object,\n headingTag: {\n type: String,\n default: 'h1'\n },\n buyText: String,\n galleryColClassName: {\n type: String,\n default: 'col-12 col-md-6'\n },\n hasPromotionTimer: Boolean,\n hasStickyBuyButton: {\n type: Boolean,\n default: true\n },\n hasQuantitySelector: Boolean,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n },\n lowQuantityToWarn: {\n type: Number,\n default: 12\n },\n maxVariationOptionsBtns: Number,\n isQuickview: Boolean,\n paymentAppsSort: {\n type: Array,\n default () {\n return window.ecomPaymentApps || []\n }\n },\n quoteLink: String,\n isSSR: Boolean,\n ecomPassport: {\n type: Object,\n default () {\n return ecomPassport\n }\n },\n accountUrl: {\n type: String,\n default: '/app/#/account/'\n }\n },\n\n data () {\n return {\n body: {},\n fixedPrice: null,\n selectedVariationId: null,\n currentGalleyImg: 1,\n isOnCart: false,\n qntToBuy: 1,\n isStickyBuyVisible: false,\n isFavorite: false,\n hasClickedBuy: false,\n hasLoadError: false,\n paymentOptions: [],\n customizations: [],\n kitItems: [],\n currentTimer: null\n }\n },\n\n computed: {\n i19addToFavorites: () => i18n(i19addToFavorites),\n i19close: () => i18n(i19close),\n i19days: () => i18n(i19days),\n i19discountOf: () => i18n(i19discountOf),\n i19endsIn: () => i18n(i19endsIn),\n i19freeShippingFrom: () => i18n(i19freeShippingFrom),\n i19loadProductErrorMsg: () => i18n(i19loadProductErrorMsg),\n i19offer: () => i18n(i19offer),\n i19only: () => i18n(i19only),\n i19outOfStock: () => i18n(i19outOfStock),\n i19paymentOptions: () => i18n(i19paymentOptions),\n i19perUnit: () => i18n(i19perUnit),\n i19productionDeadline: () => i18n(i19productionDeadline),\n i19removeFromFavorites: () => i18n(i19removeFromFavorites),\n i19retry: () => i18n(i19retry),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19unavailable: () => i18n(i19unavailable),\n i19quoteProduct: () => 'Cotar produto',\n i19units: () => i18n(i19units).toLowerCase(),\n i19unitsInStock: () => i18n(i19unitsInStock),\n i19workingDays: () => i18n(i19workingDays),\n\n selectedVariation () {\n return this.selectedVariationId\n ? this.body.variations.find(({ _id }) => _id === this.selectedVariationId)\n : {}\n },\n\n name () {\n return this.selectedVariation.name || getName(this.body)\n },\n\n isInStock () {\n return checkInStock(this.body)\n },\n\n isWithoutPrice () {\n return !getPrice(this.body)\n },\n\n isVariationInStock () {\n return checkInStock(this.selectedVariationId ? this.selectedVariation : this.body)\n },\n\n isLogged () {\n return ecomPassport.checkAuthorization()\n },\n\n thumbnail () {\n return getImg(this.body, null, 'small')\n },\n\n productQuantity () {\n if (this.selectedVariation.quantity) {\n return this.selectedVariation.quantity\n } else if (this.body.quantity) {\n return this.body.quantity\n }\n },\n\n isLowQuantity () {\n return this.productQuantity > 0 && this.lowQuantityToWarn > 0 &&\n this.productQuantity <= this.lowQuantityToWarn\n },\n\n strBuy () {\n return this.buyText || i18n(i19buy)\n },\n\n discount () {\n const { body } = this\n const priceValue = this.fixedPrice || getPrice(body)\n return checkOnPromotion(body) || (body.price > priceValue)\n ? Math.round(((body.base_price - priceValue) * 100) / body.base_price)\n : 0\n },\n\n isOnSale () {\n const { body } = this\n return this.hasPromotionTimer &&\n checkOnPromotion(body) &&\n body.price_effective_date &&\n body.price_effective_date.end &&\n Date.now() < new Date(body.price_effective_date.end).getTime()\n },\n\n ghostProductForPrices () {\n const prices = {}\n ;['price', 'base_price'].forEach(field => {\n let price = this.selectedVariation[field] || this.body[field]\n if (price !== undefined) {\n this.customizations.forEach(customization => {\n if (customization.add_to_price) {\n price += this.getAdditionalPrice(customization.add_to_price)\n }\n })\n }\n prices[field] = price\n })\n const ghostProduct = { ...this.body }\n if (this.selectedVariationId) {\n Object.assign(ghostProduct, this.selectedVariation)\n delete ghostProduct.variations\n }\n return {\n ...ghostProduct,\n ...prices\n }\n },\n\n hasVariations () {\n return this.body.variations && this.body.variations.length\n },\n\n isKit () {\n return this.body.kit_composition && this.body.kit_composition.length\n }\n },\n\n methods: {\n getVariationsGrids,\n getSpecValueByText,\n\n setBody (data) {\n this.body = {\n ...data,\n body_html: '',\n body_text: '',\n inventory_records: []\n }\n this.$emit('update:product', data)\n },\n\n fetchProduct (isRetry = false) {\n const { productId } = this\n return store({\n url: `/products/${productId}.json`,\n axiosConfig: {\n timeout: isRetry ? 2500 : 6000\n }\n })\n .then(({ data }) => {\n this.setBody(data)\n if (getContextId() === productId) {\n storefront.context.body = this.body\n }\n this.hasLoadError = false\n })\n .catch(err => {\n console.error(err)\n const { response } = err\n if (!response || !(response.status >= 400 && response.status < 500)) {\n if (!isRetry) {\n this.fetchProduct(true)\n } else {\n this.setBody(getContextBody())\n if (!this.body.name || !this.body.price || !this.body.pictures) {\n this.hasLoadError = true\n }\n }\n }\n })\n },\n\n getAdditionalPrice ({ type, addition }) {\n return type === 'fixed'\n ? addition\n : getPrice(this.body) * addition / 100\n },\n\n formatAdditionalPrice (addToPrice) {\n if (addToPrice && addToPrice.addition) {\n return formatMoney(this.getAdditionalPrice(addToPrice))\n }\n return ''\n },\n\n setCustomizationOption (customization, text) {\n const index = this.customizations.findIndex(({ _id }) => _id === customization._id)\n if (text) {\n if (index > -1) {\n this.customizations[index].option = { text }\n } else {\n this.customizations.push({\n _id: customization._id,\n label: customization.label,\n add_to_price: customization.add_to_price,\n option: { text }\n })\n }\n } else if (index > -1) {\n this.customizations.splice(index, 1)\n }\n },\n\n showVariationPicture (variation) {\n if (variation.picture_id) {\n const pictureIndex = this.body.pictures.findIndex(({ _id }) => {\n return _id === variation.picture_id\n })\n this.currentGalleyImg = pictureIndex + 1\n }\n },\n\n handleGridOption ({ gridId, gridIndex, optionText }) {\n if (gridIndex === 0) {\n const variation = this.body.variations.find(variation => {\n return getSpecTextValue(variation, gridId) === optionText\n })\n if (variation) {\n this.showVariationPicture(variation)\n }\n }\n },\n\n toggleFavorite () {\n if (this.isLogged) {\n this.isFavorite = toggleFavorite(this.body._id, this.ecomPassport)\n }\n },\n\n buy () {\n this.hasClickedBuy = true\n const product = sanitizeProductBody(this.body)\n let variationId\n if (this.hasVariations) {\n if (this.selectedVariationId) {\n variationId = this.selectedVariationId\n } else {\n return\n }\n }\n const customizations = [...this.customizations]\n this.$emit('buy', { product, variationId, customizations })\n if (this.canAddToCart) {\n ecomCart.addProduct({ ...product, customizations }, variationId, this.qntToBuy)\n }\n this.isOnCart = true\n },\n\n buyOrScroll () {\n if (this.hasVariations || this.isKit) {\n scrollToElement(this.$refs.actions)\n } else {\n this.buy()\n }\n }\n },\n\n watch: {\n selectedVariationId (variationId) {\n if (variationId) {\n if (this.hasClickedBuy) {\n this.hasClickedBuy = false\n }\n this.showVariationPicture(this.selectedVariation)\n }\n },\n\n fixedPrice (price) {\n if (price > 0 && !this.isQuickview) {\n addIdleCallback(() => {\n modules({\n url: '/list_payments.json',\n method: 'POST',\n data: {\n amount: {\n total: price\n },\n items: [{\n ...sanitizeProductBody(this.body),\n product_id: this.body._id\n }],\n currency_id: this.body.currency_id || $ecomConfig.get('currency'),\n currency_symbol: this.body.currency_symbol || $ecomConfig.get('currency_symbol')\n }\n })\n .then(({ data }) => {\n if (Array.isArray(this.paymentAppsSort) && this.paymentAppsSort.length) {\n sortApps(data.result, this.paymentAppsSort)\n }\n this.paymentOptions = data.result\n .reduce((paymentOptions, appResult) => {\n if (appResult.validated) {\n paymentOptions.push({\n app_id: appResult.app_id,\n ...appResult.response\n })\n }\n return paymentOptions\n }, [])\n .sort((a, b) => {\n return a.discount_option && a.discount_option.value &&\n !(b.discount_option && b.discount_option.value)\n ? -1\n : 1\n })\n })\n .catch(console.error)\n })\n }\n },\n\n isKit: {\n handler (isKit) {\n if (isKit && !this.kitItems.length) {\n const kitComposition = this.body.kit_composition\n const ecomSearch = new EcomSearch()\n ecomSearch\n .setPageSize(kitComposition.length)\n .setProductIds(kitComposition.map(({ _id }) => _id))\n .fetch(true)\n .then(() => {\n ecomSearch.getItems().forEach(product => {\n const { quantity } = kitComposition.find(({ _id }) => _id === product._id)\n const addKitItem = variationId => {\n const item = ecomCart.parseProduct(product, variationId, quantity)\n if (quantity) {\n item.min_quantity = item.max_quantity = quantity\n } else {\n item.quantity = 0\n }\n this.kitItems.push({\n ...item,\n _id: genRandomObjectId()\n })\n }\n if (product.variations) {\n product.variations.forEach(variation => {\n variation._id = genRandomObjectId()\n addKitItem(variation._id)\n })\n } else {\n addKitItem()\n }\n })\n })\n .catch(console.error)\n }\n },\n immediate: true\n }\n },\n\n created () {\n const presetQntToBuy = () => {\n this.qntToBuy = this.body.min_quantity || 1\n }\n if (this.product) {\n this.body = this.product\n if (this.isSSR) {\n this.fetchProduct().then(presetQntToBuy)\n } else {\n presetQntToBuy()\n }\n } else {\n this.fetchProduct().then(presetQntToBuy)\n }\n this.isFavorite = checkFavorite(this.body._id || this.productId, this.ecomPassport)\n },\n\n mounted () {\n if (this.$refs.sticky && !this.isWithoutPrice) {\n let isBodyPaddingSet = false\n const setStickyBuyObserver = (isToVisible = true) => {\n const $anchor = this.$refs[isToVisible ? 'sticky' : 'buy']\n if (!$anchor) {\n return\n }\n const $tmpDiv = document.createElement('div')\n $anchor.parentNode.insertBefore($tmpDiv, $anchor)\n if (isToVisible) {\n $tmpDiv.style.position = 'absolute'\n $tmpDiv.style.bottom = isMobile ? '-1600px' : '-1000px'\n }\n const obs = lozad($tmpDiv, {\n rootMargin: '100px',\n threshold: 0,\n load: () => {\n this.isStickyBuyVisible = isToVisible\n if (isToVisible && !isBodyPaddingSet) {\n this.$nextTick(() => {\n const stickyHeight = this.$refs.sticky.offsetHeight\n document.body.style.paddingBottom = `${(stickyHeight + 4)}px`\n isBodyPaddingSet = true\n })\n }\n $tmpDiv.remove()\n setTimeout(() => {\n const createObserver = function () {\n setStickyBuyObserver(!isToVisible)\n document.removeEventListener('scroll', createObserver)\n }\n document.addEventListener('scroll', createObserver)\n }, 100)\n }\n })\n obs.observe()\n }\n setStickyBuyObserver()\n }\n if (this.isOnSale) {\n const promotionDate = new Date(this.body.price_effective_date.end)\n const now = Date.now()\n if (promotionDate.getTime() > now) {\n let targetDate\n const dayMs = 24 * 60 * 60 * 1000\n const daysBetween = Math.floor((promotionDate.getTime() - now) / dayMs)\n if (daysBetween > 2) {\n targetDate = new Date()\n targetDate.setHours(23, 59, 59, 999)\n } else {\n targetDate = promotionDate\n }\n const formatTime = (number) => number < 10 ? `0${number}` : number\n const getRemainingTime = () => {\n const distance = targetDate.getTime() - Date.now()\n const days = Math.floor(distance / dayMs)\n const hours = Math.floor((distance % dayMs) / (1000 * 60 * 60))\n const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60))\n const seconds = Math.floor((distance % (1000 * 60)) / 1000)\n return (days > 0 ? `${formatTime(days)}:` : '') +\n `${formatTime(hours)}:${formatTime(minutes)}:${formatTime(seconds)}`\n }\n this.currentTimer = setInterval(() => {\n this.$refs.timer.innerHTML = getRemainingTime()\n }, 1000)\n }\n }\n },\n\n destroyed () {\n if (this.currentTimer) {\n clearInterval(this.currentTimer)\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&\"","export default fn => {\n if (typeof window === 'object' && typeof window.requestIdleCallback === 'function') {\n window.requestIdleCallback(fn)\n } else {\n setTimeout(fn, 500)\n }\n}\n","import { render, staticRenderFns } from \"./html/TheProduct.html?vue&type=template&id=d796e3ac&lang=html&\"\nimport script from \"./js/TheProduct.js?vue&type=script&lang=js&\"\nexport * from \"./js/TheProduct.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/TheProduct.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"product\",attrs:{\"data-product-id\":_vm.body._id,\"data-sku\":_vm.body.sku,\"data-selected-variation\":_vm.selectedVariationId}},[_c('a-alert',{attrs:{\"can-show\":_vm.hasLoadError,\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.i19loadProductErrorMsg)+\" \"),_c('a',{staticClass:\"alert-link\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fetchProduct.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.i19retry)+\" \")])]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn slower\"}},[(_vm.body._id)?_c('div',{staticClass:\"row\"},[_vm._t(\"gallery-col\",function(){return [_c('div',{class:_vm.galleryColClassName},[_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-gallery\"}},[_vm._t(\"stamps\"),_c('product-gallery',{attrs:{\"product\":_vm.body,\"can-add-to-cart\":_vm.canAddToCart && _vm.body.available && _vm.isInStock,\"current-slide\":_vm.currentGalleyImg,\"is-s-s-r\":_vm.isSSR},on:{\"update:currentSlide\":function($event){_vm.currentGalleyImg=$event},\"update:current-slide\":function($event){_vm.currentGalleyImg=$event}}},[_vm._t(\"first-picture\")],2),_vm._t(\"gallery-footer\")],2)],1)]}),_c('div',{ref:\"actions\",staticClass:\"col\"},[(!_vm.isSSR)?_vm._t(\"heading\",function(){return [_c(_vm.headingTag,{tag:\"component\",staticClass:\"product__name\"},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")]),_c('p',{staticClass:\"product__sku\"},[_vm._v(\" COD: \"+_vm._s(_vm.body.sku)+\" \")])]}):_vm._e(),_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-actions\"}},[_vm._t(\"rating\",function(){return [_vm._m(0)]}),(!_vm.body.available)?_c('div',{staticClass:\"product__unavailable\"},[_vm._t(\"unavailable\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19unavailable)+\" \")]})],2):(!_vm.isInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.isWithoutPrice)?_c('div',{staticClass:\"product__without-price\"},[_vm._t(\"without-price\",function(){return [(_vm.quoteLink)?_c('a',{attrs:{\"target\":\"_blank\",\"rel\":\"noopener\",\"href\":_vm.quoteLink}},[_vm._v(\" \"+_vm._s(_vm.i19quoteProduct)+\" \")]):_vm._e()]})],2):[_vm._t(\"prices\",function(){return [_c('p',{staticClass:\"product__prices\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":true,\"is-big\":true},on:{\"fix-price\":function (price) { return _vm.fixedPrice = price; }}}),_vm._t(\"discount-tag\",function(){return [(_vm.discount > 0)?_c('span',{staticClass:\"product__discount\"},[_vm._v(\" \"+_vm._s(_vm.i19discountOf)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.discount)+\"%\")])]):_vm._e()]},null,{ discount: _vm.discount })],2)]}),(_vm.hasVariations)?_vm._t(\"variations\",function(){return [_c('product-variations',{attrs:{\"product\":_vm.body,\"selected-id\":_vm.selectedVariationId,\"max-options-btns\":_vm.maxVariationOptionsBtns},on:{\"update:selectedId\":function($event){_vm.selectedVariationId=$event},\"update:selected-id\":function($event){_vm.selectedVariationId=$event},\"select-option\":_vm.handleGridOption}}),_c('a-alert',{attrs:{\"can-show\":_vm.hasClickedBuy && !_vm.selectedVariationId}},[_vm._v(\" \"+_vm._s(_vm.i19selectVariationMsg)+\" \")]),_vm._t(\"variations-info\")]}):_vm._e(),(_vm.body.customizations)?_vm._t(\"customizations\",function(){return _vm._l((_vm.body.customizations),function(custom){return (custom.custom_value)?_c('div',{key:custom._id,staticClass:\"product__customization form-group\",class:custom.grid_id ? (\"product__customization--\" + (custom.grid_id)) : null},[_c('label',{attrs:{\"for\":(\"c-\" + (custom._id))}},[_vm._v(\" \"+_vm._s(custom.label)+\" \"),(custom.add_to_price)?_c('span',{staticClass:\"badge badge-secondary\"},[_vm._v(\" \"+_vm._s(_vm.formatAdditionalPrice(custom.add_to_price))+\" \")]):_vm._e()]),_c('input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":(\"c-\" + (custom._id))},on:{\"keyup\":function (ev) { return _vm.setCustomizationOption(custom, ev.target.value); }}})]):_vm._e()})}):_vm._e(),(_vm.isKit)?_c('div',{staticClass:\"product__kit\"},[_vm._t(\"kit\",function(){return [_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(_vm.kitItems.length)?_c('quantity-selector',{attrs:{\"items\":_vm.kitItems,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"slug\":_vm.body.slug,\"kit-product-id\":_vm.body._id,\"kit-name\":_vm.name,\"kit-price\":_vm.fixedPrice},on:{\"buy\":function (d) { return _vm.$emit('buy', d); }},scopedSlots:_vm._u([{key:\"buy-button-content\",fn:function(){return [_vm._t(\"buy-button-content\")]},proxy:true}],null,true)}):_vm._e()],1),(!_vm.kitItems.length)?_c('span',{staticClass:\"product__kit-loading spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_vm._e()]},null,{ kitItems: _vm.kitItems })],2):[(!_vm.isVariationInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.hasBuyButton)?_c('div',{ref:\"buy\",staticClass:\"product__buy\"},[_c(_vm.hasQuantitySelector ? 'quantity-selector' : 'div',{tag:\"component\",attrs:{\"items\":_vm.hasQuantitySelector ? [{ _id: _vm.body._id, quantity: _vm.body.min_quantity || 1 }] : null,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"has-buy-button\":false},on:{\"set-quantity\":function (ref) {\n var quantity = ref.quantity;\n\n return _vm.qntToBuy = quantity;\n}}},[_c('span',{on:{\"click\":_vm.buy}},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary\",attrs:{\"type\":\"button\",\"disabled\":_vm.hasClickedBuy && !_vm.isOnCart}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ hasClickedBuy: _vm.hasClickedBuy, isOnCart: _vm.isOnCart })],2)])],1):_vm._e(),(_vm.isLowQuantity)?_c('p',{staticClass:\"product__short-stock\"},[_c('i',{staticClass:\"i-forward mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19only)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.productQuantity))]),_vm._v(\" \"+_vm._s(_vm.i19unitsInStock)+\" \")]):_vm._e()],_vm._t(\"sale-timer\",function(){return [(_vm.isOnSale)?_c('div',{staticClass:\"product__sale-timer mb-3\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.i19offer)+\" \"),_c('br'),_c('small',[_vm._v(_vm._s(_vm.i19endsIn))])]),_c('div',{ref:\"timer\",staticClass:\"h1 ml-3 mb-0\"},[_vm._v(\" 00:00:00 \")])]):_vm._e()]}),_vm._t(\"favorite\",function(){return [_c('div',[_c('a',{staticClass:\"btn btn-sm product__favorite\",attrs:{\"href\":_vm.isLogged ? null : _vm.accountUrl},on:{\"click\":_vm.toggleFavorite}},[_c('i',{staticClass:\"i-heart mr-1\",class:_vm.isFavorite ? 'active' : null}),_c('span',[_vm._v(\" \"+_vm._s(_vm.isFavorite ? _vm.i19removeFromFavorites : _vm.i19addToFavorites)+\" \")])])])]}),_vm._t(\"share\",function(){return [(_vm.body.slug)?_c('a-share',{staticClass:\"mb-3\",attrs:{\"url\":(\"/\" + (_vm.body.slug)),\"title\":_vm.body.name,\"description\":_vm.body.short_description}}):_vm._e()]}),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(!_vm.isQuickview && _vm.paymentOptions.length)?_vm._t(\"payment-gateways\",function(){return [_c('article',[_c('div',{staticClass:\"product__payment card mb-3\"},[_c('a',{staticClass:\"card-header\",attrs:{\"id\":\"product-payment-header\",\"role\":\"button\",\"href\":\"#product-payment\",\"data-toggle\":\"collapse\",\"aria-expanded\":\"false\",\"aria-controls\":\"product-payment\"}},[_c('span',[_vm._v(_vm._s(_vm.i19paymentOptions))]),_c('i',{staticClass:\"i-chevron-down\"})]),_c('div',{staticClass:\"collapse\",attrs:{\"id\":\"product-payment\",\"aria-labelledby\":\"product-payment-header\"}},[_c('div',{staticClass:\"card-body pb-0\"},_vm._l((_vm.paymentOptions),function(paymentOption){return _c('div',{key:paymentOption.app_id,staticClass:\"mb-3\",attrs:{\"id\":(\"product-payment-\" + (paymentOption.app_id))}},[_vm._t((\"payment-\" + (paymentOption.app_id)),function(){return _vm._l((paymentOption.payment_gateways),function(gateway,i){return _c('payment-option',{key:((paymentOption.app_id) + \"-\" + i),attrs:{\"payment-gateway\":gateway,\"installments-option\":paymentOption.installments_option,\"price\":_vm.fixedPrice}})})})],2)}),0)])])])]},null,{ paymentOptions: _vm.paymentOptions }):_vm._e()],2),(_vm.body.production_time && _vm.body.production_time.days)?_c('p',{staticClass:\"product__production\"},[_c('i',{staticClass:\"i-info-circle mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19productionDeadline)+\": \"),_c('strong',[_vm._v(\" \"+_vm._s(_vm.body.production_time.days)+\" \"+_vm._s(_vm.body.production_time.working_days ? _vm.i19workingDays : _vm.i19days)+\" \"),(_vm.body.production_time.cumulative)?[_vm._v(\" \"+_vm._s(_vm.i19perUnit)+\" \")]:_vm._e()],2)]):_vm._e(),(!_vm.isQuickview && (!_vm.isKit || _vm.kitItems.length))?_vm._t(\"shipping\",function(){return [_c('shipping-calculator',{attrs:{\"shippedItems\":_vm.isKit ? _vm.kitItems : [Object.assign({}, _vm.body,\n {product_id: _vm.body._id,\n quantity: _vm.qntToBuy || _vm.body.min_quantity || 1})]},scopedSlots:_vm._u([{key:\"free-from-value\",fn:function(ref){\n var amountSubtotal = ref.amountSubtotal;\n var freeFromValue = ref.freeFromValue;\nreturn [_c('div',{staticClass:\"product__free-shipping-from\"},[_vm._v(\" \"+_vm._s(_vm.i19freeShippingFrom)+\" \"),_c('strong',[_vm._v(\" \"+_vm._s(Math.ceil(freeFromValue / amountSubtotal))+\" \"+_vm._s(_vm.i19units)+\" \")])])]}}],null,false,3999804120)})]}):_vm._e(),_vm._t(\"track-price\",function(){return [_vm._m(1)]})]],2),(!_vm.isSSR && _vm.body.short_description)?_vm._t(\"short-description\",function(){return [_c('p',{staticClass:\"product__info lead\"},[_vm._v(\" \"+_vm._s(_vm.body.short_description)+\" \")])]}):_vm._e()],2)],2):_vm._e()]),(!_vm.isQuickview && _vm.hasStickyBuyButton && _vm.body.available && _vm.isInStock)?[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn\",\"leave-active-class\":\"animated fadeOut fast\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isStickyBuyVisible),expression:\"isStickyBuyVisible\"}],ref:\"sticky\",staticClass:\"product__sticky\"},[_c('div',{staticClass:\"product__sticky-container container\"},[_c('div',{staticClass:\"product__sticky-info\"},[_c('a-picture',{staticClass:\"product__sticky-picture\",attrs:{\"can-calc-height\":false,\"src\":_vm.thumbnail}}),_c('h5',[_vm._v(_vm._s(_vm.name))])],1),_c('div',{staticClass:\"product__sticky-buy\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":false,\"can-show-price-options\":true}}),_c('a',{staticClass:\"btn btn-lg btn-primary\",on:{\"click\":_vm.buyOrScroll}},[_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")])],1)])])])]:_vm._e(),(!_vm.body._id)?_vm._t(\"default\"):_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__rating\",attrs:{\"data-sku\":_vm.body.sku}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__track-price\",attrs:{\"data-sku\":_vm.body.sku}})}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&\"","import {\n i19close,\n i19seeMoreInfo\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport TheProduct from '../TheProduct.vue'\nimport ABackdrop from '../ABackdrop.vue'\n\nexport default {\n name: 'ProductQuickView',\n\n components: {\n Portal,\n TheProduct,\n ABackdrop\n },\n\n props: {\n productId: String,\n product: Object,\n portalId: {\n type: String,\n default: 'quickview'\n }\n },\n\n data () {\n return {\n productName: '',\n productLink: '',\n isVisible: false\n }\n },\n\n computed: {\n i19close: () => i18n(i19close),\n i19seeMoreInfo: () => i18n(i19seeMoreInfo)\n },\n\n methods: {\n setProduct ({ name, slug }) {\n this.productName = name\n this.productLink = `/${slug}`\n },\n\n hide () {\n this.isVisible = false\n setTimeout(() => {\n if (!this.isVisible) {\n this.$destroy()\n }\n }, 450)\n }\n },\n\n created () {\n let portal = document.getElementById(this.portalId)\n if (!portal) {\n portal = document.createElement('div')\n portal.setAttribute('id', this.portalId)\n document.body.appendChild(portal)\n } else {\n portal.innerHTML = ''\n }\n if (this.product) {\n this.setProduct(this.product)\n }\n this.isVisible = true\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductQuickview.html?vue&type=template&id=54730058&lang=html&\"\nimport script from \"./js/ProductQuickview.js?vue&type=script&lang=js&\"\nexport * from \"./js/ProductQuickview.js?vue&type=script&lang=js&\"\nimport style0 from \"./scss/ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|