PageSourceSearch

https://www.njoy.global/js/chunks/Series-DyvytxR7.js

js njoy.global collected 2026-10-10 01:14:59 UTC 23,722 bytes, 2 lines download raw bytes

1import{_ as $,m as M,i as U,M as H,F as j,e as B,w as R,c as d,r as z,a as h,j as i,g as p,p as m,b as y,d as w,n as C,t as l,h as P,f as b,N as S,o as r,l as v,x as I}from"../index-DCcQhA5c.js";import{T as J,S as W,I as G,F as Q,C as K,B as X}from"./TileList-BQ6FL3Pd.js";import{O as Y}from"./OldBanner-DBI2wiDl.js";import"./pagination-CfYKWKQm.js";const Z={components:{Banner:X,ContactForm:K,Faq:Q,FormObject:j,IconList:G,Modal:H,OldBanner:Y,Slider:W,TileList:J},computed:{},created:function(){this.setMetaTitle("Products"),this.setMetaDescription("Our products"),this.getCategory(),this.language==="ro"&&(this.categorySlug==="seria-astris"||this.categorySlug==="seria-ascet"||this.categorySlug==="bastion-wf5k")&&gtag("event","page_view",{page_title:this.$route.name,page_location:window.location.href,page_path:this.$route.path,send_to:"G-1WMLLFQTBD"}),window.addEventListener("resize",this.windowResized),B.$on("content-height-changed",this.sendPageHeightToParent)},data:function(){return{activeFilters:{},category:null,dropdownIsActive:!1,filters:null,headerBanner:null,headerBannerMinHeight:null,isVisibleAllVariantAttributes:[],pageBannerStyle:null,pageBannerFeaturedImageContainerStyle:null,pageBannerFeaturedImageStyle:null,parentCategories:[],products:null,newCartProduct:null,newCartProductIndex:0,selectedVariants:{},showCartModal:!1,showPreorderModal:!1,showStockErrorModal:!1,sort:"name|asc",stockLoaded:!1,variantProducts:[]}},directives:{imagesLoaded:U},methods:{addToCart:function(t,e,n){!t.price.stoc||t.price.is_available==="0"||t.price.price===0||(this.$Progress.start(),this.newCartProduct=t,this.$http.get(this.apiBaseUrl+"product/"+t.id+"?pn="+t.pn+"&lang="+this.language+"&country="+this.country+"&currency="+this.currency).then((function(o){t=o.body,this.hasInStock(t.stockId).then(u=>{if(u===!1){this.showStockErrorModal=!0;return}Object.keys(this.selectedVariants).length>0&&this.selectedVariants[n]&&Object.keys(this.selectedVariants[n]).length>0&&(t.selectedVariants={},Object.assign(t.selectedVariants,this.selectedVariants[n]));let a=!1,c=this.cart?this.cart:[];if(c.forEach(function(g){g.id===t.id&&(!g.hasOwnProperty("selectedVariants")||!t.hasOwnProperty("selectedVariants")||g.hasOwnProperty("selectedVariants")&&t.hasOwnProperty("selectedVariants")&&JSON.stringify(g.selectedVariants)===JSON.stringify(t.selectedVariants))&&(g.quantity=g.quantity+e<=t.price.stoc?g.quantity+e:t.price.stoc,a=!0)}),!a){t.quantity=e;let g={};Object.assign(g,t),g.shortDescription=[],g.folders&&g.folders["Short description"]&&(g.shortDescription=g.folders["Short description"]),c.push(g)}this.updateCart(c),this.showCartModal=!0}).catch(u=>console.error(u)).finally(()=>this.$Progress.finish())}).bind(this),(function(o){console.log("There was an error fetching data from API. Error code "+o.status),this.$Progress.fail()}).bind(this)))},calculateHeaderBannerStyle:function(){if(this.pageBannerStyle=null,!this.headerBanner||!this.headerBanner[this.$mq+"_featured_image"])return null;let t=new Image;t.src=this.filesBaseUrl+this.headerBanner[this.$mq+"_featured_image"],t.onload=()=>{this.pageBannerStyle="margin-bottom: "+t.height/2+"px",this.pageBannerFeaturedImageContainerStyle="bottom: -"+t.height/2+"px",(this.headerBanner[this.$mq+"_background_full_width"]==="0"||this.$mq==="mobile")&&(this.pageBannerFeaturedImageStyle=" width: "+t.width*100/1344+"%",t.height/2*(t.width*100/1344/100),this.$nextTick((function(){if(!this.$refs.featuredImage)return null;let e=this.$refs.featuredImage.offsetHeight;this.pageBannerStyle="margin-bottom: "+e/2+"px",this.pageBannerFeaturedImageContainerStyle="bottom: -"+e/2+"px",this.headerBannerMinHeight=this.$refs.headerBanner.$refs.contentContainer.offsetHeight+e/2}).bind(this)))}},closeCartModal:function(){this.showCartModal=!1},closePreorderModal:function(){this.showPreorderModal=!1},getCategory:function(){this.$Progress.start(),this.category=null,this.$http.get(this.apiBaseUrl+"category/"+this.categorySlug+"?lang="+this.language+(this.$route.query.preview?"&preview=true":"")).then((function(t){if(this.category=t.body,this.category.slug!==this.$route.params.category){this.$router.push({name:"products.series",params:{category:this.category.slug}});return}this.headerBanner=this.category.header_object,this.headerBanner&&this.headerBanner.mobile_featured_image===null&&(this.headerBanner.mobile_featured_image=this.headerBanner.desktop_featured_image),this.category.background_color===""&&(this.category.background_color="#000000"),this.setMetaTitle(this.category.name),this.setMetaDescription(this.category.description),this.$root.isRouteLoaded=!0,this.category.meta_title!==""&&this.category.meta_title!==null&&this.setMetaTitle(this.category.meta_title),this.getProducts(),this.calculateHeaderBannerStyle(),this.parentCategories=[],this.category.parent_id!=0&&this.$http.get(this.apiBaseUrl+"category/"+this.category.parent_id+"?lang="+this.language).then((function(e){this.parentCategories.push(e.body),e.body.parent_id!=0&&this.$http.get(this.apiBaseUrl+"category/"+e.body.parent_id+"?lang="+this.language).then((function(n){this.parentCategories.unshift(n.body)}).bind(this))}).bind(this))}).bind(this),(function(t){t.status===404?this.$router.push({name:"error404"}):console.log("There was an error fetching data from API. Error code "+t.status),this.$Progress.fail(),this.$root.isRouteLoaded=!0}).bind(this))},getProduct:function(t,e){let n=[];Object.keys(this.selectedVariants).length>0&&Object.keys(this.selectedVariants[e]).length&&Object.keys(this.selectedVariants[e]).forEac
1h((function(o,u){n.push(encodeURI("attributes["+u+"][id]="+o+"&attributes["+u+"][value]="+this.selectedVariants[e][o]))}).bind(this)),this.$http.get(this.apiBaseUrl+"product/"+t.slug+"?pn="+t.pn+"&lang="+this.language+"&country="+this.country+"&currency="+this.currency+"&"+n.join("&")).then((function(o){let u=o.body;this.setProduct(u)}).bind(this))},getProducts:function(){this.$Progress.start(),this.products=[],this.stockLoaded=!1,this.isVisibleAllVariantAttributes=[];let t="lang="+this.language+"&country="+this.country+"&currency="+this.currency+"&filter[category_id]="+this.category.id+"&filter[with_child]=true";Object.keys(this.activeFilters).forEach((function(e){Object.keys(this.activeFilters[e]).forEach((function(n){this.activeFilters[e][n]&&(t+="&filter[attributes]["+e+"][]="+n)}).bind(this))}).bind(this)),this.$http.get(this.apiBaseUrl+"products?"+t).then((function(e){this.products=e.body,parseInt(this.category.disable_overview)&&this.products[0]&&this.$router.push({name:"products.show",params:{product:this.products[0].slug,pn:this.products[0].pn}});let n=[];this.products.forEach((function(o,u){n.push(o.stockId),o.shortDescription=[],o.folders&&o.folders["Short description"]&&(o.shortDescription=o.folders["Short description"]),o.variant_attributes.length>0&&o.variant_attributes.forEach((function(a){a.values.length>0&&a.values.forEach((function(c){a.value==c.id&&this.selectVariant(o,u,a.id,c.id)}).bind(this))}).bind(this)),this.getProductVariants(o,u),this.stockLoaded=!0}).bind(this)),this.$Progress.finish(),this.$nextTick(()=>{this.sendPageHeightToParent()})}).bind(this),(function(e){console.log("There was an error fetching data from API. Error code "+e.status),this.$Progress.fail(),this.$root.isRouteLoaded=!0}).bind(this))},getProductVariants:function(t,e){if(t.variant_attributes.length===0)return;let n=this.isInStock(t),o=null;t.variant_attributes.forEach((function(u){u.values.length!==0&&u.values.forEach((function(a){if(this.variantProducts[e]&&this.variantProducts[e][u.id]&&this.variantProducts[e][u.id][a.id])return;let c=[];c.push(encodeURI("attributes["+a.id+"][id]="+u.id+"&attributes["+a.id+"][value]="+a.id)),this.$http.get(this.apiBaseUrl+"product/"+t.slug+"?pn="+a.pn+"&lang="+this.language+"&country="+this.country+"&currency="+this.currency+"&"+(this.$route.query.preview?"&only_approved=false&preview=true":"")+c.join("&")).then((function(g){this.variantProducts[e][u.id]||(this.variantProducts[e][u.id]={}),this.variantProducts[e][u.id][a.id]=g.body,!n&&this.isInStock(g.body)&&(o={variantID:u.id,variantValueID:a.id}),o&&(this.selectVariant(t,e,o.variantID,o.variantValueID,!0),n=!0)}).bind(this),(function(g){console.log("There was an error fetching data from API. Error code "+g.status)}).bind(this))}).bind(this))}).bind(this))},hasPromotion:function(t){return t.wp_status==="active"&&(t.price.is_available==="0"||parseFloat(t.price.price)===0||parseFloat(t.price.stoc)===0)&&typeof t.promotion<"u"&&t.promotion!==null&&parseFloat(t.promotion.price)>0},hideAllVariantAttributes:function(t){this.isVisibleAllVariantAttributes[t]=!1},imagesLoaded:function(){B.$emit("images-loaded")},isAvailable:function(t){return t.wp_status==="active"&&t.price.is_available==="1"&&parseFloat(t.price.price)>0},isInStock:function(t){return t.price.stoc>0&&t.wp_status==="active"&&t.price.is_available==="1"&&parseFloat(t.price.price)>0},isNotAvailable:function(t){return t.wp_status==="active"&&(t.price.is_available==="0"||parseFloat(t.price.price)===0)&&(typeof t.promotion>"u"||t.promotion===null||parseFloat(t.promotion.price)===0)},preorder:function(t,e){this.newCartProduct=t,this.newCartProductIndex=e,this.showPreorderModal=!0},preorderAddToCart:function(t,e,n){this.$Progress.start(),this.showPreorderModal=!1,this.newCartProduct=t,this.newCartProduct.price.price=t.promotion.price,this.$http.get(this.apiBaseUrl+"product/"+t.id+"?pn="+t.pn+"&lang="+this.language+"&country="+this.country+"&currency="+this.currency).then((function(o){t=o.body,Object.keys(this.selectedVariants).length>0&&this.selectedVariants[n]&&Object.keys(this.selectedVariants[n]).length>0&&(t.selectedVariants={}
1,Object.assign(t.selectedVariants,this.selectedVariants[n]));let u=!1,a=this.cart?this.cart:[];if(a.forEach(function(c){c.id===t.id&&(!c.hasOwnProperty("selectedVariants")||!t.hasOwnProperty("selectedVariants")||c.hasOwnProperty("selectedVariants")&&t.hasOwnProperty("selectedVariants")&&JSON.stringify(c.selectedVariants)===JSON.stringify(t.selectedVariants))&&(c.quantity=c.quantity+e,u=!0)}),!u){t.quantity=e,t.price.price=t.promotion.price;let c={};Object.assign(c,t),c.shortDescription=[],c.folders&&c.folders["Short description"]&&(c.shortDescription=c.folders["Short description"]),a.push(c)}this.updateCart(a),this.showCartModal=!0,this.$Progress.finish()}).bind(this),(function(o){console.log("There was an error fetching data from API. Error code "+o.status),this.$Progress.fail()}).bind(this))},selectVariant:function(t,e,n,o,u){u=typeof u<"u"?u:!1;let a=this.selectedVariants;this.selectedVariants={},this.selectedVariants=a,this.selectedVariants[e]={},this.selectedVariants[e][n]=o,this.variantProducts[e]||(this.variantProducts[e]={}),(!this.variantProducts[e][n]||this.variantProducts[e][n]&&!this.variantProducts[e][n][o])&&(this.variantProducts[e][n]={},this.variantProducts[e][n][o]=this.product),u&&(this.variantProducts[e]&&this.variantProducts[e][n]&&this.variantProducts[e][n][o]?this.setProduct(this.variantProducts[e][n][o]):this.getProduct(t,e))},sendPageHeightToParent:function(){if(!this.$route.query.modal)return null;window.parent.postMessage({message:"iframe-height",value:this.$el.clientHeight},"*")},setProduct:function(t){this.products.forEach((function(e,n){e.slug===t.slug&&(this.products[n].id=t.id,this.products[n].price=t.price,this.products[n].files=t.files,this.products[n].shortDescription=[],t.folders&&t.folders["Short description"]&&(this.products[n].shortDescription=t.folders["Short description"]))}).bind(this))},showAllVariantAttributes:function(t){this.isVisibleAllVariantAttributes[t]=!0,this.$nextTick((function(){let e=document.getElementById("variant-attributes-"+t);e.classList.add("has-nowrap"),e.offsetWidth<=235&&(this.isVisibleAllVariantAttributes[t]=!1),e.classList.remove("has-nowrap")}).bind(this))},resetFilters:function(){Object.keys(this.activeFilters).forEach((function(t){this.activeFilters[t]={}}).bind(this)),this.getProducts()},toggleDropdownClass:function(){this.dropdownIsActive=!this.dropdownIsActive},windowResized:function(){this.$nextTick((function(){this.calculateHeaderBannerStyle()}).bind(this))}},mixins:[M],props:{categorySlug:{required:!0,type:String}},watch:{categorySlug:function(){this.getCategory()},sort:function(){this.getProducts()}}},x={key:0,class:"product-category-page"},tt={class:"sub-header is-hidden-touch"},et={class:"sub-header__links is-flex"},st={class:"sub-header__mobile is-hidden-desktop has-text-centered"},it={class:"dropdown-trigger select"},at={class:"dropdown-menu",id:"dropdown-menu",role:"menu"},rt={class:"dropdown-content"},nt={class:"landing__view"},ot=["alt","src"],lt={class:"section"},ct={class:"container"},dt={class:"heading-2 is-black has-padding-top has-text-centered has-space-around has-margin"},ht={class:"columns is-multiline is-centered"},ut={class:"landing__product"},gt={class:"landing__product__name"},ft=["alt","src"],_t={class:"card__body"},pt={class:"card__body__variants__container"},yt={key:0,class:"card__body__variants__container__title"},mt=["onMouseover"],bt=["onClick"],vt=["id","onMouseleave"],kt={class:"card__body__variants__container__title"},wt={class:"card__body__variants"},Ct=["onClick"],Pt={class:"landing__product__info"},Vt={key:0,class:"landing__product__info__price"},St={key:1,class:"landing__product__info__not-available"},Bt={key:0},It={class:"card__footer__price"},$t=["innerHTML"],Mt=["onClick"],At=["onClick"],Ot={key:2,class:"landing__product__buy-btn btn is-block is-orange is-disabled"},Ft={key:3,class:"landing__product__buy-btn btn is-block is-orange is-disabled"},Tt={key:0,class:"column is-12-desktop is-marginless is-paddingless"},Et={class:"product__added-to-cart"},Dt={class:"columns is-gapless"},qt={class:"column is-3"},Lt=["alt","src"],Nt={class:"column"},Ut={class:"title is-5"},Ht={class:"is-flex"},jt={class:"product__added-to-cart"},Rt={class:"columns is-gapless"},zt={class:"column is-3"},Jt=["alt","src"],Wt={class:"column"},Gt={class:"title is-5"},Qt={class:"is-flex"},Kt={class:"product__added-to-cart"},Xt={class:"columns is-gapless"},Yt={class:"column is-3"},Zt=["alt","src"],xt={class:"column"},te={class:"title is-5"},ee={class:"is-flex"};function se(t,e,n,o,u,a){const c=b("router-link"),g=b("banner");b("old-banner");const A=b("slider"),O=b("icon-list"),F=b("tile-list"),T=b("contact-form"),E=b("faq"),D=b("form-object"),V=b("modal"),q=z("images-loaded");return t.category?R((r(),h("div",x,[i("div",tt,[i("nav",et,[parseInt(t.category.disable_overview)?d("",!0):(r(),p(c,{key:0,class:"is-active",to:{name:"products.series",params:{category:t.category.slug}}},{default:m(()=>[v(l(t.__("Overview")),1)]),_:1},8,["to"])),(r(!0),h(y,null,w(t.products,(s,f)=>(r(),p(c,{key:f,to:{name:"products.show",params:{product:s.slug,pn:s.pn}}},{default:m(()=>[v(l(s.name),1)]),_:2},1032,["to"]))),128))])]),i("div",st,[t.products?(r(),h("div",{key:0,class:C(["dropdown",{"is-active":t.dropdownIsActive}])},[i("div",it,[i("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",onClick:e[0]||(e[0]=(...s)=>a.toggleDropdownClass&&a.toggleDropdownClass(...s))},[i("span",null,l(t.__("Overview")),1),e[5]||(e[5]=i("span",{class:"icon is-small"},null,-1))])]),i("div",at,[i("div",rt,[P(c,{class:"dropdown-item is-active",to:{name:"products.series",params:{category:t.category.slug}},onClick:a.toggleDropdownClass},{default:m(()=>[v(l(t.__("Overview")),1)]),_:1},8,["to","onClick"]),(r(!0),h(y,null,w(t.products,(s,f)=>(r(),p(c,{class:"dropdown-item",key:f,to:{name:"products.show",params:{product:s.slug,pn:s.pn}}},{default:m(()=>[v(l(s.name),1)]),_:2},1032,["to"]))),128))])])],2)):d("",!0)]),i("div",nt,[i("div",{class:"landing__banner",style:S(t.pageBannerStyle)},[t.headerBanner?(r(),p(g,{key:0,ref:"headerBanner",banner:t.headerBanner,"min-height":t.headerBannerMinHeight},null,8,["banner","min-height"])):d("",!0),t.headerBanner&&t.headerBanner[this.$mq+"_featured_image"]?(r(),h("div",{key:1,class:C(["is-paddingless",{container:t.headerBanner[this.$mq+"_background_full_width"]==="0"}])},[i("div",{class:"landing__banner__main-product",style:S(t.pageBannerFeaturedImageContainerStyle)},[i("img",{ref:"featuredImage",alt:t.category.name,style:S(t.pageBannerFeaturedImageStyle),src:t.filesBaseUrl+t.headerBanner[this.$mq+"_featured_image"]},null,12,ot)],4)],2)):d("",!0)],4),i("section",lt,[i("div",ct,[i("h3",dt,l(t.__("Available products")),1),i("div",ht,[(r(!0),h(y,null,w(t.products,(s,f)=>(r(),h(y,null,[i("div",{class:C(["column is-paddingless-top",{"is-3-desktop":t.products.length%4!=1,"is-4-desktop":t.products.length%4==1}])},[i("div",ut,[P(c,{class:"",to:{name:"products.show",params:{product:s.slug,pn:s.pn}}},{default:m(()=>[i("span",gt,[i("strong",null,l(s.name),1)])]),_:2},1032,["to"]),P(c,{class:"landing__product__image",to:{name:"products.show",params:{product:s.slug,pn:s.pn}}},{default:m(()=>[i("img",{alt:s.name,src:t.filesBaseUrl+(s.files.Pictures&&s.files.Pictures[0]?s.files.Pictures[0].thumbnail_path!=""?s.files.Pictures[0].thumbnail_path:s.files.Pictures[0].path:"")},null,8,ft)]),_:2},1032,["to"]),i("div",_t,[i("div",pt,[s.variant_attributes?(r(!0),h(y,{key:0},w(s.variant_attributes,_=>(r(),h(y,null,[_.values.length>1?(r(),h("div",yt,l(_.name),1)):d("",!0),i("div",{class:"card__body__variants",onMouseover:k=>a.showAllVariantAttributes(f)},[_.values.length>1?(r(!0),h(y,{key:0},w(_.values,(k,L)=>(r(),h("a",{class:C(["card__body__variants__option",{"is-active":f in t.selectedVariants&&_.id in t.selectedVariants[f]&&t.selectedVariants[f][_.id]===k.id}]),onClick:N=>a.selectVariant(s,f,_.id,k.id,!0)},l(k.value),11,bt))),256)):d("",!0)],40,mt)],64))),256)):d("",!0)]),t.isVisibleAllVariantAttributes[f]?(r(),h("div",{key:0,class:"card__body__variants__container is-fullheight",id:"variant-attributes-"+f,onMouseleave:_=>a.hideAllVariantAttributes(f)},[s.variant_attributes?(r(!0),h(y,{key:0},w(s.variant_attributes,_=>(r(),h(y,null,[i("div",kt,l(_.name),1),i("div",wt,[_.values.length>1?(r(!0),h(y,{key:0},w(_.values,(k,L)=>(r(),h("a",{class:C(["card__body__variants__option",{"is-active":f in t.selectedVariants&&_.id in t.selectedVariants[f]&&t.selectedVariants[f][_.id]===k.id}]),onClick:N=>a.selectVariant(s,f,_.id,k.id,!0)},l(k.value),11,Ct))),256)):d("",!0)])],64))),256)):d("",!0)],40,vt)):d("",!0)]),t.shop?(r(),h(y,{key:0},[i("div",Pt,[i("div",null,[a.isAvailable(s)&&(a.isInStock(s)||!a.isInStock(s)&&!a.hasPromotion(s))?(r(),h("span",Vt,l(t.currencyPosition==="left"?t.currencySign:"")+l(s.price.price)+" "+l(t.currencyPosition==="right"?t.currencySign:""),1)):d("",!0),a.isNotAvailable(s)?(r(),h("span",St,l(t.__("Not available in your region")),1)):d("",!0)]),a.hasPromotion(s)?(r(),h("div",Bt,[i("span",It,[v(l(t.currencyPosition==="left"?t.currencySign:""),1),i("span",null,l(s.promotion.price),1),v(" "+l(t.currencyPosition==="right"?t.currencySign:""),1)])])):d("",!0),a.isAvailable(s)?(r(),h("span",{key:1,class:C(["landing__product__info__status",a.isInStock(s)?"has-icon-checked":"has-icon-delete"]),innerHTML:a.isInStock(s)?t.__("In stock"):t.__("Not in stock")},null,10,$t)):d("",!0)]),a.isAvailable(s)&&(a.isInStock(s)||!a.isInStock(s)&&!a.hasPromotion(s))?(r(),h("a",{key:0,class:C(["landing__product__buy-btn btn is-block is-orange",{"is-disabled":!s.price.stoc||s.price.is_available==="0"||s.price.price===0}]),onClick:_=>
1a.addToCart(s,1,f)},l(t.__("Add to cart")),11,Mt)):d("",!0),a.hasPromotion(s)?(r(),h("a",{key:1,class:"landing__product__buy-btn btn is-block is-blue",onClick:_=>a.preorder(s,f)},l(t.__("Pre-order")),9,At)):d("",!0),a.isNotAvailable(s)?(r(),h("a",Ot,l(t.__("Not available")),1)):d("",!0),s.wp_status==="discontinued"?(r(),h("a",Ft,l(t.__("Discontinued")),1)):d("",!0)],64)):d("",!0)])],2),t.products.length%4==1&&t.products.length%3==1&&f==t.products.length-3?(r(),h("div",Tt)):d("",!0)],64))),256))])])]),d("",!0),(r(!0),h(y,null,w(t.category.objects,s=>(r(),h(y,null,[s.type==="banner"?(r(),p(g,{key:0,banner:s},null,8,["banner"])):d("",!0),s.type==="slider"?(r(),p(A,{key:1,duration:Number(s.duration),"slider-items":s.banners},null,8,["duration","slider-items"])):d("",!0),s.type==="icon-list"?(r(),p(O,{key:2,"icon-list":s},null,8,["icon-list"])):d("",!0),s.type==="tile"?(r(),p(F,{key:3,"tile-list":s},null,8,["tile-list"])):d("",!0),s.type==="contact"?(r(),p(T,{key:4,"contact-form":s},null,8,["contact-form"])):d("",!0),s.type==="faq"?(r(),p(E,{key:5,faq:s},null,8,["faq"])):d("",!0),s.type==="form"?(r(),p(D,{key:6,"form-object":s},null,8,["form-object"])):d("",!0)],64))),256))]),t.showCartModal?(r(),p(V,{key:0},{default:m(()=>[i("div",Et,[i("div",Dt,[i("div",qt,[Object.keys(t.newCartProduct.files).length>0?(r(),h("img",{key:0,alt:t.newCartProduct.name,src:t.filesBaseUrl+(t.newCartProduct.files.Pictures&&t.newCartProduct.files.Pictures[0]?t.newCartProduct.files.Pictures[0].path:"")},null,8,Lt)):d("",!0)]),i("div",Nt,[i("h5",Ut,l(t.newCartProduct.name),1),i("p",null,l(t.__("This product has been added to your cart")),1),e[6]||(e[6]=i("br",null,null,-1)),i("div",Ht,[P(c,{class:"btn is-blue is-fullwidth",to:{name:"cart"}},{default:m(()=>[v(l(t.__("View your cart")),1)]),_:1}),i("button",{class:"btn has-margin-left-10 is-blue-outlined is-thin is-fullwidth",onClick:e[1]||(e[1]=(...s)=>a.closeCartModal&&a.closeCartModal(...s))},l(t.__("Continue shopping")),1)])])])])]),_:1})):d("",!0),t.showStockErrorModal?(r(),p(V,{key:1},{default:m(()=>[i("div",jt,[i("div",Rt,[i("div",zt,[Object.keys(t.newCartProduct.files).length>0?(r(),h("img",{key:0,alt:t.newCartProduct.name,src:t.filesBaseUrl+(t.newCartProduct.files.Pictures&&t.newCartProduct.files.Pictures[0]?t.newCartProduct.files.Pictures[0].path:"")},null,8,Jt)):d("",!0)]),i("div",Wt,[i("h5",Gt,l(t.newCartProduct.name),1),i("p",null,l(t.__("This product is out of stock")),1),e[7]||(e[7]=i("br",null,null,-1)),i("div",Qt,[P(c,{class:"btn is-blue is-fullwidth",to:{name:"cart"}},{default:m(()=>[v(l(t.__("View your cart")),1)]),_:1}),i("button",{class:"btn has-margin-left-10 is-blue-outlined is-thin is-fullwidth",onClick:e[2]||(e[2]=s=>t.showStockErrorModal=!1)},l(t.__("Continue shopping")),1)])])])])]),_:1})):d("",!0),t.showPreorderModal?(r(),p(V,{key:2},{default:m(()=>[i("div",Kt,[i("div",Xt,[i("div",Yt,[Object.keys(t.newCartProduct.files).length>0?(r(),h("img",{key:0,alt:t.newCartProduct.name,src:t.filesBaseUrl+(t.newCartProduct.files.Pictures&&t.newCartProduct.files.Pictures[0]?t.newCartProduct.files.Pictures[0].path:"")},null,8,Zt)):d("",!0)]),i("div",xt,[i("h5",te,l(t.newCartProduct.name),1),i("p",null,[v(l(t.__("The product is only available for pre-order.")),1),e[8]||(e[8]=i("br",null,null,-1)),v(" "+l(t.__("Delivery date"))+": "+l(t.newCartProduct.promotion.delivery_date),1)]),e[9]||(e[9]=i("br",null,null,-1)),i("div",ee,[i("button",{class:"btn is-blue is-fullwidth",onClick:e[3]||(e[3]=s=>a.preorderAddToCart(t.newCartProduct,1,t.newCartProductIndex))},l(t.__("Pre-order")),1),i("button",{class:"btn has-margin-left-10 is-blue-outlined is-thin is-fullwidth",onClick:e[4]||(e[4]=(...s)=>a.closePreorderModal&&a.closePreorderModal(...s))},l(t.__("Reconsider")),1)])])])])]),_:1})):d("",!0)])),[[q,a.imagesLoaded]]):d("",!0)}const ie=$(Z,[["render",se]]),ae={components:{productSeriesPage:ie},data:function(){return{categorySlug:this.$route.params.category||null}},mounted:function(){I.afterEach(()=>{this.categorySlug=I.currentRoute.value.params.category||null})},mixins:[M]},re={class:"view view--products-show"};function ne(t,e,n,o,u,a){const c=b("product-series-page");return r(),h("div",re,[P(c,{"category-slug":t.categorySlug},null,8,["category-slug"])])}const he=$(ae,[["render",ne]]);export{he as default};
2//# sourceMappingURL=Series-DyvytxR7.js.map

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.