@ecomplus/widget-search 1.0.0-beta.95 → 1.0.0-beta.99

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?34b1","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?5ced","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?fa68","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?1682","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?d64b","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?3043","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?566d","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?6e9f","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?e990","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?57af","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?5f3b","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?7c48","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?eac8","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?fd87","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?bfe0","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?fa82","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss","webpack://widgetSearch/../storefront-components/src/html/ProductQuickview.html","webpack://widgetSearch/../storefront-components/src/js/helpers/sort-apps.js","webpack://widgetSearch/../storefront-components/src/js/AAlert.js?9da8","webpack://widgetSearch/../storefront-components/src/js/AAlert.js","webpack://widgetSearch/../storefront-components/src/AAlert.vue","webpack://widgetSearch/../storefront-components/src/html/AAlert.html","webpack://widgetSearch/../storefront-components/src/js/AShare.js","webpack://widgetSearch/../storefront-components/src/js/AShare.js?df80","webpack://widgetSearch/../storefront-components/src/AShare.vue","webpack://widgetSearch/../storefront-components/src/html/AShare.html","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js?f67e","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js","webpack://widgetSearch/../storefront-components/src/ProductVariations.vue","webpack://widgetSearch/../storefront-components/src/html/ProductVariations.html","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js?1688","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js","webpack://widgetSearch/../storefront-components/src/ProductGallery.vue","webpack://widgetSearch/../storefront-components/src/html/ProductGallery.html","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js?c5c4","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js","webpack://widgetSearch/../storefront-components/src/QuantitySelector.vue","webpack://widgetSearch/../storefront-components/src/html/QuantitySelector.html","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js?37d7","webpack://widgetSearch/../storefront-components/src/ShippingLine.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingLine.html","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js?d510","webpack://widgetSearch/../storefront-components/src/ShippingCalculator.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingCalculator.html","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js?b860","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js","webpack://widgetSearch/../storefront-components/src/PaymentOption.vue","webpack://widgetSearch/../storefront-components/src/html/PaymentOption.html","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js?a2dc","webpack://widgetSearch/../storefront-components/src/js/helpers/add-idle-callback.js","webpack://widgetSearch/../storefront-components/src/TheProduct.vue","webpack://widgetSearch/../storefront-components/src/html/TheProduct.html","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js?c184","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js","webpack://widgetSearch/../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","checkStock","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","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","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","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","to","zip","subtotal","modules","method","result","err","submitZipCode","setItem","getPrice","storedZip","getItem","apply","arguments","model","callback","$$v","expression","tag","active","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","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","hasBuyButton","lowQuantityToWarn","maxVariationOptionsBtns","isQuickview","paymentAppsSort","ecomPaymentApps","fixedPrice","selectedVariationId","currentGalleyImg","isOnCart","hasClickedBuy","hasLoadError","paymentOptions","kitItems","i19discountOf","i19freeShippingFrom","i19loadProductErrorMsg","i19only","i19outOfStock","i19paymentOptions","i19perUnit","i19productionDeadline","i19retry","i19selectVariationMsg","i19unavailable","i19units","i19unitsInStock","selectedVariation","isInStock","productQuantity","isLowQuantity","i19buy","checkOnPromotion","base_price","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","variationId","fn","amount","discount_option","requestIdleCallback","kitComposition","ecomSearch","EcomSearch","setPageSize","setProductIds","fetch","getItems","addKitItem","parseProduct","genRandomObjectId","sku","available","custom","grid_id","d","scopedSlots","_u","proxy","short_description","paymentOption","gateway","installments_option","ceil","TheProduct","ABackdrop","portalId","productName","productLink","isVisible","i19seeMoreInfo","setProduct","hide","$destroy","portal","getElementById","innerHTML","createElement","setAttribute"],"mappings":"kHAGA,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,EAA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,KAAOJ,EAAIqc,QAAQ3c,EAAG,aAAa,CAACE,MAAM,CAAC,qBAAqB,kBAAkB,qBAAqB,4BAA4B,CAAEI,EAAa,UAAEN,EAAG,MAAM,CAACO,YAAY,+BAA+B,CAACD,EAAIG,GAAG,UAAS,WAAW,MAAO,CAACT,EAAG,MAAM,CAACO,YAAY,yCAAyC,CAACD,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAIgc,aAAa,KAAKtc,EAAG,SAAS,CAACO,YAAY,QAAQL,MAAM,CAAC,KAAO,SAAS,aAAaI,EAAIZ,UAAUgB,GAAG,CAAC,MAAQJ,EAAIqc,OAAO,CAAC3c,EAAG,OAAO,CAACE,MAAM,CAAC,cAAc,SAAS,CAACI,EAAIO,GAAG,eAAcb,EAAG,MAAM,CAACO,YAAY,qCAAqC,CAAGD,EAAIgc,YAAiMhc,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,EAAImW,UAAU,QAAUnW,EAAI+B,SAAS3B,GAAG,CAAC,iBAAiBJ,EAAIoc,WAAW,IAAMpc,EAAIqc,SAAS,GAAIrc,EAAe,YAAEN,EAAG,IAAI,CAACO,YAAY,oDAAoDL,MAAM,CAAC,KAAOI,EAAIic,cAAc,CAACjc,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAImc,gBAAgB,OAAOnc,EAAID,QAAQ,GAAGC,EAAID,QAAQ,OAC92C,IyCWpB,EACA,KACA,KACA,OAIa,Y","file":"widget-search.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&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(\"462ec91f\", 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&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(\"3f59b615\", 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&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(\"6abf06b5\", 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&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(\"6fe2ffb5\", 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&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(\"32c660f5\", 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&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(\"6df2fd87\", 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&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(\"03c49535\", 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&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(\"1e9ea656\", 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&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{margin-left:var(--spacer-2);font-size:var(--font-size-sm)}.variations__value .fa-check{color:var(--success)}.variations__value--empty{color:var(--text-muted)}.variations__option{min-height:2.3rem;min-width:2.3rem;margin-bottom:var(--spacer-2);border:var(--border-width) solid var(--border-color)}@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{content:\\\"x\\\";text-align:center;font-size:10px;line-height:1;padding-top:1.5px;background:var(--danger);color:var(--danger-yiq);height:14px;width:14px;border-radius:50%;display:block;position:absolute;top:-3px;right:-3px}.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&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{max-width:810px;width:100%;text-align:center;display:flex;flex-direction:row;position:relative;justify-content:center}@media (min-width:992px){.gallery{margin-bottom:0}}.gallery__thumbs{z-index:2;position:absolute;width:auto;padding:0;display:inline-flex;top:100%;margin:-35px 0 0}@media (min-width:992px){.gallery__thumbs{position:static;display:block;flex-basis:90px;margin:0 20px 0 0;left:auto;bottom:auto;overflow-y:auto}}.gallery__item{opacity:.5;transition:opacity .15s linear;cursor:pointer;margin-right:15px}.gallery__item:last-of-type{margin-right:0}.gallery__item:before{display:block;content:\\\" \\\";height:10px;width:10px;background:var(--gray);border-radius:50%}.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{padding:var(--spacer-2) 0;font-size:var(--font-size)}.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;-ms-user-select:none;user-select:none}.gallery__thumb,.gallery__thumb img{display:none}@media (min-width:992px){.gallery__thumb,.gallery__thumb img{display:block;width:100%;height:auto}}.gallery__open{display:none}@media (min-width:992px){.gallery__open{font-weight:var(--font-bold);font-size:var(--font-size-lg);padding:0 var(--spacer-2);display:inline-block;margin-bottom:var(--spacer-2)}}.gallery__big-image{cursor:zoom-in}.gallery img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:1999;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:grabbing}.pswp__bg{background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden}.pswp__bg,.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{right:0;bottom:0;overflow:hidden}.pswp__img,.pswp__item{position:absolute;left:0;top:0}.pswp__img{width:auto;height:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:none;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border: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;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(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{display:none;background-position:-88px 0}.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;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\\\"\\\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:2099;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:2119;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;font-size:14px;line-height:18px}.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{content:\\\"\\\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}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{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.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{-webkit-animation:clockwise .5s linear infinite;animation:clockwise .5s linear infinite}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite;animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border-radius:50%;border-color:#fff #fff transparent transparent;border-style:solid;border-width:2px;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}@keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:2049}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;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;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.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{position:fixed;bottom:20px;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&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__item{display:flex;align-items:center;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{max-width:300px;margin-bottom:0;margin-top:var(--spacer-3)}\", \"\"]);\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&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{display:block;display:-webkit-box;line-height:var(--line-height-sm);-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text-muted)}\", \"\"]);\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&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{max-width:370px;font-size:var(--font-size-sm)}.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;top:-5px;right:-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&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{max-width:100%;height:auto}.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{text-transform:lowercase;font-size:var(--font-size)}.payment-option__installment{margin-bottom:0;font-size:var(--font-size-sm)}.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&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{font-weight:var(--font-bold);font-size:var(--font-size-lg);color:var(--warning)}.product__discount{color:var(--success)}.product__short-stock{font-weight:var(--font-light);text-transform:lowercase;background:rgba(var(--info-rgb),.2);display:inline-block;padding:var(--spacer-1) var(--spacer-3);border-radius:var(--border-radius-sm)}.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{display:flex;justify-content:space-between;align-items:center}.product__free-shipping-from{font-size:var(--font-size);color:var(--secondary)}\", \"\"]);\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&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{z-index:1090;position:fixed;top:0;left:0;width:100vw;max-height:100vh;border-radius:0;overflow-y:auto}@media (min-width:576px){.product-quickview__box{width:90vw;margin-left:5vw;max-height:90vh;margin-top:5vh;border-radius:var(--border-radius)}}.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;max-width:400px;margin:var(--spacer-4) auto var(--spacer-5)}\", \"\"]);\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: 'fab fa-whatsapp',\n color: '#25d366'\n },\n {\n network: 'facebook',\n name: 'Facebook',\n icon: 'fab fa-facebook',\n color: '#1877f2'\n },\n {\n network: 'twitter',\n name: 'Twitter',\n icon: 'fab fa-twitter',\n color: '#1da1f2'\n },\n {\n network: 'telegram',\n name: 'Telegram',\n icon: 'fab fa-telegram',\n color: '#0088cc'\n },\n {\n network: 'pinterest',\n name: 'Pinterest',\n icon: 'fab fa-pinterest',\n color: '#bd081c'\n },\n {\n network: 'email',\n name: 'Email',\n icon: 'fas fa-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 inStock as checkStock,\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 if (!checkStock(variation)) {\n variations.splice(i, 1)\n i--\n } else {\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 }\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&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:\"fas fa-check mr-1\"}),_vm._v(\" \"+_vm._s(_vm.selectedOptions[grid])+\" \")]):_c('span',{staticClass:\"variations__value variations__value--empty\"},[_c('i',{staticClass:\"fas fa-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:[_vm.selectedOptions[grid] === optionText ? 'variations__option--selected' : null, (\"variations__option--\" + optionText)],style:(grid === 'colors' ? _vm.getColorOptionBg(optionText) : null),attrs:{\"disabled\":!_vm.filteredGrids[grid].includes(optionText)},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&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:\"fas fa-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:\"fas fa-cart-arrow-down\"}),_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 },\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 if (total >= this.min && this.hasMinAlert) {\n this.hasMinAlert = false\n } else if (total <= this.max && this.hasMaxAlert) {\n this.hasMaxAlert = false\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 (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&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('button',{staticClass:\"btn btn-sm btn-link\",attrs:{\"type\":\"button\",\"disabled\":item.min_quantity >= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, -1)}}},[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('input',{staticClass:\"form-control quantity-selector__input\",attrs:{\"type\":\"tel\",\"disabled\":!_vm.checkInStock(item),\"readonly\":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\",attrs:{\"type\":\"button\",\"disabled\":item.max_quantity <= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, 1)}}},[_c('i',{staticClass:\"fas fa-chevron-up\"})]),_c('span',{staticClass:\"quantity-selector__label\"},[(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)+\" \")]],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))])]),_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:\"fas fa-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ selectedQnts: _vm.selectedQnts, buy: _vm.buy })],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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\nconst i19pickUpToday = 'Retire hoje'\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 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 { 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&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 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.shippingServices = []\n if (shippingResult.length) {\n shippingResult.forEach(appResult => {\n const { validated, error, response } = appResult\n if (validated && !error) {\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 })\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 const url = '/calculate_shipping.json'\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 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&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\"}}),_vm._m(0)],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}}),_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:\"fas fa-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 = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-shipping-fast\"})])])}]\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 return Math.min(this.price - this.discount.value, 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&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 i19buy,\n i19close,\n i19days,\n i19discountOf,\n i19freeShippingFrom,\n i19loadProductErrorMsg,\n i19only,\n i19outOfStock,\n i19paymentOptions,\n i19perUnit,\n i19productionDeadline,\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 variationsGrids as getVariationsGrids,\n specTextValue as getSpecTextValue,\n specValueByText as getSpecValueByText,\n formatMoney\n} from '@ecomplus/utils'\n\nimport { store, modules } from '@ecomplus/client'\nimport EcomSearch from '@ecomplus/search-engine'\nimport ecomCart from '@ecomplus/shopping-cart'\nimport sortApps from './helpers/sort-apps'\nimport addIdleCallback from './helpers/add-idle-callback'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.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'\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 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 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 isSSR: Boolean\n },\n\n data () {\n return {\n body: {},\n fixedPrice: null,\n selectedVariationId: null,\n currentGalleyImg: 1,\n isOnCart: false,\n hasClickedBuy: false,\n hasLoadError: false,\n paymentOptions: [],\n customizations: [],\n kitItems: []\n }\n },\n\n computed: {\n i19close: () => i18n(i19close),\n i19days: () => i18n(i19days),\n i19discountOf: () => i18n(i19discountOf),\n i19freeShippingFrom: () => i18n(i19freeShippingFrom),\n i19loadProductErrorMsg: () => i18n(i19loadProductErrorMsg),\n i19only: () => i18n(i19only),\n i19outOfStock: () => i18n(i19outOfStock),\n i19paymentOptions: () => i18n(i19paymentOptions),\n i19perUnit: () => i18n(i19perUnit),\n i19productionDeadline: () => i18n(i19productionDeadline),\n i19retry: () => i18n(i19retry),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19unavailable: () => i18n(i19unavailable),\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 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 return checkOnPromotion(body)\n ? Math.round(((body.base_price - getPrice(body)) * 100) / body.base_price)\n : 0\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 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 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\n this.$emit('buy', { product, variationId, customizations })\n if (this.canAddToCart) {\n ecomCart.addProduct({ ...product, customizations }, variationId)\n }\n this.isOnCart = true\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 }\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 if (this.product) {\n this.body = this.product\n if (this.isSSR) {\n this.fetchProduct()\n }\n } else {\n this.fetchProduct()\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&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}},[_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\"}},[_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',{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)?_vm._t(\"unavailable\",function(){return [_c('p',{staticClass:\"product__unavailable\"},[_vm._v(\" \"+_vm._s(_vm.i19unavailable)+\" \")])]}):(!_vm.isInStock)?_vm._t(\"out-of-stock\",function(){return [_c('p',{staticClass:\"product__out-of-stock\"},[_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")])]}):[_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.hasBuyButton)?_c('div',{staticClass:\"product__buy\"},[_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:\"fas fa-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ hasClickedBuy: _vm.hasClickedBuy, isOnCart: _vm.isOnCart })],2)]):_vm._e(),(_vm.isLowQuantity)?_c('p',{staticClass:\"product__short-stock\"},[_c('i',{staticClass:\"fas fa-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(\"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:\"fas fa-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._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}})}),1)}),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:\"fas fa-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._t(\"shipping\",function(){return [_c('shipping-calculator',{attrs:{\"shippedItems\":[Object.assign({}, _vm.body,\n {product_id: _vm.body._id,\n quantity: _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.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&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://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?34b1","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?5ced","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?fa68","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?1682","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?d64b","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?3043","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?566d","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?6e9f","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?e990","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?57af","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?5f3b","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?7c48","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?eac8","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?fd87","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?bfe0","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?fa82","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss","webpack://widgetSearch/../storefront-components/src/html/ProductQuickview.html","webpack://widgetSearch/../storefront-components/src/js/helpers/sort-apps.js","webpack://widgetSearch/../storefront-components/src/js/AAlert.js?9da8","webpack://widgetSearch/../storefront-components/src/js/AAlert.js","webpack://widgetSearch/../storefront-components/src/AAlert.vue","webpack://widgetSearch/../storefront-components/src/html/AAlert.html","webpack://widgetSearch/../storefront-components/src/js/AShare.js","webpack://widgetSearch/../storefront-components/src/js/AShare.js?df80","webpack://widgetSearch/../storefront-components/src/AShare.vue","webpack://widgetSearch/../storefront-components/src/html/AShare.html","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js?f67e","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js","webpack://widgetSearch/../storefront-components/src/ProductVariations.vue","webpack://widgetSearch/../storefront-components/src/html/ProductVariations.html","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js?1688","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js","webpack://widgetSearch/../storefront-components/src/ProductGallery.vue","webpack://widgetSearch/../storefront-components/src/html/ProductGallery.html","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js?c5c4","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js","webpack://widgetSearch/../storefront-components/src/QuantitySelector.vue","webpack://widgetSearch/../storefront-components/src/html/QuantitySelector.html","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js?37d7","webpack://widgetSearch/../storefront-components/src/ShippingLine.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingLine.html","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js?d510","webpack://widgetSearch/../storefront-components/src/ShippingCalculator.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingCalculator.html","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js?b860","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js","webpack://widgetSearch/../storefront-components/src/PaymentOption.vue","webpack://widgetSearch/../storefront-components/src/html/PaymentOption.html","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js?a2dc","webpack://widgetSearch/../storefront-components/src/js/helpers/add-idle-callback.js","webpack://widgetSearch/../storefront-components/src/TheProduct.vue","webpack://widgetSearch/../storefront-components/src/html/TheProduct.html","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js?c184","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js","webpack://widgetSearch/../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","checkStock","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","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","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","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","to","zip","subtotal","modules","method","result","err","submitZipCode","setItem","getPrice","storedZip","getItem","apply","arguments","model","callback","$$v","expression","tag","active","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","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","hasBuyButton","lowQuantityToWarn","maxVariationOptionsBtns","isQuickview","paymentAppsSort","ecomPaymentApps","fixedPrice","selectedVariationId","currentGalleyImg","isOnCart","hasClickedBuy","hasLoadError","paymentOptions","kitItems","i19discountOf","i19freeShippingFrom","i19loadProductErrorMsg","i19only","i19outOfStock","i19paymentOptions","i19perUnit","i19productionDeadline","i19retry","i19selectVariationMsg","i19unavailable","i19units","i19unitsInStock","selectedVariation","isInStock","productQuantity","isLowQuantity","i19buy","checkOnPromotion","base_price","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","variationId","fn","amount","discount_option","requestIdleCallback","kitComposition","ecomSearch","EcomSearch","setPageSize","setProductIds","fetch","getItems","addKitItem","parseProduct","genRandomObjectId","sku","available","custom","grid_id","d","scopedSlots","_u","proxy","short_description","paymentOption","gateway","installments_option","ceil","TheProduct","ABackdrop","portalId","productName","productLink","isVisible","i19seeMoreInfo","setProduct","hide","$destroy","portal","getElementById","innerHTML","createElement","setAttribute"],"mappings":"kHAGA,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,g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,CAAC,qBAAqB,kBAAkB,qBAAqB,4BAA4B,CAAEI,EAAa,UAAEN,EAAG,MAAM,CAACO,YAAY,+BAA+B,CAACD,EAAIG,GAAG,UAAS,WAAW,MAAO,CAACT,EAAG,MAAM,CAACO,YAAY,yCAAyC,CAACD,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAIgc,aAAa,KAAKtc,EAAG,SAAS,CAACO,YAAY,QAAQL,MAAM,CAAC,KAAO,SAAS,aAAaI,EAAIZ,UAAUgB,GAAG,CAAC,MAAQJ,EAAIqc,OAAO,CAAC3c,EAAG,OAAO,CAACE,MAAM,CAAC,cAAc,SAAS,CAACI,EAAIO,GAAG,eAAcb,EAAG,MAAM,CAACO,YAAY,qCAAqC,CAAGD,EAAIgc,YAAiMhc,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,EAAImW,UAAU,QAAUnW,EAAI+B,SAAS3B,GAAG,CAAC,iBAAiBJ,EAAIoc,WAAW,IAAMpc,EAAIqc,SAAS,GAAIrc,EAAe,YAAEN,EAAG,IAAI,CAACO,YAAY,oDAAoDL,MAAM,CAAC,KAAOI,EAAIic,cAAc,CAACjc,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAImc,gBAAgB,OAAOnc,EAAID,QAAQ,GAAGC,EAAID,QAAQ,OAC92C,IyCWpB,EACA,KACA,KACA,OAIa,Y","file":"widget-search.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&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(\"462ec91f\", 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&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(\"3f59b615\", 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&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(\"6abf06b5\", 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&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(\"6fe2ffb5\", 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&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(\"32c660f5\", 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&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(\"6df2fd87\", 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&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(\"03c49535\", 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&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(\"1e9ea656\", 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&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{margin-left:var(--spacer-2);font-size:var(--font-size-sm)}.variations__value .fa-check{color:var(--success)}.variations__value--empty{color:var(--text-muted)}.variations__option{min-height:2.3rem;min-width:2.3rem;margin-bottom:var(--spacer-2);border:var(--border-width) solid var(--border-color)}@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{content:\\\"x\\\";text-align:center;font-size:10px;line-height:1;padding-top:1.5px;background:var(--danger);color:var(--danger-yiq);height:14px;width:14px;border-radius:50%;display:block;position:absolute;top:-3px;right:-3px}.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&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{max-width:810px;width:100%;text-align:center;display:flex;flex-direction:row;position:relative;justify-content:center}@media (min-width:992px){.gallery{margin-bottom:0}}.gallery__thumbs{z-index:2;position:absolute;width:auto;padding:0;display:inline-flex;top:100%;margin:-35px 0 0}@media (min-width:992px){.gallery__thumbs{position:static;display:block;flex-basis:90px;margin:0 20px 0 0;left:auto;bottom:auto;overflow-y:auto}}.gallery__item{opacity:.5;transition:opacity .15s linear;cursor:pointer;margin-right:15px}.gallery__item:last-of-type{margin-right:0}.gallery__item:before{display:block;content:\\\" \\\";height:10px;width:10px;background:var(--gray);border-radius:50%}.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{padding:var(--spacer-2) 0;font-size:var(--font-size)}.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;-ms-user-select:none;user-select:none}.gallery__thumb,.gallery__thumb img{display:none}@media (min-width:992px){.gallery__thumb,.gallery__thumb img{display:block;width:100%;height:auto}}.gallery__open{display:none}@media (min-width:992px){.gallery__open{font-weight:var(--font-bold);font-size:var(--font-size-lg);padding:0 var(--spacer-2);display:inline-block;margin-bottom:var(--spacer-2)}}.gallery__big-image{cursor:zoom-in}.gallery img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:1999;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:grabbing}.pswp__bg{background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden}.pswp__bg,.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{right:0;bottom:0;overflow:hidden}.pswp__img,.pswp__item{position:absolute;left:0;top:0}.pswp__img{width:auto;height:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:none;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border: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;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(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{display:none;background-position:-88px 0}.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;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\\\"\\\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:2099;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:2119;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;font-size:14px;line-height:18px}.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{content:\\\"\\\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}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{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.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{-webkit-animation:clockwise .5s linear infinite;animation:clockwise .5s linear infinite}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite;animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border-radius:50%;border-color:#fff #fff transparent transparent;border-style:solid;border-width:2px;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}@keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:2049}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;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;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.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{position:fixed;bottom:20px;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&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__item{display:flex;align-items:center;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{max-width:300px;margin-bottom:0;margin-top:var(--spacer-3)}\", \"\"]);\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&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{display:block;display:-webkit-box;line-height:var(--line-height-sm);-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text-muted)}\", \"\"]);\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&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{max-width:370px;font-size:var(--font-size-sm)}.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;top:-5px;right:-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&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{max-width:100%;height:auto}.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{text-transform:lowercase;font-size:var(--font-size)}.payment-option__installment{margin-bottom:0;font-size:var(--font-size-sm)}.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&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{font-weight:var(--font-bold);font-size:var(--font-size-lg);color:var(--warning)}.product__discount{color:var(--success)}.product__short-stock{font-weight:var(--font-light);text-transform:lowercase;background:rgba(var(--info-rgb),.2);display:inline-block;padding:var(--spacer-1) var(--spacer-3);border-radius:var(--border-radius-sm)}.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{display:flex;justify-content:space-between;align-items:center}.product__free-shipping-from{font-size:var(--font-size);color:var(--secondary)}\", \"\"]);\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&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{z-index:1090;position:fixed;top:0;left:0;width:100vw;max-height:100vh;border-radius:0;overflow-y:auto}@media (min-width:576px){.product-quickview__box{width:90vw;margin-left:5vw;max-height:90vh;margin-top:5vh;border-radius:var(--border-radius)}}.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;max-width:400px;margin:var(--spacer-4) auto var(--spacer-5)}\", \"\"]);\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: 'fab fa-whatsapp',\n color: '#25d366'\n },\n {\n network: 'facebook',\n name: 'Facebook',\n icon: 'fab fa-facebook',\n color: '#1877f2'\n },\n {\n network: 'twitter',\n name: 'Twitter',\n icon: 'fab fa-twitter',\n color: '#1da1f2'\n },\n {\n network: 'telegram',\n name: 'Telegram',\n icon: 'fab fa-telegram',\n color: '#0088cc'\n },\n {\n network: 'pinterest',\n name: 'Pinterest',\n icon: 'fab fa-pinterest',\n color: '#bd081c'\n },\n {\n network: 'email',\n name: 'Email',\n icon: 'fas fa-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 inStock as checkStock,\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 if (!checkStock(variation)) {\n variations.splice(i, 1)\n i--\n } else {\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 }\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&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:\"fas fa-check mr-1\"}),_vm._v(\" \"+_vm._s(_vm.selectedOptions[grid])+\" \")]):_c('span',{staticClass:\"variations__value variations__value--empty\"},[_c('i',{staticClass:\"fas fa-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:[_vm.selectedOptions[grid] === optionText ? 'variations__option--selected' : null, (\"variations__option--\" + optionText)],style:(grid === 'colors' ? _vm.getColorOptionBg(optionText) : null),attrs:{\"disabled\":!_vm.filteredGrids[grid].includes(optionText)},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&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:\"fas fa-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:\"fas fa-cart-arrow-down\"}),_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 },\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 if (total >= this.min && this.hasMinAlert) {\n this.hasMinAlert = false\n } else if (total <= this.max && this.hasMaxAlert) {\n this.hasMaxAlert = false\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 (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&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('button',{staticClass:\"btn btn-sm btn-link\",attrs:{\"type\":\"button\",\"disabled\":item.min_quantity >= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, -1)}}},[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('input',{staticClass:\"form-control quantity-selector__input\",attrs:{\"type\":\"tel\",\"disabled\":!_vm.checkInStock(item),\"readonly\":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\",attrs:{\"type\":\"button\",\"disabled\":item.max_quantity <= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, 1)}}},[_c('i',{staticClass:\"fas fa-chevron-up\"})]),_c('span',{staticClass:\"quantity-selector__label\"},[(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)+\" \")]],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))])]),_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:\"fas fa-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ selectedQnts: _vm.selectedQnts, buy: _vm.buy })],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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\nconst i19pickUpToday = 'Retire hoje'\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 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 { 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&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 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 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 })\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 const url = '/calculate_shipping.json'\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 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&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\"}}),_vm._m(0)],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}}),_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:\"fas fa-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 = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-shipping-fast\"})])])}]\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 return Math.min(this.price - this.discount.value, 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&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 i19buy,\n i19close,\n i19days,\n i19discountOf,\n i19freeShippingFrom,\n i19loadProductErrorMsg,\n i19only,\n i19outOfStock,\n i19paymentOptions,\n i19perUnit,\n i19productionDeadline,\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 variationsGrids as getVariationsGrids,\n specTextValue as getSpecTextValue,\n specValueByText as getSpecValueByText,\n formatMoney\n} from '@ecomplus/utils'\n\nimport { store, modules } from '@ecomplus/client'\nimport EcomSearch from '@ecomplus/search-engine'\nimport ecomCart from '@ecomplus/shopping-cart'\nimport sortApps from './helpers/sort-apps'\nimport addIdleCallback from './helpers/add-idle-callback'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.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'\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 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 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 isSSR: Boolean\n },\n\n data () {\n return {\n body: {},\n fixedPrice: null,\n selectedVariationId: null,\n currentGalleyImg: 1,\n isOnCart: false,\n hasClickedBuy: false,\n hasLoadError: false,\n paymentOptions: [],\n customizations: [],\n kitItems: []\n }\n },\n\n computed: {\n i19close: () => i18n(i19close),\n i19days: () => i18n(i19days),\n i19discountOf: () => i18n(i19discountOf),\n i19freeShippingFrom: () => i18n(i19freeShippingFrom),\n i19loadProductErrorMsg: () => i18n(i19loadProductErrorMsg),\n i19only: () => i18n(i19only),\n i19outOfStock: () => i18n(i19outOfStock),\n i19paymentOptions: () => i18n(i19paymentOptions),\n i19perUnit: () => i18n(i19perUnit),\n i19productionDeadline: () => i18n(i19productionDeadline),\n i19retry: () => i18n(i19retry),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19unavailable: () => i18n(i19unavailable),\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 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 return checkOnPromotion(body)\n ? Math.round(((body.base_price - getPrice(body)) * 100) / body.base_price)\n : 0\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 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 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\n this.$emit('buy', { product, variationId, customizations })\n if (this.canAddToCart) {\n ecomCart.addProduct({ ...product, customizations }, variationId)\n }\n this.isOnCart = true\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 }\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 if (this.product) {\n this.body = this.product\n if (this.isSSR) {\n this.fetchProduct()\n }\n } else {\n this.fetchProduct()\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&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}},[_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\"}},[_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',{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)?_vm._t(\"unavailable\",function(){return [_c('p',{staticClass:\"product__unavailable\"},[_vm._v(\" \"+_vm._s(_vm.i19unavailable)+\" \")])]}):(!_vm.isInStock)?_vm._t(\"out-of-stock\",function(){return [_c('p',{staticClass:\"product__out-of-stock\"},[_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")])]}):[_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.hasBuyButton)?_c('div',{staticClass:\"product__buy\"},[_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:\"fas fa-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ hasClickedBuy: _vm.hasClickedBuy, isOnCart: _vm.isOnCart })],2)]):_vm._e(),(_vm.isLowQuantity)?_c('p',{staticClass:\"product__short-stock\"},[_c('i',{staticClass:\"fas fa-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(\"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:\"fas fa-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._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}})}),1)}),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:\"fas fa-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._t(\"shipping\",function(){return [_c('shipping-calculator',{attrs:{\"shippedItems\":[Object.assign({}, _vm.body,\n {product_id: _vm.body._id,\n quantity: _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.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&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":""}