@gnome-ui/react 1.23.1 → 1.23.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.
@@ -19,6 +19,12 @@ export interface OverlaySplitViewProps extends Omit<HTMLAttributes<HTMLDivElemen
19
19
  * Use this to set `showSidebar` to false.
20
20
  */
21
21
  onClose?: () => void;
22
+ /**
23
+ * When `true`, collapses the sidebar to icon-only width on wide screens.
24
+ * Has no effect in narrow (overlay) mode.
25
+ * Pair with `collapsed` on the inner `<Sidebar>` component to hide labels.
26
+ */
27
+ collapsed?: boolean;
22
28
  /**
23
29
  * Which side the sidebar appears on. Defaults to `"start"` (left in LTR).
24
30
  */
@@ -56,4 +62,4 @@ export interface OverlaySplitViewProps extends Omit<HTMLAttributes<HTMLDivElemen
56
62
  *
57
63
  * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.OverlaySplitView.html
58
64
  */
59
- export declare function OverlaySplitView({ sidebar, content, showSidebar, onClose, sidebarPosition, minSidebarWidth, maxSidebarWidth, sidebarWidthFraction, className, style, ...props }: OverlaySplitViewProps): import("react/jsx-runtime").JSX.Element;
65
+ export declare function OverlaySplitView({ sidebar, content, showSidebar, onClose, collapsed, sidebarPosition, minSidebarWidth, maxSidebarWidth, sidebarWidthFraction, className, style, ...props }: OverlaySplitViewProps): import("react/jsx-runtime").JSX.Element;
@@ -35,6 +35,15 @@ export interface SidebarProps extends HTMLAttributes<HTMLElement> {
35
35
  * mirroring `AdwSidebar` mobile behaviour.
36
36
  */
37
37
  mode?: "sidebar" | "page";
38
+ /**
39
+ * Visual style variant for the sidebar background.
40
+ * - `"classic"` — default GNOME gray
41
+ * - `"blue"` | `"green"` | `"red"` | `"yellow"` — tinted accent backgrounds
42
+ * - `"black"` — dark/OLED background
43
+ * - `"transparent"` — no background, inherits parent
44
+ * - `"blurred"` — frosted glass (backdrop-filter blur), like macOS
45
+ */
46
+ variant?: "classic" | "blue" | "green" | "red" | "yellow" | "black" | "transparent" | "blurred";
38
47
  }
39
48
  /**
40
49
  * Lateral navigation panel following the Adwaita `.navigation-sidebar` style.
@@ -47,4 +56,4 @@ export interface SidebarProps extends HTMLAttributes<HTMLElement> {
47
56
  *
48
57
  * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Sidebar.html
49
58
  */
