(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21724,e=>{"use strict";function t(){return"u">typeof window}e.i(47167);function r(){return(t()?window.vam:"production")||"production"}function n(){return"production"===r()}e.s(["track",0,function(e,o,i){var a,s;if(!t()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(n())console.warn(e);else throw Error(e);return}if(!o){null==(a=window.va)||a.call(window,"event",{name:e,options:i});return}try{let t=function(e,t){if(!e)return;let r=e,n=[];for(let[o,i]of Object.entries(e))"object"==typeof i&&null!==i&&(t.strip?r=function(e,{[e]:t,...r}){return r}(o,r):n.push(o));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(o,{strip:n()});null==(s=window.va)||s.call(window,"event",{name:e,data:t,options:i})}catch(e){e instanceof Error&&"development"===r()&&console.error(e)}}])},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),a=e.r(43476),s=i._(e.r(71645)),l=e.r(95057),d=e.r(8372),c=e.r(18581),u=e.r(18967),f=e.r(5550),p=e.r(88540),m=e.r(91949),h=e.r(73668),g=e.r(9396);function b(t){var r;let n,o,i,[b,v]=(0,s.useOptimistic)(m.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:w,as:S,children:j,prefetch:E=null,passHref:F,replace:T,shallow:k,scroll:R,onClick:O,onMouseEnter:C,onTouchStart:_,legacyBehavior:A=!1,onNavigate:P,transitionTypes:I,ref:B,unstable_dynamicOnHover:L,...D}=t;n=j,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let $=s.default.useContext(d.AppRouterContext),W=!1!==E,z=!1===E?"none":!0===E?"full":"auto",N="none"!==z?"auto"===z?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,H="string"==typeof(r=S||w)?r:(0,l.formatUrl)(r);if(A){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let M=A?o&&"object"==typeof o&&o.ref:B,Y,U=s.default.useCallback(e=>(null!==$&&(x.current=(0,m.mountLinkInstance)(e,H,$,N,W,v,Y)),()=>{x.current&&((0,m.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,m.unmountPrefetchableInstance)(e)}),[W,H,$,N,v,Y]),V={ref:(0,c.useMergedRef)(U,M),onClick(t){A||"function"!=typeof O||O(t),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,o,i,a,l,d="none"){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(99781);s.default.startTransition(()=>{f(r,o?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,d)})}}(t,H,x,T,R,P,I,z)},onMouseEnter(e){A||"function"!=typeof C||C(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),$&&W&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){A||"function"!=typeof _||_(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),$&&W&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,u.isAbsoluteUrl)(H)?V.href=H:A&&!F&&("a"!==o.type||"href"in o.props)||(V.href=(0,f.addBasePath)(H)),i=A?s.default.cloneElement(o,V):(0,a.jsx)("a",{...D,...V,children:n}),(0,a.jsx)(y.Provider,{value:b,children:i})}let y=(0,s.createContext)(m.IDLE_LINK_STATUS),v=()=>(0,s.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return x},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return u},getLocationOrigin:function(){return d},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function d(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=d();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(18967),o=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return d},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:r&&(d=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(d+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==d?(d="//"+(d||""),o&&"/"!==o[0]&&(o="/"+o)):d||(d=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${d}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return s(e)}},18566,(e,t,r)=>{t.exports=e.r(76562)},27088,e=>{"use strict";var t=e.i(43476),r=e.i(12781);e.s(["Providers",0,function({children:e}){return(0,t.jsx)(r.ToastDrawerProvider,{children:e})}])},47195,e=>{"use strict";var t=e.i(71645),r=e.i(21724);e.s(["ClaimAnonymousReceipts",0,function(){return(0,t.useEffect)(()=>{let e=!1,t=localStorage.getItem("arcs_pending_save");if(t){let e=0;try{e=JSON.parse(t)?.savedAt??0}catch{e=0}Date.now()-e>=6048e5&&(localStorage.removeItem("arcs_pending_save"),t=null)}if(t)return fetch("/api/auth/session").then(e=>e.json()).then(async n=>{if(!e&&n?.user?.id&&t){let n=null;try{n=JSON.parse(t)}catch{n=null}if(!(n?.bearing&&Date.now()-(n?.savedAt??0)<6048e5)){(0,r.track)("receipt_save_failed",{reason:"expired_or_malformed"}),localStorage.removeItem("arcs_pending_save");return}try{let t=await fetch("/api/receipts/save",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({bearing:n.bearing})});if(t.ok){let n=await t.json();localStorage.removeItem("arcs_pending_save"),(0,r.track)("receipt_save_completed"),n?.receipt_id&&!e&&window.location.assign(`/receipt/${n.receipt_id}`)}else(0,r.track)("receipt_save_failed",{status:t.status})}catch{(0,r.track)("receipt_save_failed",{reason:"network"})}}}).catch(()=>{}),()=>{e=!0}},[]),null}])},27398,e=>{"use strict";var t=e.i(43476),r=e.i(47167),n=e.i(71645),o=e.i(18566);function i(){return"u">typeof window}function a(){return"production"}function s(){return"development"===((i()?window.vam:a())||"production")}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function d(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function c(e){return(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,n.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!i())return;let{beforeSend:n,src:o,dataset:l}=function(e,t){var r,n;let o=e;if(t)try{o={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=a();return}window.vam=e}(o.mode);let i={sdkn:"@vercel/analytics"+(o.framework?`/${o.framework}`:""),sdkv:"2.0.1"};return o.disableAutoTrack&&(i.disableAutoTrack="1"),o.viewEndpoint&&(i.viewEndpoint=d(o.viewEndpoint)),o.eventEndpoint&&(i.eventEndpoint=d(o.eventEndpoint)),o.sessionEndpoint&&(i.sessionEndpoint=d(o.sessionEndpoint)),s()&&!1===o.debug&&(i.debug="false"),o.dsn&&(i.dsn=o.dsn),o.endpoint?i.endpoint=o.endpoint:o.basePath&&(i.endpoint=d(`${o.basePath}/insights`)),{beforeSend:o.beforeSend,src:(n=o).scriptSrc?d(n.scriptSrc):s()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?d(`${n.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:i}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${o}"]`))return;let c=document.createElement("script");for(let[e,t]of(c.src=o,Object.entries(l)))c.dataset[e]=t;c.defer=!0,c.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${o}. ${e}`)},document.head.appendChild(c)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,n.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function u(e){let t,i,a,{route:s,path:d}=(t=(0,o.useParams)(),i=(0,o.useSearchParams)(),a=(0,o.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=l(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=l(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return e}}(a,Object.keys(t).length?t:Object.fromEntries(i.entries())),path:a}:{route:null,path:a});return n.default.createElement(c,{path:d,route:s,...e,basePath:function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),configString:function(){if(void 0!==r.default&&void 0!==r.default.env)return'{"analytics":{"scriptSrc":"28573249b455f7b8/script.js","viewEndpoint":"28573249b455f7b8/view","eventEndpoint":"28573249b455f7b8/event","sessionEndpoint":"28573249b455f7b8/session"},"speedInsights":{"scriptSrc":"548f5d9bba2a2b7b/script.js","endpoint":"548f5d9bba2a2b7b/vitals"}}'}(),framework:"next"})}function f(e){return n.default.createElement(n.Suspense,{fallback:null},n.default.createElement(u,{...e}))}function p(){return false}function m(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function h(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function g(e){(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!t.current){let n=function(e={},t){var r;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:n,src:o,dataset:i}=function(e,t){var r,n;let o=e;if(t)try{o={...null==(r=JSON.parse(t))?void 0:r.speedInsights,...e}}catch{}let i={sdkn:"@vercel/speed-insights"+(o.framework?`/${o.framework}`:""),sdkv:"2.0.0"};return o.sampleRate&&(i.sampleRate=o.sampleRate.toString()),o.route&&(i.route=o.route),p()&&!1===o.debug&&(i.debug="false"),o.dsn&&(i.dsn=o.dsn),o.endpoint?i.endpoint=h(o.endpoint):o.basePath&&(i.endpoint=h(`${o.basePath}/speed-insights/vitals`)),{src:(n=o).scriptSrc?h(n.scriptSrc):p()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":n.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":n.basePath?h(`${n.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:o.beforeSend,dataset:i}}(e,t);if(document.head.querySelector(`script[src*="${o}"]`))return null;n&&(null==(r=window.si)||r.call(window,"beforeSend",n));let a=document.createElement("script");for(let[e,t]of(a.src=o,a.defer=!0,Object.entries(i)))a.dataset[e]=t;return a.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${o}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(a),{setRoute:e=>{a.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());n&&(t.current=n.setRoute)}},[e]),(0,n.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}function b(e){let t=(()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)()||new URLSearchParams,r=(0,o.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!n)return r;let i=r;try{let e=Object.entries(n);for(let[t,r]of e)if(!Array.isArray(r)){let e=m(r);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=m(r.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch{return r}})();return n.default.createElement(g,{route:t,...e,framework:"next",basePath:function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),configString:function(){if(void 0!==r.default&&void 0!==r.default.env)return'{"analytics":{"scriptSrc":"28573249b455f7b8/script.js","viewEndpoint":"28573249b455f7b8/view","eventEndpoint":"28573249b455f7b8/event","sessionEndpoint":"28573249b455f7b8/session"},"speedInsights":{"scriptSrc":"548f5d9bba2a2b7b/script.js","endpoint":"548f5d9bba2a2b7b/vitals"}}'}()})}function y(e){return n.default.createElement(n.Suspense,{fallback:null},n.default.createElement(b,{...e}))}function v(e){let t=e.url.indexOf("#");return -1===t?e:{...e,url:e.url.slice(0,t)}}e.s(["VercelTelemetry",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f,{beforeSend:v}),(0,t.jsx)(y,{beforeSend:v})]})}],27398)},90500,e=>{"use strict";var t,r=e.i(71645),n=e.i(47167),o={scriptHostname:("u">typeof n.default?n.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof n.default?n.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof n.default?n.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof n.default?n.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof n.default?globalThis.NEXT_DEPLOYMENT_ID:void 0};function i(e){return!!(e&&"undefined"!==e&&"null"!==e)}function a(){return!(typeof window>"u")&&null!==document.querySelector("vercel-live-feedback")}function s(){(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}e.s(["VercelToolbarToggle",0,function(){return(0,r.useEffect)(()=>{function e(e){(e.metaKey||e.ctrlKey)&&"."===e.key&&(e.preventDefault(),a()?s():function(e={}){if(!a()){Object.assign(o,e);let r=document.createElement("script");for(let[n,a]of(r.src=`${o.scriptHostname}/_next-live/feedback/feedback.js`,r.setAttribute("data-explicit-opt-in","true"),e.nonce&&r.setAttribute("nonce",e.nonce),Object.entries((i(o.ownerId)&&i(o.projectId)?{"data-owner-id":o.ownerId,"data-project-id":o.projectId,"data-branch":t??o.branch}:o.deploymentId?{"data-deployment-id":o.deploymentId}:void 0)??{})))a&&r.setAttribute(n,a);(document.head||document.documentElement).appendChild(r)}}())}return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e),a()&&s()}},[]),null}],90500)},4592,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016);let o={primary:{ink:"#b9e8f4",bd:"#00F0FF3a",bdH:"#00F0FF99",sig:"#00F0FF",bloom:"#00F0FF12",bloomH:"#00F0FF2b"},"outline-cyan":{ink:"#b9e8f4",bd:"#00F0FF3a",bdH:"#00F0FF99",sig:"#00F0FF",bloom:"#00F0FF12",bloomH:"#00F0FF2b"},green:{ink:"#bdf2dc",bd:"#00FF9D3a",bdH:"#00FF9D99",sig:"#00FF9D",bloom:"#00FF9D12",bloomH:"#00FF9D2b"},gold:{ink:"#f0e4ba",bd:"#FFD7003a",bdH:"#FFD70099",sig:"#FFD700",bloom:"#FFD70010",bloomH:"#FFD70026"},danger:{ink:"#f6c9d2",bd:"#FF4D6D3a",bdH:"#FF4D6D99",sig:"#FF6B85",bloom:"#FF4D6D12",bloomH:"#FF4D6D2b"},ghost:{ink:"#cbd5e1",bd:"#2a3647",bdH:"#566b86",sig:"#94a3b8",bloom:"transparent",bloomH:"rgba(0,0,0,.01)"}};function i(e,t,r,n,i,a){let s=o[e]||o.primary,l=`inset 0 1px 0 rgba(255,255,255,.09), inset 0 -2px 7px rgba(0,0,0,.5), 0 0 14px ${s.bloom}, 0 4px 12px rgba(0,0,0,.4)`,d=`inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 7px rgba(0,0,0,.45), 0 0 20px ${s.bloomH}, 0 6px 16px rgba(0,0,0,.5)`,c=`inset 0 2px 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05), 0 0 10px ${s.bloom}`;return{a:s,css:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5em",fontFamily:"'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace",fontWeight:600,letterSpacing:"0.085em",textTransform:"uppercase",lineHeight:1,whiteSpace:"nowrap",color:s.ink,border:`1px solid ${!r&&(n||i)?s.bdH:s.bd}`,background:"linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01) 38%, rgba(0,0,0,.18)), linear-gradient(165deg, #141c24, #0b1117)",boxShadow:r?l:i?c:n?d:l,transform:r?"none":i?"translateY(1px)":n?"translateY(-1px)":"none",cursor:r?"not-allowed":"pointer",opacity:r?.42:1,filter:r?"saturate(.55)":"none",transition:"box-shadow .16s, transform .09s, border-color .16s, filter .16s",WebkitFontSmoothing:"antialiased",textDecoration:"none",..."lg"===t?{fontSize:12,padding:"13px 23px",borderRadius:6}:"sm"===t?{fontSize:11,padding:"7px 12px",borderRadius:4}:{fontSize:11,padding:"10px 16px",borderRadius:5},...a}}}e.s(["Button",0,function({variant:e="primary",size:n="md",glyph:o,disabled:a,children:s,style:l,...d}){let[c,u]=r.default.useState(!1),[f,p]=r.default.useState(!1),{a:m,css:h}=i(e,n,a,c,f,l);return(0,t.jsxs)("button",{disabled:a,onMouseEnter:()=>u(!0),onMouseLeave:()=>{u(!1),p(!1)},onMouseDown:()=>p(!0),onMouseUp:()=>p(!1),style:h,...d,children:[o&&(0,t.jsx)("span",{style:{fontSize:"1.05em",lineHeight:1,color:m.sig},children:o}),s]})},"ButtonLink",0,function({href:e,variant:o="primary",size:a="md",glyph:s,children:l,style:d,onMouseEnter:c,onMouseLeave:u,...f}){let[p,m]=r.default.useState(!1),[h,g]=r.default.useState(!1),{a:b,css:y}=i(o,a,!1,p,h,d);return(0,t.jsxs)(n.default,{href:e,...f,onMouseEnter:e=>{m(!0),c?.(e)},onMouseLeave:e=>{m(!1),g(!1),u?.(e)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),style:y,children:[s&&(0,t.jsx)("span",{style:{fontSize:"1.05em",lineHeight:1,color:b.sig},children:s}),l]})}])},2913,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),o=e.i(8144),i=e.i(53956),a=e.i(12781),s=e.i(42544),l=e.i(4592),d=e.i(41872);let c=o.font.mono,u=o.font.sans,f=[{id:"deal",label:"The deal",sub:"30 sec"},{id:"terms",label:"The terms",sub:"2 min"},{id:"full",label:"Full contract",sub:"Detailed"},{id:"philosophy",label:"Philosophy",sub:"Vision"},{id:"rights",label:"Bill of rights",sub:"Your agency"},{id:"manifesto",label:"Manifesto",sub:"Why ARCS"}],p=[{label:"Storage",body:"Nothing stored without sign-in"},{label:"Training",body:"Input never trains a model"},{label:"Autonomy",body:"You decide. ARCS doesn't."},{label:"Source",body:"Private repo; history on request"}],m=[{name:"Question Compass",desc:"L0–L5 bearing + conviction grade + tributaries",badge:"Live",bg:"#052e16",color:"#4ade80"},{name:"Observatory",desc:"Replay every decision as a kinematic trajectory",badge:"Beta",bg:"#1c1917",color:o.signal.gold},{name:"Kairos",desc:"Detect momentum building toward a fork",badge:"Roadmap",bg:"#0f172a",color:o.text.muted,bd:o.border.subtle},{name:"Shared Court",desc:"Multi-party deliberation, dissent on record",badge:"Roadmap",bg:"#0f172a",color:o.text.muted,bd:o.border.subtle}],h=[{group:"On the product",rows:[{arcs:"Directional clarity, not engagement optimization",you:"Real questions with real stakes"},{arcs:"Surface honest limits when the terrain doesn't support confidence",you:"Bring honest questions. Rationalization breaks the compass"}]},{group:"On your data",rows:[{arcs:"Never sell, share, or use decision content for advertising",you:"Don't enter data that puts others at legal risk"},{arcs:"Delete within 30 days, permanently, no conditions",you:"Understand deletion is one-way"}]},{group:"On the relationship",rows:[{arcs:"Source code stays public. Verify our claims yourself",you:"Don't extract from this community using our open source"}]}],g=[{n:"§ 01",head:"A navigation tool, not an answer machine",body:"ARCS produces a directional bearing, a conviction grade, and tributaries. It does not make decisions. The bearing is an input to your judgment, not a replacement for it."},{n:"§ 02",head:"Two columns. Both matter.",body:"ARCS commits to directional clarity, honest limits, open source, and data sovereignty. You commit to real questions and honest framing."},{n:"§ 03",head:"Always. Sometimes. Never.",body:"Input never trains a model. Anonymous sessions store nothing. Delete within 30 days, permanently. No exceptions."},{n:"§ 04",head:"What isn't built yet",body:"Kairos detection is not live. Data export is on the roadmap. Audit log not built. The trust contract names every gap rather than hiding it."}],b=[{n:"§ I",head:"On sovereignty",body:"Your data is yours. Your thoughts are yours. Your decisions are yours. A navigation tool does not own the navigator."},{n:"§ II",head:"On clarity",body:'Fog is real. Pretending it isn\'t is worse than admitting it. The best compass is one that says "terrain unknown" when it means it.'},{n:"§ III",head:"On coherence",body:"Better outcomes don't come from optimization. They come from alignment. Coherence measures how well your decision works with reality, constraints, and values."}],y=[{n:"§ 01",head:"Right to transparency",body:"You have the right to understand why you were shown something. You have the right to know if a decision is probabilistic or deterministic."},{n:"§ 02",head:"Right to deletion",body:"You have the right to delete everything about you, permanently, instantly, with no conditions and no recourse by us."},{n:"§ 03",head:"Right to agency",body:"ARCS produces a bearing, not an answer. You decide. We don't."},{n:"§ 04",head:"Right to audit",body:"Source code stays public. You can verify every claim we make about what we do with your data."}],v=[{n:"§ I",head:"The problem",body:"Decision frameworks fail because they're built on deductive or inductive reasoning. 80% of real decisions require abductive reasoning, finding the best explanation when information is incomplete."},{n:"§ II",head:"The thesis",body:"Coherence, not certainty. There are many viable solutions with different trade-offs. The goal isn't finding \"optimal\". It's finding coherent: aligned with your context, values, and constraints."},{n:"§ III",head:"The law",body:"Coherence = Alignment - Entropy + Useful Work. A sub-optimal solution with low friction often outperforms an optimal solution with high entropy."},{n:"§ IV",head:"The wager",body:"In a complex, uncertain, rapidly changing world, coherence > certainty. Even if imperfect, multi-operator reasoning is less wrong than unaided human cognition for complex decisions."}];e.s(["EyebrowToast",0,function(){let[e,x]=(0,r.useState)(!1),{open:w,setOpen:S}=(0,a.useToastDrawer)(),[j,E]=(0,r.useState)("deal"),[F,T]=(0,r.useState)(!1),k=(0,i.useVw)(),R=(0,n.useRouter)(),O=(0,n.usePathname)(),C=k<640;function _(e){O.startsWith(e)?S(!1):R.push(e)}return(0,r.useEffect)(()=>{S(!1)},[O]),(0,r.useEffect)(()=>{if(!w)return;let e=e=>{"Escape"===e.key&&S(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[w,S]),"/hud"===O?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{height:36*!e,flexShrink:0}}),!e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:110,height:36,background:o.surface.panel,borderBottom:`0.5px solid ${o.border.subtle}`,display:"flex",alignItems:"center",userSelect:"none"},children:[(0,t.jsxs)("button",{type:"button","aria-expanded":w,"aria-controls":"arcs-data-drawer",onClick:()=>S(e=>!e),style:{flex:1,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:7,background:"transparent",border:"none",padding:"0 44px",cursor:"pointer",color:"inherit"},children:[(0,t.jsx)("span",{style:{fontFamily:c,fontSize:C?10:11,letterSpacing:"0.12em",textTransform:"uppercase",color:o.signal.gold},children:"What's the deal with my data?"}),(0,t.jsx)("span",{"aria-hidden":"true",style:{fontFamily:c,fontSize:o.font.ramp.label,color:`${o.signal.gold}aa`,display:"inline-block",transition:"transform 0.2s",transform:w?"rotate(180deg)":"rotate(0deg)"},children:"▾"})]}),(0,t.jsx)(d.CloseButton,{label:"Dismiss data notice",accent:o.signal.gold,onClick:function(e){e.stopPropagation(),x(!0),S(!1)},style:{position:"absolute",right:"max(4px, env(safe-area-inset-right))",top:2,height:32}})]}),w&&(0,t.jsx)("div",{onClick:()=>S(!1),style:{position:"fixed",top:36,left:0,right:0,bottom:`calc(${s.FOOTER_H}px + env(safe-area-inset-bottom))`,zIndex:108,background:"rgba(0, 0, 0, 0.3)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",cursor:"pointer"}}),w&&(0,t.jsx)("div",{id:"arcs-data-drawer",role:"region","aria-label":"What ARCS does with your data",style:{position:"fixed",top:36,left:0,right:0,zIndex:109,background:o.surface.panel,borderBottom:`0.5px solid ${o.border.subtle}`,maxHeight:`calc(100vh - 36px - ${s.FOOTER_H}px - env(safe-area-inset-bottom))`,overflowY:"auto",WebkitOverflowScrolling:"touch"},children:(0,t.jsxs)("div",{style:{maxWidth:680,margin:"0 auto",padding:C?"0.9rem 1rem 1.25rem":"1rem 1.5rem 1.5rem"},children:[(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",border:`0.5px solid ${o.border.subtle}`,borderRadius:o.radius.sm,overflow:"hidden",marginBottom:"1.1rem"},children:f.map((e,r)=>(0,t.jsxs)("button",{type:"button","aria-pressed":j===e.id,onClick:()=>E(e.id),style:{padding:C?"0.55rem 0":"0.6rem 0",background:j===e.id?o.surface.bg:"transparent",border:"none",borderRight:r<2?`0.5px solid ${o.border.subtle}`:"none",borderBottom:j===e.id?`2px solid ${o.signal.cyan}`:"2px solid transparent",cursor:"pointer",textAlign:"center",transition:"background 0.12s"},children:[(0,t.jsx)("span",{style:{display:"block",fontFamily:c,fontSize:C?10:11,fontWeight:700,letterSpacing:"0.07em",textTransform:"uppercase",color:j===e.id?"#ffffff":o.text.secondary,transition:"color 0.12s"},children:e.label}),(0,t.jsx)("span",{style:{display:"block",fontFamily:c,fontSize:o.font.ramp.label,fontWeight:400,letterSpacing:"0.05em",marginTop:2,color:j===e.id?`${o.signal.cyan}99`:o.text.muted,transition:"color 0.12s"},children:e.sub})]},e.id))}),"deal"===j&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:C?"1fr 1fr":"repeat(4, 1fr)",gap:6,marginBottom:"1rem"},children:p.map(e=>(0,t.jsxs)("div",{style:{background:o.surface.elevated,border:`0.5px solid ${o.border.subtle}`,borderRadius:7,padding:"0.55rem 0.7rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,textTransform:"uppercase",letterSpacing:"0.1em",color:o.text.muted,marginBottom:"0.2rem"},children:e.label}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:C?11:12,color:o.text.primary,fontWeight:500,lineHeight:1.3},children:e.body})]},e.label))}),(0,t.jsxs)("div",{style:{border:`0.5px solid ${o.border.subtle}`,borderRadius:7,overflow:"hidden",marginBottom:"1rem"},children:[(0,t.jsx)("div",{style:{padding:"0.35rem 0.75rem",background:o.surface.elevated,borderBottom:`0.5px solid ${o.border.subtle}`,fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.1em",textTransform:"uppercase",color:o.text.muted},children:"What you're entering into"}),m.map((e,r)=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:C?"1fr auto":"120px 1fr auto",alignItems:"center",gap:8,padding:"0.45rem 0.75rem",borderBottom:r<m.length-1?`0.5px solid ${o.border.subtle}`:"none"},children:[(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,fontWeight:500,color:o.text.primary},children:e.name}),!C&&(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.muted,lineHeight:1.35},children:e.desc}),(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.05em",padding:"2px 7px",borderRadius:o.radius.xs,whiteSpace:"nowrap",background:e.bg,color:e.color,...e.bd?{border:`0.5px solid ${e.bd}`}:{}},children:e.badge})]},e.name))]}),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]}),"terms"===j&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{border:`0.5px solid ${o.border.subtle}`,borderRadius:7,overflow:"hidden",marginBottom:"0.9rem"},children:[!C&&(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",background:o.surface.elevated,borderBottom:`0.5px solid ${o.border.subtle}`},children:[(0,t.jsx)("div",{style:{padding:"0.4rem 0.75rem",fontFamily:c,fontSize:o.font.ramp.label,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",color:o.signal.cyan,borderRight:`0.5px solid ${o.border.subtle}`},children:"ARCS commits to you"}),(0,t.jsx)("div",{style:{padding:"0.4rem 0.75rem",fontFamily:c,fontSize:o.font.ramp.label,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",color:o.text.primary},children:"You commit to ARCS"})]}),h.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{padding:"0.3rem 0.75rem",background:o.surface.bg,borderTop:`0.5px solid ${o.border.subtle}`,fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.1em",textTransform:"uppercase",color:o.text.muted},children:e.group}),e.rows.map((e,r)=>C?(0,t.jsxs)("div",{style:{borderTop:`0.5px solid ${o.border.subtle}`,padding:"0.5rem 0.75rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,textTransform:"uppercase",letterSpacing:"0.08em",color:o.signal.cyan,marginBottom:2},children:"ARCS"}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.45,marginBottom:6},children:e.arcs}),(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,textTransform:"uppercase",letterSpacing:"0.08em",color:o.text.muted,marginBottom:2},children:"You"}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.45},children:e.you})]},r):(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",borderTop:`0.5px solid ${o.border.subtle}`},children:[(0,t.jsx)("div",{style:{padding:"0.5rem 0.75rem",fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.45,borderRight:`0.5px solid ${o.border.subtle}`},children:e.arcs}),(0,t.jsx)("div",{style:{padding:"0.5rem 0.75rem",fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.45},children:e.you})]},r))]},e.group))]}),(0,t.jsxs)("div",{style:{borderLeft:`2px solid ${o.signal.cyan}33`,paddingLeft:"0.75rem",marginBottom:"1rem"},children:[(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.body,fontWeight:500,color:o.text.primary,lineHeight:1.4},children:"Loyalty is earned through demonstrated reciprocity, not demanded through terms."}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.muted,marginTop:"0.2rem"},children:"If ARCS breaks this covenant, you are released from it immediately."})]}),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]}),"full"===j&&(0,t.jsxs)("div",{children:[g.map((e,r,n)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{marginBottom:"0.8rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.12em",textTransform:"uppercase",color:o.text.muted,marginBottom:"0.2rem"},children:e.n}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.body,fontWeight:500,color:o.text.primary,marginBottom:"0.2rem"},children:e.head}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.6},children:e.body})]}),r<n.length-1&&(0,t.jsx)("div",{style:{height:1,background:o.border.subtle,marginBottom:"0.8rem"}})]},e.n)),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]}),"philosophy"===j&&(0,t.jsxs)("div",{children:[b.map((e,r,n)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{marginBottom:"0.8rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.12em",textTransform:"uppercase",color:o.text.muted,marginBottom:"0.2rem"},children:e.n}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.body,fontWeight:500,color:o.text.primary,marginBottom:"0.2rem"},children:e.head}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.6},children:e.body})]}),r<n.length-1&&(0,t.jsx)("div",{style:{height:1,background:o.border.subtle,marginBottom:"0.8rem"}})]},e.n)),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]}),"rights"===j&&(0,t.jsxs)("div",{children:[y.map((e,r,n)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{marginBottom:"0.8rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.12em",textTransform:"uppercase",color:o.text.muted,marginBottom:"0.2rem"},children:e.n}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.body,fontWeight:500,color:o.text.primary,marginBottom:"0.2rem"},children:e.head}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.6},children:e.body})]}),r<n.length-1&&(0,t.jsx)("div",{style:{height:1,background:o.border.subtle,marginBottom:"0.8rem"}})]},e.n)),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]}),"manifesto"===j&&(0,t.jsxs)("div",{children:[v.map((e,r,n)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{marginBottom:"0.8rem"},children:[(0,t.jsx)("div",{style:{fontFamily:c,fontSize:o.font.ramp.label,letterSpacing:"0.12em",textTransform:"uppercase",color:o.text.muted,marginBottom:"0.2rem"},children:e.n}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.body,fontWeight:500,color:o.text.primary,marginBottom:"0.2rem"},children:e.head}),(0,t.jsx)("div",{style:{fontFamily:u,fontSize:o.font.ramp.label,color:o.text.secondary,lineHeight:1.6},children:e.body})]}),r<n.length-1&&(0,t.jsx)("div",{style:{height:1,background:o.border.subtle,marginBottom:"0.8rem"}})]},e.n)),(0,t.jsxs)(l.Button,{variant:"outline-cyan",size:"lg",glyph:"⊕",onClick:()=>_("/dashboard"),style:{width:"100%",marginBottom:"0.65rem"},children:["Open the compass ",(0,t.jsx)("span",{style:{fontFamily:u,fontWeight:500,opacity:.75},children:"→"})]})]})]})})]})]})}])},42544,41872,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),o=e.i(8144);function i({label:e,accent:n=o.signal.cyan,size:a=12,style:s,onFocus:l,onBlur:d,onMouseEnter:c,onMouseLeave:u,...f}){let[p,m]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1);return(0,t.jsx)("button",{type:"button","aria-label":e,title:e,onMouseEnter:e=>{m(!0),c?.(e)},onMouseLeave:e=>{m(!1),u?.(e)},onFocus:e=>{g(e.currentTarget.matches(":focus-visible")),l?.(e)},onBlur:e=>{g(!1),d?.(e)},style:{width:44,height:44,flexShrink:0,padding:0,display:"inline-flex",alignItems:"center",justifyContent:"center",background:p?"rgba(255,255,255,0.05)":"transparent",border:"none",borderRadius:6,cursor:"pointer",color:p?n:o.text.secondary,outline:h?`1px solid ${o.signal.cyan}`:"none",outlineOffset:-6,transition:"color .15s, background-color .15s",...s},...f,children:(0,t.jsx)("svg",{width:a,height:a,viewBox:"0 0 12 12","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})}e.s(["CloseButton",0,i],41872);var a=e.i(4592),s=e.i(22016),l=e.i(12781);let d={fontFamily:o.font.mono,fontSize:11,letterSpacing:"0.08em",textTransform:"uppercase",color:o.text.dimmed,textDecoration:"underline"};e.s(["FOOTER_H",0,60,"SiteFooter",0,function(){return"/hud"===(0,n.usePathname)()?null:(0,t.jsxs)("footer",{style:{display:"flex",justifyContent:"center",gap:"1.5rem",padding:"1.5rem 1.5rem calc(60px + 1.5rem + env(safe-area-inset-bottom))",borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,t.jsx)(s.default,{href:"/trust",style:d,children:"Trust"}),(0,t.jsx)(s.default,{href:"/privacy",style:d,children:"Privacy"}),(0,t.jsx)(s.default,{href:"/terms",style:d,children:"Terms"})]})},"StickyFooter",0,function({message:e,ctaLabel:s="Inquire directly",ctaHref:d="/advisory",maxWidth:c=960}){let{open:u}=(0,l.useToastDrawer)(),[f,p]=(0,r.useState)(!1);return"/hud"===(0,n.usePathname)()||f?null:(0,t.jsxs)("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:50,height:"calc(60px + env(safe-area-inset-bottom))",paddingBottom:"env(safe-area-inset-bottom)",borderTop:`1px solid ${o.signal.gold}25`,background:u?"rgba(0,0,0,0.97)":"rgba(2,4,8,0.92)",backdropFilter:"blur(12px)",transition:"background 0.45s ease"},children:[(0,t.jsxs)("div",{style:{position:"absolute",inset:0,paddingBottom:"env(safe-area-inset-bottom)",padding:"0 max(1.5rem, 52px) 0 1.5rem",maxWidth:c,margin:"0 auto",display:"flex",alignItems:"center",gap:"1rem",opacity:+!u,visibility:u?"hidden":"visible",transition:"opacity 0.3s ease, visibility 0.3s",pointerEvents:u?"none":"auto"},children:[(0,t.jsx)("span",{style:{fontFamily:o.font.sans,fontSize:"0.75rem",lineHeight:1.4,color:o.text.dimmed,flex:1},children:e}),(0,t.jsxs)(a.ButtonLink,{variant:"gold",size:"sm",href:d,children:[s," ",(0,t.jsx)("span",{"aria-hidden":"true",style:{fontFamily:o.font.sans,fontWeight:400,opacity:.55},children:"→"})]})]}),(0,t.jsx)(i,{label:"Dismiss sprint offer",accent:o.signal.gold,onClick:()=>p(!0),style:{position:"absolute",right:"max(4px, env(safe-area-inset-right))",top:"50%",transform:"translateY(-50%)",marginTop:"calc(env(safe-area-inset-bottom) / -2)"}})]})}],42544)},12781,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=(0,r.createContext)({open:!1,setOpen:()=>{}});e.s(["ToastDrawerProvider",0,function({children:e}){let[o,i]=(0,r.useState)(!1);return(0,t.jsx)(n.Provider,{value:{open:o,setOpen:i},children:e})},"useToastDrawer",0,function(){return(0,r.useContext)(n)}])},8144,e=>{"use strict";e.i(47167);let t={primary:"#e2e8f0",secondary:"#94a3b8",muted:"#7a8699",dimmed:"#8391a7"},r={cyan:"#00F0FF",green:"#00FF9D",gold:"#FFD700",orange:"#ff9d3c",red:"#FF4D6D",steel:"#94a3b8",violet:"#A78BFA",magenta:"#E879F9"};r.green,r.gold,r.gold,r.steel,r.steel,r.steel,r.red,r.red;let n={GREEN:{label:"CLARITY RIDGE",icon:"▲",color:r.green},YELLOW:{label:"PRESSURE BAND",icon:"◈",color:r.gold},RED:{label:"EXPOSED · RUIN EDGE",icon:"✕",color:r.red},FORK:{label:"FORK · PATH SELECTION",icon:"⊕",color:r.cyan},SCRATCH:{label:"FOG LAYER · ORIENT",icon:"~",color:t.muted},DELTA:{label:"CONVICTION SHIFT",icon:"△",color:r.violet},PARADOX:{label:"PARADOX · CURATOR",icon:"∞",color:r.magenta},DRIFT:{label:"DRIFT · SPIN CYCLE",icon:"↻",color:r.steel},LOCKED:{label:"KAIROS LOCK · LOCKED",icon:"◆",color:r.cyan}},o=e=>"ONE_WAY"===e?"ONE_WAY":"TWO_WAY",i={ONE_WAY:{label:"ONE-WAY DOOR",color:r.gold},TWO_WAY:{label:"TWO-WAY DOOR",color:r.green}};e.s(["border",0,{subtle:"#1e293b",active:"rgba(122, 210, 255, 0.38)",locked:"rgba(255, 210, 120, 0.28)"},"contentContainer",0,function(e){let t=e>=481?"1.5rem":"1rem";return{maxWidth:e>=768?960:"100%",margin:"0 auto",paddingLeft:t,paddingRight:t}},"doorLabel",0,e=>e?i[o(e)].label:"Door not set","doorMeta",0,i,"font",0,{sans:"'Inter', system-ui, -apple-system, sans-serif",mono:"'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace",size:{xs:"0.625rem",sm:"0.75rem",md:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem"},ramp:{label:"0.6875rem",body:"0.925rem",headline:"1.15rem",display:"clamp(1.5rem, 4vw, 2.4rem)"},weight:{normal:400,medium:500,bold:700},tracking:{base:"0em",wide:"0.04em",wider:"0.08em",widest:"0.14em"},tier:{t1:{fontSize:"0.6875rem",fontWeight:700,letterSpacing:"0.16em"},t2:{fontSize:"0.703rem",fontWeight:700,letterSpacing:"0.14em"},t3:{fontSize:"0.719rem",fontWeight:700,letterSpacing:"0.12em"},t4:{fontSize:"0.734rem",fontWeight:600,letterSpacing:"0.10em"},t5:{fontSize:"0.75rem",fontWeight:700,letterSpacing:"0.08em"},t6:{fontSize:"0.8125rem",fontWeight:700,letterSpacing:"0.06em"}}},"formContainer",0,function(e){let t=e>=768?"2rem":"1.5rem";return{maxWidth:e>=1100?640:e>=768?580:"100%",margin:"0 auto",paddingLeft:t,paddingRight:t}},"getWeather",0,e=>e&&n[e]?n[e]:n.SCRATCH,"measure",0,640,"nciColor",0,e=>e>=70?r.green:e>=45?r.gold:r.red,"normalizeDoorClass",0,o,"radius",0,{xs:"3px",sm:"6px",md:"10px",lg:"16px",pill:"999px"},"resStyle",0,{SHARP:{opacity:1,fontWeight:500,letterSpacing:"0"},DEGRADED:{opacity:1,fontWeight:400,letterSpacing:"0.01em"},GRAIN:{opacity:1,fontWeight:300,letterSpacing:"0.02em"},MOIRE:{opacity:1,fontWeight:300,letterSpacing:"0.03em"}},"signal",0,r,"signalGlow",0,e=>e===r.green?"rgba(0,255,157,.28)":e===r.gold?"rgba(255,215,0,.26)":e===r.red?"rgba(255,77,109,.26)":e===r.cyan?"rgba(0,240,255,.26)":"rgba(160,180,210,.18)","space",0,{1:"4px",2:"8px",3:"12px",4:"16px",5:"20px",6:"24px",8:"32px",10:"40px",12:"48px"},"srOnly",0,{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"surface",0,{bg:"#020408",panel:"#0d1117",elevated:"#111827"},"text",0,t,"tribColor",0,e=>"meta"===e?r.cyan:"challenge"===e?r.red:"adjacent"===e?r.gold:r.steel,"yWeather",0,n])},53956,e=>{"use strict";var t=e.i(71645);e.s(["useVw",0,function(){let[e,r]=(0,t.useState)(1280);return(0,t.useEffect)(()=>{let e=0,t=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>r(window.innerWidth))};return t(),window.addEventListener("resize",t),()=>{cancelAnimationFrame(e),window.removeEventListener("resize",t)}},[]),e}])}]);