authhero 4.38.0 → 4.39.0
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/authhero.cjs +2 -2
- package/dist/authhero.mjs +349 -345
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/authhero.cjs
CHANGED
|
@@ -89,7 +89,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
89
89
|
--primary-hover: ${r};
|
|
90
90
|
--text-on-primary: ${i};
|
|
91
91
|
}
|
|
92
|
-
`},pP="https://assets.sesamy.com/images/login-bg.jpg",He=({title:e,children:t,theme:n,branding:r,client:i})=>{const s={backgroundImage:`url(${n?.page_background?.background_image_url||pP})`};return k("html",{lang:T.language||"en",children:[k("head",{children:[k("title",{children:e}),k("meta",{charset:"UTF-8"}),k("meta",{name:"robots",content:"noindex, follow"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"stylesheet",href:"/u/css/tailwind.css"}),k("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),k("style",{children:dP(n,r)}),k("meta",{name:"theme-color",content:"#000000"}),r?.favicon_url&&k("link",{rel:"icon",type:"image/x-icon",href:r.favicon_url})]}),k("body",{children:[k("div",{className:"row min-h-full w-full overflow-hidden bg-cover bg-center text-sm sm:bg-fixed sm:bg-left-top sm:pt-16 py-2",style:s,children:k("div",{className:"row-up-left w-[calc(100%-theme(space.2)-theme(space.2))] max-w-[1295px] !flex-nowrap sm:w-[calc(100%-theme(space.16)-theme(space.16))]",children:k("div",{className:"column-left w-full sm:w-auto",children:[k("div",{className:"relative flex w-full flex-col rounded-2xl bg-white px-5 py-10 dark:bg-gray-800 dark:text-white sm:min-h-[700px] sm:max-w-md sm:px-14 sm:py-14 md:min-w-[448px] short:min-h-[558px] min-h-[calc(100vh-83px)]",children:[k("div",{className:"mb-16",children:k(m_,{theme:n,branding:r})}),k("div",{className:"flex flex-1 flex-col",children:[t,k(Ck,{theme:n,branding:r,client:i})]})]}),k("div",{className:"flex w-full items-center px-6 pb-8 pt-4 justify-between",children:[k("div",{className:"flex justify-center leading-[0]",children:k("a",{href:"https://sesamy.com",target:"_blank",rel:"noreferrer",children:k(Je,{name:"sesamy",className:"text-xl text-white"})})}),k("div",{className:"flex justify-center space-x-2 text-xs text-white sm:justify-normal md:text-xs"})]})]})})}),k("div",{id:"client-root"})]}),k("script",{type:"module",src:"/u/js/client.js"})]})},Vt=({children:e,className:t})=>k("div",{className:Ue("mb-2 text-sm text-red",t),children:e}),fP=e=>e==="small"?"text-base":e==="medium"?"text-2xl":e==="large"?"text-3xl":"",Ik=({size:e})=>{const t=fP(e);return k("div",{className:"relative inline-block leading-[0]",children:[k(Je,{className:Ue("text-gray-200 dark:text-[#201a41]",{[t]:t}),name:"spinner-circle"}),k(Je,{className:Ue("absolute inset-0 animate-spin text-primary",{[t]:t}),name:"spinner-inner"})]})},qe=({children:e,className:t,Component:n="button",variant:r="primary",href:i,disabled:s,isLoading:a,id:c})=>{const u=n==="a"?{href:i}:{};return k(n,{class:Ue("btn relative w-full rounded-lg text-center",{"px-4 py-5":r!=="custom","bg-primary text-textOnPrimary hover:bg-primaryHover":r==="primary","border border-gray-300 bg-white text-black":r==="secondary","pointer-events-none cursor-not-allowed opacity-40":s,"is-loading":a},"focus:outline-none focus:ring",t),type:"submit",disabled:s,id:c,...u,children:[k("span",{className:"btn-label flex items-center justify-center space-x-2",children:e}),k("div",{className:"btn-spinner absolute left-0 top-0 flex h-full w-full items-center justify-center",children:k(Ik,{size:"medium"})})]})},jk=({connection:e,text:t,icon:n=null,canResize:r=!1,loginSession:i})=>{const s=new URLSearchParams({client_id:i.authParams.client_id,connection:e});i.authParams.response_type&&s.set("response_type",i.authParams.response_type),i.authParams.redirect_uri&&s.set("redirect_uri",i.authParams.redirect_uri),i.authParams.scope&&s.set("scope",i.authParams.scope),i.authParams.nonce&&s.set("nonce",i.authParams.nonce),i.authParams.response_type&&s.set("response_type",i.authParams.response_type),i.authParams.state&&s.set("state",i.id);const a=`/authorize?${s.toString()}`;return k(qe,{className:Ue("border border-gray-200 bg-white hover:bg-gray-100 dark:border-gray-400 dark:bg-black dark:hover:bg-black/90",{"px-0 py-3 sm:px-10 sm:py-4 short:px-0 short:py-3":r,"px-10 py-3":!r}),variant:"custom","aria-label":t,Component:"a",href:a,children:[n||"",k("div",{className:Ue("text-left text-black dark:text-white sm:text-base",{"hidden sm:inline short:hidden":r}),children:t})]})},fn=({children:e,className:t})=>k("form",{id:"form",method:"post",className:t,children:e}),kc=({error:e,theme:t,branding:n,loginSession:r,email:i,client:s,isEmbedded:a,browserName:c})=>{const u=s.connections.map(({strategy:w})=>w),l=u.includes("email")||u.includes("Username-Password-Authentication"),d=u.includes("sms"),f=new Set(["email","sms","Username-Password-Authentication","auth0"]),p=s.connections.filter(w=>!f.has(w.strategy)).filter(w=>w.show_as_button!==!1).map(w=>{const S=cl[w.strategy];return S?{...S,connectionName:w.name,displayName:w.display_name||S.displayName||w.name,iconUrl:w.options.icon_url}:null}).filter(w=>w!==null).filter(w=>!(a&&w.disableEmbeddedBrowsers)),h=l||d;let _="text",g="username";const y=l&&d?"email_or_phone_placeholder":l?"email_placeholder":"phone_placeholder";let m=T.t(y,l&&d?"Email or Phone Number":l?"Email Address":"Phone Number");return k(He,{title:T.t("welcome"),theme:t,branding:n,client:s,children:[k("div",{id:"incognito-warning-container",className:"mb-4 hidden rounded-md border border-yellow-200 bg-yellow-50 p-4 text-sm text-yellow-800 dark:border-yellow-900 dark:bg-yellow-900/20 dark:text-yellow-100",role:"alert",children:k("div",{className:"flex items-start gap-3",children:[k("span",{className:"text-lg leading-none",children:"⚠️"}),k("div",{children:[k("strong",{children:T.t("incognito_mode_detected","Incognito Mode Detected")}),k("p",{className:"mt-1 text-xs opacity-90",children:T.t("incognito_mode_warning","You are in incognito/private mode. Session data may not persist across page refreshes. Some features might not work as expected.")})]})]})}),a&&k("div",{className:"mb-4 rounded-md border border-orange-200 bg-orange-50 p-4 text-sm text-orange-800 dark:border-orange-900 dark:bg-orange-900/20 dark:text-orange-100",role:"alert",children:k("div",{className:"flex items-start gap-3",children:[k("span",{className:"text-lg leading-none",children:"⚠️"}),k("div",{children:[k("strong",{children:T.t("embedded_browser_detected")}),k("p",{className:"mt-1 text-xs opacity-90",children:T.t("embedded_browser_warning",{browserName:c||"app"})})]})]})}),k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("welcome")}),k("div",{className:"mb-8 text-gray-300",children:h?T.t("login_description_template",{authMethod:T.t(y,{defaultValue:l&&d?"email or phone number":l?"email address":"phone number"}).toLocaleLowerCase(),defaultValue:"Sign in with your {{authMethod}}"}):T.t("login_description_social_only","Choose how to login")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[h&&k(fn,{className:"mb-7",children:[k("input",{type:_,name:g,placeholder:m,className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 py-5 text-base lowercase placeholder:normal-case placeholder:text-gray-300 dark:bg-gray-600 md:text-base",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),required:!0,value:i||""}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]})]}),h&&p.length>0&&k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("continue_social_login")})]}),k("div",{className:"flex space-x-4 sm:flex-col sm:space-x-0 sm:space-y-4 short:flex-row short:space-x-4 short:space-y-0",children:p.map(w=>{const S=w.iconUrl||w.logoDataUri;return k(jk,{connection:w.connectionName,text:T.t("continue_with",{provider:w.displayName}),canResize:!0,icon:S?k("img",{src:S,alt:w.displayName,className:"h-5 w-5 sm:absolute sm:left-4 sm:top-1/2 sm:h-6 sm:w-6 sm:-translate-y-1/2 short:static short:left-auto short:top-auto short:h-5 short:w-5 short:translate-y-0"}):null,loginSession:r},w.connectionName)})})]})]})};class hP{parse(t){const n=this.detectEmbedded(t);return{browser:n.browser,isEmbedded:n.isEmbedded}}detectEmbedded(t){const n=[[/wv\)/i,"WebView"],[/GSA\//i,"Google Search App"],[/FBAN\//i,"Facebook"],[/FBAV\//i,"Facebook"],[/Instagram/i,"Instagram"],[/Snapchat/i,"Snapchat"],[/TikTok/i,"TikTok"],[/Twitter/i,"Twitter/X"],[/LinkedIn/i,"LinkedIn"],[/UC Browser/i,"UC Browser"],[/SamsungBrowser/i,"Samsung Internet"],[/Electron/i,"Electron"],[/Tauri/i,"Tauri"]];for(const[r,i]of n)if(r.test(t))return{isEmbedded:!0,browser:{name:i}};return{isEmbedded:!1}}}function n1(e){const n=new hP().parse(e);return{isEmbedded:n.isEmbedded??!1,browserName:n.browser?.name}}const _P=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),impersonation:o.z.string().optional(),error:o.z.string().optional().openapi({description:"Error code from failed authentication"}),error_description:o.z.string().optional().openapi({description:"Human-readable error description"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,error:n,error_description:r}=e.req.valid("query"),{theme:i,branding:s,loginSession:a,client:c}=await je(e,t),u=e.req.header("user-agent")||"",{isEmbedded:l,browserName:d}=n1(u),f=r||n;return e.html(k(kc,{theme:i,branding:s,loginSession:a,client:c,email:a.authParams.username,isEmbedded:l,browserName:d,error:f}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({username:o.z.string().transform(e=>e.toLowerCase()),login_selection:o.z.enum(["code","password"]).optional()})}}}},responses:{400:{description:"Error response"},302:{description:"Redirect to enter code or password"}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),r=e.req.valid("form");e.set("body",r),e.set("username",r.username);const{client:i,loginSession:s,theme:a,branding:c}=await je(e,n);e.set("client_id",i.client_id);const u=e.req.header("user-agent")||"",{isEmbedded:l,browserName:d}=n1(u),f=e.get("countryCode"),{normalized:p,connectionType:h,provider:_}=Fo(r.username,f),g=p?h==="email"?await zo({userAdapter:t.data.users,tenant_id:i.tenant.id,email:p}):await Wn({userAdapter:t.data.users,tenant_id:i.tenant.id,username:p,provider:_}):null;if(!(i.connections.find(A=>A.strategy===h)||g)||!p)return e.html(k(kc,{theme:a,branding:c,loginSession:s,error:T.t("invalid_identifier"),email:r.username,client:i}),400);if(g&&e.set("user_id",g.user_id),!g){const A=await ol(e,i,e.env.data,p,h);if(!A.allowed)return await fe(e,i.tenant.id,{type:pe.FAILED_SIGNUP,description:A.reason||"User account does not exist"}),e.html(k(kc,{theme:a,branding:c,loginSession:s,error:T.t("user_account_does_not_exist"),email:r.username,client:i,isEmbedded:l,browserName:d}),400)}if(s.authParams.username=p,await t.data.loginSessions.update(i.tenant.id,s.id,s),await Ek(e,i,r.username,h,r.login_selection)==="password")return e.redirect(`/u/enter-password?state=${n}`);let v=xn(),w=await t.data.codes.get(i.tenant.id,v,"otp");for(;w;)v=xn(),w=await t.data.codes.get(i.tenant.id,v,"otp");const S=await e.env.data.codes.create(i.tenant.id,{code_id:v,code_type:"otp",login_id:s.id,expires_at:new Date(Date.now()+Ss).toISOString(),redirect_uri:s.authParams.redirect_uri}),b=i.connections.find(A=>A.strategy===h);if(!b)throw new C(400,{message:T.t("connection_not_found",{connection:h})});const x=s.authParams?.ui_locales?.split(" ")?.map(A=>A.split("-")[0])[0];return h==="email"&&b.options.authentication_method==="magic_link"?await od(e,{to:p,code:S.code_id,authParams:s.authParams,language:x}):await id(e,{to:p,code:S.code_id,language:x}),e.redirect(`/u/enter-code?state=${n}`)}),qt=e=>k("a",{className:"block text-primary hover:text-primaryHover text-center",href:`/u/login/identifier?state=${e.state}`,children:T.t("go_back")});var ca="_hp",mP={Change:"Input",DoubleClick:"DblClick"},gP={svg:"2000/svg",math:"1998/Math/MathML"},ua=[],x0=new WeakMap,ko=void 0,yP=()=>ko,Hn=e=>"t"in e,Zd={onClick:["click",!1]},r1=e=>{if(!e.startsWith("on"))return;if(Zd[e])return Zd[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,n,r]=t;return Zd[e]=[(mP[n]||n).toLowerCase(),!!r]}},i1=(e,t)=>ko&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,bP=(e,t,n)=>{t||={};for(let r in t){const i=t[r];if(r!=="children"&&(!n||n[r]!==i)){r=Uu(r);const s=r1(r);if(s){if(n?.[r]!==i&&(n&&e.removeEventListener(s[0],n[r],s[1]),i!=null)){if(typeof i!="function")throw new Error(`Event handler for "${r}" is not a function`);e.addEventListener(s[0],i,s[1])}}else if(r==="dangerouslySetInnerHTML"&&i)e.innerHTML=i.__html;else if(r==="ref"){let a;typeof i=="function"?a=i(e)||(()=>i(null)):i&&"current"in i&&(i.current=e,a=()=>i.current=null),x0.set(e,a)}else if(r==="style"){const a=e.style;typeof i=="string"?a.cssText=i:(a.cssText="",i!=null&&zk(i,a.setProperty.bind(a)))}else{if(r==="value"){const c=e.nodeName;if(c==="INPUT"||c==="TEXTAREA"||c==="SELECT"){if(e.value=i==null||i===!1?null:i,c==="TEXTAREA"){e.textContent=i;continue}else if(c==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(r==="checked"&&e.nodeName==="INPUT"||r==="selected"&&e.nodeName==="OPTION")&&(e[r]=i);const a=i1(e,r);i==null||i===!1?e.removeAttribute(a):i===!0?e.setAttribute(a,""):typeof i=="string"||typeof i=="number"?e.setAttribute(a,i):e.setAttribute(a,i.toString())}}}if(n)for(let r in n){const i=n[r];if(r!=="children"&&!(r in t)){r=Uu(r);const s=r1(r);s?e.removeEventListener(s[0],i,s[1]):r==="ref"?x0.get(e)?.():e.removeAttribute(i1(e,r))}}},vP=(e,t)=>{t[Me][0]=0,ua.push([e,t]);const n=t.tag[f_]||t.tag,r=n.defaultProps?{...n.defaultProps,...t.props}:t.props;try{return[n.call(null,r)]}finally{ua.pop()}},Nk=(e,t,n,r,i)=>{e.vR?.length&&(r.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[Me][1][Rk]?.forEach(s=>i.push(s)),e.vC.forEach(s=>{if(Hn(s))n.push(s);else if(typeof s.tag=="function"||s.tag===""){s.c=t;const a=n.length;if(Nk(s,t,n,r,i),s.s){for(let c=a;c<n.length;c++)n[c].s=!0;s.s=!1}}else n.push(s),s.vR?.length&&(r.push(...s.vR),delete s.vR)})},wP=e=>{for(;e&&(e.tag===ca||!e.e);)e=e.tag===ca||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},Tk=e=>{Hn(e)||(e[Me]?.[1][Rk]?.forEach(t=>t[2]?.()),x0.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>t.p=2),e.vC?.forEach(Tk)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(ms.delete(e),$c.delete(e),delete e[Me][3],e.a=!0)},Pk=(e,t,n)=>{e.c=t,Ok(e,t,n)},o1=(e,t)=>{if(t){for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n}},s1=Symbol(),Ok=(e,t,n)=>{const r=[],i=[],s=[];Nk(e,t,r,i,s),i.forEach(Tk);const a=n?void 0:t.childNodes;let c,u=null;if(n)c=-1;else if(!a.length)c=0;else{const l=o1(a,wP(e.nN));l!==void 0?(u=a[l],c=l):c=o1(a,r.find(d=>d.tag!==ca&&d.e)?.e)??-1,c===-1&&(n=!0)}for(let l=0,d=r.length;l<d;l++,c++){const f=r[l];let p;if(f.s&&f.e)p=f.e,f.s=!1;else{const h=n||!f.e;Hn(f)?(f.e&&f.d&&(f.e.textContent=f.t),f.d=!1,p=f.e||=document.createTextNode(f.t)):(p=f.e||=f.n?document.createElementNS(f.n,f.tag):document.createElement(f.tag),bP(p,f.props,f.pP),Ok(f,p,h))}f.tag===ca?c--:n?p.parentNode||t.appendChild(p):a[c]!==p&&a[c-1]!==p&&(a[c+1]===p?t.appendChild(a[c]):t.insertBefore(p,u||a[c]||null))}if(e.pP&&(e.pP=void 0),s.length){const l=[],d=[];s.forEach(([,f,,p,h])=>{f&&l.push(f),p&&d.push(p),h?.()}),l.forEach(f=>f()),d.length&&requestAnimationFrame(()=>{d.forEach(f=>f())})}},kP=(e,t)=>!!(e&&e.length===t.length&&e.every((n,r)=>n[1]===t[r][1])),$c=new WeakMap,z0=(e,t,n)=>{const r=!n&&t.pC;n&&(t.pC||=t.vC);let i;try{n||=typeof t.tag=="function"?vP(e,t):Ra(t.props.children),n[0]?.tag===""&&n[0][$0]&&(i=n[0][$0],e[5].push([e,i,t]));const s=r?[...t.pC]:t.vC?[...t.vC]:void 0,a=[];let c;for(let u=0;u<n.length;u++){Array.isArray(n[u])&&n.splice(u,1,...n[u].flat());let l=$P(n[u]);if(l){typeof l.tag=="function"&&!l.tag[vk]&&(vo.length>0&&(l[Me][2]=vo.map(f=>[f,f.values.at(-1)])),e[5]?.length&&(l[Me][3]=e[5].at(-1)));let d;if(s&&s.length){const f=s.findIndex(Hn(l)?p=>Hn(p):l.key!==void 0?p=>p.key===l.key&&p.tag===l.tag:p=>p.tag===l.tag);f!==-1&&(d=s[f],s.splice(f,1))}if(d)if(Hn(l))d.t!==l.t&&(d.t=l.t,d.d=!0),l=d;else{const f=d.pP=d.props;if(d.props=l.props,d.f||=l.f||t.f,typeof l.tag=="function"){const p=d[Me][2];d[Me][2]=l[Me][2]||[],d[Me][3]=l[Me][3],!d.f&&((d.o||d)===l.o||d.tag[KT]?.(f,d.props))&&kP(p,d[Me][2])&&(d.s=!0)}l=d}else if(!Hn(l)&&ko){const f=Ho(ko);f&&(l.n=f)}if(!Hn(l)&&!l.s&&(z0(e,l),delete l.f),a.push(l),c&&!c.s&&!l.s)for(let f=c;f&&!Hn(f);f=f.vC?.at(-1))f.nN=l;c=l}}t.vR=r?[...t.vC,...s||[]]:s||[],t.vC=a,r&&delete t.pC}catch(s){if(t.f=!0,s===s1){if(i)return;throw s}const[a,c,u]=t[Me]?.[3]||[];if(c){const l=()=>Sc([0,!1,e[2]],u),d=$c.get(u)||[];d.push(l),$c.set(u,d);const f=c(s,()=>{const p=$c.get(u);if(p){const h=p.indexOf(l);if(h!==-1)return p.splice(h,1),l()}});if(f){if(e[0]===1)e[1]=!0;else if(z0(e,u,[f]),(c.length===1||e!==a)&&u.c){Pk(u,u.c,!1);return}throw s1}}throw s}finally{i&&e[5].pop()}},$P=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[Me]=[0,[]];else{const t=gP[e.tag];t&&(ko||=kk(""),e.props.children=[{tag:ko,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},a1=(e,t)=>{t[Me][2]?.forEach(([n,r])=>{n.values.push(r)});try{z0(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[Me][2]?.forEach(([n])=>{n.values.pop()}),(e[0]!==1||!e[1])&&Pk(t,t.c,!1)},ms=new WeakMap,c1=[],Sc=async(e,t)=>{e[5]||=[];const n=ms.get(t);n&&n[0](void 0);let r;const i=new Promise(s=>r=s);if(ms.set(t,[r,()=>{e[2]?e[2](e,t,s=>{a1(s,t)}).then(()=>r(t)):(a1(e,t),r(t))}]),c1.length)c1.at(-1).add(t);else{await Promise.resolve();const s=ms.get(t);s&&(ms.delete(t),s[1]())}return i},SP=(e,t,n)=>({tag:ca,props:{children:e},key:n,e:t,p:1}),xP=0,Rk=1,zP=2,AP=3,Xd=new WeakMap,Lk=(e,t)=>!e||!t||e.length!==t.length||t.some((n,r)=>n!==e[r]),EP=void 0,u1=[],CP=e=>{const t=()=>typeof e=="function"?e():e,n=ua.at(-1);if(!n)return[t(),()=>{}];const[,r]=n,i=r[Me][1][xP]||=[],s=r[Me][0]++;return i[s]||=[t(),a=>{const c=EP,u=i[s];if(typeof a=="function"&&(a=a(u[0])),!Object.is(a,u[0]))if(u[0]=a,u1.length){const[l,d]=u1.at(-1);Promise.all([l===3?r:Sc([l,!1,c],r),d]).then(([f])=>{if(!f||!(l===2||l===3))return;const p=f.vC;requestAnimationFrame(()=>{setTimeout(()=>{p===f.vC&&Sc([l===3?1:0,!1,c],f)})})})}else Sc([0,!1,c],r)}]},g_=(e,t)=>{const n=ua.at(-1);if(!n)return e;const[,r]=n,i=r[Me][1][zP]||=[],s=r[Me][0]++,a=i[s];return Lk(a?.[1],t)?i[s]=[e,t]:e=i[s][0],e},IP=e=>{const t=Xd.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(n=>Xd.set(e,[n]),n=>Xd.set(e,[void 0,n])),e},jP=(e,t)=>{const n=ua.at(-1);if(!n)return e();const[,r]=n,i=r[Me][1][AP]||=[],s=r[Me][0]++,a=i[s];return Lk(a?.[1],t)&&(i[s]=[e(),t]),i[s][0]},NP=kk({pending:!1,data:null,method:null,action:null}),l1=new Set,TP=e=>{l1.add(e),e.finally(()=>l1.delete(e))},y_=(e,t)=>jP(()=>n=>{let r;e&&(typeof e=="function"?r=e(n)||(()=>{e(null)}):e&&"current"in e&&(e.current=n,r=()=>{e.current=null}));const i=t(n);return()=>{i?.(),r?.()}},[e]),d1=Object.create(null),p1=Object.create(null),Ua=(e,t,n,r,i)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const s=document.head;let{onLoad:a,onError:c,precedence:u,blocking:l,...d}=t,f=null,p=!1;const h=bc[e];let _;if(h.length>0){const v=s.querySelectorAll(e);e:for(const w of v)for(const S of bc[e])if(w.getAttribute(S)===t[S]){f=w;break e}if(!f){const w=h.reduce((S,b)=>t[b]===void 0?S:`${S}-${b}-${t[b]}`,e);p=!p1[w],f=p1[w]||=(()=>{const S=document.createElement(e);for(const b of h)t[b]!==void 0&&S.setAttribute(b,t[b]),t.rel&&S.setAttribute("rel",t.rel);return S})()}}else _=s.querySelectorAll(e);u=r?u??"":void 0,r&&(d[vc]=u);const g=g_(v=>{if(h.length>0){let w=!1;for(const S of s.querySelectorAll(e)){if(w&&S.getAttribute(vc)!==u){s.insertBefore(v,S);return}S.getAttribute(vc)===u&&(w=!0)}s.appendChild(v)}else if(_){let w=!1;for(const S of _)if(S===v){w=!0;break}w||s.insertBefore(v,s.contains(_[0])?_[0]:s.querySelector(e)),_=void 0}},[u]),y=y_(t.ref,v=>{const w=h[0];if(n===2&&(v.innerHTML=""),(p||_)&&g(v),!c&&!a)return;let S=d1[v.getAttribute(w)]||=new Promise((b,x)=>{v.addEventListener("load",b),v.addEventListener("error",x)});a&&(S=S.then(a)),c&&(S=S.catch(c)),S.catch(()=>{})});if(i&&l==="render"){const v=bc[e][0];if(t[v]){const w=t[v],S=d1[w]||=new Promise((b,x)=>{g(f),f.addEventListener("load",b),f.addEventListener("error",x)});IP(S)}}const m={tag:e,type:e,props:{...d,ref:y},ref:y};return m.p=n,f&&(m.e=f),SP(m,s)},PP=e=>{const t=yP();return(t&&Ho(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:Ua("title",e,void 0,!1,!1)},OP=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:Ua("script",e,1,!1,!0),RP=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,Ua("style",e,2,!0,!0)),LP=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:Ua("link",e,1,"precedence"in e,!0),DP=e=>Ua("meta",e,void 0,!1,!1),Dk=Symbol(),UP=e=>{const{action:t,...n}=e;typeof t!="function"&&(n.action=t);const[r,i]=CP([null,!1]),s=g_(async l=>{const d=l.isTrusted?t:l.detail[Dk];if(typeof d!="function")return;l.preventDefault();const f=new FormData(l.target);i([f,!0]);const p=d(f);p instanceof Promise&&(TP(p),await p),i([null,!0])},[]),a=y_(e.ref,l=>(l.addEventListener("submit",s),()=>{l.removeEventListener("submit",s)})),[c,u]=r;return r[1]=!1,{tag:NP,props:{value:{pending:c!==null,data:c,method:c?"post":null,action:c?t:null},children:{tag:"form",props:{...n,ref:a},type:"form",ref:a}},f:u}},Uk=(e,{formAction:t,...n})=>{if(typeof t=="function"){const r=g_(i=>{i.preventDefault(),i.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Dk]:t}}))},[]);n.ref=y_(n.ref,i=>(i.addEventListener("click",r),()=>{i.removeEventListener("click",r)}))}return{tag:e,props:n,type:e,ref:n.ref}},BP=e=>Uk("input",e),MP=e=>Uk("button",e);Object.assign(S0,{title:PP,script:OP,style:RP,link:LP,meta:DP,form:UP,input:BP,button:MP});$k(null);new TextEncoder;const $o=e=>{const{i18nKey:t,values:n,components:r}=e,i=T.t(t,n),s=/<(\d+)>(.*?)<\/\d+>/g,a=[];let c=0,u;for(;(u=s.exec(i))!==null;){const[,l,d]=u,f=i.substring(c,u.index);f&&a.push(f);const p=parseInt(l,10);a.push(sP(r[p],{},d)),c=s.lastIndex}return c<i.length&&a.push(i.substring(c)),k(wo,{children:a})},f1=6,A0=({error:e,theme:t,branding:n,email:r,state:i,client:s,hasPasswordLogin:a})=>{const c=new URLSearchParams({state:i}),l=s.connections.map(({name:d})=>d).includes("auth2");return k(He,{title:T.t("verify_your_email"),theme:t,branding:n,client:s,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("verify_your_email")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"code_sent_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{username:r}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{autoFocus:!0,type:"text",pattern:"[0-9]*",maxLength:f1,inputMode:"numeric",name:"code",placeholder:"******",className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 pb-2 pt-2.5 text-center indent-[5px] font-mono text-3xl placeholder:text-gray-300 dark:bg-gray-600 md:text-3xl",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),minLength:f1,required:!0,id:"code-input"}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("login")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]}),l&&k("div",{className:"text-center mb-12",children:[k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("or")})]}),k(qe,{Component:"a",href:`/u/${a?"enter-password":"pre-signup"}?${c.toString()}`,variant:"secondary",className:"block",children:T.t("enter_your_password_btn")})]})]}),k(qt,{state:i})]})]})},Ft=e=>{const{message:t,theme:n,branding:r,client:i,pageTitle:s,state:a}=e;return k(He,{title:"Login",theme:n,branding:r,client:i,children:[s?k("div",{className:"mb-4 text-2xl font-medium",children:s}):"",k("div",{className:"text-gray-300 mb-12",children:t}),a?k(qt,{state:a}):""]})},qP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state"}),style:o.z.enum(["classic","shadcn"]).optional().openapi({description:"UI style to use for the enter code page"})})},responses:{200:{description:"HTML page to enter verification code.",content:{"text/html":{schema:o.z.string()}}},400:{description:"Bad Request - HTML error page if username is missing in state.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,style:n}=e.req.valid("query");let r,i,s,a;n&&my(e,"auth_ui_style",n,{path:"/",maxAge:3600*24*365,httpOnly:!0,secure:!0,sameSite:"Lax"});try{if({theme:r,branding:i,loginSession:s,client:a}=await je(e,t),!s.authParams.username)return e.html(k(Ft,{theme:r,branding:i,client:a,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("username_not_found_error")||"Username not found in session."}),400);const c=await Wn({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:s.authParams.username,provider:"auth2"});return e.html(k(A0,{theme:r,branding:i,email:s.authParams.username,state:t,client:a,hasPasswordLogin:!!c}))}catch(c){return console.error("Error in GET /u/enter-code:",c),i||(i=null),r||(r=null),a||(a=null),e.html(k(Ft,{theme:r,branding:i,client:a,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("unexpected_error_try_again")||"An unexpected error occurred. Please try again."}),500)}}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state"}),style:o.z.enum(["classic","shadcn"]).optional().openapi({description:"UI style to use for the enter code page"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({code:o.z.string()})}}}},responses:{302:{description:"Redirect to continue authentication flow.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., invalid code, username missing).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page for unexpected issues.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,style:n}=e.req.valid("query"),{code:r}=e.req.valid("form");n&&my(e,"auth_ui_style",n,{path:"/",maxAge:3600*24*365,httpOnly:!0,secure:!0,sameSite:"Lax"});const{theme:i,branding:s,client:a,loginSession:c}=await je(e,t);if(!c.authParams.username)throw new C(400,{message:T.t("username_not_found_error")||"Username not found in session."});try{e.set("client_id",a.client_id);const u=await rd(e,{client_id:a.client_id,authParams:c.authParams,username:c.authParams.username,otp:r});if(u instanceof Response)return u;throw new C(500,{message:T.t("unexpected_error_try_again")||"An unexpected error occurred. Please try again."})}catch(u){let l;try{l=await Wn({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:c.authParams.username,provider:"auth2"})}catch{l=null}return e.html(k(A0,{theme:i,branding:s,email:c.authParams?.username,state:t,client:a,error:u.message,hasPasswordLogin:!!l}),400)}}),Bk=e=>{const{theme:t,branding:n,client:r,state:i}=e;return k(He,{title:T.t("unverified_email"),theme:t,branding:n,client:r,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:[k("p",{className:"mb-8 text-gray-300 text-lg",children:T.t("unverified_email")}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]}),k(qt,{state:i})]}),k(qt,{state:i})]})},FP=({width:e=22,height:t=17,className:n,...r})=>k("svg",{width:e,height:t,className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",...r,children:k("path",{fill:"currentColor",d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32M144 256a144 144 0 1 1 288 0 144 144 0 1 1-288 0m144-64c0 35.3-28.7 64-64 64-7.1 0-13.9-1.2-20.3-3.3-5.5-1.8-11.9 1.6-11.7 7.4.3 6.9 1.3 13.8 3.2 20.7 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7 2.1 6.4 3.3 13.2 3.3 20.3"})}),HP=({width:e=23,height:t=18,className:n,...r})=>k("svg",{width:e,height:t,className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",...r,children:k("path",{fill:"currentColor",d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2s-6.3 25.5 4.1 33.7l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-105.2-82.4c39.6-40.6 66.4-86.1 79.9-118.4 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8zm184.3 144.4c25.5-23.3 59.6-37.5 96.9-37.5 79.5 0 144 64.5 144 144 0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7 2.1 6.4 3.3 13.2 3.3 20.3 0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1-79.5 0-144-64.5-144-144 0-6.9.5-13.6 1.4-20.2l-94.3-74.3c-22.8 29.7-39.1 59.3-48.6 82.2-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47 43.8 111.7 80.6 192.5 80.6 47.8 0 89.9-12.9 126.2-32.5z"})}),E0=({name:e,placeholder:t=T.t("password")})=>k("div",{className:"password-input relative mb-2","data-password-toggle":!0,children:[k("input",{type:"password",name:e,placeholder:t,className:"w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0}),k("button",{type:"button","aria-label":T.t("show_password"),title:T.t("show_password"),className:"absolute right-0 top-0 w-10 h-full rounded-r-lg text-gray-400 column hover:bg-black/5","data-password-toggle-btn":!0,children:[k(FP,{"data-show-icon":!0}),k(HP,{"data-hide-icon":!0,className:"hidden"})]})]}),xc=e=>{const{error:t,theme:n,branding:r,email:i,state:s,client:a}=e,c=new URLSearchParams({state:s});return k(He,{title:T.t("enter_password"),theme:n,branding:r,client:a,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("enter_password")}),k("div",{className:"mb-6 text-gray-300",children:T.t("enter_password_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"mb-7",children:[k("input",{type:"text",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",value:i}),k(E0,{name:"password"}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("login")}),k(Je,{className:"text-xs",name:"arrow-right"})]})]}),k("a",{href:`/u/forgot-password?${c.toString()}`,className:"text-primary hover:underline mb-4",children:T.t("forgot_password_link")}),k("div",{className:"text-center mb-12",children:[k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("or")})]}),k("form",{method:"post",action:`/u/login/identifier?${c.toString()}`,children:[k("input",{type:"hidden",name:"login_selection",value:"code"}),k("input",{type:"hidden",name:"username",value:i}),k(qe,{variant:"secondary",className:"block",children:T.t("enter_a_code_btn")})]})]}),k(qt,{state:s})]})]})},VP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);if(!s.authParams.username)throw new C(400,{message:"Username required"});return e.html(k(xc,{theme:n,branding:r,email:s.authParams.username,state:t,client:i}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string()})}}}},responses:{200:{description:"HTML page indicating success or a next step (if not redirecting).",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to continue the authentication flow (e.g., to client, MFA, consent).",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., invalid password, username required).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML page with an error message.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),n=e.req.valid("form"),{password:r}=n,{theme:i,branding:s,client:a,loginSession:c}=await je(e,t),{username:u}=c.authParams;if(!u)throw new C(400,{message:"Username required"});try{return await Oa(e,a,{...c.authParams,password:r},c)}catch(l){const d=l;return d.code==="INVALID_PASSWORD"||d.code==="USER_NOT_FOUND"?e.html(k(xc,{theme:i,branding:s,email:u,error:T.t("invalid_password"),state:t,client:a}),400):d.code==="EMAIL_NOT_VERIFIED"?e.html(k(Bk,{theme:i,branding:s,client:a,state:t}),400):e.html(k(xc,{theme:i,branding:s,email:u,error:d.message||"An unknown error occurred.",state:t,client:a}),d.code?400:500)}}),Mr=e=>{const{error:t,theme:n,branding:r,client:i,email:s,state:a,code:c}=e;return k(He,{title:T.t("sign_up"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("create_account_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("create_account_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{children:[k("input",{type:"hidden",name:"code",value:c}),k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0,value:s,disabled:!!s}),k("input",{type:"password",name:"password",placeholder:T.t("enter_new_password_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base"}),k("input",{type:"password",name:"re-enter-password",placeholder:T.t("reenter_new_password_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base"}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("continue")})]}),k(qt,{state:a})]})]})},KP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().optional().openapi({description:"The code parameter from an email verification link"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a}=await je(e,t),{username:c}=a.authParams;if(!c)throw new C(400,{message:"Username required"});return n?e.html(k(Mr,{state:t,theme:r,branding:i,client:s,email:c,code:n})):e.html(k(Mr,{state:t,theme:r,branding:i,client:s,email:c}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string(),"re-enter-password":o.z.string(),code:o.z.string().optional()})}}}},responses:{200:{description:"HTML page indicating success (e.g., email verification sent) or a next step.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to continue the authentication flow (e.g., to client, MFA, consent) after successful login.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., passwords don't match, weak password, user exists).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML page with an error message.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),n=e.req.valid("form"),{env:r}=e,{theme:i,branding:s,client:a,loginSession:c}=await je(e,t);try{if(!c.authParams.username)throw new C(400,{message:"Username required"});const l=a.connections.find(v=>v.strategy==="Username-Password-Authentication")?.name||"Username-Password-Authentication";if(e.set("connection",l),n.password!==n["re-enter-password"])return e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:T.t("create_account_passwords_didnt_match"),email:c.authParams.username}),400);const d=await fa(r.data,a.tenant.id,l);try{await pa(d,{tenantId:a.tenant.id,userId:"",newPassword:n.password,data:r.data})}catch(v){let w;return v instanceof vn?w=T.t(v.code,{defaultValue:v.message,...v.params}):w=v?.message||T.t("create_account_weak_password"),e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:w,email:c.authParams.username}),400)}const f=n.code?await r.data.codes.get(a.tenant.id,n.code,"email_verification"):void 0,p=f?await r.data.loginSessions.get(a.tenant.id,f.login_id):void 0;if(await jr({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:c.authParams.username,provider:"auth2"}))return e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:T.t("user_exists_error"),email:c.authParams.username}),400);const _=p?.authParams.username===c.authParams.username,g=`auth2|${So()}`,y=await r.data.users.create(a.tenant.id,{user_id:g,email:c.authParams.username,email_verified:_,provider:"auth2",connection:l,is_social:!1});if(await r.data.passwords.create(a.tenant.id,{user_id:g,password:await Ao.hash(n.password,10),algorithm:"bcrypt",is_current:!0}),!_){const v=c.authParams?.ui_locales?.split(" ")?.map(w=>w.split("-")[0])[0];return await sd(e,y,v),e.html(k(Ft,{message:T.t("validate_email_body"),pageTitle:T.t("validate_email_title"),theme:i,branding:s,client:a,state:t}))}const m=await yk(e,a,{...c.authParams,password:n.password},c);return vt(e,m)}catch(u){let l=T.t("unknown_error_message"),d=400;return u instanceof C?(l=u.message||l,d=u.status===400?400:500):u instanceof Ui?l=u.message||l:u instanceof Error&&(l=u.message||l,d=500),e.html(k(Mr,{state:t,theme:i,branding:s,client:a,error:l,email:c.authParams.username,code:n.code}),d)}}),Bi=e=>{const{error:t,theme:n,branding:r,client:i,email:s}=e;return k(He,{title:T.t("reset_password_title"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("reset_password_title")}),k("div",{className:"mb-6 text-gray-300",children:`${T.t("reset_password_description")} ${s}`}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(fn,{children:[k(E0,{name:"password",placeholder:T.t("enter_new_password_placeholder")}),k(E0,{name:"re-enter-password",placeholder:T.t("reenter_new_password_placeholder")}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("reset_password_cta")})]})})]})},GP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);if(!s.authParams.username)throw new C(400,{message:"Username required"});return e.html(k(Bi,{theme:n,branding:r,client:i,email:s.authParams.username}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string(),"re-enter-password":o.z.string()})}}}},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{password:r,"re-enter-password":i}=e.req.valid("form"),{env:s}=e,{theme:a,branding:c,client:u,loginSession:l}=await je(e,t);if(!l.authParams.username)throw new C(400,{message:"Username required"});if(r!==i)return e.html(k(Bi,{error:T.t("create_account_passwords_didnt_match"),theme:a,branding:c,client:u,email:l.authParams.username}),400);const d=await jr({userAdapter:s.data.users,tenant_id:u.tenant.id,username:l.authParams.username,provider:"auth2"});if(!d)throw new C(400,{message:"User not found"});const f=await fa(s.data,u.tenant.id,d.connection);try{await pa(f,{tenantId:u.tenant.id,userId:d.user_id,newPassword:r,userData:d,data:s.data})}catch(p){const h=p?.message||T.t("create_account_weak_password");return e.html(k(Bi,{error:h,theme:a,branding:c,client:u,email:l.authParams.username}),400)}try{if(!await s.data.codes.get(u.tenant.id,n,"password_reset")){const _=T.t("password_reset_code_expired","Code not found or expired");return e.html(k(Bi,{error:_,theme:a,branding:c,client:u,email:l.authParams.username}),400)}const h=await s.data.passwords.get(u.tenant.id,d.user_id);h&&await s.data.passwords.update(u.tenant.id,{id:h.id,user_id:d.user_id,password:h.password,algorithm:h.algorithm,is_current:!1}),await s.data.passwords.create(u.tenant.id,{user_id:d.user_id,password:await Ao.hash(r,10),algorithm:"bcrypt",is_current:!0}),d.email_verified||await s.data.users.update(u.tenant.id,d.user_id,{email_verified:!0}),await fe(e,u.tenant.id,{type:pe.SUCCESS_CHANGE_PASSWORD,description:`Password changed for ${d.email}`,userId:d.user_id})}catch(p){console.error("Password reset failed:",p);const h=p instanceof Error?p.message:JSON.stringify(p);await fe(e,u.tenant.id,{type:pe.FAILED_CHANGE_PASSWORD,description:`Password reset failed for ${d.email}: ${h}`,userId:d.user_id});let _;return p instanceof vn?_=T.t(p.code,{defaultValue:p.message,...p.params}):_=T.t("password_reset_failed","The password could not be reset"),e.html(k(Bi,{error:_,theme:a,branding:c,client:u,email:l.authParams.username}),400)}return e.html(k(Ft,{message:T.t("password_has_been_reset"),theme:a,branding:c,client:u,state:t}))}),Mk=e=>{const{error:t,theme:n,branding:r,client:i,email:s,state:a}=e;return k(He,{title:T.t("forgot_password_title"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("forgot_password_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("forgot_password_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",value:s,disabled:!!s}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("forgot_password_cta")})]}),k(qt,{state:a})]})]})},qk=e=>{const{theme:t,branding:n,client:r,state:i}=e;return k(He,{title:"Login",theme:t,branding:n,client:r,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{children:T.t("forgot_password_email_sent")}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k(qt,{state:i})]})},WP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);return e.html(k(Mk,{theme:n,branding:r,client:i,state:t,email:s.authParams.username}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);return await PT(e,i,s.authParams.username,s.id),e.html(k(qk,{theme:n,branding:r,client:i,state:t}))}),Fk=({theme:e,branding:t,client:n,state:r,user:i})=>k(He,{title:he("check_email_title"),theme:e,branding:t,client:n,children:k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{className:"mb-8 text-gray-700 dark:text-gray-300",children:[k($o,{i18nKey:"currently_logged_in_as",components:[k("span",{className:"font-semibold text-gray-900 dark:text-white"},"span")],values:{email:i.email||""}}),k("br",{}),he("continue_with_sso_provider_headline")]}),k("div",{className:"space-y-6",children:[k(fn,{children:k(qe,{className:"!text-base",children:k("span",{children:T.t("yes_continue_with_existing_account")})})}),k("a",{className:"block text-center text-primary hover:text-primaryHover focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 dark:focus:ring-offset-gray-900",href:`/u/login/identifier?state=${encodeURIComponent(r)}`,children:T.t("no_use_another")})]})]})}),JP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page to check account status or verify email.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login identifier page if no valid session.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s}=await je(e,n);if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/check-account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);const a=ei(s.tenant.id,e.req.header("cookie")),c=a?await t.data.sessions.get(s.tenant.id,a):null,u=new URL(e.req.url).pathname.startsWith("/u2/")?"/u2":"/u";if(!c||c.revoked_at)return e.redirect(`${u}/login/identifier?state=${n}`);const l=await t.data.users.get(s.tenant.id,c.user_id);return l?e.html(k(Fk,{theme:r,branding:i,client:s,state:n,user:l})):e.redirect(`${u}/login/identifier?state=${n}`)}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{302:{description:"Redirect to continue authentication flow or to login identifier.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page for unexpected issues or if TokenResponse is returned.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a}=await je(e,n);if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in POST /u/check-account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")}),500);const c=ei(s.tenant.id,e.req.header("cookie")),u=c?await t.data.sessions.get(s.tenant.id,c):null,l=new URL(e.req.url).pathname.startsWith("/u2/")?"/u2":"/u";if(!u||u.revoked_at)return e.redirect(`${l}/login/identifier?state=${n}`);const d=await t.data.users.get(s.tenant.id,u.user_id);if(!d)return e.redirect(`${l}/login/identifier?state=${n}`);const f=await vt(e,{user:d,authParams:a.authParams,client:s,loginSession:a,existingSessionIdToLink:u.id});if(!(f instanceof Response))throw new C(500,{message:T.t("unexpected_error_try_again")});return f}),ZP=({width:e=18,height:t=18,className:n})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 640 640",className:n,fill:"currentColor",role:"img",focusable:"false",children:k("path",{d:"M416.9 85.2 372 130.1 509.9 268l44.9-44.9c13.6-13.5 21.2-31.9 21.2-51.1s-7.6-37.6-21.2-51.1l-35.7-35.7C505.6 71.6 487.2 64 468 64s-37.6 7.6-51.1 21.2M338.1 164 122.9 379.1c-10.7 10.7-18.5 24.1-22.6 38.7L64.9 545.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6l215-215.2z"})}),XP=!1,h1=e=>{const{theme:t,branding:n,user:r,client:i,error:s,success:a,state:c,csrfToken:u}=e;return r.identities?.filter(l=>!(l.provider===r.provider&&l.user_id===r.user_id.split("|")[1])),k(He,{title:T.t("account_title")||"Account Settings",theme:t,branding:n,client:i,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("account_title")}),k("div",{className:"mb-8 text-gray-300",children:T.t("account_page_description")}),s&&k(Vt,{className:"mb-8",children:s}),a&&k("div",{className:"mb-8 text-green",children:a}),k("div",{className:"column-left gap-6 border-y border-gray-200/50 py-6 mb-8",children:[k("div",{className:"row-left w-full !justify-between !flex-nowrap gap-4",children:[k("div",{className:"column-left gap-1.5",children:[k("div",{className:"text-gray-300",children:T.t("email_placeholder")}),k("div",{className:"font-medium text-base text-gray-800 line-clamp-1 break-all",children:r.email||T.t("no_email_address")})]}),k("a",{className:"bg-gray-200/40 p-2 rounded-md hover:bg-gray-200/75",title:T.t("edit"),"aria-label":T.t("edit"),href:c?`/u/account/change-email?state=${encodeURIComponent(c)}`:`/u/account/change-email?client_id=${encodeURIComponent(i.client_id)}`,children:k(ZP,{})})]}),XP]})]})},YP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page showing account management interface.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s,user:a,loginSession:c}=await gi(e,n,{continuationScope:"account"});if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);const u=Pe();return await t.data.loginSessions.update(s.tenant.id,c.id,{csrf_token:u}),e.html(k(h1,{theme:r,branding:i,user:a,client:s,state:n,csrfToken:u}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({action:o.z.enum(["unlink_account"]),provider:o.z.string().optional(),user_id:o.z.string().optional(),csrf_token:o.z.string().optional()})}}}},responses:{200:{description:"HTML response with form results",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),r=e.req.valid("form"),{theme:i,branding:s,client:a,user:c,loginSession:u}=await gi(e,n,{continuationScope:"account"});let l,d;try{if(r.action==="unlink_account"&&r.provider&&r.user_id){if(!r.csrf_token||r.csrf_token!==u.csrf_token)throw new Error("Invalid CSRF token");await t.data.users.unlink(a.tenant.id,c.user_id,r.provider,r.user_id),d=T.t("account_unlinked_successfully")||"Account unlinked successfully"}}catch{l=T.t("operation_failed")||"Operation failed"}const f=await t.data.users.get(a.tenant.id,c.user_id),p=Pe();return await t.data.loginSessions.update(a.tenant.id,u.id,{csrf_token:p}),e.html(k(h1,{theme:i,branding:s,user:f||c,client:a,error:l,success:d,state:n,csrfToken:p}))}),_1=e=>{const{theme:t,branding:n,user:r,client:i,state:s,error:a}=e;return k(He,{title:T.t("change_email"),theme:t,branding:n,client:i,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("change_email")}),k("div",{className:"column-left gap-1 mb-8",children:[k("div",{className:"text-gray-300",children:T.t("current_email")}),k("div",{className:"font-medium text-base text-gray-800",children:r.email||T.t("no_email_address")})]}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{children:[k("input",{type:"email",id:"email",name:"email",placeholder:T.t("new_email"),className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",{"border-red":a,"border-gray-100 dark:border-gray-500":!a}),required:!0}),a&&k(Vt,{children:a}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k("span",{className:"uicon-info-bubble text-base"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("new_email_code_info")})]})]}),k("a",{className:"block text-primary hover:text-primaryHover text-center",href:`/u/account?state=${encodeURIComponent(s)}`,children:T.t("go_back")})]})]})},QP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page showing email change interface.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,user:s}=await gi(e,t,{continuationScope:"change-email"});return e.html(k(_1,{theme:n,branding:r,user:s,client:i,state:t}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({email:o.z.string().toLowerCase()})}}}},responses:{200:{description:"HTML response with form results",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to change-email verification page",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{email:r}=e.req.valid("form"),{theme:i,branding:s,client:a,user:c,loginSession:u}=await gi(e,n,{continuationScope:"change-email"}),l=await t.data.users.list(a.tenant.id,{page:1,per_page:1,include_totals:!1,q:`email:"${r}"`});if(l.users.length>0&&l.users[0]?.user_id!==c.user_id)return e.html(k(_1,{theme:i,branding:s,user:c,client:a,state:n,error:T.t("email_already_taken")||"Email is already taken"}));const d=xn(),f=Pe();await t.data.codes.create(a.tenant.id,{code_id:f,login_id:"",code_type:"email_verification",expires_at:new Date(Date.now()+Mp).toISOString(),user_id:c.user_id}),await t.data.codes.create(a.tenant.id,{code_id:d,login_id:"",code_type:"email_verification",expires_at:new Date(Date.now()+Mp).toISOString(),user_id:c.user_id});const p=u.authParams?.ui_locales?.split(" ")?.map(h=>h.split("-")[0])[0];return await id(e,{to:r,code:d,language:p}),fe(e,a.tenant.id,{type:pe.CODE_SENT,description:`Change email verification code sent to ${r}`,userId:c.user_id}),e.redirect(`/u/account/change-email-verify?state=${encodeURIComponent(n)}&email=${encodeURIComponent(r)}&change_id=${f}`)}),m1=6,C0=({error:e,theme:t,branding:n,client:r,email:i,success:s,state:a,redirectUrl:c})=>s?k(He,{title:T.t("success"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("success")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"email_changed_to_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{email:i}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(qe,{Component:"a",href:c||(a?`/u/account?state=${encodeURIComponent(a)}`:`/u/account?client_id=${encodeURIComponent(r.client_id)}`),className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]})})]}):k(He,{title:T.t("verify_email_verify"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("verify_email_verify")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"code_sent_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{username:i}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{autoFocus:!0,type:"text",pattern:"[0-9]*",maxLength:m1,inputMode:"numeric",name:"code",placeholder:"******",className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 pb-2 pt-2.5 text-center indent-[5px] font-mono text-3xl placeholder:text-gray-300 dark:bg-gray-600 md:text-3xl",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),minLength:m1,required:!0,id:"code-input"}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k("a",{className:"block text-primary hover:text-primaryHover text-center",href:a?`/u/account?state=${encodeURIComponent(a)}`:`/u/account?client_id=${encodeURIComponent(r.client_id)}`,children:T.t("go_back")})]})]}),eO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().email(),change_id:o.z.string()})},responses:{200:{description:"HTML page for email change verification",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to account or login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,email:n,change_id:r}=e.req.valid("query"),{theme:i,branding:s,client:a,user:c}=await gi(e,t,{continuationScope:"change-email"}),u=await e.env.data.codes.get(a.tenant.id,r,"email_verification");return!u||u.user_id!==c.user_id?e.redirect(`/u/account?state=${t}`):e.html(k(C0,{theme:i,branding:s,client:a,email:n,state:t}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().toLowerCase(),change_id:o.z.string()}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({code:o.z.string()})}}}},responses:{200:{description:"HTML response with verification result",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to confirmation page on success",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n,email:r,change_id:i}=e.req.valid("query"),{code:s}=e.req.valid("form"),{theme:a,branding:c,client:u,user:l}=await gi(e,n,{continuationScope:"change-email"});let d;try{const f=await t.data.codes.get(u.tenant.id,i,"email_verification");if(!f)d=T.t("invalid_request");else if(f.user_id!==l.user_id)d=T.t("invalid_request");else if(f.used_at)d=T.t("code_already_used");else if(new Date(f.expires_at)<new Date)d=T.t("code_expired");else{const p=await t.data.codes.get(u.tenant.id,s,"email_verification");if(!p)d=T.t("invalid_code");else if(p.used_at)d=T.t("code_already_used");else if(new Date(p.expires_at)<new Date)d=T.t("code_expired");else if(p.user_id!==l.user_id)d=T.t("invalid_code");else if(await t.data.codes.used(u.tenant.id,i),await t.data.codes.used(u.tenant.id,s),!await t.data.users.update(u.tenant.id,l.user_id,{email:r,email_verified:!0}))d=T.t("user_not_found")||"User not found";else{const _=await t.data.users.list(u.tenant.id,{page:0,per_page:100,include_totals:!1,q:`linked_to:${l.user_id}`});for(const g of _.users)await t.data.users.update(u.tenant.id,g.user_id,{email:r,email_verified:!0});return e.redirect(`/u/account/change-email-confirmation?state=${encodeURIComponent(n)}&email=${encodeURIComponent(r)}`)}}}catch(f){fe(e,u.tenant.id,{type:pe.FAILED_CHANGE_EMAIL,description:`Change email failed: ${f instanceof Error?f.message:"Unknown error"}`,userId:l.user_id}),d=T.t("operation_failed")}return e.html(k(C0,{theme:a,branding:c,client:u,email:r,error:d,state:n}))}),tO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().email()})},responses:{200:{description:"HTML page showing email change confirmation",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,email:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a,isContinuation:c}=await gi(e,t,{continuationScope:"change-email"});if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/change-email-confirmation after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);let u=`/u/account?state=${encodeURIComponent(t)}`;if(c&&a.state_data)try{const l=JSON.parse(a.state_data);l.continuationReturnUrl&&(u=l.continuationReturnUrl)}catch{}else a?.authorization_url&&new URL(a.authorization_url).searchParams.get("screen_hint")==="change-email"&&(u=a.authParams?.redirect_uri||u);return e.html(k(C0,{theme:r,branding:i,client:s,email:n,success:!0,state:t,redirectUrl:u}))}),Hk=e=>{const{theme:t,branding:n,client:r,email:i,state:s}=e;return k(He,{title:T.t("create_password_account_title"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("create_password_account_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("enter_email_for_verification_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(fn,{className:"pt-2",children:[k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0,value:i,disabled:!0}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("send")})]})}),k(qt,{state:s})]})},nO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t),{username:a}=s.authParams;if(!a)throw new C(400,{message:"Username required"});return e.html(k(Hk,{state:t,theme:n,branding:r,client:i,email:a}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{loginSession:n,client:r}=await je(e,t),{username:i}=n.authParams;if(!i)throw new C(400,{message:"Username required"});const s=await e.env.data.codes.create(r.tenant.id,{code_id:xn(),code_type:"email_verification",login_id:n.id,expires_at:new Date(Date.now()+Mp).toISOString()});return await CT(e,i,s.code_id,n.id),e.redirect(`/u/pre-signup-sent?state=${t}`)}),Vk=e=>{const{redirectUrl:t,theme:n,branding:r,client:i}=e;return k(He,{title:T.t("invalid_session_title"),theme:n,branding:r,client:i,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:T.t("invalid_session_body")}),k("div",{className:"flex flex-1 flex-col justify-center",children:t&&k("a",{className:"block text-primary hover:text-primaryHover text-center",href:t,children:T.t("go_back")})})]})},rO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string()})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);let a;return s.authParams.redirect_uri&&s.authParams.state&&(a=new URL(s.authParams.redirect_uri),a.searchParams.set("state",s.authParams.state),a.searchParams.set("error","invalid_session"),a.searchParams.set("error_description",s.authParams.username||"")),e.html(k(Vk,{redirectUrl:a?.href,theme:n,branding:r,client:i}))}),iO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i}=await je(e,t);return e.html(k(Ft,{message:"Not implemented",pageTitle:"User info",theme:n,branding:r,client:i,state:t}))}),Kk=({theme:e,branding:t,client:n,state:r})=>{const i=new URLSearchParams({state:r});return k(He,{title:T.t("email_validated"),theme:e,branding:t,client:n,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("email_validated")}),k("div",{className:"flex flex-1 flex-col justify-center mb-7",children:k(qe,{Component:"a",href:`/u/enter-password?${i}`,className:"text-base sm:mt-4 md:text-base",children:k("div",{className:"flex items-center space-x-2",children:[k("span",{children:T.t("email_validated_cta")}),k(Je,{className:"text-xs",name:"arrow-right"})]})})})]})},oO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{env:r}=e,{client:i,loginSession:s,theme:a,branding:c}=await je(e,t),{username:u}=s.authParams;if(!u)throw new C(400,{message:"Username not found in state"});const l=await jr({userAdapter:r.data.users,tenant_id:i.tenant.id,username:u,provider:"auth2"});if(!l)throw new C(500,{message:"No user found"});if(!await r.data.codes.get(i.tenant.id,n,"email_verification"))throw new C(400,{message:"Code not found or expired"});await r.data.users.update(i.tenant.id,l.user_id,{email_verified:!0});const p=(await uh(r.data.users,i.tenant.id,u)).filter(h=>h.provider!=="auth2");if(p.length>0){const h=p.filter(_=>!_.linked_to);h.length>1&&console.error("More than one primary user found for email",u),h.length===0&&console.error("No primary user found for email",u),h.length===1&&await r.data.users.update(i.tenant.id,l.user_id,{linked_to:h[0]?.user_id})}return e.html(k(Kk,{theme:a,branding:c,client:i,state:t}))}),Gk=e=>{const{theme:t,branding:n,client:r,email:i,state:s}=e;return k(He,{title:T.t("sign_up_success"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("email_verification_for_signup_sent_title")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{className:"mb-6 text-gray-300",children:k($o,{i18nKey:"email_verification_for_signup_sent_description",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{email:i}})}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k(qt,{state:s})]})},sO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t),{username:a}=s.authParams;if(!a)throw new C(400,{message:"Username required"});return e.html(k(Gk,{theme:n,branding:r,client:i,state:t,email:a}))}),b_=`
|
|
92
|
+
`},pP="https://assets.sesamy.com/images/login-bg.jpg",He=({title:e,children:t,theme:n,branding:r,client:i})=>{const s={backgroundImage:`url(${n?.page_background?.background_image_url||pP})`};return k("html",{lang:T.language||"en",children:[k("head",{children:[k("title",{children:e}),k("meta",{charset:"UTF-8"}),k("meta",{name:"robots",content:"noindex, follow"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"preload",href:"https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),k("link",{rel:"stylesheet",href:"/u/css/tailwind.css"}),k("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),k("style",{children:dP(n,r)}),k("meta",{name:"theme-color",content:"#000000"}),r?.favicon_url&&k("link",{rel:"icon",type:"image/x-icon",href:r.favicon_url})]}),k("body",{children:[k("div",{className:"row min-h-full w-full overflow-hidden bg-cover bg-center text-sm sm:bg-fixed sm:bg-left-top sm:pt-16 py-2",style:s,children:k("div",{className:"row-up-left w-[calc(100%-theme(space.2)-theme(space.2))] max-w-[1295px] !flex-nowrap sm:w-[calc(100%-theme(space.16)-theme(space.16))]",children:k("div",{className:"column-left w-full sm:w-auto",children:[k("div",{className:"relative flex w-full flex-col rounded-2xl bg-white px-5 py-10 dark:bg-gray-800 dark:text-white sm:min-h-[700px] sm:max-w-md sm:px-14 sm:py-14 md:min-w-[448px] short:min-h-[558px] min-h-[calc(100vh-83px)]",children:[k("div",{className:"mb-16",children:k(m_,{theme:n,branding:r})}),k("div",{className:"flex flex-1 flex-col",children:[t,k(Ck,{theme:n,branding:r,client:i})]})]}),k("div",{className:"flex w-full items-center px-6 pb-8 pt-4 justify-between",children:[k("div",{className:"flex justify-center leading-[0]",children:k("a",{href:"https://sesamy.com",target:"_blank",rel:"noreferrer",children:k(Je,{name:"sesamy",className:"text-xl text-white"})})}),k("div",{className:"flex justify-center space-x-2 text-xs text-white sm:justify-normal md:text-xs"})]})]})})}),k("div",{id:"client-root"})]}),k("script",{type:"module",src:"/u/js/client.js"})]})},Vt=({children:e,className:t})=>k("div",{className:Ue("mb-2 text-sm text-red",t),children:e}),fP=e=>e==="small"?"text-base":e==="medium"?"text-2xl":e==="large"?"text-3xl":"",Ik=({size:e})=>{const t=fP(e);return k("div",{className:"relative inline-block leading-[0]",children:[k(Je,{className:Ue("text-gray-200 dark:text-[#201a41]",{[t]:t}),name:"spinner-circle"}),k(Je,{className:Ue("absolute inset-0 animate-spin text-primary",{[t]:t}),name:"spinner-inner"})]})},qe=({children:e,className:t,Component:n="button",variant:r="primary",href:i,disabled:s,isLoading:a,id:c})=>{const u=n==="a"?{href:i}:{};return k(n,{class:Ue("btn relative w-full rounded-lg text-center",{"px-4 py-5":r!=="custom","bg-primary text-textOnPrimary hover:bg-primaryHover":r==="primary","border border-gray-300 bg-white text-black":r==="secondary","pointer-events-none cursor-not-allowed opacity-40":s,"is-loading":a},"focus:outline-none focus:ring",t),type:"submit",disabled:s,id:c,...u,children:[k("span",{className:"btn-label flex items-center justify-center space-x-2",children:e}),k("div",{className:"btn-spinner absolute left-0 top-0 flex h-full w-full items-center justify-center",children:k(Ik,{size:"medium"})})]})},jk=({connection:e,text:t,icon:n=null,canResize:r=!1,loginSession:i})=>{const s=new URLSearchParams({client_id:i.authParams.client_id,connection:e});i.authParams.response_type&&s.set("response_type",i.authParams.response_type),i.authParams.redirect_uri&&s.set("redirect_uri",i.authParams.redirect_uri),i.authParams.scope&&s.set("scope",i.authParams.scope),i.authParams.nonce&&s.set("nonce",i.authParams.nonce),i.authParams.response_type&&s.set("response_type",i.authParams.response_type),i.authParams.state&&s.set("state",i.id);const a=`/authorize?${s.toString()}`;return k(qe,{className:Ue("border border-gray-200 bg-white hover:bg-gray-100 dark:border-gray-400 dark:bg-black dark:hover:bg-black/90",{"px-0 py-3 sm:px-10 sm:py-4 short:px-0 short:py-3":r,"px-10 py-3":!r}),variant:"custom","aria-label":t,Component:"a",href:a,children:[n||"",k("div",{className:Ue("text-left text-black dark:text-white sm:text-base",{"hidden sm:inline short:hidden":r}),children:t})]})},fn=({children:e,className:t})=>k("form",{id:"form",method:"post",className:t,children:e}),kc=({error:e,theme:t,branding:n,loginSession:r,email:i,client:s,isEmbedded:a,browserName:c})=>{const u=s.connections.map(({strategy:w})=>w),l=u.includes("email")||u.includes("Username-Password-Authentication"),d=u.includes("sms"),f=new Set(["email","sms","Username-Password-Authentication","auth0"]),p=s.connections.filter(w=>!f.has(w.strategy)).filter(w=>w.show_as_button!==!1).map(w=>{const S=cl[w.strategy];return S?{...S,connectionName:w.name,displayName:w.display_name||S.displayName||w.name,iconUrl:w.options.icon_url}:null}).filter(w=>w!==null).filter(w=>!(a&&w.disableEmbeddedBrowsers)),h=l||d;let _="text",g="username";const y=l&&d?"email_or_phone_placeholder":l?"email_placeholder":"phone_placeholder";let m=T.t(y,l&&d?"Email or Phone Number":l?"Email Address":"Phone Number");return k(He,{title:T.t("welcome"),theme:t,branding:n,client:s,children:[k("div",{id:"incognito-warning-container",className:"mb-4 hidden rounded-md border border-yellow-200 bg-yellow-50 p-4 text-sm text-yellow-800 dark:border-yellow-900 dark:bg-yellow-900/20 dark:text-yellow-100",role:"alert",children:k("div",{className:"flex items-start gap-3",children:[k("span",{className:"text-lg leading-none",children:"⚠️"}),k("div",{children:[k("strong",{children:T.t("incognito_mode_detected","Incognito Mode Detected")}),k("p",{className:"mt-1 text-xs opacity-90",children:T.t("incognito_mode_warning","You are in incognito/private mode. Session data may not persist across page refreshes. Some features might not work as expected.")})]})]})}),a&&k("div",{className:"mb-4 rounded-md border border-orange-200 bg-orange-50 p-4 text-sm text-orange-800 dark:border-orange-900 dark:bg-orange-900/20 dark:text-orange-100",role:"alert",children:k("div",{className:"flex items-start gap-3",children:[k("span",{className:"text-lg leading-none",children:"⚠️"}),k("div",{children:[k("strong",{children:T.t("embedded_browser_detected")}),k("p",{className:"mt-1 text-xs opacity-90",children:T.t("embedded_browser_warning",{browserName:c||"app"})})]})]})}),k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("welcome")}),k("div",{className:"mb-8 text-gray-300",children:h?T.t("login_description_template",{authMethod:T.t(y,{defaultValue:l&&d?"email or phone number":l?"email address":"phone number"}).toLocaleLowerCase(),defaultValue:"Sign in with your {{authMethod}}"}):T.t("login_description_social_only","Choose how to login")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[h&&k(fn,{className:"mb-7",children:[k("input",{type:_,name:g,placeholder:m,className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 py-5 text-base lowercase placeholder:normal-case placeholder:text-gray-300 dark:bg-gray-600 md:text-base",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),required:!0,value:i||""}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]})]}),h&&p.length>0&&k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("continue_social_login")})]}),k("div",{className:"flex space-x-4 sm:flex-col sm:space-x-0 sm:space-y-4 short:flex-row short:space-x-4 short:space-y-0",children:p.map(w=>{const S=w.iconUrl||w.logoDataUri;return k(jk,{connection:w.connectionName,text:T.t("continue_with",{provider:w.displayName}),canResize:!0,icon:S?k("img",{src:S,alt:w.displayName,className:"h-5 w-5 sm:absolute sm:left-4 sm:top-1/2 sm:h-6 sm:w-6 sm:-translate-y-1/2 short:static short:left-auto short:top-auto short:h-5 short:w-5 short:translate-y-0"}):null,loginSession:r},w.connectionName)})})]})]})};class hP{parse(t){const n=this.detectEmbedded(t);return{browser:n.browser,isEmbedded:n.isEmbedded}}detectEmbedded(t){const n=[[/wv\)/i,"WebView"],[/GSA\//i,"Google Search App"],[/FBAN\//i,"Facebook"],[/FBAV\//i,"Facebook"],[/Instagram/i,"Instagram"],[/Snapchat/i,"Snapchat"],[/TikTok/i,"TikTok"],[/Twitter/i,"Twitter/X"],[/LinkedIn/i,"LinkedIn"],[/UC Browser/i,"UC Browser"],[/SamsungBrowser/i,"Samsung Internet"],[/Electron/i,"Electron"],[/Tauri/i,"Tauri"]];for(const[r,i]of n)if(r.test(t))return{isEmbedded:!0,browser:{name:i}};return{isEmbedded:!1}}}function n1(e){const n=new hP().parse(e);return{isEmbedded:n.isEmbedded??!1,browserName:n.browser?.name}}const _P=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),impersonation:o.z.string().optional(),error:o.z.string().optional().openapi({description:"Error code from failed authentication"}),error_description:o.z.string().optional().openapi({description:"Human-readable error description"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,error:n,error_description:r}=e.req.valid("query"),{theme:i,branding:s,loginSession:a,client:c}=await je(e,t),u=e.req.header("user-agent")||"",{isEmbedded:l,browserName:d}=n1(u),f=r||n;return e.html(k(kc,{theme:i,branding:s,loginSession:a,client:c,email:a.authParams.username,isEmbedded:l,browserName:d,error:f}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({username:o.z.string().transform(e=>e.toLowerCase()),login_selection:o.z.enum(["code","password"]).optional()})}}}},responses:{400:{description:"Error response"},302:{description:"Redirect to enter code or password"}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),r=e.req.valid("form");e.set("body",r),e.set("username",r.username);const{client:i,loginSession:s,theme:a,branding:c}=await je(e,n);e.set("client_id",i.client_id);const u=e.req.header("user-agent")||"",{isEmbedded:l,browserName:d}=n1(u),f=e.get("countryCode"),{normalized:p,connectionType:h,provider:_}=Fo(r.username,f),g=p?h==="email"?await zo({userAdapter:t.data.users,tenant_id:i.tenant.id,email:p}):await Wn({userAdapter:t.data.users,tenant_id:i.tenant.id,username:p,provider:_}):null;if(!(i.connections.find(A=>A.strategy===h)||g)||!p)return e.html(k(kc,{theme:a,branding:c,loginSession:s,error:T.t("invalid_identifier"),email:r.username,client:i}),400);if(g&&e.set("user_id",g.user_id),!g){const A=await ol(e,i,e.env.data,p,h);if(!A.allowed)return await fe(e,i.tenant.id,{type:pe.FAILED_SIGNUP,description:A.reason||"User account does not exist"}),e.html(k(kc,{theme:a,branding:c,loginSession:s,error:T.t("user_account_does_not_exist"),email:r.username,client:i,isEmbedded:l,browserName:d}),400)}if(s.authParams.username=p,await t.data.loginSessions.update(i.tenant.id,s.id,s),await Ek(e,i,r.username,h,r.login_selection)==="password")return e.redirect(`/u/enter-password?state=${n}`);let v=xn(),w=await t.data.codes.get(i.tenant.id,v,"otp");for(;w;)v=xn(),w=await t.data.codes.get(i.tenant.id,v,"otp");const S=await e.env.data.codes.create(i.tenant.id,{code_id:v,code_type:"otp",login_id:s.id,expires_at:new Date(Date.now()+Ss).toISOString(),redirect_uri:s.authParams.redirect_uri}),b=i.connections.find(A=>A.strategy===h);if(!b)throw new C(400,{message:T.t("connection_not_found",{connection:h})});const x=s.authParams?.ui_locales?.split(" ")?.map(A=>A.split("-")[0])[0];return h==="email"&&b.options.authentication_method==="magic_link"?await od(e,{to:p,code:S.code_id,authParams:s.authParams,language:x}):await id(e,{to:p,code:S.code_id,language:x}),e.redirect(`/u/enter-code?state=${n}`)}),qt=e=>k("a",{className:"block text-primary hover:text-primaryHover text-center",href:`/u/login/identifier?state=${e.state}`,children:T.t("go_back")});var ca="_hp",mP={Change:"Input",DoubleClick:"DblClick"},gP={svg:"2000/svg",math:"1998/Math/MathML"},ua=[],x0=new WeakMap,ko=void 0,yP=()=>ko,Hn=e=>"t"in e,Zd={onClick:["click",!1]},r1=e=>{if(!e.startsWith("on"))return;if(Zd[e])return Zd[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,n,r]=t;return Zd[e]=[(mP[n]||n).toLowerCase(),!!r]}},i1=(e,t)=>ko&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,bP=(e,t,n)=>{t||={};for(let r in t){const i=t[r];if(r!=="children"&&(!n||n[r]!==i)){r=Uu(r);const s=r1(r);if(s){if(n?.[r]!==i&&(n&&e.removeEventListener(s[0],n[r],s[1]),i!=null)){if(typeof i!="function")throw new Error(`Event handler for "${r}" is not a function`);e.addEventListener(s[0],i,s[1])}}else if(r==="dangerouslySetInnerHTML"&&i)e.innerHTML=i.__html;else if(r==="ref"){let a;typeof i=="function"?a=i(e)||(()=>i(null)):i&&"current"in i&&(i.current=e,a=()=>i.current=null),x0.set(e,a)}else if(r==="style"){const a=e.style;typeof i=="string"?a.cssText=i:(a.cssText="",i!=null&&zk(i,a.setProperty.bind(a)))}else{if(r==="value"){const c=e.nodeName;if(c==="INPUT"||c==="TEXTAREA"||c==="SELECT"){if(e.value=i==null||i===!1?null:i,c==="TEXTAREA"){e.textContent=i;continue}else if(c==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(r==="checked"&&e.nodeName==="INPUT"||r==="selected"&&e.nodeName==="OPTION")&&(e[r]=i);const a=i1(e,r);i==null||i===!1?e.removeAttribute(a):i===!0?e.setAttribute(a,""):typeof i=="string"||typeof i=="number"?e.setAttribute(a,i):e.setAttribute(a,i.toString())}}}if(n)for(let r in n){const i=n[r];if(r!=="children"&&!(r in t)){r=Uu(r);const s=r1(r);s?e.removeEventListener(s[0],i,s[1]):r==="ref"?x0.get(e)?.():e.removeAttribute(i1(e,r))}}},vP=(e,t)=>{t[Me][0]=0,ua.push([e,t]);const n=t.tag[f_]||t.tag,r=n.defaultProps?{...n.defaultProps,...t.props}:t.props;try{return[n.call(null,r)]}finally{ua.pop()}},Nk=(e,t,n,r,i)=>{e.vR?.length&&(r.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[Me][1][Rk]?.forEach(s=>i.push(s)),e.vC.forEach(s=>{if(Hn(s))n.push(s);else if(typeof s.tag=="function"||s.tag===""){s.c=t;const a=n.length;if(Nk(s,t,n,r,i),s.s){for(let c=a;c<n.length;c++)n[c].s=!0;s.s=!1}}else n.push(s),s.vR?.length&&(r.push(...s.vR),delete s.vR)})},wP=e=>{for(;e&&(e.tag===ca||!e.e);)e=e.tag===ca||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},Tk=e=>{Hn(e)||(e[Me]?.[1][Rk]?.forEach(t=>t[2]?.()),x0.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>t.p=2),e.vC?.forEach(Tk)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(ms.delete(e),$c.delete(e),delete e[Me][3],e.a=!0)},Pk=(e,t,n)=>{e.c=t,Ok(e,t,n)},o1=(e,t)=>{if(t){for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n}},s1=Symbol(),Ok=(e,t,n)=>{const r=[],i=[],s=[];Nk(e,t,r,i,s),i.forEach(Tk);const a=n?void 0:t.childNodes;let c,u=null;if(n)c=-1;else if(!a.length)c=0;else{const l=o1(a,wP(e.nN));l!==void 0?(u=a[l],c=l):c=o1(a,r.find(d=>d.tag!==ca&&d.e)?.e)??-1,c===-1&&(n=!0)}for(let l=0,d=r.length;l<d;l++,c++){const f=r[l];let p;if(f.s&&f.e)p=f.e,f.s=!1;else{const h=n||!f.e;Hn(f)?(f.e&&f.d&&(f.e.textContent=f.t),f.d=!1,p=f.e||=document.createTextNode(f.t)):(p=f.e||=f.n?document.createElementNS(f.n,f.tag):document.createElement(f.tag),bP(p,f.props,f.pP),Ok(f,p,h))}f.tag===ca?c--:n?p.parentNode||t.appendChild(p):a[c]!==p&&a[c-1]!==p&&(a[c+1]===p?t.appendChild(a[c]):t.insertBefore(p,u||a[c]||null))}if(e.pP&&(e.pP=void 0),s.length){const l=[],d=[];s.forEach(([,f,,p,h])=>{f&&l.push(f),p&&d.push(p),h?.()}),l.forEach(f=>f()),d.length&&requestAnimationFrame(()=>{d.forEach(f=>f())})}},kP=(e,t)=>!!(e&&e.length===t.length&&e.every((n,r)=>n[1]===t[r][1])),$c=new WeakMap,z0=(e,t,n)=>{const r=!n&&t.pC;n&&(t.pC||=t.vC);let i;try{n||=typeof t.tag=="function"?vP(e,t):Ra(t.props.children),n[0]?.tag===""&&n[0][$0]&&(i=n[0][$0],e[5].push([e,i,t]));const s=r?[...t.pC]:t.vC?[...t.vC]:void 0,a=[];let c;for(let u=0;u<n.length;u++){Array.isArray(n[u])&&n.splice(u,1,...n[u].flat());let l=$P(n[u]);if(l){typeof l.tag=="function"&&!l.tag[vk]&&(vo.length>0&&(l[Me][2]=vo.map(f=>[f,f.values.at(-1)])),e[5]?.length&&(l[Me][3]=e[5].at(-1)));let d;if(s&&s.length){const f=s.findIndex(Hn(l)?p=>Hn(p):l.key!==void 0?p=>p.key===l.key&&p.tag===l.tag:p=>p.tag===l.tag);f!==-1&&(d=s[f],s.splice(f,1))}if(d)if(Hn(l))d.t!==l.t&&(d.t=l.t,d.d=!0),l=d;else{const f=d.pP=d.props;if(d.props=l.props,d.f||=l.f||t.f,typeof l.tag=="function"){const p=d[Me][2];d[Me][2]=l[Me][2]||[],d[Me][3]=l[Me][3],!d.f&&((d.o||d)===l.o||d.tag[KT]?.(f,d.props))&&kP(p,d[Me][2])&&(d.s=!0)}l=d}else if(!Hn(l)&&ko){const f=Ho(ko);f&&(l.n=f)}if(!Hn(l)&&!l.s&&(z0(e,l),delete l.f),a.push(l),c&&!c.s&&!l.s)for(let f=c;f&&!Hn(f);f=f.vC?.at(-1))f.nN=l;c=l}}t.vR=r?[...t.vC,...s||[]]:s||[],t.vC=a,r&&delete t.pC}catch(s){if(t.f=!0,s===s1){if(i)return;throw s}const[a,c,u]=t[Me]?.[3]||[];if(c){const l=()=>Sc([0,!1,e[2]],u),d=$c.get(u)||[];d.push(l),$c.set(u,d);const f=c(s,()=>{const p=$c.get(u);if(p){const h=p.indexOf(l);if(h!==-1)return p.splice(h,1),l()}});if(f){if(e[0]===1)e[1]=!0;else if(z0(e,u,[f]),(c.length===1||e!==a)&&u.c){Pk(u,u.c,!1);return}throw s1}}throw s}finally{i&&e[5].pop()}},$P=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[Me]=[0,[]];else{const t=gP[e.tag];t&&(ko||=kk(""),e.props.children=[{tag:ko,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},a1=(e,t)=>{t[Me][2]?.forEach(([n,r])=>{n.values.push(r)});try{z0(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[Me][2]?.forEach(([n])=>{n.values.pop()}),(e[0]!==1||!e[1])&&Pk(t,t.c,!1)},ms=new WeakMap,c1=[],Sc=async(e,t)=>{e[5]||=[];const n=ms.get(t);n&&n[0](void 0);let r;const i=new Promise(s=>r=s);if(ms.set(t,[r,()=>{e[2]?e[2](e,t,s=>{a1(s,t)}).then(()=>r(t)):(a1(e,t),r(t))}]),c1.length)c1.at(-1).add(t);else{await Promise.resolve();const s=ms.get(t);s&&(ms.delete(t),s[1]())}return i},SP=(e,t,n)=>({tag:ca,props:{children:e},key:n,e:t,p:1}),xP=0,Rk=1,zP=2,AP=3,Xd=new WeakMap,Lk=(e,t)=>!e||!t||e.length!==t.length||t.some((n,r)=>n!==e[r]),EP=void 0,u1=[],CP=e=>{const t=()=>typeof e=="function"?e():e,n=ua.at(-1);if(!n)return[t(),()=>{}];const[,r]=n,i=r[Me][1][xP]||=[],s=r[Me][0]++;return i[s]||=[t(),a=>{const c=EP,u=i[s];if(typeof a=="function"&&(a=a(u[0])),!Object.is(a,u[0]))if(u[0]=a,u1.length){const[l,d]=u1.at(-1);Promise.all([l===3?r:Sc([l,!1,c],r),d]).then(([f])=>{if(!f||!(l===2||l===3))return;const p=f.vC;requestAnimationFrame(()=>{setTimeout(()=>{p===f.vC&&Sc([l===3?1:0,!1,c],f)})})})}else Sc([0,!1,c],r)}]},g_=(e,t)=>{const n=ua.at(-1);if(!n)return e;const[,r]=n,i=r[Me][1][zP]||=[],s=r[Me][0]++,a=i[s];return Lk(a?.[1],t)?i[s]=[e,t]:e=i[s][0],e},IP=e=>{const t=Xd.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(n=>Xd.set(e,[n]),n=>Xd.set(e,[void 0,n])),e},jP=(e,t)=>{const n=ua.at(-1);if(!n)return e();const[,r]=n,i=r[Me][1][AP]||=[],s=r[Me][0]++,a=i[s];return Lk(a?.[1],t)&&(i[s]=[e(),t]),i[s][0]},NP=kk({pending:!1,data:null,method:null,action:null}),l1=new Set,TP=e=>{l1.add(e),e.finally(()=>l1.delete(e))},y_=(e,t)=>jP(()=>n=>{let r;e&&(typeof e=="function"?r=e(n)||(()=>{e(null)}):e&&"current"in e&&(e.current=n,r=()=>{e.current=null}));const i=t(n);return()=>{i?.(),r?.()}},[e]),d1=Object.create(null),p1=Object.create(null),Ua=(e,t,n,r,i)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const s=document.head;let{onLoad:a,onError:c,precedence:u,blocking:l,...d}=t,f=null,p=!1;const h=bc[e];let _;if(h.length>0){const v=s.querySelectorAll(e);e:for(const w of v)for(const S of bc[e])if(w.getAttribute(S)===t[S]){f=w;break e}if(!f){const w=h.reduce((S,b)=>t[b]===void 0?S:`${S}-${b}-${t[b]}`,e);p=!p1[w],f=p1[w]||=(()=>{const S=document.createElement(e);for(const b of h)t[b]!==void 0&&S.setAttribute(b,t[b]),t.rel&&S.setAttribute("rel",t.rel);return S})()}}else _=s.querySelectorAll(e);u=r?u??"":void 0,r&&(d[vc]=u);const g=g_(v=>{if(h.length>0){let w=!1;for(const S of s.querySelectorAll(e)){if(w&&S.getAttribute(vc)!==u){s.insertBefore(v,S);return}S.getAttribute(vc)===u&&(w=!0)}s.appendChild(v)}else if(_){let w=!1;for(const S of _)if(S===v){w=!0;break}w||s.insertBefore(v,s.contains(_[0])?_[0]:s.querySelector(e)),_=void 0}},[u]),y=y_(t.ref,v=>{const w=h[0];if(n===2&&(v.innerHTML=""),(p||_)&&g(v),!c&&!a)return;let S=d1[v.getAttribute(w)]||=new Promise((b,x)=>{v.addEventListener("load",b),v.addEventListener("error",x)});a&&(S=S.then(a)),c&&(S=S.catch(c)),S.catch(()=>{})});if(i&&l==="render"){const v=bc[e][0];if(t[v]){const w=t[v],S=d1[w]||=new Promise((b,x)=>{g(f),f.addEventListener("load",b),f.addEventListener("error",x)});IP(S)}}const m={tag:e,type:e,props:{...d,ref:y},ref:y};return m.p=n,f&&(m.e=f),SP(m,s)},PP=e=>{const t=yP();return(t&&Ho(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:Ua("title",e,void 0,!1,!1)},OP=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:Ua("script",e,1,!1,!0),RP=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,Ua("style",e,2,!0,!0)),LP=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:Ua("link",e,1,"precedence"in e,!0),DP=e=>Ua("meta",e,void 0,!1,!1),Dk=Symbol(),UP=e=>{const{action:t,...n}=e;typeof t!="function"&&(n.action=t);const[r,i]=CP([null,!1]),s=g_(async l=>{const d=l.isTrusted?t:l.detail[Dk];if(typeof d!="function")return;l.preventDefault();const f=new FormData(l.target);i([f,!0]);const p=d(f);p instanceof Promise&&(TP(p),await p),i([null,!0])},[]),a=y_(e.ref,l=>(l.addEventListener("submit",s),()=>{l.removeEventListener("submit",s)})),[c,u]=r;return r[1]=!1,{tag:NP,props:{value:{pending:c!==null,data:c,method:c?"post":null,action:c?t:null},children:{tag:"form",props:{...n,ref:a},type:"form",ref:a}},f:u}},Uk=(e,{formAction:t,...n})=>{if(typeof t=="function"){const r=g_(i=>{i.preventDefault(),i.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Dk]:t}}))},[]);n.ref=y_(n.ref,i=>(i.addEventListener("click",r),()=>{i.removeEventListener("click",r)}))}return{tag:e,props:n,type:e,ref:n.ref}},BP=e=>Uk("input",e),MP=e=>Uk("button",e);Object.assign(S0,{title:PP,script:OP,style:RP,link:LP,meta:DP,form:UP,input:BP,button:MP});$k(null);new TextEncoder;const $o=e=>{const{i18nKey:t,values:n,components:r}=e,i=T.t(t,n),s=/<(\d+)>(.*?)<\/\d+>/g,a=[];let c=0,u;for(;(u=s.exec(i))!==null;){const[,l,d]=u,f=i.substring(c,u.index);f&&a.push(f);const p=parseInt(l,10);a.push(sP(r[p],{},d)),c=s.lastIndex}return c<i.length&&a.push(i.substring(c)),k(wo,{children:a})},f1=6,A0=({error:e,theme:t,branding:n,email:r,state:i,client:s,hasPasswordLogin:a})=>{const c=new URLSearchParams({state:i}),l=s.connections.map(({name:d})=>d).includes("auth2");return k(He,{title:T.t("verify_your_email"),theme:t,branding:n,client:s,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("verify_your_email")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"code_sent_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{username:r}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{autoFocus:!0,type:"text",pattern:"[0-9]*",maxLength:f1,inputMode:"numeric",name:"code",placeholder:"******",className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 pb-2 pt-2.5 text-center indent-[5px] font-mono text-3xl placeholder:text-gray-300 dark:bg-gray-600 md:text-3xl",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),minLength:f1,required:!0,id:"code-input"}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("login")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]}),l&&k("div",{className:"text-center mb-12",children:[k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("or")})]}),k(qe,{Component:"a",href:`/u/${a?"enter-password":"pre-signup"}?${c.toString()}`,variant:"secondary",className:"block",children:T.t("enter_your_password_btn")})]})]}),k(qt,{state:i})]})]})},Ft=e=>{const{message:t,theme:n,branding:r,client:i,pageTitle:s,state:a}=e;return k(He,{title:"Login",theme:n,branding:r,client:i,children:[s?k("div",{className:"mb-4 text-2xl font-medium",children:s}):"",k("div",{className:"text-gray-300 mb-12",children:t}),a?k(qt,{state:a}):""]})},qP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state"}),style:o.z.enum(["classic","shadcn"]).optional().openapi({description:"UI style to use for the enter code page"})})},responses:{200:{description:"HTML page to enter verification code.",content:{"text/html":{schema:o.z.string()}}},400:{description:"Bad Request - HTML error page if username is missing in state.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,style:n}=e.req.valid("query");let r,i,s,a;n&&my(e,"auth_ui_style",n,{path:"/",maxAge:3600*24*365,httpOnly:!0,secure:!0,sameSite:"Lax"});try{if({theme:r,branding:i,loginSession:s,client:a}=await je(e,t),!s.authParams.username)return e.html(k(Ft,{theme:r,branding:i,client:a,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("username_not_found_error")||"Username not found in session."}),400);const c=await Wn({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:s.authParams.username,provider:"auth2"});return e.html(k(A0,{theme:r,branding:i,email:s.authParams.username,state:t,client:a,hasPasswordLogin:!!c}))}catch(c){return console.error("Error in GET /u/enter-code:",c),i||(i=null),r||(r=null),a||(a=null),e.html(k(Ft,{theme:r,branding:i,client:a,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("unexpected_error_try_again")||"An unexpected error occurred. Please try again."}),500)}}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state"}),style:o.z.enum(["classic","shadcn"]).optional().openapi({description:"UI style to use for the enter code page"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({code:o.z.string()})}}}},responses:{302:{description:"Redirect to continue authentication flow.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., invalid code, username missing).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page for unexpected issues.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,style:n}=e.req.valid("query"),{code:r}=e.req.valid("form");n&&my(e,"auth_ui_style",n,{path:"/",maxAge:3600*24*365,httpOnly:!0,secure:!0,sameSite:"Lax"});const{theme:i,branding:s,client:a,loginSession:c}=await je(e,t);if(!c.authParams.username)throw new C(400,{message:T.t("username_not_found_error")||"Username not found in session."});try{e.set("client_id",a.client_id);const u=await rd(e,{client_id:a.client_id,authParams:c.authParams,username:c.authParams.username,otp:r});if(u instanceof Response)return u;throw new C(500,{message:T.t("unexpected_error_try_again")||"An unexpected error occurred. Please try again."})}catch(u){let l;try{l=await Wn({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:c.authParams.username,provider:"auth2"})}catch{l=null}return e.html(k(A0,{theme:i,branding:s,email:c.authParams?.username,state:t,client:a,error:u.message,hasPasswordLogin:!!l}),400)}}),Bk=e=>{const{theme:t,branding:n,client:r,state:i}=e;return k(He,{title:T.t("unverified_email"),theme:t,branding:n,client:r,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:[k("p",{className:"mb-8 text-gray-300 text-lg",children:T.t("unverified_email")}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]}),k(qt,{state:i})]}),k(qt,{state:i})]})},FP=({width:e=22,height:t=17,className:n,...r})=>k("svg",{width:e,height:t,className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",...r,children:k("path",{fill:"currentColor",d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32M144 256a144 144 0 1 1 288 0 144 144 0 1 1-288 0m144-64c0 35.3-28.7 64-64 64-7.1 0-13.9-1.2-20.3-3.3-5.5-1.8-11.9 1.6-11.7 7.4.3 6.9 1.3 13.8 3.2 20.7 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7 2.1 6.4 3.3 13.2 3.3 20.3"})}),HP=({width:e=23,height:t=18,className:n,...r})=>k("svg",{width:e,height:t,className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",...r,children:k("path",{fill:"currentColor",d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2s-6.3 25.5 4.1 33.7l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-105.2-82.4c39.6-40.6 66.4-86.1 79.9-118.4 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8zm184.3 144.4c25.5-23.3 59.6-37.5 96.9-37.5 79.5 0 144 64.5 144 144 0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7 2.1 6.4 3.3 13.2 3.3 20.3 0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1-79.5 0-144-64.5-144-144 0-6.9.5-13.6 1.4-20.2l-94.3-74.3c-22.8 29.7-39.1 59.3-48.6 82.2-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47 43.8 111.7 80.6 192.5 80.6 47.8 0 89.9-12.9 126.2-32.5z"})}),E0=({name:e,placeholder:t=T.t("password")})=>k("div",{className:"password-input relative mb-2","data-password-toggle":!0,children:[k("input",{type:"password",name:e,placeholder:t,className:"w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0}),k("button",{type:"button","aria-label":T.t("show_password"),title:T.t("show_password"),className:"absolute right-0 top-0 w-10 h-full rounded-r-lg text-gray-400 column hover:bg-black/5","data-password-toggle-btn":!0,children:[k(FP,{"data-show-icon":!0}),k(HP,{"data-hide-icon":!0,className:"hidden"})]})]}),xc=e=>{const{error:t,theme:n,branding:r,email:i,state:s,client:a}=e,c=new URLSearchParams({state:s});return k(He,{title:T.t("enter_password"),theme:n,branding:r,client:a,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("enter_password")}),k("div",{className:"mb-6 text-gray-300",children:T.t("enter_password_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"mb-7",children:[k("input",{type:"text",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",value:i}),k(E0,{name:"password"}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("login")}),k(Je,{className:"text-xs",name:"arrow-right"})]})]}),k("a",{href:`/u/forgot-password?${c.toString()}`,className:"text-primary hover:underline mb-4",children:T.t("forgot_password_link")}),k("div",{className:"text-center mb-12",children:[k("div",{className:"relative mb-5 block text-center text-gray-300 dark:text-gray-300",children:[k("div",{className:"absolute left-0 right-0 top-1/2 border-b border-gray-200 dark:border-gray-600"}),k("div",{className:"relative inline-block bg-white px-2 dark:bg-gray-800",children:T.t("or")})]}),k("form",{method:"post",action:`/u/login/identifier?${c.toString()}`,children:[k("input",{type:"hidden",name:"login_selection",value:"code"}),k("input",{type:"hidden",name:"username",value:i}),k(qe,{variant:"secondary",className:"block",children:T.t("enter_a_code_btn")})]})]}),k(qt,{state:s})]})]})},VP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);if(!s.authParams.username)throw new C(400,{message:"Username required"});return e.html(k(xc,{theme:n,branding:r,email:s.authParams.username,state:t,client:i}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string()})}}}},responses:{200:{description:"HTML page indicating success or a next step (if not redirecting).",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to continue the authentication flow (e.g., to client, MFA, consent).",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., invalid password, username required).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML page with an error message.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),n=e.req.valid("form"),{password:r}=n,{theme:i,branding:s,client:a,loginSession:c}=await je(e,t),{username:u}=c.authParams;if(!u)throw new C(400,{message:"Username required"});try{return await Oa(e,a,{...c.authParams,password:r},c)}catch(l){const d=l;return d.code==="INVALID_PASSWORD"||d.code==="USER_NOT_FOUND"?e.html(k(xc,{theme:i,branding:s,email:u,error:T.t("invalid_password"),state:t,client:a}),400):d.code==="EMAIL_NOT_VERIFIED"?e.html(k(Bk,{theme:i,branding:s,client:a,state:t}),400):e.html(k(xc,{theme:i,branding:s,email:u,error:d.message||"An unknown error occurred.",state:t,client:a}),d.code?400:500)}}),Mr=e=>{const{error:t,theme:n,branding:r,client:i,email:s,state:a,code:c}=e;return k(He,{title:T.t("sign_up"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("create_account_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("create_account_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{children:[k("input",{type:"hidden",name:"code",value:c}),k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0,value:s,disabled:!!s}),k("input",{type:"password",name:"password",placeholder:T.t("enter_new_password_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base"}),k("input",{type:"password",name:"re-enter-password",placeholder:T.t("reenter_new_password_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base"}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("continue")})]}),k(qt,{state:a})]})]})},KP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().optional().openapi({description:"The code parameter from an email verification link"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a}=await je(e,t),{username:c}=a.authParams;if(!c)throw new C(400,{message:"Username required"});return n?e.html(k(Mr,{state:t,theme:r,branding:i,client:s,email:c,code:n})):e.html(k(Mr,{state:t,theme:r,branding:i,client:s,email:c}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string(),"re-enter-password":o.z.string(),code:o.z.string().optional()})}}}},responses:{200:{description:"HTML page indicating success (e.g., email verification sent) or a next step.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to continue the authentication flow (e.g., to client, MFA, consent) after successful login.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML page with an error message (e.g., passwords don't match, weak password, user exists).",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML page with an error message.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),n=e.req.valid("form"),{env:r}=e,{theme:i,branding:s,client:a,loginSession:c}=await je(e,t);try{if(!c.authParams.username)throw new C(400,{message:"Username required"});const l=a.connections.find(v=>v.strategy==="Username-Password-Authentication")?.name||"Username-Password-Authentication";if(e.set("connection",l),n.password!==n["re-enter-password"])return e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:T.t("create_account_passwords_didnt_match"),email:c.authParams.username}),400);const d=await fa(r.data,a.tenant.id,l);try{await pa(d,{tenantId:a.tenant.id,userId:"",newPassword:n.password,data:r.data})}catch(v){let w;return v instanceof vn?w=T.t(v.code,{defaultValue:v.message,...v.params}):w=v?.message||T.t("create_account_weak_password"),e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:w,email:c.authParams.username}),400)}const f=n.code?await r.data.codes.get(a.tenant.id,n.code,"email_verification"):void 0,p=f?await r.data.loginSessions.get(a.tenant.id,f.login_id):void 0;if(await jr({userAdapter:e.env.data.users,tenant_id:a.tenant.id,username:c.authParams.username,provider:"auth2"}))return e.html(k(Mr,{state:t,code:n.code,theme:i,branding:s,client:a,error:T.t("user_exists_error"),email:c.authParams.username}),400);const _=p?.authParams.username===c.authParams.username,g=`auth2|${So()}`,y=await r.data.users.create(a.tenant.id,{user_id:g,email:c.authParams.username,email_verified:_,provider:"auth2",connection:l,is_social:!1});if(await r.data.passwords.create(a.tenant.id,{user_id:g,password:await Ao.hash(n.password,10),algorithm:"bcrypt",is_current:!0}),!_){const v=c.authParams?.ui_locales?.split(" ")?.map(w=>w.split("-")[0])[0];return await sd(e,y,v),e.html(k(Ft,{message:T.t("validate_email_body"),pageTitle:T.t("validate_email_title"),theme:i,branding:s,client:a,state:t}))}const m=await yk(e,a,{...c.authParams,password:n.password},c);return vt(e,m)}catch(u){let l=T.t("unknown_error_message"),d=400;return u instanceof C?(l=u.message||l,d=u.status===400?400:500):u instanceof Ui?l=u.message||l:u instanceof Error&&(l=u.message||l,d=500),e.html(k(Mr,{state:t,theme:i,branding:s,client:a,error:l,email:c.authParams.username,code:n.code}),d)}}),Bi=e=>{const{error:t,theme:n,branding:r,client:i,email:s}=e;return k(He,{title:T.t("reset_password_title"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("reset_password_title")}),k("div",{className:"mb-6 text-gray-300",children:`${T.t("reset_password_description")} ${s}`}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(fn,{children:[k(E0,{name:"password",placeholder:T.t("enter_new_password_placeholder")}),k(E0,{name:"re-enter-password",placeholder:T.t("reenter_new_password_placeholder")}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("reset_password_cta")})]})})]})},GP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);if(!s.authParams.username)throw new C(400,{message:"Username required"});return e.html(k(Bi,{theme:n,branding:r,client:i,email:s.authParams.username}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({password:o.z.string(),"re-enter-password":o.z.string()})}}}},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{password:r,"re-enter-password":i}=e.req.valid("form"),{env:s}=e,{theme:a,branding:c,client:u,loginSession:l}=await je(e,t);if(!l.authParams.username)throw new C(400,{message:"Username required"});if(r!==i)return e.html(k(Bi,{error:T.t("create_account_passwords_didnt_match"),theme:a,branding:c,client:u,email:l.authParams.username}),400);const d=await jr({userAdapter:s.data.users,tenant_id:u.tenant.id,username:l.authParams.username,provider:"auth2"});if(!d)throw new C(400,{message:"User not found"});const p=u.connections.find(_=>_.strategy==="Username-Password-Authentication")?.name||d.connection,h=await fa(s.data,u.tenant.id,p);try{await pa(h,{tenantId:u.tenant.id,userId:d.user_id,newPassword:r,userData:d,data:s.data})}catch(_){const g=_?.message||T.t("create_account_weak_password");return e.html(k(Bi,{error:g,theme:a,branding:c,client:u,email:l.authParams.username}),400)}try{if(!await s.data.codes.get(u.tenant.id,n,"password_reset")){const y=T.t("password_reset_code_expired","Code not found or expired");return e.html(k(Bi,{error:y,theme:a,branding:c,client:u,email:l.authParams.username}),400)}const g=await s.data.passwords.get(u.tenant.id,d.user_id);g&&await s.data.passwords.update(u.tenant.id,{id:g.id,user_id:d.user_id,password:g.password,algorithm:g.algorithm,is_current:!1}),await s.data.passwords.create(u.tenant.id,{user_id:d.user_id,password:await Ao.hash(r,10),algorithm:"bcrypt",is_current:!0}),d.email_verified||await s.data.users.update(u.tenant.id,d.user_id,{email_verified:!0}),await fe(e,u.tenant.id,{type:pe.SUCCESS_CHANGE_PASSWORD,description:`Password changed for ${d.email}`,userId:d.user_id})}catch(_){console.error("Password reset failed:",_);const g=_ instanceof Error?_.message:JSON.stringify(_);await fe(e,u.tenant.id,{type:pe.FAILED_CHANGE_PASSWORD,description:`Password reset failed for ${d.email}: ${g}`,userId:d.user_id});let y;return _ instanceof vn?y=T.t(_.code,{defaultValue:_.message,..._.params}):y=T.t("password_reset_failed","The password could not be reset"),e.html(k(Bi,{error:y,theme:a,branding:c,client:u,email:l.authParams.username}),400)}return e.html(k(Ft,{message:T.t("password_has_been_reset"),theme:a,branding:c,client:u,state:t}))}),Mk=e=>{const{error:t,theme:n,branding:r,client:i,email:s,state:a}=e;return k(He,{title:T.t("forgot_password_title"),theme:n,branding:r,client:i,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("forgot_password_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("forgot_password_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",value:s,disabled:!!s}),t&&k(Vt,{children:t}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("forgot_password_cta")})]}),k(qt,{state:a})]})]})},qk=e=>{const{theme:t,branding:n,client:r,state:i}=e;return k(He,{title:"Login",theme:t,branding:n,client:r,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{children:T.t("forgot_password_email_sent")}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k(qt,{state:i})]})},WP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);return e.html(k(Mk,{theme:n,branding:r,client:i,state:t,email:s.authParams.username}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);return await PT(e,i,s.authParams.username,s.id),e.html(k(qk,{theme:n,branding:r,client:i,state:t}))}),Fk=({theme:e,branding:t,client:n,state:r,user:i})=>k(He,{title:he("check_email_title"),theme:e,branding:t,client:n,children:k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{className:"mb-8 text-gray-700 dark:text-gray-300",children:[k($o,{i18nKey:"currently_logged_in_as",components:[k("span",{className:"font-semibold text-gray-900 dark:text-white"},"span")],values:{email:i.email||""}}),k("br",{}),he("continue_with_sso_provider_headline")]}),k("div",{className:"space-y-6",children:[k(fn,{children:k(qe,{className:"!text-base",children:k("span",{children:T.t("yes_continue_with_existing_account")})})}),k("a",{className:"block text-center text-primary hover:text-primaryHover focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 dark:focus:ring-offset-gray-900",href:`/u/login/identifier?state=${encodeURIComponent(r)}`,children:T.t("no_use_another")})]})]})}),JP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page to check account status or verify email.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login identifier page if no valid session.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s}=await je(e,n);if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/check-account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);const a=ei(s.tenant.id,e.req.header("cookie")),c=a?await t.data.sessions.get(s.tenant.id,a):null,u=new URL(e.req.url).pathname.startsWith("/u2/")?"/u2":"/u";if(!c||c.revoked_at)return e.redirect(`${u}/login/identifier?state=${n}`);const l=await t.data.users.get(s.tenant.id,c.user_id);return l?e.html(k(Fk,{theme:r,branding:i,client:s,state:n,user:l})):e.redirect(`${u}/login/identifier?state=${n}`)}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{302:{description:"Redirect to continue authentication flow or to login identifier.",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page for unexpected issues or if TokenResponse is returned.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a}=await je(e,n);if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in POST /u/check-account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")}),500);const c=ei(s.tenant.id,e.req.header("cookie")),u=c?await t.data.sessions.get(s.tenant.id,c):null,l=new URL(e.req.url).pathname.startsWith("/u2/")?"/u2":"/u";if(!u||u.revoked_at)return e.redirect(`${l}/login/identifier?state=${n}`);const d=await t.data.users.get(s.tenant.id,u.user_id);if(!d)return e.redirect(`${l}/login/identifier?state=${n}`);const f=await vt(e,{user:d,authParams:a.authParams,client:s,loginSession:a,existingSessionIdToLink:u.id});if(!(f instanceof Response))throw new C(500,{message:T.t("unexpected_error_try_again")});return f}),ZP=({width:e=18,height:t=18,className:n})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 640 640",className:n,fill:"currentColor",role:"img",focusable:"false",children:k("path",{d:"M416.9 85.2 372 130.1 509.9 268l44.9-44.9c13.6-13.5 21.2-31.9 21.2-51.1s-7.6-37.6-21.2-51.1l-35.7-35.7C505.6 71.6 487.2 64 468 64s-37.6 7.6-51.1 21.2M338.1 164 122.9 379.1c-10.7 10.7-18.5 24.1-22.6 38.7L64.9 545.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6l215-215.2z"})}),XP=!1,h1=e=>{const{theme:t,branding:n,user:r,client:i,error:s,success:a,state:c,csrfToken:u}=e;return r.identities?.filter(l=>!(l.provider===r.provider&&l.user_id===r.user_id.split("|")[1])),k(He,{title:T.t("account_title")||"Account Settings",theme:t,branding:n,client:i,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("account_title")}),k("div",{className:"mb-8 text-gray-300",children:T.t("account_page_description")}),s&&k(Vt,{className:"mb-8",children:s}),a&&k("div",{className:"mb-8 text-green",children:a}),k("div",{className:"column-left gap-6 border-y border-gray-200/50 py-6 mb-8",children:[k("div",{className:"row-left w-full !justify-between !flex-nowrap gap-4",children:[k("div",{className:"column-left gap-1.5",children:[k("div",{className:"text-gray-300",children:T.t("email_placeholder")}),k("div",{className:"font-medium text-base text-gray-800 line-clamp-1 break-all",children:r.email||T.t("no_email_address")})]}),k("a",{className:"bg-gray-200/40 p-2 rounded-md hover:bg-gray-200/75",title:T.t("edit"),"aria-label":T.t("edit"),href:c?`/u/account/change-email?state=${encodeURIComponent(c)}`:`/u/account/change-email?client_id=${encodeURIComponent(i.client_id)}`,children:k(ZP,{})})]}),XP]})]})},YP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page showing account management interface.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{theme:r,branding:i,client:s,user:a,loginSession:c}=await gi(e,n,{continuationScope:"account"});if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/account after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:n,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);const u=Pe();return await t.data.loginSessions.update(s.tenant.id,c.id,{csrf_token:u}),e.html(k(h1,{theme:r,branding:i,user:a,client:s,state:n,csrfToken:u}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({action:o.z.enum(["unlink_account"]),provider:o.z.string().optional(),user_id:o.z.string().optional(),csrf_token:o.z.string().optional()})}}}},responses:{200:{description:"HTML response with form results",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),r=e.req.valid("form"),{theme:i,branding:s,client:a,user:c,loginSession:u}=await gi(e,n,{continuationScope:"account"});let l,d;try{if(r.action==="unlink_account"&&r.provider&&r.user_id){if(!r.csrf_token||r.csrf_token!==u.csrf_token)throw new Error("Invalid CSRF token");await t.data.users.unlink(a.tenant.id,c.user_id,r.provider,r.user_id),d=T.t("account_unlinked_successfully")||"Account unlinked successfully"}}catch{l=T.t("operation_failed")||"Operation failed"}const f=await t.data.users.get(a.tenant.id,c.user_id),p=Pe();return await t.data.loginSessions.update(a.tenant.id,u.id,{csrf_token:p}),e.html(k(h1,{theme:i,branding:s,user:f||c,client:a,error:l,success:d,state:n,csrfToken:p}))}),_1=e=>{const{theme:t,branding:n,user:r,client:i,state:s,error:a}=e;return k(He,{title:T.t("change_email"),theme:t,branding:n,client:i,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("change_email")}),k("div",{className:"column-left gap-1 mb-8",children:[k("div",{className:"text-gray-300",children:T.t("current_email")}),k("div",{className:"font-medium text-base text-gray-800",children:r.email||T.t("no_email_address")})]}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{children:[k("input",{type:"email",id:"email",name:"email",placeholder:T.t("new_email"),className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",{"border-red":a,"border-gray-100 dark:border-gray-500":!a}),required:!0}),a&&k(Vt,{children:a}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k("span",{className:"uicon-info-bubble text-base"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("new_email_code_info")})]})]}),k("a",{className:"block text-primary hover:text-primaryHover text-center",href:`/u/account?state=${encodeURIComponent(s)}`,children:T.t("go_back")})]})]})},QP=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"HTML page showing email change interface.",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,user:s}=await gi(e,t,{continuationScope:"change-email"});return e.html(k(_1,{theme:n,branding:r,user:s,client:i,state:t}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({email:o.z.string().toLowerCase()})}}}},responses:{200:{description:"HTML response with form results",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to change-email verification page",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n}=e.req.valid("query"),{email:r}=e.req.valid("form"),{theme:i,branding:s,client:a,user:c,loginSession:u}=await gi(e,n,{continuationScope:"change-email"}),l=await t.data.users.list(a.tenant.id,{page:1,per_page:1,include_totals:!1,q:`email:"${r}"`});if(l.users.length>0&&l.users[0]?.user_id!==c.user_id)return e.html(k(_1,{theme:i,branding:s,user:c,client:a,state:n,error:T.t("email_already_taken")||"Email is already taken"}));const d=xn(),f=Pe();await t.data.codes.create(a.tenant.id,{code_id:f,login_id:"",code_type:"email_verification",expires_at:new Date(Date.now()+Mp).toISOString(),user_id:c.user_id}),await t.data.codes.create(a.tenant.id,{code_id:d,login_id:"",code_type:"email_verification",expires_at:new Date(Date.now()+Mp).toISOString(),user_id:c.user_id});const p=u.authParams?.ui_locales?.split(" ")?.map(h=>h.split("-")[0])[0];return await id(e,{to:r,code:d,language:p}),fe(e,a.tenant.id,{type:pe.CODE_SENT,description:`Change email verification code sent to ${r}`,userId:c.user_id}),e.redirect(`/u/account/change-email-verify?state=${encodeURIComponent(n)}&email=${encodeURIComponent(r)}&change_id=${f}`)}),m1=6,C0=({error:e,theme:t,branding:n,client:r,email:i,success:s,state:a,redirectUrl:c})=>s?k(He,{title:T.t("success"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("success")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"email_changed_to_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{email:i}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(qe,{Component:"a",href:c||(a?`/u/account?state=${encodeURIComponent(a)}`:`/u/account?client_id=${encodeURIComponent(r.client_id)}`),className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]})})]}):k(He,{title:T.t("verify_email_verify"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-2xl font-medium",children:T.t("verify_email_verify")}),k("div",{className:"mb-8 text-gray-300",children:k($o,{i18nKey:"code_sent_template",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{username:i}})}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k(fn,{className:"pt-2",children:[k("input",{autoFocus:!0,type:"text",pattern:"[0-9]*",maxLength:m1,inputMode:"numeric",name:"code",placeholder:"******",className:Ue("mb-2 w-full rounded-lg border bg-gray-100 px-4 pb-2 pt-2.5 text-center indent-[5px] font-mono text-3xl placeholder:text-gray-300 dark:bg-gray-600 md:text-3xl",{"border-red":e,"border-gray-100 dark:border-gray-500":!e}),minLength:m1,required:!0,id:"code-input"}),e&&k(Vt,{children:e}),k(qe,{className:"sm:mt-4 !text-base",children:[k("span",{children:T.t("continue")}),k(Je,{className:"text-xs",name:"arrow-right"})]}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k("a",{className:"block text-primary hover:text-primaryHover text-center",href:a?`/u/account?state=${encodeURIComponent(a)}`:`/u/account?client_id=${encodeURIComponent(r.client_id)}`,children:T.t("go_back")})]})]}),eO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().email(),change_id:o.z.string()})},responses:{200:{description:"HTML page for email change verification",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to account or login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,email:n,change_id:r}=e.req.valid("query"),{theme:i,branding:s,client:a,user:c}=await gi(e,t,{continuationScope:"change-email"}),u=await e.env.data.codes.get(a.tenant.id,r,"email_verification");return!u||u.user_id!==c.user_id?e.redirect(`/u/account?state=${t}`):e.html(k(C0,{theme:i,branding:s,client:a,email:n,state:t}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().toLowerCase(),change_id:o.z.string()}),body:{content:{"application/x-www-form-urlencoded":{schema:o.z.object({code:o.z.string()})}}}},responses:{200:{description:"HTML response with verification result",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to confirmation page on success",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{env:t}=e,{state:n,email:r,change_id:i}=e.req.valid("query"),{code:s}=e.req.valid("form"),{theme:a,branding:c,client:u,user:l}=await gi(e,n,{continuationScope:"change-email"});let d;try{const f=await t.data.codes.get(u.tenant.id,i,"email_verification");if(!f)d=T.t("invalid_request");else if(f.user_id!==l.user_id)d=T.t("invalid_request");else if(f.used_at)d=T.t("code_already_used");else if(new Date(f.expires_at)<new Date)d=T.t("code_expired");else{const p=await t.data.codes.get(u.tenant.id,s,"email_verification");if(!p)d=T.t("invalid_code");else if(p.used_at)d=T.t("code_already_used");else if(new Date(p.expires_at)<new Date)d=T.t("code_expired");else if(p.user_id!==l.user_id)d=T.t("invalid_code");else if(await t.data.codes.used(u.tenant.id,i),await t.data.codes.used(u.tenant.id,s),!await t.data.users.update(u.tenant.id,l.user_id,{email:r,email_verified:!0}))d=T.t("user_not_found")||"User not found";else{const _=await t.data.users.list(u.tenant.id,{page:0,per_page:100,include_totals:!1,q:`linked_to:${l.user_id}`});for(const g of _.users)await t.data.users.update(u.tenant.id,g.user_id,{email:r,email_verified:!0});return e.redirect(`/u/account/change-email-confirmation?state=${encodeURIComponent(n)}&email=${encodeURIComponent(r)}`)}}}catch(f){fe(e,u.tenant.id,{type:pe.FAILED_CHANGE_EMAIL,description:`Change email failed: ${f instanceof Error?f.message:"Unknown error"}`,userId:l.user_id}),d=T.t("operation_failed")}return e.html(k(C0,{theme:a,branding:c,client:u,email:r,error:d,state:n}))}),tO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),email:o.z.string().email()})},responses:{200:{description:"HTML page showing email change confirmation",content:{"text/html":{schema:o.z.string()}}},302:{description:"Redirect to login if no session",headers:o.z.object({Location:o.z.string().url()})},400:{description:"Bad Request - HTML error page if state is missing or other input error.",content:{"text/html":{schema:o.z.string()}}},500:{description:"Internal Server Error - HTML error page.",content:{"text/html":{schema:o.z.string()}}}}}),async e=>{const{state:t,email:n}=e.req.valid("query"),{theme:r,branding:i,client:s,loginSession:a,isContinuation:c}=await gi(e,t,{continuationScope:"change-email"});if(!s||!s.tenant?.id)return console.error("Client or tenant ID missing in GET /u/change-email-confirmation after initJSXRoute"),e.html(k(Ft,{theme:r,branding:i,client:s,state:t,pageTitle:T.t("error_page_title")||"Error",message:T.t("configuration_error_message")||"A configuration error occurred."}),500);let u=`/u/account?state=${encodeURIComponent(t)}`;if(c&&a.state_data)try{const l=JSON.parse(a.state_data);l.continuationReturnUrl&&(u=l.continuationReturnUrl)}catch{}else a?.authorization_url&&new URL(a.authorization_url).searchParams.get("screen_hint")==="change-email"&&(u=a.authParams?.redirect_uri||u);return e.html(k(C0,{theme:r,branding:i,client:s,email:n,success:!0,state:t,redirectUrl:u}))}),Hk=e=>{const{theme:t,branding:n,client:r,email:i,state:s}=e;return k(He,{title:T.t("create_password_account_title"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("create_password_account_title")}),k("div",{className:"mb-6 text-gray-300",children:T.t("enter_email_for_verification_description")}),k("div",{className:"flex flex-1 flex-col justify-center",children:k(fn,{className:"pt-2",children:[k("input",{type:"email",name:"username",placeholder:T.t("email_placeholder"),className:"mb-2 w-full rounded-lg bg-gray-100 px-4 py-5 text-base placeholder:text-gray-300 dark:bg-gray-600 md:text-base",required:!0,value:i,disabled:!0}),k(qe,{className:"sm:mt-4 !text-base",children:T.t("send")})]})}),k(qt,{state:s})]})},nO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t),{username:a}=s.authParams;if(!a)throw new C(400,{message:"Username required"});return e.html(k(Hk,{state:t,theme:n,branding:r,client:i,email:a}))}).openapi(o.createRoute({tags:["login"],method:"post",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{loginSession:n,client:r}=await je(e,t),{username:i}=n.authParams;if(!i)throw new C(400,{message:"Username required"});const s=await e.env.data.codes.create(r.tenant.id,{code_id:xn(),code_type:"email_verification",login_id:n.id,expires_at:new Date(Date.now()+Mp).toISOString()});return await CT(e,i,s.code_id,n.id),e.redirect(`/u/pre-signup-sent?state=${t}`)}),Vk=e=>{const{redirectUrl:t,theme:n,branding:r,client:i}=e;return k(He,{title:T.t("invalid_session_title"),theme:n,branding:r,client:i,children:[k("div",{className:"flex flex-1 flex-col justify-center",children:T.t("invalid_session_body")}),k("div",{className:"flex flex-1 flex-col justify-center",children:t&&k("a",{className:"block text-primary hover:text-primaryHover text-center",href:t,children:T.t("go_back")})})]})},rO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string()})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t);let a;return s.authParams.redirect_uri&&s.authParams.state&&(a=new URL(s.authParams.redirect_uri),a.searchParams.set("state",s.authParams.state),a.searchParams.set("error","invalid_session"),a.searchParams.set("error_description",s.authParams.username||"")),e.html(k(Vk,{redirectUrl:a?.href,theme:n,branding:r,client:i}))}),iO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i}=await je(e,t);return e.html(k(Ft,{message:"Not implemented",pageTitle:"User info",theme:n,branding:r,client:i,state:t}))}),Kk=({theme:e,branding:t,client:n,state:r})=>{const i=new URLSearchParams({state:r});return k(He,{title:T.t("email_validated"),theme:e,branding:t,client:n,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("email_validated")}),k("div",{className:"flex flex-1 flex-col justify-center mb-7",children:k(qe,{Component:"a",href:`/u/enter-password?${i}`,className:"text-base sm:mt-4 md:text-base",children:k("div",{className:"flex items-center space-x-2",children:[k("span",{children:T.t("email_validated_cta")}),k(Je,{className:"text-xs",name:"arrow-right"})]})})})]})},oO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"}),code:o.z.string().openapi({description:"The code parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t,code:n}=e.req.valid("query"),{env:r}=e,{client:i,loginSession:s,theme:a,branding:c}=await je(e,t),{username:u}=s.authParams;if(!u)throw new C(400,{message:"Username not found in state"});const l=await jr({userAdapter:r.data.users,tenant_id:i.tenant.id,username:u,provider:"auth2"});if(!l)throw new C(500,{message:"No user found"});if(!await r.data.codes.get(i.tenant.id,n,"email_verification"))throw new C(400,{message:"Code not found or expired"});await r.data.users.update(i.tenant.id,l.user_id,{email_verified:!0});const p=(await uh(r.data.users,i.tenant.id,u)).filter(h=>h.provider!=="auth2");if(p.length>0){const h=p.filter(_=>!_.linked_to);h.length>1&&console.error("More than one primary user found for email",u),h.length===0&&console.error("No primary user found for email",u),h.length===1&&await r.data.users.update(i.tenant.id,l.user_id,{linked_to:h[0]?.user_id})}return e.html(k(Kk,{theme:a,branding:c,client:i,state:t}))}),Gk=e=>{const{theme:t,branding:n,client:r,email:i,state:s}=e;return k(He,{title:T.t("sign_up_success"),theme:t,branding:n,client:r,children:[k("div",{className:"mb-4 text-lg font-medium sm:text-2xl",children:T.t("email_verification_for_signup_sent_title")}),k("div",{className:"flex flex-1 flex-col justify-center",children:[k("div",{className:"mb-6 text-gray-300",children:k($o,{i18nKey:"email_verification_for_signup_sent_description",components:[k("span",{className:"text-black dark:text-white"},"span")],values:{email:i}})}),k("div",{className:"my-4 flex space-x-2 text-sm text-[#B2B2B2]",children:[k(Je,{className:"text-base",name:"info-bubble"}),k("div",{className:"text-sm text-gray-300 md:text-sm",children:T.t("sent_code_spam")})]})]}),k(qt,{state:s})]})},sO=new o.OpenAPIHono().openapi(o.createRoute({tags:["login"],method:"get",path:"/",request:{query:o.z.object({state:o.z.string().openapi({description:"The state parameter from the authorization request"})})},responses:{200:{description:"Response"}}}),async e=>{const{state:t}=e.req.valid("query"),{theme:n,branding:r,client:i,loginSession:s}=await je(e,t),{username:a}=s.authParams;if(!a)throw new C(400,{message:"Username required"});return e.html(k(Gk,{theme:n,branding:r,client:i,state:t,email:a}))}),b_=`
|
|
93
93
|
@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:400;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2) format("woff2")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:500;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2) format("woff2")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:600;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2) format("woff2")}@font-face{font-family:uicon;src:url(https://login2.sesamy.com/_next/static/media/uicon.0b00e08a.woff2)}[class*=" uicon-"],[class^=uicon-]{font-family:uicon!important;font-size:inherit;font-style:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.uicon-apple:before{content:"\\ea01"}.uicon-arrow-down:before{content:"\\ea02"}.uicon-arrow-left:before{content:"\\ea03"}.uicon-arrow-right:before{content:"\\ea04"}.uicon-arrow-up:before{content:"\\ea05"}.uicon-facebook:before{content:"\\ea06"}.uicon-google:before{content:"\\ea07"}.uicon-info-bubble:before{content:"\\ea08"}.uicon-info:before{content:"\\ea09"}.uicon-sesamy:before{content:"\\ea0a"}.uicon-spinner-circle:before{content:"\\ea0b"}.uicon-spinner-inner:before{content:"\\ea0c"}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }
|
|
94
94
|
|
|
95
95
|
/*! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #bfbcd7;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:KHTeka,Helvetica Neue,HelveticaNeue,TeX Gyre Heros,TeXGyreHeros,FreeSans,Nimbus Sans L,Liberation Sans,Arimo,Helvetica,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#4b4a58;opacity:1}input::placeholder,textarea::placeholder{color:#4b4a58;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}body,html{height:100%}body{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity,1));font-size:1rem;letter-spacing:.0125rem;line-height:120%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:1280px){body{font-size:1.125rem;line-height:120%}}body:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}button,input,optgroup,select,textarea{font-size:.875rem;letter-spacing:.0125rem;line-height:120%}@media (min-width:1280px){button,input,optgroup,select,textarea{font-size:1rem;line-height:120%}}h1{font-size:1.5rem;font-weight:500;line-height:120%}@media (min-width:1280px){h1{font-size:2rem;line-height:120%}}@media (min-width:640px){h1{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}@media (min-width:1280px){h1{font-size:3.5rem;letter-spacing:-.0625rem;line-height:100%}}h2{font-size:1.25rem;font-weight:500;line-height:120%}@media (min-width:1280px){h2{font-size:1.5rem;line-height:120%}}@media (min-width:640px){h2{font-size:2rem;letter-spacing:0;line-height:120%}}@media (min-width:1280px){h2{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}h3{font-size:1.125rem;font-weight:500;line-height:120%}@media (min-width:1280px){h3{font-size:1.25rem;line-height:120%}}@media (min-width:640px){h3{font-size:1.5rem;line-height:120%}}@media (min-width:1280px){h3{font-size:2rem;line-height:120%}}h4{font-size:1rem;font-weight:500;line-height:120%}@media (min-width:1280px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:640px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:1280px){h4{font-size:1.5rem;line-height:120%}}h5{font-size:.875rem;font-weight:500;line-height:120%}@media (min-width:1280px){h5{font-size:1rem;line-height:120%}}@media (min-width:640px){h5{font-size:1rem;line-height:120%}}@media (min-width:1280px){h5{font-size:1.125rem;line-height:120%}}h6{font-size:.75rem;font-weight:500;line-height:135%}@media (min-width:1280px){h6{font-size:.875rem;line-height:120%}}@media (min-width:640px){h6{font-size:.875rem;line-height:120%}}@media (min-width:1280px){h6{font-size:1rem;line-height:120%}}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1920px){.container{max-width:1920px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1\\/2{top:50%}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-1{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-\\[calc\\(100vh-83px\\)\\]{min-height:calc(100vh - 83px)}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-9{width:2.25rem}.w-\\[calc\\(100\\%-theme\\(space\\.2\\)-theme\\(space\\.2\\)\\)\\]{width:calc(100% - 1rem)}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-\\[1295px\\]{max-width:1295px}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.375rem*var(--tw-space-y-reverse));margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded-2xl{border-radius:1.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.625rem}.rounded-md{border-radius:.375rem}.rounded-r-lg{border-bottom-right-radius:.625rem;border-top-right-radius:.625rem}.border{border-width:1px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(248 249 251/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(191 188 215/var(--tw-border-opacity,1))}.border-gray-200\\/50{border-color:rgba(191,188,215,.5)}.border-gray-300{--tw-border-opacity:1;border-color:rgb(136 134 159/var(--tw-border-opacity,1))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity,1))}.border-red{--tw-border-opacity:1;border-color:rgb(252 90 90/var(--tw-border-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity,1))}.bg-gray-200\\/40{background-color:rgba(191,188,215,.4)}.bg-primary{background-color:var(--primary-color)}.bg-primaryHover{background-color:var(--primary-hover)}.bg-red\\/80{background-color:rgba(252,90,90,.8)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pl-12{padding-left:3rem}.pl-6{padding-left:1.5rem}.pr-12{padding-right:3rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.indent-\\[5px\\]{text-indent:5px}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base{font-size:1rem!important;line-height:120%!important}.\\!text-xs{font-size:.75rem!important;line-height:135%!important}.text-2xl{font-size:1.5rem;line-height:120%}.text-3xl{font-size:2rem;line-height:120%}.text-base{font-size:1rem;line-height:120%}.text-lg{font-size:1.125rem;line-height:120%}.text-sm{font-size:.875rem;line-height:120%}.text-xl{font-size:1.25rem;line-height:120%}.text-xs{font-size:.75rem;line-height:135%}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.leading-\\[0\\]{line-height:0}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-\\[\\#B2B2B2\\]{--tw-text-opacity:1;color:rgb(178 178 178/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(191 188 215/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(59 57 70/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(20 20 26/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(8 8 14/var(--tw-text-opacity,1))}.text-green{--tw-text-opacity:1;color:rgb(54 191 118/var(--tw-text-opacity,1))}.text-primary{color:var(--primary-color)}.text-red{--tw-text-opacity:1;color:rgb(252 90 90/var(--tw-text-opacity,1))}.text-textOnPrimary{color:var(--text-on-primary)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.accent-\\[\\#4F2D7F\\]{accent-color:#4f2d7f}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-90{opacity:.9}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-white{--tw-ring-offset-color:#fff}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.row-up-left{align-content:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.row-left{justify-content:flex-start}.row,.row-left{align-content:center;align-items:center;display:flex;flex-direction:row;flex-wrap:wrap}.row{justify-content:center}.column-left{align-items:flex-start}.column,.column-left{display:flex;flex-direction:column;justify-content:center}.column{align-items:center}@media (min-width:1280px){.text-5xl{font-size:5.125rem;letter-spacing:-.125rem;line-height:100%}.text-4xl{font-size:3.5rem}.text-3xl,.text-4xl{letter-spacing:-.0625rem;line-height:100%}.text-3xl{font-size:3rem}.text-2xl{font-size:2rem}.text-2xl,.text-xl{line-height:120%}.text-xl{font-size:1.5rem}.text-lg{font-size:1.25rem}.text-base,.text-lg{line-height:120%}.text-base{font-size:1.125rem}.text-sm{font-size:1rem}.text-sm,.text-xs{line-height:120%}.text-xs{font-size:.875rem}}:root{--primary-color:#7d68f4;--primary-hover:#9786f6;--text-on-primary:#fff}svg{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}*,:after,:before{text-underline-offset:4px}input[type=number],input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield!important}.btn.is-loading{cursor:not-allowed;opacity:.4;pointer-events:none}.btn .btn-spinner,.btn.is-loading .btn-label{opacity:0;visibility:hidden}.btn.is-loading .btn-spinner{opacity:1;visibility:visible}[class*=" uicon-"],[class^=uicon-]{letter-spacing:0;line-height:100%}.file\\:border-0::file-selector-button{border-width:0}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:120%}.file\\:font-medium::file-selector-button{font-weight:500}.placeholder\\:normal-case::-moz-placeholder{text-transform:none}.placeholder\\:normal-case::placeholder{text-transform:none}.placeholder\\:text-gray-300::-moz-placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity,1))}.placeholder\\:text-gray-300::placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity,1))}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity:1;color:rgb(59 57 70/var(--tw-text-opacity,1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity:1;color:rgb(59 57 70/var(--tw-text-opacity,1))}.first\\:rounded-l-md:first-child{border-bottom-left-radius:.375rem;border-top-left-radius:.375rem}.first\\:border-l:first-child{border-left-width:1px}.last\\:rounded-r-md:last-child{border-bottom-right-radius:.375rem;border-top-right-radius:.375rem}.hover\\:bg-black\\/5:hover{background-color:rgba(0,0,0,.05)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity,1))}.hover\\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(191 188 215/var(--tw-bg-opacity,1))}.hover\\:bg-gray-200\\/75:hover{background-color:rgba(191,188,215,.75)}.hover\\:bg-primaryHover:hover{background-color:var(--primary-hover)}.hover\\:bg-red\\/90:hover{background-color:rgba(252,90,90,.9)}.hover\\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity,1))}.hover\\:text-primaryHover:hover{color:var(--primary-hover)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:brightness-90:hover{--tw-brightness:brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:z-10:focus{z-index:10}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-1:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-primary:focus{--tw-ring-color:var(--primary-color)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group[open] .group-open\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\\:opacity-70{opacity:.7}.has-\\[\\:disabled\\]\\:opacity-50:has(:disabled){opacity:.5}.dark\\:border-gray-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 74 88/var(--tw-border-opacity,1))}.dark\\:border-gray-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity,1))}.dark\\:border-gray-600:is(.dark *){--tw-border-opacity:1;border-color:rgb(40 40 52/var(--tw-border-opacity,1))}.dark\\:border-gray-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 30 39/var(--tw-border-opacity,1))}.dark\\:bg-black:is(.dark *){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(40 40 52/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 30 39/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity,1))}.dark\\:text-\\[\\#201a41\\]:is(.dark *){--tw-text-opacity:1;color:rgb(32 26 65/var(--tw-text-opacity,1))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity,1))}.dark\\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity,1))}.dark\\:text-white:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-offset-gray-900:is(.dark *){--tw-ring-offset-color:#08080e}.dark\\:placeholder\\:text-gray-400:is(.dark *)::-moz-placeholder{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity,1))}.dark\\:placeholder\\:text-gray-400:is(.dark *)::placeholder{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-black\\/90:hover:is(.dark *){background-color:rgba(0,0,0,.9)}.dark\\:hover\\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 30 39/var(--tw-bg-opacity,1))}.dark\\:hover\\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity,1))}.dark\\:focus\\:ring-offset-gray-900:focus:is(.dark *){--tw-ring-offset-color:#08080e}@media (min-width:640px){.sm\\:absolute{position:absolute}.sm\\:left-4{left:1rem}.sm\\:top-1\\/2{top:50%}.sm\\:mt-4{margin-top:1rem}.sm\\:inline{display:inline}.sm\\:h-6{height:1.5rem}.sm\\:min-h-\\[700px\\]{min-height:700px}.sm\\:w-6{width:1.5rem}.sm\\:w-\\[calc\\(100\\%-theme\\(space\\.16\\)-theme\\(space\\.16\\)\\)\\]{width:calc(100% - 8rem)}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-md{max-width:28rem}.sm\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-col{flex-direction:column}.sm\\:justify-normal{justify-content:normal}.sm\\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.sm\\:bg-fixed{background-attachment:fixed}.sm\\:bg-left-top{background-position:0 0}.sm\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\\:px-14{padding-left:3.5rem;padding-right:3.5rem}.sm\\:py-14{padding-bottom:3.5rem;padding-top:3.5rem}.sm\\:py-4{padding-bottom:1rem;padding-top:1rem}.sm\\:pt-16{padding-top:4rem}.sm\\:text-2xl{font-size:1.5rem;line-height:120%}.sm\\:text-base{font-size:1rem;line-height:120%}}@media (min-width:1280px){.md\\:min-w-\\[448px\\]{min-width:448px}.md\\:p-10{padding:2.5rem}.md\\:py-10{padding-bottom:2.5rem;padding-top:2.5rem}.md\\:pl-10{padding-left:2.5rem}.md\\:pl-20{padding-left:5rem}.md\\:pr-10{padding-right:2.5rem}.md\\:pr-20{padding-right:5rem}.md\\:text-3xl{font-size:2rem;line-height:120%}.md\\:text-base{font-size:1rem;line-height:120%}.md\\:text-sm{font-size:.875rem;line-height:120%}.md\\:text-xs{font-size:.75rem;line-height:135%}}@media (max-height:900px) and (min-width:640px){.short\\:static{position:static}.short\\:left-auto{left:auto}.short\\:top-auto{top:auto}.short\\:inline{display:inline}.short\\:hidden{display:none}.short\\:h-5{height:1.25rem}.short\\:min-h-\\[558px\\]{min-height:558px}.short\\:w-5{width:1.25rem}.short\\:flex-1{flex:1 1 0%}.short\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.short\\:flex-row{flex-direction:row}.short\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.short\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.short\\:px-0{padding-left:0;padding-right:0}.short\\:py-3{padding-bottom:.75rem;padding-top:.75rem}}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>:last-child{margin-bottom:0}.\\[\\&_h1\\]\\:mb-6 h1,.\\[\\&_h2\\]\\:mb-6 h2{margin-bottom:1.5rem}`;function aO(){if(typeof document<"u"){const e=document.createElement("style");e.innerHTML=b_,e.setAttribute("data-authhero-tailwind",""),document.head.appendChild(e)}}const cO='var Ke={Stringify:1},b=(e,t)=>{const n=new String(e);return n.isEscaped=!0,n.callbacks=t,n},We=/[&<>\'"]/,Ue=async(e,t)=>{let n="";t||=[];const r=await Promise.all(e);for(let a=r.length-1;n+=r[a],a--,!(a<0);a--){let i=r[a];typeof i=="object"&&t.push(...i.callbacks||[]);const s=i.isEscaped;if(i=await(typeof i=="object"?i.toString():i),typeof i=="object"&&t.push(...i.callbacks||[]),i.isEscaped??s)n+=i;else{const o=[n];A(i,o),n=o[0]}}return b(n,t)},A=(e,t)=>{const n=e.search(We);if(n===-1){t[0]+=e;return}let r,a,i=0;for(a=n;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r=""";break;case 39:r="'";break;case 38:r="&";break;case 60:r="<";break;case 62:r=">";break;default:continue}t[0]+=e.substring(i,a)+r,i=a+1}t[0]+=e.substring(i,a)},Ve=e=>{const t=e.callbacks;if(!t?.length)return e;const n=[e],r={};return t.forEach(a=>a({phase:Ke.Stringify,buffer:n,context:r})),n[0]},ee=Symbol("RENDERER"),G=Symbol("ERROR_HANDLER"),v=Symbol("STASH"),Ie=Symbol("INTERNAL"),Ze=Symbol("MEMO"),F=Symbol("PERMALINK"),fe=e=>(e[Ie]=!0,e),Te=e=>({value:t,children:n})=>{if(!n)return;const r={children:[{tag:fe(()=>{e.push(t)}),props:{}}]};Array.isArray(n)?r.children.push(...n.flat()):r.children.push(n),r.children.push({tag:fe(()=>{e.pop()}),props:{}});const a={tag:"",props:r,type:""};return a[G]=i=>{throw e.pop(),i},a},Le=e=>{const t=[e],n=Te(t);return n.values=t,n.Provider=n,C.push(n),n},C=[],Pe=e=>{const t=[e],n=(r=>{t.push(r.value);let a;try{a=r.children?(Array.isArray(r.children)?new $e("",{},r.children):r.children).toString():""}catch(i){throw t.pop(),i}return a instanceof Promise?a.finally(()=>t.pop()).then(i=>b(i,i.callbacks)):(t.pop(),b(a))});return n.values=t,n.Provider=n,n[ee]=Te(t),C.push(n),n},T=e=>e.values.at(-1),x={title:[],script:["src"],style:["data-href"],link:["href"],meta:["name","httpEquiv","charset","itemProp"]},Y={},_="data-precedence",M=e=>Array.isArray(e)?e:[e],ue=new WeakMap,de=(e,t,n,r)=>({buffer:a,context:i})=>{if(!a)return;const s=ue.get(i)||{};ue.set(i,s);const o=s[e]||=[];let u=!1;const l=x[e];if(l.length>0){e:for(const[,f]of o)for(const c of l)if((f?.[c]??null)===n?.[c]){u=!0;break e}}if(u?a[0]=a[0].replaceAll(t,""):l.length>0?o.push([t,n,r]):o.unshift([t,n,r]),a[0].indexOf("</head>")!==-1){let f;if(r===void 0)f=o.map(([c])=>c);else{const c=[];f=o.map(([d,,p])=>{let y=c.indexOf(p);return y===-1&&(c.push(p),y=c.length-1),[d,y]}).sort((d,p)=>d[1]-p[1]).map(([d])=>d)}f.forEach(c=>{a[0]=a[0].replaceAll(c,"")}),a[0]=a[0].replace(/(?=<\\/head>)/,f.join(""))}},D=(e,t,n)=>b(new w(e,n,M(t??[])).toString()),$=(e,t,n,r)=>{if("itemProp"in n)return D(e,t,n);let{precedence:a,blocking:i,...s}=n;a=r?a??"":void 0,r&&(s[_]=a);const o=new w(e,s,M(t||[])).toString();return o instanceof Promise?o.then(u=>b(o,[...u.callbacks||[],de(e,u,s,a)])):b(o,[de(e,o,s,a)])},ze=({children:e,...t})=>{const n=te();if(n){const r=T(n);if(r==="svg"||r==="head")return new w("title",t,M(e??[]))}return $("title",e,t,!1)},Je=({children:e,...t})=>{const n=te();return["src","async"].some(r=>!t[r])||n&&T(n)==="head"?D("script",e,t):$("script",e,t,!1)},Xe=({children:e,...t})=>["href","precedence"].every(n=>n in t)?(t["data-href"]=t.href,delete t.href,$("style",e,t,!0)):D("style",e,t),Ge=({children:e,...t})=>["onLoad","onError"].some(n=>n in t)||t.rel==="stylesheet"&&(!("precedence"in t)||"disabled"in t)?D("link",e,t):$("link",e,t,"precedence"in t),Ye=({children:e,...t})=>{const n=te();return n&&T(n)==="head"?D("meta",e,t):$("meta",e,t,!1)},Ne=(e,{children:t,...n})=>new w(e,n,M(t??[])),Qe=e=>(typeof e.action=="function"&&(e.action=F in e.action?e.action[F]:void 0),Ne("form",e)),Me=(e,t)=>(typeof t.formAction=="function"&&(t.formAction=F in t.formAction?t.formAction[F]:void 0),Ne(e,t)),et=e=>Me("input",e),tt=e=>Me("button",e);const V=Object.freeze(Object.defineProperty({__proto__:null,button:tt,form:Qe,input:et,link:Ge,meta:Ye,script:Je,style:Xe,title:ze},Symbol.toStringTag,{value:"Module"}));var nt=new Map([["className","class"],["htmlFor","for"],["crossOrigin","crossorigin"],["httpEquiv","http-equiv"],["itemProp","itemprop"],["fetchPriority","fetchpriority"],["noModule","nomodule"],["formAction","formaction"]]),q=e=>nt.get(e)||e,De=(e,t)=>{for(const[n,r]of Object.entries(e)){const a=n[0]==="-"||!/[A-Z]/.test(n)?n:n.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`);t(a,r==null?null:typeof r=="number"?a.match(/^(?:a|border-im|column(?:-c|s)|flex(?:$|-[^b])|grid-(?:ar|[^a])|font-w|li|or|sca|st|ta|wido|z)|ty$/)?`${r}`:`${r}px`:r)}},P=void 0,te=()=>P,rt=e=>/[A-Z]/.test(e)&&e.match(/^(?:al|basel|clip(?:Path|Rule)$|co|do|fill|fl|fo|gl|let|lig|i|marker[EMS]|o|pai|pointe|sh|st[or]|text[^L]|tr|u|ve|w)/)?e.replace(/([A-Z])/g,"-$1").toLowerCase():e,at=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],it=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],ne=(e,t)=>{for(let n=0,r=e.length;n<r;n++){const a=e[n];if(typeof a=="string")A(a,t);else{if(typeof a=="boolean"||a===null||a===void 0)continue;a instanceof w?a.toStringToBuffer(t):typeof a=="number"||a.isEscaped?t[0]+=a:a instanceof Promise?t.unshift("",a):ne(a,t)}}},w=class{tag;props;key;children;isEscaped=!0;localContexts;constructor(e,t,n){this.tag=e,this.props=t,this.children=n}get type(){return this.tag}get ref(){return this.props.ref||null}toString(){const e=[""];this.localContexts?.forEach(([t,n])=>{t.values.push(n)});try{this.toStringToBuffer(e)}finally{this.localContexts?.forEach(([t])=>{t.values.pop()})}return e.length===1?"callbacks"in e?Ve(b(e[0],e.callbacks)).toString():e[0]:Ue(e,e.callbacks)}toStringToBuffer(e){const t=this.tag,n=this.props;let{children:r}=this;e[0]+=`<${t}`;const a=P&&T(P)==="svg"?i=>rt(q(i)):i=>q(i);for(let[i,s]of Object.entries(n))if(i=a(i),i!=="children"){if(i==="style"&&typeof s=="object"){let o="";De(s,(u,l)=>{l!=null&&(o+=`${o?";":""}${u}:${l}`)}),e[0]+=\' style="\',A(o,e),e[0]+=\'"\'}else if(typeof s=="string")e[0]+=` ${i}="`,A(s,e),e[0]+=\'"\';else if(s!=null)if(typeof s=="number"||s.isEscaped)e[0]+=` ${i}="${s}"`;else if(typeof s=="boolean"&&it.includes(i))s&&(e[0]+=` ${i}=""`);else if(i==="dangerouslySetInnerHTML"){if(r.length>0)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");r=[b(s.__html)]}else if(s instanceof Promise)e[0]+=` ${i}="`,e.unshift(\'"\',s);else if(typeof s=="function"){if(!i.startsWith("on")&&i!=="ref")throw new Error(`Invalid prop \'${i}\' of type \'function\' supplied to \'${t}\'.`)}else e[0]+=` ${i}="`,A(s.toString(),e),e[0]+=\'"\'}if(at.includes(t)&&r.length===0){e[0]+="/>";return}e[0]+=">",ne(r,e),e[0]+=`</${t}>`}},Z=class extends w{toStringToBuffer(e){const{children:t}=this,n={...this.props};t.length&&(n.children=t.length===1?t[0]:t);const r=this.tag.call(null,n);if(!(typeof r=="boolean"||r==null))if(r instanceof Promise)if(C.length===0)e.unshift("",r);else{const a=C.map(i=>[i,i.values.at(-1)]);e.unshift("",r.then(i=>(i instanceof w&&(i.localContexts=a),i)))}else r instanceof w?r.toStringToBuffer(e):typeof r=="number"||r.isEscaped?(e[0]+=r,r.callbacks&&(e.callbacks||=[],e.callbacks.push(...r.callbacks))):A(r,e)}},$e=class extends w{toStringToBuffer(e){ne(this.children,e)}},ve=!1,z=(e,t,n)=>{if(!ve){for(const r in Y)V[r][ee]=Y[r];ve=!0}return typeof e=="function"?new Z(e,t,n):V[e]?new Z(V[e],t,n):e==="svg"||e==="head"?(P||=Pe(""),new w(e,t,[new Z(P,{value:e},n)])):new w(e,t,n)},st=({children:e})=>new $e("",{children:e},Array.isArray(e)?e:e?[e]:[]);function O(e,t,n){let r;if(!t||!("children"in t))r=z(e,t,[]);else{const a=t.children;r=Array.isArray(a)?z(e,t,a):z(e,t,[a])}return r.key=n,r}var N="_hp",ot={Change:"Input",DoubleClick:"DblClick"},lt={svg:"2000/svg",math:"1998/Math/MathML"},k=[],Q=new WeakMap,I=void 0,ct=()=>I,S=e=>"t"in e,J={onClick:["click",!1]},pe=e=>{if(!e.startsWith("on"))return;if(J[e])return J[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,n,r]=t;return J[e]=[(ot[n]||n).toLowerCase(),!!r]}},he=(e,t)=>I&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,ft=(e,t,n)=>{t||={};for(let r in t){const a=t[r];if(r!=="children"&&(!n||n[r]!==a)){r=q(r);const i=pe(r);if(i){if(n?.[r]!==a&&(n&&e.removeEventListener(i[0],n[r],i[1]),a!=null)){if(typeof a!="function")throw new Error(`Event handler for "${r}" is not a function`);e.addEventListener(i[0],a,i[1])}}else if(r==="dangerouslySetInnerHTML"&&a)e.innerHTML=a.__html;else if(r==="ref"){let s;typeof a=="function"?s=a(e)||(()=>a(null)):a&&"current"in a&&(a.current=e,s=()=>a.current=null),Q.set(e,s)}else if(r==="style"){const s=e.style;typeof a=="string"?s.cssText=a:(s.cssText="",a!=null&&De(a,s.setProperty.bind(s)))}else{if(r==="value"){const o=e.nodeName;if(o==="INPUT"||o==="TEXTAREA"||o==="SELECT"){if(e.value=a==null||a===!1?null:a,o==="TEXTAREA"){e.textContent=a;continue}else if(o==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(r==="checked"&&e.nodeName==="INPUT"||r==="selected"&&e.nodeName==="OPTION")&&(e[r]=a);const s=he(e,r);a==null||a===!1?e.removeAttribute(s):a===!0?e.setAttribute(s,""):typeof a=="string"||typeof a=="number"?e.setAttribute(s,a):e.setAttribute(s,a.toString())}}}if(n)for(let r in n){const a=n[r];if(r!=="children"&&!(r in t)){r=q(r);const i=pe(r);i?e.removeEventListener(i[0],a,i[1]):r==="ref"?Q.get(e)?.():e.removeAttribute(he(e,r))}}},ut=(e,t)=>{t[v][0]=0,k.push([e,t]);const n=t.tag[ee]||t.tag,r=n.defaultProps?{...n.defaultProps,...t.props}:t.props;try{return[n.call(null,r)]}finally{k.pop()}},Re=(e,t,n,r,a)=>{e.vR?.length&&(r.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[v][1][ae]?.forEach(i=>a.push(i)),e.vC.forEach(i=>{if(S(i))n.push(i);else if(typeof i.tag=="function"||i.tag===""){i.c=t;const s=n.length;if(Re(i,t,n,r,a),i.s){for(let o=s;o<n.length;o++)n[o].s=!0;i.s=!1}}else n.push(i),i.vR?.length&&(r.push(...i.vR),delete i.vR)})},dt=e=>{for(;e&&(e.tag===N||!e.e);)e=e.tag===N||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},Oe=e=>{S(e)||(e[v]?.[1][ae]?.forEach(t=>t[2]?.()),Q.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>t.p=2),e.vC?.forEach(Oe)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(L.delete(e),B.delete(e),delete e[v][3],e.a=!0)},re=(e,t,n)=>{e.c=t,xe(e,t,n)},ge=(e,t)=>{if(t){for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n}},me=Symbol(),xe=(e,t,n)=>{const r=[],a=[],i=[];Re(e,t,r,a,i),a.forEach(Oe);const s=n?void 0:t.childNodes;let o,u=null;if(n)o=-1;else if(!s.length)o=0;else{const l=ge(s,dt(e.nN));l!==void 0?(u=s[l],o=l):o=ge(s,r.find(f=>f.tag!==N&&f.e)?.e)??-1,o===-1&&(n=!0)}for(let l=0,f=r.length;l<f;l++,o++){const c=r[l];let d;if(c.s&&c.e)d=c.e,c.s=!1;else{const p=n||!c.e;S(c)?(c.e&&c.d&&(c.e.textContent=c.t),c.d=!1,d=c.e||=document.createTextNode(c.t)):(d=c.e||=c.n?document.createElementNS(c.n,c.tag):document.createElement(c.tag),ft(d,c.props,c.pP),xe(c,d,p))}c.tag===N?o--:n?d.parentNode||t.appendChild(d):s[o]!==d&&s[o-1]!==d&&(s[o+1]===d?t.appendChild(s[o]):t.insertBefore(d,u||s[o]||null))}if(e.pP&&(e.pP=void 0),i.length){const l=[],f=[];i.forEach(([,c,,d,p])=>{c&&l.push(c),d&&f.push(d),p?.()}),l.forEach(c=>c()),f.length&&requestAnimationFrame(()=>{f.forEach(c=>c())})}},vt=(e,t)=>!!(e&&e.length===t.length&&e.every((n,r)=>n[1]===t[r][1])),B=new WeakMap,K=(e,t,n)=>{const r=!n&&t.pC;n&&(t.pC||=t.vC);let a;try{n||=typeof t.tag=="function"?ut(e,t):M(t.props.children),n[0]?.tag===""&&n[0][G]&&(a=n[0][G],e[5].push([e,a,t]));const i=r?[...t.pC]:t.vC?[...t.vC]:void 0,s=[];let o;for(let u=0;u<n.length;u++){Array.isArray(n[u])&&n.splice(u,1,...n[u].flat());let l=_e(n[u]);if(l){typeof l.tag=="function"&&!l.tag[Ie]&&(C.length>0&&(l[v][2]=C.map(c=>[c,c.values.at(-1)])),e[5]?.length&&(l[v][3]=e[5].at(-1)));let f;if(i&&i.length){const c=i.findIndex(S(l)?d=>S(d):l.key!==void 0?d=>d.key===l.key&&d.tag===l.tag:d=>d.tag===l.tag);c!==-1&&(f=i[c],i.splice(c,1))}if(f)if(S(l))f.t!==l.t&&(f.t=l.t,f.d=!0),l=f;else{const c=f.pP=f.props;if(f.props=l.props,f.f||=l.f||t.f,typeof l.tag=="function"){const d=f[v][2];f[v][2]=l[v][2]||[],f[v][3]=l[v][3],!f.f&&((f.o||f)===l.o||f.tag[Ze]?.(c,f.props))&&vt(d,f[v][2])&&(f.s=!0)}l=f}else if(!S(l)&&I){const c=T(I);c&&(l.n=c)}if(!S(l)&&!l.s&&(K(e,l),delete l.f),s.push(l),o&&!o.s&&!l.s)for(let c=o;c&&!S(c);c=c.vC?.at(-1))c.nN=l;o=l}}t.vR=r?[...t.vC,...i||[]]:i||[],t.vC=s,r&&delete t.pC}catch(i){if(t.f=!0,i===me){if(a)return;throw i}const[s,o,u]=t[v]?.[3]||[];if(o){const l=()=>H([0,!1,e[2]],u),f=B.get(u)||[];f.push(l),B.set(u,f);const c=o(i,()=>{const d=B.get(u);if(d){const p=d.indexOf(l);if(p!==-1)return d.splice(p,1),l()}});if(c){if(e[0]===1)e[1]=!0;else if(K(e,u,[c]),(o.length===1||e!==s)&&u.c){re(u,u.c,!1);return}throw me}}throw i}finally{a&&e[5].pop()}},_e=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[v]=[0,[]];else{const t=lt[e.tag];t&&(I||=Le(""),e.props.children=[{tag:I,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},Be=(e,t,n)=>{e.c===t&&(e.c=n,e.vC.forEach(r=>Be(r,t,n)))},ye=(e,t)=>{t[v][2]?.forEach(([n,r])=>{n.values.push(r)});try{K(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[v][2]?.forEach(([n])=>{n.values.pop()}),(e[0]!==1||!e[1])&&re(t,t.c,!1)},L=new WeakMap,Ee=[],H=async(e,t)=>{e[5]||=[];const n=L.get(t);n&&n[0](void 0);let r;const a=new Promise(i=>r=i);if(L.set(t,[r,()=>{e[2]?e[2](e,t,i=>{ye(i,t)}).then(()=>r(t)):(ye(e,t),r(t))}]),Ee.length)Ee.at(-1).add(t);else{await Promise.resolve();const i=L.get(t);i&&(L.delete(t),i[1]())}return a},pt=(e,t)=>{const n=[];n[5]=[],n[4]=!0,K(n,e,void 0),n[4]=!1;const r=document.createDocumentFragment();re(e,r,!0),Be(e,r,t),t.replaceChildren(r)},ht=(e,t,n)=>({tag:N,props:{children:e},key:n,e:t,p:1}),gt=0,ae=1,mt=2,yt=3,X=new WeakMap,ie=(e,t)=>!e||!t||e.length!==t.length||t.some((n,r)=>n!==e[r]),Et=void 0,we=[],He=e=>{const t=()=>typeof e=="function"?e():e,n=k.at(-1);if(!n)return[t(),()=>{}];const[,r]=n,a=r[v][1][gt]||=[],i=r[v][0]++;return a[i]||=[t(),s=>{const o=Et,u=a[i];if(typeof s=="function"&&(s=s(u[0])),!Object.is(s,u[0]))if(u[0]=s,we.length){const[l,f]=we.at(-1);Promise.all([l===3?r:H([l,!1,o],r),f]).then(([c])=>{if(!c||!(l===2||l===3))return;const d=c.vC;requestAnimationFrame(()=>{setTimeout(()=>{d===c.vC&&H([l===3?1:0,!1,o],c)})})})}else H([0,!1,o],r)}]},wt=(e,t,n)=>{const r=k.at(-1);if(!r)return;const[,a]=r,i=a[v][1][ae]||=[],s=a[v][0]++,[o,,u]=i[s]||=[];if(ie(o,n)){u&&u();const l=()=>{f[e]=void 0,f[2]=t()},f=[n,void 0,void 0,void 0,void 0];f[e]=l,i[s]=f}},je=(e,t)=>wt(3,e,t),se=(e,t)=>{const n=k.at(-1);if(!n)return e;const[,r]=n,a=r[v][1][mt]||=[],i=r[v][0]++,s=a[i];return ie(s?.[1],t)?a[i]=[e,t]:e=a[i][0],e},St=e=>{const t=X.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(n=>X.set(e,[n]),n=>X.set(e,[void 0,n])),e},bt=(e,t)=>{const n=k.at(-1);if(!n)return e();const[,r]=n,a=r[v][1][yt]||=[],i=r[v][0]++,s=a[i];return ie(s?.[1],t)&&(a[i]=[e(),t]),a[i][0]},At=Le({pending:!1,data:null,method:null,action:null}),Se=new Set,Ct=e=>{Se.add(e),e.finally(()=>Se.delete(e))},oe=(e,t)=>bt(()=>n=>{let r;e&&(typeof e=="function"?r=e(n)||(()=>{e(null)}):e&&"current"in e&&(e.current=n,r=()=>{e.current=null}));const a=t(n);return()=>{a?.(),r?.()}},[e]),be=Object.create(null),Ae=Object.create(null),R=(e,t,n,r,a)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const i=document.head;let{onLoad:s,onError:o,precedence:u,blocking:l,...f}=t,c=null,d=!1;const p=x[e];let y;if(p.length>0){const g=i.querySelectorAll(e);e:for(const m of g)for(const h of x[e])if(m.getAttribute(h)===t[h]){c=m;break e}if(!c){const m=p.reduce((h,E)=>t[E]===void 0?h:`${h}-${E}-${t[E]}`,e);d=!Ae[m],c=Ae[m]||=(()=>{const h=document.createElement(e);for(const E of p)t[E]!==void 0&&h.setAttribute(E,t[E]),t.rel&&h.setAttribute("rel",t.rel);return h})()}}else y=i.querySelectorAll(e);u=r?u??"":void 0,r&&(f[_]=u);const le=se(g=>{if(p.length>0){let m=!1;for(const h of i.querySelectorAll(e)){if(m&&h.getAttribute(_)!==u){i.insertBefore(g,h);return}h.getAttribute(_)===u&&(m=!0)}i.appendChild(g)}else if(y){let m=!1;for(const h of y)if(h===g){m=!0;break}m||i.insertBefore(g,i.contains(y[0])?y[0]:i.querySelector(e)),y=void 0}},[u]),ce=oe(t.ref,g=>{const m=p[0];if(n===2&&(g.innerHTML=""),(d||y)&&le(g),!o&&!s)return;let h=be[g.getAttribute(m)]||=new Promise((E,U)=>{g.addEventListener("load",E),g.addEventListener("error",U)});s&&(h=h.then(s)),o&&(h=h.catch(o)),h.catch(()=>{})});if(a&&l==="render"){const g=x[e][0];if(t[g]){const m=t[g],h=be[m]||=new Promise((E,U)=>{le(c),c.addEventListener("load",E),c.addEventListener("error",U)});St(h)}}const W={tag:e,type:e,props:{...f,ref:ce},ref:ce};return W.p=n,c&&(W.e=c),ht(W,i)},kt=e=>{const t=ct();return(t&&T(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:R("title",e,void 0,!1,!1)},It=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:R("script",e,1,!1,!0),Tt=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,R("style",e,2,!0,!0)),Lt=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:R("link",e,1,"precedence"in e,!0),Pt=e=>R("meta",e,void 0,!1,!1),Fe=Symbol(),Nt=e=>{const{action:t,...n}=e;typeof t!="function"&&(n.action=t);const[r,a]=He([null,!1]),i=se(async l=>{const f=l.isTrusted?t:l.detail[Fe];if(typeof f!="function")return;l.preventDefault();const c=new FormData(l.target);a([c,!0]);const d=f(c);d instanceof Promise&&(Ct(d),await d),a([null,!0])},[]),s=oe(e.ref,l=>(l.addEventListener("submit",i),()=>{l.removeEventListener("submit",i)})),[o,u]=r;return r[1]=!1,{tag:At,props:{value:{pending:o!==null,data:o,method:o?"post":null,action:o?t:null},children:{tag:"form",props:{...n,ref:s},type:"form",ref:s}},f:u}},qe=(e,{formAction:t,...n})=>{if(typeof t=="function"){const r=se(a=>{a.preventDefault(),a.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Fe]:t}}))},[]);n.ref=oe(n.ref,a=>(a.addEventListener("click",r),()=>{a.removeEventListener("click",r)}))}return{tag:e,props:n,type:e,ref:n.ref}},Mt=e=>qe("input",e),Dt=e=>qe("button",e);Object.assign(Y,{title:kt,script:It,style:Tt,link:Lt,meta:Pt,form:Nt,input:Mt,button:Dt});Pe(null);new TextEncoder;var $t=(e,t={})=>{let n;return Object.keys(t).length>0&&console.warn("createRoot options are not supported yet"),{render(r){if(n===null)throw new Error("Cannot update an unmounted root");n?n(r):pt(_e({tag:()=>{const[a,i]=He(r);return n=i,a},props:{}}),e)},unmount(){n?.(null),n=null}}},Rt=(e,t,n={})=>{const r=$t(e,n);return r.render(t),r};function Ot(){return je(()=>{const e=document.querySelectorAll("form"),t=[];return e.forEach(n=>{const r=i=>{if(i.defaultPrevented)return;const s=i.submitter;s&&s.type==="submit"&&(s.classList.add("is-loading"),s.disabled=!0)};n.addEventListener("submit",r);const a=i=>{i.persisted&&n.querySelectorAll("button[type=submit]").forEach(o=>{o.classList.remove("is-loading"),o.disabled=!1})};window.addEventListener("pageshow",a),t.push(()=>{n.removeEventListener("submit",r),window.removeEventListener("pageshow",a)})}),()=>{t.forEach(n=>n())}},[]),null}function xt(){return je(()=>{const e=document.querySelectorAll("[data-password-toggle]"),t=[];return e.forEach(n=>{const r=n.querySelector("input[type=\'password\'], input[data-password-input]"),a=n.querySelector("[data-password-toggle-btn]"),i=a?.querySelector("[data-show-icon]"),s=a?.querySelector("[data-hide-icon]");if(!r||!a||!i||!s)return;const o=l=>{l?(r.type="text",r.setAttribute("data-password-input","text"),i.classList.add("hidden"),s.classList.remove("hidden")):(r.type="password",r.setAttribute("data-password-input","password"),s.classList.add("hidden"),i.classList.remove("hidden"))},u=l=>{l.preventDefault();const f=r.type==="password";o(f)};a.addEventListener("click",u),t.push(()=>{a.removeEventListener("click",u)})}),()=>{t.forEach(n=>n())}},[]),null}function _t(){return document.querySelectorAll("[data-input-otp-container]").forEach(t=>{const n=Array.from(t.querySelectorAll("[data-input-otp-slot]"));if(!n.length)return;const r=t.closest("form");let a=null;if(r&&n.length>0){const o=n[0]?.getAttribute("name");o&&(a=r.querySelector(`input[name="${o}"][type="hidden"]`),a||(a=document.createElement("input"),a.type="hidden",a.name=o,r.appendChild(a)),n.forEach(u=>u.removeAttribute("name")))}const i=()=>{if(a){const s=n.map(o=>o.value).join("");a.value=s,s.length===n.length&&r&&setTimeout(()=>{r.requestSubmit()},100)}};n.forEach((s,o)=>{s.addEventListener("input",u=>{const l=u.target;let f=l.value;f=f.replace(/[^0-9]/g,""),f.length>1&&(f=f.charAt(0)),l.value=f,f&&o<n.length-1&&n[o+1]?.focus(),i()}),s.addEventListener("paste",u=>{u.preventDefault();const f=(u.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"");for(let d=0;d<Math.min(f.length,n.length-o);d++){const p=n[o+d],y=f.charAt(d);p&&y&&(p.value=y)}const c=n.findIndex((d,p)=>p>=o&&!d.value);c!==-1?n[c]?.focus():n[Math.min(o+f.length,n.length-1)]?.focus(),i()}),s.addEventListener("keydown",u=>{if(u.key==="Backspace"){const l=u.target;if(!l.value&&o>0){u.preventDefault();const f=n[o-1];f&&(f.value="",f.focus()),i()}else l.value&&setTimeout(()=>i(),0)}else u.key==="ArrowLeft"&&o>0?(u.preventDefault(),n[o-1]?.focus()):u.key==="ArrowRight"&&o<n.length-1&&(u.preventDefault(),n[o+1]?.focus())}),s.addEventListener("focus",()=>{s.select()})}),i()}),null}const j="authhero_incognito_mode",Bt="https://unpkg.com/detectincognitojs@1.6.2";async function Ht(){return window.detectIncognito?window.detectIncognito:new Promise((e,t)=>{const n=document.createElement("script");n.src=Bt,n.type="text/javascript",n.crossOrigin="anonymous",n.onload=()=>{let r=window.detectIncognito;!r&&window.__detectIncognito&&(r=window.__detectIncognito),!r&&window.module&&window.module.exports&&(r=window.module.exports),r&&typeof r=="function"?e(r):r&&r.detectIncognito?e(r.detectIncognito):typeof r=="object"&&r.default?e(r.default):t(new Error("detectIncognito not found after loading script"))},n.onerror=()=>{t(new Error("Failed to load detectincognitojs script"))},document.head.appendChild(n)})}function jt(){try{const e=sessionStorage.getItem(j);return e===null?void 0:e==="true"}catch{return}}async function Ft(){try{const e=sessionStorage.getItem(j);if(e!==null)return e==="true";const t=await Ht(),{isPrivate:n}=await t();return sessionStorage.setItem(j,n.toString()),n}catch{try{sessionStorage.setItem(j,"false")}catch{}return!1}}const qt=()=>{const e=jt();if(e!==void 0){e&&Ce();return}Ft().then(t=>{t&&Ce()}).catch(()=>{})};function Ce(){const e=document.getElementById("incognito-warning-container");e&&e.classList.remove("hidden")}qt();const ke=document.getElementById("client-root");ke&&Rt(ke,O(st,{children:[O(Ot,{}),O(xt,{}),O(_t,{})]}));\n';var Jt={},Zt={},Yd={},Xt={},Qa={},g1;function uO(){return g1||(g1=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),Qa}var ec={},y1;function lO(){return y1||(y1=1,Object.defineProperty(ec,"__esModule",{value:!0}),ec.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),ec}var Qd={},b1;function v1(){return b1||(b1=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(s){var a="";return s>65535&&(s-=65536,a+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),a+=String.fromCharCode(s),a};function r(s){var a;return s>=55296&&s<=57343||s>1114111?65533:(a=n.get(s))!==null&&a!==void 0?a:s}e.replaceCodePoint=r;function i(s){return(0,e.fromCodePoint)(r(s))}e.default=i})(Qd)),Qd}var w1;function Bu(){return w1||(w1=1,(function(e){var t=Xt&&Xt.__createBinding||(Object.create?(function(E,L,B,V){V===void 0&&(V=B);var U=Object.getOwnPropertyDescriptor(L,B);(!U||("get"in U?!L.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return L[B]}}),Object.defineProperty(E,V,U)}):(function(E,L,B,V){V===void 0&&(V=B),E[V]=L[B]})),n=Xt&&Xt.__setModuleDefault||(Object.create?(function(E,L){Object.defineProperty(E,"default",{enumerable:!0,value:L})}):function(E,L){E.default=L}),r=Xt&&Xt.__importStar||function(E){if(E&&E.__esModule)return E;var L={};if(E!=null)for(var B in E)B!=="default"&&Object.prototype.hasOwnProperty.call(E,B)&&t(L,E,B);return n(L,E),L},i=Xt&&Xt.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var s=i(uO());e.htmlDecodeTree=s.default;var a=i(lO());e.xmlDecodeTree=a.default;var c=r(v1());e.decodeCodePoint=c.default;var u=v1();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(E){E[E.NUM=35]="NUM",E[E.SEMI=59]="SEMI",E[E.EQUALS=61]="EQUALS",E[E.ZERO=48]="ZERO",E[E.NINE=57]="NINE",E[E.LOWER_A=97]="LOWER_A",E[E.LOWER_F=102]="LOWER_F",E[E.LOWER_X=120]="LOWER_X",E[E.LOWER_Z=122]="LOWER_Z",E[E.UPPER_A=65]="UPPER_A",E[E.UPPER_F=70]="UPPER_F",E[E.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var d=32,f;(function(E){E[E.VALUE_LENGTH=49152]="VALUE_LENGTH",E[E.BRANCH_LENGTH=16256]="BRANCH_LENGTH",E[E.JUMP_TABLE=127]="JUMP_TABLE"})(f=e.BinTrieFlags||(e.BinTrieFlags={}));function p(E){return E>=l.ZERO&&E<=l.NINE}function h(E){return E>=l.UPPER_A&&E<=l.UPPER_F||E>=l.LOWER_A&&E<=l.LOWER_F}function _(E){return E>=l.UPPER_A&&E<=l.UPPER_Z||E>=l.LOWER_A&&E<=l.LOWER_Z||p(E)}function g(E){return E===l.EQUALS||_(E)}var y;(function(E){E[E.EntityStart=0]="EntityStart",E[E.NumericStart=1]="NumericStart",E[E.NumericDecimal=2]="NumericDecimal",E[E.NumericHex=3]="NumericHex",E[E.NamedEntity=4]="NamedEntity"})(y||(y={}));var m;(function(E){E[E.Legacy=0]="Legacy",E[E.Strict=1]="Strict",E[E.Attribute=2]="Attribute"})(m=e.DecodingMode||(e.DecodingMode={}));var v=(function(){function E(L,B,V){this.decodeTree=L,this.emitCodePoint=B,this.errors=V,this.state=y.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=m.Strict}return E.prototype.startEntity=function(L){this.decodeMode=L,this.state=y.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},E.prototype.write=function(L,B){switch(this.state){case y.EntityStart:return L.charCodeAt(B)===l.NUM?(this.state=y.NumericStart,this.consumed+=1,this.stateNumericStart(L,B+1)):(this.state=y.NamedEntity,this.stateNamedEntity(L,B));case y.NumericStart:return this.stateNumericStart(L,B);case y.NumericDecimal:return this.stateNumericDecimal(L,B);case y.NumericHex:return this.stateNumericHex(L,B);case y.NamedEntity:return this.stateNamedEntity(L,B)}},E.prototype.stateNumericStart=function(L,B){return B>=L.length?-1:(L.charCodeAt(B)|d)===l.LOWER_X?(this.state=y.NumericHex,this.consumed+=1,this.stateNumericHex(L,B+1)):(this.state=y.NumericDecimal,this.stateNumericDecimal(L,B))},E.prototype.addToNumericResult=function(L,B,V,U){if(B!==V){var Q=V-B;this.result=this.result*Math.pow(U,Q)+parseInt(L.substr(B,Q),U),this.consumed+=Q}},E.prototype.stateNumericHex=function(L,B){for(var V=B;B<L.length;){var U=L.charCodeAt(B);if(p(U)||h(U))B+=1;else return this.addToNumericResult(L,V,B,16),this.emitNumericEntity(U,3)}return this.addToNumericResult(L,V,B,16),-1},E.prototype.stateNumericDecimal=function(L,B){for(var V=B;B<L.length;){var U=L.charCodeAt(B);if(p(U))B+=1;else return this.addToNumericResult(L,V,B,10),this.emitNumericEntity(U,2)}return this.addToNumericResult(L,V,B,10),-1},E.prototype.emitNumericEntity=function(L,B){var V;if(this.consumed<=B)return(V=this.errors)===null||V===void 0||V.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(L===l.SEMI)this.consumed+=1;else if(this.decodeMode===m.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(L!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},E.prototype.stateNamedEntity=function(L,B){for(var V=this.decodeTree,U=V[this.treeIndex],Q=(U&f.VALUE_LENGTH)>>14;B<L.length;B++,this.excess++){var de=L.charCodeAt(B);if(this.treeIndex=S(V,U,this.treeIndex+Math.max(1,Q),de),this.treeIndex<0)return this.result===0||this.decodeMode===m.Attribute&&(Q===0||g(de))?0:this.emitNotTerminatedNamedEntity();if(U=V[this.treeIndex],Q=(U&f.VALUE_LENGTH)>>14,Q!==0){if(de===l.SEMI)return this.emitNamedEntityData(this.treeIndex,Q,this.consumed+this.excess);this.decodeMode!==m.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},E.prototype.emitNotTerminatedNamedEntity=function(){var L,B=this,V=B.result,U=B.decodeTree,Q=(U[V]&f.VALUE_LENGTH)>>14;return this.emitNamedEntityData(V,Q,this.consumed),(L=this.errors)===null||L===void 0||L.missingSemicolonAfterCharacterReference(),this.consumed},E.prototype.emitNamedEntityData=function(L,B,V){var U=this.decodeTree;return this.emitCodePoint(B===1?U[L]&~f.VALUE_LENGTH:U[L+1],V),B===3&&this.emitCodePoint(U[L+2],V),V},E.prototype.end=function(){var L;switch(this.state){case y.NamedEntity:return this.result!==0&&(this.decodeMode!==m.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case y.NumericDecimal:return this.emitNumericEntity(0,2);case y.NumericHex:return this.emitNumericEntity(0,3);case y.NumericStart:return(L=this.errors)===null||L===void 0||L.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case y.EntityStart:return 0}},E})();e.EntityDecoder=v;function w(E){var L="",B=new v(E,function(V){return L+=(0,c.fromCodePoint)(V)});return function(U,Q){for(var de=0,se=0;(se=U.indexOf("&",se))>=0;){L+=U.slice(de,se),B.startEntity(Q);var we=B.write(U,se+1);if(we<0){de=se+B.end();break}de=se+we,se=we===0?de+1:de}var ue=L+U.slice(de);return L="",ue}}function S(E,L,B,V){var U=(L&f.BRANCH_LENGTH)>>7,Q=L&f.JUMP_TABLE;if(U===0)return Q!==0&&V===Q?B:-1;if(Q){var de=V-Q;return de<0||de>=U?-1:E[B+de]-1}for(var se=B,we=se+U-1;se<=we;){var ue=se+we>>>1,be=E[ue];if(be<V)se=ue+1;else if(be>V)we=ue-1;else return E[ue+U]}return-1}e.determineBranch=S;var b=w(s.default),x=w(a.default);function A(E,L){return L===void 0&&(L=m.Legacy),b(E,L)}e.decodeHTML=A;function I(E){return b(E,m.Attribute)}e.decodeHTMLAttribute=I;function R(E){return b(E,m.Strict)}e.decodeHTMLStrict=R;function P(E){return x(E,m.Strict)}e.decodeXML=P})(Xt)),Xt}var k1;function Wk(){return k1||(k1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Bu(),n;(function(p){p[p.Tab=9]="Tab",p[p.NewLine=10]="NewLine",p[p.FormFeed=12]="FormFeed",p[p.CarriageReturn=13]="CarriageReturn",p[p.Space=32]="Space",p[p.ExclamationMark=33]="ExclamationMark",p[p.Number=35]="Number",p[p.Amp=38]="Amp",p[p.SingleQuote=39]="SingleQuote",p[p.DoubleQuote=34]="DoubleQuote",p[p.Dash=45]="Dash",p[p.Slash=47]="Slash",p[p.Zero=48]="Zero",p[p.Nine=57]="Nine",p[p.Semi=59]="Semi",p[p.Lt=60]="Lt",p[p.Eq=61]="Eq",p[p.Gt=62]="Gt",p[p.Questionmark=63]="Questionmark",p[p.UpperA=65]="UpperA",p[p.LowerA=97]="LowerA",p[p.UpperF=70]="UpperF",p[p.LowerF=102]="LowerF",p[p.UpperZ=90]="UpperZ",p[p.LowerZ=122]="LowerZ",p[p.LowerX=120]="LowerX",p[p.OpeningSquareBracket=91]="OpeningSquareBracket"})(n||(n={}));var r;(function(p){p[p.Text=1]="Text",p[p.BeforeTagName=2]="BeforeTagName",p[p.InTagName=3]="InTagName",p[p.InSelfClosingTag=4]="InSelfClosingTag",p[p.BeforeClosingTagName=5]="BeforeClosingTagName",p[p.InClosingTagName=6]="InClosingTagName",p[p.AfterClosingTagName=7]="AfterClosingTagName",p[p.BeforeAttributeName=8]="BeforeAttributeName",p[p.InAttributeName=9]="InAttributeName",p[p.AfterAttributeName=10]="AfterAttributeName",p[p.BeforeAttributeValue=11]="BeforeAttributeValue",p[p.InAttributeValueDq=12]="InAttributeValueDq",p[p.InAttributeValueSq=13]="InAttributeValueSq",p[p.InAttributeValueNq=14]="InAttributeValueNq",p[p.BeforeDeclaration=15]="BeforeDeclaration",p[p.InDeclaration=16]="InDeclaration",p[p.InProcessingInstruction=17]="InProcessingInstruction",p[p.BeforeComment=18]="BeforeComment",p[p.CDATASequence=19]="CDATASequence",p[p.InSpecialComment=20]="InSpecialComment",p[p.InCommentLike=21]="InCommentLike",p[p.BeforeSpecialS=22]="BeforeSpecialS",p[p.SpecialStartSequence=23]="SpecialStartSequence",p[p.InSpecialTag=24]="InSpecialTag",p[p.BeforeEntity=25]="BeforeEntity",p[p.BeforeNumericEntity=26]="BeforeNumericEntity",p[p.InNamedEntity=27]="InNamedEntity",p[p.InNumericEntity=28]="InNumericEntity",p[p.InHexEntity=29]="InHexEntity"})(r||(r={}));function i(p){return p===n.Space||p===n.NewLine||p===n.Tab||p===n.FormFeed||p===n.CarriageReturn}function s(p){return p===n.Slash||p===n.Gt||i(p)}function a(p){return p>=n.Zero&&p<=n.Nine}function c(p){return p>=n.LowerA&&p<=n.LowerZ||p>=n.UpperA&&p<=n.UpperZ}function u(p){return p>=n.UpperA&&p<=n.UpperF||p>=n.LowerA&&p<=n.LowerF}var l;(function(p){p[p.NoValue=0]="NoValue",p[p.Unquoted=1]="Unquoted",p[p.Single=2]="Single",p[p.Double=3]="Double"})(l=e.QuoteType||(e.QuoteType={}));var d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},f=(function(){function p(h,_){var g=h.xmlMode,y=g===void 0?!1:g,m=h.decodeEntities,v=m===void 0?!0:m;this.cbs=_,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=y,this.decodeEntities=v,this.entityTrie=y?t.xmlDecodeTree:t.htmlDecodeTree}return p.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},p.prototype.write=function(h){this.offset+=this.buffer.length,this.buffer=h,this.parse()},p.prototype.end=function(){this.running&&this.finish()},p.prototype.pause=function(){this.running=!1},p.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},p.prototype.getIndex=function(){return this.index},p.prototype.getSectionStart=function(){return this.sectionStart},p.prototype.stateText=function(h){h===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&h===n.Amp&&(this.state=r.BeforeEntity)},p.prototype.stateSpecialStartSequence=function(h){var _=this.sequenceIndex===this.currentSequence.length,g=_?s(h):(h|32)===this.currentSequence[this.sequenceIndex];if(!g)this.isSpecial=!1;else if(!_){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(h)},p.prototype.stateInSpecialTag=function(h){if(this.sequenceIndex===this.currentSequence.length){if(h===n.Gt||i(h)){var _=this.index-this.currentSequence.length;if(this.sectionStart<_){var g=this.index;this.index=_,this.cbs.ontext(this.sectionStart,_),this.index=g}this.isSpecial=!1,this.sectionStart=_+2,this.stateInClosingTagName(h);return}this.sequenceIndex=0}(h|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===d.TitleEnd?this.decodeEntities&&h===n.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(h===n.Lt)},p.prototype.stateCDATASequence=function(h){h===d.Cdata[this.sequenceIndex]?++this.sequenceIndex===d.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=d.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(h))},p.prototype.fastForwardTo=function(h){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===h)return!0;return this.index=this.buffer.length+this.offset-1,!1},p.prototype.stateInCommentLike=function(h){h===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):h!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},p.prototype.isTagStartChar=function(h){return this.xmlMode?!s(h):c(h)},p.prototype.startSpecial=function(h,_){this.isSpecial=!0,this.currentSequence=h,this.sequenceIndex=_,this.state=r.SpecialStartSequence},p.prototype.stateBeforeTagName=function(h){if(h===n.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(h===n.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(h)){var _=h|32;this.sectionStart=this.index,!this.xmlMode&&_===d.TitleEnd[2]?this.startSpecial(d.TitleEnd,3):this.state=!this.xmlMode&&_===d.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else h===n.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(h))},p.prototype.stateInTagName=function(h){s(h)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h))},p.prototype.stateBeforeClosingTagName=function(h){i(h)||(h===n.Gt?this.state=r.Text:(this.state=this.isTagStartChar(h)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},p.prototype.stateInClosingTagName=function(h){(h===n.Gt||i(h))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(h))},p.prototype.stateAfterClosingTagName=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},p.prototype.stateBeforeAttributeName=function(h){h===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):h===n.Slash?this.state=r.InSelfClosingTag:i(h)||(this.state=r.InAttributeName,this.sectionStart=this.index)},p.prototype.stateInSelfClosingTag=function(h){h===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(h)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h))},p.prototype.stateInAttributeName=function(h){(h===n.Eq||s(h))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(h))},p.prototype.stateAfterAttributeName=function(h){h===n.Eq?this.state=r.BeforeAttributeValue:h===n.Slash||h===n.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h)):i(h)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},p.prototype.stateBeforeAttributeValue=function(h){h===n.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):h===n.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):i(h)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(h))},p.prototype.handleInAttributeValue=function(h,_){h===_||!this.decodeEntities&&this.fastForwardTo(_)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(_===n.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&h===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},p.prototype.stateInAttributeValueDoubleQuotes=function(h){this.handleInAttributeValue(h,n.DoubleQuote)},p.prototype.stateInAttributeValueSingleQuotes=function(h){this.handleInAttributeValue(h,n.SingleQuote)},p.prototype.stateInAttributeValueNoQuotes=function(h){i(h)||h===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h)):this.decodeEntities&&h===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},p.prototype.stateBeforeDeclaration=function(h){h===n.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=h===n.Dash?r.BeforeComment:r.InDeclaration},p.prototype.stateInDeclaration=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},p.prototype.stateInProcessingInstruction=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},p.prototype.stateBeforeComment=function(h){h===n.Dash?(this.state=r.InCommentLike,this.currentSequence=d.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},p.prototype.stateInSpecialComment=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},p.prototype.stateBeforeSpecialS=function(h){var _=h|32;_===d.ScriptEnd[3]?this.startSpecial(d.ScriptEnd,4):_===d.StyleEnd[3]?this.startSpecial(d.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(h))},p.prototype.stateBeforeEntity=function(h){this.entityExcess=1,this.entityResult=0,h===n.Number?this.state=r.BeforeNumericEntity:h===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(h))},p.prototype.stateInNamedEntity=function(h){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,h),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var _=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(_){var g=(_>>14)-1;if(!this.allowLegacyEntity()&&h!==n.Semi)this.trieIndex+=g;else{var y=this.index-this.entityExcess+1;y>this.sectionStart&&this.emitPartial(this.sectionStart,y),this.entityResult=this.trieIndex,this.trieIndex+=g,this.entityExcess=0,this.sectionStart=this.index+1,g===0&&this.emitNamedEntity()}}},p.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var h=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(h){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},p.prototype.stateBeforeNumericEntity=function(h){(h|32)===n.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(h))},p.prototype.emitNumericEntity=function(h){var _=this.index-this.entityExcess-1,g=_+2+ +(this.state===r.InHexEntity);g!==this.index&&(_>this.sectionStart&&this.emitPartial(this.sectionStart,_),this.sectionStart=this.index+Number(h),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},p.prototype.stateInNumericEntity=function(h){h===n.Semi?this.emitNumericEntity(!0):a(h)?(this.entityResult=this.entityResult*10+(h-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},p.prototype.stateInHexEntity=function(h){h===n.Semi?this.emitNumericEntity(!0):a(h)?(this.entityResult=this.entityResult*16+(h-n.Zero),this.entityExcess++):u(h)?(this.entityResult=this.entityResult*16+((h|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},p.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},p.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},p.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},p.prototype.parse=function(){for(;this.shouldContinue();){var h=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:{this.stateText(h);break}case r.SpecialStartSequence:{this.stateSpecialStartSequence(h);break}case r.InSpecialTag:{this.stateInSpecialTag(h);break}case r.CDATASequence:{this.stateCDATASequence(h);break}case r.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(h);break}case r.InAttributeName:{this.stateInAttributeName(h);break}case r.InCommentLike:{this.stateInCommentLike(h);break}case r.InSpecialComment:{this.stateInSpecialComment(h);break}case r.BeforeAttributeName:{this.stateBeforeAttributeName(h);break}case r.InTagName:{this.stateInTagName(h);break}case r.InClosingTagName:{this.stateInClosingTagName(h);break}case r.BeforeTagName:{this.stateBeforeTagName(h);break}case r.AfterAttributeName:{this.stateAfterAttributeName(h);break}case r.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(h);break}case r.BeforeAttributeValue:{this.stateBeforeAttributeValue(h);break}case r.BeforeClosingTagName:{this.stateBeforeClosingTagName(h);break}case r.AfterClosingTagName:{this.stateAfterClosingTagName(h);break}case r.BeforeSpecialS:{this.stateBeforeSpecialS(h);break}case r.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(h);break}case r.InSelfClosingTag:{this.stateInSelfClosingTag(h);break}case r.InDeclaration:{this.stateInDeclaration(h);break}case r.BeforeDeclaration:{this.stateBeforeDeclaration(h);break}case r.BeforeComment:{this.stateBeforeComment(h);break}case r.InProcessingInstruction:{this.stateInProcessingInstruction(h);break}case r.InNamedEntity:{this.stateInNamedEntity(h);break}case r.BeforeEntity:{this.stateBeforeEntity(h);break}case r.InHexEntity:{this.stateInHexEntity(h);break}case r.InNumericEntity:{this.stateInNumericEntity(h);break}default:this.stateBeforeNumericEntity(h)}this.index++}this.cleanup()},p.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},p.prototype.handleTrailingData=function(){var h=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,h,0):this.cbs.oncomment(this.sectionStart,h,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,h)},p.prototype.emitPartial=function(h,_){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(h,_):this.cbs.ontext(h,_)},p.prototype.emitCodePoint=function(h){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(h):this.cbs.ontextentity(h)},p})();e.default=f})(Yd)),Yd}var $1;function S1(){if($1)return Zt;$1=1;var e=Zt&&Zt.__createBinding||(Object.create?(function(y,m,v,w){w===void 0&&(w=v);var S=Object.getOwnPropertyDescriptor(m,v);(!S||("get"in S?!m.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(y,w,S)}):(function(y,m,v,w){w===void 0&&(w=v),y[w]=m[v]})),t=Zt&&Zt.__setModuleDefault||(Object.create?(function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}):function(y,m){y.default=m}),n=Zt&&Zt.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var v in y)v!=="default"&&Object.prototype.hasOwnProperty.call(y,v)&&e(m,y,v);return t(m,y),m};Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.Parser=void 0;var r=n(Wk()),i=Bu(),s=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),c=new Set(["thead","tbody"]),u=new Set(["dd","dt"]),l=new Set(["rt","rp"]),d=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",s],["input",s],["output",s],["button",s],["datalist",s],["textarea",s],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",u],["dt",u],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",l],["rp",l],["tbody",c],["tfoot",c]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),_=/\s|\//,g=(function(){function y(m,v){v===void 0&&(v={});var w,S,b,x,A;this.options=v,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=m??{},this.lowerCaseTagNames=(w=v.lowerCaseTags)!==null&&w!==void 0?w:!v.xmlMode,this.lowerCaseAttributeNames=(S=v.lowerCaseAttributeNames)!==null&&S!==void 0?S:!v.xmlMode,this.tokenizer=new((b=v.Tokenizer)!==null&&b!==void 0?b:r.default)(this.options,this),(A=(x=this.cbs).onparserinit)===null||A===void 0||A.call(x,this)}return y.prototype.ontext=function(m,v){var w,S,b=this.getSlice(m,v);this.endIndex=v-1,(S=(w=this.cbs).ontext)===null||S===void 0||S.call(w,b),this.startIndex=v},y.prototype.ontextentity=function(m){var v,w,S=this.tokenizer.getSectionStart();this.endIndex=S-1,(w=(v=this.cbs).ontext)===null||w===void 0||w.call(v,(0,i.fromCodePoint)(m)),this.startIndex=S},y.prototype.isVoidElement=function(m){return!this.options.xmlMode&&f.has(m)},y.prototype.onopentagname=function(m,v){this.endIndex=v;var w=this.getSlice(m,v);this.lowerCaseTagNames&&(w=w.toLowerCase()),this.emitOpenTag(w)},y.prototype.emitOpenTag=function(m){var v,w,S,b;this.openTagStart=this.startIndex,this.tagname=m;var x=!this.options.xmlMode&&d.get(m);if(x)for(;this.stack.length>0&&x.has(this.stack[this.stack.length-1]);){var A=this.stack.pop();(w=(v=this.cbs).onclosetag)===null||w===void 0||w.call(v,A,!0)}this.isVoidElement(m)||(this.stack.push(m),p.has(m)?this.foreignContext.push(!0):h.has(m)&&this.foreignContext.push(!1)),(b=(S=this.cbs).onopentagname)===null||b===void 0||b.call(S,m),this.cbs.onopentag&&(this.attribs={})},y.prototype.endOpenTag=function(m){var v,w;this.startIndex=this.openTagStart,this.attribs&&((w=(v=this.cbs).onopentag)===null||w===void 0||w.call(v,this.tagname,this.attribs,m),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},y.prototype.onopentagend=function(m){this.endIndex=m,this.endOpenTag(!1),this.startIndex=m+1},y.prototype.onclosetag=function(m,v){var w,S,b,x,A,I;this.endIndex=v;var R=this.getSlice(m,v);if(this.lowerCaseTagNames&&(R=R.toLowerCase()),(p.has(R)||h.has(R))&&this.foreignContext.pop(),this.isVoidElement(R))!this.options.xmlMode&&R==="br"&&((S=(w=this.cbs).onopentagname)===null||S===void 0||S.call(w,"br"),(x=(b=this.cbs).onopentag)===null||x===void 0||x.call(b,"br",{},!0),(I=(A=this.cbs).onclosetag)===null||I===void 0||I.call(A,"br",!1));else{var P=this.stack.lastIndexOf(R);if(P!==-1)if(this.cbs.onclosetag)for(var E=this.stack.length-P;E--;)this.cbs.onclosetag(this.stack.pop(),E!==0);else this.stack.length=P;else!this.options.xmlMode&&R==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=v+1},y.prototype.onselfclosingtag=function(m){this.endIndex=m,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=m+1):this.onopentagend(m)},y.prototype.closeCurrentTag=function(m){var v,w,S=this.tagname;this.endOpenTag(m),this.stack[this.stack.length-1]===S&&((w=(v=this.cbs).onclosetag)===null||w===void 0||w.call(v,S,!m),this.stack.pop())},y.prototype.onattribname=function(m,v){this.startIndex=m;var w=this.getSlice(m,v);this.attribname=this.lowerCaseAttributeNames?w.toLowerCase():w},y.prototype.onattribdata=function(m,v){this.attribvalue+=this.getSlice(m,v)},y.prototype.onattribentity=function(m){this.attribvalue+=(0,i.fromCodePoint)(m)},y.prototype.onattribend=function(m,v){var w,S;this.endIndex=v,(S=(w=this.cbs).onattribute)===null||S===void 0||S.call(w,this.attribname,this.attribvalue,m===r.QuoteType.Double?'"':m===r.QuoteType.Single?"'":m===r.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},y.prototype.getInstructionName=function(m){var v=m.search(_),w=v<0?m:m.substr(0,v);return this.lowerCaseTagNames&&(w=w.toLowerCase()),w},y.prototype.ondeclaration=function(m,v){this.endIndex=v;var w=this.getSlice(m,v);if(this.cbs.onprocessinginstruction){var S=this.getInstructionName(w);this.cbs.onprocessinginstruction("!".concat(S),"!".concat(w))}this.startIndex=v+1},y.prototype.onprocessinginstruction=function(m,v){this.endIndex=v;var w=this.getSlice(m,v);if(this.cbs.onprocessinginstruction){var S=this.getInstructionName(w);this.cbs.onprocessinginstruction("?".concat(S),"?".concat(w))}this.startIndex=v+1},y.prototype.oncomment=function(m,v,w){var S,b,x,A;this.endIndex=v,(b=(S=this.cbs).oncomment)===null||b===void 0||b.call(S,this.getSlice(m,v-w)),(A=(x=this.cbs).oncommentend)===null||A===void 0||A.call(x),this.startIndex=v+1},y.prototype.oncdata=function(m,v,w){var S,b,x,A,I,R,P,E,L,B;this.endIndex=v;var V=this.getSlice(m,v-w);this.options.xmlMode||this.options.recognizeCDATA?((b=(S=this.cbs).oncdatastart)===null||b===void 0||b.call(S),(A=(x=this.cbs).ontext)===null||A===void 0||A.call(x,V),(R=(I=this.cbs).oncdataend)===null||R===void 0||R.call(I)):((E=(P=this.cbs).oncomment)===null||E===void 0||E.call(P,"[CDATA[".concat(V,"]]")),(B=(L=this.cbs).oncommentend)===null||B===void 0||B.call(L)),this.startIndex=v+1},y.prototype.onend=function(){var m,v;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var w=this.stack.length;w>0;this.cbs.onclosetag(this.stack[--w],!0));}(v=(m=this.cbs).onend)===null||v===void 0||v.call(m)},y.prototype.reset=function(){var m,v,w,S;(v=(m=this.cbs).onreset)===null||v===void 0||v.call(m),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(S=(w=this.cbs).onparserinit)===null||S===void 0||S.call(w,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},y.prototype.parseComplete=function(m){this.reset(),this.end(m)},y.prototype.getSlice=function(m,v){for(;m-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var w=this.buffers[0].slice(m-this.bufferOffset,v-this.bufferOffset);v-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),w+=this.buffers[0].slice(0,v-this.bufferOffset);return w},y.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},y.prototype.write=function(m){var v,w;if(this.ended){(w=(v=this.cbs).onerror)===null||w===void 0||w.call(v,new Error(".write() after done!"));return}this.buffers.push(m),this.tokenizer.running&&(this.tokenizer.write(m),this.writeIndex++)},y.prototype.end=function(m){var v,w;if(this.ended){(w=(v=this.cbs).onerror)===null||w===void 0||w.call(v,new Error(".end() after done!"));return}m&&this.write(m),this.ended=!0,this.tokenizer.end()},y.prototype.pause=function(){this.tokenizer.pause()},y.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},y.prototype.parseChunk=function(m){this.write(m)},y.prototype.done=function(m){this.end(m)},y})();return Zt.Parser=g,Zt}var Lr={},ep={},x1;function Ba(){return x1||(x1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(ep)),ep}var ve={},z1;function A1(){if(z1)return ve;z1=1;var e=ve&&ve.__extends||(function(){var b=function(x,A){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,R){I.__proto__=R}||function(I,R){for(var P in R)Object.prototype.hasOwnProperty.call(R,P)&&(I[P]=R[P])},b(x,A)};return function(x,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");b(x,A);function I(){this.constructor=x}x.prototype=A===null?Object.create(A):(I.prototype=A.prototype,new I)}})(),t=ve&&ve.__assign||function(){return t=Object.assign||function(b){for(var x,A=1,I=arguments.length;A<I;A++){x=arguments[A];for(var R in x)Object.prototype.hasOwnProperty.call(x,R)&&(b[R]=x[R])}return b},t.apply(this,arguments)};Object.defineProperty(ve,"__esModule",{value:!0}),ve.cloneNode=ve.hasChildren=ve.isDocument=ve.isDirective=ve.isComment=ve.isText=ve.isCDATA=ve.isTag=ve.Element=ve.Document=ve.CDATA=ve.NodeWithChildren=ve.ProcessingInstruction=ve.Comment=ve.Text=ve.DataNode=ve.Node=void 0;var n=Ba(),r=(function(){function b(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(b.prototype,"parentNode",{get:function(){return this.parent},set:function(x){this.parent=x},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"previousSibling",{get:function(){return this.prev},set:function(x){this.prev=x},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"nextSibling",{get:function(){return this.next},set:function(x){this.next=x},enumerable:!1,configurable:!0}),b.prototype.cloneNode=function(x){return x===void 0&&(x=!1),w(this,x)},b})();ve.Node=r;var i=(function(b){e(x,b);function x(A){var I=b.call(this)||this;return I.data=A,I}return Object.defineProperty(x.prototype,"nodeValue",{get:function(){return this.data},set:function(A){this.data=A},enumerable:!1,configurable:!0}),x})(r);ve.DataNode=i;var s=(function(b){e(x,b);function x(){var A=b!==null&&b.apply(this,arguments)||this;return A.type=n.ElementType.Text,A}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),x})(i);ve.Text=s;var a=(function(b){e(x,b);function x(){var A=b!==null&&b.apply(this,arguments)||this;return A.type=n.ElementType.Comment,A}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),x})(i);ve.Comment=a;var c=(function(b){e(x,b);function x(A,I){var R=b.call(this,I)||this;return R.name=A,R.type=n.ElementType.Directive,R}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),x})(i);ve.ProcessingInstruction=c;var u=(function(b){e(x,b);function x(A){var I=b.call(this)||this;return I.children=A,I}return Object.defineProperty(x.prototype,"firstChild",{get:function(){var A;return(A=this.children[0])!==null&&A!==void 0?A:null},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"childNodes",{get:function(){return this.children},set:function(A){this.children=A},enumerable:!1,configurable:!0}),x})(r);ve.NodeWithChildren=u;var l=(function(b){e(x,b);function x(){var A=b!==null&&b.apply(this,arguments)||this;return A.type=n.ElementType.CDATA,A}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),x})(u);ve.CDATA=l;var d=(function(b){e(x,b);function x(){var A=b!==null&&b.apply(this,arguments)||this;return A.type=n.ElementType.Root,A}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),x})(u);ve.Document=d;var f=(function(b){e(x,b);function x(A,I,R,P){R===void 0&&(R=[]),P===void 0&&(P=A==="script"?n.ElementType.Script:A==="style"?n.ElementType.Style:n.ElementType.Tag);var E=b.call(this,R)||this;return E.name=A,E.attribs=I,E.type=P,E}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"tagName",{get:function(){return this.name},set:function(A){this.name=A},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"attributes",{get:function(){var A=this;return Object.keys(this.attribs).map(function(I){var R,P;return{name:I,value:A.attribs[I],namespace:(R=A["x-attribsNamespace"])===null||R===void 0?void 0:R[I],prefix:(P=A["x-attribsPrefix"])===null||P===void 0?void 0:P[I]}})},enumerable:!1,configurable:!0}),x})(u);ve.Element=f;function p(b){return(0,n.isTag)(b)}ve.isTag=p;function h(b){return b.type===n.ElementType.CDATA}ve.isCDATA=h;function _(b){return b.type===n.ElementType.Text}ve.isText=_;function g(b){return b.type===n.ElementType.Comment}ve.isComment=g;function y(b){return b.type===n.ElementType.Directive}ve.isDirective=y;function m(b){return b.type===n.ElementType.Root}ve.isDocument=m;function v(b){return Object.prototype.hasOwnProperty.call(b,"children")}ve.hasChildren=v;function w(b,x){x===void 0&&(x=!1);var A;if(_(b))A=new s(b.data);else if(g(b))A=new a(b.data);else if(p(b)){var I=x?S(b.children):[],R=new f(b.name,t({},b.attribs),I);I.forEach(function(B){return B.parent=R}),b.namespace!=null&&(R.namespace=b.namespace),b["x-attribsNamespace"]&&(R["x-attribsNamespace"]=t({},b["x-attribsNamespace"])),b["x-attribsPrefix"]&&(R["x-attribsPrefix"]=t({},b["x-attribsPrefix"])),A=R}else if(h(b)){var I=x?S(b.children):[],P=new l(I);I.forEach(function(V){return V.parent=P}),A=P}else if(m(b)){var I=x?S(b.children):[],E=new d(I);I.forEach(function(V){return V.parent=E}),b["x-mode"]&&(E["x-mode"]=b["x-mode"]),A=E}else if(y(b)){var L=new c(b.name,b.data);b["x-name"]!=null&&(L["x-name"]=b["x-name"],L["x-publicId"]=b["x-publicId"],L["x-systemId"]=b["x-systemId"]),A=L}else throw new Error("Not implemented yet: ".concat(b.type));return A.startIndex=b.startIndex,A.endIndex=b.endIndex,b.sourceCodeLocation!=null&&(A.sourceCodeLocation=b.sourceCodeLocation),A}ve.cloneNode=w;function S(b){for(var x=b.map(function(I){return w(I,!0)}),A=1;A<x.length;A++)x[A].prev=x[A-1],x[A-1].next=x[A];return x}return ve}var E1;function Ar(){return E1||(E1=1,(function(e){var t=Lr&&Lr.__createBinding||(Object.create?(function(c,u,l,d){d===void 0&&(d=l);var f=Object.getOwnPropertyDescriptor(u,l);(!f||("get"in f?!u.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return u[l]}}),Object.defineProperty(c,d,f)}):(function(c,u,l,d){d===void 0&&(d=l),c[d]=u[l]})),n=Lr&&Lr.__exportStar||function(c,u){for(var l in c)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&t(u,c,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=Ba(),i=A1();n(A1(),e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=(function(){function c(u,l,d){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(d=l,l=s),typeof u=="object"&&(l=u,u=void 0),this.callback=u??null,this.options=l??s,this.elementCB=d??null}return c.prototype.onparserinit=function(u){this.parser=u},c.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},c.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},c.prototype.onerror=function(u){this.handleCallback(u)},c.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},c.prototype.onopentag=function(u,l){var d=this.options.xmlMode?r.ElementType.Tag:void 0,f=new i.Element(u,l,void 0,d);this.addNode(f),this.tagStack.push(f)},c.prototype.ontext=function(u){var l=this.lastNode;if(l&&l.type===r.ElementType.Text)l.data+=u,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var d=new i.Text(u);this.addNode(d),this.lastNode=d}},c.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=u;return}var l=new i.Comment(u);this.addNode(l),this.lastNode=l},c.prototype.oncommentend=function(){this.lastNode=null},c.prototype.oncdatastart=function(){var u=new i.Text(""),l=new i.CDATA([u]);this.addNode(l),u.parent=l,this.lastNode=u},c.prototype.oncdataend=function(){this.lastNode=null},c.prototype.onprocessinginstruction=function(u,l){var d=new i.ProcessingInstruction(u,l);this.addNode(d)},c.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},c.prototype.addNode=function(u){var l=this.tagStack[this.tagStack.length-1],d=l.children[l.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),l.children.push(u),d&&(u.prev=d,d.next=u),u.parent=l,this.lastNode=null},c})();e.DomHandler=a,e.default=a})(Lr)),Lr}var Dr={},gn={},St={},tp={},Tn={},tc={},C1;function dO(){if(C1)return tc;C1=1,Object.defineProperty(tc,"__esModule",{value:!0});function e(t){for(var n=1;n<t.length;n++)t[n][0]+=t[n-1][0]+1;return t}return tc.default=new Map(e([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(e([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(e([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(e([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]])),tc}var np={},I1;function I0(){return I1||(I1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(i,s){return i.codePointAt(s)}:function(i,s){return(i.charCodeAt(s)&64512)===55296?(i.charCodeAt(s)-55296)*1024+i.charCodeAt(s+1)-56320+65536:i.charCodeAt(s)};function n(i){for(var s="",a=0,c;(c=e.xmlReplacer.exec(i))!==null;){var u=c.index,l=i.charCodeAt(u),d=t.get(l);d!==void 0?(s+=i.substring(a,u)+d,a=u+1):(s+="".concat(i.substring(a,u),"&#x").concat((0,e.getCodePoint)(i,u).toString(16),";"),a=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return s+i.substr(a)}e.encodeXML=n,e.escape=n;function r(i,s){return function(c){for(var u,l=0,d="";u=i.exec(c);)l!==u.index&&(d+=c.substring(l,u.index)),d+=s.get(u[0].charCodeAt(0)),l=u.index+1;return d+c.substring(l)}}e.escapeUTF8=r(/[&<>'"]/g,t),e.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=r(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))})(np)),np}var j1;function N1(){if(j1)return Tn;j1=1;var e=Tn&&Tn.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.encodeNonAsciiHTML=Tn.encodeHTML=void 0;var t=e(dO()),n=I0(),r=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function i(c){return a(r,c)}Tn.encodeHTML=i;function s(c){return a(n.xmlReplacer,c)}Tn.encodeNonAsciiHTML=s;function a(c,u){for(var l="",d=0,f;(f=c.exec(u))!==null;){var p=f.index;l+=u.substring(d,p);var h=u.charCodeAt(p),_=t.default.get(h);if(typeof _=="object"){if(p+1<u.length){var g=u.charCodeAt(p+1),y=typeof _.n=="number"?_.n===g?_.o:void 0:_.n.get(g);if(y!==void 0){l+=y,d=c.lastIndex+=1;continue}}_=_.v}if(_!==void 0)l+=_,d=p+1;else{var m=(0,n.getCodePoint)(u,p);l+="&#x".concat(m.toString(16),";"),d=c.lastIndex+=+(m!==h)}}return l+u.substr(d)}return Tn}var T1;function pO(){return T1||(T1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t=Bu(),n=N1(),r=I0(),i;(function(p){p[p.XML=0]="XML",p[p.HTML=1]="HTML"})(i=e.EntityLevel||(e.EntityLevel={}));var s;(function(p){p[p.UTF8=0]="UTF8",p[p.ASCII=1]="ASCII",p[p.Extensive=2]="Extensive",p[p.Attribute=3]="Attribute",p[p.Text=4]="Text"})(s=e.EncodingMode||(e.EncodingMode={}));function a(p,h){h===void 0&&(h=i.XML);var _=typeof h=="number"?h:h.level;if(_===i.HTML){var g=typeof h=="object"?h.mode:void 0;return(0,t.decodeHTML)(p,g)}return(0,t.decodeXML)(p)}e.decode=a;function c(p,h){var _;h===void 0&&(h=i.XML);var g=typeof h=="number"?{level:h}:h;return(_=g.mode)!==null&&_!==void 0||(g.mode=t.DecodingMode.Strict),a(p,g)}e.decodeStrict=c;function u(p,h){h===void 0&&(h=i.XML);var _=typeof h=="number"?{level:h}:h;return _.mode===s.UTF8?(0,r.escapeUTF8)(p):_.mode===s.Attribute?(0,r.escapeAttribute)(p):_.mode===s.Text?(0,r.escapeText)(p):_.level===i.HTML?_.mode===s.ASCII?(0,n.encodeNonAsciiHTML)(p):(0,n.encodeHTML)(p):(0,r.encodeXML)(p)}e.encode=u;var l=I0();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var d=N1();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return d.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return d.encodeHTML}});var f=Bu();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return f.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return f.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return f.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return f.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return f.decodeXML}})})(tp)),tp}var Ur={},P1;function fO(){return P1||(P1=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.attributeNames=Ur.elementNames=void 0,Ur.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),Ur.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))),Ur}var O1;function hO(){if(O1)return St;O1=1;var e=St&&St.__assign||function(){return e=Object.assign||function(S){for(var b,x=1,A=arguments.length;x<A;x++){b=arguments[x];for(var I in b)Object.prototype.hasOwnProperty.call(b,I)&&(S[I]=b[I])}return S},e.apply(this,arguments)},t=St&&St.__createBinding||(Object.create?(function(S,b,x,A){A===void 0&&(A=x);var I=Object.getOwnPropertyDescriptor(b,x);(!I||("get"in I?!b.__esModule:I.writable||I.configurable))&&(I={enumerable:!0,get:function(){return b[x]}}),Object.defineProperty(S,A,I)}):(function(S,b,x,A){A===void 0&&(A=x),S[A]=b[x]})),n=St&&St.__setModuleDefault||(Object.create?(function(S,b){Object.defineProperty(S,"default",{enumerable:!0,value:b})}):function(S,b){S.default=b}),r=St&&St.__importStar||function(S){if(S&&S.__esModule)return S;var b={};if(S!=null)for(var x in S)x!=="default"&&Object.prototype.hasOwnProperty.call(S,x)&&t(b,S,x);return n(b,S),b};Object.defineProperty(St,"__esModule",{value:!0}),St.render=void 0;var i=r(Ba()),s=pO(),a=fO(),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function u(S){return S.replace(/"/g,""")}function l(S,b){var x;if(S){var A=((x=b.encodeEntities)!==null&&x!==void 0?x:b.decodeEntities)===!1?u:b.xmlMode||b.encodeEntities!=="utf8"?s.encodeXML:s.escapeAttribute;return Object.keys(S).map(function(I){var R,P,E=(R=S[I])!==null&&R!==void 0?R:"";return b.xmlMode==="foreign"&&(I=(P=a.attributeNames.get(I))!==null&&P!==void 0?P:I),!b.emptyAttrs&&!b.xmlMode&&E===""?I:"".concat(I,'="').concat(A(E),'"')}).join(" ")}}var d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(S,b){b===void 0&&(b={});for(var x=("length"in S)?S:[S],A="",I=0;I<x.length;I++)A+=p(x[I],b);return A}St.render=f,St.default=f;function p(S,b){switch(S.type){case i.Root:return f(S.children,b);case i.Doctype:case i.Directive:return y(S);case i.Comment:return w(S);case i.CDATA:return v(S);case i.Script:case i.Style:case i.Tag:return g(S,b);case i.Text:return m(S,b)}}var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),_=new Set(["svg","math"]);function g(S,b){var x;b.xmlMode==="foreign"&&(S.name=(x=a.elementNames.get(S.name))!==null&&x!==void 0?x:S.name,S.parent&&h.has(S.parent.name)&&(b=e(e({},b),{xmlMode:!1}))),!b.xmlMode&&_.has(S.name)&&(b=e(e({},b),{xmlMode:"foreign"}));var A="<".concat(S.name),I=l(S.attribs,b);return I&&(A+=" ".concat(I)),S.children.length===0&&(b.xmlMode?b.selfClosingTags!==!1:b.selfClosingTags&&d.has(S.name))?(b.xmlMode||(A+=" "),A+="/>"):(A+=">",S.children.length>0&&(A+=f(S.children,b)),(b.xmlMode||!d.has(S.name))&&(A+="</".concat(S.name,">"))),A}function y(S){return"<".concat(S.data,">")}function m(S,b){var x,A=S.data||"";return((x=b.encodeEntities)!==null&&x!==void 0?x:b.decodeEntities)!==!1&&!(!b.xmlMode&&S.parent&&c.has(S.parent.name))&&(A=b.xmlMode||b.encodeEntities!=="utf8"?(0,s.encodeXML)(A):(0,s.escapeText)(A)),A}function v(S){return"<![CDATA[".concat(S.children[0].data,"]]>")}function w(S){return"<!--".concat(S.data,"-->")}return St}var R1;function Jk(){if(R1)return gn;R1=1;var e=gn&&gn.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(gn,"__esModule",{value:!0}),gn.getOuterHTML=i,gn.getInnerHTML=s,gn.getText=a,gn.textContent=c,gn.innerText=u;var t=Ar(),n=e(hO()),r=Ba();function i(l,d){return(0,n.default)(l,d)}function s(l,d){return(0,t.hasChildren)(l)?l.children.map(function(f){return i(f,d)}).join(""):""}function a(l){return Array.isArray(l)?l.map(a).join(""):(0,t.isTag)(l)?l.name==="br"?`
|
|
@@ -185,7 +185,7 @@ Możesz kliknąć poniższy link, aby rozpocząć nowe logowanie.`,PW=()=>`Il li
|
|
|
185
185
|
|
|
186
186
|
Assicuratevi di aprire il link di accesso con lo stesso browser con cui avete iniziato l'accesso.
|
|
187
187
|
|
|
188
|
-
Potete fare clic sul link sottostante per iniziare un nuovo accesso.`,B6=((e={},t={})=>{const n=t.locale??N();return n==="en"?AW():n==="nb"?EW():n==="sv"?CW():n==="da"?IW():n==="fi"?jW():n==="cs"?NW():n==="pl"?TW():PW()}),OW=()=>"Invalid link",RW=()=>"Ugyldig lenke",LW=()=>"Ogiltig länk",DW=()=>"Ugyldigt link",UW=()=>"Virheellinen linkki",BW=()=>"Neplatný odkaz",MW=()=>"Nieprawidłowy link",qW=()=>"Collegamento non valido",M6=((e={},t={})=>{const n=t.locale??N();return n==="en"?OW():n==="nb"?RW():n==="sv"?LW():n==="da"?DW():n==="fi"?UW():n==="cs"?BW():n==="pl"?MW():qW()}),FW=()=>"Linked accounts",HW=()=>"Koblede kontoer",VW=()=>"Länkade konton",KW=()=>"Koblede konti",GW=()=>"Linkitetyt tilit",WW=()=>"Propojené účty",JW=()=>"Połączone konta",ZW=()=>"Account collegati",q6=((e={},t={})=>{const n=t.locale??N();return n==="en"?FW():n==="nb"?HW():n==="sv"?VW():n==="da"?KW():n==="fi"?GW():n==="cs"?WW():n==="pl"?JW():ZW()}),XW=()=>"Click the button to log in",YW=()=>"Klikk på knappen for å logge inn",QW=()=>"Klicka på knappen för att logga in",eJ=()=>"Klik på knappen for at logge ind",tJ=()=>"Kirjaudu sisään napsauttamalla painiketta",nJ=()=>"Kliknutím na tlačítko se přihlásíte",rJ=()=>"Kliknij przycisk, aby się zalogować",iJ=()=>"Fare clic sul pulsante per accedere",F6=((e={},t={})=>{const n=t.locale??N();return n==="en"?XW():n==="nb"?YW():n==="sv"?QW():n==="da"?eJ():n==="fi"?tJ():n==="cs"?nJ():n==="pl"?rJ():iJ()}),oJ=()=>"Login",sJ=()=>"Logg inn",aJ=()=>"Logga in",cJ=()=>"Login",uJ=()=>"Kirjaudu sisään",lJ=()=>"Přihlášení",dJ=()=>"Zaloguj się",pJ=()=>"Accedi",H6=((e={},t={})=>{const n=t.locale??N();return n==="en"?oJ():n==="nb"?sJ():n==="sv"?aJ():n==="da"?cJ():n==="fi"?uJ():n==="cs"?lJ():n==="pl"?dJ():pJ()}),fJ=e=>`Or enter the code at ${e?.vendorName} to complete the login.`,hJ=e=>`Eller skriv inn koden på ${e?.vendorName} for å fullføre påloggingen.`,_J=e=>`Eller skriv in koden på ${e?.vendorName} för att slutföra inloggningen.`,mJ=e=>`Eller indtast koden på ${e?.vendorName} for at gennemføre login.`,gJ=e=>`Tai kirjoita koodi osoitteessa ${e?.vendorName} kirjautumisen loppuun saattamiseksi.`,yJ=e=>`Nebo zadejte kód na adrese ${e?.vendorName} a dokončete přihlášení.`,bJ=e=>`Lub wprowadź kod na stronie ${e?.vendorName}, aby dokończyć logowanie.`,vJ=e=>`Oppure inserire il codice all'indirizzo ${e?.vendorName} per completare il login.`,V6=((e,t={})=>{const n=t.locale??N();return n==="en"?fJ(e):n==="nb"?hJ(e):n==="sv"?_J(e):n==="da"?mJ(e):n==="fi"?gJ(e):n==="cs"?yJ(e):n==="pl"?bJ(e):vJ(e)}),wJ=e=>`Enter your email address to unlock this show on ${e?.service}`,kJ=e=>`Skriv inn e-postadressen din for å låse opp dette programmet på ${e?.service}`,$J=e=>`Ange din epost för att låsa upp den här showen på ${e?.service}`,SJ=e=>`Indtast din e-mailadresse for at låse op for dette show på ${e?.service}`,xJ=e=>`Kirjoita sähköpostiosoitteesi avataksesi tämän ohjelman osoitteessa ${e?.service}`,zJ=e=>`Zadejte svou e-mailovou adresu pro odemknutí tohoto pořadu na ${e?.service}`,AJ=e=>`Wprowadź swój adres e-mail, aby odblokować ten program na ${e?.service}`,EJ=e=>`Inserisci il tuo indirizzo e-mail per sbloccare questo spettacolo su ${e?.service}`,K6=((e,t={})=>{const n=t.locale??N();return n==="en"?wJ(e):n==="nb"?kJ(e):n==="sv"?$J(e):n==="da"?SJ(e):n==="fi"?xJ(e):n==="cs"?zJ(e):n==="pl"?AJ(e):EJ(e)}),CJ=e=>`Link your account with ${e?.service}`,IJ=e=>`Koble kontoen din til ${e?.service}`,jJ=e=>`Koppla ditt konto till ${e?.service}`,NJ=e=>`Forbind din konto med ${e?.service}`,TJ=e=>`Yhdistä tilisi ${e?.service}`,PJ=e=>`Propojte svůj účet s ${e?.service}`,OJ=e=>`Połącz swoje konto z ${e?.service}`,RJ=e=>`Collegate il vostro account con ${e?.service}`,G6=((e,t={})=>{const n=t.locale??N();return n==="en"?CJ(e):n==="nb"?IJ(e):n==="sv"?jJ(e):n==="da"?NJ(e):n==="fi"?TJ(e):n==="cs"?PJ(e):n==="pl"?OJ(e):RJ(e)}),LJ=()=>"Log in",DJ=()=>"Logg inn",UJ=()=>"Logga in",BJ=()=>"Log ind",MJ=()=>"Kirjaudu sisään",qJ=()=>"Přihlásit se",FJ=()=>"Zaloguj się",HJ=()=>"Accedi",W6=((e={},t={})=>{const n=t.locale??N();return n==="en"?LJ():n==="nb"?DJ():n==="sv"?UJ():n==="da"?BJ():n==="fi"?MJ():n==="cs"?qJ():n==="pl"?FJ():HJ()}),VJ=()=>"You are logged in as",KJ=()=>"Du er innlogget som",GJ=()=>"Du är inloggad som",WJ=()=>"Du er logget ind som",JJ=()=>"Olet kirjautunut sisään nimellä",ZJ=()=>"Jste přihlášeni jako",XJ=()=>"Jesteś zalogowany jako",YJ=()=>"L'utente ha effettuato l'accesso come",J6=((e={},t={})=>{const n=t.locale??N();return n==="en"?VJ():n==="nb"?KJ():n==="sv"?GJ():n==="da"?WJ():n==="fi"?JJ():n==="cs"?ZJ():n==="pl"?XJ():YJ()}),QJ=()=>"Login",eZ=()=>"Logg inn",tZ=()=>"Logga in",nZ=()=>"Login",rZ=()=>"Kirjaudu sisään",iZ=()=>"Přihlášení",oZ=()=>"Logowanie",sZ=()=>"Accesso",Z6=((e={},t={})=>{const n=t.locale??N();return n==="en"?QJ():n==="nb"?eZ():n==="sv"?tZ():n==="da"?nZ():n==="fi"?rZ():n==="cs"?iZ():n==="pl"?oZ():sZ()}),aZ=e=>`Log in to ${e?.companyName} to continue to ${e?.clientName}.`,cZ=e=>`Logg inn på ${e?.companyName} for å fortsette til ${e?.clientName}.`,uZ=e=>`Logga in på ${e?.companyName} för att fortsätta till ${e?.clientName}.`,lZ=e=>`Log ind på ${e?.companyName} for at fortsætte til ${e?.clientName}.`,dZ=e=>`Kirjaudu sisään ${e?.companyName} jatkaaksesi ${e?.clientName}.`,pZ=e=>`Přihlaste se k ${e?.companyName} a pokračujte na ${e?.clientName}.`,fZ=e=>`Zaloguj się do ${e?.companyName}, aby kontynuować do ${e?.clientName}.`,hZ=e=>`Accedi a ${e?.companyName} per continuare su ${e?.clientName}.`,X6=((e,t={})=>{const n=t.locale??N();return n==="en"?aZ(e):n==="nb"?cZ(e):n==="sv"?uZ(e):n==="da"?lZ(e):n==="fi"?dZ(e):n==="cs"?pZ(e):n==="pl"?fZ(e):hZ(e)}),_Z=()=>"Enter your email address and we will send you a login code.",mZ=()=>"Skriv inn e-postadressen din og vi sender deg en påloggingskode.",gZ=()=>"Ange din mejladress, så skickar vi en kod till dig som du kan logga in med.",yZ=()=>"Indtast din e-mailadresse, så sender vi dig en login-kode.",bZ=()=>"Anna sähköpostiosoitteesi, niin lähetämme sinulle kirjautumiskoodin.",vZ=()=>"Zadejte svou e-mailovou adresu a my vám zašleme přihlašovací kód.",wZ=()=>"Wprowadź swój adres e-mail, a my wyślemy Ci kod logowania.",kZ=()=>"Inserite il vostro indirizzo e-mail e vi invieremo un codice di accesso.",Y6=((e={},t={})=>{const n=t.locale??N();return n==="en"?_Z():n==="nb"?mZ():n==="sv"?gZ():n==="da"?yZ():n==="fi"?bZ():n==="cs"?vZ():n==="pl"?wZ():kZ()}),$Z=()=>"Enter your email or phone number to sign in",SZ=()=>"Skriv inn e-postadressen eller telefonnummeret ditt for å logge på",xZ=()=>"Ange din e-postadress eller ditt telefonnummer för att logga in",zZ=()=>"Indtast din e-mail eller dit telefonnummer for at logge ind",AZ=()=>"Kirjoita sähköpostiosoitteesi tai puhelinnumerosi kirjautuaksesi sisään",EZ=()=>"Pro přihlášení zadejte svůj e-mail nebo telefonní číslo",CZ=()=>"Wprowadź swój adres e-mail lub numer telefonu, aby się zalogować",IZ=()=>"Inserire l'e-mail o il numero di telefono per accedere",Q6=((e={},t={})=>{const n=t.locale??N();return n==="en"?$Z():n==="nb"?SZ():n==="sv"?xZ():n==="da"?zZ():n==="fi"?AZ():n==="cs"?EZ():n==="pl"?CZ():IZ()}),jZ=()=>"Enter your email address and we will send you a login link.",NZ=()=>"Skriv inn e-postadressen din og vi sender deg en påloggingslenke.",TZ=()=>"Ange din mejladress, så skickar vi en länk till dig som du kan logga in med.",PZ=()=>"Indtast din e-mailadresse, så sender vi dig et login-link.",OZ=()=>"Anna sähköpostiosoitteesi, niin lähetämme sinulle kirjautumislinkin.",RZ=()=>"Zadejte svou e-mailovou adresu a my vám zašleme odkaz pro přihlášení.",LZ=()=>"Wprowadź swój adres e-mail, a my wyślemy Ci link do logowania.",DZ=()=>"Inserite il vostro indirizzo e-mail e vi invieremo un link di accesso.",e8=((e={},t={})=>{const n=t.locale??N();return n==="en"?jZ():n==="nb"?NZ():n==="sv"?TZ():n==="da"?PZ():n==="fi"?OZ():n==="cs"?RZ():n==="pl"?LZ():DZ()}),UZ=()=>"Enter your phone number to sign in",BZ=()=>"Skriv inn telefonnummeret ditt for å logge på",MZ=()=>"Ange ditt telefonnummer för att logga in",qZ=()=>"Indtast dit telefonnummer for at logge ind",FZ=()=>"Anna puhelinnumerosi kirjautuaksesi sisään",HZ=()=>"Zadejte své telefonní číslo a přihlaste se",VZ=()=>"Wprowadź swój numer telefonu, aby się zalogować",KZ=()=>"Inserire il numero di telefono per accedere",t8=((e={},t={})=>{const n=t.locale??N();return n==="en"?UZ():n==="nb"?BZ():n==="sv"?MZ():n==="da"?qZ():n==="fi"?FZ():n==="cs"?HZ():n==="pl"?VZ():KZ()}),GZ=e=>`Enter your ${e?.authMethod} to sign in.`,WZ=e=>`Skriv inn din ${e?.authMethod} for å logge inn.`,JZ=e=>`Ange din ${e?.authMethod} för att logga in.`,ZZ=e=>`Indtast din ${e?.authMethod} for at logge ind.`,XZ=e=>`Kirjoita ${e?.authMethod} kirjautuaksesi sisään.`,YZ=e=>`Pro přihlášení zadejte adresu ${e?.authMethod}.`,QZ=e=>`Wprowadź swój adres ${e?.authMethod}, aby się zalogować.`,eX=e=>`Inserite il vostro ${e?.authMethod} per accedere.`,n8=((e,t={})=>{const n=t.locale??N();return n==="en"?GZ(e):n==="nb"?WZ(e):n==="sv"?JZ(e):n==="da"?ZZ(e):n==="fi"?XZ(e):n==="cs"?YZ(e):n==="pl"?QZ(e):eX(e)}),tX=()=>"Continue",nX=()=>"Fortsett",rX=()=>"Fortsätt",iX=()=>"Fortsæt",oX=()=>"Jatka",sX=()=>"Pokračovat",aX=()=>"Kontynuuj",cX=()=>"Continua",r8=((e={},t={})=>{const n=t.locale??N();return n==="en"?tX():n==="nb"?nX():n==="sv"?rX():n==="da"?iX():n==="fi"?oX():n==="cs"?sX():n==="pl"?aX():cX()}),uX=e=>`Log in to ${e?.companyName} to continue to ${e?.clientName}.`,lX=e=>`Logg inn på ${e?.companyName} for å fortsette til ${e?.clientName}.`,dX=e=>`Logga in på ${e?.companyName} för att fortsätta till ${e?.clientName}.`,pX=e=>`Log ind på ${e?.companyName} for at fortsætte til ${e?.clientName}.`,fX=e=>`Kirjaudu sisään ${e?.companyName} jatkaaksesi ${e?.clientName}.`,hX=e=>`Přihlaste se k ${e?.companyName} a pokračujte na ${e?.clientName}.`,_X=e=>`Zaloguj się do ${e?.companyName}, aby kontynuować do ${e?.clientName}.`,mX=e=>`Accedi a ${e?.companyName} per continuare su ${e?.clientName}.`,i8=((e,t={})=>{const n=t.locale??N();return n==="en"?uX(e):n==="nb"?lX(e):n==="sv"?dX(e):n==="da"?pX(e):n==="fi"?fX(e):n==="cs"?hX(e):n==="pl"?_X(e):mX(e)}),gX=e=>`Continue with ${e?.connectionName}`,yX=e=>`Fortsett med ${e?.connectionName}`,bX=e=>`Fortsätt med ${e?.connectionName}`,vX=e=>`Fortsæt med ${e?.connectionName}`,wX=e=>`Jatka palvelulla ${e?.connectionName}`,kX=e=>`Pokračovat s ${e?.connectionName}`,$X=e=>`Kontynuuj z ${e?.connectionName}`,SX=e=>`Continua con ${e?.connectionName}`,o8=((e,t={})=>{const n=t.locale??N();return n==="en"?gX(e):n==="nb"?yX(e):n==="sv"?bX(e):n==="da"?vX(e):n==="fi"?wX(e):n==="cs"?kX(e):n==="pl"?$X(e):SX(e)}),xX=e=>`By continuing, you agree to our <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Terms and Conditions</a>.`,zX=e=>`Ved å fortsette godtar du våre <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">vilkår</a>.`,AX=e=>`Genom att fortsätta godkänner du våra <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Villkor</a>.`,EX=e=>`Ved at fortsætte accepterer du vores <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Vilkår og betingelser</a>.`,CX=e=>`Jatkamalla hyväksyt <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Käyttöehdot</a>.`,IX=e=>`Pokračováním souhlasíte s našimi <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Podmínkami a pravidly</a>.`,jX=e=>`Kontynuując, akceptujesz nasze <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Zasady i warunki</a>.`,NX=e=>`Continuando, accetti i nostri <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Termini e condizioni</a>.`,s8=((e,t={})=>{const n=t.locale??N();return n==="en"?xX(e):n==="nb"?zX(e):n==="sv"?AX(e):n==="da"?EX(e):n==="fi"?CX(e):n==="cs"?IX(e):n==="pl"?jX(e):NX(e)}),TX=()=>"Welcome",PX=()=>"Velkommen",OX=()=>"Välkommen",RX=()=>"Velkommen",LX=()=>"Tervetuloa",DX=()=>"Vítejte",UX=()=>"Witamy",BX=()=>"Benvenuto",a8=((e={},t={})=>{const n=t.locale??N();return n==="en"?TX():n==="nb"?PX():n==="sv"?OX():n==="da"?RX():n==="fi"?LX():n==="cs"?DX():n==="pl"?UX():BX()}),MX=()=>"Log out",qX=()=>"Logg ut",FX=()=>"Logga ut",HX=()=>"Log ud",VX=()=>"Kirjaudu ulos",KX=()=>"Odhlášení",GX=()=>"Wylogowanie",WX=()=>"Disconnettersi",c8=((e={},t={})=>{const n=t.locale??N();return n==="en"?MX():n==="nb"?qX():n==="sv"?FX():n==="da"?HX():n==="fi"?VX():n==="cs"?KX():n==="pl"?GX():WX()}),JX=()=>"New email address",ZX=()=>"Ny e-postadresse",XX=()=>"Ny e-postadress",YX=()=>"Ny emailadresse",QX=()=>"Uusi sähköpostiosoite",eY=()=>"Nová e-mailová adresa",tY=()=>"Nowy adres e-mail",nY=()=>"Nuovo indirizzo email",u8=((e={},t={})=>{const n=t.locale??N();return n==="en"?JX():n==="nb"?ZX():n==="sv"?XX():n==="da"?YX():n==="fi"?QX():n==="cs"?eY():n==="pl"?tY():nY()}),rY=()=>"A one-time code will be sent to your new email address, enter the code in the next step.",iY=()=>"En engangskode vil bli sendt til din nye e-postadresse, skriv inn koden i neste steg.",oY=()=>"En engångskod skickas till din nya e-postadress, ange koden i nästa steg.",sY=()=>"En engangskode vil blive sendt til din nye e-mailadresse, indtast koden i næste trin.",aY=()=>"Yksi kertainen koodi lähetetään uuteen sähköpostiosoitteeseesi, syötä koodi seuraavassa vaiheessa.",cY=()=>"Na vaši novou e-mailovou adresu bude zaslán jednorázový kód, zadejte kód v dalším kroku.",uY=()=>"Jednorazowy kod zostanie wysłany na Twój nowy adres e-mail, wprowadź kod w następnym kroku.",lY=()=>"Un codice monouso verrà inviato al tuo nuovo indirizzo email, inserisci il codice nel passaggio successivo.",l8=((e={},t={})=>{const n=t.locale??N();return n==="en"?rY():n==="nb"?iY():n==="sv"?oY():n==="da"?sY():n==="fi"?aY():n==="cs"?cY():n==="pl"?uY():lY()}),dY=()=>"No email address set",pY=()=>"Ingen e-postadresse satt",fY=()=>"Ingen e-postadress angiven",hY=()=>"Ingen e-mailadresse er angivet",_Y=()=>"Ei sähköpostiosoitetta asetettu",mY=()=>"Žádná e-mailová adresa není nastavena",gY=()=>"Brak ustawionego adresu e-mail",yY=()=>"Nessun indirizzo email impostato",d8=((e={},t={})=>{const n=t.locale??N();return n==="en"?dY():n==="nb"?pY():n==="sv"?fY():n==="da"?hY():n==="fi"?_Y():n==="cs"?mY():n==="pl"?gY():yY()}),bY=()=>"No, I want to use another account",vY=()=>"Nei, jeg vil bruke en annen konto",wY=()=>"Nej, jag vill använda ett annat konto",kY=()=>"Nej, jeg vil bruge en anden konto",$Y=()=>"Ei, haluan käyttää toista tiliä",SY=()=>"Ne, chci použít jiný účet",xY=()=>"Nie, chcę użyć innego konta",zY=()=>"No, voglio usare un altro account",p8=((e={},t={})=>{const n=t.locale??N();return n==="en"?bY():n==="nb"?vY():n==="sv"?wY():n==="da"?kY():n==="fi"?$Y():n==="cs"?SY():n==="pl"?xY():zY()}),AY=()=>"or",EY=()=>"eller",CY=()=>"eller",IY=()=>"eller",jY=()=>"tai",NY=()=>"nebo",TY=()=>"lub",PY=()=>"o",f8=((e={},t={})=>{const n=t.locale??N();return n==="en"?AY():n==="nb"?EY():n==="sv"?CY():n==="da"?IY():n==="fi"?jY():n==="cs"?NY():n==="pl"?TY():PY()}),OY=()=>"Password",RY=()=>"Passord",LY=()=>"Lösenord",DY=()=>"Adgangskode",UY=()=>"Salasana",BY=()=>"Heslo",MY=()=>"Hasło",qY=()=>"Password",h8=((e={},t={})=>{const n=t.locale??N();return n==="en"?OY():n==="nb"?RY():n==="sv"?LY():n==="da"?DY():n==="fi"?UY():n==="cs"?BY():n==="pl"?MY():qY()}),FY=()=>"Password contains a forbidden word",HY=()=>"Passordet inneholder et forbudt ord",VY=()=>"Lösenordet innehåller ett förbjudet ord",KY=()=>"Adgangskoden indeholder et forbudt ord",GY=()=>"Salasana sisältää kielletyn sanan",WY=()=>"Heslo obsahuje zakázané slovo",JY=()=>"Hasło zawiera zakazane słowo",ZY=()=>"La password contiene una parola vietata",_8=((e={},t={})=>{const n=t.locale??N();return n==="en"?FY():n==="nb"?HY():n==="sv"?VY():n==="da"?KY():n==="fi"?GY():n==="cs"?WY():n==="pl"?JY():ZY()}),XY=()=>"Password cannot contain personal information like your name or email",YY=()=>"Passordet kan ikke inneholde personlig informasjon som navn eller e-post",QY=()=>"Lösenordet får inte innehålla personlig information som ditt namn eller e-post",eQ=()=>"Adgangskoden må ikke indeholde personlige oplysninger som dit navn eller e-mail",tQ=()=>"Salasana ei saa sisältää henkilötietoja, kuten nimeäsi tai sähköpostiosoitettasi",nQ=()=>"Heslo nesmí obsahovat osobní údaje jako jméno nebo e-mail",rQ=()=>"Hasło nie może zawierać danych osobowych, takich jak imię lub adres e-mail",iQ=()=>"La password non può contenere informazioni personali come il nome o l'email",m8=((e={},t={})=>{const n=t.locale??N();return n==="en"?XY():n==="nb"?YY():n==="sv"?QY():n==="da"?eQ():n==="fi"?tQ():n==="cs"?nQ():n==="pl"?rQ():iQ()}),oQ=()=>"The password has been reset",sQ=()=>"Passordet har blitt tilbakestilt",aQ=()=>"Lösenordet har återställts",cQ=()=>"Adgangskoden er blevet nulstillet",uQ=()=>"Salasana on nollattu",lQ=()=>"Heslo bylo resetováno",dQ=()=>"Hasło zostało zresetowane",pQ=()=>"La password è stata reimpostata",g8=((e={},t={})=>{const n=t.locale??N();return n==="en"?oQ():n==="nb"?sQ():n==="sv"?aQ():n==="da"?cQ():n==="fi"?uQ():n==="cs"?lQ():n==="pl"?dQ():pQ()}),fQ=()=>"Success",hQ=()=>"Suksess",_Q=()=>"Framgång",mQ=()=>"Succes",gQ=()=>"Menestys",yQ=()=>"Úspěch",bQ=()=>"Sukces",vQ=()=>"Il successo",y8=((e={},t={})=>{const n=t.locale??N();return n==="en"?fQ():n==="nb"?hQ():n==="sv"?_Q():n==="da"?mQ():n==="fi"?gQ():n==="cs"?yQ():n==="pl"?bQ():vQ()}),wQ=()=>"Password must contain at least one lowercase letter",kQ=()=>"Passordet må inneholde minst én liten bokstav",$Q=()=>"Lösenordet måste innehålla minst en liten bokstav",SQ=()=>"Adgangskoden skal indeholde mindst ét lille bogstav",xQ=()=>"Salasanan on sisällettävä vähintään yksi pieni kirjain",zQ=()=>"Heslo musí obsahovat alespoň jedno malé písmeno",AQ=()=>"Hasło musi zawierać co najmniej jedną małą literę",EQ=()=>"La password deve contenere almeno una lettera minuscola",b8=((e={},t={})=>{const n=t.locale??N();return n==="en"?wQ():n==="nb"?kQ():n==="sv"?$Q():n==="da"?SQ():n==="fi"?xQ():n==="cs"?zQ():n==="pl"?AQ():EQ()}),CQ=()=>"Password must contain at least one number",IQ=()=>"Passordet må inneholde minst ett tall",jQ=()=>"Lösenordet måste innehålla minst en siffra",NQ=()=>"Adgangskoden skal indeholde mindst ét tal",TQ=()=>"Salasanan on sisällettävä vähintään yksi numero",PQ=()=>"Heslo musí obsahovat alespoň jednu číslici",OQ=()=>"Hasło musi zawierać co najmniej jedną cyfrę",RQ=()=>"La password deve contenere almeno un numero",v8=((e={},t={})=>{const n=t.locale??N();return n==="en"?CQ():n==="nb"?IQ():n==="sv"?jQ():n==="da"?NQ():n==="fi"?TQ():n==="cs"?PQ():n==="pl"?OQ():RQ()}),LQ=()=>"Password must contain at least one special character",DQ=()=>"Passordet må inneholde minst ett spesialtegn",UQ=()=>"Lösenordet måste innehålla minst ett specialtecken",BQ=()=>"Adgangskoden skal indeholde mindst ét specialtegn",MQ=()=>"Salasanan on sisällettävä vähintään yksi erikoismerkki",qQ=()=>"Heslo musí obsahovat alespoň jeden speciální znak",FQ=()=>"Hasło musi zawierać co najmniej jeden znak specjalny",HQ=()=>"La password deve contenere almeno un carattere speciale",w8=((e={},t={})=>{const n=t.locale??N();return n==="en"?LQ():n==="nb"?DQ():n==="sv"?UQ():n==="da"?BQ():n==="fi"?MQ():n==="cs"?qQ():n==="pl"?FQ():HQ()}),VQ=()=>"Password must contain at least one uppercase letter",KQ=()=>"Passordet må inneholde minst én stor bokstav",GQ=()=>"Lösenordet måste innehålla minst en stor bokstav",WQ=()=>"Adgangskoden skal indeholde mindst ét stort bogstav",JQ=()=>"Salasanan on sisällettävä vähintään yksi iso kirjain",ZQ=()=>"Heslo musí obsahovat alespoň jedno velké písmeno",XQ=()=>"Hasło musi zawierać co najmniej jedną wielką literę",YQ=()=>"La password deve contenere almeno una lettera maiuscola",k8=((e={},t={})=>{const n=t.locale??N();return n==="en"?VQ():n==="nb"?KQ():n==="sv"?GQ():n==="da"?WQ():n==="fi"?JQ():n==="cs"?ZQ():n==="pl"?XQ():YQ()}),QQ=()=>"Code not found or expired",eee=()=>"Koden ble ikke funnet eller har utløpt",tee=()=>"Koden hittades inte eller har löpt ut",nee=()=>"Koden blev ikke fundet eller er udløbet",ree=()=>"Koodia ei löytynyt tai se on vanhentunut",iee=()=>"Kód nebyl nalezen nebo vypršel",oee=()=>"Kod nie został znaleziony lub wygasł",see=()=>"Codice non trovato o scaduto",$8=((e={},t={})=>{const n=t.locale??N();return n==="en"?QQ():n==="nb"?eee():n==="sv"?tee():n==="da"?nee():n==="fi"?ree():n==="cs"?iee():n==="pl"?oee():see()}),aee=()=>"The password could not be reset",cee=()=>"Passordet kunne ikke tilbakestilles",uee=()=>"Lösenordet kunde inte återställas",lee=()=>"Adgangskoden kunne ikke nulstilles",dee=()=>"Salasanaa ei voitu nollata",pee=()=>"Heslo se nepodařilo resetovat",fee=()=>"Nie udało się zresetować hasła",hee=()=>"Impossibile reimpostare la password",S8=((e={},t={})=>{const n=t.locale??N();return n==="en"?aee():n==="nb"?cee():n==="sv"?uee():n==="da"?lee():n==="fi"?dee():n==="cs"?pee():n==="pl"?fee():hee()}),_ee=()=>"Password was used recently and cannot be reused",mee=()=>"Passordet har blitt brukt nylig og kan ikke gjenbrukes",gee=()=>"Lösenordet har använts nyligen och kan inte återanvändas",yee=()=>"Adgangskoden er blevet brugt for nylig og kan ikke genbruges",bee=()=>"Salasanaa on käytetty äskettäin, eikä sitä voi käyttää uudelleen",vee=()=>"Heslo bylo nedávno použito a nelze jej znovu použít",wee=()=>"Hasło było niedawno używane i nie może być ponownie użyte",kee=()=>"La password è stata utilizzata di recente e non può essere riutilizzata",x8=((e={},t={})=>{const n=t.locale??N();return n==="en"?_ee():n==="nb"?mee():n==="sv"?gee():n==="da"?yee():n==="fi"?bee():n==="cs"?vee():n==="pl"?wee():kee()}),$ee=e=>`Password must be at least ${e?.minLength} characters`,See=e=>`Passordet må være minst ${e?.minLength} tegn`,xee=e=>`Lösenordet måste vara minst ${e?.minLength} tecken`,zee=e=>`Adgangskoden skal være mindst ${e?.minLength} tegn`,Aee=e=>`Salasanan on oltava vähintään ${e?.minLength} merkkiä`,Eee=e=>`Heslo musí mít alespoň ${e?.minLength} znaků`,Cee=e=>`Hasło musi mieć co najmniej ${e?.minLength} znaków`,Iee=e=>`La password deve contenere almeno ${e?.minLength} caratteri`,z8=((e,t={})=>{const n=t.locale??N();return n==="en"?$ee(e):n==="nb"?See(e):n==="sv"?xee(e):n==="da"?zee(e):n==="fi"?Aee(e):n==="cs"?Eee(e):n==="pl"?Cee(e):Iee(e)}),jee=e=>`Change password for your ${e?.vendorName} account`,Nee=e=>`Endre passord for din ${e?.vendorName} konto`,Tee=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,Pee=e=>`Skift adgangskode til din ${e?.vendorName} konto`,Oee=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Ree=e=>`Změna hesla pro účet ${e?.vendorName}`,Lee=e=>`Zmień hasło do konta ${e?.vendorName}`,Dee=e=>`Cambia la password per il tuo account ${e?.vendorName}`,A8=((e,t={})=>{const n=t.locale??N();return n==="en"?jee(e):n==="nb"?Nee(e):n==="sv"?Tee(e):n==="da"?Pee(e):n==="fi"?Oee(e):n==="cs"?Ree(e):n==="pl"?Lee(e):Dee(e)}),Uee=e=>`Change password for your ${e?.vendorName} account`,Bee=e=>`Endre passord for ${e?.vendorName} kontoen din`,Mee=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,qee=e=>`Skift adgangskode til din ${e?.vendorName} -konto`,Fee=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Hee=e=>`Změna hesla k účtu ${e?.vendorName} `,Vee=e=>`Zmiana hasła do konta ${e?.vendorName} `,Kee=e=>`Modifica della password dell'account ${e?.vendorName} `,E8=((e,t={})=>{const n=t.locale??N();return n==="en"?Uee(e):n==="nb"?Bee(e):n==="sv"?Mee(e):n==="da"?qee(e):n==="fi"?Fee(e):n==="cs"?Hee(e):n==="pl"?Vee(e):Kee(e)}),Gee=()=>"Phone number",Wee=()=>"Telefonnummer",Jee=()=>"Telefonnummer",Zee=()=>"Telefonnummer",Xee=()=>"Puhelinnumero",Yee=()=>"Telefonní číslo",Qee=()=>"Numer telefonu",ete=()=>"Numero di telefono",C8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gee():n==="nb"?Wee():n==="sv"?Jee():n==="da"?Zee():n==="fi"?Xee():n==="cs"?Yee():n==="pl"?Qee():ete()}),tte=()=>"Privacy Policy",nte=()=>"Personvernerklæring",rte=()=>"Integritetspolicy",ite=()=>"Politik for beskyttelse af personlige oplysninger",ote=()=>"Tietosuojakäytäntö",ste=()=>"Zásady ochrany osobních údajů",ate=()=>"Polityka prywatności",cte=()=>"Informativa sulla privacy",I8=((e={},t={})=>{const n=t.locale??N();return n==="en"?tte():n==="nb"?nte():n==="sv"?rte():n==="da"?ite():n==="fi"?ote():n==="cs"?ste():n==="pl"?ate():cte()}),ute=()=>"Redirecting",lte=()=>"Omdirigerer",dte=()=>"Du skickas vidare",pte=()=>"Omdirigering",fte=()=>"Uudelleenohjaus",hte=()=>"Přesměrování",_te=()=>"Przekierowanie",mte=()=>"Reindirizzamento",j8=((e={},t={})=>{const n=t.locale??N();return n==="en"?ute():n==="nb"?lte():n==="sv"?dte():n==="da"?pte():n==="fi"?fte():n==="cs"?hte():n==="pl"?_te():mte()}),gte=()=>"Confirm password",yte=()=>"Bekreft passord",bte=()=>"Bekräfta lösenord",vte=()=>"Bekræft adgangskode",wte=()=>"Vahvista salasana",kte=()=>"Potvrzení hesla",$te=()=>"Potwierdź hasło",Ste=()=>"Confermare la password",N8=((e={},t={})=>{const n=t.locale??N();return n==="en"?gte():n==="nb"?yte():n==="sv"?bte():n==="da"?vte():n==="fi"?wte():n==="cs"?kte():n==="pl"?$te():Ste()}),xte=()=>"Register a new password",zte=()=>"Registrer et nytt passord",Ate=()=>"Registrera ett nytt lösenord",Ete=()=>"Registrer en ny adgangskode",Cte=()=>"Rekisteröi uusi salasana",Ite=()=>"Registrace nového hesla",jte=()=>"Zarejestruj nowe hasło",Nte=()=>"Registrazione di una nuova password",T8=((e={},t={})=>{const n=t.locale??N();return n==="en"?xte():n==="nb"?zte():n==="sv"?Ate():n==="da"?Ete():n==="fi"?Cte():n==="cs"?Ite():n==="pl"?jte():Nte()}),Tte=()=>"Resend code",Pte=()=>"Send kode på nytt",Ote=()=>"Skicka koden igen",Rte=()=>"Send koden igen",Lte=()=>"Lähetä koodi uudelleen",Dte=()=>"Opětovné odeslání kódu",Ute=()=>"Wyślij ponownie kod",Bte=()=>"Reinvio del codice",P8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Tte():n==="nb"?Pte():n==="sv"?Ote():n==="da"?Rte():n==="fi"?Lte():n==="cs"?Dte():n==="pl"?Ute():Bte()}),Mte=()=>"Change password",qte=()=>"Endre passord",Fte=()=>"Ändra lösenord",Hte=()=>"Skift adgangskode",Vte=()=>"Vaihda salasana",Kte=()=>"Změna hesla",Gte=()=>"Zmiana hasła",Wte=()=>"Modifica della password",O8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Mte():n==="nb"?qte():n==="sv"?Fte():n==="da"?Hte():n==="fi"?Vte():n==="cs"?Kte():n==="pl"?Gte():Wte()}),Jte=()=>"Enter your new password below for the email account: ",Zte=()=>"Skriv inn det nye passordet for e-postkontoen nedenfor: ",Xte=()=>"Ange ditt nya lösenord nedan för e-postkontot: ",Yte=()=>"Indtast din nye adgangskode til e-mailkontoen nedenfor: ",Qte=()=>"Kirjoita alla oleva uusi salasanasi sähköpostitiliä varten: ",ene=()=>"Níže zadejte nové heslo k e-mailovému účtu: ",tne=()=>"Wprowadź poniżej nowe hasło do konta e-mail: ",nne=()=>"Immettere di seguito la nuova password per l'account e-mail: ",R8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Jte():n==="nb"?Zte():n==="sv"?Xte():n==="da"?Yte():n==="fi"?Qte():n==="cs"?ene():n==="pl"?tne():nne()}),rne=()=>"Click the button to reset your password",ine=()=>"Klikk på knappen for å tilbakestille passordet ditt",one=()=>"Klicka på knappen för att återställa ditt lösenord",sne=()=>"Klik på knappen for at nulstille din adgangskode",ane=()=>"Napsauta painiketta salasanasi palauttamiseksi",cne=()=>"Kliknutím na tlačítko obnovíte své heslo",une=()=>"Kliknij przycisk, aby zresetować hasło",lne=()=>"Fare clic sul pulsante per reimpostare la password",L8=((e={},t={})=>{const n=t.locale??N();return n==="en"?rne():n==="nb"?ine():n==="sv"?one():n==="da"?sne():n==="fi"?ane():n==="cs"?cne():n==="pl"?une():lne()}),dne=()=>"Click the button to reset your password",pne=()=>"Klikk på knappen for å tilbakestille passordet ditt",fne=()=>"Klicka på knappen för att återställa ditt lösenord",hne=()=>"Klik på knappen for at nulstille din adgangskode",_ne=()=>"Napsauta painiketta salasanasi palauttamiseksi",mne=()=>"Kliknutím na tlačítko obnovíte své heslo",gne=()=>"Kliknij przycisk, aby zresetować hasło",yne=()=>"Fare clic sul pulsante per reimpostare la password",D8=((e={},t={})=>{const n=t.locale??N();return n==="en"?dne():n==="nb"?pne():n==="sv"?fne():n==="da"?hne():n==="fi"?_ne():n==="cs"?mne():n==="pl"?gne():yne()}),bne=()=>"Reset your password",vne=()=>"Tilbakestill passordet ditt",wne=()=>"Återställ ditt lösenord",kne=()=>"Nulstil din adgangskode",$ne=()=>"Nollaa salasanasi",Sne=()=>"Obnovení hesla",xne=()=>"Zmień hasło",zne=()=>"Reimpostare la password",U8=((e={},t={})=>{const n=t.locale??N();return n==="en"?bne():n==="nb"?vne():n==="sv"?wne():n==="da"?kne():n==="fi"?$ne():n==="cs"?Sne():n==="pl"?xne():zne()}),Ane=e=>`Change password for your ${e?.vendorName} account`,Ene=e=>`Endre passord for ${e?.vendorName} -kontoen din`,Cne=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,Ine=e=>`Skift adgangskode til din ${e?.vendorName} -konto`,jne=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Nne=e=>`Změna hesla k účtu ${e?.vendorName} `,Tne=e=>`Zmiana hasła do konta ${e?.vendorName} `,Pne=e=>`Modifica della password dell'account ${e?.vendorName} `,B8=((e,t={})=>{const n=t.locale??N();return n==="en"?Ane(e):n==="nb"?Ene(e):n==="sv"?Cne(e):n==="da"?Ine(e):n==="fi"?jne(e):n==="cs"?Nne(e):n==="pl"?Tne(e):Pne(e)}),One=()=>"Reset password",Rne=()=>"Tilbakestill passord",Lne=()=>"Återställ lösenord",Dne=()=>"Nulstil adgangskode",Une=()=>"Nollaa salasana",Bne=()=>"Obnovení hesla",Mne=()=>"Resetowanie hasła",qne=()=>"Reimpostare la password",M8=((e={},t={})=>{const n=t.locale??N();return n==="en"?One():n==="nb"?Rne():n==="sv"?Lne():n==="da"?Dne():n==="fi"?Une():n==="cs"?Bne():n==="pl"?Mne():qne()}),Fne=()=>"Send",Hne=()=>"Send",Vne=()=>"Skicka",Kne=()=>"Send",Gne=()=>"Lähetä",Wne=()=>"Odeslat",Jne=()=>"Wyślij",Zne=()=>"Inviare",q8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Fne():n==="nb"?Hne():n==="sv"?Vne():n==="da"?Kne():n==="fi"?Gne():n==="cs"?Wne():n==="pl"?Jne():Zne()}),Xne=()=>"Send me a new magic link",Yne=()=>"Send meg en ny magisk lenke",Qne=()=>"Skicka en ny inloggninglänk",ere=()=>"Send mig et nyt magisk link",tre=()=>"Lähetä minulle uusi maaginen linkki",nre=()=>"Pošlete mi nový kouzelný odkaz",rre=()=>"Wyślij mi nowy magiczny link",ire=()=>"Inviami un nuovo link magico",F8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Xne():n==="nb"?Yne():n==="sv"?Qne():n==="da"?ere():n==="fi"?tre():n==="cs"?nre():n==="pl"?rre():ire()}),ore=()=>"Remember to check your spam folder if the email did not arrive.",sre=()=>"Husk å sjekke søppelpostmappen din hvis e-posten ikke kom.",are=()=>"Kom ihåg att kontrollera din skräppost om du inte kan hitta mailet vi har skickat.",cre=()=>"Husk at tjekke din spam-mappe, hvis e-mailen ikke er kommet frem.",ure=()=>"Muista tarkistaa roskapostikansiosi, jos sähköposti ei ole saapunut.",lre=()=>"Pokud e-mail nedorazil, nezapomeňte zkontrolovat složku nevyžádané pošty.",dre=()=>"Pamiętaj, aby sprawdzić folder spamu, jeśli wiadomość e-mail nie dotarła.",pre=()=>"Ricordate di controllare la cartella spam se l'e-mail non è arrivata.",H8=((e={},t={})=>{const n=t.locale??N();return n==="en"?ore():n==="nb"?sre():n==="sv"?are():n==="da"?cre():n==="fi"?ure():n==="cs"?lre():n==="pl"?dre():pre()}),fre=()=>"Invalid code",hre=()=>"Ugyldig kode",_re=()=>"Koden är inte giltig",mre=()=>"Ugyldig kode",gre=()=>"Virheellinen koodi",yre=()=>"Neplatný kód",bre=()=>"Nieprawidłowy kod",vre=()=>"Codice non valido",V8=((e={},t={})=>{const n=t.locale??N();return n==="en"?fre():n==="nb"?hre():n==="sv"?_re():n==="da"?mre():n==="fi"?gre():n==="cs"?yre():n==="pl"?bre():vre()}),wre=()=>"Session expired. Please try again.",kre=()=>"Økten har utløpt. Vennligst prøv igjen.",$re=()=>"Sessionen har upphört. Försök igen.",Sre=()=>"Sessionen er udløbet. Prøv venligst igen.",xre=()=>"Istunto on vanhentunut. Yritä uudelleen.",zre=()=>"Relace vypršela. Zkuste to prosím znovu.",Are=()=>"Sesja wygasła. Proszę spróbować ponownie.",Ere=()=>"Sessione scaduta. Si prega di riprovare.",K8=((e={},t={})=>{const n=t.locale??N();return n==="en"?wre():n==="nb"?kre():n==="sv"?$re():n==="da"?Sre():n==="fi"?xre():n==="cs"?zre():n==="pl"?Are():Ere()}),Cre=()=>"Set password",Ire=()=>"Angi passord",jre=()=>"Välj lösenord",Nre=()=>"Indstil adgangskode",Tre=()=>"Aseta salasana",Pre=()=>"Nastavení hesla",Ore=()=>"Ustaw hasło",Rre=()=>"Impostare la password",G8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Cre():n==="nb"?Ire():n==="sv"?jre():n==="da"?Nre():n==="fi"?Tre():n==="cs"?Pre():n==="pl"?Ore():Rre()}),Lre=()=>"Show password",Dre=()=>"Vis passord",Ure=()=>"Visa lösenord",Bre=()=>"Vis adgangskode",Mre=()=>"Näytä salasana",qre=()=>"Zobrazit heslo",Fre=()=>"Pokaż hasło",Hre=()=>"Mostra password",W8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Lre():n==="nb"?Dre():n==="sv"?Ure():n==="da"?Bre():n==="fi"?Mre():n==="cs"?qre():n==="pl"?Fre():Hre()}),Vre=()=>"Sign in",Kre=()=>"Logg inn",Gre=()=>"Logga in",Wre=()=>"Log ind",Jre=()=>"Kirjaudu sisään",Zre=()=>"Přihlásit se",Xre=()=>"Zaloguj się",Yre=()=>"Accedi",J8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Vre():n==="nb"?Kre():n==="sv"?Gre():n==="da"?Wre():n==="fi"?Jre():n==="cs"?Zre():n==="pl"?Xre():Yre()}),Qre=()=>"Signup",eie=()=>"Påmelding",tie=()=>"Registrera dig",nie=()=>"Tilmelding",rie=()=>"Rekisteröityminen",iie=()=>"Registrace",oie=()=>"Rejestracja",sie=()=>"Iscriviti",Z8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Qre():n==="nb"?eie():n==="sv"?tie():n==="da"?nie():n==="fi"?rie():n==="cs"?iie():n==="pl"?oie():sie()}),aie=()=>"Sign up successful",cie=()=>"Vellykket registrering",uie=()=>"Registrera dig framgångsrik",lie=()=>"Tilmeld dig med succes",die=()=>"Rekisteröidy onnistuneesti",pie=()=>"Úspěšná registrace",fie=()=>"Rejestracja zakończona sukcesem",hie=()=>"Iscriviti con successo",X8=((e={},t={})=>{const n=t.locale??N();return n==="en"?aie():n==="nb"?cie():n==="sv"?uie():n==="da"?lie():n==="fi"?die():n==="cs"?pie():n==="pl"?fie():hie()}),_ie=e=>`${e?.code} is your login code for ${e?.vendorName}`,mie=e=>`${e?.code} er innloggingskoden din for ${e?.vendorName}`,gie=e=>`${e?.code} är din inloggningskod för ${e?.vendorName}`,yie=e=>`${e?.code} er din login-kode til ${e?.vendorName}`,bie=e=>`${e?.code} on kirjautumiskoodisi ${e?.vendorName}`,vie=e=>`${e?.code} je váš přihlašovací kód pro ${e?.vendorName}`,wie=e=>`${e?.code} to kod logowania do ${e?.vendorName}`,kie=e=>`${e?.code} è il codice di accesso per ${e?.vendorName}`,Y8=((e,t={})=>{const n=t.locale??N();return n==="en"?_ie(e):n==="nb"?mie(e):n==="sv"?gie(e):n==="da"?yie(e):n==="fi"?bie(e):n==="cs"?vie(e):n==="pl"?wie(e):kie(e)}),$ie=()=>"It appears that your Spotify account is currently linked to another Sesamy account. But fear not, we're here to guide you through the process to get this fixed.",Sie=()=>"Det ser ut til at Spotify-kontoen din for øyeblikket er koblet til en annen Sesamy-konto. Men ikke vær redd, vi er her for å veilede deg gjennom prosessen for å få dette fikset.",xie=()=>"Det verkar som att ditt Spotify-konto för närvarande är kopplat till ett annat Sesamy-konto. Ingen fara, vi är här för att guida dig genom processen för att lösa detta.",zie=()=>"Det ser ud til, at din Spotify-konto i øjeblikket er knyttet til en anden Sesamy-konto. Men frygt ikke, vi er her for at guide dig gennem processen med at få det løst.",Aie=()=>"Näyttää siltä, että Spotify-tilisi on tällä hetkellä yhdistetty toiseen Sesamy-tiliin. Mutta älä pelkää, me opastamme sinua prosessin läpi, jotta saat tämän korjattua.",Eie=()=>"Zdá se, že váš účet Spotify je v současné době propojen s jiným účtem Sesamy. Ale nebojte se, jsme tu, abychom vás provedli procesem, jak to napravit.",Cie=()=>"Wygląda na to, że Twoje konto Spotify jest obecnie połączone z innym kontem Sesamy. Ale nie martw się, jesteśmy tutaj, aby poprowadzić Cię przez proces, aby to naprawić.",Iie=()=>"Sembra che il vostro account Spotify sia attualmente collegato a un altro account Sesamy. Ma non temete, siamo qui per guidarvi attraverso la procedura per risolvere il problema.",Q8=((e={},t={})=>{const n=t.locale??N();return n==="en"?$ie():n==="nb"?Sie():n==="sv"?xie():n==="da"?zie():n==="fi"?Aie():n==="cs"?Eie():n==="pl"?Cie():Iie()}),jie=()=>"Go to Spotify's Content Access page",Nie=()=>"Gå til Spotifys innholdstilgangsside",Tie=()=>"Gå till Spotify's Content Access sida",Pie=()=>"Gå til Spotifys side for adgang til indhold",Oie=()=>"Siirry Spotifyn Content Access -sivulle",Rie=()=>"Přejděte na stránku Spotify pro přístup k obsahu",Lie=()=>"Przejdź do strony dostępu do treści Spotify",Die=()=>"Vai alla pagina di accesso ai contenuti di Spotify",e$=((e={},t={})=>{const n=t.locale??N();return n==="en"?jie():n==="nb"?Nie():n==="sv"?Tie():n==="da"?Pie():n==="fi"?Oie():n==="cs"?Rie():n==="pl"?Lie():Die()}),Uie=()=>`Let's start by unlinking your Spotify account. Click the button below to go to Spotify's Content Access page. After you've logged in to your Spotify account, find Sesamy on the list of connected platforms. Click "Unlink" next to the Sesamy logo.`,Bie=()=>'La oss starte med å koble fra Spotify-kontoen din. Klikk på knappen nedenfor for å gå til Spotifys innholdstilgang-side. Etter at du har logget på Spotify-kontoen din, finner du Sesamy på listen over tilkoblede plattformer. Klikk "Fjern kobling" ved siden av Sesamy-logoen.',Mie=()=>`Vi börjar med att avlänka ditt Spotify-konto. Klicka på knappen nedan för att komma till Spotify's Content Access sida. När du har loggat in på ditt Spotify-konto, leta upp Sesamy i listan över anslutna plattformar. Klicka på "Unlink" bredvid Sesamys logotyp.`,qie=()=>'Lad os starte med at fjerne forbindelsen til din Spotify-konto. Klik på knappen nedenfor for at gå til Spotifys Content Access-side. Når du har logget ind på din Spotify-konto, skal du finde Sesamy på listen over tilsluttede platforme. Klik på "Unlink" ved siden af Sesamy-logoet.',Fie=()=>'Aloitetaan poistamalla Spotify-tilisi linkitys. Klikkaa alla olevaa painiketta siirtyäksesi Spotifyn Content Access -sivulle. Kun olet kirjautunut sisään Spotify-tilillesi, etsi Sesamy yhdistettyjen alustojen luettelosta. Napsauta "Unlink" Sesamyn logon vieressä.',Hie=()=>'Začněme odpojením účtu Spotify. Kliknutím na tlačítko níže přejděte na stránku přístupu k obsahu služby Spotify. Po přihlášení k účtu Spotify najděte v seznamu připojených platforem položku Sesamy. Klikněte na tlačítko "Unlink" vedle loga Sesamy.',Vie=()=>'Zacznijmy od odłączenia konta Spotify. Kliknij poniższy przycisk, aby przejść do strony dostępu do treści Spotify. Po zalogowaniu się na swoje konto Spotify, znajdź Sesamy na liście połączonych platform. Kliknij "Odłącz" obok logo Sesamy.',Kie=()=>`Cominciamo con lo scollegare il vostro account Spotify. Fare clic sul pulsante sottostante per accedere alla pagina di accesso ai contenuti di Spotify. Dopo aver effettuato l'accesso al vostro account Spotify, trovate Sesamy nell'elenco delle piattaforme collegate. Fate clic su "Unlink" accanto al logo di Sesamy.`,t$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Uie():n==="nb"?Bie():n==="sv"?Mie():n==="da"?qie():n==="fi"?Fie():n==="cs"?Hie():n==="pl"?Vie():Kie()}),Gie=()=>"Step 1: Unlink Your Spotify Account",Wie=()=>"Trinn 1: Koble fra Spotify-kontoen din",Jie=()=>"Steg 1: Avlänka ditt Spotify-konto",Zie=()=>"Trin 1: Fjern forbindelsen til din Spotify-konto",Xie=()=>"Vaihe 1: Poista Spotify-tilisi linkitys",Yie=()=>"Krok 1: Odpojení účtu Spotify",Qie=()=>"Krok 1: Odłącz swoje konto Spotify",eoe=()=>"Passo 1: Disconnettere l'account Spotify",n$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gie():n==="nb"?Wie():n==="sv"?Jie():n==="da"?Zie():n==="fi"?Xie():n==="cs"?Yie():n==="pl"?Qie():eoe()}),toe=()=>"Once you've successfully unlinked your Spotify account, you can relink it to Sesamy. Simply repeat the steps you previously took that led you to this page.",noe=()=>"Når du har koblet fra Spotify-kontoen din, kan du koble den til Sesamy på nytt. Bare gjenta trinnene du tidligere tok som førte deg til denne siden.",roe=()=>"När du har avlänkat ditt Spotify-konto kan du koppla det till Sesamy igen. Upprepa helt enkelt de steg du tog som ledde dig till den här sidan.",ioe=()=>"Når du har afkoblet din Spotify-konto, kan du koble den til Sesamy igen. Du skal blot gentage de trin, du tidligere har taget, og som førte dig til denne side.",ooe=()=>"Kun olet onnistuneesti irrottanut Spotify-tilisi, voit yhdistää sen uudelleen Sesamyn kanssa. Toista vain aiemmin tekemäsi vaiheet, jotka johtivat sinut tälle sivulle.",soe=()=>"Po úspěšném odpojení účtu Spotify jej můžete znovu propojit se službou Sesamy. Stačí zopakovat předchozí kroky, které vás přivedly na tuto stránku.",aoe=()=>"Po pomyślnym odłączeniu konta Spotify możesz ponownie połączyć je z Sesamy. Wystarczy powtórzyć poprzednie kroki, które doprowadziły Cię do tej strony.",coe=()=>"Dopo aver scollegato con successo il proprio account Spotify, è possibile ricollegarlo a Sesamy. È sufficiente ripetere i passaggi precedenti che vi hanno portato a questa pagina.",r$=((e={},t={})=>{const n=t.locale??N();return n==="en"?toe():n==="nb"?noe():n==="sv"?roe():n==="da"?ioe():n==="fi"?ooe():n==="cs"?soe():n==="pl"?aoe():coe()}),uoe=()=>"Step 2: Relink Your Spotify Account to Sesamy",loe=()=>"Trinn 2: Koble Spotify-kontoen din til Sesamy på nytt",doe=()=>"Steg 2: Koppla ditt Spotify-konto till Sesamy igen",poe=()=>"Trin 2: Relink din Spotify-konto til Sesamy",foe=()=>"Vaihe 2: Yhdistä Spotify-tilisi uudelleen Sesamyn kanssa",hoe=()=>"Krok 2: Propojení účtu Spotify s aplikací Sesamy",_oe=()=>"Krok 2: Połącz ponownie swoje konto Spotify z Sesamy",moe=()=>"Passo 2: ricollegare l'account Spotify a Sesamy",i$=((e={},t={})=>{const n=t.locale??N();return n==="en"?uoe():n==="nb"?loe():n==="sv"?doe():n==="da"?poe():n==="fi"?foe():n==="cs"?hoe():n==="pl"?_oe():moe()}),goe=()=>"Oops! Your Spotify Account Is Already Linked",yoe=()=>"Oops! Spotify-kontoen din er allerede koblet",boe=()=>"Oj! Ditt Spotify-konto är redan kopplat",voe=()=>"Ups! Din Spotify-konto er allerede forbundet",woe=()=>"Hups! Spotify-tilisi on jo linkitetty",koe=()=>"Ups! Váš účet Spotify je již propojen",$oe=()=>"Ups! Twoje konto Spotify jest już połączone",Soe=()=>"Ops! Il tuo account Spotify è già collegato",o$=((e={},t={})=>{const n=t.locale??N();return n==="en"?goe():n==="nb"?yoe():n==="sv"?boe():n==="da"?voe():n==="fi"?woe():n==="cs"?koe():n==="pl"?$oe():Soe()}),xoe=()=>"Success",zoe=()=>"Ferdig",Aoe=()=>"Klart",Eoe=()=>"Færdig",Coe=()=>"Valmis",Ioe=()=>"Hotovo",joe=()=>"Gotowe",Noe=()=>"Il successo",s$=((e={},t={})=>{const n=t.locale??N();return n==="en"?xoe():n==="nb"?zoe():n==="sv"?Aoe():n==="da"?Eoe():n==="fi"?Coe():n==="cs"?Ioe():n==="pl"?joe():Noe()}),Toe=()=>"If you have questions or need assistance, you can contact our support team",Poe=()=>"Hvis du har spørsmål eller trenger hjelp, kan du kontakte supportteamet vårt",Ooe=()=>"Om du har frågor eller behöver hjälp kan du kontakta vårt supportteam",Roe=()=>"Hvis du har spørgsmål eller brug for hjælp, kan du kontakte vores supportteam",Loe=()=>"Jos sinulla on kysyttävää tai tarvitset apua, voit ottaa yhteyttä tukitiimiimme.",Doe=()=>"Pokud máte dotazy nebo potřebujete pomoc, můžete se obrátit na náš tým podpory.",Uoe=()=>"Jeśli masz pytania lub potrzebujesz pomocy, skontaktuj się z nami",Boe=()=>"Se avete domande o bisogno di assistenza, potete contattare il nostro team di supporto",a$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Toe():n==="nb"?Poe():n==="sv"?Ooe():n==="da"?Roe():n==="fi"?Loe():n==="cs"?Doe():n==="pl"?Uoe():Boe()}),Moe=()=>"Terms and Conditions",qoe=()=>"vilkår",Foe=()=>"Villkor",Hoe=()=>"Vilkår og betingelser",Voe=()=>"Ehdot ja edellytykset",Koe=()=>"Podmínky a pravidla",Goe=()=>"Zasady i warunki",Woe=()=>"Termini e condizioni",c$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Moe():n==="nb"?qoe():n==="sv"?Foe():n==="da"?Hoe():n==="fi"?Voe():n==="cs"?Koe():n==="pl"?Goe():Woe()}),Joe=()=>"Too many failed login attempts. Please try again later.",Zoe=()=>"For mange mislykkede påloggingsforsøk. Vennligst prøv igjen senere.",Xoe=()=>"För många misslyckade inloggningsförsök. Försök igen senare.",Yoe=()=>"For mange mislykkede loginforsøg. Prøv venligst igen senere.",Qoe=()=>"Liian monta epäonnistunutta kirjautumisyritystä. Yritä myöhemmin uudelleen.",ese=()=>"Příliš mnoho neúspěšných pokusů o přihlášení. Zkuste to prosím později.",tse=()=>"Zbyt wiele nieudanych prób logowania. Spróbuj ponownie później.",nse=()=>"Troppi tentativi di accesso falliti. Riprova più tardi.",u$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Joe():n==="nb"?Zoe():n==="sv"?Xoe():n==="da"?Yoe():n==="fi"?Qoe():n==="cs"?ese():n==="pl"?tse():nse()}),rse=()=>"Something went wrong. Please try again.",ise=()=>"Noe gikk galt. Vennligst prøv igjen.",ose=()=>"Något gick fel. Vänligen försök igen.",sse=()=>"Noget gik galt. Prøv venligst igen.",ase=()=>"Jokin meni pieleen. Yritä uudelleen.",cse=()=>"Něco se pokazilo. Zkuste to prosím znovu.",use=()=>"Coś poszło nie tak. Spróbuj ponownie.",lse=()=>"Qualcosa è andato storto. Riprovare.",l$=((e={},t={})=>{const n=t.locale??N();return n==="en"?rse():n==="nb"?ise():n==="sv"?ose():n==="da"?sse():n==="fi"?ase():n==="cs"?cse():n==="pl"?use():lse()}),dse=()=>"Unlink",pse=()=>"Koble fra",fse=()=>"Koppla bort",hse=()=>"Frakobl",_se=()=>"Irrota",mse=()=>"Odpojit",gse=()=>"Odłącz",yse=()=>"Scollega",d$=((e={},t={})=>{const n=t.locale??N();return n==="en"?dse():n==="nb"?pse():n==="sv"?fse():n==="da"?hse():n==="fi"?_se():n==="cs"?mse():n==="pl"?gse():yse()}),bse=()=>"Your email address needs validating. We have sent a new email to your inbox",vse=()=>"E-postadressen din må bekreftes. Vi har sendt en ny e-post til innboksen din.",wse=()=>"Din e-postadress behöver valideras. Vi har skickat ett nytt e-postmeddelande till din inkorg",kse=()=>"Din e-mailadresse skal valideres. Vi har sendt en ny e-mail til din indbakke",$se=()=>"Sähköpostiosoitteesi on vahvistettava. Olemme lähettäneet uuden sähköpostiviestin sähköpostiisi.",Sse=()=>"Vaši e-mailovou adresu je třeba ověřit. Do vaší e-mailové schránky jsme odeslali nový e-mail.",xse=()=>"Twój adres e-mail wymaga weryfikacji. Wysłaliśmy nową wiadomość e-mail na Twoją skrzynkę odbiorczą",zse=()=>"Il tuo indirizzo e-mail deve essere convalidato. Abbiamo inviato una nuova e-mail alla tua casella di posta.",p$=((e={},t={})=>{const n=t.locale??N();return n==="en"?bse():n==="nb"?vse():n==="sv"?wse():n==="da"?kse():n==="fi"?$se():n==="cs"?Sse():n==="pl"?xse():zse()}),Ase=()=>"Update email",Ese=()=>"Oppdater e-post",Cse=()=>"Ändra e-post",Ise=()=>"Opdatering af e-mail",jse=()=>"Päivitä sähköposti",Nse=()=>"Aktualizace e-mailu",Tse=()=>"Aktualizacja wiadomości e-mail",Pse=()=>"Aggiornamento e-mail",f$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Ase():n==="nb"?Ese():n==="sv"?Cse():n==="da"?Ise():n==="fi"?jse():n==="cs"?Nse():n==="pl"?Tse():Pse()}),Ose=()=>"User account does not exist",Rse=()=>"Brukerkonto eksisterer ikke",Lse=()=>"Kontot existerar inte",Dse=()=>"Brugerkontoen findes ikke",Use=()=>"Käyttäjätiliä ei ole olemassa",Bse=()=>"Uživatelský účet neexistuje",Mse=()=>"Konto użytkownika nie istnieje",qse=()=>"L'account utente non esiste",h$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Ose():n==="nb"?Rse():n==="sv"?Lse():n==="da"?Dse():n==="fi"?Use():n==="cs"?Bse():n==="pl"?Mse():qse()}),Fse=()=>"User account does not exist",Hse=()=>"Brukerkonto eksisterer ikke",Vse=()=>"Kontot existerar inte",Kse=()=>"Brugerkontoen findes ikke",Gse=()=>"Käyttäjätiliä ei ole olemassa",Wse=()=>"Uživatelský účet neexistuje",Jse=()=>"Konto użytkownika nie istnieje",Zse=()=>"L'account utente non esiste",_$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Fse():n==="nb"?Hse():n==="sv"?Vse():n==="da"?Kse():n==="fi"?Gse():n==="cs"?Wse():n==="pl"?Jse():Zse()}),Xse=()=>"We could not find a user with the provided email address. Please, try again.",Yse=()=>"Vi kunne ikke finne en bruker med den oppgitte e-postadressen. Vær så snill, prøv på nytt.",Qse=()=>"Vi kan inte hitta en användare med denna eposten. Vänligen försök igen.",eae=()=>"Vi kunne ikke finde en bruger med den angivne e-mailadresse. Prøv venligst igen.",tae=()=>"Emme löytäneet käyttäjää, jolla on annettu sähköpostiosoite. Yritä uudelleen.",nae=()=>"Nepodařilo se nám najít uživatele se zadanou e-mailovou adresou. Zkuste to prosím znovu.",rae=()=>"Nie mogliśmy znaleźć użytkownika o podanym adresie e-mail. Spróbuj ponownie.",iae=()=>"Non è stato possibile trovare un utente con l'indirizzo e-mail fornito. Si prega di riprovare.",m$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Xse():n==="nb"?Yse():n==="sv"?Qse():n==="da"?eae():n==="fi"?tae():n==="cs"?nae():n==="pl"?rae():iae()}),oae=()=>"Try again.",sae=()=>"Prøv igjen.",aae=()=>"Försök igen.",cae=()=>"Prøv igen.",uae=()=>"Yritä uudelleen.",lae=()=>"Zkuste to znovu.",dae=()=>"Spróbuj ponownie.",pae=()=>"Riprova.",g$=((e={},t={})=>{const n=t.locale??N();return n==="en"?oae():n==="nb"?sae():n==="sv"?aae():n==="da"?cae():n==="fi"?uae():n==="cs"?lae():n==="pl"?dae():pae()}),fae=()=>"Validate code",hae=()=>"Bekreft koden",_ae=()=>"Validera kod",mae=()=>"Valider koden",gae=()=>"Validoi koodi",yae=()=>"Ověření kódu",bae=()=>"Sprawdź poprawność kodu",vae=()=>"Convalida del codice",y$=((e={},t={})=>{const n=t.locale??N();return n==="en"?fae():n==="nb"?hae():n==="sv"?_ae():n==="da"?mae():n==="fi"?gae():n==="cs"?yae():n==="pl"?bae():vae()}),wae=()=>"Check your inbox for email validation instructions.",kae=()=>"Sjekk innboksen din for instruksjoner om e-postvalidering.",$ae=()=>"Kontrollera din inkorg för instruktioner om validering av e-post.",Sae=()=>"Tjek din indbakke for instruktioner om validering af e-mail.",xae=()=>"Tarkista sähköpostin vahvistusohjeet postilaatikostasi.",zae=()=>"Pokyny k ověření e-mailu najdete ve své e-mailové schránce.",Aae=()=>"Sprawdź swoją skrzynkę odbiorczą, aby uzyskać instrukcje dotyczące weryfikacji wiadomości e-mail.",Eae=()=>"Controllate la vostra casella di posta per le istruzioni di convalida dell'e-mail.",b$=((e={},t={})=>{const n=t.locale??N();return n==="en"?wae():n==="nb"?kae():n==="sv"?$ae():n==="da"?Sae():n==="fi"?xae():n==="cs"?zae():n==="pl"?Aae():Eae()}),Cae=()=>"Signed up",Iae=()=>"Registrerte seg",jae=()=>"Registrerad",Nae=()=>"Tilmeldte sig",Tae=()=>"Rekisteröitynyt",Pae=()=>"Zaregistrovali jste se",Oae=()=>"Zarejestrowany",Rae=()=>"Iscritta",v$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Cae():n==="nb"?Iae():n==="sv"?jae():n==="da"?Nae():n==="fi"?Tae():n==="cs"?Pae():n==="pl"?Oae():Rae()}),Lae=()=>"Click the button to verify your email address",Dae=()=>"Klikk på knappen for å bekrefte e-postadressen din",Uae=()=>"Klicka på knappen för att verifiera din e-postadress",Bae=()=>"Klik på knappen for at bekræfte din e-mailadresse",Mae=()=>"Vahvista sähköpostiosoitteesi napsauttamalla painiketta",qae=()=>"Klikněte na tlačítko pro ověření e-mailové adresy",Fae=()=>"Kliknij przycisk, aby zweryfikować swój adres e-mail",Hae=()=>"Fare clic sul pulsante per verificare l'indirizzo e-mail",w$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Lae():n==="nb"?Dae():n==="sv"?Uae():n==="da"?Bae():n==="fi"?Mae():n==="cs"?qae():n==="pl"?Fae():Hae()}),Vae=()=>"Validate your email address",Kae=()=>"Bekreft e-postadressen din",Gae=()=>"Bekräfta din e-postadress",Wae=()=>"Bekræft din e-mailadresse",Jae=()=>"Vahvista sähköpostiosoitteesi",Zae=()=>"Ověřte svou e-mailovou adresu",Xae=()=>"Potwierdź swój adres e-mail",Yae=()=>"Convalidare l'indirizzo e-mail",k$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Vae():n==="nb"?Kae():n==="sv"?Gae():n==="da"?Wae():n==="fi"?Jae():n==="cs"?Zae():n==="pl"?Xae():Yae()}),Qae=()=>"Validate your email address",ece=()=>"Bekreft e-postadressen din",tce=()=>"Bekräfta din e-postadress",nce=()=>"Bekræft din e-mailadresse",rce=()=>"Vahvista sähköpostiosoitteesi",ice=()=>"Ověřte svou e-mailovou adresu",oce=()=>"Potwierdź swój adres e-mail",sce=()=>"Convalidare l'indirizzo e-mail",$$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Qae():n==="nb"?ece():n==="sv"?tce():n==="da"?nce():n==="fi"?rce():n==="cs"?ice():n==="pl"?oce():sce()}),ace=()=>"Verify account",cce=()=>"Bekreft konto",uce=()=>"Verifiera konto",lce=()=>"Bekræft konto",dce=()=>"Vahvista tili",pce=()=>"Ověření účtu",fce=()=>"Zweryfikuj konto",hce=()=>"Verifica dell'account",S$=((e={},t={})=>{const n=t.locale??N();return n==="en"?ace():n==="nb"?cce():n==="sv"?uce():n==="da"?lce():n==="fi"?dce():n==="cs"?pce():n==="pl"?fce():hce()}),_ce=()=>"Verify your email",mce=()=>"Bekreft e-posten din",gce=()=>"Ange engångskod",yce=()=>"Bekræft din e-mail",bce=()=>"Vahvista sähköpostiosoitteesi",vce=()=>"Ověření e-mailu",wce=()=>"Zweryfikuj swój adres e-mail",kce=()=>"Verificare l'e-mail",x$=((e={},t={})=>{const n=t.locale??N();return n==="en"?_ce():n==="nb"?mce():n==="sv"?gce():n==="da"?yce():n==="fi"?bce():n==="cs"?vce():n==="pl"?wce():kce()}),$ce=()=>"Welcome",Sce=()=>"Velkommen",xce=()=>"Välkommen",zce=()=>"Velkommen",Ace=()=>"Tervetuloa",Ece=()=>"Vítejte na",Cce=()=>"Witamy",Ice=()=>"Benvenuti",z$=((e={},t={})=>{const n=t.locale??N();return n==="en"?$ce():n==="nb"?Sce():n==="sv"?xce():n==="da"?zce():n==="fi"?Ace():n==="cs"?Ece():n==="pl"?Cce():Ice()}),jce=e=>`Welcome to your ${e?.vendorName} account!`,Nce=e=>`Velkommen til din brukerkonto hos ${e?.vendorName}!`,Tce=e=>`Välkommen till ditt ${e?.vendorName}-konto!`,Pce=e=>`Velkommen til din ${e?.vendorName} konto!`,Oce=e=>`Tervetuloa tilillesi ${e?.vendorName}!`,Rce=e=>`Vítejte na svém účtu ${e?.vendorName}!`,Lce=e=>`Witamy na koncie ${e?.vendorName}!`,Dce=e=>`Benvenuto nel tuo account ${e?.vendorName}!`,A$=((e,t={})=>{const n=t.locale??N();return n==="en"?jce(e):n==="nb"?Nce(e):n==="sv"?Tce(e):n==="da"?Pce(e):n==="fi"?Oce(e):n==="cs"?Rce(e):n==="pl"?Lce(e):Dce(e)}),Uce=e=>`Please check your email at <0>${e?.email}</0> and enter the six-digit code that we've sent you.`,Bce=e=>`Vennligst sjekk e-posten din på <0>${e?.email}</0> og skriv inn den sekssifrede koden som vi har sendt deg.`,Mce=e=>`Vänligen kontrollera din e-post för <0>${e?.email}</0> och ange den sexsiffriga koden som vi har skickat till dig.`,qce=e=>`Tjek venligst din e-mail på <0>${e?.email}</0> og indtast den sekscifrede kode, vi har sendt dig.`,Fce=e=>`Tarkista sähköpostisi osoitteesta <0>${e?.email}</0> ja syötä lähettämämme kuusinumeroinen koodi.`,Hce=e=>`Zkontrolujte si prosím svůj e-mail na adrese <0>${e?.email}</0> a zadejte šestimístný kód, který jsme vám zaslali.`,Vce=e=>`Sprawdź swoją skrzynkę e-mail pod adresem <0>${e?.email}</0> i wprowadź sześciocyfrowy kod, który wysłaliśmy.`,Kce=e=>`Controllate la vostra e-mail all'indirizzo <0>${e?.email}</0> e inserisca il codice a sei cifre che le abbiamo inviato.`,E$=((e,t={})=>{const n=t.locale??N();return n==="en"?Uce(e):n==="nb"?Bce(e):n==="sv"?Mce(e):n==="da"?qce(e):n==="fi"?Fce(e):n==="cs"?Hce(e):n==="pl"?Vce(e):Kce(e)}),Gce=()=>"Continue with this account",Wce=()=>"Fortsett med denne kontoen",Jce=()=>"Fortsätt med konto",Zce=()=>"Fortsæt med denne konto",Xce=()=>"Jatka tällä tilillä",Yce=()=>"Pokračujte s tímto účtem",Qce=()=>"Kontynuuj korzystanie z tego konta",eue=()=>"Continuare con questo account",C$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gce():n==="nb"?Wce():n==="sv"?Jce():n==="da"?Zce():n==="fi"?Xce():n==="cs"?Yce():n==="pl"?Qce():eue()}),tue=e=>`Yes, continue with ${e?.text}`,nue=e=>`Ja, fortsett med ${e?.text}`,rue=e=>`Ja, fortsätt med ${e?.text}`,iue=e=>`Ja, fortsæt med ${e?.text}`,oue=e=>`Kyllä, jatka ${e?.text}`,sue=e=>`Ano, pokračujte ${e?.text}`,aue=e=>`Tak, kontynuuj ${e?.text}`,cue=e=>`Sì, continuare con ${e?.text}`,I$=((e,t={})=>{const n=t.locale??N();return n==="en"?tue(e):n==="nb"?nue(e):n==="sv"?rue(e):n==="da"?iue(e):n==="fi"?oue(e):n==="cs"?sue(e):n==="pl"?aue(e):cue(e)}),uue=()=>"Yes, continue with existing account",lue=()=>"Ja, fortsett med eksisterende konto",due=()=>"Ja, fortsätt med detta kontot",pue=()=>"Ja, fortsæt med eksisterende konto",fue=()=>"Kyllä, jatka olemassa olevalla tilillä",hue=()=>"Ano, pokračujte ve stávajícím účtu",_ue=()=>"Tak, kontynuuj korzystanie z istniejącego konta",mue=()=>"Sì, continuare con l'account esistente",j$=((e={},t={})=>{const n=t.locale??N();return n==="en"?uue():n==="nb"?lue():n==="sv"?due():n==="da"?pue():n==="fi"?fue():n==="cs"?hue():n==="pl"?_ue():mue()}),gue=Object.freeze(Object.defineProperty({__proto__:null,"Server error: Invalid code":V8,account_detected:l4,account_page_description:d4,account_title:p4,account_with_sso_provider:f4,agree_to:h4,already_have_account:_4,and:m4,auth_method_email:g4,auth_method_email_or_phone:y4,auth_method_phone:b4,callback_url_mismatch:v4,callback_url_not_allowed:w4,change_email:k4,check_account_continue_question:$4,check_account_description:S4,check_account_description_fallback:x4,check_account_error:z4,check_account_logged_in_as:A4,check_account_title:E4,check_email_title:C4,click_to_sign_up_description:I4,code_email_enter_code:j4,code_email_subject:N4,code_email_title:T4,code_expired:P4,code_invalid:O4,code_sent_template:R4,code_used:L4,code_valid_30_minutes:D4,configuration_error_message:U4,confirm_password:B4,confirm_unlink:M4,contact_support:q4,contact_us:F4,continue:H4,continue_social_login:V4,continue_with:K4,continue_with_sso_provider_headline:G4,copyright:W4,copyright_sesamy:J4,create_account_description:Z4,create_account_email_invalid:X4,create_account_passwords_didnt_match:Y4,create_account_title:Q4,create_account_weak_password:e6,create_new_account_link:t6,create_password_account_title:n6,current_email:i6,currently_logged_in_as:o6,dont_have_account:r6,edit:s6,email:a6,email_already_taken:c6,email_changed_to_template:u6,email_or_phone_placeholder:l6,email_placeholder:d6,email_validated:p6,email_validated_cta:f6,email_verification_for_signup_sent_description:h6,email_verification_for_signup_sent_title:_6,embedded_browser_detected:m6,embedded_browser_warning:g6,enter_a_code_btn:y6,enter_email_for_verification_description:b6,enter_new_email:v6,enter_new_password_placeholder:w6,enter_password:k6,enter_password_description:$6,enter_your_password_btn:S6,error_page_title:x6,expired_code:z6,fokus_info_message:A6,forgot_password_cta:E6,forgot_password_description:C6,forgot_password_email_sent:I6,forgot_password_link:j6,forgot_password_title:N6,go_back:T6,hide_password:P6,incognito_mode_detected:O6,incognito_mode_warning:R6,invalid_email:L6,invalid_identifier:D6,invalid_password:U6,invalid_session_body:B6,invalid_session_title:M6,link_email_click_to_login:F6,link_email_login:H6,link_email_or_enter_code:V6,link_page_body:K6,link_page_headline:G6,linked_accounts:q6,log_in:W6,logged_in_as:J6,login:Z6,login_description:X6,login_description_code:Y6,login_description_combined:Q6,login_description_link:e8,login_description_phone:t8,login_description_template:n8,login_id_button_text:r8,login_id_description:i8,login_id_federated_connection_button_text:o8,login_id_terms_and_conditions_text:s8,login_id_title:a8,logout:c8,new_email:u8,new_email_code_info:l8,no_email_address:d8,no_use_another:p8,or:f8,password:h8,password_contains_forbidden_word:_8,password_contains_personal_info:m8,password_has_been_reset:g8,password_has_been_reset_title:y8,password_missing_lowercase:b8,password_missing_number:v8,password_missing_special:w8,password_missing_uppercase:k8,password_reset_code_expired:$8,password_reset_failed:S8,password_reset_subject:A8,password_reset_title:E8,password_reused:x8,password_too_short:z8,phone_placeholder:C8,privacy_policy:I8,redirecting:j8,reenter_new_password_placeholder:N8,register_password_account:T8,resend_code:P8,reset_password_cta:O8,reset_password_description:R8,reset_password_email_click_to_reset:L8,reset_password_email_cta:D8,reset_password_email_reset:U8,reset_password_subject:B8,reset_password_title:M8,send:q8,send_me_a_new_magic_link:F8,sent_code_spam:H8,session_expired:K8,set_password:G8,show_password:W8,sign_in:J8,signup:Z8,signup_success:X8,sms_code_text:Y8,spotify_already_linked_body:Q8,spotify_already_linked_cta:e$,spotify_already_linked_step1_body:t$,spotify_already_linked_step1_title:n$,spotify_already_linked_step2_body:r$,spotify_already_linked_step2_title:i$,spotify_already_linked_title:o$,success:s$,support_info:a$,terms:c$,too_many_failed_logins:u$,unexpected_error_try_again:l$,unlink:d$,unverified_email:p$,update_email:f$,user_account_does_not_exist:h$,user_not_found:_$,user_not_found_body:m$,user_not_found_cta:g$,validate_code:y$,validate_email_body:b$,validate_email_title:v$,verify_email_click_to_verify:w$,verify_email_subject:k$,verify_email_title:$$,verify_email_verify:S$,verify_your_email:x$,we_sent_a_code_to:E$,welcome:z$,welcome_to_your_account:A$,yes_continue:C$,yes_continue_with:I$,yes_continue_with_existing_account:j$},Symbol.toStringTag,{value:"Module"})),yue=Object.freeze(Object.defineProperty({__proto__:null,"Server error: Invalid code":V8,account_detected:l4,account_page_description:d4,account_title:p4,account_with_sso_provider:f4,agree_to:h4,already_have_account:_4,and:m4,auth_method_email:g4,auth_method_email_or_phone:y4,auth_method_phone:b4,callback_url_mismatch:v4,callback_url_not_allowed:w4,change_email:k4,check_account_continue_question:$4,check_account_description:S4,check_account_description_fallback:x4,check_account_error:z4,check_account_logged_in_as:A4,check_account_title:E4,check_email_title:C4,click_to_sign_up_description:I4,code_email_enter_code:j4,code_email_subject:N4,code_email_title:T4,code_expired:P4,code_invalid:O4,code_sent_template:R4,code_used:L4,code_valid_30_minutes:D4,configuration_error_message:U4,confirm_password:B4,confirm_unlink:M4,contact_support:q4,contact_us:F4,continue:H4,continue_social_login:V4,continue_with:K4,continue_with_sso_provider_headline:G4,copyright:W4,copyright_sesamy:J4,create_account_description:Z4,create_account_email_invalid:X4,create_account_passwords_didnt_match:Y4,create_account_title:Q4,create_account_weak_password:e6,create_new_account_link:t6,create_password_account_title:n6,current_email:i6,currently_logged_in_as:o6,dont_have_account:r6,edit:s6,email:a6,email_already_taken:c6,email_changed_to_template:u6,email_or_phone_placeholder:l6,email_placeholder:d6,email_validated:p6,email_validated_cta:f6,email_verification_for_signup_sent_description:h6,email_verification_for_signup_sent_title:_6,embedded_browser_detected:m6,embedded_browser_warning:g6,enter_a_code_btn:y6,enter_email_for_verification_description:b6,enter_new_email:v6,enter_new_password_placeholder:w6,enter_password:k6,enter_password_description:$6,enter_your_password_btn:S6,error_page_title:x6,expired_code:z6,fokus_info_message:A6,forgot_password_cta:E6,forgot_password_description:C6,forgot_password_email_sent:I6,forgot_password_link:j6,forgot_password_title:N6,go_back:T6,hide_password:P6,incognito_mode_detected:O6,incognito_mode_warning:R6,invalid_email:L6,invalid_identifier:D6,invalid_password:U6,invalid_session_body:B6,invalid_session_title:M6,link_email_click_to_login:F6,link_email_login:H6,link_email_or_enter_code:V6,link_page_body:K6,link_page_headline:G6,linked_accounts:q6,log_in:W6,logged_in_as:J6,login:Z6,login_description:X6,login_description_code:Y6,login_description_combined:Q6,login_description_link:e8,login_description_phone:t8,login_description_template:n8,login_id_button_text:r8,login_id_description:i8,login_id_federated_connection_button_text:o8,login_id_terms_and_conditions_text:s8,login_id_title:a8,logout:c8,m:gue,new_email:u8,new_email_code_info:l8,no_email_address:d8,no_use_another:p8,or:f8,password:h8,password_contains_forbidden_word:_8,password_contains_personal_info:m8,password_has_been_reset:g8,password_has_been_reset_title:y8,password_missing_lowercase:b8,password_missing_number:v8,password_missing_special:w8,password_missing_uppercase:k8,password_reset_code_expired:$8,password_reset_failed:S8,password_reset_subject:A8,password_reset_title:E8,password_reused:x8,password_too_short:z8,phone_placeholder:C8,privacy_policy:I8,redirecting:j8,reenter_new_password_placeholder:N8,register_password_account:T8,resend_code:P8,reset_password_cta:O8,reset_password_description:R8,reset_password_email_click_to_reset:L8,reset_password_email_cta:D8,reset_password_email_reset:U8,reset_password_subject:B8,reset_password_title:M8,send:q8,send_me_a_new_magic_link:F8,sent_code_spam:H8,session_expired:K8,set_password:G8,show_password:W8,sign_in:J8,signup:Z8,signup_success:X8,sms_code_text:Y8,spotify_already_linked_body:Q8,spotify_already_linked_cta:e$,spotify_already_linked_step1_body:t$,spotify_already_linked_step1_title:n$,spotify_already_linked_step2_body:r$,spotify_already_linked_step2_title:i$,spotify_already_linked_title:o$,success:s$,support_info:a$,terms:c$,too_many_failed_logins:u$,unexpected_error_try_again:l$,unlink:d$,unverified_email:p$,update_email:f$,user_account_does_not_exist:h$,user_not_found:_$,user_not_found_body:m$,user_not_found_cta:g$,validate_code:y$,validate_email_body:b$,validate_email_title:v$,verify_email_click_to_verify:w$,verify_email_subject:k$,verify_email_title:$$,verify_email_verify:S$,verify_your_email:x$,we_sent_a_code_to:E$,welcome:z$,welcome_to_your_account:A$,yes_continue:C$,yes_continue_with:I$,yes_continue_with_existing_account:j$},Symbol.toStringTag,{value:"Module"}));function bue(e,t){if(!t)return e;let n=e;for(const[r,i]of Object.entries(t))if(i!==void 0){const s=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n=n.replace(new RegExp(`\\$\\{${s}\\}`,"g"),String(i)).replace(new RegExp(`#\\{${s}\\}`,"g"),String(i)).replace(new RegExp(`\\{${s}\\}`,"g"),String(i))}return n}function vue(e){const t=e.split("-")[0]?.toLowerCase()||j0;return Mu.includes(t)?t:j0}function wue(e,t){const n={};if(!e)return n;const r=t?t.replace(/-/g,"_").toLowerCase()+"_":"";for(const[i,s]of Object.entries(e))if(typeof s=="string"){const a=i.replace(/([A-Z])/g,"_$1").replace(/-/g,"_").toLowerCase().replace(/^_/,""),c=r+a;n[c]=s,n[a]=s}return n}function kue(e,t){XO(()=>e);const n={};for(const[r,i]of Object.entries(yue))typeof i=="function"?n[r]=s=>{const a=t[r];return a!==void 0?bue(a,s):i(s)}:n[r]=i;return n}function jn(e,t,n){const r=vue(e),i=wue(t,n),s=kue(r,i);return{locale:r,m:s}}async function gs(e){const{branding:t,state:n,errors:r,data:i,customText:s,routePrefix:a}=e,c=e.language||"en",{m:u}=jn(c,s),l=i?.email,d=r?.password,f=[...l?[{id:"email-display",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`Signing in as <strong>${zn(l)}</strong>`},order:0}]:[],{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.password(),config:{placeholder:u.enter_password()},required:!0,sensitive:!0,order:1,hint:d},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:u.continue()},order:2}];return{screen:{name:"enter-password",action:`${a}/enter-password?state=${encodeURIComponent(n)}`,method:"POST",title:u.enter_password(),components:f,links:[{id:"forgot-password",text:u.forgot_password_link(),linkText:u.reset_password_cta(),href:`${a}/forgot-password?state=${encodeURIComponent(n)}`},{id:"back",text:"",linkText:u.go_back(),href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const $ue={id:"enter-password",name:"Enter Password",description:"Password authentication screen",handler:{get:gs,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.password?.trim();if(!s)return{error:"Password is required",screen:await gs({...e,errors:{password:"Password is required"}})};const a=await n.env.data.loginSessions.get(r.tenant.id,i);if(!a||!a.authParams?.username)return{error:"Session expired",screen:await gs({...e,errors:{password:"Session expired. Please start over."}})};try{const c=await Oa(n,r,{...a.authParams,password:s},a),u=c.headers.get("location"),l=c.headers.getSetCookie?.()||[];return u?{redirect:u,cookies:l}:{response:c}}catch(c){const u=c,l=e.language||"en",{m:d}=jn(l,e.customText);let f=u.message||d.invalid_password();return u.code==="INVALID_PASSWORD"||u.code==="USER_NOT_FOUND"?f=d.invalid_password():u.code==="EMAIL_NOT_VERIFIED"?f=d.unverified_email():u.code==="TOO_MANY_FAILED_LOGINS"&&(f=d.too_many_failed_logins()),{error:f,screen:await gs({...e,errors:{password:f}})}}}}};function Sue(e,t){const{connections:n}=e,r=n.filter(u=>u.strategy!=="email"&&u.strategy!=="sms"&&u.strategy!=="Username-Password-Authentication");if(r.length===0)return[];const i=r.map(u=>{const l=u.display_name||u.name;return{name:u.name,strategy:u.strategy,display_name:t.login_id_federated_connection_button_text({connectionName:l}),icon_url:u2(u)}}),a={id:"social-buttons",type:"SOCIAL",category:"FIELD",visible:!0,config:{providers:r.map(u=>u.name),provider_details:i},order:0};if(n.some(u=>u.strategy==="email"||u.strategy==="sms"||u.strategy==="Username-Password-Authentication")){const u={id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:1,config:{text:t.or()}};return[a,u]}return[a]}async function Ti(e){const{client:t,branding:n,state:r,prefill:i,errors:s,messages:a,customText:c,promptScreen:u,routePrefix:l}=e,d=e.language||"en",{m:f}=jn(d,c,u||"login-id"),p=Sue(e,f),h=p.length,_=e.connections.some(b=>b.strategy==="email"||b.strategy==="sms"||b.strategy==="Username-Password-Authentication"),g=[...p];if(_){const b=s?.username;g.push({id:"username",type:"EMAIL",category:"FIELD",visible:!0,label:f.email_placeholder(),config:{placeholder:f.email_placeholder()},required:!0,order:h+1,hint:b},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:f.login_id_button_text()},order:h+2})}const y=t.client_metadata?.termsAndConditionsUrl;let m;y&&(m=`<div class="terms-text">${c?.termsAndConditionsTemplate?String(c.termsAndConditionsTemplate).replace(/\$\{termsAndConditionsUrl\}/g,y):f.login_id_terms_and_conditions_text({termsAndConditionsUrl:y})}</div>`);const v=e.connections.some(b=>b.strategy==="Username-Password-Authentication"),w=t.client_metadata?.disable_sign_ups==="true";if(v&&!w){const b=`${l}/signup?state=${encodeURIComponent(r)}`;g.push({id:"signup-link",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="signup-link">${f.dont_have_account()} <a href="${b}">${f.create_new_account_link()}</a></div>`},order:g.length+1})}const S={name:"identifier",action:`${l}/login/identifier?state=${encodeURIComponent(r)}`,method:"POST",title:f.login_id_title(),description:f.login_id_description({companyName:t.tenant.friendly_name||t.tenant.id||"AuthHero",clientName:t.name||"the application"}),components:g,messages:a,footer:m};if(i?.username){const b=S.components.find(x=>x.id==="username");b&&"config"in b&&(b.config.value=i.username)}return{screen:S,branding:n}}const xue={id:"identifier",name:"Identifier",description:"First screen of the login flow - collects email/username",handler:{get:Ti,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.username?.toLowerCase()?.trim();if(!s)return{error:"Email is required",screen:await Ti({...e,errors:{username:"Email is required"}})};const a=n.get("countryCode"),{normalized:c,connectionType:u,provider:l}=Fo(s,a);if(!c)return{error:"Invalid identifier",screen:await Ti({...e,prefill:{username:s},errors:{username:"Invalid identifier"}})};const d=u==="email"?await zo({userAdapter:n.env.data.users,tenant_id:r.tenant.id,email:c}):await Wn({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:c,provider:l});if(!(r.connections.find(w=>w.strategy===u)||d))return{error:"Invalid identifier",screen:await Ti({...e,prefill:{username:s},errors:{username:"Invalid identifier"}})};if(!d){const w=await ol(n,r,n.env.data,c,u);if(!w.allowed)return{error:w.reason||"Account does not exist",screen:await Ti({...e,prefill:{username:s},errors:{username:"Account does not exist"}})}}const p=await n.env.data.loginSessions.get(r.tenant.id,i);if(!p)return{error:"Session expired",screen:await Ti({...e,prefill:{username:s},errors:{username:"Session expired. Please try again."}})};p.authParams.username=c,await n.env.data.loginSessions.update(r.tenant.id,p.id,p);const h=await Ek(n,r,s,u,t.login_selection),_={...e,data:{email:c},errors:void 0};if(h==="password")return{screen:await gs(_)};let g=xn(),y=await n.env.data.codes.get(r.tenant.id,g,"otp");for(;y;)g=xn(),y=await n.env.data.codes.get(r.tenant.id,g,"otp");await n.env.data.codes.create(r.tenant.id,{code_id:g,code_type:"otp",login_id:p.id,expires_at:new Date(Date.now()+Ss).toISOString(),redirect_uri:p.authParams.redirect_uri});const m=r.connections.find(w=>w.strategy===u),v=p.authParams?.ui_locales?.split(" ")?.map(w=>w.split("-")[0])[0];return u==="email"&&m?.options?.authentication_method==="magic_link"?await od(n,{to:c,code:g,authParams:p.authParams,language:v}):await id(n,{to:c,code:g,language:v}),{screen:await Mi(_)}}}};function zue(e,t){const{connections:n}=e,r=n.filter(u=>u.strategy!=="email"&&u.strategy!=="sms"&&u.strategy!=="Username-Password-Authentication");if(r.length===0)return[];const i=r.map(u=>{const l=u.display_name||u.name;return{name:u.name,strategy:u.strategy,display_name:t.login_id_federated_connection_button_text({connectionName:l}),icon_url:u2(u)}}),a={id:"social-buttons",type:"SOCIAL",category:"FIELD",visible:!0,config:{providers:r.map(u=>u.name),provider_details:i},order:0};if(n.some(u=>u.strategy==="email"||u.strategy==="sms"||u.strategy==="Username-Password-Authentication")){const u={id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:1,config:{text:t.or()}};return[a,u]}return[a]}async function ur(e){const{client:t,branding:n,state:r,prefill:i,errors:s,messages:a,customText:c,promptScreen:u,routePrefix:l}=e,d=e.language||"en",{m:f}=jn(d,c,u||"login"),p=zue(e,f),h=p.length,_=e.connections.some(S=>S.strategy==="Username-Password-Authentication"),g=[...p];if(_){const S=s?.username,b=s?.password;g.push({id:"username",type:"EMAIL",category:"FIELD",visible:!0,label:f.email_placeholder(),config:{placeholder:f.email_placeholder()},required:!0,order:h+1,hint:S},{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:f.password(),config:{placeholder:f.enter_password()},required:!0,sensitive:!0,order:h+2,hint:b},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:f.continue()},order:h+3})}const y=t.client_metadata?.termsAndConditionsUrl;let m;y&&(m=`<div class="terms-text">${c?.termsAndConditionsTemplate?String(c.termsAndConditionsTemplate).replace(/\$\{termsAndConditionsUrl\}/g,y):f.login_id_terms_and_conditions_text({termsAndConditionsUrl:y})}</div>`);const v=t.client_metadata?.disable_sign_ups==="true";if(_&&!v){const S=`${l}/signup?state=${encodeURIComponent(r)}`;g.push({id:"signup-link",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="signup-link">${f.dont_have_account()} <a href="${S}">${f.create_new_account_link()}</a></div>`},order:g.length+1})}const w={name:"login",action:`${l}/login?state=${encodeURIComponent(r)}`,method:"POST",title:f.login_id_title(),description:f.login_id_description({companyName:t.tenant.friendly_name||t.tenant.id||"AuthHero",clientName:t.name||"the application"}),components:g,messages:a,footer:m,links:_?[{id:"forgot-password",text:f.forgot_password_link(),linkText:f.reset_password_cta(),href:`${l}/forgot-password?state=${encodeURIComponent(r)}`}]:[]};if(i?.username){const S=w.components.find(b=>b.id==="username");S&&"config"in S&&(S.config.value=i.username)}return{screen:w,branding:n}}const Aue={id:"login",name:"Login",description:"Combined login screen with email, password, and social login",handler:{get:ur,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.username?.toLowerCase()?.trim(),a=t.password?.trim();if(!s)return{error:"Email is required",screen:await ur({...e,errors:{username:"Email is required"}})};if(!a)return{error:"Password is required",screen:await ur({...e,prefill:{username:s},errors:{password:"Password is required"}})};const c=n.get("countryCode"),{normalized:u,connectionType:l,provider:d}=Fo(s,c);if(!u)return{error:"Invalid email",screen:await ur({...e,prefill:{username:s},errors:{username:"Invalid email"}})};const f=l==="email"?await zo({userAdapter:n.env.data.users,tenant_id:r.tenant.id,email:u}):await Wn({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:u,provider:d});if(!r.connections.find(_=>_.strategy==="Username-Password-Authentication"))return{error:"Password login not available",screen:await ur({...e,prefill:{username:s},errors:{username:"Password login not available for this application"}})};if(!f){const _=await ol(n,r,n.env.data,u,l);if(!_.allowed)return{error:_.reason||"Account does not exist",screen:await ur({...e,prefill:{username:s},errors:{username:"Account does not exist"}})}}const h=await n.env.data.loginSessions.get(r.tenant.id,i);if(!h)return{error:"Session expired",screen:await ur({...e,prefill:{username:s},errors:{username:"Session expired. Please try again."}})};h.authParams.username=u,await n.env.data.loginSessions.update(r.tenant.id,h.id,h);try{const _=await Oa(n,r,{...h.authParams,password:a},h),g=_.headers.get("location"),y=_.headers.getSetCookie?.()||[];return g?{redirect:g,cookies:y}:{response:_}}catch(_){const g=_,y=e.language||"en",{m}=jn(y,e.customText);let v=g.message||m.invalid_password();return g.code==="INVALID_PASSWORD"||g.code==="USER_NOT_FOUND"?v=m.invalid_password():g.code==="EMAIL_NOT_VERIFIED"?v=m.unverified_email():g.code==="TOO_MANY_FAILED_LOGINS"&&(v=m.too_many_failed_logins()),{error:v,screen:await ur({...e,prefill:{username:s},errors:{password:v}})}}}}};async function yn(e){const{branding:t,state:n,prefill:r,errors:i,customText:s,routePrefix:a}=e,c=e.language||"en",{m:u}=jn(c,s),l=e.connections.some(p=>p.strategy==="Username-Password-Authentication"),d=[];if(l){let p=1;d.push({id:"email",type:"EMAIL",category:"FIELD",visible:!0,label:u.email_placeholder(),config:{placeholder:u.email_placeholder()},required:!0,order:p++,hint:i?.email},{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.password(),config:{placeholder:u.password(),show_toggle:!0},required:!0,sensitive:!0,order:p++,hint:i?.password},{id:"re_password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.confirm_password(),config:{placeholder:u.confirm_password(),show_toggle:!0},required:!0,sensitive:!0,order:p++,hint:i?.re_password},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:u.signup()},order:p++})}if(r?.email){const p=d.find(h=>h.id==="email");p&&"config"in p&&(p.config.value=r.email)}return{screen:{name:"signup",action:`${a}/signup?state=${encodeURIComponent(n)}`,method:"POST",title:u.create_account_title(),description:u.create_account_description(),components:d,links:[{id:"login",text:u.already_have_account(),linkText:u.log_in(),href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const Eue={id:"signup",name:"Sign Up",description:"New user registration screen",handler:{get:yn,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.email?.toLowerCase()?.trim(),a=t.password?.trim(),c=t.re_password?.trim(),u=e.language||"en",{m:l}=jn(u,e.customText);if(!s)return{error:"Email is required",screen:await yn({...e,errors:{email:l.invalid_email()}})};if(!a)return{error:"Password is required",screen:await yn({...e,prefill:{email:s},errors:{password:l.invalid_password()}})};if(!c)return{error:"Please confirm your password",screen:await yn({...e,prefill:{email:s},errors:{re_password:l.confirm_password()}})};if(a!==c)return{error:"Passwords don't match",screen:await yn({...e,prefill:{email:s},errors:{re_password:l.create_account_passwords_didnt_match()}})};const f=r.connections.find(S=>S.strategy==="Username-Password-Authentication")?.name||"Username-Password-Authentication",p=await fa(n.env.data,r.tenant.id,f);try{await pa(p,{tenantId:r.tenant.id,userId:"",newPassword:a,data:n.env.data})}catch(S){const b=S instanceof Error?S.message:l.create_account_weak_password();return{error:b,screen:await yn({...e,prefill:{email:s},errors:{password:b}})}}if(await jr({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:s,provider:"auth2"}))return{error:"User already exists",screen:await yn({...e,prefill:{email:s},errors:{email:l.email_already_taken()}})};const _=await n.env.data.loginSessions.get(r.tenant.id,i);if(!_)return{error:"Session expired",screen:await yn({...e,prefill:{email:s},errors:{email:l.session_expired()}})};_.authParams.username=s,await n.env.data.loginSessions.update(r.tenant.id,_.id,_);const g=`auth2|${So()}`,{hash:y,algorithm:m}=await qs(a);let v;try{v=await n.env.data.users.create(r.tenant.id,{user_id:g,email:s,email_verified:!1,provider:"auth2",connection:f,is_social:!1,password:{hash:y,algorithm:m}})}catch(S){return console.log("Err: "+S.message),{error:"Failed to create user",screen:await yn({...e,prefill:{email:s},errors:{email:"Failed to create user"}})}}const w=_.authParams?.ui_locales?.split(" ")?.map(S=>S.split("-")[0])[0];try{await sd(n,v,w)}catch(S){console.error("Failed to send verification email:",S)}try{const S=await Oa(n,r,{..._.authParams,password:a},_),b=S.headers.get("location"),x=S.headers.getSetCookie?.()||[];return b?{redirect:b,cookies:x}:{response:S}}catch{return{screen:await yn({...e,messages:[{text:l.validate_email_body(),type:"success"}]})}}}}};async function Cue(e){const{branding:t,state:n,prefill:r,errors:i,messages:s,routePrefix:a="/u2"}=e,c=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:"Enter your email address and we'll send you a link to reset your password."},order:0},{id:"email",type:"EMAIL",category:"FIELD",visible:!0,label:"Email address",config:{placeholder:"name@example.com"},required:!0,order:1,hint:i?.email},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Send reset link"},order:2}];if(r?.email){const l=c.find(d=>d.id==="email");l&&"config"in l&&(l.config.value=r.email)}return{screen:{name:"forgot-password",action:`${a}/forgot-password?state=${encodeURIComponent(n)}`,method:"POST",title:"Reset your password",components:c,messages:s?.map(l=>({text:l.text,type:l.type})),links:[{id:"back",text:"Remember your password?",linkText:"Log in",href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const Iue={id:"forgot-password",name:"Forgot Password",description:"Password reset request screen",handler:{get:Cue}};async function Ln(e){const{branding:t,state:n,errors:r,messages:i,routePrefix:s}=e,a=[{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:"New password",config:{placeholder:"Enter new password",show_toggle:!0},required:!0,sensitive:!0,order:0,hint:r?.password},{id:"confirm_password",type:"PASSWORD",category:"FIELD",visible:!0,label:"Confirm new password",config:{placeholder:"Confirm new password"},required:!0,sensitive:!0,order:1,hint:r?.confirm_password},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Reset password"},order:2}];return{screen:{name:"reset-password",action:`${s}/reset-password?state=${encodeURIComponent(n)}`,method:"POST",title:"Set your new password",description:"Choose a strong password for your account",components:a,messages:i?.map(u=>({text:u.text,type:u.type}))},branding:t}}const jue={id:"reset-password",name:"Reset Password",description:"Set new password screen",handler:{get:Ln,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,{env:s}=n,a=t.password?.trim(),c=t.confirm_password?.trim(),u=e.language||"en",{m:l}=jn(u,e.customText);if(!a)return{error:"Password is required",screen:await Ln({...e,errors:{password:"Password is required"}})};if(a!==c){const g=l.create_account_passwords_didnt_match();return{error:g,screen:await Ln({...e,errors:{confirm_password:g}})}}const d=await s.data.loginSessions.get(r.tenant.id,i);if(!d||!d.authParams?.username)return{error:"Session expired",screen:await Ln({...e,errors:{password:"Session expired. Please start over."}})};const f=await jr({userAdapter:s.data.users,tenant_id:r.tenant.id,username:d.authParams.username,provider:"auth2"});if(!f)return{error:"User not found",screen:await Ln({...e,errors:{password:"User not found"}})};const p=await fa(s.data,r.tenant.id,f.connection);try{await pa(p,{tenantId:r.tenant.id,userId:f.user_id,newPassword:a,userData:f,data:s.data})}catch(g){const y=g instanceof Error?g.message:l.create_account_weak_password();return{error:y,screen:await Ln({...e,errors:{password:y}})}}const h=e.data?.code;if(!h)return{error:"Reset code not found",screen:await Ln({...e,errors:{password:"Reset code not found"}})};const _=await s.data.codes.get(r.tenant.id,h,"password_reset");if(!_){const g=l.code_expired();return{error:g,screen:await Ln({...e,errors:{password:g}})}}try{const g=await s.data.passwords.get(r.tenant.id,f.user_id);return g&&await s.data.passwords.update(r.tenant.id,{id:g.id,user_id:f.user_id,password:g.password,algorithm:g.algorithm,is_current:!1}),await s.data.passwords.create(r.tenant.id,{user_id:f.user_id,password:await Ao.hash(a,10),algorithm:"bcrypt",is_current:!0}),f.email_verified||await s.data.users.update(r.tenant.id,f.user_id,{email_verified:!0}),await fe(n,r.tenant.id,{type:pe.SUCCESS_CHANGE_PASSWORD,description:`Password changed for ${f.email}`,userId:f.user_id}),await s.data.codes.remove(r.tenant.id,_.code_id),{redirect:`/u2/identifier?state=${encodeURIComponent(i)}&message=password_reset_success`}}catch(g){const y=g instanceof Error?g.message:JSON.stringify(g);await fe(n,r.tenant.id,{type:pe.FAILED_CHANGE_PASSWORD,description:`Password reset failed for ${f.email}: ${y}`,userId:f.user_id});const m=g instanceof Error?g.message:l.password_reset_failed();return{error:m,screen:await Ln({...e,errors:{password:m}})}}}}};async function N$(e){const{ctx:t,tenant:n,client:r,branding:i,state:s,errors:a,routePrefix:c="/u2"}=e,u=await t.env.data.loginSessions.get(n.id,s);if(!u)throw new C(400,{message:"Login session not found"});if(!u.session_id)throw new C(400,{message:"No session linked to login session"});const l=await t.env.data.sessions.get(n.id,u.session_id);if(!l)throw new C(400,{message:"Session not found"});const d=await t.env.data.users.get(n.id,l.user_id);if(!d)throw new C(400,{message:"User not found"});if(!(await t.env.data.userPermissions.list(n.id,d.user_id)).some(g=>g.permission_name==="users:impersonate"))return{screen:{name:"impersonate",action:`${c}/impersonate?state=${encodeURIComponent(s)}`,method:"POST",title:"Access Denied",description:"You do not have permission to impersonate other users.",components:[],messages:[{id:1,text:"You do not have permission to impersonate other users.",type:"error"}]},branding:i};const h=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:"<p>You have permission to impersonate other users.</p><p>Leave the field empty and click Continue to proceed as yourself, or enter a user ID to impersonate.</p>"},order:0},{id:"current-user",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="current-user-info"><strong>Current user:</strong> ${zn(d.email||d.user_id)}</div>`},order:1},{id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:2},{id:"user_id",type:"TEXT",category:"FIELD",visible:!0,label:"User ID to impersonate (optional)",config:{placeholder:"Enter user ID or leave empty to continue as yourself"},required:!1,order:3,hint:a?.user_id},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Continue"},order:4}];return{screen:{name:"impersonate",action:`${c}/impersonate?state=${encodeURIComponent(s)}`,method:"POST",title:"Impersonation",description:r.name?`Impersonation for ${zn(r.name)}`:"User impersonation",components:h},branding:i}}async function Nue(e,t){const{ctx:n,tenant:r,client:i,state:s}=e,a=await n.env.data.loginSessions.get(r.id,s);if(!a)throw new C(400,{message:"Login session not found"});if(!a.session_id)throw new C(400,{message:"No session linked to login session"});const c=await n.env.data.sessions.get(r.id,a.session_id);if(!c)throw new C(400,{message:"Current session not found"});const u=await n.env.data.users.get(r.id,c.user_id);if(!u)throw new C(400,{message:"Current user not found"});if(!(await n.env.data.userPermissions.list(r.id,u.user_id)).some(y=>y.permission_name==="users:impersonate"))throw new C(403,{message:"Access denied: insufficient permissions"});const f=t.user_id?.trim();if(!f){const y=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:u,existingSessionIdToLink:c.id,skipHooks:!0}),m=y.headers.get("Location"),v=y.headers.getSetCookie?.()||[];if(m)return{redirect:m,cookies:v};throw new C(500,{message:"Failed to generate redirect"})}const p=await n.env.data.users.get(r.id,f);if(!p)return fe(n,r.id,{type:pe.FAILED_IMPERSONATION,description:`User ${u.email} failed to impersonate non-existent user: ${f}`,userId:u.user_id}),{error:"User not found",screen:await N$({...e,errors:{user_id:"User not found"}})};const h=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:p,existingSessionIdToLink:c.id,impersonatingUser:u,skipHooks:!0}),_=h.headers.get("Location"),g=h.headers.getSetCookie?.()||[];if(!_)throw new C(500,{message:"Failed to generate redirect"});return fe(n,r.id,{type:pe.SUCCESS_IMPERSONATION,description:`User ${u.email} impersonating ${p.email||p.user_id}`,userId:p.user_id}),{redirect:_,cookies:g}}const Tue={id:"impersonate",name:"Impersonate",description:"Allows users with permission to impersonate other users",handler:{get:N$,post:Nue}};async function T$(e){const{ctx:t,tenant:n,client:r,branding:i,state:s,routePrefix:a="/u2",customText:c}=e,u=e.language||"en",{m:l}=jn(u,c,"check-account");if(!await t.env.data.loginSessions.get(n.id,s))throw new C(400,{message:"Login session not found"});const f=ei(n.id,t.req.header("cookie")),p=f?await t.env.data.sessions.get(n.id,f):null;if(!p||p.revoked_at)throw new Ut(`${a}/login/identifier?state=${encodeURIComponent(s)}`);const h=await t.env.data.users.get(n.id,p.user_id);if(!h)throw new Ut(`${a}/login/identifier?state=${encodeURIComponent(s)}`);const _=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<p>${l.check_account_logged_in_as({email:zn(h.email||h.user_id)})}</p><p>${l.check_account_continue_question()}</p>`},order:0},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:l.yes_continue_with_existing_account()},order:1}];return{screen:{name:"check-account",action:`${a}/check-account?state=${encodeURIComponent(s)}`,method:"POST",title:l.check_account_title(),description:r.name?l.check_account_description({clientName:zn(r.name)}):l.check_account_description_fallback(),components:_,links:[{id:"use-another-account",text:l.no_use_another(),href:`${a}/login/identifier?state=${encodeURIComponent(s)}`}]},branding:i}}async function Pue(e,t){const{ctx:n,tenant:r,client:i,state:s}=e,a=await n.env.data.loginSessions.get(r.id,s);if(!a)throw new C(400,{message:"Login session not found"});const c=ei(r.id,n.req.header("cookie")),u=c?await n.env.data.sessions.get(r.id,c):null,l=e.routePrefix||"/u2";if(!u||u.revoked_at)return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};const d=await n.env.data.users.get(r.id,u.user_id);if(!d)return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};try{const f=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:d,existingSessionIdToLink:u.id}),p=f.headers.get("Location"),h=f.headers.getSetCookie?.()||[];return p?{redirect:p,cookies:h}:{response:f}}catch(f){const p=f instanceof Error?f.message:"An unexpected error occurred";if(p.includes("session")||p.includes("expired")||p.includes("completed")||p.includes("failed"))return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};const h=e.language||"en",{m:_}=jn(h,e.customText,"check-account");return{error:_.check_account_error(),screen:await T$(e)}}}const Oue={id:"check-account",name:"Check Account",description:"Allows users to continue with an existing session",handler:{get:T$,post:Pue}},pd=new Map([["identifier",xue],["login",Aue],["enter-code",KO],["enter-password",$ue],["signup",Eue],["forgot-password",Iue],["reset-password",jue],["impersonate",Tue],["check-account",Oue]]);function P$(e){return pd.get(e)}function O$(e,t){const n=pd.get(e);if(n)return n.handler.get(t)}function N0(){return Array.from(pd.keys())}function R$(e){return pd.has(e)}const L$={identifier:"login-id","enter-password":"login-password","enter-code":"login",signup:"signup","forgot-password":"reset-password","reset-password":"reset-password",impersonate:"login","pre-signup":"signup-id","pre-signup-sent":"signup",consent:"consent"};function Rue(e,t){if(e){const r=e.split(" ")[0];if(r){const i=r.split("-")[0]?.toLowerCase();if(i)return i}}if(!t)return"en";const n=t.split(",").map(r=>{const[i,s]=r.trim().split(";"),a=s?parseFloat(s.split("=")[1]||"1"):1;return{code:i?.split("-")[0]?.toLowerCase()||"en",q:a}});return n.sort((r,i)=>i.q-r.q),n[0]?.code||"en"}async function Lue(e,t,n,r){const i=L$[n];if(i)try{let s=await e.env.data.customText.get(t,i,r);if(!s&&r.includes("-")){const a=r.split("-")[0];s=await e.env.data.customText.get(t,i,a)}if(!s){const a=await e.env.data.customText.get(t,"common",r);a&&(s=a)}return s||void 0}catch{return}}const Due=o.z.object({logo_url:o.z.string().optional(),favicon_url:o.z.string().optional(),powered_by_logo_url:o.z.string().optional(),colors:o.z.object({primary:o.z.string().optional(),page_background:o.z.union([o.z.string(),o.z.object({type:o.z.string().optional(),start:o.z.string().optional(),end:o.z.string().optional(),angle_deg:o.z.number().optional()})]).optional()}).optional(),font:o.z.object({url:o.z.string().optional()}).optional()}),D$=o.z.object({id:o.z.number().optional(),text:o.z.string(),type:o.z.enum(["info","error","success","warning"])}),Uue=o.z.object({id:o.z.string(),type:o.z.string(),category:o.z.string().optional(),config:o.z.record(o.z.any()).optional(),order:o.z.number().optional(),visible:o.z.boolean().optional(),required:o.z.boolean().optional(),sensitive:o.z.boolean().optional(),label:o.z.string().optional(),hint:o.z.string().optional(),messages:o.z.array(D$).optional()}),Bue=o.z.object({action:o.z.string(),method:o.z.enum(["POST","GET"]),title:o.z.string().optional(),description:o.z.string().optional(),components:o.z.array(Uue),messages:o.z.array(D$).optional(),links:o.z.array(o.z.object({id:o.z.string().optional(),text:o.z.string(),href:o.z.string(),linkText:o.z.string().optional()})).optional()}),Ib=o.z.object({screen:Bue,branding:Due.optional()});function Mue(e){if(e)return{logo_url:e.logo_url,favicon_url:e.favicon_url,powered_by_logo_url:e.powered_by_logo_url,colors:e.colors,font:e.font}}async function Op(e,t,n,r,i){const{client:s,branding:a,theme:c,loginSession:u}=await je(e,t,!0),l=s.connections||[],d=e.req.header("Accept-Language"),f=Rue(u?.authParams?.ui_locales,d),p=L$[n],h=await Lue(e,e.var.tenant_id,n,f),_=s.client_metadata?.universal_login_version==="2"?"/u2":"/u";return{ctx:e,tenant:s.tenant,client:s,theme:c??void 0,branding:Mue(a),connections:l,state:t,prefill:{...r,username:u?.authParams?.username,email:u?.authParams?.username},errors:i,customText:h,language:f,promptScreen:p,routePrefix:_}}async function que(e,t){if(!R$(e))return null;const n=O$(e,t);return n?await n:null}async function sc(e,t,n,r,i,s){const a=await e.env.data.forms.get(t,n);if(!a)return null;const c=i??a.start?.next_node;if(!c)return null;const u=(a.nodes||[]).find(f=>f.id===c&&f.type==="STEP");if(!u)return null;const l=`/u2/screen/${n}?state=${encodeURIComponent(r)}${c?`&nodeId=${encodeURIComponent(c)}`:""}`,d=[...u.config.components].filter(f=>f.visible!==!1).sort((f,p)=>(f.order??0)-(p.order??0)).map(f=>s?.fieldErrors?.[f.id]?{...f,messages:[{text:s.fieldErrors[f.id],type:"error"}]}:f);return{screen:{action:l,method:"POST",title:a.name,components:d,messages:s?.messages},formId:n,nodeId:c,form:a,stepNode:u}}const Fue=new o.OpenAPIHono().openapi(o.createRoute({tags:["screen-api"],method:"get",path:"/:screenId",request:{params:o.z.object({screenId:o.z.string().openapi({description:`Screen ID. Built-in screens: ${N0().join(", ")}. Or a database form ID.`})}),query:o.z.object({state:o.z.string().openapi({description:"The login session state"}),nodeId:o.z.string().optional().openapi({description:"Node ID for database forms (optional)"})})},responses:{200:{description:"Screen configuration",content:{"application/json":{schema:Ib}}},404:{description:"Screen not found"}}}),async e=>{const{screenId:t}=e.req.valid("param"),{state:n,nodeId:r}=e.req.valid("query"),i=await Op(e,n,t),s=await que(t,i);if(s){const c={...s.screen,action:`/u2/screen/${t}?state=${encodeURIComponent(n)}`,links:s.screen.links?.map(u=>({...u,href:u.href.replace("/u/widget/","/u2/").replace("/u/signup","/u2/signup").replace("/u/enter-","/u2/enter-")}))};return e.json({screen:c,branding:s.branding})}const a=await sc(e,i.tenant.id,t,n,r);if(a)return e.json({screen:a.screen,branding:i.branding});throw new C(404,{message:`Screen not found: ${t}. Available built-in screens: ${N0().join(", ")}`})}).openapi(o.createRoute({tags:["screen-api"],method:"post",path:"/:screenId",request:{params:o.z.object({screenId:o.z.string()}),query:o.z.object({state:o.z.string(),nodeId:o.z.string().optional()}),body:{content:{"application/json":{schema:o.z.object({data:o.z.record(o.z.string(),o.z.any())})}}}},responses:{200:{description:"Next screen or redirect",content:{"application/json":{schema:o.z.union([Ib,o.z.object({redirect:o.z.string()}),o.z.object({complete:o.z.boolean()})])}}},400:{description:"Validation error"},404:{description:"Screen not found"}}}),async e=>{const{screenId:t}=e.req.valid("param"),{state:n,nodeId:r}=e.req.valid("query"),{data:i}=e.req.valid("json"),s=P$(t);if(s?.handler.post){const g=await Op(e,n,t),y=await s.handler.post(g,i);if("response"in y)return y.response;if("redirect"in y){const S=new Headers;if(S.set("Content-Type","application/json"),y.cookies&&y.cookies.length>0)for(const b of y.cookies)S.append("Set-Cookie",b);return new Response(JSON.stringify({redirect:y.redirect}),{status:200,headers:S})}const m=y.screen,v=m.screen.action?.match(/\/u2\/(?:screen\/)?([^/?]+)/)?.[1]||t,w=v!==t?`/u2/${v}?state=${encodeURIComponent(n)}`:void 0;return e.json({screen:{...m.screen,action:`/u2/screen/${v}?state=${encodeURIComponent(n)}`,links:m.screen.links?.map(S=>({...S,href:S.href.replace("/u/widget/","/u2/").replace("/u/signup","/u2/signup").replace("/u/enter-","/u2/enter-")}))},branding:m.branding,screenId:v,navigateUrl:w},"error"in y?400:200)}if(R$(t))throw new C(400,{message:`Screen ${t} does not support POST submissions yet`});const a=await Op(e,n,t),c=await sc(e,a.tenant.id,t,n,r);if(!c)throw new C(404,{message:`Screen not found: ${t}`});const{form:u,stepNode:l}=c,d={},f=l.config.components;for(const g of f){if("required"in g&&g.required){const y=i[g.id];(y==null||y==="")&&(d[g.id]="This field is required")}g.type==="EMAIL"&&i[g.id]&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(i[g.id]))||(d[g.id]="Please enter a valid email address"))}if(Object.keys(d).length>0){const g=await sc(e,a.tenant.id,t,n,c.nodeId,{fieldErrors:d,messages:[{text:"Please correct the errors below",type:"error"}]});return e.json({screen:g.screen,branding:a.branding},400)}const{client:p}=await je(e,n,!0),h=await e.env.data.loginSessions.get(p.tenant.id,n);if(!h||!h.authParams)throw new C(400,{message:"Session expired"});const _=l.config?.next_node;if(_&&u.nodes){const g=async v=>{const w=await e.env.data.flows.get(p.tenant.id,v);return w?{actions:w.actions?.map(S=>({type:S.type,action:S.action,params:"params"in S&&S.params&&typeof S.params=="object"&&"target"in S.params?{target:S.params.target,custom_url:"custom_url"in S.params?S.params.custom_url:void 0}:void 0}))}:null};let y=null;if(h.session_id){const v=await e.env.data.sessions.get(p.tenant.id,h.session_id);v?.user_id&&(y=await e.env.data.users.get(e.var.tenant_id,v.user_id))}const m=await ch(u.nodes,_,{user:y},g);if(m){if(m.type==="redirect"){const v=m.target,w=ah(v,m.customUrl,n);if(v==="change-email"||v==="account"){const S=`/u/continue?state=${encodeURIComponent(n)}`;await sh(e,p.tenant.id,h,[v],S)}return e.json({redirect:w})}if(m.type==="step"){const v=await sc(e,a.tenant.id,t,n,m.nodeId);if(v)return e.json({screen:v.screen,branding:a.branding})}}}if(h.session_id){const g=await e.env.data.sessions.get(p.tenant.id,h.session_id);if(g?.user_id){const y=await e.env.data.users.get(e.var.tenant_id,g.user_id);if(y){await qw(e,p.tenant.id,h);const m=await vt(e,{authParams:h.authParams,client:p,user:y,loginSession:h,skipHooks:!0});if(m.status===302){const v=m.headers.get("location");if(v)return e.json({redirect:v})}}}}return e.json({complete:!0})}),Hue={identifier:"login-id",login:"login","enter-password":"login-password","enter-code":"login",signup:"signup","forgot-password":"reset-password","reset-password":"reset-password",impersonate:"login","pre-signup":"signup-id","pre-signup-sent":"signup",consent:"consent",mfa:"mfa","mfa-otp":"mfa-otp","mfa-sms":"mfa-sms","mfa-email":"mfa-email","mfa-push":"mfa-push","mfa-webauthn":"mfa-webauthn","mfa-voice":"mfa-voice","mfa-phone":"mfa-phone","mfa-recovery-code":"mfa-recovery-code",status:"status","device-flow":"device-flow","email-verification":"email-verification","email-otp-challenge":"email-otp-challenge",organizations:"organizations",invitation:"invitation"};function E_(e){return Hue[e]}function U$(e,t){if(e){const r=e.split(" ")[0];if(r){const i=r.split("-")[0]?.toLowerCase();if(i)return i}}if(!t)return"en";const n=t.split(",").map(r=>{const[i,s]=r.trim().split(";"),a=s?parseFloat(s.split("=")[1]||"1"):1;return{code:i?.split("-")[0]?.toLowerCase()||"en",q:a}});return n.sort((r,i)=>i.q-r.q),n[0]?.code||"en"}async function B$(e,t,n,r){const i=E_(n);if(i)try{let s=await e.env.data.customText.get(t,i,r);if(!s&&r.includes("-")){const a=r.split("-")[0];s=await e.env.data.customText.get(t,i,a)}if(!s){const a=await e.env.data.customText.get(t,"common",r);a&&(s=a)}return s||void 0}catch{return}}function M$({widgetHtml:e,screenId:t,branding:n,theme:r,themePageBackground:i,clientName:s,poweredByLogo:a}){const c=[],u=kn(n?.colors?.primary);u&&c.push(`--ah-color-primary: ${u}`);const l=s4(i,n?.colors?.page_background),d=Kn(n?.favicon_url),f=Kn(n?.font?.url),p=kn(r?.colors?.widget_background)||"#ffffff",h=a?.url?Kn(a.url):null,_=a?.href?Kn(a.href):null,g=i?.page_layout||"center",v={minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:g==="left"?"flex-start":g==="right"?"flex-end":"center",background:l,fontFamily:f?"'Inter', system-ui, sans-serif":"system-ui, -apple-system, sans-serif",padding:g==="left"?"20px 20px 20px 80px":g==="right"?"20px 80px 20px 20px":"20px"},w=c.length>0?c.join("; ")+"; max-width: 400px; width: 100%;":"max-width: 400px; width: 100%;";return k("html",{lang:"en",children:[k("head",{children:[k("meta",{charSet:"UTF-8"}),k("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),k("title",{children:["Sign in - ",s]}),d&&k("link",{rel:"icon",href:d}),f&&k("link",{rel:"stylesheet",href:f}),k("style",{dangerouslySetInnerHTML:{__html:`
|
|
188
|
+
Potete fare clic sul link sottostante per iniziare un nuovo accesso.`,B6=((e={},t={})=>{const n=t.locale??N();return n==="en"?AW():n==="nb"?EW():n==="sv"?CW():n==="da"?IW():n==="fi"?jW():n==="cs"?NW():n==="pl"?TW():PW()}),OW=()=>"Invalid link",RW=()=>"Ugyldig lenke",LW=()=>"Ogiltig länk",DW=()=>"Ugyldigt link",UW=()=>"Virheellinen linkki",BW=()=>"Neplatný odkaz",MW=()=>"Nieprawidłowy link",qW=()=>"Collegamento non valido",M6=((e={},t={})=>{const n=t.locale??N();return n==="en"?OW():n==="nb"?RW():n==="sv"?LW():n==="da"?DW():n==="fi"?UW():n==="cs"?BW():n==="pl"?MW():qW()}),FW=()=>"Linked accounts",HW=()=>"Koblede kontoer",VW=()=>"Länkade konton",KW=()=>"Koblede konti",GW=()=>"Linkitetyt tilit",WW=()=>"Propojené účty",JW=()=>"Połączone konta",ZW=()=>"Account collegati",q6=((e={},t={})=>{const n=t.locale??N();return n==="en"?FW():n==="nb"?HW():n==="sv"?VW():n==="da"?KW():n==="fi"?GW():n==="cs"?WW():n==="pl"?JW():ZW()}),XW=()=>"Click the button to log in",YW=()=>"Klikk på knappen for å logge inn",QW=()=>"Klicka på knappen för att logga in",eJ=()=>"Klik på knappen for at logge ind",tJ=()=>"Kirjaudu sisään napsauttamalla painiketta",nJ=()=>"Kliknutím na tlačítko se přihlásíte",rJ=()=>"Kliknij przycisk, aby się zalogować",iJ=()=>"Fare clic sul pulsante per accedere",F6=((e={},t={})=>{const n=t.locale??N();return n==="en"?XW():n==="nb"?YW():n==="sv"?QW():n==="da"?eJ():n==="fi"?tJ():n==="cs"?nJ():n==="pl"?rJ():iJ()}),oJ=()=>"Login",sJ=()=>"Logg inn",aJ=()=>"Logga in",cJ=()=>"Login",uJ=()=>"Kirjaudu sisään",lJ=()=>"Přihlášení",dJ=()=>"Zaloguj się",pJ=()=>"Accedi",H6=((e={},t={})=>{const n=t.locale??N();return n==="en"?oJ():n==="nb"?sJ():n==="sv"?aJ():n==="da"?cJ():n==="fi"?uJ():n==="cs"?lJ():n==="pl"?dJ():pJ()}),fJ=e=>`Or enter the code at ${e?.vendorName} to complete the login.`,hJ=e=>`Eller skriv inn koden på ${e?.vendorName} for å fullføre påloggingen.`,_J=e=>`Eller skriv in koden på ${e?.vendorName} för att slutföra inloggningen.`,mJ=e=>`Eller indtast koden på ${e?.vendorName} for at gennemføre login.`,gJ=e=>`Tai kirjoita koodi osoitteessa ${e?.vendorName} kirjautumisen loppuun saattamiseksi.`,yJ=e=>`Nebo zadejte kód na adrese ${e?.vendorName} a dokončete přihlášení.`,bJ=e=>`Lub wprowadź kod na stronie ${e?.vendorName}, aby dokończyć logowanie.`,vJ=e=>`Oppure inserire il codice all'indirizzo ${e?.vendorName} per completare il login.`,V6=((e,t={})=>{const n=t.locale??N();return n==="en"?fJ(e):n==="nb"?hJ(e):n==="sv"?_J(e):n==="da"?mJ(e):n==="fi"?gJ(e):n==="cs"?yJ(e):n==="pl"?bJ(e):vJ(e)}),wJ=e=>`Enter your email address to unlock this show on ${e?.service}`,kJ=e=>`Skriv inn e-postadressen din for å låse opp dette programmet på ${e?.service}`,$J=e=>`Ange din epost för att låsa upp den här showen på ${e?.service}`,SJ=e=>`Indtast din e-mailadresse for at låse op for dette show på ${e?.service}`,xJ=e=>`Kirjoita sähköpostiosoitteesi avataksesi tämän ohjelman osoitteessa ${e?.service}`,zJ=e=>`Zadejte svou e-mailovou adresu pro odemknutí tohoto pořadu na ${e?.service}`,AJ=e=>`Wprowadź swój adres e-mail, aby odblokować ten program na ${e?.service}`,EJ=e=>`Inserisci il tuo indirizzo e-mail per sbloccare questo spettacolo su ${e?.service}`,K6=((e,t={})=>{const n=t.locale??N();return n==="en"?wJ(e):n==="nb"?kJ(e):n==="sv"?$J(e):n==="da"?SJ(e):n==="fi"?xJ(e):n==="cs"?zJ(e):n==="pl"?AJ(e):EJ(e)}),CJ=e=>`Link your account with ${e?.service}`,IJ=e=>`Koble kontoen din til ${e?.service}`,jJ=e=>`Koppla ditt konto till ${e?.service}`,NJ=e=>`Forbind din konto med ${e?.service}`,TJ=e=>`Yhdistä tilisi ${e?.service}`,PJ=e=>`Propojte svůj účet s ${e?.service}`,OJ=e=>`Połącz swoje konto z ${e?.service}`,RJ=e=>`Collegate il vostro account con ${e?.service}`,G6=((e,t={})=>{const n=t.locale??N();return n==="en"?CJ(e):n==="nb"?IJ(e):n==="sv"?jJ(e):n==="da"?NJ(e):n==="fi"?TJ(e):n==="cs"?PJ(e):n==="pl"?OJ(e):RJ(e)}),LJ=()=>"Log in",DJ=()=>"Logg inn",UJ=()=>"Logga in",BJ=()=>"Log ind",MJ=()=>"Kirjaudu sisään",qJ=()=>"Přihlásit se",FJ=()=>"Zaloguj się",HJ=()=>"Accedi",W6=((e={},t={})=>{const n=t.locale??N();return n==="en"?LJ():n==="nb"?DJ():n==="sv"?UJ():n==="da"?BJ():n==="fi"?MJ():n==="cs"?qJ():n==="pl"?FJ():HJ()}),VJ=()=>"You are logged in as",KJ=()=>"Du er innlogget som",GJ=()=>"Du är inloggad som",WJ=()=>"Du er logget ind som",JJ=()=>"Olet kirjautunut sisään nimellä",ZJ=()=>"Jste přihlášeni jako",XJ=()=>"Jesteś zalogowany jako",YJ=()=>"L'utente ha effettuato l'accesso come",J6=((e={},t={})=>{const n=t.locale??N();return n==="en"?VJ():n==="nb"?KJ():n==="sv"?GJ():n==="da"?WJ():n==="fi"?JJ():n==="cs"?ZJ():n==="pl"?XJ():YJ()}),QJ=()=>"Login",eZ=()=>"Logg inn",tZ=()=>"Logga in",nZ=()=>"Login",rZ=()=>"Kirjaudu sisään",iZ=()=>"Přihlášení",oZ=()=>"Logowanie",sZ=()=>"Accesso",Z6=((e={},t={})=>{const n=t.locale??N();return n==="en"?QJ():n==="nb"?eZ():n==="sv"?tZ():n==="da"?nZ():n==="fi"?rZ():n==="cs"?iZ():n==="pl"?oZ():sZ()}),aZ=e=>`Log in to ${e?.companyName} to continue to ${e?.clientName}.`,cZ=e=>`Logg inn på ${e?.companyName} for å fortsette til ${e?.clientName}.`,uZ=e=>`Logga in på ${e?.companyName} för att fortsätta till ${e?.clientName}.`,lZ=e=>`Log ind på ${e?.companyName} for at fortsætte til ${e?.clientName}.`,dZ=e=>`Kirjaudu sisään ${e?.companyName} jatkaaksesi ${e?.clientName}.`,pZ=e=>`Přihlaste se k ${e?.companyName} a pokračujte na ${e?.clientName}.`,fZ=e=>`Zaloguj się do ${e?.companyName}, aby kontynuować do ${e?.clientName}.`,hZ=e=>`Accedi a ${e?.companyName} per continuare su ${e?.clientName}.`,X6=((e,t={})=>{const n=t.locale??N();return n==="en"?aZ(e):n==="nb"?cZ(e):n==="sv"?uZ(e):n==="da"?lZ(e):n==="fi"?dZ(e):n==="cs"?pZ(e):n==="pl"?fZ(e):hZ(e)}),_Z=()=>"Enter your email address and we will send you a login code.",mZ=()=>"Skriv inn e-postadressen din og vi sender deg en påloggingskode.",gZ=()=>"Ange din mejladress, så skickar vi en kod till dig som du kan logga in med.",yZ=()=>"Indtast din e-mailadresse, så sender vi dig en login-kode.",bZ=()=>"Anna sähköpostiosoitteesi, niin lähetämme sinulle kirjautumiskoodin.",vZ=()=>"Zadejte svou e-mailovou adresu a my vám zašleme přihlašovací kód.",wZ=()=>"Wprowadź swój adres e-mail, a my wyślemy Ci kod logowania.",kZ=()=>"Inserite il vostro indirizzo e-mail e vi invieremo un codice di accesso.",Y6=((e={},t={})=>{const n=t.locale??N();return n==="en"?_Z():n==="nb"?mZ():n==="sv"?gZ():n==="da"?yZ():n==="fi"?bZ():n==="cs"?vZ():n==="pl"?wZ():kZ()}),$Z=()=>"Enter your email or phone number to sign in",SZ=()=>"Skriv inn e-postadressen eller telefonnummeret ditt for å logge på",xZ=()=>"Ange din e-postadress eller ditt telefonnummer för att logga in",zZ=()=>"Indtast din e-mail eller dit telefonnummer for at logge ind",AZ=()=>"Kirjoita sähköpostiosoitteesi tai puhelinnumerosi kirjautuaksesi sisään",EZ=()=>"Pro přihlášení zadejte svůj e-mail nebo telefonní číslo",CZ=()=>"Wprowadź swój adres e-mail lub numer telefonu, aby się zalogować",IZ=()=>"Inserire l'e-mail o il numero di telefono per accedere",Q6=((e={},t={})=>{const n=t.locale??N();return n==="en"?$Z():n==="nb"?SZ():n==="sv"?xZ():n==="da"?zZ():n==="fi"?AZ():n==="cs"?EZ():n==="pl"?CZ():IZ()}),jZ=()=>"Enter your email address and we will send you a login link.",NZ=()=>"Skriv inn e-postadressen din og vi sender deg en påloggingslenke.",TZ=()=>"Ange din mejladress, så skickar vi en länk till dig som du kan logga in med.",PZ=()=>"Indtast din e-mailadresse, så sender vi dig et login-link.",OZ=()=>"Anna sähköpostiosoitteesi, niin lähetämme sinulle kirjautumislinkin.",RZ=()=>"Zadejte svou e-mailovou adresu a my vám zašleme odkaz pro přihlášení.",LZ=()=>"Wprowadź swój adres e-mail, a my wyślemy Ci link do logowania.",DZ=()=>"Inserite il vostro indirizzo e-mail e vi invieremo un link di accesso.",e8=((e={},t={})=>{const n=t.locale??N();return n==="en"?jZ():n==="nb"?NZ():n==="sv"?TZ():n==="da"?PZ():n==="fi"?OZ():n==="cs"?RZ():n==="pl"?LZ():DZ()}),UZ=()=>"Enter your phone number to sign in",BZ=()=>"Skriv inn telefonnummeret ditt for å logge på",MZ=()=>"Ange ditt telefonnummer för att logga in",qZ=()=>"Indtast dit telefonnummer for at logge ind",FZ=()=>"Anna puhelinnumerosi kirjautuaksesi sisään",HZ=()=>"Zadejte své telefonní číslo a přihlaste se",VZ=()=>"Wprowadź swój numer telefonu, aby się zalogować",KZ=()=>"Inserire il numero di telefono per accedere",t8=((e={},t={})=>{const n=t.locale??N();return n==="en"?UZ():n==="nb"?BZ():n==="sv"?MZ():n==="da"?qZ():n==="fi"?FZ():n==="cs"?HZ():n==="pl"?VZ():KZ()}),GZ=e=>`Enter your ${e?.authMethod} to sign in.`,WZ=e=>`Skriv inn din ${e?.authMethod} for å logge inn.`,JZ=e=>`Ange din ${e?.authMethod} för att logga in.`,ZZ=e=>`Indtast din ${e?.authMethod} for at logge ind.`,XZ=e=>`Kirjoita ${e?.authMethod} kirjautuaksesi sisään.`,YZ=e=>`Pro přihlášení zadejte adresu ${e?.authMethod}.`,QZ=e=>`Wprowadź swój adres ${e?.authMethod}, aby się zalogować.`,eX=e=>`Inserite il vostro ${e?.authMethod} per accedere.`,n8=((e,t={})=>{const n=t.locale??N();return n==="en"?GZ(e):n==="nb"?WZ(e):n==="sv"?JZ(e):n==="da"?ZZ(e):n==="fi"?XZ(e):n==="cs"?YZ(e):n==="pl"?QZ(e):eX(e)}),tX=()=>"Continue",nX=()=>"Fortsett",rX=()=>"Fortsätt",iX=()=>"Fortsæt",oX=()=>"Jatka",sX=()=>"Pokračovat",aX=()=>"Kontynuuj",cX=()=>"Continua",r8=((e={},t={})=>{const n=t.locale??N();return n==="en"?tX():n==="nb"?nX():n==="sv"?rX():n==="da"?iX():n==="fi"?oX():n==="cs"?sX():n==="pl"?aX():cX()}),uX=e=>`Log in to ${e?.companyName} to continue to ${e?.clientName}.`,lX=e=>`Logg inn på ${e?.companyName} for å fortsette til ${e?.clientName}.`,dX=e=>`Logga in på ${e?.companyName} för att fortsätta till ${e?.clientName}.`,pX=e=>`Log ind på ${e?.companyName} for at fortsætte til ${e?.clientName}.`,fX=e=>`Kirjaudu sisään ${e?.companyName} jatkaaksesi ${e?.clientName}.`,hX=e=>`Přihlaste se k ${e?.companyName} a pokračujte na ${e?.clientName}.`,_X=e=>`Zaloguj się do ${e?.companyName}, aby kontynuować do ${e?.clientName}.`,mX=e=>`Accedi a ${e?.companyName} per continuare su ${e?.clientName}.`,i8=((e,t={})=>{const n=t.locale??N();return n==="en"?uX(e):n==="nb"?lX(e):n==="sv"?dX(e):n==="da"?pX(e):n==="fi"?fX(e):n==="cs"?hX(e):n==="pl"?_X(e):mX(e)}),gX=e=>`Continue with ${e?.connectionName}`,yX=e=>`Fortsett med ${e?.connectionName}`,bX=e=>`Fortsätt med ${e?.connectionName}`,vX=e=>`Fortsæt med ${e?.connectionName}`,wX=e=>`Jatka palvelulla ${e?.connectionName}`,kX=e=>`Pokračovat s ${e?.connectionName}`,$X=e=>`Kontynuuj z ${e?.connectionName}`,SX=e=>`Continua con ${e?.connectionName}`,o8=((e,t={})=>{const n=t.locale??N();return n==="en"?gX(e):n==="nb"?yX(e):n==="sv"?bX(e):n==="da"?vX(e):n==="fi"?wX(e):n==="cs"?kX(e):n==="pl"?$X(e):SX(e)}),xX=e=>`By continuing, you agree to our <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Terms and Conditions</a>.`,zX=e=>`Ved å fortsette godtar du våre <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">vilkår</a>.`,AX=e=>`Genom att fortsätta godkänner du våra <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Villkor</a>.`,EX=e=>`Ved at fortsætte accepterer du vores <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Vilkår og betingelser</a>.`,CX=e=>`Jatkamalla hyväksyt <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Käyttöehdot</a>.`,IX=e=>`Pokračováním souhlasíte s našimi <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Podmínkami a pravidly</a>.`,jX=e=>`Kontynuując, akceptujesz nasze <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Zasady i warunki</a>.`,NX=e=>`Continuando, accetti i nostri <a href="${e?.termsAndConditionsUrl}" target="_blank" rel="noopener noreferrer">Termini e condizioni</a>.`,s8=((e,t={})=>{const n=t.locale??N();return n==="en"?xX(e):n==="nb"?zX(e):n==="sv"?AX(e):n==="da"?EX(e):n==="fi"?CX(e):n==="cs"?IX(e):n==="pl"?jX(e):NX(e)}),TX=()=>"Welcome",PX=()=>"Velkommen",OX=()=>"Välkommen",RX=()=>"Velkommen",LX=()=>"Tervetuloa",DX=()=>"Vítejte",UX=()=>"Witamy",BX=()=>"Benvenuto",a8=((e={},t={})=>{const n=t.locale??N();return n==="en"?TX():n==="nb"?PX():n==="sv"?OX():n==="da"?RX():n==="fi"?LX():n==="cs"?DX():n==="pl"?UX():BX()}),MX=()=>"Log out",qX=()=>"Logg ut",FX=()=>"Logga ut",HX=()=>"Log ud",VX=()=>"Kirjaudu ulos",KX=()=>"Odhlášení",GX=()=>"Wylogowanie",WX=()=>"Disconnettersi",c8=((e={},t={})=>{const n=t.locale??N();return n==="en"?MX():n==="nb"?qX():n==="sv"?FX():n==="da"?HX():n==="fi"?VX():n==="cs"?KX():n==="pl"?GX():WX()}),JX=()=>"New email address",ZX=()=>"Ny e-postadresse",XX=()=>"Ny e-postadress",YX=()=>"Ny emailadresse",QX=()=>"Uusi sähköpostiosoite",eY=()=>"Nová e-mailová adresa",tY=()=>"Nowy adres e-mail",nY=()=>"Nuovo indirizzo email",u8=((e={},t={})=>{const n=t.locale??N();return n==="en"?JX():n==="nb"?ZX():n==="sv"?XX():n==="da"?YX():n==="fi"?QX():n==="cs"?eY():n==="pl"?tY():nY()}),rY=()=>"A one-time code will be sent to your new email address, enter the code in the next step.",iY=()=>"En engangskode vil bli sendt til din nye e-postadresse, skriv inn koden i neste steg.",oY=()=>"En engångskod skickas till din nya e-postadress, ange koden i nästa steg.",sY=()=>"En engangskode vil blive sendt til din nye e-mailadresse, indtast koden i næste trin.",aY=()=>"Yksi kertainen koodi lähetetään uuteen sähköpostiosoitteeseesi, syötä koodi seuraavassa vaiheessa.",cY=()=>"Na vaši novou e-mailovou adresu bude zaslán jednorázový kód, zadejte kód v dalším kroku.",uY=()=>"Jednorazowy kod zostanie wysłany na Twój nowy adres e-mail, wprowadź kod w następnym kroku.",lY=()=>"Un codice monouso verrà inviato al tuo nuovo indirizzo email, inserisci il codice nel passaggio successivo.",l8=((e={},t={})=>{const n=t.locale??N();return n==="en"?rY():n==="nb"?iY():n==="sv"?oY():n==="da"?sY():n==="fi"?aY():n==="cs"?cY():n==="pl"?uY():lY()}),dY=()=>"No email address set",pY=()=>"Ingen e-postadresse satt",fY=()=>"Ingen e-postadress angiven",hY=()=>"Ingen e-mailadresse er angivet",_Y=()=>"Ei sähköpostiosoitetta asetettu",mY=()=>"Žádná e-mailová adresa není nastavena",gY=()=>"Brak ustawionego adresu e-mail",yY=()=>"Nessun indirizzo email impostato",d8=((e={},t={})=>{const n=t.locale??N();return n==="en"?dY():n==="nb"?pY():n==="sv"?fY():n==="da"?hY():n==="fi"?_Y():n==="cs"?mY():n==="pl"?gY():yY()}),bY=()=>"No, I want to use another account",vY=()=>"Nei, jeg vil bruke en annen konto",wY=()=>"Nej, jag vill använda ett annat konto",kY=()=>"Nej, jeg vil bruge en anden konto",$Y=()=>"Ei, haluan käyttää toista tiliä",SY=()=>"Ne, chci použít jiný účet",xY=()=>"Nie, chcę użyć innego konta",zY=()=>"No, voglio usare un altro account",p8=((e={},t={})=>{const n=t.locale??N();return n==="en"?bY():n==="nb"?vY():n==="sv"?wY():n==="da"?kY():n==="fi"?$Y():n==="cs"?SY():n==="pl"?xY():zY()}),AY=()=>"or",EY=()=>"eller",CY=()=>"eller",IY=()=>"eller",jY=()=>"tai",NY=()=>"nebo",TY=()=>"lub",PY=()=>"o",f8=((e={},t={})=>{const n=t.locale??N();return n==="en"?AY():n==="nb"?EY():n==="sv"?CY():n==="da"?IY():n==="fi"?jY():n==="cs"?NY():n==="pl"?TY():PY()}),OY=()=>"Password",RY=()=>"Passord",LY=()=>"Lösenord",DY=()=>"Adgangskode",UY=()=>"Salasana",BY=()=>"Heslo",MY=()=>"Hasło",qY=()=>"Password",h8=((e={},t={})=>{const n=t.locale??N();return n==="en"?OY():n==="nb"?RY():n==="sv"?LY():n==="da"?DY():n==="fi"?UY():n==="cs"?BY():n==="pl"?MY():qY()}),FY=()=>"Password contains a forbidden word",HY=()=>"Passordet inneholder et forbudt ord",VY=()=>"Lösenordet innehåller ett förbjudet ord",KY=()=>"Adgangskoden indeholder et forbudt ord",GY=()=>"Salasana sisältää kielletyn sanan",WY=()=>"Heslo obsahuje zakázané slovo",JY=()=>"Hasło zawiera zakazane słowo",ZY=()=>"La password contiene una parola vietata",_8=((e={},t={})=>{const n=t.locale??N();return n==="en"?FY():n==="nb"?HY():n==="sv"?VY():n==="da"?KY():n==="fi"?GY():n==="cs"?WY():n==="pl"?JY():ZY()}),XY=()=>"Password cannot contain personal information like your name or email",YY=()=>"Passordet kan ikke inneholde personlig informasjon som navn eller e-post",QY=()=>"Lösenordet får inte innehålla personlig information som ditt namn eller e-post",eQ=()=>"Adgangskoden må ikke indeholde personlige oplysninger som dit navn eller e-mail",tQ=()=>"Salasana ei saa sisältää henkilötietoja, kuten nimeäsi tai sähköpostiosoitettasi",nQ=()=>"Heslo nesmí obsahovat osobní údaje jako jméno nebo e-mail",rQ=()=>"Hasło nie może zawierać danych osobowych, takich jak imię lub adres e-mail",iQ=()=>"La password non può contenere informazioni personali come il nome o l'email",m8=((e={},t={})=>{const n=t.locale??N();return n==="en"?XY():n==="nb"?YY():n==="sv"?QY():n==="da"?eQ():n==="fi"?tQ():n==="cs"?nQ():n==="pl"?rQ():iQ()}),oQ=()=>"The password has been reset",sQ=()=>"Passordet har blitt tilbakestilt",aQ=()=>"Lösenordet har återställts",cQ=()=>"Adgangskoden er blevet nulstillet",uQ=()=>"Salasana on nollattu",lQ=()=>"Heslo bylo resetováno",dQ=()=>"Hasło zostało zresetowane",pQ=()=>"La password è stata reimpostata",g8=((e={},t={})=>{const n=t.locale??N();return n==="en"?oQ():n==="nb"?sQ():n==="sv"?aQ():n==="da"?cQ():n==="fi"?uQ():n==="cs"?lQ():n==="pl"?dQ():pQ()}),fQ=()=>"Success",hQ=()=>"Suksess",_Q=()=>"Framgång",mQ=()=>"Succes",gQ=()=>"Menestys",yQ=()=>"Úspěch",bQ=()=>"Sukces",vQ=()=>"Il successo",y8=((e={},t={})=>{const n=t.locale??N();return n==="en"?fQ():n==="nb"?hQ():n==="sv"?_Q():n==="da"?mQ():n==="fi"?gQ():n==="cs"?yQ():n==="pl"?bQ():vQ()}),wQ=()=>"Password must contain at least one lowercase letter",kQ=()=>"Passordet må inneholde minst én liten bokstav",$Q=()=>"Lösenordet måste innehålla minst en liten bokstav",SQ=()=>"Adgangskoden skal indeholde mindst ét lille bogstav",xQ=()=>"Salasanan on sisällettävä vähintään yksi pieni kirjain",zQ=()=>"Heslo musí obsahovat alespoň jedno malé písmeno",AQ=()=>"Hasło musi zawierać co najmniej jedną małą literę",EQ=()=>"La password deve contenere almeno una lettera minuscola",b8=((e={},t={})=>{const n=t.locale??N();return n==="en"?wQ():n==="nb"?kQ():n==="sv"?$Q():n==="da"?SQ():n==="fi"?xQ():n==="cs"?zQ():n==="pl"?AQ():EQ()}),CQ=()=>"Password must contain at least one number",IQ=()=>"Passordet må inneholde minst ett tall",jQ=()=>"Lösenordet måste innehålla minst en siffra",NQ=()=>"Adgangskoden skal indeholde mindst ét tal",TQ=()=>"Salasanan on sisällettävä vähintään yksi numero",PQ=()=>"Heslo musí obsahovat alespoň jednu číslici",OQ=()=>"Hasło musi zawierać co najmniej jedną cyfrę",RQ=()=>"La password deve contenere almeno un numero",v8=((e={},t={})=>{const n=t.locale??N();return n==="en"?CQ():n==="nb"?IQ():n==="sv"?jQ():n==="da"?NQ():n==="fi"?TQ():n==="cs"?PQ():n==="pl"?OQ():RQ()}),LQ=()=>"Password must contain at least one special character",DQ=()=>"Passordet må inneholde minst ett spesialtegn",UQ=()=>"Lösenordet måste innehålla minst ett specialtecken",BQ=()=>"Adgangskoden skal indeholde mindst ét specialtegn",MQ=()=>"Salasanan on sisällettävä vähintään yksi erikoismerkki",qQ=()=>"Heslo musí obsahovat alespoň jeden speciální znak",FQ=()=>"Hasło musi zawierać co najmniej jeden znak specjalny",HQ=()=>"La password deve contenere almeno un carattere speciale",w8=((e={},t={})=>{const n=t.locale??N();return n==="en"?LQ():n==="nb"?DQ():n==="sv"?UQ():n==="da"?BQ():n==="fi"?MQ():n==="cs"?qQ():n==="pl"?FQ():HQ()}),VQ=()=>"Password must contain at least one uppercase letter",KQ=()=>"Passordet må inneholde minst én stor bokstav",GQ=()=>"Lösenordet måste innehålla minst en stor bokstav",WQ=()=>"Adgangskoden skal indeholde mindst ét stort bogstav",JQ=()=>"Salasanan on sisällettävä vähintään yksi iso kirjain",ZQ=()=>"Heslo musí obsahovat alespoň jedno velké písmeno",XQ=()=>"Hasło musi zawierać co najmniej jedną wielką literę",YQ=()=>"La password deve contenere almeno una lettera maiuscola",k8=((e={},t={})=>{const n=t.locale??N();return n==="en"?VQ():n==="nb"?KQ():n==="sv"?GQ():n==="da"?WQ():n==="fi"?JQ():n==="cs"?ZQ():n==="pl"?XQ():YQ()}),QQ=()=>"Code not found or expired",eee=()=>"Koden ble ikke funnet eller har utløpt",tee=()=>"Koden hittades inte eller har löpt ut",nee=()=>"Koden blev ikke fundet eller er udløbet",ree=()=>"Koodia ei löytynyt tai se on vanhentunut",iee=()=>"Kód nebyl nalezen nebo vypršel",oee=()=>"Kod nie został znaleziony lub wygasł",see=()=>"Codice non trovato o scaduto",$8=((e={},t={})=>{const n=t.locale??N();return n==="en"?QQ():n==="nb"?eee():n==="sv"?tee():n==="da"?nee():n==="fi"?ree():n==="cs"?iee():n==="pl"?oee():see()}),aee=()=>"The password could not be reset",cee=()=>"Passordet kunne ikke tilbakestilles",uee=()=>"Lösenordet kunde inte återställas",lee=()=>"Adgangskoden kunne ikke nulstilles",dee=()=>"Salasanaa ei voitu nollata",pee=()=>"Heslo se nepodařilo resetovat",fee=()=>"Nie udało się zresetować hasła",hee=()=>"Impossibile reimpostare la password",S8=((e={},t={})=>{const n=t.locale??N();return n==="en"?aee():n==="nb"?cee():n==="sv"?uee():n==="da"?lee():n==="fi"?dee():n==="cs"?pee():n==="pl"?fee():hee()}),_ee=()=>"Password was used recently and cannot be reused",mee=()=>"Passordet har blitt brukt nylig og kan ikke gjenbrukes",gee=()=>"Lösenordet har använts nyligen och kan inte återanvändas",yee=()=>"Adgangskoden er blevet brugt for nylig og kan ikke genbruges",bee=()=>"Salasanaa on käytetty äskettäin, eikä sitä voi käyttää uudelleen",vee=()=>"Heslo bylo nedávno použito a nelze jej znovu použít",wee=()=>"Hasło było niedawno używane i nie może być ponownie użyte",kee=()=>"La password è stata utilizzata di recente e non può essere riutilizzata",x8=((e={},t={})=>{const n=t.locale??N();return n==="en"?_ee():n==="nb"?mee():n==="sv"?gee():n==="da"?yee():n==="fi"?bee():n==="cs"?vee():n==="pl"?wee():kee()}),$ee=e=>`Password must be at least ${e?.minLength} characters`,See=e=>`Passordet må være minst ${e?.minLength} tegn`,xee=e=>`Lösenordet måste vara minst ${e?.minLength} tecken`,zee=e=>`Adgangskoden skal være mindst ${e?.minLength} tegn`,Aee=e=>`Salasanan on oltava vähintään ${e?.minLength} merkkiä`,Eee=e=>`Heslo musí mít alespoň ${e?.minLength} znaků`,Cee=e=>`Hasło musi mieć co najmniej ${e?.minLength} znaków`,Iee=e=>`La password deve contenere almeno ${e?.minLength} caratteri`,z8=((e,t={})=>{const n=t.locale??N();return n==="en"?$ee(e):n==="nb"?See(e):n==="sv"?xee(e):n==="da"?zee(e):n==="fi"?Aee(e):n==="cs"?Eee(e):n==="pl"?Cee(e):Iee(e)}),jee=e=>`Change password for your ${e?.vendorName} account`,Nee=e=>`Endre passord for din ${e?.vendorName} konto`,Tee=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,Pee=e=>`Skift adgangskode til din ${e?.vendorName} konto`,Oee=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Ree=e=>`Změna hesla pro účet ${e?.vendorName}`,Lee=e=>`Zmień hasło do konta ${e?.vendorName}`,Dee=e=>`Cambia la password per il tuo account ${e?.vendorName}`,A8=((e,t={})=>{const n=t.locale??N();return n==="en"?jee(e):n==="nb"?Nee(e):n==="sv"?Tee(e):n==="da"?Pee(e):n==="fi"?Oee(e):n==="cs"?Ree(e):n==="pl"?Lee(e):Dee(e)}),Uee=e=>`Change password for your ${e?.vendorName} account`,Bee=e=>`Endre passord for ${e?.vendorName} kontoen din`,Mee=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,qee=e=>`Skift adgangskode til din ${e?.vendorName} -konto`,Fee=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Hee=e=>`Změna hesla k účtu ${e?.vendorName} `,Vee=e=>`Zmiana hasła do konta ${e?.vendorName} `,Kee=e=>`Modifica della password dell'account ${e?.vendorName} `,E8=((e,t={})=>{const n=t.locale??N();return n==="en"?Uee(e):n==="nb"?Bee(e):n==="sv"?Mee(e):n==="da"?qee(e):n==="fi"?Fee(e):n==="cs"?Hee(e):n==="pl"?Vee(e):Kee(e)}),Gee=()=>"Phone number",Wee=()=>"Telefonnummer",Jee=()=>"Telefonnummer",Zee=()=>"Telefonnummer",Xee=()=>"Puhelinnumero",Yee=()=>"Telefonní číslo",Qee=()=>"Numer telefonu",ete=()=>"Numero di telefono",C8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gee():n==="nb"?Wee():n==="sv"?Jee():n==="da"?Zee():n==="fi"?Xee():n==="cs"?Yee():n==="pl"?Qee():ete()}),tte=()=>"Privacy Policy",nte=()=>"Personvernerklæring",rte=()=>"Integritetspolicy",ite=()=>"Politik for beskyttelse af personlige oplysninger",ote=()=>"Tietosuojakäytäntö",ste=()=>"Zásady ochrany osobních údajů",ate=()=>"Polityka prywatności",cte=()=>"Informativa sulla privacy",I8=((e={},t={})=>{const n=t.locale??N();return n==="en"?tte():n==="nb"?nte():n==="sv"?rte():n==="da"?ite():n==="fi"?ote():n==="cs"?ste():n==="pl"?ate():cte()}),ute=()=>"Redirecting",lte=()=>"Omdirigerer",dte=()=>"Du skickas vidare",pte=()=>"Omdirigering",fte=()=>"Uudelleenohjaus",hte=()=>"Přesměrování",_te=()=>"Przekierowanie",mte=()=>"Reindirizzamento",j8=((e={},t={})=>{const n=t.locale??N();return n==="en"?ute():n==="nb"?lte():n==="sv"?dte():n==="da"?pte():n==="fi"?fte():n==="cs"?hte():n==="pl"?_te():mte()}),gte=()=>"Confirm password",yte=()=>"Bekreft passord",bte=()=>"Bekräfta lösenord",vte=()=>"Bekræft adgangskode",wte=()=>"Vahvista salasana",kte=()=>"Potvrzení hesla",$te=()=>"Potwierdź hasło",Ste=()=>"Confermare la password",N8=((e={},t={})=>{const n=t.locale??N();return n==="en"?gte():n==="nb"?yte():n==="sv"?bte():n==="da"?vte():n==="fi"?wte():n==="cs"?kte():n==="pl"?$te():Ste()}),xte=()=>"Register a new password",zte=()=>"Registrer et nytt passord",Ate=()=>"Registrera ett nytt lösenord",Ete=()=>"Registrer en ny adgangskode",Cte=()=>"Rekisteröi uusi salasana",Ite=()=>"Registrace nového hesla",jte=()=>"Zarejestruj nowe hasło",Nte=()=>"Registrazione di una nuova password",T8=((e={},t={})=>{const n=t.locale??N();return n==="en"?xte():n==="nb"?zte():n==="sv"?Ate():n==="da"?Ete():n==="fi"?Cte():n==="cs"?Ite():n==="pl"?jte():Nte()}),Tte=()=>"Resend code",Pte=()=>"Send kode på nytt",Ote=()=>"Skicka koden igen",Rte=()=>"Send koden igen",Lte=()=>"Lähetä koodi uudelleen",Dte=()=>"Opětovné odeslání kódu",Ute=()=>"Wyślij ponownie kod",Bte=()=>"Reinvio del codice",P8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Tte():n==="nb"?Pte():n==="sv"?Ote():n==="da"?Rte():n==="fi"?Lte():n==="cs"?Dte():n==="pl"?Ute():Bte()}),Mte=()=>"Change password",qte=()=>"Endre passord",Fte=()=>"Ändra lösenord",Hte=()=>"Skift adgangskode",Vte=()=>"Vaihda salasana",Kte=()=>"Změna hesla",Gte=()=>"Zmiana hasła",Wte=()=>"Modifica della password",O8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Mte():n==="nb"?qte():n==="sv"?Fte():n==="da"?Hte():n==="fi"?Vte():n==="cs"?Kte():n==="pl"?Gte():Wte()}),Jte=()=>"Enter your new password below for the email account: ",Zte=()=>"Skriv inn det nye passordet for e-postkontoen nedenfor: ",Xte=()=>"Ange ditt nya lösenord nedan för e-postkontot: ",Yte=()=>"Indtast din nye adgangskode til e-mailkontoen nedenfor: ",Qte=()=>"Kirjoita alla oleva uusi salasanasi sähköpostitiliä varten: ",ene=()=>"Níže zadejte nové heslo k e-mailovému účtu: ",tne=()=>"Wprowadź poniżej nowe hasło do konta e-mail: ",nne=()=>"Immettere di seguito la nuova password per l'account e-mail: ",R8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Jte():n==="nb"?Zte():n==="sv"?Xte():n==="da"?Yte():n==="fi"?Qte():n==="cs"?ene():n==="pl"?tne():nne()}),rne=()=>"Click the button to reset your password",ine=()=>"Klikk på knappen for å tilbakestille passordet ditt",one=()=>"Klicka på knappen för att återställa ditt lösenord",sne=()=>"Klik på knappen for at nulstille din adgangskode",ane=()=>"Napsauta painiketta salasanasi palauttamiseksi",cne=()=>"Kliknutím na tlačítko obnovíte své heslo",une=()=>"Kliknij przycisk, aby zresetować hasło",lne=()=>"Fare clic sul pulsante per reimpostare la password",L8=((e={},t={})=>{const n=t.locale??N();return n==="en"?rne():n==="nb"?ine():n==="sv"?one():n==="da"?sne():n==="fi"?ane():n==="cs"?cne():n==="pl"?une():lne()}),dne=()=>"Click the button to reset your password",pne=()=>"Klikk på knappen for å tilbakestille passordet ditt",fne=()=>"Klicka på knappen för att återställa ditt lösenord",hne=()=>"Klik på knappen for at nulstille din adgangskode",_ne=()=>"Napsauta painiketta salasanasi palauttamiseksi",mne=()=>"Kliknutím na tlačítko obnovíte své heslo",gne=()=>"Kliknij przycisk, aby zresetować hasło",yne=()=>"Fare clic sul pulsante per reimpostare la password",D8=((e={},t={})=>{const n=t.locale??N();return n==="en"?dne():n==="nb"?pne():n==="sv"?fne():n==="da"?hne():n==="fi"?_ne():n==="cs"?mne():n==="pl"?gne():yne()}),bne=()=>"Reset your password",vne=()=>"Tilbakestill passordet ditt",wne=()=>"Återställ ditt lösenord",kne=()=>"Nulstil din adgangskode",$ne=()=>"Nollaa salasanasi",Sne=()=>"Obnovení hesla",xne=()=>"Zmień hasło",zne=()=>"Reimpostare la password",U8=((e={},t={})=>{const n=t.locale??N();return n==="en"?bne():n==="nb"?vne():n==="sv"?wne():n==="da"?kne():n==="fi"?$ne():n==="cs"?Sne():n==="pl"?xne():zne()}),Ane=e=>`Change password for your ${e?.vendorName} account`,Ene=e=>`Endre passord for ${e?.vendorName} -kontoen din`,Cne=e=>`Byt lösenord för ditt ${e?.vendorName} konto`,Ine=e=>`Skift adgangskode til din ${e?.vendorName} -konto`,jne=e=>`Vaihda salasana tilillesi ${e?.vendorName} `,Nne=e=>`Změna hesla k účtu ${e?.vendorName} `,Tne=e=>`Zmiana hasła do konta ${e?.vendorName} `,Pne=e=>`Modifica della password dell'account ${e?.vendorName} `,B8=((e,t={})=>{const n=t.locale??N();return n==="en"?Ane(e):n==="nb"?Ene(e):n==="sv"?Cne(e):n==="da"?Ine(e):n==="fi"?jne(e):n==="cs"?Nne(e):n==="pl"?Tne(e):Pne(e)}),One=()=>"Reset password",Rne=()=>"Tilbakestill passord",Lne=()=>"Återställ lösenord",Dne=()=>"Nulstil adgangskode",Une=()=>"Nollaa salasana",Bne=()=>"Obnovení hesla",Mne=()=>"Resetowanie hasła",qne=()=>"Reimpostare la password",M8=((e={},t={})=>{const n=t.locale??N();return n==="en"?One():n==="nb"?Rne():n==="sv"?Lne():n==="da"?Dne():n==="fi"?Une():n==="cs"?Bne():n==="pl"?Mne():qne()}),Fne=()=>"Send",Hne=()=>"Send",Vne=()=>"Skicka",Kne=()=>"Send",Gne=()=>"Lähetä",Wne=()=>"Odeslat",Jne=()=>"Wyślij",Zne=()=>"Inviare",q8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Fne():n==="nb"?Hne():n==="sv"?Vne():n==="da"?Kne():n==="fi"?Gne():n==="cs"?Wne():n==="pl"?Jne():Zne()}),Xne=()=>"Send me a new magic link",Yne=()=>"Send meg en ny magisk lenke",Qne=()=>"Skicka en ny inloggninglänk",ere=()=>"Send mig et nyt magisk link",tre=()=>"Lähetä minulle uusi maaginen linkki",nre=()=>"Pošlete mi nový kouzelný odkaz",rre=()=>"Wyślij mi nowy magiczny link",ire=()=>"Inviami un nuovo link magico",F8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Xne():n==="nb"?Yne():n==="sv"?Qne():n==="da"?ere():n==="fi"?tre():n==="cs"?nre():n==="pl"?rre():ire()}),ore=()=>"Remember to check your spam folder if the email did not arrive.",sre=()=>"Husk å sjekke søppelpostmappen din hvis e-posten ikke kom.",are=()=>"Kom ihåg att kontrollera din skräppost om du inte kan hitta mailet vi har skickat.",cre=()=>"Husk at tjekke din spam-mappe, hvis e-mailen ikke er kommet frem.",ure=()=>"Muista tarkistaa roskapostikansiosi, jos sähköposti ei ole saapunut.",lre=()=>"Pokud e-mail nedorazil, nezapomeňte zkontrolovat složku nevyžádané pošty.",dre=()=>"Pamiętaj, aby sprawdzić folder spamu, jeśli wiadomość e-mail nie dotarła.",pre=()=>"Ricordate di controllare la cartella spam se l'e-mail non è arrivata.",H8=((e={},t={})=>{const n=t.locale??N();return n==="en"?ore():n==="nb"?sre():n==="sv"?are():n==="da"?cre():n==="fi"?ure():n==="cs"?lre():n==="pl"?dre():pre()}),fre=()=>"Invalid code",hre=()=>"Ugyldig kode",_re=()=>"Koden är inte giltig",mre=()=>"Ugyldig kode",gre=()=>"Virheellinen koodi",yre=()=>"Neplatný kód",bre=()=>"Nieprawidłowy kod",vre=()=>"Codice non valido",V8=((e={},t={})=>{const n=t.locale??N();return n==="en"?fre():n==="nb"?hre():n==="sv"?_re():n==="da"?mre():n==="fi"?gre():n==="cs"?yre():n==="pl"?bre():vre()}),wre=()=>"Session expired. Please try again.",kre=()=>"Økten har utløpt. Vennligst prøv igjen.",$re=()=>"Sessionen har upphört. Försök igen.",Sre=()=>"Sessionen er udløbet. Prøv venligst igen.",xre=()=>"Istunto on vanhentunut. Yritä uudelleen.",zre=()=>"Relace vypršela. Zkuste to prosím znovu.",Are=()=>"Sesja wygasła. Proszę spróbować ponownie.",Ere=()=>"Sessione scaduta. Si prega di riprovare.",K8=((e={},t={})=>{const n=t.locale??N();return n==="en"?wre():n==="nb"?kre():n==="sv"?$re():n==="da"?Sre():n==="fi"?xre():n==="cs"?zre():n==="pl"?Are():Ere()}),Cre=()=>"Set password",Ire=()=>"Angi passord",jre=()=>"Välj lösenord",Nre=()=>"Indstil adgangskode",Tre=()=>"Aseta salasana",Pre=()=>"Nastavení hesla",Ore=()=>"Ustaw hasło",Rre=()=>"Impostare la password",G8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Cre():n==="nb"?Ire():n==="sv"?jre():n==="da"?Nre():n==="fi"?Tre():n==="cs"?Pre():n==="pl"?Ore():Rre()}),Lre=()=>"Show password",Dre=()=>"Vis passord",Ure=()=>"Visa lösenord",Bre=()=>"Vis adgangskode",Mre=()=>"Näytä salasana",qre=()=>"Zobrazit heslo",Fre=()=>"Pokaż hasło",Hre=()=>"Mostra password",W8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Lre():n==="nb"?Dre():n==="sv"?Ure():n==="da"?Bre():n==="fi"?Mre():n==="cs"?qre():n==="pl"?Fre():Hre()}),Vre=()=>"Sign in",Kre=()=>"Logg inn",Gre=()=>"Logga in",Wre=()=>"Log ind",Jre=()=>"Kirjaudu sisään",Zre=()=>"Přihlásit se",Xre=()=>"Zaloguj się",Yre=()=>"Accedi",J8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Vre():n==="nb"?Kre():n==="sv"?Gre():n==="da"?Wre():n==="fi"?Jre():n==="cs"?Zre():n==="pl"?Xre():Yre()}),Qre=()=>"Signup",eie=()=>"Påmelding",tie=()=>"Registrera dig",nie=()=>"Tilmelding",rie=()=>"Rekisteröityminen",iie=()=>"Registrace",oie=()=>"Rejestracja",sie=()=>"Iscriviti",Z8=((e={},t={})=>{const n=t.locale??N();return n==="en"?Qre():n==="nb"?eie():n==="sv"?tie():n==="da"?nie():n==="fi"?rie():n==="cs"?iie():n==="pl"?oie():sie()}),aie=()=>"Sign up successful",cie=()=>"Vellykket registrering",uie=()=>"Registrera dig framgångsrik",lie=()=>"Tilmeld dig med succes",die=()=>"Rekisteröidy onnistuneesti",pie=()=>"Úspěšná registrace",fie=()=>"Rejestracja zakończona sukcesem",hie=()=>"Iscriviti con successo",X8=((e={},t={})=>{const n=t.locale??N();return n==="en"?aie():n==="nb"?cie():n==="sv"?uie():n==="da"?lie():n==="fi"?die():n==="cs"?pie():n==="pl"?fie():hie()}),_ie=e=>`${e?.code} is your login code for ${e?.vendorName}`,mie=e=>`${e?.code} er innloggingskoden din for ${e?.vendorName}`,gie=e=>`${e?.code} är din inloggningskod för ${e?.vendorName}`,yie=e=>`${e?.code} er din login-kode til ${e?.vendorName}`,bie=e=>`${e?.code} on kirjautumiskoodisi ${e?.vendorName}`,vie=e=>`${e?.code} je váš přihlašovací kód pro ${e?.vendorName}`,wie=e=>`${e?.code} to kod logowania do ${e?.vendorName}`,kie=e=>`${e?.code} è il codice di accesso per ${e?.vendorName}`,Y8=((e,t={})=>{const n=t.locale??N();return n==="en"?_ie(e):n==="nb"?mie(e):n==="sv"?gie(e):n==="da"?yie(e):n==="fi"?bie(e):n==="cs"?vie(e):n==="pl"?wie(e):kie(e)}),$ie=()=>"It appears that your Spotify account is currently linked to another Sesamy account. But fear not, we're here to guide you through the process to get this fixed.",Sie=()=>"Det ser ut til at Spotify-kontoen din for øyeblikket er koblet til en annen Sesamy-konto. Men ikke vær redd, vi er her for å veilede deg gjennom prosessen for å få dette fikset.",xie=()=>"Det verkar som att ditt Spotify-konto för närvarande är kopplat till ett annat Sesamy-konto. Ingen fara, vi är här för att guida dig genom processen för att lösa detta.",zie=()=>"Det ser ud til, at din Spotify-konto i øjeblikket er knyttet til en anden Sesamy-konto. Men frygt ikke, vi er her for at guide dig gennem processen med at få det løst.",Aie=()=>"Näyttää siltä, että Spotify-tilisi on tällä hetkellä yhdistetty toiseen Sesamy-tiliin. Mutta älä pelkää, me opastamme sinua prosessin läpi, jotta saat tämän korjattua.",Eie=()=>"Zdá se, že váš účet Spotify je v současné době propojen s jiným účtem Sesamy. Ale nebojte se, jsme tu, abychom vás provedli procesem, jak to napravit.",Cie=()=>"Wygląda na to, że Twoje konto Spotify jest obecnie połączone z innym kontem Sesamy. Ale nie martw się, jesteśmy tutaj, aby poprowadzić Cię przez proces, aby to naprawić.",Iie=()=>"Sembra che il vostro account Spotify sia attualmente collegato a un altro account Sesamy. Ma non temete, siamo qui per guidarvi attraverso la procedura per risolvere il problema.",Q8=((e={},t={})=>{const n=t.locale??N();return n==="en"?$ie():n==="nb"?Sie():n==="sv"?xie():n==="da"?zie():n==="fi"?Aie():n==="cs"?Eie():n==="pl"?Cie():Iie()}),jie=()=>"Go to Spotify's Content Access page",Nie=()=>"Gå til Spotifys innholdstilgangsside",Tie=()=>"Gå till Spotify's Content Access sida",Pie=()=>"Gå til Spotifys side for adgang til indhold",Oie=()=>"Siirry Spotifyn Content Access -sivulle",Rie=()=>"Přejděte na stránku Spotify pro přístup k obsahu",Lie=()=>"Przejdź do strony dostępu do treści Spotify",Die=()=>"Vai alla pagina di accesso ai contenuti di Spotify",e$=((e={},t={})=>{const n=t.locale??N();return n==="en"?jie():n==="nb"?Nie():n==="sv"?Tie():n==="da"?Pie():n==="fi"?Oie():n==="cs"?Rie():n==="pl"?Lie():Die()}),Uie=()=>`Let's start by unlinking your Spotify account. Click the button below to go to Spotify's Content Access page. After you've logged in to your Spotify account, find Sesamy on the list of connected platforms. Click "Unlink" next to the Sesamy logo.`,Bie=()=>'La oss starte med å koble fra Spotify-kontoen din. Klikk på knappen nedenfor for å gå til Spotifys innholdstilgang-side. Etter at du har logget på Spotify-kontoen din, finner du Sesamy på listen over tilkoblede plattformer. Klikk "Fjern kobling" ved siden av Sesamy-logoen.',Mie=()=>`Vi börjar med att avlänka ditt Spotify-konto. Klicka på knappen nedan för att komma till Spotify's Content Access sida. När du har loggat in på ditt Spotify-konto, leta upp Sesamy i listan över anslutna plattformar. Klicka på "Unlink" bredvid Sesamys logotyp.`,qie=()=>'Lad os starte med at fjerne forbindelsen til din Spotify-konto. Klik på knappen nedenfor for at gå til Spotifys Content Access-side. Når du har logget ind på din Spotify-konto, skal du finde Sesamy på listen over tilsluttede platforme. Klik på "Unlink" ved siden af Sesamy-logoet.',Fie=()=>'Aloitetaan poistamalla Spotify-tilisi linkitys. Klikkaa alla olevaa painiketta siirtyäksesi Spotifyn Content Access -sivulle. Kun olet kirjautunut sisään Spotify-tilillesi, etsi Sesamy yhdistettyjen alustojen luettelosta. Napsauta "Unlink" Sesamyn logon vieressä.',Hie=()=>'Začněme odpojením účtu Spotify. Kliknutím na tlačítko níže přejděte na stránku přístupu k obsahu služby Spotify. Po přihlášení k účtu Spotify najděte v seznamu připojených platforem položku Sesamy. Klikněte na tlačítko "Unlink" vedle loga Sesamy.',Vie=()=>'Zacznijmy od odłączenia konta Spotify. Kliknij poniższy przycisk, aby przejść do strony dostępu do treści Spotify. Po zalogowaniu się na swoje konto Spotify, znajdź Sesamy na liście połączonych platform. Kliknij "Odłącz" obok logo Sesamy.',Kie=()=>`Cominciamo con lo scollegare il vostro account Spotify. Fare clic sul pulsante sottostante per accedere alla pagina di accesso ai contenuti di Spotify. Dopo aver effettuato l'accesso al vostro account Spotify, trovate Sesamy nell'elenco delle piattaforme collegate. Fate clic su "Unlink" accanto al logo di Sesamy.`,t$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Uie():n==="nb"?Bie():n==="sv"?Mie():n==="da"?qie():n==="fi"?Fie():n==="cs"?Hie():n==="pl"?Vie():Kie()}),Gie=()=>"Step 1: Unlink Your Spotify Account",Wie=()=>"Trinn 1: Koble fra Spotify-kontoen din",Jie=()=>"Steg 1: Avlänka ditt Spotify-konto",Zie=()=>"Trin 1: Fjern forbindelsen til din Spotify-konto",Xie=()=>"Vaihe 1: Poista Spotify-tilisi linkitys",Yie=()=>"Krok 1: Odpojení účtu Spotify",Qie=()=>"Krok 1: Odłącz swoje konto Spotify",eoe=()=>"Passo 1: Disconnettere l'account Spotify",n$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gie():n==="nb"?Wie():n==="sv"?Jie():n==="da"?Zie():n==="fi"?Xie():n==="cs"?Yie():n==="pl"?Qie():eoe()}),toe=()=>"Once you've successfully unlinked your Spotify account, you can relink it to Sesamy. Simply repeat the steps you previously took that led you to this page.",noe=()=>"Når du har koblet fra Spotify-kontoen din, kan du koble den til Sesamy på nytt. Bare gjenta trinnene du tidligere tok som førte deg til denne siden.",roe=()=>"När du har avlänkat ditt Spotify-konto kan du koppla det till Sesamy igen. Upprepa helt enkelt de steg du tog som ledde dig till den här sidan.",ioe=()=>"Når du har afkoblet din Spotify-konto, kan du koble den til Sesamy igen. Du skal blot gentage de trin, du tidligere har taget, og som førte dig til denne side.",ooe=()=>"Kun olet onnistuneesti irrottanut Spotify-tilisi, voit yhdistää sen uudelleen Sesamyn kanssa. Toista vain aiemmin tekemäsi vaiheet, jotka johtivat sinut tälle sivulle.",soe=()=>"Po úspěšném odpojení účtu Spotify jej můžete znovu propojit se službou Sesamy. Stačí zopakovat předchozí kroky, které vás přivedly na tuto stránku.",aoe=()=>"Po pomyślnym odłączeniu konta Spotify możesz ponownie połączyć je z Sesamy. Wystarczy powtórzyć poprzednie kroki, które doprowadziły Cię do tej strony.",coe=()=>"Dopo aver scollegato con successo il proprio account Spotify, è possibile ricollegarlo a Sesamy. È sufficiente ripetere i passaggi precedenti che vi hanno portato a questa pagina.",r$=((e={},t={})=>{const n=t.locale??N();return n==="en"?toe():n==="nb"?noe():n==="sv"?roe():n==="da"?ioe():n==="fi"?ooe():n==="cs"?soe():n==="pl"?aoe():coe()}),uoe=()=>"Step 2: Relink Your Spotify Account to Sesamy",loe=()=>"Trinn 2: Koble Spotify-kontoen din til Sesamy på nytt",doe=()=>"Steg 2: Koppla ditt Spotify-konto till Sesamy igen",poe=()=>"Trin 2: Relink din Spotify-konto til Sesamy",foe=()=>"Vaihe 2: Yhdistä Spotify-tilisi uudelleen Sesamyn kanssa",hoe=()=>"Krok 2: Propojení účtu Spotify s aplikací Sesamy",_oe=()=>"Krok 2: Połącz ponownie swoje konto Spotify z Sesamy",moe=()=>"Passo 2: ricollegare l'account Spotify a Sesamy",i$=((e={},t={})=>{const n=t.locale??N();return n==="en"?uoe():n==="nb"?loe():n==="sv"?doe():n==="da"?poe():n==="fi"?foe():n==="cs"?hoe():n==="pl"?_oe():moe()}),goe=()=>"Oops! Your Spotify Account Is Already Linked",yoe=()=>"Oops! Spotify-kontoen din er allerede koblet",boe=()=>"Oj! Ditt Spotify-konto är redan kopplat",voe=()=>"Ups! Din Spotify-konto er allerede forbundet",woe=()=>"Hups! Spotify-tilisi on jo linkitetty",koe=()=>"Ups! Váš účet Spotify je již propojen",$oe=()=>"Ups! Twoje konto Spotify jest już połączone",Soe=()=>"Ops! Il tuo account Spotify è già collegato",o$=((e={},t={})=>{const n=t.locale??N();return n==="en"?goe():n==="nb"?yoe():n==="sv"?boe():n==="da"?voe():n==="fi"?woe():n==="cs"?koe():n==="pl"?$oe():Soe()}),xoe=()=>"Success",zoe=()=>"Ferdig",Aoe=()=>"Klart",Eoe=()=>"Færdig",Coe=()=>"Valmis",Ioe=()=>"Hotovo",joe=()=>"Gotowe",Noe=()=>"Il successo",s$=((e={},t={})=>{const n=t.locale??N();return n==="en"?xoe():n==="nb"?zoe():n==="sv"?Aoe():n==="da"?Eoe():n==="fi"?Coe():n==="cs"?Ioe():n==="pl"?joe():Noe()}),Toe=()=>"If you have questions or need assistance, you can contact our support team",Poe=()=>"Hvis du har spørsmål eller trenger hjelp, kan du kontakte supportteamet vårt",Ooe=()=>"Om du har frågor eller behöver hjälp kan du kontakta vårt supportteam",Roe=()=>"Hvis du har spørgsmål eller brug for hjælp, kan du kontakte vores supportteam",Loe=()=>"Jos sinulla on kysyttävää tai tarvitset apua, voit ottaa yhteyttä tukitiimiimme.",Doe=()=>"Pokud máte dotazy nebo potřebujete pomoc, můžete se obrátit na náš tým podpory.",Uoe=()=>"Jeśli masz pytania lub potrzebujesz pomocy, skontaktuj się z nami",Boe=()=>"Se avete domande o bisogno di assistenza, potete contattare il nostro team di supporto",a$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Toe():n==="nb"?Poe():n==="sv"?Ooe():n==="da"?Roe():n==="fi"?Loe():n==="cs"?Doe():n==="pl"?Uoe():Boe()}),Moe=()=>"Terms and Conditions",qoe=()=>"vilkår",Foe=()=>"Villkor",Hoe=()=>"Vilkår og betingelser",Voe=()=>"Ehdot ja edellytykset",Koe=()=>"Podmínky a pravidla",Goe=()=>"Zasady i warunki",Woe=()=>"Termini e condizioni",c$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Moe():n==="nb"?qoe():n==="sv"?Foe():n==="da"?Hoe():n==="fi"?Voe():n==="cs"?Koe():n==="pl"?Goe():Woe()}),Joe=()=>"Too many failed login attempts. Please try again later.",Zoe=()=>"For mange mislykkede påloggingsforsøk. Vennligst prøv igjen senere.",Xoe=()=>"För många misslyckade inloggningsförsök. Försök igen senare.",Yoe=()=>"For mange mislykkede loginforsøg. Prøv venligst igen senere.",Qoe=()=>"Liian monta epäonnistunutta kirjautumisyritystä. Yritä myöhemmin uudelleen.",ese=()=>"Příliš mnoho neúspěšných pokusů o přihlášení. Zkuste to prosím později.",tse=()=>"Zbyt wiele nieudanych prób logowania. Spróbuj ponownie później.",nse=()=>"Troppi tentativi di accesso falliti. Riprova più tardi.",u$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Joe():n==="nb"?Zoe():n==="sv"?Xoe():n==="da"?Yoe():n==="fi"?Qoe():n==="cs"?ese():n==="pl"?tse():nse()}),rse=()=>"Something went wrong. Please try again.",ise=()=>"Noe gikk galt. Vennligst prøv igjen.",ose=()=>"Något gick fel. Vänligen försök igen.",sse=()=>"Noget gik galt. Prøv venligst igen.",ase=()=>"Jokin meni pieleen. Yritä uudelleen.",cse=()=>"Něco se pokazilo. Zkuste to prosím znovu.",use=()=>"Coś poszło nie tak. Spróbuj ponownie.",lse=()=>"Qualcosa è andato storto. Riprovare.",l$=((e={},t={})=>{const n=t.locale??N();return n==="en"?rse():n==="nb"?ise():n==="sv"?ose():n==="da"?sse():n==="fi"?ase():n==="cs"?cse():n==="pl"?use():lse()}),dse=()=>"Unlink",pse=()=>"Koble fra",fse=()=>"Koppla bort",hse=()=>"Frakobl",_se=()=>"Irrota",mse=()=>"Odpojit",gse=()=>"Odłącz",yse=()=>"Scollega",d$=((e={},t={})=>{const n=t.locale??N();return n==="en"?dse():n==="nb"?pse():n==="sv"?fse():n==="da"?hse():n==="fi"?_se():n==="cs"?mse():n==="pl"?gse():yse()}),bse=()=>"Your email address needs validating. We have sent a new email to your inbox",vse=()=>"E-postadressen din må bekreftes. Vi har sendt en ny e-post til innboksen din.",wse=()=>"Din e-postadress behöver valideras. Vi har skickat ett nytt e-postmeddelande till din inkorg",kse=()=>"Din e-mailadresse skal valideres. Vi har sendt en ny e-mail til din indbakke",$se=()=>"Sähköpostiosoitteesi on vahvistettava. Olemme lähettäneet uuden sähköpostiviestin sähköpostiisi.",Sse=()=>"Vaši e-mailovou adresu je třeba ověřit. Do vaší e-mailové schránky jsme odeslali nový e-mail.",xse=()=>"Twój adres e-mail wymaga weryfikacji. Wysłaliśmy nową wiadomość e-mail na Twoją skrzynkę odbiorczą",zse=()=>"Il tuo indirizzo e-mail deve essere convalidato. Abbiamo inviato una nuova e-mail alla tua casella di posta.",p$=((e={},t={})=>{const n=t.locale??N();return n==="en"?bse():n==="nb"?vse():n==="sv"?wse():n==="da"?kse():n==="fi"?$se():n==="cs"?Sse():n==="pl"?xse():zse()}),Ase=()=>"Update email",Ese=()=>"Oppdater e-post",Cse=()=>"Ändra e-post",Ise=()=>"Opdatering af e-mail",jse=()=>"Päivitä sähköposti",Nse=()=>"Aktualizace e-mailu",Tse=()=>"Aktualizacja wiadomości e-mail",Pse=()=>"Aggiornamento e-mail",f$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Ase():n==="nb"?Ese():n==="sv"?Cse():n==="da"?Ise():n==="fi"?jse():n==="cs"?Nse():n==="pl"?Tse():Pse()}),Ose=()=>"User account does not exist",Rse=()=>"Brukerkonto eksisterer ikke",Lse=()=>"Kontot existerar inte",Dse=()=>"Brugerkontoen findes ikke",Use=()=>"Käyttäjätiliä ei ole olemassa",Bse=()=>"Uživatelský účet neexistuje",Mse=()=>"Konto użytkownika nie istnieje",qse=()=>"L'account utente non esiste",h$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Ose():n==="nb"?Rse():n==="sv"?Lse():n==="da"?Dse():n==="fi"?Use():n==="cs"?Bse():n==="pl"?Mse():qse()}),Fse=()=>"User account does not exist",Hse=()=>"Brukerkonto eksisterer ikke",Vse=()=>"Kontot existerar inte",Kse=()=>"Brugerkontoen findes ikke",Gse=()=>"Käyttäjätiliä ei ole olemassa",Wse=()=>"Uživatelský účet neexistuje",Jse=()=>"Konto użytkownika nie istnieje",Zse=()=>"L'account utente non esiste",_$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Fse():n==="nb"?Hse():n==="sv"?Vse():n==="da"?Kse():n==="fi"?Gse():n==="cs"?Wse():n==="pl"?Jse():Zse()}),Xse=()=>"We could not find a user with the provided email address. Please, try again.",Yse=()=>"Vi kunne ikke finne en bruker med den oppgitte e-postadressen. Vær så snill, prøv på nytt.",Qse=()=>"Vi kan inte hitta en användare med denna eposten. Vänligen försök igen.",eae=()=>"Vi kunne ikke finde en bruger med den angivne e-mailadresse. Prøv venligst igen.",tae=()=>"Emme löytäneet käyttäjää, jolla on annettu sähköpostiosoite. Yritä uudelleen.",nae=()=>"Nepodařilo se nám najít uživatele se zadanou e-mailovou adresou. Zkuste to prosím znovu.",rae=()=>"Nie mogliśmy znaleźć użytkownika o podanym adresie e-mail. Spróbuj ponownie.",iae=()=>"Non è stato possibile trovare un utente con l'indirizzo e-mail fornito. Si prega di riprovare.",m$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Xse():n==="nb"?Yse():n==="sv"?Qse():n==="da"?eae():n==="fi"?tae():n==="cs"?nae():n==="pl"?rae():iae()}),oae=()=>"Try again.",sae=()=>"Prøv igjen.",aae=()=>"Försök igen.",cae=()=>"Prøv igen.",uae=()=>"Yritä uudelleen.",lae=()=>"Zkuste to znovu.",dae=()=>"Spróbuj ponownie.",pae=()=>"Riprova.",g$=((e={},t={})=>{const n=t.locale??N();return n==="en"?oae():n==="nb"?sae():n==="sv"?aae():n==="da"?cae():n==="fi"?uae():n==="cs"?lae():n==="pl"?dae():pae()}),fae=()=>"Validate code",hae=()=>"Bekreft koden",_ae=()=>"Validera kod",mae=()=>"Valider koden",gae=()=>"Validoi koodi",yae=()=>"Ověření kódu",bae=()=>"Sprawdź poprawność kodu",vae=()=>"Convalida del codice",y$=((e={},t={})=>{const n=t.locale??N();return n==="en"?fae():n==="nb"?hae():n==="sv"?_ae():n==="da"?mae():n==="fi"?gae():n==="cs"?yae():n==="pl"?bae():vae()}),wae=()=>"Check your inbox for email validation instructions.",kae=()=>"Sjekk innboksen din for instruksjoner om e-postvalidering.",$ae=()=>"Kontrollera din inkorg för instruktioner om validering av e-post.",Sae=()=>"Tjek din indbakke for instruktioner om validering af e-mail.",xae=()=>"Tarkista sähköpostin vahvistusohjeet postilaatikostasi.",zae=()=>"Pokyny k ověření e-mailu najdete ve své e-mailové schránce.",Aae=()=>"Sprawdź swoją skrzynkę odbiorczą, aby uzyskać instrukcje dotyczące weryfikacji wiadomości e-mail.",Eae=()=>"Controllate la vostra casella di posta per le istruzioni di convalida dell'e-mail.",b$=((e={},t={})=>{const n=t.locale??N();return n==="en"?wae():n==="nb"?kae():n==="sv"?$ae():n==="da"?Sae():n==="fi"?xae():n==="cs"?zae():n==="pl"?Aae():Eae()}),Cae=()=>"Signed up",Iae=()=>"Registrerte seg",jae=()=>"Registrerad",Nae=()=>"Tilmeldte sig",Tae=()=>"Rekisteröitynyt",Pae=()=>"Zaregistrovali jste se",Oae=()=>"Zarejestrowany",Rae=()=>"Iscritta",v$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Cae():n==="nb"?Iae():n==="sv"?jae():n==="da"?Nae():n==="fi"?Tae():n==="cs"?Pae():n==="pl"?Oae():Rae()}),Lae=()=>"Click the button to verify your email address",Dae=()=>"Klikk på knappen for å bekrefte e-postadressen din",Uae=()=>"Klicka på knappen för att verifiera din e-postadress",Bae=()=>"Klik på knappen for at bekræfte din e-mailadresse",Mae=()=>"Vahvista sähköpostiosoitteesi napsauttamalla painiketta",qae=()=>"Klikněte na tlačítko pro ověření e-mailové adresy",Fae=()=>"Kliknij przycisk, aby zweryfikować swój adres e-mail",Hae=()=>"Fare clic sul pulsante per verificare l'indirizzo e-mail",w$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Lae():n==="nb"?Dae():n==="sv"?Uae():n==="da"?Bae():n==="fi"?Mae():n==="cs"?qae():n==="pl"?Fae():Hae()}),Vae=()=>"Validate your email address",Kae=()=>"Bekreft e-postadressen din",Gae=()=>"Bekräfta din e-postadress",Wae=()=>"Bekræft din e-mailadresse",Jae=()=>"Vahvista sähköpostiosoitteesi",Zae=()=>"Ověřte svou e-mailovou adresu",Xae=()=>"Potwierdź swój adres e-mail",Yae=()=>"Convalidare l'indirizzo e-mail",k$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Vae():n==="nb"?Kae():n==="sv"?Gae():n==="da"?Wae():n==="fi"?Jae():n==="cs"?Zae():n==="pl"?Xae():Yae()}),Qae=()=>"Validate your email address",ece=()=>"Bekreft e-postadressen din",tce=()=>"Bekräfta din e-postadress",nce=()=>"Bekræft din e-mailadresse",rce=()=>"Vahvista sähköpostiosoitteesi",ice=()=>"Ověřte svou e-mailovou adresu",oce=()=>"Potwierdź swój adres e-mail",sce=()=>"Convalidare l'indirizzo e-mail",$$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Qae():n==="nb"?ece():n==="sv"?tce():n==="da"?nce():n==="fi"?rce():n==="cs"?ice():n==="pl"?oce():sce()}),ace=()=>"Verify account",cce=()=>"Bekreft konto",uce=()=>"Verifiera konto",lce=()=>"Bekræft konto",dce=()=>"Vahvista tili",pce=()=>"Ověření účtu",fce=()=>"Zweryfikuj konto",hce=()=>"Verifica dell'account",S$=((e={},t={})=>{const n=t.locale??N();return n==="en"?ace():n==="nb"?cce():n==="sv"?uce():n==="da"?lce():n==="fi"?dce():n==="cs"?pce():n==="pl"?fce():hce()}),_ce=()=>"Verify your email",mce=()=>"Bekreft e-posten din",gce=()=>"Ange engångskod",yce=()=>"Bekræft din e-mail",bce=()=>"Vahvista sähköpostiosoitteesi",vce=()=>"Ověření e-mailu",wce=()=>"Zweryfikuj swój adres e-mail",kce=()=>"Verificare l'e-mail",x$=((e={},t={})=>{const n=t.locale??N();return n==="en"?_ce():n==="nb"?mce():n==="sv"?gce():n==="da"?yce():n==="fi"?bce():n==="cs"?vce():n==="pl"?wce():kce()}),$ce=()=>"Welcome",Sce=()=>"Velkommen",xce=()=>"Välkommen",zce=()=>"Velkommen",Ace=()=>"Tervetuloa",Ece=()=>"Vítejte na",Cce=()=>"Witamy",Ice=()=>"Benvenuti",z$=((e={},t={})=>{const n=t.locale??N();return n==="en"?$ce():n==="nb"?Sce():n==="sv"?xce():n==="da"?zce():n==="fi"?Ace():n==="cs"?Ece():n==="pl"?Cce():Ice()}),jce=e=>`Welcome to your ${e?.vendorName} account!`,Nce=e=>`Velkommen til din brukerkonto hos ${e?.vendorName}!`,Tce=e=>`Välkommen till ditt ${e?.vendorName}-konto!`,Pce=e=>`Velkommen til din ${e?.vendorName} konto!`,Oce=e=>`Tervetuloa tilillesi ${e?.vendorName}!`,Rce=e=>`Vítejte na svém účtu ${e?.vendorName}!`,Lce=e=>`Witamy na koncie ${e?.vendorName}!`,Dce=e=>`Benvenuto nel tuo account ${e?.vendorName}!`,A$=((e,t={})=>{const n=t.locale??N();return n==="en"?jce(e):n==="nb"?Nce(e):n==="sv"?Tce(e):n==="da"?Pce(e):n==="fi"?Oce(e):n==="cs"?Rce(e):n==="pl"?Lce(e):Dce(e)}),Uce=e=>`Please check your email at <0>${e?.email}</0> and enter the six-digit code that we've sent you.`,Bce=e=>`Vennligst sjekk e-posten din på <0>${e?.email}</0> og skriv inn den sekssifrede koden som vi har sendt deg.`,Mce=e=>`Vänligen kontrollera din e-post för <0>${e?.email}</0> och ange den sexsiffriga koden som vi har skickat till dig.`,qce=e=>`Tjek venligst din e-mail på <0>${e?.email}</0> og indtast den sekscifrede kode, vi har sendt dig.`,Fce=e=>`Tarkista sähköpostisi osoitteesta <0>${e?.email}</0> ja syötä lähettämämme kuusinumeroinen koodi.`,Hce=e=>`Zkontrolujte si prosím svůj e-mail na adrese <0>${e?.email}</0> a zadejte šestimístný kód, který jsme vám zaslali.`,Vce=e=>`Sprawdź swoją skrzynkę e-mail pod adresem <0>${e?.email}</0> i wprowadź sześciocyfrowy kod, który wysłaliśmy.`,Kce=e=>`Controllate la vostra e-mail all'indirizzo <0>${e?.email}</0> e inserisca il codice a sei cifre che le abbiamo inviato.`,E$=((e,t={})=>{const n=t.locale??N();return n==="en"?Uce(e):n==="nb"?Bce(e):n==="sv"?Mce(e):n==="da"?qce(e):n==="fi"?Fce(e):n==="cs"?Hce(e):n==="pl"?Vce(e):Kce(e)}),Gce=()=>"Continue with this account",Wce=()=>"Fortsett med denne kontoen",Jce=()=>"Fortsätt med konto",Zce=()=>"Fortsæt med denne konto",Xce=()=>"Jatka tällä tilillä",Yce=()=>"Pokračujte s tímto účtem",Qce=()=>"Kontynuuj korzystanie z tego konta",eue=()=>"Continuare con questo account",C$=((e={},t={})=>{const n=t.locale??N();return n==="en"?Gce():n==="nb"?Wce():n==="sv"?Jce():n==="da"?Zce():n==="fi"?Xce():n==="cs"?Yce():n==="pl"?Qce():eue()}),tue=e=>`Yes, continue with ${e?.text}`,nue=e=>`Ja, fortsett med ${e?.text}`,rue=e=>`Ja, fortsätt med ${e?.text}`,iue=e=>`Ja, fortsæt med ${e?.text}`,oue=e=>`Kyllä, jatka ${e?.text}`,sue=e=>`Ano, pokračujte ${e?.text}`,aue=e=>`Tak, kontynuuj ${e?.text}`,cue=e=>`Sì, continuare con ${e?.text}`,I$=((e,t={})=>{const n=t.locale??N();return n==="en"?tue(e):n==="nb"?nue(e):n==="sv"?rue(e):n==="da"?iue(e):n==="fi"?oue(e):n==="cs"?sue(e):n==="pl"?aue(e):cue(e)}),uue=()=>"Yes, continue with existing account",lue=()=>"Ja, fortsett med eksisterende konto",due=()=>"Ja, fortsätt med detta kontot",pue=()=>"Ja, fortsæt med eksisterende konto",fue=()=>"Kyllä, jatka olemassa olevalla tilillä",hue=()=>"Ano, pokračujte ve stávajícím účtu",_ue=()=>"Tak, kontynuuj korzystanie z istniejącego konta",mue=()=>"Sì, continuare con l'account esistente",j$=((e={},t={})=>{const n=t.locale??N();return n==="en"?uue():n==="nb"?lue():n==="sv"?due():n==="da"?pue():n==="fi"?fue():n==="cs"?hue():n==="pl"?_ue():mue()}),gue=Object.freeze(Object.defineProperty({__proto__:null,"Server error: Invalid code":V8,account_detected:l4,account_page_description:d4,account_title:p4,account_with_sso_provider:f4,agree_to:h4,already_have_account:_4,and:m4,auth_method_email:g4,auth_method_email_or_phone:y4,auth_method_phone:b4,callback_url_mismatch:v4,callback_url_not_allowed:w4,change_email:k4,check_account_continue_question:$4,check_account_description:S4,check_account_description_fallback:x4,check_account_error:z4,check_account_logged_in_as:A4,check_account_title:E4,check_email_title:C4,click_to_sign_up_description:I4,code_email_enter_code:j4,code_email_subject:N4,code_email_title:T4,code_expired:P4,code_invalid:O4,code_sent_template:R4,code_used:L4,code_valid_30_minutes:D4,configuration_error_message:U4,confirm_password:B4,confirm_unlink:M4,contact_support:q4,contact_us:F4,continue:H4,continue_social_login:V4,continue_with:K4,continue_with_sso_provider_headline:G4,copyright:W4,copyright_sesamy:J4,create_account_description:Z4,create_account_email_invalid:X4,create_account_passwords_didnt_match:Y4,create_account_title:Q4,create_account_weak_password:e6,create_new_account_link:t6,create_password_account_title:n6,current_email:i6,currently_logged_in_as:o6,dont_have_account:r6,edit:s6,email:a6,email_already_taken:c6,email_changed_to_template:u6,email_or_phone_placeholder:l6,email_placeholder:d6,email_validated:p6,email_validated_cta:f6,email_verification_for_signup_sent_description:h6,email_verification_for_signup_sent_title:_6,embedded_browser_detected:m6,embedded_browser_warning:g6,enter_a_code_btn:y6,enter_email_for_verification_description:b6,enter_new_email:v6,enter_new_password_placeholder:w6,enter_password:k6,enter_password_description:$6,enter_your_password_btn:S6,error_page_title:x6,expired_code:z6,fokus_info_message:A6,forgot_password_cta:E6,forgot_password_description:C6,forgot_password_email_sent:I6,forgot_password_link:j6,forgot_password_title:N6,go_back:T6,hide_password:P6,incognito_mode_detected:O6,incognito_mode_warning:R6,invalid_email:L6,invalid_identifier:D6,invalid_password:U6,invalid_session_body:B6,invalid_session_title:M6,link_email_click_to_login:F6,link_email_login:H6,link_email_or_enter_code:V6,link_page_body:K6,link_page_headline:G6,linked_accounts:q6,log_in:W6,logged_in_as:J6,login:Z6,login_description:X6,login_description_code:Y6,login_description_combined:Q6,login_description_link:e8,login_description_phone:t8,login_description_template:n8,login_id_button_text:r8,login_id_description:i8,login_id_federated_connection_button_text:o8,login_id_terms_and_conditions_text:s8,login_id_title:a8,logout:c8,new_email:u8,new_email_code_info:l8,no_email_address:d8,no_use_another:p8,or:f8,password:h8,password_contains_forbidden_word:_8,password_contains_personal_info:m8,password_has_been_reset:g8,password_has_been_reset_title:y8,password_missing_lowercase:b8,password_missing_number:v8,password_missing_special:w8,password_missing_uppercase:k8,password_reset_code_expired:$8,password_reset_failed:S8,password_reset_subject:A8,password_reset_title:E8,password_reused:x8,password_too_short:z8,phone_placeholder:C8,privacy_policy:I8,redirecting:j8,reenter_new_password_placeholder:N8,register_password_account:T8,resend_code:P8,reset_password_cta:O8,reset_password_description:R8,reset_password_email_click_to_reset:L8,reset_password_email_cta:D8,reset_password_email_reset:U8,reset_password_subject:B8,reset_password_title:M8,send:q8,send_me_a_new_magic_link:F8,sent_code_spam:H8,session_expired:K8,set_password:G8,show_password:W8,sign_in:J8,signup:Z8,signup_success:X8,sms_code_text:Y8,spotify_already_linked_body:Q8,spotify_already_linked_cta:e$,spotify_already_linked_step1_body:t$,spotify_already_linked_step1_title:n$,spotify_already_linked_step2_body:r$,spotify_already_linked_step2_title:i$,spotify_already_linked_title:o$,success:s$,support_info:a$,terms:c$,too_many_failed_logins:u$,unexpected_error_try_again:l$,unlink:d$,unverified_email:p$,update_email:f$,user_account_does_not_exist:h$,user_not_found:_$,user_not_found_body:m$,user_not_found_cta:g$,validate_code:y$,validate_email_body:b$,validate_email_title:v$,verify_email_click_to_verify:w$,verify_email_subject:k$,verify_email_title:$$,verify_email_verify:S$,verify_your_email:x$,we_sent_a_code_to:E$,welcome:z$,welcome_to_your_account:A$,yes_continue:C$,yes_continue_with:I$,yes_continue_with_existing_account:j$},Symbol.toStringTag,{value:"Module"})),yue=Object.freeze(Object.defineProperty({__proto__:null,"Server error: Invalid code":V8,account_detected:l4,account_page_description:d4,account_title:p4,account_with_sso_provider:f4,agree_to:h4,already_have_account:_4,and:m4,auth_method_email:g4,auth_method_email_or_phone:y4,auth_method_phone:b4,callback_url_mismatch:v4,callback_url_not_allowed:w4,change_email:k4,check_account_continue_question:$4,check_account_description:S4,check_account_description_fallback:x4,check_account_error:z4,check_account_logged_in_as:A4,check_account_title:E4,check_email_title:C4,click_to_sign_up_description:I4,code_email_enter_code:j4,code_email_subject:N4,code_email_title:T4,code_expired:P4,code_invalid:O4,code_sent_template:R4,code_used:L4,code_valid_30_minutes:D4,configuration_error_message:U4,confirm_password:B4,confirm_unlink:M4,contact_support:q4,contact_us:F4,continue:H4,continue_social_login:V4,continue_with:K4,continue_with_sso_provider_headline:G4,copyright:W4,copyright_sesamy:J4,create_account_description:Z4,create_account_email_invalid:X4,create_account_passwords_didnt_match:Y4,create_account_title:Q4,create_account_weak_password:e6,create_new_account_link:t6,create_password_account_title:n6,current_email:i6,currently_logged_in_as:o6,dont_have_account:r6,edit:s6,email:a6,email_already_taken:c6,email_changed_to_template:u6,email_or_phone_placeholder:l6,email_placeholder:d6,email_validated:p6,email_validated_cta:f6,email_verification_for_signup_sent_description:h6,email_verification_for_signup_sent_title:_6,embedded_browser_detected:m6,embedded_browser_warning:g6,enter_a_code_btn:y6,enter_email_for_verification_description:b6,enter_new_email:v6,enter_new_password_placeholder:w6,enter_password:k6,enter_password_description:$6,enter_your_password_btn:S6,error_page_title:x6,expired_code:z6,fokus_info_message:A6,forgot_password_cta:E6,forgot_password_description:C6,forgot_password_email_sent:I6,forgot_password_link:j6,forgot_password_title:N6,go_back:T6,hide_password:P6,incognito_mode_detected:O6,incognito_mode_warning:R6,invalid_email:L6,invalid_identifier:D6,invalid_password:U6,invalid_session_body:B6,invalid_session_title:M6,link_email_click_to_login:F6,link_email_login:H6,link_email_or_enter_code:V6,link_page_body:K6,link_page_headline:G6,linked_accounts:q6,log_in:W6,logged_in_as:J6,login:Z6,login_description:X6,login_description_code:Y6,login_description_combined:Q6,login_description_link:e8,login_description_phone:t8,login_description_template:n8,login_id_button_text:r8,login_id_description:i8,login_id_federated_connection_button_text:o8,login_id_terms_and_conditions_text:s8,login_id_title:a8,logout:c8,m:gue,new_email:u8,new_email_code_info:l8,no_email_address:d8,no_use_another:p8,or:f8,password:h8,password_contains_forbidden_word:_8,password_contains_personal_info:m8,password_has_been_reset:g8,password_has_been_reset_title:y8,password_missing_lowercase:b8,password_missing_number:v8,password_missing_special:w8,password_missing_uppercase:k8,password_reset_code_expired:$8,password_reset_failed:S8,password_reset_subject:A8,password_reset_title:E8,password_reused:x8,password_too_short:z8,phone_placeholder:C8,privacy_policy:I8,redirecting:j8,reenter_new_password_placeholder:N8,register_password_account:T8,resend_code:P8,reset_password_cta:O8,reset_password_description:R8,reset_password_email_click_to_reset:L8,reset_password_email_cta:D8,reset_password_email_reset:U8,reset_password_subject:B8,reset_password_title:M8,send:q8,send_me_a_new_magic_link:F8,sent_code_spam:H8,session_expired:K8,set_password:G8,show_password:W8,sign_in:J8,signup:Z8,signup_success:X8,sms_code_text:Y8,spotify_already_linked_body:Q8,spotify_already_linked_cta:e$,spotify_already_linked_step1_body:t$,spotify_already_linked_step1_title:n$,spotify_already_linked_step2_body:r$,spotify_already_linked_step2_title:i$,spotify_already_linked_title:o$,success:s$,support_info:a$,terms:c$,too_many_failed_logins:u$,unexpected_error_try_again:l$,unlink:d$,unverified_email:p$,update_email:f$,user_account_does_not_exist:h$,user_not_found:_$,user_not_found_body:m$,user_not_found_cta:g$,validate_code:y$,validate_email_body:b$,validate_email_title:v$,verify_email_click_to_verify:w$,verify_email_subject:k$,verify_email_title:$$,verify_email_verify:S$,verify_your_email:x$,we_sent_a_code_to:E$,welcome:z$,welcome_to_your_account:A$,yes_continue:C$,yes_continue_with:I$,yes_continue_with_existing_account:j$},Symbol.toStringTag,{value:"Module"}));function bue(e,t){if(!t)return e;let n=e;for(const[r,i]of Object.entries(t))if(i!==void 0){const s=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n=n.replace(new RegExp(`\\$\\{${s}\\}`,"g"),String(i)).replace(new RegExp(`#\\{${s}\\}`,"g"),String(i)).replace(new RegExp(`\\{${s}\\}`,"g"),String(i))}return n}function vue(e){const t=e.split("-")[0]?.toLowerCase()||j0;return Mu.includes(t)?t:j0}function wue(e,t){const n={};if(!e)return n;const r=t?t.replace(/-/g,"_").toLowerCase()+"_":"";for(const[i,s]of Object.entries(e))if(typeof s=="string"){const a=i.replace(/([A-Z])/g,"_$1").replace(/-/g,"_").toLowerCase().replace(/^_/,""),c=r+a;n[c]=s,n[a]=s}return n}function kue(e,t){XO(()=>e);const n={};for(const[r,i]of Object.entries(yue))typeof i=="function"?n[r]=s=>{const a=t[r];return a!==void 0?bue(a,s):i(s)}:n[r]=i;return n}function jn(e,t,n){const r=vue(e),i=wue(t,n),s=kue(r,i);return{locale:r,m:s}}async function gs(e){const{branding:t,state:n,errors:r,data:i,customText:s,routePrefix:a}=e,c=e.language||"en",{m:u}=jn(c,s),l=i?.email,d=r?.password,f=[...l?[{id:"email-display",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`Signing in as <strong>${zn(l)}</strong>`},order:0}]:[],{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.password(),config:{placeholder:u.enter_password()},required:!0,sensitive:!0,order:1,hint:d},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:u.continue()},order:2}];return{screen:{name:"enter-password",action:`${a}/enter-password?state=${encodeURIComponent(n)}`,method:"POST",title:u.enter_password(),components:f,links:[{id:"forgot-password",text:u.forgot_password_link(),linkText:u.reset_password_cta(),href:`${a}/forgot-password?state=${encodeURIComponent(n)}`},{id:"back",text:"",linkText:u.go_back(),href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const $ue={id:"enter-password",name:"Enter Password",description:"Password authentication screen",handler:{get:gs,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.password?.trim();if(!s)return{error:"Password is required",screen:await gs({...e,errors:{password:"Password is required"}})};const a=await n.env.data.loginSessions.get(r.tenant.id,i);if(!a||!a.authParams?.username)return{error:"Session expired",screen:await gs({...e,errors:{password:"Session expired. Please start over."}})};try{const c=await Oa(n,r,{...a.authParams,password:s},a),u=c.headers.get("location"),l=c.headers.getSetCookie?.()||[];return u?{redirect:u,cookies:l}:{response:c}}catch(c){const u=c,l=e.language||"en",{m:d}=jn(l,e.customText);let f=u.message||d.invalid_password();return u.code==="INVALID_PASSWORD"||u.code==="USER_NOT_FOUND"?f=d.invalid_password():u.code==="EMAIL_NOT_VERIFIED"?f=d.unverified_email():u.code==="TOO_MANY_FAILED_LOGINS"&&(f=d.too_many_failed_logins()),{error:f,screen:await gs({...e,errors:{password:f}})}}}}};function Sue(e,t){const{connections:n}=e,r=n.filter(u=>u.strategy!=="email"&&u.strategy!=="sms"&&u.strategy!=="Username-Password-Authentication");if(r.length===0)return[];const i=r.map(u=>{const l=u.display_name||u.name;return{name:u.name,strategy:u.strategy,display_name:t.login_id_federated_connection_button_text({connectionName:l}),icon_url:u2(u)}}),a={id:"social-buttons",type:"SOCIAL",category:"FIELD",visible:!0,config:{providers:r.map(u=>u.name),provider_details:i},order:0};if(n.some(u=>u.strategy==="email"||u.strategy==="sms"||u.strategy==="Username-Password-Authentication")){const u={id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:1,config:{text:t.or()}};return[a,u]}return[a]}async function Ti(e){const{client:t,branding:n,state:r,prefill:i,errors:s,messages:a,customText:c,promptScreen:u,routePrefix:l}=e,d=e.language||"en",{m:f}=jn(d,c,u||"login-id"),p=Sue(e,f),h=p.length,_=e.connections.some(b=>b.strategy==="email"||b.strategy==="sms"||b.strategy==="Username-Password-Authentication"),g=[...p];if(_){const b=s?.username;g.push({id:"username",type:"EMAIL",category:"FIELD",visible:!0,label:f.email_placeholder(),config:{placeholder:f.email_placeholder()},required:!0,order:h+1,hint:b},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:f.login_id_button_text()},order:h+2})}const y=t.client_metadata?.termsAndConditionsUrl;let m;y&&(m=`<div class="terms-text">${c?.termsAndConditionsTemplate?String(c.termsAndConditionsTemplate).replace(/\$\{termsAndConditionsUrl\}/g,y):f.login_id_terms_and_conditions_text({termsAndConditionsUrl:y})}</div>`);const v=e.connections.some(b=>b.strategy==="Username-Password-Authentication"),w=t.client_metadata?.disable_sign_ups==="true";if(v&&!w){const b=`${l}/signup?state=${encodeURIComponent(r)}`;g.push({id:"signup-link",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="signup-link">${f.dont_have_account()} <a href="${b}">${f.create_new_account_link()}</a></div>`},order:g.length+1})}const S={name:"identifier",action:`${l}/login/identifier?state=${encodeURIComponent(r)}`,method:"POST",title:f.login_id_title(),description:f.login_id_description({companyName:t.tenant.friendly_name||t.tenant.id||"AuthHero",clientName:t.name||"the application"}),components:g,messages:a,footer:m};if(i?.username){const b=S.components.find(x=>x.id==="username");b&&"config"in b&&(b.config.value=i.username)}return{screen:S,branding:n}}const xue={id:"identifier",name:"Identifier",description:"First screen of the login flow - collects email/username",handler:{get:Ti,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.username?.toLowerCase()?.trim();if(!s)return{error:"Email is required",screen:await Ti({...e,errors:{username:"Email is required"}})};const a=n.get("countryCode"),{normalized:c,connectionType:u,provider:l}=Fo(s,a);if(!c)return{error:"Invalid identifier",screen:await Ti({...e,prefill:{username:s},errors:{username:"Invalid identifier"}})};const d=u==="email"?await zo({userAdapter:n.env.data.users,tenant_id:r.tenant.id,email:c}):await Wn({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:c,provider:l});if(!(r.connections.find(w=>w.strategy===u)||d))return{error:"Invalid identifier",screen:await Ti({...e,prefill:{username:s},errors:{username:"Invalid identifier"}})};if(!d){const w=await ol(n,r,n.env.data,c,u);if(!w.allowed)return{error:w.reason||"Account does not exist",screen:await Ti({...e,prefill:{username:s},errors:{username:"Account does not exist"}})}}const p=await n.env.data.loginSessions.get(r.tenant.id,i);if(!p)return{error:"Session expired",screen:await Ti({...e,prefill:{username:s},errors:{username:"Session expired. Please try again."}})};p.authParams.username=c,await n.env.data.loginSessions.update(r.tenant.id,p.id,p);const h=await Ek(n,r,s,u,t.login_selection),_={...e,data:{email:c},errors:void 0};if(h==="password")return{screen:await gs(_)};let g=xn(),y=await n.env.data.codes.get(r.tenant.id,g,"otp");for(;y;)g=xn(),y=await n.env.data.codes.get(r.tenant.id,g,"otp");await n.env.data.codes.create(r.tenant.id,{code_id:g,code_type:"otp",login_id:p.id,expires_at:new Date(Date.now()+Ss).toISOString(),redirect_uri:p.authParams.redirect_uri});const m=r.connections.find(w=>w.strategy===u),v=p.authParams?.ui_locales?.split(" ")?.map(w=>w.split("-")[0])[0];return u==="email"&&m?.options?.authentication_method==="magic_link"?await od(n,{to:c,code:g,authParams:p.authParams,language:v}):await id(n,{to:c,code:g,language:v}),{screen:await Mi(_)}}}};function zue(e,t){const{connections:n}=e,r=n.filter(u=>u.strategy!=="email"&&u.strategy!=="sms"&&u.strategy!=="Username-Password-Authentication");if(r.length===0)return[];const i=r.map(u=>{const l=u.display_name||u.name;return{name:u.name,strategy:u.strategy,display_name:t.login_id_federated_connection_button_text({connectionName:l}),icon_url:u2(u)}}),a={id:"social-buttons",type:"SOCIAL",category:"FIELD",visible:!0,config:{providers:r.map(u=>u.name),provider_details:i},order:0};if(n.some(u=>u.strategy==="email"||u.strategy==="sms"||u.strategy==="Username-Password-Authentication")){const u={id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:1,config:{text:t.or()}};return[a,u]}return[a]}async function ur(e){const{client:t,branding:n,state:r,prefill:i,errors:s,messages:a,customText:c,promptScreen:u,routePrefix:l}=e,d=e.language||"en",{m:f}=jn(d,c,u||"login"),p=zue(e,f),h=p.length,_=e.connections.some(S=>S.strategy==="Username-Password-Authentication"),g=[...p];if(_){const S=s?.username,b=s?.password;g.push({id:"username",type:"EMAIL",category:"FIELD",visible:!0,label:f.email_placeholder(),config:{placeholder:f.email_placeholder()},required:!0,order:h+1,hint:S},{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:f.password(),config:{placeholder:f.enter_password()},required:!0,sensitive:!0,order:h+2,hint:b},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:f.continue()},order:h+3})}const y=t.client_metadata?.termsAndConditionsUrl;let m;y&&(m=`<div class="terms-text">${c?.termsAndConditionsTemplate?String(c.termsAndConditionsTemplate).replace(/\$\{termsAndConditionsUrl\}/g,y):f.login_id_terms_and_conditions_text({termsAndConditionsUrl:y})}</div>`);const v=t.client_metadata?.disable_sign_ups==="true";if(_&&!v){const S=`${l}/signup?state=${encodeURIComponent(r)}`;g.push({id:"signup-link",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="signup-link">${f.dont_have_account()} <a href="${S}">${f.create_new_account_link()}</a></div>`},order:g.length+1})}const w={name:"login",action:`${l}/login?state=${encodeURIComponent(r)}`,method:"POST",title:f.login_id_title(),description:f.login_id_description({companyName:t.tenant.friendly_name||t.tenant.id||"AuthHero",clientName:t.name||"the application"}),components:g,messages:a,footer:m,links:_?[{id:"forgot-password",text:f.forgot_password_link(),linkText:f.reset_password_cta(),href:`${l}/forgot-password?state=${encodeURIComponent(r)}`}]:[]};if(i?.username){const S=w.components.find(b=>b.id==="username");S&&"config"in S&&(S.config.value=i.username)}return{screen:w,branding:n}}const Aue={id:"login",name:"Login",description:"Combined login screen with email, password, and social login",handler:{get:ur,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.username?.toLowerCase()?.trim(),a=t.password?.trim();if(!s)return{error:"Email is required",screen:await ur({...e,errors:{username:"Email is required"}})};if(!a)return{error:"Password is required",screen:await ur({...e,prefill:{username:s},errors:{password:"Password is required"}})};const c=n.get("countryCode"),{normalized:u,connectionType:l,provider:d}=Fo(s,c);if(!u)return{error:"Invalid email",screen:await ur({...e,prefill:{username:s},errors:{username:"Invalid email"}})};const f=l==="email"?await zo({userAdapter:n.env.data.users,tenant_id:r.tenant.id,email:u}):await Wn({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:u,provider:d});if(!r.connections.find(_=>_.strategy==="Username-Password-Authentication"))return{error:"Password login not available",screen:await ur({...e,prefill:{username:s},errors:{username:"Password login not available for this application"}})};if(!f){const _=await ol(n,r,n.env.data,u,l);if(!_.allowed)return{error:_.reason||"Account does not exist",screen:await ur({...e,prefill:{username:s},errors:{username:"Account does not exist"}})}}const h=await n.env.data.loginSessions.get(r.tenant.id,i);if(!h)return{error:"Session expired",screen:await ur({...e,prefill:{username:s},errors:{username:"Session expired. Please try again."}})};h.authParams.username=u,await n.env.data.loginSessions.update(r.tenant.id,h.id,h);try{const _=await Oa(n,r,{...h.authParams,password:a},h),g=_.headers.get("location"),y=_.headers.getSetCookie?.()||[];return g?{redirect:g,cookies:y}:{response:_}}catch(_){const g=_,y=e.language||"en",{m}=jn(y,e.customText);let v=g.message||m.invalid_password();return g.code==="INVALID_PASSWORD"||g.code==="USER_NOT_FOUND"?v=m.invalid_password():g.code==="EMAIL_NOT_VERIFIED"?v=m.unverified_email():g.code==="TOO_MANY_FAILED_LOGINS"&&(v=m.too_many_failed_logins()),{error:v,screen:await ur({...e,prefill:{username:s},errors:{password:v}})}}}}};async function yn(e){const{branding:t,state:n,prefill:r,errors:i,customText:s,routePrefix:a}=e,c=e.language||"en",{m:u}=jn(c,s),l=e.connections.some(p=>p.strategy==="Username-Password-Authentication"),d=[];if(l){let p=1;d.push({id:"email",type:"EMAIL",category:"FIELD",visible:!0,label:u.email_placeholder(),config:{placeholder:u.email_placeholder()},required:!0,order:p++,hint:i?.email},{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.password(),config:{placeholder:u.password(),show_toggle:!0},required:!0,sensitive:!0,order:p++,hint:i?.password},{id:"re_password",type:"PASSWORD",category:"FIELD",visible:!0,label:u.confirm_password(),config:{placeholder:u.confirm_password(),show_toggle:!0},required:!0,sensitive:!0,order:p++,hint:i?.re_password},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:u.signup()},order:p++})}if(r?.email){const p=d.find(h=>h.id==="email");p&&"config"in p&&(p.config.value=r.email)}return{screen:{name:"signup",action:`${a}/signup?state=${encodeURIComponent(n)}`,method:"POST",title:u.create_account_title(),description:u.create_account_description(),components:d,links:[{id:"login",text:u.already_have_account(),linkText:u.log_in(),href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const Eue={id:"signup",name:"Sign Up",description:"New user registration screen",handler:{get:yn,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,s=t.email?.toLowerCase()?.trim(),a=t.password?.trim(),c=t.re_password?.trim(),u=e.language||"en",{m:l}=jn(u,e.customText);if(!s)return{error:"Email is required",screen:await yn({...e,errors:{email:l.invalid_email()}})};if(!a)return{error:"Password is required",screen:await yn({...e,prefill:{email:s},errors:{password:l.invalid_password()}})};if(!c)return{error:"Please confirm your password",screen:await yn({...e,prefill:{email:s},errors:{re_password:l.confirm_password()}})};if(a!==c)return{error:"Passwords don't match",screen:await yn({...e,prefill:{email:s},errors:{re_password:l.create_account_passwords_didnt_match()}})};const f=r.connections.find(S=>S.strategy==="Username-Password-Authentication")?.name||"Username-Password-Authentication",p=await fa(n.env.data,r.tenant.id,f);try{await pa(p,{tenantId:r.tenant.id,userId:"",newPassword:a,data:n.env.data})}catch(S){const b=S instanceof Error?S.message:l.create_account_weak_password();return{error:b,screen:await yn({...e,prefill:{email:s},errors:{password:b}})}}if(await jr({userAdapter:n.env.data.users,tenant_id:r.tenant.id,username:s,provider:"auth2"}))return{error:"User already exists",screen:await yn({...e,prefill:{email:s},errors:{email:l.email_already_taken()}})};const _=await n.env.data.loginSessions.get(r.tenant.id,i);if(!_)return{error:"Session expired",screen:await yn({...e,prefill:{email:s},errors:{email:l.session_expired()}})};_.authParams.username=s,await n.env.data.loginSessions.update(r.tenant.id,_.id,_);const g=`auth2|${So()}`,{hash:y,algorithm:m}=await qs(a);let v;try{v=await n.env.data.users.create(r.tenant.id,{user_id:g,email:s,email_verified:!1,provider:"auth2",connection:f,is_social:!1,password:{hash:y,algorithm:m}})}catch(S){return console.log("Err: "+S.message),{error:"Failed to create user",screen:await yn({...e,prefill:{email:s},errors:{email:"Failed to create user"}})}}const w=_.authParams?.ui_locales?.split(" ")?.map(S=>S.split("-")[0])[0];try{await sd(n,v,w)}catch(S){console.error("Failed to send verification email:",S)}try{const S=await Oa(n,r,{..._.authParams,password:a},_),b=S.headers.get("location"),x=S.headers.getSetCookie?.()||[];return b?{redirect:b,cookies:x}:{response:S}}catch{return{screen:await yn({...e,messages:[{text:l.validate_email_body(),type:"success"}]})}}}}};async function Cue(e){const{branding:t,state:n,prefill:r,errors:i,messages:s,routePrefix:a="/u2"}=e,c=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:"Enter your email address and we'll send you a link to reset your password."},order:0},{id:"email",type:"EMAIL",category:"FIELD",visible:!0,label:"Email address",config:{placeholder:"name@example.com"},required:!0,order:1,hint:i?.email},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Send reset link"},order:2}];if(r?.email){const l=c.find(d=>d.id==="email");l&&"config"in l&&(l.config.value=r.email)}return{screen:{name:"forgot-password",action:`${a}/forgot-password?state=${encodeURIComponent(n)}`,method:"POST",title:"Reset your password",components:c,messages:s?.map(l=>({text:l.text,type:l.type})),links:[{id:"back",text:"Remember your password?",linkText:"Log in",href:`${a}/login/identifier?state=${encodeURIComponent(n)}`}]},branding:t}}const Iue={id:"forgot-password",name:"Forgot Password",description:"Password reset request screen",handler:{get:Cue}};async function Ln(e){const{branding:t,state:n,errors:r,messages:i,routePrefix:s}=e,a=[{id:"password",type:"PASSWORD",category:"FIELD",visible:!0,label:"New password",config:{placeholder:"Enter new password",show_toggle:!0},required:!0,sensitive:!0,order:0,hint:r?.password},{id:"confirm_password",type:"PASSWORD",category:"FIELD",visible:!0,label:"Confirm new password",config:{placeholder:"Confirm new password"},required:!0,sensitive:!0,order:1,hint:r?.confirm_password},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Reset password"},order:2}];return{screen:{name:"reset-password",action:`${s}/reset-password?state=${encodeURIComponent(n)}`,method:"POST",title:"Set your new password",description:"Choose a strong password for your account",components:a,messages:i?.map(u=>({text:u.text,type:u.type}))},branding:t}}const jue={id:"reset-password",name:"Reset Password",description:"Set new password screen",handler:{get:Ln,post:async(e,t)=>{const{ctx:n,client:r,state:i}=e,{env:s}=n,a=t.password?.trim(),c=t.confirm_password?.trim(),u=e.language||"en",{m:l}=jn(u,e.customText);if(!a)return{error:"Password is required",screen:await Ln({...e,errors:{password:"Password is required"}})};if(a!==c){const m=l.create_account_passwords_didnt_match();return{error:m,screen:await Ln({...e,errors:{confirm_password:m}})}}const d=await s.data.loginSessions.get(r.tenant.id,i);if(!d||!d.authParams?.username)return{error:"Session expired",screen:await Ln({...e,errors:{password:"Session expired. Please start over."}})};const f=await jr({userAdapter:s.data.users,tenant_id:r.tenant.id,username:d.authParams.username,provider:"auth2"});if(!f)return{error:"User not found",screen:await Ln({...e,errors:{password:"User not found"}})};const h=r.connections.find(m=>m.strategy==="Username-Password-Authentication")?.name||f.connection,_=await fa(s.data,r.tenant.id,h);try{await pa(_,{tenantId:r.tenant.id,userId:f.user_id,newPassword:a,userData:f,data:s.data})}catch(m){const v=m instanceof Error?m.message:l.create_account_weak_password();return{error:v,screen:await Ln({...e,errors:{password:v}})}}const g=e.data?.code;if(!g)return{error:"Reset code not found",screen:await Ln({...e,errors:{password:"Reset code not found"}})};const y=await s.data.codes.get(r.tenant.id,g,"password_reset");if(!y){const m=l.code_expired();return{error:m,screen:await Ln({...e,errors:{password:m}})}}try{const m=await s.data.passwords.get(r.tenant.id,f.user_id);return m&&await s.data.passwords.update(r.tenant.id,{id:m.id,user_id:f.user_id,password:m.password,algorithm:m.algorithm,is_current:!1}),await s.data.passwords.create(r.tenant.id,{user_id:f.user_id,password:await Ao.hash(a,10),algorithm:"bcrypt",is_current:!0}),f.email_verified||await s.data.users.update(r.tenant.id,f.user_id,{email_verified:!0}),await fe(n,r.tenant.id,{type:pe.SUCCESS_CHANGE_PASSWORD,description:`Password changed for ${f.email}`,userId:f.user_id}),await s.data.codes.remove(r.tenant.id,y.code_id),{redirect:`/u2/identifier?state=${encodeURIComponent(i)}&message=password_reset_success`}}catch(m){const v=m instanceof Error?m.message:JSON.stringify(m);await fe(n,r.tenant.id,{type:pe.FAILED_CHANGE_PASSWORD,description:`Password reset failed for ${f.email}: ${v}`,userId:f.user_id});const w=m instanceof Error?m.message:l.password_reset_failed();return{error:w,screen:await Ln({...e,errors:{password:w}})}}}}};async function N$(e){const{ctx:t,tenant:n,client:r,branding:i,state:s,errors:a,routePrefix:c="/u2"}=e,u=await t.env.data.loginSessions.get(n.id,s);if(!u)throw new C(400,{message:"Login session not found"});if(!u.session_id)throw new C(400,{message:"No session linked to login session"});const l=await t.env.data.sessions.get(n.id,u.session_id);if(!l)throw new C(400,{message:"Session not found"});const d=await t.env.data.users.get(n.id,l.user_id);if(!d)throw new C(400,{message:"User not found"});if(!(await t.env.data.userPermissions.list(n.id,d.user_id)).some(g=>g.permission_name==="users:impersonate"))return{screen:{name:"impersonate",action:`${c}/impersonate?state=${encodeURIComponent(s)}`,method:"POST",title:"Access Denied",description:"You do not have permission to impersonate other users.",components:[],messages:[{id:1,text:"You do not have permission to impersonate other users.",type:"error"}]},branding:i};const h=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:"<p>You have permission to impersonate other users.</p><p>Leave the field empty and click Continue to proceed as yourself, or enter a user ID to impersonate.</p>"},order:0},{id:"current-user",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<div class="current-user-info"><strong>Current user:</strong> ${zn(d.email||d.user_id)}</div>`},order:1},{id:"divider",type:"DIVIDER",category:"BLOCK",visible:!0,order:2},{id:"user_id",type:"TEXT",category:"FIELD",visible:!0,label:"User ID to impersonate (optional)",config:{placeholder:"Enter user ID or leave empty to continue as yourself"},required:!1,order:3,hint:a?.user_id},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:"Continue"},order:4}];return{screen:{name:"impersonate",action:`${c}/impersonate?state=${encodeURIComponent(s)}`,method:"POST",title:"Impersonation",description:r.name?`Impersonation for ${zn(r.name)}`:"User impersonation",components:h},branding:i}}async function Nue(e,t){const{ctx:n,tenant:r,client:i,state:s}=e,a=await n.env.data.loginSessions.get(r.id,s);if(!a)throw new C(400,{message:"Login session not found"});if(!a.session_id)throw new C(400,{message:"No session linked to login session"});const c=await n.env.data.sessions.get(r.id,a.session_id);if(!c)throw new C(400,{message:"Current session not found"});const u=await n.env.data.users.get(r.id,c.user_id);if(!u)throw new C(400,{message:"Current user not found"});if(!(await n.env.data.userPermissions.list(r.id,u.user_id)).some(y=>y.permission_name==="users:impersonate"))throw new C(403,{message:"Access denied: insufficient permissions"});const f=t.user_id?.trim();if(!f){const y=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:u,existingSessionIdToLink:c.id,skipHooks:!0}),m=y.headers.get("Location"),v=y.headers.getSetCookie?.()||[];if(m)return{redirect:m,cookies:v};throw new C(500,{message:"Failed to generate redirect"})}const p=await n.env.data.users.get(r.id,f);if(!p)return fe(n,r.id,{type:pe.FAILED_IMPERSONATION,description:`User ${u.email} failed to impersonate non-existent user: ${f}`,userId:u.user_id}),{error:"User not found",screen:await N$({...e,errors:{user_id:"User not found"}})};const h=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:p,existingSessionIdToLink:c.id,impersonatingUser:u,skipHooks:!0}),_=h.headers.get("Location"),g=h.headers.getSetCookie?.()||[];if(!_)throw new C(500,{message:"Failed to generate redirect"});return fe(n,r.id,{type:pe.SUCCESS_IMPERSONATION,description:`User ${u.email} impersonating ${p.email||p.user_id}`,userId:p.user_id}),{redirect:_,cookies:g}}const Tue={id:"impersonate",name:"Impersonate",description:"Allows users with permission to impersonate other users",handler:{get:N$,post:Nue}};async function T$(e){const{ctx:t,tenant:n,client:r,branding:i,state:s,routePrefix:a="/u2",customText:c}=e,u=e.language||"en",{m:l}=jn(u,c,"check-account");if(!await t.env.data.loginSessions.get(n.id,s))throw new C(400,{message:"Login session not found"});const f=ei(n.id,t.req.header("cookie")),p=f?await t.env.data.sessions.get(n.id,f):null;if(!p||p.revoked_at)throw new Ut(`${a}/login/identifier?state=${encodeURIComponent(s)}`);const h=await t.env.data.users.get(n.id,p.user_id);if(!h)throw new Ut(`${a}/login/identifier?state=${encodeURIComponent(s)}`);const _=[{id:"info",type:"RICH_TEXT",category:"BLOCK",visible:!0,config:{content:`<p>${l.check_account_logged_in_as({email:zn(h.email||h.user_id)})}</p><p>${l.check_account_continue_question()}</p>`},order:0},{id:"submit",type:"NEXT_BUTTON",category:"BLOCK",visible:!0,config:{text:l.yes_continue_with_existing_account()},order:1}];return{screen:{name:"check-account",action:`${a}/check-account?state=${encodeURIComponent(s)}`,method:"POST",title:l.check_account_title(),description:r.name?l.check_account_description({clientName:zn(r.name)}):l.check_account_description_fallback(),components:_,links:[{id:"use-another-account",text:l.no_use_another(),href:`${a}/login/identifier?state=${encodeURIComponent(s)}`}]},branding:i}}async function Pue(e,t){const{ctx:n,tenant:r,client:i,state:s}=e,a=await n.env.data.loginSessions.get(r.id,s);if(!a)throw new C(400,{message:"Login session not found"});const c=ei(r.id,n.req.header("cookie")),u=c?await n.env.data.sessions.get(r.id,c):null,l=e.routePrefix||"/u2";if(!u||u.revoked_at)return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};const d=await n.env.data.users.get(r.id,u.user_id);if(!d)return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};try{const f=await vt(n,{client:i,authParams:a.authParams,loginSession:a,user:d,existingSessionIdToLink:u.id}),p=f.headers.get("Location"),h=f.headers.getSetCookie?.()||[];return p?{redirect:p,cookies:h}:{response:f}}catch(f){const p=f instanceof Error?f.message:"An unexpected error occurred";if(p.includes("session")||p.includes("expired")||p.includes("completed")||p.includes("failed"))return{redirect:`${l}/login/identifier?state=${encodeURIComponent(s)}`};const h=e.language||"en",{m:_}=jn(h,e.customText,"check-account");return{error:_.check_account_error(),screen:await T$(e)}}}const Oue={id:"check-account",name:"Check Account",description:"Allows users to continue with an existing session",handler:{get:T$,post:Pue}},pd=new Map([["identifier",xue],["login",Aue],["enter-code",KO],["enter-password",$ue],["signup",Eue],["forgot-password",Iue],["reset-password",jue],["impersonate",Tue],["check-account",Oue]]);function P$(e){return pd.get(e)}function O$(e,t){const n=pd.get(e);if(n)return n.handler.get(t)}function N0(){return Array.from(pd.keys())}function R$(e){return pd.has(e)}const L$={identifier:"login-id","enter-password":"login-password","enter-code":"login",signup:"signup","forgot-password":"reset-password","reset-password":"reset-password",impersonate:"login","pre-signup":"signup-id","pre-signup-sent":"signup",consent:"consent"};function Rue(e,t){if(e){const r=e.split(" ")[0];if(r){const i=r.split("-")[0]?.toLowerCase();if(i)return i}}if(!t)return"en";const n=t.split(",").map(r=>{const[i,s]=r.trim().split(";"),a=s?parseFloat(s.split("=")[1]||"1"):1;return{code:i?.split("-")[0]?.toLowerCase()||"en",q:a}});return n.sort((r,i)=>i.q-r.q),n[0]?.code||"en"}async function Lue(e,t,n,r){const i=L$[n];if(i)try{let s=await e.env.data.customText.get(t,i,r);if(!s&&r.includes("-")){const a=r.split("-")[0];s=await e.env.data.customText.get(t,i,a)}if(!s){const a=await e.env.data.customText.get(t,"common",r);a&&(s=a)}return s||void 0}catch{return}}const Due=o.z.object({logo_url:o.z.string().optional(),favicon_url:o.z.string().optional(),powered_by_logo_url:o.z.string().optional(),colors:o.z.object({primary:o.z.string().optional(),page_background:o.z.union([o.z.string(),o.z.object({type:o.z.string().optional(),start:o.z.string().optional(),end:o.z.string().optional(),angle_deg:o.z.number().optional()})]).optional()}).optional(),font:o.z.object({url:o.z.string().optional()}).optional()}),D$=o.z.object({id:o.z.number().optional(),text:o.z.string(),type:o.z.enum(["info","error","success","warning"])}),Uue=o.z.object({id:o.z.string(),type:o.z.string(),category:o.z.string().optional(),config:o.z.record(o.z.any()).optional(),order:o.z.number().optional(),visible:o.z.boolean().optional(),required:o.z.boolean().optional(),sensitive:o.z.boolean().optional(),label:o.z.string().optional(),hint:o.z.string().optional(),messages:o.z.array(D$).optional()}),Bue=o.z.object({action:o.z.string(),method:o.z.enum(["POST","GET"]),title:o.z.string().optional(),description:o.z.string().optional(),components:o.z.array(Uue),messages:o.z.array(D$).optional(),links:o.z.array(o.z.object({id:o.z.string().optional(),text:o.z.string(),href:o.z.string(),linkText:o.z.string().optional()})).optional()}),Ib=o.z.object({screen:Bue,branding:Due.optional()});function Mue(e){if(e)return{logo_url:e.logo_url,favicon_url:e.favicon_url,powered_by_logo_url:e.powered_by_logo_url,colors:e.colors,font:e.font}}async function Op(e,t,n,r,i){const{client:s,branding:a,theme:c,loginSession:u}=await je(e,t,!0),l=s.connections||[],d=e.req.header("Accept-Language"),f=Rue(u?.authParams?.ui_locales,d),p=L$[n],h=await Lue(e,e.var.tenant_id,n,f),_=s.client_metadata?.universal_login_version==="2"?"/u2":"/u";return{ctx:e,tenant:s.tenant,client:s,theme:c??void 0,branding:Mue(a),connections:l,state:t,prefill:{...r,username:u?.authParams?.username,email:u?.authParams?.username},errors:i,customText:h,language:f,promptScreen:p,routePrefix:_}}async function que(e,t){if(!R$(e))return null;const n=O$(e,t);return n?await n:null}async function sc(e,t,n,r,i,s){const a=await e.env.data.forms.get(t,n);if(!a)return null;const c=i??a.start?.next_node;if(!c)return null;const u=(a.nodes||[]).find(f=>f.id===c&&f.type==="STEP");if(!u)return null;const l=`/u2/screen/${n}?state=${encodeURIComponent(r)}${c?`&nodeId=${encodeURIComponent(c)}`:""}`,d=[...u.config.components].filter(f=>f.visible!==!1).sort((f,p)=>(f.order??0)-(p.order??0)).map(f=>s?.fieldErrors?.[f.id]?{...f,messages:[{text:s.fieldErrors[f.id],type:"error"}]}:f);return{screen:{action:l,method:"POST",title:a.name,components:d,messages:s?.messages},formId:n,nodeId:c,form:a,stepNode:u}}const Fue=new o.OpenAPIHono().openapi(o.createRoute({tags:["screen-api"],method:"get",path:"/:screenId",request:{params:o.z.object({screenId:o.z.string().openapi({description:`Screen ID. Built-in screens: ${N0().join(", ")}. Or a database form ID.`})}),query:o.z.object({state:o.z.string().openapi({description:"The login session state"}),nodeId:o.z.string().optional().openapi({description:"Node ID for database forms (optional)"})})},responses:{200:{description:"Screen configuration",content:{"application/json":{schema:Ib}}},404:{description:"Screen not found"}}}),async e=>{const{screenId:t}=e.req.valid("param"),{state:n,nodeId:r}=e.req.valid("query"),i=await Op(e,n,t),s=await que(t,i);if(s){const c={...s.screen,action:`/u2/screen/${t}?state=${encodeURIComponent(n)}`,links:s.screen.links?.map(u=>({...u,href:u.href.replace("/u/widget/","/u2/").replace("/u/signup","/u2/signup").replace("/u/enter-","/u2/enter-")}))};return e.json({screen:c,branding:s.branding})}const a=await sc(e,i.tenant.id,t,n,r);if(a)return e.json({screen:a.screen,branding:i.branding});throw new C(404,{message:`Screen not found: ${t}. Available built-in screens: ${N0().join(", ")}`})}).openapi(o.createRoute({tags:["screen-api"],method:"post",path:"/:screenId",request:{params:o.z.object({screenId:o.z.string()}),query:o.z.object({state:o.z.string(),nodeId:o.z.string().optional()}),body:{content:{"application/json":{schema:o.z.object({data:o.z.record(o.z.string(),o.z.any())})}}}},responses:{200:{description:"Next screen or redirect",content:{"application/json":{schema:o.z.union([Ib,o.z.object({redirect:o.z.string()}),o.z.object({complete:o.z.boolean()})])}}},400:{description:"Validation error"},404:{description:"Screen not found"}}}),async e=>{const{screenId:t}=e.req.valid("param"),{state:n,nodeId:r}=e.req.valid("query"),{data:i}=e.req.valid("json"),s=P$(t);if(s?.handler.post){const g=await Op(e,n,t),y=await s.handler.post(g,i);if("response"in y)return y.response;if("redirect"in y){const S=new Headers;if(S.set("Content-Type","application/json"),y.cookies&&y.cookies.length>0)for(const b of y.cookies)S.append("Set-Cookie",b);return new Response(JSON.stringify({redirect:y.redirect}),{status:200,headers:S})}const m=y.screen,v=m.screen.action?.match(/\/u2\/(?:screen\/)?([^/?]+)/)?.[1]||t,w=v!==t?`/u2/${v}?state=${encodeURIComponent(n)}`:void 0;return e.json({screen:{...m.screen,action:`/u2/screen/${v}?state=${encodeURIComponent(n)}`,links:m.screen.links?.map(S=>({...S,href:S.href.replace("/u/widget/","/u2/").replace("/u/signup","/u2/signup").replace("/u/enter-","/u2/enter-")}))},branding:m.branding,screenId:v,navigateUrl:w},"error"in y?400:200)}if(R$(t))throw new C(400,{message:`Screen ${t} does not support POST submissions yet`});const a=await Op(e,n,t),c=await sc(e,a.tenant.id,t,n,r);if(!c)throw new C(404,{message:`Screen not found: ${t}`});const{form:u,stepNode:l}=c,d={},f=l.config.components;for(const g of f){if("required"in g&&g.required){const y=i[g.id];(y==null||y==="")&&(d[g.id]="This field is required")}g.type==="EMAIL"&&i[g.id]&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(i[g.id]))||(d[g.id]="Please enter a valid email address"))}if(Object.keys(d).length>0){const g=await sc(e,a.tenant.id,t,n,c.nodeId,{fieldErrors:d,messages:[{text:"Please correct the errors below",type:"error"}]});return e.json({screen:g.screen,branding:a.branding},400)}const{client:p}=await je(e,n,!0),h=await e.env.data.loginSessions.get(p.tenant.id,n);if(!h||!h.authParams)throw new C(400,{message:"Session expired"});const _=l.config?.next_node;if(_&&u.nodes){const g=async v=>{const w=await e.env.data.flows.get(p.tenant.id,v);return w?{actions:w.actions?.map(S=>({type:S.type,action:S.action,params:"params"in S&&S.params&&typeof S.params=="object"&&"target"in S.params?{target:S.params.target,custom_url:"custom_url"in S.params?S.params.custom_url:void 0}:void 0}))}:null};let y=null;if(h.session_id){const v=await e.env.data.sessions.get(p.tenant.id,h.session_id);v?.user_id&&(y=await e.env.data.users.get(e.var.tenant_id,v.user_id))}const m=await ch(u.nodes,_,{user:y},g);if(m){if(m.type==="redirect"){const v=m.target,w=ah(v,m.customUrl,n);if(v==="change-email"||v==="account"){const S=`/u/continue?state=${encodeURIComponent(n)}`;await sh(e,p.tenant.id,h,[v],S)}return e.json({redirect:w})}if(m.type==="step"){const v=await sc(e,a.tenant.id,t,n,m.nodeId);if(v)return e.json({screen:v.screen,branding:a.branding})}}}if(h.session_id){const g=await e.env.data.sessions.get(p.tenant.id,h.session_id);if(g?.user_id){const y=await e.env.data.users.get(e.var.tenant_id,g.user_id);if(y){await qw(e,p.tenant.id,h);const m=await vt(e,{authParams:h.authParams,client:p,user:y,loginSession:h,skipHooks:!0});if(m.status===302){const v=m.headers.get("location");if(v)return e.json({redirect:v})}}}}return e.json({complete:!0})}),Hue={identifier:"login-id",login:"login","enter-password":"login-password","enter-code":"login",signup:"signup","forgot-password":"reset-password","reset-password":"reset-password",impersonate:"login","pre-signup":"signup-id","pre-signup-sent":"signup",consent:"consent",mfa:"mfa","mfa-otp":"mfa-otp","mfa-sms":"mfa-sms","mfa-email":"mfa-email","mfa-push":"mfa-push","mfa-webauthn":"mfa-webauthn","mfa-voice":"mfa-voice","mfa-phone":"mfa-phone","mfa-recovery-code":"mfa-recovery-code",status:"status","device-flow":"device-flow","email-verification":"email-verification","email-otp-challenge":"email-otp-challenge",organizations:"organizations",invitation:"invitation"};function E_(e){return Hue[e]}function U$(e,t){if(e){const r=e.split(" ")[0];if(r){const i=r.split("-")[0]?.toLowerCase();if(i)return i}}if(!t)return"en";const n=t.split(",").map(r=>{const[i,s]=r.trim().split(";"),a=s?parseFloat(s.split("=")[1]||"1"):1;return{code:i?.split("-")[0]?.toLowerCase()||"en",q:a}});return n.sort((r,i)=>i.q-r.q),n[0]?.code||"en"}async function B$(e,t,n,r){const i=E_(n);if(i)try{let s=await e.env.data.customText.get(t,i,r);if(!s&&r.includes("-")){const a=r.split("-")[0];s=await e.env.data.customText.get(t,i,a)}if(!s){const a=await e.env.data.customText.get(t,"common",r);a&&(s=a)}return s||void 0}catch{return}}function M$({widgetHtml:e,screenId:t,branding:n,theme:r,themePageBackground:i,clientName:s,poweredByLogo:a}){const c=[],u=kn(n?.colors?.primary);u&&c.push(`--ah-color-primary: ${u}`);const l=s4(i,n?.colors?.page_background),d=Kn(n?.favicon_url),f=Kn(n?.font?.url),p=kn(r?.colors?.widget_background)||"#ffffff",h=a?.url?Kn(a.url):null,_=a?.href?Kn(a.href):null,g=i?.page_layout||"center",v={minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:g==="left"?"flex-start":g==="right"?"flex-end":"center",background:l,fontFamily:f?"'Inter', system-ui, sans-serif":"system-ui, -apple-system, sans-serif",padding:g==="left"?"20px 20px 20px 80px":g==="right"?"20px 80px 20px 20px":"20px"},w=c.length>0?c.join("; ")+"; max-width: 400px; width: 100%;":"max-width: 400px; width: 100%;";return k("html",{lang:"en",children:[k("head",{children:[k("meta",{charSet:"UTF-8"}),k("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),k("title",{children:["Sign in - ",s]}),d&&k("link",{rel:"icon",href:d}),f&&k("link",{rel:"stylesheet",href:f}),k("style",{dangerouslySetInnerHTML:{__html:`
|
|
189
189
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
190
190
|
.powered-by { position: fixed; bottom: 16px; left: 16px; opacity: 0.7; transition: opacity 0.2s; }
|
|
191
191
|
.powered-by:hover { opacity: 1; }
|