1!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1153)}({0:function(t,e,n){"use strict";n.d(e,"s",(function(){return i})),n.d(e,"v",(function(){return o})),n.d(e,"y",(function(){return a})),n.d(e,"t",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"w",(function(){return s})),n.d(e,"m",(function(){return d})),n.d(e,"x",(function(){return T})),n.d(e,"f",(function(){return S})),n.d(e,"z",(function(){return g})),n.d(e,"b",(function(){return _})),n.d(e,"g",(function(){return p})),n.d(e,"u",(function(){return m})),n.d(e,"q",(function(){return v})),n.d(e,"p",(function(){return C})),n.d(e,"B",(function(){return P})),n.d(e,"A",(function(){return R})),n.d(e,"o",(function(){return I})),n.d(e,"h",(function(){return L})),n.d(e,"j",(function(){return b})),n.d(e,"n",(function(){return O})),n.d(e,"l",(function(){return w})),n.d(e,"i",(function(){return A})),n.d(e,"d",(function(){return x})),n.d(e,"r",(function(){return y})),n.d(e,"k",(function(){return k})),n.d(e,"e",(function(){return N})),n.d(e,"C",(function(){return W})),n.d(e,"c",(function(){return D})),n.d(e,"D",(function(){return V})),n.d(e,"F",(function(){return U})),n.d(e,"G",(function(){return X})),n.d(e,"J",(function(){return H})),n.d(e,"S",(function(){return G})),n.d(e,"H",(function(){return F})),n.d(e,"I",(function(){return j})),n.d(e,"E",(function(){return B})),n.d(e,"O",(function(){return K})),n.d(e,"Q",(function(){return z})),n.d(e,"R",(function(){return $})),n.d(e,"K",(function(){return J})),n.d(e,"L",(function(){return Q})),n.d(e,"P",(function(){return Z})),n.d(e,"M",(function(){return tt})),n.d(e,"N",(function(){return et})),n.d(e,"T",(function(){return nt}));var r=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},i="https://store.enphase.com",o="https://media-store.enphase.com/catalog/product",a="https://store.enphase.com",u="nohc3xmny7ei605jzcjdroqu46p2ch29",c="P8P92O5CB5NBAKCX",s=a+"/customer/account/login",d="/referer/",l=["de-de","es-es","nl-nl","fr-be","nl-be","fr-fr","el-gr","en-nl","en-eu","en-gb","de-at","it-it","sv-se","sq-al","bg-bg","hr-hr","el-cy","tr-cy","cz-cz","da-dk","et-ee","en-fi","hu-hu","en-ie","lv-lv","lt-lt","fr-lu","en-mt","nb-no","pl-pl","pt-pt","ro-ro","sk-sk","sl-si","fr-ch","tr-tr"],f=["en-au"],E=["en-in"],M=["nb-no"],T=i+"/lpp/index/index/iframe/open/",h="en"==window.language?"":"_".concat(window.language),S={cartId:"STYXKEY_ep_store_cart_id".concat(h,"_").concat("live"),quoteId:"STYXKEY_ep_store_quote_id".concat(h,"_").concat("live"),quantity:"STYXKEY_cart_items_quantity".concat(h,"_").concat("live"),utmStore:"STYXKEY_utm_store",customerToken:"STYXKEY_ep_store_customer_token",installerBooking:"STYXKEY_installer_booking",belgiumStore:"store",affiliate:"ep_ah"},g=[{key:"utm_source",enabled:!0},{key:"utm_medium",enabled:!0},{key:"utm_campaign",enabled:!0},{key:"utm_term",enabled:!1},{key:"utm_content",enabled:!1},{key:"utm_id",enabled:!1},{key:"gclid",enabled:!1},{key:"fbclid",enabled:!1},{key:"msclkid",enabled:!1}],_={add_to_cart:{method:"post",url:"item/trk",enabled:!0},remove_from_cart:{method:"post",url:"item/trk",enabled:!1},update_cart_item:{method:"post",url:"item/trk",enabled:!1},cell_modem_add_to_cart:{method:"post",url:"item/trk",enabled:!1}},p={path:"/",expires:1,secure:!0},m={path:"/",expires:1,secure:!0,domain:".enphase.com"},v={PRODUCT_TYPE_CONFIGURABLE:"configurable",PRODUCT_TYPE_SIMPLE:"simple",PRODUCT_TYPE_VIRTUAL:"virtual"}
1,C={"Extra Small":"XS",Small:"S",Medium:"M",Large:"L","X Large":"XL","2X Large":"2XL","3X Large":"3XL","4X Large":"4XL","5XL":"5XL",NB:"NB","6MOS":"6MOS","12MOS":"12MOS","18MOS":"18MOS","24MOS":"24MOS"},P=["WARR-EXT-ENCHARGE-5YR"],R="TRF-OWN",I="WARR-EXTN",L=["EM-UPGRADE","EM-UPGRADE-LIFETIME","EM-UPGRADE-LTM","EM-UPGRADE-MONTHLY","EM-UPGRADE-MTH","EM-UPGRADE-MTL"],b=["GEN-INT-TOK"],O=["3-YEAR-EXTN","8-YEAR-EXTN","LPP"],w="installation/availability",A=["ENPH-CARE"],x=["CELLMODEM-CS-AT-03","CELLMODEM-M1","CELLMODEM-03","CELLMODEM-06-AT-05","CELLMODEM-06-SP-05"],y=r(r(r(r(r(r(r(r([],L,!0),[R],!1),b,!0),["SERV-EVINST-ONSITE","SERV-SYSHEALTH-ONSITE","SERV-SYSINT-ONSITE"],!0),O,!0),["DRS-RES-DESIGN-REVIEW","GEN-INT-TOK","CELLMODEM-CS-AT-02","PMT-ELECT-REVIEW","PMT-STRUCT-REVIEW","PMT-PHYSICAL-STAMPS","PMT-CARPORT-INSTALL","PMT-PERMIT-SOLAR","PMT-PERMIT-STORAGE","PMT-RE-ELECT-REVIEW","PMT-RE-STRUCT-REVIEW"],!0),[I],!1),x,!0),k=["DUMMY-SKU-HIDDEN"],N=["CELLMODEM-M1","COMMS-CELLMODEM-M1","CELLMODEM-02","X-IQ-AM1-240-3C-ES"],W=["WARR-EXT-ENCHARGE-5YR","WARR-EXT-5YR"],D=["CELLMODEM-CS-AT-03","CELLMODEM-CS-AT-05"],V={"de-de":"DE","en-gb":"GB",en:"US","fr-fr":"FR","fr-lu":"LU","it-it":"IT","nl-nl":"NL","es-es":"ES","pt-pt":"PT","nl-be":"BE","fr-be":"BE","pl-pl":"PL","en-au":"AU","es-mx":"MX","sv-se":"SE","da-dk":"DK","el-gr":"GR","fr-ch":"CH","de-ch":"CH","it-ch":"CH","ja-jp":"JP","en-in":"IN"};r(r(r(r([],["PMT-PERMIT-SOLAR","PMT-COMM-PERMIT-SOLAR-30","PMT-COMM-PERMIT-SOLAR-31-50","PMT-COMM-PERMIT-SOLAR-51-100","PMT-COMM-PERMIT-SOLAR-101-200","PMT-COMM-PERMIT-SOLAR-201-250","PMT-COMM-PERMIT-SOLAR-251-300","PMT-COMM-PERMIT-SOLAR-301-400","PMT-COMM-PERMIT-SOLAR-401-500","PMT-PERMIT-STORAGE","PMT-ELECT-REVIEW","PMT-COMM-ELECT-REVIEW-30","PMT-COMM-ELECT-REVIEW-31-50","PMT-COMM-ELECT-REVIEW-51-100","PMT-COMM-ELECT-REVIEW-101-200","PMT-COMM-ELECT-REVIEW-201-250","PMT-COMM-ELECT-REVIEW-251-300","PMT-COMM-ELECT-REVIEW-301-400","PMT-COMM-ELECT-REVIEW-401-500","PMT-STUCT-REVIEW","PMT-COMM-STRUCT-REVIEW-30","PMT-COMM-STRUCT-REVIEW-31-50","PMT-COMM-STRUCT-REVIEW-51-100","PMT-COMM-STRUCT-REVIEW-101-200","PMT-COMM-STRUCT-REVIEW-201-250","PMT-COMM-STRUCT-REVIEW-251-300","PMT-COMM-STRUCT-REVIEW-301-400","PMT-COMM-STRUCT-REVIEW-401-500","PMT-RE-ELECT-REVIEW","PMT-COMM-RE-ELECT-REVIEW-30","PMT-COMM-RE-ELECT-REVIEW-31-50","PMT-COMM-RE-ELECT-REVIEW-51-100","PMT-COMM-RE-ELECT-REVIEW-101-200","PMT-COMM-RE-ELECT-REVIEW-201-250","PMT-COMM-RE-ELECT-REVIEW-251-300","PMT-COMM-RE-ELECT-REVIEW-301-400","PMT-COMM-RE-ELECT-REVIEW-401-500","PMT-RE-STUCT-REVIEW","PMT-COMM-RE-STRUCT-REVIEW-30","PMT-COMM-RE-STRUCT-REVIEW-31-50","PMT-COMM-RE-STRUCT-REVIEW-51-100","PMT-COMM-RE-STRUCT-REVIEW-101-200","PMT-COMM-RE-STRUCT-REVIEW-201-250","PMT-COMM-RE-STRUCT-REVIEW-251-300","PMT-COMM-RE-STRUCT-REVIEW-301-400","PMT-COMM-RE-STRUCT-REVIEW-401-500","PMT-PHYSICAL-STAMPS","PMT-PHYSICAL-STAMPS-30","PMT-PHYSICAL-STAMPS-31-50","PMT-PHYSICAL-STAMPS-51-100","PMT-PHYSICAL-STAMPS-101-200","PMT-PHYSICAL-STAMPS-201-250","PMT-PHYSICAL-STAMPS-251-300","PMT-PHYSICAL-STAMPS-301-400","PMT-PHYSICAL-STAMPS-401-500","PMT-CARPORT-INSTALL","PMT-COMM-CARPORT-INSTALL"],!0),O,!0),["SGIP-RSE","SGIP-SDS","SGIP-ER","SGIP-LSS"],!0),["DRS-COMM-DESIGN-REVIEW","DRS-RES-DESIGN-REVIEW"],!0);function U(t,e){var n,r,i=parseFloat(t),o={maximumFractionDigits:2,minimumFractionDigits:2},a=(null==e?void 0:e.currencySymbol)+i.toLocaleString("en-US",o);if(z()){var u=window.language,c=""!==(null===(n=null==e?void 0:e.priceNumberFormat)||void 0===n?void 0:n.trim())?null===(r=null==e?void 0:e.priceNumberFormat)||void 0===r?void 0:r.replace("_","-"):"en-US";"en-gb"==u?a=(null==e?void 0:e.currencySymbol)+i.toLocaleString("en-US",o):("nb-NO"==c&&(c="no-NB"),a=i.toLocaleString(c,o)+" "+(null==e?void 0:e.currencySymbol)),"de-de"!=u&&(a=a+' <br><span class="cart-modal__bottom__subtotal__price__value__price_tax">'+(null==e?void 0:e.taxText)+"</span>")}else f.includes(window.language)?a=(null==e?void 0:e.currencySymbol)+i.toLocaleString("en-AU",o):E.includes(window.language)&&(a=(null==e?void 0:e.currencySymbol)+" "+i.toLocaleStr
1ing("en-IN"));return a}var Y=/\s*[-\u2013\u2014]\s*/g;function X(t,e){var n=function(t){if(t instanceof Date)return isNaN(t.getTime())?null:t;var e=String(t||"");if(!e)return null;var n=/^\d{4}-\d{2}-\d{2}/.test(e)?new Date(e.slice(0,10)+"T00:00:00"):new Date(e);return isNaN(n.getTime())?null:n}(t);return n?$()?n.toLocaleDateString("nb-NO",{day:"numeric",month:"long"}):e?e[n.getMonth()]+" "+n.getDate():String(t):String(t||"")}function H(t){if(!t)return"";if($()){var e=function(t){for(var e,n=[],r=/(\d{1,2})(?:[:.](\d{2}))?\s*(am|pm)?/gi;null!==(e=r.exec(t));){var i=parseInt(e[1],10),o=e[2]||"00",a=(e[3]||"").toLowerCase();"pm"===a&&i<12&&(i+=12),"am"===a&&12===i&&(i=0),n.push((i<10?"0":"")+i+"."+o)}return n}(t);return e.length>=2?"kl. "+e[0]+" til "+e[1]:String(t)}return String(t).replace(/\u2013|\u2014/g,"â").replace(Y," â ").replace(/\b(\d{1,2})(?::(\d{2}))?\s*(am|pm)\b/gi,(function(t,e,n,r){return e+":"+(n||"00")+" "+r.toUpperCase()})).trim()}function G(t,e){return e?$()?t+" "+e:t+", "+e:t}function F(t,e,n){return G(X(t,n),e?H(e):"")}function q(t,e,n){var r="morning"===t,i=r?"9:00 - 12:00":"14:00 - 17:00";return n||!$()?(r?"Morning":"Afternoon")+" ("+(e?String(e).replace(Y," - ").trim():i)+")":(r?"Formiddag":"Ettermiddag")+" "+H(e||i)}var j=function(t,e){return q(t,e,!1)},B=function(t,e){return q(t,e,!0)};function K(){var t=a+"/storefront";return"en"!=window.language&&(t+="/"+window.language),t+"/customer/account/login"}function z(){return l.includes(window.language)}function $(){return M.includes(window.language)}function J(t){var e=t.price;return z()&&t.extension_attributes&&t.extension_attributes.original_price_with_tax&&t.extension_attributes.original_price_with_tax.value?e=t.extension_attributes.original_price_with_tax.value:z()&&t.extension_attributes&&t.extension_attributes.price_without_tax&&t.extension_attributes.price_without_tax.value?e=t.extension_attributes.price_without_tax.value:z()&&t.extension_attributes&&t.extension_attributes.price_with_tax&&t.extension_attributes.price_with_tax.value&&(e=t.extension_attributes.price_with_tax.value),e}function Q(t){var e;return null===(e=t.extension_attributes)||void 0===e?void 0:e.store_view_currency}function Z(t){var e,n;return null!==(n=null===(e=t.extension_attributes)||void 0===e?void 0:e.store_price_suffix)&&void 0!==n?n:""}function tt(t){var e,n;return(null===(n=null===(e=t.extension_attributes)||void 0===e?void 0:e.drupal_price_format_check)||void 0===n?void 0:n.trim())||void 0}function et(t){var e,n,r,i,o,a=t.price,u=0;return t.extension_attributes&&(t.extension_attributes.original_price_with_tax&&(u=null!==(r=null===(n=null===(e=null==t?void 0:t.extension_attributes)||void 0===e?void 0:e.price_without_tax)||void 0===n?void 0:n.value)&&void 0!==r?r:null===(o=null===(i=null==t?void 0:t.extension_attributes)||void 0===i?void 0:i.price_with_tax)||void 0===o?void 0:o.value),u&&t.extension_attributes&&t.extension_attributes.original_price_with_tax&&t.extension_attributes.original_price_with_tax.value?(a=parseFloat(String(u)),t.extension_attributes.referral_details&&t.extension_attributes.referral_details.referral_applied&&(a=parseFloat(String(t.extension_attributes.referral_details.referral_price)))):t.extension_attributes.referral_details&&t.extension_attributes.referral_details.referral_applied&&(a=parseFloat(String(t.extension_attributes.referral_details.referral_price)))),a}function nt(t){return String(t).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}},1153:function(t,e,n){"use strict";n.r(e);n(72),n(76),n(82),n(1154);var r=n(6),i=n(0);window.storeCategory=function(){var t=window.MagentoApi;return{isLoading:!1,products:[],errorMessage:"",fetchedProducts:[],productElements:[],errorSingleProductInCart:!1,addToCartSkuState:{},priceDetails:null,init:function(){var t=this;t.productElements=this.$el.querySelectorAll("[data-sku] :not([data-hide-price])"),t.productElements.forEach((function(e){t.products.push(e.dataset.sku)})),window.addEventListener("store-cart-loaded",(function(){t.checkEMUpgradeInCart()})),this.fetchProducts()},fetchProducts:function(){if(this.products.length){var e=this;t.shop.getProductsWithFields(this.products.join(),"").then((function(t){t instanceof Error?(e.isLoading=!1,e.errorMessage="An error occurred: "+t.message):t.items&&t.items.length&&(e.fetchedProducts=t.items,e.updateProductElements())}))}},isInStock:function(t){if(this.fetchedProducts.length){var e=this.fetchedProducts.find((function(e){return e.sku===t}));if(e)return e.isInStock}return null},getFetchedProduct:function(t){return this.fetchedProducts.find((function(e){return e.sku===t}))},hasInstallationServiceSku:function(t){var e=this.getFetchedProduct(t);return e&&e.extension_attributes&&!!e.extension_attributes.spd_sku},updateProductElements:function(){var t=this;
1this.productElements.forEach((function(e,n){var r=null,o=t.fetchedProducts.find((function(t,n){return t.sku===e.dataset.sku&&(r=n,!0)}));if(o){1===o.status&&o.type_id===i.q.PRODUCT_TYPE_SIMPLE?t.verifyStockStatus(o.sku,r):t.fetchedProducts[r].isInStock=null;var a=e.querySelector(".store-card__price"),u=e.querySelector(".store-card__footer");if(a){if(i.k.includes(o.sku))u.classList.add("store-card__footer--price-none");else{var c=a.querySelector(".store-card__price-text");this.priceDetails={currencySymbol:Object(i.L)(o),taxText:Object(i.P)(o),priceNumberFormat:Object(i.M)(o)},c.innerHTML=t.getFormattedPrice(Object(i.K)(o),this.priceDetails)}a.classList.remove("store-card__price--loading"),u.classList.remove("store-card__footer--price-loading")}var s=e.querySelector(".store-card__image--store"),d=e.querySelector(".store-card__image--store img"),l=o.media_gallery_entries.find((function(t){return"image"===t.media_type&&!t.disabled}));d&&l&&(s.classList.add("store-card__image--hidden"),d.onload=function(){var e=setInterval((function(){d.naturalWidth>0&&d.naturalHeight>0&&(clearInterval(e),t.isLoadingImage=!1,s.classList.remove("store-card__image--hidden"))}),20)},d.src=i.v+l.file)}})),this.isLoading=!1},getStoreCategoryName:function(){var t=this.$el.querySelectorAll("[data-category]")[0];return t?t.getAttribute("data-category"):""},getFormattedPrice:function(t,e){return Object(i.F)(t,e)},verifyStockStatus:function(e,n){var r=this;this.isLoading=!0,t.shop.getProductStockStatus(e).then((function(t){t instanceof Error||(1===t.stock_item.min_sale_qty?r.fetchedProducts[n].isInStock=1===t.stock_status:r.fetchedProducts[n].isInStock=null)}))},addToCart:function(e,n){if(e.stopPropagation(),e.preventDefault(),this.allowAddToCart(n)){var r=this;t.cart.cartId||t.user.loggedIn?(this.isLoading=!0,r.addItemToCart(n)):(this.isLoading=!0,t.cart.createGuestCart().then((function(){r.addItemToCart(n)})))}return!1},addItemToCart:function(e){if(!this.errorSingleProductInCart){var n=this,i=new r.a(e,1,t.cart.cartId,[]);return n.addToCartSkuState[e]="adding",t.cart.addToCart(i).then((function(r){r instanceof Error||r&&r[0]&&r[0].error?(n.isLoading=!1,n.addToCartSkuState[e]="add",window.scrollTo(0,0)):(n.addToCartSkuState[e]="added",setTimeout((function(){n.addToCartSkuState[e]="add"}),1500),t.cart.getCart().then((function(){n.$component("storecart")&&(n.$component("storecart").setCartItems(!0),n.isLoading=!1)})))})),!1}},allowAddToCart:function(t){if(this.fetchedProducts.length&&!this.errorSingleProductInCart){var e=this.getFetchedProduct(t);if(e)return e.isInStock&&"simple"===e.type_id}return!1},checkEMUpgradeInCart:function(){this.errorSingleProductInCart=t.cart.cartItems.find((function(t){return i.r.includes(t.sku)}))},disableAddToCart:function(t){return!this.isInStock(t)||this.errorSingleProductInCart||["adding","added"].includes(this.addToCartSkuState[t])}}}},1154:function(t,e,n){},5:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},6:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var r=function(t,e){this.option_id=t,this.option_value=e},i=function(t,e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),this.sku=t,this.qty=e,this.quote_id=n,r&&(this.product_option={extension_attributes:{configurable_item_options:r}},o&&(this.product_option.extension_attributes.custom_options=o)),i&&(this.serial_numbers=i)},o=function(t,e){this.sku=t,e&&(this.quote_id=e)},a=function(t,e){this.label=t,this.value=e}},72:function(t,e,n){"use strict";n.r(e),function(t){n(73);window.asideNavigation=function(e){return{open:e.open,isMobile:!1,activeMenuItem:null,counter:0,anch
1orPoints:[],scenes:[],init:function(){var t=this,e=this;window.addEventListener("resizeend",(function(){e.setMode(),e.initScenes()})),this.setMode(),this.$el.querySelectorAll("a").forEach((function(t,n){e.anchorPoints.push(t.hash),e.counter++,t.addEventListener("click",(function(e){if("svg"===e.target.tagName.toLowerCase()||"use"===e.target.tagName.toLowerCase())return e.preventDefault(),e.stopPropagation(),!1;if(t.hash&&t.origin+t.pathname===window.location.origin+window.location.pathname){e.preventDefault();var n=document.querySelector(t.hash);if(n){var r=n.offsetTop-50;window.scrollTo({top:r,behavior:"smooth"})}return!1}t.origin+t.pathname!==window.location.origin+window.location.pathname&&window.open(t.href,"_self")}))})),setTimeout((function(){t.initScenes()}))},setMode:function(){this.isMobile=t.isMobileCheck(),this.open=!this.isMobile},initScenes:function(){if(this.anchorPoints.length){var t=this;this.anchorPoints.forEach((function(e,n){if(e){var r=document.querySelector(e);if(r)ScrollTrigger.create({trigger:r,start:"top 25%",end:"bottom 25%",onEnter:function(e){t.setActiveMenuItem(n)},onEnterBack:function(e){t.setActiveMenuItem(n)}})}}))}},setActiveMenuItem:function(t){for(var e=0;e<this.counter;e++)this.$component("menuItem"+e).active=e===t?1:0},isOutY:function(){return 200+this.$el.getBoundingClientRect().height>window.innerHeight}}}}.call(this,n(5))},73:function(t,e,n){},76:function(t,e,n){},82:function(t,e,n){"use strict";n.r(e),function(t){n(83);window.storeCategoriesNav=function(e){var n=("en"==window.language?"":"/"+window.language)+"/api/v1/store-product-categories",r=("en"==window.language?"":"/"+window.language)+"/store/";return{isLoading:!1,navItems:[],parentItems:[],childItems:[],open:!0,openNavItems:[],activeNavItem:e.activeItem,activeNavLabel:"",activeNavDescription:"",isMobile:!1,init:function(t){"authenticated"==t&&(n=("en"==window.language?"":"/"+window.language)+"/api/v1/store-product-categories-admin");var e=this;window.addEventListener("resizeend",(function(){e.setMode()})),this.setMode(),this.fetchStoreCategories()},fetchStoreCategories:function(){var t=this;this.isLoading=!0;var e=this;return fetch(n).then((function(e){return t.isLoading=!1,e.json()})).then((function(n){t.navItems=n,n&&n.length&&(t.parentItems=n.filter((function(t){return e.isActiveItem(t)&&(e.activeNavLabel=t.name,e.activeNavDescription=t.description__value,e.setOpenNavItems(t)),""===t.parent_target_id})),t.parentItems.forEach((function(t){var n=e.getChildItems(t.tid);n.length&&n.forEach((function(n){e.isActiveItem(n)&&e.openNavItems.push(t.tid)}))})))})).catch((function(e){t.isLoading=!1,t.error=!0,t.errorMessage="An error occurred: "+e.message})),!1},getChildItems:function(t){return this.navItems.filter((function(e){return e.parent_target_id===t}))},setMode:function(){var e=this.isMobile;this.isMobile=t.isMobileCheck(),this.isMobile?e!==this.isMobile&&(this.open=!this.isMobile):this.open=!0},getLink:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!==e?r+this.getSlug(e)+"/"+this.getSlug(t):r+this.getSlug(t)},getSlug:function(t){return t.replace(/\s+/g,"-").toLowerCase()},handleMenuItemClick:function(t){this.setOpenNavItems(t)||window.open(this.getLink(t.name),"_self")},isActiveItem:function(t){return this.activeNavItem===t.tid},setOpenNavItems:function(t){if(this.getChildItems(t.tid).length){var e=this.openNavItems.indexOf(t.tid);return e>-1?this.openNavItems.splice(e,1):this.openNavItems.push(t.tid),!0}return!1}}}}.call(this,n(5))},83:function(t,e,n){}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.