1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f5cf-0248-7f82-afb1-542de93849f6")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,997221,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(948148),i=e.i(321715);let a=[{titleKey:"sections.startHere",links:[["links.welcome","/docs"],["links.miniapps","/docs/miniapps"],["links.quickstart","/docs/quickstart"]]},{titleKey:"sections.connect",links:[["links.overview","/docs/mcp"],["links.desktopApps","/docs/mcp/stdio"],["links.webApps","/docs/mcp/remote"]]},{titleKey:"sections.tools",links:[["links.dashboard","/docs/dashboard"],["links.cli","/docs/cli"]]},{titleKey:"sections.accountBilling",links:[["links.orgsAndKeys","/docs/concepts/orgs-and-keys"],["links.permissions","/docs/concepts/scopes"],["links.quotasAndBilling","/docs/concepts/quotas-and-billing"]]},{titleKey:"sections.walkthroughs",links:[["links.literatureReview","/docs/guides/literature-review"],["links.researchGuidance","/docs/guides/research-guidance"]]},{titleKey:"sections.help",links:[["links.faq","/docs/faq"],["links.troubleshooting","/docs/troubleshooting"]]}];var o=e.i(152088);e.s(["DocNavBody",0,function(e){let s,l,c,u=(0,r.c)(9),{onSelect:d}=e,h=(0,n.useTranslations)("docs"),m=(0,i.usePathname)();return u[0]!==h?(s=h("navLabel"),u[0]=h,u[1]=s):s=u[1],u[2]!==d||u[3]!==m||u[4]!==h?(l=a.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-[10.5px] font-semibold tracking-[0.15em] text-(--muted-foreground) uppercase",children:h(e.titleKey)}),(0,t.jsx)("ul",{className:"grid list-none gap-0.5 p-0",children:e.links.map(e=>{let[r,n]=e,a=m===n;return(0,t.jsx)("li",{children:(0,t.jsx)(i.Link,{href:n,onClick:d,"aria-current":a?"page":void 0,className:(0,o.cn)("lune-focus block rounded-md px-2 py-1.5 transition-colors hover:bg-(--surface-secondary) hover:text-(--foreground)",a?"bg-(--surface-secondary) font-medium text-(--foreground)":"text-(--muted-foreground)"),children:h(r)})},n)})})]},e.titleKey)),u[2]=d,u[3]=m,u[4]=h,u[5]=l):l=u[5],u[6]!==s||u[7]!==l?(c=(0,t.jsx)("nav",{"aria-label":s,className:"grid gap-5 text-[13px]",children:l}),u[6]=s,u[7]=l,u[8]=c):c=u[8],c}],997221)},662920,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(271645),i=e.i(948148);let a=Date.UTC(2e3,0,6,18,14),o=["newMoon","waxingCrescent","firstQuarter","waxingGibbous","fullMoon","waningGibbous","lastQuarter","waningCrescent"];e.s(["MoonReadout",0,function(){let e,s,l,c,u,d,h,m,f,p,x=(0,r.c)(21),g=(0,i.useTranslations)("nav"),[b,v]=(0,n.useState)(null);if(x[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e;return v((e=(new Date().getTime()-a)/864e5/29.530588853)-Math.floor(e))},s=[],x[0]=e,x[1]=s):(e=x[0],s=x[1]),(0,n.useEffect)(e,s),x[2]!==g?(l=g("moon.label"),x[2]=g,x[3]=l):l=x[3],x[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("circle",{cx:7,cy:7,r:6.5,fill:"none",stroke:"currentColor",strokeOpacity:.55}),x[4]=c):c=x[4],x[5]!==b){let e,r;u=null===b?null:(0,t.jsx)("g",{transform:"translate(0.5 0.5)",children:(0,t.jsx)("path",{d:(e=6.5*Math.abs(Math.cos(2*b*Math.PI)),r=+(b<.5),`M 6.5 0 A 6.5 6.5 0 0 ${r} 6.5 13 A ${e} 6.5 0 0 ${b<.25||b>=.75?1-r:r} 6.5 0 Z`),fill:"currentColor"})}),x[5]=b,x[6]=u}else u=x[6];x[7]!==u?(d=(0,t.jsxs)("svg",{viewBox:"0 0 14 14",className:"size-3.5 shrink-0","aria-hidden":!0,children:[c,u]}),x[7]=u,x[8]=d):d=x[8];let y=+(null!==b);return(x[9]!==y?(h={opacity:y},x[9]=y,x[10]=h):h=x[10],x[11]!==b||x[12]!==g)?(m=null===b?"":g(`moon.${o[Math.floor(8*b+.5)%8]}`),x[11]=b,x[12]=g,x[13]=m):m=x[13],x[14]!==h||x[15]!==m?(f=(0,t.jsx)("span",{className:"t-label whitespace-nowrap transition-opacity duration-500",style:h,children:m}),x[14]=h,x[15]=m,x[16]=f):f=x[16],x[17]!==l||x[18]!==d||x[19]!==f?(p=(0,t.jsxs)("div",{className:"flex h-4 items-center gap-2 text-(--muted-foreground)",title:l,children:[d,f]}),x[17]=l,x[18]=d,x[19]=f,x[20]=p):p=x[20],p}],662920)},605966,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(522016),i=e.i(948148),a=e.i(768877),o=e.i(577809);function s(e){let i,s,l,c,u=(0,r.c)(9),{label:d}=e,{pending:h}=(0,n.useLinkStatus)();return u[0]!==d?(i=(0,t.jsx)("span",{children:d}),u[0]=d,u[1]=i):i=u[1],u[2]!==h?(s=h?(0,t.jsx)(o.Spinner,{}):(0,t.jsx)(a.ArrowRight,{className:"size-3.5"}),l=h?(0,t.jsx)("span",{hidden:!0,"data-pending":!0,"aria-hidden":"true"}):null,u[2]=h,u[3]=s,u[4]=l):(s=u[3],l=u[4]),u[5]!==i||u[6]!==s||u[7]!==l?(c=(0,t.jsxs)(t.Fragment,{children:[i,s,l]}),u[5]=i,u[6]=s,u[7]=l,u[8]=c):c=u[8],c}var l=e.i(19662),c=e.i(771126),u=e.i(152088);e.s(["SiteAuthLinks",0,function(e){let o,d,h,m,f,p,x,g,b,v,y=(0,r.c)(49),{variant:k,align:j,onSelect:w}=e,S=void 0===j?"start":j,_=(0,i.useTranslations)("nav"),L="authenticated"===(0,l.useAuthStatus)(),N=(0,c.useSignOut)();y[0]!==w?(o=w?{onClick:w}:{},y[0]=w,y[1]=o):o=y[1];let P=o;if(y[2]!==S||y[3]!==L||y[4]!==w||y[5]!==P||y[6]!==N||y[7]!==_||y[8]!==k){m=Symbol.for("react.early_return_sentinel");e:{let e;h=(0,u.cn)("lune-focus inline-flex w-fit items-center gap-1.5 rounded-chip text-(--muted-foreground) transition-colors hover:text-(--foreground)","rail"===k?"t-body":"t-title py-2");let r="end"===S?"items-end text-right":"items-start",i="rail"===k?"gap-1.5":"gap-1";if(y[12]!==r||y[13]!==i?(e=(0,u.cn)("lune-link-group flex flex-col",r,i),y[12]=r,y[13]=i,y[14]=e):e=y[14],d=e,L){let e,r,i,a,o,l,c=(0,u.cn)(h,"has-[[data-pending]]:cursor-not-allowed");
1y[15]!==_?(e=_("dashboard"),y[15]=_,y[16]=e):e=y[16],y[17]!==e?(r=(0,t.jsx)(s,{label:e}),y[17]=e,y[18]=r):r=y[18];let f=(0,t.jsx)(n.default,{href:"/dashboard",...P,className:c,children:r});y[19]!==w||y[20]!==N?(i=()=>{w?.(),N()},y[19]=w,y[20]=N,y[21]=i):i=y[21],y[22]!==_?(a=_("signOut"),y[22]=_,y[23]=a):a=y[23],y[24]!==h||y[25]!==i||y[26]!==a?(o=(0,t.jsx)("button",{type:"button",onClick:i,className:h,children:a}),y[24]=h,y[25]=i,y[26]=a,y[27]=o):o=y[27],y[28]!==d||y[29]!==f||y[30]!==o?(l=(0,t.jsxs)("div",{className:d,children:[f,o]}),y[28]=d,y[29]=f,y[30]=o,y[31]=l):l=y[31],m=l;break e}}y[2]=S,y[3]=L,y[4]=w,y[5]=P,y[6]=N,y[7]=_,y[8]=k,y[9]=d,y[10]=h,y[11]=m}else d=y[9],h=y[10],m=y[11];return m!==Symbol.for("react.early_return_sentinel")?m:(y[32]!==_?(f=_("signIn"),y[32]=_,y[33]=f):f=y[33],y[34]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(a.ArrowRight,{className:"size-3.5"}),y[34]=p):p=y[34],y[35]!==h||y[36]!==P||y[37]!==f?(x=(0,t.jsxs)(n.default,{href:"/login",...P,className:h,children:[f," ",p]}),y[35]=h,y[36]=P,y[37]=f,y[38]=x):x=y[38],y[39]!==_?(g=_("getStarted"),y[39]=_,y[40]=g):g=y[40],y[41]!==h||y[42]!==P||y[43]!==g?(b=(0,t.jsx)(n.default,{href:"/signup",...P,className:h,children:g}),y[41]=h,y[42]=P,y[43]=g,y[44]=b):b=y[44],y[45]!==d||y[46]!==x||y[47]!==b?(v=(0,t.jsxs)("div",{className:d,children:[x,b]}),y[45]=d,y[46]=x,y[47]=b,y[48]=v):v=y[48],v)}],605966)},299661,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(948148),i=e.i(321715),a=e.i(144884),o=e.i(152088);e.s(["SiteNavLinks",0,function(e){let s,l,c,u,d=(0,r.c)(13),{variant:h,onSelect:m,markCurrent:f}=e,p=void 0===f||f,x=(0,n.useTranslations)("nav"),g=(0,i.usePathname)();d[0]!==g?(s=(0,a.activeNavHref)(g),d[0]=g,d[1]=s):s=d[1];let b=s,v="rail"===h?"gap-0.5":"gap-1";return d[2]!==v?(l=(0,o.cn)("lune-link-group flex list-none flex-col p-0",v),d[2]=v,d[3]=l):l=d[3],d[4]!==b||d[5]!==p||d[6]!==m||d[7]!==x||d[8]!==h?(c=a.SITE_NAV.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i.Link,{href:e.href,onClick:m,"aria-current":p&&e.href===b?"page":void 0,className:(0,o.cn)("lune-focus inline-block rounded-chip transition-colors","rail"===h?"t-body":"t-title py-2",e.href===b?"font-medium text-(--foreground)":"text-(--muted-foreground) hover:text-(--foreground)"),children:x(e.labelKey)})},e.href)),d[4]=b,d[5]=p,d[6]=m,d[7]=x,d[8]=h,d[9]=c):c=d[9],d[10]!==l||d[11]!==c?(u=(0,t.jsx)("ul",{className:l,children:c}),d[10]=l,d[11]=c,d[12]=u):u=d[12],u}])},553542,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(948148),i=e.i(997221),a=e.i(22885),o=e.i(36860),s=e.i(321715),l=e.i(299661);e.s(["SiteRail",0,function(){let e,c,u,d,h,m,f,p,x,g,b,v,y,k,j=(0,r.c)(29),w=(0,n.useTranslations)("nav"),S=(0,s.usePathname)();j[0]!==S?(e="/docs"===S||S.startsWith("/docs/"),j[0]=S,j[1]=e):e=j[1];let _=e;j[2]!==w?(c=w("home"),j[2]=w,j[3]=c):c=j[3],j[4]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("img",{src:"/lune-logo-text.svg",alt:"Lune",className:"h-6 w-auto dark:invert"}),j[4]=u):u=j[4],j[5]!==c?(d=(0,t.jsx)(s.Link,{href:"/","aria-label":c,className:"lune-focus shrink-0 rounded-chip transition-opacity duration-150 hover:opacity-70",children:u}),j[5]=c,j[6]=d):d=j[6],j[7]!==w?(h=w("siteNavigation"),j[7]=w,j[8]=h):h=j[8];let L=!_;return j[9]!==L?(m=(0,t.jsx)(l.SiteNavLinks,{variant:"rail",markCurrent:L}),j[9]=L,j[10]=m):m=j[10],j[11]!==h||j[12]!==m?(f=(0,t.jsx)("nav",{"aria-label":h,children:m}),j[11]=h,j[12]=m,j[13]=f):f=j[13],j[14]!==_?(p=_?(0,t.jsx)("div",{className:"border-t border-(--border) pt-5 pb-2",children:(0,t.jsx)(i.DocNavBody,{})}):null,j[14]=_,j[15]=p):p=j[15],j[16]!==d||j[17]!==f||j[18]!==p?(x=(0,t.jsx)("div",{className:"relative min-h-0 flex-1",children:(0,t.jsxs)("div",{className:"rail-scroll flex h-full flex-col gap-5 overflow-y-auto",children:[d,f,p]})}),j[16]=d,j[17]=f,j[18]=p,j[19]=x):x=j[19],j[20]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsxs)("div",{className:"-ml-1.5 flex items-center gap-0.5",children:[(0,t.jsx)(a.LocaleSwitcher,{mode:"public",placement:"top start"}),(0,t.jsx)(o.ThemeToggle,{placement:"top start"})]}),j[20]=g):g=j[20],j[21]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("span",{"aria-hidden":!0,
1className:"size-[5px] shrink-0 rounded-full",style:{background:"var(--dusk-blue)"}}),j[21]=b):b=j[21],j[22]!==w?(v=w("status"),j[22]=w,j[23]=v):v=j[23],j[24]!==v?(y=(0,t.jsxs)("div",{className:"relative mt-6 flex shrink-0 flex-col gap-3",children:[g,(0,t.jsxs)(s.Link,{href:"/status",className:"lune-focus t-label flex w-fit items-center gap-2 rounded-chip text-(--muted-foreground) transition-colors hover:text-(--foreground)",children:[b,v]})]}),j[24]=v,j[25]=y):y=j[25],j[26]!==y||j[27]!==x?(k=(0,t.jsx)("aside",{className:"relative z-10 hidden lg:block",children:(0,t.jsxs)("div",{className:"sticky top-0 flex h-svh flex-col justify-between px-7 pt-20 pb-11 xl:pt-32",children:[x,y]})}),j[26]=y,j[27]=x,j[28]=k):k=j[28],k}])},21445,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(593583),i=e.i(948148),a=e.i(271645),o=e.i(997221),s=e.i(260525),l=e.i(22885),c=e.i(36860),u=e.i(321715),d=e.i(605966),h=e.i(299661);e.s(["SiteTopBar",0,function(){let e,m,f,p,x,g,b,v,y,k,j,w,S,_,L,N,P,C,E,A,M,K,T,O,R,z=(0,r.c)(48),D=(0,i.useTranslations)("nav"),B=(0,u.usePathname)(),[$,I]=(0,a.useState)(!1);z[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>I(!1),z[0]=e):e=z[0];let U=e;z[1]!==B?(m="/docs"===B||B.startsWith("/docs/"),z[1]=B,z[2]=m):m=z[2];let W=m;return z[3]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 backdrop-blur-md",style:{maskImage:"linear-gradient(to bottom, #000, #000 60%, transparent)"}}),z[3]=f):f=z[3],z[4]!==D?(p=D("home"),z[4]=D,z[5]=p):p=z[5],z[6]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("img",{src:"/lune-logo-text.svg",alt:"Lune",className:"h-5 w-auto dark:invert"}),z[6]=x):x=z[6],z[7]!==p?(g=(0,t.jsx)(u.Link,{href:"/","aria-label":p,className:"lune-focus -ml-1 flex h-full items-center rounded-chip px-1",children:x}),z[7]=p,z[8]=g):g=z[8],z[9]!==D?(b=D("openMenu"),z[9]=D,z[10]=b):b=z[10],z[11]===Symbol.for("react.memo_cache_sentinel")?(v=()=>I(!0),z[11]=v):v=z[11],z[12]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(n.Menu,{className:"size-5"}),z[12]=y):y=z[12],z[13]!==$||z[14]!==b?(k=(0,t.jsx)("button",{type:"button","aria-label":b,"aria-expanded":$,onClick:v,className:"lune-focus -mr-2.5 flex size-11 items-center justify-center rounded-chip text-(--foreground)",children:y}),z[13]=$,z[14]=b,z[15]=k):k=z[15],z[16]!==g||z[17]!==k?(j=(0,t.jsxs)("header",{className:"safe-pt sticky top-0 z-50 lg:hidden",children:[f,(0,t.jsxs)("div",{className:"flex h-14 items-center justify-between px-6",children:[g,k]})]}),z[16]=g,z[17]=k,z[18]=j):j=z[18],z[19]!==D?(w=D("siteNavigation"),z[19]=D,z[20]=w):w=z[20],z[21]!==D?(S=D("siteNavigation"),z[21]=D,z[22]=S):S=z[22],z[23]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(h.SiteNavLinks,{variant:"sheet",onSelect:U}),z[23]=_):_=z[23],z[24]!==S?(L=(0,t.jsx)("nav",{"aria-label":S,children:_}),z[24]=S,z[25]=L):L=z[25],z[26]!==W?(N=W&&(0,t.jsx)("div",{className:"mt-6 border-t border-(--border) pt-6",children:(0,t.jsx)(o.DocNavBody,{onSelect:U})}),z[26]=W,z[27]=N):N=z[27],z[28]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)("div",{className:"mt-6 border-t border-(--border) pt-6",children:(0,t.jsx)(d.SiteAuthLinks,{variant:"sheet",onSelect:U})}),z[28]=P):P=z[28],z[29]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)("span",{"aria-hidden":!0,className:"size-[5px] shrink-0 rounded-full",style:{background:"var(--dusk-blue)"}}),z[29]=C):C=z[29],z[30]!==D?(E=D("status"),z[30]=D,z[31]=E):E=z[31],z[32]!==E?(A=(0,t.jsxs)(u.Link,{href:"/status",onClick:U,className:"t-label flex items-center gap-2 text-(--muted-foreground) transition-colors hover:text-(--foreground)",children:[C,E]}),z[32]=E,z[33]=A):A=z[33],z[34]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(l.LocaleSwitcher,{mode:"public"}),(0,t.jsx)(c.ThemeToggle,{})]}),z[34]=M):M=z[34],z[35]!==A?(K=(0,t.jsxs)("div",{className:"mt-8 flex items-center justify-between border-t border-(--border) pt-5",children:[A,M]}),z[35]=A,z[36]=K):K=z[36],z[37]!==L||z[38]!==N||z[39]!==K?(T=(0,t.jsxs)("div",{className:"px-8 pt-4 pb-10",children:[L,N,P,K]}),z[37]=L,z[38]=N,z[39]=K,z[40]=T):T=z[40],z[41]!==$||z[42]!==w||z[43]!==T?(O=(0,t.jsx)(s.BottomSheet,{open:$,onOpenChange:I,size:"lg","aria-label":w,children:T}),z[41]=$,z[42]=w,z[43]=T,z[44]=O):O=z[44],z[45]!==j||z[46]!==O?(R=(0,t.jsxs)(t.Fragment,{children:[j,O]}),z[45]=j,z[46]=O,z[47]=R):R=z[47],R}])},260525,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(301499);e.s(["BottomSheet",0,function(e){let i,a=(0,r.c)(2);return a[0]!==e?(i=(0,t.jsx)(n.Sheet,{...e,side:"bottom"}),a[0]=e,a[1]=i):i=a[1],i}])},22885,36860,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(997116);function i(e){return n.routing.locales.find(t=>t===e)??n.routing.defaultLocale}var a=e.i(110551),o=e.i(861745),s=e.i(948148),l=e.i(321715),c=e.i(271645);
1function u(){let e,t,n,i=(0,r.c)(5),[a,o]=(0,c.useState)(!1);return i[0]!==a?(e=()=>{if(!a)return;let e=function(e){let t=e.target;t instanceof Element&&((t.closest('[data-slot="dropdown-popover"]')??t.closest('[data-slot="dropdown-trigger"]'))||o(!1))};return document.addEventListener("pointerdown",e,!0),()=>{document.removeEventListener("pointerdown",e,!0)}},t=[a],i[0]=a,i[1]=e,i[2]=t):(e=i[1],t=i[2]),(0,c.useEffect)(e,t),i[3]!==a?(n={isOpen:a,onOpenChange:o},i[3]=a,i[4]=n):n=i[4],n}function d(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",width:"16",height:"16","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M2 12h20"}),(0,t.jsx)("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]}),n[0]=e):e=n[0],e}e.s(["LocaleSwitcher",0,function(e){let c,h,m,f,p,x,g,b,v,y,k,j,w=(0,r.c)(33),{mode:S,className:_,placement:L}=e,N=void 0===S?"public":S,P=void 0===L?"bottom end":L,C=(0,s.useTranslations)("common.localeSwitcher"),E=(0,o.useLocale)();w[0]!==E?(c=i(E),w[0]=E,w[1]=c):c=w[1];let A=c,M=u(),K=(0,l.useRouter)(),T=(0,l.usePathname)();w[2]!==A||w[3]!==N||w[4]!==T||w[5]!==K?(h=function(e){if(e===A)return;if(document.cookie=`${n.LOCALE_COOKIE}=${e};path=/;max-age=31536000;samesite=lax`,"public"!==N)return void K.refresh();let t=e===n.routing.defaultLocale?T:`/${e}${"/"===T?"":T}`,{search:r,hash:i}=window.location;window.location.replace(`${t}${r}${i}`)},w[2]=A,w[3]=N,w[4]=T,w[5]=K,w[6]=h):h=w[6];let O=h;w[7]!==C?(m=C("ariaLabel"),w[7]=C,w[8]=m):m=w[8];let R="inline-grid size-8 place-items-center rounded-chip text-(--foreground) transition-[background-color,scale] duration-150 ease-out pointer-coarse:size-11 hover:bg-(--surface-secondary) active:scale-95 motion-reduce:active:scale-100 "+(_??"");return w[9]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(d,{}),w[9]=f):f=w[9],w[10]!==m||w[11]!==R?(p=(0,t.jsx)(a.Dropdown.Trigger,{"aria-label":m,className:R,children:f}),w[10]=m,w[11]=R,w[12]=p):p=w[12],w[13]!==C?(x=C("ariaLabel"),w[13]=C,w[14]=x):x=w[14],w[15]!==A?(g=[A],w[15]=A,w[16]=g):g=w[16],w[17]!==O?(b=e=>O(i(String(e))),w[17]=O,w[18]=b):b=w[18],w[19]!==C?(v=n.routing.locales.map(e=>(0,t.jsx)(a.Dropdown.Item,{id:e,children:C(e)},e)),w[19]=C,w[20]=v):v=w[20],w[21]!==x||w[22]!==g||w[23]!==b||w[24]!==v?(y=(0,t.jsx)(a.Dropdown.Menu,{"aria-label":x,selectionMode:"single",selectedKeys:g,onAction:b,children:v}),w[21]=x,w[22]=g,w[23]=b,w[24]=v,w[25]=y):y=w[25],w[26]!==P||w[27]!==y?(k=(0,t.jsx)(a.Dropdown.Popover,{isNonModal:!0,placement:P,children:y}),w[26]=P,w[27]=y,w[28]=k):k=w[28],w[29]!==M||w[30]!==k||w[31]!==p?(j=(0,t.jsxs)(a.Dropdown.Root,{...M,children:[p,k]}),w[29]=M,w[30]=k,w[31]=p,w[32]=j):j=w[32],j}],22885);var h=e.i(794592);function m(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.0",strokeLinecap:"round",strokeLinejoin:"round",width:"16",height:"16","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"})]}),n[0]=e):e=n[0],e}function f(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",width:"16",height:"16","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),n[0]=e):e=n[0],e}function p(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",width:"16",height:"16","aria-hidden":!0,
1children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"14",rx:"2"}),(0,t.jsx)("path",{d:"M8 21h8M12 17v4"})]}),n[0]=e):e=n[0],e}e.s(["ThemeToggle",0,function(e){let n,i,o,l,d,x,g,b,v,y,k,j,w,S,_,L,N,P,C,E,A,M=(0,r.c)(50);M[0]!==e?(n=void 0===e?{}:e,M[0]=e,M[1]=n):n=M[1];let{className:K,placement:T}=n,O=void 0===T?"bottom end":T,{theme:R,resolvedTheme:z,setTheme:D}=(0,h.useTheme)(),B=(0,s.useTranslations)("common"),$=u(),[I,U]=(0,c.useState)(!1);M[2]===Symbol.for("react.memo_cache_sentinel")?(i=()=>U(!0),o=[],M[2]=i,M[3]=o):(i=M[2],o=M[3]),(0,c.useEffect)(i,o);let W=I&&("system"===R?z:R)==="dark"?"dark":I?"light":null;M[4]!==I||M[5]!==B||M[6]!==R?(l=B(I?"system"===R?"theme.ariaSystem":"dark"===R?"theme.ariaDark":"theme.ariaLight":"theme.label"),M[4]=I,M[5]=B,M[6]=R,M[7]=l):l=M[7];let q=l,H="inline-grid size-8 place-items-center rounded-chip text-(--foreground) transition-[background-color,scale] duration-150 ease-out pointer-coarse:size-11 hover:bg-(--surface-secondary) active:scale-95 motion-reduce:active:scale-100 "+(K??"");return M[8]!==W?(d="dark"===W?(0,t.jsx)(f,{}):(0,t.jsx)(m,{}),M[8]=W,M[9]=d):d=M[9],M[10]!==q||M[11]!==H||M[12]!==d?(x=(0,t.jsx)(a.Dropdown.Trigger,{"aria-label":q,className:H,children:d}),M[10]=q,M[11]=H,M[12]=d,M[13]=x):x=M[13],M[14]!==B?(g=B("theme.options"),M[14]=B,M[15]=g):g=M[15],M[16]!==I||M[17]!==R?(b=I&&R?[R]:[],M[16]=I,M[17]=R,M[18]=b):b=M[18],M[19]!==D?(v=e=>D(String(e)),M[19]=D,M[20]=v):v=M[20],M[21]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(m,{}),M[21]=y):y=M[21],M[22]!==B?(k=B("theme.light"),M[22]=B,M[23]=k):k=M[23],M[24]!==k?(j=(0,t.jsx)(a.Dropdown.Item,{id:"light",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[y," ",k]})},"light"),M[24]=k,M[25]=j):j=M[25],M[26]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)(f,{}),M[26]=w):w=M[26],M[27]!==B?(S=B("theme.dark"),M[27]=B,M[28]=S):S=M[28],M[29]!==S?(_=(0,t.jsx)(a.Dropdown.Item,{id:"dark",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[w," ",S]})},"dark"),M[29]=S,M[30]=_):_=M[30],M[31]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)(p,{}),M[31]=L):L=M[31],M[32]!==B?(N=B("theme.system"),M[32]=B,M[33]=N):N=M[33],M[34]!==N?(P=(0,t.jsx)(a.Dropdown.Item,{id:"system",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[L," ",N]})},"system"),M[34]=N,M[35]=P):P=M[35],M[36]!==b||M[37]!==v||M[38]!==j||M[39]!==_||M[40]!==P||M[41]!==g?(C=(0,t.jsxs)(a.Dropdown.Menu,{"aria-label":g,selectionMode:"single",selectedKeys:b,onAction:v,children:[j,_,P]}),M[36]=b,M[37]=v,M[38]=j,M[39]=_,M[40]=P,M[41]=g,M[42]=C):C=M[42],M[43]!==O||M[44]!==C?(E=(0,t.jsx)(a.Dropdown.Popover,{isNonModal:!0,placement:O,children:C}),M[43]=O,M[44]=C,M[45]=E):E=M[45],M[46]!==$||M[47]!==E||M[48]!==x?(A=(0,t.jsxs)(a.Dropdown.Root,{...$,children:[x,E]}),M[46]=$,M[47]=E,M[48]=x,M[49]=A):A=M[49],A}],36860)},301499,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(489800),i=e.i(88653),a=e.i(824511),o=e.i(772328),s=e.i(271645),l=e.i(174080),c=e.i(948148),u=e.i(130764),d=e.i(152088);function h(){return!1}let m={left:{sm:"w-[16rem]",md:"w-[20rem]",lg:"w-[24rem]",full:"w-full max-w-[24rem]"},right:{sm:"w-[16rem]",md:"w-[20rem]",lg:"w-[24rem]",full:"w-full max-w-[24rem]"}},f={sm:"max-h-[55dvh]",md:"max-h-[75dvh]",lg:"max-h-[85dvh]",full:"max-h-[95dvh]"},p={left:{x:"-100%"},right:{x:"100%"},bottom:{y:"100%"}};function x(e){return e.getClientRects().length>0&&"hidden"!==getComputedStyle(e).visibility&&!e.closest('[aria-hidden="true"]')}e.s(["Sheet",0,function(e){var g;let b,v,y,k,j,w,S,_,L,N,P,C=(0,r.c)(44),{open:E,onOpenChange:A,side:M,size:K,title:T,description:O,"aria-label":R,disableSwipe:z,className:D,children:B}=e,$=void 0===M?"left":M,I=void 0===K?"md":K,U=(0,c.useTranslations)("common"),W=(0,s.useId)(),q=(0,s.useId)(),H=(0,s.useRef)(null),V=(0,o.useReducedMotion)(),G=(g="(hover: none) and (pointer: coarse)",(P=(0,r.c)(3))[0]!==g?(L=e=>(function(e,t){if(!(0,n.isBrowser)())return()=>{};let r=window.matchMedia(e);return r.addEventListener("change",t),()=>r.removeEventListener("change",t)})(g,e),N=()=>{var e;return e=g,!!(0,n.isBrowser)()&&window.matchMedia(e).matches},P[0]=g,P[1]=L,P[2]=N):(L=P[1],N=P[2]),(0,s.useSyncExternalStore)(L,N,h)),[F,X]=(0,s.use
1State)(!1);C[0]!==A?(b=()=>A(!1),C[0]=A,C[1]=b):b=C[1];let Q=(0,s.useEffectEvent)(b);C[2]!==Q||C[3]!==E?(v=()=>{if(!E)return;let e=()=>{let e=H.current;return e?[...e.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled])')].filter(x):[]},t=t=>{if("Escape"===t.key)return void Q();if("Tab"!==t.key)return;let r=H.current;if(!r)return;let n=e(),i=n[0],a=n[n.length-1];if(!i||!a){t.preventDefault(),r.focus({preventScroll:!0});return}let o=document.activeElement,s=o===r||!r.contains(o);!t.shiftKey&&(o===a||s)?(t.preventDefault(),i.focus({preventScroll:!0})):t.shiftKey&&(o===i||s)&&(t.preventDefault(),a.focus({preventScroll:!0}))};document.addEventListener("keydown",t);let r=document.body.style.overflow;document.body.style.overflow="hidden";let n=document.activeElement;return(e()[0]??H.current)?.focus({preventScroll:!0}),()=>{document.removeEventListener("keydown",t),document.body.style.overflow=r,n instanceof HTMLElement&&n.isConnected&&n.focus({preventScroll:!0})}},C[2]=Q,C[3]=E,C[4]=v):v=C[4],C[5]!==E?(y=[E],C[5]=E,C[6]=y):y=C[6],(0,s.useEffect)(v,y);let Y=(0,n.isBrowser)(),Z=p[$];C[7]!==Z||C[8]!==V?(k=V?{hidden:{opacity:0},visible:{opacity:1,transition:{duration:.14,ease:"easeOut"}},exit:{opacity:0,transition:{duration:.14,ease:"easeOut"}}}:{hidden:Z,visible:{x:0,y:0,transition:{duration:.22,ease:u.ENTER_EASE}},exit:e=>({...Z,transition:e?{type:"spring",stiffness:500,damping:45}:{duration:.22,ease:u.ENTER_EASE}})},C[7]=Z,C[8]=V,C[9]=k):k=C[9];let J=k;e:{let e,t,r,n;if(z||!G){j=null;break e}if("bottom"===$){let e,t,r;C[10]===Symbol.for("react.memo_cache_sentinel")?(e={top:0,bottom:0},t={top:0,bottom:1},C[10]=e,C[11]=t):(e=C[10],t=C[11]),C[12]!==A?(r={drag:"y",dragDirectionLock:!0,dragConstraints:e,dragElastic:t,onDragEnd:(e,t)=>{(t.offset.y>90||t.velocity.y>600)&&(X(!0),A(!1))}},C[12]=A,C[13]=r):r=C[13],j=r;break e}let i="left"===$?-1:1;C[14]===Symbol.for("react.memo_cache_sentinel")?(e={left:0,right:0},C[14]=e):e=C[14],C[15]!==$?(t="left"===$?{left:1,right:0}:{left:0,right:1},C[15]=$,C[16]=t):t=C[16],C[17]!==i||C[18]!==A?(r=(e,t)=>{let r=t.offset.x*i,n=t.velocity.x*i;(r>90||n>600)&&(X(!0),A(!1))},C[17]=i,C[18]=A,C[19]=r):r=C[19],C[20]!==r||C[21]!==t?(n={drag:"x",dragDirectionLock:!0,dragConstraints:e,dragElastic:t,onDragEnd:r},C[20]=r,C[21]=t,C[22]=n):n=C[22],j=n}let ee=j,et="bottom"===$?"absolute inset-x-0 bottom-0 w-full rounded-t-3xl safe-pb":"left"===$?"absolute inset-y-0 left-0 h-dvh safe-pt safe-pb":"absolute inset-y-0 right-0 h-dvh safe-pt safe-pb",er="bottom"===$?f[I]:m[$][I];return Y?(C[23]===Symbol.for("react.memo_cache_sentinel")?(w=()=>X(!1),C[23]=w):w=C[23],C[24]!==R||C[25]!==B||C[26]!==D||C[27]!==O||C[28]!==q||C[29]!==F||C[30]!==ee||C[31]!==A||C[32]!==E||C[33]!==et||C[34]!==er||C[35]!==J||C[36]!==$||C[37]!==U||C[38]!==T||C[39]!==W?(S=E&&(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":T?W:void 0,"aria-label":T?void 0:R,"aria-describedby":O?q:void 0,className:"fixed inset-0 z-[110]",children:[(0,t.jsx)(a.m.button,{type:"button","aria-label":U("a11y.close"),initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.18,ease:"easeOut"},onClick:()=>A(!1),className:"absolute inset-0 h-full w-full cursor-default bg-black/45 backdrop-blur-[2px]"}),(0,t.jsxs)(a.m.div,{ref:H,tabIndex:-1,variants:J,initial:"hidden",animate:"visible",exit:"exit",custom:F,...ee??{},className:(0,d.cn)(et,er,"flex flex-col overflow-hidden bg-(--surface) shadow-[0_24px_80px_rgba(0,0,0,0.28)]","bottom"!==$&&"border-r border-(--border)","right"===$&&"border-r-0 border-l border-(--border)","bottom"===$&&"border-t border-(--border)",D),children:["bottom"===$&&(0,t.jsx)("div",{className:"flex h-5 shrink-0 items-center justify-center pt-2",children:(0,t.jsx)("span",{"aria-hidden":!0,className:"block h-1 w-10 rounded-full bg-(--border-default)"})}),(T||O)&&(0,t.jsxs)("header",{className:"shrink-0 border-b border-(--border) px-5 py-4",children:[T&&(0,t.jsx)("h2",{id:W,className:"text-[15px] font-semibold tracking-tight text-(--foreground)",children:T}),O&&(0,t.jsx)("p",{id:q,className:"mt-1 text-[13px] text-(--muted-foreground)",children:O})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto overscroll-contain",children:B})]})]}),C[24]=R,C[25]=B,C[26]=D,C[27]=O,C[28]=q,C[29]=F,C[30]=ee,C[31]=A,C[32]=E,C[33]=et,C[34]=er,C[35]=J,C[36]=$,C[37]=U,C[38]=T,C[39]=W,C[40]=S):S=C[40],C[41]!==F||C[42]!==S?(_=(0,l.createPortal)((0,t.jsx)(i.AnimatePresence,{custom:F,onExitComplete:w,children:S}),document.body),C[41]=F,C[42]=S,C[43]=_):_=C[43],_):null}],301499)},577809,e=>{"use strict";var t=e.i(843476),r=e.i(500932);e.s(["Spinner",0,function(e){let n,i,a,o=(0,r.c)(4),{className:s}=e,l="size-3.5 animate-spin motion-reduce:animate-none "+(s??"");return o[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"2",strokeOpacity:"0.25"}),i=(0,t.jsx)("path",{d:"M21 12a9 9 0 0 1-9 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),o[0]=n,o[1]=i):(n=o[0],i=o[1]),o[2]!==l?(a=(0,t.jsxs)("svg",{"aria-hidden":"true",className:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n,i]}),o[2]=l,o[3]=a):a=o[3],a}])},321715,997116,e=>{"use strict";var t=e.i(618566),r=e.i(271645),n=e.i(861745),i=r["use".trim()],a=e.i(549092),o=e.i(77105),s=e.i(489790),l=e.i(843476),c=e.i(33165);let u={locales:["en","zh-Hans"],defaultLocale:"en",localePrefix:"as-needed",localeDetection:!1};e.s(["LOCALE_COOKIE",0,"lune.locale","routing",0,u],997116);let{Link:d,usePathname:h,useRouter:m,getPathname:f}=function(e){let{Link:u,config:d,getPathname:h,...m}=function(e,n){var c,u,d;let h={...c=n||{},localePrefix:"object"==typeof(d=c.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},m=h.pathnames,f=(0,r.forwardRef)(function({href:t,locale:r,...n},s){let c,u;"object"==typeof t?(c=t.pathname,u=t.params):c=t;let d=(0,a.isLocalizableHref)(t),f=e(),x=(0,a.isPromise)(f)?i(f):f,g=d?p({locale:r||x,href:null==m?c:{pathname:c,params:u},forcePrefix:null!=r||void 0}):c;return(0,l.jsx)(o.default,{ref:s,href:"object"==typeof t?{...t,pathname:g}:g,locale:r,localeCookie:h.localeCookie,...n})});function p(e){let t,{forcePrefix:r,href:n,locale:i}=e;return null==m?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,s.serializeSearchParams)(n.query))):t=n:t=(0,s.compileLocalizedPathname)({locale:i,...(0,s.normalizeNameOrNameWithParams)(n),pathnames:h.pathnames}),(0,s.applyPathnamePrefix)(t,i,h,r)}function x(e){return function(t,...r){return e(p(t),...r)}}return{config:h,Link:f,redirect:x(t.redirect),permanentRedirect:x(t.permanentRedirect),getPathname:p}}(n.useLocale,e);return{...m,Link:u,usePathname:function(){let e,i,o=(e=(0,t.usePathname)(),i=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,a.getLocalePrefix)(i,d.localePrefix);if((0,a.hasPathnamePrefixed)(r,e))t=(0,a.unprefixPathname)(e,r);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let r=(0,a.getLocaleAsPrefix)(i);(0,a.hasPathnamePrefixed)(r,e)&&(t=(0,a.unprefixPathname)(e,r))}return t},[d.localePrefix,i,e])),l=(0,n.useLocale)();return(0,r.useMemo)(()=>o&&d.pathnames?(0,s.getRoute)(l,o,d.pathnames):o,[l,o])},useRouter:function(){let e=(0,t.useRouter)(),i=(0,n.useLocale)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...a}=r||{},o=[h({href:t,locale:n||i,forcePrefix:null!=n||void 0})];Object.keys(a).length>0&&o.push(a),(0,c.default)(d.localeCookie,i,n),e(...o)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[i,e])},getPathname:h}}(u);e.s(["Link",0,d,"usePathname",0,h,"useRouter",0,m],321715)},2739,181584,e=>{"use strict";var t=e.i(247167),r=e.i(489800),n=e.i(972390);let i=new Set(["127.0.0.1","localhost","[::1]"]);function a(e){try{let t=new URL(e);return"http:"===t.protocol&&i.has(t.hostname)}catch{return!1}}function o(e,t,r){return"development"===r&&a(e)?`${t}/api/local-supabase`:e}function s(e){return`sb-${new URL(e).hostname.split(".")[0]}-auth-token`}let l=function({nodeEnv:e,supabaseUrl:t,email:r,password:n}){return"development"===e&&t&&r&&n&&a(t)?{email:r,password:n}:null}({nodeEnv:"production",supabaseUrl:"https://azbxjajkqwmpgeeftxok.supabase.co",email:t.default.env.NEXT_PUBLIC_LOCAL_DEV_ACCOUNT_EMAIL,password:t.default.env.NEXT_PUBLIC_LOCAL_DEV_ACCOUNT_PASSWORD});e.s(["LOCAL_DEV_ACCOUNT",0,l,"resolveBrowserSupabaseUrl",0,o,"supabaseAuthCookieName",0,s],181584);let c=null;function u(){if(c)return c;let e="https://azbxjajkqwmpgeeftxok.supabase.co",t=(0,r.isBrowser)()?o(e,window.location.origin,"production"):e;return c=(0,n.createBrowserClient)(t,"sb_publishable_VIukE8vpgIk_nBxfnC-AKg_YG5FsWB7",t===e?void 0:{cookieOptions:{name:s(e)}})}e.s(["getBrowserSupabase",0,function(){return c||((0,r.isBrowser)()?u():new Proxy({},{get(e,t){if("then"!==t&&t!==Symbol.toStringTag)return u()[t]}}))}],2739)},19662,e=>{"use strict";var t=e.i(500932),r=e.i(271645),n=e.i(2739);e.s(["useAuthStatus",0,function(){let e,i,a=(0,t.c)(2),[o,s]=(0,r.useState)("unknown");return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=(0,n.getBrowserSupabase)(),t=!1;e.auth.getSession().then(e=>{let{data:r}=e;t||s(r.session?.user?"authenticated":"anonymous")});let{data:r}=e.auth.onAuthStateChange((e,t)=>{s(t?.user?"authenticated":"anonymous")});return()=>{t=!0,r.subscription.unsubscribe()}},i=[],a[0]=e,a[1]=i):(e=a[0],i=a[1]),(0,r.useEffect)(e,i),o}])},771126,e=>{"use strict";var t=e.i(500932),r=e.i(618566),n=e.i(2739);e.s(["useSignOut",0,function(e){let i,a=(0,t.c)(3),o=(0,r.useRouter)();return a[0]!==e||a[1]!==o?(i=async()=>{await (0,n.getBrowserSupabase)().auth.signOut(),e&&o.push(e),o.refresh()},a[0]=e,a[1]=o,a[2]=i):i=a[2],i}])},144884,e=>{"use strict";let t=[{href:"/",labelKey:"homeLabel"},{href:"/docs",labelKey:"documentation"},{href:"/pricing",labelKey:"pricing"},{href:"/conferences",labelKey:"venues"}];e.s(["FOOTER_GROUPS",0,[{titleKey:"groups.product",links:[{href:"/docs/mcp",labelKey:"mcp"},{href:"/docs/cli",labelKey:"cli"},{href:"/pricing",labelKey:"pricing"},{href:"/vs",labelKey:"comparisons",enOnly:!0}]},{titleKey:"groups.resources",links:[{href:"/docs",labelKey:"documentation"},{href:"/blog",labelKey:"blog"},{href:"/conferences",labelKey:"venues"},{href:"/developers",labelKey:"developers"},{href:"/status",labelKey:"status"}]},{titleKey:"groups.company",links:[{href:"/about",labelKey:"about"},{href:"/contact",labelKey:"contact"},{href:"https://x.com/luneresearch",labelKey:"x"},{href:"https://www.linkedin.com/showcase/lune-research",labelKey:"linkedin"}]},{titleKey:"groups.legal",links:[{href:"/legal/privacy",labelKey:"privacy"},{href:"/legal/terms",labelKey:"terms"}]}],"SITE_NAV",0,t,"activeNavHref",0,function(e){let r=null;for(let{href:n}of t)("/"===n?"/"===e:e===n||e.startsWith(`${n}/`))&&(null===r||n.length>r.length)&&(r=n);return r}])},593583,e=>{"use strict";var t=e.i(456420);let r={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};r.node;let n=(0,t.default)(r);e.s(["Menu",0,n],593583)},77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(271645),n=e.i(861745),i=e.i(247167);function a(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function o(e,t){let r=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function s(e,t,r){return"string"==typeof e?e:e[t]||r}function l(e){let t=function(){try{return"true"===i.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),a=n.join("#"),o=r;if("/"!==o){let e=o.endsWith("/");t&&!e?o+="/":!t&&e&&(o=o.slice(0,-1))}return a&&(o+="#"+a),o}function c(e,t){let r,n=l(e),i=l(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(i)}function u(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function h(e){return e.includes("[[...")}function m(e){return e.includes("[...")}function f(e){return e.includes("[")}function p(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!f(t)&&f(i))return -1;if(f(t)&&!f(i))return 1;if(!m(t)&&m(i))return -1;if(m(t)&&!m(i))return 1;if(!h(t)&&h(i))return -1;if(h(t)&&!h(i))return 1}}return 0}function x(e){return e.sort(p)}function g(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function b(){try{return i.default.env._next_intl_base_path||""}catch{return""}}function v(e,t,r){if(!e||r===t||null==r)return;let{name:n,...i}=e;i.path||(i.path=b()||"/");let a=`${n}=${r};`;for(let[e,t]of Object.entries(i))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}e.s(["getLocaleAsPrefix",0,d,"getLocalePrefix",0,u,"getLocalizedTemplate",0,s,"getSortedPathnames",0,x,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,a,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,c,"normalizeTrailingSlash",0,l,"prefixPathname",0,o,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],549092),e.s(["applyPathnamePrefix",0,function(e,t,r,n){let i,{mode:s}=r.localePrefix;if(void 0!==n)i=n;else if(a(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||s;"always"===n?i=!0:"as-needed"===n&&(i=e?t!==e.defaultLocale:t!==r.defaultLocale)}return i?o(u(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:n,query:i}){function a(e){let a,o=n[e];return o?(a=s(o,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),()=>n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=l(a),i&&(a+=g(i)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}},"getBasePath",0,b,"getRoute",0,function(e,t,r){let n=x(Object.keys(r)),i=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(c(n,i))return t}else if(c(s(n,e,t),i))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,g],489790),e.s(["default",0,v],33165);var y=e.i(843476);let k=t.default;function j({curLocale:e,linkRef:t,locale:r,localeCookie:n,onClick:i,prefetch:a,...o}){return(0,y.jsx)(k,{ref:t,hrefLang:r,onClick:function(t){v(n,e,r),i&&i(t)},prefetch:!1,...o})}var w=(0,r.forwardRef)(function({locale:e,localeCookie:t,...r},i){let a=(0,n.useLocale)();return null!=e&&e!==a?(0,y.jsx)(j,{curLocale:a,linkRef:i,locale:e,localeCookie:t,...r}):(0,y.jsx)(k,{ref:i,...r})});e.s(["default",0,w],77105)},618566,(e,t,r)=>{t.exports=e.r(976562)}]); 2 3//# chunkId=01a0f5cf-0248-7f82-afb1-542de93849f6
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.