1__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return A}});var t=r(d[0]),n=r(d[1]),s=r(d[2]),u=r(d[3]),c=r(d[4]),o=r(d[5]),f=r(d[6]),p=r(d[7]),l=r(d[8]),S=r(d[9]),b=r(d[10]);const P=f.AfterOnboardingStepName.select_sizes,z=(t,n)=>{(0,o.sendPreferencesQuizEvent)({stepNumber:2,stepName:P,action:t,value:n})};function A(){const o=(0,s.useAppSelector)(t=>t.userPreferences.country),{goToNextStep:P}=(0,p.useGoToNextAfterOnboardingStep)(),{user:A}=(0,n.useAuth)(),{data:v}=(0,l.useGetUserData)(),O=(0,t.useMemo)(()=>(0,S.mapPreferenceSizesToSelectedSizes)(v?.productPreferences?.sizes),[v]),_=v?.productPreferences?.genders?.values?.[0]?.value,{mutate:N,isPending:y}=(0,c.useUpdateUserData)({onSuccess:()=>P(),onError:()=>P()});(0,t.useEffect)(()=>{z(f.AfterOnboardingAction.visited)},[]);const j=(0,t.useCallback)(t=>{z(f.AfterOnboardingAction.continue_action,t),N({user:A,preferences:{country:o},productPreferences:{sizes:t}})},[A,o,N]);return(0,b.jsx)(u.SelectSizes,{initialSizes:O,onSubmit:j,isSubmitting:y,genderPreference:_})}},649,[6,757,750,759,756,742,741,740,755,760,5]);
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.