1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4791],{10055:function(e,t,r){r.d(t,{E:function(){return a}});var n=r(85893);r(11163);var s=r(82417),i=r(18974);let a=e=>{let{t}=(0,i.LD)("skin_routine");return(0,n.jsxs)("div",{className:"mb-10 flex flex-shrink-0 items-center justify-center space-x-4 px-4",children:[(0,n.jsx)(s.zx,{type:"button",variant:"outline",className:"w-32 md:w-52",onClick:e.goToPreviousStep,children:t("back_button","Back")}),(0,n.jsx)(s.zx,{type:"submit",variant:"primary",className:"w-32 md:w-52",children:t("continue_button","Continue")})]})}},5384:function(e,t,r){r.d(t,{q:function(){return u}});var n=r(85893),s=r(41664),i=r.n(s),a=r(18497),o=r(82417),c=r(68894),l=r(48755),d=r(18974);let u=e=>{let{className:t,notSticky:r,progressBar:s,skipAction:u,isSkipVisible:h}=e,{t:m}=(0,d.LD)("skin_routine");return(0,n.jsxs)("header",{className:(0,l.cn)("left-0 top-0 z-20 grid w-screen grid-cols-2 flex-row flex-wrap p-4 md:flex md:h-[90px] md:items-center md:justify-between md:p-6","bg-background",!c.gs&&"bg-bg-cz",!r&&"sticky",t),children:[(0,n.jsx)(i(),{href:"/",className:"col-span-1 flex items-center",children:(0,n.jsx)(a._,{})}),(0,n.jsx)("div",{className:"order-3 col-span-2 mt-6 flex grow items-center justify-center md:order-2 md:mt-0",children:s}),(0,n.jsx)("div",{className:"order-2 col-span-1 flex items-center justify-end gap-4 md:order-3",children:(0,n.jsx)(o.zx,{onClick:u,className:(0,l.cn)("h-8 w-24 text-sm text-forest-green-500 md:h-10",!h&&"invisible"),variant:"outline",children:m("skip_button","Skip")})})]})}},60665:function(e,t,r){r.d(t,{k:function(){return d}});var n,s=r(85893),i=r(67294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var o=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:10,height:10,fill:"none",viewBox:"0 0 10 10"},e),n||(n=i.createElement("path",{fill:"#F8F1F1",d:"m5 0 1.131 3.869L10 5 6.131 6.131 5 10 3.869 6.131 0 5l3.869-1.131z"})))},c=r(48755);let l=e=>{let{status:t}=e;return(0,s.jsx)("div",{className:(0,c.cn)("-mt-[5px] ml-0 mr-0 size-2 rounded-full ring-2 ring-primary-500 ring-offset-2","active"===t&&"bg-primary-500","inactive"===t&&"bg-background","completed"===t&&"bg-primary-500 ring-offset-0"),children:"completed"===t&&(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)(o,{})})})},d=e=>{let{numberOfSteps:t,currentStepIndex:r}=e,n=Array.from({length:t},(e,t)=>t);return(0,s.jsx)("ol",{className:"flex w-full items-center justify-between border-t-2 border-primary-500 md:max-w-sm",children:n.map((e,t)=>{let n=u(r,t);return(0,s.jsx)("li",{className:"flex-start flex items-center md:block md:pt-0",children:(0,s.jsx)(l,{status:n})},t)})})},u=(e,t)=>e>t?"completed":e===t?"active":"inactive"},10996:function(e,t,r){r.d(t,{NI:function(){return w},Wi:function(){return m},YV:function(){return g},l0:function(){return u},lX:function(){return p},xJ:function(){return x},zG:function(){return k}});var n=r(85893),s=r(88426),i=r(28154),a=r(67294),o=r(87536),c=r(70428),l=r(48755),d=r(2809);let u=o.RV,h=(0,a.createContext)({}),m=e=>{let{...t}=e;return(0,n.jsx)(h.Provider,{value:{name:t.name},children:(0,n.jsx)(o.Qr,{...t})})},g=()=>{let e=(0,a.useContext)(h),t=(0,a.useContext)(f),{getFieldState:r,formState:n}=(0,o.Gc)(),s=r(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:i}=t;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...s}},f=(0,a.createContext)({}),x=(0,a.forwardRef)((e,t)=>{let{className:r,...s}=e,i=(0,a.useId)();return(0,n.jsx)(f.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("w-full space-y-2",r),...s})})});x.displayName="FormItem";let p=(0,a.forwardRef)((e,t)=>{let{className:r,...s}=e,{error:i,formItemId:a}=g();return(0,n.jsx)(c._,{ref:t,className:(0,l.cn)(i&&"text-destructive",r),htmlFor:a,...s})});p.displayName="FormLabel";let w=(0,a.forwardRef)((e,t)=>{let{...r}=e,{error:i,formItemId:a,formDescriptionId:o,formMessageId:c}=g();return(0,n.jsx)(s.g7,{ref:t,id:a,"aria-describedby":i?"".concat(o," ").concat(c):"".concat(o),"aria-invalid":!!i,...r})});w.displayName="FormControl",(0,a.forwardRef)((e,t)=>{let{className:r,...s}=e,{formDescriptionId:i}=g();return(0,n.jsx)("p",{ref:t,id:i,className:(0,l.cn)("text-muted-foreground text-sm",r),...s})}).displayName="FormDescription";let k=(0,a.forwardRef)((e,t)=>{let{className:r,textClassName:s,...a}=e,{error:o}=g(),c=null==o?void 0:o.types,u=c?Object.values(c).flat().filter(d.C_):[];return 0===u.length?(null==o?void 0:o.message)==null?null:(0,n.jsx)("div",{className:(0,l.cn)("flex items-center justify-center gap-2",r),children:(0,n.jsx)("p",{className:(0,l.cn)("text-sm text-red-500",s),children:o.message})}):(0,n.jsx)("ul",{className:(0,l.cn)("flex flex-col gap-2",r),...a,ref:t,children:u.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(i.Z,{size:"1rem",className:(0,l.cn)("text-red-500",s)}),(0,n.jsx)("p",{className:(0,l.cn)("text-sm text-red-500",s),children:e})]})},"".concat(e.toString(),"_").concat(t)))})});k.displayName="FormMessage"},70428:function(e,t,r){r.d(t,{_:function(){return l}});var n=r(85893),s=r(49102),i=r(45139),a=r(67294),o=r(48755);let c=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=a.forwardRef((e,t)=>
1{let{className:r,...i}=e;return(0,n.jsx)(s.f,{ref:t,className:(0,o.cn)(c(),r),...i})});l.displayName=s.f.displayName},40180:function(e,t,r){r.d(t,{K:function(){return d},kC:function(){return l},nu:function(){return c}});var n=r(11163),s=r(20052),i=r(2809),a=r(40867),o=r(30920);let c=()=>{let{isSuccess:e,isLoading:t}=(0,s.J1)();return{notLoggedIn:!e&&!t,isLoading:t,isSuccess:e,loggedIn:e&&!t}};function l(e){let t=(0,n.useRouter)(),{notLoggedIn:r,isLoading:s,isSuccess:l}=c(),u=d();return(0,a.US)(e&&r,()=>{t.push(u)}),{isLoading:s,notLoggedIn:r,isSuccess:l,signinUrl:(0,i.aF)(o._.signin,{next:t.asPath})}}let d=()=>{let e=(0,n.useRouter)();return{pathname:o._.signin,query:{next:e.asPath}}}},11070:function(e,t,r){r.d(t,{r:function(){return n}}),r(85893),r(56859);let n=!r(68894).gs},78127:function(e,t,r){r.d(t,{GZ:function(){return l},Bi:function(){return c}});var n=r(85893),s=r(48755);let i=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.371 18.09a6.09 6.09 0 11.751-5.328M9.628 5.91a6.09 6.09 0 11-.75 5.329"})})},a=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.307 5.75a4.975 4.975 0 00-1.614 3.226c0 2.016 1.614 4.032 1.614 6.049a4.975 4.975 0 01-1.614 3.225M18.307 5.75a4.978 4.978 0 00-1.614 3.226c0 2.016 1.614 4.033 1.614 6.049a4.978 4.978 0 01-1.614 3.225M13 4.25a6.17 6.17 0 00-2 4c0 2.5 2 5 2 7.5a6.172 6.172 0 01-2 4"})})},o=e=>{let{className:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M17.5 8.5c-.364 1.34-.64 2.598-.597 3.987.271 2.805 1.72 3.26 1.72 7.513M7.46 4.041c-.43.196-.845.423-1.24.68-.911.84.412 2.48 1.782 2.985a5.685 5.685 0 002.683 10.698M8.531 17.98V20"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M18.814 4c-.63 3.396-2.715 10.107-9.07 10.96l-.066.007a1.839 1.839 0 01-.427-3.652c3.718-.497 5.202-5.37 5.438-7.229"})]})},c={0:"pregnancy_no",1:"pregnancy_yes",97:"dry",99:"combination",100:"oily",158:"sensitive",102:"wrinkles",103:"redness",104:"roughness",105:"black_spots",106:"dark_circles",107:"anti_aging",108:"eczema",109:"sensitive",144:"everyday",145:"often",146:"sometimes",147:"never",134:"fourteenToEighteen",135:"nineteenToTwentyNine",136:"thirtyToForty",137:"fortyToFifty",138:"fiftyPlus"},l={dry:{icon:(0,n.jsx)(a,{className:"group-data-[state=checked]:stroke-white"})},combination:{icon:(0,n.jsx)(i,{className:"group-data-[state=checked]:stroke-white"})},oily:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12.299 3.172A.353.353 0 0012 3a.344.344 0 00-.299.172C10.59 5.035 6.75 11.614 6.75 14.132a5.43 5.43 0 001.538 3.796A5.192 5.192 0 0012 19.5a5.192 5.192 0 003.712-1.572 5.43 5.43 0 001.538-3.796c0-2.518-3.839-9.097-4.951-10.96z"})})},{className:"group-data-[state=checked]:stroke-white"})},sensitive:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19.34 4.658L3.33 20.67M15.008 15.292l-5.658-.326M18.422 11.72l-5.58-.342M6.647 11.05a3.346 3.346 0 00-.97 2.585l.293 4.395 4.394.293a3.345 3.345 0 002.586-.971l6.388-6.388a4.457 4.457 0 10-6.302-6.302l-6.39 6.387z"})})},{className:"group-data-[state=checked]:stroke-white"})},wrinkles:{icon:(0,n.jsx)(a,{className:"group-data-[state=checked]:stroke-white"})},roughness:{icon:(0,n.jsx)(i,{className:"group-data-[state=checked]:stroke-white"})},anti_aging:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 25 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M13.437 5.063a1.125 1.125 0 011.125 1.125v6.187h2.617c.204 0 .257.122.118.271l-4.575 6.112a.562.562 0 01-.825 0l-4.573-6.111c-.138-.15-.085-.272.119-.272h2.619V6.187a1.125 1.125 0 011.125-1.125h2.25z"})})},{className:"group-data-[state=checked]:stroke-white"})},black_spots:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("fill-forest-green-500 stroke-forest-green-500",t),viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{cx:"16.5",cy:"16.5",r:"1.5",strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"7.5",cy:"16.5",r:"1.5",strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"16.5",cy:"7.5",r:"1.5",strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"7.5",cy:"7.5",r:"1.5",strokeWidth:"1.5"})]})},{className:"group-data-[state=checked]:fill-white group-data-[state=checked]:stroke-white"})},eczema:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 25 24",children:[(0,n.jsx)("circle",{cx:"18.5",cy:"6.75",r:"2.25",strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"16.25",cy:"18",r:"1.5",strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"8",cy:"11.25",r:"3.75",strokeWidth:"1.5"})]})},{className:"group-data-[state=checked]:stroke-white"})},redness:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("fill-forest-green-500",t),viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M21 12c0 .511-.043 1.012-.124 1.5H3.124a9.06 9.06 0 010-3h17.752c.081.488.124.989.124 1.5zm-1.204-4.5A8.997 8.997 0 0012 3a8.996 8.996 0 00-7.796 4.5h15.592zM12 21a8.996 8.996 0 01-7.796-4.5h15.592A8.997 8.997 0 0112 21z",clipRule:"evenodd"})})},{className:"group-data-[state=checked]:fill-white"})}
1,dark_circles:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",className:(0,s.cn)("fill-forest-green-500 stroke-forest-green-500",t),viewBox:"0 0 25 24",children:[(0,n.jsx)("circle",{fill:"none",cx:"12.5",cy:"12",r:"8.25",strokeWidth:"1.5"}),(0,n.jsx)("path",{stroke:"none",d:"M18.5 12a6 6 0 01-12 0h12z"})]})},{className:"group-data-[state=checked]:fill-white group-data-[state=checked]:stroke-white"})},pregnancy_yes:{icon:(0,n.jsx)(o,{className:"group-data-[state=checked]:stroke-white"}),hideIconAtWizard:!0},pregnancy_no:{icon:(0,n.jsx)(o,{className:"group-data-[state=checked]:stroke-white"}),hideIconAtWizard:!0},everyday:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("circle",{cx:"12",cy:"12",r:"8.25",strokeWidth:"1.5"})})},{className:"group-data-[state=checked]:stroke-white"})},often:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("circle",{cx:"12",cy:"12",r:"8.25",strokeDasharray:"3 3",strokeWidth:"1.5"})})},{className:"group-data-[state=checked]:stroke-white"})},sometimes:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 25 24",children:(0,n.jsx)("circle",{cx:"12.5",cy:"12",r:"8.25",strokeDasharray:"6 6",strokeWidth:"1.5"})})},{className:"group-data-[state=checked]:stroke-white"})},never:{icon:(0,n.jsx)(e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:(0,s.cn)("stroke-forest-green-500",t),fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5.49 18.509L18.507 5.492M18.508 18.508L5.49 5.49"})})},{className:"group-data-[state=checked]:stroke-white"})},fourteenToEighteen:{icon:void 0,hideIconAtWizard:!0},nineteenToTwentyNine:{icon:void 0,hideIconAtWizard:!0},thirtyToForty:{icon:void 0,hideIconAtWizard:!0},fortyToFifty:{icon:void 0,hideIconAtWizard:!0},fiftyPlus:{icon:void 0,hideIconAtWizard:!0}}},66547:function(e,t,r){r.d(t,{_i:function(){return f},e3:function(){return g},h3:function(){return d}});var n=r(11163),s=r(67294),i=r(20052),a=r(11070),o=r(2809),c=r(40867);async function l(e,t){if(!a.r){var r;(null===o.pG||void 0===o.pG?void 0:o.pG.tagging)!=null&&(null===o.pG||void 0===o.pG?void 0:null===(r=o.pG.tagging)||void 0===r?void 0:r.renderAsync)!=null&&await o.pG.tagging.renderAsync(e,"#".concat(t),!0)}}function d(e,t){(0,c.US)(e,async()=>{let e=t.map(e=>l(e.place,e.id));await Promise.all(e),null===o.pG||void 0===o.pG||o.pG.dispatchEvent(new Event("_ce_cts_positions_loaded"))})}let u={uId:"0",uType:"default",isArticlePage:!1};function h(e,t){var r;let n=null!==(r=null===o.pG||void 0===o.pG?void 0:o.pG._ceCTSData)&&void 0!==r?r:u,s="/"===t?"home":t.startsWith("/kremek")?"category":t.startsWith("/magazine")?"article":m;null!=o.pG&&(o.pG._ctsPageType=null!=s?s:m);null!=o.pG&&(o.pG.ctsPageType=s,o.pG._ceCTSData={...n,uId:null!=e?e:u.uId,uType:null==e?"default":"loggedIn",pageType:s,isArticlePage:"/magazine/[article]"===t})}let m="other";function g(){let e=(0,n.useRouter)().pathname,{data:t,isSuccess:r,isError:a}=(0,i.J1)();(0,s.useEffect)(()=>{a?h(void 0,e):r&&h(t.data.id,e)},[r,a,null==t?void 0:t.data.id,e])}let f={homepage:"nyitooldal",product:"termek",brand:"brand",ingredients:"osszetevok",marketplace:"marketplace",default:"default",magazine:"magazin"}},60316:function(e,t,r){r.d(t,{p:function(){return n}});let n={age:"age",skinType:"skinType",skinProblems:"skinProblems",pregnancy:"pregnancy",makeupFrequency:"makeupFrequency"}}}]);
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.