PageSourceSearch

https://www.ankersolix.com/_next/static/chunks/16313.46c1dc7781b940bc.js

js ankersolix.com collected 2026-09-25 18:37:59 UTC 42,669 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="55784eca-73a2-4c18-987a-0a55c97104a3",e._sentryDebugIdIdentifier="sentry-dbid-55784eca-73a2-4c18-987a-0a55c97104a3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16313],{65988:function(e,l,t){"use strict";var i=t(52676),d=t(75271),n=t(30967),o=t(77652),a=t(68283),r=t(71506),s=t(82187),c=t.n(s),u=t(58770),x=t.n(u);l.Z=e=>{let{children:l,headerTitle:t,onClose:s,show:u,cns:p,id:v,contentCenter:m=!1}=e,b=(0,d.useRef)(),f=(0,d.useRef)();if((0,d.useEffect)(()=>{b.current&&b.current.focus();let e=f.current;return e&&u&&(0,o.Qp)(e,{reserveScrollBarGap:!0}),()=>{(0,o.tP)()}},[u]),"undefined"==typeof document)return null;let h=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:c()(x().root,!u&&"hidden"),tabIndex:"-1",ref:b,children:(0,i.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,i.jsx)("button",{"aria-label":"Close drawer",className:x().backdrop,onClick:s})})}),(0,i.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":t?"drawer-title":void 0,onKeyDown:e=>{"Escape"===e.code&&s()},className:c()(null==p?void 0:p.content,"fixed z-[999999] w-[90%] max-w-[640px] outline-none transition-all ease-in-out ","left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 ",u?"block l:bottom-0":"hidden l:bottom-[-100%]",m?"l:!bottom-auto":"l:left-0 l:top-auto l:w-[100%] l:translate-x-0 l:translate-y-0"),children:(0,i.jsxs)("div",{className:c()("bg-[#fff]",null==p?void 0:p.contentBox),children:[(0,i.jsx)("header",{className:c()("flex justify-between px-[32px] l:px-[24px]",t?"border-b border-[#e2e2e2] py-[24px]":"pt-[24px]",null==p?void 0:p.header),children:(0,i.jsx)(r.Z,{id:"drawer
1-title",className:"text-[20px] font-[700] l:text-[16px]",html:t})}),(0,i.jsx)("button",{"aria-label":"Close drawer",className:c()("absolute z-[1000] h-[22px] w-[22px] cursor-pointer",t?"right-[32px] top-[24px]":"right-[16px] top-[16px]"),onClick:s,children:(0,i.jsx)(a.Z,{"aria-hidden":"true"})}),(0,i.jsx)("div",{ref:f,className:c()(null==p?void 0:p.children,"max-h-[80vh] overflow-y-auto p-[32px] l:px-[24px] l:py-[16px]"),id:v,children:l})]})})]});return(0,n.createPortal)(h,document.body)}},84454:function(e,l,t){"use strict";t.d(l,{j:function(){return x}});var i=t(52676),d=t(60552),n=t.n(d),o=t(75271),a=t(30967),r=t(82187),s=t.n(r),c=t(71506),u=t(29767);let x=e=>{let{title:l,children:t,isExpend:d,setExpend:r,selectProductTitle:u,gs:x={},selectBoxMaxHeight:p}=e,v=(0,o.useRef)(null),[m,b]=(0,o.useState)({top:0,left:0,width:0});return(0,o.useEffect)(()=>{if(d&&v.current){let e=v.current.getBoundingClientRect();b({top:e.bottom+window.scrollY,left:e.left+window.scrollX,width:e.width})}},[d]),(0,o.useEffect)(()=>{let e=e=>{!e.target.closest(".select-container")&&(e.target.closest(".select-dropdown-portal")||r(!1))};return document.body.addEventListener("click",e),()=>{document.body.removeEventListener("click",e)}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n(),{id:"dab019a89cb44518",children:".solix-border{border-width:2px;border-color:transparent;-webkit-border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);-moz-border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);-o-border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:linear-gradient(to right,#2c7ed0,#00db84);border-image-slice:1}"}),(0,i.jsx)("div",{className:"jsx-dab019a89cb44518 "+(s()("relative w-full","select-container")||""),children:(0,i.jsxs)("div",{ref:v,onClick:e=>{e.stopPropagation(),r(!d)},className:"jsx-dab019a89cb44518 "+(s()("flex h-[52px] w-full cursor-pointer  items-center justify-between border-[1px] bg-white  pl-[24px] pr-[16px] md:pl-[16px] md:pr-[8px] xl:h-[48px]",d?"solix-border":"border-[#D9D9D9]")||""),children:[(0,i.jsx)(c.Z,{html:u||l,className:s()("line-clamp-2 text-[16px] font-[700] leading-[20px]",u?"text-[#333] ":"text-[#ddd] ")}),(0,i.jsx)("div",{className:"jsx-dab019a89cb44518 "+(s()("transition-all",d?"rotate-[180deg]":"rotate-[0deg]")||""),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",className:"jsx-dab019a89cb44518",children:(0,i.jsx)("path",{d:"M1 1L6 7L11 1",stroke:"black",strokeLinecap:"square",className:"jsx-dab019a89cb44518"})})})]})}),d&&"undefined"!=typeof document&&(0,a.createPortal)((0,i.jsx)("div",{style:{position:"absolute",top:"".concat(m.top,"px"),left:"".concat(m.left,"px"),width:"".concat(m.width,"px"),boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",maxHeight:p?"".concat(p,"px"):"400px",overflowY:"auto"},onClick:e=>e.stopPropagation(),className:"jsx-dab019a89cb44518 "+(s()("select-dropdown-portal z-[99999] border-[1px] border-[#E5E5E5] bg-white px-[10px] py-[30px]",null==x?void 0:x.expendClass)||""),children:t}),document.body)]})};l.Z=function(e){var l,t,d,a;let{list:r=[],title:p,curProduct:v,setCurBundleIndex:m,sectionTitle:b,pageHandle:f,curBundleIndex:h,selectBoxMaxHeight:g}=e,[w,y]=(0,o.useState)(!1),j=e=>{var l;y(!1),m(e),window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+f,position:"product selector",button_name:"product selector",info:null==r?void 0:null===(l=r[e])||void 0===l?void 0:l.custom_title}})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n(),{id:"4f3ac862e573f107",children:".solix-border{border-color:transparent;-webkit-border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);-moz-border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);-o-border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:linear-gradient(to right,#2c7ed0,#00db84);border-image-slice:1}"}),(0,i.jsx)(x,{title:p,isExpend:w,selectProductTitle:(null==r?void 0:null===(l=r[h])||void 0===l?void 0:l.custom_title)||(null==r?void 0:null===(t=r[h])||void 0===t?void 0:t.t
1itle)||(null==v?void 0:null===(d=v.main_product)||void 0===d?void 0:d.custom_title)||(null==v?void 0:null===(a=v.main_product)||void 0===a?void 0:a.title),setExpend:y,selectBoxMaxHeight:g,children:(0,i.jsx)("div",{className:"jsx-4f3ac862e573f107 grid grid-cols-2 gap-[12px]",children:null==r?void 0:r.map((e,l)=>{var t,d;return(0,i.jsxs)("div",{onClick:()=>{j(l)},className:"jsx-4f3ac862e573f107 "+(s()("col-span-1 box-border h-[140px] cursor-pointer border-[1px]  px-[16px] py-[6px]",(null==e?void 0:e.related_handlesku)==(null==v?void 0:v.related_handlesku)?"solix-border":"border-[#D8D8D8]")||""),children:[(0,i.jsx)("div",{className:"jsx-4f3ac862e573f107 mx-auto w-[60px]",children:(0,i.jsx)(u.Z,{className:s()("aspect-h-[60] aspect-w-[60] mx-auto w-full"),source:"".concat((null==e?void 0:e.custom_img)||(null==e?void 0:e.image),", ").concat((null==e?void 0:e.custom_mb_img)||(null==e?void 0:e.custom_img)||(null==e?void 0:e.image)," 768")})}),(0,i.jsx)(c.Z,{className:s()("mt-[8px] line-clamp-2 text-center text-[14px] font-[700] leading-[16px] text-[#1D1D1F] transition-all duration-200"),html:(null==e?void 0:e.custom_title)||(null==e?void 0:null===(d=e.variantMetafields)||void 0===d?void 0:null===(t=d.infos)||void 0===t?void 0:t.name)||(null==e?void 0:e.title)}),(null==e?void 0:e.custom_desc)&&(0,i.jsx)(c.Z,{className:s()("mt-[4px] line-clamp-1 text-center text-[12px] font-[600] leading-[14px] text-[#86868C]"),html:null==e?void 0:e.custom_desc})]},l)})})})]})}},16313:function(e,l,t){"use strict";t.r(l),t.d(l,{Calculator:function(){return P},Tab:function(){return _},default:function(){return q}});var i=t(52676),d=t(60552),n=t.n(d),o=t(29767),a=t(71506),r=t(65988),s=t(7331),c=t(75271),u=t(78042);t(29656),t(79996),t(45951);var x=t(24143),p=t(82187),v=t.n(p),m=t(30110),b=t(83056),f=t(84454),h=t(63440),g=t(70651),w=t(64717),y=t(51733),j=t.n(y);let _=e=>{var l;let{data:t,tabClick:d,curId:n,className:o}=e;return(0,i.jsxs)("div",{className:v()("relative flex gap-[40px] l:justify-center l:gap-[20px]",o),children:[(null==t?void 0:t.list)&&(null==t?void 0:null===(l=t.list)||void 0===l?void 0:l.map((e,l)=>(0,i.jsx)("div",{onClick:()=>{d(null==e?void 0:e.id,null==e?void 0:e.label)},role:"button",tabIndex:0,"aria-pressed":n===(null==e?void 0:e.id),"aria-label":null==e?void 0:e.label,onKeyDown:l=>{("Enter"===l.key||" "===l.key)&&d(null==e?void 0:e.id,null==e?void 0:e.label)},className:v()("relative z-[2] flex-shrink-0 cursor-pointer border-b-[2px] px-[16px] pb-[16px] l:px-[6px] l:pb-[12px]",n===(null==e?void 0:e.id)?"border-[#00BEFA]":"border-transparent"),children:(0,i.jsx)(a.Z,{className:v()("text-[16px] leading-[24px]",n===(null==e?void 0:e.id)?"font-[700] text-black ":"font-[600] text-[#353535]"),html:null==e?void 0:e.label})},l+(null==e?void 0:e.label)))),(0,i.jsx)("div",{className:"absolute bottom-0 left-0 z-[1] h-px w-full bg-[#5B2F2F]/20"})]})};var N=t(47472),k=t.n(N),C=t(24651),D=t(52412);t(96e3);var Z=t(51135),L=t(20846),B=e=>{let{eleId:l,data:t,className:d,children:o,selected:r}=e,[s,u]=(0,c.useState)(),x=(0,c.useRef)(),p=()=>{u(null)};return(0,c.useEffect)(()=>{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,l=arguments.length>1?arguments[1]:void 0,t=0,i=0,d=!1;
1function n(n){if(!d){t=n.clientX,i=n.clientY,d=!0;return}let o=n.clientX,a=n.clientY,r=Math.sqrt(Math.pow(o-t,2)+Math.pow(a-i,2));r>e&&(l(r,n),t=o,i=a)}return window.addEventListener("mousemove",n),()=>{window.removeEventListener("mousemove",n)}}(30,(e,l)=>{p()});return()=>e()},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(L.Z,{"aria-owns":"".concat(l,"_popover"),"aria-haspopup":"true",className:v()(d,"z-[6] inline text-[#F5F5F7]"),onMouseEnter:e=>{try{u(null==x?void 0:x.current)}catch(e){}},children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",ref:x,className:n().dynamic([["72f03ee9c5c04268",[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""]]])+" absolute right-[7px] top-[7px]",children:[(0,i.jsx)("circle",{cx:"5",cy:"5",r:"5",fill:"#D8D8D8",className:n().dynamic([["72f03ee9c5c04268",[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""]]])}),(0,i.jsx)("path",{d:"M4.56004 6.06411C4.51737 5.84544 4.52537 5.64811 4.58404 5.47211C4.64804 5.29611 4.74137 5.13878 4.86404 5.00011C4.99204 4.85611 5.13071 4.72544 5.28004 4.60811C5.43471 4.48544 5.58137 4.36544 5.72004 4.24811C5.85871 4.13078 5.97337 4.01078 6.06404 3.88811C6.15471 3.76011 6.20004 3.62144 6.20004 3.47211C6.20004 3.28544 6.15471 3.12011 6.06404 2.97611C5.97337 2.83211 5.84004 2.72011 5.66404 2.64011C5.48804 2.55478 5.26137 2.51211 4.98404 2.51211C4.71204 2.51211 4.44804 2.57344 4.19204 2.69611C3.94137 2.81344 3.70137 2.99478 3.47204 3.24011L3.04004 2.84011C3.30671 2.55744 3.60271 2.33344 3.92804 2.16811C4.25337 1.99744 4.63204 1.91211 5.06404 1.91211C5.44271 1.91211 5.76804 1.97344 6.04004 2.09611C6.31737 2.21878 6.53071 2.39211 6.68004 2.61611C6.83471 2.83478 6.91204 3.09878 6.91204 3.40811C6.91204 3.61078 6.86671 3.78944 6.77604 3.94411C6.68537 4.09878 6.56804 4.24011 6.42404 4.36811C6.28537 4.49611 6.13871 4.62144 5.98404 4.74411C5.82937 4.86144 5.68537 4.98411 5.55204 5.11211C5.42404 5.24011 5.32537 5.38144 5.25604 5.53611C5.19204 5.69078 5.17871 5.86678 5.21604 6.06411H4.56004ZM4.90404 8.04011C4.76004 8.04011 4.63737 7.99211 4.53604 7.89611C4.43471 7.80011 4.38404 7.67211 4.38404 7.51211C4.38404 7.35211 4.43471 7.22411 4.53604 7.12811C4.63737 7.02678 4.76004 6.97611 4.90404 6.97611C5.04271 6.97611 5.16271 7.02678 5.26404 7.12811C5.36537 7.22411 5.41604 7.35211 5.41604 7.51211C5.41604 7.67211 5.36537 7.80011 5.26404 7.89611C5.16271 7.99211 5.04271 8.04011 4.90404 8.04011Z",fill:"white",className:n().dynamic([["72f03ee9c5c04268",[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""]]])})]}),o]}),(0,i.jsx)(Z.ZP,{id:"".concat(l,"_popover"),open:!!s,anchorEl:s,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},onClose:p,classes:{root:"!rounded-none !z-[5]",paper:v()("!rounded-none !overflow-visible !shadow-none w-[220px] l:w-[150px] min-h-[45px] !-translate-y-1","!bg-transparent")},children:(0,i.jsxs)("div",{className:n().dynamic([["72f03ee9c5c04268",[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""]]])+" "+(v()(l,"popverTextBox relative bottom-0 box-border flex h-full w-full items-center justify-center overflow-visible rounded-[2px] p-[15px] pb-[10px] l:p-2.5 l:pb-2",r?"bg-white":"bg-[#D9D9D9]")||""),children:[(0,i.jsx)(a.Z,{variant:"inline",html:(null==t?void 0:t.tips)||"",className:"text-left text-[10px] font-[600] leading-none text-[#86868C] l:text-[10px] l:leading-none"}),(0,i.jsx)("div",{className:n().dynamic([["72f03ee9c5c04268",[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""]]])+" "+(v()("".concat(l,"_shape"),"-bottom-1 left-1/2 -translate-x-1/2 rotate-180")||"")})]})}),(0,i.jsx)(n(),{id:"72f03ee9c5c04268",dynamic:[l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"4px solid #fff":"4px solid #D9D9D9",l,r?"box-shadow: 0px 0px 10px 5px #d9d9d9":"",r?"0px 0px 10px 5px #d9d9d9":""],children:".".concat(l,"_shape{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:").concat(r?"4px solid #fff":"4px solid #D9D9D9","}.").concat(l,'_shape::after{content:"";position:absolute;top:1px;left:-4px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:').concat(r?"4px solid #fff":"4px solid #D9D9D9","}.").concat(l,".popverTextBox{-webkit-box-shadow:").concat(r?"0px 0px 10px 5px #d9d9d9":"",";-moz-box-shadow:").concat(r?"0px 0px 10px 5px #d9d9d9":"",";box-shadow:").concat(r?"0px 0px 10px 5px #d9d9d9":"","}")})]})},S=t(57235);let M=e=>{let{item:l,defaultSelect:t,prefixId:d,curId:n}=e;return(0,i.jsxs)("div",{className:v()("relative box-border flex h-full w-full cursor-pointer flex-col items-center justify-center",(null==t?void 0:t.includes(null==l?void 0:l.id))?"solix-border solix-border-boxShadow  border-[2px] bg-white":"border-[1px]  border-[#D8D8D8] bg-transparent text-[#86868C]"),children:[(0,i.jsxs)("div",{className:"w-[28px] l:w-[22px]",children:[(0,i.jsx)(o.Z,{source:null==l?void 0:l.iconSrc,className:v()("w-full",(null==t?void 0:t.includes(null==l?void 0:l.id))?"hidden":"block")}),(0,i.jsx)(o.Z,{source:null==l?void 0:l.iconSrcLight,className:v()("w-full",(null==t?void 0:t.includes(null==l?void 0:l.id))?"block":"hidden")})]}),(0,i.jsx)(a.Z,{html:null==l?void 0:l.title,className:v()("mt-[8px] text-center text-[12px] font-[700] leading-[16
1px]",(null==t?void 0:t.includes(null==l?void 0:l.id))?"text-[#00A9E0]":"")}),(0,i.jsx)(a.Z,{html:null==l?void 0:l.numTxt,className:v()("mt-[4px] text-center text-[12px] font-[700] leading-[16px]",(null==t?void 0:t.includes(null==l?void 0:l.id))?"text-[#00A9E0]":"")}),(null==l?void 0:l.tips)&&"runtime"!==n&&(0,i.jsx)(B,{data:{tips:null==l?void 0:l.tips},eleId:"".concat(null==l?void 0:l.id,"_").concat(d),selected:null==t?void 0:t.includes(null==l?void 0:l.id)})]})},E=e=>{var l,t,d,n,r,s,c,u,x;let{totalTimeInfo:p,data:m,defaultSelect:b,curProduct:f,curBundleInfo:h,pageHandle:g,curInfo:w}=e,{setRelativeLink:y}=(0,C.D)();return(0,i.jsxs)("div",{className:"main-product flex min-h-[150px] items-end justify-between bg-white px-[20px] py-[15px]",children:[(0,i.jsxs)("div",{className:"",children:[!p&&(0,i.jsx)(a.Z,{className:"mb-[10px] text-[12px] font-[600] leading-[14px] text-[#FF7815]",html:null==m?void 0:m.errorTxt}),(0,i.jsx)(a.Z,{html:null==m?void 0:null===(l=m.appliancesSelected)||void 0===l?void 0:l.replace("{num}",null==b?void 0:b.length),className:"text-[12px] font-[600] leading-[16px] text-[#86868C]"}),(0,i.jsx)(a.Z,{html:(null==w?void 0:w.runTime)||(null==m?void 0:m.runTime),className:"mt-[12px] text-[12px] font-[600] leading-[16px] text-[#86868C]"}),(0,i.jsx)(a.Z,{html:p||"--",className:"solix-txt mt-[10px] text-[32px] font-[700] leading-[34px] l-xl:text-[28px] l-xl:leading-[30px]"})]}),(0,i.jsxs)("div",{className:v()("flex max-w-[120px] flex-shrink-0 flex-col items-center text-center",null===k()||void 0===k()?void 0:k().card_parent),children:[(0,i.jsx)(o.Z,{renderMaxW:200,priority:!0,source:null==f?void 0:null===(t=f.main_product)||void 0===t?void 0:t.image,className:v()("mx-auto w-[80px]",null===k()||void 0===k()?void 0:k().card_parent_img)}),(0,i.jsx)("a",{href:y({link:"/products/".concat(null==h?void 0:h.handle,"?variant=").concat((0,D.Ll)(null==h?void 0:h.variantId),"&ref=").concat(g)}),dangerouslySetInnerHTML:{__html:(null==f?void 0:null===(d=f.main_product)||void 0===d?void 0:d.custom_title)||(null==f?void 0:null===(s=f.main_product)||void 0===s?void 0:null===(r=s.variantMetafields)||void 0===r?void 0:null===(n=r.infos)||void 0===n?void 0:n.name)||(null==f?void 0:null===(c=f.main_product)||void 0===c?void 0:c.title)},className:v()("line-clamp-2 text-[14px] font-[700] leading-[22px] text-[#1D1D1F] l:underline",null===k()||void 0===k()?void 0:k().card_parent_link)}),(null==f?void 0:null===(u=f.main_product)||void 0===u?void 0:u.custom_desc)&&(0,i.jsx)(a.Z,{html:null==f?void 0:null===(x=f.main_product)||void 0===x?void 0:x.custom_desc,className:"line-clamp-2 text-[12px] font-[600] leading-[16px] text-[#86868C]"})]})]})},I=e=>{var l,t,d,n,r,s,c;let{data:u,curProduct:x,reduceClick:p,handleQualityChange:m}=e;return(0,i.jsxs)("div",{className:"sub-product mt-[8px] flex min-h-[120px] justify-between bg-white px-[20px] py-[10px]",children:[(0,i.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,i.jsx)(a.Z,{className:"text-[14px] font-[700] leading-[22px] text-[#1d1d1f]",html:null==u?void 0:u.addMorePower}),(0,i.jsxs)("div",{className:"flex h-[34px] justify-around gap-[4px] l-xl:h-[28px]",children:[(0,i.jsx)("div",{onClick:()=>{p("reduce")},className:v()("flex h-full w-[34px] items-center justify-center  text-[20px] font-[700] text-[#333] l-xl:w-[28px]",(null==x?void 0:null===(l=x.sub_product)||void 0===l?void 0:l.quantity)==0?"cursor-not-allowed bg-[#ccc]":"cursor-pointer bg-[#F5F5F7]"),dangerouslySetInnerHTML:{__html:"-"}}),(0,i.jsx)("input",{step:1,type:"number",onChange:e=>{m(e,"sub","input")},onBlur:e=>{var l,t;(""==e.target.value||e.target.value<1)&&m({target:{value:0}},"sub","input"),e.target.value>(null==x?void 0:null===(l=x.sub_product)||void 0===l?void 0:l.maxLimit)&&m({target:{value:null==x?void 0:null===(t=x.sub_product)||void 0===t?void 0:t.maxLimit}},"sub","input")},value:null==x?void 0:null===(t=x.sub_product)||void 0===t?void 0:t.quantity,className:"h-full w-[70px] border border-[#D8D8D8] bg-white text-center font-[600] text-[#333] outline-none l-xl:w-[50px]"}),(0,i.jsx)("div",{onClick:()=>{p("add")},className:v()("flex h-full w-[34px] items-center justify-center text-[20px] font-[700] text-[#333] l-xl:w-[28px]",(null==x?void 0:null===(d=x.sub_product)||void 0===d?void 0:d.quantity)>=(null==x?void 0:null===(n=x.sub_product)||void 0===n?void 0:n.maxLimit)?"cursor-not-allowed bg-[#ccc]":"cursor-pointer bg-[#F5F5F7]"),dangerouslySetInnerHTML:{__html:"+"}})]})]}),(0,i.jsxs)("div",{className:"max-w-[120px] text-center",children:[(0,i.jsx)(o.Z,{className:"mx-auto w-[80px]",source:null==x?void 0:null===(r=x.sub_product)||void 0===r?void 0:r.image}),(null==x?void 0:null===(s=x.sub_product)||void 0===s?void 0:s.custom_desc)&&(0,i.jsx)(a.Z,{html:null==x?void 0:null===(c=x.sub_product)||void 0===c?void 0:c.custom_des,className:"text-[12px] font-[600] leading-[16
1px] text-[#86868C]"})]})]})};function z(e,l,t){return t?l===1/0?null==e?void 0:e.infinityHrs:"".concat(l.toFixed(1)," ").concat(null==e?void 0:e.hrs):l>7?null==e?void 0:e.days7:"".concat(l.toFixed(1)," ").concat(null==e?void 0:e.day)}function P(e){var l,t,d,o,s,p,y,N,k,D,Z;let{data:L,pageHandle:B,id:P,className:q,setShow:T,parentId:F,selectBoxMaxHeight:H}=e,{setRelativeLink:A}=(0,C.D)(),[R,G]=(0,c.useState)(""),[X,Y]=(0,c.useState)([]),[Q,V]=(0,c.useState)({}),[K,O]=(0,c.useState)(0),[W,J]=(0,c.useState)(!1),[U,$]=(0,c.useState)(!1),[ee,el]=(0,c.useState)(!1),et=(0,c.useRef)(null),[ei,ed]=(0,c.useState)({}),en=null==L?void 0:null===(t=L.allProducts)||void 0===t?void 0:null===(l=t.map(e=>e.handle))||void 0===l?void 0:l.join(","),{data:eo,isLoading:ea}=(0,m.Z)({handles:en});(0,c.useEffect)(()=>{var e,l;Y(null==L?void 0:null===(l=L.list)||void 0===l?void 0:null===(e=l[0])||void 0===e?void 0:e.defaultSelect)},[]),(0,c.useEffect)(()=>{var e,l;G(null==L?void 0:null===(l=L.list)||void 0===l?void 0:null===(e=l[0])||void 0===e?void 0:e.id)},[]),(0,c.useEffect)(()=>{var e;ed(null==L?void 0:null===(e=L.list)||void 0===e?void 0:e[0])},[]);let er=(0,c.useMemo)(()=>{var e;return eo?null==L?void 0:null===(e=L.allProducts)||void 0===e?void 0:e.map(e=>(0,b.X)(e,eo)||e):[]},[eo]),es=(0,c.useMemo)(()=>{var e;return null==ei?void 0:null===(e=ei.recommendList)||void 0===e?void 0:e.map(e=>null==er?void 0:er.find(l=>(null==l?void 0:l.related_handlesku)===(null==e?void 0:e.related_handlesku)))},[er,null==ei?void 0:ei.recommendList]);(0,c.useEffect)(()=>{if((null==es?void 0:es.length)>0){var e,l;let t=null==es?void 0:null===(e=es[K||0])||void 0===e?void 0:e.related_handlesku;if(!t)return;let[i,d]=null==t?void 0:t.split("|"),n=null==i?void 0:i.split(","),o=d?null==d?void 0:d.split(","):[],a=null==er?void 0:er.find(e=>(null==e?void 0:e.handle)===(null==n?void 0:n[0])&&(null==e?void 0:e.sku)===(null==n?void 0:n[1])),r=null==er?void 0:er.find(e=>(null==e?void 0:e.handle)===(null==o?void 0:o[0])&&(null==e?void 0:e.sku)===(null==o?void 0:o[1]));V({related_handlesku:t,main_product:a?{...a,quantity:+(null==n?void 0:n[2])}:null,sub_product:r?{...r,quantity:+(null==o?void 0:o[2]),maxLimit:((null==L?void 0:null===(l=L.subProductMaxLimit)||void 0===l?void 0:l["".concat(null==a?void 0:a.handle,",").concat(null==a?void 0:a.sku)])||6)*((null==n?void 0:n[2])||1)}:null})}},[es,er,K]);let ec=(0,c.useCallback)((e,l,t)=>{let i=e.target.value;V(e=>{var t,d,n,o,a,r,s,c,u,x;let p="main"===l?"".concat(null==e?void 0:null===(t=e.main_product)||void 0===t?void 0:t.handle,",").concat(null==e?void 0:null===(d=e.main_product)||void 0===d?void 0:d.sku,",").concat(i).concat((null==e?void 0:e.sub_product)?"|".concat(null==e?void 0:null===(n=e.sub_product)||void 0===n?void 0:n.handle,",").concat(null==e?void 0:null===(o=e.sub_product)||void 0===o?void 0:o.sku,",").concat(null==e?void 0:null===(a=e.sub_product)||void 0===a?void 0:a.quantity):""):"".concat(null==e?void 0:null===(r=e.main_product)||void 0===r?void 0:r.handle,",").concat(null==e?void 0:null===(s=e.main_product)||void 0===s?void 0:s.sku,",").concat(null==e?void 0:null===(c=e.main_product)||void 0===c?void 0:c.quantity).concat(i>0?"|".concat(null==e?void 0:null===(u=e.sub_product)||void 0===u?void 0:u.handle,",").concat(null==e?void 0:null===(x=e.sub_product)||void 0===x?void 0:x.sku,",").concat(i):"");return"main"===l?{...e,related_handlesku:p,main_product:{...null==e?void 0:e.main_product,quantity:i}}:{...e,related_handlesku:p,sub_product:{...null==e?void 0:e.sub_product,quantity:i}}}),window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+B,position:"input"==t?"electric bill input":"product quantity selector",button_name:"input"==t?"electric input":"product quantity",info:""}})},[Q]),eu=(0,c.useCallback)((e,l)=>{(null==X?void 0:X.includes(e))?(null==X?void 0:X.length)>1&&Y(X.filter(l=>l!==e)):Y([...X,e]),window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+B,position:null==L?void 0:L.title,button_name:(null==X?void 0:X.includes(e))?"Reduce":"Add",info:"".concat(e,"_").concat(null==l?void 0:l.title)}})},[X]),ex=(0,c.useCallback)((e,l)=>{var t,i;let d=null==L?void 0:null===(t=L.list)||void 0===t?void 0:t.find(l=>(null==l?void 0:l.id)===e),n=(null==d?void 0:d.defaultSelect)||[];ed(d),Y(n),G(e),O(0),null==et||null===(i=et.current)||void 0===i||i.update(),window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_navigation",event_parameters:{navigation:l,page_group:"Activity Page_"+B}})},[X]),ep=(0,c.useCallback)(e=>{var l,t,i,d,n;
1("add"!=e||!((null==Q?void 0:null===(l=Q.sub_product)||void 0===l?void 0:l.quantity)>=((null==Q?void 0:null===(t=Q.sub_product)||void 0===t?void 0:t.maxLimit)||4)))&&("reduce"==e&&(null==Q?void 0:null===(i=Q.sub_product)||void 0===i?void 0:i.quantity)<=0||(ec({target:{value:"add"==e?+(null==Q?void 0:null===(d=Q.sub_product)||void 0===d?void 0:d.quantity)+1:+(null==Q?void 0:null===(n=Q.sub_product)||void 0===n?void 0:n.quantity)-1}},"sub"),(0,S.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+B,position:"product quantity selector",button_name:e}})))},[Q,ec]),ev=(0,c.useMemo)(()=>{var e;let l=(null==ei?void 0:null===(e=ei.params)||void 0===e?void 0:e.filter(e=>null==X?void 0:X.includes(null==e?void 0:e.id)))||[];return null==l?void 0:l.reduce((e,l)=>Number(new h.Z(e).add(null==l?void 0:l.whNum)),0)},[X,ei]),em=(0,c.useMemo)(()=>{var e;let l=(null==ei?void 0:null===(e=ei.params)||void 0===e?void 0:e.filter(e=>null==X?void 0:X.includes(null==e?void 0:e.id)))||[];return null==l?void 0:l.reduce((e,l)=>Number(new h.Z(e).add(null==l?void 0:l.whNum2)),0)},[X,ei]),eb=(0,c.useMemo)(()=>{var e,l,t,i,d;return Number(null===(t=new h.Z((null==Q?void 0:null===(d=Q.main_product)||void 0===d?void 0:d.power)||0).mul((null==Q?void 0:null===(i=Q.main_product)||void 0===i?void 0:i.quantity)||0))||void 0===t?void 0:t.add(new h.Z((null==Q?void 0:null===(l=Q.sub_product)||void 0===l?void 0:l.power)||0).mul((null==Q?void 0:null===(e=Q.sub_product)||void 0===e?void 0:e.quantity)||0)))},[Q]),ef=(0,c.useMemo)(()=>{var e,l,t,i,d;return Number(null===(t=new h.Z((null==Q?void 0:null===(d=Q.main_product)||void 0===d?void 0:d.power2)||0).mul((null==Q?void 0:null===(i=Q.main_product)||void 0===i?void 0:i.quantity)||0))||void 0===t?void 0:t.add(new h.Z((null==Q?void 0:null===(l=Q.sub_product)||void 0===l?void 0:l.power2)||0).mul((null==Q?void 0:null===(e=Q.sub_product)||void 0===e?void 0:e.quantity)||0)))},[Q]),eh=(0,c.useMemo)(()=>{if(em>ef)return null;let e=new h.Z(eb).div(new h.Z(ev).div(.82)),l=new h.Z(eb).div(new h.Z(em).div(.82));return"runtime"===R?z(L,Number(l),!0)||null:z(L,Number(e))||null},[ev,ef,em,eb,R]),eg=(0,c.useMemo)(()=>{let e=[],l=null==er?void 0:er.find(e=>(null==e?void 0:e.related_handlesku)===(null==Q?void 0:Q.related_handlesku));if(l)e.push(l);else{var t,i;(null==Q?void 0:null===(t=Q.main_product)||void 0===t?void 0:t.quantity)>0&&e.push(null==Q?void 0:Q.main_product),(null==Q?void 0:null===(i=Q.sub_product)||void 0===i?void 0:i.quantity)>0&&e.push(null==Q?void 0:Q.sub_product)}return e},[Q,er]),ew=e=>{window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+B,position:null==L?void 0:L.title,button_name:e,info:""}})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n(),{id:"34a3e0c0de8b4925",dynamic:[P,P,P,P,P],children:'.solix-border{border-color:transparent;-webkit-border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);-moz-border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);-o-border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:-webkit-linear-gradient(left,#2c7ed0,#00db84);border-image:-moz-linear-gradient(left,#2c7ed0,#00db84);border-image:-o-linear-gradient(left,#2c7ed0,#00db84);border-image:linear-gradient(to right,#2c7ed0,#00db84);border-image-slice:1}.solix-border-boxShadow{-webkit-box-shadow:0px 1px 12px 0px rgba(0,219,132,.3);-moz-box-shadow:0px 1px 12px 0px rgba(0,219,132,.3);box-shadow:0px 1px 12px 0px rgba(0,219,132,.3)}.solix-txt{background:-webkit-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:-moz-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:-o-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:linear-gradient(61deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.solix-bg{background:-webkit-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:-moz-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:-o-linear-gradient(29deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%);background:linear-gradient(61deg,#2c7ed0 0%,#00a9e1 43%,#00db84 100%)}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#'.concat(P," .my-swiper-pagination{position:static;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:4px;margin-top:20px}#").concat(P," .my-swiper-pagination span{width:8px;height:8px;background-color:#d8d8d8;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;-webkit-transition:all.3s ease-out;-moz-transition:all.3s ease-out;-o-transition:all.3s ease-out;transition:all.3s ease-out;overflow:hidden;opacity:1;margin:0;margin-right:6px}#").concat(P," .my-swiper-pagination .swiper-pagination-bullet-active{width:36px;background-color:#00a9e0}#").concat(P," .my-swiper-pagination .slick-dots-progress{width:0%;height:100%}@media(max-width:767px){#").concat(P," .my-swiper-pagination .swiper-pagination{bottom:20px}}")}),(0,i.jsx)("div",{id:P,className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+(v()("layer bg-[#F5F5F7] py-[120px] pb-[140px] l:py-[80px]",q)||""),children:(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" content",children:[(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" w-full",children:(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+"flex ".concat((null==L?void 0:L.goBack)&&(null==L?void 0:L.goBackHref)?"justify-between":"w-full justify-center"," md:w-full"),children:[(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+"".concat((null==L?void 0:L.goBack)&&(null==L?void 0:L.goBackHref)?"w-[65%] max-w-[880px]":"w-full text-center"," md:w-full"),children:[(null==L?void 0:L.title)&&(0,i.jsx)(a.Z,{className:v()(null===j()||void 0===j()?void 0:j().title," font-[800] text-black"),html:null==L?void 0:L.title}),(null==L?void 0:L.desc)&&(0,i.jsx)(a.Z,{className:v()(null===j()||void 0===j()?void 0:j().desc," mt-[12px] font-[600] text-black"),html:null==L?void 0:L.desc})]}),(null==L?void 0:L.goBack)&&(null==L?void 0:L.goBackHref)&&(0,i.jsx)("a",{href:A({link:null==L?void 0:L.goBackHref}),dangerouslySetInnerHTML:{__html:null==L?void 0:L.goBack},className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" cursor-pointer text-[16px] font-[700] leading-[18px] text-black l:hidden"})]})}),(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[70px] flex w-full items-end justify-between gap-[26px] l:hidden",children:[(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" w-[70%] l-xl:w-[65%]",children:[(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" flex w-full justify-between",children:[(0,i.jsx)(_,{data:L,tabClick:ex,curId:R}),(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+(v()("flex gap-[10px]",W&&U?"hidden":"")||""),children:[(0,i.jsx)("div",{onClick:()=>{ew("prev")},className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+(v()("arrow-prev flex h-[40px] w-[40px] items-center justify-center rounded-full bg-black/10 ",W?"cursor-not-allowed":"cursor-pointer hover:bg-black/30")||""),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]]),children:(0,i.jsx)("path",{d:"M12.1782 15.3966C12.4924 15.0824 12.4924 14.5729 12.1782 14.2587L7.91951 10.0001L12.1782 5.74143C12.4924 5.42721 12.4924 4.91777 12.1782 4.60355C11.8639 4.28934 11.3545 4.28934 11.0403 4.60355L6.2127 9.43114C5.89848 9.74536 5.89848 10.2548 6.2127 10.569L11.0403 15.3966C11.3545 15.7108 11.8639 15.7108 12.1782 15.3966Z",fill:"#fff",className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])})})}),(0,i.jsx)("div",{onClick:()=>{ew("next")},className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+(v()("arrow-next flex h-[40px] w-[40px]  items-center justify-center rounded-full bg-black/10 ",U?"cursor-not-allowed":"cursor-pointer hover:bg-black/30")||""),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]]),children:(0,i.jsx)("path",{d:"M7.82184 15.3966C7.50763 15.0824 7.50763 14.5729 7.82184 14.2587L12.0805 10.0001L7.82184 5.74143C7.50763 5.42721 7.50763 4.91777 7.82184 4.60355C8.13606 4.28934 8.6455 4.28934 8.95972 4.60355L13.7873 9.43114C14.1015 9.74536 14.1015 10.2548 13.7873 10.569L8.95972 15.3966C8.6455 15.7108 8.13606 15.7108 7.82184 15.3966Z",fill:"#fff",className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])})})})]})]}),(null==ei?void 0:ei.params)&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[46px] h-[254px]",children:(0,i.jsx)(u.tq,{grid:{rows:2,fill:"row"},spaceBetween:8,navigation:{nextEl:"#".concat(P," .arrow-next"),prevEl:"#".concat(P," .arrow-prev")},modules:[x.rj,x.W_],onProgress:e=>{$(e.isEnd),J(e.isBeginning)},onSwiper:e=>{et.current=e},breakpoints:{1025:{slidesPerView:6,slidesPerGroup:6},769:{slidesPerView:4,slidesPerGroup:4}}
1,className:"mySwiper !z-[4] mx-auto size-full",children:null==ei?void 0:null===(d=ei.params)||void 0===d?void 0:d.map((e,l)=>(0,i.jsx)(u.o5,{onClick:()=>{eu(null==e?void 0:e.id,e)},className:"!z-[4]",children:(0,i.jsx)(M,{item:e,defaultSelect:X,prefixId:"1_".concat(l),curId:R})},l+(null==e?void 0:e.title)+(null==e?void 0:e.iconSrc)+R))})}),(null==ei?void 0:null===(o=ei.notes)||void 0===o?void 0:o.length)>0?(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-6",children:null==ei?void 0:null===(s=ei.notes)||void 0===s?void 0:s.map(e=>(0,i.jsx)(a.Z,{html:e,className:"text-left text-[12px] font-[500] leading-[1.3] text-[#86868C] l:leading-none l:text-[px]"},e))}):(null==L?void 0:null===(p=L.notes)||void 0===p?void 0:p.length)>0&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-6",children:null==L?void 0:null===(y=L.notes)||void 0===y?void 0:y.map(e=>(0,i.jsx)(a.Z,{html:e,className:"text-left text-[12px] font-[500] leading-[1.3] text-[#86868C] l:leading-none l:text-[px]"},e))})]}),(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" "+(v()("relative flex flex-1 flex-col justify-between gap-[8px]",(null==Q?void 0:Q.sub_product)?"":" translate-y-[-20%] ")||""),children:[(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" w-full",children:(0,i.jsx)(f.Z,{title:null==L?void 0:L.selectTitle,list:es,curProduct:Q,setCurBundleIndex:O,curBundleIndex:K,pageHandle:B,sectionTitle:null==L?void 0:L.title,selectBoxMaxHeight:H})}),(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" w-full",children:[(0,i.jsx)(E,{totalTimeInfo:eh,data:L,defaultSelect:X,curProduct:Q,curBundleInfo:null==es?void 0:es[K],pageHandle:B,curInfo:ei}),(null==Q?void 0:Q.sub_product)&&(0,i.jsx)(I,{curProduct:Q,data:L,handleQualityChange:ec,reduceClick:ep})]}),(null==L?void 0:L.addToCart)&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" absolute bottom-0 left-0 w-full translate-y-[125%]",children:(0,i.jsx)(g.ZP,{className:"w-full",solixButton:!0,copy:L,buttons:[{text:null==L?void 0:L.addToCart,type:"addToCart",theme:"addToCart",addCartIcon:null==L?void 0:L.addToCartIcon}],products:eg,pageHandle:B,gtmParam:{itemListName:(null==L?void 0:L.title)||(null==L?void 0:L.titleGa)},squareBorder:!0,quantity:0})})]})]}),(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[50px] w-full min-l:hidden",children:[(0,i.jsx)(_,{data:L,curId:R,tabClick:ex}),(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" relative mt-[20px] h-[220px]",children:(0,i.jsx)(u.tq,{grid:{rows:2,fill:"row"},slidesPerView:3,slidesPerGroup:3,spaceBetween:8,modules:[x.rj,x.tl],pagination:{el:"#".concat(P," .my-swiper-pagination"),clickable:!0},onSwiper:e=>{et.current=e},className:"mySwiper !z-[4] mx-auto size-full",children:null==ei?void 0:null===(N=ei.params)||void 0===N?void 0:N.map((e,l)=>(0,i.jsx)(u.o5,{onClick:()=>{eu(null==e?void 0:e.id,e)},className:"!z-[4]",children:(0,i.jsx)(M,{item:e,defaultSelect:X,prefixId:"2_".concat(l)})},l+(null==e?void 0:e.title)+(null==e?void 0:e.iconSrc)+R))})}),(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" my-swiper-pagination !relative mx-auto mt-[20px]"}),(null==L?void 0:null===(k=L.notes)||void 0===k?void 0:k.length)>0&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-4",children:null==L?void 0:null===(D=L.notes)||void 0===D?void 0:D.map(e=>(0,i.jsx)(a.Z,{html:e,className:"text-left text-[12px] font-[500] leading-[1.3] text-[#86868C] l:text-[12px] l:leading-[1.3]"},e))}),(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[26px] w-full",children:(0,i.jsx)(f.Z,{title:null==L?void 0:L.selectTitle,list:es,curProduct:Q,setCurBundleIndex:O,curBundleIndex:K,pageHandle:B,sectionTitle:null==L?void 0:L.title,selectBoxMaxHeight:H})}),(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[16px] w-full",children:(0,i.jsx)(E,{curBundleInfo:null==es?void 0:es[K],totalTimeInfo:eh,data:L,defaultSelect:X,curProduct:Q,pageHandle:B,curInfo:ei})}),(null==Q?void 0:Q.sub_product)&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[16px] w-full",children:(0,i.jsx)(I,{curProduct:Q,data:L,handleQualityChange:ec,reduceClick:ep})}),(null==L?void 0:L.addToCart)&&(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[16px] w-full",children:(0,i.jsx)(g.ZP,{className:"w-full",solixButton:!0,copy:L,buttons:[{text:null==L?void 0:L.addToCart,type:"addToCart",theme:"addToCart",addCartIcon:null==L?void 0:L.addToCartIcon}],products:eg,pageHandle:B,gtmParam:{itemListName:(null==L?void 0:L.title)||(null==L?void 0:L.titleGa)},squareBorder:!0,quantity:0})}),(null==L?void 0:L.goBack)&&(null==L?void 0:L.goBackHref)&&(0,i.jsx)("a",{href:A({link:null==L?void 0:L.goBackHref}),dangerouslySetInnerHTML:{__html:null==L?void 0:L.goBack},className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" mt-[30px] cursor-pointer text-center text-[14px] font-[700] leading-[16
1px] text-black"})]})]})}),ee&&(0,i.jsx)(r.Z,{headerTitle:"",onClose:()=>el(!1),show:ee,cns:{children:"!p-0",contentBox:"rounded-tl-[10px] rounded-tr-[10px]",content:"!max-w-full"},children:(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" leading-tight",children:(0,i.jsxs)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" bg-white  p-[22px]",children:[(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" max-h-[500px] overflow-auto ",children:(0,i.jsx)("div",{className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" grid grid-cols-3 gap-[12px]",children:null==ei?void 0:null===(Z=ei.params)||void 0===Z?void 0:Z.map((e,l)=>(0,i.jsx)("div",{onClick:()=>{eu(null==e?void 0:e.id)},className:n().dynamic([["34a3e0c0de8b4925",[P,P,P,P,P]]])+" col-span-1 h-[90px]",children:(0,i.jsx)(M,{item:e,defaultSelect:X,prefixId:"3_".concat(l)})},l+(null==e?void 0:e.id)+"_2mb"))})}),(0,i.jsx)(w.Z,{squareBorder:!0,className:"mx-auto mt-[25px]",onClick:()=>{el(!1)},children:null==L?void 0:L.btnTxt})]})})})]})}var q=function(e){var l;let{data:t,pageHandle:d,id:n,selectBoxMaxHeight:r,className:u}=e,{setRelativeLink:x}=(0,C.D)(),[p,m]=(0,c.useState)(!0),{firstInfo:b={}}=t;return(0,i.jsxs)("div",{className:v()("relative z-[2] w-full",u),id:"".concat(n,"Content"),children:[b&&(0,i.jsx)("div",{className:v()("first-content layer w-full bg-[#fff] py-[140px] l:py-[80px]",p?"hidden":""),children:(0,i.jsxs)("div",{className:"content flex items-center gap-[8%] l:flex-col",children:[(0,i.jsx)("div",{className:"max-w-[50%] l:max-w-full",children:(null==b?void 0:b.list)&&(null==b?void 0:null===(l=b.list)||void 0===l?void 0:l.map((e,l)=>(0,i.jsxs)("div",{className:"mt-[80px] w-full first:mt-0 l:mt-[40px]",children:[(null==e?void 0:e.title)&&(0,i.jsx)(a.Z,{className:"text-[32px] font-[800] leading-[36px] text-black l:text-[20px] l:leading-[24px]",html:null==e?void 0:e.title}),(null==e?void 0:e.desc)&&(0,i.jsx)(a.Z,{className:v()("text-[18px] font-[600]  leading-[22px] l:text-[14px] l:leading-[16px]"," mt-[12px] text-[#86868C]"),html:null==e?void 0:e.desc}),(0,i.jsx)("div",{className:"mt-[30px] flex items-center gap-[16px] l:mt-[20px] l:gap-[12px]",children:(null==e?void 0:e.learnMore)&&(0,i.jsx)(s.default,{onClick:l=>{(null==e?void 0:e.learnMoreLink)||(l.preventDefault(),m(!0))},Component:"a",href:(null==e?void 0:e.learnMoreLink)?x({link:(null==e?void 0:e.learnMoreLink)+"?ref="+(null==t?void 0:t.ref)||d}):"",variant:"brandBorder",className:"h-[48px] !w-[150px] !min-w-[137px] l:!w-[130px] l:!min-w-[130px] ",children:null==e?void 0:e.learnMore})})]},l)))}),(0,i.jsx)(o.Z,{className:"flex-1 l:w-full",source:"".concat(null==b?void 0:b.bgSrc,", ").concat((null==b?void 0:b.bgSrcMb)||(null==b?void 0:b.bgSrc)," 768")})]})}),(0,i.jsx)(P,{data:t,pageHandle:d,className:p?"":"hidden",setShow:m,id:n,parentId:"".concat(n,"Content"),selectBoxMaxHeight:r})]})}},58770:function(e){e.exports={root:"Sidebar_root__zggoh",backdrop:"Sidebar_backdrop__FRh3o"}}}]);

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.