@clerk/ui 1.0.0-snapshot.v20251215203425 → 1.0.0-snapshot.v20251215212157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ClerkUi.js +2 -2
- package/dist/elements/Menu.js +2 -1
- package/dist/elements/Menu.js.map +1 -1
- package/dist/foundations/defaultFoundations.d.ts +153 -153
- package/dist/index.js +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/lazyModules/components.d.ts +20 -20
- package/dist/lazyModules/providers.js +3 -3
- package/dist/lazyModules/providers.js.map +1 -1
- package/dist/{ui-common_ui_e1841e_1.0.0-snapshot.v20251215203425.js → ui-common_ui_3321de_1.0.0-snapshot.v20251215212157.js} +1 -1
- package/dist/ui.browser.js +4 -4
- package/package.json +3 -3
- /package/dist/{207_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 207_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{217_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 217_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{360_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 360_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{444_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 444_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{573_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 573_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{970_ui_e1841e_1.0.0-snapshot.v20251215203425.js → 970_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{apiKeys_ui_e1841e_1.0.0-snapshot.v20251215203425.js → apiKeys_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{blankcaptcha_ui_e1841e_1.0.0-snapshot.v20251215203425.js → blankcaptcha_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{checkout_ui_e1841e_1.0.0-snapshot.v20251215203425.js → checkout_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_e1841e_1.0.0-snapshot.v20251215203425.js → copy-api-key-modal_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{createorganization_ui_e1841e_1.0.0-snapshot.v20251215203425.js → createorganization_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_e1841e_1.0.0-snapshot.v20251215203425.js → enableOrganizationsPrompt_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{framework_ui_e1841e_1.0.0-snapshot.v20251215203425.js → framework_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{impersonationfab_ui_e1841e_1.0.0-snapshot.v20251215203425.js → impersonationfab_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{keylessPrompt_ui_e1841e_1.0.0-snapshot.v20251215203425.js → keylessPrompt_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{oauthConsent_ui_e1841e_1.0.0-snapshot.v20251215203425.js → oauthConsent_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{onetap_ui_e1841e_1.0.0-snapshot.v20251215203425.js → onetap_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{op-api-keys-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → op-api-keys-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{op-billing-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → op-billing-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{op-plans-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → op-plans-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{organizationlist_ui_e1841e_1.0.0-snapshot.v20251215203425.js → organizationlist_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{organizationprofile_ui_e1841e_1.0.0-snapshot.v20251215203425.js → organizationprofile_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{organizationswitcher_ui_e1841e_1.0.0-snapshot.v20251215203425.js → organizationswitcher_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{payment-attempt-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → payment-attempt-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{planDetails_ui_e1841e_1.0.0-snapshot.v20251215203425.js → planDetails_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_e1841e_1.0.0-snapshot.v20251215203425.js → prefetchorganizationlist_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{pricingTable_ui_e1841e_1.0.0-snapshot.v20251215203425.js → pricingTable_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_e1841e_1.0.0-snapshot.v20251215203425.js → revoke-api-key-modal_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{sessionTasks_ui_e1841e_1.0.0-snapshot.v20251215203425.js → sessionTasks_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{signin_ui_e1841e_1.0.0-snapshot.v20251215203425.js → signin_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{signup_ui_e1841e_1.0.0-snapshot.v20251215203425.js → signup_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{statement-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → statement-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{subscriptionDetails_ui_e1841e_1.0.0-snapshot.v20251215203425.js → subscriptionDetails_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_e1841e_1.0.0-snapshot.v20251215203425.js → taskChooseOrganization_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{taskResetPassword_ui_e1841e_1.0.0-snapshot.v20251215203425.js → taskResetPassword_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{up-api-keys-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → up-api-keys-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{up-billing-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → up-billing-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{up-plans-page_ui_e1841e_1.0.0-snapshot.v20251215203425.js → up-plans-page_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{useravatar_ui_e1841e_1.0.0-snapshot.v20251215203425.js → useravatar_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{userbutton_ui_e1841e_1.0.0-snapshot.v20251215203425.js → userbutton_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{userprofile_ui_e1841e_1.0.0-snapshot.v20251215203425.js → userprofile_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{userverification_ui_e1841e_1.0.0-snapshot.v20251215203425.js → userverification_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{vendors_ui_e1841e_1.0.0-snapshot.v20251215203425.js → vendors_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
- /package/dist/{waitlist_ui_e1841e_1.0.0-snapshot.v20251215203425.js → waitlist_ui_3321de_1.0.0-snapshot.v20251215212157.js} +0 -0
|
@@ -11,7 +11,7 @@ print-color-adjust: exact !important;
|
|
|
11
11
|
opacity: 0;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
`}),(0,n.Y)(s.so,{align:"center",justify:"center",sx:()=>({animation:"caret-blink-animation 1s infinite",pointerEvents:"none",position:"absolute",inset:0}),children:(0,n.Y)(s.az,{sx:e=>({height:e.space.$4,width:e.space.$px,backgroundColor:e.colors.$colorInputForeground})})})]})}},374:function(e,t,r){r.d(t,{J2:()=>c,bQ:()=>l});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(8819);let l=e=>{let{headers:t,page:r,onPageChange:l,rows:c,isLoading:d,itemCount:u,itemsPerPage:p,pageCount:m,emptyStateLocalizationKey:h}=e,f=u>0?Math.max(0,(r-1)*p)+1:0,g=Math.min(r*p,u);return(0,n.FD)(o.fv,{gap:4,sx:{width:"100%"},children:[(0,n.Y)(o.so,{sx:e=>({overflowX:"auto",padding:e.space.$1}),children:(0,n.FD)(o.XI,{sx:{tableLayout:"fixed"},children:[(0,n.Y)(o.d8,{children:(0,n.Y)(o.Tr,{children:t.map((e,t)=>(0,n.Y)(o.Th,{elementDescriptor:i.$z.tableHead,localizationKey:e,sx:{width:0===t?"auto":"25%"}},t))})}),(0,n.Y)(o.NN,{children:d?(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.y$,{colorScheme:"primary",sx:{margin:"auto",display:"block"},elementDescriptor:i.$z.spinner})})}):c.length?c:(0,n.Y)(s,{localizationKey:h},"empty")})]})}),m>1&&(0,n.Y)(a.d,{count:m,page:r,onChange:l,siblingCount:1,rowInfo:{allRowsCount:u,startingRow:f,endingRow:g}})]})},s=e=>(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.EY,{localizationKey:e.localizationKey,sx:{margin:"auto",display:"block",width:"fit-content"}})})}),c=e=>(0,n.Y)(o.Tr,{...e,sx:e=>({":hover":{backgroundColor:e.colors.$neutralAlpha50}})})},846:function(e,t,r){r.d(t,{$:()=>a,t:()=>l});var n=r(4518),o=r(8272),i=r(180);let a=e=>{let{gradient:t=60}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.az,{sx:e=>({userSelect:"none",pointerEvents:"none",inset:0,position:"absolute",background:`repeating-linear-gradient(-45deg,${e.colors.$warningAlpha100},${e.colors.$warningAlpha100} 6px,${e.colors.$warningAlpha150} 6px,${e.colors.$warningAlpha150} 12px)`,maskImage:`linear-gradient(transparent ${t}%, black)`})}):null},l=e=>{let{sx:t}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.EY,{sx:[e=>({color:e.colors.$warning500,fontWeight:e.fontWeights.$semibold,padding:e.space.$1x5}),t],children:"Development mode"}):null}},6505:function(e,t,r){r.d(t,{G:()=>s,c:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(2861);let l=e=>{let{dividerText:t,...r}=e;return(0,n.FD)(o.so,{center:!0,elementDescriptor:i.$z.dividerRow,...r,children:[(0,n.Y)(c,{}),(0,n.Y)(o.EY,{localizationKey:t||(0,a.G)("dividerText"),elementDescriptor:i.$z.dividerText,variant:"body",colorScheme:"secondary",sx:e=>({margin:`0 ${e.space.$4}`})}),(0,n.Y)(c,{})]})},s=e=>{let{sx:t,...r}=e;return(0,n.Y)(o.so,{center:!0,direction:"col",elementDescriptor:i.$z.dividerColumn,sx:[e=>({height:e.space.$6}),t],...r,children:(0,n.Y)(c,{vertical:!0})})},c=e=>{let t=e?.vertical?{width:"1px"}:{height:"1px"};return(0,n.Y)(o.so,{elementDescriptor:i.$z.dividerLine,sx:e=>({flex:"1",backgroundColor:e.colors.$borderAlpha100,...t})})}},8532:function(e,t,r){r.d(t,{g:()=>v,Drawer:()=>A});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(8272),s=r(8920),c=r(6580),d=r(4091),u=r(8792),p=r(359),m=r(5057),h=r(1464),f=r(4620),g=r(155);let b=a.createContext(null),v=()=>{let e=a.useContext(b);if(!e)throw Error("Drawer components must be wrapped in <Drawer.Root>");return e},y=a.forwardRef(function(e,t){let{strategy:r}=v(),{disableScrollLock:i,enableScrollLock:a}=(0,u.K)();return(0,o.UQ)(()=>{if("fixed"===r)return a(),()=>{i()}},[r,i,a]),(0,n.Y)(l.az,{ref:t,...e,elementDescriptor:s.$z.drawerBackdrop,sx:[e=>({inset:0,backgroundColor:f.T.setAlpha(e.colors.$colorBackground,.28)}),e.sx]})}),w=a.forwardRef((e,t)=>{let{strategy:r,context:o}=v(),{isMounted:a,styles:l}=(0,i.DL)(o,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{position:r,inset:0,transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer});return a?(0,n.Y)(y,{ref:t,style:{...l}}):null});w.displayName="Drawer.Overlay";let $=a.forwardRef(({children:e},t)=>{let r=(0,p.j)(),{animations:o}=(0,c.K)().parsedOptions,{strategy:a,refs:u,context:m,getFloatingProps:h,direction:f}=v(),g=(0,i.SV)([t,u.setFloating]),{isMounted:b,styles:y}=(0,i.DL)(m,{initial:{transform:"translate3d(var(--transform-offset), 0, 0)"},open:{transform:"translate3d(0, 0, 0)"},close:{transform:"translate3d(var(--transform-offset), 0, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:r||!0!==o?0:d.wz.drawer});return b?(0,n.Y)(i.s3,{context:m,modal:!0,outsideElementsInert:!0,initialFocus:u.floating,children:(0,n.Y)(l.az,{ref:g,...h(),sx:e=>({position:a,insetBlock:0,insetInline:0,pointerEvents:"none",isolation:"isolate",zIndex:"absolute"===a?e.zIndices.$modal:void 0}),elementDescriptor:s.$z.drawerRoot,children:(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerContent,style:y,direction:"col",sx:e=>({"--transform-offset":"fixed"===a?`calc((100% + ${e.space.$3} + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`:`calc((100% + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`,willChange:"transform",position:a,insetBlock:"fixed"===a?e.space.$3:0,insetInlineEnd:"fixed"===a?e.space.$3:0,outline:0,width:e.sizes.$100,maxWidth:"fixed"===a?`calc(100% - ${e.space.$6})`:"100%",backgroundColor:e.colors.$colorBackground,borderStartStartRadius:e.radii.$lg,borderEndStartRadius:e.radii.$lg,borderEndEndRadius:"fixed"===a?e.radii.$lg:0,borderStartEndRadius:"fixed"===a?e.radii.$lg:0,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,overflow:"hidden",pointerEvents:"auto"}),children:e})})}):null});$.displayName="Drawer.Content";let x=a.forwardRef(({title:e,children:t,sx:r},o)=>(0,n.Y)(l.az,{ref:o,elementDescriptor:s.$z.drawerHeader,as:"header",sx:[t=>({display:"flex",background:h.s.mergedColorsBackground(f.T.setAlpha(t.colors.$colorBackground,1),t.colors.$neutralAlpha50),borderBlockEndWidth:t.borderWidths.$normal,borderBlockEndStyle:t.borderStyles.$solid,borderBlockEndColor:t.colors.$borderAlpha150,borderStartStartRadius:t.radii.$lg,borderStartEndRadius:t.radii.$lg,paddingBlock:e?t.space.$3:void 0,paddingInline:e?t.space.$4:void 0}),r],children:e?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.DZ,{localizationKey:e,as:"h2",elementDescriptor:s.$z.drawerTitle,textVariant:"h2",sx:{alignSelf:"center"}}),(0,n.Y)(C,{})]}):t})),_=a.forwardRef(({children:e,...t},r)=>(0,n.Y)(l.az,{ref:r,elementDescriptor:s.$z.drawerBody,sx:[()=>({display:"flex",flexDirection:"column",flex:1,overflowY:"auto",overflowX:"hidden"}),t.sx],...t,children:e})),S=a.forwardRef(({children:e,sx:t,...r},o)=>(0,n.Y)(l.az,{ref:o,elementDescriptor:s.$z.drawerFooter,sx:[e=>({display:"flex",flexDirection:"column",background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),borderBlockStartWidth:e.borderWidths.$normal,borderBlockStartStyle:e.borderStyles.$solid,borderBlockStartColor:e.colors.$borderAlpha100,borderEndStartRadius:e.radii.$xl,borderEndEndRadius:e.radii.$xl,paddingBlock:e.space.$3,paddingInline:e.space.$4}),t],...r,children:e})),C=a.forwardRef((e,t)=>{let{setIsOpen:r}=v();return(0,n.Y)(g.K,{ref:t,elementDescriptor:s.$z.drawerClose,variant:"ghost","aria-label":"Close drawer",onClick:()=>r(!1),icon:(0,n.Y)(l.In,{icon:m.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3,marginInlineStart:"auto"})})});C.displayName="Drawer.Close";let k=a.forwardRef(({open:e,onOpenChange:t,children:r,actionsSlot:o,roleProps:a},u)=>{let m=(0,p.j)(),{animations:g}=(0,c.K)().parsedOptions,{refs:b,context:v}=(0,i.we)({open:e,onOpenChange:t,transform:!1,strategy:"absolute"}),{getFloatingProps:y}=(0,i.bv)([(0,i.kp)(v),(0,i.s9)(v),(0,i.It)(v,{role:"alertdialog",...a})]),w=(0,i.SV)([u,b.setFloating]),{styles:$}=(0,i.DL)(v,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer}),{isMounted:x,styles:_}=(0,i.DL)(v,{initial:{transform:"translate3D(0, 100%, 0)"},open:{transform:"translate3D(0, 0, 0)"},close:{transform:"translate3D(0, 100%, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:m||!0!==g?0:d.wz.drawer});return x?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.L9,{elementDescriptor:s.$z.drawerConfirmationBackdrop,style:$,sx:e=>({position:"absolute",inset:0,backgroundImage:`linear-gradient(to bottom, ${f.T.setAlpha(e.colors.$colorBackground,.28)}, ${e.colors.$colorBackground})`})}),(0,n.Y)(i.s3,{context:v,modal:!0,outsideElementsInert:!0,initialFocus:b.floating,children:(0,n.FD)(l.az,{ref:w,elementDescriptor:s.$z.drawerConfirmationRoot,style:_,...y(),sx:e=>({display:"flex",flexDirection:"column",rowGap:e.space.$6,outline:"none",willChange:"transform",position:"absolute",bottom:0,left:0,right:0,background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),padding:e.space.$4,borderStartStartRadius:e.radii.$md,borderStartEndRadius:e.radii.$md,boxShadow:`0 0 0 1px ${e.colors.$borderAlpha100}`}),children:[r,(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerConfirmationActions,gap:3,justify:"end",children:o})]})})]}):null});k.displayName="Drawer.Confirmation";let A={Root:function({children:e,open:t,onOpenChange:r,strategy:a="fixed",floatingProps:l,portalProps:s,dismissProps:c}){var d;let u,p="undefined"==typeof window?"ltr":"rtl"===(u=(d=document.documentElement).dir)?"rtl":"ltr"===u?"ltr":"auto"!==u&&u||"rtl"!==window.getComputedStyle(d).direction?"ltr":"rtl",m=(0,o.Sj)(),h=s?.root??m?.()??void 0,{refs:f,context:g}=(0,i.we)({open:t,onOpenChange:r,transform:!1,strategy:a,placement:"ltr"===p?"right":"left",...l}),{getFloatingProps:v}=(0,i.bv)([(0,i.kp)(g),(0,i.s9)(g,c),(0,i.It)(g)]);return(0,n.Y)(b.Provider,{value:{isOpen:t,setIsOpen:r,strategy:a,portalProps:{...s,root:h},refs:f,context:g,getFloatingProps:v,direction:p},children:(0,n.Y)(i.XF,{...s,root:h,children:e})})},Overlay:w,Content:$,Header:x,Body:_,Footer:S,Confirmation:k,Close:C}},5170:function(e,t,r){r.d(t,{J:()=>m});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(8920),l=r(2861),s=r(9426),c=r(4964),d=r(6088),u=r(3269),p=r(6153);let m=e=>{let{shouldNavigateBack:t=!0}=e,r=(0,u.f0)(),{navigate:m}=(0,c.r)(),h=(0,s.p)();return(0,n.Y)(o.n.Part,{part:"havingTrouble",children:(0,n.FD)(d.Z.Root,{children:[(0,n.FD)(d.Z.Content,{children:[(0,n.FD)(p.Y.Root,{showLogo:!0,children:[(0,n.Y)(p.Y.Title,{localizationKey:e.cardTitle||"Error"}),e.cardSubtitle&&(0,n.Y)(p.Y.Subtitle,{localizationKey:e.cardSubtitle})]}),(0,n.Y)(d.Z.Alert,{children:r.error}),(0,n.FD)(i.so,{direction:"col",elementDescriptor:a.$z.main,gap:4,children:[e.message&&(0,n.Y)(i.EY,{colorScheme:"secondary",localizationKey:e.message}),(0,n.Y)(i.$n,{localizationKey:(0,l.G)("signIn.alternativeMethods.getHelp.blockButton__emailSupport"),onClick:()=>{window.location.href=`mailto:${h}`},hasArrow:!0}),t?(0,n.Y)(d.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(d.Z.ActionLink,{localizationKey:(0,l.G)("backButton"),onClick:r=>{if(e.onBackLinkClick)return e.onBackLinkClick(r);t&&m("../")}})}):null]})]}),(0,n.Y)(d.Z.Footer,{})]})})}},5507:function(e,t,r){r.d(t,{D:()=>V});var n,o,i=r(4518),a=r(5074),l=r(8272),s=r(8920),c=r(2861),d=r(78),u=r(593),p=r(3356),m=r(3269),h=r(1044),f=r(6580),g=r(359),b=r(4374),v=r(1464);let y=({feedback:e})=>{let[t,r]=(0,a.useState)(0);return{height:t,calculateHeight:(0,a.useCallback)(e=>{e&&r(e.scrollHeight+2*e.offsetTop)},[e])}},w=e=>{let{id:t,elementDescriptors:r,sx:n,feedback:o,feedbackType:c="info",center:d=!1}=e,u=(0,a.useRef)({a:void 0,b:void 0}),{getFormTextAnimation:p}=function(){let e=(0,g.j)(),{animations:t}=(0,f.K)().parsedOptions;return{getFormTextAnimation:(0,a.useCallback)((r,n)=>{if(e||!t)return{animation:"none"};let o=n?.inDelay?b.W.inDelayAnimation:b.W.inAnimation;return e=>({animation:`${r?o:b.W.outAnimation} ${e.transitionDuration.$textField} ${e.transitionTiming.$common}`,transitionProperty:"height",transitionDuration:e.transitionDuration.$slow,transitionTimingFunction:e.transitionTiming.$common})},[e,t])}}(),m={error:s.$z.formFieldErrorText,warning:s.$z.formFieldWarningText,info:s.$z.formFieldInfoText,success:s.$z.formFieldSuccessText},w=(0,a.useMemo)(()=>{let e,t=u.current;return u.current=e=t.a?.shouldEnter?{a:{...t.a,shouldEnter:!1},b:{feedback:o,feedbackType:c,shouldEnter:!0}}:{a:{feedback:o,feedbackType:c,shouldEnter:!0},b:{...t.b,shouldEnter:!1}},e},[o,c]),{calculateHeight:$,height:x}=y({feedback:w.a?.feedback||""}),{calculateHeight:_,height:S}=y({feedback:w.b?.feedback||""}),C=(0,a.useRef)(Math.max(x,S)),k=(0,a.useMemo)(()=>{let e=Math.max(x,S,C.current);return C.current=e,e},[x,S]),A=e=>{if(!e)return{};let n=r?.[e]||m[e];return{elementDescriptor:n,elementId:t?n?.setId?.(t):void 0,id:"error"===e?`error-${t}`:`${t}-${e}-feedback`}},I={error:l.wF,info:l.cN,success:l.TP,warning:l.sE},z=I[w.a?.feedbackType||"info"],P=I[w.b?.feedbackType||"info"];return(0,i.FD)(i.FK,{children:[(0,i.Y)(l.L9,{"aria-live":"polite","aria-atomic":"true",sx:{...v.s.visuallyHidden()},children:o?(0,h.Ns)(o):""}),(0,i.FD)(l.so,{style:{height:o?k:0,position:"relative"},center:d,sx:[p(!!o),n],children:[(0,i.Y)(z,{...A(w.a?.feedbackType),...w.a?.feedbackType&&{"data-testid":`form-feedback-${w.a.feedbackType}`},ref:$,sx:[()=>({visibility:w.a?.shouldEnter?"visible":"hidden"}),p(!!w.a?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.a?.feedback)}),(0,i.Y)(P,{...A(w.b?.feedbackType),...w.b?.feedbackType&&{"data-testid":`form-feedback-${w.b.feedbackType}`},ref:_,sx:[()=>({visibility:w.b?.shouldEnter?"visible":"hidden"}),p(!!w.b?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.b?.feedback)})]})]})},$=(0,a.forwardRef)((e,t)=>{let{sx:r,groupPrefix:n,groupSuffix:o,...a}=e,c=n?{borderTopLeftRadius:"0",borderBottomLeftRadius:"0"}:{borderTopRightRadius:"0",borderBottomRightRadius:"0"},d=e=>({paddingInline:e.space.$2,borderTopRightRadius:"0",borderBottomRightRadius:"0",width:"fit-content",display:"flex",alignItems:"center"});return(0,i.FD)(l.so,{elementDescriptor:s.$z.formInputGroup,direction:"row",hasError:a.hasError,sx:e=>({position:"relative",zIndex:1,...v.s.borderVariants(e).normal,':focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{focusRing:!0}).normal["&:focus"]}}),children:[n&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:n}),(0,i.Y)(l.pd,{maxLength:25,sx:[{...c},r],variant:"unstyled",ref:t,...a}),o&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:o})]})});var x=r(2166),_=r(7697),S=r(8282),C=r(6294);function k(){return(k=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)}let A=function(e){return a.createElement("svg",k({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.732 3.126a.48.48 0 0 0-.662.011.465.465 0 0 0-.012.651l9.211 9.063a.477.477 0 0 0 .527.115.479.479 0 0 0 .263-.26.46.46 0 0 0-.117-.518l-1.108-1.09A6.278 6.278 0 0 0 13.93 8.36a1.016 1.016 0 0 0 0-.74 6.27 6.27 0 0 0-2.333-2.909A6.428 6.428 0 0 0 8 3.613a6.407 6.407 0 0 0-3.014.747L3.732 3.126Zm2.84 2.794.694.682a1.61 1.61 0 0 1 1.858.28A1.54 1.54 0 0 1 9.41 8.71l.693.683a2.47 2.47 0 0 0-.304-3.174 2.573 2.573 0 0 0-3.226-.3Z"})),o||(o=a.createElement("path",{d:"m8.476 10.445 1.602 1.576a6.437 6.437 0 0 1-2.077.342c-2.705 0-5.014-1.662-5.931-4.006a1.016 1.016 0 0 1 0-.741c.31-.79.78-1.51 1.382-2.115l2.052 2.02c-.078.4-.054.813.067 1.203.122.39.34.744.632 1.033a2.58 2.58 0 0 0 2.272.688Z"})))},I=(...e)=>t=>{for(let r of e)r&&(r.current=t)};var z=r(155);let P=(0,a.forwardRef)((e,t)=>{let[r,n]=a.useState(!0),{id:o,onChange:u,validatePassword:p=!1,setInfo:m,setSuccess:h,setWarning:f,setError:g,setHasPassedComplexity:b,tabIndex:v,...y}=e,w=(0,a.useRef)(null),[$,k]=(0,a.useState)(null),{userSettings:{passwordSettings:P}}=(0,_.O)(),{t:D}=(0,d._)(),{validatePassword:Y}=(0,S.T)({...P,validatePassword:p},{onValidationSuccess:()=>h(D((0,c.G)("unstable__errors.zxcvbn.goodPassword"))),onValidationError:e=>g(e),onValidationWarning:e=>f(e),onValidationInfo:e=>{w.current&&(w.current===document.activeElement?m(e):g(e))},onValidationComplexity:e=>b(e)});return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldInputGroup,direction:"col",justify:"center",sx:{position:"relative"},children:[(0,i.Y)(l.pd,{...y,tabIndex:v,onChange:e=>($&&clearTimeout($),k(setTimeout(()=>{Y(e.target.value)},x.s)),u?.(e)),onBlur:e=>{y.onBlur?.(e),Y(e.target.value)},onFocus:e=>{y.onFocus?.(e),Y(e.target.value)},ref:I(t,w),type:r?"password":"text",sx:e=>({paddingRight:e.space.$10})}),(0,i.Y)(z.K,{elementDescriptor:s.$z.formFieldInputShowPasswordButton,iconElementDescriptor:s.$z.formFieldInputShowPasswordIcon,"aria-label":`${r?"Show":"Hide"} password`,variant:"ghost",size:"xs",tabIndex:v,onClick:()=>n(e=>!e),sx:e=>({position:"absolute",right:0,marginRight:e.space.$1,color:e.colors.$neutralAlpha400}),icon:r?C.A:A})]})});var D=r(9361),Y=r(8023),R=r(2405),T=r(1586),F=r(1820),E=r(7651);let L=[...F.nU.values()].map(e=>({searchTerm:`${e.iso} ${e.name} ${e.code}`,value:`${e.iso} ${e.name} ${e.code}`,country:e})),B=(0,a.forwardRef)((e,t)=>{let{onChange:r,value:n,locationBasedCountryIso:o,feedbackType:c,sx:d,...u}=e,p=(0,a.useRef)(null),m=(0,a.useRef)(null),{setNumber:h,setIso:f,setNumberAndIso:g,numberWithCode:b,iso:y,formattedNumber:w}=(e=>{let[t,r]=a.useState(()=>{let{number:t}=(0,E.Xd)(e.initPhoneWithCode||"");return t}),[n,o]=a.useState((0,E.Xd)(e.initPhoneWithCode||"").number?(0,E.Xd)(e.initPhoneWithCode||"").iso:e.locationBasedCountryIso||"us");a.useEffect(()=>{r((0,E.sH)(t))},[n,t]);let i=a.useMemo(()=>{if(!t)return"";let e=F.nU.get(n)?.code||"1";return"+"+(0,E.sH)(`${e}${t}`)},[n,t]),l=a.useMemo(()=>((e,t)=>{if(!e)return"";let r=F.nU.get(t);return(0,E.n4)(e,r?.pattern,r?.code)})(t,n),[n,t]),s=a.useCallback(e=>{let{iso:t,number:n}=(0,E.Xd)(e);r(n),o(t)},[n,t]);return{setNumber:r,setIso:o,setNumberAndIso:s,iso:n,number:t,numberWithCode:i,formattedNumber:l}})({initPhoneWithCode:n,locationBasedCountryIso:o}),$=(0,a.useMemo)(()=>L.find(e=>e.country.iso===y)||L[0],[y]);return(0,a.useEffect)(()=>{r?.({target:{value:b}})},[b]),(0,i.FD)(l.so,{elementDescriptor:s.$z.phoneInputBox,direction:"row",hasError:u.hasError,"data-feedback":c,ref:m,sx:e=>({...v.s.borderVariants(e,{hasError:u.hasError}).normal,position:"relative",borderRadius:e.radii.$md,zIndex:1,'&:focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{hasError:u.hasError}).normal["&:focus"]}}),children:[(0,i.FD)(T.l6,{elementId:"countryCode",value:$.value,options:L,portal:!0,referenceElement:m,renderOption:(e,t,r)=>(0,i.Y)(M,{sx:e=>({"&:hover":{backgroundColor:e.colors.$neutralAlpha100},'&[data-focused="true"]':{backgroundColor:e.colors.$neutralAlpha150}}),isSelected:r,country:e.country}),onChange:e=>{f(e.country.iso),p.current?.focus()},noResultsMessage:"No countries found",searchPlaceholder:"Search country or code",comparator:(e,t)=>t.searchTerm.toLowerCase().includes(e.toLowerCase()),children:[(0,i.Y)(T.JC,{variant:"ghost",sx:e=>({borderWidth:"0",borderRadius:e.radii.$md,borderBottomRightRadius:"0",borderTopRightRadius:"0",paddingRight:e.space.$2,":focus":{zIndex:2,boxShadow:"none"},":active":{zIndex:2}}),hoverAsFocus:!0,isDisabled:u.isDisabled,icon:Y.A,iconSx:e=>({color:u.isDisabled?e.colors.$neutralAlpha300:e.colors.$neutralAlpha500}),children:(0,i.Y)(l.EY,{colorScheme:"body",as:"span",sx:{textTransform:"uppercase"},children:y})}),(0,i.Y)(T.UL,{sx:{padding:"0 0"},containerSx:e=>({gap:0,padding:`${e.space.$0x5} 0`})})]}),(0,i.FD)(l.so,{sx:{position:"relative",width:"100%"},children:[(0,i.FD)(l.EY,{sx:t=>({display:"flex",alignItems:"center",pointerEvents:"none",paddingLeft:t.space.$0x5,opacity:e.isDisabled?t.opacity.$disabled:1}),children:["+",$.country.code]}),(0,i.Y)(l.pd,{value:w,variant:"unstyled",onPaste:e=>{e.preventDefault();let t=e.clipboardData.getData("text");t.includes("+")?g(t):h(t)},onChange:e=>{let t=e.target.value;t.includes("+")?g(t):h(t)},maxLength:25,type:"tel",sx:[e=>({boxShadow:"none",height:"100%",transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing,"&[type=tel]":{borderRadius:e.radii.$md,borderWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0,paddingLeft:e.space.$1,"&:focus":{borderColor:"unset",boxShadow:"unset"}}}),d],ref:I(p,t),...u})]})]})}),M=(0,a.memo)(e=>{let{country:t,isSelected:r,sx:n,...o}=e;return(0,i.FD)(l.so,{center:!0,sx:[e=>({width:"100%",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$4}`,color:e.colors.$colorForeground}),n],...o,children:[(0,i.Y)(l.In,{icon:R.A,size:"sm",sx:{visibility:r?"visible":"hidden"}}),(0,i.Y)(l.EY,{as:"div",sx:{width:"100%",textAlign:"left"},children:t.name}),(0,i.FD)(l.EY,{colorScheme:"secondary",children:["+",t.code]})]})}),O=(0,a.forwardRef)((e,t)=>{let{__internal_country:r}=(0,D.ho)();return(0,i.Y)(B,{...e,locationBasedCountryIso:r,ref:t})}),j=(0,a.forwardRef)((e,t)=>{let r=(0,u.Wd)(),{value:n,placeholder:o,...a}=(0,u.Uj)(r);return(0,i.Y)(l.AT,{ref:t,...a,elementDescriptor:s.$z.formFieldRadioInput,id:e.id,focusRing:!1,sx:e=>({width:"fit-content",marginTop:e.space.$0x5}),value:e.value,checked:e.value===n})}),U=e=>(0,i.FD)(l.lR,{elementDescriptor:s.$z.formFieldRadioLabel,htmlFor:e.id,sx:e=>({padding:`${e.space.$none} ${e.space.$2}`,display:"flex",flexDirection:"column"}),children:[(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelTitle,variant:"subtitle",localizationKey:e.label}),e.description&&(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelDescription,colorScheme:"secondary",localizationKey:e.description})]}),W=(0,a.forwardRef)((e,t)=>{let r=(0,a.useId)();return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldRadioGroupItem,align:"start",children:[(0,i.Y)(j,{id:r,ref:t,value:e.value}),(0,i.Y)(U,{id:r,label:e.label,description:e.description})]})}),H=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(O,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,feedbackType:n.feedbackType,placeholder:r(o)})}),N=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n,["validatePassword","setError","setWarning","setSuccess","setInfo","setHasPassedComplexity"]);return(0,i.Y)(P,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),K=(0,a.forwardRef)(({elementDescriptor:e,elementId:t},r)=>{let n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.Oc,{ref:r,...a,elementDescriptor:e||s.$z.formFieldInput,elementId:t||s.$z.formFieldInput.setId(n.fieldId),focusRing:!1,sx:e=>({width:"fit-content",flexShrink:0,marginTop:e.space.$0x5})})}),V={Root:e=>{let t=(0,m.f0)(),{children:r,isDisabled:n,...o}=e,a=n||t.isLoading,l={...o,isDisabled:a};return(0,i.Y)(u.BQ,{...l,children:r})},Label:e=>{let{isRequired:t,id:r,label:n,isDisabled:o,hasError:a}=(0,u.Wd)();return e.localizationKey||n||e.children?(0,i.Y)(l.lR,{localizationKey:e.localizationKey||n,elementDescriptor:s.$z.formFieldLabel,elementId:s.$z.formFieldLabel.setId(r),hasError:!!a,isDisabled:o,isRequired:t,sx:{display:"flex",alignItems:"center"},children:e.children}):null},LabelRow:e=>{let{fieldId:t}=(0,u.Wd)();return(0,i.Y)(l.so,{justify:"between",align:"center",elementDescriptor:s.$z.formFieldLabelRow,elementId:s.$z.formFieldLabelRow.setId(t),children:e.children})},Input:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.pd,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),PasswordInput:N,PhoneInput:H,InputGroup:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)($,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,groupPrefix:e.groupPrefix,groupSuffix:e.groupSuffix,placeholder:r(o)})}),RadioItem:W,CheckboxIndicator:K,CheckboxLabel:e=>{let{label:t,id:r}=(0,u.Wd)();return t?(0,i.Y)(U,{label:t,id:r,description:e.description}):null},Action:e=>{let{fieldId:t,isDisabled:r}=(0,u.Wd)();return e.localizationKey||e.children?(0,i.Y)(l.N_,{localizationKey:e.localizationKey,elementDescriptor:s.$z.formFieldAction,elementId:s.$z.formFieldLabel.setId(t),isDisabled:r,colorScheme:"primary",variant:"buttonSmall",onClick:t=>{t.preventDefault(),e.onClick?.(t)},children:e.children}):null},AsOptional:()=>{let{fieldId:e,isDisabled:t}=(0,u.Wd)();return(0,i.Y)(l.EY,{localizationKey:(0,c.G)("formFieldHintText__optional"),elementDescriptor:s.$z.formFieldHintText,elementId:s.$z.formFieldHintText.setId(e),as:"span",variant:"caption",colorScheme:"secondary",isDisabled:t})},LabelIcon:e=>{let{t}=(0,d._)();return e.icon?(0,i.Y)(l.so,{as:"span",title:t((0,c.G)("formFieldHintText__slug")),sx:{marginRight:"auto"},children:(0,i.Y)(l.In,{icon:e.icon,sx:e=>({marginLeft:e.space.$0x5,color:e.colors.$neutralAlpha400,width:e.sizes.$4,height:e.sizes.$4})})}):null},Feedback:e=>{let{fieldId:t,debouncedFeedback:r}=(0,u.Wd)();return(0,i.Y)(w,{center:e.center,...r,elementDescriptors:e.elementDescriptors,id:t})},OTPRoot:p.oA,OTPCodeControl:p.iG,OTPResendButton:p.Ro}},2454:function(e,t,r){r.d(t,{l:()=>b});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(2861),c=r(4901),d=r(8975),u=r(3269),p=r(5507);let[m,h]=(0,o.e3)("FormState"),f=e=>{let{isOptional:t,isLastAuthenticationStrategy:r,icon:o,actionLabel:i,children:s,onActionClicked:c,...d}=e;return(0,n.Y)(p.D.Root,{...d,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.formField,elementId:l.$z.formField.setId(d.id),sx:{position:"relative",flex:"1 1 auto"},children:[(0,n.FD)(a.so,{direction:"col",sx:e=>({gap:e.space.$2}),children:[(0,n.FD)(p.D.LabelRow,{children:[(0,n.Y)(p.D.Label,{}),(0,n.Y)(p.D.LabelIcon,{icon:o}),!i&&t&&(0,n.Y)(p.D.AsOptional,{}),i&&(0,n.Y)(p.D.Action,{localizationKey:i,onClick:c}),r&&!i&&!t&&(0,n.Y)(g,{}),(0,n.Y)(p.D.Action,{})]}),s]}),(0,n.Y)(p.D.Feedback,{})]})})},g=e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(d.j,{...e,sx:e=>({opacity:r||t?e.opacity.$disabled:1})})},b={Root:e=>{let t=(0,u.f0)(),r=(0,c.m)(),[o,s]=(0,i.useState)(!1),d=async n=>{if(n.preventDefault(),n.stopPropagation(),e.onSubmit)try{t.setLoading(),r.setLoading(),s(!0),await e.onSubmit(n)}finally{t.setIdle(),r.setIdle()}},p=i.useMemo(()=>({value:{isLoading:r.isLoading,isDisabled:t.isLoading||r.isLoading,submittedWithEnter:o}}),[t.isLoading,r.isLoading,o]);return(0,n.Y)(m.Provider,{value:p,children:(0,n.FD)(a.lV,{elementDescriptor:l.$z.form,gap:6,...e,onSubmit:d,children:[(0,n.Y)("button",{type:"submit","aria-hidden":!0,style:{visibility:"hidden",position:"absolute"}}),e.children]})})},ControlRow:e=>{let{elementId:t,...r}=e;return(0,n.Y)(a.so,{elementDescriptor:l.$z.formFieldRow,elementId:l.$z.formFieldRow.setId(t),justify:"between",gap:4,...r})},PlainInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.Input,{})}),PasswordInput:(0,i.forwardRef)((e,t)=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PasswordInput,{ref:t})})),PhoneInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PhoneInput,{})}),OTPInput:e=>{let{centerAlign:t=!0}=e;return(0,n.Y)(p.D.Root,{...e.otpControl.otpInputProps,children:(0,n.Y)(p.D.OTPRoot,{...e,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.form,gap:2,align:t?"center":"start",children:[(0,n.FD)(a.so,{elementDescriptor:l.$z.otpCodeField,isLoading:e.isLoading,hasError:"error"===e.otpControl.otpInputProps.feedbackType,direction:"col",children:[(0,n.Y)(p.D.OTPCodeControl,{}),(0,n.Y)(p.D.Feedback,{center:!0,elementDescriptors:{error:l.$z.otpCodeFieldErrorText,success:l.$z.otpCodeFieldSuccessText}})]}),(0,n.Y)(p.D.OTPResendButton,{})]})})})},InputGroup:e=>{let{groupSuffix:t,groupPrefix:r,...o}=e;return(0,n.Y)(f,{...o,children:(0,n.Y)(p.D.InputGroup,{groupSuffix:t,groupPrefix:r})})},RadioGroup:e=>{let{radioOptions:t,...r}=e;return(0,n.FD)(p.D.Root,{...r,children:[(0,n.Y)(a.fv,{elementDescriptor:l.$z.formFieldRadioGroup,gap:3,children:t?.map(({value:e,description:t,label:r})=>(0,n.Y)(a.so,{sx:e=>({borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,borderRadius:e.radii.$md,padding:e.space.$2}),children:(0,n.Y)(p.D.RadioItem,{value:e,label:r,description:t})},e))}),(0,n.Y)(p.D.Feedback,{})]})},Checkbox:e=>(0,n.Y)(p.D.Root,{...e,children:(0,n.FD)(a.so,{align:"start",children:[(0,n.Y)(p.D.CheckboxIndicator,{}),(0,n.Y)(p.D.CheckboxLabel,{description:e.description})]})}),SubmitButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonPrimary,block:!0,textVariant:"buttonLarge",isLoading:t,isDisabled:r,type:"submit",...e,localizationKey:e.localizationKey||(0,s.G)("formButtonPrimary")})},ResetButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonReset,block:!0,variant:"ghost",type:"reset",isDisabled:t||r,...e})},CommonInputWrapper:f}},1475:function(e,t,r){r.d(t,{G:()=>s,c:()=>c});var n=r(4518),o=r(8272),i=r(1550),a=r(2861),l=r(2454);let s=e=>{let{isDisabled:t,onReset:r,submitLabel:o,resetLabel:s,hideReset:d,...u}=e,{navigateToFlowStart:p}=(0,i.C)();return(0,n.FD)(c,{children:[(0,n.Y)(l.l.SubmitButton,{block:!1,isDisabled:t,localizationKey:o||(0,a.G)("userProfile.formButtonPrimary__save"),...u}),!d&&(0,n.Y)(l.l.ResetButton,{localizationKey:s||(0,a.G)("userProfile.formButtonReset"),block:!1,onClick:r||p})]})},c=e=>(0,n.Y)(o.so,{direction:"rowReverse",gap:2,...e,children:e.children})},3549:function(e,t,r){r.d(t,{M:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6088),l=r(3269),s=r(6153);let c=e=>{let{headerTitle:t,headerTitleTextVariant:r="h3",headerSubtitle:c,headerSubtitleTextVariant:d="body",children:u,sx:p,...m}=e,h=(0,l.f0)();return(0,n.FD)(o.fv,{elementDescriptor:i.$z.formContainer,gap:4,...m,sx:[p],children:[(t||c)&&(0,n.FD)(s.Y.Root,{children:[t&&(0,n.Y)(s.Y.Title,{textVariant:r,..."string"==typeof t?{children:t}:{localizationKey:t}}),c&&(0,n.Y)(s.Y.Subtitle,{variant:d,..."string"==typeof c?{children:c}:{localizationKey:c}})]}),(0,n.Y)(a.Z.Alert,{children:h.error}),(0,n.Y)(o.fv,{gap:8,children:u})]})}},1323:function(e,t,r){r.d(t,{R:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(7651);let l=e=>{let t=(0,a.Om)(e.value);return(0,n.Y)(o.EY,{as:"span",elementDescriptor:i.$z.formattedPhoneNumberText,children:t})}},2611:function(e,t,r){r.d(t,{K:()=>a});var n=r(4518),o=r(8272),i=r(8920);let a=()=>(0,n.Y)(o.so,{center:!0,sx:{height:"100%"},children:(0,n.Y)(o.y$,{colorScheme:"primary",size:"lg",elementDescriptor:i.$z.spinner})})},6153:function(e,t,r){r.d(t,{Y:()=>f});var n,o=r(4518),i=r(5074),a=r(6580),l=r(8272),s=r(8920);function c(){return(c=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)}let d=function(e){return i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},e),n||(n=i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4m6 6-6-6 6-6"})))};var u=r(2037),p=r(6505);let m=i.memo(i.forwardRef((e,t)=>{let{sx:r,children:n,contentSx:i,gap:c=6,showLogo:d=!1,showDivider:m=!1,...h}=e,f="inside"===(0,a.K)().parsedOptions.logoPlacement&&d,g=m&&f;return(0,o.FD)(l.fv,{ref:t,elementDescriptor:s.$z.header,gap:c,sx:r,...h,children:[f&&(0,o.Y)(u.G,{}),g&&(0,o.Y)(p.G,{}),(0,o.Y)(l.fv,{gap:1,sx:i,...h,children:n})]})})),h=i.memo(e=>{let{sx:t,textVariant:r="h2",...n}=e;return(0,o.Y)(l.DZ,{elementDescriptor:s.$z.headerTitle,textVariant:r,sx:t,...n})}),f={Root:m,Title:h,Subtitle:i.memo(e=>{let{sx:t,...r}=e;return(0,o.Y)(l.EY,{elementDescriptor:s.$z.headerSubtitle,variant:"body",colorScheme:"secondary",sx:[{wordWrap:"break-word"},t],...r})}),BackLink:i.memo(e=>{let{sx:t,children:r,...n}=e;return(0,o.FD)(l.N_,{elementDescriptor:s.$z.headerBackLink,sx:e=>[{display:"inline-flex",alignItems:"center",gap:e.space.$2,width:"fit-content","&:hover":{textDecoration:"none"}},t],...n,children:[(0,o.Y)(l.In,{icon:d,sx:e=>({color:e.colors.$colorForeground})}),r]})})}},155:function(e,t,r){r.d(t,{K:()=>l});var n=r(4518),o=r(5074),i=r(78),a=r(8272);let l=e=>{let{children:t,icon:r,localizationKey:l,iconElementDescriptor:s,...c}=e,{t:d}=(0,i._)(),u=d(l),p=(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{"aria-hidden":!0,focusable:!1}):(0,n.Y)(a.In,{elementDescriptor:s,icon:r,size:"md"});return(0,n.Y)(a.$n,{...c,children:(0,n.FD)(n.FK,{children:[p,u||t]})})}},6384:function(e,t,r){r.d(t,{A:()=>i});var n=r(4518),o=r(8272);let i=e=>{let{icon:t,boxElementDescriptor:r,iconElementDescriptor:i,sx:a,...l}=e;return(0,n.Y)(o.so,{center:!0,elementDescriptor:r,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,width:e.sizes.$16,height:e.sizes.$16,borderRadius:e.radii.$circle}),a],...l,children:(0,n.Y)(o.In,{elementDescriptor:i,icon:t,size:"lg",sx:e=>({color:e.colors.$neutralAlpha600})})})}},196:function(e,t,r){r.d(t,{$:()=>m});var n,o=r(4518),i=r(6435),a=r(5074),l=r(8272),s=r(8920);function c(){return(c=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)}let d=function(e){return a.createElement("svg",c({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),n||(n=a.createElement("path",{d:"M13.598 5.108c-.418.419-.628.628-.847.669-.22.04-.364-.104-.652-.392l-.984-.984c-.288-.288-.432-.432-.392-.652.04-.22.25-.428.669-.847l.226-.227c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-.227.226ZM4.66 13.688l-1.206.223c-.5.092-.75.138-.876.011-.127-.126-.08-.376.011-.876l.223-1.206c.04-.217.06-.325.118-.43.058-.105.15-.196.33-.377l5.554-5.554c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-5.554 5.553c-.181.182-.272.273-.377.331-.105.058-.213.078-.43.118ZM9.25 12.5a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5Z",fill:"currentColor"})))};var u=r(9835),p=r(7651);let m=e=>{let{avatarUrl:t=(0,i.l)("avatar_placeholder","jpeg"),identifier:r,onClick:n,...c}=e,m=a.useRef({avatarUrl:t,identifier:(0,u.u)(r)}),h=n&&(0,o.Y)(l.$n,{elementDescriptor:s.$z.identityPreviewEditButton,variant:"link",textVariant:"buttonSmall",onClick:n,"aria-label":"Edit",children:(0,o.Y)(l.In,{elementDescriptor:s.$z.identityPreviewEditButtonIcon,icon:d})});if(!m.current.identifier)return(0,o.Y)(b,{...c,children:h});if((0,u.R)(m.current.identifier)||!m.current.identifier.startsWith("+"))return(0,o.FD)(b,{...c,children:[(0,o.Y)(f,{...m.current}),h]});let v=(0,p.Xd)(m.current.identifier||""),y=(0,p.eL)(v.iso);return(0,o.FD)(b,{...c,children:[(0,o.Y)(g,{identifier:m.current.identifier,flag:y}),h]})},h=e=>(0,o.Y)(l.EY,{elementDescriptor:s.$z.identityPreviewText,colorScheme:"secondary",truncate:!0,...e}),f=e=>(0,o.Y)(h,{children:e.identifier}),g=e=>(0,o.FD)(o.FK,{children:[(0,o.Y)(l.EY,{sx:e=>({fontSize:e.fontSizes.$sm}),children:e.flag}),(0,o.Y)(h,{children:e.identifier})]}),b=e=>(0,o.Y)(l.so,{elementDescriptor:s.$z.identityPreview,align:"center",gap:2,sx:{justifyContent:"center"},...e})},2421:function(e,t,r){r.d(t,{k:()=>a});var n=r(4518),o=r(8272),i=r(9068);function a(e){return(0,n.FD)(o.so,{sx:e=>({gap:e.space.$2,padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md}),children:[(0,n.Y)(o.In,{icon:i.A,sx:e=>({opacity:e.opacity.$disabled})}),(0,n.Y)(o.EY,{localizationKey:e.message,sx:e=>({color:e.colors.$colorMutedForeground})})]})}},5013:function(e,t,r){r.d(t,{e:()=>a});var n=r(4518),o=r(5074),i=r(8272);let a=o.forwardRef((e,t)=>{let{leftIcon:r,sx:o,...a}=e;return(0,n.FD)(i.so,{center:!0,sx:{width:"100%",position:"relative"},children:[r?(0,n.Y)(i.az,{sx:e=>[{position:"absolute",left:e.space.$3x5,width:e.sizes.$3x5,height:e.sizes.$3x5,pointerEvents:"none",display:"grid",placeContent:"center","& svg":{position:"absolute",width:"100%",height:"100%"}}],children:r}):null,(0,n.Y)(i.pd,{...a,sx:[e=>({width:"100%",paddingLeft:e.space.$10}),o],ref:t})]})})},2689:function(e,t,r){r.d(t,{d:()=>g});var n=r(4518),o=r(7697),i=r(78),a=r(2861),l=r(8272),s=r(8920),c=r(6580),d=r(593),u=r(5507),p=r(5074);let m=/\[([^\]]+)\]\(([^)]+)\)/g,h=(0,p.memo)(({text:e,...t})=>{let r=(0,p.useMemo)(()=>t,[t]);return(0,p.useMemo)(()=>{let t=[],o=0;return e.replace(m,(i,a,s,c)=>(c>o&&t.push(e.slice(o,c)),t.push((0,n.Y)(l.N_,{href:s,...r,children:a},c)),o=c+i.length,i)),o<e.length&&t.push(e.slice(o)),t},[e,r])}),f=e=>{let t,{termsUrl:r,privacyPolicyUrl:o}=e,{t:c}=(0,i._)(),u=(0,d.Wd)(),{placeholder:p,...m}=(0,d.Uj)(u);return r&&o?t=(0,a.G)("signUp.legalConsent.checkbox.label__termsOfServiceAndPrivacyPolicy",{termsOfServiceLink:r,privacyPolicyLink:o}):r?t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyTermsOfService",{termsOfServiceLink:r}):o&&(t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyPrivacyPolicy",{privacyPolicyLink:o})),(0,n.Y)(l.lR,{elementDescriptor:s.$z.formFieldCheckboxLabel,htmlFor:m.id,isDisabled:m.isDisabled,sx:e=>({paddingLeft:e.space.$1x5,textAlign:"left"}),children:(0,n.Y)(l.EY,{variant:"body",as:"span",children:(0,n.Y)(h,{text:c(t),isExternal:!0,sx:e=>({textDecoration:"underline",textUnderlineOffset:e.space.$1})})})})},g=e=>{let{displayConfig:t}=(0,o.O)(),{parsedOptions:r}=(0,c.K)(),i=r.termsPageUrl||t.termsUrl,a=r.privacyPageUrl||t.privacyPolicyUrl;return(0,n.Y)(u.D.Root,{...e,children:(0,n.FD)(l.so,{justify:"center",children:[(0,n.Y)(u.D.CheckboxIndicator,{elementDescriptor:s.$z.formFieldCheckboxInput,elementId:s.$z.formFieldInput.setId("legalAccepted")}),(0,n.Y)(f,{termsUrl:i,privacyPolicyUrl:a})]})})}},9436:function(e,t,r){r.d(t,{p:()=>f});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(7782),s=r(2405),c=r(2852),d=r(1464),u=r(9606);let p=o.createContext(void 0);function m({text:e}){let{onCopy:t}=(0,l.i)(e);return(0,n.Y)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,display:"flex",minWidth:"0"}),onCopy:async e=>{e.preventDefault(),await t()},children:(0,u.W)(e,15)})}function h({text:e,copyLabel:t="Copy"}){let{onCopy:r,hasCopied:o}=(0,l.i)(e);return(0,n.Y)(i.$n,{variant:"unstyled",onClick:r,sx:e=>({color:"inherit",width:e.sizes.$4,height:e.sizes.$4,padding:0,borderRadius:e.radii.$sm,"&:focus-visible":{outline:"2px solid",outlineColor:e.colors.$colorRing}}),focusRing:!1,"aria-label":o?"Copied":t,children:(0,n.Y)(i.In,{size:"sm",icon:o?s.A:c.A,"aria-hidden":!0})})}let f={Root:function({children:e}){return(0,n.Y)(i.Dl,{elementDescriptor:a.$z.lineItemsRoot,sx:e=>({display:"grid",gridRowGap:e.space.$2}),children:e})},Group:function({children:e,borderTop:t=!1,variant:r="primary"}){return(0,n.Y)(p.Provider,{value:{variant:r},children:(0,n.Y)(i.az,{elementDescriptor:a.$z.lineItemsGroup,elementId:a.$z.lineItemsGroup.setId(r),sx:e=>({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",...t?{borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$2}:{}}),children:e})})},Title:o.forwardRef(({title:e,description:t,icon:r,badge:l=null},s)=>{let c=o.useContext(p);if(!c)throw Error("LineItems.Title must be used within LineItems.Group");let{variant:u}=c,m="primary"===u?"subtitle":"caption";return(0,n.FD)(i.Dt,{ref:s,elementDescriptor:a.$z.lineItemsTitle,elementId:a.$z.lineItemsTitle.setId(u),sx:e=>({display:"grid",color:"primary"===u?e.colors.$colorForeground:e.colors.$colorMutedForeground,...d.s.textVariants(e)[m]}),children:[e?(0,n.FD)(i.L9,{sx:e=>({display:"inline-flex",alignItems:"center",gap:e.space.$1}),children:[r?(0,n.Y)(i.In,{size:"md",icon:r,"aria-hidden":!0}):null,(0,n.Y)(i.L9,{localizationKey:e}),l]}):null,t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsTitleDescription,sx:e=>({fontSize:e.fontSizes.$sm,color:e.colors.$colorMutedForeground})}):null]})}),Description:function({text:e,prefix:t,suffix:r,truncateText:l=!1,copyText:s=!1,copyLabel:c}){let u=o.useContext(p);if(!u)throw Error("LineItems.Description must be used within LineItems.Group");let{variant:f}=u;return(0,n.FD)(i.Dd,{elementDescriptor:a.$z.lineItemsDescription,elementId:a.$z.lineItemsDescription.setId(f),sx:e=>({display:"grid",justifyContent:"end",color:"tertiary"===f?e.colors.$colorMutedForeground:e.colors.$colorForeground}),children:[(0,n.FD)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionInner,sx:e=>({display:"inline-flex",justifyContent:"flex-end",alignItems:"center",gap:e.space.$1,minWidth:"0"}),children:[t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsDescriptionPrefix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption})}):null,"string"==typeof e&&l?(0,n.Y)(m,{text:e}):(0,n.Y)(i.L9,{localizationKey:e,elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,minWidth:"0",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}),"string"==typeof e&&s?(0,n.Y)(h,{text:e,copyLabel:c}):null]}),r?(0,n.Y)(i.L9,{localizationKey:r,elementDescriptor:a.$z.lineItemsDescriptionSuffix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption,justifySelf:"flex-end"})}):null]})}}},6980:function(e,t,r){r.d(t,{B:()=>d,W:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6142),l=r(6088),s=r(3269);let c=({children:e})=>(0,n.FD)(o.so,{direction:"col",center:!0,elementDescriptor:i.$z.main,gap:8,sx:e=>({marginTop:e.space.$16,marginBottom:e.space.$13}),children:[(0,n.Y)(o.y$,{size:"xl",colorScheme:"primary",elementDescriptor:i.$z.spinner}),e]}),d=(0,s.dm)(()=>{let e=(0,s.f0)();return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.Y)(l.Z.Alert,{children:e.error}),(0,n.Y)(c,{}),(0,n.Y)(a.j,{})]}),(0,n.Y)(l.Z.Footer,{})]})})},4365:function(e,t,r){r.d(t,{Dr:()=>y,W1:()=>f,cO:()=>v,cQ:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8920),l=r(8272),s=r(1577),c=r(4374),d=r(4620),u=r(3269),p=r(4373);let[m,h]=(0,o.e3)("MenuState"),f=(0,u.P4)(e=>{let{popoverPlacement:t="bottom-end",elementId:r,...o}=e,a=(0,s.f)({placement:t,offset:8,shoudFlip:!0}),l=i.useMemo(()=>({value:{popoverCtx:a,elementId:r}}),[{...a},r]);return(0,n.Y)(m.Provider,{value:l,...o})}),g=e=>{let{children:t,arialLabel:r}=e,{popoverCtx:n,elementId:o}=h(),{reference:l,toggle:s,isOpen:c}=n,d="function"==typeof r?r(c):r;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{ref:l,elementDescriptor:t.props.elementDescriptor||a.$z.menuButton,elementId:t.props.elementId||a.$z.menuButton.setId(o),"aria-label":d,"aria-expanded":c,onClick:e=>{t.props?.onClick?.(e),s()}}):null},b=(e,t,r)=>{let n=r?.countSelf?e.tagName:"",o=e;for(;o&&"BUTTON"!==n.toUpperCase();)o=o["prev"===t?"previousElementSibling":"nextElementSibling"],n=o?.tagName??"";return o},v=e=>{let{sx:t,asPortal:r,...o}=e,{popoverCtx:s,elementId:u}=h(),{floating:m,styles:f,isOpen:g,context:v,nodeId:y}=s,w=(0,i.useRef)(null);return(0,i.useLayoutEffect)(()=>{m(w.current)},[g]),(0,n.Y)(p.A,{context:v,nodeId:y,isOpen:g,portal:r,children:(0,n.Y)(l.fv,{elementDescriptor:a.$z.menuList,elementId:a.$z.menuList.setId(u),ref:w,role:"menu",onKeyDown:e=>{let t=w.current;if(t&&t===document.activeElement&&"ArrowDown"===e.key)return e.preventDefault(),b(t.children[0],"next",{countSelf:!0})?.focus()},sx:[e=>({backgroundColor:d.T.makeSolid(e.colors.$colorBackground),borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,outline:"none",borderRadius:e.radii.$md,padding:e.space.$0x5,overflow:"hidden",top:`calc(100% + ${e.space.$2})`,animation:`${c.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",zIndex:e.zIndices.$dropdown,gap:e.space.$0x5}),t],style:f,...o})})},y=e=>{let{sx:t,onClick:r,destructive:o,closeAfterClick:s=!0,...c}=e,{popoverCtx:d,elementId:u}=h(),{toggle:p}=d,m=(0,i.useRef)(null);return(0,n.Y)(l.dF,{ref:m,elementDescriptor:a.$z.menuItem,elementId:a.$z.menuItem.setId(u),hoverAsFocus:!0,variant:"ghost",colorScheme:o?"danger":"neutral",role:"menuitem",onKeyDown:e=>{let t=m.current;if(!t)return;let r=e.key;if("ArrowUp"!==r&&"ArrowDown"!==r)return;e.preventDefault();let n=b(t,"ArrowUp"===r?"prev":"next");n?.focus()},focusRing:!1,onClick:e=>{r?.(e),s&&p()},sx:[e=>({justifyContent:"start",borderRadius:e.radii.$sm,padding:`${e.space.$1} ${e.space.$3}`}),t],...c})}},6705:function(e,t,r){r.d(t,{Modal:()=>b,Y:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(8792),d=r(4374),u=r(7591),p=r(3269),m=r(4373);let[h,f,g]=(0,o.e3)("ModalContext"),b=(0,p.P4)(e=>{let{disableScrollLock:t,enableScrollLock:r}=(0,c.K)(),{handleClose:p,handleOpen:f,contentSx:g,containerSx:b,canCloseModal:v,id:y,style:w,portalRoot:$,initialFocusRef:x}=e,_=(0,o.Sj)(),S=(0,i.useRef)(null),{floating:C,isOpen:k,context:A,nodeId:I,toggle:z}=(0,s.f)({defaultOpen:!0,autoUpdate:!1,outsidePress:e=>e.target===S.current,canCloseModal:v});i.useEffect(()=>{k?f?.():p?.()},[k]);let P=i.useMemo(()=>({value:!1===v?{}:{toggle:z}}),[z,v]);(0,o.UQ)(()=>(r(),()=>{t()}),[]);let D=$??_?.()??void 0;return(0,n.Y)(m.A,{nodeId:I,context:A,isOpen:k,outsideElementsInert:!0,root:D,initialFocus:x,children:(0,n.Y)(h.Provider,{value:P,children:(0,n.Y)(a.so,{id:y,ref:S,elementDescriptor:l.$z.modalBackdrop,style:w,sx:[e=>({animation:`${d.W.fadeIn} 150ms ${e.transitionTiming.$common}`,zIndex:e.zIndices.$modal,backgroundColor:e.colors.$colorModalBackdrop,alignItems:"flex-start",justifyContent:"center",overflow:"auto",width:"100vw",height:["100vh","-webkit-fill-available"],position:"fixed",left:0,top:0}),b],children:(0,n.Y)(a.so,{elementDescriptor:l.$z.modalContent,ref:C,"aria-modal":"true",role:"dialog",sx:[e=>({position:"relative",outline:0,animation:`${d.W.modalSlideAndFade} 180ms ${e.transitionTiming.$easeOut}`,margin:`${e.space.$16} 0`,[u.g.sm]:{margin:`${e.space.$10} 0`}}),g],children:e.children})})})})})},9764:function(e,t,r){r.d(t,{oT:()=>D,jq:()=>A,n8:()=>C,XM:()=>k});var n,o=r(4518),i=r(9361),a=r(5074),l=r(8272),s=r(8920),c=r(78),d=r(1550),u=r(1577);function p(){return(p=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)}let m=function(e){return a.createElement("svg",p({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z"})))};var h=r(4964),f=r(7591),g=r(1464),b=r(4374),v=r(4620),y=r(6088),w=r(3269),$=r(846),x=r(4373);let[_,S,C]=(0,i.e3)("NavbarContext"),k=({children:e,contentRef:t})=>{let[r,n]=a.useState(!1),i=a.useCallback(()=>n(!0),[]),l=a.useCallback(()=>n(!1),[]),s=a.useMemo(()=>({value:{isOpen:r,open:i,close:l,contentRef:t}}),[r]);return(0,o.Y)(_.Provider,{value:s,children:e})},A=e=>{let{contentRef:t,title:r,description:n,routes:i,header:c}=e,{close:u}=S(),{navigate:p}=(0,h.r)(),{navigateToFlowStart:m}=(0,d.C)(),f=(0,h.r)(),g=async e=>{t.current&&(u(),"/"===e.path?await m():await p(e.path))},b=(0,a.useCallback)(e=>{if(e.external)return!1;let t=f.currentPath===f.fullPath&&"/"===e.path,r=f.matches(e.path);return t||r},[f.currentPath]),v=(0,o.Y)(l.fv,{elementDescriptor:s.$z.navbarButtons,sx:e=>({gap:e.space.$0x5}),children:i.map(e=>(0,o.Y)(P,{elementDescriptor:s.$z.navbarButton,elementId:s.$z.navbarButton.setId(e.id),iconElementDescriptor:s.$z.navbarButtonIcon,iconElementId:s.$z.navbarButtonIcon.setId(e.id),onClick:e?.external?()=>p(e.path):()=>g(e),icon:e.icon,isActive:b(e),sx:e=>({padding:`${e.space.$1x5} ${e.space.$3}`,minHeight:e.space.$8}),children:(0,o.Y)(l.L9,{elementDescriptor:s.$z.navbarButtonText,elementId:s.$z.navbarButtonText.setId(e.id),localizationKey:e.name})},e.id))});return(0,o.FD)(o.FK,{children:[(0,o.FD)(I,{title:r,description:n,children:[c,v]}),(0,o.FD)(z,{children:[c,v]})]})},I=e=>{let{title:t,description:r}=e;return(0,o.FD)(l.fv,{elementDescriptor:s.$z.navbar,sx:e=>({[f.g.md]:{display:"none"},flex:`0 0 ${e.space.$57}`,width:e.sizes.$57,position:"relative",maxWidth:e.space.$57,background:g.s.mutedBackground(e),padding:`${e.space.$6} ${e.space.$5} ${e.space.$4} ${e.space.$3}`,marginRight:`calc(${e.space.$2} * -1)`,color:e.colors.$colorForeground,justifyContent:"space-between"}),children:[(0,o.Y)($.$,{}),(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$6,flex:`0 0 ${e.space.$60}`}),children:[(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$0x5,padding:`${e.space.$none} ${e.space.$3}`}),children:[(0,o.Y)(l.DZ,{as:"h1",localizationKey:t}),(0,o.Y)(l.EY,{colorScheme:"secondary",localizationKey:r})]}),e.children]}),(0,o.Y)(y.Z.ClerkAndPagesTag,{sx:{width:"fit-content"}})]})},z=(0,w.P4)(e=>{let t=S(),{floating:r,isOpen:n,open:i,close:c,nodeId:d,context:p}=(0,u.f)({defaultOpen:!1,autoUpdate:!1});return a.useEffect(()=>{t.isOpen?i():c()},[t.isOpen]),a.useEffect(()=>{n||t.close()},[n]),(0,o.Y)(x.A,{nodeId:d,context:p,isOpen:n,portal:!1,children:(0,o.Y)(l.fv,{sx:e=>({position:"absolute",top:0,bottom:0,width:"100%",zIndex:e.zIndices.$navbar,overflow:"hidden",color:e.colors.$colorForeground}),children:(0,o.Y)(l.fv,{ref:r,elementDescriptor:s.$z.navbar,tabIndex:0,sx:e=>({outline:0,position:"absolute",top:0,bottom:0,width:e.space.$60,backgroundColor:v.T.makeSolid(e.colors.$colorBackground),borderTopRightRadius:e.radii.$lg,borderBottomRightRadius:e.radii.$lg,padding:`${e.space.$10} ${e.space.$6}`,animation:`${b.W.navbarSlideIn} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,borderRightWidth:e.borderWidths.$normal,borderRightStyle:e.borderStyles.$solid,borderRightColor:e.colors.$borderAlpha150,boxShadow:e.shadows.$cardContentShadow}),children:e.children})})})}),P=e=>{let{icon:t,children:r,isActive:n,iconElementDescriptor:i,iconElementId:a,sx:s,...c}=e;return(0,o.FD)(l.$n,{variant:"unstyled",colorScheme:n?"primary":"neutral",textVariant:"buttonLarge",size:"md",isActive:n,focusRing:!1,...c,sx:[e=>({gap:e.space.$3,justifyContent:"flex-start",backgroundColor:n?e.colors.$neutralAlpha100:void 0,color:n?e.colors.$primary500:e.colors.$colorMutedForeground,"&:hover":{backgroundColor:n?void 0:e.colors.$neutralAlpha25},"&:focus":{backgroundColor:n?void 0:e.colors.$neutralAlpha50}}),s],children:[(0,o.Y)(l.In,{elementDescriptor:i,elementId:a,icon:t,sx:{opacity:n?1:.7,transform:"translateZ(0)"}}),r]})},D=({navbarTitleLocalizationKey:e,...t})=>{let{open:r}=C(),{t:n}=(0,c._)();return r?(0,o.Y)(l.so,{elementDescriptor:s.$z.navbarMobileMenuRow,sx:e=>({display:"none",background:g.s.mutedBackground(e),padding:`${e.space.$2} ${e.space.$3} ${e.space.$4} ${e.space.$3}`,marginBottom:`calc(${e.space.$2} * -1)`,[f.g.md]:{display:"flex"}}),children:(0,o.FD)(l.$n,{elementDescriptor:s.$z.navbarMobileMenuButton,...t,onClick:r,size:"xs",textVariant:"h2",variant:"ghost",sx:e=>({color:e.colors.$colorForeground,gap:e.space.$2x5,width:"fit-content",alignItems:"center",justifyContent:"center"}),children:[(0,o.Y)(l.In,{elementDescriptor:s.$z.navbarMobileMenuButtonIcon,icon:m,size:"md"}),n(e)]})}):null}},6890:function(e,t,r){r.d(t,{h:()=>i});var n=r(4518),o=r(6195);let i=e=>{let{name:t="",imageUrl:r,...i}=e;return(0,n.Y)(o.e,{title:t,initials:(t||" ")[0],imageUrl:r,rounded:!1,...i})}},9001:function(e,t,r){r.d(t,{Q:()=>s});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(3486),l=r(6890);let s=e=>{let{organization:t,size:r="md",icon:s,rounded:c=!1,badge:d,sx:u,user:p,avatarSx:m,mainIdentifierSx:h,mainIdentifierVariant:f,elementId:g,...b}=e,{localizeCustomRole:v}=(0,a.l)(),y=p?.organizationMemberships.find(e=>e.organization.id===t.id),w=y?.roleName,$=v(y?.role)||w;return(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreview,elementId:i.$z.organizationPreview.setId(g),gap:3,align:"center",as:"span",sx:[{minWidth:"0"},u],...b,children:[(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewAvatarContainer,elementId:i.$z.organizationPreviewAvatarContainer.setId(g),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(l.h,{boxElementDescriptor:i.$z.organizationPreviewAvatarBox,imageElementDescriptor:i.$z.organizationPreviewAvatarImage,...t,size:e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[r],sx:m,rounded:c}),s&&(0,n.Y)(o.so,{sx:{position:"absolute",left:0,bottom:0},children:s})]}),(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewTextContainer,elementId:i.$z.organizationPreviewTextContainer.setId(g),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(o.EY,{elementDescriptor:i.$z.organizationPreviewMainIdentifier,elementId:i.$z.organizationPreviewMainIdentifier.setId(g),variant:f||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[r],as:"span",truncate:!0,sx:h,title:t.name,children:[t.name," ",d]}),$&&(0,n.Y)(o.EY,{elementDescriptor:i.$z.organizationPreviewSecondaryIdentifier,elementId:i.$z.organizationPreviewSecondaryIdentifier.setId(g),as:"span",localizationKey:$,truncate:!0})]})]})}},8819:function(e,t,r){r.d(t,{d:()=>y});var n,o,i=r(4518),a=r(8272),l=r(8920),s=r(2861),c=r(78),d=r(5074);function u(){return(u=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)}let p=function(e){return d.createElement("svg",u({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.55 4.24a.75.75 0 0 1-.04 1.06L6.604 7.998l2.655 2.45a.744.744 0 0 1 .021.022l.25.25a.75.75 0 1 1-1.06 1.06l-.24-.24-3.239-2.989a.75.75 0 0 1-.001-1.1l3.5-3.25a.75.75 0 0 1 1.06.039Z"})))};function m(){return(m=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)}let h=function(e){return d.createElement("svg",m({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),o||(o=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.45 11.76a.75.75 0 0 1 .04-1.06l2.906-2.698-2.655-2.45a.756.756 0 0 1-.021-.022l-.25-.25a.75.75 0 0 1 1.06-1.06l.24.24 3.239 2.989a.75.75 0 0 1 .001 1.1l-3.5 3.25a.75.75 0 0 1-1.06-.039Z"})))};var f=r(7591);let g=e=>{let{sx:t,isActive:r,icon:n,children:o,...s}=e;return(0,i.FD)(a.$n,{size:"xs",variant:"outline",sx:e=>[{color:e.colors.$colorForeground,opacity:r?1:e.opacity.$inactive,padding:`${e.space.$0x5} ${e.space.$0x5}`},t],elementDescriptor:l.$z.paginationButton,...s,children:[n&&(0,i.Y)(a.In,{size:"md",elementDescriptor:l.$z.paginationButtonIcon,icon:e.icon}),o]})},b=e=>{let{rowInfo:{startingRow:t,endingRow:r,allRowsCount:n}}=e;return(0,i.FD)(a.EY,{children:[(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__displaying"),colorScheme:"secondary"})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("rowsCount"),sx:e=>({fontWeight:e.fontWeights.$medium}),children:t===r&&[0,1].includes(t)?t:`${t} – ${r}`})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__of")})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("allRowsCount"),children:n})]})},v=()=>(0,i.Y)(a.so,{center:!0,children:(0,i.Y)(a.EY,{colorScheme:"secondary",children:"..."})}),y=e=>{let{page:t,count:r,rowInfo:n,siblingCount:o=1,onChange:l}=e,{t:d}=(0,c._)();return(0,i.FD)(a.so,{justify:n?"between":"center",align:"center",sx:e=>({fontSize:e.fontSizes.$sm,"*":{fontSize:"inherit"},[f.g.sm]:{flexDirection:"column",gap:e.space.$2}}),children:[n&&(0,i.Y)(b,{rowInfo:n}),(0,i.FD)(a.so,{gap:2,align:"center",sx:{display:"inline-flex"},children:[(0,i.Y)(g,{isDisabled:t<=1,icon:p,"aria-label":d((0,s.G)("paginationButton__previous")),onClick:()=>{l?.(t-1)}}),Array.from({length:r-1+1},(e,t)=>1+t).map(e=>Math.abs(t-e)<=o||e===r||1===e?(0,i.Y)(g,{isActive:e===t,variant:"ghost",onClick:()=>{l?.(e)},children:e},e):Math.abs(t-e)===o+1?(0,i.Y)(v,{},e):null),(0,i.Y)(g,{isDisabled:t>=r||t<1,icon:h,"aria-label":d((0,s.G)("paginationButton__next")),onClick:()=>{l?.(t+1)}})]})]})}},781:function(e,t,r){r.d(t,{i:()=>i});var n=r(4518),o=r(9345);let i=e=>(0,n.Y)(o.c,{elementId:"personalWorkspace",rounded:!1,...e})},1820:function(e,t,r){r.d(t,{mK:()=>o,nU:()=>a,zh:()=>l});let n=[["United States","us","1","(...) ...-....",100],["United Kingdom","gb","44",".... ......",100],["India","in","91",".....-.....",100],["Canada","ca","1","(...) ...-....",100],["Germany","de","49","... .......",100],["France","fr","33",". .. .. .. ..",100],["Russia","ru","7","... ...-..-..",100],["Afghanistan","af","93"],["\xc5land Islands","ax","358"],["Albania","al","355"],["Algeria","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61","... ... ..."],["Austria","at","43"],["Azerbaijan","az","994"],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375"],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bermuda","bm","1441"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599"],["Cayman Islands","ky","1345"],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","...-....-...."],["Colombia","co","57"],["Comoros","km","269"],["Democratic Republic of the Congo","cd","243"],["Republic of the Congo","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506","....-...."],["C\xf4te d’Ivoire","ci","225"],["Croatia","hr","385"],["Cuba","cu","53"],["Cura\xe7ao","cw","599"],["Cyprus","cy","357"],["Czech Republic","cz","420"],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1"],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372"],["Ethiopia","et","251"],["Falkland Islands","fk","500"],["Faroe Islands","fo","298"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30","... ......."],["Greenland","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590"],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["Indonesia","id","62"],["Iran","ir","98"],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972"],["Italy","it","39","... ......"],["Jamaica","jm","1876"],["Japan","jp","81","... .. ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-.."],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996"],["Laos","la","856"],["Latvia","lv","371"],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262"],["Mexico","mx","52"],["Micronesia","fm","691"],["Moldova","md","373"],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Montserrat","ms","1664"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea","kp","850"],["North Macedonia","mk","389"],["Northern Mariana Islands","mp","1670"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1"],["Qatar","qa","974"],["R\xe9union","re","262"],["Romania","ro","40"],["Rwanda","rw","250"],["Saint Barth\xe9lemy","bl","590"],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin","mf","590"],["Saint Pierre and Miquelon","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Sint Maarten","sx","1721"],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82"],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Eswatini","sz","268"],["Sweden","se","46",".. ... .. .."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["Uruguay","uy","598"],["Uzbekistan","uz","998"],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ...."],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis and Futuna","wf","681"],["Western Sahara","eh","212"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],o={us:new Set(["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]),ca:new Set(["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"])},i=([e,t,r,n="",o=0])=>({name:e,iso:t,code:r,pattern:n,priority:o}),a=n.reduce((e,t)=>e.set(t[1],i(t)),new Map),l=n.reduce((e,t)=>{let r=t[2],n=i(t);return e.has(r)?e.get(r)?.push(n):e.set(r,[n]),e},new Map)},4373:function(e,t,r){r.d(t,{A:()=>a});var n=r(4518),o=r(9361),i=r(2119);r(5074);let a=e=>{let{context:t,initialFocus:r,outsideElementsInert:a=!1,order:l=["reference","content"],nodeId:s,isOpen:c,portal:d=!0,root:u,children:p}=e,m=(0,o.Sj)(),h=u??m?.()??void 0;return d?(0,n.Y)(i.$c,{id:s,children:(0,n.Y)(i.XF,{root:h,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,outsideElementsInert:a,order:l,children:(0,n.Y)(n.FK,{children:p})})})}):(0,n.Y)(i.$c,{id:s,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,order:l,children:(0,n.Y)(n.FK,{children:p})})})}},9972:function(e,t,r){r.d(t,{Y:()=>h});var n=r(4518),o=r(5074),i=r(7697),a=r(4607),l=r(8920),s=r(8272),c=r(6580),d=r(4374),u=r(1464),p=r(4620),m=r(6088);let h={Root:o.forwardRef((e,t)=>{let{elementDescriptor:r,shouldEntryAnimate:o=!0,...i}=e;return(0,n.Y)(a.n.Part,{part:"popover",children:(0,n.Y)(m.Z.Root,{elementDescriptor:[l.$z.popoverBox,r],...i,ref:t,sx:[e=>({width:e.sizes.$94,maxWidth:`calc(100vw - ${e.sizes.$8})`,zIndex:e.zIndices.$modal,borderRadius:e.radii.$xl,outline:"none"}),e=>({animation:o?`${d.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$fast}`:void 0})],children:e.children})})}),Content:e=>{let{sx:t,...r}=e;return(0,n.Y)(s.so,{direction:"col",sx:[e=>({backgroundColor:e.colors.$colorBackground,overflow:"hidden",borderRadius:e.radii.$lg,zIndex:e.zIndices.$card,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginInline:"-1px",marginBlockStart:"-1px"}),t],...r,children:e.children})},Footer:e=>{let{sx:t,children:r,...o}=e,{branded:a}=(0,i.O)().displayConfig,{privacyPageUrl:l,termsPageUrl:d,helpPageUrl:h}=(0,c.K)().parsedOptions;return(0,n.FD)(s.fv,{justify:"between",sx:[e=>({background:u.s.mergedColorsBackground(p.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),marginTop:`calc(${e.space.$2} * -1)`,paddingTop:e.space.$2,"&:empty":{padding:0,marginTop:0},">:not(:first-of-type)":{padding:`${e.space.$4} ${e.space.$8}`,borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}}),t],...o,children:[r,(0,n.Y)(m.Z.ClerkAndPagesTag,{outerSx:e=>({padding:`${e.space.$4} ${e.space.$8}`}),withFooterPages:!!(a||l||d||h),devModeNoticeSx:e=>({padding:e.space.$none}),withDevOverlay:!0})]})}}},1986:function(e,t,r){r.d(t,{Z:()=>i});var n=r(5074),o=r(5323);let i=e=>{let t=n.useRef(document.createElement("div"));return n.useEffect(()=>(document.body.appendChild(t.current),()=>{document.body.removeChild(t.current)}),[]),(0,o.createPortal)(e.children,t.current)}},750:function(e,t,r){r.d(t,{P:()=>a});var n=r(4518),o=r(8272),i=r(3269);let a=e=>{let{sx:t,children:r,icon:a,iconProps:l,showIconOnHover:s=!0,...c}=e,d=(0,i.f0)(),{sx:u,...p}=l||{};return(0,n.FD)(o.$n,{variant:"ghost",colorScheme:"neutral",focusRing:!1,block:!0,hoverAsFocus:!0,isDisabled:d.isLoading,sx:[e=>({justifyContent:"space-between",padding:`${e.space.$4} ${e.space.$5}`,borderRadius:0,...s?{":hover > svg":{visibility:"initial"}}:{}}),t],...c,children:[r,a&&(0,n.Y)(o.In,{icon:a,sx:[e=>({color:e.colors.$colorMutedForeground,marginLeft:e.space.$2,visibility:s?"hidden":"initial"}),u],...p})]})}},5396:function(e,t,r){r.d(t,{a:()=>h});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(4964),s=r(7591),c=r(1464),d=r(5057),u=r(6088),p=r(155),m=r(6705);let h={Root:o.forwardRef((e,t)=>{let{sx:r,children:o,...l}=e,{toggle:c}=(0,m.Y)();return(0,n.FD)(u.Z.Root,{ref:t,sx:[e=>({width:e.sizes.$220,maxWidth:`calc(100vw - ${e.sizes.$8})`,display:"flex",flexDirection:"row",[s.g.md]:{display:"flex",flexDirection:"column"},overflow:"hidden",height:e.sizes.$176,position:"relative"}),r],...l,children:[c&&(0,n.Y)(i.az,{sx:e=>({[s.g.md]:{padding:`${e.space.$1x5} ${e.space.$2}`,top:e.space.$none,right:e.space.$none},zIndex:e.zIndices.$modal,position:"absolute",top:e.space.$2,right:e.space.$2}),children:(0,n.Y)(p.K,{elementDescriptor:a.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:c,icon:(0,n.Y)(i.In,{icon:d.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3})})}),o,(0,n.Y)(u.Z.Footer,{isProfileFooter:!0,sx:{display:"none",[s.g.md]:{display:"flex"}}})]})}),Content:e=>{let{contentRef:t,children:r,scrollBoxId:d}=e,u=(0,l.r)(),p=o.useRef(0);return o.useEffect(()=>{let e=e=>{let t=e.target;t.scrollTop&&(p.current=t.scrollTop)};return t?.current?.addEventListener("scroll",e),()=>t?.current?.removeEventListener("scroll",e)},[]),o.useLayoutEffect(()=>{p.current&&t?.current&&(t.current.scrollTop=p.current)},[u.currentPath]),(0,n.Y)(i.fv,{elementDescriptor:a.$z.scrollBox,sx:e=>({backgroundColor:e.colors.$colorBackground,position:"relative",borderRadius:e.radii.$lg,width:"100%",overflow:"hidden",borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginBlock:"-1px",marginInlineEnd:"-1px",flex:1}),"data-clerk-profile-scroll-box-root":d,children:(0,n.Y)(i.fv,{elementDescriptor:a.$z.pageScrollBox,sx:e=>({flex:"1",scrollbarGutter:"stable",paddingTop:e.space.$7,paddingBottom:e.space.$7,paddingLeft:e.space.$8,paddingRight:e.space.$6,[s.g.sm]:{padding:`${e.space.$8} ${e.space.$5}`},...c.s.maxHeightScroller(e)}),ref:t,children:r})})}}},6760:function(e,t,r){r.d(t,{U:()=>l});var n=r(4518),o=r(5074),i=r(6580),a=r(6505);let l=e=>{let t=(0,i.K)(),r=c(o.Children.toArray(e.children),e=>(0,n.Y)(a.c,{},`divider${e}`));return(0,n.Y)(s,{reverse:"bottom"===t.parsedOptions.socialButtonsPlacement,...e,children:r})},s=e=>{let{children:t,reverse:r}=e;return(0,n.Y)(n.FK,{children:r?o.Children.toArray(t).reverse():t})},c=(e,t)=>e.reduce((r,n,o)=>o===e.length-1?[...r,n]:[...r,n,t(o)],[])},1005:function(e,t,r){r.d(t,{M:()=>i});var n=r(4518),o=r(8272);let i=e=>(0,n.Y)(o.fv,{...e,sx:e=>({boxSizing:"border-box",width:"fit-content",color:e.colors.$colorForeground,fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})})},4387:function(e,t,r){r.d(t,{W:()=>a});var n=r(4518),o=r(8272),i=r(4964);let a=e=>{let{to:t,onClick:r,...a}=e,l=(0,i.r)(),s=l.resolve(t||l.indexPath);return(0,n.Y)(o.N_,{...a,onClick:e=>(e.preventDefault(),r&&!t)?r(e):l.navigate(s.href),href:s.href})}},4003:function(e,t,r){r.d(t,{rd:()=>m});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(9679),s=r(7591),c=r(579),d=r(8738),u=r(4365);let p=(0,o.forwardRef)((e,t)=>{let{children:r,leftIcon:o=l.A,id:i,sx:s,localizationKey:c,...u}=e;return(0,n.Y)(d.X,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(i),variant:"ghost",sx:[e=>({textWrap:"nowrap",justifyContent:"start",height:e.sizes.$8}),s],textLocalizationKey:c,leftIcon:o,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),ref:t,...u,children:r})}),m={Root:e=>{let{title:t,centered:r=!0,children:l,id:c,sx:d,...u}=e,p=(0,o.useRef)(null),[m,f]=(0,o.useState)(0);return(0,o.useLayoutEffect)(()=>{let e=p.current;e&&f(e.clientHeight+e.clientTop||0)},[]),(0,n.FD)(i.so,{elementDescriptor:a.$z.profileSection,elementId:a.$z.profileSection.setId(c),sx:[e=>({flexDirection:"row-reverse",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$4,paddingBottom:e.space.$4,gap:e.space.$6,[s.g.lg]:{flexDirection:"column-reverse",gap:e.space.$2}}),d],...u,children:[(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionContent,elementId:a.$z.profileSectionContent.setId(c),gap:2,ref:p,sx:{minWidth:0,width:"100%","+ *":{"--clerk-height":`${m}px`}},children:l}),(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionHeader,elementId:a.$z.profileSectionHeader.setId(c),sx:e=>({padding:r?void 0:`${e.space.$1x5} 0`,gap:e.space.$1,width:e.space.$66,alignSelf:m?"self-start":r?"center":void 0,marginTop:r?"calc(var(--clerk-height)/2)":void 0,transform:m&&r?"translateY(-50%)":void 0,[s.g.lg]:{alignSelf:"self-start",marginTop:"unset",transform:"none",padding:0}}),children:(0,n.Y)(h,{localizationKey:t,elementDescriptor:a.$z.profileSectionTitle,elementId:a.$z.profileSectionTitle.setId(c),textElementDescriptor:a.$z.profileSectionTitleText,textElementId:a.$z.profileSectionTitleText.setId(c)})})]})},ItemList:e=>{let{children:t,id:r,disableAnimation:o=!1,...l}=e,s=(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionItemList,elementId:a.$z.profileSectionItemList.setId(r),sx:e=>({gap:e.space.$0x5}),...l,children:t});return o?s:(0,n.Y)(c.k,{asChild:!0,children:s})},Item:e=>{let{children:t,id:r,sx:o,hoverable:l,...s}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionItem,elementId:a.$z.profileSectionItem.setId(r),sx:[e=>({justifyContent:"space-between",width:"100%",alignItems:"center",padding:`${e.space.$1} ${e.space.$1} ${e.space.$1} ${e.space.$2x5}`,gap:e.space.$2,...l&&{borderRadius:e.radii.$lg,":hover":{backgroundColor:e.colors.$neutralAlpha50}}}),o],...s,children:t})},Button:e=>{let{children:t,id:r,sx:o,...l}=e;return(0,n.Y)(i.$n,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(r),variant:"ghost",sx:[e=>({whiteSpace:"nowrap",justifyContent:"start",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$3} ${e.space.$1x5} ${e.space.$2x5}`}),o],...l,children:t})},ArrowButton:p,ButtonGroup:e=>{let{children:t,id:r,...o}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionButtonGroup,elementId:a.$z.profileSectionButtonGroup.setId(r),justify:"between",gap:2,...o,children:t})},ActionMenu:e=>{let{children:t,triggerLocalizationKey:r,id:o,triggerSx:a,onClick:s}=e;return(0,n.Y)(i.so,{sx:{position:"relative"},children:(0,n.FD)(u.W1,{elementId:o,children:[(0,n.Y)(u.cQ,{children:(0,n.Y)(p,{id:o,textLocalizationKey:r,sx:[e=>({justifyContent:"start",height:e.sizes.$8}),a],leftIcon:l.A,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),onClick:s})}),(0,n.Y)(u.cO,{asPortal:!1,sx:e=>({width:"100%",padding:e.space.$1}),children:t})]})})},ActionMenuItem:e=>{let{children:t,isLoading:r,localizationKey:l,sx:s,leftIcon:c,leftIconSx:d,...p}=e,m=(0,o.isValidElement)(c);return(0,n.FD)(u.Dr,{sx:[e=>({padding:`${e.space.$1x5} ${e.space.$2}`}),s],isLoading:r,...p,children:[(r||c)&&(0,n.Y)(i.so,{as:"span",sx:e=>({flex:`0 0 ${e.space.$4}`}),children:r?(0,n.Y)(i.y$,{elementDescriptor:a.$z.spinner,size:"sm"}):!m&&c?(0,n.Y)(i.In,{icon:c,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$5}),d]}):c}),(0,n.Y)(i.EY,{localizationKey:l})]})}},h=e=>{let{textElementDescriptor:t,textElementId:r,localizationKey:o,...a}=e;return(0,n.Y)(i.so,{...a,children:(0,n.Y)(i.EY,{localizationKey:o,variant:"subtitle",elementDescriptor:t,elementId:r})})}},6839:function(e,t,r){r.d(t,{I:()=>u});var n=r(4518),o=r(2119),i=r(5074),a=r(8272),l=r(8920);let s=(0,i.createContext)(null),c=i.forwardRef(({children:e,value:t,defaultValue:r,onChange:c,"aria-label":d,"aria-labelledby":u,size:p="md",fullWidth:m=!1,sx:h},f)=>{let[g,b]=(0,i.useState)(r),v=void 0!==t;return(0,n.Y)(s.Provider,{value:{currentValue:v?t:g,onValueChange:e=>{v||b(e),c?.(e)},size:p,fullWidth:m},children:(0,n.Y)(o.eC,{orientation:"horizontal",role:"radiogroup",loop:!1,render:(0,n.Y)(a.so,{ref:f,elementDescriptor:l.$z.segmentedControlRoot,"aria-label":d,"aria-labelledby":u,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,isolation:"isolate"}),h]}),children:e})})});c.displayName="SegmentedControl.Root";let d=i.forwardRef(({text:e,value:t},r)=>{let{currentValue:c,onValueChange:d,size:u,fullWidth:p}=function(){let e=(0,i.useContext)(s);if(!e)throw Error("SegmentedControl.Button must be used within SegmentedControl.Root");return e}(),m=t===c;return(0,n.Y)(o.lb,{render:o=>(0,n.Y)(a.dF,{ref:r,...o,localizationKey:e,elementDescriptor:l.$z.segmentedControlButton,variant:"unstyled",role:"radio","aria-checked":m,onClick:()=>d(t),isActive:m,sx:e=>({position:"relative",width:p?"100%":"auto",backgroundColor:m?e.colors.$colorBackground:"transparent",color:m?e.colors.$colorForeground:e.colors.$colorMutedForeground,fontSize:"lg"===u?e.fontSizes.$md:e.fontSizes.$xs,minHeight:e.sizes.$6,boxShadow:m?e.shadows.$segmentedControl:"none",borderRadius:`calc(${e.radii.$md} - ${e.borderWidths.$normal})`,zIndex:1,":focus-visible":{zIndex:2}})})})});d.displayName="SegmentedControl.Button";let u={Root:c,Button:d}},1586:function(e,t,r){r.d(t,{JC:()=>S,l6:()=>y,UL:()=>_});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(7649),d=r(1464),u=r(4374),p=r(4620),m=r(3269),h=r(4373);let[f,g]=(0,o.e3)("SelectState"),b=(e,t)=>(0,n.Y)(a.so,{sx:e=>({position:"relative",width:"100%",padding:`${e.space.$2} ${e.space.$4}`,margin:`0 ${e.space.$1}`,borderRadius:e.radii.$md,'&:hover, &[data-focused="true"]':{background:d.s.mutedBackground(e)},"&::before":{content:'""',position:"absolute",inset:`calc(${e.space.$0x5} * -1) calc(${e.space.$1} * -1)`}}),children:(0,n.Y)(a.EY,{truncate:!0,children:e.label||e.value})}),v=e=>e.label||e.value,y=(0,m.P4)(e=>{let{value:t,options:r,onChange:o,renderOption:a,noResultsMessage:l,comparator:c,placeholder:d="Select an option",searchPlaceholder:u,elementId:p,children:m,portal:h=!1,referenceElement:g=null,...y}=e,w=(0,s.f)({autoUpdate:!0,adjustToReferenceWidth:!!g,referenceElement:g}),$=w.toggle,x=i.useRef(null),C=(e=>{let{items:t,comparator:r,searchTermForItem:n}=e,[o,a]=i.useState(""),l=i.useMemo(()=>t.reduce((e,t)=>(e.set(t,n?.(t)),e),new Map),[t]),s=i.useMemo(()=>o?t.filter(e=>r(o,e,l.get(e))):t,[t,o]);return{searchInputProps:{onChange:e=>a(e.target.value||""),value:o},filteredItems:s}})({items:r,comparator:c||(()=>!0)}),k=i.useCallback(e=>{o?.(e),$()},[$,o]),A=(0,n.FD)(n.FK,{children:[(0,n.Y)(_,{}),(0,n.Y)(S,{})]});return(0,n.Y)(f.Provider,{value:{value:{popoverCtx:w,searchInputCtx:C,selectedOption:r.find(e=>e.value===t)||null,noResultsMessage:l,focusedItemRef:x,value:t,renderOption:a||b,buttonRenderOption:a||v,placeholder:d,searchPlaceholder:u,comparator:c,select:k,onTriggerClick:$,elementId:p,portal:h}},...y,children:i.Children.count(m)?m:A})}),w=i.memo(i.forwardRef((e,t)=>{let{option:r,renderOption:o,isSelected:s,index:c,handleSelect:d,isFocused:u,elementId:p}=e;return(0,n.Y)(a.so,{ref:t,sx:{userSelect:"none",cursor:"pointer"},onClick:()=>{d(r)},children:i.cloneElement(o(r,c,s),{elementDescriptor:l.$z.selectOption,elementId:l.$z.selectOption.setId(p),"data-selected":s,"data-focused":u})})})),$=e=>{let{sx:t,...r}=e;i.useEffect(()=>()=>e.onChange({target:{value:""}}),[]);let{elementId:o}=g();return(0,n.Y)(a.so,{sx:e=>({padding:e.space.$0x5}),children:(0,n.Y)(a.pd,{elementDescriptor:l.$z.selectSearchInput,elementId:l.$z.selectSearchInput.setId(o),focusRing:!1,variant:"unstyled",sx:[e=>({borderRadius:e.radii.$md,backgroundColor:e.colors.$neutralAlpha100,padding:e.space.$2}),t],...r})})},x=e=>{let{sx:t,...r}=e;return(0,n.Y)(a.EY,{as:"div",sx:[e=>({width:"100%",padding:`${e.space.$1} ${e.space.$2} ${e.space.$2} ${e.space.$2}`}),t],...r})},_=e=>{let{containerSx:t,sx:r,...o}=e,{popoverCtx:s,searchInputCtx:c,value:d,renderOption:m,searchPlaceholder:f,comparator:b,focusedItemRef:v,noResultsMessage:y,select:_,onTriggerClick:S,elementId:C,portal:k}=g(),{filteredItems:A,searchInputProps:I}=c,[z,P]=(0,i.useState)(0),{isOpen:D,floating:Y,styles:R,nodeId:T,context:F}=s,E=i.useRef(null);return i.useEffect(()=>{D?v.current?.scrollIntoView?.({block:"nearest"}):P(-1)},[z,D]),i.useEffect(()=>P(0),[A.length]),i.useEffect(()=>{if(b||E?.current?.focus(),D){P(A.findIndex(e=>e.value===d)),v.current?.scrollIntoView?.({block:"nearest"});return}},[D]),(0,n.Y)(h.A,{nodeId:T,context:F,isOpen:D,portal:k||!1,order:["content"],children:(0,n.FD)(a.so,{elementDescriptor:l.$z.selectOptionsContainer,elementId:l.$z.selectOptionsContainer.setId(C),ref:Y,onKeyDown:e=>"ArrowUp"===e.key?(e.preventDefault(),D)?P((e=0)=>0===e?A.length-1:e-1):S():"ArrowDown"===e.key?(e.preventDefault(),D)?P((e=0)=>e===A.length-1?0:e+1):S():"Enter"===e.key&&z>=0?(e.preventDefault(),_(A[z])):void 0,direction:"col",justify:"start",sx:[e=>({backgroundColor:p.T.makeSolid(e.colors.$colorBackground),borderRadius:e.radii.$lg,overflow:"hidden",animation:`${u.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",boxShadow:e.shadows.$menuShadow,zIndex:e.zIndices.$dropdown}),r],style:{...R,left:R.left-1},children:[b&&(0,n.Y)($,{placeholder:f,...I}),(0,n.FD)(a.so,{ref:E,direction:"col",tabIndex:b?void 0:0,sx:[e=>({gap:e.space.$0x5,outline:"none",overflowY:"auto",maxHeight:"18vh",padding:`${e.space.$0x5} ${e.space.$0x5}`}),t],...o,children:[A.map((e,t)=>{let r=t===z,o=d===e.value;return(0,n.Y)(w,{index:t,ref:r?v:void 0,option:e,renderOption:m,isSelected:o,isFocused:r,handleSelect:_,elementId:C},e.value)}),y&&0===A.length&&(0,n.Y)(x,{children:y})]})]})})},S=e=>{let{sx:t,children:r,icon:o,iconSx:i,...s}=e,{popoverCtx:d,onTriggerClick:u,buttonRenderOption:p,selectedOption:m,placeholder:h,elementId:f}=g(),{reference:b}=d,v=r;return r||(v=m?p(m):(0,n.Y)(a.EY,{as:"span",sx:e=>({opacity:e.opacity.$inactive}),children:h})),(0,n.FD)(a.$n,{elementDescriptor:l.$z.selectButton,elementId:l.$z.selectButton.setId(f),ref:b,variant:"outline",textVariant:"buttonLarge",onClick:u,sx:[e=>({gap:e.space.$2,paddingLeft:e.space.$3x5,paddingRight:e.space.$3x5,alignItems:"center","> *":{pointerEvents:"none"}}),t],...s,children:[v,(0,n.Y)(a.In,{elementDescriptor:l.$z.selectButtonIcon,elementId:l.$z.selectButtonIcon.setId(f),size:"md",icon:o||c.A,sx:i})]})}},5715:function(e,t,r){r.d(t,{V:()=>v});var n=r(4518),o=r(1652),i=r(9361),a=r(5074),l=r(2660),s=r(6580),c=r(8272),d=r(8920),u=r(2861),p=r(2216),m=r(2229),h=r(7591),f=r(6735),g=r(8975),b=r(3269);let v=a.memo(e=>{let{oauthCallback:t,web3Callback:r,alternativePhoneCodeCallback:a,enableOAuthProviders:g=!0,enableWeb3Providers:v=!0,enableAlternativePhoneCodeProviders:$=!0,idleAfterDelay:x=!0,showLastAuthenticationStrategy:_=!1}=e,{web3Strategies:S,authenticatableOauthStrategies:C,strategyToDisplayData:k,alternativePhoneCodeChannels:A}=(0,p.k)(),I=(0,m.F)(),z=(0,b.f0)(),P=(0,i.ho)(),{socialButtonsVariant:D}=(0,s.K)().parsedOptions,Y=[...g?C:[],...v?S:[],...$?A:[]];if(!Y.length)return null;let R=_?P.client?.lastAuthenticationStrategy:null,T=R?.startsWith("saml_")?R.replace("saml_","oauth_"):R,F=T&&Y.includes(T)?T:null,{strategyRows:E,lastAuthenticationStrategyPresent:L}=function e(t,r,n){if(n&&t.includes(n)){let o=t.filter(e=>e!==n);return 0===o.length?{strategyRows:[[n]],lastAuthenticationStrategyPresent:!0}:{strategyRows:[[n],...e(o,r,null).strategyRows],lastAuthenticationStrategyPresent:!0}}if(t.length<=r)return{strategyRows:[t],lastAuthenticationStrategyPresent:!1};let o=Math.ceil(t.length/r),i=Math.ceil(t.length/o),a=Array.from({length:o},()=>[]),l=0;for(let e of t)a[l].push(e),a[l].length===i&&l++;return{strategyRows:a,lastAuthenticationStrategyPresent:!1}}([...Y],5,F),B=E.at(+!!L)?.length??0,M=L?Y.length-1:Y.length,O=!L&&2===Y.length,j="blockButton"===D||"iconButton"!==D&&Y.length<=2,U=async e=>{z.setLoading(e);try{e.startsWith("web3_")?await r(e):await t(e)}catch{await (0,f.y)(1e3),z.setIdle()}x&&(await (0,f.y)(5e3),z.setIdle())},W=j?w:y;return(0,n.Y)(c.so,{direction:"col",gap:2,elementDescriptor:d.$z.socialButtonsRoot,children:E.map((e,t)=>(0,n.Y)(c.xA,{elementDescriptor:d.$z.socialButtons,gap:2,sx:r=>({justifyContent:"center",[h.g.sm]:{gridTemplateColumns:O?"repeat(1, minmax(0, 1fr))":void 0},gridTemplateColumns:Y.length<1?"repeat(1, minmax(0, 1fr))":`repeat(${e.length}, ${0===t?"minmax(0, 1fr)":`minmax(0, calc((100% - (${B} - 1) * ${r.sizes.$2}) / ${B}))`})`}),children:e.map(t=>{let r=1===M||t===F&&1===e.length,i=r?`Continue with ${k[t].name}`:k[t].name,s=r?(0,u.G)("socialButtonsBlockButton",{provider:k[t].name}):(0,u.G)("socialButtonsBlockButtonManyInView",{provider:k[t].name}),p=k[t].iconUrl?(0,n.Y)(c._V,{elementDescriptor:[d.$z.providerIcon,d.$z.socialButtonsProviderIcon],elementId:d.$z.socialButtonsProviderIcon.setId(k[t].id),isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,src:k[t].iconUrl,alt:`Sign in with ${k[t].name}`,sx:e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"})}):(0,n.Y)(l.T,{id:k[t].id,value:k[t].name,isLoading:z.loadingMetadata===t,isDisabled:z.isLoading});return(0,n.Y)(W,{id:k[t].id,onClick:async()=>{(0,o.y)(t)?a(t):await U(t)},isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,label:i,textLocalizationKey:s,icon:p,lastAuthenticationStrategy:t===F&&I>1},t)})},e.join("-")))})}),y=(0,a.forwardRef)((e,t)=>{let{icon:r,label:o,id:i,textLocalizationKey:a,lastAuthenticationStrategy:l,...s}=e;return l?(0,n.Y)(w,{...e,ref:t}):(0,n.Y)(c.$n,{ref:t,elementDescriptor:d.$z.socialButtonsIconButton,elementId:d.$z.socialButtonsIconButton.setId(i),textVariant:"buttonLarge",variant:"outline",colorScheme:"neutral",hoverAsFocus:!0,sx:e=>({minHeight:e.sizes.$8,width:"100%"}),...s,children:r})}),w=(0,a.forwardRef)((e,t)=>{let{id:r,icon:o,isLoading:i,label:l,textLocalizationKey:s,lastAuthenticationStrategy:u,...p}=e,m=(0,a.isValidElement)(o);return(0,n.FD)(c.dF,{elementDescriptor:d.$z.socialButtonsBlockButton,elementId:d.$z.socialButtonsBlockButton.setId(r),variant:"outline",block:!0,isLoading:i,hoverAsFocus:!0,ref:t,...p,sx:t=>[{gap:t.space.$4,position:"relative",justifyContent:"flex-start"},e.sx],children:[u&&(0,n.Y)(g.j,{overlay:!0}),(0,n.FD)(c.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[(i||o)&&(0,n.Y)(c.so,{as:"span",center:!0,sx:e=>({flex:`0 0 ${e.space.$4}`}),children:i?(0,n.Y)(c.y$,{size:"sm",elementDescriptor:d.$z.spinner}):!m&&o?(0,n.Y)(c.In,{icon:o,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$4,position:"absolute"})]}):o}),(0,n.Y)(c.EY,{elementDescriptor:d.$z.socialButtonsBlockButtonText,elementId:d.$z.socialButtonsBlockButtonText.setId(r),as:"span",truncate:!0,variant:"buttonLarge",localizationKey:s,children:l})]})]})})},6370:function(e,t,r){r.d(t,{B:()=>d});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(1550),l=r(2861),s=r(1475),c=r(6153);let d=e=>{let{text:t,title:r,finishLabel:d,onFinish:u,contents:p,...m}=e,{navigateToFlowStart:h}=(0,a.C)();return(0,n.FD)(o.fv,{...m,gap:4,children:[(0,n.Y)(c.Y.Root,{children:(0,n.Y)(c.Y.Title,{localizationKey:r,textVariant:"subtitle"})}),(0,n.Y)(o.fv,{gap:4,children:Array.isArray(t)?t.map(e=>(0,n.Y)(o.EY,{localizationKey:e,colorScheme:"secondary",sx:e=>({display:"inline",":not(:last-of-type)":{marginRight:e.sizes.$1}})},e.key)):(0,n.Y)(o.EY,{localizationKey:t,colorScheme:"secondary"})}),p,(0,n.Y)(s.c,{children:(0,n.Y)(o.$n,{autoFocus:!0,localizationKey:d||(0,l.G)("userProfile.formButtonPrimary__finish"),elementDescriptor:i.$z.formButtonPrimary,onClick:u||h})})]})}},8511:function(e,t,r){r.d(t,{d:()=>s});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(1464);let s=(0,o.forwardRef)(({isChecked:e,defaultChecked:t,onChange:r,isDisabled:s=!1,label:c},d)=>{let[u,p]=(0,o.useState)(!!t),m=void 0!==e,h=m?e:u;return(0,n.FD)(i.so,{ref:d,elementDescriptor:a.$z.switchRoot,direction:"row",align:"center",as:"label",sx:e=>({isolation:"isolate",width:"fit-content","&:has(input:focus-visible) > input + span":{...l.s.focusRingStyles(e)}}),children:[(0,n.Y)("input",{type:"checkbox",role:"switch",disabled:s,defaultChecked:t,checked:h,onChange:e=>{s||(m||p(e.target.checked),r?.(e.target.checked))},style:{...l.s.visuallyHidden()}}),(0,n.Y)(i.so,{elementDescriptor:a.$z.switchIndicator,as:"span","data-checked":h,sx:e=>({width:e.sizes.$6,height:e.sizes.$4,alignItems:"center",position:"relative",backgroundColor:h?e.colors.$primary500:e.colors.$neutralAlpha150,borderRadius:999,transition:"background-color 0.2s",opacity:s?.6:1,cursor:s?"not-allowed":"pointer",outline:"none",boxSizing:"border-box",boxShadow:"0px 0px 0px 1px rgba(0, 0, 0, 0.06) inset"}),children:(0,n.Y)(i.so,{as:"span",elementDescriptor:a.$z.switchThumb,sx:e=>({position:"absolute",left:e.sizes.$0x5,width:e.sizes.$3,height:e.sizes.$3,borderRadius:"50%",backgroundColor:e.colors.$colorBackground,boxShadow:e.shadows.$switchControl,transform:`translateX(${h?e.sizes.$2:0})`,transition:"transform 0.2s",zIndex:1})})}),(0,n.Y)(i.EY,{as:"span",variant:"caption",colorScheme:"secondary",localizationKey:c,sx:e=>({paddingInlineStart:e.sizes.$2,cursor:s?"not-allowed":"pointer",userSelect:"none"})})]})});s.displayName="Switch"},5073:function(e,t,r){r.d(t,{T2:()=>g,Kp:()=>b,j7:()=>h,oz:()=>f,tU:()=>m});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(78);function c(e){return i.Children.toArray(e).filter(e=>i.isValidElement(e))}let[d,u]=(0,o.e3)("TabsContext"),p=e=>{let t=i.useMemo(()=>({value:e.value}),[e.value.selectedIndex,e.value.setFocusedIndex]);return(0,n.Y)(d.Provider,{value:t,children:e.children})},m=e=>{let{value:t,onChange:r,defaultIndex:o=0,children:a}=e,[l,s]=i.useState(o),[c,d]=i.useState(-1),u=i.useCallback(e=>{r?r(e):s(e)},[r]);return(0,n.Y)(p,{value:{selectedIndex:void 0!==t?t:l,setSelectedIndex:u,focusedIndex:c,setFocusedIndex:d},children:a})},h=e=>{let{children:t,sx:r,...o}=e,{setSelectedIndex:s,selectedIndex:d,setFocusedIndex:p}=u(),m=0,h=c(t).map(e=>{let t=i.cloneElement(e,{tabIndex:e.type===f?m:void 0});return m++,t});return(0,n.Y)(a.so,{elementDescriptor:l.$z.tabListContainer,onKeyDown:e=>{let t=h.filter(e=>!e.props?.isDisabled&&e.type===f).map(e=>e.props.tabIndex),r=t.length,n=t.indexOf(d);if("ArrowLeft"===e.key){let e=0===n?t[r-1]:t[n-1];return p(e),s(e)}if("ArrowRight"===e.key){let e=r-1===n?t[0]:t[n+1];return p(e),s(e)}},role:"tablist",sx:[e=>({borderBottomStyle:e.borderStyles.$solid,borderBottomWidth:e.borderWidths.$normal,borderColor:e.colors.$borderAlpha100}),r],...o,children:h})},f=e=>{let{t}=(0,s._)(),{children:r,sx:o,tabIndex:c,isDisabled:d,localizationKey:p,...m}=e;if(void 0===c)throw Error("Tab component must be a direct child of TabList.");let{setSelectedIndex:h,selectedIndex:f,focusedIndex:g,setFocusedIndex:b}=u(),v=i.useRef(null),y=c===f,w=c===g;return i.useEffect(()=>{d&&0===c&&h(c+1)},[]),i.useEffect(()=>{v.current&&w&&v.current.focus()},[w]),(0,n.FD)(a.$n,{elementDescriptor:l.$z.tabButton,onClick:()=>{h(c),b(-1)},isDisabled:d,tabIndex:y?0:-1,variant:"ghost","aria-selected":y,id:`cl-tab-${c}`,"aria-controls":`cl-tabpanel-${c}`,role:"tab",ref:v,sx:[e=>({background:e.colors.$transparent,color:y?e.colors.$primary500:e.colors.$neutralAlpha700,gap:e.space.$1x5,fontWeight:e.fontWeights.$medium,borderBottomWidth:y?e.borderWidths.$normal:0,borderBottomStyle:e.borderStyles.$solid,borderBottomColor:e.colors.$primary500,marginBottom:y?"-1px":0,borderRadius:0,padding:`${e.space.$2x5} ${e.space.$0x25}`,width:"fit-content","&:hover, :focus":{backgroundColor:e.colors.$transparent,boxShadow:"none"}}),o],...m,children:[t(p),r]})},g=e=>{let{children:t}=e,r=c(t).map((e,t)=>i.cloneElement(e,{tabIndex:t}));return(0,n.Y)(n.FK,{children:r})},b=e=>{let{tabIndex:t,sx:r,children:o,...i}=e;if(void 0===t)throw Error("TabPanel component must be a direct child of TabPanels.");let{selectedIndex:s}=u();return t!==s?null:(0,n.Y)(a.so,{elementDescriptor:l.$z.tabPanel,id:`cl-tabpanel-${t}`,role:"tabpanel",tabIndex:0,"aria-labelledby":`cl-tab-${t}`,sx:[{outline:0},r],...i,children:o})}},6212:function(e,t,r){r.d(t,{F:()=>u});var n=r(4518),o=r(5074),i=r(78),a=r(8272),l=r(8920),s=r(9679),c=r(1464);let d=e=>e.trim(),u=e=>{let{t}=(0,i._)(),{sx:r,placeholder:s,validate:u=()=>!0,value:m,onChange:h,autoFocus:f,validateUnsubmittedEmail:g=()=>null,...b}=e,v=m.split(",").map(d).filter(Boolean),y=new Set(v),w=o.useRef(!0),$=o.useRef(null),[x,_]=o.useState(""),S=e=>{h({target:{value:e.join(",")}}),k(),g("")},C=e=>{let t=(Array.isArray(e)?[...e]:[e]).map(d).filter(Boolean).filter(u).filter(e=>!y.has(e));t.length&&(S([...v,...t]),_(""),k())},k=()=>{$.current?.focus()};return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagInputContainer,align:"start",gap:2,wrap:"wrap",onClick:k,onFocus:k,sx:[e=>({maxWidth:"100%",padding:`${e.space.$1x5} ${e.space.$2}`,backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,minHeight:e.sizes.$20,maxHeight:e.sizes.$60,overflowY:"auto",cursor:"text",justifyItems:"center",...c.s.borderVariants(e,{hoverStyles:!0}).normal}),r],...b,children:[v.map(e=>(0,n.Y)(p,{onRemoveClick:()=>{S(v.filter(t=>t!==e))},children:e},e)),(0,n.Y)(a.pd,{ref:$,value:x,type:"email","data-testid":"tag-input",placeholder:v.length?void 0:t(s),onKeyDown:e=>{let{key:t}=e;(","===t||" "===t||"Enter"===t)&&x.length?(e.preventDefault(),C(x)):"Backspace"===t&&!x.length&&v.length&&w.current&&(e.preventDefault(),S(v.slice(0,-1))),w.current=!1},onKeyUp:()=>{w.current=!0},onChange:e=>{_(e.target.value),g(e.target.value)},onPaste:e=>{e.preventDefault(),C((e.clipboardData.getData("text")||"").split(/,| |\n|\t/).filter(Boolean).map(e=>e.trim()))},onBlur:e=>{e.preventDefault(),C(x)},focusRing:!1,autoFocus:f,variant:"unstyled",sx:e=>({flexGrow:1,borderWidth:0,width:"initial",padding:0,lineHeight:e.space.$5,paddingLeft:e.space.$1,"::placeholder":{color:e.colors.$colorMutedForeground},boxShadow:"none",":hover":{boxShadow:"none"}})})]})},p=e=>{let{onRemoveClick:t,children:r,...o}=e;return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagPillContainer,onClick:t,gap:1,center:!0,...o,sx:e=>({padding:`${e.space.$0x5} ${e.space.$1x5}`,borderRadius:e.radii.$sm,color:e.colors.$primary500,backgroundColor:e.colors.$neutralAlpha50,boxShadow:e.shadows.$badge,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,display:"inline-flex",marginRight:"1px",cursor:"pointer",":hover":{backgroundColor:e.colors.$neutralAlpha100},":hover svg":{color:e.colors.$danger500},overflow:"hidden"}),children:[(0,n.Y)(a.EY,{truncate:!0,variant:"buttonSmall",children:r}),(0,n.Y)(a.In,{elementDescriptor:l.$z.tagPillIcon,size:"md",icon:s.A,sx:e=>({color:e.colors.$colorMutedForeground,transform:"translateY(0px) rotate(45deg)"})})]})}},8080:function(e,t,r){r.d(t,{o:()=>u});var n,o=r(4518),i=r(8272),a=r(8920),l=r(5074);function s(){return(s=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)}let c=function(e){return l.createElement("svg",s({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),n||(n=l.createElement("g",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"},l.createElement("path",{d:"M10.01 10H10M4.01 10H4M16.01 10H16"}))))};var d=r(4365);let u=e=>{let{actions:t,elementId:r,variant:n}=e,l="bordered"===n;return(0,o.FD)(d.W1,{elementId:r,children:[(0,o.Y)(d.cQ,{arialLabel:e=>`${e?"Close":"Open"} menu`,children:(0,o.Y)(i.$n,{sx:e=>l?{width:e.sizes.$6,height:e.sizes.$6}:{padding:e.space.$0x5,boxSizing:"content-box",opacity:e.opacity.$inactive,":hover,:focus-visible":{opacity:1}},variant:l?"bordered":"ghost",colorScheme:l?"secondary":"neutral",elementDescriptor:[a.$z.menuButton,l?a.$z.menuButtonEllipsisBordered:a.$z.menuButtonEllipsis],children:(0,o.Y)(i.In,{icon:c,sx:e=>l?{width:e.sizes.$4,height:e.sizes.$4,opacity:e.opacity.$inactive}:{width:"auto",height:e.sizes.$5}})})}),(0,o.Y)(d.cO,{children:t.map((e,t)=>(0,o.Y)(d.Dr,{destructive:e.isDestructive,onClick:e.onClick,isDisabled:e.isDisabled,localizationKey:e.label},t))})]})}},1829:function(e,t,r){r.d(t,{M:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(78),l=r(8272);let s=e=>{let{t}=(0,a._)(),{onClick:r,throttleTimeInSec:s=30,startDisabled:c,children:d,localizationKey:u,showCounter:p=!0,...m}=e,[h,f]=i.useState(0),g=i.useRef(void 0);(0,o.UQ)(()=>{c&&b()},[]),(0,i.useEffect)(()=>()=>clearInterval(g.current),[]);let b=()=>{f(s),g.current=window.setInterval(()=>{f(e=>(1===e&&clearInterval(g.current),e-1))},1e3)};return(0,n.FD)(l.$n,{variant:"link",...m,textVariant:"buttonSmall",isDisabled:h>0||e.isDisabled,onClick:e=>{h||(r?.(e),b())},children:[t(u)||d,h&&p?` (${h})`:""]})}},6455:function(e,t,r){r.d(t,{m_:()=>f});var n=r(4518),o=r(2119),i=r(6836),a=r(4166),l=r(5074),s=r(9361),c=r(6580),d=r(8272),u=r(8920),p=r(359);let m=l.createContext(null),h=()=>{let e=l.useContext(m);if(null==e)throw Error("Tooltip components must be wrapped in <Tooltip />");return e},f={Root:function({children:e,...t}){let r=function({initialOpen:e=!1,placement:t="top",open:r,onOpenChange:n}={}){let[s,d]=l.useState(e),u=r??s,m=n??d,h=(0,p.j)(),{animations:f}=(0,c.K)().parsedOptions,g=(0,o.we)({placement:t,open:u,onOpenChange:m,whileElementsMounted:i.ll,middleware:[(0,a.cY)(6),(0,a.UU)({crossAxis:t.includes("-"),fallbackAxisSideDirection:"start",padding:6}),(0,a.BN)({padding:6})]}),b=g.context,v=(0,o.Mk)(b,{move:!1,enabled:null==r}),y=(0,o.iQ)(b,{enabled:null==r}),w=(0,o.s9)(b),$=(0,o.It)(b,{role:"tooltip"}),{isMounted:x,styles:_}=(0,o.DL)(b,{duration:200*!!(!h&&!0===f),initial:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"}),open:{opacity:1,transform:"translate(0)"},close:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"})}),S=(0,o.bv)([v,y,w,$]);return l.useMemo(()=>({open:u,setOpen:m,isMounted:x,...S,...g,transitionStyles:_}),[u,m,S,g,x,_])}(t);return(0,n.Y)(m.Provider,{value:r,children:e})},Trigger:l.forwardRef(function({children:e,sx:t,...r},i){let a=h(),s=e.ref,c=(0,o.SV)([a.refs.setReference,i,s]);return l.isValidElement(e)?e.props.isDisabled||e.props.disabled?(0,n.Y)(d.L9,{ref:c,...a.getReferenceProps({...r}),"data-state":a.open?"open":"closed",sx:[{width:"fit-content",display:"inline-block",cursor:"not-allowed",outline:"none"},t],tabIndex:0,children:e}):l.cloneElement(e,a.getReferenceProps({ref:c,...r,...e.props,"data-state":a.open?"open":"closed"})):null}),Content:l.forwardRef(function({style:e,text:t,sx:r,...i},a){let l=h(),c=(0,o.SV)([l.refs.setFloating,a]),p=(0,s.Sj)(),m=p?.()??void 0;return l.isMounted?(0,n.Y)(o.XF,{root:m,children:(0,n.Y)(d.az,{ref:c,elementDescriptor:u.$z.tooltip,style:{...l.floatingStyles,...e},...l.getFloatingProps(i),children:(0,n.Y)(d.az,{elementDescriptor:u.$z.tooltipContent,style:l.transitionStyles,sx:[e=>({paddingBlock:e.space.$1,paddingInline:e.space.$1x5,borderRadius:e.radii.$md,backgroundColor:e.colors.$black,color:e.colors.$white,maxWidth:e.sizes.$60}),r],children:(0,n.Y)(d.EY,{elementDescriptor:u.$z.tooltipText,localizationKey:t,variant:"body",colorScheme:"inherit"})})})}):null})}},9538:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(8095),i=r(6195);let a=e=>{let{name:t,firstName:r,lastName:a,avatarUrl:l,imageUrl:s,...c}=e,d=(0,o.dS)({name:t,firstName:r,lastName:a}),u=(0,o.IM)({name:t,firstName:r,lastName:a});return(0,n.Y)(i.e,{title:d,initials:u,imageUrl:l||s,...c})}},9345:function(e,t,r){r.d(t,{c:()=>c});var n=r(4518),o=r(8095);r(5074);var i=r(78),a=r(8272),l=r(8920),s=r(9538);let c=e=>{let{user:t,externalAccount:r,enterpriseAccount:c,size:d="md",showAvatar:u=!0,icon:p,iconSx:m,rounded:h=!0,imageUrl:f,badge:g,elementId:b,sx:v,title:y,subtitle:w,avatarSx:$,mainIdentifierSx:x,mainIdentifierVariant:_,subtitleProps:S,...C}=e,{t:k}=(0,i._)(),A=(0,o.dS)({...t})||(0,o.dS)({...r})||(0,o.dS)({...c}),I=(0,o.Cm)({...t})||r?.accountIdentifier?.()||c?.emailAddress,z=k(y),P=f||t?.imageUrl||r?.imageUrl,D=e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[d],Y=z||A||I;return(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreview,elementId:l.$z.userPreview.setId(b),align:"center",as:"span",sx:[e=>({minWidth:"0px",width:"fit-content",gap:e.space.$4,minHeight:P&&!u?D(e):void 0}),v],...C,children:[P&&u?(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewAvatarContainer,elementId:l.$z.userPreviewAvatarContainer.setId(b),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(s.H,{boxElementDescriptor:l.$z.userPreviewAvatarBox,imageElementDescriptor:l.$z.userPreviewAvatarImage,...t,...r,...c,name:A,avatarUrl:P,size:D,sx:$,rounded:h}),p&&(0,n.Y)(a.so,{elementDescriptor:l.$z.userPreviewAvatarIcon,sx:[{position:"absolute",left:0,bottom:0},m],as:"span",children:p})]}):null,(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewTextContainer,elementId:l.$z.userPreviewTextContainer.setId(b),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifier,elementId:l.$z.userPreviewMainIdentifier.setId(b),variant:_||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[d],as:"span",sx:[e=>({display:"flex",gap:e.sizes.$1,alignItems:"center"}),x],children:[Y&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifierText,elementId:l.$z.userPreviewMainIdentifierText.setId(b),as:"span",truncate:!0,sx:{fontWeight:"inherit"},children:Y}),g]}),(w||A&&I)&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewSecondaryIdentifier,elementId:l.$z.userPreviewSecondaryIdentifier.setId(b),truncate:!0,as:"span",localizationKey:w||I,colorScheme:"secondary",...S})]})]})}},7912:function(e,t,r){r.d(t,{j:()=>m});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(2861),l=r(6088),s=r(3356),c=r(3269),d=r(2454),u=r(6153),p=r(196);let m=e=>{let{showAlternativeMethods:t=!0,cardNotice:r,children:m}=e,h=(0,c.f0)(),f=(0,s.xM)({onCodeEntryFinished:(t,r,n)=>{e.onCodeEntryFinishedAction(t,r,n)},onResendCodeClicked:e.onResendCodeClicked});return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.FD)(u.Y.Root,{children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.Y)(u.Y.Subtitle,{localizationKey:e.cardSubtitle}),(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:e.onBackLinkClicked?void 0:e.onIdentityPreviewEditClicked})]}),(0,n.Y)(l.Z.Alert,{children:h.error}),m,(0,n.FD)(o.fv,{elementDescriptor:i.$z.main,gap:8,children:[(0,n.Y)(d.l.OTPInput,{...f,label:e.inputLabel,resendButton:e.resendButton}),r&&(0,n.Y)(o.Fc,{colorScheme:"warning",children:(0,n.Y)(o.EY,{colorScheme:"warning",localizationKey:r,variant:"caption"})}),(0,n.FD)(o.fv,{gap:3,children:[(0,n.Y)(o.$n,{elementDescriptor:i.$z.formButtonPrimary,block:!0,hasArrow:!0,isLoading:f.isLoading,localizationKey:(0,a.G)("formButtonPrimary"),onClick:f.onFakeContinue}),t&&e.onShowAlternativeMethodsClicked&&(0,n.Y)(l.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(l.Z.ActionLink,{localizationKey:e.alternativeMethodsLabel??(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]})]})]}),(0,n.Y)(l.Z.Footer,{})]})}},2027:function(e,t,r){r.d(t,{_:()=>h,i:()=>f});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(2861),l=r(8920),s=r(4964),c=r(6088),d=r(3269),u=r(6153),p=r(196),m=r(1829);let h=e=>{let{navigate:t}=(0,s.r)(),r=(0,d.f0)();return(0,n.Y)(o.n.Part,{part:"emailLinkVerify",children:(0,n.FD)(c.Z.Root,{children:[(0,n.FD)(c.Z.Content,{children:[(0,n.FD)(u.Y.Root,{showLogo:!0,children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.FD)(f,{formSubtitle:e.formSubtitle,resendButton:e.resendButton,onResendCodeClicked:e.onResendCodeClicked,children:[" ",(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:()=>t("../")})]})]}),(0,n.Y)(c.Z.Alert,{children:r.error}),e.cardNotice&&(0,n.Y)(i.Fc,{colorScheme:"warning",children:(0,n.Y)(i.EY,{colorScheme:"warning",localizationKey:e.cardNotice,variant:"caption"})}),(0,n.Y)(c.Z.Action,{elementId:"alternativeMethods",children:e.onShowAlternativeMethodsClicked&&(0,n.Y)(c.Z.ActionLink,{localizationKey:(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]}),(0,n.Y)(c.Z.Footer,{})]})})},f=e=>{let t=(0,d.f0)();return(0,n.FD)(i.fv,{elementDescriptor:l.$z.form,gap:1,children:[(0,n.FD)(i.fv,{elementDescriptor:l.$z.formHeader,gap:1,children:[!!e.formSubtitle&&(0,n.Y)(i.EY,{localizationKey:e.formSubtitle,elementDescriptor:l.$z.formHeaderSubtitle,colorScheme:"secondary"}),e.children]}),(0,n.Y)(m.M,{localizationKey:e.resendButton,elementDescriptor:l.$z.formResendCodeLink,onClick:e.onResendCodeClicked,startDisabled:!0,isDisabled:t.isLoading,throttleTimeInSec:60,sx:e=>({marginTop:e.space.$4,width:"100%"})})]})}},3269:function(e,t,r){r.d(t,{FlowMetadataProvider:()=>g,P4:()=>b,PB:()=>f,dm:()=>m,f0:()=>p});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(4964),s=r(78);let[c,d]=(0,o.e3)("CardState"),u=e=>{let{translateError:t}=(0,s._)(),r=(0,l.r)(),[o,i]=a.useState(()=>({status:"idle",metadata:void 0,error:t(window?.Clerk?.__internal_last_error||void 0)}));a.useEffect(()=>{let e=window?.Clerk?.__internal_last_error;e&&i(r=>({...r,error:t(e)}))},[t,i,r.currentPath]);let d=a.useMemo(()=>({value:{state:o,setState:i}}),[o,i]);return(0,n.Y)(c.Provider,{value:d,children:e.children})},p=()=>{let{state:e,setState:t}=d(),{translateError:r}=(0,s._)(),n=e=>t(t=>({...t,status:"idle",metadata:e})),o=e=>t(t=>({...t,status:"loading",metadata:e})),i=async(e,t)=>(o(t),("function"==typeof e?e():e).then(e=>e).finally(()=>n(t)));return{setIdle:n,setError:e=>t(t=>({...t,error:r(e)})),setLoading:o,runAsync:i,loadingMetadata:"loading"===e.status?e.metadata:void 0,error:e.error?e.error:void 0,isLoading:"loading"===e.status,isIdle:"idle"===e.status,state:e}},m=e=>t=>(0,n.Y)(u,{children:(0,n.Y)(e,{...t})}),[h,f]=(0,o.e3)("FlowMetadata"),g=e=>{let{flow:t,part:r}=e,o=a.useMemo(()=>({value:e}),[t,r]);return(0,n.Y)(h.Provider,{value:o,children:e.children})},b=e=>t=>null==(0,i.R1)()?(0,n.Y)(i.P6,{children:(0,n.Y)(e,{...t})}):(0,n.Y)(e,{...t})},1778:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(5074),i=r(6580);let a=e=>(0,o.forwardRef)((t,r)=>{let{parsedOptions:o}=(0,i.K)();return(0,n.Y)(e,{...t,ref:r,sx:[o.shimmer?{":hover":{"--cl-shimmer-hover-transform":"skew(-45deg) translateX(600%)","--cl-shimmer-hover-after-transform":"skewX(45deg) translateX(-150%)"}}:{},t.sx]})})},4091:function(e,t,r){r.d(t,{KP:()=>o,Rx:()=>i,_8:()=>a,wz:()=>n});let n=Object.freeze({slowest:600,slower:280,slow:200,fast:120,focusRing:200,controls:100,textField:450,drawer:500}),o=Object.freeze(Object.fromEntries(Object.entries(n).map(([e,t])=>[e,`${t}ms`]))),i=Object.freeze({common:"background-color,background,border-color,color,fill,stroke,opacity,box-shadow,transform"}),a=Object.freeze({common:"ease",easeOut:"ease-out",bezier:"cubic-bezier(0.32, 0.72, 0, 1)",slowBezier:"cubic-bezier(0.16, 1, 0.3, 1)"})},3474:function(e,t,r){r.d(t,{y:()=>l});var n=r(2620),o=r(5763),i=r(8289),a=r(2216);function l({filterOutFactor:e,supportedFirstFactors:t}){let{strategies:r}=(0,a.k)(),l=t||[],s=l.filter(t=>t.strategy!==e?.strategy&&!(0,o.Kw)(t.strategy)).length+r.length>0,c=l.filter(t=>!t.strategy.startsWith("oauth_")&&t.strategy!==e?.strategy).filter(e=>(0,o.Cm)(e)).filter(e=>"passkey"!==e.strategy||(0,n.Bz)()).sort(i.aR);return{hasAnyStrategy:s,hasFirstParty:!!c,firstPartyFactors:c}}},7782:function(e,t,r){r.d(t,{i:()=>a});var n=r(5606),o=r.n(n),i=r(5074);function a(e,t={}){let[r,n]=(0,i.useState)(!1),{timeout:l=1500,...s}="number"==typeof t?{timeout:t}:t,c=(0,i.useCallback)(()=>{n(o()(e,s))},[e,s]);return(0,i.useEffect)(()=>{let e=null;return r&&(e=window.setTimeout(()=>{n(!1)},l)),()=>{e&&window.clearTimeout(e)}},[l,r]),{value:e,onCopy:c,hasCopied:r}}},4317:function(e,t,r){r.d(t,{d:()=>o});var n=r(5074);function o(e,t){let[r,o]=(0,n.useState)(e),[i,a]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>(i&&(clearTimeout(i),a(void 0)),a(setTimeout(()=>{o(e),a(void 0)},t||500)),()=>{i&&(clearTimeout(i),a(void 0))}),[JSON.stringify(e),t]),r}},180:function(e,t,r){r.d(t,{Q:()=>a});var n=r(5074),o=r(7697),i=r(6580);function a(){let{displayConfig:e,isDevelopmentOrStaging:t}=(0,o.O)(),r=t(),{unsafe_disableDevelopmentModeWarnings:a=!1}=(0,i.K)().parsedOptions,l=r&&a;return{showDevModeNotice:(0,n.useMemo)(()=>!l&&e.showDevModeWarning,[l,e])}}},2992:function(e,t,r){r.d(t,{u:()=>o});var n=r(5074);function o(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:r}=n.useMemo(()=>e.createEmailLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:r}}},2216:function(e,t,r){r.d(t,{k:()=>h});var n=r(1652),o=r(6435);let i=[{provider:"google",strategy:"oauth_google",name:"Google",docsUrl:"https://clerk.com/docs/authentication/social-connections/google"},{provider:"discord",strategy:"oauth_discord",name:"Discord",docsUrl:"https://clerk.com/docs/authentication/social-connections/discord"},{provider:"facebook",strategy:"oauth_facebook",name:"Facebook",docsUrl:"https://clerk.com/docs/authentication/social-connections/facebook"},{provider:"twitch",strategy:"oauth_twitch",name:"Twitch",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitch"},{provider:"twitter",strategy:"oauth_twitter",name:"Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitter"},{provider:"microsoft",strategy:"oauth_microsoft",name:"Microsoft",docsUrl:"https://clerk.com/docs/authentication/social-connections/microsoft"},{provider:"tiktok",strategy:"oauth_tiktok",name:"TikTok",docsUrl:"https://clerk.com/docs/authentication/social-connections/tiktok"},{provider:"linkedin",strategy:"oauth_linkedin",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin"},{provider:"linkedin_oidc",strategy:"oauth_linkedin_oidc",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin-oidc"},{provider:"github",strategy:"oauth_github",name:"GitHub",docsUrl:"https://clerk.com/docs/authentication/social-connections/github"},{provider:"gitlab",strategy:"oauth_gitlab",name:"GitLab",docsUrl:"https://clerk.com/docs/authentication/social-connections/gitlab"},{provider:"dropbox",strategy:"oauth_dropbox",name:"Dropbox",docsUrl:"https://clerk.com/docs/authentication/social-connections/dropbox"},{provider:"atlassian",strategy:"oauth_atlassian",name:"Atlassian",docsUrl:"https://clerk.com/docs/authentication/social-connections/atlassian"},{provider:"bitbucket",strategy:"oauth_bitbucket",name:"Bitbucket",docsUrl:"https://clerk.com/docs/authentication/social-connections/bitbucket"},{provider:"hubspot",strategy:"oauth_hubspot",name:"HubSpot",docsUrl:"https://clerk.com/docs/authentication/social-connections/hubspot"},{provider:"notion",strategy:"oauth_notion",name:"Notion",docsUrl:"https://clerk.com/docs/authentication/social-connections/notion"},{provider:"apple",strategy:"oauth_apple",name:"Apple",docsUrl:"https://clerk.com/docs/authentication/social-connections/apple"},{provider:"line",strategy:"oauth_line",name:"LINE",docsUrl:"https://clerk.com/docs/authentication/social-connections/line"},{provider:"instagram",strategy:"oauth_instagram",name:"Instagram",docsUrl:"https://clerk.com/docs/authentication/social-connections/instagram"},{provider:"coinbase",strategy:"oauth_coinbase",name:"Coinbase",docsUrl:"https://clerk.com/docs/authentication/social-connections/coinbase"},{provider:"spotify",strategy:"oauth_spotify",name:"Spotify",docsUrl:"https://clerk.com/docs/authentication/social-connections/spotify"},{provider:"xero",strategy:"oauth_xero",name:"Xero",docsUrl:"https://clerk.com/docs/authentication/social-connections/xero"},{provider:"box",strategy:"oauth_box",name:"Box",docsUrl:"https://clerk.com/docs/authentication/social-connections/box"},{provider:"slack",strategy:"oauth_slack",name:"Slack",docsUrl:"https://clerk.com/docs/authentication/social-connections/slack"},{provider:"linear",strategy:"oauth_linear",name:"Linear",docsUrl:"https://clerk.com/docs/authentication/social-connections/linear"},{provider:"x",strategy:"oauth_x",name:"X / Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/x-twitter-v2"},{provider:"enstall",strategy:"oauth_enstall",name:"Enstall",docsUrl:"https://clerk.com/docs/authentication/social-connections/enstall"},{provider:"huggingface",strategy:"oauth_huggingface",name:"Hugging Face",docsUrl:"https://clerk.com/docs/authentication/social-connections/huggingface"},{provider:"vercel",strategy:"oauth_vercel",name:"Vercel",docsUrl:"https://clerk.com/docs/authentication/social-connections/vercel"}],a=[{provider:"metamask",strategy:"web3_metamask_signature",name:"MetaMask"},{provider:"base",strategy:"web3_base_signature",name:"Base"},{provider:"coinbase_wallet",strategy:"web3_coinbase_wallet_signature",name:"Coinbase Wallet"},{provider:"okx_wallet",strategy:"web3_okx_wallet_signature",name:"OKX Wallet"}];var l=r(7697),s=r(1020);let c=i.map(e=>e.strategy),d=a.map(e=>e.strategy),u=n.c.map(e=>e.channel),p=(0,s.P)([...[...i,...a].map(e=>[e.provider,{strategy:e.strategy,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{strategy:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),m=(0,s.P)([...[...i,...a].map(e=>[e.strategy,{id:e.provider,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{id:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),h=()=>{let{socialProviderStrategies:e,web3FirstFactors:t,authenticatableSocialStrategies:r,social:n,alternativePhoneCodeChannels:o}=(0,l.O)().userSettings,i=e.filter(e=>c.includes(e)),a=e.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),s=r.filter(e=>c.includes(e)),h=r.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),f=Object.keys(n).filter(e=>e.startsWith("oauth_custom_")),g=e.filter(e=>!c.includes(e)||e.startsWith("oauth_custom_"));f.forEach(e=>{p[e.replace("oauth_","")]={strategy:e,name:n[e].name,iconUrl:n[e].logo_url||""}}),g.forEach(e=>{let t=e.replace("oauth_","");m[e]={id:t,iconUrl:n[e].logo_url||"",name:n[e].name}});let b=[...s,...h];b.sort((e,t)=>{let r=e.replace(/^oauth_custom_|^oauth_/,""),n=t.replace(/^oauth_custom_|^oauth_/,"");return r.localeCompare(n)});let v=t.filter(e=>d.includes(e)),y=o.filter(e=>u.includes(e));return{strategies:[...i,...v,...a,...y],web3Strategies:v,alternativePhoneCodeChannels:y,authenticatableOauthStrategies:b,strategyToDisplayData:m,providerToDisplayData:p}}},8586:function(e,t,r){r.d(t,{q:()=>o});var n=r(5074);function o(e){let{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}=n.useMemo(()=>e.createEnterpriseSSOLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}}},7896:function(e,t,r){r.d(t,{s:()=>s});var n=r(5074);let o=new Map,i=new Set,a=e=>"string"==typeof e?e:JSON.stringify(e),l=(e,t=a)=>{let r=t(e),l=(0,n.useCallback)(()=>o.get(r),[r]),s=(0,n.useCallback)(e=>{o.set(r,"function"==typeof e?e(l()):e),i.forEach(e=>e())},[r]),c=(0,n.useCallback)(()=>{s({isLoading:!1,isValidating:!1,data:null,error:null,cachedAt:void 0})},[s]);return{getCache:l,setCache:s,subscribeCache:(0,n.useCallback)(e=>(i.add(e),()=>i.delete(e)),[]),clearCache:c}},s=(e,t,r,o)=>{let i={resourceId:o,params:t},{subscribeCache:s,getCache:c,setCache:d,clearCache:u}=l(i),{subscribeCache:p,getCache:m,setCache:h}=l({...i,rv:!0}),f=r?.staleTime??12e4,g=r?.throttleTime||0,b=(0,n.useRef)(e);if(g<0)throw Error("ClerkJS: A negative value for `throttleTime` is not allowed ");let v=(0,n.useSyncExternalStore)(s,c),y=(0,n.useSyncExternalStore)(p,m),w=(0,n.useCallback)(()=>{d(e=>({...e,cachedAt:0})),h(e=>({isLoading:!1,isValidating:!1,error:null,data:(e?.data||0)+1}))},[d,h]);return(0,n.useEffect)(()=>{b.current=e;let n=!b.current,o=void 0===c()?.cachedAt||Date.now()-(c()?.cachedAt||0)>=f,i=c()?.isValidating??!1;if(n||!o||i)return;let a=performance.now();d({data:c()?.data??null,isLoading:!c()?.data,isValidating:!0,error:null}),b.current(t).then(e=>{if(void 0!==e){let t=Array.isArray(e)?e:"object"==typeof e?{...e}:e;setTimeout(()=>{d({data:t,isLoading:!1,isValidating:!1,error:null,cachedAt:Date.now()}),r?.onSuccess?.(t)},g-(performance.now()-a))}}).catch(e=>{d({data:c()?.data??null,isLoading:!1,isValidating:!1,error:e,cachedAt:Date.now()}),e&&r?.onError?.(e)})},[a(t),d,c,y]),{...v,setCache:d,invalidate:u,revalidate:w}}},3486:function(e,t,r){r.d(t,{l:()=>u,x:()=>d});var n=r(9361),o=r(7477),i=r(78),a=r(2861);let l={basic_member:(0,a.G)("membershipRole__basicMember"),guest_member:(0,a.G)("membershipRole__guestMember"),admin:(0,a.G)("membershipRole__admin")};var s=r(7896);let c={pageSize:20},d=(e=!0)=>{let{organization:t}=(0,n.Z5)(),r=(0,o.Fd)({permission:"org:sys_memberships:manage"}),i=(0,o.Fd)({permission:"org:sys_memberships:read"}),a=e&&!!t?.id&&(r||i),{data:l,isLoading:d}=(0,s.s)(a?({pageSize:e,initialPage:r})=>t.getRoles({pageSize:e,initialPage:r}):void 0,{...c,orgId:t?.id});return{isLoading:d,options:l?.data?.map(e=>({value:e.key,label:e.name}))}},u=()=>{let{t:e}=(0,i._)();return{localizeCustomRole:t=>e((e=>{if(e)return(0,a.G)(`roles.${e}`)})(t))||e((e=>{if(e)return l[e]})(t))}}},2364:function(e,t,r){r.d(t,{W:()=>o});var n=r(5074);let o=e=>{let[t,r]=(0,n.useState)(!1),o=(0,n.useRef)(null),i=Array.isArray(e.threshold)?e.threshold:[e.threshold||0],a=(0,n.useRef)();return a.current=e.onChange,{inView:t,ref:(0,n.useCallback)(t=>{if(!t){o.current&&o.current.disconnect();return}o.current=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.isIntersecting&&i.some(t=>e.intersectionRatio>=t);r(t),a.current&&a.current(t,e)})},{root:e.root,rootMargin:e.rootMargin,threshold:i}),o.current.observe(t)},[])}}},4901:function(e,t,r){r.d(t,{m:()=>o});var n=r(5074);let o=e=>{let[t,r]=function(e){let[t,r]=n.useState(e),o=n.useRef(!0);return n.useEffect(()=>()=>{o.current=!1},[]),[t,n.useCallback(e=>{o.current&&r(e)},[])]}({status:"idle",metadata:void 0,...e});return{status:t.status,setIdle:e=>r({status:"idle",metadata:e}),setError:e=>r({status:"error",metadata:e}),setLoading:e=>r({status:"loading",metadata:e}),loadingMetadata:"loading"===t.status?t.metadata:void 0,isLoading:"loading"===t.status,isIdle:"idle"===t.status}}},8691:function(e,t,r){r.d(t,{z:()=>o});var n=r(9361);let o=e=>{let t=(0,n.ho)().client.signedInSessions;return{signedInSessions:t,otherSessions:t.filter(t=>t.user?.id!==e.user?.id)}}},1550:function(e,t,r){r.d(t,{C:()=>o});var n=r(4964);let o=()=>{let e=(0,n.r)();return{navigateToFlowStart:async()=>{let t=e.indexPath;return t!==e.currentPath?e.navigate(t):e.urlStateParam?.path?e.navigate("/"+e.basePath+e.urlStateParam?.startPath):void 0}}}},2227:function(e,t,r){r.d(t,{f:()=>a});var n=r(9361),o=r(3689),i=r(2364);let a=()=>{let{userMemberships:e,userInvitations:t,userSuggestions:r}=(0,n.D_)(o.mu),{ref:a}=(0,i.W)({threshold:0,onChange:n=>{n&&(e.hasNextPage?e.fetchNext?.():t.hasNextPage?t.fetchNext?.():r.fetchNext?.())}});return{userMemberships:e,userInvitations:t,userSuggestions:r,ref:a}}},8282:function(e,t,r){r.d(t,{T:()=>d,Z:()=>u});var n=r(8693),o=r(5074),i=r(5243),a=r(78),l=r(2861),s=r(3990);let c={max_length:["unstable__errors.passwordComplexity.maximumLength","length"],min_length:["unstable__errors.passwordComplexity.minimumLength","length"],require_numbers:"unstable__errors.passwordComplexity.requireNumbers",require_lowercase:"unstable__errors.passwordComplexity.requireLowercase",require_uppercase:"unstable__errors.passwordComplexity.requireUppercase",require_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"},d=(e,t)=>{let{t:r,locale:d}=(0,a._)(),u=(0,i.R)(),{onValidationError:p=n.t,onValidationSuccess:m=n.t,onValidationWarning:h=n.t,onValidationInfo:f=n.t,onValidationComplexity:g}=t||{},b=(0,o.useCallback)(t=>{if(Object.values(t?.complexity||{}).length>0){let n=(({config:e,failedValidations:t,locale:r,t:n})=>{if(!t||0===Object.keys(t).length)return"";let o=t?.min_length||!1,i=Object.entries(t).filter(e=>!o||"min_length"===e[0]).filter(([,e])=>!!e).map(([t])=>{let r=c[t];if(Array.isArray(r)){let[o,i]=r;return n((0,l.G)(o,{[i]:e[t]}))}return n((0,l.G)(r))}),a=(0,s.kS)(i,r);return(0,s.zJ)(`${n((0,l.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${a}`)})({config:e,t:r,failedValidations:t.complexity,locale:d});return t.complexity?.min_length?f(n):p(n)}return t?.strength?.state==="fail"?p(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):t?.strength?.state==="pass"?h(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):m()},[t,r,d]);return{validatePassword:(0,o.useMemo)(()=>{let{loadZxcvbn:t}={loadZxcvbn:()=>Promise.all([u.import("@zxcvbn-ts/core"),u.import("@zxcvbn-ts/language-common")]).then(([e,t])=>{if(!e||!t)throw Error("Failed to load zxcvbn modules");let{zxcvbnOptions:r,zxcvbn:n}=e,{dictionary:o,adjacencyGraphs:i}=t;return r.setOptions({dictionary:{...o},graphs:i}),n})};return((e,t,r)=>{let{onValidation:o=n.t,onValidationComplexity:i=n.t}=r||{},{show_zxcvbn:a,validatePassword:l}=t,s=e=>((e,t)=>{let{max_length:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,require_uppercase:l}=t,s=(e=>{let t;if(e.allowed_special_characters){let r=e.allowed_special_characters.replace("[","\\[");r=r.replace("]","\\]"),t=RegExp(`[${r}]`)}else t=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(e,{minLength:r,maxLength:n})=>({max_length:e.length<n,min_length:e.length>=r,require_numbers:/\d/.test(e),require_lowercase:/[a-z]/.test(e),require_uppercase:/[A-Z]/.test(e),require_special_char:t.test(e)})})(t)(e,{maxLength:t.max_length,minLength:t.min_length}),c={max_length:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,require_uppercase:l},d=new Map;for(let e in c)c[e]&&!s[e]&&d.set(e,!0);return Object.freeze(Object.fromEntries(d))})(e,t),c=(({min_zxcvbn_strength:e,onResult:t})=>r=>n=>{let o=r(n);return(t?.(o),o.score>=e&&o.score<3)?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:o}:o.score>=e?{state:"excellent",result:o}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...o.feedback.suggestions.map(e=>`unstable__errors.zxcvbn.suggestions.${e}`)],result:o}})(t),d={};return(t,r)=>{let{onValidation:n=o,onValidationComplexity:u=i}=r||{};if(!l)return;let p=s(t);u(0===Object.keys(p).length),d={...d,complexity:p},a&&e().then(e=>{let r=c(e)(t);n({...d={...d,strength:r},strength:r})}),d.complexity&&0===Object.keys(d.complexity).length&&a||n(d)}})(t,e,{onValidation:b,onValidationComplexity:g})},[b,e,u])}},u=({passwordField:e,confirmPasswordField:t})=>{let{t:r}=(0,a._)(),n=(0,o.useCallback)(t=>e.value===t,[e.value]),i=(0,o.useMemo)(()=>n(t.value),[n,t.value]);return{setConfirmPasswordFeedback:(0,o.useCallback)(e=>{n(e)?t.setSuccess(r((0,l.G)("formFieldError__matchingPasswords"))):t.setError(r((0,l.G)("formFieldError__notMatchingPasswords")))},[t.setError,t.setSuccess,r,n]),isPasswordMatch:i}}},1577:function(e,t,r){r.d(t,{f:()=>l});var n=r(2119),o=r(6836),i=r(4166),a=r(5074);let l=(e={})=>{let{bubbles:t=!1,shoudFlip:r=!0,outsidePress:l,adjustToReferenceWidth:s=!1,referenceElement:c,canCloseModal:d}=e,[u,p]=a.useState(e.defaultOpen||!1),m=(0,n.fI)(),{update:h,refs:f,strategy:g,x:b,y:v,context:y}=(0,n.we)({open:u,onOpenChange:p,elements:{reference:c?.current},nodeId:m,whileElementsMounted:!1===e.autoUpdate?void 0:o.ll,placement:e.placement||"bottom-start",middleware:[(0,i.cY)(e.offset||6),r&&(0,i.UU)(),(0,i.BN)(),(0,i.Ej)({apply({elements:e}){if(s){let t=e.reference;e.floating.style.width=t?`${t?.offsetWidth}px`:""}}})]});(0,n.s9)(y,{enabled:!1!==d,bubbles:t,outsidePress:l}),(0,a.useEffect)(()=>{e.defaultOpen&&h()},[]);let w=a.useCallback(()=>p(e=>!e),[p]),$=a.useCallback(()=>p(!0),[p]),x=a.useCallback(()=>p(!1),[p]);return{reference:f.setReference,floating:f.setFloating,toggle:w,open:$,nodeId:m,close:x,isOpen:u,styles:{position:g,top:v??0,left:b??0},context:y}}},359:function(e,t,r){r.d(t,{j:()=>a});var n=r(5074);let o="(prefers-reduced-motion: no-preference)",i=()=>"undefined"==typeof window||!window.matchMedia(o).matches;function a(){let[e,t]=(0,n.useState)(i);return(0,n.useEffect)(()=>{let e=window.matchMedia(o);t(!window.matchMedia(o).matches);let r=e=>{t(!e.matches)};return"addEventListener"in e?e.addEventListener("change",r):e.addListener(r),()=>"addEventListener"in e?e.removeEventListener("change",r):e.removeListener(r)},[]),e}},7607:function(e,t,r){r.d(t,{Z:()=>i});var n=r(7697),o=r(7896);function i(){let{organizationSettings:e}=(0,n.O)(),t=e.forceOrganizationSelection;(0,o.s)(t?()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("723"),r.e("390")]).then(r.bind(r,1662)):void 0,"preloadComponent",{staleTime:1/0})}},8792:function(e,t,r){r.d(t,{K:()=>i});let n=0,o=()=>{};function i(){return{enableScrollLock:()=>{1==++n&&(o=function(){let e,t=/iP(hone|ad|od)|iOS/.test((e=navigator.userAgentData,e?.platform?e.platform:navigator.platform)),r=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,i=r.left?parseFloat(r.left):window.scrollX,a=r.top?parseFloat(r.top):window.scrollY;if(r.overflow="hidden",o&&(r[n]=`${o}px`),t){let e=window.visualViewport?.offsetLeft||0,t=window.visualViewport?.offsetTop||0;Object.assign(r,{position:"fixed",top:`${-(a-Math.floor(t))}px`,left:`${-(i-Math.floor(e))}px`,right:"0"})}return()=>{Object.assign(r,{overflow:"",[n]:""}),t&&(Object.assign(r,{position:"",top:"",left:"",right:""}),window.scrollTo(i,a))}}())},disableScrollLock:()=>{0==--n&&o()}}}},9107:function(e,t,r){r.d(t,{h:()=>l});var n=r(9361),o=r(5074),i=r(4),a=r(4964);let l=(e=2e3)=>{let{queryString:t}=(0,a.r)(),{setActive:r}=(0,n.ho)(),{afterSignInUrl:l}=(0,i.r)();(0,o.useEffect)(()=>{let n,o=new URLSearchParams(t).get("createdSessionId");return o&&(n=setTimeout(()=>{r({session:o,redirectUrl:l})},e)),()=>{n&&clearTimeout(n)}},[r,l,t])}},9426:function(e,t,r){r.d(t,{p:()=>l});var n=r(9361),o=r(5074),i=r(2366),a=r(7697);function l(){let e=(0,n.ho)(),{supportEmail:t}=(0,i.II)(),{displayConfig:r}=(0,a.O)(),{supportEmail:l}=r;return o.useMemo(()=>t||l||function({localPart:e,frontendApi:t}){return`${e}@${t?t.replace("clerk.",""):"clerk.com"}`}({localPart:"support",frontendApi:e.frontendApi}),[e.frontendApi,t,l])}},5914:function(e,t,r){r.d(t,{i:()=>i});var n=r(5074),o=r(4964);let i=(e,t=0)=>{let r=(0,o.r)(),i=()=>{let n=r.queryParams.tab,o=Object.entries(e).find(([e,t])=>t===n)?.[0];return o?parseInt(o,10):t},[a,l]=(0,n.useState)(i());return(0,n.useEffect)(()=>{let e=i();e!==a&&l(e)},[r.queryParams.tab]),{selectedTab:a,handleTabChange:t=>{l(t);let n=r.currentPath;r.navigate(n,{searchParams:new URLSearchParams({tab:e[t]||""})})}}}},2229:function(e,t,r){r.d(t,{F:()=>i});var n=r(7697),o=r(2216);let i=()=>{let{userSettings:e}=(0,n.O)(),{authenticatableOauthStrategies:t,web3Strategies:r,alternativePhoneCodeChannels:i}=(0,o.k)();return e.enabledFirstFactorIdentifiers.filter(e=>"passkey"!==e).length+t.length+r.length+i.length}},8501:function(e,t,r){r.d(t,{MountedCheckoutDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,checkoutDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"checkout",componentAppearance:t.props.appearance||{},flowName:"checkout",open:t.open,onOpenChange:r,componentName:"Checkout",portalId:t.props?.portalId,portalRoot:t.props?.portalRoot,children:t.props&&(0,n.Y)(i.RW,{planId:t.props.planId,planPeriod:t.props.planPeriod,for:t.props.for,onSubscriptionComplete:t.props.onSubscriptionComplete,portalRoot:t.props.portalRoot,appearance:t.props.appearance,newSubscriptionRedirectUrl:t.props.newSubscriptionRedirectUrl})},l?.id):null}},4027:function(e,t,r){r.d(t,{MountedPlanDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,planDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"planDetails",componentAppearance:t.props.appearance||{},flowName:"planDetails",open:t.open,onOpenChange:r,componentName:"PlanDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.ym,{...t.props})},l?.id):null}},9949:function(e,t,r){r.d(t,{MountedSubscriptionDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(1461),a=r(4642);function l({appearance:e,subscriptionDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"subscriptionDetails",componentAppearance:t.props.appearance||{},flowName:"subscriptionDetails",open:t.open,onOpenChange:r,componentName:"SubscriptionDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.SubscriptionDetails,{...t.props})},l?.id):null}},6053:function(e,t,r){r.d(t,{createRoot:()=>n.createRoot});var n=r(4292)},2861:function(e,t,r){r.d(t,{G:()=>n});let n=(e,...t)=>({key:e,params:t[0]})},78:function(e,t,r){let n,o;r.d(t,{d:()=>$,_:()=>x});var i=r(4518),a=r(3610),l=r(5074),s=r(2366),c=r(9361),d=r(7697),u=r(6988);let p={titleize:r(1044).Ns,timeString:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{timeStyle:"short"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},weekday:(e,t,r)=>{try{return new Intl.DateTimeFormat(t||"en-US",{weekday:r||"long"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},numeric:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US").format((0,u.OG)(e))}catch(e){return console.warn(e),""}},link:(e,t)=>`[${t}](${e})`,shortDate:(e,t)=>{let r=(0,u.OG)(e);try{return new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric",...r.getFullYear()!==new Date().getFullYear()?{year:"numeric"}:{}}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},longDate:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{month:"long",day:"numeric",year:"numeric"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}}},m=()=>{let{applicationName:e}=(0,d.O)().displayConfig,{client:t,user:r}=(0,c.ho)(),{signIn:n}=t||{};return{applicationName:e,"signIn.identifier":n?.identifier||"","user.username":r?.username||"","user.firstName":r?.firstName||"","user.lastName":r?.lastName||"","user.primaryEmailAddress":r?.primaryEmailAddress?.emailAddress||"","user.primaryPhoneNumber":r?.primaryPhoneNumber?.phoneNumber||""}},h=e=>Object.prototype.hasOwnProperty.call(p,e),f=e=>{let t=e.split(/[(,)]/g).map(e=>e.trim()).filter(e=>!!e);if(1===t.length){let[e]=t;return{modifierName:e,params:[]}}{let[e,...r]=t;return{modifierName:e,params:r.map(e=>e.replace(/['"]+/g,""))}}},g={locale:"en-US",apiKeys:{action__add:"Add new key",action__search:"Search keys",copySecret:{formButtonPrimary__copyAndClose:"Copy & Close",formHint:"For security reasons, we won't allow you to view it again later.",formTitle:'Copy your "{{name}}" API Key now'},createdAndExpirationStatus__expiresOn:"Created {{ createdDate | shortDate('en-US') }} • Expires {{ expiresDate | longDate('en-US') }}",createdAndExpirationStatus__never:"Created {{ createdDate | shortDate('en-US') }} • Never expires",detailsTitle__emptyRow:"No API keys found",formButtonPrimary__add:"Create key",formFieldCaption__expiration__expiresOn:"Expiring {{ date }}",formFieldCaption__expiration__never:"This key will never expire",formFieldOption__expiration__180d:"180 Days",formFieldOption__expiration__1d:"1 Day",formFieldOption__expiration__1y:"1 Year",formFieldOption__expiration__30d:"30 Days",formFieldOption__expiration__60d:"60 Days",formFieldOption__expiration__7d:"7 Days",formFieldOption__expiration__90d:"90 Days",formFieldOption__expiration__never:"Never",formHint:"Provide a name to generate a new key. You’ll be able to revoke it anytime.",formTitle:"Add new API key",lastUsed__days:"{{days}}d ago",lastUsed__hours:"{{hours}}h ago",lastUsed__minutes:"{{minutes}}m ago",lastUsed__months:"{{months}}mo ago",lastUsed__seconds:"{{seconds}}s ago",lastUsed__years:"{{years}}y ago",menuAction__revoke:"Revoke key",revokeConfirmation:{confirmationText:"Revoke",formButtonPrimary__revoke:"Revoke key",formHint:"Are you sure you want to delete this Secret key?",formTitle:'Revoke "{{apiKeyName}}" secret key?'}},backButton:"Back",badge__activePlan:"Active",badge__canceledEndsAt:"Canceled • Ends {{ date | shortDate('en-US') }}",badge__currentPlan:"Current plan",badge__default:"Default",badge__endsAt:"Ends {{ date | shortDate('en-US') }}",badge__expired:"Expired",badge__freeTrial:"Free trial",badge__otherImpersonatorDevice:"Other impersonator device",badge__pastDueAt:"Past due {{ date | shortDate('en-US') }}",badge__pastDuePlan:"Past due",badge__primary:"Primary",badge__renewsAt:"Renews {{ date | shortDate('en-US') }}",badge__requiresAction:"Requires action",badge__startsAt:"Starts {{ date | shortDate('en-US') }}",badge__thisDevice:"This device",badge__trialEndsAt:"Trial ends {{ date | shortDate('en-US') }}",badge__unverified:"Unverified",badge__upcomingPlan:"Upcoming",badge__userDevice:"User device",badge__you:"You",billing:{addPaymentMethod__label:"Add payment method",alwaysFree:"Always free",annually:"Annually",availableFeatures:"Available features",billedAnnually:"Billed annually",billedMonthlyOnly:"Only billed monthly",cancelFreeTrial:"Cancel free trial",cancelFreeTrialAccessUntil:"Your trial will stay active until {{ date | longDate('en-US') }}. After that, you'll lose access to trial features. You won't be charged.",cancelFreeTrialTitle:"Cancel free trial for {{plan}} plan?",cancelSubscription:"Cancel subscription",cancelSubscriptionAccessUntil:"You can keep using '{{plan}}' features until {{ date | longDate('en-US') }}, after which you will no longer have access.",cancelSubscriptionNoCharge:"You will not be charged for this subscription.",cancelSubscriptionPastDue:"Your subscription will end immediately and you will lose access to all plan features. You will be asked to pay the past due amount on your next subscription.",cancelSubscriptionTitle:"Cancel {{plan}} Subscription?",cannotSubscribeMonthly:"You cannot subscribe to this plan by paying monthly. To subscribe to this plan, you need to choose to pay annually.",cannotSubscribeUnrecoverable:"You cannot subscribe to this plan. Your existing subscription is more expensive than this plan.",checkout:{description__paymentSuccessful:"Your payment was successful.",description__subscriptionSuccessful:"Your new subscription is all set.",downgradeNotice:"You will keep your current subscription and its features until the end of the billing cycle, then you will be switched to this subscription.",emailForm:{subtitle:"Before you can complete your purchase you must add an email address where receipts will be sent.",title:"Add an email address"},lineItems:{title__freeTrialEndsAt:"Trial ends on",title__paymentMethod:"Payment method",title__statementId:"Statement ID",title__subscriptionBegins:"Subscription begins",title__totalPaid:"Total paid"},pastDueNotice:"Your previous subscription was past due, with no payment.",perMonth:"per month",title:"Checkout",title__paymentSuccessful:"Payment was successful!",title__subscriptionSuccessful:"Success!",title__trialSuccess:"Trial successfully started!",totalDueAfterTrial:"Total Due after trial ends in {{days}} days"},credit:"Credit",creditRemainder:"Credit for the remainder of your current subscription.",defaultFreePlanActive:"You're currently on the Free plan",free:"Free",getStarted:"Get started",keepFreeTrial:"Keep free trial",keepSubscription:"Keep subscription",manage:"Manage",manageSubscription:"Manage subscription",month:"Month",monthly:"Monthly",pastDue:"Past due",pay:"Pay {{amount}}",paymentMethod:{applePayDescription:{annual:"Annual payment",monthly:"Monthly payment"},dev:{anyNumbers:"Any numbers",cardNumber:"Card number",cvcZip:"CVC, ZIP",developmentMode:"Development mode",expirationDate:"Expiration date",testCardInfo:"Test card information"}},paymentMethods__label:"Payment Methods",popular:"Popular",pricingTable:{billingCycle:"Billing cycle",included:"Included"},reSubscribe:"Resubscribe",seeAllFeatures:"See all features",startFreeTrial:"Start free trial",startFreeTrial__days:"Start {{days}}-day free trial",subscribe:"Subscribe",subscriptionDetails:{beginsOn:"Begins on",currentBillingCycle:"Current billing cycle",endsOn:"Ends on",firstPaymentAmount:"First payment amount",firstPaymentOn:"First payment on",nextPaymentAmount:"Next payment amount",nextPaymentOn:"Next payment on",pastDueAt:"Past due on",renewsAt:"Renews at",subscribedOn:"Subscribed on",title:"Subscription",trialEndsOn:"Trial ends on",trialStartedOn:"Trial started on"},subtotal:"Subtotal",switchPlan:"Switch to this plan",switchToAnnual:"Switch to annual",switchToAnnualWithAnnualPrice:"Switch to annual {{currency}}{{price}} / year",switchToMonthly:"Switch to monthly",switchToMonthlyWithPrice:"Switch to monthly {{currency}}{{price}} / month",totalDue:"Total due",totalDueToday:"Total Due Today",viewFeatures:"View features",viewPayment:"View payment",year:"Year"},createOrganization:{formButtonSubmit:"Create organization",invitePage:{formButtonReset:"Skip"},title:"Create organization"},dates:{lastDay:"Yesterday at {{ date | timeString('en-US') }}",next6Days:"{{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",nextDay:"Tomorrow at {{ date | timeString('en-US') }}",numeric:"{{ date | numeric('en-US') }}",previous6Days:"Last {{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",sameDay:"Today at {{ date | timeString('en-US') }}"},dividerText:"or",footerActionLink__alternativePhoneCodeProvider:"Send code via SMS instead",footerActionLink__useAnotherMethod:"Use another method",footerPageLink__help:"Help",footerPageLink__privacy:"Privacy",footerPageLink__terms:"Terms",formButtonPrimary:"Continue",formButtonPrimary__verify:"Verify",formFieldAction__forgotPassword:"Forgot password?",formFieldError__matchingPasswords:"Passwords match.",formFieldError__notMatchingPasswords:"Passwords don't match.",formFieldError__verificationLinkExpired:"The verification link expired. Please request a new link.",formFieldHintText__optional:"Optional",formFieldHintText__slug:"A slug is a human-readable ID that must be unique. It’s often used in URLs.",formFieldInputPlaceholder__apiKeyDescription:"Explain why you’re generating this key",formFieldInputPlaceholder__apiKeyExpirationDate:"Select date",formFieldInputPlaceholder__apiKeyName:"Enter your secret key name",formFieldInputPlaceholder__backupCode:"Enter backup code",formFieldInputPlaceholder__confirmDeletionUserAccount:"Delete account",formFieldInputPlaceholder__emailAddress:"Enter your email address",formFieldInputPlaceholder__emailAddress_username:"Enter email or username",formFieldInputPlaceholder__emailAddresses:"example@email.com, example2@email.com",formFieldInputPlaceholder__firstName:"First name",formFieldInputPlaceholder__lastName:"Last name",formFieldInputPlaceholder__organizationDomain:"example.com",formFieldInputPlaceholder__organizationDomainEmailAddress:"you@example.com",formFieldInputPlaceholder__organizationName:"Organization name",formFieldInputPlaceholder__organizationSlug:"my-org",formFieldInputPlaceholder__password:"Enter your password",formFieldInputPlaceholder__phoneNumber:"Enter your phone number",formFieldInputPlaceholder__username:void 0,formFieldInput__emailAddress_format:"Example format: name@example.com",formFieldLabel__apiKey:"API key",formFieldLabel__apiKeyDescription:"Description",formFieldLabel__apiKeyExpiration:"Expiration",formFieldLabel__apiKeyName:"Secret key name",formFieldLabel__automaticInvitations:"Enable automatic invitations for this domain",formFieldLabel__backupCode:"Backup code",formFieldLabel__confirmDeletion:"Confirmation",formFieldLabel__confirmPassword:"Confirm password",formFieldLabel__currentPassword:"Current password",formFieldLabel__emailAddress:"Email address",formFieldLabel__emailAddress_username:"Email address or username",formFieldLabel__emailAddresses:"Email addresses",formFieldLabel__firstName:"First name",formFieldLabel__lastName:"Last name",formFieldLabel__newPassword:"New password",formFieldLabel__organizationDomain:"Domain",formFieldLabel__organizationDomainDeletePending:"Delete pending invitations and suggestions",formFieldLabel__organizationDomainEmailAddress:"Verification email address",formFieldLabel__organizationDomainEmailAddressDescription:"Enter an email address under this domain to receive a code and verify this domain.",formFieldLabel__organizationName:"Name",formFieldLabel__organizationSlug:"Slug",formFieldLabel__passkeyName:"Name of passkey",formFieldLabel__password:"Password",formFieldLabel__phoneNumber:"Phone number",formFieldLabel__role:"Role",formFieldLabel__signOutOfOtherSessions:"Sign out of all other devices",formFieldLabel__username:"Username",impersonationFab:{action__signOut:"Sign out",title:"Signed in as {{identifier}}"},lastAuthenticationStrategy:"Last used",maintenanceMode:"We are currently undergoing maintenance, but don't worry, it shouldn't take more than a few minutes.",membershipRole__admin:"Admin",membershipRole__basicMember:"Member",membershipRole__guestMember:"Guest",organizationList:{action__createOrganization:"Create organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",createOrganization:"Create Organization",invitationAcceptedLabel:"Joined",subtitle:"to continue to {{applicationName}}",suggestionsAcceptedLabel:"Pending approval",title:"Choose an account",titleWithoutPersonal:"Choose an organization"},organizationProfile:{apiKeysPage:{title:"API keys"},badge__automaticInvitation:"Automatic invitations",badge__automaticSuggestion:"Automatic suggestions",badge__manualInvitation:"No automatic enrollment",badge__unverified:"Unverified",billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment method and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},createDomainPage:{subtitle:"Add the domain to verify. Users with email addresses at this domain can join the organization automatically or request to join.",title:"Add domain"},invitePage:{detailsTitle__inviteFailed:"The invitations could not be sent. There are already pending invitations for the following email addresses: {{email_addresses}}.",formButtonPrimary__continue:"Send invitations",selectDropdown__role:"Select role",subtitle:"Enter or paste one or more email addresses, separated by spaces or commas.",successMessage:"Invitations successfully sent",title:"Invite new members"},membersPage:{action__invite:"Invite",action__search:"Search",activeMembersTab:{menuAction__remove:"Remove member",tableHeader__actions:"Actions",tableHeader__joined:"Joined",tableHeader__role:"Role",tableHeader__user:"User"},detailsTitle__emptyRow:"No members to display",invitationsTab:{autoInvitations:{headerSubtitle:"Invite users by connecting an email domain with your organization. Anyone who signs up with a matching email domain will be able to join the organization anytime.",headerTitle:"Automatic invitations",primaryButton:"Manage verified domains"},table__emptyRow:"No invitations to display"},invitedMembersTab:{menuAction__revoke:"Revoke invitation",tableHeader__invited:"Invited"},requestsTab:{autoSuggestions:{headerSubtitle:"Users who sign up with a matching email domain, will be able to see a suggestion to request to join your organization.",headerTitle:"Automatic suggestions",primaryButton:"Manage verified domains"},menuAction__approve:"Approve",menuAction__reject:"Reject",tableHeader__requested:"Requested access",table__emptyRow:"No requests to display"},start:{headerTitle__invitations:"Invitations",headerTitle__members:"Members",headerTitle__requests:"Requests"}},navbar:{apiKeys:"API keys",billing:"Billing",description:"Manage your organization.",general:"General",members:"Members",title:"Organization"},plansPage:{alerts:{noPermissionsToManageBilling:"You do not have permissions to manage billing for this organization."},title:"Plans"},profilePage:{dangerSection:{deleteOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to delete this organization?",messageLine2:"This action is permanent and irreversible.",successMessage:"You have deleted the organization.",title:"Delete organization"},leaveOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to leave this organization? You will lose access to this organization and its applications.",messageLine2:"This action is permanent and irreversible.",successMessage:"You have left the organization.",title:"Leave organization"},title:"Danger"},domainSection:{menuAction__manage:"Manage",menuAction__remove:"Delete",menuAction__verify:"Verify",primaryButton:"Add domain",subtitle:"Allow users to join the organization automatically or request to join based on a verified email domain.",title:"Verified domains"},successMessage:"The organization has been updated.",title:"Update profile"},removeDomainPage:{messageLine1:"The email domain {{domain}} will be removed.",messageLine2:"Users won’t be able to join the organization automatically after this.",successMessage:"{{domain}} has been removed.",title:"Remove domain"},start:{headerTitle__general:"General",headerTitle__members:"Members",profileSection:{primaryButton:"Update profile",title:"Organization Profile",uploadAction__title:"Logo"}},verifiedDomainPage:{dangerTab:{calloutInfoLabel:"Removing this domain will affect invited users.",removeDomainActionLabel__remove:"Remove domain",removeDomainSubtitle:"Remove this domain from your verified domains",removeDomainTitle:"Remove domain"},enrollmentTab:{automaticInvitationOption__description:"Users are automatically invited to join the organization when they sign-up and can join anytime.",automaticInvitationOption__label:"Automatic invitations",automaticSuggestionOption__description:"Users receive a suggestion to request to join, but must be approved by an admin before they are able to join the organization.",automaticSuggestionOption__label:"Automatic suggestions",calloutInfoLabel:"Changing the enrollment mode will only affect new users.",calloutInvitationCountLabel:"Pending invitations sent to users: {{count}}",calloutSuggestionCountLabel:"Pending suggestions sent to users: {{count}}",manualInvitationOption__description:"Users can only be invited manually to the organization.",manualInvitationOption__label:"No automatic enrollment",subtitle:"Choose how users from this domain can join the organization."},start:{headerTitle__danger:"Danger",headerTitle__enrollment:"Enrollment options"},subtitle:"The domain {{domain}} is now verified. Continue by selecting enrollment mode.",title:"Update {{domain}}"},verifyDomainPage:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"The domain {{domainName}} needs to be verified via email.",subtitleVerificationCodeScreen:"A verification code was sent to {{emailAddress}}. Enter the code to continue.",title:"Verify domain"}},organizationSwitcher:{action__closeOrganizationSwitcher:"Close organization switcher",action__createOrganization:"Create organization",action__invitationAccept:"Join",action__manageOrganization:"Manage",action__openOrganizationSwitcher:"Open organization switcher",action__suggestionsAccept:"Request to join",notSelected:"No organization selected",personalWorkspace:"Personal account",suggestionsAcceptedLabel:"Pending approval"},paginationButton__next:"Next",paginationButton__previous:"Previous",paginationRowText__displaying:"Displaying",paginationRowText__of:"of",reverification:{alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__passkey:"Use your passkey",blockButton__password:"Continue with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble verifying your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods for verification.",title:"Use another method"},backupCodeMfa:{subtitle:"Enter the backup code you received when setting up two-step authentication",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your email to continue",title:"Verification required"},noAvailableMethods:{message:"Cannot proceed with verification. No suitable authentication factor is configured",subtitle:"An error occurred",title:"Cannot verify your account"},passkey:{blockButton__passkey:"Use your passkey",subtitle:"Using your passkey confirms your identity. Your device may ask for your fingerprint, face, or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter your current password to continue",title:"Verification required"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},totpMfa:{formTitle:"Verification code",subtitle:"Enter the code generated by your authenticator app to continue",title:"Verification required"}},signIn:{accountSwitcher:{action__addAccount:"Add account",action__signOutAll:"Sign out of all accounts",subtitle:"Select the account with which you wish to continue.",title:"Choose an account"},alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__emailLink:"Email link to {{identifier}}",blockButton__passkey:"Sign in with your passkey",blockButton__password:"Sign in with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble signing into your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods to sign in.",title:"Use another method"},alternativePhoneCodeProvider:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your {{provider}}"},backupCodeMfa:{subtitle:"Your backup code is the one you got when setting up two-step authentication.",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailCodeMfa:{formTitle:"Check your email",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-in",title:"Verification link is invalid for this device"},expired:{subtitle:"Return to the original tab to continue.",title:"This verification link has expired"},failed:{subtitle:"Return to the original tab to continue.",title:"This verification link is invalid"},formSubtitle:"Use the verification link sent to your email",formTitle:"Verification link",loading:{subtitle:"You will be redirected soon",title:"Signing in..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email",unusedTab:{title:"You may close this tab"},verified:{subtitle:"You will be redirected soon",title:"Successfully signed in"},verifiedSwitchTab:{subtitle:"Return to original tab to continue",subtitleNewTab:"Return to the newly opened tab to continue",titleNewTab:"Signed in on other tab"}},emailLinkMfa:{formSubtitle:"Use the verification link sent to your email",resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},forgotPassword:{formTitle:"Reset password code",resendButton:"Didn't receive a code? Resend",subtitle:"to reset your password",subtitle_email:"First, enter the code sent to your email address",subtitle_phone:"First, enter the code sent to your phone",title:"Reset password"},forgotPasswordAlternativeMethods:{blockButton__resetPassword:"Reset your password",label__alternativeMethods:"Or, sign in with another method",title:"Forgot Password?"},newDeviceVerificationNotice:"You're signing in from a new device. We're asking for verification to keep your account secure.",noAvailableMethods:{message:"Cannot proceed with sign in. There's no available authentication factor.",subtitle:"An error occurred",title:"Cannot sign in"},passkey:{subtitle:"Using your passkey confirms it's you. Your device may ask for your fingerprint, face or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter the password associated with your account",title:"Enter your password"},passwordCompromised:{title:"Password compromised"},passwordPwned:{title:"Password compromised"},passwordUntrusted:{title:"Password untrusted"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your phone"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"To continue, please enter the verification code sent to your phone",title:"Check your phone"},resetPassword:{formButtonPrimary:"Reset Password",requiredMessage:"For security reasons, it is required to reset your password.",successMessage:"Your password was successfully changed. Signing you in, please wait a moment.",title:"Set new password"},resetPasswordMfa:{detailsLabel:"We need to verify your identity before resetting your password."},start:{actionLink:"Sign up",actionLink__join_waitlist:"Join waitlist",actionLink__use_email:"Use email",actionLink__use_email_username:"Use email or username",actionLink__use_passkey:"Use passkey instead",actionLink__use_phone:"Use phone",actionLink__use_username:"Use username",actionText:"Don’t have an account?",actionText__join_waitlist:"Want early access?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign in to {{applicationName}} with {{provider}}"},subtitle:"Welcome back! Please sign in to continue",subtitleCombined:void 0,title:"Sign in to {{applicationName}}",titleCombined:"Continue to {{applicationName}}"},totpMfa:{formTitle:"Verification code",subtitle:"To continue, please enter the verification code generated by your authenticator app",title:"Two-step verification"}},signInEnterPasswordTitle:"Enter your password",signUp:{alternativePhoneCodeProvider:{resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your {{provider}}",title:"Verify your {{provider}}"},continue:{actionLink:"Sign in",actionText:"Already have an account?",subtitle:"Please fill in the remaining details to continue.",title:"Fill in missing fields"},emailCode:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your email",title:"Verify your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-up",title:"Verification link is invalid for this device"},formSubtitle:"Use the verification link sent to your email address",formTitle:"Verification link",loading:{title:"Signing up..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Verify your email",verified:{title:"Successfully signed up"},verifiedSwitchTab:{subtitle:"Return to the newly opened tab to continue",subtitleNewTab:"Return to previous tab to continue",title:"Successfully verified email"}},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},legalConsent:{checkbox:{label__onlyPrivacyPolicy:'I agree to the {{ privacyPolicyLink || link("Privacy Policy") }}',label__onlyTermsOfService:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }}',label__termsOfServiceAndPrivacyPolicy:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }} and {{ privacyPolicyLink || link("Privacy Policy") }}'},continue:{subtitle:"Please read and accept the terms to continue",title:"Legal consent"}},phoneCode:{formSubtitle:"Enter the verification code sent to your phone number",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your phone",title:"Verify your phone"},restrictedAccess:{actionLink:"Sign in",actionText:"Already have an account?",blockButton__emailSupport:"Email support",blockButton__joinWaitlist:"Join waitlist",subtitle:"Sign ups are currently disabled. If you believe you should have access, please contact support.",subtitleWaitlist:"Sign ups are currently disabled. To be the first to know when we launch, join the waitlist.",title:"Access restricted"},start:{actionLink:"Sign in",actionLink__use_email:"Use email instead",actionLink__use_phone:"Use phone instead",actionText:"Already have an account?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign up to {{applicationName}} with {{provider}}"},subtitle:"Welcome! Please fill in the details to get started.",subtitleCombined:"Welcome! Please fill in the details to get started.",title:"Create your account",titleCombined:"Create your account"}},socialButtonsBlockButton:"Continue with {{provider|titleize}}",socialButtonsBlockButtonManyInView:"{{provider|titleize}}",taskChooseOrganization:{chooseOrganization:{action__createOrganization:"Create new organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",subtitle:"Join an existing organization or create a new one",suggestionsAcceptedLabel:"Pending approval",title:"Choose an organization"},createOrganization:{formButtonReset:"Cancel",formButtonSubmit:"Continue",formFieldInputPlaceholder__name:"My Organization",formFieldInputPlaceholder__slug:"my-organization",formFieldLabel__name:"Name",formFieldLabel__slug:"Slug",subtitle:"Enter your organization details to continue",title:"Setup your organization"},signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"}},taskResetPassword:{formButtonPrimary:"Reset Password",signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"},subtitle:"Your account requires a new password before you can continue",title:"Reset your password"},unstable__errors:{already_a_member_in_organization:"{{email}} is already a member of the organization.",avatar_file_size_exceeded:"File size exceeds the maximum limit of 10MB. Please choose a smaller file.",avatar_file_type_invalid:"File type not supported. Please upload a JPG, PNG, GIF, or WEBP image.",captcha_invalid:void 0,captcha_unavailable:"Sign up unsuccessful due to failed bot validation. Please refresh the page to try again or reach out to support for more assistance.",form_code_incorrect:void 0,form_email_address_blocked:void 0,form_identifier_exists__email_address:void 0,form_identifier_exists__phone_number:void 0,form_identifier_exists__username:void 0,form_identifier_not_found:void 0,form_new_password_matches_current:"New password cannot be the same as the current password.",form_param_format_invalid:void 0,form_param_format_invalid__email_address:void 0,form_param_format_invalid__phone_number:void 0,form_param_max_length_exceeded__first_name:void 0,form_param_max_length_exceeded__last_name:void 0,form_param_max_length_exceeded__name:void 0,form_param_nil:void 0,form_param_type_invalid:void 0,form_param_type_invalid__email_address:void 0,form_param_type_invalid__phone_number:void 0,form_param_value_invalid:void 0,form_password_incorrect:void 0,form_password_or_identifier_incorrect:void 0,form_password_length_too_short:"Your password is too short. It must be at least 8 characters long.",form_password_not_strong_enough:"Your password is not strong enough.",form_password_pwned:"This password has been found as part of a breach and can not be used, please try another password instead.",form_password_pwned__sign_in:"This password has been found as part of a breach and can not be used, please reset your password.",form_password_size_in_bytes_exceeded:void 0,form_password_compromised__sign_in:void 0,form_password_untrusted__sign_in:"Your password may be compromised. To protect your account, please continue with an alternative sign-in method. You will be required to reset your password after signing in.",form_password_validation_failed:void 0,form_username_invalid_character:void 0,form_username_invalid_length:"Your username must be between {{min_length}} and {{max_length}} characters long.",form_username_needs_non_number_char:"Your username must contain at least one non-numeric character.",identification_deletion_failed:void 0,not_allowed_access:void 0,organization_domain_blocked:void 0,organization_domain_common:void 0,organization_domain_exists_for_enterprise_connection:void 0,organization_membership_quota_exceeded:void 0,organization_minimum_permissions_needed:void 0,organization_not_found_or_unauthorized:"You are no longer a member of this organization. Please choose or create another one.",organization_not_found_or_unauthorized_with_create_organization_disabled:"You are no longer a member of this organization. Please choose another one.",passkey_already_exists:"A passkey is already registered with this device.",passkey_not_supported:"Passkeys are not supported on this device.",passkey_pa_not_supported:"Registration requires a platform authenticator but the device does not support it.",passkey_registration_cancelled:"Passkey registration was cancelled or timed out.",passkey_retrieval_cancelled:"Passkey verification was cancelled or timed out.",passwordComplexity:{maximumLength:"less than {{length}} characters",minimumLength:"{{length}} or more characters",requireLowercase:"a lowercase letter",requireNumbers:"a number",requireSpecialCharacter:"a special character",requireUppercase:"an uppercase letter",sentencePrefix:"Your password must contain"},phone_number_exists:void 0,session_exists:void 0,web3_missing_identifier:"A Web3 Wallet extension cannot be found. Please install one to continue.",zxcvbn:{couldBeStronger:"Your password works, but could be stronger. Try adding more characters.",goodPassword:"Your password meets all the necessary requirements.",notEnough:"Your password is not strong enough.",suggestions:{allUppercase:"Capitalize some, but not all letters.",anotherWord:"Add more words that are less common.",associatedYears:"Avoid years that are associated with you.",capitalization:"Capitalize more than the first letter.",dates:"Avoid dates and years that are associated with you.",l33t:"Avoid predictable letter substitutions like '@' for 'a'.",longerKeyboardPattern:"Use longer keyboard patterns and change typing direction multiple times.",noNeed:"You can create strong passwords without using symbols, numbers, or uppercase letters.",pwned:"If you use this password elsewhere, you should change it.",recentYears:"Avoid recent years.",repeated:"Avoid repeated words and characters.",reverseWords:"Avoid reversed spellings of common words.",sequences:"Avoid common character sequences.",useWords:"Use multiple words, but avoid common phrases."},warnings:{common:"This is a commonly used password.",commonNames:"Common names and surnames are easy to guess.",dates:"Dates are easy to guess.",extendedRepeat:'Repeated character patterns like "abcabcabc" are easy to guess.',keyPattern:"Short keyboard patterns are easy to guess.",namesByThemselves:"Single names or surnames are easy to guess.",pwned:"Your password was exposed by a data breach on the Internet.",recentYears:"Recent years are easy to guess.",sequences:'Common character sequences like "abc" are easy to guess.',similarToCommon:"This is similar to a commonly used password.",simpleRepeat:'Repeated characters like "aaa" are easy to guess.',straightRow:"Straight rows of keys on your keyboard are easy to guess.",topHundred:"This is a frequently used password.",topTen:"This is a heavily used password.",userInputs:"There should not be any personal or page related data.",wordByItself:"Single words are easy to guess."}}},userButton:{action__addAccount:"Add account",action__closeUserMenu:"Close user menu",action__manageAccount:"Manage account",action__openUserMenu:"Open user menu",action__signOut:"Sign out",action__signOutAll:"Sign out of all accounts"},userProfile:{apiKeysPage:{title:"API keys"},backupCodePage:{actionLabel__copied:"Copied!",actionLabel__copy:"Copy all",actionLabel__download:"Download .txt",actionLabel__print:"Print",infoText1:"Backup codes will be enabled for this account.",infoText2:"Keep the backup codes secret and store them securely. You may regenerate backup codes if you suspect they have been compromised.",subtitle__codelist:"Store them securely and keep them secret.",successMessage:"Backup codes are now enabled. You can use one of these to sign in to your account, if you lose access to your authentication device. Each code can only be used once.",successSubtitle:"You can use one of these to sign in to your account, if you lose access to your authentication device.",title:"Add backup code verification",title__codelist:"Backup codes"},billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment source and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},connectedAccountPage:{formHint:"Select a provider to connect your account.",formHint__noAccounts:"There are no available external account providers.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this connected account and any dependent features will no longer work.",successMessage:"{{connectedAccount}} has been removed from your account.",title:"Remove connected account"},socialButtonsBlockButton:"{{provider|titleize}}",successMessage:"The provider has been added to your account",title:"Add connected account"},deletePage:{actionDescription:'Type "Delete account" below to continue.',confirm:"Delete account",messageLine1:"Are you sure you want to delete your account? Some associated data may be retained. To request full data deletion, please contact support.",messageLine2:"This action is permanent and irreversible.",title:"Delete account"},emailAddressPage:{emailCode:{formHint:"An email containing a verification code will be sent to this email address.",formSubtitle:"Enter the verification code sent to {{identifier}}",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",successMessage:"The email {{identifier}} has been added to your account."},emailLink:{formHint:"An email containing a verification link will be sent to this email address.",formSubtitle:"Click on the verification link in the email sent to {{identifier}}",formTitle:"Verification link",resendButton:"Didn't receive a link? Resend",successMessage:"The email {{identifier}} has been added to your account."},enterpriseSSOLink:{formButton:"Click to sign-in",formSubtitle:"Complete the sign-in with {{identifier}}"},formHint:"You'll need to verify this email address before it can be added to your account.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this email address.",successMessage:"{{emailAddress}} has been removed from your account.",title:"Remove email address"},title:"Add email address",verifyTitle:"Verify email address"},formButtonPrimary__add:"Add",formButtonPrimary__continue:"Continue",formButtonPrimary__finish:"Finish",formButtonPrimary__remove:"Remove",formButtonPrimary__save:"Save",formButtonReset:"Cancel",mfaPage:{formHint:"Select a method to add.",title:"Add two-step verification"},mfaPhoneCodePage:{backButton:"Use existing number",primaryButton__addPhoneNumber:"Add phone number",removeResource:{messageLine1:"{{identifier}} will be no longer receiving verification codes when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"SMS code two-step verification has been removed for {{mfaPhoneCode}}",title:"Remove two-step verification"},subtitle__availablePhoneNumbers:"Select an existing phone number to register for SMS code two-step verification or add a new one.",subtitle__unavailablePhoneNumbers:"There are no available phone numbers to register for SMS code two-step verification, please add a new one.",successMessage1:"When signing in, you will need to enter a verification code sent to this phone number as an additional step.",successMessage2:"Save these backup codes and store them somewhere safe. If you lose access to your authentication device, you can use backup codes to sign in.",successTitle:"SMS code verification enabled",title:"Add SMS code verification"},mfaTOTPPage:{authenticatorApp:{buttonAbleToScan__nonPrimary:"Scan QR code instead",buttonUnableToScan__nonPrimary:"Can’t scan QR code?",infoText__ableToScan:"Set up a new sign-in method in your authenticator app and scan the following QR code to link it to your account.",infoText__unableToScan:"Set up a new sign-in method in your authenticator and enter the Key provided below.",inputLabel__unableToScan1:"Make sure Time-based or One-time passwords is enabled, then finish linking your account.",inputLabel__unableToScan2:"Alternatively, if your authenticator supports TOTP URIs, you can also copy the full URI."},removeResource:{messageLine1:"Verification codes from this authenticator will no longer be required when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"Two-step verification via authenticator application has been removed.",title:"Remove two-step verification"},successMessage:"Two-step verification is now enabled. When signing in, you will need to enter a verification code from this authenticator as an additional step.",title:"Add authenticator application",verifySubtitle:"Enter verification code generated by your authenticator",verifyTitle:"Verification code"},mobileButton__menu:"Menu",navbar:{account:"Profile",apiKeys:"API keys",billing:"Billing",description:"Manage your account info.",security:"Security",title:"Account"},passkeyScreen:{removeResource:{messageLine1:"{{name}} will be removed from this account.",title:"Remove passkey"},subtitle__rename:"You can change the passkey name to make it easier to find.",title__rename:"Rename Passkey"},passwordPage:{checkboxInfoText__signOutOfOtherSessions:"It is recommended to sign out of all other devices which may have used your old password.",readonly:"Your password can currently not be edited because you can sign in only via the enterprise connection.",successMessage__set:"Your password has been set.",successMessage__signOutOfOtherSessions:"All other devices have been signed out.",successMessage__update:"Your password has been updated.",title__set:"Set password",title__update:"Update password"},phoneNumberPage:{infoText:"A text message containing a verification code will be sent to this phone number. Message and data rates may apply.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this phone number.",successMessage:"{{phoneNumber}} has been removed from your account.",title:"Remove phone number"},successMessage:"{{identifier}} has been added to your account.",title:"Add phone number",verifySubtitle:"Enter the verification code sent to {{identifier}}",verifyTitle:"Verify phone number"},plansPage:{title:"Plans"},profilePage:{fileDropAreaHint:"Recommended size 1:1, up to 10MB.",imageFormDestructiveActionSubtitle:"Remove",imageFormSubtitle:"Upload",imageFormTitle:"Profile image",readonly:"Your profile information has been provided by the enterprise connection and cannot be edited.",successMessage:"Your profile has been updated.",title:"Update profile"},start:{activeDevicesSection:{destructiveAction:"Sign out of device",title:"Active devices"},connectedAccountsSection:{actionLabel__connectionFailed:"Reconnect",actionLabel__reauthorize:"Authorize now",destructiveActionTitle:"Remove",primaryButton:"Connect account",subtitle__disconnected:"This account has been disconnected.",subtitle__reauthorize:"The required scopes have been updated, and you may be experiencing limited functionality. Please re-authorize this application to avoid any issues",title:"Connected accounts"},dangerSection:{deleteAccountButton:"Delete account",title:"Delete account"},emailAddressesSection:{destructiveAction:"Remove email",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify",primaryButton:"Add email address",title:"Email addresses"},enterpriseAccountsSection:{title:"Enterprise accounts"},headerTitle__account:"Profile details",headerTitle__security:"Security",mfaSection:{backupCodes:{actionLabel__regenerate:"Regenerate",headerTitle:"Backup codes",subtitle__regenerate:"Get a fresh set of secure backup codes. Prior backup codes will be deleted and cannot be used.",title__regenerate:"Regenerate backup codes"},phoneCode:{actionLabel__setDefault:"Set as default",destructiveActionLabel:"Remove"},primaryButton:"Add two-step verification",title:"Two-step verification",totp:{destructiveActionTitle:"Remove",headerTitle:"Authenticator application"}},passkeysSection:{menuAction__destructive:"Remove",menuAction__rename:"Rename",primaryButton:"Add a passkey",title:"Passkeys"},passwordSection:{primaryButton__setPassword:"Set password",primaryButton__updatePassword:"Update password",title:"Password"},phoneNumbersSection:{destructiveAction:"Remove phone number",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify phone number",primaryButton:"Add phone number",title:"Phone numbers"},profileSection:{primaryButton:"Update profile",title:"Profile"},usernameSection:{primaryButton__setUsername:"Set username",primaryButton__updateUsername:"Update username",title:"Username"},web3WalletsSection:{destructiveAction:"Remove wallet",detailsAction__nonPrimary:"Set as primary",primaryButton:"Connect wallet",title:"Web3 wallets"}},usernamePage:{successMessage:"Your username has been updated.",title__set:"Set username",title__update:"Update username"},web3WalletPage:{removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this web3 wallet.",successMessage:"{{web3Wallet}} has been removed from your account.",title:"Remove web3 wallet"},subtitle__availableWallets:"Select a web3 wallet to connect to your account.",subtitle__unavailableWallets:"There are no available web3 wallets.",successMessage:"The wallet has been added to your account.",title:"Add web3 wallet",web3WalletButtonsBlockButton:"{{provider|titleize}}"}},waitlist:{start:{actionLink:"Sign in",actionText:"Already have access?",formButton:"Join the waitlist",subtitle:"Enter your email address and we’ll let you know when your spot is ready",title:"Join the waitlist"},success:{message:"You will be redirected soon...",subtitle:"We’ll be in touch when your spot is ready",title:"Thanks for joining the waitlist!"}}};var b=r(2861),v=r(4498),y=r(7447);let w=()=>{let{localization:e}=(0,s.II)();var t=e||{};if(!n||o&&o!==t&&!(0,y.j)(t,o)){o=t;let e={};(0,v.n)(g,e),(0,v.n)(t,e),n=e}return n},$=e=>{let t=l.forwardRef((t,r)=>{let n=w(),{localizationKey:o,...a}=t,l=m();return o?"string"==typeof o?(0,i.Y)(e,{...a,ref:r,children:o}):(0,i.Y)(e,{...a,ref:r,"data-localization-key":_(o),children:S(o,n,l)||a.children}):(0,i.Y)(e,{...a,ref:r})}),r=e.displayName||e.name||"Component";return t.displayName=`Localizable${r}`.replace("_",""),t},x=()=>{let{localization:e}=(0,s.II)(),t=w(),r=m(),n=e=>e&&"string"!=typeof e?S(e,t,r):e||"";return{t:n,translateError:e=>{if(!e||"string"==typeof e)return n(e);if((0,a.Cm)(e))return n((0,b.G)(`unstable__errors.${e.code}`))||e.message;let{code:t,message:r,longMessage:o,meta:i}=e||{},{paramName:l=""}=i||{};return t?n((0,b.G)(`unstable__errors.${t}__${l}`))||n((0,b.G)(`unstable__errors.${t}`))||o||r:""},locale:e?.locale||g.locale}},_=e=>e.key,S=(e,t,r)=>{let n=((e,t)=>{let r=(t||"").split("."),n=e;for(let e=0;e<r.length;e++)if(void 0===(n=n[r[e]]))return;return n})(t,e.key),o=e.params;return((e,t)=>{var r,n;let o,i,a,l,s;if(!e)return"";let{normalisedString:c,expressions:d}=(r=e,n=t,o=(r.match(/{{.+?}}/g)||[]).map(e=>e.replace(/[{}]/g,"")).map(e=>e.split("|").map(e=>e.trim())).filter(e=>e[0]in n).map(([e,...t])=>({token:e,modifiers:t.map(e=>f(e)).filter(e=>h(e.modifierName))})),i=r,o.forEach(({token:e})=>{i=i.replace(/{{.+?}}/,`_++${e}++_`)}),{expressions:o,normalisedString:i});return a=c,l=d,s=t,l.forEach(({token:e,modifiers:t})=>{let r=t.reduce((e,t)=>{try{return p[t.modifierName](e,...t.params)}catch(e){return console.warn(e),""}},s[e]);a=a.replace(`_++${e}++_`,r)}),a})(n||"",{...r,...o})}},9661:function(e,t,r){r.d(t,{VirtualBodyRootPortal:()=>F,Portal:()=>T});var n=r(4518),o=r(2166),i=r(2950),a=r(5074),l=r(5323),s=r(4),c=r(5350),d=r(5240),u=r(9078),p=r(3620),m=r(9233),h=r(2826),f=r(9953),g=r(5892),b=r(1),v=r(7032),y=r(451),w=r(6256),$=r(164),x=r(8188),_=r(2121),S=r(1616);function C({componentName:e,props:t,children:r}){switch(e){case"SignIn":return(0,n.Y)(s.Q.Provider,{value:{componentName:e,...t},children:r});case"SignUp":return(0,n.Y)(c.g.Provider,{value:{componentName:e,...t},children:r});case"UserProfile":return(0,n.Y)(d.M.Provider,{value:{componentName:e,...t},children:r});case"UserVerification":return(0,n.Y)(u._.Provider,{value:{componentName:e,...t},children:r});case"UserAvatar":return(0,n.Y)(p.E.Provider,{value:{componentName:e,...t},children:r});case"UserButton":return(0,n.Y)(m.P.Provider,{value:{componentName:e,...t},children:r});case"OrganizationSwitcher":return(0,n.Y)(h.U.Provider,{value:{componentName:e,...t},children:r});case"OrganizationList":return(0,n.Y)(f.f.Provider,{value:{componentName:e,...t},children:r});case"OrganizationProfile":return(0,n.Y)(g.o.Provider,{value:{componentName:e,...t},children:r});case"CreateOrganization":return(0,n.Y)(b.$.Provider,{value:{componentName:e,...t},children:r});case"GoogleOneTap":return(0,n.Y)(v.Q.Provider,{value:{componentName:e,...t},children:r});case"Waitlist":return(0,n.Y)(y.r.Provider,{value:{componentName:e,...t},children:r});case"PricingTable":return(0,n.Y)(w.m$.Provider,{value:t.for||"user",children:(0,n.Y)($.a.Provider,{value:{componentName:e,...t},children:r})});case"APIKeys":return(0,n.Y)(x.w.Provider,{value:{componentName:e,...t},children:r});case"OAuthConsent":return(0,n.Y)(_.n.Provider,{value:{componentName:e,...t},children:r});case"TaskChooseOrganization":return(0,n.Y)(S.lY.Provider,{value:{componentName:"TaskChooseOrganization",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});case"TaskResetPassword":return(0,n.Y)(S.pq.Provider,{value:{componentName:"TaskResetPassword",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});default:throw Error(`Unknown component context: ${e}`)}}var k=r(4173),A=r(9361),I=r(4777);let z=({basePath:e,preservedParams:t,children:r})=>{let{navigate:o}=(0,A.ho)(),[i,l]=a.useState(!1);if(!o)throw Error("Clerk: Missing navigate option.");let s=(e,t)=>{if(e)return o((0,k.FV)(e),t)};return(a.useEffect(()=>{(async()=>{if((0,k.tL)(window.location.hash)){let e=(0,k.yR)(new URL(window.location.href));await s(e.href,{replace:!0}),l(!0)}})()},[l,o,window.location.hash]),(0,k.tL)(window.location.hash)&&!i)?null:(0,n.Y)(I.F,{basePath:e.substring(1),startPath:"",getPath:()=>window.location.pathname,getQueryString:()=>window.location.search,internalNavigate:s,refreshEvents:["popstate"],preservedParams:t,children:r})},P="CLERK-ROUTER/HASH",D=({preservedParams:e,children:t})=>{let r=async e=>{if(e)return window.location.hash=(0,k.FV)(e).substring(1+P.length),Promise.resolve()},o=()=>new URL((0,k.tL)(window.location.hash)?window.location.origin+window.location.hash.substring(1):window.location.origin);return(0,n.Y)(I.F,{getPath:()=>"/"===o().pathname?"/"+P:"/"+P+o().pathname,basePath:P,startPath:"",getQueryString:()=>o().search,internalNavigate:r,refreshEvents:["popstate","hashchange"],preservedParams:e,children:t})};var Y=r(4132),R=r(4692);function T({props:e,component:t,componentName:r,node:s}){let c={...e,...(0,R.C)({routing:e?.routing,path:e?.path})},d=(0,n.Y)(C,{componentName:r,props:c,children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(t,c)})});return c?.routing==="path"?(c?.path||(0,i.a)(r),l.createPortal((0,n.Y)(z,{preservedParams:o.l,basePath:c.path,children:d}),s)):l.createPortal((0,n.Y)(D,{preservedParams:o.l,children:d}),s)}class F extends a.PureComponent{elRef=document.createElement("div");componentDidMount(){document.body.appendChild(this.elRef)}componentWillUnmount(){document.body.removeChild(this.elRef)}render(){let{props:e,startPath:t,component:r,componentName:o}=this.props;return l.createPortal((0,n.Y)(Y.x,{startPath:t,children:(0,n.Y)(C,{componentName:o,props:e??{},children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(r,e)})})}),this.elRef)}}},2349:function(e,t,r){r.d(t,{F:()=>c});var n=r(4518),o=r(1914),i=r(1464),a=r(6488);let{applyVariants:l,filterProps:s}=(0,o.v)(e=>({base:{padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,...i.s.borderVariants(e,{hoverStyles:!1}).normal},variants:{colorScheme:{danger:{color:e.colors.$danger500,backgroundColor:e.colors.$dangerAlpha50,...i.s.borderVariants(e,{hasError:!0}).normal},info:{color:e.colors.$neutralAlpha150,background:e.colors.$neutralAlpha50},warning:{backgroundColor:e.colors.$warningAlpha100,...i.s.borderVariants(e,{hasWarning:!0,hoverStyles:!1}).normal}}},defaultVariants:{colorScheme:"warning"}})),c=e=>(0,n.Y)(a.s,{align:"center",justify:"start",...s(e),css:l(e),children:e.children})},7736:function(e,t,r){r.d(t,{a:()=>s});var n=r(4518),o=r(5074),i=r(1914),a=r(1908);let{applyVariants:l}=(0,i.v)(()=>({base:{boxSizing:"border-box"},variants:{}})),s=o.forwardRef((e,t)=>{let{as:r="div",...o}=e;return(0,n.Y)(r,{...(0,a.k)(o),css:l(e),ref:t})})},6488:function(e,t,r){r.d(t,{f:()=>u,s:()=>d});var n=r(4518),o=r(5074),i=r(1914),a=r(7736);let l=(e,t)=>navigator?.userAgent?.match(/(iphone|ipad).+(os).*(\s13_).+safari/i)?{'& > *:not([hidden]):not([style*="visibility: hidden"]) + *:not([hidden]):not([style*="visibility: hidden"])':{marginLeft:"row"===t?e:void 0,marginTop:"col"===t?e:void 0}}:{gap:e},{applyVariants:s,filterProps:c}=(0,i.v)((e,t)=>{let r="col"===t.flexDirection||"colReverse"===t.flexDirection||"col"===t.direction||"colReverse"===t.direction?"col":"row";return{base:{display:"flex"},variants:{direction:{row:{flexDirection:"row"},col:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"}},wrap:{noWrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}},gap:{1:l(e.space.$1,r),2:l(e.space.$2,r),3:l(e.space.$3,r),4:l(e.space.$4,r),5:l(e.space.$5,r),6:l(e.space.$6,r),7:l(e.space.$7,r),8:l(e.space.$8,r),9:l(e.space.$9,r)},center:{true:{justifyContent:"center",alignItems:"center"}}},defaultVariants:{direction:"row",align:"stretch",justify:"start",wrap:"noWrap"}}}),d=o.forwardRef((e,t)=>(0,n.Y)(a.a,{...c(e),css:s(e),ref:t})),u=o.forwardRef((e,t)=>(0,n.Y)(d,{...e,direction:"col",ref:t}))},2204:function(e,t,r){r.d(t,{AT:()=>g,Oc:()=>f,pd:()=>m,TM:()=>b,EP:()=>h});var n=r(4518),o=r(5074),i=r(78),a=r(2861),l=r(1914),s=r(1464),c=r(7591),d=r(593);let{applyVariants:u,filterProps:p}=(0,l.v)((e,t)=>({base:{boxSizing:"border-box",margin:0,padding:`${e.space.$1x5} ${e.space.$3}`,backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,outline:"transparent solid 2px",outlineOffset:"2px",maxHeight:e.sizes.$9,width:"checkbox"===t.type?e.sizes.$4:"100%",aspectRatio:"checkbox"===t.type?"1/1":"unset",accentColor:e.colors.$primary500,...s.s.textVariants(e).body,...s.s.disabled(e),[c.g.ios]:{fontSize:e.fontSizes.$lg,'&:not([type="checkbox"]):not([type="radio"])':{WebkitAppearance:"none"}},":autofill":{animationName:"onAutoFillStart"},"::placeholder":{color:e.colors.$colorMutedForeground}},variants:{variant:{default:{...s.s.borderVariants(e,t).normal},unstyled:{borderWidth:0,boxShadow:"unset",backgroundColor:"transparent"}}},defaultVariants:{variant:"default"}})),m=o.forwardRef((e,t)=>{var r;let l=(0,d.Wd)()||{},{t:s}=(0,i._)(),{feedbackMessageId:c,ignorePasswordManager:m,feedbackType:h,...f}=(0,d.Uj)(l,["feedbackMessageId","ignorePasswordManager","feedbackType"]),g=p({...e,hasError:e.hasError||f.hasError}),{onChange:b}=(r=g.onChange,{onChange:function(e){e.persist(),"function"==typeof r&&r(e)},ref:o.useRef(null)}),{isDisabled:v,hasError:y,focusRing:w,isRequired:$,type:x,..._}=g,S=v||f.isDisabled,C=$||f.isRequired,k=y||f.hasError,A="email"===x?{type:"text",pattern:"^.*@[a-zA-Z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$",inputMode:"email",title:s((0,a.G)("formFieldInput__emailAddress_format"))}:{type:x||"text"};return(0,n.Y)("input",{..._,...A,...m?{"data-1p-ignore":!0}:void 0,ref:t,onChange:b,disabled:v,required:C,id:e.id||f.id,"aria-invalid":k,"aria-describedby":c||void 0,"aria-required":C,"aria-disabled":S,"data-feedback":h,"data-variant":e.variant||"default",css:u(e)})}),h=o.forwardRef((e,t)=>{let r=(0,d.Wd)()||{},{feedbackType:o}=(0,d.Uj)(r,["feedbackType","data-active"]),{isDisabled:i,hasError:a,focusRing:l,isRequired:s,...c}=p({...e,hasError:e.hasError});return(0,n.Y)("div",{...c,ref:t,id:e.id,"aria-invalid":a,"data-feedback":o,"data-variant":e.variant||"default","data-focus-within":l,css:u(e)})}),f=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"checkbox",ref:t})),g=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"radio",ref:t})),b=o.forwardRef((e,t)=>{let{isDisabled:r,hasError:o,focusRing:i,isRequired:a,...l}=e,s=r||e.isDisabled,c=a||e.isRequired,d=o||e.hasError;return(0,n.Y)("textarea",{...l,ref:t,disabled:s,required:c,"aria-invalid":d,"aria-required":c,css:u(e)})})},3707:function(e,t,r){r.d(t,{N:()=>d});var n=r(4518),o=r(4173);r(5074);var i=r(1914),a=r(1464),l=r(1908);let{applyVariants:s,filterProps:c}=(0,i.v)(e=>({base:{boxSizing:"border-box",display:"inline-flex",alignItems:"center",margin:0,cursor:"pointer",...a.s.disabled(e),textDecoration:"none","&:hover":{textDecoration:"underline"}},variants:{variant:a.s.textVariants(e),colorScheme:{primary:{color:e.colors.$primary500,"&:hover":{color:e.colors.$primary400},"&:active":{color:e.colors.$primary600}},danger:{color:e.colors.$danger500,"&:hover":{color:e.colors.$danger400},"&:active":{color:e.colors.$danger600}},neutral:{color:e.colors.$colorMutedForeground},inherit:{color:"inherit"}},focusRing:{true:{"&:focus":{outline:"none",...a.s.focusRing(e)}}}},defaultVariants:{colorScheme:"primary",variant:"body",focusRing:!1}})),d=e=>{let{isExternal:t,children:r,href:i,onClick:a,...d}=e,u=(0,o.d3)(i),p=a?e=>{u||e.preventDefault(),a(e)}:void 0;return(0,n.Y)("a",{...(0,l.k)(c(d)),onClick:p,href:u||"",target:u&&t?"_blank":void 0,rel:u&&t?"noopener noreferrer":void 0,css:s(e),children:r})}},7852:function(e,t,r){r.d(t,{y:()=>p});var n=r(4518),o=r(2637),i=r(1914),a=r(4374);let{size:l,thickness:s,speed:c}=(0,o.T)("speed","size","thickness"),{applyVariants:d,filterProps:u}=(0,i.v)(e=>({base:{display:"inline-block",borderRadius:"99999px",borderTop:`${s} solid currentColor`,borderRight:`${s} solid currentColor`,borderBottomWidth:s,borderLeftWidth:s,borderBottomStyle:"solid",borderLeftStyle:"solid",borderBottomColor:e.colors.$transparent,borderLeftColor:e.colors.$transparent,opacity:1,animation:`${a.W.spinning} ${c} linear 0s infinite normal none running`,width:[l],height:[l],minWidth:[l],minHeight:[l]},variants:{colorScheme:{primary:{borderTopColor:e.colors.$primary500,borderRightColor:e.colors.$primary500,opacity:1},neutral:{borderTopColor:e.colors.$borderAlpha700,borderRightColor:e.colors.$borderAlpha700,opacity:1}},thickness:{sm:{[s]:e.sizes.$0x5},md:{[s]:e.sizes.$1}},size:{xs:{[l]:e.sizes.$3},sm:{[l]:e.sizes.$4},md:{[l]:e.sizes.$5},lg:{[l]:e.sizes.$6},xl:{[l]:e.sizes.$8}},speed:{slow:{[c]:"600ms"},normal:{[c]:"400ms"}}},defaultVariants:{speed:"normal",thickness:"sm",size:"sm"}})),p=e=>(0,n.Y)("span",{...u(e),css:d(e),"aria-busy":!0,"aria-live":"polite"})},1908:function(e,t,r){r.d(t,{k:()=>n});let n=e=>{let{hasError:t,isDisabled:r,isLoading:n,isOpen:o,isActive:i,...a}=e;return{"data-error":t||void 0,"data-disabled":r||void 0,"data-loading":n||void 0,"data-open":o||void 0,"data-active":i||void 0,...a}}},593:function(e,t,r){r.d(t,{BQ:()=>c,Uj:()=>d,Wd:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(8640);let[l,,s]=(0,o.e3)("FormFieldContext"),c=e=>{let{id:t,isRequired:r=!1,isDisabled:o=!1,setError:s,setSuccess:c,setWarning:d,setHasPassedComplexity:u,setInfo:p,clearFeedback:m,children:h,feedbackType:f,feedback:g,isFocused:b,...v}=e,y=`${t}-field`,{debounced:w}=(0,a.eW)({feedback:g,feedbackType:f,isFocused:b}),$="error"===w.feedbackType,x=w.feedback?"error"===w.feedbackType?`error-${t}`:`${t}-${w.feedbackType}-feedback`:"",_=i.useMemo(()=>({isRequired:r,isDisabled:o,hasError:$,id:y,fieldId:t,feedbackMessageId:x,setError:s,setSuccess:c,setWarning:d,setInfo:p,clearFeedback:m,setHasPassedComplexity:u,feedbackType:f,feedback:g,isFocused:b}),[r,$,y,t,x,o,s,c,d,p,m,u,f,g,b]);return(0,n.Y)(l.Provider,{value:{value:{..._,...v,debouncedFeedback:w}},children:e.children})},d=(e,t)=>{let{radioOptions:r,validatePassword:n,hasPassedComplexity:o,isFocused:i,feedback:a,feedbackType:l,setHasPassedComplexity:s,setWarning:c,setSuccess:d,setError:u,setInfo:p,feedbackMessageId:m,fieldId:h,label:f,clearFeedback:g,infoText:b,debouncedFeedback:v,ignorePasswordManager:y,transformer:w,...$}=e;return t?.forEach(t=>{$[t]=e[t]}),$}},4777:function(e,t,r){r.d(t,{F:()=>p});var n=r(4518),o=r(7127),i=r(4173),a=r(9361),l=r(5074),s=r(734),c=r(8595),d=r(2265),u=r(4964);let p=({basePath:e,startPath:t,getPath:r,getQueryString:p,internalNavigate:m,refreshEvents:h,preservedParams:f,urlStateParam:g,children:b})=>{let{navigate:v}=(0,a.ho)(),[y,w]=l.useState({path:r(),queryString:p()}),$=y.path,x=y.queryString,_=(0,o.t)(y.queryString),S=(e,t)=>{let[r,n]=(0,s.N)("","",e,t),o=(0,i.Kj)($),a=e&&(0,c.YW)(n+"/:foo*")(o)||t&&(0,c.YW)(r)(o)||t&&(0,c.YW)(n)(o)||!1;return!1!==a&&a.params},C=l.useCallback(()=>{let e=r(),t=p();(e!==$||t!==x)&&w({path:e,queryString:t})},[$,x,r,p]);l.useEffect(()=>{let e=[h].flat().filter(e=>!!e);if(e.length)return e.forEach(e=>window.addEventListener(e,C)),()=>{e.forEach(e=>window.removeEventListener(e,C))}},[h,C]);let k=async t=>{if(!t)return;let r=t.origin!==window.location.origin;if(!t.pathname.startsWith("/"+e)||r){let e=await v(t.href);return C(),e}if(f){let e=(0,o.t)(t.search);f.forEach(t=>{!e[t]&&_[t]&&(e[t]=_[t])}),t.search=(0,o.n)(e)}let n=await m(t,{metadata:{navigationType:"internal"}});return w({path:t.pathname,queryString:t.search}),n};return(0,n.Y)(u.P.Provider,{value:{basePath:e,startPath:t,flowStartPath:t,fullPath:"",indexPath:"",currentPath:$,queryString:x,queryParams:_,getMatchData:S.bind(void 0),matches:((e,t)=>!!S(e,t)).bind(void 0),baseNavigate:k.bind(void 0),navigate:async()=>{},resolve:(e=>new URL(e,window.location.origin)).bind(void 0),refresh:C.bind(void 0),params:{},urlStateParam:g},children:(0,n.Y)(d.q,{path:e,children:b})})}},2265:function(e,t,r){r.d(t,{q:()=>p});var n=r(4518),o=r(4173),i=r(9361),a=r(5074),l=r(1550),s=r(734),c=r(8595),d=r(4964);let u=({canActivate:e,children:t})=>{let{navigateToFlowStart:r}=(0,l.C)(),o=(0,i.ho)();return(a.useEffect(()=>{e(o)||r()}),e(o))?(0,n.Y)(n.FK,{children:t}):null};function p(e){let t=(0,d.r)();if(!e.children)return null;if(!e.index&&!e.path)return(0,n.Y)(n.FK,{children:e.children});if(!t.matches(e.path,e.index))return null;let[r,i]=(0,s.N)(t.indexPath,t.fullPath,e.path,e.index),a=(e,{searchParams:t}={})=>{let r=new URL(e,window.location.origin+i+"/");return t&&(r.search=t.toString()),r.pathname=(0,o.Kj)(r.pathname),r},l=(e,n)=>{let[a,l]=(0,s.N)(r,i,e,n),d=(0,o.Kj)(t.currentPath),u=e&&(0,c.YW)(l+"/:foo*")(d)||n&&(0,c.YW)(a)(d)||n&&(0,c.YW)(l)(d)||!1;return!1!==u&&u.params},p=t.getMatchData(e.path,e.index)||{},m={};for(let[e,t]of Object.entries(p))m[e]=t;let h=(e.flowStart?(0,o.yY)(t.fullPath).replace("/"+t.basePath,""):t.flowStartPath)||t.startPath;return(0,n.Y)(d.P.Provider,{value:{basePath:t.basePath,startPath:t.startPath,flowStartPath:h,indexPath:r,fullPath:i,currentPath:t.currentPath,queryParams:t.queryParams,queryString:t.queryString,baseNavigate:t.baseNavigate,getMatchData:l,matches:(e,t)=>!!l(e,t),resolve:a,navigate:(e,{searchParams:r}={})=>{let n=a(e,{searchParams:r});return t.baseNavigate(n)},refresh:t.refresh,params:m,urlStateParam:t.urlStateParam},children:e.canActivate?(0,n.Y)(u,{canActivate:e.canActivate,children:e.children}):e.children})}},4964:function(e,t,r){r.d(t,{P:()=>o,r:()=>i});var n=r(5074);let o=n.createContext(null);o.displayName="RouteContext";let i=()=>{let e=n.useContext(o);if(!e)throw Error("useRouter called while Router is null");return e}},7831:function(e,t,r){r.d(t,{d:()=>l});var n=r(4518),o=r(5074),i=r(2265),a=r(4964);function l({children:e}){let t=(0,a.r)(),r=null;return o.Children.forEach(e,e=>{if(r||!(e&&o.isValidElement(e)&&"object"==typeof e&&e.type===i.q))return;let{index:n,path:a}=e.props;(!n&&!a||t.matches(a,n))&&(r=e)}),(0,n.Y)(n.FK,{children:r})}},4132:function(e,t,r){r.d(t,{I:()=>s,x:()=>c});var n=r(4518),o=r(9361),i=r(5074),a=r(3727),l=r(4777);let s="CLERK-ROUTER/VIRTUAL",c=({startPath:e,preservedParams:t,onExternalNavigate:r,children:c})=>{let{__internal_addNavigationListener:d}=(0,o.ho)(),[u,p]=i.useState(new URL("/"+s+e,window.location.origin)),{urlStateParam:m,removeQueryParam:h}=(0,a.x)();return(0,i.useEffect)(()=>{let e=()=>{};return r&&(e=d(r)),()=>{e()}},[]),m.componentName&&h(),(0,n.Y)(l.F,{getPath:()=>u.pathname,basePath:s,startPath:e,getQueryString:()=>u.search,internalNavigate:e=>{e&&p(e)},preservedParams:t,urlStateParam:m,children:c})}},3394:function(e,t,r){r.d(t,{VirtualRouter:()=>n.x});var n=r(4132)},734:function(e,t,r){r.d(t,{N:()=>n});let n=(e,t,r,n)=>{let o=e;r&&(o=t,n||(o+="/"+r)),o.startsWith("//")&&(o=o.substr(1));let i=t+(r?"/"+r:"");return i.startsWith("//")&&(i=i.substr(1)),[o,i]}},8595:function(e,t,r){function n(e,t){let r=[];return function(e,t,r={}){let{decode:n=e=>e}=r;return function(r){let o=e.exec(r);if(!o)return!1;let{0:i,index:a}=o,l=Object.create(null);for(let e=1;e<o.length;e++){if(void 0===o[e])continue;let r=t[e-1];"*"===r.modifier||"+"===r.modifier?l[r.name]=o[e].split(r.prefix+r.suffix).map(e=>n(e,r)):l[r.name]=n(o[e],r)}return{path:i,index:a,params:l}}}(function e(t,r,n){if(t instanceof RegExp){if(!r)return t;let e=t.source.match(/\((?!\?)/g);if(e)for(let t=0;t<e.length;t++)r.push({name:t,prefix:"",suffix:"",modifier:"",pattern:""});return t}if(Array.isArray(t)){let o;return o=t.map(t=>e(t,r,n).source),RegExp(`(?:${o.join("|")})`,i(n))}return function(e,t,r={}){let{strict:n=!1,start:a=!0,end:l=!0,encode:s=e=>e}=r,c=`[${o(r.endsWith||"")}]|$`,d=`[${o(r.delimiter||"/#?")}]`,u=a?"^":"";for(let r of e)if("string"==typeof r)u+=o(s(r));else{let e=o(s(r.prefix)),n=o(s(r.suffix));if(r.pattern)if(t&&t.push(r),e||n)if("+"===r.modifier||"*"===r.modifier){let t="*"===r.modifier?"?":"";u+=`(?:${e}((?:${r.pattern})(?:${n}${e}(?:${r.pattern}))*)${n})${t}`}else u+=`(?:${e}(${r.pattern})${n})${r.modifier}`;else u+=`(${r.pattern})${r.modifier}`;else u+=`(?:${e}${n})${r.modifier}`}if(l)n||(u+=`${d}?`),u+=r.endsWith?`(?=${c})`:"$";else{let t=e[e.length-1],r="string"==typeof t?d.indexOf(t[t.length-1])>-1:void 0===t;n||(u+=`(?:${d}(?=${c}))?`),r||(u+=`(?=${d}|${c})`)}return new RegExp(u,i(r))}(function(e,t={}){let r=function(e){let t=[],r=0;for(;r<e.length;){let n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){let n="",o=r+1;for(;o<e.length;){let t=e.charCodeAt(o);if(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t){n+=e[o++];continue}break}if(!n)throw TypeError(`Missing parameter name at ${r}`);t.push({type:"NAME",index:r,value:n}),r=o;continue}if("("===n){let n=1,o="",i=r+1;if("?"===e[i])throw TypeError(`Pattern cannot start with "?" at ${i}`);for(;i<e.length;){if("\\"===e[i]){o+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--n){i++;break}}else if("("===e[i]&&(n++,"?"!==e[i+1]))throw TypeError(`Capturing groups are not allowed at ${i}`);o+=e[i++]}if(n)throw TypeError(`Unbalanced pattern at ${r}`);if(!o)throw TypeError(`Missing pattern at ${r}`);t.push({type:"PATTERN",index:r,value:o}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),{prefixes:n="./"}=t,i=`[^${o(t.delimiter||"/#?")}]+?`,a=[],l=0,s=0,c="",d=e=>{if(s<r.length&&r[s].type===e)return r[s++].value},u=e=>{let t=d(e);if(void 0!==t)return t;let{type:n,index:o}=r[s];throw TypeError(`Unexpected ${n} at ${o}, expected ${e}`)},p=()=>{let e,t="";for(;e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};for(;s<r.length;){let e=d("CHAR"),t=d("NAME"),r=d("PATTERN");if(t||r){let o=e||"";-1===n.indexOf(o)&&(c+=o,o=""),c&&(a.push(c),c=""),a.push({name:t||l++,prefix:o,suffix:"",pattern:r||i,modifier:d("MODIFIER")||""});continue}let o=e||d("ESCAPED_CHAR");if(o){c+=o;continue}if(c&&(a.push(c),c=""),d("OPEN")){let e=p(),t=d("NAME")||"",r=d("PATTERN")||"",n=p();u("CLOSE"),a.push({name:t||(r?l++:""),pattern:t&&!r?i:r,prefix:e,suffix:n,modifier:d("MODIFIER")||""});continue}u("END")}return a}(t,n),r,n)}(e,r,t),r,t)}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}r.d(t,{YW:()=>n})},9406:function(e,t,r){r.d(t,{S:()=>a});var n=r(4518),o=r(6668);r(5074);var i=r(6580);let a=e=>{let{parsedInternalTheme:t}=(0,i.K)();return(0,n.Y)(o.a,{theme:t,children:e.children})}},5287:function(e,t,r){r.d(t,{StyleCacheProvider:()=>s});var n=r(4518),o=r(1785),i=r(6668),a=r(5074);let l=document.querySelector("style#cl-style-insertion-point"),s=e=>{let t=(0,a.useMemo)(()=>{let t=(0,o.A)({key:"cl-internal",prepend:!e.cssLayerName&&!l,insertionPoint:l||void 0,nonce:e.nonce});if(e.cssLayerName){let r=t.insert.bind(t);t.insert=(t,n,o,i)=>{if(n&&"string"==typeof n.styles&&!n.styles.startsWith("@layer")){let a={...n};return a.styles=`@layer ${e.cssLayerName} {${n.styles}}`,r(t,a,o,i)}return r(t,n,o,i)}}return t},[e.nonce,e.cssLayerName]);return(0,n.Y)(i.C,{value:t,children:e.children})}},4374:function(e,t,r){r.d(t,{W:()=>f});var n=r(8802);let o=(0,n.i7)`
|
|
14
|
+
`}),(0,n.Y)(s.so,{align:"center",justify:"center",sx:()=>({animation:"caret-blink-animation 1s infinite",pointerEvents:"none",position:"absolute",inset:0}),children:(0,n.Y)(s.az,{sx:e=>({height:e.space.$4,width:e.space.$px,backgroundColor:e.colors.$colorInputForeground})})})]})}},374:function(e,t,r){r.d(t,{J2:()=>c,bQ:()=>l});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(8819);let l=e=>{let{headers:t,page:r,onPageChange:l,rows:c,isLoading:d,itemCount:u,itemsPerPage:p,pageCount:m,emptyStateLocalizationKey:h}=e,f=u>0?Math.max(0,(r-1)*p)+1:0,g=Math.min(r*p,u);return(0,n.FD)(o.fv,{gap:4,sx:{width:"100%"},children:[(0,n.Y)(o.so,{sx:e=>({overflowX:"auto",padding:e.space.$1}),children:(0,n.FD)(o.XI,{sx:{tableLayout:"fixed"},children:[(0,n.Y)(o.d8,{children:(0,n.Y)(o.Tr,{children:t.map((e,t)=>(0,n.Y)(o.Th,{elementDescriptor:i.$z.tableHead,localizationKey:e,sx:{width:0===t?"auto":"25%"}},t))})}),(0,n.Y)(o.NN,{children:d?(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.y$,{colorScheme:"primary",sx:{margin:"auto",display:"block"},elementDescriptor:i.$z.spinner})})}):c.length?c:(0,n.Y)(s,{localizationKey:h},"empty")})]})}),m>1&&(0,n.Y)(a.d,{count:m,page:r,onChange:l,siblingCount:1,rowInfo:{allRowsCount:u,startingRow:f,endingRow:g}})]})},s=e=>(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.EY,{localizationKey:e.localizationKey,sx:{margin:"auto",display:"block",width:"fit-content"}})})}),c=e=>(0,n.Y)(o.Tr,{...e,sx:e=>({":hover":{backgroundColor:e.colors.$neutralAlpha50}})})},846:function(e,t,r){r.d(t,{$:()=>a,t:()=>l});var n=r(4518),o=r(8272),i=r(180);let a=e=>{let{gradient:t=60}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.az,{sx:e=>({userSelect:"none",pointerEvents:"none",inset:0,position:"absolute",background:`repeating-linear-gradient(-45deg,${e.colors.$warningAlpha100},${e.colors.$warningAlpha100} 6px,${e.colors.$warningAlpha150} 6px,${e.colors.$warningAlpha150} 12px)`,maskImage:`linear-gradient(transparent ${t}%, black)`})}):null},l=e=>{let{sx:t}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.EY,{sx:[e=>({color:e.colors.$warning500,fontWeight:e.fontWeights.$semibold,padding:e.space.$1x5}),t],children:"Development mode"}):null}},6505:function(e,t,r){r.d(t,{G:()=>s,c:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(2861);let l=e=>{let{dividerText:t,...r}=e;return(0,n.FD)(o.so,{center:!0,elementDescriptor:i.$z.dividerRow,...r,children:[(0,n.Y)(c,{}),(0,n.Y)(o.EY,{localizationKey:t||(0,a.G)("dividerText"),elementDescriptor:i.$z.dividerText,variant:"body",colorScheme:"secondary",sx:e=>({margin:`0 ${e.space.$4}`})}),(0,n.Y)(c,{})]})},s=e=>{let{sx:t,...r}=e;return(0,n.Y)(o.so,{center:!0,direction:"col",elementDescriptor:i.$z.dividerColumn,sx:[e=>({height:e.space.$6}),t],...r,children:(0,n.Y)(c,{vertical:!0})})},c=e=>{let t=e?.vertical?{width:"1px"}:{height:"1px"};return(0,n.Y)(o.so,{elementDescriptor:i.$z.dividerLine,sx:e=>({flex:"1",backgroundColor:e.colors.$borderAlpha100,...t})})}},8532:function(e,t,r){r.d(t,{g:()=>v,Drawer:()=>A});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(8272),s=r(8920),c=r(6580),d=r(4091),u=r(8792),p=r(359),m=r(5057),h=r(1464),f=r(4620),g=r(155);let b=a.createContext(null),v=()=>{let e=a.useContext(b);if(!e)throw Error("Drawer components must be wrapped in <Drawer.Root>");return e},y=a.forwardRef(function(e,t){let{strategy:r}=v(),{disableScrollLock:i,enableScrollLock:a}=(0,u.K)();return(0,o.UQ)(()=>{if("fixed"===r)return a(),()=>{i()}},[r,i,a]),(0,n.Y)(l.az,{ref:t,...e,elementDescriptor:s.$z.drawerBackdrop,sx:[e=>({inset:0,backgroundColor:f.T.setAlpha(e.colors.$colorBackground,.28)}),e.sx]})}),w=a.forwardRef((e,t)=>{let{strategy:r,context:o}=v(),{isMounted:a,styles:l}=(0,i.DL)(o,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{position:r,inset:0,transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer});return a?(0,n.Y)(y,{ref:t,style:{...l}}):null});w.displayName="Drawer.Overlay";let $=a.forwardRef(({children:e},t)=>{let r=(0,p.j)(),{animations:o}=(0,c.K)().parsedOptions,{strategy:a,refs:u,context:m,getFloatingProps:h,direction:f}=v(),g=(0,i.SV)([t,u.setFloating]),{isMounted:b,styles:y}=(0,i.DL)(m,{initial:{transform:"translate3d(var(--transform-offset), 0, 0)"},open:{transform:"translate3d(0, 0, 0)"},close:{transform:"translate3d(var(--transform-offset), 0, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:r||!0!==o?0:d.wz.drawer});return b?(0,n.Y)(i.s3,{context:m,modal:!0,outsideElementsInert:!0,initialFocus:u.floating,children:(0,n.Y)(l.az,{ref:g,...h(),sx:e=>({position:a,insetBlock:0,insetInline:0,pointerEvents:"none",isolation:"isolate",zIndex:"absolute"===a?e.zIndices.$modal:void 0}),elementDescriptor:s.$z.drawerRoot,children:(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerContent,style:y,direction:"col",sx:e=>({"--transform-offset":"fixed"===a?`calc((100% + ${e.space.$3} + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`:`calc((100% + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`,willChange:"transform",position:a,insetBlock:"fixed"===a?e.space.$3:0,insetInlineEnd:"fixed"===a?e.space.$3:0,outline:0,width:e.sizes.$100,maxWidth:"fixed"===a?`calc(100% - ${e.space.$6})`:"100%",backgroundColor:e.colors.$colorBackground,borderStartStartRadius:e.radii.$lg,borderEndStartRadius:e.radii.$lg,borderEndEndRadius:"fixed"===a?e.radii.$lg:0,borderStartEndRadius:"fixed"===a?e.radii.$lg:0,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,overflow:"hidden",pointerEvents:"auto"}),children:e})})}):null});$.displayName="Drawer.Content";let x=a.forwardRef(({title:e,children:t,sx:r},o)=>(0,n.Y)(l.az,{ref:o,elementDescriptor:s.$z.drawerHeader,as:"header",sx:[t=>({display:"flex",background:h.s.mergedColorsBackground(f.T.setAlpha(t.colors.$colorBackground,1),t.colors.$neutralAlpha50),borderBlockEndWidth:t.borderWidths.$normal,borderBlockEndStyle:t.borderStyles.$solid,borderBlockEndColor:t.colors.$borderAlpha150,borderStartStartRadius:t.radii.$lg,borderStartEndRadius:t.radii.$lg,paddingBlock:e?t.space.$3:void 0,paddingInline:e?t.space.$4:void 0}),r],children:e?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.DZ,{localizationKey:e,as:"h2",elementDescriptor:s.$z.drawerTitle,textVariant:"h2",sx:{alignSelf:"center"}}),(0,n.Y)(C,{})]}):t})),_=a.forwardRef(({children:e,...t},r)=>(0,n.Y)(l.az,{ref:r,elementDescriptor:s.$z.drawerBody,sx:[()=>({display:"flex",flexDirection:"column",flex:1,overflowY:"auto",overflowX:"hidden"}),t.sx],...t,children:e})),S=a.forwardRef(({children:e,sx:t,...r},o)=>(0,n.Y)(l.az,{ref:o,elementDescriptor:s.$z.drawerFooter,sx:[e=>({display:"flex",flexDirection:"column",background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),borderBlockStartWidth:e.borderWidths.$normal,borderBlockStartStyle:e.borderStyles.$solid,borderBlockStartColor:e.colors.$borderAlpha100,borderEndStartRadius:e.radii.$xl,borderEndEndRadius:e.radii.$xl,paddingBlock:e.space.$3,paddingInline:e.space.$4}),t],...r,children:e})),C=a.forwardRef((e,t)=>{let{setIsOpen:r}=v();return(0,n.Y)(g.K,{ref:t,elementDescriptor:s.$z.drawerClose,variant:"ghost","aria-label":"Close drawer",onClick:()=>r(!1),icon:(0,n.Y)(l.In,{icon:m.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3,marginInlineStart:"auto"})})});C.displayName="Drawer.Close";let k=a.forwardRef(({open:e,onOpenChange:t,children:r,actionsSlot:o,roleProps:a},u)=>{let m=(0,p.j)(),{animations:g}=(0,c.K)().parsedOptions,{refs:b,context:v}=(0,i.we)({open:e,onOpenChange:t,transform:!1,strategy:"absolute"}),{getFloatingProps:y}=(0,i.bv)([(0,i.kp)(v),(0,i.s9)(v),(0,i.It)(v,{role:"alertdialog",...a})]),w=(0,i.SV)([u,b.setFloating]),{styles:$}=(0,i.DL)(v,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer}),{isMounted:x,styles:_}=(0,i.DL)(v,{initial:{transform:"translate3D(0, 100%, 0)"},open:{transform:"translate3D(0, 0, 0)"},close:{transform:"translate3D(0, 100%, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:m||!0!==g?0:d.wz.drawer});return x?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.L9,{elementDescriptor:s.$z.drawerConfirmationBackdrop,style:$,sx:e=>({position:"absolute",inset:0,backgroundImage:`linear-gradient(to bottom, ${f.T.setAlpha(e.colors.$colorBackground,.28)}, ${e.colors.$colorBackground})`})}),(0,n.Y)(i.s3,{context:v,modal:!0,outsideElementsInert:!0,initialFocus:b.floating,children:(0,n.FD)(l.az,{ref:w,elementDescriptor:s.$z.drawerConfirmationRoot,style:_,...y(),sx:e=>({display:"flex",flexDirection:"column",rowGap:e.space.$6,outline:"none",willChange:"transform",position:"absolute",bottom:0,left:0,right:0,background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),padding:e.space.$4,borderStartStartRadius:e.radii.$md,borderStartEndRadius:e.radii.$md,boxShadow:`0 0 0 1px ${e.colors.$borderAlpha100}`}),children:[r,(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerConfirmationActions,gap:3,justify:"end",children:o})]})})]}):null});k.displayName="Drawer.Confirmation";let A={Root:function({children:e,open:t,onOpenChange:r,strategy:a="fixed",floatingProps:l,portalProps:s,dismissProps:c}){var d;let u,p="undefined"==typeof window?"ltr":"rtl"===(u=(d=document.documentElement).dir)?"rtl":"ltr"===u?"ltr":"auto"!==u&&u||"rtl"!==window.getComputedStyle(d).direction?"ltr":"rtl",m=(0,o.Sj)(),h=s?.root??m?.()??void 0,{refs:f,context:g}=(0,i.we)({open:t,onOpenChange:r,transform:!1,strategy:a,placement:"ltr"===p?"right":"left",...l}),{getFloatingProps:v}=(0,i.bv)([(0,i.kp)(g),(0,i.s9)(g,c),(0,i.It)(g)]);return(0,n.Y)(b.Provider,{value:{isOpen:t,setIsOpen:r,strategy:a,portalProps:{...s,root:h},refs:f,context:g,getFloatingProps:v,direction:p},children:(0,n.Y)(i.XF,{...s,root:h,children:e})})},Overlay:w,Content:$,Header:x,Body:_,Footer:S,Confirmation:k,Close:C}},5170:function(e,t,r){r.d(t,{J:()=>m});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(8920),l=r(2861),s=r(9426),c=r(4964),d=r(6088),u=r(3269),p=r(6153);let m=e=>{let{shouldNavigateBack:t=!0}=e,r=(0,u.f0)(),{navigate:m}=(0,c.r)(),h=(0,s.p)();return(0,n.Y)(o.n.Part,{part:"havingTrouble",children:(0,n.FD)(d.Z.Root,{children:[(0,n.FD)(d.Z.Content,{children:[(0,n.FD)(p.Y.Root,{showLogo:!0,children:[(0,n.Y)(p.Y.Title,{localizationKey:e.cardTitle||"Error"}),e.cardSubtitle&&(0,n.Y)(p.Y.Subtitle,{localizationKey:e.cardSubtitle})]}),(0,n.Y)(d.Z.Alert,{children:r.error}),(0,n.FD)(i.so,{direction:"col",elementDescriptor:a.$z.main,gap:4,children:[e.message&&(0,n.Y)(i.EY,{colorScheme:"secondary",localizationKey:e.message}),(0,n.Y)(i.$n,{localizationKey:(0,l.G)("signIn.alternativeMethods.getHelp.blockButton__emailSupport"),onClick:()=>{window.location.href=`mailto:${h}`},hasArrow:!0}),t?(0,n.Y)(d.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(d.Z.ActionLink,{localizationKey:(0,l.G)("backButton"),onClick:r=>{if(e.onBackLinkClick)return e.onBackLinkClick(r);t&&m("../")}})}):null]})]}),(0,n.Y)(d.Z.Footer,{})]})})}},5507:function(e,t,r){r.d(t,{D:()=>V});var n,o,i=r(4518),a=r(5074),l=r(8272),s=r(8920),c=r(2861),d=r(78),u=r(593),p=r(3356),m=r(3269),h=r(1044),f=r(6580),g=r(359),b=r(4374),v=r(1464);let y=({feedback:e})=>{let[t,r]=(0,a.useState)(0);return{height:t,calculateHeight:(0,a.useCallback)(e=>{e&&r(e.scrollHeight+2*e.offsetTop)},[e])}},w=e=>{let{id:t,elementDescriptors:r,sx:n,feedback:o,feedbackType:c="info",center:d=!1}=e,u=(0,a.useRef)({a:void 0,b:void 0}),{getFormTextAnimation:p}=function(){let e=(0,g.j)(),{animations:t}=(0,f.K)().parsedOptions;return{getFormTextAnimation:(0,a.useCallback)((r,n)=>{if(e||!t)return{animation:"none"};let o=n?.inDelay?b.W.inDelayAnimation:b.W.inAnimation;return e=>({animation:`${r?o:b.W.outAnimation} ${e.transitionDuration.$textField} ${e.transitionTiming.$common}`,transitionProperty:"height",transitionDuration:e.transitionDuration.$slow,transitionTimingFunction:e.transitionTiming.$common})},[e,t])}}(),m={error:s.$z.formFieldErrorText,warning:s.$z.formFieldWarningText,info:s.$z.formFieldInfoText,success:s.$z.formFieldSuccessText},w=(0,a.useMemo)(()=>{let e,t=u.current;return u.current=e=t.a?.shouldEnter?{a:{...t.a,shouldEnter:!1},b:{feedback:o,feedbackType:c,shouldEnter:!0}}:{a:{feedback:o,feedbackType:c,shouldEnter:!0},b:{...t.b,shouldEnter:!1}},e},[o,c]),{calculateHeight:$,height:x}=y({feedback:w.a?.feedback||""}),{calculateHeight:_,height:S}=y({feedback:w.b?.feedback||""}),C=(0,a.useRef)(Math.max(x,S)),k=(0,a.useMemo)(()=>{let e=Math.max(x,S,C.current);return C.current=e,e},[x,S]),A=e=>{if(!e)return{};let n=r?.[e]||m[e];return{elementDescriptor:n,elementId:t?n?.setId?.(t):void 0,id:"error"===e?`error-${t}`:`${t}-${e}-feedback`}},I={error:l.wF,info:l.cN,success:l.TP,warning:l.sE},z=I[w.a?.feedbackType||"info"],P=I[w.b?.feedbackType||"info"];return(0,i.FD)(i.FK,{children:[(0,i.Y)(l.L9,{"aria-live":"polite","aria-atomic":"true",sx:{...v.s.visuallyHidden()},children:o?(0,h.Ns)(o):""}),(0,i.FD)(l.so,{style:{height:o?k:0,position:"relative"},center:d,sx:[p(!!o),n],children:[(0,i.Y)(z,{...A(w.a?.feedbackType),...w.a?.feedbackType&&{"data-testid":`form-feedback-${w.a.feedbackType}`},ref:$,sx:[()=>({visibility:w.a?.shouldEnter?"visible":"hidden"}),p(!!w.a?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.a?.feedback)}),(0,i.Y)(P,{...A(w.b?.feedbackType),...w.b?.feedbackType&&{"data-testid":`form-feedback-${w.b.feedbackType}`},ref:_,sx:[()=>({visibility:w.b?.shouldEnter?"visible":"hidden"}),p(!!w.b?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.b?.feedback)})]})]})},$=(0,a.forwardRef)((e,t)=>{let{sx:r,groupPrefix:n,groupSuffix:o,...a}=e,c=n?{borderTopLeftRadius:"0",borderBottomLeftRadius:"0"}:{borderTopRightRadius:"0",borderBottomRightRadius:"0"},d=e=>({paddingInline:e.space.$2,borderTopRightRadius:"0",borderBottomRightRadius:"0",width:"fit-content",display:"flex",alignItems:"center"});return(0,i.FD)(l.so,{elementDescriptor:s.$z.formInputGroup,direction:"row",hasError:a.hasError,sx:e=>({position:"relative",zIndex:1,...v.s.borderVariants(e).normal,':focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{focusRing:!0}).normal["&:focus"]}}),children:[n&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:n}),(0,i.Y)(l.pd,{maxLength:25,sx:[{...c},r],variant:"unstyled",ref:t,...a}),o&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:o})]})});var x=r(2166),_=r(7697),S=r(8282),C=r(6294);function k(){return(k=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)}let A=function(e){return a.createElement("svg",k({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.732 3.126a.48.48 0 0 0-.662.011.465.465 0 0 0-.012.651l9.211 9.063a.477.477 0 0 0 .527.115.479.479 0 0 0 .263-.26.46.46 0 0 0-.117-.518l-1.108-1.09A6.278 6.278 0 0 0 13.93 8.36a1.016 1.016 0 0 0 0-.74 6.27 6.27 0 0 0-2.333-2.909A6.428 6.428 0 0 0 8 3.613a6.407 6.407 0 0 0-3.014.747L3.732 3.126Zm2.84 2.794.694.682a1.61 1.61 0 0 1 1.858.28A1.54 1.54 0 0 1 9.41 8.71l.693.683a2.47 2.47 0 0 0-.304-3.174 2.573 2.573 0 0 0-3.226-.3Z"})),o||(o=a.createElement("path",{d:"m8.476 10.445 1.602 1.576a6.437 6.437 0 0 1-2.077.342c-2.705 0-5.014-1.662-5.931-4.006a1.016 1.016 0 0 1 0-.741c.31-.79.78-1.51 1.382-2.115l2.052 2.02c-.078.4-.054.813.067 1.203.122.39.34.744.632 1.033a2.58 2.58 0 0 0 2.272.688Z"})))},I=(...e)=>t=>{for(let r of e)r&&(r.current=t)};var z=r(155);let P=(0,a.forwardRef)((e,t)=>{let[r,n]=a.useState(!0),{id:o,onChange:u,validatePassword:p=!1,setInfo:m,setSuccess:h,setWarning:f,setError:g,setHasPassedComplexity:b,tabIndex:v,...y}=e,w=(0,a.useRef)(null),[$,k]=(0,a.useState)(null),{userSettings:{passwordSettings:P}}=(0,_.O)(),{t:D}=(0,d._)(),{validatePassword:Y}=(0,S.T)({...P,validatePassword:p},{onValidationSuccess:()=>h(D((0,c.G)("unstable__errors.zxcvbn.goodPassword"))),onValidationError:e=>g(e),onValidationWarning:e=>f(e),onValidationInfo:e=>{w.current&&(w.current===document.activeElement?m(e):g(e))},onValidationComplexity:e=>b(e)});return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldInputGroup,direction:"col",justify:"center",sx:{position:"relative"},children:[(0,i.Y)(l.pd,{...y,tabIndex:v,onChange:e=>($&&clearTimeout($),k(setTimeout(()=>{Y(e.target.value)},x.s)),u?.(e)),onBlur:e=>{y.onBlur?.(e),Y(e.target.value)},onFocus:e=>{y.onFocus?.(e),Y(e.target.value)},ref:I(t,w),type:r?"password":"text",sx:e=>({paddingRight:e.space.$10})}),(0,i.Y)(z.K,{elementDescriptor:s.$z.formFieldInputShowPasswordButton,iconElementDescriptor:s.$z.formFieldInputShowPasswordIcon,"aria-label":`${r?"Show":"Hide"} password`,variant:"ghost",size:"xs",tabIndex:v,onClick:()=>n(e=>!e),sx:e=>({position:"absolute",right:0,marginRight:e.space.$1,color:e.colors.$neutralAlpha400}),icon:r?C.A:A})]})});var D=r(9361),Y=r(8023),R=r(2405),T=r(1586),F=r(1820),E=r(7651);let L=[...F.nU.values()].map(e=>({searchTerm:`${e.iso} ${e.name} ${e.code}`,value:`${e.iso} ${e.name} ${e.code}`,country:e})),B=(0,a.forwardRef)((e,t)=>{let{onChange:r,value:n,locationBasedCountryIso:o,feedbackType:c,sx:d,...u}=e,p=(0,a.useRef)(null),m=(0,a.useRef)(null),{setNumber:h,setIso:f,setNumberAndIso:g,numberWithCode:b,iso:y,formattedNumber:w}=(e=>{let[t,r]=a.useState(()=>{let{number:t}=(0,E.Xd)(e.initPhoneWithCode||"");return t}),[n,o]=a.useState((0,E.Xd)(e.initPhoneWithCode||"").number?(0,E.Xd)(e.initPhoneWithCode||"").iso:e.locationBasedCountryIso||"us");a.useEffect(()=>{r((0,E.sH)(t))},[n,t]);let i=a.useMemo(()=>{if(!t)return"";let e=F.nU.get(n)?.code||"1";return"+"+(0,E.sH)(`${e}${t}`)},[n,t]),l=a.useMemo(()=>((e,t)=>{if(!e)return"";let r=F.nU.get(t);return(0,E.n4)(e,r?.pattern,r?.code)})(t,n),[n,t]),s=a.useCallback(e=>{let{iso:t,number:n}=(0,E.Xd)(e);r(n),o(t)},[n,t]);return{setNumber:r,setIso:o,setNumberAndIso:s,iso:n,number:t,numberWithCode:i,formattedNumber:l}})({initPhoneWithCode:n,locationBasedCountryIso:o}),$=(0,a.useMemo)(()=>L.find(e=>e.country.iso===y)||L[0],[y]);return(0,a.useEffect)(()=>{r?.({target:{value:b}})},[b]),(0,i.FD)(l.so,{elementDescriptor:s.$z.phoneInputBox,direction:"row",hasError:u.hasError,"data-feedback":c,ref:m,sx:e=>({...v.s.borderVariants(e,{hasError:u.hasError}).normal,position:"relative",borderRadius:e.radii.$md,zIndex:1,'&:focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{hasError:u.hasError}).normal["&:focus"]}}),children:[(0,i.FD)(T.l6,{elementId:"countryCode",value:$.value,options:L,portal:!0,referenceElement:m,renderOption:(e,t,r)=>(0,i.Y)(M,{sx:e=>({"&:hover":{backgroundColor:e.colors.$neutralAlpha100},'&[data-focused="true"]':{backgroundColor:e.colors.$neutralAlpha150}}),isSelected:r,country:e.country}),onChange:e=>{f(e.country.iso),p.current?.focus()},noResultsMessage:"No countries found",searchPlaceholder:"Search country or code",comparator:(e,t)=>t.searchTerm.toLowerCase().includes(e.toLowerCase()),children:[(0,i.Y)(T.JC,{variant:"ghost",sx:e=>({borderWidth:"0",borderRadius:e.radii.$md,borderBottomRightRadius:"0",borderTopRightRadius:"0",paddingRight:e.space.$2,":focus":{zIndex:2,boxShadow:"none"},":active":{zIndex:2}}),hoverAsFocus:!0,isDisabled:u.isDisabled,icon:Y.A,iconSx:e=>({color:u.isDisabled?e.colors.$neutralAlpha300:e.colors.$neutralAlpha500}),children:(0,i.Y)(l.EY,{colorScheme:"body",as:"span",sx:{textTransform:"uppercase"},children:y})}),(0,i.Y)(T.UL,{sx:{padding:"0 0"},containerSx:e=>({gap:0,padding:`${e.space.$0x5} 0`})})]}),(0,i.FD)(l.so,{sx:{position:"relative",width:"100%"},children:[(0,i.FD)(l.EY,{sx:t=>({display:"flex",alignItems:"center",pointerEvents:"none",paddingLeft:t.space.$0x5,opacity:e.isDisabled?t.opacity.$disabled:1}),children:["+",$.country.code]}),(0,i.Y)(l.pd,{value:w,variant:"unstyled",onPaste:e=>{e.preventDefault();let t=e.clipboardData.getData("text");t.includes("+")?g(t):h(t)},onChange:e=>{let t=e.target.value;t.includes("+")?g(t):h(t)},maxLength:25,type:"tel",sx:[e=>({boxShadow:"none",height:"100%",transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing,"&[type=tel]":{borderRadius:e.radii.$md,borderWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0,paddingLeft:e.space.$1,"&:focus":{borderColor:"unset",boxShadow:"unset"}}}),d],ref:I(p,t),...u})]})]})}),M=(0,a.memo)(e=>{let{country:t,isSelected:r,sx:n,...o}=e;return(0,i.FD)(l.so,{center:!0,sx:[e=>({width:"100%",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$4}`,color:e.colors.$colorForeground}),n],...o,children:[(0,i.Y)(l.In,{icon:R.A,size:"sm",sx:{visibility:r?"visible":"hidden"}}),(0,i.Y)(l.EY,{as:"div",sx:{width:"100%",textAlign:"left"},children:t.name}),(0,i.FD)(l.EY,{colorScheme:"secondary",children:["+",t.code]})]})}),O=(0,a.forwardRef)((e,t)=>{let{__internal_country:r}=(0,D.ho)();return(0,i.Y)(B,{...e,locationBasedCountryIso:r,ref:t})}),j=(0,a.forwardRef)((e,t)=>{let r=(0,u.Wd)(),{value:n,placeholder:o,...a}=(0,u.Uj)(r);return(0,i.Y)(l.AT,{ref:t,...a,elementDescriptor:s.$z.formFieldRadioInput,id:e.id,focusRing:!1,sx:e=>({width:"fit-content",marginTop:e.space.$0x5}),value:e.value,checked:e.value===n})}),U=e=>(0,i.FD)(l.lR,{elementDescriptor:s.$z.formFieldRadioLabel,htmlFor:e.id,sx:e=>({padding:`${e.space.$none} ${e.space.$2}`,display:"flex",flexDirection:"column"}),children:[(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelTitle,variant:"subtitle",localizationKey:e.label}),e.description&&(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelDescription,colorScheme:"secondary",localizationKey:e.description})]}),W=(0,a.forwardRef)((e,t)=>{let r=(0,a.useId)();return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldRadioGroupItem,align:"start",children:[(0,i.Y)(j,{id:r,ref:t,value:e.value}),(0,i.Y)(U,{id:r,label:e.label,description:e.description})]})}),H=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(O,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,feedbackType:n.feedbackType,placeholder:r(o)})}),N=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n,["validatePassword","setError","setWarning","setSuccess","setInfo","setHasPassedComplexity"]);return(0,i.Y)(P,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),K=(0,a.forwardRef)(({elementDescriptor:e,elementId:t},r)=>{let n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.Oc,{ref:r,...a,elementDescriptor:e||s.$z.formFieldInput,elementId:t||s.$z.formFieldInput.setId(n.fieldId),focusRing:!1,sx:e=>({width:"fit-content",flexShrink:0,marginTop:e.space.$0x5})})}),V={Root:e=>{let t=(0,m.f0)(),{children:r,isDisabled:n,...o}=e,a=n||t.isLoading,l={...o,isDisabled:a};return(0,i.Y)(u.BQ,{...l,children:r})},Label:e=>{let{isRequired:t,id:r,label:n,isDisabled:o,hasError:a}=(0,u.Wd)();return e.localizationKey||n||e.children?(0,i.Y)(l.lR,{localizationKey:e.localizationKey||n,elementDescriptor:s.$z.formFieldLabel,elementId:s.$z.formFieldLabel.setId(r),hasError:!!a,isDisabled:o,isRequired:t,sx:{display:"flex",alignItems:"center"},children:e.children}):null},LabelRow:e=>{let{fieldId:t}=(0,u.Wd)();return(0,i.Y)(l.so,{justify:"between",align:"center",elementDescriptor:s.$z.formFieldLabelRow,elementId:s.$z.formFieldLabelRow.setId(t),children:e.children})},Input:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.pd,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),PasswordInput:N,PhoneInput:H,InputGroup:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)($,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,groupPrefix:e.groupPrefix,groupSuffix:e.groupSuffix,placeholder:r(o)})}),RadioItem:W,CheckboxIndicator:K,CheckboxLabel:e=>{let{label:t,id:r}=(0,u.Wd)();return t?(0,i.Y)(U,{label:t,id:r,description:e.description}):null},Action:e=>{let{fieldId:t,isDisabled:r}=(0,u.Wd)();return e.localizationKey||e.children?(0,i.Y)(l.N_,{localizationKey:e.localizationKey,elementDescriptor:s.$z.formFieldAction,elementId:s.$z.formFieldLabel.setId(t),isDisabled:r,colorScheme:"primary",variant:"buttonSmall",onClick:t=>{t.preventDefault(),e.onClick?.(t)},children:e.children}):null},AsOptional:()=>{let{fieldId:e,isDisabled:t}=(0,u.Wd)();return(0,i.Y)(l.EY,{localizationKey:(0,c.G)("formFieldHintText__optional"),elementDescriptor:s.$z.formFieldHintText,elementId:s.$z.formFieldHintText.setId(e),as:"span",variant:"caption",colorScheme:"secondary",isDisabled:t})},LabelIcon:e=>{let{t}=(0,d._)();return e.icon?(0,i.Y)(l.so,{as:"span",title:t((0,c.G)("formFieldHintText__slug")),sx:{marginRight:"auto"},children:(0,i.Y)(l.In,{icon:e.icon,sx:e=>({marginLeft:e.space.$0x5,color:e.colors.$neutralAlpha400,width:e.sizes.$4,height:e.sizes.$4})})}):null},Feedback:e=>{let{fieldId:t,debouncedFeedback:r}=(0,u.Wd)();return(0,i.Y)(w,{center:e.center,...r,elementDescriptors:e.elementDescriptors,id:t})},OTPRoot:p.oA,OTPCodeControl:p.iG,OTPResendButton:p.Ro}},2454:function(e,t,r){r.d(t,{l:()=>b});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(2861),c=r(4901),d=r(8975),u=r(3269),p=r(5507);let[m,h]=(0,o.e3)("FormState"),f=e=>{let{isOptional:t,isLastAuthenticationStrategy:r,icon:o,actionLabel:i,children:s,onActionClicked:c,...d}=e;return(0,n.Y)(p.D.Root,{...d,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.formField,elementId:l.$z.formField.setId(d.id),sx:{position:"relative",flex:"1 1 auto"},children:[(0,n.FD)(a.so,{direction:"col",sx:e=>({gap:e.space.$2}),children:[(0,n.FD)(p.D.LabelRow,{children:[(0,n.Y)(p.D.Label,{}),(0,n.Y)(p.D.LabelIcon,{icon:o}),!i&&t&&(0,n.Y)(p.D.AsOptional,{}),i&&(0,n.Y)(p.D.Action,{localizationKey:i,onClick:c}),r&&!i&&!t&&(0,n.Y)(g,{}),(0,n.Y)(p.D.Action,{})]}),s]}),(0,n.Y)(p.D.Feedback,{})]})})},g=e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(d.j,{...e,sx:e=>({opacity:r||t?e.opacity.$disabled:1})})},b={Root:e=>{let t=(0,u.f0)(),r=(0,c.m)(),[o,s]=(0,i.useState)(!1),d=async n=>{if(n.preventDefault(),n.stopPropagation(),e.onSubmit)try{t.setLoading(),r.setLoading(),s(!0),await e.onSubmit(n)}finally{t.setIdle(),r.setIdle()}},p=i.useMemo(()=>({value:{isLoading:r.isLoading,isDisabled:t.isLoading||r.isLoading,submittedWithEnter:o}}),[t.isLoading,r.isLoading,o]);return(0,n.Y)(m.Provider,{value:p,children:(0,n.FD)(a.lV,{elementDescriptor:l.$z.form,gap:6,...e,onSubmit:d,children:[(0,n.Y)("button",{type:"submit","aria-hidden":!0,style:{visibility:"hidden",position:"absolute"}}),e.children]})})},ControlRow:e=>{let{elementId:t,...r}=e;return(0,n.Y)(a.so,{elementDescriptor:l.$z.formFieldRow,elementId:l.$z.formFieldRow.setId(t),justify:"between",gap:4,...r})},PlainInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.Input,{})}),PasswordInput:(0,i.forwardRef)((e,t)=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PasswordInput,{ref:t})})),PhoneInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PhoneInput,{})}),OTPInput:e=>{let{centerAlign:t=!0}=e;return(0,n.Y)(p.D.Root,{...e.otpControl.otpInputProps,children:(0,n.Y)(p.D.OTPRoot,{...e,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.form,gap:2,align:t?"center":"start",children:[(0,n.FD)(a.so,{elementDescriptor:l.$z.otpCodeField,isLoading:e.isLoading,hasError:"error"===e.otpControl.otpInputProps.feedbackType,direction:"col",children:[(0,n.Y)(p.D.OTPCodeControl,{}),(0,n.Y)(p.D.Feedback,{center:!0,elementDescriptors:{error:l.$z.otpCodeFieldErrorText,success:l.$z.otpCodeFieldSuccessText}})]}),(0,n.Y)(p.D.OTPResendButton,{})]})})})},InputGroup:e=>{let{groupSuffix:t,groupPrefix:r,...o}=e;return(0,n.Y)(f,{...o,children:(0,n.Y)(p.D.InputGroup,{groupSuffix:t,groupPrefix:r})})},RadioGroup:e=>{let{radioOptions:t,...r}=e;return(0,n.FD)(p.D.Root,{...r,children:[(0,n.Y)(a.fv,{elementDescriptor:l.$z.formFieldRadioGroup,gap:3,children:t?.map(({value:e,description:t,label:r})=>(0,n.Y)(a.so,{sx:e=>({borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,borderRadius:e.radii.$md,padding:e.space.$2}),children:(0,n.Y)(p.D.RadioItem,{value:e,label:r,description:t})},e))}),(0,n.Y)(p.D.Feedback,{})]})},Checkbox:e=>(0,n.Y)(p.D.Root,{...e,children:(0,n.FD)(a.so,{align:"start",children:[(0,n.Y)(p.D.CheckboxIndicator,{}),(0,n.Y)(p.D.CheckboxLabel,{description:e.description})]})}),SubmitButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonPrimary,block:!0,textVariant:"buttonLarge",isLoading:t,isDisabled:r,type:"submit",...e,localizationKey:e.localizationKey||(0,s.G)("formButtonPrimary")})},ResetButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonReset,block:!0,variant:"ghost",type:"reset",isDisabled:t||r,...e})},CommonInputWrapper:f}},1475:function(e,t,r){r.d(t,{G:()=>s,c:()=>c});var n=r(4518),o=r(8272),i=r(1550),a=r(2861),l=r(2454);let s=e=>{let{isDisabled:t,onReset:r,submitLabel:o,resetLabel:s,hideReset:d,...u}=e,{navigateToFlowStart:p}=(0,i.C)();return(0,n.FD)(c,{children:[(0,n.Y)(l.l.SubmitButton,{block:!1,isDisabled:t,localizationKey:o||(0,a.G)("userProfile.formButtonPrimary__save"),...u}),!d&&(0,n.Y)(l.l.ResetButton,{localizationKey:s||(0,a.G)("userProfile.formButtonReset"),block:!1,onClick:r||p})]})},c=e=>(0,n.Y)(o.so,{direction:"rowReverse",gap:2,...e,children:e.children})},3549:function(e,t,r){r.d(t,{M:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6088),l=r(3269),s=r(6153);let c=e=>{let{headerTitle:t,headerTitleTextVariant:r="h3",headerSubtitle:c,headerSubtitleTextVariant:d="body",children:u,sx:p,...m}=e,h=(0,l.f0)();return(0,n.FD)(o.fv,{elementDescriptor:i.$z.formContainer,gap:4,...m,sx:[p],children:[(t||c)&&(0,n.FD)(s.Y.Root,{children:[t&&(0,n.Y)(s.Y.Title,{textVariant:r,..."string"==typeof t?{children:t}:{localizationKey:t}}),c&&(0,n.Y)(s.Y.Subtitle,{variant:d,..."string"==typeof c?{children:c}:{localizationKey:c}})]}),(0,n.Y)(a.Z.Alert,{children:h.error}),(0,n.Y)(o.fv,{gap:8,children:u})]})}},1323:function(e,t,r){r.d(t,{R:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(7651);let l=e=>{let t=(0,a.Om)(e.value);return(0,n.Y)(o.EY,{as:"span",elementDescriptor:i.$z.formattedPhoneNumberText,children:t})}},2611:function(e,t,r){r.d(t,{K:()=>a});var n=r(4518),o=r(8272),i=r(8920);let a=()=>(0,n.Y)(o.so,{center:!0,sx:{height:"100%"},children:(0,n.Y)(o.y$,{colorScheme:"primary",size:"lg",elementDescriptor:i.$z.spinner})})},6153:function(e,t,r){r.d(t,{Y:()=>f});var n,o=r(4518),i=r(5074),a=r(6580),l=r(8272),s=r(8920);function c(){return(c=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)}let d=function(e){return i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},e),n||(n=i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4m6 6-6-6 6-6"})))};var u=r(2037),p=r(6505);let m=i.memo(i.forwardRef((e,t)=>{let{sx:r,children:n,contentSx:i,gap:c=6,showLogo:d=!1,showDivider:m=!1,...h}=e,f="inside"===(0,a.K)().parsedOptions.logoPlacement&&d,g=m&&f;return(0,o.FD)(l.fv,{ref:t,elementDescriptor:s.$z.header,gap:c,sx:r,...h,children:[f&&(0,o.Y)(u.G,{}),g&&(0,o.Y)(p.G,{}),(0,o.Y)(l.fv,{gap:1,sx:i,...h,children:n})]})})),h=i.memo(e=>{let{sx:t,textVariant:r="h2",...n}=e;return(0,o.Y)(l.DZ,{elementDescriptor:s.$z.headerTitle,textVariant:r,sx:t,...n})}),f={Root:m,Title:h,Subtitle:i.memo(e=>{let{sx:t,...r}=e;return(0,o.Y)(l.EY,{elementDescriptor:s.$z.headerSubtitle,variant:"body",colorScheme:"secondary",sx:[{wordWrap:"break-word"},t],...r})}),BackLink:i.memo(e=>{let{sx:t,children:r,...n}=e;return(0,o.FD)(l.N_,{elementDescriptor:s.$z.headerBackLink,sx:e=>[{display:"inline-flex",alignItems:"center",gap:e.space.$2,width:"fit-content","&:hover":{textDecoration:"none"}},t],...n,children:[(0,o.Y)(l.In,{icon:d,sx:e=>({color:e.colors.$colorForeground})}),r]})})}},155:function(e,t,r){r.d(t,{K:()=>l});var n=r(4518),o=r(5074),i=r(78),a=r(8272);let l=e=>{let{children:t,icon:r,localizationKey:l,iconElementDescriptor:s,...c}=e,{t:d}=(0,i._)(),u=d(l),p=(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{"aria-hidden":!0,focusable:!1}):(0,n.Y)(a.In,{elementDescriptor:s,icon:r,size:"md"});return(0,n.Y)(a.$n,{...c,children:(0,n.FD)(n.FK,{children:[p,u||t]})})}},6384:function(e,t,r){r.d(t,{A:()=>i});var n=r(4518),o=r(8272);let i=e=>{let{icon:t,boxElementDescriptor:r,iconElementDescriptor:i,sx:a,...l}=e;return(0,n.Y)(o.so,{center:!0,elementDescriptor:r,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,width:e.sizes.$16,height:e.sizes.$16,borderRadius:e.radii.$circle}),a],...l,children:(0,n.Y)(o.In,{elementDescriptor:i,icon:t,size:"lg",sx:e=>({color:e.colors.$neutralAlpha600})})})}},196:function(e,t,r){r.d(t,{$:()=>m});var n,o=r(4518),i=r(6435),a=r(5074),l=r(8272),s=r(8920);function c(){return(c=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)}let d=function(e){return a.createElement("svg",c({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),n||(n=a.createElement("path",{d:"M13.598 5.108c-.418.419-.628.628-.847.669-.22.04-.364-.104-.652-.392l-.984-.984c-.288-.288-.432-.432-.392-.652.04-.22.25-.428.669-.847l.226-.227c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-.227.226ZM4.66 13.688l-1.206.223c-.5.092-.75.138-.876.011-.127-.126-.08-.376.011-.876l.223-1.206c.04-.217.06-.325.118-.43.058-.105.15-.196.33-.377l5.554-5.554c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-5.554 5.553c-.181.182-.272.273-.377.331-.105.058-.213.078-.43.118ZM9.25 12.5a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5Z",fill:"currentColor"})))};var u=r(9835),p=r(7651);let m=e=>{let{avatarUrl:t=(0,i.l)("avatar_placeholder","jpeg"),identifier:r,onClick:n,...c}=e,m=a.useRef({avatarUrl:t,identifier:(0,u.u)(r)}),h=n&&(0,o.Y)(l.$n,{elementDescriptor:s.$z.identityPreviewEditButton,variant:"link",textVariant:"buttonSmall",onClick:n,"aria-label":"Edit",children:(0,o.Y)(l.In,{elementDescriptor:s.$z.identityPreviewEditButtonIcon,icon:d})});if(!m.current.identifier)return(0,o.Y)(b,{...c,children:h});if((0,u.R)(m.current.identifier)||!m.current.identifier.startsWith("+"))return(0,o.FD)(b,{...c,children:[(0,o.Y)(f,{...m.current}),h]});let v=(0,p.Xd)(m.current.identifier||""),y=(0,p.eL)(v.iso);return(0,o.FD)(b,{...c,children:[(0,o.Y)(g,{identifier:m.current.identifier,flag:y}),h]})},h=e=>(0,o.Y)(l.EY,{elementDescriptor:s.$z.identityPreviewText,colorScheme:"secondary",truncate:!0,...e}),f=e=>(0,o.Y)(h,{children:e.identifier}),g=e=>(0,o.FD)(o.FK,{children:[(0,o.Y)(l.EY,{sx:e=>({fontSize:e.fontSizes.$sm}),children:e.flag}),(0,o.Y)(h,{children:e.identifier})]}),b=e=>(0,o.Y)(l.so,{elementDescriptor:s.$z.identityPreview,align:"center",gap:2,sx:{justifyContent:"center"},...e})},2421:function(e,t,r){r.d(t,{k:()=>a});var n=r(4518),o=r(8272),i=r(9068);function a(e){return(0,n.FD)(o.so,{sx:e=>({gap:e.space.$2,padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md}),children:[(0,n.Y)(o.In,{icon:i.A,sx:e=>({opacity:e.opacity.$disabled})}),(0,n.Y)(o.EY,{localizationKey:e.message,sx:e=>({color:e.colors.$colorMutedForeground})})]})}},5013:function(e,t,r){r.d(t,{e:()=>a});var n=r(4518),o=r(5074),i=r(8272);let a=o.forwardRef((e,t)=>{let{leftIcon:r,sx:o,...a}=e;return(0,n.FD)(i.so,{center:!0,sx:{width:"100%",position:"relative"},children:[r?(0,n.Y)(i.az,{sx:e=>[{position:"absolute",left:e.space.$3x5,width:e.sizes.$3x5,height:e.sizes.$3x5,pointerEvents:"none",display:"grid",placeContent:"center","& svg":{position:"absolute",width:"100%",height:"100%"}}],children:r}):null,(0,n.Y)(i.pd,{...a,sx:[e=>({width:"100%",paddingLeft:e.space.$10}),o],ref:t})]})})},2689:function(e,t,r){r.d(t,{d:()=>g});var n=r(4518),o=r(7697),i=r(78),a=r(2861),l=r(8272),s=r(8920),c=r(6580),d=r(593),u=r(5507),p=r(5074);let m=/\[([^\]]+)\]\(([^)]+)\)/g,h=(0,p.memo)(({text:e,...t})=>{let r=(0,p.useMemo)(()=>t,[t]);return(0,p.useMemo)(()=>{let t=[],o=0;return e.replace(m,(i,a,s,c)=>(c>o&&t.push(e.slice(o,c)),t.push((0,n.Y)(l.N_,{href:s,...r,children:a},c)),o=c+i.length,i)),o<e.length&&t.push(e.slice(o)),t},[e,r])}),f=e=>{let t,{termsUrl:r,privacyPolicyUrl:o}=e,{t:c}=(0,i._)(),u=(0,d.Wd)(),{placeholder:p,...m}=(0,d.Uj)(u);return r&&o?t=(0,a.G)("signUp.legalConsent.checkbox.label__termsOfServiceAndPrivacyPolicy",{termsOfServiceLink:r,privacyPolicyLink:o}):r?t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyTermsOfService",{termsOfServiceLink:r}):o&&(t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyPrivacyPolicy",{privacyPolicyLink:o})),(0,n.Y)(l.lR,{elementDescriptor:s.$z.formFieldCheckboxLabel,htmlFor:m.id,isDisabled:m.isDisabled,sx:e=>({paddingLeft:e.space.$1x5,textAlign:"left"}),children:(0,n.Y)(l.EY,{variant:"body",as:"span",children:(0,n.Y)(h,{text:c(t),isExternal:!0,sx:e=>({textDecoration:"underline",textUnderlineOffset:e.space.$1})})})})},g=e=>{let{displayConfig:t}=(0,o.O)(),{parsedOptions:r}=(0,c.K)(),i=r.termsPageUrl||t.termsUrl,a=r.privacyPageUrl||t.privacyPolicyUrl;return(0,n.Y)(u.D.Root,{...e,children:(0,n.FD)(l.so,{justify:"center",children:[(0,n.Y)(u.D.CheckboxIndicator,{elementDescriptor:s.$z.formFieldCheckboxInput,elementId:s.$z.formFieldInput.setId("legalAccepted")}),(0,n.Y)(f,{termsUrl:i,privacyPolicyUrl:a})]})})}},9436:function(e,t,r){r.d(t,{p:()=>f});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(7782),s=r(2405),c=r(2852),d=r(1464),u=r(9606);let p=o.createContext(void 0);function m({text:e}){let{onCopy:t}=(0,l.i)(e);return(0,n.Y)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,display:"flex",minWidth:"0"}),onCopy:async e=>{e.preventDefault(),await t()},children:(0,u.W)(e,15)})}function h({text:e,copyLabel:t="Copy"}){let{onCopy:r,hasCopied:o}=(0,l.i)(e);return(0,n.Y)(i.$n,{variant:"unstyled",onClick:r,sx:e=>({color:"inherit",width:e.sizes.$4,height:e.sizes.$4,padding:0,borderRadius:e.radii.$sm,"&:focus-visible":{outline:"2px solid",outlineColor:e.colors.$colorRing}}),focusRing:!1,"aria-label":o?"Copied":t,children:(0,n.Y)(i.In,{size:"sm",icon:o?s.A:c.A,"aria-hidden":!0})})}let f={Root:function({children:e}){return(0,n.Y)(i.Dl,{elementDescriptor:a.$z.lineItemsRoot,sx:e=>({display:"grid",gridRowGap:e.space.$2}),children:e})},Group:function({children:e,borderTop:t=!1,variant:r="primary"}){return(0,n.Y)(p.Provider,{value:{variant:r},children:(0,n.Y)(i.az,{elementDescriptor:a.$z.lineItemsGroup,elementId:a.$z.lineItemsGroup.setId(r),sx:e=>({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",...t?{borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$2}:{}}),children:e})})},Title:o.forwardRef(({title:e,description:t,icon:r,badge:l=null},s)=>{let c=o.useContext(p);if(!c)throw Error("LineItems.Title must be used within LineItems.Group");let{variant:u}=c,m="primary"===u?"subtitle":"caption";return(0,n.FD)(i.Dt,{ref:s,elementDescriptor:a.$z.lineItemsTitle,elementId:a.$z.lineItemsTitle.setId(u),sx:e=>({display:"grid",color:"primary"===u?e.colors.$colorForeground:e.colors.$colorMutedForeground,...d.s.textVariants(e)[m]}),children:[e?(0,n.FD)(i.L9,{sx:e=>({display:"inline-flex",alignItems:"center",gap:e.space.$1}),children:[r?(0,n.Y)(i.In,{size:"md",icon:r,"aria-hidden":!0}):null,(0,n.Y)(i.L9,{localizationKey:e}),l]}):null,t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsTitleDescription,sx:e=>({fontSize:e.fontSizes.$sm,color:e.colors.$colorMutedForeground})}):null]})}),Description:function({text:e,prefix:t,suffix:r,truncateText:l=!1,copyText:s=!1,copyLabel:c}){let u=o.useContext(p);if(!u)throw Error("LineItems.Description must be used within LineItems.Group");let{variant:f}=u;return(0,n.FD)(i.Dd,{elementDescriptor:a.$z.lineItemsDescription,elementId:a.$z.lineItemsDescription.setId(f),sx:e=>({display:"grid",justifyContent:"end",color:"tertiary"===f?e.colors.$colorMutedForeground:e.colors.$colorForeground}),children:[(0,n.FD)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionInner,sx:e=>({display:"inline-flex",justifyContent:"flex-end",alignItems:"center",gap:e.space.$1,minWidth:"0"}),children:[t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsDescriptionPrefix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption})}):null,"string"==typeof e&&l?(0,n.Y)(m,{text:e}):(0,n.Y)(i.L9,{localizationKey:e,elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,minWidth:"0",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}),"string"==typeof e&&s?(0,n.Y)(h,{text:e,copyLabel:c}):null]}),r?(0,n.Y)(i.L9,{localizationKey:r,elementDescriptor:a.$z.lineItemsDescriptionSuffix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption,justifySelf:"flex-end"})}):null]})}}},6980:function(e,t,r){r.d(t,{B:()=>d,W:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6142),l=r(6088),s=r(3269);let c=({children:e})=>(0,n.FD)(o.so,{direction:"col",center:!0,elementDescriptor:i.$z.main,gap:8,sx:e=>({marginTop:e.space.$16,marginBottom:e.space.$13}),children:[(0,n.Y)(o.y$,{size:"xl",colorScheme:"primary",elementDescriptor:i.$z.spinner}),e]}),d=(0,s.dm)(()=>{let e=(0,s.f0)();return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.Y)(l.Z.Alert,{children:e.error}),(0,n.Y)(c,{}),(0,n.Y)(a.j,{})]}),(0,n.Y)(l.Z.Footer,{})]})})},4365:function(e,t,r){r.d(t,{Dr:()=>y,W1:()=>f,cO:()=>v,cQ:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8920),l=r(8272),s=r(1577),c=r(4374),d=r(4620),u=r(3269),p=r(4373);let[m,h]=(0,o.e3)("MenuState"),f=(0,u.P4)(e=>{let{popoverPlacement:t="bottom-end",elementId:r,...o}=e,a=(0,s.f)({placement:t,offset:8,shoudFlip:!0}),l=i.useMemo(()=>({value:{popoverCtx:a,elementId:r}}),[{...a},r]);return(0,n.Y)(m.Provider,{value:l,...o})}),g=e=>{let{children:t,arialLabel:r}=e,{popoverCtx:n,elementId:o}=h(),{reference:l,toggle:s,isOpen:c}=n,d="function"==typeof r?r(c):r;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{ref:l,elementDescriptor:t.props.elementDescriptor||a.$z.menuButton,elementId:t.props.elementId||a.$z.menuButton.setId(o),"aria-label":d,"aria-expanded":c,onClick:e=>{t.props?.onClick?.(e),s()}}):null},b=(e,t,r)=>{let n=r?.countSelf?e.tagName:"",o=e;for(;o&&"BUTTON"!==n.toUpperCase();)o=o["prev"===t?"previousElementSibling":"nextElementSibling"],n=o?.tagName??"";return o},v=e=>{let{sx:t,asPortal:r,...o}=e,{popoverCtx:s,elementId:u}=h(),{floating:m,styles:f,isOpen:g,context:v,nodeId:y}=s,w=(0,i.useRef)(null);return(0,i.useLayoutEffect)(()=>{m(w.current)},[g]),(0,n.Y)(p.A,{context:v,nodeId:y,isOpen:g,portal:r,children:(0,n.Y)(l.fv,{elementDescriptor:a.$z.menuList,elementId:a.$z.menuList.setId(u),ref:w,role:"menu",onKeyDown:e=>{let t=w.current;if(t&&t===document.activeElement&&"ArrowDown"===e.key)return e.preventDefault(),b(t.children[0],"next",{countSelf:!0})?.focus()},sx:[e=>({backgroundColor:d.T.makeSolid(e.colors.$colorBackground),borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,outline:"none",borderRadius:e.radii.$md,padding:e.space.$0x5,overflow:"hidden",top:`calc(100% + ${e.space.$2})`,animation:`${c.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",zIndex:e.zIndices.$dropdown,gap:e.space.$0x5}),t],style:f,...o})})},y=e=>{let{sx:t,onClick:r,destructive:o,closeAfterClick:s=!0,...c}=e,{popoverCtx:d,elementId:u}=h(),{toggle:p}=d,m=(0,i.useRef)(null);return(0,n.Y)(l.dF,{ref:m,elementDescriptor:a.$z.menuItem,elementId:a.$z.menuItem.setId(u),hoverAsFocus:!0,variant:"ghost",colorScheme:o?"danger":"neutral",role:"menuitem",onKeyDown:e=>{let t=m.current;if(!t)return;let r=e.key;if("ArrowUp"!==r&&"ArrowDown"!==r)return;e.preventDefault();let n=b(t,"ArrowUp"===r?"prev":"next");n?.focus()},focusRing:!1,onClick:e=>{r?.(e),s&&p()},sx:[e=>({justifyContent:"start",borderRadius:e.radii.$sm,padding:`${e.space.$1} ${e.space.$3}`,whiteSpace:"nowrap"}),t],...c})}},6705:function(e,t,r){r.d(t,{Modal:()=>b,Y:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(8792),d=r(4374),u=r(7591),p=r(3269),m=r(4373);let[h,f,g]=(0,o.e3)("ModalContext"),b=(0,p.P4)(e=>{let{disableScrollLock:t,enableScrollLock:r}=(0,c.K)(),{handleClose:p,handleOpen:f,contentSx:g,containerSx:b,canCloseModal:v,id:y,style:w,portalRoot:$,initialFocusRef:x}=e,_=(0,o.Sj)(),S=(0,i.useRef)(null),{floating:C,isOpen:k,context:A,nodeId:I,toggle:z}=(0,s.f)({defaultOpen:!0,autoUpdate:!1,outsidePress:e=>e.target===S.current,canCloseModal:v});i.useEffect(()=>{k?f?.():p?.()},[k]);let P=i.useMemo(()=>({value:!1===v?{}:{toggle:z}}),[z,v]);(0,o.UQ)(()=>(r(),()=>{t()}),[]);let D=$??_?.()??void 0;return(0,n.Y)(m.A,{nodeId:I,context:A,isOpen:k,outsideElementsInert:!0,root:D,initialFocus:x,children:(0,n.Y)(h.Provider,{value:P,children:(0,n.Y)(a.so,{id:y,ref:S,elementDescriptor:l.$z.modalBackdrop,style:w,sx:[e=>({animation:`${d.W.fadeIn} 150ms ${e.transitionTiming.$common}`,zIndex:e.zIndices.$modal,backgroundColor:e.colors.$colorModalBackdrop,alignItems:"flex-start",justifyContent:"center",overflow:"auto",width:"100vw",height:["100vh","-webkit-fill-available"],position:"fixed",left:0,top:0}),b],children:(0,n.Y)(a.so,{elementDescriptor:l.$z.modalContent,ref:C,"aria-modal":"true",role:"dialog",sx:[e=>({position:"relative",outline:0,animation:`${d.W.modalSlideAndFade} 180ms ${e.transitionTiming.$easeOut}`,margin:`${e.space.$16} 0`,[u.g.sm]:{margin:`${e.space.$10} 0`}}),g],children:e.children})})})})})},9764:function(e,t,r){r.d(t,{oT:()=>D,jq:()=>A,n8:()=>C,XM:()=>k});var n,o=r(4518),i=r(9361),a=r(5074),l=r(8272),s=r(8920),c=r(78),d=r(1550),u=r(1577);function p(){return(p=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)}let m=function(e){return a.createElement("svg",p({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z"})))};var h=r(4964),f=r(7591),g=r(1464),b=r(4374),v=r(4620),y=r(6088),w=r(3269),$=r(846),x=r(4373);let[_,S,C]=(0,i.e3)("NavbarContext"),k=({children:e,contentRef:t})=>{let[r,n]=a.useState(!1),i=a.useCallback(()=>n(!0),[]),l=a.useCallback(()=>n(!1),[]),s=a.useMemo(()=>({value:{isOpen:r,open:i,close:l,contentRef:t}}),[r]);return(0,o.Y)(_.Provider,{value:s,children:e})},A=e=>{let{contentRef:t,title:r,description:n,routes:i,header:c}=e,{close:u}=S(),{navigate:p}=(0,h.r)(),{navigateToFlowStart:m}=(0,d.C)(),f=(0,h.r)(),g=async e=>{t.current&&(u(),"/"===e.path?await m():await p(e.path))},b=(0,a.useCallback)(e=>{if(e.external)return!1;let t=f.currentPath===f.fullPath&&"/"===e.path,r=f.matches(e.path);return t||r},[f.currentPath]),v=(0,o.Y)(l.fv,{elementDescriptor:s.$z.navbarButtons,sx:e=>({gap:e.space.$0x5}),children:i.map(e=>(0,o.Y)(P,{elementDescriptor:s.$z.navbarButton,elementId:s.$z.navbarButton.setId(e.id),iconElementDescriptor:s.$z.navbarButtonIcon,iconElementId:s.$z.navbarButtonIcon.setId(e.id),onClick:e?.external?()=>p(e.path):()=>g(e),icon:e.icon,isActive:b(e),sx:e=>({padding:`${e.space.$1x5} ${e.space.$3}`,minHeight:e.space.$8}),children:(0,o.Y)(l.L9,{elementDescriptor:s.$z.navbarButtonText,elementId:s.$z.navbarButtonText.setId(e.id),localizationKey:e.name})},e.id))});return(0,o.FD)(o.FK,{children:[(0,o.FD)(I,{title:r,description:n,children:[c,v]}),(0,o.FD)(z,{children:[c,v]})]})},I=e=>{let{title:t,description:r}=e;return(0,o.FD)(l.fv,{elementDescriptor:s.$z.navbar,sx:e=>({[f.g.md]:{display:"none"},flex:`0 0 ${e.space.$57}`,width:e.sizes.$57,position:"relative",maxWidth:e.space.$57,background:g.s.mutedBackground(e),padding:`${e.space.$6} ${e.space.$5} ${e.space.$4} ${e.space.$3}`,marginRight:`calc(${e.space.$2} * -1)`,color:e.colors.$colorForeground,justifyContent:"space-between"}),children:[(0,o.Y)($.$,{}),(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$6,flex:`0 0 ${e.space.$60}`}),children:[(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$0x5,padding:`${e.space.$none} ${e.space.$3}`}),children:[(0,o.Y)(l.DZ,{as:"h1",localizationKey:t}),(0,o.Y)(l.EY,{colorScheme:"secondary",localizationKey:r})]}),e.children]}),(0,o.Y)(y.Z.ClerkAndPagesTag,{sx:{width:"fit-content"}})]})},z=(0,w.P4)(e=>{let t=S(),{floating:r,isOpen:n,open:i,close:c,nodeId:d,context:p}=(0,u.f)({defaultOpen:!1,autoUpdate:!1});return a.useEffect(()=>{t.isOpen?i():c()},[t.isOpen]),a.useEffect(()=>{n||t.close()},[n]),(0,o.Y)(x.A,{nodeId:d,context:p,isOpen:n,portal:!1,children:(0,o.Y)(l.fv,{sx:e=>({position:"absolute",top:0,bottom:0,width:"100%",zIndex:e.zIndices.$navbar,overflow:"hidden",color:e.colors.$colorForeground}),children:(0,o.Y)(l.fv,{ref:r,elementDescriptor:s.$z.navbar,tabIndex:0,sx:e=>({outline:0,position:"absolute",top:0,bottom:0,width:e.space.$60,backgroundColor:v.T.makeSolid(e.colors.$colorBackground),borderTopRightRadius:e.radii.$lg,borderBottomRightRadius:e.radii.$lg,padding:`${e.space.$10} ${e.space.$6}`,animation:`${b.W.navbarSlideIn} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,borderRightWidth:e.borderWidths.$normal,borderRightStyle:e.borderStyles.$solid,borderRightColor:e.colors.$borderAlpha150,boxShadow:e.shadows.$cardContentShadow}),children:e.children})})})}),P=e=>{let{icon:t,children:r,isActive:n,iconElementDescriptor:i,iconElementId:a,sx:s,...c}=e;return(0,o.FD)(l.$n,{variant:"unstyled",colorScheme:n?"primary":"neutral",textVariant:"buttonLarge",size:"md",isActive:n,focusRing:!1,...c,sx:[e=>({gap:e.space.$3,justifyContent:"flex-start",backgroundColor:n?e.colors.$neutralAlpha100:void 0,color:n?e.colors.$primary500:e.colors.$colorMutedForeground,"&:hover":{backgroundColor:n?void 0:e.colors.$neutralAlpha25},"&:focus":{backgroundColor:n?void 0:e.colors.$neutralAlpha50}}),s],children:[(0,o.Y)(l.In,{elementDescriptor:i,elementId:a,icon:t,sx:{opacity:n?1:.7,transform:"translateZ(0)"}}),r]})},D=({navbarTitleLocalizationKey:e,...t})=>{let{open:r}=C(),{t:n}=(0,c._)();return r?(0,o.Y)(l.so,{elementDescriptor:s.$z.navbarMobileMenuRow,sx:e=>({display:"none",background:g.s.mutedBackground(e),padding:`${e.space.$2} ${e.space.$3} ${e.space.$4} ${e.space.$3}`,marginBottom:`calc(${e.space.$2} * -1)`,[f.g.md]:{display:"flex"}}),children:(0,o.FD)(l.$n,{elementDescriptor:s.$z.navbarMobileMenuButton,...t,onClick:r,size:"xs",textVariant:"h2",variant:"ghost",sx:e=>({color:e.colors.$colorForeground,gap:e.space.$2x5,width:"fit-content",alignItems:"center",justifyContent:"center"}),children:[(0,o.Y)(l.In,{elementDescriptor:s.$z.navbarMobileMenuButtonIcon,icon:m,size:"md"}),n(e)]})}):null}},6890:function(e,t,r){r.d(t,{h:()=>i});var n=r(4518),o=r(6195);let i=e=>{let{name:t="",imageUrl:r,...i}=e;return(0,n.Y)(o.e,{title:t,initials:(t||" ")[0],imageUrl:r,rounded:!1,...i})}},9001:function(e,t,r){r.d(t,{Q:()=>s});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(3486),l=r(6890);let s=e=>{let{organization:t,size:r="md",icon:s,rounded:c=!1,badge:d,sx:u,user:p,avatarSx:m,mainIdentifierSx:h,mainIdentifierVariant:f,elementId:g,...b}=e,{localizeCustomRole:v}=(0,a.l)(),y=p?.organizationMemberships.find(e=>e.organization.id===t.id),w=y?.roleName,$=v(y?.role)||w;return(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreview,elementId:i.$z.organizationPreview.setId(g),gap:3,align:"center",as:"span",sx:[{minWidth:"0"},u],...b,children:[(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewAvatarContainer,elementId:i.$z.organizationPreviewAvatarContainer.setId(g),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(l.h,{boxElementDescriptor:i.$z.organizationPreviewAvatarBox,imageElementDescriptor:i.$z.organizationPreviewAvatarImage,...t,size:e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[r],sx:m,rounded:c}),s&&(0,n.Y)(o.so,{sx:{position:"absolute",left:0,bottom:0},children:s})]}),(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewTextContainer,elementId:i.$z.organizationPreviewTextContainer.setId(g),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(o.EY,{elementDescriptor:i.$z.organizationPreviewMainIdentifier,elementId:i.$z.organizationPreviewMainIdentifier.setId(g),variant:f||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[r],as:"span",truncate:!0,sx:h,title:t.name,children:[t.name," ",d]}),$&&(0,n.Y)(o.EY,{elementDescriptor:i.$z.organizationPreviewSecondaryIdentifier,elementId:i.$z.organizationPreviewSecondaryIdentifier.setId(g),as:"span",localizationKey:$,truncate:!0})]})]})}},8819:function(e,t,r){r.d(t,{d:()=>y});var n,o,i=r(4518),a=r(8272),l=r(8920),s=r(2861),c=r(78),d=r(5074);function u(){return(u=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)}let p=function(e){return d.createElement("svg",u({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.55 4.24a.75.75 0 0 1-.04 1.06L6.604 7.998l2.655 2.45a.744.744 0 0 1 .021.022l.25.25a.75.75 0 1 1-1.06 1.06l-.24-.24-3.239-2.989a.75.75 0 0 1-.001-1.1l3.5-3.25a.75.75 0 0 1 1.06.039Z"})))};function m(){return(m=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)}let h=function(e){return d.createElement("svg",m({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),o||(o=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.45 11.76a.75.75 0 0 1 .04-1.06l2.906-2.698-2.655-2.45a.756.756 0 0 1-.021-.022l-.25-.25a.75.75 0 0 1 1.06-1.06l.24.24 3.239 2.989a.75.75 0 0 1 .001 1.1l-3.5 3.25a.75.75 0 0 1-1.06-.039Z"})))};var f=r(7591);let g=e=>{let{sx:t,isActive:r,icon:n,children:o,...s}=e;return(0,i.FD)(a.$n,{size:"xs",variant:"outline",sx:e=>[{color:e.colors.$colorForeground,opacity:r?1:e.opacity.$inactive,padding:`${e.space.$0x5} ${e.space.$0x5}`},t],elementDescriptor:l.$z.paginationButton,...s,children:[n&&(0,i.Y)(a.In,{size:"md",elementDescriptor:l.$z.paginationButtonIcon,icon:e.icon}),o]})},b=e=>{let{rowInfo:{startingRow:t,endingRow:r,allRowsCount:n}}=e;return(0,i.FD)(a.EY,{children:[(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__displaying"),colorScheme:"secondary"})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("rowsCount"),sx:e=>({fontWeight:e.fontWeights.$medium}),children:t===r&&[0,1].includes(t)?t:`${t} – ${r}`})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__of")})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("allRowsCount"),children:n})]})},v=()=>(0,i.Y)(a.so,{center:!0,children:(0,i.Y)(a.EY,{colorScheme:"secondary",children:"..."})}),y=e=>{let{page:t,count:r,rowInfo:n,siblingCount:o=1,onChange:l}=e,{t:d}=(0,c._)();return(0,i.FD)(a.so,{justify:n?"between":"center",align:"center",sx:e=>({fontSize:e.fontSizes.$sm,"*":{fontSize:"inherit"},[f.g.sm]:{flexDirection:"column",gap:e.space.$2}}),children:[n&&(0,i.Y)(b,{rowInfo:n}),(0,i.FD)(a.so,{gap:2,align:"center",sx:{display:"inline-flex"},children:[(0,i.Y)(g,{isDisabled:t<=1,icon:p,"aria-label":d((0,s.G)("paginationButton__previous")),onClick:()=>{l?.(t-1)}}),Array.from({length:r-1+1},(e,t)=>1+t).map(e=>Math.abs(t-e)<=o||e===r||1===e?(0,i.Y)(g,{isActive:e===t,variant:"ghost",onClick:()=>{l?.(e)},children:e},e):Math.abs(t-e)===o+1?(0,i.Y)(v,{},e):null),(0,i.Y)(g,{isDisabled:t>=r||t<1,icon:h,"aria-label":d((0,s.G)("paginationButton__next")),onClick:()=>{l?.(t+1)}})]})]})}},781:function(e,t,r){r.d(t,{i:()=>i});var n=r(4518),o=r(9345);let i=e=>(0,n.Y)(o.c,{elementId:"personalWorkspace",rounded:!1,...e})},1820:function(e,t,r){r.d(t,{mK:()=>o,nU:()=>a,zh:()=>l});let n=[["United States","us","1","(...) ...-....",100],["United Kingdom","gb","44",".... ......",100],["India","in","91",".....-.....",100],["Canada","ca","1","(...) ...-....",100],["Germany","de","49","... .......",100],["France","fr","33",". .. .. .. ..",100],["Russia","ru","7","... ...-..-..",100],["Afghanistan","af","93"],["\xc5land Islands","ax","358"],["Albania","al","355"],["Algeria","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61","... ... ..."],["Austria","at","43"],["Azerbaijan","az","994"],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375"],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bermuda","bm","1441"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599"],["Cayman Islands","ky","1345"],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","...-....-...."],["Colombia","co","57"],["Comoros","km","269"],["Democratic Republic of the Congo","cd","243"],["Republic of the Congo","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506","....-...."],["C\xf4te d’Ivoire","ci","225"],["Croatia","hr","385"],["Cuba","cu","53"],["Cura\xe7ao","cw","599"],["Cyprus","cy","357"],["Czech Republic","cz","420"],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1"],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372"],["Ethiopia","et","251"],["Falkland Islands","fk","500"],["Faroe Islands","fo","298"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30","... ......."],["Greenland","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590"],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["Indonesia","id","62"],["Iran","ir","98"],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972"],["Italy","it","39","... ......"],["Jamaica","jm","1876"],["Japan","jp","81","... .. ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-.."],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996"],["Laos","la","856"],["Latvia","lv","371"],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262"],["Mexico","mx","52"],["Micronesia","fm","691"],["Moldova","md","373"],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Montserrat","ms","1664"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea","kp","850"],["North Macedonia","mk","389"],["Northern Mariana Islands","mp","1670"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1"],["Qatar","qa","974"],["R\xe9union","re","262"],["Romania","ro","40"],["Rwanda","rw","250"],["Saint Barth\xe9lemy","bl","590"],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin","mf","590"],["Saint Pierre and Miquelon","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Sint Maarten","sx","1721"],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82"],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Eswatini","sz","268"],["Sweden","se","46",".. ... .. .."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["Uruguay","uy","598"],["Uzbekistan","uz","998"],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ...."],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis and Futuna","wf","681"],["Western Sahara","eh","212"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],o={us:new Set(["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]),ca:new Set(["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"])},i=([e,t,r,n="",o=0])=>({name:e,iso:t,code:r,pattern:n,priority:o}),a=n.reduce((e,t)=>e.set(t[1],i(t)),new Map),l=n.reduce((e,t)=>{let r=t[2],n=i(t);return e.has(r)?e.get(r)?.push(n):e.set(r,[n]),e},new Map)},4373:function(e,t,r){r.d(t,{A:()=>a});var n=r(4518),o=r(9361),i=r(2119);r(5074);let a=e=>{let{context:t,initialFocus:r,outsideElementsInert:a=!1,order:l=["reference","content"],nodeId:s,isOpen:c,portal:d=!0,root:u,children:p}=e,m=(0,o.Sj)(),h=u??m?.()??void 0;return d?(0,n.Y)(i.$c,{id:s,children:(0,n.Y)(i.XF,{root:h,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,outsideElementsInert:a,order:l,children:(0,n.Y)(n.FK,{children:p})})})}):(0,n.Y)(i.$c,{id:s,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,order:l,children:(0,n.Y)(n.FK,{children:p})})})}},9972:function(e,t,r){r.d(t,{Y:()=>h});var n=r(4518),o=r(5074),i=r(7697),a=r(4607),l=r(8920),s=r(8272),c=r(6580),d=r(4374),u=r(1464),p=r(4620),m=r(6088);let h={Root:o.forwardRef((e,t)=>{let{elementDescriptor:r,shouldEntryAnimate:o=!0,...i}=e;return(0,n.Y)(a.n.Part,{part:"popover",children:(0,n.Y)(m.Z.Root,{elementDescriptor:[l.$z.popoverBox,r],...i,ref:t,sx:[e=>({width:e.sizes.$94,maxWidth:`calc(100vw - ${e.sizes.$8})`,zIndex:e.zIndices.$modal,borderRadius:e.radii.$xl,outline:"none"}),e=>({animation:o?`${d.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$fast}`:void 0})],children:e.children})})}),Content:e=>{let{sx:t,...r}=e;return(0,n.Y)(s.so,{direction:"col",sx:[e=>({backgroundColor:e.colors.$colorBackground,overflow:"hidden",borderRadius:e.radii.$lg,zIndex:e.zIndices.$card,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginInline:"-1px",marginBlockStart:"-1px"}),t],...r,children:e.children})},Footer:e=>{let{sx:t,children:r,...o}=e,{branded:a}=(0,i.O)().displayConfig,{privacyPageUrl:l,termsPageUrl:d,helpPageUrl:h}=(0,c.K)().parsedOptions;return(0,n.FD)(s.fv,{justify:"between",sx:[e=>({background:u.s.mergedColorsBackground(p.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),marginTop:`calc(${e.space.$2} * -1)`,paddingTop:e.space.$2,"&:empty":{padding:0,marginTop:0},">:not(:first-of-type)":{padding:`${e.space.$4} ${e.space.$8}`,borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}}),t],...o,children:[r,(0,n.Y)(m.Z.ClerkAndPagesTag,{outerSx:e=>({padding:`${e.space.$4} ${e.space.$8}`}),withFooterPages:!!(a||l||d||h),devModeNoticeSx:e=>({padding:e.space.$none}),withDevOverlay:!0})]})}}},1986:function(e,t,r){r.d(t,{Z:()=>i});var n=r(5074),o=r(5323);let i=e=>{let t=n.useRef(document.createElement("div"));return n.useEffect(()=>(document.body.appendChild(t.current),()=>{document.body.removeChild(t.current)}),[]),(0,o.createPortal)(e.children,t.current)}},750:function(e,t,r){r.d(t,{P:()=>a});var n=r(4518),o=r(8272),i=r(3269);let a=e=>{let{sx:t,children:r,icon:a,iconProps:l,showIconOnHover:s=!0,...c}=e,d=(0,i.f0)(),{sx:u,...p}=l||{};return(0,n.FD)(o.$n,{variant:"ghost",colorScheme:"neutral",focusRing:!1,block:!0,hoverAsFocus:!0,isDisabled:d.isLoading,sx:[e=>({justifyContent:"space-between",padding:`${e.space.$4} ${e.space.$5}`,borderRadius:0,...s?{":hover > svg":{visibility:"initial"}}:{}}),t],...c,children:[r,a&&(0,n.Y)(o.In,{icon:a,sx:[e=>({color:e.colors.$colorMutedForeground,marginLeft:e.space.$2,visibility:s?"hidden":"initial"}),u],...p})]})}},5396:function(e,t,r){r.d(t,{a:()=>h});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(4964),s=r(7591),c=r(1464),d=r(5057),u=r(6088),p=r(155),m=r(6705);let h={Root:o.forwardRef((e,t)=>{let{sx:r,children:o,...l}=e,{toggle:c}=(0,m.Y)();return(0,n.FD)(u.Z.Root,{ref:t,sx:[e=>({width:e.sizes.$220,maxWidth:`calc(100vw - ${e.sizes.$8})`,display:"flex",flexDirection:"row",[s.g.md]:{display:"flex",flexDirection:"column"},overflow:"hidden",height:e.sizes.$176,position:"relative"}),r],...l,children:[c&&(0,n.Y)(i.az,{sx:e=>({[s.g.md]:{padding:`${e.space.$1x5} ${e.space.$2}`,top:e.space.$none,right:e.space.$none},zIndex:e.zIndices.$modal,position:"absolute",top:e.space.$2,right:e.space.$2}),children:(0,n.Y)(p.K,{elementDescriptor:a.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:c,icon:(0,n.Y)(i.In,{icon:d.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3})})}),o,(0,n.Y)(u.Z.Footer,{isProfileFooter:!0,sx:{display:"none",[s.g.md]:{display:"flex"}}})]})}),Content:e=>{let{contentRef:t,children:r,scrollBoxId:d}=e,u=(0,l.r)(),p=o.useRef(0);return o.useEffect(()=>{let e=e=>{let t=e.target;t.scrollTop&&(p.current=t.scrollTop)};return t?.current?.addEventListener("scroll",e),()=>t?.current?.removeEventListener("scroll",e)},[]),o.useLayoutEffect(()=>{p.current&&t?.current&&(t.current.scrollTop=p.current)},[u.currentPath]),(0,n.Y)(i.fv,{elementDescriptor:a.$z.scrollBox,sx:e=>({backgroundColor:e.colors.$colorBackground,position:"relative",borderRadius:e.radii.$lg,width:"100%",overflow:"hidden",borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginBlock:"-1px",marginInlineEnd:"-1px",flex:1}),"data-clerk-profile-scroll-box-root":d,children:(0,n.Y)(i.fv,{elementDescriptor:a.$z.pageScrollBox,sx:e=>({flex:"1",scrollbarGutter:"stable",paddingTop:e.space.$7,paddingBottom:e.space.$7,paddingLeft:e.space.$8,paddingRight:e.space.$6,[s.g.sm]:{padding:`${e.space.$8} ${e.space.$5}`},...c.s.maxHeightScroller(e)}),ref:t,children:r})})}}},6760:function(e,t,r){r.d(t,{U:()=>l});var n=r(4518),o=r(5074),i=r(6580),a=r(6505);let l=e=>{let t=(0,i.K)(),r=c(o.Children.toArray(e.children),e=>(0,n.Y)(a.c,{},`divider${e}`));return(0,n.Y)(s,{reverse:"bottom"===t.parsedOptions.socialButtonsPlacement,...e,children:r})},s=e=>{let{children:t,reverse:r}=e;return(0,n.Y)(n.FK,{children:r?o.Children.toArray(t).reverse():t})},c=(e,t)=>e.reduce((r,n,o)=>o===e.length-1?[...r,n]:[...r,n,t(o)],[])},1005:function(e,t,r){r.d(t,{M:()=>i});var n=r(4518),o=r(8272);let i=e=>(0,n.Y)(o.fv,{...e,sx:e=>({boxSizing:"border-box",width:"fit-content",color:e.colors.$colorForeground,fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})})},4387:function(e,t,r){r.d(t,{W:()=>a});var n=r(4518),o=r(8272),i=r(4964);let a=e=>{let{to:t,onClick:r,...a}=e,l=(0,i.r)(),s=l.resolve(t||l.indexPath);return(0,n.Y)(o.N_,{...a,onClick:e=>(e.preventDefault(),r&&!t)?r(e):l.navigate(s.href),href:s.href})}},4003:function(e,t,r){r.d(t,{rd:()=>m});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(9679),s=r(7591),c=r(579),d=r(8738),u=r(4365);let p=(0,o.forwardRef)((e,t)=>{let{children:r,leftIcon:o=l.A,id:i,sx:s,localizationKey:c,...u}=e;return(0,n.Y)(d.X,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(i),variant:"ghost",sx:[e=>({textWrap:"nowrap",justifyContent:"start",height:e.sizes.$8}),s],textLocalizationKey:c,leftIcon:o,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),ref:t,...u,children:r})}),m={Root:e=>{let{title:t,centered:r=!0,children:l,id:c,sx:d,...u}=e,p=(0,o.useRef)(null),[m,f]=(0,o.useState)(0);return(0,o.useLayoutEffect)(()=>{let e=p.current;e&&f(e.clientHeight+e.clientTop||0)},[]),(0,n.FD)(i.so,{elementDescriptor:a.$z.profileSection,elementId:a.$z.profileSection.setId(c),sx:[e=>({flexDirection:"row-reverse",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$4,paddingBottom:e.space.$4,gap:e.space.$6,[s.g.lg]:{flexDirection:"column-reverse",gap:e.space.$2}}),d],...u,children:[(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionContent,elementId:a.$z.profileSectionContent.setId(c),gap:2,ref:p,sx:{minWidth:0,width:"100%","+ *":{"--clerk-height":`${m}px`}},children:l}),(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionHeader,elementId:a.$z.profileSectionHeader.setId(c),sx:e=>({padding:r?void 0:`${e.space.$1x5} 0`,gap:e.space.$1,width:e.space.$66,alignSelf:m?"self-start":r?"center":void 0,marginTop:r?"calc(var(--clerk-height)/2)":void 0,transform:m&&r?"translateY(-50%)":void 0,[s.g.lg]:{alignSelf:"self-start",marginTop:"unset",transform:"none",padding:0}}),children:(0,n.Y)(h,{localizationKey:t,elementDescriptor:a.$z.profileSectionTitle,elementId:a.$z.profileSectionTitle.setId(c),textElementDescriptor:a.$z.profileSectionTitleText,textElementId:a.$z.profileSectionTitleText.setId(c)})})]})},ItemList:e=>{let{children:t,id:r,disableAnimation:o=!1,...l}=e,s=(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionItemList,elementId:a.$z.profileSectionItemList.setId(r),sx:e=>({gap:e.space.$0x5}),...l,children:t});return o?s:(0,n.Y)(c.k,{asChild:!0,children:s})},Item:e=>{let{children:t,id:r,sx:o,hoverable:l,...s}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionItem,elementId:a.$z.profileSectionItem.setId(r),sx:[e=>({justifyContent:"space-between",width:"100%",alignItems:"center",padding:`${e.space.$1} ${e.space.$1} ${e.space.$1} ${e.space.$2x5}`,gap:e.space.$2,...l&&{borderRadius:e.radii.$lg,":hover":{backgroundColor:e.colors.$neutralAlpha50}}}),o],...s,children:t})},Button:e=>{let{children:t,id:r,sx:o,...l}=e;return(0,n.Y)(i.$n,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(r),variant:"ghost",sx:[e=>({whiteSpace:"nowrap",justifyContent:"start",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$3} ${e.space.$1x5} ${e.space.$2x5}`}),o],...l,children:t})},ArrowButton:p,ButtonGroup:e=>{let{children:t,id:r,...o}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionButtonGroup,elementId:a.$z.profileSectionButtonGroup.setId(r),justify:"between",gap:2,...o,children:t})},ActionMenu:e=>{let{children:t,triggerLocalizationKey:r,id:o,triggerSx:a,onClick:s}=e;return(0,n.Y)(i.so,{sx:{position:"relative"},children:(0,n.FD)(u.W1,{elementId:o,children:[(0,n.Y)(u.cQ,{children:(0,n.Y)(p,{id:o,textLocalizationKey:r,sx:[e=>({justifyContent:"start",height:e.sizes.$8}),a],leftIcon:l.A,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),onClick:s})}),(0,n.Y)(u.cO,{asPortal:!1,sx:e=>({width:"100%",padding:e.space.$1}),children:t})]})})},ActionMenuItem:e=>{let{children:t,isLoading:r,localizationKey:l,sx:s,leftIcon:c,leftIconSx:d,...p}=e,m=(0,o.isValidElement)(c);return(0,n.FD)(u.Dr,{sx:[e=>({padding:`${e.space.$1x5} ${e.space.$2}`}),s],isLoading:r,...p,children:[(r||c)&&(0,n.Y)(i.so,{as:"span",sx:e=>({flex:`0 0 ${e.space.$4}`}),children:r?(0,n.Y)(i.y$,{elementDescriptor:a.$z.spinner,size:"sm"}):!m&&c?(0,n.Y)(i.In,{icon:c,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$5}),d]}):c}),(0,n.Y)(i.EY,{localizationKey:l})]})}},h=e=>{let{textElementDescriptor:t,textElementId:r,localizationKey:o,...a}=e;return(0,n.Y)(i.so,{...a,children:(0,n.Y)(i.EY,{localizationKey:o,variant:"subtitle",elementDescriptor:t,elementId:r})})}},6839:function(e,t,r){r.d(t,{I:()=>u});var n=r(4518),o=r(2119),i=r(5074),a=r(8272),l=r(8920);let s=(0,i.createContext)(null),c=i.forwardRef(({children:e,value:t,defaultValue:r,onChange:c,"aria-label":d,"aria-labelledby":u,size:p="md",fullWidth:m=!1,sx:h},f)=>{let[g,b]=(0,i.useState)(r),v=void 0!==t;return(0,n.Y)(s.Provider,{value:{currentValue:v?t:g,onValueChange:e=>{v||b(e),c?.(e)},size:p,fullWidth:m},children:(0,n.Y)(o.eC,{orientation:"horizontal",role:"radiogroup",loop:!1,render:(0,n.Y)(a.so,{ref:f,elementDescriptor:l.$z.segmentedControlRoot,"aria-label":d,"aria-labelledby":u,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,isolation:"isolate"}),h]}),children:e})})});c.displayName="SegmentedControl.Root";let d=i.forwardRef(({text:e,value:t},r)=>{let{currentValue:c,onValueChange:d,size:u,fullWidth:p}=function(){let e=(0,i.useContext)(s);if(!e)throw Error("SegmentedControl.Button must be used within SegmentedControl.Root");return e}(),m=t===c;return(0,n.Y)(o.lb,{render:o=>(0,n.Y)(a.dF,{ref:r,...o,localizationKey:e,elementDescriptor:l.$z.segmentedControlButton,variant:"unstyled",role:"radio","aria-checked":m,onClick:()=>d(t),isActive:m,sx:e=>({position:"relative",width:p?"100%":"auto",backgroundColor:m?e.colors.$colorBackground:"transparent",color:m?e.colors.$colorForeground:e.colors.$colorMutedForeground,fontSize:"lg"===u?e.fontSizes.$md:e.fontSizes.$xs,minHeight:e.sizes.$6,boxShadow:m?e.shadows.$segmentedControl:"none",borderRadius:`calc(${e.radii.$md} - ${e.borderWidths.$normal})`,zIndex:1,":focus-visible":{zIndex:2}})})})});d.displayName="SegmentedControl.Button";let u={Root:c,Button:d}},1586:function(e,t,r){r.d(t,{JC:()=>S,l6:()=>y,UL:()=>_});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(7649),d=r(1464),u=r(4374),p=r(4620),m=r(3269),h=r(4373);let[f,g]=(0,o.e3)("SelectState"),b=(e,t)=>(0,n.Y)(a.so,{sx:e=>({position:"relative",width:"100%",padding:`${e.space.$2} ${e.space.$4}`,margin:`0 ${e.space.$1}`,borderRadius:e.radii.$md,'&:hover, &[data-focused="true"]':{background:d.s.mutedBackground(e)},"&::before":{content:'""',position:"absolute",inset:`calc(${e.space.$0x5} * -1) calc(${e.space.$1} * -1)`}}),children:(0,n.Y)(a.EY,{truncate:!0,children:e.label||e.value})}),v=e=>e.label||e.value,y=(0,m.P4)(e=>{let{value:t,options:r,onChange:o,renderOption:a,noResultsMessage:l,comparator:c,placeholder:d="Select an option",searchPlaceholder:u,elementId:p,children:m,portal:h=!1,referenceElement:g=null,...y}=e,w=(0,s.f)({autoUpdate:!0,adjustToReferenceWidth:!!g,referenceElement:g}),$=w.toggle,x=i.useRef(null),C=(e=>{let{items:t,comparator:r,searchTermForItem:n}=e,[o,a]=i.useState(""),l=i.useMemo(()=>t.reduce((e,t)=>(e.set(t,n?.(t)),e),new Map),[t]),s=i.useMemo(()=>o?t.filter(e=>r(o,e,l.get(e))):t,[t,o]);return{searchInputProps:{onChange:e=>a(e.target.value||""),value:o},filteredItems:s}})({items:r,comparator:c||(()=>!0)}),k=i.useCallback(e=>{o?.(e),$()},[$,o]),A=(0,n.FD)(n.FK,{children:[(0,n.Y)(_,{}),(0,n.Y)(S,{})]});return(0,n.Y)(f.Provider,{value:{value:{popoverCtx:w,searchInputCtx:C,selectedOption:r.find(e=>e.value===t)||null,noResultsMessage:l,focusedItemRef:x,value:t,renderOption:a||b,buttonRenderOption:a||v,placeholder:d,searchPlaceholder:u,comparator:c,select:k,onTriggerClick:$,elementId:p,portal:h}},...y,children:i.Children.count(m)?m:A})}),w=i.memo(i.forwardRef((e,t)=>{let{option:r,renderOption:o,isSelected:s,index:c,handleSelect:d,isFocused:u,elementId:p}=e;return(0,n.Y)(a.so,{ref:t,sx:{userSelect:"none",cursor:"pointer"},onClick:()=>{d(r)},children:i.cloneElement(o(r,c,s),{elementDescriptor:l.$z.selectOption,elementId:l.$z.selectOption.setId(p),"data-selected":s,"data-focused":u})})})),$=e=>{let{sx:t,...r}=e;i.useEffect(()=>()=>e.onChange({target:{value:""}}),[]);let{elementId:o}=g();return(0,n.Y)(a.so,{sx:e=>({padding:e.space.$0x5}),children:(0,n.Y)(a.pd,{elementDescriptor:l.$z.selectSearchInput,elementId:l.$z.selectSearchInput.setId(o),focusRing:!1,variant:"unstyled",sx:[e=>({borderRadius:e.radii.$md,backgroundColor:e.colors.$neutralAlpha100,padding:e.space.$2}),t],...r})})},x=e=>{let{sx:t,...r}=e;return(0,n.Y)(a.EY,{as:"div",sx:[e=>({width:"100%",padding:`${e.space.$1} ${e.space.$2} ${e.space.$2} ${e.space.$2}`}),t],...r})},_=e=>{let{containerSx:t,sx:r,...o}=e,{popoverCtx:s,searchInputCtx:c,value:d,renderOption:m,searchPlaceholder:f,comparator:b,focusedItemRef:v,noResultsMessage:y,select:_,onTriggerClick:S,elementId:C,portal:k}=g(),{filteredItems:A,searchInputProps:I}=c,[z,P]=(0,i.useState)(0),{isOpen:D,floating:Y,styles:R,nodeId:T,context:F}=s,E=i.useRef(null);return i.useEffect(()=>{D?v.current?.scrollIntoView?.({block:"nearest"}):P(-1)},[z,D]),i.useEffect(()=>P(0),[A.length]),i.useEffect(()=>{if(b||E?.current?.focus(),D){P(A.findIndex(e=>e.value===d)),v.current?.scrollIntoView?.({block:"nearest"});return}},[D]),(0,n.Y)(h.A,{nodeId:T,context:F,isOpen:D,portal:k||!1,order:["content"],children:(0,n.FD)(a.so,{elementDescriptor:l.$z.selectOptionsContainer,elementId:l.$z.selectOptionsContainer.setId(C),ref:Y,onKeyDown:e=>"ArrowUp"===e.key?(e.preventDefault(),D)?P((e=0)=>0===e?A.length-1:e-1):S():"ArrowDown"===e.key?(e.preventDefault(),D)?P((e=0)=>e===A.length-1?0:e+1):S():"Enter"===e.key&&z>=0?(e.preventDefault(),_(A[z])):void 0,direction:"col",justify:"start",sx:[e=>({backgroundColor:p.T.makeSolid(e.colors.$colorBackground),borderRadius:e.radii.$lg,overflow:"hidden",animation:`${u.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",boxShadow:e.shadows.$menuShadow,zIndex:e.zIndices.$dropdown}),r],style:{...R,left:R.left-1},children:[b&&(0,n.Y)($,{placeholder:f,...I}),(0,n.FD)(a.so,{ref:E,direction:"col",tabIndex:b?void 0:0,sx:[e=>({gap:e.space.$0x5,outline:"none",overflowY:"auto",maxHeight:"18vh",padding:`${e.space.$0x5} ${e.space.$0x5}`}),t],...o,children:[A.map((e,t)=>{let r=t===z,o=d===e.value;return(0,n.Y)(w,{index:t,ref:r?v:void 0,option:e,renderOption:m,isSelected:o,isFocused:r,handleSelect:_,elementId:C},e.value)}),y&&0===A.length&&(0,n.Y)(x,{children:y})]})]})})},S=e=>{let{sx:t,children:r,icon:o,iconSx:i,...s}=e,{popoverCtx:d,onTriggerClick:u,buttonRenderOption:p,selectedOption:m,placeholder:h,elementId:f}=g(),{reference:b}=d,v=r;return r||(v=m?p(m):(0,n.Y)(a.EY,{as:"span",sx:e=>({opacity:e.opacity.$inactive}),children:h})),(0,n.FD)(a.$n,{elementDescriptor:l.$z.selectButton,elementId:l.$z.selectButton.setId(f),ref:b,variant:"outline",textVariant:"buttonLarge",onClick:u,sx:[e=>({gap:e.space.$2,paddingLeft:e.space.$3x5,paddingRight:e.space.$3x5,alignItems:"center","> *":{pointerEvents:"none"}}),t],...s,children:[v,(0,n.Y)(a.In,{elementDescriptor:l.$z.selectButtonIcon,elementId:l.$z.selectButtonIcon.setId(f),size:"md",icon:o||c.A,sx:i})]})}},5715:function(e,t,r){r.d(t,{V:()=>v});var n=r(4518),o=r(1652),i=r(9361),a=r(5074),l=r(2660),s=r(6580),c=r(8272),d=r(8920),u=r(2861),p=r(2216),m=r(2229),h=r(7591),f=r(6735),g=r(8975),b=r(3269);let v=a.memo(e=>{let{oauthCallback:t,web3Callback:r,alternativePhoneCodeCallback:a,enableOAuthProviders:g=!0,enableWeb3Providers:v=!0,enableAlternativePhoneCodeProviders:$=!0,idleAfterDelay:x=!0,showLastAuthenticationStrategy:_=!1}=e,{web3Strategies:S,authenticatableOauthStrategies:C,strategyToDisplayData:k,alternativePhoneCodeChannels:A}=(0,p.k)(),I=(0,m.F)(),z=(0,b.f0)(),P=(0,i.ho)(),{socialButtonsVariant:D}=(0,s.K)().parsedOptions,Y=[...g?C:[],...v?S:[],...$?A:[]];if(!Y.length)return null;let R=_?P.client?.lastAuthenticationStrategy:null,T=R?.startsWith("saml_")?R.replace("saml_","oauth_"):R,F=T&&Y.includes(T)?T:null,{strategyRows:E,lastAuthenticationStrategyPresent:L}=function e(t,r,n){if(n&&t.includes(n)){let o=t.filter(e=>e!==n);return 0===o.length?{strategyRows:[[n]],lastAuthenticationStrategyPresent:!0}:{strategyRows:[[n],...e(o,r,null).strategyRows],lastAuthenticationStrategyPresent:!0}}if(t.length<=r)return{strategyRows:[t],lastAuthenticationStrategyPresent:!1};let o=Math.ceil(t.length/r),i=Math.ceil(t.length/o),a=Array.from({length:o},()=>[]),l=0;for(let e of t)a[l].push(e),a[l].length===i&&l++;return{strategyRows:a,lastAuthenticationStrategyPresent:!1}}([...Y],5,F),B=E.at(+!!L)?.length??0,M=L?Y.length-1:Y.length,O=!L&&2===Y.length,j="blockButton"===D||"iconButton"!==D&&Y.length<=2,U=async e=>{z.setLoading(e);try{e.startsWith("web3_")?await r(e):await t(e)}catch{await (0,f.y)(1e3),z.setIdle()}x&&(await (0,f.y)(5e3),z.setIdle())},W=j?w:y;return(0,n.Y)(c.so,{direction:"col",gap:2,elementDescriptor:d.$z.socialButtonsRoot,children:E.map((e,t)=>(0,n.Y)(c.xA,{elementDescriptor:d.$z.socialButtons,gap:2,sx:r=>({justifyContent:"center",[h.g.sm]:{gridTemplateColumns:O?"repeat(1, minmax(0, 1fr))":void 0},gridTemplateColumns:Y.length<1?"repeat(1, minmax(0, 1fr))":`repeat(${e.length}, ${0===t?"minmax(0, 1fr)":`minmax(0, calc((100% - (${B} - 1) * ${r.sizes.$2}) / ${B}))`})`}),children:e.map(t=>{let r=1===M||t===F&&1===e.length,i=r?`Continue with ${k[t].name}`:k[t].name,s=r?(0,u.G)("socialButtonsBlockButton",{provider:k[t].name}):(0,u.G)("socialButtonsBlockButtonManyInView",{provider:k[t].name}),p=k[t].iconUrl?(0,n.Y)(c._V,{elementDescriptor:[d.$z.providerIcon,d.$z.socialButtonsProviderIcon],elementId:d.$z.socialButtonsProviderIcon.setId(k[t].id),isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,src:k[t].iconUrl,alt:`Sign in with ${k[t].name}`,sx:e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"})}):(0,n.Y)(l.T,{id:k[t].id,value:k[t].name,isLoading:z.loadingMetadata===t,isDisabled:z.isLoading});return(0,n.Y)(W,{id:k[t].id,onClick:async()=>{(0,o.y)(t)?a(t):await U(t)},isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,label:i,textLocalizationKey:s,icon:p,lastAuthenticationStrategy:t===F&&I>1},t)})},e.join("-")))})}),y=(0,a.forwardRef)((e,t)=>{let{icon:r,label:o,id:i,textLocalizationKey:a,lastAuthenticationStrategy:l,...s}=e;return l?(0,n.Y)(w,{...e,ref:t}):(0,n.Y)(c.$n,{ref:t,elementDescriptor:d.$z.socialButtonsIconButton,elementId:d.$z.socialButtonsIconButton.setId(i),textVariant:"buttonLarge",variant:"outline",colorScheme:"neutral",hoverAsFocus:!0,sx:e=>({minHeight:e.sizes.$8,width:"100%"}),...s,children:r})}),w=(0,a.forwardRef)((e,t)=>{let{id:r,icon:o,isLoading:i,label:l,textLocalizationKey:s,lastAuthenticationStrategy:u,...p}=e,m=(0,a.isValidElement)(o);return(0,n.FD)(c.dF,{elementDescriptor:d.$z.socialButtonsBlockButton,elementId:d.$z.socialButtonsBlockButton.setId(r),variant:"outline",block:!0,isLoading:i,hoverAsFocus:!0,ref:t,...p,sx:t=>[{gap:t.space.$4,position:"relative",justifyContent:"flex-start"},e.sx],children:[u&&(0,n.Y)(g.j,{overlay:!0}),(0,n.FD)(c.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[(i||o)&&(0,n.Y)(c.so,{as:"span",center:!0,sx:e=>({flex:`0 0 ${e.space.$4}`}),children:i?(0,n.Y)(c.y$,{size:"sm",elementDescriptor:d.$z.spinner}):!m&&o?(0,n.Y)(c.In,{icon:o,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$4,position:"absolute"})]}):o}),(0,n.Y)(c.EY,{elementDescriptor:d.$z.socialButtonsBlockButtonText,elementId:d.$z.socialButtonsBlockButtonText.setId(r),as:"span",truncate:!0,variant:"buttonLarge",localizationKey:s,children:l})]})]})})},6370:function(e,t,r){r.d(t,{B:()=>d});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(1550),l=r(2861),s=r(1475),c=r(6153);let d=e=>{let{text:t,title:r,finishLabel:d,onFinish:u,contents:p,...m}=e,{navigateToFlowStart:h}=(0,a.C)();return(0,n.FD)(o.fv,{...m,gap:4,children:[(0,n.Y)(c.Y.Root,{children:(0,n.Y)(c.Y.Title,{localizationKey:r,textVariant:"subtitle"})}),(0,n.Y)(o.fv,{gap:4,children:Array.isArray(t)?t.map(e=>(0,n.Y)(o.EY,{localizationKey:e,colorScheme:"secondary",sx:e=>({display:"inline",":not(:last-of-type)":{marginRight:e.sizes.$1}})},e.key)):(0,n.Y)(o.EY,{localizationKey:t,colorScheme:"secondary"})}),p,(0,n.Y)(s.c,{children:(0,n.Y)(o.$n,{autoFocus:!0,localizationKey:d||(0,l.G)("userProfile.formButtonPrimary__finish"),elementDescriptor:i.$z.formButtonPrimary,onClick:u||h})})]})}},8511:function(e,t,r){r.d(t,{d:()=>s});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(1464);let s=(0,o.forwardRef)(({isChecked:e,defaultChecked:t,onChange:r,isDisabled:s=!1,label:c},d)=>{let[u,p]=(0,o.useState)(!!t),m=void 0!==e,h=m?e:u;return(0,n.FD)(i.so,{ref:d,elementDescriptor:a.$z.switchRoot,direction:"row",align:"center",as:"label",sx:e=>({isolation:"isolate",width:"fit-content","&:has(input:focus-visible) > input + span":{...l.s.focusRingStyles(e)}}),children:[(0,n.Y)("input",{type:"checkbox",role:"switch",disabled:s,defaultChecked:t,checked:h,onChange:e=>{s||(m||p(e.target.checked),r?.(e.target.checked))},style:{...l.s.visuallyHidden()}}),(0,n.Y)(i.so,{elementDescriptor:a.$z.switchIndicator,as:"span","data-checked":h,sx:e=>({width:e.sizes.$6,height:e.sizes.$4,alignItems:"center",position:"relative",backgroundColor:h?e.colors.$primary500:e.colors.$neutralAlpha150,borderRadius:999,transition:"background-color 0.2s",opacity:s?.6:1,cursor:s?"not-allowed":"pointer",outline:"none",boxSizing:"border-box",boxShadow:"0px 0px 0px 1px rgba(0, 0, 0, 0.06) inset"}),children:(0,n.Y)(i.so,{as:"span",elementDescriptor:a.$z.switchThumb,sx:e=>({position:"absolute",left:e.sizes.$0x5,width:e.sizes.$3,height:e.sizes.$3,borderRadius:"50%",backgroundColor:e.colors.$colorBackground,boxShadow:e.shadows.$switchControl,transform:`translateX(${h?e.sizes.$2:0})`,transition:"transform 0.2s",zIndex:1})})}),(0,n.Y)(i.EY,{as:"span",variant:"caption",colorScheme:"secondary",localizationKey:c,sx:e=>({paddingInlineStart:e.sizes.$2,cursor:s?"not-allowed":"pointer",userSelect:"none"})})]})});s.displayName="Switch"},5073:function(e,t,r){r.d(t,{T2:()=>g,Kp:()=>b,j7:()=>h,oz:()=>f,tU:()=>m});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(78);function c(e){return i.Children.toArray(e).filter(e=>i.isValidElement(e))}let[d,u]=(0,o.e3)("TabsContext"),p=e=>{let t=i.useMemo(()=>({value:e.value}),[e.value.selectedIndex,e.value.setFocusedIndex]);return(0,n.Y)(d.Provider,{value:t,children:e.children})},m=e=>{let{value:t,onChange:r,defaultIndex:o=0,children:a}=e,[l,s]=i.useState(o),[c,d]=i.useState(-1),u=i.useCallback(e=>{r?r(e):s(e)},[r]);return(0,n.Y)(p,{value:{selectedIndex:void 0!==t?t:l,setSelectedIndex:u,focusedIndex:c,setFocusedIndex:d},children:a})},h=e=>{let{children:t,sx:r,...o}=e,{setSelectedIndex:s,selectedIndex:d,setFocusedIndex:p}=u(),m=0,h=c(t).map(e=>{let t=i.cloneElement(e,{tabIndex:e.type===f?m:void 0});return m++,t});return(0,n.Y)(a.so,{elementDescriptor:l.$z.tabListContainer,onKeyDown:e=>{let t=h.filter(e=>!e.props?.isDisabled&&e.type===f).map(e=>e.props.tabIndex),r=t.length,n=t.indexOf(d);if("ArrowLeft"===e.key){let e=0===n?t[r-1]:t[n-1];return p(e),s(e)}if("ArrowRight"===e.key){let e=r-1===n?t[0]:t[n+1];return p(e),s(e)}},role:"tablist",sx:[e=>({borderBottomStyle:e.borderStyles.$solid,borderBottomWidth:e.borderWidths.$normal,borderColor:e.colors.$borderAlpha100}),r],...o,children:h})},f=e=>{let{t}=(0,s._)(),{children:r,sx:o,tabIndex:c,isDisabled:d,localizationKey:p,...m}=e;if(void 0===c)throw Error("Tab component must be a direct child of TabList.");let{setSelectedIndex:h,selectedIndex:f,focusedIndex:g,setFocusedIndex:b}=u(),v=i.useRef(null),y=c===f,w=c===g;return i.useEffect(()=>{d&&0===c&&h(c+1)},[]),i.useEffect(()=>{v.current&&w&&v.current.focus()},[w]),(0,n.FD)(a.$n,{elementDescriptor:l.$z.tabButton,onClick:()=>{h(c),b(-1)},isDisabled:d,tabIndex:y?0:-1,variant:"ghost","aria-selected":y,id:`cl-tab-${c}`,"aria-controls":`cl-tabpanel-${c}`,role:"tab",ref:v,sx:[e=>({background:e.colors.$transparent,color:y?e.colors.$primary500:e.colors.$neutralAlpha700,gap:e.space.$1x5,fontWeight:e.fontWeights.$medium,borderBottomWidth:y?e.borderWidths.$normal:0,borderBottomStyle:e.borderStyles.$solid,borderBottomColor:e.colors.$primary500,marginBottom:y?"-1px":0,borderRadius:0,padding:`${e.space.$2x5} ${e.space.$0x25}`,width:"fit-content","&:hover, :focus":{backgroundColor:e.colors.$transparent,boxShadow:"none"}}),o],...m,children:[t(p),r]})},g=e=>{let{children:t}=e,r=c(t).map((e,t)=>i.cloneElement(e,{tabIndex:t}));return(0,n.Y)(n.FK,{children:r})},b=e=>{let{tabIndex:t,sx:r,children:o,...i}=e;if(void 0===t)throw Error("TabPanel component must be a direct child of TabPanels.");let{selectedIndex:s}=u();return t!==s?null:(0,n.Y)(a.so,{elementDescriptor:l.$z.tabPanel,id:`cl-tabpanel-${t}`,role:"tabpanel",tabIndex:0,"aria-labelledby":`cl-tab-${t}`,sx:[{outline:0},r],...i,children:o})}},6212:function(e,t,r){r.d(t,{F:()=>u});var n=r(4518),o=r(5074),i=r(78),a=r(8272),l=r(8920),s=r(9679),c=r(1464);let d=e=>e.trim(),u=e=>{let{t}=(0,i._)(),{sx:r,placeholder:s,validate:u=()=>!0,value:m,onChange:h,autoFocus:f,validateUnsubmittedEmail:g=()=>null,...b}=e,v=m.split(",").map(d).filter(Boolean),y=new Set(v),w=o.useRef(!0),$=o.useRef(null),[x,_]=o.useState(""),S=e=>{h({target:{value:e.join(",")}}),k(),g("")},C=e=>{let t=(Array.isArray(e)?[...e]:[e]).map(d).filter(Boolean).filter(u).filter(e=>!y.has(e));t.length&&(S([...v,...t]),_(""),k())},k=()=>{$.current?.focus()};return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagInputContainer,align:"start",gap:2,wrap:"wrap",onClick:k,onFocus:k,sx:[e=>({maxWidth:"100%",padding:`${e.space.$1x5} ${e.space.$2}`,backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,minHeight:e.sizes.$20,maxHeight:e.sizes.$60,overflowY:"auto",cursor:"text",justifyItems:"center",...c.s.borderVariants(e,{hoverStyles:!0}).normal}),r],...b,children:[v.map(e=>(0,n.Y)(p,{onRemoveClick:()=>{S(v.filter(t=>t!==e))},children:e},e)),(0,n.Y)(a.pd,{ref:$,value:x,type:"email","data-testid":"tag-input",placeholder:v.length?void 0:t(s),onKeyDown:e=>{let{key:t}=e;(","===t||" "===t||"Enter"===t)&&x.length?(e.preventDefault(),C(x)):"Backspace"===t&&!x.length&&v.length&&w.current&&(e.preventDefault(),S(v.slice(0,-1))),w.current=!1},onKeyUp:()=>{w.current=!0},onChange:e=>{_(e.target.value),g(e.target.value)},onPaste:e=>{e.preventDefault(),C((e.clipboardData.getData("text")||"").split(/,| |\n|\t/).filter(Boolean).map(e=>e.trim()))},onBlur:e=>{e.preventDefault(),C(x)},focusRing:!1,autoFocus:f,variant:"unstyled",sx:e=>({flexGrow:1,borderWidth:0,width:"initial",padding:0,lineHeight:e.space.$5,paddingLeft:e.space.$1,"::placeholder":{color:e.colors.$colorMutedForeground},boxShadow:"none",":hover":{boxShadow:"none"}})})]})},p=e=>{let{onRemoveClick:t,children:r,...o}=e;return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagPillContainer,onClick:t,gap:1,center:!0,...o,sx:e=>({padding:`${e.space.$0x5} ${e.space.$1x5}`,borderRadius:e.radii.$sm,color:e.colors.$primary500,backgroundColor:e.colors.$neutralAlpha50,boxShadow:e.shadows.$badge,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,display:"inline-flex",marginRight:"1px",cursor:"pointer",":hover":{backgroundColor:e.colors.$neutralAlpha100},":hover svg":{color:e.colors.$danger500},overflow:"hidden"}),children:[(0,n.Y)(a.EY,{truncate:!0,variant:"buttonSmall",children:r}),(0,n.Y)(a.In,{elementDescriptor:l.$z.tagPillIcon,size:"md",icon:s.A,sx:e=>({color:e.colors.$colorMutedForeground,transform:"translateY(0px) rotate(45deg)"})})]})}},8080:function(e,t,r){r.d(t,{o:()=>u});var n,o=r(4518),i=r(8272),a=r(8920),l=r(5074);function s(){return(s=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)}let c=function(e){return l.createElement("svg",s({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),n||(n=l.createElement("g",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"},l.createElement("path",{d:"M10.01 10H10M4.01 10H4M16.01 10H16"}))))};var d=r(4365);let u=e=>{let{actions:t,elementId:r,variant:n}=e,l="bordered"===n;return(0,o.FD)(d.W1,{elementId:r,children:[(0,o.Y)(d.cQ,{arialLabel:e=>`${e?"Close":"Open"} menu`,children:(0,o.Y)(i.$n,{sx:e=>l?{width:e.sizes.$6,height:e.sizes.$6}:{padding:e.space.$0x5,boxSizing:"content-box",opacity:e.opacity.$inactive,":hover,:focus-visible":{opacity:1}},variant:l?"bordered":"ghost",colorScheme:l?"secondary":"neutral",elementDescriptor:[a.$z.menuButton,l?a.$z.menuButtonEllipsisBordered:a.$z.menuButtonEllipsis],children:(0,o.Y)(i.In,{icon:c,sx:e=>l?{width:e.sizes.$4,height:e.sizes.$4,opacity:e.opacity.$inactive}:{width:"auto",height:e.sizes.$5}})})}),(0,o.Y)(d.cO,{children:t.map((e,t)=>(0,o.Y)(d.Dr,{destructive:e.isDestructive,onClick:e.onClick,isDisabled:e.isDisabled,localizationKey:e.label},t))})]})}},1829:function(e,t,r){r.d(t,{M:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(78),l=r(8272);let s=e=>{let{t}=(0,a._)(),{onClick:r,throttleTimeInSec:s=30,startDisabled:c,children:d,localizationKey:u,showCounter:p=!0,...m}=e,[h,f]=i.useState(0),g=i.useRef(void 0);(0,o.UQ)(()=>{c&&b()},[]),(0,i.useEffect)(()=>()=>clearInterval(g.current),[]);let b=()=>{f(s),g.current=window.setInterval(()=>{f(e=>(1===e&&clearInterval(g.current),e-1))},1e3)};return(0,n.FD)(l.$n,{variant:"link",...m,textVariant:"buttonSmall",isDisabled:h>0||e.isDisabled,onClick:e=>{h||(r?.(e),b())},children:[t(u)||d,h&&p?` (${h})`:""]})}},6455:function(e,t,r){r.d(t,{m_:()=>f});var n=r(4518),o=r(2119),i=r(6836),a=r(4166),l=r(5074),s=r(9361),c=r(6580),d=r(8272),u=r(8920),p=r(359);let m=l.createContext(null),h=()=>{let e=l.useContext(m);if(null==e)throw Error("Tooltip components must be wrapped in <Tooltip />");return e},f={Root:function({children:e,...t}){let r=function({initialOpen:e=!1,placement:t="top",open:r,onOpenChange:n}={}){let[s,d]=l.useState(e),u=r??s,m=n??d,h=(0,p.j)(),{animations:f}=(0,c.K)().parsedOptions,g=(0,o.we)({placement:t,open:u,onOpenChange:m,whileElementsMounted:i.ll,middleware:[(0,a.cY)(6),(0,a.UU)({crossAxis:t.includes("-"),fallbackAxisSideDirection:"start",padding:6}),(0,a.BN)({padding:6})]}),b=g.context,v=(0,o.Mk)(b,{move:!1,enabled:null==r}),y=(0,o.iQ)(b,{enabled:null==r}),w=(0,o.s9)(b),$=(0,o.It)(b,{role:"tooltip"}),{isMounted:x,styles:_}=(0,o.DL)(b,{duration:200*!!(!h&&!0===f),initial:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"}),open:{opacity:1,transform:"translate(0)"},close:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"})}),S=(0,o.bv)([v,y,w,$]);return l.useMemo(()=>({open:u,setOpen:m,isMounted:x,...S,...g,transitionStyles:_}),[u,m,S,g,x,_])}(t);return(0,n.Y)(m.Provider,{value:r,children:e})},Trigger:l.forwardRef(function({children:e,sx:t,...r},i){let a=h(),s=e.ref,c=(0,o.SV)([a.refs.setReference,i,s]);return l.isValidElement(e)?e.props.isDisabled||e.props.disabled?(0,n.Y)(d.L9,{ref:c,...a.getReferenceProps({...r}),"data-state":a.open?"open":"closed",sx:[{width:"fit-content",display:"inline-block",cursor:"not-allowed",outline:"none"},t],tabIndex:0,children:e}):l.cloneElement(e,a.getReferenceProps({ref:c,...r,...e.props,"data-state":a.open?"open":"closed"})):null}),Content:l.forwardRef(function({style:e,text:t,sx:r,...i},a){let l=h(),c=(0,o.SV)([l.refs.setFloating,a]),p=(0,s.Sj)(),m=p?.()??void 0;return l.isMounted?(0,n.Y)(o.XF,{root:m,children:(0,n.Y)(d.az,{ref:c,elementDescriptor:u.$z.tooltip,style:{...l.floatingStyles,...e},...l.getFloatingProps(i),children:(0,n.Y)(d.az,{elementDescriptor:u.$z.tooltipContent,style:l.transitionStyles,sx:[e=>({paddingBlock:e.space.$1,paddingInline:e.space.$1x5,borderRadius:e.radii.$md,backgroundColor:e.colors.$black,color:e.colors.$white,maxWidth:e.sizes.$60}),r],children:(0,n.Y)(d.EY,{elementDescriptor:u.$z.tooltipText,localizationKey:t,variant:"body",colorScheme:"inherit"})})})}):null})}},9538:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(8095),i=r(6195);let a=e=>{let{name:t,firstName:r,lastName:a,avatarUrl:l,imageUrl:s,...c}=e,d=(0,o.dS)({name:t,firstName:r,lastName:a}),u=(0,o.IM)({name:t,firstName:r,lastName:a});return(0,n.Y)(i.e,{title:d,initials:u,imageUrl:l||s,...c})}},9345:function(e,t,r){r.d(t,{c:()=>c});var n=r(4518),o=r(8095);r(5074);var i=r(78),a=r(8272),l=r(8920),s=r(9538);let c=e=>{let{user:t,externalAccount:r,enterpriseAccount:c,size:d="md",showAvatar:u=!0,icon:p,iconSx:m,rounded:h=!0,imageUrl:f,badge:g,elementId:b,sx:v,title:y,subtitle:w,avatarSx:$,mainIdentifierSx:x,mainIdentifierVariant:_,subtitleProps:S,...C}=e,{t:k}=(0,i._)(),A=(0,o.dS)({...t})||(0,o.dS)({...r})||(0,o.dS)({...c}),I=(0,o.Cm)({...t})||r?.accountIdentifier?.()||c?.emailAddress,z=k(y),P=f||t?.imageUrl||r?.imageUrl,D=e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[d],Y=z||A||I;return(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreview,elementId:l.$z.userPreview.setId(b),align:"center",as:"span",sx:[e=>({minWidth:"0px",width:"fit-content",gap:e.space.$4,minHeight:P&&!u?D(e):void 0}),v],...C,children:[P&&u?(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewAvatarContainer,elementId:l.$z.userPreviewAvatarContainer.setId(b),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(s.H,{boxElementDescriptor:l.$z.userPreviewAvatarBox,imageElementDescriptor:l.$z.userPreviewAvatarImage,...t,...r,...c,name:A,avatarUrl:P,size:D,sx:$,rounded:h}),p&&(0,n.Y)(a.so,{elementDescriptor:l.$z.userPreviewAvatarIcon,sx:[{position:"absolute",left:0,bottom:0},m],as:"span",children:p})]}):null,(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewTextContainer,elementId:l.$z.userPreviewTextContainer.setId(b),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifier,elementId:l.$z.userPreviewMainIdentifier.setId(b),variant:_||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[d],as:"span",sx:[e=>({display:"flex",gap:e.sizes.$1,alignItems:"center"}),x],children:[Y&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifierText,elementId:l.$z.userPreviewMainIdentifierText.setId(b),as:"span",truncate:!0,sx:{fontWeight:"inherit"},children:Y}),g]}),(w||A&&I)&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewSecondaryIdentifier,elementId:l.$z.userPreviewSecondaryIdentifier.setId(b),truncate:!0,as:"span",localizationKey:w||I,colorScheme:"secondary",...S})]})]})}},7912:function(e,t,r){r.d(t,{j:()=>m});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(2861),l=r(6088),s=r(3356),c=r(3269),d=r(2454),u=r(6153),p=r(196);let m=e=>{let{showAlternativeMethods:t=!0,cardNotice:r,children:m}=e,h=(0,c.f0)(),f=(0,s.xM)({onCodeEntryFinished:(t,r,n)=>{e.onCodeEntryFinishedAction(t,r,n)},onResendCodeClicked:e.onResendCodeClicked});return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.FD)(u.Y.Root,{children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.Y)(u.Y.Subtitle,{localizationKey:e.cardSubtitle}),(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:e.onBackLinkClicked?void 0:e.onIdentityPreviewEditClicked})]}),(0,n.Y)(l.Z.Alert,{children:h.error}),m,(0,n.FD)(o.fv,{elementDescriptor:i.$z.main,gap:8,children:[(0,n.Y)(d.l.OTPInput,{...f,label:e.inputLabel,resendButton:e.resendButton}),r&&(0,n.Y)(o.Fc,{colorScheme:"warning",children:(0,n.Y)(o.EY,{colorScheme:"warning",localizationKey:r,variant:"caption"})}),(0,n.FD)(o.fv,{gap:3,children:[(0,n.Y)(o.$n,{elementDescriptor:i.$z.formButtonPrimary,block:!0,hasArrow:!0,isLoading:f.isLoading,localizationKey:(0,a.G)("formButtonPrimary"),onClick:f.onFakeContinue}),t&&e.onShowAlternativeMethodsClicked&&(0,n.Y)(l.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(l.Z.ActionLink,{localizationKey:e.alternativeMethodsLabel??(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]})]})]}),(0,n.Y)(l.Z.Footer,{})]})}},2027:function(e,t,r){r.d(t,{_:()=>h,i:()=>f});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(2861),l=r(8920),s=r(4964),c=r(6088),d=r(3269),u=r(6153),p=r(196),m=r(1829);let h=e=>{let{navigate:t}=(0,s.r)(),r=(0,d.f0)();return(0,n.Y)(o.n.Part,{part:"emailLinkVerify",children:(0,n.FD)(c.Z.Root,{children:[(0,n.FD)(c.Z.Content,{children:[(0,n.FD)(u.Y.Root,{showLogo:!0,children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.FD)(f,{formSubtitle:e.formSubtitle,resendButton:e.resendButton,onResendCodeClicked:e.onResendCodeClicked,children:[" ",(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:()=>t("../")})]})]}),(0,n.Y)(c.Z.Alert,{children:r.error}),e.cardNotice&&(0,n.Y)(i.Fc,{colorScheme:"warning",children:(0,n.Y)(i.EY,{colorScheme:"warning",localizationKey:e.cardNotice,variant:"caption"})}),(0,n.Y)(c.Z.Action,{elementId:"alternativeMethods",children:e.onShowAlternativeMethodsClicked&&(0,n.Y)(c.Z.ActionLink,{localizationKey:(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]}),(0,n.Y)(c.Z.Footer,{})]})})},f=e=>{let t=(0,d.f0)();return(0,n.FD)(i.fv,{elementDescriptor:l.$z.form,gap:1,children:[(0,n.FD)(i.fv,{elementDescriptor:l.$z.formHeader,gap:1,children:[!!e.formSubtitle&&(0,n.Y)(i.EY,{localizationKey:e.formSubtitle,elementDescriptor:l.$z.formHeaderSubtitle,colorScheme:"secondary"}),e.children]}),(0,n.Y)(m.M,{localizationKey:e.resendButton,elementDescriptor:l.$z.formResendCodeLink,onClick:e.onResendCodeClicked,startDisabled:!0,isDisabled:t.isLoading,throttleTimeInSec:60,sx:e=>({marginTop:e.space.$4,width:"100%"})})]})}},3269:function(e,t,r){r.d(t,{FlowMetadataProvider:()=>g,P4:()=>b,PB:()=>f,dm:()=>m,f0:()=>p});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(4964),s=r(78);let[c,d]=(0,o.e3)("CardState"),u=e=>{let{translateError:t}=(0,s._)(),r=(0,l.r)(),[o,i]=a.useState(()=>({status:"idle",metadata:void 0,error:t(window?.Clerk?.__internal_last_error||void 0)}));a.useEffect(()=>{let e=window?.Clerk?.__internal_last_error;e&&i(r=>({...r,error:t(e)}))},[t,i,r.currentPath]);let d=a.useMemo(()=>({value:{state:o,setState:i}}),[o,i]);return(0,n.Y)(c.Provider,{value:d,children:e.children})},p=()=>{let{state:e,setState:t}=d(),{translateError:r}=(0,s._)(),n=e=>t(t=>({...t,status:"idle",metadata:e})),o=e=>t(t=>({...t,status:"loading",metadata:e})),i=async(e,t)=>(o(t),("function"==typeof e?e():e).then(e=>e).finally(()=>n(t)));return{setIdle:n,setError:e=>t(t=>({...t,error:r(e)})),setLoading:o,runAsync:i,loadingMetadata:"loading"===e.status?e.metadata:void 0,error:e.error?e.error:void 0,isLoading:"loading"===e.status,isIdle:"idle"===e.status,state:e}},m=e=>t=>(0,n.Y)(u,{children:(0,n.Y)(e,{...t})}),[h,f]=(0,o.e3)("FlowMetadata"),g=e=>{let{flow:t,part:r}=e,o=a.useMemo(()=>({value:e}),[t,r]);return(0,n.Y)(h.Provider,{value:o,children:e.children})},b=e=>t=>null==(0,i.R1)()?(0,n.Y)(i.P6,{children:(0,n.Y)(e,{...t})}):(0,n.Y)(e,{...t})},1778:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(5074),i=r(6580);let a=e=>(0,o.forwardRef)((t,r)=>{let{parsedOptions:o}=(0,i.K)();return(0,n.Y)(e,{...t,ref:r,sx:[o.shimmer?{":hover":{"--cl-shimmer-hover-transform":"skew(-45deg) translateX(600%)","--cl-shimmer-hover-after-transform":"skewX(45deg) translateX(-150%)"}}:{},t.sx]})})},4091:function(e,t,r){r.d(t,{KP:()=>o,Rx:()=>i,_8:()=>a,wz:()=>n});let n=Object.freeze({slowest:600,slower:280,slow:200,fast:120,focusRing:200,controls:100,textField:450,drawer:500}),o=Object.freeze(Object.fromEntries(Object.entries(n).map(([e,t])=>[e,`${t}ms`]))),i=Object.freeze({common:"background-color,background,border-color,color,fill,stroke,opacity,box-shadow,transform"}),a=Object.freeze({common:"ease",easeOut:"ease-out",bezier:"cubic-bezier(0.32, 0.72, 0, 1)",slowBezier:"cubic-bezier(0.16, 1, 0.3, 1)"})},3474:function(e,t,r){r.d(t,{y:()=>l});var n=r(2620),o=r(5763),i=r(8289),a=r(2216);function l({filterOutFactor:e,supportedFirstFactors:t}){let{strategies:r}=(0,a.k)(),l=t||[],s=l.filter(t=>t.strategy!==e?.strategy&&!(0,o.Kw)(t.strategy)).length+r.length>0,c=l.filter(t=>!t.strategy.startsWith("oauth_")&&t.strategy!==e?.strategy).filter(e=>(0,o.Cm)(e)).filter(e=>"passkey"!==e.strategy||(0,n.Bz)()).sort(i.aR);return{hasAnyStrategy:s,hasFirstParty:!!c,firstPartyFactors:c}}},7782:function(e,t,r){r.d(t,{i:()=>a});var n=r(5606),o=r.n(n),i=r(5074);function a(e,t={}){let[r,n]=(0,i.useState)(!1),{timeout:l=1500,...s}="number"==typeof t?{timeout:t}:t,c=(0,i.useCallback)(()=>{n(o()(e,s))},[e,s]);return(0,i.useEffect)(()=>{let e=null;return r&&(e=window.setTimeout(()=>{n(!1)},l)),()=>{e&&window.clearTimeout(e)}},[l,r]),{value:e,onCopy:c,hasCopied:r}}},4317:function(e,t,r){r.d(t,{d:()=>o});var n=r(5074);function o(e,t){let[r,o]=(0,n.useState)(e),[i,a]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>(i&&(clearTimeout(i),a(void 0)),a(setTimeout(()=>{o(e),a(void 0)},t||500)),()=>{i&&(clearTimeout(i),a(void 0))}),[JSON.stringify(e),t]),r}},180:function(e,t,r){r.d(t,{Q:()=>a});var n=r(5074),o=r(7697),i=r(6580);function a(){let{displayConfig:e,isDevelopmentOrStaging:t}=(0,o.O)(),r=t(),{unsafe_disableDevelopmentModeWarnings:a=!1}=(0,i.K)().parsedOptions,l=r&&a;return{showDevModeNotice:(0,n.useMemo)(()=>!l&&e.showDevModeWarning,[l,e])}}},2992:function(e,t,r){r.d(t,{u:()=>o});var n=r(5074);function o(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:r}=n.useMemo(()=>e.createEmailLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:r}}},2216:function(e,t,r){r.d(t,{k:()=>h});var n=r(1652),o=r(6435);let i=[{provider:"google",strategy:"oauth_google",name:"Google",docsUrl:"https://clerk.com/docs/authentication/social-connections/google"},{provider:"discord",strategy:"oauth_discord",name:"Discord",docsUrl:"https://clerk.com/docs/authentication/social-connections/discord"},{provider:"facebook",strategy:"oauth_facebook",name:"Facebook",docsUrl:"https://clerk.com/docs/authentication/social-connections/facebook"},{provider:"twitch",strategy:"oauth_twitch",name:"Twitch",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitch"},{provider:"twitter",strategy:"oauth_twitter",name:"Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitter"},{provider:"microsoft",strategy:"oauth_microsoft",name:"Microsoft",docsUrl:"https://clerk.com/docs/authentication/social-connections/microsoft"},{provider:"tiktok",strategy:"oauth_tiktok",name:"TikTok",docsUrl:"https://clerk.com/docs/authentication/social-connections/tiktok"},{provider:"linkedin",strategy:"oauth_linkedin",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin"},{provider:"linkedin_oidc",strategy:"oauth_linkedin_oidc",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin-oidc"},{provider:"github",strategy:"oauth_github",name:"GitHub",docsUrl:"https://clerk.com/docs/authentication/social-connections/github"},{provider:"gitlab",strategy:"oauth_gitlab",name:"GitLab",docsUrl:"https://clerk.com/docs/authentication/social-connections/gitlab"},{provider:"dropbox",strategy:"oauth_dropbox",name:"Dropbox",docsUrl:"https://clerk.com/docs/authentication/social-connections/dropbox"},{provider:"atlassian",strategy:"oauth_atlassian",name:"Atlassian",docsUrl:"https://clerk.com/docs/authentication/social-connections/atlassian"},{provider:"bitbucket",strategy:"oauth_bitbucket",name:"Bitbucket",docsUrl:"https://clerk.com/docs/authentication/social-connections/bitbucket"},{provider:"hubspot",strategy:"oauth_hubspot",name:"HubSpot",docsUrl:"https://clerk.com/docs/authentication/social-connections/hubspot"},{provider:"notion",strategy:"oauth_notion",name:"Notion",docsUrl:"https://clerk.com/docs/authentication/social-connections/notion"},{provider:"apple",strategy:"oauth_apple",name:"Apple",docsUrl:"https://clerk.com/docs/authentication/social-connections/apple"},{provider:"line",strategy:"oauth_line",name:"LINE",docsUrl:"https://clerk.com/docs/authentication/social-connections/line"},{provider:"instagram",strategy:"oauth_instagram",name:"Instagram",docsUrl:"https://clerk.com/docs/authentication/social-connections/instagram"},{provider:"coinbase",strategy:"oauth_coinbase",name:"Coinbase",docsUrl:"https://clerk.com/docs/authentication/social-connections/coinbase"},{provider:"spotify",strategy:"oauth_spotify",name:"Spotify",docsUrl:"https://clerk.com/docs/authentication/social-connections/spotify"},{provider:"xero",strategy:"oauth_xero",name:"Xero",docsUrl:"https://clerk.com/docs/authentication/social-connections/xero"},{provider:"box",strategy:"oauth_box",name:"Box",docsUrl:"https://clerk.com/docs/authentication/social-connections/box"},{provider:"slack",strategy:"oauth_slack",name:"Slack",docsUrl:"https://clerk.com/docs/authentication/social-connections/slack"},{provider:"linear",strategy:"oauth_linear",name:"Linear",docsUrl:"https://clerk.com/docs/authentication/social-connections/linear"},{provider:"x",strategy:"oauth_x",name:"X / Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/x-twitter-v2"},{provider:"enstall",strategy:"oauth_enstall",name:"Enstall",docsUrl:"https://clerk.com/docs/authentication/social-connections/enstall"},{provider:"huggingface",strategy:"oauth_huggingface",name:"Hugging Face",docsUrl:"https://clerk.com/docs/authentication/social-connections/huggingface"},{provider:"vercel",strategy:"oauth_vercel",name:"Vercel",docsUrl:"https://clerk.com/docs/authentication/social-connections/vercel"}],a=[{provider:"metamask",strategy:"web3_metamask_signature",name:"MetaMask"},{provider:"base",strategy:"web3_base_signature",name:"Base"},{provider:"coinbase_wallet",strategy:"web3_coinbase_wallet_signature",name:"Coinbase Wallet"},{provider:"okx_wallet",strategy:"web3_okx_wallet_signature",name:"OKX Wallet"}];var l=r(7697),s=r(1020);let c=i.map(e=>e.strategy),d=a.map(e=>e.strategy),u=n.c.map(e=>e.channel),p=(0,s.P)([...[...i,...a].map(e=>[e.provider,{strategy:e.strategy,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{strategy:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),m=(0,s.P)([...[...i,...a].map(e=>[e.strategy,{id:e.provider,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{id:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),h=()=>{let{socialProviderStrategies:e,web3FirstFactors:t,authenticatableSocialStrategies:r,social:n,alternativePhoneCodeChannels:o}=(0,l.O)().userSettings,i=e.filter(e=>c.includes(e)),a=e.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),s=r.filter(e=>c.includes(e)),h=r.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),f=Object.keys(n).filter(e=>e.startsWith("oauth_custom_")),g=e.filter(e=>!c.includes(e)||e.startsWith("oauth_custom_"));f.forEach(e=>{p[e.replace("oauth_","")]={strategy:e,name:n[e].name,iconUrl:n[e].logo_url||""}}),g.forEach(e=>{let t=e.replace("oauth_","");m[e]={id:t,iconUrl:n[e].logo_url||"",name:n[e].name}});let b=[...s,...h];b.sort((e,t)=>{let r=e.replace(/^oauth_custom_|^oauth_/,""),n=t.replace(/^oauth_custom_|^oauth_/,"");return r.localeCompare(n)});let v=t.filter(e=>d.includes(e)),y=o.filter(e=>u.includes(e));return{strategies:[...i,...v,...a,...y],web3Strategies:v,alternativePhoneCodeChannels:y,authenticatableOauthStrategies:b,strategyToDisplayData:m,providerToDisplayData:p}}},8586:function(e,t,r){r.d(t,{q:()=>o});var n=r(5074);function o(e){let{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}=n.useMemo(()=>e.createEnterpriseSSOLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}}},7896:function(e,t,r){r.d(t,{s:()=>s});var n=r(5074);let o=new Map,i=new Set,a=e=>"string"==typeof e?e:JSON.stringify(e),l=(e,t=a)=>{let r=t(e),l=(0,n.useCallback)(()=>o.get(r),[r]),s=(0,n.useCallback)(e=>{o.set(r,"function"==typeof e?e(l()):e),i.forEach(e=>e())},[r]),c=(0,n.useCallback)(()=>{s({isLoading:!1,isValidating:!1,data:null,error:null,cachedAt:void 0})},[s]);return{getCache:l,setCache:s,subscribeCache:(0,n.useCallback)(e=>(i.add(e),()=>i.delete(e)),[]),clearCache:c}},s=(e,t,r,o)=>{let i={resourceId:o,params:t},{subscribeCache:s,getCache:c,setCache:d,clearCache:u}=l(i),{subscribeCache:p,getCache:m,setCache:h}=l({...i,rv:!0}),f=r?.staleTime??12e4,g=r?.throttleTime||0,b=(0,n.useRef)(e);if(g<0)throw Error("ClerkJS: A negative value for `throttleTime` is not allowed ");let v=(0,n.useSyncExternalStore)(s,c),y=(0,n.useSyncExternalStore)(p,m),w=(0,n.useCallback)(()=>{d(e=>({...e,cachedAt:0})),h(e=>({isLoading:!1,isValidating:!1,error:null,data:(e?.data||0)+1}))},[d,h]);return(0,n.useEffect)(()=>{b.current=e;let n=!b.current,o=void 0===c()?.cachedAt||Date.now()-(c()?.cachedAt||0)>=f,i=c()?.isValidating??!1;if(n||!o||i)return;let a=performance.now();d({data:c()?.data??null,isLoading:!c()?.data,isValidating:!0,error:null}),b.current(t).then(e=>{if(void 0!==e){let t=Array.isArray(e)?e:"object"==typeof e?{...e}:e;setTimeout(()=>{d({data:t,isLoading:!1,isValidating:!1,error:null,cachedAt:Date.now()}),r?.onSuccess?.(t)},g-(performance.now()-a))}}).catch(e=>{d({data:c()?.data??null,isLoading:!1,isValidating:!1,error:e,cachedAt:Date.now()}),e&&r?.onError?.(e)})},[a(t),d,c,y]),{...v,setCache:d,invalidate:u,revalidate:w}}},3486:function(e,t,r){r.d(t,{l:()=>u,x:()=>d});var n=r(9361),o=r(7477),i=r(78),a=r(2861);let l={basic_member:(0,a.G)("membershipRole__basicMember"),guest_member:(0,a.G)("membershipRole__guestMember"),admin:(0,a.G)("membershipRole__admin")};var s=r(7896);let c={pageSize:20},d=(e=!0)=>{let{organization:t}=(0,n.Z5)(),r=(0,o.Fd)({permission:"org:sys_memberships:manage"}),i=(0,o.Fd)({permission:"org:sys_memberships:read"}),a=e&&!!t?.id&&(r||i),{data:l,isLoading:d}=(0,s.s)(a?({pageSize:e,initialPage:r})=>t.getRoles({pageSize:e,initialPage:r}):void 0,{...c,orgId:t?.id});return{isLoading:d,options:l?.data?.map(e=>({value:e.key,label:e.name}))}},u=()=>{let{t:e}=(0,i._)();return{localizeCustomRole:t=>e((e=>{if(e)return(0,a.G)(`roles.${e}`)})(t))||e((e=>{if(e)return l[e]})(t))}}},2364:function(e,t,r){r.d(t,{W:()=>o});var n=r(5074);let o=e=>{let[t,r]=(0,n.useState)(!1),o=(0,n.useRef)(null),i=Array.isArray(e.threshold)?e.threshold:[e.threshold||0],a=(0,n.useRef)();return a.current=e.onChange,{inView:t,ref:(0,n.useCallback)(t=>{if(!t){o.current&&o.current.disconnect();return}o.current=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.isIntersecting&&i.some(t=>e.intersectionRatio>=t);r(t),a.current&&a.current(t,e)})},{root:e.root,rootMargin:e.rootMargin,threshold:i}),o.current.observe(t)},[])}}},4901:function(e,t,r){r.d(t,{m:()=>o});var n=r(5074);let o=e=>{let[t,r]=function(e){let[t,r]=n.useState(e),o=n.useRef(!0);return n.useEffect(()=>()=>{o.current=!1},[]),[t,n.useCallback(e=>{o.current&&r(e)},[])]}({status:"idle",metadata:void 0,...e});return{status:t.status,setIdle:e=>r({status:"idle",metadata:e}),setError:e=>r({status:"error",metadata:e}),setLoading:e=>r({status:"loading",metadata:e}),loadingMetadata:"loading"===t.status?t.metadata:void 0,isLoading:"loading"===t.status,isIdle:"idle"===t.status}}},8691:function(e,t,r){r.d(t,{z:()=>o});var n=r(9361);let o=e=>{let t=(0,n.ho)().client.signedInSessions;return{signedInSessions:t,otherSessions:t.filter(t=>t.user?.id!==e.user?.id)}}},1550:function(e,t,r){r.d(t,{C:()=>o});var n=r(4964);let o=()=>{let e=(0,n.r)();return{navigateToFlowStart:async()=>{let t=e.indexPath;return t!==e.currentPath?e.navigate(t):e.urlStateParam?.path?e.navigate("/"+e.basePath+e.urlStateParam?.startPath):void 0}}}},2227:function(e,t,r){r.d(t,{f:()=>a});var n=r(9361),o=r(3689),i=r(2364);let a=()=>{let{userMemberships:e,userInvitations:t,userSuggestions:r}=(0,n.D_)(o.mu),{ref:a}=(0,i.W)({threshold:0,onChange:n=>{n&&(e.hasNextPage?e.fetchNext?.():t.hasNextPage?t.fetchNext?.():r.fetchNext?.())}});return{userMemberships:e,userInvitations:t,userSuggestions:r,ref:a}}},8282:function(e,t,r){r.d(t,{T:()=>d,Z:()=>u});var n=r(8693),o=r(5074),i=r(5243),a=r(78),l=r(2861),s=r(3990);let c={max_length:["unstable__errors.passwordComplexity.maximumLength","length"],min_length:["unstable__errors.passwordComplexity.minimumLength","length"],require_numbers:"unstable__errors.passwordComplexity.requireNumbers",require_lowercase:"unstable__errors.passwordComplexity.requireLowercase",require_uppercase:"unstable__errors.passwordComplexity.requireUppercase",require_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"},d=(e,t)=>{let{t:r,locale:d}=(0,a._)(),u=(0,i.R)(),{onValidationError:p=n.t,onValidationSuccess:m=n.t,onValidationWarning:h=n.t,onValidationInfo:f=n.t,onValidationComplexity:g}=t||{},b=(0,o.useCallback)(t=>{if(Object.values(t?.complexity||{}).length>0){let n=(({config:e,failedValidations:t,locale:r,t:n})=>{if(!t||0===Object.keys(t).length)return"";let o=t?.min_length||!1,i=Object.entries(t).filter(e=>!o||"min_length"===e[0]).filter(([,e])=>!!e).map(([t])=>{let r=c[t];if(Array.isArray(r)){let[o,i]=r;return n((0,l.G)(o,{[i]:e[t]}))}return n((0,l.G)(r))}),a=(0,s.kS)(i,r);return(0,s.zJ)(`${n((0,l.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${a}`)})({config:e,t:r,failedValidations:t.complexity,locale:d});return t.complexity?.min_length?f(n):p(n)}return t?.strength?.state==="fail"?p(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):t?.strength?.state==="pass"?h(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):m()},[t,r,d]);return{validatePassword:(0,o.useMemo)(()=>{let{loadZxcvbn:t}={loadZxcvbn:()=>Promise.all([u.import("@zxcvbn-ts/core"),u.import("@zxcvbn-ts/language-common")]).then(([e,t])=>{if(!e||!t)throw Error("Failed to load zxcvbn modules");let{zxcvbnOptions:r,zxcvbn:n}=e,{dictionary:o,adjacencyGraphs:i}=t;return r.setOptions({dictionary:{...o},graphs:i}),n})};return((e,t,r)=>{let{onValidation:o=n.t,onValidationComplexity:i=n.t}=r||{},{show_zxcvbn:a,validatePassword:l}=t,s=e=>((e,t)=>{let{max_length:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,require_uppercase:l}=t,s=(e=>{let t;if(e.allowed_special_characters){let r=e.allowed_special_characters.replace("[","\\[");r=r.replace("]","\\]"),t=RegExp(`[${r}]`)}else t=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(e,{minLength:r,maxLength:n})=>({max_length:e.length<n,min_length:e.length>=r,require_numbers:/\d/.test(e),require_lowercase:/[a-z]/.test(e),require_uppercase:/[A-Z]/.test(e),require_special_char:t.test(e)})})(t)(e,{maxLength:t.max_length,minLength:t.min_length}),c={max_length:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,require_uppercase:l},d=new Map;for(let e in c)c[e]&&!s[e]&&d.set(e,!0);return Object.freeze(Object.fromEntries(d))})(e,t),c=(({min_zxcvbn_strength:e,onResult:t})=>r=>n=>{let o=r(n);return(t?.(o),o.score>=e&&o.score<3)?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:o}:o.score>=e?{state:"excellent",result:o}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...o.feedback.suggestions.map(e=>`unstable__errors.zxcvbn.suggestions.${e}`)],result:o}})(t),d={};return(t,r)=>{let{onValidation:n=o,onValidationComplexity:u=i}=r||{};if(!l)return;let p=s(t);u(0===Object.keys(p).length),d={...d,complexity:p},a&&e().then(e=>{let r=c(e)(t);n({...d={...d,strength:r},strength:r})}),d.complexity&&0===Object.keys(d.complexity).length&&a||n(d)}})(t,e,{onValidation:b,onValidationComplexity:g})},[b,e,u])}},u=({passwordField:e,confirmPasswordField:t})=>{let{t:r}=(0,a._)(),n=(0,o.useCallback)(t=>e.value===t,[e.value]),i=(0,o.useMemo)(()=>n(t.value),[n,t.value]);return{setConfirmPasswordFeedback:(0,o.useCallback)(e=>{n(e)?t.setSuccess(r((0,l.G)("formFieldError__matchingPasswords"))):t.setError(r((0,l.G)("formFieldError__notMatchingPasswords")))},[t.setError,t.setSuccess,r,n]),isPasswordMatch:i}}},1577:function(e,t,r){r.d(t,{f:()=>l});var n=r(2119),o=r(6836),i=r(4166),a=r(5074);let l=(e={})=>{let{bubbles:t=!1,shoudFlip:r=!0,outsidePress:l,adjustToReferenceWidth:s=!1,referenceElement:c,canCloseModal:d}=e,[u,p]=a.useState(e.defaultOpen||!1),m=(0,n.fI)(),{update:h,refs:f,strategy:g,x:b,y:v,context:y}=(0,n.we)({open:u,onOpenChange:p,elements:{reference:c?.current},nodeId:m,whileElementsMounted:!1===e.autoUpdate?void 0:o.ll,placement:e.placement||"bottom-start",middleware:[(0,i.cY)(e.offset||6),r&&(0,i.UU)(),(0,i.BN)(),(0,i.Ej)({apply({elements:e}){if(s){let t=e.reference;e.floating.style.width=t?`${t?.offsetWidth}px`:""}}})]});(0,n.s9)(y,{enabled:!1!==d,bubbles:t,outsidePress:l}),(0,a.useEffect)(()=>{e.defaultOpen&&h()},[]);let w=a.useCallback(()=>p(e=>!e),[p]),$=a.useCallback(()=>p(!0),[p]),x=a.useCallback(()=>p(!1),[p]);return{reference:f.setReference,floating:f.setFloating,toggle:w,open:$,nodeId:m,close:x,isOpen:u,styles:{position:g,top:v??0,left:b??0},context:y}}},359:function(e,t,r){r.d(t,{j:()=>a});var n=r(5074);let o="(prefers-reduced-motion: no-preference)",i=()=>"undefined"==typeof window||!window.matchMedia(o).matches;function a(){let[e,t]=(0,n.useState)(i);return(0,n.useEffect)(()=>{let e=window.matchMedia(o);t(!window.matchMedia(o).matches);let r=e=>{t(!e.matches)};return"addEventListener"in e?e.addEventListener("change",r):e.addListener(r),()=>"addEventListener"in e?e.removeEventListener("change",r):e.removeListener(r)},[]),e}},7607:function(e,t,r){r.d(t,{Z:()=>i});var n=r(7697),o=r(7896);function i(){let{organizationSettings:e}=(0,n.O)(),t=e.forceOrganizationSelection;(0,o.s)(t?()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("723"),r.e("390")]).then(r.bind(r,1662)):void 0,"preloadComponent",{staleTime:1/0})}},8792:function(e,t,r){r.d(t,{K:()=>i});let n=0,o=()=>{};function i(){return{enableScrollLock:()=>{1==++n&&(o=function(){let e,t=/iP(hone|ad|od)|iOS/.test((e=navigator.userAgentData,e?.platform?e.platform:navigator.platform)),r=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,i=r.left?parseFloat(r.left):window.scrollX,a=r.top?parseFloat(r.top):window.scrollY;if(r.overflow="hidden",o&&(r[n]=`${o}px`),t){let e=window.visualViewport?.offsetLeft||0,t=window.visualViewport?.offsetTop||0;Object.assign(r,{position:"fixed",top:`${-(a-Math.floor(t))}px`,left:`${-(i-Math.floor(e))}px`,right:"0"})}return()=>{Object.assign(r,{overflow:"",[n]:""}),t&&(Object.assign(r,{position:"",top:"",left:"",right:""}),window.scrollTo(i,a))}}())},disableScrollLock:()=>{0==--n&&o()}}}},9107:function(e,t,r){r.d(t,{h:()=>l});var n=r(9361),o=r(5074),i=r(4),a=r(4964);let l=(e=2e3)=>{let{queryString:t}=(0,a.r)(),{setActive:r}=(0,n.ho)(),{afterSignInUrl:l}=(0,i.r)();(0,o.useEffect)(()=>{let n,o=new URLSearchParams(t).get("createdSessionId");return o&&(n=setTimeout(()=>{r({session:o,redirectUrl:l})},e)),()=>{n&&clearTimeout(n)}},[r,l,t])}},9426:function(e,t,r){r.d(t,{p:()=>l});var n=r(9361),o=r(5074),i=r(2366),a=r(7697);function l(){let e=(0,n.ho)(),{supportEmail:t}=(0,i.II)(),{displayConfig:r}=(0,a.O)(),{supportEmail:l}=r;return o.useMemo(()=>t||l||function({localPart:e,frontendApi:t}){return`${e}@${t?t.replace("clerk.",""):"clerk.com"}`}({localPart:"support",frontendApi:e.frontendApi}),[e.frontendApi,t,l])}},5914:function(e,t,r){r.d(t,{i:()=>i});var n=r(5074),o=r(4964);let i=(e,t=0)=>{let r=(0,o.r)(),i=()=>{let n=r.queryParams.tab,o=Object.entries(e).find(([e,t])=>t===n)?.[0];return o?parseInt(o,10):t},[a,l]=(0,n.useState)(i());return(0,n.useEffect)(()=>{let e=i();e!==a&&l(e)},[r.queryParams.tab]),{selectedTab:a,handleTabChange:t=>{l(t);let n=r.currentPath;r.navigate(n,{searchParams:new URLSearchParams({tab:e[t]||""})})}}}},2229:function(e,t,r){r.d(t,{F:()=>i});var n=r(7697),o=r(2216);let i=()=>{let{userSettings:e}=(0,n.O)(),{authenticatableOauthStrategies:t,web3Strategies:r,alternativePhoneCodeChannels:i}=(0,o.k)();return e.enabledFirstFactorIdentifiers.filter(e=>"passkey"!==e).length+t.length+r.length+i.length}},8501:function(e,t,r){r.d(t,{MountedCheckoutDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,checkoutDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"checkout",componentAppearance:t.props.appearance||{},flowName:"checkout",open:t.open,onOpenChange:r,componentName:"Checkout",portalId:t.props?.portalId,portalRoot:t.props?.portalRoot,children:t.props&&(0,n.Y)(i.RW,{planId:t.props.planId,planPeriod:t.props.planPeriod,for:t.props.for,onSubscriptionComplete:t.props.onSubscriptionComplete,portalRoot:t.props.portalRoot,appearance:t.props.appearance,newSubscriptionRedirectUrl:t.props.newSubscriptionRedirectUrl})},l?.id):null}},4027:function(e,t,r){r.d(t,{MountedPlanDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,planDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"planDetails",componentAppearance:t.props.appearance||{},flowName:"planDetails",open:t.open,onOpenChange:r,componentName:"PlanDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.ym,{...t.props})},l?.id):null}},9949:function(e,t,r){r.d(t,{MountedSubscriptionDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(1461),a=r(4642);function l({appearance:e,subscriptionDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"subscriptionDetails",componentAppearance:t.props.appearance||{},flowName:"subscriptionDetails",open:t.open,onOpenChange:r,componentName:"SubscriptionDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.SubscriptionDetails,{...t.props})},l?.id):null}},6053:function(e,t,r){r.d(t,{createRoot:()=>n.createRoot});var n=r(4292)},2861:function(e,t,r){r.d(t,{G:()=>n});let n=(e,...t)=>({key:e,params:t[0]})},78:function(e,t,r){let n,o;r.d(t,{d:()=>$,_:()=>x});var i=r(4518),a=r(3610),l=r(5074),s=r(2366),c=r(9361),d=r(7697),u=r(6988);let p={titleize:r(1044).Ns,timeString:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{timeStyle:"short"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},weekday:(e,t,r)=>{try{return new Intl.DateTimeFormat(t||"en-US",{weekday:r||"long"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},numeric:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US").format((0,u.OG)(e))}catch(e){return console.warn(e),""}},link:(e,t)=>`[${t}](${e})`,shortDate:(e,t)=>{let r=(0,u.OG)(e);try{return new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric",...r.getFullYear()!==new Date().getFullYear()?{year:"numeric"}:{}}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},longDate:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{month:"long",day:"numeric",year:"numeric"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}}},m=()=>{let{applicationName:e}=(0,d.O)().displayConfig,{client:t,user:r}=(0,c.ho)(),{signIn:n}=t||{};return{applicationName:e,"signIn.identifier":n?.identifier||"","user.username":r?.username||"","user.firstName":r?.firstName||"","user.lastName":r?.lastName||"","user.primaryEmailAddress":r?.primaryEmailAddress?.emailAddress||"","user.primaryPhoneNumber":r?.primaryPhoneNumber?.phoneNumber||""}},h=e=>Object.prototype.hasOwnProperty.call(p,e),f=e=>{let t=e.split(/[(,)]/g).map(e=>e.trim()).filter(e=>!!e);if(1===t.length){let[e]=t;return{modifierName:e,params:[]}}{let[e,...r]=t;return{modifierName:e,params:r.map(e=>e.replace(/['"]+/g,""))}}},g={locale:"en-US",apiKeys:{action__add:"Add new key",action__search:"Search keys",copySecret:{formButtonPrimary__copyAndClose:"Copy & Close",formHint:"For security reasons, we won't allow you to view it again later.",formTitle:'Copy your "{{name}}" API Key now'},createdAndExpirationStatus__expiresOn:"Created {{ createdDate | shortDate('en-US') }} • Expires {{ expiresDate | longDate('en-US') }}",createdAndExpirationStatus__never:"Created {{ createdDate | shortDate('en-US') }} • Never expires",detailsTitle__emptyRow:"No API keys found",formButtonPrimary__add:"Create key",formFieldCaption__expiration__expiresOn:"Expiring {{ date }}",formFieldCaption__expiration__never:"This key will never expire",formFieldOption__expiration__180d:"180 Days",formFieldOption__expiration__1d:"1 Day",formFieldOption__expiration__1y:"1 Year",formFieldOption__expiration__30d:"30 Days",formFieldOption__expiration__60d:"60 Days",formFieldOption__expiration__7d:"7 Days",formFieldOption__expiration__90d:"90 Days",formFieldOption__expiration__never:"Never",formHint:"Provide a name to generate a new key. You’ll be able to revoke it anytime.",formTitle:"Add new API key",lastUsed__days:"{{days}}d ago",lastUsed__hours:"{{hours}}h ago",lastUsed__minutes:"{{minutes}}m ago",lastUsed__months:"{{months}}mo ago",lastUsed__seconds:"{{seconds}}s ago",lastUsed__years:"{{years}}y ago",menuAction__revoke:"Revoke key",revokeConfirmation:{confirmationText:"Revoke",formButtonPrimary__revoke:"Revoke key",formHint:"Are you sure you want to delete this Secret key?",formTitle:'Revoke "{{apiKeyName}}" secret key?'}},backButton:"Back",badge__activePlan:"Active",badge__canceledEndsAt:"Canceled • Ends {{ date | shortDate('en-US') }}",badge__currentPlan:"Current plan",badge__default:"Default",badge__endsAt:"Ends {{ date | shortDate('en-US') }}",badge__expired:"Expired",badge__freeTrial:"Free trial",badge__otherImpersonatorDevice:"Other impersonator device",badge__pastDueAt:"Past due {{ date | shortDate('en-US') }}",badge__pastDuePlan:"Past due",badge__primary:"Primary",badge__renewsAt:"Renews {{ date | shortDate('en-US') }}",badge__requiresAction:"Requires action",badge__startsAt:"Starts {{ date | shortDate('en-US') }}",badge__thisDevice:"This device",badge__trialEndsAt:"Trial ends {{ date | shortDate('en-US') }}",badge__unverified:"Unverified",badge__upcomingPlan:"Upcoming",badge__userDevice:"User device",badge__you:"You",billing:{addPaymentMethod__label:"Add payment method",alwaysFree:"Always free",annually:"Annually",availableFeatures:"Available features",billedAnnually:"Billed annually",billedMonthlyOnly:"Only billed monthly",cancelFreeTrial:"Cancel free trial",cancelFreeTrialAccessUntil:"Your trial will stay active until {{ date | longDate('en-US') }}. After that, you'll lose access to trial features. You won't be charged.",cancelFreeTrialTitle:"Cancel free trial for {{plan}} plan?",cancelSubscription:"Cancel subscription",cancelSubscriptionAccessUntil:"You can keep using '{{plan}}' features until {{ date | longDate('en-US') }}, after which you will no longer have access.",cancelSubscriptionNoCharge:"You will not be charged for this subscription.",cancelSubscriptionPastDue:"Your subscription will end immediately and you will lose access to all plan features. You will be asked to pay the past due amount on your next subscription.",cancelSubscriptionTitle:"Cancel {{plan}} Subscription?",cannotSubscribeMonthly:"You cannot subscribe to this plan by paying monthly. To subscribe to this plan, you need to choose to pay annually.",cannotSubscribeUnrecoverable:"You cannot subscribe to this plan. Your existing subscription is more expensive than this plan.",checkout:{description__paymentSuccessful:"Your payment was successful.",description__subscriptionSuccessful:"Your new subscription is all set.",downgradeNotice:"You will keep your current subscription and its features until the end of the billing cycle, then you will be switched to this subscription.",emailForm:{subtitle:"Before you can complete your purchase you must add an email address where receipts will be sent.",title:"Add an email address"},lineItems:{title__freeTrialEndsAt:"Trial ends on",title__paymentMethod:"Payment method",title__statementId:"Statement ID",title__subscriptionBegins:"Subscription begins",title__totalPaid:"Total paid"},pastDueNotice:"Your previous subscription was past due, with no payment.",perMonth:"per month",title:"Checkout",title__paymentSuccessful:"Payment was successful!",title__subscriptionSuccessful:"Success!",title__trialSuccess:"Trial successfully started!",totalDueAfterTrial:"Total Due after trial ends in {{days}} days"},credit:"Credit",creditRemainder:"Credit for the remainder of your current subscription.",defaultFreePlanActive:"You're currently on the Free plan",free:"Free",getStarted:"Get started",keepFreeTrial:"Keep free trial",keepSubscription:"Keep subscription",manage:"Manage",manageSubscription:"Manage subscription",month:"Month",monthly:"Monthly",pastDue:"Past due",pay:"Pay {{amount}}",paymentMethod:{applePayDescription:{annual:"Annual payment",monthly:"Monthly payment"},dev:{anyNumbers:"Any numbers",cardNumber:"Card number",cvcZip:"CVC, ZIP",developmentMode:"Development mode",expirationDate:"Expiration date",testCardInfo:"Test card information"}},paymentMethods__label:"Payment Methods",popular:"Popular",pricingTable:{billingCycle:"Billing cycle",included:"Included"},reSubscribe:"Resubscribe",seeAllFeatures:"See all features",startFreeTrial:"Start free trial",startFreeTrial__days:"Start {{days}}-day free trial",subscribe:"Subscribe",subscriptionDetails:{beginsOn:"Begins on",currentBillingCycle:"Current billing cycle",endsOn:"Ends on",firstPaymentAmount:"First payment amount",firstPaymentOn:"First payment on",nextPaymentAmount:"Next payment amount",nextPaymentOn:"Next payment on",pastDueAt:"Past due on",renewsAt:"Renews at",subscribedOn:"Subscribed on",title:"Subscription",trialEndsOn:"Trial ends on",trialStartedOn:"Trial started on"},subtotal:"Subtotal",switchPlan:"Switch to this plan",switchToAnnual:"Switch to annual",switchToAnnualWithAnnualPrice:"Switch to annual {{currency}}{{price}} / year",switchToMonthly:"Switch to monthly",switchToMonthlyWithPrice:"Switch to monthly {{currency}}{{price}} / month",totalDue:"Total due",totalDueToday:"Total Due Today",viewFeatures:"View features",viewPayment:"View payment",year:"Year"},createOrganization:{formButtonSubmit:"Create organization",invitePage:{formButtonReset:"Skip"},title:"Create organization"},dates:{lastDay:"Yesterday at {{ date | timeString('en-US') }}",next6Days:"{{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",nextDay:"Tomorrow at {{ date | timeString('en-US') }}",numeric:"{{ date | numeric('en-US') }}",previous6Days:"Last {{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",sameDay:"Today at {{ date | timeString('en-US') }}"},dividerText:"or",footerActionLink__alternativePhoneCodeProvider:"Send code via SMS instead",footerActionLink__useAnotherMethod:"Use another method",footerPageLink__help:"Help",footerPageLink__privacy:"Privacy",footerPageLink__terms:"Terms",formButtonPrimary:"Continue",formButtonPrimary__verify:"Verify",formFieldAction__forgotPassword:"Forgot password?",formFieldError__matchingPasswords:"Passwords match.",formFieldError__notMatchingPasswords:"Passwords don't match.",formFieldError__verificationLinkExpired:"The verification link expired. Please request a new link.",formFieldHintText__optional:"Optional",formFieldHintText__slug:"A slug is a human-readable ID that must be unique. It’s often used in URLs.",formFieldInputPlaceholder__apiKeyDescription:"Explain why you’re generating this key",formFieldInputPlaceholder__apiKeyExpirationDate:"Select date",formFieldInputPlaceholder__apiKeyName:"Enter your secret key name",formFieldInputPlaceholder__backupCode:"Enter backup code",formFieldInputPlaceholder__confirmDeletionUserAccount:"Delete account",formFieldInputPlaceholder__emailAddress:"Enter your email address",formFieldInputPlaceholder__emailAddress_username:"Enter email or username",formFieldInputPlaceholder__emailAddresses:"example@email.com, example2@email.com",formFieldInputPlaceholder__firstName:"First name",formFieldInputPlaceholder__lastName:"Last name",formFieldInputPlaceholder__organizationDomain:"example.com",formFieldInputPlaceholder__organizationDomainEmailAddress:"you@example.com",formFieldInputPlaceholder__organizationName:"Organization name",formFieldInputPlaceholder__organizationSlug:"my-org",formFieldInputPlaceholder__password:"Enter your password",formFieldInputPlaceholder__phoneNumber:"Enter your phone number",formFieldInputPlaceholder__username:void 0,formFieldInput__emailAddress_format:"Example format: name@example.com",formFieldLabel__apiKey:"API key",formFieldLabel__apiKeyDescription:"Description",formFieldLabel__apiKeyExpiration:"Expiration",formFieldLabel__apiKeyName:"Secret key name",formFieldLabel__automaticInvitations:"Enable automatic invitations for this domain",formFieldLabel__backupCode:"Backup code",formFieldLabel__confirmDeletion:"Confirmation",formFieldLabel__confirmPassword:"Confirm password",formFieldLabel__currentPassword:"Current password",formFieldLabel__emailAddress:"Email address",formFieldLabel__emailAddress_username:"Email address or username",formFieldLabel__emailAddresses:"Email addresses",formFieldLabel__firstName:"First name",formFieldLabel__lastName:"Last name",formFieldLabel__newPassword:"New password",formFieldLabel__organizationDomain:"Domain",formFieldLabel__organizationDomainDeletePending:"Delete pending invitations and suggestions",formFieldLabel__organizationDomainEmailAddress:"Verification email address",formFieldLabel__organizationDomainEmailAddressDescription:"Enter an email address under this domain to receive a code and verify this domain.",formFieldLabel__organizationName:"Name",formFieldLabel__organizationSlug:"Slug",formFieldLabel__passkeyName:"Name of passkey",formFieldLabel__password:"Password",formFieldLabel__phoneNumber:"Phone number",formFieldLabel__role:"Role",formFieldLabel__signOutOfOtherSessions:"Sign out of all other devices",formFieldLabel__username:"Username",impersonationFab:{action__signOut:"Sign out",title:"Signed in as {{identifier}}"},lastAuthenticationStrategy:"Last used",maintenanceMode:"We are currently undergoing maintenance, but don't worry, it shouldn't take more than a few minutes.",membershipRole__admin:"Admin",membershipRole__basicMember:"Member",membershipRole__guestMember:"Guest",organizationList:{action__createOrganization:"Create organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",createOrganization:"Create Organization",invitationAcceptedLabel:"Joined",subtitle:"to continue to {{applicationName}}",suggestionsAcceptedLabel:"Pending approval",title:"Choose an account",titleWithoutPersonal:"Choose an organization"},organizationProfile:{apiKeysPage:{title:"API keys"},badge__automaticInvitation:"Automatic invitations",badge__automaticSuggestion:"Automatic suggestions",badge__manualInvitation:"No automatic enrollment",badge__unverified:"Unverified",billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment method and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},createDomainPage:{subtitle:"Add the domain to verify. Users with email addresses at this domain can join the organization automatically or request to join.",title:"Add domain"},invitePage:{detailsTitle__inviteFailed:"The invitations could not be sent. There are already pending invitations for the following email addresses: {{email_addresses}}.",formButtonPrimary__continue:"Send invitations",selectDropdown__role:"Select role",subtitle:"Enter or paste one or more email addresses, separated by spaces or commas.",successMessage:"Invitations successfully sent",title:"Invite new members"},membersPage:{action__invite:"Invite",action__search:"Search",activeMembersTab:{menuAction__remove:"Remove member",tableHeader__actions:"Actions",tableHeader__joined:"Joined",tableHeader__role:"Role",tableHeader__user:"User"},detailsTitle__emptyRow:"No members to display",invitationsTab:{autoInvitations:{headerSubtitle:"Invite users by connecting an email domain with your organization. Anyone who signs up with a matching email domain will be able to join the organization anytime.",headerTitle:"Automatic invitations",primaryButton:"Manage verified domains"},table__emptyRow:"No invitations to display"},invitedMembersTab:{menuAction__revoke:"Revoke invitation",tableHeader__invited:"Invited"},requestsTab:{autoSuggestions:{headerSubtitle:"Users who sign up with a matching email domain, will be able to see a suggestion to request to join your organization.",headerTitle:"Automatic suggestions",primaryButton:"Manage verified domains"},menuAction__approve:"Approve",menuAction__reject:"Reject",tableHeader__requested:"Requested access",table__emptyRow:"No requests to display"},start:{headerTitle__invitations:"Invitations",headerTitle__members:"Members",headerTitle__requests:"Requests"}},navbar:{apiKeys:"API keys",billing:"Billing",description:"Manage your organization.",general:"General",members:"Members",title:"Organization"},plansPage:{alerts:{noPermissionsToManageBilling:"You do not have permissions to manage billing for this organization."},title:"Plans"},profilePage:{dangerSection:{deleteOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to delete this organization?",messageLine2:"This action is permanent and irreversible.",successMessage:"You have deleted the organization.",title:"Delete organization"},leaveOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to leave this organization? You will lose access to this organization and its applications.",messageLine2:"This action is permanent and irreversible.",successMessage:"You have left the organization.",title:"Leave organization"},title:"Danger"},domainSection:{menuAction__manage:"Manage",menuAction__remove:"Delete",menuAction__verify:"Verify",primaryButton:"Add domain",subtitle:"Allow users to join the organization automatically or request to join based on a verified email domain.",title:"Verified domains"},successMessage:"The organization has been updated.",title:"Update profile"},removeDomainPage:{messageLine1:"The email domain {{domain}} will be removed.",messageLine2:"Users won’t be able to join the organization automatically after this.",successMessage:"{{domain}} has been removed.",title:"Remove domain"},start:{headerTitle__general:"General",headerTitle__members:"Members",profileSection:{primaryButton:"Update profile",title:"Organization Profile",uploadAction__title:"Logo"}},verifiedDomainPage:{dangerTab:{calloutInfoLabel:"Removing this domain will affect invited users.",removeDomainActionLabel__remove:"Remove domain",removeDomainSubtitle:"Remove this domain from your verified domains",removeDomainTitle:"Remove domain"},enrollmentTab:{automaticInvitationOption__description:"Users are automatically invited to join the organization when they sign-up and can join anytime.",automaticInvitationOption__label:"Automatic invitations",automaticSuggestionOption__description:"Users receive a suggestion to request to join, but must be approved by an admin before they are able to join the organization.",automaticSuggestionOption__label:"Automatic suggestions",calloutInfoLabel:"Changing the enrollment mode will only affect new users.",calloutInvitationCountLabel:"Pending invitations sent to users: {{count}}",calloutSuggestionCountLabel:"Pending suggestions sent to users: {{count}}",manualInvitationOption__description:"Users can only be invited manually to the organization.",manualInvitationOption__label:"No automatic enrollment",subtitle:"Choose how users from this domain can join the organization."},start:{headerTitle__danger:"Danger",headerTitle__enrollment:"Enrollment options"},subtitle:"The domain {{domain}} is now verified. Continue by selecting enrollment mode.",title:"Update {{domain}}"},verifyDomainPage:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"The domain {{domainName}} needs to be verified via email.",subtitleVerificationCodeScreen:"A verification code was sent to {{emailAddress}}. Enter the code to continue.",title:"Verify domain"}},organizationSwitcher:{action__closeOrganizationSwitcher:"Close organization switcher",action__createOrganization:"Create organization",action__invitationAccept:"Join",action__manageOrganization:"Manage",action__openOrganizationSwitcher:"Open organization switcher",action__suggestionsAccept:"Request to join",notSelected:"No organization selected",personalWorkspace:"Personal account",suggestionsAcceptedLabel:"Pending approval"},paginationButton__next:"Next",paginationButton__previous:"Previous",paginationRowText__displaying:"Displaying",paginationRowText__of:"of",reverification:{alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__passkey:"Use your passkey",blockButton__password:"Continue with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble verifying your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods for verification.",title:"Use another method"},backupCodeMfa:{subtitle:"Enter the backup code you received when setting up two-step authentication",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your email to continue",title:"Verification required"},noAvailableMethods:{message:"Cannot proceed with verification. No suitable authentication factor is configured",subtitle:"An error occurred",title:"Cannot verify your account"},passkey:{blockButton__passkey:"Use your passkey",subtitle:"Using your passkey confirms your identity. Your device may ask for your fingerprint, face, or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter your current password to continue",title:"Verification required"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},totpMfa:{formTitle:"Verification code",subtitle:"Enter the code generated by your authenticator app to continue",title:"Verification required"}},signIn:{accountSwitcher:{action__addAccount:"Add account",action__signOutAll:"Sign out of all accounts",subtitle:"Select the account with which you wish to continue.",title:"Choose an account"},alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__emailLink:"Email link to {{identifier}}",blockButton__passkey:"Sign in with your passkey",blockButton__password:"Sign in with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble signing into your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods to sign in.",title:"Use another method"},alternativePhoneCodeProvider:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your {{provider}}"},backupCodeMfa:{subtitle:"Your backup code is the one you got when setting up two-step authentication.",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailCodeMfa:{formTitle:"Check your email",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-in",title:"Verification link is invalid for this device"},expired:{subtitle:"Return to the original tab to continue.",title:"This verification link has expired"},failed:{subtitle:"Return to the original tab to continue.",title:"This verification link is invalid"},formSubtitle:"Use the verification link sent to your email",formTitle:"Verification link",loading:{subtitle:"You will be redirected soon",title:"Signing in..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email",unusedTab:{title:"You may close this tab"},verified:{subtitle:"You will be redirected soon",title:"Successfully signed in"},verifiedSwitchTab:{subtitle:"Return to original tab to continue",subtitleNewTab:"Return to the newly opened tab to continue",titleNewTab:"Signed in on other tab"}},emailLinkMfa:{formSubtitle:"Use the verification link sent to your email",resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},forgotPassword:{formTitle:"Reset password code",resendButton:"Didn't receive a code? Resend",subtitle:"to reset your password",subtitle_email:"First, enter the code sent to your email address",subtitle_phone:"First, enter the code sent to your phone",title:"Reset password"},forgotPasswordAlternativeMethods:{blockButton__resetPassword:"Reset your password",label__alternativeMethods:"Or, sign in with another method",title:"Forgot Password?"},newDeviceVerificationNotice:"You're signing in from a new device. We're asking for verification to keep your account secure.",noAvailableMethods:{message:"Cannot proceed with sign in. There's no available authentication factor.",subtitle:"An error occurred",title:"Cannot sign in"},passkey:{subtitle:"Using your passkey confirms it's you. Your device may ask for your fingerprint, face or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter the password associated with your account",title:"Enter your password"},passwordCompromised:{title:"Password compromised"},passwordPwned:{title:"Password compromised"},passwordUntrusted:{title:"Password untrusted"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your phone"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"To continue, please enter the verification code sent to your phone",title:"Check your phone"},resetPassword:{formButtonPrimary:"Reset Password",requiredMessage:"For security reasons, it is required to reset your password.",successMessage:"Your password was successfully changed. Signing you in, please wait a moment.",title:"Set new password"},resetPasswordMfa:{detailsLabel:"We need to verify your identity before resetting your password."},start:{actionLink:"Sign up",actionLink__join_waitlist:"Join waitlist",actionLink__use_email:"Use email",actionLink__use_email_username:"Use email or username",actionLink__use_passkey:"Use passkey instead",actionLink__use_phone:"Use phone",actionLink__use_username:"Use username",actionText:"Don’t have an account?",actionText__join_waitlist:"Want early access?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign in to {{applicationName}} with {{provider}}"},subtitle:"Welcome back! Please sign in to continue",subtitleCombined:void 0,title:"Sign in to {{applicationName}}",titleCombined:"Continue to {{applicationName}}"},totpMfa:{formTitle:"Verification code",subtitle:"To continue, please enter the verification code generated by your authenticator app",title:"Two-step verification"}},signInEnterPasswordTitle:"Enter your password",signUp:{alternativePhoneCodeProvider:{resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your {{provider}}",title:"Verify your {{provider}}"},continue:{actionLink:"Sign in",actionText:"Already have an account?",subtitle:"Please fill in the remaining details to continue.",title:"Fill in missing fields"},emailCode:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your email",title:"Verify your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-up",title:"Verification link is invalid for this device"},formSubtitle:"Use the verification link sent to your email address",formTitle:"Verification link",loading:{title:"Signing up..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Verify your email",verified:{title:"Successfully signed up"},verifiedSwitchTab:{subtitle:"Return to the newly opened tab to continue",subtitleNewTab:"Return to previous tab to continue",title:"Successfully verified email"}},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},legalConsent:{checkbox:{label__onlyPrivacyPolicy:'I agree to the {{ privacyPolicyLink || link("Privacy Policy") }}',label__onlyTermsOfService:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }}',label__termsOfServiceAndPrivacyPolicy:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }} and {{ privacyPolicyLink || link("Privacy Policy") }}'},continue:{subtitle:"Please read and accept the terms to continue",title:"Legal consent"}},phoneCode:{formSubtitle:"Enter the verification code sent to your phone number",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your phone",title:"Verify your phone"},restrictedAccess:{actionLink:"Sign in",actionText:"Already have an account?",blockButton__emailSupport:"Email support",blockButton__joinWaitlist:"Join waitlist",subtitle:"Sign ups are currently disabled. If you believe you should have access, please contact support.",subtitleWaitlist:"Sign ups are currently disabled. To be the first to know when we launch, join the waitlist.",title:"Access restricted"},start:{actionLink:"Sign in",actionLink__use_email:"Use email instead",actionLink__use_phone:"Use phone instead",actionText:"Already have an account?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign up to {{applicationName}} with {{provider}}"},subtitle:"Welcome! Please fill in the details to get started.",subtitleCombined:"Welcome! Please fill in the details to get started.",title:"Create your account",titleCombined:"Create your account"}},socialButtonsBlockButton:"Continue with {{provider|titleize}}",socialButtonsBlockButtonManyInView:"{{provider|titleize}}",taskChooseOrganization:{chooseOrganization:{action__createOrganization:"Create new organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",subtitle:"Join an existing organization or create a new one",suggestionsAcceptedLabel:"Pending approval",title:"Choose an organization"},createOrganization:{formButtonReset:"Cancel",formButtonSubmit:"Continue",formFieldInputPlaceholder__name:"My Organization",formFieldInputPlaceholder__slug:"my-organization",formFieldLabel__name:"Name",formFieldLabel__slug:"Slug",subtitle:"Enter your organization details to continue",title:"Setup your organization"},signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"}},taskResetPassword:{formButtonPrimary:"Reset Password",signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"},subtitle:"Your account requires a new password before you can continue",title:"Reset your password"},unstable__errors:{already_a_member_in_organization:"{{email}} is already a member of the organization.",avatar_file_size_exceeded:"File size exceeds the maximum limit of 10MB. Please choose a smaller file.",avatar_file_type_invalid:"File type not supported. Please upload a JPG, PNG, GIF, or WEBP image.",captcha_invalid:void 0,captcha_unavailable:"Sign up unsuccessful due to failed bot validation. Please refresh the page to try again or reach out to support for more assistance.",form_code_incorrect:void 0,form_email_address_blocked:void 0,form_identifier_exists__email_address:void 0,form_identifier_exists__phone_number:void 0,form_identifier_exists__username:void 0,form_identifier_not_found:void 0,form_new_password_matches_current:"New password cannot be the same as the current password.",form_param_format_invalid:void 0,form_param_format_invalid__email_address:void 0,form_param_format_invalid__phone_number:void 0,form_param_max_length_exceeded__first_name:void 0,form_param_max_length_exceeded__last_name:void 0,form_param_max_length_exceeded__name:void 0,form_param_nil:void 0,form_param_type_invalid:void 0,form_param_type_invalid__email_address:void 0,form_param_type_invalid__phone_number:void 0,form_param_value_invalid:void 0,form_password_incorrect:void 0,form_password_or_identifier_incorrect:void 0,form_password_length_too_short:"Your password is too short. It must be at least 8 characters long.",form_password_not_strong_enough:"Your password is not strong enough.",form_password_pwned:"This password has been found as part of a breach and can not be used, please try another password instead.",form_password_pwned__sign_in:"This password has been found as part of a breach and can not be used, please reset your password.",form_password_size_in_bytes_exceeded:void 0,form_password_compromised__sign_in:void 0,form_password_untrusted__sign_in:"Your password may be compromised. To protect your account, please continue with an alternative sign-in method. You will be required to reset your password after signing in.",form_password_validation_failed:void 0,form_username_invalid_character:void 0,form_username_invalid_length:"Your username must be between {{min_length}} and {{max_length}} characters long.",form_username_needs_non_number_char:"Your username must contain at least one non-numeric character.",identification_deletion_failed:void 0,not_allowed_access:void 0,organization_domain_blocked:void 0,organization_domain_common:void 0,organization_domain_exists_for_enterprise_connection:void 0,organization_membership_quota_exceeded:void 0,organization_minimum_permissions_needed:void 0,organization_not_found_or_unauthorized:"You are no longer a member of this organization. Please choose or create another one.",organization_not_found_or_unauthorized_with_create_organization_disabled:"You are no longer a member of this organization. Please choose another one.",passkey_already_exists:"A passkey is already registered with this device.",passkey_not_supported:"Passkeys are not supported on this device.",passkey_pa_not_supported:"Registration requires a platform authenticator but the device does not support it.",passkey_registration_cancelled:"Passkey registration was cancelled or timed out.",passkey_retrieval_cancelled:"Passkey verification was cancelled or timed out.",passwordComplexity:{maximumLength:"less than {{length}} characters",minimumLength:"{{length}} or more characters",requireLowercase:"a lowercase letter",requireNumbers:"a number",requireSpecialCharacter:"a special character",requireUppercase:"an uppercase letter",sentencePrefix:"Your password must contain"},phone_number_exists:void 0,session_exists:void 0,web3_missing_identifier:"A Web3 Wallet extension cannot be found. Please install one to continue.",zxcvbn:{couldBeStronger:"Your password works, but could be stronger. Try adding more characters.",goodPassword:"Your password meets all the necessary requirements.",notEnough:"Your password is not strong enough.",suggestions:{allUppercase:"Capitalize some, but not all letters.",anotherWord:"Add more words that are less common.",associatedYears:"Avoid years that are associated with you.",capitalization:"Capitalize more than the first letter.",dates:"Avoid dates and years that are associated with you.",l33t:"Avoid predictable letter substitutions like '@' for 'a'.",longerKeyboardPattern:"Use longer keyboard patterns and change typing direction multiple times.",noNeed:"You can create strong passwords without using symbols, numbers, or uppercase letters.",pwned:"If you use this password elsewhere, you should change it.",recentYears:"Avoid recent years.",repeated:"Avoid repeated words and characters.",reverseWords:"Avoid reversed spellings of common words.",sequences:"Avoid common character sequences.",useWords:"Use multiple words, but avoid common phrases."},warnings:{common:"This is a commonly used password.",commonNames:"Common names and surnames are easy to guess.",dates:"Dates are easy to guess.",extendedRepeat:'Repeated character patterns like "abcabcabc" are easy to guess.',keyPattern:"Short keyboard patterns are easy to guess.",namesByThemselves:"Single names or surnames are easy to guess.",pwned:"Your password was exposed by a data breach on the Internet.",recentYears:"Recent years are easy to guess.",sequences:'Common character sequences like "abc" are easy to guess.',similarToCommon:"This is similar to a commonly used password.",simpleRepeat:'Repeated characters like "aaa" are easy to guess.',straightRow:"Straight rows of keys on your keyboard are easy to guess.",topHundred:"This is a frequently used password.",topTen:"This is a heavily used password.",userInputs:"There should not be any personal or page related data.",wordByItself:"Single words are easy to guess."}}},userButton:{action__addAccount:"Add account",action__closeUserMenu:"Close user menu",action__manageAccount:"Manage account",action__openUserMenu:"Open user menu",action__signOut:"Sign out",action__signOutAll:"Sign out of all accounts"},userProfile:{apiKeysPage:{title:"API keys"},backupCodePage:{actionLabel__copied:"Copied!",actionLabel__copy:"Copy all",actionLabel__download:"Download .txt",actionLabel__print:"Print",infoText1:"Backup codes will be enabled for this account.",infoText2:"Keep the backup codes secret and store them securely. You may regenerate backup codes if you suspect they have been compromised.",subtitle__codelist:"Store them securely and keep them secret.",successMessage:"Backup codes are now enabled. You can use one of these to sign in to your account, if you lose access to your authentication device. Each code can only be used once.",successSubtitle:"You can use one of these to sign in to your account, if you lose access to your authentication device.",title:"Add backup code verification",title__codelist:"Backup codes"},billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment source and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},connectedAccountPage:{formHint:"Select a provider to connect your account.",formHint__noAccounts:"There are no available external account providers.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this connected account and any dependent features will no longer work.",successMessage:"{{connectedAccount}} has been removed from your account.",title:"Remove connected account"},socialButtonsBlockButton:"{{provider|titleize}}",successMessage:"The provider has been added to your account",title:"Add connected account"},deletePage:{actionDescription:'Type "Delete account" below to continue.',confirm:"Delete account",messageLine1:"Are you sure you want to delete your account? Some associated data may be retained. To request full data deletion, please contact support.",messageLine2:"This action is permanent and irreversible.",title:"Delete account"},emailAddressPage:{emailCode:{formHint:"An email containing a verification code will be sent to this email address.",formSubtitle:"Enter the verification code sent to {{identifier}}",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",successMessage:"The email {{identifier}} has been added to your account."},emailLink:{formHint:"An email containing a verification link will be sent to this email address.",formSubtitle:"Click on the verification link in the email sent to {{identifier}}",formTitle:"Verification link",resendButton:"Didn't receive a link? Resend",successMessage:"The email {{identifier}} has been added to your account."},enterpriseSSOLink:{formButton:"Click to sign-in",formSubtitle:"Complete the sign-in with {{identifier}}"},formHint:"You'll need to verify this email address before it can be added to your account.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this email address.",successMessage:"{{emailAddress}} has been removed from your account.",title:"Remove email address"},title:"Add email address",verifyTitle:"Verify email address"},formButtonPrimary__add:"Add",formButtonPrimary__continue:"Continue",formButtonPrimary__finish:"Finish",formButtonPrimary__remove:"Remove",formButtonPrimary__save:"Save",formButtonReset:"Cancel",mfaPage:{formHint:"Select a method to add.",title:"Add two-step verification"},mfaPhoneCodePage:{backButton:"Use existing number",primaryButton__addPhoneNumber:"Add phone number",removeResource:{messageLine1:"{{identifier}} will be no longer receiving verification codes when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"SMS code two-step verification has been removed for {{mfaPhoneCode}}",title:"Remove two-step verification"},subtitle__availablePhoneNumbers:"Select an existing phone number to register for SMS code two-step verification or add a new one.",subtitle__unavailablePhoneNumbers:"There are no available phone numbers to register for SMS code two-step verification, please add a new one.",successMessage1:"When signing in, you will need to enter a verification code sent to this phone number as an additional step.",successMessage2:"Save these backup codes and store them somewhere safe. If you lose access to your authentication device, you can use backup codes to sign in.",successTitle:"SMS code verification enabled",title:"Add SMS code verification"},mfaTOTPPage:{authenticatorApp:{buttonAbleToScan__nonPrimary:"Scan QR code instead",buttonUnableToScan__nonPrimary:"Can’t scan QR code?",infoText__ableToScan:"Set up a new sign-in method in your authenticator app and scan the following QR code to link it to your account.",infoText__unableToScan:"Set up a new sign-in method in your authenticator and enter the Key provided below.",inputLabel__unableToScan1:"Make sure Time-based or One-time passwords is enabled, then finish linking your account.",inputLabel__unableToScan2:"Alternatively, if your authenticator supports TOTP URIs, you can also copy the full URI."},removeResource:{messageLine1:"Verification codes from this authenticator will no longer be required when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"Two-step verification via authenticator application has been removed.",title:"Remove two-step verification"},successMessage:"Two-step verification is now enabled. When signing in, you will need to enter a verification code from this authenticator as an additional step.",title:"Add authenticator application",verifySubtitle:"Enter verification code generated by your authenticator",verifyTitle:"Verification code"},mobileButton__menu:"Menu",navbar:{account:"Profile",apiKeys:"API keys",billing:"Billing",description:"Manage your account info.",security:"Security",title:"Account"},passkeyScreen:{removeResource:{messageLine1:"{{name}} will be removed from this account.",title:"Remove passkey"},subtitle__rename:"You can change the passkey name to make it easier to find.",title__rename:"Rename Passkey"},passwordPage:{checkboxInfoText__signOutOfOtherSessions:"It is recommended to sign out of all other devices which may have used your old password.",readonly:"Your password can currently not be edited because you can sign in only via the enterprise connection.",successMessage__set:"Your password has been set.",successMessage__signOutOfOtherSessions:"All other devices have been signed out.",successMessage__update:"Your password has been updated.",title__set:"Set password",title__update:"Update password"},phoneNumberPage:{infoText:"A text message containing a verification code will be sent to this phone number. Message and data rates may apply.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this phone number.",successMessage:"{{phoneNumber}} has been removed from your account.",title:"Remove phone number"},successMessage:"{{identifier}} has been added to your account.",title:"Add phone number",verifySubtitle:"Enter the verification code sent to {{identifier}}",verifyTitle:"Verify phone number"},plansPage:{title:"Plans"},profilePage:{fileDropAreaHint:"Recommended size 1:1, up to 10MB.",imageFormDestructiveActionSubtitle:"Remove",imageFormSubtitle:"Upload",imageFormTitle:"Profile image",readonly:"Your profile information has been provided by the enterprise connection and cannot be edited.",successMessage:"Your profile has been updated.",title:"Update profile"},start:{activeDevicesSection:{destructiveAction:"Sign out of device",title:"Active devices"},connectedAccountsSection:{actionLabel__connectionFailed:"Reconnect",actionLabel__reauthorize:"Authorize now",destructiveActionTitle:"Remove",primaryButton:"Connect account",subtitle__disconnected:"This account has been disconnected.",subtitle__reauthorize:"The required scopes have been updated, and you may be experiencing limited functionality. Please re-authorize this application to avoid any issues",title:"Connected accounts"},dangerSection:{deleteAccountButton:"Delete account",title:"Delete account"},emailAddressesSection:{destructiveAction:"Remove email",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify",primaryButton:"Add email address",title:"Email addresses"},enterpriseAccountsSection:{title:"Enterprise accounts"},headerTitle__account:"Profile details",headerTitle__security:"Security",mfaSection:{backupCodes:{actionLabel__regenerate:"Regenerate",headerTitle:"Backup codes",subtitle__regenerate:"Get a fresh set of secure backup codes. Prior backup codes will be deleted and cannot be used.",title__regenerate:"Regenerate backup codes"},phoneCode:{actionLabel__setDefault:"Set as default",destructiveActionLabel:"Remove"},primaryButton:"Add two-step verification",title:"Two-step verification",totp:{destructiveActionTitle:"Remove",headerTitle:"Authenticator application"}},passkeysSection:{menuAction__destructive:"Remove",menuAction__rename:"Rename",primaryButton:"Add a passkey",title:"Passkeys"},passwordSection:{primaryButton__setPassword:"Set password",primaryButton__updatePassword:"Update password",title:"Password"},phoneNumbersSection:{destructiveAction:"Remove phone number",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify phone number",primaryButton:"Add phone number",title:"Phone numbers"},profileSection:{primaryButton:"Update profile",title:"Profile"},usernameSection:{primaryButton__setUsername:"Set username",primaryButton__updateUsername:"Update username",title:"Username"},web3WalletsSection:{destructiveAction:"Remove wallet",detailsAction__nonPrimary:"Set as primary",primaryButton:"Connect wallet",title:"Web3 wallets"}},usernamePage:{successMessage:"Your username has been updated.",title__set:"Set username",title__update:"Update username"},web3WalletPage:{removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this web3 wallet.",successMessage:"{{web3Wallet}} has been removed from your account.",title:"Remove web3 wallet"},subtitle__availableWallets:"Select a web3 wallet to connect to your account.",subtitle__unavailableWallets:"There are no available web3 wallets.",successMessage:"The wallet has been added to your account.",title:"Add web3 wallet",web3WalletButtonsBlockButton:"{{provider|titleize}}"}},waitlist:{start:{actionLink:"Sign in",actionText:"Already have access?",formButton:"Join the waitlist",subtitle:"Enter your email address and we’ll let you know when your spot is ready",title:"Join the waitlist"},success:{message:"You will be redirected soon...",subtitle:"We’ll be in touch when your spot is ready",title:"Thanks for joining the waitlist!"}}};var b=r(2861),v=r(4498),y=r(7447);let w=()=>{let{localization:e}=(0,s.II)();var t=e||{};if(!n||o&&o!==t&&!(0,y.j)(t,o)){o=t;let e={};(0,v.n)(g,e),(0,v.n)(t,e),n=e}return n},$=e=>{let t=l.forwardRef((t,r)=>{let n=w(),{localizationKey:o,...a}=t,l=m();return o?"string"==typeof o?(0,i.Y)(e,{...a,ref:r,children:o}):(0,i.Y)(e,{...a,ref:r,"data-localization-key":_(o),children:S(o,n,l)||a.children}):(0,i.Y)(e,{...a,ref:r})}),r=e.displayName||e.name||"Component";return t.displayName=`Localizable${r}`.replace("_",""),t},x=()=>{let{localization:e}=(0,s.II)(),t=w(),r=m(),n=e=>e&&"string"!=typeof e?S(e,t,r):e||"";return{t:n,translateError:e=>{if(!e||"string"==typeof e)return n(e);if((0,a.Cm)(e))return n((0,b.G)(`unstable__errors.${e.code}`))||e.message;let{code:t,message:r,longMessage:o,meta:i}=e||{},{paramName:l=""}=i||{};return t?n((0,b.G)(`unstable__errors.${t}__${l}`))||n((0,b.G)(`unstable__errors.${t}`))||o||r:""},locale:e?.locale||g.locale}},_=e=>e.key,S=(e,t,r)=>{let n=((e,t)=>{let r=(t||"").split("."),n=e;for(let e=0;e<r.length;e++)if(void 0===(n=n[r[e]]))return;return n})(t,e.key),o=e.params;return((e,t)=>{var r,n;let o,i,a,l,s;if(!e)return"";let{normalisedString:c,expressions:d}=(r=e,n=t,o=(r.match(/{{.+?}}/g)||[]).map(e=>e.replace(/[{}]/g,"")).map(e=>e.split("|").map(e=>e.trim())).filter(e=>e[0]in n).map(([e,...t])=>({token:e,modifiers:t.map(e=>f(e)).filter(e=>h(e.modifierName))})),i=r,o.forEach(({token:e})=>{i=i.replace(/{{.+?}}/,`_++${e}++_`)}),{expressions:o,normalisedString:i});return a=c,l=d,s=t,l.forEach(({token:e,modifiers:t})=>{let r=t.reduce((e,t)=>{try{return p[t.modifierName](e,...t.params)}catch(e){return console.warn(e),""}},s[e]);a=a.replace(`_++${e}++_`,r)}),a})(n||"",{...r,...o})}},9661:function(e,t,r){r.d(t,{VirtualBodyRootPortal:()=>F,Portal:()=>T});var n=r(4518),o=r(2166),i=r(2950),a=r(5074),l=r(5323),s=r(4),c=r(5350),d=r(5240),u=r(9078),p=r(3620),m=r(9233),h=r(2826),f=r(9953),g=r(5892),b=r(1),v=r(7032),y=r(451),w=r(6256),$=r(164),x=r(8188),_=r(2121),S=r(1616);function C({componentName:e,props:t,children:r}){switch(e){case"SignIn":return(0,n.Y)(s.Q.Provider,{value:{componentName:e,...t},children:r});case"SignUp":return(0,n.Y)(c.g.Provider,{value:{componentName:e,...t},children:r});case"UserProfile":return(0,n.Y)(d.M.Provider,{value:{componentName:e,...t},children:r});case"UserVerification":return(0,n.Y)(u._.Provider,{value:{componentName:e,...t},children:r});case"UserAvatar":return(0,n.Y)(p.E.Provider,{value:{componentName:e,...t},children:r});case"UserButton":return(0,n.Y)(m.P.Provider,{value:{componentName:e,...t},children:r});case"OrganizationSwitcher":return(0,n.Y)(h.U.Provider,{value:{componentName:e,...t},children:r});case"OrganizationList":return(0,n.Y)(f.f.Provider,{value:{componentName:e,...t},children:r});case"OrganizationProfile":return(0,n.Y)(g.o.Provider,{value:{componentName:e,...t},children:r});case"CreateOrganization":return(0,n.Y)(b.$.Provider,{value:{componentName:e,...t},children:r});case"GoogleOneTap":return(0,n.Y)(v.Q.Provider,{value:{componentName:e,...t},children:r});case"Waitlist":return(0,n.Y)(y.r.Provider,{value:{componentName:e,...t},children:r});case"PricingTable":return(0,n.Y)(w.m$.Provider,{value:t.for||"user",children:(0,n.Y)($.a.Provider,{value:{componentName:e,...t},children:r})});case"APIKeys":return(0,n.Y)(x.w.Provider,{value:{componentName:e,...t},children:r});case"OAuthConsent":return(0,n.Y)(_.n.Provider,{value:{componentName:e,...t},children:r});case"TaskChooseOrganization":return(0,n.Y)(S.lY.Provider,{value:{componentName:"TaskChooseOrganization",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});case"TaskResetPassword":return(0,n.Y)(S.pq.Provider,{value:{componentName:"TaskResetPassword",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});default:throw Error(`Unknown component context: ${e}`)}}var k=r(4173),A=r(9361),I=r(4777);let z=({basePath:e,preservedParams:t,children:r})=>{let{navigate:o}=(0,A.ho)(),[i,l]=a.useState(!1);if(!o)throw Error("Clerk: Missing navigate option.");let s=(e,t)=>{if(e)return o((0,k.FV)(e),t)};return(a.useEffect(()=>{(async()=>{if((0,k.tL)(window.location.hash)){let e=(0,k.yR)(new URL(window.location.href));await s(e.href,{replace:!0}),l(!0)}})()},[l,o,window.location.hash]),(0,k.tL)(window.location.hash)&&!i)?null:(0,n.Y)(I.F,{basePath:e.substring(1),startPath:"",getPath:()=>window.location.pathname,getQueryString:()=>window.location.search,internalNavigate:s,refreshEvents:["popstate"],preservedParams:t,children:r})},P="CLERK-ROUTER/HASH",D=({preservedParams:e,children:t})=>{let r=async e=>{if(e)return window.location.hash=(0,k.FV)(e).substring(1+P.length),Promise.resolve()},o=()=>new URL((0,k.tL)(window.location.hash)?window.location.origin+window.location.hash.substring(1):window.location.origin);return(0,n.Y)(I.F,{getPath:()=>"/"===o().pathname?"/"+P:"/"+P+o().pathname,basePath:P,startPath:"",getQueryString:()=>o().search,internalNavigate:r,refreshEvents:["popstate","hashchange"],preservedParams:e,children:t})};var Y=r(4132),R=r(4692);function T({props:e,component:t,componentName:r,node:s}){let c={...e,...(0,R.C)({routing:e?.routing,path:e?.path})},d=(0,n.Y)(C,{componentName:r,props:c,children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(t,c)})});return c?.routing==="path"?(c?.path||(0,i.a)(r),l.createPortal((0,n.Y)(z,{preservedParams:o.l,basePath:c.path,children:d}),s)):l.createPortal((0,n.Y)(D,{preservedParams:o.l,children:d}),s)}class F extends a.PureComponent{elRef=document.createElement("div");componentDidMount(){document.body.appendChild(this.elRef)}componentWillUnmount(){document.body.removeChild(this.elRef)}render(){let{props:e,startPath:t,component:r,componentName:o}=this.props;return l.createPortal((0,n.Y)(Y.x,{startPath:t,children:(0,n.Y)(C,{componentName:o,props:e??{},children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(r,e)})})}),this.elRef)}}},2349:function(e,t,r){r.d(t,{F:()=>c});var n=r(4518),o=r(1914),i=r(1464),a=r(6488);let{applyVariants:l,filterProps:s}=(0,o.v)(e=>({base:{padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,...i.s.borderVariants(e,{hoverStyles:!1}).normal},variants:{colorScheme:{danger:{color:e.colors.$danger500,backgroundColor:e.colors.$dangerAlpha50,...i.s.borderVariants(e,{hasError:!0}).normal},info:{color:e.colors.$neutralAlpha150,background:e.colors.$neutralAlpha50},warning:{backgroundColor:e.colors.$warningAlpha100,...i.s.borderVariants(e,{hasWarning:!0,hoverStyles:!1}).normal}}},defaultVariants:{colorScheme:"warning"}})),c=e=>(0,n.Y)(a.s,{align:"center",justify:"start",...s(e),css:l(e),children:e.children})},7736:function(e,t,r){r.d(t,{a:()=>s});var n=r(4518),o=r(5074),i=r(1914),a=r(1908);let{applyVariants:l}=(0,i.v)(()=>({base:{boxSizing:"border-box"},variants:{}})),s=o.forwardRef((e,t)=>{let{as:r="div",...o}=e;return(0,n.Y)(r,{...(0,a.k)(o),css:l(e),ref:t})})},6488:function(e,t,r){r.d(t,{f:()=>u,s:()=>d});var n=r(4518),o=r(5074),i=r(1914),a=r(7736);let l=(e,t)=>navigator?.userAgent?.match(/(iphone|ipad).+(os).*(\s13_).+safari/i)?{'& > *:not([hidden]):not([style*="visibility: hidden"]) + *:not([hidden]):not([style*="visibility: hidden"])':{marginLeft:"row"===t?e:void 0,marginTop:"col"===t?e:void 0}}:{gap:e},{applyVariants:s,filterProps:c}=(0,i.v)((e,t)=>{let r="col"===t.flexDirection||"colReverse"===t.flexDirection||"col"===t.direction||"colReverse"===t.direction?"col":"row";return{base:{display:"flex"},variants:{direction:{row:{flexDirection:"row"},col:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"}},wrap:{noWrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}},gap:{1:l(e.space.$1,r),2:l(e.space.$2,r),3:l(e.space.$3,r),4:l(e.space.$4,r),5:l(e.space.$5,r),6:l(e.space.$6,r),7:l(e.space.$7,r),8:l(e.space.$8,r),9:l(e.space.$9,r)},center:{true:{justifyContent:"center",alignItems:"center"}}},defaultVariants:{direction:"row",align:"stretch",justify:"start",wrap:"noWrap"}}}),d=o.forwardRef((e,t)=>(0,n.Y)(a.a,{...c(e),css:s(e),ref:t})),u=o.forwardRef((e,t)=>(0,n.Y)(d,{...e,direction:"col",ref:t}))},2204:function(e,t,r){r.d(t,{AT:()=>g,Oc:()=>f,pd:()=>m,TM:()=>b,EP:()=>h});var n=r(4518),o=r(5074),i=r(78),a=r(2861),l=r(1914),s=r(1464),c=r(7591),d=r(593);let{applyVariants:u,filterProps:p}=(0,l.v)((e,t)=>({base:{boxSizing:"border-box",margin:0,padding:`${e.space.$1x5} ${e.space.$3}`,backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,outline:"transparent solid 2px",outlineOffset:"2px",maxHeight:e.sizes.$9,width:"checkbox"===t.type?e.sizes.$4:"100%",aspectRatio:"checkbox"===t.type?"1/1":"unset",accentColor:e.colors.$primary500,...s.s.textVariants(e).body,...s.s.disabled(e),[c.g.ios]:{fontSize:e.fontSizes.$lg,'&:not([type="checkbox"]):not([type="radio"])':{WebkitAppearance:"none"}},":autofill":{animationName:"onAutoFillStart"},"::placeholder":{color:e.colors.$colorMutedForeground}},variants:{variant:{default:{...s.s.borderVariants(e,t).normal},unstyled:{borderWidth:0,boxShadow:"unset",backgroundColor:"transparent"}}},defaultVariants:{variant:"default"}})),m=o.forwardRef((e,t)=>{var r;let l=(0,d.Wd)()||{},{t:s}=(0,i._)(),{feedbackMessageId:c,ignorePasswordManager:m,feedbackType:h,...f}=(0,d.Uj)(l,["feedbackMessageId","ignorePasswordManager","feedbackType"]),g=p({...e,hasError:e.hasError||f.hasError}),{onChange:b}=(r=g.onChange,{onChange:function(e){e.persist(),"function"==typeof r&&r(e)},ref:o.useRef(null)}),{isDisabled:v,hasError:y,focusRing:w,isRequired:$,type:x,..._}=g,S=v||f.isDisabled,C=$||f.isRequired,k=y||f.hasError,A="email"===x?{type:"text",pattern:"^.*@[a-zA-Z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$",inputMode:"email",title:s((0,a.G)("formFieldInput__emailAddress_format"))}:{type:x||"text"};return(0,n.Y)("input",{..._,...A,...m?{"data-1p-ignore":!0}:void 0,ref:t,onChange:b,disabled:v,required:C,id:e.id||f.id,"aria-invalid":k,"aria-describedby":c||void 0,"aria-required":C,"aria-disabled":S,"data-feedback":h,"data-variant":e.variant||"default",css:u(e)})}),h=o.forwardRef((e,t)=>{let r=(0,d.Wd)()||{},{feedbackType:o}=(0,d.Uj)(r,["feedbackType","data-active"]),{isDisabled:i,hasError:a,focusRing:l,isRequired:s,...c}=p({...e,hasError:e.hasError});return(0,n.Y)("div",{...c,ref:t,id:e.id,"aria-invalid":a,"data-feedback":o,"data-variant":e.variant||"default","data-focus-within":l,css:u(e)})}),f=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"checkbox",ref:t})),g=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"radio",ref:t})),b=o.forwardRef((e,t)=>{let{isDisabled:r,hasError:o,focusRing:i,isRequired:a,...l}=e,s=r||e.isDisabled,c=a||e.isRequired,d=o||e.hasError;return(0,n.Y)("textarea",{...l,ref:t,disabled:s,required:c,"aria-invalid":d,"aria-required":c,css:u(e)})})},3707:function(e,t,r){r.d(t,{N:()=>d});var n=r(4518),o=r(4173);r(5074);var i=r(1914),a=r(1464),l=r(1908);let{applyVariants:s,filterProps:c}=(0,i.v)(e=>({base:{boxSizing:"border-box",display:"inline-flex",alignItems:"center",margin:0,cursor:"pointer",...a.s.disabled(e),textDecoration:"none","&:hover":{textDecoration:"underline"}},variants:{variant:a.s.textVariants(e),colorScheme:{primary:{color:e.colors.$primary500,"&:hover":{color:e.colors.$primary400},"&:active":{color:e.colors.$primary600}},danger:{color:e.colors.$danger500,"&:hover":{color:e.colors.$danger400},"&:active":{color:e.colors.$danger600}},neutral:{color:e.colors.$colorMutedForeground},inherit:{color:"inherit"}},focusRing:{true:{"&:focus":{outline:"none",...a.s.focusRing(e)}}}},defaultVariants:{colorScheme:"primary",variant:"body",focusRing:!1}})),d=e=>{let{isExternal:t,children:r,href:i,onClick:a,...d}=e,u=(0,o.d3)(i),p=a?e=>{u||e.preventDefault(),a(e)}:void 0;return(0,n.Y)("a",{...(0,l.k)(c(d)),onClick:p,href:u||"",target:u&&t?"_blank":void 0,rel:u&&t?"noopener noreferrer":void 0,css:s(e),children:r})}},7852:function(e,t,r){r.d(t,{y:()=>p});var n=r(4518),o=r(2637),i=r(1914),a=r(4374);let{size:l,thickness:s,speed:c}=(0,o.T)("speed","size","thickness"),{applyVariants:d,filterProps:u}=(0,i.v)(e=>({base:{display:"inline-block",borderRadius:"99999px",borderTop:`${s} solid currentColor`,borderRight:`${s} solid currentColor`,borderBottomWidth:s,borderLeftWidth:s,borderBottomStyle:"solid",borderLeftStyle:"solid",borderBottomColor:e.colors.$transparent,borderLeftColor:e.colors.$transparent,opacity:1,animation:`${a.W.spinning} ${c} linear 0s infinite normal none running`,width:[l],height:[l],minWidth:[l],minHeight:[l]},variants:{colorScheme:{primary:{borderTopColor:e.colors.$primary500,borderRightColor:e.colors.$primary500,opacity:1},neutral:{borderTopColor:e.colors.$borderAlpha700,borderRightColor:e.colors.$borderAlpha700,opacity:1}},thickness:{sm:{[s]:e.sizes.$0x5},md:{[s]:e.sizes.$1}},size:{xs:{[l]:e.sizes.$3},sm:{[l]:e.sizes.$4},md:{[l]:e.sizes.$5},lg:{[l]:e.sizes.$6},xl:{[l]:e.sizes.$8}},speed:{slow:{[c]:"600ms"},normal:{[c]:"400ms"}}},defaultVariants:{speed:"normal",thickness:"sm",size:"sm"}})),p=e=>(0,n.Y)("span",{...u(e),css:d(e),"aria-busy":!0,"aria-live":"polite"})},1908:function(e,t,r){r.d(t,{k:()=>n});let n=e=>{let{hasError:t,isDisabled:r,isLoading:n,isOpen:o,isActive:i,...a}=e;return{"data-error":t||void 0,"data-disabled":r||void 0,"data-loading":n||void 0,"data-open":o||void 0,"data-active":i||void 0,...a}}},593:function(e,t,r){r.d(t,{BQ:()=>c,Uj:()=>d,Wd:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(8640);let[l,,s]=(0,o.e3)("FormFieldContext"),c=e=>{let{id:t,isRequired:r=!1,isDisabled:o=!1,setError:s,setSuccess:c,setWarning:d,setHasPassedComplexity:u,setInfo:p,clearFeedback:m,children:h,feedbackType:f,feedback:g,isFocused:b,...v}=e,y=`${t}-field`,{debounced:w}=(0,a.eW)({feedback:g,feedbackType:f,isFocused:b}),$="error"===w.feedbackType,x=w.feedback?"error"===w.feedbackType?`error-${t}`:`${t}-${w.feedbackType}-feedback`:"",_=i.useMemo(()=>({isRequired:r,isDisabled:o,hasError:$,id:y,fieldId:t,feedbackMessageId:x,setError:s,setSuccess:c,setWarning:d,setInfo:p,clearFeedback:m,setHasPassedComplexity:u,feedbackType:f,feedback:g,isFocused:b}),[r,$,y,t,x,o,s,c,d,p,m,u,f,g,b]);return(0,n.Y)(l.Provider,{value:{value:{..._,...v,debouncedFeedback:w}},children:e.children})},d=(e,t)=>{let{radioOptions:r,validatePassword:n,hasPassedComplexity:o,isFocused:i,feedback:a,feedbackType:l,setHasPassedComplexity:s,setWarning:c,setSuccess:d,setError:u,setInfo:p,feedbackMessageId:m,fieldId:h,label:f,clearFeedback:g,infoText:b,debouncedFeedback:v,ignorePasswordManager:y,transformer:w,...$}=e;return t?.forEach(t=>{$[t]=e[t]}),$}},4777:function(e,t,r){r.d(t,{F:()=>p});var n=r(4518),o=r(7127),i=r(4173),a=r(9361),l=r(5074),s=r(734),c=r(8595),d=r(2265),u=r(4964);let p=({basePath:e,startPath:t,getPath:r,getQueryString:p,internalNavigate:m,refreshEvents:h,preservedParams:f,urlStateParam:g,children:b})=>{let{navigate:v}=(0,a.ho)(),[y,w]=l.useState({path:r(),queryString:p()}),$=y.path,x=y.queryString,_=(0,o.t)(y.queryString),S=(e,t)=>{let[r,n]=(0,s.N)("","",e,t),o=(0,i.Kj)($),a=e&&(0,c.YW)(n+"/:foo*")(o)||t&&(0,c.YW)(r)(o)||t&&(0,c.YW)(n)(o)||!1;return!1!==a&&a.params},C=l.useCallback(()=>{let e=r(),t=p();(e!==$||t!==x)&&w({path:e,queryString:t})},[$,x,r,p]);l.useEffect(()=>{let e=[h].flat().filter(e=>!!e);if(e.length)return e.forEach(e=>window.addEventListener(e,C)),()=>{e.forEach(e=>window.removeEventListener(e,C))}},[h,C]);let k=async t=>{if(!t)return;let r=t.origin!==window.location.origin;if(!t.pathname.startsWith("/"+e)||r){let e=await v(t.href);return C(),e}if(f){let e=(0,o.t)(t.search);f.forEach(t=>{!e[t]&&_[t]&&(e[t]=_[t])}),t.search=(0,o.n)(e)}let n=await m(t,{metadata:{navigationType:"internal"}});return w({path:t.pathname,queryString:t.search}),n};return(0,n.Y)(u.P.Provider,{value:{basePath:e,startPath:t,flowStartPath:t,fullPath:"",indexPath:"",currentPath:$,queryString:x,queryParams:_,getMatchData:S.bind(void 0),matches:((e,t)=>!!S(e,t)).bind(void 0),baseNavigate:k.bind(void 0),navigate:async()=>{},resolve:(e=>new URL(e,window.location.origin)).bind(void 0),refresh:C.bind(void 0),params:{},urlStateParam:g},children:(0,n.Y)(d.q,{path:e,children:b})})}},2265:function(e,t,r){r.d(t,{q:()=>p});var n=r(4518),o=r(4173),i=r(9361),a=r(5074),l=r(1550),s=r(734),c=r(8595),d=r(4964);let u=({canActivate:e,children:t})=>{let{navigateToFlowStart:r}=(0,l.C)(),o=(0,i.ho)();return(a.useEffect(()=>{e(o)||r()}),e(o))?(0,n.Y)(n.FK,{children:t}):null};function p(e){let t=(0,d.r)();if(!e.children)return null;if(!e.index&&!e.path)return(0,n.Y)(n.FK,{children:e.children});if(!t.matches(e.path,e.index))return null;let[r,i]=(0,s.N)(t.indexPath,t.fullPath,e.path,e.index),a=(e,{searchParams:t}={})=>{let r=new URL(e,window.location.origin+i+"/");return t&&(r.search=t.toString()),r.pathname=(0,o.Kj)(r.pathname),r},l=(e,n)=>{let[a,l]=(0,s.N)(r,i,e,n),d=(0,o.Kj)(t.currentPath),u=e&&(0,c.YW)(l+"/:foo*")(d)||n&&(0,c.YW)(a)(d)||n&&(0,c.YW)(l)(d)||!1;return!1!==u&&u.params},p=t.getMatchData(e.path,e.index)||{},m={};for(let[e,t]of Object.entries(p))m[e]=t;let h=(e.flowStart?(0,o.yY)(t.fullPath).replace("/"+t.basePath,""):t.flowStartPath)||t.startPath;return(0,n.Y)(d.P.Provider,{value:{basePath:t.basePath,startPath:t.startPath,flowStartPath:h,indexPath:r,fullPath:i,currentPath:t.currentPath,queryParams:t.queryParams,queryString:t.queryString,baseNavigate:t.baseNavigate,getMatchData:l,matches:(e,t)=>!!l(e,t),resolve:a,navigate:(e,{searchParams:r}={})=>{let n=a(e,{searchParams:r});return t.baseNavigate(n)},refresh:t.refresh,params:m,urlStateParam:t.urlStateParam},children:e.canActivate?(0,n.Y)(u,{canActivate:e.canActivate,children:e.children}):e.children})}},4964:function(e,t,r){r.d(t,{P:()=>o,r:()=>i});var n=r(5074);let o=n.createContext(null);o.displayName="RouteContext";let i=()=>{let e=n.useContext(o);if(!e)throw Error("useRouter called while Router is null");return e}},7831:function(e,t,r){r.d(t,{d:()=>l});var n=r(4518),o=r(5074),i=r(2265),a=r(4964);function l({children:e}){let t=(0,a.r)(),r=null;return o.Children.forEach(e,e=>{if(r||!(e&&o.isValidElement(e)&&"object"==typeof e&&e.type===i.q))return;let{index:n,path:a}=e.props;(!n&&!a||t.matches(a,n))&&(r=e)}),(0,n.Y)(n.FK,{children:r})}},4132:function(e,t,r){r.d(t,{I:()=>s,x:()=>c});var n=r(4518),o=r(9361),i=r(5074),a=r(3727),l=r(4777);let s="CLERK-ROUTER/VIRTUAL",c=({startPath:e,preservedParams:t,onExternalNavigate:r,children:c})=>{let{__internal_addNavigationListener:d}=(0,o.ho)(),[u,p]=i.useState(new URL("/"+s+e,window.location.origin)),{urlStateParam:m,removeQueryParam:h}=(0,a.x)();return(0,i.useEffect)(()=>{let e=()=>{};return r&&(e=d(r)),()=>{e()}},[]),m.componentName&&h(),(0,n.Y)(l.F,{getPath:()=>u.pathname,basePath:s,startPath:e,getQueryString:()=>u.search,internalNavigate:e=>{e&&p(e)},preservedParams:t,urlStateParam:m,children:c})}},3394:function(e,t,r){r.d(t,{VirtualRouter:()=>n.x});var n=r(4132)},734:function(e,t,r){r.d(t,{N:()=>n});let n=(e,t,r,n)=>{let o=e;r&&(o=t,n||(o+="/"+r)),o.startsWith("//")&&(o=o.substr(1));let i=t+(r?"/"+r:"");return i.startsWith("//")&&(i=i.substr(1)),[o,i]}},8595:function(e,t,r){function n(e,t){let r=[];return function(e,t,r={}){let{decode:n=e=>e}=r;return function(r){let o=e.exec(r);if(!o)return!1;let{0:i,index:a}=o,l=Object.create(null);for(let e=1;e<o.length;e++){if(void 0===o[e])continue;let r=t[e-1];"*"===r.modifier||"+"===r.modifier?l[r.name]=o[e].split(r.prefix+r.suffix).map(e=>n(e,r)):l[r.name]=n(o[e],r)}return{path:i,index:a,params:l}}}(function e(t,r,n){if(t instanceof RegExp){if(!r)return t;let e=t.source.match(/\((?!\?)/g);if(e)for(let t=0;t<e.length;t++)r.push({name:t,prefix:"",suffix:"",modifier:"",pattern:""});return t}if(Array.isArray(t)){let o;return o=t.map(t=>e(t,r,n).source),RegExp(`(?:${o.join("|")})`,i(n))}return function(e,t,r={}){let{strict:n=!1,start:a=!0,end:l=!0,encode:s=e=>e}=r,c=`[${o(r.endsWith||"")}]|$`,d=`[${o(r.delimiter||"/#?")}]`,u=a?"^":"";for(let r of e)if("string"==typeof r)u+=o(s(r));else{let e=o(s(r.prefix)),n=o(s(r.suffix));if(r.pattern)if(t&&t.push(r),e||n)if("+"===r.modifier||"*"===r.modifier){let t="*"===r.modifier?"?":"";u+=`(?:${e}((?:${r.pattern})(?:${n}${e}(?:${r.pattern}))*)${n})${t}`}else u+=`(?:${e}(${r.pattern})${n})${r.modifier}`;else u+=`(${r.pattern})${r.modifier}`;else u+=`(?:${e}${n})${r.modifier}`}if(l)n||(u+=`${d}?`),u+=r.endsWith?`(?=${c})`:"$";else{let t=e[e.length-1],r="string"==typeof t?d.indexOf(t[t.length-1])>-1:void 0===t;n||(u+=`(?:${d}(?=${c}))?`),r||(u+=`(?=${d}|${c})`)}return new RegExp(u,i(r))}(function(e,t={}){let r=function(e){let t=[],r=0;for(;r<e.length;){let n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){let n="",o=r+1;for(;o<e.length;){let t=e.charCodeAt(o);if(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t){n+=e[o++];continue}break}if(!n)throw TypeError(`Missing parameter name at ${r}`);t.push({type:"NAME",index:r,value:n}),r=o;continue}if("("===n){let n=1,o="",i=r+1;if("?"===e[i])throw TypeError(`Pattern cannot start with "?" at ${i}`);for(;i<e.length;){if("\\"===e[i]){o+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--n){i++;break}}else if("("===e[i]&&(n++,"?"!==e[i+1]))throw TypeError(`Capturing groups are not allowed at ${i}`);o+=e[i++]}if(n)throw TypeError(`Unbalanced pattern at ${r}`);if(!o)throw TypeError(`Missing pattern at ${r}`);t.push({type:"PATTERN",index:r,value:o}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),{prefixes:n="./"}=t,i=`[^${o(t.delimiter||"/#?")}]+?`,a=[],l=0,s=0,c="",d=e=>{if(s<r.length&&r[s].type===e)return r[s++].value},u=e=>{let t=d(e);if(void 0!==t)return t;let{type:n,index:o}=r[s];throw TypeError(`Unexpected ${n} at ${o}, expected ${e}`)},p=()=>{let e,t="";for(;e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};for(;s<r.length;){let e=d("CHAR"),t=d("NAME"),r=d("PATTERN");if(t||r){let o=e||"";-1===n.indexOf(o)&&(c+=o,o=""),c&&(a.push(c),c=""),a.push({name:t||l++,prefix:o,suffix:"",pattern:r||i,modifier:d("MODIFIER")||""});continue}let o=e||d("ESCAPED_CHAR");if(o){c+=o;continue}if(c&&(a.push(c),c=""),d("OPEN")){let e=p(),t=d("NAME")||"",r=d("PATTERN")||"",n=p();u("CLOSE"),a.push({name:t||(r?l++:""),pattern:t&&!r?i:r,prefix:e,suffix:n,modifier:d("MODIFIER")||""});continue}u("END")}return a}(t,n),r,n)}(e,r,t),r,t)}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}r.d(t,{YW:()=>n})},9406:function(e,t,r){r.d(t,{S:()=>a});var n=r(4518),o=r(6668);r(5074);var i=r(6580);let a=e=>{let{parsedInternalTheme:t}=(0,i.K)();return(0,n.Y)(o.a,{theme:t,children:e.children})}},5287:function(e,t,r){r.d(t,{StyleCacheProvider:()=>s});var n=r(4518),o=r(1785),i=r(6668),a=r(5074);let l=document.querySelector("style#cl-style-insertion-point"),s=e=>{let t=(0,a.useMemo)(()=>{let t=(0,o.A)({key:"cl-internal",prepend:!e.cssLayerName&&!l,insertionPoint:l||void 0,nonce:e.nonce});if(e.cssLayerName){let r=t.insert.bind(t);t.insert=(t,n,o,i)=>{if(n&&"string"==typeof n.styles&&!n.styles.startsWith("@layer")){let a={...n};return a.styles=`@layer ${e.cssLayerName} {${n.styles}}`,r(t,a,o,i)}return r(t,n,o,i)}}return t},[e.nonce,e.cssLayerName]);return(0,n.Y)(i.C,{value:t,children:e.children})}},4374:function(e,t,r){r.d(t,{W:()=>f});var n=r(8802);let o=(0,n.i7)`
|
|
15
15
|
0% { transform: rotate(0deg); }
|
|
16
16
|
100% { transform: rotate(360deg); }`,i=(0,n.i7)`
|
|
17
17
|
0% {
|