PageSourceSearch

https://www.pixartprinting.it/js/initProductPackagingView-js.12ef8c5845d9fcd98953.js

js pixartprinting.it collected 2026-10-04 00:00:09 UTC 107,362 bytes, 1 lines download raw bytes

1export const __webpack_esm_id__=892;export const __webpack_esm_ids__=[892];export const __webpack_esm_modules__={1193(e,i,t){t.d(i,{A:()=>h});var o=t(41425);const n={class:"form-group form-group-spaced-mobile"},a={class:"row"},s={class:"col-12"},c={class:"col-lg-6 outer"},r={class:"inner"},l=["disabled"],d={key:0,class:"form-text text-danger"};var u=t(82124),p=t(54851),g=t(11528),m=t(25760),M=t(18281);const y={name:"OpenQuantityInput",props:{titleLabel:{type:String,required:!0},subtitleLabel:{type:String,required:!0},disabled:{type:Boolean,required:!0},hasOpenInputError:{type:Boolean,required:!0},openInputError:{type:Object,required:!1},value:{type:Number,required:!0}},data(){return{currentValue:this.value}},components:{FeatureHeader:p.A},setup(){const e=(0,m.z)();return(0,o.Gt)(M.ll,["quantity-delivery-sub-header"]),{uiSettings:e}},computed:{...(0,u.L8)("dictionary",["getDictionaryVoice"]),layoutClass(){return this.uiSettings.customStyle}},methods:{updateValue(e){this.$emit("customQuantityInput",e.target.value)},waitForUser:(0,g.A)(function(e){this.updateValue(e)},1e3)},watch:{value(e){this.currentValue=e}}};const h=(0,t(66262).A)(y,[["render",function(e,i,t,u,p,g){const m=(0,o.g2)("feature-header");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["col-12 custom-quantity-container",g.layoutClass])},[(0,o.Lk)("div",n,[(0,o.Lk)("div",a,[(0,o.Lk)("div",s,[(0,o.bF)(m,{"title-label":t.titleLabel,"has-error":t.hasOpenInputError},null,8,["title-label","has-error"])]),(0,o.Lk)("div",c,[(0,o.Lk)("div",r,[(0,o.bo)((0,o.Lk)("input",{type:"text",class:(0,o.C4)(["form-control",{"is-invalid":t.hasOpenInputError}]),"onUpdate:modelValue":i[0]||(i[0]=e=>p.currentValue=e),onInput:i[1]||(i[1]=e=>g.waitForUser(e)),onFocusout:i[2]||(i[2]=e=>g.updateValue(e)),"data-test":"custom-quantity-item",disabled:t.disabled},null,42,l),[[o.Jo,p.currentValue]])]),t.hasOpenInputError?((0,o.uX)(),(0,o.CE)("small",d,(0,o.v_)(t.openInputError.errorMessage),1)):(0,o.Q3)("",!0)])])])],2)}],["__scopeId","data-v-e40e73c4"]])},5328(e,i,t){t.d(i,{A:()=>o});const o="IT"===window.countryCode?"/images/fsc_image_it_new.svg":"/images/fsc_image_new.svg"},10353(e,i,t){t.d(i,{A:()=>c});var o=t(41425);const n={class:"read-more safari-only"};var a=t(82124);const s={name:"TextEllipsis",props:{align:{type:String,required:!1,default:""}},data:()=>({ellipsed:!0}),methods:{toggle(){this.ellipsed=!this.ellipsed}},computed:{...(0,a.L8)("dictionary",["getDictionaryVoice"])}};const c=(0,t(66262).A)(s,[["render",function(e,i,t,a,s,c){return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["ellipsed-content",{"align-bottom":"bottom"===t.align}])},[(0,o.Lk)("div",{class:(0,o.C4)({ellipsis:s.ellipsed})},[(0,o.RG)(e.$slots,"default",{},void 0,!0)],2),(0,o.bo)((0,o.Lk)("span",n,[(0,o.Lk)("span",{class:"read-more-button",onClick:i[0]||(i[0]=(...e)=>c.toggle&&c.toggle(...e))},(0,o.v_)(e.getDictionaryVoice("common","approfondisci")),1)],512),[[o.aG,s.ellipsed]])],2)}],["__scopeId","data-v-a09ac1ee"]])},11790(e,i,t){t.d(i,{A:()=>l});var o=t(41425);const n=["data-srcset"],a=["data-srcset"],s=["data-src","src","alt","width","height"];var c=t(33147);const r={name:"ResponsiveSourceImage",props:{source:{type:String,required:!0},fallbackSource:{type:String,required:!1,default:c.A},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1,default:""}}};const l=(0,t(66262).A)(r,[["render",function(e,i,t,c,r,l){return(0,o.uX)(),(0,o.CE)("picture",null,[(0,o.Lk)("source",{"data-srcset":`${t.source}?fm=avif`,type:"image/avif"},null,8,n),(0,o.Lk)("source",{"data-srcset":`${t.source}?fm=webp`,type:"image/webp"},null,8,a),(0,o.Lk)("img",{"data-src":t.source,src:t.fallbackSource,class:"img-fluid lazyload",alt:t.alt,width:t.width,height:t.height},null,8,s)])}]])},16721(e,i,t){t.d(i,{default:()=>sn}),t.r(i);var o=t(41425),n=t(74629);const a={class:"product-details"},s={class:"prod-header"},c=["innerHTML"],r={key:0,class:"col-12 w-100 product-configuration"},l={class:"product-configuration-main"},d={class:"quantity-delivery-container"},u={class:"quantity-delivery-header gap-2"},p={class:"quantity-delivery-title gap-2"},g={class:"d-flex gap-2"},m={class:"title"},M={key:0,class:"selected-value"},y={key:0},h={class:"selected-quantity"},v={key:0,class:"quantity-label"},k={class:"selected-date"},b={key:0,class:"date-label"},D={key:0,class:"selected-value"},f={key:0},I={class:"selected-quantity"},A={key:0,class:"quantity-label"},C={class:"selected-date"},L={key:0,class:"date-label"},N={ref:"multiArtworks"},j={class:"expand-container"},T={class:"quantity-delivery-body"},x={class:"row"},E={class:"col-12 col-lg-6"},S={key:0,class:"col-12 col-lg-6"},w={key:0,class:"alert alert-warning",role:"alert"},_=["innerHTML"],z={key:1,class:"text-center loader-xl"},O={class:"label"},P={key:2,class:"artwork-form"},V={key:3},Q={"data-test":"validation-in-progress",class:"validation-overlay"};var U=t(82124),F=t(65127),q=t(10680),Y=t(72719),R=t(93247),X=t(34037),B=t(1193),W=t(1787);const G={key:0},$={class:"expand-container"},H={class:"row"},Z={class:"col-md-6 outer"},J={class:"inner"},K=["placeholder"],ee={key:0,class:"text-danger form-text"};var ie=t(94013),te=t(32574),oe=t(25760);const ne={name:"BoxedJobNameInput",components:{TransitionExpand:te.A},extends:ie.A,data:()=>({isCollapsed:!0}
1),methods:{onToggleFeature(e){this.isCollapsed=e}},setup:()=>({uiSettings:(0,oe.z)()}),computed:{virtualOption(){return{value:{value:[{key:"box",customSelections:{dictionaryTranslations:{voice:this.jobName}}}]},customSelections:{selectedValue:"box",collapseMode:"start-collapsed"}}},hasError(){return this.hasValidationMessage("jobName")}}};var ae=t(66262);const se=(0,ae.A)(ne,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("feature-header"),r=(0,o.g2)("transition-expand");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["form-group layout-packaging",{"form-group-error":s.hasError}])},[(0,o.bF)(c,{"title-label":e.getDictionaryVoice("product","nome_file_riepilogo"),"can-collapse":!0,"current-value":"box",onToggleFeature:s.onToggleFeature,option:s.virtualOption},null,8,["title-label","onToggleFeature","option"]),(0,o.bF)(r,null,{default:(0,o.k6)(()=>[a.isCollapsed?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",G,[(0,o.Lk)("div",$,[(0,o.Lk)("div",H,[(0,o.Lk)("div",Z,[(0,o.Lk)("div",J,[(0,o.Lk)("div",{class:(0,o.C4)(["input-group",{"input-group-error":s.hasError}])},[(0,o.bo)((0,o.Lk)("input",{class:(0,o.C4)(["form-control",{"is-invalid text-danger":s.hasError}]),type:"text","onUpdate:modelValue":i[0]||(i[0]=i=>e.jobName=i),placeholder:e.getDictionaryVoice("product","nome_lavorazione"),onInput:i[1]||(i[1]=(...i)=>e.nameCheck&&e.nameCheck(...i))},null,42,K),[[o.Jo,e.jobName]]),e.hasValidationMessage("jobName")?((0,o.uX)(),(0,o.CE)("small",ee,(0,o.v_)(e.getValidationMessage("jobName")),1)):(0,o.Q3)("",!0)],2)])])])])]))]),_:1})],2)}],["__scopeId","data-v-0ff0a592"]]);var ce=t(67353),re=t(78369),le=t(10353);var de=t(80197);const ue={class:"recap-content d-flex align-items-center justify-content-between"},pe={class:"recap-left-section d-flex flex-shrink-1 align-items-stretch"},ge={class:"job-recap-content"},me={class:"recap-label"},Me={class:"recap-value"},ye={class:"recap-right-section d-flex align-items-center flex-fill justify-content-end"},he={key:0},ve={key:1},ke={class:"price-section d-flex flex-column position-relative"},be={class:"price-header"},De={class:"total-label"},fe={class:"price-info-content d-flex flex-column"},Ie={class:"info-row d-flex justify-content-between align-items-center"},Ae={class:"info-label"},Ce={class:"info-value"},Le={class:"info-row d-flex justify-content-between align-items-center"},Ne={class:"info-label"},je={class:"info-value"},Te={key:0,class:"info-row d-flex justify-content-between align-items-center"},xe={class:"info-label"},Ee={class:"info-value"},Se={key:0,class:"free-shipping-label"},we={key:1,class:"calculated-at-checkout"},_e={class:"info-row d-flex justify-content-between align-items-center"},ze={class:"info-label"},Oe={class:"info-value"},Pe={key:1,class:"calculated-at-checkout"},Ve={class:"price-details d-flex align-items-center"},Qe={class:"original-price"},Ue={class:"discount-badge"},Fe={class:"final-price"},qe={key:0},Ye={class:"order-recap order-recap-mobile"},Re={class:"lower-recap"},Xe={class:"d-flex justify-content-between align-items-center"},Be={class:"preview-arrow"},We={key:0,class:"icon icon-arrow_up_20px"},Ge={key:1,class:"icon icon-arrow_down_20px"},$e={class:"d-flex flex-row gap-3"},He={class:"d-flex flex-column align-items-end price-section"},Ze={class:"total-label"},Je={class:"final-price"};var Ke=t(97753),ei=t(81584);const ii={key:1,class:"promocode-input-container d-flex align-items-center"},ti=["placeholder"],oi=["disabled"],ni={key:0},ai={key:2,class:"promocode-accepted w-100"};var si=t(31500);const ci={name:"PromoCodeInputPackaging",mixins:[t(59735).A],components:{SpinningLoader:si.A}},ri=(0,ae.A)(ci,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("spinning-loader"),r=(0,o.g2)("modal-promocode-success"),l=(0,o.g2)("modal-promocode-fail");return(0,o.uX)(),(0,o.CE)("div",{class:"promocode-section-inline align-items-center d-flex",onClick:i[5]||(i[5]=(0,o.D$)(()=>{},["stop"]))},[e.showAddPromocodeText?((0,o.uX)(),(0,o.CE)("button",{key:0,class:"promocode-button d-flex ms-auto mt-2 mt-sm-0 align-items-center",onClick:i[0]||(i[0]=i=>e.togglePromocodeInputField())},[(0,o.Lk)("span",null,(0,o.v_)(e.getDictionaryVoice("product","promocode_text")),1),i[6]||(i[6]=(0,o.Lk)("i",{class:"icon icon-c-plus_16px"},null,-1))])):(0,o.Q3)("",!0),e.showPromocodeInput?((0,o.uX)(),(0,o.CE)("div",ii,[(0,o.bo)((0,o.Lk)("input",{class:"promocode-input flex-grow-1",placeholder:e.getDictionaryVoice("product","promocode_placeholder"),"onUpdate:modelValue":i[1]||(i[1]=i=>e.promocode=i),onKeyup:i[2]||(i[2]=(0,o.jR)(i=>
1e.togglePromocode({hideModals:!1}),["enter"]))},null,40,ti),[[o.Jo,e.promocode]]),(0,o.Lk)("button",{class:"promocode-activate-btn",onClick:i[3]||(i[3]=i=>e.togglePromocode({hideModals:!1})),disabled:!e.promocode||e.promocodeIsLoading},[(0,o.bF)(c,{"is-loading":e.promocodeIsLoading},null,8,["is-loading"]),e.promocodeIsLoading?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("span",ni,(0,o.v_)(e.getDictionaryVoice("product","verifica_promocode")),1))],8,oi)])):(0,o.Q3)("",!0),e.showAcceptedPromocodeText?((0,o.uX)(),(0,o.CE)("div",ai,[i[7]||(i[7]=(0,o.Lk)("i",{class:"icon icon-c-done_16px"},null,-1)),(0,o.Lk)("span",null,(0,o.v_)(e.getDictionaryVoice("product","promocode_applied").replace("#PROMOCODE#",e.promocode)),1),(0,o.Lk)("i",{class:"icon icon-close_12px",onClick:i[4]||(i[4]=i=>e.togglePromocode({hideModals:!1}))})])):(0,o.Q3)("",!0),(0,o.bF)(r),(0,o.bF)(l)])}],["__scopeId","data-v-8ba11aaa"]]);var li=t(54987),di=t(34507);const ui={class:"recap-body recap-body-mobile"},pi={class:"recap-body-upper"},gi={class:"line"},mi={class:"label"},Mi={class:"value"},yi={class:"line"},hi={class:"label"},vi={key:0,class:"line promo"},ki={class:"label"},bi={class:"save"},Di={class:"value"},fi={class:"price-container"},Ii={class:"old-price"},Ai={"data-test":"selected-price",class:"new-price"},Ci={class:"line"},Li={class:"label"},Ni={class:"value"},ji={key:1},Ti={key:0,class:"line"},xi={class:"label"},Ei={class:"value"},Si={key:1,class:"line"},wi={class:"value"},_i={class:"unit-price","data-test":"selected-unit-price"},zi={key:2,class:"line"},Oi={class:"label"},Pi={class:"value"},Vi={key:3,class:"line"},Qi={class:"label"},Ui={key:0,class:"calculated-at-checkout"},Fi={key:1,class:"free-shipping-label"},qi={key:4,class:"line"},Yi={class:"label"},Ri={class:"value"},Xi={class:"line"},Bi={class:"label"},Wi={class:"value"},Gi={key:1,class:"calculated-at-checkout"},$i={class:"d-flex flex-column mt-4 mb-4"};const Hi={name:"JobRecapMobile",components:{PromoCodeInputPackaging:ri,ConditionalDisplay:di.A},props:{selectedQuantity:{type:Number,required:!0},selectedDeliveryDate:{type:String,required:!0},selectedPriceFormatted:{type:String,required:!0},selectedDiscountedPriceFormatted:{type:String,default:""},selectedUnitPriceFormatted:{type:String,default:""},vatPriceFormatted:{type:String,required:!0},vatAmountLabel:{type:String,default:""},discountedAmount:{type:String,default:""},discountedAmountPercent:{type:String,default:""},fileCheckValueFormatted:{type:String,default:""},designServiceValueFormatted:{type:String,default:""},shippingAmountFormatted:{type:String,default:""},designService:{type:String,default:""},activeOptionService:{type:String,default:""},priceRequestPending:{type:Boolean,default:!1},datesRequestPending:{type:Boolean,default:!1},discountedPriceExists:{type:Boolean,default:!1},isUnitPriceEnabled:{type:Boolean,default:!1},fileCheck:{type:Boolean,default:!1},showEmptyShippingPrice:{type:Boolean,default:!1},isFreeShippingAmount:{type:Boolean,default:!1},isVatAmountVisible:{type:Boolean,default:!1}},computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"])}},Zi=(0,ae.A)(Hi,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("conditional-display"),r=(0,o.g2)("promo-code-input-packaging");return(0,o.uX)(),(0,o.CE)("div",ui,[(0,o.Lk)("div",pi,[(0,o.Lk)("div",gi,[(0,o.Lk)("div",mi,(0,o.v_)(e.getDictionaryVoice("product","qta_title")),1),(0,o.Lk)("div",Mi,[(0,o.bF)(c,{condition:!t.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(t.selectedQuantity),1)]),_:1},8,["condition"])])]),(0,o.Lk)("div",yi,[(0,o.Lk)("div",hi,(0,o.v_)(e.getDictionaryVoice("common","data_consegna")),1),(0,o.Lk)("div",{class:"value",onClick:i[0]||(i[0]=(0,o.D$)(()=>{},["stop"]))},[(0,o.bF)(c,{condition:!t.datesRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(t.selectedDeliveryDate),1)]),_:1},8,["condition"])])]),t.discountedPriceExists?((0,o.uX)(),(0,o.CE)("div",vi,[(0,o.Lk)("div",ki,[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("common","price"))+" ",1),(0,o.Lk)("div",bi,[(0,o.bF)(c,{condition:!t.priceRequestPending,"spinner-variant":"black"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("common","save"))+" ",1),(0,o.Lk)("div",null,(0,o.v_)(t.discountedAmount),1),(0,o.eW)(" -"+(0,o.v_)(t.discountedAmountPercent),1)]),_:1},8,["condition"])])]),(0,o.Lk)("div",Di,[(0,o.bF)(c,{condition:!t.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.Lk)("div",fi,[(0,o.Lk)("del",Ii,(0,o.v_)(t.selectedPriceFormatted),1),(0,o.Lk)("span",Ai,(0,o.v_)(t.selectedDiscountedPriceFormatted),1)])]),_:1},8,["condition"])])])):((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[(0,o.Lk)("div",Ci,[(0,o.Lk)("div",Li,(0,o.v_)(e.getDictionaryVoice("common","area_personale_netto")),1
1),(0,o.Lk)("div",Ni,[(0,o.bF)(c,{condition:!t.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[t.discountedPriceExists?((0,o.uX)(),(0,o.CE)("del",ji,(0,o.v_)(t.selectedPriceFormatted),1)):((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[(0,o.eW)((0,o.v_)(t.selectedPriceFormatted),1)],64))]),_:1},8,["condition"])])]),t.discountedPriceExists?((0,o.uX)(),(0,o.CE)("div",Ti,[(0,o.Lk)("div",xi,(0,o.v_)(e.getDictionaryVoice("common","discounted_price")),1),(0,o.Lk)("div",Ei,(0,o.v_)(t.selectedDiscountedPriceFormatted),1)])):(0,o.Q3)("",!0),t.isUnitPriceEnabled?((0,o.uX)(),(0,o.CE)("div",Si,[i[2]||(i[2]=(0,o.Lk)("div",{class:"label"},null,-1)),(0,o.Lk)("div",wi,[(0,o.bF)(c,{condition:!t.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.Lk)("small",_i,(0,o.v_)(`${t.selectedUnitPriceFormatted}/${e.getDictionaryVoice("product","unit_price_label")}`),1)]),_:1},8,["condition"])])])):(0,o.Q3)("",!0)],64)),t.fileCheck?((0,o.uX)(),(0,o.CE)("div",zi,[(0,o.Lk)("div",Oi,(0,o.v_)(e.getDictionaryVoice("common","titolo_box_verifica_file")),1),(0,o.Lk)("div",Pi,(0,o.v_)(t.fileCheckValueFormatted),1)])):(0,o.Q3)("",!0),t.showEmptyShippingPrice||t.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)("div",Vi,[(0,o.Lk)("div",Qi,(0,o.v_)(e.getDictionaryVoice("cart","cart_shipping_cost_text_title")),1),t.showEmptyShippingPrice?((0,o.uX)(),(0,o.CE)("div",Ui,(0,o.v_)(e.getDictionaryVoice("common","calculated_at_checkout")),1)):t.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)("div",Fi,(0,o.v_)(e.getDictionaryVoice("common","label_spedizione_gratuita")),1)):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0),""!==t.designService&&""!==t.activeOptionService?((0,o.uX)(),(0,o.CE)("div",qi,[(0,o.Lk)("div",Yi,(0,o.v_)(e.getDictionaryVoice("designer","service_type_label"))+" "+(0,o.v_)("edit"===t.activeOptionService?e.getDictionaryVoice("designer","title_box1"):e.getDictionaryVoice("designer","title_box2")),1),(0,o.Lk)("div",Ri,(0,o.v_)(t.designServiceValueFormatted),1)])):(0,o.Q3)("",!0),(0,o.Lk)("div",Xi,[(0,o.Lk)("div",Bi,(0,o.v_)(e.getDictionaryVoice("common","iva"))+" "+(0,o.v_)(t.isVatAmountVisible&&!1===t.priceRequestPending?t.vatAmountLabel:""),1),(0,o.Lk)("div",Wi,[t.isVatAmountVisible?((0,o.uX)(),(0,o.Wv)(c,{key:0,condition:!t.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(t.vatPriceFormatted),1)]),_:1},8,["condition"])):((0,o.uX)(),(0,o.CE)("div",Gi,(0,o.v_)(e.getDictionaryVoice("common","calculated_at_checkout")),1))])]),(0,o.Lk)("div",$i,[(0,o.bF)(r,{"is-promocode-loaded":e.isPromocodeLoaded,onPricesRefresh:i[1]||(i[1]=i=>e.$emit("pricesRefresh",i))},null,8,["is-promocode-loaded"])])])])}],["__scopeId","data-v-3327bd55"]]);var Ji=t(49120);const Ki={name:"StickyRecapPackaging",extends:ei.A,provide:{customLayout:"packaging"},components:{JobRecapMobile:Zi,TransitionExpand:te.A,ConditionalDisplay:di.A,ProductRecapButtons:li.A,PromoCodeInputPackaging:ri,BDropdown:Ke.UV,BDropdownText:Ke.PU},props:{visibleTotalPrice:{type:Object,required:!0},visibleOptions:{type:Object,required:!1},displayLabel:{type:Function,required:!1},recapValue:{type:Function,required:!1}},data:()=>({isRecapDropdownOpen:!1,isQuoteDropdownOpen:!1,promoInputOpened:!1,position:"fixed"}),mounted(){window.addEventListener("scroll",this.closeDropdowns,{passive:!0}),this.onScroll(),window.addEventListener("scroll",this.onScroll,{passive:!0})},beforeUnmount(){window.removeEventListener("scroll",this.closeDropdowns),window.removeEventListener("scroll",this.onScroll)},methods:{closeDropdowns(){this.$refs.jobRecapDropdown?.hide(),this.$refs.priceInfoDropdown?.hide()},onScroll(){const e=(0,Ji.A)(".seo-section"),i=(0,Ji.A)("#product-packaging-container"),t=(0,Ji.A)("#main-header"),o=(0,Ji.A)(".breadcrumb-container"),{recap:n}=this.$refs;if(!(e&&n&&i&&t&&o))return;const a=e.getBoundingClientRect(),s=i.offsetHeight,c=t.offsetHeight,r=o.offsetHeight,l=n.offsetHeight,d=window.innerHeight-l,u=d+24;"fixed"===this.position?a.bottom<=d&&(this.position="stopped",n.style.top=c+r+s+a.height-l+16+"px",n.style.bottom=null):a.bottom>
1u&&(this.position="fixed",n.style.top=null,n.style.bottom="16px")}}},et=(0,ae.A)(Ki,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-dropdown-text"),r=(0,o.g2)("b-dropdown"),l=(0,o.g2)("promo-code-input-packaging"),d=(0,o.g2)("conditional-display"),u=(0,o.g2)("product-recap-buttons"),p=(0,o.g2)("job-recap-mobile"),g=(0,o.g2)("transition-expand");return e.isMobileScreen?((0,o.uX)(),(0,o.CE)("div",{key:1,class:"recap-main d-lg-none",onClick:i[6]||(i[6]=(...i)=>e.toggleOrderRecap&&e.toggleOrderRecap(...i))},[(0,o.Lk)("div",{class:(0,o.C4)(["recap-mobile",{"stacked-top":e.isOrderRecapOpen}])},[(0,o.bF)(g,null,{default:(0,o.k6)(()=>[e.isOrderRecapOpen?((0,o.uX)(),(0,o.CE)("div",qe,[(0,o.Lk)("div",Ye,[(0,o.bF)(p,{"selected-quantity":e.selectedQuantity,"selected-delivery-date":e.getSelectedDate(e.selectedDeliveryDate),"selected-price-formatted":e.formatPriceObjectWithCurrency(e.selectedPrice),"selected-discounted-price-formatted":e.formatPriceObjectWithCurrency(e.selectedDiscountedPrice),"selected-unit-price-formatted":e.formatPriceWithCurrency(e.selectedUnitPrice),"vat-price-formatted":e.formatPriceObjectWithCurrency(e.vatPrice),"vat-amount-label":e.vatAmountLabel,"discounted-amount":e.discountedAmount,"discounted-amount-percent":e.discountedAmountPercent,"file-check-value-formatted":e.formatPriceWithCurrency(e.fileCheckValue),"design-service-value-formatted":e.formatPriceWithCurrency(e.designServiceValue),"shipping-amount-formatted":e.formatPriceWithCurrency(0),"design-service":e.designService,"active-option-service":e.activeOptionService,"price-request-pending":e.priceRequestPending,"dates-request-pending":e.datesRequestPending,"discounted-price-exists":e.discountedPriceExists,"is-unit-price-enabled":e.isUnitPriceEnabled,"file-check":e.fileCheck,"show-empty-shipping-price":e.showEmptyShippingPrice,"is-free-shipping-amount":e.isFreeShippingAmount,"is-vat-amount-visible":e.isVatAmountVisible,onPricesRefresh:e.loadPrices},null,8,["selected-quantity","selected-delivery-date","selected-price-formatted","selected-discounted-price-formatted","selected-unit-price-formatted","vat-price-formatted","vat-amount-label","discounted-amount","discounted-amount-percent","file-check-value-formatted","design-service-value-formatted","shipping-amount-formatted","design-service","active-option-service","price-request-pending","dates-request-pending","discounted-price-exists","is-unit-price-enabled","file-check","show-empty-shipping-price","is-free-shipping-amount","is-vat-amount-visible","onPricesRefresh"])])])):(0,o.Q3)("",!0)]),_:1}),(0,o.Lk)("div",Re,[(0,o.Lk)("div",Xe,[(0,o.Lk)("span",Be,[e.isOrderRecapOpen?((0,o.uX)(),(0,o.CE)("i",Ge)):((0,o.uX)(),(0,o.CE)("i",We))]),(0,o.Lk)("div",$e,[(0,o.Lk)("div",He,[(0,o.Lk)("span",Ze,(0,o.v_)(e.getDictionaryVoice("product","preventivo_right")),1),(0,o.Lk)("span",Je,[(0,o.bF)(d,{condition:!e.priceRequestPending,"spinner-variant":"green"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.formatPriceObjectWithCurrency(t.visibleTotalPrice)),1)]),_:1},8,["condition"])])]),(0,o.bF)(u,{"is-mobile":!0,"recap-enabled":e.recapEnabled,"is-adding":e.isAdding,"is-price-limit-exceed":e.isPriceLimitExceed,"button-active-id":e.buttonActiveId,"is-edit-view":e.isEditView,"is-designer-experience-enabled":e.isDesignerExperienceEnabled,"changing-product-config":e.changingProductConfig,onUpdateJobClick:e.updateJob,onAddToCartClick:e.addToCart,onGoToCartClick:e.goToCart,onButtonDesignAction:e.onButtonDesignAction},null,8,["recap-enabled","is-adding","is-price-limit-exceed","button-active-id","is-edit-view","is-designer-experience-enabled","changing-product-config","onUpdateJobClick","onAddToCartClick","onGoToCartClick","onButtonDesignAction"])])])])],2)])):((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,o.C4)(["recap-sticky-bar",a.position]),ref:"recap"},[(0,o.Lk)("div",ue,[(0,o.Lk)("div",pe,[(0,o.bF)(r,{ref:"jobRecapDropdown","auto-close":"outside","toggle-class":"job-recap-toggle",class:"position-relative","menu-class":"job-recap-dropdown-menu","teleport-to":"body",onShow:i[0]||(i[0]=e=>a.isRecapDropdownOpen=!0),onHide:i[1]||(i[1]=e=>a.isRecapDropdownOpen=!1),"no-caret":"",dropup:"",block:"","no-flip":"","no-shift":"",placement:"top-start",offset:{alignmentAxis:-17,mainAxis:35}},{"button-content":(0,o.k6)(()=>[(0,o.Lk)("span",{class:(0,o.C4)(["d-none d-xl-inline align-content-center",{"d-sm-inline":!a.promoInputOpened}]),style:(0,o.Tr)({"max-width":a.promoInputOpened?"min-content":"100%"})},(0,o.v_)(e.getDictionaryVoice("product","job_recap")),7),(0,o.Lk)("i",{class:(0,o.C4)(["icon d-none d-md-inline ms-2",a.isRecapDropdownOpen?"icon-arrow_down_12px":"icon-arrow_up_12px"])},null,2)]),default:(0,o.k6)(()=>[(0,o.bF)(c,null,{default:(0,o.k6)(()=>[(0,o.Lk)("div",ge,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(t.visibleOptions,(e,i)=>((0,o.uX)(),(0,o.CE)("div",{class:"recap-row",key:i},[(0,o.Lk)("div",me,(0,o.v_)(t.displayLabel(e)),1),(0,o.Lk)("div",Me,(0,o.v_)(t.recapValue(e)),1)]))),128))])]),_:1})]),_:1},512)]),(0,o.Lk)("div",ye,[(0,o.bF)(l,{"is-promocode-loaded":e.isPromocodeLoaded,onOnInputToggled:i[2]||(i[2]=e=>a.promoInputOpened=2===e),onPricesRefresh:i[3]||(i[3]=i=>e.loadPrices(i))},null,8,["is-promocode-loaded"]),e.showEmptyShippingPrice||e.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[(0,o.Lk)("div",{class:(0,o.C4)(["separator d-sm-none d-xxl-flex",{"d-xl-flex":!a.promoInputOpened}])},null,2),(0,o.Lk)("div",{class:(0,o.C4)(["shipping-section d-sm-none d-xxl-flex align-items-center",{"d-xl-flex":!a.promoInputOpened}])},[i[7]||(i[7]=(0,o.Lk)("i",{class:"icon icon-shipping_32px"},null,-1)),e.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)("span",he,(0,o.v_)(e.getDictionaryVoice("common","label_spedizione_gratuita")),1)):((0,o.uX)(),(0,o.CE)("span",ve,(0,o.v_)(e.getDictionaryVoice("common","calculated_at_checkout")),1))],2)],64)):(0,o.Q3)("",!0),i[8]||(i[8]=(0,o.Lk)("div",{class:"separator"},null,-1)),(0,o.Lk)("div",ke,[(0,o.bF)(r,{ref:"priceInfoDropdown","auto-close":"outside",variant:"white","toggle-class":"price-info-toggle","menu-class":"price-info-dropdown-menu",onShow:i[4]||(i[4]=e=>a.isQuoteDropdownOpen=!0),onHide:i[5]||(i[5]=e=>a.isQuoteDropdownOpen=!1),"no-caret":"",dropup:"","no-flip":"","no-shift":"",block:"",placement:"top-start",offset:{alignmentAxis:-17,mainAxis:15}},{"button-content":(0,o.k6)(()=>[(0,o.Lk)("div",be,[(0,o.Lk)("span",De,(0,o.v_)(e.getDictionaryVoice("product","preventivo_right")),1),(0,o.Lk)("i",{class:(0,o.C4)(["icon icon-c-info_32px",{active:a.isQuoteDropdownOpen}])},null,2)])]),default:(0,o.k6)(()=>[(0,o.bF)(c,null,{default:(0,o.k6)(()=>[(0,o.Lk)("div",fe,[(0,o.Lk)("div",Ie,[(0,o.Lk)("div",Ae,(0,o.v_)(e.getDictionaryVoice("product","qta_title")),1),(0,o.Lk)("div",Ce,[(0,o.bF)(d,{condition:!e.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.selectedQuantity),1)]),_:1},8,["condition"])])]),(0,o.Lk)("div",Le,[(0,o.Lk)("div",Ne,(0,o.v_)(e.getDictionaryVoice("common","data_consegna")),1),(0,o.Lk)("div",je,[(0,o.bF)(d,{condition:!e.datesRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getSelectedDate(e.selectedDeliveryDate)),1)]),_:1},8,["condition"])])]),e.showEmptyShippingPrice||e.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)("div",Te,[(0,o.Lk)("div",xe,(0,o.v_)(e.getDictionaryVoice("cart","cart_shipping_cost_text_title")),1),(0,o.Lk)("div",Ee,[e.isFreeShippingAmount?((0,o.uX)(),(0,o.CE)("div",Se,(0,o.v_)(e.getDictionaryVoice("common","label_spedizione_gratuita")),1)):((0,o.uX)(),(0,o.CE)("div",we,(0,o.v_)(e.getDictionaryVoice("common","calculated_at_checkout")),1))])])):(0,o.Q3)("",!0),(0,o.Lk)("div",_e,[(0,o.Lk)("div",ze,(0,o.v_)(e.getDictionaryVoice("common","iva"))+" "+(0,o.v_)(e.isVatAmountVisible&&!1===e.priceRequestPending?e.vatAmountLabel:""),1),(0,o.Lk)("div",Oe,[e.isVatAmountVisible?((0,o.uX)(),(0,o.Wv)(d,{key:0,condition:!e.priceRequestPending,"spinner-variant":"dark"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.formatPriceObjectWithCurrency(e.vatPrice)),1)]),_:1},8,["condition"])):((0,o.uX)(),(0,o.CE)("div",Pe,(0,o.v_)(e.getDictionaryVoice("common","calculated_at_checkout")),1))])])])]),_:1})]),_:1},512),(0,o.Lk)("div",Ve,[e.discountedPriceExists?((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[(0,o.Lk)("span",Qe,(0,o.v_)(e.formatPriceObjectWithCurrency(e.selectedPrice)),1),(0,o.Lk)("span",Ue,[(0,o.bF)(d,{condition:!e.priceRequestPending,"spinner-variant":"black"},{default:(0,o.k6)(()=>[(0,o.Lk)("span",null,(0,o.v_)(e.getDictionaryVoice("common","save"))+" "+(0,o.v_)(e.discountedAmount)+" "+(0,o.v_)(e.discountedAmountPercent),1)]),_:1},8,["condition"])])],64)):(0,o.Q3)("",!0),(0,o.Lk)("span",Fe,[(0,o.bF)(d,{condition:!e.priceRequestPending,"spinner-variant":"green"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.formatPriceObjectWithCurrency(t.visibleTotalPrice)),1)]),_:1},8,["condition"])])])]),(0,o.bF)(u,{"recap-enabled":e.recapEnabled,"is-adding":e.isAdding,"is-price-limit-exceed":e.isPriceLimitExceed,"button-active-id":e.buttonActiveId,"is-edit-view":e.isEditView,"is-mobile":!1,"is-designer-experience-enabled":e.isDesignerExperienceEnabled,"changing-product-config":e.changingProductConfig,onUpdateJobClick:e.updateJob,onAddToCartClick:e.addToCart,onGoToCartClick:e.goToCart,onButtonDesignAction:e.onButtonDesignAction},null,8,["recap-enabled","is-adding","is-price-limit-exceed","button-active-id","is-edit-view","is-designer-experience-enabled","changing-product-config","onUpdateJobClick","onAddToCartClick","onGoToCartClick","onButtonDesignAction"])])])],2))}],["__scopeId","data-v-1c112b30"]]),it={name:"ProductRecapPackaging",extends:de.A,components:{StickyRecapPackaging:et},props:{discountedPriceExists:{type:Boolean,required:!0},vatPrice:{type:Object,required:!0},visibleTotalPrice:{type:Object,required:!0},fileCheck:{type:Boolean,required:!1}
1,validCart:{type:Boolean,required:!1},isAdding:{type:Boolean,required:!1},customConfigResponse:{type:[String,Object],required:!1},isStaff:{type:Boolean,required:!1},isPriceLimitExceed:{type:Boolean,required:!1},designService:{type:[String,Object],required:!1},activeOptionService:{type:String,required:!1},buttonActiveId:{type:String,required:!1},isDesignerExperienceEnabled:{type:Boolean,required:!1},changingProductConfig:{type:Boolean,required:!1},showEmptyShippingPrice:{type:Boolean,required:!1,default:!1},recapEnabled:{type:Boolean,required:!0}},methods:{onButtonDesignAction(e){this.$emit("buttonDesignAction",e)},pricesRefreshPromocode(){this.$emit("pricesRefreshPromocode")}}},tt=(0,ae.A)(it,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("sticky-recap-packaging");return(0,o.uX)(),(0,o.Wv)(c,{"out-of-stock-message":e.outOfStockMessage,"discounted-price-exists":t.discountedPriceExists,"active-option-service":t.activeOptionService,"recap-enabled":t.recapEnabled,"is-adding":t.isAdding,"is-price-limit-exceed":t.isPriceLimitExceed,"button-active-id":t.buttonActiveId,"is-staff":t.isStaff,"custom-config-response":t.customConfigResponse,"file-check":t.fileCheck,"show-empty-shipping-price":t.showEmptyShippingPrice,"design-service":t.designService,"vat-amount-label":e.vatAmountLabel,"vat-price":t.vatPrice,"visible-total-price":t.visibleTotalPrice,"show-date-tooltip":!0,"visible-options":e.visibleOptions,"display-label":e.displayLabel,"recap-value":e.recapValue,onUpdateJobClick:e.updateJob,onGoToCartClick:e.goToCart,onButtonDesignAction:s.onButtonDesignAction,onGetCustomConfigUrlClick:e.onGetCustomConfigUrlClick,onPricesRefreshPromocode:s.pricesRefreshPromocode},null,8,["out-of-stock-message","discounted-price-exists","active-option-service","recap-enabled","is-adding","is-price-limit-exceed","button-active-id","is-staff","custom-config-response","file-check","show-empty-shipping-price","design-service","vat-amount-label","vat-price","visible-total-price","visible-options","display-label","recap-value","onUpdateJobClick","onGoToCartClick","onButtonDesignAction","onGetCustomConfigUrlClick","onPricesRefreshPromocode"])}]]);var ot=t(30388);const nt=["innerHTML"];var at=t(80230);const st={name:"QuantityDeliveryInfoModal",mixins:[at.A],data:()=>({idModal:"quantity-delivery-info-modal"}),computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"])}},ct=(0,ae.A)(st,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(c,{id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[1]||(i[1]=i=>e.internalState=i),centered:""},{"header-close":(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("product","quantity_delivery_info_title")),1)]),default:(0,o.k6)(()=>[(0,o.Lk)("div",{class:"quantity-delivery-info",innerHTML:e.getDictionaryVoice("product","quantity_delivery_info_text")},null,8,nt)]),footer:(0,o.k6)(()=>[(0,o.Lk)("button",{class:"btn button-close",onClick:i[0]||(i[0]=(...i)=>e.closeModal&&e.closeModal(...i))},(0,o.v_)(e.getDictionaryVoice("common","dialog_ok_msg")),1)]),_:1},8,["id","modelValue"])}]]),rt={class:"dimension-modal"},lt={class:"text-box"},dt={class:"width"},ut={class:"depth"},pt={class:"height"},gt={class:"note"},mt={class:"action-box"};const Mt={name:"ModalGuideBoxFinder",mixins:[at.A],data:()=>({idModal:"box-finder-guide-modal"}),computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"])}},yt=(0,ae.A)(Mt,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(c,{id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[1]||(i[1]=i=>e.internalState=i),centered:"","hide-footer":""},{"header-close":(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),default:(0,o.k6)(()=>[(0,o.Lk)("div",rt,[i[3]||(i[3]=(0,o.Lk)("div",{class:"image-box"},[(0,o.Lk)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkwIiBoZWlnaHQ9IjI3NSIgdmlld0JveD0iMCAwIDE5MCAyNzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTY3NV8xMjQxMzApIj4KPHBhdGggZD0iTTE1MC4zOTEgMjA3LjExM0MxNTAuN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4NS4zNDQgMTE1Ljk4NEMxODQuNjk1IDExNS43NTggMTg0LjA1OSAxMTUuNjQ1IDE4My40MzQgMTE1LjY0NVoiIGZpbGw9IiMxQzYzMEIiLz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTE2NzVfMTI0MTMwIj4KPHJlY3Qgd2lkdGg9IjE2OCIgaGVpZ2h0PSIyNTgiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==",alt:"box dimensions"})],-1)),(0,o.Lk)("div",lt,[(0,o.Lk)("p",null,[(0,o.Lk)("span",dt,"A: "+(0,o.v_)(e.getDictionaryVoice("product","product_sizes_width")),1),(0,o.eW)(" → "+(0,o.v_)(e.getDictionaryVoice("product","description_sizes_width")),1)]),(0,o.Lk)("p",null,[(0,o.Lk)("span",ut,"B: "+(0,o.v_)(e.getDictionaryVoice("product","product_sizes_depth")),1),(0,o.eW)(" → "+(0,o.v_)(e.getDictionaryVoice("product","description_sizes_depth")),1)]),(0,o.Lk)("p",null,[(0,o.Lk)("span",pt,"C: "+(0,o.v_)(e.getDictionaryVoice("product","product_sizes_height")),1),(0,o.eW)(" → "+(0,o.v_)(e.getDictionaryVoice("product","description_sizes_height")),1)]),(0,o.Lk)("p",gt,(0,o.v_)(e.getDictionaryVoice("product","note_measurements")),1)]),(0,o.Lk)("div",mt,[(0,o.Lk)("button",{class:"ok-btn",onClick:i[0]||(i[0]=i=>e.internalState=!1)},"Ok")])])]),_:1},8,["id","modelValue"])}]]);var ht=t(25789),vt=t(37126),kt=t(71724);
1const bt={__name:"CustomQuotesProvider",props:{isEnabled:{type:Boolean,required:!0},hubspotConfig:{type:Object,required:!0}},setup(e){(0,o.Gt)("isCustomQuotesEnabled",e.isEnabled);const i=(0,U.Pj)(),t=()=>{i.dispatch("modals/toggleModal",{id:"modal-custom-quotes",isActive:!1}),i.dispatch("modals/toggleModal",{id:"modal-custom-quotes-success",isActive:!0})},n=()=>{i.dispatch("modals/toggleModal",{id:"modal-custom-quotes",isActive:!1}),i.dispatch("modals/toggleModal",{id:"modal-generic-error",isActive:!0})};return(i,a)=>((0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.RG)(i.$slots,"default"),e.isEnabled?((0,o.uX)(),(0,o.Wv)(o.Im,{key:0,to:"body"},[(0,o.bF)(ht.A,{"hubspot-config":e.hubspotConfig,onRequestSuccess:t,onRequestError:n},null,8,["hubspot-config"]),(0,o.bF)(vt.A),(0,o.bF)(kt.A)])):(0,o.Q3)("",!0)],64))}},Dt=["innerHTML"],ft={key:0,class:"loader d-flex align-items-center justify-content-center"},It={key:1,class:"d-flex align-items-center border rounded ps-3 pe-2 py-2 gap-2"},At=["value"];var Ct=t(49835),Lt=t(95666);const Nt={name:"ProductConfigSharingLinkModal",components:{BSpinner:F._,BModal:Ct.i},mixins:[at.A],props:{configUrl:{type:Object,default:null}},data:()=>({idModal:"product-config-sharing-link-modal",copySuccess:!1,isLoading:!1}),computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"]),displayUrl(){return!(0,Lt.A)(this.configUrl)&&this.configUrl?.success?this.configUrl?.url:""},canDisplayGeneratedUrl(){return!(0,Lt.A)(this.configUrl)&&this.configUrl?.success}},methods:{copyToClipboard(){if(this.copySuccess)return;this.$refs.urlInput.select(),document.execCommand("copy"),this.copySuccess=!0,setTimeout(()=>{this.copySuccess=!1},2e3)}},watch:{internalState(e){e&&(this.isLoading=!0)},configUrl(e){e&&(this.isLoading=!1)}}},jt=(0,ae.A)(Nt,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-spinner"),r=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(r,{centered:"",size:"lg","body-class":"p-0",id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[1]||(i[1]=i=>e.internalState=i),"no-close-on-esc":"","no-close-on-backdrop":"","hide-footer":""},{"header-close":(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("product_config_sharing","modal_title")),1)]),default:(0,o.k6)(()=>[(0,o.Lk)("p",{innerHTML:e.getDictionaryVoice("product_config_sharing","modal_description")},null,8,Dt),a.isLoading?((0,o.uX)(),(0,o.CE)("div",ft,[(0,o.bF)(c,{variant:"primary",class:"spinner"})])):(0,o.Q3)("",!0),s.canDisplayGeneratedUrl?((0,o.uX)(),(0,o.CE)("div",It,[(0,o.Lk)("input",{type:"text",class:"form-control border-0 flex-grow-1 p-0",readonly:"",value:s.displayUrl,ref:"urlInput"},null,8,At),(0,o.Lk)("button",{class:"btn btn-primary btn-sm d-flex align-items-center gap-2 flex-shrink-0",onClick:i[0]||(i[0]=(...e)=>s.copyToClipboard&&s.copyToClipboard(...e))},[a.copySuccess?((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("common","copied"))+" ",1),i[3]||(i[3]=(0,o.Lk)("i",{class:"icon icon-32-selected_32px"},null,-1))],64)):((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("common","copy"))+" ",1),i[4]||(i[4]=(0,o.Lk)("i",{class:"icon icon-copy_12px"},null,-1))],64))])])):(0,o.Q3)("",!0)]),_:1},8,["id","modelValue"])}]]);var Tt=t(18281),xt=t(19300);const Et={name:"ProductLayoutPackaging",extends:Y.A,components:{QuantityDeliveryInfoModal:ct,TransitionExpand:te.A,ProductRecapPackaging:tt,BSpinner:F._,ModalDesignService:re.A,ModalDesignInfo:ce.A,ProductTreeValidation:R.A,ZipCodeInput:X.A,OpenQuantityInput:B.A,FeaturesList:W.A,BoxedJobNameInput:se,BFormCheckbox:q.G,TextEllipsis:le.A,ModalGuideBoxFinder:yt,ProductConfigSharingLinkModal:jt,CustomQuotesProvider:bt,CustomQuotes:(0,o.$V)(()=>Promise.all([t.e(2451),t.e(1113),t.e(4593),t.e(2857)]).then(t.bind(t,41918))),FileCheckTogglePackaging:(0,o.$V)(()=>Promise.all([t.e(6273),t.e(3732)]).then(t.bind(t,1371))),ArtworkSelectionPackaging:(0,o.$V)(()=>Promise.all([t.e(671),t.e(5476),t.e(6523),t.e(3230),t.e(9872),t.e(5271),t.e(4807),t.e(4926)]).then(t.bind(t,20978))),PriceGridPackaging:(0,o.$V)(()=>Promise.all([t.e(887),t.e(2560),t.e(231)]).then(t.bind(t,67280))),ModalAddToCart:(0,o.$V)(()=>Promise.all([t.e(2050),t.e(7325),t.e(5618),t.e(8102)]).then(t.bind(t,26723))),CustomUrlGenerator:(0,o.$V)(()=>Promise.all([t.e(5567),t.e(1908)]).then(t.bind(t,61600))),MultiArtworks:(0,o.$V)(()=>Promise.all([t.e(2753),t.e(769)]).then(t.bind(t,96752)))},props:{pageDescription:{type:String,required:!1},hubspotConfig:{type:Object,required:!0}},setup(){const e=(0,Tt.EA)({customStyle:"layout-packaging",showBracketsOnCurrentValue:!0,useInfoModal:!0,hideMoreOptionsInFeatureComponents:!0,showVirtualCustomQuoteAttribute:!0,useAttributesLabels:!0});(0,o.Gt)(Tt.x,e)},computed:{...(0,U.L8)("screen",["isMobileScreen"]),minimumQuantity(){const[e]=this.extractValidQuantityRange();return e}
1,selectedDate(){return this.dates[this.selectedPrice.deliveryKey]?this.formatDateByType(this.dates[this.selectedPrice.deliveryKey],"DateNumeric"):""}},data:()=>({shouldShowEnvLabelSidebar:!1,isPriceGridOpen:!0}),methods:{...(0,U.i0)("modals",["toggleModal"]),formatDateByType:ot.A,onButtonDesignAction(e){"design-stack"!==e&&"design-gallery"!==e||(this.isEditView&&null!==this.customProductConfiguration?.mcpDocsSource?(this.$store.dispatch("product/setOpenDexClicked",!0),this.toggleModal({id:"modal-edit-item-alert",isActive:!0})):this.openPrintDex(e))},onContinueShoppingClick(){this.$refs["promo-code"]?.updatePromocodeStatus()},togglePriceGrid(){this.isPriceGridOpen=!this.isPriceGridOpen},openQuantityInfoModal(){this.toggleModal({id:"quantity-delivery-info-modal",isActive:!0})},handleGenerateConfigUrl(){const e={customUrlTarget:window.location.pathname};this.onGetCustomConfigUrlClick(e)},onGenerateConfigUrlEvent(){this.handleGenerateConfigUrl(),this.toggleModal({id:"product-config-sharing-link-modal",isActive:!0})}},created(){xt.A.$on("generateConfigUrl",this.onGenerateConfigUrlEvent)},beforeUnmount(){xt.A.$off("generateConfigUrl",this.onGenerateConfigUrlEvent)}},St=(0,ae.A)(Et,[["render",function(e,i,t,n,U,F){const q=(0,o.g2)("text-ellipsis"),Y=(0,o.g2)("features-list"),R=(0,o.g2)("boxed-job-name-input"),X=(0,o.g2)("product-tree-validation"),B=(0,o.g2)("multi-artworks"),W=(0,o.g2)("open-quantity-input"),G=(0,o.g2)("zip-code-input"),$=(0,o.g2)("price-grid-packaging"),H=(0,o.g2)("transition-expand"),Z=(0,o.g2)("b-form-checkbox"),J=(0,o.g2)("b-spinner"),K=(0,o.g2)("artwork-selection-packaging"),ee=(0,o.g2)("file-check-toggle-packaging"),ie=(0,o.g2)("CustomQuotes"),te=(0,o.g2)("custom-url-generator"),oe=(0,o.g2)("CustomQuotesProvider"),ne=(0,o.g2)("modal-design-info"),ae=(0,o.g2)("modal-design-service"),se=(0,o.g2)("product-recap-packaging"),ce=(0,o.g2)("modal-add-to-cart"),re=(0,o.g2)("quantity-delivery-info-modal"),le=(0,o.g2)("modal-guide-box-finder"),de=(0,o.g2)("product-config-sharing-link-modal");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("div",a,[(0,o.Lk)("div",s,[(0,o.bF)(q,{align:"bottom"},{default:(0,o.k6)(()=>[e.isEditView?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",{key:0,innerHTML:t.pageDescription,class:"description",id:"product-description"},null,8,c))]),_:1})]),e.validationDefinition?((0,o.uX)(),(0,o.CE)("div",r,[(0,o.bo)((0,o.Lk)("div",l,[(0,o.bF)(oe,{"is-enabled":e.isCustomQuotesEnabled,"hubspot-config":t.hubspotConfig},{default:(0,o.k6)(()=>[(0,o.bF)(o.eB,{name:"fade"},{default:(0,o.k6)(()=>[(0,o.bF)(X,{definition:e.validationDefinition,"sorted-features-merchant-keys":e.sortedFeaturesMerchantKeys,onChangeValidationStatus:e.onValidationStatusChanged,onChangeValidOptions:e.onValidOptionsChanged},{features:(0,o.k6)(()=>[(0,o.Lk)("div",{class:(0,o.C4)(["configuration-container",{"no-border":e.isMultiartworkActive}])},[(0,o.bF)(Y,{"sorted-features-merchant-keys":e.sortedFeaturesMerchantKeys,"valid-options":e.validOptionsByMerchantFeature,"has-templates":e.hasTemplates,validating:e.validating,"edit-view-template-data":e.editViewTemplateData,"show-gallery-slider":!1,onFeatureChanged:e.onProductFeatureChange,onUpdateInputError:e.onUpdateInputError,onFetchingTemplates:e.onFetchingTemplates,onMultipleFeaturesChanged:e.onMultipleFeaturesChanged,ref:"features-list"},null,8,["sorted-features-merchant-keys","valid-options","has-templates","validating","edit-view-template-data","onFeatureChanged","onUpdateInputError","onFetchingTemplates","onMultipleFeaturesChanged"]),e.isMultiartworkActive?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(R,{key:0,modelValue:e.customName,"onUpdate:modelValue":i[0]||(i[0]=i=>e.customName=i)},null,8,["modelValue"]))],2)]),_:1},8,["definition","sorted-features-merchant-keys","onChangeValidationStatus","onChangeValidOptions"])]),_:1}),(0,o.bF)(o.eB,{name:"fade"},{default:(0,o.k6)(()=>[(0,o.bo)((0,o.Lk)("div",{class:(0,o.C4)(["configuration-container",{"no-border":e.hasTemplates||e.isMultiartworkActive}])},[(0,o.Lk)("div",d,[(0,o.Lk)("div",u,[(0,o.Lk)("div",p,[(0,o.Lk)("div",g,[(0,o.Lk)("div",m,(0,o.v_)(e.getDictionaryVoice("product","collapsable_price_grid_title")),1),(0,o.Lk)("i",{class:"icon icon-c-info_32px",onClick:i[1]||(i[1]=e=>F.openQuantityInfoModal())})]),e.isMobileScreen?((0,o.uX)(),(0,o.CE)("div",M,[e.gridDataLoaded?((0,o.uX)(),(0,o.CE)("span",y,[(0,o.Lk)("span",h,[(0,o.eW)(" ("+(0,o.v_)(e.selectedQuantity)+" ",1),e.isMobileScreen?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("span",v,(0,o.v_)(e.getDictionaryVoice("product","quantity_delivery_header_values_qty")),1)),i[9]||(i[9]=(0,o.eW)(" - ",-1))]),(0,o.Lk)("span",k,[e.isMobileScreen?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("span",b,(0,o.v_)(e.getDictionaryVoice("product","quantity_delivery_header_values_date")),1)),(0,o.eW)(" "+(0,o.v_)(F.selectedDate)+") ",1)])])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)]),(0,o.Lk)("div",{class:"quantity-delivery-value",onClick:i[2]||(i[2]=e=>F.togglePriceGrid())},[e.isMobileScreen?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",D,[e.gridDataLoaded?((0,o.uX)(),(0,o.CE)("span",f,[(0,o.Lk)("span",I,[(0,o.eW)(" ("+(0,o.v_)(e.selectedQuantity)+" ",1),e.isMobileScreen?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("span",A,(0,o.v_)(e.getDictionaryVoice("product","quantity_delivery_header_values_qty")),1)),i[10]||(i[10]=(0,o.eW)(" - ",-1))]),(0,o.Lk)("span",C,[e.isMobileScreen?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("span",L,(0,o.v_)(e.getDictionaryVoice("product","quantity_delivery_header_values_date")),1)),(0,o.eW)(" "+(0,o.v_)(F.selectedDate)+") ",1)])])):(0,o.Q3)("",!0)])),(0,o.Lk)("i",{class:(0,o.C4)(["icon",U.isPriceGridOpen?"icon-chevron_up_32px":"icon-chevron_down_32px"])},null,2)])]),(0,o.bF)(H,null,{default:(0,o.k6)(()=>[(0,o.bo)((0,o.Lk)("div",null,[i[11]||(i[11]=(0,o.Lk)("div",{id:"multiartwork-feature-dropzone",class:"expand-container"},null,-1)),(0,o.Lk)("span",N,null,512),e.isMultiArtworkAvailable?((0,o.uX)(),(0,o.Wv)(B,{key:0,class:"expand-container-box",sets:e.userSelection.Sets,"selected-quantity":e.selectedQuantity,"step-quantity-list":e.multiArtworkStepQuantityList,"min-quantity":F.minimumQuantity,"quantity-validation-func":e.validateQuantityOpenInput,"line-item-variants":e.multiArtworkDetails,"is-ready":!e.datesRequestPending&&!e.priceRequestPending,"force-validation":e.forceMultiArtworkValidation,"merchant-product-id":e.merchantProductId,"reset-qty-interaction":e.didApplyMultiArtworkUpsell,"upsell-quantity-delta":e.upsellQuantityDelta,onQtyInput:e.onMultiArtworkInputInteraction,onValidationFailure:i[3]||(i[3]=()=>e.onMultiArtworkInputError(!0)),onValidationSuccess:i[4]||(i[4]=()=>e.onMultiArtworkInputError(!1)),onDeactivate:e.onMultiArtworkDeactivate,onIsActive:e.onMultiArtworkActivate,onVariantsUpdate:e.handleVariantsUpdate,onResetUpsellDelta:i[5]||(i[5]=e=>this.upsellQuantityDelta=null)},null,8,["sets","selected-quantity","step-quantity-list","min-quantity","quantity-validation-func","line-item-variants","is-ready","force-validation","merchant-product-id","reset-qty-interaction","upsell-quantity-delta","onQtyInput","onDeactivate","onIsActive","onVariantsUpdate"])):(0,o.Q3)("",!0),(0,o.Lk)("div",j,[(0,o.Lk)("div",T,[(0,o.Lk)("div",x,[(0,o.Lk)("div",E,[e.hasOpenInput&&!e.isMultiartworkActive?((0,o.uX)(),(0,o.Wv)(W,{key:0,"title-label":e.getDictionaryVoice("product","custom_quantity"),"subtitle-label":e.getDictionaryVoice("product","custom_quantity"),"has-open-input-error":e.hasOpenInputError,"open-input-error":e.openInputError,disabled:e.validating||e.priceRequestPending||e.datesRequestPending,value:e.customQuantity,onCustomQuantityInput:e.onCustomQuantityInput},null,8,["title-label","subtitle-label","has-open-input-error","open-input-error","disabled","value","onCustomQuantityInput"])):(0,o.Q3)("",!0)]),e.isLogged?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",S,[(0,o.bF)(G,{"session-zip-code":e.sessionZipCode,onPricesRefresh:i[6]||(i[6]=i=>e.loadPrices("zipCode"))},null,8,["session-zip-code"])]))]),e.isProductShippableInCountry?((0,o.uX)(),(0,o.Wv)($,{key:1,"grid-rows":e.productData.quantities.gridRows,onGridClicked:e.onGridClicked},null,8,["grid-rows","onGridClicked"])):((0,o.uX)(),(0,o.CE)("div",w,[(0,o.Lk)("div",{innerHTML:e.unshippableProductNotificationMessage},null,8,_)]))])])],512),[[o.aG,U.isPriceGridOpen]])]),_:1})]),e.gridDataLoaded?((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[e.priceRequestPending||e.datesRequestPending?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[e.isStaff?((0,o.uX)(),(0,o.Wv)(Z,{key:0,modelValue:e.forceFallbackMethodUsageForDeliveryDate,"onUpdate:modelValue":i[7]||(i[7]=i=>e.forceFallbackMethodUsageForDeliveryDate=i)},{default:(0,o.k6)(()=>[...i[12]||(i[12]=[(0,o.eW)(" Use the fallback method to calculate delivery date",-1)])]),_:1},8,["modelValue"])):(0,o.Q3)("",!0)],64)),e.checkDesignTemplatesDone?e.canDisplayArtworkOptions(e.enabledArtworkOptions)?((0,o.uX)(),(0,o.CE)("div",P,[(0,o.bF)(K,{"enabled-button-ids":e.enabledArtworkOptions,"design-service":e.designService,"selected-design-service":e.designServiceSelected,"button-active-id":e.buttonActiveId,"has-template-design":e.hasTemplateDesign,"is-edit-view":e.isEditView,"instruction-file":e.instructionFile,"template-enabled":e.templateEnabled,"has-instructions":e.hasInstructions,"custom-quantity":e.customQuantity,"selection-is-valid":e.selectionIsValid,"product-name":e.merchantProductName,onSelectArtworkOption:e.onArtworkOptionSelected,onButtonDesignAction:F.onButtonDesignAction,onSelectDesignService:e.onSelectDesignService,onClearDesignServiceSelection:e.onClearDesignServiceSelection},null,8,["enabled-button-ids","design-service","selected-design-service","button-active-id","has-template-design","is-edit-view","instruction-file","template-enabled","has-instructions","custom-quantity","selection-is-valid","product-name","onSelectArtworkOption","onButtonDesignAction","onSelectDesignService","onClearDesignServiceSelection"])])):(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",z,[(0,o.bF)(J,{variant:"primary",class:"spinner"}),(0,o.Lk)("span",O,(0,o.v_)(e.getDictionaryVoice("common","loading")),1)])),e.canDisplayProFileCheck?((0,o.uX)(),(0,o.CE)("div",V,[(0,o.bF)(ee,{"file-check":e.fileCheck,onFileCheckUpdate:e.onFileCheckUpdate},null,8,["file-check","onFileCheckUpdate"])])):(0,o.Q3)("",!0)],64)):(0,o.Q3)("",!0)],2),[[o.aG,e.validationDefinition]])]),_:1}),(0,o.bF)(ie,{layout:"card"}),(0,o.bF)(o.eB,{name:"fade"},{default:(0,o.k6)(()=>[(0,o.bo)((0,o.Lk)("div",Q,null,512),[[o.aG,e.shouldShowValidationOverlay]])]),_:1}),e.isStaff?((0,o.uX)(),(0,o.Wv)(te,{key:0,"recap-enabled":e.recapEnabled,"custom-config-response":e.customConfigResponse,onGetCustomConfigUrlClick:e.onGetCustomConfigUrlClick},null,8,["recap-enabled","custom-config-response","onGetCustomConfigUrlClick"])):(0,o.Q3)("",!0)]),_:1},8,["is-enabled","hubspot-config"])],512),[[o.aG,e.shouldShowProductFeatures]])])):(0,o.Q3)("",!0),(0,o.bF)(ne),(0,o.bF)(ae,{"design-service":e.designService},null,8,["design-service"])]),(0,o.bF)(se,{"is-staff":e.isStaff,"discounted-price-exists":e.discountedPriceExists,"vat-price":e.vatPrice,"visible-total-price":e.visibleTotalPrice,"file-check":e.fileCheck,"valid-cart":e.selectionIsValid,"is-adding":e.isAddingToCart,"recap-enabled":e.recapEnabled,"custom-config-response":e.customConfigResponse,"is-price-limit-exceed":e.isPriceLimitExceed,"is-designer-experience-enabled":e.isDesignExperienceEnabled,"design-service":e.designServiceSelected?e.designService:"","active-option-service":e.designServiceSelected,"button-active-id":e.buttonActiveId,"changing-product-config":e.changingProductConfig,"show-empty-shipping-price":e.showEmptyShippingPrice,onAddToCartClick:e.onAddToCartClick,onGetCustomConfigUrlClick:e.onGetCustomConfigUrlClick,onUpdateJobClick:e.onUpdateJobClick,onPricesRefreshPromocode:i[8]||(i[8]=i=>
1e.loadPrices("promocode"))},null,8,["is-staff","discounted-price-exists","vat-price","visible-total-price","file-check","valid-cart","is-adding","recap-enabled","custom-config-response","is-price-limit-exceed","is-designer-experience-enabled","design-service","active-option-service","button-active-id","changing-product-config","show-empty-shipping-price","onAddToCartClick","onGetCustomConfigUrlClick","onUpdateJobClick"]),e.firstAddToCart?((0,o.uX)(),(0,o.Wv)(ce,{key:0,"can-display-pro-file-check":e.canDisplayProFileCheck,"file-check":e.fileCheck,"file-check-value":e.fileCheckValue,"merchant-product-name":e.merchantProductName,"merchant-product-id":e.merchantProductId,"product-upsell-eligibility":e.productUpsellEligibility,upsell:e.currentUpSellProductRecommendation,onFileCheckUpdate:e.onFileCheckUpdate,onUpsellUpdate:e.onUpsellUpdate,onUpdateJobClick:e.onUpdateJobClick},null,8,["can-display-pro-file-check","file-check","file-check-value","merchant-product-name","merchant-product-id","product-upsell-eligibility","upsell","onFileCheckUpdate","onUpsellUpdate","onUpdateJobClick"])):(0,o.Q3)("",!0),(0,o.bF)(re),(0,o.bF)(le),(0,o.bF)(de,{"config-url":e.customConfigResponse},null,8,["config-url"])])}],["__scopeId","data-v-796c037c"]]),wt={class:"slideshow-container"},_t={key:0,class:"main-image"},zt=["onClick"],Ot={key:0,class:"promo-thumbnail"},Pt={class:"label"},Vt=["src"];t(98992),t(54520),t(37550);var Qt=t(85575),Ut=t(70332),Ft=t(67873),qt=t(87176),Yt=t(34342),Rt=t(31737);t(44114);const Xt=["innerHTML"],Bt={__name:"SlideshowContentItem",props:{content:{type:Object,required:!0},itemClassName:{type:String,required:!1,default:""}},setup(e){const i=(0,o.EW)(()=>{const i=[];return e.itemClassName&&i.push(e.itemClassName),"N"===e.content?.contentMobileVisible&&i.push("d-none","d-md-block"),i}),t=(0,o.EW)(()=>{if(!e.content)return{};const i={};return e.content?.contentFontColor&&(i.color=`#${e.content.contentFontColor}`),e.content?.contentBgColor&&(i.backgroundColor=`#${e.content.contentBgColor}`),i});return(n,a)=>e.content&&e.content?.contentTxt?((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,o.C4)(i.value),style:(0,o.Tr)(t.value),innerHTML:e.content?.contentTxt},null,14,Xt)):(0,o.Q3)("",!0)}},Wt=(0,ae.A)(Bt,[["__scopeId","data-v-4fa51f06"]]),Gt=["src"],$t={key:1,class:"slide-container"},Ht=["src"],Zt={class:"slider-bottom"},Jt={__name:"SlideshowContent",props:{currentImage:{type:Object,required:!0},imageSource:{type:String,required:!0}},setup(e){const i=(0,U.Pj)(),t=(0,o.EW)(()=>i.getters["screen/isMobileScreen"]),n=(0,o.EW)(()=>e.currentImage?.backgroundColor?{backgroundColor:`#${e.currentImage.backgroundColor}`}:{}),a=(0,o.EW)(()=>e.currentImage?.contentHtmlDefinition),s=(0,o.EW)(()=>Boolean(a.value)),c=(0,o.EW)(()=>a.value?.campaign_name),r=(0,o.EW)(()=>a.value?.title_big),l=(0,o.EW)(()=>a.value?.title_small),d=(0,o.EW)(()=>a.value?.subtitle_big),u=(0,o.EW)(()=>a.value?.subtitle_small),p=(0,o.EW)(()=>a.value?.["price-discount_large"]),g=(0,o.EW)(()=>a.value?.["price-discount_medium"]),m=(0,o.EW)(()=>a.value?.["price-discount_small"]),M=(0,o.EW)(()=>a.value?.condition),y=(0,o.EW)(()=>a.value?.button),h=(0,o.EW)(()=>a.value?.disclaimer),v=(0,o.EW)(()=>{const i=e.currentImage?.imageSet,o=i?.mobile,n=i?.desktop,a=t.value?Boolean(o?.url):Boolean(n?.url),s=!t.value||Boolean("N"!==y.value?.contentMobileVisible);return a&&s}),k=()=>{e.currentImage?.bannerUrl&&(window.location.href=e.currentImage.bannerUrl)};return(i,t)=>!s.value&&v.value?((0,o.uX)(),(0,o.CE)("img",{key:0,class:"img-fluid",src:e.imageSource,alt:""},null,8,Gt)):((0,o.uX)(),(0,o.CE)("div",$t,[(0,o.Lk)("div",{class:"img-overlay-content",style:(0,o.Tr)(n.value)},[v.value?((0,o.uX)(),(0,o.CE)("img",{key:0,class:"img-fluid",src:e.imageSource,alt:""},null,8,Ht)):(0,o.Q3)("",!0)],4),(0,o.Lk)("div",{class:"content-overlay",style:(0,o.Tr)(n.value)},[(0,o.bF)(Wt,{content:c.value,"item-class-name":"slider-campaign-name"},null,8,["content"]),(0,o.bF)(Wt,{content:r.value,"item-class-name":"slider-title-big"},null,8,["content"]),(0,o.bF)(Wt,{content:l.value,"item-class-name":"slider-title-small"},null,8,["content"]),(0,o.bF)(Wt,{content:d.value,"item-class-name":"slider-subtitle-big"},null,8,["content"]),(0,o.bF)(Wt,{content:u.value,"item-class-name":"slider-subtitle-small"},null,8,["content"]),(0,o.bF)(Wt,{content:p.value,"item-class-name":"slider-price-discount-large"},null,8,["content"]),(0,o.bF)(Wt,{content:g.value,"item-class-name":"slider-price-discount-medium"},null,8,["content"]),(0,o.bF)(Wt,{content:m.value,"item-class-name":"slider-price-discount-small"},null,8,["content"]),(0,o.Lk)("div",Zt,[(0,o.bF)(Wt,{content:M.value,"item-class-name":"slider-condition"},null,8,["content"]),(0,o.bF)(Wt,{content:y.value,"item-class-name":"slider-button btn blue-btn big-btn",onClick:k},null,8,["content"]),h.value&&e.currentImage.disclaimer?((0,o.uX)(),(0,o.Wv)(Wt,{key:0,content:h.value,"item-class-name":"slider-
1disclaimer-packaging"},null,8,["content"])):(0,o.Q3)("",!0)])],4),(0,o.bF)(Rt.default,{"current-slide":e.currentImage},null,8,["current-slide"])]))}},Kt=(0,ae.A)(Jt,[["__scopeId","data-v-78af6820"]]);var eo=t(74744);const io=3,to=5,oo={name:"SlideshowPackaging",mixins:[Yt.A],components:{ArtworkPreview:qt.A,Keen:Ut.A,KeenSlide:Ft.A,SlideshowContent:Kt},data:()=>({is3DPreviewVisible:!1,maxImagesCount:5,miniPreviewOptions:{autoAdjustSlidesPerView:!1,slidesPerView:io,breakpoints:{"(min-width: 992px)":{slidesPerView:to,autoAdjustSlidesPerView:!0,vertical:!0}}},activeImageIndex:0,needs3DRender:!1,headerHeight:0}),computed:{currentImage(){return this.images[this.activeImageIndex]},currentImageSource(){return this.getImageSourceForScreen(this.currentImage)},backgroundStyle(){return this.currentImage?.backgroundColor?{backgroundColor:`#${this.currentImage.backgroundColor}`}:{}},images(){return[...this.gallery].sort((e,i)=>Number(e.index)-Number(i.index)).slice(0,this.slidesToShow)},slidesToShow(){return this.isMobileScreen?io:to},keenClass(){return this.isMobileScreen?"":"keen-vertical"},shouldShowMiniPreview(){return this.images.length>1},stickyPosition(){const e=this.headerHeight+16;return{top:this.isMobileScreen?0:`${e}px`}},...(0,U.L8)("screen",["isMobileScreen","screenWidth"]),...(0,U.L8)("product",["options","userSelection","userInteractedWithSelection","mcpSku","validationStatus"]),...(0,U.L8)("dictionary",["getDictionaryVoice"])},methods:{show3DPreview(){this.is3DPreviewVisible||(this.is3DPreviewVisible=!0,this.$nextTick(()=>{this.destroy3DPreview(),this.render3DPreview()}))},slideChanged(e,i){this.updateMiniPreviewIndex(i)},setVisibleImage(e){this.is3DPreviewVisible&&(this.is3DPreviewVisible=!1,this.destroy3DPreview()),this.activeImageIndex=e},isActiveImage(e){return this.activeImageIndex===e&&!this.is3DPreviewVisible},isPromoSlide:e=>e.slideShowType&&"spot"===e.slideShowType,updateMiniPreviewIndex(e){this.miniPreviewIndex=e,this.activeImageIndex=e},destroy3DPreview(){xt.A.$emit("render3DPreview",{elementId:"preview3D",destroy:!0})},async render3DPreview(){const e={elementId:"preview3D",mcpSku:this.mcpSku,locale:window.domainLocale,skuVariables:this.userSelection,thumbnailsPosition:"left",cimDoc:{version:"2.0",document:{panels:[]},fontRepositoryUrl:""},flatPreview:!1,scene:!1,vortex:!0,vortexConfig:{vortexActions:!this.isMobileScreen}};Qt.A.log("render3DPreview",e),xt.A.$emit("render3DPreview",e)}},watch:{userSelection:{handler(e,i){if(this.userInteractedWithSelection){const t=Object.keys(e).filter(t=>e[t]!==i[t]);this.needs3DRender||=t.some(e=>{const i=(0,eo.A)(this.options,e);return i.customSelections?.attributeStepName.some(e=>"Pixart3DPreview"===e)})}},deep:!0},validationStatus:{handler(e){"success"===e&&this.needs3DRender&&(this.is3DPreviewVisible=!0,this.destroy3DPreview(),this.render3DPreview(),this.needs3DRender=!1)}}},created(){this.$nextTick(()=>{this.$refs.miniPreview?.init()}),this.headerResizeObserver=null;const e=document.querySelector(".main-header");e&&(this.headerHeight=e.offsetHeight,this.headerResizeObserver=new ResizeObserver(()=>{this.headerHeight=e.offsetHeight}),this.headerResizeObserver.observe(e))},beforeUnmount(){this.headerResizeObserver?.disconnect(),this.headerResizeObserver=null}},no=(0,ae.A)(oo,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("slideshow-content"),r=(0,o.g2)("artwork-preview"),l=(0,o.g2)("keen-slide"),d=(0,o.g2)("keen");return(0,o.uX)(),(0,o.CE)("div",{class:"preview",style:(0,o.Tr)(s.stickyPosition)},[(0,o.Lk)("div",wt,[a.is3DPreviewVisible?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",_t,[(0,o.bF)(c,{"image-source":s.currentImageSource,"current-image":s.currentImage},null,8,["image-source","current-image"])])),(0,o.bo)((0,o.bF)(r,{id:"artwork3D","element3d-preview-id":"preview3D"},null,512),[[o.aG,a.is3DPreviewVisible]]),s.shouldShowMiniPreview?((0,o.uX)(),(0,o.CE)("div",{key:1,class:(0,o.C4)(["mini-preview keen-slider-container",s.keenClass]),ref:"mini-preview-container"},[(0,o.bF)(d,{options:a.miniPreviewOptions,"hide-arrows":!0,ref:"miniPreview",onSlideChanged:s.slideChanged},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(s.images,(t,n)=>((0,o.uX)(),(0,o.Wv)(l,{key:n},{default:(0,o.k6)(()=>[(0,o.Lk)("div",{class:(0,o.C4)(["image-container",{active:s.isActiveImage(n),"promo-container":s.isPromoSlide(t)}]),onClick:e=>s.setVisibleImage(n)},[s.isPromoSlide(t)?((0,o.uX)(),(0,o.CE)("div",Ot,[i[1]||(i[1]=(0,o.Lk)("i",{class:"icon icon-32-sale-filled_32px"},null,-1)),(0,o.Lk)("span",Pt,(0,o.v_)(e.getDictionaryVoice("product","promo_label_short")),1)])):((0,o.uX)(),(0,o.CE)("img",{key:1,class:"img-fluid",src:e.getImageSourceForScreen(t),alt:"preview-image"},null,8,Vt))],10,zt)]),_:2},1024))),128)),(0,o.bF)(l,null,{default:(0,o.k6)(()=>[(0,o.Lk)("i",{class:(0,o.C4)(["icon-3D-preview icon icon-3D_32px",{active:a.is3DPreviewVisible}]),onClick:i[0]||(i[0]=e=>s.show3DPreview())},null,2)]),_:1})]),_:1},8,["options","onSlideChanged"])],2)):(0,o.Q3)("",!0)])],4)}],["__scopeId","data-v-b8197798"]]),ao={class:"additional-info-box"},so=["sku"],co={class:"additional-info-title"},ro=["innerHTML"],lo={class:"environmental-label-link"};var uo=t(23175),po=t(67845);const go={class:"environmental-label-title"},mo={class:"environmental-label-container"},Mo={class:"description-container"},yo=["innerHTML"],ho=["innerHTML"],vo={key:2,class:"icon-container"},ko=["src","alt","title"],bo={class:"download-button-container"};var Do=t(31963),fo=t(79442),Io=t(49215);const Ao={name:"ModalEnvironmentalLabeling",mixins:[at.A],components:{BButton:Do.PF,BModal:Ct.i},data:()=>({isVisible:!1,idModal:"modal-environmental-labeling",sustainabilityLabelKey:"Sustainability_Label",sustainabilityFeature:null,selectedValue:"",selectedOption:{}
1,description:"",subtitle:"",imgSrc:"",imgAlt:""}),computed:{shouldShowComponent(){return""!==this.selectedValue&&"None"!==this.selectedValue},...(0,U.L8)("dictionary",["getDictionaryVoice"]),...(0,U.L8)("product",["options","completeSelection"])},watch:{completeSelection(){this.sustainabilityFeature=this.options[this.sustainabilityLabelKey];if(!(void 0!==this.sustainabilityFeature))return;const{selectedValue:e,selectedOption:i}=this.getCurrentValuesFromFeature(this.sustainabilityFeature);this.selectedValue=e,this.selectedOption=i,this.shouldShowComponent&&this.manageComponentValues(this.selectedOption)}},methods:{...(0,U.i0)("modals",["toggleModal"]),getCurrentValuesFromFeature:Io.A,resourceDownload:fo.A,manageComponentValues(e){this.$nextTick(()=>{if(e?.customSelections?.dictionaryTranslations){const{info:i}=e?.customSelections?.dictionaryTranslations??{},t=i?.icons?.[0];this.subtitle=i?.title??"",this.description=i?.description??"",this.imgSrc=t?.url??"",this.imgAlt=t?.title??""}})},downloadAsset(){this.resourceDownload(this.imgSrc,this.imgAlt)}}},Co=(0,ae.A)(Ao,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-button"),r=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(r,{centered:"",size:"lg","body-class":"p-0",id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[1]||(i[1]=i=>e.internalState=i),ref:"modal-environmental-labeling"},{"header-close":(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[(0,o.Lk)("span",go,(0,o.v_)(e.getDictionaryVoice("sustainability_label","section_title")),1)]),default:(0,o.k6)(()=>[(0,o.Lk)("div",mo,[(0,o.Lk)("div",Mo,[""!==a.subtitle?((0,o.uX)(),(0,o.CE)("span",{key:0,class:"subtitle",innerHTML:a.subtitle},null,8,yo)):(0,o.Q3)("",!0),""!==a.description?((0,o.uX)(),(0,o.CE)("div",{key:1,innerHTML:a.description},null,8,ho)):(0,o.Q3)("",!0),""!==a.imgSrc?((0,o.uX)(),(0,o.CE)("div",vo,[(0,o.Lk)("img",{src:a.imgSrc,class:"img-fluid",alt:a.imgAlt,title:a.imgAlt},null,8,ko)])):(0,o.Q3)("",!0)]),(0,o.Lk)("div",bo,[""!==a.imgSrc?((0,o.uX)(),(0,o.Wv)(c,{key:0,class:"download-btn blue-btn",variant:"primary",onClick:s.downloadAsset},{default:(0,o.k6)(()=>[i[3]||(i[3]=(0,o.Lk)("i",{class:"icon icon-download_32px"},null,-1)),(0,o.eW)(" "+(0,o.v_)(e.getDictionaryVoice("sustainability_label","download")),1)]),_:1},8,["onClick"])):(0,o.Q3)("",!0)])])]),footer:(0,o.k6)(()=>[(0,o.Lk)("button",{class:"btn button-close",onClick:i[0]||(i[0]=(...i)=>e.closeModal&&e.closeModal(...i))},(0,o.v_)(e.getDictionaryVoice("common","dialog_ok_msg")),1)]),_:1},8,["id","modelValue"])}]]),Lo={name:"AdditionalInfoTabs",components:{ProductRecommender:po.A,BTab:uo.a,BTabs:uo.r,ModalEnvironmentalLabeling:Co},props:{pageId:{type:String,required:!0},pageDescription:{type:String,required:!0},shouldShowFeefoWidget:{type:Boolean,required:!1,default:!1},feefoProductId:{type:String,required:!1},shouldShowSustainabilityLabel:{type:Boolean,required:!1,default:!1}},computed:{...(0,U.L8)("dictionary",["getDictionaryVoice","voicesLoaded"]),tabsMinHeight(){return{minHeight:`${this.tabsHeight}px`}},tabsCountCssVar(){return{"--tabs-count":this.tabs.length}},activeTabCssVar(){return{"--active-tab-index":this.activeTabIndex}}},data:()=>({tabs:[],tabsLoaded:!1,tabsHeight:0,activeTabIndex:0}),methods:{...(0,U.i0)("modals",["toggleModal"]),initializeTabs(){this.tabs=[{id:"products_details",name:this.getDictionaryVoice("product","additional_info_tab_name_product_details"),content_title:this.getDictionaryVoice("product","additional_info_content_title_general_info"),content:this.pageDescription},{id:"recommender",name:this.getDictionaryVoice("product","additional_info_tab_name_references"),content_title:"",content:""}],this.shouldShowFeefoWidget&&this.tabs.push({id:"feefo",name:this.getDictionaryVoice("product","additional_info_tab_name_reviews"),content_title:"",content:""})},toggleEnvironmentalLabeling(){this.toggleModal({id:"modal-environmental-labeling",isActive:!0})}},watch:{voicesLoaded:{immediate:!0,handler(e){e&&!this.tabsLoaded&&(this.initializeTabs(),this.tabsLoaded=!0)}}},updated(){this.$nextTick(()=>{this.tabsHeight=this.$refs["additional-info-tabs"].offsetHeight})}},No=(0,ae.A)(Lo,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("product-recommender"),r=(0,o.g2)("b-tab"),l=(0,o.g2)("b-tabs"),d=(0,o.g2)("modal-environmental-labeling");return(0,o.uX)(),(0,o.CE)(o.FK,null,[(0,o.Lk)("div",{class:"additional-info-tabs",ref:"additional-info-tabs",style:(0,o.Tr)(s.tabsMinHeight)},[(0,o.bF)(l,{lazy:"",pills:"",justified:"",style:(0,o.Tr)([s.tabsCountCssVar,s.activeTabCssVar]),modelValue:a.activeTabIndex,"onUpdate:modelValue":i[1]||(i[1]=e=>a.activeTabIndex=e)},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(a.tabs,n=>((0,o.uX)(),(0,o.Wv)(r,{key:n.name,title:n.name,class:"single-tab-content"},{default:(0,o.k6)(()=>[(0,o.Lk)("div",ao,["feefo"===n.id&&t.shouldShowFeefoWidget?((0,o.uX)(),(0,o.CE)("feefo-product-reviews",{key:0,sku:t.feefoProductId},null,8,so)):"recommender"===n.id?((0,o.uX)(),(0,o.Wv)(c,{key:1,"page-ids":[t.pageId],component:"Product Detail Page"},null,8,["page-ids"])):((0,o.uX)(),(0,o.CE)(o.FK,{key:2},[(0,o.Lk)("h2",co,(0,o.v_)(n.content_title),1),(0,o.Lk)("div",{class:"additional-info-body",innerHTML:n.content},null,8,ro),(0,o.bo)((0,o.Lk)("div",lo,[(0,o.Lk)("a",{class:"open-environmental-section",onClick:i[0]||(i[0]=(...e)=>s.toggleEnvironmentalLabeling&&s.toggleEnvironmentalLabeling(...e))},(0,o.v_)(e.getDictionaryVoice("sustainability_label","material_disposal")),1)],512),[[o.aG,t.shouldShowSustainabilityLabel]])],64))])]),_:2},1032,["title"]))),128))]),_:1},8,["style","modelValue"])],4),(0,o.bF)(d)],64)}],["__scopeId","data-v-7524be9b"]]),jo={class:"fsc",id:"fsc"},To=["src"],xo=["src"],Eo={key:2,class:"fsc-pefc-container","data-test":"fsc-pefc-certification"},So=["src"],wo=["src"],_o={class:"title"};const zo={key:0}
1,Oo={key:1},Po={key:2},Vo={key:3},Qo={key:0,class:"fsc-info"},Uo=["src"],Fo={class:"sidebar-text"},qo={key:1,class:"pefc-info"},Yo=["src"],Ro={class:"sidebar-text"},Xo={key:2,class:"fsc-pefc-info"},Bo={class:"d-flex flex-row gap-2"},Wo=["src"],Go=["src"],$o=["innerHTML"],Ho={key:3,class:"sustainable-info"},Zo=["innerHTML"],Jo=["innerHTML"],Ko={class:"info-link"},en=["href"];var tn=t(5328);const on={name:"FscSustainableInfoModal",mixins:[at.A],props:{sustainabilityType:{type:String,required:!1},selectedModalContent:{type:String,required:!0}},data:()=>({idModal:"fsc-sustainable-info-modal",fscImage:tn.A,pefcImage:"/images/pefc-badge.png"}),computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"])}},nn={name:"FscSustainableSeparateBlocks",components:{FscSustainableInfoModal:(0,ae.A)(on,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(c,{id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[1]||(i[1]=i=>e.internalState=i),centered:""},{"header-close":(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>["fsc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("span",zo,(0,o.v_)(e.getDictionaryVoice("sustainability","title_fsc")),1)):"pefc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("span",Oo,(0,o.v_)(e.getDictionaryVoice("sustainability","title_pefc")),1)):"fsc_pefc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("span",Po,(0,o.v_)(e.getDictionaryVoice("sustainability","title_fsc_pefc")),1)):"sustainable"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("span",Vo,(0,o.v_)(e.getDictionaryVoice("sustainability","title_"+t.sustainabilityType)),1)):(0,o.Q3)("",!0)]),default:(0,o.k6)(()=>["fsc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("div",Qo,[(0,o.Lk)("img",{class:"fsc-icon",src:a.fscImage,alt:"fsc icon"},null,8,Uo),(0,o.Lk)("div",Fo,(0,o.v_)(e.getDictionaryVoice("sustainability","subtitle_fsc")),1)])):"pefc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("div",qo,[(0,o.Lk)("img",{class:"pefc-icon",src:a.pefcImage,alt:"pefc icon"},null,8,Yo),(0,o.Lk)("div",Ro,(0,o.v_)(e.getDictionaryVoice("sustainability","subtitle_pefc")),1)])):"fsc_pefc"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("div",Xo,[(0,o.Lk)("div",Bo,[(0,o.Lk)("img",{class:"fsc-pefc-icon",src:a.fscImage,alt:"fsc icon"},null,8,Wo),(0,o.Lk)("img",{class:"fsc-pefc-icon",src:a.pefcImage,alt:"pefc icon"},null,8,Go)]),(0,o.Lk)("div",{class:"sidebar-text",innerHTML:e.getDictionaryVoice("sustainability","subtitle_fsc_pefc")},null,8,$o)])):"sustainable"===t.selectedModalContent?((0,o.uX)(),(0,o.CE)("div",Ho,[i[3]||(i[3]=(0,o.Lk)("i",{class:"icon icon-circle-leafs",alt:"sustainable icon"},null,-1)),(0,o.Lk)("div",{class:"sustainable-text",innerHTML:e.getDictionaryVoice("sustainability","description_"+t.sustainabilityType)},null,8,Zo),(0,o.Lk)("div",{class:"sustainable-text generic-text",innerHTML:e.getDictionaryVoice("sustainability","statement_"+t.sustainabilityType)},null,8,Jo),(0,o.Lk)("div",Ko,[(0,o.Lk)("a",{href:e.getDictionaryVoice("sustainability","sustainability_page_link"),target:"_blank"},(0,o.v_)(e.getDictionaryVoice("sustainability","sidebar_sustainable_link")),9,en)])])):(0,o.Q3)("",!0)]),footer:(0,o.k6)(()=>[(0,o.Lk)("button",{class:"btn button-close",onClick:i[0]||(i[0]=(...i)=>e.closeModal&&e.closeModal(...i))},(0,o.v_)(e.getDictionaryVoice("common","dialog_ok_msg")),1)]),_:1},8,["id","modelValue"])}]])},props:{product:{type:Object,required:!1}},data:()=>({selectedModalContent:"fsc",fscImage:tn.A,pefcImage:"/images/pefc-badge.png"}),computed:{...(0,U.L8)("dictionary",["getDictionaryVoice"]),...(0,U.L8)("product",["isFscCertified","isPefcCertified"]),sustainabilityType(){return this.product.sustainabilityTypes[0]??""},hasSustainability(){return""!==this.sustainabilityType},hasOnlyFscCertification(){return this.isFscCertified&&!this.isPefcCertified&&!this.hasSustainability},hasOnlyPefcCertification(){return!this.isFscCertified&&this.isPefcCertified&&!this.hasSustainability},hasBothFscAndPefcCertifications(){return this.isFscCertified&&this.isPefcCertified&&!this.hasSustainability},hasOnlySustainabilityCertification(){return!this.isFscCertified&&!this.isPefcCertified&&this.hasSustainability}},methods:{...(0,U.i0)("modals",["toggleModal"]),openInfoModal(e){this.selectedModalContent=e,this.toggleModal({id:"fsc-sustainable-info-modal",isActive:!0})}}},an=(0,ae.A)(nn,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("fsc-sustainable-info-modal");return(0,o.uX)(),(0,o.CE)("div",jo,[s.hasOnlyFscCertification?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"internal-container fsc-container","data-test":"fsc-certification",onClick:i[0]||(i[0]=e=>s.openInfoModal("fsc"))},[(0,o.Lk)("img",{class:"icon-fsc",src:a.fscImage,alt:"fsc icon"},null,8,To)])):(0,o.Q3)("",!0),s.hasOnlyPefcCertification?((0,o.uX)(),(0,o.CE)("div",{key:1,class:"internal-container pefc-container","data-test":"pefc-certification",onClick:i[1]||(i[1]=e=>s.openInfoModal("pefc"))}
1,[(0,o.Lk)("img",{class:"icon-pefc",src:a.pefcImage,alt:"pefc icon"},null,8,xo)])):(0,o.Q3)("",!0),s.hasBothFscAndPefcCertifications?((0,o.uX)(),(0,o.CE)("div",Eo,[(0,o.Lk)("div",{class:"internal-container fsc-container",onClick:i[2]||(i[2]=e=>s.openInfoModal("fsc_pefc"))},[(0,o.Lk)("img",{class:"icon-fsc",src:a.fscImage,alt:"fsc icon"},null,8,So)]),(0,o.Lk)("div",{class:"internal-container pefc-container",onClick:i[3]||(i[3]=e=>s.openInfoModal("fsc_pefc"))},[(0,o.Lk)("img",{class:"icon-pefc",src:a.pefcImage,alt:"pefc icon"},null,8,wo)])])):(0,o.Q3)("",!0),s.hasOnlySustainabilityCertification?((0,o.uX)(),(0,o.CE)("div",{key:3,class:"internal-container sustainable-container","data-test":"sustainability-certification",onClick:i[4]||(i[4]=e=>s.openInfoModal("sustainable"))},[i[5]||(i[5]=(0,o.Lk)("i",{class:"icon icon-leaf icon-leaf_32px",alt:"leaf icon"},null,-1)),(0,o.Lk)("div",_o,(0,o.v_)(e.getDictionaryVoice("sustainability","sustainable_title")),1)])):(0,o.Q3)("",!0),(0,o.bF)(c,{"sustainability-type":s.sustainabilityType,"selected-modal-content":a.selectedModalContent},null,8,["sustainability-type","selected-modal-content"])])}],["__scopeId","data-v-b7c2d3f4"]]),sn=()=>{(()=>{const e=(0,o.Ef)({components:{ProductLayoutPackaging:St}});(0,n.A)(e,"#product-packaging-container")})(),(()=>{const e=(0,o.Ef)({components:{SlideshowPackaging:no}});(0,n.A)(e,"#packaging-slideshow-container")})(),(()=>{const e=(0,o.Ef)({components:{AdditionalInfoTabs:No}});(0,n.A)(e,"#packaging-info-tabs")})(),(()=>{const e=(0,o.Ef)({components:{FscSustainableSeparateBlocks:an}});(0,n.A)(e,"#packaging-sustainable-blocks")})()}},25789(e,i,t){t.d(i,{A:()=>g});var o=t(41425);const n=["innerHTML"],a=["data-form-id","data-portal-id"],s=["innerHTML"];var c=t(82124),r=t(80230),l=t(19616),d=t(94960),u=t(85575);const p={name:"ModalCustomQuotes",props:{hubspotConfig:{type:Object,required:!0}},mixins:[r.A],data:()=>({idModal:"modal-custom-quotes",onHubspotSubmissionSuccess:null}),computed:{hubspotFormId(){return this.hubspotConfig?.formId??""},hubspotPortalId(){return this.hubspotConfig?.portalId??""},hubspotScript(){return`https://js-eu1.hsforms.net/forms/embed/${this.hubspotPortalId}.js`},...(0,c.L8)("dictionary",["getDictionaryVoice"]),...(0,c.L8)("links",["customQuotePrivacyPolicy"])},methods:{openPrivacyPolicyPage(){const e=this.customQuotePrivacyPolicy;window.open(e,"_blank")},loadHubspotScript(){return(0,l.A)(this.hubspotScript).catch(e=>{u.A.error(e),this.$emit("requestError")})}},mounted(){(0,d.A)("click",".full_privacy_policy",this.openPrivacyPolicyPage),this.onHubspotSubmissionSuccess=e=>{e?.detail?.formId===this.hubspotFormId&&(u.A.log("Form submitted successfully!"),this.$emit("requestSuccess"))},document.addEventListener("hs-form-event:on-submission:success",this.onHubspotSubmissionSuccess),this.$nextTick(()=>{this.loadHubspotScript()})},beforeUnmount(){this.onHubspotSubmissionSuccess&&document.removeEventListener("hs-form-event:on-submission:success",this.onHubspotSubmissionSuccess)}};const g=(0,t(66262).A)(p,[["render",function(e,i,t,c,r,l){const d=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(d,{id:r.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[0]||(i[0]=i=>e.internalState=i),size:"lg","hide-footer":""},{"header-close":(0,o.k6)(()=>[...i[1]||(i[1]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[(0,o.Lk)("span",{innerHTML:e.getDictionaryVoice("modals","fill_request")},null,8,n)]),default:(0,o.k6)(()=>[(0,o.Lk)("div",{class:"hs-form-frame","data-region":"eu1","data-form-id":l.hubspotFormId,"data-portal-id":l.hubspotPortalId},null,8,a),(0,o.Lk)("div",{class:"terms-scroller border-all",innerHTML:e.getDictionaryVoice("customQuotes","privacy_policy_quotes")},null,8,s)]),_:1},8,["id","modelValue"])}]])},31737(e,i,t){t.d(i,{default:()=>r}),t.r(i);var o=t(41425);var n=t(82124),a=t(45439),s=t(94960);const c={name:"ModalSlideshowDisclaimer",mixins:[t(80230).A],props:{banners:{type:Array,required:!1},currentSlide:{type:Object,required:!1}},data:()=>({disclaimer:"",idModal:"modal-slideshow-disclaimer"}),methods:{...(0,n.i0)("modals",["toggleModal"]),openModalForSlide(e){const{disclaimer:i}=e;e?.contentHtmlDefinition?.disclaimer&&i&&(this.disclaimer=i,this.openModal())},showModalForPackagingPage(){this.openModalForSlide(this.currentSlide)}
1,showModalForIndexes(e,i){const t=this.banners?.[e]?.bannerListCollection?.[i];this.openModalForSlide(t)}},mounted(){(0,a.A)("click",".slider-disclaimer",(e,i)=>{e.stopPropagation();const t=i?.dataset?.iIndex,o=i?.dataset?.jIndex;this.showModalForIndexes(t,o)}),(0,s.A)("click",".slider-disclaimer-packaging",e=>{e.stopPropagation(),this.showModalForPackagingPage()})}};const r=(0,t(66262).A)(c,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(c,{id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[0]||(i[0]=i=>e.internalState=i),ref:"modal-slideshow-disclaimer",size:"xl","hide-footer":""},{"header-close":(0,o.k6)(()=>[...i[1]||(i[1]=[(0,o.Lk)("span",{"aria-hidden":"true"},"×",-1)])]),default:(0,o.k6)(()=>[(0,o.Lk)("p",null,(0,o.v_)(a.disclaimer),1)]),_:1},8,["id","modelValue"])}]])},33147(e,i,t){t.d(i,{A:()=>o});const o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAEElEQVR42mNkwAEYRyXQAQAIygAN1jcmhQAAAABJRU5ErkJggg=="},34037(e,i,t){t.d(i,{A:()=>g});var o=t(41425);const n={key:0,class:"text-danger form-text"};var a=t(82124),s=t(72273),c=t(20210),r=t(31500),l=t(54851),d=t(25760),u=t(18281);const p={name:"ZipCodeInput",props:{sessionZipCode:{type:String}},components:{BFormInput:s.b,BInputGroup:c.Y,SpinningLoader:r.A,FeatureHeader:l.A},data:()=>({zipCodeModel:"",validZipCode:"",isLoading:!1,validationResult:{hasError:!1,text:""}}),setup(){const e=(0,d.z)();return(0,o.Gt)(u.ll,["quantity-delivery-sub-header"]),{uiSettings:e}},computed:{hasError(){return!0===this.validationResult.hasError},zipCodeInputValid(){return this.validZipCode===this.zipCodeModel&&""!==this.validZipCode},layoutClass(){return this.uiSettings.customStyle},...(0,a.L8)("dictionary",["getDictionaryVoice"]),...(0,a.L8)("product",["merchantProductName"])},methods:{handleError(e){throw new Error(e)},getDictionaryVoiceByLayout(e,i){if("layout-standard"!==this.layoutClass){const t=`${this.layoutClass}_${i}`;return this.getDictionaryVoice(e,t)}return this.getDictionaryVoice(e,i)},updateZipCode(){this.zipCodeInputValid?this.disableZipCode():this.setZipcode()},async setZipcode(){this.isLoading=!0;try{const e=await axios.post("/set-zipcode/",{zipcode:this.zipCodeModel,switchoff:!1});if(200===e.status&&"success"===e.data.status)this.validZipCode=this.zipCodeModel,this.validationResult={hasError:!1,text:""},setTimeout(()=>{this.$emit("pricesRefresh")},1e3);else if("failure"===e.data.status){this.validZipCode="";const{data:i}=e.data;this.validationResult={hasError:!0,text:i.message||""}}else this.handleError("Request error")}catch(e){this.validationResult={hasError:!0,text:""}}this.isLoading=!1},async disableZipCode(){this.isLoading=!0;try{const e=await axios.post("/set-zipcode/",{zipcode:this.zipCodeModel,switchoff:!0});200===e.status&&"success"===e.data.status?(this.validZipCode="",this.zipCodeModel="",setTimeout(()=>{this.$emit("pricesRefresh")},1e3)):this.handleError("Request error")}catch(e){console.log(e)}this.isLoading=!1}},mounted(){this.zipCodeModel=this.sessionZipCode,this.validZipCode=this.sessionZipCode}};const g=(0,t(66262).A)(p,[["render",function(e,i,t,a,s,c){const r=(0,o.g2)("feature-header"),l=(0,o.g2)("b-form-input"),d=(0,o.g2)("spinning-loader"),u=(0,o.g2)("b-button"),p=(0,o.g2)("b-input-group");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["form-group form-group-spaced-mobile",[c.layoutClass,{"form-group-error":c.hasError}]])},[(0,o.bF)(r,{"title-label":e.getDictionaryVoice("product","label_cap")},null,8,["title-label"]),(0,o.bF)(p,null,{append:(0,o.k6)(()=>[(0,o.bF)(u,{text:c.getDictionaryVoiceByLayout("product","btn_cap"),variant:c.hasError?"danger":"primary",onClick:c.updateZipCode},{default:(0,o.k6)(()=>[(0,o.bF)(d,{"is-loading":s.isLoading},null,8,["is-loading"]),(0,o.eW)(" "+(0,o.v_)(c.zipCodeInputValid?e.getDictionaryVoice("product","disable"):c.getDictionaryVoiceByLayout("product","btn_cap")),1)]),_:1},8,["text","variant","onClick"])]),default:(0,o.k6)(()=>[(0,o.bF)(l,{placeholder:c.getDictionaryVoiceByLayout("product","inserisci_il_cap"),modelValue:s.zipCodeModel,"onUpdate:modelValue":i[0]||(i[0]=e=>s.zipCodeModel=e)},null,8,["placeholder","modelValue"])]),_:1}),c.hasError?((0,o.uX)(),(0,o.CE)("small",n,(0,o.v_)(s.validationResult.text),1)):(0,o.Q3)("",!0)],2)}],["__scopeId","data-v-f931bcf4"]])},34342(e,i,t){t.d(i,{A:()=>n});t(98992),t(54520),t(30670),t(81454);var o=t(82124);const n={name:"SlideshowProductBannersMixin",props:{banners:{type:Array,required:!1}},computed:{gallery(){return this.banners.flatMap(e=>
1{const{bannerListCollection:i,type:t,slideShowId:o}=e;return Array.from(i).map(e=>({...e,slideShowType:t,slideShowId:o}))}).filter(e=>e?.imageSet?.desktop)},...(0,o.L8)("screen",["isMobileScreen"])},methods:{getImageSourceForScreen(e){const i=this.getImageSetForScreen(e);return i?.url},getImageSetForScreen(e){const i=e?.imageSet?.mobile,t=e?.imageSet?.desktop;return(this.isMobileScreen?i:t)??t}}}},37126(e,i,t){t.d(i,{A:()=>r});var o=t(41425);const n=["innerHTML"];var a=t(82124),s=t(19300);const c={name:"ModalGenericError",mixins:[t(80230).A],data:()=>({idModal:"modal-generic-error"}),computed:{...(0,a.L8)("dictionary",["getDictionaryVoice"])},created(){s.A.$on("open-modal-generic-error",()=>{this.openModal()})}};const r=(0,t(66262).A)(c,[["render",function(e,i,t,a,s,c){const r=(0,o.g2)("b-button"),l=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(l,{id:s.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[0]||(i[0]=i=>e.internalState=i),ref:"modal-generic-error",size:"lg"},{"header-close":(0,o.k6)(()=>[...i[1]||(i[1]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[i[2]||(i[2]=(0,o.Lk)("span",{class:"icon icon-alert_32px"},null,-1)),i[3]||(i[3]=(0,o.eW)()),i[4]||(i[4]=(0,o.Lk)("br",null,null,-1)),(0,o.eW)(" "+(0,o.v_)(e.getDictionaryVoice("modals","ops")),1)]),default:(0,o.k6)(()=>[(0,o.Lk)("p",{innerHTML:e.getDictionaryVoice("modals","error_add_to_cart")},null,8,n)]),footer:(0,o.k6)(({close:i})=>[(0,o.bF)(r,{class:"blue-empty-btn",variant:"primary",onClick:i},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("modals","chiudi")),1)]),_:1},8,["onClick"])]),_:1},8,["id","modelValue"])}]])},45439(e,i,t){t.d(i,{A:()=>o});t(98992),t(3949);const o=(e,i,t)=>{document.querySelectorAll(i).forEach(i=>{i.addEventListener(e,e=>{t(e,i)})})}},54987(e,i,t){t.d(i,{A:()=>p});var o=t(41425);const n=["disabled"],a={key:0,class:"icon icon-cart_32px"},s={key:0,class:"icon icon-newsletter_32px d-none d-sm-block"},c=["disabled"];var r=t(82124),l=t(65127),d=t(25760);const u={name:"ProductRecapButtons",props:{isMobile:{type:Boolean},recapEnabled:{type:Boolean},isAdding:{type:Boolean},isPriceLimitExceed:{type:Boolean},isEditView:{type:Boolean},buttonActiveId:{type:String,required:!1},isDesignerExperienceEnabled:{type:Boolean,required:!1},changingProductConfig:{type:Boolean,required:!1},useGreyDisabledButton:{type:Boolean,required:!1}},components:{BSpinner:l._},setup:()=>({uiSettings:(0,d.z)()}),computed:{...(0,r.L8)("dictionary",["getDictionaryVoice"]),...(0,r.L8)("templates",["hasTemplateDesign"]),layoutClass(){return this.uiSettings.customStyle}},methods:{...(0,r.i0)("modals",["toggleModal"]),recapAction(){this.isEditView&&"design-stack"===this.buttonActiveId&&this.changingProductConfig?(this.toggleModal({id:"modal-edit-item-alert",isActive:!0}),this.$store.dispatch("product/setOpenDexClicked",!1)):this.isEditView?this.$emit("updateJobClick"):this.$emit("addToCartClick")},goToCart(){this.$emit("goToCartClick")},buttonDesignAction(){this.$emit("buttonDesignAction","design-stack")}}};const p=(0,t(66262).A)(u,[["render",function(e,i,t,r,l,d){const u=(0,o.g2)("b-spinner");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)([{mobile:t.isMobile},d.layoutClass])},[(0,o.Lk)("button",{class:(0,o.C4)(["btn green-btn send-to-cart",{"loading-content":!t.recapEnabled,"update-job":t.isEditView,"grey-disabled-btn":t.useGreyDisabledButton}]),disabled:!t.recapEnabled||t.isAdding,onClick:i[0]||(i[0]=(0,o.D$)((...e)=>d.recapAction&&d.recapAction(...e),["stop"]))},[t.isPriceLimitExceed?((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[t.isAdding?((0,o.uX)(),(0,o.Wv)(u,{key:1,small:""})):((0,o.uX)(),(0,o.CE)("i",s)),(0,o.eW)(" "+(0,o.v_)(e.getDictionaryVoice("common","contact_pixart")),1)],64)):((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[t.isAdding||t.isEditView?(0,o.Q3)("",!0):(0,o.bo)(((0,o.uX)(),(0,o.CE)("i",a,null,512)),[[o.aG,!t.isMobile]]),t.isAdding?(0,o.bo)(((0,o.uX)(),(0,o.Wv)(u,{key:1,small:""},null,512)),[[o.aG,!t.isMobile]]):(0,o.Q3)("",!0),t.isEditView?((0,o.uX)(),(0,o.CE)(o.FK,{key:3},[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("product",t.isMobile?"update_job_short":"update_job")),1)],64)):((0,o.uX)(),(0,o.CE)(o.FK,{key:2},[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("product","aggiungi_carrello")),1)],64))],64))],10,n),t.isEditView?((0,o.uX)(),(0,o.CE)("button",{key:0,class:(0,o.C4)(["btn cancel-modify red-empty-btn",[t.isMobile?"":"bigger-btn"]]),disabled:!t.recapEnabled,onClick:i[1]||(i[1]=(0,o.D$)((...e)=>d.goToCart&&d.goToCart(...e),["stop"]))},(0,o.v_)(e.getDictionaryVoice("common","cancel")),11,c)):(0,o.Q3)("",!0)],2)}],["__scopeId","data-v-6a65a291"]])},62414(e,i,t){t.d(i,{A:()=>o});t(98992),t(8872);const o={name:"ValidationHandler",data:()=>({validationMessages:{}}),methods:{clearObjectFields:e=>Object.keys(e).reduce((e,i)=>({...e,[i]:""}),{}),hasValidationMessage(e){return""!==this.getValidationMessage(e)},getValidationMessage(e){return this.validationMessages?.[e]??""},clearValidationMessages(){this.validationMessages=this.clearObjectFields(this.validationMessages)}
1,updateValidationMessages(e){this.validationMessages={...this.validationMessages,...e}}}}},67845(e,i,t){t.d(i,{A:()=>f});var o=t(41425);const n={key:0,class:"product-recommender-box",ref:"recommender-container"},a={class:"title"},s={class:"as-h1"},c=["onClick","href"],r={class:"image-container"},l={class:"card-body"},d=["href"];t(98992),t(3949),t(81454);var u=t(82124),p=t(67873),g=t(70332),m=t(11790),M=t(62998),y=t(39030),h=t(85575),v=t(52777),k=t(51922),b=t(84408);const D={name:"ProductRecommender",props:{pageIds:{type:Array,required:!1},component:{type:String,required:!0}},data:()=>({productsData:[],recommendationId:"",recommendationAnalyticsId:"",placementId:"",mainTitle:"",locale:window.domainLocale,keenOptions:{loop:!1,slidesPerView:2,spacing:20,autoAdjustSlidesPerView:!0,breakpoints:{"(min-width: 576px)":{slidesPerView:4}}},observerOptions:{root:null,rootMargin:"0px",threshold:1},actionToTrack:{viewed:"viewed",clicked:"clicked"},segmentAnonymousId:""}),components:{Keen:g.A,KeenSlide:p.A,ResponsiveSourceImage:m.A},computed:{...(0,u.L8)("dictionary",["getDictionaryVoice"]),...(0,u.L8)("screen",["screenIs"]),...(0,u.L8)("cart",["cartLoaded"]),...(0,u.L8)("product",["merchantProductId"]),...(0,u.L8)("experience",["getVariation"]),hideArrows(){return this.screenIs("xs")?this.productsData.length<=2:this.productsData.length<=4},showProductRecommender(){return this.productsData&&this.productsData.length>0}},methods:{updateProductRecommenderMetrics:M.A,async loadProductRecommendations(){const e=await(0,k.A)({segmentAnonymousId:this.segmentAnonymousId,component:this.component,pageIds:this.pageIds,merchantProductId:this.merchantProductId,requestUpsell:!1});if(e&&e?.length>0){const i=e[0],{recommendationId:t,analyticsId:o,recommendations:n,title:a,placementId:s}=i;this.recommendationId=t,this.recommendationAnalyticsId=o,this.placementId=s||"",this.mainTitle=a,this.productsData=(n||[]).map((e,i)=>{const{item_id:t,image_url:n,item_name:a}=e,s=e?.publishedContent?.locales?.[this.locale],{permalink:c,pageTitle:r}=s;return{id:t,name:a,image:n,title:r,link:c,recommendationAnalyticsId:o,listPosition:i+1}}),this.$nextTick(()=>{this.$refs.keen?.init()})}},sendClickTrackingAndRedirect(e,i){i.preventDefault();const t=e?.link,o=e?.listPosition||0;this.updateProductRecommenderMetrics(this.actionToTrack.clicked,this.recommendationId),(0,y.A)("Recommendation Clicked","product_recommender_click",{recommendation_analytics_id:this.recommendationAnalyticsId,product_recommendation_position:o,recommendation_id:this.recommendationId,recommendation_placement_id:this.placementId,product_id:e.id,category_id:null,product_sku:null,product_name:e.title});const n=`?recommendation-id=${this.recommendationId}&recommendation-analytics-id=${this.recommendationAnalyticsId}&recommendation-placement-id=${this.placementId}&recommendation-position=${o}`;document.location.href=`${t}${n}`},sendViewTracking(e,i){return e.forEach(e=>{e.isIntersecting&&1===e.intersectionRatio&&(this.updateProductRecommenderMetrics(this.actionToTrack.viewed,this.recommendationId),(0,y.A)("Recommendation List Viewed","product_recommender_impression",{recommendation_analytics_id:this.recommendationAnalyticsId,recommendation_id:this.recommendationId,recommendation_placement_id:this.placementId,product_recommender_items:this.productsData}),i.disconnect())}),!1},observeElements(){const e=this.$refs["recommender-container"];try{const i=new IntersectionObserver(e=>{this.sendViewTracking(e,i)},this.observerOptions);i.observe(e)}catch(e){h.A.error("Product Recommender: errors in the intersection observer method!!",e)}},onKeenMounted(){const e=this.$refs.cardBtn[0];if(e){const i=e.querySelector(".image-container"),t=(0,b.A)(i),o=parseFloat(t/2);this.$refs.keen.$el.style.setProperty("--keen-custom-arrow-top",`${o}px`)}}},watch:{productsData:{handler(e){e&&Array.isArray(e)&&e.length>0&&this.$nextTick(()=>{this.observeElements()})},deep:!0},cartLoaded(e){e&&this.loadProductRecommendations()}},mounted(){this.cartLoaded&&this.loadProductRecommendations(),(0,v.A)(()=>window.analytics&&void 0!==window.analytics?.user&&void 0!==window.analytics?.user()?.anonymousId,()=>{this.segmentAnonymousId=window.analytics.user().anonymousId()})},beforeUnmount(){this.$refs.keen?.destroy()}};const f=(0,t(66262).A)(D,[["render",function(e,i,t,u,p,g){const m=(0,o.g2)("responsive-source-image"),M=(0,o.g2)("keen-slide"),y=(0,o.g2)("keen");return g.showProductRecommender?((0,o.uX)(),(0,o.CE)("div",n,[(0,o.Lk)("div",a,[(0,o.Lk)("h2",s,(0,o.v_)(p.mainTitle),
11)]),(0,o.bF)(y,{ref:"keen",options:p.keenOptions,class:(0,o.C4)({"arrows-hidden":g.hideArrows}),onMounted:g.onKeenMounted},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(p.productsData,e=>((0,o.uX)(),(0,o.Wv)(M,{key:e.id},{default:(0,o.k6)(()=>[(0,o.Lk)("div",{class:"card-btn",ref_for:!0,ref:"cardBtn"},[(0,o.Lk)("a",{onClick:i=>g.sendClickTrackingAndRedirect(e,i),href:e.link},[(0,o.Lk)("div",r,[i[0]||(i[0]=(0,o.Lk)("div",{class:"image-hover"},null,-1)),(0,o.bF)(m,{source:e.image,alt:e.title,width:"600px",height:"600px"},null,8,["source","alt"])])],8,c),(0,o.Lk)("div",l,[(0,o.Lk)("a",{class:"card-title",href:e.link},(0,o.v_)(e.title),9,d)])],512)]),_:2},1024))),128))]),_:1},8,["options","class","onMounted"])],512)):(0,o.Q3)("",!0)}],["__scopeId","data-v-8c10b384"]])},71724(e,i,t){t.d(i,{A:()=>s});var o=t(41425);var n=t(82124);const a={name:"ModalCustomQuotesSuccess",mixins:[t(80230).A],data:()=>({idModal:"modal-custom-quotes-success"}),computed:{...(0,n.L8)("dictionary",["getDictionaryVoice"])}};const s=(0,t(66262).A)(a,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("b-button"),r=(0,o.g2)("b-modal");return(0,o.uX)(),(0,o.Wv)(r,{id:a.idModal,modelValue:e.internalState,"onUpdate:modelValue":i[0]||(i[0]=i=>e.internalState=i)},{"header-close":(0,o.k6)(()=>[...i[1]||(i[1]=[(0,o.Lk)("i",{class:"icon icon-c-close_20px"},null,-1)])]),title:(0,o.k6)(()=>[...i[2]||(i[2]=[(0,o.Lk)("span",{class:"icon icon-thumb-up"},null,-1)])]),default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("modals","success_custom_quotes")),1)]),footer:(0,o.k6)(({close:i})=>[(0,o.bF)(c,{class:"green-empty-btn",onClick:i},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(e.getDictionaryVoice("modals","chiudi")),1)]),_:1},8,["onClick"])]),_:1},8,["id","modelValue"])}]])},79442(e,i,t){t.d(i,{A:()=>a});t(14603),t(47566),t(98721);var o=t(7374),n=t(85575);const a=(e,i)=>{fetch(e,{headers:new Headers({Origin:window.location.origin}),mode:"cors"}).then(e=>e.blob()).then(e=>{((e,i)=>{const t=document.createElement("a");t.download=(0,o.A)(i)?i:e.split("\\").pop().split("/").pop(),t.href=e,document.body.appendChild(t),t.click(),t.remove()})(window.URL.createObjectURL(e),i)}).catch(e=>n.A.error(e))}},81584(e,i,t){t.d(i,{A:()=>b});var o=t(41425),n=t(82124),a=t(26001),s=t(34507),c=t(54987),r=t(32574);const l={class:"col-11 text-container"},d={key:1,class:"input-area row"},u=["placeholder"],p={key:2,class:"row flex-nowrap promocode-inserted"},g={class:"col-10 text-container"},m={class:"col-2 icon-container"};var M=t(31500);const y={name:"PromoCodeInputPpag",mixins:[t(59735).A],components:{SpinningLoader:M.A}};const h=(0,t(66262).A)(y,[["render",function(e,i,t,n,a,s){const c=(0,o.g2)("spinning-loader"),r=(0,o.g2)("modal-promocode-success"),M=(0,o.g2)("modal-promocode-fail");return(0,o.uX)(),(0,o.CE)("div",{class:"promocode-section container",onClick:i[4]||(i[4]=(0,o.D$)(()=>{},["stop"]))},[e.showAddPromocodeText?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"row flex-nowrap promocode-not-inserted",onClick:i[0]||(i[0]=i=>e.togglePromocodeInputField())},[(0,o.Lk)("div",l,(0,o.v_)(e.getDictionaryVoice("product","promocode_text_ppag")),1),i[5]||(i[5]=(0,o.Lk)("div",{class:"col-1 icon-container"},[(0,o.Lk)("i",{class:"icon icon-c-plus_16px"})],-1))])):(0,o.Q3)("",!0),e.showPromocodeInput?((0,o.uX)(),(0,o.CE)("div",d,[(0,o.Lk)("form",null,[(0,o.bo)((0,o.Lk)("input",{class:"promocode-input",placeholder:e.getDictionaryVoice("product","promocode_placeholder_ppag"),"onUpdate:modelValue":i[1]||(i[1]=i=>e.promocode=i)},null,8,u),[[o.Jo,e.promocode]]),(0,o.Lk)("div",{class:"promocode-button btn btn-primary",onClick:i[2]||(i[2]=i=>e.togglePromocode({hideModals:!1}))},[(0,o.bF)(c,{"is-loading":e.promocodeIsLoading},null,8,["is-loading"]),(0,o.eW)(" "+(0,o.v_)(e.getDictionaryVoice("product","promocode_cta_ppag")),1)])])])):(0,o.Q3)("",!0),e.showAcceptedPromocodeText?((0,o.uX)(),(0,o.CE)("div",p,[(0,o.Lk)("div",g,(0,o.v_)(e.getDictionaryVoice("product","promocode_accepted_ppag")),1),(0,o.Lk)("div",m,[(0,o.Lk)("i",{class:"icon icon-c-close_16px",onClick:i[3]||(i[3]=i=>e.togglePromocode({hideModals:!1}))})])])):(0,o.Q3)("",!0),(0,o.bF)(r),(0,o.bF)(M)])}],["__scopeId","data-v-2023d87e"]]);
1var v=t(87264),k=t(30388);const b={name:"ProductRecapMain",mixins:[a.A],components:{TransitionExpand:r.A,ProductRecapButtons:c.A,ConditionalDisplay:s.A,PromocodeInputPpag:h,CustomUrlGenerator:(0,o.$V)(()=>Promise.all([t.e(5567),t.e(1908)]).then(t.bind(t,61600)))},props:{outOfStockMessage:{type:String,default:"",required:!1},discountedPriceExists:{type:Boolean,required:!0},activeOptionService:{type:String,default:"",required:!1},recapEnabled:{type:Boolean,required:!0},isAdding:{type:Boolean,required:!1,default:!1},isPriceLimitExceed:{type:Boolean,required:!1,default:!1},buttonActiveId:{type:String,required:!1},isDesignerExperienceEnabled:{type:Boolean,required:!1,default:!1},changingProductConfig:{type:Boolean,required:!1,default:!1},isStaff:{type:Boolean,required:!1,default:!1},customConfigResponse:{type:[String,Object],required:!1},fileCheck:{type:Boolean,required:!1,default:!1},showEmptyShippingPrice:{type:Boolean,required:!1,default:!1},designService:{type:[String,Object],required:!1},vatAmountLabel:{type:String,required:!0},vatPrice:{type:Object,required:!0},showDateTooltip:{type:Boolean,required:!1,default:!1}},data:()=>({isOrderRecapOpen:!1,promocode:"",isPromocodeLoaded:!1}),computed:{...(0,n.L8)("screen",["isMobileScreen"]),...(0,n.L8)("dictionary",["getDictionaryVoice"]),...(0,n.L8)("prices",["dates","isProductOutOfStock","priceRequestPending","selectedQuantity","datesRequestPending","selectedDeliveryDate","selectedPrice","selectedUnitPrice","selectedDiscountedPrice","fileCheckValue","isVatAmountVisible","isShippingAmountVisible","shippingPrice"]),...(0,n.L8)("product",["isUnitPriceEnabled","isEditView","designServiceValue"]),discountedAmount(){return this.formatPriceWithCurrency((this.selectedPrice.amount-this.selectedDiscountedPrice.amount).toFixed(2))},discountedAmountPercent(){return`${Math.round(100*Math.abs((this.selectedPrice.amount-this.selectedDiscountedPrice.amount)/this.selectedPrice.amount))}%`},showPromocodeView(){return""!==this.promocode},isFreeShippingAmount(){return 0===Number(this.shippingPrice?.[0]?.amount??0)}},methods:{formatPrice:v.A,formatDateByType:k.A,toggleOrderRecap(){this.isOrderRecapOpen=!this.isOrderRecapOpen},updateJob(){this.$emit("updateJobClick")},addToCart(){this.$emit("addToCartClick")},goToCart(){this.$emit("goToCartClick")},onButtonDesignAction(e){this.$emit("buttonDesignAction",e)},onGetCustomConfigUrlClick(e){this.$emit("getCustomConfigUrlClick",e)},getSelectedDate(e){return this.dates?.[e]?this.formatDateByType(this.dates[e],"DayMonth"):"- - -"},loadPrices(e){this.$emit("pricesRefreshPromocode"),this.promocode=e,this.isPromocodeLoaded=!0}}}},84408(e,i,t){t.d(i,{A:()=>o});const o=e=>e?parseFloat(getComputedStyle(e,null).height.replace("px","")):0},87176(e,i,t){t.d(i,{A:()=>c});var o=t(41425);const n={class:"artwork-preview"},a=["id"];const s={name:"ArtworkPreview",props:{element3dPreviewId:{type:String,required:!0}}};const c=(0,t(66262).A)(s,[["render",function(e,i,t,s,c,r){return(0,o.uX)(),(0,o.CE)("div",n,[(0,o.Lk)("div",{id:t.element3dPreviewId,class:"standalone-file-preview"},null,8,a)])}]])},94013(e,i,t){t.d(i,{A:()=>s});var o=t(82124),n=t(54851);const a={name:"JobNameInput",mixins:[t(62414).A],props:{modelValue:{type:String}},data:()=>({originalModelValue:"",jobName:""}),components:{FeatureHeader:n.A},computed:{...(0,o.L8)("dictionary",["getDictionaryVoice"])},methods:{nameCheck(){""!==this.jobName?axios.post("/product/validate-job-name/",{name:this.jobName}).then(e=>{this.clearValidationMessages();const{data:i}=e;"failure"===i.status?(this.updateValidationMessages({jobName:this.getDictionaryVoice("product","custom_name_invalid")}),this.$emit("update:modelValue",this.originalModelValue)):this.jobName.length>50?this.updateValidationMessages({jobName:this.getDictionaryVoice("product","custom_name_max_length")}):this.$emit("update:modelValue",this.jobName)}):(this.clearValidationMessages(),this.$emit("update:modelValue",""))}},created(){this.jobName=this.modelValue,this.originalModelValue=this.modelValue}};const s=(0,t(66262).A)(a,[["__scopeId","data-v-0eee83cf"]])},94960(e,i,t){t.d(i,{A:()=>o});const o=(e,i,t)=>{document.addEventListener(e,e=>{const o=e.target.closest(i);o&&t(e,o)},!1)}}};

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.