eidotter 0.40.1 → 0.40.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/dist/index.umd.js CHANGED
@@ -8,4 +8,4 @@
8
8
  * {
9
9
  overscroll-behavior: contain;
10
10
  }
11
- }`,document.head.prepend(i);let o=e=>{if(!(e.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},s=e=>{let t=K(e),n=e.relatedTarget;n&&jt(n)?(n.focus({preventScroll:!0}),Ec(n,jt(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},c=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=G(),n=t!=null&&jt(t);c.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&Ec(this,n)};let l=m(Tc(document,`touchstart`,r,{passive:!1,capture:!0}),Tc(document,`touchmove`,o,{passive:!1,capture:!0}),Tc(document,`blur`,s,!0));return()=>{e(),l(),i.remove(),HTMLElement.prototype.focus=c}}function wc(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Tc(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Ec(e,t){t||!vc?Dc(e):vc.addEventListener(`resize`,()=>Dc(e),{once:!0})}function Dc(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=pi(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;vc&&(n=Math.min(n,vc.offsetTop+vc.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function Oc(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=_c({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:m,placement:h,triggerAnchorPoint:g}=dc({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null});return xc({isDisabled:a||!t.isOpen}),(0,p.useEffect)(()=>{if(t.isOpen&&r.current)return a?Ls(i?.current??r.current):Is([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]),{popoverProps:I(u,f),arrowProps:m,underlayProps:d,placement:h,triggerAnchorPoint:g}}var kc={};kc={dismiss:`تجاهل`};var Ac={};Ac={dismiss:`Отхвърляне`};var jc={};jc={dismiss:`Odstranit`};var Mc={};Mc={dismiss:`Luk`};var Nc={};Nc={dismiss:`Schließen`};var Pc={};Pc={dismiss:`Απόρριψη`};var Fc={};Fc={dismiss:`Dismiss`};var Ic={};Ic={dismiss:`Descartar`};var Lc={};Lc={dismiss:`Lõpeta`};var Rc={};Rc={dismiss:`Hylkää`};var zc={};zc={dismiss:`Rejeter`};var Bc={};Bc={dismiss:`התעלם`};var Vc={};Vc={dismiss:`Odbaci`};var Hc={};Hc={dismiss:`Elutasítás`};var Uc={};Uc={dismiss:`Ignora`};var Wc={};Wc={dismiss:`閉じる`};var Gc={};Gc={dismiss:`무시`};var Kc={};Kc={dismiss:`Atmesti`};var qc={};qc={dismiss:`Nerādīt`};var Jc={};Jc={dismiss:`Lukk`};var Yc={};Yc={dismiss:`Negeren`};var Xc={};Xc={dismiss:`Zignoruj`};var Zc={};Zc={dismiss:`Descartar`};var Qc={};Qc={dismiss:`Dispensar`};var $c={};$c={dismiss:`Revocare`};var el={};el={dismiss:`Пропустить`};var tl={};tl={dismiss:`Zrušiť`};var nl={};nl={dismiss:`Opusti`};var rl={};rl={dismiss:`Odbaci`};var il={};il={dismiss:`Avvisa`};var al={};al={dismiss:`Kapat`};var ol={};ol={dismiss:`Скасувати`};var sl={};sl={dismiss:`取消`};var cl={};cl={dismiss:`關閉`};var ll={};ll={"ar-AE":kc,"bg-BG":Ac,"cs-CZ":jc,"da-DK":Mc,"de-DE":Nc,"el-GR":Pc,"en-US":Fc,"es-ES":Ic,"et-EE":Lc,"fi-FI":Rc,"fr-FR":zc,"he-IL":Bc,"hr-HR":Vc,"hu-HU":Hc,"it-IT":Uc,"ja-JP":Wc,"ko-KR":Gc,"lt-LT":Kc,"lv-LV":qc,"nb-NO":Jc,"nl-NL":Yc,"pl-PL":Xc,"pt-BR":Zc,"pt-PT":Qc,"ro-RO":$c,"ru-RU":el,"sk-SK":tl,"sl-SI":nl,"sr-SP":rl,"sv-SE":il,"tr-TR":al,"uk-UA":ol,"zh-CN":sl,"zh-TW":cl};function ul(e){return e&&e.__esModule?e.default:e}function dl(e){let{onDismiss:t,...n}=e,r=Ft(n,on(ul(ll),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return p.default.createElement(Si,null,p.default.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function fl({children:e}){let t=(0,p.useMemo)(()=>({register:()=>{}}),[]);return p.default.createElement(br.Provider,{value:t},e)}var pl=(0,p.createContext)({});function ml(){return(0,p.useContext)(pl)??{}}var hl=p.default.createContext(null);function gl(e){let t=O(),{portalContainer:r=t?null:document.body,isExiting:i}=e,[a,o]=(0,p.useState)(!1),s=(0,p.useMemo)(()=>({contain:a,setContain:o}),[a,o]),{getContainer:c}=ml();if(!e.portalContainer&&c&&(r=c()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=p.default.createElement(io,{restoreFocus:!0,contain:(e.shouldContainFocus||a)&&!i},l)),l=p.default.createElement(hl.Provider,{value:s},p.default.createElement(fl,null,l)),n.default.createPortal(l,r)}function _l(){let e=(0,p.useContext)(hl)?.setContain;h(()=>{e?.(!0)},[e])}function vl(e){let[t,n]=cn(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,p.useCallback)(()=>{n(!0)},[n]),close:(0,p.useCallback)(()=>{n(!1)},[n]),toggle:(0,p.useCallback)(()=>{n(!t)},[n,t])}}function yl(e,t=!0){let[n,r]=(0,p.useState)(!0),i=n&&t;return h(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),xl(e,i,(0,p.useCallback)(()=>r(!1),[])),i}function bl(e,t){let[n,r]=(0,p.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`);break}let i=n===`exiting`;return xl(e,i,(0,p.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function xl(e,t,r){h(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){r();return}let t=e.current.getAnimations();if(t.length===0){r();return}let i=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{i||(0,n.flushSync)(()=>{r()})}),()=>{i=!0}}},[e,t,r])}var Sl=(0,p.createContext)(null),Cl=(0,p.createContext)(null),wl=(0,p.forwardRef)(function(e,t){[e,t]=V(e,t,Sl);let n=(0,p.useContext)(fu),r=vl(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=bl(t,i.isOpen)||e.isExiting||!1,o=Rn(),{direction:s}=Kt();if(o){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),p.default.createElement(p.default.Fragment,null,t)}return i&&!i.isOpen&&!a?null:p.default.createElement(Tl,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:a,dir:s})});function Tl({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,p.useRef)(null),o=(0,p.useRef)(null),s=(0,p.useContext)(Cl),c=s&&i.trigger===`SubmenuTrigger`,{popoverProps:l,underlayProps:u,arrowProps:d,placement:f,triggerAnchorPoint:m}=Oc({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),g=i.popoverRef,_=yl(g,!!f)||i.isEntering||!1,v=z({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:f,isEntering:_,isExiting:t}}),y=!i.isNonModal||i.trigger===`SubmenuTrigger`,[b,x]=(0,p.useState)(!1);h(()=>{g.current&&x(y&&!g.current.querySelector(`[role=dialog]`))},[g,y]),(0,p.useEffect)(()=>{b&&(i.trigger!==`SubmenuTrigger`||wt()!==`pointer`)&&g.current&&!ge(g.current)&&Dn(g.current)},[b,g,i.trigger]);let S=(0,p.useMemo)(()=>{let e=v.children;if(r)for(let t of r)e=p.default.createElement(t.Provider,{value:null},e);return e},[v.children,r]),[C,w]=(0,p.useState)(null),T=(0,p.useCallback)(()=>{i.triggerRef.current&&w(i.triggerRef.current.getBoundingClientRect().width+`px`)},[i.triggerRef]);h(T,[T]),lc({ref:v.style?.[`--trigger-width`]?void 0:i.triggerRef,onResize:T});let E={...l.style,"--trigger-anchor-point":m?`${m.x}px ${m.y}px`:void 0,...v.style,"--trigger-width":v.style?.[`--trigger-width`]||C},D=p.default.createElement(H.div,{...I(q(i,{global:!0}),l),...v,role:b?`dialog`:void 0,tabIndex:b?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:g,slot:i.slot||void 0,style:E,dir:i.dir,"data-trigger":i.trigger,"data-placement":f,"data-entering":_||void 0,"data-exiting":t||void 0},!i.isNonModal&&p.default.createElement(dl,{onDismiss:e.close}),p.default.createElement(js.Provider,{value:{...d,placement:f,ref:a}},S),p.default.createElement(dl,{onDismiss:e.close}));return c?p.default.createElement(gl,{...i,shouldContainFocus:b,isExiting:t,portalContainer:n??s?.current??void 0},D):p.default.createElement(gl,{...i,shouldContainFocus:b,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&p.default.createElement(`div`,{"data-testid":`underlay`,...u,style:{position:`fixed`,inset:0}}),p.default.createElement(`div`,{ref:o,style:{display:`contents`}},p.default.createElement(Cl.Provider,{value:o},D)))}var El={};El={longPressMessage:`اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`};var Dl={};Dl={longPressMessage:`Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто`};var Ol={};Ol={longPressMessage:`Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku`};var kl={};kl={longPressMessage:`Langt tryk eller tryk på Alt + pil ned for at åbne menuen`};var Al={};Al={longPressMessage:`Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen`};var jl={};jl={longPressMessage:`Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού`};var Ml={};Ml={longPressMessage:`Long press or press Alt + ArrowDown to open menu`};var Nl={};Nl={longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú`};var Pl={};Pl={longPressMessage:`Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool`};var Fl={};Fl={longPressMessage:`Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli`};var Il={};Il={longPressMessage:`Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu.`};var Ll={};Ll={longPressMessage:`לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט`};var Rl={};Rl={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`};var zl={};zl={longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához`};var Bl={};Bl={longPressMessage:`Premi a lungo o premi Alt + Freccia giù per aprire il menu`};var Vl={};Vl={longPressMessage:`長押しまたは Alt+下矢印キーでメニューを開く`};var Hl={};Hl={longPressMessage:`길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기`};var Ul={};Ul={longPressMessage:`Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“.`};var Wl={};Wl={longPressMessage:`Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa`};var Gl={};Gl={longPressMessage:`Langt trykk eller trykk Alt + PilNed for å åpne menyen`};var Kl={};Kl={longPressMessage:`Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`};var ql={};ql={longPressMessage:`Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu`};var Jl={};Jl={longPressMessage:`Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`};var Yl={};Yl={longPressMessage:`Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`};var Xl={};Xl={longPressMessage:`Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul`};var Zl={};Zl={longPressMessage:`Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню`};var Ql={};Ql={longPressMessage:`Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol`};var $l={};$l={longPressMessage:`Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol`};var eu={};eu={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`};var tu={};tu={longPressMessage:`Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn`};var nu={};nu={longPressMessage:`Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın`};var ru={};ru={longPressMessage:`Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню`};var iu={};iu={longPressMessage:`长按或按 Alt + 向下方向键以打开菜单`};var au={};au={longPressMessage:`長按或按 Alt+向下鍵以開啟功能表`};var ou={};ou={"ar-AE":El,"bg-BG":Dl,"cs-CZ":Ol,"da-DK":kl,"de-DE":Al,"el-GR":jl,"en-US":Ml,"es-ES":Nl,"et-EE":Pl,"fi-FI":Fl,"fr-FR":Il,"he-IL":Ll,"hr-HR":Rl,"hu-HU":zl,"it-IT":Bl,"ja-JP":Vl,"ko-KR":Hl,"lt-LT":Ul,"lv-LV":Wl,"nb-NO":Gl,"nl-NL":Kl,"pl-PL":ql,"pt-BR":Jl,"pt-PT":Yl,"ro-RO":Xl,"ru-RU":Zl,"sk-SK":Ql,"sl-SI":$l,"sr-SP":eu,"sv-SE":tu,"tr-TR":nu,"uk-UA":ru,"zh-CN":iu,"zh-TW":au};function su(e,t,n){let{type:r}=e,{isOpen:i}=t;(0,p.useEffect)(()=>{n&&n.current&&oc.set(n.current,t.close)});let a;r===`menu`?a=!0:r===`listbox`&&(a=`listbox`);let o=N();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}function cu(e){return e&&e.__esModule?e.default:e}function lu(e,t,n){let{type:r=`menu`,isDisabled:i,trigger:a=`press`}=e,o=N(),{triggerProps:s,overlayProps:c}=su({type:r},t,n),l=e=>{if(!i&&!(a===`longPress`&&!e.altKey)&&n&&n.current)switch(e.key){case`Enter`:case` `:if(a===`longPress`||e.isDefaultPrevented())return;case`ArrowDown`:`continuePropagation`in e||e.stopPropagation(),e.preventDefault(),t.toggle(`first`);break;case`ArrowUp`:`continuePropagation`in e||e.stopPropagation(),e.preventDefault(),t.toggle(`last`);break;default:`continuePropagation`in e&&e.continuePropagation()}},u=on(cu(ou),`@react-aria/menu`),{longPressProps:d}=Ko({isDisabled:i||a!==`longPress`,accessibilityDescription:u.format(`longPressMessage`),onLongPressStart(){t.close()},onLongPress(){t.open(`first`)}}),f={preventFocusOnPress:!0,onPressStart(e){e.pointerType!==`touch`&&e.pointerType!==`keyboard`&&!i&&(xe(e.target),t.open(e.pointerType===`virtual`?`first`:null))},onPress(e){e.pointerType===`touch`&&!i&&(xe(e.target),t.toggle())}};return delete s.onPress,{menuTriggerProps:{...s,...a===`press`?f:d,id:o,onKeyDown:l},menuProps:{...c,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function uu(e,t){let{role:n=`dialog`}=e,r=P();r=e[`aria-label`]?void 0:r;let i=(0,p.useRef)(!1);(0,p.useEffect)(()=>{if(t.current&&!ge(t.current)){Dn(t.current);let e=setTimeout(()=>{(G()===t.current||G()===document.body)&&(i.current=!0,t.current&&(t.current.blur(),Dn(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),_l();let a=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{if(process.env.NODE_ENV!==`production`&&!a.current&&t.current){let e=t.current,n=e.hasAttribute(`aria-label`),r=e.hasAttribute(`aria-labelledby`);!n&&!r&&(console.warn(`A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog.`),a.current=!0)}}),{dialogProps:{...q(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}var du=(0,p.createContext)(null),fu=(0,p.createContext)(null),pu=(0,p.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=V(e,t,du);let{dialogProps:r,titleProps:i}=uu({...e,"aria-labelledby":n},t),a=(0,p.useContext)(fu);!r[`aria-label`]&&!r[`aria-labelledby`]&&(e[`aria-labelledby`]?r[`aria-labelledby`]=e[`aria-labelledby`]:process.env.NODE_ENV!==`production`&&console.warn(`If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.`));let o=z({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:a?.close||(()=>{})}}),s=q(e,{global:!0});return p.default.createElement(H.section,{...I(s,o,r),render:e.render,ref:t,slot:e.slot||void 0},p.default.createElement(ie,{values:[[ci,{slots:{[R]:{},title:{...i,level:2}}}],[ai,{slots:{[R]:{},close:{onPress:()=>a?.close()}}}]]},o.children))}),mu={};mu={buttonLabel:`عرض المقترحات`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{627}\u{644}\u{645}\u{62C}\u{645}\u{648}\u{639}\u{629} \u{627}\u{644}\u{645}\u{62F}\u{62E}\u{644}\u{629} ${e.groupTitle}, \u{645}\u{639} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, محدد`,other:``},e.isSelected)}`,listboxLabel:`مقترحات`,selectedAnnouncement:e=>`${e.optionText}\u{60C} \u{645}\u{62D}\u{62F}\u{62F}`};var hu={};hu={buttonLabel:`Покажи предложения`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})} \u{43D}\u{430} \u{440}\u{430}\u{437}\u{43F}\u{43E}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{435}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{44A}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, избрани`,other:``},e.isSelected)}`,listboxLabel:`Предложения`,selectedAnnouncement:e=>`${e.optionText}, \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`};var gu={};gu={buttonLabel:`Zobrazit doporučení`,countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} mo\u{17E}nost`,other:()=>`jsou/je ${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina \u{201E}${e.groupTitle}\u{201C} ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} mo\u{17E}nost\xed`,other:()=>`se ${t.number(e.groupCount)} mo\u{17E}nostmi`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:` (vybráno)`,other:``},e.isSelected)}`,listboxLabel:`Návrhy`,selectedAnnouncement:e=>`${e.optionText}, vybr\xe1no`};var _u={};_u={buttonLabel:`Vis forslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xe6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xe6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valgt`,other:``},e.isSelected)}`,listboxLabel:`Forslag`,selectedAnnouncement:e=>`${e.optionText}, valgt`};var vu={};vu={buttonLabel:`Empfehlungen anzeigen`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xfcgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, ausgewählt`,other:``},e.isSelected)}`,listboxLabel:`Empfehlungen`,selectedAnnouncement:e=>`${e.optionText}, ausgew\xe4hlt`};var yu={};yu={buttonLabel:`Προβολή προτάσεων`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2} `})} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B5}\u{3C2}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3BF}\u{3BC}\u{3AC}\u{3B4}\u{3B1} ${e.groupTitle}, \u{3BC}\u{3B5} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, επιλεγμένο`,other:``},e.isSelected)}`,listboxLabel:`Προτάσεις`,selectedAnnouncement:e=>`${e.optionText}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5}`};var bu={};bu={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selected`,other:``},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:`Show suggestions`,listboxLabel:`Suggestions`};var xu={};xu={buttonLabel:`Mostrar sugerencias`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xf3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xf3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, seleccionado`,other:``},e.isSelected)}`,listboxLabel:`Sugerencias`,selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Su={};Su={buttonLabel:`Kuva soovitused`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud r\xfchm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valitud`,other:``},e.isSelected)}`,listboxLabel:`Soovitused`,selectedAnnouncement:e=>`${e.optionText}, valitud`};var Cu={};Cu={buttonLabel:`Näytä ehdotukset`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xe4\xe4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valittu`,other:``},e.isSelected)}`,listboxLabel:`Ehdotukset`,selectedAnnouncement:e=>`${e.optionText}, valittu`};var wu={};wu={buttonLabel:`Afficher les suggestions`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, sélectionné(s)`,other:``},e.isSelected)}`,listboxLabel:`Suggestions`,selectedAnnouncement:e=>`${e.optionText}, s\xe9lectionn\xe9`};var Tu={};Tu={buttonLabel:`הצג הצעות`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})} \u{5D1}\u{5DE}\u{5E6}\u{5D1} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5E0}\u{5DB}\u{5E0}\u{5E1} \u{5DC}\u{5E7}\u{5D1}\u{5D5}\u{5E6}\u{5D4} ${e.groupTitle}, \u{5E2}\u{5DD} ${t.plural(e.groupCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, נבחר`,other:``},e.isSelected)}`,listboxLabel:`הצעות`,selectedAnnouncement:e=>`${e.optionText}, \u{5E0}\u{5D1}\u{5D7}\u{5E8}`};var Eu={};Eu={buttonLabel:`Prikaži prijedloge`,countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, odabranih`,other:``},e.isSelected)}`,listboxLabel:`Prijedlozi`,selectedAnnouncement:e=>`${e.optionText}, odabrano`};var Du={};Du={buttonLabel:`Javaslatok megjelenítése`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`,other:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`})} \xe1ll rendelkez\xe9sre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Bel\xe9pett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`,other:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`})} tartalmaz. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, kijelölve`,other:``},e.isSelected)}`,listboxLabel:`Javaslatok`,selectedAnnouncement:e=>`${e.optionText}, kijel\xf6lve`};var Ou={};Ou={buttonLabel:`Mostra suggerimenti`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selezionato`,other:``},e.isSelected)}`,listboxLabel:`Suggerimenti`,selectedAnnouncement:e=>`${e.optionText}, selezionato`};var ku={};ku={buttonLabel:`候補を表示`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{5229}\u{7528}\u{3067}\u{304D}\u{307E}\u{3059}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5165}\u{529B}\u{3055}\u{308C}\u{305F}\u{30B0}\u{30EB}\u{30FC}\u{30D7} ${e.groupTitle}\u{3001}${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{542B}\u{3080}\u{3002}`,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`、選択済み`,other:``},e.isSelected)}`,listboxLabel:`候補`,selectedAnnouncement:e=>`${e.optionText}\u{3001}\u{9078}\u{629E}\u{6E08}\u{307F}`};var Au={};Au={buttonLabel:`제안 사항 표시`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`})}\u{C744} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C788}\u{C2B5}\u{B2C8}\u{B2E4}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{C785}\u{B825}\u{D55C} \u{ADF8}\u{B8F9} ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 선택됨`,other:``},e.isSelected)}`,listboxLabel:`제안`,selectedAnnouncement:e=>`${e.optionText}, \u{C120}\u{D0DD}\u{B428}`};var ju={};ju={buttonLabel:`Rodyti pasiūlymus`,countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-i\u{173})`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{12E}vesta grup\u{117} ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-i\u{173})`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, pasirinkta`,other:``},e.isSelected)}`,listboxLabel:`Pasiūlymai`,selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var Mu={};Mu={buttonLabel:`Rādīt ieteikumus`,countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievad\u{12B}ta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcij\u{101}m`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, atlasīta`,other:``},e.isSelected)}`,listboxLabel:`Ieteikumi`,selectedAnnouncement:e=>`${e.optionText}, atlas\u{12B}ta`};var Nu={};Nu={buttonLabel:`Vis forslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valgt`,other:``},e.isSelected)}`,listboxLabel:`Forslag`,selectedAnnouncement:e=>`${e.optionText}, valgt`};var Pu={};Pu={buttonLabel:`Suggesties weergeven`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, geselecteerd`,other:``},e.isSelected)}`,listboxLabel:`Suggesties`,selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Fu={};Fu={buttonLabel:`Wyświetlaj sugestie`,countAnnouncement:(e,t)=>`dost\u{119}pna/dost\u{119}pne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Do\u{142}\u{105}czono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcj\u{105}`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, wybrano`,other:``},e.isSelected)}`,listboxLabel:`Sugestie`,selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Iu={};Iu={buttonLabel:`Mostrar sugestões`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selecionado`,other:``},e.isSelected)}`,listboxLabel:`Sugestões`,selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Lu={};Lu={buttonLabel:`Apresentar sugestões`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selecionado`,other:``},e.isSelected)}`,listboxLabel:`Sugestões`,selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Ru={};Ru={buttonLabel:`Afișare sugestii`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\u{21B}iune`,other:()=>`${t.number(e.optionCount)} op\u{21B}iuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\u{21B}iune`,other:()=>`${t.number(e.groupCount)} op\u{21B}iuni`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selectat`,other:``},e.isSelected)}`,listboxLabel:`Sugestii`,selectedAnnouncement:e=>`${e.optionText}, selectat`};var zu={};zu={buttonLabel:`Показать предложения`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{432}`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{43D}\u{430}\u{44F} \u{433}\u{440}\u{443}\u{43F}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{43C}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{430}\u{43C}\u{438}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, выбранными`,other:``},e.isSelected)}`,listboxLabel:`Предложения`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`};var Bu={};Bu={buttonLabel:`Zobraziť návrhy`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mo\u{17E}nos\u{165}`,other:()=>`${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})} k dispoz\xedcii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ou`,other:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ami`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, vybraté`,other:``},e.isSelected)}`,listboxLabel:`Návrhy`,selectedAnnouncement:e=>`${e.optionText}, vybrat\xe9`};var Vu={};Vu={buttonLabel:`Prikaži predloge`,countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, izbrano`,other:``},e.isSelected)}`,listboxLabel:`Predlogi`,selectedAnnouncement:e=>`${e.optionText}, izbrano`};var Hu={};Hu={buttonLabel:`Prikaži predloge`,countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, izabranih`,other:``},e.isSelected)}`,listboxLabel:`Predlozi`,selectedAnnouncement:e=>`${e.optionText}, izabrano`};var Uu={};Uu={buttonLabel:`Visa förslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xe4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valda`,other:``},e.isSelected)}`,listboxLabel:`Förslag`,selectedAnnouncement:e=>`${e.optionText}, valda`};var Wu={};Wu={buttonLabel:`Önerileri göster`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} se\xe7enek`,other:()=>`${t.number(e.optionCount)} se\xe7enekler`})} kullan\u{131}labilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} se\xe7enek`,other:()=>`${t.number(e.groupCount)} se\xe7enekler`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, seçildi`,other:``},e.isSelected)}`,listboxLabel:`Öneriler`,selectedAnnouncement:e=>`${e.optionText}, se\xe7ildi`};var Gu={};Gu={buttonLabel:`Показати пропозиції`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{437} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, вибрано`,other:``},e.isSelected)}`,listboxLabel:`Пропозиції`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`};var Ku={};Ku={buttonLabel:`显示建议`,countAnnouncement:(e,t)=>`\u{6709} ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`})}\u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8FDB}\u{5165}\u{4E86} ${e.groupTitle} \u{7EC4}\u{FF0C}\u{5176}\u{4E2D}\u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 已选择`,other:``},e.isSelected)}`,listboxLabel:`建议`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9009}\u{62E9}`};var qu={};qu={buttonLabel:`顯示建議`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`})} \u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8F38}\u{5165}\u{7684}\u{7FA4}\u{7D44} ${e.groupTitle}, \u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 已選取`,other:``},e.isSelected)}`,listboxLabel:`建議`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9078}\u{53D6}`};var Ju={};Ju={"ar-AE":mu,"bg-BG":hu,"cs-CZ":gu,"da-DK":_u,"de-DE":vu,"el-GR":yu,"en-US":bu,"es-ES":xu,"et-EE":Su,"fi-FI":Cu,"fr-FR":wu,"he-IL":Tu,"hr-HR":Eu,"hu-HU":Du,"it-IT":Ou,"ja-JP":ku,"ko-KR":Au,"lt-LT":ju,"lv-LV":Mu,"nb-NO":Nu,"nl-NL":Pu,"pl-PL":Fu,"pt-BR":Iu,"pt-PT":Lu,"ro-RO":Ru,"ru-RU":zu,"sk-SK":Bu,"sl-SI":Vu,"sr-SP":Hu,"sv-SE":Uu,"tr-TR":Wu,"uk-UA":Gu,"zh-CN":Ku,"zh-TW":qu};function Yu(e){return e&&e.__esModule?e.default:e}function Xu(e,t){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:a,keyboardDelegate:o,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:l,isDisabled:u}=e,d=(0,p.useRef)(null);n??=d;let f=on(Yu(Ju),`@react-aria/combobox`),{menuTriggerProps:h,menuProps:g}=lu({type:`listbox`,isDisabled:u||l},t,n);Za.set(t,{id:g.id});let{collection:_}=t,{disabledKeys:v}=t.selectionManager,y=(0,p.useMemo)(()=>o||new Bo({collection:_,disabledKeys:v,ref:a,layoutDelegate:s}),[o,s,_,v,a]),{collectionProps:b}=Ro({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:i,isVirtualized:!0}),x=nt(),S=n=>{if(!n.nativeEvent.isComposing)switch(n.key){case`Enter`:case`Tab`:if(t.isOpen&&n.key===`Enter`&&n.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null){let e=t.collection.getItem(t.selectionManager.focusedKey);if(e?.props.href){let r=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);n.key===`Enter`&&r instanceof HTMLAnchorElement&&x.open(r,n,e.props.href,e.props.routerOptions),t.close();break}else if(e?.props.onAction){e.props.onAction(),t.close();break}}(n.key===`Enter`||t.isOpen)&&t.commit(),n.key===`Tab`&&n.continuePropagation();break;case`Escape`:(!t.selectionManager.isEmpty||t.inputValue===``||e.allowsCustomValue)&&n.continuePropagation(),t.revert();break;case`ArrowDown`:t.open(`first`,`manual`);break;case`ArrowUp`:t.open(`last`,`manual`);break;case`ArrowLeft`:case`ArrowRight`:t.selectionManager.setFocusedKey(null);break}},C=i=>{let a=n?.current&&n.current===i.relatedTarget,o=W(r.current,i.relatedTarget);a||o||(e.onBlur&&e.onBlur(i),t.setFocused(!1))},w=n=>{t.isFocused||(e.onFocus&&e.onFocus(n),t.setFocused(!0))},T=Zu([t.selectionManager.selectedKeys,t.selectionManager.selectionMode]),{isInvalid:E,validationErrors:D,validationDetails:O}=t.displayValidation,{labelProps:k,inputProps:A,descriptionProps:j,errorMessageProps:M}=aa({...e,isRequired:e.selectionMode===`multiple`?e.isRequired&&t.selectionManager.isEmpty:e.isRequired,onChange:t.setInputValue,onKeyDown:l?e.onKeyDown:m(t.isOpen&&b.onKeyDown,S,e.onKeyDown),onBlur:C,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:w,autoComplete:`off`,validate:void 0,[Oi]:t,"aria-describedby":[T,e[`aria-describedby`]].filter(Boolean).join(` `)||void 0},i);Ri(i,t.defaultValue,t.setValue);let N=e=>{e.pointerType===`touch`&&(i.current?.focus(),t.toggle(null,`manual`))},ee=e=>{e.pointerType!==`touch`&&(i.current?.focus(),t.toggle(e.pointerType===`keyboard`||e.pointerType===`virtual`?`first`:null,`manual`))},P=Ft({id:h.id,"aria-label":f.format(`buttonLabel`),"aria-labelledby":e[`aria-labelledby`]||k.id}),F=Ft({id:g.id,"aria-label":f.format(`listboxLabel`),"aria-labelledby":e[`aria-labelledby`]||k.id}),te=(0,p.useRef)(0),ne=e=>{if(u||l)return;if(e.timeStamp-te.current<500){e.preventDefault(),i.current?.focus();return}let n=K(e).getBoundingClientRect(),r=e.changedTouches[0],a=Math.ceil(n.left+.5*n.width),o=Math.ceil(n.top+.5*n.height);r.clientX===a&&r.clientY===o&&(e.preventDefault(),i.current?.focus(),t.toggle(null,`manual`),te.current=e.timeStamp)},re=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,L=re?.parentKey??null,R=t.selectionManager.focusedKey??null,ie=(0,p.useRef)(L),z=(0,p.useRef)(R);(0,p.useEffect)(()=>{if(Je()&&re!=null&&R!=null&&R!==z.current){let e=t.selectionManager.isSelected(R),n=L==null?null:t.collection.getItem(L),r=n?.[`aria-label`]||(typeof n?.rendered==`string`?n.rendered:``)||``;ni(f.format(`focusAnnouncement`,{isGroupChange:(n&&L!==ie.current)??!1,groupTitle:r,groupCount:n?[...Xo(n,t.collection)].length:0,optionText:re[`aria-label`]||re.textValue||``,isSelected:e}))}ie.current=L,z.current=R});let B=ns(t.collection),V=(0,p.useRef)(B),ae=(0,p.useRef)(t.isOpen);(0,p.useEffect)(()=>{let e=t.isOpen!==ae.current&&(t.selectionManager.focusedKey==null||Je());t.isOpen&&(e||B!==V.current)&&ni(f.format(`countAnnouncement`,{optionCount:B})),V.current=B,ae.current=t.isOpen});let oe=(0,p.useRef)(t.selectedKey);return(0,p.useEffect)(()=>{if(Je()&&t.isFocused&&t.selectedItem&&t.selectedKey!==oe.current){let e=t.selectedItem[`aria-label`]||t.selectedItem.textValue||``;ni(f.format(`selectedAnnouncement`,{optionText:e}))}oe.current=t.selectedKey}),(0,p.useEffect)(()=>{if(t.isOpen)return Is([i.current,r.current].filter(e=>e!=null))},[t.isOpen,i,r]),di(()=>{!re&&i.current&&G(U(i.current))===i.current&&ye(i.current,null)},[re]),Pt(a,`react-aria-item-action`,t.isOpen?()=>{t.close()}:void 0),{labelProps:k,buttonProps:{...h,...P,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:N,onPressStart:ee,isDisabled:u||l},inputProps:I(A,{role:`combobox`,"aria-expanded":h[`aria-expanded`],"aria-controls":t.isOpen?g.id:void 0,"aria-autocomplete":`list`,"aria-activedescendant":re?$a(t,re.key):void 0,onTouchEnd:ne,autoCorrect:`off`,spellCheck:`false`}),listBoxProps:I(g,F,{onAction:void 0,autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:`selection`,UNSTABLE_itemBehavior:`action`}),valueProps:{id:T},descriptionProps:j,errorMessageProps:M,isInvalid:E,validationErrors:D,validationDetails:O}}function Zu(e=[]){let t=N(),[n,r]=(0,p.useState)(!0),[i,a]=(0,p.useState)(e);return i.some((t,n)=>!Object.is(t,e[n]))&&(r(!0),a(e)),(0,p.useEffect)(()=>{n&&!document.getElementById(t)&&r(!1)},[t,n,i]),n?t:void 0}function Qu(e){let{defaultFilter:t,menuTrigger:n=`input`,allowsEmptyCollection:r=!1,allowsCustomValue:i,shouldCloseOnBlur:a=!0,selectionMode:o=`single`}=e,[s,c]=(0,p.useState)(!1),[l,u]=(0,p.useState)(!1),[d,f]=(0,p.useState)(null),m=(0,p.useMemo)(()=>e.defaultValue===void 0?o===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,o]),h=(0,p.useMemo)(()=>e.value===void 0?o===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,o]),[g,_]=cn(h,m,e.onChange),v=o===`single`&&Array.isArray(g)?g[0]:g,y=t=>{if(o===`single`){let n=Array.isArray(t)?t[0]??null:t;_(n),n!==v&&e.onSelectionChange?.(n)}else{let e=[];Array.isArray(t)?e=t:t!=null&&(e=[t]),_(e)}},{collection:b,selectionManager:x,disabledKeys:S}=_s({...e,items:e.items??e.defaultItems,selectionMode:o,disallowEmptySelection:o===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,p.useMemo)(()=>nd(v),[v]),onSelectionChange:t=>{if(t!==`all`)if(o===`single`){let n=t.values().next().value??null;n===v?(e.onSelectionChange?.(n),ie(),I()):y(n)}else y([...t])}}),C=o===`single`?x.firstSelectedKey:null,w=(0,p.useMemo)(()=>[...x.selectedKeys].map(e=>b.getItem(e)).filter(e=>e!=null),[x.selectedKeys,b]),[T,E]=cn(e.inputValue,td(e.defaultInputValue,C,b)||``,e.onInputChange),[D]=(0,p.useState)(v),[O]=(0,p.useState)(T),k=b,A=(0,p.useMemo)(()=>e.items!=null||!t?b:$u(b,T,t),[b,T,t,e.items]),[j,M]=(0,p.useState)(A),N=(0,p.useRef)(`focus`),ee=t=>{e.onOpenChange&&e.onOpenChange(t,t?N.current:void 0),x.setFocused(t),t||x.setFocusedKey(null)},P=vl({...e,onOpenChange:ee,isOpen:void 0,defaultOpen:void 0}),F=(t=null,i)=>{let a=i===`manual`||i===`focus`&&n===`focus`;(r||A.size>0||a&&k.size>0||e.items)&&(a&&!P.isOpen&&e.items===void 0&&c(!0),N.current=i,f(t),P.open())},te=(t=null,i)=>{let a=i===`manual`||i===`focus`&&n===`focus`;!(r||A.size>0||a&&k.size>0||e.items)&&!P.isOpen||(a&&!P.isOpen&&e.items===void 0&&c(!0),P.isOpen||(N.current=i),re(t))},ne=(0,p.useCallback)(()=>{M(s?k:A)},[s,k,A]),re=(0,p.useCallback)((e=null)=>{P.isOpen&&ne(),f(e),P.toggle()},[P,ne]),I=(0,p.useCallback)(()=>{P.isOpen&&(ne(),P.close())},[P,ne]),[L,R]=(0,p.useState)(T),ie=()=>{let e=C==null?``:b.getItem(C)?.textValue??``;R(e),E(e)},z=(0,p.useRef)(v),B=(0,p.useRef)(C==null?``:b.getItem(C)?.textValue??``);(0,p.useEffect)(()=>{l&&(A.size>0||r)&&!P.isOpen&&T!==L&&n!==`manual`&&F(null,`input`),!s&&!r&&P.isOpen&&A.size===0&&I(),v!=null&&v!==z.current&&o===`single`&&I(),T!==L&&(x.setFocusedKey(null),c(!1),o===`single`&&T===``&&(e.inputValue===void 0||h===void 0)&&y(null)),v!==z.current&&(e.inputValue===void 0||h===void 0)?ie():L!==T&&R(T);let t=C==null?``:b.getItem(C)?.textValue??``;!l&&C!=null&&e.inputValue===void 0&&C===z.current&&B.current!==t&&(R(t),E(t)),z.current=v,B.current=t});let V=ki({...e,value:(0,p.useMemo)(()=>Array.isArray(v)&&v.length===0?null:{inputValue:T,value:v,selectedKey:C},[T,C,v])}),ae=()=>{i&&C==null?oe():se()},oe=()=>{if(o===`multiple`){R(T),I();return}z.current=null,y(null),I()},se=(t=!1)=>{if(h!==void 0&&e.inputValue!==void 0){let n=C==null?``:b.getItem(C)?.textValue??``;(t||o===`multiple`||T!==n)&&(e.onSelectionChange?.(C),e.onChange?.(v)),R(n),I()}else ie(),I()},ce=()=>{if(i){let e=C==null?``:b.getItem(C)?.textValue??``;T===e?se():oe()}else se()},H=()=>{P.isOpen&&x.focusedKey!=null?x.isSelected(x.focusedKey)&&o===`single`?se(!0):x.select(x.focusedKey):ce()},le=(0,p.useRef)([T,v]),ue=t=>{t?(le.current=[T,v],n===`focus`&&!e.isReadOnly&&F(null,`focus`)):(a&&ce(),(T!==le.current[0]||v!==le.current[1])&&V.commitValidation()),u(t)},U=(0,p.useMemo)(()=>P.isOpen?s?k:A:j,[P.isOpen,k,A,s,j]),de=e.defaultSelectedKey??(o===`single`?D:null);return{...V,...P,focusStrategy:d,toggle:te,open:F,close:ce,selectionManager:x,value:v,defaultValue:m??D,setValue:y,selectedKey:C,selectedItems:w,defaultSelectedKey:de,setSelectedKey:y,disabledKeys:S,isFocused:l,setFocused:ue,selectedItem:w[0]??null,collection:U,inputValue:T,defaultInputValue:td(e.defaultInputValue,de,b)??O,setInputValue:E,commit:H,revert:ae}}function $u(e,t,n){return new os(ed(e,e,t,n))}function ed(e,t,n,r){let i=[];for(let a of t)if(a.type===`section`&&a.hasChildNodes){let t=ed(e,Xo(a,e),n,r);[...t].some(e=>e.type===`item`)&&i.push({...a,childNodes:t})}else(a.type===`item`&&r(a.textValue,n)||a.type!==`item`)&&i.push({...a});return i}function td(e,t,n){return e==null&&t!=null?n.getItem(t)?.textValue??``:e}function nd(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function rd(e){let t=Ho({usage:`search`,...e}),n=(0,p.useCallback)((e,n)=>n.length===0?!0:(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(0,n.length),n)===0),[t]),r=(0,p.useCallback)((e,n)=>n.length===0?!0:(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(-n.length),n)===0),[t]),i=(0,p.useCallback)((e,n)=>{if(n.length===0)return!0;e=e.normalize(`NFC`),n=n.normalize(`NFC`);let r=0,i=n.length;for(;r+i<=e.length;r++){let a=e.slice(r,r+i);if(t.compare(n,a)===0)return!0}return!1},[t]);return(0,p.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}function id(e={}){let{locale:t}=Kt();return(0,p.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}var ad=(0,p.createContext)(null),od=(0,p.createContext)(null),sd=Ln(function(e,t){[e,t]=V(e,t,ad);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1,isReadOnly:o=!1}=e,s=(0,p.useMemo)(()=>p.default.createElement(xs.Provider,{value:{items:e.items??e.defaultItems}},typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,defaultChildren:null,isReadOnly:o}):n),[n,r,i,a,o,e.items,e.defaultItems]);return p.default.createElement(Vn,{content:s},n=>p.default.createElement(ld,{props:e,collection:n,comboBoxRef:t}))}),cd=[Yr,ai,na,ta,li];function ld({props:e,collection:t,comboBoxRef:n}){let{name:r,formValue:i=`key`,allowsCustomValue:a}=e;a&&(i=`text`);let{validationBehavior:o}=B(Fi)||{},s=e.validationBehavior??o??`native`,{contains:c}=rd({sensitivity:`base`}),l=Qu({...e,defaultFilter:e.defaultFilter||c,items:e.items,children:void 0,collection:t,validationBehavior:s}),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(null),m=(0,p.useRef)(null),h=(0,p.useRef)(null),[g,_]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),{buttonProps:v,inputProps:y,listBoxProps:b,labelProps:x,descriptionProps:S,errorMessageProps:C,valueProps:w,...T}=Xu({...oe(e),label:_,inputRef:d,buttonRef:u,listBoxRef:m,popoverRef:h,name:i===`text`?r:void 0,validationBehavior:s},l),[E,D]=(0,p.useState)(null);lc({ref:d,onResize:(0,p.useCallback)(()=>{if(d.current&&!f.current){let e=u.current?.getBoundingClientRect(),t=d.current.getBoundingClientRect(),n=e?Math.min(e.left,t.left):t.left,r=e?Math.max(e.right,t.right):t.right;D(r-n+`px`)}},[u,d,D])});let O=(0,p.useMemo)(()=>({get current(){return f.current||d.current}}),[f,d]),k=(0,p.useMemo)(()=>({isOpen:l.isOpen,isDisabled:e.isDisabled||!1,isInvalid:T.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1}),[l.isOpen,e.isDisabled,T.isInvalid,e.isRequired,e.isReadOnly]),A=z({...e,values:k,defaultClassName:`react-aria-ComboBox`}),j=q(e,{global:!0});delete j.id;let M=[];if(r&&i===`key`){let t=Array.isArray(l.value)?l.value:[l.value];t.length===0&&(t=[null]),M=t.map((t,n)=>p.default.createElement(`input`,{key:n,type:`hidden`,name:r,form:e.form,value:t??``}))}return p.default.createElement(ie,{values:[[od,l],[Yr,{...x,ref:g}],[ai,{...v,ref:u,isPressed:l.isOpen}],[na,{...y,ref:d}],[fu,l],[Sl,{ref:h,triggerRef:O,scrollRef:m,placement:`bottom start`,isNonModal:!0,trigger:`ComboBox`,style:{"--trigger-width":E},clearContexts:cd}],[xs,{...b,ref:m}],[Ss,l],[li,{slots:{description:S,errorMessage:C}}],[ta,{ref:f,isInvalid:T.isInvalid,isDisabled:e.isDisabled||!1}],[Ci,T],[ud,w]]},p.default.createElement(H.div,{...j,...A,ref:n,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-invalid":T.isInvalid||void 0,"data-required":e.isRequired||void 0},A.children,M))}var ud=(0,p.createContext)(null);function dd(e,t){let n=t?.isDisabled,[r,i]=(0,p.useState)(!1);return h(()=>{if(e?.current&&!n){let t=()=>{if(e.current){let t=To(e.current,{tabbable:!0});i(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),!n&&r}function fd(e,t,n){let{overlayProps:r,underlayProps:i}=_c({...e,isOpen:t.isOpen,onClose:t.close},n);return xc({isDisabled:!t.isOpen}),_l(),(0,p.useEffect)(()=>{if(t.isOpen&&n.current)return Is([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:I(r),underlayProps:i}}var pd=typeof document<`u`&&window.visualViewport;function md(){let e=O(),[t,n]=(0,p.useState)(()=>e?{width:0,height:0}:hd());return(0,p.useEffect)(()=>{let e=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},t=()=>{pd&&pd.scale>1||e(hd())},r,i=t=>{pd&&pd.scale>1||jt(K(t))&&(r=requestAnimationFrame(()=>{let t=G();(!t||!jt(t))&&e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(hd()),qe()&&window.addEventListener(`blur`,i,!0),pd?pd.addEventListener(`resize`,t):window.addEventListener(`resize`,t),()=>{cancelAnimationFrame(r),qe()&&window.removeEventListener(`blur`,i,!0),pd?pd.removeEventListener(`resize`,t):window.removeEventListener(`resize`,t)}},[]),t}function hd(){return{width:pd?Math.min(pd.width*pd.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:pd?pd.height*pd.scale:document.documentElement.clientHeight}}var gd=(0,p.createContext)(null),_d=(0,p.createContext)(null),vd=(0,p.forwardRef)(function(e,t){if((0,p.useContext)(_d)){if(process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){let t=new Set([`isDismissable`,`isKeyboardDismissDisabled`,`isOpen`,`defaultOpen`,`onOpenChange`,`isEntering`,`isExiting`,`UNSTABLE_portalContainer`,`shouldCloseOnInteractOutside`]),n=Object.keys(e).filter(e=>t.has(e));console.warn(`This modal is already wrapped in a ModalOverlay, props [${n.join(`, `)}] should be placed on the ModalOverlay instead.`)}return p.default.createElement(Sd,{...e,modalRef:t},e.children)}let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return p.default.createElement(bd,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},p.default.createElement(Sd,{...f,modalRef:t},s))});function yd(e,t){[e,t]=V(e,t,gd);let n=(0,p.useContext)(fu),r=vl(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n;i===n&&process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)&&console.warn(`This modals state is controlled by a trigger, place onOpenChange on the trigger instead.`);let a=L(t),o=(0,p.useRef)(null),s=bl(a,i.isOpen),c=bl(o,i.isOpen),l=s||c||e.isExiting||!1,u=O();return!i.isOpen&&!l||u?null:p.default.createElement(xd,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}var bd=(0,p.forwardRef)(yd);function xd({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=fd(t,r,n),o=yl(t.overlayRef)||t.isEntering||!1,s=z({...t,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:o,isExiting:t.isExiting,state:r}}),c=md(),l,u;if(typeof document<`u`){let e=fi(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;l=e.scrollWidth-t,u=e.scrollHeight-n}let d={...s.style,"--visual-viewport-width":c.width+`px`,"--visual-viewport-height":c.height+`px`,"--page-width":l===void 0?void 0:l+`px`,"--page-height":u===void 0?void 0:u+`px`};return p.default.createElement(gl,{isExiting:t.isExiting,portalContainer:e},p.default.createElement(H.div,{...I(q(t,{global:!0}),a),...s,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},p.default.createElement(ie,{values:[[_d,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[fu,r]]},s.children)))}function Sd(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=(0,p.useContext)(_d),a=(0,p.useContext)(fu),o=L((0,p.useMemo)(()=>F(e.modalRef,n),[e.modalRef,n])),s=yl(o),c=z({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:s,isExiting:r,state:a}});return p.default.createElement(H.div,{...I(q(e,{global:!0}),t),...c,ref:o,"data-entering":s||void 0,"data-exiting":r||void 0},i&&p.default.createElement(dl,{onDismiss:a.close}),c.children)}var Cd=new WeakMap;function wd(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c=`aria`}=e,l=Ho({usage:`search`,sensitivity:`base`}),u=(0,p.useMemo)(()=>r||new Bo(t.collection,t.disabledKeys,n,l),[r,t.collection,t.disabledKeys,l,n]),{menuTriggerProps:d,menuProps:f}=lu({isDisabled:i,type:`listbox`},t,n),h=e=>{if(t.selectionManager.selectionMode!==`multiple`)switch(e.key){case`ArrowLeft`:{e.preventDefault();let n=t.selectedKey==null?u.getFirstKey?.():u.getKeyAbove?.(t.selectedKey);n!=null&&t.setSelectedKey(n);break}case`ArrowRight`:{e.preventDefault();let n=t.selectedKey==null?u.getFirstKey?.():u.getKeyBelow?.(t.selectedKey);n!=null&&t.setSelectedKey(n);break}}},{typeSelectProps:g}=Fo({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:_,validationErrors:v,validationDetails:y}=t.displayValidation,{labelProps:b,fieldProps:x,descriptionProps:S,errorMessageProps:C}=Li({...e,labelElementType:`span`,isInvalid:_,errorMessage:e.errorMessage||v});t.selectionManager.selectionMode===`multiple`&&(g={});let w=q(e,{labelable:!0}),T=I(g,d,x),E=N();return Cd.set(t,{isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c}),{labelProps:{...b,onClick:()=>{e.isDisabled||(n.current?.focus(),Tt(`keyboard`))}},triggerProps:I(w,{...T,isDisabled:i,onKeyDown:m(T.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[E,T[`aria-labelledby`],T[`aria-label`]&&!T[`aria-labelledby`]?T.id:null].filter(Boolean).join(` `),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:E},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:`selection`,onBlur:n=>{W(n.currentTarget,n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[x[`aria-labelledby`],T[`aria-label`]&&!x[`aria-labelledby`]?T.id:null].filter(Boolean).join(` `)},descriptionProps:S,errorMessageProps:C,isInvalid:_,validationErrors:v,validationDetails:y,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:n,form:s}}}function Td(e,t,n){let r=Cd.get(t)||{},{autoComplete:i,name:a=r.name,form:o=r.form,isDisabled:s=r.isDisabled}=e,{validationBehavior:c,isRequired:l}=r,{visuallyHiddenProps:u}=xi({style:{position:`fixed`,top:0,left:0}});Ri(e.selectRef,t.defaultValue,t.setValue),zi({validationBehavior:c,focus:()=>n.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,p.useCallback)(e=>{let t=K(e);t.multiple?d(Array.from(t.selectedOptions,e=>e.value)):d(e.currentTarget.value)},[d]);return{containerProps:{...u,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":`aria-hidden-focus`},inputProps:{style:{display:`none`}},selectProps:{tabIndex:-1,autoComplete:i,disabled:s,multiple:t.selectionManager.selectionMode===`multiple`,required:c===`native`&&l,name:a,form:o,value:t.value??``,onChange:f,onInput:f}}}function Ed(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:o}=e,s=(0,p.useRef)(null),c=(0,p.useRef)(null),{containerProps:l,selectProps:u}=Td({...e,selectRef:t.collection.size<=300?s:c},t,n),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return p.default.createElement(`div`,{...l,"data-testid":`hidden-select-container`},p.default.createElement(`label`,null,r,p.default.createElement(`select`,{...u,ref:s},p.default.createElement(`option`,{value:``,label:`\xA0`},`\xA0`),[...t.collection.getKeys()].map(e=>{let n=t.collection.getItem(e);if(n&&n.type===`item`)return p.default.createElement(`option`,{key:n.key,value:n.key},n.textValue)}),t.collection.size===0&&i&&d.map((e,t)=>p.default.createElement(`option`,{key:t,value:e??``})))));if(i){let{validationBehavior:e}=Cd.get(t)||{};d.length===0&&(d=[null]);let n=d.map((t,n)=>{let r={type:`hidden`,autoComplete:u.autoComplete,name:i,form:a,disabled:o,value:t??``};return e===`native`?p.default.createElement(`input`,{key:n,...r,ref:n===0?c:null,style:{display:`none`},type:`text`,required:n===0&&u.required,onChange:()=>{}}):p.default.createElement(`input`,{key:n,...r,ref:n===0?c:null})});return p.default.createElement(p.default.Fragment,null,n)}return null}function Dd(e){let{selectionMode:t=`single`,shouldCloseOnSelect:n=t===`single`}=e,r=vl(e),[i,a]=(0,p.useState)(null),o=(0,p.useMemo)(()=>e.defaultValue===void 0?t===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,t]),[s,c]=cn((0,p.useMemo)(()=>e.value===void 0?t===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,t]),o,e.onChange),l=t===`single`&&Array.isArray(s)?s[0]:s,u=n=>{if(t===`single`){let t=Array.isArray(n)?n[0]??null:n;c(t),t!==l&&e.onSelectionChange?.(t)}else{let e=[];Array.isArray(n)?e=n:n!=null&&(e=[n]),c(e)}},d=_s({...e,selectionMode:t,disallowEmptySelection:t===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,p.useMemo)(()=>Od(l),[l]),onSelectionChange:e=>{if(e!==`all`){if(t===`single`){let t=e.values().next().value??null;u(t)}else u([...e]);n&&r.close(),h.commitValidation()}}}),f=d.selectionManager.firstSelectedKey,m=(0,p.useMemo)(()=>[...d.selectionManager.selectedKeys].map(e=>d.collection.getItem(e)).filter(e=>e!=null),[d.selectionManager.selectedKeys,d.collection]),h=ki({...e,value:Array.isArray(l)&&l.length===0?null:l}),[g,_]=(0,p.useState)(!1),[v]=(0,p.useState)(l);return{...h,...d,...r,value:l,defaultValue:o??v,setValue:u,selectedKey:f,setSelectedKey:u,selectedItem:m[0]??null,selectedItems:m,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode===`single`?v:null),focusStrategy:i,open(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.open())},toggle(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.toggle())},isFocused:g,setFocused:_}}function Od(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function kd(e){return e&&e.__esModule?e.default:e}var Ad=(0,p.createContext)(null),jd=(0,p.createContext)(null),Md=Ln(function(e,t){[e,t]=V(e,t,Ad);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=e,o=(0,p.useMemo)(()=>typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,i,a]);return p.default.createElement(Vn,{content:o},n=>p.default.createElement(Pd,{props:e,collection:n,selectRef:t}))}),Nd=[Yr,ai,li];function Pd({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=B(Fi)||{},i=e.validationBehavior??r??`native`,a=Dd({...e,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:s}=Hr({within:!0}),c=(0,p.useRef)(null),[l,u]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,triggerProps:f,valueProps:m,menuProps:h,descriptionProps:g,errorMessageProps:_,hiddenSelectProps:v,...y}=wd({...oe(e),label:u,validationBehavior:i},a,c),b=(0,p.useMemo)(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[a.isOpen,a.isFocused,o,e.isDisabled,y.isInvalid,e.isRequired]),x=z({...e,values:b,defaultClassName:`react-aria-Select`}),S=q(e,{global:!0});delete S.id;let C=(0,p.useRef)(null);return p.default.createElement(ie,{values:[[Ad,e],[jd,a],[Fd,m],[Yr,{...d,ref:l,elementType:`span`}],[ai,{...f,ref:c,isPressed:a.isOpen,autoFocus:e.autoFocus}],[fu,a],[Sl,{trigger:`Select`,triggerRef:c,scrollRef:C,placement:`bottom start`,"aria-labelledby":h[`aria-labelledby`],clearContexts:Nd}],[xs,{...h,ref:C}],[Ss,a],[li,{slots:{description:g,errorMessage:_}}],[Ci,y]]},p.default.createElement(H.div,{...I(S,x,s),ref:t,slot:e.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":a.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0},x.children,p.default.createElement(Ed,{...v,autoComplete:e.autoComplete})))}var Fd=(0,p.createContext)(null),Id=Ln(function(e,t){[e,t]=V(e,t,Fd);let n=(0,p.useContext)(jd),{placeholder:r}=B(Ad),i=n.selectedItems.map(e=>{let t=e.props?.children;return typeof t==`function`&&(t=t({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:`single`,selectionBehavior:`toggle`})),t}),a=id(),o=(0,p.useMemo)(()=>n.selectedItems.map(e=>e?.textValue),[n.selectedItems]),s=n.selectionManager.selectionMode,c=(0,p.useMemo)(()=>s===`single`?o[0]??``:a.format(o),[s,a,o]),l=(0,p.useMemo)(()=>{if(s===`single`)return i[0];let e=a.formatToParts(o);if(e.length===0)return null;let t=0;return e.map(e=>e.type===`element`?p.default.createElement(p.Fragment,{key:t},i[t++]):e.value)},[s,a,o,i]),u=on(kd(Ba),`react-aria-components`),d=z({...e,defaultChildren:l??r??u.format(`selectPlaceholder`),defaultClassName:`react-aria-SelectValue`,values:{selectedItem:n.selectedItems[0]?.value??null,selectedItems:(0,p.useMemo)(()=>n.selectedItems.map(e=>e.value??null),[n.selectedItems]),selectedText:c,isPlaceholder:n.selectedItems.length===0,state:n}}),f=q(e,{global:!0});return p.default.createElement(H.span,{ref:t,...f,...d,"data-placeholder":n.selectedItems.length===0||void 0},p.default.createElement(li.Provider,{value:void 0},d.children))});function Ld(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=Gi(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}var Rd=(0,p.createContext)(null),zd=(0,p.createContext)(null),Bd=(0,p.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=V(r,t,Rd);let i=L(F(n,e.inputRef===void 0?null:e.inputRef)),a=qi(e),o=Ld({...oe(e),children:typeof e.children==`function`||e.children},a,i);return p.default.createElement(ie,{values:[[zd,a],[Vd,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},p.default.createElement(Hd,{...e,ref:t}))}),Vd=(0,p.createContext)(null),Hd=(0,p.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,p.useContext)(Vd),{isFocused:f,isFocusVisible:m,focusProps:h}=Hr(),g=a||o,_=(0,p.useContext)(zd),{hoverProps:v,isHovered:y}=Jr({...e,isDisabled:g}),b=z({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:y,isFocused:f,isFocusVisible:m,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:_}}),x=q(e,{global:!0});return delete x.id,delete x.onClick,p.default.createElement(H.label,{...I(x,n,v,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":f||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},p.default.createElement(Si,{elementType:`span`},p.default.createElement(`input`,{...I(r,h),ref:l})),b.children)}),Ud=new WeakMap;function Wd(e,t,n){if(!e)return``;typeof t==`string`&&(t=t.replace(/\s+/g,``));let r=Ud.get(e);return process.env.NODE_ENV!==`production`&&!r&&console.error(`There is no tab id, please check if you have rendered the tab panel before the tab list.`),`${r}-${n}-${t}`}function Gd(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=qo({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=Wd(t,r,`tab`),m=Wd(t,r,`tabpanel`),{tabIndex:h}=d,g=q(u?.props,{labelable:!0});delete g.id;let _=ot(u?.props),{focusableProps:v}=Pn({...u?.props,isDisabled:l},n);return{tabProps:I(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function Kd(e,t,n){let r=dd(n)?void 0:0,i=Wd(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:I(Ft({...e,id:i,"aria-labelledby":Wd(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var qd=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function Jd(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=Kt(),{collectionProps:l}=Ro({ref:n,selectionManager:o,keyboardDelegate:(0,p.useMemo)(()=>new qd(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=N();return Ud.set(t,u),{tabListProps:{...I(l,Ft({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function Yd(e){let[t,n]=cn(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,p.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=_s({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function Xd(e){let t=Yd({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??Zd(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,p.useRef)(i);return(0,p.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=Zd(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function Zd(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var Qd=(0,p.createContext)(null),$d=(0,p.createContext)(null),ef=(0,p.forwardRef)(function(e,t){[e,t]=V(e,t,Qd);let{children:n,orientation:r=`horizontal`}=e;return n=(0,p.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),p.default.createElement(Vn,{content:n},n=>p.default.createElement(tf,{props:e,collection:n,tabsRef:t}))});function tf({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=Xd({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=Hr({within:!0}),c=(0,p.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=z({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=q(e,{global:!0});return p.default.createElement(H.div,{...I(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},p.default.createElement(ie,{values:[[Qd,e],[$d,i]]},l.children))}var nf=(0,p.forwardRef)(function(e,t){return(0,p.useContext)($d)?p.default.createElement(rf,{props:e,forwardedRef:t}):p.default.createElement(Qn,e)});function rf({props:e,forwardedRef:t}){let n=(0,p.useContext)($d),{CollectionRoot:r}=(0,p.useContext)(ir),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=B(Qd),o=L(t),{tabListProps:s}=Jd({...e,orientation:i,keyboardActivation:a},n,o),c=z({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=q(e,{global:!0});return delete l.id,p.default.createElement(H.div,{...I(l,c,s),ref:o,"data-orientation":i||void 0},p.default.createElement(Ja,null,p.default.createElement(r,{collection:n.collection,persistedKeys:ar(n.selectionManager.focusedKey)})))}var af=Yn(class extends dn{static{this.type=`item`}},(e,t,n)=>{let r=(0,p.useContext)($d),i=L(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=Gd({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=Hr(),{hoverProps:f,isHovered:m}=Jr({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),h=z({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:m}}),g=n.props.href?H.a:H.div,_=q(e,{global:!0});return delete _.id,delete _.onClick,p.default.createElement(g,{...I(_,h,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":m||void 0},p.default.createElement(Ya.Provider,{value:{isSelected:o}},h.children))}),of=Ln(function(e,t){let n=(0,p.useContext)($d),r=L(t),i=n.selectedKey===e.id,[a,o]=(0,p.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=bl(r,i);return!i&&!e.shouldForceMount&&!s?null:p.default.createElement(sf,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function sf(e){let t=(0,p.useContext)($d),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=Kd(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=Hr(),d=t.selectedKey===e.id,f=yl(r)&&!i,m=z({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:as(!d),isEntering:f,isExiting:a,state:t}}),h=q(o,{global:!0});delete h.id;let g=d?I(h,s,c,m):I(h,m);return p.default.createElement(H.div,{...g,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:as(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},p.default.createElement(ie,{values:[[Qd,null],[$d,null]]},p.default.createElement(ir.Provider,{value:tr},m.children)))}var cf=(0,p.createContext)({}),lf=(0,p.createContext)(null),uf=Ln(function(e,t){[e,t]=V(e,t,lf);let{validationBehavior:n}=B(Fi)||{},r=e.validationBehavior??n??`native`,i=(0,p.useRef)(null);[e,i]=V(e,i,un);let[a,o]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,p.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...m}=aa({...oe(e),inputElementType:s,label:o,validationBehavior:r},i),h=(0,p.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),g=z({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),_=q(e,{global:!0});return delete _.id,p.default.createElement(H.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},p.default.createElement(ie,{values:[[Yr,{...l,ref:a}],[na,{...u,ref:h}],[cf,{...u,ref:h}],[ta,{role:`presentation`,isInvalid:m.isInvalid,isDisabled:e.isDisabled||!1}],[li,{slots:{description:d,errorMessage:f}}],[Ci,m]]},g.children))}),df=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},ff=(e,t)=>({classGroupId:e,validator:t}),pf=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),mf=`-`,hf=[],gf=`arbitrary..`,_f=e=>{let t=bf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return yf(e);let n=e.split(mf);return vf(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?df(i,t):t:i||hf}return n[e]||hf}}},vf=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=vf(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(mf):e.slice(t).join(mf),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},yf=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?gf+r:void 0})(),bf=e=>{let{theme:t,classGroups:n}=e;return xf(n,t)},xf=(e,t)=>{let n=pf();for(let r in e){let i=e[r];Sf(i,n,r,t)}return n},Sf=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Cf(i,t,n,r)}},Cf=(e,t,n,r)=>{if(typeof e==`string`){wf(e,t,n);return}if(typeof e==`function`){Tf(e,t,n,r);return}Ef(e,t,n,r)},wf=(e,t,n)=>{let r=e===``?t:Df(t,e);r.classGroupId=n},Tf=(e,t,n,r)=>{if(Of(e)){Sf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(ff(n,e))},Ef=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Sf(o,Df(t,a),n,r)}},Df=(e,t)=>{let n=e,r=t.split(mf),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=pf(),n.nextPart.set(t,i)),n=i}return n},Of=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,kf=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Af=`!`,jf=`:`,Mf=[],Nf=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Pf=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===jf){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Af)?(c=s.slice(0,-1),l=!0):s.startsWith(Af)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Nf(t,l,c,u)};if(t){let e=t+jf,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Nf(Mf,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Ff=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},If=e=>({cache:kf(e.cacheSize),parseClassName:Pf(e),sortModifiers:Ff(e),postfixLookupClassGroupIds:Lf(e),..._f(e)}),Lf=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Rf=/\s+/,zf=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Rf),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Af:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Bf=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Vf(n))&&(i&&(i+=` `),i+=r);return i},Vf=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Vf(e[r]))&&(n&&(n+=` `),n+=t);return n},Hf=(e,...t)=>{let n,r,i,a,o=o=>(n=If(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=zf(e,n);return i(e,a),a};return a=o,(...e)=>a(Bf(...e))},Uf=[],Wf=e=>{let t=t=>t[e]||Uf;return t.isThemeGetter=!0,t},Gf=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kf=/^\((?:(\w[\w-]*):)?(.+)\)$/i,qf=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Jf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Zf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$f=e=>qf.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),ep=e=>!!e&&Number.isInteger(Number(e)),tp=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),np=e=>Jf.test(e),rp=()=>!0,ip=e=>Yf.test(e)&&!Xf.test(e),ap=()=>!1,op=e=>Zf.test(e),sp=e=>Qf.test(e),cp=e=>!Z(e)&&!Q(e),lp=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),up=e=>Tp(e,kp,ap),Z=e=>Gf.test(e),dp=e=>Tp(e,Ap,ip),fp=e=>Tp(e,jp,X),pp=e=>Tp(e,Np,rp),mp=e=>Tp(e,Mp,ap),hp=e=>Tp(e,Dp,ap),gp=e=>Tp(e,Op,sp),_p=e=>Tp(e,Pp,op),Q=e=>Kf.test(e),vp=e=>Ep(e,Ap),yp=e=>Ep(e,Mp),bp=e=>Ep(e,Dp),xp=e=>Ep(e,kp),Sp=e=>Ep(e,Op),Cp=e=>Ep(e,Pp,!0),wp=e=>Ep(e,Np,!0),Tp=(e,t,n)=>{let r=Gf.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ep=(e,t,n=!1)=>{let r=Kf.exec(e);return r?r[1]?t(r[1]):n:!1},Dp=e=>e===`position`||e===`percentage`,Op=e=>e===`image`||e===`url`,kp=e=>e===`length`||e===`size`||e===`bg-size`,Ap=e=>e===`length`,jp=e=>e===`number`,Mp=e=>e===`family-name`,Np=e=>e===`number`||e===`weight`,Pp=e=>e===`shadow`,Fp=Hf(()=>{let e=Wf(`color`),t=Wf(`font`),n=Wf(`text`),r=Wf(`font-weight`),i=Wf(`tracking`),a=Wf(`leading`),o=Wf(`breakpoint`),s=Wf(`container`),c=Wf(`spacing`),l=Wf(`radius`),u=Wf(`shadow`),d=Wf(`inset-shadow`),f=Wf(`text-shadow`),p=Wf(`drop-shadow`),m=Wf(`blur`),h=Wf(`perspective`),g=Wf(`aspect`),_=Wf(`ease`),v=Wf(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[$f,`full`,`auto`,...w()],E=()=>[ep,`none`,`subgrid`,Q,Z],D=()=>[`auto`,{span:[`full`,ep,Q,Z]},ep,Q,Z],O=()=>[ep,`auto`,Q,Z],k=()=>[`auto`,`min`,`max`,`fr`,Q,Z],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[$f,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[$f,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],P=()=>[$f,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],F=()=>[e,Q,Z],te=()=>[...b(),bp,hp,{position:[Q,Z]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,xp,up,{size:[Q,Z]}],I=()=>[tp,vp,dp],L=()=>[``,`none`,`full`,l,Q,Z],R=()=>[``,X,vp,dp],ie=()=>[`solid`,`dashed`,`dotted`,`double`],z=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],B=()=>[X,tp,bp,hp],V=()=>[``,`none`,m,Q,Z],ae=()=>[`none`,X,Q,Z],oe=()=>[`none`,X,Q,Z],se=()=>[X,Q,Z],ce=()=>[$f,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[np],breakpoint:[np],color:[rp],container:[np],"drop-shadow":[np],ease:[`in`,`out`,`in-out`],font:[cp],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[np],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[np],shadow:[np],spacing:[`px`,X],text:[np],"text-shadow":[np],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,$f,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[lp],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ep,`auto`,Q,Z]}],basis:[{basis:[$f,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,$f,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[ep,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...P()]}],"min-block-size":[{"min-block":[`auto`,...P()]}],"max-block-size":[{"max-block":[`none`,...P()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,vp,dp]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,wp,pp]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,tp,Z]}],"font-family":[{font:[yp,mp,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,fp]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ie(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,dp]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[ep,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ep,Q,Z],radial:[``,Q,Z],conic:[ep,Q,Z]},Sp,gp]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-bs":[{"border-bs":R()}],"border-w-be":[{"border-be":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":R()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ie(),`hidden`,`none`]}],"divide-style":[{divide:[...ie(),`hidden`,`none`]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...ie(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,vp,dp]}],"outline-color":[{outline:F()}],shadow:[{shadow:[``,`none`,u,Cp,_p]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":[`none`,d,Cp,_p]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:R()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[X,dp]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":[`none`,f,Cp,_p]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...z(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":z()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:V()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Cp,_p]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":V()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":[`scale-3d`],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ce()}],"translate-x":[{"translate-x":ce()}],"translate-y":[{"translate-y":ce()}],"translate-z":[{"translate-z":ce()}],"translate-none":[`translate-none`],zoom:[{zoom:[ep,Q,Z]}],accent:[{accent:F()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":F()}],"scrollbar-track-color":[{"scrollbar-track":F()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Q,Z]}],fill:[{fill:[`none`,...F()]}],"stroke-w":[{stroke:[X,vp,dp,fp]}],stroke:[{stroke:[`none`,...F()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function $(...e){return Fp(e.filter(Boolean))}var Ip=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z`})),Lp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z`})),Rp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z`})),zp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z`})),Bp={Info:Ip,Warning:Lp,Error:Rp,Done:zp,Check:zp,Close:e=>(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,i.jsx)(`path`,{d:`M5 5h2v2H5zM7 7h2v2H7zM9 9h2v2H9zM11 11h2v2h-2zM13 13h2v2h-2zM15 15h2v2h-2zM17 17h2v2h-2zM17 5h2v2h-2zM15 7h2v2h-2zM13 9h2v2h-2zM9 13h2v2H9zM7 15h2v2H7zM5 17h2v2H5z`})}),"Chevron Up":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 8h-2v2h2V8Zm-2 2H9v2h2v-2Zm4 0h-2v2h2v-2Zm-6 2H7v2h2v-2Zm8 0h-2v2h2v-2ZM7 14H5v2h2v-2Zm12 0h-2v2h2v-2Z`})),"Chevron Down":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 16h-2v-2h2v2Zm-2-2H9v-2h2v2Zm4 0h-2v-2h2v2Zm-6-2H7v-2h2v2Zm8 0h-2v-2h2v2ZM7 10H5V8h2v2Zm12 0h-2V8h2v2Z`})),App:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 6h16v2H4zm0 12h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zM5 5h2v2H5zm3 0h2v2H8z`})),Cancel:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 11h16v2H4z`})),Fullscreen:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 13h16v-2H4zm7-8h2V3h-2zM9 7h4V5H9zm4 0h2V5h-2zm2 2h2V7h-2zM7 9h8V7H7zm4 10h2v2h-2zm-2-2h4v2H9zm4 0h2v2h-2zm2-2h2v2h-2zm-8 0h8v2H7z`})),Add:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z`}))};function Vp(e){return e in Bp}var Hp={L:56,S:24},Up=({name:e,size:t=`L`,className:n=``,onClick:r,color:a,role:o,"aria-label":s})=>{let c=Bp[e];if(!c)return null;let l=Hp[t],u=o??`img`,d=o===`button`,f=d?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),r?.())}:void 0;return(0,i.jsx)(`span`,{className:$(`icon`,d&&`icon--button`,n),onClick:r,onKeyDown:f,role:u,tabIndex:d?0:void 0,"aria-label":s||`${e} icon`,style:a?{color:a}:void 0,children:(0,i.jsx)(c,{width:l,height:l,className:`icon__svg`})})};function Wp(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Gp(e,t){let[n,r]=(0,p.useState)(!1),i=(0,p.useRef)(!1);return{isClosing:n,triggerClose:(0,p.useCallback)(()=>{if(!(i.current||!t)){if(Wp()){t();return}i.current=!0,r(!0)}},[t]),handleAnimationEnd:(0,p.useCallback)(n=>{n.animationName===e&&i.current&&(i.current=!1,r(!1),t?.())},[e,t])}}var Kp={info:`default`,success:`success`,warning:`warning`,error:`error`,default:`default`,brand:`brand`},qp={brand:`Info`,gray:`Info`,default:`Info`,error:`Error`,warning:`Warning`,success:`Done`};function Jp(e,t){return e||Kp[t||`info`]||`default`}function Yp(e){return e===`full-width`?`full-width`:`floating`}var Xp=(0,p.forwardRef)(({color:e,size:t=`floating`,type:n,title:r,children:a,actions:o,onClose:s,onClickHere:c,className:l},u)=>{let d=Jp(e,n),f=Yp(t),{isClosing:p,triggerClose:m,handleAnimationEnd:h}=Gp(`alert-exit`,s),g=[...o||[],...c?[{label:`Click here`,onClick:c}]:[]];return(0,i.jsxs)(`div`,{ref:u,className:$(`relative w-full flex flex-col gap-4 p-4`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-alert`,`eidotter-alert--${d}`,f===`floating`&&`max-w-[1216px]`,f===`full-width`&&`eidotter-alert--full-width max-w-none`,p&&`eidotter-alert--closing`,l),onAnimationEnd:h,role:`alert`,"data-color":d,"data-size":f,children:[(0,i.jsx)(`div`,{className:`eidotter-alert__icon`,children:(0,i.jsx)(Up,{name:qp[d]||`Info`,size:`S`,"aria-label":`${d} alert`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,s&&`pr-6`),children:[(r||a)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-alert__title font-dos leading-[140%]`,children:r}),a&&(0,i.jsx)(`div`,{className:`eidotter-alert__text font-dos leading-[140%]`,children:a})]}),g.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:g.map((e,t)=>(0,i.jsxs)(J,{className:`eidotter-alert__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),s&&(0,i.jsx)(J,{className:`eidotter-alert__close`,onPress:m,"aria-label":`Close alert`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})});Xp.displayName=`Alert`;var Zp=({title:e,children:t,defaultExpanded:n=!1,isHovered:r=!1,isActive:a=!1,onToggle:o})=>{let[s,c]=(0,p.useState)(n);return(0,p.useEffect)(()=>{c(n)},[n]),(0,i.jsxs)(`div`,{className:$(`w-full border border-dos-border-default text-dos-text-brand font-dos`,`eidotter-section`,s&&`eidotter-section--expanded`,r&&`eidotter-section--hover`,a&&`eidotter-section--active`),children:[(0,i.jsxs)(J,{className:`eidotter-section__header w-full flex justify-between items-center px-4 py-2 bg-transparent border-0 text-inherit font-[inherit] cursor-pointer text-left`,onPress:()=>{let e=!s;c(e),o?.(e)},"aria-expanded":s,children:[(0,i.jsx)(`div`,{className:`flex-1 text-base leading-6`,children:e}),(0,i.jsx)(`div`,{className:`eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit`,children:(0,i.jsx)(Up,{name:s?`Chevron Up`:`Chevron Down`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-section__content`,inert:!s||void 0,children:(0,i.jsx)(`div`,{className:`eidotter-section__content-inner`,children:t})})]})},Qp=({sections:e,defaultExpandedIndex:t=-1,className:n})=>{let[,r]=(0,p.useState)(t),a=(e,t)=>{r(t?e:-1)};return(0,i.jsx)(`div`,{className:$(`w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-dos-text-brand`,`eidotter-accordion-fill`,n),children:e.map((e,n)=>(0,i.jsx)(Zp,{title:e.title,defaultExpanded:n===t,onToggle:e=>a(n,e),children:e.content},n))})},$p={xs:`text-dos-text-xs px-2 py-1 min-h-6 gap-1`,sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`,xl:`text-dos-text-xl px-5 py-3 min-h-11 gap-2`,small:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,medium:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,large:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},em={primary:`eidotter-btn--primary`,secondary:`eidotter-btn--secondary`,tertiary:`eidotter-btn--tertiary`,destructive:`eidotter-btn--destructive`,ghost:`eidotter-btn--ghost`,link:`eidotter-btn--link`},tm=(0,p.forwardRef)(({variant:e=`primary`,size:t=`md`,type:n=`button`,disabled:r=!1,loading:a=!1,children:o,onPress:s,onClick:c,className:l,fullWidth:u=!1,iconOnly:d=!1,...f},p)=>{let m=r||a;return(0,i.jsxs)(J,{ref:p,type:n,isDisabled:m,isPending:a||void 0,onPress:e=>{s?s(e):c&&c({type:`press`,target:e.target,currentTarget:e.target,preventDefault:()=>{},stopPropagation:()=>{}})},className:$(`eidotter-btn`,`inline-flex items-center justify-center relative`,`border-2 border-solid`,`font-dos leading-none whitespace-nowrap select-none`,`outline-none cursor-pointer`,`transition-all duration-100 ease-linear`,$p[t]||$p.md,em[e]||em.primary,m&&`opacity-50 cursor-not-allowed`,a&&`cursor-wait`,u&&`w-full`,d&&`aspect-square !px-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus`,l),"data-loading":a||void 0,"data-variant":e,...f,children:[a&&(0,i.jsx)(`span`,{className:`eidotter-btn__loading`,"aria-hidden":`true`,children:`█`}),(0,i.jsx)(`span`,{className:$(`inline-flex items-center justify-center`,a&&`opacity-70`),children:o})]})});tm.displayName=`Button`;var nm={default:`eidotter-card--default`,elevated:`eidotter-card--elevated`,bordered:`eidotter-card--bordered`,glow:`eidotter-card--glow`,interactive:`eidotter-card--interactive`,minimal:`eidotter-card--minimal`,callout:`eidotter-card--callout`},rm=(0,p.forwardRef)(({title:e,children:t,footer:n,variant:r=`default`,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`border-2 border-solid border-dos-border-default`,`font-dos text-dos-text-brand`,`eidotter-card`,nm[r]||nm.default,a),...o,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-card__header px-3 py-2 border-b border-dos-text-disabled bg-dos-bg-brand-dim`,children:(0,i.jsx)(`span`,{className:`text-dos-text-secondary text-dos-text-md uppercase`,children:e})}),(0,i.jsx)(`div`,{className:`p-3`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-card__footer px-3 py-2 border-t border-dos-text-disabled bg-dos-bg-secondary`,children:n})]}));rm.displayName=`Card`;var im=(0,p.forwardRef)(({checked:e,defaultChecked:t,onChange:n,indeterminate:r=!1,label:a,disabled:o=!1,size:s=`md`,name:c,value:l,className:u,"aria-label":d,...f},p)=>(0,i.jsx)($i,{ref:p,isSelected:e,defaultSelected:t,isIndeterminate:r,onChange:n,isDisabled:o,name:c,value:l,"aria-label":d||a,className:$(`inline-flex items-center gap-2 cursor-pointer select-none group`,`font-dos`,s===`sm`?`text-dos-text-xs`:`text-dos-text-sm`,`eidotter-checkbox`,o&&`opacity-60 cursor-not-allowed`,u),"data-size":s,...f,children:({isSelected:e,isIndeterminate:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-checkbox__box`,e&&`eidotter-checkbox__box--checked`,t&&`eidotter-checkbox__box--indeterminate`),children:t?`[-]`:e?`[X]`:`[ ]`}),a&&(0,i.jsx)(`span`,{className:`eidotter-checkbox__label`,children:a})]})}));im.displayName=`Checkbox`;var am=({prompt:e=`C:\\>`,onCommand:t,autoFocus:n=!1,className:r=``,placeholder:a,disabled:o=!1})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&l.current&&l.current.focus()},[n]),(0,i.jsxs)(`div`,{className:`command-prompt ${o?`command-prompt--disabled`:``} ${r}`.trim(),onClick:()=>{!o&&l.current&&l.current.focus()},children:[(0,i.jsx)(`span`,{className:`command-prompt__prompt`,"aria-hidden":`true`,children:e}),(0,i.jsxs)(`div`,{className:`command-prompt__input-wrapper`,children:[(0,i.jsx)(`input`,{ref:l,className:`command-prompt__input`,value:s,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s.trim()&&!o&&(t(s.trim()),c(``))},autoFocus:n,spellCheck:!1,autoComplete:`off`,autoCapitalize:`off`,autoCorrect:`off`,placeholder:a,disabled:o,"aria-label":`Command input`,size:s.length||a?.length||1}),(0,i.jsx)(`span`,{className:`command-prompt__cursor`,"aria-hidden":`true`,children:`_`})]})]})},om=`█`,sm=`░`,cm=`▓`,lm=`▒`,um={sm:`text-xs`,md:`text-base`,lg:`text-lg`,small:`text-xs`,medium:`text-base`,large:`text-lg`},dm={default:`eidotter-progress--default`,success:`eidotter-progress--success`,warning:`eidotter-progress--warning`,error:`eidotter-progress--error`};function fm(e,t,n){let r=t-e;if(n===`gradient`&&e>0&&e<t){let t=Math.min(2,r),n=r-t,i=(t>=1?cm:``)+(t>=2?lm:``);return{filled:om.repeat(e),transition:i,empty:sm.repeat(n)}}return{filled:om.repeat(e),transition:``,empty:sm.repeat(r)}}var pm=(0,p.forwardRef)(({value:e=0,max:t=100,indeterminate:n=!1,variant:r=`default`,size:a=`md`,trackStyle:o=`block`,blocks:s=20,showLabel:c=!1,fullWidth:l=!1,glow:u=!1,valueText:d,className:f,"aria-label":p,...m},h)=>{let g=Math.min(80,Math.max(3,Math.floor(s))),_=Math.min(100,Math.max(0,e/t*100)),v=Math.round(_/100*g),y=$(`inline-flex items-center gap-2 font-dos`,`eidotter-progress`,um[a]||um.md,dm[r]||dm.default,u&&`eidotter-progress--glow`,l&&`eidotter-progress--full-width`,n&&`eidotter-progress--indeterminate`,o===`bordered`&&`eidotter-progress--bordered`,f),b={"aria-label":p||`Progress: ${n?`loading`:`${Math.round(_)}%`}`};n||(b[`aria-valuenow`]=e,b[`aria-valuemin`]=0,b[`aria-valuemax`]=t),d&&(b[`aria-valuetext`]=d);let x=o===`bordered`,S=$(`eidotter-progress__track`,x&&`eidotter-progress__track--borderless`);if(n){let e=sm.repeat(g);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:e}),(0,i.jsxs)(`span`,{className:`eidotter-progress__scanner`,children:[cm,om,cm]})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-progress__label`,children:`...`})]})}let C=om.repeat(g),w=sm.repeat(g),{transition:T}=fm(v,g,o);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:w}),(0,i.jsx)(`span`,{className:`eidotter-progress__fill`,style:{"--fill-pct":String(_)},children:C}),T&&(0,i.jsx)(`span`,{className:`eidotter-progress__transition`,style:{"--fill-pct":String(_)},children:T})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsxs)(`span`,{className:`eidotter-progress__label`,children:[Math.round(_),`%`]})]})});pm.displayName=`Progress`;var mm=(e,t,n)=>Math.min(n,Math.max(t,e)),hm=(0,p.forwardRef)(({value:e=0,max:t=100,size:n=64,thickness:r=8,segments:a=16,color:o,showLabel:s=!1,glow:c=!1,decorative:l=!1,className:u,"aria-label":d,...f},p)=>{let m=Math.max(1,Math.floor(a)),h=mm(t===0?0:e/t,0,1),g=Math.floor(h*m),_=Math.round(g/m*100),v=(n-r)/2,y=n/2,b=n/2,x=2*Math.PI*v,S=x/m,C=Math.max(2,S/6),w=Math.max(.5,S-C),T=o??`currentColor`,E=Array.from({length:m},(e,t)=>{let n=t<g;return(0,i.jsx)(`circle`,{cx:y,cy:b,r:v,fill:`none`,stroke:T,strokeWidth:r,strokeLinecap:`butt`,strokeOpacity:n?1:.18,strokeDasharray:`0 ${t*S} ${w} ${x}`,className:$(`eidotter-progress-ring__seg`,n&&`eidotter-progress-ring__seg--filled`)},t)});return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-progress-ring`,c&&`eidotter-progress-ring--glow`,u),style:{width:n,height:n},...l?{"aria-hidden":!0}:{role:`progressbar`,"aria-valuenow":_,"aria-valuemin":0,"aria-valuemax":100,"aria-label":d??`Progress: ${_}%`},...f,children:[(0,i.jsx)(`svg`,{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":`true`,focusable:`false`,children:(0,i.jsx)(`g`,{transform:`rotate(-90 ${y} ${b})`,children:E})}),s&&(0,i.jsxs)(`span`,{className:`eidotter-progress-ring__label font-dos`,children:[_,`%`]})]})});hm.displayName=`ProgressRing`;var gm=`░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░`,_m=`▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒`,vm=6,ym={text:3,card:3,figure:4,timeline:2},bm=({dense:e=!1,width:t=`full`})=>(0,i.jsx)(`span`,{className:$(`eidotter-skeleton__line`,t===`short`&&`eidotter-skeleton__line--short`,t===`meta`&&`eidotter-skeleton__line--meta`),children:(e?_m:gm).repeat(vm)});function xm(e,t=!1,n=!0){return Array.from({length:e},(r,a)=>(0,i.jsx)(bm,{dense:t,width:n&&a===e-1&&e>1?`short`:`full`},a))}var Sm=({variant:e=`text`,lines:t,animated:n=!0,label:r=`Loading`,className:a})=>{let o=Math.max(1,t??ym[e]),s;switch(e){case`card`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(bm,{dense:!0,width:`meta`}),xm(o)]});break;case`figure`:s=xm(o,!0,!1);break;case`timeline`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`eidotter-skeleton__marker border-2 border-dos-border-default`}),(0,i.jsxs)(`span`,{className:`eidotter-skeleton__entry`,children:[(0,i.jsx)(bm,{width:`meta`}),xm(o)]})]});break;default:s=xm(o)}return(0,i.jsx)(`div`,{role:`status`,"aria-label":r,className:$(`eidotter-skeleton font-dos text-dos-text-muted`,`eidotter-skeleton--${e}`,n&&`eidotter-skeleton--animated`,e===`card`&&`border-2 border-dos-border-default bg-dos-bg-secondary p-4`,e===`figure`&&`border-2 border-dos-border-default bg-dos-bg-secondary`,a),children:(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-skeleton__glyphs`,children:s})})};Sm.displayName=`Skeleton`;var Cm={unknown:`unknown`,stale:`stale`,offline:`offline`,other:`other`,now:`now`,remaining:`remaining`,estimated:`estimated`,modelled:`modelled`};function wm(e){return{...Cm,...e}}function Tm(e,t){return t===`estimated`||t===`modelled`?e[t]:null}var Em=`−`;function Dm(e){return typeof e==`number`&&Number.isFinite(e)}var Om=64,km=new Map;function Am(e,t,n,r){let i=`${e}|${t??``}|${n}|${r}|${n?`percent`:``}`,a=km.get(i);return a||(a=new Intl.NumberFormat(e,{...t!==void 0&&{minimumFractionDigits:t,maximumFractionDigits:t},...n&&{style:`unit`,unit:`percent`},...r&&{signDisplay:`exceptZero`}}),km.size>=Om&&km.clear(),km.set(i,a)),a}function jm(e,t={}){if(!Dm(e))return{text:`--`,status:`unknown`};let{locale:n=`en`,digits:r,percent:i,max:a,unit:o,signed:s}=t,c=(e,t)=>Am(n,r,!!i,t).format(e).replace(`-`,Em),l=c(e,!!s);return Dm(a)&&(l+=`/${c(a,!1)}`),o&&(l+=` ${o}`),{text:l,status:`ok`}}var Mm=new Set;function Nm(e,t){if(!(process.env.NODE_ENV===`production`||!t)){for(let n of e)if(n.unit&&n.unit!==t){let e=`${n.unit}|${t}`;if(Mm.has(e))continue;Mm.add(e),console.warn(`[eidotter] Band unit "${n.unit}" differs from value unit "${t}".`)}}}function Pm(e,t,n){if(!t||t.length===0||(Nm(t,n),!Dm(e)))return{tone:`neutral`};let r=t.find(t=>e>=t.from&&e<t.to);return r?{tone:r.tone,label:r.label,band:r}:{tone:`neutral`}}var Fm={sm:`eidotter-gauge--sm text-dos-text-xs`,md:`eidotter-gauge--md text-dos-text-sm`,lg:`eidotter-gauge--lg text-dos-text-md`},Im={sm:`text-dos-text-sm`,md:`text-dos-display-xs`,lg:`text-dos-display-sm`},Lm={sm:72,md:104,lg:136},Rm={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},zm={neutral:16,info:12,success:16,warning:20,critical:24},Bm={ok:``,loading:`eidotter-gauge--loading`,empty:`eidotter-gauge--empty`,stale:`eidotter-gauge--stale`,unknown:`eidotter-gauge--unknown`},Vm=(0,p.forwardRef)(({label:e,shortLabel:t,value:n,max:r=100,unit:a,secondary:o,size:s=`md`,tone:c,status:l=`ok`,provenance:u,bands:d,locale:f=`en`,labels:p,glow:m=!1,className:h,"aria-label":g,..._},v)=>{let y=wm(p),b=l===`loading`,x=!Dm(n)||!(r>0)||!Number.isFinite(r)||l===`empty`||l===`unknown`,S=x?0:n/r*100,C=!x&&n>r,w=Pm(x?null:n,d,a),T=c??w.tone,E=x?`--`:jm(S,{locale:f,percent:!0}).text,D=l===`stale`&&!x,O=[x||b?y.unknown:E,D&&y.stale].filter(Boolean).join(`, `),k=`${g??e}: ${O}`,A=Lm[s]??Lm.md,j=Tm(y,u);return(0,i.jsxs)(`div`,{ref:v,className:$(`eidotter-gauge eidotter-health flex flex-col items-center gap-1 w-full font-dos`,Fm[s]??Fm.md,Rm[T],Bm[l],h),style:{minWidth:A},role:`meter`,"aria-valuemin":0,"aria-valuemax":x?100:r,"aria-valuenow":x||b?0:Math.max(0,Math.min(n,r)),"aria-valuetext":O,"aria-label":k,"aria-busy":b||void 0,..._,children:[(0,i.jsxs)(`div`,{className:`relative inline-flex items-center justify-center`,children:[(0,i.jsx)(hm,{decorative:!0,value:b?0:S,max:100,size:A,thickness:Math.round(A/8),segments:zm[T]??16,color:T===`neutral`?void 0:`var(--eidotter-fill)`,glow:!1,className:$(m&&`eidotter-health-glow`)}),(0,i.jsx)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center text-center leading-none`,children:b?(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-gauge__skeleton w-full overflow-hidden`,children:(0,i.jsx)(Sm,{variant:`figure`,lines:2,animated:!1})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-gauge__value text-dos-text-accent tabular-nums`,Im[s]??Im.md,D&&`opacity-60`),children:E}),o&&!x&&(0,i.jsx)(`span`,{className:`eidotter-gauge__secondary text-dos-text-brand text-dos-text-xs tabular-nums`,children:o})]})})]}),(0,i.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight max-w-full`,children:[T===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-gauge__glyph text-dos-text-error`,children:`▲`}),(0,i.jsxs)(`span`,{className:`eidotter-gauge__label truncate`,title:e,children:[(0,i.jsx)(`span`,{className:`eidotter-gauge__label--full`,children:e}),t&&(0,i.jsx)(`span`,{className:`eidotter-gauge__label--short`,children:t})]}),C&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-gauge__overflow text-dos-text-warning`,children:`+`}),j!==null&&(0,i.jsx)(`span`,{className:`eidotter-gauge__provenance border border-dos-border-brand px-1 normal-case`,children:j}),D&&(0,i.jsx)(`span`,{className:`eidotter-gauge__stale normal-case`,children:y.stale})]}),w.label&&(0,i.jsx)(`span`,{className:`eidotter-gauge__band text-dos-text-brand normal-case`,children:w.label})]})});Vm.displayName=`Gauge`;var Hm={vertical:`eidotter-meter--vertical flex-col items-center gap-1`,horizontal:`eidotter-meter--horizontal flex-row items-center gap-2`},Um={xs:`eidotter-meter--xs text-dos-text-xs`,sm:`eidotter-meter--sm text-dos-text-xs`,md:`eidotter-meter--md text-dos-text-sm`},Wm={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},Gm={solid:`eidotter-fill--solid`,dither:`eidotter-fill--dither`,hatch:`eidotter-fill--hatch`,dotted:`eidotter-fill--dotted`},Km={neutral:`solid`,info:`solid`,success:`dither`,warning:`hatch`,critical:`dotted`},qm=e=>Math.round(e*1e4)/1e4,Jm=e=>Math.min(1,Math.max(0,e));function Ym(e,t){if(e!==void 0){if(Array.isArray(e)){let n=Jm(e[0]/t),r=Jm(e[1]/t);return{"--eidotter-meter-optimal-start":String(qm(n)),"--eidotter-meter-optimal-size":String(qm(r-n))}}return{"--eidotter-meter-optimal":String(qm(Jm(e/t)))}}}var Xm=(0,p.forwardRef)(({label:e,shortLabel:t,value:n,max:r=100,unit:a,optimal:o,orientation:s=`vertical`,size:c=`sm`,tone:l,pattern:u,segments:d,bands:f,locale:p=`en`,labels:m,showValue:h=!0,className:g,"aria-label":_,...v},y)=>{let b=wm(m),x=r>0&&Number.isFinite(r),S=!Dm(n)||!x,C=S?0:Jm(n/r),w=!S&&n>r,T=Pm(S?null:n,f,a),E=l??T.tone,D=Gm[u??Km[E]??`solid`]??Gm.solid,O=S?`--`:jm(n,{locale:p,unit:a}).text,k=S?b.unknown:O,A=`${_??e}: ${k}`,j=Array.isArray(o),M=x?Ym(o,r):void 0,N=d===void 0?0:Math.max(0,Math.floor(d)),ee=Math.round(C*N),P=h||w?(0,i.jsxs)(`div`,{className:`eidotter-meter__readout flex items-center gap-1 leading-none`,children:[h&&(0,i.jsx)(`span`,{className:`eidotter-meter__value text-dos-text-accent tabular-nums`,children:O}),w&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-meter__overflow text-dos-text-warning`,children:`+`})]}):null,F=(0,i.jsxs)(`div`,{className:`eidotter-meter__track relative bg-dos-bg-primary border border-dos-border-disabled`,children:[N>0?(0,i.jsx)(`div`,{className:`eidotter-meter__segments`,"aria-hidden":`true`,children:Array.from({length:N},(e,t)=>(0,i.jsx)(`span`,{className:$(`eidotter-meter__segment`,t<ee&&`eidotter-meter__segment--filled ${D}`)},t))}):(0,i.jsx)(`div`,{className:$(`eidotter-meter__fill`,D),style:{"--eidotter-meter-fill":String(qm(C))}}),M&&(0,i.jsx)(`div`,{"aria-hidden":`true`,className:$(`eidotter-meter__optimal`,j&&`eidotter-meter__optimal--range`),style:M})]}),te=(0,i.jsxs)(`div`,{className:`eidotter-meter__caption flex flex-wrap items-center justify-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight min-w-0 max-w-full`,children:[E===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-meter__glyph text-dos-text-error`,children:`▲`}),(0,i.jsxs)(`span`,{className:`eidotter-meter__label truncate`,title:e,children:[(0,i.jsx)(`span`,{className:`eidotter-meter__label--full`,children:e}),t&&(0,i.jsx)(`span`,{className:`eidotter-meter__label--short`,children:t})]}),T.label&&(0,i.jsx)(`span`,{className:`eidotter-meter__band normal-case`,children:T.label})]});return(0,i.jsx)(`div`,{ref:y,className:$(`eidotter-meter eidotter-health flex font-dos`,Hm[s]??Hm.vertical,Um[c]??Um.sm,Wm[E],g),role:`meter`,"aria-valuemin":0,"aria-valuemax":x?r:100,"aria-valuenow":S?0:Math.max(0,Math.min(n,r)),"aria-valuetext":k,"aria-label":A,...v,children:s===`horizontal`?(0,i.jsxs)(i.Fragment,{children:[te,F,P]}):(0,i.jsxs)(i.Fragment,{children:[P,F,te]})})});Xm.displayName=`Meter`;var Zm={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},Qm=({title:e,description:t,tone:n=`default`,action:r,className:a})=>(0,i.jsxs)(`div`,{className:$(`eidotter-empty-state`,`flex flex-col gap-2 py-6 text-center`,a),role:`status`,children:[(0,i.jsx)(`p`,{className:$(`font-dos text-dos-text-sm`,Zm[n]),children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted`,children:t}),r&&(0,i.jsx)(`div`,{className:`mt-2`,children:r})]});Qm.displayName=`EmptyState`;var $m={row:`eidotter-meter-group--row`,grid:`eidotter-meter-group--grid`},eh=(0,p.forwardRef)(({layout:e=`row`,columns:t,sharedMax:n=!1,items:r,children:a,labels:o,className:s,...c},l)=>{let u=p.default.Children.count(a)>0;if((!r||r.length===0)&&!u)return(0,i.jsx)(Qm,{title:wm(o).unknown,className:s});let d=n&&r?Math.max(...r.map(e=>e.max??100)):void 0,f=e===`grid`&&t!==void 0;return(0,i.jsx)(`div`,{ref:l,role:`group`,className:$(`eidotter-meter-group`,$m[e]??$m.row,f&&`eidotter-meter-group--columns`,s),style:f?{"--eidotter-meter-columns":String(t)}:void 0,...c,children:r?r.map((e,t)=>(0,i.jsx)(Xm,{...e,...d!==void 0&&{max:d}},`${e.label}-${t}`)):a})});eh.displayName=`MeterGroup`;var th={vertical:`eidotter-range-bar--vertical`,horizontal:`eidotter-range-bar--horizontal`},nh={sm:`eidotter-range-bar--sm text-dos-text-xs`,md:`eidotter-range-bar--md text-dos-text-sm`,lg:`eidotter-range-bar--lg text-dos-text-md`},rh={"vertical-sm":`w-[1rem] h-[8rem]`,"vertical-md":`w-[1.5rem] h-[12rem]`,"vertical-lg":`w-[2rem] h-[16rem]`,"horizontal-sm":`h-[1rem] w-full`,"horizontal-md":`h-[1.5rem] w-full`,"horizontal-lg":`h-[2rem] w-full`},ih={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},ah=`var(--color-semantic-text-muted)`,oh=`__eidotter-other`,sh={neutral:`none`,info:`solid`,success:`dither`,warning:`hatch`,critical:`dotted`},ch={none:`eidotter-fill--none`,solid:`eidotter-fill--solid`,dither:`eidotter-fill--dither`,hatch:`eidotter-fill--hatch`,dotted:`eidotter-fill--dotted`},lh=(e,t)=>{let n=ih[e.tone]?e.tone:`neutral`,r=e.pattern??sh[n];return{...e,weight:t,toneKey:n,patternClass:ch[r]??ch.solid}},uh=e=>Math.round(e*1e6)/1e6,dh=(0,p.forwardRef)(({segments:e,orientation:t=`vertical`,size:n=`md`,showLegend:r=!0,target:a,minSegmentShare:o=.6,labelThreshold:s=8,locale:c=`en`,labels:l,className:u,...d},f)=>{let p=wm(l),m=e.map(e=>Number.isFinite(e.share)&&e.share>0?e.share:0),h=uh(m.reduce((e,t)=>e+t,0)),g=e.map((e,t)=>lh(e,uh(h>100?m[t]/h*100:m[t])));h<100&&!e.some(e=>e.id===oh)&&g.push(lh({id:oh,label:p.other,share:0,tone:`neutral`},uh(100-h)));let _=e=>jm(e,{locale:c,percent:!0}).text,v=g.map(e=>`${e.label} ${_(e.weight)}`).join(`, `);return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-range-bar eidotter-health flex gap-3 font-dos`,t===`horizontal`?`flex-col`:`flex-row items-start`,th[t]??th.vertical,nh[n]??nh.md,u),...d,children:[(0,i.jsxs)(`div`,{className:$(`eidotter-range-bar__track flex gap-1`,t===`horizontal`?`flex-col w-full`:`flex-row`),children:[(0,i.jsx)(`div`,{role:`img`,"aria-label":v,className:$(`eidotter-range-bar__bar flex shrink-0`,t===`horizontal`?`flex-row`:`flex-col`,rh[`${t}-${n}`]??rh[`vertical-md`]),children:g.map(e=>{let n=a?.segmentId===e.id;return(0,i.jsx)(`div`,{"data-segment-id":e.id,className:$(`eidotter-range-bar__seg relative`,ih[e.toneKey],e.patternClass),style:{flexGrow:Math.max(e.weight,o),flexBasis:0,...e.toneKey===`neutral`&&{"--eidotter-fill":ah}},children:n&&a&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-range-bar__target absolute`,style:{[t===`horizontal`?`left`:`top`]:`${Math.min(Math.max(a.minShare/(e.weight||1),0),1)*100}%`}})},e.id)})}),(0,i.jsx)(`div`,{"aria-hidden":`true`,className:$(`eidotter-range-bar__lane flex tabular-nums text-dos-text-accent`,t===`horizontal`?`flex-row w-full`:`flex-col`),children:g.map(e=>(0,i.jsxs)(`div`,{className:$(`eidotter-range-bar__cell flex items-center justify-center gap-1 min-w-0`,t===`horizontal`?`flex-col`:`flex-row justify-start`),style:{flexGrow:Math.max(e.weight,o),flexBasis:0},children:[e.weight>=s&&(0,i.jsx)(`span`,{className:`eidotter-range-bar__pct`,children:_(e.weight)}),a?.segmentId===e.id&&(0,i.jsx)(`span`,{className:`eidotter-range-bar__target-label text-dos-text-brand whitespace-nowrap`,children:a.label})]},e.id))})]}),r&&(0,i.jsx)(`ul`,{className:`eidotter-range-bar__legend flex flex-col gap-1 list-none p-0 m-0 min-w-0`,children:g.map(e=>(0,i.jsxs)(`li`,{className:`eidotter-range-bar__row grid grid-cols-[auto_1fr_auto_auto] items-center gap-2`,children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,className:$(`eidotter-range-bar__swatch inline-block w-[0.75rem] h-[0.75rem]`,ih[e.toneKey],e.patternClass),style:{...e.toneKey===`neutral`&&{"--eidotter-fill":ah}}}),(0,i.jsxs)(`span`,{className:`text-dos-text-primary truncate`,title:e.label,children:[e.label,e.bound&&(0,i.jsxs)(`span`,{className:`text-dos-text-muted`,children:[` `,e.bound]})]}),(0,i.jsx)(`span`,{className:`text-dos-text-accent tabular-nums`,children:_(e.weight)}),(0,i.jsx)(`span`,{className:`text-dos-text-muted tabular-nums text-right`,children:e.duration??``})]},e.id))})]})});dh.displayName=`RangeBar`;var fh={sm:`eidotter-series-bars--sm text-dos-text-xs`,md:`eidotter-series-bars--md text-dos-text-sm`,lg:`eidotter-series-bars--lg text-dos-text-md`},ph={sm:`h-[6rem]`,md:`h-[10rem]`,lg:`h-[14rem]`},mh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},hh=`var(--color-semantic-text-muted)`,gh={neutral:`eidotter-fill--none`,info:`eidotter-fill--solid`,success:`eidotter-fill--dither`,warning:`eidotter-fill--hatch`,critical:`eidotter-fill--dotted`},_h=(0,p.forwardRef)(({points:e,max:t,goal:n,goalLabel:r,toneFor:a,tickEvery:o=1,size:s=`md`,locale:c=`en`,labels:l,className:u,...d},f)=>{let p=wm(l),m=e.map(e=>e.value).filter(Dm),h=t??Math.max(...m,n??0,0),g=h>0?h:1,_=a??(n===void 0?[]:[{from:n,tone:`success`}]),v=e=>_.filter(t=>e>=t.from).reduce((e,t)=>!e||t.from>e.from?t:e,void 0)?.tone??`neutral`,y=e=>Dm(e)?jm(e,{locale:c}).text:p.unknown,b=[...e.map(e=>`${e.label} ${y(e.value)}`),...n===void 0?[]:[`${r??``} ${y(n)}`.trim()]].join(`, `);return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-series-bars eidotter-health relative font-dos`,fh[s]??fh.md,u),...d,children:[(0,i.jsxs)(`div`,{role:`img`,"aria-label":b,children:[(0,i.jsxs)(`div`,{className:$(`eidotter-series-bars__plot relative`,ph[s]??ph.md),children:[n!==void 0&&(0,i.jsx)(`div`,{className:`eidotter-series-bars__goal absolute inset-x-0`,style:{bottom:`${Math.min(n,g)/g*100}%`},children:r&&(0,i.jsx)(`span`,{className:`eidotter-series-bars__goal-tag text-dos-text-brand`,children:r})}),(0,i.jsx)(`div`,{className:`eidotter-series-bars__cols flex items-end gap-1 h-full`,children:e.map((e,t)=>{let n=e.value,r=Dm(n)?v(n):`neutral`;return(0,i.jsx)(`div`,{className:`eidotter-series-bars__col flex flex-col justify-end flex-1 min-w-0 h-full`,title:`${e.label}: ${y(n)}`,children:Dm(n)?(0,i.jsx)(`div`,{className:$(`eidotter-series-bars__bar w-full`,mh[r],gh[r]),style:{height:`${Math.min(Math.max(n,0),g)/g*100}%`,...r===`neutral`&&{"--eidotter-fill":hh}}}):(0,i.jsx)(`span`,{className:`eidotter-series-bars__gap text-dos-text-muted text-center`,children:`--`})},t)})})]}),(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`flex gap-1 text-dos-text-muted`,children:e.map((e,t)=>(0,i.jsx)(`span`,{className:`eidotter-series-bars__tick flex-1 min-w-0 truncate text-center tabular-nums`,children:t%Math.max(o,1)===0?e.label:``},t))})]}),(0,i.jsx)(`table`,{className:`sr-only`,children:(0,i.jsxs)(`tbody`,{children:[e.map((e,t)=>(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`th`,{scope:`row`,children:e.label}),(0,i.jsx)(`td`,{children:y(e.value)})]},t)),n!==void 0&&(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`th`,{scope:`row`,children:r}),(0,i.jsx)(`td`,{children:y(n)})]})]})})]})});_h.displayName=`SeriesBars`;var vh={sm:`eidotter-vitals-strip--sm gap-1 text-dos-text-xs`,md:`eidotter-vitals-strip--md gap-2 text-dos-text-sm`,lg:`eidotter-vitals-strip--lg gap-2 text-dos-text-md`},yh={sm:`text-dos-display-xs`,md:`text-dos-display-sm`,lg:`text-dos-display-md`},bh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},xh={ok:``,loading:`eidotter-vitals-strip__tile--loading`,empty:`eidotter-vitals-strip__tile--empty`,stale:`eidotter-vitals-strip__tile--stale`,unknown:`eidotter-vitals-strip__tile--unknown`};function Sh(e,t){return e.loading?t.unknown:e.offline?t.offline:e.unknown?t.unknown:null}var Ch=(0,p.forwardRef)(({tiles:e,size:t=`md`,locale:n=`en`,labels:r,className:a,...o},s)=>{let c=wm(r);return(0,i.jsx)(`div`,{ref:s,className:$(`eidotter-vitals-strip eidotter-health flex flex-wrap w-full font-dos`,vh[t]??vh.md,a),...o,children:e.map(e=>{let r=e.status??`ok`,a=r===`loading`,o=e.pair?e.pair[0]:e.value,s=e.pair?Dm(e.pair[0])&&Dm(e.pair[1]):Dm(e.value),l=r===`empty`||r===`ok`&&!e.pair&&e.value===null,u=l||r===`unknown`||!s,d=r===`stale`&&!u,f=Pm(u?null:o,e.bands,e.unit),p=e.tone??f.tone,m=u?null:e.pair?jm(e.pair[0],{locale:n,max:e.pair[1]}).text:jm(e.value,{locale:n}).text,h=Sh({loading:a,offline:l,unknown:u},c);return(0,i.jsxs)(`div`,{role:`group`,"aria-label":[`${e.label}: ${h??[m,e.unit].filter(Boolean).join(` `)}`,d&&c.stale].filter(Boolean).join(`, `),"aria-busy":a||void 0,className:$(`eidotter-vitals-strip__tile flex flex-col gap-0.5 border border-dos-border-default p-2`,bh[p],xh[r],p===`critical`&&`eidotter-vitals-strip__marker border-l-4 border-dos-border-error`),children:[(0,i.jsxs)(`span`,{className:`flex items-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight`,children:[p===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`text-dos-text-error`,children:`▲`}),(0,i.jsx)(`span`,{className:`truncate`,title:e.label,children:e.label})]}),a?(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`w-full overflow-hidden`,children:(0,i.jsx)(Sm,{variant:`figure`,lines:1,animated:!1})}):(0,i.jsxs)(`span`,{className:$(`eidotter-vitals-strip__value text-dos-text-accent leading-none tabular-nums`,yh[t]??yh.md),children:[d?(0,i.jsx)(`span`,{className:`opacity-60`,children:m}):h??m,m&&e.unit&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__unit ml-1 text-[0.5em] text-dos-text-brand`,children:e.unit})]}),d&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__stale`,children:c.stale}),e.secondary&&!u&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__secondary text-dos-text-muted leading-tight`,children:e.secondary}),f.label&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__band text-dos-text-brand leading-tight`,children:f.label})]},e.id)})})});Ch.displayName=`VitalsStrip`;function wh(e){return typeof e==`number`?e:Date.parse(e)}function Th(e){return e.map(e=>({t:wh(e.t),v:e.remaining})).filter(e=>Number.isFinite(e.t)&&Number.isFinite(e.v)).sort((e,t)=>e.t-t.t)}function Eh(e,t,n){let r=wh(t.from),i=wh(t.to),a=(i-r)/n,o=Th(e),s=[],c=0,l=null;for(let e=0;e<n;e++){let t=r+e*a,u=e===n-1?i:r+(e+1)*a,d=e===n-1;for(;c<o.length&&o[c].t<t;)l=o[c++].v;let f=0,p=0;for(;c<o.length&&(o[c].t<u||d&&o[c].t===u);)f+=o[c].v,l=o[c++].v,p++;s.push({start:t,end:u,value:p>0?f/p:l})}return s}var Dh={sm:`eidotter-decay-strip--sm text-dos-text-xs`,md:`eidotter-decay-strip--md text-dos-text-sm`,lg:`eidotter-decay-strip--lg text-dos-text-md`},Oh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},kh=[`░`,`▒`,`▓`,`█`],Ah=`│`,jh=`·`;function Mh(e){return e===null?jh:kh[Math.round(Math.min(1,Math.max(0,e))*(kh.length-1))]}function Nh(e,t,n){let r=Th(e),i=-1;r.forEach((e,t)=>{e.v>0&&(i=t)});let a=r.slice(i+1).find(e=>e.v<=0);if(!a||!Number.isFinite(t)||a.t<t)return null;let o=(a.t-t)/6e4,s=new Intl.RelativeTimeFormat(n,{numeric:`always`});return o<60?s.format(Math.round(o),`minute`):s.format(Math.round(o/6)/10,`hour`)}var Ph=(0,p.forwardRef)(({items:e,samples:t,now:n,window:r,provenance:a,size:o=`md`,tone:s=`neutral`,columns:c=24,locale:l=`en`,timeZone:u,labels:d,announce:f=!1,className:p,...m},h)=>{let g=wm(d),_=wh(n),v=Eh(t,r,c),y=new Intl.DateTimeFormat(l,{timeStyle:`short`,...u&&{timeZone:u}}),b=e=>Number.isFinite(e)?y.format(e):`--`,x=b(wh(r.from)),S=b(wh(r.to)),C=e=>Tm(g,e),w=jm(0,{locale:l,percent:!0}).text,T=e.map(e=>{let t=jm(e.amount,{locale:l,unit:e.unit}).text,n=Dm(e.remainingShare)?e.remainingShare:null;return{item:e,amountText:t,share:n,shareText:n===null?g.unknown:`${jm(n*100,{locale:l,percent:!0}).text} ${g.remaining}`,tagText:C(e.provenance)}}),E=Nh(t,_,l),D=C(a),O=[...T.map(e=>`${e.item.label} ${e.amountText}: ${e.shareText}${e.tagText?`, ${e.tagText}`:``}`),`${x}–${S}`,Number.isFinite(_)&&`${g.now} ${y.format(_)}`,E&&`${w} ${E}`,D].filter(Boolean).join(`; `),k=o===`sm`;return(0,i.jsxs)(`div`,{ref:h,className:$(`eidotter-decay-strip eidotter-health flex flex-col gap-2 w-full min-w-0 font-dos text-dos-text-brand`,Dh[o]??Dh.md,Oh[s],p),...m,children:[e.length===0?(0,i.jsx)(Qm,{title:`${w} ${g.remaining}`,className:`py-2`}):(0,i.jsx)(`ul`,{className:$(`flex gap-2 min-w-0`,k?`flex-col`:`flex-wrap`),children:T.map(e=>(0,i.jsx)(`li`,{className:$(`eidotter-decay-strip__item min-w-0`,k?`flex flex-wrap items-baseline gap-2 tabular-nums`:`flex-1`),children:k?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`truncate text-dos-text-accent`,title:e.item.label,children:e.item.label}),(0,i.jsx)(`span`,{children:e.amountText}),(0,i.jsx)(`span`,{children:e.shareText}),e.tagText&&(0,i.jsx)(`span`,{className:`eidotter-decay-strip__item-provenance border border-dos-border-brand px-1`,children:e.tagText})]}):(0,i.jsx)(Vm,{label:e.item.label,value:e.share===null?null:e.share*100,secondary:e.item.amount===null?void 0:e.amountText,size:`sm`,tone:s,provenance:e.item.provenance,locale:l,labels:d})},e.item.id))}),(0,i.jsxs)(`div`,{className:`eidotter-decay-strip__strip flex items-center gap-2 min-w-0 tabular-nums`,role:`img`,"aria-label":O,children:[(0,i.jsx)(`span`,{className:`eidotter-decay-strip__from shrink-0`,children:x}),(0,i.jsx)(`span`,{className:`eidotter-decay-strip__cells flex-1 min-w-0 overflow-hidden whitespace-nowrap leading-none`,style:s===`neutral`?void 0:{color:`var(--eidotter-fill)`},children:v.map((e,t)=>{let n=t===v.length-1,r=_>=e.start&&(_<e.end||n&&_===e.end),a=!r&&_<e.start&&_>=v[0].start;return(0,i.jsx)(`span`,{className:$(`eidotter-decay-strip__cell`,`eidotter-decay-strip__cell--${r?`now`:a?`future`:`past`}`,a&&`opacity-50`,r&&`text-dos-text-accent`,r&&f&&`eidotter-health-pulse`),children:r?Ah:Mh(e.value)},t)})}),(0,i.jsx)(`span`,{className:`eidotter-decay-strip__to shrink-0`,children:S})]}),D&&(0,i.jsx)(`span`,{className:`eidotter-decay-strip__provenance self-start border border-dos-border-brand px-1`,children:D}),f&&(0,i.jsx)(`p`,{className:`sr-only`,"aria-live":`polite`,children:O})]})});Ph.displayName=`DecayStrip`;var Fh={success:`█`,fail:`░`,skip:`·`,pending:`▒`,empty:` `},Ih=[`success`,`fail`,`skip`,`pending`],Lh={success:`DONE`,fail:`MISS`,skip:`OFF`,pending:`TODAY`},Rh=[`MO`,`TU`,`WE`,`TH`,`FR`,`SA`,`SU`],zh=[`SU`,`MO`,`TU`,`WE`,`TH`,`FR`,`SA`],Bh=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Vh={sm:`eidotter-calendar-heatmap--sm`,md:`eidotter-calendar-heatmap--md`,lg:`eidotter-calendar-heatmap--lg`},Hh=e=>String(e).padStart(2,`0`),Uh=(0,p.forwardRef)(({month:e,statuses:t={},defaultStatus:n=`skip`,weekStart:r=`monday`,size:a=`md`,successColor:o,showLegend:s=!0,legendLabels:c,glyphs:l,className:u,"aria-label":d,...f},p)=>{let m=Number(e.slice(0,4)),h=Number(e.slice(5,7))-1,g=Number.isFinite(m)&&h>=0&&h<=11,_={...Fh,...l},v={...Lh,...c},y=[],b=0,x=0;if(g){let e=new Date(Date.UTC(m,h+1,0)).getUTCDate(),i=new Date(Date.UTC(m,h,1)).getUTCDay(),a=r===`monday`?(i+6)%7:i,o=[];for(let e=0;e<a;e++)o.push({key:`lead-${e}`,day:0,status:`empty`});for(let r=1;r<=e;r++){let e=`${m}-${Hh(h+1)}-${Hh(r)}`,i=t[e]??n;i===`success`&&b++,i===`fail`&&x++,o.push({key:e,day:r,status:i})}for(;o.length%7!=0;)o.push({key:`trail-${o.length}`,day:0,status:`empty`});for(let e=0;e<o.length;e+=7)y.push(o.slice(e,e+7))}let S=r===`monday`?Rh:zh,C=g?`${Bh[h]} ${m}`:e,w=d??`${C}: ${b} done, ${x} missed`,T=o?{"--heatmap-success":o}:void 0;return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-calendar-heatmap font-dos`,Vh[a],u),style:T,...f,children:[(0,i.jsxs)(`div`,{className:`eidotter-calendar-heatmap__grid`,role:`img`,"aria-label":w,children:[(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:S.map(e=>(0,i.jsx)(`span`,{className:`eidotter-calendar-heatmap__cell eidotter-calendar-heatmap__head`,children:e},e))}),y.map((e,t)=>(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:e.map(e=>(0,i.jsx)(`span`,{className:$(`eidotter-calendar-heatmap__cell`,`eidotter-calendar-heatmap__cell--${e.status}`),children:_[e.status]},e.key))},t))]}),s&&(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__legend`,"aria-hidden":`true`,children:Ih.map(e=>(0,i.jsxs)(`span`,{className:`eidotter-calendar-heatmap__cell--${e}`,children:[_[e],` `,v[e]]},e))})]})});Uh.displayName=`CalendarHeatmap`;var Wh=e=>e*e,Gh=.02,Kh=120,qh=(0,p.forwardRef)(({onHold:e,onTap:t,onHoldProgress:n,holdDuration:r=700,ringColor:a,ringScale:o=.72,disabled:s=!1,"aria-label":c,className:l,children:u},d)=>{let[f,m]=(0,p.useState)(0),[h,g]=(0,p.useState)(0),_=(0,p.useRef)(null),v=(0,p.useRef)(null),y=(0,p.useRef)(0),b=(0,p.useRef)(0),x=(0,p.useRef)(0),S=(0,p.useRef)(0),C=(0,p.useRef)(r),w=(0,p.useRef)(!1),T=(0,p.useRef)(e),E=(0,p.useRef)(n);T.current=e,E.current=n;let D=(0,p.useCallback)(e=>{y.current=e,m(e),E.current?.(e)},[]),O=(0,p.useCallback)(()=>{v.current!=null&&(cancelAnimationFrame(v.current),v.current=null)},[]),k=(0,p.useCallback)(e=>{let t=e-S.current,n=C.current,r=n<=0?1:Math.min(1,t/n),i=x.current===1?Wh(r):r,a=b.current+(x.current-b.current)*i;if(D(a),r>=1){v.current=null,x.current===1&&(w.current=!0,D(0),T.current());return}v.current=requestAnimationFrame(k)},[D]),A=(0,p.useCallback)((e,t)=>{O(),b.current=y.current,x.current=e,C.current=t,S.current=typeof performance<`u`?performance.now():0,v.current=requestAnimationFrame(k)},[O,k]),j=(0,p.useCallback)(e=>{if(!s){try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}w.current=!1,D(0),A(1,r)}},[s,r,A,D]),M=(0,p.useCallback)(()=>{if(!w.current){if(y.current<=0){O();return}Wp()?(O(),D(0)):A(0,Kh)}},[A,O,D]),N=(0,p.useCallback)(()=>{s||(w.current||t?.(),w.current=!1)},[s,t]),ee=(0,p.useCallback)(t=>{s||t.repeat||(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[s,e]);(0,p.useEffect)(()=>{let e=_.current;if(!e)return;let t=()=>g(Math.min(e.clientWidth,e.clientHeight));if(t(),typeof ResizeObserver<`u`){let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()}},[]),(0,p.useEffect)(()=>O,[O]);let P=(0,p.useCallback)(e=>{_.current=e,typeof d==`function`?d(e):d&&(d.current=e)},[d]),F=f>Gh&&h>0;return(0,i.jsxs)(`div`,{ref:P,className:$(`eidotter-hold`,s&&`eidotter-hold--disabled`,l),role:`button`,tabIndex:s?-1:0,"aria-label":c,"aria-disabled":s||void 0,onPointerDown:j,onPointerUp:M,onPointerCancel:M,onClick:N,onKeyDown:ee,children:[u,F&&(0,i.jsx)(`div`,{className:`eidotter-hold__overlay`,children:(0,i.jsx)(hm,{value:f*100,size:Math.floor(h*o),color:a,"aria-label":`Hold progress`})})]})});qh.displayName=`HoldToComplete`;var Jh={default:`eidotter-input--default`,error:`eidotter-input--error`},Yh=(0,p.forwardRef)(({variant:e=`default`,label:t,description:n,errorMessage:r,disabled:a,className:o,onChange:s,isRequired:c,...l},u)=>{let d=e===`error`;return(0,i.jsxs)(uf,{isDisabled:a,isInvalid:d,isRequired:c,className:$(`eidotter-text-field`,`flex flex-col gap-1`,o),children:[t&&(0,i.jsx)(Xr,{className:`text-dos-text-brand font-dos text-xs uppercase tracking-wider`,children:t}),(0,i.jsx)(ia,{ref:u,className:$(`w-full bg-transparent text-dos-text-brand font-dos text-base p-2`,`border-2 border-dos-border-default outline-none box-border`,`eidotter-input`,Jh[e]||Jh.default,a&&`eidotter-input--disabled`),onChange:s,...l}),n&&!d&&(0,i.jsx)(ui,{slot:`description`,className:`text-dos-text-muted font-dos text-xs`,children:n}),r&&d&&(0,i.jsx)(ui,{slot:`errorMessage`,className:`text-dos-text-error font-dos text-xs`,children:r})]})});Yh.displayName=`Input`;var Xh=({size:e=`md`,title:t=`MS-DOS Terminal`,state:n=`active`,resizable:r=!0,minimizable:a=!1,maximizable:o=!1,closeable:s=!1,children:c,onMinimize:l,onMaximize:u,onClose:d,onFocus:f,className:m=``,autoFocus:h=!1})=>{let g={sm:`small`,md:`medium`,lg:`large`}[e]??e,[_,v]=(0,p.useState)(n),[y,b]=(0,p.useState)(!1),x=(0,p.useRef)(null);(0,p.useEffect)(()=>{h&&x.current&&x.current.focus()},[h]);let S=()=>{v(`minimized`),l?.()},C=()=>{b(!y),u?.()},w=()=>{d?.()},T=()=>{v(`active`),f?.()};return _===`minimized`?(0,i.jsx)(J,{className:`terminal terminal--minimized ${m}`.trim(),onPress:T,"aria-label":`Restore ${t} window`,children:(0,i.jsxs)(`div`,{className:`terminal__taskbar-item`,children:[(0,i.jsx)(Up,{name:`App`,size:`S`}),(0,i.jsx)(`span`,{className:`terminal__taskbar-title`,children:t})]})}):(0,i.jsxs)(`div`,{ref:x,className:`terminal terminal--${g} terminal--${_} ${y?`terminal--maximized`:``} ${m}`.trim(),tabIndex:0,role:`dialog`,"aria-label":`${t} terminal window`,onFocus:T,onKeyDown:e=>{e.altKey&&e.key===`F4`&&s&&(e.preventDefault(),w())},children:[(0,i.jsxs)(`div`,{className:`terminal__title-bar`,children:[(0,i.jsxs)(`div`,{className:`terminal__title`,children:[(0,i.jsx)(Up,{name:`App`,size:`S`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`terminal__title-text`,children:t})]}),(a||o||s)&&(0,i.jsxs)(`div`,{className:`terminal__controls`,children:[a&&(0,i.jsx)(J,{className:`terminal__control terminal__control--minimize`,onPress:S,"aria-label":`Minimize window`,children:(0,i.jsx)(Up,{name:`Cancel`,size:`S`})}),o&&(0,i.jsx)(J,{className:`terminal__control terminal__control--maximize`,onPress:C,"aria-label":y?`Restore window`:`Maximize window`,children:(0,i.jsx)(Up,{name:y?`Fullscreen`:`Add`,size:`S`})}),s&&(0,i.jsx)(J,{className:`terminal__control terminal__control--close`,onPress:w,"aria-label":`Close window`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})]}),(0,i.jsx)(`div`,{className:`terminal__content`,role:`main`,children:c||(0,i.jsx)(`div`,{className:`terminal__default-content`,children:(0,i.jsxs)(`div`,{className:`terminal__prompt`,children:[(0,i.jsx)(`span`,{className:`terminal__path`,children:`C:\\\\>`}),(0,i.jsx)(`span`,{className:`terminal__cursor`,"aria-hidden":`true`})]})})}),r&&(0,i.jsx)(`div`,{className:`terminal__resize-handle`,"aria-hidden":`true`})]})},Zh={sm:`eidotter-tabs--sm`,md:`eidotter-tabs--md`,lg:`eidotter-tabs--lg`,small:`eidotter-tabs--sm`,medium:`eidotter-tabs--md`,large:`eidotter-tabs--lg`},Qh={underline:`eidotter-tabs--underline`,pills:`eidotter-tabs--pills`},$h=(0,p.forwardRef)(({tabs:e,variant:t=`underline`,size:n=`md`,activeTab:r,defaultActiveTab:a,onSelectionChange:o,onTabChange:s,className:c,...l},u)=>{let d=(0,p.useRef)(null),f=(0,p.useRef)(r??a??e[0]?.id??``),[m,h]=(0,p.useState)(r??a??e[0]?.id??``),g=o??s,_=(0,p.useCallback)(e=>{let t=String(e),n=r??f.current;f.current=t,h(t),g?.(t,n)},[r,g]);return(0,p.useLayoutEffect)(()=>{let e=d.current;if(!e||t!==`underline`)return;let n=()=>{let t=e.querySelector(`[aria-selected="true"]`);t&&(e.style.setProperty(`--indicator-left`,`${t.offsetLeft}px`),e.style.setProperty(`--indicator-width`,`${t.offsetWidth}px`))};n();let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[r,m,t]),(0,i.jsxs)(ef,{ref:u,selectedKey:r,defaultSelectedKey:a??e[0]?.id,onSelectionChange:_,className:$(`eidotter-tabs`,Qh[t],Zh[n]||Zh.md,c),children:[(0,i.jsxs)(`div`,{ref:d,className:`relative`,children:[(0,i.jsx)(nf,{className:`inline-flex items-center font-dos eidotter-tabs__list`,"aria-label":l[`aria-label`],children:e.map(e=>(0,i.jsx)(af,{id:e.id,isDisabled:e.disabled,className:({isSelected:e,isDisabled:t})=>$(`eidotter-tabs__tab`,e&&`eidotter-tabs__tab--active`,t&&`eidotter-tabs__tab--disabled`),children:e.label},e.id))}),t===`underline`&&(0,i.jsx)(`span`,{className:`eidotter-tabs__indicator`,"aria-hidden":`true`})]}),e.map(e=>(0,i.jsx)(of,{id:e.id,className:`hidden`},e.id))]})});$h.displayName=`Tabs`;var eg={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},tg={default:`eidotter-badge--default`,success:`eidotter-badge--success`,warning:`eidotter-badge--warning`,error:`eidotter-badge--error`,info:`eidotter-badge--info`,accent:`eidotter-badge--accent`,brand:`eidotter-badge--accent`,gray:`eidotter-badge--default`,blue:`eidotter-badge--info`,indigo:`eidotter-badge--info`,purple:`eidotter-badge--info`,pink:`eidotter-badge--error`,orange:`eidotter-badge--warning`},ng=(0,p.forwardRef)(({variant:e=`default`,size:t=`md`,dot:n=!1,children:r,className:a,...o},s)=>(0,i.jsxs)(`span`,{ref:s,className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`uppercase tracking-wider`,`rounded-dos-sm`,`eidotter-badge`,eg[t]||eg.md,tg[e]||tg.default,a),"data-variant":e,...o,children:[n&&(0,i.jsx)(`span`,{className:`eidotter-badge__dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-badge__content`,children:r})]}));ng.displayName=`Badge`;var rg=(0,p.forwardRef)(({checked:e,defaultChecked:t=!1,onChange:n,onCheckedChange:r,disabled:a=!1,size:o=`md`,type:s=`default`,label:c,name:l,value:u,className:d,...f},p)=>(0,i.jsx)(Bd,{ref:p,isSelected:e,defaultSelected:t,onChange:n??r,isDisabled:a,name:l,value:u,className:$(`inline-flex items-center gap-2 cursor-pointer outline-none font-dos group`,`eidotter-switch`,a&&`opacity-50 cursor-not-allowed`,d),"data-size":o,"data-type":s,...f,children:({isSelected:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-switch__track`,e&&`eidotter-switch__track--checked`,s===`slim`&&`eidotter-switch__track--slim`,o===`sm`&&`eidotter-switch__track--sm`),children:(0,i.jsx)(`span`,{className:`eidotter-switch__thumb`})}),c&&(0,i.jsx)(`span`,{className:`text-[var(--color-cga-amber)]`,children:c})]})}));rg.displayName=`Switch`;var ig=/^(?:https?:|mailto:)/i,ag=/^([a-z][a-z0-9+\-.]*):/i;function og(e,t){if(typeof e!=`string`)return!1;let n=e.trim();if(n.length===0)return!1;let r=n.replace(/[\t\n\r]/g,``);if(r.length===0)return!1;let i=ag.exec(r);if(!i||ig.test(r))return!0;let a=t?.extraSchemes;if(a&&a.length>0){let e=i[1].toLowerCase();return a.some(t=>t.toLowerCase()===e)}return!1}var sg=`eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline`,cg=({trail:e=[],currentLabel:t,showBackArrow:n=!0,separator:r=`/`,linkComponent:a,className:o})=>{let s=(e,t)=>{let r=(0,i.jsxs)(i.Fragment,{children:[n&&t&&(0,i.jsx)(`span`,{className:`text-[1em] leading-none`,"aria-hidden":`true`,children:`<`}),(0,i.jsx)(`span`,{children:e.label})]});if(e.onClick)return(0,i.jsx)(J,{className:$(sg,`bg-transparent border-0 cursor-pointer font-[inherit] p-0`),onPress:e.onClick,children:r});let o=e.href&&og(e.href)?e.href:void 0;return o?a?(0,i.jsx)(a,{href:o,className:sg,children:r}):(0,i.jsx)(`a`,{href:o,className:sg,children:r}):(0,i.jsx)(`span`,{className:sg,children:r})};return(0,i.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:$(`font-dos text-xs uppercase tracking-[0.35em]`,`eidotter-breadcrumb`,o),children:(0,i.jsxs)(`ol`,{className:`flex flex-wrap items-center gap-2 list-none m-0 p-0`,children:[e.map((t,n)=>{let a=n===e.length-1,o=n<e.length-1;return(0,i.jsxs)(`li`,{className:`flex items-center gap-2`,children:[s(t,a),o&&(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})]},`${t.href??t.label}-${n}`)}),e.length>0&&(0,i.jsx)(`li`,{className:`flex items-center gap-2`,children:(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})}),(0,i.jsx)(`li`,{className:`flex items-center gap-2`,"aria-current":`page`,children:(0,i.jsx)(`span`,{className:`text-dos-text-brand`,children:t})})]})})},lg=`eidotter:retro-boot`,ug=`1`,dg=e=>{if(typeof window>`u`)return!1;try{return window.sessionStorage.getItem(e)===ug}catch{return!1}},fg=e=>{if(!(typeof window>`u`))try{window.sessionStorage.setItem(e,ug)}catch{}},pg=({scanlines:e=!0,glow:t=!0,flicker:n=!0,bloom:r=!1,powered:a=!0,boot:o=!1,bootOnce:s=!1,bootStorageKey:c=lg,intensity:l=1,className:u,onPowerStateChange:d,onPowerOn:f,onPowerOff:m,onBootComplete:h})=>{let g=(0,p.useRef)(a),[_,v]=(0,p.useState)(a?`on`:`off`),[y,b]=(0,p.useState)(o),x=(0,p.useRef)(!1),S=(0,p.useRef)(c),C=(0,p.useRef)(h);(0,p.useEffect)(()=>{C.current=h});let w=()=>{x.current||(x.current=!0,C.current?.())},T=()=>{b(!1),s&&fg(S.current),w()};(0,p.useEffect)(()=>{if(!(!o||!s)&&dg(S.current)){b(!1),w();return}},[]),(0,p.useEffect)(()=>{if(!y||x.current)return;if(Wp()){T();return}let e=window.setTimeout(()=>{T()},1200);return()=>window.clearTimeout(e)},[y]);let E=e=>{e.animationName===`eidotter-retro-boot-glow`&&T()};(0,p.useEffect)(()=>{let e=g.current;if(g.current=a,e!==a){let e=a?`powering-on`:`powering-off`;v(e),d?.(e)}},[a,d]);let D=()=>{_===`powering-on`?(v(`on`),d?.(`on`),f?.()):_===`powering-off`&&(v(`off`),d?.(`off`),m?.())},O=e=>{e.animationName!==`retro-power-on`&&e.animationName!==`retro-power-off`||D()},k=e=>{e.propertyName===`opacity`&&(_!==`powering-on`&&_!==`powering-off`||D())},A={"--retro-intensity":l},j=_!==`off`;return(0,i.jsxs)(`div`,{className:$(`fixed inset-0 pointer-events-none z-[9999]`,`eidotter-retro-effects`,_===`powering-off`&&`eidotter-retro-effects--powering-off`,_===`powering-on`&&`eidotter-retro-effects--powering-on`,_===`off`&&`eidotter-retro-effects--off`,u),style:A,"aria-hidden":`true`,onAnimationEnd:O,onTransitionEnd:k,children:[j&&(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__scanlines`}),t&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__glow`}),n&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__flicker`}),r&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__bloom`})]}),y&&(0,i.jsxs)(`div`,{className:`eidotter-retro-effects__boot`,onAnimationEnd:E,children:[(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-line`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-glow`})]})]})},mg={sm:`small`,md:`medium`,lg:`large`,small:`small`,medium:`medium`,large:`large`},hg={circle:`eidotter-timeline-node--circle`,square:`eidotter-timeline-node--square`,diamond:`eidotter-timeline-node--diamond`},gg={default:`eidotter-timeline-node--default`,primary:`eidotter-timeline-node--primary`,secondary:`eidotter-timeline-node--secondary`,accent:`eidotter-timeline-node--accent`},_g={left:`eidotter-timeline-node--label-left`,right:`eidotter-timeline-node--label-right`,top:`eidotter-timeline-node--label-top`,bottom:`eidotter-timeline-node--label-bottom`},vg=(0,p.forwardRef)(({shape:e=`circle`,variant:t=`default`,isActive:n=!1,label:r,labelPosition:a=`right`,size:o=`md`,className:s,onClick:c,...l},u)=>{let d=mg[o]??`medium`;return(0,i.jsxs)(`div`,{ref:u,className:$(`inline-flex items-center gap-2 font-dos`,`eidotter-timeline-node`,hg[e],gg[t],`eidotter-timeline-node--${d}`,_g[a],n&&`eidotter-timeline-node--active`,c&&`eidotter-timeline-node--interactive`,s),onClick:()=>{c&&c()},onKeyDown:e=>{c&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),c())},role:c?`button`:void 0,tabIndex:c?0:void 0,"aria-pressed":c?n:void 0,...l,children:[r&&a===`left`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--left`,children:r}),r&&a===`top`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--top`,children:r}),(0,i.jsx)(`span`,{className:`eidotter-timeline-node__marker`,"aria-hidden":`true`}),r&&a===`right`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--right`,children:r}),r&&a===`bottom`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--bottom`,children:r})]})});vg.displayName=`TimelineNode`;var yg=[`year`,`month`,`day`,`hour`];function bg({zoomLevel:e,defaultZoomLevel:t=`month`,onZoomChange:n}={}){let r=e===void 0,[i,a]=(0,p.useState)(t),[o,s]=(0,p.useState)([]),c=(0,p.useRef)(r);(0,p.useEffect)(()=>{c.current&&!r&&s([]),c.current=r},[r]);let l=e??i,u=yg.indexOf(l),d=u<yg.length-1,f=u>0,m=o.length>0?o[o.length-1].periodStart:null,h=(0,p.useRef)(r),g=(0,p.useRef)(d),_=(0,p.useRef)(u),v=(0,p.useRef)(o),y=(0,p.useRef)(n);(0,p.useEffect)(()=>{h.current=r,g.current=d,_.current=u,v.current=o,y.current=n});let b=(0,p.useCallback)(e=>{h.current&&a(e),y.current?.(e)},[]);return{zoomLevel:l,canZoomIn:d,canZoomOut:f,breadcrumbs:o,currentPeriod:m,isDrillDownEnabled:r,drillDown:(0,p.useCallback)((e,t)=>{if(!h.current||!g.current)return;let n=yg[_.current+1];n!==void 0&&(s(n=>[...n,{periodStart:e,label:t}]),b(n))},[b]),drillUp:(0,p.useCallback)(()=>{if(!h.current||v.current.length===0)return;let e=yg[_.current-1];e!==void 0&&(s(e=>e.slice(0,-1)),b(e))},[b]),reset:(0,p.useCallback)(()=>{h.current&&(s([]),b(`year`))},[b])}}function xg({selectedEntryId:e,defaultSelectedEntryId:t=null,onSelectEntry:n}={}){let[r,i]=(0,p.useState)(t),a=e!==void 0,o=e===void 0?r:e,s=(0,p.useRef)(o),c=(0,p.useRef)(a),l=(0,p.useRef)(n);(0,p.useEffect)(()=>{s.current=o,c.current=a,l.current=n});let u=(0,p.useCallback)(e=>{c.current||i(e),l.current?.(e)},[]);return{selectedEntryId:o,select:(0,p.useCallback)(e=>{u(e)},[u]),deselect:(0,p.useCallback)(()=>{u(null)},[u]),toggle:(0,p.useCallback)(e=>{c.current?l.current?.(s.current===e?null:e):i(t=>{let n=t===e?null:e;return l.current?.(n),n})},[])}}var Sg=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Cg=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function wg(e){return new Date(e).getUTCFullYear()}function Tg(e){return new Date(e).getUTCMonth()}function Eg(e){return new Date(e).getUTCDate()}function Dg(e){return new Date(e).getUTCHours()}function Og(e){return String(e)}function kg(e,t){return`${Sg[t]} ${e}`}function Ag(e,t,n){return`${Cg[t]} ${n}`}function jg(e,t,n,r){let i=r>=12?`pm`:`am`,a=r===0?12:r>12?r-12:r;return`${Cg[t]} ${n}, ${a}${i}`}function Mg(e){let t=new Date(e),n=Cg[t.getUTCMonth()],r=t.getUTCDate(),i=t.getUTCFullYear(),a=t.getUTCHours(),o=t.getUTCMinutes(),s=a>=12?`pm`:`am`;return`${n} ${r}, ${i} at ${a===0?12:a>12?a-12:a}${o>0?`:${String(o).padStart(2,`0`)}`:``}${s}`}function Ng(e){return new Date(Date.UTC(e,0,1)).toISOString()}function Pg(e,t){return new Date(Date.UTC(e,t,1)).toISOString()}function Fg(e,t,n){return new Date(Date.UTC(e,t,n)).toISOString()}function Ig(e,t,n,r){return new Date(Date.UTC(e,t,n,r)).toISOString()}function Lg(e,t,n,r,i){let a=new Map,o=[];for(let n of e){let e=t(n),r=a.get(e);r?r.push(n):(a.set(e,[n]),o.push(e))}o.sort((e,t)=>i===`asc`?e.localeCompare(t):t.localeCompare(e));for(let[,e]of a)e.sort((e,t)=>{let n=e.date.localeCompare(t.date);return i===`asc`?n:-n});return o.map(e=>({label:n(e),periodStart:r(e),entries:a.get(e)??[]}))}function Rg(e){return String(wg(e.date))}function zg(e){let t=wg(e.date),n=Tg(e.date);return`${t}-${String(n).padStart(2,`0`)}`}function Bg(e){let t=wg(e.date),n=Tg(e.date),r=Eg(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}`}function Vg(e){let t=wg(e.date),n=Tg(e.date),r=Eg(e.date),i=Dg(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}-${String(i).padStart(2,`0`)}`}function Hg(e){return{year:parseInt(e)}}function Ug(e){let[t,n]=e.split(`-`);return{year:parseInt(t),month:parseInt(n)}}function Wg(e){let[t,n,r]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r)}}function Gg(e){let[t,n,r,i]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r),hour:parseInt(i)}}var Kg={year:4,month:7,day:10};function qg(e,t,n){if(t===null||n===`hour`)return e;let r=Kg[n];if(r===void 0)return e;let i=t.slice(0,r);return e.filter(e=>e.periodStart.slice(0,r)===i)}function Jg(e,t,n=`desc`){if(e.length===0)return[];let r=e.filter(e=>!isNaN(new Date(e.date).getTime()));if(r.length===0)return[];switch(t){case`year`:return Lg(r,Rg,e=>{let{year:t}=Hg(e);return Og(t)},e=>{let{year:t}=Hg(e);return Ng(t)},n);case`month`:return Lg(r,zg,e=>{let{year:t,month:n}=Ug(e);return kg(t,n)},e=>{let{year:t,month:n}=Ug(e);return Pg(t,n)},n);case`day`:return Lg(r,Bg,e=>{let{year:t,month:n,day:r}=Wg(e);return Ag(t,n,r)},e=>{let{year:t,month:n,day:r}=Wg(e);return Fg(t,n,r)},n);case`hour`:return Lg(r,Vg,e=>{let{year:t,month:n,day:r,hour:i}=Gg(e);return jg(t,n,r,i)},e=>{let{year:t,month:n,day:r,hour:i}=Gg(e);return Ig(t,n,r,i)},n)}}var Yg=({zoomLevel:e,canZoomIn:t,canZoomOut:n,onZoomIn:r,onZoomOut:a,onReset:o,breadcrumbs:s=[],onBreadcrumbClick:c})=>{let l=s.length>0;return(0,i.jsxs)(`div`,{className:`timeline-zoom-controls`,role:`toolbar`,"aria-label":`Timeline zoom controls`,children:[(0,i.jsx)(tm,{variant:`secondary`,size:`small`,onClick:a,disabled:!n,"aria-label":`Zoom out`,children:`[-]`}),l?(0,i.jsx)(cg,{trail:[{label:`ALL`,onClick:o},...s.slice(0,-1).map((e,t)=>({label:e.label,onClick:()=>c?.(t)}))],currentLabel:s[s.length-1].label,showBackArrow:!1,separator:`>`,className:`timeline-zoom-controls__breadcrumb`}):(0,i.jsx)(J,{className:`timeline-zoom-controls__level`,onPress:o,"aria-label":`Current zoom: ${e}. Click to reset.`,children:(0,i.jsx)(ng,{variant:`accent`,size:`medium`,children:e.toUpperCase()})}),(0,i.jsx)(tm,{variant:`secondary`,size:`small`,onClick:r,disabled:!t,"aria-label":`Zoom in`,children:`[+]`})]})},Xg=({children:e})=>(0,i.jsxs)(`div`,{className:`timeline-axis`,children:[(0,i.jsx)(`div`,{className:`timeline-axis__line`,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:`timeline-axis__content`,children:e})]}),Zg=p.default.memo(({buckets:e,onBucketClick:t})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--year`,role:`list`,children:e.map(e=>(0,i.jsx)(`div`,{className:`timeline-view__bucket timeline-view__bucket--year`,role:`listitem`,children:t?(0,i.jsxs)(J,{className:`timeline-view__bucket-button`,onPress:()=>t(e),children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(ng,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(ng,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]})},e.periodStart))}));Zg.displayName=`YearView`;var Qg=({images:e,initialIndex:t=0,isOpen:n,onClose:r,onIndexChange:a})=>{let o=e.length===0?0:Math.max(0,Math.min(t,e.length-1)),[s,c]=(0,p.useState)(o);(0,p.useEffect)(()=>{n&&c(o)},[n,o]),(0,p.useEffect)(()=>{e.length>0&&s>=e.length&&c(e.length-1)},[e.length,s]);let l=(0,p.useCallback)(t=>{t<0||t>=e.length||t===s||(c(t),a?.(t))},[e.length,s,a]),u=(0,p.useCallback)(()=>l(s-1),[l,s]),d=(0,p.useCallback)(()=>l(s+1),[l,s]),f=p.default.useRef(null),m=(0,p.useCallback)(e=>{f.current=e.touches[0]?.clientX??null},[]),h=(0,p.useCallback)(e=>{let t=f.current;if(f.current=null,t==null)return;let n=(e.changedTouches[0]?.clientX??t)-t;Math.abs(n)<30||(n<0?d():u())},[d,u]);if((0,p.useEffect)(()=>{if(!n)return;let e=e=>{e.key===`ArrowLeft`?(e.preventDefault(),u()):e.key===`ArrowRight`&&(e.preventDefault(),d())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[n,u,d]),e.length===0)return null;let g=Math.max(0,Math.min(s,e.length-1)),_=e[g],v=g>0,y=g<e.length-1;return(0,i.jsx)(bd,{isOpen:n,onOpenChange:e=>{e||r()},isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox-overlay`,e&&`eidotter-lightbox-overlay--entering`,t&&`eidotter-lightbox-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox`,e&&`eidotter-lightbox--entering`,t&&`eidotter-lightbox--exiting`),children:(0,i.jsxs)(pu,{"aria-label":_.alt||`Image viewer`,className:`eidotter-lightbox__container outline-none`,children:[(0,i.jsx)(J,{className:`eidotter-lightbox__close`,onPress:r,"aria-label":`Close lightbox`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})}),(0,i.jsx)(J,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--prev`,onPress:u,isDisabled:!v,"aria-label":`Previous image`,children:`◀`}),(0,i.jsx)(J,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--next`,onPress:d,isDisabled:!y,"aria-label":`Next image`,children:`▶`}),(0,i.jsxs)(`figure`,{className:`eidotter-lightbox__figure`,children:[(0,i.jsx)(`img`,{className:`eidotter-lightbox__image`,src:_.src,alt:_.alt,width:_.width,height:_.height,onTouchStart:m,onTouchEnd:h}),_.caption&&(0,i.jsx)(`figcaption`,{className:`eidotter-lightbox__caption`,children:_.caption})]}),(0,i.jsxs)(`span`,{className:`eidotter-lightbox__counter`,"aria-live":`polite`,children:[`[ `,g+1,` / `,e.length,` ]`]})]})})})};Qg.displayName=`Lightbox`;var $g=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)(!1),{image:o}=e,s=o.thumbnail||o.src,c=o.link&&og(o.link)?o.link:void 0;return(0,p.useEffect)(()=>{t||a(!1)},[t]),c?(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-image eidotter-timeline-card-image--link`,href:c,rel:`noopener noreferrer`,children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media`,src:s,alt:o.alt,width:o.width,height:o.height})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-image`,children:t?(0,i.jsx)(J,{className:`eidotter-timeline-card-image__media-button`,onPress:()=>a(!0),"aria-label":o.alt?`Open ${o.alt} in lightbox`:`Open image in lightbox`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--expanded`,src:o.src,alt:o.alt,width:o.width,height:o.height})}):(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--thumb`,src:s,alt:o.alt,width:o.width,height:o.height})}),(0,i.jsx)(Qg,{images:[o],isOpen:r,onClose:()=>a(!1)})]})},e_=({images:e,isExpanded:t})=>{let[n,r]=(0,p.useState)({phase:`grid`});if((0,p.useEffect)(()=>{t||r({phase:`grid`})},[t]),(0,p.useEffect)(()=>{r(t=>t.phase===`grid`?t:t.index>=e.length?{phase:`grid`}:t)},[e.length]),e.length===0)return null;let a=(e,t)=>{t.link&&og(t.link)||r(t=>t.phase===`focused`&&t.index===e?{phase:`lightbox`,index:e}:{phase:`focused`,index:e})},o=n.phase===`focused`||n.phase===`lightbox`?n.index:null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-card-gallery__grid`,role:`list`,children:e.map((e,t)=>(0,i.jsx)(t_,{image:e,isFocused:o===t,onClick:()=>a(t,e)},t))}),(0,i.jsx)(Qg,{images:e,isOpen:n.phase===`lightbox`,initialIndex:n.phase===`lightbox`?n.index:0,onClose:()=>{r(e=>e.phase===`lightbox`?{phase:`focused`,index:e.index}:e)},onIndexChange:e=>{r(t=>t.phase===`lightbox`?{phase:`lightbox`,index:e}:t)}})]})},t_=({image:e,isFocused:t,onClick:n})=>{let r=e.thumbnail||e.src,a=e.link&&og(e.link)?e.link:void 0;return a?(0,i.jsx)(`div`,{role:`listitem`,className:`eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link`,children:(0,i.jsx)(`a`,{className:`eidotter-timeline-card-gallery__link`,href:a,rel:`noopener noreferrer`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,loading:`lazy`,width:e.width,height:e.height})})}):(0,i.jsx)(`div`,{role:`listitem`,className:$(`eidotter-timeline-card-gallery__cell`,t&&`eidotter-timeline-card-gallery__cell--focused`),children:(0,i.jsx)(J,{className:`eidotter-timeline-card-gallery__button`,onPress:n,"aria-label":e.alt||`Image`,"aria-pressed":t,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})})},n_=({entry:e,isExpanded:t,onSelect:n})=>e.images.length===0?(process.env.NODE_ENV!==`production`&&console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card-gallery__empty`,children:`No images.`})]})):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(e_,{images:e.images,isExpanded:t})]}),r_=4,i_=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let{summary:a,content:o,href:s,hrefLabel:c}=e,l=e.images??[],u=l.length>0,d=s&&og(s)?s:void 0,f=u||o!=null||d!==void 0,p=l.slice(0,r_),m=l.length-p.length;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&typeof a==`string`&&a.length>0&&(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[a.slice(0,80),a.length>80?`...`:``]}),r,!t&&u&&(0,i.jsxs)(`div`,{className:`eidotter-timeline-card-article__thumbstrip`,"aria-hidden":`true`,children:[p.map((e,t)=>(0,i.jsx)(`span`,{className:`eidotter-timeline-card-article__thumb`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-article__thumb-img`,src:e.thumbnail||e.src,alt:``,loading:`lazy`,width:e.width,height:e.height})},t)),m>0&&(0,i.jsxs)(`span`,{className:`eidotter-timeline-card-article__thumb eidotter-timeline-card-article__thumb--more`,children:[`+`,m]})]})]}),f&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:!t||void 0,children:[u&&(0,i.jsx)(e_,{images:l,isExpanded:t}),o!=null&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card-article__content`,children:o}),d&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card-article__footer`,children:(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-article__readmore`,href:d,rel:`noopener noreferrer`,children:[c??`READ MORE`,` →`]})})]})})]})},a_=p.default.memo(({entry:e,isSelected:t,isExpanded:n=!1,onSelect:r,footer:a,children:o})=>(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-card`,t&&`eidotter-timeline-card--selected`,n&&`eidotter-timeline-card--expanded`),children:[o_(e,n,r,o),a&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__footer`,children:a})]}));a_.displayName=`TimelineEntryCard`;function o_(e,t,n,r){switch(e.kind){case`text`:return(0,i.jsx)(c_,{entry:e,isExpanded:t,onSelect:n,children:r});case`image`:return(0,i.jsx)($g,{entry:e,isExpanded:t,onSelect:n});case`gallery`:return(0,i.jsx)(n_,{entry:e,isExpanded:t,onSelect:n});case`article`:return(0,i.jsx)(i_,{entry:e,isExpanded:t,onSelect:n,children:r});default:return s_(e)}}function s_(e){throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`)}var c_=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let a=typeof e.content==`string`,o=e.content!=null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&a&&(()=>{let t=String(e.content);return(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[t.slice(0,80),t.length>80?`...`:``]})})(),r]}),o&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:!t||void 0,children:e.content})})]})},l_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,onBucketClick:r,renderEntry:a})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--month`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--month`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`,onClick:()=>r?.(e)})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let r=t===e.id,o=()=>(0,i.jsx)(a_,{entry:e,isSelected:r,isExpanded:r,onSelect:n});return(0,i.jsx)(p.default.Fragment,{children:a?a(e,{isExpanded:r,isSelected:r,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));l_.displayName=`MonthView`;var u_={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},d_=({children:e,variant:t=`default`,size:n=`md`,color:r,selected:a=!1,closeable:o=!1,disabled:s=!1,onClick:c,onClose:l,className:u,"aria-label":d,...f})=>{let p=!!c&&!s,{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gp(`tag-exit`,l),_=e=>{s||((e.key===`Enter`||e.key===` `)&&c&&(e.preventDefault(),c(e)),(e.key===`Delete`||e.key===`Backspace`)&&o&&l&&(e.preventDefault(),h()))},v=()=>{s||h()},y=r?{"--tag-color":`var(`+r+`)`}:void 0;return(0,i.jsxs)(`span`,{className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`rounded-dos-sm uppercase tracking-wider`,u_[n]||u_.md,`eidotter-tag`,`eidotter-tag--`+t,a&&`eidotter-tag--selected`,s&&`opacity-50 cursor-not-allowed`,m&&`eidotter-tag--closing`,p&&`cursor-pointer`,u),style:y,onClick:p?e=>!s&&c?.(e):void 0,onKeyDown:_,onAnimationEnd:g,"aria-label":d,"aria-pressed":p?a||!1:void 0,"aria-disabled":s||void 0,"data-variant":t,...p?{role:`button`,tabIndex:0}:{},...f,children:[(0,i.jsx)(`span`,{className:`eidotter-tag__content`,children:e}),o&&(0,i.jsx)(J,{className:`eidotter-tag__close`,"aria-label":`Remove `+(typeof e==`string`?e:`tag`),excludeFromTabOrder:p,onPress:v,isDisabled:s,children:`[x]`})]})},f_={tight:`gap-1`,normal:`gap-2`,loose:`gap-3`},p_=({children:e,gap:t=`normal`,wrap:n=!0,className:r,"aria-label":a,...o})=>(0,i.jsx)(`div`,{className:$(`flex`,n?`flex-wrap`:`flex-nowrap`,f_[t]||f_.normal,r),role:`group`,"aria-label":a,...o,children:e}),m_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--day`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--day`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsx)(a_,{entry:e,isSelected:a,isExpanded:a,onSelect:n,footer:e.tags&&e.tags.length>0?(0,i.jsx)(p_,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(d_,{size:`small`,variant:`outlined`,children:e},e))}):void 0});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:a,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));m_.displayName=`DayView`;var h_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--hour`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--hour`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsxs)(a_,{entry:e,isSelected:a,isExpanded:!0,onSelect:n,footer:(0,i.jsxs)(`div`,{className:`timeline-view__entry-footer`,children:[e.tags&&e.tags.length>0&&(0,i.jsx)(p_,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(d_,{size:`small`,variant:`outlined`,children:e},e))}),e.type&&(0,i.jsx)(ng,{variant:`default`,size:`small`,children:e.type})]}),children:[(0,i.jsx)(`time`,{className:`timeline-view__timestamp`,dateTime:e.date,children:Mg(e.date)}),e.kind===`text`&&e.content!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.content}),e.kind===`article`&&e.summary!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.summary})]});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:!0,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));h_.displayName=`HourView`;var g_=({zoomLevel:e,buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o})=>{switch(e){case`year`:return(0,i.jsx)(Zg,{buckets:t,onBucketClick:a});case`month`:return(0,i.jsx)(l_,{buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o});case`day`:return(0,i.jsx)(m_,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});case`hour`:return(0,i.jsx)(h_,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});default:return e}},__=({entries:e,selectedEntryId:t,onSelect:n,onDeselect:r,renderEntry:a,formatDate:o})=>{let s=e.find(e=>e.id===t)??null,c=(0,p.useRef)(null),l=(0,p.useRef)(null),u=(0,p.useRef)(t);(0,p.useEffect)(()=>{let e=u.current;u.current=t,t&&t!==e?requestAnimationFrame(()=>l.current?.focus()):!t&&e&&requestAnimationFrame(()=>{c.current?.querySelector(`[data-entry-id="${e}"]`)?.focus()})},[t]);let d=(0,p.useCallback)(r=>{if(e.length===0)return;let i=e.findIndex(e=>e.id===t),a=i===-1?r>0?-1:e.length:i;n(e[Math.max(0,Math.min(e.length-1,a+r))].id)},[e,t,n]),f=(0,p.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),d(1)):e.key===`ArrowUp`?(e.preventDefault(),d(-1)):e.key===`Escape`&&t&&(e.preventDefault(),r())},[d,r,t]);return(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-md`,s&&`eidotter-timeline-md--detail-open`),children:[(0,i.jsx)(`nav`,{ref:c,className:`eidotter-timeline-md__rail`,"aria-label":`Timeline entries`,onKeyDown:f,children:(0,i.jsx)(`ul`,{className:`eidotter-timeline-md__rail-list`,children:e.map(e=>{let r=e.id===t;return(0,i.jsx)(`li`,{className:`eidotter-timeline-md__rail-item`,children:(0,i.jsxs)(`button`,{type:`button`,"data-entry-id":e.id,className:$(`eidotter-timeline-md__rail-button`,r&&`eidotter-timeline-md__rail-button--active`),"aria-current":r?`true`:void 0,onClick:()=>n(e.id),children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-node`,"aria-hidden":`true`,children:(0,i.jsx)(vg,{shape:`circle`,size:`sm`,variant:`default`,isActive:r})}),(0,i.jsxs)(`span`,{className:`eidotter-timeline-md__rail-text`,children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-date`,children:o(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-title`,children:e.title})]})]})},e.id)})})}),(0,i.jsx)(`div`,{ref:l,className:`eidotter-timeline-md__detail`,role:`region`,"aria-label":`Entry detail`,tabIndex:-1,children:s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-md__back`,onClick:r,children:`‹ BACK`}),(0,i.jsx)(`div`,{className:`eidotter-timeline-md__detail-body`,children:(e=>{let t=()=>(0,i.jsx)(a_,{entry:e,isSelected:!0,isExpanded:!0});return a?a(e,{isExpanded:!0,isSelected:!0,defaultRender:t}):t()})(s)},s.id)]}):(0,i.jsxs)(`div`,{className:`eidotter-timeline-md__detail-empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> Select an entry to read.`}),(0,i.jsx)(`p`,{children:`_`})]})})]})};__.displayName=`MasterDetailLayout`;var v_=({entries:e,mode:t=`interactive`,zoomLevel:n,defaultZoomLevel:r=`month`,onZoomChange:a,selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c,sortOrder:l=`desc`,scrollToZoom:u=!0,keyboardShortcuts:d=!0,renderEntry:f,pageSize:m=10,onLoadMore:h,...g})=>{let _=t===`static`,v=t===`feed`,y=_||v,b=t===`master-detail`,x=(0,p.useRef)(null),S=(0,p.useRef)(null),[C,w]=(0,p.useState)(``),{zoomLevel:T,canZoomIn:E,canZoomOut:D,breadcrumbs:O,currentPeriod:k,isDrillDownEnabled:A,drillDown:j,drillUp:M,reset:N}=bg({zoomLevel:n,defaultZoomLevel:r,onZoomChange:a}),{selectedEntryId:ee,select:P,toggle:F,deselect:te}=xg({selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c}),ne=(0,p.useMemo)(()=>Jg(e,T,l),[e,T,l]),re=O.length>0?[`year`,`month`,`day`,`hour`][O.length-1]:null,I=(0,p.useMemo)(()=>k&&re?qg(ne,k,re):ne,[ne,k,re]),L=(0,p.useCallback)(e=>{E&&(j(e.periodStart,e.label),w(`Showing ${T===`year`?`months`:T===`month`?`days`:`hours`} in ${e.label}`))},[E,j,T]),R=(0,p.useCallback)(()=>{I.length>0&&L(I[0])},[I,L]);(0,p.useEffect)(()=>{if(y||b||!u)return;let e=x.current;if(!e)return;let t=null,n=e=>{!e.ctrlKey&&!e.metaKey||(e.preventDefault(),t===null&&(t=requestAnimationFrame(()=>{e.deltaY>0&&M(),t=null})))};return e.addEventListener(`wheel`,n,{passive:!1}),()=>{e.removeEventListener(`wheel`,n),t!==null&&cancelAnimationFrame(t)}},[y,b,u,A,E,M]),(0,p.useEffect)(()=>{if(y||b||!d)return;let e=e=>{if(!x.current?.contains(document.activeElement)&&document.activeElement!==x.current)return;let t=e.ctrlKey||e.metaKey;t&&(e.key===`=`||e.key===`+`)?(e.preventDefault(),R()):t&&e.key===`-`?(e.preventDefault(),M()):t&&e.key===`0`?(e.preventDefault(),N(),w(`Showing all years`)):e.key===`Escape`&&(e.preventDefault(),te())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[y,b,d,R,M,N,te]);let ie=(0,p.useCallback)(e=>L(e),[L]),z=(0,p.useRef)(O.length);(0,p.useEffect)(()=>{if(O.length!==z.current){z.current=O.length;let e=S.current?.querySelector(`.eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role="button"]`);e&&requestAnimationFrame(()=>e.focus())}},[O.length]);let B=(0,p.useMemo)(()=>!y&&!b?e:[...e].sort((e,t)=>{let n=e.date.localeCompare(t.date);return l===`desc`?-n:n}),[y,b,e,l]),V=Math.max(1,m),[ae,oe]=(0,p.useState)(V);(0,p.useEffect)(()=>{v&&oe(e=>{let t=B.length;return t===0?V:e>t?Math.max(V,t):e})},[v,V,B.length]);let se=(0,p.useMemo)(()=>v?B.slice(0,ae):B,[v,B,ae]),ce=v&&ae<B.length,H=(0,p.useCallback)(()=>{let e=Math.min(ae+V,B.length);e<=ae||(oe(e),h?.(e))},[ae,V,B.length,h]),le=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),ue=e=>{try{return le.format(new Date(e))}catch{return e}};return(0,i.jsxs)(`div`,{ref:x,...g,className:$(`font-dos text-dos-text-brand p-4`,`eidotter-timeline-container`,_&&`eidotter-timeline-container--static`,v&&`eidotter-timeline-container--feed`,b&&`eidotter-timeline-container--master-detail`,g.className),role:`region`,"aria-label":g[`aria-label`]??`Timeline`,tabIndex:y||b?void 0:0,children:[(0,i.jsx)(`div`,{className:`sr-only`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),!y&&!b&&(0,i.jsx)(Yg,{zoomLevel:T,canZoomIn:E,canZoomOut:D,onZoomIn:R,onZoomOut:M,onReset:N,breadcrumbs:A?O:[],onBreadcrumbClick:e=>{let t=O.length-1-e;for(let e=0;e<t;e++)M()}}),(0,i.jsx)(`div`,{ref:S,children:e.length===0?(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> No entries found.`}),(0,i.jsx)(`p`,{children:`_`})]}):_?(0,i.jsx)(Xg,{children:(0,i.jsx)(`div`,{className:`eidotter-timeline-container__static`,role:`list`,"aria-label":`Timeline`,children:B.map(e=>{let t=()=>(0,i.jsx)(a_,{entry:e,isSelected:!1,isExpanded:!0});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__static-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:ue(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:!0,isSelected:!1,defaultRender:t}):t()]},e.id)})})}):v?(0,i.jsxs)(Xg,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-container__feed`,role:`list`,"aria-label":`Timeline`,children:se.map(e=>{let t=ee===e.id,n=()=>(0,i.jsx)(a_,{entry:e,isSelected:t,isExpanded:t,onSelect:F});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__feed-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:ue(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:t,isSelected:t,defaultRender:n}):n()]},e.id)})}),ce&&(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-container__load-more`,onClick:H,"aria-label":`Load more entries (showing ${ae} of ${B.length})`,children:`LOAD MORE...`})]}):b?(0,i.jsx)(__,{entries:B,selectedEntryId:ee,onSelect:P,onDeselect:te,renderEntry:f,formatDate:ue}):I.length===0&&k?(0,i.jsx)(Xg,{children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsxs)(`p`,{children:[`C:\\TIMELINE> No entries in `,O[O.length-1]?.label??`this period`,`.`]}),(0,i.jsx)(`p`,{children:`_`})]})}):(0,i.jsx)(Xg,{children:(0,i.jsx)(g_,{zoomLevel:T,buckets:I,selectedEntryId:ee,onEntrySelect:F,onBucketClick:ie,renderEntry:f})})})]})},y_={milestone:`milestone`,project:`project`,event:`event`},b_=e=>e.tags?.[0];function x_(e){return e.kind===`article`?e.href:void 0}function S_({entries:e,categories:t,categoryOf:n=b_,activeCategory:r,defaultCategory:a=null,onCategoryChange:o,linkComponent:s,className:c,...l}){let u=s??`a`,d=r!==void 0,[f,m]=(0,p.useState)(a),h=d?r:f,g=e=>{d||m(e),o?.(e)},_=(0,p.useMemo)(()=>{let e=new Map;return t?.forEach(t=>e.set(t.key,t.color)),e},[t]),v=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),y=e=>{try{return v.format(new Date(e))}catch{return e}},b=(0,p.useMemo)(()=>h?e.filter(e=>n(e)===h):e,[h,e,n]);return(0,i.jsxs)(`section`,{className:$(`eidotter-feed font-dos`,c),...l,children:[t&&t.length>0&&(0,i.jsxs)(`div`,{className:`eidotter-feed__filter`,role:`group`,"aria-label":`Filter by category`,children:[(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-feed__chip`,h===null&&`eidotter-feed__chip--active`),"aria-pressed":h===null,onClick:()=>g(null),children:[`all`,h!==null&&(0,i.jsxs)(`span`,{className:`eidotter-feed__count`,children:[` · `,b.length,` of `,e.length]})]}),t.map(e=>(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-feed__chip`,h===e.key&&`eidotter-feed__chip--active`),"aria-pressed":h===e.key,onClick:()=>g(e.key),style:e.color?{"--eidotter-feed-chip":e.color}:void 0,children:[(0,i.jsx)(`span`,{className:`eidotter-feed__chip-dot`,"aria-hidden":`true`}),e.label]},e.key))]}),(0,i.jsx)(`ol`,{className:`eidotter-feed__list`,"aria-label":l[`aria-label`]??`Timeline feed`,children:b.map(e=>{let t=n(e),r=t?_.get(t):void 0,a=x_(e),o=a&&og(a)?a:void 0,s=e.type?y_[e.type]:void 0;return(0,i.jsxs)(`li`,{className:`eidotter-feed__row`,children:[(0,i.jsx)(`span`,{className:`eidotter-feed__dot`,"aria-hidden":`true`,style:r?{"--eidotter-feed-dot":r}:void 0}),(0,i.jsx)(`time`,{className:`eidotter-feed__date`,dateTime:e.date,children:y(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-feed__title`,children:o?(0,i.jsx)(u,{href:o,className:`eidotter-feed__title-link`,children:e.title}):e.title}),s&&(0,i.jsx)(`span`,{className:`eidotter-feed__kind`,children:s})]},e.id)})})]})}var C_=e=>e.tags?.[0],w_=e=>e.kind===`article`?e.summary:void 0;function T_(e){if(e.kind===`image`)return e.image;if(e.kind===`gallery`)return e.images[0];if(e.kind===`article`)return e.images?.[0]}function E_(e){return e.kind===`article`?e.href:void 0}function D_(e){let t=new Date(e).getFullYear();return Number.isNaN(t)?e.slice(0,4):String(t)}function O_({entries:e,categories:t,categoryOf:n=C_,descriptionOf:r=w_,activeCategory:a,defaultCategory:o=null,onCategoryChange:s,brand:c,preview:l=!0,linkComponent:u,className:d,...f}){let m=u??`a`,h=a!==void 0,[g,_]=(0,p.useState)(o),v=h?a:g,y=e=>{h||_(e),s?.(e)},b=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{month:`short`,day:`numeric`}),[]),x=e=>{try{return b.format(new Date(e))}catch{return e}},S=(0,p.useMemo)(()=>v?e.filter(e=>n(e)===v):e,[v,e,n]),C=(0,p.useMemo)(()=>{let e=new Map;for(let t of S){let n=D_(t.date),r=e.get(n);r?r.push(t):e.set(n,[t])}return Array.from(e.entries()).map(([e,t])=>({year:e,entries:[...t].sort((e,t)=>t.date.localeCompare(e.date))})).sort((e,t)=>t.year.localeCompare(e.year))},[S]),[w,T]=(0,p.useState)(null),E=(0,p.useMemo)(()=>S.find(e=>e.id===w)??S[0],[S,w]),D=E?T_(E):void 0;return(0,i.jsxs)(`section`,{className:$(`eidotter-blog font-dos`,d),...f,children:[(c||t&&t.length>0)&&(0,i.jsxs)(`div`,{className:`eidotter-blog__filter`,children:[c&&(0,i.jsx)(`div`,{className:`eidotter-blog__brand`,children:c}),t&&t.length>0&&(0,i.jsxs)(`div`,{className:`eidotter-blog__chips`,role:`group`,"aria-label":`Filter by category`,children:[(0,i.jsx)(`button`,{type:`button`,className:$(`eidotter-blog__chip`,v===null&&`eidotter-blog__chip--active`),"aria-pressed":v===null,onClick:()=>y(null),children:`all`}),t.map(e=>(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-blog__chip`,v===e.key&&`eidotter-blog__chip--active`),"aria-pressed":v===e.key,onClick:()=>y(e.key),style:e.color?{"--eidotter-blog-chip":e.color}:void 0,children:[(0,i.jsx)(`span`,{className:`eidotter-blog__chip-dot`,"aria-hidden":`true`}),e.label]},e.key)),v!==null&&(0,i.jsxs)(`span`,{className:`eidotter-blog__count`,children:[S.length,` of `,e.length]})]})]}),(0,i.jsxs)(`div`,{className:`eidotter-blog__body`,children:[(0,i.jsxs)(`div`,{className:`eidotter-blog__timeline`,children:[C.map(e=>(0,i.jsxs)(`div`,{className:`eidotter-blog__year-group`,children:[(0,i.jsx)(`h2`,{className:`eidotter-blog__year`,children:e.year}),(0,i.jsx)(`ol`,{className:`eidotter-blog__entries`,children:e.entries.map(e=>{let t=E_(e),n=t&&og(t)?t:void 0,a=r(e),o=()=>T(e.id);return(0,i.jsxs)(`li`,{className:$(`eidotter-blog__entry`,E?.id===e.id&&`eidotter-blog__entry--focused`),onMouseEnter:o,onFocus:o,children:[(0,i.jsx)(`span`,{className:`eidotter-blog__dot`,"aria-hidden":`true`}),(0,i.jsx)(`time`,{className:`eidotter-blog__date`,dateTime:e.date,children:x(e.date)}),(0,i.jsx)(`h3`,{className:`eidotter-blog__title`,children:n?(0,i.jsx)(m,{href:n,className:`eidotter-blog__title-link`,children:e.title}):e.title}),a&&(0,i.jsx)(`p`,{className:`eidotter-blog__desc`,children:a})]},e.id)})})]},e.year)),C.length===0&&(0,i.jsx)(`p`,{className:`eidotter-blog__empty`,children:`C:\\LOG> No entries.`})]}),l&&(0,i.jsx)(`aside`,{className:`eidotter-blog__preview`,"aria-hidden":`true`,children:(0,i.jsxs)(`div`,{className:`eidotter-blog__preview-inner`,children:[D?(0,i.jsx)(`img`,{className:`eidotter-blog__preview-img`,src:D.thumbnail??D.src,alt:``,loading:`lazy`}):(0,i.jsx)(`div`,{className:`eidotter-blog__preview-placeholder`,children:`▓▒░ · ░▒▓`}),E&&(0,i.jsx)(`div`,{className:`eidotter-blog__preview-caption`,children:(0,i.jsx)(`span`,{className:`eidotter-blog__preview-title`,children:E.title})})]})})]})]})}var k_=(0,p.forwardRef)(({isOpen:e,onOpenChange:t,onClose:n,title:r,children:a,footer:o,className:s},c)=>{let l=(0,p.useRef)(e),u=(0,p.useRef)(!1);(0,p.useEffect)(()=>{e!==l.current&&(l.current=e,u.current||(t?.(e),e||n?.()),u.current=!1)},[e,t,n]);let d=e=>{u.current=!0,t?.(e),e||n?.()};return(0,i.jsx)(bd,{isOpen:e,onOpenChange:d,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-modal-overlay`,e&&`eidotter-modal-overlay--entering`,t&&`eidotter-modal-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-modal`,e&&`eidotter-modal--entering`,t&&`eidotter-modal--exiting`),children:(0,i.jsxs)(pu,{ref:c,"aria-label":r,className:$(`eidotter-modal__container outline-none`,s),children:[(0,i.jsxs)(`header`,{className:`eidotter-modal__header`,children:[(0,i.jsx)(`h2`,{className:`eidotter-modal__title`,children:r}),(0,i.jsx)(J,{className:`eidotter-modal__close`,onPress:()=>d(!1),"aria-label":`Close modal`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-modal__body`,children:a}),o&&(0,i.jsx)(`footer`,{className:`eidotter-modal__footer`,children:o})]})})})});k_.displayName=`Modal`;var A_=`░▒▓█│┤┐└┴┬├─┼`,j_=4;function M_(e,t){let{speed:n=40,characters:r=A_,enabled:i=!0,delay:a=0}=t??{},[o,s]=(0,p.useState)(()=>{if(!i||Wp())return e;let t=``;for(let n=0;n<e.length;n++)e[n]===` `?t+=` `:t+=r[Math.floor(Math.random()*r.length)];return t}),[c,l]=(0,p.useState)(!1),u=(0,p.useRef)(0);return(0,p.useEffect)(()=>{if(!i||Wp()){s(e),l(!1);return}let t=0,o=0,c=0,d=a;l(!0);let f=i=>{c||=i;let a=i-c;if(d>0){d-=a,c=i,u.current=requestAnimationFrame(f);return}if(a>=n){if(c=i,o++,o>=j_&&(t++,o=0),t>=e.length){s(e),l(!1);return}let n=``;for(let i=0;i<e.length;i++)i<t?n+=e[i]:e[i]===` `?n+=` `:n+=r[Math.floor(Math.random()*r.length)];s(n)}u.current=requestAnimationFrame(f)};return u.current=requestAnimationFrame(f),()=>{u.current&&cancelAnimationFrame(u.current)}},[e,n,r,i,a]),{text:o,isScrambling:c}}var N_={sm:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},md:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},lg:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`},small:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},medium:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},large:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`}},P_={up:`text-dos-text-success`,down:`text-dos-text-error`,neutral:`text-dos-text-brand`},F_={up:`▲`,down:`▼`,neutral:`►`},I_={up:`increasing`,down:`decreasing`,neutral:`unchanged`},L_=(0,p.forwardRef)(({label:e,value:t,trend:n,trendValue:r,size:a=`md`,scramble:o=!1,unit:s,note:c,target:l,className:u,...d},f)=>{let{text:p}=M_(String(t),{speed:30,enabled:o}),m=o?p:String(t),h=N_[a]||N_.md;return(0,i.jsxs)(`div`,{ref:f,className:$(`flex flex-col font-dos`,`eidotter-stat`,h.root,u),...d,children:[(0,i.jsx)(`span`,{className:$(`text-dos-text-brand uppercase tracking-wider leading-tight`,h.label),children:e}),(0,i.jsxs)(`span`,{className:$(`text-dos-text-accent font-bold leading-none tabular-nums`,h.value),children:[m,s&&(0,i.jsx)(`span`,{className:`eidotter-stat__unit ml-1 text-[0.5em] font-normal text-dos-text-brand`,children:s})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-stat__note text-dos-text-muted leading-tight ${h.trend}`,children:c}),l&&(0,i.jsx)(`span`,{className:`eidotter-stat__target text-dos-text-brand leading-tight ${h.trend}`,children:l}),n&&(0,i.jsxs)(`span`,{className:$(`inline-flex items-center gap-1 leading-none`,P_[n],h.trend),"aria-label":`Trend: ${I_[n]}${r?`, ${r}`:``}`,children:[(0,i.jsx)(`span`,{className:`text-[0.8em]`,"aria-hidden":`true`,children:F_[n]}),r&&(0,i.jsx)(`span`,{className:`tabular-nums`,children:r})]})]})});L_.displayName=`Stat`;var R_={sm:`eidotter-filter-bar--sm`,md:`eidotter-filter-bar--md`,lg:`eidotter-filter-bar--lg`,small:`eidotter-filter-bar--sm`,medium:`eidotter-filter-bar--md`,large:`eidotter-filter-bar--lg`},z_=({items:e,activeIds:t,defaultActiveIds:n=[],mode:r=`multi`,showAll:a=!1,allLabel:o=`All`,size:s=`md`,onChange:c,className:l,...u})=>{let[d,f]=(0,p.useState)(n),m=(0,p.useRef)(null),h=t!==void 0,g=h?t:d,_=e.filter(e=>!e.disabled).map(e=>e.id),v=g.length===0,y=(0,p.useCallback)(e=>{h||f(e),c?.(e)},[h,c]),b=(0,p.useCallback)(e=>{if(r===`single`){let t=g.includes(e)?[]:[e];y(t)}else{let t=g.includes(e)?g.filter(t=>t!==e):[...g,e];y(t)}},[r,g,y]),x=(0,p.useCallback)(()=>{y([])},[y]),S=(0,p.useCallback)(()=>m.current?Array.from(m.current.querySelectorAll(`button:not([disabled])`)):[],[]),C=(0,p.useCallback)(e=>{let t=S(),n=t.indexOf(e.target);if(n===-1)return;let r=null;switch(e.key){case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r=n>0?n-1:t.length-1;break;case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r=n<t.length-1?n+1:0;break;case`Home`:e.preventDefault(),r=0;break;case`End`:e.preventDefault(),r=t.length-1;break}r!==null&&t[r].focus()},[S]),w=a&&v?`__all__`:g.length>0?g[0]:a?`__all__`:_[0]||null;return(0,i.jsxs)(`div`,{ref:m,className:$(`inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full`,`bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm`,`eidotter-filter-bar`,R_[s]||R_.md,l),role:`toolbar`,onKeyDown:C,...u,children:[a&&(0,i.jsx)(J,{className:$(`eidotter-filter-bar__item`,`eidotter-filter-bar__item--all`,v&&`eidotter-filter-bar__item--active`),"aria-pressed":v,excludeFromTabOrder:w!==`__all__`,onPress:x,children:(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:o})}),e.map(e=>{let t=g.includes(e.id),n=t&&e.color?{"--filter-bar-item-color":`var(${e.color})`}:void 0;return(0,i.jsxs)(J,{className:$(`eidotter-filter-bar__item`,t&&`eidotter-filter-bar__item--active`,e.disabled&&`eidotter-filter-bar__item--disabled`),"aria-pressed":t,excludeFromTabOrder:w!==e.id,isDisabled:e.disabled,onPress:()=>b(e.id),style:n,children:[(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:e.label}),e.count!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-filter-bar__count`,"aria-label":`${e.count} items`,children:e.count})]},e.id)})]})},B_=e=>{if(!e)return!1;try{let t=new URL(e);return[`http:`,`https:`,`mailto:`].includes(t.protocol)}catch{return!1}};function V_(e){try{let{hostname:t}=new URL(e);return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`}catch{return null}}var H_=({children:e,content:t,defaultExpanded:n=!1,expanded:r,onToggle:a,sources:o=[],className:s,...c})=>{let[l,u]=(0,p.useState)(n),[d,f]=(0,p.useState)({}),m=(0,p.useId)(),h=(0,p.useRef)(null),g=r!==void 0,_=g?r:l,v=()=>{let e=!_;g||u(e),a?.(e)},y=()=>{v(),h.current?.focus()};return(0,i.jsxs)(`span`,{className:$(`eidotter-inline-expand`,_&&`eidotter-inline-expand--expanded`,s),"aria-live":`polite`,onKeyDown:e=>{e.key===`Escape`&&_&&(e.stopPropagation(),v(),h.current?.focus())},...c,children:[(0,i.jsxs)(J,{ref:h,className:`eidotter-inline-expand__trigger`,"aria-expanded":_,"aria-controls":m,onPress:v,children:[e,(0,i.jsx)(`span`,{className:`eidotter-inline-expand__indicator`,"aria-hidden":`true`,children:_?`[-]`:`[+]`})]}),_&&(0,i.jsxs)(i.Fragment,{children:[` `,(0,i.jsxs)(`span`,{id:m,className:`eidotter-inline-expand__content`,"data-ai-skip":`true`,children:[t,(0,i.jsx)(J,{className:`eidotter-inline-expand__collapse`,"aria-expanded":!0,"aria-controls":m,"aria-label":`Collapse`,onPress:y,children:`[-]`}),o.length>0&&(0,i.jsx)(`span`,{className:`eidotter-inline-expand__sources`,role:`list`,children:o.map(e=>(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-item`,role:`listitem`,children:(0,i.jsx)(`a`,{href:B_(e.url)?e.url:void 0,className:`eidotter-inline-expand__source-link`,target:`_blank`,rel:`noopener noreferrer`,title:e.title,"aria-label":`${e.title} (opens external website)`,children:(()=>{let t=d[e.url];if(t===`icon`)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let n=!!e.favicon&&B_(e.favicon);if(!t&&n)return(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:e.favicon,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`google`}))});let r=V_(e.url);return r?(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:r,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`icon`}))}):(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`})})()})},e.url))})]})]})]})},U_={horizontal:`h-px w-full`,vertical:`w-px h-full`},W_=({orientation:e=`horizontal`,className:t})=>(0,i.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:$(`shrink-0 bg-dos-border-default`,`eidotter-separator`,U_[e],t)}),G_={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},K_=({title:e,count:t,tone:n=`default`,children:r,className:a})=>(0,i.jsxs)(`h3`,{className:$(`eidotter-section-heading`,`font-dos uppercase tracking-wider mb-2 text-dos-text-sm`,G_[n],a),children:[e,t!==void 0&&` (${t})`,r]});K_.displayName=`SectionHeading`;var q_={default:`text-dos-text-primary`,muted:`text-dos-text-muted line-through`,error:`text-dos-error`},J_=({checked:e,onToggle:t,disabled:n,pending:r,ariaLabel:a,labelTone:o=`default`,label:s,children:c,note:l,leading:u,trailing:d,className:f})=>(0,i.jsxs)(`div`,{className:$(`eidotter-checklist-row`,`flex items-start gap-3 py-2 border-b border-dos-border-disabled`,r&&`opacity-50`,f),children:[(0,i.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":e,onClick:t,disabled:n,"aria-label":a??(e?`Mark as incomplete`:`Mark as complete`),className:$(`shrink-0 pt-0.5 font-dos text-dos-text-sm`,`text-dos-text-primary hover:text-dos-text-accent`,`cursor-pointer disabled:cursor-not-allowed`),children:e?`[x]`:`[ ]`}),(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[u&&(0,i.jsx)(`div`,{className:`mb-1`,children:u}),s!==void 0&&(0,i.jsx)(`div`,{className:$(`font-dos text-dos-text-sm`,q_[o]),children:s}),c,l&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:l})]}),d&&(0,i.jsx)(`div`,{className:`flex items-center gap-2 shrink-0`,children:d})]});J_.displayName=`ChecklistRow`;var Y_=({value:e,label:t=`[cp]`,copiedLabel:n=`[OK]`,title:r=`Copy to clipboard`,copiedTitle:a=`Copied!`,className:o})=>{let[s,c]=(0,p.useState)(!1),l=(0,p.useRef)(null),u=(0,p.useCallback)(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)},[]),d=(0,p.useCallback)(()=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{let e=document.execCommand(`copy`);return t.remove(),e}catch{return t.remove(),!1}},[e]);return(0,i.jsx)(`button`,{type:`button`,onClick:(0,p.useCallback)(()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e).then(u).catch(()=>{d()&&u()}):d()&&u()},[e,u,d]),title:s?a:r,"aria-label":s?a:r,className:$(`eidotter-copy-button`,`font-dos text-dos-text-xs px-1`,`text-dos-link hover:text-dos-link-hover cursor-pointer`,o),children:s?n:t})};Y_.displayName=`CopyButton`;var X_={sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-2`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-2`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},Z_=(e=`md`)=>({small:`sm`,medium:`md`,large:`lg`})[e]??e,Q_=`eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider`,$_=`eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs`,ev=`eidotter-select__error text-dos-text-error font-dos text-dos-text-xs`,tv=`eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border`,nv=`eidotter-select__option font-dos`,rv=`NO MATCHES`,iv=e=>e==null||e===``?null:e,av=({options:e,label:t,placeholder:n,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,isRequired:f,name:p,id:m,className:h,"aria-label":g})=>{let _=o===`error`,v=c!==void 0,y=Z_(s);return(0,i.jsxs)(Md,{"aria-label":t?void 0:g,selectedKey:v?iv(c):void 0,defaultSelectedKey:v?void 0:l,onSelectionChange:e=>u?.(e==null?``:String(e)),isDisabled:d,isInvalid:_,isRequired:f,name:p,placeholder:n,className:$(`eidotter-select flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(Xr,{className:Q_,children:t}),(0,i.jsxs)(J,{id:m,className:$(tv,X_[y]),children:[(0,i.jsx)(Id,{className:`eidotter-select__value flex-1 text-left truncate`}),(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})]}),r&&!_&&(0,i.jsx)(ui,{slot:`description`,className:$_,children:r}),a&&_&&(0,i.jsx)(ui,{slot:`errorMessage`,className:ev,children:a}),(0,i.jsx)(wl,{className:`eidotter-select__popover`,children:(0,i.jsx)(Cs,{className:`eidotter-select__listbox`,items:e,children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:nv,children:e.label})})})]})},ov=({options:e,label:t,placeholder:n,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,isRequired:f,name:p,id:m,className:h,emptyMessage:g=rv,"aria-label":_})=>{let v=o===`error`,y=c!==void 0,b=Z_(s);return(0,i.jsxs)(sd,{"aria-label":t?void 0:_,defaultItems:e,selectedKey:y?iv(c):void 0,defaultSelectedKey:y?void 0:l,onSelectionChange:e=>u?.(e==null?``:String(e)),isDisabled:d,isInvalid:v,isRequired:f,name:p,menuTrigger:`focus`,allowsEmptyCollection:!0,className:$(`eidotter-select eidotter-select--searchable flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(Xr,{className:Q_,children:t}),(0,i.jsxs)(`div`,{className:$(tv,X_[b]),children:[(0,i.jsx)(ia,{id:m,placeholder:n,className:`eidotter-select__input flex-1 min-w-0 bg-transparent text-inherit outline-none`}),(0,i.jsx)(J,{className:`eidotter-select__arrow-btn`,"aria-label":`Show options`,children:(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})})]}),r&&!v&&(0,i.jsx)(ui,{slot:`description`,className:$_,children:r}),a&&v&&(0,i.jsx)(ui,{slot:`errorMessage`,className:ev,children:a}),(0,i.jsx)(wl,{className:`eidotter-select__popover`,children:(0,i.jsx)(Cs,{className:`eidotter-select__listbox`,renderEmptyState:()=>(0,i.jsx)(`div`,{className:`eidotter-select__empty`,children:g}),children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:nv,children:e.label})})})]})},sv=({options:e,label:t,placeholder:n=`Select…`,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,name:f,id:m,className:h,searchable:g,searchPlaceholder:_=`FILTER…`,emptyMessage:v=rv,"aria-label":y})=>{let b=o===`error`,x=c!==void 0,S=Z_(s),C=(0,p.useRef)(null),[w,T]=(0,p.useState)(!1),[E,D]=(0,p.useState)(``),[O,k]=(0,p.useState)(l??[]),A=x?c??[]:O,j=`${(0,p.useId)()}-label`,M=(0,p.useMemo)(()=>new Set(x?c??[]:O),[x,c,O]),N=(0,p.useMemo)(()=>new Map(e.map(e=>[e.value,e.label])),[e]),ee=(0,p.useMemo)(()=>{if(!g||!E.trim())return e;let t=E.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,g,E]),P=t=>{let n=t===`all`?e.map(e=>e.value):Array.from(t,String);x||k(n),u?.(n)},F=e=>{T(e),e&&D(``)},te=A.length===0?n:A.map(e=>N.get(e)??e).join(`, `);return(0,i.jsxs)(`div`,{className:$(`eidotter-select eidotter-select--multi flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(`span`,{id:j,className:Q_,children:t}),(0,i.jsxs)(J,{ref:C,id:m,isDisabled:d,"aria-label":t?void 0:y,"aria-labelledby":t?j:void 0,"aria-haspopup":`listbox`,"aria-expanded":w,onPress:()=>F(!w),className:$(tv,X_[S],b&&`eidotter-select__trigger--error`),children:[(0,i.jsx)(`span`,{className:$(`eidotter-select__value flex-1 text-left truncate`,A.length===0&&`eidotter-select__value--placeholder text-dos-text-muted`),children:te}),(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})]}),r&&!b&&(0,i.jsx)(`span`,{className:$_,children:r}),a&&b&&(0,i.jsx)(`span`,{className:ev,children:a}),f&&A.map(e=>(0,i.jsx)(`input`,{type:`hidden`,name:f,value:e},e)),(0,i.jsxs)(wl,{triggerRef:C,isOpen:w,onOpenChange:F,className:`eidotter-select__popover`,children:[g&&(0,i.jsx)(`input`,{autoFocus:!0,type:`text`,className:`eidotter-select__search font-dos`,placeholder:_,value:E,onChange:e=>D(e.target.value),"aria-label":`Filter options`}),(0,i.jsx)(Cs,{"aria-label":y||t||`Options`,selectionMode:`multiple`,selectedKeys:M,onSelectionChange:P,items:ee,autoFocus:g?void 0:`first`,renderEmptyState:()=>(0,i.jsx)(`div`,{className:`eidotter-select__empty`,children:v}),className:`eidotter-select__listbox`,children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:$(nv,`eidotter-select__option--multi`),children:({isSelected:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__check`,children:t?`[x]`:`[ ]`}),(0,i.jsx)(`span`,{className:`flex-1`,children:e.label})]})})})]})]})},cv=e=>e.multiple?(0,i.jsx)(sv,{...e}):e.searchable?(0,i.jsx)(ov,{...e}):(0,i.jsx)(av,{...e});cv.displayName=`Select`;var lv=({label:e,note:t,value:n,copyValue:r,trailing:a,pending:o,className:s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-ledger-row`,`flex items-center gap-3 py-2 border-b border-dos-border-disabled`,o&&`opacity-50`,s),children:[(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,i.jsx)(`div`,{className:`font-dos text-dos-text-sm text-dos-text-primary`,children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:t})]}),(0,i.jsxs)(`div`,{className:`flex items-center gap-1 shrink-0`,children:[(0,i.jsx)(`span`,{className:`font-dos text-dos-text-sm text-dos-text-accent tabular-nums`,children:n}),r!==void 0&&(0,i.jsx)(Y_,{value:r}),a]})]});lv.displayName=`LedgerRow`;var uv=({label:e,value:t,max:n=100,valueSuffix:r=`%`,showValue:a=!0,className:o,"aria-label":s})=>{let c=n===0?0:Math.min(100,Math.max(0,Math.round(t/n*100)));return(0,i.jsxs)(`div`,{className:$(`eidotter-labeled-progress`,`flex items-center gap-3`,o),children:[e&&(0,i.jsx)(`span`,{className:`eidotter-labeled-progress__label font-dos text-dos-text-sm text-dos-text-muted shrink-0`,children:e}),(0,i.jsx)(`div`,{role:`progressbar`,"aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,"aria-label":s??(typeof e==`string`?e:`${c}${r}`),className:`eidotter-labeled-progress__track relative h-3 flex-1 overflow-hidden bg-dos-bg-primary border border-dos-border-disabled`,children:(0,i.jsx)(`div`,{className:`eidotter-labeled-progress__fill absolute inset-y-0 left-0 w-full bg-dos-bg-accent`,style:{transform:`scaleX(${c/100})`}})}),a&&(0,i.jsxs)(`span`,{className:`eidotter-labeled-progress__value font-dos text-dos-text-sm text-dos-text-accent tabular-nums shrink-0`,children:[c,r]})]})};uv.displayName=`LabeledProgress`;var dv=(0,p.forwardRef)(({children:e,speed:t,characters:n,delay:r,className:a,...o},s)=>{let{text:c,isScrambling:l}=M_(e,{speed:t,characters:n,delay:r});return(0,i.jsx)(`span`,{ref:s,className:$(`eidotter-text-scramble`,l&&`eidotter-text-scramble--scrambling`,a),...o,children:c})});dv.displayName=`TextScramble`;var fv={retro:`eidotter-nav--retro`,modern:`eidotter-nav--modern`},pv=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let o=r||`a`;return(0,i.jsx)(`nav`,{className:$(`eidotter-nav eidotter-nav--desktop`,fv[n],a),"aria-label":`Main navigation`,children:(0,i.jsx)(`ul`,{className:`eidotter-nav__desktop-list`,children:e.map(e=>{let n=og(e.href)?e.href:void 0,r=$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`);return(0,i.jsx)(`li`,{className:`eidotter-nav__desktop-item`,children:n?(0,i.jsx)(o,{href:n,className:r,"aria-current":t===e.href?`page`:void 0,children:e.label}):(0,i.jsx)(`span`,{className:r,children:e.label})},e.href)})})})},mv=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let[o,s]=(0,p.useState)(!1),c=r||`a`,l=(0,p.useRef)(null),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(!1),m=(0,p.useCallback)(()=>s(e=>!e),[]),h=(0,p.useCallback)(()=>s(!1),[]);return(0,p.useEffect)(()=>{if(!o)return;let e=e=>{e.key===`Escape`&&h()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o,h]),(0,p.useEffect)(()=>{o?u.current?.focus():f.current&&l.current?.focus(),f.current=o},[o]),(0,i.jsxs)(`div`,{className:$(`eidotter-nav eidotter-nav--mobile`,fv[n],a),children:[(0,i.jsx)(`button`,{ref:l,onClick:m,className:`eidotter-nav__menu-trigger`,"aria-label":o?`Close menu`:`Open menu`,"aria-expanded":o,"aria-controls":`eidotter-mobile-nav-panel`,children:`MENU`}),o&&(0,i.jsx)(`div`,{className:`eidotter-nav__overlay`,onClick:h,"aria-hidden":`true`}),(0,i.jsxs)(`nav`,{ref:d,id:`eidotter-mobile-nav-panel`,className:$(`eidotter-nav__panel`,o&&`eidotter-nav__panel--open`),"aria-label":`Mobile navigation`,inert:!o,onKeyDown:e=>{if(e.key!==`Tab`||!o)return;let t=d.current?.querySelectorAll(`a[href], button:not([disabled])`);if(!t||t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())},children:[(0,i.jsx)(`div`,{className:`eidotter-nav__panel-header`,children:(0,i.jsx)(`button`,{ref:u,onClick:h,className:`eidotter-nav__close`,"aria-label":`Close menu`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})}),(0,i.jsx)(`ul`,{className:`eidotter-nav__list`,children:e.map(e=>{let n=og(e.href)?e.href:void 0,r=$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`);return(0,i.jsx)(`li`,{className:`eidotter-nav__item`,children:n?(0,i.jsx)(c,{href:n,className:r,"aria-current":t===e.href?`page`:void 0,onClick:h,children:e.label}):(0,i.jsx)(`span`,{className:r,children:e.label})},e.href)})})]})]})},hv=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(mv,{...e}),(0,i.jsx)(pv,{...e})]}),gv={user:`eidotter-chat-message--user`,assistant:`eidotter-chat-message--assistant`,system:`eidotter-chat-message--system`},_v=({role:e,content:t,isStreaming:n=!1,userPrefix:r=`>`,assistantPrefix:a=`C:\\>`,className:o,...s})=>{let c=e===`user`?r:e===`assistant`?a:``;return(0,i.jsxs)(`div`,{className:$(`flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words`,gv[e],n&&`eidotter-chat-message--streaming`,o),...s,children:[c&&(0,i.jsx)(`span`,{className:`shrink-0 select-none`,"aria-hidden":`true`,children:c}),(0,i.jsx)(`span`,{className:`min-w-0`,children:t}),n&&(0,i.jsx)(`span`,{className:`eidotter-chat-message__cursor`,"aria-hidden":`true`,children:`_`})]})},vv=({messages:e,isStreaming:t=!1,userPrefix:n,assistantPrefix:r,className:a,...o})=>{let s=(0,p.useRef)(null);(0,p.useEffect)(()=>{s.current?.scrollIntoView?.({behavior:`smooth`})},[e.length,t]);let c=$(`flex-1 overflow-y-auto font-dos p-2 min-h-0`,`eidotter-chat-history`,a);return e.length===0?(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsx)(`div`,{className:`flex items-center justify-center h-full min-h-16`,children:(0,i.jsx)(`span`,{className:`text-dos-text-muted font-dos text-dos-text-md`,children:`Awaiting input...`})})}):(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsxs)(`div`,{className:`flex flex-col`,children:[e.map((a,o)=>{let s=t&&a.role===`assistant`&&o===e.length-1;return(0,i.jsx)(_v,{role:a.role,content:a.content,isStreaming:s,userPrefix:n,assistantPrefix:r},a.id)}),(0,i.jsx)(`div`,{ref:s})]})})},yv=({onSend:e,prompt:t=`>`,placeholder:n,disabled:r=!1,className:a,...o})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);(0,p.useLayoutEffect)(()=>{let e=l.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[s]);let u=t=>{if(t.key===`Enter`&&!t.shiftKey&&!r){t.preventDefault();let n=s.trim();n&&(e(n),c(``))}};return(0,i.jsxs)(`div`,{className:$(`flex items-start font-dos text-dos-text-md p-2 cursor-text`,`text-dos-text-brand`,`eidotter-chat-input`,r&&`eidotter-chat-input--disabled`,a),onClick:()=>{!r&&l.current&&l.current.focus()},...o,children:[(0,i.jsx)(`span`,{className:`text-dos-text-brand mr-2 mt-0.5 whitespace-nowrap select-none`,"aria-hidden":`true`,children:t}),(0,i.jsxs)(`div`,{className:`flex items-start flex-1 min-w-0`,children:[(0,i.jsx)(`textarea`,{ref:l,className:`eidotter-chat-input__textarea`,value:s,onChange:e=>c(e.target.value),onKeyDown:u,placeholder:n,disabled:r,rows:1,"aria-label":`Chat input`}),(0,i.jsx)(`span`,{className:`eidotter-chat-input__cursor`,"aria-hidden":`true`,children:`_`})]})]})},bv=({messages:e,onSend:t,isStreaming:n=!1,inputPrompt:r,userPrefix:a,assistantPrefix:o,placeholder:s,disabled:c=!1,className:l,...u})=>(0,i.jsxs)(`div`,{className:$(`flex flex-col h-full min-h-0`,l),...u,children:[(0,i.jsx)(vv,{className:`flex-1 min-h-0`,messages:e,isStreaming:n,userPrefix:a,assistantPrefix:o}),(0,i.jsx)(yv,{className:`shrink-0`,onSend:t,prompt:r,placeholder:s,disabled:c})]}),xv=[{label:`Impressum`,href:`/impressum`},{label:`Datenschutz`,href:`/datenschutz`}],Sv=({copyright:e,links:t,linkComponent:n,children:r,className:a,...o})=>{let s=t??xv,c=n??`a`,l=`eidotter-footer__link text-dos-text-brand no-underline`;return(0,i.jsxs)(`footer`,{className:$(`font-dos text-sm py-4 px-2 text-center`,`eidotter-footer`,a),...o,children:[(0,i.jsx)(`div`,{className:`h-px bg-dos-border-default mb-4`,role:`separator`}),r&&(0,i.jsx)(`div`,{className:`mb-3`,children:r}),s.length>0&&(0,i.jsx)(`nav`,{className:`flex justify-center items-center flex-wrap gap-2 mb-2`,"aria-label":`Footer links`,children:s.map((e,t)=>{let n=og(e.href)?e.href:void 0;return(0,i.jsxs)(p.default.Fragment,{children:[t>0&&(0,i.jsx)(`span`,{className:`text-dos-text-muted select-none eidotter-footer__dot`,"aria-hidden":`true`,children:`·`}),n?e.external?(0,i.jsx)(`a`,{className:l,href:n,target:`_blank`,rel:`noopener noreferrer`,children:e.label}):(0,i.jsx)(c,{className:l,href:n,children:e.label}):(0,i.jsx)(`span`,{className:l,children:e.label})]},e.href)})}),e&&(0,i.jsxs)(`p`,{className:`text-dos-text-muted m-0`,children:[`© `,e]})]})},Cv=$(`eidotter-header__return`,`inline-flex items-center gap-1 no-underline`,`border border-dos-border-default rounded-dos-base`,`px-2 py-0.5 text-dos-text-xs uppercase tracking-wider`);function wv({context:e,linkComponent:t,activeHref:n}){let r=t??`a`,{categories:a,returnTo:o}=e,s=o&&og(o.href)?o.href:void 0,c=(e,t)=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let n=window.open(t,`rizomorf-shell`);n&&(e.preventDefault(),n.focus())},l=o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,children:`←`}),(0,i.jsx)(`span`,{children:o.label})]});return(0,i.jsxs)(`div`,{className:$(`eidotter-header__context`,`flex w-full flex-wrap items-center gap-x-4 gap-y-2`),children:[o&&(s===void 0?(0,i.jsx)(`span`,{className:Cv,children:l}):o.reuseTab?(0,i.jsx)(`a`,{href:s,onClick:e=>c(e,s),className:Cv,children:l}):(0,i.jsx)(r,{href:s,className:Cv,children:l})),a.length>0&&(0,i.jsx)(`nav`,{"aria-label":`Categories`,className:`eidotter-header__categories-nav`,children:(0,i.jsx)(`ul`,{className:$(`eidotter-header__categories`,`m-0 flex list-none flex-wrap items-center gap-2 p-0`),children:a.map(e=>{let t=og(e.href)?e.href:void 0,a=n!==void 0&&e.href===n,o=$(`eidotter-header__category inline-flex no-underline`,a&&`eidotter-header__category--active`),s=(0,i.jsxs)(ng,{size:`sm`,variant:`default`,children:[Vp(e.icon)&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`me-1 inline-flex`,children:(0,i.jsx)(Up,{name:e.icon,size:`S`,className:`eidotter-header__category-icon`})}),e.label]});return(0,i.jsx)(`li`,{"data-category-key":e.key,className:`eidotter-header__category-item`,children:t===void 0?(0,i.jsx)(`span`,{className:o,children:s}):(0,i.jsx)(r,{href:t,className:o,"aria-current":a?`page`:void 0,children:s})},e.key)})})})]})}var Tv={retro:`eidotter-header--retro`,modern:`eidotter-header--modern`},Ev=(0,p.forwardRef)(({brandName:e,brandHref:t=`/`,items:n,activeHref:r,variant:a=`retro`,sticky:o=!0,linkComponent:s,context:c,children:l,className:u,...d},f)=>{let p=s??`a`,m=og(t)?t:`/`,h=!!c&&(c.categories.length>0||!!c.returnTo),g=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p,{href:m,className:$(`no-underline text-base font-bold tracking-wide`,`eidotter-header__branding`),children:l||e}),(0,i.jsx)(pv,{items:n,activeHref:r,variant:a,linkComponent:s}),(0,i.jsx)(mv,{items:n,activeHref:r,variant:a,linkComponent:s})]});return(0,i.jsx)(`header`,{ref:f,className:$(h?`flex flex-col gap-2 px-4 py-3 font-dos`:`flex items-center justify-between px-4 py-3 font-dos`,`eidotter-header`,Tv[a],o&&`sticky top-0 z-50 bg-dos-bg-primary`,u),...d,children:h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`eidotter-header__main flex w-full items-center justify-between`,children:g}),(0,i.jsx)(wv,{context:c,linkComponent:s,activeHref:r})]}):g})});Ev.displayName=`Header`;var Dv={delicate:{base:5,mid:3.2,tip:3.6,curvature:22},medium:{base:8,mid:4.4,tip:5,curvature:30}},Ov=28,kv=e=>Math.round(e*100)/100,Av=(e,t,n)=>e+(t-e)*n,jv=e=>e<.5?2*e*e:1-(-2*e+2)**2/2;function Mv(e,t){return e<.5?Av(t.base,t.mid,jv(e/.5)):Av(t.mid,t.tip,jv((e-.5)/.5))}function Nv(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n.width/2,o=n.height/2,s=r===0?1/0:a/Math.abs(r),c=i===0?1/0:o/Math.abs(i),l=Math.min(s,c);return Number.isFinite(l)?{x:e.x+r*l,y:e.y+i*l}:{x:e.x,y:e.y}}function Pv(e,t,n,r,i){let a=1-i,o=a*a*a,s=3*a*a*i,c=3*a*i*i,l=i*i*i;return{x:o*e.x+s*t.x+c*n.x+l*r.x,y:o*e.y+s*t.y+c*n.y+l*r.y}}function Fv(e,t,n,r,i){let a=1-i,o=3*a*a,s=6*a*i,c=3*i*i;return{x:o*(t.x-e.x)+s*(n.x-t.x)+c*(r.x-n.x),y:o*(t.y-e.y)+s*(n.y-t.y)+c*(r.y-n.y)}}function Iv(e,t,n,r={}){let{sign:i=1,sway:a=0}=r,o=t.x-e.x,s=t.y-e.y,c=Math.hypot(o,s);if(c<.5)return``;let l=-s/c,u=o/c,d=Math.min(n.curvature,c/3),f=(d+a)*i,p=(d*.5-a*.6)*i,m={x:e.x+o*.33+l*f,y:e.y+s*.33+u*f},h={x:e.x+o*.66+l*p,y:e.y+s*.66+u*p},g=[],_=[];for(let r=0;r<=Ov;r++){let i=r/Ov,a=Pv(e,m,h,t,i),o=Fv(e,m,h,t,i),s=Math.hypot(o.x,o.y)||1,c=-o.y/s,l=o.x/s,u=Mv(i,n);g.push({x:a.x+c*u,y:a.y+l*u}),_.push({x:a.x-c*u,y:a.y-l*u})}let v=`M ${kv(g[0].x)} ${kv(g[0].y)}`;for(let e=1;e<=Ov;e++)v+=` L ${kv(g[e].x)} ${kv(g[e].y)}`;for(let e=Ov;e>=0;e--)v+=` L ${kv(_[e].x)} ${kv(_[e].y)}`;return v+=` Z`,v}var Lv=.0011,Rv=4,zv=(0,p.forwardRef)(({sourceRef:e,targets:t,weight:n=`delicate`,sway:r=!0,refreshKey:a,className:o,...s},c)=>{let l=(0,p.useId)().replace(/[:]/g,``),u=(0,p.useRef)(null),d=(0,p.useRef)([]),f=(0,p.useRef)([]),m=(0,p.useRef)(null),h=(0,p.useRef)(t);h.current=t;let g=(0,p.useRef)(n);g.current=n;let _=(0,p.useCallback)(e=>{u.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]),v=e=>`eidotter-connector-${l}-${e}`;return(0,p.useEffect)(()=>{let t=u.current;if(!t)return;let n=n=>{let i=t.getBoundingClientRect(),a=e.current;if(!a)return;let o=a.getBoundingClientRect(),s={x:o.left-i.left+o.width/2,y:o.top-i.top+o.height/2},c=Dv[g.current]??Dv.delicate,l=r&&!Wp();h.current.forEach((e,t)=>{let r=e.ref.current,a=d.current[t];if(!a)return;if(!r){a.setAttribute(`d`,``);return}let o=r.getBoundingClientRect();if(o.width===0&&o.height===0){a.setAttribute(`d`,``);return}let u={x:o.left-i.left,y:o.top-i.top,width:o.width,height:o.height},p=Nv({x:u.x+u.width/2,y:u.y+u.height/2},s,u),m=t%2==0?1:-1,h=l?Math.sin(n*Lv+t*1.7)*Rv:0;a.setAttribute(`d`,Iv(s,p,c,{sign:m,sway:h}));let g=f.current[t];g&&(g.setAttribute(`x1`,String(s.x)),g.setAttribute(`y1`,String(s.y)),g.setAttribute(`x2`,String(p.x)),g.setAttribute(`y2`,String(p.y)))})},i=!1,a=()=>{i=!1,m.current!=null&&typeof cancelAnimationFrame<`u`&&(cancelAnimationFrame(m.current),m.current=null)},o=e=>{n(e),i&&typeof requestAnimationFrame<`u`&&(m.current=requestAnimationFrame(o))},s=()=>{r&&!Wp()&&typeof requestAnimationFrame<`u`?i||(i=!0,m.current=requestAnimationFrame(o)):n(0)},c=()=>{i||n(0)},l=typeof ResizeObserver<`u`?new ResizeObserver(c):void 0,p=()=>{l?.disconnect(),l?.observe(t),e.current&&l?.observe(e.current),h.current.forEach(e=>e.ref.current&&l?.observe(e.ref.current))};p();let _=t.parentElement,v=_&&typeof MutationObserver<`u`?new MutationObserver(()=>{p(),c()}):void 0;return _&&v?.observe(_,{childList:!0,subtree:!0}),window.addEventListener(`resize`,c),s(),()=>{a(),l?.disconnect(),v?.disconnect(),window.removeEventListener(`resize`,c)}},[e,t.length,n,r,a]),(0,i.jsxs)(`svg`,{ref:_,className:$(`eidotter-connector pointer-events-none absolute inset-0 h-full w-full overflow-visible text-dos-text-accent`,o),"aria-hidden":`true`,focusable:`false`,...s,children:[(0,i.jsx)(`defs`,{children:t.map((e,t)=>(0,i.jsxs)(`linearGradient`,{id:v(t),gradientUnits:`userSpaceOnUse`,ref:e=>{f.current[t]=e},children:[(0,i.jsx)(`stop`,{offset:`0%`,stopColor:`currentColor`}),(0,i.jsx)(`stop`,{offset:`78%`,stopColor:e.color??`currentColor`})]},t))}),t.map((e,t)=>(0,i.jsx)(`path`,{d:``,fill:`url(#${v(t)})`,ref:e=>{d.current[t]=e}},t))]})});zv.displayName=`Connector`;var Bv={primary:`Info`,gray:`Info`,success:`Done`,warning:`Warning`,error:`Error`},Vv=({type:e=`primary`,title:t,children:n,actions:r,onClose:a,avatar:o,image:s,progress:c,progressLabel:l,duration:u,showIcon:d=!0,className:f})=>{let{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gp(`notification-exit`,a);(0,p.useEffect)(()=>{if(u==null||!a)return;let e=setTimeout(()=>h(),u);return()=>clearTimeout(e)},[u,a,h]);let _=d&&!o,v=c!=null;return(0,i.jsxs)(`div`,{className:$(`w-full max-w-[400px]`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-notification`,`eidotter-notification--${e}`,m&&`eidotter-notification--closing`,f),onAnimationEnd:g,role:e===`error`?`alert`:`status`,"data-type":e,children:[s&&(0,i.jsx)(`div`,{className:`eidotter-notification__image`,children:s}),(0,i.jsxs)(`div`,{className:`flex flex-row gap-4 p-4`,children:[o&&(0,i.jsx)(`div`,{className:`eidotter-notification__avatar flex-shrink-0`,children:o}),_&&(0,i.jsx)(`div`,{className:`eidotter-notification__icon`,children:(0,i.jsx)(Up,{name:Bv[e]||`Info`,size:`S`,"aria-label":`${e} notification`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,a&&!_&&!o&&`pr-8`),children:[(t||n)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[t&&(0,i.jsx)(`div`,{className:`eidotter-notification__title font-dos leading-[140%]`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos leading-[140%]`,children:n})]}),v&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,i.jsx)(pm,{value:c,max:100,size:`sm`,fullWidth:!0,showLabel:!1}),l&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos text-dos-text-xs`,children:l})]}),r&&r.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:r.map((e,t)=>(0,i.jsxs)(J,{className:`eidotter-notification__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),a&&(0,i.jsx)(J,{className:`eidotter-notification__close`,onPress:h,"aria-label":`Close notification`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})]})};function Hv(e){let t=e.trim();return t===``||og(t,{extraSchemes:[`tel`,`ftp`,`sms`]})?t:`#`}function Uv(e,t){if(t.length===0)return e;let n=new Set((e??``).split(/\s+/).map(e=>e.trim().toLowerCase()).filter(Boolean));for(let e of t)n.add(e.toLowerCase());return Array.from(n).join(` `)}var Wv=(0,p.forwardRef)(({children:e,href:t,showGlyph:n=!0,external:r=!1,className:a,target:o,rel:s,...c},l)=>{let u=Hv(t),d=o??(r?`_blank`:void 0),f=d===`_blank`,p=f?Uv(s,[`noopener`,`noreferrer`]):s,m=r&&f?`↗`:`▸`;return(0,i.jsxs)(`a`,{ref:l,href:u,target:d,rel:p,className:$(`eidotter-ilink`,r&&`eidotter-ilink--external`,a),...c,children:[(0,i.jsx)(`span`,{className:`eidotter-ilink__label`,children:e}),n&&(0,i.jsx)(`span`,{className:`eidotter-ilink__glyph`,"aria-hidden":`true`,children:m})]})});Wv.displayName=`InlineLink`;var Gv=(0,p.forwardRef)(({title:e,resolution:t,subject:n,caption:r,pins:a=[],animated:o=!0,"aria-label":s,className:c},l)=>{let u=(0,p.useId)(),d=r?u:void 0;return(0,i.jsxs)(`figure`,{ref:l,className:$(`eidotter-dos-figure`,o&&`eidotter-dos-figure--animated`,c),role:`img`,"aria-label":s,"aria-describedby":d,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-dos-figure__title`,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{children:e})}),(0,i.jsxs)(`div`,{className:`eidotter-dos-figure__frame`,children:[(0,i.jsx)(`div`,{className:`eidotter-dos-figure__subject`,children:n}),a.length>0&&(0,i.jsx)(`ul`,{className:`eidotter-dos-figure__pins`,role:`list`,children:a.map((e,t)=>{let n=Number.isFinite(e.x)?Math.max(0,Math.min(100,e.x)):0,r=Number.isFinite(e.y)?Math.max(0,Math.min(100,e.y)):0;return(0,i.jsxs)(`li`,{className:`eidotter-dos-figure__pin`,style:{left:`${n}%`,top:`${r}%`},children:[(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-label`,children:e.label})]},`${n}-${r}-${t}`)})}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__scanline`,"aria-hidden":`true`}),t&&(0,i.jsx)(`span`,{className:`eidotter-dos-figure__resolution`,"aria-hidden":`true`,children:t})]}),r&&(0,i.jsx)(`figcaption`,{id:u,className:`eidotter-dos-figure__caption`,children:r})]})});Gv.displayName=`DosFigure`;var Kv=(0,i.jsx)(i.Fragment,{children:`↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE`});function qv(e){let t=e.toLowerCase().split(`+`).map(e=>e.trim()),n=t[t.length-1],r=t.includes(`mod`),i=t.includes(`shift`),a=t.includes(`alt`);return e=>{if(e.key.toLowerCase()!==n)return!1;let t=typeof navigator<`u`&&/Mac|iPhone|iPad/.test(navigator.platform);return!(!(r?t?e.metaKey:e.ctrlKey:!(e.metaKey||e.ctrlKey))||i!==e.shiftKey||a!==e.altKey)}}function Jv(e,t){if(!t)return 0;let n=t.toLowerCase(),r=e.label.toLowerCase(),i=(e.keywords||[]).map(e=>e.toLowerCase());return r.startsWith(n)?100:i.some(e=>e.startsWith(n))?80:r.includes(n)?50:i.some(e=>e.includes(n))?30:(e.type||``).toLowerCase().includes(n)?10:-1}var Yv=(0,p.forwardRef)(({open:e,onOpenChange:t,items:n,placeholder:r=`SEARCH · TYPE · ▸`,hotkey:a=`mod+k`,emptyMessage:o=`NO MATCHES`,footerHint:s=Kv,renderItem:c,maxResults:l=20,className:u,"aria-label":d=`Command palette`},f)=>{let m=(0,p.useId)(),h=`${m}-listbox`,[g,_]=(0,p.useState)(``),[v,y]=(0,p.useState)(0),b=(0,p.useRef)(null),x=(0,p.useRef)(null),S=(0,p.useRef)(!1),C=(0,p.useMemo)(()=>g.trim()?n.map(e=>({item:e,score:Jv(e,g.trim())})).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).slice(0,l).map(e=>e.item):n.slice(0,l),[n,g,l]);(0,p.useEffect)(()=>{e&&(_(``),y(0))},[e]),(0,p.useEffect)(()=>{y(0)},[g]),(0,p.useEffect)(()=>{y(e=>Math.min(e,Math.max(0,C.length-1)))},[C.length]),(0,p.useEffect)(()=>{if(e){let e=window.setTimeout(()=>b.current?.focus(),10);return()=>window.clearTimeout(e)}},[e]);let w=(0,p.useRef)(e),T=(0,p.useRef)(t);(0,p.useEffect)(()=>{w.current=e},[e]),(0,p.useEffect)(()=>{T.current=t},[t]),(0,p.useEffect)(()=>{if(a===!1)return;let e=qv(a),t=t=>{e(t)&&(t.preventDefault(),T.current(!w.current))};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[a]),(0,p.useEffect)(()=>{if(!e||C.length===0)return;let t=x.current?.querySelector(`[data-index="${v}"]`);if(t&&typeof t.scrollIntoView==`function`){S.current=!0,t.scrollIntoView({block:`nearest`});let e=window.setTimeout(()=>{S.current=!1},0);return()=>window.clearTimeout(e)}},[v,C,e]);let E=(0,p.useCallback)(e=>{e.onSelect?.(e),t(!1)},[t]);return(0,i.jsx)(bd,{isOpen:e,onOpenChange:t,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal-overlay`,e&&`eidotter-cmdpal-overlay--entering`,t&&`eidotter-cmdpal-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal`,e&&`eidotter-cmdpal--entering`,t&&`eidotter-cmdpal--exiting`),children:(0,i.jsxs)(pu,{"aria-label":d,className:$(`eidotter-cmdpal__container outline-none`,u),ref:f,children:[(0,i.jsxs)(`div`,{className:`eidotter-cmdpal__head`,"aria-hidden":`true`,children:[(0,i.jsx)(`span`,{children:`▸ JUMP TO`}),(0,i.jsx)(`span`,{className:`eidotter-cmdpal__blink`,children:`_`})]}),(0,i.jsx)(`input`,{ref:b,type:`text`,role:`combobox`,"aria-controls":h,"aria-expanded":!0,"aria-autocomplete":`list`,"aria-activedescendant":C[v]?`${m}-item-${C[v].id}`:void 0,className:`eidotter-cmdpal__input`,value:g,placeholder:r,onChange:e=>_(e.target.value),onKeyDown:e=>{if(e.key===`ArrowDown`)e.preventDefault(),y(e=>Math.min(e+1,Math.max(0,C.length-1)));else if(e.key===`ArrowUp`)e.preventDefault(),y(e=>Math.max(0,e-1));else if(e.key===`Enter`){let t=C[v];t&&(e.preventDefault(),E(t))}}}),(0,i.jsxs)(`ul`,{ref:x,id:h,role:`listbox`,"aria-label":d,className:`eidotter-cmdpal__results`,children:[C.length===0&&(0,i.jsx)(`li`,{className:`eidotter-cmdpal__empty`,role:`presentation`,children:o}),C.map((e,t)=>{let n=t===v;return(0,i.jsx)(`li`,{id:`${m}-item-${e.id}`,role:`option`,"aria-selected":n,"data-index":t,className:$(`eidotter-cmdpal__item`,n&&`eidotter-cmdpal__item--selected`),onMouseMove:()=>{S.current||y(t)},onClick:()=>E(e),children:c?c(e,n):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(`span`,{className:`eidotter-cmdpal__item-label`,children:[(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-caret`,"aria-hidden":`true`,children:n?`▸`:` `}),e.label]}),e.hint!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-hint`,children:e.hint})]})},e.id)})]}),s&&(0,i.jsx)(`div`,{className:`eidotter-cmdpal__footer`,"aria-hidden":`true`,children:s})]})})})});Yv.displayName=`CmdPalette`;var Xv=(0,p.forwardRef)(({size:e=32,glow:t=!0,title:n=`eiDotter`,className:r,...a},o)=>{let s=(0,p.useId)(),c=`eidotter-logo-halo-${s}`,l=`eidotter-logo-core-${s}`;return(0,i.jsxs)(`svg`,{ref:o,width:e,height:e,viewBox:`8 7 22 22`,xmlns:`http://www.w3.org/2000/svg`,role:n?`img`:void 0,"aria-hidden":!n||void 0,className:$(`eidotter-logo`,t&&`eidotter-logo--glow`,r),...a,children:[n?(0,i.jsx)(`title`,{children:n}):null,(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`radialGradient`,{id:c,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 19.1) scale(13.2)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.3`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]}),(0,i.jsxs)(`radialGradient`,{id:l,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 18.9) scale(9.9)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.45`}),(0,i.jsx)(`stop`,{offset:`0.6`,stopColor:`#9A5700`,stopOpacity:`0.22`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]})]}),(0,i.jsx)(`path`,{d:`M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z`,fill:`url(#${c})`}),(0,i.jsx)(`path`,{d:`M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z`,fill:`url(#${l})`}),(0,i.jsx)(`path`,{d:`M20.375 9.0625H17.625V9.75H20.375V9.0625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M17.625 9.75H16.9375V10.4375H17.625V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 9.75H20.375V10.4375H22.4375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 11.125H13.5V11.8125H14.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M13.5 11.8125H12.8125V12.5H13.5V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 12.5H12.125V13.875H12.8125V12.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 13.875H11.4375V15.9375H12.125V13.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 15.9375H10.75V18H11.4375V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 18H10.0625V19.375H10.75V18Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 19.375H10.75V20.75H11.4375V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 20.75H11.4375V22.125H12.125V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 22.125H12.125V23.5H12.8125V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 15.25H26.5625V17.3125H27.25V15.25Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 19.375H26.5625V20.75H27.25V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 20.75H25.875V22.125H26.5625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 22.125H25.1875V23.5H25.875V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 24.1875H14.1875V24.875H16.25V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.3125 24.875H16.25V25.5625H18.3125V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M20.375 25.5625H18.3125V26.25H20.375V25.5625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 24.875H20.375V25.5625H22.4375V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M24.5 24.1875H22.4375V24.875H24.5V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 23.5H24.5V24.1875H25.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M29.3125 16.625H28.625V17.3125H29.3125V16.625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M28.625 20.75H27.9375V21.4375H28.625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 21.4375H10.0625V22.125H10.75V21.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 15.25H15.5625V17.3125H16.25V15.25Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M18.3125 13.875H16.25V14.5625H18.3125V13.875Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M16.25 14.5625H15.5625V15.25H16.25V14.5625Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M17.5 17C18.3284 17 19 16.3284 19 15.5C19 14.6716 18.3284 14 17.5 14C16.6716 14 16 14.6716 16 15.5C16 16.3284 16.6716 17 17.5 17Z`,fill:`#FFD97A`}),(0,i.jsx)(`path`,{d:`M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z`,fill:`#FFE8A8`})]})});Xv.displayName=`Logo`;var Zv=(0,p.forwardRef)(({glow:e=!0,className:t,...n},r)=>(0,i.jsxs)(`span`,{ref:r,className:$(`eidotter-wordmark font-dos`,e&&`eidotter-wordmark--glow`,t),"aria-label":`eiDotter`,...n,children:[(0,i.jsx)(`span`,{className:`eidotter-wordmark__prefix`,"aria-hidden":`true`,children:`ei`}),(0,i.jsx)(`span`,{className:`eidotter-wordmark__body`,"aria-hidden":`true`,children:`Dotter`})]}));Zv.displayName=`Wordmark`;var Qv=(0,p.forwardRef)(({logoSize:e=32,iconOnly:t=!1,wordmarkOnly:n=!1,glow:r=!0,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`eidotter-brand-lockup inline-flex items-center gap-3`,a),role:`img`,"aria-label":`eiDotter`,...o,children:[!n&&(0,i.jsx)(Xv,{size:e,glow:r,title:``}),!t&&(0,i.jsx)(Zv,{glow:r,"aria-hidden":`true`})]}));Qv.displayName=`BrandLockup`;var $v=e=>Math.round(e*100)/100;function ey(e,t,n={}){let{curvature:r=24}=n;if(e.width===0||e.height===0)return[];let i=t.filter(e=>!(e.width===0&&e.height===0));if(i.length===0)return[];let a=e.width/2,o=e.height/2,s=[];return i.forEach((t,n)=>{let i=t.x-e.x,c=t.y-e.y,l=i+t.width/2>=a?i:i+t.width,u=c+t.height/2,d=l-a,f=u-o,p=Math.hypot(d,f);if(p<1)return;let m=(n%2==0?1:-1)*Math.min(r,p/3),h=(a+l)/2,g=(o+u)/2,_=h+-f/p*m,v=g+d/p*m;s.push(`M ${$v(a)} ${$v(o)} Q ${$v(_)} ${$v(v)} ${$v(l)} ${$v(u)}`)}),s}var ty=[],ny=(0,p.forwardRef)(({size:e=48,label:t=`eiDotter`,morph:n=!0,arms:r,className:a,style:o,...s},c)=>{let l=(0,p.useRef)(null),[u,d]=(0,p.useState)(ty),f=(0,p.useCallback)(e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]);return(0,p.useEffect)(()=>{if(!r){d(ty);return}let e=l.current,t=r.scopeRef.current;if(!e)return;let n=[],i=()=>{let t=ey(e.getBoundingClientRect(),n.map(e=>e.getBoundingClientRect()));d(e=>e.length===t.length&&e.every((e,n)=>e===t[n])?e:t)},a=()=>r.targetRefs?r.targetRefs.map(e=>e.current).filter(e=>!!e):t?Array.from(t.querySelectorAll(r.targetSelector??`.eidotter-header__category`)):[],o=typeof ResizeObserver<`u`?new ResizeObserver(i):void 0,s=()=>{o?.disconnect(),n=a(),o?.observe(e),t&&o?.observe(t),n.forEach(e=>o?.observe(e)),i()};s();let c=t&&typeof MutationObserver<`u`?new MutationObserver(s):void 0;return t&&c?.observe(t,{childList:!0,subtree:!0}),window.addEventListener(`resize`,i),()=>{o?.disconnect(),c?.disconnect(),window.removeEventListener(`resize`,i)}},[r?.scopeRef,r?.targetSelector,r?.refreshKey,r?.targetRefs?.length,+!!r]),(0,i.jsxs)(`div`,{ref:f,role:t?`img`:void 0,"aria-label":t||void 0,"aria-hidden":!t||void 0,className:$(`eidotter-mark relative inline-block`,a),style:{width:e,height:e,...o},...s,children:[r&&(0,i.jsx)(`svg`,{className:`eidotter-mark__arms pointer-events-none absolute inset-0 h-full w-full overflow-visible text-dos-text-accent`,"aria-hidden":`true`,focusable:`false`,children:u.map((e,t)=>(0,i.jsx)(`path`,{d:e,fill:`none`,stroke:`currentColor`,strokeWidth:2},t))}),(0,i.jsx)(`span`,{className:$(`eidotter-mark__blob relative block h-full w-full`,n&&`eidotter-mark__blob--morph`)})]})});ny.displayName=`Mark`;var ry=({children:e,className:t,title:n=`AI-assisted text — being rewritten`})=>(0,i.jsxs)(`span`,{"data-provenance":`ai-draft`,className:$(`eidotter-ai-text`,t),title:n,children:[(0,i.jsx)(`span`,{className:`eidotter-ai-text__sr-only`,children:`AI-assisted: `}),e]});ry.displayName=`AIText`;var iy=({title:e,date:t,intro:n,home:r,children:a,className:o,...s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-legal-page`,o),...s,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__home`,children:r}),(0,i.jsxs)(`article`,{children:[(0,i.jsxs)(`header`,{className:`eidotter-legal-page__hero`,children:[(0,i.jsx)(`p`,{className:`eidotter-legal-page__date`,children:t}),(0,i.jsx)(`h1`,{children:e}),n&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__intro`,children:n})]}),(0,i.jsx)(`div`,{className:`eidotter-legal-page__body`,children:a})]})]}),ay=(0,i.jsxs)(i.Fragment,{children:[`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`,(0,i.jsx)(`br`,{}),`Deutschland`]}),oy=`Dominic Kennedy`,sy=({email:e,address:t=ay,name:n=oy})=>(0,i.jsxs)(`address`,{children:[n,(0,i.jsx)(`br`,{}),t,e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),cy=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Angaben gemäß § 5 DDG`}),(0,i.jsx)(sy,{...e})]}),ly=({email:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Kontakt`}),(0,i.jsxs)(`p`,{children:[`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),uy=({name:e=oy})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)`}),(0,i.jsxs)(`address`,{children:[e,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`]})]}),dy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Inhalte`}),(0,i.jsx)(`p`,{children:`Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht.`})]}),fy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Links`}),(0,i.jsx)(`p`,{children:`Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend.`})]}),py=({email:e,name:t=oy})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verantwortlicher`}),(0,i.jsxs)(`address`,{children:[t,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf, Deutschland`,(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),my=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Hosting`}),(0,i.jsx)(`p`,{children:`Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern.`}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),hy=({proxyHost:e=`e.dmnc.tech`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Webanalyse — PostHog`}),(0,i.jsxs)(`p`,{children:[`Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain `,e,` — es besteht keine direkte Verbindung zu PostHog-Servern.`]}),(0,i.jsxs)(`p`,{children:[`Es werden `,(0,i.jsx)(`strong`,{children:`keine Cookies`}),` gesetzt. PostHog speichert Daten ausschließlich im Arbeitsspeicher des Browsers (Session Memory). Personenbezogene Profile entstehen nicht, solange Sie sich nicht aktiv identifizieren.`]}),(0,i.jsxs)(`p`,{children:[(0,i.jsx)(`strong`,{children:`Session Recording:`}),` PostHog zeichnet anonymisierte Sitzungswiederholungen auf. Alle Eingabefelder werden automatisch maskiert.`]}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),gy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Schriftarten`}),(0,i.jsx)(`p`,{children:`Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt.`})]}),_y=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verschlüsselung`}),(0,i.jsx)(`p`,{children:`Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers.`})]}),vy=({email:e,supervisoryAuthority:t=`die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Ihre Rechte`}),(0,i.jsx)(`p`,{children:`Die DSGVO gewährt Ihnen folgende Rechte:`}),(0,i.jsxs)(`ul`,{children:[(0,i.jsx)(`li`,{children:`Auskunft (Art. 15)`}),(0,i.jsx)(`li`,{children:`Berichtigung (Art. 16)`}),(0,i.jsx)(`li`,{children:`Löschung (Art. 17)`}),(0,i.jsx)(`li`,{children:`Einschränkung der Verarbeitung (Art. 18)`}),(0,i.jsx)(`li`,{children:`Datenübertragbarkeit (Art. 20)`}),(0,i.jsx)(`li`,{children:`Widerspruch (Art. 21)`})]}),e&&(0,i.jsxs)(`p`,{children:[`Zur Ausübung Ihrer Rechte genügt eine formlose E-Mail an`,` `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e}),`.`]}),(0,i.jsxs)(`p`,{children:[`Sie können sich bei einer Aufsichtsbehörde beschweren (Art. 77 DSGVO). Zuständig ist `,t,`.`]})]}),yy={eidotter:{displayName:`eiDotter`},spacewar:{displayName:`Spacewar!`},rizomorf:{displayName:`rizomorf`},"pomodoke-calendar":{displayName:`PomoDoke Calendar`},keepcoin:{displayName:`KeepCoin`},steuerdash:{displayName:`Steuerdash`},sella:{displayName:`sella`},lifelines:{displayName:`Lifelines`},betamorf:{displayName:`betamorf`},dmnctech:{displayName:`dmnc.tech`,url:`https://dmnc.tech`},tracker:{displayName:`Tracker`,url:`https://tracker.dmnc.tech`},"doctor-portal":{displayName:`Doctor Portal`},dosbts:{displayName:`DOSBTS`}},by={Alert:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.2.0`,variants:{"type:info":{description:`Informational message`,since:`0.2.0`,usedBy:[`rizomorf`]},"type:success":{description:`Success confirmation`,since:`0.2.0`,usedBy:[`steuerdash`]},"type:warning":{description:`Warning notice`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"type:error":{description:`Error message`,since:`0.2.0`,usedBy:[`steuerdash`]},"size:small":{description:`Compact alert for inline contexts`,since:`0.2.0`},"size:large":{description:`Full-width alert with icon`,since:`0.2.0`}},platforms:{react:{path:`src/components/Alert`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.6.0`,type:`changed`,description:`Fix icon alignment and add prefers-contrast support`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects`},{version:`0.2.0`,type:`added`,description:`Initial Alert component with info/success/warning/error types`}]},Accordion:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`Collapsible section with CSS grid expand/collapse — always-in-DOM, transitions grid-template-rows`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for accordion trigger`},{version:`0.19.0`,type:`changed`,description:`Remove 500px expand cap — animate grid-template-rows to natural height`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3 — Accordion, Footer, Tabs, FilterBar)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.2.0`,type:`added`,description:`Initial Accordion (Section) — collapsible section, inert attribute, reduced-motion safe`}]},AccordionFill:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.4.0`,originNote:`Convenience wrapper around Section — renders a list of sections from a data array`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Tailwind-first pass alongside Accordion migration`},{version:`0.4.0`,type:`added`,description:`Initial AccordionFill — array-driven Section list`}]},Badge:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Neutral badge with muted styling`,since:`0.3.0`,usedBy:[`rizomorf`]},"variant:success":{description:`Green success indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:warning":{description:`Amber warning indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Red error/critical indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:info":{description:`Blue informational indicator`,since:`0.3.0`},"variant:accent":{description:`Theme accent color badge`,since:`0.3.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact inline badge`,since:`0.3.0`},"size:medium":{description:`Standard badge size`,since:`0.3.0`}},platforms:{react:{path:`src/components/Badge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter keyframes`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.5.0`,type:`changed`,description:`Fix text vertical alignment for pixel fonts`},{version:`0.3.0`,type:`added`,description:`Initial Badge component for status indicators`}]},Breadcrumb:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`Trail navigation with configurable separator and optional back-arrow`,platforms:{react:{path:`src/components/Breadcrumb`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.39.0`,type:`changed`,description:`Sanitize href via shared isSafeHref — unsafe schemes (javascript:, data:, …) render the label without an anchor`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2 — Separator, Stat, Breadcrumb, Progress)`},{version:`0.9.0`,type:`changed`,description:`Fix trail links invisible on dark backgrounds`},{version:`0.3.0`,type:`added`,description:`Initial Breadcrumb — trail array, currentLabel, separator, showBackArrow`}]},Button:{origin:`eidotter`,consumers:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`],since:`0.2.0`,variants:{"variant:primary":{description:`Primary CTA with amber background`,since:`0.2.0`,usedBy:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`]},"variant:secondary":{description:`Secondary action with border only`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:ghost":{description:`Minimal button with hover reveal`,since:`0.2.0`,usedBy:[`rizomorf`]},"variant:link":{description:`Inline link-style button`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact 1.5rem min-height`,since:`0.2.0`},"size:medium":{description:`Standard 2rem min-height`,since:`0.2.0`},"size:large":{description:`Prominent 2.5rem min-height`,since:`0.2.0`}},platforms:{react:{path:`src/components/Button`,status:`canonical`},swiftui:{path:`platforms/swiftui/Sources/EiDotterUI/DOSButton.swift`,status:`planned`,note:`POC with primary variant only — not yet production-ready`},spritekit:{status:`token-only`,note:`Spacewar uses tokens only, no UIKit/SwiftUI button`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish across all variants`},{version:`0.7.0`,type:`changed`,description:`Increase font size and weight for readability`},{version:`0.6.0`,type:`changed`,description:`Add phosphor warmup/energize keyframes to all variants`},{version:`0.5.0`,type:`changed`,description:`Fix secondary label visibility in pressed state`},{version:`0.4.0`,type:`changed`,description:`Add CRT phosphor interaction states for primary variant`},{version:`0.2.0`,type:`added`,description:`Initial Button with primary/secondary/ghost/link variants`}]},Card:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard card with subtle border`,since:`0.3.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:elevated":{description:`Raised card with drop shadow`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:bordered":{description:`Strong border emphasis`,since:`0.3.0`},"variant:glow":{description:`Phosphor glow border effect`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:interactive":{description:`Hover-reactive card for clickable surfaces`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:minimal":{description:`Borderless content container`,since:`0.4.0`},"variant:callout":{description:`Highlighted callout with accent border`,since:`0.4.0`}},platforms:{react:{path:`src/components/Card`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.4.0`,type:`added`,description:`Add glow, interactive, minimal, callout variants`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects and amber dim header background`},{version:`0.3.0`,type:`added`,description:`Initial Card with default/elevated/bordered variants`}]},Checkbox:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"size:sm":{description:`Compact 16px checkbox for dense forms`,since:`0.16.0`},"size:md":{description:`Standard 20px checkbox`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Checkbox`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: remediate Phase 1 audit defects + high-contrast glow gaps`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.3.0`,type:`added`,description:`Initial Checkbox — controlled/uncontrolled, indeterminate; BEM CSS implementation`}]},CommandPrompt:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`DOS command-line input — blinking cursor, configurable prompt string, onCommand callback`,platforms:{react:{path:`src/components/CommandPrompt`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.3.0`,type:`added`,description:`Initial CommandPrompt — prompt prop, onCommand, autoFocus, disabled`}]},Icon:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.13.0`,originNote:`Thin wrapper around pixelarticons (MIT) + custom PixelX for Close — 12 public names, ICON_MAP`,variants:{"name:Info":{description:`Informational circle-i`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Warning":{description:`Warning triangle`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Error":{description:`Error octagon`,since:`0.13.0`},"name:Done":{description:`Checkmark (shares Check glyph)`,since:`0.13.0`},"name:Check":{description:`Checkmark`,since:`0.13.0`},"name:Close":{description:`Custom pixel-art X mark (no pixelarticons glyph)`,since:`0.19.0`,usedBy:[`rizomorf`]},"name:Chevron Up":{description:`Up caret`,since:`0.13.0`},"name:Chevron Down":{description:`Down caret`,since:`0.13.0`},"name:App":{description:`Grid/app launcher`,since:`0.13.0`},"name:Cancel":{description:`Minus glyph — window minimize control`,since:`0.13.0`},"name:Fullscreen":{description:`Expand to fullscreen`,since:`0.13.0`},"name:Add":{description:`Plus / add action`,since:`0.13.0`},"size:L":{description:`Large — 56 × 56 px`,since:`0.13.0`,usedBy:[`rizomorf`]},"size:S":{description:`Small — 24 × 24 px`,since:`0.13.0`}},platforms:{react:{path:`src/components/Icon`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: fix aria-prohibited-attr on Icon (Phase 1 audit defect)`},{version:`0.30.0`,type:`changed`,description:`Icon inherits color from context instead of hardcoding amber`},{version:`0.19.0`,type:`added`,description:`Custom pixel-art X mark for Close (pixelarticons v2 has no standalone X glyph)`},{version:`0.18.0`,type:`changed`,description:`Swap @untitledui-pro/icons for pixelarticons (MIT) — license compliance`},{version:`0.13.0`,type:`added`,description:`Initial Icon component — ICON_MAP with 12 public names, size L/S`}]},Input:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard text input with amber focus border`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Error state — red border, errorMessage slot`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Input`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TextField (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Input — label, description, errorMessage, isRequired`}]},Lightbox:{origin:`eidotter`,consumers:[`dmnctech`],since:`0.22.0`,originNote:`Fullscreen image viewer extending Modal pattern. Keyboard nav, prev/next, counter, swipe.`},Modal:{origin:`eidotter`,consumers:[`pomodoke-calendar`],since:`0.3.0`,originNote:`DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop`,platforms:{react:{path:`src/components/Modal`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Normalize event handlers; replace raw <button> with AriaButton for close control`},{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria ModalOverlay/Modal/Dialog (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.3.0`,type:`added`,description:`Initial Modal — isOpen, onOpenChange, title, footer slot`}]},Progress:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Amber progress bar`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:success":{description:`Green completion indicator`,since:`0.3.0`},"variant:warning":{description:`Amber warning progress`,since:`0.3.0`},"variant:error":{description:`Red error/failed progress`,since:`0.3.0`},"size:sm":{description:`Compact single-row bar`,since:`0.16.0`},"size:md":{description:`Standard bar height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall bar for prominent display`,since:`0.16.0`},"trackStyle:block":{description:`Solid block fill (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trackStyle:bordered":{description:`Outline bar with fill inside`,since:`0.3.0`},"trackStyle:gradient":{description:`Gradient fill for smooth visual`,since:`0.3.0`}},platforms:{react:{path:`src/components/Progress`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases small/medium/large → sm/md/lg`},{version:`0.3.0`,type:`added`,description:`Initial Progress — blocks character cells, indeterminate, showLabel, glow prop`}]},RetroEffects:{origin:`spacewar`,consumers:[`spacewar`,`rizomorf`],since:`0.3.0`,originNote:`CRT scanline/glow effects from Spacewar! — compositor-only, prefers-reduced-motion safe`,platforms:{react:{path:`src/components/RetroEffects`,status:`canonical`},spritekit:{status:`planned`,note:`Spacewar uses CRT shader natively; component is React-web-only`}},changelog:[{version:`0.30.0`,type:`added`,description:`bootOnce — gate CGA turn-on to once per browser tab/session via sessionStorage`},{version:`0.28.0`,type:`added`,description:`boot prop — CGA monitor turn-on sequence on mount (~650ms); onBootComplete callback`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`changed`,description:`Align CRT animation values with design-craft spec`},{version:`0.3.0`,type:`added`,description:`Initial RetroEffects — scanlines, glow, flicker, bloom, intensity, powered`}]},Select:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.36.0`,originNote:`DOS-styled dropdown. MVP was a native <select> ported from Steuerdash; rebuilt on React Aria Select/ComboBox in DMNC-593 with default/searchable/multi modes`,variants:{"mode:default":{description:`Single-select — React Aria Select (button + popover + listbox)`,since:`0.38.0`,usedBy:[`steuerdash`]},"searchable:true":{description:`Type-to-filter ComboBox single-select`,since:`0.38.0`},"multiple:true":{description:`Multi-select listbox; value/onChange use string arrays`,since:`0.38.0`},"variant:error":{description:`Invalid state — red border + errorMessage slot`,since:`0.38.0`},"size:sm":{description:`Compact trigger (28px min-height)`,since:`0.38.0`},"size:md":{description:`Standard trigger (32px min-height)`,since:`0.38.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall trigger (40px min-height)`,since:`0.38.0`}},platforms:{react:{path:`src/components/Select`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.38.0`,type:`changed`,description:`Rebuild on React Aria (Select/ComboBox/ListBox) with phosphor glow; add searchable + multiple modes, label/description/error chrome, sizes. Backward-compatible value/options/onChange API (DMNC-593)`},{version:`0.36.0`,type:`added`,description:`Initial Select — native <select> MVP ported from Steuerdash (DMNC-860)`}]},Skeleton:{origin:`eidotter`,consumers:[`dmnctech`],originNote:`DOS/CGA loading placeholder — shade-character rows (░▒▓) with CRT hum-bar band rolling top→bottom (DMNC-1018)`},Stat:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.3.0`,originNote:`Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation`,variants:{"size:sm":{description:`Compact metric for dense dashboards`,since:`0.16.0`},"size:md":{description:`Standard metric display`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Hero metric for prominent KPIs`,since:`0.16.0`,usedBy:[`steuerdash`]},"trend:up":{description:`Upward trend indicator (green arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:down":{description:`Downward trend indicator (red arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:neutral":{description:`No change indicator (muted dash)`,since:`0.3.0`}},platforms:{react:{path:`src/components/Stat`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`changed`,description:`Add optional unit, note and target slots (additive; existing consumers unchanged)`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases; add size:sm/lg`},{version:`0.3.0`,type:`added`,description:`Initial Stat — label, value, trend, trendValue, scramble prop`}]},Switch:{origin:`eidotter`,consumers:[],since:`0.3.0`,variants:{"size:sm":{description:`Compact 20px toggle for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard 24px toggle`,since:`0.3.0`},"type:default":{description:`Full-width thumb track`,since:`0.3.0`},"type:slim":{description:`Narrow pill track for inline use`,since:`0.3.0`}},platforms:{react:{path:`src/components/Switch`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish — toggle glow transition`},{version:`0.3.0`,type:`added`,description:`Initial Switch — controlled/uncontrolled, label, type:default/slim`}]},FilterBar:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color`,variants:{"mode:multi":{description:`Multiple filters selectable simultaneously`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"mode:single":{description:`Single active filter (radio behavior)`,since:`0.7.0`},"size:sm":{description:`Compact filter chips`,since:`0.16.0`},"size:md":{description:`Standard filter chips`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large filter chips for touch targets`,since:`0.16.0`}},platforms:{react:{path:`src/components/FilterBar`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for filter chips`},{version:`0.7.0`,type:`added`,description:`Initial FilterBar — multi/single mode, items array, showAll, keyboard nav`}]},Tag:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Interactive labels for tags, categories, and filter chips`,variants:{"variant:default":{description:`Standard tag with subtle background`,since:`0.7.0`,usedBy:[`rizomorf`]},"variant:outlined":{description:`Border-only tag`,since:`0.7.0`,usedBy:[`lifelines`]},"variant:filled":{description:`Solid background tag`,since:`0.7.0`,usedBy:[`rizomorf`,`lifelines`]},"size:small":{description:`Compact tag for dense layouts`,since:`0.7.0`},"size:medium":{description:`Standard tag size`,since:`0.7.0`}},platforms:{react:{path:`src/components/Tag`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish`},{version:`0.7.0`,type:`added`,description:`Initial Tag and TagGroup components`}]},Tabs:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:underline":{description:`Underline indicator tab bar (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:pills":{description:`Filled pill tabs`,since:`0.3.0`},"size:sm":{description:`Compact tabs for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard tab height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Large touch-friendly tabs`,since:`0.16.0`}},platforms:{react:{path:`src/components/Tabs`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TabList/Tab/TabPanel (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases; JS-measured indicator via ResizeObserver`},{version:`0.11.0`,type:`changed`,description:`Dynamic text scaling — rem tokens for WCAG SC 1.4.4`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Tabs — tabs array, activeTab, onSelectionChange, animated indicator`}]},Terminal:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`DOS window frame with px-based bitmap font sizing — legacy BEM, not migrated to Tailwind-first`,variants:{"size:sm":{description:`Compact 320px window`,since:`0.2.0`},"size:md":{description:`Standard 480px window`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:lg":{description:`Full-width window`,since:`0.2.0`},"state:active":{description:`Focused window with amber title bar`,since:`0.2.0`,usedBy:[`rizomorf`]},"state:inactive":{description:`Unfocused window with dimmed title bar`,since:`0.2.0`},"state:minimized":{description:`Collapsed to title bar only`,since:`0.2.0`}},platforms:{react:{path:`src/components/Terminal`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for window controls`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.14.0`,type:`changed`,description:`Breaking: minimizable/maximizable/closeable default to false — consumers must opt in`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for window controls`},{version:`0.2.0`,type:`added`,description:`Initial Terminal — title bar, window controls, resizable, autoFocus, size/state variants`}]},TimelineNode:{origin:`lifelines`,consumers:[`lifelines`,`rizomorf`],since:`0.4.0`,originNote:`Timeline markers extracted from Lifelines — sits on the axis line, content-box sizing`,variants:{"shape:circle":{description:`Circular node marker (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"shape:square":{description:`Square node marker`,since:`0.4.0`},"shape:diamond":{description:`Diamond (rotated square) node marker`,since:`0.4.0`},"variant:default":{description:`Muted amber node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"variant:primary":{description:`Full-brightness amber node with phosphor glow`,since:`0.4.0`,usedBy:[`lifelines`]},"variant:secondary":{description:`Dimmed node for secondary events`,since:`0.4.0`},"variant:accent":{description:`CGA accent color node`,since:`0.4.0`},"labelPosition:right":{description:`Label to the right of the node (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"labelPosition:left":{description:`Label to the left of the node`,since:`0.4.0`},"labelPosition:top":{description:`Label above the node`,since:`0.4.0`},"labelPosition:bottom":{description:`Label below the node`,since:`0.4.0`},"size:sm":{description:`Compact 8px node`,since:`0.16.0`},"size:md":{description:`Standard 12px node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large 16px node for emphasis`,since:`0.16.0`}},platforms:{react:{path:`src/components/TimelineNode`,status:`canonical`}},changelog:[{version:`0.35.0`,type:`changed`,description:`Pin marker box-sizing to content-box so dots stay on the axis line (DMNC-1090)`},{version:`0.30.0`,type:`changed`,description:`A11y: high-contrast glow gap remediation`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.4.0`,type:`added`,description:`Initial TimelineNode — shape, variant, labelPosition, size, isActive, onClick`}]},InlineExpand:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.7.0`,originNote:`Inline disclosure widget for expanding context within prose — sources with favicon fallback`,platforms:{react:{path:`src/components/InlineExpand`,status:`canonical`}},changelog:[{version:`0.40.0`,type:`changed`,description:`True inline-flow expanded state — marker-pen wrap, trailing collapse control, inline favicon-only sources; conditional render; data-ai-skip on content + legible trigger inside AI-marked prose (DMNC-1316)`},{version:`0.30.0`,type:`changed`,description:`Fix behavioral bugs — double-toggle edge case (DMNC-1063)`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`added`,description:`sources prop — citation links with Google Favicons API fallback`},{version:`0.7.0`,type:`added`,description:`Initial InlineExpand — expanded, defaultExpanded, onToggle, content slot`}]},Separator:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.8.0`,originNote:`Horizontal/vertical divider for content separation — ported from rizomorf`,variants:{"orientation:horizontal":{description:`Full-width horizontal rule (default)`,since:`0.8.0`,usedBy:[`rizomorf`]},"orientation:vertical":{description:`Inline vertical divider for flex/grid rows`,since:`0.8.0`}},platforms:{react:{path:`src/components/Separator`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`added`,description:`Initial Separator — horizontal/vertical orientation, ported from rizomorf`}]},TimelineContainer:{origin:`lifelines`,consumers:[`lifelines`],since:`0.8.0`,originNote:`Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.`,variants:{"mode:interactive":{description:`Full drill-down with keyboard shortcuts and Ctrl+scroll zoom`,since:`0.8.0`,usedBy:[`lifelines`]},"mode:static":{description:`Read-only snapshot — no zoom or selection controls`,since:`0.8.0`},"mode:feed":{description:`Paginated vertical list with LOAD MORE — append-safe`,since:`0.21.0`,usedBy:[`lifelines`]},"mode:master-detail":{description:`Split-pane with list rail + detail panel`,since:`0.34.0`},"sortOrder:asc":{description:`Oldest entries first`,since:`0.8.0`},"sortOrder:desc":{description:`Newest entries first (default)`,since:`0.8.0`,usedBy:[`lifelines`]}},platforms:{react:{path:`src/components/TimelineContainer`,status:`canonical`}},changelog:[{version:`0.34.0`,type:`added`,description:`master-detail layout mode — split-pane list rail + detail panel (DMNC-878)`},{version:`0.21.0`,type:`added`,description:`feed mode — pageSize, onLoadMore, DOS-styled LOAD MORE button`},{version:`0.21.0`,type:`added`,description:`renderEntry prop — pluggable entry renderer with defaultRender() opt-in`},{version:`0.9.0`,type:`changed`,description:`Responsive layout with CSS container queries`},{version:`0.8.0`,type:`added`,description:`Initial TimelineContainer — year/month/day/hour drill-down, migrated from Lifelines`}]},TextScramble:{origin:`eidotter`,consumers:[],since:`0.10.0`,originNote:`DOS text decode effect — rAF-driven character scramble reveal; used by Stat (scramble prop) and standalone`,platforms:{react:{path:`src/components/TextScramble`,status:`canonical`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; adopt cn() and forwardRef`},{version:`0.10.0`,type:`added`,description:`Initial TextScramble — children string, speed, characters, delay; rAF-based reveal`}]},ChatMessage:{origin:`eidotter`,consumers:[],originNote:`Single chat message with role-based DOS styling and streaming cursor`},ChatHistory:{origin:`eidotter`,consumers:[],originNote:`Scrollable message list with auto-scroll and role="log" accessibility`},ChatInput:{origin:`eidotter`,consumers:[],originNote:`Multiline DOS-styled textarea with Enter-to-send`},ChatContainer:{origin:`eidotter`,consumers:[],originNote:`Composes ChatHistory + ChatInput into a complete chat interface`},Header:{origin:`eidotter`,consumers:[],originNote:`Sticky site header composing branding link + Nav — retro/modern variants; optional context row (category badge row + returnTo pill) for cross-site shells (DMNC-1326)`,variants:{"context:categories":{description:`Category badge row below the main row — measurable DOM target (stable eidotter-header__categories / __category classes + data-category-key) for the Mark arm-connector (DMNC-1325)`,since:`0.39.0`},"context:returnTo":{description:`Breadcrumb return pill — same-tab via linkComponent by default; reuseTab navigates via window.open(href, "rizomorf-shell") named-tab reuse`,since:`0.39.0`}},changelog:[{version:`0.39.0`,type:`added`,description:"Optional `context` prop — category badge row + returnTo breadcrumb pill with reuseTab named-tab navigation (DMNC-1326)"},{version:`0.39.0`,type:`changed`,description:`Sanitize brandHref via shared isSafeHref — unsafe schemes fall back to "/" (nav-item links guarded in Nav)`}]},Footer:{origin:`eidotter`,consumers:[],originNote:`DOS-themed footer with default legal links (Impressum + Datenschutz) for German compliance`,changelog:[{version:`0.39.0`,type:`changed`,description:`Sanitize link hrefs via shared isSafeHref — unsafe schemes (javascript:, data:, …) render the label without an anchor`}]},InlineLink:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.20.0`,originNote:"In-flow navigational anchor — dotted amber underline, phosphor-invert hover, trailing `▸` / `↗`. Distinct from InlineExpand (destination vs disclosure). Closes rizomorf parity gap #03.",platforms:{react:{path:`src/components/InlineLink`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`changed`,description:`sanitizeHref now delegates to the shared isSafeHref util (extraSchemes tel/ftp/sms); behavior unchanged`},{version:`0.20.0`,type:`added`,description:`Initial InlineLink — internal + external variants, tabnabbing guard when consumer passes target="_blank"`}]},DosFigure:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.20.0`,originNote:`Demoscene-style painted-screen placeholder (Sierra / LucasArts title-card aesthetic). Amber chrome, 6s scanline sweep, optional annotation pins. Closes rizomorf parity gap #02.`,platforms:{react:{path:`src/components/DosFigure`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial DosFigure — scanline sweep, phosphor flicker, pin pulse; all animations compositor-only and reduced-motion safe`}]},CmdPalette:{origin:`eidotter`,consumers:[],since:`0.20.0`,originNote:`⌘K / Ctrl+K command palette overlay. Built on React Aria ModalOverlay/Modal/Dialog (same primitives as Modal). Generic items + scored search + keyboard navigation.`,platforms:{react:{path:`src/components/CmdPalette`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial CmdPalette — generic items with keywords, mod+k global hotkey, custom renderItem, useId() per-instance DOM ids, selected-clamp on items mutation`}]},ProgressRing:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`16-segment quantized progress ring (SVG). Powers Tracker’s hold-to-complete feedback ring.`,platforms:{react:{path:`src/components/ProgressRing`,status:`canonical`}},changelog:[{version:`0.40.0`,type:`changed`,description:`Add additive decorative prop (aria-hidden, no progressbar role) so Gauge owns meter semantics`},{version:`0.37.0`,type:`added`,description:`Initial ProgressRing — discrete quantized segment arcs, phosphor glow, centre label, currentColor theming`}]},CalendarHeatmap:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.`,platforms:{react:{path:`src/components/CalendarHeatmap`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial CalendarHeatmap — UTC date maths, Monday/Sunday week start, legend, successColor override, glyph overrides`}]},HoldToComplete:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.`,platforms:{react:{path:`src/components/HoldToComplete`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial HoldToComplete — rAF hold animation with accelerating ease, onHoldProgress hook, Enter/Space to complete`}]},Mark:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.39.0`,originNote:`Morphing organic avatar mark (a.k.a. RizomorfAvatar) with runtime-measured quadratic-bezier arm connectors to Header nav badges (DMNC-1325; Header badge row: DMNC-1326).`,variants:{"morph:true":{description:`Border-radius morph loop (~6s ease-in-out), disabled under prefers-reduced-motion`,since:`0.39.0`},"morph:false":{description:`Static organic silhouette`,since:`0.39.0`}},platforms:{react:{path:`src/components/Brand`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial Mark — soft-radial egg-yolk fill + CSS border-radius morph + SVG arm connectors with alternating control-point offsets`}]},Connector:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Organic tapered-ribbon SVG overlay (DMNC-1388) — filled variable-width paths from a source node (the Mark) to N anchors, amber→category gradient, stop-at-edge attach, ResizeObserver/MutationObserver re-flow + rAF idle sway (reduced-motion safe). Decorative/aria-hidden; content lives in the DOM underneath.`,variants:{"weight:delicate":{description:`Thin near-straight product-chrome thread (default)`,since:`0.39.0`},"weight:medium":{description:`Bolder ribbon for large surfaces`,since:`0.39.0`}},platforms:{react:{path:`src/components/Connector`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial Connector — tapered filled-path ribbons, per-target amber→category gradient, attach-at-edge geometry, idle sway`}]},TimelineFeed:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Dense product-grade feed (the "J" layout) — category dot · date · title · outlined kind-tag rows threaded by a thin amber spine, with a category chip row that culls the list. Shares the TimelineEntryData model with TimelineContainer.`,platforms:{react:{path:`src/components/TimelineFeed`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial TimelineFeed — dense category-dotted rows, amber-mono, controllable category filter`}]},TimelinePage:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Bret-Victor-style blog timeline (the "K2" layout) — year-grouped, amber-only spine + dots, neutral dates, big titles + description, right-hand hover preview panel, optional Mark brand slot + category filter. Shares the TimelineEntryData model with TimelineContainer.`,platforms:{react:{path:`src/components/TimelinePage`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial TimelinePage — grouped blog timeline with hover-preview panel and category filter`}]},Gauge:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact gauge`,since:`0.40.0`},"size:md":{description:`Standard gauge`,since:`0.40.0`},"size:lg":{description:`Hero gauge`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"status:ok":{description:`Live value rendered normally`,since:`0.40.0`},"status:loading":{description:`Value is being fetched`,since:`0.40.0`},"status:empty":{description:`No data available`,since:`0.40.0`},"status:stale":{description:`Value is older than expected`,since:`0.40.0`},"status:unknown":{description:`Value could not be determined`,since:`0.40.0`}},platforms:{react:{path:`src/components/Gauge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial Gauge (health metabolism family)`}]},Meter:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"orientation:vertical":{description:`Vertical bar with label beneath`,since:`0.40.0`},"orientation:horizontal":{description:`Horizontal bar with label alongside`,since:`0.40.0`},"size:xs":{description:`Extra-compact meter`,since:`0.40.0`},"size:sm":{description:`Compact meter`,since:`0.40.0`},"size:md":{description:`Standard meter`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"pattern:solid":{description:`Solid fill`,since:`0.40.0`},"pattern:dither":{description:`Dither fill`,since:`0.40.0`},"pattern:hatch":{description:`Hatch fill`,since:`0.40.0`},"pattern:dotted":{description:`Dotted fill`,since:`0.40.0`}},platforms:{react:{path:`src/components/Meter`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial Meter (health metabolism family)`}]},MeterGroup:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"layout:row":{description:`Meters in a single row`,since:`0.40.0`},"layout:grid":{description:`Meters in a wrapping grid`,since:`0.40.0`}},platforms:{react:{path:`src/components/Meter`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial MeterGroup (health metabolism family)`}]},RangeBar:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"orientation:vertical":{description:`Vertical track`,since:`0.40.0`},"orientation:horizontal":{description:`Horizontal track`,since:`0.40.0`},"size:sm":{description:`Compact track`,since:`0.40.0`},"size:md":{description:`Standard track`,since:`0.40.0`},"size:lg":{description:`Large track`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"pattern:none":{description:`No fill pattern`,since:`0.40.0`},"pattern:solid":{description:`Solid fill`,since:`0.40.0`},"pattern:dither":{description:`Dither fill`,since:`0.40.0`},"pattern:hatch":{description:`Hatch fill`,since:`0.40.0`},"pattern:dotted":{description:`Dotted fill`,since:`0.40.0`}},platforms:{react:{path:`src/components/RangeBar`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial RangeBar (health metabolism family)`}]},SeriesBars:{origin:`eidotter`,consumers:[`doctor-portal`],since:`0.40.0`,originNote:`Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern. Intended consumer: doctor-portal (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Short plot`,since:`0.40.0`},"size:md":{description:`Standard plot`,since:`0.40.0`},"size:lg":{description:`Tall plot`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`}},platforms:{react:{path:`src/components/SeriesBars`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial SeriesBars (health metabolism family)`}]},DecayStrip:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact strip`,since:`0.40.0`},"size:md":{description:`Standard strip`,since:`0.40.0`},"size:lg":{description:`Large strip`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading`,since:`0.40.0`},"tone:success":{description:`In-target reading`,since:`0.40.0`},"tone:warning":{description:`Needs attention`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading`,since:`0.40.0`}},platforms:{react:{path:`src/components/DecayStrip`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial DecayStrip (health metabolism family)`}]},VitalsStrip:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact tiles`,since:`0.40.0`},"size:md":{description:`Standard tiles`,since:`0.40.0`},"size:lg":{description:`Large tiles`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading`,since:`0.40.0`},"tone:success":{description:`In-target reading`,since:`0.40.0`},"tone:warning":{description:`Needs attention`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading`,since:`0.40.0`},"status:ok":{description:`Live value rendered normally`,since:`0.40.0`},"status:loading":{description:`Value is being fetched`,since:`0.40.0`},"status:empty":{description:`No data available`,since:`0.40.0`},"status:stale":{description:`Value is older than expected`,since:`0.40.0`},"status:unknown":{description:`Value could not be determined`,since:`0.40.0`}},platforms:{react:{path:`src/components/VitalsStrip`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial VitalsStrip (health metabolism family)`}]}};function xy(e){return by[e]}function Sy(e){return Object.entries(by).filter(([,t])=>t.origin===e).map(([e])=>e)}function Cy(e){return Object.entries(by).filter(([,t])=>t.consumers.includes(e)).map(([e])=>e)}function wy(e,t){let n=by[e];return n?.variants?Object.entries(n.variants).filter(([,e])=>e.usedBy?.includes(t)).map(([e])=>e):[]}function Ty(e){let t=by[e];if(!t?.variants)return{};let n={};for(let[e,r]of Object.entries(t.variants))n[e]=r.usedBy??[];return n}e.AIText=ry,e.AccordionFill=Qp,e.AddressBlock=sy,e.Alert=Xp,e.Badge=ng,e.BrandLockup=Qv,e.Breadcrumb=cg,e.Button=tm,e.CalendarHeatmap=Uh,e.Card=rm,e.ChatContainer=bv,e.ChatHistory=vv,e.ChatInput=yv,e.ChatMessage=_v,e.Checkbox=im,e.ChecklistRow=J_,e.CmdPalette=Yv,e.CommandPrompt=am,e.Connector=zv,e.CopyButton=Y_,e.DatenschutzController=py,e.DatenschutzEncryption=_y,e.DatenschutzFonts=gy,e.DatenschutzHosting=my,e.DatenschutzPostHog=hy,e.DatenschutzRights=vy,e.DecayStrip=Ph,e.DesktopNav=pv,e.DosFigure=Gv,e.EmptyState=Qm,e.FilterBar=z_,e.Footer=Sv,e.Gauge=Vm,e.Header=Ev,e.HoldToComplete=qh,e.Icon=Up,e.ImpressumAddress=cy,e.ImpressumContact=ly,e.ImpressumLiabilityContent=dy,e.ImpressumLiabilityLinks=fy,e.ImpressumResponsible=uy,e.InlineExpand=H_,e.InlineLink=Wv,e.Input=Yh,e.LabeledProgress=uv,e.LedgerRow=lv,e.LegalPage=iy,e.Lightbox=Qg,e.Logo=Xv,e.Mark=ny,e.Meter=Xm,e.MeterGroup=eh,e.MobileNav=mv,e.Modal=k_,e.Nav=hv,e.Notification=Vv,e.Progress=pm,e.ProgressRing=hm,e.RangeBar=dh,e.RetroEffects=pg,e.Section=Zp,e.SectionHeading=K_,e.Select=cv,e.Separator=W_,e.SeriesBars=_h,e.Skeleton=Sm,e.Stat=L_,e.Switch=rg,e.Tabs=$h,e.Tag=d_,e.TagGroup=p_,e.Terminal=Xh,e.TextScramble=dv,e.TimelineContainer=v_,e.TimelineFeed=S_,e.TimelineNode=vg,e.TimelinePage=O_,e.VitalsStrip=Ch,e.Wordmark=Zv,e.ZOOM_LEVELS=yg,e.componentRegistry=by,e.defaultLegalLinks=xv,e.getComponentMeta=xy,e.getComponentsByConsumer=Cy,e.getComponentsByOrigin=Sy,e.getVariantConsumerMap=Ty,e.getVariantsUsedBy=wy,e.isSafeHref=og,e.isSafeUrl=B_,e.projects=yy,e.useTextScramble=M_,e.version=`0.40.1`});
11
+ }`,document.head.prepend(i);let o=e=>{if(!(e.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},s=e=>{let t=K(e),n=e.relatedTarget;n&&jt(n)?(n.focus({preventScroll:!0}),Ec(n,jt(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},c=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=G(),n=t!=null&&jt(t);c.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&Ec(this,n)};let l=m(Tc(document,`touchstart`,r,{passive:!1,capture:!0}),Tc(document,`touchmove`,o,{passive:!1,capture:!0}),Tc(document,`blur`,s,!0));return()=>{e(),l(),i.remove(),HTMLElement.prototype.focus=c}}function wc(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Tc(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Ec(e,t){t||!vc?Dc(e):vc.addEventListener(`resize`,()=>Dc(e),{once:!0})}function Dc(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=pi(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;vc&&(n=Math.min(n,vc.offsetTop+vc.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function Oc(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=_c({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:m,placement:h,triggerAnchorPoint:g}=dc({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null});return xc({isDisabled:a||!t.isOpen}),(0,p.useEffect)(()=>{if(t.isOpen&&r.current)return a?Ls(i?.current??r.current):Is([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]),{popoverProps:I(u,f),arrowProps:m,underlayProps:d,placement:h,triggerAnchorPoint:g}}var kc={};kc={dismiss:`تجاهل`};var Ac={};Ac={dismiss:`Отхвърляне`};var jc={};jc={dismiss:`Odstranit`};var Mc={};Mc={dismiss:`Luk`};var Nc={};Nc={dismiss:`Schließen`};var Pc={};Pc={dismiss:`Απόρριψη`};var Fc={};Fc={dismiss:`Dismiss`};var Ic={};Ic={dismiss:`Descartar`};var Lc={};Lc={dismiss:`Lõpeta`};var Rc={};Rc={dismiss:`Hylkää`};var zc={};zc={dismiss:`Rejeter`};var Bc={};Bc={dismiss:`התעלם`};var Vc={};Vc={dismiss:`Odbaci`};var Hc={};Hc={dismiss:`Elutasítás`};var Uc={};Uc={dismiss:`Ignora`};var Wc={};Wc={dismiss:`閉じる`};var Gc={};Gc={dismiss:`무시`};var Kc={};Kc={dismiss:`Atmesti`};var qc={};qc={dismiss:`Nerādīt`};var Jc={};Jc={dismiss:`Lukk`};var Yc={};Yc={dismiss:`Negeren`};var Xc={};Xc={dismiss:`Zignoruj`};var Zc={};Zc={dismiss:`Descartar`};var Qc={};Qc={dismiss:`Dispensar`};var $c={};$c={dismiss:`Revocare`};var el={};el={dismiss:`Пропустить`};var tl={};tl={dismiss:`Zrušiť`};var nl={};nl={dismiss:`Opusti`};var rl={};rl={dismiss:`Odbaci`};var il={};il={dismiss:`Avvisa`};var al={};al={dismiss:`Kapat`};var ol={};ol={dismiss:`Скасувати`};var sl={};sl={dismiss:`取消`};var cl={};cl={dismiss:`關閉`};var ll={};ll={"ar-AE":kc,"bg-BG":Ac,"cs-CZ":jc,"da-DK":Mc,"de-DE":Nc,"el-GR":Pc,"en-US":Fc,"es-ES":Ic,"et-EE":Lc,"fi-FI":Rc,"fr-FR":zc,"he-IL":Bc,"hr-HR":Vc,"hu-HU":Hc,"it-IT":Uc,"ja-JP":Wc,"ko-KR":Gc,"lt-LT":Kc,"lv-LV":qc,"nb-NO":Jc,"nl-NL":Yc,"pl-PL":Xc,"pt-BR":Zc,"pt-PT":Qc,"ro-RO":$c,"ru-RU":el,"sk-SK":tl,"sl-SI":nl,"sr-SP":rl,"sv-SE":il,"tr-TR":al,"uk-UA":ol,"zh-CN":sl,"zh-TW":cl};function ul(e){return e&&e.__esModule?e.default:e}function dl(e){let{onDismiss:t,...n}=e,r=Ft(n,on(ul(ll),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return p.default.createElement(Si,null,p.default.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function fl({children:e}){let t=(0,p.useMemo)(()=>({register:()=>{}}),[]);return p.default.createElement(br.Provider,{value:t},e)}var pl=(0,p.createContext)({});function ml(){return(0,p.useContext)(pl)??{}}var hl=p.default.createContext(null);function gl(e){let t=O(),{portalContainer:r=t?null:document.body,isExiting:i}=e,[a,o]=(0,p.useState)(!1),s=(0,p.useMemo)(()=>({contain:a,setContain:o}),[a,o]),{getContainer:c}=ml();if(!e.portalContainer&&c&&(r=c()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=p.default.createElement(io,{restoreFocus:!0,contain:(e.shouldContainFocus||a)&&!i},l)),l=p.default.createElement(hl.Provider,{value:s},p.default.createElement(fl,null,l)),n.default.createPortal(l,r)}function _l(){let e=(0,p.useContext)(hl)?.setContain;h(()=>{e?.(!0)},[e])}function vl(e){let[t,n]=cn(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,p.useCallback)(()=>{n(!0)},[n]),close:(0,p.useCallback)(()=>{n(!1)},[n]),toggle:(0,p.useCallback)(()=>{n(!t)},[n,t])}}function yl(e,t=!0){let[n,r]=(0,p.useState)(!0),i=n&&t;return h(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),xl(e,i,(0,p.useCallback)(()=>r(!1),[])),i}function bl(e,t){let[n,r]=(0,p.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`);break}let i=n===`exiting`;return xl(e,i,(0,p.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function xl(e,t,r){h(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){r();return}let t=e.current.getAnimations();if(t.length===0){r();return}let i=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{i||(0,n.flushSync)(()=>{r()})}),()=>{i=!0}}},[e,t,r])}var Sl=(0,p.createContext)(null),Cl=(0,p.createContext)(null),wl=(0,p.forwardRef)(function(e,t){[e,t]=V(e,t,Sl);let n=(0,p.useContext)(fu),r=vl(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=bl(t,i.isOpen)||e.isExiting||!1,o=Rn(),{direction:s}=Kt();if(o){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),p.default.createElement(p.default.Fragment,null,t)}return i&&!i.isOpen&&!a?null:p.default.createElement(Tl,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:a,dir:s})});function Tl({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,p.useRef)(null),o=(0,p.useRef)(null),s=(0,p.useContext)(Cl),c=s&&i.trigger===`SubmenuTrigger`,{popoverProps:l,underlayProps:u,arrowProps:d,placement:f,triggerAnchorPoint:m}=Oc({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),g=i.popoverRef,_=yl(g,!!f)||i.isEntering||!1,v=z({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:f,isEntering:_,isExiting:t}}),y=!i.isNonModal||i.trigger===`SubmenuTrigger`,[b,x]=(0,p.useState)(!1);h(()=>{g.current&&x(y&&!g.current.querySelector(`[role=dialog]`))},[g,y]),(0,p.useEffect)(()=>{b&&(i.trigger!==`SubmenuTrigger`||wt()!==`pointer`)&&g.current&&!ge(g.current)&&Dn(g.current)},[b,g,i.trigger]);let S=(0,p.useMemo)(()=>{let e=v.children;if(r)for(let t of r)e=p.default.createElement(t.Provider,{value:null},e);return e},[v.children,r]),[C,w]=(0,p.useState)(null),T=(0,p.useCallback)(()=>{i.triggerRef.current&&w(i.triggerRef.current.getBoundingClientRect().width+`px`)},[i.triggerRef]);h(T,[T]),lc({ref:v.style?.[`--trigger-width`]?void 0:i.triggerRef,onResize:T});let E={...l.style,"--trigger-anchor-point":m?`${m.x}px ${m.y}px`:void 0,...v.style,"--trigger-width":v.style?.[`--trigger-width`]||C},D=p.default.createElement(H.div,{...I(q(i,{global:!0}),l),...v,role:b?`dialog`:void 0,tabIndex:b?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:g,slot:i.slot||void 0,style:E,dir:i.dir,"data-trigger":i.trigger,"data-placement":f,"data-entering":_||void 0,"data-exiting":t||void 0},!i.isNonModal&&p.default.createElement(dl,{onDismiss:e.close}),p.default.createElement(js.Provider,{value:{...d,placement:f,ref:a}},S),p.default.createElement(dl,{onDismiss:e.close}));return c?p.default.createElement(gl,{...i,shouldContainFocus:b,isExiting:t,portalContainer:n??s?.current??void 0},D):p.default.createElement(gl,{...i,shouldContainFocus:b,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&p.default.createElement(`div`,{"data-testid":`underlay`,...u,style:{position:`fixed`,inset:0}}),p.default.createElement(`div`,{ref:o,style:{display:`contents`}},p.default.createElement(Cl.Provider,{value:o},D)))}var El={};El={longPressMessage:`اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`};var Dl={};Dl={longPressMessage:`Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто`};var Ol={};Ol={longPressMessage:`Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku`};var kl={};kl={longPressMessage:`Langt tryk eller tryk på Alt + pil ned for at åbne menuen`};var Al={};Al={longPressMessage:`Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen`};var jl={};jl={longPressMessage:`Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού`};var Ml={};Ml={longPressMessage:`Long press or press Alt + ArrowDown to open menu`};var Nl={};Nl={longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú`};var Pl={};Pl={longPressMessage:`Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool`};var Fl={};Fl={longPressMessage:`Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli`};var Il={};Il={longPressMessage:`Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu.`};var Ll={};Ll={longPressMessage:`לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט`};var Rl={};Rl={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`};var zl={};zl={longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához`};var Bl={};Bl={longPressMessage:`Premi a lungo o premi Alt + Freccia giù per aprire il menu`};var Vl={};Vl={longPressMessage:`長押しまたは Alt+下矢印キーでメニューを開く`};var Hl={};Hl={longPressMessage:`길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기`};var Ul={};Ul={longPressMessage:`Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“.`};var Wl={};Wl={longPressMessage:`Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa`};var Gl={};Gl={longPressMessage:`Langt trykk eller trykk Alt + PilNed for å åpne menyen`};var Kl={};Kl={longPressMessage:`Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`};var ql={};ql={longPressMessage:`Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu`};var Jl={};Jl={longPressMessage:`Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`};var Yl={};Yl={longPressMessage:`Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`};var Xl={};Xl={longPressMessage:`Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul`};var Zl={};Zl={longPressMessage:`Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню`};var Ql={};Ql={longPressMessage:`Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol`};var $l={};$l={longPressMessage:`Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol`};var eu={};eu={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`};var tu={};tu={longPressMessage:`Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn`};var nu={};nu={longPressMessage:`Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın`};var ru={};ru={longPressMessage:`Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню`};var iu={};iu={longPressMessage:`长按或按 Alt + 向下方向键以打开菜单`};var au={};au={longPressMessage:`長按或按 Alt+向下鍵以開啟功能表`};var ou={};ou={"ar-AE":El,"bg-BG":Dl,"cs-CZ":Ol,"da-DK":kl,"de-DE":Al,"el-GR":jl,"en-US":Ml,"es-ES":Nl,"et-EE":Pl,"fi-FI":Fl,"fr-FR":Il,"he-IL":Ll,"hr-HR":Rl,"hu-HU":zl,"it-IT":Bl,"ja-JP":Vl,"ko-KR":Hl,"lt-LT":Ul,"lv-LV":Wl,"nb-NO":Gl,"nl-NL":Kl,"pl-PL":ql,"pt-BR":Jl,"pt-PT":Yl,"ro-RO":Xl,"ru-RU":Zl,"sk-SK":Ql,"sl-SI":$l,"sr-SP":eu,"sv-SE":tu,"tr-TR":nu,"uk-UA":ru,"zh-CN":iu,"zh-TW":au};function su(e,t,n){let{type:r}=e,{isOpen:i}=t;(0,p.useEffect)(()=>{n&&n.current&&oc.set(n.current,t.close)});let a;r===`menu`?a=!0:r===`listbox`&&(a=`listbox`);let o=N();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}function cu(e){return e&&e.__esModule?e.default:e}function lu(e,t,n){let{type:r=`menu`,isDisabled:i,trigger:a=`press`}=e,o=N(),{triggerProps:s,overlayProps:c}=su({type:r},t,n),l=e=>{if(!i&&!(a===`longPress`&&!e.altKey)&&n&&n.current)switch(e.key){case`Enter`:case` `:if(a===`longPress`||e.isDefaultPrevented())return;case`ArrowDown`:`continuePropagation`in e||e.stopPropagation(),e.preventDefault(),t.toggle(`first`);break;case`ArrowUp`:`continuePropagation`in e||e.stopPropagation(),e.preventDefault(),t.toggle(`last`);break;default:`continuePropagation`in e&&e.continuePropagation()}},u=on(cu(ou),`@react-aria/menu`),{longPressProps:d}=Ko({isDisabled:i||a!==`longPress`,accessibilityDescription:u.format(`longPressMessage`),onLongPressStart(){t.close()},onLongPress(){t.open(`first`)}}),f={preventFocusOnPress:!0,onPressStart(e){e.pointerType!==`touch`&&e.pointerType!==`keyboard`&&!i&&(xe(e.target),t.open(e.pointerType===`virtual`?`first`:null))},onPress(e){e.pointerType===`touch`&&!i&&(xe(e.target),t.toggle())}};return delete s.onPress,{menuTriggerProps:{...s,...a===`press`?f:d,id:o,onKeyDown:l},menuProps:{...c,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function uu(e,t){let{role:n=`dialog`}=e,r=P();r=e[`aria-label`]?void 0:r;let i=(0,p.useRef)(!1);(0,p.useEffect)(()=>{if(t.current&&!ge(t.current)){Dn(t.current);let e=setTimeout(()=>{(G()===t.current||G()===document.body)&&(i.current=!0,t.current&&(t.current.blur(),Dn(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),_l();let a=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{if(process.env.NODE_ENV!==`production`&&!a.current&&t.current){let e=t.current,n=e.hasAttribute(`aria-label`),r=e.hasAttribute(`aria-labelledby`);!n&&!r&&(console.warn(`A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog.`),a.current=!0)}}),{dialogProps:{...q(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}var du=(0,p.createContext)(null),fu=(0,p.createContext)(null),pu=(0,p.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=V(e,t,du);let{dialogProps:r,titleProps:i}=uu({...e,"aria-labelledby":n},t),a=(0,p.useContext)(fu);!r[`aria-label`]&&!r[`aria-labelledby`]&&(e[`aria-labelledby`]?r[`aria-labelledby`]=e[`aria-labelledby`]:process.env.NODE_ENV!==`production`&&console.warn(`If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.`));let o=z({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:a?.close||(()=>{})}}),s=q(e,{global:!0});return p.default.createElement(H.section,{...I(s,o,r),render:e.render,ref:t,slot:e.slot||void 0},p.default.createElement(ie,{values:[[ci,{slots:{[R]:{},title:{...i,level:2}}}],[ai,{slots:{[R]:{},close:{onPress:()=>a?.close()}}}]]},o.children))}),mu={};mu={buttonLabel:`عرض المقترحات`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{627}\u{644}\u{645}\u{62C}\u{645}\u{648}\u{639}\u{629} \u{627}\u{644}\u{645}\u{62F}\u{62E}\u{644}\u{629} ${e.groupTitle}, \u{645}\u{639} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, محدد`,other:``},e.isSelected)}`,listboxLabel:`مقترحات`,selectedAnnouncement:e=>`${e.optionText}\u{60C} \u{645}\u{62D}\u{62F}\u{62F}`};var hu={};hu={buttonLabel:`Покажи предложения`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})} \u{43D}\u{430} \u{440}\u{430}\u{437}\u{43F}\u{43E}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{435}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{44A}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, избрани`,other:``},e.isSelected)}`,listboxLabel:`Предложения`,selectedAnnouncement:e=>`${e.optionText}, \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`};var gu={};gu={buttonLabel:`Zobrazit doporučení`,countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} mo\u{17E}nost`,other:()=>`jsou/je ${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina \u{201E}${e.groupTitle}\u{201C} ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} mo\u{17E}nost\xed`,other:()=>`se ${t.number(e.groupCount)} mo\u{17E}nostmi`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:` (vybráno)`,other:``},e.isSelected)}`,listboxLabel:`Návrhy`,selectedAnnouncement:e=>`${e.optionText}, vybr\xe1no`};var _u={};_u={buttonLabel:`Vis forslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xe6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xe6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valgt`,other:``},e.isSelected)}`,listboxLabel:`Forslag`,selectedAnnouncement:e=>`${e.optionText}, valgt`};var vu={};vu={buttonLabel:`Empfehlungen anzeigen`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xfcgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, ausgewählt`,other:``},e.isSelected)}`,listboxLabel:`Empfehlungen`,selectedAnnouncement:e=>`${e.optionText}, ausgew\xe4hlt`};var yu={};yu={buttonLabel:`Προβολή προτάσεων`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2} `})} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B5}\u{3C2}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3BF}\u{3BC}\u{3AC}\u{3B4}\u{3B1} ${e.groupTitle}, \u{3BC}\u{3B5} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, επιλεγμένο`,other:``},e.isSelected)}`,listboxLabel:`Προτάσεις`,selectedAnnouncement:e=>`${e.optionText}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5}`};var bu={};bu={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selected`,other:``},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:`Show suggestions`,listboxLabel:`Suggestions`};var xu={};xu={buttonLabel:`Mostrar sugerencias`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xf3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xf3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, seleccionado`,other:``},e.isSelected)}`,listboxLabel:`Sugerencias`,selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Su={};Su={buttonLabel:`Kuva soovitused`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud r\xfchm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valitud`,other:``},e.isSelected)}`,listboxLabel:`Soovitused`,selectedAnnouncement:e=>`${e.optionText}, valitud`};var Cu={};Cu={buttonLabel:`Näytä ehdotukset`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xe4\xe4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valittu`,other:``},e.isSelected)}`,listboxLabel:`Ehdotukset`,selectedAnnouncement:e=>`${e.optionText}, valittu`};var wu={};wu={buttonLabel:`Afficher les suggestions`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, sélectionné(s)`,other:``},e.isSelected)}`,listboxLabel:`Suggestions`,selectedAnnouncement:e=>`${e.optionText}, s\xe9lectionn\xe9`};var Tu={};Tu={buttonLabel:`הצג הצעות`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})} \u{5D1}\u{5DE}\u{5E6}\u{5D1} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5E0}\u{5DB}\u{5E0}\u{5E1} \u{5DC}\u{5E7}\u{5D1}\u{5D5}\u{5E6}\u{5D4} ${e.groupTitle}, \u{5E2}\u{5DD} ${t.plural(e.groupCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, נבחר`,other:``},e.isSelected)}`,listboxLabel:`הצעות`,selectedAnnouncement:e=>`${e.optionText}, \u{5E0}\u{5D1}\u{5D7}\u{5E8}`};var Eu={};Eu={buttonLabel:`Prikaži prijedloge`,countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, odabranih`,other:``},e.isSelected)}`,listboxLabel:`Prijedlozi`,selectedAnnouncement:e=>`${e.optionText}, odabrano`};var Du={};Du={buttonLabel:`Javaslatok megjelenítése`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`,other:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`})} \xe1ll rendelkez\xe9sre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Bel\xe9pett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`,other:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`})} tartalmaz. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, kijelölve`,other:``},e.isSelected)}`,listboxLabel:`Javaslatok`,selectedAnnouncement:e=>`${e.optionText}, kijel\xf6lve`};var Ou={};Ou={buttonLabel:`Mostra suggerimenti`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selezionato`,other:``},e.isSelected)}`,listboxLabel:`Suggerimenti`,selectedAnnouncement:e=>`${e.optionText}, selezionato`};var ku={};ku={buttonLabel:`候補を表示`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{5229}\u{7528}\u{3067}\u{304D}\u{307E}\u{3059}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5165}\u{529B}\u{3055}\u{308C}\u{305F}\u{30B0}\u{30EB}\u{30FC}\u{30D7} ${e.groupTitle}\u{3001}${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{542B}\u{3080}\u{3002}`,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`、選択済み`,other:``},e.isSelected)}`,listboxLabel:`候補`,selectedAnnouncement:e=>`${e.optionText}\u{3001}\u{9078}\u{629E}\u{6E08}\u{307F}`};var Au={};Au={buttonLabel:`제안 사항 표시`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`})}\u{C744} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C788}\u{C2B5}\u{B2C8}\u{B2E4}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{C785}\u{B825}\u{D55C} \u{ADF8}\u{B8F9} ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 선택됨`,other:``},e.isSelected)}`,listboxLabel:`제안`,selectedAnnouncement:e=>`${e.optionText}, \u{C120}\u{D0DD}\u{B428}`};var ju={};ju={buttonLabel:`Rodyti pasiūlymus`,countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-i\u{173})`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{12E}vesta grup\u{117} ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-i\u{173})`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, pasirinkta`,other:``},e.isSelected)}`,listboxLabel:`Pasiūlymai`,selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var Mu={};Mu={buttonLabel:`Rādīt ieteikumus`,countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievad\u{12B}ta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcij\u{101}m`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, atlasīta`,other:``},e.isSelected)}`,listboxLabel:`Ieteikumi`,selectedAnnouncement:e=>`${e.optionText}, atlas\u{12B}ta`};var Nu={};Nu={buttonLabel:`Vis forslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valgt`,other:``},e.isSelected)}`,listboxLabel:`Forslag`,selectedAnnouncement:e=>`${e.optionText}, valgt`};var Pu={};Pu={buttonLabel:`Suggesties weergeven`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, geselecteerd`,other:``},e.isSelected)}`,listboxLabel:`Suggesties`,selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Fu={};Fu={buttonLabel:`Wyświetlaj sugestie`,countAnnouncement:(e,t)=>`dost\u{119}pna/dost\u{119}pne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Do\u{142}\u{105}czono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcj\u{105}`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, wybrano`,other:``},e.isSelected)}`,listboxLabel:`Sugestie`,selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Iu={};Iu={buttonLabel:`Mostrar sugestões`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selecionado`,other:``},e.isSelected)}`,listboxLabel:`Sugestões`,selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Lu={};Lu={buttonLabel:`Apresentar sugestões`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selecionado`,other:``},e.isSelected)}`,listboxLabel:`Sugestões`,selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Ru={};Ru={buttonLabel:`Afișare sugestii`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\u{21B}iune`,other:()=>`${t.number(e.optionCount)} op\u{21B}iuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\u{21B}iune`,other:()=>`${t.number(e.groupCount)} op\u{21B}iuni`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, selectat`,other:``},e.isSelected)}`,listboxLabel:`Sugestii`,selectedAnnouncement:e=>`${e.optionText}, selectat`};var zu={};zu={buttonLabel:`Показать предложения`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{432}`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{43D}\u{430}\u{44F} \u{433}\u{440}\u{443}\u{43F}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{43C}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{430}\u{43C}\u{438}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, выбранными`,other:``},e.isSelected)}`,listboxLabel:`Предложения`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`};var Bu={};Bu={buttonLabel:`Zobraziť návrhy`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mo\u{17E}nos\u{165}`,other:()=>`${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})} k dispoz\xedcii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ou`,other:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ami`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, vybraté`,other:``},e.isSelected)}`,listboxLabel:`Návrhy`,selectedAnnouncement:e=>`${e.optionText}, vybrat\xe9`};var Vu={};Vu={buttonLabel:`Prikaži predloge`,countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, izbrano`,other:``},e.isSelected)}`,listboxLabel:`Predlogi`,selectedAnnouncement:e=>`${e.optionText}, izbrano`};var Hu={};Hu={buttonLabel:`Prikaži predloge`,countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, izabranih`,other:``},e.isSelected)}`,listboxLabel:`Predlozi`,selectedAnnouncement:e=>`${e.optionText}, izabrano`};var Uu={};Uu={buttonLabel:`Visa förslag`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xe4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, valda`,other:``},e.isSelected)}`,listboxLabel:`Förslag`,selectedAnnouncement:e=>`${e.optionText}, valda`};var Wu={};Wu={buttonLabel:`Önerileri göster`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} se\xe7enek`,other:()=>`${t.number(e.optionCount)} se\xe7enekler`})} kullan\u{131}labilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} se\xe7enek`,other:()=>`${t.number(e.groupCount)} se\xe7enekler`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, seçildi`,other:``},e.isSelected)}`,listboxLabel:`Öneriler`,selectedAnnouncement:e=>`${e.optionText}, se\xe7ildi`};var Gu={};Gu={buttonLabel:`Показати пропозиції`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{437} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, вибрано`,other:``},e.isSelected)}`,listboxLabel:`Пропозиції`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`};var Ku={};Ku={buttonLabel:`显示建议`,countAnnouncement:(e,t)=>`\u{6709} ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`})}\u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8FDB}\u{5165}\u{4E86} ${e.groupTitle} \u{7EC4}\u{FF0C}\u{5176}\u{4E2D}\u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 已选择`,other:``},e.isSelected)}`,listboxLabel:`建议`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9009}\u{62E9}`};var qu={};qu={buttonLabel:`顯示建議`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`})} \u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8F38}\u{5165}\u{7684}\u{7FA4}\u{7D44} ${e.groupTitle}, \u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`})}. `,other:``},e.isGroupChange)}${e.optionText}${t.select({true:`, 已選取`,other:``},e.isSelected)}`,listboxLabel:`建議`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9078}\u{53D6}`};var Ju={};Ju={"ar-AE":mu,"bg-BG":hu,"cs-CZ":gu,"da-DK":_u,"de-DE":vu,"el-GR":yu,"en-US":bu,"es-ES":xu,"et-EE":Su,"fi-FI":Cu,"fr-FR":wu,"he-IL":Tu,"hr-HR":Eu,"hu-HU":Du,"it-IT":Ou,"ja-JP":ku,"ko-KR":Au,"lt-LT":ju,"lv-LV":Mu,"nb-NO":Nu,"nl-NL":Pu,"pl-PL":Fu,"pt-BR":Iu,"pt-PT":Lu,"ro-RO":Ru,"ru-RU":zu,"sk-SK":Bu,"sl-SI":Vu,"sr-SP":Hu,"sv-SE":Uu,"tr-TR":Wu,"uk-UA":Gu,"zh-CN":Ku,"zh-TW":qu};function Yu(e){return e&&e.__esModule?e.default:e}function Xu(e,t){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:a,keyboardDelegate:o,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:l,isDisabled:u}=e,d=(0,p.useRef)(null);n??=d;let f=on(Yu(Ju),`@react-aria/combobox`),{menuTriggerProps:h,menuProps:g}=lu({type:`listbox`,isDisabled:u||l},t,n);Za.set(t,{id:g.id});let{collection:_}=t,{disabledKeys:v}=t.selectionManager,y=(0,p.useMemo)(()=>o||new Bo({collection:_,disabledKeys:v,ref:a,layoutDelegate:s}),[o,s,_,v,a]),{collectionProps:b}=Ro({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:i,isVirtualized:!0}),x=nt(),S=n=>{if(!n.nativeEvent.isComposing)switch(n.key){case`Enter`:case`Tab`:if(t.isOpen&&n.key===`Enter`&&n.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null){let e=t.collection.getItem(t.selectionManager.focusedKey);if(e?.props.href){let r=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);n.key===`Enter`&&r instanceof HTMLAnchorElement&&x.open(r,n,e.props.href,e.props.routerOptions),t.close();break}else if(e?.props.onAction){e.props.onAction(),t.close();break}}(n.key===`Enter`||t.isOpen)&&t.commit(),n.key===`Tab`&&n.continuePropagation();break;case`Escape`:(!t.selectionManager.isEmpty||t.inputValue===``||e.allowsCustomValue)&&n.continuePropagation(),t.revert();break;case`ArrowDown`:t.open(`first`,`manual`);break;case`ArrowUp`:t.open(`last`,`manual`);break;case`ArrowLeft`:case`ArrowRight`:t.selectionManager.setFocusedKey(null);break}},C=i=>{let a=n?.current&&n.current===i.relatedTarget,o=W(r.current,i.relatedTarget);a||o||(e.onBlur&&e.onBlur(i),t.setFocused(!1))},w=n=>{t.isFocused||(e.onFocus&&e.onFocus(n),t.setFocused(!0))},T=Zu([t.selectionManager.selectedKeys,t.selectionManager.selectionMode]),{isInvalid:E,validationErrors:D,validationDetails:O}=t.displayValidation,{labelProps:k,inputProps:A,descriptionProps:j,errorMessageProps:M}=aa({...e,isRequired:e.selectionMode===`multiple`?e.isRequired&&t.selectionManager.isEmpty:e.isRequired,onChange:t.setInputValue,onKeyDown:l?e.onKeyDown:m(t.isOpen&&b.onKeyDown,S,e.onKeyDown),onBlur:C,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:w,autoComplete:`off`,validate:void 0,[Oi]:t,"aria-describedby":[T,e[`aria-describedby`]].filter(Boolean).join(` `)||void 0},i);Ri(i,t.defaultValue,t.setValue);let N=e=>{e.pointerType===`touch`&&(i.current?.focus(),t.toggle(null,`manual`))},ee=e=>{e.pointerType!==`touch`&&(i.current?.focus(),t.toggle(e.pointerType===`keyboard`||e.pointerType===`virtual`?`first`:null,`manual`))},P=Ft({id:h.id,"aria-label":f.format(`buttonLabel`),"aria-labelledby":e[`aria-labelledby`]||k.id}),F=Ft({id:g.id,"aria-label":f.format(`listboxLabel`),"aria-labelledby":e[`aria-labelledby`]||k.id}),te=(0,p.useRef)(0),ne=e=>{if(u||l)return;if(e.timeStamp-te.current<500){e.preventDefault(),i.current?.focus();return}let n=K(e).getBoundingClientRect(),r=e.changedTouches[0],a=Math.ceil(n.left+.5*n.width),o=Math.ceil(n.top+.5*n.height);r.clientX===a&&r.clientY===o&&(e.preventDefault(),i.current?.focus(),t.toggle(null,`manual`),te.current=e.timeStamp)},re=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,L=re?.parentKey??null,R=t.selectionManager.focusedKey??null,ie=(0,p.useRef)(L),z=(0,p.useRef)(R);(0,p.useEffect)(()=>{if(Je()&&re!=null&&R!=null&&R!==z.current){let e=t.selectionManager.isSelected(R),n=L==null?null:t.collection.getItem(L),r=n?.[`aria-label`]||(typeof n?.rendered==`string`?n.rendered:``)||``;ni(f.format(`focusAnnouncement`,{isGroupChange:(n&&L!==ie.current)??!1,groupTitle:r,groupCount:n?[...Xo(n,t.collection)].length:0,optionText:re[`aria-label`]||re.textValue||``,isSelected:e}))}ie.current=L,z.current=R});let B=ns(t.collection),V=(0,p.useRef)(B),ae=(0,p.useRef)(t.isOpen);(0,p.useEffect)(()=>{let e=t.isOpen!==ae.current&&(t.selectionManager.focusedKey==null||Je());t.isOpen&&(e||B!==V.current)&&ni(f.format(`countAnnouncement`,{optionCount:B})),V.current=B,ae.current=t.isOpen});let oe=(0,p.useRef)(t.selectedKey);return(0,p.useEffect)(()=>{if(Je()&&t.isFocused&&t.selectedItem&&t.selectedKey!==oe.current){let e=t.selectedItem[`aria-label`]||t.selectedItem.textValue||``;ni(f.format(`selectedAnnouncement`,{optionText:e}))}oe.current=t.selectedKey}),(0,p.useEffect)(()=>{if(t.isOpen)return Is([i.current,r.current].filter(e=>e!=null))},[t.isOpen,i,r]),di(()=>{!re&&i.current&&G(U(i.current))===i.current&&ye(i.current,null)},[re]),Pt(a,`react-aria-item-action`,t.isOpen?()=>{t.close()}:void 0),{labelProps:k,buttonProps:{...h,...P,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:N,onPressStart:ee,isDisabled:u||l},inputProps:I(A,{role:`combobox`,"aria-expanded":h[`aria-expanded`],"aria-controls":t.isOpen?g.id:void 0,"aria-autocomplete":`list`,"aria-activedescendant":re?$a(t,re.key):void 0,onTouchEnd:ne,autoCorrect:`off`,spellCheck:`false`}),listBoxProps:I(g,F,{onAction:void 0,autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:`selection`,UNSTABLE_itemBehavior:`action`}),valueProps:{id:T},descriptionProps:j,errorMessageProps:M,isInvalid:E,validationErrors:D,validationDetails:O}}function Zu(e=[]){let t=N(),[n,r]=(0,p.useState)(!0),[i,a]=(0,p.useState)(e);return i.some((t,n)=>!Object.is(t,e[n]))&&(r(!0),a(e)),(0,p.useEffect)(()=>{n&&!document.getElementById(t)&&r(!1)},[t,n,i]),n?t:void 0}function Qu(e){let{defaultFilter:t,menuTrigger:n=`input`,allowsEmptyCollection:r=!1,allowsCustomValue:i,shouldCloseOnBlur:a=!0,selectionMode:o=`single`}=e,[s,c]=(0,p.useState)(!1),[l,u]=(0,p.useState)(!1),[d,f]=(0,p.useState)(null),m=(0,p.useMemo)(()=>e.defaultValue===void 0?o===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,o]),h=(0,p.useMemo)(()=>e.value===void 0?o===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,o]),[g,_]=cn(h,m,e.onChange),v=o===`single`&&Array.isArray(g)?g[0]:g,y=t=>{if(o===`single`){let n=Array.isArray(t)?t[0]??null:t;_(n),n!==v&&e.onSelectionChange?.(n)}else{let e=[];Array.isArray(t)?e=t:t!=null&&(e=[t]),_(e)}},{collection:b,selectionManager:x,disabledKeys:S}=_s({...e,items:e.items??e.defaultItems,selectionMode:o,disallowEmptySelection:o===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,p.useMemo)(()=>nd(v),[v]),onSelectionChange:t=>{if(t!==`all`)if(o===`single`){let n=t.values().next().value??null;n===v?(e.onSelectionChange?.(n),ie(),I()):y(n)}else y([...t])}}),C=o===`single`?x.firstSelectedKey:null,w=(0,p.useMemo)(()=>[...x.selectedKeys].map(e=>b.getItem(e)).filter(e=>e!=null),[x.selectedKeys,b]),[T,E]=cn(e.inputValue,td(e.defaultInputValue,C,b)||``,e.onInputChange),[D]=(0,p.useState)(v),[O]=(0,p.useState)(T),k=b,A=(0,p.useMemo)(()=>e.items!=null||!t?b:$u(b,T,t),[b,T,t,e.items]),[j,M]=(0,p.useState)(A),N=(0,p.useRef)(`focus`),ee=t=>{e.onOpenChange&&e.onOpenChange(t,t?N.current:void 0),x.setFocused(t),t||x.setFocusedKey(null)},P=vl({...e,onOpenChange:ee,isOpen:void 0,defaultOpen:void 0}),F=(t=null,i)=>{let a=i===`manual`||i===`focus`&&n===`focus`;(r||A.size>0||a&&k.size>0||e.items)&&(a&&!P.isOpen&&e.items===void 0&&c(!0),N.current=i,f(t),P.open())},te=(t=null,i)=>{let a=i===`manual`||i===`focus`&&n===`focus`;!(r||A.size>0||a&&k.size>0||e.items)&&!P.isOpen||(a&&!P.isOpen&&e.items===void 0&&c(!0),P.isOpen||(N.current=i),re(t))},ne=(0,p.useCallback)(()=>{M(s?k:A)},[s,k,A]),re=(0,p.useCallback)((e=null)=>{P.isOpen&&ne(),f(e),P.toggle()},[P,ne]),I=(0,p.useCallback)(()=>{P.isOpen&&(ne(),P.close())},[P,ne]),[L,R]=(0,p.useState)(T),ie=()=>{let e=C==null?``:b.getItem(C)?.textValue??``;R(e),E(e)},z=(0,p.useRef)(v),B=(0,p.useRef)(C==null?``:b.getItem(C)?.textValue??``);(0,p.useEffect)(()=>{l&&(A.size>0||r)&&!P.isOpen&&T!==L&&n!==`manual`&&F(null,`input`),!s&&!r&&P.isOpen&&A.size===0&&I(),v!=null&&v!==z.current&&o===`single`&&I(),T!==L&&(x.setFocusedKey(null),c(!1),o===`single`&&T===``&&(e.inputValue===void 0||h===void 0)&&y(null)),v!==z.current&&(e.inputValue===void 0||h===void 0)?ie():L!==T&&R(T);let t=C==null?``:b.getItem(C)?.textValue??``;!l&&C!=null&&e.inputValue===void 0&&C===z.current&&B.current!==t&&(R(t),E(t)),z.current=v,B.current=t});let V=ki({...e,value:(0,p.useMemo)(()=>Array.isArray(v)&&v.length===0?null:{inputValue:T,value:v,selectedKey:C},[T,C,v])}),ae=()=>{i&&C==null?oe():se()},oe=()=>{if(o===`multiple`){R(T),I();return}z.current=null,y(null),I()},se=(t=!1)=>{if(h!==void 0&&e.inputValue!==void 0){let n=C==null?``:b.getItem(C)?.textValue??``;(t||o===`multiple`||T!==n)&&(e.onSelectionChange?.(C),e.onChange?.(v)),R(n),I()}else ie(),I()},ce=()=>{if(i){let e=C==null?``:b.getItem(C)?.textValue??``;T===e?se():oe()}else se()},H=()=>{P.isOpen&&x.focusedKey!=null?x.isSelected(x.focusedKey)&&o===`single`?se(!0):x.select(x.focusedKey):ce()},le=(0,p.useRef)([T,v]),ue=t=>{t?(le.current=[T,v],n===`focus`&&!e.isReadOnly&&F(null,`focus`)):(a&&ce(),(T!==le.current[0]||v!==le.current[1])&&V.commitValidation()),u(t)},U=(0,p.useMemo)(()=>P.isOpen?s?k:A:j,[P.isOpen,k,A,s,j]),de=e.defaultSelectedKey??(o===`single`?D:null);return{...V,...P,focusStrategy:d,toggle:te,open:F,close:ce,selectionManager:x,value:v,defaultValue:m??D,setValue:y,selectedKey:C,selectedItems:w,defaultSelectedKey:de,setSelectedKey:y,disabledKeys:S,isFocused:l,setFocused:ue,selectedItem:w[0]??null,collection:U,inputValue:T,defaultInputValue:td(e.defaultInputValue,de,b)??O,setInputValue:E,commit:H,revert:ae}}function $u(e,t,n){return new os(ed(e,e,t,n))}function ed(e,t,n,r){let i=[];for(let a of t)if(a.type===`section`&&a.hasChildNodes){let t=ed(e,Xo(a,e),n,r);[...t].some(e=>e.type===`item`)&&i.push({...a,childNodes:t})}else(a.type===`item`&&r(a.textValue,n)||a.type!==`item`)&&i.push({...a});return i}function td(e,t,n){return e==null&&t!=null?n.getItem(t)?.textValue??``:e}function nd(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function rd(e){let t=Ho({usage:`search`,...e}),n=(0,p.useCallback)((e,n)=>n.length===0?!0:(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(0,n.length),n)===0),[t]),r=(0,p.useCallback)((e,n)=>n.length===0?!0:(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(-n.length),n)===0),[t]),i=(0,p.useCallback)((e,n)=>{if(n.length===0)return!0;e=e.normalize(`NFC`),n=n.normalize(`NFC`);let r=0,i=n.length;for(;r+i<=e.length;r++){let a=e.slice(r,r+i);if(t.compare(n,a)===0)return!0}return!1},[t]);return(0,p.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}function id(e={}){let{locale:t}=Kt();return(0,p.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}var ad=(0,p.createContext)(null),od=(0,p.createContext)(null),sd=Ln(function(e,t){[e,t]=V(e,t,ad);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1,isReadOnly:o=!1}=e,s=(0,p.useMemo)(()=>p.default.createElement(xs.Provider,{value:{items:e.items??e.defaultItems}},typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,defaultChildren:null,isReadOnly:o}):n),[n,r,i,a,o,e.items,e.defaultItems]);return p.default.createElement(Vn,{content:s},n=>p.default.createElement(ld,{props:e,collection:n,comboBoxRef:t}))}),cd=[Yr,ai,na,ta,li];function ld({props:e,collection:t,comboBoxRef:n}){let{name:r,formValue:i=`key`,allowsCustomValue:a}=e;a&&(i=`text`);let{validationBehavior:o}=B(Fi)||{},s=e.validationBehavior??o??`native`,{contains:c}=rd({sensitivity:`base`}),l=Qu({...e,defaultFilter:e.defaultFilter||c,items:e.items,children:void 0,collection:t,validationBehavior:s}),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(null),m=(0,p.useRef)(null),h=(0,p.useRef)(null),[g,_]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),{buttonProps:v,inputProps:y,listBoxProps:b,labelProps:x,descriptionProps:S,errorMessageProps:C,valueProps:w,...T}=Xu({...oe(e),label:_,inputRef:d,buttonRef:u,listBoxRef:m,popoverRef:h,name:i===`text`?r:void 0,validationBehavior:s},l),[E,D]=(0,p.useState)(null);lc({ref:d,onResize:(0,p.useCallback)(()=>{if(d.current&&!f.current){let e=u.current?.getBoundingClientRect(),t=d.current.getBoundingClientRect(),n=e?Math.min(e.left,t.left):t.left,r=e?Math.max(e.right,t.right):t.right;D(r-n+`px`)}},[u,d,D])});let O=(0,p.useMemo)(()=>({get current(){return f.current||d.current}}),[f,d]),k=(0,p.useMemo)(()=>({isOpen:l.isOpen,isDisabled:e.isDisabled||!1,isInvalid:T.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1}),[l.isOpen,e.isDisabled,T.isInvalid,e.isRequired,e.isReadOnly]),A=z({...e,values:k,defaultClassName:`react-aria-ComboBox`}),j=q(e,{global:!0});delete j.id;let M=[];if(r&&i===`key`){let t=Array.isArray(l.value)?l.value:[l.value];t.length===0&&(t=[null]),M=t.map((t,n)=>p.default.createElement(`input`,{key:n,type:`hidden`,name:r,form:e.form,value:t??``}))}return p.default.createElement(ie,{values:[[od,l],[Yr,{...x,ref:g}],[ai,{...v,ref:u,isPressed:l.isOpen}],[na,{...y,ref:d}],[fu,l],[Sl,{ref:h,triggerRef:O,scrollRef:m,placement:`bottom start`,isNonModal:!0,trigger:`ComboBox`,style:{"--trigger-width":E},clearContexts:cd}],[xs,{...b,ref:m}],[Ss,l],[li,{slots:{description:S,errorMessage:C}}],[ta,{ref:f,isInvalid:T.isInvalid,isDisabled:e.isDisabled||!1}],[Ci,T],[ud,w]]},p.default.createElement(H.div,{...j,...A,ref:n,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-invalid":T.isInvalid||void 0,"data-required":e.isRequired||void 0},A.children,M))}var ud=(0,p.createContext)(null);function dd(e,t){let n=t?.isDisabled,[r,i]=(0,p.useState)(!1);return h(()=>{if(e?.current&&!n){let t=()=>{if(e.current){let t=To(e.current,{tabbable:!0});i(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),!n&&r}function fd(e,t,n){let{overlayProps:r,underlayProps:i}=_c({...e,isOpen:t.isOpen,onClose:t.close},n);return xc({isDisabled:!t.isOpen}),_l(),(0,p.useEffect)(()=>{if(t.isOpen&&n.current)return Is([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:I(r),underlayProps:i}}var pd=typeof document<`u`&&window.visualViewport;function md(){let e=O(),[t,n]=(0,p.useState)(()=>e?{width:0,height:0}:hd());return(0,p.useEffect)(()=>{let e=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},t=()=>{pd&&pd.scale>1||e(hd())},r,i=t=>{pd&&pd.scale>1||jt(K(t))&&(r=requestAnimationFrame(()=>{let t=G();(!t||!jt(t))&&e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(hd()),qe()&&window.addEventListener(`blur`,i,!0),pd?pd.addEventListener(`resize`,t):window.addEventListener(`resize`,t),()=>{cancelAnimationFrame(r),qe()&&window.removeEventListener(`blur`,i,!0),pd?pd.removeEventListener(`resize`,t):window.removeEventListener(`resize`,t)}},[]),t}function hd(){return{width:pd?Math.min(pd.width*pd.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:pd?pd.height*pd.scale:document.documentElement.clientHeight}}var gd=(0,p.createContext)(null),_d=(0,p.createContext)(null),vd=(0,p.forwardRef)(function(e,t){if((0,p.useContext)(_d)){if(process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){let t=new Set([`isDismissable`,`isKeyboardDismissDisabled`,`isOpen`,`defaultOpen`,`onOpenChange`,`isEntering`,`isExiting`,`UNSTABLE_portalContainer`,`shouldCloseOnInteractOutside`]),n=Object.keys(e).filter(e=>t.has(e));console.warn(`This modal is already wrapped in a ModalOverlay, props [${n.join(`, `)}] should be placed on the ModalOverlay instead.`)}return p.default.createElement(Sd,{...e,modalRef:t},e.children)}let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return p.default.createElement(bd,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},p.default.createElement(Sd,{...f,modalRef:t},s))});function yd(e,t){[e,t]=V(e,t,gd);let n=(0,p.useContext)(fu),r=vl(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n;i===n&&process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)&&console.warn(`This modals state is controlled by a trigger, place onOpenChange on the trigger instead.`);let a=L(t),o=(0,p.useRef)(null),s=bl(a,i.isOpen),c=bl(o,i.isOpen),l=s||c||e.isExiting||!1,u=O();return!i.isOpen&&!l||u?null:p.default.createElement(xd,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}var bd=(0,p.forwardRef)(yd);function xd({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=fd(t,r,n),o=yl(t.overlayRef)||t.isEntering||!1,s=z({...t,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:o,isExiting:t.isExiting,state:r}}),c=md(),l,u;if(typeof document<`u`){let e=fi(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;l=e.scrollWidth-t,u=e.scrollHeight-n}let d={...s.style,"--visual-viewport-width":c.width+`px`,"--visual-viewport-height":c.height+`px`,"--page-width":l===void 0?void 0:l+`px`,"--page-height":u===void 0?void 0:u+`px`};return p.default.createElement(gl,{isExiting:t.isExiting,portalContainer:e},p.default.createElement(H.div,{...I(q(t,{global:!0}),a),...s,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},p.default.createElement(ie,{values:[[_d,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[fu,r]]},s.children)))}function Sd(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=(0,p.useContext)(_d),a=(0,p.useContext)(fu),o=L((0,p.useMemo)(()=>F(e.modalRef,n),[e.modalRef,n])),s=yl(o),c=z({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:s,isExiting:r,state:a}});return p.default.createElement(H.div,{...I(q(e,{global:!0}),t),...c,ref:o,"data-entering":s||void 0,"data-exiting":r||void 0},i&&p.default.createElement(dl,{onDismiss:a.close}),c.children)}var Cd=new WeakMap;function wd(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c=`aria`}=e,l=Ho({usage:`search`,sensitivity:`base`}),u=(0,p.useMemo)(()=>r||new Bo(t.collection,t.disabledKeys,n,l),[r,t.collection,t.disabledKeys,l,n]),{menuTriggerProps:d,menuProps:f}=lu({isDisabled:i,type:`listbox`},t,n),h=e=>{if(t.selectionManager.selectionMode!==`multiple`)switch(e.key){case`ArrowLeft`:{e.preventDefault();let n=t.selectedKey==null?u.getFirstKey?.():u.getKeyAbove?.(t.selectedKey);n!=null&&t.setSelectedKey(n);break}case`ArrowRight`:{e.preventDefault();let n=t.selectedKey==null?u.getFirstKey?.():u.getKeyBelow?.(t.selectedKey);n!=null&&t.setSelectedKey(n);break}}},{typeSelectProps:g}=Fo({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:_,validationErrors:v,validationDetails:y}=t.displayValidation,{labelProps:b,fieldProps:x,descriptionProps:S,errorMessageProps:C}=Li({...e,labelElementType:`span`,isInvalid:_,errorMessage:e.errorMessage||v});t.selectionManager.selectionMode===`multiple`&&(g={});let w=q(e,{labelable:!0}),T=I(g,d,x),E=N();return Cd.set(t,{isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c}),{labelProps:{...b,onClick:()=>{e.isDisabled||(n.current?.focus(),Tt(`keyboard`))}},triggerProps:I(w,{...T,isDisabled:i,onKeyDown:m(T.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[E,T[`aria-labelledby`],T[`aria-label`]&&!T[`aria-labelledby`]?T.id:null].filter(Boolean).join(` `),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:E},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:`selection`,onBlur:n=>{W(n.currentTarget,n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[x[`aria-labelledby`],T[`aria-label`]&&!x[`aria-labelledby`]?T.id:null].filter(Boolean).join(` `)},descriptionProps:S,errorMessageProps:C,isInvalid:_,validationErrors:v,validationDetails:y,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:n,form:s}}}function Td(e,t,n){let r=Cd.get(t)||{},{autoComplete:i,name:a=r.name,form:o=r.form,isDisabled:s=r.isDisabled}=e,{validationBehavior:c,isRequired:l}=r,{visuallyHiddenProps:u}=xi({style:{position:`fixed`,top:0,left:0}});Ri(e.selectRef,t.defaultValue,t.setValue),zi({validationBehavior:c,focus:()=>n.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,p.useCallback)(e=>{let t=K(e);t.multiple?d(Array.from(t.selectedOptions,e=>e.value)):d(e.currentTarget.value)},[d]);return{containerProps:{...u,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":`aria-hidden-focus`},inputProps:{style:{display:`none`}},selectProps:{tabIndex:-1,autoComplete:i,disabled:s,multiple:t.selectionManager.selectionMode===`multiple`,required:c===`native`&&l,name:a,form:o,value:t.value??``,onChange:f,onInput:f}}}function Ed(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:o}=e,s=(0,p.useRef)(null),c=(0,p.useRef)(null),{containerProps:l,selectProps:u}=Td({...e,selectRef:t.collection.size<=300?s:c},t,n),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return p.default.createElement(`div`,{...l,"data-testid":`hidden-select-container`},p.default.createElement(`label`,null,r,p.default.createElement(`select`,{...u,ref:s},p.default.createElement(`option`,{value:``,label:`\xA0`},`\xA0`),[...t.collection.getKeys()].map(e=>{let n=t.collection.getItem(e);if(n&&n.type===`item`)return p.default.createElement(`option`,{key:n.key,value:n.key},n.textValue)}),t.collection.size===0&&i&&d.map((e,t)=>p.default.createElement(`option`,{key:t,value:e??``})))));if(i){let{validationBehavior:e}=Cd.get(t)||{};d.length===0&&(d=[null]);let n=d.map((t,n)=>{let r={type:`hidden`,autoComplete:u.autoComplete,name:i,form:a,disabled:o,value:t??``};return e===`native`?p.default.createElement(`input`,{key:n,...r,ref:n===0?c:null,style:{display:`none`},type:`text`,required:n===0&&u.required,onChange:()=>{}}):p.default.createElement(`input`,{key:n,...r,ref:n===0?c:null})});return p.default.createElement(p.default.Fragment,null,n)}return null}function Dd(e){let{selectionMode:t=`single`,shouldCloseOnSelect:n=t===`single`}=e,r=vl(e),[i,a]=(0,p.useState)(null),o=(0,p.useMemo)(()=>e.defaultValue===void 0?t===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,t]),[s,c]=cn((0,p.useMemo)(()=>e.value===void 0?t===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,t]),o,e.onChange),l=t===`single`&&Array.isArray(s)?s[0]:s,u=n=>{if(t===`single`){let t=Array.isArray(n)?n[0]??null:n;c(t),t!==l&&e.onSelectionChange?.(t)}else{let e=[];Array.isArray(n)?e=n:n!=null&&(e=[n]),c(e)}},d=_s({...e,selectionMode:t,disallowEmptySelection:t===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,p.useMemo)(()=>Od(l),[l]),onSelectionChange:e=>{if(e!==`all`){if(t===`single`){let t=e.values().next().value??null;u(t)}else u([...e]);n&&r.close(),h.commitValidation()}}}),f=d.selectionManager.firstSelectedKey,m=(0,p.useMemo)(()=>[...d.selectionManager.selectedKeys].map(e=>d.collection.getItem(e)).filter(e=>e!=null),[d.selectionManager.selectedKeys,d.collection]),h=ki({...e,value:Array.isArray(l)&&l.length===0?null:l}),[g,_]=(0,p.useState)(!1),[v]=(0,p.useState)(l);return{...h,...d,...r,value:l,defaultValue:o??v,setValue:u,selectedKey:f,setSelectedKey:u,selectedItem:m[0]??null,selectedItems:m,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode===`single`?v:null),focusStrategy:i,open(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.open())},toggle(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.toggle())},isFocused:g,setFocused:_}}function Od(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function kd(e){return e&&e.__esModule?e.default:e}var Ad=(0,p.createContext)(null),jd=(0,p.createContext)(null),Md=Ln(function(e,t){[e,t]=V(e,t,Ad);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=e,o=(0,p.useMemo)(()=>typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,i,a]);return p.default.createElement(Vn,{content:o},n=>p.default.createElement(Pd,{props:e,collection:n,selectRef:t}))}),Nd=[Yr,ai,li];function Pd({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=B(Fi)||{},i=e.validationBehavior??r??`native`,a=Dd({...e,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:s}=Hr({within:!0}),c=(0,p.useRef)(null),[l,u]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,triggerProps:f,valueProps:m,menuProps:h,descriptionProps:g,errorMessageProps:_,hiddenSelectProps:v,...y}=wd({...oe(e),label:u,validationBehavior:i},a,c),b=(0,p.useMemo)(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[a.isOpen,a.isFocused,o,e.isDisabled,y.isInvalid,e.isRequired]),x=z({...e,values:b,defaultClassName:`react-aria-Select`}),S=q(e,{global:!0});delete S.id;let C=(0,p.useRef)(null);return p.default.createElement(ie,{values:[[Ad,e],[jd,a],[Fd,m],[Yr,{...d,ref:l,elementType:`span`}],[ai,{...f,ref:c,isPressed:a.isOpen,autoFocus:e.autoFocus}],[fu,a],[Sl,{trigger:`Select`,triggerRef:c,scrollRef:C,placement:`bottom start`,"aria-labelledby":h[`aria-labelledby`],clearContexts:Nd}],[xs,{...h,ref:C}],[Ss,a],[li,{slots:{description:g,errorMessage:_}}],[Ci,y]]},p.default.createElement(H.div,{...I(S,x,s),ref:t,slot:e.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":a.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0},x.children,p.default.createElement(Ed,{...v,autoComplete:e.autoComplete})))}var Fd=(0,p.createContext)(null),Id=Ln(function(e,t){[e,t]=V(e,t,Fd);let n=(0,p.useContext)(jd),{placeholder:r}=B(Ad),i=n.selectedItems.map(e=>{let t=e.props?.children;return typeof t==`function`&&(t=t({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:`single`,selectionBehavior:`toggle`})),t}),a=id(),o=(0,p.useMemo)(()=>n.selectedItems.map(e=>e?.textValue),[n.selectedItems]),s=n.selectionManager.selectionMode,c=(0,p.useMemo)(()=>s===`single`?o[0]??``:a.format(o),[s,a,o]),l=(0,p.useMemo)(()=>{if(s===`single`)return i[0];let e=a.formatToParts(o);if(e.length===0)return null;let t=0;return e.map(e=>e.type===`element`?p.default.createElement(p.Fragment,{key:t},i[t++]):e.value)},[s,a,o,i]),u=on(kd(Ba),`react-aria-components`),d=z({...e,defaultChildren:l??r??u.format(`selectPlaceholder`),defaultClassName:`react-aria-SelectValue`,values:{selectedItem:n.selectedItems[0]?.value??null,selectedItems:(0,p.useMemo)(()=>n.selectedItems.map(e=>e.value??null),[n.selectedItems]),selectedText:c,isPlaceholder:n.selectedItems.length===0,state:n}}),f=q(e,{global:!0});return p.default.createElement(H.span,{ref:t,...f,...d,"data-placeholder":n.selectedItems.length===0||void 0},p.default.createElement(li.Provider,{value:void 0},d.children))});function Ld(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=Gi(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}var Rd=(0,p.createContext)(null),zd=(0,p.createContext)(null),Bd=(0,p.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=V(r,t,Rd);let i=L(F(n,e.inputRef===void 0?null:e.inputRef)),a=qi(e),o=Ld({...oe(e),children:typeof e.children==`function`||e.children},a,i);return p.default.createElement(ie,{values:[[zd,a],[Vd,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},p.default.createElement(Hd,{...e,ref:t}))}),Vd=(0,p.createContext)(null),Hd=(0,p.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,p.useContext)(Vd),{isFocused:f,isFocusVisible:m,focusProps:h}=Hr(),g=a||o,_=(0,p.useContext)(zd),{hoverProps:v,isHovered:y}=Jr({...e,isDisabled:g}),b=z({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:y,isFocused:f,isFocusVisible:m,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:_}}),x=q(e,{global:!0});return delete x.id,delete x.onClick,p.default.createElement(H.label,{...I(x,n,v,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":f||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},p.default.createElement(Si,{elementType:`span`},p.default.createElement(`input`,{...I(r,h),ref:l})),b.children)}),Ud=new WeakMap;function Wd(e,t,n){if(!e)return``;typeof t==`string`&&(t=t.replace(/\s+/g,``));let r=Ud.get(e);return process.env.NODE_ENV!==`production`&&!r&&console.error(`There is no tab id, please check if you have rendered the tab panel before the tab list.`),`${r}-${n}-${t}`}function Gd(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=qo({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=Wd(t,r,`tab`),m=Wd(t,r,`tabpanel`),{tabIndex:h}=d,g=q(u?.props,{labelable:!0});delete g.id;let _=ot(u?.props),{focusableProps:v}=Pn({...u?.props,isDisabled:l},n);return{tabProps:I(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function Kd(e,t,n){let r=dd(n)?void 0:0,i=Wd(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:I(Ft({...e,id:i,"aria-labelledby":Wd(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var qd=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function Jd(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=Kt(),{collectionProps:l}=Ro({ref:n,selectionManager:o,keyboardDelegate:(0,p.useMemo)(()=>new qd(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=N();return Ud.set(t,u),{tabListProps:{...I(l,Ft({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function Yd(e){let[t,n]=cn(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,p.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=_s({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function Xd(e){let t=Yd({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??Zd(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,p.useRef)(i);return(0,p.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=Zd(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function Zd(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var Qd=(0,p.createContext)(null),$d=(0,p.createContext)(null),ef=(0,p.forwardRef)(function(e,t){[e,t]=V(e,t,Qd);let{children:n,orientation:r=`horizontal`}=e;return n=(0,p.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),p.default.createElement(Vn,{content:n},n=>p.default.createElement(tf,{props:e,collection:n,tabsRef:t}))});function tf({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=Xd({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=Hr({within:!0}),c=(0,p.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=z({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=q(e,{global:!0});return p.default.createElement(H.div,{...I(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},p.default.createElement(ie,{values:[[Qd,e],[$d,i]]},l.children))}var nf=(0,p.forwardRef)(function(e,t){return(0,p.useContext)($d)?p.default.createElement(rf,{props:e,forwardedRef:t}):p.default.createElement(Qn,e)});function rf({props:e,forwardedRef:t}){let n=(0,p.useContext)($d),{CollectionRoot:r}=(0,p.useContext)(ir),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=B(Qd),o=L(t),{tabListProps:s}=Jd({...e,orientation:i,keyboardActivation:a},n,o),c=z({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=q(e,{global:!0});return delete l.id,p.default.createElement(H.div,{...I(l,c,s),ref:o,"data-orientation":i||void 0},p.default.createElement(Ja,null,p.default.createElement(r,{collection:n.collection,persistedKeys:ar(n.selectionManager.focusedKey)})))}var af=Yn(class extends dn{static{this.type=`item`}},(e,t,n)=>{let r=(0,p.useContext)($d),i=L(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=Gd({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=Hr(),{hoverProps:f,isHovered:m}=Jr({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),h=z({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:m}}),g=n.props.href?H.a:H.div,_=q(e,{global:!0});return delete _.id,delete _.onClick,p.default.createElement(g,{...I(_,h,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":m||void 0},p.default.createElement(Ya.Provider,{value:{isSelected:o}},h.children))}),of=Ln(function(e,t){let n=(0,p.useContext)($d),r=L(t),i=n.selectedKey===e.id,[a,o]=(0,p.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=bl(r,i);return!i&&!e.shouldForceMount&&!s?null:p.default.createElement(sf,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function sf(e){let t=(0,p.useContext)($d),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=Kd(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=Hr(),d=t.selectedKey===e.id,f=yl(r)&&!i,m=z({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:as(!d),isEntering:f,isExiting:a,state:t}}),h=q(o,{global:!0});delete h.id;let g=d?I(h,s,c,m):I(h,m);return p.default.createElement(H.div,{...g,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:as(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},p.default.createElement(ie,{values:[[Qd,null],[$d,null]]},p.default.createElement(ir.Provider,{value:tr},m.children)))}var cf=(0,p.createContext)({}),lf=(0,p.createContext)(null),uf=Ln(function(e,t){[e,t]=V(e,t,lf);let{validationBehavior:n}=B(Fi)||{},r=e.validationBehavior??n??`native`,i=(0,p.useRef)(null);[e,i]=V(e,i,un);let[a,o]=ae(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,p.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...m}=aa({...oe(e),inputElementType:s,label:o,validationBehavior:r},i),h=(0,p.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),g=z({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),_=q(e,{global:!0});return delete _.id,p.default.createElement(H.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},p.default.createElement(ie,{values:[[Yr,{...l,ref:a}],[na,{...u,ref:h}],[cf,{...u,ref:h}],[ta,{role:`presentation`,isInvalid:m.isInvalid,isDisabled:e.isDisabled||!1}],[li,{slots:{description:d,errorMessage:f}}],[Ci,m]]},g.children))}),df=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},ff=(e,t)=>({classGroupId:e,validator:t}),pf=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),mf=`-`,hf=[],gf=`arbitrary..`,_f=e=>{let t=bf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return yf(e);let n=e.split(mf);return vf(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?df(i,t):t:i||hf}return n[e]||hf}}},vf=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=vf(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(mf):e.slice(t).join(mf),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},yf=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?gf+r:void 0})(),bf=e=>{let{theme:t,classGroups:n}=e;return xf(n,t)},xf=(e,t)=>{let n=pf();for(let r in e){let i=e[r];Sf(i,n,r,t)}return n},Sf=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Cf(i,t,n,r)}},Cf=(e,t,n,r)=>{if(typeof e==`string`){wf(e,t,n);return}if(typeof e==`function`){Tf(e,t,n,r);return}Ef(e,t,n,r)},wf=(e,t,n)=>{let r=e===``?t:Df(t,e);r.classGroupId=n},Tf=(e,t,n,r)=>{if(Of(e)){Sf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(ff(n,e))},Ef=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Sf(o,Df(t,a),n,r)}},Df=(e,t)=>{let n=e,r=t.split(mf),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=pf(),n.nextPart.set(t,i)),n=i}return n},Of=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,kf=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Af=`!`,jf=`:`,Mf=[],Nf=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Pf=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===jf){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Af)?(c=s.slice(0,-1),l=!0):s.startsWith(Af)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Nf(t,l,c,u)};if(t){let e=t+jf,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Nf(Mf,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Ff=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},If=e=>({cache:kf(e.cacheSize),parseClassName:Pf(e),sortModifiers:Ff(e),postfixLookupClassGroupIds:Lf(e),..._f(e)}),Lf=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Rf=/\s+/,zf=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Rf),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Af:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Bf=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Vf(n))&&(i&&(i+=` `),i+=r);return i},Vf=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Vf(e[r]))&&(n&&(n+=` `),n+=t);return n},Hf=(e,...t)=>{let n,r,i,a,o=o=>(n=If(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=zf(e,n);return i(e,a),a};return a=o,(...e)=>a(Bf(...e))},Uf=[],Wf=e=>{let t=t=>t[e]||Uf;return t.isThemeGetter=!0,t},Gf=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kf=/^\((?:(\w[\w-]*):)?(.+)\)$/i,qf=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Jf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Zf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$f=e=>qf.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),ep=e=>!!e&&Number.isInteger(Number(e)),tp=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),np=e=>Jf.test(e),rp=()=>!0,ip=e=>Yf.test(e)&&!Xf.test(e),ap=()=>!1,op=e=>Zf.test(e),sp=e=>Qf.test(e),cp=e=>!Z(e)&&!Q(e),lp=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),up=e=>Tp(e,kp,ap),Z=e=>Gf.test(e),dp=e=>Tp(e,Ap,ip),fp=e=>Tp(e,jp,X),pp=e=>Tp(e,Np,rp),mp=e=>Tp(e,Mp,ap),hp=e=>Tp(e,Dp,ap),gp=e=>Tp(e,Op,sp),_p=e=>Tp(e,Pp,op),Q=e=>Kf.test(e),vp=e=>Ep(e,Ap),yp=e=>Ep(e,Mp),bp=e=>Ep(e,Dp),xp=e=>Ep(e,kp),Sp=e=>Ep(e,Op),Cp=e=>Ep(e,Pp,!0),wp=e=>Ep(e,Np,!0),Tp=(e,t,n)=>{let r=Gf.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ep=(e,t,n=!1)=>{let r=Kf.exec(e);return r?r[1]?t(r[1]):n:!1},Dp=e=>e===`position`||e===`percentage`,Op=e=>e===`image`||e===`url`,kp=e=>e===`length`||e===`size`||e===`bg-size`,Ap=e=>e===`length`,jp=e=>e===`number`,Mp=e=>e===`family-name`,Np=e=>e===`number`||e===`weight`,Pp=e=>e===`shadow`,Fp=Hf(()=>{let e=Wf(`color`),t=Wf(`font`),n=Wf(`text`),r=Wf(`font-weight`),i=Wf(`tracking`),a=Wf(`leading`),o=Wf(`breakpoint`),s=Wf(`container`),c=Wf(`spacing`),l=Wf(`radius`),u=Wf(`shadow`),d=Wf(`inset-shadow`),f=Wf(`text-shadow`),p=Wf(`drop-shadow`),m=Wf(`blur`),h=Wf(`perspective`),g=Wf(`aspect`),_=Wf(`ease`),v=Wf(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[$f,`full`,`auto`,...w()],E=()=>[ep,`none`,`subgrid`,Q,Z],D=()=>[`auto`,{span:[`full`,ep,Q,Z]},ep,Q,Z],O=()=>[ep,`auto`,Q,Z],k=()=>[`auto`,`min`,`max`,`fr`,Q,Z],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[$f,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[$f,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],P=()=>[$f,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],F=()=>[e,Q,Z],te=()=>[...b(),bp,hp,{position:[Q,Z]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,xp,up,{size:[Q,Z]}],I=()=>[tp,vp,dp],L=()=>[``,`none`,`full`,l,Q,Z],R=()=>[``,X,vp,dp],ie=()=>[`solid`,`dashed`,`dotted`,`double`],z=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],B=()=>[X,tp,bp,hp],V=()=>[``,`none`,m,Q,Z],ae=()=>[`none`,X,Q,Z],oe=()=>[`none`,X,Q,Z],se=()=>[X,Q,Z],ce=()=>[$f,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[np],breakpoint:[np],color:[rp],container:[np],"drop-shadow":[np],ease:[`in`,`out`,`in-out`],font:[cp],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[np],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[np],shadow:[np],spacing:[`px`,X],text:[np],"text-shadow":[np],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,$f,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[lp],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ep,`auto`,Q,Z]}],basis:[{basis:[$f,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,$f,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[ep,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...P()]}],"min-block-size":[{"min-block":[`auto`,...P()]}],"max-block-size":[{"max-block":[`none`,...P()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,vp,dp]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,wp,pp]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,tp,Z]}],"font-family":[{font:[yp,mp,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,fp]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ie(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,dp]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[ep,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ep,Q,Z],radial:[``,Q,Z],conic:[ep,Q,Z]},Sp,gp]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-bs":[{"border-bs":R()}],"border-w-be":[{"border-be":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":R()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ie(),`hidden`,`none`]}],"divide-style":[{divide:[...ie(),`hidden`,`none`]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...ie(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,vp,dp]}],"outline-color":[{outline:F()}],shadow:[{shadow:[``,`none`,u,Cp,_p]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":[`none`,d,Cp,_p]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:R()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[X,dp]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":[`none`,f,Cp,_p]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...z(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":z()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:V()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Cp,_p]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":V()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":[`scale-3d`],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ce()}],"translate-x":[{"translate-x":ce()}],"translate-y":[{"translate-y":ce()}],"translate-z":[{"translate-z":ce()}],"translate-none":[`translate-none`],zoom:[{zoom:[ep,Q,Z]}],accent:[{accent:F()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":F()}],"scrollbar-track-color":[{"scrollbar-track":F()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Q,Z]}],fill:[{fill:[`none`,...F()]}],"stroke-w":[{stroke:[X,vp,dp,fp]}],stroke:[{stroke:[`none`,...F()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function $(...e){return Fp(e.filter(Boolean))}var Ip=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z`})),Lp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z`})),Rp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z`})),zp=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z`})),Bp={Info:Ip,Warning:Lp,Error:Rp,Done:zp,Check:zp,Close:e=>(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,i.jsx)(`path`,{d:`M5 5h2v2H5zM7 7h2v2H7zM9 9h2v2H9zM11 11h2v2h-2zM13 13h2v2h-2zM15 15h2v2h-2zM17 17h2v2h-2zM17 5h2v2h-2zM15 7h2v2h-2zM13 9h2v2h-2zM9 13h2v2H9zM7 15h2v2H7zM5 17h2v2H5z`})}),"Chevron Up":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 8h-2v2h2V8Zm-2 2H9v2h2v-2Zm4 0h-2v2h2v-2Zm-6 2H7v2h2v-2Zm8 0h-2v2h2v-2ZM7 14H5v2h2v-2Zm12 0h-2v2h2v-2Z`})),"Chevron Down":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 16h-2v-2h2v2Zm-2-2H9v-2h2v2Zm4 0h-2v-2h2v2Zm-6-2H7v-2h2v2Zm8 0h-2v-2h2v2ZM7 10H5V8h2v2Zm12 0h-2V8h2v2Z`})),App:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 6h16v2H4zm0 12h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zM5 5h2v2H5zm3 0h2v2H8z`})),Cancel:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 11h16v2H4z`})),Fullscreen:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 13h16v-2H4zm7-8h2V3h-2zM9 7h4V5H9zm4 0h2V5h-2zm2 2h2V7h-2zM7 9h8V7H7zm4 10h2v2h-2zm-2-2h4v2H9zm4 0h2v2h-2zm2-2h2v2h-2zm-8 0h8v2H7z`})),Add:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z`}))};function Vp(e){return e in Bp}var Hp={L:56,S:24},Up=({name:e,size:t=`L`,className:n=``,onClick:r,color:a,role:o,"aria-label":s})=>{let c=Bp[e];if(!c)return null;let l=Hp[t],u=o??`img`,d=o===`button`,f=d?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),r?.())}:void 0;return(0,i.jsx)(`span`,{className:$(`icon`,d&&`icon--button`,n),onClick:r,onKeyDown:f,role:u,tabIndex:d?0:void 0,"aria-label":s||`${e} icon`,style:a?{color:a}:void 0,children:(0,i.jsx)(c,{width:l,height:l,className:`icon__svg`})})};function Wp(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Gp(e,t){let[n,r]=(0,p.useState)(!1),i=(0,p.useRef)(!1);return{isClosing:n,triggerClose:(0,p.useCallback)(()=>{if(!(i.current||!t)){if(Wp()){t();return}i.current=!0,r(!0)}},[t]),handleAnimationEnd:(0,p.useCallback)(n=>{n.animationName===e&&i.current&&(i.current=!1,r(!1),t?.())},[e,t])}}var Kp={info:`default`,success:`success`,warning:`warning`,error:`error`,default:`default`,brand:`brand`},qp={brand:`Info`,gray:`Info`,default:`Info`,error:`Error`,warning:`Warning`,success:`Done`};function Jp(e,t){return e||Kp[t||`info`]||`default`}function Yp(e){return e===`full-width`?`full-width`:`floating`}var Xp=(0,p.forwardRef)(({color:e,size:t=`floating`,type:n,title:r,children:a,actions:o,onClose:s,onClickHere:c,className:l},u)=>{let d=Jp(e,n),f=Yp(t),{isClosing:p,triggerClose:m,handleAnimationEnd:h}=Gp(`alert-exit`,s),g=[...o||[],...c?[{label:`Click here`,onClick:c}]:[]];return(0,i.jsxs)(`div`,{ref:u,className:$(`relative w-full flex flex-col gap-4 p-4`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-alert`,`eidotter-alert--${d}`,f===`floating`&&`max-w-[1216px]`,f===`full-width`&&`eidotter-alert--full-width max-w-none`,p&&`eidotter-alert--closing`,l),onAnimationEnd:h,role:`alert`,"data-color":d,"data-size":f,children:[(0,i.jsx)(`div`,{className:`eidotter-alert__icon`,children:(0,i.jsx)(Up,{name:qp[d]||`Info`,size:`S`,"aria-label":`${d} alert`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,s&&`pr-6`),children:[(r||a)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-alert__title font-dos leading-[140%]`,children:r}),a&&(0,i.jsx)(`div`,{className:`eidotter-alert__text font-dos leading-[140%]`,children:a})]}),g.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:g.map((e,t)=>(0,i.jsxs)(J,{className:`eidotter-alert__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),s&&(0,i.jsx)(J,{className:`eidotter-alert__close`,onPress:m,"aria-label":`Close alert`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})});Xp.displayName=`Alert`;var Zp=({title:e,children:t,defaultExpanded:n=!1,isHovered:r=!1,isActive:a=!1,onToggle:o})=>{let[s,c]=(0,p.useState)(n);return(0,p.useEffect)(()=>{c(n)},[n]),(0,i.jsxs)(`div`,{className:$(`w-full border border-dos-border-default text-dos-text-brand font-dos`,`eidotter-section`,s&&`eidotter-section--expanded`,r&&`eidotter-section--hover`,a&&`eidotter-section--active`),children:[(0,i.jsxs)(J,{className:`eidotter-section__header w-full flex justify-between items-center px-4 py-2 bg-transparent border-0 text-inherit font-[inherit] cursor-pointer text-left`,onPress:()=>{let e=!s;c(e),o?.(e)},"aria-expanded":s,children:[(0,i.jsx)(`div`,{className:`flex-1 text-base leading-6`,children:e}),(0,i.jsx)(`div`,{className:`eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit`,children:(0,i.jsx)(Up,{name:s?`Chevron Up`:`Chevron Down`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-section__content`,inert:!s||void 0,children:(0,i.jsx)(`div`,{className:`eidotter-section__content-inner`,children:t})})]})},Qp=({sections:e,defaultExpandedIndex:t=-1,className:n})=>{let[,r]=(0,p.useState)(t),a=(e,t)=>{r(t?e:-1)};return(0,i.jsx)(`div`,{className:$(`w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-dos-text-brand`,`eidotter-accordion-fill`,n),children:e.map((e,n)=>(0,i.jsx)(Zp,{title:e.title,defaultExpanded:n===t,onToggle:e=>a(n,e),children:e.content},n))})},$p={xs:`text-dos-text-xs px-2 py-1 min-h-6 gap-1`,sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`,xl:`text-dos-text-xl px-5 py-3 min-h-11 gap-2`,small:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,medium:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,large:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},em={primary:`eidotter-btn--primary`,secondary:`eidotter-btn--secondary`,tertiary:`eidotter-btn--tertiary`,destructive:`eidotter-btn--destructive`,ghost:`eidotter-btn--ghost`,link:`eidotter-btn--link`},tm=(0,p.forwardRef)(({variant:e=`primary`,size:t=`md`,type:n=`button`,disabled:r=!1,loading:a=!1,children:o,onPress:s,onClick:c,className:l,fullWidth:u=!1,iconOnly:d=!1,...f},p)=>{let m=r||a;return(0,i.jsxs)(J,{ref:p,type:n,isDisabled:m,isPending:a||void 0,onPress:e=>{s?s(e):c&&c({type:`press`,target:e.target,currentTarget:e.target,preventDefault:()=>{},stopPropagation:()=>{}})},className:$(`eidotter-btn`,`inline-flex items-center justify-center relative`,`border-2 border-solid`,`font-dos leading-none whitespace-nowrap select-none`,`outline-none cursor-pointer`,`transition-all duration-100 ease-linear`,$p[t]||$p.md,em[e]||em.primary,m&&`opacity-50 cursor-not-allowed`,a&&`cursor-wait`,u&&`w-full`,d&&`aspect-square !px-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus`,l),"data-loading":a||void 0,"data-variant":e,...f,children:[a&&(0,i.jsx)(`span`,{className:`eidotter-btn__loading`,"aria-hidden":`true`,children:`█`}),(0,i.jsx)(`span`,{className:$(`inline-flex items-center justify-center`,a&&`opacity-70`),children:o})]})});tm.displayName=`Button`;var nm={default:`eidotter-card--default`,elevated:`eidotter-card--elevated`,bordered:`eidotter-card--bordered`,glow:`eidotter-card--glow`,interactive:`eidotter-card--interactive`,minimal:`eidotter-card--minimal`,callout:`eidotter-card--callout`},rm=(0,p.forwardRef)(({title:e,children:t,footer:n,variant:r=`default`,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`border-2 border-solid border-dos-border-default`,`font-dos text-dos-text-brand`,`eidotter-card`,nm[r]||nm.default,a),...o,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-card__header px-3 py-2 border-b border-dos-text-disabled bg-dos-bg-brand-dim`,children:(0,i.jsx)(`span`,{className:`text-dos-text-secondary text-dos-text-md uppercase`,children:e})}),(0,i.jsx)(`div`,{className:`p-3`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-card__footer px-3 py-2 border-t border-dos-text-disabled bg-dos-bg-secondary`,children:n})]}));rm.displayName=`Card`;var im=(0,p.forwardRef)(({checked:e,defaultChecked:t,onChange:n,indeterminate:r=!1,label:a,disabled:o=!1,size:s=`md`,name:c,value:l,className:u,"aria-label":d,...f},p)=>(0,i.jsx)($i,{ref:p,isSelected:e,defaultSelected:t,isIndeterminate:r,onChange:n,isDisabled:o,name:c,value:l,"aria-label":d||a,className:$(`inline-flex items-center gap-2 cursor-pointer select-none group`,`font-dos`,s===`sm`?`text-dos-text-xs`:`text-dos-text-sm`,`eidotter-checkbox`,o&&`opacity-60 cursor-not-allowed`,u),"data-size":s,...f,children:({isSelected:e,isIndeterminate:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-checkbox__box`,e&&`eidotter-checkbox__box--checked`,t&&`eidotter-checkbox__box--indeterminate`),children:t?`[-]`:e?`[X]`:`[ ]`}),a&&(0,i.jsx)(`span`,{className:`eidotter-checkbox__label`,children:a})]})}));im.displayName=`Checkbox`;var am=({prompt:e=`C:\\>`,onCommand:t,autoFocus:n=!1,className:r=``,placeholder:a,disabled:o=!1})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&l.current&&l.current.focus()},[n]),(0,i.jsxs)(`div`,{className:`command-prompt ${o?`command-prompt--disabled`:``} ${r}`.trim(),onClick:()=>{!o&&l.current&&l.current.focus()},children:[(0,i.jsx)(`span`,{className:`command-prompt__prompt`,"aria-hidden":`true`,children:e}),(0,i.jsxs)(`div`,{className:`command-prompt__input-wrapper`,children:[(0,i.jsx)(`input`,{ref:l,className:`command-prompt__input`,value:s,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s.trim()&&!o&&(t(s.trim()),c(``))},autoFocus:n,spellCheck:!1,autoComplete:`off`,autoCapitalize:`off`,autoCorrect:`off`,placeholder:a,disabled:o,"aria-label":`Command input`,size:s.length||a?.length||1}),(0,i.jsx)(`span`,{className:`command-prompt__cursor`,"aria-hidden":`true`,children:`_`})]})]})},om=`█`,sm=`░`,cm=`▓`,lm=`▒`,um={sm:`text-xs`,md:`text-base`,lg:`text-lg`,small:`text-xs`,medium:`text-base`,large:`text-lg`},dm={default:`eidotter-progress--default`,success:`eidotter-progress--success`,warning:`eidotter-progress--warning`,error:`eidotter-progress--error`};function fm(e,t,n){let r=t-e;if(n===`gradient`&&e>0&&e<t){let t=Math.min(2,r),n=r-t,i=(t>=1?cm:``)+(t>=2?lm:``);return{filled:om.repeat(e),transition:i,empty:sm.repeat(n)}}return{filled:om.repeat(e),transition:``,empty:sm.repeat(r)}}var pm=(0,p.forwardRef)(({value:e=0,max:t=100,indeterminate:n=!1,variant:r=`default`,size:a=`md`,trackStyle:o=`block`,blocks:s=20,showLabel:c=!1,fullWidth:l=!1,glow:u=!1,valueText:d,className:f,"aria-label":p,...m},h)=>{let g=Math.min(80,Math.max(3,Math.floor(s))),_=Math.min(100,Math.max(0,e/t*100)),v=Math.round(_/100*g),y=$(`inline-flex items-center gap-2 font-dos`,`eidotter-progress`,um[a]||um.md,dm[r]||dm.default,u&&`eidotter-progress--glow`,l&&`eidotter-progress--full-width`,n&&`eidotter-progress--indeterminate`,o===`bordered`&&`eidotter-progress--bordered`,f),b={"aria-label":p||`Progress: ${n?`loading`:`${Math.round(_)}%`}`};n||(b[`aria-valuenow`]=e,b[`aria-valuemin`]=0,b[`aria-valuemax`]=t),d&&(b[`aria-valuetext`]=d);let x=o===`bordered`,S=$(`eidotter-progress__track`,x&&`eidotter-progress__track--borderless`);if(n){let e=sm.repeat(g);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:e}),(0,i.jsxs)(`span`,{className:`eidotter-progress__scanner`,children:[cm,om,cm]})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-progress__label`,children:`...`})]})}let C=om.repeat(g),w=sm.repeat(g),{transition:T}=fm(v,g,o);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:w}),(0,i.jsx)(`span`,{className:`eidotter-progress__fill`,style:{"--fill-pct":String(_)},children:C}),T&&(0,i.jsx)(`span`,{className:`eidotter-progress__transition`,style:{"--fill-pct":String(_)},children:T})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsxs)(`span`,{className:`eidotter-progress__label`,children:[Math.round(_),`%`]})]})});pm.displayName=`Progress`;var mm=(e,t,n)=>Math.min(n,Math.max(t,e)),hm=(0,p.forwardRef)(({value:e=0,max:t=100,size:n=64,thickness:r=8,segments:a=16,color:o,showLabel:s=!1,glow:c=!1,decorative:l=!1,className:u,"aria-label":d,...f},p)=>{let m=Math.max(1,Math.floor(a)),h=mm(t===0?0:e/t,0,1),g=Math.floor(h*m),_=Math.round(g/m*100),v=(n-r)/2,y=n/2,b=n/2,x=2*Math.PI*v,S=x/m,C=Math.max(2,S/6),w=Math.max(.5,S-C),T=o??`currentColor`,E=Array.from({length:m},(e,t)=>{let n=t<g;return(0,i.jsx)(`circle`,{cx:y,cy:b,r:v,fill:`none`,stroke:T,strokeWidth:r,strokeLinecap:`butt`,strokeOpacity:n?1:.18,strokeDasharray:`0 ${t*S} ${w} ${x}`,className:$(`eidotter-progress-ring__seg`,n&&`eidotter-progress-ring__seg--filled`)},t)});return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-progress-ring`,c&&`eidotter-progress-ring--glow`,u),style:{width:n,height:n},...l?{"aria-hidden":!0}:{role:`progressbar`,"aria-valuenow":_,"aria-valuemin":0,"aria-valuemax":100,"aria-label":d??`Progress: ${_}%`},...f,children:[(0,i.jsx)(`svg`,{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":`true`,focusable:`false`,children:(0,i.jsx)(`g`,{transform:`rotate(-90 ${y} ${b})`,children:E})}),s&&(0,i.jsxs)(`span`,{className:`eidotter-progress-ring__label font-dos`,children:[_,`%`]})]})});hm.displayName=`ProgressRing`;var gm=`░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░`,_m=`▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒`,vm=6,ym={text:3,card:3,figure:4,timeline:2},bm=({dense:e=!1,width:t=`full`})=>(0,i.jsx)(`span`,{className:$(`eidotter-skeleton__line`,t===`short`&&`eidotter-skeleton__line--short`,t===`meta`&&`eidotter-skeleton__line--meta`),children:(e?_m:gm).repeat(vm)});function xm(e,t=!1,n=!0){return Array.from({length:e},(r,a)=>(0,i.jsx)(bm,{dense:t,width:n&&a===e-1&&e>1?`short`:`full`},a))}var Sm=({variant:e=`text`,lines:t,animated:n=!0,label:r=`Loading`,className:a})=>{let o=Math.max(1,t??ym[e]),s;switch(e){case`card`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(bm,{dense:!0,width:`meta`}),xm(o)]});break;case`figure`:s=xm(o,!0,!1);break;case`timeline`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`eidotter-skeleton__marker border-2 border-dos-border-default`}),(0,i.jsxs)(`span`,{className:`eidotter-skeleton__entry`,children:[(0,i.jsx)(bm,{width:`meta`}),xm(o)]})]});break;default:s=xm(o)}return(0,i.jsx)(`div`,{role:`status`,"aria-label":r,className:$(`eidotter-skeleton font-dos text-dos-text-muted`,`eidotter-skeleton--${e}`,n&&`eidotter-skeleton--animated`,e===`card`&&`border-2 border-dos-border-default bg-dos-bg-secondary p-4`,e===`figure`&&`border-2 border-dos-border-default bg-dos-bg-secondary`,a),children:(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-skeleton__glyphs`,children:s})})};Sm.displayName=`Skeleton`;var Cm={unknown:`unknown`,stale:`stale`,offline:`offline`,other:`other`,now:`now`,remaining:`remaining`,estimated:`estimated`,modelled:`modelled`};function wm(e){return{...Cm,...e}}function Tm(e,t){return t===`estimated`||t===`modelled`?e[t]:null}var Em=`−`;function Dm(e){return typeof e==`number`&&Number.isFinite(e)}var Om=64,km=new Map;function Am(e,t,n,r){let i=`${e}|${t??``}|${n}|${r}|${n?`percent`:``}`,a=km.get(i);return a||(a=new Intl.NumberFormat(e,{...t!==void 0&&{minimumFractionDigits:t,maximumFractionDigits:t},...n&&{style:`unit`,unit:`percent`},...r&&{signDisplay:`exceptZero`}}),km.size>=Om&&km.clear(),km.set(i,a)),a}function jm(e,t={}){if(!Dm(e))return{text:`--`,status:`unknown`};let{locale:n=`en`,digits:r,percent:i,max:a,unit:o,signed:s}=t,c=(e,t)=>Am(n,r,!!i,t).format(e).replace(`-`,Em),l=c(e,!!s);return Dm(a)&&(l+=`/${c(a,!1)}`),o&&(l+=` ${o}`),{text:l,status:`ok`}}var Mm=new Set;function Nm(e,t){if(!(process.env.NODE_ENV===`production`||!t)){for(let n of e)if(n.unit&&n.unit!==t){let e=`${n.unit}|${t}`;if(Mm.has(e))continue;Mm.add(e),console.warn(`[eidotter] Band unit "${n.unit}" differs from value unit "${t}".`)}}}function Pm(e,t,n){if(!t||t.length===0||(Nm(t,n),!Dm(e)))return{tone:`neutral`};let r=t.find(t=>e>=t.from&&e<t.to);return r?{tone:r.tone,label:r.label,band:r}:{tone:`neutral`}}var Fm={sm:`eidotter-gauge--sm text-dos-text-xs`,md:`eidotter-gauge--md text-dos-text-sm`,lg:`eidotter-gauge--lg text-dos-text-md`},Im={sm:`text-dos-text-sm`,md:`text-dos-display-xs`,lg:`text-dos-display-sm`},Lm={sm:72,md:104,lg:136},Rm={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},zm={neutral:16,info:12,success:16,warning:20,critical:24},Bm={ok:``,loading:`eidotter-gauge--loading`,empty:`eidotter-gauge--empty`,stale:`eidotter-gauge--stale`,unknown:`eidotter-gauge--unknown`},Vm=(0,p.forwardRef)(({label:e,shortLabel:t,value:n,max:r=100,unit:a,secondary:o,size:s=`md`,tone:c,status:l=`ok`,provenance:u,bands:d,locale:f=`en`,labels:p,glow:m=!1,className:h,"aria-label":g,..._},v)=>{let y=wm(p),b=l===`loading`,x=!Dm(n)||!(r>0)||!Number.isFinite(r)||l===`empty`||l===`unknown`,S=x?0:n/r*100,C=!x&&n>r,w=Pm(x?null:n,d,a),T=c??w.tone,E=x?`--`:jm(S,{locale:f,percent:!0}).text,D=l===`stale`&&!x,O=[x||b?y.unknown:E,D&&y.stale].filter(Boolean).join(`, `),k=`${g??e}: ${O}`,A=Lm[s]??Lm.md,j=Tm(y,u);return(0,i.jsxs)(`div`,{ref:v,className:$(`eidotter-gauge eidotter-health flex flex-col items-center gap-1 w-full font-dos`,Fm[s]??Fm.md,Rm[T],Bm[l],h),style:{minWidth:A},role:`meter`,"aria-valuemin":0,"aria-valuemax":x?100:r,"aria-valuenow":x||b?0:Math.max(0,Math.min(n,r)),"aria-valuetext":O,"aria-label":k,"aria-busy":b||void 0,..._,children:[(0,i.jsxs)(`div`,{className:`relative inline-flex items-center justify-center`,children:[(0,i.jsx)(hm,{decorative:!0,value:b?0:S,max:100,size:A,thickness:Math.round(A/8),segments:zm[T]??16,color:T===`neutral`?void 0:`var(--eidotter-fill)`,glow:!1,className:$(m&&`eidotter-health-glow`)}),(0,i.jsx)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center text-center leading-none`,children:b?(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-gauge__skeleton w-full overflow-hidden`,children:(0,i.jsx)(Sm,{variant:`figure`,lines:2,animated:!1})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-gauge__value text-dos-text-accent tabular-nums`,Im[s]??Im.md,D&&`opacity-60`),children:E}),o&&!x&&(0,i.jsx)(`span`,{className:`eidotter-gauge__secondary text-dos-text-brand text-dos-text-xs tabular-nums`,children:o})]})})]}),(0,i.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight max-w-full`,children:[T===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-gauge__glyph text-dos-text-error`,children:`▲`}),(0,i.jsxs)(`span`,{className:`eidotter-gauge__label truncate`,title:e,children:[(0,i.jsx)(`span`,{className:`eidotter-gauge__label--full`,children:e}),t&&(0,i.jsx)(`span`,{className:`eidotter-gauge__label--short`,children:t})]}),C&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-gauge__overflow text-dos-text-warning`,children:`+`}),j!==null&&(0,i.jsx)(`span`,{className:`eidotter-gauge__provenance border border-dos-border-brand px-1 normal-case`,children:j}),D&&(0,i.jsx)(`span`,{className:`eidotter-gauge__stale normal-case`,children:y.stale})]}),w.label&&(0,i.jsx)(`span`,{className:`eidotter-gauge__band text-dos-text-brand normal-case`,children:w.label})]})});Vm.displayName=`Gauge`;var Hm={vertical:`eidotter-meter--vertical flex-col items-center gap-1`,horizontal:`eidotter-meter--horizontal flex-row items-center gap-2`},Um={xs:`eidotter-meter--xs text-dos-text-xs`,sm:`eidotter-meter--sm text-dos-text-xs`,md:`eidotter-meter--md text-dos-text-sm`},Wm={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},Gm={solid:`eidotter-fill--solid`,dither:`eidotter-fill--dither`,hatch:`eidotter-fill--hatch`,dotted:`eidotter-fill--dotted`},Km={neutral:`solid`,info:`solid`,success:`dither`,warning:`hatch`,critical:`dotted`},qm=e=>Math.round(e*1e4)/1e4,Jm=e=>Math.min(1,Math.max(0,e));function Ym(e,t){if(e!==void 0){if(Array.isArray(e)){let n=Jm(e[0]/t),r=Jm(e[1]/t);return{"--eidotter-meter-optimal-start":String(qm(n)),"--eidotter-meter-optimal-size":String(qm(r-n))}}return{"--eidotter-meter-optimal":String(qm(Jm(e/t)))}}}var Xm=(0,p.forwardRef)(({label:e,shortLabel:t,value:n,max:r=100,unit:a,optimal:o,orientation:s=`vertical`,size:c=`sm`,tone:l,pattern:u,segments:d,bands:f,locale:p=`en`,labels:m,showValue:h=!0,className:g,"aria-label":_,...v},y)=>{let b=wm(m),x=r>0&&Number.isFinite(r),S=!Dm(n)||!x,C=S?0:Jm(n/r),w=!S&&n>r,T=Pm(S?null:n,f,a),E=l??T.tone,D=Gm[u??Km[E]??`solid`]??Gm.solid,O=S?`--`:jm(n,{locale:p,unit:a}).text,k=S?b.unknown:O,A=`${_??e}: ${k}`,j=Array.isArray(o),M=x?Ym(o,r):void 0,N=d===void 0?0:Math.max(0,Math.floor(d)),ee=Math.round(C*N),P=h||w?(0,i.jsxs)(`div`,{className:`eidotter-meter__readout flex items-center gap-1 leading-none`,children:[h&&(0,i.jsx)(`span`,{className:`eidotter-meter__value text-dos-text-accent tabular-nums`,children:O}),w&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-meter__overflow text-dos-text-warning`,children:`+`})]}):null,F=(0,i.jsxs)(`div`,{className:`eidotter-meter__track relative bg-dos-bg-primary border border-dos-border-disabled`,children:[N>0?(0,i.jsx)(`div`,{className:`eidotter-meter__segments`,"aria-hidden":`true`,children:Array.from({length:N},(e,t)=>(0,i.jsx)(`span`,{className:$(`eidotter-meter__segment`,t<ee&&`eidotter-meter__segment--filled ${D}`)},t))}):(0,i.jsx)(`div`,{className:$(`eidotter-meter__fill`,D),style:{"--eidotter-meter-fill":String(qm(C))}}),M&&(0,i.jsx)(`div`,{"aria-hidden":`true`,className:$(`eidotter-meter__optimal`,j&&`eidotter-meter__optimal--range`),style:M})]}),te=(0,i.jsxs)(`div`,{className:`eidotter-meter__caption flex flex-wrap items-center justify-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight min-w-0 max-w-full`,children:[E===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-meter__glyph text-dos-text-error`,children:`▲`}),(0,i.jsxs)(`span`,{className:`eidotter-meter__label truncate`,title:e,children:[(0,i.jsx)(`span`,{className:`eidotter-meter__label--full`,children:e}),t&&(0,i.jsx)(`span`,{className:`eidotter-meter__label--short`,children:t})]}),T.label&&(0,i.jsx)(`span`,{className:`eidotter-meter__band normal-case`,children:T.label})]});return(0,i.jsx)(`div`,{ref:y,className:$(`eidotter-meter eidotter-health flex font-dos`,Hm[s]??Hm.vertical,Um[c]??Um.sm,Wm[E],g),role:`meter`,"aria-valuemin":0,"aria-valuemax":x?r:100,"aria-valuenow":S?0:Math.max(0,Math.min(n,r)),"aria-valuetext":k,"aria-label":A,...v,children:s===`horizontal`?(0,i.jsxs)(i.Fragment,{children:[te,F,P]}):(0,i.jsxs)(i.Fragment,{children:[P,F,te]})})});Xm.displayName=`Meter`;var Zm={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},Qm=({title:e,description:t,tone:n=`default`,action:r,className:a})=>(0,i.jsxs)(`div`,{className:$(`eidotter-empty-state`,`flex flex-col gap-2 py-6 text-center`,a),role:`status`,children:[(0,i.jsx)(`p`,{className:$(`font-dos text-dos-text-sm`,Zm[n]),children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted`,children:t}),r&&(0,i.jsx)(`div`,{className:`mt-2`,children:r})]});Qm.displayName=`EmptyState`;var $m={row:`eidotter-meter-group--row`,grid:`eidotter-meter-group--grid`},eh=(0,p.forwardRef)(({layout:e=`row`,columns:t,sharedMax:n=!1,items:r,children:a,labels:o,className:s,...c},l)=>{let u=p.default.Children.count(a)>0;if((!r||r.length===0)&&!u)return(0,i.jsx)(Qm,{title:wm(o).unknown,className:s});let d=n&&r?Math.max(...r.map(e=>e.max??100)):void 0,f=e===`grid`&&t!==void 0;return(0,i.jsx)(`div`,{ref:l,role:`group`,className:$(`eidotter-meter-group`,$m[e]??$m.row,f&&`eidotter-meter-group--columns`,s),style:f?{"--eidotter-meter-columns":String(t)}:void 0,...c,children:r?r.map((e,t)=>(0,i.jsx)(Xm,{...e,...d!==void 0&&{max:d}},`${e.label}-${t}`)):a})});eh.displayName=`MeterGroup`;var th={vertical:`eidotter-range-bar--vertical`,horizontal:`eidotter-range-bar--horizontal`},nh={sm:`eidotter-range-bar--sm text-dos-text-xs`,md:`eidotter-range-bar--md text-dos-text-sm`,lg:`eidotter-range-bar--lg text-dos-text-md`},rh={"vertical-sm":`w-[1rem] h-[8rem]`,"vertical-md":`w-[1.5rem] h-[12rem]`,"vertical-lg":`w-[2rem] h-[16rem]`,"horizontal-sm":`h-[1rem] w-full`,"horizontal-md":`h-[1.5rem] w-full`,"horizontal-lg":`h-[2rem] w-full`},ih={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},ah=`var(--color-semantic-text-muted)`,oh=`__eidotter-other`,sh={neutral:`none`,info:`solid`,success:`dither`,warning:`hatch`,critical:`dotted`},ch={none:`eidotter-fill--none`,solid:`eidotter-fill--solid`,dither:`eidotter-fill--dither`,hatch:`eidotter-fill--hatch`,dotted:`eidotter-fill--dotted`},lh=(e,t)=>{let n=ih[e.tone]?e.tone:`neutral`,r=e.pattern??sh[n];return{...e,weight:t,toneKey:n,patternClass:ch[r]??ch.solid}},uh=e=>Math.round(e*1e6)/1e6,dh=(0,p.forwardRef)(({segments:e,orientation:t=`vertical`,size:n=`md`,showLegend:r=!0,target:a,minSegmentShare:o=.6,labelThreshold:s=8,locale:c=`en`,labels:l,className:u,...d},f)=>{let p=wm(l),m=e.map(e=>Number.isFinite(e.share)&&e.share>0?e.share:0),h=uh(m.reduce((e,t)=>e+t,0)),g=e.map((e,t)=>lh(e,uh(h>100?m[t]/h*100:m[t])));h<100&&!e.some(e=>e.id===oh)&&g.push(lh({id:oh,label:p.other,share:0,tone:`neutral`},uh(100-h)));let _=e=>jm(e,{locale:c,percent:!0}).text,v=g.map(e=>`${e.label} ${_(e.weight)}`).join(`, `);return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-range-bar eidotter-health flex gap-3 font-dos`,t===`horizontal`?`flex-col`:`flex-row items-start`,th[t]??th.vertical,nh[n]??nh.md,u),...d,children:[(0,i.jsxs)(`div`,{className:$(`eidotter-range-bar__track flex gap-1`,t===`horizontal`?`flex-col w-full`:`flex-row`),children:[(0,i.jsx)(`div`,{role:`img`,"aria-label":v,className:$(`eidotter-range-bar__bar flex shrink-0`,t===`horizontal`?`flex-row`:`flex-col`,rh[`${t}-${n}`]??rh[`vertical-md`]),children:g.map(e=>{let n=a?.segmentId===e.id;return(0,i.jsx)(`div`,{"data-segment-id":e.id,className:$(`eidotter-range-bar__seg relative`,ih[e.toneKey],e.patternClass),style:{flexGrow:Math.max(e.weight,o),flexBasis:0,...e.toneKey===`neutral`&&{"--eidotter-fill":ah}},children:n&&a&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-range-bar__target absolute`,style:{[t===`horizontal`?`left`:`top`]:`${Math.min(Math.max(a.minShare/(e.weight||1),0),1)*100}%`}})},e.id)})}),(0,i.jsx)(`div`,{"aria-hidden":`true`,className:$(`eidotter-range-bar__lane flex tabular-nums text-dos-text-accent`,t===`horizontal`?`flex-row w-full`:`flex-col`),children:g.map(e=>(0,i.jsxs)(`div`,{className:$(`eidotter-range-bar__cell flex items-center justify-center gap-1 min-w-0`,t===`horizontal`?`flex-col`:`flex-row justify-start`),style:{flexGrow:Math.max(e.weight,o),flexBasis:0},children:[e.weight>=s&&(0,i.jsx)(`span`,{className:`eidotter-range-bar__pct`,children:_(e.weight)}),a?.segmentId===e.id&&(0,i.jsx)(`span`,{className:`eidotter-range-bar__target-label text-dos-text-brand whitespace-nowrap`,children:a.label})]},e.id))})]}),r&&(0,i.jsx)(`ul`,{className:`eidotter-range-bar__legend flex flex-col gap-1 list-none p-0 m-0 min-w-0`,children:g.map(e=>(0,i.jsxs)(`li`,{className:`eidotter-range-bar__row grid grid-cols-[auto_1fr_auto_auto] items-center gap-2`,children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,className:$(`eidotter-range-bar__swatch inline-block w-[0.75rem] h-[0.75rem]`,ih[e.toneKey],e.patternClass),style:{...e.toneKey===`neutral`&&{"--eidotter-fill":ah}}}),(0,i.jsxs)(`span`,{className:`text-dos-text-primary truncate`,title:e.label,children:[e.label,e.bound&&(0,i.jsxs)(`span`,{className:`text-dos-text-muted`,children:[` `,e.bound]})]}),(0,i.jsx)(`span`,{className:`text-dos-text-accent tabular-nums`,children:_(e.weight)}),(0,i.jsx)(`span`,{className:`text-dos-text-muted tabular-nums text-right`,children:e.duration??``})]},e.id))})]})});dh.displayName=`RangeBar`;var fh={sm:`eidotter-series-bars--sm text-dos-text-xs`,md:`eidotter-series-bars--md text-dos-text-sm`,lg:`eidotter-series-bars--lg text-dos-text-md`},ph={sm:`h-[6rem]`,md:`h-[10rem]`,lg:`h-[14rem]`},mh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},hh=`var(--color-semantic-text-muted)`,gh={neutral:`eidotter-fill--none`,info:`eidotter-fill--solid`,success:`eidotter-fill--dither`,warning:`eidotter-fill--hatch`,critical:`eidotter-fill--dotted`},_h=(0,p.forwardRef)(({points:e,max:t,goal:n,goalLabel:r,toneFor:a,tickEvery:o=1,size:s=`md`,locale:c=`en`,labels:l,className:u,...d},f)=>{let p=wm(l),m=e.map(e=>e.value).filter(Dm),h=t??Math.max(...m,n??0,0),g=h>0?h:1,_=a??(n===void 0?[]:[{from:n,tone:`success`}]),v=e=>_.filter(t=>e>=t.from).reduce((e,t)=>!e||t.from>e.from?t:e,void 0)?.tone??`neutral`,y=e=>Dm(e)?jm(e,{locale:c}).text:p.unknown,b=[...e.map(e=>`${e.label} ${y(e.value)}`),...n===void 0?[]:[`${r??``} ${y(n)}`.trim()]].join(`, `);return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-series-bars eidotter-health relative font-dos`,fh[s]??fh.md,u),...d,children:[(0,i.jsxs)(`div`,{role:`img`,"aria-label":b,children:[(0,i.jsxs)(`div`,{className:$(`eidotter-series-bars__plot relative`,ph[s]??ph.md),children:[n!==void 0&&(0,i.jsx)(`div`,{className:`eidotter-series-bars__goal absolute inset-x-0`,style:{bottom:`${Math.min(n,g)/g*100}%`},children:r&&(0,i.jsx)(`span`,{className:`eidotter-series-bars__goal-tag text-dos-text-brand`,children:r})}),(0,i.jsx)(`div`,{className:`eidotter-series-bars__cols flex items-end gap-1 h-full`,children:e.map((e,t)=>{let n=e.value,r=Dm(n)?v(n):`neutral`;return(0,i.jsx)(`div`,{className:`eidotter-series-bars__col flex flex-col justify-end flex-1 min-w-0 h-full`,title:`${e.label}: ${y(n)}`,children:Dm(n)?(0,i.jsx)(`div`,{className:$(`eidotter-series-bars__bar w-full`,mh[r],gh[r]),style:{height:`${Math.min(Math.max(n,0),g)/g*100}%`,...r===`neutral`&&{"--eidotter-fill":hh}}}):(0,i.jsx)(`span`,{className:`eidotter-series-bars__gap text-dos-text-muted text-center`,children:`--`})},t)})})]}),(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`flex gap-1 text-dos-text-muted`,children:e.map((e,t)=>(0,i.jsx)(`span`,{className:`eidotter-series-bars__tick flex-1 min-w-0 truncate text-center tabular-nums`,children:t%Math.max(o,1)===0?e.label:``},t))})]}),(0,i.jsx)(`table`,{className:`sr-only`,children:(0,i.jsxs)(`tbody`,{children:[e.map((e,t)=>(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`th`,{scope:`row`,children:e.label}),(0,i.jsx)(`td`,{children:y(e.value)})]},t)),n!==void 0&&(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`th`,{scope:`row`,children:r}),(0,i.jsx)(`td`,{children:y(n)})]})]})})]})});_h.displayName=`SeriesBars`;var vh={sm:`eidotter-vitals-strip--sm gap-1 text-dos-text-xs`,md:`eidotter-vitals-strip--md gap-2 text-dos-text-sm`,lg:`eidotter-vitals-strip--lg gap-2 text-dos-text-md`},yh={sm:`text-dos-display-xs`,md:`text-dos-display-sm`,lg:`text-dos-display-md`},bh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},xh={ok:``,loading:`eidotter-vitals-strip__tile--loading`,empty:`eidotter-vitals-strip__tile--empty`,stale:`eidotter-vitals-strip__tile--stale`,unknown:`eidotter-vitals-strip__tile--unknown`};function Sh(e,t){return e.loading?t.unknown:e.offline?t.offline:e.unknown?t.unknown:null}var Ch=(0,p.forwardRef)(({tiles:e,size:t=`md`,locale:n=`en`,labels:r,className:a,...o},s)=>{let c=wm(r);return(0,i.jsx)(`div`,{ref:s,className:$(`eidotter-vitals-strip eidotter-health flex flex-wrap w-full font-dos`,vh[t]??vh.md,a),...o,children:e.map(e=>{let r=e.status??`ok`,a=r===`loading`,o=e.pair?e.pair[0]:e.value,s=e.pair?Dm(e.pair[0])&&Dm(e.pair[1]):Dm(e.value),l=r===`empty`||r===`ok`&&!e.pair&&e.value===null,u=l||r===`unknown`||!s,d=r===`stale`&&!u,f=Pm(u?null:o,e.bands,e.unit),p=e.tone??f.tone,m=u?null:e.pair?jm(e.pair[0],{locale:n,max:e.pair[1]}).text:jm(e.value,{locale:n}).text,h=Sh({loading:a,offline:l,unknown:u},c);return(0,i.jsxs)(`div`,{role:`group`,"aria-label":[`${e.label}: ${h??[m,e.unit].filter(Boolean).join(` `)}`,d&&c.stale].filter(Boolean).join(`, `),"aria-busy":a||void 0,className:$(`eidotter-vitals-strip__tile flex flex-col gap-0.5 border border-dos-border-default p-2`,bh[p],xh[r],p===`critical`&&`eidotter-vitals-strip__marker border-l-4 border-dos-border-error`),children:[(0,i.jsxs)(`span`,{className:`flex items-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight`,children:[p===`critical`&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`text-dos-text-error`,children:`▲`}),(0,i.jsx)(`span`,{className:`truncate`,title:e.label,children:e.label})]}),a?(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`w-full overflow-hidden`,children:(0,i.jsx)(Sm,{variant:`figure`,lines:1,animated:!1})}):(0,i.jsxs)(`span`,{className:$(`eidotter-vitals-strip__value text-dos-text-accent leading-none tabular-nums`,yh[t]??yh.md),children:[d?(0,i.jsx)(`span`,{className:`opacity-60`,children:m}):h??m,m&&e.unit&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__unit ml-1 text-[0.5em] text-dos-text-brand`,children:e.unit})]}),d&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__stale`,children:c.stale}),e.secondary&&!u&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__secondary text-dos-text-muted leading-tight`,children:e.secondary}),f.label&&(0,i.jsx)(`span`,{className:`eidotter-vitals-strip__band text-dos-text-brand leading-tight`,children:f.label})]},e.id)})})});Ch.displayName=`VitalsStrip`;function wh(e){return typeof e==`number`?e:Date.parse(e)}function Th(e){return e.map(e=>({t:wh(e.t),v:e.remaining})).filter(e=>Number.isFinite(e.t)&&Number.isFinite(e.v)).sort((e,t)=>e.t-t.t)}function Eh(e,t,n){let r=wh(t.from),i=wh(t.to),a=(i-r)/n,o=Th(e),s=[],c=0,l=null;for(let e=0;e<n;e++){let t=r+e*a,u=e===n-1?i:r+(e+1)*a,d=e===n-1;for(;c<o.length&&o[c].t<t;)l=o[c++].v;let f=0,p=0;for(;c<o.length&&(o[c].t<u||d&&o[c].t===u);)f+=o[c].v,l=o[c++].v,p++;s.push({start:t,end:u,value:p>0?f/p:l})}return s}var Dh={sm:`eidotter-decay-strip--sm text-dos-text-xs`,md:`eidotter-decay-strip--md text-dos-text-sm`,lg:`eidotter-decay-strip--lg text-dos-text-md`},Oh={neutral:`eidotter-tone--neutral`,info:`eidotter-tone--info`,success:`eidotter-tone--success`,warning:`eidotter-tone--warning`,critical:`eidotter-tone--critical`},kh=[`░`,`▒`,`▓`,`█`],Ah=`│`,jh=`·`;function Mh(e){return e===null?jh:kh[Math.round(Math.min(1,Math.max(0,e))*(kh.length-1))]}function Nh(e,t,n){let r=Th(e),i=-1;r.forEach((e,t)=>{e.v>0&&(i=t)});let a=r.slice(i+1).find(e=>e.v<=0);if(!a||!Number.isFinite(t)||a.t<t)return null;let o=(a.t-t)/6e4,s=new Intl.RelativeTimeFormat(n,{numeric:`always`});return o<60?s.format(Math.round(o),`minute`):s.format(Math.round(o/6)/10,`hour`)}var Ph=(0,p.forwardRef)(({items:e,samples:t,now:n,window:r,provenance:a,size:o=`md`,tone:s=`neutral`,columns:c=24,locale:l=`en`,timeZone:u,labels:d,announce:f=!1,className:p,...m},h)=>{let g=wm(d),_=wh(n),v=Eh(t,r,c),y=new Intl.DateTimeFormat(l,{timeStyle:`short`,...u&&{timeZone:u}}),b=e=>Number.isFinite(e)?y.format(e):`--`,x=b(wh(r.from)),S=b(wh(r.to)),C=e=>Tm(g,e),w=jm(0,{locale:l,percent:!0}).text,T=e.map(e=>{let t=jm(e.amount,{locale:l,unit:e.unit}).text,n=Dm(e.remainingShare)?e.remainingShare:null;return{item:e,amountText:t,share:n,shareText:n===null?g.unknown:`${jm(n*100,{locale:l,percent:!0}).text} ${g.remaining}`,tagText:C(e.provenance)}}),E=Nh(t,_,l),D=C(a),O=[...T.map(e=>`${e.item.label} ${e.amountText}: ${e.shareText}${e.tagText?`, ${e.tagText}`:``}`),`${x}–${S}`,Number.isFinite(_)&&`${g.now} ${y.format(_)}`,E&&`${w} ${E}`,D].filter(Boolean).join(`; `),k=o===`sm`;return(0,i.jsxs)(`div`,{ref:h,className:$(`eidotter-decay-strip eidotter-health flex flex-col gap-2 w-full min-w-0 font-dos text-dos-text-brand`,Dh[o]??Dh.md,Oh[s],p),...m,children:[e.length===0?(0,i.jsx)(Qm,{title:`${w} ${g.remaining}`,className:`py-2`}):(0,i.jsx)(`ul`,{className:$(`flex gap-2 min-w-0`,k?`flex-col`:`flex-wrap`),children:T.map(e=>(0,i.jsx)(`li`,{className:$(`eidotter-decay-strip__item min-w-0`,k?`flex flex-wrap items-baseline gap-2 tabular-nums`:`flex-1`),children:k?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`truncate text-dos-text-accent`,title:e.item.label,children:e.item.label}),(0,i.jsx)(`span`,{children:e.amountText}),(0,i.jsx)(`span`,{children:e.shareText}),e.tagText&&(0,i.jsx)(`span`,{className:`eidotter-decay-strip__item-provenance border border-dos-border-brand px-1`,children:e.tagText})]}):(0,i.jsx)(Vm,{label:e.item.label,value:e.share===null?null:e.share*100,secondary:e.item.amount===null?void 0:e.amountText,size:`sm`,tone:s,provenance:e.item.provenance,locale:l,labels:d})},e.item.id))}),(0,i.jsxs)(`div`,{className:`eidotter-decay-strip__strip flex items-center gap-2 min-w-0 tabular-nums`,role:`img`,"aria-label":O,children:[(0,i.jsx)(`span`,{className:`eidotter-decay-strip__from shrink-0`,children:x}),(0,i.jsx)(`span`,{className:`eidotter-decay-strip__cells flex-1 min-w-0 overflow-hidden whitespace-nowrap leading-none`,style:s===`neutral`?void 0:{color:`var(--eidotter-fill)`},children:v.map((e,t)=>{let n=t===v.length-1,r=_>=e.start&&(_<e.end||n&&_===e.end),a=!r&&_<e.start&&_>=v[0].start;return(0,i.jsx)(`span`,{className:$(`eidotter-decay-strip__cell`,`eidotter-decay-strip__cell--${r?`now`:a?`future`:`past`}`,a&&`opacity-50`,r&&`text-dos-text-accent`,r&&f&&`eidotter-health-pulse`),children:r?Ah:Mh(e.value)},t)})}),(0,i.jsx)(`span`,{className:`eidotter-decay-strip__to shrink-0`,children:S})]}),D&&(0,i.jsx)(`span`,{className:`eidotter-decay-strip__provenance self-start border border-dos-border-brand px-1`,children:D}),f&&(0,i.jsx)(`p`,{className:`sr-only`,"aria-live":`polite`,children:O})]})});Ph.displayName=`DecayStrip`;var Fh={success:`█`,fail:`░`,skip:`·`,pending:`▒`,empty:` `},Ih=[`success`,`fail`,`skip`,`pending`],Lh={success:`DONE`,fail:`MISS`,skip:`OFF`,pending:`TODAY`},Rh=[`MO`,`TU`,`WE`,`TH`,`FR`,`SA`,`SU`],zh=[`SU`,`MO`,`TU`,`WE`,`TH`,`FR`,`SA`],Bh=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Vh={sm:`eidotter-calendar-heatmap--sm`,md:`eidotter-calendar-heatmap--md`,lg:`eidotter-calendar-heatmap--lg`},Hh=e=>String(e).padStart(2,`0`),Uh=(0,p.forwardRef)(({month:e,statuses:t={},defaultStatus:n=`skip`,weekStart:r=`monday`,size:a=`md`,successColor:o,showLegend:s=!0,legendLabels:c,glyphs:l,className:u,"aria-label":d,...f},p)=>{let m=Number(e.slice(0,4)),h=Number(e.slice(5,7))-1,g=Number.isFinite(m)&&h>=0&&h<=11,_={...Fh,...l},v={...Lh,...c},y=[],b=0,x=0;if(g){let e=new Date(Date.UTC(m,h+1,0)).getUTCDate(),i=new Date(Date.UTC(m,h,1)).getUTCDay(),a=r===`monday`?(i+6)%7:i,o=[];for(let e=0;e<a;e++)o.push({key:`lead-${e}`,day:0,status:`empty`});for(let r=1;r<=e;r++){let e=`${m}-${Hh(h+1)}-${Hh(r)}`,i=t[e]??n;i===`success`&&b++,i===`fail`&&x++,o.push({key:e,day:r,status:i})}for(;o.length%7!=0;)o.push({key:`trail-${o.length}`,day:0,status:`empty`});for(let e=0;e<o.length;e+=7)y.push(o.slice(e,e+7))}let S=r===`monday`?Rh:zh,C=g?`${Bh[h]} ${m}`:e,w=d??`${C}: ${b} done, ${x} missed`,T=o?{"--heatmap-success":o}:void 0;return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-calendar-heatmap font-dos`,Vh[a],u),style:T,...f,children:[(0,i.jsxs)(`div`,{className:`eidotter-calendar-heatmap__grid`,role:`img`,"aria-label":w,children:[(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:S.map(e=>(0,i.jsx)(`span`,{className:`eidotter-calendar-heatmap__cell eidotter-calendar-heatmap__head`,children:e},e))}),y.map((e,t)=>(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:e.map(e=>(0,i.jsx)(`span`,{className:$(`eidotter-calendar-heatmap__cell`,`eidotter-calendar-heatmap__cell--${e.status}`),children:_[e.status]},e.key))},t))]}),s&&(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__legend`,"aria-hidden":`true`,children:Ih.map(e=>(0,i.jsxs)(`span`,{className:`eidotter-calendar-heatmap__cell--${e}`,children:[_[e],` `,v[e]]},e))})]})});Uh.displayName=`CalendarHeatmap`;var Wh=e=>e*e,Gh=.02,Kh=120,qh=(0,p.forwardRef)(({onHold:e,onTap:t,onHoldProgress:n,holdDuration:r=700,ringColor:a,ringScale:o=.72,disabled:s=!1,"aria-label":c,className:l,children:u},d)=>{let[f,m]=(0,p.useState)(0),[h,g]=(0,p.useState)(0),_=(0,p.useRef)(null),v=(0,p.useRef)(null),y=(0,p.useRef)(0),b=(0,p.useRef)(0),x=(0,p.useRef)(0),S=(0,p.useRef)(0),C=(0,p.useRef)(r),w=(0,p.useRef)(!1),T=(0,p.useRef)(e),E=(0,p.useRef)(n);T.current=e,E.current=n;let D=(0,p.useCallback)(e=>{y.current=e,m(e),E.current?.(e)},[]),O=(0,p.useCallback)(()=>{v.current!=null&&(cancelAnimationFrame(v.current),v.current=null)},[]),k=(0,p.useCallback)(e=>{let t=e-S.current,n=C.current,r=n<=0?1:Math.min(1,t/n),i=x.current===1?Wh(r):r,a=b.current+(x.current-b.current)*i;if(D(a),r>=1){v.current=null,x.current===1&&(w.current=!0,D(0),T.current());return}v.current=requestAnimationFrame(k)},[D]),A=(0,p.useCallback)((e,t)=>{O(),b.current=y.current,x.current=e,C.current=t,S.current=typeof performance<`u`?performance.now():0,v.current=requestAnimationFrame(k)},[O,k]),j=(0,p.useCallback)(e=>{if(!s){try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}w.current=!1,D(0),A(1,r)}},[s,r,A,D]),M=(0,p.useCallback)(()=>{if(!w.current){if(y.current<=0){O();return}Wp()?(O(),D(0)):A(0,Kh)}},[A,O,D]),N=(0,p.useCallback)(()=>{s||(w.current||t?.(),w.current=!1)},[s,t]),ee=(0,p.useCallback)(t=>{s||t.repeat||(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[s,e]);(0,p.useEffect)(()=>{let e=_.current;if(!e)return;let t=()=>g(Math.min(e.clientWidth,e.clientHeight));if(t(),typeof ResizeObserver<`u`){let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()}},[]),(0,p.useEffect)(()=>O,[O]);let P=(0,p.useCallback)(e=>{_.current=e,typeof d==`function`?d(e):d&&(d.current=e)},[d]),F=f>Gh&&h>0;return(0,i.jsxs)(`div`,{ref:P,className:$(`eidotter-hold`,s&&`eidotter-hold--disabled`,l),role:`button`,tabIndex:s?-1:0,"aria-label":c,"aria-disabled":s||void 0,onPointerDown:j,onPointerUp:M,onPointerCancel:M,onClick:N,onKeyDown:ee,children:[u,F&&(0,i.jsx)(`div`,{className:`eidotter-hold__overlay`,children:(0,i.jsx)(hm,{value:f*100,size:Math.floor(h*o),color:a,"aria-label":`Hold progress`})})]})});qh.displayName=`HoldToComplete`;var Jh={default:`eidotter-input--default`,error:`eidotter-input--error`},Yh=(0,p.forwardRef)(({variant:e=`default`,label:t,description:n,errorMessage:r,disabled:a,className:o,onChange:s,isRequired:c,...l},u)=>{let d=e===`error`;return(0,i.jsxs)(uf,{isDisabled:a,isInvalid:d,isRequired:c,className:$(`eidotter-text-field`,`flex flex-col gap-1`,o),children:[t&&(0,i.jsx)(Xr,{className:`text-dos-text-brand font-dos text-xs uppercase tracking-wider`,children:t}),(0,i.jsx)(ia,{ref:u,className:$(`w-full bg-transparent text-dos-text-brand font-dos text-base p-2`,`border-2 border-dos-border-default outline-none box-border`,`eidotter-input`,Jh[e]||Jh.default,a&&`eidotter-input--disabled`),onChange:s,...l}),n&&!d&&(0,i.jsx)(ui,{slot:`description`,className:`text-dos-text-muted font-dos text-xs`,children:n}),r&&d&&(0,i.jsx)(ui,{slot:`errorMessage`,className:`text-dos-text-error font-dos text-xs`,children:r})]})});Yh.displayName=`Input`;var Xh=({size:e=`md`,title:t=`MS-DOS Terminal`,state:n=`active`,resizable:r=!0,minimizable:a=!1,maximizable:o=!1,closeable:s=!1,children:c,onMinimize:l,onMaximize:u,onClose:d,onFocus:f,className:m=``,autoFocus:h=!1})=>{let g={sm:`small`,md:`medium`,lg:`large`}[e]??e,[_,v]=(0,p.useState)(n),[y,b]=(0,p.useState)(!1),x=(0,p.useRef)(null);(0,p.useEffect)(()=>{h&&x.current&&x.current.focus()},[h]);let S=()=>{v(`minimized`),l?.()},C=()=>{b(!y),u?.()},w=()=>{d?.()},T=()=>{v(`active`),f?.()};return _===`minimized`?(0,i.jsx)(J,{className:`terminal terminal--minimized ${m}`.trim(),onPress:T,"aria-label":`Restore ${t} window`,children:(0,i.jsxs)(`div`,{className:`terminal__taskbar-item`,children:[(0,i.jsx)(Up,{name:`App`,size:`S`}),(0,i.jsx)(`span`,{className:`terminal__taskbar-title`,children:t})]})}):(0,i.jsxs)(`div`,{ref:x,className:`terminal terminal--${g} terminal--${_} ${y?`terminal--maximized`:``} ${m}`.trim(),tabIndex:0,role:`dialog`,"aria-label":`${t} terminal window`,onFocus:T,onKeyDown:e=>{e.altKey&&e.key===`F4`&&s&&(e.preventDefault(),w())},children:[(0,i.jsxs)(`div`,{className:`terminal__title-bar`,children:[(0,i.jsxs)(`div`,{className:`terminal__title`,children:[(0,i.jsx)(Up,{name:`App`,size:`S`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`terminal__title-text`,children:t})]}),(a||o||s)&&(0,i.jsxs)(`div`,{className:`terminal__controls`,children:[a&&(0,i.jsx)(J,{className:`terminal__control terminal__control--minimize`,onPress:S,"aria-label":`Minimize window`,children:(0,i.jsx)(Up,{name:`Cancel`,size:`S`})}),o&&(0,i.jsx)(J,{className:`terminal__control terminal__control--maximize`,onPress:C,"aria-label":y?`Restore window`:`Maximize window`,children:(0,i.jsx)(Up,{name:y?`Fullscreen`:`Add`,size:`S`})}),s&&(0,i.jsx)(J,{className:`terminal__control terminal__control--close`,onPress:w,"aria-label":`Close window`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})]}),(0,i.jsx)(`div`,{className:`terminal__content`,role:`main`,children:c||(0,i.jsx)(`div`,{className:`terminal__default-content`,children:(0,i.jsxs)(`div`,{className:`terminal__prompt`,children:[(0,i.jsx)(`span`,{className:`terminal__path`,children:`C:\\\\>`}),(0,i.jsx)(`span`,{className:`terminal__cursor`,"aria-hidden":`true`})]})})}),r&&(0,i.jsx)(`div`,{className:`terminal__resize-handle`,"aria-hidden":`true`})]})},Zh={sm:`eidotter-tabs--sm`,md:`eidotter-tabs--md`,lg:`eidotter-tabs--lg`,small:`eidotter-tabs--sm`,medium:`eidotter-tabs--md`,large:`eidotter-tabs--lg`},Qh={underline:`eidotter-tabs--underline`,pills:`eidotter-tabs--pills`},$h=(0,p.forwardRef)(({tabs:e,variant:t=`underline`,size:n=`md`,activeTab:r,defaultActiveTab:a,onSelectionChange:o,onTabChange:s,className:c,...l},u)=>{let d=(0,p.useRef)(null),f=(0,p.useRef)(r??a??e[0]?.id??``),[m,h]=(0,p.useState)(r??a??e[0]?.id??``),g=o??s,_=(0,p.useCallback)(e=>{let t=String(e),n=r??f.current;f.current=t,h(t),g?.(t,n)},[r,g]);return(0,p.useLayoutEffect)(()=>{let e=d.current;if(!e||t!==`underline`)return;let n=()=>{let t=e.querySelector(`[aria-selected="true"]`);t&&(e.style.setProperty(`--indicator-left`,`${t.offsetLeft}px`),e.style.setProperty(`--indicator-width`,`${t.offsetWidth}px`))};n();let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[r,m,t]),(0,i.jsxs)(ef,{ref:u,selectedKey:r,defaultSelectedKey:a??e[0]?.id,onSelectionChange:_,className:$(`eidotter-tabs`,Qh[t],Zh[n]||Zh.md,c),children:[(0,i.jsxs)(`div`,{ref:d,className:`relative`,children:[(0,i.jsx)(nf,{className:`inline-flex items-center font-dos eidotter-tabs__list`,"aria-label":l[`aria-label`],children:e.map(e=>(0,i.jsx)(af,{id:e.id,isDisabled:e.disabled,className:({isSelected:e,isDisabled:t})=>$(`eidotter-tabs__tab`,e&&`eidotter-tabs__tab--active`,t&&`eidotter-tabs__tab--disabled`),children:e.label},e.id))}),t===`underline`&&(0,i.jsx)(`span`,{className:`eidotter-tabs__indicator`,"aria-hidden":`true`})]}),e.map(e=>(0,i.jsx)(of,{id:e.id,className:`hidden`},e.id))]})});$h.displayName=`Tabs`;var eg={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},tg={default:`eidotter-badge--default`,success:`eidotter-badge--success`,warning:`eidotter-badge--warning`,error:`eidotter-badge--error`,info:`eidotter-badge--info`,accent:`eidotter-badge--accent`,brand:`eidotter-badge--accent`,gray:`eidotter-badge--default`,blue:`eidotter-badge--info`,indigo:`eidotter-badge--info`,purple:`eidotter-badge--info`,pink:`eidotter-badge--error`,orange:`eidotter-badge--warning`},ng=(0,p.forwardRef)(({variant:e=`default`,size:t=`md`,dot:n=!1,children:r,className:a,...o},s)=>(0,i.jsxs)(`span`,{ref:s,className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`uppercase tracking-wider`,`rounded-dos-sm`,`eidotter-badge`,eg[t]||eg.md,tg[e]||tg.default,a),"data-variant":e,...o,children:[n&&(0,i.jsx)(`span`,{className:`eidotter-badge__dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-badge__content`,children:r})]}));ng.displayName=`Badge`;var rg=(0,p.forwardRef)(({checked:e,defaultChecked:t=!1,onChange:n,onCheckedChange:r,disabled:a=!1,size:o=`md`,type:s=`default`,label:c,name:l,value:u,className:d,...f},p)=>(0,i.jsx)(Bd,{ref:p,isSelected:e,defaultSelected:t,onChange:n??r,isDisabled:a,name:l,value:u,className:$(`inline-flex items-center gap-2 cursor-pointer outline-none font-dos group`,`eidotter-switch`,a&&`opacity-50 cursor-not-allowed`,d),"data-size":o,"data-type":s,...f,children:({isSelected:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-switch__track`,e&&`eidotter-switch__track--checked`,s===`slim`&&`eidotter-switch__track--slim`,o===`sm`&&`eidotter-switch__track--sm`),children:(0,i.jsx)(`span`,{className:`eidotter-switch__thumb`})}),c&&(0,i.jsx)(`span`,{className:`text-[var(--color-cga-amber)]`,children:c})]})}));rg.displayName=`Switch`;var ig=/^(?:https?:|mailto:)/i,ag=/^([a-z][a-z0-9+\-.]*):/i;function og(e,t){if(typeof e!=`string`)return!1;let n=e.trim();if(n.length===0)return!1;let r=n.replace(/[\t\n\r]/g,``);if(r.length===0)return!1;let i=ag.exec(r);if(!i||ig.test(r))return!0;let a=t?.extraSchemes;if(a&&a.length>0){let e=i[1].toLowerCase();return a.some(t=>t.toLowerCase()===e)}return!1}var sg=`eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline`,cg=({trail:e=[],currentLabel:t,showBackArrow:n=!0,separator:r=`/`,linkComponent:a,className:o})=>{let s=(e,t)=>{let r=(0,i.jsxs)(i.Fragment,{children:[n&&t&&(0,i.jsx)(`span`,{className:`text-[1em] leading-none`,"aria-hidden":`true`,children:`<`}),(0,i.jsx)(`span`,{children:e.label})]});if(e.onClick)return(0,i.jsx)(J,{className:$(sg,`bg-transparent border-0 cursor-pointer font-[inherit] p-0`),onPress:e.onClick,children:r});let o=e.href&&og(e.href)?e.href:void 0;return o?a?(0,i.jsx)(a,{href:o,className:sg,children:r}):(0,i.jsx)(`a`,{href:o,className:sg,children:r}):(0,i.jsx)(`span`,{className:sg,children:r})};return(0,i.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:$(`font-dos text-xs uppercase tracking-[0.35em]`,`eidotter-breadcrumb`,o),children:(0,i.jsxs)(`ol`,{className:`flex flex-wrap items-center gap-2 list-none m-0 p-0`,children:[e.map((t,n)=>{let a=n===e.length-1,o=n<e.length-1;return(0,i.jsxs)(`li`,{className:`flex items-center gap-2`,children:[s(t,a),o&&(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})]},`${t.href??t.label}-${n}`)}),e.length>0&&(0,i.jsx)(`li`,{className:`flex items-center gap-2`,children:(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})}),(0,i.jsx)(`li`,{className:`flex items-center gap-2`,"aria-current":`page`,children:(0,i.jsx)(`span`,{className:`text-dos-text-brand`,children:t})})]})})},lg=`eidotter:retro-boot`,ug=`1`,dg=e=>{if(typeof window>`u`)return!1;try{return window.sessionStorage.getItem(e)===ug}catch{return!1}},fg=e=>{if(!(typeof window>`u`))try{window.sessionStorage.setItem(e,ug)}catch{}},pg=({scanlines:e=!0,glow:t=!0,flicker:n=!0,bloom:r=!1,powered:a=!0,boot:o=!1,bootOnce:s=!1,bootStorageKey:c=lg,intensity:l=1,className:u,onPowerStateChange:d,onPowerOn:f,onPowerOff:m,onBootComplete:h})=>{let g=(0,p.useRef)(a),[_,v]=(0,p.useState)(a?`on`:`off`),[y,b]=(0,p.useState)(o),x=(0,p.useRef)(!1),S=(0,p.useRef)(c),C=(0,p.useRef)(h);(0,p.useEffect)(()=>{C.current=h});let w=()=>{x.current||(x.current=!0,C.current?.())},T=()=>{b(!1),s&&fg(S.current),w()};(0,p.useEffect)(()=>{if(!(!o||!s)&&dg(S.current)){b(!1),w();return}},[]),(0,p.useEffect)(()=>{if(!y||x.current)return;if(Wp()){T();return}let e=window.setTimeout(()=>{T()},1200);return()=>window.clearTimeout(e)},[y]);let E=e=>{e.animationName===`eidotter-retro-boot-glow`&&T()};(0,p.useEffect)(()=>{let e=g.current;if(g.current=a,e!==a){let e=a?`powering-on`:`powering-off`;v(e),d?.(e)}},[a,d]);let D=()=>{_===`powering-on`?(v(`on`),d?.(`on`),f?.()):_===`powering-off`&&(v(`off`),d?.(`off`),m?.())},O=e=>{e.animationName!==`retro-power-on`&&e.animationName!==`retro-power-off`||D()},k=e=>{e.propertyName===`opacity`&&(_!==`powering-on`&&_!==`powering-off`||D())},A={"--retro-intensity":l},j=_!==`off`;return(0,i.jsxs)(`div`,{className:$(`fixed inset-0 pointer-events-none z-[9999]`,`eidotter-retro-effects`,_===`powering-off`&&`eidotter-retro-effects--powering-off`,_===`powering-on`&&`eidotter-retro-effects--powering-on`,_===`off`&&`eidotter-retro-effects--off`,u),style:A,"aria-hidden":`true`,onAnimationEnd:O,onTransitionEnd:k,children:[j&&(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__scanlines`}),t&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__glow`}),n&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__flicker`}),r&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__bloom`})]}),y&&(0,i.jsxs)(`div`,{className:`eidotter-retro-effects__boot`,onAnimationEnd:E,children:[(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-line`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-glow`})]})]})},mg={sm:`small`,md:`medium`,lg:`large`,small:`small`,medium:`medium`,large:`large`},hg={circle:`eidotter-timeline-node--circle`,square:`eidotter-timeline-node--square`,diamond:`eidotter-timeline-node--diamond`},gg={default:`eidotter-timeline-node--default`,primary:`eidotter-timeline-node--primary`,secondary:`eidotter-timeline-node--secondary`,accent:`eidotter-timeline-node--accent`},_g={left:`eidotter-timeline-node--label-left`,right:`eidotter-timeline-node--label-right`,top:`eidotter-timeline-node--label-top`,bottom:`eidotter-timeline-node--label-bottom`},vg=(0,p.forwardRef)(({shape:e=`circle`,variant:t=`default`,isActive:n=!1,label:r,labelPosition:a=`right`,size:o=`md`,className:s,onClick:c,...l},u)=>{let d=mg[o]??`medium`;return(0,i.jsxs)(`div`,{ref:u,className:$(`inline-flex items-center gap-2 font-dos`,`eidotter-timeline-node`,hg[e],gg[t],`eidotter-timeline-node--${d}`,_g[a],n&&`eidotter-timeline-node--active`,c&&`eidotter-timeline-node--interactive`,s),onClick:()=>{c&&c()},onKeyDown:e=>{c&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),c())},role:c?`button`:void 0,tabIndex:c?0:void 0,"aria-pressed":c?n:void 0,...l,children:[r&&a===`left`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--left`,children:r}),r&&a===`top`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--top`,children:r}),(0,i.jsx)(`span`,{className:`eidotter-timeline-node__marker`,"aria-hidden":`true`}),r&&a===`right`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--right`,children:r}),r&&a===`bottom`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--bottom`,children:r})]})});vg.displayName=`TimelineNode`;var yg=[`year`,`month`,`day`,`hour`];function bg({zoomLevel:e,defaultZoomLevel:t=`month`,onZoomChange:n}={}){let r=e===void 0,[i,a]=(0,p.useState)(t),[o,s]=(0,p.useState)([]),c=(0,p.useRef)(r);(0,p.useEffect)(()=>{c.current&&!r&&s([]),c.current=r},[r]);let l=e??i,u=yg.indexOf(l),d=u<yg.length-1,f=u>0,m=o.length>0?o[o.length-1].periodStart:null,h=(0,p.useRef)(r),g=(0,p.useRef)(d),_=(0,p.useRef)(u),v=(0,p.useRef)(o),y=(0,p.useRef)(n);(0,p.useEffect)(()=>{h.current=r,g.current=d,_.current=u,v.current=o,y.current=n});let b=(0,p.useCallback)(e=>{h.current&&a(e),y.current?.(e)},[]);return{zoomLevel:l,canZoomIn:d,canZoomOut:f,breadcrumbs:o,currentPeriod:m,isDrillDownEnabled:r,drillDown:(0,p.useCallback)((e,t)=>{if(!h.current||!g.current)return;let n=yg[_.current+1];n!==void 0&&(s(n=>[...n,{periodStart:e,label:t}]),b(n))},[b]),drillUp:(0,p.useCallback)(()=>{if(!h.current||v.current.length===0)return;let e=yg[_.current-1];e!==void 0&&(s(e=>e.slice(0,-1)),b(e))},[b]),reset:(0,p.useCallback)(()=>{h.current&&(s([]),b(`year`))},[b])}}function xg({selectedEntryId:e,defaultSelectedEntryId:t=null,onSelectEntry:n}={}){let[r,i]=(0,p.useState)(t),a=e!==void 0,o=e===void 0?r:e,s=(0,p.useRef)(o),c=(0,p.useRef)(a),l=(0,p.useRef)(n);(0,p.useEffect)(()=>{s.current=o,c.current=a,l.current=n});let u=(0,p.useCallback)(e=>{c.current||i(e),l.current?.(e)},[]);return{selectedEntryId:o,select:(0,p.useCallback)(e=>{u(e)},[u]),deselect:(0,p.useCallback)(()=>{u(null)},[u]),toggle:(0,p.useCallback)(e=>{c.current?l.current?.(s.current===e?null:e):i(t=>{let n=t===e?null:e;return l.current?.(n),n})},[])}}var Sg=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Cg=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function wg(e){return new Date(e).getUTCFullYear()}function Tg(e){return new Date(e).getUTCMonth()}function Eg(e){return new Date(e).getUTCDate()}function Dg(e){return new Date(e).getUTCHours()}function Og(e){return String(e)}function kg(e,t){return`${Sg[t]} ${e}`}function Ag(e,t,n){return`${Cg[t]} ${n}`}function jg(e,t,n,r){let i=r>=12?`pm`:`am`,a=r===0?12:r>12?r-12:r;return`${Cg[t]} ${n}, ${a}${i}`}function Mg(e){let t=new Date(e),n=Cg[t.getUTCMonth()],r=t.getUTCDate(),i=t.getUTCFullYear(),a=t.getUTCHours(),o=t.getUTCMinutes(),s=a>=12?`pm`:`am`;return`${n} ${r}, ${i} at ${a===0?12:a>12?a-12:a}${o>0?`:${String(o).padStart(2,`0`)}`:``}${s}`}function Ng(e){return new Date(Date.UTC(e,0,1)).toISOString()}function Pg(e,t){return new Date(Date.UTC(e,t,1)).toISOString()}function Fg(e,t,n){return new Date(Date.UTC(e,t,n)).toISOString()}function Ig(e,t,n,r){return new Date(Date.UTC(e,t,n,r)).toISOString()}function Lg(e,t,n,r,i){let a=new Map,o=[];for(let n of e){let e=t(n),r=a.get(e);r?r.push(n):(a.set(e,[n]),o.push(e))}o.sort((e,t)=>i===`asc`?e.localeCompare(t):t.localeCompare(e));for(let[,e]of a)e.sort((e,t)=>{let n=e.date.localeCompare(t.date);return i===`asc`?n:-n});return o.map(e=>({label:n(e),periodStart:r(e),entries:a.get(e)??[]}))}function Rg(e){return String(wg(e.date))}function zg(e){let t=wg(e.date),n=Tg(e.date);return`${t}-${String(n).padStart(2,`0`)}`}function Bg(e){let t=wg(e.date),n=Tg(e.date),r=Eg(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}`}function Vg(e){let t=wg(e.date),n=Tg(e.date),r=Eg(e.date),i=Dg(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}-${String(i).padStart(2,`0`)}`}function Hg(e){return{year:parseInt(e)}}function Ug(e){let[t,n]=e.split(`-`);return{year:parseInt(t),month:parseInt(n)}}function Wg(e){let[t,n,r]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r)}}function Gg(e){let[t,n,r,i]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r),hour:parseInt(i)}}var Kg={year:4,month:7,day:10};function qg(e,t,n){if(t===null||n===`hour`)return e;let r=Kg[n];if(r===void 0)return e;let i=t.slice(0,r);return e.filter(e=>e.periodStart.slice(0,r)===i)}function Jg(e,t,n=`desc`){if(e.length===0)return[];let r=e.filter(e=>!isNaN(new Date(e.date).getTime()));if(r.length===0)return[];switch(t){case`year`:return Lg(r,Rg,e=>{let{year:t}=Hg(e);return Og(t)},e=>{let{year:t}=Hg(e);return Ng(t)},n);case`month`:return Lg(r,zg,e=>{let{year:t,month:n}=Ug(e);return kg(t,n)},e=>{let{year:t,month:n}=Ug(e);return Pg(t,n)},n);case`day`:return Lg(r,Bg,e=>{let{year:t,month:n,day:r}=Wg(e);return Ag(t,n,r)},e=>{let{year:t,month:n,day:r}=Wg(e);return Fg(t,n,r)},n);case`hour`:return Lg(r,Vg,e=>{let{year:t,month:n,day:r,hour:i}=Gg(e);return jg(t,n,r,i)},e=>{let{year:t,month:n,day:r,hour:i}=Gg(e);return Ig(t,n,r,i)},n)}}var Yg=({zoomLevel:e,canZoomIn:t,canZoomOut:n,onZoomIn:r,onZoomOut:a,onReset:o,breadcrumbs:s=[],onBreadcrumbClick:c})=>{let l=s.length>0;return(0,i.jsxs)(`div`,{className:`timeline-zoom-controls`,role:`toolbar`,"aria-label":`Timeline zoom controls`,children:[(0,i.jsx)(tm,{variant:`secondary`,size:`small`,onClick:a,disabled:!n,"aria-label":`Zoom out`,children:`[-]`}),l?(0,i.jsx)(cg,{trail:[{label:`ALL`,onClick:o},...s.slice(0,-1).map((e,t)=>({label:e.label,onClick:()=>c?.(t)}))],currentLabel:s[s.length-1].label,showBackArrow:!1,separator:`>`,className:`timeline-zoom-controls__breadcrumb`}):(0,i.jsx)(J,{className:`timeline-zoom-controls__level`,onPress:o,"aria-label":`Current zoom: ${e}. Click to reset.`,children:(0,i.jsx)(ng,{variant:`accent`,size:`medium`,children:e.toUpperCase()})}),(0,i.jsx)(tm,{variant:`secondary`,size:`small`,onClick:r,disabled:!t,"aria-label":`Zoom in`,children:`[+]`})]})},Xg=({children:e})=>(0,i.jsxs)(`div`,{className:`timeline-axis`,children:[(0,i.jsx)(`div`,{className:`timeline-axis__line`,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:`timeline-axis__content`,children:e})]}),Zg=p.default.memo(({buckets:e,onBucketClick:t})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--year`,role:`list`,children:e.map(e=>(0,i.jsx)(`div`,{className:`timeline-view__bucket timeline-view__bucket--year`,role:`listitem`,children:t?(0,i.jsxs)(J,{className:`timeline-view__bucket-button`,onPress:()=>t(e),children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(ng,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(ng,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]})},e.periodStart))}));Zg.displayName=`YearView`;var Qg=({images:e,initialIndex:t=0,isOpen:n,onClose:r,onIndexChange:a})=>{let o=e.length===0?0:Math.max(0,Math.min(t,e.length-1)),[s,c]=(0,p.useState)(o);(0,p.useEffect)(()=>{n&&c(o)},[n,o]),(0,p.useEffect)(()=>{e.length>0&&s>=e.length&&c(e.length-1)},[e.length,s]);let l=(0,p.useCallback)(t=>{t<0||t>=e.length||t===s||(c(t),a?.(t))},[e.length,s,a]),u=(0,p.useCallback)(()=>l(s-1),[l,s]),d=(0,p.useCallback)(()=>l(s+1),[l,s]),f=p.default.useRef(null),m=(0,p.useCallback)(e=>{f.current=e.touches[0]?.clientX??null},[]),h=(0,p.useCallback)(e=>{let t=f.current;if(f.current=null,t==null)return;let n=(e.changedTouches[0]?.clientX??t)-t;Math.abs(n)<30||(n<0?d():u())},[d,u]);if((0,p.useEffect)(()=>{if(!n)return;let e=e=>{e.key===`ArrowLeft`?(e.preventDefault(),u()):e.key===`ArrowRight`&&(e.preventDefault(),d())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[n,u,d]),e.length===0)return null;let g=Math.max(0,Math.min(s,e.length-1)),_=e[g],v=g>0,y=g<e.length-1;return(0,i.jsx)(bd,{isOpen:n,onOpenChange:e=>{e||r()},isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox-overlay`,e&&`eidotter-lightbox-overlay--entering`,t&&`eidotter-lightbox-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox`,e&&`eidotter-lightbox--entering`,t&&`eidotter-lightbox--exiting`),children:(0,i.jsxs)(pu,{"aria-label":_.alt||`Image viewer`,className:`eidotter-lightbox__container outline-none`,children:[(0,i.jsx)(J,{className:`eidotter-lightbox__close`,onPress:r,"aria-label":`Close lightbox`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})}),(0,i.jsx)(J,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--prev`,onPress:u,isDisabled:!v,"aria-label":`Previous image`,children:`◀`}),(0,i.jsx)(J,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--next`,onPress:d,isDisabled:!y,"aria-label":`Next image`,children:`▶`}),(0,i.jsxs)(`figure`,{className:`eidotter-lightbox__figure`,children:[(0,i.jsx)(`img`,{className:`eidotter-lightbox__image`,src:_.src,alt:_.alt,width:_.width,height:_.height,onTouchStart:m,onTouchEnd:h}),_.caption&&(0,i.jsx)(`figcaption`,{className:`eidotter-lightbox__caption`,children:_.caption})]}),(0,i.jsxs)(`span`,{className:`eidotter-lightbox__counter`,"aria-live":`polite`,children:[`[ `,g+1,` / `,e.length,` ]`]})]})})})};Qg.displayName=`Lightbox`;var $g=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)(!1),{image:o}=e,s=o.thumbnail||o.src,c=o.link&&og(o.link)?o.link:void 0;return(0,p.useEffect)(()=>{t||a(!1)},[t]),c?(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-image eidotter-timeline-card-image--link`,href:c,rel:`noopener noreferrer`,children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media`,src:s,alt:o.alt,width:o.width,height:o.height})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-image`,children:t?(0,i.jsx)(J,{className:`eidotter-timeline-card-image__media-button`,onPress:()=>a(!0),"aria-label":o.alt?`Open ${o.alt} in lightbox`:`Open image in lightbox`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--expanded`,src:o.src,alt:o.alt,width:o.width,height:o.height})}):(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--thumb`,src:s,alt:o.alt,width:o.width,height:o.height})}),(0,i.jsx)(Qg,{images:[o],isOpen:r,onClose:()=>a(!1)})]})},e_=({images:e,isExpanded:t})=>{let[n,r]=(0,p.useState)({phase:`grid`});if((0,p.useEffect)(()=>{t||r({phase:`grid`})},[t]),(0,p.useEffect)(()=>{r(t=>t.phase===`grid`?t:t.index>=e.length?{phase:`grid`}:t)},[e.length]),e.length===0)return null;let a=(e,t)=>{t.link&&og(t.link)||r(t=>t.phase===`focused`&&t.index===e?{phase:`lightbox`,index:e}:{phase:`focused`,index:e})},o=n.phase===`focused`||n.phase===`lightbox`?n.index:null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-card-gallery__grid`,role:`list`,children:e.map((e,t)=>(0,i.jsx)(t_,{image:e,isFocused:o===t,onClick:()=>a(t,e)},t))}),(0,i.jsx)(Qg,{images:e,isOpen:n.phase===`lightbox`,initialIndex:n.phase===`lightbox`?n.index:0,onClose:()=>{r(e=>e.phase===`lightbox`?{phase:`focused`,index:e.index}:e)},onIndexChange:e=>{r(t=>t.phase===`lightbox`?{phase:`lightbox`,index:e}:t)}})]})},t_=({image:e,isFocused:t,onClick:n})=>{let r=e.thumbnail||e.src,a=e.link&&og(e.link)?e.link:void 0;return a?(0,i.jsx)(`div`,{role:`listitem`,className:`eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link`,children:(0,i.jsx)(`a`,{className:`eidotter-timeline-card-gallery__link`,href:a,rel:`noopener noreferrer`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,loading:`lazy`,width:e.width,height:e.height})})}):(0,i.jsx)(`div`,{role:`listitem`,className:$(`eidotter-timeline-card-gallery__cell`,t&&`eidotter-timeline-card-gallery__cell--focused`),children:(0,i.jsx)(J,{className:`eidotter-timeline-card-gallery__button`,onPress:n,"aria-label":e.alt||`Image`,"aria-pressed":t,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})})},n_=({entry:e,isExpanded:t,onSelect:n})=>e.images.length===0?(process.env.NODE_ENV!==`production`&&console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card-gallery__empty`,children:`No images.`})]})):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(e_,{images:e.images,isExpanded:t})]}),r_=4,i_=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let{summary:a,content:o,href:s,hrefLabel:c}=e,l=e.images??[],u=l.length>0,d=s&&og(s)?s:void 0,f=u||o!=null||d!==void 0,p=l.slice(0,r_),m=l.length-p.length;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&typeof a==`string`&&a.length>0&&(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[a.slice(0,80),a.length>80?`...`:``]}),r,!t&&u&&(0,i.jsxs)(`div`,{className:`eidotter-timeline-card-article__thumbstrip`,"aria-hidden":`true`,children:[p.map((e,t)=>(0,i.jsx)(`span`,{className:`eidotter-timeline-card-article__thumb`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-article__thumb-img`,src:e.thumbnail||e.src,alt:``,loading:`lazy`,width:e.width,height:e.height})},t)),m>0&&(0,i.jsxs)(`span`,{className:`eidotter-timeline-card-article__thumb eidotter-timeline-card-article__thumb--more`,children:[`+`,m]})]})]}),f&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:!t||void 0,children:[u&&(0,i.jsx)(e_,{images:l,isExpanded:t}),o!=null&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card-article__content`,children:o}),d&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card-article__footer`,children:(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-article__readmore`,href:d,rel:`noopener noreferrer`,children:[c??`READ MORE`,` →`]})})]})})]})},a_=p.default.memo(({entry:e,isSelected:t,isExpanded:n=!1,onSelect:r,footer:a,children:o})=>(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-card`,t&&`eidotter-timeline-card--selected`,n&&`eidotter-timeline-card--expanded`),children:[o_(e,n,r,o),a&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__footer`,children:a})]}));a_.displayName=`TimelineEntryCard`;function o_(e,t,n,r){switch(e.kind){case`text`:return(0,i.jsx)(c_,{entry:e,isExpanded:t,onSelect:n,children:r});case`image`:return(0,i.jsx)($g,{entry:e,isExpanded:t,onSelect:n});case`gallery`:return(0,i.jsx)(n_,{entry:e,isExpanded:t,onSelect:n});case`article`:return(0,i.jsx)(i_,{entry:e,isExpanded:t,onSelect:n,children:r});default:return s_(e)}}function s_(e){throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`)}var c_=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let a=typeof e.content==`string`,o=e.content!=null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(J,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&a&&(()=>{let t=String(e.content);return(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[t.slice(0,80),t.length>80?`...`:``]})})(),r]}),o&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:!t||void 0,children:e.content})})]})},l_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,onBucketClick:r,renderEntry:a})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--month`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--month`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`,onClick:()=>r?.(e)})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let r=t===e.id,o=()=>(0,i.jsx)(a_,{entry:e,isSelected:r,isExpanded:r,onSelect:n});return(0,i.jsx)(p.default.Fragment,{children:a?a(e,{isExpanded:r,isSelected:r,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));l_.displayName=`MonthView`;var u_={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},d_=({children:e,variant:t=`default`,size:n=`md`,color:r,selected:a=!1,closeable:o=!1,disabled:s=!1,onClick:c,onClose:l,className:u,"aria-label":d,...f})=>{let p=!!c&&!s,{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gp(`tag-exit`,l),_=e=>{s||((e.key===`Enter`||e.key===` `)&&c&&(e.preventDefault(),c(e)),(e.key===`Delete`||e.key===`Backspace`)&&o&&l&&(e.preventDefault(),h()))},v=()=>{s||h()},y=r?{"--tag-color":`var(`+r+`)`}:void 0;return(0,i.jsxs)(`span`,{className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`rounded-dos-sm uppercase tracking-wider`,u_[n]||u_.md,`eidotter-tag`,`eidotter-tag--`+t,a&&`eidotter-tag--selected`,s&&`opacity-50 cursor-not-allowed`,m&&`eidotter-tag--closing`,p&&`cursor-pointer`,u),style:y,onClick:p?e=>!s&&c?.(e):void 0,onKeyDown:_,onAnimationEnd:g,"aria-label":d,"aria-pressed":p?a||!1:void 0,"aria-disabled":s||void 0,"data-variant":t,...p?{role:`button`,tabIndex:0}:{},...f,children:[(0,i.jsx)(`span`,{className:`eidotter-tag__content`,children:e}),o&&(0,i.jsx)(J,{className:`eidotter-tag__close`,"aria-label":`Remove `+(typeof e==`string`?e:`tag`),excludeFromTabOrder:p,onPress:v,isDisabled:s,children:`[x]`})]})},f_={tight:`gap-1`,normal:`gap-2`,loose:`gap-3`},p_=({children:e,gap:t=`normal`,wrap:n=!0,className:r,"aria-label":a,...o})=>(0,i.jsx)(`div`,{className:$(`flex`,n?`flex-wrap`:`flex-nowrap`,f_[t]||f_.normal,r),role:`group`,"aria-label":a,...o,children:e}),m_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--day`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--day`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsx)(a_,{entry:e,isSelected:a,isExpanded:a,onSelect:n,footer:e.tags&&e.tags.length>0?(0,i.jsx)(p_,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(d_,{size:`small`,variant:`outlined`,children:e},e))}):void 0});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:a,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));m_.displayName=`DayView`;var h_=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--hour`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--hour`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsxs)(a_,{entry:e,isSelected:a,isExpanded:!0,onSelect:n,footer:(0,i.jsxs)(`div`,{className:`timeline-view__entry-footer`,children:[e.tags&&e.tags.length>0&&(0,i.jsx)(p_,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(d_,{size:`small`,variant:`outlined`,children:e},e))}),e.type&&(0,i.jsx)(ng,{variant:`default`,size:`small`,children:e.type})]}),children:[(0,i.jsx)(`time`,{className:`timeline-view__timestamp`,dateTime:e.date,children:Mg(e.date)}),e.kind===`text`&&e.content!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.content}),e.kind===`article`&&e.summary!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.summary})]});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:!0,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));h_.displayName=`HourView`;var g_=({zoomLevel:e,buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o})=>{switch(e){case`year`:return(0,i.jsx)(Zg,{buckets:t,onBucketClick:a});case`month`:return(0,i.jsx)(l_,{buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o});case`day`:return(0,i.jsx)(m_,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});case`hour`:return(0,i.jsx)(h_,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});default:return e}},__=({entries:e,selectedEntryId:t,onSelect:n,onDeselect:r,renderEntry:a,formatDate:o})=>{let s=e.find(e=>e.id===t)??null,c=(0,p.useRef)(null),l=(0,p.useRef)(null),u=(0,p.useRef)(t);(0,p.useEffect)(()=>{let e=u.current;u.current=t,t&&t!==e?requestAnimationFrame(()=>l.current?.focus()):!t&&e&&requestAnimationFrame(()=>{c.current?.querySelector(`[data-entry-id="${e}"]`)?.focus()})},[t]);let d=(0,p.useCallback)(r=>{if(e.length===0)return;let i=e.findIndex(e=>e.id===t),a=i===-1?r>0?-1:e.length:i;n(e[Math.max(0,Math.min(e.length-1,a+r))].id)},[e,t,n]),f=(0,p.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),d(1)):e.key===`ArrowUp`?(e.preventDefault(),d(-1)):e.key===`Escape`&&t&&(e.preventDefault(),r())},[d,r,t]);return(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-md`,s&&`eidotter-timeline-md--detail-open`),children:[(0,i.jsx)(`nav`,{ref:c,className:`eidotter-timeline-md__rail`,"aria-label":`Timeline entries`,onKeyDown:f,children:(0,i.jsx)(`ul`,{className:`eidotter-timeline-md__rail-list`,children:e.map(e=>{let r=e.id===t;return(0,i.jsx)(`li`,{className:`eidotter-timeline-md__rail-item`,children:(0,i.jsxs)(`button`,{type:`button`,"data-entry-id":e.id,className:$(`eidotter-timeline-md__rail-button`,r&&`eidotter-timeline-md__rail-button--active`),"aria-current":r?`true`:void 0,onClick:()=>n(e.id),children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-node`,"aria-hidden":`true`,children:(0,i.jsx)(vg,{shape:`circle`,size:`sm`,variant:`default`,isActive:r})}),(0,i.jsxs)(`span`,{className:`eidotter-timeline-md__rail-text`,children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-date`,children:o(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-title`,children:e.title})]})]})},e.id)})})}),(0,i.jsx)(`div`,{ref:l,className:`eidotter-timeline-md__detail`,role:`region`,"aria-label":`Entry detail`,tabIndex:-1,children:s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-md__back`,onClick:r,children:`‹ BACK`}),(0,i.jsx)(`div`,{className:`eidotter-timeline-md__detail-body`,children:(e=>{let t=()=>(0,i.jsx)(a_,{entry:e,isSelected:!0,isExpanded:!0});return a?a(e,{isExpanded:!0,isSelected:!0,defaultRender:t}):t()})(s)},s.id)]}):(0,i.jsxs)(`div`,{className:`eidotter-timeline-md__detail-empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> Select an entry to read.`}),(0,i.jsx)(`p`,{children:`_`})]})})]})};__.displayName=`MasterDetailLayout`;var v_=({entries:e,mode:t=`interactive`,zoomLevel:n,defaultZoomLevel:r=`month`,onZoomChange:a,selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c,sortOrder:l=`desc`,scrollToZoom:u=!0,keyboardShortcuts:d=!0,renderEntry:f,pageSize:m=10,onLoadMore:h,...g})=>{let _=t===`static`,v=t===`feed`,y=_||v,b=t===`master-detail`,x=(0,p.useRef)(null),S=(0,p.useRef)(null),[C,w]=(0,p.useState)(``),{zoomLevel:T,canZoomIn:E,canZoomOut:D,breadcrumbs:O,currentPeriod:k,isDrillDownEnabled:A,drillDown:j,drillUp:M,reset:N}=bg({zoomLevel:n,defaultZoomLevel:r,onZoomChange:a}),{selectedEntryId:ee,select:P,toggle:F,deselect:te}=xg({selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c}),ne=(0,p.useMemo)(()=>Jg(e,T,l),[e,T,l]),re=O.length>0?[`year`,`month`,`day`,`hour`][O.length-1]:null,I=(0,p.useMemo)(()=>k&&re?qg(ne,k,re):ne,[ne,k,re]),L=(0,p.useCallback)(e=>{E&&(j(e.periodStart,e.label),w(`Showing ${T===`year`?`months`:T===`month`?`days`:`hours`} in ${e.label}`))},[E,j,T]),R=(0,p.useCallback)(()=>{I.length>0&&L(I[0])},[I,L]);(0,p.useEffect)(()=>{if(y||b||!u)return;let e=x.current;if(!e)return;let t=null,n=e=>{!e.ctrlKey&&!e.metaKey||(e.preventDefault(),t===null&&(t=requestAnimationFrame(()=>{e.deltaY>0&&M(),t=null})))};return e.addEventListener(`wheel`,n,{passive:!1}),()=>{e.removeEventListener(`wheel`,n),t!==null&&cancelAnimationFrame(t)}},[y,b,u,A,E,M]),(0,p.useEffect)(()=>{if(y||b||!d)return;let e=e=>{if(!x.current?.contains(document.activeElement)&&document.activeElement!==x.current)return;let t=e.ctrlKey||e.metaKey;t&&(e.key===`=`||e.key===`+`)?(e.preventDefault(),R()):t&&e.key===`-`?(e.preventDefault(),M()):t&&e.key===`0`?(e.preventDefault(),N(),w(`Showing all years`)):e.key===`Escape`&&(e.preventDefault(),te())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[y,b,d,R,M,N,te]);let ie=(0,p.useCallback)(e=>L(e),[L]),z=(0,p.useRef)(O.length);(0,p.useEffect)(()=>{if(O.length!==z.current){z.current=O.length;let e=S.current?.querySelector(`.eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role="button"]`);e&&requestAnimationFrame(()=>e.focus())}},[O.length]);let B=(0,p.useMemo)(()=>!y&&!b?e:[...e].sort((e,t)=>{let n=e.date.localeCompare(t.date);return l===`desc`?-n:n}),[y,b,e,l]),V=Math.max(1,m),[ae,oe]=(0,p.useState)(V);(0,p.useEffect)(()=>{v&&oe(e=>{let t=B.length;return t===0?V:e>t?Math.max(V,t):e})},[v,V,B.length]);let se=(0,p.useMemo)(()=>v?B.slice(0,ae):B,[v,B,ae]),ce=v&&ae<B.length,H=(0,p.useCallback)(()=>{let e=Math.min(ae+V,B.length);e<=ae||(oe(e),h?.(e))},[ae,V,B.length,h]),le=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),ue=e=>{try{return le.format(new Date(e))}catch{return e}};return(0,i.jsxs)(`div`,{ref:x,...g,className:$(`font-dos text-dos-text-brand p-4`,`eidotter-timeline-container`,_&&`eidotter-timeline-container--static`,v&&`eidotter-timeline-container--feed`,b&&`eidotter-timeline-container--master-detail`,g.className),role:`region`,"aria-label":g[`aria-label`]??`Timeline`,tabIndex:y||b?void 0:0,children:[(0,i.jsx)(`div`,{className:`sr-only`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),!y&&!b&&(0,i.jsx)(Yg,{zoomLevel:T,canZoomIn:E,canZoomOut:D,onZoomIn:R,onZoomOut:M,onReset:N,breadcrumbs:A?O:[],onBreadcrumbClick:e=>{let t=O.length-1-e;for(let e=0;e<t;e++)M()}}),(0,i.jsx)(`div`,{ref:S,children:e.length===0?(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> No entries found.`}),(0,i.jsx)(`p`,{children:`_`})]}):_?(0,i.jsx)(Xg,{children:(0,i.jsx)(`div`,{className:`eidotter-timeline-container__static`,role:`list`,"aria-label":`Timeline`,children:B.map(e=>{let t=()=>(0,i.jsx)(a_,{entry:e,isSelected:!1,isExpanded:!0});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__static-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:ue(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:!0,isSelected:!1,defaultRender:t}):t()]},e.id)})})}):v?(0,i.jsxs)(Xg,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-container__feed`,role:`list`,"aria-label":`Timeline`,children:se.map(e=>{let t=ee===e.id,n=()=>(0,i.jsx)(a_,{entry:e,isSelected:t,isExpanded:t,onSelect:F});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__feed-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(vg,{shape:`circle`,size:`medium`,variant:`default`,label:ue(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:t,isSelected:t,defaultRender:n}):n()]},e.id)})}),ce&&(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-container__load-more`,onClick:H,"aria-label":`Load more entries (showing ${ae} of ${B.length})`,children:`LOAD MORE...`})]}):b?(0,i.jsx)(__,{entries:B,selectedEntryId:ee,onSelect:P,onDeselect:te,renderEntry:f,formatDate:ue}):I.length===0&&k?(0,i.jsx)(Xg,{children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsxs)(`p`,{children:[`C:\\TIMELINE> No entries in `,O[O.length-1]?.label??`this period`,`.`]}),(0,i.jsx)(`p`,{children:`_`})]})}):(0,i.jsx)(Xg,{children:(0,i.jsx)(g_,{zoomLevel:T,buckets:I,selectedEntryId:ee,onEntrySelect:F,onBucketClick:ie,renderEntry:f})})})]})},y_={milestone:`milestone`,project:`project`,event:`event`},b_=e=>e.tags?.[0];function x_(e){return e.kind===`article`?e.href:void 0}function S_({entries:e,categories:t,categoryOf:n=b_,activeCategory:r,defaultCategory:a=null,onCategoryChange:o,linkComponent:s,className:c,...l}){let u=s??`a`,d=r!==void 0,[f,m]=(0,p.useState)(a),h=d?r:f,g=e=>{d||m(e),o?.(e)},_=(0,p.useMemo)(()=>{let e=new Map;return t?.forEach(t=>e.set(t.key,t.color)),e},[t]),v=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),y=e=>{try{return v.format(new Date(e))}catch{return e}},b=(0,p.useMemo)(()=>h?e.filter(e=>n(e)===h):e,[h,e,n]);return(0,i.jsxs)(`section`,{className:$(`eidotter-feed font-dos`,c),...l,children:[t&&t.length>0&&(0,i.jsxs)(`div`,{className:`eidotter-feed__filter`,role:`group`,"aria-label":`Filter by category`,children:[(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-feed__chip`,h===null&&`eidotter-feed__chip--active`),"aria-pressed":h===null,onClick:()=>g(null),children:[`all`,h!==null&&(0,i.jsxs)(`span`,{className:`eidotter-feed__count`,children:[` · `,b.length,` of `,e.length]})]}),t.map(e=>(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-feed__chip`,h===e.key&&`eidotter-feed__chip--active`),"aria-pressed":h===e.key,onClick:()=>g(e.key),style:e.color?{"--eidotter-feed-chip":e.color}:void 0,children:[(0,i.jsx)(`span`,{className:`eidotter-feed__chip-dot`,"aria-hidden":`true`}),e.label]},e.key))]}),(0,i.jsx)(`ol`,{className:`eidotter-feed__list`,"aria-label":l[`aria-label`]??`Timeline feed`,children:b.map(e=>{let t=n(e),r=t?_.get(t):void 0,a=x_(e),o=a&&og(a)?a:void 0,s=e.type?y_[e.type]:void 0;return(0,i.jsxs)(`li`,{className:`eidotter-feed__row`,children:[(0,i.jsx)(`span`,{className:`eidotter-feed__dot`,"aria-hidden":`true`,style:r?{"--eidotter-feed-dot":r}:void 0}),(0,i.jsx)(`time`,{className:`eidotter-feed__date`,dateTime:e.date,children:y(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-feed__title`,children:o?(0,i.jsx)(u,{href:o,className:`eidotter-feed__title-link`,children:e.title}):e.title}),s&&(0,i.jsx)(`span`,{className:`eidotter-feed__kind`,children:s})]},e.id)})})]})}var C_=e=>e.tags?.[0],w_=e=>e.kind===`article`?e.summary:void 0;function T_(e){if(e.kind===`image`)return e.image;if(e.kind===`gallery`)return e.images[0];if(e.kind===`article`)return e.images?.[0]}function E_(e){return e.kind===`article`?e.href:void 0}function D_(e){let t=new Date(e).getFullYear();return Number.isNaN(t)?e.slice(0,4):String(t)}function O_({entries:e,categories:t,categoryOf:n=C_,descriptionOf:r=w_,activeCategory:a,defaultCategory:o=null,onCategoryChange:s,brand:c,preview:l=!0,linkComponent:u,className:d,...f}){let m=u??`a`,h=a!==void 0,[g,_]=(0,p.useState)(o),v=h?a:g,y=e=>{h||_(e),s?.(e)},b=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{month:`short`,day:`numeric`}),[]),x=e=>{try{return b.format(new Date(e))}catch{return e}},S=(0,p.useMemo)(()=>v?e.filter(e=>n(e)===v):e,[v,e,n]),C=(0,p.useMemo)(()=>{let e=new Map;for(let t of S){let n=D_(t.date),r=e.get(n);r?r.push(t):e.set(n,[t])}return Array.from(e.entries()).map(([e,t])=>({year:e,entries:[...t].sort((e,t)=>t.date.localeCompare(e.date))})).sort((e,t)=>t.year.localeCompare(e.year))},[S]),[w,T]=(0,p.useState)(null),E=(0,p.useMemo)(()=>S.find(e=>e.id===w)??S[0],[S,w]),D=E?T_(E):void 0;return(0,i.jsxs)(`section`,{className:$(`eidotter-blog font-dos`,d),...f,children:[(c||t&&t.length>0)&&(0,i.jsxs)(`div`,{className:`eidotter-blog__filter`,children:[c&&(0,i.jsx)(`div`,{className:`eidotter-blog__brand`,children:c}),t&&t.length>0&&(0,i.jsxs)(`div`,{className:`eidotter-blog__chips`,role:`group`,"aria-label":`Filter by category`,children:[(0,i.jsx)(`button`,{type:`button`,className:$(`eidotter-blog__chip`,v===null&&`eidotter-blog__chip--active`),"aria-pressed":v===null,onClick:()=>y(null),children:`all`}),t.map(e=>(0,i.jsxs)(`button`,{type:`button`,className:$(`eidotter-blog__chip`,v===e.key&&`eidotter-blog__chip--active`),"aria-pressed":v===e.key,onClick:()=>y(e.key),style:e.color?{"--eidotter-blog-chip":e.color}:void 0,children:[(0,i.jsx)(`span`,{className:`eidotter-blog__chip-dot`,"aria-hidden":`true`}),e.label]},e.key)),v!==null&&(0,i.jsxs)(`span`,{className:`eidotter-blog__count`,children:[S.length,` of `,e.length]})]})]}),(0,i.jsxs)(`div`,{className:`eidotter-blog__body`,children:[(0,i.jsxs)(`div`,{className:`eidotter-blog__timeline`,children:[C.map(e=>(0,i.jsxs)(`div`,{className:`eidotter-blog__year-group`,children:[(0,i.jsx)(`h2`,{className:`eidotter-blog__year`,children:e.year}),(0,i.jsx)(`ol`,{className:`eidotter-blog__entries`,children:e.entries.map(e=>{let t=E_(e),n=t&&og(t)?t:void 0,a=r(e),o=()=>T(e.id);return(0,i.jsxs)(`li`,{className:$(`eidotter-blog__entry`,E?.id===e.id&&`eidotter-blog__entry--focused`),onMouseEnter:o,onFocus:o,children:[(0,i.jsx)(`span`,{className:`eidotter-blog__dot`,"aria-hidden":`true`}),(0,i.jsx)(`time`,{className:`eidotter-blog__date`,dateTime:e.date,children:x(e.date)}),(0,i.jsx)(`h3`,{className:`eidotter-blog__title`,children:n?(0,i.jsx)(m,{href:n,className:`eidotter-blog__title-link`,children:e.title}):e.title}),a&&(0,i.jsx)(`p`,{className:`eidotter-blog__desc`,children:a})]},e.id)})})]},e.year)),C.length===0&&(0,i.jsx)(`p`,{className:`eidotter-blog__empty`,children:`C:\\LOG> No entries.`})]}),l&&(0,i.jsx)(`aside`,{className:`eidotter-blog__preview`,"aria-hidden":`true`,children:(0,i.jsxs)(`div`,{className:`eidotter-blog__preview-inner`,children:[D?(0,i.jsx)(`img`,{className:`eidotter-blog__preview-img`,src:D.thumbnail??D.src,alt:``,loading:`lazy`}):(0,i.jsx)(`div`,{className:`eidotter-blog__preview-placeholder`,children:`▓▒░ · ░▒▓`}),E&&(0,i.jsx)(`div`,{className:`eidotter-blog__preview-caption`,children:(0,i.jsx)(`span`,{className:`eidotter-blog__preview-title`,children:E.title})})]})})]})]})}var k_=(0,p.forwardRef)(({isOpen:e,onOpenChange:t,onClose:n,title:r,children:a,footer:o,className:s},c)=>{let l=(0,p.useRef)(e),u=(0,p.useRef)(!1);(0,p.useEffect)(()=>{e!==l.current&&(l.current=e,u.current||(t?.(e),e||n?.()),u.current=!1)},[e,t,n]);let d=e=>{u.current=!0,t?.(e),e||n?.()};return(0,i.jsx)(bd,{isOpen:e,onOpenChange:d,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-modal-overlay`,e&&`eidotter-modal-overlay--entering`,t&&`eidotter-modal-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-modal`,e&&`eidotter-modal--entering`,t&&`eidotter-modal--exiting`),children:(0,i.jsxs)(pu,{ref:c,"aria-label":r,className:$(`eidotter-modal__container outline-none`,s),children:[(0,i.jsxs)(`header`,{className:`eidotter-modal__header`,children:[(0,i.jsx)(`h2`,{className:`eidotter-modal__title`,children:r}),(0,i.jsx)(J,{className:`eidotter-modal__close`,onPress:()=>d(!1),"aria-label":`Close modal`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-modal__body`,children:a}),o&&(0,i.jsx)(`footer`,{className:`eidotter-modal__footer`,children:o})]})})})});k_.displayName=`Modal`;var A_=`░▒▓█│┤┐└┴┬├─┼`,j_=4;function M_(e,t){let{speed:n=40,characters:r=A_,enabled:i=!0,delay:a=0}=t??{},[o,s]=(0,p.useState)(()=>{if(!i||Wp())return e;let t=``;for(let n=0;n<e.length;n++)e[n]===` `?t+=` `:t+=r[Math.floor(Math.random()*r.length)];return t}),[c,l]=(0,p.useState)(!1),u=(0,p.useRef)(0);return(0,p.useEffect)(()=>{if(!i||Wp()){s(e),l(!1);return}let t=0,o=0,c=0,d=a;l(!0);let f=i=>{c||=i;let a=i-c;if(d>0){d-=a,c=i,u.current=requestAnimationFrame(f);return}if(a>=n){if(c=i,o++,o>=j_&&(t++,o=0),t>=e.length){s(e),l(!1);return}let n=``;for(let i=0;i<e.length;i++)i<t?n+=e[i]:e[i]===` `?n+=` `:n+=r[Math.floor(Math.random()*r.length)];s(n)}u.current=requestAnimationFrame(f)};return u.current=requestAnimationFrame(f),()=>{u.current&&cancelAnimationFrame(u.current)}},[e,n,r,i,a]),{text:o,isScrambling:c}}var N_={sm:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},md:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},lg:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`},small:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},medium:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},large:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`}},P_={up:`text-dos-text-success`,down:`text-dos-text-error`,neutral:`text-dos-text-brand`},F_={up:`▲`,down:`▼`,neutral:`►`},I_={up:`increasing`,down:`decreasing`,neutral:`unchanged`},L_=(0,p.forwardRef)(({label:e,value:t,trend:n,trendValue:r,size:a=`md`,scramble:o=!1,unit:s,note:c,target:l,className:u,...d},f)=>{let{text:p}=M_(String(t),{speed:30,enabled:o}),m=o?p:String(t),h=N_[a]||N_.md;return(0,i.jsxs)(`div`,{ref:f,className:$(`flex flex-col font-dos`,`eidotter-stat`,h.root,u),...d,children:[(0,i.jsx)(`span`,{className:$(`text-dos-text-brand uppercase tracking-wider leading-tight`,h.label),children:e}),(0,i.jsxs)(`span`,{className:$(`text-dos-text-accent font-bold leading-none tabular-nums`,h.value),children:[m,s&&(0,i.jsx)(`span`,{className:`eidotter-stat__unit ml-1 text-[0.5em] font-normal text-dos-text-brand`,children:s})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-stat__note text-dos-text-muted leading-tight ${h.trend}`,children:c}),l&&(0,i.jsx)(`span`,{className:`eidotter-stat__target text-dos-text-brand leading-tight ${h.trend}`,children:l}),n&&(0,i.jsxs)(`span`,{className:$(`inline-flex items-center gap-1 leading-none`,P_[n],h.trend),"aria-label":`Trend: ${I_[n]}${r?`, ${r}`:``}`,children:[(0,i.jsx)(`span`,{className:`text-[0.8em]`,"aria-hidden":`true`,children:F_[n]}),r&&(0,i.jsx)(`span`,{className:`tabular-nums`,children:r})]})]})});L_.displayName=`Stat`;var R_={sm:`eidotter-filter-bar--sm`,md:`eidotter-filter-bar--md`,lg:`eidotter-filter-bar--lg`,small:`eidotter-filter-bar--sm`,medium:`eidotter-filter-bar--md`,large:`eidotter-filter-bar--lg`},z_=({items:e,activeIds:t,defaultActiveIds:n=[],mode:r=`multi`,showAll:a=!1,allLabel:o=`All`,size:s=`md`,onChange:c,className:l,...u})=>{let[d,f]=(0,p.useState)(n),m=(0,p.useRef)(null),h=t!==void 0,g=h?t:d,_=e.filter(e=>!e.disabled).map(e=>e.id),v=g.length===0,y=(0,p.useCallback)(e=>{h||f(e),c?.(e)},[h,c]),b=(0,p.useCallback)(e=>{if(r===`single`){let t=g.includes(e)?[]:[e];y(t)}else{let t=g.includes(e)?g.filter(t=>t!==e):[...g,e];y(t)}},[r,g,y]),x=(0,p.useCallback)(()=>{y([])},[y]),S=(0,p.useCallback)(()=>m.current?Array.from(m.current.querySelectorAll(`button:not([disabled])`)):[],[]),C=(0,p.useCallback)(e=>{let t=S(),n=t.indexOf(e.target);if(n===-1)return;let r=null;switch(e.key){case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r=n>0?n-1:t.length-1;break;case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r=n<t.length-1?n+1:0;break;case`Home`:e.preventDefault(),r=0;break;case`End`:e.preventDefault(),r=t.length-1;break}r!==null&&t[r].focus()},[S]),w=a&&v?`__all__`:g.length>0?g[0]:a?`__all__`:_[0]||null;return(0,i.jsxs)(`div`,{ref:m,className:$(`inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full`,`bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm`,`eidotter-filter-bar`,R_[s]||R_.md,l),role:`toolbar`,onKeyDown:C,...u,children:[a&&(0,i.jsx)(J,{className:$(`eidotter-filter-bar__item`,`eidotter-filter-bar__item--all`,v&&`eidotter-filter-bar__item--active`),"aria-pressed":v,excludeFromTabOrder:w!==`__all__`,onPress:x,children:(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:o})}),e.map(e=>{let t=g.includes(e.id),n=t&&e.color?{"--filter-bar-item-color":`var(${e.color})`}:void 0;return(0,i.jsxs)(J,{className:$(`eidotter-filter-bar__item`,t&&`eidotter-filter-bar__item--active`,e.disabled&&`eidotter-filter-bar__item--disabled`),"aria-pressed":t,excludeFromTabOrder:w!==e.id,isDisabled:e.disabled,onPress:()=>b(e.id),style:n,children:[(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:e.label}),e.count!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-filter-bar__count`,"aria-label":`${e.count} items`,children:e.count})]},e.id)})]})},B_=e=>{if(!e)return!1;try{let t=new URL(e);return[`http:`,`https:`,`mailto:`].includes(t.protocol)}catch{return!1}};function V_(e){try{let{hostname:t}=new URL(e);return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`}catch{return null}}var H_=({children:e,content:t,defaultExpanded:n=!1,expanded:r,onToggle:a,sources:o=[],className:s,...c})=>{let[l,u]=(0,p.useState)(n),[d,f]=(0,p.useState)({}),m=(0,p.useId)(),h=(0,p.useRef)(null),g=r!==void 0,_=g?r:l,v=()=>{let e=!_;g||u(e),a?.(e)},y=()=>{v(),h.current?.focus()};return(0,i.jsxs)(`span`,{className:$(`eidotter-inline-expand`,_&&`eidotter-inline-expand--expanded`,s),"aria-live":`polite`,onKeyDown:e=>{e.key===`Escape`&&_&&(e.stopPropagation(),v(),h.current?.focus())},...c,children:[(0,i.jsxs)(J,{ref:h,className:`eidotter-inline-expand__trigger`,"aria-expanded":_,"aria-controls":m,onPress:v,children:[e,(0,i.jsx)(`span`,{className:`eidotter-inline-expand__indicator`,"aria-hidden":`true`,children:_?`[-]`:`[+]`})]}),_&&(0,i.jsxs)(i.Fragment,{children:[` `,(0,i.jsxs)(`span`,{id:m,className:`eidotter-inline-expand__content`,"data-ai-skip":`true`,children:[t,(0,i.jsx)(J,{className:`eidotter-inline-expand__collapse`,"aria-expanded":!0,"aria-controls":m,"aria-label":`Collapse`,onPress:y,children:`[-]`}),o.length>0&&(0,i.jsx)(`span`,{className:`eidotter-inline-expand__sources`,role:`list`,children:o.map(e=>(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-item`,role:`listitem`,children:(0,i.jsx)(`a`,{href:B_(e.url)?e.url:void 0,className:`eidotter-inline-expand__source-link`,target:`_blank`,rel:`noopener noreferrer`,title:e.title,"aria-label":`${e.title} (opens external website)`,children:(()=>{let t=d[e.url];if(t===`icon`)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let n=!!e.favicon&&B_(e.favicon);if(!t&&n)return(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:e.favicon,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`google`}))});let r=V_(e.url);return r?(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:r,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`icon`}))}):(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`})})()})},e.url))})]})]})]})},U_={horizontal:`h-px w-full`,vertical:`w-px h-full`},W_=({orientation:e=`horizontal`,className:t})=>(0,i.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:$(`shrink-0 bg-dos-border-default`,`eidotter-separator`,U_[e],t)}),G_={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},K_=({title:e,count:t,tone:n=`default`,children:r,className:a})=>(0,i.jsxs)(`h3`,{className:$(`eidotter-section-heading`,`font-dos uppercase tracking-wider mb-2 text-dos-text-sm`,G_[n],a),children:[e,t!==void 0&&` (${t})`,r]});K_.displayName=`SectionHeading`;var q_={default:`text-dos-text-primary`,muted:`text-dos-text-muted line-through`,error:`text-dos-error`},J_=({checked:e,onToggle:t,disabled:n,pending:r,ariaLabel:a,labelTone:o=`default`,label:s,children:c,note:l,leading:u,trailing:d,className:f})=>(0,i.jsxs)(`div`,{className:$(`eidotter-checklist-row`,`flex items-start gap-3 py-2 border-b border-dos-border-disabled`,r&&`opacity-50`,f),children:[(0,i.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":e,onClick:t,disabled:n,"aria-label":a??(e?`Mark as incomplete`:`Mark as complete`),className:$(`shrink-0 pt-0.5 font-dos text-dos-text-sm`,`text-dos-text-primary hover:text-dos-text-accent`,`cursor-pointer disabled:cursor-not-allowed`),children:e?`[x]`:`[ ]`}),(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[u&&(0,i.jsx)(`div`,{className:`mb-1`,children:u}),s!==void 0&&(0,i.jsx)(`div`,{className:$(`font-dos text-dos-text-sm`,q_[o]),children:s}),c,l&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:l})]}),d&&(0,i.jsx)(`div`,{className:`flex items-center gap-2 shrink-0`,children:d})]});J_.displayName=`ChecklistRow`;var Y_=({value:e,label:t=`[cp]`,copiedLabel:n=`[OK]`,title:r=`Copy to clipboard`,copiedTitle:a=`Copied!`,className:o})=>{let[s,c]=(0,p.useState)(!1),l=(0,p.useRef)(null),u=(0,p.useCallback)(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)},[]),d=(0,p.useCallback)(()=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{let e=document.execCommand(`copy`);return t.remove(),e}catch{return t.remove(),!1}},[e]);return(0,i.jsx)(`button`,{type:`button`,onClick:(0,p.useCallback)(()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e).then(u).catch(()=>{d()&&u()}):d()&&u()},[e,u,d]),title:s?a:r,"aria-label":s?a:r,className:$(`eidotter-copy-button`,`font-dos text-dos-text-xs px-1`,`text-dos-link hover:text-dos-link-hover cursor-pointer`,o),children:s?n:t})};Y_.displayName=`CopyButton`;var X_={sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-2`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-2`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},Z_=(e=`md`)=>({small:`sm`,medium:`md`,large:`lg`})[e]??e,Q_=`eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider`,$_=`eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs`,ev=`eidotter-select__error text-dos-text-error font-dos text-dos-text-xs`,tv=`eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border`,nv=`eidotter-select__option font-dos`,rv=`NO MATCHES`,iv=e=>e==null||e===``?null:e,av=({options:e,label:t,placeholder:n,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,isRequired:f,name:p,id:m,className:h,"aria-label":g})=>{let _=o===`error`,v=c!==void 0,y=Z_(s);return(0,i.jsxs)(Md,{"aria-label":t?void 0:g,selectedKey:v?iv(c):void 0,defaultSelectedKey:v?void 0:l,onSelectionChange:e=>u?.(e==null?``:String(e)),isDisabled:d,isInvalid:_,isRequired:f,name:p,placeholder:n,className:$(`eidotter-select flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(Xr,{className:Q_,children:t}),(0,i.jsxs)(J,{id:m,className:$(tv,X_[y]),children:[(0,i.jsx)(Id,{className:`eidotter-select__value flex-1 text-left truncate`}),(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})]}),r&&!_&&(0,i.jsx)(ui,{slot:`description`,className:$_,children:r}),a&&_&&(0,i.jsx)(ui,{slot:`errorMessage`,className:ev,children:a}),(0,i.jsx)(wl,{className:`eidotter-select__popover`,children:(0,i.jsx)(Cs,{className:`eidotter-select__listbox`,items:e,children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:nv,children:e.label})})})]})},ov=({options:e,label:t,placeholder:n,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,isRequired:f,name:p,id:m,className:h,emptyMessage:g=rv,"aria-label":_})=>{let v=o===`error`,y=c!==void 0,b=Z_(s);return(0,i.jsxs)(sd,{"aria-label":t?void 0:_,defaultItems:e,selectedKey:y?iv(c):void 0,defaultSelectedKey:y?void 0:l,onSelectionChange:e=>u?.(e==null?``:String(e)),isDisabled:d,isInvalid:v,isRequired:f,name:p,menuTrigger:`focus`,allowsEmptyCollection:!0,className:$(`eidotter-select eidotter-select--searchable flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(Xr,{className:Q_,children:t}),(0,i.jsxs)(`div`,{className:$(tv,X_[b]),children:[(0,i.jsx)(ia,{id:m,placeholder:n,className:`eidotter-select__input flex-1 min-w-0 bg-transparent text-inherit outline-none`}),(0,i.jsx)(J,{className:`eidotter-select__arrow-btn`,"aria-label":`Show options`,children:(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})})]}),r&&!v&&(0,i.jsx)(ui,{slot:`description`,className:$_,children:r}),a&&v&&(0,i.jsx)(ui,{slot:`errorMessage`,className:ev,children:a}),(0,i.jsx)(wl,{className:`eidotter-select__popover`,children:(0,i.jsx)(Cs,{className:`eidotter-select__listbox`,renderEmptyState:()=>(0,i.jsx)(`div`,{className:`eidotter-select__empty`,children:g}),children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:nv,children:e.label})})})]})},sv=({options:e,label:t,placeholder:n=`Select…`,description:r,errorMessage:a,variant:o=`default`,size:s,value:c,defaultValue:l,onChange:u,disabled:d,name:f,id:m,className:h,searchable:g,searchPlaceholder:_=`FILTER…`,emptyMessage:v=rv,"aria-label":y})=>{let b=o===`error`,x=c!==void 0,S=Z_(s),C=(0,p.useRef)(null),[w,T]=(0,p.useState)(!1),[E,D]=(0,p.useState)(``),[O,k]=(0,p.useState)(l??[]),A=x?c??[]:O,j=`${(0,p.useId)()}-label`,M=(0,p.useMemo)(()=>new Set(x?c??[]:O),[x,c,O]),N=(0,p.useMemo)(()=>new Map(e.map(e=>[e.value,e.label])),[e]),ee=(0,p.useMemo)(()=>{if(!g||!E.trim())return e;let t=E.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,g,E]),P=t=>{let n=t===`all`?e.map(e=>e.value):Array.from(t,String);x||k(n),u?.(n)},F=e=>{T(e),e&&D(``)},te=A.length===0?n:A.map(e=>N.get(e)??e).join(`, `);return(0,i.jsxs)(`div`,{className:$(`eidotter-select eidotter-select--multi flex flex-col gap-1`,h),children:[t&&(0,i.jsx)(`span`,{id:j,className:Q_,children:t}),(0,i.jsxs)(J,{ref:C,id:m,isDisabled:d,"aria-label":t?void 0:y,"aria-labelledby":t?j:void 0,"aria-haspopup":`listbox`,"aria-expanded":w,onPress:()=>F(!w),className:$(tv,X_[S],b&&`eidotter-select__trigger--error`),children:[(0,i.jsx)(`span`,{className:$(`eidotter-select__value flex-1 text-left truncate`,A.length===0&&`eidotter-select__value--placeholder text-dos-text-muted`),children:te}),(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__arrow`,children:`▼`})]}),r&&!b&&(0,i.jsx)(`span`,{className:$_,children:r}),a&&b&&(0,i.jsx)(`span`,{className:ev,children:a}),f&&A.map(e=>(0,i.jsx)(`input`,{type:`hidden`,name:f,value:e},e)),(0,i.jsxs)(wl,{triggerRef:C,isOpen:w,onOpenChange:F,className:`eidotter-select__popover`,children:[g&&(0,i.jsx)(`input`,{autoFocus:!0,type:`text`,className:`eidotter-select__search font-dos`,placeholder:_,value:E,onChange:e=>D(e.target.value),"aria-label":`Filter options`}),(0,i.jsx)(Cs,{"aria-label":y||t||`Options`,selectionMode:`multiple`,selectedKeys:M,onSelectionChange:P,items:ee,autoFocus:g?void 0:`first`,renderEmptyState:()=>(0,i.jsx)(`div`,{className:`eidotter-select__empty`,children:v}),className:`eidotter-select__listbox`,children:e=>(0,i.jsx)(Ds,{id:e.value,textValue:e.label,isDisabled:e.disabled,className:$(nv,`eidotter-select__option--multi`),children:({isSelected:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`eidotter-select__check`,children:t?`[x]`:`[ ]`}),(0,i.jsx)(`span`,{className:`flex-1`,children:e.label})]})})})]})]})},cv=e=>e.multiple?(0,i.jsx)(sv,{...e}):e.searchable?(0,i.jsx)(ov,{...e}):(0,i.jsx)(av,{...e});cv.displayName=`Select`;var lv=({label:e,note:t,value:n,copyValue:r,trailing:a,pending:o,className:s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-ledger-row`,`flex items-center gap-3 py-2 border-b border-dos-border-disabled`,o&&`opacity-50`,s),children:[(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,i.jsx)(`div`,{className:`font-dos text-dos-text-sm text-dos-text-primary`,children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:t})]}),(0,i.jsxs)(`div`,{className:`flex items-center gap-1 shrink-0`,children:[(0,i.jsx)(`span`,{className:`font-dos text-dos-text-sm text-dos-text-accent tabular-nums`,children:n}),r!==void 0&&(0,i.jsx)(Y_,{value:r}),a]})]});lv.displayName=`LedgerRow`;var uv=({label:e,value:t,max:n=100,valueSuffix:r=`%`,showValue:a=!0,className:o,"aria-label":s})=>{let c=n===0?0:Math.min(100,Math.max(0,Math.round(t/n*100)));return(0,i.jsxs)(`div`,{className:$(`eidotter-labeled-progress`,`flex items-center gap-3`,o),children:[e&&(0,i.jsx)(`span`,{className:`eidotter-labeled-progress__label font-dos text-dos-text-sm text-dos-text-muted shrink-0`,children:e}),(0,i.jsx)(`div`,{role:`progressbar`,"aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,"aria-label":s??(typeof e==`string`?e:`${c}${r}`),className:`eidotter-labeled-progress__track relative h-3 flex-1 overflow-hidden bg-dos-bg-primary border border-dos-border-disabled`,children:(0,i.jsx)(`div`,{className:`eidotter-labeled-progress__fill absolute inset-y-0 left-0 w-full bg-dos-bg-accent`,style:{transform:`scaleX(${c/100})`}})}),a&&(0,i.jsxs)(`span`,{className:`eidotter-labeled-progress__value font-dos text-dos-text-sm text-dos-text-accent tabular-nums shrink-0`,children:[c,r]})]})};uv.displayName=`LabeledProgress`;var dv=(0,p.forwardRef)(({children:e,speed:t,characters:n,delay:r,className:a,...o},s)=>{let{text:c,isScrambling:l}=M_(e,{speed:t,characters:n,delay:r});return(0,i.jsx)(`span`,{ref:s,className:$(`eidotter-text-scramble`,l&&`eidotter-text-scramble--scrambling`,a),...o,children:c})});dv.displayName=`TextScramble`;var fv={retro:`eidotter-nav--retro`,modern:`eidotter-nav--modern`},pv=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let o=r||`a`;return(0,i.jsx)(`nav`,{className:$(`eidotter-nav eidotter-nav--desktop`,fv[n],a),"aria-label":`Main navigation`,children:(0,i.jsx)(`ul`,{className:`eidotter-nav__desktop-list`,children:e.map(e=>{let n=og(e.href)?e.href:void 0,r=$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`);return(0,i.jsx)(`li`,{className:`eidotter-nav__desktop-item`,children:n?(0,i.jsx)(o,{href:n,className:r,"aria-current":t===e.href?`page`:void 0,children:e.label}):(0,i.jsx)(`span`,{className:r,children:e.label})},e.href)})})})},mv=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let[o,s]=(0,p.useState)(!1),c=r||`a`,l=(0,p.useRef)(null),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(!1),m=(0,p.useCallback)(()=>s(e=>!e),[]),h=(0,p.useCallback)(()=>s(!1),[]);return(0,p.useEffect)(()=>{if(!o)return;let e=e=>{e.key===`Escape`&&h()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o,h]),(0,p.useEffect)(()=>{o?u.current?.focus():f.current&&l.current?.focus(),f.current=o},[o]),(0,i.jsxs)(`div`,{className:$(`eidotter-nav eidotter-nav--mobile`,fv[n],a),children:[(0,i.jsx)(`button`,{ref:l,onClick:m,className:`eidotter-nav__menu-trigger`,"aria-label":o?`Close menu`:`Open menu`,"aria-expanded":o,"aria-controls":`eidotter-mobile-nav-panel`,children:`MENU`}),o&&(0,i.jsx)(`div`,{className:`eidotter-nav__overlay`,onClick:h,"aria-hidden":`true`}),(0,i.jsxs)(`nav`,{ref:d,id:`eidotter-mobile-nav-panel`,className:$(`eidotter-nav__panel`,o&&`eidotter-nav__panel--open`),"aria-label":`Mobile navigation`,inert:!o,onKeyDown:e=>{if(e.key!==`Tab`||!o)return;let t=d.current?.querySelectorAll(`a[href], button:not([disabled])`);if(!t||t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())},children:[(0,i.jsx)(`div`,{className:`eidotter-nav__panel-header`,children:(0,i.jsx)(`button`,{ref:u,onClick:h,className:`eidotter-nav__close`,"aria-label":`Close menu`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})}),(0,i.jsx)(`ul`,{className:`eidotter-nav__list`,children:e.map(e=>{let n=og(e.href)?e.href:void 0,r=$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`);return(0,i.jsx)(`li`,{className:`eidotter-nav__item`,children:n?(0,i.jsx)(c,{href:n,className:r,"aria-current":t===e.href?`page`:void 0,onClick:h,children:e.label}):(0,i.jsx)(`span`,{className:r,children:e.label})},e.href)})})]})]})},hv=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(mv,{...e}),(0,i.jsx)(pv,{...e})]}),gv={user:`eidotter-chat-message--user`,assistant:`eidotter-chat-message--assistant`,system:`eidotter-chat-message--system`},_v=({role:e,content:t,isStreaming:n=!1,userPrefix:r=`>`,assistantPrefix:a=`C:\\>`,className:o,...s})=>{let c=e===`user`?r:e===`assistant`?a:``;return(0,i.jsxs)(`div`,{className:$(`flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words`,gv[e],n&&`eidotter-chat-message--streaming`,o),...s,children:[c&&(0,i.jsx)(`span`,{className:`shrink-0 select-none`,"aria-hidden":`true`,children:c}),(0,i.jsx)(`span`,{className:`min-w-0`,children:t}),n&&(0,i.jsx)(`span`,{className:`eidotter-chat-message__cursor`,"aria-hidden":`true`,children:`_`})]})},vv=({messages:e,isStreaming:t=!1,userPrefix:n,assistantPrefix:r,className:a,...o})=>{let s=(0,p.useRef)(null);(0,p.useEffect)(()=>{s.current?.scrollIntoView?.({behavior:`smooth`})},[e.length,t]);let c=$(`flex-1 overflow-y-auto font-dos p-2 min-h-0`,`eidotter-chat-history`,a);return e.length===0?(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsx)(`div`,{className:`flex items-center justify-center h-full min-h-16`,children:(0,i.jsx)(`span`,{className:`text-dos-text-muted font-dos text-dos-text-md`,children:`Awaiting input...`})})}):(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsxs)(`div`,{className:`flex flex-col`,children:[e.map((a,o)=>{let s=t&&a.role===`assistant`&&o===e.length-1;return(0,i.jsx)(_v,{role:a.role,content:a.content,isStreaming:s,userPrefix:n,assistantPrefix:r},a.id)}),(0,i.jsx)(`div`,{ref:s})]})})},yv=({onSend:e,prompt:t=`>`,placeholder:n,disabled:r=!1,className:a,...o})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);(0,p.useLayoutEffect)(()=>{let e=l.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[s]);let u=t=>{if(t.key===`Enter`&&!t.shiftKey&&!r){t.preventDefault();let n=s.trim();n&&(e(n),c(``))}};return(0,i.jsxs)(`div`,{className:$(`flex items-start font-dos text-dos-text-md p-2 cursor-text`,`text-dos-text-brand`,`eidotter-chat-input`,r&&`eidotter-chat-input--disabled`,a),onClick:()=>{!r&&l.current&&l.current.focus()},...o,children:[(0,i.jsx)(`span`,{className:`text-dos-text-brand mr-2 mt-0.5 whitespace-nowrap select-none`,"aria-hidden":`true`,children:t}),(0,i.jsxs)(`div`,{className:`flex items-start flex-1 min-w-0`,children:[(0,i.jsx)(`textarea`,{ref:l,className:`eidotter-chat-input__textarea`,value:s,onChange:e=>c(e.target.value),onKeyDown:u,placeholder:n,disabled:r,rows:1,"aria-label":`Chat input`}),(0,i.jsx)(`span`,{className:`eidotter-chat-input__cursor`,"aria-hidden":`true`,children:`_`})]})]})},bv=({messages:e,onSend:t,isStreaming:n=!1,inputPrompt:r,userPrefix:a,assistantPrefix:o,placeholder:s,disabled:c=!1,className:l,...u})=>(0,i.jsxs)(`div`,{className:$(`flex flex-col h-full min-h-0`,l),...u,children:[(0,i.jsx)(vv,{className:`flex-1 min-h-0`,messages:e,isStreaming:n,userPrefix:a,assistantPrefix:o}),(0,i.jsx)(yv,{className:`shrink-0`,onSend:t,prompt:r,placeholder:s,disabled:c})]}),xv=[{label:`Impressum`,href:`/impressum`},{label:`Datenschutz`,href:`/datenschutz`}],Sv=({copyright:e,links:t,linkComponent:n,children:r,className:a,...o})=>{let s=t??xv,c=n??`a`,l=`eidotter-footer__link text-dos-text-brand no-underline`;return(0,i.jsxs)(`footer`,{className:$(`font-dos text-sm py-4 px-2 text-center`,`eidotter-footer`,a),...o,children:[(0,i.jsx)(`div`,{className:`h-px bg-dos-border-default mb-4`,role:`separator`}),r&&(0,i.jsx)(`div`,{className:`mb-3`,children:r}),s.length>0&&(0,i.jsx)(`nav`,{className:`flex justify-center items-center flex-wrap gap-2 mb-2`,"aria-label":`Footer links`,children:s.map((e,t)=>{let n=og(e.href)?e.href:void 0;return(0,i.jsxs)(p.default.Fragment,{children:[t>0&&(0,i.jsx)(`span`,{className:`text-dos-text-muted select-none eidotter-footer__dot`,"aria-hidden":`true`,children:`·`}),n?e.external?(0,i.jsx)(`a`,{className:l,href:n,target:`_blank`,rel:`noopener noreferrer`,children:e.label}):(0,i.jsx)(c,{className:l,href:n,children:e.label}):(0,i.jsx)(`span`,{className:l,children:e.label})]},e.href)})}),e&&(0,i.jsxs)(`p`,{className:`text-dos-text-muted m-0`,children:[`© `,e]})]})},Cv=$(`eidotter-header__return`,`inline-flex items-center gap-1 no-underline`,`border border-dos-border-default rounded-dos-base`,`px-2 py-0.5 text-dos-text-xs uppercase tracking-wider`);function wv({context:e,linkComponent:t,activeHref:n}){let r=t??`a`,{categories:a,returnTo:o}=e,s=o&&og(o.href)?o.href:void 0,c=(e,t)=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let n=window.open(t,`rizomorf-shell`);n&&(e.preventDefault(),n.focus())},l=o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{"aria-hidden":`true`,children:`←`}),(0,i.jsx)(`span`,{children:o.label})]});return(0,i.jsxs)(`div`,{className:$(`eidotter-header__context`,`flex w-full flex-wrap items-center gap-x-4 gap-y-2`),children:[o&&(s===void 0?(0,i.jsx)(`span`,{className:Cv,children:l}):o.reuseTab?(0,i.jsx)(`a`,{href:s,onClick:e=>c(e,s),className:Cv,children:l}):(0,i.jsx)(r,{href:s,className:Cv,children:l})),a.length>0&&(0,i.jsx)(`nav`,{"aria-label":`Categories`,className:`eidotter-header__categories-nav`,children:(0,i.jsx)(`ul`,{className:$(`eidotter-header__categories`,`m-0 flex list-none flex-wrap items-center gap-2 p-0`),children:a.map(e=>{let t=og(e.href)?e.href:void 0,a=n!==void 0&&e.href===n,o=$(`eidotter-header__category inline-flex no-underline`,a&&`eidotter-header__category--active`),s=(0,i.jsxs)(ng,{size:`sm`,variant:`default`,children:[Vp(e.icon)&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:`me-1 inline-flex`,children:(0,i.jsx)(Up,{name:e.icon,size:`S`,className:`eidotter-header__category-icon`})}),e.label]});return(0,i.jsx)(`li`,{"data-category-key":e.key,className:`eidotter-header__category-item`,children:t===void 0?(0,i.jsx)(`span`,{className:o,children:s}):(0,i.jsx)(r,{href:t,className:o,"aria-current":a?`page`:void 0,children:s})},e.key)})})})]})}var Tv={retro:`eidotter-header--retro`,modern:`eidotter-header--modern`},Ev=(0,p.forwardRef)(({brandName:e,brandHref:t=`/`,items:n,activeHref:r,variant:a=`retro`,sticky:o=!0,linkComponent:s,context:c,children:l,className:u,...d},f)=>{let p=s??`a`,m=og(t)?t:`/`,h=!!c&&(c.categories.length>0||!!c.returnTo),g=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p,{href:m,className:$(`no-underline text-base font-bold tracking-wide`,`eidotter-header__branding`),children:l||e}),(0,i.jsx)(pv,{items:n,activeHref:r,variant:a,linkComponent:s}),(0,i.jsx)(mv,{items:n,activeHref:r,variant:a,linkComponent:s})]});return(0,i.jsx)(`header`,{ref:f,className:$(h?`flex flex-col gap-2 px-4 py-3 font-dos`:`flex items-center justify-between px-4 py-3 font-dos`,`eidotter-header`,Tv[a],o&&`sticky top-0 z-50 bg-dos-bg-primary`,u),...d,children:h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`eidotter-header__main flex w-full items-center justify-between`,children:g}),(0,i.jsx)(wv,{context:c,linkComponent:s,activeHref:r})]}):g})});Ev.displayName=`Header`;var Dv={delicate:{base:5,mid:3.2,tip:3.6,curvature:22},medium:{base:8,mid:4.4,tip:5,curvature:30}},Ov=28,kv=e=>Math.round(e*100)/100,Av=(e,t,n)=>e+(t-e)*n,jv=e=>e<.5?2*e*e:1-(-2*e+2)**2/2;function Mv(e,t){return e<.5?Av(t.base,t.mid,jv(e/.5)):Av(t.mid,t.tip,jv((e-.5)/.5))}function Nv(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n.width/2,o=n.height/2,s=r===0?1/0:a/Math.abs(r),c=i===0?1/0:o/Math.abs(i),l=Math.min(s,c);return Number.isFinite(l)?{x:e.x+r*l,y:e.y+i*l}:{x:e.x,y:e.y}}function Pv(e,t,n,r,i){let a=1-i,o=a*a*a,s=3*a*a*i,c=3*a*i*i,l=i*i*i;return{x:o*e.x+s*t.x+c*n.x+l*r.x,y:o*e.y+s*t.y+c*n.y+l*r.y}}function Fv(e,t,n,r,i){let a=1-i,o=3*a*a,s=6*a*i,c=3*i*i;return{x:o*(t.x-e.x)+s*(n.x-t.x)+c*(r.x-n.x),y:o*(t.y-e.y)+s*(n.y-t.y)+c*(r.y-n.y)}}function Iv(e,t,n,r={}){let{sign:i=1,sway:a=0}=r,o=t.x-e.x,s=t.y-e.y,c=Math.hypot(o,s);if(c<.5)return``;let l=-s/c,u=o/c,d=Math.min(n.curvature,c/3),f=(d+a)*i,p=(d*.5-a*.6)*i,m={x:e.x+o*.33+l*f,y:e.y+s*.33+u*f},h={x:e.x+o*.66+l*p,y:e.y+s*.66+u*p},g=[],_=[];for(let r=0;r<=Ov;r++){let i=r/Ov,a=Pv(e,m,h,t,i),o=Fv(e,m,h,t,i),s=Math.hypot(o.x,o.y)||1,c=-o.y/s,l=o.x/s,u=Mv(i,n);g.push({x:a.x+c*u,y:a.y+l*u}),_.push({x:a.x-c*u,y:a.y-l*u})}let v=`M ${kv(g[0].x)} ${kv(g[0].y)}`;for(let e=1;e<=Ov;e++)v+=` L ${kv(g[e].x)} ${kv(g[e].y)}`;for(let e=Ov;e>=0;e--)v+=` L ${kv(_[e].x)} ${kv(_[e].y)}`;return v+=` Z`,v}var Lv=.0011,Rv=4,zv=(0,p.forwardRef)(({sourceRef:e,targets:t,weight:n=`delicate`,sway:r=!0,refreshKey:a,className:o,...s},c)=>{let l=(0,p.useId)().replace(/[:]/g,``),u=(0,p.useRef)(null),d=(0,p.useRef)([]),f=(0,p.useRef)([]),m=(0,p.useRef)(null),h=(0,p.useRef)(t);h.current=t;let g=(0,p.useRef)(n);g.current=n;let _=(0,p.useCallback)(e=>{u.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]),v=e=>`eidotter-connector-${l}-${e}`;return(0,p.useEffect)(()=>{let t=u.current;if(!t)return;let n=n=>{let i=t.getBoundingClientRect(),a=e.current;if(!a)return;let o=a.getBoundingClientRect(),s={x:o.left-i.left+o.width/2,y:o.top-i.top+o.height/2},c=Dv[g.current]??Dv.delicate,l=r&&!Wp();h.current.forEach((e,t)=>{let r=e.ref.current,a=d.current[t];if(!a)return;if(!r){a.setAttribute(`d`,``);return}let o=r.getBoundingClientRect();if(o.width===0&&o.height===0){a.setAttribute(`d`,``);return}let u={x:o.left-i.left,y:o.top-i.top,width:o.width,height:o.height},p=Nv({x:u.x+u.width/2,y:u.y+u.height/2},s,u),m=t%2==0?1:-1,h=l?Math.sin(n*Lv+t*1.7)*Rv:0;a.setAttribute(`d`,Iv(s,p,c,{sign:m,sway:h}));let g=f.current[t];g&&(g.setAttribute(`x1`,String(s.x)),g.setAttribute(`y1`,String(s.y)),g.setAttribute(`x2`,String(p.x)),g.setAttribute(`y2`,String(p.y)))})},i=!1,a=()=>{i=!1,m.current!=null&&typeof cancelAnimationFrame<`u`&&(cancelAnimationFrame(m.current),m.current=null)},o=e=>{n(e),i&&typeof requestAnimationFrame<`u`&&(m.current=requestAnimationFrame(o))},s=()=>{r&&!Wp()&&typeof requestAnimationFrame<`u`?i||(i=!0,m.current=requestAnimationFrame(o)):n(0)},c=()=>{i||n(0)},l=typeof ResizeObserver<`u`?new ResizeObserver(c):void 0,p=()=>{l?.disconnect(),l?.observe(t),e.current&&l?.observe(e.current),h.current.forEach(e=>e.ref.current&&l?.observe(e.ref.current))};p();let _=t.parentElement,v=_&&typeof MutationObserver<`u`?new MutationObserver(()=>{p(),c()}):void 0;return _&&v?.observe(_,{childList:!0,subtree:!0}),window.addEventListener(`resize`,c),s(),()=>{a(),l?.disconnect(),v?.disconnect(),window.removeEventListener(`resize`,c)}},[e,t.length,n,r,a]),(0,i.jsxs)(`svg`,{ref:_,className:$(`eidotter-connector pointer-events-none absolute inset-0 h-full w-full overflow-visible text-dos-text-accent`,o),"aria-hidden":`true`,focusable:`false`,...s,children:[(0,i.jsx)(`defs`,{children:t.map((e,t)=>(0,i.jsxs)(`linearGradient`,{id:v(t),gradientUnits:`userSpaceOnUse`,ref:e=>{f.current[t]=e},children:[(0,i.jsx)(`stop`,{offset:`0%`,stopColor:`currentColor`}),(0,i.jsx)(`stop`,{offset:`78%`,stopColor:e.color??`currentColor`})]},t))}),t.map((e,t)=>(0,i.jsx)(`path`,{d:``,fill:`url(#${v(t)})`,ref:e=>{d.current[t]=e}},t))]})});zv.displayName=`Connector`;var Bv={primary:`Info`,gray:`Info`,success:`Done`,warning:`Warning`,error:`Error`},Vv=({type:e=`primary`,title:t,children:n,actions:r,onClose:a,avatar:o,image:s,progress:c,progressLabel:l,duration:u,showIcon:d=!0,className:f})=>{let{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gp(`notification-exit`,a);(0,p.useEffect)(()=>{if(u==null||!a)return;let e=setTimeout(()=>h(),u);return()=>clearTimeout(e)},[u,a,h]);let _=d&&!o,v=c!=null;return(0,i.jsxs)(`div`,{className:$(`w-full max-w-[400px]`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-notification`,`eidotter-notification--${e}`,m&&`eidotter-notification--closing`,f),onAnimationEnd:g,role:e===`error`?`alert`:`status`,"data-type":e,children:[s&&(0,i.jsx)(`div`,{className:`eidotter-notification__image`,children:s}),(0,i.jsxs)(`div`,{className:`flex flex-row gap-4 p-4`,children:[o&&(0,i.jsx)(`div`,{className:`eidotter-notification__avatar flex-shrink-0`,children:o}),_&&(0,i.jsx)(`div`,{className:`eidotter-notification__icon`,children:(0,i.jsx)(Up,{name:Bv[e]||`Info`,size:`S`,"aria-label":`${e} notification`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,a&&!_&&!o&&`pr-8`),children:[(t||n)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[t&&(0,i.jsx)(`div`,{className:`eidotter-notification__title font-dos leading-[140%]`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos leading-[140%]`,children:n})]}),v&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,i.jsx)(pm,{value:c,max:100,size:`sm`,fullWidth:!0,showLabel:!1}),l&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos text-dos-text-xs`,children:l})]}),r&&r.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:r.map((e,t)=>(0,i.jsxs)(J,{className:`eidotter-notification__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),a&&(0,i.jsx)(J,{className:`eidotter-notification__close`,onPress:h,"aria-label":`Close notification`,children:(0,i.jsx)(Up,{name:`Close`,size:`S`})})]})]})};function Hv(e){let t=e.trim();return t===``||og(t,{extraSchemes:[`tel`,`ftp`,`sms`]})?t:`#`}function Uv(e,t){if(t.length===0)return e;let n=new Set((e??``).split(/\s+/).map(e=>e.trim().toLowerCase()).filter(Boolean));for(let e of t)n.add(e.toLowerCase());return Array.from(n).join(` `)}var Wv=(0,p.forwardRef)(({children:e,href:t,showGlyph:n=!0,external:r=!1,className:a,target:o,rel:s,...c},l)=>{let u=Hv(t),d=o??(r?`_blank`:void 0),f=d===`_blank`,p=f?Uv(s,[`noopener`,`noreferrer`]):s,m=r&&f?`↗`:`▸`;return(0,i.jsxs)(`a`,{ref:l,href:u,target:d,rel:p,className:$(`eidotter-ilink`,r&&`eidotter-ilink--external`,a),...c,children:[(0,i.jsx)(`span`,{className:`eidotter-ilink__label`,children:e}),n&&(0,i.jsx)(`span`,{className:`eidotter-ilink__glyph`,"aria-hidden":`true`,children:m})]})});Wv.displayName=`InlineLink`;var Gv=(0,p.forwardRef)(({title:e,resolution:t,subject:n,caption:r,pins:a=[],animated:o=!0,"aria-label":s,className:c},l)=>{let u=(0,p.useId)(),d=r?u:void 0;return(0,i.jsxs)(`figure`,{ref:l,className:$(`eidotter-dos-figure`,o&&`eidotter-dos-figure--animated`,c),role:`img`,"aria-label":s,"aria-describedby":d,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-dos-figure__title`,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{children:e})}),(0,i.jsxs)(`div`,{className:`eidotter-dos-figure__frame`,children:[(0,i.jsx)(`div`,{className:`eidotter-dos-figure__subject`,children:n}),a.length>0&&(0,i.jsx)(`ul`,{className:`eidotter-dos-figure__pins`,role:`list`,children:a.map((e,t)=>{let n=Number.isFinite(e.x)?Math.max(0,Math.min(100,e.x)):0,r=Number.isFinite(e.y)?Math.max(0,Math.min(100,e.y)):0;return(0,i.jsxs)(`li`,{className:`eidotter-dos-figure__pin`,style:{left:`${n}%`,top:`${r}%`},children:[(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-label`,children:e.label})]},`${n}-${r}-${t}`)})}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__scanline`,"aria-hidden":`true`}),t&&(0,i.jsx)(`span`,{className:`eidotter-dos-figure__resolution`,"aria-hidden":`true`,children:t})]}),r&&(0,i.jsx)(`figcaption`,{id:u,className:`eidotter-dos-figure__caption`,children:r})]})});Gv.displayName=`DosFigure`;var Kv=(0,i.jsx)(i.Fragment,{children:`↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE`});function qv(e){let t=e.toLowerCase().split(`+`).map(e=>e.trim()),n=t[t.length-1],r=t.includes(`mod`),i=t.includes(`shift`),a=t.includes(`alt`);return e=>{if(e.key.toLowerCase()!==n)return!1;let t=typeof navigator<`u`&&/Mac|iPhone|iPad/.test(navigator.platform);return!(!(r?t?e.metaKey:e.ctrlKey:!(e.metaKey||e.ctrlKey))||i!==e.shiftKey||a!==e.altKey)}}function Jv(e,t){if(!t)return 0;let n=t.toLowerCase(),r=e.label.toLowerCase(),i=(e.keywords||[]).map(e=>e.toLowerCase());return r.startsWith(n)?100:i.some(e=>e.startsWith(n))?80:r.includes(n)?50:i.some(e=>e.includes(n))?30:(e.type||``).toLowerCase().includes(n)?10:-1}var Yv=(0,p.forwardRef)(({open:e,onOpenChange:t,items:n,placeholder:r=`SEARCH · TYPE · ▸`,hotkey:a=`mod+k`,emptyMessage:o=`NO MATCHES`,footerHint:s=Kv,renderItem:c,maxResults:l=20,className:u,"aria-label":d=`Command palette`},f)=>{let m=(0,p.useId)(),h=`${m}-listbox`,[g,_]=(0,p.useState)(``),[v,y]=(0,p.useState)(0),b=(0,p.useRef)(null),x=(0,p.useRef)(null),S=(0,p.useRef)(!1),C=(0,p.useMemo)(()=>g.trim()?n.map(e=>({item:e,score:Jv(e,g.trim())})).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).slice(0,l).map(e=>e.item):n.slice(0,l),[n,g,l]);(0,p.useEffect)(()=>{e&&(_(``),y(0))},[e]),(0,p.useEffect)(()=>{y(0)},[g]),(0,p.useEffect)(()=>{y(e=>Math.min(e,Math.max(0,C.length-1)))},[C.length]),(0,p.useEffect)(()=>{if(e){let e=window.setTimeout(()=>b.current?.focus(),10);return()=>window.clearTimeout(e)}},[e]);let w=(0,p.useRef)(e),T=(0,p.useRef)(t);(0,p.useEffect)(()=>{w.current=e},[e]),(0,p.useEffect)(()=>{T.current=t},[t]),(0,p.useEffect)(()=>{if(a===!1)return;let e=qv(a),t=t=>{e(t)&&(t.preventDefault(),T.current(!w.current))};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[a]),(0,p.useEffect)(()=>{if(!e||C.length===0)return;let t=x.current?.querySelector(`[data-index="${v}"]`);if(t&&typeof t.scrollIntoView==`function`){S.current=!0,t.scrollIntoView({block:`nearest`});let e=window.setTimeout(()=>{S.current=!1},0);return()=>window.clearTimeout(e)}},[v,C,e]);let E=(0,p.useCallback)(e=>{e.onSelect?.(e),t(!1)},[t]);return(0,i.jsx)(bd,{isOpen:e,onOpenChange:t,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal-overlay`,e&&`eidotter-cmdpal-overlay--entering`,t&&`eidotter-cmdpal-overlay--exiting`),children:(0,i.jsx)(vd,{className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal`,e&&`eidotter-cmdpal--entering`,t&&`eidotter-cmdpal--exiting`),children:(0,i.jsxs)(pu,{"aria-label":d,className:$(`eidotter-cmdpal__container outline-none`,u),ref:f,children:[(0,i.jsxs)(`div`,{className:`eidotter-cmdpal__head`,"aria-hidden":`true`,children:[(0,i.jsx)(`span`,{children:`▸ JUMP TO`}),(0,i.jsx)(`span`,{className:`eidotter-cmdpal__blink`,children:`_`})]}),(0,i.jsx)(`input`,{ref:b,type:`text`,role:`combobox`,"aria-controls":h,"aria-expanded":!0,"aria-autocomplete":`list`,"aria-activedescendant":C[v]?`${m}-item-${C[v].id}`:void 0,className:`eidotter-cmdpal__input`,value:g,placeholder:r,onChange:e=>_(e.target.value),onKeyDown:e=>{if(e.key===`ArrowDown`)e.preventDefault(),y(e=>Math.min(e+1,Math.max(0,C.length-1)));else if(e.key===`ArrowUp`)e.preventDefault(),y(e=>Math.max(0,e-1));else if(e.key===`Enter`){let t=C[v];t&&(e.preventDefault(),E(t))}}}),(0,i.jsxs)(`ul`,{ref:x,id:h,role:`listbox`,"aria-label":d,className:`eidotter-cmdpal__results`,children:[C.length===0&&(0,i.jsx)(`li`,{className:`eidotter-cmdpal__empty`,role:`presentation`,children:o}),C.map((e,t)=>{let n=t===v;return(0,i.jsx)(`li`,{id:`${m}-item-${e.id}`,role:`option`,"aria-selected":n,"data-index":t,className:$(`eidotter-cmdpal__item`,n&&`eidotter-cmdpal__item--selected`),onMouseMove:()=>{S.current||y(t)},onClick:()=>E(e),children:c?c(e,n):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(`span`,{className:`eidotter-cmdpal__item-label`,children:[(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-caret`,"aria-hidden":`true`,children:n?`▸`:` `}),e.label]}),e.hint!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-hint`,children:e.hint})]})},e.id)})]}),s&&(0,i.jsx)(`div`,{className:`eidotter-cmdpal__footer`,"aria-hidden":`true`,children:s})]})})})});Yv.displayName=`CmdPalette`;var Xv=(0,p.forwardRef)(({size:e=32,glow:t=!0,title:n=`eiDotter`,className:r,...a},o)=>{let s=(0,p.useId)(),c=`eidotter-logo-halo-${s}`,l=`eidotter-logo-core-${s}`;return(0,i.jsxs)(`svg`,{ref:o,width:e,height:e,viewBox:`8 7 22 22`,xmlns:`http://www.w3.org/2000/svg`,role:n?`img`:void 0,"aria-hidden":!n||void 0,className:$(`eidotter-logo`,t&&`eidotter-logo--glow`,r),...a,children:[n?(0,i.jsx)(`title`,{children:n}):null,(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`radialGradient`,{id:c,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 19.1) scale(13.2)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.3`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]}),(0,i.jsxs)(`radialGradient`,{id:l,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 18.9) scale(9.9)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.45`}),(0,i.jsx)(`stop`,{offset:`0.6`,stopColor:`#9A5700`,stopOpacity:`0.22`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]})]}),(0,i.jsx)(`path`,{d:`M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z`,fill:`url(#${c})`}),(0,i.jsx)(`path`,{d:`M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z`,fill:`url(#${l})`}),(0,i.jsx)(`path`,{d:`M20.375 9.0625H17.625V9.75H20.375V9.0625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M17.625 9.75H16.9375V10.4375H17.625V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 9.75H20.375V10.4375H22.4375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 11.125H13.5V11.8125H14.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M13.5 11.8125H12.8125V12.5H13.5V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 12.5H12.125V13.875H12.8125V12.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 13.875H11.4375V15.9375H12.125V13.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 15.9375H10.75V18H11.4375V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 18H10.0625V19.375H10.75V18Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 19.375H10.75V20.75H11.4375V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 20.75H11.4375V22.125H12.125V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 22.125H12.125V23.5H12.8125V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 15.25H26.5625V17.3125H27.25V15.25Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 19.375H26.5625V20.75H27.25V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 20.75H25.875V22.125H26.5625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 22.125H25.1875V23.5H25.875V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 24.1875H14.1875V24.875H16.25V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.3125 24.875H16.25V25.5625H18.3125V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M20.375 25.5625H18.3125V26.25H20.375V25.5625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 24.875H20.375V25.5625H22.4375V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M24.5 24.1875H22.4375V24.875H24.5V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 23.5H24.5V24.1875H25.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M29.3125 16.625H28.625V17.3125H29.3125V16.625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M28.625 20.75H27.9375V21.4375H28.625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 21.4375H10.0625V22.125H10.75V21.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 15.25H15.5625V17.3125H16.25V15.25Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M18.3125 13.875H16.25V14.5625H18.3125V13.875Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M16.25 14.5625H15.5625V15.25H16.25V14.5625Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M17.5 17C18.3284 17 19 16.3284 19 15.5C19 14.6716 18.3284 14 17.5 14C16.6716 14 16 14.6716 16 15.5C16 16.3284 16.6716 17 17.5 17Z`,fill:`#FFD97A`}),(0,i.jsx)(`path`,{d:`M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z`,fill:`#FFE8A8`})]})});Xv.displayName=`Logo`;var Zv=(0,p.forwardRef)(({glow:e=!0,className:t,...n},r)=>(0,i.jsxs)(`span`,{ref:r,className:$(`eidotter-wordmark font-dos`,e&&`eidotter-wordmark--glow`,t),"aria-label":`eiDotter`,...n,children:[(0,i.jsx)(`span`,{className:`eidotter-wordmark__prefix`,"aria-hidden":`true`,children:`ei`}),(0,i.jsx)(`span`,{className:`eidotter-wordmark__body`,"aria-hidden":`true`,children:`Dotter`})]}));Zv.displayName=`Wordmark`;var Qv=(0,p.forwardRef)(({logoSize:e=32,iconOnly:t=!1,wordmarkOnly:n=!1,glow:r=!0,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`eidotter-brand-lockup inline-flex items-center gap-3`,a),role:`img`,"aria-label":`eiDotter`,...o,children:[!n&&(0,i.jsx)(Xv,{size:e,glow:r,title:``}),!t&&(0,i.jsx)(Zv,{glow:r,"aria-hidden":`true`})]}));Qv.displayName=`BrandLockup`;var $v=e=>Math.round(e*100)/100;function ey(e,t,n={}){let{curvature:r=24}=n;if(e.width===0||e.height===0)return[];let i=t.filter(e=>!(e.width===0&&e.height===0));if(i.length===0)return[];let a=e.width/2,o=e.height/2,s=[];return i.forEach((t,n)=>{let i=t.x-e.x,c=t.y-e.y,l=i+t.width/2>=a?i:i+t.width,u=c+t.height/2,d=l-a,f=u-o,p=Math.hypot(d,f);if(p<1)return;let m=(n%2==0?1:-1)*Math.min(r,p/3),h=(a+l)/2,g=(o+u)/2,_=h+-f/p*m,v=g+d/p*m;s.push(`M ${$v(a)} ${$v(o)} Q ${$v(_)} ${$v(v)} ${$v(l)} ${$v(u)}`)}),s}var ty=[],ny=(0,p.forwardRef)(({size:e=48,label:t=`eiDotter`,morph:n=!0,arms:r,className:a,style:o,...s},c)=>{let l=(0,p.useRef)(null),[u,d]=(0,p.useState)(ty),f=(0,p.useCallback)(e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]);return(0,p.useEffect)(()=>{if(!r){d(ty);return}let e=l.current,t=r.scopeRef.current;if(!e)return;let n=[],i=()=>{let t=ey(e.getBoundingClientRect(),n.map(e=>e.getBoundingClientRect()));d(e=>e.length===t.length&&e.every((e,n)=>e===t[n])?e:t)},a=()=>r.targetRefs?r.targetRefs.map(e=>e.current).filter(e=>!!e):t?Array.from(t.querySelectorAll(r.targetSelector??`.eidotter-header__category`)):[],o=typeof ResizeObserver<`u`?new ResizeObserver(i):void 0,s=()=>{o?.disconnect(),n=a(),o?.observe(e),t&&o?.observe(t),n.forEach(e=>o?.observe(e)),i()};s();let c=t&&typeof MutationObserver<`u`?new MutationObserver(s):void 0;return t&&c?.observe(t,{childList:!0,subtree:!0}),window.addEventListener(`resize`,i),()=>{o?.disconnect(),c?.disconnect(),window.removeEventListener(`resize`,i)}},[r?.scopeRef,r?.targetSelector,r?.refreshKey,r?.targetRefs?.length,+!!r]),(0,i.jsxs)(`div`,{ref:f,role:t?`img`:void 0,"aria-label":t||void 0,"aria-hidden":!t||void 0,className:$(`eidotter-mark relative inline-block`,a),style:{width:e,height:e,...o},...s,children:[r&&(0,i.jsx)(`svg`,{className:`eidotter-mark__arms pointer-events-none absolute inset-0 h-full w-full overflow-visible text-dos-text-accent`,"aria-hidden":`true`,focusable:`false`,children:u.map((e,t)=>(0,i.jsx)(`path`,{d:e,fill:`none`,stroke:`currentColor`,strokeWidth:2},t))}),(0,i.jsx)(`span`,{className:$(`eidotter-mark__blob relative block h-full w-full`,n&&`eidotter-mark__blob--morph`)})]})});ny.displayName=`Mark`;var ry=({children:e,className:t,title:n=`AI-assisted text — being rewritten`})=>(0,i.jsxs)(`span`,{"data-provenance":`ai-draft`,className:$(`eidotter-ai-text`,t),title:n,children:[(0,i.jsx)(`span`,{className:`eidotter-ai-text__sr-only`,children:`AI-assisted: `}),e]});ry.displayName=`AIText`;var iy=({title:e,date:t,intro:n,home:r,children:a,className:o,...s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-legal-page`,o),...s,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__home`,children:r}),(0,i.jsxs)(`article`,{children:[(0,i.jsxs)(`header`,{className:`eidotter-legal-page__hero`,children:[(0,i.jsx)(`p`,{className:`eidotter-legal-page__date`,children:t}),(0,i.jsx)(`h1`,{children:e}),n&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__intro`,children:n})]}),(0,i.jsx)(`div`,{className:`eidotter-legal-page__body`,children:a})]})]}),ay=(0,i.jsxs)(i.Fragment,{children:[`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`,(0,i.jsx)(`br`,{}),`Deutschland`]}),oy=`Dominic Kennedy`,sy=({email:e,address:t=ay,name:n=oy})=>(0,i.jsxs)(`address`,{children:[n,(0,i.jsx)(`br`,{}),t,e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),cy=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Angaben gemäß § 5 DDG`}),(0,i.jsx)(sy,{...e})]}),ly=({email:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Kontakt`}),(0,i.jsxs)(`p`,{children:[`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),uy=({name:e=oy})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)`}),(0,i.jsxs)(`address`,{children:[e,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`]})]}),dy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Inhalte`}),(0,i.jsx)(`p`,{children:`Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht.`})]}),fy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Links`}),(0,i.jsx)(`p`,{children:`Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend.`})]}),py=({email:e,name:t=oy})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verantwortlicher`}),(0,i.jsxs)(`address`,{children:[t,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf, Deutschland`,(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),my=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Hosting`}),(0,i.jsx)(`p`,{children:`Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern.`}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),hy=({proxyHost:e=`e.dmnc.tech`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Webanalyse — PostHog`}),(0,i.jsxs)(`p`,{children:[`Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain `,e,` — es besteht keine direkte Verbindung zu PostHog-Servern.`]}),(0,i.jsxs)(`p`,{children:[`Es werden `,(0,i.jsx)(`strong`,{children:`keine Cookies`}),` gesetzt. PostHog speichert Daten ausschließlich im Arbeitsspeicher des Browsers (Session Memory). Personenbezogene Profile entstehen nicht, solange Sie sich nicht aktiv identifizieren.`]}),(0,i.jsxs)(`p`,{children:[(0,i.jsx)(`strong`,{children:`Session Recording:`}),` PostHog zeichnet anonymisierte Sitzungswiederholungen auf. Alle Eingabefelder werden automatisch maskiert.`]}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),gy=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Schriftarten`}),(0,i.jsx)(`p`,{children:`Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt.`})]}),_y=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verschlüsselung`}),(0,i.jsx)(`p`,{children:`Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers.`})]}),vy=({email:e,supervisoryAuthority:t=`die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Ihre Rechte`}),(0,i.jsx)(`p`,{children:`Die DSGVO gewährt Ihnen folgende Rechte:`}),(0,i.jsxs)(`ul`,{children:[(0,i.jsx)(`li`,{children:`Auskunft (Art. 15)`}),(0,i.jsx)(`li`,{children:`Berichtigung (Art. 16)`}),(0,i.jsx)(`li`,{children:`Löschung (Art. 17)`}),(0,i.jsx)(`li`,{children:`Einschränkung der Verarbeitung (Art. 18)`}),(0,i.jsx)(`li`,{children:`Datenübertragbarkeit (Art. 20)`}),(0,i.jsx)(`li`,{children:`Widerspruch (Art. 21)`})]}),e&&(0,i.jsxs)(`p`,{children:[`Zur Ausübung Ihrer Rechte genügt eine formlose E-Mail an`,` `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e}),`.`]}),(0,i.jsxs)(`p`,{children:[`Sie können sich bei einer Aufsichtsbehörde beschweren (Art. 77 DSGVO). Zuständig ist `,t,`.`]})]}),yy={eidotter:{displayName:`eiDotter`},spacewar:{displayName:`Spacewar!`},rizomorf:{displayName:`rizomorf`},"pomodoke-calendar":{displayName:`PomoDoke Calendar`},keepcoin:{displayName:`KeepCoin`},steuerdash:{displayName:`Steuerdash`},sella:{displayName:`sella`},lifelines:{displayName:`Lifelines`},betamorf:{displayName:`betamorf`},dmnctech:{displayName:`dmnc.tech`,url:`https://dmnc.tech`},tracker:{displayName:`Tracker`,url:`https://tracker.dmnc.tech`},"doctor-portal":{displayName:`Doctor Portal`},dosbts:{displayName:`DOSBTS`}},by={Alert:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.2.0`,variants:{"type:info":{description:`Informational message`,since:`0.2.0`,usedBy:[`rizomorf`]},"type:success":{description:`Success confirmation`,since:`0.2.0`,usedBy:[`steuerdash`]},"type:warning":{description:`Warning notice`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"type:error":{description:`Error message`,since:`0.2.0`,usedBy:[`steuerdash`]},"size:small":{description:`Compact alert for inline contexts`,since:`0.2.0`},"size:large":{description:`Full-width alert with icon`,since:`0.2.0`}},platforms:{react:{path:`src/components/Alert`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.6.0`,type:`changed`,description:`Fix icon alignment and add prefers-contrast support`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects`},{version:`0.2.0`,type:`added`,description:`Initial Alert component with info/success/warning/error types`}]},Accordion:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`Collapsible section with CSS grid expand/collapse — always-in-DOM, transitions grid-template-rows`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for accordion trigger`},{version:`0.19.0`,type:`changed`,description:`Remove 500px expand cap — animate grid-template-rows to natural height`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3 — Accordion, Footer, Tabs, FilterBar)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.2.0`,type:`added`,description:`Initial Accordion (Section) — collapsible section, inert attribute, reduced-motion safe`}]},AccordionFill:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.4.0`,originNote:`Convenience wrapper around Section — renders a list of sections from a data array`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Tailwind-first pass alongside Accordion migration`},{version:`0.4.0`,type:`added`,description:`Initial AccordionFill — array-driven Section list`}]},Badge:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Neutral badge with muted styling`,since:`0.3.0`,usedBy:[`rizomorf`]},"variant:success":{description:`Green success indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:warning":{description:`Amber warning indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Red error/critical indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:info":{description:`Blue informational indicator`,since:`0.3.0`},"variant:accent":{description:`Theme accent color badge`,since:`0.3.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact inline badge`,since:`0.3.0`},"size:medium":{description:`Standard badge size`,since:`0.3.0`}},platforms:{react:{path:`src/components/Badge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter keyframes`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.5.0`,type:`changed`,description:`Fix text vertical alignment for pixel fonts`},{version:`0.3.0`,type:`added`,description:`Initial Badge component for status indicators`}]},Breadcrumb:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`Trail navigation with configurable separator and optional back-arrow`,platforms:{react:{path:`src/components/Breadcrumb`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.39.0`,type:`changed`,description:`Sanitize href via shared isSafeHref — unsafe schemes (javascript:, data:, …) render the label without an anchor`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2 — Separator, Stat, Breadcrumb, Progress)`},{version:`0.9.0`,type:`changed`,description:`Fix trail links invisible on dark backgrounds`},{version:`0.3.0`,type:`added`,description:`Initial Breadcrumb — trail array, currentLabel, separator, showBackArrow`}]},Button:{origin:`eidotter`,consumers:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`],since:`0.2.0`,variants:{"variant:primary":{description:`Primary CTA with amber background`,since:`0.2.0`,usedBy:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`]},"variant:secondary":{description:`Secondary action with border only`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:ghost":{description:`Minimal button with hover reveal`,since:`0.2.0`,usedBy:[`rizomorf`]},"variant:link":{description:`Inline link-style button`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact 1.5rem min-height`,since:`0.2.0`},"size:medium":{description:`Standard 2rem min-height`,since:`0.2.0`},"size:large":{description:`Prominent 2.5rem min-height`,since:`0.2.0`}},platforms:{react:{path:`src/components/Button`,status:`canonical`},swiftui:{path:`platforms/swiftui/Sources/EiDotterUI/DOSButton.swift`,status:`planned`,note:`POC with primary variant only — not yet production-ready`},spritekit:{status:`token-only`,note:`Spacewar uses tokens only, no UIKit/SwiftUI button`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish across all variants`},{version:`0.7.0`,type:`changed`,description:`Increase font size and weight for readability`},{version:`0.6.0`,type:`changed`,description:`Add phosphor warmup/energize keyframes to all variants`},{version:`0.5.0`,type:`changed`,description:`Fix secondary label visibility in pressed state`},{version:`0.4.0`,type:`changed`,description:`Add CRT phosphor interaction states for primary variant`},{version:`0.2.0`,type:`added`,description:`Initial Button with primary/secondary/ghost/link variants`}]},Card:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard card with subtle border`,since:`0.3.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:elevated":{description:`Raised card with drop shadow`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:bordered":{description:`Strong border emphasis`,since:`0.3.0`},"variant:glow":{description:`Phosphor glow border effect`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:interactive":{description:`Hover-reactive card for clickable surfaces`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:minimal":{description:`Borderless content container`,since:`0.4.0`},"variant:callout":{description:`Highlighted callout with accent border`,since:`0.4.0`}},platforms:{react:{path:`src/components/Card`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.4.0`,type:`added`,description:`Add glow, interactive, minimal, callout variants`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects and amber dim header background`},{version:`0.3.0`,type:`added`,description:`Initial Card with default/elevated/bordered variants`}]},Checkbox:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"size:sm":{description:`Compact 16px checkbox for dense forms`,since:`0.16.0`},"size:md":{description:`Standard 20px checkbox`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Checkbox`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: remediate Phase 1 audit defects + high-contrast glow gaps`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.3.0`,type:`added`,description:`Initial Checkbox — controlled/uncontrolled, indeterminate; BEM CSS implementation`}]},CommandPrompt:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`DOS command-line input — blinking cursor, configurable prompt string, onCommand callback`,platforms:{react:{path:`src/components/CommandPrompt`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.3.0`,type:`added`,description:`Initial CommandPrompt — prompt prop, onCommand, autoFocus, disabled`}]},Icon:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.13.0`,originNote:`Thin wrapper around pixelarticons (MIT) + custom PixelX for Close — 12 public names, ICON_MAP`,variants:{"name:Info":{description:`Informational circle-i`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Warning":{description:`Warning triangle`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Error":{description:`Error octagon`,since:`0.13.0`},"name:Done":{description:`Checkmark (shares Check glyph)`,since:`0.13.0`},"name:Check":{description:`Checkmark`,since:`0.13.0`},"name:Close":{description:`Custom pixel-art X mark (no pixelarticons glyph)`,since:`0.19.0`,usedBy:[`rizomorf`]},"name:Chevron Up":{description:`Up caret`,since:`0.13.0`},"name:Chevron Down":{description:`Down caret`,since:`0.13.0`},"name:App":{description:`Grid/app launcher`,since:`0.13.0`},"name:Cancel":{description:`Minus glyph — window minimize control`,since:`0.13.0`},"name:Fullscreen":{description:`Expand to fullscreen`,since:`0.13.0`},"name:Add":{description:`Plus / add action`,since:`0.13.0`},"size:L":{description:`Large — 56 × 56 px`,since:`0.13.0`,usedBy:[`rizomorf`]},"size:S":{description:`Small — 24 × 24 px`,since:`0.13.0`}},platforms:{react:{path:`src/components/Icon`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: fix aria-prohibited-attr on Icon (Phase 1 audit defect)`},{version:`0.30.0`,type:`changed`,description:`Icon inherits color from context instead of hardcoding amber`},{version:`0.19.0`,type:`added`,description:`Custom pixel-art X mark for Close (pixelarticons v2 has no standalone X glyph)`},{version:`0.18.0`,type:`changed`,description:`Swap @untitledui-pro/icons for pixelarticons (MIT) — license compliance`},{version:`0.13.0`,type:`added`,description:`Initial Icon component — ICON_MAP with 12 public names, size L/S`}]},Input:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard text input with amber focus border`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Error state — red border, errorMessage slot`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Input`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TextField (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Input — label, description, errorMessage, isRequired`}]},Lightbox:{origin:`eidotter`,consumers:[`dmnctech`],since:`0.22.0`,originNote:`Fullscreen image viewer extending Modal pattern. Keyboard nav, prev/next, counter, swipe.`},Modal:{origin:`eidotter`,consumers:[`pomodoke-calendar`],since:`0.3.0`,originNote:`DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop`,platforms:{react:{path:`src/components/Modal`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Normalize event handlers; replace raw <button> with AriaButton for close control`},{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria ModalOverlay/Modal/Dialog (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.3.0`,type:`added`,description:`Initial Modal — isOpen, onOpenChange, title, footer slot`}]},Progress:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Amber progress bar`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:success":{description:`Green completion indicator`,since:`0.3.0`},"variant:warning":{description:`Amber warning progress`,since:`0.3.0`},"variant:error":{description:`Red error/failed progress`,since:`0.3.0`},"size:sm":{description:`Compact single-row bar`,since:`0.16.0`},"size:md":{description:`Standard bar height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall bar for prominent display`,since:`0.16.0`},"trackStyle:block":{description:`Solid block fill (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trackStyle:bordered":{description:`Outline bar with fill inside`,since:`0.3.0`},"trackStyle:gradient":{description:`Gradient fill for smooth visual`,since:`0.3.0`}},platforms:{react:{path:`src/components/Progress`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases small/medium/large → sm/md/lg`},{version:`0.3.0`,type:`added`,description:`Initial Progress — blocks character cells, indeterminate, showLabel, glow prop`}]},RetroEffects:{origin:`spacewar`,consumers:[`spacewar`,`rizomorf`],since:`0.3.0`,originNote:`CRT scanline/glow effects from Spacewar! — compositor-only, prefers-reduced-motion safe`,platforms:{react:{path:`src/components/RetroEffects`,status:`canonical`},spritekit:{status:`planned`,note:`Spacewar uses CRT shader natively; component is React-web-only`}},changelog:[{version:`0.30.0`,type:`added`,description:`bootOnce — gate CGA turn-on to once per browser tab/session via sessionStorage`},{version:`0.28.0`,type:`added`,description:`boot prop — CGA monitor turn-on sequence on mount (~650ms); onBootComplete callback`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`changed`,description:`Align CRT animation values with design-craft spec`},{version:`0.3.0`,type:`added`,description:`Initial RetroEffects — scanlines, glow, flicker, bloom, intensity, powered`}]},Select:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.36.0`,originNote:`DOS-styled dropdown. MVP was a native <select> ported from Steuerdash; rebuilt on React Aria Select/ComboBox in DMNC-593 with default/searchable/multi modes`,variants:{"mode:default":{description:`Single-select — React Aria Select (button + popover + listbox)`,since:`0.38.0`,usedBy:[`steuerdash`]},"searchable:true":{description:`Type-to-filter ComboBox single-select`,since:`0.38.0`},"multiple:true":{description:`Multi-select listbox; value/onChange use string arrays`,since:`0.38.0`},"variant:error":{description:`Invalid state — red border + errorMessage slot`,since:`0.38.0`},"size:sm":{description:`Compact trigger (28px min-height)`,since:`0.38.0`},"size:md":{description:`Standard trigger (32px min-height)`,since:`0.38.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall trigger (40px min-height)`,since:`0.38.0`}},platforms:{react:{path:`src/components/Select`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.38.0`,type:`changed`,description:`Rebuild on React Aria (Select/ComboBox/ListBox) with phosphor glow; add searchable + multiple modes, label/description/error chrome, sizes. Backward-compatible value/options/onChange API (DMNC-593)`},{version:`0.36.0`,type:`added`,description:`Initial Select — native <select> MVP ported from Steuerdash (DMNC-860)`}]},Skeleton:{origin:`eidotter`,consumers:[`dmnctech`],originNote:`DOS/CGA loading placeholder — shade-character rows (░▒▓) with CRT hum-bar band rolling top→bottom (DMNC-1018)`},Stat:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.3.0`,originNote:`Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation`,variants:{"size:sm":{description:`Compact metric for dense dashboards`,since:`0.16.0`},"size:md":{description:`Standard metric display`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Hero metric for prominent KPIs`,since:`0.16.0`,usedBy:[`steuerdash`]},"trend:up":{description:`Upward trend indicator (green arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:down":{description:`Downward trend indicator (red arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:neutral":{description:`No change indicator (muted dash)`,since:`0.3.0`}},platforms:{react:{path:`src/components/Stat`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`changed`,description:`Add optional unit, note and target slots (additive; existing consumers unchanged)`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases; add size:sm/lg`},{version:`0.3.0`,type:`added`,description:`Initial Stat — label, value, trend, trendValue, scramble prop`}]},Switch:{origin:`eidotter`,consumers:[],since:`0.3.0`,variants:{"size:sm":{description:`Compact 20px toggle for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard 24px toggle`,since:`0.3.0`},"type:default":{description:`Full-width thumb track`,since:`0.3.0`},"type:slim":{description:`Narrow pill track for inline use`,since:`0.3.0`}},platforms:{react:{path:`src/components/Switch`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish — toggle glow transition`},{version:`0.3.0`,type:`added`,description:`Initial Switch — controlled/uncontrolled, label, type:default/slim`}]},FilterBar:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color`,variants:{"mode:multi":{description:`Multiple filters selectable simultaneously`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"mode:single":{description:`Single active filter (radio behavior)`,since:`0.7.0`},"size:sm":{description:`Compact filter chips`,since:`0.16.0`},"size:md":{description:`Standard filter chips`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large filter chips for touch targets`,since:`0.16.0`}},platforms:{react:{path:`src/components/FilterBar`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for filter chips`},{version:`0.7.0`,type:`added`,description:`Initial FilterBar — multi/single mode, items array, showAll, keyboard nav`}]},Tag:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Interactive labels for tags, categories, and filter chips`,variants:{"variant:default":{description:`Standard tag with subtle background`,since:`0.7.0`,usedBy:[`rizomorf`]},"variant:outlined":{description:`Border-only tag`,since:`0.7.0`,usedBy:[`lifelines`]},"variant:filled":{description:`Solid background tag`,since:`0.7.0`,usedBy:[`rizomorf`,`lifelines`]},"size:small":{description:`Compact tag for dense layouts`,since:`0.7.0`},"size:medium":{description:`Standard tag size`,since:`0.7.0`}},platforms:{react:{path:`src/components/Tag`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish`},{version:`0.7.0`,type:`added`,description:`Initial Tag and TagGroup components`}]},Tabs:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:underline":{description:`Underline indicator tab bar (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:pills":{description:`Filled pill tabs`,since:`0.3.0`},"size:sm":{description:`Compact tabs for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard tab height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Large touch-friendly tabs`,since:`0.16.0`}},platforms:{react:{path:`src/components/Tabs`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TabList/Tab/TabPanel (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases; JS-measured indicator via ResizeObserver`},{version:`0.11.0`,type:`changed`,description:`Dynamic text scaling — rem tokens for WCAG SC 1.4.4`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Tabs — tabs array, activeTab, onSelectionChange, animated indicator`}]},Terminal:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`DOS window frame with px-based bitmap font sizing — legacy BEM, not migrated to Tailwind-first`,variants:{"size:sm":{description:`Compact 320px window`,since:`0.2.0`},"size:md":{description:`Standard 480px window`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:lg":{description:`Full-width window`,since:`0.2.0`},"state:active":{description:`Focused window with amber title bar`,since:`0.2.0`,usedBy:[`rizomorf`]},"state:inactive":{description:`Unfocused window with dimmed title bar`,since:`0.2.0`},"state:minimized":{description:`Collapsed to title bar only`,since:`0.2.0`}},platforms:{react:{path:`src/components/Terminal`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for window controls`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.14.0`,type:`changed`,description:`Breaking: minimizable/maximizable/closeable default to false — consumers must opt in`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for window controls`},{version:`0.2.0`,type:`added`,description:`Initial Terminal — title bar, window controls, resizable, autoFocus, size/state variants`}]},TimelineNode:{origin:`lifelines`,consumers:[`lifelines`,`rizomorf`],since:`0.4.0`,originNote:`Timeline markers extracted from Lifelines — sits on the axis line, content-box sizing`,variants:{"shape:circle":{description:`Circular node marker (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"shape:square":{description:`Square node marker`,since:`0.4.0`},"shape:diamond":{description:`Diamond (rotated square) node marker`,since:`0.4.0`},"variant:default":{description:`Muted amber node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"variant:primary":{description:`Full-brightness amber node with phosphor glow`,since:`0.4.0`,usedBy:[`lifelines`]},"variant:secondary":{description:`Dimmed node for secondary events`,since:`0.4.0`},"variant:accent":{description:`CGA accent color node`,since:`0.4.0`},"labelPosition:right":{description:`Label to the right of the node (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"labelPosition:left":{description:`Label to the left of the node`,since:`0.4.0`},"labelPosition:top":{description:`Label above the node`,since:`0.4.0`},"labelPosition:bottom":{description:`Label below the node`,since:`0.4.0`},"size:sm":{description:`Compact 8px node`,since:`0.16.0`},"size:md":{description:`Standard 12px node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large 16px node for emphasis`,since:`0.16.0`}},platforms:{react:{path:`src/components/TimelineNode`,status:`canonical`}},changelog:[{version:`0.35.0`,type:`changed`,description:`Pin marker box-sizing to content-box so dots stay on the axis line (DMNC-1090)`},{version:`0.30.0`,type:`changed`,description:`A11y: high-contrast glow gap remediation`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.4.0`,type:`added`,description:`Initial TimelineNode — shape, variant, labelPosition, size, isActive, onClick`}]},InlineExpand:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.7.0`,originNote:`Inline disclosure widget for expanding context within prose — sources with favicon fallback`,platforms:{react:{path:`src/components/InlineExpand`,status:`canonical`}},changelog:[{version:`0.40.0`,type:`changed`,description:`True inline-flow expanded state — marker-pen wrap, trailing collapse control, inline favicon-only sources; conditional render; data-ai-skip on content + legible trigger inside AI-marked prose (DMNC-1316)`},{version:`0.30.0`,type:`changed`,description:`Fix behavioral bugs — double-toggle edge case (DMNC-1063)`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`added`,description:`sources prop — citation links with Google Favicons API fallback`},{version:`0.7.0`,type:`added`,description:`Initial InlineExpand — expanded, defaultExpanded, onToggle, content slot`}]},Separator:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.8.0`,originNote:`Horizontal/vertical divider for content separation — ported from rizomorf`,variants:{"orientation:horizontal":{description:`Full-width horizontal rule (default)`,since:`0.8.0`,usedBy:[`rizomorf`]},"orientation:vertical":{description:`Inline vertical divider for flex/grid rows`,since:`0.8.0`}},platforms:{react:{path:`src/components/Separator`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`added`,description:`Initial Separator — horizontal/vertical orientation, ported from rizomorf`}]},TimelineContainer:{origin:`lifelines`,consumers:[`lifelines`],since:`0.8.0`,originNote:`Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.`,variants:{"mode:interactive":{description:`Full drill-down with keyboard shortcuts and Ctrl+scroll zoom`,since:`0.8.0`,usedBy:[`lifelines`]},"mode:static":{description:`Read-only snapshot — no zoom or selection controls`,since:`0.8.0`},"mode:feed":{description:`Paginated vertical list with LOAD MORE — append-safe`,since:`0.21.0`,usedBy:[`lifelines`]},"mode:master-detail":{description:`Split-pane with list rail + detail panel`,since:`0.34.0`},"sortOrder:asc":{description:`Oldest entries first`,since:`0.8.0`},"sortOrder:desc":{description:`Newest entries first (default)`,since:`0.8.0`,usedBy:[`lifelines`]}},platforms:{react:{path:`src/components/TimelineContainer`,status:`canonical`}},changelog:[{version:`0.34.0`,type:`added`,description:`master-detail layout mode — split-pane list rail + detail panel (DMNC-878)`},{version:`0.21.0`,type:`added`,description:`feed mode — pageSize, onLoadMore, DOS-styled LOAD MORE button`},{version:`0.21.0`,type:`added`,description:`renderEntry prop — pluggable entry renderer with defaultRender() opt-in`},{version:`0.9.0`,type:`changed`,description:`Responsive layout with CSS container queries`},{version:`0.8.0`,type:`added`,description:`Initial TimelineContainer — year/month/day/hour drill-down, migrated from Lifelines`}]},TextScramble:{origin:`eidotter`,consumers:[],since:`0.10.0`,originNote:`DOS text decode effect — rAF-driven character scramble reveal; used by Stat (scramble prop) and standalone`,platforms:{react:{path:`src/components/TextScramble`,status:`canonical`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; adopt cn() and forwardRef`},{version:`0.10.0`,type:`added`,description:`Initial TextScramble — children string, speed, characters, delay; rAF-based reveal`}]},ChatMessage:{origin:`eidotter`,consumers:[],originNote:`Single chat message with role-based DOS styling and streaming cursor`},ChatHistory:{origin:`eidotter`,consumers:[],originNote:`Scrollable message list with auto-scroll and role="log" accessibility`},ChatInput:{origin:`eidotter`,consumers:[],originNote:`Multiline DOS-styled textarea with Enter-to-send`},ChatContainer:{origin:`eidotter`,consumers:[],originNote:`Composes ChatHistory + ChatInput into a complete chat interface`},Header:{origin:`eidotter`,consumers:[],originNote:`Sticky site header composing branding link + Nav — retro/modern variants; optional context row (category badge row + returnTo pill) for cross-site shells (DMNC-1326)`,variants:{"context:categories":{description:`Category badge row below the main row — measurable DOM target (stable eidotter-header__categories / __category classes + data-category-key) for the Mark arm-connector (DMNC-1325)`,since:`0.39.0`},"context:returnTo":{description:`Breadcrumb return pill — same-tab via linkComponent by default; reuseTab navigates via window.open(href, "rizomorf-shell") named-tab reuse`,since:`0.39.0`}},changelog:[{version:`0.39.0`,type:`added`,description:"Optional `context` prop — category badge row + returnTo breadcrumb pill with reuseTab named-tab navigation (DMNC-1326)"},{version:`0.39.0`,type:`changed`,description:`Sanitize brandHref via shared isSafeHref — unsafe schemes fall back to "/" (nav-item links guarded in Nav)`}]},Footer:{origin:`eidotter`,consumers:[],originNote:`DOS-themed footer with default legal links (Impressum + Datenschutz) for German compliance`,changelog:[{version:`0.39.0`,type:`changed`,description:`Sanitize link hrefs via shared isSafeHref — unsafe schemes (javascript:, data:, …) render the label without an anchor`}]},InlineLink:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.20.0`,originNote:"In-flow navigational anchor — dotted amber underline, phosphor-invert hover, trailing `▸` / `↗`. Distinct from InlineExpand (destination vs disclosure). Closes rizomorf parity gap #03.",platforms:{react:{path:`src/components/InlineLink`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`changed`,description:`sanitizeHref now delegates to the shared isSafeHref util (extraSchemes tel/ftp/sms); behavior unchanged`},{version:`0.20.0`,type:`added`,description:`Initial InlineLink — internal + external variants, tabnabbing guard when consumer passes target="_blank"`}]},DosFigure:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.20.0`,originNote:`Demoscene-style painted-screen placeholder (Sierra / LucasArts title-card aesthetic). Amber chrome, 6s scanline sweep, optional annotation pins. Closes rizomorf parity gap #02.`,platforms:{react:{path:`src/components/DosFigure`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial DosFigure — scanline sweep, phosphor flicker, pin pulse; all animations compositor-only and reduced-motion safe`}]},CmdPalette:{origin:`eidotter`,consumers:[],since:`0.20.0`,originNote:`⌘K / Ctrl+K command palette overlay. Built on React Aria ModalOverlay/Modal/Dialog (same primitives as Modal). Generic items + scored search + keyboard navigation.`,platforms:{react:{path:`src/components/CmdPalette`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial CmdPalette — generic items with keywords, mod+k global hotkey, custom renderItem, useId() per-instance DOM ids, selected-clamp on items mutation`}]},ProgressRing:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`16-segment quantized progress ring (SVG). Powers Tracker’s hold-to-complete feedback ring.`,platforms:{react:{path:`src/components/ProgressRing`,status:`canonical`}},changelog:[{version:`0.40.0`,type:`changed`,description:`Add additive decorative prop (aria-hidden, no progressbar role) so Gauge owns meter semantics`},{version:`0.37.0`,type:`added`,description:`Initial ProgressRing — discrete quantized segment arcs, phosphor glow, centre label, currentColor theming`}]},CalendarHeatmap:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.`,platforms:{react:{path:`src/components/CalendarHeatmap`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial CalendarHeatmap — UTC date maths, Monday/Sunday week start, legend, successColor override, glyph overrides`}]},HoldToComplete:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.`,platforms:{react:{path:`src/components/HoldToComplete`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial HoldToComplete — rAF hold animation with accelerating ease, onHoldProgress hook, Enter/Space to complete`}]},Mark:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.39.0`,originNote:`Morphing organic avatar mark (a.k.a. RizomorfAvatar) with runtime-measured quadratic-bezier arm connectors to Header nav badges (DMNC-1325; Header badge row: DMNC-1326).`,variants:{"morph:true":{description:`Border-radius morph loop (~6s ease-in-out), disabled under prefers-reduced-motion`,since:`0.39.0`},"morph:false":{description:`Static organic silhouette`,since:`0.39.0`}},platforms:{react:{path:`src/components/Brand`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial Mark — soft-radial egg-yolk fill + CSS border-radius morph + SVG arm connectors with alternating control-point offsets`}]},Connector:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Organic tapered-ribbon SVG overlay (DMNC-1388) — filled variable-width paths from a source node (the Mark) to N anchors, amber→category gradient, stop-at-edge attach, ResizeObserver/MutationObserver re-flow + rAF idle sway (reduced-motion safe). Decorative/aria-hidden; content lives in the DOM underneath.`,variants:{"weight:delicate":{description:`Thin near-straight product-chrome thread (default)`,since:`0.39.0`},"weight:medium":{description:`Bolder ribbon for large surfaces`,since:`0.39.0`}},platforms:{react:{path:`src/components/Connector`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial Connector — tapered filled-path ribbons, per-target amber→category gradient, attach-at-edge geometry, idle sway`}]},TimelineFeed:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Dense product-grade feed (the "J" layout) — category dot · date · title · outlined kind-tag rows threaded by a thin amber spine, with a category chip row that culls the list. Shares the TimelineEntryData model with TimelineContainer.`,platforms:{react:{path:`src/components/TimelineFeed`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial TimelineFeed — dense category-dotted rows, amber-mono, controllable category filter`}]},TimelinePage:{origin:`eidotter`,consumers:[],since:`0.39.0`,originNote:`Bret-Victor-style blog timeline (the "K2" layout) — year-grouped, amber-only spine + dots, neutral dates, big titles + description, right-hand hover preview panel, optional Mark brand slot + category filter. Shares the TimelineEntryData model with TimelineContainer.`,platforms:{react:{path:`src/components/TimelinePage`,status:`canonical`}},changelog:[{version:`0.39.0`,type:`added`,description:`Initial TimelinePage — grouped blog timeline with hover-preview panel and category filter`}]},Gauge:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact gauge`,since:`0.40.0`},"size:md":{description:`Standard gauge`,since:`0.40.0`},"size:lg":{description:`Hero gauge`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"status:ok":{description:`Live value rendered normally`,since:`0.40.0`},"status:loading":{description:`Value is being fetched`,since:`0.40.0`},"status:empty":{description:`No data available`,since:`0.40.0`},"status:stale":{description:`Value is older than expected`,since:`0.40.0`},"status:unknown":{description:`Value could not be determined`,since:`0.40.0`}},platforms:{react:{path:`src/components/Gauge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial Gauge (health metabolism family)`}]},Meter:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"orientation:vertical":{description:`Vertical bar with label beneath`,since:`0.40.0`},"orientation:horizontal":{description:`Horizontal bar with label alongside`,since:`0.40.0`},"size:xs":{description:`Extra-compact meter`,since:`0.40.0`},"size:sm":{description:`Compact meter`,since:`0.40.0`},"size:md":{description:`Standard meter`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"pattern:solid":{description:`Solid fill`,since:`0.40.0`},"pattern:dither":{description:`Dither fill`,since:`0.40.0`},"pattern:hatch":{description:`Hatch fill`,since:`0.40.0`},"pattern:dotted":{description:`Dotted fill`,since:`0.40.0`}},platforms:{react:{path:`src/components/Meter`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial Meter (health metabolism family)`}]},MeterGroup:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"layout:row":{description:`Meters in a single row`,since:`0.40.0`},"layout:grid":{description:`Meters in a wrapping grid`,since:`0.40.0`}},platforms:{react:{path:`src/components/Meter`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial MeterGroup (health metabolism family)`}]},RangeBar:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"orientation:vertical":{description:`Vertical track`,since:`0.40.0`},"orientation:horizontal":{description:`Horizontal track`,since:`0.40.0`},"size:sm":{description:`Compact track`,since:`0.40.0`},"size:md":{description:`Standard track`,since:`0.40.0`},"size:lg":{description:`Large track`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`},"pattern:none":{description:`No fill pattern`,since:`0.40.0`},"pattern:solid":{description:`Solid fill`,since:`0.40.0`},"pattern:dither":{description:`Dither fill`,since:`0.40.0`},"pattern:hatch":{description:`Hatch fill`,since:`0.40.0`},"pattern:dotted":{description:`Dotted fill`,since:`0.40.0`}},platforms:{react:{path:`src/components/RangeBar`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial RangeBar (health metabolism family)`}]},SeriesBars:{origin:`eidotter`,consumers:[`doctor-portal`],since:`0.40.0`,originNote:`Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern. Intended consumer: doctor-portal (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Short plot`,since:`0.40.0`},"size:md":{description:`Standard plot`,since:`0.40.0`},"size:lg":{description:`Tall plot`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading (solid fill)`,since:`0.40.0`},"tone:success":{description:`In-target reading (dither fill)`,since:`0.40.0`},"tone:warning":{description:`Needs attention (hatch fill)`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading (dotted fill)`,since:`0.40.0`}},platforms:{react:{path:`src/components/SeriesBars`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial SeriesBars (health metabolism family)`}]},DecayStrip:{origin:`eidotter`,consumers:[`dosbts`],since:`0.40.0`,originNote:`Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math. Intended consumer: dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact strip`,since:`0.40.0`},"size:md":{description:`Standard strip`,since:`0.40.0`},"size:lg":{description:`Large strip`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading`,since:`0.40.0`},"tone:success":{description:`In-target reading`,since:`0.40.0`},"tone:warning":{description:`Needs attention`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading`,since:`0.40.0`}},platforms:{react:{path:`src/components/DecayStrip`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial DecayStrip (health metabolism family)`}]},VitalsStrip:{origin:`eidotter`,consumers:[`doctor-portal`,`dosbts`],since:`0.40.0`,originNote:`Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries. Intended consumers: doctor-portal, dosbts (not yet adopted). Figma: Web DS / Health.`,variants:{"size:sm":{description:`Compact tiles`,since:`0.40.0`},"size:md":{description:`Standard tiles`,since:`0.40.0`},"size:lg":{description:`Large tiles`,since:`0.40.0`},"tone:neutral":{description:`Unfilled/neutral reading with no judgement`,since:`0.40.0`},"tone:info":{description:`Informational reading`,since:`0.40.0`},"tone:success":{description:`In-target reading`,since:`0.40.0`},"tone:warning":{description:`Needs attention`,since:`0.40.0`},"tone:critical":{description:`Out-of-range reading`,since:`0.40.0`},"status:ok":{description:`Live value rendered normally`,since:`0.40.0`},"status:loading":{description:`Value is being fetched`,since:`0.40.0`},"status:empty":{description:`No data available`,since:`0.40.0`},"status:stale":{description:`Value is older than expected`,since:`0.40.0`},"status:unknown":{description:`Value could not be determined`,since:`0.40.0`}},platforms:{react:{path:`src/components/VitalsStrip`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.40.0`,type:`added`,description:`Initial VitalsStrip (health metabolism family)`}]}};function xy(e){return by[e]}function Sy(e){return Object.entries(by).filter(([,t])=>t.origin===e).map(([e])=>e)}function Cy(e){return Object.entries(by).filter(([,t])=>t.consumers.includes(e)).map(([e])=>e)}function wy(e,t){let n=by[e];return n?.variants?Object.entries(n.variants).filter(([,e])=>e.usedBy?.includes(t)).map(([e])=>e):[]}function Ty(e){let t=by[e];if(!t?.variants)return{};let n={};for(let[e,r]of Object.entries(t.variants))n[e]=r.usedBy??[];return n}e.AIText=ry,e.AccordionFill=Qp,e.AddressBlock=sy,e.Alert=Xp,e.Badge=ng,e.BrandLockup=Qv,e.Breadcrumb=cg,e.Button=tm,e.CalendarHeatmap=Uh,e.Card=rm,e.ChatContainer=bv,e.ChatHistory=vv,e.ChatInput=yv,e.ChatMessage=_v,e.Checkbox=im,e.ChecklistRow=J_,e.CmdPalette=Yv,e.CommandPrompt=am,e.Connector=zv,e.CopyButton=Y_,e.DatenschutzController=py,e.DatenschutzEncryption=_y,e.DatenschutzFonts=gy,e.DatenschutzHosting=my,e.DatenschutzPostHog=hy,e.DatenschutzRights=vy,e.DecayStrip=Ph,e.DesktopNav=pv,e.DosFigure=Gv,e.EmptyState=Qm,e.FilterBar=z_,e.Footer=Sv,e.Gauge=Vm,e.Header=Ev,e.HoldToComplete=qh,e.Icon=Up,e.ImpressumAddress=cy,e.ImpressumContact=ly,e.ImpressumLiabilityContent=dy,e.ImpressumLiabilityLinks=fy,e.ImpressumResponsible=uy,e.InlineExpand=H_,e.InlineLink=Wv,e.Input=Yh,e.LabeledProgress=uv,e.LedgerRow=lv,e.LegalPage=iy,e.Lightbox=Qg,e.Logo=Xv,e.Mark=ny,e.Meter=Xm,e.MeterGroup=eh,e.MobileNav=mv,e.Modal=k_,e.Nav=hv,e.Notification=Vv,e.Progress=pm,e.ProgressRing=hm,e.RangeBar=dh,e.RetroEffects=pg,e.Section=Zp,e.SectionHeading=K_,e.Select=cv,e.Separator=W_,e.SeriesBars=_h,e.Skeleton=Sm,e.Stat=L_,e.Switch=rg,e.Tabs=$h,e.Tag=d_,e.TagGroup=p_,e.Terminal=Xh,e.TextScramble=dv,e.TimelineContainer=v_,e.TimelineFeed=S_,e.TimelineNode=vg,e.TimelinePage=O_,e.VitalsStrip=Ch,e.Wordmark=Zv,e.ZOOM_LEVELS=yg,e.componentRegistry=by,e.defaultLegalLinks=xv,e.getComponentMeta=xy,e.getComponentsByConsumer=Cy,e.getComponentsByOrigin=Sy,e.getVariantConsumerMap=Ty,e.getVariantsUsedBy=wy,e.isSafeHref=og,e.isSafeUrl=B_,e.projects=yy,e.useTextScramble=M_,e.version=`0.40.2`});