"use strict";exports.id=346,exports.ids=[346],exports.modules={50346:(e,s,t)=>{t.a(e,async(e,a)=>{try{t.r(s),t.d(s,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var l=t(20997),d=t(69243),r=t(30184),i=t(34483),o=t(61217),c=t(45009),n=t(18272),x=t(59003),p=t.n(x),m=t(69915),h=t(25675),u=t.n(h),g=t(16689),N=e([d,r,o,n,m]);[d,r,o,n,m]=N.then?(await N)():N;let __WEBPACK_DEFAULT_EXPORT__=()=>{let{closeModal:e}=(0,c.SO)(),[s,t]=(0,g.useState)(!1),{isOpen:a,data:{isLoading:x,popupData:h}}=(0,c.X9)(),N=(0,g.useCallback)(()=>{s?m.default.set(n.He,"true",{expires:Number(h?.popUpNotShow?.popUpExpiredIn)}):m.default.set(n.He,"true",{expires:Number(h?.popUpExpiredIn)}),e()},[s]);return l.jsx(o.Z,{closeClassName:"bg-light dark:bg-dark-250 h-10 w-10 rounded-full text-center [&>svg]:m-auto",open:a,onClose:N,children:l.jsx("div",{className:"w-full overflow-hidden text-dark dark:text-light max-w-4xl rounded-xl bg-light dark:bg-dark-250",children:x?l.jsx("div",{className:"p-6 md:p-12",children:l.jsx(i.ZP,{className:"!h-auto"})}):(0,l.jsxs)("div",{className:"grid grid-cols-2 items-center",children:[(0,l.jsxs)("div",{className:"md:col-span-1 order-2 md:order-1 col-span-full p-6 md:p-12",children:[h?.title?l.jsx("h2",{className:"text-3xl font-bold mb-4",children:h?.title}):"",h?.description?l.jsx("p",{className:"text-lg text-dark/70 dark:text-light/70 leading-[150%]",children:h?.description}):"",l.jsx("div",{className:"mt-10",children:l.jsx(d.Z,{})}),h?.isPopUpNotShow?l.jsx("div",{className:"mt-12",children:l.jsx(r.Z,{name:"not_show_again",label:h?.popUpNotShow?.title,onChange:()=>t(!s),checked:s,className:"justify-normal"})}):""]}),l.jsx("div",{className:p()("md:col-span-1 order-1 relative md:order-2 col-span-full bg-gray-50 dark:bg-dark-250 h-72 md:h-[28.125rem]"),children:l.jsx(u(),{src:h?.image?.original,alt:h?.title,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,quality:100,style:{objectFit:"contain"}})})]})})})};a()}catch(e){a(e)}})}};