PageSourceSearch

https://kremmania.hu/_next/static/chunks/pages/skin-routine/makeup-frequency-d4d1492c9330a4ea.js

js kremmania.hu collected 2026-10-02 12:14:20 UTC 4,482 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5494],{41152:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/skin-routine/makeup-frequency",function(){return r(59269)}])},65081:function(e,n,r){"use strict";var t=r(67294),i=r(57929);n.Z=function(e,n,r){if(!i.jU)return[n,function(){}];var s=(0,t.useState)(function(){try{var t=sessionStorage.getItem(e);if("string"!=typeof t)return sessionStorage.setItem(e,r?String(n):JSON.stringify(n)),n;return r?t:JSON.parse(t||"null")}catch(e){return n}}),a=s[0],u=s[1];return(0,t.useEffect)(function(){try{var n=r?String(a):JSON.stringify(a);sessionStorage.setItem(e,n)}catch(e){}}),[a,u]}},51519:function(e,n,r){"use strict";r.d(n,{Ee:function(){return c},pH:function(){return d}});var t=r(85893),i=r(30150),s=r(67294),a=r(10996),u=r(68894),o=r(48755);let c=s.forwardRef((e,n)=>{let{className:r,...s}=e;return(0,t.jsx)(i.fC,{className:(0,o.cn)("grid gap-2",r),...s,ref:n})});c.displayName=i.fC.displayName;let l=s.forwardRef((e,n)=>{let{className:r,children:s,icon:a,...c}=e;return(0,t.jsxs)(i.ck,{ref:n,className:(0,o.cn)("col-span-1 flex h-12 w-32 items-center justify-center gap-4 roun
1ded-full border border-forest-green-200 py-3 xs:w-36 sm:w-44","text-sm font-medium text-forest-green-500","data-[state=checked]:bg-forest-green-500 data-[state=checked]:text-white",!u.gs&&"data-[state=checked]:bg-black",r),...c,children:[a,(0,t.jsx)("span",{children:s})]})});l.displayName=i.ck.displayName;let d=e=>{let{icon:n,label:r,value:i,className:s}=e;return(0,t.jsx)(a.xJ,{className:"space-y-0",children:(0,t.jsx)(a.NI,{children:(0,t.jsx)(l,{className:s,value:i,icon:n,children:r})})})}},59269:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return S},default:function(){return b}});var t=r(85893),i=r(56312),s=r(87536),a=r(1604),u=r(75652),o=r(20052),c=r(10055),l=r(5384),d=r(69617),f=r(99384),p=r(24511),m=r(60665),k=r(10996),h=r(82682),x=r(63338),_=r(85293),g=r(66547),y=r(82583),j=r(18974),v=r(60316),N=r(30920),S=!0;function b(e){var n;let{skinRoutineData:r}=e,{t:S}=(0,j.LD)("skin_routine"),b=(0,o.J1)(),[q,w]=(0,x.az)(),F=a.z.object({makeupFrequency:a.z.number({required_error:S("makeup_is_required","Please select how often you wear makeup")})}),E=(0,s.cI)({defaultValues:{makeupFrequency:null!==(n=q.makeupFrequency)&&void 0!==n?n:void 0},resolver:(0,i.F)(F)}),{currentIndex:z,goToNextStep:I,goToPreviousStep:V}=(0,x.nN)("makeupFrequency"),{adScriptJsx:B,adsReady:C}=(0,u.M)(g._i.default);return(0,g.h3)(C,[...d.rd]),(0,t.jsxs)(d.Ar,{mainClassName:"h-full",noAds:!0,header:(0,t.jsx)(l.q,{skipAction:()=>{w({...q,makeupFrequency:void 0}),I()},isSkipVisible:!0,progressBar:(0,t.jsx)(m.k,{currentStepIndex:z,numberOfSteps:x.QD})}),children:[B,(0,t.jsx)(p.V,{title:S("seo.page_title","Skin routine")}),(0,t.jsx)(f.V,{description:S("seo.page_description","Skin routine description"),canonical:N._.skinRoutine.makeupFrequency}),(0,t.jsx)(h.v,{title:S("step.makeup_frequency_title","How often do you wear makeup?"),isWide:!1,children:(0,t.jsx)(k.l0,{...E,children:(0,t.jsxs)("form",{onSubmit:E.handleSubmit(e=>{var n;w({...q,makeupFrequency:e.makeupFrequency}),(0,y.BX)("skin_routine_quiz_proceed",{step:v.p.makeupFrequency,user_id:null===(n=b.data)||void 0===n?void 0:n.data.id}),(0,y.BX)("skin_routine_quiz_finish"),I()}),className:"flex flex-1 flex-col justify-between",children:[(0,t.jsx)(_.V,{form:E,name:"makeupFrequency",data:r.frequencies}),(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(c.E,{goToPreviousStep:V})})]})})})]})}},85293:function(e,n,r){"use strict";
1r.d(n,{V:function(){return o}});var t=r(85893),i=r(10996),s=r(51519),a=r(78127),u=r(18974);let o=e=>{let{t:n}=(0,u.LD)("skin_routine.step.opts");return(0,t.jsx)(i.Wi,{name:e.name,control:e.form.control,render:r=>{let{field:u}=r;if(null!=u.value&&"string"!=typeof u.value&&"number"!=typeof u.value)throw Error("WizardSingleOption: field.value must be a string or a number");return(0,t.jsxs)(i.xJ,{className:"space-y-4",children:[(0,t.jsx)(i.NI,{children:(0,t.jsx)(s.Ee,{onValueChange:u.onChange,defaultValue:u.value,className:"grid grid-cols-2 gap-4",children:e.data.map(r=>(0,t.jsx)(s.pH,{label:e.isTranslationLocal?n(r.name):r.name,value:r.id,icon:void 0!==a.Bi[r.id]&&a.Bi[r.id]in a.GZ&&!a.GZ[a.Bi[r.id]].hideIconAtWizard?a.GZ[a.Bi[r.id]].icon:void 0,className:"group"},r.id))})}),(0,t.jsx)(i.zG,{})]})}})}}},function(e){e.O(0,[9226,6859,4878,150,5709,9316,9042,4791,2888,9774,179],function(){return e(e.s=41152)}),_N_E=e.O()}]);

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.