1import{I as yt,d as St,h as ct,B as ht,v as ut,l as Et,m as xt}from"./hooks-iPMPJKRm.js";import{w as Ft,O as Lt}from"./components-BK3u82EK.js";import{M as Tt,L as jt,S as At}from"./errorBoundaries-CyYF7UEl.js";import{k as dt,l as Ot,m as kt,n as Rt,g as Mt,o as It,p as Ht,T as A,q as Dt,L as J,F as Vt,S as Nt,e as Pt,a as ft,i as zt,B as Ut,t as gt,d as Zt,r as Wt,s as $t,v as Gt,P as Bt,w as qt,x as Jt}from"./index-BM3YeuMt.js";import{r as c,j as a}from"./index-lGppnjmY.js";/* empty css */import{t as R,p as Yt,T as Kt,c as Q,a as Xt,e as P,n as tt,q as pt,r as Qt,l as te,f as Ct,d as ee,u as se,b as mt,s as Y,v as ie,w as ne,_ as m,x as oe,y as Z,z as re,A as ae,B as le}from"./i18n-D1-CQUon.js";import{s as ce,a as he,g as ue,t as de,y as fe,f as ge,k as pe,m as Ce,p as me,o as V,_ as _e,n as we,q as y,r as et,u as st}from"./numbers-BWlOhyf_.js";import{u as be,F as ve,T as ye}from"./index.esm-D44eFarn.js";import{S as Se}from"./index-D9KE0gxo.js";import{R as Ee}from"./index-5VITrgZC.js";import{C as xe}from"./client-only-Fw2KSmSM.js";import{aY as Fe,aZ as Le}from"./urls-BUkIa6ks.js";import"./blogs-ssZVuCgn.js";import{b as Te}from"./meta-OsRUPdaO.js";import"./warnings-COd-4g09.js";const z=n=>!!n&&["1","true","y","yes","yep","yeah"].includes(n.toLowerCase());function je(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function Ae(n){return n.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function Oe(n){var t=n.charAt(n.length-1),e=parseInt(n,10),s=new Date;switch(t){case"Y":s.setFullYear(s.getFullYear()+e);break;case"M":s.setMonth(s.getMonth()+e);break;case"D":s.setDate(s.getDate()+e);break;case"h":s.setHours(s.getHours()+e);break;case"m":s.setMinutes(s.getMinutes()+e);break;case"s":s.setSeconds(s.getSeconds()+e);break;default:s=new Date(n)}return s}function ke(n){for(var t="",e=0,s=Object.keys(n);e<s.length;e++){var i=s[e];if(/^expires$/i.test(i)){var o=n[i],r=void 0;typeof o=="object"?r=o:(o+=typeof o=="number"?"D":"",r=Oe(String(o))),t+=";".concat(i,"=").concat(r.toUTCString())}else/^secure|partitioned$/.test(i)?n[i]&&(t+=";".concat(i)):t+=";".concat(i,"=").concat(n[i])}return je(n,"path")||(t+=";path=/"),t}function Re(n,t){if(t===void 0&&(t=decodeURIComponent),typeof n!="string"||!n)return null;var e=new RegExp("(?:^|; )".concat(Ae(n),"(?:=([^;]*))?(?:;|$)")),s=e.exec(document.cookie);return s===null?null:typeof t=="function"?t(s[1]):s[1]}function Me(n,t,e,s){e===void 0&&(e=encodeURIComponent),typeof e=="object"&&e!==null&&(s=e,e=encodeURIComponent);var i=ke(s||{}),o=typeof e=="function"?e(t):t,r="".concat(n,"=").concat(o).concat(i);document.cookie=r}const W=Object.freeze({cookieName:"_logto_a",logtoCloudUrl:"https://cloud.logto.io",logtoCookieDomain:"logto.io"}),Ie=Object.freeze(["a","ref"]),He=()=>({...dt({hostname:R(()=>new URL(document.referrer).hostname),query:R(()=>{const n=new URLSearchParams;for(const[t,e]of new URLSearchParams(window.location.search).entries())(Ie.includes(t)||t.startsWith("utm_"))&&n.append(t,e);return n.toString()||void 0})}),createdAt:new Date().toISOString()}),$=(n,t)=>n in t&&typeof t[n]=="string",it=n=>{if(typeof n=="object"&&n!==null)return{...dt({hostname:$("hostname",n)&&n.hostname,query:$("query",n)&&n.query}),createdAt:$("createdAt",n)?n.createdAt:new Date().toISOString()}};class De{constructor(t){this.cookieName=t?.cookieName??W.cookieName,this.logtoCloudUrl=t?.logtoCloudUrl??W.logtoCloudUrl,this.logtoCookieDomain=t?.logtoCookieDomain??W.logtoCookieDomain}decodeFromDocumentCookie(){return it(R(()=>Re(this.cookieName,t=>JSON.parse(decodeURIComponent(t)))))}save(t){Me(this.cookieName,t,e=>encodeURIComponent(JSON.stringify(e)),{path:"/",expires:"14D",domain:this.logtoCookieDomain,samesite:"strict",secure:!0})}async update(){const t=this.decodeFromDocumentCookie(),e=He();if(!e.hostname&&!e.query)return;if(!t||t.hostname===e.hostname&&t.query===e.query){this.save(e);return}const s=await R(fetch(new URL("/api/a/c",this.logtoCloudUrl),{method:"POST",body:JSON.stringify({existing:t,incoming:e}),headers:{"Content-Type":"application/json"}}));if(!s?.ok)return;const i=it(await s.json());i&&this.save(i)}}const Ve="phc_NTesUIctMkAZ3yxW5cov9WGNcNIMdXN6kO30B7PUBnM",Ne="https://purehalo.logto.io",Pe="https://eu.i.posthog.com",ze="2025-05-24",Ue=(n,t,e)=>{const s=c.useCallback(()=>
1{if(window.__logtoTracking__?.[n]){console.log(`Removing injected scripts for ${n}`);for(const i of document.querySelectorAll("script")){const o=n.toLowerCase();for(const l of t)(typeof l=="string"?i.src===l:i.innerHTML.toLowerCase().includes(o))&&i.remove();const r=window;r[n]!==void 0&&delete r[n],r[o]!==void 0&&delete r[o],window.__logtoTracking__={...window.__logtoTracking__,[n]:void 0}}}},[n,t]);c.useEffect(()=>{if(!(window.location.hostname==="logto.io"||window.location.hostname.endsWith("logto.io"))){console.warn(`Not triggering ${n} because the hostname is not logto.io`);return}if(typeof window>"u"){console.warn("Not triggering scripts because window is not defined");return}if(!Array.isArray(t)){console.error("Not triggering scripts because it is not an array");return}if(window.__logtoTracking__||={},!window.__logtoTracking__[n]){window.__logtoTracking__[n]=!0;for(const o of t){const r=document.createElement("script");if(typeof o=="string")r.innerHTML=o;else for(const[l,h]of Object.entries(o))r.setAttribute(l,h);document.body.append(r)}}},[n,t,e,s])},Ze=()=>{Ue("Plausible",[{defer:"true","data-domain":"logto.io","data-api":"https://akasha.logto.io/placebo/eagan",src:"https://akasha.logto.io/placebo/sabaean.outbound-links.tagged-events.js"},"window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) };"])},We=()=>a.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.7325 3.16479L11.7325 3.16479L11.7339 3.16711L18.476 14.8203C18.6263 15.1231 18.7292 15.4167 18.6734 15.7512L18.6666 15.792V15.8334C18.6666 16.9015 17.7964 17.8334 16.6666 17.8334H3.24997C2.90568 17.8334 2.58189 17.7661 2.25722 17.5713L2.25728 17.5712L2.24804 17.5659C1.32611 17.0391 0.985381 15.764 1.51679 14.8326C1.517 14.8322 1.51721 14.8318 1.51742 14.8315L8.26609 3.16711L8.27371 3.15394L8.28052 3.14032C8.39304 2.91528 8.64556 2.6468 9.0026 2.43158C9.93374 1.90297 11.2063 2.24399 11.7325 3.16479ZM8.66664 14.1667C8.66664 14.5303 8.79003 14.8722 9.04225 15.1244C9.29447 15.3767 9.63635 15.5 9.99997 15.5C10.3636 15.5 10.7055 15.3767 10.9577 15.1244C11.2099 14.8722 11.3333 14.5303 11.3333 14.1667C11.3333 13.8031 11.2099 13.4612 10.9577 13.209C10.7055 12.9568 10.3636 12.8334 9.99997 12.8334C9.63635 12.8334 9.29447 12.9568 9.04225 13.209C8.79003 13.4612 8.66664 13.8031 8.66664 14.1667ZM9.99997 12.1667C10.3636 12.1667 10.7055 12.0433 10.9577 11.7911C11.2099 11.5389 11.3333 11.197 11.3333 10.8334V7.50005C11.3333 7.13643 11.2099 6.79455 10.9577 6.54233C10.7055 6.29011 10.3636 6.16672 9.99997 6.16672C9.63635 6.16672 9.29447 6.29011 9.04225 6.54233C8.79003 6.79455 8.66664 7.13643 8.66664 7.50005V10.8334C8.66664 11.197 8.79003 11.5389 9.04225 11.7911C9.29447 12.0433 9.63635 12.1667 9.99997 12.1667Z",fill:"#DD3730",stroke:"#DD3730"})}),$e=()=>a.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M2.16675 10.0001C2.16675 5.69289 5.69289 2.16675 10.0001 2.16675C14.3073 2.16675 17.8334 5.69289 17.8334 10.0001C17.8334 14.3073 14.3073 17.8334 10.0001 17.8334C5.69289 17.8334 2.16675 14.3073 2.16675 10.0001ZM9.85363 12.937L13.8536 8.93697C14.3822 8.40837 14.3822 7.59179 13.8536 7.06319C13.325 6.5346 12.5085 6.5346 11.9799 7.06319L8.91675 10.1263L8.0203 9.22986C7.49171 8.70127 6.67512 8.70127 6.14653 9.22986C5.61793 9.75846 5.61793 10.575 6.14653 11.1036L7.97986 12.937C8.50846 13.4656 9.32504 13.4656 9.85363 12.937Z",fill:"#32873D",stroke:"#32873D"})}),Ge="_toast_1hfit_17",Be="_image_1hfit_28",qe="_message_1hfit_35",Je="_success_1hfit_39",Ye="_error_1hfit_43",j={toast:Ge,image:Be,message:qe,success:Je,error:Ye},Ke=()=>a.jsx(Yt,{containerStyle:{inset:"72px 0 0"},toastOptions:{className:j.toast,success:{className:Q(j.toast,j.success),icon:a.jsx($e,{})},error:{className:Q(j.toast,j.error),icon:a.jsx(We,{})}},children:n=>a.jsxs("div",{className:n.className,children:[a.jsx("div",{className:j.image,children:n.icon}),a.jsx("span",{className:j.message,children:Kt(n.message,n)})]})}),nt="_logto_is_google_one_tap_triggered",Xe="https://cloud.logto.io",Qe="https://cloud.logto.dev",t1=n=>({log:(...t)=>{n&&console.log(...t)},warn:(...t)=>{n&&console.warn(...t)},error:(...t)=>{n&&console.error(...t)}});function _t(n){const t=z(n);return{debugLogger:c.useMemo(()=>t1(t),[t])}}function e1(n){const t=z(n)?Xe:Qe;return c.useMemo(()=>({baseCloudApiUrl:t}),[t])}function s1(n,t){const[e,s]=c.useState(),{debugLogger:i}=_t(t);return c.useEffect(()=>{(()=>
1{if(!n){i.log("No Google One Tap config found"),s(void 0);return}const r=Ot.safeParse(R(()=>JSON.parse(n)));r.success?(s(r.data),i.log("Google One Tap config loaded:",r.data)):(i.error("Invalid Google One Tap config format"),s(void 0))})()},[i,n]),{config:e}}const i1=({rawGoogleOneTapConfig:n,isProduction:t,isDebuggingEnabled:e})=>{const[s,i]=c.useState(!1),{baseCloudApiUrl:o}=e1(t),{config:r}=s1(n,e),{debugLogger:l}=_t(e);c.useEffect(()=>{if(typeof window>"u")return;const d=z(localStorage.getItem(nt));i(d)},[]);const h=c.useCallback(d=>{l.log("handleCredentialResponse received response:",d),localStorage.setItem(nt,"1");const g=document.createElement("form");g.method="POST",g.action=Xt(new URL(o),"api/external-google-one-tap").toString(),g.style.display="none";const u=document.createElement("input");u.type="hidden",u.name="credential",u.value=d.credential,g.append(u),document.body.append(g),g.submit(),g.remove()},[l,o]);return c.useEffect(()=>{if(!(typeof window>"u")&&!s&&r&&r.oneTap.isEnabled&&window.google?.accounts.id){l.log("Initializing Google One Tap");try{window.google.accounts.id.initialize({client_id:r.clientId,callback:h,auto_select:r.oneTap.autoSelect,cancel_on_tap_outside:r.oneTap.closeOnTapOutside,itp_support:r.oneTap.itpSupport,use_fedcm_for_prompt:!1,context:"use"}),window.google.accounts.id.prompt()}catch(d){console.error("Error initializing Google One Tap:",d)}}},[r,l,s,h]),null},n1="_bar_di0m7_1",o1={bar:n1},r1=()=>{const n=yt(),t=kt(),e=Rt({ref:t}),s=c.useCallback(()=>{t.start({from:{width:"0%",opacity:.8},to:[{width:"10%",config:{tension:160,friction:22,clamp:!0}},{width:"15%",config:{duration:5e3,easing:o=>o}},{width:"100%",config:{tension:200,friction:1e3}}]})},[t]),i=c.useCallback(()=>{t.start({to:[{width:"100%",config:{duration:300}},{opacity:0,config:{duration:300}}]})},[t]);return c.useEffect(()=>{switch(n.state){case"loading":case"submitting":{s();break}default:{i();break}}},[i,n.state,s]),a.jsx(Mt.div,{className:o1.bar,style:e})},a1=n=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("g",{id:"User Interface / Internet"},c.createElement("path",{id:"Vector",d:"M17.8416 7.2C17.8416 7.2 17.8416 7.2 17.8416 7.15834C17.2545 5.55519 16.1891 4.17107 14.7895 3.19322C13.39 2.21537 11.7239 1.69098 10.0166 1.69098C8.30933 1.69098 6.64324 2.21537 5.24372 3.19322C3.8442 4.17107 2.77879 5.55519 2.19163 7.15834C2.19163 7.15834 2.19163 7.15834 2.19163 7.2C1.5359 9.00908 1.5359 10.9909 2.19163 12.8C2.19163 12.8 2.19163 12.8 2.19163 12.8417C2.77879 14.4448 3.8442 15.8289 5.24372 16.8068C6.64324 17.7846 8.30933 18.309 10.0166 18.309C11.7239 18.309 13.39 17.7846 14.7895 16.8068C16.1891 15.8289 17.2545 14.4448 17.8416 12.8417C17.8416 12.8417 17.8416 12.8417 17.8416 12.8C18.4974 10.9909 18.4974 9.00908 17.8416 7.2ZM3.54996 11.6667C3.26098 10.5743 3.26098 9.42566 3.54996 8.33334H5.09996C4.96665 9.44045 4.96665 10.5596 5.09996 11.6667H3.54996ZM4.23329 13.3333H5.39996C5.59556 14.0765 5.87514 14.7951 6.23329 15.475C5.41604 14.9183 4.73287 14.1867 4.23329 13.3333ZM5.39996 6.66667H4.23329C4.72568 5.81591 5.40012 5.08456 6.20829 4.525C5.85875 5.20604 5.58758 5.92452 5.39996 6.66667ZM9.16663 16.4167C8.1431 15.6656 7.42425 14.571 7.14163 13.3333H9.16663V16.4167ZM9.16663 11.6667H6.78329C6.62778 10.561 6.62778 9.43901 6.78329 8.33334H9.16663V11.6667ZM9.16663 6.66667H7.14163C7.42425 5.42898 8.1431 4.33443 9.16663 3.58334V6.66667ZM15.7666 6.66667H14.6C14.4044 5.92347 14.1248 5.20495 13.7666 4.525C14.5839 5.08173 15.267 5.81329 15.7666 6.66667ZM10.8333 3.58334C11.8568 4.33443 12.5757 5.42898 12.8583 6.66667H10.8333V3.58334ZM10.8333 16.4167V13.3333H12.8583C12.5757 14.571 11.8568 15.6656 10.8333 16.4167ZM13.2166 11.6667H10.8333V8.33334H13.2166C13.3721 9.43901 13.3721 10.561 13.2166 11.6667ZM13.7916 15.475C14.1498 14.7951 14.4294 14.0765 14.625 13.3333H15.7916C15.292 14.1867 14.6089 14.9183 13.7916 15.475ZM16.45 11.6667H14.9C14.9677 11.1137 15.0011 10.5571 15 10C15.0009 9.44292 14.9675 8.88631 14.9 8.33334H16.45C16.7389 9.42566 16.7389 10.5743 16.45 11.6667Z",fill:"currentColor"}))),l1=n=>c.createElement("svg",{width:160,height:29,viewBox:"0 0 160 29",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("path",{d:"M44.2095 13.897H41.7628C40.8844 13.897 40.4453 13.4578 40.4453 12.5795V12.0149C40.4453 11.1366 40.8844 10.6974 41.7628 10.6974H46.1857C46.3739 10.6974 46.468 10.6033 46.468 10.4151V9.47409C46.468 9.28588 46.3739 9.19177 46.1857 9.19177H41.1981C39.316 9.19177 38.375 10.
11328 38.375 12.0149V12.5795C38.375 14.4616 39.316 15.4027 41.1981 15.4027H43.6448C44.6486 15.4027 45.1505 15.9045 45.1505 16.9083V17.473C45.1505 18.4767 44.6486 18.9786 43.6448 18.9786H39.0337C38.8455 18.9786 38.7514 19.0727 38.7514 19.2609V20.202C38.7514 20.3902 38.8455 20.4843 39.0337 20.4843H44.2095C46.217 20.4843 47.2208 19.4805 47.2208 17.473V16.9083C47.2208 14.9008 46.217 13.897 44.2095 13.897Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M54.1512 9.47409C54.1512 9.28588 54.0571 9.19177 53.8689 9.19177H52.3632C52.175 9.19177 52.0809 9.28588 52.0809 9.47409V20.202C52.0809 20.3902 52.175 20.4843 52.3632 20.4843H53.8689C54.0571 20.4843 54.1512 20.3902 54.1512 20.202V9.47409Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M66.9214 20.4843C67.1097 20.4843 67.2038 20.3902 67.2038 20.202V19.2609C67.2038 19.0727 67.1097 18.9786 66.9214 18.9786H61.5575V9.47409C61.5575 9.28588 61.4634 9.19177 61.2752 9.19177H59.7695C59.5813 9.19177 59.4872 9.28588 59.4872 9.47409V20.202C59.4872 20.3902 59.5813 20.4843 59.7695 20.4843H66.9214Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M78.974 9.19177H77.4997C77.3115 9.19177 77.186 9.28588 77.1233 9.47409L74.3629 17.5514L71.6025 9.47409C71.5398 9.28588 71.4143 9.19177 71.2261 9.19177H69.7518C69.5636 9.19177 69.5009 9.28588 69.5793 9.47409L73.2337 20.202C73.2964 20.3902 73.4219 20.4843 73.6101 20.4843H75.1157C75.304 20.4843 75.4294 20.3902 75.5079 20.202L79.1622 9.47409C79.225 9.28588 79.1622 9.19177 78.974 9.19177Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M91.3989 10.6974C91.5871 10.6974 91.6812 10.6033 91.6812 10.4151V9.47409C91.6812 9.28588 91.5871 9.19177 91.3989 9.19177H83.9646C83.7764 9.19177 83.6823 9.28588 83.6823 9.47409V20.202C83.6823 20.3902 83.7764 20.4843 83.9646 20.4843H91.493C91.6812 20.4843 91.7753 20.3902 91.7753 20.202V19.2609C91.7753 19.0727 91.6812 18.9786 91.493 18.9786H83.6823V15.4027H90.9283C91.1165 15.4027 91.2107 15.3086 91.2107 15.1203V14.1793C91.2107 13.9911 91.1165 13.897 90.9283 13.897H83.6823V10.6974H91.3989Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M105.53 20.202L102.817 15.9359C104.527 15.7791 105.389 14.7439 105.389 12.8618V12.2972C105.389 10.2269 104.354 9.19177 102.284 9.19177H96.9199C96.7317 9.19177 96.6376 9.28588 96.6376 9.47409V20.202C96.6376 20.3902 96.7317 20.4843 96.9199 20.4843H98.4256C98.6138 20.4843 98.7079 20.3902 98.7079 20.202V15.9673H100.543L103.241 20.202C103.366 20.3902 103.523 20.4843 103.711 20.4843H105.436C105.625 20.4843 105.656 20.3902 105.53 20.202ZM98.7079 10.6974H101.719C102.786 10.6974 103.319 11.2307 103.319 12.2972V12.8618C103.319 13.9284 102.786 14.4616 101.719 14.4616H98.7079V10.6974Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M118.443 9.19177H116.937C116.749 9.19177 116.655 9.28588 116.655 9.47409V13.897H112.138V9.47409C112.138 9.28588 112.044 9.19177 111.856 9.19177H110.35C110.162 9.19177 110.068 9.28588 110.068 9.47409V20.202C110.068 20.3902 110.162 20.4843 110.35 20.4843H111.856C112.044 20.4843 112.138 20.3902 112.138 20.202V15.4027H116.655V20.202C116.655 20.3902 116.749 20.4843 116.937 20.4843H118.443C118.631 20.4843 118.725 20.3902 118.725 20.202V9.47409C118.725 9.28588 118.631 9.19177 118.443 9.19177Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M145.732 9.19177H144.226C144.038 9.19177 143.944 9.28588 143.944 9.47409V17.3632L139.584 9.47409C139.474 9.28588 139.333 9.19177 139.145 9.19177H137.639C137.451 9.19177 137.357 9.28588 137.357 9.47409V20.202C137.357 20.3902 137.451 20.4843 137.639 20.4843H139.145C139.333 20.4843 139.427 20.3902 139.427 20.202V12.3129L143.787 20.202C143.897 20.3902 144.038 20.4843 144.226 20.4843H145.732C145.92 20.4843 146.014 20.3902 146.014 20.202V9.47409C146.014 9.28588 145.92 9.19177 145.732 9.19177Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M156.707 9.19177H151.437C151.248 9.19177 151.154 9.28588 151.154 9.47409V20.202C151.154 20.3902 151.248 20.4843 151.437 20.4843H156.707C158.902 20.4843 160 19.3864 160 17.1906V12.4854C160 10.2897 158.902 9.19177 156.707 9.19177ZM157.93 17.1906C157.93 18.3826 157.334 18.9786 156.142 18.9786H153.225V10.6974H156.142C157.334 10.6974 157.93 11.2934 157.93 12.4854V17.1906Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M129.182 9.47409L132.837 20.202C132.899 20.3902 132.837 20.4843 132.648 20.4843H131.174C130.986 20.4843 130.86 20.3902 130.798 20.202L130.123 18.2258L129.606 16.7201L128.037 12.1247L126.469 16.7201L125.967 18.2258L125.277 20.202C125.214 20.3902 125.
1089 20.4843 124.901 20.4843H123.426C123.238 20.4843 123.175 20.3902 123.254 20.202L126.908 9.47409C126.971 9.28588 127.096 9.19177 127.284 9.19177H128.79C128.978 9.19177 129.104 9.28588 129.182 9.47409Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M16.1307 21.2733C13.4541 22.3551 9.58996 22.477 8.02923 22.4C7.9814 22.3976 7.94671 22.3571 7.94859 22.3092C7.97442 21.6546 7.86454 20.3447 7.25161 19.5123C7.20757 19.4525 7.24869 19.3612 7.32261 19.3538C9.23582 19.1623 11.6385 16.199 13.6747 15.6618C16.2624 14.9789 18.0949 15.8857 18.5907 16.2926C18.6364 16.3302 18.6214 16.3992 18.568 16.4247C16.1918 17.5627 16.175 20.7226 16.1827 21.194C16.1833 21.229 16.1631 21.2602 16.1307 21.2733Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M14.3983 5.56343C14.6066 5.06917 14.9459 4.57251 15.1589 4.29545C15.2097 4.22936 15.3076 4.22996 15.3549 4.29863C15.7609 4.88828 16.1701 6.01395 16.0773 6.10681C15.4928 6.69126 14.4408 6.55767 14.374 6.40739C14.3072 6.2571 14.5076 6.14021 14.541 6.05672C14.564 5.99925 14.4732 5.8058 14.4049 5.67846C14.3858 5.64286 14.3826 5.60065 14.3983 5.56343Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M15.3984 3.76774C15.4648 3.57595 15.7342 3.20681 15.9083 2.95317C15.9594 2.87878 16.0687 2.87162 16.1238 2.94307C16.614 3.57886 17.2887 4.75766 17.0291 5.33869C16.6784 6.12352 16.2443 6.00663 16.2443 5.88974C16.1804 5.20287 15.4594 3.98117 15.397 3.80335C15.3928 3.79142 15.3943 3.77969 15.3984 3.76774Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M16.3629 2.50215C16.4586 2.34431 16.5373 2.14292 16.6127 2.0042C16.6504 1.93496 16.7392 1.93471 16.7889 1.99587C17.0033 2.25949 17.3825 2.74897 17.7137 3.25147C18.1979 3.9862 18.0643 4.28677 17.9808 4.58734C17.8974 4.88791 17.4799 5.42226 17.3129 4.58734C17.1875 3.96036 16.7041 3.11163 16.3691 2.66923C16.3324 2.62083 16.3314 2.55406 16.3629 2.50215Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M17.0778 5.85516C17.158 5.72157 17.8237 5.32081 18.1465 5.13713C18.8979 4.67627 19.282 5.58798 19.2486 5.97205C19.2152 6.35611 18.6809 6.55649 17.9795 6.4563C17.2782 6.35611 16.9776 6.02214 17.0778 5.85516Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M17.1782 1.21318C17.2851 1.1731 17.8695 1.56491 18.1979 1.81539C19.3167 2.667 19.3668 2.95088 19.1497 3.8025C18.9551 4.56607 18.6128 4.71214 18.4358 4.71011C18.4007 4.7097 18.3699 4.68789 18.3608 4.65405C18.3019 4.43398 18.432 3.85605 18.3816 3.62869C18.3377 3.43045 17.7621 2.6044 17.4799 2.21615C16.9497 1.39848 17.0446 1.26327 17.1782 1.21318Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M13.4723 1.5148C11.6015 2.2402 10.441 3.19495 10.037 3.63984C10.0026 3.67768 9.99582 3.73189 10.0176 3.77814C10.1445 4.04789 10.3412 4.4272 10.4332 4.40362C10.5441 4.36457 10.81 4.28254 11.0639 4.23741C11.1166 4.22805 11.169 4.25302 11.1947 4.29992C11.3975 4.66947 11.7426 5.47581 11.8136 6.33147C11.8175 6.37846 11.8479 6.41212 11.8945 6.40501C12.2412 6.35206 13.6165 5.92435 13.8947 5.824C13.9246 5.81321 13.9467 5.7899 13.959 5.76059C14.976 3.33759 16.3113 1.60815 16.8918 1.00199C16.9158 0.976921 16.9305 0.941081 16.9062 0.916241C16.7452 0.751314 15.7152 0.645093 13.4723 1.5148Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M11.2688 7.8861C10.9259 6.14766 9.74762 4.9429 9.07833 4.46337C9.00671 4.41206 8.90743 4.44828 8.87402 4.5298C8.5791 5.2493 7.40908 7.18689 4.50785 10.4493C1.5693 13.7536 0.628566 16.5876 0.486898 17.8231C0.474671 17.9298 0.592863 17.9981 0.687905 17.9482C1.23796 17.6595 2.34862 17.2674 3.72137 17.3337C5.21945 17.406 6.21825 18.287 6.59385 18.7957C6.6322 18.8477 6.70193 18.8684 6.76088 18.842C9.35149 17.6841 10.0295 15.7862 10.0993 13.1028C10.155 10.9599 10.8858 8.81055 11.2601 7.96437C11.2711 7.93957 11.274 7.91271 11.2688 7.8861Z",fill:"#F7F8F8"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29265 25.0882C5.04442 25.0882 6.46451 23.6681 6.46451 21.9164C6.46451 20.1646 5.04442 18.7445 3.29265 18.7445C1.54088 18.7445 0.120789 20.1646 0.120789 21.9164C0.120789 23.6681 1.54088 25.0882 3.29265 25.0882ZM3.29265 23.5023C4.16854 23.5023 4.87858 22.7923 4.87858 21.9164C4.87858 21.0405 4.16854 20.3305 3.29265 20.3305C2.41676 20.3305 1.70672 21.0405 1.70672 21.9164C1.70672 22.7923 2.41676 23.5023 3.29265 23.5023Z",fill:"#F7F8F8"}
1),c.createElement("circle",{cx:3.29266,cy:21.9164,r:.991207,fill:"#F7F8F8"}),c.createElement("path",{d:"M7.92938 23.0308C11.0281 23.4515 15.0452 22.5065 16.64 21.9605C16.673 21.9492 16.6943 21.9186 16.6964 21.8838C16.9303 18.1273 19.0026 16.5467 19.067 16.5682C19.1318 16.5898 20.0167 17.0862 19.9951 17.1941C19.9789 17.2749 19.6465 17.8786 19.4506 18.2269C19.4289 18.2655 19.4397 18.3142 19.4759 18.3397C19.8376 18.595 20.4696 19.0339 20.5346 19.0502C20.5996 19.0664 21.1668 18.6124 21.4912 18.343C21.5244 18.3154 21.5726 18.3163 21.6044 18.3455C21.8081 18.5326 22.2097 18.9085 22.4419 19.1264C22.4742 19.1567 22.4773 19.2074 22.4507 19.2429C19.9667 22.5449 21.3541 25.5882 22.4262 26.7844C22.4631 26.8256 22.4533 26.8901 22.4056 26.9181C21.3592 27.5336 20.7231 27.749 20.5008 27.7866C20.4807 27.79 20.4604 27.7847 20.4436 27.7732C19.5633 27.173 19.0536 26.4186 18.879 26.0599C18.8618 26.0246 18.8242 26.0039 18.7854 26.0098C14.7118 26.6304 10.5104 26.5881 9.13314 26.2489C9.10174 26.2412 9.07004 26.2518 9.04827 26.2757C8.4632 26.9186 8.21945 27.0502 7.90947 27.2454C7.88255 27.2623 7.84859 27.2633 7.82042 27.2485C7.38174 27.0183 6.17849 26.5643 5.46808 26.3064C5.39629 26.2804 5.39065 26.1794 5.45728 26.142C6.81787 25.3793 7.53776 23.8423 7.83691 23.085C7.85167 23.0476 7.88956 23.0254 7.92938 23.0308Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M25.3645 15.0844C22.869 15.5798 21.4348 16.2797 20.924 16.6359C20.873 16.6715 20.881 16.7464 20.935 16.7774C21.4657 17.0813 21.8697 17.529 22.0484 17.7738C22.0744 17.8093 22.122 17.8215 22.1615 17.8023C22.6638 17.5593 23.3433 17.393 23.6781 17.3289C23.7116 17.3225 23.7457 17.3376 23.7647 17.3658C26.2049 20.9865 25.3779 23.8486 25.2112 24.9078C25.2045 24.9502 25.231 24.9894 25.2721 25.0012L29.1448 26.1196C29.1938 26.1337 29.2444 26.1026 29.253 26.0523C29.9461 21.9884 27.0333 17.103 25.4479 15.1138C25.4279 15.0887 25.396 15.0782 25.3645 15.0844Z",fill:"#F7F8F8"}),c.createElement("path",{d:"M19.4125 28.1364C14.3421 29.9 10.422 28.5725 8.92055 27.5976C8.87723 27.5695 8.87081 27.5106 8.90461 27.4715L9.43485 26.8589C9.45427 26.8365 9.48398 26.8256 9.51332 26.8301C13.3099 27.4032 16.8686 26.9868 18.2575 26.6448C18.3013 26.634 18.3444 26.6584 18.3624 26.6997C18.5532 27.1375 19.1147 27.6786 19.4671 27.975C19.5185 28.0183 19.505 28.1017 19.4421 28.1253L19.4125 28.1364Z",fill:"#F7F8F8"})),c1="_navigationLinks_100h6_17",h1="_content_100h6_30",u1="_item_100h6_35",G={navigationLinks:c1,content:h1,item:u1},ot=({title:n,aiId:t,link:e})=>{const s=Ht(e),i={className:G.item,"data-ai-id":t,tabIndex:0,target:s?"_blank":"_self",rel:"noopener"},o=a.jsxs(a.Fragment,{children:[a.jsx("span",{children:n}),s&&a.jsx(Vt,{children:a.jsx(Nt,{})})]});return a.jsx(A,{linkId:`footer-${t}`,placement:"footer",scope:"global",children:Dt(e)?a.jsx("a",{href:e,...i,children:o},n):a.jsx(J,{to:e,...i,children:o},n)})},d1=({isExternal:n})=>{const{t}=P(),e=It(n),s=c.useMemo(()=>[{groupTitle:t("navigation.products.title"),items:e.products},{groupTitle:t("navigation.pricing"),items:e.pricing},{groupTitle:t("navigation.solutions.title"),items:e.solutions},{groupTitle:t("navigation.developers.title"),items:e.developers},{groupTitle:t("navigation.resources.title"),items:e.resources},{groupTitle:t("navigation.about.title"),items:e.about}],[t,e]);return a.jsx("div",{className:G.navigationLinks,children:s.map(({groupTitle:i,items:o})=>a.jsxs("section",{children:[a.jsx("header",{children:i}),a.jsx("div",{className:G.content,children:o.flatMap(r=>"items"in r?r.items.map(l=>a.jsx(ot,{...l},l.title)):a.jsx(ot,{...r},r.title))})]},i))})},f1=()=>{const n=Pt(),{t}=P();return c.useCallback(async s=>{try{await n.put(ce,{json:{email:s}}),tt.success(t("subscribe.success_message"))}catch(i){throw tt.error(i instanceof Error?i.message:JSON.stringify(i)),i}},[n,t])},g1=n=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("path",{d:"M16.9308 3.26368C15.6561 2.67878 14.2892 2.24785 12.8599 2.00104C12.8339 1.99627 12.8079 2.00818 12.7945 2.03198C12.6187 2.34466 12.4239 2.75258 12.2876 3.0732C10.7503 2.84306 9.22099 2.84306 7.71527 3.0732C7.57887 2.74545 7.37707 2.34466 7.20048 2.03198C7.18707 2.00897 7.16107 1.99707 7.13504 2.00104C5.70659 2.24706 4.33963 2.67799 3.06411 3.26368C3.05307 3.26844 3.04361 3.27638 3.03732 3.28669C0.444493 7.16033 -0.265792 10.9387 0.0826501 14.6703C0.0842267 14.6886 0.0944749 14.706 0.108665 14.7171C1.81934 15.9734 3.47642 16.7361 5.10273 17.2416C5.12876 17.2496 5.15634 17.24 5.1729 17.2186C5.55761 16.6933 5.90054 16.1393 6.19456 15.5568C6.21192 15.5227 6.19535 15.4822 6.15989 15.4687C5.61594 15.2624 5.098 15.0108 4.59978 14.7251C4.56037 14.7021 4.55721 14.6457 4.59347 14.6187C4.69831 14.5402 4.80318 14.4584 4.9033 14.3759C4.92141 14.3608 4.94665 14.3576 4.96794 14.3671C8.24107 15.8615 11.7846 15.8615 15.0191 14.3671C15.0404 14.3568 15.0657 14.36 15.0846 14.3751C15.1847 14.4576 15.2896 14.5402 15.3952 14.6187C15.4314 14.6457 15.4291 14.7021 15.3897 14.7251C14.8914 15.0163 14.3735 15.2624 13.8288 15.4679C13.7933 15.4814 13.7775 15.5227 13.7949 15.5568C14.0952 16.1385 14.4381 16.6924 14.8157 17.2178C14.8315 17.24 14.8599 17.2496 14.8859 17.2416C16.5201 16.7361 18.1772 15.9734 19.8879 14.7171C19.9028 14.706 19.9123 14.6894 19.9139 14.6711C20.3309 10.357 19.2154 6.60956 16.9568 3.28748C16.9513 3.27638 16.9419 3.26844 16.9308 3.26368ZM6.68335 12.3982C5.69792 12.3982 4.88594 11.4935 4.88594 10.3824C4.88594 9.27134 5.68217 8.36664 6.68335 8.36664C7.69239 8.36664 8.49651 9.27928 8.48073 10.3824C8.48073 11.4935 7.68451 12.3982 6.68335 12.3982ZM13.329 12.3982C12.3435 12.3982 11.5316 11.4935 11.5316 10.3824C11.5316 9.27134 12.3278 8.36664 13.329 8.36664C14.338 8.36664 15.1421 9.27928 15.1264 10.3824C15.1264 11.4935 14.338 12.3982 13.329 12.3982Z",fill:"currentColor"})),p1=n=>c.createElement("svg",{width:20,height:18,viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("path",{id:"Subtract",fillRule:"evenodd",clipRule:"evenodd",d:"M16.89 0.932679C16.4031 0.760462 15.8792 0.666748 15.3333 0.666748H4.66667C4.12127 0.666748 3.59773 0.760308 3.11122 0.932253L10.0008 7.82185L16.89 0.932679ZM10.0008 9.79051C10.2279 9.80194 10.4588 9.72093 10.6322 9.54749L18.3807 1.799C19.3723 2.65476 20 3.92079 20 5.33342V12.6667C20 15.2441 17.9107 17.3334 15.3333 17.3334H4.66667C2.08934 17.3334 0 15.2441 0 12.6667V5.33342C0 3.92037 0.628028 2.65402 1.62018 1.79824L9.36943 9.54749C9.54287 9.72093 9.77373 9.80194 10.0008 9.79051Z",fill:"currentColor"})),C1=n=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("path",{d:"M9.99996 0C7.62545 9.84646e-05 5.32845 0.845108 3.51997 2.38383C1.71148 3.92255 0.509525 6.05458 0.12916 8.39842C-0.251206 10.7423 0.214844 13.145 1.44392 15.1766C2.67299 17.2083 4.58488 18.7364 6.8375 19.4874C7.3375 19.5749 7.52499 19.2749 7.52499 19.0124C7.52499 18.7749 7.51248 17.9874 7.51248 17.1499C4.99999 17.6124 4.35 16.5374 4.15 15.9749C3.92808 15.4278 3.57628 14.943 3.12501 14.5624C2.77501 14.3749 2.27501 13.9124 3.1125 13.8999C3.43228 13.9346 3.73899 14.0459 4.00663 14.2243C4.27427 14.4027 4.49496 14.643 4.64999 14.9249C4.78676 15.1706 4.97067 15.3869 5.19118 15.5614C5.41169 15.7359 5.66446 15.8651 5.93502 15.9418C6.20557 16.0184 6.48859 16.0409 6.76786 16.008C7.04712 15.9751 7.31715 15.8873 7.56245 15.7499C7.60574 15.2415 7.83231 14.7662 8.19997 14.4124C5.97499 14.1624 3.65 13.2999 3.65 9.47496C3.63595 8.48112 4.00268 7.51955 4.67499 6.78748C4.36928 5.92371 4.40505 4.97578 4.77499 4.1375C4.77499 4.1375 5.61246 3.87499 7.52497 5.16249C9.16125 4.71247 10.8887 4.71247 12.5249 5.16249C14.4374 3.8625 15.2749 4.1375 15.2749 4.1375C15.6449 4.97577 15.6807 5.92372 15.3749 6.78748C16.0493 7.5183 16.4163 8.4807 16.3999 9.47496C16.3999 13.3
1124 14.0624 14.1624 11.8374 14.4124C12.0761 14.6543 12.2599 14.9447 12.3764 15.2639C12.4928 15.5831 12.5392 15.9237 12.5124 16.2624C12.5124 17.5999 12.4999 18.6749 12.4999 19.0124C12.4999 19.2749 12.6874 19.5874 13.1874 19.4874C15.4361 18.7303 17.3425 17.1986 18.5663 15.1659C19.7901 13.1332 20.2518 10.7318 19.8688 8.39018C19.4858 6.0486 18.2831 3.91934 16.4754 2.38249C14.6677 0.845644 12.3726 0.0012349 9.99996 0V0Z",fill:"currentColor"})),m1=n=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("g",{id:"Social Icon 24x24"},c.createElement("path",{id:"Vector",d:"M6.28978 18.0723C13.8373 18.0723 17.9648 11.8195 17.9648 6.39725C17.9648 6.21967 17.9612 6.04289 17.9532 5.86685C18.7562 5.28577 19.4493 4.56626 20 3.74205C19.2648 4.06889 18.4736 4.28889 17.6437 4.38808C18.4908 3.88003 19.1412 3.07649 19.448 2.11851C18.6425 2.59638 17.7613 2.93322 16.8424 3.11454C16.0936 2.31697 15.0277 1.81812 13.8472 1.81812C11.5812 1.81812 9.74363 3.65574 9.74363 5.92088C9.74363 6.24289 9.77967 6.5561 9.85007 6.8565C6.43971 6.68489 3.41566 5.0521 1.39179 2.56931C1.02728 3.19547 0.835541 3.90717 0.836163 4.6317C0.836163 6.05531 1.56058 7.31207 2.66218 8.04729C2.01058 8.02742 1.37327 7.85141 0.803815 7.53408C0.803211 7.55133 0.803211 7.5681 0.803211 7.58649C0.803211 9.57371 2.21762 11.2329 4.09518 11.6089C3.74254 11.7049 3.37867 11.7535 3.01318 11.7533C2.75435 11.7531 2.49612 11.7283 2.24198 11.6793C2.76439 13.3096 4.2792 14.4961 6.07515 14.5292C4.67074 15.63 2.90157 16.2856 0.978779 16.2856C0.647978 16.2856 0.321204 16.2668 0 16.2289C1.81602 17.3929 3.97236 18.0721 6.28998 18.0721",fill:"currentColor"}))),_1=n=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},c.createElement("path",{d:"M19.1669 8.0919C19.2081 6.89911 18.9472 5.71524 18.4085 4.65023C18.043 4.21323 17.5358 3.91832 16.9752 3.8169C14.6565 3.6065 12.3281 3.52027 10.0002 3.55856C7.68072 3.51853 5.36078 3.60198 3.05019 3.80856C2.59337 3.89166 2.17062 4.10593 1.83352 4.42523C1.08352 5.1169 1.00019 6.30023 0.916852 7.30023C0.795945 9.0982 0.795945 10.9023 0.916852 12.7002C0.94096 13.2631 1.02476 13.8218 1.16685 14.3669C1.26733 14.7878 1.47062 15.1772 1.75852 15.5002C2.09791 15.8364 2.53051 16.0629 3.00019 16.1502C4.79678 16.372 6.60703 16.4639 8.41685 16.4252C11.3335 16.4669 13.8919 16.4252 16.9169 16.1919C17.3981 16.1099 17.8428 15.8832 18.1919 15.5419C18.4252 15.3085 18.5994 15.0228 18.7002 14.7086C18.9982 13.7941 19.1446 12.837 19.1335 11.8752C19.1669 11.4086 19.1669 8.5919 19.1669 8.0919ZM8.11685 12.3752V7.2169L13.0502 9.80856C11.6669 10.5752 9.84185 11.4419 8.11685 12.3752Z",fill:"currentColor"})),w1="_subscribeUs_ffbfx_17",b1="_title_ffbfx_34",v1="_subtitle_ffbfx_40",y1="_button_ffbfx_45",S1="_socialIcons_ffbfx_49",I={subscribeUs:w1,title:b1,subtitle:v1,button:y1,socialIcons:S1},E1=[{key:"discord",Icon:g1,url:he,label:"Discord"},{key:"github",Icon:C1,url:ue,label:"GitHub"},{key:"twitter",Icon:m1,url:de,label:"X (Twitter)"},{key:"email",Icon:p1,url:ge("footer"),label:"Email"},{key:"youtube",Icon:_1,url:fe,label:"YouTube"}],x1=({isExternal:n})=>{const{t}=P(),e=pt(),{isMobile:s}=ft(),i=f1(),o={email:""},{handleSubmit:r,register:l,formState:{errors:h,isSubmitting:d}}=be({defaultValues:o}),g=r(async u=>{d||await R(i(u.email))});return a.jsxs("aside",{className:I.subscribeUs,children:[a.jsx("div",{className:I.title,children:t("subscribe.title")}),a.jsx("div",{className:I.subtitle,children:t("subscribe.description")}),a.jsxs("form",{children:[a.jsx(ve,{title:zt(!s&&t("subscribe.email")),children:a.jsx(ye,{...l("email",{required:t("subscribe.field_required"),pattern:{value:/^\S+@\S+\.\S+$/,message:t("subscribe.invali
1d_email")}}),placeholder:t("subscribe.email_placeholder"),errorMessage:h.email?.message})}),a.jsx(A,{linkId:"footer-subscribe",placement:"footer",scope:"global",children:a.jsx(Ut,{className:I.button,type:"primary",isLoading:d,onClick:g,children:t("subscribe.submit")})})]}),a.jsx("div",{className:I.socialIcons,children:E1.map(({key:u,Icon:p,url:C,label:E})=>a.jsx(A,{linkId:`footer-${u}`,placement:"footer",scope:"global",children:a.jsx(J,{to:n?gt(C,e):C,target:"_blank",rel:"noopener","aria-label":E,children:a.jsx(p,{})})},u))})]})},F1="_container_12jdn_17",L1="_content_12jdn_25",T1="_wrapper_12jdn_30",j1="_hr_12jdn_49",A1="_footer_12jdn_53",O1="_footnotes_12jdn_58",k1="_termsAndPrivacy_12jdn_77",R1="_languageSelector_12jdn_82",M1="_silverhandLogo_12jdn_94",F={container:F1,content:L1,wrapper:T1,hr:j1,footer:A1,footnotes:O1,termsAndPrivacy:k1,languageSelector:R1,silverhandLogo:M1},I1=n=>{const t=window.location.pathname,e=n===Ct?"":`/${n}`,s=te.find(i=>t.startsWith(`/${i}`));return e+(s?t.slice(s.length+1):t)},H1=({languageSelector:n,isExternal:t})=>{const{t:e}=P(),s=pt(),{isMobile:i}=ft(),[o,r]=c.useState(!1);return c.useEffect(()=>{setTimeout(()=>{r(!0)},3e3)},[]),a.jsx("nav",{"data-ai-stop-here":!0,"data-ai-id":"footer","aria-label":"Footer",className:F.container,children:a.jsxs("div",{className:F.content,children:[a.jsxs("div",{className:F.wrapper,children:[a.jsx(x1,{isExternal:t}),a.jsx(d1,{isExternal:t})]}),a.jsx("div",{className:F.hr}),a.jsx("div",{className:F.footer,children:a.jsxs("div",{className:F.footnotes,children:[a.jsx(l1,{className:F.silverhandLogo}),a.jsx("div",{children:"Designed by Silverhand Inc."}),!i&&a.jsx(Zt,{}),a.jsxs("div",{className:F.termsAndPrivacy,children:[a.jsx(A,{linkId:"footer-security",placement:"footer",scope:"global",children:a.jsx(J,{"data-ai-id":"security",to:gt(Wt.trustAndSecurity,s),children:e("footer.security")})}),a.jsx(A,{linkId:"footer-status",placement:"footer",scope:"global",children:a.jsx("a",{href:pe,target:"_blank",rel:"noopener",children:"Status"})}),a.jsx(A,{linkId:"footer-terms",placement:"footer",scope:"global",children:a.jsx("a",{"data-ai-id":"terms_of_use",href:Ce,target:"_blank",rel:"noopener",children:e("footer.terms")})}),a.jsx(A,{linkId:"footer-privacy",placement:"footer",scope:"global",children:a.jsx("a",{"data-ai-id":"privacy_policy",href:me,target:"_blank",rel:"noopener",children:e("footer.privacy")})}),n,n===void 0&&a.jsx(Se,{className:F.languageSelector,optionContainerStyles:{border:"none"},optionStyles:{padding:"8px 16px"},icon:a.jsx(a1,{}),value:s,options:Object.entries(Qt).map(([l,h])=>({value:l,title:h})),placeholder:e("general.select_placeholder"),size:"small",onChange:l=>{l&&(window.location.href=I1(l))}})]})]})})]})})},D1="/assets/normalized-jBqFJ0LG.css",V1=({numbers:n,latestContent:t,isAlwaysScrolled:e})=>{const{t:s}=ee(),i=se();return a.jsx($t,{isAlwaysScrolled:e,isExternal:!1,numbers:n,latestContent:t,banner:{text:s("banner.text"),linkText:s("banner.link_text"),link:i===Ct?"/ai":`/${i}/ai`}})},rt="routes/",N1="($lang)",P1="routes/$",z1=({routeId:n,params:t={},errorStatus:e})=>{if(e===404)return"not-found";if(e!==void 0||!n?.startsWith(rt)||n===P1)return"unknown";const s=n.slice(rt.length).split(".").filter(i=>i!==N1&&i!=="_index").map(i=>i==="$"?t["*"]?.replaceAll(/^\/+|\/+$/g,"").replaceAll("/","."):i.startsWith("$")?t[i.slice(1)]:i);return s.includes(void 0)?"unknown":s.filter(Boolean).join(".")||"home"},U1=Object.freeze({ai:"2026-08-20","self-hosted-plans":"2026-08-24","compare.auth0":"2026-07-06","compare.clerk":"2026-07-06","compare.firebase":"2026-07-06","compare.stytch":"2026-07-06","compare.azure-ad-b2c":"2026-07-07","compare.aws-cognito":"2026-07-07","compare.workos":"2026-07-23"}),Z1=()=>{const n=St(),t=ct(),e=ht(),s=mt(t.lang)??Y.defaultLanguage;return c.useMemo(()=>{const i=z1({routeId:n.at(-1)?.id,params:t,errorStatus:ut(e)?e.status:void 0});return{pageId:i,pageRevision:U1[i],locale:s.toLowerCase()}},[n,t,e,s])},W1=({value:n})=>{const t=Gt();return c.useEffect(()=>{t.register({source_page_id:n.pageId,locale:n.locale,...n.pageRevision?{page_revision:n.pageRevision}:{}}),n.pageRevision||t.unregister("page_revision")},[t,n]),null},$1=/chrome\/(?:\d+\.){3}\d{4,}/i,G1=n=>$1.test(n),B1=n=>typeof navigator<"u"&&G1(navigator.userAgent)?null:n,q1="_container_tz4ux_13",J1={container:q1},Y1="/assets/apple-touch-icon-BEsXynRc.png",K1="/assets/favicon-Al2JfVNp.ico",X1="_container_13o82_1",at={container:X1},vs=()=>{const n=ht();return ut(n)?a.jsxs("div",{className:at.container,children:[a.jsxs("h1",{children:[n.status," ",n.statusText]}),a.jsx("p",{children:n.data})]}):n instanceof Error?a.jsxs("div",{className:at.container,children:[a.jsx("h1",{children:"Error"}),a.jsx("p",{children:n.message}),a.jsx("p",{children:"The stack trace is:"}),a.jsx("pre",{children:n.stack})]}):a.jsx("h1",{children:"Unknown Error"})},Q1={ar:async()=>m(()=>import("./ar-CAbaERSd.js"),[]),en:async()=>m(()=>import("./en-B6q1XCoh.js"),[]),de:async()=>m(()=>import("./de-WXxYc0S-.js"),[]),es:async()=>m(()=>import("./es-8vmTpUOR.js"),[]),fi:async()=>m(()=>import("./fi-CF2jPQOf.js"),[]),fr:async()=>m(()=>import("./fr-umMT8f55.js"),[]),it:async()=>m(()=>import("./it-CHPGHUNR.js"),[]),ja:async()=>m(()=>import("./ja-mTb_UceQ.js"),[]),ko:async()=>m(()=>import("./ko-BiijLOto.js"),[]),nl:async()=>m(()=>import("./nl-42c44Sos.js"),[]),"pl-PL":async()=>m(()=>import("./pl-pl-DVS7U0fy.js"),[]),"pt-PT":async()=>m(()=>import("./pt-pt-uB_xfRMy.js"),[]),"pt-BR":async()=>m(()=>import("./pt-br-CwYS3EOv.js"),[]),ru:async()=>m(()=>import("./ru-yMkRQ5DO.js"),[]),sv:async()=>m(()=>import("./sv-KxLLqmOO.js"),[]),th:async()=>m(()=>import("./th-BkrOgykq.js"),[]),"tr-TR":async()=>m(()=>import("./tr-tr-BNwqe2_P.js"),[]),"zh-CN":async()=>m(()=>import("./zh-cn-Cb4rqFmZ.js"),[]),"zh-HK":async()=>m(()=>import("./zh-hk--cNaXjDI.js"),[]),"zh-TW":async()=>m(()=>import("./zh-tw-BFQUKAIK.js"),[])},B=new ne(Q1,"en");ie(B);B.translate.bind(B);const O=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,wt=new Set,q=typeof process=="object"&&process?process:{},bt=(n,t,e,s)=>{typeof q.emitWarning=="function"?q.emitWarning(n,t,e,s):console.error(`[${e}] ${t}: ${n}`)};let N=globalThis.AbortController,lt=globalThis.AbortSignal;if(typeof N>"u"){lt=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(s,i){this._onabort.push(i)}},N=class{constructor(){t()}signal=new lt;abort(s){if(!this.signal.aborted){this.signal.reason=s,this.signal.aborted=!0;for(const i of this.signal._onabort)i(s);this.signal.onabort?.(s)}}};let n=q.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";
vendor: 4,711 bytes, line 1
1const t=()=>{n&&(n=!1,bt("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const ts=n=>!wt.has(n),T=n=>n&&n===Math.floor(n)&&n>0&&isFinite(n),vt=n=>T(n)?n<=Math.pow(2,8)?Uint8Array:n<=Math.pow(2,16)?Uint16Array:n<=Math.pow(2,32)?Uint32Array:n<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class k{heap;length;static#l=!1;static create(t){const e=vt(t);if(!e)return[];k.#l=!0;const s=new k(t,e);return k.#l=!1,s}constructor(t,e){if(!k.#l)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class K{#l;#u;#p;#C;#A;#O;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#i;#s;#t;#c;#d;#a;#o;#_;#r;#w;#b;#f;#v;#F;#h;static unsafeExposeInternals(t){return{starts:t.#b,ttls:t.#f,sizes:t.#w,keyMap:t.#i,keyList:t.#s,valList:t.#t,next:t.#c,prev:t.#d,get head(){return t.#a},get tail(){return t.#o},free:t.#_,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,s,i,o)=>t.#M(e,s,i,o),moveToTail:e=>t.#j(e),indexes:e=>t.#y(e),rindexes:e=>t.#S(e),isStale:e=>t.#g(e)}}get max(){return this.#l}get maxSize(){return this.#u}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#A}get memoMethod(){return this.#O}get dispose(){return this.#p}get disposeAfter(){return this.#C}constructor(t){const{max:e=0,ttl:s,ttlResolution:i=1,ttlAutopurge:o,updateAgeOnGet:r,updateAgeOnHas:l,allowStale:h,dispose:d,disposeAfter:g,noDisposeOnSet:u,noUpdateTTL:p,maxSize:C=0,maxEntrySize:E=0,sizeCalculation:_,fetchMethod:v,memoMethod:f,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:S,ignoreFetchAbort:M}=t;if(e!==0&&!T(e))throw new TypeError("max option must be a nonnegative integer");const L=e?vt(e):Array;if(!L)throw new Error("invalid max value: "+e);if(this.#l=e,this.#u=C,this.maxEntrySize=E||this.#u,this.sizeCalculation=_,this.sizeCalculation){if(!this.#u&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#O=f,v!==void 0&&typeof v!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#A=v,this.#F=!!v,this.#i=new Map,this.#s=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#c=new L(e),this.#d=new L(e),this.#a=0,this.#o=0,this.#_=k.create(e),this.#n=0,this.#m=0,typeof d=="function"&&(this.#p=d),typeof g=="function"?(this.#C=g,this.#r=[]):(this.#C=void 0,this.#r=void 0),this.#v=!!this.#p,this.#h=!!this.#C,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!M,this.maxEntrySize!==0){if(this.#u!==0&&!T(this.#u))throw new TypeError("maxSize must be a positive integer if specified");if(!T(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#z()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!l,this.ttlResolution=T(i)||i===0?i:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!T(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#I()}if(this.#l===0&&this.ttl===0&&this.#u===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#l&&!this.#u){const H="LRU_CACHE_UNBOUNDED";ts(H)&&(wt.add(H),bt("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",H,K))}}getRemainingTTL(t){return this.#i.has(t)?1/0:0}#I(){const t=new D(this.#l),e=new D(this.#l);this.#f=t,this.#b=e,this.#H=(o,r,l=O.now())=>{if(e[o]=r!==0?l:0,t[o]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#g(o)&&this.#E(this.#s[o],"expire")},r+1);h.unref&&h.unref()}},this.#L=o=>{e[o]=t[o]!==0?O.now():0},this.#x=(o,r)=>
1{if(t[r]){const l=t[r],h=e[r];if(!l||!h)return;o.ttl=l,o.start=h,o.now=s||i();const d=o.now-h;o.remainingTTL=l-d}};let s=0;const i=()=>{const o=O.now();if(this.ttlResolution>0){s=o;const r=setTimeout(()=>s=0,this.ttlResolution);r.unref&&r.unref()}return o};this.getRemainingTTL=o=>{const r=this.#i.get(o);if(r===void 0)return 0;const l=t[r],h=e[r];if(!l||!h)return 1/0;const d=(s||i())-h;return l-d},this.#g=o=>{const r=e[o],l=t[o];return!!l&&!!r&&(s||i())-r>l}}#L=()=>{};#x=()=>{};#H=()=>{};#g=()=>!1;#z(){const t=new D(this.#l);this.#m=0,this.#w=t,this.#T=e=>{this.#m-=t[e],t[e]=0},this.#D=(e,s,i,o)=>{if(this.#e(s))return 0;if(!T(i))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(i=o(s,e),!T(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#k=(e,s,i)=>{if(t[e]=s,this.#u){const o=this.#u-t[e];for(;this.#m>o;)this.#R(!0)}this.#m+=t[e],i&&(i.entrySize=s,i.totalCalculatedSize=this.#m)}}#T=t=>{};#k=(t,e,s)=>{};#D=(t,e,s,i)=>{if(s||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#y({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#o;!(!this.#V(e)||((t||!this.#g(e))&&(yield e),e===this.#a));)e=this.#d[e]}*#S({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#a;!(!this.#V(e)||((t||!this.#g(e))&&(yield e),e===this.#o));)e=this.#c[e]}#V(t){return t!==void 0&&this.#i.get(this.#s[t])===t}*entries(){for(const t of this.#y())this.#t[t]!==void 0&&this.#s[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#s[t],this.#t[t]])}*rentries(){for(const t of this.#S())this.#t[t]!==void 0&&this.#s[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#s[t],this.#t[t]])}*keys(){for(const t of this.#y()){const e=this.#s[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#S()){const e=this.#s[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#y())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#S())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const s of this.#y()){const i=this.#t[s],o=this.#e(i)?i.__staleWhileFetching:i;if(o!==void 0&&t(o,this.#s[s],this))return this.get(this.#s[s],e)}}forEach(t,e=this){for(const s of this.#y()){const i=this.#t[s],o=this.#e(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(e,o,this.#s[s],this)}}rforEach(t,e=this){for(const s of this.#S()){const i=this.#t[s],o=this.#e(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(e,o,this.#s[s],this)}}purgeStale(){let t=!1;for(const e of this.#S({allowStale:!0}))this.#g(e)&&(this.#E(this.#s[e],"expire"),t=!0);return t}info(t){const e=this.#i.get(t);if(e===void 0)return;const s=this.#t[e],i=this.#e(s)?s.__staleWhileFetching:s;if(i===void 0)return;const o={value:i};if(this.#f&&this.#b){const r=this.#f[e],l=this.#b[e];if(r&&l){const h=r-(O.now()-l);o.ttl=h,o.start=Date.now()}}return this.#w&&(o.size=this.#w[e]),o}dump(){const t=[];for(const e of this.#y({allowStale:!0})){const s=this.#s[e],i=this.#t[e],o=this.#e(i)?i.__staleWhileFetching:i;if(o===void 0||s===void 0)continue;const r={value:o};if(this.#f&&this.#b){r.ttl=this.#f[e];const l=O.now()-this.#b[e];r.start=Math.floor(Date.now()-l)}this.#w&&(r.size=this.#w[e]),t.unshift([s,r])}return t}load(t){this.clear();for(const[e,s]of t){if(s.start){const i=Date.now()-s.start;s.start=O.now()-i}this.set(e,s.value,s)}}set(t,e,s={}){if(e===void 0)return this.delete(t),this;const{ttl:i=this.ttl,start:o,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:h}=s;let{noUpdateTTL:d=this.noUpdateTTL}=s;const g=this.#D(t,e,s.size||0,l);if(this.maxEntrySize&&g>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#E(t,"set"),this;let u=this.#n===0?void 0:this.#i.get(t);if(u===void 0)u=this.#n===0?this.#o:this.#_.length!==0?this.#_.pop():this.#n===this.#l?this.#R(!1):this.#n,this.#s[u]=t,this.#t[u]=e,this.#i.set(t,u),this.#c[this.#o]=u,this.#d[u]=this.#o,this.#o=u,this.#n++,this.#k(u,g,h),h&&(h.set="add"),d=!1;else{this.#j(u);const p=this.#t[u];if(e!==p){if(this.#F&&this.#e(p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:C}=p;C!==void 0&&!r&&(this.#v&&this.#p?.(C,t,"set"),this.#h&&this.#r?.push([C,t,"set"]))}else r||(this.#v&&this.#p?.(p,t,"set"),this.#h&&this.#r?.push([p,t,"set"]));if(this.#T(u),this.#k(u,g,h),this.#t[u]=e,h){h.set="replace";const C=p&&this.#e(p)?p.__staleWhileFetching:p;C!==void 0&&(h.oldValue=C)}}else h&&(h.set="update")}if(i!==0&&!this.#f&&this.#I(),this.#f&&(d||this.#H(u,i,o),h&&this.#x(h,u)),!r&&this.#h&&this.#r){const p=this.#r;let C;for(;C=p?.shift();)this.#C?.(...C)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#a];if(this.#R(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#h&&this.#r){const t=this.#r;let e;for(;e=t?.shift();)this.#C?.(...e)}}}#R(t){const e=this.#a,s=this.#s[e],i=this.#t[e];return this.#F&&this.#e(i)?i.__abortController.abort(new Error("evicted")):(this.#v||this.#h)&&(this.#v&&this.#p?.(i,s,"evict"),this.#h&&this.#r?.push([i,s,"evict"])),this.#T(e),t&&(this.#s[e]=void 0,this.#t[e]=void 0,this.#_.push(e)),this.#n===1?(this.#a=this.#o=0,this.#_.length=0):this.#a=this.#c[e],this.#i.delete(s),this.#n--,e}has(t,e={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:i}=e,o=this.#i.get(t);if(o!==void 0){const r=this.#t[o];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#g(o))i&&(i.has="stale",this.#x(i,o));else return s&&this.#L(o),i&&(i.has="hit",this.#x(i,o)),!0}else i&&(i.has="miss");return!1}peek(t,e={}){const{allowStale:s=this.allowStale}=e,i=this.#i.get(t);if(i===void 0||!s&&this.#g(i))return;const o=this.#t[i];return this.#e(o)?o.__staleWhileFetching:o}#M(t,e,s,i){const o=e===void 0?void 0:this.#t[e];
1if(this.#e(o))return o;const r=new N,{signal:l}=s;l?.addEventListener("abort",()=>r.abort(l.reason),{signal:r.signal});const h={signal:r.signal,options:s,context:i},d=(_,v=!1)=>{const{aborted:f}=r.signal,b=s.ignoreFetchAbort&&_!==void 0;if(s.status&&(f&&!v?(s.status.fetchAborted=!0,s.status.fetchError=r.signal.reason,b&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),f&&!b&&!v)return u(r.signal.reason);const x=C;return this.#t[e]===C&&(_===void 0?x.__staleWhileFetching?this.#t[e]=x.__staleWhileFetching:this.#E(t,"fetch"):(s.status&&(s.status.fetchUpdated=!0),this.set(t,_,h.options))),_},g=_=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=_),u(_)),u=_=>{const{aborted:v}=r.signal,f=v&&s.allowStaleOnFetchAbort,b=f||s.allowStaleOnFetchRejection,x=b||s.noDeleteOnFetchRejection,w=C;if(this.#t[e]===C&&(!x||w.__staleWhileFetching===void 0?this.#E(t,"fetch"):f||(this.#t[e]=w.__staleWhileFetching)),b)return s.status&&w.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),w.__staleWhileFetching;if(w.__returned===w)throw _},p=(_,v)=>{const f=this.#A?.(t,o,h);f&&f instanceof Promise&&f.then(b=>_(b===void 0?void 0:b),v),r.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(_(void 0),s.allowStaleOnFetchAbort&&(_=b=>d(b,!0)))})};s.status&&(s.status.fetchDispatched=!0);const C=new Promise(p).then(d,g),E=Object.assign(C,{__abortController:r,__staleWhileFetching:o,__returned:void 0});return e===void 0?(this.set(t,E,{...h.options,status:void 0}),e=this.#i.get(t)):this.#t[e]=E,E}#e(t){if(!this.#F)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof N}async fetch(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:h=0,sizeCalculation:d=this.sizeCalculation,noUpdateTTL:g=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:C=this.ignoreFetchAbort,allowStaleOnFetchAbort:E=this.allowStaleOnFetchAbort,context:_,forceRefresh:v=!1,status:f,signal:b}=e;if(!this.#F)return f&&(f.fetch="get"),this.get(t,{allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:o,status:f});const x={allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:o,ttl:r,noDisposeOnSet:l,size:h,sizeCalculation:d,noUpdateTTL:g,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:E,ignoreFetchAbort:C,status:f,signal:b};let w=this.#i.get(t);if(w===void 0){f&&(f.fetch="miss");const S=this.#M(t,w,x,_);return S.__returned=S}else{const S=this.#t[w];if(this.#e(S)){const X=s&&S.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",X&&(f.returnedStale=!0)),X?S.__staleWhileFetching:S.__returned=S}const M=this.#g(w);if(!v&&!M)return f&&(f.fetch="hit"),this.#j(w),i&&this.#L(w),f&&this.#x(f,w),S;const L=this.#M(t,w,x,_),U=L.__staleWhileFetching!==void 0&&s;return f&&(f.fetch=M?"stale":"refresh",U&&M&&(f.returnedStale=!0)),U?L.__staleWhileFetching:L.__returned=L}}async forceFetch(t,e={}){const s=await this.fetch(t,e);if(s===void 0)throw new Error("fetch() returned undefined");return s}memo(t,e={}){const s=this.#O;if(!s)throw new Error("no memoMethod provided to constructor");const{context:i,forceRefresh:o,...r}=e,l=this.get(t,r);if(!o&&l!==void 0)return l;const h=s(t,l,{options:r,context:i});return this.set(t,h,r),h}get(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:r}=e,l=this.#i.get(t);if(l!==void 0){const h=this.#t[l],d=this.#e(h);return r&&this.#x(r,l),this.#g(l)?(r&&(r.get="stale"),d?(r&&s&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),s?h.__staleWhileFetching:void 0):(o||this.#E(t,"expire"),r&&s&&(r.returnedStale=!0),s?h:void 0)):(r&&(r.get="hit"),d?h.__staleWhileFetching:(this.#j(l),i&&this.#L(l),h))}else r&&(r.get="miss")}#N(t,e){this.#d[e]=t,this.#c[t]=e}#j(t){t!==this.#o&&(t===this.#a?this.#a=this.#c[t]:this.#N(this.#d[t],this.#c[t]),this.#N(this.#o,t),this.#o=t)}delete(t){return this.#E(t,"delete")}#E(t,e){let s=!1;if(this.#n!==0){const i=this.#i.get(t);if(i!==void 0)if(s=!0,this.#n===1)this.#P(e);else{this.#T(i);const o=this.#t[i];if(this.#e(o)?o.__abortController.abort(new Error("deleted")):(this.#v||this.#h)&&(this.#v&&this.#p?.(o,t,e),this.#h&&this.#r?.push([o,t,e])),this.#i.delete(t),this.#s[i]=void 0,this.#t[i]=void 0,i===this.#o)this.#o=this.#d[i];else if(i===this.#a)this.#a=this.#c[i];else{const r=this.#d[i];this.#c[r]=this.#c[i];const l=this.#c[i];this.#d[l]=this.#d[i]}this.#n--,this.#_.push(i)}}if(this.#h&&this.#r?.length){const i=this.#r;let o;for(;o=i?.shift();)this.#C?.(...o)}return s}clear(){return this.#P("delete")}#P(t){for(const e of this.#S({allowStale:!0})){const s=this.#t[e];
1if(this.#e(s))s.__abortController.abort(new Error("deleted"));else{const i=this.#s[e];this.#v&&this.#p?.(s,i,t),this.#h&&this.#r?.push([s,i,t])}}if(this.#i.clear(),this.#t.fill(void 0),this.#s.fill(void 0),this.#f&&this.#b&&(this.#f.fill(0),this.#b.fill(0)),this.#w&&this.#w.fill(0),this.#a=0,this.#o=0,this.#_.length=0,this.#m=0,this.#n=0,this.#h&&this.#r){const e=this.#r;let s;for(;s=e?.shift();)this.#C?.(...s)}}}const es=1e3*60*60*2;new K({max:1500,ttl:es});const ss=V({slug:y(),title:y(),description:y().optional(),authors:et(y()),tags:et(y()).optional(),date:y().nullish(),category:y(),isFeatured:we().optional(),status:_e(["published","draft"]).default("published")});V({documentId:y(),frontmatter:ss,readingTime:V({text:y(),minutes:st(),words:st()}),cover:y().optional(),content:y()});V({slug:y(),locale:y()});const Es=({location:{pathname:n},loaderData:t})=>{const e=oe(n);if(!t)throw new Error("No data provided to root meta loader, this may cause hydration issues.");const{url:s,language:i,phrases:o}=t;e===i?(Z.setPhrases(e,o.components),Y.setPhrases(e,o.app)):console.error(`Language mismatch between the pathname and the loader data: ${e} !== ${i}. Skipping phrases initialization.`);const r=Z.translate(e,"document.title"),l=Z.translate(e,"document.description");return Te({title:r,description:l,url:s,noSuffix:!0})},is=new De;is.update();Ee.setAppElement("body");const xs=()=>[{rel:"stylesheet",href:D1}],Fs=({children:n})=>{const t=ct(),e=mt(t.lang)??Y.defaultLanguage,{numbers:s,latestContent:i,rawGoogleOneTapConfig:o,isGoogleOneTapScriptEnabled:r,isDebuggingEnabled:l,isProduction:h}=Et("root")??{},d=xt(),g=d.pathname.includes(Fe),u=d.pathname.startsWith(Le),p=Z1();return Ze(),a.jsxs("html",{lang:e,dir:le(e),children:[a.jsxs("head",{children:[a.jsx("meta",{charSet:"utf-8"}),a.jsx("meta",{id:"meta-viewport",name:"viewport",content:"width=device-width, initial-scale=1"}),a.jsx("link",{rel:"apple-touch-icon",sizes:"180x180",href:Y1}),a.jsx("link",{rel:"icon",href:K1}),a.jsx(Tt,{}),a.jsx(jt,{}),z(r)&&a.jsx("script",{async:!0,defer:!0,src:"https://accounts.google.com/gsi/client"})]}),a.jsxs("body",{children:[a.jsx(Bt,{apiKey:Ve,options:{ui_host:Pe,api_host:Ne,defaults:ze,before_send:B1},children:a.jsxs(qt,{value:p,children:[a.jsx(W1,{value:p}),a.jsx(re,{currentLanguage:e,children:a.jsxs(ae,{currentLanguage:e,children:[a.jsx(r1,{}),a.jsx(Ke,{}),g?n:a.jsxs("div",{className:J1.container,children:[a.jsx(V1,{numbers:s,latestContent:i,isAlwaysScrolled:u}),n,a.jsx(H1,{isExternal:!1})]})]})})]})}),!g&&a.jsx(xe,{children:()=>a.jsx(i1,{rawGoogleOneTapConfig:o,isProduction:h,isDebuggingEnabled:l})}),a.jsx(Jt,{}),a.jsx(At,{})]})]})},ns=()=>a.jsx(Lt,{}),Ls=Ft(ns);export{vs as ErrorBoundary,Fs as Layout,Ls as default,xs as links,Es as meta};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.