50
- export declare function Sidebar({ children, collapsed, searchable, filter: controlledFilter, onFilterChange, mode, className, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
59
+ export declare function Sidebar({ children, collapsed, searchable, filter: controlledFilter, onFilterChange, mode, variant, className, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`react/jsx-runtime`),t=require(`react`),n=require(`react-dom`);var r={blockquote:`_blockquote_j7x50_3`,body:`_body_j7x50_15`,icon:`_icon_j7x50_21`,content:`_content_j7x50_28`,footer:`_footer_j7x50_36`,cite:`_cite_j7x50_42`,default:`_default_j7x50_48`,info:`_info_j7x50_52`,warning:`_warning_j7x50_61`,error:`_error_j7x50_70`,success:`_success_j7x50_79`};function i({variant:t=`default`,icon:n,cite:i,children:a,className:o,...s}){return(0,e.jsxs)(`blockquote`,{className:[r.blockquote,r[t],o].filter(Boolean).join(` `),...s,children:[(0,e.jsxs)(`div`,{className:r.body,children:[n&&(0,e.jsx)(`span`,{className:r.icon,"aria-hidden":`true`,children:n}),(0,e.jsx)(`p`,{className:r.content,children:a})]}),i!==void 0&&(0,e.jsx)(`footer`,{className:r.footer,children:(0,e.jsx)(`cite`,{className:r.cite,children:i})})]})}var a={button:`_button_1qgdy_1`,pill:`_pill_1qgdy_52`,circular:`_circular_1qgdy_59`,default:`_default_1qgdy_71`,suggested:`_suggested_1qgdy_105`,destructive:`_destructive_1qgdy_120`,flat:`_flat_1qgdy_135`,raised:`_raised_1qgdy_150`,osd:`_osd_1qgdy_184`,sm:`_sm_1qgdy_228`,lg:`_lg_1qgdy_235`};function o({variant:t=`default`,size:n=`md`,shape:r=`default`,osd:i=!1,leadingIcon:o,trailingIcon:s,children:c,className:l,...u}){return(0,e.jsxs)(`button`,{className:[a.button,a[t],n===`md`?null:a[n],r===`default`?null:a[r],i?a.osd:null,l].filter(Boolean).join(` `),...u,children:[o,c,s]})}var s=`_text_102e3_1`,c=`_heading_102e3_41`,l=`_body_102e3_48`,u=`_document_102e3_55`,d=`_caption_102e3_62`,f=`_monospace_102e3_78`,p=`_numeric_102e3_85`,m={text:s,"large-title":`_large-title_102e3_9`,"title-1":`_title-1_102e3_16`,"title-2":`_title-2_102e3_22`,"title-3":`_title-3_102e3_28`,"title-4":`_title-4_102e3_34`,heading:c,body:l,document:u,caption:d,"caption-heading":`_caption-heading_102e3_69`,monospace:f,numeric:p,"color-default":`_color-default_102e3_95`,"color-dim":`_color-dim_102e3_99`,"color-accent":`_color-accent_102e3_103`,"color-destructive":`_color-destructive_102e3_107`,"color-success":`_color-success_102e3_111`,"color-warning":`_color-warning_102e3_115`,"color-error":`_color-error_102e3_119`},h={"large-title":`h1`,"title-1":`h1`,"title-2":`h2`,"title-3":`h3`,"title-4":`h4`,heading:`h3`,body:`p`,document:`p`,caption:`span`,"caption-heading":`span`,monospace:`code`,numeric:`span`};function g({variant:t=`body`,color:n=`default`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??h[t],{className:[m.text,m[t],m[`color-${n}`],i].filter(Boolean).join(` `),...o,children:a})}var _=`_card_7f351_1`,v=`_interactive_7f351_19`,y={card:_,"padding-none":`_padding-none_7f351_12`,"padding-sm":`_padding-sm_7f351_13`,"padding-md":`_padding-md_7f351_14`,"padding-lg":`_padding-lg_7f351_15`,interactive:v};function b({interactive:t=!1,padding:n=`md`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??(t?`button`:`div`),{className:[y.card,y[`padding-${n}`],t?y.interactive:null,i].filter(Boolean).join(` `),...o,children:a})}var x={spinner:`_spinner_101bb_3`,spin:`_spin_101bb_3`,sm:`_sm_101bb_15`,md:`_md_101bb_21`,lg:`_lg_101bb_27`};function S({size:t=`md`,label:n=`Loading…`,className:r,...i}){let a=[x.spinner,x[t],r].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`status`,"aria-label":n||void 0,"aria-hidden":n===``?!0:void 0,className:a,...i})}var C={avatar:`_avatar_1f2cd_3`,sm:`_sm_1f2cd_17`,md:`_md_1f2cd_22`,lg:`_lg_1f2cd_27`,xl:`_xl_1f2cd_32`,image:`_image_1f2cd_39`,initials:`_initials_1f2cd_48`,"color-blue":`_color-blue_1f2cd_64`,"color-green":`_color-green_1f2cd_65`,"color-yellow":`_color-yellow_1f2cd_66`,"color-orange":`_color-orange_1f2cd_72`,"color-red":`_color-red_1f2cd_73`,"color-purple":`_color-purple_1f2cd_74`,"color-brown":`_color-brown_1f2cd_75`,"color-teal":`_color-teal_1f2cd_76`,"color-slate":`_color-slate_1f2cd_77`},w=[`blue`,`green`,`yellow`,`orange`,`red`,`purple`,`brown`,`teal`,`slate`];function T(e){let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)>>>0;return w[t%w.length]}function E(e){let t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?``:t.length===1?t[0].charAt(0).toUpperCase():t[0].charAt(0).toUpperCase()+t[t.length-1].charAt(0).toUpperCase()}function D({name:t=``,src:n,alt:r,size:i=`md`,color:a,className:o,...s}){let c=a??(t?T(t):`blue`),l=E(t),u=[C.avatar,C[i],n?null:C[`color-${c}`],o].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`img`,"aria-label":r??t??`Avatar`,className:u,...s,children:n?(0,e.jsx)(`img`,{src:n,alt:r??t,className:C.image}):(0,e.jsx)(`span`,{"aria-hidden":`true`,className:C.initials,children:l})})}var O={separator:`_separator_w9b4s_3`,horizontal:`_horizontal_w9b4s_12`,vertical:`_vertical_w9b4s_20`};function k({orientation:t=`horizontal`,className:n,...r}){let i=[O.separator,t===`vertical`?O.vertical:O.horizontal,n].filter(Boolean).join(` `);return t===`vertical`?(0,e.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,className:i,...r}):(0,e.jsx)(`hr`,{className:i,...r})}var A={switch:`_switch_1h6fk_3`};function ee({className:t,...n}){return(0,e.jsx)(`input`,{type:`checkbox`,role:`switch`,className:[A.switch,t].filter(Boolean).join(` `),...n})}var te={checkbox:`_checkbox_jnffk_3`};function ne({indeterminate:n=!1,className:r,...i}){let a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{a.current&&(a.current.indeterminate=n)},[n]),(0,e.jsx)(`input`,{ref:a,type:`checkbox`,className:[te.checkbox,r].filter(Boolean).join(` `),...i})}var j={wrapper:`_wrapper_q91d8_3`,disabled:`_disabled_q91d8_9`,label:`_label_q91d8_15`,input:`_input_q91d8_25`,errorInput:`_errorInput_q91d8_74`,hint:`_hint_q91d8_89`,errorHint:`_errorHint_q91d8_97`};function re({label:n,helperText:r,error:i,id:a,className:o,disabled:s,...c}){let l=(0,t.useId)(),u=a??l,d=`${u}-help`;return(0,e.jsxs)(`div`,{className:[j.wrapper,s?j.disabled:null].filter(Boolean).join(` `),children:[n&&(0,e.jsx)(`label`,{htmlFor:u,className:j.label,children:n}),(0,e.jsx)(`input`,{id:u,disabled:s,"aria-describedby":i||r?d:void 0,"aria-invalid":i?!0:void 0,className:[j.input,i?j.errorInput:null,o].filter(Boolean).join(` `),...c}),(i||r)&&(0,e.jsx)(`span`,{id:d,className:[j.hint,i?j.errorHint:null].filter(Boolean).join(` `),children:i??r})]})}var ie={radio:`_radio_1vybt_3`};function ae({className:t,...n}){return(0,e.jsx)(`input`,{type:`radio`,className:[ie.radio,t].filter(Boolean).join(` `),...n})}var oe={track:`_track_endpr_3`,fill:`_fill_endpr_14`,accent:`_accent_endpr_23`,success:`_success_endpr_24`,warning:`_warning_endpr_25`,error:`_error_endpr_26`,indeterminate:`_indeterminate_endpr_30`,pulse:`_pulse_endpr_1`};function se({value:t,variant:n=`accent`,className:r,"aria-label":i,"aria-labelledby":a,...o}){let s=t==null,c=s?void 0:Math.min(1,Math.max(0,t)),l=c===void 0?void 0:c*100;return(0,e.jsx)(`div`,{role:`progressbar`,"aria-label":i,"aria-labelledby":a,"aria-valuenow":c===void 0?void 0:Math.round(l),"aria-valuemin":s?void 0:0,"aria-valuemax":s?void 0:100,className:[oe.track,r].filter(Boolean).join(` `),...o,children:(0,e.jsx)(`div`,{className:[oe.fill,oe[n],s?oe.indeterminate:null].filter(Boolean).join(` `),style:s?void 0:{width:`${l}%`}})})}var ce=`_banner_1x3b0_3`,le=`_message_1x3b0_17`,ue=`_actions_1x3b0_24`,de=`_actionBtn_1x3b0_33`,fe=`_dismissBtn_1x3b0_55`,pe=`_info_1x3b0_85`,me=`_warning_1x3b0_99`,he=`_error_1x3b0_113`,ge=`_success_1x3b0_127`,_e={banner:ce,message:le,actions:ue,actionBtn:de,dismissBtn:fe,info:pe,"actionBtn-info":`_actionBtn-info_1x3b0_90`,warning:me,"actionBtn-warning":`_actionBtn-warning_1x3b0_104`,error:he,"actionBtn-error":`_actionBtn-error_1x3b0_118`,success:ge,"actionBtn-success":`_actionBtn-success_1x3b0_132`};function ve({variant:t=`info`,children:n,actionLabel:r,onAction:i,dismissible:a=!1,onDismiss:o,className:s,...c}){return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,className:[_e.banner,_e[t],s].filter(Boolean).join(` `),...c,children:[(0,e.jsx)(`span`,{className:_e.message,children:n}),(r||a)&&(0,e.jsxs)(`span`,{className:_e.actions,children:[r&&(0,e.jsx)(`button`,{type:`button`,className:[_e.actionBtn,_e[`actionBtn-${t}`]].filter(Boolean).join(` `),onClick:i,children:r}),a&&(0,e.jsx)(`button`,{type:`button`,className:_e.dismissBtn,onClick:o,"aria-label":`Dismiss`,children:(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,fill:`currentColor`,children:(0,e.jsx)(`path`,{d:`M3.293 3.293a1 1 0 011.414 0L8 6.586l3.293-3.293a1 1 0 111.414 1.414L9.414 8l3.293 3.293a1 1 0 01-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 01-1.414-1.414L6.586 8 3.293 4.707a1 1 0 010-1.414z`})})})]})]})}var ye={headerBar:`_headerBar_1rr5r_3`,flat:`_flat_1rr5r_22`,slot:`_slot_1rr5r_29`,slotEnd:`_slotEnd_1rr5r_36`,titleSlot:`_titleSlot_1rr5r_42`,title:`_title_1rr5r_42`};function be({title:t,start:n,end:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`header`,{className:[ye.headerBar,i?ye.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:ye.slot,children:n}),(0,e.jsx)(`div`,{className:ye.titleSlot,"aria-live":`polite`,children:typeof t==`string`?(0,e.jsx)(`span`,{className:ye.title,children:t}):t}),(0,e.jsx)(`div`,{className:[ye.slot,ye.slotEnd].filter(Boolean).join(` `),children:r})]})}var xe={footer:`_footer_10xz9_3`,flat:`_flat_10xz9_23`,slot:`_slot_10xz9_29`,slotEnd:`_slotEnd_10xz9_36`,center:`_center_10xz9_42`};function Se({start:t,end:n,children:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`footer`,{className:[xe.footer,i?xe.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:xe.slot,children:t}),r!=null&&(0,e.jsx)(`div`,{className:xe.center,children:r}),(0,e.jsx)(`div`,{className:[xe.slot,xe.slotEnd].filter(Boolean).join(` `),children:n})]})}var Ce={wrapper:`_wrapper_1apop_3`,badge:`_badge_1apop_11`,anchored:`_anchored_1apop_32`,dot:`_dot_1apop_41`,accent:`_accent_1apop_56`,success:`_success_1apop_61`,warning:`_warning_1apop_66`,error:`_error_1apop_71`,neutral:`_neutral_1apop_76`};function we({variant:t=`accent`,dot:n=!1,children:r,anchor:i,className:a,...o}){let s=(0,e.jsx)(`span`,{className:[Ce.badge,Ce[t],n?Ce.dot:null,i?Ce.anchored:null,a].filter(Boolean).join(` `),...o,children:!n&&r});return i?(0,e.jsxs)(`span`,{className:Ce.wrapper,children:[i,s]}):s}var Te={sm:12,md:16,lg:20};function M({icon:t,size:n=`md`,label:r,width:i,height:a,...o}){let s=Te[n];return(0,e.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:t.viewBox,width:i??s,height:a??s,fill:`currentColor`,"aria-label":r,"aria-hidden":r?void 0:!0,role:r?`img`:void 0,focusable:`false`,...o,children:t.paths.map((t,n)=>(0,e.jsx)(`path`,{d:t.d,fillRule:t.fillRule,clipRule:t.clipRule},n))})}var Ee={viewBox:`0 0 16 16`,paths:[{d:`m2.5 5 5.5 6 5.5-6z`,fillRule:`evenodd`}]},De={viewBox:`0 0 16 16`,paths:[{d:`M3.293 3.293a1 1 0 0 1 1.414 0L8 6.586l3.293-3.293a1 1 0 1 1 1.414 1.414L9.414 8l3.293 3.293a1 1 0 0 1-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L6.586 8 3.293 4.707a1 1 0 0 1 0-1.414z`,fillRule:`evenodd`}]},Oe={viewBox:`0 0 16 16`,paths:[{d:`M6.5 1a5.5 5.5 0 0 1 4.33 8.92l3.13 3.13-1.41 1.41-3.13-3.13A5.5 5.5 0 1 1 6.5 1zm0 2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z`,fillRule:`evenodd`}]},ke={viewBox:`0 0 16 16`,paths:[{d:`M8 3C4.5 3 1.5 5.667 0 8c1.5 2.333 4.5 5 8 5s6.5-2.667 8-5c-1.5-2.333-4.5-5-8-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z`,fillRule:`evenodd`}]},Ae={viewBox:`0 0 16 16`,paths:[{d:`M1.293 1.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-1.88-1.88A8.8 8.8 0 0 1 8 13C4.5 13 1.5 10.333 0 8c.637-1.023 1.52-2.049 2.6-2.893L1.293 2.707a1 1 0 0 1 0-1.414zM5.03 6.444 7.09 8.505A1.5 1.5 0 0 0 9.494 6.91L7.432 4.848A3 3 0 0 0 5.03 6.444zM8 3c.645 0 1.27.083 1.867.237l-1.59 1.59A3 3 0 0 0 5.173 7.92L3.584 6.333C4.51 4.95 6.152 3 8 3zm5.4 2.107C14.48 5.951 15.363 6.977 16 8c-1.5 2.333-4.5 5-8 5a8.8 8.8 0 0 1-2.072-.249l1.538-1.538a3 3 0 0 0 3.703-3.703L12.81 5.87c.202.076.4.156.59.237z`,fillRule:`evenodd`}]},je={viewBox:`0 0 16 16`,paths:[{d:`M13.5 3 6 11.5 2.5 8 1 9.5l5 5 9-10z`,fillRule:`evenodd`}]},N={wrapper:`_wrapper_ld6g1_3`,open:`_open_ld6g1_13`,bar:`_bar_ld6g1_20`,disabled:`_disabled_ld6g1_31`,searchIcon:`_searchIcon_ld6g1_37`,input:`_input_ld6g1_47`,clearButton:`_clearButton_ld6g1_82`,filterRow:`_filterRow_ld6g1_124`,suggestionsPanel:`_suggestionsPanel_ld6g1_136`,suggestionsLoading:`_suggestionsLoading_ld6g1_160`,suggestionItem:`_suggestionItem_ld6g1_166`,suggestionItemActive:`_suggestionItemActive_ld6g1_176`,inline:`_inline_ld6g1_202`};function Me({open:r,onClose:i,onClear:a,children:o,value:s,onChange:c,placeholder:l=`Search…`,disabled:u,inline:d=!1,className:f,suggestions:p,onSuggestionSelect:m,loadingSuggestions:h=!1,renderSuggestion:g,suggestionsLabel:_=`Suggestions`,...v}){let y=(0,t.useRef)(null),b=(0,t.useRef)(null),x=(0,t.useRef)(null),C=(0,t.useId)(),w=(0,t.useId)(),[T,E]=(0,t.useState)(-1),[D,O]=(0,t.useState)(null),k=(p?.length??0)>0,A=r&&(h||k);(0,t.useEffect)(()=>{E(-1)},[p]),(0,t.useEffect)(()=>{if(r){let e=requestAnimationFrame(()=>y.current?.focus());return()=>cancelAnimationFrame(e)}},[r]),(0,t.useEffect)(()=>{if(!A||!b.current){O(null);return}function e(){if(!b.current)return;let e=b.current.getBoundingClientRect();O({top:e.bottom,left:e.left,width:e.width})}return e(),window.addEventListener(`scroll`,e,{passive:!0,capture:!0}),window.addEventListener(`resize`,e,{passive:!0}),()=>{window.removeEventListener(`scroll`,e,{capture:!0}),window.removeEventListener(`resize`,e)}},[A]),(0,t.useEffect)(()=>{T<0||!x.current||x.current.children[T]?.scrollIntoView({block:`nearest`})},[T]);let ee=(0,t.useCallback)(e=>{if(A&&k&&p){if(e.key===`ArrowDown`){e.preventDefault(),E(e=>Math.min(e+1,p.length-1));return}if(e.key===`ArrowUp`){e.preventDefault(),E(e=>Math.max(e-1,-1));return}if(e.key===`Enter`&&T>=0){e.preventDefault(),m?.(p[T]);return}}e.key===`Escape`&&(e.preventDefault(),i?.()),v.onKeyDown?.(e)},[i,v,A,k,p,T,m]),te=s!==void 0&&s!==``,ne=T>=0&&p?.[T]?`${w}-${p[T].id}`:void 0,j=A&&D?(0,n.createPortal)((0,e.jsxs)(`ul`,{ref:x,role:`listbox`,"aria-label":_,id:C,className:N.suggestionsPanel,style:{top:D.top,left:D.left,width:D.width},onMouseDown:e=>e.preventDefault(),children:[h&&(0,e.jsx)(`li`,{role:`presentation`,className:N.suggestionsLoading,children:(0,e.jsx)(S,{size:`sm`,label:`Loading suggestions…`})}),!h&&p?.map((t,n)=>(0,e.jsx)(`li`,{id:`${w}-${t.id}`,role:`option`,"aria-selected":n===T,className:[N.suggestionItem,n===T?N.suggestionItemActive:null].filter(Boolean).join(` `),onMouseEnter:()=>E(n),onMouseLeave:()=>E(-1),onClick:()=>m?.(t),children:g?g(t):t.label},t.id))]}),document.body):null;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{ref:b,className:[N.wrapper,r?N.open:null,f].filter(Boolean).join(` `),"aria-hidden":!r,children:[(0,e.jsxs)(`div`,{className:[N.bar,d?N.inline:null,u?N.disabled:null].filter(Boolean).join(` `),children:[(0,e.jsx)(`span`,{className:N.searchIcon,"aria-hidden":!0,children:(0,e.jsx)(M,{icon:Oe,size:`md`})}),(0,e.jsx)(`input`,{ref:y,type:`search`,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":A,"aria-controls":A?C:void 0,"aria-activedescendant":ne,value:s,onChange:c,placeholder:l,disabled:u,tabIndex:r?void 0:-1,className:N.input,onKeyDown:ee,...v}),te&&(0,e.jsx)(`button`,{type:`button`,className:N.clearButton,"aria-label":`Clear search`,tabIndex:r?void 0:-1,disabled:u,onClick:()=>{a?.(),y.current?.focus()},children:(0,e.jsx)(M,{icon:De,size:`md`})})]}),o&&(0,e.jsx)(`div`,{className:N.filterRow,children:o})]}),typeof document<`u`&&j]})}var Ne={page:`_page_cb4hq_3`,iconWrap:`_iconWrap_cb4hq_20`,title:`_title_cb4hq_33`,description:`_description_cb4hq_44`,actions:`_actions_cb4hq_58`,compact:`_compact_cb4hq_68`};function Pe({icon:t,iconNode:n,title:r,description:i,children:a,compact:o=!1,className:s,...c}){let l=o?64:128,u=t?(0,e.jsx)(M,{icon:t,width:l,height:l,"aria-hidden":!0}):n??null;return(0,e.jsxs)(`div`,{className:[Ne.page,o?Ne.compact:null,s].filter(Boolean).join(` `),...c,children:[u&&(0,e.jsx)(`div`,{className:Ne.iconWrap,"aria-hidden":`true`,children:u}),(0,e.jsx)(`p`,{className:Ne.title,children:r}),i&&(0,e.jsx)(`p`,{className:Ne.description,children:i}),a&&(0,e.jsx)(`div`,{className:Ne.actions,children:a})]})}var Fe={narrow:400,medium:550,wide:860};function Ie(){let e=()=>{let e=typeof window<`u`?window.innerWidth:1280;return{isNarrow:e<=Fe.narrow,isMedium:e<=Fe.medium,isWide:e<=Fe.wide,width:e}},[n,r]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=()=>r(e());return window.addEventListener(`resize`,t,{passive:!0}),()=>window.removeEventListener(`resize`,t)},[]),n}var Le=`_sidebar_b80pp_3`,Re=`_section_b80pp_21`,ze=`_sectionTitle_b80pp_33`,Be=`_list_b80pp_47`,Ve=`_item_b80pp_58`,He=`_itemBtn_b80pp_64`,Ue=`_active_b80pp_111`,We=`_itemIcon_b80pp_127`,Ge=`_itemLabel_b80pp_140`,Ke=`_itemSuffix_b80pp_150`,qe=`_contextMenu_b80pp_159`,Je=`_contextMenuItem_b80pp_183`,Ye=`_contextMenuDestructive_b80pp_219`,Xe=`_searchWrap_b80pp_225`,Ze=`_pageMode_b80pp_236`,Qe=`_dragOver_b80pp_243`,$e=`_collapsed_b80pp_251`,et=`_itemCollapsed_b80pp_262`,P={sidebar:Le,section:Re,sectionTitle:ze,list:Be,item:Ve,itemBtn:He,active:Ue,itemIcon:We,itemLabel:Ge,itemSuffix:Ke,contextMenu:qe,"menu-in":`_menu-in_b80pp_1`,contextMenuItem:Je,contextMenuDestructive:Ye,searchWrap:Xe,pageMode:Ze,dragOver:Qe,collapsed:$e,itemCollapsed:et},tt=(0,t.createContext)(!1);function nt(){return(0,t.useContext)(tt)}var rt=(0,t.createContext)(``);function it(e,n){let r=0;return t.Children.forEach(e,e=>{if(!(0,t.isValidElement)(e))return;let i=e.props;typeof i.label==`string`?i.label.toLowerCase().includes(n.toLowerCase())&&r++:i.children&&(r+=it(i.children,n))}),r}function at({children:n,collapsed:r=!1,searchable:i,filter:a,onFilterChange:o,mode:s,className:c,...l}){let[u,d]=(0,t.useState)(``),{isNarrow:f}=Ie(),p=a!==void 0,m=p?a:u,h=e=>{p||d(e),o?.(e)},g=m.length>0,_=s??(f?`page`:`sidebar`),v=!g||it(n,m)>0;return(0,e.jsx)(tt.Provider,{value:r,children:(0,e.jsx)(rt.Provider,{value:m,children:(0,e.jsxs)(`nav`,{className:[P.sidebar,r?P.collapsed:null,_===`page`?P.pageMode:null,c].filter(Boolean).join(` `),...l,children:[i&&(0,e.jsx)(`div`,{className:P.searchWrap,children:(0,e.jsx)(Me,{open:!0,value:m,onChange:e=>h(e.target.value),onClose:()=>h(``),onClear:()=>h(``),inline:!0})}),g&&!v?(0,e.jsx)(Pe,{title:`No Results`,description:`No items match your search.`,compact:!0}):n]})})})}function ot({title:t,children:n,className:r,...i}){return(0,e.jsxs)(`section`,{className:[P.section,r].filter(Boolean).join(` `),...i,children:[t&&(0,e.jsx)(`h3`,{className:P.sectionTitle,children:t}),(0,e.jsx)(`ul`,{role:`list`,className:P.list,children:n})]})}var st={tooltip:`_tooltip_y4het_3`,visible:`_visible_y4het_29`,top:`_top_y4het_55`,bottom:`_bottom_y4het_62`,left:`_left_y4het_69`,right:`_right_y4het_76`},ct=6;function lt(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[n,n===`top`||n===`bottom`?n===`top`?`bottom`:`top`:n===`left`?`right`:`left`,`top`,`bottom`,`left`,`right`];for(let n of a){let a=0,o=0;n===`top`?(a=e.top-t.height-ct,o=e.left+e.width/2-t.width/2):n===`bottom`?(a=e.bottom+ct,o=e.left+e.width/2-t.width/2):n===`left`?(a=e.top+e.height/2-t.height/2,o=e.left-t.width-ct):(a=e.top+e.height/2-t.height/2,o=e.right+ct);let s=o>=8&&o+t.width<=r-8,c=a>=8&&a+t.height<=i-8;if(s&&c)return{top:Math.max(8,Math.min(a,i-t.height-8)),left:Math.max(8,Math.min(o,r-t.width-8)),placement:n}}let o=0,s=0;return n===`top`&&(o=e.top-t.height-ct,s=e.left+e.width/2-t.width/2),n===`bottom`&&(o=e.bottom+ct,s=e.left+e.width/2-t.width/2),n===`left`&&(o=e.top+e.height/2-t.height/2,s=e.left-t.width-ct),n===`right`&&(o=e.top+e.height/2-t.height/2,s=e.right+ct),{top:Math.max(8,Math.min(o,i-t.height-8)),left:Math.max(8,Math.min(s,window.innerWidth-t.width-8)),placement:n}}function ut({label:r,placement:i=`top`,delay:a=500,children:o}){let s=(0,t.useId)(),[c,l]=(0,t.useState)(!1),[u,d]=(0,t.useState)(null),f=(0,t.useRef)(null),p=(0,t.useRef)(null),m=(0,t.useRef)(null),h=()=>{m.current&&=(clearTimeout(m.current),null)},g=(0,t.useCallback)(()=>{!f.current||!p.current||d(lt(f.current.getBoundingClientRect(),p.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(c)return g(),window.addEventListener(`scroll`,g,{passive:!0,capture:!0}),window.addEventListener(`resize`,g,{passive:!0}),()=>{window.removeEventListener(`scroll`,g,{capture:!0}),window.removeEventListener(`resize`,g)}},[c,g]);let _=(0,t.useCallback)(()=>{h(),m.current=setTimeout(()=>l(!0),a)},[a]),v=(0,t.useCallback)(()=>{h(),l(!1),d(null)},[]);(0,t.useEffect)(()=>{c&&g()},[c,g]),(0,t.useEffect)(()=>{if(!c)return;let e=e=>{e.key===`Escape`&&v()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[c,v]);let y=(0,t.cloneElement)(o,{ref:f,"aria-describedby":s,onMouseEnter:e=>{_(),o.props.onMouseEnter?.(e)},onMouseLeave:e=>{v(),o.props.onMouseLeave?.(e)},onFocus:e=>{_(),o.props.onFocus?.(e)},onBlur:e=>{v(),o.props.onBlur?.(e)}}),b=(0,e.jsx)(`div`,{ref:p,id:s,role:`tooltip`,className:[st.tooltip,u?st[u.placement]:null,c&&u?st.visible:null].filter(Boolean).join(` `),style:u?{top:u.top,left:u.left}:{visibility:`hidden`,top:-9999,left:-9999},children:r});return(0,e.jsxs)(e.Fragment,{children:[y,typeof document<`u`?(0,n.createPortal)(b,document.body):b]})}function dt({label:r,icon:i,active:a=!1,suffix:o,badge:s,tooltip:c,menuItems:l,onDrop:u,acceptTypes:d,className:f,...p}){let m=nt(),h=(0,t.useContext)(rt),g=o??s,_=m?c??r:c,v=h.length>0&&!r.toLowerCase().includes(h.toLowerCase()),[y,b]=(0,t.useState)(!1),x=e=>{u&&(d?.length&&!d.some(t=>e.dataTransfer.types.includes(t))||(e.preventDefault(),b(!0)))},S=()=>b(!1),C=e=>{u&&(e.preventDefault(),b(!1),u(e))},[w,T]=(0,t.useState)(null),E=(0,t.useRef)(null),D=(0,t.useCallback)((e,t)=>T({x:e,y:t}),[]),O=(0,t.useCallback)(()=>T(null),[]);(0,t.useEffect)(()=>{if(!w)return;let e=e=>{E.current&&!E.current.contains(e.target)&&O()},t=e=>{e.key===`Escape`&&O()};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[w,O]);let k=e=>{l?.length&&(e.preventDefault(),D(e.clientX,e.clientY))},A=e=>{if(e.key===`ContextMenu`||e.key===`F10`&&e.shiftKey){if(!l?.length)return;e.preventDefault();let t=e.currentTarget.getBoundingClientRect();D(t.right,t.top)}},ee=(0,e.jsxs)(`button`,{type:`button`,"aria-current":a?`page`:void 0,"aria-label":m?r:void 0,className:[P.itemBtn,a?P.active:null,m?P.itemCollapsed:null,y?P.dragOver:null,f].filter(Boolean).join(` `),onContextMenu:k,onKeyDown:A,onDragOver:x,onDragLeave:S,onDrop:C,...p,children:[i&&(0,e.jsx)(`span`,{className:P.itemIcon,children:(0,e.jsx)(M,{icon:i,size:`md`,"aria-hidden":!0})}),!m&&(0,e.jsx)(`span`,{className:P.itemLabel,children:r}),!m&&g&&(0,e.jsx)(`span`,{className:P.itemSuffix,children:g})]});return(0,e.jsxs)(`li`,{className:P.item,hidden:v||void 0,children:[_?(0,e.jsx)(ut,{label:_,placement:`right`,children:ee}):ee,w&&l?.length&&typeof document<`u`&&(0,n.createPortal)((0,e.jsx)(`div`,{ref:E,className:P.contextMenu,style:{top:w.y,left:w.x},role:`menu`,children:l.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`menuitem`,disabled:t.disabled,className:[P.contextMenuItem,t.destructive?P.contextMenuDestructive:null].filter(Boolean).join(` `),onClick:()=>{t.onClick(),O()},children:t.label},t.label))}),document.body)]})}var ft={spin:`_spin_7d4yi_3`,disabled:`_disabled_7d4yi_36`,btn:`_btn_7d4yi_43`,value:`_value_7d4yi_96`};function pt(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function mt(e,t,n){return Math.min(n,Math.max(t,e))}function ht({value:n,onChange:r,min:i=0,max:a=100,step:o=1,decimals:s,disabled:c=!1,className:l,"aria-label":u,"aria-labelledby":d,...f}){let p=s??pt(o),m=(0,t.useCallback)(e=>r(parseFloat(mt(e,i,a).toFixed(p))),[r,i,a,p]),h=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),m(n+o);break;case`ArrowDown`:e.preventDefault(),m(n-o);break;case`PageUp`:e.preventDefault(),m(n+o*10);break;case`PageDown`:e.preventDefault(),m(n-o*10);break;case`Home`:e.preventDefault(),m(i);break;case`End`:e.preventDefault(),m(a);break}},[n,o,i,a,m]);return(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":n,"aria-valuemin":i,"aria-valuemax":a,"aria-label":u,"aria-labelledby":d,"aria-disabled":c||void 0,tabIndex:c?-1:0,onKeyDown:c?void 0:h,className:[ft.spin,c?ft.disabled:null,l].filter(Boolean).join(` `),...f,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n<=i,className:ft.btn,onClick:()=>m(n-o),children:`−`}),(0,e.jsx)(`span`,{className:ft.value,"aria-hidden":`true`,children:n.toFixed(p)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n>=a,className:ft.btn,onClick:()=>m(n+o),children:`+`})]})}var F={bar:`_bar_12ars_3`,list:`_list_12ars_10`,tab:`_tab_12ars_26`,active:`_active_12ars_81`,tabIcon:`_tabIcon_12ars_102`,tabLabel:`_tabLabel_12ars_110`,closeBtn:`_closeBtn_12ars_119`,panel:`_panel_12ars_148`,inline:`_inline_12ars_158`};function gt({children:n,className:r,inline:i=!1,"aria-label":a=`Tabs`,...o}){let s=(0,t.useRef)(null);function c(e){let t=Array.from(s.current?.querySelectorAll(`[role=tab]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus()}return(0,e.jsx)(`div`,{className:[F.bar,i?F.inline:null,r].filter(Boolean).join(` `),...o,children:(0,e.jsx)(`div`,{ref:s,role:`tablist`,"aria-label":a,className:F.list,onKeyDown:c,children:n})})}function _t({label:t,icon:n,active:r=!1,panelId:i,onClose:a,closeLabel:o=`Close tab`,className:s,disabled:c,...l}){return(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":r,"aria-controls":i,tabIndex:r?0:-1,disabled:c,className:[F.tab,r?F.active:null,a?F.closeable:null,s].filter(Boolean).join(` `),...l,children:[n&&(0,e.jsx)(`span`,{className:F.tabIcon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:F.tabLabel,children:t}),a&&(0,e.jsx)(`span`,{role:`button`,tabIndex:0,"aria-label":o,className:F.closeBtn,onClick:e=>{e.stopPropagation(),a()},onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),a())},children:`×`})]})}function vt({id:t,active:n=!1,className:r,children:i,...a}){return(0,e.jsx)(`div`,{id:t,role:`tabpanel`,hidden:!n,tabIndex:0,className:[F.panel,r].filter(Boolean).join(` `),...a,children:i})}var I={row:`_row_17clq_3`,leading:`_leading_17clq_16`,content:`_content_17clq_25`,title:`_title_17clq_33`,subtitle:`_subtitle_17clq_44`,trailing:`_trailing_17clq_58`,propertyLabel:`_propertyLabel_17clq_68`,propertyValue:`_propertyValue_17clq_81`,interactive:`_interactive_17clq_94`};function yt({title:t,subtitle:n,leading:r,trailing:i,interactive:a=!1,variant:o=`default`,className:s,...c}){let l=a?`button`:`div`,u=o===`property`;return(0,e.jsxs)(l,{className:[I.row,a?I.interactive:null,u?I.property:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:I.leading,children:r}),(0,e.jsxs)(`span`,{className:I.content,children:[(0,e.jsx)(`span`,{className:u?I.propertyLabel:I.title,children:t}),n&&(0,e.jsx)(`span`,{className:u?I.propertyValue:I.subtitle,children:n})]}),i&&(0,e.jsx)(`span`,{className:I.trailing,children:i})]})}var bt={list:`_list_cy3hv_3`,item:`_item_cy3hv_17`,separate:`_separate_cy3hv_26`,separateItem:`_separateItem_cy3hv_36`,divider:`_divider_cy3hv_58`};function xt({children:n,variant:r=`default`,className:i,...a}){let o=t.Children.toArray(n).filter(Boolean),s=r===`separate`;return(0,e.jsx)(`ul`,{role:`list`,className:[bt.list,s?bt.separate:null,i].filter(Boolean).join(` `),...a,children:o.map((t,n)=>(0,e.jsxs)(`li`,{className:s?bt.separateItem:bt.item,children:[!s&&n>0&&(0,e.jsx)(k,{"aria-hidden":`true`}),t]},n))})}var St={switcher:`_switcher_1uh9r_3`,item:`_item_1uh9r_18`,active:`_active_1uh9r_45`,itemIcon:`_itemIcon_1uh9r_76`,itemLabel:`_itemLabel_1uh9r_84`};function Ct({children:n,className:r,"aria-label":i=`View switcher`,...a}){let o=(0,t.useRef)(null);function s(e){let t=Array.from(o.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(`div`,{ref:o,role:`radiogroup`,"aria-label":i,onKeyDown:s,className:[St.switcher,r].filter(Boolean).join(` `),...a,children:n})}function wt({label:t,icon:n,active:r=!1,className:i,disabled:a,...o}){return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":r,tabIndex:r?0:-1,disabled:a,className:[St.item,r?St.active:null,i].filter(Boolean).join(` `),...o,children:[n&&(0,e.jsx)(`span`,{className:St.itemIcon,children:(0,e.jsx)(M,{icon:n,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:St.itemLabel,children:t})]})}var Tt=`_toaster_1tgvb_3`,Et=`_toasterBottom_1tgvb_18`,Dt=`_toasterTop_1tgvb_22`,Ot=`_toast_1tgvb_3`,kt=`_title_1tgvb_69`,At=`_actions_1tgvb_76`,jt=`_actionBtn_1tgvb_85`,Mt=`_dismissBtn_1tgvb_118`,Nt={toaster:Tt,toasterBottom:Et,toasterTop:Dt,toast:Ot,"toast-in":`_toast-in_1tgvb_1`,title:kt,actions:At,actionBtn:jt,dismissBtn:Mt};function Pt({title:n,duration:r=3e3,onDismiss:i,actionLabel:a,onAction:o,dismissible:s=!1,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useRef)(r),f=(0,t.useRef)(0),p=()=>{u.current&&=(clearTimeout(u.current),null)},m=e=>{e<=0||!i||(p(),f.current=Date.now(),u.current=setTimeout(()=>i(),e))};(0,t.useEffect)(()=>(r>0&&(d.current=r,m(r)),p),[r]);let h=()=>{if(u.current){let e=Date.now()-f.current;d.current=Math.max(0,d.current-e),p()}},g=()=>{m(d.current)},_=()=>{p(),o?.(),i?.()};return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:[Nt.toast,c].filter(Boolean).join(` `),onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,...l,children:[(0,e.jsx)(`span`,{className:Nt.title,children:n}),(a||s)&&(0,e.jsxs)(`span`,{className:Nt.actions,children:[a&&(0,e.jsx)(`button`,{type:`button`,className:Nt.actionBtn,onClick:_,children:a}),s&&(0,e.jsx)(`button`,{type:`button`,className:Nt.dismissBtn,"aria-label":`Dismiss`,onClick:()=>{p(),i?.()},children:(0,e.jsx)(M,{icon:De,size:`md`,"aria-hidden":!0})})]})]})}function Ft({position:t=`bottom`,children:r,container:i,className:a,...o}){let s=(0,e.jsx)(`div`,{"aria-label":`Notifications`,className:[Nt.toaster,t===`top`?Nt.toasterTop:Nt.toasterBottom,a].filter(Boolean).join(` `),...o,children:r});return typeof document>`u`?s:(0,n.createPortal)(s,i??document.body)}var It=`_backdrop_bx9wz_3`,Lt=`_dialog_bx9wz_26`,Rt=`_title_bx9wz_56`,zt=`_body_bx9wz_68`,Bt=`_footer_bx9wz_89`,Vt=`_btn_bx9wz_96`,Ht=`_dialogAbout_bx9wz_159`,Ut=`_aboutHeader_bx9wz_166`,Wt=`_aboutIcon_bx9wz_175`,Gt=`_aboutAppName_bx9wz_184`,Kt=`_aboutVersion_bx9wz_191`,qt=`_aboutTabBar_bx9wz_198`,Jt=`_aboutTabBtn_bx9wz_205`,Yt=`_aboutTabBtnActive_bx9wz_224`,Xt=`_aboutTabContent_bx9wz_237`,Zt=`_aboutSection_bx9wz_242`,Qt=`_aboutComments_bx9wz_247`,$t=`_aboutInfoList_bx9wz_256`,en=`_aboutInfoLabel_bx9wz_263`,tn=`_aboutInfoValue_bx9wz_271`,nn=`_aboutLink_bx9wz_279`,rn=`_aboutCreditGroup_bx9wz_287`,an=`_aboutCreditTitle_bx9wz_291`,on=`_aboutCreditList_bx9wz_301`,sn=`_aboutCreditItem_bx9wz_310`,cn=`_aboutCopyright_bx9wz_316`,ln=`_aboutLicenseType_bx9wz_323`,un=`_aboutLicenseText_bx9wz_330`,L={backdrop:It,"backdrop-in":`_backdrop-in_bx9wz_1`,dialog:Lt,"dialog-in":`_dialog-in_bx9wz_1`,title:Rt,body:zt,footer:Bt,btn:Vt,"btn-default":`_btn-default_bx9wz_144`,"btn-suggested":`_btn-suggested_bx9wz_148`,"btn-destructive":`_btn-destructive_bx9wz_153`,dialogAbout:Ht,aboutHeader:Ut,aboutIcon:Wt,aboutAppName:Gt,aboutVersion:Kt,aboutTabBar:qt,aboutTabBtn:Jt,aboutTabBtnActive:Yt,aboutTabContent:Xt,aboutSection:Zt,aboutComments:Qt,aboutInfoList:$t,aboutInfoLabel:en,aboutInfoValue:tn,aboutLink:nn,aboutCreditGroup:rn,aboutCreditTitle:an,aboutCreditList:on,aboutCreditItem:sn,aboutCopyright:cn,aboutLicenseType:ln,aboutLicenseText:un},dn=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function fn(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(dn)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}var pn={details:`Details`,credits:`Credits`,legal:`Legal`};function mn({open:r,title:i,children:a,buttons:o=[],onClose:s,closeOnBackdrop:c=!0,role:l=`dialog`,responses:u,onResponse:d,variant:f,applicationName:p,applicationIcon:m,version:h,comments:g,developerName:_,website:v,websiteLabel:y,developers:b,designers:x,artists:S,copyright:C,licenseType:w,licenseText:T,links:E,className:D,...O}){let k=(0,t.useRef)(null),A=(0,t.useId)(),ee=(0,t.useRef)(null),[te,ne]=(0,t.useState)(`details`),j=!!u,re=f===`about`;(0,t.useEffect)(()=>{r?(ee.current=document.activeElement,(k.current?.querySelector(dn))?.focus()):(ee.current?.focus(),re&&ne(`details`))},[r,re]);let ie=(0,t.useCallback)(()=>{let e=u?.find(e=>e.variant!==`destructive`&&!e.disabled);e&&d?.(e.id)},[u,d]),ae=j?ie:c?s:void 0,oe=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),j?ie():s?.();return}fn(e,k)},[j,ie,s]);if(!r)return null;let se=[`details`,!!(b?.length||x?.length||S?.length)&&`credits`,!!(C||w||T)&&`legal`].filter(Boolean),ce=()=>re?(0,e.jsx)(`div`,{className:L.footer,children:(0,e.jsx)(`button`,{type:`button`,className:[L.btn,L[`btn-default`]].join(` `),onClick:s,children:`Close`})}):j&&u?(0,e.jsx)(`div`,{className:L.footer,children:u.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[L.btn,L[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:()=>d?.(t.id),children:t.label},t.id))}):o.length>0?(0,e.jsx)(`div`,{className:L.footer,children:o.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[L.btn,L[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:t.onClick,children:t.label},t.label))}):null,le=()=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{className:L.aboutHeader,children:[m&&(0,e.jsx)(`div`,{className:L.aboutIcon,children:m}),(0,e.jsx)(`div`,{id:A,className:L.aboutAppName,children:p}),h&&(0,e.jsx)(`div`,{className:L.aboutVersion,children:h})]}),se.length>1&&(0,e.jsx)(`div`,{className:L.aboutTabBar,role:`tablist`,children:se.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":te===t,className:[L.aboutTabBtn,te===t?L.aboutTabBtnActive:null].filter(Boolean).join(` `),onClick:()=>ne(t),children:pn[t]},t))}),(0,e.jsxs)(`div`,{className:L.aboutTabContent,children:[te===`details`&&(0,e.jsxs)(`div`,{className:L.aboutSection,children:[g&&(0,e.jsx)(`p`,{className:L.aboutComments,children:g}),(_||v||E?.length)&&(0,e.jsxs)(`dl`,{className:L.aboutInfoList,children:[_&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:`Developer`}),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:_})]}),v&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:`Website`}),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:(0,e.jsx)(`a`,{href:v,target:`_blank`,rel:`noopener noreferrer`,className:L.aboutLink,children:y??v})})]}),E?.map(t=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:t.label},`${t.label}-dt`),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:(0,e.jsx)(`a`,{href:t.url,target:`_blank`,rel:`noopener noreferrer`,className:L.aboutLink,children:t.url})},`${t.label}-dd`)]}))]})]}),te===`credits`&&(0,e.jsx)(`div`,{className:L.aboutSection,children:[{heading:`Developers`,list:b},{heading:`Designers`,list:x},{heading:`Artists`,list:S}].filter(e=>e.list?.length).map(({heading:t,list:n})=>(0,e.jsxs)(`div`,{className:L.aboutCreditGroup,children:[(0,e.jsx)(`h4`,{className:L.aboutCreditTitle,children:t}),(0,e.jsx)(`ul`,{className:L.aboutCreditList,children:n.map(t=>(0,e.jsx)(`li`,{className:L.aboutCreditItem,children:t},t))})]},t))}),te===`legal`&&(0,e.jsxs)(`div`,{className:L.aboutSection,children:[C&&(0,e.jsx)(`p`,{className:L.aboutCopyright,children:C}),w&&(0,e.jsx)(`p`,{className:L.aboutLicenseType,children:w}),T&&(0,e.jsx)(`pre`,{className:L.aboutLicenseText,children:T})]})]})]}),ue=(0,e.jsx)(`div`,{className:L.backdrop,onClick:ae,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:k,role:l,"aria-modal":`true`,"aria-labelledby":A,className:[L.dialog,re?L.dialogAbout:null,D].filter(Boolean).join(` `),onKeyDown:oe,onClick:e=>e.stopPropagation(),...O,children:[re?le():(0,e.jsxs)(e.Fragment,{children:[i&&(0,e.jsx)(`div`,{id:A,className:L.title,children:i}),a&&(0,e.jsx)(`div`,{className:L.body,children:a})]}),ce()]})});return typeof document>`u`?ue:(0,n.createPortal)(ue,document.body)}var hn=`_wrapper_1hi05_3`,gn=`_trigger_1hi05_11`,_n=`_triggerOpen_1hi05_63`,vn=`_triggerLabel_1hi05_73`,yn=`_placeholder_1hi05_81`,bn=`_chevron_1hi05_87`,xn=`_chevronOpen_1hi05_94`,Sn=`_list_1hi05_100`,Cn=`_listDown_1hi05_129`,wn=`_listUp_1hi05_133`,Tn=`_option_1hi05_145`,En=`_optionActive_1hi05_162`,Dn=`_optionSelected_1hi05_166`,On=`_optionDisabled_1hi05_170`,kn=`_optionText_1hi05_178`,An=`_optionLabel_1hi05_186`,jn=`_optionDesc_1hi05_192`,Mn=`_checkIcon_1hi05_202`,R={wrapper:hn,trigger:gn,triggerOpen:_n,triggerLabel:vn,placeholder:yn,chevron:bn,chevronOpen:xn,list:Sn,"list-in":`_list-in_1hi05_1`,listDown:Cn,listUp:wn,"list-in-up":`_list-in-up_1hi05_1`,option:Tn,optionActive:En,optionSelected:Dn,optionDisabled:On,optionText:kn,optionLabel:An,optionDesc:jn,checkIcon:Mn};function Nn({options:n,value:r,onChange:i,placeholder:a=`Select an option`,disabled:o,className:s,...c}){let[l,u]=(0,t.useState)(!1),[d,f]=(0,t.useState)(-1),[p,m]=(0,t.useState)(!1),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=n.find(e=>e.value===r),b=(0,t.useCallback)(()=>{if(!_.current)return;let e=_.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,r=Math.min(n.length*48+8,280);m(t<r&&e.top>r)},[n.length]),x=(0,t.useCallback)(()=>{if(o)return;b(),u(!0);let e=n.findIndex(e=>e.value===r&&!e.disabled);f(e>=0?e:n.findIndex(e=>!e.disabled))},[o,b,n,r]),S=(0,t.useCallback)(()=>{u(!1),f(-1),_.current?.focus()},[]),C=(0,t.useCallback)(e=>{e.disabled||(i?.(e.value),S())},[i,S]);(0,t.useEffect)(()=>{!l||d<0||!v.current||v.current.children[d]?.scrollIntoView({block:`nearest`})},[d,l]),(0,t.useEffect)(()=>{if(!l)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&S()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[l,S]);let w=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),x();break;case`ArrowUp`:e.preventDefault(),b(),u(!0),f(n.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[x,b,n]),T=(0,t.useCallback)(e=>{let t=n.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),r=t.indexOf(d);switch(e.key){case`ArrowDown`:{e.preventDefault();let n=t[Math.min(r+1,t.length-1)];f(n??d);break}case`ArrowUp`:{e.preventDefault();let n=t[Math.max(r-1,0)];f(n??d);break}case`Home`:e.preventDefault(),f(t[0]??-1);break;case`End`:e.preventDefault(),f(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),d>=0&&C(n[d]);break;case`Escape`:case`Tab`:S();break}},[n,d,C,S]);return(0,e.jsxs)(`div`,{className:[R.wrapper,s].filter(Boolean).join(` `),...c,children:[(0,e.jsxs)(`button`,{ref:_,id:h,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":l,"aria-controls":g,"aria-activedescendant":l&&d>=0?`${g}-opt-${d}`:void 0,disabled:o,className:[R.trigger,l?R.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>l?S():x(),onKeyDown:w,children:[(0,e.jsx)(`span`,{className:[R.triggerLabel,y?null:R.placeholder].filter(Boolean).join(` `),children:y?.label??a}),(0,e.jsx)(M,{icon:Ee,size:`md`,"aria-hidden":!0,className:[R.chevron,l?R.chevronOpen:null].filter(Boolean).join(` `)})]}),l&&(0,e.jsx)(`ul`,{ref:v,id:g,role:`listbox`,"aria-labelledby":h,tabIndex:-1,className:[R.list,p?R.listUp:R.listDown].filter(Boolean).join(` `),onKeyDown:T,children:n.map((t,n)=>(0,e.jsxs)(`li`,{id:`${g}-opt-${n}`,role:`option`,"aria-selected":t.value===r,"aria-disabled":t.disabled,className:[R.option,t.value===r?R.optionSelected:null,n===d?R.optionActive:null,t.disabled?R.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&f(n),onClick:()=>C(t),children:[(0,e.jsxs)(`span`,{className:R.optionText,children:[(0,e.jsx)(`span`,{className:R.optionLabel,children:t.label}),t.description&&(0,e.jsx)(`span`,{className:R.optionDesc,children:t.description})]}),t.value===r&&(0,e.jsx)(M,{icon:je,size:`md`,"aria-hidden":!0,className:R.checkIcon})]},t.value))})]})}var z={wrapper:`_wrapper_11zhs_3`,hasLabels:`_hasLabels_11zhs_11`,track:`_track_11zhs_17`,disabled:`_disabled_11zhs_42`,fill:`_fill_11zhs_50`,thumb:`_thumb_11zhs_64`,tick:`_tick_11zhs_97`,labels:`_labels_11zhs_112`,markLabel:`_markLabel_11zhs_119`};function Pn(e,t,n){return Math.min(n,Math.max(t,e))}function Fn(e,t,n,r){return parseFloat((Math.round((e-t)/n)*n+t).toFixed(r))}function In(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function Ln({value:n,onChange:r,min:i=0,max:a=100,step:o=1,disabled:s=!1,marks:c,className:l,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,...p}){let m=(0,t.useRef)(null),h=In(o),g=(Pn(n,i,a)-i)/(a-i)*100,_=(0,t.useCallback)(e=>{if(!m.current)return;let{left:t,width:n}=m.current.getBoundingClientRect();r(Pn(Fn((e-t)/n*(a-i)+i,i,o,h),i,a))},[i,a,o,h,r]),v=(0,t.useCallback)(e=>{s||(e.currentTarget.setPointerCapture(e.pointerId),_(e.clientX))},[s,_]),y=(0,t.useCallback)(e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&_(e.clientX)},[_]),b=(0,t.useCallback)(e=>{let t=t=>{e.preventDefault(),r(Pn(Fn(t,i,o,h),i,a))};switch(e.key){case`ArrowRight`:case`ArrowUp`:t(n+o);break;case`ArrowLeft`:case`ArrowDown`:t(n-o);break;case`PageUp`:t(n+o*10);break;case`PageDown`:t(n-o*10);break;case`Home`:t(i);break;case`End`:t(a);break}},[n,o,i,a,h,r]),x=c&&c.length>0,S=x&&c.some(e=>e.label);return(0,e.jsxs)(`div`,{className:[z.wrapper,S?z.hasLabels:null,l].filter(Boolean).join(` `),...p,children:[(0,e.jsxs)(`div`,{ref:m,role:`slider`,tabIndex:s?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":n,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,"aria-disabled":s||void 0,className:[z.track,s?z.disabled:null].filter(Boolean).join(` `),onPointerDown:v,onPointerMove:y,onKeyDown:s?void 0:b,children:[(0,e.jsx)(`div`,{className:z.fill,style:{width:`${g}%`}}),(0,e.jsx)(`div`,{className:z.thumb,style:{left:`${g}%`},"aria-hidden":`true`}),x&&c.map(t=>{let n=(Pn(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`div`,{className:z.tick,style:{left:`${n}%`},"aria-hidden":`true`},t.value)})]}),S&&(0,e.jsx)(`div`,{className:z.labels,"aria-hidden":`true`,children:c.map(t=>{let n=(Pn(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`span`,{className:z.markLabel,style:{left:`${n}%`},children:t.label},t.value)})})]})}var Rn={panel:`_panel_1tk9v_3`,visible:`_visible_1tk9v_36`,arrow:`_arrow_1tk9v_44`,bottom:`_bottom_1tk9v_59`,top:`_top_1tk9v_67`,left:`_left_1tk9v_75`,right:`_right_1tk9v_83`},zn=8,B=10,Bn=6;function Vn(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[...new Set([n,n===`top`?`bottom`:n===`bottom`?`top`:n===`left`?`right`:`left`,`bottom`,`top`,`left`,`right`])];function o(n){return n===`bottom`?{top:e.bottom+zn,left:e.left+e.width/2-t.width/2}:n===`top`?{top:e.top-t.height-zn,left:e.left+e.width/2-t.width/2}:n===`left`?{top:e.top+e.height/2-t.height/2,left:e.left-t.width-zn}:{top:e.top+e.height/2-t.height/2,left:e.right+zn}}for(let n of a){let{top:a,left:s}=o(n),c=s>=B&&s+t.width<=r-B,l=a>=B&&a+t.height<=i-B;if(c&&l)return{top:a,left:s,placement:n,arrowOffset:n===`top`||n===`bottom`?e.left+e.width/2-s:e.top+e.height/2-a}}for(let n of a){let{top:a,left:s}=o(n),c=a>=B&&a+t.height<=i-B,l=s>=B&&s+t.width<=r-B;if((n===`top`||n===`bottom`)&&c){let i=Math.max(B,Math.min(s,r-t.width-B)),o=e.left+e.width/2-i;return{top:a,left:i,placement:n,arrowOffset:Math.max(Bn+4,Math.min(o,t.width-Bn-4))}}if((n===`left`||n===`right`)&&l){let r=Math.max(B,Math.min(a,i-t.height-B)),o=e.top+e.height/2-r;return{top:r,left:s,placement:n,arrowOffset:Math.max(Bn+4,Math.min(o,t.height-Bn-4))}}}let s=e.bottom+zn,c=e.left+e.width/2-t.width/2,l=Math.max(B,Math.min(s,i-t.height-B)),u=Math.max(B,Math.min(c,r-t.width-B)),d=e.left+e.width/2-u;return{top:l,left:u,placement:`bottom`,arrowOffset:Math.max(Bn+4,Math.min(d,t.width-Bn-4))}}function Hn({content:r,placement:i=`bottom`,open:a,onClose:o,onOpenChange:s,children:c}){let l=a!==void 0,[u,d]=(0,t.useState)(!1),f=l?a:u,[p,m]=(0,t.useState)(null),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=(0,t.useRef)(null),b=(0,t.useCallback)(()=>{l?o?.():d(!1),s?.(!1)},[l,o,s]),x=(0,t.useCallback)(()=>{f?b():(l||d(!0),s?.(!0))},[f,b,l,s]),S=(0,t.useCallback)(()=>{!_.current||!v.current||m(Vn(_.current.getBoundingClientRect(),v.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(!f)return;let e=requestAnimationFrame(()=>{S(),window.addEventListener(`scroll`,S,{passive:!0,capture:!0}),window.addEventListener(`resize`,S,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,S,{capture:!0}),window.removeEventListener(`resize`,S)}},[f,S]),(0,t.useEffect)(()=>{f?(y.current=document.activeElement,requestAnimationFrame(()=>{(v.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)??v.current)?.focus()})):(y.current?.focus(),m(null))},[f]),(0,t.useEffect)(()=>{if(!f)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&b()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f,b]);let C=(0,t.useCallback)(e=>{e.key===`Escape`&&(e.stopPropagation(),b())},[b]),w=(0,t.cloneElement)(c,{ref:_,id:h,"aria-haspopup":`dialog`,"aria-expanded":f,"aria-controls":f?g:void 0,onClick:e=>{x(),c.props.onClick?.(e)}}),T=(0,e.jsxs)(`div`,{ref:v,id:g,role:`dialog`,"aria-labelledby":h,tabIndex:-1,className:[Rn.panel,p?Rn[p.placement]:null,f&&p?Rn.visible:null].filter(Boolean).join(` `),style:p?{top:p.top,left:p.left}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999},onKeyDown:C,children:[(0,e.jsx)(`div`,{className:Rn.arrow,"aria-hidden":`true`,style:p?.arrowOffset===void 0?void 0:p.placement===`top`||p.placement===`bottom`?{left:p.arrowOffset-Bn,marginLeft:0}:{top:p.arrowOffset-Bn,marginTop:0}}),r]});return(0,e.jsxs)(e.Fragment,{children:[w,f&&(typeof document<`u`?(0,n.createPortal)(T,document.body):T)]})}var Un={clamp:`_clamp_1j51b_6`};function Wn({maximumSize:t=600,children:n,className:r,style:i,...a}){return(0,e.jsx)(`div`,{className:[Un.clamp,r].filter(Boolean).join(` `),style:{maxWidth:t,...i},...a,children:n})}var V={root:`_root_yaj3r_3`,expanded:`_expanded_yaj3r_12`,sidebar:`_sidebar_yaj3r_16`,contentPane:`_contentPane_yaj3r_22`,collapsed:`_collapsed_yaj3r_30`,paneVisible:`_paneVisible_yaj3r_46`,paneHidden:`_paneHidden_yaj3r_50`,divider:`_divider_yaj3r_67`};function Gn({sidebar:t,content:n,showContent:r=!1,minSidebarWidth:i=180,maxSidebarWidth:a=280,sidebarWidthFraction:o=.25,className:s,style:c,...l}){let{isNarrow:u}=Ie(),d=`clamp(${i}px, ${o*100}%, ${a}px)`;return(0,e.jsxs)(`div`,{className:[V.root,u?V.collapsed:V.expanded,s].filter(Boolean).join(` `),style:{"--sidebar-width":d,...c},...l,children:[(0,e.jsx)(`div`,{className:[V.sidebar,u&&r?V.paneHidden:V.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&r,children:t}),!u&&(0,e.jsx)(`div`,{className:V.divider,"aria-hidden":`true`}),(0,e.jsx)(`div`,{className:[V.contentPane,u&&!r?V.paneHidden:V.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&!r,children:n})]})}var H={root:`_root_1xl2w_3`,wide:`_wide_1xl2w_13`,end:`_end_1xl2w_17`,sidebar:`_sidebar_1xl2w_21`,content:`_content_1xl2w_27`,narrow:`_narrow_1xl2w_35`,start:`_start_1xl2w_55`,sidebarOpen:`_sidebarOpen_1xl2w_59`,sidebarClosed:`_sidebarClosed_1xl2w_60`,backdrop:`_backdrop_1xl2w_72`,backdropVisible:`_backdropVisible_1xl2w_83`};function Kn({sidebar:n,content:r,showSidebar:i=!1,onClose:a,sidebarPosition:o=`start`,minSidebarWidth:s=180,maxSidebarWidth:c=280,sidebarWidthFraction:l=.25,className:u,style:d,...f}){let{isNarrow:p}=Ie(),m=(0,t.useRef)(null),h=`clamp(${s}px, ${l*100}%, ${c}px)`;(0,t.useEffect)(()=>{if(!p||!i)return;let e=e=>{e.key===`Escape`&&a?.()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[p,i,a]),(0,t.useEffect)(()=>{!p||!i||(m.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`))?.focus()},[p,i]);let g=o===`end`;return(0,t.useEffect)(()=>{if(!p||!i)return;let e=m.current;if(!e)return;let t=0,n=e=>{t=e.touches[0].clientX},r=e=>{let n=e.changedTouches[0].clientX-t;(g?n>80:n<-80)&&a?.()};return e.addEventListener(`touchstart`,n,{passive:!0}),e.addEventListener(`touchend`,r,{passive:!0}),()=>{e.removeEventListener(`touchstart`,n),e.removeEventListener(`touchend`,r)}},[p,i,g,a]),(0,e.jsxs)(`div`,{className:[H.root,p?H.narrow:H.wide,g?H.end:H.start,u].filter(Boolean).join(` `),style:{"--sidebar-width":h,...d},...f,children:[p&&(0,e.jsx)(`div`,{className:[H.backdrop,i?H.backdropVisible:null].filter(Boolean).join(` `),"aria-hidden":`true`,onClick:a}),(0,e.jsx)(`div`,{ref:m,className:[H.sidebar,p?i?H.sidebarOpen:H.sidebarClosed:null].filter(Boolean).join(` `),"aria-hidden":p&&!i,children:n}),(0,e.jsx)(`div`,{className:H.content,children:r})]})}var qn={bar:`_bar_njcvu_3`};function Jn({children:t,reveal:n=!0,className:r,...i}){return n?(0,e.jsx)(`div`,{role:`navigation`,"aria-label":`Bottom navigation`,className:[qn.bar,r].filter(Boolean).join(` `),...i,children:t}):null}var Yn={link:`_link_x1qyh_1`,externalIcon:`_externalIcon_x1qyh_36`};function Xn({external:t=!1,children:n,className:r,target:i,rel:a,...o}){let s=t||i===`_blank`;return(0,e.jsxs)(`a`,{className:[Yn.link,r].filter(Boolean).join(` `),target:s?`_blank`:i,rel:s?`noopener noreferrer`:a,...o,children:[n,s&&(0,e.jsx)(`span`,{className:Yn.externalIcon,"aria-label":`(opens in new tab)`,children:`↗`})]})}var Zn={group:`_group_1fa3l_3`,item:`_item_1fa3l_18`,iconOnly:`_iconOnly_1fa3l_48`,active:`_active_1fa3l_53`,itemIcon:`_itemIcon_1fa3l_86`,itemLabel:`_itemLabel_1fa3l_92`},Qn=(0,t.createContext)(null);function $n(){let e=(0,t.useContext)(Qn);if(!e)throw Error(`ToggleGroupItem must be used inside ToggleGroup`);return e}function er({value:n,onValueChange:r,"aria-label":i=`Options`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(Qn.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:c,role:`radiogroup`,"aria-label":i,onKeyDown:l,className:[Zn.group,o].filter(Boolean).join(` `),...s,children:a})})}function tr({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=$n(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[Zn.item,l?Zn.active:null,u?Zn.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Zn.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:Zn.itemLabel,children:n})]})}function nr({orientation:t=`vertical`,spacing:n=6,align:r,justify:i=`start`,className:a,style:o,children:s,...c}){let l=t===`horizontal`?`center`:`stretch`;return(0,e.jsx)(`div`,{className:a,style:{display:`flex`,flexDirection:t===`horizontal`?`row`:`column`,gap:typeof n==`number`?`${n}px`:n,alignItems:r??l,justifyContent:i,...o},...c,children:s})}var rr={wrapBox:`_wrapBox_1ik0x_1`,reverse:`_reverse_1ik0x_10`};function ir({childSpacing:t=6,lineSpacing:n,justify:r=`start`,align:i=`center`,wrapReverse:a=!1,children:o,className:s,style:c,...l}){let u=typeof t==`number`?`${t}px`:t,d=n==null?u:typeof n==`number`?`${n}px`:n,f={"--wrapbox-gap":u,"--wrapbox-row-gap":d,"--wrapbox-justify":r,"--wrapbox-align":i,...c};return(0,e.jsx)(`div`,{className:[rr.wrapBox,a?rr.reverse:null,s].filter(Boolean).join(` `),style:f,...l,children:o})}var ar={chip:`_chip_e26qc_3`,selectable:`_selectable_e26qc_31`,selected:`_selected_e26qc_55`,disabled:`_disabled_e26qc_68`,icon:`_icon_e26qc_76`,label:`_label_e26qc_85`,remove:`_remove_e26qc_91`};function or({label:t,icon:n,onRemove:r,selectable:i=!1,selected:a=!1,onToggle:o,disabled:s=!1,className:c,...l}){let u=i&&!r,d=[ar.chip,a?ar.selected:null,s?ar.disabled:null,u?ar.selectable:null,c].filter(Boolean).join(` `),f=(0,e.jsxs)(e.Fragment,{children:[n&&(0,e.jsx)(`span`,{className:ar.icon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:ar.label,children:t}),r&&(0,e.jsx)(`button`,{type:`button`,className:ar.remove,"aria-label":`Remove ${t}`,disabled:s,onClick:e=>{e.stopPropagation(),r()},tabIndex:s?-1:0,children:(0,e.jsx)(M,{icon:De,size:`sm`,"aria-hidden":!0})})]});return u?(0,e.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":a,"aria-label":t,disabled:s,onClick:o,className:d,...l,children:f}):(0,e.jsx)(`span`,{className:d,...l,children:f})}var sr=`_backdrop_zvuhh_3`,cr=`_dialog_zvuhh_26`,lr=`_header_zvuhh_59`,ur=`_title_zvuhh_67`,dr=`_closeBtn_zvuhh_74`,fr=`_searchRow_zvuhh_112`,pr=`_searchIcon_zvuhh_124`,mr=`_searchInput_zvuhh_132`,hr=`_searchClear_zvuhh_151`,gr=`_body_zvuhh_174`,_r=`_empty_zvuhh_182`,vr=`_section_zvuhh_193`,yr=`_sectionTitle_zvuhh_199`,br=`_list_zvuhh_209`,xr=`_row_zvuhh_225`,Sr=`_keys_zvuhh_240`,Cr=`_keyCap_zvuhh_247`,wr=`_plus_zvuhh_277`,Tr=`_description_zvuhh_284`,U={backdrop:sr,"backdrop-in":`_backdrop-in_zvuhh_1`,dialog:cr,"dialog-in":`_dialog-in_zvuhh_1`,header:lr,title:ur,closeBtn:dr,searchRow:fr,searchIcon:pr,searchInput:mr,searchClear:hr,body:gr,empty:_r,section:vr,sectionTitle:yr,list:br,row:xr,keys:Sr,keyCap:Cr,plus:wr,description:Tr},Er=`button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Dr({open:r,onClose:i,title:a=`Keyboard Shortcuts`,sections:o}){let[s,c]=(0,t.useState)(``),l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useRef)(null),f=(0,t.useRef)(`shortcuts-title-${Math.random().toString(36).slice(2,9)}`);(0,t.useEffect)(()=>{r?(d.current=document.activeElement,requestAnimationFrame(()=>u.current?.focus())):(c(``),d.current?.focus())},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),i();return}if(e.key!==`Tab`)return;let t=Array.from(l.current?.querySelectorAll(Er)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[i]);if(!r)return null;let m=s.trim().toLowerCase(),h=o.map(e=>({...e,shortcuts:e.shortcuts.filter(({description:e,keys:t})=>!m||e.toLowerCase().includes(m)||t.some(e=>e.toLowerCase().includes(m)))})).filter(e=>e.shortcuts.length>0),g=(0,e.jsx)(`div`,{className:U.backdrop,onClick:i,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":f.current,className:U.dialog,onKeyDown:p,onClick:e=>e.stopPropagation(),children:[(0,e.jsxs)(`div`,{className:U.header,children:[(0,e.jsx)(`span`,{id:f.current,className:U.title,children:a}),(0,e.jsx)(`button`,{type:`button`,className:U.closeBtn,"aria-label":`Close`,onClick:i,children:`×`})]}),(0,e.jsxs)(`div`,{className:U.searchRow,children:[(0,e.jsx)(`span`,{className:U.searchIcon,"aria-hidden":`true`,children:`⌕`}),(0,e.jsx)(`input`,{ref:u,type:`search`,className:U.searchInput,placeholder:`Search shortcuts…`,value:s,onChange:e=>c(e.target.value),"aria-label":`Search shortcuts`}),s&&(0,e.jsx)(`button`,{type:`button`,className:U.searchClear,"aria-label":`Clear search`,onClick:()=>{c(``),u.current?.focus()},children:`×`})]}),(0,e.jsx)(`div`,{className:U.body,role:`list`,children:h.length===0?(0,e.jsxs)(`p`,{className:U.empty,children:[`No shortcuts match "`,s,`"`]}):h.map(t=>(0,e.jsxs)(`section`,{className:U.section,children:[(0,e.jsx)(`h3`,{className:U.sectionTitle,children:t.title}),(0,e.jsx)(`ul`,{className:U.list,children:t.shortcuts.map(t=>(0,e.jsxs)(`li`,{className:U.row,role:`listitem`,children:[(0,e.jsx)(`span`,{className:U.keys,"aria-label":t.keys.join(` + `),children:t.keys.map((n,r)=>(0,e.jsxs)(`span`,{className:U.keyCap,children:[(0,e.jsx)(`kbd`,{children:n}),r<t.keys.length-1&&(0,e.jsx)(`span`,{className:U.plus,"aria-hidden":`true`,children:`+`})]},r))}),(0,e.jsx)(`span`,{className:U.description,children:t.description})]},t.description))})]},t.title))})]})});return typeof document>`u`?g:(0,n.createPortal)(g,document.body)}var Or={sidebar:`_sidebar_kmj4b_3`,list:`_list_kmj4b_17`,item:`_item_kmj4b_28`,itemBtn:`_itemBtn_kmj4b_34`,active:`_active_kmj4b_60`,itemIcon:`_itemIcon_kmj4b_106`,itemLabel:`_itemLabel_kmj4b_119`,itemSuffix:`_itemSuffix_kmj4b_129`,count:`_count_kmj4b_136`},kr=(0,t.createContext)(null);function Ar(){let e=(0,t.useContext)(kr);if(!e)throw Error(`ViewSwitcherSidebarItem must be used inside ViewSwitcherSidebar`);return e}function jr({value:n,onValueChange:r,"aria-label":i=`Views`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowDown`||e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowUp`||e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(kr.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`nav`,{className:[Or.sidebar,o].filter(Boolean).join(` `),onKeyDown:l,...s,children:(0,e.jsx)(`ul`,{ref:c,role:`radiogroup`,"aria-label":i,className:Or.list,children:a})})})}function Mr({name:t,label:n,icon:r,count:i,suffix:a,disabled:o,className:s,...c}){let{value:l,onValueChange:u}=Ar(),d=l===t,f=a??i??null;return(0,e.jsx)(`li`,{className:Or.item,children:(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":d,tabIndex:d?0:-1,disabled:o,onClick:()=>u(t),className:[Or.itemBtn,d?Or.active:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:Or.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:Or.itemLabel,children:n}),f!=null&&(0,e.jsx)(`span`,{className:Or.itemSuffix,children:typeof f==`number`?(0,e.jsx)(`span`,{className:Or.count,children:f>99?`99+`:f}):f})]})})}function Nr({breakpoints:n,children:r,className:i,style:a,...o}){let s=(0,t.useRef)(null),[c,l]=(0,t.useState)({activeBreakpoint:null,width:0});return(0,t.useEffect)(()=>{let e=s.current;if(!e)return;let t=[...n].sort((e,t)=>e.maxWidth-t.maxWidth),r=e=>({activeBreakpoint:(t.find(t=>e<=t.maxWidth)??null)?.name??null,width:e});l(r(e.offsetWidth));let i=new ResizeObserver(e=>{let t=e[0];t&&l(r(t.contentBoxSize?.[0]?.inlineSize??t.contentRect.width))});return i.observe(e),()=>i.disconnect()},[JSON.stringify(n)]),(0,e.jsx)(`div`,{ref:s,className:i,style:{minWidth:0,...a},"data-breakpoint":c.activeBreakpoint??void 0,...o,children:r(c)})}var Pr={row:`_row_1ba2f_3`,title:`_title_1ba2f_48`,leading:`_leading_1ba2f_59`,trailing:`_trailing_1ba2f_60`,default:`_default_1ba2f_68`,suggested:`_suggested_1ba2f_77`,destructive:`_destructive_1ba2f_86`};function Fr({title:t,variant:n=`default`,leading:r,trailing:i,className:a,...o}){return(0,e.jsxs)(`button`,{className:[Pr.row,Pr[n],a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Pr.leading,children:r}),(0,e.jsx)(`span`,{className:Pr.title,children:t}),i&&(0,e.jsx)(`span`,{className:Pr.trailing,children:i})]})}var Ir={container:`_container_4kjnf_3`,primary:`_primary_4kjnf_14`,toggle:`_toggle_4kjnf_15`,separator:`_separator_4kjnf_66`,chevron:`_chevron_4kjnf_81`,default:`_default_4kjnf_88`,suggested:`_suggested_4kjnf_123`,destructive:`_destructive_4kjnf_145`,dropdown:`_dropdown_4kjnf_167`,dropdownVisible:`_dropdownVisible_4kjnf_185`};function Lr({label:r,variant:i=`default`,dropdownContent:a,dropdownLabel:o=`More options`,disabled:s=!1,onClick:c,className:l,...u}){let[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)({}),h=(0,t.useRef)(null),g=(0,t.useRef)(null),_=(0,t.useRef)(null),v=(0,t.useCallback)(()=>f(!1),[]),y=(0,t.useCallback)(()=>{if(!g.current||!_.current)return;let e=g.current.getBoundingClientRect(),t=_.current.getBoundingClientRect(),n=window.innerWidth,r=e.right-t.width;r<8&&(r=8),r+t.width>n-8&&(r=n-t.width-8),m({top:e.bottom+6,left:r})},[]);(0,t.useEffect)(()=>{if(!d)return;let e=requestAnimationFrame(()=>{y(),window.addEventListener(`scroll`,y,{passive:!0,capture:!0}),window.addEventListener(`resize`,y,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,y,{capture:!0}),window.removeEventListener(`resize`,y)}},[d,y]),(0,t.useEffect)(()=>{if(!d)return;let e=e=>{!h.current?.contains(e.target)&&!_.current?.contains(e.target)&&v()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[d,v]);let b=e=>{e.key===`Escape`&&(e.stopPropagation(),v(),g.current?.focus())},x=[Ir.container,Ir[i],l].filter(Boolean).join(` `),S=(0,e.jsx)(`div`,{ref:_,role:`dialog`,"aria-label":o,tabIndex:-1,className:[Ir.dropdown,d?Ir.dropdownVisible:null].filter(Boolean).join(` `),style:Object.keys(p).length?{...p,position:`fixed`}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999,position:`fixed`},onKeyDown:b,children:a});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{ref:h,className:x,children:[(0,e.jsx)(`button`,{className:Ir.primary,disabled:s,onClick:c,...u,children:r}),(0,e.jsx)(`span`,{className:Ir.separator,"aria-hidden":`true`}),(0,e.jsx)(`button`,{ref:g,className:Ir.toggle,disabled:s,"aria-label":o,"aria-haspopup":`dialog`,"aria-expanded":d,onClick:()=>f(e=>!e),children:(0,e.jsx)(`svg`,{className:Ir.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),d&&(typeof document<`u`?(0,n.createPortal)(S,document.body):S)]})}var Rr={toolbar:`_toolbar_1avgl_2`,spacer:`_spacer_1avgl_20`};function zr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Rr.toolbar,n].filter(Boolean).join(` `),...r,children:t})}function Br({className:t,...n}){return(0,e.jsx)(`div`,{"aria-hidden":`true`,className:[Rr.spacer,t].filter(Boolean).join(` `),...n})}var Vr={linked:`_linked_1tser_3`,vertical:`_vertical_1tser_9`};function Hr({children:t,vertical:n=!1,className:r,...i}){return(0,e.jsx)(`div`,{className:[Vr.linked,n?Vr.vertical:null,r].filter(Boolean).join(` `),...i,children:t})}var Ur={frame:`_frame_1bq7b_2`};function Wr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Ur.frame,n].filter(Boolean).join(` `),...r,children:t})}var W={expanderRow:`_expanderRow_1wh8c_3`,header:`_header_1wh8c_11`,leading:`_leading_1wh8c_55`,content:`_content_1wh8c_64`,title:`_title_1wh8c_72`,subtitle:`_subtitle_1wh8c_83`,trailing:`_trailing_1wh8c_97`,chevronWrap:`_chevronWrap_1wh8c_106`,chevronOpen:`_chevronOpen_1wh8c_115`,chevron:`_chevron_1wh8c_106`,panel:`_panel_1wh8c_125`,expanded:`_expanded_1wh8c_131`,panelInner:`_panelInner_1wh8c_135`,childItem:`_childItem_1wh8c_142`};function Gr({title:n,subtitle:r,leading:i,trailing:a,children:o,expanded:s,defaultExpanded:c=!1,onExpandedChange:l,className:u,...d}){let f=s!==void 0,[p,m]=(0,t.useState)(c),h=f?s:p,g=(0,t.useId)(),_=(0,t.useId)(),v=()=>{let e=!h;f||m(e),l?.(e)},y=t.Children.toArray(o).filter(Boolean);return(0,e.jsxs)(`div`,{className:[W.expanderRow,h?W.expanded:null,u].filter(Boolean).join(` `),...d,children:[(0,e.jsxs)(`button`,{id:_,className:W.header,"aria-expanded":h,"aria-controls":g,onClick:v,children:[i&&(0,e.jsx)(`span`,{className:W.leading,children:i}),(0,e.jsxs)(`span`,{className:W.content,children:[(0,e.jsx)(`span`,{className:W.title,children:n}),r&&(0,e.jsx)(`span`,{className:W.subtitle,children:r})]}),a&&(0,e.jsx)(`span`,{className:W.trailing,children:a}),(0,e.jsx)(`span`,{className:[W.chevronWrap,h?W.chevronOpen:null].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,e.jsx)(`svg`,{className:W.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),(0,e.jsx)(`div`,{id:g,role:`region`,"aria-labelledby":_,className:W.panel,children:(0,e.jsx)(`div`,{className:W.panelInner,children:y.map((t,n)=>(0,e.jsxs)(`div`,{className:W.childItem,children:[(0,e.jsx)(k,{"aria-hidden":`true`}),t]},n))})})]})}var Kr={switcher:`_switcher_2tknm_3`,item:`_item_2tknm_10`,iconOnly:`_iconOnly_2tknm_38`,itemIcon:`_itemIcon_2tknm_43`,itemLabel:`_itemLabel_2tknm_49`,default:`_default_2tknm_55`,active:`_active_2tknm_68`,flat:`_flat_2tknm_121`,round:`_round_2tknm_169`},qr=(0,t.createContext)(null);function Jr(){let e=(0,t.useContext)(qr);if(!e)throw Error(`InlineViewSwitcherItem must be used inside InlineViewSwitcher`);return e}function Yr({value:n,onValueChange:r,variant:i=`default`,"aria-label":a=`View switcher`,children:o,className:s,...c}){let l=(0,t.useRef)(null);function u(e){let t=Array.from(l.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(qr.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:l,role:`radiogroup`,"aria-label":a,onKeyDown:u,className:[Kr.switcher,Kr[i],s].filter(Boolean).join(` `),...c,children:o})})}function Xr({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=Jr(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[Kr.item,l?Kr.active:null,u?Kr.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Kr.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:Kr.itemLabel,children:n})]})}var Zr={row:`_row_jl3bc_3`,disabled:`_disabled_jl3bc_41`,leading:`_leading_jl3bc_49`,content:`_content_jl3bc_58`,title:`_title_jl3bc_66`,subtitle:`_subtitle_jl3bc_77`,switchTrack:`_switchTrack_jl3bc_91`,switchThumb:`_switchThumb_jl3bc_114`,switchThumbOn:`_switchThumbOn_jl3bc_126`};function Qr({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`switch`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[Zr.row,c?Zr.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[i&&(0,e.jsx)(`span`,{className:Zr.leading,children:i}),(0,e.jsxs)(`span`,{className:Zr.content,id:g,children:[(0,e.jsx)(`span`,{className:Zr.title,children:n}),r&&(0,e.jsx)(`span`,{className:Zr.subtitle,children:r})]}),(0,e.jsx)(`span`,{className:Zr.switchTrack,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[Zr.switchThumb,h?Zr.switchThumbOn:null].filter(Boolean).join(` `)})})]})}var G={row:`_row_1dije_3`,disabled:`_disabled_1dije_41`,checkboxWrap:`_checkboxWrap_1dije_49`,checkbox:`_checkbox_1dije_49`,checkboxChecked:`_checkboxChecked_1dije_71`,checkmark:`_checkmark_1dije_77`,leading:`_leading_1dije_84`,content:`_content_1dije_93`,title:`_title_1dije_101`,subtitle:`_subtitle_1dije_112`};function $r({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`checkbox`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[G.row,c?G.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[(0,e.jsx)(`span`,{className:G.checkboxWrap,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[G.checkbox,h?G.checkboxChecked:null].filter(Boolean).join(` `),children:h&&(0,e.jsx)(`svg`,{className:G.checkmark,width:`12`,height:`12`,viewBox:`0 0 12 12`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M2 6l3 3 5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),i&&(0,e.jsx)(`span`,{className:G.leading,children:i}),(0,e.jsxs)(`span`,{className:G.content,id:g,children:[(0,e.jsx)(`span`,{className:G.title,children:n}),r&&(0,e.jsx)(`span`,{className:G.subtitle,children:r})]})]})}var ei=`_row_46mn8_3`,ti=`_disabled_46mn8_16`,ni=`_leading_46mn8_23`,ri=`_content_46mn8_32`,ii=`_title_46mn8_40`,ai=`_subtitle_46mn8_51`,oi=`_comboWrap_46mn8_65`,si=`_trigger_46mn8_73`,ci=`_triggerOpen_46mn8_126`,li=`_triggerLabel_46mn8_136`,ui=`_placeholder_46mn8_144`,di=`_chevron_46mn8_150`,fi=`_chevronOpen_46mn8_157`,pi=`_list_46mn8_163`,mi=`_listDown_46mn8_192`,hi=`_listUp_46mn8_196`,gi=`_option_46mn8_208`,_i=`_optionActive_46mn8_225`,vi=`_optionSelected_46mn8_229`,yi=`_optionDisabled_46mn8_233`,bi=`_optionLabel_46mn8_239`,xi=`_checkIcon_46mn8_247`,K={row:ei,disabled:ti,leading:ni,content:ri,title:ii,subtitle:ai,comboWrap:oi,trigger:si,triggerOpen:ci,triggerLabel:li,placeholder:ui,chevron:di,chevronOpen:fi,list:pi,"list-in":`_list-in_46mn8_1`,listDown:mi,listUp:hi,"list-in-up":`_list-in-up_46mn8_1`,option:gi,optionActive:_i,optionSelected:vi,optionDisabled:yi,optionLabel:bi,checkIcon:xi};function Si({title:n,subtitle:r,leading:i,options:a,value:o,defaultValue:s,onValueChange:c,disabled:l=!1,className:u,...d}){let f=o!==void 0,[p,m]=(0,t.useState)(s),h=f?o:p,[g,_]=(0,t.useState)(!1),[v,y]=(0,t.useState)(-1),[b,x]=(0,t.useState)(!1),S=(0,t.useId)(),C=(0,t.useId)(),w=(0,t.useRef)(null),T=(0,t.useRef)(null),E=a.find(e=>e.value===h),D=(0,t.useCallback)(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=Math.min(a.length*44+8,260);x(t<n&&e.top>n)},[a.length]),O=(0,t.useCallback)(()=>{if(l)return;D(),_(!0);let e=a.findIndex(e=>e.value===h&&!e.disabled);y(e>=0?e:a.findIndex(e=>!e.disabled))},[l,D,a,h]),k=(0,t.useCallback)(()=>{_(!1),y(-1),w.current?.focus()},[]),A=(0,t.useCallback)(e=>{e.disabled||(f||m(e.value),c?.(e.value),k())},[f,c,k]);(0,t.useEffect)(()=>{!g||v<0||!T.current||T.current.children[v]?.scrollIntoView({block:`nearest`})},[v,g]),(0,t.useEffect)(()=>{if(!g)return;let e=e=>{!w.current?.contains(e.target)&&!T.current?.contains(e.target)&&k()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[g,k]);let ee=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),O();break;case`ArrowUp`:e.preventDefault(),D(),_(!0),y(a.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[O,D,a]),te=(0,t.useCallback)(e=>{let t=a.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),n=t.indexOf(v);switch(e.key){case`ArrowDown`:{e.preventDefault();let r=t[Math.min(n+1,t.length-1)];y(r??v);break}case`ArrowUp`:{e.preventDefault();let r=t[Math.max(n-1,0)];y(r??v);break}case`Home`:e.preventDefault(),y(t[0]??-1);break;case`End`:e.preventDefault(),y(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),v>=0&&A(a[v]);break;case`Escape`:case`Tab`:k();break}},[a,v,A,k]);return(0,e.jsxs)(`div`,{className:[K.row,l?K.disabled:null,u].filter(Boolean).join(` `),...d,children:[i&&(0,e.jsx)(`span`,{className:K.leading,children:i}),(0,e.jsxs)(`span`,{className:K.content,children:[(0,e.jsx)(`span`,{className:K.title,children:n}),r&&(0,e.jsx)(`span`,{className:K.subtitle,children:r})]}),(0,e.jsxs)(`div`,{className:K.comboWrap,children:[(0,e.jsxs)(`button`,{ref:w,id:S,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":C,"aria-activedescendant":g&&v>=0?`${C}-opt-${v}`:void 0,disabled:l,className:[K.trigger,g?K.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>g?k():O(),onKeyDown:ee,children:[(0,e.jsx)(`span`,{className:[K.triggerLabel,E?null:K.placeholder].filter(Boolean).join(` `),children:E?.label??`—`}),(0,e.jsx)(`svg`,{className:[K.chevron,g?K.chevronOpen:null].filter(Boolean).join(` `),width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),g&&(0,e.jsx)(`ul`,{ref:T,id:C,role:`listbox`,"aria-labelledby":S,tabIndex:-1,className:[K.list,b?K.listUp:K.listDown].filter(Boolean).join(` `),onKeyDown:te,children:a.map((t,n)=>(0,e.jsxs)(`li`,{id:`${C}-opt-${n}`,role:`option`,"aria-selected":t.value===h,"aria-disabled":t.disabled,className:[K.option,t.value===h?K.optionSelected:null,n===v?K.optionActive:null,t.disabled?K.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&y(n),onClick:()=>A(t),children:[(0,e.jsx)(`span`,{className:K.optionLabel,children:t.label}),t.value===h&&(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,className:K.checkIcon,children:(0,e.jsx)(`path`,{d:`M3 8l4 4 6-6`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})]},t.value))})]})]})}var q={row:`_row_1kogj_3`,focused:`_focused_1kogj_16`,disabled:`_disabled_1kogj_25`,leading:`_leading_1kogj_33`,trailing:`_trailing_1kogj_40`,fieldWrap:`_fieldWrap_1kogj_49`,label:`_label_1kogj_61`,labelFloated:`_labelFloated_1kogj_82`,input:`_input_1kogj_91`,inputFloated:`_inputFloated_1kogj_114`};function Ci({title:n,value:r,defaultValue:i=``,onValueChange:a,leading:o,trailing:s,disabled:c,className:l,id:u,onChange:d,...f}){let p=(0,t.useId)(),m=u??p,h=r!==void 0,[g,_]=(0,t.useState)(String(i)),v=h?String(r):g,[y,b]=(0,t.useState)(!1),x=(0,t.useRef)(null),S=y||v.length>0;return(0,e.jsxs)(`div`,{className:[q.row,y?q.focused:null,c?q.disabled:null,l].filter(Boolean).join(` `),onClick:()=>x.current?.focus(),children:[o&&(0,e.jsx)(`span`,{className:q.leading,children:o}),(0,e.jsxs)(`span`,{className:q.fieldWrap,children:[(0,e.jsx)(`label`,{htmlFor:m,className:[q.label,S?q.labelFloated:null].filter(Boolean).join(` `),children:n}),(0,e.jsx)(`input`,{ref:x,id:m,className:[q.input,S?q.inputFloated:null].filter(Boolean).join(` `),value:v,disabled:c,onFocus:()=>b(!0),onBlur:()=>b(!1),onChange:e=>{h||_(e.target.value),a?.(e.target.value),d?.(e)},...f})]}),s&&(0,e.jsx)(`span`,{className:q.trailing,children:s})]})}var wi={revealButton:`_revealButton_1j8z0_3`};function Ti({trailing:n,disabled:r,...i}){let[a,o]=(0,t.useState)(!1),s=(0,e.jsx)(`button`,{type:`button`,className:wi.revealButton,onClick:e=>{e.stopPropagation(),o(e=>!e)},"aria-label":a?`Conceal password`:`Reveal password`,"aria-pressed":a,disabled:r,children:(0,e.jsx)(M,{icon:a?Ae:ke,size:`md`,"aria-hidden":!0})});return(0,e.jsx)(Ci,{...i,type:a?`text`:`password`,disabled:r,trailing:(0,e.jsxs)(e.Fragment,{children:[n,s]})})}var J={row:`_row_ycg6f_3`,disabled:`_disabled_ycg6f_16`,leading:`_leading_ycg6f_23`,content:`_content_ycg6f_32`,title:`_title_ycg6f_40`,subtitle:`_subtitle_ycg6f_51`,spin:`_spin_ycg6f_65`,spinBtn:`_spinBtn_ycg6f_100`,spinValue:`_spinValue_ycg6f_144`};function Ei(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function Di(e,t,n){return Math.min(n,Math.max(t,e))}function Oi({title:n,subtitle:r,leading:i,value:a,defaultValue:o=0,onValueChange:s,min:c=0,max:l=100,step:u=1,decimals:d,disabled:f=!1,className:p,...m}){let h=a!==void 0,[g,_]=(0,t.useState)(o),v=h?a:g,y=d??Ei(u),b=(0,t.useId)(),x=(0,t.useCallback)(e=>{let t=parseFloat(Di(e,c,l).toFixed(y));h||_(t),s?.(t)},[h,c,l,y,s]),S=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),x(v+u);break;case`ArrowDown`:e.preventDefault(),x(v-u);break;case`PageUp`:e.preventDefault(),x(v+u*10);break;case`PageDown`:e.preventDefault(),x(v-u*10);break;case`Home`:e.preventDefault(),x(c);break;case`End`:e.preventDefault(),x(l);break}},[v,u,c,l,x]);return(0,e.jsxs)(`div`,{className:[J.row,f?J.disabled:null,p].filter(Boolean).join(` `),...m,children:[i&&(0,e.jsx)(`span`,{className:J.leading,children:i}),(0,e.jsxs)(`span`,{className:J.content,children:[(0,e.jsx)(`span`,{className:J.title,children:n}),r&&(0,e.jsx)(`span`,{className:J.subtitle,children:r})]}),(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":v,"aria-valuemin":c,"aria-valuemax":l,"aria-labelledby":b,"aria-disabled":f||void 0,tabIndex:f?-1:0,onKeyDown:f?void 0:S,className:J.spin,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v<=c,className:J.spinBtn,onClick:e=>{e.stopPropagation(),x(v-u)},children:`−`}),(0,e.jsx)(`span`,{id:b,className:J.spinValue,"aria-hidden":`true`,children:v.toFixed(y)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v>=l,className:J.spinBtn,onClick:e=>{e.stopPropagation(),x(v+u)},children:`+`})]})]})}var ki=`_view_1r1om_3`,Ai=`_page_1r1om_12`,ji=`_pageHeader_1r1om_23`,Mi=`_pageTitle_1r1om_34`,Ni=`_pageContent_1r1om_43`,Pi=`_enterForward_1r1om_52`,Fi=`_enterBack_1r1om_56`,Ii={view:ki,page:Ai,pageHeader:ji,pageTitle:Mi,pageContent:Ni,enterForward:Pi,"slide-in-right":`_slide-in-right_1r1om_1`,enterBack:Fi,"slide-in-left":`_slide-in-left_1r1om_1`},Li=(0,t.createContext)({navigate:()=>{},pop:()=>{},canGoBack:!1,currentTag:``,direction:`forward`});function Ri(){return(0,t.useContext)(Li)}function zi({tag:n,title:r,children:i,className:a,...o}){let{currentTag:s,direction:c}=(0,t.useContext)(Li);return s===n?(0,e.jsxs)(`div`,{className:[Ii.page,c===`forward`?Ii.enterForward:Ii.enterBack,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:Ii.pageHeader,children:(0,e.jsx)(`span`,{className:Ii.pageTitle,children:r})}),(0,e.jsx)(`div`,{className:Ii.pageContent,children:i})]}):null}function Bi({initialPage:n,children:r,className:i,...a}){let[o,s]=(0,t.useState)([n]),c=o[o.length-1],l=o.length>1,[u,d]=(0,t.useState)(`forward`);return(0,e.jsx)(Li.Provider,{value:{navigate:e=>{d(`forward`),s(t=>[...t,e])},pop:()=>{o.length<=1||(d(`back`),s(e=>e.slice(0,-1)))},canGoBack:l,currentTag:c,direction:u},children:(0,e.jsx)(`div`,{className:[Ii.view,i].filter(Boolean).join(` `),...a,children:r})})}var Vi=`_backdrop_zzv98_3`,Hi=`_sheet_zzv98_26`,Ui=`_handle_zzv98_49`,Wi=`_handleBar_zzv98_56`,Gi=`_title_zzv98_66`,Ki=`_content_zzv98_79`,qi={backdrop:Vi,"backdrop-in":`_backdrop-in_zzv98_1`,sheet:Hi,"sheet-in":`_sheet-in_zzv98_1`,handle:Ui,handleBar:Wi,title:Gi,content:Ki},Ji=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Yi({open:r,title:i,children:a,onClose:o,closeOnBackdrop:s=!0,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useId)(),f=(0,t.useRef)(null);(0,t.useEffect)(()=>{r?(f.current=document.activeElement,(u.current?.querySelector(Ji))?.focus()):f.current?.focus()},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),o?.();return}if(e.key!==`Tab`)return;let t=Array.from(u.current?.querySelectorAll(Ji)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[o]);if(!r)return null;let m=(0,e.jsx)(`div`,{className:qi.backdrop,onClick:s?o:void 0,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":i?d:void 0,className:[qi.sheet,c].filter(Boolean).join(` `),onKeyDown:p,onClick:e=>e.stopPropagation(),...l,children:[(0,e.jsx)(`div`,{className:qi.handle,"aria-hidden":`true`,children:(0,e.jsx)(`div`,{className:qi.handleBar})}),i&&(0,e.jsx)(`div`,{id:d,className:qi.title,children:i}),a&&(0,e.jsx)(`div`,{className:qi.content,children:a})]})});return typeof document>`u`?m:(0,n.createPortal)(m,document.body)}var Y={carousel:`_carousel_117hp_3`,horizontal:`_horizontal_117hp_20`,vertical:`_vertical_117hp_27`,slide:`_slide_117hp_36`,indicatorDots:`_indicatorDots_117hp_46`,dot:`_dot_117hp_54`,dotActive:`_dotActive_117hp_73`,indicatorLines:`_indicatorLines_117hp_85`,line:`_line_117hp_93`,lineActive:`_lineActive_117hp_110`};function Xi({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Y.indicatorDots,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Y.dot,i===n?Y.dotActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function Zi({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Y.indicatorLines,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Y.line,i===n?Y.lineActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function Qi({children:n,orientation:r=`horizontal`,spacing:i=0,loop:a=!1,onPageChanged:o,page:s,className:c,...l}){let u=(0,t.useRef)(null),d=t.Children.count(n),[f,p]=(0,t.useState)(0),m=s!==void 0,h=m?s:f;(0,t.useEffect)(()=>{m&&g(s,`smooth`)},[s]);let g=(0,t.useCallback)((e,t=`smooth`)=>{let n=u.current;n&&(r===`horizontal`?n.scrollTo({left:n.clientWidth*e,behavior:t}):n.scrollTo({top:n.clientHeight*e,behavior:t}))},[r]);(0,t.useEffect)(()=>{let e=u.current;if(!e)return;let t=()=>{Array.from(e.children);let t=r===`horizontal`?e.clientWidth:e.clientHeight,n=r===`horizontal`?e.scrollLeft:e.scrollTop,i=Math.round(n/(t||1)),a=Math.max(0,Math.min(i,d-1));m||p(a),o?.(a)};return e.addEventListener(`scroll`,t,{passive:!0}),()=>e.removeEventListener(`scroll`,t)},[r,d,m,o]);let _=(0,t.useCallback)(e=>{let t=r===`horizontal`?e.key===`ArrowRight`:e.key===`ArrowDown`,n=r===`horizontal`?e.key===`ArrowLeft`:e.key===`ArrowUp`;if(t){e.preventDefault();let t=a?(h+1)%d:Math.min(h+1,d-1);g(t),m||p(t),o?.(t)}else if(n){e.preventDefault();let t=a?(h-1+d)%d:Math.max(h-1,0);g(t),m||p(t),o?.(t)}},[h,d,a,r,g,m,o]),v=r===`horizontal`;return(0,e.jsx)(`div`,{ref:u,role:`region`,"aria-roledescription":`carousel`,tabIndex:0,className:[Y.carousel,v?Y.horizontal:Y.vertical,c].filter(Boolean).join(` `),style:v?{columnGap:i||void 0}:{rowGap:i||void 0},onKeyDown:_,...l,children:t.Children.map(n,(t,n)=>(0,e.jsx)(`div`,{className:Y.slide,role:`group`,"aria-roledescription":`slide`,"aria-label":`${n+1} of ${d}`,children:t},n))})}function $i({children:t,...n}){return(0,e.jsx)(`div`,{...n,children:t})}var ea={content:`_content_1xkwk_3`,icon:`_icon_1xkwk_9`,label:`_label_1xkwk_15`};function ta({icon:t,label:n,iconPosition:r=`start`,className:i,...a}){return(0,e.jsxs)(`span`,{className:[ea.content,r===`end`?ea.iconEnd:null,i].filter(Boolean).join(` `),...a,children:[t&&r===`start`&&(0,e.jsx)(`span`,{className:ea.icon,"aria-hidden":`true`,children:t}),(0,e.jsx)(`span`,{className:ea.label,children:n}),t&&r===`end`&&(0,e.jsx)(`span`,{className:ea.icon,"aria-hidden":`true`,children:t})]})}var na={label:`_label_h3znl_3`,key:`_key_h3znl_9`},ra={ctrl:`⌃`,control:`⌃`,shift:`⇧`,alt:`⌥`,option:`⌥`,super:`⊞`,win:`⊞`,cmd:`⌘`,command:`⌘`,meta:`⌘`,up:`↑`,down:`↓`,left:`←`,right:`→`,enter:`↵`,return:`↵`,backspace:`⌫`,delete:`⌦`,escape:`⎋`,esc:`⎋`,tab:`⇥`,space:`␣`,pageup:`⇞`,pagedown:`⇟`,home:`⇱`,end:`⇲`};function ia({shortcut:t,symbols:n=!0,className:r,...i}){let a=t.split(`+`).map(e=>e.trim()).filter(Boolean);return(0,e.jsx)(`span`,{className:[na.label,r].filter(Boolean).join(` `),"aria-label":t,...i,children:a.map((t,r)=>{let i=n?ra[t.toLowerCase()]??t:t;return(0,e.jsx)(`kbd`,{className:na.key,children:i},r)})})}var aa={toolbarView:`_toolbarView_134hf_3`,top:`_top_134hf_11`,content:`_content_134hf_16`,bottom:`_bottom_134hf_23`};function oa({topBar:t,bottomBar:n,children:r,className:i,...a}){return(0,e.jsxs)(`div`,{className:[aa.toolbarView,i].filter(Boolean).join(` `),...a,children:[t&&(0,e.jsx)(`div`,{className:aa.top,children:t}),(0,e.jsx)(`div`,{className:aa.content,children:r}),n&&(0,e.jsx)(`div`,{className:aa.bottom,children:n})]})}var sa={windowTitle:`_windowTitle_zm877_3`,title:`_title_zm877_11`,subtitle:`_subtitle_zm877_24`};function ca({title:t,subtitle:n,className:r,...i}){return(0,e.jsxs)(`div`,{className:[sa.windowTitle,r].filter(Boolean).join(` `),...i,children:[(0,e.jsx)(`span`,{className:sa.title,children:t}),n&&(0,e.jsx)(`span`,{className:sa.subtitle,children:n})]})}var la={group:`_group_17s4f_3`,header:`_header_17s4f_11`,headerText:`_headerText_17s4f_17`,title:`_title_17s4f_25`,description:`_description_17s4f_33`,suffix:`_suffix_17s4f_42`,content:`_content_17s4f_48`};function ua({title:t,description:n,headerSuffix:r,children:i,className:a,...o}){let s=t||n||r;return(0,e.jsxs)(`div`,{className:[la.group,a].filter(Boolean).join(` `),...o,children:[s&&(0,e.jsxs)(`div`,{className:la.header,children:[(0,e.jsxs)(`div`,{className:la.headerText,children:[t&&(0,e.jsx)(`span`,{className:la.title,children:t}),n&&(0,e.jsx)(`span`,{className:la.description,children:n})]}),r&&(0,e.jsx)(`div`,{className:la.suffix,children:r})]}),(0,e.jsx)(`div`,{className:la.content,children:i})]})}var da={page:`_page_gt42j_3`,inner:`_inner_gt42j_10`};function fa({title:t,iconName:n,children:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[da.page,i].filter(Boolean).join(` `),role:`tabpanel`,...a,children:(0,e.jsx)(`div`,{className:da.inner,children:r})})}var pa=`_backdrop_1u1bd_3`,ma=`_dialog_1u1bd_26`,ha=`_dialogMulti_1u1bd_46`,ga=`_header_1u1bd_63`,_a=`_closeBtn_1u1bd_73`,va=`_title_1u1bd_102`,ya=`_searchWrap_1u1bd_112`,ba=`_searchInput_1u1bd_116`,xa=`_body_1u1bd_143`,Sa=`_sidebar_1u1bd_152`,Ca=`_navList_1u1bd_160`,wa=`_navItem_1u1bd_169`,Ta=`_navItemActive_1u1bd_190`,Ea=`_navIcon_1u1bd_205`,Da=`_navLabel_1u1bd_211`,Oa=`_pageWrap_1u1bd_221`,X={backdrop:pa,"backdrop-in":`_backdrop-in_1u1bd_1`,dialog:ma,"dialog-in":`_dialog-in_1u1bd_1`,dialogMulti:ha,header:ga,closeBtn:_a,title:va,searchWrap:ya,searchInput:ba,body:xa,sidebar:Sa,navList:Ca,navItem:wa,navItemActive:Ta,navIcon:Ea,navLabel:Da,pageWrap:Oa},ka=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Aa(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(ka)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}function ja({open:r,onClose:i,children:a,searchable:o=!0,className:s,...c}){let l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useId)(),f=t.Children.toArray(a).filter(e=>(0,t.isValidElement)(e)),[p,m]=(0,t.useState)(0),[h,g]=(0,t.useState)(``);(0,t.useEffect)(()=>{if(r){m(0),g(``);let e=requestAnimationFrame(()=>{o&&u.current?u.current.focus():(l.current?.querySelector(ka))?.focus()});return()=>cancelAnimationFrame(e)}},[r,o]);let _=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.stopPropagation(),i();return}Aa(e,l)},[i]),v=f.length>1,y=f[p]??f[0],b=h.trim().toLowerCase();return r?(0,n.createPortal)((0,e.jsx)(`div`,{className:X.backdrop,onClick:e=>{e.target===e.currentTarget&&i()},role:`presentation`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":d,className:[X.dialog,v?X.dialogMulti:null,s].filter(Boolean).join(` `),onKeyDown:_,...c,children:[(0,e.jsxs)(`div`,{className:X.header,children:[(0,e.jsx)(`button`,{type:`button`,className:X.closeBtn,onClick:i,"aria-label":`Close preferences`,children:`✕`}),(0,e.jsx)(`span`,{id:d,className:X.title,children:`Preferences`}),o&&(0,e.jsx)(`div`,{className:X.searchWrap,children:(0,e.jsx)(`input`,{ref:u,type:`search`,placeholder:`Search…`,value:h,onChange:e=>g(e.target.value),className:X.searchInput,"aria-label":`Search preferences`})})]}),(0,e.jsxs)(`div`,{className:X.body,children:[v&&(0,e.jsx)(`nav`,{className:X.sidebar,"aria-label":`Preferences pages`,children:(0,e.jsx)(`ul`,{role:`tablist`,className:X.navList,children:f.map((t,n)=>(0,e.jsx)(`li`,{role:`presentation`,children:(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":n===p,className:[X.navItem,n===p?X.navItemActive:null].filter(Boolean).join(` `),onClick:()=>m(n),children:[t.props.iconName&&(0,e.jsx)(`span`,{className:[X.navIcon,`icon`,t.props.iconName].join(` `),"aria-hidden":`true`}),(0,e.jsx)(`span`,{className:X.navLabel,children:t.props.title})]})},n))})}),(0,e.jsx)(`div`,{className:X.pageWrap,children:y&&(0,t.cloneElement)(y,{"data-search-query":b||void 0})})]})]})}),document.body):null}var Z={vertical:`_vertical_12mfk_12`,item:`_item_12mfk_18`,leading:`_leading_12mfk_25`,nodeTrack:`_nodeTrack_12mfk_32`,content:`_content_12mfk_41`,horizontal:`_horizontal_12mfk_65`,node:`_node_12mfk_32`,nodeDot:`_nodeDot_12mfk_114`,nodeWithIcon:`_nodeWithIcon_12mfk_121`,iconWrap:`_iconWrap_12mfk_128`,lineInvisible:`_lineInvisible_12mfk_139`,line:`_line_12mfk_139`,lineDotted:`_lineDotted_12mfk_153`};function Ma({items:t,orientation:n=`vertical`,variant:r=`default`,className:i,...a}){let o=n===`horizontal`,s=r!==`none`;return(0,e.jsx)(`div`,{role:`list`,className:[Z.root,o?Z.horizontal:Z.vertical,i].filter(Boolean).join(` `),...a,children:t.map((n,i)=>{let a=i===0,c=i===t.length-1,l=[Z.line,r===`dotted`?Z.lineDotted:null].filter(Boolean).join(` `),u=(0,e.jsx)(`div`,{className:[Z.node,n.icon?Z.nodeWithIcon:Z.nodeDot].filter(Boolean).join(` `),children:n.icon&&(0,e.jsx)(`span`,{className:Z.iconWrap,"aria-hidden":`true`,children:n.icon})});return(0,e.jsxs)(`div`,{role:`listitem`,className:Z.item,children:[(0,e.jsx)(`div`,{className:Z.leading,children:n.leading}),o?(0,e.jsxs)(`div`,{className:Z.nodeTrack,children:[(0,e.jsx)(`div`,{className:[Z.line,r===`dotted`?Z.lineDotted:null,a||!s?Z.lineInvisible:null].filter(Boolean).join(` `),"aria-hidden":`true`}),u,(0,e.jsx)(`div`,{className:[Z.line,r===`dotted`?Z.lineDotted:null,c||!s?Z.lineInvisible:null].filter(Boolean).join(` `),"aria-hidden":`true`})]}):(0,e.jsxs)(`div`,{className:Z.nodeTrack,children:[u,!c&&s&&(0,e.jsx)(`div`,{className:l,"aria-hidden":`true`})]}),(0,e.jsx)(`div`,{className:Z.content,children:n.content})]},i)})})}var Na={pathBar:`_pathBar_1n4ev_3`,list:`_list_1n4ev_12`,item:`_item_1n4ev_25`,separator:`_separator_1n4ev_33`,segment:`_segment_1n4ev_44`,current:`_current_1n4ev_81`,icon:`_icon_1n4ev_98`};function Pa({segments:t,onNavigate:n,className:r,...i}){return(0,e.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:[Na.pathBar,r].filter(Boolean).join(` `),...i,children:(0,e.jsx)(`ol`,{className:Na.list,"aria-label":`Path segments`,children:t.map((r,i)=>{let a=i===t.length-1;return(0,e.jsxs)(`li`,{className:Na.item,children:[i>0&&(0,e.jsx)(`span`,{className:Na.separator,"aria-hidden":`true`,children:(0,e.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 2l4 4-4 4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),a?(0,e.jsxs)(`span`,{className:Na.current,"aria-current":`page`,children:[r.icon&&(0,e.jsx)(`span`,{className:Na.icon,"aria-hidden":`true`,children:r.icon}),r.label]}):(0,e.jsxs)(`button`,{type:`button`,className:Na.segment,onClick:()=>n?.(r.path,i),children:[r.icon&&(0,e.jsx)(`span`,{className:Na.icon,"aria-hidden":`true`,children:r.icon}),r.label]})]},r.path)})})})}var Q={wrapper:`_wrapper_1upmq_1`,svg:`_svg_1upmq_10`,label:`_label_1upmq_15`,cell:`_cell_1upmq_23`,tooltip:`_tooltip_1upmq_58`,legend:`_legend_1upmq_74`,legendLabel:`_legendLabel_1upmq_81`,legendCell:`_legendCell_1upmq_89`},Fa=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Ia=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],La=28,Ra=20,za=[`var(--gnome-card-shade-color, rgba(0,0,0,0.07))`,`var(--gnome-green-1, #8ff0a4)`,`var(--gnome-green-2, #57e389)`,`var(--gnome-green-4, #2ec27e)`,`var(--gnome-green-5, #26a269)`];function Ba(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function Va(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)}function Ha(e){return Va(e).toLocaleDateString(`en-US`,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`})}function Ua({data:n,maxLevel:r=4,colorScale:i,cellSize:a=12,cellGap:o=3,weekStartDay:s=1,showMonthLabels:c=!0,showDayLabels:l=!0,showLegend:u=!0,weeks:d=52,ariaLabel:f=`Contribution graph`,onDayClick:p,tooltipContent:m,className:h}){let g=a+o,_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=i??za,[b,x]=(0,t.useState)({col:0,row:0}),[S,C]=(0,t.useState)(null),w=(0,t.useMemo)(()=>{let e=new Map;for(let t of n)e.set(t.date,t.count);return e},[n]),T=(0,t.useMemo)(()=>Math.max(1,...n.map(e=>e.count)),[n]),{grid:E,monthLabels:D}=(0,t.useMemo)(()=>{let e=new Date;e.setHours(0,0,0,0);let t=(e.getDay()-s+7)%7,n=new Date(e);n.setDate(e.getDate()-t);let i=new Date(n);i.setDate(n.getDate()-(d-1)*7);let a=[],o=[],c=-1;for(let t=0;t<d;t++){let n=new Date(i);n.setDate(i.getDate()+t*7),n.getMonth()!==c&&(o.push({col:t,month:Fa[n.getMonth()]}),c=n.getMonth());let s=[];for(let n=0;n<7;n++){let a=new Date(i);a.setDate(i.getDate()+t*7+n);let o=a>e,c=Ba(a),l=o?0:w.get(c)??0,u=l===0?0:Math.min(r,Math.ceil(l/T*r));s.push({iso:c,count:l,level:u,future:o})}a.push(s)}return{grid:a,monthLabels:o}},[w,T,r,d,s]),O=(0,t.useMemo)(()=>[1,3,5].map(e=>({row:(e-s+7)%7,label:Ia[e]})),[s]),k=l?La:0,A=c?Ra:0,ee=k+d*g-o,te=A+7*g-o,ne=Math.min(4,Math.floor(a/3));function j(e,t){let n=Math.max(0,Math.min(d-1,e)),r=Math.max(0,Math.min(6,t));x({col:n,row:r}),_.current?.querySelector(`[data-col="${n}"][data-row="${r}"]`)?.focus()}function re(e,t,n){let r={ArrowRight:[t+1,n],ArrowLeft:[t-1,n],ArrowDown:[t,n+1],ArrowUp:[t,n-1]};if(r[e.key])e.preventDefault(),j(...r[e.key]);else if(e.key===`Enter`||e.key===` `){e.preventDefault();let r=E[t]?.[n];r&&!r.future&&p?.({date:r.iso,count:r.count})}}function ie(e,t){let n=v.current;if(!n)return;let r=n.getBoundingClientRect(),i=e.currentTarget.getBoundingClientRect();C({x:i.left-r.left+a/2,y:i.top-r.top,text:t})}function ae(e){return e.future?y[0]:y[Math.min(e.level,y.length-1)]??y[y.length-1]}function oe(e){return e.future?Ha(e.iso):m?.({date:e.iso,count:e.count})??`${e.count} contribution${e.count===1?``:`s`} on ${Ha(e.iso)}`}return(0,e.jsxs)(`div`,{ref:v,className:[Q.wrapper,h].filter(Boolean).join(` `),children:[(0,e.jsxs)(`svg`,{ref:_,width:ee,height:te,className:Q.svg,"aria-label":f,role:`img`,children:[c&&D.map(({col:t,month:n})=>(0,e.jsx)(`text`,{x:k+t*g,y:12,className:Q.label,children:n},`m-${t}`)),l&&O.map(({row:t,label:n})=>(0,e.jsx)(`text`,{x:0,y:A+t*g+a-1,className:Q.label,children:n},`d-${t}`)),(0,e.jsx)(`g`,{role:`grid`,"aria-label":f,children:E.map((t,n)=>(0,e.jsx)(`g`,{role:`row`,children:t.map((t,r)=>{let i=oe(t),o=b.col===n&&b.row===r;return(0,e.jsx)(`rect`,{"data-col":n,"data-row":r,x:k+n*g,y:A+r*g,width:a,height:a,rx:ne,fill:ae(t),opacity:t.future?.35:1,className:Q.cell,role:`gridcell`,"aria-label":i,"aria-disabled":t.future||void 0,tabIndex:o?0:-1,onClick:()=>!t.future&&p?.({date:t.iso,count:t.count}),onKeyDown:e=>re(e,n,r),onFocus:()=>x({col:n,row:r}),onMouseEnter:e=>ie(e,i),onMouseLeave:()=>C(null)},`${n}-${r}`)})},n))})]}),S&&(0,e.jsx)(`div`,{className:Q.tooltip,style:{left:S.x,top:S.y},role:`tooltip`,children:S.text}),u&&(0,e.jsxs)(`div`,{className:Q.legend,children:[(0,e.jsx)(`span`,{className:Q.legendLabel,children:`Less`}),Array.from({length:r+1},(t,n)=>(0,e.jsx)(`svg`,{width:a,height:a,"aria-hidden":`true`,className:Q.legendCell,children:(0,e.jsx)(`rect`,{width:a,height:a,rx:ne,fill:y[Math.min(n,y.length-1)]})},n)),(0,e.jsx)(`span`,{className:Q.legendLabel,children:`More`})]})]})}var $={outer:`_outer_1pg3h_3`,scroll:`_scroll_1pg3h_13`,table:`_table_1pg3h_20`,thead:`_thead_1pg3h_28`,th:`_th_1pg3h_28`,headerLabel:`_headerLabel_1pg3h_48`,sortBtn:`_sortBtn_1pg3h_55`,sortBtnActive:`_sortBtnActive_1pg3h_84`,sortActive:`_sortActive_1pg3h_89`,sortNeutral:`_sortNeutral_1pg3h_93`,tbody:`_tbody_1pg3h_99`,row:`_row_1pg3h_105`,rowSelectable:`_rowSelectable_1pg3h_114`,rowSelected:`_rowSelected_1pg3h_126`,td:`_td_1pg3h_144`,alignStart:`_alignStart_1pg3h_156`,alignCenter:`_alignCenter_1pg3h_160`,alignEnd:`_alignEnd_1pg3h_164`,checkboxCol:`_checkboxCol_1pg3h_170`,checkbox:`_checkbox_1pg3h_170`,emptyCell:`_emptyCell_1pg3h_186`,emptyLabel:`_emptyLabel_1pg3h_191`},Wa={start:$.alignStart,center:$.alignCenter,end:$.alignEnd};function Ga({direction:t}){return(0,e.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 10 10`,"aria-hidden":`true`,className:t?$.sortActive:$.sortNeutral,children:t===`asc`?(0,e.jsx)(`path`,{d:`M5 2 L9 8 L1 8 Z`,fill:`currentColor`}):t===`desc`?(0,e.jsx)(`path`,{d:`M5 8 L1 2 L9 2 Z`,fill:`currentColor`}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`path`,{d:`M5 1 L8 5 L2 5 Z`,fill:`currentColor`,opacity:`0.4`}),(0,e.jsx)(`path`,{d:`M5 9 L2 5 L8 5 Z`,fill:`currentColor`,opacity:`0.4`})]})})}function Ka({columns:n,rows:r,rowKey:i,selectionMode:a=`none`,selectedRows:o=[],onSelectionChange:s,sortState:c,onSort:l,height:u,emptyState:d,className:f,ariaLabel:p}){let m=(0,t.useRef)(null),[h,g]=(0,t.useState)(0),_=new Set(o),v=a===`multiple`,y=n.length+(v?1:0);function b(e){l&&l(e,c?.columnId===e&&c.direction===`asc`?`desc`:`asc`)}function x(e){if(!(a===`none`||!s))if(a===`single`)s(_.has(e)?[]:[e]);else{let t=new Set(_);t.has(e)?t.delete(e):t.add(e),s([...t])}}function S(e,t,n){let i=m.current?.querySelectorAll(`tr`)??[];if(e.key===`ArrowDown`){e.preventDefault();let n=Math.min(r.length-1,t+1);g(n),i[n]?.focus()}else if(e.key===`ArrowUp`){e.preventDefault();let n=Math.max(0,t-1);g(n),i[n]?.focus()}else (e.key===` `||e.key===`Enter`)&&(e.preventDefault(),x(n))}function C(e){s&&s(e?r.map(i):[])}let w=u?{height:typeof u==`number`?`${u}px`:u}:{};return(0,e.jsx)(`div`,{className:[$.outer,f].filter(Boolean).join(` `),children:(0,e.jsx)(`div`,{className:$.scroll,style:w,children:(0,e.jsxs)(`table`,{className:$.table,role:`grid`,"aria-label":p,"aria-multiselectable":a===`multiple`||void 0,children:[(0,e.jsx)(`thead`,{className:$.thead,children:(0,e.jsxs)(`tr`,{children:[v&&(0,e.jsx)(`th`,{className:[$.th,$.checkboxCol].join(` `),children:(0,e.jsx)(`input`,{type:`checkbox`,className:$.checkbox,checked:r.length>0&&o.length===r.length,ref:e=>{e&&(e.indeterminate=o.length>0&&o.length<r.length)},onChange:e=>C(e.target.checked),"aria-label":`Select all rows`})}),n.map(t=>{let n=c?.columnId===t.id;return(0,e.jsx)(`th`,{className:[$.th,t.align?Wa[t.align]:null].filter(Boolean).join(` `),style:t.width?{width:t.width}:void 0,"aria-sort":n?c.direction===`asc`?`ascending`:`descending`:t.sortable?`none`:void 0,children:t.sortable&&l?(0,e.jsxs)(`button`,{type:`button`,className:[$.sortBtn,n?$.sortBtnActive:null].filter(Boolean).join(` `),onClick:()=>b(t.id),children:[(0,e.jsx)(`span`,{children:t.header}),(0,e.jsx)(Ga,{direction:n?c.direction:null})]}):(0,e.jsx)(`span`,{className:$.headerLabel,children:t.header})},t.id)})]})}),(0,e.jsx)(`tbody`,{ref:m,className:$.tbody,children:r.length===0?(0,e.jsx)(`tr`,{children:(0,e.jsx)(`td`,{colSpan:y,className:$.emptyCell,children:d??(0,e.jsx)(`span`,{className:$.emptyLabel,children:`No items`})})}):r.map((t,r)=>{let o=i(t),s=_.has(o);return(0,e.jsxs)(`tr`,{className:[$.row,s?$.rowSelected:null,a===`none`?null:$.rowSelectable].filter(Boolean).join(` `),role:`row`,"aria-selected":a===`none`?void 0:s,tabIndex:h===r?0:-1,onClick:()=>x(o),onKeyDown:e=>S(e,r,o),onFocus:()=>g(r),children:[v&&(0,e.jsx)(`td`,{className:[$.td,$.checkboxCol].join(` `),children:(0,e.jsx)(`input`,{type:`checkbox`,className:$.checkbox,checked:s,onChange:()=>x(o),onClick:e=>e.stopPropagation(),tabIndex:-1,"aria-label":`Select row ${r+1}`})}),n.map(n=>(0,e.jsx)(`td`,{className:[$.td,n.align?Wa[n.align]:null].filter(Boolean).join(` `),role:`gridcell`,children:n.cell(t,r)},n.id))]},o)})})]})})})}exports.ActionRow=yt,exports.Avatar=D,exports.Badge=we,exports.Banner=ve,exports.Bin=$i,exports.Blockquote=i,exports.BottomSheet=Yi,exports.Box=nr,exports.BoxedList=xt,exports.BreakpointBin=Nr,exports.Button=o,exports.ButtonContent=ta,exports.ButtonRow=Fr,exports.Card=b,exports.Carousel=Qi,exports.CarouselIndicatorDots=Xi,exports.CarouselIndicatorLines=Zi,exports.CheckRow=$r,exports.Checkbox=ne,exports.Chip=or,exports.Clamp=Wn,exports.ColumnView=Ka,exports.ComboRow=Si,exports.ContributionGraph=Ua,exports.Dialog=mn,exports.Dropdown=Nn,exports.EntryRow=Ci,exports.ExpanderRow=Gr,exports.Footer=Se,exports.Frame=Wr,exports.GNOME_BREAKPOINTS=Fe,exports.HeaderBar=be,exports.Icon=M,exports.InlineViewSwitcher=Yr,exports.InlineViewSwitcherItem=Xr,exports.Link=Xn,exports.LinkedGroup=Hr,exports.NavigationPage=zi,exports.NavigationSplitView=Gn,exports.NavigationView=Bi,exports.OverlaySplitView=Kn,exports.PasswordEntryRow=Ti,exports.PathBar=Pa,exports.Popover=Hn,exports.PreferencesDialog=ja,exports.PreferencesGroup=ua,exports.PreferencesPage=fa,exports.ProgressBar=se,exports.RadioButton=ae,exports.SearchBar=Me,exports.Separator=k,exports.ShortcutLabel=ia,exports.ShortcutsDialog=Dr,exports.Sidebar=at,exports.SidebarCollapsedContext=tt,exports.SidebarItem=dt,exports.SidebarSection=ot,exports.Slider=Ln,exports.Spacer=Br,exports.SpinButton=ht,exports.SpinRow=Oi,exports.Spinner=S,exports.SplitButton=Lr,exports.StatusPage=Pe,exports.Switch=ee,exports.SwitchRow=Qr,exports.TabBar=gt,exports.TabItem=_t,exports.TabPanel=vt,exports.Text=g,exports.TextField=re,exports.Timeline=Ma,exports.Toast=Pt,exports.Toaster=Ft,exports.ToggleGroup=er,exports.ToggleGroupItem=tr,exports.Toolbar=zr,exports.ToolbarView=oa,exports.Tooltip=ut,exports.ViewSwitcher=Ct,exports.ViewSwitcherBar=Jn,exports.ViewSwitcherItem=wt,exports.ViewSwitcherSidebar=jr,exports.ViewSwitcherSidebarItem=Mr,exports.WindowTitle=ca,exports.WrapBox=ir,exports.useBreakpoint=Ie,exports.useNavigation=Ri,exports.useSidebarCollapsed=nt;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`react/jsx-runtime`),t=require(`react`),n=require(`react-dom`);var r={blockquote:`_blockquote_j7x50_3`,body:`_body_j7x50_15`,icon:`_icon_j7x50_21`,content:`_content_j7x50_28`,footer:`_footer_j7x50_36`,cite:`_cite_j7x50_42`,default:`_default_j7x50_48`,info:`_info_j7x50_52`,warning:`_warning_j7x50_61`,error:`_error_j7x50_70`,success:`_success_j7x50_79`};function i({variant:t=`default`,icon:n,cite:i,children:a,className:o,...s}){return(0,e.jsxs)(`blockquote`,{className:[r.blockquote,r[t],o].filter(Boolean).join(` `),...s,children:[(0,e.jsxs)(`div`,{className:r.body,children:[n&&(0,e.jsx)(`span`,{className:r.icon,"aria-hidden":`true`,children:n}),(0,e.jsx)(`p`,{className:r.content,children:a})]}),i!==void 0&&(0,e.jsx)(`footer`,{className:r.footer,children:(0,e.jsx)(`cite`,{className:r.cite,children:i})})]})}var a={button:`_button_1qgdy_1`,pill:`_pill_1qgdy_52`,circular:`_circular_1qgdy_59`,default:`_default_1qgdy_71`,suggested:`_suggested_1qgdy_105`,destructive:`_destructive_1qgdy_120`,flat:`_flat_1qgdy_135`,raised:`_raised_1qgdy_150`,osd:`_osd_1qgdy_184`,sm:`_sm_1qgdy_228`,lg:`_lg_1qgdy_235`};function o({variant:t=`default`,size:n=`md`,shape:r=`default`,osd:i=!1,leadingIcon:o,trailingIcon:s,children:c,className:l,...u}){return(0,e.jsxs)(`button`,{className:[a.button,a[t],n===`md`?null:a[n],r===`default`?null:a[r],i?a.osd:null,l].filter(Boolean).join(` `),...u,children:[o,c,s]})}var s=`_text_102e3_1`,c=`_heading_102e3_41`,l=`_body_102e3_48`,u=`_document_102e3_55`,d=`_caption_102e3_62`,f=`_monospace_102e3_78`,p=`_numeric_102e3_85`,m={text:s,"large-title":`_large-title_102e3_9`,"title-1":`_title-1_102e3_16`,"title-2":`_title-2_102e3_22`,"title-3":`_title-3_102e3_28`,"title-4":`_title-4_102e3_34`,heading:c,body:l,document:u,caption:d,"caption-heading":`_caption-heading_102e3_69`,monospace:f,numeric:p,"color-default":`_color-default_102e3_95`,"color-dim":`_color-dim_102e3_99`,"color-accent":`_color-accent_102e3_103`,"color-destructive":`_color-destructive_102e3_107`,"color-success":`_color-success_102e3_111`,"color-warning":`_color-warning_102e3_115`,"color-error":`_color-error_102e3_119`},h={"large-title":`h1`,"title-1":`h1`,"title-2":`h2`,"title-3":`h3`,"title-4":`h4`,heading:`h3`,body:`p`,document:`p`,caption:`span`,"caption-heading":`span`,monospace:`code`,numeric:`span`};function g({variant:t=`body`,color:n=`default`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??h[t],{className:[m.text,m[t],m[`color-${n}`],i].filter(Boolean).join(` `),...o,children:a})}var _=`_card_7f351_1`,v=`_interactive_7f351_19`,y={card:_,"padding-none":`_padding-none_7f351_12`,"padding-sm":`_padding-sm_7f351_13`,"padding-md":`_padding-md_7f351_14`,"padding-lg":`_padding-lg_7f351_15`,interactive:v};function b({interactive:t=!1,padding:n=`md`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??(t?`button`:`div`),{className:[y.card,y[`padding-${n}`],t?y.interactive:null,i].filter(Boolean).join(` `),...o,children:a})}var x={spinner:`_spinner_101bb_3`,spin:`_spin_101bb_3`,sm:`_sm_101bb_15`,md:`_md_101bb_21`,lg:`_lg_101bb_27`};function S({size:t=`md`,label:n=`Loading…`,className:r,...i}){let a=[x.spinner,x[t],r].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`status`,"aria-label":n||void 0,"aria-hidden":n===``?!0:void 0,className:a,...i})}var C={avatar:`_avatar_1f2cd_3`,sm:`_sm_1f2cd_17`,md:`_md_1f2cd_22`,lg:`_lg_1f2cd_27`,xl:`_xl_1f2cd_32`,image:`_image_1f2cd_39`,initials:`_initials_1f2cd_48`,"color-blue":`_color-blue_1f2cd_64`,"color-green":`_color-green_1f2cd_65`,"color-yellow":`_color-yellow_1f2cd_66`,"color-orange":`_color-orange_1f2cd_72`,"color-red":`_color-red_1f2cd_73`,"color-purple":`_color-purple_1f2cd_74`,"color-brown":`_color-brown_1f2cd_75`,"color-teal":`_color-teal_1f2cd_76`,"color-slate":`_color-slate_1f2cd_77`},w=[`blue`,`green`,`yellow`,`orange`,`red`,`purple`,`brown`,`teal`,`slate`];function T(e){let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)>>>0;return w[t%w.length]}function E(e){let t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?``:t.length===1?t[0].charAt(0).toUpperCase():t[0].charAt(0).toUpperCase()+t[t.length-1].charAt(0).toUpperCase()}function D({name:t=``,src:n,alt:r,size:i=`md`,color:a,className:o,...s}){let c=a??(t?T(t):`blue`),l=E(t),u=[C.avatar,C[i],n?null:C[`color-${c}`],o].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`img`,"aria-label":r??t??`Avatar`,className:u,...s,children:n?(0,e.jsx)(`img`,{src:n,alt:r??t,className:C.image}):(0,e.jsx)(`span`,{"aria-hidden":`true`,className:C.initials,children:l})})}var O={separator:`_separator_w9b4s_3`,horizontal:`_horizontal_w9b4s_12`,vertical:`_vertical_w9b4s_20`};function k({orientation:t=`horizontal`,className:n,...r}){let i=[O.separator,t===`vertical`?O.vertical:O.horizontal,n].filter(Boolean).join(` `);return t===`vertical`?(0,e.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,className:i,...r}):(0,e.jsx)(`hr`,{className:i,...r})}var A={switch:`_switch_1h6fk_3`};function ee({className:t,...n}){return(0,e.jsx)(`input`,{type:`checkbox`,role:`switch`,className:[A.switch,t].filter(Boolean).join(` `),...n})}var te={checkbox:`_checkbox_jnffk_3`};function ne({indeterminate:n=!1,className:r,...i}){let a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{a.current&&(a.current.indeterminate=n)},[n]),(0,e.jsx)(`input`,{ref:a,type:`checkbox`,className:[te.checkbox,r].filter(Boolean).join(` `),...i})}var j={wrapper:`_wrapper_q91d8_3`,disabled:`_disabled_q91d8_9`,label:`_label_q91d8_15`,input:`_input_q91d8_25`,errorInput:`_errorInput_q91d8_74`,hint:`_hint_q91d8_89`,errorHint:`_errorHint_q91d8_97`};function re({label:n,helperText:r,error:i,id:a,className:o,disabled:s,...c}){let l=(0,t.useId)(),u=a??l,d=`${u}-help`;return(0,e.jsxs)(`div`,{className:[j.wrapper,s?j.disabled:null].filter(Boolean).join(` `),children:[n&&(0,e.jsx)(`label`,{htmlFor:u,className:j.label,children:n}),(0,e.jsx)(`input`,{id:u,disabled:s,"aria-describedby":i||r?d:void 0,"aria-invalid":i?!0:void 0,className:[j.input,i?j.errorInput:null,o].filter(Boolean).join(` `),...c}),(i||r)&&(0,e.jsx)(`span`,{id:d,className:[j.hint,i?j.errorHint:null].filter(Boolean).join(` `),children:i??r})]})}var ie={radio:`_radio_1vybt_3`};function ae({className:t,...n}){return(0,e.jsx)(`input`,{type:`radio`,className:[ie.radio,t].filter(Boolean).join(` `),...n})}var oe={track:`_track_endpr_3`,fill:`_fill_endpr_14`,accent:`_accent_endpr_23`,success:`_success_endpr_24`,warning:`_warning_endpr_25`,error:`_error_endpr_26`,indeterminate:`_indeterminate_endpr_30`,pulse:`_pulse_endpr_1`};function se({value:t,variant:n=`accent`,className:r,"aria-label":i,"aria-labelledby":a,...o}){let s=t==null,c=s?void 0:Math.min(1,Math.max(0,t)),l=c===void 0?void 0:c*100;return(0,e.jsx)(`div`,{role:`progressbar`,"aria-label":i,"aria-labelledby":a,"aria-valuenow":c===void 0?void 0:Math.round(l),"aria-valuemin":s?void 0:0,"aria-valuemax":s?void 0:100,className:[oe.track,r].filter(Boolean).join(` `),...o,children:(0,e.jsx)(`div`,{className:[oe.fill,oe[n],s?oe.indeterminate:null].filter(Boolean).join(` `),style:s?void 0:{width:`${l}%`}})})}var ce=`_banner_1x3b0_3`,le=`_message_1x3b0_17`,ue=`_actions_1x3b0_24`,de=`_actionBtn_1x3b0_33`,fe=`_dismissBtn_1x3b0_55`,pe=`_info_1x3b0_85`,me=`_warning_1x3b0_99`,he=`_error_1x3b0_113`,ge=`_success_1x3b0_127`,_e={banner:ce,message:le,actions:ue,actionBtn:de,dismissBtn:fe,info:pe,"actionBtn-info":`_actionBtn-info_1x3b0_90`,warning:me,"actionBtn-warning":`_actionBtn-warning_1x3b0_104`,error:he,"actionBtn-error":`_actionBtn-error_1x3b0_118`,success:ge,"actionBtn-success":`_actionBtn-success_1x3b0_132`};function ve({variant:t=`info`,children:n,actionLabel:r,onAction:i,dismissible:a=!1,onDismiss:o,className:s,...c}){return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,className:[_e.banner,_e[t],s].filter(Boolean).join(` `),...c,children:[(0,e.jsx)(`span`,{className:_e.message,children:n}),(r||a)&&(0,e.jsxs)(`span`,{className:_e.actions,children:[r&&(0,e.jsx)(`button`,{type:`button`,className:[_e.actionBtn,_e[`actionBtn-${t}`]].filter(Boolean).join(` `),onClick:i,children:r}),a&&(0,e.jsx)(`button`,{type:`button`,className:_e.dismissBtn,onClick:o,"aria-label":`Dismiss`,children:(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,fill:`currentColor`,children:(0,e.jsx)(`path`,{d:`M3.293 3.293a1 1 0 011.414 0L8 6.586l3.293-3.293a1 1 0 111.414 1.414L9.414 8l3.293 3.293a1 1 0 01-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 01-1.414-1.414L6.586 8 3.293 4.707a1 1 0 010-1.414z`})})})]})]})}var ye={headerBar:`_headerBar_1rr5r_3`,flat:`_flat_1rr5r_22`,slot:`_slot_1rr5r_29`,slotEnd:`_slotEnd_1rr5r_36`,titleSlot:`_titleSlot_1rr5r_42`,title:`_title_1rr5r_42`};function be({title:t,start:n,end:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`header`,{className:[ye.headerBar,i?ye.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:ye.slot,children:n}),(0,e.jsx)(`div`,{className:ye.titleSlot,"aria-live":`polite`,children:typeof t==`string`?(0,e.jsx)(`span`,{className:ye.title,children:t}):t}),(0,e.jsx)(`div`,{className:[ye.slot,ye.slotEnd].filter(Boolean).join(` `),children:r})]})}var xe={footer:`_footer_10xz9_3`,flat:`_flat_10xz9_23`,slot:`_slot_10xz9_29`,slotEnd:`_slotEnd_10xz9_36`,center:`_center_10xz9_42`};function Se({start:t,end:n,children:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`footer`,{className:[xe.footer,i?xe.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:xe.slot,children:t}),r!=null&&(0,e.jsx)(`div`,{className:xe.center,children:r}),(0,e.jsx)(`div`,{className:[xe.slot,xe.slotEnd].filter(Boolean).join(` `),children:n})]})}var Ce={wrapper:`_wrapper_1apop_3`,badge:`_badge_1apop_11`,anchored:`_anchored_1apop_32`,dot:`_dot_1apop_41`,accent:`_accent_1apop_56`,success:`_success_1apop_61`,warning:`_warning_1apop_66`,error:`_error_1apop_71`,neutral:`_neutral_1apop_76`};function we({variant:t=`accent`,dot:n=!1,children:r,anchor:i,className:a,...o}){let s=(0,e.jsx)(`span`,{className:[Ce.badge,Ce[t],n?Ce.dot:null,i?Ce.anchored:null,a].filter(Boolean).join(` `),...o,children:!n&&r});return i?(0,e.jsxs)(`span`,{className:Ce.wrapper,children:[i,s]}):s}var Te={sm:12,md:16,lg:20};function M({icon:t,size:n=`md`,label:r,width:i,height:a,...o}){let s=Te[n];return(0,e.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:t.viewBox,width:i??s,height:a??s,fill:`currentColor`,"aria-label":r,"aria-hidden":r?void 0:!0,role:r?`img`:void 0,focusable:`false`,...o,children:t.paths.map((t,n)=>(0,e.jsx)(`path`,{d:t.d,fillRule:t.fillRule,clipRule:t.clipRule},n))})}var Ee={viewBox:`0 0 16 16`,paths:[{d:`m2.5 5 5.5 6 5.5-6z`,fillRule:`evenodd`}]},De={viewBox:`0 0 16 16`,paths:[{d:`M3.293 3.293a1 1 0 0 1 1.414 0L8 6.586l3.293-3.293a1 1 0 1 1 1.414 1.414L9.414 8l3.293 3.293a1 1 0 0 1-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L6.586 8 3.293 4.707a1 1 0 0 1 0-1.414z`,fillRule:`evenodd`}]},Oe={viewBox:`0 0 16 16`,paths:[{d:`M6.5 1a5.5 5.5 0 0 1 4.33 8.92l3.13 3.13-1.41 1.41-3.13-3.13A5.5 5.5 0 1 1 6.5 1zm0 2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z`,fillRule:`evenodd`}]},ke={viewBox:`0 0 16 16`,paths:[{d:`M8 3C4.5 3 1.5 5.667 0 8c1.5 2.333 4.5 5 8 5s6.5-2.667 8-5c-1.5-2.333-4.5-5-8-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z`,fillRule:`evenodd`}]},Ae={viewBox:`0 0 16 16`,paths:[{d:`M1.293 1.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-1.88-1.88A8.8 8.8 0 0 1 8 13C4.5 13 1.5 10.333 0 8c.637-1.023 1.52-2.049 2.6-2.893L1.293 2.707a1 1 0 0 1 0-1.414zM5.03 6.444 7.09 8.505A1.5 1.5 0 0 0 9.494 6.91L7.432 4.848A3 3 0 0 0 5.03 6.444zM8 3c.645 0 1.27.083 1.867.237l-1.59 1.59A3 3 0 0 0 5.173 7.92L3.584 6.333C4.51 4.95 6.152 3 8 3zm5.4 2.107C14.48 5.951 15.363 6.977 16 8c-1.5 2.333-4.5 5-8 5a8.8 8.8 0 0 1-2.072-.249l1.538-1.538a3 3 0 0 0 3.703-3.703L12.81 5.87c.202.076.4.156.59.237z`,fillRule:`evenodd`}]},je={viewBox:`0 0 16 16`,paths:[{d:`M13.5 3 6 11.5 2.5 8 1 9.5l5 5 9-10z`,fillRule:`evenodd`}]},N={wrapper:`_wrapper_ld6g1_3`,open:`_open_ld6g1_13`,bar:`_bar_ld6g1_20`,disabled:`_disabled_ld6g1_31`,searchIcon:`_searchIcon_ld6g1_37`,input:`_input_ld6g1_47`,clearButton:`_clearButton_ld6g1_82`,filterRow:`_filterRow_ld6g1_124`,suggestionsPanel:`_suggestionsPanel_ld6g1_136`,suggestionsLoading:`_suggestionsLoading_ld6g1_160`,suggestionItem:`_suggestionItem_ld6g1_166`,suggestionItemActive:`_suggestionItemActive_ld6g1_176`,inline:`_inline_ld6g1_202`};function Me({open:r,onClose:i,onClear:a,children:o,value:s,onChange:c,placeholder:l=`Search…`,disabled:u,inline:d=!1,className:f,suggestions:p,onSuggestionSelect:m,loadingSuggestions:h=!1,renderSuggestion:g,suggestionsLabel:_=`Suggestions`,...v}){let y=(0,t.useRef)(null),b=(0,t.useRef)(null),x=(0,t.useRef)(null),C=(0,t.useId)(),w=(0,t.useId)(),[T,E]=(0,t.useState)(-1),[D,O]=(0,t.useState)(null),k=(p?.length??0)>0,A=r&&(h||k);(0,t.useEffect)(()=>{E(-1)},[p]),(0,t.useEffect)(()=>{if(r){let e=requestAnimationFrame(()=>y.current?.focus());return()=>cancelAnimationFrame(e)}},[r]),(0,t.useEffect)(()=>{if(!A||!b.current){O(null);return}function e(){if(!b.current)return;let e=b.current.getBoundingClientRect();O({top:e.bottom,left:e.left,width:e.width})}return e(),window.addEventListener(`scroll`,e,{passive:!0,capture:!0}),window.addEventListener(`resize`,e,{passive:!0}),()=>{window.removeEventListener(`scroll`,e,{capture:!0}),window.removeEventListener(`resize`,e)}},[A]),(0,t.useEffect)(()=>{T<0||!x.current||x.current.children[T]?.scrollIntoView({block:`nearest`})},[T]);let ee=(0,t.useCallback)(e=>{if(A&&k&&p){if(e.key===`ArrowDown`){e.preventDefault(),E(e=>Math.min(e+1,p.length-1));return}if(e.key===`ArrowUp`){e.preventDefault(),E(e=>Math.max(e-1,-1));return}if(e.key===`Enter`&&T>=0){e.preventDefault(),m?.(p[T]);return}}e.key===`Escape`&&(e.preventDefault(),i?.()),v.onKeyDown?.(e)},[i,v,A,k,p,T,m]),te=s!==void 0&&s!==``,ne=T>=0&&p?.[T]?`${w}-${p[T].id}`:void 0,j=A&&D?(0,n.createPortal)((0,e.jsxs)(`ul`,{ref:x,role:`listbox`,"aria-label":_,id:C,className:N.suggestionsPanel,style:{top:D.top,left:D.left,width:D.width},onMouseDown:e=>e.preventDefault(),children:[h&&(0,e.jsx)(`li`,{role:`presentation`,className:N.suggestionsLoading,children:(0,e.jsx)(S,{size:`sm`,label:`Loading suggestions…`})}),!h&&p?.map((t,n)=>(0,e.jsx)(`li`,{id:`${w}-${t.id}`,role:`option`,"aria-selected":n===T,className:[N.suggestionItem,n===T?N.suggestionItemActive:null].filter(Boolean).join(` `),onMouseEnter:()=>E(n),onMouseLeave:()=>E(-1),onClick:()=>m?.(t),children:g?g(t):t.label},t.id))]}),document.body):null;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{ref:b,className:[N.wrapper,r?N.open:null,f].filter(Boolean).join(` `),"aria-hidden":!r,children:[(0,e.jsxs)(`div`,{className:[N.bar,d?N.inline:null,u?N.disabled:null].filter(Boolean).join(` `),children:[(0,e.jsx)(`span`,{className:N.searchIcon,"aria-hidden":!0,children:(0,e.jsx)(M,{icon:Oe,size:`md`})}),(0,e.jsx)(`input`,{ref:y,type:`search`,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":A,"aria-controls":A?C:void 0,"aria-activedescendant":ne,value:s,onChange:c,placeholder:l,disabled:u,tabIndex:r?void 0:-1,className:N.input,onKeyDown:ee,...v}),te&&(0,e.jsx)(`button`,{type:`button`,className:N.clearButton,"aria-label":`Clear search`,tabIndex:r?void 0:-1,disabled:u,onClick:()=>{a?.(),y.current?.focus()},children:(0,e.jsx)(M,{icon:De,size:`md`})})]}),o&&(0,e.jsx)(`div`,{className:N.filterRow,children:o})]}),typeof document<`u`&&j]})}var Ne={page:`_page_cb4hq_3`,iconWrap:`_iconWrap_cb4hq_20`,title:`_title_cb4hq_33`,description:`_description_cb4hq_44`,actions:`_actions_cb4hq_58`,compact:`_compact_cb4hq_68`};function Pe({icon:t,iconNode:n,title:r,description:i,children:a,compact:o=!1,className:s,...c}){let l=o?64:128,u=t?(0,e.jsx)(M,{icon:t,width:l,height:l,"aria-hidden":!0}):n??null;return(0,e.jsxs)(`div`,{className:[Ne.page,o?Ne.compact:null,s].filter(Boolean).join(` `),...c,children:[u&&(0,e.jsx)(`div`,{className:Ne.iconWrap,"aria-hidden":`true`,children:u}),(0,e.jsx)(`p`,{className:Ne.title,children:r}),i&&(0,e.jsx)(`p`,{className:Ne.description,children:i}),a&&(0,e.jsx)(`div`,{className:Ne.actions,children:a})]})}var Fe={narrow:400,medium:550,wide:860};function Ie(){let e=()=>{let e=typeof window<`u`?window.innerWidth:1280;return{isNarrow:e<=Fe.narrow,isMedium:e<=Fe.medium,isWide:e<=Fe.wide,width:e}},[n,r]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=()=>r(e());return window.addEventListener(`resize`,t,{passive:!0}),()=>window.removeEventListener(`resize`,t)},[]),n}var Le=`_sidebar_1xzyz_3`,Re=`_section_1xzyz_21`,ze=`_sectionTitle_1xzyz_33`,Be=`_list_1xzyz_47`,Ve=`_item_1xzyz_58`,He=`_itemBtn_1xzyz_64`,Ue=`_active_1xzyz_111`,We=`_itemIcon_1xzyz_127`,Ge=`_itemLabel_1xzyz_140`,Ke=`_itemSuffix_1xzyz_150`,qe=`_contextMenu_1xzyz_159`,Je=`_contextMenuItem_1xzyz_183`,Ye=`_contextMenuDestructive_1xzyz_219`,Xe=`_searchWrap_1xzyz_225`,Ze=`_variantBlue_1xzyz_236`,Qe=`_variantGreen_1xzyz_245`,$e=`_variantRed_1xzyz_254`,et=`_variantYellow_1xzyz_263`,tt=`_variantBlack_1xzyz_272`,nt=`_variantTransparent_1xzyz_281`,rt=`_variantBlurred_1xzyz_286`,it=`_pageMode_1xzyz_302`,at=`_dragOver_1xzyz_309`,ot=`_collapsed_1xzyz_317`,st=`_itemCollapsed_1xzyz_328`,P={sidebar:Le,section:Re,sectionTitle:ze,list:Be,item:Ve,itemBtn:He,active:Ue,itemIcon:We,itemLabel:Ge,itemSuffix:Ke,contextMenu:qe,"menu-in":`_menu-in_1xzyz_1`,contextMenuItem:Je,contextMenuDestructive:Ye,searchWrap:Xe,variantBlue:Ze,variantGreen:Qe,variantRed:$e,variantYellow:et,variantBlack:tt,variantTransparent:nt,variantBlurred:rt,pageMode:it,dragOver:at,collapsed:ot,itemCollapsed:st},ct=(0,t.createContext)(!1);function lt(){return(0,t.useContext)(ct)}var ut=(0,t.createContext)(``);function dt(e,n){let r=0;return t.Children.forEach(e,e=>{if(!(0,t.isValidElement)(e))return;let i=e.props;typeof i.label==`string`?i.label.toLowerCase().includes(n.toLowerCase())&&r++:i.children&&(r+=dt(i.children,n))}),r}var ft={blue:`variantBlue`,green:`variantGreen`,red:`variantRed`,yellow:`variantYellow`,black:`variantBlack`,transparent:`variantTransparent`,blurred:`variantBlurred`};function pt({children:n,collapsed:r=!1,searchable:i,filter:a,onFilterChange:o,mode:s,variant:c=`classic`,className:l,...u}){let[d,f]=(0,t.useState)(``),{isNarrow:p}=Ie(),m=a!==void 0,h=m?a:d,g=e=>{m||f(e),o?.(e)},_=h.length>0,v=s??(p?`page`:`sidebar`),y=!_||dt(n,h)>0;return(0,e.jsx)(ct.Provider,{value:r,children:(0,e.jsx)(ut.Provider,{value:h,children:(0,e.jsxs)(`nav`,{className:[P.sidebar,r?P.collapsed:null,v===`page`?P.pageMode:null,c===`classic`?null:P[ft[c]],l].filter(Boolean).join(` `),...u,children:[i&&(0,e.jsx)(`div`,{className:P.searchWrap,children:(0,e.jsx)(Me,{open:!0,value:h,onChange:e=>g(e.target.value),onClose:()=>g(``),onClear:()=>g(``),inline:!0})}),_&&!y?(0,e.jsx)(Pe,{title:`No Results`,description:`No items match your search.`,compact:!0}):n]})})})}function mt({title:t,children:n,className:r,...i}){return(0,e.jsxs)(`section`,{className:[P.section,r].filter(Boolean).join(` `),...i,children:[t&&(0,e.jsx)(`h3`,{className:P.sectionTitle,children:t}),(0,e.jsx)(`ul`,{role:`list`,className:P.list,children:n})]})}var ht={tooltip:`_tooltip_y4het_3`,visible:`_visible_y4het_29`,top:`_top_y4het_55`,bottom:`_bottom_y4het_62`,left:`_left_y4het_69`,right:`_right_y4het_76`},gt=6;function _t(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[n,n===`top`||n===`bottom`?n===`top`?`bottom`:`top`:n===`left`?`right`:`left`,`top`,`bottom`,`left`,`right`];for(let n of a){let a=0,o=0;n===`top`?(a=e.top-t.height-gt,o=e.left+e.width/2-t.width/2):n===`bottom`?(a=e.bottom+gt,o=e.left+e.width/2-t.width/2):n===`left`?(a=e.top+e.height/2-t.height/2,o=e.left-t.width-gt):(a=e.top+e.height/2-t.height/2,o=e.right+gt);let s=o>=8&&o+t.width<=r-8,c=a>=8&&a+t.height<=i-8;if(s&&c)return{top:Math.max(8,Math.min(a,i-t.height-8)),left:Math.max(8,Math.min(o,r-t.width-8)),placement:n}}let o=0,s=0;return n===`top`&&(o=e.top-t.height-gt,s=e.left+e.width/2-t.width/2),n===`bottom`&&(o=e.bottom+gt,s=e.left+e.width/2-t.width/2),n===`left`&&(o=e.top+e.height/2-t.height/2,s=e.left-t.width-gt),n===`right`&&(o=e.top+e.height/2-t.height/2,s=e.right+gt),{top:Math.max(8,Math.min(o,i-t.height-8)),left:Math.max(8,Math.min(s,window.innerWidth-t.width-8)),placement:n}}function vt({label:r,placement:i=`top`,delay:a=500,children:o}){let s=(0,t.useId)(),[c,l]=(0,t.useState)(!1),[u,d]=(0,t.useState)(null),f=(0,t.useRef)(null),p=(0,t.useRef)(null),m=(0,t.useRef)(null),h=()=>{m.current&&=(clearTimeout(m.current),null)},g=(0,t.useCallback)(()=>{!f.current||!p.current||d(_t(f.current.getBoundingClientRect(),p.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(c)return g(),window.addEventListener(`scroll`,g,{passive:!0,capture:!0}),window.addEventListener(`resize`,g,{passive:!0}),()=>{window.removeEventListener(`scroll`,g,{capture:!0}),window.removeEventListener(`resize`,g)}},[c,g]);let _=(0,t.useCallback)(()=>{h(),m.current=setTimeout(()=>l(!0),a)},[a]),v=(0,t.useCallback)(()=>{h(),l(!1),d(null)},[]);(0,t.useEffect)(()=>{c&&g()},[c,g]),(0,t.useEffect)(()=>{if(!c)return;let e=e=>{e.key===`Escape`&&v()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[c,v]);let y=(0,t.cloneElement)(o,{ref:f,"aria-describedby":s,onMouseEnter:e=>{_(),o.props.onMouseEnter?.(e)},onMouseLeave:e=>{v(),o.props.onMouseLeave?.(e)},onFocus:e=>{_(),o.props.onFocus?.(e)},onBlur:e=>{v(),o.props.onBlur?.(e)}}),b=(0,e.jsx)(`div`,{ref:p,id:s,role:`tooltip`,className:[ht.tooltip,u?ht[u.placement]:null,c&&u?ht.visible:null].filter(Boolean).join(` `),style:u?{top:u.top,left:u.left}:{visibility:`hidden`,top:-9999,left:-9999},children:r});return(0,e.jsxs)(e.Fragment,{children:[y,typeof document<`u`?(0,n.createPortal)(b,document.body):b]})}function yt({label:r,icon:i,active:a=!1,suffix:o,badge:s,tooltip:c,menuItems:l,onDrop:u,acceptTypes:d,className:f,...p}){let m=lt(),h=(0,t.useContext)(ut),g=o??s,_=m?c??r:c,v=h.length>0&&!r.toLowerCase().includes(h.toLowerCase()),[y,b]=(0,t.useState)(!1),x=e=>{u&&(d?.length&&!d.some(t=>e.dataTransfer.types.includes(t))||(e.preventDefault(),b(!0)))},S=()=>b(!1),C=e=>{u&&(e.preventDefault(),b(!1),u(e))},[w,T]=(0,t.useState)(null),E=(0,t.useRef)(null),D=(0,t.useCallback)((e,t)=>T({x:e,y:t}),[]),O=(0,t.useCallback)(()=>T(null),[]);(0,t.useEffect)(()=>{if(!w)return;let e=e=>{E.current&&!E.current.contains(e.target)&&O()},t=e=>{e.key===`Escape`&&O()};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[w,O]);let k=e=>{l?.length&&(e.preventDefault(),D(e.clientX,e.clientY))},A=e=>{if(e.key===`ContextMenu`||e.key===`F10`&&e.shiftKey){if(!l?.length)return;e.preventDefault();let t=e.currentTarget.getBoundingClientRect();D(t.right,t.top)}},ee=(0,e.jsxs)(`button`,{type:`button`,"aria-current":a?`page`:void 0,"aria-label":m?r:void 0,className:[P.itemBtn,a?P.active:null,m?P.itemCollapsed:null,y?P.dragOver:null,f].filter(Boolean).join(` `),onContextMenu:k,onKeyDown:A,onDragOver:x,onDragLeave:S,onDrop:C,...p,children:[i&&(0,e.jsx)(`span`,{className:P.itemIcon,children:(0,e.jsx)(M,{icon:i,size:`md`,"aria-hidden":!0})}),!m&&(0,e.jsx)(`span`,{className:P.itemLabel,children:r}),!m&&g&&(0,e.jsx)(`span`,{className:P.itemSuffix,children:g})]});return(0,e.jsxs)(`li`,{className:P.item,hidden:v||void 0,children:[_?(0,e.jsx)(vt,{label:_,placement:`right`,children:ee}):ee,w&&l?.length&&typeof document<`u`&&(0,n.createPortal)((0,e.jsx)(`div`,{ref:E,className:P.contextMenu,style:{top:w.y,left:w.x},role:`menu`,children:l.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`menuitem`,disabled:t.disabled,className:[P.contextMenuItem,t.destructive?P.contextMenuDestructive:null].filter(Boolean).join(` `),onClick:()=>{t.onClick(),O()},children:t.label},t.label))}),document.body)]})}var bt={spin:`_spin_7d4yi_3`,disabled:`_disabled_7d4yi_36`,btn:`_btn_7d4yi_43`,value:`_value_7d4yi_96`};function xt(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function St(e,t,n){return Math.min(n,Math.max(t,e))}function Ct({value:n,onChange:r,min:i=0,max:a=100,step:o=1,decimals:s,disabled:c=!1,className:l,"aria-label":u,"aria-labelledby":d,...f}){let p=s??xt(o),m=(0,t.useCallback)(e=>r(parseFloat(St(e,i,a).toFixed(p))),[r,i,a,p]),h=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),m(n+o);break;case`ArrowDown`:e.preventDefault(),m(n-o);break;case`PageUp`:e.preventDefault(),m(n+o*10);break;case`PageDown`:e.preventDefault(),m(n-o*10);break;case`Home`:e.preventDefault(),m(i);break;case`End`:e.preventDefault(),m(a);break}},[n,o,i,a,m]);return(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":n,"aria-valuemin":i,"aria-valuemax":a,"aria-label":u,"aria-labelledby":d,"aria-disabled":c||void 0,tabIndex:c?-1:0,onKeyDown:c?void 0:h,className:[bt.spin,c?bt.disabled:null,l].filter(Boolean).join(` `),...f,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n<=i,className:bt.btn,onClick:()=>m(n-o),children:`−`}),(0,e.jsx)(`span`,{className:bt.value,"aria-hidden":`true`,children:n.toFixed(p)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n>=a,className:bt.btn,onClick:()=>m(n+o),children:`+`})]})}var F={bar:`_bar_12ars_3`,list:`_list_12ars_10`,tab:`_tab_12ars_26`,active:`_active_12ars_81`,tabIcon:`_tabIcon_12ars_102`,tabLabel:`_tabLabel_12ars_110`,closeBtn:`_closeBtn_12ars_119`,panel:`_panel_12ars_148`,inline:`_inline_12ars_158`};function wt({children:n,className:r,inline:i=!1,"aria-label":a=`Tabs`,...o}){let s=(0,t.useRef)(null);function c(e){let t=Array.from(s.current?.querySelectorAll(`[role=tab]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus()}return(0,e.jsx)(`div`,{className:[F.bar,i?F.inline:null,r].filter(Boolean).join(` `),...o,children:(0,e.jsx)(`div`,{ref:s,role:`tablist`,"aria-label":a,className:F.list,onKeyDown:c,children:n})})}function Tt({label:t,icon:n,active:r=!1,panelId:i,onClose:a,closeLabel:o=`Close tab`,className:s,disabled:c,...l}){return(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":r,"aria-controls":i,tabIndex:r?0:-1,disabled:c,className:[F.tab,r?F.active:null,a?F.closeable:null,s].filter(Boolean).join(` `),...l,children:[n&&(0,e.jsx)(`span`,{className:F.tabIcon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:F.tabLabel,children:t}),a&&(0,e.jsx)(`span`,{role:`button`,tabIndex:0,"aria-label":o,className:F.closeBtn,onClick:e=>{e.stopPropagation(),a()},onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),a())},children:`×`})]})}function Et({id:t,active:n=!1,className:r,children:i,...a}){return(0,e.jsx)(`div`,{id:t,role:`tabpanel`,hidden:!n,tabIndex:0,className:[F.panel,r].filter(Boolean).join(` `),...a,children:i})}var I={row:`_row_17clq_3`,leading:`_leading_17clq_16`,content:`_content_17clq_25`,title:`_title_17clq_33`,subtitle:`_subtitle_17clq_44`,trailing:`_trailing_17clq_58`,propertyLabel:`_propertyLabel_17clq_68`,propertyValue:`_propertyValue_17clq_81`,interactive:`_interactive_17clq_94`};function Dt({title:t,subtitle:n,leading:r,trailing:i,interactive:a=!1,variant:o=`default`,className:s,...c}){let l=a?`button`:`div`,u=o===`property`;return(0,e.jsxs)(l,{className:[I.row,a?I.interactive:null,u?I.property:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:I.leading,children:r}),(0,e.jsxs)(`span`,{className:I.content,children:[(0,e.jsx)(`span`,{className:u?I.propertyLabel:I.title,children:t}),n&&(0,e.jsx)(`span`,{className:u?I.propertyValue:I.subtitle,children:n})]}),i&&(0,e.jsx)(`span`,{className:I.trailing,children:i})]})}var Ot={list:`_list_1m4lm_3`,item:`_item_1m4lm_16`,separate:`_separate_1m4lm_37`,separateItem:`_separateItem_1m4lm_47`,divider:`_divider_1m4lm_69`};function kt({children:n,variant:r=`default`,className:i,...a}){let o=t.Children.toArray(n).filter(Boolean),s=r===`separate`;return(0,e.jsx)(`ul`,{role:`list`,className:[Ot.list,s?Ot.separate:null,i].filter(Boolean).join(` `),...a,children:o.map((t,n)=>(0,e.jsxs)(`li`,{className:s?Ot.separateItem:Ot.item,children:[!s&&n>0&&(0,e.jsx)(k,{"aria-hidden":`true`}),t]},n))})}var At={switcher:`_switcher_1uh9r_3`,item:`_item_1uh9r_18`,active:`_active_1uh9r_45`,itemIcon:`_itemIcon_1uh9r_76`,itemLabel:`_itemLabel_1uh9r_84`};function jt({children:n,className:r,"aria-label":i=`View switcher`,...a}){let o=(0,t.useRef)(null);function s(e){let t=Array.from(o.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(`div`,{ref:o,role:`radiogroup`,"aria-label":i,onKeyDown:s,className:[At.switcher,r].filter(Boolean).join(` `),...a,children:n})}function Mt({label:t,icon:n,active:r=!1,className:i,disabled:a,...o}){return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":r,tabIndex:r?0:-1,disabled:a,className:[At.item,r?At.active:null,i].filter(Boolean).join(` `),...o,children:[n&&(0,e.jsx)(`span`,{className:At.itemIcon,children:(0,e.jsx)(M,{icon:n,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:At.itemLabel,children:t})]})}var Nt=`_toaster_1tgvb_3`,Pt=`_toasterBottom_1tgvb_18`,Ft=`_toasterTop_1tgvb_22`,It=`_toast_1tgvb_3`,Lt=`_title_1tgvb_69`,Rt=`_actions_1tgvb_76`,zt=`_actionBtn_1tgvb_85`,Bt=`_dismissBtn_1tgvb_118`,Vt={toaster:Nt,toasterBottom:Pt,toasterTop:Ft,toast:It,"toast-in":`_toast-in_1tgvb_1`,title:Lt,actions:Rt,actionBtn:zt,dismissBtn:Bt};function Ht({title:n,duration:r=3e3,onDismiss:i,actionLabel:a,onAction:o,dismissible:s=!1,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useRef)(r),f=(0,t.useRef)(0),p=()=>{u.current&&=(clearTimeout(u.current),null)},m=e=>{e<=0||!i||(p(),f.current=Date.now(),u.current=setTimeout(()=>i(),e))};(0,t.useEffect)(()=>(r>0&&(d.current=r,m(r)),p),[r]);let h=()=>{if(u.current){let e=Date.now()-f.current;d.current=Math.max(0,d.current-e),p()}},g=()=>{m(d.current)},_=()=>{p(),o?.(),i?.()};return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:[Vt.toast,c].filter(Boolean).join(` `),onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,...l,children:[(0,e.jsx)(`span`,{className:Vt.title,children:n}),(a||s)&&(0,e.jsxs)(`span`,{className:Vt.actions,children:[a&&(0,e.jsx)(`button`,{type:`button`,className:Vt.actionBtn,onClick:_,children:a}),s&&(0,e.jsx)(`button`,{type:`button`,className:Vt.dismissBtn,"aria-label":`Dismiss`,onClick:()=>{p(),i?.()},children:(0,e.jsx)(M,{icon:De,size:`md`,"aria-hidden":!0})})]})]})}function Ut({position:t=`bottom`,children:r,container:i,className:a,...o}){let s=(0,e.jsx)(`div`,{"aria-label":`Notifications`,className:[Vt.toaster,t===`top`?Vt.toasterTop:Vt.toasterBottom,a].filter(Boolean).join(` `),...o,children:r});return typeof document>`u`?s:(0,n.createPortal)(s,i??document.body)}var Wt=`_backdrop_bx9wz_3`,Gt=`_dialog_bx9wz_26`,Kt=`_title_bx9wz_56`,qt=`_body_bx9wz_68`,Jt=`_footer_bx9wz_89`,Yt=`_btn_bx9wz_96`,Xt=`_dialogAbout_bx9wz_159`,Zt=`_aboutHeader_bx9wz_166`,Qt=`_aboutIcon_bx9wz_175`,$t=`_aboutAppName_bx9wz_184`,en=`_aboutVersion_bx9wz_191`,tn=`_aboutTabBar_bx9wz_198`,nn=`_aboutTabBtn_bx9wz_205`,rn=`_aboutTabBtnActive_bx9wz_224`,an=`_aboutTabContent_bx9wz_237`,on=`_aboutSection_bx9wz_242`,sn=`_aboutComments_bx9wz_247`,cn=`_aboutInfoList_bx9wz_256`,ln=`_aboutInfoLabel_bx9wz_263`,un=`_aboutInfoValue_bx9wz_271`,dn=`_aboutLink_bx9wz_279`,fn=`_aboutCreditGroup_bx9wz_287`,pn=`_aboutCreditTitle_bx9wz_291`,mn=`_aboutCreditList_bx9wz_301`,hn=`_aboutCreditItem_bx9wz_310`,gn=`_aboutCopyright_bx9wz_316`,_n=`_aboutLicenseType_bx9wz_323`,vn=`_aboutLicenseText_bx9wz_330`,L={backdrop:Wt,"backdrop-in":`_backdrop-in_bx9wz_1`,dialog:Gt,"dialog-in":`_dialog-in_bx9wz_1`,title:Kt,body:qt,footer:Jt,btn:Yt,"btn-default":`_btn-default_bx9wz_144`,"btn-suggested":`_btn-suggested_bx9wz_148`,"btn-destructive":`_btn-destructive_bx9wz_153`,dialogAbout:Xt,aboutHeader:Zt,aboutIcon:Qt,aboutAppName:$t,aboutVersion:en,aboutTabBar:tn,aboutTabBtn:nn,aboutTabBtnActive:rn,aboutTabContent:an,aboutSection:on,aboutComments:sn,aboutInfoList:cn,aboutInfoLabel:ln,aboutInfoValue:un,aboutLink:dn,aboutCreditGroup:fn,aboutCreditTitle:pn,aboutCreditList:mn,aboutCreditItem:hn,aboutCopyright:gn,aboutLicenseType:_n,aboutLicenseText:vn},yn=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function bn(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(yn)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}var xn={details:`Details`,credits:`Credits`,legal:`Legal`};function Sn({open:r,title:i,children:a,buttons:o=[],onClose:s,closeOnBackdrop:c=!0,role:l=`dialog`,responses:u,onResponse:d,variant:f,applicationName:p,applicationIcon:m,version:h,comments:g,developerName:_,website:v,websiteLabel:y,developers:b,designers:x,artists:S,copyright:C,licenseType:w,licenseText:T,links:E,className:D,...O}){let k=(0,t.useRef)(null),A=(0,t.useId)(),ee=(0,t.useRef)(null),[te,ne]=(0,t.useState)(`details`),j=!!u,re=f===`about`;(0,t.useEffect)(()=>{r?(ee.current=document.activeElement,(k.current?.querySelector(yn))?.focus()):(ee.current?.focus(),re&&ne(`details`))},[r,re]);let ie=(0,t.useCallback)(()=>{let e=u?.find(e=>e.variant!==`destructive`&&!e.disabled);e&&d?.(e.id)},[u,d]),ae=j?ie:c?s:void 0,oe=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),j?ie():s?.();return}bn(e,k)},[j,ie,s]);if(!r)return null;let se=[`details`,!!(b?.length||x?.length||S?.length)&&`credits`,!!(C||w||T)&&`legal`].filter(Boolean),ce=()=>re?(0,e.jsx)(`div`,{className:L.footer,children:(0,e.jsx)(`button`,{type:`button`,className:[L.btn,L[`btn-default`]].join(` `),onClick:s,children:`Close`})}):j&&u?(0,e.jsx)(`div`,{className:L.footer,children:u.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[L.btn,L[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:()=>d?.(t.id),children:t.label},t.id))}):o.length>0?(0,e.jsx)(`div`,{className:L.footer,children:o.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[L.btn,L[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:t.onClick,children:t.label},t.label))}):null,le=()=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{className:L.aboutHeader,children:[m&&(0,e.jsx)(`div`,{className:L.aboutIcon,children:m}),(0,e.jsx)(`div`,{id:A,className:L.aboutAppName,children:p}),h&&(0,e.jsx)(`div`,{className:L.aboutVersion,children:h})]}),se.length>1&&(0,e.jsx)(`div`,{className:L.aboutTabBar,role:`tablist`,children:se.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":te===t,className:[L.aboutTabBtn,te===t?L.aboutTabBtnActive:null].filter(Boolean).join(` `),onClick:()=>ne(t),children:xn[t]},t))}),(0,e.jsxs)(`div`,{className:L.aboutTabContent,children:[te===`details`&&(0,e.jsxs)(`div`,{className:L.aboutSection,children:[g&&(0,e.jsx)(`p`,{className:L.aboutComments,children:g}),(_||v||E?.length)&&(0,e.jsxs)(`dl`,{className:L.aboutInfoList,children:[_&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:`Developer`}),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:_})]}),v&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:`Website`}),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:(0,e.jsx)(`a`,{href:v,target:`_blank`,rel:`noopener noreferrer`,className:L.aboutLink,children:y??v})})]}),E?.map(t=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:L.aboutInfoLabel,children:t.label},`${t.label}-dt`),(0,e.jsx)(`dd`,{className:L.aboutInfoValue,children:(0,e.jsx)(`a`,{href:t.url,target:`_blank`,rel:`noopener noreferrer`,className:L.aboutLink,children:t.url})},`${t.label}-dd`)]}))]})]}),te===`credits`&&(0,e.jsx)(`div`,{className:L.aboutSection,children:[{heading:`Developers`,list:b},{heading:`Designers`,list:x},{heading:`Artists`,list:S}].filter(e=>e.list?.length).map(({heading:t,list:n})=>(0,e.jsxs)(`div`,{className:L.aboutCreditGroup,children:[(0,e.jsx)(`h4`,{className:L.aboutCreditTitle,children:t}),(0,e.jsx)(`ul`,{className:L.aboutCreditList,children:n.map(t=>(0,e.jsx)(`li`,{className:L.aboutCreditItem,children:t},t))})]},t))}),te===`legal`&&(0,e.jsxs)(`div`,{className:L.aboutSection,children:[C&&(0,e.jsx)(`p`,{className:L.aboutCopyright,children:C}),w&&(0,e.jsx)(`p`,{className:L.aboutLicenseType,children:w}),T&&(0,e.jsx)(`pre`,{className:L.aboutLicenseText,children:T})]})]})]}),ue=(0,e.jsx)(`div`,{className:L.backdrop,onClick:ae,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:k,role:l,"aria-modal":`true`,"aria-labelledby":A,className:[L.dialog,re?L.dialogAbout:null,D].filter(Boolean).join(` `),onKeyDown:oe,onClick:e=>e.stopPropagation(),...O,children:[re?le():(0,e.jsxs)(e.Fragment,{children:[i&&(0,e.jsx)(`div`,{id:A,className:L.title,children:i}),a&&(0,e.jsx)(`div`,{className:L.body,children:a})]}),ce()]})});return typeof document>`u`?ue:(0,n.createPortal)(ue,document.body)}var Cn=`_wrapper_1hi05_3`,wn=`_trigger_1hi05_11`,Tn=`_triggerOpen_1hi05_63`,En=`_triggerLabel_1hi05_73`,Dn=`_placeholder_1hi05_81`,On=`_chevron_1hi05_87`,kn=`_chevronOpen_1hi05_94`,An=`_list_1hi05_100`,jn=`_listDown_1hi05_129`,Mn=`_listUp_1hi05_133`,Nn=`_option_1hi05_145`,Pn=`_optionActive_1hi05_162`,Fn=`_optionSelected_1hi05_166`,In=`_optionDisabled_1hi05_170`,Ln=`_optionText_1hi05_178`,Rn=`_optionLabel_1hi05_186`,zn=`_optionDesc_1hi05_192`,Bn=`_checkIcon_1hi05_202`,R={wrapper:Cn,trigger:wn,triggerOpen:Tn,triggerLabel:En,placeholder:Dn,chevron:On,chevronOpen:kn,list:An,"list-in":`_list-in_1hi05_1`,listDown:jn,listUp:Mn,"list-in-up":`_list-in-up_1hi05_1`,option:Nn,optionActive:Pn,optionSelected:Fn,optionDisabled:In,optionText:Ln,optionLabel:Rn,optionDesc:zn,checkIcon:Bn};function Vn({options:n,value:r,onChange:i,placeholder:a=`Select an option`,disabled:o,className:s,...c}){let[l,u]=(0,t.useState)(!1),[d,f]=(0,t.useState)(-1),[p,m]=(0,t.useState)(!1),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=n.find(e=>e.value===r),b=(0,t.useCallback)(()=>{if(!_.current)return;let e=_.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,r=Math.min(n.length*48+8,280);m(t<r&&e.top>r)},[n.length]),x=(0,t.useCallback)(()=>{if(o)return;b(),u(!0);let e=n.findIndex(e=>e.value===r&&!e.disabled);f(e>=0?e:n.findIndex(e=>!e.disabled))},[o,b,n,r]),S=(0,t.useCallback)(()=>{u(!1),f(-1),_.current?.focus()},[]),C=(0,t.useCallback)(e=>{e.disabled||(i?.(e.value),S())},[i,S]);(0,t.useEffect)(()=>{!l||d<0||!v.current||v.current.children[d]?.scrollIntoView({block:`nearest`})},[d,l]),(0,t.useEffect)(()=>{if(!l)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&S()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[l,S]);let w=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),x();break;case`ArrowUp`:e.preventDefault(),b(),u(!0),f(n.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[x,b,n]),T=(0,t.useCallback)(e=>{let t=n.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),r=t.indexOf(d);switch(e.key){case`ArrowDown`:{e.preventDefault();let n=t[Math.min(r+1,t.length-1)];f(n??d);break}case`ArrowUp`:{e.preventDefault();let n=t[Math.max(r-1,0)];f(n??d);break}case`Home`:e.preventDefault(),f(t[0]??-1);break;case`End`:e.preventDefault(),f(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),d>=0&&C(n[d]);break;case`Escape`:case`Tab`:S();break}},[n,d,C,S]);return(0,e.jsxs)(`div`,{className:[R.wrapper,s].filter(Boolean).join(` `),...c,children:[(0,e.jsxs)(`button`,{ref:_,id:h,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":l,"aria-controls":g,"aria-activedescendant":l&&d>=0?`${g}-opt-${d}`:void 0,disabled:o,className:[R.trigger,l?R.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>l?S():x(),onKeyDown:w,children:[(0,e.jsx)(`span`,{className:[R.triggerLabel,y?null:R.placeholder].filter(Boolean).join(` `),children:y?.label??a}),(0,e.jsx)(M,{icon:Ee,size:`md`,"aria-hidden":!0,className:[R.chevron,l?R.chevronOpen:null].filter(Boolean).join(` `)})]}),l&&(0,e.jsx)(`ul`,{ref:v,id:g,role:`listbox`,"aria-labelledby":h,tabIndex:-1,className:[R.list,p?R.listUp:R.listDown].filter(Boolean).join(` `),onKeyDown:T,children:n.map((t,n)=>(0,e.jsxs)(`li`,{id:`${g}-opt-${n}`,role:`option`,"aria-selected":t.value===r,"aria-disabled":t.disabled,className:[R.option,t.value===r?R.optionSelected:null,n===d?R.optionActive:null,t.disabled?R.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&f(n),onClick:()=>C(t),children:[(0,e.jsxs)(`span`,{className:R.optionText,children:[(0,e.jsx)(`span`,{className:R.optionLabel,children:t.label}),t.description&&(0,e.jsx)(`span`,{className:R.optionDesc,children:t.description})]}),t.value===r&&(0,e.jsx)(M,{icon:je,size:`md`,"aria-hidden":!0,className:R.checkIcon})]},t.value))})]})}var z={wrapper:`_wrapper_11zhs_3`,hasLabels:`_hasLabels_11zhs_11`,track:`_track_11zhs_17`,disabled:`_disabled_11zhs_42`,fill:`_fill_11zhs_50`,thumb:`_thumb_11zhs_64`,tick:`_tick_11zhs_97`,labels:`_labels_11zhs_112`,markLabel:`_markLabel_11zhs_119`};function Hn(e,t,n){return Math.min(n,Math.max(t,e))}function Un(e,t,n,r){return parseFloat((Math.round((e-t)/n)*n+t).toFixed(r))}function Wn(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function Gn({value:n,onChange:r,min:i=0,max:a=100,step:o=1,disabled:s=!1,marks:c,className:l,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,...p}){let m=(0,t.useRef)(null),h=Wn(o),g=(Hn(n,i,a)-i)/(a-i)*100,_=(0,t.useCallback)(e=>{if(!m.current)return;let{left:t,width:n}=m.current.getBoundingClientRect();r(Hn(Un((e-t)/n*(a-i)+i,i,o,h),i,a))},[i,a,o,h,r]),v=(0,t.useCallback)(e=>{s||(e.currentTarget.setPointerCapture(e.pointerId),_(e.clientX))},[s,_]),y=(0,t.useCallback)(e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&_(e.clientX)},[_]),b=(0,t.useCallback)(e=>{let t=t=>{e.preventDefault(),r(Hn(Un(t,i,o,h),i,a))};switch(e.key){case`ArrowRight`:case`ArrowUp`:t(n+o);break;case`ArrowLeft`:case`ArrowDown`:t(n-o);break;case`PageUp`:t(n+o*10);break;case`PageDown`:t(n-o*10);break;case`Home`:t(i);break;case`End`:t(a);break}},[n,o,i,a,h,r]),x=c&&c.length>0,S=x&&c.some(e=>e.label);return(0,e.jsxs)(`div`,{className:[z.wrapper,S?z.hasLabels:null,l].filter(Boolean).join(` `),...p,children:[(0,e.jsxs)(`div`,{ref:m,role:`slider`,tabIndex:s?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":n,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,"aria-disabled":s||void 0,className:[z.track,s?z.disabled:null].filter(Boolean).join(` `),onPointerDown:v,onPointerMove:y,onKeyDown:s?void 0:b,children:[(0,e.jsx)(`div`,{className:z.fill,style:{width:`${g}%`}}),(0,e.jsx)(`div`,{className:z.thumb,style:{left:`${g}%`},"aria-hidden":`true`}),x&&c.map(t=>{let n=(Hn(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`div`,{className:z.tick,style:{left:`${n}%`},"aria-hidden":`true`},t.value)})]}),S&&(0,e.jsx)(`div`,{className:z.labels,"aria-hidden":`true`,children:c.map(t=>{let n=(Hn(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`span`,{className:z.markLabel,style:{left:`${n}%`},children:t.label},t.value)})})]})}var Kn={panel:`_panel_1tk9v_3`,visible:`_visible_1tk9v_36`,arrow:`_arrow_1tk9v_44`,bottom:`_bottom_1tk9v_59`,top:`_top_1tk9v_67`,left:`_left_1tk9v_75`,right:`_right_1tk9v_83`},qn=8,B=10,Jn=6;function Yn(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[...new Set([n,n===`top`?`bottom`:n===`bottom`?`top`:n===`left`?`right`:`left`,`bottom`,`top`,`left`,`right`])];function o(n){return n===`bottom`?{top:e.bottom+qn,left:e.left+e.width/2-t.width/2}:n===`top`?{top:e.top-t.height-qn,left:e.left+e.width/2-t.width/2}:n===`left`?{top:e.top+e.height/2-t.height/2,left:e.left-t.width-qn}:{top:e.top+e.height/2-t.height/2,left:e.right+qn}}for(let n of a){let{top:a,left:s}=o(n),c=s>=B&&s+t.width<=r-B,l=a>=B&&a+t.height<=i-B;if(c&&l)return{top:a,left:s,placement:n,arrowOffset:n===`top`||n===`bottom`?e.left+e.width/2-s:e.top+e.height/2-a}}for(let n of a){let{top:a,left:s}=o(n),c=a>=B&&a+t.height<=i-B,l=s>=B&&s+t.width<=r-B;if((n===`top`||n===`bottom`)&&c){let i=Math.max(B,Math.min(s,r-t.width-B)),o=e.left+e.width/2-i;return{top:a,left:i,placement:n,arrowOffset:Math.max(Jn+4,Math.min(o,t.width-Jn-4))}}if((n===`left`||n===`right`)&&l){let r=Math.max(B,Math.min(a,i-t.height-B)),o=e.top+e.height/2-r;return{top:r,left:s,placement:n,arrowOffset:Math.max(Jn+4,Math.min(o,t.height-Jn-4))}}}let s=e.bottom+qn,c=e.left+e.width/2-t.width/2,l=Math.max(B,Math.min(s,i-t.height-B)),u=Math.max(B,Math.min(c,r-t.width-B)),d=e.left+e.width/2-u;return{top:l,left:u,placement:`bottom`,arrowOffset:Math.max(Jn+4,Math.min(d,t.width-Jn-4))}}function Xn({content:r,placement:i=`bottom`,open:a,onClose:o,onOpenChange:s,children:c}){let l=a!==void 0,[u,d]=(0,t.useState)(!1),f=l?a:u,[p,m]=(0,t.useState)(null),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=(0,t.useRef)(null),b=(0,t.useCallback)(()=>{l?o?.():d(!1),s?.(!1)},[l,o,s]),x=(0,t.useCallback)(()=>{f?b():(l||d(!0),s?.(!0))},[f,b,l,s]),S=(0,t.useCallback)(()=>{!_.current||!v.current||m(Yn(_.current.getBoundingClientRect(),v.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(!f)return;let e=requestAnimationFrame(()=>{S(),window.addEventListener(`scroll`,S,{passive:!0,capture:!0}),window.addEventListener(`resize`,S,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,S,{capture:!0}),window.removeEventListener(`resize`,S)}},[f,S]),(0,t.useEffect)(()=>{f?(y.current=document.activeElement,requestAnimationFrame(()=>{(v.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)??v.current)?.focus()})):(y.current?.focus(),m(null))},[f]),(0,t.useEffect)(()=>{if(!f)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&b()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f,b]);let C=(0,t.useCallback)(e=>{e.key===`Escape`&&(e.stopPropagation(),b())},[b]),w=(0,t.cloneElement)(c,{ref:_,id:h,"aria-haspopup":`dialog`,"aria-expanded":f,"aria-controls":f?g:void 0,onClick:e=>{x(),c.props.onClick?.(e)}}),T=(0,e.jsxs)(`div`,{ref:v,id:g,role:`dialog`,"aria-labelledby":h,tabIndex:-1,className:[Kn.panel,p?Kn[p.placement]:null,f&&p?Kn.visible:null].filter(Boolean).join(` `),style:p?{top:p.top,left:p.left}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999},onKeyDown:C,children:[(0,e.jsx)(`div`,{className:Kn.arrow,"aria-hidden":`true`,style:p?.arrowOffset===void 0?void 0:p.placement===`top`||p.placement===`bottom`?{left:p.arrowOffset-Jn,marginLeft:0}:{top:p.arrowOffset-Jn,marginTop:0}}),r]});return(0,e.jsxs)(e.Fragment,{children:[w,f&&(typeof document<`u`?(0,n.createPortal)(T,document.body):T)]})}var Zn={clamp:`_clamp_1j51b_6`};function Qn({maximumSize:t=600,children:n,className:r,style:i,...a}){return(0,e.jsx)(`div`,{className:[Zn.clamp,r].filter(Boolean).join(` `),style:{maxWidth:t,...i},...a,children:n})}var V={root:`_root_yaj3r_3`,expanded:`_expanded_yaj3r_12`,sidebar:`_sidebar_yaj3r_16`,contentPane:`_contentPane_yaj3r_22`,collapsed:`_collapsed_yaj3r_30`,paneVisible:`_paneVisible_yaj3r_46`,paneHidden:`_paneHidden_yaj3r_50`,divider:`_divider_yaj3r_67`};function $n({sidebar:t,content:n,showContent:r=!1,minSidebarWidth:i=180,maxSidebarWidth:a=280,sidebarWidthFraction:o=.25,className:s,style:c,...l}){let{isNarrow:u}=Ie(),d=`clamp(${i}px, ${o*100}%, ${a}px)`;return(0,e.jsxs)(`div`,{className:[V.root,u?V.collapsed:V.expanded,s].filter(Boolean).join(` `),style:{"--sidebar-width":d,...c},...l,children:[(0,e.jsx)(`div`,{className:[V.sidebar,u&&r?V.paneHidden:V.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&r,children:t}),!u&&(0,e.jsx)(`div`,{className:V.divider,"aria-hidden":`true`}),(0,e.jsx)(`div`,{className:[V.contentPane,u&&!r?V.paneHidden:V.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&!r,children:n})]})}var H={root:`_root_1g9mq_3`,wide:`_wide_1g9mq_13`,end:`_end_1g9mq_17`,sidebar:`_sidebar_1g9mq_21`,collapsed:`_collapsed_1g9mq_28`,content:`_content_1g9mq_32`,narrow:`_narrow_1g9mq_40`,start:`_start_1g9mq_60`,sidebarOpen:`_sidebarOpen_1g9mq_64`,sidebarClosed:`_sidebarClosed_1g9mq_65`,backdrop:`_backdrop_1g9mq_77`,backdropVisible:`_backdropVisible_1g9mq_88`};function er({sidebar:n,content:r,showSidebar:i=!1,onClose:a,collapsed:o=!1,sidebarPosition:s=`start`,minSidebarWidth:c=180,maxSidebarWidth:l=280,sidebarWidthFraction:u=.25,className:d,style:f,...p}){let{isNarrow:m}=Ie(),h=(0,t.useRef)(null),g=`clamp(${c}px, ${u*100}%, ${l}px)`;(0,t.useEffect)(()=>{if(!m||!i)return;let e=e=>{e.key===`Escape`&&a?.()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[m,i,a]),(0,t.useEffect)(()=>{!m||!i||(h.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`))?.focus()},[m,i]);let _=s===`end`;return(0,t.useEffect)(()=>{if(!m||!i)return;let e=h.current;if(!e)return;let t=0,n=e=>{t=e.touches[0].clientX},r=e=>{let n=e.changedTouches[0].clientX-t;(_?n>80:n<-80)&&a?.()};return e.addEventListener(`touchstart`,n,{passive:!0}),e.addEventListener(`touchend`,r,{passive:!0}),()=>{e.removeEventListener(`touchstart`,n),e.removeEventListener(`touchend`,r)}},[m,i,_,a]),(0,e.jsxs)(`div`,{className:[H.root,m?H.narrow:H.wide,!m&&o?H.collapsed:null,_?H.end:H.start,d].filter(Boolean).join(` `),style:{"--sidebar-width":g,...f},...p,children:[m&&(0,e.jsx)(`div`,{className:[H.backdrop,i?H.backdropVisible:null].filter(Boolean).join(` `),"aria-hidden":`true`,onClick:a}),(0,e.jsx)(`div`,{ref:h,className:[H.sidebar,m?i?H.sidebarOpen:H.sidebarClosed:null].filter(Boolean).join(` `),"aria-hidden":m&&!i,children:n}),(0,e.jsx)(`div`,{className:H.content,children:r})]})}var tr={bar:`_bar_njcvu_3`};function nr({children:t,reveal:n=!0,className:r,...i}){return n?(0,e.jsx)(`div`,{role:`navigation`,"aria-label":`Bottom navigation`,className:[tr.bar,r].filter(Boolean).join(` `),...i,children:t}):null}var rr={link:`_link_x1qyh_1`,externalIcon:`_externalIcon_x1qyh_36`};function ir({external:t=!1,children:n,className:r,target:i,rel:a,...o}){let s=t||i===`_blank`;return(0,e.jsxs)(`a`,{className:[rr.link,r].filter(Boolean).join(` `),target:s?`_blank`:i,rel:s?`noopener noreferrer`:a,...o,children:[n,s&&(0,e.jsx)(`span`,{className:rr.externalIcon,"aria-label":`(opens in new tab)`,children:`↗`})]})}var ar={group:`_group_1fa3l_3`,item:`_item_1fa3l_18`,iconOnly:`_iconOnly_1fa3l_48`,active:`_active_1fa3l_53`,itemIcon:`_itemIcon_1fa3l_86`,itemLabel:`_itemLabel_1fa3l_92`},or=(0,t.createContext)(null);function sr(){let e=(0,t.useContext)(or);if(!e)throw Error(`ToggleGroupItem must be used inside ToggleGroup`);return e}function cr({value:n,onValueChange:r,"aria-label":i=`Options`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(or.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:c,role:`radiogroup`,"aria-label":i,onKeyDown:l,className:[ar.group,o].filter(Boolean).join(` `),...s,children:a})})}function lr({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=sr(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[ar.item,l?ar.active:null,u?ar.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:ar.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:ar.itemLabel,children:n})]})}function ur({orientation:t=`vertical`,spacing:n=6,align:r,justify:i=`start`,className:a,style:o,children:s,...c}){let l=t===`horizontal`?`center`:`stretch`;return(0,e.jsx)(`div`,{className:a,style:{display:`flex`,flexDirection:t===`horizontal`?`row`:`column`,gap:typeof n==`number`?`${n}px`:n,alignItems:r??l,justifyContent:i,...o},...c,children:s})}var dr={wrapBox:`_wrapBox_1ik0x_1`,reverse:`_reverse_1ik0x_10`};function fr({childSpacing:t=6,lineSpacing:n,justify:r=`start`,align:i=`center`,wrapReverse:a=!1,children:o,className:s,style:c,...l}){let u=typeof t==`number`?`${t}px`:t,d=n==null?u:typeof n==`number`?`${n}px`:n,f={"--wrapbox-gap":u,"--wrapbox-row-gap":d,"--wrapbox-justify":r,"--wrapbox-align":i,...c};return(0,e.jsx)(`div`,{className:[dr.wrapBox,a?dr.reverse:null,s].filter(Boolean).join(` `),style:f,...l,children:o})}var pr={chip:`_chip_e26qc_3`,selectable:`_selectable_e26qc_31`,selected:`_selected_e26qc_55`,disabled:`_disabled_e26qc_68`,icon:`_icon_e26qc_76`,label:`_label_e26qc_85`,remove:`_remove_e26qc_91`};function mr({label:t,icon:n,onRemove:r,selectable:i=!1,selected:a=!1,onToggle:o,disabled:s=!1,className:c,...l}){let u=i&&!r,d=[pr.chip,a?pr.selected:null,s?pr.disabled:null,u?pr.selectable:null,c].filter(Boolean).join(` `),f=(0,e.jsxs)(e.Fragment,{children:[n&&(0,e.jsx)(`span`,{className:pr.icon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:pr.label,children:t}),r&&(0,e.jsx)(`button`,{type:`button`,className:pr.remove,"aria-label":`Remove ${t}`,disabled:s,onClick:e=>{e.stopPropagation(),r()},tabIndex:s?-1:0,children:(0,e.jsx)(M,{icon:De,size:`sm`,"aria-hidden":!0})})]});return u?(0,e.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":a,"aria-label":t,disabled:s,onClick:o,className:d,...l,children:f}):(0,e.jsx)(`span`,{className:d,...l,children:f})}var hr=`_backdrop_zvuhh_3`,gr=`_dialog_zvuhh_26`,_r=`_header_zvuhh_59`,vr=`_title_zvuhh_67`,yr=`_closeBtn_zvuhh_74`,br=`_searchRow_zvuhh_112`,xr=`_searchIcon_zvuhh_124`,Sr=`_searchInput_zvuhh_132`,Cr=`_searchClear_zvuhh_151`,wr=`_body_zvuhh_174`,Tr=`_empty_zvuhh_182`,Er=`_section_zvuhh_193`,Dr=`_sectionTitle_zvuhh_199`,Or=`_list_zvuhh_209`,kr=`_row_zvuhh_225`,Ar=`_keys_zvuhh_240`,jr=`_keyCap_zvuhh_247`,Mr=`_plus_zvuhh_277`,Nr=`_description_zvuhh_284`,U={backdrop:hr,"backdrop-in":`_backdrop-in_zvuhh_1`,dialog:gr,"dialog-in":`_dialog-in_zvuhh_1`,header:_r,title:vr,closeBtn:yr,searchRow:br,searchIcon:xr,searchInput:Sr,searchClear:Cr,body:wr,empty:Tr,section:Er,sectionTitle:Dr,list:Or,row:kr,keys:Ar,keyCap:jr,plus:Mr,description:Nr},Pr=`button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Fr({open:r,onClose:i,title:a=`Keyboard Shortcuts`,sections:o}){let[s,c]=(0,t.useState)(``),l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useRef)(null),f=(0,t.useRef)(`shortcuts-title-${Math.random().toString(36).slice(2,9)}`);(0,t.useEffect)(()=>{r?(d.current=document.activeElement,requestAnimationFrame(()=>u.current?.focus())):(c(``),d.current?.focus())},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),i();return}if(e.key!==`Tab`)return;let t=Array.from(l.current?.querySelectorAll(Pr)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[i]);if(!r)return null;let m=s.trim().toLowerCase(),h=o.map(e=>({...e,shortcuts:e.shortcuts.filter(({description:e,keys:t})=>!m||e.toLowerCase().includes(m)||t.some(e=>e.toLowerCase().includes(m)))})).filter(e=>e.shortcuts.length>0),g=(0,e.jsx)(`div`,{className:U.backdrop,onClick:i,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":f.current,className:U.dialog,onKeyDown:p,onClick:e=>e.stopPropagation(),children:[(0,e.jsxs)(`div`,{className:U.header,children:[(0,e.jsx)(`span`,{id:f.current,className:U.title,children:a}),(0,e.jsx)(`button`,{type:`button`,className:U.closeBtn,"aria-label":`Close`,onClick:i,children:`×`})]}),(0,e.jsxs)(`div`,{className:U.searchRow,children:[(0,e.jsx)(`span`,{className:U.searchIcon,"aria-hidden":`true`,children:`⌕`}),(0,e.jsx)(`input`,{ref:u,type:`search`,className:U.searchInput,placeholder:`Search shortcuts…`,value:s,onChange:e=>c(e.target.value),"aria-label":`Search shortcuts`}),s&&(0,e.jsx)(`button`,{type:`button`,className:U.searchClear,"aria-label":`Clear search`,onClick:()=>{c(``),u.current?.focus()},children:`×`})]}),(0,e.jsx)(`div`,{className:U.body,role:`list`,children:h.length===0?(0,e.jsxs)(`p`,{className:U.empty,children:[`No shortcuts match "`,s,`"`]}):h.map(t=>(0,e.jsxs)(`section`,{className:U.section,children:[(0,e.jsx)(`h3`,{className:U.sectionTitle,children:t.title}),(0,e.jsx)(`ul`,{className:U.list,children:t.shortcuts.map(t=>(0,e.jsxs)(`li`,{className:U.row,role:`listitem`,children:[(0,e.jsx)(`span`,{className:U.keys,"aria-label":t.keys.join(` + `),children:t.keys.map((n,r)=>(0,e.jsxs)(`span`,{className:U.keyCap,children:[(0,e.jsx)(`kbd`,{children:n}),r<t.keys.length-1&&(0,e.jsx)(`span`,{className:U.plus,"aria-hidden":`true`,children:`+`})]},r))}),(0,e.jsx)(`span`,{className:U.description,children:t.description})]},t.description))})]},t.title))})]})});return typeof document>`u`?g:(0,n.createPortal)(g,document.body)}var Ir={sidebar:`_sidebar_kmj4b_3`,list:`_list_kmj4b_17`,item:`_item_kmj4b_28`,itemBtn:`_itemBtn_kmj4b_34`,active:`_active_kmj4b_60`,itemIcon:`_itemIcon_kmj4b_106`,itemLabel:`_itemLabel_kmj4b_119`,itemSuffix:`_itemSuffix_kmj4b_129`,count:`_count_kmj4b_136`},Lr=(0,t.createContext)(null);function Rr(){let e=(0,t.useContext)(Lr);if(!e)throw Error(`ViewSwitcherSidebarItem must be used inside ViewSwitcherSidebar`);return e}function zr({value:n,onValueChange:r,"aria-label":i=`Views`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowDown`||e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowUp`||e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(Lr.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`nav`,{className:[Ir.sidebar,o].filter(Boolean).join(` `),onKeyDown:l,...s,children:(0,e.jsx)(`ul`,{ref:c,role:`radiogroup`,"aria-label":i,className:Ir.list,children:a})})})}function Br({name:t,label:n,icon:r,count:i,suffix:a,disabled:o,className:s,...c}){let{value:l,onValueChange:u}=Rr(),d=l===t,f=a??i??null;return(0,e.jsx)(`li`,{className:Ir.item,children:(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":d,tabIndex:d?0:-1,disabled:o,onClick:()=>u(t),className:[Ir.itemBtn,d?Ir.active:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:Ir.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:Ir.itemLabel,children:n}),f!=null&&(0,e.jsx)(`span`,{className:Ir.itemSuffix,children:typeof f==`number`?(0,e.jsx)(`span`,{className:Ir.count,children:f>99?`99+`:f}):f})]})})}function Vr({breakpoints:n,children:r,className:i,style:a,...o}){let s=(0,t.useRef)(null),[c,l]=(0,t.useState)({activeBreakpoint:null,width:0});return(0,t.useEffect)(()=>{let e=s.current;if(!e)return;let t=[...n].sort((e,t)=>e.maxWidth-t.maxWidth),r=e=>({activeBreakpoint:(t.find(t=>e<=t.maxWidth)??null)?.name??null,width:e});l(r(e.offsetWidth));let i=new ResizeObserver(e=>{let t=e[0];t&&l(r(t.contentBoxSize?.[0]?.inlineSize??t.contentRect.width))});return i.observe(e),()=>i.disconnect()},[JSON.stringify(n)]),(0,e.jsx)(`div`,{ref:s,className:i,style:{minWidth:0,...a},"data-breakpoint":c.activeBreakpoint??void 0,...o,children:r(c)})}var Hr={row:`_row_1ba2f_3`,title:`_title_1ba2f_48`,leading:`_leading_1ba2f_59`,trailing:`_trailing_1ba2f_60`,default:`_default_1ba2f_68`,suggested:`_suggested_1ba2f_77`,destructive:`_destructive_1ba2f_86`};function Ur({title:t,variant:n=`default`,leading:r,trailing:i,className:a,...o}){return(0,e.jsxs)(`button`,{className:[Hr.row,Hr[n],a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Hr.leading,children:r}),(0,e.jsx)(`span`,{className:Hr.title,children:t}),i&&(0,e.jsx)(`span`,{className:Hr.trailing,children:i})]})}var Wr={container:`_container_4kjnf_3`,primary:`_primary_4kjnf_14`,toggle:`_toggle_4kjnf_15`,separator:`_separator_4kjnf_66`,chevron:`_chevron_4kjnf_81`,default:`_default_4kjnf_88`,suggested:`_suggested_4kjnf_123`,destructive:`_destructive_4kjnf_145`,dropdown:`_dropdown_4kjnf_167`,dropdownVisible:`_dropdownVisible_4kjnf_185`};function Gr({label:r,variant:i=`default`,dropdownContent:a,dropdownLabel:o=`More options`,disabled:s=!1,onClick:c,className:l,...u}){let[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)({}),h=(0,t.useRef)(null),g=(0,t.useRef)(null),_=(0,t.useRef)(null),v=(0,t.useCallback)(()=>f(!1),[]),y=(0,t.useCallback)(()=>{if(!g.current||!_.current)return;let e=g.current.getBoundingClientRect(),t=_.current.getBoundingClientRect(),n=window.innerWidth,r=e.right-t.width;r<8&&(r=8),r+t.width>n-8&&(r=n-t.width-8),m({top:e.bottom+6,left:r})},[]);(0,t.useEffect)(()=>{if(!d)return;let e=requestAnimationFrame(()=>{y(),window.addEventListener(`scroll`,y,{passive:!0,capture:!0}),window.addEventListener(`resize`,y,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,y,{capture:!0}),window.removeEventListener(`resize`,y)}},[d,y]),(0,t.useEffect)(()=>{if(!d)return;let e=e=>{!h.current?.contains(e.target)&&!_.current?.contains(e.target)&&v()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[d,v]);let b=e=>{e.key===`Escape`&&(e.stopPropagation(),v(),g.current?.focus())},x=[Wr.container,Wr[i],l].filter(Boolean).join(` `),S=(0,e.jsx)(`div`,{ref:_,role:`dialog`,"aria-label":o,tabIndex:-1,className:[Wr.dropdown,d?Wr.dropdownVisible:null].filter(Boolean).join(` `),style:Object.keys(p).length?{...p,position:`fixed`}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999,position:`fixed`},onKeyDown:b,children:a});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{ref:h,className:x,children:[(0,e.jsx)(`button`,{className:Wr.primary,disabled:s,onClick:c,...u,children:r}),(0,e.jsx)(`span`,{className:Wr.separator,"aria-hidden":`true`}),(0,e.jsx)(`button`,{ref:g,className:Wr.toggle,disabled:s,"aria-label":o,"aria-haspopup":`dialog`,"aria-expanded":d,onClick:()=>f(e=>!e),children:(0,e.jsx)(`svg`,{className:Wr.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),d&&(typeof document<`u`?(0,n.createPortal)(S,document.body):S)]})}var Kr={toolbar:`_toolbar_1avgl_2`,spacer:`_spacer_1avgl_20`};function qr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Kr.toolbar,n].filter(Boolean).join(` `),...r,children:t})}function Jr({className:t,...n}){return(0,e.jsx)(`div`,{"aria-hidden":`true`,className:[Kr.spacer,t].filter(Boolean).join(` `),...n})}var Yr={linked:`_linked_1tser_3`,vertical:`_vertical_1tser_9`};function Xr({children:t,vertical:n=!1,className:r,...i}){return(0,e.jsx)(`div`,{className:[Yr.linked,n?Yr.vertical:null,r].filter(Boolean).join(` `),...i,children:t})}var Zr={frame:`_frame_1bq7b_2`};function Qr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Zr.frame,n].filter(Boolean).join(` `),...r,children:t})}var W={expanderRow:`_expanderRow_1wh8c_3`,header:`_header_1wh8c_11`,leading:`_leading_1wh8c_55`,content:`_content_1wh8c_64`,title:`_title_1wh8c_72`,subtitle:`_subtitle_1wh8c_83`,trailing:`_trailing_1wh8c_97`,chevronWrap:`_chevronWrap_1wh8c_106`,chevronOpen:`_chevronOpen_1wh8c_115`,chevron:`_chevron_1wh8c_106`,panel:`_panel_1wh8c_125`,expanded:`_expanded_1wh8c_131`,panelInner:`_panelInner_1wh8c_135`,childItem:`_childItem_1wh8c_142`};function $r({title:n,subtitle:r,leading:i,trailing:a,children:o,expanded:s,defaultExpanded:c=!1,onExpandedChange:l,className:u,...d}){let f=s!==void 0,[p,m]=(0,t.useState)(c),h=f?s:p,g=(0,t.useId)(),_=(0,t.useId)(),v=()=>{let e=!h;f||m(e),l?.(e)},y=t.Children.toArray(o).filter(Boolean);return(0,e.jsxs)(`div`,{className:[W.expanderRow,h?W.expanded:null,u].filter(Boolean).join(` `),...d,children:[(0,e.jsxs)(`button`,{id:_,className:W.header,"aria-expanded":h,"aria-controls":g,onClick:v,children:[i&&(0,e.jsx)(`span`,{className:W.leading,children:i}),(0,e.jsxs)(`span`,{className:W.content,children:[(0,e.jsx)(`span`,{className:W.title,children:n}),r&&(0,e.jsx)(`span`,{className:W.subtitle,children:r})]}),a&&(0,e.jsx)(`span`,{className:W.trailing,children:a}),(0,e.jsx)(`span`,{className:[W.chevronWrap,h?W.chevronOpen:null].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,e.jsx)(`svg`,{className:W.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),(0,e.jsx)(`div`,{id:g,role:`region`,"aria-labelledby":_,className:W.panel,children:(0,e.jsx)(`div`,{className:W.panelInner,children:y.map((t,n)=>(0,e.jsxs)(`div`,{className:W.childItem,children:[(0,e.jsx)(k,{"aria-hidden":`true`}),t]},n))})})]})}var ei={switcher:`_switcher_2tknm_3`,item:`_item_2tknm_10`,iconOnly:`_iconOnly_2tknm_38`,itemIcon:`_itemIcon_2tknm_43`,itemLabel:`_itemLabel_2tknm_49`,default:`_default_2tknm_55`,active:`_active_2tknm_68`,flat:`_flat_2tknm_121`,round:`_round_2tknm_169`},ti=(0,t.createContext)(null);function ni(){let e=(0,t.useContext)(ti);if(!e)throw Error(`InlineViewSwitcherItem must be used inside InlineViewSwitcher`);return e}function ri({value:n,onValueChange:r,variant:i=`default`,"aria-label":a=`View switcher`,children:o,className:s,...c}){let l=(0,t.useRef)(null);function u(e){let t=Array.from(l.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(ti.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:l,role:`radiogroup`,"aria-label":a,onKeyDown:u,className:[ei.switcher,ei[i],s].filter(Boolean).join(` `),...c,children:o})})}function ii({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=ni(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[ei.item,l?ei.active:null,u?ei.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:ei.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:ei.itemLabel,children:n})]})}var ai={row:`_row_jl3bc_3`,disabled:`_disabled_jl3bc_41`,leading:`_leading_jl3bc_49`,content:`_content_jl3bc_58`,title:`_title_jl3bc_66`,subtitle:`_subtitle_jl3bc_77`,switchTrack:`_switchTrack_jl3bc_91`,switchThumb:`_switchThumb_jl3bc_114`,switchThumbOn:`_switchThumbOn_jl3bc_126`};function oi({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`switch`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[ai.row,c?ai.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[i&&(0,e.jsx)(`span`,{className:ai.leading,children:i}),(0,e.jsxs)(`span`,{className:ai.content,id:g,children:[(0,e.jsx)(`span`,{className:ai.title,children:n}),r&&(0,e.jsx)(`span`,{className:ai.subtitle,children:r})]}),(0,e.jsx)(`span`,{className:ai.switchTrack,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[ai.switchThumb,h?ai.switchThumbOn:null].filter(Boolean).join(` `)})})]})}var G={row:`_row_1dije_3`,disabled:`_disabled_1dije_41`,checkboxWrap:`_checkboxWrap_1dije_49`,checkbox:`_checkbox_1dije_49`,checkboxChecked:`_checkboxChecked_1dije_71`,checkmark:`_checkmark_1dije_77`,leading:`_leading_1dije_84`,content:`_content_1dije_93`,title:`_title_1dije_101`,subtitle:`_subtitle_1dije_112`};function si({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`checkbox`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[G.row,c?G.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[(0,e.jsx)(`span`,{className:G.checkboxWrap,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[G.checkbox,h?G.checkboxChecked:null].filter(Boolean).join(` `),children:h&&(0,e.jsx)(`svg`,{className:G.checkmark,width:`12`,height:`12`,viewBox:`0 0 12 12`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M2 6l3 3 5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),i&&(0,e.jsx)(`span`,{className:G.leading,children:i}),(0,e.jsxs)(`span`,{className:G.content,id:g,children:[(0,e.jsx)(`span`,{className:G.title,children:n}),r&&(0,e.jsx)(`span`,{className:G.subtitle,children:r})]})]})}var ci=`_row_46mn8_3`,li=`_disabled_46mn8_16`,ui=`_leading_46mn8_23`,di=`_content_46mn8_32`,fi=`_title_46mn8_40`,pi=`_subtitle_46mn8_51`,mi=`_comboWrap_46mn8_65`,hi=`_trigger_46mn8_73`,gi=`_triggerOpen_46mn8_126`,_i=`_triggerLabel_46mn8_136`,vi=`_placeholder_46mn8_144`,yi=`_chevron_46mn8_150`,bi=`_chevronOpen_46mn8_157`,xi=`_list_46mn8_163`,Si=`_listDown_46mn8_192`,Ci=`_listUp_46mn8_196`,wi=`_option_46mn8_208`,Ti=`_optionActive_46mn8_225`,Ei=`_optionSelected_46mn8_229`,Di=`_optionDisabled_46mn8_233`,Oi=`_optionLabel_46mn8_239`,ki=`_checkIcon_46mn8_247`,K={row:ci,disabled:li,leading:ui,content:di,title:fi,subtitle:pi,comboWrap:mi,trigger:hi,triggerOpen:gi,triggerLabel:_i,placeholder:vi,chevron:yi,chevronOpen:bi,list:xi,"list-in":`_list-in_46mn8_1`,listDown:Si,listUp:Ci,"list-in-up":`_list-in-up_46mn8_1`,option:wi,optionActive:Ti,optionSelected:Ei,optionDisabled:Di,optionLabel:Oi,checkIcon:ki};function Ai({title:n,subtitle:r,leading:i,options:a,value:o,defaultValue:s,onValueChange:c,disabled:l=!1,className:u,...d}){let f=o!==void 0,[p,m]=(0,t.useState)(s),h=f?o:p,[g,_]=(0,t.useState)(!1),[v,y]=(0,t.useState)(-1),[b,x]=(0,t.useState)(!1),S=(0,t.useId)(),C=(0,t.useId)(),w=(0,t.useRef)(null),T=(0,t.useRef)(null),E=a.find(e=>e.value===h),D=(0,t.useCallback)(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=Math.min(a.length*44+8,260);x(t<n&&e.top>n)},[a.length]),O=(0,t.useCallback)(()=>{if(l)return;D(),_(!0);let e=a.findIndex(e=>e.value===h&&!e.disabled);y(e>=0?e:a.findIndex(e=>!e.disabled))},[l,D,a,h]),k=(0,t.useCallback)(()=>{_(!1),y(-1),w.current?.focus()},[]),A=(0,t.useCallback)(e=>{e.disabled||(f||m(e.value),c?.(e.value),k())},[f,c,k]);(0,t.useEffect)(()=>{!g||v<0||!T.current||T.current.children[v]?.scrollIntoView({block:`nearest`})},[v,g]),(0,t.useEffect)(()=>{if(!g)return;let e=e=>{!w.current?.contains(e.target)&&!T.current?.contains(e.target)&&k()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[g,k]);let ee=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),O();break;case`ArrowUp`:e.preventDefault(),D(),_(!0),y(a.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[O,D,a]),te=(0,t.useCallback)(e=>{let t=a.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),n=t.indexOf(v);switch(e.key){case`ArrowDown`:{e.preventDefault();let r=t[Math.min(n+1,t.length-1)];y(r??v);break}case`ArrowUp`:{e.preventDefault();let r=t[Math.max(n-1,0)];y(r??v);break}case`Home`:e.preventDefault(),y(t[0]??-1);break;case`End`:e.preventDefault(),y(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),v>=0&&A(a[v]);break;case`Escape`:case`Tab`:k();break}},[a,v,A,k]);return(0,e.jsxs)(`div`,{className:[K.row,l?K.disabled:null,u].filter(Boolean).join(` `),...d,children:[i&&(0,e.jsx)(`span`,{className:K.leading,children:i}),(0,e.jsxs)(`span`,{className:K.content,children:[(0,e.jsx)(`span`,{className:K.title,children:n}),r&&(0,e.jsx)(`span`,{className:K.subtitle,children:r})]}),(0,e.jsxs)(`div`,{className:K.comboWrap,children:[(0,e.jsxs)(`button`,{ref:w,id:S,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":C,"aria-activedescendant":g&&v>=0?`${C}-opt-${v}`:void 0,disabled:l,className:[K.trigger,g?K.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>g?k():O(),onKeyDown:ee,children:[(0,e.jsx)(`span`,{className:[K.triggerLabel,E?null:K.placeholder].filter(Boolean).join(` `),children:E?.label??`—`}),(0,e.jsx)(`svg`,{className:[K.chevron,g?K.chevronOpen:null].filter(Boolean).join(` `),width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),g&&(0,e.jsx)(`ul`,{ref:T,id:C,role:`listbox`,"aria-labelledby":S,tabIndex:-1,className:[K.list,b?K.listUp:K.listDown].filter(Boolean).join(` `),onKeyDown:te,children:a.map((t,n)=>(0,e.jsxs)(`li`,{id:`${C}-opt-${n}`,role:`option`,"aria-selected":t.value===h,"aria-disabled":t.disabled,className:[K.option,t.value===h?K.optionSelected:null,n===v?K.optionActive:null,t.disabled?K.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&y(n),onClick:()=>A(t),children:[(0,e.jsx)(`span`,{className:K.optionLabel,children:t.label}),t.value===h&&(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,className:K.checkIcon,children:(0,e.jsx)(`path`,{d:`M3 8l4 4 6-6`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})]},t.value))})]})]})}var q={row:`_row_1kogj_3`,focused:`_focused_1kogj_16`,disabled:`_disabled_1kogj_25`,leading:`_leading_1kogj_33`,trailing:`_trailing_1kogj_40`,fieldWrap:`_fieldWrap_1kogj_49`,label:`_label_1kogj_61`,labelFloated:`_labelFloated_1kogj_82`,input:`_input_1kogj_91`,inputFloated:`_inputFloated_1kogj_114`};function ji({title:n,value:r,defaultValue:i=``,onValueChange:a,leading:o,trailing:s,disabled:c,className:l,id:u,onChange:d,...f}){let p=(0,t.useId)(),m=u??p,h=r!==void 0,[g,_]=(0,t.useState)(String(i)),v=h?String(r):g,[y,b]=(0,t.useState)(!1),x=(0,t.useRef)(null),S=y||v.length>0;return(0,e.jsxs)(`div`,{className:[q.row,y?q.focused:null,c?q.disabled:null,l].filter(Boolean).join(` `),onClick:()=>x.current?.focus(),children:[o&&(0,e.jsx)(`span`,{className:q.leading,children:o}),(0,e.jsxs)(`span`,{className:q.fieldWrap,children:[(0,e.jsx)(`label`,{htmlFor:m,className:[q.label,S?q.labelFloated:null].filter(Boolean).join(` `),children:n}),(0,e.jsx)(`input`,{ref:x,id:m,className:[q.input,S?q.inputFloated:null].filter(Boolean).join(` `),value:v,disabled:c,onFocus:()=>b(!0),onBlur:()=>b(!1),onChange:e=>{h||_(e.target.value),a?.(e.target.value),d?.(e)},...f})]}),s&&(0,e.jsx)(`span`,{className:q.trailing,children:s})]})}var Mi={revealButton:`_revealButton_1j8z0_3`};function Ni({trailing:n,disabled:r,...i}){let[a,o]=(0,t.useState)(!1),s=(0,e.jsx)(`button`,{type:`button`,className:Mi.revealButton,onClick:e=>{e.stopPropagation(),o(e=>!e)},"aria-label":a?`Conceal password`:`Reveal password`,"aria-pressed":a,disabled:r,children:(0,e.jsx)(M,{icon:a?Ae:ke,size:`md`,"aria-hidden":!0})});return(0,e.jsx)(ji,{...i,type:a?`text`:`password`,disabled:r,trailing:(0,e.jsxs)(e.Fragment,{children:[n,s]})})}var J={row:`_row_ycg6f_3`,disabled:`_disabled_ycg6f_16`,leading:`_leading_ycg6f_23`,content:`_content_ycg6f_32`,title:`_title_ycg6f_40`,subtitle:`_subtitle_ycg6f_51`,spin:`_spin_ycg6f_65`,spinBtn:`_spinBtn_ycg6f_100`,spinValue:`_spinValue_ycg6f_144`};function Pi(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function Fi(e,t,n){return Math.min(n,Math.max(t,e))}function Ii({title:n,subtitle:r,leading:i,value:a,defaultValue:o=0,onValueChange:s,min:c=0,max:l=100,step:u=1,decimals:d,disabled:f=!1,className:p,...m}){let h=a!==void 0,[g,_]=(0,t.useState)(o),v=h?a:g,y=d??Pi(u),b=(0,t.useId)(),x=(0,t.useCallback)(e=>{let t=parseFloat(Fi(e,c,l).toFixed(y));h||_(t),s?.(t)},[h,c,l,y,s]),S=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),x(v+u);break;case`ArrowDown`:e.preventDefault(),x(v-u);break;case`PageUp`:e.preventDefault(),x(v+u*10);break;case`PageDown`:e.preventDefault(),x(v-u*10);break;case`Home`:e.preventDefault(),x(c);break;case`End`:e.preventDefault(),x(l);break}},[v,u,c,l,x]);return(0,e.jsxs)(`div`,{className:[J.row,f?J.disabled:null,p].filter(Boolean).join(` `),...m,children:[i&&(0,e.jsx)(`span`,{className:J.leading,children:i}),(0,e.jsxs)(`span`,{className:J.content,children:[(0,e.jsx)(`span`,{className:J.title,children:n}),r&&(0,e.jsx)(`span`,{className:J.subtitle,children:r})]}),(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":v,"aria-valuemin":c,"aria-valuemax":l,"aria-labelledby":b,"aria-disabled":f||void 0,tabIndex:f?-1:0,onKeyDown:f?void 0:S,className:J.spin,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v<=c,className:J.spinBtn,onClick:e=>{e.stopPropagation(),x(v-u)},children:`−`}),(0,e.jsx)(`span`,{id:b,className:J.spinValue,"aria-hidden":`true`,children:v.toFixed(y)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v>=l,className:J.spinBtn,onClick:e=>{e.stopPropagation(),x(v+u)},children:`+`})]})]})}var Li=`_view_1r1om_3`,Ri=`_page_1r1om_12`,zi=`_pageHeader_1r1om_23`,Bi=`_pageTitle_1r1om_34`,Vi=`_pageContent_1r1om_43`,Hi=`_enterForward_1r1om_52`,Ui=`_enterBack_1r1om_56`,Wi={view:Li,page:Ri,pageHeader:zi,pageTitle:Bi,pageContent:Vi,enterForward:Hi,"slide-in-right":`_slide-in-right_1r1om_1`,enterBack:Ui,"slide-in-left":`_slide-in-left_1r1om_1`},Gi=(0,t.createContext)({navigate:()=>{},pop:()=>{},canGoBack:!1,currentTag:``,direction:`forward`});function Ki(){return(0,t.useContext)(Gi)}function qi({tag:n,title:r,children:i,className:a,...o}){let{currentTag:s,direction:c}=(0,t.useContext)(Gi);return s===n?(0,e.jsxs)(`div`,{className:[Wi.page,c===`forward`?Wi.enterForward:Wi.enterBack,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:Wi.pageHeader,children:(0,e.jsx)(`span`,{className:Wi.pageTitle,children:r})}),(0,e.jsx)(`div`,{className:Wi.pageContent,children:i})]}):null}function Ji({initialPage:n,children:r,className:i,...a}){let[o,s]=(0,t.useState)([n]),c=o[o.length-1],l=o.length>1,[u,d]=(0,t.useState)(`forward`);return(0,e.jsx)(Gi.Provider,{value:{navigate:e=>{d(`forward`),s(t=>[...t,e])},pop:()=>{o.length<=1||(d(`back`),s(e=>e.slice(0,-1)))},canGoBack:l,currentTag:c,direction:u},children:(0,e.jsx)(`div`,{className:[Wi.view,i].filter(Boolean).join(` `),...a,children:r})})}var Yi=`_backdrop_zzv98_3`,Xi=`_sheet_zzv98_26`,Zi=`_handle_zzv98_49`,Qi=`_handleBar_zzv98_56`,$i=`_title_zzv98_66`,ea=`_content_zzv98_79`,ta={backdrop:Yi,"backdrop-in":`_backdrop-in_zzv98_1`,sheet:Xi,"sheet-in":`_sheet-in_zzv98_1`,handle:Zi,handleBar:Qi,title:$i,content:ea},na=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function ra({open:r,title:i,children:a,onClose:o,closeOnBackdrop:s=!0,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useId)(),f=(0,t.useRef)(null);(0,t.useEffect)(()=>{r?(f.current=document.activeElement,(u.current?.querySelector(na))?.focus()):f.current?.focus()},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),o?.();return}if(e.key!==`Tab`)return;let t=Array.from(u.current?.querySelectorAll(na)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[o]);if(!r)return null;let m=(0,e.jsx)(`div`,{className:ta.backdrop,onClick:s?o:void 0,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":i?d:void 0,className:[ta.sheet,c].filter(Boolean).join(` `),onKeyDown:p,onClick:e=>e.stopPropagation(),...l,children:[(0,e.jsx)(`div`,{className:ta.handle,"aria-hidden":`true`,children:(0,e.jsx)(`div`,{className:ta.handleBar})}),i&&(0,e.jsx)(`div`,{id:d,className:ta.title,children:i}),a&&(0,e.jsx)(`div`,{className:ta.content,children:a})]})});return typeof document>`u`?m:(0,n.createPortal)(m,document.body)}var Y={carousel:`_carousel_117hp_3`,horizontal:`_horizontal_117hp_20`,vertical:`_vertical_117hp_27`,slide:`_slide_117hp_36`,indicatorDots:`_indicatorDots_117hp_46`,dot:`_dot_117hp_54`,dotActive:`_dotActive_117hp_73`,indicatorLines:`_indicatorLines_117hp_85`,line:`_line_117hp_93`,lineActive:`_lineActive_117hp_110`};function ia({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Y.indicatorDots,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Y.dot,i===n?Y.dotActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function aa({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Y.indicatorLines,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Y.line,i===n?Y.lineActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function oa({children:n,orientation:r=`horizontal`,spacing:i=0,loop:a=!1,onPageChanged:o,page:s,className:c,...l}){let u=(0,t.useRef)(null),d=t.Children.count(n),[f,p]=(0,t.useState)(0),m=s!==void 0,h=m?s:f;(0,t.useEffect)(()=>{m&&g(s,`smooth`)},[s]);let g=(0,t.useCallback)((e,t=`smooth`)=>{let n=u.current;n&&(r===`horizontal`?n.scrollTo({left:n.clientWidth*e,behavior:t}):n.scrollTo({top:n.clientHeight*e,behavior:t}))},[r]);(0,t.useEffect)(()=>{let e=u.current;if(!e)return;let t=()=>{Array.from(e.children);let t=r===`horizontal`?e.clientWidth:e.clientHeight,n=r===`horizontal`?e.scrollLeft:e.scrollTop,i=Math.round(n/(t||1)),a=Math.max(0,Math.min(i,d-1));m||p(a),o?.(a)};return e.addEventListener(`scroll`,t,{passive:!0}),()=>e.removeEventListener(`scroll`,t)},[r,d,m,o]);let _=(0,t.useCallback)(e=>{let t=r===`horizontal`?e.key===`ArrowRight`:e.key===`ArrowDown`,n=r===`horizontal`?e.key===`ArrowLeft`:e.key===`ArrowUp`;if(t){e.preventDefault();let t=a?(h+1)%d:Math.min(h+1,d-1);g(t),m||p(t),o?.(t)}else if(n){e.preventDefault();let t=a?(h-1+d)%d:Math.max(h-1,0);g(t),m||p(t),o?.(t)}},[h,d,a,r,g,m,o]),v=r===`horizontal`;return(0,e.jsx)(`div`,{ref:u,role:`region`,"aria-roledescription":`carousel`,tabIndex:0,className:[Y.carousel,v?Y.horizontal:Y.vertical,c].filter(Boolean).join(` `),style:v?{columnGap:i||void 0}:{rowGap:i||void 0},onKeyDown:_,...l,children:t.Children.map(n,(t,n)=>(0,e.jsx)(`div`,{className:Y.slide,role:`group`,"aria-roledescription":`slide`,"aria-label":`${n+1} of ${d}`,children:t},n))})}function sa({children:t,...n}){return(0,e.jsx)(`div`,{...n,children:t})}var ca={content:`_content_1xkwk_3`,icon:`_icon_1xkwk_9`,label:`_label_1xkwk_15`};function la({icon:t,label:n,iconPosition:r=`start`,className:i,...a}){return(0,e.jsxs)(`span`,{className:[ca.content,r===`end`?ca.iconEnd:null,i].filter(Boolean).join(` `),...a,children:[t&&r===`start`&&(0,e.jsx)(`span`,{className:ca.icon,"aria-hidden":`true`,children:t}),(0,e.jsx)(`span`,{className:ca.label,children:n}),t&&r===`end`&&(0,e.jsx)(`span`,{className:ca.icon,"aria-hidden":`true`,children:t})]})}var ua={label:`_label_h3znl_3`,key:`_key_h3znl_9`},da={ctrl:`⌃`,control:`⌃`,shift:`⇧`,alt:`⌥`,option:`⌥`,super:`⊞`,win:`⊞`,cmd:`⌘`,command:`⌘`,meta:`⌘`,up:`↑`,down:`↓`,left:`←`,right:`→`,enter:`↵`,return:`↵`,backspace:`⌫`,delete:`⌦`,escape:`⎋`,esc:`⎋`,tab:`⇥`,space:`␣`,pageup:`⇞`,pagedown:`⇟`,home:`⇱`,end:`⇲`};function fa({shortcut:t,symbols:n=!0,className:r,...i}){let a=t.split(`+`).map(e=>e.trim()).filter(Boolean);return(0,e.jsx)(`span`,{className:[ua.label,r].filter(Boolean).join(` `),"aria-label":t,...i,children:a.map((t,r)=>{let i=n?da[t.toLowerCase()]??t:t;return(0,e.jsx)(`kbd`,{className:ua.key,children:i},r)})})}var pa={toolbarView:`_toolbarView_134hf_3`,top:`_top_134hf_11`,content:`_content_134hf_16`,bottom:`_bottom_134hf_23`};function ma({topBar:t,bottomBar:n,children:r,className:i,...a}){return(0,e.jsxs)(`div`,{className:[pa.toolbarView,i].filter(Boolean).join(` `),...a,children:[t&&(0,e.jsx)(`div`,{className:pa.top,children:t}),(0,e.jsx)(`div`,{className:pa.content,children:r}),n&&(0,e.jsx)(`div`,{className:pa.bottom,children:n})]})}var ha={windowTitle:`_windowTitle_zm877_3`,title:`_title_zm877_11`,subtitle:`_subtitle_zm877_24`};function ga({title:t,subtitle:n,className:r,...i}){return(0,e.jsxs)(`div`,{className:[ha.windowTitle,r].filter(Boolean).join(` `),...i,children:[(0,e.jsx)(`span`,{className:ha.title,children:t}),n&&(0,e.jsx)(`span`,{className:ha.subtitle,children:n})]})}var _a={group:`_group_17s4f_3`,header:`_header_17s4f_11`,headerText:`_headerText_17s4f_17`,title:`_title_17s4f_25`,description:`_description_17s4f_33`,suffix:`_suffix_17s4f_42`,content:`_content_17s4f_48`};function va({title:t,description:n,headerSuffix:r,children:i,className:a,...o}){let s=t||n||r;return(0,e.jsxs)(`div`,{className:[_a.group,a].filter(Boolean).join(` `),...o,children:[s&&(0,e.jsxs)(`div`,{className:_a.header,children:[(0,e.jsxs)(`div`,{className:_a.headerText,children:[t&&(0,e.jsx)(`span`,{className:_a.title,children:t}),n&&(0,e.jsx)(`span`,{className:_a.description,children:n})]}),r&&(0,e.jsx)(`div`,{className:_a.suffix,children:r})]}),(0,e.jsx)(`div`,{className:_a.content,children:i})]})}var ya={page:`_page_gt42j_3`,inner:`_inner_gt42j_10`};function ba({title:t,iconName:n,children:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[ya.page,i].filter(Boolean).join(` `),role:`tabpanel`,...a,children:(0,e.jsx)(`div`,{className:ya.inner,children:r})})}var xa=`_backdrop_1u1bd_3`,Sa=`_dialog_1u1bd_26`,Ca=`_dialogMulti_1u1bd_46`,wa=`_header_1u1bd_63`,Ta=`_closeBtn_1u1bd_73`,Ea=`_title_1u1bd_102`,Da=`_searchWrap_1u1bd_112`,Oa=`_searchInput_1u1bd_116`,ka=`_body_1u1bd_143`,Aa=`_sidebar_1u1bd_152`,ja=`_navList_1u1bd_160`,Ma=`_navItem_1u1bd_169`,Na=`_navItemActive_1u1bd_190`,Pa=`_navIcon_1u1bd_205`,Fa=`_navLabel_1u1bd_211`,Ia=`_pageWrap_1u1bd_221`,X={backdrop:xa,"backdrop-in":`_backdrop-in_1u1bd_1`,dialog:Sa,"dialog-in":`_dialog-in_1u1bd_1`,dialogMulti:Ca,header:wa,closeBtn:Ta,title:Ea,searchWrap:Da,searchInput:Oa,body:ka,sidebar:Aa,navList:ja,navItem:Ma,navItemActive:Na,navIcon:Pa,navLabel:Fa,pageWrap:Ia},La=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Ra(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(La)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}function za({open:r,onClose:i,children:a,searchable:o=!0,className:s,...c}){let l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useId)(),f=t.Children.toArray(a).filter(e=>(0,t.isValidElement)(e)),[p,m]=(0,t.useState)(0),[h,g]=(0,t.useState)(``);(0,t.useEffect)(()=>{if(r){m(0),g(``);let e=requestAnimationFrame(()=>{o&&u.current?u.current.focus():(l.current?.querySelector(La))?.focus()});return()=>cancelAnimationFrame(e)}},[r,o]);let _=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.stopPropagation(),i();return}Ra(e,l)},[i]),v=f.length>1,y=f[p]??f[0],b=h.trim().toLowerCase();return r?(0,n.createPortal)((0,e.jsx)(`div`,{className:X.backdrop,onClick:e=>{e.target===e.currentTarget&&i()},role:`presentation`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":d,className:[X.dialog,v?X.dialogMulti:null,s].filter(Boolean).join(` `),onKeyDown:_,...c,children:[(0,e.jsxs)(`div`,{className:X.header,children:[(0,e.jsx)(`button`,{type:`button`,className:X.closeBtn,onClick:i,"aria-label":`Close preferences`,children:`✕`}),(0,e.jsx)(`span`,{id:d,className:X.title,children:`Preferences`}),o&&(0,e.jsx)(`div`,{className:X.searchWrap,children:(0,e.jsx)(`input`,{ref:u,type:`search`,placeholder:`Search…`,value:h,onChange:e=>g(e.target.value),className:X.searchInput,"aria-label":`Search preferences`})})]}),(0,e.jsxs)(`div`,{className:X.body,children:[v&&(0,e.jsx)(`nav`,{className:X.sidebar,"aria-label":`Preferences pages`,children:(0,e.jsx)(`ul`,{role:`tablist`,className:X.navList,children:f.map((t,n)=>(0,e.jsx)(`li`,{role:`presentation`,children:(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":n===p,className:[X.navItem,n===p?X.navItemActive:null].filter(Boolean).join(` `),onClick:()=>m(n),children:[t.props.iconName&&(0,e.jsx)(`span`,{className:[X.navIcon,`icon`,t.props.iconName].join(` `),"aria-hidden":`true`}),(0,e.jsx)(`span`,{className:X.navLabel,children:t.props.title})]})},n))})}),(0,e.jsx)(`div`,{className:X.pageWrap,children:y&&(0,t.cloneElement)(y,{"data-search-query":b||void 0})})]})]})}),document.body):null}var Z={vertical:`_vertical_12mfk_12`,item:`_item_12mfk_18`,leading:`_leading_12mfk_25`,nodeTrack:`_nodeTrack_12mfk_32`,content:`_content_12mfk_41`,horizontal:`_horizontal_12mfk_65`,node:`_node_12mfk_32`,nodeDot:`_nodeDot_12mfk_114`,nodeWithIcon:`_nodeWithIcon_12mfk_121`,iconWrap:`_iconWrap_12mfk_128`,lineInvisible:`_lineInvisible_12mfk_139`,line:`_line_12mfk_139`,lineDotted:`_lineDotted_12mfk_153`};function Ba({items:t,orientation:n=`vertical`,variant:r=`default`,className:i,...a}){let o=n===`horizontal`,s=r!==`none`;return(0,e.jsx)(`div`,{role:`list`,className:[Z.root,o?Z.horizontal:Z.vertical,i].filter(Boolean).join(` `),...a,children:t.map((n,i)=>{let a=i===0,c=i===t.length-1,l=[Z.line,r===`dotted`?Z.lineDotted:null].filter(Boolean).join(` `),u=(0,e.jsx)(`div`,{className:[Z.node,n.icon?Z.nodeWithIcon:Z.nodeDot].filter(Boolean).join(` `),children:n.icon&&(0,e.jsx)(`span`,{className:Z.iconWrap,"aria-hidden":`true`,children:n.icon})});return(0,e.jsxs)(`div`,{role:`listitem`,className:Z.item,children:[(0,e.jsx)(`div`,{className:Z.leading,children:n.leading}),o?(0,e.jsxs)(`div`,{className:Z.nodeTrack,children:[(0,e.jsx)(`div`,{className:[Z.line,r===`dotted`?Z.lineDotted:null,a||!s?Z.lineInvisible:null].filter(Boolean).join(` `),"aria-hidden":`true`}),u,(0,e.jsx)(`div`,{className:[Z.line,r===`dotted`?Z.lineDotted:null,c||!s?Z.lineInvisible:null].filter(Boolean).join(` `),"aria-hidden":`true`})]}):(0,e.jsxs)(`div`,{className:Z.nodeTrack,children:[u,!c&&s&&(0,e.jsx)(`div`,{className:l,"aria-hidden":`true`})]}),(0,e.jsx)(`div`,{className:Z.content,children:n.content})]},i)})})}var Va={pathBar:`_pathBar_1n4ev_3`,list:`_list_1n4ev_12`,item:`_item_1n4ev_25`,separator:`_separator_1n4ev_33`,segment:`_segment_1n4ev_44`,current:`_current_1n4ev_81`,icon:`_icon_1n4ev_98`};function Ha({segments:t,onNavigate:n,className:r,...i}){return(0,e.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:[Va.pathBar,r].filter(Boolean).join(` `),...i,children:(0,e.jsx)(`ol`,{className:Va.list,"aria-label":`Path segments`,children:t.map((r,i)=>{let a=i===t.length-1;return(0,e.jsxs)(`li`,{className:Va.item,children:[i>0&&(0,e.jsx)(`span`,{className:Va.separator,"aria-hidden":`true`,children:(0,e.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 2l4 4-4 4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),a?(0,e.jsxs)(`span`,{className:Va.current,"aria-current":`page`,children:[r.icon&&(0,e.jsx)(`span`,{className:Va.icon,"aria-hidden":`true`,children:r.icon}),r.label]}):(0,e.jsxs)(`button`,{type:`button`,className:Va.segment,onClick:()=>n?.(r.path,i),children:[r.icon&&(0,e.jsx)(`span`,{className:Va.icon,"aria-hidden":`true`,children:r.icon}),r.label]})]},r.path)})})})}var Q={wrapper:`_wrapper_1upmq_1`,svg:`_svg_1upmq_10`,label:`_label_1upmq_15`,cell:`_cell_1upmq_23`,tooltip:`_tooltip_1upmq_58`,legend:`_legend_1upmq_74`,legendLabel:`_legendLabel_1upmq_81`,legendCell:`_legendCell_1upmq_89`},Ua=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Wa=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],Ga=28,Ka=20,qa=[`var(--gnome-card-shade-color, rgba(0,0,0,0.07))`,`var(--gnome-green-1, #8ff0a4)`,`var(--gnome-green-2, #57e389)`,`var(--gnome-green-4, #2ec27e)`,`var(--gnome-green-5, #26a269)`];function Ja(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function Ya(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)}function Xa(e){return Ya(e).toLocaleDateString(`en-US`,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`})}function Za({data:n,maxLevel:r=4,colorScale:i,cellSize:a=12,cellGap:o=3,weekStartDay:s=1,showMonthLabels:c=!0,showDayLabels:l=!0,showLegend:u=!0,weeks:d=52,ariaLabel:f=`Contribution graph`,onDayClick:p,tooltipContent:m,className:h}){let g=a+o,_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=i??qa,[b,x]=(0,t.useState)({col:0,row:0}),[S,C]=(0,t.useState)(null),w=(0,t.useMemo)(()=>{let e=new Map;for(let t of n)e.set(t.date,t.count);return e},[n]),T=(0,t.useMemo)(()=>Math.max(1,...n.map(e=>e.count)),[n]),{grid:E,monthLabels:D}=(0,t.useMemo)(()=>{let e=new Date;e.setHours(0,0,0,0);let t=(e.getDay()-s+7)%7,n=new Date(e);n.setDate(e.getDate()-t);let i=new Date(n);i.setDate(n.getDate()-(d-1)*7);let a=[],o=[],c=-1;for(let t=0;t<d;t++){let n=new Date(i);n.setDate(i.getDate()+t*7),n.getMonth()!==c&&(o.push({col:t,month:Ua[n.getMonth()]}),c=n.getMonth());let s=[];for(let n=0;n<7;n++){let a=new Date(i);a.setDate(i.getDate()+t*7+n);let o=a>e,c=Ja(a),l=o?0:w.get(c)??0,u=l===0?0:Math.min(r,Math.ceil(l/T*r));s.push({iso:c,count:l,level:u,future:o})}a.push(s)}return{grid:a,monthLabels:o}},[w,T,r,d,s]),O=(0,t.useMemo)(()=>[1,3,5].map(e=>({row:(e-s+7)%7,label:Wa[e]})),[s]),k=l?Ga:0,A=c?Ka:0,ee=k+d*g-o,te=A+7*g-o,ne=Math.min(4,Math.floor(a/3));function j(e,t){let n=Math.max(0,Math.min(d-1,e)),r=Math.max(0,Math.min(6,t));x({col:n,row:r}),_.current?.querySelector(`[data-col="${n}"][data-row="${r}"]`)?.focus()}function re(e,t,n){let r={ArrowRight:[t+1,n],ArrowLeft:[t-1,n],ArrowDown:[t,n+1],ArrowUp:[t,n-1]};if(r[e.key])e.preventDefault(),j(...r[e.key]);else if(e.key===`Enter`||e.key===` `){e.preventDefault();let r=E[t]?.[n];r&&!r.future&&p?.({date:r.iso,count:r.count})}}function ie(e,t){let n=v.current;if(!n)return;let r=n.getBoundingClientRect(),i=e.currentTarget.getBoundingClientRect();C({x:i.left-r.left+a/2,y:i.top-r.top,text:t})}function ae(e){return e.future?y[0]:y[Math.min(e.level,y.length-1)]??y[y.length-1]}function oe(e){return e.future?Xa(e.iso):m?.({date:e.iso,count:e.count})??`${e.count} contribution${e.count===1?``:`s`} on ${Xa(e.iso)}`}return(0,e.jsxs)(`div`,{ref:v,className:[Q.wrapper,h].filter(Boolean).join(` `),children:[(0,e.jsxs)(`svg`,{ref:_,width:ee,height:te,className:Q.svg,"aria-label":f,role:`img`,children:[c&&D.map(({col:t,month:n})=>(0,e.jsx)(`text`,{x:k+t*g,y:12,className:Q.label,children:n},`m-${t}`)),l&&O.map(({row:t,label:n})=>(0,e.jsx)(`text`,{x:0,y:A+t*g+a-1,className:Q.label,children:n},`d-${t}`)),(0,e.jsx)(`g`,{role:`grid`,"aria-label":f,children:E.map((t,n)=>(0,e.jsx)(`g`,{role:`row`,children:t.map((t,r)=>{let i=oe(t),o=b.col===n&&b.row===r;return(0,e.jsx)(`rect`,{"data-col":n,"data-row":r,x:k+n*g,y:A+r*g,width:a,height:a,rx:ne,fill:ae(t),opacity:t.future?.35:1,className:Q.cell,role:`gridcell`,"aria-label":i,"aria-disabled":t.future||void 0,tabIndex:o?0:-1,onClick:()=>!t.future&&p?.({date:t.iso,count:t.count}),onKeyDown:e=>re(e,n,r),onFocus:()=>x({col:n,row:r}),onMouseEnter:e=>ie(e,i),onMouseLeave:()=>C(null)},`${n}-${r}`)})},n))})]}),S&&(0,e.jsx)(`div`,{className:Q.tooltip,style:{left:S.x,top:S.y},role:`tooltip`,children:S.text}),u&&(0,e.jsxs)(`div`,{className:Q.legend,children:[(0,e.jsx)(`span`,{className:Q.legendLabel,children:`Less`}),Array.from({length:r+1},(t,n)=>(0,e.jsx)(`svg`,{width:a,height:a,"aria-hidden":`true`,className:Q.legendCell,children:(0,e.jsx)(`rect`,{width:a,height:a,rx:ne,fill:y[Math.min(n,y.length-1)]})},n)),(0,e.jsx)(`span`,{className:Q.legendLabel,children:`More`})]})]})}var $={outer:`_outer_1pg3h_3`,scroll:`_scroll_1pg3h_13`,table:`_table_1pg3h_20`,thead:`_thead_1pg3h_28`,th:`_th_1pg3h_28`,headerLabel:`_headerLabel_1pg3h_48`,sortBtn:`_sortBtn_1pg3h_55`,sortBtnActive:`_sortBtnActive_1pg3h_84`,sortActive:`_sortActive_1pg3h_89`,sortNeutral:`_sortNeutral_1pg3h_93`,tbody:`_tbody_1pg3h_99`,row:`_row_1pg3h_105`,rowSelectable:`_rowSelectable_1pg3h_114`,rowSelected:`_rowSelected_1pg3h_126`,td:`_td_1pg3h_144`,alignStart:`_alignStart_1pg3h_156`,alignCenter:`_alignCenter_1pg3h_160`,alignEnd:`_alignEnd_1pg3h_164`,checkboxCol:`_checkboxCol_1pg3h_170`,checkbox:`_checkbox_1pg3h_170`,emptyCell:`_emptyCell_1pg3h_186`,emptyLabel:`_emptyLabel_1pg3h_191`},Qa={start:$.alignStart,center:$.alignCenter,end:$.alignEnd};function $a({direction:t}){return(0,e.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 10 10`,"aria-hidden":`true`,className:t?$.sortActive:$.sortNeutral,children:t===`asc`?(0,e.jsx)(`path`,{d:`M5 2 L9 8 L1 8 Z`,fill:`currentColor`}):t===`desc`?(0,e.jsx)(`path`,{d:`M5 8 L1 2 L9 2 Z`,fill:`currentColor`}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`path`,{d:`M5 1 L8 5 L2 5 Z`,fill:`currentColor`,opacity:`0.4`}),(0,e.jsx)(`path`,{d:`M5 9 L2 5 L8 5 Z`,fill:`currentColor`,opacity:`0.4`})]})})}function eo({columns:n,rows:r,rowKey:i,selectionMode:a=`none`,selectedRows:o=[],onSelectionChange:s,sortState:c,onSort:l,height:u,emptyState:d,className:f,ariaLabel:p}){let m=(0,t.useRef)(null),[h,g]=(0,t.useState)(0),_=new Set(o),v=a===`multiple`,y=n.length+(v?1:0);function b(e){l&&l(e,c?.columnId===e&&c.direction===`asc`?`desc`:`asc`)}function x(e){if(!(a===`none`||!s))if(a===`single`)s(_.has(e)?[]:[e]);else{let t=new Set(_);t.has(e)?t.delete(e):t.add(e),s([...t])}}function S(e,t,n){let i=m.current?.querySelectorAll(`tr`)??[];if(e.key===`ArrowDown`){e.preventDefault();let n=Math.min(r.length-1,t+1);g(n),i[n]?.focus()}else if(e.key===`ArrowUp`){e.preventDefault();let n=Math.max(0,t-1);g(n),i[n]?.focus()}else (e.key===` `||e.key===`Enter`)&&(e.preventDefault(),x(n))}function C(e){s&&s(e?r.map(i):[])}let w=u?{height:typeof u==`number`?`${u}px`:u}:{};return(0,e.jsx)(`div`,{className:[$.outer,f].filter(Boolean).join(` `),children:(0,e.jsx)(`div`,{className:$.scroll,style:w,children:(0,e.jsxs)(`table`,{className:$.table,role:`grid`,"aria-label":p,"aria-multiselectable":a===`multiple`||void 0,children:[(0,e.jsx)(`thead`,{className:$.thead,children:(0,e.jsxs)(`tr`,{children:[v&&(0,e.jsx)(`th`,{className:[$.th,$.checkboxCol].join(` `),children:(0,e.jsx)(`input`,{type:`checkbox`,className:$.checkbox,checked:r.length>0&&o.length===r.length,ref:e=>{e&&(e.indeterminate=o.length>0&&o.length<r.length)},onChange:e=>C(e.target.checked),"aria-label":`Select all rows`})}),n.map(t=>{let n=c?.columnId===t.id;return(0,e.jsx)(`th`,{className:[$.th,t.align?Qa[t.align]:null].filter(Boolean).join(` `),style:t.width?{width:t.width}:void 0,"aria-sort":n?c.direction===`asc`?`ascending`:`descending`:t.sortable?`none`:void 0,children:t.sortable&&l?(0,e.jsxs)(`button`,{type:`button`,className:[$.sortBtn,n?$.sortBtnActive:null].filter(Boolean).join(` `),onClick:()=>b(t.id),children:[(0,e.jsx)(`span`,{children:t.header}),(0,e.jsx)($a,{direction:n?c.direction:null})]}):(0,e.jsx)(`span`,{className:$.headerLabel,children:t.header})},t.id)})]})}),(0,e.jsx)(`tbody`,{ref:m,className:$.tbody,children:r.length===0?(0,e.jsx)(`tr`,{children:(0,e.jsx)(`td`,{colSpan:y,className:$.emptyCell,children:d??(0,e.jsx)(`span`,{className:$.emptyLabel,children:`No items`})})}):r.map((t,r)=>{let o=i(t),s=_.has(o);return(0,e.jsxs)(`tr`,{className:[$.row,s?$.rowSelected:null,a===`none`?null:$.rowSelectable].filter(Boolean).join(` `),role:`row`,"aria-selected":a===`none`?void 0:s,tabIndex:h===r?0:-1,onClick:()=>x(o),onKeyDown:e=>S(e,r,o),onFocus:()=>g(r),children:[v&&(0,e.jsx)(`td`,{className:[$.td,$.checkboxCol].join(` `),children:(0,e.jsx)(`input`,{type:`checkbox`,className:$.checkbox,checked:s,onChange:()=>x(o),onClick:e=>e.stopPropagation(),tabIndex:-1,"aria-label":`Select row ${r+1}`})}),n.map(n=>(0,e.jsx)(`td`,{className:[$.td,n.align?Qa[n.align]:null].filter(Boolean).join(` `),role:`gridcell`,children:n.cell(t,r)},n.id))]},o)})})]})})})}exports.ActionRow=Dt,exports.Avatar=D,exports.Badge=we,exports.Banner=ve,exports.Bin=sa,exports.Blockquote=i,exports.BottomSheet=ra,exports.Box=ur,exports.BoxedList=kt,exports.BreakpointBin=Vr,exports.Button=o,exports.ButtonContent=la,exports.ButtonRow=Ur,exports.Card=b,exports.Carousel=oa,exports.CarouselIndicatorDots=ia,exports.CarouselIndicatorLines=aa,exports.CheckRow=si,exports.Checkbox=ne,exports.Chip=mr,exports.Clamp=Qn,exports.ColumnView=eo,exports.ComboRow=Ai,exports.ContributionGraph=Za,exports.Dialog=Sn,exports.Dropdown=Vn,exports.EntryRow=ji,exports.ExpanderRow=$r,exports.Footer=Se,exports.Frame=Qr,exports.GNOME_BREAKPOINTS=Fe,exports.HeaderBar=be,exports.Icon=M,exports.InlineViewSwitcher=ri,exports.InlineViewSwitcherItem=ii,exports.Link=ir,exports.LinkedGroup=Xr,exports.NavigationPage=qi,exports.NavigationSplitView=$n,exports.NavigationView=Ji,exports.OverlaySplitView=er,exports.PasswordEntryRow=Ni,exports.PathBar=Ha,exports.Popover=Xn,exports.PreferencesDialog=za,exports.PreferencesGroup=va,exports.PreferencesPage=ba,exports.ProgressBar=se,exports.RadioButton=ae,exports.SearchBar=Me,exports.Separator=k,exports.ShortcutLabel=fa,exports.ShortcutsDialog=Fr,exports.Sidebar=pt,exports.SidebarCollapsedContext=ct,exports.SidebarItem=yt,exports.SidebarSection=mt,exports.Slider=Gn,exports.Spacer=Jr,exports.SpinButton=Ct,exports.SpinRow=Ii,exports.Spinner=S,exports.SplitButton=Gr,exports.StatusPage=Pe,exports.Switch=ee,exports.SwitchRow=oi,exports.TabBar=wt,exports.TabItem=Tt,exports.TabPanel=Et,exports.Text=g,exports.TextField=re,exports.Timeline=Ba,exports.Toast=Ht,exports.Toaster=Ut,exports.ToggleGroup=cr,exports.ToggleGroupItem=lr,exports.Toolbar=qr,exports.ToolbarView=ma,exports.Tooltip=vt,exports.ViewSwitcher=jt,exports.ViewSwitcherBar=nr,exports.ViewSwitcherItem=Mt,exports.ViewSwitcherSidebar=zr,exports.ViewSwitcherSidebarItem=Br,exports.WindowTitle=ga,exports.WrapBox=fr,exports.useBreakpoint=Ie,exports.useNavigation=Ki,exports.useSidebarCollapsed=lt;
2
2
  //# sourceMappingURL=index.cjs.map