","")}},R))})]})]})}):h("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:h("img",{style:{margin:"0 auto"},width:"80",src:"https://images.samsung.com/is/image/samsung/assets/uk/pay-monthly-contracts-2023/contract-loading.gif"})})},Uc={light:{background:"#fff",text:"#000",grey:"#b4b4b4"},dark:{background:"#000",text:"#fff",grey:"#464646"}},Wc=e=>{var Y,ce,he,K,de,te,me,De;const{theme:t="light",setSelected:n,dropdownOpen:r,setImage:o,leadSku:i,setCta:l,countryCode:a,copyLayouts:u}=e,{data:s,error:c,finished:g}=Sl(i),[d,x]=v.useState(i??Object.keys(s)[0]),[w,k]=v.useState("");v.useEffect(()=>{i&&x(i)},[i]);const[E,p]=v.useState([]);let{freeItems:f}=uu(i);v.useEffect(()=>{p(f)},[f]);const[m,C]=hl({devices:s,selectedSku:d}),_=O=>{n(O),x(O),o(s[O].picture)},S=Jt(),T=Sn({devices:s,selectedSku:d,availableSkus:m,field:"color",handleSelectSku:_,element:gl,theme:t}),$=Sn({devices:s,selectedSku:d,availableSkus:m,field:"size",handleSelectSku:_,element:yl,theme:t}),[V,U]=v.useState(!1),[ae,oe]=v.useState(0);v.useEffect(()=>{let O=null;s&&g&&s[d]&&(s[d].price.priceType?s[d]&&s[d].stock&&s[d].stock.stockLevelStatus==="outOfStock"?O=h(rt,{onClick:()=>{},size:S?26:16,style:{margin:S?"1em 0":" 0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",backgroundColor:"#f4f4f4",borderColor:"#ffffff",pointerEvents:"none",color:"#b5b5b5",textAlign:"center"},children:u.outOfStock}):s[d]&&s[d].stock&&s[d].price.priceType&&s[d].stock.stockLevelStatus!=="outOfStock"&&(t==="light"?O=h(Dt,{onClick:()=>{window.location.href=`${s[d].link}buy/?modelCode=${d}`},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",textAlign:"center"},...fe(`PCDBuyNow:${s[d].name}`),children:u.buyNow}):O=h(On,{onClick:()=>{window.location.href=`${s[d].link}buy/?modelCode=${d}`},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",textAlign:"center","&:hover":{borderColor:"#ffffff"}},...fe(`PCDBuyNow:${s[d].name}`),children:u.buyNow})):O=h(rt,{onClick:()=>{},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",backgroundColor:"#f4f4f4",borderColor:"#ffffff",pointerEvents:"none",color:"#b5b5b5",textAlign:"center"},children:u.notAvailableCta}),O!==null&&l(O))},[s,d,g,s[d]]);const D=Uc[t]||Uc.light;v.useState("HAND"),v.useState(" Default Value ");const{updateSecondProductCategory:ee,updateSecondProduct:ie,updateSecondAccessary:ye,updateSkuToView:pe,updateEditSecondProduct:I,activeTab:W,updateSecondProductConfigurator:B,updateSecondProductSubCategory:X,activeSubCategoryTab:z,updateActiveSubCategoryTab:N}=v.useContext(je);v.useContext(je);const[b,M]=v.useState(null),[y,H]=v.useState(!1),[P,q]=v.useState([]),ne=()=>{H(!1);let O="https://searchapi.samsung.com/v6/front/b2c/product/card/detail/newhybris?siteCode=pt&modelList="+d+"&saleSkuYN=Y&onlyRequestSkuYN=Y&keySummaryYN=N&specYN=N&commonCodeYN=N";fetch(O).then(R=>R.json()).then(R=>{H(!0),q(R),q(R),console.log(R)},R=>{H(!0),M(R)})},re=()=>{let O="https://api.shop.samsung.com/tokocommercewebservices/v2/pt/products/"+d+"/offers?fields=SIMPLE_INFO";fetch(O).then(R=>R.json()).then(R=>{var Te;if(!R||R.length===0)return;let ke=[];((Te=R==null?void 0:R.benefits)==null?void 0:Te.length)>0&&R.benefits.forEach(F=>{F.code.includes("CASHBACK")&&ke.push(F.description),F.code.includes("FOC")&&ke.push(F.description)}),p(ke)},()=>{})};return v.useEffect(()=>{ne(),re()},[d]),c?h("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:h(Z,{style:{textAlign:"center",fontSize:"14px",fontWeight:"normal",lineHeight:"1rem",marginTop:"20px"},children:u.notForSale})}):s[d]?h(le,{children:L("div",{style:{opacity:r?"0.2":"1",margin:S?"5vw 0vw":"30px",display:S?"block":"flex",gap:"10%",justifyContent:"left",flexDirection:"column",width:"100%",alignItems:"center"},children:[L("div",{style:{width:S?"100%":"50%"},children:[L("div",{children:[h(Z,{weight:"normal",size:"26",style:{marginBottom:"10px",fontWeight:"800",fontSize:S?"16px":"26px"},children:s&&s[d].name&&s[d].name.replace("
","")}),h(wl,{marginBottom:"12px",sku:d}),h(Z,{weight:"normal",size:"24",style:{fontWeight:"700",fontSize:S?"14px":"24px"},children:s&&s[d].price.formattedValue})]}),L("div",{style:{display:"flex",flexDirection:"row",width:"100%",justifyContent:"left",gap:"10%",marginTop:"20px"},children:[L("div",{style:{display:"flex",flexDirection:"column",gap:"10px",width:"40%"},children:[s&&s[d].size&&s[d].size!=null&&L(le,{children:[h(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",color:D.text,marginBottom:"6px"}}),h(Kt,{style:{justifyContent:"left",width:"100%",padding:"0",marginBottom:"16px",gap:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap"},children:h(wr,{children:$})})]}),((Y=s[d].color)==null?void 0:Y.colorName)&&L(le,{children:[L(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",color:D.text,marginBottom:"6px"},children:[u.color,": ",(ce=s[d].color)==null?void 0:ce.colorName]}),h("div",{style:{margin:"min(0.34vw, 5px) 0",alignSelf:"flex-start"},children:s&&h(Kt,{style:{justifyContent:"center",alignItems:"center",width:"100%",maxWidth:"100%",padding:"0",flexWrap:"wrap",flexDirection:"row",gap:S?"8px":"5px"},children:h(wr,{children:T})})})]})]}),h("div",{style:{display:"flex",justifyContent:"center",width:"50%"},children:s&&s[d]&&h(le,{children:h("div",{style:{width:S?"100%":"min(100%, 15.42vw)",aspectRatio:"3 / 2",backgroundImage:`url(${V?((he=s[d].gallery[ae])==null?void 0:he.url)??"":s[d].picture.url})`,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat",WebkitBackgroundSize:"contain",backgroundAttachment:"scroll",overflow:"visible",margin:"0 auto"},children:!s[d].picture.url&&h(Er,{height:"136",width:"200",viewBox:"0 0 200 136",style:{maxWidth:"100%"},children:h("rect",{x:"0",y:"0",rx:"15",ry:"15",width:"200",height:"136"})})})})})]})]}),L("div",{style:{width:S?"100%":"40%",display:"flex",flexDirection:"column",marginTop:S?"20px":"60px",justifyContent:"left"},children:[h("div",{children:((te=(de=(K=P==null?void 0:P.response)==null?void 0:K.resultData)==null?void 0:de.productList)==null?void 0:te.length)>0&&((De=(me=P==null?void 0:P.response)==null?void 0:me.resultData)==null?void 0:De.productList[0].modelList[0].usp)&&L(le,{children:[h(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",fontWeight:"700",color:D.text,marginBottom:"11px",marginTop:"18px"},children:u.keyFeatures}),h("ul",{style:{listStyleType:"disc",paddingInlineStart:"12px",fontFamily:"SamsungOne",fontSize:"14px",fontWeight:"450"},children:P.response.resultData.productList[0].modelList[0].usp.map((O,R)=>h("li",{style:{listStyleType:"disc",padding:"3px 0px"},children:O},R))})]})}),L("div",{style:{display:"flex",justifyContent:S?"center":"left",margin:"18px auto auto"},children:[s&&s[d].price.priceType&&s[d].stock.stockLevelStatus=="inStock"&&h(rt,{onClick:()=>{ie(s[d].sku),ee(W),z!=""&&X(z),N(""),ye(w),I(!1),B(!1),pe("");const O=S?120:60,R=S?document.getElementById("bundle-component"):document.getElementById("produkteundangebote");var ke=R!==null?R.getBoundingClientRect().top-O:0;setTimeout(()=>{window.scrollTo({top:window.scrollY+ke,behavior:"smooth"})},200)},size:S?26:14,style:{fontFamily:"SamsungOne",backgroundColor:"#2189ff",borderColor:D.background,color:"#fff",textAlign:"center"},...fe("addSecondProductToBundleClicked"),children:u.cta}),s&&s[d].price.priceType&&s[d].stock.stockLevelStatus!="inStock"&&h(rt,{disabled:!0,size:S?26:14,style:{fontFamily:"SamsungOne",backgroundColor:"#c7c7c7",borderColor:D.background,color:"#fff",textAlign:"center"},...fe("addSecondProductToBundleClicked"),children:u.notAvailableCta})]}),h("div",{id:"offerDetails",children:E.map((O,R)=>h("div",{style:{marginTop:"18px",flex:"1",fontSize:S?"12px":"14px",lineHeight:"1.33",fontFamily:"SamsungOne",clear:"both"},dangerouslySetInnerHTML:{__html:O.replace(/ style="[^"]*"/g,"").replace("
","")}},R))})]})]})}):h("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:h("img",{style:{margin:"0 auto"},width:"80",src:"https://images.samsung.com/is/image/samsung/assets/uk/pay-monthly-contracts-2023/contract-loading.gif"})})},Hc={light:{background:"#fff",text:"#000",grey:"#b4b4b4"},dark:{background:"#000",text:"#fff",grey:"#464646"}},Yc=e=>{var Y,ce,he,K,de,te,me,De;const{theme:t="light",setSelected:n,dropdownOpen:r,setImage:o,leadSku:i,setCta:l,countryCode:a,copyLayouts:u}=e,{data:s,error:c,finished:g}=Sl(i),[d,x]=v.useState(i??Object.keys(s)[0]),[w,k]=v.useState("");v.useEffect(()=>{i&&x(i)},[i]);const[E,p]=v.useState([]);let{freeItems:f}=uu(i);v.useEffect(()=>{p(f)},[f]);const[m,C]=hl({devices:s,selectedSku:d}),_=O=>{n(O),x(O),o(s[O].picture)},S=Jt(),T=Sn({devices:s,selectedSku:d,availableSkus:m,field:"color",handleSelectSku:_,element:gl,theme:t}),$=Sn({devices:s,selectedSku:d,availableSkus:m,field:"size",handleSelectSku:_,element:yl,theme:t}),[V,U]=v.useState(!1),[ae,oe]=v.useState(0);v.useEffect(()=>{let O=null;s&&g&&s[d]&&(s[d].price.priceType?s[d]&&s[d].stock&&s[d].stock.stockLevelStatus==="outOfStock"?O=h(rt,{onClick:()=>{},size:S?26:16,style:{margin:S?"1em 0":" 0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",backgroundColor:"#f4f4f4",borderColor:"#ffffff",pointerEvents:"none",color:"#b5b5b5",textAlign:"center"},children:u.outOfStock}):s[d]&&s[d].stock&&s[d].price.priceType&&s[d].stock.stockLevelStatus!=="outOfStock"&&(t==="light"?O=h(Dt,{onClick:()=>{window.location.href=`${s[d].link}buy/?modelCode=${d}`},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",textAlign:"center"},...fe(`PCDBuyNow:${s[d].name}`),children:u.buyNow}):O=h(On,{onClick:()=>{window.location.href=`${s[d].link}buy/?modelCode=${d}`},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",textAlign:"center","&:hover":{borderColor:"#ffffff"}},...fe(`PCDBuyNow:${s[d].name}`),children:u.buyNow})):O=h(rt,{onClick:()=>{},size:S?26:16,style:{margin:S?"1em 0":"0",padding:"0.8571em 1.5em",width:"100%",fontFamily:"SamsungOne",backgroundColor:"#f4f4f4",borderColor:"#ffffff",pointerEvents:"none",color:"#b5b5b5",textAlign:"center"},children:u.notAvailableCta}),O!==null&&l(O))},[s,d,g,s[d]]);const D=Hc[t]||Hc.light;v.useState("HAND"),v.useState(" Default Value ");const{updateThirdProductCategory:ee,updateThirdProduct:ie,updateThirdAccessary:ye,updateSkuToView:pe,updateEditThirdProduct:I,activeTab:W,updateThirdProductConfigurator:B,updateThirdProductSubCategory:X,activeSubCategoryTab:z,updateActiveSubCategoryTab:N}=v.useContext(je);v.useContext(je);const[b,M]=v.useState(null),[y,H]=v.useState(!1),[P,q]=v.useState([]),ne=()=>{H(!1);let O="https://searchapi.samsung.com/v6/front/b2c/product/card/detail/newhybris?siteCode=pt&modelList="+d+"&saleSkuYN=Y&onlyRequestSkuYN=Y&keySummaryYN=N&specYN=N&commonCodeYN=N";fetch(O).then(R=>R.json()).then(R=>{H(!0),q(R),q(R),console.log(R)},R=>{H(!0),M(R)})},re=()=>{let O="https://api.shop.samsung.com/tokocommercewebservices/v2/pt/products/"+d+"/offers?fields=SIMPLE_INFO";fetch(O).then(R=>R.json()).then(R=>{var Te;if(!R||R.length===0)return;let ke=[];((Te=R==null?void 0:R.benefits)==null?void 0:Te.length)>0&&R.benefits.forEach(F=>{F.code.includes("CASHBACK")&&ke.push(F.description),F.code.includes("FOC")&&ke.push(F.description)}),p(ke)},()=>{})};return v.useEffect(()=>{ne(),re()},[d]),c?h("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:h(Z,{style:{textAlign:"center",fontSize:"14px",fontWeight:"normal",lineHeight:"1rem",marginTop:"20px"},children:u.notForSale})}):s[d]?h(le,{children:L("div",{style:{opacity:r?"0.2":"1",margin:S?"5vw 0vw":"30px",display:S?"block":"flex",gap:"10%",justifyContent:"left",flexDirection:"column",width:"100%",alignItems:"center"},children:[L("div",{style:{width:S?"100%":"50%"},children:[L("div",{children:[h(Z,{weight:"normal",size:"26",style:{marginBottom:"10px",fontWeight:"800",fontSize:S?"16px":"26px"},children:s&&s[d].name&&s[d].name.replace("
","")}),h(wl,{marginBottom:"12px",sku:d}),h(Z,{weight:"normal",size:"24",style:{fontWeight:"700",fontSize:S?"14px":"24px"},children:s&&s[d].price.formattedValue})]}),L("div",{style:{display:"flex",flexDirection:"row",width:"100%",justifyContent:"left",gap:"10%",marginTop:"20px"},children:[L("div",{style:{display:"flex",flexDirection:"column",gap:"10px",width:"40%"},children:[s&&s[d].size&&s[d].size!=null&&L(le,{children:[h(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",color:D.text,marginBottom:"6px"}}),h(Kt,{style:{justifyContent:"left",width:"100%",padding:"0",marginBottom:"16px",gap:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap"},children:h(wr,{children:$})})]}),((Y=s[d].color)==null?void 0:Y.colorName)&&L(le,{children:[L(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",color:D.text,marginBottom:"6px"},children:[u.color,": ",(ce=s[d].color)==null?void 0:ce.colorName]}),h("div",{style:{margin:"min(0.34vw, 5px) 0",alignSelf:"flex-start"},children:s&&h(Kt,{style:{justifyContent:"center",alignItems:"center",width:"100%",maxWidth:"100%",padding:"0",flexWrap:"wrap",flexDirection:"row",gap:S?"8px":"5px"},children:h(wr,{children:T})})})]})]}),h("div",{style:{display:"flex",justifyContent:"center",width:"50%"},children:s&&s[d]&&h(le,{children:h("div",{style:{width:S?"100%":"min(100%, 15.42vw)",aspectRatio:"3 / 2",backgroundImage:`url(${V?((he=s[d].gallery[ae])==null?void 0:he.url)??"":s[d].picture.url})`,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat",WebkitBackgroundSize:"contain",backgroundAttachment:"scroll",overflow:"visible",margin:"0 auto"},children:!s[d].picture.url&&h(Er,{height:"136",width:"200",viewBox:"0 0 200 136",style:{maxWidth:"100%"},children:h("rect",{x:"0",y:"0",rx:"15",ry:"15",width:"200",height:"136"})})})})})]})]}),L("div",{style:{width:S?"100%":"40%",display:"flex",flexDirection:"column",marginTop:S?"20px":"60px",justifyContent:"left"},children:[h("div",{children:((te=(de=(K=P==null?void 0:P.response)==null?void 0:K.resultData)==null?void 0:de.productList)==null?void 0:te.length)>0&&((De=(me=P==null?void 0:P.response)==null?void 0:me.resultData)==null?void 0:De.productList[0].modelList[0].usp)&&L(le,{children:[h(Z,{weight:"normal",size:S?19:12,style:{textAlign:"left",fontWeight:"700",color:D.text,marginBottom:"11px",marginTop:"18px"},children:u.keyFeatures}),h("ul",{style:{listStyleType:"disc",paddingInlineStart:"12px",fontFamily:"SamsungOne",fontSize:"14px",fontWeight:"450"},children:P.response.resultData.productList[0].modelList[0].usp.map((O,R)=>h("li",{style:{listStyleType:"disc",padding:"3px 0px"},children:O},R))})]})}),L("div",{style:{display:"flex",justifyContent:S?"center":"left",margin:"18px auto auto"},children:[s&&s[d].price.priceType&&s[d].stock.stockLevelStatus=="inStock"&&h(rt,{onClick:()=>{ie(s[d].sku),ee(W),z!=""&&X(z),N(""),ye(w),I(!1),B(!1),pe("");const O=S?120:60,R=S?document.getElementById("bundle-component"):document.getElementById("produkteundangebote");var ke=R!==null?R.getBoundingClientRect().top-O:0;setTimeout(()=>{window.scrollTo({top:window.scrollY+ke,behavior:"smooth"})},200)},size:S?26:14,style:{fontFamily:"SamsungOne",backgroundColor:"#2189ff",borderColor:D.background,color:"#fff",textAlign:"center"},...fe("addThirdProductToBundleClicked"),children:u.cta}),s&&s[d].price.priceType&&s[d].stock.stockLevelStatus!="inStock"&&h(rt,{disabled:!0,size:S?26:14,style:{fontFamily:"SamsungOne",backgroundColor:"#c7c7c7",borderColor:D.background,color:"#fff",textAlign:"center"},...fe("addThirdProductToBundleClicked"),children:u.notAvailableCta})]}),h("div",{id:"offerDetails",children:E.map((O,R)=>h("div",{style:{marginTop:"18px",flex:"1",fontSize:S?"12px":"14px",lineHeight:"1.33",fontFamily:"SamsungOne",clear:"both"},dangerouslySetInnerHTML:{__html:O.replace(/ style="[^"]*"/g,"").replace("
","")}},R))})]})]})}):h("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:h("img",{style:{margin:"0 auto"},width:"80",src:"https://images.samsung.com/is/image/samsung/assets/uk/pay-monthly-contracts-2023/contract-loading.gif"})})};function Xt(e){return Array.isArray?Array.isArray(e):Up(e)==="[object Array]"}const hy=1/0;function my(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-hy?"-0":t}function gy(e){return e==null?"":my(e)}function Mt(e){return typeof e=="string"}function Dp(e){return typeof e=="number"}function yy(e){return e===!0||e===!1||vy(e)&&Up(e)=="[object Boolean]"}function Vp(e){return typeof e=="object"}function vy(e){return Vp(e)&&e!==null}function ut(e){return e!=null}function Zl(e){return!e.trim().length}function Up(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Sy="Incorrect 'index' type",wy=e=>`Invalid value for key ${e}`,xy=e=>`Pattern length exceeds max of ${e}.`,ky=e=>`Missing ${e} property in key`,Cy=e=>`Property 'weight' in key '${e}' must be a positive integer`,Qc=Object.prototype.hasOwnProperty;class Ey{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=Wp(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Wp(e){let t=null,n=null,r=null,o=1,i=null;if(Mt(e)||Xt(e))r=e,t=Gc(e),n=Js(e);else{if(!Qc.call(e,"name"))throw new Error(ky("name"));const l=e.name;if(r=l,Qc.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Cy(l));t=Gc(l),n=Js(l),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}function Gc(e){return Xt(e)?e:e.split(".")}function Js(e){return Xt(e)?e.join("."):e}function _y(e,t){let n=[],r=!1;const o=(i,l,a)=>{if(ut(i))if(!l[a])n.push(i);else{let u=l[a];const s=i[u];if(!ut(s))return;if(a===l.length-1&&(Mt(s)||Dp(s)||yy(s)))n.push(gy(s));else if(Xt(s)){r=!0;for(let c=0,g=s.length;ce.score===t.score?e.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Mt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Mt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n{let l=o.getFn?o.getFn(t):this.getFn(t,o.path);if(ut(l)){if(Xt(l)){let a=[];const u=[{nestedArrIndex:-1,value:l}];for(;u.length;){const{nestedArrIndex:s,value:c}=u.pop();if(ut(c))if(Mt(c)&&!Zl(c)){let g={v:c,i:s,n:this.norm.get(c)};a.push(g)}else Xt(c)&&c.forEach((g,d)=>{u.push({nestedArrIndex:d,value:g})})}r.$[i]=a}else if(Mt(l)&&!Zl(l)){let a={v:l,n:this.norm.get(l)};r.$[i]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Hp(e,t,{getFn:n=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){const o=new cu({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(Wp)),o.setSources(t),o.create(),o}function Ny(e,{getFn:t=J.getFn,fieldNormWeight:n=J.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new cu({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i}function Do(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=J.distance,ignoreLocation:i=J.ignoreLocation}={}){const l=t/e.length;if(i)return l;const a=Math.abs(r-n);return o?l+a/o:a?1:l}function Oy(e=[],t=J.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let l=e.length;i=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}const zn=32;function by(e,t,n,{location:r=J.location,distance:o=J.distance,threshold:i=J.threshold,findAllMatches:l=J.findAllMatches,minMatchCharLength:a=J.minMatchCharLength,includeMatches:u=J.includeMatches,ignoreLocation:s=J.ignoreLocation}={}){if(t.length>zn)throw new Error(xy(zn));const c=t.length,g=e.length,d=Math.max(0,Math.min(r,g));let x=i,w=d;const k=a>1||u,E=k?Array(g):[];let p;for(;(p=e.indexOf(t,w))>-1;){let T=Do(t,{currentLocation:p,expectedLocation:d,distance:o,ignoreLocation:s});if(x=Math.min(T,x),w=p+c,k){let $=0;for(;$=U;ee-=1){let ie=ee-1,ye=n[e.charAt(ie)];if(k&&(E[ie]=+!!ye),oe[ee]=(oe[ee+1]<<1|1)&ye,T&&(oe[ee]|=(f[ee+1]|f[ee])<<1|1|f[ee+1]),oe[ee]&_&&(m=Do(t,{errors:T,currentLocation:ie,expectedLocation:d,distance:o,ignoreLocation:s}),m<=x)){if(x=m,w=ie,w<=d)break;U=Math.max(1,2*d-w)}}if(Do(t,{errors:T+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:s})>x)break;f=oe}const S={isMatch:w>=0,score:Math.max(.001,m)};if(k){const T=Oy(E,a);T.length?u&&(S.indices=T):S.isMatch=!1}return S}function Ry(e){let t={};for(let n=0,r=e.length;n{this.chunks.push({pattern:d,alphabet:Ry(d),startIndex:x})},g=this.pattern.length;if(g>zn){let d=0;const x=g%zn,w=g-x;for(;d{const{isMatch:p,score:f,indices:m}=by(t,w,k,{location:o+E,distance:i,threshold:l,findAllMatches:a,minMatchCharLength:u,includeMatches:r,ignoreLocation:s});p&&(d=!0),g+=f,p&&m&&(c=[...c,...m])});let x={isMatch:d,score:d?g/this.chunks.length:1};return d&&r&&(x.indices=c),x}}class Cn{constructor(t){this.pattern=t}static isMultiMatch(t){return Kc(t,this.multiRegex)}static isSingleMatch(t){return Kc(t,this.singleRegex)}search(){}}function Kc(e,t){const n=e.match(t);return n?n[1]:null}class My extends Cn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Ly extends Cn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class Fy extends Cn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class jy extends Cn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class By extends Cn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Dy extends Cn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Qp extends Cn{constructor(t,{location:n=J.location,threshold:r=J.threshold,distance:o=J.distance,includeMatches:i=J.includeMatches,findAllMatches:l=J.findAllMatches,minMatchCharLength:a=J.minMatchCharLength,isCaseSensitive:u=J.isCaseSensitive,ignoreLocation:s=J.ignoreLocation}={}){super(t),this._bitapSearch=new Yp(t,{location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:u,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Gp extends Cn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],i=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+i,o.push([r,n-1]);const l=!!o.length;return{isMatch:l,score:l?0:1,indices:o}}}const qs=[My,Gp,Fy,jy,Dy,By,Ly,Qp],Xc=qs.length,Vy=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Uy="|";function Wy(e,t={}){return e.split(Uy).map(n=>{let r=n.trim().split(Vy).filter(i=>i&&!!i.trim()),o=[];for(let i=0,l=r.length;i!!(e[Ai.AND]||e[Ai.OR]),Gy=e=>!!e[na.PATH],Ky=e=>!Xt(e)&&Vp(e)&&!ra(e),Zc=e=>({[Ai.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Kp(e,t,{auto:n=!0}={}){const r=o=>{let i=Object.keys(o);const l=Gy(o);if(!l&&i.length>1&&!ra(o))return r(Zc(o));if(Ky(o)){const u=l?o[na.PATH]:i[0],s=l?o[na.PATTERN]:o[u];if(!Mt(s))throw new Error(wy(u));const c={keyId:Js(u),pattern:s};return n&&(c.searcher=ta(s,t)),c}let a={children:[],operator:i[0]};return i.forEach(u=>{const s=o[u];Xt(s)&&s.forEach(c=>{a.children.push(r(c))})}),a};return ra(e)||(e=Zc(e)),r(e)}function Xy(e,{ignoreFieldNorm:t=J.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:i,score:l})=>{const a=o?o.weight:null;r*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(t?1:i))}),n.score=r})}function Zy(e,t){const n=e.matches;t.matches=[],ut(n)&&n.forEach(r=>{if(!ut(r.indices)||!r.indices.length)return;const{indices:o,value:i}=r;let l={indices:o,value:i};r.key&&(l.key=r.key.src),r.idx>-1&&(l.refIndex=r.idx),t.matches.push(l)})}function Jy(e,t){t.score=e.score}function qy(e,t,{includeMatches:n=J.includeMatches,includeScore:r=J.includeScore}={}){const o=[];return n&&o.push(Zy),r&&o.push(Jy),e.map(i=>{const{idx:l}=i,a={item:t[l],refIndex:l};return o.length&&o.forEach(u=>{u(i,a)}),a})}class _r{constructor(t,n={},r){this.options={...J,...n},this.options.useExtendedSearch,this._keyStore=new Ey(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof cu))throw new Error(Sy);this._myIndex=n||Hp(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ut(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r-1&&(u=u.slice(0,n)),qy(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=ta(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:i,i:l,n:a})=>{if(!ut(i))return;const{isMatch:u,score:s,indices:c}=n.searchIn(i);u&&o.push({item:i,idx:l,matches:[{score:s,value:i,norm:a,indices:c}]})}),o}_searchLogical(t){const n=Kp(t,this.options),r=(a,u,s)=>{if(!a.children){const{keyId:g,searcher:d}=a,x=this._findMatches({key:this._keyStore.get(g),value:this._myIndex.getValueForItemAtKeyId(u,g),searcher:d});return x&&x.length?[{idx:s,item:u,matches:x}]:[]}const c=[];for(let g=0,d=a.children.length;g{if(ut(a)){let s=r(n,a,u);s.length&&(i[u]||(i[u]={idx:u,item:a,matches:[]},l.push(i[u])),s.forEach(({matches:c})=>{i[u].matches.push(...c)}))}}),l}_searchObjectList(t){const n=ta(t,this.options),{keys:r,records:o}=this._myIndex,i=[];return o.forEach(({$:l,i:a})=>{if(!ut(l))return;let u=[];r.forEach((s,c)=>{u.push(...this._findMatches({key:s,value:l[c],searcher:n}))}),u.length&&i.push({idx:a,item:l,matches:u})}),i}_findMatches({key:t,value:n,searcher:r}){if(!ut(n))return[];let o=[];if(Xt(n))n.forEach(({v:i,i:l,n:a})=>{if(!ut(i))return;const{isMatch:u,score:s,indices:c}=r.searchIn(i);u&&o.push({score:s,key:t,value:i,idx:l,norm:a,indices:c})});else{const{v:i,n:l}=n,{isMatch:a,score:u,indices:s}=r.searchIn(i);a&&o.push({score:u,key:t,value:i,norm:l,indices:s})}return o}}_r.version="7.0.0";_r.createIndex=Hp;_r.parseIndex=Ny;_r.config=J;_r.parseQuery=Kp;Qy(Yy);const e1=Ze.li`
padding: 12px 20px;
&:empty { display: none }
&:hover {
background-color: #f7f7f7;
}
@media (max-width: 767px) {
padding: 4px 10px;
}
`,t1=e=>{const{searchTerm:t,updateDropdownOpen:n,updateSearchTerm:r,devices:o}=e,i=Jt(),{data:l,error:a,finished:u}=ay(o);v.useState(l[0]);const[s,c]=v.useState(""),{updateSkuToView:g,updateSharedData:d}=v.useContext(je);v.useEffect(()=>{d(o)},[o]);const w=new _r(l,{keys:["displayName"],includeScore:!0}).search(s),k=s?w.map(E=>E.item):l;return v.useEffect(()=>{c(t)},[t]),h(le,{children:k.map((E,p)=>h(e1,{onClick:()=>{n(!1),r(""),g(E.modelCode)},children:L("div",{style:{display:"flex",flexDirection:"row",gap:"12px",alignItems:"center"},children:[h("div",{style:{height:"40px",width:"40px",minWidth:"30px",aspectRatio:"1 / 1",backgroundImage:`url(${E.thumbUrl})`,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat",WebkitBackgroundSize:"contain",backgroundAttachment:"scroll",overflow:"visible"},children:!E.thumbUrl&&h(Er,{height:"136",width:"200",viewBox:"0 0 200 136",style:{maxWidth:"100%"},children:h("rect",{x:"0",y:"0",rx:"15",ry:"15",width:"200",height:"136"})})}),h(Z,{weight:"bold",style:{fontSize:i?"10px":"initial",minWidth:i?"40%":"55%"},children:E.displayName}),h(Z,{weight:"bold",style:{fontSize:i?"10px":"initial",minWidth:i?"35%":"30%"},children:E.promotionPriceDisplay})]})},p))})},Vo=({showConfigurator:e,countryCode:t,dataSkus:n,copyData:r})=>{var ee,ie,ye,pe,I,W,B,X,z,N,b,M;const o=Jt(),i=bp();v.useState(null),v.useState(!1),v.useState([]);const{mainProduct:l,secondProduct:a,thirdProduct:u,editMainProduct:s,editSecondProduct:c,editThirdProduct:g,mainProductConfigurator:d,secondProductConfigurator:x,thirdProductConfigurator:w,skuToView:k,updateSkuToView:E,activeSubCategoryTab:p,updateActiveSubCategoryTab:f}=v.useContext(je);v.useContext(je),v.useContext(je);const m=v.useRef(null),[C,_]=v.useState(!1),[S,T]=v.useState(""),[$,V]=v.useState(""),U=y=>{V(y.target.value),y.target.value.length>2?T(y.target.value.toLowerCase()):y.target.value==""&&T("")},ae=y=>{_(y)},oe=y=>{T(y)},D=()=>{E(""),V(""),T("")};return v.useEffect(()=>{function y(H){if(m.current&&H.target){const P=H.target;m.current.contains(P)||_(!1)}}return document.addEventListener("mousedown",y),()=>{document.removeEventListener("mousedown",y)}},[m]),h(le,{children:(d||x||w||s||c||g)&&e&&L("section",{className:"choose-your-product",id:"choose-your-la-product",style:{padding:o?"2vw":i?"30px":"30px 85px",background:o?"":"#fff",borderRadius:o?"0px":"12px",display:"block",margin:o?"8vw auto":"0px",width:"100%"},children:[L("div",{style:{display:"flex",height:"auto",opacity:1,pointerEvents:"initial",transition:"visibility 0s linear 0.6s, opacity 0.6s linear",flexWrap:"wrap",position:"relative",gap:"10px",justifyContent:"center",marginBottom:"20px"},children:[h(Z,{font:"secondary",weight:"bold",size:"20",style:{marginBottom:"26px",width:"100%",display:"inline-block",textAlign:o?"left":"center",fontSize:o?"16px":"20px"},children:r.productSelection.title}),h("div",{onClick:()=>{D(),f("mobiles")},...fe("mobilesTabClicked"),style:{display:"flex",flexDirection:"column",justifyContent:o?"left":"center",alignItems:"center",width:"100%",maxWidth:o?"calc(50% - 20px)":"120px",height:"85px",border:p=="mobiles"?"1px solid #2189ff":"1px solid grey",borderRadius:"6px",background:"#fff",cursor:"pointer"},children:((ie=(ee=r==null?void 0:r.productSelection)==null?void 0:ee.products)==null?void 0:ie.AISmartphone)&&L(le,{children:[h("img",{src:r.productSelection.products.AISmartphone.img,alt:`${r.productSelection.products.AISmartphone.alt}`,style:{paddingBottom:"5px"}}),h(Z,{font:"primary",weight:"normal",size:"12",style:{fontSize:o?"10px":"12px",padding:"0 5px",textAlign:"center"},children:r.productSelection.products.AISmartphone.title})]})}),h("div",{onClick:()=>{D(),f("tablets")},...fe("tabletsTabClicked"),style:{display:"flex",flexDirection:"column",justifyContent:o?"left":"center",alignItems:"center",width:"100%",maxWidth:o?"calc(50% - 20px)":"120px",height:"85px",border:p=="tablets"?"1px solid #2189ff":"1px solid grey",borderRadius:"6px",background:"#fff",cursor:"pointer"},children:((pe=(ye=r==null?void 0:r.productSelection)==null?void 0:ye.products)==null?void 0:pe.AITablet)&&L(le,{children:[h("img",{src:r.productSelection.products.AITablet.img,alt:`${r.productSelection.products.AITablet.alt}`,style:{paddingBottom:"10px"}}),h(Z,{font:"primary",weight:"normal",size:"12",style:{fontSize:o?"10px":"12px"},children:r.productSelection.products.AITablet.title})]})}),h("div",{onClick:()=>{D(),f("TV")},...fe("TVTabClicked"),style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",maxWidth:o?"calc(50% - 20px)":"120px",height:"85px",border:p=="TV"?"1px solid #2189ff":"1px solid grey",borderRadius:"6px",background:"#fff",cursor:"pointer"},children:((W=(I=r==null?void 0:r.productSelection)==null?void 0:I.products)==null?void 0:W.AITV)&&L(le,{children:[h("img",{src:r.productSelection.products.AITV.img,alt:`${r.productSelection.products.AITV.alt}`,style:{paddingBottom:"10px"}}),h(Z,{font:"primary",weight:"normal",size:"12",style:{fontSize:o?"10px":"12px"},children:r.productSelection.products.AITV.title})]})}),h("div",{onClick:()=>{D(),f("refrigerators")},...fe("refrigeratorsTabClicked"),style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",maxWidth:o?"calc(50% - 20px)":"120px",height:"85px",border:p=="refrigerators"?"1px solid #2189ff":"1px solid grey",borderRadius:"6px",background:"#fff",cursor:"pointer"},children:((X=(B=r==null?void 0:r.productSelection)==null?void 0:B.products)==null?void 0:X.AIFridge)&&L(le,{children:[h("img",{src:r.productSelection.products.AIFridge.img,alt:`${r.productSelection.products.AIFridge.alt}`,style:{paddingBottom:"10px"}}),h(Z,{font:"primary",weight:"normal",size:"12",style:{fontSize:o?"10px":"12px",textAlign:"center"},children:r.productSelection.products.AIFridge.title})]})}),h("div",{onClick:()=>{D(),f("washers")},...fe("washersTabClicked"),style:{display:"flex",flexDirection:"column",justifyContent:o?"left":"center",alignItems:"center",width:"100%",maxWidth:o?"calc(50% - 20px)":"120px",height:"85px",border:p=="washers"?"1px solid #2189ff":"1px solid grey",borderRadius:"6px",background:"#fff",cursor:"pointer"},children:((N=(z=r==null?void 0:r.productSelection)==null?void 0:z.products)==null?void 0:N.AIWashingMachine)&&L(le,{children:[h("img",{src:r.productSelection.products.AIWashingMachine.img,alt:`${r.productSelection.products.AIWashingMachine.alt}`,style:{paddingBottom:"10px"}}),h(Z,{font:"primary",weight:"normal",size:"12",style:{fontSize:o?"10px":"12px",textAlign:"center"},children:r.productSelection.products.AIWashingMachine.title})]})})]}),p!=""&&L("div",{id:"search-box",style:{display:o?"block":"flex",flexDirection:"column",alignItems:"center"},children:[L("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",position:"relative"},children:[L("div",{style:{position:"relative",width:o?"100%":"400px",margin:"20px 20px 0px 20px"},children:[h("input",{type:"text",value:$,onChange:U,onClick:()=>{_(!0)},style:{width:"100%",padding:"10px 5px 10px 20px",fontSize:o?"14px":"16px",border:"1px solid #E4E4E4",borderRadius:"25px",fontFamily:"SamsungOne"},placeholder:r.productSelection.searchBar}),h("img",{src:"https://images.samsung.com/is/image/samsung/assets/uk/bundle/icons/magnify.png",alt:"Search",style:{position:"absolute",top:"50%",right:"10px",transform:"translateY(-50%)",cursor:"pointer"}})]}),h("ul",{ref:m,style:{maxHeight:C?"300px":0,overflow:C?"scroll":"hidden",position:k!=""?"absolute":"relative",top:k!=""?"61px":"0px",background:"white",width:o?"100%":"400px",fontSize:o?"3.3vmin":"",padding:"0",margin:"0",listStyle:"none",cursor:"pointer",zIndex:"100",fontFamily:"SamsungOne",boxShadow:"2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),12.5px 12.5px 10px rgba(0, 0, 0, 0.035),22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),100px 100px 85px rgba(0, 0, 0, 0.07)"},children:p&&((b=n.find(y=>y.subCategory.replace(/\s/g,"").toLowerCase()===p.toLowerCase()))==null?void 0:b.eligibleSkus)&&h(t1,{searchTerm:S,updateDropdownOpen:ae,updateSearchTerm:oe,devices:(M=n.find(y=>y.subCategory.replace(/\s/g,"").toLowerCase()===p.toLowerCase()))==null?void 0:M.eligibleSkus})})]}),d&&k!=""&&l===""&&!s&&!c&&!g&&h(Vc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k),x&&k!=""&&l!==""&&k!="mainProduct"&&a==""&&!s&&!c&&!g&&h(Wc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k),w&&k!=""&&l!==""&&a!==""&&k!="mainProduct"&&k!="secondProduct"&&u==""&&!s&&!c&&!g&&h(Yc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k),s&&k!=""&&h(le,{children:h(Vc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k)}),c&&k!=""&&h(le,{children:h(Wc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k)}),g&&k!=""&&h(le,{children:h(Yc,{defaultSku:k,theme:"light",setSelected:y=>console.log("sku"+y),addToBag:()=>console.log("naoo"),dropdownOpen:C,setImage:y=>console.log(y),inBasket:()=>!1,leadSku:k,setCta:y=>console.log(y),onError:y=>console.log(y),countryCode:t,copyLayouts:r.productSelection},k)})]})]})})},Uo=Ze.div`
width: 100%;
padding: 24px 24px 24px 28px;
background-color: #ffffff;
border-radius: 20px;
transition: border 0.4s ease;
display: flex;
flex-direction: column;
gap: 10px;
justify-content: flex-start;
align-items: center;
position: relative;
display: flex;
&:hover {
border: 2px solid #006fcf;
}
&:last-child {
&:hover {
border: none;
}
}
max-width: 340px;
min-height: 295px;
position: relative;
@media (min-width: 768px) and (max-width: 1440px) {
padding: 1.73611111vw;
border-width: 0.13888889vw;
}
@media (max-width: 767px) {
max-width: 300px;
margin-bottom: 2.6vw;
padding: 4.44444444vw;
border-width: 0.55555556vw;
/* min-height: 68.66666667vw; */
border-radius: 2.55555556vw;
}
`,Jl=Ze.div`
position: absolute;
z-index: 2;
top: 50%;
width: 40px;
height: 40px;
padding: 9px;
background-color: #fff;
border-radius: 100%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
left: 0;
margin-left: -27px;
border: 1px solid #c3c3c3;
display: flex;
justify-content: center;
align-items: center;
font-size: 36px;
color: #000; /* Change the color of the plus sign */
@media (min-width: 768px) and (max-width: 900px) {
width: 2.6vw;
height: 2.6vw;
padding: 0.6vw;
margin-left: -2.8vw;
}
@media (max-width: 767px) {
top: 0;
width: 7.44444444vw;
height: 7.44444444vw;
margin: -5vw 0vw 0vw 0vw;
padding: 2.22222222vw;
left: 50%;
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
`,ql=Ze.span`
font-size: 36px;
margin-top: 4px;
@media (min-width: 768px) and (max-width: 900px) {
font-size: 3vw;
margin-bottom: 0.4vw;
}
@media (max-width: 767px) {
font-size: 7vw;
margin-bottom: 0vw;
}
`;function n1(){var En,_n,mt;const t={copy:"bandleBuilder.json",skus:"bandleBuilderSkus.json"},n=Jt(),r=bp(),[o,i]=v.useState(null),[l,a]=v.useState(!1),[u,s]=v.useState([]),[c,g]=v.useState(),[d,x]=v.useState([]),[w,k]=v.useState(!0);if(v.useEffect(()=>{const Q=()=>{var xl;const Ae=(xl=window.state)==null?void 0:xl.newBundle;console.log("newBundle:",Ae),k(Ae!==!0);const st=document.getElementById("produkteundangebote");st&&(st.style.display=Ae===!0?"none":"block")};Q();const ge=()=>{console.log("Storage or event change detected"),Q()};return window.addEventListener("storage",ge),window.addEventListener("newBundleChanged",ge),()=>{window.removeEventListener("storage",ge),window.removeEventListener("newBundleChanged",ge)}},[]),!w)return null;const{mainProduct:E,secondProduct:p,thirdProduct:f,mainAccessary:m,secondAccessary:C,thirdAccessary:_,mainProductCategory:S,secondProductCategory:T,thirdProductCategory:$,updateSecondProductCategory:V,updateThirdProductCategory:U,editMainProduct:ae,editSecondProduct:oe,editThirdProduct:D,mainProductConfigurator:ee,updateMainProductConfigurator:ie,secondProductConfigurator:ye,updateSecondProductConfigurator:pe,thirdProductConfigurator:I,updateThirdProductConfigurator:W,updateSkuToView:B,updateActiveTab:X,updateActiveSubCategoryTab:z,mainProductSubCategory:N,secondProductSubCategory:b,thirdProductSubCategory:M,updateMainProductSubCategory:y,updateSecondProductSubCategory:H,updateThirdProductSubCategory:P,countryCode:q,updateCountryCode:ne}=v.useContext(je),{updateMainProduct:re,updateSecondProduct:Y,updateThirdProduct:ce}=v.useContext(je),{updateEditMainProduct:he,updateEditSecondProduct:K,updateEditThirdProduct:de}=v.useContext(je),te=["uk","de","fr","es","it","hu","pt"],me=Object.assign({"./util/data/pt-pt/bandleBuilder.json":()=>Ec(()=>import("./bandleBuilder-WipHnMHh.js"),[]),"./util/data/pt-pt/bandleBuilderSkus.json":()=>Ec(()=>import("./bandleBuilderSkus-BndknDMS.js"),[])}),De=()=>{const ge=new URL(window.location.href).pathname.split("/").filter(Ae=>Ae);for(let Ae of ge)if(te.includes(Ae))return Ae;return"pt"},O=Q=>`https://ai-meets-ai.s3.us-east-2.amazonaws.com/${q}/${Q}`,R=async(Q,ge)=>{const Ae=`./util/data/${Q}-${Q}/${ge}`;if(me[Ae])return me[Ae]().then(st=>st.default);throw new Error(`File ${Ae} not found`)},ke=async Q=>{const ge=await fetch(Q);if(!ge.ok)throw new Error(`Failed to fetch ${Q}: ${ge.statusText}`);return await ge.json()};v.useEffect(()=>{window.state=window.state||{},window.state.newBundle=!1;let Q=De();Q||(Q="pt"),ne(Q)},[ne]),v.useEffect(()=>{q&&(async()=>{try{let ge,Ae;ge=await ke(O(t.copy)),Ae=await ke(O(t.skus)),g(ge),x(Ae),console.log("Data fetched:",Ae)}catch(ge){console.error("Error fetching data:",ge)}})()},[q]);const Te=async()=>{a(!1);let Q=f!==""?"https://api.shop.samsung.com/tokocommercewebservices/v2/pt/userData/anonymous/simulatecart?productCodes="+E+","+p+","+f:p!==""?"https://api.shop.samsung.com/tokocommercewebservices/v2/pt/userData/anonymous/simulatecart?productCodes="+E+","+p:"https://api.shop.samsung.com/tokocommercewebservices/v2/pt/userData/anonymous/simulatecart?productCodes="+E;fetch(Q).then(ge=>ge.json()).then(ge=>{console.log(Q),a(!0),s(ge),console.log(ge),s(ge)},ge=>{a(!0),i(ge)})};v.useEffect(()=>{Te()},[E,p,f]),v.useState(""),v.useState(""),v.useState(""),v.useState("");const F=Q=>{var ge=n?120:60;setTimeout(()=>{const Ae=document.getElementById(Q);var st=Ae!==null?Ae.getBoundingClientRect().top-ge:0;window.scrollTo({top:window.scrollY+st,behavior:"smooth"})},500)},ve=()=>{X(""),z(""),B(""),he(!1),K(!1),de(!1),z("")};return h(le,{children:h("div",{id:"bundle-component",style:{maxWidth:"1440px",margin:"0 auto",position:"relative",marginTop:"0px"},children:L("div",{style:{padding:n?"4vw 4vw":r?"3vw 2vw":"50px",background:"#F7F7F7",borderRadius:"12px",margin:n?"0vw 3vw 3vw":"0px 0px 40px"},children:[L("section",{style:{width:"100%",maxWidth:"1440px",justifyContent:"center",alignItems:"center",display:"flex",margin:"0 auto",marginBottom:n?"":"40px",gap:r?"1.2vw":"12px",boxSizing:"border-box",flexDirection:n?"column":"row"},children:[L(Uo,{style:{border:E!=""?"0px":"1px solid black",justifyContent:E!=""?"flex-start":"center"},children:[E&&h("div",{style:{position:"absolute",right:"12px",top:"12px",zIndex:"2",cursor:"pointer"},onClick:()=>{p?(re(p),y(b)):(re(""),X("")),f?(Y(f),V($),H(M),U(""),P(""),ce("")):Y(""),ve()},...fe("DeleteFirstProductClicked"),children:h("svg",{width:"18px",height:"18px",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",focusable:"false",children:h("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 .333c.448 0 .814.354.833.798V2.5H13.5v1.333h-1.025l-.898 11.055a.853.853 0 01-.808.778H3.268a.853.853 0 01-.84-.74l-.005-.037-.898-11.055H.5V2.5h3.667V1.167c0-.448.353-.814.797-.833H9zm2.137 3.5H2.863l.854 10.5h6.566l.854-10.5zm-1.97 8.5V6H7.833v6.334h1.334zM6.167 6v6.334H4.833V6h1.334zM5.5 1.667h3V2.5h-3v-.833z",fill:"#000"})})}),!E&&L(le,{children:[h(Z,{style:{textAlign:"center",fontSize:"16px",fontWeight:"bold",lineHeight:"1rem"},children:c==null?void 0:c.firstCardBox.title}),h(Z,{style:{textAlign:"center",fontSize:"12px",fontWeight:"700"},children:c==null?void 0:c.firstCardBox.body}),h(Dt,{onClick:()=>{ie(!0),ve(),F("choose-your-la-product")},...fe("AddFirstProductClicked"),size:n?26:14,style:{border:"1px solid #000",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.firstCardBox.cta)||"Add a product"})]}),E&&L(le,{children:[h(Xl,{defaultSku:E,accessarySku:m,product:"mainproduct",theme:"light",setSelected:Q=>console.log("sku"+Q),addToBag:()=>console.log("naoo"),setImage:Q=>console.log(Q),inBasket:()=>!1,leadSku:E,setCta:Q=>console.log(Q),onError:Q=>console.log(Q),outOfStock:(c==null?void 0:c.productSelection.outOfStock)||"Out of stock",notForSale:(c==null?void 0:c.productSelection.notForSale)||"Not for sale",buyNow:(c==null?void 0:c.productSelection.buyNow)||"Buy now",saveText:(c==null?void 0:c.productSelection.save)||"Save",notAvailableCta:(c==null?void 0:c.productSelection.notAvailableCta)||"Not available"},E),h(On,{onClick:()=>{he(!0),K(!1),de(!1),B(E),S!=""&&X(S),N!=""&&z(N),F("choose-your-la-product")},...fe("EditFirstProductClicked"),style:{border:"1px solid #707070",borderColor:"#707070",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.firstCardBox.cta)||"Add a product"})]})]}),c&&h(Vo,{showConfigurator:n&&(ee||ae),countryCode:q,dataSkus:d,copyData:c}),L(Uo,{style:{border:p!=""?"0px":"1px solid black",justifyContent:p!=""?"flex-start":"center"},children:[h(Jl,{children:h(ql,{children:"+"})}),p&&h("div",{style:{position:"absolute",right:"12px",top:"12px",zIndex:"2",cursor:"pointer"},onClick:()=>{f?(Y(f),V($),H(M),ce("")):Y(""),ve()},...fe("DeleteSecondProductClicked"),children:h("svg",{width:"18px",height:"18px",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",focusable:"false",children:h("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 .333c.448 0 .814.354.833.798V2.5H13.5v1.333h-1.025l-.898 11.055a.853.853 0 01-.808.778H3.268a.853.853 0 01-.84-.74l-.005-.037-.898-11.055H.5V2.5h3.667V1.167c0-.448.353-.814.797-.833H9zm2.137 3.5H2.863l.854 10.5h6.566l.854-10.5zm-1.97 8.5V6H7.833v6.334h1.334zM6.167 6v6.334H4.833V6h1.334zM5.5 1.667h3V2.5h-3v-.833z",fill:"#000"})})}),!p&&L(le,{children:[h(Z,{style:{textAlign:"center",fontSize:"16px",fontWeight:"bold",lineHeight:"1rem"},children:c==null?void 0:c.secondCardBox.title}),h(Z,{style:{textAlign:"center",fontSize:"12px",fontWeight:"700"},children:c==null?void 0:c.secondCardBox.body})]}),E&&!p&&h(Dt,{onClick:()=>{pe(!0),ve(),F("choose-your-la-product")},...fe("AddSecondProductClicked"),size:n?26:14,style:{border:"1px solid #000",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.secondCardBox.cta)||"Add a product"}),p&&L(le,{children:[h(Xl,{defaultSku:p,accessarySku:C,theme:"light",product:"secondproduct",setSelected:Q=>console.log("sku"+Q),addToBag:()=>console.log("naoo"),setImage:Q=>console.log(Q),inBasket:()=>!1,leadSku:p,setCta:Q=>console.log(Q),onError:Q=>console.log(Q),outOfStock:(c==null?void 0:c.productSelection.outOfStock)||"Out of stock",notForSale:(c==null?void 0:c.productSelection.notForSale)||"Not for sale",buyNow:(c==null?void 0:c.productSelection.buyNow)||"Buy now",saveText:(c==null?void 0:c.productSelection.save)||"Save",notAvailableCta:(c==null?void 0:c.productSelection.notAvailableCta)||"Not available"},p),h(On,{onClick:()=>{he(!1),K(!0),de(!1),B(p),T!=""&&X(T),b!=""&&z(b),F("choose-your-la-product")},...fe("EditSecondProductClicked"),style:{border:"1px solid #707070",borderColor:"#707070",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.secondCardBox.cta)||"Add a product"})]})]}),c&&h(Vo,{showConfigurator:n&&(ye||oe),countryCode:q,dataSkus:d,copyData:c}),L(Uo,{style:{border:f!=""?"0px":"1px solid black",justifyContent:f!=""?"flex-start":"center"},children:[h(Jl,{children:h(ql,{children:"+"})}),f&&h("div",{style:{position:"absolute",right:"12px",top:"12px",zIndex:"2",cursor:"pointer"},onClick:()=>{f&&ce(""),ve(),U(""),P("")},...fe("DeleteThirdProductClicked"),children:h("svg",{width:"18px",height:"18px",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",focusable:"false",children:h("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 .333c.448 0 .814.354.833.798V2.5H13.5v1.333h-1.025l-.898 11.055a.853.853 0 01-.808.778H3.268a.853.853 0 01-.84-.74l-.005-.037-.898-11.055H.5V2.5h3.667V1.167c0-.448.353-.814.797-.833H9zm2.137 3.5H2.863l.854 10.5h6.566l.854-10.5zm-1.97 8.5V6H7.833v6.334h1.334zM6.167 6v6.334H4.833V6h1.334zM5.5 1.667h3V2.5h-3v-.833z",fill:"#000"})})}),!f&&L(le,{children:[h(Z,{style:{textAlign:"center",fontSize:"16px",fontWeight:"bold",lineHeight:"1rem"},children:c==null?void 0:c.thirdCardBox.title}),h(Z,{style:{textAlign:"center",fontSize:"12px",fontWeight:"700"},children:c==null?void 0:c.thirdCardBox.body})]}),E&&p&&!f&&h(Dt,{onClick:()=>{W(!0),ve(),F("choose-your-la-product")},...fe("AddThirdProductClicked"),size:n?26:14,style:{border:"1px solid #000",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.thirdCardBox.cta)||"Add a product"}),f&&L(le,{children:[h(Xl,{defaultSku:f,accessarySku:_,product:"thirdproduct",theme:"light",setSelected:Q=>console.log("sku"+Q),addToBag:()=>console.log("naoo"),setImage:Q=>console.log(Q),inBasket:()=>!1,leadSku:f,setCta:Q=>console.log(Q),onError:Q=>console.log(Q),outOfStock:(c==null?void 0:c.productSelection.outOfStock)||"Out of stock",notForSale:(c==null?void 0:c.productSelection.notForSale)||"Not for sale",buyNow:(c==null?void 0:c.productSelection.buyNow)||"Buy now",saveText:(c==null?void 0:c.productSelection.save)||"Save",notAvailableCta:(c==null?void 0:c.productSelection.notAvailableCta)||"Not available"},f),h(On,{onClick:()=>{he(!1),K(!1),de(!0),B(f),$!=""&&X($),M!=""&&z(M),F("choose-your-la-product")},...fe("EditThirdProductClicked"),style:{border:"1px solid #707070",borderColor:"#707070",position:"absolute",bottom:"15px"},children:(c==null?void 0:c.thirdCardBox.cta)||"Add a product"})]})]}),c&&h(Vo,{showConfigurator:n&&(I||D),countryCode:q,dataSkus:d,copyData:c}),L(Uo,{style:{padding:"24px 24px"},children:[h(Jl,{children:h(ql,{children:"="})}),u&&L(le,{children:[L("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",paddingBottom:n?"50px":"80px"},children:[h("div",{children:h(Z,{weight:"700",size:n?26:20,style:{fontSize:n?"18px":"20px"},children:c==null?void 0:c.bundleResults.total})}),h("div",{children:h(Z,{weight:"700",style:{fontSize:n?"18px":"20px"},size:n?26:20,children:(En=u==null?void 0:u.totalPrice)==null?void 0:En.formattedValue})})]}),L("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",paddingBottom:"10px"},children:[h("div",{children:h(Z,{weight:"400",style:{fontSize:n?"14px":"16px"},children:c==null?void 0:c.bundleResults.subTotal})}),h("div",{children:h(Z,{weight:"700",style:{fontSize:n?"14px":"16px"},children:(_n=u==null?void 0:u.subTotal)==null?void 0:_n.formattedValue})})]}),L("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",paddingBottom:"10px"},children:[h("div",{children:h(Z,{weight:"400",style:{color:"#006fcf",fontSize:n?"14px":"16px"},children:c==null?void 0:c.bundleResults.totalSavings})}),h("div",{children:h(Z,{weight:"700",style:{color:"#006fcf",fontSize:n?"14px":"16px"},children:(mt=u==null?void 0:u.totalDiscounts)==null?void 0:mt.formattedValue})})]}),!p&&h(Dt,{size:n?26:14,...fe("addToBasketClicked"),style:{border:"1px solid #ddd",position:"absolute",bottom:"15px",background:"#ddd",color:"#aaa",cursor:"none",PointerEvent:"none"},children:(c==null?void 0:c.bundleResults.cta)||"Add to basket"}),p&&h(Dt,{onClick:()=>{const Q=[];E!=null&&E!==""&&Q.push(E),p!=null&&p!==""&&Q.push(p),f!=null&&f!==""&&Q.push(f),m!=null&&m!==""&&Q.push(m),C!=null&&C!==""&&Q.push(C),_!=null&&_!==""&&Q.push(_);const ge=Q.map(st=>({productCode:st,services:[],qty:1}));async function Ae(){await fetch(`https://api.shop.samsung.com/tokocommercewebservices/v2/${q}/addToCart/multi?fields=BASIC`,{headers:{accept:"application/json, text/javascript, */*; q=0.01","accept-language":"en-GB,en-US;q=0.9,en;q=0.8","content-type":"application/json"},body:JSON.stringify(ge),method:"POST",mode:"cors",credentials:"include"}).then(async st=>{await st.json(),window.location.href=`https://shop.samsung.com/${q}/cart`}).catch(st=>{console.log(st.message)})}Ae()},style:{border:"1px solid #A5A5A5",position:"absolute",bottom:"15px","&:hover":{background:"#fff"}},...fe("addToBasketClicked"),children:(c==null?void 0:c.bundleResults.cta)||"Add to basket"})]})]})]}),c&&h(Vo,{showConfigurator:!n,countryCode:q,dataSkus:d,copyData:c})]})})})}const r1=k0`
* {
box-sizing: border-box;
}
[hidden] {
display: none;
}
font-family: 'SamsungOne, sans-serif';
margin: auto;
background: white;
color: black;
> div,
.maxwidth-limit {
max-width: 1440px;
margin: 0 auto;
}
.disclaimer {
width: 80%;
@media screen and (min-width: 768px) {
width: 60%;
}
}
.terms {
margin: 0vw 5.55556vw;
@media screen and (min-width: 768px) {
margin: 0vw 8.19444vw;
}
@media screen and (min-width: 1440px) {
margin: 0 120px;
}
}
@font-face {
font-family: 'SamsungSharpSans';
src: url('https://d199c2lmsg7yuw.cloudfront.net/SamsungSharpSans-Regular.otf') format('opentype');
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'SamsungSharpSans';
src: url('https://d199c2lmsg7yuw.cloudfront.net/SamsungSharpSans-Medium.otf') format('opentype');
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: 'SamsungSharpSans';
src: url('https://d199c2lmsg7yuw.cloudfront.net/SamsungSharpSans-Bold.otf') format('opentype');
font-style: normal;
font-weight: 700;
}
@font-face {
font-display: swap;
font-family: 'SamsungOne';
font-style: normal;
font-weight: normal;
src: local('SamsungOne'), url('https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.woff2') format('woff2'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.woff') format('woff'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.ttf') format('truetype'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.eot?#iefix') format('embedded-opentype');
}
@font-face {
font-display: swap;
font-family: 'SamsungOne';
font-style: normal;
font-weight: bold;
src: local('SamsungOne'), url('https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.woff2') format('woff2'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.woff') format('woff'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.ttf') format('truetype'), url('/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.eot?#iefix') format('embedded-opentype');
}
.cheil-static-ecom *, .cheil-static-ecom *:after, .cheil-static-ecom *:before {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
scroll-behavior: smooth;
}
.cheil-static-ecom {
overflow: hidden;
}
#content > div.par.parsys > div.cl-g-sticky-navigation-text.section {
display: none;
}
.visibleNav {
display: block !important;
}
.pointer {
cursor: pointer;
}
.addeventatc-selected {
top: -175px!important;
}
#addeventatc2-drop {
top: 0px!important;
left: -55%!important;
}
.addevent {
color: #fff!important;
display: flex!important;
justify-content: center;
align-items: center;
}
.addevent:hover {
color: #000!important;
background: rgba(0,0,0,0)!important;
}
.addevent:hover svg #calendar-icon > * {
stroke: #000!important;
}
.addeventatc_dropdown {
width: 186px;
}
.addeventatc_dropdown span {
background: none!important;
padding: 14px 10px 14px 18px!important;
}
.divider {
position: relative;
width: 2px;
&:after {
content: "";
position: absolute;
border-left: 2px solid black;
height: 125%;
border-radius: 2px;
top: -0.2em;
@media screen and (max-width: 768px) {
border-left: 1px solid black;
}
}
}
.noWrap {
white-space: nowrap;
}
.copyx {
display: none!important;
}
.addeventatc {
@media screen and (max-width: 768px){
margin: 3em auto;
}
span {
display: none;
}
}
.addeventatc .addeventatc_icon {
display: none;
}
.ReactModal__Overlay {
background: rgba(0, 0, 0, 0.5)!important;
}
.slick-slider {
display: flex;
}
.slick-track {
display: flex!important;
align-items: center!important;;
}
img {
&:focus {
outline: none;
}
}
#MinimalForm {
display: none;
}
.formIframe {
border: 0;
}
.CompareArrowLeft {
position: absolute;
top: -40%;
right: 15%;
}
.CompareArrowRight {
position: absolute;
top: -40%;
left: 15%;
}
.flex-end {
align-self: flex-end;
}
.flex-start {
align-self: flex-start;
}
.wider {
letter-spacing: 0.1em;
}
.slick-slide {
/* height: 50vh; */
max-width: 95vw !important;
/* width: 75vw !important; */
overflow: hidden;
}
.slick-slide:focus {
outline: none;
}
.slick-slider {
max-width: 1440px;
width: 95vw;
}
.slick-track {
width: 95vw;
}
#apps {
.slick-slider{
width: 100%;
overflow: visible;
margin: 0 auto;
}
.slick-arrow {
display: none !important;
}
.slick-list {
width: 100%;
}
}
#cheil-id-root__financeModule{
margin: 25px auto !important;
}
.ReactModal__Body--open, .ReactModal__Html--open {
overflow: hidden;
}
.ReactModal__Content {
opacity: 0;
max-width:1440px;
transition: opacity 300ms ease-in-out;
}
.ReactModal__Content--after-open {
opacity: 1;
}
.ReactModal__Content--before-close {
opacity: 0;
}
.animatedSvg {
stroke-dasharray: 100;
stroke-dashoffset: 100;
&_concierge {
animation: dash 3s ease-in-out 1s forwards;
}
&_chat {
animation: dashAlt 3s ease-in-out 2s forwards;
}
&_appointment {
animation: dash 3s ease-in-out 3s forwards;
}
&_people {
animation: dash 3s ease-in-out 4s forwards;
}
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.animatedSvg {
stroke-width: 0;
stroke-dashoffset: 0;
stroke-dasharray: 0;
&_concierge {
animation: none;
}
&_chat {
animation:none;
}
&_appointment {
animation: none;
}
&_people {
animation: none;
}
}
}
_:-ms-lang(x), _:-webkit-full-screen, .animatedSvg{
stroke-width: 0;
stroke-dashoffset: 0;
stroke-dasharray: 0;
&_concierge {
animation: none;
}
&_chat {
animation:none;
}
&_appointment {
animation: none;
}
&_people {
animation: none;
}
}
@keyframes dash {
0% {
stroke-dashoffset: 100;
}
100% {
stroke-dashoffset: 0;
stroke-width: 0
}
}
@keyframes dashAlt {
0% {
stroke-dashoffset: 100;
}
100% {
stroke-dashoffset: 0;
}
}
abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,tbody,td,tfoot,th,thead,time,tr,ul,var,video {
margin: 0;
padding: 0;
vertical-align: top;
-webkit-box-sizing: border-box;
box-sizing: border-box
}
`;window.state=window.state||{newBundle:!1};const o1=es.createRoot(document.getElementById("cheil-static-ai-meets-ai"));o1.render(h(Dn.StrictMode,{children:h(w0,{theme:Ap,children:L(ny,{children:[h(r1,{}),h(n1,{})]})})}));try{window.sg.components.featureColumnCarousel.init()}catch{console.log("feature column carousel not loaded yet")}
});