1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5767,8398],{7350:(e,s,a)=>{a.d(s,{default:()=>o});var t=a(95155),i=a(12115),r=a(65739),l=a(61665),n=a(73321),c=a(18895),m=a(72733);let d=(0,a(37206).default)(()=>Promise.resolve().then(a.bind(a,45689)),{loadableGenerated:{webpack:()=>[45689]},ssr:!1}),o=({buttonClasses:e})=>{let[s,a]=(0,i.useState)(!1),o=(0,l.useTranslations)(),h=(0,n.usePathname)(),x=(0,c.d)(1099),p=(0,l.useLocale)(),g=(0,n.useRouter)();return h.includes("my-membership")?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Ay,{className:`shrink-0 w-max px-[30px] ${e}`,variant:"primary",size:"xl",rightIcon:{src:"/icons/logo-small-white.svg",alt:"monogram",height:20,width:20},onClick:()=>{x?g.push(m.Ay.take_membership(p)):a(!0)},children:o("nav.free-trial")}),s?(0,t.jsx)(d,{open:s,onRequestClose:()=>a(!1)}):null]})}},8231:(e,s,a)=>{a.d(s,{default:()=>d});var t=a(95155),i=a(12115),r=a(61665),l=a(74903),n=a(3427),c=a(80953);let m=({value:e,min:s,max:a,step:i=1,onChange:r})=>{let l=(e-s)/(a-s)*100;return(0,t.jsxs)("div",{className:"relative h-5",children:[(0,t.jsx)("div",{className:"absolute inset-x-0 top-1/2 -translate-y-1/2 h-1.5 rounded-full bg-grey6"}),(0,t.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2 h-1.5 rounded-full bg-membership1",style:{width:`${l}%`}}),(0,t.jsx)("input",{type:"range",min:s,max:a,step:i,value:e,onChange:e=>r(Number(e.target.value)),className:"relative w-full h-5 m-0 appearance-none bg-transparent cursor-pointer [&::-webkit-slider-runnable-track]:appearance-none [&::-webkit-slider-runnable-track]:bg-transparent [&::-moz-range-track]:appearance-none [&::-moz-range-track]:bg-transparent [&::-moz-range-track]:border-none [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-charcoal [&::-webkit-slider-thumb]:shadow-md [&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:transition-transform [&::-webkit-slider-thumb:hover]:scale-125 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-charcoal [&::-moz-range-thumb]:border-none [&::-moz-range-thumb]:shadow-md [&::-moz-range-thumb]:cursor-pointer [&::-moz-range-thumb]:transition-transform [&::-moz-range-thumb:hover]:scale-125"})]})},d=({renderCta:e,referral:s})=>{let a=(0,r.useTranslations)(),[d,o]=(0,i.useState)(4),[h,x]=(0,i.useState)(80),p=(0,i.useRef)({orders:4,avgBasket:80}
1),g=(0,l._6)((0,i.useCallback)(()=>{let{orders:e,avgBasket:s}=p.current,a=`orders:${e},basket:${s}`;(0,c.M)("membership","use_savings_calculator",a)},[]),1e3),{yearlyPrice:u,referralYearlyPrice:b,averageSavingsPercent:f}=n.HV,j=s?b:u,v=f/100*h,w=Math.round(d*v),N=Math.round(w-j),L=Math.min(Math.max(Math.ceil(j/v),1),12);return(0,t.jsx)("section",{className:"bg-tint-12",children:(0,t.jsxs)("div",{className:"container py-10 min-sm:py-16",children:[(0,t.jsxs)("div",{className:"text-center mx-auto",children:[(0,t.jsx)("h2",{className:"text-heading-30 min-sm:text-heading-42 font-faro",children:a("membership.savings-calculator.title")}),(0,t.jsx)("p",{className:"mt-4 text-body-15 min-sm:text-body-17 font-light text-charcoal/70 max-w-[520px] mx-auto",children:a("membership.savings-calculator.subtitle")})]}),(0,t.jsx)("div",{className:"pt-8 min-sm:pt-10",children:(0,t.jsxs)("div",{className:"max-w-[1000px] mx-auto rounded-2xl shadow overflow-hidden flex min-md:flex-row flex-col",children:[(0,t.jsxs)("div",{className:"bg-white p-6 min-sm:p-9 min-md:w-3/5",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2 mb-3",children:[(0,t.jsx)("span",{className:"font-medium text-body-15 min-sm:text-body-17",children:a("membership.savings-calculator.orders-label")}),(0,t.jsx)("span",{className:"font-faro text-heading-30 text-membership1",children:d})]}),(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)(m,{value:d,min:1,max:12,onChange:e=>{o(e),p.current.orders=e,g()}}),(0,t.jsxs)("div",{className:"justify-between text-body-13 text-charcoal/50 mt-2 hidden min-md:flex",children:[(0,t.jsx)("span",{children:a("membership.savings-calculator.orders-min")}),(0,t.jsx)("span",{children:a("membership.savings-calculator.orders-max",{count:12})})]})]}),(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2 mb-3",children:[(0,t.jsx)("span",{className:"font-medium text-body-15 min-sm:text-body-17",children:a("membership.savings-calculator.basket-label")}),(0,t.jsxs)("span",{className:"font-faro text-heading-30 text-membership1 shrink-0",children:[h," â¬"]})]}),(0,t.jsx)(m,{value:h,min:40,max:200,step:5,onChange:e=>{x(e),p.current.avgBasket=e,g()}}),(0,t.jsxs)("div",{className:"hidden min-md:flex justify-between text-body-13 text-charcoal/50 mt-2",children:[(0,t.jsxs)("span",{children:[40," â¬"]}),(0,t.jsxs)("span",{children:[200," â¬"]})]}),(0,t.jsxs)("div",{className:"border-t border-grey6 min-md:mt-8 min-md:pt-8 mt-4 pt-4",children:[(0,t.jsx)("span",{className:"text-body-15 font-medium",children:a("membership.savings-calculator.breakeven-label",{order:L})}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mt-4",children:Array.from({length:12},(e,s)=>s+1).map(e=>(0,t.jsx)("div",{className:`w-7.5 h-7.5 rounded-full flex-center text-xs font-medium ${e<L?"bg-membership1 text-white":e===L?"bg-generic-dark text-charcoal shadow-[rgba(255,186,53,0.35)_0px_0px_0px_3px]":"bg-sant5 text-charcoal/40"}`,children:e},e))})]})]}),(0,t.jsxs)("div",{className:"bg-membership2 text-white p-6 min-sm:p-9 flex flex-col justify-center min-md:w-2/5",children:[(0,t.jsx)("span",{className:"text-body-15 text-white/70 font-light",children:a("membership.savings-calculator.yearly-savings-label")}),(0,t.jsxs)("div",{className:"font-faro min-md:text-heading-60 text-heading-42 mt-2",children:[w," â¬"]}),(0,t.jsx)("hr",{className:"border-white/20 min-md:my-6 my-4"}),N>=0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-body-15 text-white/70 font-light",children:a("membership.savings-calculator.net-gain-label",{price:j})}),(0,t.jsxs)("div",{className:"font-faro min-md:text-heading-30 text-heading-24 mt-1",children:[`+${N}`," â¬"]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-body-15 text-white/70 font-light",children:a("membership.savings-calculator.deficit-hint")}),(0,t.jsx)("p",{className:"font-faro text-heading-24 mt-3",children:a.rich("membership.savings-calculator.deficit-label",{highlight:e=>(0,t.jsx)("span",{className:"text-generic-dark",children:e}),amount:Math.abs(N)})})]}),(0,t.jsx)("p",{className:"text-body-13 text-white/50 font-light mt-6",children:a("membership.savings-calculator.footnote",{percent:f})})]})]})}),e&&(0,t.jsx)("div",{className:"flex-center mt-8",children:(0,t.jsx)("div",{className:"max-w-[360px] w-full",children:e})})]})})}},12969:(e,s,a)=>{a.d(s,{A:()=>r});var t=a(95155);a(12115);var i=a(50003);let r=({card:e,imageClasses:s,titleClasses:a})=>{let{url:r,title:l,image:n}=e;return(0,t.jsxs)(i.default,{href:`https://www.kazidomi.com${r}`,className:"block relative group/menu-card",children:[l?(0,t.jsx)("h4",{className:`text-heading-30 font-faro sm:text-heading-24 ${a}`,children:l}):null,n?(0,t.jsx)("picture",{className:`block pb-[40%] rounded overflow-hidden relative ${s}`,children:(0,t.jsx)("img",{className:"object-cover w-full h-full absolute top-0 group-hover/menu-card:scale-125 transition-bounce",src:n,alt:l})}):null]})}},18777:(e,s,a)=>{a.d(s,{default:()=>m});var t=a(95155);a(12115);var i=a(61665),r=a(40738),l=a(48407),n=a(48178),c=a(53206);let m=({layout:e})=>{let s=(0,i.useTranslations)(),{user:a}=(0,l.Jd)();return((0,i.useLocale)(),a.isMember)?null:(0,t.jsx)("div",{className:`free-trial-wrapper ${"col"===e?"mx-auto":""}`,children:(0,t.jsxs)("div",{className:"free-trial",children:[(0,t.jsxs)("div",{className:"free-trial__top-bar",children:[(0,t.jsx)("div",{className:"free-trial__icon",children:(0,t.jsx)("img",{src:(0,n.yY)("/logo/k-plus-logo.svg","mxw_53"),alt:"Kazidomi",width:53,height:34,loading:"lazy"})}),(0,t.jsx)("span",{className:"text-heading-24 font-faro block",children:s("component.free-trial.free-trial-membership")})]}),(0,t.jsxs)("div",{className:"free-trial__content",children:[(0,t.jsx)("span",{className:"block text-heading-36 mb-spacing-3 header:text-heading-24 font-faro text-center",children:s("component.free-trial.savings")}),(0,t.jsxs)("div",{className:`free-trial__details gap-spacing-2 items-center flex ${"col"===e?"max-w-[340px] mx-auto flex-col":"flex-row"}`,children:[(0,t.jsxs)("div",{className:"free-trial__price",children:[(0,t.jsx)("span",{className:"text-body-13 font-medium text-center",children:s("component.free-trial.annual-price")}),(0,t.jsx)("strong",{className:"text-heading-30 font-faro text-center",children:s("component.free-trial.price-label")}),(0,t.jsx)("div",{className:"free-trial__price-ribbon text-body-15 font-medium",children:s("component.free-trial.30-days")})]}),(0,t.jsxs)("div",{className:"free-trial__advantages",children:[(0,t.jsx)("span",{className:"text-body-15 font-medium free-trial__advantages-title",children:s("component.free-trial.signup")}),(0,t.jsx)(r.A,{itemClasses:"mb-spacing-1"})]})]}),(0,t.jsx)("div",{className:"mt-spacing-4 flex-center",children:(0,t.jsx)(c.NW,{})})]})]})})}},20632:(e,s,a)=>{a.r(s),a.d(s,{default:()=>l});var t=a(95155);a(12115);var i=a(49168),r=a(89864);let l=({children:e,classes:s,components:a})=>(0,t.jsx)(i.oz,{components:a,className:`${s} wmde-markdown`,skipHtml:!1,rehypePlugins:[r.A],children:e})},27978:(e,s,a)=>{a.d(s,{kl:()=>r,y1:()=>m,Ay:()=>d});var t=a(95155);function i({size:e,color:s}){return(0,t.jsx)("svg",{width:e||14,height:e||13,viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.75 1.30902L8.02771 5.24139L8.08383 5.41413H8.26547H12.4002L9.05514 7.84448L8.90819 7.95124L8.96432 8.12398L10.242 12.0564L6.89695 9.62602L6.75 9.51925L6.60305 9.62602L3.25798 12.0564L4.53568 8.12398L4.59181 7.95124L4.44487 7.84448L1.09979 5.41413H5.23453H5.41617L5.47229 5.24139L6.75 1.30902Z",stroke:`${s||"#0F0F0F"}`,strokeWidth:"0.5"})})}function r({size:e,color:s}
1){return(0,t.jsx)("svg",{className:"shrink-0",width:e||"14",height:e||"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M7.25 1.30902L8.52771 5.24139L8.58383 5.41413H8.76547H12.9002L9.55514 7.84448L9.40819 7.95124L9.46432 8.12398L10.742 12.0564L7.39695 9.62602L7.25 9.51925L7.10305 9.62602L3.75798 12.0564L5.03568 8.12398L5.09181 7.95124L4.94487 7.84448L1.59979 5.41413H5.73453H5.91617L5.97229 5.24139L7.25 1.30902Z",fill:`${s||"#0F0F0F"}`,stroke:`${s||"#0F0F0F"}`,strokeWidth:"0.5"})})}function l({size:e,color:s}){return(0,t.jsxs)("svg",{width:e||"14",height:e||"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_2_2)",children:[(0,t.jsx)("path",{d:"M7.65021 1L8.92792 4.93237L8.98404 5.10511H9.16568H13.3004L9.95535 7.53546L9.8084 7.64222L9.86453 7.81496L11.1422 11.7474L7.79716 9.317L7.65021 9.21023L7.50326 9.317L4.15819 11.7474L5.43589 7.81496L5.49202 7.64222L5.34508 7.53546L2 5.10511H6.13474H6.31638L6.3725 4.93237L7.65021 1Z",stroke:`${s||"#0F0F0F"}`,strokeWidth:"0.5"}),(0,t.jsx)("path",{d:"M6.5 5.00001C6.5 5.00001 7.2254 2.3335 7.64218 1.12448V9.21915L7.35305 9.31701L4.5 11.5L5.5 8.00001L5.5 7.50001L5 7.00001L2 5.00001H5.5H6H6.5Z",fill:`${s||"#0F0F0F"}`})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2_2",children:(0,t.jsx)("rect",{width:"14",height:"13",fill:"white"})})})]})}function n({size:e,color:s}){return(0,t.jsxs)("svg",{width:e||"14",height:e||"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_2_13)",children:[(0,t.jsx)("path",{d:"M7.65021 1L8.92792 4.93237L8.98404 5.10511H9.16568H13.3004L9.95535 7.53546L9.8084 7.64222L9.86453 7.81496L11.1422 11.7474L7.79716 9.317L7.65021 9.21023L7.50326 9.317L4.15819 11.7474L5.43589 7.81496L5.49202 7.64222L5.34508 7.53546L2 5.10511H6.13474H6.31638L6.3725 4.93237L7.65021 1Z",stroke:`${s||"#0F0F0F"}`,strokeWidth:"0.5"}),(0,t.jsx)("path",{d:"M6.67504 4.43182L6.28518 5.00001H2L5 7.00001L5.5 7.50001V8.00001L4.5 11.5L6.67504 9.63757V4.43182Z",fill:`${s||"#0F0F0F"}`})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2_13",children:(0,t.jsx)("rect",{width:"14",height:"13",fill:"white"})})})]})}function c({size:e,color:s}){return(0,t.jsxs)("svg",{width:e||"14",height:e||"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_2_2)",children:[(0,t.jsx)("path",{d:"M7.65021 1L8.92792 4.93237L8.98404 5.10511H9.16568H13.3004L9.95535 7.53546L9.8084 7.64222L9.86453 7.81496L11.1422 11.7474L7.79716 9.317L7.65021 9.21023L7.50326 9.317L4.15819 11.7474L5.43589 7.81496L5.49202 7.64222L5.34508 7.53546L2 5.10511H6.13474H6.31638L6.3725 4.93237L7.65021 1Z",stroke:`${s||"#0F0F0F"}`,strokeWidth:"0.5"}),(0,t.jsx)("path",{d:"M8.89532 4.72995V5.23447V10.0504L7.35304 9.31701L4.49999 11.5L5.5 8.00001L5.49999 7.50001L5 7.00001L2 5.00001H6.28097L7.67988 1.40469L8.89532 4.72995Z",fill:`${s||"#0F0F0F"}`})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2_2",children:(0,t.jsx)("rect",{width:"14",height:"13",fill:"white"})})})]})}a(12115);let m=({value:e,registerProps:s,setSelectedRating:a,selectedRating:l,id:n})=>(0,t.jsxs)("div",{className:`rating-input ${0===e?"hidden":""}`,children:[(0,t.jsx)("input",{checked:e===l,className:"hidden",id:`rating-${e}-${n}`,type:"radio",name:"rating",value:e,onInput:()=>a(e),onClick:s=>void(l===e?a(0):a(e)),...s}),(0,t.jsx)("label",{htmlFor:`rating-${e}-${n}`,className:"cursor-pointer",children:e<=l?(0,t.jsx)(r,{size:28}):(0,t.jsx)(i,{size:28})})]}),d=({rating:e,reviewCounter:s,dataKey:a,size:m,color:d})=>(0,t.jsxs)("div",{className:"rating flex items-center",children:[[1,2,3,4,5].map(s=>e>=s?(0,t.jsx)(r,{color:d,size:m},`full-star-${a}-${s}`):e<=s-.75?(0,t.jsx)(i,{color:d,size:m},`empty-star-${a}-${s}-empty`):e<=s-.5?(0,t.jsx)(n,{color:d,size:m},`one-quarter-star-${a}-${s}-quarter`):e<=s-.25?(0,t.jsx)(l,{color:d,size:m},`half-star-${a}-${s}-half`):(0,t.jsx)(c,{color:d,size:m},`three-quarter-star-${a}-${s}-three-quarter`)),s?(0,t.jsxs)("span",{className:"text-[11px] font-light ml-spacing-05",children:["(",s,")"]}):null]})},31674:(e,s,a)=>{a.d(s,{default:()=>o});var t=a(95155);a(12115);var i=a(61665),r=a(48407);let l=()=>{let e=(0,i.useTranslations)(),{user:s}=(0,r.Jd)();return s.wasMember&&!s.isMember?(0,t.jsxs)("div",{className:"mb-spacing-4",children:[(0,t.jsx)("span",{className:"text-heading-30 font-faro mb-spacing-1 block",children:e("checkout_membership.heading-with-price.renew")}),(0,t.jsx)("span",{className:"text-heading-18 font-medium block",children:e("checkout_membership.heading-with-price.full-price")})]}):s.isMember||s.wasMember?s.isMember?(0,t.jsx)("div",{className:"mb-spacing-4",children:(0,t.jsx)("span",{className:"text-heading-30 font-faro mb-spacing-1 block",children:e("checkout_membership.heading-with-price.already-member")})}):void 0:(0,t.jsxs)("div",{className:"mb-spacing-4",children:[(0,t.jsx)("span",{className:"text-heading-30 font-faro mb-spacing-1 block",children:e("checkout_membership.heading-with-price.first")}),(0,t.jsx)("span",{className:"text-heading-18 font-medium block mb-spacing-1",children:e("checkout_membership.heading-with-price.reduced-price")}),(0,t.jsx)("p",{className:"text-body-13 leading-none font-light",children:e("checkout_membership.heading-with-price.futur-full-price")})]})};
1var n=a(54684),c=a(85924),m=a(65739),d=a(72733);let o=({open:e,onRequestClose:s})=>{let a=(0,i.useLocale)(),r=(0,i.useTranslations)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"text-heading-36 font-faro mb-spacing-4 relative z-[1]",children:r("my_membership.title")}),(0,t.jsx)(l,{}),(0,t.jsx)(n.c,{itemClasses:"mb-spacing-1"}),(0,t.jsx)(m.Ay,{variant:"outline",className:"!bg-white !border-charcoal hover:!bg-tint-24 hover:!border-charcoal w-fit mb-auto mt-spacing-2 md:mb-spacing-4",link:d.Ay.kazidomi_membership(a),title:r("checkout_membership.know-more"),children:r("checkout_membership.know-more")}),(0,t.jsx)(c.A,{componentClasses:"w-fit flex mt-spacing-4 flex-col",starProps:{color:"#ffc85f",size:40},starsClasses:"mb-[12px] order-1 mx-0",wordClasses:"font-faro text-heading-30 order-2 mb-spacing-1",countClasses:"text-left order-3 text-body-17 font-light m-0 mb-spacing-2",logoClasses:"order-4 bg-[transparent] p-0"})]})}},38398:(e,s,a)=>{a.r(s),a.d(s,{default:()=>t});let t=a(20632).default},40738:(e,s,a)=>{a.d(s,{A:()=>l});var t=a(95155);a(12115);var i=a(61665),r=a(48178);let l=({propsItems:e,listClasses:s,itemClasses:a})=>{let l=(0,i.useTranslations)(),n=[{img:(0,r.yY)("/icons/membership/discount.svg","mxw_52"),label:l("homepage-new.membership-advantages.text1")},{img:(0,r.yY)("/icons/membership/promo.svg","mxw_52"),label:l("homepage-new.membership-advantages.text5")},{img:(0,r.yY)("/icons/membership/verified.svg","mxw_52"),label:l("homepage-new.membership-advantages.text8")}];return(0,t.jsx)("ul",{className:`membership-advantages-root ${s}`,children:(e||n).map((e,s)=>(0,t.jsxs)("li",{className:`${a} flex gap-spacing-2 items-center`,id:`advantage-${s}`,children:[(0,t.jsx)("img",{src:e.img,alt:e.img,width:52,height:52,loading:"lazy",className:"shrink-0"}),(0,t.jsx)("span",{className:"text-body-15 font-light",children:e.label})]},s))})}},45689:(e,s,a)=>{a.r(s),a.d(s,{default:()=>c});var t=a(95155);a(12115);var i=a(3890),r=a(88294),l=a(31674),n=a(36651);let c=({open:e,onRequestClose:s})=>(0,t.jsx)(i.default,{classes:"membership-modal-root group h-[initial] !py-spacing-9 px-spacing-6 min-product-grid-lg:!max-w-[1024px] !bg-dark-taupe lg:px-spacing-2 md:!p-0 md:!max-w-full md:!w-full",parentClasses:"px-0 min-md:overflow-y-scroll min-md:!items-start md:!p-0 md:!items-stretch md:!pt-spacing-12",isOpen:e,onClose:s,children:(0,t.jsx)(n.default,{name:"Membership",fallback:null,children:(0,t.jsx)(r.default,{onClose:s,open:e,children:(0,t.jsx)(l.default,{})})})})},53206:(e,s,a)=>{a.d(s,{NW:()=>r.default,oA:()=>l.default,DL:()=>i.default,Ay:()=>t.default});var t=a(88294);a(45689);var i=a(18777),r=a(7350),l=a(31674);a(58233),a(95155),a(12115),a(65739),a(72733),a(3427),a(78512),a(8231)},54684:(e,s,a)=>{a.d(s,{c:()=>t.A});var t=a(40738)},58233:(e,s,a)=>{a.d(s,{default:()=>x});var t=a(95155),i=a(12115),r=a(48407),l=a(61665),n=a(53206),c=a(74903),m=a(70508),d=a(51619),o=a(67479),h=a(48178);let x=()=>{let{isMembershipExpired:e,user:s}=(0,r.Jd)(),a=(0,l.useTranslations)(),[x,p]=(0,c.Fo)("membership-expired",!1),g=(0,i.useRef)(0),{cart:u}=(0,o.useCartStore)(e=>e.cart),b=!e()||x;return((0,i.useEffect)(()=>{if(!b&&0===g.current){let e={event:"viewPopupChurn",ecommerce:(0,m.jV)(u)};(0,d.sendGTMEvent)(e),g.current=1}},[s]),b)?null:(0,t.jsx)("div",{className:"container my-[20px] min-xs:my-spacing-4",children:(0,t.jsxs)("div",{className:"rounded-lg bg-tint-12 p-spacing-4 relative text-center",children:[(0,t.jsx)("button",{type:"button",className:"absolute top-spacing-1 right-spacing-1 h-spacing-4 w-spacing-4 flex-center",onClick:()=>{p(!0)},children:(0,t.jsx)("img",{src:(0,h.yY)("/icons/cross-icon.svg","mxw_16"),alt:"Delete",width:16,height:16,loading:"lazy"})}),(0,t.jsx)("span",{className:"text-heading-24 min-md:text-heading-42 mb-spacing-2 block font-faro",children:a("membership.membership-expired.title")}),(0,t.jsx)("p",{className:"text-body-15 min-md:text-body-21 mb-spacing-2 block",children:a("membership.membership-expired.text")}),(0,t.jsx)(n.NW,{})]})})}},80953:(e,s,a)=>{a.d(s,{M:()=>t});function t(e,s,a=null){dataLayer.push({category:e,action:s,label:a,event:"event_ga"})}},85924:(e,s,a)=>{a.d(s,{A:()=>d});var t=a(95155),i=a(12115),r=a(9339);let l=(0,r.createServerReference)("006d593809f9373585f14fe34e986f2697ab26a7f5",r.callServer,void 0,r.findSourceMapURL,"fetchCompanyRating");var n=a(27978),c=a(61665),m=a(48178);let d=({starProps:e,componentClasses:s,wordClasses:a,starsClasses:r,logoClasses:d,countClasses:o})=>{let[h,x]=(0,i.useState)(),p=(0,c.useTranslations)();return(0,i.useEffect)(()=>
1{l().then(e=>x(e))},[]),(0,t.jsx)(t.Fragment,{children:h?(0,t.jsxs)("a",{href:"https://www.reviews.io/company-reviews/store/kazidomi",title:p("reviews.check-on-reviews"),target:"_blank",rel:"noreferrer",className:s,children:[(0,t.jsx)("strong",{className:`text-body-19 ${a}`,children:h.word}),(0,t.jsx)("div",{className:`flex gap-spacing-05 ${r}`,children:[...Array(Math.ceil(h.stats.average_rating))].map((s,a)=>(0,t.jsx)(n.kl,{color:e?e.color:"#000000",size:e?e.size:30},`star-${a}-csr-company-rating`))}),(0,t.jsx)("img",{src:(0,m.yY)("/logo/reviews-logo.svg","mxw_96"),width:96,height:15,alt:"Reviews.io",loading:"lazy",className:d}),(0,t.jsxs)("span",{className:o,children:[h.stats.average_rating," | "," ",h.stats.total_reviews," reviews"]})]}):null})}},88294:(e,s,a)=>{a.d(s,{default:()=>w});var t=a(95155),i=a(12115),r=a(61665),l=a(36467),n=a(53026),c=a(13455);async function m(e,s){if(!["fr","nl","en"].includes(e))return{};let a=await c.Ay.get(`/menu/${e}/${s}`);return 200===a.status?a.data:{}}var d=a(87979),o=a(12969),h=a(51619),x=a(48407),p=a(70508);function g(){let[e,s]=(0,i.useState)(),[a,l]=(0,i.useState)(!0);(0,x.Jd)();let n=(0,r.useTranslations)(),c=(0,i.useRef)(0),g=(0,r.useLocale)();if(0===c.current){let e=(0,p.$$)("membership_confirmed");(0,h.sendGTMEvent)(e),c.current=1}return(0,i.useEffect)(()=>{m(g,"menu-membership-confirmation").then(e=>{s(e),l(!1)})},[]),(0,t.jsx)("div",{className:"h-full",children:(0,t.jsxs)("div",{className:"h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"mb-spacing-3",children:[(0,t.jsx)("span",{className:"text-heading-30 font-faro mb-spacing-1 block",children:n("checkout_membership.welcome")}),(0,t.jsx)("span",{className:"text-body-17 font-medium",children:n("checkout_membership.enjoy")})]}),a?(0,t.jsx)(d.Q0,{classes:"flex-center flex-col gap-spacing-1 w-full h-full text-center",message:n("checkout_membership.loading_advantages")}):(0,t.jsx)("ul",{className:"flex flex-col gap-spacing-3",children:e&&e.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(o.A,{card:e,titleClasses:"!text-body-21 !mb-spacing-1"})},e.title))})]})})}let u=({step:e,setStep:s,open:a})=>{let i=(0,r.useTranslations)(),{user:c,isGuest:m}=(0,x.Jd)();return m()?(0,t.jsxs)("div",{className:"p-spacing-4 membership-wrapper",children:[(0,t.jsx)("h3",{className:"text-heading-30 font-faro mb-spacing-4",children:i("checkout_membership.start_free_trial")}),(0,t.jsx)(l.A,{})]}):c.isMember||"congrats"===e?(0,t.jsx)("div",{className:"p-spacing-4 membership-wrapper",children:(0,t.jsx)(g,{})}):(0,t.jsx)("div",{className:"p-spacing-4 membership-wrapper",children:(0,t.jsx)(n.A,{})})};var b=a(65739),f=a(73321),j=a(48178);let v="congrats",w=({onClose:e,open:s,children:a})=>{let l=(0,f.useSearchParams)().get("congrats"),[n,c]=(0,i.useState)(null===l?"auth":v),m=(0,r.useTranslations)(),{user:d,isGuest:o,isMember:g}=(0,x.Jd)(),w=(0,i.useRef)(0);if(0===w.current){let e=(0,p.$$)("start");(0,h.sendGTMEvent)(e),w.current=1}return(0,i.useEffect)(()=>{o()||null!==l||(d?.isMember?c(v):c("payment"))},[d,l]),(0,t.jsxs)("div",{className:"md:h-full membership-root",children:[(0,t.jsxs)("div",{className:"bg-white items-center py-spacing-1 px-spacing-2 rounded-t-lg hidden md:flex justify-between",children:[(0,t.jsxs)("div",{className:"flex gap-spacing-1 items-center max-w-[300px]",children:[(0,t.jsx)("img",{src:(0,j.yY)("/icons/membership/guaranted_saving.svg","mxw_52"),alt:m("homepage-new.membership-advantages.text9"),width:52,height:52,loading:"lazy"}),(0,t.jsx)("span",{className:"text-body-15 font-medium leading-tight",children:m("homepage-new.membership-advantages.text9")})]}),e?(0,t.jsx)(b.Jn,{onClick:e}):null]}),(0,t.jsx)("div",{className:"md:overflow-y-auto md:h-[calc(100%-64px)]",children:(0,t.jsxs)("div",{className:"flex gap-spacing-4 justify-between product-grid-lg:flex-col-reverse md:flex-col-reverse group-[.membership-modal-root]:md:pt-spacing-2 group-[.membership-modal-root]:md:pb-spacing-7 group-[.membership-modal-root]:md:px-spacing-2",children:[(0,t.jsx)("div",{className:"flex flex-col max-w-[440px]",children:a}),(0,t.jsx)("div",{className:"min-product-grid-lg:mx-auto",children:(0,t.jsxs)("div",{className:"w-full min-product-grid-lg:max-w-[512px] min-product-grid-lg:min-w-[400px] bg-white rounded shadow-[0_9px_36px_rgba(0,0,0,.05),4px_4px_12px_-1px_rgba(0,0,0,.2),-2px_-2px_7px_-4px_hsla(0,0%,100%,.35)] md:!max-w-full",children:[(0,t.jsx)("div",{className:"w-full bg-tint-12 flex-center rounded-t p-[12px]",children:(0,t.jsx)("span",{className:"text-body-13 leading-none text-center",children:m("checkout_membership.risk_free")})}),(0,t.jsx)(u,{step:n,open:s,user:d})]})})]})})]})}}}]);
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.