@pharos-ds/core 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/pharos.umd.js +1 -1
- package/dist/pharos.umd.js.map +2 -2
- package/dist/theme/defineTheme.d.ts +2 -2
- package/dist/theme/index.d.ts +5 -5
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +3 -3
- package/package.json +5 -5
- package/src/reset.css +1 -1
- package/src/tailwind-theme.css +1 -1
- package/src/theme/defineTheme.ts +2 -2
- package/src/theme/index.ts +5 -11
package/dist/pharos.umd.js
CHANGED
|
@@ -60,7 +60,7 @@ ${l}`:l),{prose:s,component:i}}function Wd(e){let t=ai(e);if(t.length===0)return
|
|
|
60
60
|
|
|
61
61
|
`);return`@scope (${r}) to (${Hd}) {
|
|
62
62
|
${n}
|
|
63
|
-
}`}var li={...Ml,...Al,...Dl,...Pl,...Rl,..._l,...Vl,...Ll,...Ol,...Bl,...Fl,...Hl,...pc};function Zb(e){return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function ph(e,t){if(!e&&!t)return;if(!e)return t;if(!t)return e;let r={};for(let[n,o]of Object.entries(e))r[n]={...o};for(let[n,o]of Object.entries(t))if(!r[n])r[n]={...o};else for(let[s,i]of Object.entries(o))r[n][s]={...r[n][s],...i};return r}function gc(e){return{normal:"var(--font-weight-normal)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-bold)"}[e]??e}function Gd(e,t){if(!e)return;let r=e.includes(" ")?`"${e}"`:e;return t?`${r}, ${t}`:r}function xh(e){let t={},r=e.extends;if(r)for(let[c,d]of Object.entries(r.tokens))t[c]=d;let n=e.typography,o;if(n?.scale){let c={},d=n.heading;if(d?.weights)for(let[m,f]of Object.entries(d.weights))f&&(c[Number(m)]=gc(f));let p=d?.weight?gc(d.weight):void 0;if(p)for(let m=1;m<=6;m++)m in c||(c[m]=p);let x={};n.body?.weight&&(x.body=gc(n.body.weight)),n.code?.weight&&(x.code=gc(n.code.weight)),o={base:n.scale.base,ratio:n.scale.ratio,weights:{...Object.keys(c).length>0?{heading:c}:{},...Object.keys(x).length>0?{text:x}:{}}}}if(e.color){let c=dc(e.color);for(let[d,p]of Object.entries(c))t[d]=p}if(o){let c=oc(o);for(let[d,p]of Object.entries(c))t[d]=p}if(e.radius){let c=ic(e.radius);for(let[d,p]of Object.entries(c))t[d]=p}if(e.motion){let c=ac(e.motion);for(let[d,p]of Object.entries(c))t[d]=p}if(n){let c=Gd(n.body?.family,n.body?.fallbacks),d=Gd(n.heading?.family,n.heading?.fallbacks)??c,p=Gd(n.code?.family,n.code?.fallbacks);c&&(t["--font-family-body"]=c),d&&(t["--font-family-heading"]=d),p&&(t["--font-family-code"]=p)}if(e.syntax){let c=e.syntax.tokens,d="--color-syntax-";for(let[p,x]of Object.entries(c))t[d+p]=x}if(e.tokens)for(let[c,d]of Object.entries(e.tokens))d!==void 0&&(t[c]=Zb(d));let s=e.components;if(o){let c=sc(o);s=ph(c,e.components)}r?.components&&(s=ph(r.components,s));let i=Vd("dark",e.onDark),l=Vd("light",e.onLight),u=e.icons&&r?.icons?{...r.icons,...e.icons}:e.icons??r?.icons;return{name:e.name,tokens:t,components:s,icons:u,__inputTokens:e.tokens,__onDark:i,__onLight:l}}function mh(e){return typeof e=="object"&&e!==null&&"name"in e&&"tokens"in e&&!("styles"in e)}function Zd(e){return`var(${e})`}var gh=Object.fromEntries(Object.keys(li).map(e=>[e,Zd(e)]));function Yd(e){let t=0,r=null,n=!1;for(let o=0;o<e.length;o++){let s=e[o];if(r!==null){n?n=!1:s==="\\"?n=!0:s===r&&(r=null);continue}if(s==='"'||s==="'"){r=s;continue}if(s==="("){t++;continue}if(s===")"){t=Math.max(0,t-1);continue}if(s===","&&t===0)return[e.slice(0,o).trim(),e.slice(o+1).trim()]}return null}function Yb(e){let t=e.trim(),r="light-dark(";if(!t.startsWith(r)||!t.endsWith(")"))return null;let n=t.slice(r.length,-1);return Yd(n)}function Kd(e,t){if(Array.isArray(e))return t==="dark"?e[1]:e[0];let r=Yb(e);return r!==null?t==="dark"?r[1]:r[0]:e}function kh(e,t){let r=0;for(let n=t;n<e.length;n++){let o=e[n];if(o==="(")r++;else if(o===")"&&(r--,r===0))return n}return-1}function fh(e){let t=e.trim(),r=t.match(/\s+([\d.]+)%$/);return r?{color:t.slice(0,r.index).trim(),percentage:parseFloat(r[1])}:{color:t,percentage:null}}function Qb(e){let t=e.match(/^in\s+([\w-]+)\s*,\s*(.+)$/s);if(!t)return null;let[,r,n]=t;if(r.toLowerCase()!=="srgb")return null;let o=Yd(n);if(o===null)return null;let s=fh(o[0]),i=fh(o[1]);if(s===null||i===null)return null;let l=Ja(s.color),u=Ja(i.color);if(l===null||u===null)return null;let c,d;s.percentage!==null&&i.percentage!==null?(c=s.percentage,d=i.percentage):s.percentage!==null?(c=s.percentage,d=100-c):i.percentage!==null?(d=i.percentage,c=100-d):(c=50,d=50);let p=c+d;if(p<=0)return null;let x=c/p,m=d/p,f=p<100?p/100:1,g=x*l.a+m*u.a,h=(S,$)=>x*S*l.a+m*$*u.a,k=h(l.r,u.r),b=h(l.g,u.g),v=h(l.b,u.b),w=g===0?{r:0,g:0,b:0}:{r:k/g,g:b/g,b:v/g};return ec({...w,a:g*f})}function Ud(e){let t=e.indexOf("color-mix(");if(t===-1)return e;let r=t+9,n=kh(e,r);if(n===-1)return e;let o=Ud(e.slice(r+1,n)),i=Qb(o)??`color-mix(${o})`;return e.slice(0,t)+i+Ud(e.slice(n+1))}function Xd(e,t,r,n){let o=e.indexOf("var(");if(o===-1)return e;let s=o+3,i=kh(e,s);if(i===-1)return e;let l=e.slice(s+1,i),u=Yd(l),c=(u?u[0]:l).trim(),d=u?u[1]:null,p;n.has(c)?p=e.slice(o,i+1):c in t?(n.add(c),p=yh(c,t,r,n),n.delete(c)):d!==null?p=Xd(d.trim(),t,r,n):p=e.slice(o,i+1);let x=Xd(e.slice(i+1),t,r,n);return e.slice(0,o)+p+x}function Jb(e,t,r,n){if(!e.includes("var(")&&!e.includes("color-mix("))return e;let o=Xd(e,t,r,n);return Ud(o)}function yh(e,t,r,n){if(e in r)return r[e];let o=t[e];if(o===void 0)return"";let s=Jb(o,t,r,n);return r[e]=s,s}function hh(e){let t={};for(let r of Object.keys(e))yh(r,e,t,new Set);return t}function ci(e,t){let{mode:r}=t,n={};for(let[o,s]of Object.entries(li))n[o]=Kd(s,r);if(e==null)return hh(n);for(let[o,s]of Object.entries(e.tokens))n[o]=Kd(s,r);if(e.__inputTokens)for(let[o,s]of Object.entries(e.__inputTokens))s!==void 0&&(n[o]=Kd(s,r));return hh(n)}function bh(e,t,r){return ci(e,r)[t]??r.fallback??""}K();function yr(e,t=!1){let r=y(s=>{let i=window.matchMedia(e);return i.addEventListener("change",s),()=>i.removeEventListener("change",s)},[e]),n=y(()=>window.matchMedia(e).matches,[e]),o=y(()=>t,[t]);return Cr(r,n,o)}var Hs=Ne(null);Hs.displayName="ThemeContext";function ev(){if(typeof document>"u")return null;let e=document.documentElement.getAttribute("data-theme");return e==="light"||e==="dark"?e:null}function tv(){return null}function rv(){return null}var di=new Set,ui=null;function nv(){for(let e of di)e()}function ov(e){return di.add(e),di.size===1&&typeof MutationObserver<"u"&&(ui=new MutationObserver(nv),ui.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]})),()=>{di.delete(e),di.size===0&&ui&&(ui.disconnect(),ui=null)}}function sv(){return()=>{}}function av(e){return Cr(e?sv:ov,e?rv:ev,tv)}function on(){let e=je(Hs),t=av(e!=null),r=yr("(prefers-color-scheme: dark)"),n=e?.mode??t??"system",o=e?.theme??null,s=n==="system"?r?"dark":"light":n,i=H(()=>ci(o,{mode:s}),[o,s]),l=u=>i[u]??"";return{name:o?.name??"default",mode:s,token:l,tokens:i}}K();le();V();V();var kc={primary:{kMwMTN:"x1tgivj0",$$css:!0},secondary:{kMwMTN:"xv1l7n4",$$css:!0},disabled:{kMwMTN:"xnbbluu",$$css:!0},placeholder:{kMwMTN:"xv1l7n4",$$css:!0},accent:{kMwMTN:"xjse4m1",$$css:!0},inherit:{kMwMTN:"x1heor9g",$$css:!0}},vh={normal:{k63SB2:"x1sodnla",$$css:!0},medium:{k63SB2:"x1e4wzip",$$css:!0},semibold:{k63SB2:"x2mo6ok",$$css:!0},bold:{k63SB2:"x1lvx875",$$css:!0}},yc={body:{k63SB2:"xxovm9e",$$css:!0},large:{k63SB2:"x149oux8",$$css:!0},label:{k63SB2:"xmhvcl5",$$css:!0},code:{k63SB2:"xx3eeay",$$css:!0},supporting:{k63SB2:"xv8on6e",$$css:!0},"display-1":{k63SB2:"x1txul5o",$$css:!0},"display-2":{k63SB2:"x1y36c3f",$$css:!0},"display-3":{k63SB2:"x1on40hk",$$css:!0},inherit:{k63SB2:"x1pd3egz",$$css:!0}},pi={body:{kGuDYH:"xjm74w1",kLWn49:"xw6l6zx",$$css:!0},large:{kGuDYH:"x18juvz8",kLWn49:"xf74fhv",$$css:!0},label:{kGuDYH:"xcr08ib",kLWn49:"x1kq96og",$$css:!0},code:{kGuDYH:"xp03k98",kLWn49:"x17iicif",kMv6JI:"x9m5x89",$$css:!0},supporting:{kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",$$css:!0},"display-1":{kGuDYH:"xsub3ws",kLWn49:"x112ttwr",$$css:!0},"display-2":{kGuDYH:"x1yego12",kLWn49:"xh0iwvy",$$css:!0},"display-3":{kGuDYH:"xlgnzhf",kLWn49:"x1ujwuaq",$$css:!0},inherit:{kGuDYH:"x1qlqyl8",kLWn49:"x15bjb6t",$$css:!0}},wh={"4xs":{kGuDYH:"xxc45ev",$$css:!0},"3xs":{kGuDYH:"x10p7juq",$$css:!0},"2xs":{kGuDYH:"x16a80zy",$$css:!0},xsm:{kGuDYH:"x51wmvv",$$css:!0},sm:{kGuDYH:"x1eqnyfr",$$css:!0},base:{kGuDYH:"x1j29vfg",$$css:!0},lg:{kGuDYH:"xc7cgfe",$$css:!0},xl:{kGuDYH:"x1wqms48",$$css:!0},"2xl":{kGuDYH:"xhs0kqb",$$css:!0},"3xl":{kGuDYH:"x10srzze",$$css:!0},"4xl":{kGuDYH:"xqcvi3d",$$css:!0}},$h={1:{kGuDYH:"xcg7oai",kLWn49:"xfmsba7",k63SB2:"x1v68xuy",$$css:!0},2:{kGuDYH:"x1xvnhcw",kLWn49:"x1cpk1wn",k63SB2:"x12yy4cs",$$css:!0},3:{kGuDYH:"xii13ha",kLWn49:"xwjzt0u",k63SB2:"x1jcxfy8",$$css:!0},4:{kGuDYH:"x8tkxat",kLWn49:"xqerer",k63SB2:"x2hcmsi",$$css:!0},5:{kGuDYH:"xsgqta0",kLWn49:"xo3gurs",k63SB2:"xno150v",$$css:!0},6:{kGuDYH:"xw5ohdf",kLWn49:"xeixjfn",k63SB2:"x1pw4frv",$$css:!0}},bc={inline:{k1xSpc:"xt0psk2",$$css:!0},block:{k1xSpc:"x1lliihq",$$css:!0}},Ws={singleLine:{kVQacm:"xb3r6kr",kg5iWk:"xlyipyv",khDVqt:"xuxw1ft",k1xSpc:"x1lliihq",$$css:!0},multiLine:{kVQacm:"xb3r6kr",k1xSpc:"x104kibb",kgKLqz:"x1ua5tub",$$css:!0}},vc={"break-word":{kTgw9:"x1lldw8n",kHjlTd:"x1mzt3pk",$$css:!0},"break-all":{kTgw9:"x1yn0g08",$$css:!0}},wc={wrap:{kN2L0X:"xk4td0m",$$css:!0},nowrap:{kN2L0X:"xebhuq6",$$css:!0},balance:{kN2L0X:"x1w2vvpw",$$css:!0},pretty:{kN2L0X:"x1fzhlzt",$$css:!0}},$c={enabled:{kxwWH2:"x1b2iylo",kzeHkT:"xwgcxoh",k1xSpc:"x1lliihq",$$css:!0}},Sc={strikethrough:{kybGjl:"xmqliwb",$$css:!0}},Sh={enabled:{kcqcaj:"xss6m8b",$$css:!0}},jc={start:{k9WMMc:"x1yc453h",$$css:!0},center:{k9WMMc:"x2b8uid",$$css:!0},end:{k9WMMc:"xp4054r",$$css:!0}},Cc={content:{ks0D6T:"xw5ewwj",kTgw9:"x13faqbe",$$css:!0}};K();function Gs(e){let{maxLines:t}=e,[r,n]=ee(!1),[o,s]=ee(""),i=_(null),l=y(c=>{if(t===0){n(!1);return}if(s(c.textContent??""),t===1)n(c.scrollWidth>c.offsetWidth);else{let d=c.scrollHeight;try{let p=document.createRange();p.selectNodeContents(c),d=p.getBoundingClientRect().height,p.detach()}catch{}n(d>c.offsetHeight)}},[t]);return{ref:y(c=>{i.current&&rr(i.current),i.current=c,c&&t>0?typeof ResizeObserver<"u"?hr(c,()=>{l(c)}):l(c):(n(!1),s(""))},[t,l]),isTruncated:r,fullText:o}}ie();Y();var lv=js(async()=>Promise.resolve().then(()=>(io(),zc)).then(e=>({default:e.Tooltip}))),cv={body:"primary",large:"primary",label:"primary",supporting:"secondary",code:"primary","display-1":"primary","display-2":"primary","display-3":"primary",inherit:"inherit"};function uv(e){return e in pi?e:"body"}function zt({type:e="body",size:t,color:r,weight:n,display:o="inline",maxLines:s=0,hasTruncateTooltip:i=!0,wordBreak:l,textWrap:u,justify:c="start",hasCapsize:d=!1,hasStrikethrough:p=!1,hasTabularNumbers:x=!1,xstyle:m,className:f,style:g,as:h="span",children:k,ref:b,...v}){let w=r??cv[e]??"primary",S=uv(e),$=l??(s===1?"break-all":"break-word"),N=s>0||d?"block":o,C=Gs({maxLines:s}),R=typeof i=="string"?i:"above",z=s>0&&i!==!1&&C.isTruncated,I=_(null),A=s>1?{WebkitLineClamp:s}:void 0;return j(se,{children:[a(h,{ref:Se(b,C.ref,I),...P(D("text",{type:e,size:t,color:w}),T(kc[w],pi[S],t&&wh[t],yc[S],n&&vh[n],s===1?Ws.singleLine:s>1?Ws.multiLine:bc[N],s>0&&vc[$],u&&wc[u],c!=="start"&&jc[c],d&&$c.enabled,p&&Sc.strikethrough,x&&Sh.enabled,m),f,{...g,...A}),title:z?C.fullText:void 0,...v,children:k}),z&&a(Ss,{fallback:null,children:a(lv,{anchorRef:I,content:a("span",{...T(Cc.content),children:C.fullText}),placement:R})})]})}zt.displayName="Text";ie();Y();var dv=.75,Ch=1.5,zh={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}};var Th={wrapper:{k1xSpc:"x3nfvp2",kXwgrk:"xdt5ytf",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",$$css:!0},spinner:{k1xSpc:"xwz0xwf",kgQiWS:"x1ku5rj1",kVQacm:"xb3r6kr",kXLuUW:"xxymvpz",$$css:!0}};function Ue({size:e="md",shade:t="default",label:r,xstyle:n,className:o,style:s,"aria-label":i,"data-testid":l,ref:u,...c}){let d=_(null),{tokens:p}=on();de(()=>{let w=d.current;if(w==null)return;let S=w.getContext("2d");if(!S)return;let{border:$,diameter:N}=zh[e],C=window.devicePixelRatio||1,R=t==="inherit"?getComputedStyle(w).color:null,z=t==="inherit"?R:t==="onMedia"?p["--color-on-dark"]:t==="subtle"?p["--color-text-secondary"]:p["--color-accent"],I=t==="inherit"?R:t==="onMedia"?`${p["--color-on-dark"]}4D`:p["--color-track"],A=N+$*2,M=Math.round(A*C),q=M+M%2,E=q/A,B=N/2*E,G=$*E;w.height=w.width=q,w.style.width=w.style.height=A+"px",S.lineCap="round",S.lineWidth=G;let W=q/2;S.beginPath(),S.arc(W,W,B,0,2*Math.PI),S.strokeStyle=I,t==="inherit"&&(S.globalAlpha=.3),S.stroke(),S.globalAlpha=1,S.beginPath(),S.arc(W,W,B,Ch*Math.PI,(Ch+dv)%2*Math.PI),S.strokeStyle=z,S.stroke()},[t,e,p]);let{border:x,diameter:m}=zh[e],f=m+x*2,g=r!=null,h=ne(),k=g&&typeof r=="string"&&i==null,v=a("span",{ref:g?void 0:u,role:"status","aria-label":k?void 0:i??(typeof r=="string"?r:void 0)??"Loading","aria-labelledby":k?h:void 0,"data-testid":g?void 0:l,...g?{}:c,...P(g?"":D("spinner",{size:e,shade:t}),T(Th.spinner,!g&&n),g?void 0:o,{...g?{}:s,width:f,height:f}),children:a("canvas",{ref:d,className:"xlp1x4z x1lliihq x1so62im x14qxm4i xnh0sag xa4qsjk x1ka1v4i x1esw782"})});return g?j("div",{ref:u,"data-testid":l,...c,...P(D("spinner",{size:e,shade:t}),T(Th.wrapper,n),o,s),children:[v,typeof r=="string"?a(zt,{id:h,type:"body",weight:"bold",children:r}):r]}):v}Ue.displayName="Spinner";K();function We({children:e,as:t="span",ref:r,...n}){return Yr(t,{ref:r,...n,className:"x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o"},e)}We.displayName="VisuallyHidden";var Mn="data-pharos-edge-comp",pv={keTefX:"xcs1fud",k71WvV:"x15aelv7",$$css:!0},An={inset:e=>[pv,{"--x-131qrwo":(t=>typeof t=="number"?t+"px":t??void 0)(`calc(-1 * ${e})`),"--x-qnijxi":(t=>typeof t=="number"?t+"px":t??void 0)(`calc(-1 * ${e})`)}]};K();var xi=Ne(null);xi.displayName="SizeContext";function Je(e,t="md"){let r=je(xi);return e??r??t}var lo=xi.Provider;K();var Tc=Ne(null);Tc.displayName="ButtonGroupContext";function Ic(){return je(Tc)}K();K();var mi=Ne(null);mi.displayName="LinkContext";function xv(e){function t({href:r,ref:n,...o}){return Yr(e,{ref:n,href:r,to:r,...o})}return t.displayName=`LinkWithTo(${typeof e=="string"?e:e.displayName||e.name||"Component"})`,t}function Ze(e){let t=je(mi),r=e??t?.component??"a";return H(()=>r==="a"?"a":xv(r),[r])}ie();Y();var co={base:{kVAEAm:"x1n2onr6",k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kOIVth:"x1txdalj",k8WAf4:"xce4md1",kg3NbH:"xrrkdod",kMzoRj:"xc342km",ksu8eU:"xng3xce",kaIpWk:"x1jxw6zd",kMv6JI:"xjb2p0i",kGuDYH:"xcr08ib",kLWn49:"x1kq96og",k63SB2:"x1e4wzip",khDVqt:"xuxw1ft",kkrTdU:"x1ypdohk",k1ekBW:"xrafxwg",kIyJzY:"xuedmi6 x12w9bfk",kAMwcw:"xlr8y92",$$css:!0},pressable:{k3aq6I:"x3oybdh xk4oym4",$$css:!0},disabled:{kkrTdU:"x1h6gzvc",kSiTet:"xbyyjgo",kKwaWg:"x18o3ruo",k3aq6I:"x1c071of x1pdlv7q",$$css:!0},ariaDisabled:{kKwaWg:"x18o3ruo x8o3jvd xuqm82a",$$css:!0},iconOnly:{"--button-icon-only-aspect":"x1v15ycx",kOBAk4:"xioom0i",kg3NbH:"xnjsko4",k8WAf4:"xt970qd",$$css:!0},iconWrapper:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",$$css:!0},contentWrapper:{k1xSpc:"xjp7ctv",$$css:!0},link:{kybGjl:"x1hl2dhg",$$css:!0}},mv={width:e=>[{kzqmXN:e!=null?"x5lhr3w":e,$$css:!0},{"--x-width":(t=>typeof t=="number"?t+"px":t??void 0)(e)}]},fv={sm:{kZKoxP:"x6k0iem",$$css:!0},md:{kZKoxP:"x1ueg155",$$css:!0},lg:{kZKoxP:"xssyfek",$$css:!0}},hv={sm:{kzqmXN:"x1kky2od",kZKoxP:"xlup9mm",kGuDYH:"x1j61zf2",$$css:!0},md:{kzqmXN:"x1kky2od",kZKoxP:"xlup9mm",kGuDYH:"x1j61zf2",$$css:!0},lg:{kzqmXN:"xw4jnvo",kZKoxP:"x1qx5ct2",kGuDYH:"xwsyq91",$$css:!0}},gv={none:{kGVxlE:"x1gnnqk1",$$css:!0},low:{kGVxlE:"x1i5ehqx",$$css:!0},med:{kGVxlE:"x14hfi27",$$css:!0},high:{kGVxlE:"x1kcpxr7",$$css:!0}},kv={primary:{kWkggS:"x1ewilqj",kMwMTN:"x17wrial",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},secondary:{kWkggS:"x17x4s8c",kMwMTN:"x1tgivj0",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},ghost:{kWkggS:"xjbqb8w",kMwMTN:"x1tgivj0",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},destructive:{kWkggS:"x1pjz0fi",kMwMTN:"x1m024r3",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x1p73he7","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0}};var jM=zs["--duration-medium-min"],Ih={hiddenContent:{kMwMTN:"x19co3pv",$$css:!0},hiddenContentDelayed:{kKVMdj:"x1ffowhz",k44tkh:"xjlvqhv",kWV6AL:"x10e4vud",kKxzle:"x17yabm6 x14q22ui",$$css:!0}};var Nc={horizontal:{krdFHd:"x15mokao x8eehn2",kVL7Gh:"xbiv7yw x1xrp5p4",kfmiAY:"x1ga7v0g xbfdvlp",kT0f0o:"x16uus16 xajhecq",k2ei4v:"xgbv0en x1pjv70x",kVhnKS:"x1t7ytsu xyf0ibl",kGJrpR:"x1j92z86",$$css:!0},vertical:{krdFHd:"x15mokao x8eehn2",kfmiAY:"x1ga7v0g x2qxyot",kVL7Gh:"xbiv7yw x12tyzlf",kT0f0o:"x16uus16 xajhecq",kEafiO:"x11xkdxz x1g31smg",kPef9Z:"x13fuv20 x1d9v4yf",kLZC3w:"x1pc3f07",$$css:!0},onSolidHorizontal:{kGJrpR:"xrvmtm5",$$css:!0},onSolidVertical:{kLZC3w:"x11npmm7",$$css:!0}};function Ve({label:e,variant:t="secondary",size:r,type:n="button",isDisabled:o=!1,isLoading:s=!1,isInterruptible:i=!1,clickAction:l,icon:u,isIconOnly:c=!1,width:d,elevation:p="none",children:x,endContent:m,tooltip:f,href:g,as:h,target:k,rel:b,xstyle:v,className:w,style:S,ref:$,...N}){let C=Je(r,"md"),R=Ic(),[z,I]=ut(),A=_(!1),M=s||z,q=z||i,E=R?.isDisabled??!1,B=o||E||M&&!i,G=Ze(h),W=g!=null&&!B,O=f!=null&&B,L=Fe({placement:"above",isEnabled:f!=null}),F=re=>{if(B||A.current&&!i){re.preventDefault();return}N.onClick?.(re),l&&!re.defaultPrevented&&(A.current=!0,I(async()=>{try{await l(re)}finally{A.current=!1}}))},U=O?re=>{re.key==="Enter"||re.key===" "?re.preventDefault():N.onKeyDown?.(re)}:void 0,X=t==="ghost"?{[Mn]:""}:null,Q=T(co.base,fv[C],kv[t],c&&co.iconOnly,B&&co.disabled,O&&co.ariaDisabled,W&&co.link,!R&&co.pressable,R&&(R.orientation==="horizontal"?Nc.horizontal:Nc.vertical),R&&(t==="primary"||t==="destructive")&&(R.orientation==="horizontal"?Nc.onSolidHorizontal:Nc.onSolidVertical),!R&&gv[p],d!=null&&mv.width(d),v),ae=P(D("button",{variant:t,size:C}),Q,w,S),oe=j(se,{children:[M&&a("span",{...{0:{className:"x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1"},1:{className:"x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1 xqcmdr3 xb2rp9n xskzprw x17yabm6 x14q22ui"}}[!!q<<0],"aria-hidden":"true",children:a(Ue,{size:"sm",shade:"inherit"})}),j("span",{...T(co.contentWrapper,M&&(q?Ih.hiddenContentDelayed:Ih.hiddenContent)),"aria-hidden":M||void 0,children:[u&&a("span",{...T(co.iconWrapper,hv[C]),children:u}),c?null:a("span",{className:"xb3r6kr xlyipyv xeuugli",children:x??e}),!c&&m&&a("span",{className:"x3nfvp2 x6s0dn4 x1heor9g",children:m})]}),a(We,{role:"status","aria-live":"polite",children:M?"Loading":""})]}),ke=c&&e!==""||M&&!c||x!=null&&x!==e?{"aria-label":e}:null,Ce=f!=null?{"aria-describedby":[N["aria-describedby"],L.describedBy].filter(Boolean).join(" ")||void 0}:null,$e=Se($,f!=null?L.ref:void 0),pe;return W?pe=a(G,{ref:$e,href:g,target:k,rel:b,...ae,...N,...ke,...Ce,...X,"aria-busy":M||void 0,onClick:F,children:oe}):pe=a("button",{ref:$e,type:n,disabled:O?void 0:B,...ae,...N,...ke,...Ce,...X,"aria-busy":M||void 0,"aria-disabled":O||void 0,onClick:F,...U?{onKeyDown:U}:null,children:oe}),f?j(se,{children:[pe,L.renderTooltip(f)]}):pe}Ve.displayName="Button";K();le();V();V();Y();var Rt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",width:"1em",height:"1em","aria-hidden":!0},Ks={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em","aria-hidden":!0},Ec={close:a("svg",{...Rt,children:a("path",{d:"M6 6l12 12M6 18L18 6"})}),chevronDown:a("svg",{...Rt,children:a("path",{d:"M6 9l6 6 6-6"})}),chevronLeft:a("svg",{...Rt,children:a("path",{d:"M15 6l-6 6 6 6"})}),chevronRight:a("svg",{...Rt,children:a("path",{d:"M9 6l6 6-6 6"})}),check:a("svg",{...Rt,children:a("path",{d:"M5 13l4 4L19 7"})}),success:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z"})}),error:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z"})}),warning:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z"})}),info:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z"})}),calendar:j("svg",{...Rt,children:[a("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),a("path",{d:"M16 2v4M8 2v4M3 10h18"})]}),clock:j("svg",{...Rt,children:[a("circle",{cx:"12",cy:"12",r:"9"}),a("path",{d:"M12 7v5l3 3"})]}),externalLink:j("svg",{...Rt,children:[a("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),a("path",{d:"M15 3h6v6"}),a("path",{d:"M10 14L21 3"})]}),menu:a("svg",{...Rt,strokeWidth:2,children:a("path",{d:"M4 6h16M4 12h16M4 18h16"})}),moreHorizontal:j("svg",{...Ks,children:[a("circle",{cx:"5",cy:"12",r:"1.5"}),a("circle",{cx:"12",cy:"12",r:"1.5"}),a("circle",{cx:"19",cy:"12",r:"1.5"})]}),search:j("svg",{...Rt,children:[a("circle",{cx:"11",cy:"11",r:"8"}),a("path",{d:"M21 21l-4.35-4.35"})]}),arrowUp:a("svg",{...Rt,children:a("path",{d:"M12 19V5m0 0l-7 7m7-7l7 7"})}),arrowDown:a("svg",{...Rt,children:a("path",{d:"M12 5v14m0 0l7-7m-7 7l-7-7"})}),arrowsUpDown:a("svg",{...Rt,children:a("path",{d:"M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"})}),funnel:a("svg",{...Rt,children:a("path",{d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z"})}),eyeSlash:a("svg",{...Rt,children:a("path",{d:"M3.98 8.223A10.477 10.477 0 001.934 12c1.292 4.338 5.31 7.5 10.066 7.5.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})}),viewColumns:a("svg",{...Rt,children:a("path",{d:"M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125z"})}),copy:j("svg",{...Rt,children:[a("path",{d:"M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 2.57A2 2 0 0014.685 2H10a2 2 0 00-2 2z"}),a("path",{d:"M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2"})]}),checkDouble:j("svg",{...Rt,children:[a("path",{d:"M2 13l4 4L14 7"}),a("path",{d:"M9 13l4 4L21 7"})]}),wrench:a("svg",{...Rt,children:a("path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"})}),stop:a("svg",{...Ks,children:a("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})}),microphone:j("svg",{...Rt,children:[a("path",{d:"M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z"}),a("path",{d:"M19 10v1a7 7 0 01-14 0v-1"}),a("path",{d:"M12 18v4m-4 0h8"})]})};var Us={};function Mc(e){Us={...Us,...e}}function Nh(){let e={...Ec};for(let t of Object.keys(Us))e[t]=Us[t]??Ec[t];return e}function tt(e){return Us[e]??Ec[e]}function Eh(){Us={}}ie();Y();var Mh={root:{kmuXW:"x2lah0s",$$css:!0},span:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",$$css:!0}},Ah={primary:{kMwMTN:"xtbr613",$$css:!0},secondary:{kMwMTN:"xv9yike",$$css:!0},tertiary:{kMwMTN:"xv9yike",$$css:!0},disabled:{kMwMTN:"xqa6c3m",$$css:!0},accent:{kMwMTN:"xqwr325",$$css:!0},success:{kMwMTN:"xtjic6",$$css:!0},error:{kMwMTN:"xjt36v0",$$css:!0},warning:{kMwMTN:"xs3pv69",$$css:!0},inherit:{kMwMTN:"x1heor9g",$$css:!0},blue:{kMwMTN:"x1fns2mt",$$css:!0},red:{kMwMTN:"xeffzf7",$$css:!0},green:{kMwMTN:"xmxeech",$$css:!0},gray:{kMwMTN:"x1eyinzz",$$css:!0},cyan:{kMwMTN:"x157w0xa",$$css:!0},teal:{kMwMTN:"x1f3zxcb",$$css:!0},yellow:{kMwMTN:"x1g6zdft",$$css:!0},orange:{kMwMTN:"xxu74a4",$$css:!0},pink:{kMwMTN:"x1kxxfg5",$$css:!0},purple:{kMwMTN:"xzdw94u",$$css:!0}},yv={xsm:{kzqmXN:"x1jw3ynk",kZKoxP:"xvle69y",$$css:!0},sm:{kzqmXN:"xcdlrvm",kZKoxP:"x1l36t39",$$css:!0},md:{kzqmXN:"xwqq7k2",kZKoxP:"xmll18r",$$css:!0},lg:{kzqmXN:"xp8d6y2",kZKoxP:"xam5rvr",$$css:!0}},bv={xsm:{kzqmXN:"x1jw3ynk",kZKoxP:"xvle69y",kGuDYH:"xboafo0",$$css:!0},sm:{kzqmXN:"xcdlrvm",kZKoxP:"x1l36t39",kGuDYH:"x1jchvi3",$$css:!0},md:{kzqmXN:"xwqq7k2",kZKoxP:"xmll18r",kGuDYH:"x1603h9y",$$css:!0},lg:{kzqmXN:"xp8d6y2",kZKoxP:"xam5rvr",kGuDYH:"xngnso2",$$css:!0}};function vv(e){return e!=null&&e!==""?{role:"img","aria-label":e}:{"aria-hidden":"true"}}function he({icon:e,color:t="inherit",size:r="md",label:n,ref:o,className:s,style:i,xstyle:l,...u}){let c=vv(n);return typeof e=="string"?a(wv,{name:e,color:t,size:r,a11yProps:c,className:s,style:i,xstyle:l,spanProps:u}):a(e,{ref:o,...c,...P(D("icon",{size:r,color:t}),T(Mh.root,Ah[t],yv[r],l),s??void 0,i),...u})}he.displayName="Icon";function wv({name:e,color:t,size:r,a11yProps:n,className:o,style:s,xstyle:i,spanProps:l}){let u=tt(e);return u==null?null:a("span",{...n,...l??{},...P(D("icon",{size:r,color:t}),T(Mh.span,Ah[t],bv[r],i),o??void 0,s),children:u})}function et(e,t){return typeof e=="string"?a(he,{icon:e,...t}):typeof e=="function"||typeof e=="object"&&e!==null&&"render"in e?a(he,{icon:e,...t}):e}K();var $v={isMobile:!1,isMobileNavOpen:!1,toggleMobileNav:()=>{},openMobileNav:()=>{},closeMobileNav:()=>{},isMobileNavEnabled:!1,hasAutoToggle:!0},Xs=Ne($v);Xs.displayName="AppShellMobileContext";function qt(){return je(Xs)}K();K();var Dn=Ne({locale:"en",direction:"ltr",messages:{}});Dn.displayName="InternationalizationContext";function Ac(e){try{let t=new Intl.Locale(e);return(typeof t.getTextInfo=="function"?t.getTextInfo():t.textInfo)?.direction==="rtl"?"rtl":"ltr"}catch{return"ltr"}}Y();function Qd({locale:e,messages:t,overrides:r,dir:n,children:o}){let s=n??Ac(e),i=H(()=>({locale:e,direction:s,messages:t??{},overrides:r}),[e,s,t,r]);return a(Dn,{value:i,children:o})}Qd.displayName="InternationalizationProvider";K();function Dc(e,t){let r=t&&t.cache?t.cache:Nv,n=t&&t.serializer?t.serializer:Tv;return(t&&t.strategy?t.strategy:jv)(e,{cache:r,serializer:n})}function Sv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Dh(e,t,r,n){let o=Sv(n)?n:r(n),s=t.get(o);return typeof s>"u"&&(s=e.call(this,n),t.set(o,s)),s}function Ph(e,t,r){let n=Array.prototype.slice.call(arguments,3),o=r(n),s=t.get(o);return typeof s>"u"&&(s=e.apply(this,n),t.set(o,s)),s}function Jd(e,t,r,n,o){return r.bind(t,e,n,o)}function jv(e,t){let r=e.length===1?Dh:Ph;return Jd(e,this,r,t.cache.create(),t.serializer)}function Cv(e,t){return Jd(e,this,Ph,t.cache.create(),t.serializer)}function zv(e,t){return Jd(e,this,Dh,t.cache.create(),t.serializer)}var Tv=function(){return JSON.stringify(arguments)},Iv=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Nv={create:function(){return new Iv}},Pc={variadic:Cv,monadic:zv};var Ev=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qh(e){let t={};return e.replace(Ev,r=>{let n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Mv=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Lh(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");let t=e.split(Mv).filter(n=>n.length>0),r=[];for(let n of t){let o=n.split("/");if(o.length===0)throw new Error("Invalid number skeleton");let[s,...i]=o;for(let l of i)if(l.length===0)throw new Error("Invalid number skeleton");r.push({stem:s,options:i})}return r}function Av(e){return e.replace(/^(.*?)-/,"")}var Rh=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oh=/^(@+)?(\+|#+)?[rs]?$/g,Dv=/(\*)(0+)|(#+)(0+)|(0+)/g,Bh=/^(0+)$/;function _h(e){let t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Oh,function(r,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function Fh(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Pv(e){let t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Bh.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Vh(e){let t={},r=Fh(e);return r||t}function Hh(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Av(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((s,i)=>({...s,...Vh(i)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((s,i)=>({...s,...Vh(i)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Dv,function(s,i,l,u,c,d){if(i)t.minimumIntegerDigits=l.length;else{if(u&&c)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Bh.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Rh.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Rh,function(i,l,u,c,d,p){return u==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});let s=r.options[0];s==="w"?t={...t,trailingZeroDisplay:"stripIfInteger"}:s&&(t={...t,..._h(s)});continue}if(Oh.test(r.stem)){t={...t,..._h(r.stem)};continue}let n=Fh(r.stem);n&&(t={...t,...n});let o=Pv(r.stem);o&&(t={...t,...o})}return t}var Rv=(function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e})({});function rp(e){return e.type===0}function Kh(e){return e.type===1}function np(e){return e.type===2}function op(e){return e.type===3}function sp(e){return e.type===4}function ap(e){return e.type===5}function ip(e){return e.type===6}function Uh(e){return e.type===7}function lp(e){return e.type===8}function cp(e){return!!(e&&typeof e=="object"&&e.type===0)}function _c(e){return!!(e&&typeof e=="object"&&e.type===1)}var Xh=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Rc={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function _v(e,t){let r="";for(let n=0;n<e.length;n++){let o=e.charAt(n);if(o==="j"){let s=0;for(;n+1<e.length&&e.charAt(n+1)===o;)s++,n++;let i=1+(s&1),l=s<2?1:3+(s>>1),u="a",c=Vv(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;i-- >0;)r=c+r}else o==="J"?r+="H":r+=o}return r}function Vv(e){let t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}let r=e.language,n;return r!=="root"&&(n=e.maximize().region),(Rc[n||""]||Rc[r||""]||Rc[`${r}-001`]||Rc["001"])[0]}var qv=new RegExp(`^${Xh.source}*`),Lv=new RegExp(`${Xh.source}*$`);function ot(e,t){return{start:e,end:t}}var Ov=!!Object.fromEntries,Bv=!!String.prototype.trimStart,Fv=!!String.prototype.trimEnd,Wh=Ov?Object.fromEntries:function(t){let r={};for(let[n,o]of t)r[n]=o;return r},Hv=Bv?function(t){return t.trimStart()}:function(t){return t.replace(qv,"")},Wv=Fv?function(t){return t.trimEnd()}:function(t){return t.replace(Lv,"")},Gh=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");function Gv(e,t){return Gh.lastIndex=t,Gh.exec(e)[1]??""}function Kv(e){if(e.length===0)return null;let t=1,r=1;for(let n=0;n<e.length;){let o=e.charCodeAt(n);switch(o){case 35:case 39:case 60:case 123:case 125:return null}if(o===10)t++,r=1,n++;else if(r++,o>=55296&&o<=56319&&n+1<e.length){let s=e.charCodeAt(n+1);n+=s>=56320&&s<=57343?2:1}else n++}return{offset:e.length,line:t,column:r}}var Uv=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let t=Kv(this.message);if(t){let r=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:ot(r,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let n=[];for(;!this.isEOF();){let o=this.char();if(o===123){let s=this.parseArgument(e,r);if(s.err)return s;n.push(s.val)}else{if(o===125&&e>0)break;if(o===35&&(t==="plural"||t==="selectordinal")){let s=this.clonePosition();this.bump(),n.push({type:7,location:ot(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(26,ot(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ep(this.peek()||0)){let s=this.parseTag(e,t);if(s.err)return s;n.push(s.val)}else{let s=this.parseLiteral(e,t);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:ot(r,this.clonePosition())},err:null};if(this.bumpIf(">")){let o=this.parseMessage(e+1,t,!0);if(o.err)return o;let s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ep(this.char()))return this.error(23,ot(i,this.clonePosition()));let l=this.clonePosition();return n!==this.parseTagName()?this.error(26,ot(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:8,value:n,children:s,location:ot(r,this.clonePosition())},err:null}:this.error(23,ot(i,this.clonePosition())))}else return this.error(27,ot(r,this.clonePosition()))}else return this.error(23,ot(r,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Zv(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),n="";for(;;){let s=this.tryParseQuote(t);if(s){n+=s;continue}let i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}let l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}let o=ot(r,this.clonePosition());return{val:{type:0,value:n,location:o},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Xv(this.peek()||0))?(this.bump(),"<"):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let r=this.char();if(r===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(r);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return r===60||r===123||r===35&&(t==="plural"||t==="selectordinal")||r===125&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,ot(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,ot(r,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,ot(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,ot(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:ot(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,ot(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(3,ot(r,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),r=Gv(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:ot(e,this.clonePosition())}}parseArgumentOptions(e,t,r,n){let o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,i=this.clonePosition();switch(s){case"":return this.error(4,ot(o,i));case"number":case"date":case"time":{this.bumpSpace();let l=null;if(this.bumpIf(",")){this.bumpSpace();let d=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;let x=Wv(p.val);if(x.length===0)return this.error(6,ot(this.clonePosition(),this.clonePosition()));l={style:x,styleLocation:ot(d,this.clonePosition())}}let u=this.tryParseArgumentClose(n);if(u.err)return u;let c=ot(n,this.clonePosition());if(l&&l.style.startsWith("::")){let d=Hv(l.style.slice(2));if(s==="number"){let p=this.parseNumberSkeletonFromString(d,l.styleLocation);return p.err?p:{val:{type:2,value:r,location:c,style:p.val},err:null}}else{if(d.length===0)return this.error(10,c);let p=d;this.locale&&(p=_v(d,this.locale));let x={type:1,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?qh(p):{}};return{val:{type:s==="date"?3:4,value:r,location:c,style:x},err:null}}}return{val:{type:s==="number"?2:s==="date"?3:4,value:r,location:c,style:l?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,ot(l,{...l}));this.bumpSpace();let u=this.parseIdentifierIfPossible(),c=0;if(s!=="select"&&u.value==="offset"){if(!this.bumpIf(":"))return this.error(13,ot(this.clonePosition(),this.clonePosition()));this.bumpSpace();let m=this.tryParseDecimalInteger(13,14);if(m.err)return m;this.bumpSpace(),u=this.parseIdentifierIfPossible(),c=m.val}let d=this.tryParsePluralOrSelectOptions(e,s,t,u);if(d.err)return d;let p=this.tryParseArgumentClose(n);if(p.err)return p;let x=ot(n,this.clonePosition());return s==="select"?{val:{type:5,value:r,options:Wh(d.val),location:x},err:null}:{val:{type:6,value:r,options:Wh(d.val),offset:c,pluralType:s==="plural"?"cardinal":"ordinal",location:x},err:null}}default:return this.error(5,ot(o,i))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,ot(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,ot(r,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump();break}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=Lh(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Hh(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,n){let o=!1,s=[],i=new Set,{value:l,location:u}=n;for(;;){if(l.length===0){let x=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){let m=this.tryParseDecimalInteger(16,19);if(m.err)return m;u=ot(x,this.clonePosition()),l=this.message.slice(x.offset,this.offset())}else break}if(i.has(l))return this.error(t==="select"?21:20,u);l==="other"&&(o=!0),this.bumpSpace();let c=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?17:18,ot(this.clonePosition(),this.clonePosition()));let d=this.parseMessage(e+1,t,r);if(d.err)return d;let p=this.tryParseArgumentClose(c);if(p.err)return p;s.push([l,{value:d.val,location:ot(c,this.clonePosition())}]),i.add(l),this.bumpSpace(),{value:l,location:u}=this.parseIdentifierIfPossible()}return s.length===0?this.error(t==="select"?15:16,ot(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(22,ot(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let o=!1,s=0;for(;!this.isEOF();){let l=this.char();if(l>=48&&l<=57)o=!0,s=s*10+(l-48),this.bump();else break}let i=ot(n,this.clonePosition());return o?(s*=r,Number.isSafeInteger(s)?{val:s,err:null}:this.error(t,i)):this.error(e,i)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&Yv(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function ep(e){return e>=97&&e<=122||e>=65&&e<=90}function Xv(e){return ep(e)||e===47}function Zv(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Yv(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function tp(e){e.forEach(t=>{if(delete t.location,ap(t)||ip(t))for(let r in t.options)delete t.options[r].location,tp(t.options[r].value);else np(t)&&cp(t.style)||(op(t)||sp(t))&&_c(t.style)?delete t.style.location:lp(t)&&tp(t.children)})}function Zh(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let r=new Uv(e,t).parse();if(r.err){let n=SyntaxError(Rv[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||tp(r.val),r.val}var qc=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Yh=class extends qc{constructor(e,t,r,n){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",n)}},Qv=class extends qc{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},Jv=class extends qc{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function ew(e){return e.length<2?e:e.reduce((t,r)=>{let n=t[t.length-1];return!n||n.type!==0||r.type!==0?t.push(r):n.value+=r.value,t},[])}function tw(e){return typeof e=="function"}function Vc(e,t,r,n,o,s,i){if(e.length===1&&rp(e[0]))return[{type:0,value:e[0].value}];let l=[];for(let u of e){if(rp(u)){l.push({type:0,value:u.value});continue}if(Uh(u)){typeof s=="number"&&l.push({type:0,value:r.getNumberFormat(t).format(s)});continue}let{value:c}=u;if(!(o&&c in o))throw new Jv(c,i);let d=o[c];if(Kh(u)){(!d||typeof d=="string"||typeof d=="number"||typeof d=="bigint")&&(d=typeof d=="string"||typeof d=="number"||typeof d=="bigint"?String(d):""),l.push({type:typeof d=="string"?0:1,value:d});continue}if(op(u)){let p=typeof u.style=="string"?n.date[u.style]:_c(u.style)?u.style.parsedOptions:void 0;l.push({type:0,value:r.getDateTimeFormat(t,p).format(d)});continue}if(sp(u)){let p=typeof u.style=="string"?n.time[u.style]:_c(u.style)?u.style.parsedOptions:n.time.medium;l.push({type:0,value:r.getDateTimeFormat(t,p).format(d)});continue}if(np(u)){let p=typeof u.style=="string"?n.number[u.style]:cp(u.style)?u.style.parsedOptions:void 0;if(p&&p.scale){let x=p.scale||1;if(typeof d=="bigint"){if(!Number.isInteger(x))throw new TypeError(`Cannot apply fractional scale ${x} to bigint value. Scale must be an integer when formatting bigint.`);d=d*BigInt(x)}else d=d*x}l.push({type:0,value:r.getNumberFormat(t,p).format(d)});continue}if(lp(u)){let{children:p,value:x}=u,m=o[x];if(!tw(m))throw new Qv(x,"function",i);let f=m(Vc(p,t,r,n,o,s).map(g=>g.value));Array.isArray(f)||(f=[f]),l.push(...f.map(g=>({type:typeof g=="string"?0:1,value:g})))}if(ap(u)){let p=d,x=(Object.prototype.hasOwnProperty.call(u.options,p)?u.options[p]:void 0)||u.options.other;if(!x)throw new Yh(u.value,d,Object.keys(u.options),i);l.push(...Vc(x.value,t,r,n,o));continue}if(ip(u)){let p=`=${d}`,x=Object.prototype.hasOwnProperty.call(u.options,p)?u.options[p]:void 0;if(!x){if(!Intl.PluralRules)throw new qc(`Intl.PluralRules is not available in this environment.
|
|
63
|
+
}`}var li={...Ml,...Al,...Dl,...Pl,...Rl,..._l,...Vl,...Ll,...Ol,...Bl,...Fl,...Hl,...pc};function Zb(e){return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function ph(e,t){if(!e&&!t)return;if(!e)return t;if(!t)return e;let r={};for(let[n,o]of Object.entries(e))r[n]={...o};for(let[n,o]of Object.entries(t))if(!r[n])r[n]={...o};else for(let[s,i]of Object.entries(o))r[n][s]={...r[n][s],...i};return r}function gc(e){return{normal:"var(--font-weight-normal)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-bold)"}[e]??e}function Gd(e,t){if(!e)return;let r=e.includes(" ")?`"${e}"`:e;return t?`${r}, ${t}`:r}function xh(e){let t={},r=e.extends;if(r)for(let[c,d]of Object.entries(r.tokens))t[c]=d;let n=e.typography,o;if(n?.scale){let c={},d=n.heading;if(d?.weights)for(let[m,f]of Object.entries(d.weights))f&&(c[Number(m)]=gc(f));let p=d?.weight?gc(d.weight):void 0;if(p)for(let m=1;m<=6;m++)m in c||(c[m]=p);let x={};n.body?.weight&&(x.body=gc(n.body.weight)),n.code?.weight&&(x.code=gc(n.code.weight)),o={base:n.scale.base,ratio:n.scale.ratio,weights:{...Object.keys(c).length>0?{heading:c}:{},...Object.keys(x).length>0?{text:x}:{}}}}if(e.color){let c=dc(e.color);for(let[d,p]of Object.entries(c))t[d]=p}if(o){let c=oc(o);for(let[d,p]of Object.entries(c))t[d]=p}if(e.radius){let c=ic(e.radius);for(let[d,p]of Object.entries(c))t[d]=p}if(e.motion){let c=ac(e.motion);for(let[d,p]of Object.entries(c))t[d]=p}if(n){let c=Gd(n.body?.family,n.body?.fallbacks),d=Gd(n.heading?.family,n.heading?.fallbacks)??c,p=Gd(n.code?.family,n.code?.fallbacks);c&&(t["--font-family-body"]=c),d&&(t["--font-family-heading"]=d),p&&(t["--font-family-code"]=p)}if(e.syntax){let c=e.syntax.tokens,d="--color-syntax-";for(let[p,x]of Object.entries(c))t[d+p]=x}if(e.tokens)for(let[c,d]of Object.entries(e.tokens))d!==void 0&&(t[c]=Zb(d));let s=e.components;if(o){let c=sc(o);s=ph(c,e.components)}r?.components&&(s=ph(r.components,s));let i=Vd("dark",e.onDark),l=Vd("light",e.onLight),u=e.icons&&r?.icons?{...r.icons,...e.icons}:e.icons??r?.icons;return{name:e.name,tokens:t,components:s,icons:u,__inputTokens:e.tokens,__onDark:i,__onLight:l}}function mh(e){return typeof e=="object"&&e!==null&&"name"in e&&"tokens"in e&&!("styles"in e)}function Zd(e){return`var(${e})`}var gh=Object.fromEntries(Object.keys(li).map(e=>[e,Zd(e)]));function Yd(e){let t=0,r=null,n=!1;for(let o=0;o<e.length;o++){let s=e[o];if(r!==null){n?n=!1:s==="\\"?n=!0:s===r&&(r=null);continue}if(s==='"'||s==="'"){r=s;continue}if(s==="("){t++;continue}if(s===")"){t=Math.max(0,t-1);continue}if(s===","&&t===0)return[e.slice(0,o).trim(),e.slice(o+1).trim()]}return null}function Yb(e){let t=e.trim(),r="light-dark(";if(!t.startsWith(r)||!t.endsWith(")"))return null;let n=t.slice(r.length,-1);return Yd(n)}function Kd(e,t){if(Array.isArray(e))return t==="dark"?e[1]:e[0];let r=Yb(e);return r!==null?t==="dark"?r[1]:r[0]:e}function kh(e,t){let r=0;for(let n=t;n<e.length;n++){let o=e[n];if(o==="(")r++;else if(o===")"&&(r--,r===0))return n}return-1}function fh(e){let t=e.trim(),r=t.match(/\s+([\d.]+)%$/);return r?{color:t.slice(0,r.index).trim(),percentage:parseFloat(r[1])}:{color:t,percentage:null}}function Qb(e){let t=e.match(/^in\s+([\w-]+)\s*,\s*(.+)$/s);if(!t)return null;let[,r,n]=t;if(r.toLowerCase()!=="srgb")return null;let o=Yd(n);if(o===null)return null;let s=fh(o[0]),i=fh(o[1]);if(s===null||i===null)return null;let l=Ja(s.color),u=Ja(i.color);if(l===null||u===null)return null;let c,d;s.percentage!==null&&i.percentage!==null?(c=s.percentage,d=i.percentage):s.percentage!==null?(c=s.percentage,d=100-c):i.percentage!==null?(d=i.percentage,c=100-d):(c=50,d=50);let p=c+d;if(p<=0)return null;let x=c/p,m=d/p,f=p<100?p/100:1,g=x*l.a+m*u.a,h=(S,$)=>x*S*l.a+m*$*u.a,k=h(l.r,u.r),b=h(l.g,u.g),v=h(l.b,u.b),w=g===0?{r:0,g:0,b:0}:{r:k/g,g:b/g,b:v/g};return ec({...w,a:g*f})}function Ud(e){let t=e.indexOf("color-mix(");if(t===-1)return e;let r=t+9,n=kh(e,r);if(n===-1)return e;let o=Ud(e.slice(r+1,n)),i=Qb(o)??`color-mix(${o})`;return e.slice(0,t)+i+Ud(e.slice(n+1))}function Xd(e,t,r,n){let o=e.indexOf("var(");if(o===-1)return e;let s=o+3,i=kh(e,s);if(i===-1)return e;let l=e.slice(s+1,i),u=Yd(l),c=(u?u[0]:l).trim(),d=u?u[1]:null,p;n.has(c)?p=e.slice(o,i+1):c in t?(n.add(c),p=yh(c,t,r,n),n.delete(c)):d!==null?p=Xd(d.trim(),t,r,n):p=e.slice(o,i+1);let x=Xd(e.slice(i+1),t,r,n);return e.slice(0,o)+p+x}function Jb(e,t,r,n){if(!e.includes("var(")&&!e.includes("color-mix("))return e;let o=Xd(e,t,r,n);return Ud(o)}function yh(e,t,r,n){if(e in r)return r[e];let o=t[e];if(o===void 0)return"";let s=Jb(o,t,r,n);return r[e]=s,s}function hh(e){let t={};for(let r of Object.keys(e))yh(r,e,t,new Set);return t}function ci(e,t){let{mode:r}=t,n={};for(let[o,s]of Object.entries(li))n[o]=Kd(s,r);if(e==null)return hh(n);for(let[o,s]of Object.entries(e.tokens))n[o]=Kd(s,r);if(e.__inputTokens)for(let[o,s]of Object.entries(e.__inputTokens))s!==void 0&&(n[o]=Kd(s,r));return hh(n)}function bh(e,t,r){return ci(e,r)[t]??r.fallback??""}K();function yr(e,t=!1){let r=y(s=>{let i=window.matchMedia(e);return i.addEventListener("change",s),()=>i.removeEventListener("change",s)},[e]),n=y(()=>window.matchMedia(e).matches,[e]),o=y(()=>t,[t]);return Cr(r,n,o)}var Hs=Ne(null);Hs.displayName="ThemeContext";function ev(){if(typeof document>"u")return null;let e=document.documentElement.getAttribute("data-theme");return e==="light"||e==="dark"?e:null}function tv(){return null}function rv(){return null}var di=new Set,ui=null;function nv(){for(let e of di)e()}function ov(e){return di.add(e),di.size===1&&typeof MutationObserver<"u"&&(ui=new MutationObserver(nv),ui.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]})),()=>{di.delete(e),di.size===0&&ui&&(ui.disconnect(),ui=null)}}function sv(){return()=>{}}function av(e){return Cr(e?sv:ov,e?rv:ev,tv)}function on(){let e=je(Hs),t=av(e!=null),r=yr("(prefers-color-scheme: dark)"),n=e?.mode??t??"system",o=e?.theme??null,s=n==="system"?r?"dark":"light":n,i=H(()=>ci(o,{mode:s}),[o,s]),l=u=>i[u]??"";return{name:o?.name??"default",mode:s,token:l,tokens:i}}K();le();V();V();var kc={primary:{kMwMTN:"x1tgivj0",$$css:!0},secondary:{kMwMTN:"xv1l7n4",$$css:!0},disabled:{kMwMTN:"xnbbluu",$$css:!0},placeholder:{kMwMTN:"xv1l7n4",$$css:!0},accent:{kMwMTN:"xjse4m1",$$css:!0},inherit:{kMwMTN:"x1heor9g",$$css:!0}},vh={normal:{k63SB2:"x1sodnla",$$css:!0},medium:{k63SB2:"x1e4wzip",$$css:!0},semibold:{k63SB2:"x2mo6ok",$$css:!0},bold:{k63SB2:"x1lvx875",$$css:!0}},yc={body:{k63SB2:"xxovm9e",$$css:!0},large:{k63SB2:"x149oux8",$$css:!0},label:{k63SB2:"xmhvcl5",$$css:!0},code:{k63SB2:"xx3eeay",$$css:!0},supporting:{k63SB2:"xv8on6e",$$css:!0},"display-1":{k63SB2:"x1txul5o",$$css:!0},"display-2":{k63SB2:"x1y36c3f",$$css:!0},"display-3":{k63SB2:"x1on40hk",$$css:!0},inherit:{k63SB2:"x1pd3egz",$$css:!0}},pi={body:{kGuDYH:"xjm74w1",kLWn49:"xw6l6zx",$$css:!0},large:{kGuDYH:"x18juvz8",kLWn49:"xf74fhv",$$css:!0},label:{kGuDYH:"xcr08ib",kLWn49:"x1kq96og",$$css:!0},code:{kGuDYH:"xp03k98",kLWn49:"x17iicif",kMv6JI:"x9m5x89",$$css:!0},supporting:{kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",$$css:!0},"display-1":{kGuDYH:"xsub3ws",kLWn49:"x112ttwr",$$css:!0},"display-2":{kGuDYH:"x1yego12",kLWn49:"xh0iwvy",$$css:!0},"display-3":{kGuDYH:"xlgnzhf",kLWn49:"x1ujwuaq",$$css:!0},inherit:{kGuDYH:"x1qlqyl8",kLWn49:"x15bjb6t",$$css:!0}},wh={"4xs":{kGuDYH:"xxc45ev",$$css:!0},"3xs":{kGuDYH:"x10p7juq",$$css:!0},"2xs":{kGuDYH:"x16a80zy",$$css:!0},xsm:{kGuDYH:"x51wmvv",$$css:!0},sm:{kGuDYH:"x1eqnyfr",$$css:!0},base:{kGuDYH:"x1j29vfg",$$css:!0},lg:{kGuDYH:"xc7cgfe",$$css:!0},xl:{kGuDYH:"x1wqms48",$$css:!0},"2xl":{kGuDYH:"xhs0kqb",$$css:!0},"3xl":{kGuDYH:"x10srzze",$$css:!0},"4xl":{kGuDYH:"xqcvi3d",$$css:!0}},$h={1:{kGuDYH:"xcg7oai",kLWn49:"xfmsba7",k63SB2:"x1v68xuy",$$css:!0},2:{kGuDYH:"x1xvnhcw",kLWn49:"x1cpk1wn",k63SB2:"x12yy4cs",$$css:!0},3:{kGuDYH:"xii13ha",kLWn49:"xwjzt0u",k63SB2:"x1jcxfy8",$$css:!0},4:{kGuDYH:"x8tkxat",kLWn49:"xqerer",k63SB2:"x2hcmsi",$$css:!0},5:{kGuDYH:"xsgqta0",kLWn49:"xo3gurs",k63SB2:"xno150v",$$css:!0},6:{kGuDYH:"xw5ohdf",kLWn49:"xeixjfn",k63SB2:"x1pw4frv",$$css:!0}},bc={inline:{k1xSpc:"xt0psk2",$$css:!0},block:{k1xSpc:"x1lliihq",$$css:!0}},Ws={singleLine:{kVQacm:"xb3r6kr",kg5iWk:"xlyipyv",khDVqt:"xuxw1ft",k1xSpc:"x1lliihq",$$css:!0},multiLine:{kVQacm:"xb3r6kr",k1xSpc:"x104kibb",kgKLqz:"x1ua5tub",$$css:!0}},vc={"break-word":{kTgw9:"x1lldw8n",kHjlTd:"x1mzt3pk",$$css:!0},"break-all":{kTgw9:"x1yn0g08",$$css:!0}},wc={wrap:{kN2L0X:"xk4td0m",$$css:!0},nowrap:{kN2L0X:"xebhuq6",$$css:!0},balance:{kN2L0X:"x1w2vvpw",$$css:!0},pretty:{kN2L0X:"x1fzhlzt",$$css:!0}},$c={enabled:{kxwWH2:"x1b2iylo",kzeHkT:"xwgcxoh",k1xSpc:"x1lliihq",$$css:!0}},Sc={strikethrough:{kybGjl:"xmqliwb",$$css:!0}},Sh={enabled:{kcqcaj:"xss6m8b",$$css:!0}},jc={start:{k9WMMc:"x1yc453h",$$css:!0},center:{k9WMMc:"x2b8uid",$$css:!0},end:{k9WMMc:"xp4054r",$$css:!0}},Cc={content:{ks0D6T:"xw5ewwj",kTgw9:"x13faqbe",$$css:!0}};K();function Gs(e){let{maxLines:t}=e,[r,n]=ee(!1),[o,s]=ee(""),i=_(null),l=y(c=>{if(t===0){n(!1);return}if(s(c.textContent??""),t===1)n(c.scrollWidth>c.offsetWidth);else{let d=c.scrollHeight;try{let p=document.createRange();p.selectNodeContents(c),d=p.getBoundingClientRect().height,p.detach()}catch{}n(d>c.offsetHeight)}},[t]);return{ref:y(c=>{i.current&&rr(i.current),i.current=c,c&&t>0?typeof ResizeObserver<"u"?hr(c,()=>{l(c)}):l(c):(n(!1),s(""))},[t,l]),isTruncated:r,fullText:o}}ie();Y();var lv=js(async()=>Promise.resolve().then(()=>(io(),zc)).then(e=>({default:e.Tooltip}))),cv={body:"primary",large:"primary",label:"primary",supporting:"secondary",code:"primary","display-1":"primary","display-2":"primary","display-3":"primary",inherit:"inherit"};function uv(e){return e in pi?e:"body"}function zt({type:e="body",size:t,color:r,weight:n,display:o="inline",maxLines:s=0,hasTruncateTooltip:i=!0,wordBreak:l,textWrap:u,justify:c="start",hasCapsize:d=!1,hasStrikethrough:p=!1,hasTabularNumbers:x=!1,xstyle:m,className:f,style:g,as:h="span",children:k,ref:b,...v}){let w=r??cv[e]??"primary",S=uv(e),$=l??(s===1?"break-all":"break-word"),N=s>0||d?"block":o,C=Gs({maxLines:s}),R=typeof i=="string"?i:"above",z=s>0&&i!==!1&&C.isTruncated,I=_(null),A=s>1?{WebkitLineClamp:s}:void 0;return j(se,{children:[a(h,{ref:Se(b,C.ref,I),...P(D("text",{type:e,size:t,color:w}),T(kc[w],pi[S],t&&wh[t],yc[S],n&&vh[n],s===1?Ws.singleLine:s>1?Ws.multiLine:bc[N],s>0&&vc[$],u&&wc[u],c!=="start"&&jc[c],d&&$c.enabled,p&&Sc.strikethrough,x&&Sh.enabled,m),f,{...g,...A}),title:z?C.fullText:void 0,...v,children:k}),z&&a(Ss,{fallback:null,children:a(lv,{anchorRef:I,content:a("span",{...T(Cc.content),children:C.fullText}),placement:R})})]})}zt.displayName="Text";ie();Y();var dv=.75,Ch=1.5,zh={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}};var Th={wrapper:{k1xSpc:"x3nfvp2",kXwgrk:"xdt5ytf",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",$$css:!0},spinner:{k1xSpc:"xwz0xwf",kgQiWS:"x1ku5rj1",kVQacm:"xb3r6kr",kXLuUW:"xxymvpz",$$css:!0}};function Ue({size:e="md",shade:t="default",label:r,xstyle:n,className:o,style:s,"aria-label":i,"data-testid":l,ref:u,...c}){let d=_(null),{tokens:p}=on();de(()=>{let w=d.current;if(w==null)return;let S=w.getContext("2d");if(!S)return;let{border:$,diameter:N}=zh[e],C=window.devicePixelRatio||1,R=t==="inherit"?getComputedStyle(w).color:null,z=t==="inherit"?R:t==="onMedia"?p["--color-on-dark"]:t==="subtle"?p["--color-text-secondary"]:p["--color-accent"],I=t==="inherit"?R:t==="onMedia"?`${p["--color-on-dark"]}4D`:p["--color-track"],A=N+$*2,M=Math.round(A*C),q=M+M%2,E=q/A,B=N/2*E,G=$*E;w.height=w.width=q,w.style.width=w.style.height=A+"px",S.lineCap="round",S.lineWidth=G;let W=q/2;S.beginPath(),S.arc(W,W,B,0,2*Math.PI),S.strokeStyle=I,t==="inherit"&&(S.globalAlpha=.3),S.stroke(),S.globalAlpha=1,S.beginPath(),S.arc(W,W,B,Ch*Math.PI,(Ch+dv)%2*Math.PI),S.strokeStyle=z,S.stroke()},[t,e,p]);let{border:x,diameter:m}=zh[e],f=m+x*2,g=r!=null,h=ne(),k=g&&typeof r=="string"&&i==null,v=a("span",{ref:g?void 0:u,role:"status","aria-label":k?void 0:i??(typeof r=="string"?r:void 0)??"Loading","aria-labelledby":k?h:void 0,"data-testid":g?void 0:l,...g?{}:c,...P(g?"":D("spinner",{size:e,shade:t}),T(Th.spinner,!g&&n),g?void 0:o,{...g?{}:s,width:f,height:f}),children:a("canvas",{ref:d,className:"xlp1x4z x1lliihq x1so62im x14qxm4i xnh0sag xa4qsjk x1ka1v4i x1esw782"})});return g?j("div",{ref:u,"data-testid":l,...c,...P(D("spinner",{size:e,shade:t}),T(Th.wrapper,n),o,s),children:[v,typeof r=="string"?a(zt,{id:h,type:"body",weight:"bold",children:r}):r]}):v}Ue.displayName="Spinner";K();function We({children:e,as:t="span",ref:r,...n}){return Yr(t,{ref:r,...n,className:"x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o"},e)}We.displayName="VisuallyHidden";var Mn="data-pharos-edge-comp",pv={keTefX:"xcs1fud",k71WvV:"x15aelv7",$$css:!0},An={inset:e=>[pv,{"--x-131qrwo":(t=>typeof t=="number"?t+"px":t??void 0)(`calc(-1 * ${e})`),"--x-qnijxi":(t=>typeof t=="number"?t+"px":t??void 0)(`calc(-1 * ${e})`)}]};K();var xi=Ne(null);xi.displayName="SizeContext";function Je(e,t="md"){let r=je(xi);return e??r??t}var lo=xi.Provider;K();var Tc=Ne(null);Tc.displayName="ButtonGroupContext";function Ic(){return je(Tc)}K();K();var mi=Ne(null);mi.displayName="LinkContext";function xv(e){function t({href:r,ref:n,...o}){return Yr(e,{ref:n,href:r,to:r,...o})}return t.displayName=`LinkWithTo(${typeof e=="string"?e:e.displayName||e.name||"Component"})`,t}function Ze(e){let t=je(mi),r=e??t?.component??"a";return H(()=>r==="a"?"a":xv(r),[r])}ie();Y();var co={base:{kVAEAm:"x1n2onr6",k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kOIVth:"x1txdalj",k8WAf4:"xce4md1",kg3NbH:"xrrkdod",kMzoRj:"xc342km",ksu8eU:"xng3xce",kaIpWk:"x1jxw6zd",kMv6JI:"xjb2p0i",kGuDYH:"xcr08ib",kLWn49:"x1kq96og",k63SB2:"x1e4wzip",khDVqt:"xuxw1ft",kkrTdU:"x1ypdohk",k1ekBW:"xrafxwg",kIyJzY:"xuedmi6 x12w9bfk",kAMwcw:"xlr8y92",$$css:!0},pressable:{k3aq6I:"x3oybdh xk4oym4",$$css:!0},disabled:{kkrTdU:"x1h6gzvc",kSiTet:"xbyyjgo",kKwaWg:"x18o3ruo",k3aq6I:"x1c071of x1pdlv7q",$$css:!0},ariaDisabled:{kKwaWg:"x18o3ruo x8o3jvd xuqm82a",$$css:!0},iconOnly:{"--button-icon-only-aspect":"x1v15ycx",kOBAk4:"xioom0i",kg3NbH:"xnjsko4",k8WAf4:"xt970qd",$$css:!0},iconWrapper:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",$$css:!0},contentWrapper:{k1xSpc:"xjp7ctv",$$css:!0},link:{kybGjl:"x1hl2dhg",$$css:!0}},mv={width:e=>[{kzqmXN:e!=null?"x5lhr3w":e,$$css:!0},{"--x-width":(t=>typeof t=="number"?t+"px":t??void 0)(e)}]},fv={sm:{kZKoxP:"x6k0iem",$$css:!0},md:{kZKoxP:"x1ueg155",$$css:!0},lg:{kZKoxP:"xssyfek",$$css:!0}},hv={sm:{kzqmXN:"x1kky2od",kZKoxP:"xlup9mm",kGuDYH:"x1j61zf2",$$css:!0},md:{kzqmXN:"x1kky2od",kZKoxP:"xlup9mm",kGuDYH:"x1j61zf2",$$css:!0},lg:{kzqmXN:"xw4jnvo",kZKoxP:"x1qx5ct2",kGuDYH:"xwsyq91",$$css:!0}},gv={none:{kGVxlE:"x1gnnqk1",$$css:!0},low:{kGVxlE:"x1i5ehqx",$$css:!0},med:{kGVxlE:"x14hfi27",$$css:!0},high:{kGVxlE:"x1kcpxr7",$$css:!0}},kv={primary:{kWkggS:"x1ewilqj",kMwMTN:"x17wrial",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},secondary:{kWkggS:"x17x4s8c",kMwMTN:"x1tgivj0",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},ghost:{kWkggS:"xjbqb8w",kMwMTN:"x1tgivj0",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x17nn4n9","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0},destructive:{kWkggS:"x1pjz0fi",kMwMTN:"x1m024r3",kKwaWg:"x1ilzqfv xq8i9tn",kI3sdo:"x1p73he7","--button-focus-offset":"xkzo27j",kInvED:"x1wfwxd8 x13aywxo",$$css:!0}};var jM=zs["--duration-medium-min"],Ih={hiddenContent:{kMwMTN:"x19co3pv",$$css:!0},hiddenContentDelayed:{kKVMdj:"x1ffowhz",k44tkh:"xjlvqhv",kWV6AL:"x10e4vud",kKxzle:"x17yabm6 x14q22ui",$$css:!0}};var Nc={horizontal:{krdFHd:"x15mokao x8eehn2",kVL7Gh:"xbiv7yw x1xrp5p4",kfmiAY:"x1ga7v0g xbfdvlp",kT0f0o:"x16uus16 xajhecq",k2ei4v:"xgbv0en x1pjv70x",kVhnKS:"x1t7ytsu xyf0ibl",kGJrpR:"x1j92z86",$$css:!0},vertical:{krdFHd:"x15mokao x8eehn2",kfmiAY:"x1ga7v0g x2qxyot",kVL7Gh:"xbiv7yw x12tyzlf",kT0f0o:"x16uus16 xajhecq",kEafiO:"x11xkdxz x1g31smg",kPef9Z:"x13fuv20 x1d9v4yf",kLZC3w:"x1pc3f07",$$css:!0},onSolidHorizontal:{kGJrpR:"xrvmtm5",$$css:!0},onSolidVertical:{kLZC3w:"x11npmm7",$$css:!0}};function Ve({label:e,variant:t="secondary",size:r,type:n="button",isDisabled:o=!1,isLoading:s=!1,isInterruptible:i=!1,clickAction:l,icon:u,isIconOnly:c=!1,width:d,elevation:p="none",children:x,endContent:m,tooltip:f,href:g,as:h,target:k,rel:b,xstyle:v,className:w,style:S,ref:$,...N}){let C=Je(r,"md"),R=Ic(),[z,I]=ut(),A=_(!1),M=s||z,q=z||i,E=R?.isDisabled??!1,B=o||E||M&&!i,G=Ze(h),W=g!=null&&!B,O=f!=null&&B,L=Fe({placement:"above",isEnabled:f!=null}),F=re=>{if(B||A.current&&!i){re.preventDefault();return}N.onClick?.(re),l&&!re.defaultPrevented&&(A.current=!0,I(async()=>{try{await l(re)}finally{A.current=!1}}))},U=O?re=>{re.key==="Enter"||re.key===" "?re.preventDefault():N.onKeyDown?.(re)}:void 0,X=t==="ghost"?{[Mn]:""}:null,Q=T(co.base,fv[C],kv[t],c&&co.iconOnly,B&&co.disabled,O&&co.ariaDisabled,W&&co.link,!R&&co.pressable,R&&(R.orientation==="horizontal"?Nc.horizontal:Nc.vertical),R&&(t==="primary"||t==="destructive")&&(R.orientation==="horizontal"?Nc.onSolidHorizontal:Nc.onSolidVertical),!R&&gv[p],d!=null&&mv.width(d),v),ae=P(D("button",{variant:t,size:C}),Q,w,S),oe=j(se,{children:[M&&a("span",{...{0:{className:"x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1"},1:{className:"x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1 xqcmdr3 xb2rp9n xskzprw x17yabm6 x14q22ui"}}[!!q<<0],"aria-hidden":"true",children:a(Ue,{size:"sm",shade:"inherit"})}),j("span",{...T(co.contentWrapper,M&&(q?Ih.hiddenContentDelayed:Ih.hiddenContent)),"aria-hidden":M||void 0,children:[u&&a("span",{...T(co.iconWrapper,hv[C]),children:u}),c?null:a("span",{className:"xb3r6kr xlyipyv xeuugli",children:x??e}),!c&&m&&a("span",{className:"x3nfvp2 x6s0dn4 x1heor9g",children:m})]}),a(We,{role:"status","aria-live":"polite",children:M?"Loading":""})]}),ke=c&&e!==""||M&&!c||x!=null&&x!==e?{"aria-label":e}:null,Ce=f!=null?{"aria-describedby":[N["aria-describedby"],L.describedBy].filter(Boolean).join(" ")||void 0}:null,$e=Se($,f!=null?L.ref:void 0),pe;return W?pe=a(G,{ref:$e,href:g,target:k,rel:b,...ae,...N,...ke,...Ce,...X,"aria-busy":M||void 0,onClick:F,children:oe}):pe=a("button",{ref:$e,type:n,disabled:O?void 0:B,...ae,...N,...ke,...Ce,...X,"aria-busy":M||void 0,"aria-disabled":O||void 0,onClick:F,...U?{onKeyDown:U}:null,children:oe}),f?j(se,{children:[pe,L.renderTooltip(f)]}):pe}Ve.displayName="Button";K();le();V();V();Y();var Rt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",width:"1em",height:"1em","aria-hidden":!0},Ks={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em","aria-hidden":!0},Ec={close:a("svg",{...Rt,children:a("path",{d:"M6 6l12 12M6 18L18 6"})}),chevronDown:a("svg",{...Rt,children:a("path",{d:"M6 9l6 6 6-6"})}),chevronLeft:a("svg",{...Rt,children:a("path",{d:"M15 6l-6 6 6 6"})}),chevronRight:a("svg",{...Rt,children:a("path",{d:"M9 6l6 6-6 6"})}),check:a("svg",{...Rt,children:a("path",{d:"M5 13l4 4L19 7"})}),success:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z"})}),error:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z"})}),warning:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z"})}),info:a("svg",{...Ks,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z"})}),calendar:j("svg",{...Rt,children:[a("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),a("path",{d:"M16 2v4M8 2v4M3 10h18"})]}),clock:j("svg",{...Rt,children:[a("circle",{cx:"12",cy:"12",r:"9"}),a("path",{d:"M12 7v5l3 3"})]}),externalLink:j("svg",{...Rt,children:[a("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),a("path",{d:"M15 3h6v6"}),a("path",{d:"M10 14L21 3"})]}),menu:a("svg",{...Rt,strokeWidth:2,children:a("path",{d:"M4 6h16M4 12h16M4 18h16"})}),moreHorizontal:j("svg",{...Ks,children:[a("circle",{cx:"5",cy:"12",r:"1.5"}),a("circle",{cx:"12",cy:"12",r:"1.5"}),a("circle",{cx:"19",cy:"12",r:"1.5"})]}),search:j("svg",{...Rt,children:[a("circle",{cx:"11",cy:"11",r:"8"}),a("path",{d:"M21 21l-4.35-4.35"})]}),arrowUp:a("svg",{...Rt,children:a("path",{d:"M12 19V5m0 0l-7 7m7-7l7 7"})}),arrowDown:a("svg",{...Rt,children:a("path",{d:"M12 5v14m0 0l7-7m-7 7l-7-7"})}),arrowsUpDown:a("svg",{...Rt,children:a("path",{d:"M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"})}),funnel:a("svg",{...Rt,children:a("path",{d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z"})}),eyeSlash:a("svg",{...Rt,children:a("path",{d:"M3.98 8.223A10.477 10.477 0 001.934 12c1.292 4.338 5.31 7.5 10.066 7.5.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})}),viewColumns:a("svg",{...Rt,children:a("path",{d:"M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125z"})}),copy:j("svg",{...Rt,children:[a("path",{d:"M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 2.57A2 2 0 0014.685 2H10a2 2 0 00-2 2z"}),a("path",{d:"M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2"})]}),checkDouble:j("svg",{...Rt,children:[a("path",{d:"M2 13l4 4L14 7"}),a("path",{d:"M9 13l4 4L21 7"})]}),wrench:a("svg",{...Rt,children:a("path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"})}),stop:a("svg",{...Ks,children:a("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})}),microphone:j("svg",{...Rt,children:[a("path",{d:"M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z"}),a("path",{d:"M19 10v1a7 7 0 01-14 0v-1"}),a("path",{d:"M12 18v4m-4 0h8"})]})};var Us={};function Mc(e){Us={...Us,...e}}function Nh(){let e={...Ec};for(let t of Object.keys(Us))e[t]=Us[t]??Ec[t];return e}function tt(e){return Us[e]??Ec[e]}function Eh(){Us={}}ie();Y();var Mh={root:{kmuXW:"x2lah0s",$$css:!0},span:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",$$css:!0}},Ah={primary:{kMwMTN:"xtbr613",$$css:!0},secondary:{kMwMTN:"xv9yike",$$css:!0},tertiary:{kMwMTN:"xv9yike",$$css:!0},disabled:{kMwMTN:"xqa6c3m",$$css:!0},accent:{kMwMTN:"xqwr325",$$css:!0},success:{kMwMTN:"xtjic6",$$css:!0},error:{kMwMTN:"xjt36v0",$$css:!0},warning:{kMwMTN:"xs3pv69",$$css:!0},inherit:{kMwMTN:"x1heor9g",$$css:!0},blue:{kMwMTN:"x1fns2mt",$$css:!0},red:{kMwMTN:"xeffzf7",$$css:!0},green:{kMwMTN:"xmxeech",$$css:!0},gray:{kMwMTN:"x1eyinzz",$$css:!0},cyan:{kMwMTN:"x157w0xa",$$css:!0},teal:{kMwMTN:"x1f3zxcb",$$css:!0},yellow:{kMwMTN:"x1g6zdft",$$css:!0},orange:{kMwMTN:"xxu74a4",$$css:!0},pink:{kMwMTN:"x1kxxfg5",$$css:!0},purple:{kMwMTN:"xzdw94u",$$css:!0}},yv={xsm:{kzqmXN:"x1jw3ynk",kZKoxP:"xvle69y",$$css:!0},sm:{kzqmXN:"xcdlrvm",kZKoxP:"x1l36t39",$$css:!0},md:{kzqmXN:"xwqq7k2",kZKoxP:"xmll18r",$$css:!0},lg:{kzqmXN:"xp8d6y2",kZKoxP:"xam5rvr",$$css:!0}},bv={xsm:{kzqmXN:"x1jw3ynk",kZKoxP:"xvle69y",kGuDYH:"xboafo0",$$css:!0},sm:{kzqmXN:"xcdlrvm",kZKoxP:"x1l36t39",kGuDYH:"x1jchvi3",$$css:!0},md:{kzqmXN:"xwqq7k2",kZKoxP:"xmll18r",kGuDYH:"x1603h9y",$$css:!0},lg:{kzqmXN:"xp8d6y2",kZKoxP:"xam5rvr",kGuDYH:"xngnso2",$$css:!0}};function vv(e){return e!=null&&e!==""?{role:"img","aria-label":e}:{"aria-hidden":"true"}}function he({icon:e,color:t="inherit",size:r="md",label:n,ref:o,className:s,style:i,xstyle:l,...u}){let c=vv(n);return typeof e=="string"?a(wv,{name:e,color:t,size:r,a11yProps:c,className:s,style:i,xstyle:l,spanProps:u}):a(e,{ref:o,...c,...P(D("icon",{size:r,color:t}),T(Mh.root,Ah[t],yv[r],l),s??void 0,i),...u})}he.displayName="Icon";function wv({name:e,color:t,size:r,a11yProps:n,className:o,style:s,xstyle:i,spanProps:l}){let u=tt(e);return u==null?null:a("span",{...n,...l??{},...P(D("icon",{size:r,color:t}),T(Mh.span,Ah[t],bv[r],i),o??void 0,s),children:u})}function et(e,t){return typeof e=="string"?a(he,{icon:e,...t}):typeof e=="function"||typeof e=="object"&&e!==null&&"render"in e?a(he,{icon:e,...t}):e}K();var $v={isMobile:!1,isMobileNavOpen:!1,toggleMobileNav:()=>{},openMobileNav:()=>{},closeMobileNav:()=>{},isMobileNavEnabled:!1,hasAutoToggle:!0},Xs=Ne($v);Xs.displayName="AppShellMobileContext";function qt(){return je(Xs)}K();K();var Dn=Ne({locale:"en",direction:"ltr",messages:{}});Dn.displayName="InternationalizationContext";function Ac(e){try{let t=new Intl.Locale(e);return(typeof t.getTextInfo=="function"?t.getTextInfo():t.textInfo)?.direction==="rtl"?"rtl":"ltr"}catch{return"ltr"}}Y();function Qd({locale:e,messages:t,overrides:r,dir:n,children:o}){let s=n??Ac(e),i=H(()=>({locale:e,direction:s,messages:t??{},overrides:r}),[e,s,t,r]);return a(Dn,{value:i,children:o})}Qd.displayName="InternationalizationProvider";K();function Dc(e,t){let r=t&&t.cache?t.cache:Nv,n=t&&t.serializer?t.serializer:Tv;return(t&&t.strategy?t.strategy:jv)(e,{cache:r,serializer:n})}function Sv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Dh(e,t,r,n){let o=Sv(n)?n:r(n),s=t.get(o);return typeof s>"u"&&(s=e.call(this,n),t.set(o,s)),s}function Ph(e,t,r){let n=Array.prototype.slice.call(arguments,3),o=r(n),s=t.get(o);return typeof s>"u"&&(s=e.apply(this,n),t.set(o,s)),s}function Jd(e,t,r,n,o){return r.bind(t,e,n,o)}function jv(e,t){let r=e.length===1?Dh:Ph;return Jd(e,this,r,t.cache.create(),t.serializer)}function Cv(e,t){return Jd(e,this,Ph,t.cache.create(),t.serializer)}function zv(e,t){return Jd(e,this,Dh,t.cache.create(),t.serializer)}var Tv=function(){return JSON.stringify(arguments)},Iv=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Nv={create:function(){return new Iv}},Pc={variadic:Cv,monadic:zv};var Ev=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qh(e){let t={};return e.replace(Ev,r=>{let n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-3];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-3];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Mv=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Lh(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");let t=e.split(Mv).filter(n=>n.length>0),r=[];for(let n of t){let o=n.split("/");if(o.length===0)throw new Error("Invalid number skeleton");let[s,...i]=o;for(let l of i)if(l.length===0)throw new Error("Invalid number skeleton");r.push({stem:s,options:i})}return r}function Av(e){return e.replace(/^(.*?)-/,"")}var Rh=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oh=/^(@+)?(\+|#+)?[rs]?$/g,Dv=/(\*)(0+)|(#+)(0+)|(0+)/g,Bh=/^(0+)$/;function _h(e){let t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Oh,function(r,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function Fh(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Pv(e){let t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Bh.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Vh(e){let t={},r=Fh(e);return r||t}function Hh(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Av(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((s,i)=>({...s,...Vh(i)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((s,i)=>({...s,...Vh(i)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Dv,function(s,i,l,u,c,d){if(i)t.minimumIntegerDigits=l.length;else{if(u&&c)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Bh.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Rh.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Rh,function(i,l,u,c,d,p){return u==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});let s=r.options[0];s==="w"?t={...t,trailingZeroDisplay:"stripIfInteger"}:s&&(t={...t,..._h(s)});continue}if(Oh.test(r.stem)){t={...t,..._h(r.stem)};continue}let n=Fh(r.stem);n&&(t={...t,...n});let o=Pv(r.stem);o&&(t={...t,...o})}return t}var Rv=(function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e})({});function rp(e){return e.type===0}function Kh(e){return e.type===1}function np(e){return e.type===2}function op(e){return e.type===3}function sp(e){return e.type===4}function ap(e){return e.type===5}function ip(e){return e.type===6}function Uh(e){return e.type===7}function lp(e){return e.type===8}function cp(e){return!!(e&&typeof e=="object"&&e.type===0)}function _c(e){return!!(e&&typeof e=="object"&&e.type===1)}var Xh=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Rc={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function _v(e,t){let r="";for(let n=0;n<e.length;n++){let o=e.charAt(n);if(o==="j"){let s=0;for(;n+1<e.length&&e.charAt(n+1)===o;)s++,n++;let i=1+(s&1),l=s<2?1:3+(s>>1),u="a",c=Vv(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;i-- >0;)r=c+r}else o==="J"?r+="H":r+=o}return r}function Vv(e){let t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}let r=e.language,n;return r!=="root"&&(n=e.maximize().region),(Rc[n||""]||Rc[r||""]||Rc[`${r}-001`]||Rc["001"])[0]}var qv=new RegExp(`^${Xh.source}*`),Lv=new RegExp(`${Xh.source}*$`);function ot(e,t){return{start:e,end:t}}var Ov=!!Object.fromEntries,Bv=!!String.prototype.trimStart,Fv=!!String.prototype.trimEnd,Wh=Ov?Object.fromEntries:function(t){let r={};for(let[n,o]of t)r[n]=o;return r},Hv=Bv?function(t){return t.trimStart()}:function(t){return t.replace(qv,"")},Wv=Fv?function(t){return t.trimEnd()}:function(t){return t.replace(Lv,"")},Gh=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");function Gv(e,t){return Gh.lastIndex=t,Gh.exec(e)[1]??""}function Kv(e){if(e.length===0)return null;let t=1,r=1;for(let n=0;n<e.length;){let o=e.charCodeAt(n);switch(o){case 35:case 39:case 60:case 123:case 125:return null}if(o===10)t++,r=1,n++;else if(r++,o>=55296&&o<=56319&&n+1<e.length){let s=e.charCodeAt(n+1);n+=s>=56320&&s<=57343?2:1}else n++}return{offset:e.length,line:t,column:r}}var Uv=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let t=Kv(this.message);if(t){let r=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:ot(r,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let n=[];for(;!this.isEOF();){let o=this.char();if(o===123){let s=this.parseArgument(e,r);if(s.err)return s;n.push(s.val)}else{if(o===125&&e>0)break;if(o===35&&(t==="plural"||t==="selectordinal")){let s=this.clonePosition();this.bump(),n.push({type:7,location:ot(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(26,ot(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ep(this.peek()||0)){let s=this.parseTag(e,t);if(s.err)return s;n.push(s.val)}else{let s=this.parseLiteral(e,t);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:ot(r,this.clonePosition())},err:null};if(this.bumpIf(">")){let o=this.parseMessage(e+1,t,!0);if(o.err)return o;let s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ep(this.char()))return this.error(23,ot(i,this.clonePosition()));let l=this.clonePosition();return n!==this.parseTagName()?this.error(26,ot(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:8,value:n,children:s,location:ot(r,this.clonePosition())},err:null}:this.error(23,ot(i,this.clonePosition())))}else return this.error(27,ot(r,this.clonePosition()))}else return this.error(23,ot(r,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Zv(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),n="";for(;;){let s=this.tryParseQuote(t);if(s){n+=s;continue}let i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}let l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}let o=ot(r,this.clonePosition());return{val:{type:0,value:n,location:o},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Xv(this.peek()||0))?(this.bump(),"<"):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let r=this.char();if(r===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(r);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return r===60||r===123||r===35&&(t==="plural"||t==="selectordinal")||r===125&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,ot(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,ot(r,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,ot(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,ot(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:ot(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,ot(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(3,ot(r,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),r=Gv(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:ot(e,this.clonePosition())}}parseArgumentOptions(e,t,r,n){let o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,i=this.clonePosition();switch(s){case"":return this.error(4,ot(o,i));case"number":case"date":case"time":{this.bumpSpace();let l=null;if(this.bumpIf(",")){this.bumpSpace();let d=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;let x=Wv(p.val);if(x.length===0)return this.error(6,ot(this.clonePosition(),this.clonePosition()));l={style:x,styleLocation:ot(d,this.clonePosition())}}let u=this.tryParseArgumentClose(n);if(u.err)return u;let c=ot(n,this.clonePosition());if(l&&l.style.startsWith("::")){let d=Hv(l.style.slice(2));if(s==="number"){let p=this.parseNumberSkeletonFromString(d,l.styleLocation);return p.err?p:{val:{type:2,value:r,location:c,style:p.val},err:null}}else{if(d.length===0)return this.error(10,c);let p=d;this.locale&&(p=_v(d,this.locale));let x={type:1,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?qh(p):{}};return{val:{type:s==="date"?3:4,value:r,location:c,style:x},err:null}}}return{val:{type:s==="number"?2:s==="date"?3:4,value:r,location:c,style:l?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,ot(l,{...l}));this.bumpSpace();let u=this.parseIdentifierIfPossible(),c=0;if(s!=="select"&&u.value==="offset"){if(!this.bumpIf(":"))return this.error(13,ot(this.clonePosition(),this.clonePosition()));this.bumpSpace();let m=this.tryParseDecimalInteger(13,14);if(m.err)return m;this.bumpSpace(),u=this.parseIdentifierIfPossible(),c=m.val}let d=this.tryParsePluralOrSelectOptions(e,s,t,u);if(d.err)return d;let p=this.tryParseArgumentClose(n);if(p.err)return p;let x=ot(n,this.clonePosition());return s==="select"?{val:{type:5,value:r,options:Wh(d.val),location:x},err:null}:{val:{type:6,value:r,options:Wh(d.val),offset:c,pluralType:s==="plural"?"cardinal":"ordinal",location:x},err:null}}default:return this.error(5,ot(o,i))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,ot(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,ot(r,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump();break}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=Lh(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Hh(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,n){let o=!1,s=[],i=new Set,{value:l,location:u}=n;for(;;){if(l.length===0){let x=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){let m=this.tryParseDecimalInteger(16,19);if(m.err)return m;u=ot(x,this.clonePosition()),l=this.message.slice(x.offset,this.offset())}else break}if(i.has(l))return this.error(t==="select"?21:20,u);l==="other"&&(o=!0),this.bumpSpace();let c=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?17:18,ot(this.clonePosition(),this.clonePosition()));let d=this.parseMessage(e+1,t,r);if(d.err)return d;let p=this.tryParseArgumentClose(c);if(p.err)return p;s.push([l,{value:d.val,location:ot(c,this.clonePosition())}]),i.add(l),this.bumpSpace(),{value:l,location:u}=this.parseIdentifierIfPossible()}return s.length===0?this.error(t==="select"?15:16,ot(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(22,ot(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let o=!1,s=0;for(;!this.isEOF();){let l=this.char();if(l>=48&&l<=57)o=!0,s=s*10+(l-48),this.bump();else break}let i=ot(n,this.clonePosition());return o?(s*=r,Number.isSafeInteger(s)?{val:s,err:null}:this.error(t,i)):this.error(e,i)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&Yv(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function ep(e){return e>=97&&e<=122||e>=65&&e<=90}function Xv(e){return ep(e)||e===47}function Zv(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Yv(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function tp(e){e.forEach(t=>{if(delete t.location,ap(t)||ip(t))for(let r in t.options)delete t.options[r].location,tp(t.options[r].value);else np(t)&&cp(t.style)||(op(t)||sp(t))&&_c(t.style)?delete t.style.location:lp(t)&&tp(t.children)})}function Zh(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let r=new Uv(e,t).parse();if(r.err){let n=SyntaxError(Rv[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||tp(r.val),r.val}var qc=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Yh=class extends qc{constructor(e,t,r,n){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",n)}},Qv=class extends qc{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},Jv=class extends qc{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function ew(e){return e.length<2?e:e.reduce((t,r)=>{let n=t[t.length-1];return!n||n.type!==0||r.type!==0?t.push(r):n.value+=r.value,t},[])}function tw(e){return typeof e=="function"}function Vc(e,t,r,n,o,s,i){if(e.length===1&&rp(e[0]))return[{type:0,value:e[0].value}];let l=[];for(let u of e){if(rp(u)){l.push({type:0,value:u.value});continue}if(Uh(u)){typeof s=="number"&&l.push({type:0,value:r.getNumberFormat(t).format(s)});continue}let{value:c}=u;if(!(o&&c in o))throw new Jv(c,i);let d=o[c];if(Kh(u)){(!d||typeof d=="string"||typeof d=="number"||typeof d=="bigint")&&(d=typeof d=="string"||typeof d=="number"||typeof d=="bigint"?String(d):""),l.push({type:typeof d=="string"?0:1,value:d});continue}if(op(u)){let p=typeof u.style=="string"?n.date[u.style]:_c(u.style)?u.style.parsedOptions:void 0;l.push({type:0,value:r.getDateTimeFormat(t,p).format(d)});continue}if(sp(u)){let p=typeof u.style=="string"?n.time[u.style]:_c(u.style)?u.style.parsedOptions:n.time.medium;l.push({type:0,value:r.getDateTimeFormat(t,p).format(d)});continue}if(np(u)){let p=typeof u.style=="string"?n.number[u.style]:cp(u.style)?u.style.parsedOptions:void 0;if(p&&p.scale){let x=p.scale||1;if(typeof d=="bigint"){if(!Number.isInteger(x))throw new TypeError(`Cannot apply fractional scale ${x} to bigint value. Scale must be an integer when formatting bigint.`);d=d*BigInt(x)}else d=d*x}l.push({type:0,value:r.getNumberFormat(t,p).format(d)});continue}if(lp(u)){let{children:p,value:x}=u,m=o[x];if(!tw(m))throw new Qv(x,"function",i);let f=m(Vc(p,t,r,n,o,s).map(g=>g.value));Array.isArray(f)||(f=[f]),l.push(...f.map(g=>({type:typeof g=="string"?0:1,value:g})))}if(ap(u)){let p=d,x=(Object.prototype.hasOwnProperty.call(u.options,p)?u.options[p]:void 0)||u.options.other;if(!x)throw new Yh(u.value,d,Object.keys(u.options),i);l.push(...Vc(x.value,t,r,n,o));continue}if(ip(u)){let p=`=${d}`,x=Object.prototype.hasOwnProperty.call(u.options,p)?u.options[p]:void 0;if(!x){if(!Intl.PluralRules)throw new qc(`Intl.PluralRules is not available in this environment.
|
|
64
64
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
65
65
|
`,"MISSING_INTL_API",i);let f=typeof d=="bigint"?Number(d):d,g=r.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));x=(Object.prototype.hasOwnProperty.call(u.options,g)?u.options[g]:void 0)||u.options.other}if(!x)throw new Yh(u.value,d,Object.keys(u.options),i);let m=typeof d=="bigint"?Number(d):d;l.push(...Vc(x.value,t,r,n,o,m-(u.offset||0)));continue}}return ew(l)}function rw(e,t){return t?{...e,...t,...Object.keys(e).reduce((r,n)=>(r[n]={...e[n],...t[n]},r),{})}:e}function nw(e,t){return t?Object.keys(e).reduce((r,n)=>(r[n]=rw(e[n],t[n]),r),{...e}):e}function up(e){return{create(){return{get(t){return e[t]},set(t,r){e[t]=r}}}}}function ow(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:Dc((...t)=>new Intl.NumberFormat(...t),{cache:up(e.number),strategy:Pc.variadic}),getDateTimeFormat:Dc((...t)=>new Intl.DateTimeFormat(...t),{cache:up(e.dateTime),strategy:Pc.variadic}),getPluralRules:Dc((...t)=>new Intl.PluralRules(...t),{cache:up(e.pluralRules),strategy:Pc.variadic})}}var Kt,sw=(Kt=class{constructor(t,r=Kt.defaultLocale,n,o){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=s=>{let i=this.formatToParts(s);if(i.length===1)return i[0].value;let l=i.reduce((u,c)=>(!u.length||c.type!==0||typeof u[u.length-1]!="string"?u.push(c.value):u[u.length-1]+=c.value,u),[]);return l.length<=1?l[0]||"":l},this.formatToParts=s=>Vc(this.ast,this.locales,this.formatters,this.formats,s,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=Kt.resolveLocale(r),typeof t=="string"){if(this.message=t,!Kt.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...s}=o||{};this.ast=Kt.__parse(t,{...s,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=nw(Kt.formats,n),this.formatters=o&&o.formatters||ow(this.formatterCache)}static get defaultLocale(){return Kt.memoizedDefaultLocale||(Kt.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),Kt.memoizedDefaultLocale}},Kt.memoizedDefaultLocale=null,Kt.resolveLocale=t=>{if(typeof Intl.Locale>"u")return;let r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},Kt.__parse=Zh,Kt.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Kt),Qh=sw;var Jh={"@pharos.pagination.label":{defaultMessage:"Pagination",description:"Aria label for the pagination navigation region."},"@pharos.pagination.previous":{defaultMessage:"Go to previous page",description:"Aria label for the previous-page button."},"@pharos.pagination.next":{defaultMessage:"Go to next page",description:"Aria label for the next-page button."},"@pharos.pagination.goToPage":{defaultMessage:"Go to page {page, number}",description:"Aria label for an individual page-number button. `page` is 1-based."},"@pharos.pagination.pageIndicators":{defaultMessage:"Page indicators",description:"Aria label for the dots-variant page-indicator group."},"@pharos.pagination.itemsPerPage":{defaultMessage:"Items per page",description:"Label for the page-size selector."},"@pharos.pagination.count":{defaultMessage:"{from, number}\u2013{to, number} of {total, number}",description:`Visible range-of-total text on a pagination bar. Example: "1\u201320 of 347"; the en-dash is translator's choice.`},"@pharos.pagination.pageOfTotal":{defaultMessage:"Page {current, number} of {total, number}",description:'Visible "Page X of Y" text on the compact pagination variant; also announced by screen readers. Keep short \u2014 sits in a compact toolbar.'},"@pharos.pagination.pageAnnounce":{defaultMessage:"Page {current, number}",description:"Screen-reader announcement when a page changes and total is unknown."},"@pharos.powersearch.editor.field":{defaultMessage:"Field",description:"Noun form-label above the field-picker dropdown in the PowerSearch filter-builder popover (which data column to filter on). Not an action."},"@pharos.powersearch.editor.operator":{defaultMessage:"Operator",description:'Noun form-label above the operator dropdown in the PowerSearch filter-builder popover. Refers to a comparison verb ("is", "contains"), not a math or phone operator.'},"@pharos.powersearch.editor.addFilter":{defaultMessage:"+ Add filter",description:'Button label inside a group in the PowerSearch filter-builder; adds another filter row (e.g. "Status = Active"). The leading "+ " is a plus-sign character.'},"@pharos.powersearch.editor.removeFilter":{defaultMessage:"Remove filter",description:'Screen-reader-only label on the "\xD7" icon button next to a filter row in the PowerSearch editor; removes that row. Imperative verb.'},"@pharos.powersearch.editor.groupOperator":{defaultMessage:"Group operator",description:'Screen-reader-only label for the AND/OR toggle that combines sibling filters inside a filter group. Sighted users see just "AND" or "OR".'},"@pharos.powersearch.editor.group":{defaultMessage:"Group",description:'Fallback noun label shown on a nested filter-group chip when no AND/OR combining operator has been chosen. Use the noun ("a cluster"), not the verb "to group".'},"@pharos.powersearch.editor.delete":{defaultMessage:"Delete",description:"Button label inside the PowerSearch filter-editor popover; deletes the currently-edited filter row. Imperative verb form."},"@pharos.powersearch.editor.cancel":{defaultMessage:"Cancel",description:"Button label inside the PowerSearch filter-editor popover; closes the popover and discards pending edits. Imperative verb form."},"@pharos.powersearch.editor.apply":{defaultMessage:"Apply",description:'Primary button label inside the PowerSearch filter-editor popover; confirms the edited filter. Imperative verb; consumers may override to "Save".'},"@pharos.powersearch.valueEditor.value":{defaultMessage:"Value",description:'Noun form-label above a single free-text/number input in the PowerSearch value editor (e.g. the "acme" in `Name contains acme`). Not a verb or "worth".'},"@pharos.powersearch.valueEditor.values":{defaultMessage:"Values",description:"Plural noun form-label above a multi-value chip input in the PowerSearch value editor. Should match its singular counterpart `Value` in your language."},"@pharos.powersearch.valueEditor.time":{defaultMessage:"Time",description:"Noun form-label above a time-of-day (HH:MM) picker in the PowerSearch value editor. Clock time, not duration or era."},"@pharos.powersearch.valueEditor.date":{defaultMessage:"Date",description:"Noun form-label above a calendar-date picker in the PowerSearch value editor. Calendar date, not romantic date or fruit."},"@pharos.powersearch.valueEditor.relativeDate":{defaultMessage:"Relative date",description:'Label for the relative-date selector (e.g. "Last 7 days") in the PowerSearch value editor.'},"@pharos.powersearch.valueEditor.startDate":{defaultMessage:"Start date",description:"Noun form-label above the start-of-range date picker in the PowerSearch value editor. Pairs with `End date` \u2014 keep the two parallel in your language."},"@pharos.powersearch.valueEditor.endDate":{defaultMessage:"End date",description:"Noun form-label above the end-of-range date picker in the PowerSearch value editor. Pairs with `Start date` \u2014 keep the two parallel."},"@pharos.powersearch.valueEditor.entities":{defaultMessage:"Entities",description:'"Entities" is jargon \u2014 plural noun form-label above an entity picker (people, teams, projects). Prefer a natural collective like "items" if your language has no equivalent.'},"@pharos.powersearch.valueEditor.searchPlaceholder":{defaultMessage:"Search\u2026",description:"Placeholder inside the search input in the PowerSearch entity/typeahead picker. Imperative verb; trailing `\u2026` is one character."},"@pharos.powersearch.valueEditor.enterValuePlaceholder":{defaultMessage:"Enter value\u2026",description:"Placeholder inside a free-text single-value input in the PowerSearch value editor. Imperative verb; trailing `\u2026` is one character."},"@pharos.powersearch.valueEditor.addValuesPlaceholder":{defaultMessage:"Add values\u2026",description:"Placeholder inside a multi-value chip input where the user types items and presses Enter to add each as a chip. Imperative verb; trailing `\u2026` is one character."},"@pharos.powersearch.valueEditor.enterNumberPlaceholder":{defaultMessage:"Enter number\u2026",description:"Placeholder inside a numeric input in the PowerSearch value editor. Imperative verb; trailing `\u2026` is one character."},"@pharos.powersearch.valueEditor.selectValuesPlaceholder":{defaultMessage:"Select values\u2026",description:"Placeholder on a dropdown for choosing values from a fixed enum list in the PowerSearch value editor. Imperative verb (user selects, not types)."},"@pharos.powersearch.operator.contains":{defaultMessage:"contains",description:"PowerSearch string operator, rendered inline as `<field> contains <value>` (e.g. `Name contains acme`). Lowercase verb form."},"@pharos.powersearch.operator.notContains":{defaultMessage:"does not contain",description:"PowerSearch negated string operator. Example: `Name does not contain test`. Lowercase; pairs with `contains`."},"@pharos.powersearch.operator.startsWith":{defaultMessage:"starts with",description:"PowerSearch string prefix operator. Example: `Email starts with admin@`. Lowercase."},"@pharos.powersearch.operator.notStartsWith":{defaultMessage:"does not start with",description:"PowerSearch negated prefix operator. Example: `Email does not start with test`. Lowercase; pairs with `starts with`."},"@pharos.powersearch.operator.endsWith":{defaultMessage:"ends with",description:"PowerSearch string suffix operator. Example: `Email ends with @meta.com`. Lowercase."},"@pharos.powersearch.operator.notEndsWith":{defaultMessage:"does not end with",description:"PowerSearch negated suffix operator. Example: `Email does not end with @gmail.com`. Lowercase; pairs with `ends with`."},"@pharos.powersearch.operator.is":{defaultMessage:"is",description:"PowerSearch equality operator for strings/enums. Example: `Status is Active`. Separate from `operator.equals` (numbers) \u2014 translations may diverge."},"@pharos.powersearch.operator.isNot":{defaultMessage:"is not",description:"PowerSearch inequality operator for strings/enums. Example: `Status is not Draft`. Pairs with `is`; separate from `operator.notEquals`."},"@pharos.powersearch.operator.equals":{defaultMessage:"is",description:'PowerSearch numeric equality operator. Example: `Age is 30`. Ships same English "is" as `operator.is` but is separate so numbers may diverge (e.g. "equals").'},"@pharos.powersearch.operator.notEquals":{defaultMessage:"is not",description:"PowerSearch numeric inequality operator. Example: `Count is not 0`. Same divergence option as `operator.equals`."},"@pharos.powersearch.operator.greaterThan":{defaultMessage:"is greater than",description:"PowerSearch numeric operator, strictly greater than. Example: `Age is greater than 18`. Lowercase."},"@pharos.powersearch.operator.lessThan":{defaultMessage:"is less than",description:"PowerSearch numeric operator, strictly less than. Example: `Priority is less than 5`. Lowercase."},"@pharos.powersearch.operator.greaterThanOrEqual":{defaultMessage:"is greater than or equal to",description:'PowerSearch numeric operator, \u2265. Example: `Age is greater than or equal to 21`. A shorter form (e.g. "\u2265") is fine if idiomatic.'},"@pharos.powersearch.operator.lessThanOrEqual":{defaultMessage:"is less than or equal to",description:"PowerSearch numeric operator, \u2264. Example: `Priority is less than or equal to 3`. A shorter form is fine if idiomatic."},"@pharos.powersearch.operator.before":{defaultMessage:"is before",description:"PowerSearch date operator, strictly earlier. Example: `Created is before 2024-01-01`. Temporal, not spatial."},"@pharos.powersearch.operator.after":{defaultMessage:"is after",description:"PowerSearch date operator, strictly later. Example: `Updated is after 2024-06-01`. Temporal."},"@pharos.powersearch.operator.between":{defaultMessage:"is between",description:"PowerSearch date operator, inclusive range. Example: `Created is between 2024-01-01 and 2024-06-30`. The `and <end>` portion is composed separately."},"@pharos.powersearch.operator.isTrue":{defaultMessage:"is true",description:"PowerSearch boolean operator: matches truthy. Example: `Is admin is true`. Pairs with `is false`; field may be affirmative or a yes/no question."},"@pharos.powersearch.operator.isFalse":{defaultMessage:"is false",description:"PowerSearch boolean operator: matches falsy. Example: `Is admin is false`. Pairs with `is true`."},"@pharos.powersearch.operator.isAnyOf":{defaultMessage:"is any of",description:"PowerSearch list operator: value is in the set. Example: `Status is any of [Active, Paused, Draft]`. The value list is composed separately; pairs with `is none of`."},"@pharos.powersearch.operator.isNoneOf":{defaultMessage:"is none of",description:"PowerSearch negated list operator: value not in the set. Example: `Status is none of [Archived, Deleted]`. Pairs with `is any of`."},"@pharos.powersearch.valueEditor.itemsCount":{defaultMessage:"{count, number} {count, plural, one {item} other {items}}",description:"Overflow summary on a compact filter chip when the list of selected items is too long. Example: `3 items` or `1 item`."},"@pharos.powersearch.valueEditor.entitiesCount":{defaultMessage:"{count, number} {count, plural, one {entity} other {entities}}",description:"Overflow summary on a compact filter chip when the list of selected entities is too long. Example: `5 entities` or `1 entity`. Pair with `itemsCount` translation."},"@pharos.powersearch.valueEditor.dateRange":{defaultMessage:"date range",description:"Fallback lowercase noun rendered inline in a filter chip when a date-range value can't be formatted (e.g. `Created is between date range`). Keep lowercase."},"@pharos.powersearch.valueEditor.filtersCount":{defaultMessage:"{count, number} {count, plural, one {filter} other {filters}}",description:"Summary inside a filter chip when the value is a nested set of filters. Example: `3 filters` or `1 filter`."},"@pharos.powersearch.resultCount":{defaultMessage:"{count, number} {count, plural, one {result} other {results}}",description:"Live result-count text next to the PowerSearch input, announced to screen readers on change. Example: `12 results`, `1 result`; keep compact."},"@pharos.alertDialog.cancel":{defaultMessage:"Cancel",description:"Button label on the secondary/dismiss button of an AlertDialog (modal confirmation). Imperative verb; consumers usually override with task-specific text."},"@pharos.appShell.mobileNavigation":{defaultMessage:"Mobile navigation",description:'Screen-reader-only accessible name for the mobile-only navigation region on small viewports. "Mobile" = phone/tablet (small screen), not "movable".'},"@pharos.avatar.nameWithStatus":{defaultMessage:"{name}, {status}",description:`Screen-reader accessible name for an Avatar showing a status indicator; composes the person's name with the status label, e.g. "Jane Doe, Online". {name} = the avatar's name/alt text, {status} = the status dot's label. Adjust separator and order per locale.`},"@pharos.avatarGroup.label":{defaultMessage:"Avatars",description:'Screen-reader-only fallback name for a horizontal cluster of user avatar images. Plural noun; consumers usually override with "Team members", "Attendees", etc.'},"@pharos.avatarGroup.keyboardHint":{defaultMessage:"Use arrow keys to move between avatars",description:"Screen-reader-only instruction attached (via aria-describedby) to a group of interactive avatars that share a single Tab stop. Tells keyboard users the Left/Right arrow keys move focus between the avatars. Only announced when the group has interactive (link/button) avatars."},"@pharos.banner.dismiss":{defaultMessage:"Dismiss",description:'"Dismiss" = close/hide this notification (not "reject a person"). Aria label AND tooltip on the small X button on a Banner.'},"@pharos.calendar.previousMonth":{defaultMessage:"Previous month",description:"Screen-reader-only label on the left-arrow button in a Calendar's month header (navigates one month back). Pairs with `calendar.nextMonth`."},"@pharos.calendar.nextMonth":{defaultMessage:"Next month",description:"Screen-reader-only label on the right-arrow button in a Calendar's month header (navigates one month forward). Pairs with `calendar.previousMonth`."},"@pharos.calendar.daySelected":{defaultMessage:"{date}, selected",description:'Accessible name for the Calendar day button that is the current single-mode selection. `{date}` is the localized full date, e.g. "Thursday, January 15, 2026". The trailing state word tells screen-reader users the focused day is selected.'},"@pharos.calendar.dayRangeStart":{defaultMessage:"{date}, range start",description:"Accessible name for the Calendar day button that begins the selected date range (or the first pick of an in-progress range). `{date}` is the localized full date."},"@pharos.calendar.dayRangeEnd":{defaultMessage:"{date}, range end",description:"Accessible name for the Calendar day button that ends the selected date range. `{date}` is the localized full date. Pairs with `calendar.dayRangeStart`."},"@pharos.calendar.dayRangeStartAndEnd":{defaultMessage:"{date}, range start and range end",description:"Accessible name for a Calendar day button that both begins and ends a completed one-day range. `{date}` is the localized full date."},"@pharos.calendar.dayInRange":{defaultMessage:"{date}, in range",description:"Accessible name for a Calendar day button strictly inside the selected date range (not an endpoint). `{date}` is the localized full date."},"@pharos.calendar.rangeStartAnnounce":{defaultMessage:"Start date {date}. Select an end date.",description:"Screen-reader announcement after the first pick of a Calendar range selection. `{date}` is the localized full date. Prompts the user that a second pick completes the range."},"@pharos.calendar.rangeCompleteAnnounce":{defaultMessage:"Selected range: {start} to {end}.",description:"Screen-reader announcement after the second pick completes a Calendar range selection. `{start}` and `{end}` are localized full dates in chronological order."},"@pharos.carousel.label":{defaultMessage:"Carousel",description:'Screen-reader-only fallback name for a horizontally-scrolling row of items. If "carousel" is unfamiliar in your locale, prefer the standard term (e.g. "slider").'},"@pharos.carousel.scrollLeft":{defaultMessage:"Scroll left",description:"Screen-reader-only label on the left arrow button in a Carousel. Pairs with `carousel.scrollRight`; in RTL locales, coordinate the two so left/right match layout."},"@pharos.carousel.scrollRight":{defaultMessage:"Scroll right",description:"Screen-reader-only label on the right arrow button in a Carousel. Pairs with `carousel.scrollLeft`; same RTL note."},"@pharos.carousel.slideLabel":{defaultMessage:"Slide {current, number} of {total, number}",description:"Screen-reader accessible name for one slide in a Carousel, giving its position. `current` is the 1-based slide number; `total` is the slide count."},"@pharos.chat.status.sending":{defaultMessage:"Sending",description:"Chat send-status caption under an outgoing message while it is being transmitted. Part of the set sending \u2192 sent \u2192 delivered \u2192 read (or failed) \u2014 keep tense/aspect consistent."},"@pharos.chat.status.sent":{defaultMessage:"Sent",description:"Chat send-status caption shown once the message reaches the server. Part of the set sending \u2192 **sent** \u2192 delivered \u2192 read (or failed) \u2014 keep tense consistent."},"@pharos.chat.status.delivered":{defaultMessage:"Delivered",description:"Chat send-status caption shown once the recipient's device received the message. Part of the set sending \u2192 sent \u2192 **delivered** \u2192 read (or failed)."},"@pharos.chat.status.read":{defaultMessage:"Read",description:'Chat send-status caption shown once the recipient opened the message. English past-participle ("has been read", /r\u025Bd/), not the present verb \u2014 part of the set sending \u2192 sent \u2192 delivered \u2192 **read**.'},"@pharos.chat.status.failed":{defaultMessage:"Failed",description:"Chat send-status caption shown when the send attempt errored. Part of the set \u2014 the terminal failure branch, orthogonal to the sent \u2192 delivered \u2192 read success track."},"@pharos.chat.messageAriaLabel":{defaultMessage:"Message {status}",description:"Screen-reader-only accessible name for a chat message row. `{status}` interpolates the localized status word (e.g. `Message sent`, `Message delivered`) \u2014 reorder if needed."},"@pharos.chat.pastedText.expand":{defaultMessage:"Expand",description:'Button label on a chip in the chat composer representing a long pasted text block; clicking reveals full content. "Expand" here means reveal more, not grow physically.'},"@pharos.checkboxList.item.checkbox":{defaultMessage:"Checkbox",description:"Screen-reader-only last-ditch fallback name for a checkbox inside a list item when no label is provided. Should almost never render \u2014 consumers should supply a real label."},"@pharos.commandPalette.emptySearch":{defaultMessage:"No results",description:"Fallback empty-state text inside a CommandPalette when the user's query has no matches. Very short (2 words); neutral tone."},"@pharos.commandPalette.emptyBootstrap":{defaultMessage:"Type to search",description:"Onboarding empty-state text shown inside a CommandPalette on first open, before the user has typed anything. Imperative sentence fragment."},"@pharos.commandPalette.resultCount":{defaultMessage:"{count, number} {count, plural, one {result} other {results}}",description:"Screen-reader-only announcement of how many commands match the CommandPalette query as the user types. Example: `12 results`, `1 result`; keep compact."},"@pharos.commandPalette.noResultsFor":{defaultMessage:"No results for {query}",description:"Screen-reader-only announcement when a CommandPalette query matches nothing. `{query}` is the user's verbatim search text; keep it last if your language allows so truncation-by-AT still conveys the outcome."},"@pharos.commandPalette.loading":{defaultMessage:"Loading",description:"Screen-reader-only announcement that a CommandPalette search has started and results are being fetched. Present-progressive form; matches the visible spinner."},"@pharos.dateRangeInput.presetDateRanges":{defaultMessage:"Preset date ranges",description:'Screen-reader-only accessible name for the sidebar of quick-pick preset ranges inside a DateRangeInput popover (e.g. "Last 7 days", "This month").'},"@pharos.dateTimeInput.timePlaceholder":{defaultMessage:"Select a time",description:'Grey placeholder inside the empty time-of-day slot in a DateTimeInput. "Time" = clock time (HH:MM), not duration.'},"@pharos.dialog.close":{defaultMessage:"Close",description:'"Close" = shut/dismiss the dialog, not "nearby" (English homograph). Aria label AND tooltip on the X at the top-right of a Dialog.'},"@pharos.dropdownMenu.label":{defaultMessage:"Menu",description:'Screen-reader-only fallback name for a dropdown menu popover. Very generic; consumers usually override. Noun ("a menu"), not the imperative.'},"@pharos.lightbox.close":{defaultMessage:"Close",description:'"Close" = shut/dismiss (not "nearby"). Screen-reader-only label on the X button that dismisses a Lightbox.'},"@pharos.lightbox.previous":{defaultMessage:"Previous",description:"Screen-reader-only label on the left-arrow button in a Lightbox (navigates to previous media item). Pairs with `lightbox.next`."},"@pharos.lightbox.next":{defaultMessage:"Next",description:"Screen-reader-only label on the right-arrow button in a Lightbox (navigates to next media item). Pairs with `lightbox.previous`."},"@pharos.markdown.taskList":{defaultMessage:"Task list",description:"Screen-reader-only accessible name for a GitHub-flavored Markdown task list (rendered from `- [ ] item` / `- [x] done` syntax)."},"@pharos.markdown.table":{defaultMessage:"Table",description:'Screen-reader-only accessible name for a table rendered inside a Markdown block. Noun ("a table"), not the verb. Separate from `@pharos.table.label` \u2014 translations may diverge.'},"@pharos.mobileNav.closeNavigation":{defaultMessage:"Close navigation",description:"Screen-reader-only label on the X/close button that dismisses the MobileNav overlay. Pairs with `mobileNav.toggle.open`."},"@pharos.multiSelector.selectAll":{defaultMessage:"Select all",description:'Label on the checkbox/toggle at the top of a MultiSelector dropdown that selects every option. "All" is a determiner here (as in "all the options"), not the pronoun.'},"@pharos.multiSelector.searchPlaceholder":{defaultMessage:"Search\u2026",description:"Placeholder inside the search input at the top of a MultiSelector's dropdown panel. Imperative verb; trailing `\u2026` is one character."},"@pharos.multiSelector.searchOptions":{defaultMessage:"Search options",description:"Screen-reader-only accessible name for that same search input inside a MultiSelector."},"@pharos.popover.close":{defaultMessage:"Close popover",description:'"Close" = shut/dismiss, not "nearby". Screen-reader-only label on the close button inside a Popover.'},"@pharos.selector.searchPlaceholder":{defaultMessage:"Search\u2026",description:"Placeholder inside the search input at the top of a Selector's dropdown panel (for filtering options). Imperative verb; trailing `\u2026` is one character."},"@pharos.selector.searchOptions":{defaultMessage:"Search options",description:'"Options" = the list of choices in the dropdown. Screen-reader-only accessible name for the search input inside a Selector.'},"@pharos.sideNav.label":{defaultMessage:"Side navigation",description:"Screen-reader-only accessible name for the primary vertical sidebar nav (usually on the left)."},"@pharos.sideNav.resizeSidebar":{defaultMessage:"Resize sidebar",description:"Screen-reader-only label on the vertical drag handle at the right edge of the SideNav that lets the user resize the sidebar's width."},"@pharos.sideNav.heading.openMenu":{defaultMessage:"Open menu",description:"Screen-reader-only label on the `\u22EF` overflow-menu button embedded in a SideNav section heading. Same string as `topNav.heading.openMenu` \u2014 translations may share."},"@pharos.tabList.label":{defaultMessage:"Tabs",description:'Screen-reader-only fallback name for a horizontal tab bar. Plural noun; "Tabs" here = UI tab panels, not browser tabs or the Tab key.'},"@pharos.table.label":{defaultMessage:"Table",description:'Fallback screen-reader-only accessible name for a data-table region when the consumer provides none. Noun ("a table"), not the verb "to table".'},"@pharos.table.noData":{defaultMessage:"No data",description:'Fallback empty-state text in the table body when there are zero rows. Neutral tone (not error-y); consumers commonly override with something specific like "No results".'},"@pharos.table.filter.allPlaceholder":{defaultMessage:"All",description:'Placeholder on a per-column filter dropdown when nothing is selected, meaning "no filter \u2014 all rows match". Determiner form (as in "all values"), not the pronoun.'},"@pharos.table.filter.reset":{defaultMessage:"Reset",description:"Button label inside a table's filter panel/popover; clears pending filter values back to defaults. Imperative verb."},"@pharos.table.filter.apply":{defaultMessage:"Apply",description:"Primary button label inside a table's filter panel/popover; commits pending filter values. Imperative verb; pairs with `Reset`."},"@pharos.table.selection.selectAllRows":{defaultMessage:"Select all rows",description:'Aria label for the "select all rows" checkbox in a Table header.'},"@pharos.table.selection.selectRow":{defaultMessage:"Select row",description:'Aria label for the "select row" checkbox on a Table row.'},"@pharos.table.selection.selectRowNamed":{defaultMessage:"Select {label}",description:"Aria label for a Table row's selection checkbox when a per-row label is available (via getRowLabel). `label` is the row's human-readable identity, e.g. \"Alice\"."},"@pharos.table.sort.ascending":{defaultMessage:"Sort ascending",description:"Screen-reader-only label on a column header button that will sort the column ascending. Part of a set with `sort.descending` and `sort.clear` \u2014 keep parallel."},"@pharos.table.sort.descending":{defaultMessage:"Sort descending",description:"Screen-reader-only label on a column header button that will sort the column descending. Part of a set with `sort.ascending` and `sort.clear`."},"@pharos.table.sort.clear":{defaultMessage:"Clear sort",description:'Screen-reader-only label on a column header button that will remove the current sort. "Clear" here means remove, not transparent. Part of the sort set.'},"@pharos.table.sort.direction.ascending":{defaultMessage:"ascending",description:"Localized direction word interpolated as `direction` into @pharos.table.sort.sortedBy and @pharos.table.sort.sortedByWithPriority."},"@pharos.table.sort.direction.descending":{defaultMessage:"descending",description:"Localized direction word interpolated as `direction` into @pharos.table.sort.sortedBy and @pharos.table.sort.sortedByWithPriority."},"@pharos.table.sort.sortBy":{defaultMessage:"Sort by {label}",description:"Aria label for a sortable Table header button when the column is unsorted. `label` is the column header text."},"@pharos.table.sort.sortedBy":{defaultMessage:"Sort by {label}, sorted {direction}",description:"Aria label for a sorted Table header button. `direction` is the localized direction word from @pharos.table.sort.direction.*."},"@pharos.table.sort.sortedByWithPriority":{defaultMessage:"Sort by {label}, sorted {direction}, priority {rank, number} of {total, number}",description:"Aria label for a sorted Table header button in multi-sort. `rank` is the 1-based position of this column in the sort order; `total` is the number of sorted columns."},"@pharos.toast.dismiss":{defaultMessage:"Dismiss notification",description:"Screen-reader-only label on the X button of a Toast (transient notification popup). Distinct from `banner.dismiss` (persistent banner)."},"@pharos.toast.viewport":{defaultMessage:"Notifications",description:"Screen-reader-only accessible name for the invisible landmark region hosting the stack of Toast popups (usually pinned to a screen corner)."},"@pharos.tokenizer.clearAll":{defaultMessage:"Clear all",description:'Label on the "\xD7" button that removes every token/chip from a Tokenizer input. Imperative verb + determiner "all"; short.'},"@pharos.topNav.heading.openMenu":{defaultMessage:"Open menu",description:"Screen-reader-only label on the `\u22EF` overflow button in a TopNav section heading. Kept separate from `sideNav.heading.openMenu` so translations may diverge."},"@pharos.topNav.landmarkLabel":{defaultMessage:"Top navigation",description:"Default accessible name (aria-label) for the <nav> landmark rendered by TopNav when no label is provided."},"@pharos.treeList.toggleChildren":{defaultMessage:"Toggle children",description:'"Children" = child nodes in the tree, not human children. Screen-reader-only label on the chevron next to a TreeList item that has children \u2014 toggles the sub-list.'},"@pharos.typeahead.emptySearchResults":{defaultMessage:"No results found",description:"Fallback empty-state message inside a Typeahead's suggestion popover when the current query has no matches. Neutral tone (not error-y)."},"@pharos.typeahead.loading":{defaultMessage:"Loading",description:"Screen-reader-only name for a spinner shown inside a Typeahead dropdown while suggestions are being fetched. Present-progressive form."},"@pharos.typeahead.searchResults":{defaultMessage:"Search results",description:"Screen-reader-only accessible name for the list of suggestions inside a Typeahead dropdown."},"@pharos.typeahead.clearSelection":{defaultMessage:"Clear selection",description:'"Selection" = the chosen value (not highlighted text). Screen-reader-only label on the X that clears the currently-selected value from a Typeahead.'},"@pharos.breadcrumbs.label":{defaultMessage:"Breadcrumb",description:"Screen-reader-only fallback name for the breadcrumb trail (e.g. `Home > Section > Page`). Singular in English per ARIA convention; plural is fine if natural in your locale."},"@pharos.chat.composer.placeholder":{defaultMessage:"Type a message\u2026",description:"Grey placeholder text inside the empty chat composer textarea. Imperative verb; trailing `\u2026` is one character."},"@pharos.chat.composerDrawer.label":{defaultMessage:"Items",description:'Fallback aria label for the ChatComposerDrawer \u2014 a horizontal list of attachment/tool chips. Consumers usually override with "Attachments", "Tools", etc.'},"@pharos.chat.composerInput.label":{defaultMessage:"Message input",description:'Screen-reader-only accessible name for the chat composer textarea. Reorder freely if your language uses one word for "message field".'},"@pharos.chat.speechRecognition.noSpeechDetected":{defaultMessage:"No speech was detected.",description:"Full-sentence error shown inline in the chat composer after voice input captured silence. Soft-error tone (not alarming); keep terminal period."},"@pharos.commandPalette.label":{defaultMessage:"Command palette",description:'Screen-reader-only fallback name for a keyboard-driven command menu (usually opened with Cmd/Ctrl-K). If unfamiliar, prefer a natural equivalent like "quick actions".'},"@pharos.commandPalette.input.placeholder":{defaultMessage:"Search\u2026",description:"Grey placeholder inside the CommandPalette's search input. Imperative verb; trailing `\u2026` is one character."},"@pharos.commandPalette.list.label":{defaultMessage:"Commands",description:'"Command" = an app action a user can invoke (metaphor from CLI), not a Unix command. Screen-reader-only name for the matching-commands list.'},"@pharos.contextMenu.label":{defaultMessage:"Context menu",description:'Screen-reader-only fallback name for the right-click / long-press popup menu. "Context" = context-specific to the activated element, not linguistic context.'},"@pharos.dateInput.placeholder":{defaultMessage:"Select a date",description:'Grey placeholder inside an empty DateInput field. "Date" = calendar date, not romantic or fruit. Imperative verb.'},"@pharos.dateInput.dialogLabel":{defaultMessage:"Choose date",description:"Screen-reader-only accessible name for the popover dialog opened from a DateInput's calendar toggle. Imperative verb + noun."},"@pharos.dateInput.closeCalendar":{defaultMessage:"Close calendar",description:"Screen-reader-only label on the X inside the DateInput calendar popover (dismisses the popover). Distinct from `dateInput.toggleCalendarClose`, which labels the outer toggle."},"@pharos.dateInput.openCalendar":{defaultMessage:"Open calendar",description:"Aria label for the DateInput / DateRangeInput / DateTimeInput calendar toggle button when the popover is closed."},"@pharos.dateInput.toggleCalendarClose":{defaultMessage:"Close calendar",description:"Aria label for the DateInput / DateRangeInput / DateTimeInput calendar toggle button when the popover is open. Distinct from closeCalendar (which labels the X inside the popover) so translators can differentiate the toggle vs the close-X UI."},"@pharos.dateInput.clear":{defaultMessage:"Clear {label}",description:"Aria label for the clear-value button in DateInput / DateRangeInput / DateTimeInput. `{label}` is the field's own label so screen readers announce e.g. 'Clear Start date'."},"@pharos.dateTimeInput.timeSuffix":{defaultMessage:"{label} time",description:'Screen-reader-only accessible name for the time-of-day slot in a DateTimeInput. Example: `Start date time`; reorder freely (e.g. "time of {label}").'},"@pharos.dateRangeInput.placeholder":{defaultMessage:"Select date range",description:"Grey placeholder inside an empty DateRangeInput field. Represents picking a start\u2013end date pair. Imperative verb."},"@pharos.dateRangeInput.dialogLabel":{defaultMessage:"Choose date range",description:"Screen-reader-only accessible name for the popover dialog opened from a DateRangeInput. Imperative verb + noun phrase."},"@pharos.dateTimeInput.placeholder":{defaultMessage:"Select a date",description:'Grey placeholder inside an empty DateTimeInput field. Note: the English says only "date" though the field is date+time \u2014 do not add "and time" unless natural.'},"@pharos.dateTimeInput.dialogLabel":{defaultMessage:"Choose date",description:`Screen-reader-only accessible name for the DateTimeInput picker dialog. Same English-only "date" phrasing as the placeholder \u2014 don't add "and time" unless natural.`},"@pharos.link.newTab":{defaultMessage:"(opens in new tab)",description:"Visually-hidden (screen-reader-only) suffix appended to a Link's accessible name when it opens in a new tab. Example: `Documentation (opens in new tab)`."},"@pharos.mobileNav.toggle.open":{defaultMessage:"Open navigation",description:"Screen-reader-only label on the hamburger button that opens the MobileNav overlay (rendered when the overlay is closed). Pairs with `mobileNav.closeNavigation`."},"@pharos.moreMenu.label":{defaultMessage:"More options",description:"Screen-reader-only name for the small `\u22EF` (three-dots) overflow button that opens a menu of additional actions. Very short \u2014 sits on a tiny icon button."},"@pharos.multiSelector.selectPlaceholder":{defaultMessage:"Select\u2026",description:'Placeholder on an empty MultiSelector trigger button. Same English as `selector.placeholder` but a separate key \u2014 plural phrasing like "Choose items\u2026" is fine.'},"@pharos.outline.label":{defaultMessage:"Table of contents",description:"Screen-reader-only fallback name for a page's outline / table-of-contents sidebar (list of in-page headings). Rendered as `aria-label` on a `<nav>` landmark."},"@pharos.powersearch.label":{defaultMessage:"Search",description:"Screen-reader-only accessible name for the PowerSearch input (a filter-builder). The visible placeholder is separate; noun form often reads better than the verb."},"@pharos.powersearch.placeholder":{defaultMessage:"Search\u2026",description:"Grey placeholder text inside the empty PowerSearch input. Imperative verb; trailing `\u2026` is one character."},"@pharos.resizable.handle.label":{defaultMessage:"Resize handle",description:"Screen-reader-only accessible name for the small draggable divider between two Resizable panels (users drag it to change the split ratio)."},"@pharos.selector.placeholder":{defaultMessage:"Select\u2026",description:"Placeholder text on an empty Selector trigger button (a dropdown). Imperative verb; trailing `\u2026` is one character. Very short \u2014 appears on the button face."},"@pharos.sideNav.heading.dialogLabel":{defaultMessage:"Navigation menu",description:"Screen-reader-only accessible name for the dropdown dialog opened from a SideNavHeading's overflow menu."},"@pharos.table.pagination.label":{defaultMessage:"Table pagination",description:"Screen-reader-only accessible name for the pagination `<nav>` appended below a data table. Kept separate from `@pharos.pagination.label` so translations may diverge."},"@pharos.timeInput.placeholder":{defaultMessage:"Select a time",description:'"Time" = clock time (HH:MM), not duration or era. Grey placeholder inside an empty TimeInput field; imperative verb.'},"@pharos.topNav.heading.dialogLabel":{defaultMessage:"Navigation menu",description:"Screen-reader-only accessible name for the dropdown dialog opened from a TopNavHeading's overflow menu. Kept separate from the SideNav sibling."},"@pharos.typeahead.searchPlaceholder":{defaultMessage:"Search\u2026",description:"Placeholder inside an empty Typeahead input (a search field that suggests results as the user types). Imperative verb; trailing `\u2026` is one character."},"@pharos.banner.collapse":{defaultMessage:"Collapse",description:'"Collapse" = fold up, not crumble. Aria label AND tooltip on the Banner expand/collapse toggle when currently expanded. Pairs with `banner.expand`.'},"@pharos.banner.expand":{defaultMessage:"Expand",description:'"Expand" = reveal more, not grow physically. Aria label AND tooltip on the same toggle when currently collapsed. Pairs with `banner.collapse`.'},"@pharos.chatComposerDrawer.expand":{defaultMessage:"Expand {label}",description:"Screen-reader-only label on the ChatComposerDrawer toggle when the drawer is collapsed. `{label}` is the drawer's visible name \u2014 example: `Expand Attachments`. Pairs with `collapse`."},"@pharos.chatComposerDrawer.collapse":{defaultMessage:"Collapse {label}",description:"Screen-reader-only label on the ChatComposerDrawer toggle when the drawer is expanded. Example: `Collapse Attachments`. Pairs with `expand`."},"@pharos.chatDictationButton.startDictation":{defaultMessage:"Start dictation",description:"Accessible label for the microphone button when idle (not listening)."},"@pharos.chatDictationButton.stopDictation":{defaultMessage:"Stop dictation",description:"Accessible label for the microphone button when actively listening."},"@pharos.chatLayout.newMessages":{defaultMessage:"New messages",description:"Text on a floating pill at the bottom of a chat viewport when unseen messages arrive below the fold; clicking scrolls to bottom. Keep short \u2014 narrow pill."},"@pharos.chatLayoutScrollButton.scrollToBottom":{defaultMessage:"Scroll to bottom",description:"Visible tooltip AND screen-reader label for a small down-arrow button that scrolls the chat viewport to its latest message."},"@pharos.chatMessage.messageFrom":{defaultMessage:"Message from {sender}",description:"Screen-reader-only accessible name for a chat message when the sender name isn't visible. Example: `Message from Sarah`, `Message from Bot` \u2014 reorder freely."},"@pharos.chatSendButton.stop":{defaultMessage:"Stop",description:"Button label that replaces `Send` on the chat send button while an AI response is streaming; clicking aborts generation. Short \u2014 appears on a small button."},"@pharos.chatSendButton.send":{defaultMessage:"Send",description:"Primary button label on the chat submit button (paperplane icon). Imperative verb; pairs with `Stop`. Very short."},"@pharos.chatToolCalls.error":{defaultMessage:"Error: {message}",description:"Screen-reader text for a tool call that failed. {message} is the error detail."},"@pharos.chatToolCalls.groupLabel":{defaultMessage:"{count} tool calls",description:"Summary label shown in the group header when multiple tool calls are expanded. {count} is the number of calls."},"@pharos.chatTriggerMenu.suggestions":{defaultMessage:"Suggestions",description:"Screen-reader-only fallback label for the popover listbox opened by a trigger character (`@`, `/`) in the chat composer when the trigger provides no specific label."},"@pharos.citation.label":{defaultMessage:"Citation {number}: {title}",description:"Screen-reader-only accessible name for a Citation chip (a small numbered link to a source). Example: `Citation 1: OpenAI research paper`. Reorder freely."},"@pharos.codeBlock.copied":{defaultMessage:"Copied",description:'Screen-reader-only label on the CodeBlock copy button for ~2s after a successful copy. Past-participle ("has been copied"); pairs with `codeBlock.copyCode`.'},"@pharos.codeBlock.copyCode":{defaultMessage:"Copy code",description:'"Code" = source code. Aria label AND tooltip on the CodeBlock copy button in its default state. Pairs with `codeBlock.copied` (post-click state).'},"@pharos.codeBlock.code":{defaultMessage:"Code",description:`Screen-reader-only fallback name for a code-snippet scroll container when the code's language is unknown. "Code" = source code, not secret code or code of conduct.`},"@pharos.fileInput.clearLabel":{defaultMessage:"Clear {label}",description:"Screen-reader-only label on the X that removes the selected file from a FileInput. Example: `Clear Attachment`, `Clear R\xE9sum\xE9`."},"@pharos.fileInput.required":{defaultMessage:"Required",description:'Screen-reader-only description on the FileInput trigger indicating the field must be filled in. Mirrors the visible `Required` indicator next to the field label; conveyed via description because aria-required is not supported on role="button".'},"@pharos.fileInput.triggerWithFiles":{defaultMessage:"{label}, {fileNames}",description:"Accessible name for a FileInput trigger that has files attached, composing the field label with the selected filenames. Example: `Attachments, report.pdf, notes.txt`."},"@pharos.lightbox.mediaViewer":{defaultMessage:"Media viewer",description:"Screen-reader-only fallback name for the Lightbox dialog when the current media item has no alt text. Should rarely render \u2014 consumers should provide alt."},"@pharos.mobileNav.navigation":{defaultMessage:"Navigation",description:"Screen-reader-only fallback name for the MobileNav overlay dialog when no explicit label was passed."},"@pharos.multiSelector.clearAll":{defaultMessage:"Clear all {label}",description:"Screen-reader-only label on the X that clears every selected value from a MultiSelector. Example: `Clear all Countries`. `{label}` is typically already plural in English."},"@pharos.input.statusButton.error":{defaultMessage:"Error details",description:"Accessible name for the focusable status icon button inside an input when statusVariant is 'tooltip' and the status type is error. Activating or focusing the button reveals the error message in a tooltip. Keep it short \u2014 it labels an icon-only button."},"@pharos.input.statusButton.warning":{defaultMessage:"Warning details",description:"Accessible name for the focusable status icon button inside an input when statusVariant is 'tooltip' and the status type is warning. Activating or focusing the button reveals the warning message in a tooltip."},"@pharos.input.statusButton.success":{defaultMessage:"Success details",description:"Accessible name for the focusable status icon button inside an input when statusVariant is 'tooltip' and the status type is success. Activating or focusing the button reveals the success message in a tooltip."},"@pharos.numberInput.clearLabel":{defaultMessage:"Clear {label}",description:"Screen-reader-only label on the X that clears the value from a NumberInput. Example: `Clear Age`, `Clear Quantity`."},"@pharos.selector.clearLabel":{defaultMessage:"Clear {label}",description:"Screen-reader-only label on the X that clears the selected value from a Selector. `{label}` is the selector's visible label \u2014 example: `Clear Country`."},"@pharos.sideNavCollapseButton.expandSidebar":{defaultMessage:"Expand sidebar",description:"Aria label AND tooltip on the SideNav collapse/expand toggle when the sidebar is currently collapsed (clicking expands it). Pairs with `collapseSidebar`."},"@pharos.sideNavCollapseButton.collapseSidebar":{defaultMessage:"Collapse sidebar",description:"Aria label AND tooltip on the same toggle when the sidebar is currently expanded (clicking collapses it). Pairs with `expandSidebar`."},"@pharos.sideNavItem.expand":{defaultMessage:"Expand {label}",description:"Screen-reader-only label on the chevron next to a SideNav item with children when the group is collapsed. Example: `Expand Settings`. Pairs with `sideNavItem.collapse`."},"@pharos.sideNavItem.collapse":{defaultMessage:"Collapse {label}",description:"Screen-reader-only label on the same chevron when the group is expanded. Example: `Collapse Settings`. Pairs with `sideNavItem.expand`."},"@pharos.tableFiltering.filterByColumn":{defaultMessage:"Filter {header}",description:"Triple-use string on per-column filter controls: visible label, placeholder, AND aria label. `{header}` is the column header \u2014 example: `Filter Name`. Keep short."},"@pharos.tableGroupedRows.expandGroup":{defaultMessage:"Expand group {groupKey}",description:"Screen-reader-only label on the chevron next to a grouped table's group header when collapsed. Example: `Expand group Q1 2024`. Pairs with `collapseGroup`."},"@pharos.tableGroupedRows.collapseGroup":{defaultMessage:"Collapse group {groupKey}",description:"Screen-reader-only label on the same chevron when the group is expanded. Example: `Collapse group Q1 2024`. Pairs with `expandGroup`."},"@pharos.tableRowExpansion.collapseRow":{defaultMessage:"Collapse row",description:"Screen-reader-only label on the row-expand chevron when the row is currently expanded. Part of the four-way expand/collapse set."},"@pharos.tableRowExpansion.expandRow":{defaultMessage:"Expand row",description:"Screen-reader-only label on the row-expand chevron when the row is currently collapsed. Part of a four-way set with `collapseRow`, `expandAllRows`, `collapseAllRows`."},"@pharos.tableRowExpansion.collapseAllRows":{defaultMessage:"Collapse all rows",description:"Screen-reader-only label on the same header button when every row is expanded. Part of the four-way set."},"@pharos.tableRowExpansion.expandAllRows":{defaultMessage:"Expand all rows",description:"Screen-reader-only label on the header expand-all/collapse-all button when at least one row is collapsed (clicking expands every expandable row). Part of the four-way set."},"@pharos.tableTree.collapseRow":{defaultMessage:"Collapse row",description:"Aria label for the Table tree-data expander chevron when the row is currently expanded."},"@pharos.tableTree.expandRow":{defaultMessage:"Expand row",description:"Aria label for the Table tree-data expander chevron when the row is currently collapsed."},"@pharos.tableTree.collapseAllRows":{defaultMessage:"Collapse all rows",description:"Aria label for the Table tree-data header toggle when all rows are expanded and clicking it collapses them."},"@pharos.tableTree.expandAllRows":{defaultMessage:"Expand all rows",description:"Aria label for the Table tree-data header toggle when rows are collapsed and clicking it expands them."},"@pharos.textInput.clearLabel":{defaultMessage:"Clear {label}",description:"Screen-reader-only label on the X that clears the value from a TextInput. Example: `Clear Email`, `Clear Name`."},"@pharos.thumbnail.remove":{defaultMessage:"Remove {accessibleName}",description:'Screen-reader-only label on the "\xD7" on a Thumbnail (image preview chip). `{accessibleName}` is the thumbnail\'s name \u2014 example: `Remove profile.jpg`.'},"@pharos.thumbnail.open":{defaultMessage:"Open {accessibleName}",description:'"Open" = launch/reveal (not "unfold" or the adjective). Screen-reader-only name on a clickable Thumbnail \u2014 example: `Open Sunset photo`.'},"@pharos.thumbnail.fallbackName":{defaultMessage:"Thumbnail",description:"Generic screen-reader name for a Thumbnail (image preview) that has no `alt` or `label`. Last-resort fallback so the control is never nameless; prefer a real name via `alt` or `label`."},"@pharos.timeInput.clearLabel":{defaultMessage:"Clear {label}",description:"Screen-reader-only label on the X that clears the value from a TimeInput. Example: `Clear Start time`."},"@pharos.token.remove":{defaultMessage:"Remove {label}",description:'Screen-reader-only label on the "\xD7" on an individual Token/chip. Example: `Remove John Smith`, `Remove Active`. Imperative verb.'}};var iw=Jh,eg=new Map;function lw(e,t){let r=`${t}::${e}`,n=eg.get(r);return n===void 0&&(n=new Qh(e,t),eg.set(r,n)),n}function cw(e){let t;try{t=new Intl.Locale(e).baseName}catch{t=e}let r=t.split("-"),n=[];for(let o=r.length;o>0;o--)n.push(r.slice(0,o).join("-"));return n}function uw(e,t,r,n){let o=cw(t);if(n!==void 0)for(let i of o){let l=n[i]?.[e];if(l!==void 0)return l}for(let i of o){let l=r[i]?.[e];if(l!==void 0)return l.defaultMessage}let s=iw[e];return s!==void 0?s.defaultMessage:null}function tg(e,t,r,n,o){let s=uw(e,r,n,o);return s===null?(so(`pharos-i18n:${r}::${e}`,"pharos-i18n",`missing key: ${e} (locale: ${r})`),e):t===void 0?s:lw(s,r).format(t)}function te(){let e=je(Dn);return y((t,r)=>tg(t,r,e.locale,e.messages,e.overrides),[e.locale,e.messages,e.overrides])}K();function Lc(){return je(Dn).direction}Y();function qo({ref:e,children:t,label:r,"data-testid":n,xstyle:o,className:s,style:i}){let l=te(),u=r??l("@pharos.mobileNav.toggle.open"),{isMobile:c,isMobileNavEnabled:d,isMobileNavOpen:p,mobileNavId:x,toggleMobileNav:m}=qt();return!c||!d?null:a(Ve,{ref:e,variant:"ghost",label:u,icon:t??a(he,{icon:"menu",color:"inherit"}),onClick:m,"aria-expanded":p,"aria-controls":x||void 0,"data-testid":n??"mobile-nav-toggle",xstyle:o,className:s,style:i,isIconOnly:!0})}qo.displayName="MobileNavToggle";K();var Pn=Ne("default");Pn.displayName="SideNavRenderContext";function Zs(){return je(Pn)}K();var Lo=Ne("default");Lo.displayName="TopNavRenderContext";function Dr(){return je(Lo)}K();var fi=Ne(null);fi.displayName="TopNavMobileContentContext";function rg(){return je(fi)}ie();Y();var dw=typeof Ha.Activity<"u",pw=dw?({mode:e,children:t})=>a(Ha.Activity,{mode:e,children:t}):({children:e})=>a(se,{children:e}),xw={sm:640,md:768,lg:1024,none:0},ng="pharos-app-shell-main",Ut={root:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf",kVAEAm:"x1n2onr6",$$css:!0},variantWash:{kWkggS:"x1eiddq6",$$css:!0},variantSurface:{kWkggS:"x10xzikg",$$css:!0},variantSection:{kWkggS:"x10xzikg",$$css:!0},variantElevated:{kWkggS:"x1eiddq6",$$css:!0},rootFill:{kZKoxP:"xtdtrs8",$$css:!0},rootAuto:{kAzted:"x1ov3xa9",$$css:!0},contentBgSurface:{kWkggS:"x10xzikg",$$css:!0},contentBgWash:{kWkggS:"x1eiddq6",$$css:!0},contentBgTransparent:{kWkggS:"xjbqb8w",kHBbk8:"xc8icb0",$$css:!0},navAreaWash:{kWkggS:"x1eiddq6",$$css:!0},navAreaSurface:{kWkggS:"x10xzikg",$$css:!0},banner:{kmuXW:"x2lah0s",$$css:!0},headerSticky:{kVAEAm:"x7wzq59",k87sOh:"x13vifvy",kY2c9j:"x1vjfegm",$$css:!0},panelAutoFill:{kUk6DE:"x98rzlu",kVQacm:"xysyzu8",$$css:!0}};function dp({variant:e="elevated",banner:t,children:r,contentPadding:n,"data-testid":o,height:s="fill",mobileNav:i,sideNav:l,topNav:u,xstyle:c,className:d,style:p,ref:x,...m}){let f=te(),g=i===!1,h=i!=null&&i!==!1&&typeof i=="object"&&!zo(i)?i:null,k=h?.breakpoint??"md",b=i!=null&&i!==!1&&(zo(i)||typeof i=="string")?i:null,v=h?.content??null,w=h?.hasToggle!==!1,S=h?.isOpen!==void 0,$=k==="none"?"(max-width: 0px)":`(max-width: ${xw[k]}px)`,N=yr($,h?.defaultIsMobile),[C,R]=ee(!1),z=h?.isOpen??C,I=y(xe=>{S||R(xe),h?.onOpenChange?.(xe)},[S,h]),A=s==="fill",M=s==="auto",q=oo(t),E=oo(u),B=oo(l),W=!g&&(E||B)&&b==null,O=e==="section",L=e==="elevated",F=e==="wash"||e==="elevated"?Ut.navAreaWash:e==="surface"?Ut.navAreaSurface:void 0,U=e==="wash"?Ut.contentBgWash:e==="elevated"&&E&&B&&!N?Ut.contentBgTransparent:e==="surface"||e==="elevated"?Ut.contentBgSurface:void 0,Z=F??Ut.navAreaSurface,X=_(null),Q=_(null);de(()=>{if(!M||!X.current||!Q.current)return;let xe=X.current,me=Q.current,be=()=>{let we=xe.getBoundingClientRect().height;me.style.setProperty("--appshell-header-height",`${we}px`)};return hr(xe,()=>be()),()=>rr(xe)},[M]);let ae=B&&!N,oe=b!=null,fe=W&&v!=null&&N,ke=ne(),Ce=H(()=>({isMobile:N,isMobileNavOpen:z,mobileNavId:ke,toggleMobileNav:()=>W&&I(!z),openMobileNav:()=>W&&I(!0),closeMobileNav:()=>I(!1),isMobileNavEnabled:W,hasAutoToggle:w}),[N,z,ke,I,W,w]),$e=B&&w?a(Pn,{value:"drawer-content",children:l}):null,pe=B?a(Pn,{value:"drawer-content",children:l}):null,re=E?N&&!g&&b==null?a(fi,{value:$e,children:a(Lo,{value:"mobile-bar",children:u})}):u:null,ge=E||q?j(nn,{padding:0,hasDivider:O&&E,children:[q&&a("div",{...T(Ut.banner,F),children:t}),E&&re]}):void 0,J=ge!=null?a("div",{ref:X,...P(D("app-shell-header",{variant:e}),T(F,M&&Ut.headerSticky)),children:ge}):void 0,ue=ae?a(ni,{padding:0,hasDivider:O,isScrollable:A,...D("app-shell-sidenav",{variant:e}),xstyle:[F,M&&Z,M&&Ut.panelAutoFill],children:l}):void 0,ye=ue!=null&&M?a("div",{className:"x2lah0s x7giv3 x7wzq59 xepuwc7 x16zugyo x78zum5 xdt5ytf",children:ue}):ue,ve=L&&E&&ae,Re=a(Tn,{padding:n??0,role:"main",id:ng,isScrollable:A,xstyle:U,children:r}),De=ve?j("div",{className:"x1n2onr6 x78zum5 x98rzlu x2lwn1j x5yr21d",children:[a("div",{className:"x10l6tqk x10a8y8t x10xzikg x183tx6i x47corl"}),Re]}):Re,Ee=!g&&w&&N&&!E&&B?a("div",{...P(D("app-shell-header",{variant:e}),T(F,M&&Ut.headerSticky)),children:a(nn,{padding:0,hasDivider:O,children:j("div",{className:"x78zum5 x6s0dn4 x1k15mir xf314gf",role:"navigation","aria-label":f("@pharos.appShell.mobileNavigation"),children:[a(Pn,{value:"topbar",children:l}),a(qo,{})]})})}):void 0;return a(Xs,{value:Ce,children:j("div",{...m,ref:Se(x,Q),"data-testid":o,...P(D("app-shell",{variant:e}),T(Ut.root,e==="wash"?Ut.variantWash:e==="surface"?Ut.variantSurface:e==="section"?Ut.variantSection:Ut.variantElevated,A?Ut.rootFill:Ut.rootAuto,c),d,p),children:[a("a",{href:`#${ng}`,className:"x10l6tqk x1xrnuwo x1i1rx1s x1jqxupm xjm9jq1 x15cytp8 xt970qd xh2mrf5 xnjsko4 x1cf3d6k xkdpibf x1y5lnwp xb3r6kr xomzh7y x1hyvwdk x1rsz1da xuxw1ft x1hbpcn8 xc342km x13vifvy x1rw3289 x1o0tod xodanix x10xzikg xjse4m1 x1q2oy4v x1hl2dhg x2mo6ok xjm74w1","data-testid":"skip-to-content",children:"Skip to content"}),a(zn,{height:s,padding:0,header:j(se,{children:[J,Ee]}),start:ye,content:De}),oe&&b,fe&&v,N&&!g&&b==null&&!v&&j(pw,{mode:z?"visible":"hidden",children:[B&&!E&&a(Pn,{value:"drawer",children:l}),E&&a(fi,{value:pe,children:a(Lo,{value:"drawer",children:u})})]})]})})}dp.displayName="AppShell";le();ie();Y();var og={container:{kVAEAm:"x1n2onr6",kzqmXN:"xh8yej3",kVQacm:"x7giv3",kAzted:"x2lwn1j",kmuXW:"x2lah0s",$$css:!0},ellipse:{kaIpWk:"x16rqkct",$$css:!0}};function pp({ratio:e,shape:t="rectangle",fit:r,children:n,xstyle:o,className:s,style:i,ref:l,...u}){return a("div",{ref:l,...P(D("aspect-ratio",{shape:t}),T(og.container,t==="ellipse"&&og.ellipse,o),s,{...i,aspectRatio:e}),...u,children:a("div",{"data-pharos-aspect-ratio-override":r,...{0:{className:"x10l6tqk x13vifvy x1o0tod xh8yej3 x5yr21d"},1:{className:"x10l6tqk x13vifvy x1o0tod xh8yej3 x5yr21d x78zum5 x6s0dn4 xl56j7k"}}[(r==="center")<<0],children:n})})}pp.displayName="AspectRatio";K();le();V();V();K();var hi=Ne(36);hi.displayName="AvatarSizeContext";K();var Oc=Ne(null);Oc.displayName="AvatarGroupContext";function Ys(){return je(Oc)}ie();oi();Y();var sg=(1-1/Math.SQRT2)/2,mw=.4;function gi(e){if(typeof e=="number")return e;switch(e){case"xsm":return 20;case"sm":return 24;case"md":return 36;case"lg":return 48;case"xl":return 128}}var Qs={wrapper:{kVAEAm:"x1n2onr6",k1xSpc:"x3nfvp2",kmuXW:"x2lah0s",kaIpWk:"xjspbzw",$$css:!0},content:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kaIpWk:"xjspbzw",kVQacm:"xb3r6kr",kfSwDN:"x87ps6o",$$css:!0},fallback:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kzqmXN:"xh8yej3",kZKoxP:"x5yr21d",kWkggS:"xelv01g",kMwMTN:"xicfil",kMv6JI:"x9ynric",k63SB2:"xi08x9w",kP9fke:"xtvhhri",$$css:!0},status:{kVAEAm:"x10l6tqk",$$css:!0},focusable:{kI3sdo:"x17nn4n9",kInvED:"x1wfwxd8 x7s97pk",$$css:!0},interactive:{kysU6D:"xjyslct",kmVPX3:"x1717udv",kogj98:"x1ghz6dp",kMzoRj:"xc342km",ksu8eU:"xng3xce",kWkggS:"xjbqb8w",kMwMTN:"x1heor9g",kVVagm:"xln7xf2",kybGjl:"x1hl2dhg",kkrTdU:"x1ypdohk",kaIpWk:"xjspbzw",kMeerF:"x1k57tk5 x784prv",k3XXqK:"x1t137rt x9v5kkp",kjBf7l:"xzunyri",kInvED:"x1wfwxd8 x7s97pk",$$css:!0}},fw={kGuDYH:"xdmh292",$$css:!0},hw={krVfgx:"x1nqzi6q",kCIrl2:"x7ok3n0",k3aq6I:"x4v1no5",$$css:!0},xp={size:e=>[{kzqmXN:e!=null?"x5lhr3w":e,kZKoxP:e!=null?"x16ye13r":e,$$css:!0},{"--x-width":(t=>typeof t=="number"?t+"px":t??void 0)(e),"--x-height":(t=>typeof t=="number"?t+"px":t??void 0)(e)}],fontSize:e=>[fw,{"--x-fontSize":(t=>typeof t=="number"?t+"px":t??void 0)(`var(--_avatar-fallback-font-size, ${e*mw}px)`)}],statusPosition:e=>[hw,{"--x-bottom":(t=>typeof t=="number"?t+"px":t??void 0)(e*sg),"--x-right":(t=>typeof t=="number"?t+"px":t??void 0)(e*sg)}]};var ag={ring:{kaIpWk:"xjspbzw",kMzoRj:"xdh2fpr",ksu8eU:"x1y0btm7",kVAM5u:"x1touxvs",kWkggS:"x10xzikg",kB7OPa:"x1afcbsf",$$css:!0},overlap:{keTefX:"x1sik18w",$$css:!0}},gw={"--_avatar-group-overlap":"xlz5hwt",$$css:!0},kw={overlap:e=>[gw,{"--x---_avatar-group-overlap":`${e}px`!=null?`${e}px`:void 0}]};function yw(e){let t=e.trim().split(/\s+/);return t.length===0?"":t.length===1?t[0].charAt(0).toUpperCase():(t[0].charAt(0)+t[t.length-1].charAt(0)).toUpperCase()}function bw(e){if(!zo(e))return;let{label:t}=e.props;return typeof t=="string"&&t!==""?t:void 0}function vw({size:e}){return a("svg",{width:e*.6,height:e*.6,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:a("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})}function ki({alt:e,"data-testid":t,fallbackSrc:r,name:n,size:o="md",src:s,status:i,tooltip:l=!0,href:u,as:c,target:d,rel:p,onClick:x,xstyle:m,className:f,style:g,ref:h,...k}){let[b,v]=ee(void 0),[w,S]=ee(void 0),$=s&&b!==s,N=!$&&r&&w!==r,C=!$&&!N&&n,R=!$&&!N&&!n,z=te(),I=e||n,A=bw(i),M=I&&A?z("@pharos.avatar.nameWithStatus",{name:I,status:A}):I||A,q=!M,E=Ys(),B=E?.size??o,G=H(()=>gi(B),[B]),O=(l===!1?void 0:typeof l=="string"?l:n)?.trim(),L=O!=null&&O!=="",F=typeof l=="string",U=Fe({placement:"above",isEnabled:L}),Z=Se(h,L?U.ref:void 0),X=L&&F?{"aria-describedby":[k["aria-describedby"],U.describedBy].filter(Boolean).join(" ")||void 0}:null,Q=u!=null,ae=!Q&&x!=null,oe=Q||ae,fe=Ze(c);oe&&!M&&console.warn("Avatar: an interactive avatar (with `href` or `onClick`) needs a meaningful accessible name. Pass `alt` or `name`.");let ke=j(se,{children:[j("div",{...T(Qs.content,xp.size(G)),children:[$&&a("img",{src:s,alt:"",onError:()=>v(s),className:"xh8yej3 x5yr21d xl1xv1r"}),N&&a("img",{src:r,alt:"",onError:()=>S(r),className:"xh8yej3 x5yr21d xl1xv1r"}),C&&a("div",{...T(Qs.fallback,xp.fontSize(G)),children:yw(n)}),R&&a("div",{className:"x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xelv01g xicfil x9ynric xi08x9w xtvhhri",children:a(vw,{size:G})})]}),i&&a("div",{...T(Qs.status,xp.statusPosition(G)),children:i})]}),Ce=P(D("avatar",{size:B}),T(Qs.wrapper,oe&&Qs.interactive,!oe&&L&&!E&&Qs.focusable,E&&ag.ring,E&&ag.overlap,E&&kw.overlap(-E.overlap),m),f,g),$e,pe=k;return Q?$e=a(fe,{...pe,...X,ref:Z,href:u,target:d,rel:p,"aria-label":M,"data-avatar-item":"","data-testid":t,onClick:x,...Ce,children:ke}):ae?$e=a("button",{...pe,...X,ref:Z,type:"button","aria-label":M,"data-avatar-item":"","data-testid":t,onClick:x,...Ce,children:ke}):$e=a("div",{...k,ref:Z,role:q?"presentation":"img","aria-label":q?void 0:M,"aria-hidden":q||void 0,tabIndex:L&&!E?0:void 0,"data-testid":t,...X,...Ce,children:ke}),j(se,{children:[a(hi,{value:G,children:$e}),L?U.renderTooltip(O):null]})}ki.displayName="Avatar";K();le();V();V();ie();Y();function ww(e){return e<=36?{dotSize:10,borderWidth:1,iconSize:0,tier:"small"}:e<=72?{dotSize:20,borderWidth:2,iconSize:12,tier:"medium"}:{dotSize:32,borderWidth:4,iconSize:18,tier:"large"}}var yi={dot:{kaIpWk:"xjspbzw",ksu8eU:"x1y0btm7",kVAM5u:"x1touxvs",kB7OPa:"x9f619",k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",$$css:!0},success:{kWkggS:"xdsz4j9",kMwMTN:"xrkvqaz",$$css:!0},neutral:{kWkggS:"x10xzikg",kMwMTN:"xv1l7n4",$$css:!0},error:{kWkggS:"x1pjz0fi",kMwMTN:"xrkvqaz",$$css:!0},icon:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kLWn49:"x14ju556",$$css:!0}},ig={size:(e,t)=>[{kzqmXN:e!=null?"x5lhr3w":e,kZKoxP:e!=null?"x16ye13r":e,kMzoRj:t!=null?"x1mw0n95":t,$$css:!0},{"--x-width":(r=>typeof r=="number"?r+"px":r??void 0)(e),"--x-height":(r=>typeof r=="number"?r+"px":r??void 0)(e),"--x-borderWidth":(r=>typeof r=="number"?r+"px":r??void 0)(t)}],iconSize:e=>[{kzqmXN:e!=null?"x5lhr3w":e,kZKoxP:e!=null?"x16ye13r":e,$$css:!0},{"--x-width":(t=>typeof t=="number"?t+"px":t??void 0)(e),"--x-height":(t=>typeof t=="number"?t+"px":t??void 0)(e)}]},$w={success:yi.success,neutral:yi.neutral,error:yi.error},Sw={neutral:"ring",error:"minus"},jw={small:1,medium:1.5,large:2},lg=.75;function Cw({shape:e,field:t,stroke:r}){let n=t/2;return a("svg",{"aria-hidden":"true",viewBox:`0 0 ${t} ${t}`,width:t,height:t,fill:"none",...D("avatar-status-dot-glyph",{shape:e}),children:e==="ring"?a("circle",{cx:n,cy:n,r:(t-r)/2,fill:"none",stroke:"currentColor",strokeWidth:r}):a("line",{x1:t*(1-lg)/2+r/2,y1:n,x2:t*(1+lg)/2-r/2,y2:n,stroke:"currentColor",strokeWidth:r,strokeLinecap:"round"})})}function mp({ref:e,variant:t="success",label:r,icon:n,xstyle:o,className:s,style:i,...l}){let u=je(hi),{dotSize:c,borderWidth:d,iconSize:p,tier:x}=ww(u),m=oo(n)&&p>0,f=m?void 0:Sw[t];return j("div",{...l,ref:e,...r?{role:"img","aria-label":r}:void 0,...P(D("avatar-status-dot",{variant:t}),T(yi.dot,$w[t],ig.size(c,d),o),s,i),children:[m&&a("span",{"aria-hidden":"true",...T(yi.icon,ig.iconSize(p)),children:n}),f&&a(Cw,{shape:f,field:c-d*2,stroke:jw[x]})]})}mp.displayName="AvatarStatusDot";K();le();ie();K();function uo(e){return!e||typeof window>"u"?!1:window.getComputedStyle(e).direction==="rtl"}br();var zw=new Set(["text","search","url","tel","email","password","number"]);function Tw(e){if(e.isContentEditable)return e;let t=e.closest("[contenteditable]");return t&&t.getAttribute("contenteditable")!=="false"?t:null}function cg(e,t){if(!(e instanceof HTMLElement))return!1;let r=Tw(e);if(r){let c=typeof window<"u"?window.getSelection():null;return c&&c.rangeCount>0&&!c.isCollapsed?!0:(r.textContent??"").length>0}let n=e.tagName==="TEXTAREA",o=e.tagName==="INPUT"&&zw.has(e.type);if(!n&&!o)return!1;let s=e,{selectionStart:i,selectionEnd:l,value:u}=s;return i!==l||i==null?!0:t==="ArrowLeft"||t==="ArrowUp"||t==="Home"?i>0:t==="ArrowRight"||t==="ArrowDown"||t==="End"?i<u.length:!1}function dt(e={}){let{itemSelector:t='[role="menuitem"]',boundarySelector:r,wrap:n=!0,onEscape:o,orientation:s="vertical",hasHomeEnd:i=!0,isRtl:l,hasRovingTabIndex:u=!1,hasCaretGuard:c=!1}=e,d=_(null),p=y(C=>C.getAttribute("aria-disabled")==="true"||C.disabled===!0||C.hasAttribute("disabled"),[]),x=y(()=>{let C=d.current;if(!C)return[];let R=Array.from(C.querySelectorAll(t));return r?R.filter(z=>z.closest(r)===C):R},[t,r]),m=y(C=>{let R=d.current;if(!R||!r)return!0;let z=C.target;return z?z.closest(r)===R:!0},[r]),f=y((C,R,z,I)=>{let A=C.length;if(A===0)return-1;let M=R;for(let q=0;q<A;q++){if(M<0||M>=A){if(!I)return-1;M=(M+A)%A}let E=C[M];if(E&&!p(E))return M;M+=z}return-1},[p]),g=y(()=>{let C=x(),R=document.activeElement;return C.findIndex(z=>z===R||z.contains(R))},[x]),h=y((C,R)=>{C.getAttribute("tabindex")!==String(R)&&C.setAttribute("tabindex",String(R))},[]),k=y(()=>{let C=x(),R=C.filter(A=>!p(A));if(R.length===0)return;let I=R.find(A=>A.getAttribute("tabindex")==="0")??R[0];for(let A of C)h(A,A===I?0:-1)},[x,p,h]);mt(()=>{u&&k()});let b=y((C,R)=>{let z=C[R];if(z){if(u)for(let I of C)h(I,I===z?0:-1);z.focus()}},[u,h]),v=y(C=>{let R=x();if(R.length===0)return;let z=Math.max(0,Math.min(C,R.length-1));b(R,z)},[x,b]),w=y(()=>{let C=x(),R=f(C,0,1,!1);return R!==-1?(b(C,R),!0):!1},[x,f,b]),S=y(()=>{let C=x(),R=f(C,C.length-1,-1,!1);return R!==-1?(b(C,R),!0):!1},[x,f,b]),$=y(()=>{u&&k()},[u,k]),N=y(C=>{if(C.ctrlKey||C.metaKey||C.altKey||!m(C))return;if(C.key==="Escape"){C.preventDefault(),o?.();return}let R=s==="horizontal"||s==="both",z=s==="vertical"||s==="both",I=[],A=[];if(R){let O=C.key==="ArrowLeft"||C.key==="ArrowRight"?l??uo(d.current):!1;I.push(O?"ArrowLeft":"ArrowRight"),A.push(O?"ArrowRight":"ArrowLeft")}z&&(I.push("ArrowDown"),A.push("ArrowUp"));let M=I.includes(C.key),q=A.includes(C.key),E=i&&C.key==="Home",B=i&&C.key==="End";if(!M&&!q&&!E&&!B||c&&(cg(C.target,C.key)||cg(document.activeElement,C.key)))return;let G=g(),W=x();if(M){let O=G===-1?0:G+1,L=f(W,O,1,n);L!==-1&&b(W,L)}else if(q){let O=G===-1?W.length-1:G-1,L=f(W,O,-1,n);L!==-1&&b(W,L)}else E?w():B&&S();C.preventDefault()},[g,x,n,s,l,i,c,f,b,w,S,o,m]);return{listRef:d,handleKeyDown:N,handleFocus:$,focusItem:v,focusFirst:w,focusLast:S,ownsEvent:m,getItems:x}}br();Y();var Iw=.25,Nw={root:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",$$css:!0}};function fp({children:e,size:t="md","data-testid":r,"aria-label":n,"aria-describedby":o,onKeyDown:s,onFocus:i,xstyle:l,className:u,style:c,ref:d,...p}){let x=te(),m=n??x("@pharos.avatarGroup.label"),f=gi(t),g=Math.round(f*Iw),h=H(()=>({size:t,overlap:g,numericSize:f}),[t,g,f]),[k,b]=ee(!1),[v,w]=ee(!1),{listRef:S,handleKeyDown:$,handleFocus:N}=dt({itemSelector:"[data-avatar-item]",orientation:"horizontal",hasRovingTabIndex:!0,isRtl:v});mt(()=>{let z=S.current;z&&(b(z.querySelector("[data-avatar-item]")!=null),w(getComputedStyle(z).direction==="rtl"))});let C=ne(),R=[o,k?C:null].filter(Boolean).join(" ")||void 0;return a(Oc,{value:h,children:j("div",{...p,ref:Se(d,S),role:"group","aria-label":m,"aria-describedby":R,"data-testid":r,onKeyDown:_t(s,$),onFocus:_t(i,N),...P(D("avatar-group",{size:t}),T(Nw.root,l),u,c),children:[e,k&&a(We,{id:C,children:x("@pharos.avatarGroup.keyboardHint")})]})})}fp.displayName="AvatarGroup";K();le();V();V();ie();Y();var ug=2,Ew=.35,bi={base:{kVAEAm:"x1n2onr6",k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kaIpWk:"xjspbzw",kWkggS:"x10xzikg",kMwMTN:"xv1l7n4",kMv6JI:"x9ynric",k63SB2:"x1e4wzip",kfSwDN:"x87ps6o",kMzoRj:"xdh2fpr",ksu8eU:"x1y0btm7",kVAM5u:"x1touxvs",kB7OPa:"x9f619",kg3NbH:"xf314gf",kKwaWg:"x14bno8m",$$css:!0},button:{kkrTdU:"x1ypdohk",k8WAf4:"xt970qd",kKwaWg:"x14bno8m xbfmc0r x1nocapi",kI3sdo:"x1a2a7pz x17nn4n9",kInvED:"x7s97pk",$$css:!0},overlap:{keTefX:"x13hpdyo",$$css:!0}},Mw={k7Eaqz:"xkj4a21",kZKoxP:"x16ye13r",$$css:!0},Aw={kGuDYH:"xdmh292",$$css:!0},Dw={"--_avatar-group-overlap":"xlz5hwt",$$css:!0},Js={size:e=>[Mw,{"--x-minWidth":(t=>typeof t=="number"?t+"px":t??void 0)(e+ug*2),"--x-height":(t=>typeof t=="number"?t+"px":t??void 0)(e+ug*2)}],fontSize:e=>[Aw,{"--x-fontSize":(t=>typeof t=="number"?t+"px":t??void 0)(e*Ew)}],overlap:e=>[Dw,{"--x---_avatar-group-overlap":`${e}px`!=null?`${e}px`:void 0}]};function hp({ref:e,count:t,onClick:r,children:n,xstyle:o,className:s,style:i,...l}){let u=Ys(),c=u?.numericSize??36,d=u?.overlap??0,p=`${t} more`,x=n??`+${t}`;return r?a("button",{ref:e,type:"button",onClick:r,...l,"aria-label":p,"data-avatar-item":"",...P(D("avatar-group-overflow"),T(bi.base,bi.button,bi.overlap,Js.size(c),Js.fontSize(c),Js.overlap(-d),o),s,i),children:x}):a("span",{ref:e,...l,"aria-label":p,...P(D("avatar-group-overflow"),T(bi.base,bi.overlap,Js.size(c),Js.fontSize(c),Js.overlap(-d),o),s,i),children:x})}hp.displayName="AvatarGroupOverflow";le();V();V();ie();Y();var Pw={base:{k1xSpc:"x3nfvp2",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kOIVth:"xzye2dw",kZKoxP:"x1grt7ep",k8WAf4:"xt970qd",kg3NbH:"xf314gf",kaIpWk:"xjspbzw",kMv6JI:"xjb2p0i",kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",k63SB2:"x1e4wzip",khDVqt:"xuxw1ft",$$css:!0}},Rw={neutral:{kWkggS:"x17x4s8c",kMwMTN:"x1tgivj0",$$css:!0},info:{kWkggS:"x1ewilqj",kMwMTN:"x17wrial",$$css:!0},success:{kWkggS:"xdsz4j9",kMwMTN:"xri61p4",$$css:!0},warning:{kWkggS:"x1q8g9m5",kMwMTN:"xrebv38",$$css:!0},error:{kWkggS:"x1pjz0fi",kMwMTN:"x1m024r3",$$css:!0},blue:{kWkggS:"x1o0wnni",kMwMTN:"x1vvqiwl",$$css:!0},cyan:{kWkggS:"x1rgj867",kMwMTN:"x1txnczv",$$css:!0},green:{kWkggS:"x1sqjeoo",kMwMTN:"xltfdvo",$$css:!0},orange:{kWkggS:"x1e9xt6e",kMwMTN:"xm47u9q",$$css:!0},pink:{kWkggS:"xnpoty2",kMwMTN:"xiuofww",$$css:!0},purple:{kWkggS:"x16i6n6f",kMwMTN:"x1m9wyeb",$$css:!0},red:{kWkggS:"x1cibrc5",kMwMTN:"x1joocv1",$$css:!0},teal:{kWkggS:"x1jtji5o",kMwMTN:"x9x0lbs",$$css:!0},yellow:{kWkggS:"x1bo7t0x",kMwMTN:"xdhq94a",$$css:!0}};function or({variant:e="neutral",label:t,icon:r,xstyle:n,className:o,style:s,ref:i,...l}){return j("span",{ref:i,...P(D("badge",{variant:e}),T(Pw.base,Rw[e],n),o,s),...l,children:[r,t]})}or.displayName="Badge";K();le();V();V();ie();Y();var _w={info:"info",warning:"warning",error:"error",success:"success"},Vw={info:"status",warning:"alert",error:"alert",success:"status"},qw={info:"accent",warning:"warning",error:"error",success:"success"},Oo={root:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf",kMv6JI:"xjb2p0i",$$css:!0},rootElevatedCard:{kaIpWk:"x1hviunn",$$css:!0},header:{k1xSpc:"x78zum5",kGNEyG:"x1cy8zhl",kOIVth:"x1txdalj",k8WAf4:"x8o8v82",kg3NbH:"x1pzlopt",$$css:!0},headerCardStandalone:{kaIpWk:"x1hviunn",$$css:!0},headerCardWithContent:{kIxVMA:"x14k9mlb",ksF3WI:"xn9rnvb",kqGeR4:"xfrllxf",kYm2EN:"xjppbhk",$$css:!0},headerCentered:{kGNEyG:"x6s0dn4",$$css:!0},endArea:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",kmuXW:"x2lah0s",keTefX:"xvc5jky",kqGvvJ:"x81ka23",$$css:!0}},Lw={info:{kWkggS:"xgcxg3y",$$css:!0},warning:{kWkggS:"x24i8r5",$$css:!0},error:{kWkggS:"x1pritpl",$$css:!0},success:{kWkggS:"xu13z74",$$css:!0}},Ow={none:{kGVxlE:"x1gnnqk1",$$css:!0},low:{kGVxlE:"x1i5ehqx",$$css:!0},med:{kGVxlE:"x14hfi27",$$css:!0},high:{kGVxlE:"x1kcpxr7",$$css:!0}};function gp({status:e,title:t,description:r,icon:n,isDismissable:o=!1,onDismiss:s,endContent:i,container:l="card",elevation:u="none",defaultIsExpanded:c=!1,children:d,xstyle:p,className:x,style:m,ref:f,...g}){let h=te(),[k,b]=ee(!1),[v,w]=ee(c),S=ne(),$=_w[e],N=Vw[e],C=qw[e],R=d!=null;if(k)return null;let z=()=>{b(!0),s?.()},I=()=>{w(G=>!G)},A=i!=null||o||R,M=i!=null||o,q=r==null&&M,E=R&&v,B=l==="card";return j("div",{ref:f,role:N,...P(T(Oo.root,Ow[u],B&&u!=="none"&&Oo.rootElevatedCard,p),x,m),...g,children:[j("div",{...P(D("banner",{container:l,status:e}),T(Oo.header,q&&Oo.headerCentered,Lw[e],B&&(E?Oo.headerCardWithContent:Oo.headerCardStandalone))),children:[a("div",{...P(D("banner-icon",{status:e}),{className:"x78zum5 x6s0dn4 x2lah0s"}),"aria-hidden":"true",children:n??a(he,{icon:$,size:"md",color:C})}),j("div",{className:"x78zum5 xdt5ytf xxhr3t x98rzlu xeuugli",children:[a("div",{className:"x1ghz6dp xjb2p0i xcr08ib x2mo6ok x1kq96og x1tgivj0",children:t}),r!=null&&a("div",{className:"x1ghz6dp xjb2p0i x141an7d x1sodnla x1ltkj2j xv1l7n4",children:r})]}),A&&j("div",{...T(Oo.endArea,An.inset(it["--spacing-2"])),children:[i,R&&a(Ve,{variant:"ghost",size:"sm",label:h(v?"@pharos.banner.collapse":"@pharos.banner.expand"),tooltip:h(v?"@pharos.banner.collapse":"@pharos.banner.expand"),icon:a("span",{...{0:{className:"x3nfvp2 x11xpdln xuedmi6 x12w9bfk xlr8y92"},1:{className:"x3nfvp2 x11xpdln xuedmi6 x12w9bfk xlr8y92 x19jd1h0"}}[!!v<<0],children:a(he,{icon:"chevronDown",size:"sm",color:"inherit"})}),onClick:I,"aria-expanded":v,"aria-controls":E?S:void 0,isIconOnly:!0}),o&&a(Ve,{variant:"ghost",size:"sm",label:h("@pharos.banner.dismiss"),tooltip:h("@pharos.banner.dismiss"),icon:a(he,{icon:"close",size:"sm",color:"inherit"}),onClick:z,isIconOnly:!0})]})]}),E&&a("div",{id:S,...P(D("banner-content",{container:l,status:e}),{0:{className:"x1de1mus x8o8v82 x1pzlopt xgbv0en xw8tdv1 x92x3c3 x1t7ytsu x18b5jzi x1q0q8m5 x1j92z86 x1gejf6u xw8gpjh"},1:{className:"x1de1mus x8o8v82 x1pzlopt xgbv0en xw8tdv1 x92x3c3 x1t7ytsu x18b5jzi x1q0q8m5 x1j92z86 x1gejf6u xw8gpjh xv76oww x1padx2d"}}[!!B<<0]),children:d})]})}gp.displayName="Banner";le();V();V();ie();Y();var Bw={root:{k2ei4v:"xtpqe59",kVhnKS:"x1t7ytsu",kGJrpR:"x14ydlgx",kZCmMZ:"x1rey3nv",kMwMTN:"xv1l7n4",keTefX:"x1lziwak",k71WvV:"x14z9mp",keoZOQ:"xdj266r",k1K539:"xat24cr",$$css:!0}};function vi({children:e,cite:t,xstyle:r,className:n,style:o,ref:s,...i}){return j("blockquote",{ref:s,...P(D("blockquote"),T(Bw.root,r),n,o),...i,children:[e,t!=null&&a("footer",{children:a("cite",{className:"x1lliihq xtbrsbv x141an7d x1ltkj2j x1j61x8r",children:t})})]})}vi.displayName="Blockquote";K();le();V();V();ie();Y();var Bc=Ne({variant:"default",separator:"/"});Bc.displayName="BreadcrumbContext";var Fw={root:{k1xSpc:"x1lliihq",$$css:!0}};function kp({children:e,separator:t="/",variant:r="default",xstyle:n,className:o,style:s,label:i,ref:l,...u}){let c=te(),d=i??c("@pharos.breadcrumbs.label"),p=H(()=>({variant:r,separator:t}),[r,t]);return a(Bc,{value:p,children:a("nav",{ref:l,"aria-label":d,...P(D("breadcrumbs",{variant:r}),T(Fw.root,n),o,s),...u,children:a("ol",{className:"x78zum5 x6s0dn4 x1a02dak xe8uvvx x1ghz6dp x1717udv xzye2dw",children:e})})})}kp.displayName="Breadcrumbs";K();le();V();V();ie();K();le();In();K();var dg='button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), [contenteditable]:not([contenteditable="false"]), audio[controls], video[controls], iframe, details > summary:first-child';var Rn=[];function Hw(e){Rn.push(e)}function Ww(e){for(let t=Rn.length-1;t>=0;t--)if(Rn[t].handler===e){Rn.splice(t,1);return}}function Gw(e){if(Rn.length===0)return!1;let t=Rn[0];for(let r=1;r<Rn.length;r++){let n=Rn[r],o=t.getContainer(),s=n.getContainer();o!=null&&s!=null&&s!==o&&s.contains(o)||(t=n)}return t.handler===e}function yp(){return Rn.length>0}function bp(e){return e.isComposing===!0||e.keyCode===229}function Kw(e){if(e.hasAttribute("inert")||e.closest("[inert]")||e.hidden||e.closest("[hidden]")||e.closest('[aria-hidden="true"]'))return!1;if(typeof window<"u"&&window.getComputedStyle){let t=window.getComputedStyle(e);if(t.visibility==="hidden"||t.display==="none")return!1}return!0}function vp(e){return Array.from(e.querySelectorAll(dg)).filter(Kw)}function xg(e){try{e.focus()}catch{}return document.activeElement===e}function pg(e){let t=vp(e);for(let r of t)if(xg(r))return!0;return!1}function Uw(e){let t=vp(e);for(let r=t.length-1;r>=0;r--)if(xg(t[r]))return!0;return!1}function Fc(e){let{isActive:t,onEscape:r}=e,n=_(null),o=_(null),s=_(!1),i=y(()=>{n.current&&pg(n.current)},[]);return de(()=>{if(!t)return;let l=document.activeElement,u=n.current;return()=>{let c=document.activeElement;(c==null||c===document.body||c===document.documentElement||u!=null&&u.contains(c))&&l!=null&&l.isConnected&&typeof l.focus=="function"&&l.focus()}},[t]),de(()=>{if(!t)return;let l=u=>{let c=n.current;if(!c)return;let d=u.target;c.contains(d)?o.current=d:s.current&&(pg(c),o.current===document.activeElement&&Uw(c),o.current=document.activeElement),s.current=!1};return document.addEventListener("focus",l,!0),()=>{document.removeEventListener("focus",l,!0)}},[t]),de(()=>{if(!t)return;let l=()=>{r?.()};r&&Hw({handler:l,getContainer:()=>n.current});let u=c=>{let d=n.current;if(d){if(c.key==="Escape"&&r){if(c.defaultPrevented||bp(c)||!Gw(l))return;c.preventDefault(),c.stopPropagation(),r();return}if(c.key==="Tab"){s.current=!0;let p=vp(d);if(p.length===0)return;let x=p[0],m=p[p.length-1];c.shiftKey?document.activeElement===x&&(c.preventDefault(),m.focus()):document.activeElement===m&&(c.preventDefault(),x.focus())}}};return document.addEventListener("keydown",u),()=>{document.removeEventListener("keydown",u),r&&Ww(l)}},[t,r]),{containerRef:n,focusFirst:i}}V();V();K();function vr(e,t,r=!0){let n=_(!1);de(()=>{r&&!n.current&&(n.current=!0,Gt(e,t))},[e,t,r])}Y();var mg={surface:{kWkggS:"x1prclbq",kaIpWk:"x1hviunn",kGVxlE:"x1i5ehqx",$$css:!0},contentWrapper:{kVAEAm:"x1n2onr6",$$css:!0}};function nt(e={}){let{onShow:t,onHide:r,xstyle:n,hasLightDismiss:o=!0,hasEscapeDismiss:s=!0,hasAutoFocus:i=!0,hasSurface:l=!0,hasCloseButton:u=!0,closeButtonLabel:c,dialogLabel:d,role:p="dialog",isModal:x=!0}=e,m=te(),f=c??m("@pharos.popover.close"),g=_(null),h=_(!1),k=Vt({mode:"context",lightDismiss:o,onShow:t,onHide:r}),{containerRef:b,focusFirst:v}=Fc({isActive:k.isOpen,onEscape:s||o?k.hide:void 0});de(()=>{k.isOpen&&i&&!h.current&&requestAnimationFrame(()=>{v()}),k.isOpen||(h.current=!1)},[k.isOpen,i,v]);let w=y(R=>{g.current=R,k.ref(R)},[k]),S=y(R=>{h.current=R?.skipAutoFocus??!1,k.show()},[k]),$=y(()=>{k.isOpen?k.hide():S()},[k,S]),N={"aria-haspopup":p==="dialog"?"dialog":"true","aria-expanded":k.isOpen,"aria-controls":k.id};vr("usePopover",'role="dialog" without a `dialogLabel` renders an unnamed dialog. Pass `dialogLabel`, or use `role: "none"` for listbox/menu popups whose content already carries its own role.',p==="dialog"&&!d);let C=y((R,z)=>k.render(j("div",{ref:b,role:p==="dialog"?"dialog":void 0,"aria-modal":p==="dialog"&&x?!0:void 0,"aria-label":p==="dialog"?d:void 0,...T(mg.contentWrapper,l&&mg.surface,n),children:[R,u&&a("div",{className:"x10l6tqk x1ey2m1c x1nrll8i x31h1t8 x1vjfegm x1i1rx1s x10okhzq xjm9jq1 x132qfvm xb3r6kr x1dordxg x1hyvwdk x10wafsz x47corl xbt4iw xexx8yu x1kw28su",children:a(Ve,{variant:"secondary",label:f,onClick:k.hide})})]}),{...z,xstyle:z?.xstyle}),[k,u,l,f,b,d,p,x,n]);return{triggerRef:w,contentRef:b,anchorId:k.anchorId,show:S,hide:k.hide,toggle:$,isOpen:k.isOpen,id:k.id,render:C,triggerProps:N}}K();function Xw(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&e.key!==" "}function wr(e){let{getItemLabels:t,onMatch:r,getCurrentIndex:n,resetMs:o=750,isDisabled:s}=e,i=_(""),l=_(void 0),u=y(()=>{i.current="",l.current&&(clearTimeout(l.current),l.current=void 0)},[]),c=y(()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{i.current="",l.current=void 0},o)},[o]);return{onKeyDown:y(p=>{let x=p.key===" "&&i.current.length>0;if(!Xw(p)&&!x)return!1;let m=t();if(m.length===0)return!1;let f=p.key.toLowerCase(),g=i.current.length>0&&i.current.split("").every(w=>w===f),h=g?f:i.current+f;i.current=h,c();let k=n?.()??-1,b=m.length,v=g?1:0;for(let w=0;w<b;w++){let S=(k+v+w+b)%b;if(s?.(S))continue;let $=m[S];if($!=null&&$.trim().toLowerCase().startsWith(h))return r(S),!0}return!0},[t,r,n,c,s]),reset:u}}Fr();K();le();V();V();ie();Y();var fg={horizontal:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kzqmXN:"xh8yej3",$$css:!0},vertical:{k1xSpc:"x3nfvp2",kXwgrk:"xdt5ytf",kGNEyG:"x6s0dn4",kZKoxP:"x5yr21d",$$css:!0}},ea={horizontalLine:{kZKoxP:"xsyqizj",kzQI83:"x1iyjqo2",kmuXW:"xs83m0k",$$css:!0},verticalLine:{kzqmXN:"xjk4fl7",kzQI83:"x1iyjqo2",kmuXW:"xs83m0k",$$css:!0},subtle:{kWkggS:"x1m4xfpy",$$css:!0},strong:{kWkggS:"x7njt3n",$$css:!0}},hg={horizontal:{keTefX:"xojxgvx",k71WvV:"x1fcf3bl",kzqmXN:"xx6qvi6",$$css:!0},vertical:{keoZOQ:"x1sa9bsh",k1K539:"x6h7pi7",kZKoxP:"x12qplqi",$$css:!0}};function sr({orientation:e="horizontal",label:t,variant:r="subtle",isFullBleed:n=!1,xstyle:o,className:s,style:i,ref:l,"aria-label":u,"aria-labelledby":c,...d}){let p=e==="horizontal",x=ne(),m=c??(t&&u==null?x:void 0);return j("div",{ref:l,...d,role:"separator","aria-orientation":e,"aria-label":u,"aria-labelledby":m,...P(D("divider",{variant:r,orientation:e}),T(p?fg.horizontal:fg.vertical,n&&(p?hg.horizontal:hg.vertical),o),s,i),children:[a("div",{...T(p?ea.horizontalLine:ea.verticalLine,ea[r])}),t&&a("div",{id:x,...{0:{className:"x2lah0s xrrkdod x141an7d x1ltkj2j xv1l7n4"},1:{className:"x2lah0s x141an7d x1ltkj2j xv1l7n4 xnjsko4 x8o8v82"}}[!p<<0],children:t}),t&&a("div",{...T(p?ea.horizontalLine:ea.verticalLine,ea[r])})]})}sr.displayName="Divider";K();le();V();V();var Zw=["noopener","noreferrer"];function Hc(e,t){if(e!=="_blank")return{target:e,rel:t};let r=t?.split(/\s+/).filter(Boolean)??[];for(let n of Zw)r.includes(n)||r.push(n);return{target:e,rel:r.join(" ")}}ie();Y();var Yw=new Set(["option","tab","row","gridcell","columnheader","rowheader","treeitem"]),pr={root:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kOIVth:"x1txdalj",kg3NbH:"xf314gf",kVAEAm:"x1n2onr6",kB7OPa:"x9f619",k9WMMc:"x1yc453h",kaIpWk:"xh6dtrn",$$css:!0},alignStart:{kGNEyG:"x1cy8zhl",$$css:!0},interactive:{kkrTdU:"x1ypdohk",k1ekBW:"x15406qy",kIyJzY:"xkvfbh3",kAMwcw:"xlr8y92",kWkggS:"xjbqb8w xe9uy6x xyxi2l3",$$css:!0},focusVisibleOutline:{kI3sdo:"x1a2a7pz x1irc7jg",kInvED:"x1wfwxd8 xdjuwb3",$$css:!0},highlighted:{kWkggS:"x1lmrjuc",$$css:!0},selected:{kWkggS:"xgcxg3y",$$css:!0},disabled:{kkrTdU:"x1h6gzvc",kfzvcC:"x47corl",$$css:!0},label:{kMwMTN:"x1tgivj0",kGuDYH:"xjm74w1",kLWn49:"xw6l6zx",$$css:!0},labelSingleTruncate:{kVQacm:"xb3r6kr",kg5iWk:"xlyipyv",khDVqt:"xuxw1ft",$$css:!0},labelMultiTruncate:{kVQacm:"xb3r6kr",k1xSpc:"x104kibb",kgKLqz:"x1ua5tub",$$css:!0},description:{kMwMTN:"xv1l7n4",kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",$$css:!0},descriptionSingleTruncate:{kVQacm:"xb3r6kr",kg5iWk:"xlyipyv",khDVqt:"xuxw1ft",$$css:!0},descriptionMultiTruncate:{kVQacm:"xb3r6kr",k1xSpc:"x104kibb",kgKLqz:"x1ua5tub",$$css:!0}},gg={lineClamp:e=>[{kJFfOR:e!=null?"x1yhjpo9":e,$$css:!0},{"--x-WebkitLineClamp":e??void 0}]},Qw={compact:{k8WAf4:"xu0wf1k",$$css:!0},balanced:{k8WAf4:"xce4md1",$$css:!0},spacious:{k8WAf4:"x8o8v82",kg3NbH:"xrrkdod",$$css:!0}};function Xt({as:e="div",marker:t,startContent:r,label:n,description:o,endContent:s,align:i="center",density:l="balanced",labelLines:u,descriptionLines:c,onClick:d,href:p,target:x,rel:m,isHighlighted:f=!1,isSelected:g=!1,isDisabled:h=!1,xstyle:k,className:b,style:v,ref:w,role:S,...$}){let N=Ze(),C=d!=null||p!=null,{target:R,rel:z}=Hc(x,m),I=S!=null,A=S!=null&&Yw.has(S),M=typeof n=="string",q=typeof o=="string",E=u!=null?u===1?pr.labelSingleTruncate:pr.labelMultiTruncate:M?pr.labelSingleTruncate:null,B=c!=null?c===1?pr.descriptionSingleTruncate:pr.descriptionMultiTruncate:q?pr.descriptionSingleTruncate:null,G=j(se,{children:[a("span",{...T(pr.label,E,u!=null&&u>1&&gg.lineClamp(u)),children:n}),o!=null&&a("span",{...T(pr.description,B,c!=null&&c>1&&gg.lineClamp(c)),children:o})]}),W=L=>{h||L.target.closest("button, a, input, select, textarea")||d?.(L)},O=j(se,{children:[t,r!=null&&a("span",{className:"x3psx0u x78zum5",children:r}),I?a("span",{...{0:{className:"x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h"},1:{className:"x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo"}}[!!h<<0],children:G}):p!=null?a(N,{href:p,target:R,rel:z,"aria-disabled":h||void 0,tabIndex:h?-1:void 0,...{0:{className:"xmper1u xln7xf2 x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz"},1:{className:"xmper1u xln7xf2 x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz xbyyjgo"}}[!!h<<0],children:G}):d!=null?a("button",{type:"button",onClick:d,disabled:h,...{0:{className:"xmper1u xln7xf2 x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz"},1:{className:"xmper1u xln7xf2 x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz xbyyjgo"}}[!!h<<0],children:G}):a("span",{...{0:{className:"x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h"},1:{className:"x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo"}}[!!h<<0],children:G}),s!=null&&a("span",{...{0:{className:"x3psx0u x78zum5 xvc5jky"},1:{className:"x3psx0u x78zum5 xvc5jky xbyyjgo"}}[!!h<<0],children:s})]});return a(e,{ref:w,...$,"aria-selected":A&&g||void 0,"aria-current":$["aria-current"]??(g&&!A?!0:void 0),"aria-disabled":h||void 0,...P(D("item",{density:l,align:i}),T(pr.root,Qw[l],i==="start"&&pr.alignStart,C&&pr.interactive,C&&pr.focusVisibleOutline,f&&pr.highlighted,g&&pr.selected,h&&!I&&pr.disabled,k),b,v),role:S,onClick:I?d:C?W:void 0,children:O})}Xt.displayName="Item";V();V();K();var Pr=Ne(null);Pr.displayName="DropdownMenuContext";function sn(){return je(Pr)}var Wc=Ne(null);Wc.displayName="DropdownMenuRadioGroupContext";function kg(){return je(Wc)}function ta(e,t){if(t||e.pointerType!=="mouse")return;let r=e.currentTarget;r!==r.ownerDocument.activeElement&&r.focus()}ie();Y();var yg={root:{kB7OPa:"x9f619",kzqmXN:"xh8yej3",k8WAf4:"xce4md1",kg3NbH:"xf314gf",kaIpWk:"x1ws5lxm",kMv6JI:"x9ynric",kGuDYH:"xcr08ib",kMwMTN:"x1tgivj0",kWkggS:"xjbqb8w x1c52tdz",kkrTdU:"x1ypdohk",k9WMMc:"x1yc453h",kI3sdo:"x1a2a7pz",$$css:!0},disabled:{kSiTet:"xbyyjgo",kkrTdU:"x1h6gzvc",$$css:!0}},Jw={sm:{k8WAf4:"xu0wf1k",kg3NbH:"xf314gf",$$css:!0},md:{k8WAf4:"x1vofgu7",$$css:!0},lg:{$$css:!0}};function po({icon:e,label:t,description:r,onClick:n,isDisabled:o=!1,endContent:s,xstyle:i,className:l,style:u}){let c=sn(),d=c?.menuSize??"md",p=y(()=>{o||!n||(n(),c?.closeMenu())},[o,n,c]),x=y(m=>ta(m,o),[o]);return a(Xt,{role:"menuitem",tabIndex:o?void 0:-1,onPointerMove:x,startContent:e?et(e,{size:"sm",color:"secondary"}):void 0,label:t,description:r,endContent:s,onClick:p,isDisabled:o,xstyle:[yg.root,Jw[d],o&&yg.disabled,i],...P(D("dropdown-menu-item",{size:d}),{className:l,style:u})})}po.displayName="DropdownMenuItem";K();In();Fr();K();function xo(e){let{show:t,hide:r,isOpen:n,isEnabled:o,showDelay:s=150,hideDelay:i=200}=e,l=yr("(hover: hover)"),u=_(null),c=_(null),d=_(null),p=_(!1),x=_(!1),m=_(n);m.current&&!n&&(p.current=!1),m.current=n;let f=y(()=>{u.current&&(clearTimeout(u.current),u.current=null),c.current&&(clearTimeout(c.current),c.current=null)},[]),{listRef:g,handleKeyDown:h,focusFirst:k}=dt({onEscape:()=>{f(),r()}});de(()=>()=>f(),[f]);let b=y(()=>{f(),n?(x.current=!0,r()):(x.current=!1,t(),requestAnimationFrame(()=>k()))},[n,f,t,r,k]),v=y(()=>{if(l){if(x.current){x.current=!1;return}p.current=!0,f(),s>0?u.current=setTimeout(()=>{t({skipAutoFocus:!0})},s):t({skipAutoFocus:!0})}},[l,f,t,s]),w=y(()=>{p.current&&(f(),c.current=setTimeout(()=>{r()},i))},[f,r,i]),S=y(()=>{f()},[f]),$=y(z=>{d.current=z},[]),N=y(()=>{},[]),C=y(z=>{},[]),R=y(z=>{},[]);return o?{triggerProps:{onClick:b,onMouseEnter:v,onMouseLeave:w},contentProps:{onMouseEnter:S,onMouseLeave:w,onKeyDown:h},menuRef:g,focusFirst:k,setTriggerEl:$}:{triggerProps:{onClick:N,onMouseEnter:N,onMouseLeave:N},contentProps:{onMouseEnter:N,onMouseLeave:N,onKeyDown:R},menuRef:g,focusFirst:k,setTriggerEl:C}}V();V();ie();var _n=new Set(["menuitem","menuitemradio","menuitemcheckbox"]),mo=[..._n].map(e=>`[role="${e}"]:not([aria-disabled="true"])`).join(","),fo='[role="menu"]';Y();var wp={root:{kB7OPa:"x9f619",kzqmXN:"xh8yej3",k8WAf4:"xce4md1",kg3NbH:"xf314gf",kaIpWk:"x1ws5lxm",kMv6JI:"x9ynric",kGuDYH:"xcr08ib",kMwMTN:"x1tgivj0",kWkggS:"xjbqb8w x1c52tdz",kHE3J0:"xe9uy6x",kkrTdU:"x1ypdohk",k9WMMc:"x1yc453h",kI3sdo:"x1a2a7pz",$$css:!0},open:{kWkggS:"x1lmrjuc",$$css:!0},disabled:{kSiTet:"xbyyjgo",kkrTdU:"x1h6gzvc",$$css:!0}},e0={sm:{k8WAf4:"xu0wf1k",kg3NbH:"xf314gf",$$css:!0},md:{k8WAf4:"x1vofgu7",$$css:!0},lg:{$$css:!0}},t0={keTefX:"x11g1kdw",k71WvV:"xnur1sd",$$css:!0},bg={popover:{k7Eaqz:"x5w4yej",keTefX:"x11g1kdw",k71WvV:"xnur1sd",$$css:!0},popoverCustomWidth:e=>[t0,{k7Eaqz:(typeof e=="number"?`${e}px`:e)!=null?"xkj4a21":typeof e=="number"?`${e}px`:e,$$css:!0},{"--x-minWidth":(t=>typeof t=="number"?t+"px":t??void 0)(typeof e=="number"?`${e}px`:e)}]};function Bo(e){let{icon:t,label:r,description:n,isDisabled:o=!1,hasSpinner:s=!1,menuWidth:i,onOpenChange:l,children:u,xstyle:c,className:d,style:p,"data-testid":x,menuDataTestId:m}=e,f=sn(),g=f?.menuSize??"md",h=!o,k=ne(),b=ne(),v=_(null),[w,S]=ee(!1),$=Vt({mode:"context",lightDismiss:!1,onShow:y(()=>{S(!0),l?.(!0)},[l]),onHide:y(()=>{S(!1),l?.(!1)},[l])}),N=y(()=>{h&&$.show()},[h,$]),C=y(()=>{$.hide()},[$]),{listRef:R,handleKeyDown:z,focusFirst:I,focusItem:A,ownsEvent:M,getItems:q}=dt({itemSelector:mo,boundarySelector:fo,wrap:!1,onEscape:()=>O({focusTrigger:!0})}),E=wr({getItemLabels:()=>q().map(oe=>oe.textContent),onMatch:A,getCurrentIndex:()=>q().findIndex(oe=>oe===document.activeElement||oe.contains(document.activeElement))}),{triggerProps:B,contentProps:G}=xo({show:N,hide:C,isOpen:w,isEnabled:h}),W=y(oe=>{h&&($.show(),oe?.focusFirst&&requestAnimationFrame(()=>{I()||R.current?.focus()}))},[h,$,I,R]),O=y(oe=>{$.hide(),oe?.focusTrigger!==!1&&v.current?.focus()},[$]),L=y(oe=>{v.current=oe,$.ref(oe)},[$]),F=y(()=>{o||(w?O({focusTrigger:!0}):W({focusFirst:!0}))},[o,w,W,O]),U=y(oe=>{if(o)return;let ke=(typeof window<"u"&&v.current?window.getComputedStyle(v.current).direction==="rtl":!1)?"ArrowLeft":"ArrowRight";(oe.key===ke||oe.key==="Enter"||oe.key===" ")&&(oe.preventDefault(),oe.stopPropagation(),W({focusFirst:!0}))},[o,W]),Z=y(oe=>{if(!M(oe))return;if(oe.key==="Escape"){oe.preventDefault(),oe.stopPropagation(),O({focusTrigger:!0});return}if(oe.key==="Enter"||oe.key===" "){oe.preventDefault();let Ce=document.activeElement;Ce&&_n.has(Ce.getAttribute("role")??"")&&Ce.click();return}let ke=(typeof window<"u"&&R.current?window.getComputedStyle(R.current).direction==="rtl":!1)?"ArrowRight":"ArrowLeft";if(oe.key===ke){oe.preventDefault(),O({focusTrigger:!0});return}if(E.onKeyDown(oe)){oe.preventDefault();return}z(oe)},[M,O,z,E,R]),X=H(()=>({menuSize:g,closeMenu:()=>{O({focusTrigger:!1}),f?.closeMenu()}}),[g,O,f]),Q=s?a("span",{className:"x78zum5 x6s0dn4",children:a(Ue,{size:"sm"})}):a("span",{className:"x78zum5 x6s0dn4",children:a(he,{icon:"chevronRight",size:"sm",color:"secondary"})}),ae=i?bg.popoverCustomWidth(i):bg.popover;return j(se,{children:[a(Xt,{ref:oe=>L(oe),id:b,role:"menuitem",tabIndex:o?void 0:-1,"aria-haspopup":"menu","aria-expanded":w,"aria-controls":w?k:void 0,"aria-disabled":o||void 0,"data-testid":x,onMouseEnter:B.onMouseEnter,onMouseLeave:B.onMouseLeave,startContent:t?et(t,{size:"sm",color:"secondary"}):void 0,label:r,description:n,endContent:Q,onClick:F,onKeyDown:U,isDisabled:o,xstyle:[wp.root,e0[g],w&&wp.open,o&&wp.disabled,c],...P(D("dropdown-menu-item",{size:g}),{className:d,style:p})}),$.render(a("div",{ref:R,id:k,role:"menu",tabIndex:-1,"aria-labelledby":b,onKeyDown:Z,onMouseEnter:G.onMouseEnter,onMouseLeave:G.onMouseLeave,"data-testid":m,...P(D("dropdown-menu"),{className:"x9f619 x78zum5 xdt5ytf x1lsbc85 xuyqlj2 x1odjw0f x1fcsqxe xgory14 x9epnlk x1n97fys x1prclbq x1i5ehqx x1hc1fzr x19991ni xuedmi6 xlr8y92"}),children:a(Pr,{value:X,children:u})}),{placement:"end",alignment:"start",xstyle:[ae,At.end]})]})}Bo.displayName="DropdownMenuSubMenu";V();V();Y();var r0={divider:{kqGvvJ:"xsq74q5",$$css:!0}};function $p(e){return`item-${e.label}`}function n0(e,t){return`section-${e.title??t}`}function Fo(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r];"type"in n&&n.type==="divider"?t.push(a(sr,{xstyle:r0.divider},`divider-${r}`)):"type"in n&&n.type==="section"?t.push(j("div",{role:"group","aria-label":n.title,children:[n.title&&a("div",{className:"xu0wf1k xf314gf x9ynric x141an7d x1ltkj2j xv1l7n4 x87ps6o","aria-hidden":"true",children:n.title}),n.items.map(o=>a(po,{icon:o.icon,label:o.label,onClick:o.onClick,isDisabled:o.isDisabled},$p(o)))]},n0(n,r))):"type"in n||(n.items&&n.items.length>0?t.push(a(Bo,{icon:n.icon,label:n.label,isDisabled:n.isDisabled,children:Fo(n.items)},$p(n))):t.push(a(po,{icon:n.icon,label:n.label,onClick:n.onClick,isDisabled:n.isDisabled},$p(n))))}return t}Y();var ra={root:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kOIVth:"xzye2dw",kogj98:"x1ghz6dp","--separator-display":"xkce8z9 x1ibt0lz",$$css:!0},defaultSize:{kGuDYH:"xjm74w1",kLWn49:"xw6l6zx",$$css:!0},supportingSize:{kGuDYH:"x141an7d",kLWn49:"x1ltkj2j",$$css:!0}},o0={popover:{k7Eaqz:"x5w4yej",kqGvvJ:"xsq74q5",$$css:!0}};function jp({ref:e,as:t,children:r,href:n,onClick:o,isCurrent:s,startIcon:i,menu:l,menuSize:u,xstyle:c,className:d,style:p,"data-testid":x,...m}){let f=je(Bc),g=Ze(t),h=f.variant==="supporting",k=_(null),b=_(null),v=s===!0,w=s==null,S=l!=null,$=u??(h?"sm":"md");de(()=>{},[S,n,o]),de(()=>{if(!w)return;let C=k.current;if(!C)return;let R=C.parentElement;if(!R)return;let z=Array.from(R.children),I=z.length>0&&z[z.length-1]===C,A=R.querySelector('[aria-current="page"]');if(I&&!A){let M=b.current??C;return M.setAttribute("aria-current","page"),()=>{M.removeAttribute("aria-current")}}});let N=j(se,{children:[i&&a("span",{className:"x78zum5 x6s0dn4 x2lah0s",children:i}),r]});return v?j("li",{ref:Se(e,k),...P(D("breadcrumb-item"),T(ra.root,h?ra.supportingSize:ra.defaultSize,c),d,p),"data-testid":x,...m,children:[a("span",{"aria-hidden":"true",className:"x11ke7fs x6s0dn4 xv1l7n4 xu0wf1k x87ps6o",children:f.separator}),S?a(Sp,{ref:b,menu:l,menuSize:$,isSupporting:h,isCurrent:!0,label:r,children:N}):a("span",{...{0:{className:"x78zum5 x6s0dn4 xzye2dw x1pd3egz x1tgivj0"},1:{className:"x78zum5 x6s0dn4 xzye2dw x1pd3egz xv1l7n4"}}[!!h<<0],"aria-current":"page",children:N})]}):j("li",{ref:Se(e,k),...P(D("breadcrumb-item"),T(ra.root,h?ra.supportingSize:ra.defaultSize,c),d,p),"data-testid":x,...m,children:[a("span",{"aria-hidden":"true",className:"x11ke7fs x6s0dn4 xv1l7n4 xu0wf1k x87ps6o",children:f.separator}),S?a(Sp,{ref:b,menu:l,menuSize:$,isSupporting:h,label:r,children:N}):n!=null?a(g,{ref:b,href:n,onClick:o,...{0:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk xv1l7n4"},1:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk xv1l7n4"}}[!!h<<0],children:N}):o!=null?a("button",{ref:b,type:"button",onClick:o,...{0:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk x1717udv x1ghz6dp xln7xf2 xv1l7n4"},1:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk x1717udv x1ghz6dp xln7xf2 xv1l7n4"}}[!!h<<0],children:N}):a("span",{ref:b,...{0:{className:"x78zum5 x6s0dn4 xzye2dw x1pd3egz x1tgivj0"},1:{className:"x78zum5 x6s0dn4 xzye2dw x1pd3egz xv1l7n4"}}[!!h<<0],children:N})]})}jp.displayName="BreadcrumbItem";function Sp({ref:e,children:t,label:r,menu:n,menuSize:o,isSupporting:s,isCurrent:i=!1}){let l=ne(),u=_(null),c=nt({onHide:y(()=>{u.current?.focus()},[]),hasLightDismiss:!0,hasCloseButton:!1,hasAutoFocus:!1,role:"none"}),d=y(()=>{c.hide()},[c]),{listRef:p,handleKeyDown:x,focusFirst:m,focusItem:f,ownsEvent:g,getItems:h}=dt({itemSelector:mo,boundarySelector:fo,wrap:!1,onEscape:d}),k=wr({getItemLabels:()=>h().map(C=>C.textContent),onMatch:f,getCurrentIndex:()=>h().findIndex(C=>C===document.activeElement||C.contains(document.activeElement))}),b=y(C=>{if(g(C)){if(C.key==="Enter"||C.key===" "){C.preventDefault();let R=document.activeElement;R&&_n.has(R.getAttribute("role")??"")&&R.click();return}if(C.key==="Tab"){d();return}if(k.onKeyDown(C)){C.preventDefault();return}x(C)}},[x,d,k,g]),v=y(()=>{c.show(),requestAnimationFrame(()=>m())},[c,m]),w=y(()=>{c.isOpen?c.hide():v()},[c,v]),S=y(C=>{c.isOpen||(C.key==="ArrowDown"||C.key==="Enter"||C.key===" ")&&(C.preventDefault(),v())},[c.isOpen,v]),$=H(()=>({closeMenu:d,menuSize:o}),[d,o]),N=Array.isArray(n)?Fo(n):n;return j(se,{children:[j("button",{ref:Se(e,u,c.triggerRef),type:"button",onClick:w,onKeyDown:S,...P(D("breadcrumb-item-menu-trigger"),{...c.triggerProps,"aria-haspopup":"menu","aria-controls":l,"aria-current":i?"page":void 0}),...{0:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk x1717udv x1ghz6dp xln7xf2 xv1l7n4"},1:{className:"x78zum5 x6s0dn4 xzye2dw xu0wf1k x1hl2dhg x4ohgrr x1ypdohk x1717udv x1ghz6dp xln7xf2 xv1l7n4"}}[!!s<<0],children:[t,a("span",{"aria-hidden":"true",className:"x78zum5 x6s0dn4 x2lah0s x141an7d",children:tt("chevronDown")})]}),c.render(a("div",{ref:p,id:l,role:"menu","aria-label":typeof r=="string"?r:void 0,onKeyDown:b,...P(D("breadcrumb-menu"),{className:"x9f619 x78zum5 xdt5ytf x1lsbc85 xuyqlj2 x1odjw0f x1fcsqxe xgory14 x9epnlk x1n97fys x87ps6o"}),children:a(Pr,{value:$,children:N})}),{placement:"below",alignment:"start",xstyle:[o0.popover,At.below]})]})}Sp.displayName="BreadcrumbMenuTrigger";K();le();V();V();Y();var wi={root:{kzqmXN:"xh8yej3",kaIpWk:"x1ws5lxm",kMwMTN:"x1tgivj0",kWkggS:"xjbqb8w x1c52tdz",kkrTdU:"x1ypdohk",kI3sdo:"x1a2a7pz",$$css:!0},disabled:{kSiTet:"xbyyjgo",kkrTdU:"x1h6gzvc",$$css:!0},box:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",kB7OPa:"x9f619",kMzoRj:"x1litavf",ksu8eU:"x1y0btm7",kaIpWk:"xx3sua9",kMwMTN:"x17wrial",k1ekBW:"xts7igz",kIyJzY:"xuedmi6 x12w9bfk",kAMwcw:"xlr8y92",kayTVb:"x1g77sc7 xozvky",keTefX:"x1lziwak x1jymrmb",$$css:!0},unchecked:{kVAM5u:"xvy26l8",kWkggS:"x10xzikg",$$css:!0},checked:{kVAM5u:"xad5do",kWkggS:"x1ewilqj",$$css:!0}},s0={sm:{kzqmXN:"x1xp8n7a",kZKoxP:"xmix8c7",$$css:!0},md:{kzqmXN:"x17z2i9w",kZKoxP:"x17rw0jw",$$css:!0}};function $i({label:e,description:t,icon:r,value:n,onChange:o,isDisabled:s=!1,hasCloseOnSelect:i=!1,endContent:l,xstyle:u,className:c,style:d,...p}){let x=sn(),m=x?.menuSize??"md",f=m==="sm"?"sm":"md",g=y(()=>{s||(o?.(!n),i&&x?.closeMenu())},[s,o,n,i,x]),h=y(k=>ta(k,s),[s]);return a(Xt,{...p,role:"menuitemcheckbox","aria-checked":n,tabIndex:s?void 0:-1,onPointerMove:h,marker:a("span",{"aria-hidden":"true",...P(D("dropdown-menu-checkbox",{size:f,checked:n?"checked":null,disabled:s?"disabled":null}),T(wi.box,s0[f],n?wi.checked:wi.unchecked)),children:n&&a(he,{icon:"check",size:"sm",color:"inherit"})}),startContent:r?et(r,{size:"sm",color:"secondary"}):void 0,label:e,description:t,endContent:l,onClick:g,isDisabled:s,xstyle:[wi.root,s&&wi.disabled,u],...P(D("dropdown-menu-item",{size:m}),{className:c,style:d})})}$i.displayName="DropdownMenuCheckboxItem";K();V();V();Y();function Si({value:e,onChange:t,hasCloseOnSelect:r=!0,children:n,className:o,style:s,...i}){let l=H(()=>({value:e,onChange:t,hasCloseOnSelect:r}),[e,t,r]);return a("div",{...i,role:"group",...P({className:"x78zum5 xdt5ytf x1lsbc85"},{className:o,style:s}),children:a(Wc,{value:l,children:n})})}Si.displayName="DropdownMenuRadioGroup";K();le();V();V();Y();var na={root:{kzqmXN:"xh8yej3",kaIpWk:"x1ws5lxm",kMwMTN:"x1tgivj0",kWkggS:"xjbqb8w x1c52tdz",kkrTdU:"x1ypdohk",kI3sdo:"x1a2a7pz",$$css:!0},disabled:{kSiTet:"xbyyjgo",kkrTdU:"x1h6gzvc",$$css:!0},circle:{k1xSpc:"x78zum5",kGNEyG:"x6s0dn4",kjj79g:"xl56j7k",kmuXW:"x2lah0s",kB7OPa:"x9f619",kMzoRj:"x1litavf",ksu8eU:"x1y0btm7",kaIpWk:"x16rqkct",k1ekBW:"xts7igz",kIyJzY:"xuedmi6 x12w9bfk",kAMwcw:"xlr8y92",kayTVb:"x1g77sc7 xozvky",keTefX:"x1lziwak x1jymrmb",$$css:!0},unchecked:{kVAM5u:"xvy26l8",kWkggS:"x10xzikg",$$css:!0},checked:{kVAM5u:"xad5do",kWkggS:"x1ewilqj",$$css:!0},dot:{kaIpWk:"x16rqkct",kWkggS:"x1azo05",$$css:!0}},a0={sm:{kzqmXN:"x1xp8n7a",kZKoxP:"xmix8c7",$$css:!0},md:{kzqmXN:"x17z2i9w",kZKoxP:"x17rw0jw",$$css:!0}},i0={sm:{kzqmXN:"x1v4s8kt",kZKoxP:"xols6we",$$css:!0},md:{kzqmXN:"x1xc55vz",kZKoxP:"xdk7pt",$$css:!0}};function ji({value:e,label:t,description:r,icon:n,isDisabled:o=!1,endContent:s,xstyle:i,className:l,style:u,...c}){let d=sn(),p=kg();if(!p)throw new Error("DropdownMenuRadioItem must be used within a DropdownMenuRadioGroup");let x=d?.menuSize??"md",m=x==="sm"?"sm":"md",f=p.value===e,g=y(()=>{o||(p.onChange(e),p.hasCloseOnSelect&&d?.closeMenu())},[o,p,e,d]),h=y(k=>ta(k,o),[o]);return a(Xt,{...c,role:"menuitemradio","aria-checked":f,tabIndex:o?void 0:-1,onPointerMove:h,marker:a("span",{"aria-hidden":"true",...P(D("dropdown-menu-radio",{size:m,checked:f?"checked":null,disabled:o?"disabled":null}),T(na.circle,a0[m],f?na.checked:na.unchecked)),children:f&&a("span",{...T(na.dot,i0[m])})}),startContent:n?et(n,{size:"sm",color:"secondary"}):void 0,label:t,description:r,endContent:s,onClick:g,isDisabled:o,xstyle:[na.root,o&&na.disabled,i],...P(D("dropdown-menu-item",{size:x}),{className:l,style:u})})}ji.displayName="DropdownMenuRadioItem";K();le();V();V();ie();Y();var vg={group:{k1xSpc:"x3nfvp2",kGNEyG:"x1qjc9v5",$$css:!0},vertical:{kXwgrk:"xdt5ytf",$$css:!0}},l0={none:{kGVxlE:"x1gnnqk1",$$css:!0},low:{kGVxlE:"x1i5ehqx",kaIpWk:"xh6dtrn",$$css:!0},med:{kGVxlE:"x14hfi27",kaIpWk:"xh6dtrn",$$css:!0},high:{kGVxlE:"x1kcpxr7",kaIpWk:"xh6dtrn",$$css:!0}};function Cp({children:e,label:t,orientation:r="horizontal",size:n,isDisabled:o=!1,elevation:s="none",xstyle:i,className:l,style:u,ref:c,"data-testid":d,onKeyDown:p,...x}){let m=Je(n,"md"),{listRef:f,handleKeyDown:g}=dt({itemSelector:'button, [tabindex="0"]',orientation:r}),h=H(()=>({orientation:r,isDisabled:o}),[r,o]);return a(Tc,{value:h,children:a(lo,{value:m,children:a("div",{ref:Se(c,f),...x,...P(D("button-group",{size:m,orientation:r}),T(vg.group,r==="vertical"&&vg.vertical,l0[s],i),l,u),role:"group","aria-label":t,onKeyDown:_t(p,g),"aria-disabled":o||void 0,"data-testid":d,children:e})})})}Cp.displayName="ButtonGroup";Y();function Ho({icon:e,...t}){return a(Ve,{...t,icon:e,isIconOnly:!0})}Ho.displayName="IconButton";le();V();V();V();V();var wg={container:{kB7OPa:"x9f619",kZCmMZ:"x1c35znw",kwRFfy:"x64h4k7",kLKAdn:"x14m0hsi",kGO01o:"xc1wllq",$$css:!0}},zp=it["--spacing-4"],Tp=`var(--pharos-card-padding, ${zp})`,$g=`var(--pharos-card-padding-inline, ${Tp})`,AP=`var(--pharos-card-padding-inline-start, ${$g})`,DP=`var(--pharos-card-padding-inline-end, ${$g})`,PP=`var(--pharos-card-padding-block-start, ${Tp})`,RP=`var(--pharos-card-padding-block-end, ${Tp})`,Ip=`var(--pharos-section-padding, ${zp})`,Sg=`var(--pharos-section-padding-inline, ${Ip})`,_P=`var(--pharos-section-padding-inline-start, ${Sg})`,VP=`var(--pharos-section-padding-inline-end, ${Sg})`,qP=`var(--pharos-section-padding-block-start, ${Ip})`,LP=`var(--pharos-section-padding-block-end, ${Ip})`,Np=`var(--pharos-dialog-padding, ${zp})`,jg=`var(--pharos-dialog-padding-inline, ${Np})`,OP=`var(--pharos-dialog-padding-inline-start, ${jg})`,BP=`var(--pharos-dialog-padding-inline-end, ${jg})`,FP=`var(--pharos-dialog-padding-block-start, ${Np})`,HP=`var(--pharos-dialog-padding-block-end, ${Np})`,c0={containerPaddingInlineStart:{"--container-padding-inline-start":"xsm1zne",$$css:!0},containerPaddingInlineEnd:{"--container-padding-inline-end":"x1ddhs0b",$$css:!0},containerPaddingBlockStart:{"--container-padding-block-start":"xbtxikj",$$css:!0},containerPaddingBlockEnd:{"--container-padding-block-end":"x67snfl",$$css:!0},layoutPaddingOuterX:{"--layout-padding-outer-x":"x1tkxpnt",$$css:!0},layoutPaddingOuterY:{"--layout-padding-outer-y":"xbhypx5",$$css:!0},layoutPaddingInnerX:{"--layout-padding-inner-x":"xb0vp9d",$$css:!0},layoutPaddingInnerY:{"--layout-padding-inner-y":"x1uhpd8w",$$css:!0}},u0={containerPaddingInlineStart:{"--container-padding-inline-start":"xc1f2vc",$$css:!0},containerPaddingInlineEnd:{"--container-padding-inline-end":"xu3jghy",$$css:!0},containerPaddingBlockStart:{"--container-padding-block-start":"x1s05aoh",$$css:!0},containerPaddingBlockEnd:{"--container-padding-block-end":"xhvvzwd",$$css:!0},layoutPaddingOuterX:{"--layout-padding-outer-x":"x10sxkfw",$$css:!0},layoutPaddingOuterY:{"--layout-padding-outer-y":"xuc2btw",$$css:!0},layoutPaddingInnerX:{"--layout-padding-inner-x":"x4e8xw1",$$css:!0},layoutPaddingInnerY:{"--layout-padding-inner-y":"xvksf8r",$$css:!0}},d0={containerPaddingInlineStart:{"--container-padding-inline-start":"xbfrw3x",$$css:!0},containerPaddingInlineEnd:{"--container-padding-inline-end":"xoliaa0",$$css:!0},containerPaddingBlockStart:{"--container-padding-block-start":"x1fylibr",$$css:!0},containerPaddingBlockEnd:{"--container-padding-block-end":"xee0hy5",$$css:!0},layoutPaddingOuterX:{"--layout-padding-outer-x":"xzg5iyu",$$css:!0},layoutPaddingOuterY:{"--layout-padding-outer-y":"x1m6io3l",$$css:!0},layoutPaddingInnerX:{"--layout-padding-inner-x":"xgg6yy0",$$css:!0},layoutPaddingInnerY:{"--layout-padding-inner-y":"x7bqtqv",$$css:!0}},p0={card:c0,section:u0,dialog:d0},x0={spacing0:{"--container-padding-inline-start":"x1gu2k80",$$css:!0},spacing0_5:{"--container-padding-inline-start":"x14ws0sr",$$css:!0},spacing1:{"--container-padding-inline-start":"x1cvlban",$$css:!0},spacing1_5:{"--container-padding-inline-start":"x176g23i",$$css:!0},spacing2:{"--container-padding-inline-start":"x1xlrr2o",$$css:!0},spacing3:{"--container-padding-inline-start":"xfdwxua",$$css:!0},spacing4:{"--container-padding-inline-start":"x1dlhslv",$$css:!0},spacing5:{"--container-padding-inline-start":"x1s81nki",$$css:!0},spacing6:{"--container-padding-inline-start":"x1ep0dkj",$$css:!0},spacing7:{"--container-padding-inline-start":"x157xojc",$$css:!0},spacing8:{"--container-padding-inline-start":"xw1diwv",$$css:!0},spacing9:{"--container-padding-inline-start":"xraca2a",$$css:!0},spacing10:{"--container-padding-inline-start":"xserb3f",$$css:!0},spacing11:{"--container-padding-inline-start":"xziclwo",$$css:!0},spacing12:{"--container-padding-inline-start":"x1iiwihq",$$css:!0}},m0={spacing0:{"--container-padding-inline-end":"x91ghl5",$$css:!0},spacing0_5:{"--container-padding-inline-end":"x1wz3t3y",$$css:!0},spacing1:{"--container-padding-inline-end":"x2oyxnl",$$css:!0},spacing1_5:{"--container-padding-inline-end":"xntetml",$$css:!0},spacing2:{"--container-padding-inline-end":"xcas3b9",$$css:!0},spacing3:{"--container-padding-inline-end":"xu0ipoa",$$css:!0},spacing4:{"--container-padding-inline-end":"xs0pscg",$$css:!0},spacing5:{"--container-padding-inline-end":"xgkj7vj",$$css:!0},spacing6:{"--container-padding-inline-end":"x94cj42",$$css:!0},spacing7:{"--container-padding-inline-end":"x11tj35w",$$css:!0},spacing8:{"--container-padding-inline-end":"x1b9k1pi",$$css:!0},spacing9:{"--container-padding-inline-end":"x19w02kr",$$css:!0},spacing10:{"--container-padding-inline-end":"xx5lg5w",$$css:!0},spacing11:{"--container-padding-inline-end":"x1nmgbqg",$$css:!0},spacing12:{"--container-padding-inline-end":"x1wsfsk2",$$css:!0}},f0={spacing0:{"--container-padding-block-start":"x1i3qcxz",$$css:!0},spacing0_5:{"--container-padding-block-start":"xvdf9ev",$$css:!0},spacing1:{"--container-padding-block-start":"xnsckjb",$$css:!0},spacing1_5:{"--container-padding-block-start":"x1kbx601",$$css:!0},spacing2:{"--container-padding-block-start":"xa8b4fq",$$css:!0},spacing3:{"--container-padding-block-start":"x11k4f5r",$$css:!0},spacing4:{"--container-padding-block-start":"xm01sq8",$$css:!0},spacing5:{"--container-padding-block-start":"xp8wdkl",$$css:!0},spacing6:{"--container-padding-block-start":"x1hmud4d",$$css:!0},spacing7:{"--container-padding-block-start":"x1c00sag",$$css:!0},spacing8:{"--container-padding-block-start":"xfv60at",$$css:!0},spacing9:{"--container-padding-block-start":"x14fzdu7",$$css:!0},spacing10:{"--container-padding-block-start":"x17h9kl7",$$css:!0},spacing11:{"--container-padding-block-start":"x1rdjxae",$$css:!0},spacing12:{"--container-padding-block-start":"xecwdl6",$$css:!0}},h0={spacing0:{"--container-padding-block-end":"xkunwnr",$$css:!0},spacing0_5:{"--container-padding-block-end":"x1cao3zv",$$css:!0},spacing1:{"--container-padding-block-end":"x57a7ii",$$css:!0},spacing1_5:{"--container-padding-block-end":"xv53x8y",$$css:!0},spacing2:{"--container-padding-block-end":"x1lsgcmx",$$css:!0},spacing3:{"--container-padding-block-end":"x1q3ppug",$$css:!0},spacing4:{"--container-padding-block-end":"x4hfsld",$$css:!0},spacing5:{"--container-padding-block-end":"xbib2ws",$$css:!0},spacing6:{"--container-padding-block-end":"x1q8d17g",$$css:!0},spacing7:{"--container-padding-block-end":"x1yqogew",$$css:!0},spacing8:{"--container-padding-block-end":"x8lgq76",$$css:!0},spacing9:{"--container-padding-block-end":"x1f7f9rt",$$css:!0},spacing10:{"--container-padding-block-end":"x15vxphk",$$css:!0},spacing11:{"--container-padding-block-end":"x4bg2x9",$$css:!0},spacing12:{"--container-padding-block-end":"x186mjxr",$$css:!0}},g0={spacing0:{"--layout-padding-outer-x":"xswhm3q",$$css:!0},spacing0_5:{"--layout-padding-outer-x":"xihiwg7",$$css:!0},spacing1:{"--layout-padding-outer-x":"xc96xmq",$$css:!0},spacing1_5:{"--layout-padding-outer-x":"x1u93lgd",$$css:!0},spacing2:{"--layout-padding-outer-x":"x15dxnc0",$$css:!0},spacing3:{"--layout-padding-outer-x":"xadgj3j",$$css:!0},spacing4:{"--layout-padding-outer-x":"x1v56qcf",$$css:!0},spacing5:{"--layout-padding-outer-x":"x1nzs0gl",$$css:!0},spacing6:{"--layout-padding-outer-x":"x1c3n52a",$$css:!0},spacing7:{"--layout-padding-outer-x":"x1gfiokx",$$css:!0},spacing8:{"--layout-padding-outer-x":"x1t3kfz",$$css:!0},spacing9:{"--layout-padding-outer-x":"xzr4qsh",$$css:!0},spacing10:{"--layout-padding-outer-x":"x1jdf5a4",$$css:!0},spacing11:{"--layout-padding-outer-x":"x1hct0t0",$$css:!0},spacing12:{"--layout-padding-outer-x":"x11cyqoe",$$css:!0}},k0={spacing0:{"--layout-padding-outer-y":"x1mzf5mb",$$css:!0},spacing0_5:{"--layout-padding-outer-y":"x1vj96e0",$$css:!0},spacing1:{"--layout-padding-outer-y":"x1gpfxoh",$$css:!0},spacing1_5:{"--layout-padding-outer-y":"xd3dqby",$$css:!0},spacing2:{"--layout-padding-outer-y":"x10pz7y9",$$css:!0},spacing3:{"--layout-padding-outer-y":"x1p6yq3h",$$css:!0},spacing4:{"--layout-padding-outer-y":"xx738ci",$$css:!0},spacing5:{"--layout-padding-outer-y":"x6yxws5",$$css:!0},spacing6:{"--layout-padding-outer-y":"x180vrwl",$$css:!0},spacing7:{"--layout-padding-outer-y":"x1q6rme1",$$css:!0},spacing8:{"--layout-padding-outer-y":"xid7e43",$$css:!0},spacing9:{"--layout-padding-outer-y":"x1t5kicu",$$css:!0},spacing10:{"--layout-padding-outer-y":"x26l4wa",$$css:!0},spacing11:{"--layout-padding-outer-y":"x10zktp0",$$css:!0},spacing12:{"--layout-padding-outer-y":"x1yz3n6a",$$css:!0}},y0={spacing0:{"--layout-padding-inner-x":"xj1bl4l",$$css:!0},spacing0_5:{"--layout-padding-inner-x":"xlriy2h",$$css:!0},spacing1:{"--layout-padding-inner-x":"x6uuyak",$$css:!0},spacing1_5:{"--layout-padding-inner-x":"xd38f90",$$css:!0},spacing2:{"--layout-padding-inner-x":"xxqksqd",$$css:!0},spacing3:{"--layout-padding-inner-x":"x1fyui2f",$$css:!0},spacing4:{"--layout-padding-inner-x":"x1i2ajwi",$$css:!0},spacing5:{"--layout-padding-inner-x":"x1tac27u",$$css:!0},spacing6:{"--layout-padding-inner-x":"x1ntgf3t",$$css:!0},spacing7:{"--layout-padding-inner-x":"xhjd9tl",$$css:!0},spacing8:{"--layout-padding-inner-x":"xn7c84u",$$css:!0},spacing9:{"--layout-padding-inner-x":"xeqkbsz",$$css:!0},spacing10:{"--layout-padding-inner-x":"x1vf4qco",$$css:!0},spacing11:{"--layout-padding-inner-x":"xsmamsf",$$css:!0},spacing12:{"--layout-padding-inner-x":"x2xk2xj",$$css:!0}},b0={spacing0:{"--layout-padding-inner-y":"xwuefyo",$$css:!0},spacing0_5:{"--layout-padding-inner-y":"x180h0y5",$$css:!0},spacing1:{"--layout-padding-inner-y":"xmpug6m",$$css:!0},spacing1_5:{"--layout-padding-inner-y":"x1g8jpzm",$$css:!0},spacing2:{"--layout-padding-inner-y":"x1lksgje",$$css:!0},spacing3:{"--layout-padding-inner-y":"x4j7gld",$$css:!0},spacing4:{"--layout-padding-inner-y":"x1s3ehtl",$$css:!0},spacing5:{"--layout-padding-inner-y":"x1rj5eim",$$css:!0},spacing6:{"--layout-padding-inner-y":"x1ftgg6u",$$css:!0},spacing7:{"--layout-padding-inner-y":"x1ho74vh",$$css:!0},spacing8:{"--layout-padding-inner-y":"xm2cs6f",$$css:!0},spacing9:{"--layout-padding-inner-y":"x1vsq92b",$$css:!0},spacing10:{"--layout-padding-inner-y":"x18gbwmk",$$css:!0},spacing11:{"--layout-padding-inner-y":"x14zymzj",$$css:!0},spacing12:{"--layout-padding-inner-y":"xzfpkx9",$$css:!0}},v0={containerMaxHeight:e=>[{"--container-max-height":e!=null?"x18nyedi":e,$$css:!0},{"--x---container-max-height":e??void 0}]};function ho({padding:e="spacing4",paddingOuterX:t,paddingOuterY:r,paddingInnerX:n,paddingInnerY:o,useThemeDefault:s,maxHeight:i}){let l=t??e,u=r??e,c=n??e,d=o??e,p=i?v0.containerMaxHeight(i):null;if(s){let x=p0[s];return[wg.container,x.containerPaddingInlineStart,x.containerPaddingInlineEnd,x.containerPaddingBlockStart,x.containerPaddingBlockEnd,x.layoutPaddingOuterX,x.layoutPaddingOuterY,x.layoutPaddingInnerX,x.layoutPaddingInnerY,p]}return[wg.container,x0[l],m0[l],f0[u],h0[u],g0[l],k0[u],y0[c],b0[d],p]}ie();Y();var Ep={card:{"--_card-radius":"x2kkz0m",kaIpWk:"x153u1i6",kVQacm:"x7giv3",kGVxlE:"x1p8z4y0",$$css:!0},withBorder:{kMzoRj:"x1litavf",ksu8eU:"x1y0btm7",kVAM5u:"x14i3s5s",kZCmMZ:"xs19ii7",kwRFfy:"x12frdag",kLKAdn:"x1nex4ik",kGO01o:"xbv1mwh",$$css:!0},scrollable:{kVQacm:"xysyzu8",$$css:!0}},w0={default:{kWkggS:"x1de1mus",$$css:!0},transparent:{kWkggS:"xjbqb8w",$$css:!0},muted:{kWkggS:"xwmxj5m",$$css:!0},blue:{kWkggS:"x1o0wnni",$$css:!0},cyan:{kWkggS:"x1rgj867",$$css:!0},gray:{kWkggS:"xspzpui",$$css:!0},green:{kWkggS:"x1sqjeoo",$$css:!0},orange:{kWkggS:"x1e9xt6e",$$css:!0},pink:{kWkggS:"xnpoty2",$$css:!0},purple:{kWkggS:"x16i6n6f",$$css:!0},red:{kWkggS:"x1cibrc5",$$css:!0},teal:{kWkggS:"x1jtji5o",$$css:!0},yellow:{kWkggS:"x1bo7t0x",$$css:!0}},$0={none:{"--_card-elevation":"xw28qpl",$$css:!0},low:{"--_card-elevation":"x1nn8khe",$$css:!0},med:{"--_card-elevation":"x1ovzxg0",$$css:!0},high:{"--_card-elevation":"xnpe7fx",$$css:!0}},S0={sizing:(e,t,r,n)=>[{kzqmXN:e!=null?"x5lhr3w":e,kZKoxP:t!=null?"x16ye13r":t,ks0D6T:r!=null?"xf68679":r,kAzted:n!=null?"x82snj4":n,$$css:!0},{"--x-width":(o=>typeof o=="number"?o+"px":o??void 0)(e),"--x-height":(o=>typeof o=="number"?o+"px":o??void 0)(t),"--x-maxWidth":(o=>typeof o=="number"?o+"px":o??void 0)(r),"--x-minHeight":(o=>typeof o=="number"?o+"px":o??void 0)(n)}]};function Wo({width:e,height:t,maxWidth:r,minHeight:n,children:o,padding:s,variant:i="default",elevation:l="none",xstyle:u,className:c,style:d,ref:p,...x}){let m=t!=null&&t!=="auto",f=s==null,g=s??4,h=Ls[g];return a("div",{ref:p,...P(D("card",{variant:i}),T(Ep.card,w0[i],$0[l],m&&Ep.scrollable,S0.sizing(e??null,t??null,r??null,n??null),...ho(f?{useThemeDefault:"card"}:{paddingInnerX:h,paddingInnerY:h,paddingOuterX:h,paddingOuterY:h}),!f&&g!==4&&gr[g],!f&&g!==4&&kr[g],!f&&g!==4&&cr[g],!f&&g!==4&&ur[g],i==="default"&&Ep.withBorder,u),c,d),...x,children:o})}Wo.displayName="Card";K();V();V();K();var Ci=["button","a","input","select","textarea",'[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="switch"]','[role="tab"]','[role="menuitem"]','[role="option"]','[role="combobox"]','[role="listbox"]','[role="slider"]','[role="spinbutton"]',"[data-pressable-container]"].join(","),j0='[aria-readonly="true"]';function Cg(e,t){let r=e;for(;r!=null&&r!==t&&r!==document.body;){if(r.matches(Ci)&&!r.matches(j0))return!0;r=r.parentElement}return!1}function C0(e){if(typeof document>"u"||!("getSelection"in document))return!1;let t=document.getSelection();return t==null||t.isCollapsed?!1:e.contains(t.anchorNode)}function Rr({containerRef:e,interactiveRef:t,onClick:r,href:n,target:o,disabled:s=!1}){de(()=>{let u=e.current;u&&u.setAttribute("data-pressable-container","true")},[e]);let i=y(u=>{if(s)return;let c=e.current;if(!c||C0(c))return;let d=u.target;if(d instanceof Element&&!(d!==u.currentTarget&&Cg(d,c))&&(r?.(u),!u.defaultPrevented&&(n!=null&&(o==="_blank"||u.ctrlKey||u.metaKey?window.open(n,"_blank","noopener"):t?.current?t.current.click():window.location.href=n),n==null&&r==null&&t?.current))){let p=new MouseEvent("click",{bubbles:u.bubbles,cancelable:u.cancelable,ctrlKey:u.ctrlKey,metaKey:u.metaKey,shiftKey:u.shiftKey,altKey:u.altKey,button:u.button});t.current.dispatchEvent(p),u.stopPropagation()}},[e,t,r,n,o,s]),l=y(u=>{if(s)return;let c=e.current;if(!c)return;let d=u.target;if(!(d instanceof Element))return;u.button===1&&n!=null&&(d===u.currentTarget||!Cg(d,c))&&window.open(n,"_blank","noopener")},[e,n,s]);return{onClick:i,onMouseUp:l}}ie();Y();var go={interactive:{kVAEAm:"x1n2onr6",kkrTdU:"x1ypdohk",kybGjl:"x1hl2dhg",kMwMTN:"x1heor9g",kInvED:"x1hl8ikr",$$css:!0},focusWithin:{kRYL1X:"x1irc7jg",koJ47v:"xdjuwb3",$$css:!0},overlay:{k5JduY:"x1s928wv",kwXMNM:"x1j6awrg",kv0HGH:"xarstr8",kloYau:"x2q1x1w",kRicXK:"x1ywzrc5",kPNhGg:"x97pup0",kA8PQs:"x1dlmc9c",ks3ayO:"xyhc2n1",kAcZsS:"x1k7wiig",$$css:!0},hoverOnPointer:{kJs8I2:"xi14tyy",$$css:!0},borderless:{kMzoRj:"xc342km",$$css:!0},bordered:{kVAM5u:"x14i3s5s",kZCmMZ:"xs19ii7",kwRFfy:"x12frdag",kLKAdn:"x1nex4ik",kGO01o:"xbv1mwh",k1ekBW:"xshfolx",kIyJzY:"xuedmi6",kAMwcw:"xlr8y92",$$css:!0},borderedHoverOnPointer:{kbt25U:"x1ww4t2b",$$css:!0},disabled:{kkrTdU:"x1h6gzvc",kSiTet:"xbyyjgo",$$css:!0}};function Mp({label:e,onClick:t,onMouseUp:r,href:n,target:o,isDisabled:s=!1,children:i,padding:l,variant:u="default",elevation:c="none",width:d,height:p,maxWidth:x,ref:m,xstyle:f,className:g,style:h,...k}){let b=_(null),v=_(null),w=Ze(),{onClick:S,onMouseUp:$}=Rr({containerRef:b,interactiveRef:v,onClick:t,href:n,target:o,disabled:s}),N=r?z=>{$(z),r(z)}:$,C=n!=null,R=u==="default";return j(Wo,{ref:Se(m,b),width:d,height:p,maxWidth:x,padding:l,variant:u,elevation:c,...P(D("clickable-card",{variant:u}),{className:g,style:h}),xstyle:[go.interactive,go.focusWithin,R?go.bordered:go.borderless,!s&&go.overlay,!s&&go.hoverOnPointer,!s&&R&&go.borderedHoverOnPointer,s&&go.disabled,f],onClick:s?void 0:S,onMouseUp:s?void 0:N,...k,children:[C?a(w,{ref:v,href:n,target:o,"aria-label":e,"aria-disabled":s||void 0,tabIndex:s?-1:0,className:"x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km"}):a("button",{ref:v,type:"button","aria-label":e,disabled:s,onClick:t,className:"x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km"}),i]})}Mp.displayName="ClickableCard";K();le();V();V();In();K();K();var Gc=Ne(null);Gc.displayName="LayerContext";function zg(){return je(Gc)}K();le();V();V();K();V();V();K();br();le();V();V();Ro();Y();var Kc={base:{k1xSpc:"xjp7ctv",kMwMTN:"x1tgivj0",kMv6JI:"x9ynric",$$css:!0},light:{kQNsl9:"x19aimcq",$$css:!0},dark:{kQNsl9:"xntwwlm",$$css:!0},system:{kQNsl9:"x108lcm5",$$css:!0}},Dp=Ha.createContext(!1);Dp.displayName="ThemeNestingContext";var Ap=new Set;function z0(e){let t=ne();Nl(()=>{if(e.__built)return;let r=`pharos-theme-${e.name}`;if(Ap.has(r))return;so(`theme-injection:${e.name}`,"Theme",`"${e.name}" is using runtime style injection. For better performance, use the pre-built theme:
|
|
66
66
|
|