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]="01a0d0e1-222d-75b0-aeb4-ff026499c511")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,539556,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(824511),i=e.i(271645),a=e.i(130764),n=e.i(606519),l=e.i(152088);let o=new Map([["ArrowLeft",0],["ArrowUp",0],["Home",0],["ArrowRight",1],["ArrowDown",1],["End",1]]);e.s(["IntervalToggle",0,function(e){let c,u,d,h,p=(0,r.c)(21),{value:f,onChange:m,labels:g,disabled:y,className:b}=e,v=void 0!==y&&y,x=(0,i.useId)(),k=(0,i.useRef)(null);p[0]!==v||p[1]!==m||p[2]!==f?(c=function(e){if(v)return;let t=o.get(e.key);if(void 0===t)return;e.preventDefault();let r=n.PLAN_INTERVALS[t];void 0!==r&&r!==f&&(m(r),k.current?.querySelector(`button[data-interval="${r}"]`)?.focus())},p[0]=v,p[1]=m,p[2]=f,p[3]=c):c=p[3];let S=c,R=g.group,j=v?"true":void 0,N=v&&"opacity-60";return p[4]!==b||p[5]!==N?(u=(0,l.cn)("relative inline-flex h-8 shrink-0 items-stretch whitespace-nowrap rounded-control border border-(--border) bg-(--surface-tertiary) p-0.5 t-caption leading-none dark:bg-(--surface-secondary)",N,b),p[4]=b,p[5]=N,p[6]=u):u=p[6],p[7]!==v||p[8]!==x||p[9]!==g.month||p[10]!==g.savings||p[11]!==g.year||p[12]!==m||p[13]!==S||p[14]!==f?(d=n.PLAN_INTERVALS.map(e=>{let r=e===f;return(0,t.jsxs)("button",{type:"button","data-interval":e,"aria-pressed":r,disabled:v,onKeyDown:S,onClick:()=>{r||m(e)},className:(0,l.cn)("relative inline-flex min-h-0! items-center justify-center gap-1.5 rounded-chip px-3 transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color-mix(in_oklab,var(--foreground)_28%,transparent)]",r?"text-(--foreground)":"text-(--muted-foreground) hover:text-(--foreground)"),children:[r&&(0,t.jsx)(s.m.span,{"aria-hidden":!0,layoutId:x,transition:{duration:.24,ease:a.ENTER_EASE},className:"absolute inset-0 rounded-chip bg-(--surface) shadow-[0_1px_2px_color-mix(in_oklab,var(--foreground)_8%,transparent)] dark:bg-(--surface-tertiary)"}),(0,t.jsx)("span",{className:"relative",children:"month"===e?g.month:g.year}),"year"===e&&(0,t.jsx)("span",{className:(0,l.cn)("relative rounded-chip px-1.5 py-0.5 t-label font-medium uppercase transition-colors duration-200",r?"bg-(--accent) text-(--accent-foreground)":"bg-[color-mix(in_oklab,var(--foreground)_10%,transparent)] text-(--foreground)"),children:g.savings})]},e)}),p[7]=v,p[8]=x,p[9]=g.month,p[10]=g.savings,p[11]=g.year,p[12]=m,p[13]=S,p[14]=f,p[15]=d):d=p[15],p[16]!==g.group||p[17]!==j||p[18]!==u||p[19]!==d?(h=(0,t.jsx)("div",{ref:k,role:"group","aria-label":R,"data-disabled":j,className:u,children:d}),p[16]=g.group,p[17]=j,p[18]=u,p[19]=d,p[20]=h):h=p[20],h}])},997221,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=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.api","/docs/api"],["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.troubleshooting","/docs/troubleshooting"]]}];var n=e.i(152088);e.s(["DocNavBody",0,function(e){let l,o,c,u=(0,r.c)(9),{onSelect:d}=e,h=(0,s.useTranslations)("docs"),p=(0,i.usePathname)();return u[0]!==h?(l=h("navLabel"),u[0]=h,u[1]=l):l=u[1],u[2]!==d||u[3]!==p||u[4]!==h?(o=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,s]=e,a=p===s;return(0,t.jsx)("li",{children:(0,t.jsx)(i.Link,{href:s,onClick:d,"aria-current":a?"page":void 0,className:(0,n.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)})},s)})})]},e.titleKey)),u[2]=d,u[3]=p,u[4]=h,u[5]=o):o=u[5],u[6]!==l||u[7]!==o?(c=(0,t.jsx)("nav",{"aria-label":l,className:"grid gap-5 text-[13px]",children:o}),u[6]=l,u[7]=o,u[8]=c):c=u[8],c}],997221)},31615,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(522016),i=e.i(768877),a=e.i(689664),n=e.i(948148),l=e.i(271645),o=e.i(539556),c=e.i(533098),u=e.i(606519);let d=[{key:"free",featureKeys:["allOfLune","onePersonalAccount","signInGoogleEmail","topUpCredits"],href:"/signup"},{key:"pro",highlight:!0,featureKeys:["everythingInFree","searchAndReveals","shareWithTeam","connectAnyClient"],href:"/dashboard/settings/billing"},{key:"max",featureKeys:["everythingInPro","searchAndReveals","shareWithTeam","prioritySupport"],href:"/dashboard/settings/billing"}];e.s(["PricingTable",0,function(e){let h,p,f,m,g,y,b,v,x,k,S,R,j,N,w,T=(0,r.c)(42);T[0]!==e?(h=void 0===e?{}:e,T[0]=e,T[1]=h):h=T[1];let{showIntro:C}=h,_=void 0===C||C,Q=(0,n.useTranslations)("pricing"),[I,O]=(0,l.useState)("month"),E=_?"section":"page",M=_?"h3":"h2";T[2]!==_||T[3]!==Q?(p=_?(0,t.jsx)(c.SectionHead,{label:Q("eyebrow"),plate:"05",title:Q("heading"),intro:Q("subheading")}):null,T[2]=_,T[3]=Q,T[4]=p):p=T[4];let P=_?"mt-8":"mb-6";return T[5]!==Q?(f=Q("interval.label"),T[5]=Q,T[6]=f):f=T[6],T[7]!==Q?(m=Q("interval.month"),T[7]=Q,T[8]=m):m=T[8],T[9]!==Q?(g=Q("interval.year"),T[9]=Q,T[10]=g):g=T[10],T[11]!==Q?(y=Q("interval.savings",{percent:u.ANNUAL_DISCOUNT_PERCENT}),T[11]=Q,T[12]=y):y=T[12],T[13]!==f||T[14]!==m||T[15]!==g||T[16]!==y?(b={group:f,month:m,year:g,savings:y},T[13]=f,T[14]=m,T[15]=g,T[16]=y,T[17]=b):b=T[17],T[18]!==I||T[19]!==b?(v=(0,t.jsx)(o.IntervalToggle,{value:I,onChange:O,labels:b}),T[18]=I,T[19]=b,T[20]=v):v=T[20],T[21]!==v||T[22]!==P?(x=(0,t.jsx)("div",{className:P,children:v}),T[21]=v,T[22]=P,T[23]=x):x=T[23],T[24]!==M||T[25]!==I||T[26]!==Q?(k=d.map(e=>{let r=u.PRODUCT_CONTRACT.tiers[e.key],n=null!==r.stripe,l=r.daily_requests,o=n?I:"month";return(0,t.jsxs)("article",{className:"pricing-card","data-highlighted":e.highlight?"true":"false","data-interval":o,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(M,{className:"pricing-tier",children:Q(`tiers.${e.key}.name`)}),e.highlight&&(0,t.jsx)("span",{className:"pricing-popular",children:Q("popular")})]}),(0,t.jsx)("p",{className:"pricing-price",children:(0,u.formatUsd)((0,u.planPriceCents)(e.key,o))}),(0,t.jsxs)("p",{className:"pricing-cadence",children:["year"!==o&&Q(`tiers.${e.key}.cadence`,{count:l}),n&&"year"===o&&Q("monthlyEquivalent",{price:(0,u.formatUsd)((0,u.yearlyMonthlyEquivalentCents)(e.key))})]}),(0,t.jsx)("ul",{className:"pricing-features",children:e.featureKeys.map(r=>(0,t.jsxs)("li",{className:"flex items-start gap-2",children:[(0,t.jsx)(a.Check,{className:"pricing-check"}),(0,t.jsx)("span",{className:"pricing-feature",children:Q(`tiers.${e.key}.features.${r}`,{count:l})})]},r))}),(0,t.jsxs)(s.default,{href:e.href,className:`pricing-cta lune-focus ${e.highlight?"btn-primary-cta":""}`,children:[Q(`tiers.${e.key}.cta`),(0,t.jsx)(i.ArrowRight,{className:"size-3"})]})]},e.key)}),T[24]=M,T[25]=I,T[26]=Q,T[27]=k):k=T[27],T[28]!==k?(S=(0,t.jsx)("div",{className:"pricing-grid",children:k}
1),T[28]=k,T[29]=S):S=T[29],T[30]!==Q?(R=Q("footnote",{count:u.PRODUCT_CONTRACT.credits.pack.credits,price:(0,u.formatUsd)(u.PRODUCT_CONTRACT.credits.pack.price_cents)}),T[30]=Q,T[31]=R):R=T[31],T[32]!==R?(j=(0,t.jsx)("p",{className:"pricing-footnote",children:R}),T[32]=R,T[33]=j):j=T[33],T[34]!==x||T[35]!==S||T[36]!==j||T[37]!==E?(N=(0,t.jsxs)("div",{className:"pricing-table","data-variant":E,children:[x,S,j]}),T[34]=x,T[35]=S,T[36]=j,T[37]=E,T[38]=N):N=T[38],T[39]!==N||T[40]!==p?(w=(0,t.jsxs)(t.Fragment,{children:[p,N]}),T[39]=N,T[40]=p,T[41]=w):w=T[41],w}])},662920,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(271645),i=e.i(948148);let a=Date.UTC(2e3,0,6,18,14),n=["newMoon","waxingCrescent","firstQuarter","waxingGibbous","fullMoon","waningGibbous","lastQuarter","waningCrescent"];e.s(["MoonReadout",0,function(){let e,l,o,c,u,d,h,p,f,m,g=(0,r.c)(21),y=(0,i.useTranslations)("nav"),[b,v]=(0,s.useState)(null);if(g[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e;return v((e=(new Date().getTime()-a)/864e5/29.530588853)-Math.floor(e))},l=[],g[0]=e,g[1]=l):(e=g[0],l=g[1]),(0,s.useEffect)(e,l),g[2]!==y?(o=y("moon.label"),g[2]=y,g[3]=o):o=g[3],g[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}),g[4]=c):c=g[4],g[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"})}),g[5]=b,g[6]=u}else u=g[6];g[7]!==u?(d=(0,t.jsxs)("svg",{viewBox:"0 0 14 14",className:"size-3.5 shrink-0","aria-hidden":!0,children:[c,u]}),g[7]=u,g[8]=d):d=g[8];let x=+(null!==b);return(g[9]!==x?(h={opacity:x},g[9]=x,g[10]=h):h=g[10],g[11]!==b||g[12]!==y)?(p=null===b?"":y(`moon.${n[Math.floor(8*b+.5)%8]}`),g[11]=b,g[12]=y,g[13]=p):p=g[13],g[14]!==h||g[15]!==p?(f=(0,t.jsx)("span",{className:"t-label whitespace-nowrap transition-opacity duration-500",style:h,children:p}),g[14]=h,g[15]=p,g[16]=f):f=g[16],g[17]!==o||g[18]!==d||g[19]!==f?(m=(0,t.jsxs)("div",{className:"flex h-4 items-center gap-2 text-(--muted-foreground)",title:o,children:[d,f]}),g[17]=o,g[18]=d,g[19]=f,g[20]=m):m=g[20],m}],662920)},533098,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(152088);let i="px-6 lg:px-8";function a(e){let i,a,n=(0,r.c)(6),{children:l,icon:o,className:c}=e;return n[0]!==c?(i=(0,s.cn)("t-label tone-pill",c),n[0]=c,n[1]=i):i=n[1],n[2]!==l||n[3]!==o||n[4]!==i?(a=(0,t.jsxs)("p",{className:i,children:[o,l]}),n[2]=l,n[3]=o,n[4]=i,n[5]=a):a=n[5],a}e.s(["SECTION_GUTTER",0,i,"Section",0,function(e){let i,a,n=(0,r.c)(7),{id:l,tone:o,className:c,children:u}=e;return n[0]!==c?(i=(0,s.cn)("scroll-mt-20 py-12",c),n[0]=c,n[1]=i):i=n[1],n[2]!==u||n[3]!==l||n[4]!==i||n[5]!==o?(a=(0,t.jsx)("section",{id:l,"data-tone":o,className:i,children:u}),n[2]=u,n[3]=l,n[4]=i,n[5]=o,n[6]=a):a=n[6],a},"SectionHead",0,function(e){let n,l,o,c,u,d,h,p=(0,r.c)(19),{label:f,labelIcon:m,plate:g,title:y,intro:b,className:v}=e;return p[0]!==v?(n=(0,s.cn)("rise relative",i,v),p[0]=v,p[1]=n):n=p[1],p[2]!==m?(l=m?{icon:m}:{},p[2]=m,p[3]=l):l=p[3],p[4]!==f||p[5]!==l?(o=(0,t.jsx)(a,{...l,children:f}),p[4]=f,p[5]=l,p[6]=o):o=p[6],p[7]!==g?(c=g?(0,t.jsx)("span",{"aria-hidden":!0,className:"t-numeral absolute top-1.5 right-0 hidden translate-x-[calc(100%+3.5rem)] lg:block",style:{color:"var(--tone-ink, var(--muted-foreground))"},children:g}):null,p[7]=g,p[8]=c):c=p[8],p[9]!==y?(u=y?(0,t.jsx)("h2",{className:"t-title mt-5 text-balance text-(--foreground)",children:y}):null,p[9]=y,p[10]=u):u=p[10],p[11]!==b?(d=b?(0,t.jsx)("p",{className:"t-lead mt-3 text-pretty text-(--muted-foreground)",children:b}):null,p[11]=b,p[12]=d):d=p[12],p[13]!==n||p[14]!==o||p[15]!==c||p[16]!==u||p[17]!==d?(h=(0,t.jsxs)("div",{className:n,children:[o,c,u,d]}),p[13]=n,p[14]=o,p[15]=c,p[16]=u,p[17]=d,p[18]=h):h=p[18],h},"SectionLabel",0,function(e){let i,a,n,l=(0,r.c)(8),{children:o,className:c,dot:u}=e,d=void 0===u||u;return l[0]!==c?(i=(0,s.cn)("t-label flex items-center gap-2 text-(--muted-foreground)",c),l[0]=c,l[1]=i):i=l[1],l[2]!==d?(a=d?(0,t.jsx)("span",{"aria-hidden":!0,
1className:"size-[5px] shrink-0 rounded-full",style:{background:"var(--tone, var(--muted-foreground))"}}):null,l[2]=d,l[3]=a):a=l[3],l[4]!==o||l[5]!==i||l[6]!==a?(n=(0,t.jsxs)("p",{className:i,children:[a,o]}),l[4]=o,l[5]=i,l[6]=a,l[7]=n):n=l[7],n}])},605966,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(522016),i=e.i(948148),a=e.i(768877),n=e.i(577809);function l(e){let i,l,o,c,u=(0,r.c)(9),{label:d}=e,{pending:h}=(0,s.useLinkStatus)();return u[0]!==d?(i=(0,t.jsx)("span",{children:d}),u[0]=d,u[1]=i):i=u[1],u[2]!==h?(l=h?(0,t.jsx)(n.Spinner,{}):(0,t.jsx)(a.ArrowRight,{className:"size-3.5"}),o=h?(0,t.jsx)("span",{hidden:!0,"data-pending":!0,"aria-hidden":"true"}):null,u[2]=h,u[3]=l,u[4]=o):(l=u[3],o=u[4]),u[5]!==i||u[6]!==l||u[7]!==o?(c=(0,t.jsxs)(t.Fragment,{children:[i,l,o]}),u[5]=i,u[6]=l,u[7]=o,u[8]=c):c=u[8],c}var o=e.i(19662),c=e.i(771126),u=e.i(152088);e.s(["SiteAuthLinks",0,function(e){let n,d,h,p,f,m,g,y,b,v,x=(0,r.c)(49),{variant:k,align:S,onSelect:R}=e,j=void 0===S?"start":S,N=(0,i.useTranslations)("nav"),w="authenticated"===(0,o.useAuthStatus)(),T=(0,c.useSignOut)();x[0]!==R?(n=R?{onClick:R}:{},x[0]=R,x[1]=n):n=x[1];let C=n;if(x[2]!==j||x[3]!==w||x[4]!==R||x[5]!==C||x[6]!==T||x[7]!==N||x[8]!==k){p=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"===j?"items-end text-right":"items-start",i="rail"===k?"gap-1.5":"gap-1";if(x[12]!==r||x[13]!==i?(e=(0,u.cn)("lune-link-group flex flex-col",r,i),x[12]=r,x[13]=i,x[14]=e):e=x[14],d=e,w){let e,r,i,a,n,o,c=(0,u.cn)(h,"has-[[data-pending]]:cursor-not-allowed");x[15]!==N?(e=N("dashboard"),x[15]=N,x[16]=e):e=x[16],x[17]!==e?(r=(0,t.jsx)(l,{label:e}),x[17]=e,x[18]=r):r=x[18];let f=(0,t.jsx)(s.default,{href:"/dashboard",...C,className:c,children:r});x[19]!==R||x[20]!==T?(i=()=>{R?.(),T()},x[19]=R,x[20]=T,x[21]=i):i=x[21],x[22]!==N?(a=N("signOut"),x[22]=N,x[23]=a):a=x[23],x[24]!==h||x[25]!==i||x[26]!==a?(n=(0,t.jsx)("button",{type:"button",onClick:i,className:h,children:a}),x[24]=h,x[25]=i,x[26]=a,x[27]=n):n=x[27],x[28]!==d||x[29]!==f||x[30]!==n?(o=(0,t.jsxs)("div",{className:d,children:[f,n]}),x[28]=d,x[29]=f,x[30]=n,x[31]=o):o=x[31],p=o;break e}}x[2]=j,x[3]=w,x[4]=R,x[5]=C,x[6]=T,x[7]=N,x[8]=k,x[9]=d,x[10]=h,x[11]=p}else d=x[9],h=x[10],p=x[11];return p!==Symbol.for("react.early_return_sentinel")?p:(x[32]!==N?(f=N("signIn"),x[32]=N,x[33]=f):f=x[33],x[34]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(a.ArrowRight,{className:"size-3.5"}),x[34]=m):m=x[34],x[35]!==h||x[36]!==C||x[37]!==f?(g=(0,t.jsxs)(s.default,{href:"/login",...C,className:h,children:[f," ",m]}),x[35]=h,x[36]=C,x[37]=f,x[38]=g):g=x[38],x[39]!==N?(y=N("getStarted"),x[39]=N,x[40]=y):y=x[40],x[41]!==h||x[42]!==C||x[43]!==y?(b=(0,t.jsx)(s.default,{href:"/signup",...C,className:h,children:y}),x[41]=h,x[42]=C,x[43]=y,x[44]=b):b=x[44],x[45]!==d||x[46]!==g||x[47]!==b?(v=(0,t.jsxs)("div",{className:d,children:[g,b]}),x[45]=d,x[46]=g,x[47]=b,x[48]=v):v=x[48],v)}],605966)},299661,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(948148),i=e.i(321715),a=e.i(144884),n=e.i(152088);e.s(["SiteNavLinks",0,function(e){let l,o,c,u,d=(0,r.c)(13),{variant:h,onSelect:p,markCurrent:f}=e,m=void 0===f||f,g=(0,s.useTranslations)("nav"),y=(0,i.usePathname)();d[0]!==y?(l=(0,a.activeNavHref)(y),d[0]=y,d[1]=l):l=d[1];let b=l,v="rail"===h?"gap-0.5":"gap-1";return d[2]!==v?(o=(0,n.cn)("lune-link-group flex list-none flex-col p-0",v),d[2]=v,d[3]=o):o=d[3],d[4]!==b||d[5]!==m||d[6]!==p||d[7]!==g||d[8]!==h?(c=a.SITE_NAV.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(i.Link,{href:e.href,onClick:p,"aria-current":m&&e.href===b?"page":void 0,className:(0,n.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:g(e.labelKey)})},e.href)),d[4]=b,d[5]=m,d[6]=p,d[7]=g,d[8]=h,d[9]=c):c=d[9],d[10]!==o||d[11]!==c?(u=(0,t.jsx)("ul",{className:o,children:c}),d[10]=o,d[11]=c,d[12]=u):u=d[12],u}])},553542,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(948148),i=e.i(997221),a=e.i(22885),n=e.i(36860),l=e.i(321715),o=e.i(299661);e.s(["SiteRail",0,function(){let e,c,u,d,h,p,f,m,g,y,b,v,x,k,S=(0,r.c)(29),R=(0,s.useTranslations)("nav"),j=(0,l.usePathname)();S[0]!==j?(e="/docs"===j||j.startsWith("/docs/"),S[0]=j,S[1]=e):e=S[1];let N=e;S[2]!==R?(c=R("home"),S[2]=R,S[3]=c):c=S[3],S[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"}),S[4]=u):u=S[4],S[5]!==c?(d=(0,t.jsx)(l.Link,{href:"/","aria-label":c,className:"lune-focus shrink-0 rounded-chip transition-opacity duration-150 hover:opacity-70",children:u}),S[5]=c,S[6]=d):d=S[6],S[7]!==R?(h=R("siteNavigation"),S[7]=R,S[8]=h):h=S[8];let w=!N;return S[9]!==w?(p=(0,t.jsx)(o.SiteNavLinks,{variant:"rail",markCurrent:w}),S[9]=w,S[10]=p):p=S[10],S[11]!==h||S[12]!==p?(f=(0,t.jsx)("nav",{"aria-label":h,children:p}),S[11]=h,S[12]=p,S[13]=f):f=S[13],S[14]!==N?(m=N?(0,t.jsx)("div",{className:"border-t border-(--border) pt-5 pb-2",children:(0,t.jsx)(i.DocNavBody,{})}):null,S[14]=N,S[15]=m):m=S[15],S[16]!==d||S[17]!==f||S[18]!==m?(g=(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,m]})}),S[16]=d,S[17]=f,S[18]=m,S[19]=g):g=S[19],S[20]===Symbol.for("react.memo_cache_sentinel")?(y=(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)(n.ThemeToggle,{placement:"top start"})]}),S[20]=y):y=S[20],S[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)"}}),S[21]=b):b=S[21],S[22]!==R?(v=R("status"),S[22]=R,S[23]=v):v=S[23],S[24]!==v?(x=(0,t.jsxs)("div",{className:"relative mt-6 flex shrink-0 flex-col gap-3",children:[y,(0,t.jsxs)(l.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]})]}),S[24]=v,S[25]=x):x=S[25],S[26]!==x||S[27]!==g?(k=(0,t.jsx)("aside",{className:"relative z-10 hidden shrink-0 lg:block lg:w-[168px] xl:w-[224px]",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:[g,x]})}),S[26]=x,S[27]=g,S[28]=k):k=S[28],k}])},21445,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(593583),i=e.i(948148),a=e.i(271645),n=e.i(997221),l=e.i(260525),o=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,p,f,m,g,y,b,v,x,k,S,R,j,N,w,T,C,_,Q,I,O,E,M,P,A,L=(0,r.c)(48),K=(0,i.useTranslations)("nav"),D=(0,u.usePathname)(),[U,z]=(0,a.useState)(!1);L[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>z(!1),L[0]=e):e=L[0];let F=e;L[1]!==D?(p="/docs"===D||D.startsWith("/docs/"),L[1]=D,L[2]=p):p=L[2];let V=p;return L[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)"}}),L[3]=f):f=L[3],L[4]!==K?(m=K("home"),L[4]=K,L[5]=m):m=L[5],L[6]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)("img",{src:"/lune-logo-text.svg",alt:"Lune",className:"h-5 w-auto dark:invert"}),L[6]=g):g=L[6],L[7]!==m?(y=(0,t.jsx)(u.Link,{href:"/","aria-label":m,className:"lune-focus -ml-1 flex h-full items-center rounded-chip px-1",children:g}),L[7]=m,L[8]=y):y=L[8],L[9]!==K?(b=K("openMenu"),L[9]=K,L[10]=b):b=L[10],L[11]===Symbol.for("react.memo_cache_sentinel")?(v=()=>z(!0),L[11]=v):v=L[11],L[12]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)(s.Menu,{className:"size-5"}),L[12]=x):x=L[12],L[13]!==U||L[14]!==b?(k=(0,t.jsx)("button",{type:"button","aria-label":b,"aria-expanded":U,onClick:v,className:"lune-focus -mr-2.5 flex size-11 items-center justify-center rounded-chip text-(--foreground)",children:x}),L[13]=U,L[14]=b,L[15]=k):k=L[15],L[16]!==y||L[17]!==k?(S=(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:[y,k]})]}),L[16]=y,L[17]=k,L[18]=S):S=L[18],L[19]!==K?(R=K("siteNavigation"),L[19]=K,L[20]=R):R=L[20],L[21]!==K?(j=K("siteNavigation"),L[21]=K,L[22]=j):j=L[22],L[23]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(h.SiteNavLinks,{variant:"sheet",onSelect:F}),L[23]=N):N=L[23],L[24]!==j?(w=(0,t.jsx)("nav",{"aria-label":j,children:N}),L[24]=j,L[25]=w):w=L[25],L[26]!==V?(T=V&&(0,t.jsx)("div",{className:"mt-6 border-t border-(--border) pt-6",children:(0,t.jsx)(n.DocNavBody,{onSelect:F})}),L[26]=V,L[27]=T):T=L[27],L[28]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)("div",{className:"mt-6 border-t border-(--border) pt-6",children:(0,t.jsx)(d.SiteAuthLinks,{variant:"sheet",onSelect:F})}),L[28]=C):C=L[28],L[29]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)("span",{"aria-hidden":!0,className:"size-[5px] shrink-0 rounded-full",style:{background:"var(--dusk-blue)"}}),L[29]=_):_=L[29],L[30]!==K?(Q=K("status"),L[30]=K,L[31]=Q):Q=L[31],L[32]!==Q?(I=(0,t.jsxs)(u.Link,{href:"/status",onClick:F,className:"t-label flex items-center gap-2 text-(--muted-foreground) transition-colors hover:text-(--foreground)",children:[_,Q]}),L[32]=Q,L[33]=I):I=L[33],L[34]===Symbol.for("react.memo_cache_sentinel")?(O=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(o.LocaleSwitcher,{mode:"public"}),(0,t.jsx)(c.ThemeToggle,{})]}),L[34]=O):O=L[34],L[35]!==I?(E=(0,t.jsxs)("div",{className:"mt-8 flex items-center justify-between border-t border-(--border) pt-5",children:[I,O]}),L[35]=I,L[36]=E):E=L[36],L[37]!==w||L[38]!==T||L[39]!==E?(M=(0,t.jsxs)("div",{className:"px-8 pt-4 pb-10",children:[w,T,C,E]}),L[37]=w,L[38]=T,L[39]=E,L[40]=M):M=L[40],L[41]!==U||L[42]!==R||L[43]!==M?(P=(0,t.jsx)(l.BottomSheet,{open:U,onOpenChange:z,size:"lg","aria-label":R,children:M}),L[41]=U,L[42]=R,L[43]=M,L[44]=P):P=L[44],L[45]!==S||L[46]!==P?(A=(0,t.jsxs)(t.Fragment,{children:[S,P]}),L[45]=S,L[46]=P,L[47]=A):A=L[47],A}])},523444,e=>{"use strict";var t=e.i(843476),r=e.i(500932),s=e.i(271645),i=e.i(824511),a=e.i(948148),n=e.i(541964),l=e.i(130764),o=e.i(152088);let c={dashboard:{pillHeight:"h-6",textSize:"t-label",pillPaddingX:"px-2.5",pillInnerGap:"gap-2",pillMarginRight:"mr-2",border:!1,speedPxPerSecond:40},marketing:{pillHeight:"h-7",textSize:"t-label",pillPaddingX:"px-3",pillInnerGap:"gap-2",pillMarginRight:"mr-2",border:!0,speedPxPerSecond:45}},u="linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%)";function d(e){let s,i,a,n,l,c=(0,r.c)(16),{item:u,style:d}=e,h=d.border&&"border border-(--border)";return c[0]!==d.pillHeight||c[1]!==d.pillInnerGap||c[2]!==d.pillMarginRight||c[3]!==d.pillPaddingX||c[4]!==d.textSize||c[5]!==h?(s=(0,o.cn)("inline-flex shrink-0 items-center rounded-chip","bg-(--surface-secondary)",h,d.pillHeight,d.pillPaddingX,d.pillInnerGap,d.pillMarginRight,d.textSize),c[0]=d.pillHeight,c[1]=d.pillInnerGap,c[2]=d.pillMarginRight,c[3]=d.pillPaddingX,c[4]=d.textSize,c[5]=h,c[6]=s):s=c[6],c[7]!==u.shortName?(i=(0,t.jsx)("span",{className:"font-medium text-(--foreground)/70",children:u.shortName}),c[7]=u.shortName,c[8]=i):i=c[8],c[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{"aria-hidden":!0,
1className:"my-0.5 w-px self-stretch bg-(--border)"}),c[9]=a):a=c[9],c[10]!==u.range?(n=(0,t.jsx)("span",{className:"font-normal tabular-nums text-(--muted-foreground)",children:u.range}),c[10]=u.range,c[11]=n):n=c[11],c[12]!==s||c[13]!==i||c[14]!==n?(l=(0,t.jsxs)("div",{className:s,children:[i,a,n]}),c[12]=s,c[13]=i,c[14]=n,c[15]=l):l=c[15],l}function h(e){let s,i,a,n,l,c,u=(0,r.c)(14),{style:d,index:h}=e,p=d.border&&"border border-(--border)";u[0]!==d.pillHeight||u[1]!==d.pillInnerGap||u[2]!==d.pillMarginRight||u[3]!==d.pillPaddingX||u[4]!==p?(s=(0,o.cn)("lune-ticker-skeleton inline-flex shrink-0 items-center rounded-chip","bg-(--surface-secondary)",p,d.pillHeight,d.pillPaddingX,d.pillInnerGap,d.pillMarginRight),u[0]=d.pillHeight,u[1]=d.pillInnerGap,u[2]=d.pillMarginRight,u[3]=d.pillPaddingX,u[4]=p,u[5]=s):s=u[5];let f=`${.055*h}s`;return u[6]!==f?(i={animationDelay:f},u[6]=f,u[7]=i):i=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{className:"block h-2 w-10 rounded-full bg-(--border-default)"}),n=(0,t.jsx)("span",{className:"my-0.5 w-px self-stretch bg-(--border)"}),l=(0,t.jsx)("span",{className:"block h-2 w-12 rounded-full bg-(--border-default)"}),u[8]=a,u[9]=n,u[10]=l):(a=u[8],n=u[9],l=u[10]),u[11]!==s||u[12]!==i?(c=(0,t.jsxs)("div",{"aria-hidden":!0,className:s,style:i,children:[a,n,l]}),u[11]=s,u[12]=i,u[13]=c):c=u[13],c}e.s(["KnowledgeCutoffTicker",0,function(e){let o,p,f,m,g,y,b,v,x,k,S,R=(0,r.c)(30),{variant:j,hideLabel:N}=e,w=void 0!==N&&N,T=(0,a.useTranslations)("common"),C=(0,l.useEnter)(),{data:_,isLoading:Q,isError:I}=(0,n.useConferences)(),O=c[j];R[0]!==_?(o=_?_.flatMap(e=>{let t=e.years??[];return e.is_enabled&&t.length>0?[{conference:e,years:t}]:[]}).sort((e,t)=>Math.max(...t.years)-Math.max(...e.years)).map(({conference:e,years:t})=>{let r,s,i;return{shortName:e.short_name,range:(r=Math.min(...t),s=Math.max(...t),i=e=>`â${String(e).slice(-2)}`,r===s?i(s):`${i(r)}-${i(s)}`)}}):[],R[0]=_,R[1]=o):o=R[1];let E=o,M=(0,s.useRef)(null),P=(0,s.useRef)(null),[A,L]=(0,s.useState)(2),[K,D]=(0,s.useState)(null);if(R[2]!==E?(p=()=>
1{if(!M.current||!P.current||0===E.length)return;let e=M.current,t=P.current,r=function(){let r=t.children;if(r.length<=E.length)return;let s=r[0],i=r[E.length];if(!(s instanceof HTMLElement)||!(i instanceof HTMLElement))return;let a=i.offsetLeft-s.offsetLeft;if(a<=0)return;let n=Math.max(2,Math.ceil(e.clientWidth/a)+1);L(e=>e===n?e:n),D(e=>e===a?e:a)};r();let s=new ResizeObserver(r);return s.observe(e),()=>s.disconnect()},f=[E],R[2]=E,R[3]=p,R[4]=f):(p=R[3],f=R[4]),(0,s.useLayoutEffect)(p,f),I||!Q&&0===E.length)return null;R[5]!==C||R[6]!==j?(m="dashboard"===j?C.header:C.body(.08),R[5]=C,R[6]=j,R[7]=m):m=R[7];let U=m,z=null!==K?K/O.speedPxPerSecond:60,F=`lune-ticker-scroll ${z}s linear infinite`;if(R[8]!==K||R[9]!==F?(g={animation:F},null!==K&&(g["--copy-width"]=`${K}px`),R[8]=K,R[9]=F,R[10]=g):g=R[10],R[11]!==A||R[12]!==E){y=[];for(let e=0;e<A;e++)y.push(...E);R[11]=A,R[12]=E,R[13]=y}else y=R[13];return R[14]!==T?(b=T("a11y.indexedConferences"),R[14]=T,R[15]=b):b=R[15],R[16]!==w||R[17]!==T?(v=!w&&(0,t.jsxs)("div",{className:"flex shrink-0 items-center pr-3",children:[(0,t.jsx)("span",{className:"text-[10px] font-medium uppercase tracking-[0.14em] text-(--muted-foreground)",children:T("knowledgeCutoff")}),(0,t.jsx)("span",{"aria-hidden":!0,className:"ml-3 h-3 w-px bg-(--border)"})]}),R[16]=w,R[17]=T,R[18]=v):v=R[18],R[19]===Symbol.for("react.memo_cache_sentinel")?(x={maskImage:u,WebkitMaskImage:u},R[19]=x):x=R[19],R[20]!==Q||R[21]!==y||R[22]!==O||R[23]!==g?(k=(0,t.jsx)("div",{ref:M,"aria-live":"off",className:"relative min-w-0 flex-1 overflow-hidden",style:x,children:Q?(0,t.jsx)("div",{className:"flex items-center",children:Array.from({length:6}).map((e,r)=>(0,t.jsx)(h,{style:O,index:r},r))}):(0,t.jsx)("div",{ref:P,className:"lune-ticker-track flex w-max items-center",style:g,children:y.map((e,r)=>(0,t.jsx)(d,{item:e,style:O},`${e.shortName}-${r}`))})}),R[20]=Q,R[21]=y,R[22]=O,R[23]=g,R[24]=k):k=R[24],R[25]!==U||R[26]!==k||R[27]!==b||R[28]!==v?(S=(0,t.jsxs)(i.m.div,{...U,"aria-label":b,className:"flex w-full min-w-0 items-center",children:[v,k]}),R[25]=U,R[26]=k,R[27]=b,R[28]=v,R[29]=S):S=R[29],S}])},262840,e=>{"use strict";var t=e.i(843476),r=e.i(500932);e.s(["MaskLogo",0,function(e){let s,i,a=(0,r.c)(8),{src:n,size:l,className:o,color:c}=e,u=void 0===l?14:l,d=c??"currentColor",h=`url(${n})`,p=`url(${n})`;return a[0]!==u||a[1]!==d||a[2]!==h||a[3]!==p?(s={display:"inline-block",width:u,height:u,backgroundColor:d,WebkitMaskImage:h,maskImage:p,WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskSize:"contain",maskSize:"contain"},a[0]=u,a[1]=d,a[2]=h,a[3]=p,a[4]=s):s=a[4],a[5]!==o||a[6]!==s?(i=(0,t.jsx)("span",{"aria-hidden":!0,className:o,style:s}),a[5]=o,a[6]=s,a[7]=i):i=a[7],i}])},19662,e=>{"use strict";var t=e.i(500932),r=e.i(271645),s=e.i(2739);e.s(["useAuthStatus",0,function(){let e,i,a=(0,t.c)(2),[n,l]=(0,r.useState)("unknown");return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=(0,s.getBrowserSupabase)(),t=!1;e.auth.getSession().then(e=>{let{data:r}=e;t||l(r.session?.user?"authenticated":"anonymous")});let{data:r}=e.auth.onAuthStateChange((e,t)=>{l(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),n}])},606519,e=>{"use strict";let t=e.i(801994).default;function r(e,r){let s=t.tiers[e];return"month"===r?s.monthly_price_cents:s.yearly_price_cents}let s=t.stripe.checkout.annual_discount_percent,i=t.credits.pack.max_quantity;e.s(["ANNUAL_DISCOUNT_PERCENT",0,s,"CREDIT_PACK_MAX_QUANTITY",0,i,"PLAN_INTERVALS",0,["month","year"],"PRODUCT_CONTRACT",0,t,"TIER_KEYS",0,["free","pro","max"],"creditPackCredits",0,function(e){return e*t.credits.pack.credits},"creditPackTotalCents",0,function(e){return e*t.credits.pack.price_cents},"formatUsd",0,function(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:t.currency,minimumFractionDigits:2*(0!==e)}).format(e/100)},"planPriceCents",0,r,"yearlyMonthlyEquivalentCents",0,function(e){return Math.round(r(e,"year")/12)}])},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:"/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:s}of t)("/"===s?"/"===e:e===s||e.startsWith(`${s}/`))&&(null===r||s.length>r.length)&&(r=s);return r}])},903653,e=>{"use strict";let t=(0,e.i(393348).tv)({defaultVariants:{hideScrollBar:!1,orientation:"vertical",variant:"fade"},slots:{base:"scroll-shadow"},variants:{hideScrollBar:{false:{},true:{base:"scroll-shadow--hide-scrollbar"}},orientation:{horizontal:{base:"scroll-shadow--horizontal"},vertical:{base:"scroll-shadow--vertical"}},variant:{fade:{base:"scroll-shadow--fade"}}}});var r=e.i(171291),s=e.i(271645),i=e.i(762521),a=e.i(843476);let n=({children:e,className:n,hideScrollBar:l=!1,isEnabled:o=!0,offset:c=0,onVisibilityChange:u,orientation:d="vertical",ref:h,size:p=40,style:f,variant:m="fade",visibility:g="auto",...y})=>{let b=(0,s.useRef)(null);(e=>{let{containerRef:t,isEnabled:r,offset:i,onVisibilityChange:a,orientation:n,visibility:l}=e,o=(0,s.useRef)(a);(0,s.useEffect)(()=>{o.current=a},[a]);let c=(0,s.useRef)(null),u=(0,s.useRef)(null),d=(0,s.useCallback)(()=>{let e=t.current;if(!e)return;let r="vertical"===n,s=r?e.scrollTop:Math.abs(e.scrollLeft),a=r?e.scrollHeight:e.scrollWidth,l=r?e.clientHeight:e.clientWidth,d=s>i,h=s+l+i<a-1,p=c.current;p&&p.hasScrollBefore===d&&p.hasScrollAfter===h||(c.current={hasScrollBefore:d,hasScrollAfter:h},null!==u.current&&cancelAnimationFrame(u.current),u.current=requestAnimationFrame(()=>{u.current=null;let t=o.current;r?d&&h?(e.dataset.topBottomScroll="true",delete e.dataset.topScroll,delete e.dataset.bottomScroll,t?.("both")):(e.dataset.topScroll=String(d),e.dataset.bottomScroll=String(h),delete e.dataset.topBottomScroll,t&&t(d?"top":h?"bottom":"none")):d&&h?(e.dataset.leftRightScroll="true",delete e.dataset.leftScroll,delete e.dataset.rightScroll,t?.("both")):(e.dataset.leftScroll=String(d),e.dataset.rightScroll=String(h),delete e.dataset.leftRightScroll,t&&t(d?"left":h?"right":"none"))}))},[t,n,i]);(0,s.useEffect)(()=>{let e=t.current;if(!e||!r||"auto"!==l)return;d(),e.addEventListener("scroll",d,{passive:!0});let s=new ResizeObserver(d);s.observe(e);let i=new MutationObserver(d);return i.observe(e,{attributeFilter:["class","style"],attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>{e.removeEventListener("scroll",d),s.disconnect(),i.disconnect(),null!==u.current&&(cancelAnimationFrame(u.current),u.current=null),c.current=null}},[t,l,r,d])}
1)({containerRef:b,isEnabled:o,offset:c,onVisibilityChange:u,orientation:d,visibility:g}),(0,i.useSafeLayoutEffect)(()=>{let e=b.current;e&&"auto"!==g&&(delete e.dataset.topScroll,delete e.dataset.bottomScroll,delete e.dataset.topBottomScroll,delete e.dataset.leftScroll,delete e.dataset.rightScroll,delete e.dataset.leftRightScroll,"both"===g?e.dataset["vertical"===d?"topBottomScroll":"leftRightScroll"]="true":"none"!==g&&(e.dataset[`${g}Scroll`]="true"))},[g,d]);let v=(0,s.useMemo)(()=>t({hideScrollBar:l,orientation:d,variant:m}),[d,l,m]),x={"--scroll-shadow-size":`${p}px`,"--scroll-shadow-offset":`${c}px`,...f},k=(0,s.useMemo)(()=>(0,r.mergeRefs)(b,h),[b,h]);return(0,a.jsx)("div",{ref:k,className:v.base({className:n}),"data-orientation":d,"data-scroll-shadow-mode":o&&"auto"===g?"auto":"manual","data-scroll-shadow-size":p,"data-slot":"scroll-shadow",style:x,...y,children:e})};n.displayName="HeroUI.ScrollShadow";let l=Object.assign(n,{Root:n});e.s(["ScrollShadow",0,l],903653)},762521,e=>{"use strict";var t=e.i(271645);let r=globalThis?.document?t.useLayoutEffect:t.useEffect;e.s(["useSafeLayoutEffect",0,r])},381384,e=>{"use strict";var t=e.i(271645);let r=t.createContext(!1),s=r.Provider;e.s(["IsRestoringProvider",0,s,"useIsRestoring",0,()=>t.useContext(r)])},266027,469637,869230,e=>{"use strict";let t;var r=e.i(912598),s=e.i(381384),i=e.i(271645);e.i(843476);let a=i.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));var n=e.i(619273),l=e.i(540143);function o(e,t,o){let c,u=(0,s.useIsRestoring)(),d=i.useContext(a),h=(0,r.useQueryClient)(o),p=h.defaultQueryOptions(e),f=h.getQueryCache().get(p.queryHash),m=!1!==e.subscribed;if(p._optimisticResults=u?"isRestoring":m?"optimistic":void 0,p.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=p.staleTime;p.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof p.gcTime&&(p.gcTime=Math.max(p.gcTime,1e3))}c=f?.state.error&&"function"==typeof p.throwOnError?(0,n.shouldThrowError)(p.throwOnError,[f.state.error,f]):p.throwOnError,(p.suspense||c)&&!d.isReset()&&(p.retryOnMount=!1),i.useEffect(()=>{d.clearReset()},[d]);let[g]=i.useState(()=>new t(h,p)),y=g.getOptimisticResult(p),b=!u&&m;if(i.useSyncExternalStore(i.useCallback(e=>{let t=b?g.subscribe(l.notifyManager.batchCalls(e)):n.noop;return g.updateResult(),t},[g,b]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),i.useEffect(()=>{g.setOptions(p)},[p,g]),p?.suspense&&y.isPending)throw g.fetchOptimistic(p).catch(()=>{d.clearReset()});if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,n.shouldThrowError)(r,[e.error,s])))({result:y,errorResetBoundary:d,throwOnError:p.throwOnError,query:f,suspense:p.suspense}))throw y.error;return p.notifyOnChangeProps?y:g.trackResult(y)}e.s(["useBaseQuery",0,o],469637);var c=e.i(180166),u=e.i(273911),d=e.i(915823),h=e.i(175555),p=e.i(286491),f=class extends d.Subscribable{#e;#t=void 0;#r=void 0;#s=void 0;#i;#a;#n;#l;#o;#c;#u;#d;#h;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#n=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),m(this.#t,this.options)?this.#f():this.updateResult(),this.#m())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return g(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return g(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#g(),this.#y(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,r=this.#t;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,n.resolveQueryValue)(this.options.enabled,this.#t))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#b(),this.#t.setOptions(this.options),t._defaulted&&!(0,n.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let s=this.hasListeners();s&&y(this.#t,r,this.options,t)&&this.#f(),this.updateResult(),s&&(this.#t!==r||(0,n.resolveQueryValue)(this.options.enabled,this.#t)!==(0,n.resolveQueryValue)(t.enabled,this.#t)||(0,n.resolveQueryValue)(this.options.staleTime,this.#t)!==(0,n.resolveQueryValue)(t.staleTime,this.#t))&&this.#v();let i=this.#x();s&&(this.#t!==r||(0,n.resolveQueryValue)(this.options.enabled,this.#t)!==(0,n.resolveQueryValue)(t.enabled,this.#t)||i!==this.#h)&&this.#k(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,n.shallowEqualObjects)(this.getCurrentResult(),r)||(this.#s=r,this.#a=this.options,this.#i=this.#t.state),r}getCurrentResult(){return this.#s}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,r=this.#e.defaultQueryOptions(e),s=this.#e.getQueryCache().build(this.#e,r),i=()=>{},a=new Promise(e=>{t=e,i=this.#e.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===s.queryHash&&void 0!==s.state.data&&(i(),e(this.createResult(s,r)))})});return Promise.race([s.fetch().then(()=>{let e=this.createResult(s,r);return t?.(e),e}).finally(()=>{i()}),a])}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#f(e){this.#b();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(n.noop)),t}#S(e){return!(0,u.isServer)()&&!1!==(0,n.resolveQueryValue)(this.options.enabled,this.#t)&&(0,n.isValidTimeout)(e)}#v(){this.#g();let e=(0,n.resolveQueryValue)(this.options.staleTime,this.#t);if(this.#s.isStale||!this.#S(e))return;let t=(0,n.timeUntilStale)(this.#s.dataUpdatedAt,e)+1;this.#u=c.timeoutManager.setTimeout(()=>{this.#s.isStale||this.updateResult()},t)}#x(){return(0,n.resolveQueryValue)(this.options.refetchInterval,this.#t)??!1}#k(e){this.#y(),this.#h=e,0!==this.#h&&this.#S(this.#h)&&(this.#d=c.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||h.focusManager.isFocused())&&this.#f()},this.#h))}#m(){this.#v(),this.#k(this.#x())}#g(){void 0!==this.#u&&(c.timeoutManager.clearTimeout(this.#u),this.#u=void 0)}#y(){void 0!==this.#d&&(c.timeoutManager.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r,s=this.#t,i=this.options,a=this.#s,l=this.#i,o=this.#a,c=e!==s?e.state:this.#r,{state:u}=e,d={...u},h=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&m(e,t),n=r&&y(e,s,t,i);(a||n)&&(d={...d,...(0,p.fetchState)(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:g,status:v}=d;r=d.data;let x=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===v){let e;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=a.data,x=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(v="success",r=(0,n.replaceData)(a?.data,e,t),h=!0)}if(t.select&&void 0!==r&&!x)if(a&&r===l?.data&&t.select===this.#l)r=this.#o;else try{this.#l=t.select,r=t.select(r),r=(0,n.replaceData)(a?.data,r,t),this.#o=r,this.#n=null}catch(e){this.#n=e}else void 0===r&&(this.#n=null);this.#n&&(f=this.#n,r=this.#o,g=Date.now(),v="error",h=!1);let k="fetching"===d.fetchStatus,S="pending"===v,R="error"===v,j=S&&k,N=void 0!==r;return{status:v,fetchStatus:d.fetchStatus,isPending:S,isSuccess:"success"===v,isError:R,isInitialLoading:j,isLoading:j,data:r,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:k,isRefetching:k&&!S,isLoadingError:R&&!N,isPaused:"paused"===d.fetchStatus,isPlaceholderData:h,isRefetchError:R&&N,isStale:b(e,t),refetch:this.refetch,isEnabled:!1!==(0,n.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#s,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,void 0!==this.#i.data&&(this.#c=this.#t),(0,n.shallowEqualObjects)(t,e))return;this.#s=t;let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#p.size)return!0;let s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#s).some(t=>this.#s[t]!==e[t]&&s.has(t))})();l.notifyManager.batch(()=>{r&&this.listeners.forEach(e=>{e(this.#s)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#m()}};function m(e,t){return!1!==(0,n.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,n.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&g(e,t,t.refetchOnMount)}function g(e,t,r){if(!1!==(0,n.resolveQueryValue)(t.enabled,e)&&"static"!==(0,n.resolveQueryValue)(t.staleTime,e)){let s=(0,n.resolveQueryValue)(r,e);return"always"===s||!1!==s&&b(e,t)}return!1}function y(e,t,r,s){return(e!==t||!1===(0,n.resolveQueryValue)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&b(e,r)}function b(e,t){return!1!==(0,n.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,n.resolveQueryValue)(t.staleTime,e))}e.s(["QueryObserver",0,f],869230),e.s(["useQuery",0,function(e,t){return o(e,f,t)}],266027)},689664,e=>{"use strict";var t=e.i(456420);let r={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};r.node;let s=(0,t.default)(r);e.s(["Check",0,s],689664)},128276,e=>{"use strict";var t=e.i(456420);let r={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]]};r.node;let s=(0,t.default)(r);e.s(["Compass",0,s],128276)},508734,e=>{"use strict";var t=e.i(456420);let r={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};r.node;let s=(0,t.default)(r);e.s(["Copy",0,s],508734)},541964,e=>{"use strict";var t=e.i(500932),r=e.i(266027),s=e.i(521453);e.s(["useConferences",0,function(){let e,i=(0,t.c)(2),a=(0,s.useOrpc)();return i[0]!==a.papers.listConferences?(e=a.papers.listConferences.queryOptions({input:{query:void 0},staleTime:18e5,gcTime:18e5}),i[0]=a.papers.listConferences,i[1]=e):e=i[1],(0,r.useQuery)(e)}])},521453,383700,e=>{"use strict";let t;var r,s,i=e.i(500932),a=e.i(9855),n=e.i(972390),l=e.i(271645);let o=(r=()=>({url:"https://azbxjajkqwmpgeeftxok.supabase.co",anonKey:"sb_publishable_VIukE8vpgIk_nBxfnC-AKg_YG5FsWB7"}),s=n.createBrowserClient,t=null,()=>{if(t)return t;let{url:e,anonKey:i}=r();return e&&i?t=s(e,i):null});function c(){let e=(0,l.useMemo)(o,[]);return(0,l.useCallback)(async()=>
1{if(!e)return null;let{data:{session:t}}=await e.auth.getSession();return t?.access_token??null},[e])}e.s(["useSupabaseAccessToken",0,c],383700),e.s(["useOrpc",0,function(){let e,t=(0,i.c)(2),r=c();return t[0]!==r?(e=(0,a.makeOrpc)(r),t[0]=r,t[1]=e):e=t[1],e},"usePatientOrpc",0,function(e,t){let r,s=(0,i.c)(4),n=c();return s[0]!==n||s[1]!==t||s[2]!==e?(r=(0,a.makeOrpc)(n,{timeoutMs:e,orgSlug:t}),s[0]=n,s[1]=t,s[2]=e,s[3]=r):r=s[3],r},"usePinnedOrpc",0,function(e){let t,r=(0,i.c)(3),s=c();return r[0]!==s||r[1]!==e?(t=(0,a.makeOrpc)(s,{orgSlug:e}),r[0]=s,r[1]=e,r[2]=t):t=r[2],t}],521453)}]); 2 3//# chunkId=01a0d0e1-222d-75b0-aeb4-ff026499c511
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.