1import{a as wr,b as mr,c as hr,e as br,f as vr,g as yr}from"/build/_shared/chunk-XOYECLEZ.js";import"/build/_shared/chunk-RMFTKMES.js";import{a as cr}from"/build/_shared/chunk-2UGC6GSS.js";import{a as pr}from"/build/_shared/chunk-J3DILR5N.js";import{a as P}from"/build/_shared/chunk-PUI4WY4C.js";import{b as dr}from"/build/_shared/chunk-ERGYRALH.js";import{a as L}from"/build/_shared/chunk-V7MC5P2C.js";import"/build/_shared/chunk-KB32KYM6.js";import"/build/_shared/chunk-JVTGCX3W.js";import"/build/_shared/chunk-6Y6EDOFE.js";import{b as sr}from"/build/_shared/chunk-AF2TDZNM.js";import{a as ir}from"/build/_shared/chunk-FKOS5VNA.js";import"/build/_shared/chunk-V4PJIKJ6.js";import"/build/_shared/chunk-TZL6KN7Q.js";import"/build/_shared/chunk-HZZZRVF2.js";import"/build/_shared/chunk-2AJHYZ4M.js";import"/build/_shared/chunk-LRIYULMN.js";import{c as tr}from"/build/_shared/chunk-2KHE6P2P.js";import"/build/_shared/chunk-34P4PJSV.js";import{b as lr}from"/build/_shared/chunk-G6KMEWMG.js";import"/build/_shared/chunk-VBOVRW34.js";import"/build/_shared/chunk-X6BPUB47.js";import{a as nr}from"/build/_shared/chunk-SK4F3DCK.js";import"/build/_shared/chunk-2NJ4Y3A2.js";import"/build/_shared/chunk-LD2G4X45.js";import"/build/_shared/chunk-X6ZZFMZY.js";import"/build/_shared/chunk-KORNKLM7.js";import"/build/_shared/chunk-UCVGISZR.js";import"/build/_shared/chunk-W6DNIOKY.js";import"/build/_shared/chunk-RGNJNZAY.js";import"/build/_shared/chunk-GCRXNC74.js";import{c as er,d as x}from"/build/_shared/chunk-6H2PGTGB.js";import"/build/_shared/chunk-AFZSRBV5.js";import"/build/_shared/chunk-K6KSPPME.js";import"/build/_shared/chunk-YCC2OL4I.js";import"/build/_shared/chunk-F2MOFN2T.js";import"/build/_shared/chunk-VUMSG2CF.js";import"/build/_shared/chunk-HFZSFX6O.js";import"/build/_shared/chunk-RGFXYCD5.js";import"/build/_shared/chunk-AGAHEH5I.js";import"/build/_shared/chunk-3ULT7TNV.js";import"/build/_shared/chunk-MPTFMGMI.js";import"/build/_shared/chunk-72SNPHXJ.js";import"/build/_shared/chunk-A4ETL7A3.js";import"/build/_shared/chunk-CYEFESVM.js";import"/build/_shared/chunk-O6GH4D3W.js";import"/build/_shared/chunk-C4VKP4KE.js";import"/build/_shared/chunk-43SALAQU.js";import{c as gr}from"/build/_shared/chunk-F4VGQQ57.js";import"/build/_shared/chunk-HPO5JZXW.js";import{b as I}from"/build/_shared/chunk-NATBGCYE.js";import"/build/_shared/chunk-NSBMOOHE.js";import"/build/_shared/chunk-22TBPZCR.js";import"/build/_shared/chunk-DODFWMOW.js";import"/build/_shared/chunk-3CD2D4MA.js";import"/build/_shared/chunk-V4V43NWA.js";import"/build/_shared/chunk-MCEBWQBH.js";import"/build/_shared/chunk-27YQVR5Y.js";import"/build/_shared/chunk-DWTKTBKX.js";import"/build/_shared/chunk-I3TOSABZ.js";import"/build/_shared/chunk-MFGD4SC2.js";import"/build/_shared/chunk-434U527B.js";import"/build/_shared/chunk-RKBS4JEA.js";import"/build/_shared/chunk-7HN4JFOL.js";import"/build/_shared/chunk-B3EZG6NX.js";import"/build/_shared/chunk-6A4BUUF4.js";import"/build/_shared/chunk-4PKRDR6H.js";import"/build/_shared/chunk-Y6LHCMUF.js";import{b as m}from"/build/_shared/chunk-3ZWKFIRZ.js";import"/build/_shared/chunk-VXBL3WA4.js";import"/build/_shared/chunk-THLMESR6.js";import"/build/_shared/chunk-E42WR7TZ.js";import"/build/_shared/chunk-GFPTNRPZ.js";import"/build/_shared/chunk-5W2A676A.js";import{b as ar}from"/build/_shared/chunk-LJMIFWWV.js";import{a as Hr}from"/build/_shared/chunk-JW4P2HUS.js";import{A as or,a as W,b as S,g as j,i as F,k as Z,l as M,m as U,o as z,q as O,r as G,s as V,t as T,u as $,v as Q,w as K,y as rr}from"/build/_shared/chunk-SEDDZNED.js";import"/build/_shared/chunk-WLTFFS2M.js";import{a as g}from"/build/_shared/chunk-Z45G6HN7.js";import{a as k}from"/build/_shared/chunk-2VNXVMCI.js";import{c as C,e as n}from"/build/_shared/chunk-XDMRC4Q6.js";var fr=C((io,ur)=>{ur.exports={}});var J=C((X,kr)=>{(function(t,a){typeof X=="object"&&typeof kr<"u"?a(X,k()):typeof define=="function"&&define.amd?define(["exports","react"],a):(t=t||self,a(t.spinDelay={},t.react))})(X,function(t,a){let i={delay:500,minDuration:200};function p(e,o){o=Object.assign({},i,o);let[c,w]=a.useState("IDLE"),d=a.useRef(null);return a.useEffect(()=>{e&&c==="IDLE"&&(clearTimeout(d.current),d.current=setTimeout(()=>{if(!e)return w("IDLE");d.current=setTimeout(()=>{w("EXPIRE")},o.minDuration),w("DISPLAY")},o.delay),w("DELAY")),!e&&c!=="DISPLAY"&&(clearTimeout(d.current),w("IDLE"))},[e,c,o.delay,o.minDuration]),a.useEffect(()=>()=>clearTimeout(d.current),[]),c==="DISPLAY"||c==="EXPIRE"}t.default=p,t.defaultOptions=i,t.useSpinDelay=p})});var Ir=C((fo,Mr)=>{Mr.exports={}});var Xr=C((qo,_r)=>{_r.exports={}});var Gr=n(Hr(),1);var R="/build/_assets/tailwind-ER4R7Y2J.css";var _="/build/_assets/app-N7BTTBX2.css";var xr="/build/_assets/pwa-standalone-D4VJKVVI.css";var Pr=n(fr(),1);var v=n(k(),1);var Yr=n(J(),1);var l=n(g(),1),zr=!1;function B({loading:t}){let{t:a}=m(),i=j(),[,p]=(0,v.useState)([]),[e,o]=(0,v.useState)(""),c=(0,Yr.useSpinDelay)(Boolean(i.state!=="idle"||t),{delay:400,minDuration:1e3});(0,v.useEffect)(()=>
1{if(i.location?.pathname==="/"||i.state==="idle")return;i.state==="loading"&&p(Ur),i.state==="submitting"&&p(Or);let d=setInterval(()=>{p(([f,...Y])=>[...Y,f])},2e3);return()=>clearInterval(d)},[e,i.state]),(0,v.useEffect)(()=>{zr||i.state!=="idle"&&o(i.location.pathname)},[i]),(0,v.useEffect)(()=>{zr=!1},[]);let w=i.state==="loading"?a("common:loading"):a("common:processing");return(0,l.jsx)("div",{"aria-live":"assertive",className:"floating-loader pointer-events-none fixed inset-0 z-50 flex items-end px-4 py-6 sm:p-6",children:(0,l.jsx)("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end",children:(0,l.jsx)(tr,{show:c,as:v.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-4",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)("div",{className:"pointer-events-auto w-64 max-w-sm overflow-hidden rounded-lg bg-background p-2 shadow-lg ring-1 ring-black ring-opacity-5",children:(0,l.jsx)("div",{className:"space-y-2 pt-2 pb-2 text-center",children:(0,l.jsxs)("div",{className:"flex h-auto w-full items-center space-x-4 px-3 text-center",children:[(0,l.jsx)("div",{className:"loader h-10 w-10 flex-shrink-0 rounded-full border-4 border-t-4 border-border text-left ease-linear"}),(0,l.jsxs)("div",{className:"flex flex-col truncate text-muted-foreground",children:[(0,l.jsxs)("div",{className:"text-left",children:[w,"..."]}),i.location?.pathname&&(0,l.jsxs)("div",{className:"truncate text-left text-base lowercase text-muted-foreground",children:[a("common:path"),": ",i.location?.pathname]})]})]})})})})})})}var Ur=["loading","checking cdn","checking cache","fetching from db","compiling mdx","updating cache","transfer"],Or=["packaging","zapping","validating","processing","calculating","computing","computering"];var qr=n(J(),1),Sr=n(g(),1);function Cr(){let t=j();return(0,qr.useSpinDelay)(t.state!=="idle",{delay:400,minDuration:800})?(0,Sr.jsx)("div",{className:"mobile-loading-bar md:hidden","aria-hidden":"true"}):null}var jr=n(k(),1);var s=n(g(),1);function A(){let{t}=m(),a=U(),i=S(),{userSession:p}=I(),[e]=M(),[o,c]=(0,jr.useState)(!1);function w(d){let f=x.getUpdateCookieConsentForm({selectedCookies:d,location:i,searchParams:e});a(f,{method:"post",action:"/"})}return(0,s.jsx)(s.Fragment,{children:x.requiresCookieConsent(p,e)&&(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"fixed inset-x-0 bottom-0 z-10 pb-2 sm:pb-5",children:(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-2 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"rounded-lg bg-theme-600 p-2 shadow-lg sm:p-3",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-between space-y-2 sm:flex-row sm:space-y-0",children:[(0,s.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,s.jsx)("div",{className:"rounded-full bg-theme-700 p-1",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-theme-400",viewBox:"0 0 20 20",fill:"currentColor",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"font-medium text-white",children:[(0,s.jsxs)("span",{className:"md:hidden",children:[" ",t("common:cookie.titleSmall")," "]}),(0,s.jsxs)("span",{className:"hidden md:inline",children:[" ",t("common:cookie.title")," "]})]}),(0,s.jsxs)("p",{className:"text-base font-light text-gray-100",children:[(0,s.jsxs)("span",{className:"md:hidden",children:[t("common:cookie.descriptionSmall")," ",(0,s.jsx)(z,{to:"/privacy-policy",className:"underline",children:t("common:learnMore")}),"."," "]}),(0,s.jsxs)("span",{className:"hidden md:inline",children:[" ",t("common:cookie.description")," ",(0,s.jsx)(z,{to:"/privacy-policy",className:"underline",children:t("common:learnMore")})," "]})]})]})]}),(0,s.jsx)("div",{className:"w-full border-t border-theme-300 sm:hidden"}),(0,s.jsxs)("div",{className:"flex w-full flex-shrink-0 flex-col space-y-2 sm:mt-0 sm:w-auto
1sm:flex-row sm:space-x-2 sm:space-y-0",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>c(!0),className:"flex items-center justify-center rounded-md border border-transparent px-4 py-2 text-base font-medium text-theme-50 underline hover:text-gray-100 focus:outline-none sm:order-first",children:[" ",t("admin:cookies.settings")," "]}),(0,s.jsxs)("button",{onClick:()=>w(er),className:"flex items-center justify-center rounded-md border border-transparent bg-background px-4 py-2 text-base font-medium text-theme-600 shadow-sm hover:bg-theme-50 focus:outline-none",children:[" ",t("common:cookie.accept")," "]})]})]})})})}),o&&(0,s.jsx)(ir,{onClose:()=>c(!1),children:(0,s.jsx)(sr,{})})]})})}var N=n(k(),1);var Lr=n(Ir(),1);var u=n(g(),1);function H(){let{t}=m();return(0,u.jsxs)("div",{className:"flex h-screen flex-col items-center justify-center space-y-2",children:[(0,u.jsx)("h1",{className:"text-4xl font-bold",children:t("common:maintenance.title")}),(0,u.jsx)("p",{className:"text-xl",children:t("common:maintenance.description")}),(0,u.jsx)(z,{to:".",className:"text-base text-muted-foreground underline",children:t("common:clickHereToTryAgain")})]})}var Vr=n(Xr(),1);var y=n(g(),1);function Ar(){let{toasts:t}=lr();return(0,y.jsxs)(wr,{children:[t.map(function({id:a,title:i,description:p,action:e,...o}){return(0,y.jsxs)(hr,{...o,children:[(0,y.jsxs)("div",{className:"grid gap-1",children:[i&&(0,y.jsx)(vr,{children:i}),p&&(0,y.jsx)(yr,{children:p})]}),e,(0,y.jsx)(br,{})]},a)}),(0,y.jsx)(mr,{})]})}var Nr=n(g());var Dr=n(k());function Er(t){let{i18n:a}=m();(0,Dr.useEffect)(()=>{a.changeLanguage(t)},[t,a])}var r=n(g(),1);var $r=()=>[{rel:"stylesheet",href:R},{rel:"stylesheet",href:_},{rel:"stylesheet",href:P},{rel:"stylesheet",href:xr}],Qr={i18n:["common","auth","admin","membership","space","event","course","user","payment","error"]};function Kr({formAction:t,currentUrl:a,nextUrl:i}){return!!(t||a.hostname!==i.hostname||Tr(a)!==Tr(i))}function Tr(t){let a=t.hostname.replace("www.","");if(!a.includes("localhost")&&a.includes(".")){let e=a.split(".");return e.length>=3&&isNaN(Number(e[e.length-1]))?`host:${e[0]}`:`host:${a}`}let i=t.pathname;if(i.startsWith("/app/")||i.startsWith("/admin/")){let e=i.split("/")[2];return e?`path:${e}`:null}let p=i.match(/^\/([^/]+)\/(community-login|community-register)/);return p?`path:${p[1]}`:null}var ro=({data:t})=>t?.metatags??[];function Rr({children:t,lang:a="en",dir:i="ltr"}){let{t:p}=m(),e=S(),o=I(),[c,w]=(0,N.useState)(""),d=T(),f=K(),[Y]=M();(0,N.useEffect)(()=>{if(c==e.pathname)return;let b=d.find(E=>E.pathname==e.pathname);w(e.pathname);async function q(){let E=Y?"?"+Y.toString():"";await nr({url:e.pathname+E,route:b?.id,rootData:o})}},[c,e,o,f]);let h=d.find(b=>b?.handle?.serverOnly),D=e.pathname.startsWith("/admin"),Br=!h&&o.userSession?.lightOrDarkMode==="dark"?"dark":"";return(0,r.jsxs)("html",{lang:a,dir:i,className:Br,children:[(0,r.jsxs)("head",{children:[(0,r.jsx)(G,{}),(0,r.jsx)("meta",{name:"translation-manifest",content:JSON.stringify(o.translationManifest??{})}),(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:` 2.icon-tiktok:before,.icon-discord:before{content:'';display:inline-block;width:1em;height:1em;background:currentColor;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat} 3.icon-tiktok:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1-2.89-2.89 2.89 2.89 0 0 1 2.89-2.89c.28 0 .54.04.79.1v-3.51a6.37 6.37 0 0 0-.79-.05 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.72a8.16 8.16 0 0 0 4.76 1.51V6.69h-1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1-2.89-2.89 2.89 2.89 0 0 1 2.89-2.89c.28 0 .54.04.79.1v-3.51a6.37 6.37 0 0 0-.79-.05 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.72a8.16 8.16 0 0 0 4.76 1.51V6.69h-1z'/%3E%3C/svg%3E")} 4.icon-discord:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18
41.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E")} 5`}}),h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{src:"https://cdn.tailwindcss.com/3.4.16?plugins=typography,forms,line-clamp"}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:` 6 tailwind.config = { 7 // class strategy: dark variants only fire when .dark is on an 8 // ancestor. Public pages never apply .dark to html (see 9 // htmlClassName gating in root.tsx), so dark: variants are 10 // effectively disabled here. Avoids the CDN default of 'media' 11 // which would auto-trigger from OS preference. 12 darkMode: 'class', 13 theme: { 14 extend: { 15 colors: { 16 primary: { 17 DEFAULT: 'hsl(var(--primary))', 18 foreground: 'hsl(var(--primary-foreground))', 19 50: 'rgb(var(--color-primary-50) / <alpha-value>)', 20 100: 'rgb(var(--color-primary-100) / <alpha-value>)', 21 200: 'rgb(var(--color-primary-200) / <alpha-value>)', 22 300: 'rgb(var(--color-primary-300) / <alpha-value>)', 23 400: 'rgb(var(--color-primary-400) / <alpha-value>)', 24 500: 'rgb(var(--color-primary-500) / <alpha-value>)', 25 600: 'rgb(var(--color-primary-600) / <alpha-value>)', 26 700: 'rgb(var(--color-primary-700) / <alpha-value>)', 27 800: 'rgb(var(--color-primary-800) / <alpha-value>)', 28 900: 'rgb(var(--color-primary-900) / <alpha-value>)', 29 950: 'rgb(var(--color-primary-950) / <alpha-value>)', 30 }, 31 secondary: { 32 DEFAULT: 'hsl(var(--secondary))', 33 foreground: 'hsl(var(--secondary-foreground))', 34 50: 'rgb(var(--color-secondary-50) / <alpha-value>)', 35 100: 'rgb(var(--color-secondary-100) / <alpha-value>)', 36 200: 'rgb(var(--color-secondary-200) / <alpha-value>)', 37 300: 'rgb(var(--color-secondary-300) / <alpha-value>)', 38 400: 'rgb(var(--color-secondary-400) / <alpha-value>)', 39 500: 'rgb(var(--color-secondary-500) / <alpha-value>)', 40 600: 'rgb(var(--color-secondary-600) / <alpha-value>)', 41 700: 'rgb(var(--color-secondary-700) / <alpha-value>)', 42 800: 'rgb(var(--color-secondary-800) / <alpha-value>)', 43 900: 'rgb(var(--color-secondary-900) / <alpha-value>)', 44 950: 'rgb(var(--color-secondary-950) / <alpha-value>)', 45 }, 46 accent: { 47 DEFAULT: 'hsl(var(--accent))', 48 foreground: 'hsl(var(--accent-foreground))', 49 50: 'rgb(var(--color-accent-50) / <alpha-value>)', 50 100: 'rgb(var(--color-accent-100) / <alpha-value>)', 51 200: 'rgb(var(--color-accent-200) / <alpha-value>)', 52 300: 'rgb(var(--color-accent-300) / <alpha-value>)', 53 400: 'rgb(var(--color-accent-400) / <alpha-value>)', 54 500: 'rgb(var(--color-accent-500) / <alpha-value>)', 55 600: 'rgb(var(--color-accent-600) / <alpha-value>)', 56 700: 'rgb(var(--color-accent-700) / <alpha-value>)', 57 800: 'rgb(var(--color-accent-800) / <alpha-value>)', 58 900: 'rgb(var(--color-accent-900) / <alpha-value>)', 59 950: 'rgb(var(--color-accent-950) / <alpha-value>)', 60 }, 61 background: 'hsl(var(--background))', 62 foreground: 'hsl(var(--foreground))', 63 muted: { 64 DEFAULT: 'hsl(var(--muted))', 65 foreground: 'hsl(var(--muted-foreground))', 66 }, 67 border: 'hsl(var(--border))', 68 ring: 'hsl(var(--ring))', 69 }, 70 fontFamily: { 71 body: ['var(--font-body)', 'ui-sans-serif', 'system-ui', 'sans-serif'], 72 heading: ['var(--font-heading)', 'var(--font-body)', 'ui-sans-serif', 'system-ui', 'sans-serif'], 73 }, 74 }, 75 }, 76 }; 77 `}}),(0,r.jsx)("link",{rel:"stylesheet",href:_}),(0,r.jsx)("link",{rel:"stylesheet",href:P}),(0,r.jsx)(L,{siteStyles:o.siteStyles,isAdminRoute:D,pathname:e.pathname}),(0,r.jsx)("script",{defer:!0,dangerouslySetInnerHTML:{__html:` 78 function loadLibraryFromCDN(url, callback) { 79 if (document.querySelector(\`script[src="\${url}"]\`)) { 80 if (callback) callback(); 81 return; 82 } 83 const script = document.createElement('script'); 84 script.src = url; 85 script.defer = true; 86 document.head.appendChild(script); 87 script.onload = () => { 88 if (callback) callback(); 89 }; 90 script.onerror = function() { 91 console.error(\`Failed to load library: \${url}\`); 92 }; 93 } 94 `}}),(0,r.jsx)("script",{src:"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"}),(0,r.jsx)("script",{src:"https://cdn.jsdelivr.net/npm/[email protected]/dist/ScrollTrigger.min.js"}),!!h?.data?.page?.script?.length&&h.data.page.script.map((b,q)=>(0,r.jsx)("script",{src:b,defer:!0},q)),!!h?.data?.page?.css?.length&&h.data.page.css.map((b,q)=>(0,r.jsx)("link",{rel:"stylesheet",href:b},q)),!!h?.data?.page?.scripts&&(0,r.jsx)("script",{defer:!0,dangerouslySetInnerHTML:{__html:h.data.page.scripts}})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(or,{}),(0,r.jsx)(V,{}),(0,r.jsx)("link",{rel:"stylesheet",href:R}),(0,r.jsx)("link",{rel:"stylesheet",href:_}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css?family=Public Sans",rel:"stylesheet"}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@400;600;700&family=Space+Grotesk:wght@400;600;700&display=swap",rel:"stylesheet"}),(0,r.jsx)(L,{siteStyles:o.siteStyles,isAdminRoute:D,pathname:e.pathname}),(0,r.jsx)(rr,{}),(0,r.jsx)(O,{})]}),!D&&o.analyticsEnabled&&o.tinybirdDataHost&&o.tinybirdDataToken&&o.tinybirdDataHost!=="undefined"&&o.tinybirdDataToken!=="undefined"&&(0,r.jsx)("script",{defer:!0,src:"https://unpkg.com/@tinybirdco/flock.js",tb_customer_id:o?.branding?.tenantId?o?.branding?.tenantId:"uni8","data-host":o.tinybirdDataHost,"data-token":o.tinybirdDataToken}),(o?.branding?.brandingFavicon||o?.branding?.brandingIcon)&&!e.pathname.startsWith("/admin")?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"icon",href:o.branding.brandingFavicon||o.branding.brandingIcon}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:o.branding.brandingIcon||o.branding.brandingFavicon||o.branding.brandingLogo})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-icon-192x192.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/favicon-96x96.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/apple-icon-180x180.png"})]}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,r.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,r.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),(0,r.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}
94),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),o.appConfiguration?.auth.recaptcha.enabled&&(0,r.jsx)("script",{src:"https://www.google.com/recaptcha/api.js",async:!0,defer:!0})]}),(0,r.jsxs)("body",{className:ar("dark:bg-slate-900 max-h-full min-h-screen max-w-full text-foreground"),children:[!h&&(0,r.jsx)(B,{}),!h&&(0,r.jsx)(Cr,{}),o.featureFlags?.includes("maintenance")&&!e.pathname.startsWith("/admin")&&!e.pathname.startsWith("/login")?(0,r.jsx)(H,{}):t,!o.debug&&o.appConfiguration?.analytics.enabled&&(0,r.jsxs)(r.Fragment,{children:[o.appConfiguration?.analytics.simpleAnalytics&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{async:!0,defer:!0,src:"https://scripts.simpleanalyticscdn.com/latest.js"}),(0,r.jsx)("noscript",{children:(0,r.jsx)("img",{src:"https://queue.simpleanalyticscdn.com/noscript.gif",alt:"privacy-friendly-simpleanalytics",referrerPolicy:"no-referrer-when-downgrade"})})]}),o.appConfiguration?.analytics.plausibleAnalytics&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("script",{defer:!0,"data-domain":o.domainName,src:"https://plausible.io/js/script.js"})}),x.hasConsent(o.userSession,3)&&(0,r.jsx)(r.Fragment,{children:o.appConfiguration?.analytics.googleAnalyticsTrackingId&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${o.appConfiguration?.analytics.googleAnalyticsTrackingId}`}),(0,r.jsx)("script",{async:!0,id:"gtag-init",dangerouslySetInnerHTML:{__html:` 95 window.dataLayer = window.dataLayer || []; 96 function gtag(){dataLayer.push(arguments);} 97 gtag('js', new Date()); 98 gtag('config', '${o.appConfiguration?.analytics.googleAnalyticsTrackingId}', { 99 page_path: window.location.pathname, 100 }); 101 `}})]})})]}),o.chatWebsiteId&&(["/app","/admin"].some(b=>e.pathname.startsWith(b))||x.hasConsent(o.userSession,1))&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:`<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="${o.chatWebsiteId}";(function(){d = document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();<\/script>`}}),o.appConfiguration?.cookies.enabled&&!o?.branding?.tenantId&&(0,r.jsx)(A,{}),o?.branding?.cookiesEnabled&&o?.branding?.tenantId&&(0,r.jsx)(A,{})]})]},o.userSession?.lng)}function Jr(){let{locale:t}=$(),{i18n:a}=m();Er(t);let p=T().some(e=>e?.handle?.serverOnly);return(0,r.jsxs)(Rr,{lang:t,dir:a.dir(),children:[(0,r.jsx)(Z,{}),!p&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(dr,{toastOptions:{className:"text-base bg-background text-foreground"}}),(0,r.jsx)(Ar,{})]})]})}function oo(){let t=F(),a=Q("root"),i=a?.branding?.name?a.branding.name:null,p=a?.branding?.tenantId?`/app/${i??""}`:"/",e=W(t)&&t.status===404;return(0,r.jsxs)(Rr,{children:[(0,r.jsx)(gr,{title:e?"Page not found":"Error",showBack:!0,backTo:p||"/"}),(0,r.jsx)("div",{className:"mx-auto p-12 text-center",children:e?(0,r.jsx)(pr,{}):(0,r.jsx)(cr,{})})]})}export{oo as ErrorBoundary,Jr as default,Qr as handle,$r as links,ro as meta,Kr as shouldRevalidate};
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.