@baseline-ui/core 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Acknowledgements.md +2616 -426
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
21
21
|
overscroll-behavior: contain;
|
|
22
22
|
}
|
|
23
23
|
}`.trim(),document.head.prepend(o);let n=s=>{if(!(s.touches.length===2||t)){if(!e||e===document.documentElement||e===document.body){s.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&s.preventDefault();}},i=s=>{let u=s.target,c=s.relatedTarget;c&&zl(c)?(c.focus({preventScroll:true}),ZT(c,zl(u))):c||u.parentElement?.closest("[tabindex]")?.focus({preventScroll:true});},a=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(s){let u=document.activeElement!=null&&zl(document.activeElement);a.call(this,{...s,preventScroll:true}),(!s||!s.preventScroll)&&ZT(this,u);};let l=Ve(Ny(document,"touchstart",r,{passive:false,capture:true}),Ny(document,"touchmove",n,{passive:false,capture:true}),Ny(document,"blur",i,true));return ()=>{l(),o.remove(),HTMLElement.prototype.focus=a;}}function Ay(e,t,r){let o=e.style[t];return e.style[t]=r,()=>{e.style[t]=o;}}function Ny(e,t,r,o){return e.addEventListener(t,r,o),()=>{e.removeEventListener(t,r,o);}}function ZT(e,t){let r=j(e),o=typeof document<"u"&&r.visualViewport;t||!o?JT(e):o.addEventListener("resize",()=>JT(e),{once:true});}function JT(e){let t=H(e),r=t.scrollingElement||t.documentElement,o=e;for(;o&&o!==r;){let n=mt(o);if(n!==t.documentElement&&n!==t.body&&n!==o){let i=n.getBoundingClientRect(),a=o.getBoundingClientRect();if(a.top<i.top||a.bottom>i.top+o.clientHeight){let l=i.bottom;visualViewport&&(l=Math.min(l,visualViewport.offsetTop+visualViewport.height));let s=a.top-i.top-((l-i.top)/2-a.height/2);n.scrollTo({top:Math.max(0,Math.min(n.scrollHeight-n.clientHeight,n.scrollTop+s)),behavior:"smooth"});}}o=n.parentElement;}}var MO=createContext({});function Oy(){return useContext(MO)??{}}var QT={"ar-AE":{dismiss:"\u062A\u062C\u0627\u0647\u0644"},"bg-BG":{dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xDFen"},"el-GR":{dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"L\xF5peta"},"fi-FI":{dismiss:"Hylk\xE4\xE4"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xEDt\xE1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"\u9589\u3058\u308B"},"ko-KR":{dismiss:"\uBB34\uC2DC"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"Ner\u0101d\u012Bt"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"},"sk-SK":{dismiss:"Zru\u0161i\u0165"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"},"zh-CN":{dismiss:"\u53D6\u6D88"},"zh-TW":{dismiss:"\u95DC\u9589"}};var eP={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function ur(e={}){let{style:t,isFocusable:r}=e,[o,n]=useState(false),{focusWithinProps:i}=je({isDisabled:!r,onFocusWithinChange:l=>n(l)}),a=useMemo(()=>o?t:t?{...eP,...t}:eP,[o]);return {visuallyHiddenProps:{...i,style:a}}}function Le(e){let{children:t,elementType:r="div",isFocusable:o,style:n,...i}=e,{visuallyHiddenProps:a}=ur(e);return jsx(r,{...R(i,a),children:t})}function as(e){let{onDismiss:t,...r}=e,o=xe(QT,"@react-aria/overlays"),n=lt(r,o.format("dismiss"));return jsx(Le,{children:jsx("button",{...n,tabIndex:-1,onClick:()=>{t&&t();},style:{width:1,height:1}})})}var FO=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,ls=new WeakMap,Zt=[];function rP(e,t){let r=[];(t instanceof Element||t instanceof DocumentFragment)&&r.push(...Array.from(t.querySelectorAll(e)));for(let o of Array.from(t.children||[]))o.shadowRoot&&r.push(...rP(e,o.shadowRoot));return r}function go(e,t){let r=j(e?.[0]),o=t instanceof r.Element?{root:t}:t,n=o?.root??document.body,i=o?.shouldUseInert&&FO,a=new Set(e),l=new Set,s=H(e?.[0]),u=f=>i&&f instanceof r.HTMLElement?f.inert:f.getAttribute("aria-hidden")==="true",c=(f,h)=>{i&&f instanceof r.HTMLElement?f.inert=h:h?f.setAttribute("aria-hidden","true"):(f.removeAttribute("aria-hidden"),f instanceof r.HTMLElement&&(f.inert=false));},d=f=>{for(let x of rP("[data-live-announcer], [data-react-aria-top-layer]",f))a.add(x);let h=x=>{if(l.has(x)||a.has(x)||x.parentElement&&l.has(x.parentElement)&&x.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let T of a)if(se(x,T))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},v=s.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,{acceptNode:h}),g=h(f);if(g===NodeFilter.FILTER_ACCEPT&&p(f),g!==NodeFilter.FILTER_REJECT){let x=v.nextNode();for(;x!=null;)p(x),x=v.nextNode();}},m=f=>{let h=f;for(;h;){let v=h.getRootNode();if(v instanceof ShadowRoot){d(v);let g=v.host;g.parentElement&&d(g.parentElement);}h=h.parentElement;}},p=f=>{let h=ls.get(f)??0;u(f)&&h===0||(h===0&&c(f,true),l.add(f),ls.set(f,h+1));};Zt.length&&Zt[Zt.length-1].disconnect(),d(n);for(let f of e)m(f);let y=new MutationObserver(f=>{for(let h of f)if(h.type==="childList"&&![...a,...l].some(v=>v.contains(h.target)))for(let v of h.addedNodes)(v instanceof r.HTMLElement||v instanceof r.SVGElement)&&(v.dataset.liveAnnouncer==="true"||v.dataset.reactAriaTopLayer==="true")?a.add(v):v instanceof r.Element&&d(v);});y.observe(n,{childList:true,subtree:true});let b={visibleNodes:a,hiddenNodes:l,observe(){y.observe(n,{childList:true,subtree:true});},disconnect(){y.disconnect();}};return Zt.push(b),()=>{y.disconnect();for(let f of l){let h=ls.get(f);h!=null&&(h===1?(c(f,false),ls.delete(f)):ls.set(f,h-1));}b===Zt[Zt.length-1]?(Zt.pop(),Zt.length&&Zt[Zt.length-1].observe()):Zt.splice(Zt.indexOf(b),1);}}function oP(e){let t=Zt[Zt.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e);}}function Lc(e,t){let{triggerRef:r,popoverRef:o,groupRef:n,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=e,u=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:d}=ns({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:true,isDismissable:!i||u,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},n??o),{overlayProps:m,arrowProps:p,placement:y,triggerAnchorPoint:b}=Bo({...s,targetRef:r,overlayRef:o,isOpen:t.isOpen,onClose:i&&!u?t.close:null});return is({isDisabled:i||!t.isOpen},o),useEffect(()=>{if(t.isOpen&&o.current)return i?oP(n?.current??o.current):go([n?.current??o.current],{shouldUseInert:false,root:H(o.current)?.body})},[i,t.isOpen,o,n]),{popoverProps:R(c,m),arrowProps:p,underlayProps:d,placement:y,triggerAnchorPoint:b}}var nP=Mo.createContext(null);function Mc(e){let t=wr(),{portalContainer:r=t?null:document.body,isExiting:o}=e,[n,i]=useState(false),a=useMemo(()=>({contain:n,setContain:i}),[n,i]),{getContainer:l}=Oy();if(!e.portalContainer&&l&&(r=l()),!r)return null;let s=e.children;return e.disableFocusManagement||(s=jsx(zt,{restoreFocus:true,contain:(e.shouldContainFocus||n)&&!o,ownerDocument:H(r),children:s})),s=jsx(nP.Provider,{value:a,children:jsx(Cy,{children:s})}),jO.createPortal(s,r)}function ss(){let t=useContext(nP)?.setContain;ae(()=>{t?.(true);},[t]);}function Ac(e,t,r){let{overlayProps:o,underlayProps:n}=ns({...e,isOpen:t.isOpen,onClose:t.close},r);return is({isDisabled:!t.isOpen,root:e.root},r),ss(),useEffect(()=>{if(t.isOpen&&r.current)return go([r.current],{shouldUseInert:false,root:e.root})},[t.isOpen,r,e.root]),{modalProps:R(o),underlayProps:n}}var Go=new WeakMap;function UO(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function us(e,t){let r=Go.get(e);if(!r)throw new Error("Unknown list");return `${r.id}-option-${UO(t)}`}function vt(e){let{id:t,label:r,"aria-labelledby":o,"aria-label":n,labelElementType:i="label"}=e;t=Y(t);let a=Y(),l={};r?(o=o?`${a} ${o}`:a,l={id:a,htmlFor:i==="label"?t:void 0}):!o&&!n&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=lt({id:t,"aria-label":n,"aria-labelledby":o});return {labelProps:l,fieldProps:s}}function Jt(e){let{description:t,errorMessage:r,isInvalid:o,validationState:n,ref:i}=e,{labelProps:a,fieldProps:l}=vt(e),s=St([!!t,!!r,o,n],i),u=St([!!t,!!r,o,n],i);return l=R(l,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:l,descriptionProps:{id:s},errorMessageProps:{id:u}}}function cs(e){return Sn()?e.altKey:e.ctrlKey}function Ki(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,o=e.current?.dataset.collection;return o&&(r=`[data-collection="${CSS.escape(o)}"]${r}`),e.current?.querySelector(r)}var iP=new WeakMap;function aP(e){let t=Y();return iP.set(e,t),t}function lP(e){return iP.get(e)}var qO=1e3;function ds(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:o}=e,n=useRef({search:"",timeout:void 0}).current,i=a=>{let l=XO(a.key);if(!(!l||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target)||n.search.length===0&&l===" ")){if(l===" "&&n.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),n.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(n.search,r.focusedKey);s==null&&(s=t.getKeyForSearch(n.search)),s!=null&&(r.setFocusedKey(s),o&&o(s));}clearTimeout(n.timeout),n.timeout=setTimeout(()=>{n.search="";},qO);}};return {typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:void 0}}}function XO(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ho(e){let{selectionManager:t,keyboardDelegate:r,ref:o,autoFocus:n=false,shouldFocusWrap:i=false,disallowEmptySelection:a=false,disallowSelectAll:l=false,escapeKeyBehavior:s="clearSelection",selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=false,shouldUseVirtualFocus:d,allowsTabNavigation:m=false,isVirtualized:p,scrollRef:y=o,linkBehavior:b="action"}=e,{direction:f}=J(),h=lr(),v=M=>{if(M.altKey&&M.key==="Tab"&&M.preventDefault(),!se(o.current,te(M.nativeEvent)))return;let F=(K,N)=>{if(K!=null){if(t.isLink(K)&&b==="selection"&&u&&!cs(M)){flushSync(()=>{t.setFocusedKey(K,N);});let $=Ki(o,K),A=t.getItemProps(K);$&&h.open($,M,A.href,A.routerOptions);return}if(t.setFocusedKey(K,N),t.isLink(K)&&b==="override")return;M.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(K):u&&!cs(M)&&t.replaceSelection(K);}};switch(M.key){case "ArrowDown":{if(r.getKeyBelow){let K=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();K==null&&i&&(K=r.getFirstKey?.(t.focusedKey)),K!=null&&(M.preventDefault(),F(K));}break}case "ArrowUp":{if(r.getKeyAbove){let K=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();K==null&&i&&(K=r.getLastKey?.(t.focusedKey)),K!=null&&(M.preventDefault(),F(K));}break}case "ArrowLeft":{if(r.getKeyLeftOf){let K=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):null;K==null&&i&&(K=f==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),K!=null&&(M.preventDefault(),F(K,f==="rtl"?"first":"last"));}break}case "ArrowRight":{if(r.getKeyRightOf){let K=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):null;K==null&&i&&(K=f==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),K!=null&&(M.preventDefault(),F(K,f==="rtl"?"last":"first"));}break}case "Home":if(r.getFirstKey){if(t.focusedKey===null&&M.shiftKey)return;M.preventDefault();let K=r.getFirstKey(t.focusedKey,_r(M));t.setFocusedKey(K),K!=null&&(_r(M)&&M.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(K):u&&t.replaceSelection(K));}break;case "End":if(r.getLastKey){if(t.focusedKey===null&&M.shiftKey)return;M.preventDefault();let K=r.getLastKey(t.focusedKey,_r(M));t.setFocusedKey(K),K!=null&&(_r(M)&&M.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(K):u&&t.replaceSelection(K));}break;case "PageDown":if(r.getKeyPageBelow&&t.focusedKey!=null){let K=r.getKeyPageBelow(t.focusedKey);K!=null&&(M.preventDefault(),F(K));}break;case "PageUp":if(r.getKeyPageAbove&&t.focusedKey!=null){let K=r.getKeyPageAbove(t.focusedKey);K!=null&&(M.preventDefault(),F(K));}break;case "a":_r(M)&&t.selectionMode==="multiple"&&l!==true&&(M.preventDefault(),t.selectAll());break;case "Escape":s==="clearSelection"&&!a&&t.selectedKeys.size!==0&&(M.stopPropagation(),M.preventDefault(),t.clearSelection());break;case "Tab":if(!m){if(M.shiftKey)o.current?.focus();else {let K=qe(o.current,{tabbable:true}),N,$;do $=K.lastChild(),$&&(N=$);while($);let A=H(o.current);N&&(!se(N,pe(A))||pe(A)&&!_l(pe(A)))&&Ke(N);}break}}},g=useRef({top:0,left:0});gt(y,"scroll",p?void 0:()=>{g.current={top:y.current?.scrollTop??0,left:y.current?.scrollLeft??0};});let x=M=>{if(t.isFocused){se(M.currentTarget,te(M.nativeEvent))||t.setFocused(false);return}if(se(M.currentTarget,te(M.nativeEvent))){if(t.setFocused(true),t.focusedKey==null){let F=N=>{N!=null&&(t.setFocusedKey(N),u&&!t.isSelected(N)&&t.replaceSelection(N));},K=M.relatedTarget;K&&M.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?F(t.lastSelectedKey??r.getLastKey?.()):F(t.firstSelectedKey??r.getFirstKey?.());}else !p&&y.current&&(y.current.scrollTop=g.current.top,y.current.scrollLeft=g.current.left);if(t.focusedKey!=null&&y.current){let F=Ki(o,t.focusedKey),K=j(F);F instanceof K.HTMLElement&&(!se(F,pe(K.document))&&!d&&Ke(F),ht()==="keyboard"&&sr(F,{containingElement:o.current}));}}},T=M=>{se(M.currentTarget,M.relatedTarget)||t.setFocused(false);},P=useRef(false);gt(o,wi,d?M=>{let{detail:F}=M;M.stopPropagation(),t.setFocused(true),F?.focusStrategy==="first"&&(P.current=true);}:void 0);let S=ue(()=>{let M=r.getFirstKey?.()??null;if(M==null){let F=pe();Nn(o.current),bo(F,null),t.collection.size>0&&(P.current=false);}else t.setFocusedKey(M),P.current=false;});tc(()=>{P.current&&S();},[t.collection,S]);let E=ue(()=>{t.collection.size>0&&(P.current=false);});tc(()=>{E();},[t.focusedKey,E]),gt(o,wl,d?M=>{M.stopPropagation(),t.setFocused(false),M.detail?.clearFocusKey&&t.setFocusedKey(null);}:void 0);let D=useRef(n),I=useRef(false);useEffect(()=>{if(D.current){let M=null;n==="first"&&(M=r.getFirstKey?.()??null),n==="last"&&(M=r.getLastKey?.()??null);let F=t.selectedKeys;if(F.size){for(let K of Array.from(F))if(t.canSelectItem(K)){M=K;break}}t.setFocused(true),t.setFocusedKey(M),M==null&&!d&&o.current&&We(o.current),t.collection.size>0&&(D.current=false,I.current=true);}});let C=useRef(t.focusedKey),_=useRef(null);useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==C.current||I.current)&&y.current&&o.current){let M=ht(),F=Ki(o,t.focusedKey),K=j(F);if(!(F instanceof K.HTMLElement))return;(M==="keyboard"||I.current)&&(_.current&&cancelAnimationFrame(_.current),_.current=requestAnimationFrame(()=>{y.current&&(rc(y.current,F),M!=="virtual"&&sr(F,{containingElement:o.current}));}));}!d&&t.isFocused&&t.focusedKey==null&&C.current!=null&&o.current&&We(o.current),C.current=t.focusedKey,I.current=false;}),useEffect(()=>()=>{_.current&&cancelAnimationFrame(_.current);},[]),gt(o,"react-aria-focus-scope-restore",M=>{M.preventDefault(),t.setFocused(true);});let z={onKeyDown:v,onFocus:x,onBlur:T,onMouseDown(M){y.current===te(M.nativeEvent)&&M.preventDefault();}},{typeSelectProps:w}=ds({keyboardDelegate:r,selectionManager:t});c||(z=R(w,z));let O;d||(O=t.focusedKey==null?0:-1);let k=aP(t.collection);return {collectionProps:R(z,{tabIndex:O,"data-collection":k})}}function vo(e){let{id:t,selectionManager:r,key:o,ref:n,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,m=lr();t=Y(t);let p=N=>{if(N.pointerType==="keyboard"&&cs(N))r.toggleSelection(o);else {if(r.selectionMode==="none")return;if(r.isLink(o)){if(d==="selection"&&n.current){let $=r.getItemProps(o);m.open(n.current,N,$.href,$.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(d==="override"||d==="none")return}r.selectionMode==="single"?r.isSelected(o)&&!r.disallowEmptySelection?r.toggleSelection(o):r.replaceSelection(o):N&&N.shiftKey?r.extendSelection(o):r.selectionBehavior==="toggle"||N&&(_r(N)||N.pointerType==="touch"||N.pointerType==="virtual")?r.toggleSelection(o):r.replaceSelection(o);}};useEffect(()=>{o===r.focusedKey&&r.isFocused&&(a?Nn(n.current):l?l():pe(H(n.current))!==n.current&&n.current&&We(n.current));},[n,o,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),s=s||r.isDisabled(o);let y={};!a&&!s?y={tabIndex:o===r.focusedKey?0:-1,onFocus(N){N.target===n.current&&r.setFocusedKey(o);}}:s&&(y.onMouseDown=N=>{N.preventDefault();});let b=r.isLink(o)&&d==="override",f=u&&e.UNSTABLE_itemBehavior==="action",h=r.isLink(o)&&d!=="selection"&&d!=="none",v=!s&&r.canSelectItem(o)&&!b&&!f,g=(u||h)&&!s,x=g&&(r.selectionBehavior==="replace"?!v:!v||r.isEmpty),T=g&&v&&r.selectionBehavior==="replace",P=x||T,S=useRef(null),E=P&&v,D=useRef(false),I=useRef(false),C=r.getItemProps(o),_=N=>{u&&(u(),n.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:true}))),h&&n.current&&m.open(n.current,N,C.href,C.routerOptions);},z={ref:n};if(i?(z.onPressStart=N=>{S.current=N.pointerType,D.current=E,N.pointerType==="keyboard"&&(!P||uP())&&p(N);},c?(z.onPressUp=x?void 0:N=>{N.pointerType==="mouse"&&v&&p(N);},z.onPress=x?_:N=>{N.pointerType!=="keyboard"&&N.pointerType!=="mouse"&&v&&p(N);}):z.onPress=N=>{if(x||T&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!sP())return;_(N);}else N.pointerType!=="keyboard"&&v&&p(N);}):(z.onPressStart=N=>{S.current=N.pointerType,D.current=E,I.current=x,v&&(N.pointerType==="mouse"&&!x||N.pointerType==="keyboard"&&(!g||uP()))&&p(N);},z.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&P&&sP()||N.pointerType==="mouse"&&I.current)&&(P?_(N):v&&p(N));}),y["data-collection"]=lP(r.collection),y["data-key"]=o,z.preventFocusOnPress=a,a&&(z=R(z,{onPressStart(N){N.pointerType!=="touch"&&(r.setFocused(true),r.setFocusedKey(o));},onPress(N){N.pointerType==="touch"&&(r.setFocused(true),r.setFocusedKey(o));}})),C)for(let N of ["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])C[N]&&(z[N]=Ve(z[N],C[N]));let{pressProps:w,isPressed:O}=Se(z),k=T?N=>{S.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),_(N));}:void 0,{longPressProps:M}=Ni({isDisabled:!E,onLongPress(N){N.pointerType==="touch"&&(p(N),r.setSelectionBehavior("toggle"));}}),F=N=>{S.current==="touch"&&D.current&&N.preventDefault();},K=d!=="none"&&r.isLink(o)?N=>{Vr.isOpening||N.preventDefault();}:void 0;return {itemProps:R(y,v||x||a&&!s?w:{},E?M:{},{onDoubleClick:k,onDragStartCapture:F,onClick:K,id:t},a?{onMouseDown:N=>N.preventDefault()}:void 0),isPressed:O,isSelected:r.isSelected(o),isFocused:r.isFocused&&r.focusedKey===o,isDisabled:s,allowsSelection:v,hasAction:P}}function sP(){return window.event?.key==="Enter"}function uP(){let e=window.event;return e?.key===" "||e?.code==="Space"}var Uo=class{ref;constructor(t){this.ref=t;}getItemRect(t){let r=this.ref.current;if(!r)return null;let o=t!=null?Ki(this.ref,t):null;if(!o)return null;let n=r.getBoundingClientRect(),i=o.getBoundingClientRect();return {x:i.left-n.left-r.clientLeft+r.scrollLeft,y:i.top-n.top-r.clientTop+r.scrollTop,width:i.width,height:i.height}}getContentSize(){let t=this.ref.current;return {width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return {x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var ct=class{collection;disabledKeys;disabledBehavior;ref;collator;layout;orientation;direction;layoutDelegate;constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new Uo(r.ref);}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Uo(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0);}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))}findNextNonDisabled(t,r){let o=t;for(;o!=null;){let n=this.collection.getItem(o);if(n?.type==="item"&&!this.isDisabled(n))return o;o=r(o);}return null}getNextKey(t){let r=t;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,o=>this.collection.getKeyAfter(o))}getPreviousKey(t){let r=t;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,o=>this.collection.getKeyBefore(o))}findKey(t,r,o){let n=t,i=this.layoutDelegate.getItemRect(n);if(!i||n==null)return null;let a=i;do{if(n=r(n),n==null)break;i=this.layoutDelegate.getItemRect(n);}while(i&&o(a,i)&&n!=null);return n}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,o=this.layoutDelegate.getItemRect(t);if(!o)return null;if(r&&!kt(r))return this.getFirstKey();let n=t;if(this.orientation==="horizontal"){let i=Math.max(0,o.x+o.width-this.layoutDelegate.getVisibleRect().width);for(;o&&o.x>i&&n!=null;)n=this.getKeyAbove(n),o=n==null?null:this.layoutDelegate.getItemRect(n);}else {let i=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>i&&n!=null;)n=this.getKeyAbove(n),o=n==null?null:this.layoutDelegate.getItemRect(n);}return n??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,o=this.layoutDelegate.getItemRect(t);if(!o)return null;if(r&&!kt(r))return this.getLastKey();let n=t;if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,o.y-o.width+this.layoutDelegate.getVisibleRect().width);for(;o&&o.x<i&&n!=null;)n=this.getKeyBelow(n),o=n==null?null:this.layoutDelegate.getItemRect(n);}else {let i=Math.min(this.layoutDelegate.getContentSize().height,o.y-o.height+this.layoutDelegate.getVisibleRect().height);for(;o&&o.y<i&&n!=null;)n=this.getKeyBelow(n),o=n==null?null:this.layoutDelegate.getItemRect(n);}return n??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let o=this.collection,n=r||this.getFirstKey();for(;n!=null;){let i=o.getItem(n);if(!i)return null;let a=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(a,t)===0)return n;n=this.getNextKey(n);}return null}};function On(e){let{selectionManager:t,collection:r,disabledKeys:o,ref:n,keyboardDelegate:i,layoutDelegate:a}=e,l=$t({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,u=useMemo(()=>i||new ct({collection:r,disabledKeys:o,disabledBehavior:s,ref:n,collator:l,layoutDelegate:a}),[i,a,r,o,n,l,s]),{collectionProps:c}=ho({...e,ref:n,selectionManager:t,keyboardDelegate:u});return {listProps:c}}function Bi(e,t,r){let o=le(e,{labelable:true}),n=e.selectionBehavior||"toggle",i=e.linkBehavior||(n==="replace"?"action":"override");n==="toggle"&&i==="action"&&(i="override");let{listProps:a}=On({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=je({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=Y(e.id);Go.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:u,fieldProps:c}=vt({...e,id:s,labelElementType:"span"});return {labelProps:u,listBoxProps:R(o,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...R(c,a)})}}function dP(e){return null}dP.getCollectionNode=function*(t,r){let{childItems:o,title:n,children:i}=t,a=t.title||t.children,l=t.textValue||(typeof a=="string"?a:"")||t["aria-label"]||"";!l&&!r?.suppressTextValueWarning&&process.env.NODE_ENV!=="production"&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield {type:"item",props:t,rendered:a,textValue:l,"aria-label":t["aria-label"],hasChildNodes:QO(t),*childNodes(){if(o)for(let s of o)yield {type:"item",value:s};else if(n){let s=[];Mo.Children.forEach(i,u=>{s.push({type:"item",element:u});}),yield*s;}}};};function QO(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&Mo.Children.count(e.children)>0)}var Mr=dP;function pP(e){return null}pP.getCollectionNode=function*(t){let{children:r,title:o,items:n}=t;yield {type:"section",props:t,hasChildNodes:true,rendered:o,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of n)yield {type:"item",value:i,renderer:r};}else {let i=[];Mo.Children.forEach(r,a=>{i.push({type:"item",element:a});}),yield*i;}}};};var Nc=pP;var Oc=class{context;cache=new WeakMap;build(t,r){return this.context=r,mP(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:o}=t;if(Mo.isValidElement(r)&&r.type===Mo.Fragment)yield*this.iterateCollection({children:r.props.children,items:o});else if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");let n=0;for(let i of o)yield*this.getFullNode({value:i,index:n},{renderer:r}),n++;}else {let n=[];Mo.Children.forEach(r,a=>{a&&n.push(a);});let i=0;for(let a of n){let l=this.getFullNode({element:a,index:i},{});for(let s of l)i++,yield s;}}}getKey(t,r,o,n){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return `${n}${r.key}`;let i=r.value;if(i!=null){let a=i.key??i.id;if(a==null)throw new Error("No key found for item");return a}return n?`${n}.${r.index}`:`$.${r.index}`}getChildState(t,r){return {renderer:r.renderer||t.renderer}}*getFullNode(t,r,o,n){if(Mo.isValidElement(t.element)&&t.element.type===Mo.Fragment){let s=[];Mo.Children.forEach(t.element.props.children,c=>{s.push(c);});let u=t.index??0;for(let c of s)yield*this.getFullNode({element:c,index:u++},r,o,n);return}let i=t.element;if(!i&&t.value&&r&&r.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=n?n.key:null,yield s;return}i=r.renderer(t.value);}if(Mo.isValidElement(i)){let s=i.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let m=i.type;throw new Error(`Unknown element <${m}> in collection.`)}let u=s.getCollectionNode(i.props,this.context),c=t.index??0,d=u.next();for(;!d.done&&d.value;){let m=d.value;t.index=c;let p=m.key??null;p==null&&(p=m.element?null:this.getKey(i,t,r,o));let b=[...this.getFullNode({...m,key:p,index:c,wrapper:tF(t.wrapper,m.wrapper)},this.getChildState(r,m),o?`${o}${i.key}`:i.key,n)];for(let f of b){if(f.value=m.value??t.value??null,f.value&&this.cache.set(f.value,f),t.type&&f.type!==t.type)throw new Error(`Unsupported type <${By(f.type)}> in <${By(n?.type??"unknown parent type")}>. Only <${By(t.type)}> is supported.`);c++,yield f;}d=u.next(b);}return}if(t.key==null||t.type==null)return;let a=this,l={type:t.type,props:t.props,key:t.key,parentKey:n?n.key:null,value:t.value??null,level:n?n.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||false,childNodes:mP(function*(){if(!t.hasChildNodes||!t.childNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${l.key}${u.key}`);let c=a.getFullNode({...u,index:s},a.getChildState(r,u),l.key,l);for(let d of c)s++,yield d;}})};yield l;}};function mP(e){let t=[],r=null;return {*[Symbol.iterator](){for(let o of t)yield o;r||(r=e());for(let o of r)t.push(o),yield o;}}}function tF(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function By(e){return e[0].toUpperCase()+e.slice(1)}function Wo(e,t,r){let o=useMemo(()=>new Oc,[]),{children:n,items:i,collection:a}=e;return useMemo(()=>{if(a)return a;let s=o.build({children:n,items:i},r);return t(s)},[o,n,i,a,r,t])}function Ee(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function jt(e){return Kn(e,0)}function Kn(e,t){if(t<0)return;let r=0;for(let o of e){if(r===t)return o;r++;}}function Tr(e){let t;for(let r of e)t=r;return t}function ps(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let o=[...yP(e,t),t],n=[...yP(e,r),r],i=o.slice(0,n.length).findIndex((a,l)=>a!==n[l]);return i!==-1?(t=o[i],r=n[i],t.index-r.index):o.findIndex(a=>a===r)>=0?1:(n.findIndex(a=>a===t)>=0,-1)}function yP(e,t){let r=[],o=t;for(;o?.parentKey!=null;)o=e.getItem(o.parentKey),o&&r.unshift(o);return r}var bP=new WeakMap;function Vn(e){let t=bP.get(e);if(t!=null)return t;let r=0,o=n=>{for(let i of n)i.type==="section"?o(Ee(i,e)):i.type==="item"&&r++;};return o(e),bP.set(e,r),r}var rF=false;function $i(e,t,r){let{key:o}=e,n=Go.get(t),i=e.isDisabled??t.selectionManager.isDisabled(o),a=e.isSelected??t.selectionManager.isSelected(o),l=e.shouldSelectOnPressUp??n?.shouldSelectOnPressUp,s=e.shouldFocusOnHover??n?.shouldFocusOnHover,u=e.shouldUseVirtualFocus??n?.shouldUseVirtualFocus,c=e.isVirtualized??n?.isVirtualized,d=St(void 0,r),m=St(void 0,r),p={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?a:void 0};at()&&so()&&rF||(p["aria-label"]=e["aria-label"],p["aria-labelledby"]=d,p["aria-describedby"]=m);let y=t.collection.getItem(o);if(c){let D=Number(y?.index);p["aria-posinset"]=Number.isNaN(D)?void 0:D+1,p["aria-setsize"]=Vn(t.collection);}let b=n?.onAction?()=>n?.onAction?.(o):void 0,f=us(t,o),{itemProps:h,isPressed:v,isFocused:g,hasAction:x,allowsSelection:T}=vo({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:l,allowsDifferentPressOrigin:l&&s,shouldUseVirtualFocus:u,isDisabled:i,onAction:b||y?.props?.onAction?Ve(y?.props?.onAction,b):void 0,linkBehavior:n?.linkBehavior,UNSTABLE_itemBehavior:n?.UNSTABLE_itemBehavior,id:f}),{hoverProps:P}=re({isDisabled:i||!s,onHoverStart(){Ht()||(t.selectionManager.setFocused(true),t.selectionManager.setFocusedKey(o));}}),S=le(y?.props);delete S.id;let E=uo(y?.props);return {optionProps:{...p,...R(S,h,P,E),id:f},labelProps:{id:d},descriptionProps:{id:m},isFocused:g,isFocusVisible:g&&t.selectionManager.isFocused&&Ht(),isSelected:a,isDisabled:i,isPressed:v,allowsSelection:T,hasAction:x}}function Hi(e){let{heading:t,"aria-label":r}=e,o=Y();return {itemProps:{role:"presentation"},headingProps:t?{id:o,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?o:void 0}}}var gP={"ar-AE":{buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${t.number(e.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${e.groupTitle}, \u0645\u0639 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${t.number(e.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u0645\u062D\u062F\u062F",other:""},e.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:e=>`${e.optionText}\u060C \u0645\u062D\u062F\u062F`},"bg-BG":{buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${t.number(e.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0441 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${t.number(e.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`},"cs-CZ":{buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${t.number(e.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xE1 skupina \u201E${e.groupTitle}\u201C ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} mo\u017Enost\xED`,other:()=>`se ${t.number(e.groupCount)} mo\u017Enostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybr\xE1no)",other:""},e.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybr\xE1no`},"da-DK":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xE6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xE6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"de-DE":{buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xFCgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgew\xE4hlt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xE4hlt`},"el-GR":{buttonLabel:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${t.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${e.groupTitle}, \u03BC\u03B5 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${t.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},e.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:e=>`${e.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`},"en-US":{focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"},"es-ES":{buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xF3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xF3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`},"et-EE":{buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud r\xFChm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`},"fi-FI":{buttonLabel:"N\xE4yt\xE4 ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xE4\xE4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`},"fr-FR":{buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", s\xE9lectionn\xE9(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xE9lectionn\xE9`},"he-IL":{buttonLabel:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${e.groupTitle}, \u05E2\u05DD ${t.plural(e.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},e.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:e=>`${e.optionText}, \u05E0\u05D1\u05D7\u05E8`},"hr-HR":{buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(e,t)=>`Dostupno jo\u0161: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`},"hu-HU":{buttonLabel:"Javaslatok megjelen\xEDt\xE9se",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehet\u0151s\xE9g`,other:()=>`${t.number(e.optionCount)} lehet\u0151s\xE9g`})} \xE1ll rendelkez\xE9sre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Bel\xE9pett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehet\u0151s\xE9get`,other:()=>`${t.number(e.groupCount)} lehet\u0151s\xE9get`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijel\xF6lve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijel\xF6lve`},"it-IT":{buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`},"ja-JP":{buttonLabel:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${t.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${e.groupTitle}\u3001${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${t.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},e.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:e=>`${e.optionText}\u3001\u9078\u629E\u6E08\u307F`},"ko-KR":{buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${t.number(e.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${t.number(e.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \uC120\uD0DD\uB428",other:""},e.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:e=>`${e.optionText}, \uC120\uD0DD\uB428`},"lt-LT":{buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u012Evesta grup\u0117 ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"R\u0101d\u012Bt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievad\u012Bta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcij\u0101m`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlas\u012Bta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u012Bta`},"nb-NO":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"nl-NL":{buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`},"pl-PL":{buttonLabel:"Wy\u015Bwietlaj sugestie",countAnnouncement:(e,t)=>`dost\u0119pna/dost\u0119pne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Do\u0142\u0105czono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcj\u0105`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`},"pt-BR":{buttonLabel:"Mostrar sugest\xF5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xE7\xE3o`,other:()=>`${t.number(e.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xE7\xE3o`,other:()=>`${t.number(e.groupCount)} op\xE7\xF5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"pt-PT":{buttonLabel:"Apresentar sugest\xF5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xE7\xE3o`,other:()=>`${t.number(e.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xE7\xE3o`,other:()=>`${t.number(e.groupCount)} op\xE7\xF5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"ro-RO":{buttonLabel:"Afi\u0219are sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\u021Biune`,other:()=>`${t.number(e.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\u021Biune`,other:()=>`${t.number(e.groupCount)} op\u021Biuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${t.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${e.groupTitle}, \u0441 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${t.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`},"sk-SK":{buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mo\u017Enos\u0165`,other:()=>`${t.number(e.optionCount)} mo\u017Enosti/-\xED`})} k dispoz\xEDcii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xE1 skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mo\u017Enos\u0165ou`,other:()=>`${t.number(e.groupCount)} mo\u017Enos\u0165ami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybrat\xE9",other:""},e.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybrat\xE9`},"sl-SI":{buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`},"sr-SP":{buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(e,t)=>`Dostupno jo\u0161: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`},"sv-SE":{buttonLabel:"Visa f\xF6rslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xE4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"F\xF6rslag",selectedAnnouncement:e=>`${e.optionText}, valda`},"tr-TR":{buttonLabel:"\xD6nerileri g\xF6ster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} se\xE7enek`,other:()=>`${t.number(e.optionCount)} se\xE7enekler`})} kullan\u0131labilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} se\xE7enek`,other:()=>`${t.number(e.groupCount)} se\xE7enekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", se\xE7ildi",other:""},e.isSelected)}`,listboxLabel:"\xD6neriler",selectedAnnouncement:e=>`${e.optionText}, se\xE7ildi`},"uk-UA":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${t.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0437 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${t.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:e=>`${e.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`},"zh-CN":{buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(e,t)=>`\u6709 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${t.number(e.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u8FDB\u5165\u4E86 ${e.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${t.number(e.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u5DF2\u9009\u62E9",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9009\u62E9`},"zh-TW":{buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u9078\u9805`,other:()=>`${t.number(e.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${e.groupTitle}, \u6709 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u9078\u9805`,other:()=>`${t.number(e.groupCount)} \u9078\u9805`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", \u5DF2\u9078\u53D6",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9078\u53D6`}};var Gy={badInput:false,customError:false,patternMismatch:false,rangeOverflow:false,rangeUnderflow:false,stepMismatch:false,tooLong:false,tooShort:false,typeMismatch:false,valueMissing:false,valid:true},xP={...Gy,customError:true,valid:false},ji={isInvalid:false,validationDetails:Gy,validationErrors:[]},TP=createContext({}),Ar="__formValidationState"+Date.now();function Et(e){if(e[Ar]){let{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:n,commitValidation:i}=e[Ar];return {realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:n,commitValidation:i}}return aF(e)}function aF(e){let{isInvalid:t,validationState:r,name:o,value:n,builtinValidation:i,validate:a,validationBehavior:l="aria"}=e;r&&(t||=r==="invalid");let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:xP}:null,u=useMemo(()=>{if(!a||n==null)return null;let I=lF(a,n);return vP(I)},[a,n]);i?.validationDetails.valid&&(i=void 0);let c=useContext(TP),d=useMemo(()=>o?Array.isArray(o)?o.flatMap(I=>jy(c[I])):jy(c[o]):[],[c,o]),[m,p]=useState(c),[y,b]=useState(false);c!==m&&(p(c),b(false));let f=useMemo(()=>vP(y?[]:d),[y,d]),h=useRef(ji),[v,g]=useState(ji),x=useRef(ji),T=()=>{if(!P)return;S(false);let I=u||i||h.current;Hy(I,x.current)||(x.current=I,g(I));},[P,S]=useState(false);return useEffect(T),{realtimeValidation:s||f||u||i||ji,displayValidation:l==="native"?s||f||v:s||f||u||i||v,updateValidation(I){l==="aria"&&!Hy(v,I)?g(I):h.current=I;},resetValidation(){let I=ji;Hy(I,x.current)||(x.current=I,g(I)),l==="native"&&S(false),b(true);},commitValidation(){l==="native"&&S(true),b(true);}}}function jy(e){return e?Array.isArray(e)?e:[e]:[]}function lF(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return jy(r)}return []}function vP(e){return e.length?{isInvalid:true,validationErrors:e,validationDetails:xP}:null}function Hy(e,t){return e===t?true:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,o)=>r===t.validationErrors[o])&&Object.entries(e.validationDetails).every(([r,o])=>t.validationDetails[r]===o)}var PP={"ar-AE":{longPressMessage:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u0627\u064B \u0623\u0648 \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + \u0627\u0644\u0633\u0647\u0645 \u0644\u0623\u0633\u0641\u0644 \u0644\u0641\u062A\u062D \u0627\u0644\u0642\u0627\u0626\u0645\u0629"},"bg-BG":{longPressMessage:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt+ \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u0434\u043E\u043B\u0443, \u0437\u0430 \u0434\u0430 \u043E\u0442\u0432\u043E\u0440\u0438\u0442\u0435 \u043C\u0435\u043D\u044E\u0442\u043E"},"cs-CZ":{longPressMessage:"Dlouh\xFDm stiskem nebo stisknut\xEDm kl\xE1ves Alt + \u0161ipka dol\u016F otev\u0159ete nab\xEDdku"},"da-DK":{longPressMessage:"Langt tryk eller tryk p\xE5 Alt + pil ned for at \xE5bne menuen"},"de-DE":{longPressMessage:"Dr\xFCcken Sie lange oder dr\xFCcken Sie Alt + Nach-unten, um das Men\xFC zu \xF6ffnen"},"el-GR":{longPressMessage:"\u03A0\u03B9\u03AD\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + \u03BA\u03AC\u03C4\u03C9 \u03B2\u03AD\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B1\u03BD\u03BF\u03AF\u03BE\u03B5\u03C4\u03B5 \u03C4\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD"},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xFA"},"et-EE":{longPressMessage:"Men\xFC\xFC avamiseks vajutage pikalt v\xF5i vajutage klahve Alt + allanool"},"fi-FI":{longPressMessage:"Avaa valikko painamalla pohjassa tai n\xE4pp\xE4inyhdistelm\xE4ll\xE4 Alt + Alanuoli"},"fr-FR":{longPressMessage:"Appuyez de mani\xE8re prolong\xE9e ou appuyez sur Alt\xA0+\xA0Fl\xE8che vers le bas pour ouvrir le menu."},"he-IL":{longPressMessage:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05D0\u05D5 \u05D4\u05E7\u05E9 Alt + ArrowDown \u05DB\u05D3\u05D9 \u05DC\u05E4\u05EA\u05D5\u05D7 \u05D0\u05EA \u05D4\u05EA\u05E4\u05E8\u05D9\u05D8"},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xEDl gombot a men\xFC megnyit\xE1s\xE1hoz"},"it-IT":{longPressMessage:"Premere a lungo o premere Alt + Freccia gi\xF9 per aprire il menu"},"ja-JP":{longPressMessage:"\u9577\u62BC\u3057\u307E\u305F\u306F Alt+\u4E0B\u77E2\u5370\u30AD\u30FC\u3067\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F"},"ko-KR":{longPressMessage:"\uAE38\uAC8C \uB204\uB974\uAC70\uB098 Alt + \uC544\uB798\uCABD \uD654\uC0B4\uD45C\uB97C \uB20C\uB7EC \uBA54\uB274 \uC5F4\uAE30"},"lt-LT":{longPressMessage:"Nor\u0117dami atidaryti meniu, nuspaud\u0119 palaikykite arba paspauskite \u201EAlt + ArrowDown\u201C."},"lv-LV":{longPressMessage:"Lai atv\u0113rtu izv\u0113lni, turiet nospiestu vai nospiediet tausti\u0146u kombin\u0101ciju Alt + lejupv\u0113rst\u0101 bulti\u0146a"},"nb-NO":{longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xE5 \xE5pne menyen"},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:"Naci\u015Bnij i przytrzymaj lub naci\u015Bnij klawisze Alt + Strza\u0142ka w d\xF3\u0142, aby otworzy\u0107 menu"},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:"Ap\u0103sa\u021Bi lung sau ap\u0103sa\u021Bi pe Alt + s\u0103geat\u0103 \xEEn jos pentru a deschide meniul"},"ru-RU":{longPressMessage:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E"},"sk-SK":{longPressMessage:"Ponuku otvor\xEDte dlh\xFDm stla\u010Den\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Alt + kl\xE1vesu so \u0161\xEDpkou nadol"},"sl-SI":{longPressMessage:"Za odprtje menija pritisnite in dr\u017Eite gumb ali pritisnite Alt+pu\u0161\u010Dica navzdol"},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:"H\xE5ll nedtryckt eller tryck p\xE5 Alt + pil ned\xE5t f\xF6r att \xF6ppna menyn"},"tr-TR":{longPressMessage:"Men\xFCy\xFC a\xE7mak i\xE7in uzun bas\u0131n veya Alt + A\u015Fa\u011F\u0131 Ok tu\u015Funa bas\u0131n"},"uk-UA":{longPressMessage:"\u0414\u043E\u0432\u0433\u043E \u0430\u0431\u043E \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044E \u043A\u043B\u0430\u0432\u0456\u0448 Alt \u0456 \u0441\u0442\u0440\u0456\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0449\u043E\u0431 \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043C\u0435\u043D\u044E"},"zh-CN":{longPressMessage:"\u957F\u6309\u6216\u6309 Alt + \u5411\u4E0B\u65B9\u5411\u952E\u4EE5\u6253\u5F00\u83DC\u5355"},"zh-TW":{longPressMessage:"\u9577\u6309\u6216\u6309 Alt+\u5411\u4E0B\u9375\u4EE5\u958B\u555F\u529F\u80FD\u8868"}};function qo(e,t,r){let{type:o="menu",isDisabled:n,trigger:i="press"}=e,a=Y(),{triggerProps:l,overlayProps:s}=Wr({type:o},t,r),u=p=>{if(!n&&!(i==="longPress"&&!p.altKey)&&r&&r.current)switch(p.key){case "Enter":case " ":if(i==="longPress"||p.isDefaultPrevented())return;case "ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("first");break;case "ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation();}},c=xe(PP,"@react-aria/menu"),{longPressProps:d}=Ni({isDisabled:n||i!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close();},onLongPress(){t.open("first");}}),m={preventFocusOnPress:true,onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!n&&(Ke(p.target),t.open(p.pointerType==="virtual"?"first":null));},onPress(p){p.pointerType==="touch"&&!n&&(Ke(p.target),t.toggle());}};return delete l.onPress,{menuTriggerProps:{...l,...i==="press"?m:d,id:a,onKeyDown:u},menuProps:{...s,"aria-labelledby":a,autoFocus:t.focusStrategy||true,onClose:t.close}}}var Kc=new WeakMap;function Vc(e,t,r){let{shouldFocusWrap:o=true,onKeyDown:n,onKeyUp:i,...a}=e;!e["aria-label"]&&!e["aria-labelledby"]&&process.env.NODE_ENV!=="production"&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=le(e,{labelable:true}),{listProps:s}=On({...a,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:o,linkBehavior:"override"});return Kc.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:R(l,{onKeyDown:n,onKeyUp:i},{role:"menu",...s,onKeyDown:u=>{(u.key!=="Escape"||e.shouldUseVirtualFocus)&&s.onKeyDown?.(u);}})}}function Bc(e,t,r){let{id:o,key:n,closeOnSelect:i,isVirtualized:a,"aria-haspopup":l,onPressStart:s,onPressUp:u,onPress:c,onPressChange:d,onPressEnd:m,onClick:p,onHoverStart:y,onHoverChange:b,onHoverEnd:f,onKeyDown:h,onKeyUp:v,onFocus:g,onFocusChange:x,onBlur:T,selectionManager:P=t.selectionManager}=e,S=!!l,E=S&&e["aria-expanded"]==="true",D=e.isDisabled??P.isDisabled(n),I=e.isSelected??P.isSelected(n),C=Kc.get(t),_=t.collection.getItem(n),z=e.onClose||C.onClose,w=lr(),O=()=>{if(!S&&(_?.props?.onAction?_.props.onAction():e.onAction&&e.onAction(n),C.onAction)){let Te=C.onAction;Te(n);}},k="menuitem";S||(P.selectionMode==="single"?k="menuitemradio":P.selectionMode==="multiple"&&(k="menuitemcheckbox"));let M=St(),F=St(),K=St(),N={id:o,"aria-disabled":D||void 0,role:k,"aria-label":e["aria-label"],"aria-labelledby":M,"aria-describedby":[F,K].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};P.selectionMode!=="none"&&!S&&(N["aria-checked"]=I),a&&(N["aria-posinset"]=_?.index,N["aria-setsize"]=Vn(t.collection));let $=useRef(false),A=Te=>{d?.(Te),$.current=Te;},B=useRef(null),U=Te=>{Te.pointerType!=="keyboard"&&(B.current={pointerType:Te.pointerType}),Te.pointerType==="mouse"&&($.current||Te.target.click()),u?.(Te);},oe=Te=>{p?.(Te),O(),Dl(Te,w,_.props.href,_?.props.routerOptions);let Qe=B.current?.pointerType==="keyboard"?B.current?.key==="Enter"||P.selectionMode==="none"||P.isLink(n):P.selectionMode!=="multiple"||P.isLink(n);Qe=i??Qe,z&&!S&&Qe&&z(),B.current=null;},{itemProps:G,isFocused:W}=vo({id:o,selectionManager:P,key:n,ref:r,shouldSelectOnPressUp:true,allowsDifferentPressOrigin:true,linkBehavior:"none",shouldUseVirtualFocus:C.shouldUseVirtualFocus}),{pressProps:ne,isPressed:Q}=Se({onPressStart:s,onPress:c,onPressUp:U,onPressChange:A,onPressEnd:m,isDisabled:D}),{hoverProps:de}=re({isDisabled:D,onHoverStart(Te){!Ht()&&!(E&&l)&&(P.setFocused(true),P.setFocusedKey(n)),y?.(Te);},onHoverChange:b,onHoverEnd:f}),{keyboardProps:he}=Ce({onKeyDown:Te=>{if(Te.repeat){Te.continuePropagation();return}switch(Te.key){case " ":B.current={pointerType:"keyboard",key:" "},Te.target.click();break;case "Enter":B.current={pointerType:"keyboard",key:"Enter"},Te.target.tagName!=="A"&&Te.target.click();break;default:S||Te.continuePropagation(),h?.(Te);break}},onKeyUp:v}),{focusProps:Ae}=bt({onBlur:T,onFocus:g,onFocusChange:x}),it=le(_?.props);delete it.id;let Pe=uo(_?.props);return {menuItemProps:{...N,...R(it,Pe,S?{onFocus:G.onFocus,"data-collection":G["data-collection"],"data-key":G["data-key"]}:G,ne,de,he,Ae,C.shouldUseVirtualFocus||S?{onMouseDown:Te=>Te.preventDefault()}:void 0,D?void 0:{onClick:oe}),tabIndex:G.tabIndex!=null&&E&&!C.shouldUseVirtualFocus?-1:G.tabIndex},labelProps:{id:M},descriptionProps:{id:F},keyboardShortcutProps:{id:K},isFocused:W,isFocusVisible:W&&P.isFocused&&Ht()&&!E,isSelected:I,isPressed:Q,isDisabled:D}}function $c(e){let{heading:t,"aria-label":r}=e,o=Y();return {itemProps:{role:"presentation"},headingProps:t?{id:o,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?o:void 0}}}function Nr(e,t,r){let{validationBehavior:o,focus:n}=e;ae(()=>{if(o==="native"&&r?.current&&!r.current.disabled){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(dF(r.current));}});let i=useRef(false),a=ue(()=>{i.current||t.resetValidation();}),l=ue(u=>{t.displayValidation.isInvalid||t.commitValidation();let c=r?.current?.form;!u.defaultPrevented&&r&&c&&pF(c)===r.current&&(n?n():r.current?.focus(),vr("keyboard")),u.preventDefault();}),s=ue(()=>{t.commitValidation();});useEffect(()=>{let u=r?.current;if(!u)return;let c=u.form,d=c?.reset;return c&&(c.reset=()=>{i.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,d?.call(c),i.current=false;}),u.addEventListener("invalid",l),u.addEventListener("change",s),c?.addEventListener("reset",a),()=>{u.removeEventListener("invalid",l),u.removeEventListener("change",s),c?.removeEventListener("reset",a),c&&(c.reset=d);}},[r,l,s,a,o]);}function cF(e){let t=e.validity;return {badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function dF(e){return {isInvalid:!e.validity.valid,validationDetails:cF(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function pF(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}function Qt(e,t){let{inputElementType:r="input",isDisabled:o=false,isRequired:n=false,isReadOnly:i=false,type:a="text",validationBehavior:l="aria"}=e,[s,u]=be(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Xe(e,t),d=Et({...e,value:s}),{isInvalid:m,validationErrors:p,validationDetails:y}=d.displayValidation,{labelProps:b,fieldProps:f,descriptionProps:h,errorMessageProps:v}=Jt({...e,isInvalid:m,errorMessage:e.errorMessage||p,ref:t}),g=le(e,{labelable:true}),x={type:a,pattern:e.pattern},[T]=useState(s);return yt(t,e.defaultValue??T,u),Nr(e,d,t),useEffect(()=>{if(t.current instanceof j(t.current).HTMLTextAreaElement){let P=t.current;Object.defineProperty(P,"defaultValue",{get:()=>P.value,set:()=>{},configurable:true});}},[t]),{labelProps:b,inputProps:R(g,r==="input"?x:void 0,{disabled:o,readOnly:i,required:n&&l==="native","aria-required":n&&l==="aria"||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:P=>u(P.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(Mo.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...f}),descriptionProps:h,errorMessageProps:v,isInvalid:m,validationErrors:p,validationDetails:y}}function SP(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function ms(e,t,r){let o=ue(d=>{let m=r.current;if(!m)return;let p=null;switch(d.inputType){case "historyUndo":case "historyRedo":return;case "insertLineBreak":return;case "deleteContent":case "deleteByCut":case "deleteByDrag":p=m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case "deleteContentForward":p=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd+1):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case "deleteContentBackward":p=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart-1)+m.value.slice(m.selectionStart):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case "deleteSoftLineBackward":case "deleteHardLineBackward":p=m.value.slice(m.selectionStart);break;default:d.data!=null&&(p=m.value.slice(0,m.selectionStart)+d.data+m.value.slice(m.selectionEnd));break}(p==null||!t.validate(p))&&d.preventDefault();});useEffect(()=>{if(!SP()||!r.current)return;let d=r.current;return d.addEventListener("beforeinput",o,false),()=>{d.removeEventListener("beforeinput",o,false);}},[r,o]);let n=SP()?null:d=>{let m=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(m)||d.preventDefault();},{labelProps:i,inputProps:a,descriptionProps:l,errorMessageProps:s,...u}=Qt(e,r),c=useRef(null);return {inputProps:R(a,{onBeforeInput:n,onCompositionStart(){let{value:d,selectionStart:m,selectionEnd:p}=r.current;c.current={value:d,selectionStart:m,selectionEnd:p};},onCompositionEnd(){if(r.current&&!t.validate(r.current.value)){let{value:d,selectionStart:m,selectionEnd:p}=c.current;r.current.value=d,r.current.setSelectionRange(m,p),t.setInputValue(d);}}}),labelProps:i,descriptionProps:l,errorMessageProps:s,...u}}function Gi(e,t){let{buttonRef:r,popoverRef:o,inputRef:n,listBoxRef:i,keyboardDelegate:a,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:u,isDisabled:c}=e,d=useRef(null);r=r??d;let m=xe(gP,"@react-aria/combobox"),{menuTriggerProps:p,menuProps:y}=qo({type:"listbox",isDisabled:c||u},t,r);Go.set(t,{id:y.id});let{collection:b}=t,{disabledKeys:f}=t.selectionManager,h=useMemo(()=>a||new ct({collection:b,disabledKeys:f,ref:i,layoutDelegate:l}),[a,l,b,f,i]),{collectionProps:v}=ho({selectionManager:t.selectionManager,keyboardDelegate:h,disallowTypeAhead:true,disallowEmptySelection:true,shouldFocusWrap:s,ref:n,isVirtualized:true}),g=lr(),x=Q=>{if(!Q.nativeEvent.isComposing)switch(Q.key){case "Enter":case "Tab":if(t.isOpen&&Q.key==="Enter"&&Q.preventDefault(),t.isOpen&&i.current&&t.selectionManager.focusedKey!=null){let de=t.collection.getItem(t.selectionManager.focusedKey);if(de?.props.href){let he=i.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);Q.key==="Enter"&&he instanceof HTMLAnchorElement&&g.open(he,Q,de.props.href,de.props.routerOptions),t.close();break}else if(de?.props.onAction){de.props.onAction(),t.close();break}}t.commit();break;case "Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&Q.continuePropagation(),t.revert();break;case "ArrowDown":t.open("first","manual");break;case "ArrowUp":t.open("last","manual");break;case "ArrowLeft":case "ArrowRight":t.selectionManager.setFocusedKey(null);break}},T=Q=>{let de=r?.current&&r.current===Q.relatedTarget,he=o.current?.contains(Q.relatedTarget);de||he||(e.onBlur&&e.onBlur(Q),t.setFocused(false));},P=Q=>{t.isFocused||(e.onFocus&&e.onFocus(Q),t.setFocused(true));},{isInvalid:S,validationErrors:E,validationDetails:D}=t.displayValidation,{labelProps:I,inputProps:C,descriptionProps:_,errorMessageProps:z}=Qt({...e,onChange:t.setInputValue,onKeyDown:u?e.onKeyDown:Ve(t.isOpen&&v.onKeyDown,x,e.onKeyDown),onBlur:T,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:P,autoComplete:"off",validate:void 0,[Ar]:t},n),w=Q=>{Q.pointerType==="touch"&&(n.current?.focus(),t.toggle(null,"manual"));},O=Q=>{Q.pointerType!=="touch"&&(n.current?.focus(),t.toggle(Q.pointerType==="keyboard"||Q.pointerType==="virtual"?"first":null,"manual"));},k=lt({id:p.id,"aria-label":m.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||I.id}),M=lt({id:y.id,"aria-label":m.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||I.id}),F=useRef(0),K=Q=>{if(c||u)return;if(Q.timeStamp-F.current<500){Q.preventDefault(),n.current?.focus();return}let de=Q.target.getBoundingClientRect(),he=Q.changedTouches[0],Ae=Math.ceil(de.left+.5*de.width),it=Math.ceil(de.top+.5*de.height);he.clientX===Ae&&he.clientY===it&&(Q.preventDefault(),n.current?.focus(),t.toggle(null,"manual"),F.current=Q.timeStamp);},N=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,$=N?.parentKey??null,A=t.selectionManager.focusedKey??null,B=useRef($),U=useRef(A);useEffect(()=>{if(Sn()&&N!=null&&A!=null&&A!==U.current){let Q=t.selectionManager.isSelected(A),de=$!=null?t.collection.getItem($):null,he=de?.["aria-label"]||(typeof de?.rendered=="string"?de.rendered:"")||"",Ae=m.format("focusAnnouncement",{isGroupChange:(de&&$!==B.current)??false,groupTitle:he,groupCount:de?[...Ee(de,t.collection)].length:0,optionText:N["aria-label"]||N.textValue||"",isSelected:Q});st(Ae);}B.current=$,U.current=A;});let oe=Vn(t.collection),G=useRef(oe),W=useRef(t.isOpen);useEffect(()=>{let Q=t.isOpen!==W.current&&(t.selectionManager.focusedKey==null||Sn());if(t.isOpen&&(Q||oe!==G.current)){let de=m.format("countAnnouncement",{optionCount:oe});st(de);}G.current=oe,W.current=t.isOpen;});let ne=useRef(t.selectedKey);return useEffect(()=>{if(Sn()&&t.isFocused&&t.selectedItem&&t.selectedKey!==ne.current){let Q=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",de=m.format("selectedAnnouncement",{optionText:Q});st(de);}ne.current=t.selectedKey;}),useEffect(()=>{if(t.isOpen)return go([n.current,o.current].filter(Q=>Q!=null))},[t.isOpen,n,o]),kn(()=>{!N&&n.current&&pe(H(n.current))===n.current&&bo(n.current,null);},[N]),gt(i,"react-aria-item-action",t.isOpen?()=>{t.close();}:void 0),{labelProps:I,buttonProps:{...p,...k,excludeFromTabOrder:true,preventFocusOnPress:true,onPress:w,onPressStart:O,isDisabled:c||u},inputProps:R(C,{role:"combobox","aria-expanded":p["aria-expanded"],"aria-controls":t.isOpen?y.id:void 0,"aria-autocomplete":"list","aria-activedescendant":N?us(t,N.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:R(y,M,{autoFocus:t.focusStrategy||true,shouldUseVirtualFocus:true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),descriptionProps:_,errorMessageProps:z,isInvalid:S,validationErrors:E,validationDetails:D}}var DP={"ar-AE":{"Clear search":"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B"},"bg-BG":{"Clear search":"\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u044A\u0440\u0441\u0435\u043D\u0435"},"cs-CZ":{"Clear search":"Vymazat hled\xE1n\xED"},"da-DK":{"Clear search":"Ryd s\xF8gning"},"de-DE":{"Clear search":"Suche zur\xFCcksetzen"},"el-GR":{"Clear search":"\u0391\u03C0\u03B1\u03BB\u03BF\u03B9\u03C6\u03AE \u03B1\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7\u03C2"},"en-US":{"Clear search":"Clear search"},"es-ES":{"Clear search":"Borrar b\xFAsqueda"},"et-EE":{"Clear search":"T\xFChjenda otsing"},"fi-FI":{"Clear search":"Tyhjenn\xE4 haku"},"fr-FR":{"Clear search":"Effacer la recherche"},"he-IL":{"Clear search":"\u05E0\u05E7\u05D4 \u05D7\u05D9\u05E4\u05D5\u05E9"},"hr-HR":{"Clear search":"Obri\u0161i pretragu"},"hu-HU":{"Clear search":"Keres\xE9s t\xF6rl\xE9se"},"it-IT":{"Clear search":"Cancella ricerca"},"ja-JP":{"Clear search":"\u691C\u7D22\u3092\u30AF\u30EA\u30A2"},"ko-KR":{"Clear search":"\uAC80\uC0C9 \uC9C0\uC6B0\uAE30"},"lt-LT":{"Clear search":"I\u0161valyti ie\u0161k\u0105"},"lv-LV":{"Clear search":"Not\u012Br\u012Bt mekl\u0113\u0161anu"},"nb-NO":{"Clear search":"T\xF8m s\xF8k"},"nl-NL":{"Clear search":"Zoekactie wissen"},"pl-PL":{"Clear search":"Wyczy\u015B\u0107 zawarto\u015B\u0107 wyszukiwania"},"pt-BR":{"Clear search":"Limpar pesquisa"},"pt-PT":{"Clear search":"Limpar pesquisa"},"ro-RO":{"Clear search":"\u015Eterge\u0163i c\u0103utarea"},"ru-RU":{"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A"},"sk-SK":{"Clear search":"Vymaza\u0165 vyh\u013Ead\xE1vanie"},"sl-SI":{"Clear search":"Po\u010Disti iskanje"},"sr-SP":{"Clear search":"Obri\u0161i pretragu"},"sv-SE":{"Clear search":"Rensa s\xF6kning"},"tr-TR":{"Clear search":"Aramay\u0131 temizle"},"uk-UA":{"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A"},"zh-CN":{"Clear search":"\u6E05\u9664\u641C\u7D22"},"zh-TW":{"Clear search":"\u6E05\u9664\u641C\u5C0B\u689D\u4EF6"}};function jc(e,t,r){let o=xe(DP,"@react-aria/searchfield"),{isDisabled:n,isReadOnly:i,onSubmit:a,onClear:l,type:s="search"}=e,u=h=>{let v=h.key;v==="Enter"&&(n||i)&&h.preventDefault(),!(n||i)&&(v==="Enter"&&a&&(h.preventDefault(),a(t.value)),v==="Escape"&&(t.value===""&&(!r.current||r.current.value==="")?h.continuePropagation():(h.preventDefault(),t.setValue(""),l&&l())));},c=()=>{t.setValue(""),l&&l();},d=()=>{r.current?.focus();},{labelProps:m,inputProps:p,descriptionProps:y,errorMessageProps:b,...f}=Qt({...e,value:t.value,onChange:t.setValue,onKeyDown:i?e.onKeyDown:Ve(u,e.onKeyDown),type:s},r);return {labelProps:m,inputProps:{...p,defaultValue:void 0},clearButtonProps:{"aria-label":o.format("Clear search"),excludeFromTabOrder:true,preventFocusOnPress:true,isDisabled:n||i,onPress:c,onPressStart:d},descriptionProps:y,errorMessageProps:b,...f}}var kP={"ar-AE":{collectionLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A"},"bg-BG":{collectionLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F"},"cs-CZ":{collectionLabel:"N\xE1vrhy"},"da-DK":{collectionLabel:"Forslag"},"de-DE":{collectionLabel:"Empfehlungen"},"el-GR":{collectionLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2"},"en-US":{collectionLabel:"Suggestions"},"es-ES":{collectionLabel:"Sugerencias"},"et-EE":{collectionLabel:"Soovitused"},"fi-FI":{collectionLabel:"Ehdotukset"},"fr-FR":{collectionLabel:"Suggestions"},"he-IL":{collectionLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA"},"hr-HR":{collectionLabel:"Prijedlozi"},"hu-HU":{collectionLabel:"Javaslatok"},"it-IT":{collectionLabel:"Suggerimenti"},"ja-JP":{collectionLabel:"\u5019\u88DC"},"ko-KR":{collectionLabel:"\uC81C\uC548"},"lt-LT":{collectionLabel:"Pasi\u016Blymai"},"lv-LV":{collectionLabel:"Ieteikumi"},"nb-NO":{collectionLabel:"Forslag"},"nl-NL":{collectionLabel:"Suggesties"},"pl-PL":{collectionLabel:"Sugestie"},"pt-BR":{collectionLabel:"Sugest\xF5es"},"pt-PT":{collectionLabel:"Sugest\xF5es"},"ro-RO":{collectionLabel:"Sugestii"},"ru-RU":{collectionLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F"},"sk-SK":{collectionLabel:"N\xE1vrhy"},"sl-SI":{collectionLabel:"Predlogi"},"sr-SP":{collectionLabel:"Predlozi"},"sv-SE":{collectionLabel:"F\xF6rslag"},"tr-TR":{collectionLabel:"\xD6neriler"},"uk-UA":{collectionLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457"},"zh-CN":{collectionLabel:"\u5EFA\u8BAE"},"zh-TW":{collectionLabel:"\u5EFA\u8B70"}};function Uy(e,t){let{inputRef:r,collectionRef:o,filter:n,disableAutoFocusFirst:i=false,disableVirtualFocus:a=false}=e,l=Y(),s=useRef(void 0),u=useRef(false),c=useRef(null),d=useRef(null),m=ht()==="virtual"&&(Dt()||br()),[p,y]=useState(!m&&!a),[b,f]=useState(false);useEffect(()=>()=>clearTimeout(s.current),[]);let h=ue(F=>{!F.isTrusted&&p&&r.current&&pe(H(r.current))!==r.current&&r.current.focus();let K=te(F);F.isTrusted||!K||c.current===K.id||(clearTimeout(s.current),K!==o.current?u.current?(c.current=K.id,s.current=setTimeout(()=>{t.setFocusedNodeId(K.id);},500)):(c.current=K.id,t.setFocusedNodeId(K.id)):c.current&&!qt(c.current,H(o.current))&&(c.current=null,t.setFocusedNodeId(null)),u.current=false);}),v=useCallback(F=>{F!=null?(d.current?.removeEventListener("focusin",h),d.current=F,F.addEventListener("focusin",h),F.getAttribute("tabindex")!=null&&y(false),f(true)):(d.current?.removeEventListener("focusin",h),f(false));},[h]),g=ge(useMemo(()=>Z(o,v),[o,v])),x=ue(()=>{u.current=true,o.current?.dispatchEvent(new CustomEvent(wi,{cancelable:true,bubbles:true,detail:{focusStrategy:"first"}}));}),T=ue(F=>{Nn(pe()),c.current=null,t.setFocusedNodeId(null);let K=new CustomEvent(wl,{cancelable:true,bubbles:true,detail:{clearFocusKey:F}});clearTimeout(s.current),u.current=false,o.current?.dispatchEvent(K);}),P=useRef("");gt(r,"input",F=>{let{inputType:K}=F;P.current=K;});let S=F=>{P.current==="insertText"&&!i?x():P.current&&(P.current.includes("insert")||P.current.includes("delete")||P.current.includes("history"))&&(T(true),Ic(document)===r.current&&bo(r.current,null)),t.setInputValue(F);},E=useRef(null),D=F=>{if(E.current=te(F.nativeEvent),F.nativeEvent.isComposing)return;let K=c.current;switch(F.key){case "a":if(_r(F))return;break;case "Escape":if(F.isDefaultPrevented())return;break;case " ":return;case "Tab":"continuePropagation"in F&&F.continuePropagation();return;case "Home":case "End":case "PageDown":case "PageUp":case "ArrowUp":case "ArrowDown":{if((F.key==="Home"||F.key==="End")&&K==null&&F.shiftKey)return;F.preventDefault();let $=new CustomEvent(wi,{cancelable:true,bubbles:true});o.current?.dispatchEvent($);break}}F.isPropagationStopped()||F.stopPropagation();let N=true;if(o.current!==null)if(K==null)N=o.current?.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))||false;else {let $=qt(K,H(o.current));$&&(N=$?.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))||false);}if(N)switch(F.key){case "ArrowLeft":case "ArrowRight":{T();break}case "Enter":K!=null&&qt(K,H(r.current))?.dispatchEvent(new PointerEvent("click",F.nativeEvent));break}else F.preventDefault();},I=ue(F=>{if(te(F)===E.current){F.stopImmediatePropagation();let K=c.current;K==null?o.current?.dispatchEvent(new KeyboardEvent(F.type,F)):qt(K,H(o.current))?.dispatchEvent(new KeyboardEvent(F.type,F));}});useEffect(()=>{let F=H(r.current);return F.addEventListener("keyup",I,true),()=>{F.removeEventListener("keyup",I,true);}},[I]);let C=xe(kP,"@react-aria/autocomplete"),_=lt({id:l,"aria-label":C.format("collectionLabel")}),z=useCallback((F,K)=>n?n(F,t.inputValue,K):true,[t.inputValue,n]),w=F=>{if(!F.isTrusted)return;let K=c.current?qt(c.current,H(r.current)):null;K&&os(K,F.relatedTarget);},O=F=>{if(!F.isTrusted)return;if(c.current?qt(c.current,H(r.current)):null){let N=te(F.nativeEvent);queueMicrotask(()=>{os(N,o.current),bo(o.current,N);});}},k={value:t.inputValue,onChange:S},M={onKeyDown:D,"aria-activedescendant":t.focusedNodeId??void 0,onBlur:w,onFocus:O};return b&&(k={...k,...p&&M,enterKeyHint:"go","aria-controls":l,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:k,collectionProps:R(_,{shouldUseVirtualFocus:p,disallowTypeAhead:p}),collectionRef:g,filter:n!=null?z:void 0}}function Wy(e){let{onInputChange:t,inputValue:r,defaultInputValue:o=""}=e,n=u=>{t&&t(u);},[i,a]=useState(null),[l,s]=be(r,o,n);return {inputValue:l,setInputValue:s,focusedNodeId:i,setFocusedNodeId:a}}var Gc=Symbol("default");function $n({values:e,children:t}){for(let[r,o]of e)t=jsx(r.Provider,{value:o,children:t});return t}function cr(e){let{className:t,style:r,children:o,defaultClassName:n=void 0,defaultChildren:i=void 0,defaultStyle:a,values:l}=e;return useMemo(()=>{let s,u,c;return typeof t=="function"?s=t({...l,defaultClassName:n}):s=t,typeof r=="function"?u=r({...l,defaultStyle:a||{}}):u=r,typeof o=="function"?c=o({...l,defaultChildren:i}):o==null?c=i:c=o,{className:s??n,style:u||a?{...a,...u}:void 0,children:c??i,"data-rac":""}},[t,r,o,n,i,a,l])}function qy(e,t){let r=useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let o=t||Gc;if(!r.slots[o]){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`)),i=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${i} Valid slot names are ${n}.`)}return r.slots[o]}return r}function er(e,t,r){let o=qy(r,e.slot)||{},{ref:n,...i}=o,a=ge(useMemo(()=>Z(t,n),[t,n])),l=R(i,e);return "style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?l.style=s=>{let u=typeof i.style=="function"?i.style(s):i.style,c={...s.defaultStyle,...u},d=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return {...c,...d}}:l.style={...i.style,...e.style}),[l,a]}function IP(e=true){let[t,r]=useState(e),o=useRef(false),n=useCallback(i=>{o.current=true,r(!!i);},[]);return ae(()=>{o.current||r(false);},[]),[n,t]}function Xo(e){let t=/^(data-.*)$/,r={};for(let o in e)t.test(o)||(r[o]=e[o]);return r}var MP=createContext(null),Uc=createContext(null);function Xy(e){let t=qy(MP,e.slot);e=R(t,e);let{filter:r,disableAutoFocusFirst:o}=e,n=Wy(e),i=useRef(null),a=useRef(null),{inputProps:l,collectionProps:s,collectionRef:u,filter:c}=Uy({...Xo(e),filter:r,disableAutoFocusFirst:o,inputRef:i,collectionRef:a},n);return jsx($n,{values:[[Uc,n],[Pn,{...l,ref:i}],[Oo,{...s,filter:c,ref:u}]],children:e.children})}function Wc(e,t){let{elementType:r="a",onPress:o,onPressStart:n,onPressEnd:i,onClick:a,isDisabled:l,...s}=e,u={};r!=="a"&&(u={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Xe(e,t),{pressProps:d,isPressed:m}=Se({onPress:o,onPressStart:n,onPressEnd:i,onClick:a,isDisabled:l,ref:t}),p=le(s,{labelable:true}),y=R(c,d),b=lr(),f=uo(e);return {isPressed:m,linkProps:R(p,f,{...y,...u,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:h=>{d.onClick?.(h),Dl(h,b,e.href,e.routerOptions);}})}}function rt(e,t){let{elementType:r="button",isDisabled:o,onPress:n,onPressStart:i,onPressEnd:a,onPressUp:l,onPressChange:s,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:m,target:p,rel:y,type:b="button"}=e,f;r==="button"?f={type:b,disabled:o,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:f={role:"button",href:r==="a"&&!o?m:void 0,target:r==="a"?p:void 0,type:r==="input"?b:void 0,disabled:r==="input"?o:void 0,"aria-disabled":!o||r==="input"?void 0:o,rel:r==="a"?y:void 0};let{pressProps:h,isPressed:v}=Se({onPressStart:i,onPressEnd:a,onPressChange:s,onPress:n,onPressUp:l,onClick:d,isDisabled:o,preventFocusOnPress:u,ref:t}),{focusableProps:g}=Xe(e,t);c&&(g.tabIndex=o?-1:g.tabIndex);let x=R(g,h,le(e,{labelable:true}));return {isPressed:v,buttonProps:R(f,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function qc(e,t,r){let{isSelected:o}=t,{isPressed:n,buttonProps:i}=rt({...e,onPress:Ve(t.toggle,e.onPress)},r);return {isPressed:n,isSelected:o,isDisabled:e.isDisabled||false,buttonProps:R(i,{"aria-pressed":o})}}function AP(e,t){let{"aria-label":r,"aria-labelledby":o,orientation:n="horizontal",isSingleTabStop:i=true}=e,[a,l]=useState(false);ae(()=>{l(!!(t.current&&t.current.parentElement?.closest('[role="toolbar"]')));});let{direction:s}=J(),u=s==="rtl"&&n==="horizontal",c=Lr(t),d=b=>{if(b.currentTarget.contains(b.target)){if(n==="horizontal"&&b.key==="ArrowRight"||n==="vertical"&&b.key==="ArrowDown")u?c.focusPrevious():c.focusNext();else if(n==="horizontal"&&b.key==="ArrowLeft"||n==="vertical"&&b.key==="ArrowUp")u?c.focusNext():c.focusPrevious();else if(b.key==="Tab"){if(!i)return;b.stopPropagation(),m.current=document.activeElement,b.shiftKey?c.focusFirst():c.focusLast();return}else return;b.stopPropagation(),b.preventDefault();}},m=useRef(null),p=b=>{!b.currentTarget.contains(b.relatedTarget)&&!m.current&&(m.current=b.target);},y=b=>{m.current&&!b.currentTarget.contains(b.relatedTarget)&&t.current?.contains(b.target)&&(m.current?.focus(),m.current=null);};return {toolbarProps:{...le(e,{labelable:true}),role:a?"group":"toolbar","aria-orientation":n,"aria-label":r,"aria-labelledby":r==null?o:void 0,onKeyDownCapture:a?void 0:d,onFocusCapture:a?void 0:y,onBlurCapture:a?void 0:p}}}function fs(e,t,r){let{isDisabled:o=false,isReadOnly:n=false,value:i,name:a,form:l,children:s,"aria-label":u,"aria-labelledby":c,validationState:d="valid",isInvalid:m,onPressStart:p,onPressEnd:y,onPressChange:b,onPress:f,onPressUp:h,onClick:v}=e,g=z=>{z.stopPropagation(),t.setSelected(z.target.checked);},x=s!=null,T=u!=null||c!=null;!x&&!T&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:P,isPressed:S}=Se({onPressStart:p,onPressEnd:y,onPressChange:b,onPress:f,onPressUp:h,onClick:v,isDisabled:o}),{pressProps:E,isPressed:D}=Se({onPressStart:p,onPressEnd:y,onPressChange:b,onPressUp:h,onClick:v,onPress(z){f?.(z),t.toggle(),r.current?.focus();},isDisabled:o||n}),{focusableProps:I}=Xe(e,r),C=R(P,I),_=le(e,{labelable:true});return yt(r,t.defaultSelected,t.setSelected),{labelProps:R(E,{onClick:z=>z.preventDefault()}),inputProps:R(_,{"aria-invalid":m||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":n||void 0,onChange:g,disabled:o,...i==null?{}:{value:i},name:a,form:l,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:S||D,isDisabled:o,isReadOnly:n,isInvalid:m||d==="invalid"}}function Xc(e,t,r){let o=Et({...e,value:t.isSelected}),{isInvalid:n,validationErrors:i,validationDetails:a}=o.displayValidation,{labelProps:l,inputProps:s,isSelected:u,isPressed:c,isDisabled:d,isReadOnly:m}=fs({...e,isInvalid:n},t,r);Nr(e,o,r);let{isIndeterminate:p,isRequired:y,validationBehavior:b="aria"}=e;useEffect(()=>{r.current&&(r.current.indeterminate=!!p);});let{pressProps:f}=Se({isDisabled:d||m,onPress(){let{[Ar]:h}=e,{commitValidation:v}=h||o;v();}});return {labelProps:R(l,f,useMemo(()=>({onMouseDown:h=>h.preventDefault()}),[])),inputProps:{...s,checked:u,"aria-required":y&&b==="aria"||void 0,required:y&&b==="native"},isSelected:u,isPressed:c,isDisabled:d,isReadOnly:m,isInvalid:n,validationErrors:i,validationDetails:a}}function Pr(e={}){let{isReadOnly:t}=e,[r,o]=be(e.isSelected,e.defaultSelected||false,e.onChange),[n]=useState(r);function i(l){t||o(l);}function a(){t||o(!r);}return {isSelected:r,defaultSelected:e.defaultSelected??n,setSelected:i,toggle:a}}var Yc={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var NP={"ar-AE":{alpha:"\u0623\u0644\u0641\u0627",black:"\u0623\u0633\u0648\u062F",blue:"\u0623\u0632\u0631\u0642","blue purple":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642",brightness:"\u0627\u0644\u0633\u0637\u0648\u0639",brown:"\u0628\u0646\u064A","brown yellow":"\u0623\u0635\u0641\u0631 \u0628\u0646\u064A",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0633\u0645\u0627\u0648\u064A","cyan blue":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A",dark:"\u062F\u0627\u0643\u0646",gray:"\u0631\u0645\u0627\u062F\u064A",grayish:"\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A",green:"\u0623\u062E\u0636\u0631","green cyan":"\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631",hue:"\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646",light:"\u0641\u0627\u062A\u062D",lightness:"\u0627\u0644\u0625\u0636\u0627\u0621\u0629",magenta:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","magenta pink":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A",orange:"\u0628\u0631\u062A\u0642\u0627\u0644\u064A","orange yellow":"\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A",pale:"\u0628\u0627\u0647\u062A",pink:"\u0648\u0631\u062F\u064A","pink red":"\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A",purple:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","purple magenta":"\u0628\u0646\u0641\u0633\u062C\u064A",red:"\u0623\u062D\u0645\u0631","red orange":"\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631",saturation:"\u0627\u0644\u062A\u0634\u0628\u0639",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u0634\u0641\u0627\u0641`,"very dark":"\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627","very light":"\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627",vibrant:"\u0633\u0627\u0637\u0639",white:"\u0623\u0628\u064A\u0636",yellow:"\u0623\u0635\u0641\u0631","yellow green":"\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631"},"bg-BG":{alpha:"\u0410\u043B\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u043E",blue:"\u0421\u0438\u043D\u044C\u043E","blue purple":"\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442",brown:"\u043A\u0430\u0444\u044F\u0432\u043E","brown yellow":"\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0446\u0438\u0430\u043D","cyan blue":"\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E",dark:"\u0442\u044A\u043C\u043D\u043E",gray:"\u0441\u0438\u0432\u043E",grayish:"\u0441\u0438\u0432\u043A\u0430\u0432",green:"\u0417\u0435\u043B\u0435\u043D\u043E","green cyan":"\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D",hue:"\u041E\u0442\u0442\u0435\u043D\u044A\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u043E",lightness:"\u041B\u0435\u043A\u043E\u0442\u0430",magenta:"\u043C\u0430\u0433\u0435\u043D\u0442\u0430","magenta pink":"\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E",pale:"\u0431\u043B\u0435\u0434\u043E",pink:"\u0440\u043E\u0437\u043E\u0432\u043E","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E",purple:"\u043B\u0438\u043B\u0430\u0432\u043E","purple magenta":"\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430",red:"\u0427\u0435\u0440\u0432\u0435\u043D\u043E","red orange":"\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B",saturation:"\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,"very dark":"\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E","very light":"\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E",vibrant:" \u044F\u0440\u043A\u043E",white:"\u0431\u044F\u043B\u043E",yellow:"\u0436\u044A\u043B\u0442\u043E","yellow green":"\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D"},"cs-CZ":{alpha:"Alfa",black:"\u010Dern\xE1",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hn\u011Bd\xE1","brown yellow":"hn\u011Bdo\u017Elut\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"tyrkysov\xE1","cyan blue":"tyrkysovomodr\xE1",dark:"tmav\xE1",gray:"\u0161ed\xE1",grayish:"na\u0161edl\xE1",green:"Zelen\xE1","green cyan":"zelenotyrkysov\xE1",hue:"Odst\xEDn",light:"sv\u011Btl\xE1",lightness:"Sv\u011Btlost",magenta:"purpurov\xE1","magenta pink":"purpurov\u011B r\u016F\u017Eov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elut\xE1",pale:"bled\xE1",pink:"r\u016F\u017Eov\xE1","pink red":"r\u016F\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\u011B purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"Sytost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} pr\u016Fhledn\xE9`,"very dark":"velmi tmav\xE1","very light":"velmi sv\u011Btl\xE1",vibrant:"z\xE1\u0159iv\xE1",white:"b\xEDl\xE1",yellow:"\u017Elut\xE1","yellow green":"\u017Elutozelen\xE1"},"da-DK":{alpha:"Alfa",black:"sort",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyan bl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5lig",green:"Gr\xF8n","green cyan":"gr\xF8n cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyser\xF8d","pink red":"lyser\xF8dlig r\xF8d",purple:"lilla","purple magenta":"lilla magenta",red:"R\xF8d","red orange":"r\xF8dorange",saturation:"Farvem\xE6tning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gennemsigtig`,"very dark":"meget m\xF8rk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgr\xF8n"},"de-DE":{alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gr\xE4uliches",green:"Gr\xFCn","green cyan":"Gr\xFCncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"S\xE4ttigung",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, zu ${e.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Wei\xDF",yellow:"Gelb","yellow green":"Gelbgr\xFCn"},"el-GR":{alpha:"\u0386\u03BB\u03C6\u03B1",black:"\u03BC\u03B1\u03CD\u03C1\u03BF",blue:"\u039C\u03C0\u03BB\u03B5","blue purple":"\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2",brightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",brown:"\u03BA\u03B1\u03C6\u03AD","brown yellow":"\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u03BA\u03C5\u03B1\u03BD\u03CC","cyan blue":"\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5",dark:"\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF",gray:"\u03B3\u03BA\u03C1\u03B9",grayish:"\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC",green:"\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF","green cyan":"\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC",hue:"\u03A4\u03CC\u03BD\u03BF\u03C2",light:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",lightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",magenta:"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1","magenta pink":"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6",orange:"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF","orange yellow":"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",pale:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",pink:"\u03C1\u03BF\u03B6","pink red":"\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF",purple:"\u03BC\u03C9\u03B2","purple magenta":"\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1",red:"\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF","red orange":"\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF",saturation:"\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,"very dark":"\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF","very light":"\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",vibrant:"\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF",white:"\u03BB\u03B5\u03C5\u03BA\u03CC",yellow:"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF","yellow green":"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF"},"en-US":{hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"},"es-ES":{alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"p\xFArpura azulado",brightness:"Brillo",brown:"marr\xF3n","brown yellow":"amarillo amarronado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"gris\xE1ceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta viol\xE1ceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturaci\xF3n",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"},"et-EE":{alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ts\xFCaan","cyan blue":"ts\xFCaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"ts\xFCaanroheline",hue:"V\xE4rv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oran\u017E","orange yellow":"oran\u017Eikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoran\u017E",saturation:"K\xFCllastus",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4bipaistev`,"very dark":"v\xE4ga tume","very light":"v\xE4ga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"},"fi-FI":{alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihre\xE4","green cyan":"vihre\xE4nsyaani",hue:"S\xE4vy",light:"vaalea",lightness:"Valom\xE4\xE4r\xE4",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"V\xE4rikyll\xE4isyys",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4pin\xE4kyv\xE4`,"very dark":"hyvin tumma","very light":"eritt\xE4in vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihre\xE4"},"fr-FR":{alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosit\xE9",brown:"Brun","brown yellow":"Jaune brun",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Gris\xE2tre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosit\xE9",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orang\xE9",pale:"P\xE2le",pink:"Rose","pink red":"Rouge ros\xE9",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"Tr\xE8s sombre","very light":"Tr\xE8s clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"},"he-IL":{alpha:"\u05D0\u05DC\u05E4\u05D0",black:"\u05E9\u05D7\u05D5\u05E8",blue:"\u05DB\u05D7\u05D5\u05DC","blue purple":"\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC",brightness:"\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA",brown:"\u05D7\u05D5\u05DD","brown yellow":"\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6","cyan blue":"\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF",dark:"\u05DB\u05D4\u05D4",gray:"\u05D0\u05E4\u05D5\u05E8",grayish:"\u05D0\u05E4\u05E8\u05E4\u05E8",green:"\u05D9\u05E8\u05D5\u05E7","green cyan":"\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7",hue:"\u05D2\u05D5\u05D5\u05DF",light:"\u05D0\u05D5\u05E8",lightness:"\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8",magenta:"\u05DE\u05D2'\u05E0\u05D8\u05D4","magenta pink":"\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4",orange:"\u05DB\u05EA\u05D5\u05DD","orange yellow":"\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",pale:"\u05D7\u05D9\u05D5\u05D5\u05E8",pink:"\u05D5\u05E8\u05D5\u05D3","pink red":"\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD",purple:"\u05E1\u05D2\u05D5\u05DC","purple magenta":"\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC",red:"\u05D0\u05D3\u05D5\u05DD","red orange":"\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD",saturation:"\u05E8\u05D5\u05D5\u05D9\u05D4",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,"very dark":"\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3","very light":"\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3",vibrant:"\u05EA\u05D5\u05E1\u05E1",white:"\u05DC\u05D1\u05DF",yellow:"\u05E6\u05D4\u05D5\u05D1","yellow green":"\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7"},"hr-HR":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubi\u010Dasta",brightness:"Svjetlina",brown:"sme\u0111a","brown yellow":"sme\u0111e \u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ru\u017Ei\u010Dasta",orange:"naran\u010Dasta","orange yellow":"naran\u010Dasto \u017Euta",pale:"blijeda",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dasto crvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crveno naran\u010Dasta",saturation:"Zasi\u0107enost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"\u017Euto","yellow green":"\u017Euto zelena"},"hu-HU":{alpha:"Alfa",black:"fekete",blue:"K\xE9k","blue purple":"k\xE9k lila",brightness:"F\xE9nyess\xE9g",brown:"barna","brown yellow":"barna s\xE1rga",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\xE1nk\xE9k","cyan blue":"ci\xE1nk\xE9k",dark:"s\xF6t\xE9t",gray:"sz\xFCrke",grayish:"sz\xFCrk\xE9s",green:"Z\xF6ld","green cyan":"z\xF6ld ci\xE1nk\xE9k",hue:"Sz\xEDn\xE1rnyalat",light:"vil\xE1gos",lightness:"Vil\xE1goss\xE1g",magenta:"b\xEDbor","magenta pink":"b\xEDbor r\xF3zsasz\xEDn",orange:"narancs","orange yellow":"narancss\xE1rga",pale:"halv\xE1ny",pink:"r\xF3zsasz\xEDn","pink red":"r\xF3zsasz\xEDn piros",purple:"lila","purple magenta":"lila b\xEDbor",red:"Piros","red orange":"piros narancs",saturation:"Tel\xEDtetts\xE9g",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \xE1tl\xE1tsz\xF3`,"very dark":"nagyon s\xF6t\xE9t","very light":"nagyon vil\xE1gos",vibrant:"\xE9l\xE9nk",white:"feh\xE9r",yellow:"s\xE1rga","yellow green":"s\xE1rga z\xF6ld"},"it-IT":{alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosit\xE0",brown:"marrone","brown yellow":"giallo bruno",colorName:e=>`${e.hue} ${e.chroma} ${e.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalit\xE0",light:"chiaro",lightness:"Luminosit\xE0",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:e=>`${e.hue} ${e.chroma} ${e.lightness}, trasparenza ${e.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"},"ja-JP":{alpha:"\u30A2\u30EB\u30D5\u30A1",black:"\u30D6\u30E9\u30C3\u30AF",blue:"\u9752","blue purple":"\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB",brightness:"\u660E\u308B\u3055",brown:"\u30D6\u30E9\u30A6\u30F3","brown yellow":"\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u30B7\u30A2\u30F3","cyan blue":"\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC",dark:"\u30C0\u30FC\u30AF",gray:"\u30B0\u30EC\u30FC",grayish:"\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5",green:"\u7DD1","green cyan":"\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3",hue:"\u8272\u76F8",light:"\u30E9\u30A4\u30C8",lightness:"\u660E\u5EA6",magenta:"\u30DE\u30BC\u30F3\u30BF","magenta pink":"\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF",orange:"\u30AA\u30EC\u30F3\u30B8","orange yellow":"\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC",pale:"\u30DA\u30FC\u30EB",pink:"\u30D4\u30F3\u30AF","pink red":"\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9",purple:"\u30D1\u30FC\u30D7\u30EB","purple magenta":"\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF",red:"\u8D64","red orange":"\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8",saturation:"\u5F69\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u6700\u3082\u6697\u3044","very light":"\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8",vibrant:"\u9BAE\u3084\u304B",white:"\u30DB\u30EF\u30A4\u30C8",yellow:"\u30A4\u30A8\u30ED\u30FC","yellow green":"\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3"},"ko-KR":{alpha:"\uC54C\uD30C",black:"\uAC80\uC740\uC0C9",blue:"\uD30C\uB791","blue purple":"\uCCAD\uC790\uC0C9",brightness:"\uBA85\uB3C4",brown:"\uAC08\uC0C9","brown yellow":"\uD669\uAC08\uC0C9",colorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}`,cyan:"\uCCAD\uB85D\uC0C9","cyan blue":"\uCCAD\uB85D\uC0C9",dark:"\uB2E4\uD06C",gray:"\uD68C\uC0C9",grayish:"\uD68C\uAC08\uC0C9",green:"\uCD08\uB85D","green cyan":"\uCCAD\uB85D\uC0C9",hue:"\uC0C9\uC870",light:"\uB77C\uC774\uD2B8",lightness:"\uBC1D\uAE30",magenta:"\uC790\uD64D\uC0C9","magenta pink":"\uB9C8\uC820\uD0C0 \uD551\uD06C",orange:"\uC8FC\uD669\uC0C9","orange yellow":"\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791",pale:"\uD759\uC0C9",pink:"\uBD84\uD64D\uC0C9","pink red":"\uD551\uD06C \uB808\uB4DC",purple:"\uC790\uC8FC\uC0C9","purple magenta":"\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9",red:"\uBE68\uAC15","red orange":"\uBD89\uC740 \uC8FC\uD669\uC0C9",saturation:"\uCC44\uB3C4",transparentColorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}, ${e.percentTransparent} \uD22C\uBA85\uB3C4`,"very dark":"\uB9E4\uC6B0 \uC5B4\uB450\uC6B4","very light":"\uB9E4\uC6B0 \uC5F0\uD568",vibrant:"\uAC15\uB82C\uD55C",white:"\uD770\uC0C9",yellow:"\uB178\uB780\uC0C9","yellow green":"\uC5F0\uB450\uC0C9"},"lt-LT":{alpha:"Alfa",black:"juoda",blue:"M\u0117lyna","blue purple":"melsvai violetin\u0117",brightness:"Ry\u0161kumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u017Ealsvai m\u0117lyna","cyan blue":"\u017Ealsvai m\u0117lyna",dark:"tamsi",gray:"pilka",grayish:"pilk\u0161va",green:"\u017Dalia","green cyan":"\u017Ealsvai m\u0117lyna",hue:"Atspalvis",light:"\u0161viesi",lightness:"\u0160viesumas",magenta:"rausvai raudona","magenta pink":"purpurin\u0117",orange:"oran\u017Ein\u0117","orange yellow":"oran\u017Einio atspalvio geltona",pale:"bly\u0161ki",pink:"ro\u017Ein\u0117","pink red":"ro\u017Ein\u0117 raudona",purple:"violetin\u0117","purple magenta":"purpurin\u0117 rausvai raudona",red:"Raudona","red orange":"rausvai oran\u017Ein\u0117",saturation:"\u012Esotinimas",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai \u0161viesi",vibrant:"ry\u0161ki",white:"balta",yellow:"geltona","yellow green":"gelsvai \u017Ealia"},"lv-LV":{alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"br\u016Bns","brown yellow":"br\u016Bni dzeltens",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\u0101ns","cyan blue":"ci\u0101na zils",dark:"tum\u0161s",gray:"pel\u0113ks",grayish:"pel\u0113c\u012Bgs",green:"Za\u013Ca","green cyan":"za\u013C\u0161 ci\u0101ns",hue:"Nokr\u0101sa",light:"gai\u0161s",lightness:"Gai\u0161ums",magenta:"fuksiju","magenta pink":"fuksiju roz\u0101",orange:"oran\u017Es","orange yellow":"oran\u017Ei dzeltens",pale:"b\u0101ls",pink:"roz\u0101","pink red":"roz\u012Bgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkan\u012Bgi oran\u017Es",saturation:"Pies\u0101tin\u0101jums",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} caursp\u012Bd\u012Bgs`,"very dark":"\u013Coti tum\u0161s","very light":"\u013Coti gai\u0161s",vibrant:"ko\u0161s",white:"balts",yellow:"dzeltens","yellow green":"dzelteni za\u013C\u0161"},"nb-NO":{alpha:"Alfa",black:"svart",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF8nn","green cyan":"gr\xF8nncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosar\xF8d",purple:"lilla","purple magenta":"lillamagenta",red:"R\xF8d","red orange":"r\xF8doransje",saturation:"Metning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gjennomsiktig`,"very dark":"sv\xE6rt m\xF8rk","very light":"sv\xE6rt lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgr\xF8nn"},"nl-NL":{alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"},"pl-PL":{alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasno\u015B\u0107",brown:"br\u0105zowy","brown yellow":"br\u0105zowo-\u017C\xF3\u0142ty",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcie\u0144",light:"jasny",lightness:"Jaskrawo\u015B\u0107",magenta:"purpurowy","magenta pink":"purpurowo-r\xF3\u017Cowy",orange:"pomara\u0144czowy","orange yellow":"pomara\u0144czowo-\u017C\xF3\u0142ty",pale:"blady",pink:"r\xF3\u017Cowy","pink red":"r\xF3\u017Cowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomara\u0144czowy",saturation:"Nasycenie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} przezroczysto\u015Bci`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"bia\u0142y",yellow:"\u017C\xF3\u0142ty","yellow green":"\u017C\xF3\u0142to-zielony"},"pt-BR":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"},"pt-PT":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-p\xFArpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"p\xE1lido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"p\xFArpura","purple magenta":"p\xFArpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"},"ro-RO":{alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"\xEEnchis",gray:"gri",grayish:"cenu\u0219iu",green:"Verde","green cyan":"verde bleu",hue:"Nuan\u021B\u0103",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-ro\u0219u",purple:"violet","purple magenta":"violet-fucsia",red:"Ro\u0219u","red orange":"portocaliu-ro\u0219u",saturation:"Satura\u021Bie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"foarte \xEEnchis","very light":"foarte deschis",vibrant:"plin de via\u021B\u0103",white:"alb",yellow:"galben","yellow green":"galben-verde"},"ru-RU":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u044B\u0439",blue:"\u0421\u0438\u043D\u0438\u0439","blue purple":"\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0433\u043E\u043B\u0443\u0431\u043E\u0439","cyan blue":"\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B",dark:"\u0442\u0435\u043C\u043D\u044B\u0439",gray:"\u0441\u0435\u0440\u044B\u0439",grayish:"\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u044B\u0439","green cyan":"\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439",hue:"\u041E\u0442\u0442\u0435\u043D\u043E\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u044B\u0439",lightness:"\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",pale:"\u0431\u043B\u0435\u0434\u043D\u044B\u0439",pink:"\u0440\u043E\u0437\u043E\u0432\u044B\u0439","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439",purple:"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439","purple magenta":"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439",red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439","red orange":"\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439",saturation:"\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439","very light":"\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439",vibrant:"\u044F\u0440\u043A\u0438\u0439",white:"\u0431\u0435\u043B\u044B\u0439",yellow:"\u0436\u0435\u043B\u0442\u044B\u0439","yellow green":"\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439"},"sk-SK":{alpha:"Alfa",black:"\u010Dierna",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hned\xE1","brown yellow":"hnedo\u017Elt\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"az\xFArov\xE1","cyan blue":"az\xFArov\xE1 modr\xE1",dark:"tmav\xE1",gray:"siv\xE1",grayish:"sivast\xE1",green:"Zelen\xE1","green cyan":"zelen\xE1 az\xFArov\xE1",hue:"Odtie\u0148",light:"svetl\xE1",lightness:"Svetlos\u0165",magenta:"purpurov\xE1","magenta pink":"ru\u017Eov\xE1 purpurov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elt\xE1",pale:"bled\xE1",pink:"ru\u017Eov\xE1","pink red":"ru\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\xE1 purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"S\xFDtos\u0165",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prieh\u013Eadn\xE1`,"very dark":"ve\u013Emi tmav\xE1","very light":"ve\u013Emi svetl\xE1",vibrant:"energick\xE1",white:"biela",yellow:"\u017Elt\xE1","yellow green":"\u017Eltozelen\xE1"},"sl-SI":{alpha:"Alfa",black:"\u010Drna",blue:"Modra","blue purple":"modro vijoli\u010Dna",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"\u0161krlatna","magenta pink":"\u0161krlatno roza",orange:"oran\u017Ena","orange yellow":"oran\u017Eno rumena",pale:"bleda",pink:"roza","pink red":"roza rde\u010Da",purple:"vijoli\u010Dna","purple magenta":"vijoli\u010Dno \u0161krlatna",red:"Rde\u010Da","red orange":"rde\u010De oran\u017Ena",saturation:"Nasi\u010Denost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"\u017Eivahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"},"sr-SP":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubi\u010Dasta",brightness:"Osvetljenost",brown:"sme\u0111a","brown yellow":"sme\u0111e\u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ru\u017Ei\u010Dasta",orange:"narand\u017Easta","orange yellow":"narand\u017Easto\u017Euta",pale:"bledo",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dastocrvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crvenonarand\u017Easta",saturation:"Zasi\u0107enje",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"\u017Eivopisna",white:"bela",yellow:"\u017Euto","yellow green":"\u017Eutozelena"},"sv-SE":{alpha:"Alfa",black:"svart",blue:"Bl\xE5tt","blue purple":"bl\xE5lila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF6rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF6nt","green cyan":"gr\xF6n cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosar\xF6d",purple:"lila","purple magenta":"lila magenta",red:"R\xF6tt","red orange":"r\xF6dorange",saturation:"M\xE4ttnad",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} genomskinlig`,"very dark":"mycket m\xF6rk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgr\xF6n"},"tr-TR":{alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlakl\u0131k",brown:"kahverengi","brown yellow":"kahverengi sar\u0131",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"camg\xF6be\u011Fi","cyan blue":"camg\xF6be\u011Fi mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Ye\u015Fil","green cyan":"ye\u015Fil camg\xF6be\u011Fi",hue:"Ton",light:"a\xE7\u0131k",lightness:"Canl\u0131l\u0131k",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sar\u0131",pale:"solgun",pink:"pembe","pink red":"pembe k\u0131rm\u0131z\u0131",purple:"mor","purple magenta":"mor eflatun",red:"K\u0131rm\u0131z\u0131","red orange":"k\u0131rm\u0131z\u0131 portakal",saturation:"Doygunluk",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} saydam`,"very dark":"\xE7ok koyu","very light":"\xE7ok a\xE7\u0131k",vibrant:"canl\u0131",white:"beyaz",yellow:"sar\u0131","yellow green":"sar\u0131 ye\u015Fil"},"uk-UA":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u043E\u0440\u043D\u0438\u0439",blue:"\u0421\u0438\u043D\u0456\u0439","blue purple":"\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439",brightness:"\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439","cyan blue":"\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",dark:"\u0442\u0435\u043C\u043D\u0438\u0439",gray:"\u0441\u0456\u0440\u0438\u0439",grayish:"\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439","green cyan":"\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",hue:"\u0422\u043E\u043D",light:"\u0441\u0432\u0456\u0442\u043B\u0438\u0439",lightness:"\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439",orange:"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439","orange yellow":"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",pale:"\u0431\u043B\u0456\u0434\u0438\u0439",pink:"\u0440\u043E\u0436\u0435\u0432\u0438\u0439","pink red":"\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439",purple:"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439","purple magenta":"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439","red orange":"\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439",saturation:"\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439","very light":"\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439",vibrant:"\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439",white:"\u0431\u0456\u043B\u0438\u0439",yellow:"\u0436\u043E\u0432\u0442\u0438\u0439","yellow green":"\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439"},"zh-CN":{alpha:"Alpha",black:"\u9ED1\u8272",blue:"\u84DD\u8272","blue purple":"\u84DD\u7D2B\u8272",brightness:"\u4EAE\u5EA6",brown:"\u68D5\u8272\u7684","brown yellow":"\u68D5\u9EC4\u8272",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u84DD\u7EFF\u8272","cyan blue":"\u9752\u84DD\u8272",dark:"\u6DF1\u8272",gray:"\u7070\u8272",grayish:"\u6D45\u7070\u8272\u7684",green:"\u7EFF\u8272","green cyan":"\u7EFF\u9752\u8272",hue:"\u8272\u76F8",light:"\u6D45\u8272",lightness:"\u660E\u4EAE\u5EA6",magenta:"\u7D2B\u7EA2\u8272","magenta pink":"\u7D2B\u7C89\u8272",orange:"\u6A59\u8272","orange yellow":"\u6A59\u9EC4\u8272",pale:"\u82CD\u767D\u7684",pink:"\u7C89\u8272","pink red":"\u7C89\u7EA2\u8272",purple:"\u7D2B\u8272","purple magenta":"\u7D2B\u6D0B\u7EA2\u8272",red:"\u7EA2\u8272","red orange":"\u7EA2\u6A59\u8272",saturation:"\u9971\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6D45",vibrant:"\u751F\u673A\u52C3\u52C3",white:"\u767D\u8272",yellow:"\u9EC4\u8272","yellow green":"\u9EC4\u8272/\u7EFF\u8272"},"zh-TW":{alpha:"Alpha",black:"\u9ED1",blue:"\u85CD\u8272","blue purple":"\u85CD\u7D2B",brightness:"\u4EAE\u5EA6",brown:"\u68D5","brown yellow":"\u68D5\u9EC3",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u9752","cyan blue":"\u9752\u85CD",dark:"\u6697",gray:"\u7070",grayish:"\u504F\u7070",green:"\u7DA0\u8272","green cyan":"\u9752\u7DA0",hue:"\u8272\u76F8",light:"\u6DFA",lightness:"\u660E\u4EAE",magenta:"\u6D0B\u7D05","magenta pink":"\u6DFA\u6D0B\u7D05",orange:"\u6A59","orange yellow":"\u6A59\u9EC3",pale:"\u6DE1",pink:"\u7C89\u7D05","pink red":"\u7C89\u7D05",purple:"\u7D2B","purple magenta":"\u7D2B\u6D0B\u7D05",red:"\u7D05\u8272","red orange":"\u6A59\u7D05",saturation:"\u98FD\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6DFA",vibrant:"\u9BAE\u8C54",white:"\u767D",yellow:"\u9EC3","yellow green":"\u9EC3\u7DA0"}};var Yy=new At(NP);function ke(e){let t=bs.parse(e)||gs.parse(e)||hs.parse(e);if(t)return t;throw new Error("Invalid color value: "+e)}function Yo(e){return typeof e=="string"?ke(e):e}function BP(e){return e===360?e:(e%360+360)%360}var OP=.68,RF=.85,FP=.55,KP=.001,Zy=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]],ys=class{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(t){if(t in this)return this[t];throw new Error("Unsupported color channel: "+t)}withChannelValue(t,r){if(t in this){let o=this.clone();return o[t]=r,o}throw new Error("Unsupported color channel: "+t)}getChannelName(t,r){return (At.getGlobalDictionaryForPackage("@react-stately/color")||Yy).getStringForLocale(t,r)}getColorSpaceAxes(t){let{xChannel:r,yChannel:o}=t,n=r||this.getColorChannels().find(l=>l!==o),i=o||this.getColorChannels().find(l=>l!==n),a=this.getColorChannels().find(l=>l!==n&&l!==i);return {xChannel:n,yChannel:i,zChannel:a}}getColorName(t){let[r,o,n]=VP(this),i=At.getGlobalDictionaryForPackage("@react-stately/color")||Yy;if(r>.999)return i.getStringForLocale("white",t);if(r<.001)return i.getStringForLocale("black",t);let a;[a,r]=this.getOklchHue(r,o,n,t);let l="",s="";o<=.1&&o>=KP?r>=.7?s="pale":s="grayish":o>=.15&&(s="vibrant"),r<.3?l="very dark":r<FP?l="dark":r<.7||(r<.85?l="light":l="very light"),s&&(s=i.getStringForLocale(s,t)),l&&(l=i.getStringForLocale(l,t));let u=this.getChannelValue("alpha"),c=new po(t,i);if(u<1){let d=new Bt(t,{style:"percent"}).format(1-u);return c.format("transparentColorName",{lightness:l,chroma:s,hue:a,percentTransparent:d}).replace(/\s+/g," ").trim()}else return c.format("colorName",{lightness:l,chroma:s,hue:a}).replace(/\s+/g," ").trim()}getOklchHue(t,r,o,n){let i=At.getGlobalDictionaryForPackage("@react-stately/color")||Yy;if(r<KP)return [i.getStringForLocale("gray",n),t];for(let a=0;a<Zy.length;a++){let[l,s]=Zy[a],[u,c]=Zy[a+1]||[360,"pink"];if(o>=l&&o<u)return s==="orange"&&(t<OP?s="brown":t=t-OP+FP),o>l+(u-l)/2&&s!==c?s=`${s} ${c}`:s==="yellow"&&t<RF&&(s="yellow green"),[i.getStringForLocale(s,n).toLocaleLowerCase(n),t]}throw new Error("Unexpected hue")}getHueName(t){let[r,o,n]=VP(this),[i]=this.getOklchHue(r,o,n,t);return i}},bs=class e extends ys{constructor(r,o,n,i){super();this.red=r;this.green=o;this.blue=n;this.alpha=i;}static parse(r){let o=[];if(/^#[\da-f]+$/i.test(r)&&[4,5,7,9].includes(r.length)){let i=(r.length<6?r.replace(/[^#]/gi,"$&$&"):r).slice(1).split("");for(;i.length>0;)o.push(parseInt(i.splice(0,2).join(""),16));o[3]=o[3]!==void 0?o[3]/255:void 0;}let n=r.match(/^rgba?\((.*)\)$/);if(n?.[1]&&(o=n[1].split(",").map(i=>Number(i.trim())),o=o.map((i,a)=>Ne(i??0,0,a<3?255:1))),!(o[0]===void 0||o[1]===void 0||o[2]===void 0))return o.length<3?void 0:new e(o[0],o[1],o[2],o[3]??1)}toString(r="css"){switch(r){case "hex":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case "hexa":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case "rgb":return `rgb(${this.red}, ${this.green}, ${this.blue})`;case "css":case "rgba":return `rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(r).toString(r)}}toFormat(r){switch(r){case "hex":case "hexa":case "rgb":case "rgba":return this;case "hsb":case "hsba":return this.toHSB();case "hsl":case "hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+r)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){let r=this.red/255,o=this.green/255,n=this.blue/255,i=Math.min(r,o,n),a=Math.max(r,o,n),l=a-i,s=a===0?0:l/a,u=0;if(l!==0){switch(a){case r:u=(o-n)/l+(o<n?6:0);break;case o:u=(n-r)/l+2;break;case n:u=(r-o)/l+4;break}u/=6;}return new gs(et(u*360,2),et(s*100,2),et(a*100,2),this.alpha)}toHSL(){let r=this.red/255,o=this.green/255,n=this.blue/255,i=Math.min(r,o,n),a=Math.max(r,o,n),l=(a+i)/2,s=a-i,u,c;if(s===0)u=c=0;else {switch(c=s/(l<.5?a+i:2-a-i),a){case r:u=(o-n)/s+(o<n?6:0);break;case o:u=(n-r)/s+2;break;case n:default:u=(r-o)/s+4;break}u/=6;}return new hs(et(u*360,2),et(c*100,2),et(l*100,2),this.alpha)}clone(){return new e(this.red,this.green,this.blue,this.alpha)}getChannelRange(r){switch(r){case "red":case "green":case "blue":return {minValue:0,maxValue:255,step:1,pageSize:17};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+r)}}getChannelFormatOptions(r){switch(r){case "red":case "green":case "blue":return {style:"decimal"};case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+r)}}formatChannelValue(r,o){let n=this.getChannelFormatOptions(r),i=this.getChannelValue(r);return new Bt(o,n).format(i)}getColorSpace(){return "rgb"}static colorChannels=["red","green","blue"];getColorChannels(){return e.colorChannels}},LF=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,gs=class e extends ys{constructor(r,o,n,i){super();this.hue=r;this.saturation=o;this.brightness=n;this.alpha=i;}static parse(r){let o;if(o=r.match(LF)){let[n,i,a,l]=(o[1]??o[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(BP(n),Ne(i,0,100),Ne(a,0,100),Ne(l??1,0,1))}}toString(r="css"){switch(r){case "css":return this.toHSL().toString("css");case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsb":return `hsb(${this.hue}, ${et(this.saturation,2)}%, ${et(this.brightness,2)}%)`;case "hsba":return `hsba(${this.hue}, ${et(this.saturation,2)}%, ${et(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(r).toString(r)}}toFormat(r){switch(r){case "hsb":case "hsba":return this;case "hsl":case "hsla":return this.toHSL();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+r)}}toHSL(){let r=this.saturation/100,o=this.brightness/100,n=o*(1-r/2);return r=n===0||n===1?0:(o-n)/Math.min(n,1-n),new hs(et(this.hue,2),et(r*100,2),et(n*100,2),this.alpha)}toRGB(){let r=this.hue,o=this.saturation/100,n=this.brightness/100,i=(a,l=(a+r/60)%6)=>n-o*n*Math.max(Math.min(l,4-l,1),0);return new bs(Math.round(i(5)*255),Math.round(i(3)*255),Math.round(i(1)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(r){switch(r){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "brightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+r)}}getChannelFormatOptions(r){switch(r){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "brightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+r)}}formatChannelValue(r,o){let n=this.getChannelFormatOptions(r),i=this.getChannelValue(r);return (r==="saturation"||r==="brightness")&&(i/=100),new Bt(o,n).format(i)}getColorSpace(){return "hsb"}static colorChannels=["hue","saturation","brightness"];getColorChannels(){return e.colorChannels}},MF=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,hs=class e extends ys{constructor(r,o,n,i){super();this.hue=r;this.saturation=o;this.lightness=n;this.alpha=i;}static parse(r){let o;if(o=r.match(MF)){let[n,i,a,l]=(o[1]??o[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(BP(n),Ne(i,0,100),Ne(a,0,100),Ne(l??1,0,1))}}toString(r="css"){switch(r){case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsl":return `hsl(${this.hue}, ${et(this.saturation,2)}%, ${et(this.lightness,2)}%)`;case "css":case "hsla":return `hsla(${this.hue}, ${et(this.saturation,2)}%, ${et(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(r).toString(r)}}toFormat(r){switch(r){case "hsl":case "hsla":return this;case "hsb":case "hsba":return this.toHSB();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+r)}}toHSB(){let r=this.saturation/100,o=this.lightness/100,n=o+r*Math.min(o,1-o);return r=n===0?0:2*(1-o/n),new gs(et(this.hue,2),et(r*100,2),et(n*100,2),this.alpha)}toRGB(){let r=this.hue,o=this.saturation/100,n=this.lightness/100,i=o*Math.min(n,1-n),a=(l,s=(l+r/30)%12)=>n-i*Math.max(Math.min(s-3,9-s,1),-1);return new bs(Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(r){switch(r){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "lightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+r)}}getChannelFormatOptions(r){switch(r){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "lightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+r)}}formatChannelValue(r,o){let n=this.getChannelFormatOptions(r),i=this.getChannelValue(r);return (r==="saturation"||r==="lightness")&&(i/=100),new Bt(o,n).format(i)}getColorSpace(){return "hsl"}static colorChannels=["hue","saturation","lightness"];getColorChannels(){return e.colorChannels}};function VP(e){let t=e.toFormat("rgb"),r=t.getChannelValue("red")/255,o=t.getChannelValue("green")/255,n=t.getChannelValue("blue")/255;[r,o,n]=NF(r,o,n);let[i,a,l]=OF(r,o,n),[s,u,c]=FF(i,a,l);return AF(s,u,c)}function AF(e,t,r){var o=Math.atan2(r,t)*180/Math.PI;return [e,Math.sqrt(t**2+r**2),o>=0?o:o+360]}function NF(e,t,r){return [Jy(e),Jy(t),Jy(r)]}function Jy(e){let t=e<0?-1:1,r=Math.abs(e);return r<=.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)}function OF(e,t,r){return Qy([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],e,t,r)}function FF(e,t,r){let o=[.819022437996703,.3619062600528904,-0.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],n=[.210454268309314,.7936177747023054,-0.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-0.8086757549230774],[i,a,l]=Qy(o,e,t,r);return Qy(n,Math.cbrt(i),Math.cbrt(a),Math.cbrt(l))}function Qy(e,t,r,o){let n=e[0]*t+e[1]*r+e[2]*o,i=e[3]*t+e[4]*r+e[5]*o,a=e[6]*t+e[7]*r+e[8]*o;return [n,i,a]}var KF=ke("#ffffff");function eb(e){let{value:t,defaultValue:r,colorSpace:o,xChannel:n,yChannel:i,onChange:a,onChangeEnd:l}=e;!t&&!r&&(r=KF),t&&(t=Yo(t)),r&&(r=Yo(r));let[s,u]=be(t,r,a),[c]=useState(s),d=useMemo(()=>o&&s?s.toFormat(o):s,[s,o]),m=useRef(d),p=k=>{m.current=k,u(k);},y=useMemo(()=>d.getColorSpaceAxes({xChannel:n,yChannel:i}),[d,n,i]),b=d.getChannelRange(y.xChannel),f=d.getChannelRange(y.yChannel),{minValue:h,maxValue:v,step:g,pageSize:x}=b,{minValue:T,maxValue:P,step:S,pageSize:E}=f,[D,I]=useState(false),C=useRef(false),_=d.getChannelValue(y.xChannel),z=d.getChannelValue(y.yChannel),w=k=>{if(k===_)return;let M=d.withChannelValue(y.xChannel,k);p(M);},O=k=>{if(k===z)return;let M=d.withChannelValue(y.yChannel,k);p(M);};return {channels:y,xChannelStep:g,yChannelStep:S,xChannelPageStep:x,yChannelPageStep:E,value:d,defaultValue:t!==void 0?c:r,setValue(k){p(Yo(k));},xValue:_,setXValue:w,yValue:z,setYValue:O,setColorFromPoint(k,M){let F=h+Ne(k,0,1)*(v-h),K=T+(1-Ne(M,0,1))*(P-T),N;F!==_&&(F=Ue(F,h,v,g),N=d.withChannelValue(y.xChannel,F)),K!==z&&(K=Ue(K,T,P,S),N=(N||d).withChannelValue(y.yChannel,K)),N&&p(N);},getThumbPosition(){let k=(_-h)/(v-h),M=1-(z-T)/(P-T);return {x:k,y:M}},incrementX(k=1){w(_+k>v?v:Ue(_+k,h,v,g));},incrementY(k=1){O(z+k>P?P:Ue(z+k,T,P,S));},decrementX(k=1){w(Ue(_-k,h,v,g));},decrementY(k=1){O(Ue(z-k,T,P,S));},setDragging(k){let M=C.current;C.current=k,l&&!k&&M&&l(m.current),I(k);},isDragging:D,getDisplayColor(){return d.withChannelValue("alpha",1)}}}var BF=0,$F=100,HF=1;function Wi(e){let{isDisabled:t=false,minValue:r=BF,maxValue:o=$F,numberFormatter:n,step:i=HF,orientation:a="horizontal"}=e,l=useMemo(()=>{let A=(o-r)/10;return A=Ue(A,0,A+i,i),Math.max(A,i)},[i,o,r]),s=useCallback(A=>A?.map((B,U)=>{let oe=U===0?r:A[U-1],G=U===A.length-1?o:A[U+1];return Ue(B,oe,G,i)}),[r,o,i]),u=useMemo(()=>s(UP(e.value)),[e.value,s]),c=useMemo(()=>s(UP(e.defaultValue)??[r]),[e.defaultValue,r,s]),d=WP(e.value,e.defaultValue,e.onChange),m=WP(e.value,e.defaultValue,e.onChangeEnd),[p,y]=be(u,c,d),[b]=useState(p),[f,h]=useState(new Array(p.length).fill(false)),v=useRef(new Array(p.length).fill(true)),[g,x]=useState(void 0),T=useRef(p),P=useRef(f),S=A=>{T.current=A,y(A);},E=A=>{P.current=A,h(A);};function D(A){return (A-r)/(o-r)}function I(A){return A===0?r:p[A-1]}function C(A){return A===p.length-1?o:p[A+1]}function _(A){return v.current[A]}function z(A,B){v.current[A]=B;}function w(A,B){if(t||!_(A))return;let U=I(A),oe=C(A);B=Ue(B,U,oe,i);let G=GP(T.current,A,B);S(G);}function O(A,B){if(t||!_(A))return;B&&(T.current=p);let U=P.current[A];P.current=GP(P.current,A,B),E(P.current),m&&U&&!P.current.some(Boolean)&&m(T.current);}function k(A){return n.format(A)}function M(A,B){w(A,K(B));}function F(A){return Math.round((A-r)/i)*i+r}function K(A){let B=A*(o-r)+r;return Ne(F(B),r,o)}function N(A,B=1){let U=Math.max(B,i);w(A,Ue(p[A]+U,r,o,i));}function $(A,B=1){let U=Math.max(B,i);w(A,Ue(p[A]-U,r,o,i));}return {values:p,defaultValues:e.defaultValue!==void 0?c:b,getThumbValue:A=>p[A],setThumbValue:w,setThumbPercent:M,isThumbDragging:A=>f[A],setThumbDragging:O,focusedThumb:g,setFocusedThumb:x,getThumbPercent:A=>D(p[A]),getValuePercent:D,getThumbValueLabel:A=>k(p[A]),getFormattedValue:k,getThumbMinValue:I,getThumbMaxValue:C,getPercentValue:K,isThumbEditable:_,setThumbEditable:z,incrementThumb:N,decrementThumb:$,step:i,pageSize:l,orientation:a,isDisabled:t}}function GP(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function UP(e){if(e!=null)return Array.isArray(e)?e:[e]}function WP(e,t,r){return o=>{r?.(typeof e=="number"||typeof t=="number"?o[0]:o);}}function nb(e){let{channel:t,colorSpace:r,value:o,defaultValue:n,onChange:i,locale:a,...l}=e;if(o==null&&n==null)throw new Error("useColorSliderState requires a value or defaultValue");o&&(o=Yo(o)),n&&(n=Yo(n));let[s,u]=be(o,n,i),c=useMemo(()=>r&&s?s.toFormat(r):s,[s,r]),[d]=useState(s),m=n??d,p=useMemo(()=>r&&m?m.toFormat(r):m,[m,r]),y=Wi({...c.getChannelRange(t),...l,numberFormatter:null,value:c.getChannelValue(t),defaultValue:p.getChannelValue(t),onChange(h){u(c.withChannelValue(t,h));},onChangeEnd(h){e.onChangeEnd&&e.onChangeEnd(c.withChannelValue(t,h));}}),{step:b,pageSize:f}=c.getChannelRange(t);return {...y,value:c,setValue(h){u(Yo(h));},getDisplayColor(){switch(t){case "hue":return ke(`hsl(${c.getChannelValue("hue")}, 100%, 50%)`);case "lightness":case "brightness":case "saturation":case "red":case "green":case "blue":return c.withChannelValue("alpha",1);case "alpha":return c;default:throw new Error("Unknown color channel: "+t)}},getThumbValueLabel(){return c.formatChannelValue(t,a)},step:b,pageSize:f,isDragging:y.isThumbDragging(0)}}function ib(e){return useMemo(()=>{if(typeof e=="string")try{return ke(e)}catch{return}return e},[e])}var Zc=ke("#000000"),YP=ke("#FFFFFF"),WF=Zc.toHexInt(),qF=YP.toHexInt();function lb(e){let{value:t,defaultValue:r,onChange:o}=e,{step:n}=Zc.getChannelRange("red"),i=ib(r),[a,l]=be(ib(t),i,o),[s]=useState(a),[u,c]=useState(()=>(t||r)&&a?a.toString("hex"):""),d=Et({...e,value:a}),m=P=>{if(!a||!P){l(P);return}if(P.toHexInt()!==a.toHexInt()){l(P);return}},[p,y]=useState(a);p!==a&&(c(a?a.toString("hex"):""),y(a));let b=useMemo(()=>{let P;try{P=ke(u.startsWith("#")?u:`#${u}`);}catch{P=null;}return P},[u]);return {...d,validate:P=>P===""||!!P.match(/^#?[0-9a-f]{0,6}$/i)?.[0],colorValue:a,defaultColorValue:i??s,setColorValue:l,inputValue:u,setInputValue:c,commit:()=>{if(!u.length){m(null),c(t===void 0||a===null?"":a.toString("hex"));return}if(b==null){c(a?a.toString("hex"):"");return}m(b);let P="";a&&(P=a.toString("hex")),c(P),d.commitValidation();},increment:()=>{let P=XP(b,n);P===a&&c(P.toString("hex")),m(P),d.commitValidation();},incrementToMax:()=>m(YP),decrement:()=>{let P=XP(b,-n);P===a&&c(P.toString("hex")),m(P),d.commitValidation();},decrementToMin:()=>m(Zc)}}function XP(e,t){let r=e||Zc,o=r.toHexInt(),n=Math.min(Math.max(o+t,WF),qF);if(n!==o){let i=`#${n.toString(16).padStart(6,"0").toUpperCase()}`;r=ke(i);}return r}function qi(e){let{minValue:t,maxValue:r,step:o,formatOptions:n,value:i,defaultValue:a=NaN,onChange:l,locale:s,isDisabled:u,isReadOnly:c}=e;i===null&&(i=NaN),i!==void 0&&!isNaN(i)&&(o!==void 0&&!isNaN(o)?i=Ue(i,t,r,o):i=Ne(i,t,r)),isNaN(a)||(o!==void 0&&!isNaN(o)?a=Ue(a,t,r,o):a=Ne(a,t,r));let[d,m]=be(i,isNaN(a)?NaN:a,l),[p]=useState(d),[y,b]=useState(()=>isNaN(d)?"":new Bt(s,n).format(d)),f=useMemo(()=>new Vo(s,n),[s,n]),h=useMemo(()=>f.getNumberingSystem(y),[f,y]),v=useMemo(()=>new Bt(s,{...n,numberingSystem:h}),[s,n,h]),g=useMemo(()=>v.resolvedOptions(),[v]),x=useCallback(B=>isNaN(B)||B===null?"":v.format(B),[v]),T=Et({...e,value:d}),P=o!==void 0&&!isNaN(o)?o:1;g.style==="percent"&&(o===void 0||isNaN(o))&&(P=.01);let[S,E]=useState(d),[D,I]=useState(s),[C,_]=useState(n);(!Object.is(d,S)||s!==D||n!==C)&&(b(x(d)),E(d),I(s),_(n));let z=useMemo(()=>f.parse(y),[f,y]),w=()=>{if(!y.length){m(NaN),b(i===void 0?"":x(d));return}if(isNaN(z)){b(x(d));return}let B;o===void 0||isNaN(o)?B=Ne(z,t,r):B=Ue(z,t,r,o),B=f.parse(x(B)),m(B),b(x(i===void 0?B:d)),T.commitValidation();},O=(B,U=0)=>{let oe=z;if(isNaN(oe)){let G=isNaN(U)?0:U;return Ue(G,t,r,P)}else {let G=Ue(oe,t,r,P);return B==="+"&&G>oe||B==="-"&&G<oe?G:Ue(sb(B,oe,P),t,r,P)}},k=()=>{let B=O("+",t);B===d&&b(x(B)),m(B),T.commitValidation();},M=()=>{let B=O("-",r);B===d&&b(x(B)),m(B),T.commitValidation();},F=()=>{r!=null&&(m(Ue(r,t,r,P)),T.commitValidation());},K=()=>{t!=null&&(m(t),T.commitValidation());},N=useMemo(()=>!u&&!c&&(isNaN(z)||r===void 0||isNaN(r)||Ue(z,t,r,P)>z||sb("+",z,P)<=r),[u,c,t,r,P,z]),$=useMemo(()=>!u&&!c&&(isNaN(z)||t===void 0||isNaN(t)||Ue(z,t,r,P)<z||sb("-",z,P)>=t),[u,c,t,r,P,z]);return {...T,validate:B=>f.isValidPartialNumber(B,t,r),increment:k,incrementToMax:F,decrement:M,decrementToMin:K,canIncrement:N,canDecrement:$,minValue:t,maxValue:r,numberValue:z,defaultNumberValue:isNaN(a)?p:a,setNumberValue:m,setInputValue:b,inputValue:y,commit:w}}function sb(e,t,r){let o=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){let n=t.toString().split("."),i=r.toString().split("."),a=n[1]&&n[1].length||0,l=i[1]&&i[1].length||0,s=Math.pow(10,Math.max(a,l));t=Math.round(t*s),r=Math.round(r*s),o=e==="+"?t+r:t-r,o/=s;}return o}var ZP=e=>[0,60,120,180,240,300,360].map(t=>e.withChannelValue("hue",t).toString("css")).join(", "),JP=e=>`${e.withChannelValue("saturation",0)}, transparent`,ZF={hue:ZP,saturation:JP,lightness:()=>"black, transparent, white"},JF={hue:ZP,saturation:JP,brightness:()=>"black, transparent"};function QP({direction:e,state:t,zChannel:r,xChannel:o,yChannel:n}){return useMemo(()=>{let a=e==="rtl"?"left":"right",l={},s=t.value.getChannelValue(r);switch(t.value.getColorSpace()){case "rgb":{let m=ke("rgb(0, 0, 0)");l={background:[`linear-gradient(to ${a}, ${m.withChannelValue(o,0)}, ${m.withChannelValue(o,255)})`,`linear-gradient(to top, ${m.withChannelValue(n,0)}, ${m.withChannelValue(n,255)})`,m.withChannelValue(r,s)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let m=t.value.getColorChannels(),p=ke("hsl(0, 100%, 50%)").withChannelValue(r,s),y=m.filter(b=>b!==r).map(b=>`linear-gradient(to ${b===o?a:"top"}, ${ZF[b](p)})`).reverse();r==="hue"&&y.push(p.toString("css")),l={background:y.join(", ")};break}case "hsb":{let m=t.value.getColorChannels(),p=ke("hsb(0, 100%, 100%)").withChannelValue(r,s),y=m.filter(b=>b!==r).map(b=>`linear-gradient(to ${b===o?a:"top"}, ${JF[b](p)})`).reverse();r==="hue"&&y.push(p.toString("css")),l={background:y.join(", ")};break}}let{x:u,y:c}=t.getThumbPosition();e==="rtl"&&(u=1-u);let d={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...d,...l}},thumbStyleProps:{style:{position:"absolute",left:`${u*100}%`,top:`${c*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...d}}}},[e,t,r,o,n])}function db(e,t){let{isDisabled:r,inputXRef:o,inputYRef:n,containerRef:i,"aria-label":a,xName:l,yName:s,form:u}=e,c=xe(Yc,"@react-aria/color"),{addGlobalListener:d,removeGlobalListener:m}=tt(),{direction:p,locale:y}=J(),[b,f]=useState(null),h=useCallback((q=o)=>{q.current&&Ke(q.current);},[o]);yt(o,t.defaultValue,t.setValue);let[v,g]=useState(false),[x,T]=useState(false),{xChannel:P,yChannel:S,zChannel:E}=t.channels,D=t.xChannelStep,I=t.yChannelStep,C=useRef(null),{keyboardProps:_}=Ce({onKeyDown(q){if(!/^(PageUp|PageDown|Home|End)$/.test(q.key)){q.continuePropagation();return}q.preventDefault(),t.setDragging(true),g(true);let fe;switch(q.key){case "PageUp":t.incrementY(t.yChannelPageStep),fe="y";break;case "PageDown":t.decrementY(t.yChannelPageStep),fe="y";break;case "Home":p==="rtl"?t.incrementX(t.xChannelPageStep):t.decrementX(t.xChannelPageStep),fe="x";break;case "End":p==="rtl"?t.decrementX(t.xChannelPageStep):t.incrementX(t.xChannelPageStep),fe="x";break}t.setDragging(false),fe&&(h(fe==="x"?o:n),f(fe));}}),z={onMoveStart(){C.current=null,t.setDragging(true);},onMove({deltaX:q,deltaY:fe,pointerType:$e,shiftKey:Rt}){let{incrementX:yr,decrementX:Ao,incrementY:Wt,decrementY:Vt,xChannelPageStep:io,xChannelStep:ao,yChannelPageStep:Wu,yChannelStep:qu,getThumbPosition:Lt,setColorFromPoint:q5}=t;C.current==null&&(C.current=Lt());let{width:X5,height:Y5}=i.current?.getBoundingClientRect()||{width:0,height:0},Qv=q!==0||fe!==0;if($e==="keyboard"){let ex=Rt&&io>ao?io:ao,tx=Rt&&Wu>qu?Wu:qu;q>0&&p==="ltr"||q<0&&p==="rtl"?yr(ex):q<0&&p==="ltr"||q>0&&p==="rtl"?Ao(ex):fe>0?Vt(tx):fe<0&&Wt(tx),g(Qv),b=Qv&&Math.abs(fe)>Math.abs(q)?"y":"x",f(b);}else C.current.x+=(p==="rtl"?-1:1)*q/X5,C.current.y+=fe/Y5,q5(C.current.x,C.current.y);},onMoveEnd(){M.current=false,t.setDragging(false),h(b==="x"?o:n);}},{moveProps:w}=Rr(z),{focusWithinProps:O}=je({onFocusWithinChange:q=>{q||(g(false),T(false));}}),k=useRef(void 0),M=useRef(false),{moveProps:F}=Rr({onMoveStart(){M.current&&z.onMoveStart();},onMove(q){M.current&&z.onMove(q);},onMoveEnd(){M.current&&z.onMoveEnd();}}),K=q=>{let fe=j(i.current);t.isDragging||(k.current=q,g(false),h(),t.setDragging(true),typeof PointerEvent<"u"?d(fe,"pointerup",N,false):(d(fe,"mouseup",N,false),d(fe,"touchend",N,false)));},N=q=>{let fe=j(i.current);(q.pointerId??q.changedTouches?.[0].identifier)===k.current&&(g(false),h(),t.setDragging(false),k.current=void 0,M.current=false,typeof PointerEvent<"u"?m(fe,"pointerup",N,false):(m(fe,"mouseup",N,false),m(fe,"touchend",N,false)));},$=(q,fe,$e,Rt)=>{let yr=q.getBoundingClientRect(),{width:Ao,height:Wt}=yr,Vt=($e-yr.x)/Ao,io=(Rt-yr.y)/Wt;p==="rtl"&&(Vt=1-Vt);let ao=j(i.current);Vt>=0&&Vt<=1&&io>=0&&io<=1&&!t.isDragging&&k.current===void 0&&(M.current=true,g(false),k.current=fe,t.setColorFromPoint(Vt,io),h(),t.setDragging(true),typeof PointerEvent<"u"?d(ao,"pointerup",A,false):(d(ao,"mouseup",A,false),d(ao,"touchend",A,false)));},A=q=>{let fe=q.pointerId??q.changedTouches?.[0].identifier;if(M.current&&fe===k.current){M.current=false,g(false),k.current=void 0,t.setDragging(false),h();let $e=j(i.current);typeof PointerEvent<"u"?m($e,"pointerup",A,false):(m($e,"mouseup",A,false),m($e,"touchend",A,false));}},B=r?{}:R({...typeof PointerEvent<"u"?{onPointerDown:q=>{q.pointerType==="mouse"&&(q.button!==0||q.altKey||q.ctrlKey||q.metaKey)||$(q.currentTarget,q.pointerId,q.clientX,q.clientY);}}:{onMouseDown:q=>{q.button!==0||q.altKey||q.ctrlKey||q.metaKey||$(q.currentTarget,void 0,q.clientX,q.clientY);},onTouchStart:q=>{$(q.currentTarget,q.changedTouches[0].identifier,q.changedTouches[0].clientX,q.changedTouches[0].clientY);}}},F),U=r?{}:R({...typeof PointerEvent<"u"?{onPointerDown:q=>{q.pointerType==="mouse"&&(q.button!==0||q.altKey||q.ctrlKey||q.metaKey)||K(q.pointerId);}}:{onMouseDown:q=>{q.button!==0||q.altKey||q.ctrlKey||q.metaKey||K(void 0);},onTouchStart:q=>{K(q.changedTouches[0].identifier);}}},O,_,w),{focusProps:oe}=bt({onFocus:()=>{f("x");}}),{focusProps:G}=bt({onFocus:()=>{f("y");}}),W=q=>{let{target:fe}=q;T(true),fe===o.current?t.setXValue(parseFloat(fe.value)):fe===n.current&&t.setYValue(parseFloat(fe.value));},ne=Dt()||br(),Q=t.getDisplayColor(),de=useCallback(q=>`${x||v?c.format("colorNameAndValue",{name:Q.getChannelName(q,y),value:Q.formatChannelValue(q,y)}):[c.format("colorNameAndValue",{name:Q.getChannelName(q,y),value:Q.formatChannelValue(q,y)}),c.format("colorNameAndValue",{name:Q.getChannelName(q===S?P:S,y),value:Q.formatChannelValue(q===S?P:S,y)}),c.format("colorNameAndValue",{name:Q.getChannelName(E,y),value:Q.formatChannelValue(E,y)})].join(", ")}, ${Q.getColorName(y)}`,[y,Q,c,x,v,P,S,E]),he=c.format("colorPicker"),Ae=lt({...e,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:he}):he}),it=lt({...e,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:he}):he}),Pe=lt({...e,"aria-label":a?`${a}, ${he}`:void 0},ne?he:void 0),Te=c.format("twoDimensionalSlider"),{visuallyHiddenProps:Qe}=ur({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:Fe,thumbStyleProps:we}=QP({direction:p,state:t,xChannel:P,yChannel:S,zChannel:E});return {colorAreaProps:{...Pe,...B,...Fe,role:"group"},thumbProps:{...U,...we,role:"presentation"},xInputProps:{...Ae,...Qe,...oe,type:"range",min:t.value.getChannelRange(P).minValue,max:t.value.getChannelRange(P).maxValue,step:D,"aria-roledescription":Te,"aria-valuetext":de(P),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:r,value:t.value.getChannelValue(P),name:l,form:u,tabIndex:ne||!b||b==="x"?void 0:-1,"aria-hidden":ne||!b||b==="x"||v?void 0:"true",onChange:W},yInputProps:{...it,...Qe,...G,type:"range",min:t.value.getChannelRange(S).minValue,max:t.value.getChannelRange(S).maxValue,step:I,"aria-roledescription":Te,"aria-valuetext":de(S),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:r,value:t.value.getChannelValue(S),name:s,form:u,tabIndex:ne||b==="y"?void 0:-1,"aria-hidden":ne||b==="y"||v?void 0:"true",onChange:W}}}var xs=new WeakMap;function Ts(e,t){let r=xs.get(e);if(!r)throw new Error("Unknown slider state");return `${r.id}-${t}`}function Xi(e,t,r){let{labelProps:o,fieldProps:n}=vt(e),i=e.orientation==="vertical";xs.set(t,{id:o.id??n.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:a}=J(),{addGlobalListener:l,removeGlobalListener:s}=tt(),u=useRef(null),c=a==="rtl",d=useRef(null),{moveProps:m}=Rr({onMoveStart(){d.current=null;},onMove({deltaX:f,deltaY:h}){if(!r.current)return;let{height:v,width:g}=r.current.getBoundingClientRect(),x=i?v:g;d.current==null&&u.current!=null&&(d.current=t.getThumbPercent(u.current)*x);let T=i?h:f;if((i||c)&&(T=-T),d.current+=T,u.current!=null&&r.current){let P=Ne(d.current/x,0,1);t.setThumbPercent(u.current,P);}},onMoveEnd(){u.current!=null&&(t.setThumbDragging(u.current,false),u.current=null);}}),p=useRef(void 0),y=(f,h,v,g)=>{if(r.current&&!e.isDisabled&&t.values.every((x,T)=>!t.isThumbDragging(T))){let x=j(f.currentTarget),{height:T,width:P,top:S,left:E}=r.current.getBoundingClientRect(),D=i?T:P,z=((i?g:v)-(i?S:E))/D;(a==="rtl"||i)&&(z=1-z);let w=t.getPercentValue(z),O,k=t.values.findIndex(M=>w-M<0);if(k===0)O=k;else if(k===-1)O=t.values.length-1;else {let M=t.values[k-1],F=t.values[k];Math.abs(M-w)<Math.abs(F-w)?O=k-1:O=k;}O>=0&&t.isThumbEditable(O)?(f.preventDefault(),u.current=O,t.setFocusedThumb(O),p.current=h,t.setThumbDragging(u.current,true),t.setThumbValue(O,w),l(x,"mouseup",b,false),l(x,"touchend",b,false),l(x,"pointerup",b,false)):u.current=null;}},b=f=>{let h=f.pointerId??f.changedTouches?.[0].identifier,v=j(f.currentTarget);h===p.current&&(u.current!=null&&(t.setThumbDragging(u.current,false),u.current=null),s(v,"mouseup",b,false),s(v,"touchend",b,false),s(v,"pointerup",b,false));};return "htmlFor"in o&&o.htmlFor&&(delete o.htmlFor,o.onClick=f=>{H(f.currentTarget).getElementById(Ts(t,0))?.focus(),vr("keyboard");}),{labelProps:o,groupProps:{role:"group",...n},trackProps:R({onMouseDown(f){f.button!==0||f.altKey||f.ctrlKey||f.metaKey||y(f,void 0,f.clientX,f.clientY);},onPointerDown(f){f.pointerType==="mouse"&&(f.button!==0||f.altKey||f.ctrlKey||f.metaKey)||y(f,f.pointerId,f.clientX,f.clientY);},onTouchStart(f){y(f,f.changedTouches[0].identifier,f.changedTouches[0].clientX,f.changedTouches[0].clientY);},style:{position:"relative",touchAction:"none"}},m),outputProps:{htmlFor:t.values.map((f,h)=>Ts(t,h)).join(" "),"aria-live":"off"}}}function Yi(e,t){let{index:r=0,isRequired:o,validationState:n,isInvalid:i,trackRef:a,inputRef:l,orientation:s=t.orientation,name:u,form:c}=e,d=e.isDisabled||t.isDisabled,m=s==="vertical",{direction:p}=J(),{addGlobalListener:y,removeGlobalListener:b}=tt(),f=xs.get(t),{labelProps:h,fieldProps:v}=vt({...e,id:Ts(t,r),"aria-labelledby":`${f.id} ${e["aria-labelledby"]??""}`.trim()}),g=t.values[r],x=useCallback(()=>{l.current&&Ke(l.current);},[l]),T=t.focusedThumb===r;useEffect(()=>{T&&x();},[T,x]);let P=p==="rtl",S=useRef(null),{keyboardProps:E}=Ce({onKeyDown(k){let{getThumbMaxValue:M,getThumbMinValue:F,decrementThumb:K,incrementThumb:N,setThumbValue:$,setThumbDragging:A,pageSize:B}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(k.key)){k.continuePropagation();return}switch(k.preventDefault(),A(r,true),k.key){case "PageUp":N(r,B);break;case "PageDown":K(r,B);break;case "Home":$(r,F(r));break;case "End":$(r,M(r));break}A(r,false);}}),{moveProps:D}=Rr({onMoveStart(){S.current=null,t.setThumbDragging(r,true);},onMove({deltaX:k,deltaY:M,pointerType:F,shiftKey:K}){let{getThumbPercent:N,setThumbPercent:$,decrementThumb:A,incrementThumb:B,step:U,pageSize:oe}=t;if(!a.current)return;let{width:G,height:W}=a.current.getBoundingClientRect(),ne=m?W:G;if(S.current==null&&(S.current=N(r)*ne),F==="keyboard")k>0&&P||k<0&&!P||M>0?A(r,K?oe:U):B(r,K?oe:U);else {let Q=m?M:k;(m||P)&&(Q=-Q),S.current+=Q,$(r,Ne(S.current/ne,0,1));}},onMoveEnd(){t.setThumbDragging(r,false);}});t.setThumbEditable(r,!d);let{focusableProps:I}=Xe(R(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),l),C=useRef(void 0),_=k=>{let M=j(l.current);x(),C.current=k,t.setThumbDragging(r,true),y(M,"mouseup",z,false),y(M,"touchend",z,false),y(M,"pointerup",z,false);},z=k=>{let M=j(l.current);(k.pointerId??k.changedTouches?.[0].identifier)===C.current&&(x(),t.setThumbDragging(r,false),b(M,"mouseup",z,false),b(M,"touchend",z,false),b(M,"pointerup",z,false));},w=t.getThumbPercent(r);(m||p==="rtl")&&(w=1-w);let O=d?{}:R(E,D,{onMouseDown:k=>{k.button!==0||k.altKey||k.ctrlKey||k.metaKey||_();},onPointerDown:k=>{k.button!==0||k.altKey||k.ctrlKey||k.metaKey||_(k.pointerId);},onTouchStart:k=>{_(k.changedTouches[0].identifier);}});return yt(l,t.defaultValues[r],k=>{t.setThumbValue(r,k);}),{inputProps:R(I,v,{type:"range",tabIndex:d?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:g,name:u,form:c,disabled:d,"aria-orientation":s,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":o||void 0,"aria-invalid":i||n==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[f["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[f["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:k=>{t.setThumbValue(r,parseFloat(k.target.value));}}),thumbProps:{...O,style:{position:"absolute",[m?"top":"left"]:`${w*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:h,isDragging:t.isThumbDragging(r),isDisabled:d,isFocused:T}}function mb(e,t){let{trackRef:r,inputRef:o,orientation:n,channel:i,"aria-label":a,name:l,form:s}=e,{locale:u,direction:c}=J();!e.label&&!a&&!e["aria-labelledby"]&&(a=t.value.getChannelName(i,u));let{groupProps:d,trackProps:m,labelProps:p,outputProps:y}=Xi({...e,"aria-label":a},t,r),{inputProps:b,thumbProps:f}=Yi({index:0,orientation:n,isDisabled:e.isDisabled,name:l,form:s,trackRef:r,inputRef:o},t),h=t.getDisplayColor(),v=()=>{let T;switch(n==="vertical"?T="top":c==="ltr"?T="right":T="left",i){case "hue":{let P=[0,60,120,180,240,300,360].map(S=>h.withChannelValue("hue",S).toString("css")).join(", ");return `linear-gradient(to ${T}, ${P})`}case "lightness":{let P=t.getThumbMinValue(0),S=t.getThumbMaxValue(0),E=h.withChannelValue(i,P).toString("css"),D=h.withChannelValue(i,(S-P)/2).toString("css"),I=h.withChannelValue(i,S).toString("css");return `linear-gradient(to ${T}, ${E}, ${D}, ${I})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let P=h.withChannelValue(i,t.getThumbMinValue(0)).toString("css"),S=h.withChannelValue(i,t.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${T}, ${P}, ${S})`}default:throw new Error("Unknown color channel: "+i)}},g={forcedColorAdjust:"none"};i==="hue"?b["aria-valuetext"]+=`, ${h.getHueName(u)}`:i!=="alpha"&&(b["aria-valuetext"]+=`, ${h.getColorName(u)}`);let{visuallyHiddenProps:x}=ur({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...R(d,m),style:{...m.style,...g,background:v()}},inputProps:{...b,style:{...b.style,...x.style}},thumbProps:{...f,style:{...f.style,...g}},labelProps:p,outputProps:y}}var rC={"ar-AE":{Empty:"\u0641\u0627\u0631\u063A"},"bg-BG":{Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"},"cs-CZ":{Empty:"Pr\xE1zdn\xE9"},"da-DK":{Empty:"Tom"},"de-DE":{Empty:"Leer"},"el-GR":{Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"},"en-US":{Empty:"Empty"},"es-ES":{Empty:"Vac\xEDo"},"et-EE":{Empty:"T\xFChjenda"},"fi-FI":{Empty:"Tyhj\xE4"},"fr-FR":{Empty:"Vide"},"he-IL":{Empty:"\u05E8\u05D9\u05E7"},"hr-HR":{Empty:"Prazno"},"hu-HU":{Empty:"\xDCres"},"it-IT":{Empty:"Vuoto"},"ja-JP":{Empty:"\u7A7A"},"ko-KR":{Empty:"\uBE44\uC5B4 \uC788\uC74C"},"lt-LT":{Empty:"Tu\u0161\u010Dias"},"lv-LV":{Empty:"Tuk\u0161s"},"nb-NO":{Empty:"Tom"},"nl-NL":{Empty:"Leeg"},"pl-PL":{Empty:"Pusty"},"pt-BR":{Empty:"Vazio"},"pt-PT":{Empty:"Vazio"},"ro-RO":{Empty:"Gol"},"ru-RU":{Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"},"sk-SK":{Empty:"Pr\xE1zdne"},"sl-SI":{Empty:"Prazen"},"sr-SP":{Empty:"Prazno"},"sv-SE":{Empty:"Tomt"},"tr-TR":{Empty:"Bo\u015F"},"uk-UA":{Empty:"\u041F\u0443\u0441\u0442\u043E"},"zh-CN":{Empty:"\u7A7A"},"zh-TW":{Empty:"\u7A7A\u767D"}};function jn(e){let t=useRef(void 0),{value:r,textValue:o,minValue:n,maxValue:i,isDisabled:a,isReadOnly:l,isRequired:s,onIncrement:u,onIncrementPage:c,onDecrement:d,onDecrementPage:m,onDecrementToMin:p,onIncrementToMax:y}=e,b=xe(rC,"@react-aria/spinbutton"),f=useRef(null),h=useRef(false),v=()=>{clearTimeout(t.current),h.current=false;};useEffect(()=>()=>v(),[]);let g=O=>{if(!(O.ctrlKey||O.metaKey||O.shiftKey||O.altKey||l||O.nativeEvent.isComposing))switch(O.key){case "PageUp":if(c){O.preventDefault(),c?.();break}case "ArrowUp":case "Up":u&&(O.preventDefault(),u?.());break;case "PageDown":if(m){O.preventDefault(),m?.();break}case "ArrowDown":case "Down":d&&(O.preventDefault(),d?.());break;case "Home":p&&(O.preventDefault(),p?.());break;case "End":y&&(O.preventDefault(),y?.());break}},x=useRef(false),T=()=>{x.current=true;},P=()=>{x.current=false;},S=o===""?b.format("Empty"):(o||`${r}`).replace("-","\u2212");useEffect(()=>{x.current&&(Hf("assertive"),st(S,"assertive"));},[S]);let E=useCallback(O=>{f.current||(f.current={x:O.touches[0].clientX,y:O.touches[0].clientY});let k={x:O.touches[0].clientX,y:O.touches[0].clientY};(Math.abs(k.x-f.current.x)>1||Math.abs(k.y-f.current.y)>1)&&v(),f.current=k;},[]),D=ue(O=>{v(),h.current=true,u?.(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||r===void 0||isNaN(r)||r<i)&&D(60);},O);}),I=ue(O=>{v(),h.current=true,d?.(),t.current=window.setTimeout(()=>{(n===void 0||isNaN(n)||r===void 0||isNaN(r)||r>n)&&I(60);},O);}),C=O=>{O.preventDefault();},{addGlobalListener:_,removeAllGlobalListeners:z}=tt(),w=useRef(false);return {spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":S,"aria-valuemin":n,"aria-valuemax":i,"aria-disabled":a||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:g,onFocus:T,onBlur:P},incrementButtonProps:{onPressStart:O=>{O.pointerType!=="touch"?D(400):(t.current&&v(),t.current=window.setTimeout(()=>{D(60);},600),_(window,"touchmove",E,{capture:true}),w.current=false),_(window,"contextmenu",C);},onPressUp:O=>{O.pointerType==="touch"&&(w.current=true),f.current=null,v(),z();},onPressEnd:O=>{O.pointerType==="touch"&&!h.current&&w.current&&u?.(),w.current=false;},onFocus:T,onBlur:P},decrementButtonProps:{onPressStart:O=>{O.pointerType!=="touch"?I(400):(t.current&&v(),t.current=window.setTimeout(()=>{I(60);},600),_(window,"touchmove",E,{capture:true}),w.current=false);},onPressUp:O=>{O.pointerType==="touch"&&(w.current=true),f.current=null,v(),z();},onPressEnd:O=>{O.pointerType==="touch"&&!h.current&&w.current&&d?.(),w.current=false;},onFocus:T,onBlur:P}}}function fb(e,t,r){let{isDisabled:o,isReadOnly:n,isRequired:i,isWheelDisabled:a,validationBehavior:l="aria"}=e,{colorValue:s,inputValue:u,increment:c,decrement:d,incrementToMax:m,decrementToMin:p,commit:y}=t,b=Y(),{spinButtonProps:f}=jn({isDisabled:o,isReadOnly:n,isRequired:i,maxValue:16777215,minValue:0,onIncrement:c,onIncrementToMax:m,onDecrement:d,onDecrementToMin:p,value:s?s.toHexInt():void 0,textValue:s?s.toString("hex"):void 0}),[h,v]=useState(false),{focusWithinProps:g}=je({isDisabled:o,onFocusWithinChange:v}),x=useCallback(D=>{Math.abs(D.deltaY)<=Math.abs(D.deltaX)||(D.deltaY>0?c():D.deltaY<0&&d());},[d,c]);es({onScroll:x,isDisabled:a||o||n||!h},r);let P=D=>{t.validate(D)&&t.setInputValue(D);},{inputProps:S,...E}=ms({...e,id:b,value:u,defaultValue:"!",validate:void 0,[Ar]:t,type:"text",autoComplete:"off",onChange:P},t,r);return yt(r,t.defaultColorValue,t.setColorValue),S=R(S,f,g,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:y}),l==="native"&&(S["aria-required"]=void 0),{inputProps:S,...E}}function yb(e){let{color:t,colorName:r}=e,o=t||"#fff0",n=useMemo(()=>typeof o=="string"?ke(o):o,[o]),{locale:i}=J(),a=le(e,{labelable:true}),l=xe(Yc,"@react-aria/color"),s=Y(e.id);return r||(r=n.getChannelValue("alpha")===0?l.format("transparent"):n.getColorName(i)),{colorSwatchProps:{...a,role:"img","aria-roledescription":l.format("colorSwatch"),"aria-label":[r,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${s} ${e["aria-labelledby"]}`:void 0,id:s,style:{backgroundColor:n.toString("css"),forcedColorAdjust:"none"}},color:n||null}}var nC={"ar-AE":{decrease:e=>`\u062E\u0641\u0636 ${e.fieldLabel}`,increase:e=>`\u0632\u064A\u0627\u062F\u0629 ${e.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"},"bg-BG":{decrease:e=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"},"cs-CZ":{decrease:e=>`Sn\xED\u017Eit ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161it ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"},"da-DK":{decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`\xD8g ${e.fieldLabel}`,numberField:"Talfelt"},"de-DE":{decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"},"el-GR":{decrease:e=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${e.fieldLabel}`,increase:e=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${e.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"},"en-US":{decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"},"es-ES":{decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"},"et-EE":{decrease:e=>`V\xE4henda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri v\xE4li"},"fi-FI":{decrease:e=>`V\xE4henn\xE4 ${e.fieldLabel}`,increase:e=>`Lis\xE4\xE4 ${e.fieldLabel}`,numberField:"Numerokentt\xE4"},"fr-FR":{decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"},"he-IL":{decrease:e=>`\u05D4\u05E7\u05D8\u05DF ${e.fieldLabel}`,increase:e=>`\u05D4\u05D2\u05D3\u05DC ${e.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"},"hr-HR":{decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"},"hu-HU":{decrease:e=>`${e.fieldLabel} cs\xF6kkent\xE9se`,increase:e=>`${e.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"},"it-IT":{decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"},"ja-JP":{decrease:e=>`${e.fieldLabel}\u3092\u7E2E\u5C0F`,increase:e=>`${e.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"},"ko-KR":{decrease:e=>`${e.fieldLabel} \uAC10\uC18C`,increase:e=>`${e.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"},"lt-LT":{decrease:e=>`Suma\u017Einti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"},"lv-LV":{decrease:e=>`Samazin\u0101\u0161ana ${e.fieldLabel}`,increase:e=>`Palielin\u0101\u0161ana ${e.fieldLabel}`,numberField:"Skait\u013Cu lauks"},"nb-NO":{decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`\xD8k ${e.fieldLabel}`,numberField:"Tallfelt"},"nl-NL":{decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"},"pl-PL":{decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwi\u0119ksz ${e.fieldLabel}`,numberField:"Pole numeru"},"pt-BR":{decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"},"pt-PT":{decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo num\xE9rico"},"ro-RO":{decrease:e=>`Sc\u0103dere ${e.fieldLabel}`,increase:e=>`Cre\u0219tere ${e.fieldLabel}`,numberField:"C\xE2mp numeric"},"ru-RU":{decrease:e=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"},"sk-SK":{decrease:e=>`Zn\xED\u017Ei\u0165 ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161i\u0165 ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"},"sl-SI":{decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Pove\u010Dajte ${e.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"},"sr-SP":{decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"},"sv-SE":{decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`\xD6ka ${e.fieldLabel}`,numberField:"Nummerf\xE4lt"},"tr-TR":{decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"},"uk-UA":{decrease:e=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,increase:e=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"},"zh-CN":{decrease:e=>`\u964D\u4F4E ${e.fieldLabel}`,increase:e=>`\u63D0\u9AD8 ${e.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"},"zh-TW":{decrease:e=>`\u7E2E\u5C0F ${e.fieldLabel}`,increase:e=>`\u653E\u5927 ${e.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"}};function Zi(e,t,r){let{id:o,decrementAriaLabel:n,incrementAriaLabel:i,isDisabled:a,isReadOnly:l,isRequired:s,minValue:u,maxValue:c,autoFocus:d,label:m,formatOptions:p,onBlur:y=()=>{},onFocus:b,onFocusChange:f,onKeyDown:h,onKeyUp:v,description:g,errorMessage:x,isWheelDisabled:T,...P}=e,{increment:S,incrementToMax:E,decrement:D,decrementToMin:I,numberValue:C,inputValue:_,commit:z,commitValidation:w}=t,O=xe(nC,"@react-aria/numberfield"),k=Y(o),{focusProps:M}=bt({onBlur(){z();}}),F=gr(p),K=useMemo(()=>F.resolvedOptions(),[F]),N=gr({...p,currencySign:void 0}),$=useMemo(()=>isNaN(C)?"":N.format(C),[N,C]),{spinButtonProps:A,incrementButtonProps:B,decrementButtonProps:U}=jn({isDisabled:a,isReadOnly:l,isRequired:s,maxValue:c,minValue:u,onIncrement:S,onIncrementToMax:E,onDecrement:D,onDecrementToMin:I,value:C,textValue:$}),[oe,G]=useState(false),{focusWithinProps:W}=je({isDisabled:a,onFocusWithinChange:G}),ne=useCallback(Lt=>{Math.abs(Lt.deltaY)<=Math.abs(Lt.deltaX)||(Lt.deltaY>0?S():Lt.deltaY<0&&D());},[D,S]);es({onScroll:ne,isDisabled:T||a||l||!oe},r);let de=(K.maximumFractionDigits??0)>0,he=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,Ae="numeric";ec()?he?Ae="text":de&&(Ae="decimal"):br()&&(he?Ae="numeric":de&&(Ae="decimal"));let it=Lt=>{t.validate(Lt)&&t.setInputValue(Lt);},Pe=le(e),Te=useCallback(Lt=>{Lt.nativeEvent.isComposing||(Lt.key==="Enter"?(z(),w()):Lt.continuePropagation());},[z,w]),{isInvalid:Qe,validationErrors:Fe,validationDetails:we}=t.displayValidation,{labelProps:q,inputProps:fe,descriptionProps:$e,errorMessageProps:Rt}=ms({...P,...Pe,name:void 0,form:void 0,label:m,autoFocus:d,isDisabled:a,isReadOnly:l,isRequired:s,validate:void 0,[Ar]:t,value:_,defaultValue:"!",autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:k,type:"text",inputMode:Ae,onChange:it,onBlur:y,onFocus:b,onFocusChange:f,onKeyDown:useMemo(()=>Ve(Te,h),[Te,h]),onKeyUp:v,description:g,errorMessage:x},t,r);yt(r,t.defaultNumberValue,t.setNumberValue);let yr=R(A,M,fe,{role:null,"aria-roledescription":Dt()?null:O.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(yr["aria-required"]=void 0);let Ao=Lt=>{document.activeElement!==r.current&&(Lt.pointerType==="mouse"?r.current?.focus():Lt.target.focus());},Wt=e["aria-label"]||(typeof e.label=="string"?e.label:""),Vt;Wt||(Vt=e.label!=null?q.id:e["aria-labelledby"]);let io=Y(),ao=Y(),Wu=R(B,{"aria-label":i||O.format("increase",{fieldLabel:Wt}).trim(),id:Vt&&!i?io:null,"aria-labelledby":Vt&&!i?`${io} ${Vt}`:null,"aria-controls":k,excludeFromTabOrder:true,preventFocusOnPress:true,allowFocusWhenDisabled:true,isDisabled:!t.canIncrement,onPressStart:Ao}),qu=R(U,{"aria-label":n||O.format("decrease",{fieldLabel:Wt}).trim(),id:Vt&&!n?ao:null,"aria-labelledby":Vt&&!n?`${ao} ${Vt}`:null,"aria-controls":k,excludeFromTabOrder:true,preventFocusOnPress:true,allowFocusWhenDisabled:true,isDisabled:!t.canDecrement,onPressStart:Ao});return {groupProps:{...W,role:"group","aria-disabled":a,"aria-invalid":Qe?"true":void 0},labelProps:q,inputProps:yr,incrementButtonProps:Wu,decrementButtonProps:qu,errorMessageProps:Rt,descriptionProps:$e,isInvalid:Qe,validationErrors:Fe,validationDetails:we}}var Jc={"ar-AE":{calendar:"\u0627\u0644\u062A\u0642\u0648\u064A\u0645",day:"\u064A\u0648\u0645",dayPeriod:"\u0635/\u0645",endDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621",era:"\u0627\u0644\u0639\u0635\u0631",hour:"\u0627\u0644\u0633\u0627\u0639\u0627\u062A",minute:"\u0627\u0644\u062F\u0642\u0627\u0626\u0642",month:"\u0627\u0644\u0634\u0647\u0631",second:"\u0627\u0644\u062B\u0648\u0627\u0646\u064A",selectedDateDescription:e=>`\u062A\u0627\u0631\u064A\u062E \u0645\u062D\u062F\u062F: ${e.date}`,selectedRangeDescription:e=>`\u0627\u0644\u0645\u062F\u0649 \u0627\u0644\u0632\u0645\u0646\u064A \u0627\u0644\u0645\u062D\u062F\u062F: ${e.startDate} \u0625\u0644\u0649 ${e.endDate}`,selectedTimeDescription:e=>`\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062D\u062F\u062F: ${e.time}`,startDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621",timeZoneName:"\u0627\u0644\u062A\u0648\u0642\u064A\u062A",weekday:"\u0627\u0644\u064A\u0648\u0645",year:"\u0627\u0644\u0633\u0646\u0629"},"bg-BG":{calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D",dayPeriod:"\u043F\u0440.\u043E\u0431./\u0441\u043B.\u043E\u0431.",endDate:"\u041A\u0440\u0430\u0439\u043D\u0430 \u0434\u0430\u0442\u0430",era:"\u0435\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:e=>`\u0418\u0437\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${e.date}`,selectedRangeDescription:e=>`\u0418\u0437\u0431\u0440\u0430\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${e.startDate} \u0434\u043E ${e.endDate}`,selectedTimeDescription:e=>`\u0418\u0437\u0431\u0440\u0430\u043D\u043E \u0432\u0440\u0435\u043C\u0435: ${e.time}`,startDate:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430 \u0434\u0430\u0442\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0435\u043D \u043E\u0442 \u0441\u0435\u0434\u043C\u0438\u0446\u0430\u0442\u0430",year:"\u0433\u043E\u0434\u0438\u043D\u0430"},"cs-CZ":{calendar:"Kalend\xE1\u0159",day:"den",dayPeriod:"\u010D\xE1st dne",endDate:"Kone\u010Dn\xE9 datum",era:"letopo\u010Det",hour:"hodina",minute:"minuta",month:"m\u011Bs\xEDc",second:"sekunda",selectedDateDescription:e=>`Vybran\xE9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xE9 obdob\xED: ${e.startDate} a\u017E ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xFD \u010Das: ${e.time}`,startDate:"Po\u010D\xE1te\u010Dn\xED datum",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"den v t\xFDdnu",year:"rok"},"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xE6ra",hour:"time",minute:"minut",month:"m\xE5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xE5r"},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xE4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xE4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xE4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xE4hlte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BB\u03CC\u03B3\u03B9\u03BF",day:"\u03B7\u03BC\u03AD\u03C1\u03B1",dayPeriod:"\u03C0.\u03BC./\u03BC.\u03BC.",endDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2",era:"\u03C0\u03B5\u03C1\u03AF\u03BF\u03B4\u03BF\u03C2",hour:"\u03CE\u03C1\u03B1",minute:"\u03BB\u03B5\u03C0\u03C4\u03CC",month:"\u03BC\u03AE\u03BD\u03B1\u03C2",second:"\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03BF",selectedDateDescription:e=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ${e.date}`,selectedRangeDescription:e=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B5\u03CD\u03C1\u03BF\u03C2: ${e.startDate} \u03AD\u03C9\u03C2 ${e.endDate}`,selectedTimeDescription:e=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03CE\u03C1\u03B1: ${e.time}`,startDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2",timeZoneName:"\u03B6\u03CE\u03BD\u03B7 \u03CE\u03C1\u03B1\u03C2",weekday:"\u03BA\u03B1\u03B8\u03B7\u03BC\u03B5\u03C1\u03B9\u03BD\u03AE",year:"\u03AD\u03C4\u03BF\u03C2"},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:"d\xEDa",dayPeriod:"a.\xA0m./p.\xA0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xEDa de la semana",year:"a\xF1o"},"et-EE":{calendar:"Kalender",day:"p\xE4ev",dayPeriod:"enne/p\xE4rast l\xF5unat",endDate:"L\xF5ppkuup\xE4ev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuup\xE4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuup\xE4ev",timeZoneName:"ajav\xF6\xF6nd",weekday:"n\xE4dalap\xE4ev",year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:"p\xE4iv\xE4",dayPeriod:"vuorokaudenaika",endDate:"P\xE4\xE4ttymisp\xE4iv\xE4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xE4li: ${e.startDate} \u2013 ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamisp\xE4iv\xE4",timeZoneName:"aikavy\xF6hyke",weekday:"viikonp\xE4iv\xE4",year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xE8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xE9lectionn\xE9e\xA0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xE9lectionn\xE9e\xA0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xA0: ${e.time}`,startDate:"Date de d\xE9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xE9e"},"he-IL":{calendar:"\u05DC\u05D5\u05D7 \u05E9\u05E0\u05D4",day:"\u05D9\u05D5\u05DD",dayPeriod:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6/\u05D0\u05D7\u05D4\u05F4\u05E6",endDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E1\u05D9\u05D5\u05DD",era:"\u05EA\u05E7\u05D5\u05E4\u05D4",hour:"\u05E9\u05E2\u05D4",minute:"\u05D3\u05E7\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",second:"\u05E9\u05E0\u05D9\u05D9\u05D4",selectedDateDescription:e=>`\u05EA\u05D0\u05E8\u05D9\u05DA \u05E0\u05D1\u05D7\u05E8: ${e.date}`,selectedRangeDescription:e=>`\u05D8\u05D5\u05D5\u05D7 \u05E0\u05D1\u05D7\u05E8: ${e.startDate} \u05E2\u05D3 ${e.endDate}`,selectedTimeDescription:e=>`\u05D6\u05DE\u05DF \u05E0\u05D1\u05D7\u05E8: ${e.time}`,startDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05EA\u05D7\u05DC\u05D4",timeZoneName:"\u05D0\u05D6\u05D5\u05E8 \u05D6\u05DE\u05DF",weekday:"\u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2",year:"\u05E9\u05E0\u05D4"},"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum zavr\u0161etka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum po\u010Detka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:"Napt\xE1r",day:"nap",dayPeriod:"napszak",endDate:"Befejez\u0151 d\xE1tum",era:"\xE9ra",hour:"\xF3ra",minute:"perc",month:"h\xF3nap",second:"m\xE1sodperc",selectedDateDescription:e=>`Kijel\xF6lt d\xE1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xF6lt tartom\xE1ny: ${e.startDate}\u2013${e.endDate}`,selectedTimeDescription:e=>`Kijel\xF6lt id\u0151: ${e.time}`,startDate:"Kezd\u0151 d\xE1tum",timeZoneName:"id\u0151z\xF3na",weekday:"h\xE9t napja",year:"\xE9v"},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:"\u30AB\u30EC\u30F3\u30C0\u30FC",day:"\u65E5",dayPeriod:"\u5348\u524D/\u5348\u5F8C",endDate:"\u7D42\u4E86\u65E5",era:"\u6642\u4EE3",hour:"\u6642",minute:"\u5206",month:"\u6708",second:"\u79D2",selectedDateDescription:e=>`\u9078\u629E\u3057\u305F\u65E5\u4ED8 : ${e.date}`,selectedRangeDescription:e=>`\u9078\u629E\u7BC4\u56F2 : ${e.startDate} \u304B\u3089 ${e.endDate}`,selectedTimeDescription:e=>`\u9078\u629E\u3057\u305F\u6642\u9593 : ${e.time}`,startDate:"\u958B\u59CB\u65E5",timeZoneName:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",weekday:"\u66DC\u65E5",year:"\u5E74"},"ko-KR":{calendar:"\uB2EC\uB825",day:"\uC77C",dayPeriod:"\uC624\uC804/\uC624\uD6C4",endDate:"\uC885\uB8CC\uC77C",era:"\uC5F0\uD638",hour:"\uC2DC",minute:"\uBD84",month:"\uC6D4",second:"\uCD08",selectedDateDescription:e=>`\uC120\uD0DD \uC77C\uC790: ${e.date}`,selectedRangeDescription:e=>`\uC120\uD0DD \uBC94\uC704: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\uC120\uD0DD \uC2DC\uAC04: ${e.time}`,startDate:"\uC2DC\uC791\uC77C",timeZoneName:"\uC2DC\uAC04\uB300",weekday:"\uC694\uC77C",year:"\uB144"},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:"iki piet\u0173 / po piet\u0173",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minut\u0117",month:"m\u0117nuo",second:"sekund\u0117",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Prad\u017Eios data",timeZoneName:"laiko juosta",weekday:"savait\u0117s diena",year:"metai"},"lv-LV":{calendar:"Kalend\u0101rs",day:"diena",dayPeriod:"priek\u0161pusdien\u0101/p\u0113cpusdien\u0101",endDate:"Beigu datums",era:"\u0113ra",hour:"stundas",minute:"min\u016Btes",month:"m\u0113nesis",second:"sekundes",selectedDateDescription:e=>`Atlas\u012Btais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u012Btais diapazons: no ${e.startDate} l\u012Bdz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u012Btais laiks: ${e.time}`,startDate:"S\u0101kuma datums",timeZoneName:"laika josla",weekday:"ned\u0113\u013Cas diena",year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xE5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xE5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xE5r"},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:"dzie\u0144",dayPeriod:"rano / po po\u0142udniu / wieczorem",endDate:"Data ko\u0144cowa",era:"era",hour:"godzina",minute:"minuta",month:"miesi\u0105c",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data pocz\u0105tkowa",timeZoneName:"strefa czasowa",weekday:"dzie\u0144 tygodnia",year:"rok"},"pt-BR":{calendar:"Calend\xE1rio",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:"Calend\xE1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xE9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de In\xEDcio",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dat\u0103 final",era:"er\u0103",hour:"or\u0103",minute:"minut",month:"lun\u0103",second:"secund\u0103",selectedDateDescription:e=>`Dat\u0103 selectat\u0103: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xE2n\u0103 la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u0103: ${e.time}`,startDate:"Dat\u0103 \xEEnceput",timeZoneName:"fus orar",weekday:"ziua din s\u0103pt\u0103m\xE2n\u0103",year:"an"},"ru-RU":{calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",day:"\u0434\u0435\u043D\u044C",dayPeriod:"AM/PM",endDate:"\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",era:"\u044D\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u044F\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:e=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430: ${e.date}`,selectedRangeDescription:e=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: \u0441 ${e.startDate} \u043F\u043E ${e.endDate}`,selectedTimeDescription:e=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F: ${e.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438",year:"\u0433\u043E\u0434"},"sk-SK":{calendar:"Kalend\xE1r",day:"de\u0148",dayPeriod:"AM/PM",endDate:"D\xE1tum ukon\u010Denia",era:"letopo\u010Det",hour:"hodina",minute:"min\xFAta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybrat\xFD d\xE1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xFD rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xFD \u010Das: ${e.time}`,startDate:"D\xE1tum za\u010Datia",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"de\u0148 t\xFD\u017Ed\u0148a",year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u010Dje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u010Das: ${e.time}`,startDate:"Datum za\u010Detka",timeZoneName:"\u010Dasovni pas",weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:"\u0434\u0430\u043D",dayPeriod:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435/\u043F\u043E \u043F\u043E\u0434\u043D\u0435",endDate:"Datum zavr\u0161etka",era:"\u0435\u0440\u0430",hour:"\u0441\u0430\u0442",minute:"\u043C\u0438\u043D\u0443\u0442",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum po\u010Detka",timeZoneName:"\u0432\u0440\u0435\u043C\u0435\u043D\u0441\u043A\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0430\u043D \u0443 \u043D\u0435\u0434\u0435\u0459\u0438",year:"\u0433\u043E\u0434\u0438\u043D\u0430"},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xE5nad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xE5r"},"tr-TR":{calendar:"Takvim",day:"g\xFCn",dayPeriod:"\xD6\xD6/\xD6S",endDate:"Biti\u015F Tarihi",era:"\xE7a\u011F",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Se\xE7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xE7ilen Aral\u0131k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xE7ilen Zaman: ${e.time}`,startDate:"Ba\u015Flang\u0131\xE7 Tarihi",timeZoneName:"saat dilimi",weekday:"haftan\u0131n g\xFCn\xFC",year:"y\u0131l"},"uk-UA":{calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D\u044C",dayPeriod:"\u0434\u043F/\u043F\u043F",endDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F",era:"\u0435\u0440\u0430",hour:"\u0433\u043E\u0434\u0438\u043D\u0430",minute:"\u0445\u0432\u0438\u043B\u0438\u043D\u0430",month:"\u043C\u0456\u0441\u044F\u0446\u044C",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:e=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${e.date}`,selectedRangeDescription:e=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D: ${e.startDate} \u2014 ${e.endDate}`,selectedTimeDescription:e=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0447\u0430\u0441: ${e.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u0442\u0438\u0436\u043D\u044F",year:"\u0440\u0456\u043A"},"zh-CN":{calendar:"\u65E5\u5386",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7ED3\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:e=>`\u9009\u5B9A\u7684\u65E5\u671F\uFF1A${e.date}`,selectedRangeDescription:e=>`\u9009\u5B9A\u7684\u8303\u56F4\uFF1A${e.startDate} \u81F3 ${e.endDate}`,selectedTimeDescription:e=>`\u9009\u5B9A\u7684\u65F6\u95F4\uFF1A${e.time}`,startDate:"\u5F00\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"},"zh-TW":{calendar:"\u65E5\u66C6",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7D50\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:e=>`\u9078\u5B9A\u7684\u65E5\u671F\uFF1A${e.date}`,selectedRangeDescription:e=>`\u9078\u5B9A\u7684\u7BC4\u570D\uFF1A${e.startDate} \u81F3 ${e.endDate}`,selectedTimeDescription:e=>`\u9078\u5B9A\u7684\u6642\u9593\uFF1A${e.time}`,startDate:"\u958B\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"}};function lC(e,t,r){let{direction:o}=J(),n=useMemo(()=>Lr(t),[t]),i=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(true)),!r))switch(s.key){case "ArrowLeft":if(s.preventDefault(),s.stopPropagation(),o==="rtl"){if(t.current){let u=s.target,c=aC(t.current,u.getBoundingClientRect().left,-1);c&&c.focus();}}else n.focusPrevious();break;case "ArrowRight":if(s.preventDefault(),s.stopPropagation(),o==="rtl"){if(t.current){let u=s.target,c=aC(t.current,u.getBoundingClientRect().left,1);c&&c.focus();}}else n.focusNext();break}},a=()=>{if(!t.current)return;let s=window.event?.target,u=qe(t.current,{tabbable:true});if(s&&(u.currentNode=s,s=u.previousNode()),!s){let c;do c=u.lastChild(),c&&(s=c);while(c)}for(;s?.hasAttribute("data-placeholder");){let c=u.previousNode();if(c&&c.hasAttribute("data-placeholder"))s=c;else break}s&&s.focus();},{pressProps:l}=Se({preventFocusOnPress:true,allowTextSelectionOnPress:true,onPressStart(s){s.pointerType==="mouse"&&a();},onPress(s){(s.pointerType==="touch"||s.pointerType==="pen")&&a();}});return R(l,{onKeyDown:i})}function aC(e,t,r){let o=qe(e,{tabbable:true}),n=o.nextNode(),i=null,a=1/0;for(;n;){let s=n.getBoundingClientRect().left-t,u=Math.abs(s);Math.sign(s)===r&&u<a&&(i=n,a=u),n=o.nextNode();}return i}var hb=new WeakMap,gb="__role_"+Date.now(),uK="__focusManager_"+Date.now();function Cs(e,t,r){let{isInvalid:o,validationErrors:n,validationDetails:i}=t.displayValidation,{labelProps:a,fieldProps:l,descriptionProps:s,errorMessageProps:u}=Jt({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||n,ref:r}),c=useRef(null),{focusWithinProps:d}=je({...e,onFocusWithin(D){c.current=t.value,e.onFocus?.(D);},onBlurWithin:D=>{t.confirmPlaceholder(),t.value!==c.current&&t.commitValidation(),e.onBlur?.(D);},onFocusWithinChange:e.onFocusChange}),m=xe(Jc,"@react-aria/datepicker"),p=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",y=t.maxGranularity==="hour"?"time":"date",b=t.value?m.format(p,{[y]:t.formatValue({month:"long"})}):"",f=ft(b,r),h=e[gb]==="presentation"?l["aria-describedby"]:[f["aria-describedby"],l["aria-describedby"]].filter(Boolean).join(" ")||void 0,v=e[uK],g=useMemo(()=>v||Lr(r),[v,r]),x=lC(t,r,e[gb]==="presentation");hb.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[a.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:h,focusManager:g});let T=useRef(e.autoFocus),P;e[gb]==="presentation"?P={role:"presentation"}:P=R(l,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":h}),useEffect(()=>{T.current&&g.focusFirst(),T.current=false;},[g]),yt(e.inputRef,t.defaultValue,t.setValue),Nr({...e,focus(){g.focusFirst();}},t,e.inputRef);let S={type:"hidden",name:e.name,form:e.form,value:t.value?.toString()||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(S.type="text",S.hidden=true,S.required=e.isRequired,S.onChange=()=>{});let E=le(e);return {labelProps:{...a,onClick:()=>{g.focusFirst();}},fieldProps:R(E,P,x,d,{onKeyDown(D){e.onKeyDown&&e.onKeyDown(D);},onKeyUp(D){e.onKeyUp&&e.onKeyUp(D);},style:{unicodeBidi:"isolate"}}),inputProps:S,descriptionProps:s,errorMessageProps:u,isInvalid:o,validationErrors:n,validationDetails:i}}function Qc(e,t,r){let o=Cs(e,t,r);return o.inputProps.value=t.timeValue?.toString()||"",o}function uC(){let{locale:e}=J(),t=yc(Jc,"@react-aria/datepicker");return useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new vb(e,t)}},[e,t])}var vb=class{locale;dictionary;constructor(t,r){this.locale=t,this.dictionary=r;}of(t){return this.dictionary.getStringForLocale(t,this.locale)}};function ed(e,t,r){let o=useRef(""),{locale:n,direction:i}=J(),a=uC(),{ariaLabel:l,ariaLabelledBy:s,ariaDescribedBy:u,focusManager:c}=hb.get(t),[d,m]=useState(null),p=e.isPlaceholder?"":e.text,y=useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),b=jr({month:"long",timeZone:y.timeZone}),f=jr({hour:"numeric",hour12:y.hour12,timeZone:y.timeZone});if(e.type==="month"&&!e.isPlaceholder){let A=b.format(t.dateValue);p=A!==p?`${p} \u2013 ${A}`:A;}else e.type==="hour"&&!e.isPlaceholder&&(p=f.format(t.dateValue));let{spinButtonProps:h}=jn({value:e.value,textValue:p,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{o.current="",t.increment(e.type);},onDecrement:()=>{o.current="",t.decrement(e.type);},onIncrementPage:()=>{o.current="",t.incrementPage(e.type);},onDecrementPage:()=>{o.current="",t.decrementPage(e.type);},onIncrementToMax:()=>{o.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue);},onDecrementToMin:()=>{o.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue);}}),v=useMemo(()=>new Vo(n,{maximumFractionDigits:0}),[n]),g=()=>{if(e.text===e.placeholder&&c.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let A=e.text.slice(0,-1),B=v.parse(A);A=B===0?"":A,A.length===0||B===0?t.clearSegment(e.type):t.setSegment(e.type,B),o.current=A;}else e.type==="dayPeriod"&&t.clearSegment(e.type);},x=A=>{if(A.key==="a"&&(at()?A.metaKey:A.ctrlKey)&&A.preventDefault(),!(A.ctrlKey||A.metaKey||A.shiftKey||A.altKey))switch(A.key){case "Backspace":case "Delete":{A.preventDefault(),A.stopPropagation(),g();break}}},{startsWith:T}=mo({sensitivity:"base"}),P=jr({hour:"numeric",hour12:true}),S=useMemo(()=>{let A=new Date;return A.setHours(0),P.formatToParts(A).find(B=>B.type==="dayPeriod").value},[P]),E=useMemo(()=>{let A=new Date;return A.setHours(12),P.formatToParts(A).find(B=>B.type==="dayPeriod").value},[P]),D=jr({year:"numeric",era:"narrow",timeZone:"UTC"}),I=useMemo(()=>{if(e.type!=="era")return [];let A=toCalendar(new CalendarDate(1,1,1),t.calendar),B=t.calendar.getEras().map(oe=>{let G=A.set({year:1,month:1,day:1,era:oe}).toDate("UTC"),ne=D.formatToParts(G).find(Q=>Q.type==="era").value;return {era:oe,formatted:ne}}),U=bK(B.map(oe=>oe.formatted));if(U)for(let oe of B)oe.formatted=oe.formatted.slice(U);return B},[D,t.calendar,e.type]),C=A=>{if(t.isDisabled||t.isReadOnly)return;let B=o.current+A;switch(e.type){case "dayPeriod":if(T(S,A))t.setSegment("dayPeriod",0);else if(T(E,A))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case "era":{let U=I.find(oe=>T(oe.formatted,A));U&&(t.setSegment("era",U.era),c.focusNext());break}case "day":case "hour":case "minute":case "second":case "month":case "year":{if(!v.isValidPartialNumber(B))return;let U=v.parse(B),oe=U,G=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case "h11":U>11&&(oe=v.parse(A));break;case "h12":G=false,U>12&&(oe=v.parse(A));break}e.value!==void 0&&e.value>=12&&U>1&&(U+=12);}else e.maxValue!==void 0&&U>e.maxValue&&(oe=v.parse(A));if(isNaN(U))return;let W=oe!==0||G;W&&t.setSegment(e.type,oe),e.maxValue!==void 0&&(+(U+"0")>e.maxValue||B.length>=String(e.maxValue).length)?(o.current="",W&&c.focusNext()):o.current=B;break}}};useEffect(()=>{m(H(r.current));},[r]);let _=()=>{o.current="",r.current&&sr(r.current,{containingElement:mt(r.current)}),d?.defaultView?.getSelection()?.collapse(r.current);},z=useRef(typeof document<"u"?document:null);z.current=d,gt(z,"selectionchange",()=>{let A=d?.defaultView?.getSelection();A?.anchorNode&&r.current?.contains(A?.anchorNode)&&A.collapse(r.current);});let w=useRef("");gt(r,"beforeinput",A=>{if(r.current)switch(A.preventDefault(),A.inputType){case "deleteContentBackward":case "deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&g();break;case "insertCompositionText":w.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:A.data!=null&&C(A.data);break}}),gt(r,"input",A=>{let{inputType:B,data:U}=A;switch(B){case "insertCompositionText":r.current&&(r.current.textContent=w.current),U!=null&&(T(S,U)||T(E,U))&&C(U);break}}),ae(()=>{let A=r.current,B=pe(d||document);return ()=>{B===A&&(c.focusPrevious()||c.focusNext());}},[r,c]);let O=Dt()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},k=useMemo(()=>t.segments.find(A=>A.isEditable),[t.segments]);e!==k&&!t.isInvalid&&(u=void 0);let M=Y(),F=!t.isDisabled&&!t.isReadOnly&&e.isEditable,K=e.type==="literal"?"":a.of(e.type),N=lt({"aria-label":`${K}${l?`, ${l}`:""}${s?", ":""}`,"aria-labelledby":s});if(e.type==="literal")return {segmentProps:{"aria-hidden":true}};let $={caretColor:"transparent"};if(i==="rtl"){$.unicodeBidi="embed";let A=y[e.type];(A==="numeric"||A==="2-digit")&&($.direction="ltr");}return {segmentProps:R(h,N,{id:M,...O,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":u,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:F,suppressContentEditableWarning:F,spellCheck:F?"false":void 0,autoCorrect:F?"off":void 0,[parseInt(Mo.version,10)>=17?"enterKeyHint":"enterkeyhint"]:F?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!F?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:x,onFocus:_,style:$,onPointerDown(A){A.stopPropagation();},onMouseDown(A){A.stopPropagation();}})}}function bK(e){e.sort();let t=e[0],r=e[e.length-1];for(let o=0;o<t.length;o++)if(t[o]!==r[o])return o;return 0}function Qi(e,t){let{role:r="dialog"}=e,o=St([],t);o=e["aria-label"]?void 0:o;let n=useRef(false);return useEffect(()=>{if(!t.current)return;let i=H(t.current),a=t.current&&pe(i);if(t.current&&!se(t.current,a)){We(t.current);let l=setTimeout(()=>{let s=pe(i);(s===t.current||s===i.body)&&(n.current=true,t.current&&(t.current.blur(),We(t.current)),n.current=false);},500);return ()=>{clearTimeout(l);}}},[t]),ss(),{dialogProps:{...le(e,{labelable:true}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||o,onBlur:i=>{n.current&&i.stopPropagation();}},titleProps:{id:o}}}var Gn=(a=>(a[a.none=0]="none",a[a.cancel=0]="cancel",a[a.move=1]="move",a[a.copy=2]="copy",a[a.link=4]="link",a[a.all=7]="all",a))(Gn||{}),Tb={...Gn,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},Pb=cC(Tb);Pb[7]="all";var Un={none:"cancel",link:"link",copy:"copy",move:"move"},td=cC(Un);function cC(e){let t={};for(let r in e)t[e[r]]=r;return t}var dC=new Set(["text/plain","text/uri-list","text/html"]),Ss="application/vnd.react-aria.items+json",Ds="application/octet-stream";var rd=new WeakMap,od=Symbol();function pC(e){let{id:t}=rd.get(e)||{};if(!t)throw new Error("Droppable item outside a droppable collection");return t}function mC(e){let{ref:t}=rd.get(e)||{};if(!t)throw new Error("Droppable item outside a droppable collection");return t}function qr(e){let t=new Set;for(let r of e)for(let o of Object.keys(r))t.add(o);return t}function fC(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function ea(){return fC(Xt())}function Sb(){return fC(ht())}function ks(e,t){let r=new Map,o=false,n=[];for(let i of t){let a=Object.keys(i);a.length>1&&(o=true);let l={};for(let s of a){let u=r.get(s);u?o=true:(u=[],r.set(s,u));let c=i[s];l[s]=c,u.push(c);}n.push(l);}for(let[i,a]of r)if(dC.has(i)){let l=a.join(`
|
|
24
|
-
`);e.items.add(l,i);}else e.items.add(a[0],i);if(o){let i=JSON.stringify(n);e.items.add(i,Ss);}}var Wn=class{types;includesUnknownTypes;constructor(t){this.types=new Set;let r=false;for(let o of t.items)o.type!==Ss&&(o.kind==="file"&&(r=true),o.type?this.types.add(o.type):this.types.add(Ds));this.includesUnknownTypes=!r&&t.types.includes("Files");}has(t){return this.includesUnknownTypes||t===od&&this.types.has(Ds)?true:typeof t=="string"&&this.types.has(t)}};function nd(e){let t=[];if(!e)return t;let r=false;if(e.types.includes(Ss))try{let o=e.getData(Ss),n=JSON.parse(o);for(let i of n)t.push({kind:"text",types:new Set(Object.keys(i)),getText:a=>Promise.resolve(i[a])});r=!0;}catch{}if(!r){let o=new Map;for(let n of e.items)if(n.kind==="string")o.set(n.type||Ds,e.getData(n.type));else if(n.kind==="file")if(typeof n.webkitGetAsEntry=="function"){let i=n.webkitGetAsEntry();if(!i)continue;i.isFile?t.push(Cb(n.getAsFile())):i.isDirectory&&t.push(yC(i));}else t.push(Cb(n.getAsFile()));o.size>0&&t.push({kind:"text",types:new Set(o.keys()),getText:n=>Promise.resolve(o.get(n))});}return t}function vK(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let o=new FileReader;o.onload=()=>{t(o.result);},o.onerror=r,o.readAsText(e);})}function Cb(e){if(!e)throw new Error("No file provided");return {kind:"file",type:e.type||Ds,name:e.name,getText:()=>vK(e),getFile:()=>Promise.resolve(e)}}function yC(e){return {kind:"directory",name:e.name,getEntries:()=>xK(e)}}async function*xK(e){let t=e.createReader(),r;do{r=await new Promise((o,n)=>{t.readEntries(o,n);});for(let o of r)if(o.isFile){let n=await TK(o);yield Cb(n);}else o.isDirectory&&(yield yC(o));}while(r.length>0)}function TK(e){return new Promise((t,r)=>e.file(t,r))}var Je={draggingKeys:new Set};function bC(e){Je.draggingCollectionRef=e;}function gC(e){Je.draggingKeys=e;}function qn(e){Je.dropCollectionRef=e;}function id(){Je={draggingKeys:new Set};}function hC(e){Je=e;}function dr(e){let{draggingCollectionRef:t,dropCollectionRef:r}=Je;return t?.current!=null&&t.current===(e?.current||r?.current)}var zs;function ta(e){zs=e;}var ad=0;function ld(e){ad=e;}var Db=new Map,Es=new Map,Or=null,sd=new Set;function ud(e){return Db.set(e.element,e),Or?.updateValidDropTargets(),()=>{Db.delete(e.element),Or?.updateValidDropTargets();}}function xC(e){return Es.set(e.element,e),()=>{Es.delete(e.element);}}function TC(e,t){if(Or)throw new Error("Cannot begin dragging while already dragging");Or=new kb(e,t),requestAnimationFrame(()=>{Or&&(Or.setup(),Sb()==="keyboard"&&Or.next());});for(let r of sd)r();}function ra(){let[e,t]=useState(Or);return useEffect(()=>{let r=()=>t(Or);return sd.add(r),()=>{sd.delete(r);}},[]),e}function zb(){return !!Or}function SK(){Or=null;for(let e of sd)e();}var vC=["pointerdown","pointermove","pointerenter","pointerleave","pointerover","pointerout","pointerup","mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","touchstart","touchmove","touchend","focusin","focusout"],DK=["pointerup","mouseup","touchend"],kK={keyboard:"dragStartedKeyboard",touch:"dragStartedTouch",virtual:"dragStartedVirtual"},kb=class{dragTarget;validDropTargets=[];currentDropTarget=null;currentDropItem=null;dropOperation=null;mutationObserver=null;restoreAriaHidden=null;stringFormatter;isVirtualClick=false;initialFocused;constructor(t,r){this.dragTarget=t,this.stringFormatter=r,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onClick=this.onClick.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.cancelEvent=this.cancelEvent.bind(this),this.initialFocused=false;}setup(){let t=j(this.dragTarget.element),r=t.document;r.addEventListener("keydown",this.onKeyDown,true),r.addEventListener("keyup",this.onKeyUp,true),t.addEventListener("focus",this.onFocus,true),t.addEventListener("blur",this.onBlur,true),r.addEventListener("click",this.onClick,true),r.addEventListener("pointerdown",this.onPointerDown,true);for(let o of vC)r.addEventListener(o,this.cancelEvent,true);this.mutationObserver=new MutationObserver(()=>this.updateValidDropTargets()),this.updateValidDropTargets(),st(this.stringFormatter.format(kK[Sb()]));}teardown(){let t=j(this.dragTarget.element),r=t.document;r.removeEventListener("keydown",this.onKeyDown,true),r.removeEventListener("keyup",this.onKeyUp,true),t.removeEventListener("focus",this.onFocus,true),t.removeEventListener("blur",this.onBlur,true),r.removeEventListener("click",this.onClick,true),r.removeEventListener("pointerdown",this.onPointerDown,true);for(let o of vC)r.removeEventListener(o,this.cancelEvent,true);this.mutationObserver?.disconnect(),this.restoreAriaHidden?.();}onKeyDown(t){if(this.cancelEvent(t),t.key==="Escape"){this.cancel();return}t.key==="Tab"&&!(t.metaKey||t.altKey||t.ctrlKey)&&(t.shiftKey?this.previous():this.next()),typeof this.currentDropTarget?.onKeyDown=="function"&&this.currentDropTarget.onKeyDown(t,this.dragTarget);}onKeyUp(t){this.cancelEvent(t);let r=te(t);t.key==="Enter"&&(t.altKey||se(this.getCurrentActivateButton(),r)?this.activate(this.currentDropTarget,this.currentDropItem):this.drop());}getCurrentActivateButton(){return this.currentDropItem?.activateButtonRef?.current??this.currentDropTarget?.activateButtonRef?.current??null}onFocus(t){let r=te(t),o=this.getCurrentActivateButton();if(r===o){this.cancelEvent(t);return}r!==this.dragTarget.element&&this.cancelEvent(t);let n=j(this.dragTarget.element);if(!(r instanceof n.HTMLElement)||r===this.dragTarget.element)return;let i=this.validDropTargets.find(l=>l.element===l)||this.validDropTargets.find(l=>se(l.element,l));if(!i){this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus();return}let a=Es.get(r);i&&this.setCurrentDropTarget(i,a);}onBlur(t){let r=this.getCurrentActivateButton();if(t.relatedTarget===r){this.cancelEvent(t);return}te(t)!==this.dragTarget.element&&this.cancelEvent(t);let n=j(this.dragTarget.element);(!t.relatedTarget||!(t.relatedTarget instanceof n.HTMLElement))&&(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus());}onClick(t){if(this.cancelEvent(t),$r(t)||this.isVirtualClick){let r=te(t),n=[...Es.values()].find(l=>l.element===r||se(l.element,r)),i=this.validDropTargets.find(l=>se(l.element,l)),a=n?.activateButtonRef?.current??i?.activateButtonRef?.current;if(se(a,r)&&i){this.activate(i,n);return}if(r===this.dragTarget.element){this.cancel();return}i&&(this.setCurrentDropTarget(i,n),this.drop(n));}}onPointerDown(t){this.cancelEvent(t),this.isVirtualClick=En(t);}cancelEvent(t){let r=te(t);(t.type==="focusin"||t.type==="focusout")&&(r===this.dragTarget?.element||r===this.getCurrentActivateButton())||(DK.includes(t.type)||t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation());}updateValidDropTargets(){if(!this.mutationObserver)return;if(this.mutationObserver.disconnect(),this.restoreAriaHidden&&this.restoreAriaHidden(),this.validDropTargets=zK(this.dragTarget),this.validDropTargets.length>0){let n=this.findNearestDropTarget();this.validDropTargets=[...this.validDropTargets.slice(n),...this.validDropTargets.slice(0,n)];}this.currentDropTarget&&!this.validDropTargets.includes(this.currentDropTarget)&&this.setCurrentDropTarget(this.validDropTargets[0]);let t=qr(this.dragTarget.items),r=[...Es.values()].filter(n=>typeof n.getDropOperation=="function"?n.getDropOperation(t,this.dragTarget.allowedDropOperations)!=="cancel":true),o=this.validDropTargets.filter(n=>!r.some(i=>n.element.contains(i.element)));this.restoreAriaHidden=go([this.dragTarget.element,...r.flatMap(n=>n.activateButtonRef?.current?[n.element,n.activateButtonRef?.current]:[n.element]),...o.flatMap(n=>n.activateButtonRef?.current?[n.element,n.activateButtonRef?.current]:[n.element])],{shouldUseInert:false}),this.mutationObserver.observe(document.body,{subtree:true,attributes:true,attributeFilter:["aria-hidden","inert"]});}next(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[0]);return}let t=this.validDropTargets.indexOf(this.currentDropTarget);if(t<0){this.setCurrentDropTarget(this.validDropTargets[0]);return}t===this.validDropTargets.length-1?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[0]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[t+1]);}previous(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}let t=this.validDropTargets.indexOf(this.currentDropTarget);if(t<0){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}t===0?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[t-1]);}findNearestDropTarget(){let t=this.dragTarget.element.getBoundingClientRect(),r=1/0,o=-1;for(let n=0;n<this.validDropTargets.length;n++){let a=this.validDropTargets[n].element.getBoundingClientRect(),l=a.left-t.left,s=a.top-t.top,u=l*l+s*s;u<r&&(r=u,o=n);}return o}setCurrentDropTarget(t,r){if(t!==this.currentDropTarget){if(this.currentDropTarget&&typeof this.currentDropTarget.onDropExit=="function"){let o=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDropExit({type:"dropexit",x:o.left+o.width/2,y:o.top+o.height/2});}if(this.currentDropTarget=t,t){if(typeof t.onDropEnter=="function"){let o=t.element.getBoundingClientRect();t.onDropEnter({type:"dropenter",x:o.left+o.width/2,y:o.top+o.height/2},this.dragTarget);}r||t?.element.focus();}}if(r!=null&&r!==this.currentDropItem&&(this.currentDropTarget&&typeof this.currentDropTarget.onDropTargetEnter=="function"&&this.currentDropTarget.onDropTargetEnter(r.target),r.element.focus(),this.currentDropItem=r,!this.initialFocused)){let o=r?.element.getAttribute("aria-label");o&&st(o,"polite"),this.initialFocused=true;}}end(){if(this.teardown(),SK(),typeof this.dragTarget.onDragEnd=="function"){let o=(this.currentDropTarget&&this.dropOperation!=="cancel"?this.currentDropTarget:this.dragTarget).element.getBoundingClientRect();this.dragTarget.onDragEnd({type:"dragend",x:o.x+o.width/2,y:o.y+o.height/2,dropOperation:this.dropOperation||"cancel"});}let t=H(this.dragTarget.element);this.currentDropTarget&&!this.currentDropTarget.preventFocusOnDrop&&pe(t)?.dispatchEvent(new FocusEvent("focusin",{bubbles:true})),this.setCurrentDropTarget(null);}cancel(){this.setCurrentDropTarget(null),this.end(),this.dragTarget.element.closest('[aria-hidden="true"], [inert]')||this.dragTarget.element.focus(),st(this.stringFormatter.format("dropCanceled"));}drop(t){if(!this.currentDropTarget){this.cancel();return}if(typeof t?.getDropOperation=="function"){let r=qr(this.dragTarget.items);this.dropOperation=t.getDropOperation(r,this.dragTarget.allowedDropOperations);}else if(typeof this.currentDropTarget.getDropOperation=="function"){let r=qr(this.dragTarget.items);this.dropOperation=this.currentDropTarget.getDropOperation(r,this.dragTarget.allowedDropOperations);}else this.dropOperation=this.dragTarget.allowedDropOperations[0];if(typeof this.currentDropTarget.onDrop=="function"){let r=this.dragTarget.items.map(n=>({kind:"text",types:new Set(Object.keys(n)),getText:i=>Promise.resolve(n[i])})),o=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDrop({type:"drop",x:o.left+o.width/2,y:o.top+o.height/2,items:r,dropOperation:this.dropOperation},t?.target??null);}this.end(),st(this.stringFormatter.format("dropComplete"));}activate(t,r){if(t&&typeof t.onDropActivate=="function"){let o=r?.target??null,n=t.element.getBoundingClientRect();t.onDropActivate({type:"dropactivate",x:n.left+n.width/2,y:n.top+n.height/2},o);}}};function zK(e){let t=qr(e.items);return [...Db.values()].filter(r=>r.element.closest('[aria-hidden="true"], [inert]')?false:typeof r.getDropOperation=="function"?r.getDropOperation(t,e.allowedDropOperations)!=="cancel":true)}var Zo={"ar-AE":{dragDescriptionKeyboard:"\u0627\u0636\u063A\u0637 Enter \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionKeyboardAlt:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + Enter \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionLongPress:"\u0627\u0636\u063A\u0637 \u0628\u0627\u0633\u062A\u0645\u0631\u0627\u0631 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionTouch:"\u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionVirtual:"\u0627\u0646\u0642\u0631 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragItem:e=>`\u0627\u0633\u062D\u0628 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u0627\u0633\u062D\u0628 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`,other:()=>`${t.number(e.count)} \u0639\u0646\u0627\u0635\u0631 \u0645\u062D\u062F\u062F\u0629`})}`,dragSelectedKeyboard:(e,t)=>`\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Enter \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D\u064A Alt + Enter \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragSelectedLongPress:(e,t)=>`\u0627\u0636\u063A\u0637 \u0628\u0627\u0633\u062A\u0645\u0631\u0627\u0631 \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragStartedKeyboard:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 Tab \u0644\u0644\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0645\u0648\u0636\u0639 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u0623\u0648 \u0627\u0636\u063A\u0637 Escape \u0644\u0644\u0625\u0644\u063A\u0627\u0621.",dragStartedTouch:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u062A\u0642\u0644 \u0625\u0644\u0649 \u0645\u0648\u0636\u0639 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dragStartedVirtual:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u062A\u0642\u0644 \u0625\u0644\u0649 \u0645\u0643\u0627\u0646 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0646\u0642\u0631 \u0623\u0648 \u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropCanceled:"\u062A\u0645 \u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0625\u0641\u0644\u0627\u062A.",dropComplete:"\u0627\u0643\u062A\u0645\u0644 \u0627\u0644\u0625\u0641\u0644\u0627\u062A.",dropDescriptionKeyboard:"\u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A. \u0627\u0636\u063A\u0637 Escape \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",dropDescriptionTouch:"\u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropDescriptionVirtual:"\u0627\u0646\u0642\u0631 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropIndicator:"\u0645\u0624\u0634\u0631 \u0627\u0644\u0625\u0641\u0644\u0627\u062A",dropOnItem:e=>`\u0625\u0641\u0644\u0627\u062A ${e.itemText}`,dropOnRoot:"\u0627\u0644\u0625\u0641\u0644\u0627\u062A",endDragKeyboard:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 Enter \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",endDragTouch:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",endDragVirtual:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u0642\u0631 \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",insertAfter:e=>`\u0623\u062F\u062E\u0644 \u0628\u0639\u062F ${e.itemText}`,insertBefore:e=>`\u0623\u062F\u062E\u0644 \u0642\u0628\u0644 ${e.itemText}`,insertBetween:e=>`\u0623\u062F\u062E\u0644 \u0628\u064A\u0646 ${e.beforeItemText} \u0648 ${e.afterItemText}`},"bg-BG":{dragDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt + Enter, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionLongPress:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionVirtual:"\u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragItem:e=>`\u041F\u043B\u044A\u0437\u043D\u0438 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u043B\u044A\u0437\u043D\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Enter, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt \u0438 Enter, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragSelectedLongPress:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragStartedKeyboard:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201ETab\u201C, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0438\u0434\u0432\u0438\u0436\u0438\u0442\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435 \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEscape\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430.",dragStartedTouch:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0435\u0442\u0435 \u0441\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E, \u0437\u0430 \u0434\u0430 \u043F\u0443\u0441\u043D\u0435\u0442\u0435.",dragStartedVirtual:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0435\u0442\u0435 \u0441\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u0449\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropCanceled:"\u041F\u0443\u0441\u043A\u0430\u043D\u0435\u0442\u043E \u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E.",dropComplete:"\u041F\u0443\u0441\u043A\u0430\u043D\u0435\u0442\u043E \u0435 \u0437\u0430\u0432\u044A\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEscape\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",dropDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropDescriptionVirtual:"\u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropIndicator:"\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435",dropOnItem:e=>`\u041F\u0443\u0441\u043D\u0438 \u0432\u044A\u0440\u0445\u0443 ${e.itemText}`,dropOnRoot:"\u041F\u0443\u0441\u043D\u0438 \u0432\u044A\u0440\u0445\u0443",endDragKeyboard:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",endDragTouch:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",endDragVirtual:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430.",insertAfter:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u0441\u043B\u0435\u0434 ${e.itemText}`,insertBefore:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u043F\u0440\u0435\u0434\u0438 ${e.itemText}`,insertBetween:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u043C\u0435\u0436\u0434\u0443 ${e.beforeItemText} \u0438 ${e.afterItemText}`},"cs-CZ":{dragDescriptionKeyboard:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragDescriptionKeyboardAlt:"Stisknut\xEDm Alt + Enter zah\xE1j\xEDte p\u0159etahov\xE1n\xED.",dragDescriptionLongPress:"Dlouh\xFDm stisknut\xEDm zah\xE1j\xEDte p\u0159etahov\xE1n\xED.",dragDescriptionTouch:"Poklep\xE1n\xEDm za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragDescriptionVirtual:"Kliknut\xEDm za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragItem:e=>`P\u0159et\xE1hnout ${e.itemText}`,dragSelectedItems:(e,t)=>`P\u0159et\xE1hnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,few:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`,other:()=>`${t.number(e.count)} vybran\xFDch polo\u017Eek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknut\xEDm kl\xE1vesy Enter p\u0159et\xE1hn\u011Bte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknut\xEDm Alt + Enter p\u0159et\xE1hn\u011Bte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouh\xFDm stisknut\xEDm p\u0159et\xE1hnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragStartedKeyboard:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Po stisknut\xED kl\xE1vesy Tab najd\u011Bte po\u017Eadovan\xFD c\xEDl a stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete nebo stisknut\xEDm kl\xE1vesy Esc akci zru\u0161te.",dragStartedTouch:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Najd\u011Bte po\u017Eadovan\xFD c\xEDl a poklep\xE1n\xEDm p\u0159eta\u017Een\xED dokon\u010Dete.",dragStartedVirtual:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Najd\u011Bte po\u017Eadovan\xFD c\xEDl a kliknut\xEDm nebo stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete.",dropCanceled:"P\u0159eta\u017Een\xED bylo zru\u0161eno.",dropComplete:"P\u0159eta\u017Een\xED bylo dokon\u010Deno.",dropDescriptionKeyboard:"Stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete nebo stisknut\xEDm kl\xE1vesy Esc akci zru\u0161te.",dropDescriptionTouch:"Poklep\xE1n\xEDm p\u0159eta\u017Een\xED dokon\u010Dete.",dropDescriptionVirtual:"Kliknut\xEDm objekt p\u0159et\xE1hn\u011Bte.",dropIndicator:"indik\xE1tor p\u0159eta\u017Een\xED",dropOnItem:e=>`P\u0159et\xE1hnout na ${e.itemText}`,dropOnRoot:"P\u0159et\xE1hnout na",endDragKeyboard:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED zru\u0161\xEDte.",endDragTouch:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Poklep\xE1n\xEDm p\u0159eta\u017Een\xED zru\u0161\xEDte.",endDragVirtual:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Kliknut\xEDm p\u0159eta\u017Een\xED zru\u0161\xEDte.",insertAfter:e=>`Vlo\u017Eit za ${e.itemText}`,insertBefore:e=>`Vlo\u017Eit p\u0159ed ${e.itemText}`,insertBetween:e=>`Vlo\u017Eit mezi ${e.beforeItemText} a ${e.afterItemText}`},"da-DK":{dragDescriptionKeyboard:"Tryk p\xE5 Enter for at starte med at tr\xE6kke.",dragDescriptionKeyboardAlt:"Tryk p\xE5 Alt + Enter for at starte med at tr\xE6kke.",dragDescriptionLongPress:"Tryk l\xE6nge for at starte med at tr\xE6kke.",dragDescriptionTouch:"Dobbelttryk for at starte med at tr\xE6kke.",dragDescriptionVirtual:"Klik for at starte med at tr\xE6kke.",dragItem:e=>`Tr\xE6k ${e.itemText}`,dragSelectedItems:(e,t)=>`Tr\xE6k ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk p\xE5 Enter for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk p\xE5 Alt + Enter for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk l\xE6nge for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at tr\xE6kke. Tryk p\xE5 Tab for at g\xE5 til et slip-m\xE5l, tryk derefter p\xE5 Enter for at slippe, eller tryk p\xE5 Escape for at annullere.",dragStartedTouch:"Startet med at tr\xE6kke. G\xE5 til et slip-m\xE5l, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at tr\xE6kke. G\xE5 til et slip-m\xE5l, og klik eller tryk derefter p\xE5 enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldf\xF8rt.",dropDescriptionKeyboard:"Tryk p\xE5 Enter for at slippe. Tryk p\xE5 Escape for at annullere tr\xE6kning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip p\xE5 ${e.itemText}`,dropOnRoot:"Slip p\xE5",endDragKeyboard:"Tr\xE6kning. Tryk p\xE5 enter for at annullere tr\xE6k.",endDragTouch:"Tr\xE6kning. Dobbelttryk for at annullere tr\xE6k.",endDragVirtual:"Tr\xE6kning. Klik for at annullere tr\xE6kning.",insertAfter:e=>`Inds\xE6t efter ${e.itemText}`,insertBefore:e=>`Inds\xE6t f\xF8r ${e.itemText}`,insertBetween:e=>`Inds\xE6t mellem ${e.beforeItemText} og ${e.afterItemText}`},"de-DE":{dragDescriptionKeyboard:"Dr\xFCcken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe dr\xFCcken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang dr\xFCcken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Objekt`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Dr\xFCcken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und dr\xFCcken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder dr\xFCcken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Dr\xFCcken Sie die Eingabetaste, um das Objekt abzulegen. Dr\xFCcken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang l\xE4uft. Dr\xFCcken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang l\xE4uft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang l\xE4uft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einf\xFCgen`,insertBefore:e=>`Vor ${e.itemText} einf\xFCgen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einf\xFCgen`},"el-GR":{dragDescriptionKeyboard:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionKeyboardAlt:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionLongPress:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC.",dragDescriptionTouch:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionVirtual:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC.",dragItem:e=>`\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC ${e.itemText}`,dragSelectedItems:(e,t)=>`\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}`,dragSelectedKeyboard:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + Enter \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragSelectedLongPress:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragStartedKeyboard:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03C0\u03BB\u03AE\u03BA\u03C4\u03C1\u03BF Tab \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Escape \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7.",dragStartedTouch:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u039C\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dragStartedVirtual:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u039C\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03BA\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropCanceled:"\u0397 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03B1\u03BA\u03C5\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5.",dropComplete:"\u0397 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5.",dropDescriptionKeyboard:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Escape \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dropDescriptionTouch:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropDescriptionVirtual:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropIndicator:"\u03B4\u03B5\u03AF\u03BA\u03C4\u03B7\u03C2 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2",dropOnItem:e=>`\u0391\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03C3\u03B5 ${e.itemText}`,dropOnRoot:"\u0391\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03C3\u03B5",endDragKeyboard:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",endDragTouch:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",endDragVirtual:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",insertAfter:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03BC\u03B5\u03C4\u03AC \u03B1\u03C0\u03CC ${e.itemText}`,insertBefore:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC ${e.itemText}`,insertBetween:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03BC\u03B5\u03C4\u03B1\u03BE\u03CD ${e.beforeItemText} \u03BA\u03B1\u03B9 ${e.afterItemText}`},"en-US":{dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`},"es-ES":{dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocaci\xF3n.",dropComplete:"Colocaci\xF3n finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocaci\xF3n",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar despu\xE9s de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`},"et-EE":{dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Kl\xF5psake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksust`,other:()=>`${t.number(e.count)} valitud \xFCksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtm\xE4rgi juurde navigeerimiseks vajutage klahvi Tab, seej\xE4rel vajutage kukutamiseks klahvi Enter v\xF5i loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtm\xE4rgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtm\xE4rgi juurde ja kukutamiseks kl\xF5psake v\xF5i vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks kl\xF5psake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks kl\xF5psake.",insertAfter:e=>`Sisesta ${e.itemText} j\xE4rele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`},"fi-FI":{dragDescriptionKeyboard:"Aloita vet\xE4minen painamalla Enter-n\xE4pp\xE4int\xE4.",dragDescriptionKeyboardAlt:"Aloita vet\xE4minen painamalla Alt + Enter -n\xE4pp\xE4inyhdistelm\xE4\xE4.",dragDescriptionLongPress:"Aloita vet\xE4minen pit\xE4m\xE4ll\xE4 painettuna.",dragDescriptionTouch:"Aloita vet\xE4minen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vet\xE4minen napsauttamalla.",dragItem:e=>`Ved\xE4 kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Ved\xE4 ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Ved\xE4 painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ved\xE4 painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Ved\xE4 pit\xE4m\xE4ll\xE4 painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen painamalla sarkainn\xE4pp\xE4int\xE4 ja sitten pudota painamalla Enter-n\xE4pp\xE4int\xE4 tai peruuta painamalla Escape-n\xE4pp\xE4int\xE4.",dragStartedTouch:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-n\xE4pp\xE4int\xE4.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-n\xE4pp\xE4int\xE4. Peruuta vet\xE4minen painamalla Escape-n\xE4pp\xE4int\xE4.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedet\xE4\xE4n. Peruuta vet\xE4minen painamalla Enter-n\xE4pp\xE4int\xE4.",endDragTouch:"Vedet\xE4\xE4n. Peruuta vet\xE4minen kaksoisnapauttamalla.",endDragVirtual:"Vedet\xE4\xE4n. Peruuta vet\xE4minen napsauttamalla.",insertAfter:e=>`Lis\xE4\xE4 kohteen ${e.itemText} j\xE4lkeen`,insertBefore:e=>`Lis\xE4\xE4 ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lis\xE4\xE4 kohteiden ${e.beforeItemText} ja ${e.afterItemText} v\xE4liin`},"fr-FR":{dragDescriptionKeyboard:"Appuyez sur Entr\xE9e pour commencer le d\xE9placement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt\xA0+\xA0Entr\xE9e pour commencer \xE0 faire glisser.",dragDescriptionLongPress:"Appuyez de mani\xE8re prolong\xE9e pour commencer \xE0 faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le d\xE9placement.",dragDescriptionVirtual:"Cliquez pour commencer le d\xE9placement.",dragItem:e=>`D\xE9placer ${e.itemText}`,dragSelectedItems:(e,t)=>`D\xE9placer ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entr\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt\xA0+\xA0Entr\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de mani\xE8re prolong\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragStartedKeyboard:"D\xE9placement commenc\xE9. Appuyez sur Tabulation pour acc\xE9der \xE0 une cible de d\xE9p\xF4t, puis appuyez sur Entr\xE9e pour d\xE9poser, ou appuyez sur \xC9chap pour annuler.",dragStartedTouch:"D\xE9placement commenc\xE9. Acc\xE9dez \xE0 une cible de d\xE9p\xF4t, puis touchez deux fois pour d\xE9poser.",dragStartedVirtual:"D\xE9placement commenc\xE9. Acc\xE9dez \xE0 une cible de d\xE9p\xF4t, puis cliquez ou appuyez sur Entr\xE9e pour d\xE9poser.",dropCanceled:"D\xE9p\xF4t annul\xE9.",dropComplete:"D\xE9p\xF4t termin\xE9.",dropDescriptionKeyboard:"Appuyez sur Entr\xE9e pour d\xE9poser. Appuyez sur \xC9chap pour annuler le d\xE9placement.",dropDescriptionTouch:"Touchez deux fois pour d\xE9poser.",dropDescriptionVirtual:"Cliquez pour d\xE9poser.",dropIndicator:"indicateur de d\xE9p\xF4t",dropOnItem:e=>`D\xE9poser sur ${e.itemText}`,dropOnRoot:"D\xE9poser sur",endDragKeyboard:"D\xE9placement. Appuyez sur Entr\xE9e pour annuler le d\xE9placement.",endDragTouch:"D\xE9placement. Touchez deux fois pour annuler le d\xE9placement.",endDragVirtual:"D\xE9placement. Cliquez pour annuler le d\xE9placement.",insertAfter:e=>`Ins\xE9rer apr\xE8s ${e.itemText}`,insertBefore:e=>`Ins\xE9rer avant ${e.itemText}`,insertBetween:e=>`Ins\xE9rer entre ${e.beforeItemText} et ${e.afterItemText}`},"he-IL":{dragDescriptionKeyboard:"\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionKeyboardAlt:"\u05D4\u05E7\u05E9 Alt + Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionLongPress:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionTouch:"\u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1\u05D2\u05E8\u05D9\u05E8\u05D4.",dragDescriptionVirtual:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragItem:e=>`\u05D2\u05E8\u05D5\u05E8 \u05D0\u05EA ${e.itemText}`,dragSelectedItems:(e,t)=>`\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`\u05E4\u05E8\u05D9\u05D8 \u05E0\u05D1\u05D7\u05E8 ${t.number(e.count)}`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}`,dragSelectedKeyboard:(e,t)=>`\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u05D4\u05E7\u05E9 Alt + Enter \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragSelectedLongPress:(e,t)=>`\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragStartedKeyboard:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Tab \u05DB\u05D3\u05D9 \u05DC\u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8 \u05D0\u05D5 \u05E2\u05DC Escape \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC.",dragStartedTouch:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dragStartedVirtual:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05DC\u05D7\u05E5 \u05D0\u05D5 \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropCanceled:"\u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D1\u05D5\u05D8\u05DC.",dropComplete:"\u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D4\u05D5\u05E9\u05DC\u05DD.",dropDescriptionKeyboard:"\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Escape \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",dropDescriptionTouch:"\u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropDescriptionVirtual:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropIndicator:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05E9\u05D7\u05E8\u05D5\u05E8",dropOnItem:e=>`\u05E9\u05D7\u05E8\u05E8 \u05E2\u05DC ${e.itemText}`,dropOnRoot:"\u05E9\u05D7\u05E8\u05E8 \u05E2\u05DC",endDragKeyboard:"\u05D2\u05D5\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",endDragTouch:"\u05D2\u05D5\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",endDragVirtual:"\u05D2\u05D5\u05E8\u05E8. \u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",insertAfter:e=>`\u05D4\u05D5\u05E1\u05E3 \u05D0\u05D7\u05E8\u05D9 ${e.itemText}`,insertBefore:e=>`\u05D4\u05D5\u05E1\u05E3 \u05DC\u05E4\u05E0\u05D9 ${e.itemText}`,insertBetween:e=>`\u05D4\u05D5\u05E1\u05E3 \u05D1\u05D9\u05DF ${e.beforeItemText} \u05DC\u05D1\u05D9\u05DF ${e.afterItemText}`},"hr-HR":{dragDescriptionKeyboard:"Pritisnite Enter da biste po\u010Deli povla\u010Diti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za po\u010Detak povla\u010Denja.",dragDescriptionLongPress:"Dugo pritisnite za po\u010Detak povla\u010Denja.",dragDescriptionTouch:"Dvaput dodirnite da biste po\u010Deli povla\u010Diti.",dragDescriptionVirtual:"Kliknite da biste po\u010Deli povla\u010Diti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Po\u010Deli ste povla\u010Diti. Pritisnite tipku tabulatora da biste do\u0161li do cilja ispu\u0161tanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povla\u010Denje.",dragStartedTouch:"Po\u010Deli ste povla\u010Diti. Do\u0111ite do cilja ispu\u0161tanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Po\u010Deli ste povla\u010Diti. Do\u0111ite do cilja ispu\u0161tanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povla\u010Denje je prekinuto.",dropComplete:"Ispu\u0161tanje je dovr\u0161eno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povla\u010Denje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispu\u0161tanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povla\u010Denje. Pritisnite Enter da biste prekinuli povla\u010Denje.",endDragTouch:"Povla\u010Denje. Dvaput dodirnite da biste prekinuli povla\u010Denje.",endDragVirtual:"Povla\u010Denje. Kliknite da biste prekinuli povla\u010Denje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite izme\u0111u stavki ${e.beforeItemText} i ${e.afterItemText}`},"hu-HU":{dragDescriptionKeyboard:"Nyomja le az Enter billenty\u0171t a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billenty\u0171ket a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionLongPress:"Hosszan nyomja meg a h\xFAz\xE1s elind\xEDt\xE1s\xE1hoz.",dragDescriptionTouch:"Koppintson dupl\xE1n a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionVirtual:"Kattintson a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragItem:e=>`${e.itemText} h\xFAz\xE1sa`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1sa`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billenty\u0171ket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragStartedKeyboard:"H\xFAz\xE1s megkezdve. Nyomja le a Tab billenty\u0171t az elenged\xE9si c\xE9lhoz navig\xE1l\xE1s\xE1hoz, majd nyomja le az Enter billenty\u0171t az elenged\xE9shez, vagy nyomja le az Escape billenty\u0171t a megszak\xEDt\xE1shoz.",dragStartedTouch:"H\xFAz\xE1s megkezdve. Navig\xE1ljon egy elenged\xE9si c\xE9lhoz, majd koppintson dupl\xE1n az elenged\xE9shez.",dragStartedVirtual:"H\xFAz\xE1s megkezdve. Navig\xE1ljon egy elenged\xE9si c\xE9lhoz, majd kattintson vagy nyomja le az Enter billenty\u0171t az elenged\xE9shez.",dropCanceled:"Elenged\xE9s megszak\xEDtva.",dropComplete:"Elenged\xE9s teljes\xEDtve.",dropDescriptionKeyboard:"Nyomja le az Enter billenty\u0171t az elenged\xE9shez. Nyomja le az Escape billenty\u0171t a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",dropDescriptionTouch:"Koppintson dupl\xE1n az elenged\xE9shez.",dropDescriptionVirtual:"Kattintson az elenged\xE9shez.",dropIndicator:"elenged\xE9sjelz\u0151",dropOnItem:e=>`Elenged\xE9s erre: ${e.itemText}`,dropOnRoot:"Elenged\xE9s erre:",endDragKeyboard:"H\xFAz\xE1s folyamatban. Nyomja le az Enter billenty\u0171t a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",endDragTouch:"H\xFAz\xE1s folyamatban. Koppintson dupl\xE1n a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",endDragVirtual:"H\xFAz\xE1s folyamatban. Kattintson a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",insertAfter:e=>`Besz\xFAr\xE1s ${e.itemText} ut\xE1n`,insertBefore:e=>`Besz\xFAr\xE1s ${e.itemText} el\xE9`,insertBetween:e=>`Besz\xFAr\xE1s ${e.beforeItemText} \xE9s ${e.afterItemText} k\xF6z\xE9`},"it-IT":{dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull\u2019area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull\u2019area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull\u2019area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`},"ja-JP":{dragDescriptionKeyboard:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",dragDescriptionKeyboardAlt:"Alt+Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionLongPress:"\u9577\u62BC\u3057\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionTouch:"\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionVirtual:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragItem:e=>`${e.itemText} \u3092\u30C9\u30E9\u30C3\u30B0`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u306E\u9078\u629E\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u306E\u9078\u629E\u9805\u76EE`})} \u3092\u30C9\u30E9\u30C3\u30B0`,dragSelectedKeyboard:(e,t)=>`Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragSelectedLongPress:(e,t)=>`\u9577\u62BC\u3057\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragStartedKeyboard:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002Tab \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u3044\u3069\u3046\u3057\u3001Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3059\u308B\u304B\u3001Esc \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",dragStartedTouch:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3057\u305F\u3002\u30C9\u30ED\u30C3\u30D7\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u79FB\u52D5\u3057\u3001\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dragStartedVirtual:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3057\u305F\u3002\u30C9\u30ED\u30C3\u30D7\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u79FB\u52D5\u3057\u3001\u30AF\u30EA\u30C3\u30AF\u307E\u305F\u306F Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropCanceled:"\u30C9\u30ED\u30C3\u30D7\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",dropComplete:"\u30C9\u30ED\u30C3\u30D7\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002",dropDescriptionKeyboard:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002Esc \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",dropDescriptionTouch:"\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropDescriptionVirtual:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropIndicator:"\u30C9\u30ED\u30C3\u30D7\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC",dropOnItem:e=>`${e.itemText} \u306B\u30C9\u30ED\u30C3\u30D7`,dropOnRoot:"\u30C9\u30ED\u30C3\u30D7\u5834\u6240",endDragKeyboard:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",endDragTouch:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",endDragVirtual:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",insertAfter:e=>`${e.itemText} \u306E\u5F8C\u306B\u633F\u5165`,insertBefore:e=>`${e.itemText} \u306E\u524D\u306B\u633F\u5165`,insertBetween:e=>`${e.beforeItemText} \u3068 ${e.afterItemText} \u306E\u9593\u306B\u633F\u5165`},"ko-KR":{dragDescriptionKeyboard:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",dragDescriptionKeyboardAlt:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Alt + Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.",dragDescriptionLongPress:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",dragDescriptionTouch:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uB354\uBE14 \uD0ED\uD558\uC138\uC694.",dragDescriptionVirtual:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",dragItem:e=>`${e.itemText} \uB4DC\uB798\uADF8`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})} \uB4DC\uB798\uADF8`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 Alt + Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragStartedKeyboard:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. Tab\uC744 \uB20C\uB7EC \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C Enter\uB97C \uB20C\uB7EC \uB4DC\uB86D\uD558\uAC70\uB098 Esc\uB97C \uB20C\uB7EC \uCDE8\uC18C\uD558\uC138\uC694.",dragStartedTouch:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C \uB354\uBE14 \uD0ED\uD558\uC5EC \uB4DC\uB86D\uD558\uC138\uC694.",dragStartedVirtual:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C \uD074\uB9AD\uD558\uAC70\uB098 Enter\uB97C \uB20C\uB7EC \uB4DC\uB86D\uD558\uC138\uC694.",dropCanceled:"\uB4DC\uB86D\uC774 \uCDE8\uC18C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",dropComplete:"\uB4DC\uB86D\uC774 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",dropDescriptionKeyboard:"\uB4DC\uB86D\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 Esc\uB97C \uB204\uB974\uC138\uC694.",dropDescriptionTouch:"\uB354\uBE14 \uD0ED\uD558\uC5EC \uB4DC\uB86D\uD558\uC138\uC694.",dropDescriptionVirtual:"\uB4DC\uB86D\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",dropIndicator:"\uB4DC\uB86D \uD45C\uC2DC\uAE30",dropOnItem:e=>`${e.itemText}\uC5D0 \uB4DC\uB86D`,dropOnRoot:"\uB4DC\uB86D \uB300\uC0C1",endDragKeyboard:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",endDragTouch:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 \uB354\uBE14 \uD0ED\uD558\uC138\uC694.",endDragVirtual:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",insertAfter:e=>`${e.itemText} \uC774\uD6C4\uC5D0 \uC0BD\uC785`,insertBefore:e=>`${e.itemText} \uC774\uC804\uC5D0 \uC0BD\uC785`,insertBetween:e=>`${e.beforeItemText} \uBC0F ${e.afterItemText} \uC0AC\uC774\uC5D0 \uC0BD\uC785`},"lt-LT":{dragDescriptionKeyboard:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te vilkti.",dragDescriptionKeyboardAlt:"Paspauskite \u201EAlt + Enter\u201C, kad prad\u0117tum\u0117te vilkti.",dragDescriptionLongPress:"Palaikykite nuspaud\u0119, kad prad\u0117tum\u0117te vilkti.",dragDescriptionTouch:"Palieskite dukart, kad prad\u0117tum\u0117te vilkti.",dragDescriptionVirtual:"Spustel\u0117kite, kad prad\u0117tum\u0117te vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite \u201EEnter\u201C, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite \u201EAlt + Enter\u201C, kad nuvilktum\u0117te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaud\u0119 palaikykite, kad nuvilktum\u0117te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Prad\u0117ta vilkti. Paspauskite \u201ETab\u201C, kad pereitum\u0117te \u012F tiesiogin\u0119 paskirties viet\u0105, tada paspauskite \u201EEnter\u201C, kad numestum\u0117te, arba \u201EEscape\u201C, kad at\u0161auktum\u0117te.",dragStartedTouch:"Prad\u0117ta vilkti. Eikite \u012F tiesiogin\u0119 paskirties viet\u0105, tada palieskite dukart, kad numestum\u0117te.",dragStartedVirtual:"Prad\u0117ta vilkti. Eikite \u012F tiesiogin\u0119 paskirties viet\u0105 ir spustel\u0117kite arba paspauskite \u201EEnter\u201C, kad numestum\u0117te.",dropCanceled:"Numetimas at\u0161auktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite \u201EEnter\u201C, kad numestum\u0117te. Paspauskite \u201EEscape\u201C, kad at\u0161auktum\u0117te vilkim\u0105.",dropDescriptionTouch:"Palieskite dukart, kad numestum\u0117te.",dropDescriptionVirtual:"Spustel\u0117kite, kad numestum\u0117te.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite \u201EEnter\u201C, kad at\u0161auktum\u0117te vilkim\u0105.",endDragTouch:"Velkama. Spustel\u0117kite dukart, kad at\u0161auktum\u0117te vilkim\u0105.",endDragVirtual:"Velkama. Spustel\u0117kite, kad at\u0161auktum\u0117te vilkim\u0105.",insertAfter:e=>`\u012Eterpti po ${e.itemText}`,insertBefore:e=>`\u012Eterpti prie\u0161 ${e.itemText}`,insertBetween:e=>`\u012Eterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`},"lv-LV":{dragDescriptionKeyboard:"Nospiediet Enter, lai s\u0101ktu vilk\u0161anu.",dragDescriptionKeyboardAlt:"Nospiediet tausti\u0146u kombin\u0101ciju Alt+Enter, lai s\u0101ktu vilk\u0161anu.",dragDescriptionLongPress:"Turiet nospiestu, lai s\u0101ktu vilk\u0161anu.",dragDescriptionTouch:"Veiciet dubultsk\u0101rienu, lai s\u0101ktu vilk\u0161anu.",dragDescriptionVirtual:"Noklik\u0161\u0137iniet, lai s\u0101ktu vilk\u0161anu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet tausti\u0146u Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet tausti\u0146u kombin\u0101ciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragStartedKeyboard:"Uzs\u0101kta vilk\u0161ana. Nospiediet tausti\u0146u Tab, lai p\u0101rietu uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzs\u0101kta vilk\u0161ana. P\u0101rejiet uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam veiciet dubultsk\u0101rienu, lai nomestu.",dragStartedVirtual:"Uzs\u0101kta vilk\u0161ana. P\u0101rejiet uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam nospiediet Enter, lai nomestu.",dropCanceled:"Nome\u0161ana atcelta.",dropComplete:"Nome\u0161ana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilk\u0161anu.",dropDescriptionTouch:"Veiciet dubultsk\u0101rienu, lai nomestu.",dropDescriptionVirtual:"Noklik\u0161\u0137iniet, lai nomestu.",dropIndicator:"nome\u0161anas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilk\u0161ana. Nospiediet Enter, lai atceltu vilk\u0161anu.",endDragTouch:"Notiek vilk\u0161ana. Veiciet dubultsk\u0101rienu, lai atceltu vilk\u0161anu.",endDragVirtual:"Notiek vilk\u0161ana. Noklik\u0161\u0137iniet, lai atceltu vilk\u0161anu.",insertAfter:e=>`Ievietojiet p\u0113c ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`},"nb-NO":{dragDescriptionKeyboard:"Trykk p\xE5 Enter for \xE5 begynne \xE5 dra.",dragDescriptionKeyboardAlt:"Trykk p\xE5 Alt + Enter for \xE5 begynne \xE5 dra.",dragDescriptionLongPress:"Trykk lenge for \xE5 begynne \xE5 dra.",dragDescriptionTouch:"Dobbelttrykk for \xE5 begynne \xE5 dra.",dragDescriptionVirtual:"Klikk for \xE5 begynne \xE5 dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk p\xE5 Alt + Enter for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte \xE5 dra. Trykk p\xE5 Tab for \xE5 navigere til et m\xE5l, og trykk deretter p\xE5 Enter for \xE5 slippe eller p\xE5 Esc for \xE5 avbryte.",dragStartedTouch:"Begynte \xE5 dra. Naviger til et m\xE5l, og dobbelttrykk for \xE5 slippe.",dragStartedVirtual:"Begynte \xE5 dra. Naviger til et m\xE5l, og klikk eller trykk p\xE5 Enter for \xE5 slippe.",dropCanceled:"Avbr\xF8t slipping.",dropComplete:"Slippingen er fullf\xF8rt.",dropDescriptionKeyboard:"Trykk p\xE5 Enter for \xE5 slippe. Trykk p\xE5 Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for \xE5 slippe.",dropDescriptionVirtual:"Klikk for \xE5 slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp p\xE5 ${e.itemText}`,dropOnRoot:"Slipp p\xE5",endDragKeyboard:"Drar. Trykk p\xE5 Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn f\xF8r ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`},"nl-NL":{dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen v\xF3\xF3r ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`},"pl-PL":{dragDescriptionKeyboard:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionKeyboardAlt:"Naci\u015Bnij Alt + Enter, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionLongPress:"Naci\u015Bnij i przytrzymaj, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionVirtual:"Kliknij, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragItem:e=>`Przeci\u0105gnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeci\u0105gnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych element\xF3w`})}`,dragSelectedKeyboard:(e,t)=>`Naci\u015Bnij Enter, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naci\u015Bnij Alt + Enter, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragSelectedLongPress:(e,t)=>`Naci\u015Bnij i przytrzymaj, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragStartedKeyboard:"Rozpocz\u0119to przeci\u0105ganie. Naci\u015Bnij Tab, aby wybra\u0107 miejsce docelowe, a nast\u0119pnie naci\u015Bnij Enter, aby upu\u015Bci\u0107, lub Escape, aby anulowa\u0107.",dragStartedTouch:"Rozpocz\u0119to przeci\u0105ganie. Wybierz miejsce, w kt\xF3rym chcesz upu\u015Bci\u0107 element, a nast\u0119pnie dotknij dwukrotnie, aby upu\u015Bci\u0107.F",dragStartedVirtual:"Rozpocz\u0119to przeci\u0105ganie. Wybierz miejsce, w kt\xF3rym chcesz upu\u015Bci\u0107 element, a nast\u0119pnie kliknij lub naci\u015Bnij Enter, aby upu\u015Bci\u0107.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zako\u0144czono upuszczanie.",dropDescriptionKeyboard:"Naci\u015Bnij Enter, aby upu\u015Bci\u0107. Naci\u015Bnij Escape, aby anulowa\u0107 przeci\u0105gni\u0119cie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upu\u015Bci\u0107.",dropDescriptionVirtual:"Kliknij, aby upu\u015Bci\u0107.",dropIndicator:"wska\u017Anik upuszczenia",dropOnItem:e=>`Upu\u015B\u0107 na ${e.itemText}`,dropOnRoot:"Upu\u015B\u0107",endDragKeyboard:"Przeci\u0105ganie. Naci\u015Bnij Enter, aby anulowa\u0107 przeci\u0105gni\u0119cie.",endDragTouch:"Przeci\u0105ganie. Kliknij dwukrotnie, aby anulowa\u0107 przeci\u0105gni\u0119cie.",endDragVirtual:"Przeci\u0105ganie. Kliknij, aby anulowa\u0107 przeci\u0105ganie.",insertAfter:e=>`Umie\u015B\u0107 za ${e.itemText}`,insertBefore:e=>`Umie\u015B\u0107 przed ${e.itemText}`,insertBetween:e=>`Umie\u015B\u0107 mi\u0119dzy ${e.beforeItemText} i ${e.afterItemText}`},"pt-BR":{dragDescriptionKeyboard:"Pressione Enter para come\xE7ar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para come\xE7ar a arrastar.",dragDescriptionLongPress:"Pressione e segure para come\xE7ar a arrastar.",dragDescriptionTouch:"Toque duas vezes para come\xE7ar a arrastar.",dragDescriptionVirtual:"Clique para come\xE7ar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar at\xE9 um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue at\xE9 um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue at\xE9 um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Libera\xE7\xE3o cancelada.",dropComplete:"Libera\xE7\xE3o conclu\xEDda.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de libera\xE7\xE3o",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir ap\xF3s ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`},"pt-PT":{dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para come\xE7ar a arrastar.",dragDescriptionTouch:"Fa\xE7a duplo toque para come\xE7ar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabula\xE7\xE3o para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida fa\xE7a duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Fa\xE7a duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Fa\xE7a duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`},"ro-RO":{dragDescriptionKeyboard:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe glisarea.",dragDescriptionKeyboardAlt:"Ap\u0103sa\u021Bi pe Alt + Enter pentru a \xEEncepe glisarea.",dragDescriptionLongPress:"Ap\u0103sa\u021Bi lung pentru a \xEEncepe glisarea.",dragDescriptionTouch:"Atinge\u021Bi de dou\u0103 ori pentru a \xEEncepe s\u0103 glisa\u021Bi.",dragDescriptionVirtual:"Face\u021Bi clic pentru a \xEEncepe glisarea.",dragItem:e=>`Glisa\u021Bi ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisa\u021Bi ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Ap\u0103sa\u021Bi pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ap\u0103sa\u021Bi pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Ap\u0103sa\u021Bi lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A \xEEnceput glisarea. Ap\u0103sa\u021Bi pe Tab pentru a naviga la o \u021Bint\u0103 de fixare, apoi ap\u0103sa\u021Bi pe Enter pentru a fixa sau ap\u0103sa\u021Bi pe Escape pentru a anula glisarea.",dragStartedTouch:"A \xEEnceput glisarea. Naviga\u021Bi la o \u021Bint\u0103 de fixare, apoi atinge\u021Bi de dou\u0103 ori pentru a fixa.",dragStartedVirtual:"A \xEEnceput glisarea. Naviga\u021Bi la o \u021Bint\u0103 de fixare, apoi face\u021Bi clic sau ap\u0103sa\u021Bi pe Enter pentru a fixa.",dropCanceled:"Fixare anulat\u0103.",dropComplete:"Fixare finalizat\u0103.",dropDescriptionKeyboard:"Ap\u0103sa\u021Bi pe Enter pentru a fixa. Ap\u0103sa\u021Bi pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atinge\u021Bi de dou\u0103 ori pentru a fixa.",dropDescriptionVirtual:"Face\u021Bi clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixa\u021Bi pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se gliseaz\u0103. Ap\u0103sa\u021Bi pe Enter pentru a anula glisarea.",endDragTouch:"Se gliseaz\u0103. Atinge\u021Bi de dou\u0103 ori pentru a anula glisarea.",endDragVirtual:"Se gliseaz\u0103. Face\u021Bi clic pentru a anula glisarea.",insertAfter:e=>`Insera\u021Bi dup\u0103 ${e.itemText}`,insertBefore:e=>`Insera\u021Bi \xEEnainte de ${e.itemText}`,insertBetween:e=>`Insera\u021Bi \xEEntre ${e.beforeItemText} \u0219i ${e.afterItemText}`},"ru-RU":{dragDescriptionKeyboard:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + Enter, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C.",dragDescriptionLongPress:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C.",dragDescriptionTouch:"\u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragDescriptionVirtual:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragItem:e=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Enter \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + Enter \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragSelectedLongPress:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragStartedKeyboard:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Tab \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0446\u0435\u043B\u0438, \u0437\u0430\u0442\u0435\u043C \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435, \u0438\u043B\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Escape \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F.",dragStartedTouch:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0446\u0435\u043B\u044C, \u0437\u0430\u0442\u0435\u043C \u0434\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dragStartedVirtual:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Tab \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0446\u0435\u043B\u0438, \u0437\u0430\u0442\u0435\u043C \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropCanceled:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E.",dropComplete:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Escape \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",dropDescriptionTouch:"\u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropDescriptionVirtual:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropIndicator:"\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F",dropOnItem:e=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C \u043D\u0430 ${e.itemText}`,dropOnRoot:"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C \u043D\u0430",endDragKeyboard:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",endDragTouch:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",endDragVirtual:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",insertAfter:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435 ${e.itemText}`,insertBefore:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0434 ${e.itemText}`,insertBetween:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0436\u0434\u0443 ${e.beforeItemText} \u0438 ${e.afterItemText}`},"sk-SK":{dragDescriptionKeyboard:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete pres\xFAvanie.",dragDescriptionKeyboardAlt:"Stla\u010Den\xEDm kl\xE1vesov Alt + Enter za\u010Dnete pres\xFAvanie.",dragDescriptionLongPress:"Dlh\xFDm stla\u010Den\xEDm za\u010Dnete pres\xFAvanie.",dragDescriptionTouch:"Dvojit\xFDm kliknut\xEDm za\u010Dnete pres\xFAvanie.",dragDescriptionVirtual:"Kliknut\xEDm za\u010Dnete pres\xFAvanie.",dragItem:e=>`Presun\xFA\u0165 polo\u017Eku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presun\xFA\u0165 ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xE9 polo\u017Eky`})}`,dragSelectedKeyboard:(e,t)=>`Stla\u010Den\xEDm kl\xE1vesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stla\u010Den\xEDm kl\xE1vesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlh\xFDm stla\u010Den\xEDm presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragStartedKeyboard:"Pres\xFAvanie sa za\u010Dalo. Do cie\u013Eov\xE9ho umiestnenia prejdete stla\u010Den\xEDm kl\xE1vesu Tab. Ak chcete polo\u017Eku umiestni\u0165, stla\u010Dte kl\xE1ves Enter alebo stla\u010Dte kl\xE1ves Esc, ak chcete pres\xFAvanie zru\u0161i\u0165.",dragStartedTouch:"Pres\xFAvanie sa za\u010Dalo. Prejdite na cie\u013Eov\xE9 umiestnenie a dvojit\xFDm kliknut\xEDm umiestnite polo\u017Eku.",dragStartedVirtual:"Pres\xFAvanie sa za\u010Dalo. Prejdite na cie\u013Eov\xE9 umiestnenie a kliknut\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Enter umiestnite polo\u017Eku.",dropCanceled:"Umiestnenie zru\u0161en\xE9.",dropComplete:"Umiestnenie dokon\u010Den\xE9.",dropDescriptionKeyboard:"Stla\u010Den\xEDm kl\xE1vesu Enter umiestnite polo\u017Eku. Stla\u010Den\xEDm kl\xE1vesu Esc zru\u0161\xEDte pres\xFAvanie.",dropDescriptionTouch:"Dvojit\xFDm kliknut\xEDm umiestnite polo\u017Eku.",dropDescriptionVirtual:"Kliknut\xEDm umiestnite polo\u017Eku.",dropIndicator:"indik\xE1tor umiestnenia",dropOnItem:e=>`Umiestni\u0165 na polo\u017Eku ${e.itemText}`,dropOnRoot:"Umiestni\u0165 na",endDragKeyboard:"Prebieha pres\xFAvanie. Ak ho chcete zru\u0161i\u0165, stla\u010Dte kl\xE1ves Enter.",endDragTouch:"Prebieha pres\xFAvanie. Dvojit\xFDm kliknut\xEDm ho m\xF4\u017Eete zru\u0161i\u0165.",endDragVirtual:"Prebieha pres\xFAvanie.",insertAfter:e=>`Vlo\u017Ei\u0165 za polo\u017Eku ${e.itemText}`,insertBefore:e=>`Vlo\u017Ei\u0165 pred polo\u017Eku ${e.itemText}`,insertBetween:e=>`Vlo\u017Ei\u0165 medzi polo\u017Eky ${e.beforeItemText} a ${e.afterItemText}`},"sl-SI":{dragDescriptionKeyboard:"Pritisnite tipko Enter za za\u010Detek vle\u010Denja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za za\u010Detek vle\u010Denja.",dragDescriptionLongPress:"Pritisnite in zadr\u017Eite za za\u010Detek vle\u010Denja.",dragDescriptionTouch:"Dvotapnite za za\u010Detek vle\u010Denja.",dragDescriptionVirtual:"Kliknite za za\u010Detek vle\u010Denja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadr\u017Eite, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vle\u010Denje se je za\u010Delo. Pritisnite tipko Tab za pomik na mesto, kamor \u017Eelite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekli\u010Dete postopek.",dragStartedTouch:"Vle\u010Denje se je za\u010Delo. Pomaknite se na mesto, kamor \u017Eelite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vle\u010Denje se je za\u010Delo. Pomaknite se na mesto, kamor \u017Eelite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je kon\u010Dan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekli\u010Dete vle\u010Denje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vle\u010Denje. Pritisnite tipko Enter za preklic vle\u010Denja.",endDragTouch:"Vle\u010Denje. Dvotapnite za preklic vle\u010Denja.",endDragVirtual:"Vle\u010Denje. Kliknite, da prekli\u010Dete vle\u010Denje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`},"sr-SP":{dragDescriptionKeyboard:"Pritisnite Enter da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionLongPress:"Pritisnite dugo da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionTouch:"Dvaput dodirnite da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionVirtual:"Kliknite da biste zapo\u010Deli prevla\u010Denje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevla\u010Denje je zapo\u010Deto. Pritisnite Tab da biste oti\u0161li do cilja za otpu\u0161tanje, zatim pritisnite Enter za ispu\u0161tanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevla\u010Denje je zapo\u010Deto. Idite do cilja za otpu\u0161tanje, a zatim dvaput dodirnite za otpu\u0161tanje.",dragStartedVirtual:"Prevla\u010Denje je zapo\u010Deto. Idite do cilja za otpu\u0161tanje, a zatim kliknite ili pritinite Enter za otpu\u0161tanje.",dropCanceled:"Otpu\u0161tanje je otkazano.",dropComplete:"Prevla\u010Denje je zavr\u0161eno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevla\u010Denje.",dropDescriptionTouch:"Dvaput dodirnite za otpu\u0161tanje.",dropDescriptionVirtual:"Kliknite za otpu\u0161tanje.",dropIndicator:"Indikator otpu\u0161tanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevla\u010Denje u toku. Pritisnite Enter da biste otkazali prevla\u010Denje.",endDragTouch:"Prevla\u010Denje u toku. Dvaput dodirnite da biste otkazali prevla\u010Denje.",endDragVirtual:"Prevla\u010Denje u toku. Kliknite da biste otkazali prevla\u010Denje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite izme\u0111u ${e.beforeItemText} i ${e.afterItemText}`},"sv-SE":{dragDescriptionKeyboard:"Tryck p\xE5 enter f\xF6r att b\xF6rja dra.",dragDescriptionKeyboardAlt:"Tryck p\xE5 Alt + Retur f\xF6r att b\xF6rja dra.",dragDescriptionLongPress:"Tryck l\xE4nge f\xF6r att b\xF6rja dra.",dragDescriptionTouch:"Dubbeltryck f\xF6r att b\xF6rja dra.",dragDescriptionVirtual:"Klicka f\xF6r att b\xF6rja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck p\xE5 Retur f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck p\xE5 Alt + Retur f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck l\xE4nge f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"B\xF6rja dra. Tryck p\xE5 tabb f\xF6r att navigera till m\xE5let, tryck p\xE5 enter f\xF6r att sl\xE4ppa eller p\xE5 escape f\xF6r att avbryta.",dragStartedTouch:"B\xF6rja dra. Navigera till ett m\xE5l och dubbeltryck f\xF6r att sl\xE4ppa.",dragStartedVirtual:"B\xF6rja dra. Navigera till ett m\xE5l och klicka eller tryck p\xE5 enter f\xF6r att sl\xE4ppa.",dropCanceled:"Sl\xE4pp\xE5tg\xE4rd avbr\xF6ts.",dropComplete:"Sl\xE4pp\xE5tg\xE4rd klar.",dropDescriptionKeyboard:"Tryck p\xE5 enter f\xF6r att sl\xE4ppa. Tryck p\xE5 escape f\xF6r att avbryta drag\xE5tg\xE4rd.",dropDescriptionTouch:"Dubbeltryck f\xF6r att sl\xE4ppa.",dropDescriptionVirtual:"Klicka f\xF6r att sl\xE4ppa.",dropIndicator:"sl\xE4ppindikator",dropOnItem:e=>`Sl\xE4pp p\xE5 ${e.itemText}`,dropOnRoot:"Sl\xE4pp p\xE5",endDragKeyboard:"Drar. Tryck p\xE5 enter f\xF6r att avbryta drag\xE5tg\xE4rd.",endDragTouch:"Drar. Dubbeltryck f\xF6r att avbryta drag\xE5tg\xE4rd.",endDragVirtual:"Drar. Klicka f\xF6r att avbryta drag\xE5tg\xE4rd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga f\xF6re ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`},"tr-TR":{dragDescriptionKeyboard:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in Enter'a bas\u0131n.",dragDescriptionKeyboardAlt:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in Alt + Enter'a bas\u0131n.",dragDescriptionLongPress:"S\xFCr\xFCklemeye ba\u015Flamak i\xE7in uzun bas\u0131n.",dragDescriptionTouch:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in \xE7ift t\u0131klay\u0131n.",dragDescriptionVirtual:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in t\u0131klay\u0131n.",dragItem:e=>`${e.itemText}\u2019i s\xFCr\xFCkle`,dragSelectedItems:(e,t)=>`S\xFCr\xFCkle ${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ili \xF6ge`,other:()=>`${t.number(e.count)} se\xE7ili \xF6ge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in Enter'a bas\u0131n.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in Alt + Enter tu\u015Funa bas\u0131n.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in uzun bas\u0131n.`,dragStartedKeyboard:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gitmek i\xE7in Tab\u2019a bas\u0131n, ard\u0131ndan b\u0131rakmak i\xE7in Enter\u2019a bas\u0131n veya iptal etmek i\xE7in Escape\u2019e bas\u0131n.",dragStartedTouch:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gidin, ard\u0131ndan b\u0131rakmak i\xE7in \xE7ift t\u0131klay\u0131n.",dragStartedVirtual:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gidin, ard\u0131ndan b\u0131rakmak i\xE7in Enter\u2019a t\u0131klay\u0131n veya bas\u0131n.",dropCanceled:"B\u0131rakma iptal edildi.",dropComplete:"B\u0131rakma tamamland\u0131.",dropDescriptionKeyboard:"B\u0131rakmak i\xE7in Enter'a bas\u0131n. S\xFCr\xFCklemeyi iptal etmek i\xE7in Escape'e bas\u0131n.",dropDescriptionTouch:"B\u0131rakmak i\xE7in \xE7ift t\u0131klay\u0131n.",dropDescriptionVirtual:"B\u0131rakmak i\xE7in t\u0131klay\u0131n.",dropIndicator:"b\u0131rakma g\xF6stergesi",dropOnItem:e=>`${e.itemText} \xFCzerine b\u0131rak`,dropOnRoot:"B\u0131rak\u0131n",endDragKeyboard:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in Enter'a bas\u0131n.",endDragTouch:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in \xE7ift t\u0131klay\u0131n.",endDragVirtual:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in t\u0131klay\u0131n.",insertAfter:e=>`${e.itemText}\u2019den sonra gir`,insertBefore:e=>`${e.itemText}\u2019den \xF6nce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} aras\u0131na gir`},"uk-UA":{dragDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Alt + Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionLongPress:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0456 \u0443\u0442\u0440\u0438\u043C\u0443\u0439\u0442\u0435, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionVirtual:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragItem:e=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Alt + Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragSelectedLongPress:(e,t)=>`\u0423\u0442\u0440\u0438\u043C\u0443\u0439\u0442\u0435, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragStartedKeyboard:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Tab, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438, \u0430\u0431\u043E Escape, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438.",dragStartedTouch:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dragStartedVirtual:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropCanceled:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E.",dropComplete:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Escape, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dropDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropDescriptionVirtual:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropIndicator:"\u0456\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F",dropOnItem:e=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 \u043D\u0430 ${e.itemText}`,dropOnRoot:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 \u043D\u0430",endDragKeyboard:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",endDragTouch:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",endDragVirtual:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",insertAfter:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043F\u0456\u0441\u043B\u044F ${e.itemText}`,insertBefore:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043F\u0435\u0440\u0435\u0434 ${e.itemText}`,insertBetween:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043C\u0456\u0436 ${e.beforeItemText} \u0456 ${e.afterItemText}`},"zh-CN":{dragDescriptionKeyboard:"\u6309 Enter \u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionKeyboardAlt:"\u6309 Alt + Enter \u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionLongPress:"\u957F\u6309\u4EE5\u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionTouch:"\u53CC\u51FB\u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionVirtual:"\u5355\u51FB\u5F00\u59CB\u62D6\u52A8\u3002",dragItem:e=>`\u62D6\u52A8 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9009\u4E2D\u9879\u76EE`,other:()=>`${t.number(e.count)} \u9009\u4E2D\u9879\u76EE`})}`,dragSelectedKeyboard:(e,t)=>`\u6309 Enter \u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragSelectedKeyboardAlt:(e,t)=>`\u6309 Alt + Enter \u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragSelectedLongPress:(e,t)=>`\u957F\u6309\u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragStartedKeyboard:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u6309 Tab \u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u6309 Enter \u653E\u7F6E\u6216\u6309 Escape \u53D6\u6D88\u3002",dragStartedTouch:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u53CC\u51FB\u653E\u7F6E\u3002",dragStartedVirtual:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u5355\u51FB\u6216\u6309 Enter \u653E\u7F6E\u3002",dropCanceled:"\u653E\u7F6E\u5DF2\u53D6\u6D88\u3002",dropComplete:"\u653E\u7F6E\u5DF2\u5B8C\u6210\u3002",dropDescriptionKeyboard:"\u6309 Enter \u653E\u7F6E\u3002\u6309 Escape \u53D6\u6D88\u62D6\u52A8\u3002",dropDescriptionTouch:"\u53CC\u51FB\u653E\u7F6E\u3002",dropDescriptionVirtual:"\u5355\u51FB\u653E\u7F6E\u3002",dropIndicator:"\u653E\u7F6E\u6807\u8BB0",dropOnItem:e=>`\u653E\u7F6E\u4E8E ${e.itemText}`,dropOnRoot:"\u653E\u7F6E\u4E8E",endDragKeyboard:"\u6B63\u5728\u62D6\u52A8\u3002\u6309 Enter \u53D6\u6D88\u62D6\u52A8\u3002",endDragTouch:"\u6B63\u5728\u62D6\u52A8\u3002\u53CC\u51FB\u53D6\u6D88\u62D6\u52A8\u3002",endDragVirtual:"\u6B63\u5728\u62D6\u52A8\u3002\u5355\u51FB\u53D6\u6D88\u62D6\u52A8\u3002",insertAfter:e=>`\u63D2\u5165\u5230 ${e.itemText} \u4E4B\u540E`,insertBefore:e=>`\u63D2\u5165\u5230 ${e.itemText} \u4E4B\u524D`,insertBetween:e=>`\u63D2\u5165\u5230 ${e.beforeItemText} \u548C ${e.afterItemText} \u4E4B\u95F4`},"zh-TW":{dragDescriptionKeyboard:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionKeyboardAlt:"\u6309 Alt+Enter \u9375\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionLongPress:"\u9577\u6309\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionTouch:"\u8F15\u9EDE\u5169\u4E0B\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionVirtual:"\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragItem:e=>`\u62D6\u66F3\u300C${e.itemText}\u300D`,dragSelectedItems:(e,t)=>`\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}`,dragSelectedKeyboard:(e,t)=>`\u6309 Enter \u9375\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragSelectedKeyboardAlt:(e,t)=>`\u6309 Alt+Enter \u9375\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragSelectedLongPress:(e,t)=>`\u9577\u6309\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragStartedKeyboard:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u6309 Tab \u9375\u4EE5\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u6309 Enter \u9375\u4EE5\u653E\u7F6E\uFF0C\u6216\u6309 Escape \u9375\u4EE5\u53D6\u6D88\u3002",dragStartedTouch:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u8F15\u9EDE\u5169\u4E0B\u4EE5\u653E\u7F6E\u3002",dragStartedVirtual:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u6309\u4E00\u4E0B\u6ED1\u9F20\u6216\u6309 Enter \u9375\u4EE5\u653E\u7F6E\u3002",dropCanceled:"\u653E\u7F6E\u5DF2\u53D6\u6D88\u3002",dropComplete:"\u653E\u7F6E\u5DF2\u5B8C\u6210\u3002",dropDescriptionKeyboard:"\u6309 Enter \u9375\u4EE5\u653E\u7F6E\u3002\u6309 Escape \u9375\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",dropDescriptionTouch:"\u8F15\u9EDE\u5169\u4E0B\u4EE5\u653E\u7F6E\u3002",dropDescriptionVirtual:"\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u653E\u7F6E\u3002",dropIndicator:"\u653E\u7F6E\u6307\u793A\u5668",dropOnItem:e=>`\u653E\u7F6E\u5728\u300C${e.itemText}\u300D\u4E0A`,dropOnRoot:"\u653E\u7F6E\u5728",endDragKeyboard:"\u62D6\u66F3\u4E2D\u3002\u6309 Enter \u9375\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",endDragTouch:"\u62D6\u66F3\u4E2D\u3002\u8F15\u9EDE\u5169\u4E0B\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",endDragVirtual:"\u62D6\u66F3\u4E2D\u3002\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",insertAfter:e=>`\u63D2\u5165\u81F3\u300C${e.itemText}\u300D\u4E4B\u5F8C`,insertBefore:e=>`\u63D2\u5165\u81F3\u300C${e.itemText}\u300D\u4E4B\u524D`,insertBetween:e=>`\u63D2\u5165\u81F3\u300C${e.beforeItemText}\u300D\u548C\u300C${e.afterItemText}\u300D\u4E4B\u9593`}};var PC={keyboard:{start:"dragDescriptionKeyboard",end:"endDragKeyboard"},touch:{start:"dragDescriptionTouch",end:"endDragTouch"},virtual:{start:"dragDescriptionVirtual",end:"endDragVirtual"}};function wb(e){let{hasDragButton:t,isDisabled:r}=e,o=xe(Zo,"@react-aria/dnd"),n=useRef({options:e,x:0,y:0}).current;n.options=e;let i=useRef(null),[a,l]=useState(false),s=T=>{i.current=T,l(!!T);},{addGlobalListener:u,removeAllGlobalListeners:c}=tt(),d=useRef(null),m=T=>{if(T.defaultPrevented)return;if(T.stopPropagation(),d.current==="virtual"){T.preventDefault(),f(T.target),d.current=null;return}typeof e.onDragStart=="function"&&e.onDragStart({type:"dragstart",x:T.clientX,y:T.clientY});let P=e.getItems();T.dataTransfer.clearData?.(),ks(T.dataTransfer,P);let S=7;if(typeof e.getAllowedDropOperations=="function"){let C=e.getAllowedDropOperations();S=0;for(let _ of C)S|=Gn[_]||0;}ld(S);let E=Pb[S]||"none";T.dataTransfer.effectAllowed=E==="cancel"?"none":E,typeof e.preview?.current=="function"&&e.preview.current(P,(C,_,z)=>{if(!C)return;let w=C.getBoundingClientRect(),O=T.currentTarget.getBoundingClientRect(),k=T.clientX-O.x,M=T.clientY-O.y;(k>w.width||M>w.height)&&(k=w.width/2,M=w.height/2);let F=k,K=M;typeof _=="number"&&typeof z=="number"&&(F=_,K=z),F=Math.max(0,Math.min(F,w.width)),K=Math.max(0,Math.min(K,w.height));let N=2*Math.round(w.height/2);C.style.height=`${N}px`,T.dataTransfer.setDragImage(C,F,K);});let D=j(T.target);u(D,"drop",C=>{C.preventDefault(),C.stopPropagation(),console.warn("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");},{once:true}),n.x=T.clientX,n.y=T.clientY;let I=T.target;requestAnimationFrame(()=>{s(I);});},p=T=>{T.stopPropagation(),!(T.clientX===n.x&&T.clientY===n.y)&&(typeof e.onDragMove=="function"&&e.onDragMove({type:"dragmove",x:T.clientX,y:T.clientY}),n.x=T.clientX,n.y=T.clientY);},y=T=>{if(T.stopPropagation(),typeof e.onDragEnd=="function"){let P={type:"dragend",x:T.clientX,y:T.clientY,dropOperation:Un[T.dataTransfer.dropEffect]};zs&&(P.dropOperation=Un[zs]),e.onDragEnd(P);}s(null),c(),ld(0),ta(void 0);};useEffect(()=>()=>{if(i.current&&(!i.current.isConnected||parseInt(version,10)<17)){if(typeof n.options.onDragEnd=="function"){let T={type:"dragend",x:0,y:0,dropOperation:Un[zs||"none"]};n.options.onDragEnd(T);}s(null),ld(0),ta(void 0);}},[n]);let b=T=>{T.pointerType!=="keyboard"&&T.pointerType!=="virtual"||f(T.target);},f=T=>{if(typeof n.options.onDragStart=="function"){let P=T.getBoundingClientRect();n.options.onDragStart({type:"dragstart",x:P.x+P.width/2,y:P.y+P.height/2});}TC({element:T,items:n.options.getItems(),allowedDropOperations:typeof n.options.getAllowedDropOperations=="function"?n.options.getAllowedDropOperations():["move","copy","link"],onDragEnd(P){s(null),typeof n.options.onDragEnd=="function"&&n.options.onDragEnd(P);}},o),s(T);},h=ea(),v=a?PC[h].end:PC[h].start,g=ft(o.format(v)),x={};return t||(x={...g,onPointerDown(T){if(d.current=En(T.nativeEvent)?"virtual":T.pointerType,T.width<1&&T.height<1)d.current="virtual";else {let P=T.currentTarget.getBoundingClientRect(),S=T.clientX-P.x,E=T.clientY-P.y,D=P.width/2,I=P.height/2;Math.abs(S-D)<=.5&&Math.abs(E-I)<=.5?d.current="virtual":d.current=T.pointerType;}},onKeyDownCapture(T){T.target===T.currentTarget&&T.key==="Enter"&&(T.preventDefault(),T.stopPropagation());},onKeyUpCapture(T){T.target===T.currentTarget&&T.key==="Enter"&&(T.preventDefault(),T.stopPropagation(),f(T.target));},onClick(T){($r(T.nativeEvent)||d.current==="virtual")&&(T.preventDefault(),T.stopPropagation(),f(T.target));}}),r?{dragProps:{draggable:"false"},dragButtonProps:{},isDragging:false}:{dragProps:{...x,draggable:"true",onDragStart:m,onDrag:p,onDragEnd:y},dragButtonProps:{...g,onPress:b},isDragging:a}}var IK={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function cd(){let e=xe(Zo,"@react-aria/dnd"),t=ea(),r=ra();return {dropProps:{...ft(r?e.format(IK[t]):""),onClick:()=>{}}}}var MK=800;function Jo(e){let{hasDropButton:t,isDisabled:r}=e,[o,n]=useState(false),i=useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:7,dropActivateTimer:void 0}).current,a=g=>{if(n(true),typeof e.onDropEnter=="function"){let x=g.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:g.clientX-x.x,y:g.clientY-x.y});}},l=g=>{if(n(false),typeof e.onDropExit=="function"){let x=g.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:g.clientX-x.x,y:g.clientY-x.y});}},s=g=>{g.preventDefault(),g.stopPropagation();let x=CC(g);if(g.clientX===i.x&&g.clientY===i.y&&x===i.allowedOperations){g.dataTransfer.dropEffect=i.dropEffect;return}i.x=g.clientX,i.y=g.clientY;let T=i.dropEffect;if(x!==i.allowedOperations){let P=_b(x),S=P[0];if(typeof e.getDropOperation=="function"){let E=new Wn(g.dataTransfer);S=dd(x,e.getDropOperation(E,P));}i.dropEffect=td[S]||"none";}if(typeof e.getDropOperationForPoint=="function"){let P=new Wn(g.dataTransfer),S=g.currentTarget.getBoundingClientRect(),E=dd(x,e.getDropOperationForPoint(P,_b(x),i.x-S.x,i.y-S.y));i.dropEffect=td[E]||"none";}if(i.allowedOperations=x,g.dataTransfer.dropEffect=i.dropEffect,i.dropEffect==="none"&&T!=="none"?l(g):i.dropEffect!=="none"&&T==="none"&&a(g),typeof e.onDropMove=="function"&&i.dropEffect!=="none"){let P=g.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:i.x-P.x,y:i.y-P.y});}if(clearTimeout(i.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&i.dropEffect!=="none"){let P=e.onDropActivate,S=g.currentTarget.getBoundingClientRect();i.dropActivateTimer=setTimeout(()=>{P({type:"dropactivate",x:i.x-S.x,y:i.y-S.y});},MK);}},u=g=>{if(g.preventDefault(),g.stopPropagation(),i.dragOverElements.add(g.target),i.dragOverElements.size>1)return;let x=CC(g),T=_b(x),P=T[0];if(typeof e.getDropOperation=="function"){let S=new Wn(g.dataTransfer);P=dd(x,e.getDropOperation(S,T));}if(typeof e.getDropOperationForPoint=="function"){let S=new Wn(g.dataTransfer),E=g.currentTarget.getBoundingClientRect();P=dd(x,e.getDropOperationForPoint(S,T,g.clientX-E.x,g.clientY-E.y));}i.x=g.clientX,i.y=g.clientY,i.allowedOperations=x,i.dropEffect=td[P]||"none",g.dataTransfer.dropEffect=i.dropEffect,P!=="cancel"&&a(g);},c=g=>{g.preventDefault(),g.stopPropagation(),i.dragOverElements.delete(g.target);for(let x of i.dragOverElements)g.currentTarget.contains(x)||i.dragOverElements.delete(x);i.dragOverElements.size>0||(i.dropEffect!=="none"&&l(g),clearTimeout(i.dropActivateTimer));},d=g=>{if(g.preventDefault(),g.stopPropagation(),ta(i.dropEffect),typeof e.onDrop=="function"){let T=Un[i.dropEffect],P=nd(g.dataTransfer),S=g.currentTarget.getBoundingClientRect(),E={type:"drop",x:g.clientX-S.x,y:g.clientY-S.y,items:P,dropOperation:T};e.onDrop(E);}let x={...Je};i.dragOverElements.clear(),l(g),clearTimeout(i.dropActivateTimer),x.draggingCollectionRef==null?ta(void 0):hC(x);},m=ue(g=>{typeof e.onDropEnter=="function"&&e.onDropEnter(g);}),p=ue(g=>{typeof e.onDropExit=="function"&&e.onDropExit(g);}),y=ue(g=>{typeof e.onDropActivate=="function"&&e.onDropActivate(g);}),b=ue(g=>{typeof e.onDrop=="function"&&e.onDrop(g);}),f=ue((g,x)=>e.getDropOperation?e.getDropOperation(g,x):x[0]),{ref:h}=e;ae(()=>{if(!(r||!h.current))return ud({element:h.current,getDropOperation:f,onDropEnter(g){n(true),m(g);},onDropExit(g){n(false),p(g);},onDrop:b,onDropActivate:y})},[r,h,f,m,p,b,y]);let{dropProps:v}=cd();return r?{dropProps:{},dropButtonProps:{isDisabled:true},isDropTarget:false}:{dropProps:{...!t&&v,onDragEnter:u,onDragOver:s,onDragLeave:c,onDrop:d},dropButtonProps:{...t&&v},isDropTarget:o}}function CC(e){let t=Tb[e.dataTransfer.effectAllowed];ad&&(t&=ad);let r=0;return at()?(e.altKey&&(r|=2),e.ctrlKey&&!ki()&&(r|=4),e.metaKey&&(r|=1)):(e.altKey&&(r|=4),e.shiftKey&&(r|=1),e.ctrlKey&&(r|=2)),r?t&r:t}function _b(e){let t=[];return e&1&&t.push("move"),e&2&&t.push("copy"),e&4&&t.push("link"),t}function dd(e,t){let r=Gn[t];return e&r?t:"cancel"}function DC(e,t,r,o,n=false,i=false){switch(o){case "left":return n?Ib(e,t,r,i,"left"):Rb(e,t,r,i,"left");case "right":return n?Rb(e,t,r,i,"right"):Ib(e,t,r,i,"right");case "up":return Rb(e,t,r,i);case "down":return Ib(e,t,r,i)}}function Ib(e,t,r,o=false,n=null){if(!r)return {type:"root"};if(r.type==="root"){let i=e.getFirstKey?.()??null;return i!=null?{type:"item",key:i,dropPosition:"before"}:null}if(r.type==="item"){let i=null;n?i=n==="right"?e.getKeyRightOf?.(r.key):e.getKeyLeftOf?.(r.key):i=e.getKeyBelow?.(r.key);let a=t.getKeyAfter(r.key);if(i!=null&&i!==a)return {type:"item",key:i,dropPosition:r.dropPosition};switch(r.dropPosition){case "before":return {type:"item",key:r.key,dropPosition:"on"};case "on":{let l=t.getItem(r.key),s=i!=null?t.getItem(i):null;return l&&s&&s.level>=l.level?{type:"item",key:s.key,dropPosition:"before"}:{type:"item",key:r.key,dropPosition:"after"}}case "after":{let l=t.getItem(r.key);if(l&&l.nextKey==null&&l.parentKey!=null){let s=t.getItem(l.parentKey);if(s?.nextKey!=null)return {type:"item",key:s.nextKey,dropPosition:"before"};if(s)return {type:"item",key:s.key,dropPosition:"after"}}if(l?.nextKey!=null)return {type:"item",key:l.nextKey,dropPosition:"on"}}}}return o?{type:"root"}:null}function Rb(e,t,r,o=false,n=null){if(!r||o&&r.type==="root"){let i=null,a=e.getLastKey?.();for(;a!=null;)i=a,a=t.getItem(a)?.parentKey;return i!=null?{type:"item",key:i,dropPosition:"after"}:null}if(r.type==="item"){let i=null;n?i=n==="left"?e.getKeyLeftOf?.(r.key):e.getKeyRightOf?.(r.key):i=e.getKeyAbove?.(r.key);let a=t.getKeyBefore(r.key);if(i!=null&&i!==a)return {type:"item",key:i,dropPosition:r.dropPosition};switch(r.dropPosition){case "before":{let l=t.getItem(r.key);if(l&&l.prevKey!=null){let s=SC(t,l.prevKey);if(s)return s}return i!=null?{type:"item",key:i,dropPosition:"on"}:{type:"root"}}case "on":return {type:"item",key:r.key,dropPosition:"before"};case "after":{let l=SC(t,r.key);return l||{type:"item",key:r.key,dropPosition:"on"}}}}return r.type!=="root"?{type:"root"}:null}function SC(e,t){let r=e.getItem(t),o=e.getKeyAfter(t),n=o!=null?e.getItem(o):null;if(r&&n&&n.level>r.level){let i=Ee(r,e),a=null;for(let l of i)l.type==="item"&&(a=l);if(a)return {type:"item",key:a.key,dropPosition:"after"}}return null}var md=20;function zC(e){let t=useRef(null),r=useRef(true),o=useRef(true);useEffect(()=>{if(e.current){t.current=kt(e.current)?e.current:mt(e.current);let a=window.getComputedStyle(t.current);r.current=/(auto|scroll)/.test(a.overflowX),o.current=/(auto|scroll)/.test(a.overflowY);}},[e]);let n=useRef({timer:void 0,dx:0,dy:0}).current;useEffect(()=>()=>{n.timer&&(cancelAnimationFrame(n.timer),n.timer=void 0);},[n]);let i=useCallback(()=>{r.current&&t.current&&(t.current.scrollLeft+=n.dx),o.current&&t.current&&(t.current.scrollTop+=n.dy),n.timer&&(n.timer=requestAnimationFrame(i));},[t,n]);return {move(a,l){if(!so()||Dt()||!t.current)return;let s=t.current.getBoundingClientRect(),u=md,c=md,d=s.height-md,m=s.width-md;a<u||a>m||l<c||l>d?(a<u?n.dx=a-u:a>m&&(n.dx=a-m),l<c?n.dy=l-c:l>d&&(n.dy=l-d),n.timer||(n.timer=requestAnimationFrame(i))):this.stop();},stop(){n.timer&&(cancelAnimationFrame(n.timer),n.timer=void 0);}}}function na(e,t,r){let o=useRef({props:e,state:t,nextTarget:null,dropOperation:null}).current;o.props=e,o.state=t;let n=useCallback(async m=>{let{onInsert:p,onRootDrop:y,onItemDrop:b,onReorder:f,onMove:h,acceptedDragTypes:v="all",shouldAcceptItemDrop:g}=o.props,{draggingKeys:x}=Je,T=dr(r),{target:P,dropOperation:S,items:E}=m,D=E;(v!=="all"||g)&&(D=E.filter(I=>{let C;return I.kind==="directory"?C=new Set([od]):C=I.kind==="file"?new Set([I.type]):I.types,v==="all"||v.some(_=>C.has(_))?P.type==="item"&&P.dropPosition==="on"&&g?g(P,C):true:false})),D.length>0&&(P.type==="root"&&y&&await y({items:D,dropOperation:S}),P.type==="item"&&(P.dropPosition==="on"&&b&&await b({items:D,dropOperation:S,isInternal:T,target:P}),h&&T&&await h({keys:x,dropOperation:S,target:P}),P.dropPosition!=="on"&&(!T&&p&&await p({items:D,dropOperation:S,target:P}),T&&f&&await f({keys:x,dropOperation:S,target:P}))));},[o,r]),i=zC(r),{dropProps:a}=Jo({ref:r,onDropEnter(){o.nextTarget!=null&&t.setTarget(o.nextTarget);},onDropMove(m){o.nextTarget!=null&&t.setTarget(o.nextTarget);},getDropOperationForPoint(m,p,y,b){let{draggingKeys:f,dropCollectionRef:h}=Je,v=dr(r),g=T=>t.getDropOperation({target:T,types:m,allowedOperations:p,isInternal:v,draggingKeys:f})!=="cancel",x=e.dropTargetDelegate.getDropTargetFromPoint(y,b,g);if(!x)return o.dropOperation="cancel",o.nextTarget=null,"cancel";if(o.dropOperation=t.getDropOperation({target:x,types:m,allowedOperations:p,isInternal:v,draggingKeys:f}),o.dropOperation==="cancel"){let T={type:"root"},P=t.getDropOperation({target:T,types:m,allowedOperations:p,isInternal:v,draggingKeys:f});P!=="cancel"&&(x=T,o.dropOperation=P);}return x&&o.dropOperation!=="cancel"&&r?.current!==h?.current&&qn(r),o.nextTarget=o.dropOperation==="cancel"?null:x,o.dropOperation},onDropExit(){qn(void 0),t.setTarget(null),i.stop();},onDropActivate(m){t.target?.type==="item"&&typeof e.onDropActivate=="function"&&e.onDropActivate({type:"dropactivate",x:m.x,y:m.y,target:t.target});},onDrop(m){qn(r),t.target&&u(m,t.target);let{draggingCollectionRef:p}=Je;p==null&&id();}}),l=useRef(null),s=useCallback(()=>{let{state:m}=o;if(l.current){let{target:p,collection:y,selectedKeys:b,focusedKey:f,isInternal:h,draggingKeys:v}=l.current;if(m.collection.size>y.size&&m.selectionManager.isSelectionEqual(b)){let g=new Set;for(let x of m.collection.getKeys())y.getItem(x)||g.add(x);if(m.selectionManager.setSelectedKeys(g),m.selectionManager.focusedKey===f){let x=g.keys().next().value;if(x!=null){let T=m.collection.getItem(x);T?.type==="cell"&&(x=T.parentKey),x!=null&&m.selectionManager.setFocusedKey(x),m.selectionManager.selectionMode==="none"&&vr("keyboard");}}}else f!=null&&m.selectionManager.focusedKey===f&&h&&p.type==="item"&&p.dropPosition!=="on"&&v.has(m.collection.getItem(f)?.parentKey)?(m.selectionManager.setFocusedKey(m.collection.getItem(f)?.parentKey??null),vr("keyboard")):m.selectionManager.focusedKey===f&&p.type==="item"&&p.dropPosition==="on"&&m.collection.getItem(p.key)!=null?(m.selectionManager.setFocusedKey(p.key),vr("keyboard")):m.selectionManager.focusedKey!=null&&!m.selectionManager.isSelected(m.selectionManager.focusedKey)&&vr("keyboard");m.selectionManager.setFocused(true);}},[o]),u=useCallback((m,p)=>{let{state:y}=o;l.current={timeout:void 0,focusedKey:y.selectionManager.focusedKey,collection:y.collection,selectedKeys:y.selectionManager.selectedKeys,draggingKeys:Je.draggingKeys,isInternal:dr(r),target:p},(o.props.onDrop||n)({type:"drop",x:m.x,y:m.y,target:p,items:m.items,dropOperation:m.dropOperation}),l.current.timeout=setTimeout(()=>{s(),l.current=null;},50);},[o,n,r,s]);useEffect(()=>()=>{l.current&&clearTimeout(l.current.timeout);},[]),ae(()=>{l.current&&t.collection!==l.current.collection&&s();});let{direction:c}=J();useEffect(()=>{if(!r.current)return;let m=(b,f=true,h="down")=>DC(o.props.keyboardDelegate,o.state.collection,b,h,c==="rtl",f),p=(b,f=true)=>m(b,f,"up"),y=(b,f,h,v,g=true)=>{let x=0,T,{draggingKeys:P}=Je,S=dr(r);do{let E=v(b,g);if(!E)return null;b=E,T=o.state.getDropOperation({target:E,types:f,allowedOperations:h,isInternal:S,draggingKeys:P}),b.type==="root"&&x++;}while(T==="cancel"&&!o.state.isDropTarget(b)&&x<2);return T==="cancel"?null:b};return ud({element:r.current,preventFocusOnDrop:true,getDropOperation(b,f){if(o.state.target){let{draggingKeys:v}=Je,g=dr(r);return o.state.getDropOperation({target:o.state.target,types:b,allowedOperations:f,isInternal:g,draggingKeys:v})}return y(null,b,f,m)?"move":"cancel"},onDropEnter(b,f){let h=qr(f.items),v=o.state.selectionManager,g=null;qn(r);let x=v.focusedKey,T="after",P=x!=null?o.state.collection.getItem(x):null;if(P?.type==="cell"&&(x=P.parentKey),x!=null&&v.isSelected(x)&&(v.selectedKeys.size>1&&v.firstSelectedKey===x?T="before":x=v.lastSelectedKey),x!=null){g={type:"item",key:x,dropPosition:T};let{draggingKeys:S}=Je,E=dr(r);o.state.getDropOperation({target:g,types:h,allowedOperations:f.allowedDropOperations,isInternal:E,draggingKeys:S})==="cancel"&&(g=y(g,h,f.allowedDropOperations,m,false)??y(g,h,f.allowedDropOperations,p,false));}g||(g=y(null,h,f.allowedDropOperations,m)),o.state.setTarget(g);},onDropExit(){qn(void 0),o.state.setTarget(null);},onDropTargetEnter(b){o.state.setTarget(b);},onDropActivate(b,f){f?.type==="item"&&f?.dropPosition==="on"&&typeof o.props.onDropActivate=="function"&&o.props.onDropActivate({type:"dropactivate",x:b.x,y:b.y,target:f});},onDrop(b,f){qn(r),o.state.target&&u(b,f||o.state.target);},onKeyDown(b,f){let{keyboardDelegate:h}=o.props,v=qr(f.items);switch(b.key){case "ArrowDown":{if(h.getKeyBelow){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"down"));o.state.setTarget(g);}break}case "ArrowUp":{if(h.getKeyAbove){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"up"));o.state.setTarget(g);}break}case "ArrowLeft":{if(h.getKeyLeftOf){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"left"));o.state.setTarget(g);}break}case "ArrowRight":{if(h.getKeyRightOf){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"right"));o.state.setTarget(g);}break}case "Home":{if(h.getFirstKey){let g=y(null,v,f.allowedDropOperations,m);o.state.setTarget(g);}break}case "End":{if(h.getLastKey){let g=y(null,v,f.allowedDropOperations,p);o.state.setTarget(g);}break}case "PageDown":{if(h.getKeyPageBelow){let g=o.state.target;if(!g)g=y(null,v,f.allowedDropOperations,m);else {let x=h.getFirstKey?.();g.type==="item"&&(x=g.key);let T=null;x!=null&&(T=h.getKeyPageBelow(x));let P=g.type==="item"?g.dropPosition:"after";if((T==null||g.type==="item"&&g.key===h.getLastKey?.())&&(T=h.getLastKey?.()??null,P="after"),T==null)break;g={type:"item",key:T,dropPosition:P};let{draggingCollectionRef:S,draggingKeys:E}=Je,D=S?.current===r?.current;o.state.getDropOperation({target:g,types:v,allowedOperations:f.allowedDropOperations,isInternal:D,draggingKeys:E})==="cancel"&&(g=y(g,v,f.allowedDropOperations,m,false)??y(g,v,f.allowedDropOperations,p,false));}o.state.setTarget(g??o.state.target);}break}case "PageUp":{if(!h.getKeyPageAbove)break;let g=o.state.target;if(!g)g=y(null,v,f.allowedDropOperations,p);else if(g.type==="item"){if(g.key===h.getFirstKey?.())g={type:"root"};else {let S=h.getKeyPageAbove(g.key),E=g.dropPosition;if(S==null&&(S=h.getFirstKey?.(),E="before"),S==null)break;g={type:"item",key:S,dropPosition:E};}let{draggingKeys:x}=Je,T=dr(r);o.state.getDropOperation({target:g,types:v,allowedOperations:f.allowedDropOperations,isInternal:T,draggingKeys:x})==="cancel"&&(g=y(g,v,f.allowedDropOperations,p,false)??y(g,v,f.allowedDropOperations,m,false));}o.state.setTarget(g??o.state.target);break}}o.props.onKeyDown?.(b);}})},[o,r,u,c]);let d=Y();return rd.set(t,{id:d,ref:r}),{collectionProps:R(a,{id:d,"aria-describedby":null})}}function ia(e,t,r){let{dropProps:o}=cd(),n=mC(t);useEffect(()=>{if(r.current)return xC({element:r.current,target:e.target,getDropOperation(c,d){let{draggingKeys:m}=Je,p=dr(n);return t.getDropOperation({target:e.target,types:c,allowedOperations:d,isInternal:p,draggingKeys:m})},activateButtonRef:e.activateButtonRef})},[r,e.target,t,n,e.activateButtonRef]);let i=ra(),{draggingKeys:a}=Je,l=dr(n),s=i&&t.getDropOperation({target:e.target,types:qr(i.dragTarget.items),allowedOperations:i.dragTarget.allowedDropOperations,isInternal:l,draggingKeys:a})!=="cancel",u=t.isDropTarget(e.target);return useEffect(()=>{i&&u&&r.current&&r.current.focus();},[u,i,r]),{dropProps:{...o,"aria-hidden":!i||s?void 0:"true"},isDropTarget:u}}function aa(e,t,r){let{target:o}=e,{collection:n}=t,i=xe(Zo,"@react-aria/dnd"),a=ra(),{dropProps:l}=ia(e,t,r),s=Y(),u=y=>y==null?"":n.getTextValue?.(y)??n.getItem(y)?.textValue??"",c="",d;if(o.type==="root")c=i.format("dropOnRoot"),d=`${s} ${pC(t)}`;else if(o.dropPosition==="on")c=i.format("dropOnItem",{itemText:u(o.key)});else {let y,b;if(o.dropPosition==="before"){let f=n.getItem(o.key)?.prevKey,h=f!=null?n.getItem(f):null;y=h?.type==="item"?h.key:null;}else y=o.key;if(o.dropPosition==="after"){let f=n.getItem(o.key)?.nextKey,h=f!=null?n.getItem(f):null;b=h?.type==="item"?h.key:null;}else b=o.key;y!=null&&b!=null?c=i.format("insertBetween",{beforeItemText:u(y),afterItemText:u(b)}):y!=null?c=i.format("insertAfter",{itemText:u(y)}):b!=null&&(c=i.format("insertBefore",{itemText:u(b)}));}let m=t.isDropTarget(o),p=a?l["aria-hidden"]:"true";return {dropIndicatorProps:{...l,id:s,"aria-roledescription":i.format("dropIndicator"),"aria-label":c,"aria-labelledby":d,"aria-hidden":p,tabIndex:-1},isDropTarget:m,isHidden:!m&&!!p}}var NK={keyboard:{selected:"dragSelectedKeyboard",notSelected:"dragDescriptionKeyboard"},touch:{selected:"dragSelectedLongPress",notSelected:"dragDescriptionLongPress"},virtual:{selected:"dragDescriptionVirtual",notSelected:"dragDescriptionVirtual"}};function Qo(e,t){let r=xe(Zo,"@react-aria/dnd"),o=t.isDisabled||t.selectionManager.isDisabled(e.key),{dragProps:n,dragButtonProps:i}=wb({getItems(){return t.getItems(e.key)},preview:t.preview,getAllowedDropOperations:t.getAllowedDropOperations,hasDragButton:e.hasDragButton,onDragStart(p){t.startDrag(e.key,p),gC(t.draggingKeys);},onDragMove(p){t.moveDrag(p);},onDragEnd(p){let{dropOperation:y}=p,b=y==="cancel"?false:dr();t.endDrag({...p,keys:t.draggingKeys,isInternal:b}),id();}}),a=t.collection.getItem(e.key),l=t.getKeysForDrag(e.key).size,s=l>1&&t.selectionManager.isSelected(e.key),u,c,d=ea();if(!e.hasDragButton&&t.selectionManager.selectionMode!=="none"){let p=NK[d][s?"selected":"notSelected"];e.hasAction&&d==="keyboard"&&(p+="Alt"),s?c=r.format(p,{count:l}):c=r.format(p),delete n.onClick;}else if(s)u=r.format("dragSelectedItems",{count:l});else {let p=t.collection.getTextValue?.(e.key)??a?.textValue??"";u=r.format("dragItem",{itemText:p});}let m=ft(c);if(c&&Object.assign(n,m),!e.hasDragButton&&e.hasAction){let{onKeyDownCapture:p,onKeyUpCapture:y}=n;d==="touch"&&delete n["aria-describedby"],n.onKeyDownCapture=b=>{b.altKey&&p?.(b);},n.onKeyUpCapture=b=>{b.altKey&&y?.(b);};}return {dragProps:o?{}:n,dragButtonProps:{...i,isDisabled:o,"aria-label":u}}}function la(e,t,r){let{draggingCollectionRef:o}=Je;t.draggingKeys.size>0&&o?.current!==r.current&&bC(r);}var Mb=new Map;function sa(e,t){let r=Mb.get(e);if(!r){let o=new Set,n=i=>{for(let a of o)a(i);};r={listener:n,handlers:o},Mb.set(e,r),document.addEventListener(e,n);}return r.handlers.add(t),()=>{r.handlers.delete(t),r.handlers.size===0&&(document.removeEventListener(e,r.listener),Mb.delete(e));}}function fd(e){let{isDisabled:t}=e,r=useRef(false),{focusProps:o}=bt({onFocusChange:c=>{r.current=c;}}),n=ue(c=>{r.current&&e.getItems&&c.preventDefault();}),i=ue(c=>{!r.current||!e.getItems||(c.preventDefault(),c.clipboardData&&(ks(c.clipboardData,e.getItems({action:"copy"})),e.onCopy?.()));}),a=ue(c=>{r.current&&e.onCut&&e.getItems&&c.preventDefault();}),l=ue(c=>{!r.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(ks(c.clipboardData,e.getItems({action:"cut"})),e.onCut()));}),s=ue(c=>{r.current&&e.onPaste&&c.preventDefault();}),u=ue(c=>{if(!(!r.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let d=nd(c.clipboardData);e.onPaste(d);}});return useEffect(()=>{if(!t)return Ve(sa("beforecopy",n),sa("copy",i),sa("beforecut",a),sa("cut",l),sa("beforepaste",s),sa("paste",u))},[t,n,i,a,l,s,u]),{clipboardProps:o}}var en=Mo.forwardRef(function(t,r){let o=t.children,[n,i]=useState(null),a=useRef(null),l=useRef(void 0);return useImperativeHandle(r,()=>(s,u)=>{let c=o(s),d,m,p;c&&typeof c=="object"&&"element"in c?(d=c.element,m=c.x,p=c.y):d=c,flushSync(()=>{i(d);}),u(a.current,m,p),l.current=requestAnimationFrame(()=>{i(null);});},[o]),useEffect(()=>()=>{l.current&&cancelAnimationFrame(l.current);},[]),n?jsx("div",{style:{zIndex:-100,position:"absolute",top:0,left:-1e5},ref:a,children:n}):null});var tn=class{collection;ref;layout;orientation;direction;constructor(t,r,o){this.collection=t,this.ref=r,this.layout=o?.layout||"stack",this.orientation=o?.orientation||"vertical",this.direction=o?.direction||"ltr";}getPrimaryStart(t){return this.orientation==="horizontal"?t.left:t.top}getPrimaryEnd(t){return this.orientation==="horizontal"?t.right:t.bottom}getSecondaryStart(t){return this.orientation==="horizontal"?t.top:t.left}getSecondaryEnd(t){return this.orientation==="horizontal"?t.bottom:t.right}getFlowStart(t){return this.layout==="stack"?this.getPrimaryStart(t):this.getSecondaryStart(t)}getFlowEnd(t){return this.layout==="stack"?this.getPrimaryEnd(t):this.getSecondaryEnd(t)}getFlowSize(t){return this.getFlowEnd(t)-this.getFlowStart(t)}getDropTargetFromPoint(t,r,o){if(this.collection[Symbol.iterator]().next().done||!this.ref.current)return {type:"root"};let n=this.ref.current.getBoundingClientRect(),i=this.orientation==="horizontal"?t:r,a=this.orientation==="horizontal"?r:t;i+=this.getPrimaryStart(n),a+=this.getSecondaryStart(n);let l=this.layout==="stack"?i:a,s=this.orientation==="horizontal"&&this.direction==="rtl",u=this.layout==="grid"&&this.orientation==="vertical"&&this.direction==="rtl",c=this.layout==="stack"?s:u,d=this.ref.current?.dataset.collection,m=this.ref.current.querySelectorAll(d?`[data-collection="${CSS.escape(d)}"]`:"[data-key]"),p=new Map,y=j(this.ref.current);for(let x of m)x instanceof y.HTMLElement&&x.dataset.key!=null&&p.set(x.dataset.key,x);let b=[...this.collection].filter(x=>x.type==="item"),f=0,h=b.length;for(;f<h;){let x=Math.floor((f+h)/2),T=b[x],P=p.get(String(T.key));if(!P)break;let S=P.getBoundingClientRect(),E=D=>{D?f=x+1:h=x;};if(i<this.getPrimaryStart(S))E(s);else if(i>this.getPrimaryEnd(S))E(!s);else if(a<this.getSecondaryStart(S))E(u);else if(a>this.getSecondaryEnd(S))E(!u);else {let D={type:"item",key:T.key,dropPosition:"on"};if(o(D))l<=this.getFlowStart(S)+5&&o({...D,dropPosition:"before"})?D.dropPosition=c?"after":"before":l>=this.getFlowEnd(S)-5&&o({...D,dropPosition:"after"})&&(D.dropPosition=c?"before":"after");else {let I=this.getFlowStart(S)+this.getFlowSize(S)/2;l<=I&&o({...D,dropPosition:"before"})?D.dropPosition=c?"after":"before":l>=I&&o({...D,dropPosition:"after"})&&(D.dropPosition=c?"before":"after");}return D}}let v=b[Math.min(f,b.length-1)];return n=p.get(String(v.key))?.getBoundingClientRect(),n&&(i<this.getPrimaryStart(n)||Math.abs(l-this.getFlowStart(n))<Math.abs(l-this.getFlowEnd(n)))?{type:"item",key:v.key,dropPosition:c?"after":"before"}:{type:"item",key:v.key,dropPosition:c?"before":"after"}}};var ws=new WeakMap;function _s(e,t){let{id:r}=ws.get(e)??{};if(!r)throw new Error("Unknown list");return `${r}-${GK(t)}`}function GK(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var Xn=class{collection;disabledKeys;disabledBehavior;direction;collator;layoutDelegate;focusMode;constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new Ab(t.layout):new Uo(t.ref)),this.focusMode=t.focusMode??"row";}isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))}findPreviousKey(t,r){let o=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;o!=null;){let n=this.collection.getItem(o);if(!n)return null;if(!this.isDisabled(n)&&(!r||r(n)))return o;o=this.collection.getKeyBefore(o);}return null}findNextKey(t,r){let o=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;o!=null;){let n=this.collection.getItem(o);if(!n)return null;if(!this.isDisabled(n)&&(!r||r(n)))return o;if(o=this.collection.getKeyAfter(o),o==null)return null}return null}getKeyForItemInRowByIndex(t,r=0){if(r<0)return null;let o=this.collection.getItem(t);if(!o)return null;let n=0;for(let i of Ee(o,this.collection)){if(i.colSpan&&i.colSpan+n>r||(i.colSpan&&(n=n+i.colSpan-1),n===r))return i.key??null;n++;}return null}getKeyBelow(t){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findNextKey(r,n=>n.type==="item"),r!=null){if(this.isCell(o)){let n=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,n)}if(this.focusMode==="row")return r}return null}getKeyAbove(t){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findPreviousKey(r,n=>n.type==="item"),r!=null){if(this.isCell(o)){let n=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,n)}if(this.focusMode==="row")return r}return null}getKeyRightOf(t){let r=this.collection.getItem(t);if(!r)return null;if(this.isRow(r)){let o=Ee(r,this.collection);return (this.direction==="rtl"?Tr(o)?.key:jt(o)?.key)??null}if(this.isCell(r)&&r.parentKey!=null){let o=this.collection.getItem(r.parentKey);if(!o)return null;let n=Ee(o,this.collection),i=(this.direction==="rtl"?Kn(n,r.index-1):Kn(n,r.index+1))??null;return i?i.key??null:this.focusMode==="row"?r.parentKey??null:(this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))??null}return null}getKeyLeftOf(t){let r=this.collection.getItem(t);if(!r)return null;if(this.isRow(r)){let o=Ee(r,this.collection);return (this.direction==="rtl"?jt(o)?.key:Tr(o)?.key)??null}if(this.isCell(r)&&r.parentKey!=null){let o=this.collection.getItem(r.parentKey);if(!o)return null;let n=Ee(o,this.collection),i=(this.direction==="rtl"?Kn(n,r.index+1):Kn(n,r.index-1))??null;return i?i.key??null:this.focusMode==="row"?r.parentKey??null:(this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))??null}return null}getFirstKey(t,r){let o=t??null,n;if(o!=null){if(n=this.collection.getItem(o),!n)return null;if(this.isCell(n)&&!r&&n.parentKey!=null){let i=this.collection.getItem(n.parentKey);return i?jt(Ee(i,this.collection))?.key??null:null}}if(o=this.findNextKey(void 0,i=>i.type==="item"),o!=null&&(n&&this.isCell(n)&&r||this.focusMode==="cell")){let i=this.collection.getItem(o);if(!i)return null;o=jt(Ee(i,this.collection))?.key??null;}return o}getLastKey(t,r){let o=t??null,n;if(o!=null){if(n=this.collection.getItem(o),!n)return null;if(this.isCell(n)&&!r&&n.parentKey!=null){let i=this.collection.getItem(n.parentKey);if(!i)return null;let a=Ee(i,this.collection);return Tr(a)?.key??null}}if(o=this.findPreviousKey(void 0,i=>i.type==="item"),o!=null&&(n&&this.isCell(n)&&r||this.focusMode==="cell")){let i=this.collection.getItem(o);if(!i)return null;let a=Ee(i,this.collection);o=Tr(a)?.key??null;}return o}getKeyPageAbove(t){let r=t,o=this.layoutDelegate.getItemRect(r);if(!o)return null;let n=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>n&&r!=null&&(r=this.getKeyAbove(r)??null,r!=null);)o=this.layoutDelegate.getItemRect(r);return r}getKeyPageBelow(t){let r=t,o=this.layoutDelegate.getItemRect(r);if(!o)return null;let n=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,o.y+n);for(;o&&o.y+o.height<i;){let a=this.getKeyBelow(r);if(a==null)break;o=this.layoutDelegate.getItemRect(a),r=a;}return r}getKeyForSearch(t,r){let o=r??null;if(!this.collator)return null;let n=this.collection;if(o=r??this.getFirstKey(),o==null)return null;let i=n.getItem(o);if(!i)return null;i.type==="cell"&&(o=i.parentKey??null);let a=false;for(;o!=null;){let l=n.getItem(o);if(!l)return null;if(l.textValue){let s=l.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return this.isRow(l)&&this.focusMode==="cell"?jt(Ee(l,this.collection))?.key??null:l.key}o=this.findNextKey(o,s=>s.type==="item"),o==null&&!a&&(o=this.getFirstKey(),a=true);}return null}},Ab=class{layout;constructor(t){this.layout=t;}getContentSize(){return this.layout.getContentSize()}getItemRect(t){return this.layout.getLayoutInfo(t)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}};var RC=new WeakMap;var ua={"ar-AE":{deselectedItem:e=>`${e.item} \u063A\u064A\u0631 \u0627\u0644\u0645\u062D\u062F\u062F`,longPressToSelect:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u064B\u0627 \u0644\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0648\u0636\u0639 \u0627\u0644\u062A\u062D\u062F\u064A\u062F.",select:"\u062A\u062D\u062F\u064A\u062F",selectedAll:"\u062C\u0645\u064A\u0639 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062D\u062F\u062F\u0629.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0644\u0645 \u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0639\u0646\u0627\u0635\u0631",one:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`,other:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`})}.`,selectedItem:e=>`${e.item} \u0627\u0644\u0645\u062D\u062F\u062F`},"bg-BG":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0435 \u0438\u0437\u0431\u0440\u0430\u043D.`,longPressToSelect:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0438 \u0437\u0430\u0434\u0440\u044A\u0436\u0442\u0435 \u0437\u0430 \u0434\u0430 \u0432\u043B\u0435\u0437\u0435\u0442\u0435 \u0432 \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435\u043B\u0435\u043D \u0440\u0435\u0436\u0438\u043C.",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectedAll:"\u0412\u0441\u0438\u0447\u043A\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u041D\u044F\u043C\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438",one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,selectedItem:e=>`${e.item} \u0438\u0437\u0431\u0440\u0430\u043D.`},"cs-CZ":{deselectedItem:e=>`Polo\u017Eka ${e.item} nen\xED vybr\xE1na.`,longPressToSelect:"Dlouh\xFDm stisknut\xEDm p\u0159ejdete do re\u017Eimu v\xFDb\u011Bru.",select:"Vybrat",selectedAll:"Vybr\xE1ny v\u0161echny polo\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybr\xE1ny \u017E\xE1dn\xE9 polo\u017Eky",one:()=>`Vybr\xE1na ${t.number(e.count)} polo\u017Eka`,other:()=>`Vybr\xE1no ${t.number(e.count)} polo\u017Eek`})}.`,selectedItem:e=>`Vybr\xE1na polo\u017Eka ${e.item}.`},"da-DK":{deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"V\xE6lg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`},"de-DE":{deselectedItem:e=>`${e.item} nicht ausgew\xE4hlt.`,longPressToSelect:"Gedr\xFCckt halten, um Auswahlmodus zu \xF6ffnen.",select:"Ausw\xE4hlen",selectedAll:"Alle Elemente ausgew\xE4hlt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgew\xE4hlt",one:()=>`${t.number(e.count)} Element ausgew\xE4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xE4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xE4hlt.`},"el-GR":{deselectedItem:e=>`\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${e.item}.`,longPressToSelect:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03C0\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE\u03C2.",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectedAll:"\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03CC\u03BB\u03B1 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",one:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 ${t.number(e.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD ${t.number(e.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,selectedItem:e=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${e.item}.`},"en-US":{deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."},"es-ES":{deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selecci\xF3n.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ning\xFAn elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`},"et-EE":{deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikure\u017Eiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"K\xF5ik \xFCksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\xDCksusi pole valitud",one:()=>`${t.number(e.count)} \xFCksus valitud`,other:()=>`${t.number(e.count)} \xFCksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`},"fi-FI":{deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitk\xE4\xE4n.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yht\xE4\xE4n kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`},"fr-FR":{deselectedItem:e=>`${e.item} non s\xE9lectionn\xE9.`,longPressToSelect:"Appuyez de mani\xE8re prolong\xE9e pour passer en mode de s\xE9lection.",select:"S\xE9lectionner",selectedAll:"Tous les \xE9l\xE9ments s\xE9lectionn\xE9s.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun \xE9l\xE9ment s\xE9lectionn\xE9",one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,selectedItem:e=>`${e.item} s\xE9lectionn\xE9.`},"he-IL":{deselectedItem:e=>`${e.item} \u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8.`,longPressToSelect:"\u05D4\u05E7\u05E9\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DC\u05DB\u05E0\u05D9\u05E1\u05D4 \u05DC\u05DE\u05E6\u05D1 \u05D1\u05D7\u05D9\u05E8\u05D4.",select:"\u05D1\u05D7\u05E8",selectedAll:"\u05DB\u05DC \u05D4\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8\u05D5 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",one:()=>`\u05E4\u05E8\u05D9\u05D8 ${t.number(e.count)} \u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,selectedItem:e=>`${e.item} \u05E0\u05D1\u05D7\u05E8.`},"hr-HR":{deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u na\u010Din odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`},"hu-HU":{deselectedItem:e=>`${e.item} nincs kijel\xF6lve.`,longPressToSelect:"Nyomja hosszan a kijel\xF6l\xE9shez.",select:"Kijel\xF6l\xE9s",selectedAll:"Az \xF6sszes elem kijel\xF6lve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijel\xF6lve",one:()=>`${t.number(e.count)} elem kijel\xF6lve`,other:()=>`${t.number(e.count)} elem kijel\xF6lve`})}.`,selectedItem:e=>`${e.item} kijel\xF6lve.`},"it-IT":{deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalit\xE0 di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`},"ja-JP":{deselectedItem:e=>`${e.item} \u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002`,longPressToSelect:"\u9577\u62BC\u3057\u3057\u3066\u9078\u629E\u30E2\u30FC\u30C9\u3092\u958B\u304D\u307E\u3059\u3002",select:"\u9078\u629E",selectedAll:"\u3059\u3079\u3066\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u9805\u76EE\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",one:()=>`${t.number(e.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`,other:()=>`${t.number(e.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`})}\u3002`,selectedItem:e=>`${e.item} \u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002`},"ko-KR":{deselectedItem:e=>`${e.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.`,longPressToSelect:"\uC120\uD0DD \uBAA8\uB4DC\uB85C \uB4E4\uC5B4\uAC00\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",select:"\uC120\uD0DD",selectedAll:"\uBAA8\uB4E0 \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\uC120\uD0DD\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",one:()=>`${t.number(e.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`,other:()=>`${t.number(e.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`})}.`,selectedItem:e=>`${e.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.`},"lt-LT":{deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Nor\u0117dami \u012Fjungti pasirinkimo re\u017Eim\u0105, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas n\u0117 vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta element\u0173: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`},"lv-LV":{deselectedItem:e=>`Vienums ${e.item} nav atlas\u012Bts.`,longPressToSelect:"Ilgi turiet nospiestu. lai iesl\u0113gtu atlases re\u017E\u012Bmu.",select:"Atlas\u012Bt",selectedAll:"Atlas\u012Bti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlas\u012Bts neviens vienums",one:()=>`Atlas\u012Bto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u012Bto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u012Bts vienums ${e.item}.`},"nb-NO":{deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for \xE5 g\xE5 inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`},"nl-NL":{deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`},"pl-PL":{deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naci\u015Bnij i przytrzymaj, aby wej\u015B\u0107 do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono \u017Cadnych element\xF3w",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych element\xF3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`},"pt-BR":{deselectedItem:e=>`${e.item} n\xE3o selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`},"pt-PT":{deselectedItem:e=>`${e.item} n\xE3o selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`},"ro-RO":{deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Ap\u0103sa\u021Bi lung pentru a intra \xEEn modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`},"ru-RU":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u0432\u0445\u043E\u0434\u0430 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u044B\u0431\u043E\u0440\u0430.",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectedAll:"\u0412\u044B\u0431\u0440\u0430\u043D\u044B \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u041D\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432",one:()=>`${t.number(e.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u044B\u0431\u0440\u0430\u043D`,other:()=>`${t.number(e.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043E`})}.`,selectedItem:e=>`${e.item} \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`},"sk-SK":{deselectedItem:e=>`Nevybrat\xE9 polo\u017Eky: ${e.item}.`,longPressToSelect:"Dlh\u0161\xEDm stla\u010Den\xEDm prejdite do re\u017Eimu v\xFDberu.",select:"Vybra\u0165",selectedAll:"V\u0161etky vybrat\xE9 polo\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u017Diadne vybrat\xE9 polo\u017Eky",one:()=>`${t.number(e.count)} vybrat\xE1 polo\u017Eka`,other:()=>`Po\u010Det vybrat\xFDch polo\u017Eiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xE9 polo\u017Eky: ${e.item}.`},"sl-SI":{deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni na\u010Din pritisnite in dlje \u010Dasa dr\u017Eite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`},"sr-SP":{deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u re\u017Eim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`},"sv-SE":{deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck l\xE4nge n\xE4r du vill \xF6ppna v\xE4ljarl\xE4ge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`},"tr-TR":{deselectedItem:e=>`${e.item} se\xE7ilmedi.`,longPressToSelect:"Se\xE7im moduna girmek i\xE7in uzun bas\u0131n.",select:"Se\xE7",selectedAll:"T\xFCm \xF6geler se\xE7ildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hi\xE7bir \xF6ge se\xE7ilmedi",one:()=>`${t.number(e.count)} \xF6ge se\xE7ildi`,other:()=>`${t.number(e.count)} \xF6ge se\xE7ildi`})}.`,selectedItem:e=>`${e.item} se\xE7ildi.`},"uk-UA":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u0412\u0438\u043A\u043E\u043D\u0430\u0439\u0442\u0435 \u0434\u043E\u0432\u0433\u0435 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u0438\u0431\u043E\u0440\u0443.",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectedAll:"\u0423\u0441\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0416\u043E\u0434\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E",one:()=>`${t.number(e.count)} \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u0438\u0431\u0440\u0430\u043D\u043E`,other:()=>`\u0412\u0438\u0431\u0440\u0430\u043D\u043E \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`},"zh-CN":{deselectedItem:e=>`\u672A\u9009\u62E9 ${e.item}\u3002`,longPressToSelect:"\u957F\u6309\u4EE5\u8FDB\u5165\u9009\u62E9\u6A21\u5F0F\u3002",select:"\u9009\u62E9",selectedAll:"\u5DF2\u9009\u62E9\u6240\u6709\u9879\u76EE\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u672A\u9009\u62E9\u9879\u76EE",one:()=>`\u5DF2\u9009\u62E9 ${t.number(e.count)} \u4E2A\u9879\u76EE`,other:()=>`\u5DF2\u9009\u62E9 ${t.number(e.count)} \u4E2A\u9879\u76EE`})}\u3002`,selectedItem:e=>`\u5DF2\u9009\u62E9 ${e.item}\u3002`},"zh-TW":{deselectedItem:e=>`\u672A\u9078\u53D6\u300C${e.item}\u300D\u3002`,longPressToSelect:"\u9577\u6309\u4EE5\u9032\u5165\u9078\u64C7\u6A21\u5F0F\u3002",select:"\u9078\u53D6",selectedAll:"\u5DF2\u9078\u53D6\u6240\u6709\u9805\u76EE\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u672A\u9078\u53D6\u4EFB\u4F55\u9805\u76EE",one:()=>`\u5DF2\u9078\u53D6 ${t.number(e.count)} \u500B\u9805\u76EE`,other:()=>`\u5DF2\u9078\u53D6 ${t.number(e.count)} \u500B\u9805\u76EE`})}\u3002`,selectedItem:e=>`\u5DF2\u9078\u53D6\u300C${e.item}\u300D\u3002`}};function Is(e,t){let{getRowText:r=l=>t.collection.getTextValue?.(l)??t.collection.getItem(l)?.textValue}=e,o=xe(ua,"@react-aria/grid"),n=t.selectionManager.rawSelection,i=useRef(n),a=ue(()=>{if(!t.selectionManager.isFocused||n===i.current){i.current=n;return}let l=LC(n,i.current),s=LC(i.current,n),u=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&u){let d=t.selectionManager.selectedKeys.keys().next().value;if(d!=null&&t.collection.getItem(d)){let m=r(d);m&&c.push(o.format("selectedItem",{item:m}));}}else if(l.size===1&&s.size===0){let d=l.keys().next().value;if(d!=null){let m=r(d);m&&c.push(o.format("selectedItem",{item:m}));}}else if(s.size===1&&l.size===0){let d=s.keys().next().value;if(d!=null&&t.collection.getItem(d)){let m=r(d);m&&c.push(o.format("deselectedItem",{item:m}));}}t.selectionManager.selectionMode==="multiple"&&(c.length===0||n==="all"||n.size>1||i.current==="all"||i.current?.size>1)&&c.push(n==="all"?o.format("selectedAll"):o.format("selectedCount",{count:n.size})),c.length>0&&st(c.join(" ")),i.current=n;});kn(()=>{if(t.selectionManager.isFocused)a();else {let l=requestAnimationFrame(a);return ()=>cancelAnimationFrame(l)}},[n,t.selectionManager.isFocused]);}function LC(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let o of e.keys())t.has(o)||r.add(o);return r}function Rs(e){let t=xe(ua,"@react-aria/grid"),r=Xt(),o=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,n=useMemo(()=>{let a=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return o&&(s=t.format("longPressToSelect")),l==="replace"&&a!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,o]);return ft(n)}function Nb(e,t,r){let{isVirtualized:o,disallowTypeAhead:n,keyboardDelegate:i,focusMode:a,scrollRef:l,getRowText:s,onRowAction:u,onCellAction:c,escapeKeyBehavior:d="clearSelection",shouldSelectOnPressUp:m}=e,{selectionManager:p}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let y=$t({usage:"search",sensitivity:"base"}),{direction:b}=J(),f=t.selectionManager.disabledBehavior,h=useMemo(()=>i||new Xn({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:f,ref:r,direction:b,collator:y,focusMode:a}),[i,t.collection,t.disabledKeys,f,r,b,y,a]),{collectionProps:v}=ho({ref:r,selectionManager:p,keyboardDelegate:h,isVirtualized:o,scrollRef:l,disallowTypeAhead:n,escapeKeyBehavior:d}),g=Y(e.id);RC.set(t,{keyboardDelegate:h,actions:{onRowAction:u,onCellAction:c},shouldSelectOnPressUp:m});let x=Rs({selectionManager:p,hasItemActions:!!(u||c)}),T=le(e,{labelable:true}),P=useCallback(I=>{if(p.isFocused){I.currentTarget.contains(I.target)||p.setFocused(false);return}I.currentTarget.contains(I.target)&&p.setFocused(true);},[p]),S=useMemo(()=>({onBlur:v.onBlur,onFocus:P}),[P,v.onBlur]),E=An(r,{isDisabled:t.collection.size!==0}),D=R(T,{role:"grid",id:g,"aria-multiselectable":p.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?S:v,t.collection.size===0&&{tabIndex:E?-1:0}||void 0,x);return o&&(D["aria-rowcount"]=t.collection.size,D["aria-colcount"]=t.collection.columnCount),Is({getRowText:s},t),{gridProps:D}}function Ob(e,t){let{key:r}=e,o=t.selectionManager,n=Y(),i=!t.selectionManager.canSelectItem(r),a=t.selectionManager.isSelected(r),l=()=>o.toggleSelection(r),s=xe(ua,"@react-aria/grid");return {checkboxProps:{id:n,"aria-label":s.format("select"),isSelected:a,isDisabled:i,onChange:l}}}function ca(e,t,r){let{isVirtualized:o,keyboardDelegate:n,layoutDelegate:i,onAction:a,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:u="arrow",escapeKeyBehavior:c="clearSelection",shouldSelectOnPressUp:d}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:m}=On({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:n,layoutDelegate:i,isVirtualized:o,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus,escapeKeyBehavior:c}),p=Y(e.id);ws.set(t,{id:p,onAction:a,linkBehavior:s,keyboardNavigationBehavior:u,shouldSelectOnPressUp:d});let y=Rs({selectionManager:t.selectionManager,hasItemActions:!!a}),b=An(r,{isDisabled:t.collection.size!==0}),f=le(e,{labelable:true}),h=R(f,{role:"grid",id:p,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:b?-1:0}:m,y);return o&&(h["aria-rowcount"]=t.collection.size,h["aria-colcount"]=1),Is({},t),{gridProps:h}}var AC={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function da(e,t,r){let{node:o,isVirtualized:n}=e,{direction:i}=J(),{onAction:a,linkBehavior:l,keyboardNavigationBehavior:s,shouldSelectOnPressUp:u}=ws.get(t),c=St(),d=useRef(null),m=()=>{let D=H(r.current),I=pe(D);r.current!==null&&(d.current!=null&&o.key!==d.current||!se(r.current,I))&&We(r.current);},p={},y=e.hasChildItems,b=t.selectionManager.isLink(o.key);if(o!=null&&"expandedKeys"in t){let D=t.collection.getChildren?.(o.key);y=y||[...D??[]].length>1,a==null&&!b&&t.selectionManager.selectionMode==="none"&&y&&(a=()=>t.toggleKey(o.key));let I=y?t.expandedKeys.has(o.key):void 0,C=1;if(o.level>0&&o?.parentKey!=null){let _=t.collection.getItem(o.parentKey);_&&(C=[...t.collection.getChildren?.(_.key)].filter(w=>w.type==="item").length);}else C=[...t.collection].filter(_=>_.level===0&&_.type==="item").length;p={"aria-expanded":I,"aria-level":o.level+1,"aria-posinset":o?.index+1,"aria-setsize":C};}let{itemProps:f,...h}=vo({selectionManager:t.selectionManager,key:o.key,ref:r,shouldSelectOnPressUp:e.shouldSelectOnPressUp||u,onAction:a||o.props?.onAction?Ve(o.props?.onAction,a?()=>a(o.key):void 0):void 0,focus:m,linkBehavior:l}),v=D=>{let I=H(r.current),C=pe(I);if(!se(r.current,te(D.nativeEvent))||!r.current||!C)return;let _=qe(r.current);if(_.currentNode=C,"expandedKeys"in t&&C===r.current){if(D.key===AC.expand[i]&&t.selectionManager.focusedKey===o.key&&y&&!t.expandedKeys.has(o.key)){t.toggleKey(o.key),D.stopPropagation();return}else if(D.key===AC.collapse[i]&&t.selectionManager.focusedKey===o.key&&y&&t.expandedKeys.has(o.key)){t.toggleKey(o.key),D.stopPropagation();return}}switch(D.key){case "ArrowLeft":{if(s==="arrow"){let z=i==="rtl"?_.nextNode():_.previousNode();if(z)D.preventDefault(),D.stopPropagation(),We(z),sr(z,{containingElement:mt(r.current)});else if(D.preventDefault(),D.stopPropagation(),i==="rtl")We(r.current),sr(r.current,{containingElement:mt(r.current)});else {_.currentNode=r.current;let w=NC(_);w&&(We(w),sr(w,{containingElement:mt(r.current)}));}}break}case "ArrowRight":{if(s==="arrow"){let z=i==="rtl"?_.previousNode():_.nextNode();if(z)D.preventDefault(),D.stopPropagation(),We(z),sr(z,{containingElement:mt(r.current)});else if(D.preventDefault(),D.stopPropagation(),i==="ltr")We(r.current),sr(r.current,{containingElement:mt(r.current)});else {_.currentNode=r.current;let w=NC(_);w&&(We(w),sr(w,{containingElement:mt(r.current)}));}}break}case "ArrowUp":case "ArrowDown":!D.altKey&&r.current.contains(D.target)&&(D.stopPropagation(),D.preventDefault(),r.current.parentElement?.dispatchEvent(new KeyboardEvent(D.nativeEvent.type,D.nativeEvent)));break}},g=D=>{if(d.current=o.key,D.target!==r.current){Ht()||t.selectionManager.setFocusedKey(o.key);return}},x=D=>{let I=H(r.current),C=pe(I);if(!(!se(r.current,te(D.nativeEvent))||!r.current||!C))switch(D.key){case "Tab":if(s==="tab"){let _=qe(r.current,{tabbable:true});_.currentNode=document.activeElement,(D.shiftKey?_.previousNode():_.nextNode())&&D.stopPropagation();}}},T=Sl(o.props),P=h.hasAction?T:{},S=R(f,P,{role:"row",onKeyDownCapture:v,onKeyDown:x,onFocus:g,"aria-label":o.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(o.key)?t.selectionManager.isSelected(o.key):void 0,"aria-disabled":t.selectionManager.isDisabled(o.key)||void 0,"aria-labelledby":c&&o.textValue?`${_s(t,o.key)} ${c}`:void 0,id:_s(t,o.key)});if(n){let{collection:D}=t,I=[...D];S["aria-rowindex"]=I.find(C=>C.type==="section")?[...D.getKeys()].filter(C=>D.getItem(C)?.type!=="section").findIndex(C=>C===o.key)+1:o.index+1;}let E={role:"gridcell","aria-colindex":1};return {rowProps:{...R(S,p)},gridCellProps:E,descriptionProps:{id:c},...h}}function NC(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}function yd(e,t){let{key:r}=e,{checkboxProps:o}=Ob(e,t);return {checkboxProps:{...o,"aria-labelledby":`${o.id} ${_s(t,r)}`}}}var KC=1,Fb=Symbol.for("react-aria-landmark-manager");function QK(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function FC(){if(typeof document>"u")return null;let e=document[Fb];return e&&e.version>=KC?e:(document[Fb]=new Kb,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Fb])}function eV(){return useSyncExternalStore(QK,FC,FC)}var Kb=class{landmarks=[];isListening=false;refCount=0;version=KC;constructor(){this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this);}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:true}),document.addEventListener("focusin",this.focusinHandler,{capture:true}),document.addEventListener("focusout",this.focusoutHandler,{capture:true}),this.isListening=true);}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:true}),document.removeEventListener("focusin",this.focusinHandler,{capture:true}),document.removeEventListener("focusout",this.focusoutHandler,{capture:true}),this.isListening=false);}focusLandmark(t,r){this.landmarks.find(o=>o.ref.current===t)?.focus?.(r);}getLandmarksByRole(t){return new Set(this.landmarks.filter(r=>r.role===t))}getLandmarkByRole(t){return this.landmarks.find(r=>r.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(n=>n.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(n=>n.role==="main").length>1&&process.env.NODE_ENV!=="production"&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let r=0,o=this.landmarks.length-1;for(;r<=o;){let n=Math.floor((r+o)/2),i=t.ref.current.compareDocumentPosition(this.landmarks[n].ref.current);!!(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)?r=n+1:o=n-1;}this.landmarks.splice(r,0,t),this.checkLabels(t.role);}updateLandmark(t){let r=this.landmarks.findIndex(o=>o.ref===t.ref);r>=0&&(this.landmarks[r]={...this.landmarks[r],...t},this.checkLabels(this.landmarks[r].role));}removeLandmark(t){this.landmarks=this.landmarks.filter(r=>r.ref!==t),this.teardownIfNeeded();}checkLabels(t){let r=this.getLandmarksByRole(t);if(r.size>1){let o=[...r].filter(n=>!n.label);if(o.length>0&&process.env.NODE_ENV!=="production")console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,o.map(n=>n.ref.current));else if(process.env.NODE_ENV!=="production"){let n=[...r].map(a=>a.label);n.filter((a,l)=>n.indexOf(a)!==l).forEach(a=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${a}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...r].filter(l=>l.label===a).map(l=>l.ref.current));});}}}closestLandmark(t){let r=new Map(this.landmarks.map(n=>[n.ref.current,n])),o=t;for(;o&&!r.has(o)&&o!==document.body&&o.parentElement;)o=o.parentElement;return r.get(o)}getNextLandmark(t,{backward:r}){let o=this.closestLandmark(t),n=r?this.landmarks.length-1:0;o&&(n=this.landmarks.indexOf(o)+(r?-1:1));let i=()=>{if(n<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:true,cancelable:true})))return true;n=this.landmarks.length-1;}else if(n>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:true,cancelable:true})))return true;n=0;}return n<0||n>=this.landmarks.length};if(i())return;let a=n;for(;this.landmarks[n].ref.current?.closest("[aria-hidden=true]");){if(n+=r?-1:1,i())return;if(n===a)break}return this.landmarks[n]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation());}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),true):false}navigate(t,r){let o=this.getNextLandmark(t,{backward:r});if(!o)return false;if(o.lastFocused){let n=o.lastFocused;if(document.body.contains(n))return n.focus(),true}return o.ref.current&&document.contains(o.ref.current)?(this.focusLandmark(o.ref.current,r?"backward":"forward"),true):false}focusinHandler(t){let r=this.closestLandmark(t.target);r&&r.ref.current!==t.target&&this.updateLandmark({ref:r.ref,lastFocused:t.target});let o=t.relatedTarget;if(o){let n=this.closestLandmark(o);n&&n.ref.current===o&&n.blur();}}focusoutHandler(t){let r=t.target,o=t.relatedTarget;if(!o||o===document){let n=this.closestLandmark(r);n&&n.ref.current===r&&n.blur();}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(r,o){let n=o?.from||document.activeElement;return t.navigate(n,r==="backward")},focusNext(r){let o=r?.from||document.activeElement;return t.navigate(o,false)},focusPrevious(r){let o=r?.from||document.activeElement;return t.navigate(o,true)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null);}}}registerLandmark(t){return this.landmarks.find(r=>r.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}};function Vb(e,t){let{role:r,"aria-label":o,"aria-labelledby":n,focus:i}=e,a=eV(),l=o||n,[s,u]=useState(false),c=useCallback(()=>{u(true);},[u]),d=useCallback(()=>{u(false);},[u]);return ae(()=>{if(a)return a.registerLandmark({ref:t,label:l,role:r,focus:i||c,blur:d})},[a,l,t,r,i,c,d]),useEffect(()=>{s&&t.current?.focus();},[s,t]),{landmarkProps:{role:r,tabIndex:s?-1:void 0,"aria-label":o,"aria-labelledby":n}}}function pa(e){let{value:t=0,minValue:r=0,maxValue:o=100,valueLabel:n,isIndeterminate:i,formatOptions:a={style:"percent"}}=e,l=le(e,{labelable:true}),{labelProps:s,fieldProps:u}=vt({...e,labelElementType:"span"});t=Ne(t,r,o);let c=(t-r)/(o-r),d=gr(a);if(!i&&!n){let m=a.style==="percent"?c:t;n=d.format(m);}return {progressBarProps:R(l,{...u,"aria-valuenow":i?void 0:t,"aria-valuemin":r,"aria-valuemax":o,"aria-valuetext":i?void 0:n,role:"progressbar"}),labelProps:s}}var bd=new WeakMap;function gd(e,t,r){let{value:o,children:n,"aria-label":i,"aria-labelledby":a,onPressStart:l,onPressEnd:s,onPressChange:u,onPress:c,onPressUp:d,onClick:m}=e,p=e.isDisabled||t.isDisabled,y=n!=null,b=i!=null||a!=null;!y&&!b&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let f=t.selectedValue===o,h=O=>{O.stopPropagation(),t.setSelectedValue(o);},{pressProps:v,isPressed:g}=Se({onPressStart:l,onPressEnd:s,onPressChange:u,onPress:c,onPressUp:d,onClick:m,isDisabled:p}),{pressProps:x,isPressed:T}=Se({onPressStart:l,onPressEnd:s,onPressChange:u,onPressUp:d,onClick:m,isDisabled:p,onPress(O){c?.(O),t.setSelectedValue(o),r.current?.focus();}}),{focusableProps:P}=Xe(R(e,{onFocus:()=>t.setLastFocusedValue(o)}),r),S=R(v,P),E=le(e,{labelable:true}),D=-1;t.selectedValue!=null?t.selectedValue===o&&(D=0):(t.lastFocusedValue===o||t.lastFocusedValue==null)&&(D=0),p&&(D=void 0);let{name:I,form:C,descriptionId:_,errorMessageId:z,validationBehavior:w}=bd.get(t);return yt(r,t.defaultSelectedValue,t.setSelectedValue),Nr({validationBehavior:w},t,r),{labelProps:R(x,useMemo(()=>({onClick:O=>O.preventDefault(),onMouseDown:O=>O.preventDefault()}),[])),inputProps:R(E,{...S,type:"radio",name:I,form:C,tabIndex:D,disabled:p,required:t.isRequired&&w==="native",checked:f,value:o,onChange:h,"aria-describedby":[e["aria-describedby"],t.isInvalid?z:null,_].filter(Boolean).join(" ")||void 0}),isDisabled:p,isSelected:f,isPressed:g||T}}function hd(e,t,r){let{name:o,form:n,isReadOnly:i,isRequired:a,isDisabled:l,orientation:s="vertical",validationBehavior:u="aria"}=e,{direction:c}=J(),{isInvalid:d,validationErrors:m,validationDetails:p}=t.displayValidation,{labelProps:y,fieldProps:b,descriptionProps:f,errorMessageProps:h}=Jt({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||m,ref:r}),v=le(e,{labelable:true}),{focusWithinProps:g}=je({onBlurWithin(P){e.onBlur?.(P),t.selectedValue||t.setLastFocusedValue(null);},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=P=>{let S;switch(P.key){case "ArrowRight":c==="rtl"&&s!=="vertical"?S="prev":S="next";break;case "ArrowLeft":c==="rtl"&&s!=="vertical"?S="next":S="prev";break;case "ArrowDown":S="next";break;case "ArrowUp":S="prev";break;default:return}P.preventDefault();let E=qe(P.currentTarget,{from:P.target,accept:I=>I instanceof j(I).HTMLInputElement&&I.type==="radio"}),D;S==="next"?(D=E.nextNode(),D||(E.currentNode=P.currentTarget,D=E.firstChild())):(D=E.previousNode(),D||(E.currentNode=P.currentTarget,D=E.lastChild())),D&&(D.focus(),t.setSelectedValue(D.value));},T=Y(o);return bd.set(t,{name:T,form:n,descriptionId:f.id,errorMessageId:h.id,validationBehavior:u}),{radioGroupProps:R(v,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":i||void 0,"aria-required":a||void 0,"aria-disabled":l||void 0,"aria-orientation":s,...b,...g}),labelProps:y,descriptionProps:f,errorMessageProps:h,isInvalid:d,validationErrors:m,validationDetails:p}}var vd=new WeakMap;function xd(e,t,r){let{keyboardDelegate:o,isDisabled:n,isRequired:i,name:a,form:l,validationBehavior:s="aria"}=e,u=$t({usage:"search",sensitivity:"base"}),c=useMemo(()=>o||new ct(t.collection,t.disabledKeys,r,u),[o,t.collection,t.disabledKeys,u,r]),{menuTriggerProps:d,menuProps:m}=qo({isDisabled:n,type:"listbox"},t,r),p=D=>{if(t.selectionManager.selectionMode!=="multiple")switch(D.key){case "ArrowLeft":{D.preventDefault();let I=t.selectedKey!=null?c.getKeyAbove?.(t.selectedKey):c.getFirstKey?.();I&&t.setSelectedKey(I);break}case "ArrowRight":{D.preventDefault();let I=t.selectedKey!=null?c.getKeyBelow?.(t.selectedKey):c.getFirstKey?.();I&&t.setSelectedKey(I);break}}},{typeSelectProps:y}=ds({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(D){t.setSelectedKey(D);}}),{isInvalid:b,validationErrors:f,validationDetails:h}=t.displayValidation,{labelProps:v,fieldProps:g,descriptionProps:x,errorMessageProps:T}=Jt({...e,labelElementType:"span",isInvalid:b,errorMessage:e.errorMessage||f,ref:r});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture,t.selectionManager.selectionMode==="multiple"&&(y={});let P=le(e,{labelable:true}),S=R(y,d,g),E=Y();return vd.set(t,{isDisabled:n,isRequired:i,name:a,form:l,validationBehavior:s}),{labelProps:{...v,onClick:()=>{e.isDisabled||(r.current?.focus(),vr("keyboard"));}},triggerProps:R(P,{...S,isDisabled:n,onKeyDown:Ve(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[E,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(D){t.isFocused||(e.onFocus&&e.onFocus(D),e.onFocusChange&&e.onFocusChange(true),t.setFocused(true));},onBlur(D){t.isOpen||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(false),t.setFocused(false));}}),valueProps:{id:E},menuProps:{...m,autoFocus:t.focusStrategy||true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,disallowEmptySelection:true,linkBehavior:"selection",onBlur:D=>{D.currentTarget.contains(D.relatedTarget)||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(false),t.setFocused(false));},"aria-labelledby":[g["aria-labelledby"],S["aria-label"]&&!g["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:x,errorMessageProps:T,isInvalid:b,validationErrors:f,validationDetails:h,hiddenSelectProps:{isDisabled:n,name:a,label:e.label,state:t,triggerRef:r,form:l}}}function Bb(e,t,r){let o=vd.get(t)||{},{autoComplete:n,name:i=o.name,form:a=o.form,isDisabled:l=o.isDisabled}=e,{validationBehavior:s,isRequired:u}=o,{visuallyHiddenProps:c}=ur({style:{position:"fixed",top:0,left:0}});yt(e.selectRef,t.defaultValue,t.setValue),Nr({validationBehavior:s,focus:()=>r.current?.focus()},t,e.selectRef);let d=t.setValue,m=useCallback(p=>{p.target.multiple?d(Array.from(p.target.selectedOptions,y=>y.value)):d(p.currentTarget.value);},[d]);return {containerProps:{...c,"aria-hidden":true,"data-react-aria-prevent-focus":true,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:n,disabled:l,multiple:t.selectionManager.selectionMode==="multiple",required:s==="native"&&u,name:i,form:a,value:t.value??"",onChange:m,onInput:m}}}function Td(e){let{state:t,triggerRef:r,label:o,name:n,form:i,isDisabled:a}=e,l=useRef(null),s=useRef(null),{containerProps:u,selectProps:c}=Bb({...e,selectRef:t.collection.size<=300?l:s},t,r);if(t.collection.size<=300)return jsx("div",{...u,"data-testid":"hidden-select-container",children:jsxs("label",{children:[o,jsxs("select",{...c,ref:l,children:[jsx("option",{}),[...t.collection.getKeys()].map(d=>{let m=t.collection.getItem(d);if(m&&m.type==="item")return jsx("option",{value:m.key,children:m.textValue},m.key)})]})]})});if(n){let d=vd.get(t)||{},{validationBehavior:m}=d,p=Array.isArray(t.value)?t.value:[t.value];p.length===0&&(p=[null]);let y=p.map((b,f)=>{let h={type:"hidden",autoComplete:c.autoComplete,name:n,form:i,disabled:a,value:b??""};return m==="native"?jsx("input",{...h,ref:f===0?s:null,style:{display:"none"},type:"text",required:f===0?c.required:false,onChange:()=>{}},f):jsx("input",{...h,ref:f===0?s:null},f)});return jsx(Fragment,{children:y})}return null}function Pd(e){let t=le(e,{labelable:true}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function fa(e,t,r){let{labelProps:o,inputProps:n,isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}=fs(e,t,r);return {labelProps:o,inputProps:{...n,role:"switch",checked:i},isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}}var $b=new WeakMap;function iV(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function $C(e,t){let r=$b.get(e);if(!r)throw new Error("Unknown grid");return `${r}-${iV(t)}`}var Cd={"ar-AE":{ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",ascendingSort:e=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${e.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A`,columnSize:e=>`${e.value} \u0628\u0627\u0644\u0628\u0643\u0633\u0644`,descending:"\u062A\u0646\u0627\u0632\u0644\u064A",descendingSort:e=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${e.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A`,resizerDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D Enter \u0644\u0628\u062F\u0621 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",select:"\u062A\u062D\u062F\u064A\u062F",selectAll:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sortable:"\u0639\u0645\u0648\u062F \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0631\u062A\u064A\u0628"},"bg-BG":{ascending:"\u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449",ascendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${e.columnName} \u0432\u044A\u0432 \u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,columnSize:e=>`${e.value} \u043F\u0438\u043A\u0441\u0435\u043B\u0430`,descending:"\u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449",descendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${e.columnName} \u0432 \u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u0442\u0435",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectAll:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043A\u043E",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u0449\u0430 \u043A\u043E\u043B\u043E\u043D\u0430"},"cs-CZ":{ascending:"vzestupn\u011B",ascendingSort:e=>`\u0159azeno vzestupn\u011B podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixel\u016F`,descending:"sestupn\u011B",descendingSort:e=>`\u0159azeno sestupn\u011B podle sloupce ${e.columnName}`,resizerDescription:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete m\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\u0161e",sortable:"sloupec s mo\u017Enost\xED \u0159azen\xED"},"da-DK":{ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xE6kkef\xF8lge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xE6kkef\xF8lge`,resizerDescription:"Tryk p\xE5 Enter for at \xE6ndre st\xF8rrelse",select:"V\xE6lg",selectAll:"V\xE6lg alle",sortable:"sorterbar kolonne"},"de-DE":{ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Gr\xF6\xDFen\xE4nderung dr\xFCcken",select:"Ausw\xE4hlen",selectAll:"Alles ausw\xE4hlen",sortable:"sortierbare Spalte"},"el-GR":{ascending:"\u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1",ascendingSort:e=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${e.columnName} \u03C3\u03B5 \u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,columnSize:e=>`${e.value} pixel`,descending:"\u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1",descendingSort:e=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${e.columnName} \u03C3\u03B5 \u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,resizerDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE\u03C2 \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectAll:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD",sortable:"\u03A3\u03C4\u03AE\u03BB\u03B7 \u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE\u03C2"},"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"},"es-ES":{ascending:"ascendente",ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,columnSize:e=>`${e.value} p\xEDxeles`,descending:"descendente",descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"},"et-EE":{ascending:"t\xF5usev j\xE4rjestus",ascendingSort:e=>`sorditud veeru j\xE4rgi ${e.columnName} t\xF5usvas j\xE4rjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv j\xE4rjestus",descendingSort:e=>`sorditud veeru j\xE4rgi ${e.columnName} laskuvas j\xE4rjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\xF5ik",sortable:"sorditav veerg"},"fi-FI":{ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xE4rjestyksess\xE4`,columnSize:e=>`${e.value} pikseli\xE4`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xE4rjestyksess\xE4`,resizerDescription:"Aloita koon muutos painamalla Enter-n\xE4pp\xE4int\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"},"fr-FR":{ascending:"croissant",ascendingSort:e=>`tri\xE9 en fonction de la colonne\xA0${e.columnName} par ordre croissant`,columnSize:e=>`${e.value}\xA0pixels`,descending:"d\xE9croissant",descendingSort:e=>`tri\xE9 en fonction de la colonne\xA0${e.columnName} par ordre d\xE9croissant`,resizerDescription:"Appuyez sur Entr\xE9e pour commencer le redimensionnement.",select:"S\xE9lectionner",selectAll:"S\xE9lectionner tout",sortable:"colonne triable"},"he-IL":{ascending:"\u05E2\u05D5\u05DC\u05D4",ascendingSort:e=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${e.columnName} \u05D1\u05E1\u05D3\u05E8 \u05E2\u05D5\u05DC\u05D4`,columnSize:e=>`${e.value} \u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD`,descending:"\u05D9\u05D5\u05E8\u05D3",descendingSort:e=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${e.columnName} \u05D1\u05E1\u05D3\u05E8 \u05D9\u05D5\u05E8\u05D3`,resizerDescription:"\u05D4\u05E7\u05E9 Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D2\u05D5\u05D3\u05DC",select:"\u05D1\u05D7\u05E8",selectAll:"\u05D1\u05D7\u05E8 \u05D4\u05DB\u05D5\u05DC",sortable:"\u05E2\u05DE\u05D5\u05D3\u05D4 \u05E9\u05E0\u05D9\u05EA\u05DF \u05DC\u05DE\u05D9\u05D9\u05DF"},"hr-HR":{ascending:"rastu\u0107i",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u0107em redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padaju\u0107i",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u0107im redoslijedom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\u017Ee razvrstati"},"hu-HU":{ascending:"n\xF6vekv\u0151",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xF6vekv\u0151 sorrendben`,columnSize:e=>`${e.value} k\xE9ppont`,descending:"cs\xF6kken\u0151",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xF6kken\u0151 sorrendben`,resizerDescription:"Nyomja le az Enter billenty\u0171t az \xE1tm\xE9retez\xE9s megkezd\xE9s\xE9hez",select:"Kijel\xF6l\xE9s",selectAll:"\xD6sszes kijel\xF6l\xE9se",sortable:"rendezend\u0151 oszlop"},"it-IT":{ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"},"ja-JP":{ascending:"\u6607\u9806",ascendingSort:e=>`\u5217 ${e.columnName} \u3092\u6607\u9806\u3067\u4E26\u3079\u66FF\u3048`,columnSize:e=>`${e.value} \u30D4\u30AF\u30BB\u30EB`,descending:"\u964D\u9806",descendingSort:e=>`\u5217 ${e.columnName} \u3092\u964D\u9806\u3067\u4E26\u3079\u66FF\u3048`,resizerDescription:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u958B\u59CB",select:"\u9078\u629E",selectAll:"\u3059\u3079\u3066\u9078\u629E",sortable:"\u4E26\u3079\u66FF\u3048\u53EF\u80FD\u306A\u5217"},"ko-KR":{ascending:"\uC624\uB984\uCC28\uC21C",ascendingSort:e=>`${e.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uC624\uB984\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,columnSize:e=>`${e.value} \uD53D\uC140`,descending:"\uB0B4\uB9BC\uCC28\uC21C",descendingSort:e=>`${e.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,resizerDescription:"\uD06C\uAE30 \uC870\uC815\uC744 \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",select:"\uC120\uD0DD",selectAll:"\uBAA8\uB450 \uC120\uD0DD",sortable:"\uC815\uB82C \uAC00\uB2A5\uD55C \uC5F4"},"lt-LT":{ascending:"did\u0117jan\u010Dia tvarka",ascendingSort:e=>`surikiuota pagal stulpel\u012F ${e.columnName} did\u0117jan\u010Dia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"ma\u017E\u0117jan\u010Dia tvarka",descendingSort:e=>`surikiuota pagal stulpel\u012F ${e.columnName} ma\u017E\u0117jan\u010Dia tvarka`,resizerDescription:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te keisti dyd\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\u0105",sortable:"rikiuojamas stulpelis"},"lv-LV":{ascending:"augo\u0161\u0101 sec\u012Bb\u0101",ascendingSort:e=>`k\u0101rtots p\u0113c kolonnas ${e.columnName} augo\u0161\u0101 sec\u012Bb\u0101`,columnSize:e=>`${e.value} pikse\u013Ci`,descending:"dilsto\u0161\u0101 sec\u012Bb\u0101",descendingSort:e=>`k\u0101rtots p\u0113c kolonnas ${e.columnName} dilsto\u0161\u0101 sec\u012Bb\u0101`,resizerDescription:"Nospiediet Enter, lai s\u0101ktu izm\u0113ru main\u012B\u0161anu",select:"Atlas\u012Bt",selectAll:"Atlas\u012Bt visu",sortable:"k\u0101rtojam\u0101 kolonna"},"nb-NO":{ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xF8lge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xF8lge`,resizerDescription:"Trykk p\xE5 Enter for \xE5 starte st\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"},"nl-NL":{ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"},"pl-PL":{ascending:"rosn\u0105co",ascendingSort:e=>`posortowano wed\u0142ug kolumny ${e.columnName} w porz\u0105dku rosn\u0105cym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malej\u0105co",descendingSort:e=>`posortowano wed\u0142ug kolumny ${e.columnName} w porz\u0105dku malej\u0105cym`,resizerDescription:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\u017Cliwo\u015Bci\u0105 sortowania"},"pt-BR":{ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para come\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\xE1vel"},"pt-PT":{ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\xE1vel"},"ro-RO":{ascending:"cresc\u0103toare",ascendingSort:e=>`sortate dup\u0103 coloana ${e.columnName} \xEEn ordine cresc\u0103toare`,columnSize:e=>`${e.value} pixeli`,descending:"descresc\u0103toare",descendingSort:e=>`sortate dup\u0103 coloana ${e.columnName} \xEEn ordine descresc\u0103toare`,resizerDescription:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\u0103",sortable:"coloan\u0103 sortabil\u0103"},"ru-RU":{ascending:"\u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u0435",ascendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${e.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044F`,columnSize:e=>`${e.value} \u043F\u0438\u043A\u0441.`,descending:"\u0443\u0431\u044B\u0432\u0430\u043D\u0438\u0435",descendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${e.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044F`,resizerDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u0432",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectAll:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0441\u0442\u043E\u043B\u0431\u0435\u0446"},"sk-SK":{ascending:"vzostupne",ascendingSort:e=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${e.columnName}`,columnSize:e=>`Po\u010Det pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${e.columnName}`,resizerDescription:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete zmenu ve\u013Ekosti",select:"Vybra\u0165",selectAll:"Vybra\u0165 v\u0161etko",sortable:"zoradite\u013En\xFD st\u013Apec"},"sl-SI":{ascending:"nara\u0161\u010Dajo\u010De",ascendingSort:e=>`razvr\u0161\u010Deno po stolpcu ${e.columnName} v nara\u0161\u010Dajo\u010Dem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajo\u010De",descendingSort:e=>`razvr\u0161\u010Deno po stolpcu ${e.columnName} v padajo\u010Dem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da za\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"},"sr-SP":{ascending:"rastu\u0107i",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u0107im redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padaju\u0107i",descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u0107im redosledom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\u017Ee sortirati"},"sv-SE":{ascending:"stigande",ascendingSort:e=>`sorterat p\xE5 kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat p\xE5 kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck p\xE5 Retur f\xF6r att b\xF6rja \xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"},"tr-TR":{ascending:"artan s\u0131rada",ascendingSort:e=>`${e.columnName} s\xFCtuna g\xF6re artan d\xFCzende s\u0131rala`,columnSize:e=>`${e.value} piksel`,descending:"azalan s\u0131rada",descendingSort:e=>`${e.columnName} s\xFCtuna g\xF6re azalan d\xFCzende s\u0131rala`,resizerDescription:"Yeniden boyutland\u0131rmak i\xE7in Enter'a bas\u0131n",select:"Se\xE7",selectAll:"T\xFCm\xFCn\xFC Se\xE7",sortable:"S\u0131ralanabilir s\xFCtun"},"uk-UA":{ascending:"\u0432\u0438\u0441\u0445\u0456\u0434\u043D\u0438\u0439",ascendingSort:e=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${e.columnName} \u0443 \u0432\u0438\u0441\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,columnSize:e=>`${e.value} \u043F\u0456\u043A\u0441.`,descending:"\u043D\u0438\u0437\u0445\u0456\u0434\u043D\u0438\u0439",descendingSort:e=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${e.columnName} \u0443 \u043D\u0438\u0437\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0443 \u0440\u043E\u0437\u043C\u0456\u0440\u0443",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectAll:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u043E\u0432\u043F\u0435\u0446\u044C"},"zh-CN":{ascending:"\u5347\u5E8F",ascendingSort:e=>`\u6309\u5217 ${e.columnName} \u5347\u5E8F\u6392\u5E8F`,columnSize:e=>`${e.value} \u50CF\u7D20`,descending:"\u964D\u5E8F",descendingSort:e=>`\u6309\u5217 ${e.columnName} \u964D\u5E8F\u6392\u5E8F`,resizerDescription:"\u6309\u201C\u8F93\u5165\u201D\u952E\u5F00\u59CB\u8C03\u6574\u5927\u5C0F\u3002",select:"\u9009\u62E9",selectAll:"\u5168\u9009",sortable:"\u53EF\u6392\u5E8F\u7684\u5217"},"zh-TW":{ascending:"\u905E\u589E",ascendingSort:e=>`\u5DF2\u4F9D\u64DA\u300C${e.columnName}\u300D\u6B04\u905E\u589E\u6392\u5E8F`,columnSize:e=>`${e.value} \u50CF\u7D20`,descending:"\u905E\u6E1B",descendingSort:e=>`\u5DF2\u4F9D\u64DA\u300C${e.columnName}\u300D\u6B04\u905E\u6E1B\u6392\u5E8F`,resizerDescription:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u8ABF\u6574\u5927\u5C0F",select:"\u9078\u53D6",selectAll:"\u5168\u9078",sortable:"\u53EF\u6392\u5E8F\u7684\u6B04"}};var Sd=class extends Xn{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let o=jt(Ee(r,this.collection));if(o)return o.key;let n=this.getFirstKey();return n==null||!this.collection.getItem(n)?null:super.getKeyForItemInRowByIndex(n,r.index)}return super.getKeyBelow(t)}getKeyAbove(t){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let i=r.parentKey!=null?this.collection.getItem(r.parentKey):null;return i&&i.type==="column"?i.key:null}let o=super.getKeyAbove(t),n=o!=null?this.collection.getItem(o):null;return n&&n.type!=="headerrow"?o:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(t){let r=this.findNextKey(t.key,n=>n.type==="column");if(r!=null)return r;let o=this.collection.headerRows[t.level];for(let n of Ee(o,this.collection))if(n.type==="column")return n.key;return null}findPreviousColumnKey(t){let r=this.findPreviousKey(t.key,i=>i.type==="column");if(r!=null)return r;let o=this.collection.headerRows[t.level],n=[...Ee(o,this.collection)];for(let i=n.length-1;i>=0;i--){let a=n[i];if(a.type==="column")return a.key}return null}getKeyRightOf(t){let r=this.collection.getItem(t);return r?r.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(r):this.findNextColumnKey(r):super.getKeyRightOf(t):null}getKeyLeftOf(t){let r=this.collection.getItem(t);return r?r.type==="column"?this.direction==="rtl"?this.findNextColumnKey(r):this.findPreviousColumnKey(r):super.getKeyLeftOf(t):null}getKeyForSearch(t,r){if(!this.collator)return null;let o=this.collection,n=r??this.getFirstKey();if(n==null)return null;let i=o.getItem(n);i?.type==="cell"&&(n=i.parentKey??null);let a=false;for(;n!=null;){let l=o.getItem(n);if(!l)return null;if(l.textValue){let s=l.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return l.key}for(let s of Ee(l,this.collection)){let u=o.columns[s.index];if(o.rowHeaderColumnKeys.has(u.key)&&s.textValue){let c=s.textValue.slice(0,t.length);if(this.collator.compare(c,t)===0)return (r!=null?o.getItem(r):i)?.type==="cell"?s.key:l.key}}n=this.getKeyBelow(n),n==null&&!a&&(n=this.getFirstKey(),a=true);}return null}};function Dd(e,t,r){let{keyboardDelegate:o,isVirtualized:n,layoutDelegate:i,layout:a}=e,l=$t({usage:"search",sensitivity:"base"}),{direction:s}=J(),u=t.selectionManager.disabledBehavior,c=useMemo(()=>o||new Sd({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:u,ref:r,direction:s,collator:l,layoutDelegate:i,layout:a}),[o,t.collection,t.disabledKeys,u,r,s,l,i,a]),d=Y(e.id);$b.set(t,d);let{gridProps:m}=Nb({...e,id:d,keyboardDelegate:c},t,r);n&&(m["aria-rowcount"]=t.collection.size+t.collection.headerRows.length);let{column:p,direction:y}=t.sortDescriptor||{},b=xe(Cd,"@react-aria/table"),f=useMemo(()=>{let v=t.collection.columns.find(g=>g.key===p)?.textValue??"";return y&&p?b.format(`${y}Sort`,{columnName:v}):void 0},[y,p,t.collection.columns]),h=ft(f);return kn(()=>{f&&st(f,"assertive",500);},[f]),{gridProps:R(m,h,{"aria-describedby":[h["aria-describedby"],m["aria-describedby"]].filter(Boolean).join(" ")})}}function kd(e,t,r){let{column:o,triggerRef:n,isDisabled:i,onResizeStart:a,onResize:l,onResizeEnd:s,"aria-label":u}=e,c=xe(Cd,"@react-aria/table"),d=Y(),m=t.resizingColumn===o.key,p=useRef(m),y=useRef(null),b=useRef(false),f=t.tableState.isKeyboardNavigationDisabled,{direction:h}=J(),{keyboardProps:v}=Ce({onKeyDown:A=>{f?(A.key==="Escape"||A.key==="Enter"||A.key===" "||A.key==="Tab")&&(A.preventDefault(),T(o)):(A.continuePropagation(),A.key==="Enter"&&g(o));}}),g=ue(A=>{p.current||(y.current=t.updateResizedColumns(A.key,t.getColumnWidth(A.key)),t.startResize(A.key),t.tableState.setKeyboardNavigationDisabled(true),a?.(y.current)),p.current=true;}),x=ue((A,B)=>{let U=t.updateResizedColumns(A.key,B);l?.(U),y.current=U;}),T=ue(A=>{p.current&&(y.current==null&&(y.current=t.updateResizedColumns(A.key,t.getColumnWidth(A.key))),t.endResize(),t.tableState.setKeyboardNavigationDisabled(false),s?.(y.current),p.current=false,n?.current&&!b.current&&We(n.current)),y.current=null;}),P=useRef(0),{moveProps:S}=Rr({onMoveStart(){P.current=t.getColumnWidth(o.key),g(o);},onMove(A){let{deltaX:B,deltaY:U,pointerType:oe}=A;h==="rtl"&&(B*=-1),oe==="keyboard"&&(U!==0&&B===0&&(B=U*-1),B*=10),B!==0&&(P.current+=B,x(o,P.current));},onMoveEnd(A){let{pointerType:B}=A;P.current=0,(B==="mouse"||B==="touch"&&b.current)&&T(o);}}),E=useCallback(A=>{f&&S.onKeyDown?.(A);},[f,S]),D=Math.floor(t.getColumnMinWidth(o.key)),I=Math.floor(t.getColumnMaxWidth(o.key));I===1/0&&(I=Number.MAX_SAFE_INTEGER);let C=Math.floor(t.getColumnWidth(o.key)),_=Xt();_==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(_="touch");let z=n?.current==null&&(_==="keyboard"||_==="virtual")&&!m?c.format("resizerDescription"):void 0,w=ft(z),O={"aria-label":u,"aria-orientation":"horizontal","aria-labelledby":`${d} ${$C(t.tableState,o.key)}`,"aria-valuetext":c.format("columnSize",{value:C}),type:"range",min:D,max:I,value:C,...w},k=useCallback(()=>{r.current&&We(r.current);},[r]),M=t.resizingColumn,F=useRef(null);useEffect(()=>{if(F.current!==M&&M!=null&&M===o.key){b.current=document.activeElement===r.current,g(o);let A=setTimeout(()=>k(),0),B=setTimeout(k,400);return ()=>{clearTimeout(A),clearTimeout(B);}}F.current=M;},[M,o,k,r,g]);let K=A=>{let B=t.getColumnWidth(o.key),U=parseFloat(A.target.value);U>B?U=B+10:U=B-10,x(o,U);},{pressProps:N}=Se({preventFocusOnPress:true,onPressStart:A=>{if(!(A.ctrlKey||A.altKey||A.metaKey||A.shiftKey||A.pointerType==="keyboard")){if(A.pointerType==="virtual"&&t.resizingColumn!=null){T(o);return}k(),A.pointerType!=="virtual"&&g(o);}},onPress:A=>{(A.pointerType==="touch"&&b.current||A.pointerType==="mouse")&&t.resizingColumn!=null&&T(o);}}),{visuallyHiddenProps:$}=ur();return {resizerProps:R(v,{...S,onKeyDown:E},N,{style:{touchAction:"none"}}),inputProps:R($,{id:d,onBlur:()=>{T(o);},onChange:K,disabled:i},O),isResizing:m}}var Hb=new WeakMap;function ya(e,t,r){if(!e)return "";typeof t=="string"&&(t=t.replace(/\s+/g,""));let o=Hb.get(e);return process.env.NODE_ENV!=="production"&&!o&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${o}-${r}-${t}`}function zd(e,t,r){let{key:o,isDisabled:n,shouldSelectOnPressUp:i}=e,{selectionManager:a,selectedKey:l}=t,s=o===l,u=n||t.isDisabled||t.selectionManager.isDisabled(o),{itemProps:c,isPressed:d}=vo({selectionManager:a,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:i,linkBehavior:"selection"}),m=ya(t,o,"tab"),p=ya(t,o,"tabpanel"),{tabIndex:y}=c,b=t.collection.getItem(o),f=le(b?.props,{labelable:true});delete f.id;let h=uo(b?.props),{focusableProps:v}=Xe({isDisabled:u},r);return {tabProps:R(f,v,h,c,{id:m,"aria-selected":s,"aria-disabled":u||void 0,"aria-controls":s?p:void 0,tabIndex:u?void 0:y,role:"tab"}),isSelected:s,isDisabled:u,isPressed:d}}function Ed(e,t,r){let o=An(r)?void 0:0,n=ya(t,e.id??t?.selectedKey,"tabpanel"),i=lt({...e,id:n,"aria-labelledby":ya(t,t?.selectedKey,"tab")});return {tabPanelProps:R(i,{tabIndex:o,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}var wd=class{collection;flipDirection;disabledKeys;tabDirection;constructor(t,r,o,n=new Set){this.collection=t,this.flipDirection=r==="rtl"&&o==="horizontal",this.disabledKeys=n,this.tabDirection=o==="horizontal";}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){return this.disabledKeys.has(t)||!!this.collection.getItem(t)?.props?.isDisabled}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let r=t;do r=this.collection.getKeyAfter(r),r==null&&(r=this.collection.getFirstKey());while(r!=null&&this.isDisabled(r));return r}getPreviousKey(t){let r=t;do r=this.collection.getKeyBefore(r),r==null&&(r=this.collection.getLastKey());while(r!=null&&this.isDisabled(r));return r}};function _d(e,t,r){let{orientation:o="horizontal",keyboardActivation:n="automatic"}=e,{collection:i,selectionManager:a,disabledKeys:l}=t,{direction:s}=J(),u=useMemo(()=>new wd(i,s,o,l),[i,l,o,s]),{collectionProps:c}=ho({ref:r,selectionManager:a,keyboardDelegate:u,selectOnFocus:n==="automatic",disallowEmptySelection:true,scrollRef:r,linkBehavior:"selection"}),d=Y();Hb.set(t,d);let m=lt({...e,id:d});return {tabListProps:{...R(c,m),role:"tablist","aria-orientation":o,tabIndex:void 0}}}var jb=new WeakMap;function Id(e,t,r){let{direction:o}=J(),n=e.keyboardDelegate||new ct({collection:t.collection,ref:r,orientation:"horizontal",direction:o,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:i,fieldProps:a,descriptionProps:l,errorMessageProps:s}=Jt({...e,labelElementType:"span",ref:r}),{gridProps:u}=ca({...e,...a,keyboardDelegate:n,shouldFocusWrap:true,linkBehavior:"override",keyboardNavigationBehavior:"tab"},t,r),[c,d]=useState(false),{focusWithinProps:m}=je({onFocusWithinChange:d}),p=le(e),y=useRef(t.collection.size);return useEffect(()=>{r.current&&y.current>0&&t.collection.size===0&&c&&r.current.focus(),y.current=t.collection.size;},[t.collection.size,c,r]),jb.set(t,{onRemove:e.onRemove}),{gridProps:R(u,p,{role:t.collection.size?"grid":"group","aria-atomic":false,"aria-relevant":"additions","aria-live":c?"polite":"off",...m,...a}),labelProps:i,descriptionProps:l,errorMessageProps:s}}var GC={"ar-AE":{removeButtonLabel:"\u0625\u0632\u0627\u0644\u0629",removeDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D DELETE \u0644\u0625\u0632\u0627\u0644\u0629 \u0639\u0644\u0627\u0645\u0629."},"bg-BG":{removeButtonLabel:"\u041F\u0440\u0435\u043C\u0430\u0445\u0432\u0430\u043D\u0435",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Delete, \u0437\u0430 \u0434\u0430 \u043F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043C\u0430\u0440\u043A\u0435\u0440\u0430."},"cs-CZ":{removeButtonLabel:"Odebrat",removeDescription:"Stisknut\xEDm kl\xE1vesy Delete odeberete zna\u010Dku."},"da-DK":{removeButtonLabel:"Fjern",removeDescription:"Tryk p\xE5 Slet for at fjerne tag."},"de-DE":{removeButtonLabel:"Entfernen",removeDescription:"Auf \u201EL\xF6schen\u201C dr\xFCcken, um das Tag zu entfernen."},"el-GR":{removeButtonLabel:"\u039A\u03B1\u03C4\u03AC\u03C1\u03B3\u03B7\u03C3\u03B7",removeDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BA\u03B1\u03C4\u03B1\u03C1\u03B3\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C4\u03B9\u03BA\u03AD\u03C4\u03B1."},"en-US":{removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"},"es-ES":{removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."},"et-EE":{removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."},"fi-FI":{removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."},"fr-FR":{removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l\u2019\xE9tiquette."},"he-IL":{removeButtonLabel:"\u05D4\u05E1\u05E8",removeDescription:"\u05DC\u05D7\u05E5 \u05E2\u05DC \u05DE\u05D7\u05E7 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E1\u05D9\u05E8 \u05EA\u05D2."},"hr-HR":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."},"hu-HU":{removeButtonLabel:"Elt\xE1vol\xEDt\xE1s",removeDescription:"Nyomja meg a Delete billenty\u0171t a c\xEDmke elt\xE1vol\xEDt\xE1s\xE1hoz."},"it-IT":{removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."},"ja-JP":{removeButtonLabel:"\u524A\u9664",removeDescription:"\u30BF\u30B0\u3092\u524A\u9664\u3059\u308B\u306B\u306F\u3001Delete \u30AD\u30FC\u3092\u62BC\u3057\u307E\u3059\u3002"},"ko-KR":{removeButtonLabel:"\uC81C\uAC70",removeDescription:"\uD0DC\uADF8\uB97C \uC81C\uAC70\uD558\uB824\uBA74 Delete \uD0A4\uB97C \uB204\uB974\uC2ED\uC2DC\uC624."},"lt-LT":{removeButtonLabel:"Pa\u0161alinti",removeDescription:"Nor\u0117dami pa\u0161alinti \u017Eym\u0105, paspauskite \u201EDelete\u201C klavi\u0161\u0105."},"lv-LV":{removeButtonLabel:"No\u0146emt",removeDescription:"Nospiediet Delete [Dz\u0113st], lai no\u0146emtu tagu."},"nb-NO":{removeButtonLabel:"Fjern",removeDescription:"Trykk p\xE5 Slett for \xE5 fjerne taggen."},"nl-NL":{removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."},"pl-PL":{removeButtonLabel:"Usu\u0144",removeDescription:"Naci\u015Bnij Usu\u0144, aby usun\u0105\u0107 znacznik."},"pt-BR":{removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."},"pt-PT":{removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."},"ro-RO":{removeButtonLabel:"\xCEndep\u0103rta\u0163i",removeDescription:"Ap\u0103sa\u021Bi pe Delete (\u0218tergere) pentru a elimina eticheta."},"ru-RU":{removeButtonLabel:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",removeDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 DELETE, \u0447\u0442\u043E\u0431\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433."},"sk-SK":{removeButtonLabel:"Odstr\xE1ni\u0165",removeDescription:"Ak chcete odstr\xE1ni\u0165 zna\u010Dku, stla\u010Dte kl\xE1ves Delete."},"sl-SI":{removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."},"sr-SP":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obri\u0161i da biste uklonili oznaku."},"sv-SE":{removeButtonLabel:"Ta bort",removeDescription:"Tryck p\xE5 Radera f\xF6r att ta bort taggen."},"tr-TR":{removeButtonLabel:"Kald\u0131r",removeDescription:"Etiketi kald\u0131rmak i\xE7in Sil tu\u015Funa bas\u0131n."},"uk-UA":{removeButtonLabel:"\u0412\u0438\u043B\u0443\u0447\u0438\u0442\u0438",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Delete, \u0449\u043E\u0431 \u0432\u0438\u043B\u0443\u0447\u0438\u0442\u0438 \u0442\u0435\u0433."},"zh-CN":{removeButtonLabel:"\u5220\u9664",removeDescription:"\u6309\u4E0B\u201C\u5220\u9664\u201D\u4EE5\u5220\u9664\u6807\u8BB0\u3002"},"zh-TW":{removeButtonLabel:"\u79FB\u9664",removeDescription:"\u6309 Delete \u9375\u4EE5\u79FB\u9664\u6A19\u8A18\u3002"}};function Rd(e,t,r){let{item:o}=e,n=xe(GC,"@react-aria/tag"),i=Y(),{onRemove:a}=jb.get(t)||{},{rowProps:l,gridCellProps:s,...u}=da({node:o},t,r),{descriptionProps:c,...d}=u,m=t.disabledKeys.has(o.key)||o.props.isDisabled,p=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(m)return;S.preventDefault(),t.selectionManager.isSelected(o.key)?a?.(new Set(t.selectionManager.selectedKeys)):a?.(new Set([o.key]));}},y=Xt();y==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(y="pointer");let b=a&&(y==="keyboard"||y==="virtual")?n.format("removeDescription"):"",f=ft(b),h=o.key===t.selectionManager.focusedKey,v=t.selectionManager.focusedKey!=null,g=-1;!m&&(h||!v)&&(g=0);let x=le(o.props),T=Sl(o.props),{focusableProps:P}=Xe({isDisabled:m},r);return {removeButtonProps:{"aria-label":n.format("removeButtonLabel"),"aria-labelledby":`${i} ${l.id}`,isDisabled:m,id:i,onPress:()=>a?a(new Set([o.key])):null},rowProps:R(P,l,x,T,{tabIndex:g,onKeyDown:a?p:void 0,"aria-describedby":f["aria-describedby"]}),gridCellProps:R(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...d,allowsRemoving:!!a}}var Ld={"ar-AE":{close:"\u0625\u063A\u0644\u0627\u0642",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0625\u0634\u0639\u0627\u0631`,other:()=>`${t.number(e.count)} \u0625\u0634\u0639\u0627\u0631\u0627\u062A`})}.`},"bg-BG":{close:"\u0417\u0430\u0442\u0432\u043E\u0440\u0438",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u0435`,other:()=>`${t.number(e.count)} \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u044F`})}.`},"cs-CZ":{close:"Zav\u0159\xEDt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xE1men\xED`,other:()=>`${t.number(e.count)} ozn\xE1men\xED`})}.`},"da-DK":{close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`},"de-DE":{close:"Schlie\xDFen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`},"el-GR":{close:"\u039A\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7`,other:()=>`${t.number(e.count)} \u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2`})}.`},"en-US":{close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"es-ES":{close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificaci\xF3n`,other:()=>`${t.number(e.count)} notificaciones`})}.`},"et-EE":{close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`},"fi-FI":{close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`},"fr-FR":{close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"he-IL":{close:"\u05E1\u05D2\u05D5\u05E8",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05D4\u05EA\u05E8\u05D0\u05D4`,other:()=>`${t.number(e.count)} \u05D4\u05EA\u05E8\u05D0\u05D5\u05EA`})}.`},"hr-HR":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`},"hu-HU":{close:"Bez\xE1r\xE1s",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9rtes\xEDt\xE9s`,other:()=>`${t.number(e.count)} \xE9rtes\xEDt\xE9s`})}.`},"it-IT":{close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`},"ja-JP":{close:"\u9589\u3058\u308B",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u306E\u901A\u77E5`,other:()=>`${t.number(e.count)} \u500B\u306E\u901A\u77E5`})}\u3002`},"ko-KR":{close:"\uB2EB\uAE30",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC54C\uB9BC`,other:()=>`${t.number(e.count)}\uAC1C \uC54C\uB9BC`})}.`},"lt-LT":{close:"U\u017Edaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} prane\u0161imas`,other:()=>`${t.number(e.count)} prane\u0161imai`})}.`},"lv-LV":{close:"Aizv\u0113rt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pazi\u0146ojums`,other:()=>`${t.number(e.count)} pazi\u0146ojumi`})}.`},"nb-NO":{close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`},"nl-NL":{close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`},"pl-PL":{close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomie\u0144`,other:()=>`${t.number(e.count)} powiadomienia`})}.`},"pt-BR":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xE7\xE3o`,other:()=>`${t.number(e.count)} notifica\xE7\xF5es`})}.`},"pt-PT":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xE7\xE3o`,other:()=>`${t.number(e.count)} notifica\xE7\xF5es`})}.`},"ro-RO":{close:"\xCEnchide\u0163i",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notific\u0103ri`})}.`},"ru-RU":{close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435`,other:()=>`${t.number(e.count)} \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F`})}.`},"sk-SK":{close:"Zatvori\u0165",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xE1menie`,few:()=>`${t.number(e.count)} ozn\xE1menia`,other:()=>`${t.number(e.count)} ozn\xE1men\xED`})}.`},"sl-SI":{close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`},"sr-SP":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obave\u0161tenje`,other:()=>`${t.number(e.count)} obave\u0161tenja`})}.`},"sv-SE":{close:"St\xE4ng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`},"tr-TR":{close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`},"uk-UA":{close:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F`,other:()=>`${t.number(e.count)} \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F`})}.`},"zh-CN":{close:"\u5173\u95ED",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u901A\u77E5`,other:()=>`${t.number(e.count)} \u4E2A\u901A\u77E5`})}\u3002`},"zh-TW":{close:"\u95DC\u9589",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u901A\u77E5`,other:()=>`${t.number(e.count)} \u500B\u901A\u77E5`})}\u3002`}};function Md(e,t,r){let{key:o,timer:n,timeout:i}=e.toast;useEffect(()=>{if(!(n==null||i==null))return n.reset(i),()=>{n.pause();}},[n,i]);let a=Y(),l=St(),s=xe(Ld,"@react-aria/toast"),[u,c]=useState(false);return useEffect(()=>{c(true);},[]),{toastProps:{...le(e,{labelable:true}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||a,"aria-describedby":e["aria-describedby"]||l,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":u?void 0:"true"},titleProps:{id:a},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(o)}}}function Ad(e,t,r){let o=xe(Ld,"@react-aria/toast"),{landmarkProps:n}=Vb({role:"region","aria-label":e["aria-label"]||o.format("notifications",{count:t.visibleToasts.length})},r),i=useRef(false),a=useRef(false),l=ue(()=>{i.current||a.current?t.pauseAll():t.resumeAll();}),{hoverProps:s}=re({onHoverStart:()=>{i.current=true,l();},onHoverEnd:()=>{i.current=false,l();}}),u=useRef([]),c=useRef(t.visibleToasts),d=useRef(null);ae(()=>{if(d.current===-1||t.visibleToasts.length===0||!r.current){u.current=[],c.current=t.visibleToasts;return}if(u.current=[...r.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((f,h)=>f.key===c.current[h].key)){c.current=t.visibleToasts;return}let y=c.current.map((f,h)=>({...f,i:h,isRemoved:!t.visibleToasts.some(v=>f.key===v.key)})),b=y.findIndex(f=>f.i===d.current&&f.isRemoved);if(b>-1)if(ht()==="pointer"&&m.current?.isConnected)Ke(m.current);else {let f=0,h,v;for(;f<=b;)y[f].isRemoved||(v=Math.max(0,f-1)),f++;for(;f<y.length;){if(!y[f].isRemoved){h=f-1;break}f++;}v===void 0&&h===void 0&&(v=0),v>=0&&v<u.current.length?Ke(u.current[v]):h>=0&&h<u.current.length&&Ke(u.current[h]);}c.current=t.visibleToasts;},[t.visibleToasts,r,l]);let m=useRef(null),{focusWithinProps:p}=je({onFocusWithin:y=>{a.current=true,m.current=y.relatedTarget,l();},onBlurWithin:()=>{a.current=false,m.current=null,l();}});return useEffect(()=>{t.visibleToasts.length===0&&m.current?.isConnected&&(ht()==="pointer"?Ke(m.current):m.current.focus(),m.current=null);},[r,t.visibleToasts.length]),useEffect(()=>()=>{m.current?.isConnected&&(ht()==="pointer"?Ke(m.current):m.current.focus(),m.current=null);},[r]),{regionProps:R(n,s,p,{tabIndex:-1,"data-react-aria-top-layer":true,onFocus:y=>{let b=y.target.closest('[role="alertdialog"]');d.current=u.current.findIndex(f=>f===b);},onBlur:()=>{d.current=-1;}})}}function Nd(e,t,r){let o=le(e,{labelable:true}),{hoverProps:n}=re({onHoverStart:()=>t?.open(true),onHoverEnd:()=>t?.close()},r);return {tooltipProps:R(o,n,{role:"tooltip"})}}function Od(e,t,r){let{isDisabled:o,trigger:n}=e,i=Y(),a=useRef(false),l=useRef(false),s=()=>{(a.current||l.current)&&t.open(l.current);},u=h=>{!a.current&&!l.current&&t.close(h);};useEffect(()=>{let h=g=>{r&&r.current&&g.key==="Escape"&&(g.stopPropagation(),t.close(true));},v=H(r?.current);if(t.isOpen)return v.addEventListener("keydown",h,true),()=>{v.removeEventListener("keydown",h,true);}},[r,t]);let c=()=>{n!=="focus"&&(ht()==="pointer"?a.current=true:a.current=false,s());},d=()=>{n!=="focus"&&(l.current=false,a.current=false,u());},m=()=>{l.current=false,a.current=false,u(true);},p=()=>{Ht()&&(l.current=true,s());},y=()=>{l.current=false,a.current=false,u(true);},{hoverProps:b}=re({isDisabled:o,onHoverStart:c,onHoverEnd:d},r),{focusableProps:f}=Xe({isDisabled:o,onFocus:p,onBlur:y},r);return {triggerProps:{"aria-describedby":t.isOpen?i:void 0,...R(f,b,{onPointerDown:m,onKeyDown:m}),tabIndex:void 0},tooltipProps:{id:i}}}var Xr=class{static type;type;key;value=null;level=0;hasChildNodes=false;rendered=null;textValue="";"aria-label"=void 0;index=0;parentKey=null;prevKey=null;nextKey=null;firstChildKey=null;lastChildKey=null;props={};render;colSpan=null;colIndex=null;constructor(t){this.type=this.constructor.type,this.key=t;}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,o){let n=this.clone();return r.addDescendants(n,t),n}},Yn=class extends Xr{filter(t,r,o){let[n,i]=XC(t,r,this.firstChildKey,o),a=this.clone();return a.firstChildKey=n,a.lastChildKey=i,a}},Ms=class extends Xr{static type="header"},Zn=class extends Xr{static type="loader"},As=class extends Yn{static type="item";filter(t,r,o){if(o(this.textValue,this)){let n=this.clone();return r.addDescendants(n,t),n}return null}},Ns=class extends Yn{static type="section";filter(t,r,o){let n=super.filter(t,r,o);if(n&&n.lastChildKey!==null){let i=t.getItem(n.lastChildKey);if(i&&i.type!=="header")return n}return null}},Jn=class{keyMap=new Map;firstKey=null;lastKey=null;frozen=false;itemCount=0;get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0;}getChildren(t){let r=this.keyMap;return {*[Symbol.iterator](){let o=r.get(t),n=o?.firstChildKey!=null?r.get(o.firstChildKey):null;for(;n;)yield n,n=n.nextKey!=null?r.get(n.nextKey):void 0;}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t);}addDescendants(t,r){this.addNode(t);let o=r.getChildren(t.key);for(let n of o)this.addDescendants(n,r);}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t);}commit(t,r,o=false){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!o;}filter(t){let r=new this.constructor,[o,n]=XC(this,r,this.firstKey,t);return r?.commit(o,n),r}};function XC(e,t,r,o){if(r==null)return [null,null];let n=null,i=null,a=e.getItem(r);for(;a!=null;){let l=a.filter(e,t,o);l!=null&&(l.nextKey=null,i&&(l.prevKey=i.key,i.nextKey=l.key),n==null&&(n=l),t.addNode(l),i=l),a=a.nextKey?e.getItem(a.nextKey):null;}if(i&&i.type==="separator"){let l=i.prevKey;t.removeNode(i.key),l?(i=t.getItem(l),i.nextKey=null):i=null;}return [n?.key??null,i?.key??null]}var Fd=class{_firstChild=null;_lastChild=null;_previousSibling=null;_nextSibling=null;_parentNode=null;_minInvalidChildIndex=null;ownerDocument;constructor(t){this.ownerDocument=t;}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling;}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this);}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this);}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this);}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this);}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this);}get isConnected(){return this.parentNode?.isConnected||false}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this));}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null;}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate();}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate();}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate());}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},Os=class e extends Fd{nodeType=8;node;isMutated=true;_index=0;isHidden=false;constructor(t,r){super(r),this.node=null;}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this);}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=true),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let o=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&o!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=o;}}}setProps(t,r,o,n,i){let a,{value:l,textValue:s,id:u,...c}=t;if(this.node==null?(a=new o(u??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),c.ref=r,a.props=c,a.rendered=n,a.render=i,a.value=l,t["aria-label"]&&(a["aria-label"]=t["aria-label"]),a.textValue=s||(typeof c.children=="string"?c.children:"")||t["aria-label"]||"",u!=null&&u!==a.key)throw new Error("Cannot change the id of an item");c.colSpan!=null&&(a.colSpan=c.colSpan),this.isConnected&&this.ownerDocument.queueUpdate();}get style(){let t=this;return {get display(){return t.isHidden?"none":""},set display(r){let o=r==="none";if(t.isHidden!==o){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let n=t.previousVisibleSibling,i=t.nextVisibleSibling;n&&t.ownerDocument.markDirty(n),i&&t.ownerDocument.markDirty(i),t.isHidden=o,t.ownerDocument.markDirty(t);}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Kd=class extends Fd{nodeType=11;ownerDocument=this;dirtyNodes=new Set;isSSR=false;nodeId=0;nodesByProps=new WeakMap;collection;nextCollection=null;subscriptions=new Set;queuedRender=false;inSubscription=false;constructor(t){super(null),this.collection=t,this.nextCollection=t;}get isConnected(){return true}createElement(t){return new Os(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t);}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let o of t)this.addNode(o);r.addNode(t.node);}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key);}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=false,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof Os&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof Os?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=false):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null));}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=true,this.inSubscription=true;for(let t of this.subscriptions)t();this.inSubscription=false;}}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=false,this.firstChild=null,this.lastChild=null,this.nodeId=0);}};function ga(e){let{children:t,items:r,idScope:o,addIdAndValue:n,dependencies:i=[]}=e,a=useMemo(()=>new WeakMap,i);return useMemo(()=>{if(r&&typeof t=="function"){let l=[];for(let s of r){let u=a.get(s);if(!u){u=t(s);let c=u.props.id??s.key??s.id;if(c==null)throw new Error("Could not determine key for item");o&&(c=o+":"+c),u=cloneElement(u,n?{key:c,id:c,value:s}:{key:c}),a.set(s,u);}l.push(u);}return l}else if(typeof t!="function")return t},[t,r,a,o,n])}if(typeof HTMLTemplateElement<"u"){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:true,enumerable:true,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}});}var ZC=createContext(false);function JC(e){if(useContext(ZC))return jsx(Fragment,{children:e.children});let r=jsx(ZC.Provider,{value:true,children:e.children});return jsx("template",{"data-react-aria-hidden":true,children:r})}var oS=createContext(false),Ks=createContext(null);function rn(e){if(useContext(Ks))return e.content;let{collection:r,document:o}=IV(e.createCollection);return jsxs(Fragment,{children:[jsx(JC,{children:jsx(Ks.Provider,{value:o,children:e.content})}),jsx(EV,{render:e.children,collection:r})]})}function EV({collection:e,render:t}){return t(e)}function wV(e,t,r){let o=wr(),n=useRef(o);n.current=o;let i=useCallback(()=>n.current?r():t(),[t,r]);return useSyncExternalStore(e,i)}var _V=typeof Mo.useSyncExternalStore=="function"?Mo.useSyncExternalStore:wV;function IV(e){let[t]=useState(()=>new Kd(e?.()||new Jn)),r=useCallback(a=>t.subscribe(a),[t]),o=useCallback(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),n=useCallback(()=>(t.isSSR=true,t.getCollection()),[t]);return {collection:_V(r,o,n),document:t}}var Ub=createContext(null);function RV(e){return class extends Xr{static type=e}}function nS(e,t,r,o,n,i){typeof e=="string"&&(e=RV(e));let a=useCallback(s=>{s?.setProps(t,r,e,o,i);},[t,r,o,i,e]),l=useContext(Ub);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e.type),s.setProps(t,r,e,o,i),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),n?jsx(Ub.Provider,{value:s,children:n}):null}return jsx(e.type,{ref:a,children:n})}function xo(e,t){let r=({node:n})=>t(n.props,n.props.ref,n),o=forwardRef((n,i)=>{let a=useContext(Ai);if(!useContext(oS)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(n,i)}return nS(e,n,i,"children"in n?n.children:null,null,s=>jsx(Ai.Provider,{value:a,children:jsx(r,{node:s})}))});return o.displayName=t.name,o}function ha(e,t,r=iS){let o=({node:i})=>t(i.props,i.props.ref,i),n=forwardRef((i,a)=>{let l=r(i);return nS(e,i,a,null,l,s=>jsx(o,{node:s}))??jsx(Fragment,{})});return n.displayName=t.name,n}function iS(e){return ga({...e,addIdAndValue:true})}var eS=createContext(null);function Yr(e){let t=useContext(eS),r=(t?.dependencies||[]).concat(e.dependencies),o=e.idScope||t?.idScope,n=iS({...e,idScope:o,dependencies:r});return useContext(Ks)&&(n=jsx(LV,{children:n})),t=useMemo(()=>({dependencies:r,idScope:o}),[o,...r]),jsx(eS.Provider,{value:t,children:n})}function LV({children:e}){let t=useContext(Ks),r=useMemo(()=>jsx(Ks.Provider,{value:null,children:jsx(oS.Provider,{value:true,children:e})}),[e]);return wr()?jsx(Ub.Provider,{value:t,children:r}):createPortal(r,t)}var uS=createContext(null);var Wb={CollectionRoot({collection:e,renderDropIndicator:t}){return lS(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return lS(e,t,r)}};function lS(e,t,r){return ga({items:t?e.getChildren(t.key):e,dependencies:[r],children(o){let n=o.render(o);return !r||o.type!=="item"?n:jsxs(Fragment,{children:[r({type:"item",key:o.key,dropPosition:"before"}),n,qb(e,o,r)]})}})}function qb(e,t,r){let o=t.key,n=e.getKeyAfter(o),i=n!=null?e.getItem(n):null;for(;i!=null&&i.type!=="item";)n=e.getKeyAfter(i.key),i=n!=null?e.getItem(n):null;let a=t.nextKey!=null?e.getItem(t.nextKey):null;for(;a!=null&&a.type!=="item";)a=a.nextKey!=null?e.getItem(a.nextKey):null;let l=[];if(a==null){let s=t;for(;s&&(!i||s.parentKey!==i.parentKey&&i.level<s.level);){let u=r({type:"item",key:s.key,dropPosition:"after"});isValidElement(u)&&l.push(cloneElement(u,{key:`${s.key}-after`})),s=s.parentKey!=null?e.getItem(s.parentKey):null;}}return l}var wt=createContext(Wb);var on=class{keyMap=new Map;iterable;firstKey=null;lastKey=null;_size;constructor(t){this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)r(l);};for(let a of t)r(a);let o=null,n=0,i=0;for(let[a,l]of this.keyMap)o?(o.nextKey=a,l.prevKey=o.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=n++),(l.type==="section"||l.type==="item")&&i++,o=l,o.nextKey=void 0;this._size=i,this.lastKey=o?.key??null;}*[Symbol.iterator](){yield*this.iterable;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var pr=class e extends Set{anchorKey;currentKey;constructor(t,r,o){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=o??t.currentKey):(this.anchorKey=r??null,this.currentKey=o??null);}};function VV(e,t){if(e.size!==t.size)return false;for(let r of e)if(!t.has(r))return false;return true}function Zr(e){let{selectionMode:t="none",disallowEmptySelection:r=false,allowDuplicateSelectionEvents:o,selectionBehavior:n="toggle",disabledBehavior:i="all"}=e,a=useRef(false),[,l]=useState(false),s=useRef(null),u=useRef(null),[,c]=useState(null),d=useMemo(()=>cS(e.selectedKeys),[e.selectedKeys]),m=useMemo(()=>cS(e.defaultSelectedKeys,new pr),[e.defaultSelectedKeys]),[p,y]=be(d,m,e.onSelectionChange),b=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[f,h]=useState(n);n==="replace"&&f==="toggle"&&typeof p=="object"&&p.size===0&&h("replace");let v=useRef(n);return useEffect(()=>{n!==v.current&&(h(n),v.current=n);},[n]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:f,setSelectionBehavior:h,get isFocused(){return a.current},setFocused(g){a.current=g,l(g);},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(g,x="first"){s.current=g,u.current=x,c(g);},selectedKeys:p,setSelectedKeys(g){(o||!VV(g,p))&&y(g);},disabledKeys:b,disabledBehavior:i}}function cS(e,t){return e?e==="all"?"all":new pr(e):t}var To=class e{collection;state;allowsCellSelection;_isSelectAll;layoutDelegate;constructor(t,r,o){this.collection=t,this.state=r,this.allowsCellSelection=o?.allowsCellSelection??false,this._isSelectAll=null,this.layoutDelegate=o?.layoutDelegate||null;}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t);}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t);}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r);}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return false;let r=this.getKey(t);return r==null?false:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return false;if(this.state.selectedKeys==="all")return true;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(o=>r.has(o)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!t||o&&ps(this.collection,o,t)<0)&&(t=o);}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!t||o&&ps(this.collection,o,t)>0)&&(t=o);}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let o;if(this.state.selectedKeys==="all")o=new pr([r],r,r);else {let n=this.state.selectedKeys,i=n.anchorKey??r;o=new pr(n,i,r);for(let a of this.getKeyRange(i,n.currentKey??r))o.delete(a);for(let a of this.getKeyRange(r,i))this.canSelectItem(a)&&o.add(a);}this.state.setSelectedKeys(o);}getKeyRange(t,r){let o=this.collection.getItem(t),n=this.collection.getItem(r);return o&&n?ps(this.collection,o,n)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let o=[],n=t;for(;n!=null;){let i=this.collection.getItem(n);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&o.push(n),n===r)return o;n=this.collection.getKeyAfter(n);}return []}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return !r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let o=new pr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);o.has(r)?o.delete(r):this.canSelectItem(r)&&(o.add(r),o.anchorKey=r,o.currentKey=r),!(this.disallowEmptySelection&&o.size===0)&&this.state.setSelectedKeys(o);}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let o=this.canSelectItem(r)?new pr([r],r,r):new pr;this.state.setSelectedKeys(o);}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new pr;for(let o of t){let n=this.getKey(o);if(n!=null&&(r.add(n),this.selectionMode==="single"))break}this.state.setSelectedKeys(r);}getSelectAllKeys(){let t=[],r=o=>{for(;o!=null;){if(this.canSelectItem(o)){let n=this.collection.getItem(o);n?.type==="item"&&t.push(o),n?.hasChildNodes&&(this.allowsCellSelection||n.type!=="item")&&r(jt(Ee(n,this.collection))?.key??null);}o=this.collection.getKeyAfter(o);}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all");}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new pr);}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll();}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t));}isSelectionEqual(t){if(t===this.state.selectedKeys)return true;let r=this.selectedKeys;if(t.size!==r.size)return false;for(let o of t)if(!r.has(o))return false;for(let o of r)if(!t.has(o))return false;return true}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return false;let r=this.collection.getItem(t);return !(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!this.collection.getItem(t)?.props?.isDisabled)}isLink(t){return !!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}};function xt(e){let{filter:t,layoutDelegate:r}=e,o=Zr(e),n=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=useCallback(u=>t?new on(t(u)):new on(u),[t]),a=useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Wo(e,i,a),s=useMemo(()=>new To(l,o,{layoutDelegate:r}),[l,o,r]);return dS(l,s),{collection:l,disabledKeys:n,selectionManager:s}}function Hd(e,t){let r=useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),o=e.selectionManager.withCollection(r);return dS(r,o),{collection:r,selectionManager:o,disabledKeys:e.disabledKeys}}function dS(e,t){let r=useRef(null);useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let o=r.current.getItem(t.focusedKey),n=[...r.current.getKeys()].map(c=>{let d=r.current.getItem(c);return d?.type==="item"?d:null}).filter(c=>c!==null),i=[...e.getKeys()].map(c=>{let d=e.getItem(c);return d?.type==="item"?d:null}).filter(c=>c!==null),a=(n?.length??0)-(i?.length??0),l=Math.min(a>1?Math.max((o?.index??0)-a+1,0):o?.index??0,(i?.length??0)-1),s=null,u=false;for(;l>=0;){if(!t.isDisabled(i[l].key)){s=i[l];break}l<i.length-1&&!u?l++:(u=true,l>(o?.index??0)&&(l=o?.index??0),l--);}t.setFocusedKey(s?s.key:null);}r.current=e;},[e,t]);}function va(e){let[t,r]=be(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),o=useMemo(()=>t!=null?[t]:[],[t]),{collection:n,disabledKeys:i,selectionManager:a}=xt({...e,selectionMode:"single",disallowEmptySelection:true,allowDuplicateSelectionEvents:true,selectedKeys:o,onSelectionChange:s=>{if(s==="all")return;let u=s.values().next().value??null;u===t&&e.onSelectionChange&&e.onSelectionChange(u),r(u);}}),l=t!=null?n.getItem(t):null;return {collection:n,disabledKeys:i,selectionManager:a,selectedKey:t,setSelectedKey:r,selectedItem:l}}function Nt(e){let[t,r]=be(e.isOpen,e.defaultOpen||false,e.onOpenChange),o=useCallback(()=>{r(true);},[r]),n=useCallback(()=>{r(false);},[r]),i=useCallback(()=>{r(!t);},[r,t]);return {isOpen:t,setOpen:r,open:o,close:n,toggle:i}}function xa(e){let{defaultFilter:t,menuTrigger:r="input",allowsEmptyCollection:o=false,allowsCustomValue:n,shouldCloseOnBlur:i=true}=e,[a,l]=useState(false),[s,u]=useState(false),[c,d]=useState(null),m=Pe=>{e.onSelectionChange&&e.onSelectionChange(Pe),Pe===b&&($(),F());},{collection:p,selectionManager:y,selectedKey:b,setSelectedKey:f,selectedItem:h,disabledKeys:v}=va({...e,onSelectionChange:m,items:e.items??e.defaultItems}),[g,x]=be(e.inputValue,pS(e.defaultInputValue,b,p)||"",e.onInputChange),[T]=useState(b),[P]=useState(g),S=p,E=useMemo(()=>e.items!=null||!t?p:UV(p,g,t),[p,g,t,e.items]),[D,I]=useState(E),C=useRef("focus"),z=Nt({...e,onOpenChange:Pe=>{e.onOpenChange&&e.onOpenChange(Pe,Pe?C.current:void 0),y.setFocused(Pe),Pe||y.setFocusedKey(null);},isOpen:void 0,defaultOpen:void 0}),w=(Pe=null,Te)=>{let Qe=Te==="manual"||Te==="focus"&&r==="focus";(o||E.size>0||Qe&&S.size>0||e.items)&&(Qe&&!z.isOpen&&e.items===void 0&&l(true),C.current=Te,d(Pe),z.open());},O=(Pe=null,Te)=>{let Qe=Te==="manual"||Te==="focus"&&r==="focus";!(o||E.size>0||Qe&&S.size>0||e.items)&&!z.isOpen||(Qe&&!z.isOpen&&e.items===void 0&&l(true),z.isOpen||(C.current=Te),M(Pe));},k=useCallback(()=>{I(a?S:E);},[a,S,E]),M=useCallback((Pe=null)=>{z.isOpen&&k(),d(Pe),z.toggle();},[z,k]),F=useCallback(()=>{z.isOpen&&(k(),z.close());},[z,k]),[K,N]=useState(g),$=()=>{let Pe=b!=null?p.getItem(b)?.textValue??"":"";N(Pe),x(Pe);},A=useRef(e.selectedKey??e.defaultSelectedKey??null),B=useRef(b!=null?p.getItem(b)?.textValue??"":"");useEffect(()=>{s&&(E.size>0||o)&&!z.isOpen&&g!==K&&r!=="manual"&&w(null,"input"),!a&&!o&&z.isOpen&&E.size===0&&F(),b!=null&&b!==A.current&&F(),g!==K&&(y.setFocusedKey(null),l(false),g===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&f(null)),b!==A.current&&(e.inputValue===void 0||e.selectedKey===void 0)?$():K!==g&&N(g);let Pe=b!=null?p.getItem(b)?.textValue??"":"";!s&&b!=null&&e.inputValue===void 0&&b===A.current&&B.current!==Pe&&(N(Pe),x(Pe)),A.current=b,B.current=Pe;});let U=Et({...e,value:useMemo(()=>({inputValue:g,selectedKey:b}),[g,b])}),oe=()=>{n&&b==null?G():W();},G=()=>{A.current=null,f(null),F();},W=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){e.onSelectionChange?.(b);let Pe=b!=null?p.getItem(b)?.textValue??"":"";N(Pe),F();}else $(),F();},ne=()=>{if(n){let Pe=b!=null?p.getItem(b)?.textValue??"":"";g===Pe?W():G();}else W();},Q=()=>{z.isOpen&&y.focusedKey!=null?b===y.focusedKey?W():f(y.focusedKey):ne();},de=useRef(g),he=Pe=>{Pe?(de.current=g,r==="focus"&&!e.isReadOnly&&w(null,"focus")):(i&&ne(),g!==de.current&&U.commitValidation()),u(Pe);},Ae=useMemo(()=>z.isOpen?a?S:E:D,[z.isOpen,S,E,a,D]),it=e.defaultSelectedKey??T;return {...U,...z,focusStrategy:c,toggle:O,open:w,close:ne,selectionManager:y,selectedKey:b,defaultSelectedKey:it,setSelectedKey:f,disabledKeys:v,isFocused:s,setFocused:he,selectedItem:h,collection:Ae,inputValue:g,defaultInputValue:pS(e.defaultInputValue,it,p)??P,setInputValue:x,commit:Q,revert:oe}}function UV(e,t,r){return new on(mS(e,e,t,r))}function mS(e,t,r,o){let n=[];for(let i of t)if(i.type==="section"&&i.hasChildNodes){let a=mS(e,Ee(i,e),r,o);[...a].some(l=>l.type==="item")&&n.push({...i,childNodes:a});}else i.type==="item"&&o(i.textValue,r)?n.push({...i}):i.type!=="item"&&n.push({...i});return n}function pS(e,t,r){return e==null&&t!=null?r.getItem(t)?.textValue??"":e}var fS={"ar-AE":{rangeOverflow:e=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${e.maxValue} \u0623\u0648 \u0642\u0628\u0644 \u0630\u0644\u0643.`,rangeReversed:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0642\u0628\u0644 \u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621.",rangeUnderflow:e=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${e.minValue} \u0623\u0648 \u0628\u0639\u062F \u0630\u0644\u0643.`,unavailableDate:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629."},"bg-BG":{rangeOverflow:e=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${e.maxValue} \u0438\u043B\u0438 \u043F\u043E-\u0440\u0430\u043D\u043D\u0430.`,rangeReversed:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043F\u0440\u0435\u0434\u0438 \u043A\u0440\u0430\u0439\u043D\u0430\u0442\u0430.",rangeUnderflow:e=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${e.minValue} \u0438\u043B\u0438 \u043F\u043E-\u043A\u044A\u0441\u043D\u043E.`,unavailableDate:"\u0418\u0437\u0431\u0440\u0430\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u043D\u0430."},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xED b\xFDt ${e.maxValue} nebo d\u0159\xEDv\u011Bj\u0161\xED.`,rangeReversed:"Datum zah\xE1jen\xED mus\xED p\u0159edch\xE1zet datu ukon\u010Den\xED.",rangeUnderflow:e=>`Hodnota mus\xED b\xFDt ${e.minValue} nebo pozd\u011Bj\u0161\xED.`,unavailableDate:"Vybran\xE9 datum nen\xED k dispozici."},"da-DK":{rangeOverflow:e=>`V\xE6rdien skal v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xE6re f\xF8r slutdatoen.",rangeUnderflow:e=>`V\xE6rdien skal v\xE6re ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xE6ngelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xFCher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xE4ter sein.`,unavailableDate:"Das ausgew\xE4hlte Datum ist nicht verf\xFCgbar."},"el-GR":{rangeOverflow:e=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${e.maxValue} \u03AE \u03C0\u03B1\u03BB\u03B1\u03B9\u03CC\u03C4\u03B5\u03C1\u03B7.`,rangeReversed:"\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2.",rangeUnderflow:e=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${e.minValue} \u03AE \u03BC\u03B5\u03C4\u03B1\u03B3\u03B5\u03BD\u03AD\u03C3\u03C4\u03B5\u03C1\u03B7.`,unavailableDate:"\u0397 \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xF3n.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xE4\xE4rtus peab olema ${e.maxValue} v\xF5i varasem.`,rangeReversed:"Alguskuup\xE4ev peab olema enne l\xF5ppkuup\xE4eva.",rangeUnderflow:e=>`V\xE4\xE4rtus peab olema ${e.minValue} v\xF5i hilisem.`,unavailableDate:"Valitud kuup\xE4ev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xE4 aikaisempi.`,rangeReversed:"Aloitusp\xE4iv\xE4n on oltava ennen lopetusp\xE4iv\xE4\xE4.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xE4 my\xF6h\xE4isempi.`,unavailableDate:"Valittu p\xE4iv\xE4m\xE4\xE4r\xE4 ei ole k\xE4ytett\xE4viss\xE4."},"fr-FR":{rangeOverflow:e=>`La valeur doit \xEAtre ${e.maxValue} ou ant\xE9rieure.`,rangeReversed:"La date de d\xE9but doit \xEAtre ant\xE9rieure \xE0 la date de fin.",rangeUnderflow:e=>`La valeur doit \xEAtre ${e.minValue} ou ult\xE9rieure.`,unavailableDate:"La date s\xE9lectionn\xE9e n\u2019est pas disponible."},"he-IL":{rangeOverflow:e=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${e.maxValue} \u05D0\u05D5 \u05DE\u05D5\u05E7\u05D3\u05DD \u05D9\u05D5\u05EA\u05E8.`,rangeReversed:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05D4\u05EA\u05D7\u05DC\u05D4 \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05E0\u05D9 \u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E1\u05D9\u05D5\u05DD.",rangeUnderflow:e=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${e.minValue} \u05D0\u05D5 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.`,unavailableDate:"\u05D4\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E0\u05D1\u05D7\u05E8 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum po\u010Detka mora biti prije datuma zavr\u0161etka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xE9rt\xE9knek ${e.maxValue} vagy kor\xE1bbinak kell lennie.`,rangeReversed:"A kezd\u0151 d\xE1tumnak a befejez\u0151 d\xE1tumn\xE1l kor\xE1bbinak kell lennie.",rangeUnderflow:e=>`Az \xE9rt\xE9knek ${e.minValue} vagy k\xE9s\u0151bbinek kell lennie.`,unavailableDate:"A kiv\xE1lasztott d\xE1tum nem \xE9rhet\u0151 el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`\u5024\u306F ${e.maxValue} \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u306F\u7D42\u4E86\u65E5\u3088\u308A\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",rangeUnderflow:e=>`\u5024\u306F ${e.minValue} \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,unavailableDate:"\u9078\u629E\u3057\u305F\u65E5\u4ED8\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002"},"ko-KR":{rangeOverflow:e=>`\uAC12\uC740 ${e.maxValue} \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,rangeReversed:"\uC2DC\uC791\uC77C\uC740 \uC885\uB8CC\uC77C \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.",rangeUnderflow:e=>`\uAC12\uC740 ${e.minValue} \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,unavailableDate:"\uC120\uD0DD\uD55C \uB0A0\uC9DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},"lt-LT":{rangeOverflow:e=>`Reik\u0161m\u0117 turi b\u016Bti ${e.maxValue} arba ankstesn\u0117.`,rangeReversed:"Prad\u017Eios data turi b\u016Bti ankstesn\u0117 nei pabaigos data.",rangeUnderflow:e=>`Reik\u0161m\u0117 turi b\u016Bti ${e.minValue} arba naujesn\u0117.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${e.maxValue} vai agr\u0101kai.`,rangeReversed:"S\u0101kuma datumam ir j\u0101b\u016Bt pirms beigu datuma.",rangeUnderflow:e=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${e.minValue} vai v\u0113l\u0101kai.`,unavailableDate:"Atlas\u012Btais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien m\xE5 v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xE5 v\xE6re f\xF8r sluttdatoen.",rangeUnderflow:e=>`Verdien m\xE5 v\xE6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${e.maxValue} lub wcze\u015Bniejsz\u0105.`,rangeReversed:"Data rozpocz\u0119cia musi by\u0107 wcze\u015Bniejsza ni\u017C data zako\u0144czenia.",rangeUnderflow:e=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${e.minValue} lub p\xF3\u017Aniejsz\u0105.`,unavailableDate:"Wybrana data jest niedost\u0119pna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xE0 data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de in\xEDcio deve ser anterior \xE0 data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie s\u0103 fie ${e.maxValue} sau anterioar\u0103.`,rangeReversed:"Data de \xEEnceput trebuie s\u0103 fie anterioar\u0103 datei de sf\xE2r\u0219it.",rangeUnderflow:e=>`Valoarea trebuie s\u0103 fie ${e.minValue} sau ulterioar\u0103.`,unavailableDate:"Data selectat\u0103 nu este disponibil\u0103."},"ru-RU":{rangeOverflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u043E\u0437\u0436\u0435 ${e.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u043F\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0435 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F.",rangeUnderflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u0440\u0430\u043D\u044C\u0448\u0435 ${e.minValue}.`,unavailableDate:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xED by\u0165 ${e.maxValue} alebo skor\u0161ia.`,rangeReversed:"D\xE1tum za\u010Diatku mus\xED by\u0165 skor\u0161\xED ako d\xE1tum konca.",rangeUnderflow:e=>`Hodnota mus\xED by\u0165 ${e.minValue} alebo neskor\u0161ia.`,unavailableDate:"Vybrat\xFD d\xE1tum je nedostupn\xFD."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u0161a.`,rangeReversed:"Za\u010Detni datum mora biti pred kon\u010Dnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u0161a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum po\u010Detka mora biti pre datuma zavr\u0161etka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xE4rdet m\xE5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xE5ste vara f\xF6re slutdatumet.",rangeUnderflow:e=>`V\xE4rdet m\xE5ste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet \xE4r inte tillg\xE4ngligt."},"tr-TR":{rangeOverflow:e=>`De\u011Fer, ${e.maxValue} veya \xF6ncesi olmal\u0131d\u0131r.`,rangeReversed:"Ba\u015Flang\u0131\xE7 tarihi biti\u015F tarihinden \xF6nce olmal\u0131d\u0131r.",rangeUnderflow:e=>`De\u011Fer, ${e.minValue} veya sonras\u0131 olmal\u0131d\u0131r.`,unavailableDate:"Se\xE7ilen tarih kullan\u0131lam\u0131yor."},"uk-UA":{rangeOverflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435 ${e.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043C\u0430\u0454 \u043F\u0435\u0440\u0435\u0434\u0443\u0432\u0430\u0442\u0438 \u0434\u0430\u0442\u0456 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F.",rangeUnderflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u0440\u0430\u043D\u0456\u0448\u0435 ${e.minValue}.`,unavailableDate:"\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."},"zh-CN":{rangeOverflow:e=>`\u503C\u5FC5\u987B\u662F ${e.maxValue} \u6216\u66F4\u65E9\u65E5\u671F\u3002`,rangeReversed:"\u5F00\u59CB\u65E5\u671F\u5FC5\u987B\u65E9\u4E8E\u7ED3\u675F\u65E5\u671F\u3002",rangeUnderflow:e=>`\u503C\u5FC5\u987B\u662F ${e.minValue} \u6216\u66F4\u665A\u65E5\u671F\u3002`,unavailableDate:"\u6240\u9009\u65E5\u671F\u4E0D\u53EF\u7528\u3002"},"zh-TW":{rangeOverflow:e=>`\u503C\u5FC5\u9808\u662F ${e.maxValue} \u6216\u66F4\u65E9\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u671F\u5FC5\u9808\u5728\u7D50\u675F\u65E5\u671F\u4E4B\u524D\u3002",rangeUnderflow:e=>`\u503C\u5FC5\u9808\u662F ${e.minValue} \u6216\u66F4\u665A\u3002`,unavailableDate:"\u6240\u9078\u65E5\u671F\u7121\u6CD5\u4F7F\u7528\u3002"}};var QV=new At(fS);function eB(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e]);}catch{e="en-US";}return e}function bS(e,t,r,o,n){let i=e!=null&&r!=null&&e.compare(r)>0,a=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&o?.(e)||false,s=i||a||l,u=[];if(s){let c=eB(),d=At.getGlobalDictionaryForPackage("@react-stately/datepicker")||QV,m=new po(c,d),p=new DateFormatter(c,Vs({},n)),y=p.resolvedOptions().timeZone;a&&t!=null&&u.push(m.format("rangeUnderflow",{minValue:p.format(t.toDate(y))})),i&&r!=null&&u.push(m.format("rangeOverflow",{maxValue:p.format(r.toDate(y))})),l&&u.push(m.format("unavailableDate"));}return {isInvalid:s,validationErrors:u,validationDetails:{badInput:l,customError:false,patternMismatch:false,rangeOverflow:i,rangeUnderflow:a,stepMismatch:false,tooLong:false,tooShort:false,typeMismatch:false,valueMissing:false,valid:!s}}}var tB={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},rB={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Vs(e,t){e={...t.shouldForceLeadingZeros?rB:tB,...e};let o=t.granularity||"minute",n=Object.keys(e),i=n.indexOf(t.maxGranularity??"year");i<0&&(i=0);let a=n.indexOf(o);if(a<0&&(a=2),i>a)throw new Error("maxGranularity must be greater than granularity");let l=n.slice(i,a+1).reduce((u,c)=>(u[c]=e[c],u),{});return t.hourCycle!=null&&(l.hour12=t.hourCycle===12),l.timeZone=t.timeZone||"UTC",(o==="hour"||o==="minute"||o==="second")&&t.timeZone&&!t.hideTimeZone&&(l.timeZoneName="short"),t.showEra&&i===0&&(l.era="short"),l}function eg(e,t){if(e===null)return null;if(e)return toCalendar(e,t)}function Ta(e,t,r,o){if(e)return eg(e,r);let n=toCalendar(now(o??getLocalTimeZone()).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?toCalendarDate(n):o?n:toCalendarDateTime(n)}function gS(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,o=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[n,i]=useState([o,r]);e&&(n[0]!==o||n[1]!==r)&&i([o,r]),t||(t=e?o:n[0]);let a=e?r:n[1];return [t,a]}var oB=new At({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"\u12D3\u12D3\u12D3\u12D3",month:"\u121A\u121C",day:"\u1240\u1240"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",day:"\u064A\u0648\u0645"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bg:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bn:{year:"yyyy",month:"\u09AE\u09BF\u09AE\u09BF",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",day:"\u0695\u06C6\u0698"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"\u017A\u017A"},el:{year:"\u03B5\u03B5\u03B5\u03B5",month:"\u03BC\u03BC",day:"\u03B7\u03B7"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",day:"\u0631\u0648\u0632"},ff:{year:"hhhh",month:"ll",day:"\xF1\xF1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",day:"\u05D9\u05D5\u05DD"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xE9\xE9\xE9\xE9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"\u5E74",month:"\u6708",day:"\u65E5"},ka:{year:"\u10EC\u10EC\u10EC\u10EC",month:"\u10D7\u10D7",day:"\u10E0\u10E0"},kk:{year:"\u0436\u0436\u0436\u0436",month:"\u0430\u0430",day:"\u043A\u043A"},kn:{year:"\u0CB5\u0CB5\u0CB5\u0CB5",month:"\u0CAE\u0CBF\u0CAE\u0CC0",day:"\u0CA6\u0CBF\u0CA6\u0CBF"},ko:{year:"\uC5F0\uB3C4",month:"\uC6D4",day:"\uC77C"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"\u0E9B\u0E9B\u0E9B\u0E9B",month:"\u0E94\u0E94",day:"\u0EA7\u0EA7"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"\u0D35\u0D7C\u0D37\u0D02",month:"\u0D2E\u0D3E\u0D38\u0D02",day:"\u0D24\u0D40\u0D2F\u0D24\u0D3F"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},no:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sv:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"\u0441\u0441\u0441\u0441",month:"\u043C\u043C",day:"\u0440\u0440"},th:{year:"\u0E1B\u0E1B\u0E1B\u0E1B",month:"\u0E14\u0E14",day:"\u0E27\u0E27"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"\u0440\u0440\u0440\u0440",month:"\u043C\u043C",day:"\u0434\u0434"},"zh-CN":{year:"\u5E74",month:"\u6708",day:"\u65E5"},"zh-TW":{year:"\u5E74",month:"\u6708",day:"\u65E5"}},"en");function hS(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?oB.getStringForLocale(e,r):"\u2013\u2013"}var Wd={year:true,month:true,day:true,hour:true,minute:true,second:true,dayPeriod:true,era:true},TS={year:5,month:2,day:7,hour:2,minute:15,second:15},PS={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function Pa(e){let{locale:t,createCalendar:r,hideTimeZone:o,isDisabled:n=false,isReadOnly:i=false,isRequired:a=false,minValue:l,maxValue:s,isDateUnavailable:u}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[d,m]=gS(c,e.granularity),p=m||"UTC";if(c&&!(d in c))throw new Error("Invalid granularity "+d+" for value "+c.toString());let y=useMemo(()=>new DateFormatter(t),[t]),b=useMemo(()=>r(y.resolvedOptions().calendar),[r,y]),[f,h]=be(e.value,e.defaultValue??null,e.onChange),[v]=useState(f),g=useMemo(()=>eg(f,b)??null,[f,b]),[x,T]=useState(()=>Ta(e.placeholderValue,d,b,m)),P=g||x,S=b.identifier==="gregory"&&P.era==="BC",E=useMemo(()=>({granularity:d,maxGranularity:e.maxGranularity??"year",timeZone:m,hideTimeZone:o,hourCycle:e.hourCycle,showEra:S,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,m,o,S]),D=useMemo(()=>Vs({},E),[E]),I=useMemo(()=>new DateFormatter(t,D),[t,D]),C=useMemo(()=>I.resolvedOptions(),[I]),_=useMemo(()=>I.formatToParts(new Date).filter(W=>Wd[W.type]).reduce((W,ne)=>(W[PS[ne.type]||ne.type]=true,W),{}),[I]),[z,w]=useState(()=>e.value||e.defaultValue?{..._}:{}),O=useRef(null),k=useRef(b);useEffect(()=>{isEqualCalendar(b,k.current)||(k.current=b,T(W=>Object.keys(z).length>0?toCalendar(W,b):Ta(e.placeholderValue,d,b,m)));},[b,d,z,m,e.placeholderValue]),f&&Object.keys(z).length<Object.keys(_).length&&(z={..._},w(z)),f==null&&Object.keys(z).length===Object.keys(_).length&&(z={},w(z),T(Ta(e.placeholderValue,d,b,m)));let M=g&&Object.keys(z).length>=Object.keys(_).length?g:x,F=W=>{if(e.isDisabled||e.isReadOnly)return;let ne=Object.keys(z),Q=Object.keys(_);W==null?(h(null),T(Ta(e.placeholderValue,d,b,m)),w({})):ne.length===0&&O.current==null||ne.length>=Q.length||ne.length===Q.length-1&&_.dayPeriod&&!z.dayPeriod&&O.current!=="dayPeriod"?(ne.length===0&&(z={..._},w(z)),W=toCalendar(W,c?.calendar||new GregorianCalendar),h(W)):T(W),O.current=null;},K=useMemo(()=>M.toDate(p),[M,p]),N=useMemo(()=>uB(K,z,I,C,M,b,t,d),[K,z,I,C,M,b,t,d]);_.era&&z.year&&!z.era?(z.era=true,w({...z})):!_.era&&z.era&&(delete z.era,w({...z}));let $=W=>{z[W]=true,W==="year"&&_.era&&(z.era=true),w({...z});},A=(W,ne)=>{if(z[W])F(cB(M,W,ne,C));else {$(W);let Q=Object.keys(z),de=Object.keys(_);(Q.length>=de.length||Q.length===de.length-1&&_.dayPeriod&&!z.dayPeriod)&&F(M);}},B=useMemo(()=>bS(f,l,s,u,E),[f,l,s,u,E]),U=Et({...e,value:f,builtinValidation:B}),oe=U.displayValidation.isInvalid,G=e.validationState||(oe?"invalid":null);return {...U,value:g,defaultValue:e.defaultValue??v,dateValue:K,calendar:b,setValue:F,segments:N,dateFormatter:I,validationState:G,isInvalid:oe,granularity:d,maxGranularity:e.maxGranularity??"year",isDisabled:n,isReadOnly:i,isRequired:a,increment(W){A(W,1);},decrement(W){A(W,-1);},incrementPage(W){A(W,TS[W]||1);},decrementPage(W){A(W,-(TS[W]||1));},setSegment(W,ne){$(W),F(dB(M,W,ne,C));},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let W=Object.keys(z),ne=Object.keys(_);W.length===ne.length-1&&_.dayPeriod&&!z.dayPeriod&&(z={..._},w(z),F(M.copy()));},clearSegment(W){delete z[W],O.current=W,w({...z});let ne=Ta(e.placeholderValue,d,b,m),Q=M;if(W==="dayPeriod"&&"hour"in M&&"hour"in ne){let de=M.hour>=12,he=ne.hour>=12;de&&!he?Q=M.set({hour:M.hour-12}):!de&&he&&(Q=M.set({hour:M.hour+12}));}else W==="hour"&&"hour"in M&&M.hour>=12&&z.dayPeriod?Q=M.set({hour:ne.hour+12}):W in M&&(Q=M.set({[W]:ne[W]}));h(null),F(Q);},formatValue(W){if(!g)return "";let ne=Vs(W,E);return new DateFormatter(t,ne).format(K)},getDateFormatter(W,ne){let Q={...E,...ne},de=Vs({},Q);return new DateFormatter(W,de)}}}function uB(e,t,r,o,n,i,a,l){let s=["hour","minute","second"],u=r.formatToParts(e),c=[];for(let d of u){let m=PS[d.type]||d.type,p=Wd[m];m==="era"&&i.getEras().length===1&&(p=false);let y=Wd[m]&&!t[m],b=Wd[m]?hS(m,d.value,a):null,f={type:m,text:y?b:d.value,...Ud(n,m,o),isPlaceholder:y,placeholder:b,isEditable:p};m==="hour"?(c.push({type:"literal",text:"\u2066",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false}),c.push(f),m===l&&c.push({type:"literal",text:"\u2069",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false})):s.includes(m)&&m===l?(c.push(f),c.push({type:"literal",text:"\u2069",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false})):c.push(f);}return c}function Ud(e,t,r){switch(t){case "era":{let o=e.calendar.getEras();return {value:o.indexOf(e.era),minValue:0,maxValue:o.length-1}}case "year":return {value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case "month":return {value:e.month,minValue:getMinimumMonthInYear(e),maxValue:e.calendar.getMonthsInYear(e)};case "day":return {value:e.day,minValue:getMinimumDayInMonth(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case "dayPeriod":return {value:e.hour>=12?12:0,minValue:0,maxValue:12};case "hour":if(r.hour12){let o=e.hour>=12;return {value:e.hour,minValue:o?12:0,maxValue:o?23:11}}return {value:e.hour,minValue:0,maxValue:23};case "minute":return {value:e.minute,minValue:0,maxValue:59};case "second":return {value:e.second,minValue:0,maxValue:59}}return {}}function cB(e,t,r,o){switch(t){case "era":case "year":case "month":case "day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case "dayPeriod":{let n=e.hour,i=n>=12;return e.set({hour:i?n-12:n+12})}case "hour":case "minute":case "second":return e.cycle(t,r,{round:t!=="hour",hourCycle:o.hour12?12:24})}throw new Error("Unknown segment: "+t)}function dB(e,t,r,o){switch(t){case "day":case "month":case "year":case "era":return e.set({[t]:r})}if("hour"in e&&typeof r=="number")switch(t){case "dayPeriod":{let n=e.hour,i=n>=12;return r>=12===i?e:e.set({hour:i?n-12:n+12})}case "hour":if(o.hour12){let i=e.hour>=12;!i&&r===12&&(r=0),i&&r<12&&(r+=12);}case "minute":case "second":return e.set({[t]:r})}throw new Error("Unknown segment: "+t)}function qd(e){let{placeholderValue:t=new Time,minValue:r,maxValue:o,defaultValue:n,granularity:i,validate:a}=e,[l,s]=be(e.value,n??null,e.onChange),u=l||t,c=u&&"day"in u?u:void 0,d=n&&"timeZone"in n?n.timeZone:void 0,m=useMemo(()=>{let x=u&&"timeZone"in u?u.timeZone:void 0;return (x||d)&&t?toZoned(Sa(t),x||d):Sa(t)},[t,u,d]),p=useMemo(()=>Sa(r,c),[r,c]),y=useMemo(()=>Sa(o,c),[o,c]),b=useMemo(()=>l&&"day"in l?toTime(l):l,[l]),f=useMemo(()=>l==null?null:Sa(l),[l]),h=useMemo(()=>n==null?null:Sa(n),[n]);return {...Pa({...e,value:f,defaultValue:h,minValue:p,maxValue:y,onChange:x=>{s(c||d?x:x&&toTime(x));},granularity:i||"minute",maxGranularity:"hour",placeholderValue:m??void 0,createCalendar:()=>new GregorianCalendar,validate:useCallback(()=>a?.(l),[a,l])}),timeValue:b}}function Sa(e,t=today(getLocalTimeZone())){return e?"day"in e?e:toCalendarDateTime(t,e):null}function Da(e){let{getItems:t,isDisabled:r,collection:o,selectionManager:n,onDragStart:i,onDragMove:a,onDragEnd:l,preview:s,getAllowedDropOperations:u}=e,[,c]=useState(false),d=useRef(new Set),m=useRef(null),p=y=>{let b=new Set;if(n.isSelected(y))for(let f of n.selectedKeys){let h=o.getItem(f);if(h){let v=false,g=h.parentKey;for(;g!=null;){if(n.selectedKeys.has(g)){v=true;break}let x=o.getItem(g);g=x?x.parentKey:null;}v||b.add(f);}}else b.add(y);return b};return {collection:o,selectionManager:n,get draggedKey(){return m.current},get draggingKeys(){return d.current},isDragging(y){return d.current.has(y)},getKeysForDrag:p,getItems(y){let b=p(y),f=[];for(let h of b){let v=o.getItem(h)?.value;v!=null&&f.push(v);}return t(p(y),f)},isDisabled:r,preview:s,getAllowedDropOperations:u,startDrag(y,b){let f=p(y);d.current=f,m.current=y,n.setFocused(false),c(true),typeof i=="function"&&i({...b,keys:f});},moveDrag(y){typeof a=="function"&&a({...y,keys:d.current});},endDrag(y){let{isInternal:b}=y;typeof l=="function"&&l({...y,keys:d.current,isInternal:b}),d.current=new Set,m.current=null,c(false);}}}function ka(e){let{acceptedDragTypes:t="all",isDisabled:r,onInsert:o,onRootDrop:n,onItemDrop:i,onReorder:a,onMove:l,shouldAcceptItemDrop:s,collection:u,selectionManager:c,onDropEnter:d,getDropOperation:m,onDrop:p}=e,[y,b]=useState(null),f=useRef(null),h=g=>{if(g.dropPosition==="before"){let x=u.getItem(g.key);return x&&x.prevKey!=null?{type:"item",key:x.prevKey,dropPosition:"after"}:null}else if(g.dropPosition==="after"){let x=u.getItem(g.key);return x&&x.nextKey!=null?{type:"item",key:x.nextKey,dropPosition:"before"}:null}return null},v=useCallback(g=>{let{target:x,types:T,allowedOperations:P,isInternal:S,draggingKeys:E}=g;if(r||!x)return "cancel";if(t==="all"||t.some(D=>T.has(D))){let D=o&&x.type==="item"&&!S&&(x.dropPosition==="before"||x.dropPosition==="after"),I=a&&x.type==="item"&&S&&(x.dropPosition==="before"||x.dropPosition==="after")&&CB(u,x,E),C=x.type!=="item"||x.dropPosition!=="on"||!s||s(x,T),_=l&&x.type==="item"&&S&&C,z=n&&x.type==="root"&&!S,w=i&&x.type==="item"&&x.dropPosition==="on"&&!(S&&x.key!=null&&E.has(x.key))&&C;if(p||D||I||_||z||w)return m?m(x,T,P):P[0]}return "cancel"},[r,u,t,m,o,n,i,s,a,l,p]);return {collection:u,selectionManager:c,isDisabled:r,target:y,setTarget(g){if(this.isDropTarget(g))return;let x=f.current;x&&typeof e.onDropExit=="function"&&e.onDropExit({type:"dropexit",x:0,y:0,target:x}),g&&typeof d=="function"&&d({type:"dropenter",x:0,y:0,target:g}),f.current=g??null,b(g??null);},isDropTarget(g){let x=f.current;return !x||!g?false:rg(g,x)?true:g?.type==="item"&&x?.type==="item"&&g.key!==x.key&&g.dropPosition!==x.dropPosition&&g.dropPosition!=="on"&&x.dropPosition!=="on"?rg(h(g),x)||rg(g,h(x)):false},getDropOperation(g){return v(g)}}}function rg(e,t){if(!e)return !t;switch(e.type){case "root":return t?.type==="root";case "item":return t?.type==="item"&&t?.key===e.key&&t?.dropPosition===e.dropPosition}}function CB(e,t,r){let o=e.getItem(t.key);for(let n of r)if(e.getItem(n)?.parentKey!==o?.parentKey)return false;return true}function $s(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:o=u=>u.id??u.key,filter:n,initialFilterText:i=""}=e,[a,l]=useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:i}),s=useMemo(()=>n?a.items.filter(u=>n(u,a.filterText)):a.items,[a.items,a.filterText,n]);return {...a,items:s,...kB({getKey:o},l),getItem(u){return a.items.find(c=>o(c)===u)}}}function kB(e,t){let{cursor:r,getKey:o}=e;return {setSelectedKeys(n){t(i=>({...i,selectedKeys:n}));},addKeysToSelection(n){t(i=>i.selectedKeys==="all"?i:n==="all"?{...i,selectedKeys:"all"}:{...i,selectedKeys:new Set([...i.selectedKeys,...n])});},removeKeysFromSelection(n){t(i=>{if(n==="all")return {...i,selectedKeys:new Set};let a=i.selectedKeys==="all"?new Set(i.items.map(o)):new Set(i.selectedKeys);for(let l of n)a.delete(l);return {...i,selectedKeys:a}});},setFilterText(n){t(i=>({...i,filterText:n}));},insert(n,...i){t(a=>Bs(a,n,...i));},insertBefore(n,...i){t(a=>{let l=a.items.findIndex(s=>o?.(s)===n);if(l===-1)if(a.items.length===0)l=0;else return a;return Bs(a,l,...i)});},insertAfter(n,...i){t(a=>{let l=a.items.findIndex(s=>o?.(s)===n);if(l===-1)if(a.items.length===0)l=0;else return a;return Bs(a,l+1,...i)});},prepend(...n){t(i=>Bs(i,0,...n));},append(...n){t(i=>Bs(i,i.items.length,...n));},remove(...n){t(i=>{let a=new Set(n),l=i.items.filter(u=>!a.has(o(u))),s="all";if(i.selectedKeys!=="all"){s=new Set(i.selectedKeys);for(let u of n)s.delete(u);}return r==null&&l.length===0&&(s=new Set),{...i,items:l,selectedKeys:s}});},removeSelectedItems(){t(n=>{if(n.selectedKeys==="all")return {...n,items:[],selectedKeys:new Set};let i=n.selectedKeys,a=n.items.filter(l=>!i.has(o(l)));return {...n,items:a,selectedKeys:new Set}});},move(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let s=a.items.slice(),[u]=s.splice(l,1);return s.splice(i,0,u),{...a,items:s}});},moveBefore(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let u=(Array.isArray(i)?i:[...i]).map(c=>a.items.findIndex(d=>o(d)===c)).sort((c,d)=>c-d);return DS(a,u,l)});},moveAfter(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let u=(Array.isArray(i)?i:[...i]).map(c=>a.items.findIndex(d=>o(d)===c)).sort((c,d)=>c-d);return DS(a,u,l+1)});},update(n,i){t(a=>{let l=a.items.findIndex(s=>o(s)===n);return l===-1?a:{...a,items:[...a.items.slice(0,l),i,...a.items.slice(l+1)]}});}}}function Bs(e,t,...r){return {...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function DS(e,t,r){r-=t.filter(i=>i<r).length;let o=t.map(i=>({from:i,to:r++}));for(let i=0;i<o.length;i++){let a=o[i].from;for(let l=i;l<o.length;l++)o[l].from>a&&o[l].from--;}for(let i=0;i<o.length;i++){let a=o[i];for(let l=o.length-1;l>i;l--){let s=o[l];s.from<a.to?a.to++:s.from++;}}let n=e.items.slice();for(let i of o){let[a]=n.splice(i.from,1);n.splice(i.to,0,a);}return {...e,items:n}}function Xd(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:o=b=>b.id??b.key,getChildren:n=b=>b.children}=e,[i,a]=useState(()=>d(t,new Map)),{items:l,nodeMap:s}=i,[u,c]=useState(new Set(r||[]));function d(b=[],f,h){return b==null&&(b=[]),{items:b.map(v=>{let g={key:o(v),parentKey:h??null,value:v,children:null};return g.children=d(n(v),f,g.key).items,f.set(g.key,g),g}),nodeMap:f}}function m(b,f,h,v){let g=f==null?null:v.get(f);if(g==null)return {items:b,nodeMap:v};let x=new Map(v),T=h(g);for(T==null?y(g,x):p(T,x);g&&g.parentKey;){let P=x.get(g.parentKey),S={key:P.key,parentKey:P.parentKey,value:P.value,children:null},E=P.children;T==null&&E&&(E=E.filter(D=>D!==g)),S.children=E?.map(D=>D===g?T:D)??null,x.set(S.key,S),T=S,g=P;}return T==null&&(b=b.filter(P=>P!==g)),{items:b.map(P=>P===g?T:P),nodeMap:x}}function p(b,f){if(f.set(b.key,b),b.children)for(let h of b.children)p(h,f);}function y(b,f){if(f.delete(b.key),b.children)for(let h of b.children)y(h,f);}return {items:l,selectedKeys:u,setSelectedKeys:c,getItem(b){return s.get(b)},insert(b,f,...h){a(({items:v,nodeMap:g})=>{let{items:x,nodeMap:T}=d(h,g,b);return b==null?{items:[...v.slice(0,f),...x,...v.slice(f)],nodeMap:T}:m(v,b,P=>({key:P.key,parentKey:P.parentKey,value:P.value,children:[...P.children.slice(0,f),...x,...P.children.slice(f)]}),T)});},insertBefore(b,...f){let h=s.get(b);if(!h)return;let v=s.get(h.parentKey),x=(v?v.children:l).indexOf(h);this.insert(v?.key??null,x,...f);},insertAfter(b,...f){let h=s.get(b);if(!h)return;let v=s.get(h.parentKey),x=(v?v.children:l).indexOf(h);this.insert(v?.key??null,x+1,...f);},prepend(b,...f){this.insert(b,0,...f);},append(b,...f){if(b==null)this.insert(null,l.length,...f);else {let h=s.get(b);if(!h)return;this.insert(b,h.children.length,...f);}},remove(...b){if(b.length===0)return;let f=l,h=s,v;for(let x of b)v=m(f,x,()=>null,h),h=v.nodeMap,f=v.items;a(v);let g=new Set(u);for(let x of u)v.nodeMap.has(x)||g.delete(x);c(g);},removeSelectedItems(){this.remove(...u);},move(b,f,h){a(({items:v,nodeMap:g})=>{let x=g.get(b);if(!x)return {items:v,nodeMap:g};let{items:T,nodeMap:P}=m(v,b,()=>null,g),S={...x,parentKey:f};return f==null?(p(S,P),{items:[...T.slice(0,h),S,...T.slice(h)],nodeMap:P}):m(T,f,E=>({key:E.key,parentKey:E.parentKey,value:E.value,children:[...E.children.slice(0,h),S,...E.children.slice(h)]}),P)});},moveBefore(b,f){a(h=>{let{items:v,nodeMap:g}=h,x=g.get(b);if(!x)return h;let T=x.parentKey??null,P=null;T!=null&&(P=g.get(T)??null);let S=P?.children?P.children.indexOf(x):v.indexOf(x);return zS(h,f,P,S,m,p)});},moveAfter(b,f){a(h=>{let{items:v,nodeMap:g}=h,x=g.get(b);if(!x)return h;let T=x.parentKey??null,P=null;T!=null&&(P=g.get(T)??null);let S=P?.children?P.children.indexOf(x):v.indexOf(x);return S++,zS(h,f,P,S,m,p)});},update(b,f){a(({items:h,nodeMap:v})=>m(h,b,g=>{let x={key:g.key,parentKey:g.parentKey,value:f,children:null},T=d(n(f),v,x.key);return x.children=T.items,x},v));}}}function zS(e,t,r,o,n,i){let{items:a,nodeMap:l}=e,s=r,u=new Set(t);for(;s?.parentKey!=null;){if(u.has(s.key))throw new Error("Cannot move an item to be a child of itself.");s=l.get(s.parentKey)??null;}let c=o,d=Array.isArray(t)?t:[...t],m=new Map,p=[],y=a,b=l,f=0;function h(T,{inorder:P,postorder:S}){if(P?.(T),T!=null)for(let E of T.children??[])h(E,{inorder:P,postorder:S}),S?.(E);}function v(T){d.includes(T.key)&&m.set(T.key,f++);}function g(T){if(d.includes(T.key)){p.push({...b.get(T.key),parentKey:r?.key??null});let{items:P,nodeMap:S}=n(y,T.key,()=>null,b);y=P,b=S;}(T.parentKey===r||T.parentKey===r?.key)&&d.includes(T.key)&&(r?.children?r.children.indexOf(T):a.indexOf(T))<c&&o--;}h({children:a},{inorder:v,postorder:g});let x=p.sort((T,P)=>m.get(T.key)>m.get(P.key)?1:-1);return !r||r.key==null?(x.forEach(T=>{i(T,b);}),{items:[...y.slice(0,o),...x,...y.slice(o)],nodeMap:b}):n(y,r.key,T=>({key:T.key,parentKey:T.parentKey,value:T.value,children:[...T.children.slice(0,o),...x,...T.children.slice(o)]}),b)}function Yd(e){let t=Nt(e),[r,o]=useState(null),[n,i]=useState([]),a=()=>{i([]),t.close();};return {focusStrategy:r,...t,open(u=null){o(u),t.open();},toggle(u=null){o(u),t.toggle();},close(){a();},expandedKeysStack:n,openSubmenu:(u,c)=>{i(d=>c>d.length?d:[...d.slice(0,c),u]);},closeSubmenu:(u,c)=>{i(d=>d[c]===u?d.slice(0,c):d);}}}var EB=Math.round(Math.random()*1e10),wB=0;function Zd(e){let t=useMemo(()=>e.name||`radio-group-${EB}-${++wB}`,[e.name]),[r,o]=be(e.value,e.defaultValue??null,e.onChange),[n]=useState(r),[i,a]=useState(null),l=Et({...e,value:r}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(o(c),l.commitValidation());},u=l.displayValidation.isInvalid;return {...l,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?n:e.defaultValue??null,setSelectedValue:s,lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||false,isReadOnly:e.isReadOnly||false,isRequired:e.isRequired||false,validationState:e.validationState||(u?"invalid":null),isInvalid:u}}function Jd(e){let[t,r]=be(_S(e.value),_S(e.defaultValue)||"",e.onChange);return {value:t,setValue:r}}function _S(e){if(e!=null)return e.toString()}function za(e){let{selectionMode:t="single"}=e,r=Nt(e),[o,n]=useState(null),i=useMemo(()=>e.defaultValue!==void 0?e.defaultValue:t==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,t]),a=useMemo(()=>e.value!==void 0?e.value:t==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,t]),[l,s]=be(a,i,e.onChange),u=t==="single"&&Array.isArray(l)?l[0]:l,c=v=>{if(t==="single"){let g=Array.isArray(v)?v[0]??null:v;s(g),g!==u&&e.onSelectionChange?.(g);}else {let g=[];Array.isArray(v)?g=v:v!=null&&(g=[v]),s(g);}},d=xt({...e,selectionMode:t,disallowEmptySelection:t==="single",allowDuplicateSelectionEvents:true,selectedKeys:useMemo(()=>_B(u),[u]),onSelectionChange:v=>{if(v!=="all"){if(t==="single"){let g=v.values().next().value??null;c(g),r.close();}else c([...v]);y.commitValidation();}}}),m=d.selectionManager.firstSelectedKey,p=useMemo(()=>[...d.selectionManager.selectedKeys].map(v=>d.collection.getItem(v)).filter(v=>v!=null),[d.selectionManager.selectedKeys,d.collection]),y=Et({...e,value:Array.isArray(u)&&u.length===0?null:u}),[b,f]=useState(false),[h]=useState(u);return {...y,...d,...r,value:u,defaultValue:i??h,setValue:c,selectedKey:m,setSelectedKey:c,selectedItem:p[0]??null,selectedItems:p,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode==="single"?h:null),focusStrategy:o,open(v=null){d.collection.size!==0&&(n(v),r.open());},toggle(v=null){d.collection.size!==0&&(n(v),r.toggle());},isFocused:b,setFocused:f}}function _B(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function IB(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\d+)(?=%$)/)!==null)}function RB(e){if(!e||typeof e=="number")return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):(process.env.NODE_ENV!=="production"&&console.warn(`width: ${e} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function ng(e,t){if(typeof e=="string"){let r=e.match(/^(\d+)(?=%$)/);if(!r)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(r[0])/100)}return e}function ig(e,t){return e!=null?ng(e,t):Number.MAX_SAFE_INTEGER}function ag(e,t){return e!=null?ng(e,t):0}function IS(e,t,r,o,n){let i=false,a=t.map((l,s)=>{let u=r.get(l.key)!=null?r.get(l.key)??"1fr":l.width??l.defaultWidth??o?.(s)??"1fr",c=false,d=0,m=0,p=0;IB(u)?(d=ng(u,e),c=true):(m=RB(u),m<=0&&(c=true));let y=ag(l.minWidth??n?.(s)??0,e),b=ig(l.maxWidth,e),f=Math.max(y,Math.min(d,b));return c?p=f:d>f&&(c=true,p=f),c||(i=true),{frozen:c,baseSize:d,hypotheticalMainSize:f,min:y,max:b,flex:m,targetMainSize:p,violation:0}});for(;i;){let l=0,s=0;a.forEach(d=>{d.frozen?l+=d.targetMainSize:(l+=d.baseSize,s+=d.flex);});let u=e-l;u>0&&a.forEach(d=>{if(!d.frozen){let m=d.flex/s;d.targetMainSize=d.baseSize+m*u;}});let c=0;a.forEach(d=>{if(d.violation=0,!d.frozen){let{min:m,max:p,targetMainSize:y}=d;d.targetMainSize=Math.max(m,Math.min(y,p)),d.violation=d.targetMainSize-y,c+=d.violation;}}),i=false,a.forEach(d=>{c===0||Math.sign(c)===Math.sign(d.violation)?d.frozen=true:d.frozen||(i=true);});}return LB(a)}function LB(e){let t=0,r=0,o=[];return e.forEach(function(n){let i=n.targetMainSize,a=Math.round(i+t)-r;t+=i,r+=a,o.push(a);}),o}var ti=class{getDefaultWidth;getDefaultMinWidth;columnWidths=new Map;columnMinWidths=new Map;columnMaxWidths=new Map;constructor(t){this.getDefaultWidth=t?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=t?.getDefaultMinWidth??(()=>75);}splitColumnsIntoControlledAndUncontrolled(t){return t.reduce((r,o)=>(o.props.width!=null?r[0].set(o.key,o):r[1].set(o.key,o),r),[new Map,new Map])}recombineColumns(t,r,o,n){return new Map(t.map(i=>o.has(i.key)?[i.key,r.get(i.key)]:[i.key,n.get(i.key).props.width]))}getInitialUncontrolledWidths(t){return new Map(Array.from(t).map(([r,o])=>[r,o.props.defaultWidth??this.getDefaultWidth?.(o)??"1fr"]))}getColumnWidth(t){return this.columnWidths.get(t)??0}getColumnMinWidth(t){return this.columnMinWidths.get(t)??0}getColumnMaxWidth(t){return this.columnMaxWidths.get(t)??0}resizeColumnWidth(t,r,o,n){let i=this.columnWidths,a=true,l=new Map;return n=Math.max(this.getColumnMinWidth(o),Math.min(this.getColumnMaxWidth(o),Math.floor(n))),t.columns.forEach(s=>{s.key===o?(l.set(s.key,n),a=false):a?l.set(s.key,i.get(s.key)??0):l.set(s.key,s.props.width??r.get(s.key));}),l}buildColumnWidths(t,r,o){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,IS(t,r.columns.map(i=>({...i.props,key:i.key})),o,i=>this.getDefaultWidth(r.columns[i]),i=>this.getDefaultMinWidth(r.columns[i])).forEach((i,a)=>{let l=r.columns[a].key,s=r.columns[a];this.columnWidths.set(l,i),this.columnMinWidths.set(l,ag(s.props.minWidth??this.getDefaultMinWidth(s),t)),this.columnMaxWidths.set(l,ig(s.props.maxWidth,t));}),this.columnWidths}};function ep(e,t){let{getDefaultWidth:r,getDefaultMinWidth:o,tableWidth:n=0}=e,[i,a]=useState(null),l=useMemo(()=>new ti({getDefaultWidth:r,getDefaultMinWidth:o}),[r,o]),[s,u]=useMemo(()=>l.splitColumnsIntoControlledAndUncontrolled(t.collection.columns),[t.collection.columns,l]),[c,d]=useState(()=>l.getInitialUncontrolledWidths(u)),[m,p]=useState(t.collection.columns);if(t.collection.columns!==m){if(t.collection.columns.length!==m.length||t.collection.columns.some((g,x)=>g.key!==m[x].key)){let g=l.getInitialUncontrolledWidths(u);d(g);}p(t.collection.columns);}let y=useMemo(()=>l.recombineColumns(t.collection.columns,c,u,s),[t.collection.columns,c,u,s,l]),b=useCallback(g=>{a(g);},[a]),f=useCallback((g,x)=>{let T=l.resizeColumnWidth(t.collection,c,g,x),P=new Map(Array.from(u).map(([S])=>[S,T.get(S)]));return P.set(g,x),d(P),T},[u,d,l,t.collection,c]),h=useCallback(()=>{a(null);},[a]),v=useMemo(()=>l.buildColumnWidths(n,t.collection,y),[n,t.collection,y,l]);return useMemo(()=>({resizingColumn:i,updateResizedColumns:f,startResize:b,endResize:h,getColumnWidth:g=>l.getColumnWidth(g),getColumnMinWidth:g=>l.getColumnMinWidth(g),getColumnMaxWidth:g=>l.getColumnMaxWidth(g),tableState:t,columnWidths:v}),[l,v,i,f,b,h,t])}function ug(e){let{collection:t,focusMode:r}=e,o=e.UNSAFE_selectionState||Zr(e),n=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=o.setFocusedKey;o.setFocusedKey=(s,u)=>{if(r==="cell"&&s!=null){let c=t.getItem(s);if(c?.type==="item"){let d=Ee(c,t);u==="last"?s=Tr(d)?.key??null:s=jt(d)?.key??null;}}i(s,u);};let a=useMemo(()=>new To(t,o),[t,o]),l=useRef(null);return useEffect(()=>{if(o.focusedKey!=null&&l.current&&!t.getItem(o.focusedKey)){let s=l.current.getItem(o.focusedKey),u=s?.parentKey!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!u){o.setFocusedKey(null);return}let c=l.current.rows,d=t.rows,m=c.length-d.length,p=Math.min(m>1?Math.max(u.index-m+1,0):u.index,d.length-1),y=null;for(;p>=0;){if(!a.isDisabled(d[p].key)&&d[p].type!=="headerrow"){y=d[p];break}p<d.length-1?p++:(p>u.index&&(p=u.index),p--);}if(y){let b=y.hasChildNodes?[...Ee(y,t)]:[],f=y.hasChildNodes&&u!==s&&s&&s.index<b.length?b[s.index].key:y.key;o.setFocusedKey(f);}else o.setFocusedKey(null);}l.current=t;},[t,a,o,o.focusedKey]),{collection:t,disabledKeys:n,isKeyboardNavigationDisabled:false,selectionManager:a}}var js=class{keyMap=new Map;columnCount;rows;constructor(t){this.keyMap=new Map,this.columnCount=t?.columnCount,this.rows=[];let r=i=>{let a=this.keyMap.get(i.key);t.visitNode&&(i=t.visitNode(i)),this.keyMap.set(i.key,i);let l=new Set,s=null,u=false;if(i.type==="item"){for(let c of i.childNodes)if(c.props?.colSpan!==void 0){u=true;break}}for(let c of i.childNodes)c.type==="cell"&&u&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=s?(s.colIndex??s.index)+(s.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=i.key),l.add(c.key),s?(s.nextKey=c.key,c.prevKey=s.key):c.prevKey=null,r(c),s=c;if(s&&(s.nextKey=null),a)for(let c of a.childNodes)l.has(c.key)||o(c);},o=i=>{this.keyMap.delete(i.key);for(let a of i.childNodes)this.keyMap.get(a.key)===a&&o(a);},n=null;for(let[i,a]of t.items.entries()){let l={...a,level:a.level??0,key:a.key??"row-"+i,type:a.type??"row",value:a.value??null,hasChildNodes:true,childNodes:[...a.childNodes],rendered:a.rendered,textValue:a.textValue??"",index:a.index??i};n?(n.nextKey=l.key,l.prevKey=n.key):l.prevKey=null,this.rows.push(l),r(l),n=l;}n&&(n.nextKey=null);}*[Symbol.iterator](){yield*[...this.rows];}get size(){return [...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return [...this.rows][0]?.key}getLastKey(){let t=[...this.rows];return t[t.length-1]?.key}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var LS="row-header-column-"+Math.random().toString(36).slice(2),cg="row-header-column-"+Math.random().toString(36).slice(2);for(;LS===cg;)cg="row-header-column-"+Math.random().toString(36).slice(2);function tp(e,t){if(t.length===0)return [];let r=[],o=new Map;for(let s of t){let u=s.parentKey,c=[s];for(;u;){let d=e.get(u);if(!d)break;if(o.has(d)){d.colSpan??=0,d.colSpan++,d.colspan=d.colSpan;let{column:m,index:p}=o.get(d);if(p>c.length)break;for(let y=p;y<c.length;y++)m.splice(y,0,null);for(let y=c.length;y<m.length;y++)m[y]&&o.has(m[y])&&(o.get(m[y]).index=y);}else d.colSpan=1,d.colspan=1,c.push(d),o.set(d,{column:c,index:c.length-1});u=d.parentKey;}r.push(c),s.index=r.length-1;}let n=Math.max(...r.map(s=>s.length)),i=Array(n).fill(0).map(()=>[]),a=0;for(let s of r){let u=n-1;for(let c of s){if(c){let d=i[u],m=d.reduce((p,y)=>p+(y.colSpan??1),0);if(m<a){let p={type:"placeholder",key:"placeholder-"+c.key,colspan:a-m,colSpan:a-m,index:m,value:null,rendered:null,level:u,hasChildNodes:false,childNodes:[],textValue:""};d.length>0&&(d[d.length-1].nextKey=p.key,p.prevKey=d[d.length-1].key),d.push(p);}d.length>0&&(d[d.length-1].nextKey=c.key,c.prevKey=d[d.length-1].key),c.level=u,c.colIndex=a,d.push(c);}u--;}a++;}let l=0;for(let s of i){let u=s.reduce((c,d)=>c+(d.colSpan??1),0);if(u<t.length){let c={type:"placeholder",key:"placeholder-"+s[s.length-1].key,colSpan:t.length-u,colspan:t.length-u,index:u,value:null,rendered:null,level:l,hasChildNodes:false,childNodes:[],textValue:"",prevKey:s[s.length-1].key};s.push(c);}l++;}return i.map((s,u)=>({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:true,childNodes:s,textValue:""}))}var Gs=class extends js{headerRows;columns;rowHeaderColumnKeys;body;_size=0;constructor(t,r,o){let n=new Set,i=null,a=[];if(o?.showSelectionCheckboxes){let d={type:"column",key:LS,value:null,textValue:"",level:0,index:o?.showDragButtons?1:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isSelectionCell:true}};a.unshift(d);}if(o?.showDragButtons){let d={type:"column",key:cg,value:null,textValue:"",level:0,index:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isDragButtonCell:true}};a.unshift(d);}let l=[],s=new Map,u=d=>{switch(d.type){case "body":i=d;break;case "column":s.set(d.key,d),d.hasChildNodes||(a.push(d),d.props.isRowHeader&&n.add(d.key));break;case "item":l.push(d);return}for(let m of d.childNodes)u(m);};for(let d of t)u(d);let c=tp(s,a);if(c.forEach((d,m)=>l.splice(m,0,d)),super({columnCount:a.length,items:l,visitNode:d=>(d.column=a[d.index],d)}),this.columns=a,this.rowHeaderColumnKeys=n,this.body=i,this.headerRows=c,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let d=this.columns.find(m=>!m.props?.isDragButtonCell&&!m.props?.isSelectionCell);d&&this.rowHeaderColumnKeys.add(d.key);}}*[Symbol.iterator](){yield*this.body.childNodes;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){return this.keyMap.get(t)?.prevKey??null}getKeyAfter(t){return this.keyMap.get(t)?.nextKey??null}getFirstKey(){return jt(this.body.childNodes)?.key??null}getLastKey(){return Tr(this.body.childNodes)?.key??null}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let r=this.getItem(t);if(!r)return "";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys;if(o){let n=[];for(let i of r.childNodes){let a=this.columns[i.index];if(o.has(a.key)&&i.textValue&&n.push(i.textValue),n.length===o.size)break}return n.join(" ")}return ""}};var FB={ascending:"descending",descending:"ascending"};function rp(e){let[t,r]=useState(false),{selectionMode:o="none",showSelectionCheckboxes:n,showDragButtons:i}=e,a=useMemo(()=>({showSelectionCheckboxes:n&&o!=="none",showDragButtons:i,selectionMode:o,columns:[]}),[e.children,n,o,i]),l=Wo(e,useCallback(c=>new Gs(c,null,a),[a]),a),{disabledKeys:s,selectionManager:u}=ug({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});return {collection:l,disabledKeys:s,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||false,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:r,sort(c,d){e.onSortChange?.({column:c,direction:d??(e.sortDescriptor?.column===c?FB[e.sortDescriptor.direction]:"ascending")});}}}function op(e,t){let r=useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),o=e.selectionManager.withCollection(r);return {...e,collection:r,selectionManager:o}}function np(e){let t=va({...e,onSelectionChange:e.onSelectionChange?a=>{a!=null&&e.onSelectionChange?.(a);}:void 0,suppressTextValueWarning:true,defaultSelectedKey:e.defaultSelectedKey??AS(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:r,collection:o,selectedKey:n}=t,i=useRef(n);return useEffect(()=>{let a=n;e.selectedKey==null&&(r.isEmpty||a==null||!o.getItem(a))&&(a=AS(o,t.disabledKeys),a!=null&&r.setSelectedKeys([a])),(a!=null&&r.focusedKey==null||!r.isFocused&&a!==i.current)&&r.setFocusedKey(a),i.current=a;}),{...t,isDisabled:e.isDisabled||false}}function AS(e,t){let r=null;if(e){for(r=e.getFirstKey();r!=null&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);r!=null&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey());}return r}function ip(e){let t=useCallback(n=>e.subscribe(n),[e]),r=useCallback(()=>e.visibleToasts,[e]);return {visibleToasts:useSyncExternalStore(t,r,r),add:(n,i)=>e.add(n,i),close:n=>e.close(n),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}var Us=class{queue=[];subscriptions=new Set;maxVisibleToasts;wrapUpdate;visibleToasts=[];constructor(t){this.maxVisibleToasts=t?.maxVisibleToasts??1/0,this.wrapUpdate=t?.wrapUpdate;}runWithWrapUpdate(t,r){this.wrapUpdate?this.wrapUpdate(t,r):t();}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,r={}){let o="_"+Math.random().toString(36).slice(2),n={...r,content:t,key:o,timer:r.timeout?new dg(()=>this.close(o),r.timeout):void 0};return this.queue.unshift(n),this.updateVisibleToasts("add"),o}close(t){let r=this.queue.findIndex(o=>o.key===t);r>=0&&(this.queue[r].onClose?.(),this.queue.splice(r,1)),this.updateVisibleToasts("remove");}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let r of this.subscriptions)r();},t);}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause();}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume();}clear(){this.queue=[],this.updateVisibleToasts("clear");}},dg=class{timerId;startTime=null;remaining;callback;constructor(t,r){this.remaining=r,this.callback=t;}reset(t){this.remaining=t,this.resume();}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime);}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback();},this.remaining));}};var jB=1500,KS=500,ri={},GB=0,Ws=false,Po=null,oi=null;function ap(e={}){let{delay:t=jB,closeDelay:r=KS}=e,{isOpen:o,open:n,close:i}=Nt(e),a=useMemo(()=>`${++GB}`,[]),l=useRef(null),s=useRef(i),u=()=>{ri[a]=m;},c=()=>{for(let y in ri)y!==a&&(ri[y](true),delete ri[y]);},d=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),u(),Ws=true,n(),Po&&(clearTimeout(Po),Po=null),oi&&(clearTimeout(oi),oi=null);},m=y=>{y||r<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current();},r)),Po&&(clearTimeout(Po),Po=null),Ws&&(oi&&clearTimeout(oi),oi=setTimeout(()=>{delete ri[a],oi=null,Ws=false;},Math.max(KS,r)));},p=()=>{c(),u(),!o&&!Po&&!Ws?Po=setTimeout(()=>{Po=null,Ws=true,d();},t):o||d();};return useEffect(()=>{s.current=i;},[i]),useEffect(()=>()=>{l.current&&clearTimeout(l.current),ri[a]&&delete ri[a];},[a]),{isOpen:o,open:y=>{!y&&t>0&&!l.current?p():d();},close:m}}var lp=class{keyMap=new Map;iterable;firstKey=null;lastKey=null;constructor(t,{expandedKeys:r}={}){this.iterable=t,r=r||new Set;let o=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let l of a.childNodes)o(l);};for(let a of t)o(a);let n=null,i=0;for(let[a,l]of this.keyMap)n?(n.nextKey=a,l.prevKey=n.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=i++),n=l,n.nextKey=void 0;this.lastKey=n?.key??null;}*[Symbol.iterator](){yield*this.iterable;}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};function Ea(e){let{onExpandedChange:t}=e,[r,o]=be(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),n=Zr(e),i=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Wo(e,useCallback(s=>new lp(s,{expandedKeys:r}),[r]),null);return useEffect(()=>{n.focusedKey!=null&&!a.getItem(n.focusedKey)&&n.setFocusedKey(null);},[a,n.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:i,toggleKey:s=>{o(XB(r,s));},setExpandedKeys:o,selectionManager:new To(a,n)}}function XB(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var sp=createContext({}),qs=forwardRef(function(t,r){[t,r]=er(t,r,sp);let{elementType:o="span",...n}=t;return jsx(o,{className:"react-aria-Text",...n,ref:r})});var VS={"ar-AE":{colorSwatchPicker:"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u0623\u0644\u0648\u0627\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627",tableResizer:"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"},"bg-BG":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u0438 \u043C\u043E\u0441\u0442\u0440\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442",tableResizer:"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\xEDsto pro p\u0159eta\u017Een\xED",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"Zm\u011Bna velikosti"},"da-DK":{colorSwatchPicker:"Farvepr\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE6lg et element",tableResizer:"St\xF8rrelses\xE6ndring"},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\xE4hlen",tableResizer:"Gr\xF6\xDFenanpassung"},"el-GR":{colorSwatchPicker:"\u03A7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1\u03C4\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF",tableResizer:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\xEDculo",tableResizer:"Cambiador de tama\xF1o"},"et-EE":{colorSwatchPicker:"V\xE4rvin\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \xFCksus",tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:"V\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:"\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\xE9lectionner un \xE9l\xE9ment",tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05D5\u05EA \u05E6\u05D1\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8",tableResizer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\u010Dine"},"hu-HU":{colorSwatchPicker:"Sz\xEDnt\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE1lasszon ki egy elemet",tableResizer:"\xC1tm\xE9retez\u0151"},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",dropzoneLabel:"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3",selectPlaceholder:"\u9805\u76EE\u3092\u9078\u629E",tableResizer:"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"},"ko-KR":{colorSwatchPicker:"\uC0C9\uC0C1 \uACAC\uBCF8",dropzoneLabel:"\uB4DC\uB86D \uC601\uC5ED",selectPlaceholder:"\uD56D\uBAA9 \uC120\uD0DD",tableResizer:"\uD06C\uAE30 \uC870\uC815\uAE30"},"lt-LT":{colorSwatchPicker:"Spalv\u0173 pavyzd\u017Eiai",dropzoneLabel:"\u201EDropZone\u201C",selectPlaceholder:"Pasirinkite element\u0105",tableResizer:"Dyd\u017Eio keitiklis"},"lv-LV":{colorSwatchPicker:"Kr\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\u0113l\u0113ties vienumu",tableResizer:"Izm\u0113ra main\u012Bt\u0101js"},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\xF8rrelsesendrer"},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:"Pr\xF3bki kolor\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\u0103 de plasare",selectPlaceholder:"Selecta\u021Bi un element",tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0431\u0440\u0430\u0437\u0446\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"},"sk-SK":{colorSwatchPicker:"Vzorkovn\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"N\xE1stroj na zmenu ve\u013Ekosti"},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\u010Dine"},"sv-SE":{colorSwatchPicker:"F\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE4lj en artikel",tableResizer:"Storleks\xE4ndrare"},"tr-TR":{colorSwatchPicker:"Renk \xF6rnekleri",dropzoneLabel:"B\u0131rakma B\xF6lgesi",selectPlaceholder:"Bir \xF6\u011Fe se\xE7in",tableResizer:"Yeniden boyutland\u0131r\u0131c\u0131"},"uk-UA":{colorSwatchPicker:"\u0417\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"},"zh-CN":{colorSwatchPicker:"\u989C\u8272\u8272\u677F",dropzoneLabel:"\u653E\u7F6E\u533A\u57DF",selectPlaceholder:"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE",tableResizer:"\u5C3A\u5BF8\u8C03\u6574\u5668"},"zh-TW":{colorSwatchPicker:"\u8272\u7968",dropzoneLabel:"\u653E\u7F6E\u5340",selectPlaceholder:"\u9078\u53D6\u9805\u76EE",tableResizer:"\u5927\u5C0F\u8ABF\u6574\u5668"}};var Co=createContext({}),wa=createContext(null),nn=forwardRef(function(t,r){let{render:o}=useContext(wa);return jsx(Fragment,{children:o(t,r)})});function up(e,t){let r=e?.renderDropIndicator,o=e?.isVirtualDragging?.(),n=useCallback(i=>{if(o||t?.isDropTarget(i))return r?r(i):jsx(nn,{target:i})},[t?.target,o,r]);return e?.useDropIndicator?n:void 0}function cp(e,t,r){let o=e.focusedKey,n=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(n=r.target.key,r.target.dropPosition==="after")){let i=r.collection.getKeyAfter(n),a=null;if(i!=null){let l=r.collection.getItem(n)?.level??0;for(;i;){let s=r.collection.getItem(i);if(!s)break;if(s.type!=="item"){i=r.collection.getKeyAfter(i);continue}if((s.level??0)<=l)break;a=i,i=r.collection.getKeyAfter(i);}}n=i??a??n;}return useMemo(()=>new Set([o,n].filter(i=>i!=null)),[o,n])}var dp=createContext({}),pp=xo(Ms,function(t,r){return [t,r]=er(t,r,dp),jsx("header",{className:"react-aria-Header",...t,ref:r,children:t.children})});var jS=createContext(null);function mp(e){let t=useRef({});return jsx(jS.Provider,{value:t,children:e.children})}var GS=forwardRef(function(t,r){let{name:o,isVisible:n=true,children:i,className:a,style:l,...s}=t,[u,c]=useState(n?"visible":"hidden"),d=useContext(jS);if(!d)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");n&&u==="hidden"&&c("visible"),r=ge(r),ae(()=>{let p=r.current,y=d.current,b=y?.[o],f=null;if(p&&n&&b){c("visible");let h=p.getAnimations(),v=b.style.map(([g,x])=>{let T=p.style[g];if(g==="translate"){let P=b.rect,S=p.getBoundingClientRect(),E=P.left-S?.left,D=P.top-S?.top;p.style.translate=`${E}px ${D}px`;}else p.style[g]=x;return [g,T]});for(let g of p.getAnimations())h.includes(g)||g.cancel();f=requestAnimationFrame(()=>{f=null;for(let[g,x]of v)p.style[g]=x;}),delete y?.[o];}else p&&n&&!b?(queueMicrotask(()=>flushSync(()=>c("entering"))),f=requestAnimationFrame(()=>{f=null,c("visible");})):p&&!n&&queueMicrotask(()=>{y?.[o]?(delete y?.[o],flushSync(()=>c("exiting")),Promise.all(p.getAnimations().map(h=>h.finished)).then(()=>c("hidden")).catch(()=>{})):c("hidden");});return ()=>{if(f!=null&&cancelAnimationFrame(f),p&&p.isConnected&&!p.hasAttribute("data-exiting")){let h=window.getComputedStyle(p);if(h.transitionProperty!=="none"){let v=h.transitionProperty.split(/\s*,\s*/);y[o]={rect:p.getBoundingClientRect(),style:v.map(g=>[g,h[g]])};}}}},[r,d,o,n]);let m=cr({children:i,className:a,style:l,values:{isEntering:u==="entering",isExiting:u==="exiting"}});return u==="hidden"?null:jsx("div",{...s,...m,ref:r,"data-entering":u==="entering"||void 0,"data-exiting":u==="exiting"||void 0})});var pg=createContext({isSelected:false});forwardRef(function(t,r){[t,r]=er(t,r,pg);let{isSelected:o,...n}=t;return jsx(GS,{...n,ref:r,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:o})});var WS=createContext({});var So=createContext(null),Cr=createContext(null),mg=forwardRef(function(t,r){[t,r]=er(t,r,So);let o=useContext(Cr);return o?jsx(JS,{state:o,props:t,listBoxRef:r}):jsx(rn,{content:jsx(Yr,{...t}),children:n=>jsx(y$,{props:t,listBoxRef:r,collection:n})})});function y$({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:o}=useContext(wt),n=xt({...e,layoutDelegate:o});return jsx(JS,{state:n,props:e,listBoxRef:t})}function JS({state:e,props:t,listBoxRef:r}){[t,r]=er(t,r,Oo);let{dragAndDropHooks:o,layout:n="stack",orientation:i="vertical",filter:a}=t,l=Hd(e,a),{collection:s,selectionManager:u}=l,c=!!o?.useDraggableCollectionState,d=!!o?.useDroppableCollectionState,{direction:m}=J(),{disabledBehavior:p,disabledKeys:y}=u,b=$t({usage:"search",sensitivity:"base"}),{isVirtualized:f,layoutDelegate:h,dropTargetDelegate:v,CollectionRoot:g}=useContext(wt),x=useMemo(()=>t.keyboardDelegate||new ct({collection:s,collator:b,ref:r,disabledKeys:y,disabledBehavior:p,layout:n,orientation:i,direction:m,layoutDelegate:h}),[s,b,r,p,y,i,m,t.keyboardDelegate,n,h]),{listBoxProps:T}=Bi({...t,shouldSelectOnPressUp:c||t.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:f},l,r),P=useRef(c),S=useRef(d);useEffect(()=>{process.env.NODE_ENV!=="production"&&(P.current!==c&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),S.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[c,d]);let E,D,I,C=false,_=null,z=useRef(null);if(c&&o){E=o.useDraggableCollectionState({collection:s,selectionManager:u,preview:o.renderDragPreview?z:void 0}),o.useDraggableCollection({},E,r);let A=o.DragPreview;_=o.renderDragPreview?jsx(A,{ref:z,children:o.renderDragPreview}):null;}if(d&&o){D=o.useDroppableCollectionState({collection:s,selectionManager:u});let A=o.dropTargetDelegate||v||new o.ListDropTargetDelegate(s,r,{orientation:i,layout:n,direction:m});I=o.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:A},D,r),C=D.isDropTarget({type:"root"});}let{focusProps:w,isFocused:O,isFocusVisible:k}=ee(),M=l.collection.size===0,F={isDropTarget:C,isEmpty:M,isFocused:O,isFocusVisible:k,layout:t.layout||"stack",state:l},K=cr({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:F}),N=null;M&&t.renderEmptyState&&(N=jsx("div",{role:"option",style:{display:"contents"},children:t.renderEmptyState(F)}));let $=le(t,{global:true});return jsx(zt,{children:jsxs("div",{...R($,K,T,w,I?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":C||void 0,"data-empty":M||void 0,"data-focused":O||void 0,"data-focus-visible":k||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical",children:[jsx($n,{values:[[So,t],[Cr,l],[Co,{dragAndDropHooks:o,dragState:E,dropState:D}],[WS,{elementType:"div"}],[wa,{render:b$}],[uS,{name:"ListBoxSection",render:QS}]],children:jsx(mp,{children:jsx(g,{collection:s,scrollRef:r,persistedKeys:cp(u,o,D),renderDropIndicator:up(o,D)})})}),N,_]})})}function QS(e,t,r,o="react-aria-ListBoxSection"){let n=useContext(Cr),{dragAndDropHooks:i,dropState:a}=useContext(Co),{CollectionBranch:l}=useContext(wt),[s,u]=IP(),{headingProps:c,groupProps:d}=Hi({heading:u,"aria-label":e["aria-label"]??void 0}),m=cr({defaultClassName:o,className:e.className,style:e.style,values:{}}),p=le(e,{global:true});return delete p.id,jsx("section",{...R(p,m,d),ref:t,children:jsx(dp.Provider,{value:{...c,ref:s},children:jsx(l,{collection:n.collection,parent:r,renderDropIndicator:up(i,a)})})})}var fg=ha(Ns,QS),yg=xo(As,function(t,r,o){let n=ge(r),i=useContext(Cr),{dragAndDropHooks:a,dragState:l,dropState:s}=useContext(Co),{optionProps:u,labelProps:c,descriptionProps:d,...m}=$i({key:o.key,"aria-label":t?.["aria-label"]},i,n),{hoverProps:p,isHovered:y}=re({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:o.props.onHoverStart,onHoverChange:o.props.onHoverChange,onHoverEnd:o.props.onHoverEnd}),b=null;l&&a&&(b=a.useDraggableItem({key:o.key},l));let f=null;s&&a&&(f=a.useDroppableItem({target:{type:"item",key:o.key,dropPosition:"on"}},s,n));let h=l&&l.isDragging(o.key),v=cr({...t,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...m,isHovered:y,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:h,isDropTarget:f?.isDropTarget}});useEffect(()=>{!o.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.");},[o.textValue]);let g=t.href?"a":"div",x=le(t,{global:true});return delete x.id,delete x.onClick,jsx(g,{...R(x,v,u,p,b?.dragProps,f?.dropProps),ref:n,"data-allows-dragging":!!l||void 0,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-dragging":h||void 0,"data-drop-target":f?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode,children:jsx($n,{values:[[sp,{slots:{[Gc]:c,label:c,description:d}}],[pg,{isSelected:m.isSelected}]],children:v.children})})});function b$(e,t){t=ge(t);let{dragAndDropHooks:r,dropState:o}=useContext(Co),{dropIndicatorProps:n,isHidden:i,isDropTarget:a}=r.useDropIndicator(e,o,t);return i?null:jsx(h$,{...e,dropIndicatorProps:n,isDropTarget:a,ref:t})}function g$(e,t){let{dropIndicatorProps:r,isDropTarget:o,...n}=e,i=cr({...n,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}});return jsx("div",{...r,...i,role:"option",ref:t,"data-drop-target":o||void 0})}var h$=forwardRef(g$);xo(Zn,function(t,r,o){let n=useContext(Cr),{isLoading:i,onLoadMore:a,scrollOffset:l,...s}=t,u=useRef(null),c=useMemo(()=>({onLoadMore:a,collection:n?.collection,sentinelRef:u,scrollOffset:l}),[a,l,n?.collection]);Ei(c,u);let d=cr({...s,children:o.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),m={tabIndex:-1};return jsxs(Fragment,{children:[jsx("div",{style:{position:"relative",width:0,height:0},inert:El(true),children:jsx("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})}),i&&d.children&&jsx("div",{...R(le(t,{global:true}),m),...d,role:"option",ref:r,children:d.children})]})});var gg=class extends Jn{headerRows=[];columns=[];rows=[];rowHeaderColumnKeys=new Set;head=new hg(-1);body=new vg(-2);columnsDirty=true;addNode(t){super.addNode(t),this.columnsDirty||=t.type==="column",t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t);}commit(t,r,o=false){this.updateColumns(o),this.rows=[];for(let n of this.getChildren(this.body.key)){let i=n.lastChildKey;if(i!=null){let a=this.getItem(i),l=(a.colIndex??a.index)+(a.colSpan??1);if(l!==this.columns.length&&!o)throw new Error(`Cell count must match column count. Found ${l} cells and ${this.columns.length} columns.`)}this.rows.push(n);}super.commit(t,r,o);}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let r=new Map,o=n=>{switch(n.type){case "column":r.set(n.key,n),n.hasChildNodes||(n.index=this.columns.length,this.columns.push(n),n.props.isRowHeader&&this.rowHeaderColumnKeys.add(n.key));break}for(let i of this.getChildren(n.key))o(i);};for(let n of this.getChildren(this.head.key))o(n);if(this.headerRows=tp(r,this.columns),this.columnsDirty=false,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body);}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let r=this.getItem(t);return r?.type==="column"?r.nextKey??null:super.getKeyAfter(t)}getKeyBefore(t){let r=this.getItem(t);if(r?.type==="column")return r.prevKey??null;let o=super.getKeyBefore(t);return o!=null&&this.getItem(o)?.type==="tablebody"?null:o}getChildren(t){if(!this.getItem(t)){for(let r of this.headerRows)if(r.key===t)return r.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let r=this.getItem(t);if(!r)return "";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys,n=[];for(let i of this.getChildren(t)){let a=this.columns[i.index];if(o.has(a.key)&&i.textValue&&n.push(i.textValue),n.length===o.size)break}return n.join(" ")}},xg=createContext(null);forwardRef(function(t,r){let o=ge(r),n=useRef(null),i=useRef(null),[a,l]=useState(0);ae(()=>{let u=n.current;for(;u&&u!==o.current&&!kt(u);)u=u.parentElement;i.current=u;},[o]),Br({ref:i,box:"border-box",onResize(){l(i.current?.clientWidth??0);}}),ae(()=>{l(i.current?.clientWidth??0);},[]);let s=useMemo(()=>({tableRef:n,scrollRef:i,tableWidth:a,useTableColumnResizeState:ep,onResizeStart:t.onResizeStart,onResize:t.onResize,onResizeEnd:t.onResizeEnd}),[n,a,t.onResizeStart,t.onResize,t.onResizeEnd]);return jsx("div",{...le(t,{global:true}),ref:o,className:t.className||"react-aria-ResizableTableContainer",style:t.style,onScroll:t.onScroll,children:jsx(xg.Provider,{value:s,children:t.children})})});var P$=createContext(null),Tg=createContext(null),gp=createContext(null);forwardRef(function(t,r){[t,r]=er(t,r,P$);let o=Zr(t),{selectionBehavior:n,selectionMode:i,disallowEmptySelection:a}=o,l=!!t.dragAndDropHooks?.useDraggableCollectionState,s=useMemo(()=>({selectionBehavior:i==="none"?null:n,selectionMode:i,disallowEmptySelection:a,allowsDragging:l}),[n,i,a,l]),u=jsx(S$.Provider,{value:s,children:jsx(Yr,{...t})});return jsx(rn,{content:u,createCollection:()=>new gg,children:c=>jsx(C$,{props:t,forwardedRef:r,selectionState:o,collection:c})})});function C$({props:e,forwardedRef:t,selectionState:r,collection:o}){[e,t]=er(e,t,Oo);let{shouldUseVirtualFocus:n,disallowTypeAhead:i,filter:a,...l}=e,s=useContext(xg);t=ge(useMemo(()=>Z(t,s?.tableRef),[t,s?.tableRef]));let u=rp({...l,collection:o,children:void 0,UNSAFE_selectionState:r}),c=op(u,a),{isVirtualized:d,layoutDelegate:m,dropTargetDelegate:p,CollectionRoot:y}=useContext(wt),{dragAndDropHooks:b}=e,{gridProps:f}=Dd({...l,layoutDelegate:m,isVirtualized:d},c,t),h=c.selectionManager,v=!!b?.useDraggableCollectionState,g=!!b?.useDroppableCollectionState,x=useRef(v),T=useRef(g);useEffect(()=>{process.env.NODE_ENV!=="production"&&(x.current!==v&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),T.current!==g&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[v,g]);let P,S,E,D=false,I=null,C=useRef(null);if(v&&b){P=b.useDraggableCollectionState({collection:c.collection,selectionManager:h,preview:b.renderDragPreview?C:void 0}),b.useDraggableCollection({},P,t);let $=b.DragPreview;I=b.renderDragPreview?jsx($,{ref:C,children:b.renderDragPreview}):null;}if(g&&b){S=b.useDroppableCollectionState({collection:c.collection,selectionManager:h});let $=new ct({collection:c.collection,disabledKeys:h.disabledKeys,disabledBehavior:h.disabledBehavior,ref:t,layoutDelegate:m}),A=b.dropTargetDelegate||p||new b.ListDropTargetDelegate(o.rows,t);E=b.useDroppableCollection({keyboardDelegate:$,dropTargetDelegate:A},S,t),D=S.isDropTarget({type:"root"});}let{focusProps:_,isFocused:z,isFocusVisible:w}=ee(),O=cr({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:D,isFocused:z,isFocusVisible:w,state:c}}),k=!!(v&&!P?.isDisabled),M=O.style,F=null;s&&(F=s.useTableColumnResizeState({tableWidth:s.tableWidth},c),d||(M={...M,tableLayout:"fixed",width:"fit-content"}));let K=Xs("table"),N=le(e,{global:true});return jsxs($n,{values:[[Tg,c],[gp,F],[Co,{dragAndDropHooks:b,dragState:P,dropState:S}],[wa,{render:k$}],[Oo,null],[Pn,null]],children:[jsx(zt,{children:jsx(K,{...R(N,O,f,_,E?.collectionProps),style:M,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":D||void 0,"data-focused":z||void 0,"data-focus-visible":w||void 0,children:jsx(mp,{children:jsx(y,{collection:c.collection,scrollRef:s?.scrollRef??t,persistedKeys:cp(h,b,S)})})})}),I]})}function Xs(e){let{isVirtualized:t}=useContext(wt);return t?"div":e}var S$=createContext(null);var hg=class extends Xr{static type="tableheader"};var D$=createContext(null);forwardRef(function(t,r){let o=useContext(gp);if(!o)throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");let n=xe(VS,"react-aria-components"),{onResizeStart:i,onResize:a,onResizeEnd:l}=useContext(xg),{column:s,triggerRef:u}=useContext(D$),c=useRef(null),{resizerProps:d,inputProps:m,isResizing:p}=kd({column:s,"aria-label":t["aria-label"]||n.format("tableResizer"),onResizeStart:i,onResize:a,onResizeEnd:l,triggerRef:u},o,c),{focusProps:y,isFocused:b,isFocusVisible:f}=ee(),{hoverProps:h,isHovered:v}=re(t),g=o.getColumnMinWidth(s.key)>=o.getColumnWidth(s.key),x=o.getColumnMaxWidth(s.key)<=o.getColumnWidth(s.key),{direction:T}=J(),P="both";g?P=T==="rtl"?"right":"left":x?P=T==="rtl"?"left":"right":P="both";let S=ge(r),[E,D]=useState("");useEffect(()=>{if(!S.current)return;let O=window.getComputedStyle(S.current);D(O.cursor);},[S,P]);let I=cr({...t,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:b,isFocusVisible:f,isResizing:p,isHovered:v,resizableDirection:P}}),[C,_]=useState(false),z=O=>{O.pointerType==="mouse"&&_(true);};!p&&C&&_(false);let w=le(t,{global:true});return jsxs("div",{ref:S,role:"presentation",...R(w,I,d,{onPointerDown:z},h),"data-hovered":v||void 0,"data-focused":b||void 0,"data-focus-visible":f||void 0,"data-resizing":p||void 0,"data-resizable-direction":P,children:[I.children,jsx("input",{ref:c,...R(m,y)}),p&&C&&jO.createPortal(jsx("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:E}}),document.body)]})});var vg=class extends Yn{static type="tablebody"};function k$(e,t){t=ge(t);let{dragAndDropHooks:r,dropState:o}=useContext(Co),n=useRef(null),{dropIndicatorProps:i,isHidden:a,isDropTarget:l}=r.useDropIndicator(e,o,n);return a?null:jsx(E$,{...e,dropIndicatorProps:i,isDropTarget:l,buttonRef:n,ref:t})}function z$(e,t){let{dropIndicatorProps:r,isDropTarget:o,buttonRef:n,...i}=e,a=useContext(Tg),{visuallyHiddenProps:l}=ur(),s=cr({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}}),u=Xs("tr"),c=Xs("td");return jsx(u,{...le(e,{global:true}),...s,role:"row",ref:t,"data-drop-target":o||void 0,children:jsxs(c,{role:"gridcell",colSpan:a.collection.columnCount,style:{padding:0},children:[jsx("div",{...l,role:"button",...r,ref:n}),s.children]})})}var E$=forwardRef(z$);xo(Zn,function(t,r,o){let n=useContext(Tg),{isVirtualized:i}=useContext(wt),{isLoading:a,onLoadMore:l,scrollOffset:s,...u}=t,c=n.collection.columns.length,d=useRef(null),m=useMemo(()=>({onLoadMore:l,collection:n?.collection,sentinelRef:d,scrollOffset:s}),[l,s,n?.collection]);Ei(m,d);let p=cr({...u,children:o.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),y=Xs("tr"),b=Xs("td"),f={},h={},v={};return i?(h["aria-colspan"]=c,v={display:"contents"}):h.colSpan=c,jsxs(Fragment,{children:[jsx(y,{style:{height:0},inert:El(true),children:jsx(b,{style:{padding:0,border:0},children:jsx("div",{"data-testid":"loadMoreSentinel",ref:d,style:{position:"relative",height:1,width:1}})})}),a&&p.children&&jsx(y,{...R(le(t,{global:true}),f),...p,role:"row",ref:r,children:jsx(b,{role:"rowheader",...h,style:v,children:p.children})})]})});var eo=class{virtualizer=null;shouldInvalidate(t,r){return t.width!==r.width||t.height!==r.height}shouldInvalidateLayoutOptions(t,r){return t!==r}update(t){}getItemRect(t){return this.getLayoutInfo(t)?.rect??null}getVisibleRect(){return this.virtualizer.visibleRect}};var Ye=class e{type;key;parentKey;content;rect;estimatedSize;isSticky;opacity;transform;zIndex;allowOverflow;constructor(t,r,o){this.type=t,this.key=r,this.parentKey=null,this.content=null,this.rect=o,this.estimatedSize=false,this.isSticky=false,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=false;}copy(){let t=new e(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.content=this.content,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}};var mr=class e{x;y;constructor(t=0,r=0){this.x=t,this.y=r;}copy(){return new e(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}};var ve=class e{x;y;width;height;constructor(t=0,r=0,o=0,n=0){this.x=t,this.y=r,this.width=o,this.height=n;}get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new mr(this.x,this.y)}get topRight(){return new mr(this.maxX,this.y)}get bottomLeft(){return new mr(this.x,this.maxY)}get bottomRight(){return new mr(this.maxX,this.maxY)}intersects(t){return (process.env.NODE_ENV==="test"&&!process.env.VIRT_ON||this.area>0&&t.area>0)&&this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let r of ["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[r]))return r;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let r=Math.min(this.x,t.x),o=Math.min(this.y,t.y),n=Math.max(this.maxX,t.maxX)-r,i=Math.max(this.maxY,t.maxY)-o;return new e(r,o,n,i)}intersection(t){if(!this.intersects(t))return new e(0,0,0,0);let r=Math.max(this.x,t.x),o=Math.max(this.y,t.y);return new e(r,o,Math.min(this.maxX,t.maxX)-r,Math.min(this.maxY,t.maxY)-o)}copy(){return new e(this.x,this.y,this.width,this.height)}};var Oe=class e{width;height;constructor(t=0,r=0){this.width=Math.max(t,0),this.height=Math.max(r,0);}copy(){return new e(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}};var _$=0,vp=class{virtualizer;layoutInfo;content;rendered;viewType;key;children;reusableViews;constructor(t,r){this.virtualizer=t,this.key=++_$,this.viewType=r,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null;}prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null;}getReusableView(t){let r=this.reusableViews.get(t);return r&&r.length>0?r.shift():new Pg(this.virtualizer,this,t)}reuseChild(t){t.prepareForReuse();let r=this.reusableViews.get(t.viewType);r||(r=[],this.reusableViews.set(t.viewType,r)),r.push(t);}},xp=class extends vp{constructor(t){super(t,"root");}},Pg=class extends vp{parent;constructor(t,r,o){super(t,o),this.parent=r;}};function r1(e,t){if(e===t)return true;if(e.size!==t.size)return false;for(let r of e)if(!t.has(r))return false;return true}var Tp=class{startTime=0;velocity=new mr(0,0);visibleRect=new ve;setVisibleRect(t){let r=performance.now()-this.startTime;r<500&&(t.x!==this.visibleRect.x&&r>0&&(this.velocity.x=(t.x-this.visibleRect.x)/r),t.y!==this.visibleRect.y&&r>0&&(this.velocity.y=(t.y-this.visibleRect.y)/r)),this.startTime=performance.now(),this.visibleRect=t;}getOverscannedRect(){let t=this.visibleRect.copy(),r=this.visibleRect.height/3;if(t.height+=r,this.velocity.y<0&&(t.y-=r),this.velocity.x!==0){let o=this.visibleRect.width/3;t.width+=o,this.velocity.x<0&&(t.x-=o);}return t}};var Pp=class{delegate;collection;layout;contentSize;visibleRect;persistedKeys;_visibleViews;_renderedContent;_rootView;_isScrolling;_invalidationContext;_overscanManager;constructor(t){this.delegate=t.delegate,this.collection=t.collection,this.layout=t.layout,this.contentSize=new Oe,this.visibleRect=new ve,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new xp(this),this._isScrolling=false,this._invalidationContext={},this._overscanManager=new Tp;}isPersistedKey(t){if(this.persistedKeys.has(t))return true;for(let r of this.persistedKeys)for(;r!=null;){let o=this.layout.getLayoutInfo(r);if(!o||o.parentKey==null)break;if(r=o.parentKey,r===t)return true}return false}getParentView(t){return t.parentKey!=null?this._visibleViews.get(t.parentKey):this._rootView}getReusableView(t){let o=this.getParentView(t).getReusableView(t.type);return o.layoutInfo=t,this._renderView(o),o}_renderView(t){if(t.layoutInfo){let{type:r,key:o,content:n}=t.layoutInfo;t.content=n||this.collection.getItem(o),t.rendered=this._renderContent(r,t.content);}}_renderContent(t,r){let o=r!=null?this._renderedContent.get(r):null;if(o!=null)return o;let n=this.delegate.renderView(t,r);return r&&this._renderedContent.set(r,n),n}keyAtPoint(t){let r=new ve(t.x,t.y,1,1),o=r.area===0?[]:this.layout.getVisibleLayoutInfos(r);for(let n of o)if(n.rect.intersects(r))return n.key;return null}relayout(t={}){this.layout.update(t),this.contentSize=this.layout.getContentSize();let r=this.visibleRect,o=t.contentChanged?0:r.x,n=t.contentChanged?0:r.y;if(o=Math.max(0,Math.min(this.contentSize.width-r.width,o)),n=Math.max(0,Math.min(this.contentSize.height-r.height,n)),o!==r.x||n!==r.y){let i=new ve(o,n,r.width,r.height);this.delegate.setVisibleRect(i);}else this.updateSubviews();}getVisibleLayoutInfos(){let t=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,r=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientWidth"),o=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientHeight"),n;t&&!(r&&o)?n=new ve(0,0,this.contentSize.width,this.contentSize.height):n=this._overscanManager.getOverscannedRect();let i=this.layout.getVisibleLayoutInfos(n),a=new Map;for(let l of i)a.set(l.key,l);return a}updateSubviews(){let t=this.getVisibleLayoutInfos(),r=new Set;for(let[o,n]of this._visibleViews){let i=t.get(o);(!i||n.parent!==this.getParentView(i))&&(this._visibleViews.delete(o),n.parent.reuseChild(n),r.add(n));}for(let[o,n]of t){let i=this._visibleViews.get(o);if(!i)i=this.getReusableView(n),i.parent.children.add(i),this._visibleViews.set(o,i),r.delete(i);else {i.layoutInfo=n;let a=this.collection.getItem(n.key);i.content!==a&&(i.content!=null&&this._renderedContent.delete(i.content),this._renderView(i));}}for(let o of r)o.parent.children.delete(o),o.parent.reusableViews.clear();if(!this._isScrolling)for(let o of t.keys()){let n=this._visibleViews.get(o);n.parent.children.delete(n),n.parent.children.add(n);}}render(t){let r=this,o=false,n=false,i=false,a=false,l=false,s=false;return t.collection!==this.collection&&(r.collection=t.collection,o=true),(t.layout!==this.layout||this.layout.virtualizer!==this)&&(this.layout&&(this.layout.virtualizer=null),t.layout.virtualizer=this,r.layout=t.layout,o=true),t.persistedKeys&&!r1(t.persistedKeys,this.persistedKeys)&&(r.persistedKeys=t.persistedKeys,s=true),this.visibleRect.equals(t.visibleRect)||(this._overscanManager.setVisibleRect(t.visibleRect),this.layout.shouldInvalidate(t.visibleRect,this.visibleRect)?(n=!t.visibleRect.pointEquals(this.visibleRect),i=!t.visibleRect.sizeEquals(this.visibleRect),o=true):s=true,r.visibleRect=t.visibleRect),t.invalidationContext!==this._invalidationContext&&(t.invalidationContext&&(i||=t.invalidationContext.sizeChanged||false,n||=t.invalidationContext.offsetChanged||false,a||=t.invalidationContext.itemSizeChanged||false,l||=t.invalidationContext.layoutOptions!=null&&this._invalidationContext.layoutOptions!=null&&t.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(t.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions),o||=a||i||n||l),this._invalidationContext=t.invalidationContext),t.isScrolling!==this._isScrolling&&(this._isScrolling=t.isScrolling,t.isScrolling||(s=true)),o?this.relayout({offsetChanged:n,sizeChanged:i,itemSizeChanged:a,layoutOptionsChanged:l,layoutOptions:this._invalidationContext.layoutOptions}):s&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(t){return this._visibleViews.get(t)}invalidate(t){this.delegate.invalidate(t);}updateItemSize(t,r){if(!this.layout.updateItemSize)return;this.layout.updateItemSize(t,r)&&this.invalidate({itemSizeChanged:true});}};var L$=typeof document<"u"?Mo.useLayoutEffect:()=>{};function Cg(e){let[t,r]=useState(new ve(0,0,0,0)),[o,n]=useState(false),[i,a]=useState({}),l=useRef(false),[s]=useState(()=>new Pp({collection:e.collection,layout:e.layout,delegate:{setVisibleRect(b){r(b),l.current=true;},renderView:e.renderView,invalidate:a}}));L$(()=>{l.current&&(l.current=false,e.onVisibleRectChange(t));});let u=useMemo(()=>e.layoutOptions!=null?{...i,layoutOptions:e.layoutOptions}:i,[i,e.layoutOptions]),c=s.render({layout:e.layout,collection:e.collection,persistedKeys:e.persistedKeys,layoutOptions:e.layoutOptions,visibleRect:t,invalidationContext:u,isScrolling:o}),d=s.contentSize,m=useCallback(()=>{n(true);},[]),p=useCallback(()=>{n(false);},[]);return useMemo(()=>({virtualizer:s,visibleViews:c,setVisibleRect:r,contentSize:d,isScrolling:o,startScrolling:m,endScrolling:p}),[s,c,r,d,o,m,p])}var rr={minItemSize:new Oe(200,200),maxItemSize:new Oe(1/0,1/0),preserveAspectRatio:false,minSpace:new Oe(18,18),maxSpace:1/0,maxColumns:1/0,dropIndicatorThickness:2},ni=class extends eo{gap=rr.minSpace;dropIndicatorThickness=2;numColumns=0;contentSize=new Oe;layoutInfos=new Map;margin=0;shouldInvalidateLayoutOptions(t,r){return t.maxColumns!==r.maxColumns||t.dropIndicatorThickness!==r.dropIndicatorThickness||t.preserveAspectRatio!==r.preserveAspectRatio||!(t.minItemSize||rr.minItemSize).equals(r.minItemSize||rr.minItemSize)||!(t.maxItemSize||rr.maxItemSize).equals(r.maxItemSize||rr.maxItemSize)||!(t.minSpace||rr.minSpace).equals(r.minSpace||rr.minSpace)||t.maxHorizontalSpace!==r.maxHorizontalSpace}update(t){let{minItemSize:r=rr.minItemSize,maxItemSize:o=rr.maxItemSize,preserveAspectRatio:n=rr.preserveAspectRatio,minSpace:i=rr.minSpace,maxHorizontalSpace:a=rr.maxSpace,maxColumns:l=rr.maxColumns,dropIndicatorThickness:s=rr.dropIndicatorThickness}=t.layoutOptions||{};this.dropIndicatorThickness=s;let u=this.virtualizer.visibleRect.width,c=Math.min(o.width,u),d=Number.isFinite(o.height)?o.height:Math.floor(r.height/r.width*c),m=Math.floor(u/(r.width+i.width)),p=Math.max(1,Math.min(l,m));this.numColumns=p;let y=u-i.width*Math.max(0,p),b=Math.floor(y/p);b=Math.max(r.width,Math.min(c,b));let f=(b-r.width)/Math.max(1,c-r.width),h=r.height+Math.floor((d-r.height)*f);h=Math.max(r.height,Math.min(d,h));let v=Math.min(Math.max(a,i.width),Math.floor((u-p*b)/(p+1)));this.gap=new Oe(v,i.height),this.margin=Math.floor((u-p*b-v*(p+1))/2);let g=this.virtualizer.collection,x=g.size,T=g.getLastKey();for(let z=0;z<2&&T!=null;z++){if(g.getItem(T)?.type==="skeleton"){x++;break}T=g.getKeyBefore(T);}let P=Math.ceil(x/p),S=g[Symbol.iterator](),E=P>0?i.height:0,D=new Map,I=null,C=0;for(let z=0;z<P;z++){let w=0,O=[];for(let k=0;k<p;k++){let M=I||S.next().value;if(!M)break;if(M.type==="loader")continue;M.type==="skeleton"&&(I=M);let F=I?`${I.key}-${C++}`:M.key,K=this.layoutInfos.get(F),N=M;I&&(N=K&&K.content.key===F?K.content:{...I,key:F});let $=v+k*(b+v)+this.margin,A=h,B=!n;K&&B&&(A=K.rect.height,B=t.layoutOptionsChanged||t.sizeChanged||K.estimatedSize||K.content!==N);let U=new ve($,E,b,A),oe=new Ye(M.type,F,U);oe.estimatedSize=B,oe.allowOverflow=true,oe.content=N,D.set(F,oe),O.push(oe),w=Math.max(w,oe.rect.height);}for(let k of O)k.rect.height=w;E+=w+i.height,I&&z===P-1&&E<this.virtualizer.visibleRect.height&&P++;}let _=g.getItem(g.getLastKey());if(_?.type==="loader"){let z=new ve(v,E,b,0),w=new Ye("loader",_.key,z);D.set(_.key,w);}this.layoutInfos=D,this.contentSize=new Oe(this.virtualizer.visibleRect.width,E);}getLayoutInfo(t){return this.layoutInfos.get(t)||null}getContentSize(){return this.contentSize}getVisibleLayoutInfos(t){let r=[];for(let o of this.layoutInfos.values())(o.rect.intersects(t)||this.virtualizer.isPersistedKey(o.key)||o.type==="loader")&&r.push(o);return r}updateItemSize(t,r){let o=this.layoutInfos.get(t);if(!r||!o)return false;if(r.height!==o.rect.height){let n=o.copy();return n.rect.height=r.height,n.estimatedSize=false,this.layoutInfos.set(t,n),true}return false}getDropTargetFromPoint(t,r,o){if(this.layoutInfos.size===0)return {type:"root"};t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=null;if(this.numColumns===1){let c=new ve(t,Math.max(0,r-this.gap.height),1,Math.max(1,this.gap.height*2)),d=this.getVisibleLayoutInfos(c),m=1/0;for(let p of d){if(!p.rect.intersects(c))continue;let y=Math.abs(p.rect.y-r),b=Math.abs(p.rect.maxY-r),f=Math.min(y,b);f<m&&(m=f,n=p.key);}}else {let c=new ve(Math.max(0,t-this.gap.width),r,this.gap.width*2,1),d=this.getVisibleLayoutInfos(c),m=1/0;for(let p of d){if(!p.rect.intersects(c))continue;let y=Math.abs(p.rect.x-t),b=Math.abs(p.rect.maxX-t),f=Math.min(y,b);f<m&&(m=f,n=p.key);}}let i=n!=null?this.getLayoutInfo(n):null;if(!i)return {type:"root"};let a={type:"item",key:i.key,dropPosition:"on"},l=this.numColumns===1?r:t,s=this.numColumns===1?i.rect.y:i.rect.x,u=this.numColumns===1?i.rect.height:i.rect.width;if(o(a))l<s+5?a.dropPosition="before":l>s+u-5&&(a.dropPosition="after");else {let c=s+u/2;l<=c&&o({...a,dropPosition:"before"})?a.dropPosition="before":l>=c&&o({...a,dropPosition:"after"})&&(a.dropPosition="after");}return a}getDropTargetLayoutInfo(t){let r=this.getLayoutInfo(t.key),o;return this.numColumns===1?o=new ve(r.rect.x,t.dropPosition==="before"?r.rect.y-this.gap.height/2-this.dropIndicatorThickness/2:r.rect.maxY+this.gap.height/2-this.dropIndicatorThickness/2,r.rect.width,this.dropIndicatorThickness):o=new ve(t.dropPosition==="before"?r.rect.x-this.gap.width/2-this.dropIndicatorThickness/2:r.rect.maxX+this.gap.width/2-this.dropIndicatorThickness/2,r.rect.y,this.dropIndicatorThickness,r.rect.height),new Ye("dropIndicator",t.key+":"+t.dropPosition,o)}};var Ia=48,Do=class extends eo{rowHeight;estimatedRowHeight;headingHeight;estimatedHeadingHeight;loaderHeight;dropIndicatorThickness;gap;padding;layoutNodes;contentSize;lastCollection;rootNodes;invalidateEverything;validRect;requestedRect;constructor(t={}){super(),this.rowHeight=t.rowHeight??null,this.estimatedRowHeight=t.estimatedRowHeight??null,this.headingHeight=t.headingHeight??null,this.estimatedHeadingHeight=t.estimatedHeadingHeight??null,this.loaderHeight=t.loaderHeight??null,this.dropIndicatorThickness=t.dropIndicatorThickness||2,this.gap=t.gap||0,this.padding=t.padding||0,this.layoutNodes=new Map,this.rootNodes=[],this.lastCollection=null,this.invalidateEverything=false,this.validRect=new ve,this.requestedRect=new ve,this.contentSize=new Oe;}get collection(){return this.virtualizer.collection}getLayoutInfo(t){return this.ensureLayoutInfo(t),this.layoutNodes.get(t)?.layoutInfo||null}getVisibleLayoutInfos(t){if(t.height>1){let n=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;t.y=Math.floor(t.y/n)*n,t.height=Math.ceil(t.height/n)*n;}this.layoutIfNeeded(t);let r=[],o=n=>{for(let i of n)this.isVisible(i,t)&&(r.push(i.layoutInfo),i.children&&o(i.children));};return o(this.rootNodes),r}layoutIfNeeded(t){if(this.lastCollection){this.requestedRect.containsRect(t)||(this.requestedRect=this.requestedRect.union(t),this.rootNodes=this.buildCollection());for(let r of this.virtualizer.persistedKeys)if(this.ensureLayoutInfo(r))return}}ensureLayoutInfo(t){return !this.layoutNodes.has(t)&&this.requestedRect.area<this.contentSize.area&&this.lastCollection?(this.requestedRect=new ve(0,0,1/0,1/0),this.rootNodes=this.buildCollection(),this.requestedRect=new ve(0,0,this.contentSize.width,this.contentSize.height),true):false}isVisible(t,r){return t.layoutInfo.rect.intersects(r)||t.layoutInfo.isSticky||t.layoutInfo.type==="header"||t.layoutInfo.type==="loader"||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){let r=t.layoutOptions;return t.sizeChanged||this.rowHeight!==(r?.rowHeight??this.rowHeight)||this.headingHeight!==(r?.headingHeight??this.headingHeight)||this.loaderHeight!==(r?.loaderHeight??this.loaderHeight)||this.gap!==(r?.gap??this.gap)||this.padding!==(r?.padding??this.padding)}shouldInvalidateLayoutOptions(t,r){return t.rowHeight!==r.rowHeight||t.estimatedRowHeight!==r.estimatedRowHeight||t.headingHeight!==r.headingHeight||t.estimatedHeadingHeight!==r.estimatedHeadingHeight||t.loaderHeight!==r.loaderHeight||t.dropIndicatorThickness!==r.dropIndicatorThickness||t.gap!==r.gap||t.padding!==r.padding}update(t){let r=this.virtualizer.collection;this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.requestedRect=this.virtualizer.visibleRect.copy(),this.layoutNodes.clear());let o=t.layoutOptions;if(this.rowHeight=o?.rowHeight??this.rowHeight,this.estimatedRowHeight=o?.estimatedRowHeight??this.estimatedRowHeight,this.headingHeight=o?.headingHeight??this.headingHeight,this.estimatedHeadingHeight=o?.estimatedHeadingHeight??this.estimatedHeadingHeight,this.loaderHeight=o?.loaderHeight??this.loaderHeight,this.dropIndicatorThickness=o?.dropIndicatorThickness??this.dropIndicatorThickness,this.gap=o?.gap??this.gap,this.padding=o?.padding??this.padding,this.rootNodes=this.buildCollection(),this.lastCollection&&r!==this.lastCollection)for(let n of this.lastCollection.getKeys())r.getItem(n)||this.layoutNodes.get(n)&&this.layoutNodes.delete(n);this.lastCollection=r,this.invalidateEverything=false,this.validRect=this.requestedRect.copy();}buildCollection(t=this.padding){let r=this.virtualizer.collection,o=[...r],n=o.filter(l=>l.type==="loader"),i=[],a=r?.size===0;a&&(t=0);for(let l of o){let s=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;if(l.type==="item"&&t+s<this.requestedRect.y&&!this.isValid(l,t)){t+=s;continue}let u=this.buildChild(l,this.padding,t,null);if(t=u.layoutInfo.rect.maxY+this.gap,i.push(u),l.type==="loader"){let c=n.indexOf(l);n.splice(c,1);}if((l.type==="item"||l.type==="loader")&&t>this.requestedRect.maxY){let c=o.indexOf(l);for(let d of n){let m=o.indexOf(d);t+=(m-c-1)*s;let p=this.buildChild(d,this.padding,t,null);i.push(p),t=p.layoutInfo.rect.maxY,c=m;}t+=(o.length-c-1)*s;break}}return t-=this.gap,t+=a?0:this.padding,this.contentSize=new Oe(this.virtualizer.visibleRect.width,t),i}isValid(t,r){let o=this.layoutNodes.get(t.key);return !this.invalidateEverything&&!!o&&o.node===t&&r===o.layoutInfo.rect.y&&o.layoutInfo.rect.intersects(this.validRect)&&o.validRect.containsRect(o.layoutInfo.rect.intersection(this.requestedRect))}buildChild(t,r,o,n){if(this.isValid(t,o))return this.layoutNodes.get(t.key);let i=this.buildNode(t,r,o);return i.layoutInfo.parentKey=n??null,i.layoutInfo.allowOverflow=true,this.layoutNodes.set(t.key,i),i}buildNode(t,r,o){switch(t.type){case "section":return this.buildSection(t,r,o);case "item":return this.buildItem(t,r,o);case "header":return this.buildSectionHeader(t,r,o);case "loader":return this.buildLoader(t,r,o);case "separator":return this.buildItem(t,r,o);default:throw new Error("Unsupported node type: "+t.type)}}buildLoader(t,r,o){let n=new ve(r,o,this.padding,0),i=new Ye("loader",t.key,n);return n.width=this.virtualizer.contentSize.width-this.padding-r,n.height=t.props.isLoading?this.loaderHeight??this.rowHeight??this.estimatedRowHeight??Ia:0,{layoutInfo:i,validRect:n.intersection(this.requestedRect)}}buildSection(t,r,o){let n=this.virtualizer.collection,i=this.virtualizer.visibleRect.width-this.padding,a=new ve(r,o,i-r,0),l=new Ye(t.type,t.key,a),s=o,u=0,c=[];for(let d of Ee(t,n)){let m=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;if(o+m<this.requestedRect.y&&!this.isValid(t,o)){o+=m,u++;continue}let p=this.buildChild(d,r,o,l.key);if(o=p.layoutInfo.rect.maxY+this.gap,c.push(p),o>this.requestedRect.maxY){o+=([...Ee(t,n)].length-(c.length+u))*m;break}}return o-=this.gap,a.height=o-s,{layoutInfo:l,children:c,validRect:l.rect.intersection(this.requestedRect),node:t}}buildSectionHeader(t,r,o){let n=this.virtualizer.visibleRect.width-this.padding,i=this.headingHeight,a=false;if(i==null){let c=this.layoutNodes.get(t.key)?.layoutInfo;if(c){let d=this.virtualizer.collection.getItem(t.key),m=this.lastCollection?this.lastCollection.getItem(t.key):null;i=c.rect.height,a=n!==c.rect.width||d!==m||c.estimatedSize;}else i=t.rendered?this.estimatedHeadingHeight:0,a=true;}i==null&&(i=Ia);let l=new ve(r,o,n-r,i),s=new Ye("header",t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect.intersection(this.requestedRect),node:t}}buildItem(t,r,o){let n=this.virtualizer.visibleRect.width-this.padding-r,i=this.rowHeight,a=false;if(i==null){let u=this.layoutNodes.get(t.key);u?(i=u.layoutInfo.rect.height,a=n!==u.layoutInfo.rect.width||t!==u.node||u.layoutInfo.estimatedSize):(i=this.estimatedRowHeight,a=true);}i==null&&(i=Ia);let l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect,node:t}}updateItemSize(t,r){let o=this.layoutNodes.get(t);if(!o)return false;let n=this.virtualizer.collection,i=o.layoutInfo;if(i.estimatedSize=false,i.rect.height!==r.height){let a=i.copy();a.rect.height=r.height,o.layoutInfo=a,this.validRect.height=Math.min(this.validRect.height,i.rect.y-this.validRect.y),this.requestedRect.height+=a.rect.height-i.rect.height,this.updateLayoutNode(t,i,a);let l=i.parentKey!=null?n.getItem(i.parentKey):null;for(;l;)this.updateLayoutNode(l.key,i,a),l=l.parentKey!=null?n.getItem(l.parentKey):null;return true}return false}updateLayoutNode(t,r,o){let n=this.layoutNodes.get(t);n&&(n.validRect=n.validRect.intersection(this.validRect),n.layoutInfo===r&&(n.layoutInfo=o));}getContentSize(){return this.contentSize}getDropTargetFromPoint(t,r,o){t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=new ve(t,Math.max(0,r-this.gap),1,Math.max(1,this.gap*2)),i=this.getVisibleLayoutInfos(n),a=null,l=1/0;for(let d of i){if(!d.rect.intersects(n))continue;let m=Math.abs(d.rect.y-r),p=Math.abs(d.rect.maxY-r),y=Math.min(m,p);y<l&&(l=y,a=d.key);}if(a==null||this.virtualizer.collection.size===0)return {type:"root"};let s=this.getLayoutInfo(a);if(!s)return null;let u=s.rect,c={type:"item",key:s.key,dropPosition:"on"};return o(c)?r<=u.y+10&&o({...c,dropPosition:"before"})?c.dropPosition="before":r>=u.maxY-10&&o({...c,dropPosition:"after"})&&(c.dropPosition="after"):r<=u.y+u.height/2&&o({...c,dropPosition:"before"})?c.dropPosition="before":o({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(t){let r=this.getLayoutInfo(t.key),o;if(t.dropPosition==="before")o=new ve(r.rect.x,Math.max(0,r.rect.y-this.dropIndicatorThickness/2),r.rect.width,this.dropIndicatorThickness);else if(t.dropPosition==="after"){let n=this.collection.getItem(t.key);if(n){let i=n.level??0,a=this.collection.getKeyAfter(t.key);for(;a!=null;){let l=this.collection.getItem(a);if(!l||l.level<=i)break;r=this.getLayoutInfo(a)||r,a=this.collection.getKeyAfter(a);}}o=new ve(r.rect.x,r.rect.maxY-this.dropIndicatorThickness/2,r.rect.width,this.dropIndicatorThickness);}else o=r.rect;return new Ye("dropIndicator",t.key+":"+t.dropPosition,o)}};var i1=48,Ys=class extends Do{lastCollection=null;columnWidths=new Map;stickyColumnIndices;lastPersistedKeys=null;persistedIndices=new Map;constructor(t){super(t),this.stickyColumnIndices=[];}get collection(){return this.virtualizer.collection}columnsChanged(t,r){return !r||t.columns!==r.columns&&t.columns.length!==r.columns.length||t.columns.some((o,n)=>o.key!==r.columns[n].key||o.props.width!==r.columns[n].props.width||o.props.minWidth!==r.columns[n].props.minWidth||o.props.maxWidth!==r.columns[n].props.maxWidth)}shouldInvalidateLayoutOptions(t,r){return t.columnWidths!==r.columnWidths||super.shouldInvalidateLayoutOptions(t,r)}update(t){let r=this.virtualizer.collection;if(t.layoutOptions?.columnWidths){for(let[o,n]of t.layoutOptions.columnWidths)if(this.columnWidths.get(o)!==n){this.columnWidths=t.layoutOptions.columnWidths,t.sizeChanged=true;break}}else if(t.sizeChanged||this.columnsChanged(r,this.lastCollection)){let o=new ti({});this.columnWidths=o.buildColumnWidths(this.virtualizer.visibleRect.width-this.padding*2,r,new Map),t.sizeChanged=true;}super.update(t);}buildCollection(){this.stickyColumnIndices=[];let t=this.virtualizer.collection;if(t.head?.key===-1)return [];for(let n of t.columns)(this.isStickyColumn(n)||t.rowHeaderColumnKeys.has(n.key))&&this.stickyColumnIndices.push(n.index);let r=this.buildTableHeader();this.layoutNodes.set(r.layoutInfo.key,r);let o=this.buildBody(r.layoutInfo.rect.maxY+this.gap);return this.lastPersistedKeys=null,o.layoutInfo.rect.width=Math.max(r.layoutInfo.rect.width,o.layoutInfo.rect.width),this.contentSize=new Oe(o.layoutInfo.rect.width+this.padding*2,o.layoutInfo.rect.maxY+this.padding),[r,o]}buildTableHeader(){let t=this.virtualizer.collection,r=new ve(this.padding,this.padding,0,0),o=new Ye("header",t.head?.key??"header",r);o.isSticky=true,o.zIndex=1;let n=this.padding,i=0,a=[];for(let l of t.headerRows){let s=this.buildChild(l,this.padding,n,o.key);s.layoutInfo.parentKey=o.key,n=s.layoutInfo.rect.maxY,i=Math.max(i,s.layoutInfo.rect.width),s.index=a.length,a.push(s);}return r.width=i,r.height=n-this.padding,{layoutInfo:o,children:a,validRect:o.rect,node:t.head}}buildHeaderRow(t,r,o){let n=new ve(r,o,0,0),i=new Ye("headerrow",t.key,n),a=0,l=[];for(let s of Ee(t,this.virtualizer.collection)){let u=this.buildChild(s,r,o,i.key);u.layoutInfo.parentKey=i.key,r=u.layoutInfo.rect.maxX,a=Math.max(a,u.layoutInfo.rect.height),u.index=l.length,l.push(u);}for(let[s,u]of l.entries())u.layoutInfo.zIndex=l.length-s+1;return this.setChildHeights(l,a),n.height=a,n.width=r-n.x,{layoutInfo:i,children:l,validRect:n,node:t}}setChildHeights(t,r){for(let o of t)o.layoutInfo.rect.height!==r&&(o.layoutInfo=o.layoutInfo.copy(),o.layoutInfo.rect.height=r);}getRenderedColumnWidth(t){let r=this.virtualizer.collection,o=t.colSpan??1,n=t.colIndex??t.index,i=0;for(let a=n;a<n+o;a++){let l=r.columns[a];l?.key!=null&&(i+=this.columnWidths.get(l.key)??0);}return i}getEstimatedHeight(t,r,o,n){let i=false;if(o==null){let a=this.layoutNodes.get(t.key);a?(o=a.layoutInfo.rect.height,i=t!==a.node||r!==a.layoutInfo.rect.width||a.layoutInfo.estimatedSize):(o=n??i1,i=true);}return {height:o,isEstimated:i}}getEstimatedRowHeight(){return this.rowHeight??this.estimatedRowHeight??i1}buildColumn(t,r,o){let n=this.getRenderedColumnWidth(t),{height:i,isEstimated:a}=this.getEstimatedHeight(t,n,this.headingHeight??this.rowHeight,this.estimatedHeadingHeight??this.estimatedRowHeight),l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.isSticky=this.isStickyColumn(t),s.zIndex=s.isSticky?2:1,s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect,node:t}}isStickyColumn(t){return false}buildBody(t){let r=this.virtualizer.collection,o=new ve(this.padding,t,0,0),n=new Ye("rowgroup",r.body.key,o),i=t,a=0,l=0,s=[],u=this.getEstimatedRowHeight()+this.gap,c=Ee(r.body,r);for(let m of c){if(t+u<this.requestedRect.y&&!this.isValid(m,t)){t+=u,a++;continue}let p=this.buildChild(m,this.padding,t,n.key);if(p.layoutInfo.parentKey=n.key,p.index=s.length,t=p.layoutInfo.rect.maxY+this.gap,l=Math.max(l,p.layoutInfo.rect.width),s.push(p),t>this.requestedRect.maxY){let y=r.size-(s.length+a),b=Tr(c);if(t+=y*u,b?.type==="loader"&&s.at(-1)?.layoutInfo.type!=="loader"){let f=this.buildChild(b,this.padding,t,n.key);f.layoutInfo.parentKey=n.key,f.index=r.size,l=Math.max(l,f.layoutInfo.rect.width),s.push(f),t=f.layoutInfo.rect.maxY;}break}}return r?.size===0?t=this.virtualizer.visibleRect.maxY:t-=this.gap,o.width=l,o.height=t-i,{layoutInfo:n,children:s,validRect:n.rect.intersection(this.requestedRect),node:r.body}}buildNode(t,r,o){switch(t.type){case "headerrow":return this.buildHeaderRow(t,r,o);case "item":return this.buildRow(t,r,o);case "column":case "placeholder":return this.buildColumn(t,r,o);case "cell":return this.buildCell(t,r,o);case "loader":return this.buildLoader(t,r,o);default:throw new Error("Unknown node type "+t.type)}}buildRow(t,r,o){let n=this.virtualizer.collection,i=new ve(r,o,0,0),a=new Ye("row",t.key,i),l=[],s=0;for(let u of Ee(t,n))if(u.type==="cell")if(r>this.requestedRect.maxX){let c=this.layoutNodes.get(u.key);if(c)c.layoutInfo.rect.x=r,r+=c.layoutInfo.rect.width;else break}else {let c=this.buildChild(u,r,o,a.key);r=c.layoutInfo.rect.maxX,s=Math.max(s,c.layoutInfo.rect.height),c.index=l.length,l.push(c);}return this.setChildHeights(l,s),i.width=this.layoutNodes.get(n.head?.key??"header").layoutInfo.rect.width,i.height=s,{layoutInfo:a,children:l,validRect:i.intersection(this.requestedRect),node:t}}buildCell(t,r,o){let n=this.getRenderedColumnWidth(t),{height:i,isEstimated:a}=this.getEstimatedHeight(t,n,this.rowHeight,this.estimatedRowHeight),l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.isSticky=this.isStickyColumn(t),s.zIndex=s.isSticky?2:1,s.estimatedSize=a,{layoutInfo:s,children:[],validRect:l,node:t}}getVisibleLayoutInfos(t){if(t.height>1){let o=this.getEstimatedRowHeight();t.y=Math.floor(t.y/o)*o,t.height=Math.ceil(t.height/o)*o;}this.layoutIfNeeded(t);let r=[];this.buildPersistedIndices();for(let o of this.rootNodes)r.push(o.layoutInfo),this.addVisibleLayoutInfos(r,o,t);return r}addVisibleLayoutInfos(t,r,o){if(!(!r.children||r.children.length===0))switch(r.layoutInfo.type){case "header":{for(let n of r.children)t.push(n.layoutInfo),this.addVisibleLayoutInfos(t,n,o);break}case "rowgroup":{let n=this.binarySearch(r.children,o.topLeft,"y"),i=this.binarySearch(r.children,o.bottomRight,"y"),a=this.persistedIndices.get(r.layoutInfo.key),l=0;for(;a&&l<a.length&&a[l]<n;){let u=a[l];u<r.children.length&&(t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o)),l++;}for(let u=n;u<=i;u++){for(;a&&l<a.length&&a[l]<u;)l++;t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o);}for(;a&&l<a.length;){let u=a[l++];u<r.children.length&&(t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o));}let s=r.children.at(-1);s?.layoutInfo.type==="loader"&&t.push(s.layoutInfo);break}case "headerrow":case "row":{let n=this.binarySearch(r.children,o.topLeft,"x"),i=this.binarySearch(r.children,o.topRight,"x"),a=0,l=this.persistedIndices.get(r.layoutInfo.key)||this.stickyColumnIndices;for(;a<l.length&&l[a]<n;){let s=l[a];s<r.children.length&&t.push(r.children[s].layoutInfo),a++;}for(let s=n;s<=i;s++){for(;a<l.length&&l[a]<s;)a++;t.push(r.children[s].layoutInfo);}for(;a<l.length;){let s=l[a++];s<r.children.length&&t.push(r.children[s].layoutInfo);}break}default:throw new Error("Unknown node type "+r.layoutInfo.type)}}binarySearch(t,r,o){let n=0,i=t.length-1;for(;n<=i;){let a=n+i>>1,l=t[a];if(o==="x"&&l.layoutInfo.rect.maxX<=r.x||o==="y"&&l.layoutInfo.rect.maxY<=r.y)n=a+1;else if(o==="x"&&l.layoutInfo.rect.x>r.x||o==="y"&&l.layoutInfo.rect.y>r.y)i=a-1;else return a}return Math.max(0,Math.min(t.length-1,n))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let t of this.virtualizer.persistedKeys){let r=this.layoutNodes.get(t)?.layoutInfo;for(;r&&r.parentKey;){let o=this.virtualizer.collection.getItem(r.key),n=this.persistedIndices.get(r.parentKey);n||(n=o?.type==="cell"||o?.type==="column"?[...this.stickyColumnIndices]:[],this.persistedIndices.set(r.parentKey,n));let i=this.layoutNodes.get(r.key)?.index;i!=null&&!n.includes(i)&&n.push(i),r=this.layoutNodes.get(r.parentKey)?.layoutInfo;}}for(let t of this.persistedIndices.values())t.sort((r,o)=>r-o);}}getDropTargetFromPoint(t,r,o){t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=new ve(t,Math.max(0,r-this.gap),1,Math.max(1,this.gap*2)),i=this.getVisibleLayoutInfos(n),a=null,l=1/0;for(let d of i){if(d.type!=="row"||!d.rect.intersects(n))continue;let m=Math.abs(d.rect.y-r),p=Math.abs(d.rect.maxY-r),y=Math.min(m,p);y<l&&(l=y,a=d.key);}if(a==null||this.virtualizer.collection.size===0)return {type:"root"};let s=this.getLayoutInfo(a);if(!s)return null;let u=s.rect,c={type:"item",key:s.key,dropPosition:"on"};return o(c)?r<=u.y+10&&o({...c,dropPosition:"before"})?c.dropPosition="before":r>=u.maxY-10&&o({...c,dropPosition:"after"})&&(c.dropPosition="after"):r<=u.y+u.height/2&&o({...c,dropPosition:"before"})?c.dropPosition="before":o({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(t){let r=super.getDropTargetLayoutInfo(t);return r.parentKey=this.virtualizer.collection.body.key,r}};var Sg=class extends Ye{column=0;copy(){let t=super.copy();return t.column=this.column,t}},Sr={minItemSize:new Oe(200,200),maxItemSize:new Oe(1/0,1/0),minSpace:new Oe(18,18),maxSpace:1/0,maxColumns:1/0,dropIndicatorThickness:2},Zs=class extends eo{contentSize=new Oe;layoutInfos=new Map;numColumns=0;dropIndicatorThickness=2;margin=0;shouldInvalidateLayoutOptions(t,r){return t.maxColumns!==r.maxColumns||t.dropIndicatorThickness!==r.dropIndicatorThickness||!(t.minItemSize||Sr.minItemSize).equals(r.minItemSize||Sr.minItemSize)||!(t.maxItemSize||Sr.maxItemSize).equals(r.maxItemSize||Sr.maxItemSize)||!(t.minSpace||Sr.minSpace).equals(r.minSpace||Sr.minSpace)||t.maxHorizontalSpace!==r.maxHorizontalSpace}update(t){let{minItemSize:r=Sr.minItemSize,maxItemSize:o=Sr.maxItemSize,minSpace:n=Sr.minSpace,maxHorizontalSpace:i=Sr.maxSpace,maxColumns:a=Sr.maxColumns,dropIndicatorThickness:l=Sr.dropIndicatorThickness}=t.layoutOptions||{};this.dropIndicatorThickness=l;let s=this.virtualizer.visibleRect.width,u=Math.min(o.width,s),c=Number.isFinite(o.height)?o.height:Math.floor(r.height/r.width*u),d=Math.floor(s/(r.width+n.width)),m=Math.max(1,Math.min(a,d)),p=s-n.width*Math.max(0,m),y=Math.floor(p/m);y=Math.max(r.width,Math.min(u,y));let b=(y-r.width)/Math.max(1,u-r.width),f=r.height+Math.floor((c-r.height)*b);f=Math.max(r.height,Math.min(c,f));let h=Math.min(Math.max(i,n.width),Math.floor((s-m*y)/(m+1)));this.margin=Math.floor((s-m*y-h*(m+1))/2);let v=Array(m).fill(n.height),g=new Map,x=(I,C)=>{let _=this.layoutInfos.get(I),z=f,w=true;_&&(z=_.rect.height,w=t.sizeChanged||_.estimatedSize||_.content!==C);let k=(m===this.numColumns&&_&&_.rect.y<this.virtualizer.visibleRect.maxY?_.column:void 0)??v.reduce(($,A,B)=>A<v[$]?B:$,0),M=h+k*(y+h)+this.margin,F=v[k],K=new ve(M,F,y,z),N=new Sg(C.type,I,K);N.estimatedSize=w,N.allowOverflow=true,N.content=C,N.column=k,g.set(I,N),v[k]+=N.rect.height+n.height;},T=this.virtualizer.collection,P=0;for(let I of T)if(I.type==="skeleton"){let C=[...v];for(;!v.every((_,z)=>_!==C[z])||Math.min(...v)<this.virtualizer.visibleRect.height;){let _=`${I.key}-${P++}`,z=this.layoutInfos.get(_)?.content||{...I};x(_,z);}break}else I.type!=="loader"&&x(I.key,I);let S=T.getItem(T.getLastKey());if(S?.type==="loader"){let I=new ve(h,v[0],y,0),C=new Ye("loader",S.key,I);g.set(S.key,C);}let D=T?.size===0&&T.getItem(T.getFirstKey())?.type!=="skeleton"?0:Math.max(...v);this.contentSize=new Oe(this.virtualizer.visibleRect.width,D),this.layoutInfos=g,this.numColumns=m;}getLayoutInfo(t){return this.layoutInfos.get(t)}getContentSize(){return this.contentSize}getVisibleLayoutInfos(t){let r=[];for(let o of this.layoutInfos.values())(o.rect.intersects(t)||this.virtualizer.isPersistedKey(o.key)||o.type==="loader")&&r.push(o);return r}updateItemSize(t,r){let o=this.layoutInfos.get(t);if(!r||!o)return false;if(r.height!==o.rect.height){let n=o.copy();return n.rect.height=r.height,n.estimatedSize=false,this.layoutInfos.set(t,n),true}return false}getKeyRightOf(t){let r=this.getLayoutInfo(t);if(!r)return null;let o=new ve(r.rect.maxX,r.rect.y,this.virtualizer.visibleRect.maxX-r.rect.maxX,r.rect.height),n=this.getVisibleLayoutInfos(o),i=null,a=1/0;for(let l of n){if(l.key===t)continue;let s=l.rect.x-o.x,u=Math.min(l.rect.maxY,o.maxY)-Math.max(l.rect.y,o.y),c=s-u;c<a&&(a=c,i=l.key);}return i}getKeyLeftOf(t){let r=this.getLayoutInfo(t);if(!r)return null;let o=new ve(0,r.rect.y,r.rect.x,r.rect.height),n=this.getVisibleLayoutInfos(o),i=null,a=1/0;for(let l of n){if(l.key===t)continue;let s=o.maxX-l.rect.maxX,u=Math.min(l.rect.maxY,o.maxY)-Math.max(l.rect.y,o.y),c=s-u;c<a&&(a=c,i=l.key);}return i}getKeyRange(t,r){let o=this.getLayoutInfo(t),n=this.getLayoutInfo(r);if(!o||!n)return [];let i=o.rect.union(n.rect),a=[];for(let l of this.layoutInfos.values())i.intersection(l.rect).area>l.rect.area/2&&a.push(l.key);return a}getDropTargetFromPoint(t,r){if(this.layoutInfos.size===0)return {type:"root"};t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let o=this.virtualizer.keyAtPoint(new mr(t,r));return o==null?{type:"root"}:{type:"item",key:o,dropPosition:"on"}}};var Sp=class extends Ys{useLayoutOptions(){let t=useContext(gp);return useMemo(()=>({columnWidths:t?.columnWidths}),[t?.columnWidths])}};function Js(e){return {dragAndDropHooks:useMemo(()=>{let{onDrop:r,onInsert:o,onItemDrop:n,onReorder:i,onMove:a,onRootDrop:l,getItems:s,renderDragPreview:u,renderDropIndicator:c,dropTargetDelegate:d}=e,m=!!s,p=!!(r||o||n||i||a||l),y={};return m&&(y.useDraggableCollectionState=function(f){return Da({...f,...e})},y.useDraggableCollection=la,y.useDraggableItem=Qo,y.DragPreview=en,y.renderDragPreview=u,y.isVirtualDragging=zb),p&&(y.useDroppableCollectionState=function(f){return ka({...f,...e})},y.useDroppableItem=ia,y.useDroppableCollection=function(f,h,v){return na({...f,...e},h,v)},y.useDropIndicator=aa,y.renderDropIndicator=c,y.dropTargetDelegate=d,y.ListDropTargetDelegate=tn),y},[e])}}var Ra=null;function O$(e=false){if(Ra===null||e){let t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";let o=document.createElement("div"),n=o.style;return n.width="100px",n.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?Ra="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Ra="negative":Ra="positive-ascending"),document.body.removeChild(t),Ra}return Ra}function a1(e,t){let{scrollLeft:r}=e;if(t==="rtl"){let{scrollWidth:o,clientWidth:n}=e;switch(O$()){case "negative":r=-r;break;case "positive-descending":r=o-n-r;break}}return r}function V$(e,t){t=ge(t);let{scrollViewProps:r,contentProps:o}=Dp(e,t);return jsx("div",{role:"presentation",...r,ref:t,children:jsx("div",{...o,children:e.children})})}Mo.forwardRef(V$);function Dp(e,t){let{contentSize:r,onVisibleRectChange:o,innerStyle:n,onScrollStart:i,onScrollEnd:a,scrollDirection:l="both",...s}=e,u=useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:false}).current,{direction:c}=J(),[d,m]=useState(false),p=useCallback(T=>{T.target===T.currentTarget&&(e.onScroll&&e.onScroll(T),flushSync(()=>{let P=T.currentTarget.scrollTop,S=a1(T.currentTarget,c);u.scrollTop=Math.max(0,Math.min(P,r.height-u.height)),u.scrollLeft=Math.max(0,Math.min(S,r.width-u.width)),o(new ve(u.scrollLeft,u.scrollTop,u.width,u.height)),u.isScrolling||(u.isScrolling=true,m(true),window.dispatchEvent(new Event("tk.disconnect-observer")),i&&i());let E=Date.now();u.scrollEndTime<=E+50&&(u.scrollEndTime=E+300,u.scrollTimeout!=null&&clearTimeout(u.scrollTimeout),u.scrollTimeout=setTimeout(()=>{u.isScrolling=false,m(false),u.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),a&&a();},300));}));},[e,c,u,r,o,i,a]);gt(t,"scroll",p),useEffect(()=>()=>{u.scrollTimeout!=null&&clearTimeout(u.scrollTimeout),u.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"));},[]);let y=useRef(false),b=ue(T=>{let P=t.current;if(!P||y.current)return;y.current=true;let S=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,E=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),D=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight"),I=P.clientWidth,C=P.clientHeight,_=S&&!E?1/0:I,z=S&&!D?1/0:C;(u.width!==_||u.height!==z)&&(u.width=_,u.height=z,T(()=>{o(new ve(u.scrollLeft,u.scrollTop,_,z));}),(!S&&I!==P.clientWidth||C!==P.clientHeight)&&(u.width=P.clientWidth,u.height=P.clientHeight,T(()=>{o(new ve(u.scrollLeft,u.scrollTop,u.width,u.height));}))),y.current=false;}),f=useRef(null),[h,v]=useState({});ae(()=>{if(!y.current&&(f.current==null||!r.equals(f.current)))if(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"){v({}),f.current=r;return}else queueMicrotask(()=>b(flushSync));f.current=r;}),ae(()=>{b(T=>T());},[h]);let g=useCallback(()=>{b(flushSync);},[b]);Br({ref:t,box:"border-box",onResize:g});let x={padding:0,...s.style};return l==="horizontal"?(x.overflowX="auto",x.overflowY="hidden"):l==="vertical"||r.width===u.width?(x.overflowY="auto",x.overflowX="hidden"):x.overflow="auto",n={width:Number.isFinite(r.width)?r.width:void 0,height:Number.isFinite(r.height)?r.height:void 0,pointerEvents:d?"none":"auto",position:"relative",...n},{isScrolling:d,scrollViewProps:{...s,style:x},contentProps:{role:"presentation",style:n}}}function c1(e){let{layoutInfo:t,virtualizer:r,ref:o}=e,n=t?.key,i=useCallback(()=>{if(n!=null&&o.current){let a=H$(o.current);r.updateItemSize(n,a);}},[r,n,o]);return ae(()=>{t?.estimatedSize&&i();}),{updateSize:i}}function H$(e){let t=e.style.height;e.style.height="";let r=new Oe(e.scrollWidth,e.scrollHeight);return e.style.height=t,r}function kp(e){let{style:t,className:r,layoutInfo:o,virtualizer:n,parent:i,children:a}=e,{direction:l}=J(),s=useRef(null);return c1({layoutInfo:o,virtualizer:n,ref:s}),jsx("div",{role:"presentation",ref:s,className:r,style:{...p1(o,l,i),...t},children:a})}var d1=new WeakMap;function p1(e,t,r){let o=t==="rtl"?"right":"left",n=d1.get(e);if(n&&n[o]!=null){if(!r)return n;let l=e.rect.y-r.rect.y,s=e.rect.x-r.rect.x;if(n.top===l&&n[o]===s)return n}let i={top:e.rect.y-(r&&!(r.allowOverflow&&e.isSticky)?r.rect.y:0),[o]:e.rect.x-(r&&!(r.allowOverflow&&e.isSticky)?r.rect.x:0),width:e.rect.width,height:e.rect.height};Object.entries(i).forEach(([l,s])=>{Number.isFinite(s)||(i[l]=void 0);});let a={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",opacity:e.opacity,zIndex:e.zIndex,transform:e.transform??void 0,contain:"size layout style",...i};return d1.set(e,a),a}var b1=createContext(null),g1=createContext(null);function h1(e){let{children:t,layout:r,layoutOptions:o}=e,n=useMemo(()=>typeof r=="function"?new r:r,[r]),i=useMemo(()=>({isVirtualized:true,layoutDelegate:n,dropTargetDelegate:n.getDropTargetFromPoint?n:void 0,CollectionRoot:W$,CollectionBranch:q$}),[n]);return jsx(wt.Provider,{value:i,children:jsx(g1.Provider,{value:{layout:n,layoutOptions:o},children:t})})}function W$({collection:e,persistedKeys:t,scrollRef:r,renderDropIndicator:o}){let{layout:n,layoutOptions:i}=useContext(g1),a=n.useLayoutOptions?.(),l=Cg({layout:n,collection:e,renderView:(u,c)=>c?.render?.(c),onVisibleRectChange(u){let c=r?.current;c&&(c.scrollLeft=u.x,c.scrollTop=u.y);},persistedKeys:t,layoutOptions:useMemo(()=>i&&a?{...i,...a}:i||a,[i,a])}),{contentProps:s}=Dp({onVisibleRectChange:l.setVisibleRect,contentSize:l.contentSize,onScrollStart:l.startScrolling,onScrollEnd:l.endScrolling},r);return jsx("div",{...s,children:jsx(b1.Provider,{value:l,children:v1(null,l.visibleViews,o)})})}function q$({parent:e,renderDropIndicator:t}){let o=useContext(b1).virtualizer.getVisibleView(e.key);return v1(o,Array.from(o.children),t)}function v1(e,t,r){return t.map(o=>X$(e,o,r))}function X$(e,t,r){let o=jsx(kp,{layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e?.layoutInfo,children:t.rendered},t.key),{collection:n,layout:i}=t.virtualizer,a=t.content;return a?.type==="item"&&r&&i.getDropTargetLayoutInfo&&(o=jsxs(Mo.Fragment,{children:[m1(e,t,{type:"item",key:t.content.key,dropPosition:"before"},r),o,qb(n,a,l=>m1(e,t,l,r))]},t.key)),o}function m1(e,t,r,o){let n=o(r);if(n){let i=t.virtualizer.layout.getDropTargetLayoutInfo(r);n=jsx(kp,{layoutInfo:i,virtualizer:t.virtualizer,parent:e?.layoutInfo,children:n});}return n}function _we(e){return e.closest(".BaselineUI-Portal")||e.closest(".BaselineUI-Popover-Content")}function x1(e){return typeof e=="object"&&typeof e.left=="number"&&typeof e.top=="number"&&(typeof e.width=="number"||e.width===void 0)&&(typeof e.height=="number"||e.height===void 0)}function ie(e,t){if(!e)throw new Error(t||"Invariant failed")}function L(...e){let t=e.filter(Boolean),r=[];for(let o of t)if(Array.isArray(o))r.push(L(...o));else if(typeof o=="object"){let n=Object.keys(o);for(let i of n)o[i]&&r.push(i);}else typeof o=="string"&&r.push(o);return r.join(" ")}function Ep(e,t){if(!e)return null;if(typeof e=="string")return t.querySelector(e);if(e instanceof HTMLElement)return e;if("current"in e)return e.current}function zp({text:e,fontSize:t=16,fontFamily:r="Arial",fontWeight:o="normal",fontStyle:n="normal",font:i}){let l=document.createElement("canvas").getContext("2d");if(!l)return {width:0,height:0};l.font=i||`${n} ${o} ${t}px ${r}`;let s=l.measureText(e);return {width:s.width,height:s.actualBoundingBoxAscent+s.actualBoundingBoxDescent}}function Nwe({text:e,maxWidth:t,initialFontSize:r=50,fontFamily:o="Arial",fontWeight:n="normal",fontStyle:i="normal"}){let{width:a}=zp({text:e,fontSize:r,fontFamily:o,fontWeight:n,fontStyle:i}),l=r,s=a;for(;s>t;)l-=.5,s=zp({text:e,fontSize:l,fontFamily:o,fontWeight:n,fontStyle:i}).width;return Math.max(l,1)}var T1=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'];function Owe(e){return T1.some(t=>e.matches(t))}function P1(e){return e.querySelectorAll(T1.join(", "))}function Fwe(e=document.documentElement){let t=e.getRootNode();return t instanceof Document||t instanceof ShadowRoot?t.activeElement:null}var Z$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C1(e){return e instanceof HTMLInputElement&&!Z$.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function wp(e){let t=e.getBoundingClientRect(),r=j(e),n=e.getRootNode()instanceof r.ShadowRoot?e.getRootNode().host.getBoundingClientRect():{left:0,top:0};return {x:t.left+r.scrollX-n.left,y:t.top+r.scrollY-n.top,width:t.width,height:t.height}}function Kwe(e,t){let r=wp(e);return {x:r.x+(t?.x??0),y:r.y+(t?.y??0)}}var _p=(e,t)=>(e+t)/2;function Ip(e,t=true){if(!e.length)return "";let r=e.length;if(r<4)return "";let o=e[0],n=e[1],i=e[2],a=`M${o[0].toFixed(2)},${o[1].toFixed(2)} Q${n[0].toFixed(2)},${n[1].toFixed(2)} ${_p(n[0],i[0]).toFixed(2)},${_p(n[1],i[1]).toFixed(2)} T`;for(let l=2,s=r-1;l<s;l++)o=e[l],n=e[l+1],a+=`${_p(o[0],n[0]).toFixed(2)},${_p(o[1],n[1]).toFixed(2)} `;return t&&(a+="Z"),a}function J$(e){return e.split("/").pop()?.split(".").shift()}function S1(e){let t={};for(let r of Object.keys(e)){let o=J$(r)??"";t[o]=e[r];}return t}function ce(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>!!t))}function Eg(e,t){return typeof e=="boolean"?e?t:void 0:{...t,...e}}function Uwe(e,t){ie(t>=0&&t<=100,"Percent must be between 0 and 100");let r=ke(e),o=r.getChannelValue("red"),n=r.getChannelValue("green"),i=r.getChannelValue("blue"),a=Math.round(o+(255-o)*t/100),l=Math.round(n+(255-n)*t/100),s=Math.round(i+(255-i)*t/100);return `#${a.toString(16)}${l.toString(16)}${s.toString(16)}`}function wg(e,t){if(e=e.trim(),e.includes(" "))return false;try{return new URL(e),!0}catch{return t?wg(`https://${e}`):false}}function D1(e,t=false){return at()?e.replace("Ctrl+",t?"\u2318":"Cmd+").replace("Alt+",t?"\u2325":"Option+").replace("Shift+",t?"\u21E7":"Shift+").replace("Enter+",t?"\u21A9":"Enter+").replace("Space+",t?"\u2423":"Space+").replace("Enter",t?"\u21A9":"Enter"):e}var k1=e=>new DOMParser().parseFromString(Q$__default.sanitize(e),"text/html").body.textContent||"";function Qwe(e){try{let t=e.ownerDocument;return t?.defaultView?t.defaultView!==window.top:!1}catch{return true}}function t_e(e){return e?e.getRootNode()instanceof ShadowRoot:false}function Rp(e){return !!e&&"label"in e&&!!e.label}function Lp(e){return !!e&&"children"in e&&!!e.children&&"title"in e}function tH(e){return Lp(e)?jsx(Nc,{items:e.children,title:e.title,"aria-label":e.title,children:t=>jsx(Mr,{textValue:t.label,children:t.label},t.id)},e.id):jsx(Mr,{textValue:e.label,children:e.label},e.id)}function Dr(){return useCallback(e=>tH(e),[])}function Mp(e,t,r){let{direction:o}=J(),n=Da({...e,collection:t.collection,selectionManager:t.selectionManager,isDisabled:!e.enableReorder,getItems:e.getItems||(l=>[...l].map(s=>{let u=t.collection.getItem(s);return ie(u,"Expected item to be defined."),{"text/plain":u.textValue}}))});la(e,n,r);let i=ka({...e,collection:t.collection,selectionManager:t.selectionManager}),{collectionProps:a}=na({...e,keyboardDelegate:new ct({collection:t.collection,disabledKeys:t.disabledKeys,ref:r,orientation:e.orientation,layout:e.layout,direction:o}),dropTargetDelegate:new tn(t.collection,r)},i,r);return {collectionProps:a,dragState:n,dropState:i}}function rH(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function oH(e){var t=rH(e,"string");return typeof t=="symbol"?t:String(t)}function nH(e,t,r){return t=oH(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true}):e[t]=r,e}function z1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o);}return r}function E1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z1(Object(r),true).forEach(function(o){nH(e,o,r[o]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o));});}return e}function w1(e,t){var r={};for(var o in e)r[o]=t(e[o],o);return r}var iH=(e,t,r)=>{for(var o of Object.keys(e)){var n;if(e[o]!==((n=t[o])!==null&&n!==void 0?n:r[o]))return false}return true},V=e=>{var t=r=>{var o=e.defaultClassName,n=E1(E1({},e.defaultVariants),r);for(var i in n){var a,l=(a=n[i])!==null&&a!==void 0?a:e.defaultVariants[i];if(l!=null){var s=l;typeof s=="boolean"&&(s=s===true?"true":"false");var u=e.variantClassNames[i][s];u&&(o+=" "+u);}}for(var[c,d]of e.compoundVariants)iH(c,n,e.defaultVariants)&&(o+=" "+d);return o};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return w1(e.variantClassNames,r=>w1(r,o=>o.split(" ")[0]))}},t};var Ap=V({defaultClassName:"_6n12k9b _1yep5z6ls _1yep5z6lr _1yep5z6ic _1yep5z6la",variantClassNames:{isDropTarget:{true:"_1yep5z6140"},orientation:{vertical:"_1yep5z617q",horizontal:"_1yep5z617r"}},defaultVariants:{},compoundVariants:[]}),_1="_6n12k98 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu",I1=V({defaultClassName:"_6n12k99 _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]}),R1=V({defaultClassName:"_6n12k91 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6la _1yep5z6ld _1yep5z6lq _1yep5z6lp _1yep5z6ln _1yep5z6lk",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u _1yep5z617x _1yep5z614g _1yep5z614h _1yep5z614i"},isHovered:{true:"_1yep5z6125",false:"_1yep5z6124"},isFirstChild:{true:"_6n12k95"},isLastChild:{true:"_6n12k96"},isDisabled:{true:"z9nup82 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),L1="_6n12k9f _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",M1="_6n12k90";var A1=V({defaultClassName:"gukncs0",variantClassNames:{isVertical:{true:"gukncs1"},isSecondary:{true:"gukncs2"}},defaultVariants:{},compoundVariants:[]});var De=Mo.forwardRef(({className:e,style:t,variant:r="primary",orientation:o="horizontal",UNSAFE_omitRole:n,elementType:i="div","data-block-id":a,"data-block-class":l,...s},u)=>{let{separatorProps:c}=Pd({...s,orientation:o,elementType:i});return jsx(i,{...c,className:L(A1({isVertical:o==="vertical",isSecondary:r==="secondary"}),"BaselineUI-Separator",e),"data-orientation":o,"data-block-id":a,"data-block-class":l,style:t,role:n?void 0:c.role,ref:u})});De.displayName="Separator";function cH(e){return sprinkles.properties.has(e)}var X=Mo.forwardRef(({elementType:e="div",children:t,...r},o)=>{let n=e,{sprinkleProps:i,domProps:a}=useMemo(()=>{let l={},s={};for(let u in r)cH(u)?l[u]=r[u]:s[u]=r[u];return {sprinkleProps:l,domProps:s}},[r]);return jsx(n,{...a,className:L(sprinkles(i),"BaselineUI-Box",a.className),ref:o,children:t})});X.displayName="Box";var Ma=Mo.forwardRef(({item:e,isDisabled:t,isFocusVisible:r,isSelected:o,liProps:n,showSelectedIcon:i,description:a,descriptionProps:l,labelProps:s,isFocused:u,isPressed:c,_state:d},m)=>{ie(e.value&&Rp(e.value),"Item cannot be a section");let p=useRef(null),{icon:y,label:b}=e.value,{hoverProps:f,isHovered:h}=re({isDisabled:t},p),v=ce({"data-selected":o,"data-disabled":t,"data-focused":u,"data-hovered":h,"data-pressed":c,"data-focus-visible":r,"data-selection-mode":d.selectionManager.selectionMode});return jsxs("li",{...R(n,f,v),className:L(R1({isHovered:h,isFocused:r,isFirstChild:d.collection.getFirstKey()===e.key,isLastChild:d.collection.getLastKey()===e.key,isDisabled:t}),n.className,"BaselineUI-ListBox-Option"),style:n.style,ref:Z(m,p),children:[jsxs(X,{display:"flex",alignItems:"center",gap:"lg",children:[i?jsx("span",{"aria-hidden":true,style:{height:24,width:24},children:o?jsx(CheckmarkIcon,{size:24}):null}):null,y?jsx(y,{size:24}):null,jsx("span",{...s,children:b})]}),a?jsx("span",{className:I1({isDisabled:t}),...l,children:a}):null]})});Ma.displayName="DefaultListOption";var Aa=({dropState:e,orientation:t="vertical",dropIndicatorStyle:r,dropIndicatorClassName:o,renderDropIndicator:n=({isDropTarget:a,isHidden:l,dropIndicatorProps:s,orientation:u},c)=>l?null:jsx("li",{...s,ref:c,"data-drop-target":a,className:L(Ap({isDropTarget:a,orientation:u}),"BaselineUI-DropIndicator",o),style:r}),...i})=>{let a=Mo.useRef(null),{dropIndicatorProps:l,isHidden:s,isDropTarget:u}=aa(i,e,a);return n({dropIndicatorProps:{...l,role:"option"},isHidden:s,isDropTarget:u,orientation:t},a)};function ii(e,t,r){return typeof e=="function"?e(t,r):e}function Np(e,t,r){return typeof e=="function"?e(t,r):e}function eu(e,t){return typeof e=="function"?e(t):e}function Op(e,t){return typeof e=="function"?e(t):e}var K1=({item:e,children:t,state:r,dragState:o,...n})=>{let{dragProps:i}=Qo({key:e.key},o);return jsxs(Fragment,{children:[jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"before"},...n}),t(i),r.collection.getKeyAfter(e.key)==null&&jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"after"},...n})]})};K1.displayName="DraggableListOption";var tu=Mo.forwardRef(({item:e,renderOption:t=(m,p,y)=>jsx(Ma,{item:m,liProps:p.optionProps,...p,ref:y}),showSelectedIcon:r,state:o,dragState:n,dropState:i,orientation:a,dropIndicatorStyle:l,dropIndicatorClassName:s,optionStyle:u,optionClassName:c},d)=>{let m=Mo.useRef(null),p=$i({key:e.key},o,m),{value:y}=e;ie(y&&Rp(y),"ListSection should not be passed to ListOption");let b={isFocusVisible:p.isFocusVisible,isSelected:p.isSelected,isFocused:p.isFocused,isDisabled:p.isDisabled,isPressed:p.isPressed},f={style:Np(u,y,b),className:ii(c,y,b)};return n&&i?jsx(K1,{orientation:a,state:o,item:e,dropState:i,dragState:n,dropIndicatorStyle:l,dropIndicatorClassName:s,children:h=>t(e,{...p,showSelectedIcon:r,_state:o,optionProps:{...R(p.optionProps,h),...f}},Z(m,d))}):t(e,{...p,showSelectedIcon:r,_state:o,optionProps:{...p.optionProps,...f}},Z(m,d))});tu.displayName="Option";var B1=({section:e,state:t,sectionClassName:r,sectionStyle:o,showSectionHeader:n,renderSectionHeader:i,withSectionHeaderPadding:a=false,...l})=>{let s=Mo.useRef(null),{itemProps:u,groupProps:c,headingProps:d}=Hi({heading:n?i?.(e,s)||e.rendered:void 0,"aria-label":e["aria-label"]}),m=t.collection.getChildren?.(e.key);ie(m,"children must be defined");let{value:p}=e;ie(p&&Lp(p),"section must be a ListSection");let y=typeof o=="function"?o(p):o,b=typeof r=="function"?r(p):r;return jsxs(Fragment,{children:[e.key===t.collection.getFirstKey()?null:jsx(De,{UNSAFE_omitRole:true}),jsxs("li",{...u,style:{...u.style,...y},className:L(M1,b,"BaselineUI-ListBox-Section"),children:[e.rendered&&n?i?.(e,s)||jsx(X,{...d,className:L("BaselineUI-ListBox-SectionHeader",L1),ref:s,paddingX:"lg",typography:"label.md.medium",color:"text.primary",paddingInlineStart:a?"5xl":"lg",paddingInlineEnd:"lg",children:e.rendered}):null,jsx("ul",{...c,children:[...m].map(f=>jsx(tu,{item:f,state:t,...l},f.key))})]})]})};function Vp({type:e="listbox",handle:t},r,o){let n=useCallback(a=>e==="listbox"?o.current?.querySelector(`[data-key="${a}"][role="option"]`):o.current?.querySelector(`[data-key="${a}"][role="row"]`),[e,o]),i=useCallback((a,l)=>{let s=n(a);s&&s?.scrollIntoView({block:"nearest",inline:"nearest",...l});},[n]);useImperativeHandle(t,()=>({scrollIntoView:i,setFocusedKey:a=>{r.selectionManager.setFocused(true),r.selectionManager.setFocusedKey(a),i(a),n(a)?.focus();}}),[i,r.selectionManager,n]),useGranularEffect(()=>{let a=o.current?.getRootNode(),l=a&&a instanceof ShadowRoot,s=r.selectionManager.focusedKey;l&&s&&i(s);},[r.selectionManager.focusedKey],[i,o]);}var CH=16,Bp=50,j1=30;function $p({ref:e,isDisabled:t}){let r=useRef(null),o=useRef({isScrollableX:true,isScrollableY:true}),n=useRef({x:0,y:0}),i=useRef(),a=useRef(0);useEffect(()=>{if(t||!e.current)return;let l=e.current,s=j(l),u=kt(l)?l:mt(l),c=s.getComputedStyle(u);r.current=u,o.current={isScrollableX:/(auto|scroll)/.test(c.overflowX),isScrollableY:/(auto|scroll)/.test(c.overflowY)};},[t,e]),useEffect(()=>{if(t||!e.current||!r.current)return;let l=r.current,s=()=>{if(!l)return;let{isScrollableX:p,isScrollableY:y}=o.current,{x:b,y:f}=n.current;p&&b!==0&&(l.scrollLeft+=b),y&&f!==0&&(l.scrollTop+=f),i.current=requestAnimationFrame(s);},u=(p,y)=>p<Bp?-j1*(1-p/Bp):p>y-Bp?j1*(1-(y-p)/Bp):0,c=(p,y,b,f)=>{let h=performance.now();if(h-a.current<CH)return;let v=u(p,b),g=u(y,f);(v!==n.current.x||g!==n.current.y)&&(n.current={x:v,y:g},a.current=h,(v!==0||g!==0)&&!i.current&&(i.current=requestAnimationFrame(s)));},d=p=>{if(p.preventDefault(),!l)return;let y=p,b=l.getBoundingClientRect(),f=y.clientX-b.left,h=y.clientY-b.top;c(f,h,b.width,b.height);},m=()=>{n.current={x:0,y:0},i.current&&(cancelAnimationFrame(i.current),i.current=void 0);};return l.addEventListener("dragover",d),l.addEventListener("dragend",m),l.addEventListener("drop",m),()=>{l.removeEventListener("dragover",d),l.removeEventListener("dragend",m),l.removeEventListener("drop",m),i.current&&cancelAnimationFrame(i.current);}},[t,e]);}var Ig=Mo.createContext(null),Rg=Mo.forwardRef(({className:e,layout:t="stack",orientation:r="vertical",showSelectedIcon:o=true,style:n,renderOption:i,enableReorder:a=false,"data-block-id":l,"data-block-class":s,renderDragPreview:u,onReorder:c,state:d,listBoxHandle:m,...p},y)=>{let b=Mo.useRef(null),{direction:f}=J(),h=Mo.useRef(null),{listBoxProps:v}=Bi({...p,shouldSelectOnPressUp:a,keyboardDelegate:new ct({collection:d.collection,ref:h,layout:t,orientation:r,direction:f,disabledKeys:d.disabledKeys})},d,h);Vp({handle:m},d,h);let{collectionProps:g,dragState:x,dropState:T}=Mp({...p,onReorder:c,layout:t,orientation:r,enableReorder:a,preview:b},d,h),{isFocusVisible:P,isFocused:S,focusProps:E}=ee(),D=ce({"data-block-id":l,"data-block-class":s,"data-layout":t,"data-empty":d.collection.size===0,"data-focused":S,"data-focus-visible":P,"data-orientation":r});return $p({ref:h,isDisabled:!a}),jsxs("ul",{...R(v,E,D,g),className:L(_1,"BaselineUI-ListBox",e),style:n,ref:Z(y,h),children:[[...d.collection].map(I=>{let C={key:I.key,state:d,dragState:x,dropState:T,renderOption:i,renderDropIndicator:p.renderDropIndicator,renderSectionHeader:p.renderSectionHeader,showSelectedIcon:o,orientation:r,dropIndicatorStyle:p.dropIndicatorStyle,dropIndicatorClassName:p.dropIndicatorClassName,optionStyle:p.optionStyle,optionClassName:p.optionClassName,sectionClassName:p.sectionClassName,sectionStyle:p.sectionStyle,showSectionHeader:p.showSectionHeader,withSectionHeaderPadding:p.withSectionHeaderPadding};return I.type==="section"?createElement(B1,{...C,key:I.key,section:I}):createElement(tu,{...C,key:I.key,item:I})}),u?jsx(en,{ref:b,children:u}):null]})});Rg.displayName="ListBoxCore";var U1=Mo.forwardRef((e,t)=>{let r=Dr(),o=xt({...e,children:r});return jsx(Rg,{...e,ref:t,state:o})});U1.displayName="ListBoxStandalone";var to=Mo.forwardRef((e,t)=>{let r=useContext(Ig);return useEffect(()=>{if(!e.items&&!r)throw new Error("ListBox: You must provide a `state` or `items` prop to render the listbox.")},[e.items,r]),r?jsx(Rg,{...e,ref:t,state:r}):jsx(U1,{...e,ref:t})});to.displayName="ListBox";var jp="uf19bsf _1yep5z6la",W1=V({defaultClassName:"uf19bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5 _1yep5z6lp _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6lk z9nup8a",variantClassNames:{size:{xxs:"uf19bs1",xs:"uf19bs2",sm:"uf19bs3",md:"uf19bs4",lg:"uf19bs5 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq"},isHovered:{true:"uf19bs6"},isDisabled:{true:"uf19bs7 _1yep5z611a"},isFocusVisible:{true:"uf19bs8"},variant:{primary:"uf19bs9",secondary:"uf19bsa",tertiary:"uf19bsb",ghost:"uf19bsc",toolbar:"uf19bsd _1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8",popover:"uf19bse _1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6nf _1yep5z6ng _1yep5z6nh _1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oi _1yep5z6oj _1yep5z6ok _1yep5z6vr _1yep5z6vs _1yep5z6vt"}},defaultVariants:{},compoundVariants:[[{variant:"toolbar",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"primary",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"secondary",isHovered:true,isFocusVisible:false},"_1yep5z61nc"],[{variant:"tertiary",isHovered:true,isFocusVisible:false},"_1yep5z61nb _1yep5z61o9"],[{variant:"ghost",isHovered:true,isFocusVisible:false},"_1yep5z61nh"],[{variant:"popover",isHovered:true,isFocusVisible:false},"_1yep5z61q6 _1yep5z61tx _1yep5z61u1 _1yep5z61ty"],[{variant:"ghost",isDisabled:false},"_1yep5z61ng"],[{variant:"popover",size:"lg"},"_1yep5z61io _1yep5z61ip _1yep5z61iq _1yep5z61jc _1yep5z61jd _1yep5z61je _1yep5z61k0 _1yep5z61k1 _1yep5z61k2 _1yep5z61ko _1yep5z61kp _1yep5z61kq"]]});var ou=Mo.createContext({state:null,overlayTriggerAria:{triggerProps:{},overlayProps:{}},triggerRef:void 0}),ko=({children:e,...t})=>{let r=Mo.useRef(null),o=Nt(t),n=Wr(t,o),i=useMemo(()=>({state:o,overlayTriggerAria:n,triggerRef:r}),[o,n]);return jsx(ou.Provider,{value:i,children:e})};var X1=V({defaultClassName:"_1gzftth2",variantClassNames:{placement:{bottom:"_1gzftth3",top:"_1gzftth4",right:"_1gzftth5",left:"_1gzftth6"}},defaultVariants:{},compoundVariants:[]}),Y1=V({defaultClassName:"_1gzftth7",variantClassNames:{placement:{bottom:"_1gzftth8",top:"_1gzftth9",right:"_1gzfttha",left:"_1gzftthb"}},defaultVariants:{},compoundVariants:[]}),Z1="_1gzftth1 _1yep5z6is _1yep5z6it _1yep5z6iu",J1="_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6d7",Q1="_1gzftthd",eD="_1gzftthc",tD="var(--_1gzftth0)";var Gp=Mo.createContext({isSelected:false,ref:void 0}),zo=({children:e,anchorRect:t})=>{let{state:r,overlayTriggerAria:o,triggerRef:n}=useContext(ou);ie(r,"PopoverTrigger must be used within a Popover");let{triggerProps:i}=o,a=useMemo(()=>({...i,isSelected:r.isOpen,ref:n}),[i,r.isOpen,n]);return ie(!t&&e||t&&!e,"Either one of anchorRect or children has to be provided."),ie(!t||x1(t),"If provided, the anchorRect prop must be an object with left and top number values, and optionally width and height."),jsx(Gp.Provider,{value:a,children:t?jsx("div",{className:L(Q1,"BaselineUI-PopoverTrigger-Hidden"),style:t,ref:n,tabIndex:-1},JSON.stringify(t)):e})};var Ot=({label:e,tooltip:t,...r})=>({tooltipProps:useMemo(()=>{let n={size:"sm",variant:"inverse",text:e,includeArrow:false,placement:"bottom start",offset:4,...r};if(typeof t=="object")return {...n,...t};if(t)return n},[e,r,t])});function Up({tooltip:e,"aria-label":t,"aria-labelledby":r},o){let[n,i]=useState(t||"");useEffect(()=>{if(r){let s=H(o.current).querySelector(`#${r}`);s&&i(s.textContent||"");}else t&&i(t);},[r,o,t]);let{tooltipProps:a}=Ot({label:n,tooltip:e});return {tooltipProps:a}}var Wp=e=>{let t=Mo.useRef(null),{ref:r,...o}=useContext(Gp)||{},{buttonProps:n,isPressed:i}=rt({...e,...o},t),{isFocusVisible:a,isFocused:l,focusProps:s}=ee(),{hoverProps:u,isHovered:c}=re({isDisabled:e.isDisabled});return {buttonProps:R(n,s,u),isPressed:i,ref:Z(t,r||null),isFocusVisible:a,isFocused:l,isHovered:c,uiStateOptions:{isHovered:c,isFocused:l,isPressed:i,isDisabled:e.isDisabled,isFocusVisible:a}}},qp=(e,t)=>{let r=Mo.useRef(null),{ref:o,...n}=useContext(Gp)||{},{buttonProps:i,isPressed:a}=qc({...e,...n},t,r);(i.role==="radio"||i.role==="checkbox")&&(i["aria-pressed"]=void 0);let{isFocusVisible:l,isFocused:s,focusProps:u}=ee(),{hoverProps:c,isHovered:d}=re({isDisabled:e.isDisabled});return {buttonProps:R(i,u,c),isPressed:a,ref:Z(r,o||null),isFocusVisible:l,isFocused:s,isHovered:d,uiStateOptions:{isHovered:d,isFocused:s,isPressed:a,isDisabled:e.isDisabled,isFocusVisible:l,isSelected:t.isSelected}}};var Xp=V({defaultClassName:"oom8bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6dy _1yep5z6la z9nup88",variantClassNames:{variant:{primary:"oom8bs1",secondary:"oom8bs2",tertiary:"oom8bs3",ghost:"oom8bs4",popover:"oom8bs5",toolbar:"oom8bs6",success:"oom8bs7",warning:"oom8bs8",error:"oom8bs9"},isDisabled:{true:"oom8bsa"},isFocusVisible:{true:"oom8bsb"},isHovered:{true:"oom8bsc"},size:{sm:"oom8bsd",md:"oom8bse",lg:"oom8bsf"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isHovered:true},"oom8bsg"],[{variant:"secondary",isHovered:true},"oom8bsh"],[{variant:"tertiary",isHovered:true},"oom8bsi"],[{variant:"popover",isHovered:true},"oom8bsj"],[{variant:"ghost",isHovered:true},"oom8bsk"],[{variant:"success",isHovered:true},"oom8bsl"],[{variant:"warning",isHovered:true},"oom8bsm"],[{variant:"error",isHovered:true},"oom8bsn"],[{variant:"primary",isFocusVisible:true},"oom8bso"],[{variant:"tertiary",isFocusVisible:true},"oom8bsp"],[{variant:"success",isFocusVisible:true},"oom8bsq"],[{variant:"warning",isFocusVisible:true},"oom8bsr"],[{variant:"error",isFocusVisible:true},"oom8bss"]]}),Lg=V({defaultClassName:"oom8bst _1yep5z6la",variantClassNames:{isDisabled:{true:"oom8bsu"},isFocusVisible:{true:"oom8bsv"},isHovered:{true:"_1yep5z6115"},variant:{primary:"_1yep5z611c",secondary:"_1yep5z6118",tertiary:"_1yep5z611d",ghost:"_1yep5z611d",popover:"_1yep5z6118",toolbar:"_1yep5z6118",success:"_1yep5z611b",warning:"_1yep5z611b",error:"_1yep5z611b"}},defaultVariants:{},compoundVariants:[[{variant:"tertiary",isHovered:true},"_1yep5z61nf"],[{variant:"ghost",isHovered:true},"_1yep5z61nh"],[{variant:"tertiary",isFocusVisible:true},"_1yep5z61nf"],[{variant:"secondary",isDisabled:true},"_1yep5z61nd"],[{variant:"tertiary",isDisabled:true},"_1yep5z61nd"],[{variant:"ghost",isDisabled:true},"_1yep5z61nd"],[{variant:"popover",isDisabled:true},"_1yep5z61nd"],[{variant:"toolbar",isDisabled:true},"_1yep5z61nd"]]});var OH={sm:16,md:20,lg:24},Ie=Mo.forwardRef(({label:e,style:t,className:r,iconStart:o,iconEnd:n,variant:i="primary",elementType:a="button",isDisabled:l,size:s="sm","data-block-id":u,"data-block-class":c,...d},m)=>{let{buttonProps:p,isPressed:y,ref:b,isFocusVisible:f,isFocused:h,isHovered:v,uiStateOptions:g}=Wp({...d,elementType:a,isDisabled:l}),x=OH[s],T=ce({"data-block-id":u,"data-block-class":c,"data-disabled":l,"data-focused":h,"data-focus-visible":f,"data-hovered":v,"data-pressed":y});return jsxs(a,{...R(p,T),className:L(Xp({isDisabled:!!l,isFocusVisible:f,isHovered:v,variant:i,size:s}),"BaselineUI-ActionButton",typeof r=="function"?r(g):r),style:typeof t=="function"?t(g):t,ref:Z(m,b),children:[!!o&&jsx(o,{size:x,className:Lg({variant:i,isDisabled:l,isFocusVisible:f,isHovered:v})}),e,!!n&&jsx(n,{size:x,className:Lg({variant:i,isDisabled:l,isFocusVisible:f,isHovered:v})}),i==="popover"&&jsx(CaretDownIcon,{size:8,className:jp})]})});Ie.displayName="ActionButton";var iD=Mo.forwardRef(({className:e,style:t,node:r,"data-block-id":o,"data-block-class":n,...i},a)=>{let l=Mo.useRef(null);Mo.useEffect(()=>{let c=l.current;return c?.append(r),()=>{c?.contains(r)&&r.remove();}},[r]);let{pressProps:s,isPressed:u}=Se(i);return jsx("div",{...s,className:e,style:t,"data-block-id":o,"data-block-class":n,"data-pressed":u,"data-testid":"dom-node-renderer",ref:Z(a,l)})});iD.displayName="DomNodeRenderer";var aD="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6ln",lD="_14uvjig3 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",sD="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6jj _1yep5z6jk _1yep5z6jl",uD=V({defaultClassName:"_14uvjig0 _1yep5z6dy _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"},hasNumberInput:{false:"_1yep5z6ol _1yep5z6om _1yep5z6on"}},defaultVariants:{},compoundVariants:[]}),cD=V({defaultClassName:"_14uvjigb _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6g9 _1yep5z6lp _1yep5z6la",variantClassNames:{active:{true:"_14uvjigc _1yep5z612i _1yep5z6181 _1yep5z617t"},isDisabled:{true:"_14uvjigd _1yep5z612m"},isReadOnly:{true:"_1yep5z614p _1yep5z614q _1yep5z614r"},isFocusVisible:{true:"_14uvjigf _1yep5z612i _1yep5z617d"},isHovered:{true:"_14uvjigg _1yep5z612i"}},defaultVariants:{},compoundVariants:[]}),dD="z9nup8a _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf",pD="_14uvjig4 z9nup87 _1yep5z6g5 _1yep5z6ln",mD=V({defaultClassName:"_14uvjig5 _1yep5z6g9 _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lo",variantClassNames:{active:{true:"_1yep5z612i"},isFocusVisible:{true:"_1yep5z612i"},isDisabled:{true:"_1yep5z612m"},isHovered:{true:"_1yep5z612i"}},defaultVariants:{},compoundVariants:[]});var Oa=V({defaultClassName:"nrh1ehr _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6111"},hasError:{true:"_1yep5z610h"},labelPosition:{start:"nrh1ehu",top:"nrh1ehv"}},defaultVariants:{},compoundVariants:[]}),Yp=V({defaultClassName:"nrh1ehi _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6eu _1yep5z6ln _1yep5z6ly _1yep5z6lq _1yep5z6dy",variantClassNames:{isDisabled:{true:"nrh1ehj"},labelPosition:{top:"nrh1ehk",start:"nrh1ehl"}},defaultVariants:{},compoundVariants:[]}),Fa=V({defaultClassName:"nrh1ehm _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lk",variantClassNames:{validationState:{valid:"nrh1ehn",error:"_1yep5z610h",warning:"_1yep5z610p"},isReadOnly:{true:"_1yep5z6118"}},defaultVariants:{},compoundVariants:[]}),Ka="_1yep5z6ev _1yep5z6dy",ln=V({defaultClassName:"nrh1eh3 _1yep5z6iv _1yep5z6iw _1yep5z6ix",variantClassNames:{labelPosition:{top:"_1yep5z6t9 _1yep5z6ta _1yep5z6tb",start:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6157 _1yep5z6158 _1yep5z6159"},hasMessage:{true:"nrh1eh6"}},defaultVariants:{},compoundVariants:[[{labelPosition:"start",hasMessage:false},"_1yep5z61sj _1yep5z61sk _1yep5z61sl"]]}),sn=V({defaultClassName:"nrh1eh0 _1yep5z6ln",variantClassNames:{labelPosition:{top:"_1yep5z614v _1yep5z614w _1yep5z614x _1yep5z6157 _1yep5z6158 _1yep5z6159",start:"_1yep5z614v _1yep5z614w _1yep5z614x _1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),Va=V({defaultClassName:"nrh1eh7 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{validationState:{valid:"nrh1eh8",error:"_1yep5z612q",warning:"nrh1eha"},isHovered:{true:"nrh1ehb"},isFocused:{true:"_1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6184 _1yep5z6182 _1yep5z6134 _1yep5z617v _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"nrh1ehd"},variant:{primary:"nrh1ehe",ghost:"nrh1ehf"},isReadOnly:{true:"_1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8"}},defaultVariants:{},compoundVariants:[[{variant:"ghost",isHovered:true,isFocused:false,validationState:"valid"},"_1yep5z61pa _1yep5z61u5 _1yep5z61u7"],[{variant:"ghost",isFocused:false,isHovered:false,validationState:"valid"},"_1yep5z61pm"],[{isHovered:true,validationState:"valid",isDisabled:false,isReadOnly:false,isFocused:false,variant:"primary"},"_1yep5z61pb"],[{isHovered:true,validationState:"warning",isDisabled:false,isReadOnly:false,isFocused:false},"_1yep5z61pb"],[{isReadOnly:true,variant:"primary",isFocused:false},"nrh1ehh"],[{isReadOnly:true,isFocused:true},"_1yep5z61io _1yep5z61ip _1yep5z61iq _1yep5z61jc _1yep5z61jd _1yep5z61je _1yep5z61k0 _1yep5z61k1 _1yep5z61k2 _1yep5z61ko _1yep5z61kp _1yep5z61kq"],[{isHovered:true,isFocused:false,isDisabled:false,isReadOnly:false},"_1yep5z61tg"]]});function or({description:e,errorMessageProps:t,descriptionProps:r,warningMessage:o,errorMessage:n,labelPosition:i,isDisabled:a}){return e?jsx("div",{...r,className:Oa({isDisabled:a,labelPosition:i}),"aria-disabled":a,children:e}):n?jsx("div",{...t,className:Oa({hasError:true,labelPosition:i}),"aria-disabled":a,children:n}):o?jsx("div",{className:Oa({isDisabled:a,labelPosition:i}),"aria-disabled":a,children:o}):null}var fD=V({defaultClassName:"_1lnwne1 z9nup81",variantClassNames:{isHoveredOrFocused:{true:"_1lnwne2"},isInteractive:{false:"z9nup82"}},defaultVariants:{},compoundVariants:[[{isHoveredOrFocused:true,isInteractive:true},"_1lnwne4"]]}),yD="_1lnwne0";var bD=V({defaultClassName:"_1jwycy80",variantClassNames:{placement:{bottom:"_1jwycy81",left:"_1jwycy82",right:"_1jwycy83",top:"_1jwycy84"},variant:{default:"_1jwycy85",inverse:"_1jwycy86"}},defaultVariants:{},compoundVariants:[]}),gD=V({defaultClassName:"_1jwycy87 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn",variantClassNames:{size:{md:"_1yep5z63u _1yep5z63v _1yep5z63w _1yep5z61i _1yep5z61j _1yep5z61k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6e7",sm:"_1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dv"},variant:{default:"_1yep5z6g9 _1yep5z6ez",inverse:"_1yep5z6d7 _1yep5z6g1 _1yep5z6eu"}},defaultVariants:{},compoundVariants:[]});function Zp({placement:e,isDisabled:t}){let r=useMemo(()=>{if(t)return {x:0,y:0};switch(e){case "top":return {x:0,y:-4};case "bottom":return {x:0,y:4};case "left":return {x:-4,y:0};case "right":return {x:4,y:0};default:return {x:0,y:4}}},[e,t]);return {transitionProps:{initial:t?{opacity:1,scale:1,...r}:{opacity:0,scale:.98,...r},animate:{opacity:1,scale:1,x:0,y:0},transition:{ease:"easeOut"}}}}var Og=Mo.forwardRef(({children:e,state:t,overlayProps:r,arrowProps:o,placement:n="bottom",variant:i,size:a,tooltipProps:l,includeArrow:s},u)=>{let c=useRef(null),{tooltipProps:d}=Nd({isOpen:t.isOpen},t,c),m=n==="center"?"bottom":n,{transitionProps:p}=Zp({placement:n});return jsxs(motion.span,{...R(r,p),ref:Z(u,c),"data-placement":m,children:[s?jsx("div",{className:bD({placement:m,variant:i}),...o}):null,jsx("div",{...R(d,l),className:gD({variant:i,size:a}),children:e})]})});Og.displayName="TooltipContent";var Fg=Mo.createContext(void 0),Jp=({portalContainer:e,children:t})=>jsx(Fg.Provider,{value:e,children:t});Jp.displayName="PortalContainerProvider";function xD({ref:e,onIntersect:t,isDisabled:r,threshold:o,rootMargin:n,root:i}){let a=Mo.useRef(null);useEffect(()=>{if(r){a.current?.disconnect(),a.current=null;return}a.current=new IntersectionObserver(([l])=>{t(l);},{root:i?.current,rootMargin:n,threshold:o});},[t,r,i,n,o]),useEffect(()=>{let{current:l}=a;return e.current&&l?.observe(e.current),()=>l?.disconnect()},[e]);}function TD({ref:e,onResize:t,isDisabled:r}){let o=Mo.useRef(null),[n,i]=Mo.useState();return Mo.useEffect(()=>{if(r){o.current?.disconnect(),o.current=null;return}o.current=new ResizeObserver(([a])=>{i(a.contentRect),t?.(a);});},[t,r,i]),Mo.useEffect(()=>{let{current:a}=o;return e.current&&a?.observe(e.current),()=>a?.disconnect()},[e]),{size:n}}function em({src:e,alt:t}){let[r,o]=useState(false),[n,i]=useState(false),[a,l]=useState(false),s=()=>{o(true),l(false);},u=()=>{i(true),l(false);};return useEffect(()=>{if(!e)return;l(true);let c=new Image;return c.src=e,c.addEventListener("load",s),c.addEventListener("error",u),()=>{c.removeEventListener("load",s),c.removeEventListener("error",u);}},[e]),{isLoaded:r,hasError:n,isLoading:a,imgProps:{src:a?void 0:e,alt:t}}}function tm(){let e=useRef(true);return useEffect(()=>{e.current=false;},[]),e.current}var PD="SET_STATE",rm="UNDO",om="REDO",ej=(e,t)=>{let{past:r,present:o,future:n}=e;switch(t.type){case PD:return {past:[...r,o],present:t.data,future:[]};case rm:return {past:r.slice(0,r?.length-1),present:r[r?.length-1],future:[o,...n]};case om:return {past:[...r,o],present:n[0],future:n.slice(1)};default:throw new Error("Invalid action type")}},CD=(e={},{isDisabled:t,onAction:r})=>{let o=tm(),[n,i]=useReducer(ej,{past:[],present:e,future:[]}),{past:a,present:l,future:s}=n,u=b=>{i({type:PD,data:b});},c=useRef(),d=()=>{c.current=rm,i({type:rm});},m=()=>{c.current=om,i({type:om});},p=!!a?.length,y=!!s?.length;return useGranularEffect(()=>{(c.current===rm||c.current===om)&&(r?.(l,c.current),c.current=void 0);},[l],[r,o]),{state:l,push:t?()=>{}:u,undo:t?()=>{}:d,redo:t?()=>{}:m,pastStates:a,futureStates:s,canUndo:p,canRedo:y}};var Vg=Mo.createContext({messages:{},shouldLogMissingMessages:true,hasMissingErrorLoggedFor:{current:new Set},setLang:()=>{}}),kD=({children:e,messages:t={},shouldLogMissingMessages:r=true,...o})=>{let n=useRef(new Set),[i,a]=useState(o.locale||"");useEffect(()=>{n.current.clear();},[i,o.locale]);let l=Mo.useMemo(()=>({messages:t,shouldLogMissingMessages:r,hasMissingErrorLoggedFor:n,setLang:a}),[t,r,a]);return jsx(uc,{...o,children:jsx(Vg.Provider,{value:l,children:e})})};kD.displayName="I18nProvider";function ye(e){let{messages:t,shouldLogMissingMessages:r,hasMissingErrorLoggedFor:o,setLang:n}=useContext(Vg);useEffect(()=>{!e&&nj(t)&&console.warn("BUI \u{1F30D}: No messages object provided and no messages found in the `I18nProvider`. Please provide a messages object to the `useI18n` hook.");},[e,t]);let i=useMemo(()=>e?S1(e):t,[e,t]),a=fc(i),l=J();useEffect(()=>{n(l.locale);},[l.locale,n]);let s=useCallback(c=>{r&&!o.current.has(c)&&(console.log(`BUI \u{1F30D}: Translation not found for key: \`${c}\` for locale: \`${l.locale}\`. The default message, i.e. \`${c}\`, will be used instead.`),o.current.add(c));},[o,l.locale,r]),u=useCallback((c,d)=>{if(typeof c=="object")try{return a(c.id,d)}catch{return s(c.id),c.defaultMessage||c.id}else try{return a(c,d)}catch{return s(c),c}},[a,s]);return useMemo(()=>({formatMessage:u,locale:l}),[u,l])}var Re=e=>e;function wMe(e,t,r){let o=Mo.useRef(null);return Mo.useEffect(()=>{if(e)return o.current=new MutationObserver(r),o.current.observe(e,t),()=>{o.current&&o.current.disconnect();}},[e,t,r]),o.current}function ID(e,t){let[r,o]=useState(()=>{try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(i){return console.log(i),t}});return [r,i=>{try{let a=isFunction(i)?i(r):i;o(a),window.localStorage.setItem(e,JSON.stringify(a));}catch(a){console.log(a);}}]}function OMe({ref:e,onSelectionChange:t,onSelectionEnd:r,isDisabled:o}){let n=Mo.useRef(null);Se({ref:e,isDisabled:o,onPressEnd(){let a=j(e.current).getSelection();a&&e.current?.contains(a.anchorNode)&&r?.(a);},onPressStart(){let i=j(e.current);n.current=i.getSelection(),n.current&&n.current.removeAllRanges();}}),useEffect(()=>{let i=e.current;if(!i||o)return;function a(){let u=j(i).getSelection();u&&e.current?.contains(u.anchorNode)&&t(u);}let l=H(i);return l.addEventListener("selectionchange",a),()=>{l.removeEventListener("selectionchange",a);}},[e,t,o]);}var nm=Mo.createContext({breakpoints:breakpoints}),pj=({children:e,breakpoints:t=breakpoints})=>{let r=useMemo(()=>({breakpoints:t}),[t]);return jsx(nm.Provider,{value:r,children:e})};function un(e){let{breakpoints:t=breakpoints}=useContext(nm),r=useMemo(()=>({tablet:`screen and (min-width: ${t.tablet}px)`,desktop:`screen and (min-width: ${t.desktop}px)`}),[t]),o=useCallback(()=>{let a=j(e??typeof window>"u"?void 0:e),l=a.matchMedia(r.tablet);return a.matchMedia(r.desktop).matches?"desktop":l.matches?"tablet":"mobile"},[e,r]),[n,i]=Mo.useState(o);return ae(()=>{let a=j(e),l=()=>{i(o());};return a.addEventListener("resize",l),l(),()=>{a.removeEventListener("resize",l);}},[e,o]),n}function im({ownerDocument:e=document}){let t=Xt(),[r,o]=useState(t==="keyboard"?"keyboard":"pointer");return useEffect(()=>{let n=()=>{o("pointer");},i=()=>{o("keyboard");};return e.addEventListener("pointermove",n,{passive:true,capture:true}),e.addEventListener("keydown",i,true),()=>{e.removeEventListener("pointermove",n,{capture:true}),e.removeEventListener("keydown",i,true);}},[e]),r}function Pj(){return Object.prototype.hasOwnProperty.call(HTMLElement.prototype,"inert")}function am({ref:e,isDisabled:t}){useEffect(()=>{if(!e.current||t)return;let r=e.current;if(Pj())return r.setAttribute("inert","true"),()=>{r.removeAttribute("inert");};let o=new Map,n=r.hasAttribute("aria-hidden")?r.getAttribute("aria-hidden")==="true":null;r.setAttribute("aria-hidden","true");let i=()=>{if(!e.current)return;let l=P1(e.current);for(let s of l)o.has(s)||(o.set(s,s.getAttribute("tabindex")),s.setAttribute("tabindex","-1"));};i();let a=new MutationObserver(l=>{for(let s of l)if(s.type==="childList"){for(let u of s.removedNodes)u instanceof Element&&o.delete(u);i();}});return a.observe(e.current,{childList:true,subtree:true,attributes:false}),()=>{a.disconnect();for(let[l,s]of o.entries())l.isConnected&&(s===null?l.removeAttribute("tabindex"):l.setAttribute("tabindex",s));n===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n?"true":"false");}},[e,t]);}function Dj(e){return e?.nodeType===Node.DOCUMENT_NODE}var Eo=Mo.createContext({container:null,portalContainer:null,shouldContainOverlays:false,isContainerPositioned:false,containerWidth:void 0,containerHeight:void 0}),kj=({children:e,container:t,portalContainer:r,shouldContainOverlays:o="auto"})=>{let n=un(),[i,a]=useState(),[l,s]=useState(),[u,c]=useState(document),d=t??u.body;useEffect(()=>{let v=d?.getRootNode(),g;return sx(),Dj(v)&&v!==document&&(g=kc(v.body)),()=>{g?.();}},[d]);let m=useMemo(()=>d===u.body||o==="never"?false:o==="always"?true:n!=="mobile",[o,n,d,u]),[p,y]=useState(false),b=tm();useEffect(()=>{if(!d||b)return;let g=j(d).getComputedStyle(d),x=!!g.position&&g.position!=="static";x||console.warn("FrameProvider: container is not positioned. Please ensure the container is non-static."),y(x);let T=d.getBoundingClientRect();(T.width===0||T.height===0)&&console.error("FrameProvider: container does not have a width or height. Please ensure that the container is visible and has a width and height.");function P({width:E,height:D}){d&&(a(E),s(D));}let S=new ResizeObserver(E=>{for(let D of E)P({width:D.contentRect.width,height:D.contentRect.height});});return m&&(P({width:T.width,height:T.height}),S.observe(d)),d.dataset.shouldContainOverlays=m.toString(),()=>{S.disconnect(),d.dataset.shouldContainOverlays="";}},[d,b,m]);let f=r||d||u.body;useEffect(()=>{r&&!d.contains(r)&&console.warn("FrameProvider: portalContainer is not a child of container. Please ensure the portalContainer is a child of the container.");},[d,r]);let h=useMemo(()=>({container:d,portalContainer:f,shouldContainOverlays:m,isContainerPositioned:p,containerWidth:i,containerHeight:l}),[d,f,m,p,i,l]);return jsx(Eo.Provider,{value:h,children:jsxs(Jp,{portalContainer:h.portalContainer||void 0,children:[e,jsx("div",{ref:v=>{v&&c(v.ownerDocument);},className:sprinkles({display:"none"})})]})})};function Ft(e){let t=useContext(Fg),{portalContainer:r}=useContext(Eo);return e||t||r||void 0}var ND=V({defaultClassName:"z9nup83",variantClassNames:{size:{xs:"z9nup84",sm:"z9nup85"}},defaultVariants:{},compoundVariants:[]}),OD="z9nup80",Ba="z9nup82",FD="z9nup86";function $g(e=typeof window>"u"?void 0:window){let[t,r]=useState("light"),[o,n]=useState(false),[i,a]=useState(false),[l,s]=useState(false);return useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-color-scheme: dark)"),c=d=>{r(d.matches?"dark":"light");};return u.matches&&r("dark"),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-contrast: more)"),c=d=>{n(d.matches);};return n(u.matches),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-reduced-motion: reduce)"),c=d=>{a(d.matches);};return u.matches&&a(true),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-reduced-transparency: reduce)"),c=d=>{s(d.matches);};return u.matches&&s(true),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),{colorScheme:t,highContrast:o,reducedMotion:i,transparency:l}}var $a=createContext({theme:lightTheme,setTheme:()=>{},shouldHandleVirtualKeyboard:true});var KD="var(--hj25q10)";var Hg="var(--_1hotumh0)";var cm={LIGHT:themes.base.light,DARK:themes.base.dark},dm=Mo.forwardRef(({theme:e="system",children:t,setTheme:r,onThemeChange:o,className:n,style:i,UNSAFE_domProps:a,"data-block-id":l,"data-block-class":s,reducedMotion:u="user",shouldHandleVirtualKeyboard:c=true,minTouchTargetSize:d=24},m)=>{let{direction:p}=J(),{colorScheme:y,reducedMotion:b,highContrast:f,transparency:h}=$g(),{name:v,...g}=useMemo(()=>{switch(e){case "system":return y==="light"?cm.LIGHT:cm.DARK;case "light":return cm.LIGHT;case "dark":return cm.DARK;default:return e}},[y,e]),x=un(),T={"data-theme":v,"data-block-id":l,"data-block-class":s,"data-reduced-motion":u==="user"?b:u==="always","data-high-contrast":f,"data-transparency":h,"data-device":x},P=useMemo(()=>({theme:g,setTheme:S=>{r?.(S),o?.(S);},shouldHandleVirtualKeyboard:c}),[g,r,o,c]);return useEffect(()=>{r&&console.warn("ThemeProvider: The `setTheme` prop is deprecated and will be removed in a future version of Baseline UI. Use the `onThemeChange` prop instead.");},[r]),jsx($a.Provider,{value:P,children:jsx(MotionConfig,{reducedMotion:u,children:jsx("div",{...R(a,T),className:L(OD,"BaselineUI-ThemeProvider",n),style:{...assignInlineVars(themeVars,g),...assignInlineVars({[Hg]:p==="rtl"?"-1":"1",[KD]:`${d}px`}),...i},dir:p,ref:m,children:t})})})});dm.displayName="ThemeProvider";function r5e(){MotionGlobalConfig.skipAnimations=true;}function o5e(){MotionGlobalConfig.skipAnimations=false;}var Kt=Mo.forwardRef(({className:e,style:t,children:r,"data-block-id":o,"data-block-class":n,portalContainer:i,...a},l)=>{let{theme:s,shouldHandleVirtualKeyboard:u}=useContext($a),c=Ft();return jsx(Mc,{...a,portalContainer:i??c,children:jsx(dm,{ref:l,theme:s,shouldHandleVirtualKeyboard:u,style:t,className:L("BaselineUI-Portal",e),"data-block-id":o,"data-block-class":n,children:r})})});Kt.displayName="Portal";var Be=Mo.forwardRef(({children:e,placement:t="bottom",delay:r=1e3,closeDelay:o=500,variant:n="default",size:i="md",includeArrow:a=true,portalContainer:l,className:s,style:u,"data-block-id":c,"data-block-class":d,...m},p)=>{let y=Mo.useRef(null),b=Mo.useRef(null),f=!m.text||m.isDisabled,h=ap({...m,delay:r,closeDelay:o}),{triggerProps:v,tooltipProps:g}=Od({...m,isDisabled:f},h,y),x=Ft(l),{overlayProps:T,arrowProps:P,placement:S,updatePosition:E}=Bo({arrowSize:a?13:0,targetRef:y,arrowBoundaryOffset:a?8:0,offset:a?12:2,overlayRef:b,placement:t,isOpen:h.isOpen,...m});xD({ref:b,threshold:1,onIntersect:E,isDisabled:!h.isOpen}),TD({ref:y,onResize:E,isDisabled:!h.isOpen});let D=Mo.isValidElement(e)?jsx(Tc,{...v,ref:y,children:e}):typeof e=="function"?e({triggerProps:v,triggerRef:y}):null;return jsxs(Fragment,{children:[D,h.isOpen?jsx(Kt,{disableFocusManagement:true,portalContainer:x,className:s,style:u,"data-block-id":c,"data-block-class":d,children:jsx(Og,{ref:Z(p,b),state:h,arrowProps:P,overlayProps:T,placement:S??"bottom",tooltipProps:g,variant:n,size:i,includeArrow:a,children:m.text})}):null]})});Be.displayName="Tooltip";var Vj={xxs:8,xs:12,sm:16,md:20,lg:24},me=Mo.forwardRef((e,t)=>{let r=ge(t),{tooltipProps:o}=Up(e,r);return o?jsx(Be,{...o,children:jsx(Ug,{...e,ref:r})}):jsx(Ug,{...e,ref:r})});me.displayName="ActionIconButton";var Ug=Mo.forwardRef(({className:e,style:t,icon:r,size:o="md",variant:n="primary",UNSAFE_isVisuallyInteractiveOnly:i,elementType:a=i?"div":"button",isExcludedFromRovingFocus:l,...s},u)=>{let c=s["aria-label"],d=s["aria-labelledby"];useEffect(()=>{!c&&!d&&console.warn("An `ActionIconButton` requires an aria-label or aria-labelledby prop.");},[c,d]);let{buttonProps:m,isPressed:p,ref:y,isFocusVisible:b,isFocused:f,isHovered:h,uiStateOptions:v}=Wp({...s,elementType:a}),g=ce({"data-block-id":s["data-block-id"],"data-block-class":s["data-block-class"],"data-focused":f,"data-focus-visible":b,"data-disabled":s.isDisabled,"data-hovered":h,"data-pressed":p,"data-bui-avoid-focus":l});return jsxs(a,{...R(m,g),className:L(W1({variant:n,size:o,isDisabled:!!s.isDisabled,isFocusVisible:b,isHovered:h}),"BaselineUI-ActionIconButton",typeof e=="function"?e(v):e),ref:Z(u,y),style:typeof t=="function"?t(v):t,...i&&{tabIndex:void 0,role:void 0,"aria-label":void 0,"aria-labelledby":void 0,"aria-disabled":void 0},children:[jsx(r,{role:"presentation",size:Vj[o]}),n==="popover"&&jsx(CaretDownIcon,{size:8,className:jp})]})});Ug.displayName="ActionIconButtonCore";var wo=Mo.forwardRef(({className:e,style:t,labelPosition:r="top",variant:o="primary",showStepper:n=true,...i},a)=>{let l=Mo.useRef(null),{locale:s}=J(),u=qi({...i,locale:s}),{hoverProps:c,isHovered:d}=re({isDisabled:i.isDisabled}),{focusProps:m,isFocusVisible:p,isFocused:y}=ee(),{labelProps:b,decrementButtonProps:f,inputProps:h,incrementButtonProps:v,groupProps:g,descriptionProps:x,errorMessageProps:T}=Zi(i,u,l),P=useMemo(()=>i.isReadOnly?ReadOnlyIcon:i.isInvalid?ErrorCircleFilledIcon:null,[i.isInvalid,i.isReadOnly]),S=or({description:i.description,errorMessageProps:T,descriptionProps:x,errorMessage:i.errorMessage,labelPosition:r,isDisabled:i.isDisabled}),E=ce({"data-disabled":i.isDisabled,"data-readonly":i.isReadOnly,"data-hovered":d,"data-focused":y,"data-focus-visible":p,"data-invalid":i.isInvalid,"data-block-id":i["data-block-id"],"data-block-class":i["data-block-class"]});return jsxs("div",{style:t,className:L(sn({labelPosition:r}),"BaselineUI-NumberInput",e),...E,ref:a,children:[i.label?jsxs("div",{className:ln({labelPosition:r,hasMessage:!!S}),children:[jsx("label",{...b,className:Ka,children:i.label}),r==="start"&&S]}):null,jsxs("div",{className:L({[Ba]:i.isDisabled}),children:[jsxs("div",{...R(g,c),className:L(Va({isHovered:d,isDisabled:!!i.isDisabled,isReadOnly:!!i.isReadOnly,validationState:i.isInvalid?"error":"valid",isFocused:y,variant:o}),{[yD]:r==="start"},"BaselineUI-NumberInput-Container"),children:[jsx("input",{...R(h,m),ref:l,className:L("BaselineUI-NumberInput-Input",Yp({isDisabled:i.isDisabled,labelPosition:r}))}),P?jsx(P,{className:Fa({validationState:"error",isReadOnly:i.isReadOnly}),size:16}):null,n?jsxs("div",{className:fD({isHoveredOrFocused:d||y,isInteractive:!i.isReadOnly&&!i.isDisabled}),children:[jsx(me,{variant:"secondary",size:"xxs",icon:MinusIcon,...f,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true}),jsx(De,{style:{height:16},orientation:"vertical"}),jsx(me,{variant:"secondary",size:"xxs",icon:PlusIcon,...v,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true})]}):null]}),r==="top"&&S]})]})});wo.displayName="NumberInput";var ja=Mo.forwardRef(({className:e,style:t,onChange:r,onChangeEnd:o,numberFormatOptions:n,isDisabled:i,step:a,minValue:l,maxValue:s,value:u,"aria-label":c,"aria-labelledby":d,"aria-details":m,"aria-describedby":p,"data-block-id":y,"data-block-class":b,defaultValue:f,isReadOnly:h,label:v,id:g,includeNumberInput:x},T)=>{let P=Mo.useRef(null),S={onChange:r===void 0?void 0:w=>{r(w[0]);},isDisabled:i||h,step:a,minValue:l,maxValue:s,onChangeEnd:o===void 0?void 0:w=>{o(w[0]);},value:u===void 0?void 0:[u],defaultValue:f===void 0?void 0:[f],"aria-label":c,"aria-labelledby":d,"aria-details":m,"aria-describedby":p,id:g,label:v},E=gr(n),D=Wi({...S,numberFormatter:E}),{trackProps:I,groupProps:C,labelProps:_}=Xi(S,D,P),z=jsx(wo,{variant:"ghost",showStepper:false,"aria-label":c,"aria-labelledby":_.id,value:D.getThumbValue(0),formatOptions:n,onChange:w=>{D.setThumbValue(0,w);},style:{width:55,textAlign:"right",flexShrink:0}});return jsxs("div",{...C,style:t,"data-block-id":y,"data-block-class":b,className:L(aD,"BaselineUI-Slider",e),children:[v?jsxs("div",{className:sD,children:[jsx("label",{..._,className:L(uD({isDisabled:i,hasNumberInput:!!x}),"BaselineUI-Slider-Label"),children:v}),x?z:null]}):null,jsxs("div",{className:lD,children:[jsx("div",{...I,className:L(pD,"BaselineUI-Slider-Track"),ref:Z(P,T),"data-testid":"track",children:jsx(Wj,{state:D,trackRef:P,isDisabled:i,isReadOnly:h})}),x&&!v?z:null]})]})});ja.displayName="Slider";function Wj({state:e,trackRef:t,isDisabled:r,isReadOnly:o}){let n=Mo.useRef(null),{thumbProps:i,inputProps:a,isDragging:l}=Yi({trackRef:t,inputRef:n},e),{focusProps:s,isFocused:u,isFocusVisible:c}=ee(),{hoverProps:d,isHovered:m}=re({isDisabled:r}),{direction:p}=J(),y=ce({"data-disabled":r,"data-readonly":o,"data-hovered":m,"data-focus-visible":c,"data-dragging":l,"data-focused":u});return jsxs(Fragment,{children:[jsx("div",{className:L(mD({isDisabled:r,isFocusVisible:c,active:l,isHovered:m}),"BaselineUI-Slider-TrackHighlight"),style:{width:p==="rtl"?`calc(100% - ${i.style?.left})`:i.style?.left},"data-testid":"track-highlight"}),jsxs("div",{...R(i,d,y),className:L(dD,"BaselineUI-Slider-ThumbHandle"),"data-testid":"thumb",children:[jsx("div",{className:L(cD({isDisabled:r,isFocusVisible:c,active:l,isReadOnly:o,isHovered:m}),"BaselineUI-Slider-Thumb")}),jsx(Le,{children:jsx("input",{ref:n,...R(a,s)})})]})]})}var WD=V({defaultClassName:"_1tkzayn0 _1yep5z6dy",variantClassNames:{size:{sm:"_1tkzayn1",md:"_1tkzayn2",lg:"_1tkzayn3"},type:{subtitle:"_1yep5z610x",title:"_1yep5z610x",label:"_1yep5z610y",value:"_1yep5z610y",helper:"_1yep5z610z",body:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{type:"title",size:"sm"},"_1yep5z61lj"],[{type:"title",size:"md"},"_1yep5z61lm"],[{type:"title",size:"lg"},"_1yep5z61lp"],[{type:"body",size:"sm"},"_1yep5z61m9"],[{type:"body",size:"md"},"_1yep5z61mc"],[{type:"body",size:"lg"},"_1yep5z61mc"],[{type:"subtitle",size:"sm"},"_1yep5z61m5"],[{type:"subtitle",size:"md"},"_1yep5z61m8"],[{type:"subtitle",size:"lg"},"_1yep5z61m8"],[{type:"label",size:"md"},"_1yep5z61m7"],[{type:"label",size:"lg"},"_1yep5z61m7"],[{type:"value",size:"md"},"_1yep5z61m7"],[{type:"value",size:"lg"},"_1yep5z61m7"],[{type:"helper",size:"sm"},"_1yep5z61m1"]]});var Ze=Mo.forwardRef(({elementType:e="span",type:t="title",children:r,size:o="md",...n},i)=>jsx(e,{...n,className:L(WD({size:o,type:t}),"BaselineUI-Text",n.className),ref:i,children:r}));Ze.displayName="Text";var qD=V({defaultClassName:"siobe20 _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6d7 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6",variantClassNames:{background:{subtle:"_1yep5z6124",medium:"_1yep5z6125"},isFocusVisible:{true:"_1yep5z617u _1yep5z617w _1yep5z617x _1yep5z6140"}},defaultVariants:{},compoundVariants:[]}),XD="siobe24";var mm=Mo.forwardRef(({className:e,style:t,children:r,background:o="medium",title:n,action:i,"data-block-id":a,"data-block-class":l,onCloseRequest:s,contentStyle:u,contentClassName:c,...d},m)=>{let{formatMessage:p}=ye(),y=Mo.useRef(null),{dialogProps:b,titleProps:f}=Qi(d,y),{focusProps:h,isFocusVisible:v}=ee();return jsxs("div",{...R(b,h),className:L(qD({background:o,isFocusVisible:v}),"BaselineUI-Drawer",e),"data-block-id":a,"data-block-class":l,style:t,ref:Z(m,y),children:[jsxs(X,{paddingLeft:"lg",paddingRight:"sm",backgroundColor:"background.primary.subtle",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"lg",className:XD,children:[jsx(Ze,{type:"title",size:"sm",...f,className:FD,children:n}),jsxs(X,{children:[i?jsx(me,{...i,variant:"secondary"}):null,jsx(me,{variant:"secondary",size:"md",icon:XIcon,onPress:s,"aria-label":p(Jj.close)})]})]}),jsx(De,{variant:o==="subtle"?"primary":"secondary"}),jsx(X,{display:"flex",flexDirection:"column",flex:1,style:{overflow:"auto",...u},className:L(c,"BaselineUI-Drawer-Content"),children:r})]})});mm.displayName="Drawer";var Jj=Re({close:{id:"close",defaultMessage:"Close"}});var ZD="aml2vl8 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6ij _1yep5z6ik _1yep5z6il",JD="_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7",QD=V({defaultClassName:"aml2vl3 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6is _1yep5z6it _1yep5z6iu",variantClassNames:{enableDrawer:{false:"_1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf",true:"aml2vl5"},shouldContainOverlays:{true:"aml2vl6",false:"aml2vl7"}},defaultVariants:{},compoundVariants:[]}),ek=V({defaultClassName:"aml2vl0 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6gb",variantClassNames:{shouldContainOverlays:{true:"aml2vl1",false:"aml2vl2"}},defaultVariants:{},compoundVariants:[]});var _o=Mo.createContext({state:null,triggerProps:{},overlayProps:{}}),ro=({children:e,...t})=>{let r=Nt(t),{triggerProps:o,overlayProps:n}=Wr({type:"dialog"},r),i=useMemo(()=>({state:r,triggerProps:o,overlayProps:n}),[r,o,n]);return jsx(_o.Provider,{value:i,children:e})};ro.displayName="Modal";function ik(e,t,r){let[o,n]=useState({}),i=useRef(false),[a,l]=useState(null),{container:s,shouldContainOverlays:u,isContainerPositioned:c,containerHeight:d,portalContainer:m}=useContext(Eo);useEffect(()=>{if(!e)return;let f=j(e),h=f.visualViewport,v=()=>{let g=r?h?.height??f.innerHeight:f.innerHeight,x=f.innerHeight-g;if(i.current=r?x>60:false,i.current){let T=pe(e.ownerDocument);T&&C1(T)&&T.scrollIntoView({behavior:"smooth",block:"center"});}if(t)n({maxHeight:(g||0)*.8,bottom:x});else {let T=`${g||0}px`,P=u?`min(${T}, ${d?d+"px":T})`:T;n({maxHeight:`calc(${P} - (2 * ${themeVars.spacing.xl} + env(safe-area-inset-top) + env(safe-area-inset-bottom)))`,top:i.current?`calc(env(safe-area-inset-top) + ${themeVars.spacing.xl})`:void 0});}};return v(),h?.addEventListener("resize",v),f.addEventListener("resize",v),()=>{h?.removeEventListener("resize",v),f.removeEventListener("resize",v);}},[e,t,u,r,d]);let p=m&&!se(s,m);useEffect(()=>{if(!s||!u||c&&!p)return;let f=()=>{s&&l(wp(s));};f();let h=new ResizeObserver(()=>{f();});return h.observe(s),()=>{h.disconnect();}},[s,u,c,p]);let y=useMemo(()=>({...o,overflow:"auto",position:"relative"}),[o]),b=useMemo(()=>{if(!t&&i.current)return {alignItems:"flex-start"};if(u&&(!c||p)){let f=a||(s?wp(s):{x:0,y:0,height:0,width:0});return {position:"absolute",left:f.x,top:f.y,height:f.height,width:f.width}}return {}},[t,i.current,s,c,u,a,p]);return {dialogStyle:y,containerStyle:b}}var Xg=Mo.forwardRef(({children:e,className:t,style:r,isDismissable:o=true,isKeyboardDismissDisabled:n=false,portalContainer:i,disableAnimation:a,enableDrawer:l=false,"data-block-id":s,"data-block-class":u,shouldCloseOnInteractOutside:c},d)=>{let{state:m}=Mo.useContext(_o),[p,y]=Mo.useState(true),b=Mo.useRef(null),[f,h]=Mo.useState(null),{shouldHandleVirtualKeyboard:v}=useContext($a),{shouldContainOverlays:g,container:x,portalContainer:T}=useContext(Eo),P=un(),S=typeof l=="boolean"&&l||l==="auto"&&P==="mobile";ie(m,"ModalContent must be a child of Modal");let E=Mo.useRef(null),D=typeof o=="function"?o(S):o,I=typeof n=="function"?n(S):n,{modalProps:C,underlayProps:_}=Ac({isDismissable:p&&D,shouldCloseOnInteractOutside:N=>{let $=i||T;return !x?.contains(N)&&g&&!$?.contains(N)?false:c?.(N)??true},isKeyboardDismissDisabled:I,root:g?x??void 0:void 0},m,E),{dialogStyle:z,containerStyle:w}=ik(f,S,v),O=useMemo(()=>({isDrawer:S,closeDrawer:m.close,dialogStyle:z,dialogRef:b,setDialogElement:h,isWithinModal:true}),[S,m.close,z,b,h]),k=useMemo(()=>({setIsPopoverSafelyClosed:y}),[y]),M={duration:.3,type:"tween",ease:"easeOut"},F={type:"spring",duration:.3},K={open:{opacity:1,transform:S?"translateY(0%)":"scale(1)"},closed:a?{opacity:1,transform:S?"translateY(0%)":"scale(1)"}:{opacity:0,transform:S?"translateY(100%)":"scale(0.95)"}};return jsx(ym.Provider,{value:O,children:jsx(bm.Provider,{value:k,children:jsxs(Kt,{className:L(QD({enableDrawer:S,shouldContainOverlays:g}),t),"data-block-id":s,"data-block-class":u,style:{...r,...w},portalContainer:i,ref:d,children:[jsx(motion.div,{..._,variants:{open:{opacity:1},closed:{opacity:a?1:0}},initial:"closed",animate:"open",exit:"closed","data-testid":"underlay",transition:M,className:L(ek({shouldContainOverlays:g}),"BaselineUI-Modal-Underlay")}),jsx(motion.div,{...C,ref:E,"data-drawer":S,className:L(S?ZD:JD,"BaselineUI-Modal-Content"),variants:K,transition:S?M:F,initial:"closed",animate:"open",exit:"closed",children:typeof e=="function"?e(m):e})]})})})});Xg.displayName="ModalContentCore";var ym=Mo.createContext({isDrawer:false,closeDrawer:()=>{},dialogStyle:{},setDialogElement:()=>{},isWithinModal:false}),bm=Mo.createContext({setIsPopoverSafelyClosed:()=>{}}),oo=Mo.forwardRef(({shouldAnimateOnMount:e=true,disableAnimation:t,...r},o)=>{let{state:n}=Mo.useContext(_o);return jsx(AnimatePresence,{initial:e&&!t,children:n?.isOpen?jsx(Xg,{...r,ref:o}):null})});oo.displayName="ModalContent";var ck="var(--cjv3et0)",dk=V({defaultClassName:"cjv3et1 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6g1 _1yep5z6lz _1yep5z6m1",variantClassNames:{size:{sm:"cjv3et2",md:"cjv3et3",lg:"cjv3et4",content:"cjv3et5"},variant:{primary:"_1yep5z6137",ghost:"cjv3et7"},overlayType:{modal:"cjv3et8",popover:"cjv3et9"},isDrawer:{true:"cjv3eta _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8 _1yep5z617q"},isFocusVisible:{true:"_1yep5z61q3 _1yep5z61tx _1yep5z61tz _1yep5z61u1"}},defaultVariants:{},compoundVariants:[]});var Zg=Mo.createContext({titleProps:{}}),nr=Mo.forwardRef(({children:e,className:t,style:r,inheritDrawer:o,size:n="md",variant:i="primary","data-block-id":a,"data-block-class":l,drawerBackground:s,...u},c)=>{let d=Mo.useRef(null),m=Mo.useRef(null),{containerWidth:p,shouldContainOverlays:y}=useContext(Eo),{isDrawer:b,closeDrawer:f,dialogStyle:h,setDialogElement:v,isWithinModal:g}=useContext(ym),[x,T]=Mo.useState(""),{focusProps:P,isFocusVisible:S}=ee();useLayoutEffect(()=>{let C=m.current?.getRootNode(),_=u["aria-label"]||"";u["aria-labelledby"]&&(_=C?.querySelector(`#${u["aria-labelledby"].replaceAll(":",String.raw`\:`)}`)?.textContent||""),T(_);},[u]);let{dialogProps:E,titleProps:D}=Qi(u,d),I=useMemo(()=>({titleProps:D}),[D]);return b&&o?jsx(mm,{title:x,onCloseRequest:f,className:t,style:h,...u,"data-drawer":true,"data-block-id":a,"data-block-class":l,ref:Z(m,c,C=>{v(C);}),background:s,children:e}):jsx(Zg.Provider,{value:I,children:jsx("section",{...R(E,P),"data-block-id":a,"data-block-class":l,"data-focus-visible":S,"data-overlay-type":g?"modal":"popover",ref:Z(d,c,C=>{v(C);}),style:{...h,...r,...assignInlineVars({[ck]:p&&y?`${p}px`:"100vw"})},className:L(dk({size:b?"content":n,variant:i,isDrawer:b,isFocusVisible:S,overlayType:g?"modal":"popover"}),"BaselineUI-Dialog",t),children:e})})});nr.displayName="Dialog";var mk=Mo.forwardRef(({children:e,className:t,style:r},o)=>{let{titleProps:n}=useContext(Zg);return Mo.isValidElement(e)?Mo.cloneElement(e,{...n,ref:o,className:L(e.props.className,t),style:{...e.props.style,...r}}):jsx("h3",{...n,ref:o,className:t,style:r,children:e})});mk.displayName="DialogTitle";var{color:Ua}=themeVars,fk=({placement:e,arrowProps:t})=>jsxs(Fragment,{children:[jsxs("svg",{...t,className:L(t.className,X1({placement:e}),"BaselineUI-PopoverContent-Arrow"),style:{...t.style,position:"absolute"},width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"arrow",children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.019 0h1.228l6.272 7.237L13.791 0h1.228v1h-.772L7.519 8.763.791 1H.019V0Z",fill:Ua.border.medium}),jsx("path",{d:"M7.504 6.492 2.248.488h10.511L10.132 3.49 7.504 6.492Z",fill:Ua.background.primary.subtle,stroke:Ua.background.primary.subtle})]}),jsxs("svg",{...t,className:L(t.className,Y1({placement:e}),"BaselineUI-PopoverContent-Arrow-Focused"),width:"15",height:"11",viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t.style,position:"absolute"},"data-testid":"arrow-focused",children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.543371 2H0V0H1.45663L7.5 6.97312L13.5434 0H15V2H14.4566L7.5 10.0269L0.543371 2Z",fill:Ua.border.interactive.enabled}),jsx("path",{d:"M7.504 6.492 2.248.488h10.511L10.132 3.49 7.504 6.492Z",fill:Ua.background.primary.subtle,stroke:Ua.background.primary.subtle})]})]});var th=Mo.forwardRef(({portalClassName:e,portalStyle:t,className:r,style:o,state:n,overlayProps:i,underlayClassName:a,children:l,includeArrow:s=false,offset:u=2,portalContainer:c,contentContainerClassName:d,contentContainerStyle:m,setPopoverStyle:p,"data-block-id":y,"data-block-class":b,disableAnimation:f,popoverContainerRef:h,shouldContainFocus:v,arrowClassName:g,arrowStyle:x,disableFocusManagement:T,...P},S)=>{let E=ge(h),D=Ft(c),I=s?8:0,{underlayProps:C,popoverProps:_,placement:z,arrowProps:w}=Lc({...P,offset:u+I,popoverRef:E,containerPadding:P.containerPadding||0},n);delete _.style?.position;let O=(z==="center"?"bottom":z)||"bottom",k=useMemo(()=>({isOpen:n.isOpen}),[n.isOpen]),{transitionProps:M}=Zp({placement:z||"bottom",isDisabled:f}),F=useMemo(()=>({..._.style,...assignInlineVars({[tD]:`${P.triggerRef?.current?.offsetWidth}px`}),...Op(o,k)}),[_.style,P.triggerRef,o,k]);useEffect(()=>{p({left:_.style?.left,top:_.style?.top,zIndex:F.zIndex});},[_.style?.left,_.style?.top,p,F.zIndex]);let K=useMemo(()=>({...w,className:L(w.className,eu(g,k)),style:{...w.style,...Op(x,k)}}),[w,g,x,k]);return jsxs(Kt,{portalContainer:D,style:t,className:e,ref:S,"data-block-id":y,"data-block-class":b,shouldContainFocus:v,disableFocusManagement:T,children:[!P.isNonModal&&jsx("div",{...C,className:L(eD,eu(a,k),"BaselineUI-Popover-Underlay")}),jsxs(motion.div,{...R(_,M),style:F,ref:E,className:L(Z1,eu(r,k),"BaselineUI-Popover-ContentContainer"),"data-placement":["top","bottom","left","right"].filter(N=>z?.includes(N)),children:[s?jsx(fk,{placement:O,arrowProps:K}):null,jsx(as,{onDismiss:n.close}),jsx("div",{...i,style:Op(m,k),className:L(J1,eu(d,k),"BaselineUI-Popover-Content"),children:typeof l=="function"?l(n):l}),jsx(as,{onDismiss:n.close})]})]})});th.displayName="PopoverContentCore";var gk=({children:e,isOpen:t,popoverContentRef:r,portalContainer:o=document.body,style:n})=>{let[i,a]=useState(false),[l,s]=useState(null),u=useRef(null),{setIsPopoverSafelyClosed:c}=useContext(bm);useEffect(()=>{t?(a(true),u.current&&clearTimeout(u.current)):u.current=setTimeout(()=>{a(false);},300);},[t]),useEffect(()=>()=>{u.current&&clearTimeout(u.current);},[]);let d=r.current;return useEffect(()=>{d&&s(d.getBoundingClientRect());},[d]),useEffect(()=>{c(!i);},[i,c]),jsxs(Fragment,{children:[i?jO.createPortal(jsx("div",{style:{position:"absolute",left:n?.left,top:n?.top,width:l?.width,height:l?.height,zIndex:n?.zIndex?+n.zIndex-1:void 0},className:"BaselineUI-Popover-ClickPreventionLayer","data-testid":"event-leak-prevention-layer"}),o):null,e]})};var dt=Mo.forwardRef(({state:e,overlayProps:t,portalContainer:r,...o},n)=>{let{state:i,overlayTriggerAria:{overlayProps:a},triggerRef:l}=useContext(ou),[s,u]=useState({}),c=Ft(r),d=e||i,m=o.triggerRef||l,p=t||a;ie(m);let y=Mo.useRef(null);return jsx(gk,{isOpen:d?.isOpen??false,popoverContentRef:y,portalContainer:c,style:s,children:d?.isOpen?jsx(th,{ref:n,...o,triggerRef:m,overlayProps:p,state:d,portalContainer:c,setPopoverStyle:u,popoverContainerRef:y}):null})});dt.displayName="PopoverContent";var Wa=({icon:e,tooltip:t,label:r,isFocusable:o=true,...n})=>{let{tooltipProps:i}=Ot({label:r,tooltip:t,offset:9});return jsx(Be,{...i,children:({triggerProps:a,triggerRef:l})=>jsx(X,{display:"inline-flex",...a,ref:l,tabIndex:o?0:void 0,"data-testid":"icon-with-tooltip",children:jsx(e,{...n})})})};var Pk=Mo.forwardRef(({className:e,style:t,onChange:r,"data-block-id":o,icon:n,formatValue:i=p=>p,tooltip:a=true,iconTooltip:l=true,popoverContentProps:s,isDisabled:u,onTriggerPress:c,...d},m)=>{let p=ge(m),[y,b]=be(d.value,d.defaultValue||0,r),[f,h]=Mo.useState(false),{keyboardProps:v}=Ce({onKeyDown:P=>{(P.key==="Enter"||P.key==="Escape")&&h(false);}}),{tooltipProps:g}=Ot({label:d["aria-label"],tooltip:a}),x=i(y||0),T=g?.isDisabled||d["aria-label"]?`${d["aria-label"]}, ${x}`:x.toString();return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:"md",alignItems:"center",className:L("BaselineUI-IconSlider",e),"data-block-id":o,style:t,ref:p,children:[n?jsx(Wa,{icon:n,label:d["aria-label"],tooltip:l,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary"})}):null,jsxs(ko,{type:"dialog",isOpen:f,onOpenChange:h,children:[jsx(zo,{children:jsx(Be,{...g,children:jsx(Ie,{label:x,variant:"popover","aria-label":T,isDisabled:u,style:{fontVariantNumeric:"tabular-nums",minWidth:68,justifyContent:"space-between"},onPressStart:c})})}),jsx(dt,{placement:"bottom start",...s,children:jsx(nr,{size:"content","aria-label":T,children:jsx(zt,{autoFocus:true,children:jsx(X,{paddingY:"sm",paddingX:"lg",marginY:"md",style:{width:215},...v,children:jsx(ja,{...d,onChange:P=>{b(P),r?.(P);},value:y})})})})})]})]})});Pk.displayName="IconSlider";var Ck=V({defaultClassName:"bpklwa7 z9nup88",variantClassNames:{isReadOnly:{true:"bpklwa8"},isDisabled:{true:"bpklwa9"},isSelected:{true:"bpklwaa"},isFocused:{true:"bpklwab"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"bpklwac"]]}),Sk=V({defaultClassName:"bpklwae",variantClassNames:{isDisabled:{true:"bpklwaf"},isSelected:{true:"bpklwag"},isReadOnly:{true:"bpklwah"}},defaultVariants:{},compoundVariants:[]}),Dk="bpklwad",kk=V({defaultClassName:"bpklwa0",variantClassNames:{labelPosition:{top:"bpklwa1",left:"bpklwa2"}},defaultVariants:{},compoundVariants:[]}),zk="bpklwa6",Ek=V({defaultClassName:"bpklwa3",variantClassNames:{labelPosition:{top:"bpklwa4",left:"bpklwa5"}},defaultVariants:{},compoundVariants:[]});var Ik=Mo.forwardRef(({className:e,label:t,labelPosition:r="top",statusLabel:o,style:n,"data-block-id":i,"data-block-class":a,...l},s)=>{let u=Mo.useRef(null),c=Pr(l),{inputProps:d,isPressed:m}=fa({...l,children:t},c,u),{isFocusVisible:p,focusProps:y}=ee(),{hoverProps:b,isHovered:f}=re({isDisabled:l.isDisabled}),h=ce({"data-block-id":i,"data-block-class":a,"data-focused":p,"data-disabled":l.isDisabled,"data-focus-visible":p,"data-selected":c.isSelected,"data-readonly":l.isReadOnly,"data-hovered":f,"data-pressed":m}),v=jsx("div",{className:L(Ck({isSelected:c.isSelected,isDisabled:!!l.isDisabled,isFocused:p,isReadOnly:!!l.isReadOnly}),"BaselineUI-Switch-Track"),children:jsx("div",{className:L(Sk({isSelected:c.isSelected,isDisabled:l.isDisabled,isReadOnly:l.isReadOnly}),"BaselineUI-Switch-Knob"),"data-testid":"switch-knob"})});return jsxs("label",{...R(h,b),className:L(kk({labelPosition:r}),"BaselineUI-Switch",e),style:n,ref:s,children:[t?jsx("span",{className:L(Dk,"BaselineUI-Switch-Label"),children:t}):null,jsx(Le,{children:jsx("input",{...R(d,y),ref:u})}),o?jsxs("div",{className:Ek({labelPosition:r}),children:[jsx("span",{className:L("BaselineUI-Switch-Status-Label",zk),children:c.isSelected?o.on:o.off}),v]}):v]})});Ik.displayName="Switch";var Rk="_19n40yy9 _1yep5z6ly _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6eu",Lk=V({defaultClassName:"_19n40yy0 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6g1 _1yep5z6m1 _1yep5z6lz _1yep5z6hg _1yep5z6f5 _1yep5z6ln _1yep5z6e6",variantClassNames:{size:{lg:"_19n40yy1",md:"_19n40yy2",sm:"_19n40yy3 _1yep5z6106"},variant:{primary:"_1yep5z6137",ghost:"_19n40yy5"},isFocused:{true:"_19n40yy6"},hasText:{true:"_1yep5z6oc _1yep5z6od _1yep5z6oe"},isDisabled:{true:"_19n40yy8 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]});var w2={sm:SearchIcon$1,md:SearchIcon,lg:SearchIcon},xm=Mo.forwardRef(({className:e,size:t="md",variant:r="primary","data-block-id":o,"data-block-class":n,style:i,...a},l)=>{let s=Mo.useRef(null);[a,s]=er(a,s,Pn);let u=Jd(a),{inputProps:c,clearButtonProps:d}=jc({...Xo(a),"aria-haspopup":false,"aria-autocomplete":"none",type:"search"},u,s),{focusProps:m,isFocusVisible:p,isFocused:y}=ee({within:true,isTextInput:true}),b=w2[t],f=t==="sm"?XIcon$1:XIcon$2,h=ce({"data-block-id":o,"data-block-class":n,"data-focused":y,"data-disabled":a.isDisabled,"data-focus-visible":p}),v=le(a,{global:true});return delete v.id,jsxs("div",{...v,...h,className:L(Lk({size:t,isFocused:y,variant:r,hasText:!!u.value,isDisabled:a.isDisabled}),"BaselineUI-SearchInput",e),style:i,ref:l,children:[jsx(b,{size:t==="sm"?20:24}),jsx("input",{...R(c,m),className:Rk,ref:s}),u.value!==""&&jsx(me,{icon:f,...d,size:t==="sm"?"xs":"sm",variant:"secondary",isExcludedFromRovingFocus:true})]})});xm.displayName="SearchInput";var Nk="xyd2ss1 _1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6pi _1yep5z6pj _1yep5z6pk _1yep5z6qo _1yep5z6qp _1yep5z6qq _1yep5z6oc _1yep5z6od _1yep5z6oe _1yep5z6ru _1yep5z6rv _1yep5z6rw _1yep5z6u6 _1yep5z6u7 _1yep5z6u8 _1yep5z6vc _1yep5z6vd _1yep5z6ve _1yep5z6t0 _1yep5z6t1 _1yep5z6t2 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq _1yep5z617v _1yep5z617u _1yep5z6143 _1yep5z617y _1yep5z6124",Ok="xyd2ss0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b";var nh=({section:e,showSelectedIcon:t,state:r})=>{let{itemProps:o,groupProps:n,headingProps:i}=$c({heading:e.value?.title,"aria-label":e["aria-label"]});return jsxs(Fragment,{children:[e.key!==r.collection.getFirstKey()&&jsx(De,{elementType:"li"}),jsxs("li",{...o,children:[e.value?.title?jsx(Le,{children:jsx("span",{...i,children:e.value.title})}):null,jsx("ul",{...n,className:Ok,children:[...e.childNodes].map(a=>(ie(a.type==="item"),jsx(Tm,{item:a,state:r,showSelectedIcon:t},a.key)))})]})]})};nh.displayName="MenuSection";var Tm=({item:e,state:t,className:r,showSelectedIcon:o})=>{let n=Mo.useRef(null),i=Bc({key:e.key},t,n),{isFocusVisible:a,focusProps:l}=ee();return jsx(Ma,{item:e,liProps:R(i.menuItemProps,l,{className:r}),...i,isFocusVisible:a,ref:n,description:e.value?.keyboardShortcut,descriptionProps:i.keyboardShortcutProps,_state:t,showSelectedIcon:o})};Tm.displayName="MenuItem";var ih="_1mdhlqvd _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6kd _1yep5z6ke _1yep5z6kf",Kk=V({defaultClassName:"_1mdhlqv9",variantClassNames:{isOpen:{true:"_1mdhlqva"}},defaultVariants:{},compoundVariants:[]}),Vk="_1mdhlqvi",Bk=V({defaultClassName:"_1mdhlqve _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",variantClassNames:{isVirtualized:{true:"_1mdhlqvf"}},defaultVariants:{},compoundVariants:[]}),dn="_1mdhlqvc cjv3et1 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6g1 _1yep5z6lz _1yep5z6m1 _1yep5z6137 cjv3et5",$k="_1mdhlqvg",Hk="_1mdhlqvh _1yep5z64x _1yep5z64y _1yep5z64z _1yep5z679 _1yep5z67a _1yep5z67b _1yep5z68f _1yep5z68g _1yep5z68h _1yep5z663 _1yep5z664 _1yep5z665",jk=V({defaultClassName:"_1mdhlqv0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy",variantClassNames:{isFocused:{false:"_1mdhlqv1"},isOpen:{true:"_1mdhlqv2"},isDisabled:{true:"z9nup82 _1yep5z6ey"},isHovered:{true:"_1mdhlqv4"},variant:{primary:"_1mdhlqv5",ghost:"_1mdhlqv6"},isReadOnly:{true:"_1mdhlqv7"},areTagsVisible:{true:"_1mdhlqv8 _1yep5z613 _1yep5z614 _1yep5z615 _1yep5z63f _1yep5z63g _1yep5z63h _1yep5z6k4 _1yep5z6k5 _1yep5z6k6"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isHovered:true,isReadOnly:false,isDisabled:false},"_1yep5z6h5"],[{isHovered:true,isReadOnly:false,isDisabled:false},"_1yep5z6la"]]}),Gk="_1yep5z66x _1yep5z66y _1yep5z66z",ah="_1mdhlqvb _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k";var sh=Mo.forwardRef(({className:e,itemClassName:t,onContentKeyDown:r,...o},n)=>{let i=Ea(o),a=Mo.useRef(null),{menuProps:l}=Vc(o,i,a),{keyboardProps:s}=Ce({onKeyDown:r});return jsx("ul",{...R(l,s),className:L(dn,Nk,e),ref:Z(a,n),children:[...i.collection].map(u=>u.type==="section"?jsx(nh,{section:u,state:i,showSelectedIcon:o.selectionMode==="multiple"||o.selectionMode==="single"},u.key):jsx(Tm,{item:u,state:i,className:t,showSelectedIcon:o.selectionMode==="multiple"||o.selectionMode==="single"},u.key))})});sh.displayName="MenuContent";var Pm=Mo.forwardRef(({defaultOpen:e,onOpenChange:t,isOpen:r,isDisabled:o,contentClassName:n,placement:i="bottom start",isNonModal:a,shouldFlip:l,shouldUpdatePosition:s,boundaryElement:u,crossOffset:c,offset:d,triggerLabel:m,renderTrigger:p=({buttonProps:h,ref:v})=>jsx(Ie,{...h,variant:"popover",ref:v}),portalContainer:y,...b},f)=>{let h=Mo.useRef(null),v=Ft(y),g=Yd({defaultOpen:e,isOpen:r,onOpenChange:t}),{menuTriggerProps:x,menuProps:T}=qo({isDisabled:o,type:"menu"},g,h),P=Dr(),S=useMemo(()=>R(x,{isDisabled:o,isSelected:g.isOpen,className:"BaselineUI-Menu-Trigger",label:typeof m=="function"?m(g.isOpen):m}),[x,o,g.isOpen,m]);return useEffect(()=>{!m&&!p&&console.warn("The `triggerLabel` prop is required when no `renderTrigger` or `children` is provided.");},[p,m]),jsxs(Fragment,{children:[p({buttonProps:S,ref:h}),g.isOpen?jsx(dt,{triggerRef:h,state:g,placement:i,isNonModal:a,shouldFlip:l,shouldUpdatePosition:s,boundaryElement:u,crossOffset:c,offset:d||2,className:"BaselineUI-Menu-Popover",portalContainer:v,children:jsx(sh,{className:n,...T,...b,ref:f,autoFocus:g.focusStrategy||"first",children:P})}):null]})});Pm.displayName="Menu";var Cm=V({defaultClassName:"_13f0naj0",variantClassNames:{variant:{default:"_13f0naj1",inline:"_13f0naj2"},isHovered:{true:"_13f0naj3"},isFocusVisible:{true:"_13f0naj4"},isDisabled:{true:"_13f0naj5"},size:{sm:"_13f0naj6",md:"_13f0naj7",lg:"_13f0naj8"},type:{body:"_13f0naj9",label:"_13f0naja"},isActive:{true:"_13f0najb"}},defaultVariants:{},compoundVariants:[[{isActive:true,isDisabled:false},"_13f0najc"],[{type:"body",size:"sm"},"_13f0najd"],[{type:"body",size:"md"},"_13f0naje"],[{type:"body",size:"lg"},"_13f0najf"],[{type:"label",size:"sm"},"_13f0najg"],[{type:"label",size:"md"},"_13f0najh"],[{type:"label",size:"lg"},"_13f0naji"]]});var Xk=Mo.forwardRef(({className:e,style:t,children:r,variant:o="default",size:n="md",elementType:i="a",type:a="body","data-block-id":l,"data-block-class":s,title:u,role:c,...d},m)=>{let p=Mo.useRef(null),{linkProps:y,isPressed:b}=Wc({...d,elementType:d.onPress?"span":i},p),{isFocusVisible:f,isFocused:h,focusProps:v}=ee(),{hoverProps:g,isHovered:x}=re({isDisabled:d.isDisabled}),T=i,P=ce({"data-block-id":l,"data-block-class":s,"data-disabled":d.isDisabled,"data-focused":h,"data-pressed":b,"data-focus-visible":f,"data-hovered":x,role:c,title:u});return jsx(T,{...R(y,v,g,P),className:L(Cm({variant:o,isFocusVisible:f,isHovered:x,isDisabled:d.isDisabled,size:n,isActive:b,type:a}),"BaselineUI-Link",e),ref:Z(p,m),style:t,children:r})});Xk.displayName="Link";function Yk({isDisabled:e,onValueChange:t,onChange:r,name:o,"aria-describedby":n,"aria-label":i,accept:a,multiple:l}){let s=Y(),u=Y(),c=Y();return {inputProps:{type:"file",id:u,disabled:!!e,"aria-labelledby":i?void 0:s,"aria-describedby":n||c,"aria-label":i,onChange:m=>{let p=[...m.target.files||[]];t?.(p),r?.(m);},name:o,accept:a,multiple:l},labelProps:{htmlFor:u,id:s},descriptionProps:{id:c}}}async function ch({items:e}){let t=e.filter(r=>r.kind==="file").map(async r=>(ie(r.kind==="file"),r.getFile()));return await Promise.all(t)}var Zk=V({defaultClassName:"_180w5ed0",variantClassNames:{variant:{default:"_180w5ed1",inline:"_180w5ed2"},hoveredOrFocusedOrActive:{true:"_180w5ed3"},disabled:{true:"_180w5ed4"}},defaultVariants:{},compoundVariants:[[{variant:"inline",hoveredOrFocusedOrActive:true},"_180w5ed5"],[{variant:"default",hoveredOrFocusedOrActive:true},"_180w5ed6"],[{variant:"default",disabled:true},"_180w5ed7"],[{variant:"inline",disabled:true},"_180w5ed8"]]}),Jk=V({defaultClassName:"_180w5ede",variantClassNames:{disabled:{true:"_180w5edf"}},defaultVariants:{},compoundVariants:[]}),Qk=V({defaultClassName:"_180w5ed9",variantClassNames:{disabled:{true:"_180w5eda"}},defaultVariants:{},compoundVariants:[]}),ez=V({defaultClassName:"_180w5edb",variantClassNames:{disabled:{true:"_180w5edc"},hovered:{true:"_180w5edd"}},defaultVariants:{},compoundVariants:[]});var oz=Mo.forwardRef(({className:e,label:t,description:r,icon:o,variant:n="default",...i},a)=>{let l=Mo.useRef(null),{inputProps:s,descriptionProps:u,labelProps:c}=Yk(i),{dropProps:d}=Jo({ref:l,onDrop:async({items:f})=>{let h=f.filter(g=>g.kind==="file").map(async g=>(ie(g.kind==="file"),g.getFile())),v=await Promise.all(h);i.onValueChange?.(v);}}),{focusProps:m,isFocusVisible:p}=ee(),{hoverProps:y,isHovered:b}=re({isDisabled:i.isDisabled});return jsxs("label",{...R(d,y,c),className:L(Zk({variant:n,disabled:i.isDisabled,hoveredOrFocusedOrActive:b||p}),e),ref:Z(a,l),children:[jsx(Le,{children:jsx("input",{...R(m,s)})}),o?jsx(o,{size:20,className:Qk({disabled:i.isDisabled})}):null,jsxs("div",{children:[jsx("div",{className:ez({disabled:i.isDisabled,hovered:b}),children:t}),r?jsx("div",{...u,className:Jk({disabled:i.isDisabled}),children:r}):null]})]})});oz.displayName="FileUpload";var nz="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6ln",iz="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl",az=V({defaultClassName:"_12vfhl44",variantClassNames:{variant:{success:"_1yep5z611s",error:"_1yep5z611o",active:"_1yep5z6120"}},defaultVariants:{},compoundVariants:[]}),lz="_1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6ev _1yep5z6dy",sz="_12vfhl43 _1yep5z6g5 _1yep5z6ln",uz="_12vfhl42 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",cz="_1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k",dz=V({defaultClassName:"_12vfhl40 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dy _1yep5z6eu",variantClassNames:{hasLabel:{false:"_1yep5z6pi _1yep5z6pj _1yep5z6pk"}},defaultVariants:{},compoundVariants:[]});var pz=Mo.forwardRef(({className:e,style:t,variant:r="active",showValue:o,description:n,errorMessage:i,"data-block-id":a,"data-block-class":l,...s},u)=>{let c=Y(),{labelProps:d,progressBarProps:m}=pa({...s,"aria-describedby":n?c:s["aria-describedby"]}),{minValue:p=0,maxValue:y=100,value:b=0,label:f}=s,h=(b-p)/(y-p),v=`${Math.round(h*100)}%`,g=jsx("output",{className:dz({hasLabel:!!f}),children:m["aria-valuetext"]}),x=r==="error"?i:n;return jsxs("div",{...m,style:t,className:L(nz,"BaselineUI-ProgressBar",e),"data-block-id":a,"data-block-class":l,ref:u,children:[f?jsxs("div",{className:iz,children:[jsx("label",{...d,className:lz,children:f}),o?g:null]}):null,jsxs("div",{className:cz,children:[jsxs("div",{className:uz,children:[jsx("div",{className:sz,children:jsx("div",{style:{width:v},className:az({variant:r})})}),!f&&o?g:null]}),x?jsx("div",{className:Oa({hasError:r==="error"}),id:c,children:x}):null]})]})});pz.displayName="ProgressBar";function Ya({isReadOnly:e,validationState:t}){return e?ReadOnlyIcon:t==="error"?ErrorCircleFilledIcon:t==="warning"?WarningFilledIcon$1:null}var ai=Mo.forwardRef(({labelPosition:e="top",className:t,style:r,labelProps:o,isDisabled:n=false,isReadOnly:i=false,label:a,message:l,"data-block-id":s,validationState:u="valid",isFocused:c=false,variant:d="primary",children:m,fieldProps:p,wrapperRef:y,wrapperClassName:b,isInvalid:f},h)=>{let{hoverProps:v,isHovered:g}=re({isDisabled:n}),x=Ya({isReadOnly:i,validationState:u});return jsxs("div",{className:L(sn({labelPosition:e}),t),"data-block-id":s,style:r,ref:h,children:[a||e==="start"&&l?jsxs("div",{className:ln({labelPosition:e,hasMessage:!!l}),children:[jsx(X,{...o,elementType:"label",color:"text.secondary",typography:"label.md.medium",children:a}),e==="start"&&l]}):null,jsxs("div",{className:L({[Ba]:n}),children:[jsxs("div",{...R(p,v),className:L(Va({validationState:f?"error":u,isHovered:g,isFocused:c,variant:d,isReadOnly:i,isDisabled:n}),b),ref:y,children:[m,x?jsx(x,{className:Fa({validationState:u,isReadOnly:i}),size:16}):null]}),e==="top"&&l]})]})});ai.displayName="SharedInput";var pn=Mo.forwardRef(({className:e,validationState:t,variant:r="primary",labelPosition:o="top",inputStyle:n,inputClassName:i,"data-block-id":a,"data-block-class":l,...s},u)=>{let c=Mo.useRef(null),{inputProps:d,labelProps:m,descriptionProps:p,errorMessageProps:y,validationErrors:b}=Qt({...s,validationState:t?t==="error"?"invalid":"valid":void 0},c),f=s.errorMessage||b.join(" "),h=or({...s,errorMessage:f,descriptionProps:p,errorMessageProps:y,labelPosition:o});f&&(t="error");let{isFocused:v,focusProps:g,isFocusVisible:x}=ee(),T=ce({"data-readonly":s.isReadOnly,"data-disabled":s.isDisabled,"data-validation-state":t,"data-focused":v,"data-focus-visible":x});return jsx(ai,{variant:r,labelProps:m,isFocused:v,message:h,ref:u,labelPosition:o,className:L("BaselineUI-TextInput",e),validationState:t,"data-block-id":a,"data-block-class":l,...s,children:jsx("input",{...R(d,g,T),className:L(Yp({isDisabled:s.isDisabled,labelPosition:o}),"BaselineUI-TextInput-Input",i),style:n,ref:c})})});pn.displayName="TextInput";var Za=({value:e,...t})=>{let r=gr(t);return jsx(Fragment,{children:r.format(e)})};Za.displayName="NumberFormat";var bz="_1yep5z6iv _1yep5z6iw _1yep5z6ix",gz=V({defaultClassName:"_9b1tml0",variantClassNames:{isSelected:{true:"_9b1tml1",false:"_9b1tml2"},isDisabled:{true:"z9nup82"},isHovered:{true:"_9b1tml4"},isFocusVisible:{true:"_9b1tml5"},isReadOnly:{true:"_9b1tml6"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true,isReadOnly:false},"_9b1tml7"],[{isSelected:true,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml8"],[{isSelected:false,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml9"],[{isSelected:true,isDisabled:true},"_9b1tmla"],[{isSelected:true,isReadOnly:true},"_9b1tmlb"]]}),hz=V({defaultClassName:"_9b1tmlf _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6eu _1yep5z6la _1yep5z6e9",variantClassNames:{isSelected:{true:"_9b1tmlg"},size:{sm:"_9b1tmlh",md:"_9b1tmli"},isDisabled:{true:"_9b1tmlj"},isReadOnly:{true:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"_1yep5z61n6"],[{isSelected:true,isDisabled:true},"_1yep5z61n6"],[{isSelected:false,isDisabled:true},"_1yep5z61n4"]]}),vz=V({defaultClassName:"_9b1tmlc",variantClassNames:{isDisabled:{true:"_9b1tmld"},isReadOnly:{true:"_9b1tmle"}},defaultVariants:{},compoundVariants:[]});var Pz=Mo.forwardRef(({className:e,count:t,style:r,size:o="md",icon:n,"data-block-id":i,"data-block-class":a,...l},s)=>{let u={isRequired:false},c=n||(o==="md"?CheckmarkIcon$1:CheckmarkIcon$2);!l["aria-label"]&&!l["aria-labelledby"]&&console.warn("You must provide either an `aria-label` or `aria-labelledby` prop to the `Reaction` component.");let d=Mo.useRef(null),m=Pr({...l,...u}),{inputProps:p,isPressed:y,isDisabled:b,isReadOnly:f,isSelected:h}=fa({...l,...u},m,d),{focusProps:v,isFocused:g,isFocusVisible:x}=ee(),{hoverProps:T,isHovered:P}=re({}),S=ce({"data-block-id":i,"data-block-class":a,"data-focused":g,"data-focus-visible":x,"data-disabled":b,"data-hovered":P,"data-pressed":y,"data-selected":h});return jsxs("label",{ref:s,style:r,className:L(bz,"BaselineUI-Reaction",e),...S,children:[jsx(Le,{children:jsx("input",{...p,...v,ref:d})}),jsxs("div",{...T,className:gz({isSelected:h,isFocusVisible:x,isHovered:P,isReadOnly:f,isDisabled:b}),children:[jsx("div",{className:vz({isDisabled:b,isReadOnly:f}),children:jsx(c,{size:o==="md"?20:16})}),jsx("div",{className:hz({isSelected:m.isSelected,isDisabled:b,isReadOnly:f,size:o}),children:jsx(Za,{value:t})})]})]})});Pz.displayName="Reaction";var Cz="_1azy5686",Sz="_1azy5685",Dz="var(--_1azy5680)",kz="_1azy5688",zz="_1azy5689",Ez="_1azy5681 z9nup81",wz="_1azy5682";var _z="_1azy5687";var Q2={sm:16,md:20},eG={sm:[CheckmarkCircleFilledIcon,ErrorAltCircleFilledIcon$1],md:[CheckCircleFilledIcon,ErrorAltCircleFilledIcon]},Qa=Mo.forwardRef(({className:e,style:t,size:r="md",variant:o="active","data-block-id":n,"data-block-class":i,...a},l)=>{let{labelProps:s,progressBarProps:u}=pa({...a,isIndeterminate:true}),c=Q2[r],d=c/2-2,m=2*d*Math.PI,p=eG[r][o==="success"?0:1];return jsxs("div",{className:L(Ez,"BaselineUI-ProgressSpinner",e),ref:l,style:{...assignInlineVars({[Dz]:`${m}px`}),...t},"data-block-id":n,"data-block-class":i,children:[jsxs("div",{...u,className:wz,children:[(o==="active"||o==="inactive")&&jsxs("svg",{height:c,width:c,viewBox:`0 0 ${c} ${c}`,children:[jsx("circle",{role:"presentation",className:Cz,cx:c/2,cy:c/2,r:d}),o==="active"&&jsx("circle",{role:"presentation",className:Sz,cx:c/2,cy:c/2,r:d})]}),o==="success"&&jsx(p,{className:_z,size:c}),o==="error"&&jsx(p,{className:kz,size:c})]}),a.label?jsx("span",{...s,className:zz,children:a.label}):null]})});Qa.displayName="ProgressSpinner";var km=V({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),Iz=V({defaultClassName:"_5uw3kpd _1yep5z6f5",variantClassNames:{isDisabled:{true:"_1yep5z611a"},isSelected:{true:"_1yep5z611c"}},defaultVariants:{},compoundVariants:[]});var rG={sm:16,md:20,lg:24},zm=Mo.forwardRef(({className:e,style:t,iconStart:r,size:o="md",elementType:n="button",variant:i="toolbar",...a},l)=>{let s=Pr(a),{buttonProps:u,isPressed:c,ref:d,isFocusVisible:m,isFocused:p,isHovered:y,uiStateOptions:b}=qp(a,s),f=ce({"data-block-id":a["data-block-id"],"data-block-class":a["data-block-class"],"data-focused":p,"data-focus-visible":m,"data-disabled":a.isDisabled,"data-hovered":y,"data-pressed":c,"data-selected":s.isSelected});return jsxs(n,{...R(u,f),className:L(km({isHovered:y,isFocusVisible:m,isSelected:s.isSelected,size:o,isDisabled:a.isDisabled,variant:i}),"BaselineUI-ToggleButton",typeof e=="function"?e(b):e),style:typeof t=="function"?t(b):t,ref:Z(d,l),children:[r?jsx(r,{size:rG[o],className:Iz({isDisabled:a.isDisabled,isSelected:s.isSelected})}):null,a.label]})});zm.displayName="ToggleButton";var Em=V({defaultClassName:"_16vugd0b _1yep5z6ev _1yep5z6dy",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),wm=V({defaultClassName:"_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl z9nup88",variantClassNames:{labelPosition:{end:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z6vl _1yep5z6vm _1yep5z6vn",start:"_1yep5z615a _1yep5z615b _1yep5z615c _1yep5z616m _1yep5z616n _1yep5z616o"}},defaultVariants:{},compoundVariants:[]}),el=V({defaultClassName:"_16vugd03 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6m1 _1yep5z6lz _1yep5z6h6 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6f8 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6lp _1yep5z6la _1yep5z6lk",variantClassNames:{isIndeterminate:{true:"_1yep5z6181 _1yep5z612c"},isSelected:{true:"_16vugd05"},isFocusVisible:{true:"_16vugd06"},isHovered:{true:"_1yep5z613a"},isDisabled:{true:"_16vugd08 _1yep5z613e"},isReadOnly:{true:"_16vugd09 _1yep5z6118 _1yep5z6184 _1yep5z6182 _1yep5z613e"},hasError:{true:"_1yep5z612q _1yep5z6184 _1yep5z6182"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"_1yep5z61of"],[{isSelected:true,isDisabled:false,isReadOnly:false,hasError:false},"_1yep5z61u4"],[{isSelected:true,isDisabled:true},"_1yep5z61op _1yep5z61nf"],[{isSelected:true,isDisabled:true,hasError:false},"_1yep5z61u4"],[{isHovered:true,isSelected:true,isReadOnly:false},"_1yep5z61ol _1yep5z61nf"],[{isHovered:true,isSelected:true,isReadOnly:false,hasError:false},"_1yep5z61u4"],[{isHovered:true,isSelected:false,isIndeterminate:true,isReadOnly:false},"_1yep5z61ol _1yep5z61nf"],[{isHovered:true,isSelected:false,isIndeterminate:true,isReadOnly:false,hasError:false},"_1yep5z61u4"]]});var Mz=Mo.forwardRef(({className:e,style:t,label:r,labelPosition:o="end","data-block-id":n,"data-block-class":i,...a},l)=>{let s=ge(l),u=Mo.useRef(null),c=Pr(a),{isFocusVisible:d,isFocused:m,focusProps:p}=ee(),{inputProps:y,isPressed:b,isDisabled:f,isSelected:h,isReadOnly:v}=Xc({...a,children:r},c,u),{hoverProps:g,isHovered:x}=re({isDisabled:f},s),T=ce({"data-disabled":f,"data-readonly":v,"data-hovered":x,"data-selected":h,"data-pressed":b,"data-indeterminate":a.isIndeterminate,"data-invalid":a.isInvalid,"data-focus-visible":d,"data-focused":m,"data-block-id":n,"data-block-class":i});return jsxs("label",{...T,className:L(wm({labelPosition:o}),"BaselineUI-Checkbox",e),style:t,ref:s,children:[jsx(Le,{children:jsx("input",{...R(y,p),ref:u})}),jsxs("div",{...g,className:el({isSelected:h&&!a.isIndeterminate,isIndeterminate:a.isIndeterminate,isFocusVisible:d,isDisabled:f,isReadOnly:v,hasError:a.isInvalid,isHovered:x}),children:[h&&!a.isIndeterminate?jsx(CheckmarkIcon$3,{size:12}):null,a.isIndeterminate?jsx(MinusIcon$1,{size:12}):null]}),r?jsx("span",{className:Em({isDisabled:f}),children:r}):null]})});Mz.displayName="Checkbox";var Az={goToPage:"\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0635\u0641\u062D\u0629",nextPage:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",pageXofY:"\u0635\u0641\u062D\u0629 {arg0} \u0645\u0646 {arg1}",prevPage:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"};var Nz={goToPage:"P\u0159ej\xEDt na stranu",nextPage:"Dal\u0161\xED str\xE1nka",pageXofY:"Strana {arg0} z {arg1}",prevPage:"P\u0159edchoz\xED strana"};var Oz={goToPage:"Mynd i Dudalen",nextPage:"Tudalen Nesaf",pageXofY:"Tudalen {arg0} o {arg1}",prevPage:"Tudalen Blaenorol"};var Fz={goToPage:"G\xE5 til side",nextPage:"N\xE6ste side",pageXofY:"Side {arg0} af {arg1}",prevPage:"Forrige side"};var Kz={goToPage:"Zu Seite wechseln",nextPage:"N\xE4chste Seite",pageXofY:"Seite {arg0} von {arg1}",prevPage:"Vorherige Seite"};var Vz={goToPage:"\u039C\u03B5\u03C4\u03AC\u03B2\u03B1\u03C3\u03B7 \u03C3\u03C4\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1",nextPage:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1",pageXofY:"\u03A3\u03B5\u03BB\u03AF\u03B4\u03B1 {arg0} \u03B1\u03C0\u03CC {arg1}",prevPage:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1"};var Bz={goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"};var $z={goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"};var Hz={goToPage:"Ir a la p\xE1gina",nextPage:"P\xE1gina siguiente",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina anterior"};var jz={goToPage:"Mene sivulle",nextPage:"Seuraava sivu",pageXofY:"Sivu {arg0} / {arg1}",prevPage:"Edellinen sivu"};var Gz={goToPage:"Aller \xE0 la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page pr\xE9c\xE9dente"};var Uz={goToPage:"Aller \xE0 la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page pr\xE9c\xE9dente"};var Wz={goToPage:"\u05DE\u05E2\u05D1\u05E8 \u05DC\u05E2\u05DE\u05D5\u05D3",nextPage:"\u05D4\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D0",pageXofY:"\u05E2\u05DE\u05D5\u05D3 {arg0} \u05DE\u05EA\u05D5\u05DA {arg1}",prevPage:"\u05D4\u05E2\u05DE\u05D5\u05D3 \u05D4\u05E7\u05D5\u05D3\u05DD"};var qz={goToPage:"Idi na stranicu",nextPage:"Slijede\u0107a stranica",pageXofY:"Stranica {arg0} od {arg1}",prevPage:"Prethodna stranica"};var Xz={goToPage:"Buka halaman",nextPage:"Halaman Berikutnya",pageXofY:"Halaman {arg0} dari {arg1}",prevPage:"Halaman Sebelumnya"};var Yz={goToPage:"Vai a pagina",nextPage:"Pagina successiva",pageXofY:"Pagina {arg0} di {arg1}",prevPage:"Pagina precedente"};var Zz={goToPage:"\u30DA\u30FC\u30B8\u306B\u79FB\u52D5",nextPage:"\u6B21\u306E\u30DA\u30FC\u30B8",pageXofY:"\u30DA\u30FC\u30B8 {arg0}/{arg1}",prevPage:"\u524D\u306E\u30DA\u30FC\u30B8"};var Jz={goToPage:"\uD398\uC774\uC9C0\uB85C \uC774\uB3D9",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",pageXofY:"{arg0}/{arg1} \uD398\uC774\uC9C0",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0"};var Qz={goToPage:"Pergi ke Halaman",nextPage:"Halaman Seterusnya",pageXofY:"Halaman {arg0} daripada {arg1}",prevPage:"Halaman Sebelumnya"};var eE={goToPage:"G\xE5 til side",nextPage:"Neste side",pageXofY:"Side {arg0} av {arg1}",prevPage:"Forrige side"};var tE={goToPage:"Ga naar pagina",nextPage:"Volgende pagina",pageXofY:"Pagina {arg0} van {arg1}",prevPage:"Vorige pagina"};var rE={goToPage:"Przejd\u017A do strony",nextPage:"Nast\u0119pna strona",pageXofY:"Strona {arg0} z {arg1}",prevPage:"Poprzednia strona"};var oE={goToPage:"Ir para p\xE1gina",nextPage:"P\xE1gina seguinte",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina anterior"};var nE={goToPage:"Ir \xE0 P\xE1gina",nextPage:"P\xE1gina Seguinte",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina Anterior"};var iE={goToPage:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",nextPage:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",pageXofY:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {arg0} \u0438\u0437 {arg1}",prevPage:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430"};var aE={goToPage:"\xCDs\u0165 na stranu",nextPage:"Dal\u0161ia strana",pageXofY:"Strana {arg0} z {arg1}",prevPage:"Predch\xE1dzaj\xFAca strana"};var lE={goToPage:"Pojdi na stran",nextPage:"Naslednja stran",pageXofY:"Stran {arg0} od {arg1}",prevPage:"Prej\u0161nja stran"};var sE={goToPage:"G\xE5 till sida",nextPage:"N\xE4sta sida",pageXofY:"Sida {arg0} av {arg1}",prevPage:"F\xF6reg\xE5ende sida"};var uE={goToPage:"\u0E44\u0E1B\u0E17\u0E35\u0E48\u0E2B\u0E19\u0E49\u0E32",nextPage:"\u0E2B\u0E19\u0E49\u0E32\u0E16\u0E31\u0E14\u0E44\u0E1B",pageXofY:"\u0E2B\u0E19\u0E49\u0E32 {arg0} \u0E08\u0E32\u0E01 {arg1}",prevPage:"\u0E2B\u0E19\u0E49\u0E32\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32"};var cE={goToPage:"Sayfaya Git",nextPage:"Sonraki Sayfa",pageXofY:"Sayfa {arg0}/{arg1}",prevPage:"\xD6nceki Sayfa"};var dE={goToPage:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443",nextPage:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",pageXofY:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {arg0} \u0437 {arg1}",prevPage:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430"};var pE={goToPage:"\u524D\u5F80\u9875\u9762",nextPage:"\u4E0B\u4E00\u9875",pageXofY:"\u7B2C {arg0}/{arg1} \u9875",prevPage:"\u4E0A\u4E00\u9875"};var mE={goToPage:"\u5230\u6B64\u9801",nextPage:"\u4E0B\u4E00\u9801",pageXofY:"\u7B2C{arg0}\u9801\uFF0C\u5171{arg1}\u9801",prevPage:"\u4E0A\u4E00\u9801"};var fE={ar:Az,cs:Nz,cy:Oz,da:Fz,de:Kz,el:Vz,en_GB:Bz,en:$z,es:Hz,fi:jz,fr_CA:Gz,fr:Uz,he:Wz,hr:qz,id:Xz,it:Yz,ja:Zz,ko:Jz,ms:Qz,nb_NO:eE,nl:tE,pl:rE,pt_PT:oE,pt:nE,ru:iE,sk:aE,sl:lE,sv:sE,th:uE,tr:cE,uk:dE,zh_Hans:pE,zh_Hant:mE};var yE=V({defaultClassName:"_1nsi9h17",variantClassNames:{isFocused:{true:"_1nsi9h18"},variant:{pinned:"_1nsi9h19",floating:"_1nsi9h1a"},size:{xs:"_1nsi9h1b",sm:"_1nsi9h1c",md:"_1nsi9h1d",lg:"_1nsi9h1e"}},defaultVariants:{},compoundVariants:[]}),bE="_1nsi9h1f _1yep5z6ly _1yep5z6lq _1yep5z6eu",gE=V({defaultClassName:"_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6g1 _1yep5z6e1",variantClassNames:{size:{xs:"_1nsi9h11 _1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6zy",sm:"_1nsi9h12 _1yep5z6101",md:"_1nsi9h13",lg:"_1nsi9h14"},variant:{floating:"_1yep5z6za _1yep5z6184 _1yep5z6182 _1yep5z6136",pinned:"_1yep5z617q"}},defaultVariants:{},compoundVariants:[]}),hE=V({defaultClassName:"_1nsi9h1g _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]});var qG={style:"decimal"},XG={xs:[CaretLeftIcon$3,CaretRightIcon$3],sm:[CaretLeftIcon$2,CaretRightIcon$2],md:[CaretLeftIcon$1,CaretRightIcon$1],lg:[CaretLeftIcon,CaretRightIcon]},TE=Mo.forwardRef(({className:e,style:t,minValue:r=1,defaultValue:o=1,incrementAriaLabel:n,decrementAriaLabel:i,"aria-label":a,size:l="md",variant:s="floating",hideActions:u,isDisabled:c,...d},m)=>{let{locale:p}=J(),y=ye(fE),b={...d,formatOptions:qG,minValue:r,incrementAriaLabel:n||y.formatMessage("nextPage"),decrementAriaLabel:i||y.formatMessage("prevPage"),defaultValue:o,"aria-label":a||y.formatMessage("goToPage")},f=Mo.useRef(null),h=qi({...b,locale:p}),{inputProps:v,decrementButtonProps:g,incrementButtonProps:x,groupProps:T}=Zi({...b,onKeyDown:O=>{O.key==="Enter"&&f.current?.blur(),d.onKeyDown?.(O);},isDisabled:c},h,f),{hoverProps:P,isHovered:S}=re({}),{focusProps:E,isFocused:D,isFocusVisible:I}=ee(),C=s==="floating",[_,z]=XG[l],w=ce({"data-focus-visible":I,"data-focused":D,"data-hovered":S,"data-block-id":d["data-block-id"],"data-block-class":d["data-block-class"]});return jsxs("div",{...R(T,P,w),className:L(gE({size:l,variant:s}),"BaselineUI-Pagination",e),style:t,ref:m,children:[u?null:jsxs(Fragment,{children:[jsx(me,{icon:_,...g,elementType:"div",size:l,style:{height:"100%",...C&&{borderRadius:0}},className:"BaselineUI-Pagination-DecrementButton",isExcludedFromRovingFocus:true,isDisabled:c||g.isDisabled}),s==="floating"&&jsx(De,{orientation:"vertical"})]}),jsxs("div",{className:yE({isFocused:D,variant:s,size:l}),"aria-label":y.formatMessage("pageXofY",{arg0:v.value,arg1:h.maxValue}),children:[jsx("input",{...R(v,E),ref:f,className:L("BaselineUI-Pagination-Input",bE),style:{width:`${v.value?.toString().length||1}ch`}}),jsxs("span",{className:hE({isDisabled:c}),children:["/ ",jsx(Za,{value:h.maxValue})]})]}),u?null:jsxs(Fragment,{children:[s==="floating"&&jsx(De,{orientation:"vertical"}),jsx(me,{icon:z,...x,elementType:"div",size:l,style:{height:"100%",...C&&{borderRadius:0}},className:"BaselineUI-Pagination-IncrementButton",isExcludedFromRovingFocus:true,isDisabled:c||x.isDisabled})]})]})});TE.displayName="Pagination";var PE=({date:e,...t})=>{let r=jr(t);return jsx(Fragment,{children:r.format(e)})};PE.displayName="DateFormat";var yu=V({defaultClassName:"_1f789qjm",variantClassNames:{variant:{neutral:"_1yep5z6118",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z611b"},isDisabled:{true:"_1yep5z61nd"},isSelected:{true:"_1yep5z611c"}},defaultVariants:{},compoundVariants:[]}),_m=V({defaultClassName:"_1f789qj0 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ax _1yep5z6ay _1yep5z6az _1yep5z6bl _1yep5z6bm _1yep5z6bn _1yep5z6c9 _1yep5z6ca _1yep5z6cb _1yep5z6cx _1yep5z6cy _1yep5z6cz _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6la _1yep5z6lq _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"_1f789qj1"},variant:{neutral:"_1yep5z6128",red:"_1yep5z611n",green:"_1yep5z611r",blue:"_1yep5z611z","high-contrast":"_1yep5z612c"},isDisabled:{true:"_1f789qj7 _1yep5z6127"},allowsRemoving:{true:"_1f789qj8"},isSelected:{true:"_1yep5z612i"},allowsSelection:{true:"_1f789qja"},isHovered:{true:"_1f789qjb"},size:{md:"_1f789qjc",sm:"_1f789qjd"}},defaultVariants:{},compoundVariants:[[{allowsSelection:true,isHovered:true,variant:"neutral"},"_1yep5z61oa"],[{allowsSelection:true,isHovered:true,variant:"red"},"_1yep5z61np"],[{allowsSelection:true,isHovered:true,variant:"blue"},"_1yep5z61o1"],[{allowsSelection:true,isHovered:true,variant:"green"},"_1yep5z61nt"],[{allowsSelection:true,isHovered:true,variant:"high-contrast"},"_1yep5z61oe"],[{allowsSelection:true,isSelected:true,isHovered:true},"_1yep5z61om"],[{variant:"high-contrast",isDisabled:true},"_1yep5z61oa"],[{allowsRemoving:true,size:"md"},"_1yep5z619c _1yep5z619d _1yep5z619e"],[{allowsRemoving:true,size:"sm"},"_1yep5z61af _1yep5z61ag _1yep5z61ah"]]}),CE="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69f _1yep5z69g _1yep5z69h",SE="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z69i _1yep5z69j _1yep5z69k",DE=V({defaultClassName:"_1f789qju _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lp _1yep5z6ly _1yep5z6f5 z9nup8a",variantClassNames:{variant:{neutral:"_1f789qjv",red:"_1f789qjw",green:"_1f789qjx",blue:"_1f789qjy","high-contrast":"_1f789qjz"},isHovered:{true:"_1f789qj10"}},defaultVariants:{},compoundVariants:[[{isHovered:true,variant:"neutral"},"_1f789qj11"],[{isHovered:true,variant:"red"},"_1f789qj12"],[{isHovered:true,variant:"blue"},"_1f789qj13"],[{isHovered:true,variant:"green"},"_1f789qj14"],[{isHovered:true,variant:"high-contrast"},"_1f789qj15"]]}),Im=V({defaultClassName:"_1f789qje",variantClassNames:{variant:{neutral:"_1yep5z610x",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z6112"},isDisabled:{true:"_1yep5z61n4"},isSelected:{true:"_1yep5z6113"}},defaultVariants:{},compoundVariants:[]});var zE=({item:e,state:t,variant:r="neutral",size:o="md"})=>{let n=Mo.useRef(null),{focusProps:i,isFocusVisible:a}=ee({within:true}),{rowProps:l,gridCellProps:s,removeButtonProps:u,allowsRemoving:c,isDisabled:d,isSelected:m,allowsSelection:p}=Rd({item:e},t,n),y=Mo.useRef(null),{buttonProps:b}=rt({...u,excludeFromTabOrder:true},y),{hoverProps:f,isHovered:h}=re({isDisabled:d}),{hoverProps:v,isHovered:g}=re({isDisabled:d}),x=e.value?.icon,T=e.value?.data?.variant??r,P=o==="md"?XIcon$1:XIcon$3,S=o==="md"?CheckmarkIcon$2:CheckmarkIcon$3;return jsx("div",{...R(l,i,v),ref:n,className:L(_m({isFocusVisible:a,variant:T,isDisabled:d,allowsRemoving:c,isSelected:m,allowsSelection:p,isHovered:g,size:o}),Im({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag"),children:jsxs("div",{...s,className:CE,children:[m?jsx(S,{size:o==="md"?16:12,className:L(yu({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag-Icon")}):null,!m&&x?jsx(x,{size:o==="md"?16:12,className:L(yu({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag-Icon")}):null,jsx(X,{paddingY:o==="md"?"sm":"none",typography:o==="sm"?"label.sm.medium":"label.md.medium",children:e.rendered}),c?jsx("button",{...R(b,f),className:DE({variant:T,isHovered:h}),children:jsx(P,{size:o==="md"?12:8})}):null]})})};var Rm=Mo.forwardRef(({className:e,style:t,"data-block-id":r,"data-block-class":o,items:n,size:i="md",isDisabled:a=false,...l},s)=>{let u=useMemo(()=>n.map(y=>({...y,data:{variant:y.variant}})),[n]),c=Dr(),d=Mo.useRef(null),m=xt({...l,items:u,children:c,disabledKeys:a?n.map(y=>y.id):l.disabledKeys}),{gridProps:p}=Id(l,m,d);return jsx("div",{...p,className:L(SE,"BaselineUI-TagGroup",e),style:t,"data-block-id":r,"data-block-class":o,ref:Z(s,d),children:[...m.collection].map(y=>jsx(zE,{state:m,item:y,variant:l.variant,size:i},y.key))})});Rm.displayName="TagGroup";var _E="_1yep5z6ln",IE=V({defaultClassName:"_1kvz17db _1yep5z6la _1yep5z6lc",variantClassNames:{showActionsOnTriggerOnly:{true:"_1kvz17dc"},isTriggered:{true:"_1kvz17dd"}},defaultVariants:{},compoundVariants:[]}),RE=V({defaultClassName:"_1kvz17d0 _1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z68c _1yep5z68d _1yep5z68e _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6la _1yep5z6lb",variantClassNames:{isExpanded:{true:"_1kvz17d1"}},defaultVariants:{},compoundVariants:[]}),LE="_1kvz17de",ME="_1yep5z6ev _1yep5z6dy",AE=V({defaultClassName:"_1kvz17d2 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6la _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"_1kvz17d3"},isHovered:{true:"_1yep5z6g2",false:"_1yep5z6g3"},isDisabled:{true:"z9nup82"}},defaultVariants:{},compoundVariants:[]}),NE="_1kvz17da _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6dz",OE=V({defaultClassName:"_1kvz17d7 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{isDisabled:{true:"_1yep5z6ey",false:"_1yep5z6eu"}},defaultVariants:{},compoundVariants:[]});var mh=Mo.forwardRef(({children:e,className:t,style:r},o)=>{let{headers:n}=useContext(mn),{disabledKeys:i}=useContext(mn),{keyboardProps:a}=Ce({onKeyDown:l=>{let s=pe(H(l.target)),u=[...n?.keys()||[]].findIndex(y=>{let b=n?.get(y)?.current;return b?b===s:false}),c=n?.get(u||0),d=n?.size||0,m=y=>{let b=n.get(y-1<0?d-1:y-1);i?.has(b?.current?.dataset.key||"")?m(y-1):b?.current?.focus();},p=y=>{let b=n.get((y+1)%d);i?.has(b?.current?.dataset.key||"")?p(y+1):b?.current?.focus();};if(c)switch(l.key){case "Home":{l.preventDefault(),p(-1);break}case "End":{l.preventDefault(),m(d);break}case "ArrowDown":{l.preventDefault(),p(u);break}case "ArrowUp":{l.preventDefault(),m(u);break}default:l.continuePropagation();}}});return jsx("div",{...a,style:r,className:L(_E,t),ref:o,children:Mo.Children.map(e,(l,s)=>Mo.cloneElement(l,{index:s}))})});mh.displayName="AccordionBase";var mn=Mo.createContext({expandedKeys:new Set,setExpandedKeys:()=>{},disabledKeys:new Set,headers:new Map,expansionMode:"multiple"}),VE=Mo.forwardRef(({children:e,disabledKeys:t,defaultExpandedKeys:r=new Set,expandedKeys:o,expansionMode:n="multiple",onChange:i,className:a,style:l},s)=>{let[u,c]=Mo.useState(r),d=Mo.useRef(new Map).current,[m,p]=Mo.useState(n);useEffect(()=>{p(n);},[n]),useEffect(()=>{i?.(u);},[u,i]);let y=useMemo(()=>({expandedKeys:o||u,setExpandedKeys:o?()=>{}:c,disabledKeys:t,headers:d,expansionMode:m}),[o,u,t,d,m]);return jsx(mn.Provider,{value:y,children:jsx(zt,{children:jsx(mh,{className:a,style:l,ref:s,children:e})})})});VE.displayName="Accordion";var yh=Mo.forwardRef(({title:e,actions:t,controlId:r,value:o,id:n,index:i,subLabel:a,showActionsOnTriggerOnly:l},s)=>{let u=Mo.useRef(null),{expandedKeys:c,setExpandedKeys:d,expansionMode:m,disabledKeys:p,headers:y}=useContext(mn),b=p?.has(o),f=Fi();ie(f);let{focusNext:h,focusPrevious:v}=f,{keyboardProps:g}=Ce({onKeyDown:w=>{w.key==="ArrowRight"?h({wrap:true}):w.key==="ArrowLeft"?v({wrap:true}):w.continuePropagation();},isDisabled:b});useEffect(()=>{ie(typeof i=="number","AccordionItem must have an index"),y?.set(i,u);},[i,y]);let x=()=>{d(w=>{let O=new Set(w);return O.has(o)?O.delete(o):(m==="single"&&O.clear(),O.add(o)),O});},{buttonProps:T}=rt({"aria-expanded":c.has(o),"aria-controls":r,onPress:x,isDisabled:b},u),{pressProps:P}=Se({onPress:x,isDisabled:b}),{focusProps:S,isFocusVisible:E}=ee(),{hoverProps:D,isHovered:I}=re({isDisabled:b}),{focusProps:C,isFocusVisible:_}=ee({within:true}),z=c.has(o);return jsxs("h3",{...R(g,P,D,C),className:AE({isFocusVisible:E,isHovered:I,isDisabled:b}),ref:s,children:[jsxs("div",{className:OE({isDisabled:!!b}),children:[jsx(ChevronRightIcon,{className:RE({isExpanded:z}),size:8}),jsx("button",{...R(T,S),id:n,"data-key":o,className:NE,ref:u,children:e})]}),t?.length?jsx("div",{"data-testid":"action-buttons",className:IE({showActionsOnTriggerOnly:l,isTriggered:_||I}),children:t.map((w,O)=>jsx(me,{variant:"secondary",size:"sm",excludeFromTabOrder:true,isDisabled:b,...w},O))}):null,a?jsx("div",{className:ME,children:a}):null]})});yh.displayName="AccordionHeader";var HE=Mo.forwardRef(({title:e,actions:t,children:r,value:o,index:n,subLabel:i,style:a,className:l,showActionsOnTriggerOnly:s},u)=>{let c=Y(),d=Y(),{expandedKeys:m}=useContext(mn),p=m.has(o);return jsxs(Fragment,{children:[jsx(zt,{children:jsx(yh,{value:o,actions:t,id:d,title:e,controlId:c,ref:u,index:n,subLabel:i,showActionsOnTriggerOnly:s})}),jsx(AnimatePresence,{initial:false,children:p?jsx(motion.section,{role:"region","aria-labelledby":d,id:c,className:LE,variants:{open:{height:"auto",opacity:1},closed:{height:0,opacity:0}},initial:"closed",animate:"open",exit:"closed",children:jsx("div",{style:a,className:l,children:r})}):null})]})});HE.displayName="AccordionItem";var jE=V({defaultClassName:"_1fjxa6lc _1yep5z6ls _1yep5z6lr _1yep5z6ic _1yep5z6la",variantClassNames:{isDropTarget:{true:"_1yep5z6140"},orientation:{vertical:"_1yep5z617q",horizontal:"_1yep5z617r"}},defaultVariants:{},compoundVariants:[]}),GE="_1fjxa6l9 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu";V({defaultClassName:"_1fjxa6la _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]});var UE=V({defaultClassName:"_1fjxa6l2 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6la _1yep5z6ld _1yep5z6lq _1yep5z6lp _1yep5z6ln _1yep5z6lk",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u _1yep5z617x _1yep5z614g _1yep5z614h _1yep5z614i"},isFirstChild:{true:"_1fjxa6l4"},isLastChild:{true:"_1fjxa6l5"},isHovered:{true:"_1yep5z6125",false:"_1yep5z6124"},isDisabled:{true:"z9nup82 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),WE="_1fjxa6lg _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",qE="_1fjxa6l1",XE="_1fjxa6l0";var gh=Mo.createContext({}),vu=({item:e,isSelected:t,isHovered:r,isFocusVisible:o,isDisabled:n,selectionIcon:i="checkmark",selectionMode:a})=>{let l=e.icon,s=a!=="none";return jsxs(X,{display:"flex",alignItems:"center",gap:"lg",className:L(UE({isHovered:r,isFocused:o,isDisabled:n}),"BaselineUI-ListBox-OptionDefault"),children:[s&&i==="checkmark"?jsx("span",{"aria-hidden":true,style:{height:24,width:24},className:"BaselineUI-ListBox-SelectionIndicator",children:t?jsx(CheckmarkIcon,{size:24}):null}):null,s&&i==="checkbox"?jsx("span",{"aria-hidden":true,style:{height:16,width:16},children:jsx("div",{className:el({isSelected:t,isIndeterminate:false,isFocusVisible:false,isDisabled:n,isReadOnly:false,hasError:false,isHovered:false}),children:t?jsx(CheckmarkIcon$3,{size:12}):null})}):null,jsxs(X,{display:"flex",alignItems:"center",flex:1,gap:"lg",children:[l?jsx(l,{size:24}):null,jsx(qs,{slot:"label",elementType:"span",children:e.label})]})]})},hh=Mo.forwardRef(({item:e,optionStyle:t,optionClassName:r,renderOption:o,...n},i)=>{let{onPress:a}=useContext(gh);return jsx(yg,{...R(n,Xo(n),{onPress:l=>a?.(l,e.id)}),ref:i,id:e.id,className:l=>L(XE,"BaselineUI-ListBox-Option",typeof r=="function"?r(e,l):r),style:l=>typeof t=="function"?t(e,l):t,textValue:e.label,children:l=>o?o(e,l):jsx(vu,{...l,item:e})})});hh.displayName="MyListItem";var ZE=Mo.forwardRef(({section:e,showSectionHeader:t,renderSectionHeader:r,withSectionHeaderPadding:o,sectionStyle:n,sectionClassName:i,optionStyle:a,optionClassName:l,renderOption:s},u)=>{let c=r?.(e);return jsxs(fg,{id:e.id,"aria-label":e["aria-label"],className:L("BaselineUI-ListBox-Section",qE,typeof i=="function"?i(e):i),style:typeof n=="function"?n(e):n,ref:u,children:[t?c?jsx(pp,{className:"BaselineUI-ListBox-SectionHeader",children:c}):jsx(pp,{className:"BaselineUI-ListBox-SectionHeader",children:jsx(X,{className:L(WE,"BaselineUI-ListBox-SectionHeaderDefault"),paddingX:"lg",typography:"label.md.medium",color:"text.primary",paddingInlineStart:o?"5xl":"lg",paddingInlineEnd:"lg",children:e.title})}):null,jsx(Yr,{items:e.children,children:d=>jsx(hh,{item:d,optionStyle:a,optionClassName:l,renderOption:s},d.id)})]})});ZE.displayName="MyListSection";var fn=Mo.forwardRef(({withSectionHeaderPadding:e=false,showSectionHeader:t=false,renderSectionHeader:r,optionStyle:o,optionClassName:n,sectionStyle:i,sectionClassName:a,renderOption:l,className:s,dragAndDropHooks:u,listBoxHandle:c,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=Mo.useRef(null),f=useContext(Cr),{isVirtualized:h,layoutDelegate:v}=useContext(wt);useEffect(()=>{f&&(l||o||n)&&console.warn("ListBox: If a state is provided via the ListStateContext, the `renderOption`, `optionStyle`, `optionClassName`, `sectionStyle`, `sectionClassName`, and `renderSectionHeader` props will be ignored.");},[f,l,o,n,i,a,r]),$p({ref:b,isDisabled:!u});let g=useCallback(T=>b.current?.querySelector(`[data-key="${T}"][role="option"]`),[b]),x=useCallback((T,P)=>{if(!b.current)return;let S=g(T);if(S)S.scrollIntoView({block:"nearest",inline:"nearest",...P});else if(h&&v){let E=v.getItemRect(T);if(!E)return;v.virtualizer.delegate.setVisibleRect(E);}},[g,h,v]);return useImperativeHandle(c,()=>({scrollIntoView:x,setFocusedKey:T=>{let P=g(T);!b.current||!P||(P.focus(),x(T));}}),[x,g]),jsx(mg,{...p,"data-block-id":d,"data-block-class":m,dragAndDropHooks:u,ref:Z(y,b),className:L(GE,"BaselineUI-ListBox",s),children:T=>jsx(vh,{item:T,optionStyle:o,optionClassName:n,renderOption:l,showSectionHeader:t,withSectionHeaderPadding:e,sectionStyle:i,sectionClassName:a,renderSectionHeader:r},T.id)})});fn.displayName="UNSAFE_ListBox";var vU=Mo.createContext({}),vh=e=>{let t=useContext(vU),{item:r,...o}={...t,...e};return ie(r,"Item is required"),"children"in r?jsx(ZE,{section:r,...o}):jsx(hh,{item:r,...o})};var xU=e=>Js({getItems:(t,r)=>r.map(o=>({"text/plain":o.label})),renderDropIndicator(t){return jsx(nn,{target:t,className:({isDropTarget:r})=>L(jE({isDropTarget:r}),"BaselineUI-DropIndicator")})},...e});var xu=Mo.forwardRef(({variant:e,isOpen:t,validationState:r="valid",valueProps:o,className:n,style:i,value:a,"data-block-id":l,"data-block-class":s,fallbackValue:u,selectionMode:c="single",onRemove:d,maxCount:m=2,...p},y)=>{let{formatMessage:b}=ye(),f=a?.[0]??null,h=f?.label??u,v=f?.icon??null,g=Mo.useRef(null),x=!!(c==="multiple"&&a&&a?.length>0),{buttonProps:T,isPressed:P}=rt({...p,elementType:"div",isDisabled:p.isDisabled||p.isReadOnly},g),{hoverProps:S,isHovered:E}=re({isDisabled:p.isDisabled}),{focusProps:D,isFocused:I,isFocusVisible:C}=ee(),_=Ya({isReadOnly:p.isReadOnly,validationState:r});p.isReadOnly&&(T.disabled=false);let z=ce({"data-disabled":p.isDisabled,"data-readonly":p.isReadOnly,"data-focused":I,"data-focus-visible":C,"data-hovered":E,"data-pressed":P,"data-open":t,"data-block-id":l,"data-block-class":s}),w=p["aria-labelledby"],O=useCallback(()=>{ie(Array.isArray(a),"value must be an array");let M=a.slice(0,m),F=a.slice(m),K=[...M,...F.length>0?[{label:`+${F.length} ${b(SU.more)}`,id:"remaining-value"}]:[]];return jsx(Rm,{items:K,onRemove:p.isReadOnly?void 0:N=>{N.has("remaining-value")?d?.(new Set(F.map($=>$.id))):d?.(N);},"aria-labelledby":w,className:ah,isDisabled:p.isDisabled})},[a,m,b,w,p.isDisabled,d,p.isReadOnly]),k=c==="multiple";return jsxs("div",{...R(k?Object.fromEntries(Object.entries(T).filter(([M])=>M.startsWith("on"))):R(T,D),S,z),ref:k?y:Z(y,g),className:L(jk({isFocused:C,isDisabled:!!p.isDisabled,isOpen:t,isHovered:E,variant:e,isReadOnly:!!p.isReadOnly,areTagsVisible:x}),Va({variant:e,isHovered:E,isFocused:C,validationState:r,isDisabled:!!p.isDisabled,isReadOnly:p.isReadOnly}),n,"BaselineUI-Select-Button"),"data-testid":"select-button",style:i,children:[jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:"md",flex:1,paddingRight:"md",children:[c==="multiple"&&a&&a.length>0?O():jsxs("span",{className:ah,children:[v?jsx(v,{size:24}):null,jsx("span",{...o,children:h})]}),_?jsx("span",{"aria-hidden":true,className:L(Fa({validationState:r,isReadOnly:!!p.isReadOnly}),Gk),children:jsx(_,{size:16})}):null]}),jsx("div",{...k?{...R(T,D),ref:g}:{},className:$k,children:jsx(CaretDownIcon,{size:8,className:Kk({isOpen:t})})})]})});xu.displayName="SelectButton";var SU=Re({more:{id:"more",defaultMessage:"more"}});var nl=({children:e,listBoxProps:t,...r})=>jsx(So.Provider,{value:useMemo(()=>({items:r.items}),[r.items]),children:jsx(rn,{content:jsx(Yr,{items:r.items,children:o=>createElement(vh,{...t,key:o.id,item:o})}),children:e})});var Nm=Mo.createContext({state:null,popoverAnchorRef:null}),Ph=Mo.forwardRef(({className:e,style:t,labelPosition:r="top",variant:o="primary","data-block-id":n,"data-block-class":i,onTriggerPress:a,placement:l="bottom start",triggerClassName:s,triggerStyle:u,state:c,optionStyle:d,optionClassName:m,hideSelectAll:p,hideClear:y,renderTrigger:b=({buttonProps:v,selectedValue:g,valueProps:x,isOpen:T,ref:P,selectionMode:S,onRemove:E,maxCount:D})=>jsx(xu,{...v,className:s,style:u,isOpen:T,isReadOnly:f.isReadOnly,ref:P,variant:o,validationState:f.validationState,valueProps:x,value:g,fallbackValue:f.placeholder,selectionMode:S,onRemove:E,maxCount:D}),...f},h)=>{let{popoverAnchorRef:v}=useContext(Nm),g=Mo.useRef(null),{formatMessage:x}=ye(),T=useContext(Uc),{isVirtualized:P}=useContext(wt),S=Ft(f.portalContainer),{labelProps:E,triggerProps:D,valueProps:I,menuProps:C,descriptionProps:_,errorMessageProps:z}=xd({...Xo(f),validationState:f.validationState==="error"?"invalid":"valid"},c,g),w=or({...f,descriptionProps:_,errorMessageProps:z,labelPosition:r}),O=c.selectedItems?.map(k=>k.value)??null;return jsxs(Fragment,{children:[jsxs("div",{style:t,className:L(sn({labelPosition:r}),"BaselineUI-Select",e),"data-block-id":n,"data-block-class":i,ref:h,children:[f.label||w?jsxs("div",{className:ln({labelPosition:r,hasMessage:!!w}),children:[f.label?jsx("div",{...E,className:L(Ka,"BaselineUI-Select-Label"),children:f.label}):null,r==="start"&&w]}):null,jsx(Td,{state:c,triggerRef:g,isDisabled:f.isDisabled,label:f.label,name:f.name}),b({buttonProps:R({onPressStart:a,"aria-labelledby":E.id},D),selectedValue:O,valueProps:I,isOpen:c.isOpen,ref:g,selectionMode:f.selectionMode??"single",onRemove:k=>{c.selectionManager.setSelectedKeys(new Set([...c.selectionManager.selectedKeys].filter(M=>!k.has(M))));},maxCount:f.maxCount??2}),r==="top"&&w]}),c?jsx(Cr.Provider,{value:c,children:jsx(dt,{placement:l,state:c,portalContainer:S,offset:2,triggerRef:v||g,style:t,className:"BaselineUI-Select-Popover",...f,children:jsxs(X,{display:"flex",flex:1,flexDirection:"column",className:dn,children:[T?jsxs(Fragment,{children:[jsx(xm,{size:"sm","aria-label":x(Mm.search),placeholder:x(Mm.search),className:L(Hk,"BaselineUI-Select-SearchInput"),autoFocus:true}),jsx(De,{})]}):null,jsx(So.Provider,{value:C,children:jsx(fn,{label:f.label,escapeKeyBehavior:"none",className:Bk({isVirtualized:P}),optionStyle:d,optionClassName:m})}),c.selectionManager.selectionMode==="multiple"&&(!p||!y)&&jsxs(X,{display:"flex",flexDirection:"row",className:Vk,children:[!p&&jsx(Ie,{variant:"ghost",size:"md",label:x(Mm.selectAll),onPress:()=>{if(c.selectionManager.isSelectAll)return;let M=[...c.collection.getKeys()].filter(F=>!c.selectionManager.disabledKeys.has(F)&&c.selectionManager.canSelectItem(F));c.selectionManager.setSelectedKeys(new Set(M));},className:ih}),!p&&!y&&jsx(De,{orientation:"vertical"}),!y&&jsx(Ie,{variant:"ghost",label:x(Mm.clear),size:"md",onPress:()=>{c.selectionManager.isEmpty||c.selectionManager.clearSelection();},className:ih})]})]})})}):null]})});Ph.displayName="SelectCore";var ew=Mo.forwardRef(({collection:e,...t},r)=>{let o=za({...t,collection:e,validationState:t.validationState==="error"?"invalid":"valid",children:void 0});return jsx(Ph,{...t,ref:r,state:o})});ew.displayName="SelectStandalone";var yn=Mo.forwardRef(({optionStyle:e,optionClassName:t,...r},o)=>{let{state:n}=useContext(Nm);return useEffect(()=>{ie(n||r.items,"Select: A `state` that can be passed via context or `items` are required.");},[r.items,n]),n?jsx(Ph,{...r,optionStyle:e,optionClassName:t,ref:o,state:n}):jsx(nl,{items:r.items,listBoxProps:{renderOption:(i,a)=>jsx(vu,{...a,item:i,selectionIcon:a.selectionMode==="multiple"?"checkbox":"checkmark"}),optionStyle:e,optionClassName:t},children:i=>jsx(ew,{collection:i,...r,ref:o})})});yn.displayName="Select";var Mm=Re({selectAll:{id:"selectAll",defaultMessage:"Select All"},clear:{id:"clear",defaultMessage:"Clear"},search:{id:"search",defaultMessage:"Search"}});var rw=Mo.forwardRef(({className:e,style:t,variant:r,"data-block-id":o,icon:n,tooltip:i=true,iconTooltip:a=true,...l},s)=>{let u=Mo.useRef(null),{tooltipProps:c}=Ot({label:l["aria-label"],tooltip:i}),d=useCallback(({buttonProps:m,selectedValue:p,valueProps:y,isOpen:b,ref:f})=>jsx(Be,{...c,children:jsx(xu,{...m,isOpen:b,isReadOnly:l.isReadOnly,ref:f,variant:r,validationState:l.validationState,value:p,fallbackValue:l.placeholder,valueProps:y})}),[l,c,r]);return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:"md",alignItems:"center",className:L("BaselineUI-IconSelect",e),"data-block-id":o,style:t,ref:Z(s,u),children:[n?jsx(Wa,{icon:n,label:l["aria-label"],tooltip:a,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary",display:"flex",flexShrink:0})}):null,jsx(yn,{...l,renderTrigger:d})]})});rw.displayName="IconSelect";var ow="_1017q4c5",nw=V({defaultClassName:"_1017q4c0",variantClassNames:{size:{md:"_1017q4c1",sm:"_1017q4c2"},isDisabled:{true:"_1017q4c3"}},defaultVariants:{},compoundVariants:[]}),iw="_1017q4c4";var MU={sm:AvatarIcon$1,md:AvatarIcon},al=Mo.forwardRef(({className:e,style:t,size:r="md",icon:o=MU[r],name:n,imgSrc:i,showInitials:a,isDisabled:l,hasNotifications:s,imgLoading:u,"data-block-id":c,"data-block-class":d},m)=>{let p=n?.split(" ").map(y=>y[0]).join("");return jsxs("span",{className:L(nw({size:r,isDisabled:l}),"BaselineUI-Avatar",e),"data-disabled":l,ref:m,style:t,"aria-disabled":l,"data-block-id":c,"data-block-class":d,children:[i?jsx("img",{src:i,alt:n,loading:u,className:iw}):null,!a&&!i&&jsx(o,{size:r==="sm"?16:24}),a&&!i?r==="sm"?p[0]:p:null,s?jsx("div",{"data-testid":"notification",className:ow}):null]})});al.displayName="Avatar";var aw="_1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",lw=V({defaultClassName:"_1x62fhb6 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6la _1yep5z6ld _1yep5z6ev _1yep5z69i _1yep5z69j _1yep5z69k",variantClassNames:{isHovered:{true:"_1yep5z610x"},isSelected:{true:"_1x62fhb8"},isFocusVisible:{true:"_1x62fhb9"},isDisabled:{true:"_1x62fhba _1yep5z6111"},variant:{primary:"_1x62fhbb _1yep5z6zy",ghost:"_1yep5z6101"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isSelected:true,isDisabled:false},"_1yep5z61n0"],[{variant:"primary",isSelected:true},"_1yep5z61o7"],[{variant:"ghost",isSelected:true,isFocusVisible:false},"_1x62fhbd"],[{variant:"ghost",isSelected:true,isDisabled:false},"_1yep5z61n7"],[{variant:"ghost",isDisabled:true,isSelected:true},"_1x62fhbe _1yep5z6ey"],[{variant:"primary",isHovered:true},"_1yep5z61o8"]]}),sw=V({defaultClassName:"_1x62fhb3 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{variant:{primary:"_1x62fhb4",ghost:"_1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),uw="_1x62fhbl",Sh=V({defaultClassName:"_1x62fhbf _1yep5z6f6",variantClassNames:{isHovered:{true:"_1yep5z6118"},isSelected:{true:"_1x62fhbh"},isDisabled:{true:"_1yep5z611a"},variant:{primary:"_1x62fhbj",ghost:"_1x62fhbk"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isSelected:true,isDisabled:false},"_1yep5z61nb"],[{variant:"ghost",isSelected:true,isDisabled:false},"_1yep5z61ng"],[{variant:"ghost",isDisabled:true,isSelected:true},"_1yep5z61nd"]]}),cw="_1yep5z6lu _1yep5z6lr _1yep5z6hx _1yep5z6lt",dw=V({defaultClassName:"_1x62fhb0 _1yep5z6ln _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{variant:{primary:"_1yep5z6126",ghost:"_1x62fhb2"}},defaultVariants:{},compoundVariants:[]});var pw=({state:e,...t})=>{let r=Mo.useRef(null),{tabPanelProps:o}=Ed(t,e,r),{selectedItem:n}=e,{focusProps:i,isFocusVisible:a}=ee();if(!n?.value)return null;let{className:l,style:s,"data-block-id":u}=n.value;return jsx("div",{...R(o,i),ref:r,className:L({[cw]:a},"Baseline-Tabs-TabPanel",l),"data-block-id":u,style:s,children:n?.props.children})};var zh=Mo.forwardRef(({className:e,style:t,tabHeaderStyle:r,tabHeaderClassName:o,variant:n="primary",actions:i,onRemove:a,"data-block-id":l,...s},u)=>{let c=np({...s,selectedKey:s.selectedValue,defaultSelectedKey:s.defaultSelectedValue,disabledKeys:s.disabledValues}),d=Mo.useRef(null),{tabListProps:m}=_d({...s,selectedKey:s.selectedValue,defaultSelectedKey:s.defaultSelectedValue,disabledKeys:s.disabledValues},c,d);return jsxs("div",{className:L("BaselineUI-Tabs",e),style:t,ref:u,"data-block-id":l,children:[jsxs("div",{className:L(dw({variant:n}),o),style:r,children:[jsx("div",{...m,className:sw({variant:n}),ref:d,children:[...c.collection].map(p=>(ie(p.value,"TabItem requires a value prop"),jsx(mw,{item:p,state:c,onRemove:a,variant:n},p.key)))}),i?.map((p,y)=>jsx("div",{className:aw,children:jsx(me,{...p,variant:"secondary",size:"sm",className:L(uw,p.className)})},y))]}),jsx(pw,{state:c},c.selectedItem?.key)]})});zh.displayName="TabsBase";var mw=({item:e,onRemove:t,state:r,variant:o})=>{let{key:n,value:i}=e,a=Mo.useRef(null),{tabProps:l,isSelected:s,isDisabled:u}=zd({key:n},r,a),{hoverProps:c,isHovered:d}=re({});ie(i,"TabButton requires a value prop");let{title:m,icon:p,titleStyle:y,titleClassName:b}=i,{focusProps:f,isFocusVisible:h,isFocused:v}=ee(),{keyboardProps:g}=Ce({onKeyDown:T=>{T.key==="Backspace"&&t?t(n):T.continuePropagation();}}),x=ce({"data-selected":s,"data-disabled":u,"data-focused":v,"data-hovered":d,"data-focus-visible":h});return jsxs("div",{...R(g,l,c,f,x),className:L(lw({isHovered:d,isSelected:s,isFocusVisible:h,isDisabled:u,variant:o}),"BaselineUI-Tabs-TabButton",b),style:y,ref:a,children:[p?jsx(p,{size:20,className:Sh({isHovered:d,isSelected:s,isDisabled:u,variant:o})}):null,m,t?jsx(me,{variant:"secondary",elementType:"div",icon:XIcon$3,size:"xxs",onPress:()=>{t(n);},excludeFromTabOrder:true,UNSAFE_isVisuallyInteractiveOnly:true,style:{display:"inline-flex",opacity:s||v||d?1:0},className:Sh({isHovered:d,isSelected:s,isDisabled:u,variant:o})}):null]})};mw.displayName="TabButton";var yw=Mo.forwardRef(function({children:t,...r},o){let n=useMemo(()=>Mo.Children.map(t,i=>!i||!Mo.isValidElement(i)||typeof i.type=="string"?null:{...i.props,id:i.props.value}).filter(Boolean),[t]);return jsx(zh,{...r,ref:o,items:n,children:i=>jsx(Mr,{title:i.title,children:i.children},i.key)})});yw.displayName="Tabs";var bw=({children:e,title:t,value:r})=>(ie(r,"TabItem requires a value prop"),ie(t,"TabItem requires a title prop"),ie(e,"TabItem requires children"),e);bw.displayName="TabItem";var gw={close:"\u0625\u063A\u0644\u0627\u0642"};var hw={close:"Zav\u0159\xEDt"};var vw={close:"Cau"};var xw={close:"Luk"};var Tw={close:"Schlie\xDFen"};var Pw={close:"\u039A\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF"};var Cw={close:"Close"};var Sw={close:"Close"};var Dw={close:"Cerrar"};var kw={close:"Sulje"};var zw={close:"Fermer"};var Ew={close:"Fermer"};var ww={close:"\u05E1\u05D2\u05D9\u05E8\u05D4"};var _w={close:"Zatvori"};var Iw={close:"Tutup"};var Rw={close:"Chiudi"};var Lw={close:"\u9589\u3058\u308B"};var Mw={close:"\uB2EB\uAE30"};var Aw={close:"Tutup"};var Nw={close:"Lukk"};var Ow={close:"Sluit"};var Fw={close:"Zamknij"};var Kw={close:"Fechar"};var Vw={close:"Fechar"};var Bw={close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C"};var $w={close:"Zavrie\u0165"};var Hw={close:"Zapri"};var jw={close:"St\xE4ng"};var Gw={close:"\u0E1B\u0E34\u0E14"};var Uw={close:"Kapat"};var Ww={close:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438"};var qw={close:"\u5173\u95ED"};var Xw={close:"\u95DC\u9589"};var Yw={ar:gw,cs:hw,cy:vw,da:xw,de:Tw,el:Pw,en_GB:Cw,en:Sw,es:Dw,fi:kw,fr_CA:zw,fr:Ew,he:ww,hr:_w,id:Iw,it:Rw,ja:Lw,ko:Mw,ms:Aw,nb_NO:Nw,nl:Ow,pl:Fw,pt_PT:Kw,pt:Vw,ru:Bw,sk:$w,sl:Hw,sv:jw,th:Gw,tr:Uw,uk:Ww,zh_Hans:qw,zh_Hant:Xw};var Zw=V({defaultClassName:"kfun6yt _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6af _1yep5z6ag _1yep5z6ah",variantClassNames:{arrangement:{single:"_1yep5z6vi _1yep5z6vj _1yep5z6vk",multi:"_1yep5z6157 _1yep5z6158 _1yep5z6159",compact:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[]}),Jw=V({defaultClassName:"kfun6y0 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6ln",variantClassNames:{variant:{info:"_1yep5z611y",warning:"_1yep5z611u",error:"_1yep5z611m",success:"_1yep5z611q"},arrangement:{single:"kfun6y5 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z615m _1yep5z615n _1yep5z615o",multi:"kfun6y6",compact:"kfun6y7 _1yep5z6mc _1yep5z6md _1yep5z6me _1yep5z6oo _1yep5z6op _1yep5z6oq _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk _1yep5z615d _1yep5z615e _1yep5z615f _1yep5z6wi _1yep5z6wj _1yep5z6wk"},hasButton:{true:"kfun6y8"},hasCloseButton:{true:"kfun6y9"}},defaultVariants:{},compoundVariants:[[{hasButton:false,arrangement:"single"},"_1yep5z618f _1yep5z618g _1yep5z618h _1yep5z61ar _1yep5z61as _1yep5z61at _1yep5z61bx _1yep5z61by _1yep5z61bz _1yep5z619l _1yep5z619m _1yep5z619n"],[{hasButton:true,arrangement:"compact"},"_1yep5z618f _1yep5z618g _1yep5z618h _1yep5z61ar _1yep5z61as _1yep5z61at _1yep5z61bx _1yep5z61by _1yep5z61bz _1yep5z619l _1yep5z619m _1yep5z619n"],[{hasCloseButton:true,arrangement:"compact"},"_1yep5z61af _1yep5z61ag _1yep5z61ah _1yep5z6199 _1yep5z619a _1yep5z619b"]]}),Qw=V({defaultClassName:"kfun6yq _1yep5z6eu",variantClassNames:{size:{sm:"_1yep5z6106",md:"_1yep5z6109"}},defaultVariants:{},compoundVariants:[]}),e_=V({defaultClassName:"kfun6ym _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{arrangement:{single:"kfun6yn",multi:"_1yep5z615j _1yep5z615k _1yep5z615l",compact:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6pi _1yep5z6pj _1yep5z6pk _1yep5z6qo _1yep5z6qp _1yep5z6qq _1yep5z6oc _1yep5z6od _1yep5z6oe _1yep5z6161 _1yep5z6162 _1yep5z6163"}},defaultVariants:{},compoundVariants:[]}),t_=V({defaultClassName:"kfun6yh _1yep5z6lk",variantClassNames:{variant:{info:"_1yep5z610t",warning:"_1yep5z610p",error:"_1yep5z610h",success:"_1yep5z610l"}},defaultVariants:{},compoundVariants:[]}),r_=V({defaultClassName:"kfun6ye _1yep5z6eu",variantClassNames:{size:{sm:"_1yep5z6108",md:"_1yep5z610b"}},defaultVariants:{},compoundVariants:[]}),o_=V({defaultClassName:"kfun6ya _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{arrangement:{single:"_1yep5z615m _1yep5z615n _1yep5z615o",multi:"_1yep5z6r0 _1yep5z6r1 _1yep5z6r2 _1yep5z6tc _1yep5z6td _1yep5z6te",compact:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[]});var w8={error:{sm:ErrorAltCircleFilledIcon$1,md:ErrorAltCircleFilledIcon},info:{sm:InfoCircleFilledIcon$1,md:InfoCircleFilledIcon},success:{sm:CheckmarkCircleFilledIcon,md:CheckCircleFilledIcon},warning:{sm:WarningFilledIcon$1,md:WarningFilledIcon}},Km=Mo.forwardRef(({className:e,description:t,actionLabel:r,onAction:o,style:n,variant:i="info",title:a,arrangement:l="single",onClose:s,size:u="sm","data-block-id":c,"data-block-class":d,elementProps:m},p)=>{let y=ye(Yw),b=r&&jsx(Ie,{variant:l==="compact"?"tertiary":"ghost",label:r,onPress:o}),f=w8[i][u];return jsxs("div",{className:L(Jw({variant:i,arrangement:l,hasButton:!!r||!!s,hasCloseButton:!!s}),"BaselineUI-InlineAlert",e),"data-block-id":c,"data-block-class":d,style:n,role:"alert",ref:p,...m?.root,children:[jsxs("div",{className:o_({arrangement:l}),children:[jsx(f,{className:t_({variant:i}),size:16}),jsxs("div",{className:Zw({arrangement:l}),...m?.content,children:[jsx("h3",{className:r_({size:u}),...m?.title,children:a}),jsx("section",{className:Qw({size:u}),...m?.description,children:t})]}),l==="compact"&&b]}),jsxs("div",{className:e_({arrangement:l}),children:[l!=="compact"&&b,s?jsx(me,{variant:"secondary",icon:XIcon$2,size:"sm",onPress:s,"aria-label":y.formatMessage("close"),...m?.close}):null]})]})});Km.displayName="InlineAlert";var n_={add:"\u0625\u0636\u0627\u0641\u0629",addColor:"\u0625\u0636\u0627\u0641\u0629 \u0644\u0648\u0646",cancel:"\u0625\u0644\u063A\u0627\u0621",colorFormat:"\u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0644\u0648\u0646",colorPresets:"\u0627\u0644\u0623\u0644\u0648\u0627\u0646 \u0627\u0644\u0645\u0633\u0628\u0642\u0629",customColors:"\u0623\u0644\u0648\u0627\u0646 \u0645\u062E\u0635\u0635\u0629",newColor:"\u0644\u0648\u0646 \u0645\u062E\u0635\u0635 \u062C\u062F\u064A\u062F",noColor:"\u0644\u0627 \u064A\u0648\u062C\u062F",removeColor:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0644\u0648\u0646",transparent:"\u0634\u0641\u0627\u0641"};var i_={add:"P\u0159idat",addColor:"P\u0159idat barvu",cancel:"Zru\u0161it",colorFormat:"Form\xE1t barvy",colorPresets:"P\u0159edvolby barev",customColors:"Vlastn\xED barvy",newColor:"Vlastn\xED barva",noColor:"Nen\xED",removeColor:"Odebrat barvu",transparent:"Pr\u016Fhledn\xE1"};var a_={add:"Ychwanegu",addColor:"Ychwanegu Lliw",cancel:"Canslo",colorFormat:"Fformat Lliw",colorPresets:"Rhagosodiadau Lliw",customColors:"Lliwiau Custom",newColor:"Lliw Personol Newydd",noColor:"Dim",removeColor:"Tynnu Lliw",transparent:"Tryloyw"};var l_={add:"Tilf\xF8j",addColor:"Tilf\xF8j Farve",cancel:"Annuller",colorFormat:"Farveformat",colorPresets:"Farvevalg",customColors:"Brugerdefinerede farver",newColor:"Ny tilpasset farve",noColor:"Ingen",removeColor:"Fjern Farve",transparent:"Transparent"};var s_={add:"Hinzuf\xFCgen",addColor:"Farbe hinzuf\xFCgen",cancel:"Abbrechen",colorFormat:"Farbformat",colorPresets:"Farbvorlagen",customColors:"Benutzerdefinierte Farben",newColor:"Neue benutzerdefinierte Farbe",noColor:"Kein",removeColor:"Farbe entfernen",transparent:"Transparent"};var u_={add:"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7",addColor:"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",cancel:"\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7",colorFormat:"\u039C\u03BF\u03C1\u03C6\u03AE \u03C7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",colorPresets:"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",customColors:"\u03A0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03C3\u03BC\u03AD\u03BD\u03B1 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03B1",newColor:"\u039D\u03AD\u03BF \u03C0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03C3\u03BC\u03AD\u03BD\u03BF \u03C7\u03C1\u03CE\u03BC\u03B1",noColor:"\u039A\u03B1\u03BD\u03AD\u03BD\u03B1\u03C2",removeColor:"\u0391\u03C6\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",transparent:"\u0397\u03BC\u03B9\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AE\u03C2"};var c_={add:"Add",addColor:"Add Colour",cancel:"Cancel",colorFormat:"Colour Format",colorPresets:"Colour Presets",customColors:"Custom Colours",newColor:"New Custom Colour",noColor:"None",removeColor:"Remove Colour",transparent:"Transparent"};var d_={add:"Add",addColor:"Add Color",cancel:"Cancel",colorFormat:"Color Format",colorPresets:"Color Presets",customColors:"Custom Colors",newColor:"New Custom Color",noColor:"None",removeColor:"Remove Color",transparent:"Transparent"};var p_={add:"A\xF1adir",addColor:"A\xF1adir color",cancel:"Cancelar",colorFormat:"Formato de color",colorPresets:"Preajustes de color",customColors:"Colores personalizados",newColor:"Nuevo color personalizado",noColor:"Ninguna",removeColor:"Eliminar color",transparent:"Transparente"};var m_={add:"Lis\xE4\xE4",addColor:"Lis\xE4\xE4 v\xE4ri",cancel:"Kumoa",colorFormat:"V\xE4rimuoto",colorPresets:"V\xE4rin esiasetukset",customColors:"Mukautetut v\xE4rit",newColor:"Uusi muokattu v\xE4ri",noColor:"Ei mit\xE4\xE4n",removeColor:"Poista v\xE4ri",transparent:"L\xE4pin\xE4kyv\xE4"};var f_={add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Pr\xE9r\xE9glages de couleur",customColors:"Couleurs personnalis\xE9es",newColor:"Nouvelle couleur personnalis\xE9e",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"};var y_={add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Pr\xE9r\xE9glages de couleur",customColors:"Couleurs personnalis\xE9es",newColor:"Nouvelle couleur personnalis\xE9e",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"};var b_={add:"\u05D4\u05D5\u05E1\u05E4\u05D4",addColor:"\u05D4\u05D5\u05E1\u05E3 \u05E6\u05D1\u05E2",cancel:"\u05D1\u05D9\u05D8\u05D5\u05DC",colorFormat:"\u05E4\u05D5\u05E8\u05DE\u05D8 \u05E6\u05D1\u05E2",colorPresets:"\u05DE\u05E6\u05D1\u05D9 \u05E6\u05D1\u05E2 \u05DE\u05EA\u05D5\u05DB\u05E0\u05EA\u05D9\u05DD",customColors:"\u05E6\u05D1\u05E2\u05D9\u05DD \u05DE\u05D5\u05EA\u05D0\u05DE\u05D9\u05DD \u05D0\u05D9\u05E9\u05D9\u05EA",newColor:"\u05E6\u05D1\u05E2 \u05DE\u05D5\u05EA\u05D0\u05DD \u05D0\u05D9\u05E9\u05D9\u05EA \u05D7\u05D3\u05E9",noColor:"\u05DC\u05DC\u05D0",removeColor:"\u05D4\u05E1\u05E8 \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3"};var g_={add:"Dodati",addColor:"Dodaj boju",cancel:"Otka\u017Ei",colorFormat:"Format boje",colorPresets:"Prijedlozi boja",customColors:"Prilago\u0111ene boje",newColor:"Nova prilago\u0111ena boja",noColor:"Prazno",removeColor:"Ukloni boju",transparent:"Prozirna"};var h_={add:"Tambah",addColor:"Tambah Warna",cancel:"Batalkan",colorFormat:"Format Warna",colorPresets:"Preset Warna",customColors:"Warna Kustom",newColor:"Warna Khusus Baru",noColor:"Tidak ada",removeColor:"Hapus Warna",transparent:"Transparan"};var v_={add:"Aggiungi",addColor:"Aggiungi colore",cancel:"Annulla",colorFormat:"Formato del colore",colorPresets:"Colori predefiniti",customColors:"Colori personalizzati",newColor:"Nuovo colore personalizzato",noColor:"Nessuno",removeColor:"Rimuovi colore",transparent:"Trasparente"};var x_={add:"\u8FFD\u52A0",addColor:"\u8272\u3092\u8FFD\u52A0",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",colorFormat:"\u30AB\u30E9\u30FC\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8",colorPresets:"\u30AB\u30E9\u30FC\u30D7\u30EA\u30BB\u30C3\u30C8",customColors:"\u30AB\u30B9\u30BF\u30E0\u30AB\u30E9\u30FC",newColor:"\u65B0\u898F\u30AB\u30B9\u30BF\u30E0\u30AB\u30E9\u30FC",noColor:"\u306A\u3057",removeColor:"\u8272\u3092\u524A\u9664",transparent:"\u900F\u660E"};var T_={add:"\uCD94\uAC00",addColor:"\uC0C9\uC0C1 \uCD94\uAC00",cancel:"\uCDE8\uC18C",colorFormat:"\uC0C9\uC0C1 \uD615\uC2DD",colorPresets:"\uC0C9\uC0C1 \uBBF8\uB9AC\uC124\uC815",customColors:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C9\uC0C1",newColor:"\uC0C8\uB85C\uC6B4 \uC0AC\uC6A9\uC790\uC9C0\uC815 \uC0C9\uC0C1",noColor:"\uC5C6\uC74C",removeColor:"\uC0C9\uC0C1 \uC81C\uAC70",transparent:"\uD22C\uBA85"};var P_={add:"Tambah",addColor:"Tambah Warna",cancel:"Batal",colorFormat:"Format Warna",colorPresets:"Praset Warna",customColors:"Warna Kustom",newColor:"Warna Tersuai Baharu",noColor:"Tiada",removeColor:"Buang Warna",transparent:"Lut Sinar"};var C_={add:"Legg til",addColor:"Legg til farge",cancel:"Avbryt",colorFormat:"Fargeformat",colorPresets:"Fargeinnstillinger",customColors:"Egendefinerte farger",newColor:"Ny tilpasset farge",noColor:"Ingen",removeColor:"Fjern farge",transparent:"Gjennomsiktig"};var S_={add:"Voeg toe",addColor:"Kleur toevoegen",cancel:"Annuleer",colorFormat:"Kleurformaat",colorPresets:"Kleurvoorinstellingen",customColors:"Aangepaste kleuren",newColor:"Nieuwe aangepaste kleur",noColor:"Geen",removeColor:"Kleur verwijderen",transparent:"Doorzichtig"};var D_={add:"Dodaj",addColor:"Dodaj kolor",cancel:"Anuluj",colorFormat:"Format koloru",colorPresets:"Wst\u0119pnie ustawione kolory",customColors:"Niestandardowe kolory",newColor:"Nowy kolor niestandardowy",noColor:"Brak",removeColor:"Usu\u0144 kolor",transparent:"Prze\u015Bwiecaj\u0105ce"};var k_={add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Predefini\xE7\xF5es de cor",customColors:"Cores personalizadas",newColor:"Nova cor personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"};var z_={add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Pr\xE9-ajustes de Cores",customColors:"Cores personalizadas",newColor:"Nova Cor Personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"};var E_={add:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C",addColor:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0446\u0432\u0435\u0442",cancel:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",colorFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0446\u0432\u0435\u0442\u0430",colorPresets:"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",customColors:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0446\u0432\u0435\u0442\u0430",newColor:"\u041D\u043E\u0432\u044B\u0439 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u0446\u0432\u0435\u0442",noColor:"\u041D\u0435\u0442",removeColor:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0446\u0432\u0435\u0442",transparent:"\u041F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439"};var w_={add:"Prida\u0165",addColor:"Prida\u0165 farbu",cancel:"Zru\u0161i\u0165",colorFormat:"Form\xE1t farby",colorPresets:"Predvo\u013Eby farieb",customColors:"Vlastn\xE9 farby",newColor:"Vlastn\xE1 farba",noColor:"\u017Diadny",removeColor:"Odstr\xE1ni\u0165 farbu",transparent:"Prieh\u013Eadn\xE1"};var __={add:"Dodaj",addColor:"Dodaj barvo",cancel:"Prekli\u010Di",colorFormat:"Barvni format",colorPresets:"Barvne predloge",customColors:"Prilagojene barve",newColor:"Nova barva po meri",noColor:"Prazna stran",removeColor:"Odstrani barvo",transparent:"Prosojna"};var I_={add:"L\xE4gg till",addColor:"L\xE4gg till f\xE4rg",cancel:"Avbryt",colorFormat:"F\xE4rgformat",colorPresets:"F\xF6rval f\xF6r f\xE4rger",customColors:"Anpassade f\xE4rger",newColor:"Ny anpassad f\xE4rg",noColor:"Ingen",removeColor:"Ta bort f\xE4rg",transparent:"Genomskinligt"};var R_={add:"\u0E40\u0E1E\u0E34\u0E48\u0E21",addColor:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2A\u0E35",cancel:"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",colorFormat:"\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E2A\u0E35",colorPresets:"\u0E04\u0E48\u0E32\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E15\u0E31\u0E49\u0E07\u0E44\u0E27\u0E49\u0E25\u0E48\u0E27\u0E07\u0E2B\u0E19\u0E49\u0E32",customColors:"\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E2D\u0E07",newColor:"\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48",noColor:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E40\u0E25\u0E22",removeColor:"\u0E25\u0E1A\u0E2A\u0E35",transparent:"\u0E42\u0E1B\u0E23\u0E48\u0E07\u0E43\u0E2A"};var L_={add:"Ekle",addColor:"Renk Ekle",cancel:"Vazge\xE7",colorFormat:"Renk Format\u0131",colorPresets:"Renk \xD6nayarlar\u0131",customColors:"\xD6zel Renkler",newColor:"Yeni \xF6zel renk",noColor:"Hi\xE7biri",removeColor:"Rengi Kald\u0131r",transparent:"\u015Eeffaf"};var M_={add:"\u0414\u043E\u0434\u0430\u0442\u0438",addColor:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043A\u043E\u043B\u0456\u0440",cancel:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",colorFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u043A\u043E\u043B\u044C\u043E\u0440\u0443",colorPresets:"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",customColors:"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043A\u043E\u043B\u044C\u043E\u0440\u0438",newColor:"\u041D\u043E\u0432\u0438\u0439 \u0432\u043B\u0430\u0441\u043D\u0438\u0439 \u043A\u043E\u043B\u0456\u0440",noColor:"\u041D\u0435\u043C\u0430\u0454",removeColor:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u043A\u043E\u043B\u0456\u0440",transparent:"\u041F\u0440\u043E\u0437\u043E\u0440\u0438\u0439"};var A_={add:"\u6DFB\u52A0",addColor:"\u6DFB\u52A0\u989C\u8272",cancel:"\u53D6\u6D88",colorFormat:"\u989C\u8272\u683C\u5F0F",colorPresets:"\u989C\u8272\u9884\u8BBE",customColors:"\u81EA\u5B9A\u4E49\u989C\u8272",newColor:"\u65B0\u81EA\u5B9A\u4E49\u989C\u8272",noColor:"\u65E0",removeColor:"\u79FB\u9664\u989C\u8272",transparent:"\u900F\u660E"};var N_={add:"\u52A0\u5165",addColor:"\u6DFB\u52A0\u984F\u8272",cancel:"\u53D6\u6D88",colorFormat:"\u984F\u8272\u683C\u5F0F",colorPresets:"\u984F\u8272\u9810\u8A2D\u9805",customColors:"\u81EA\u8A02\u984F\u8272",newColor:"\u65B0\u81EA\u8A02\u984F\u8272",noColor:"\u7121",removeColor:"\u79FB\u9664\u984F\u8272",transparent:"\u900F\u660E"};var bn={ar:n_,cs:i_,cy:a_,da:l_,de:s_,el:u_,en_GB:c_,en:d_,es:p_,fi:m_,fr_CA:f_,fr:y_,he:b_,hr:g_,id:h_,it:v_,ja:x_,ko:T_,ms:P_,nb_NO:C_,nl:S_,pl:D_,pt_PT:k_,pt:z_,ru:E_,sk:w_,sl:__,sv:I_,th:R_,tr:L_,uk:M_,zh_Hans:A_,zh_Hant:N_};var Vm=({children:e})=>{let{triggerProps:t}=Mo.useContext(_o);return jsx(fo,{...t,children:e})};Vm.displayName="ModalTrigger";var pW=({children:e})=>{let{state:t}=Mo.useContext(_o);return jsx(fo,{onPress:()=>{t?.close();},children:e})};var O_="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6ln",F_="_1dbkl5e",K_=V({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6ly _1yep5z6lq _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6lp _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z6111"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),V_="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl",B_=V({defaultClassName:"_1dbkl50 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6dy _1yep5z6ev",variantClassNames:{labelPosition:{top:"_1yep5z6oi _1yep5z6oj _1yep5z6ok",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),Bm="_1dbkl5l _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z69f _1yep5z69g _1yep5z69h",$_="_1dbkl5f z9nup86",$m="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if",H_="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6lq",j_="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy _1yep5z6ev _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl",Hm=V({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g1",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8"}},defaultVariants:{},compoundVariants:[]}),wh="_1dbkl5v _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",G_=V({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z6134"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z617q"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61pb"]]}),U_=V({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f5 _1yep5z6lp _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6ld",variantClassNames:{isHovered:{true:"_1yep5z6126"},isFocusVisible:{true:"_1yep5z617w _1yep5z617u _1yep5z617x _1yep5z6140"},isDisabled:{true:"_1yep5z611a"}},defaultVariants:{},compoundVariants:[]}),jm="_1dbkl5g",Cu="_1dbkl5u",Gm="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",_h="_1dbkl5x",W_="_1dbkl5w",Ih="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69l _1yep5z69m _1yep5z69n",Um=V({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lu _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lz _1yep5z6m2",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z617u _1yep5z6140 _1yep5z617w"}},defaultVariants:{},compoundVariants:[]}),Rh="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6ig _1yep5z6ih _1yep5z6ii";var q_=V({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6lk _1yep5z6ic _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617z"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2"],[{isSelected:true,isDisabled:true},"_1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2 _1yep5z61qd"],[{isHovered:true,isSelected:false},"_1yep5z61u2 _1yep5z61tz _1yep5z61tx _1yep5z61q7"]]}),X_="_1yep5z6f6",Y_="_1344e9q9 _1yep5z6fl";var gn=Mo.forwardRef(({color:e,isFocusVisible:t,isSelected:r,isInteractive:o,isDisabled:n,style:i,className:a,id:l,tooltip:s,isIndeterminate:u,indeterminateIcon:c=HelpIcon,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=e&&e!==no&&(typeof e=="string"?ke(e):e),{formatMessage:f}=ye(),h=!b,{colorSwatchProps:v}=yb({color:h?"#000000":e}),{hoverProps:g,isHovered:x}=re({isDisabled:n||!o}),T=ce({"data-focus-visible":t,"data-selected":r,"data-hovered":x,"data-block-id":d,"data-block-class":m,"data-disabled":n,"data-interactive":o,"data-indeterminate":u}),P=h?f(Z_.none):v["aria-label"],S=p["aria-label"]??P,{tooltipProps:E}=Ot({tooltip:s,label:S}),D=jsx("div",{...R(g,T,h?{}:v),style:i,"aria-label":h?f(Z_.none):v["aria-label"],role:"img",className:L(q_({removeBlendMode:h,isFocusVisible:t,isDisabled:!!n,isSelected:!!r,isHovered:x}),"BaselineUI-ColorSwatch",a),ref:y,id:l,...p,children:jsxs(X,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:n?"medium":void 0,style:b&&!u?J_(b,4):void 0,children:[h&&!u?jsx("div",{className:Y_}):null,u&&c?jsx(c,{role:"presentation",size:16,className:X_,"aria-hidden":"true"}):null]})});return E&&!n?jsx(Be,{...E,children:jsx(Ho,{children:D})}):D});gn.displayName="ColorSwatch";var Z_=Re({none:{id:"none",defaultMessage:"None"}});var eI=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],ku=ke("#000000").toFormat("hsla"),Pt="hsla",Du="hexa";function hW(e){let t=document.createElement("canvas").getContext("2d");return ie(t,"Failed to get canvas context"),t.fillStyle=e,t.fillStyle}function ui(e){if(typeof e=="string")try{return ke(e).toFormat(Pt)}catch{return ke(hW(e)).toFormat(Pt)}else if(e)return e.toFormat(Pt);return null}function tI(e,t){return e?.getChannelValue("alpha")?t?.toString(Du)===e.toString(Du):!t?.getChannelValue("alpha")}function rI(e,t,r){return t?.label?t.label:e?.getChannelValue("alpha")===0?r:e?.toString("rgba")}var no="NONE";function oI(e,t){let r=t?.map(n=>({id:ke(n.color).toString(Du),label:n.label}))||[],o={id:no,label:e};return [...r,o]}var Wm=(e,{optionProps:t,isFocusVisible:r,isSelected:o},n)=>(ie(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...t,ref:n,className:H_,children:jsx(gn,{color:e.value.id,isFocusVisible:r,isSelected:o,"aria-label":e.value.label,isInteractive:true})})),J_=(e,t=4)=>{let r=e.getChannelValue("alpha")===0,o=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:r?o:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${o}`,backgroundSize:`${t}px ${t}px`}};var nI=({value:e,...t})=>{let r=Mo.useRef(null),o=Mo.useRef(null),n=Mo.useRef(null),i=eb({...t,value:e}),{colorAreaProps:a,xInputProps:l,yInputProps:s,thumbProps:u}=db({...t,value:e,inputXRef:r,inputYRef:o,containerRef:n},i);useEffect(()=>{r.current?.focus();},[]);let{focusProps:c,isFocusVisible:d}=ee();return jsx("div",{ref:n,...a,className:L(O_,"BaselineUI-ColorInput-ColorArea"),children:jsxs("div",{...u,className:L(Um({isFocusVisible:d}),"BaselineUI-ColorInput-ColorAreaThumb"),style:{...u.style,transform:"translate(-50%, -50%)",backgroundColor:ui(e)?.withChannelValue("alpha",1).toString("css")},children:[jsx("input",{ref:r,...l,...c}),jsx("input",{ref:o,...s,...c})]})})};var iI=({color:e,setColor:t,allowAlpha:r,...o})=>{let n=lb({value:e,onChange:d=>{t(ui(d)?.toFormat(Pt).withChannelValue("alpha",e.getChannelValue("alpha")??1)||ku);}}),i=Mo.useRef(null),{inputProps:a}=fb({...o,"aria-label":"Hex"},n,i),{focusProps:l,isFocused:s}=ee({isTextInput:true}),{hoverProps:u,isHovered:c}=re({});return jsxs("div",{className:L(wh,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":r?"hexa":"hex",children:[jsx("input",{...R(a,l,u),ref:i,className:G_({isFocused:s,isHovered:c,allowAlpha:r})}),r?jsx(lI,{color:e,setColor:t}):null]})},aI=({color:e,setColor:t,allowAlpha:r})=>{let o=e.toFormat("rgba"),{locale:n}=J();return jsxs("div",{className:L(wh,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":r?"rgba":"rgb",children:[jsx(wo,{"aria-label":e.getChannelName("red",n),value:o.getChannelValue("red"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("red",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),jsx(wo,{"aria-label":e.getChannelName("green",n),value:o.getChannelValue("green"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("green",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),jsx(wo,{"aria-label":e.getChannelName("blue",n),value:o.getChannelValue("blue"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("blue",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),r?jsx(lI,{color:e,setColor:t}):null]})},CW={style:"percent",maximumFractionDigits:0},lI=({color:e,setColor:t})=>{let{locale:r}=J(),o=useCallback(n=>{t(e.withChannelValue("alpha",n));},[e,t]);return jsx(wo,{"aria-label":e.getChannelName("alpha",r),value:e.getChannelValue("alpha"),formatOptions:CW,className:Cu,showStepper:false,onChange:o,minValue:0,maxValue:1})};var Ah=({channel:e,...t})=>{let{locale:r}=J(),o=nb({...t,channel:e,locale:r}),n=Mo.useRef(null),i=Mo.useRef(null),{trackProps:a,thumbProps:l,inputProps:s}=mb({...t,channel:e,trackRef:n,inputRef:i,"aria-label":o.value.getChannelName(e,r)},o),{focusProps:u,isFocusVisible:c}=ee();return jsxs("div",{className:L($m,{[ND({size:"xs"})]:e==="alpha"},"BaselineUI-ColorInput-ColorSlider"),"data-channel":e,...a,ref:n,children:[e==="alpha"&&jsx("div",{className:Rh}),jsx("div",{className:$m,style:a.style}),jsxs("div",{className:L(Um({isFocusVisible:c}),"BaselineUI-ColorInput-ColorSliderThumb"),...l,children:[jsx("div",{className:Rh,style:{backgroundColor:"#ffffff"}}),jsx("div",{style:{backgroundColor:o.getDisplayColor().toString("css"),height:8},className:$m}),jsx(Le,{children:jsx("input",{ref:i,...s,...u})})]})]})};var qm=({color:e,setColor:t,allowAlpha:r,onChangeEnd:o})=>{let[n,i]=Mo.useState("hex"),{formatMessage:a}=ye(bn);return jsxs(Fragment,{children:[jsx(nI,{value:e,xChannel:"saturation",yChannel:"lightness",onChange:t,onChangeEnd:o}),jsxs("div",{className:Ih,children:[jsx(Ah,{channel:"hue",value:e,onChange:t,onChangeEnd:o}),r?jsx(Ah,{channel:"alpha",value:e,onChange:t,onChangeEnd:o}):null]}),jsxs("div",{className:L(Ih,sprinkles.variants({paddingTop:"none",gap:"sm"})),children:[jsx(yn,{label:a("colorFormat"),labelPosition:"start",variant:"ghost",items:eI,selectedKey:n,onSelectionChange:l=>{i(l);}}),n==="hex"&&jsx(iI,{color:e,setColor:l=>{t(l),o?.(l);},allowAlpha:r}),n==="rgb"&&jsx(aI,{color:e,setColor:l=>{t(l),o?.(l);},allowAlpha:r})]})]})};var dI=({color:e,setColor:t,storePickedColorKey:r,addColorButtonLabel:o,removeColorButtonLabel:n,customColorsLabel:i,pickerMode:a,allowAlpha:l,isIndeterminate:s})=>{let{locale:u}=J(),{formatMessage:c}=ye(bn),d=Mo.useRef(null),m=un(d.current),[p,y]=ID(r,[]),b=Mo.useRef(null),[f,h]=Mo.useState(e),v=Mo.useMemo(()=>p.map(E=>({id:E,label:ke(E).getColorName(u),description:E})),[p,u]),g=useCallback(()=>{let E=a==="active"?e:f;if(p.includes(E.toString(Pt))){b.current?.querySelector(`[data-key='${E.toString(Pt)}']`)?.classList.add(_h);return}y([...p,E.toString(Pt)]);},[p,e,y,f,a]);useEffect(()=>{let E=b.current;function D(I){I.animationName===W_&&I.target?.classList.remove(_h);}return E?.addEventListener("animationend",D),()=>{E?.removeEventListener("animationend",D);}},[]);let x=Y(),T=jsx(me,{ref:d,variant:"secondary",size:"md","aria-label":o,icon:PlusIcon$2,onPress:a==="active"?g:void 0}),P=useCallback(E=>jsxs(nr,{size:"content",className:Hm({includesCustomColorPicker:true}),style:{paddingBlockEnd:0},"aria-label":c("newColor"),children:[jsx(qm,{color:f,setColor:h,allowAlpha:l}),jsx(De,{}),jsx(X,{padding:"lg",display:"flex",flexDirection:"row-reverse",children:jsxs(X,{display:"inline-flex",gap:"lg",children:[jsx(Ie,{label:c("cancel"),size:"sm",variant:"secondary",onPress:E}),jsx(Ie,{label:c("add"),variant:"primary",onPress:()=>{g(),E();},size:"sm"})]})})]}),[f,g,c,l]),S=useCallback(E=>{ie(E instanceof Set,"Key must be a set");let D=[...E][0];D&&t(ke(D).toFormat(Pt));},[t]);return jsxs(Fragment,{children:[jsx(De,{}),jsxs("div",{className:L(j_,"BaselineUI-ColorInput-CustomColors"),children:[jsx("span",{id:x,children:i}),jsxs(X,{display:"flex",children:[!!p.length&&p.includes(e.toString(Pt))&&jsx(me,{variant:"secondary",size:"md",elementType:"div",icon:MinusIcon$2,"aria-label":n,onPress:()=>{y(p.filter(E=>E!==e.toString(Pt)));}}),a==="active"&&T,a==="lazy"&&(m==="mobile"?jsxs(ro,{children:[jsx(Vm,{children:T}),jsx(oo,{style:{zIndex:1e5},children:({close:E})=>P(E)})]}):jsxs(ko,{type:"dialog",children:[jsx(zo,{children:T}),jsx(dt,{placement:"right top",className:jm,offset:6,children:({close:E})=>P(E)})]}))]})]}),!!p.length&&jsx(to,{items:v,layout:"grid","aria-labelledby":x,className:L(Bm,Gm,sprinkles.variants({paddingTop:"xs"}),"BaselineUI-ColorInput-CustomColorsListBox"),renderOption:Wm,ref:b,autoFocus:false,selectionMode:"single",selectedKeys:s?[]:[e.toString(Pt)],onSelectionChange:S})]})};var Fh=Mo.forwardRef(({setColor:e,color:t,triggerRef:r,autoFocus:o,presets:n,state:i,isIndeterminate:a},l)=>{let{formatMessage:s}=ye(bn),u=useCallback(c=>{if(c instanceof Set&&c.size){let d=[...c][0],m=n.find(p=>p.id===d);ie(m,"Preset not found"),e(m.id===no?null:ke(m.id).toFormat(Pt)),i.close();}},[i,n,e]);return jsx("div",{className:L(Gm,"BaselineUI-ColorInput-Presets"),style:{minWidth:r.current?.offsetWidth},ref:l,children:jsx(to,{autoFocus:o,items:n,layout:"grid","aria-label":s("colorPresets"),className:Bm,renderOption:Wm,selectionMode:"single",selectedKeys:a?[]:[t?.toString(Du)||no],onSelectionChange:u,escapeKeyBehavior:"none"})})});Fh.displayName="ColorPresetList";var Eu=Mo.forwardRef(({color:e,colorLabel:t,colorName:r,isIndeterminate:o,indeterminateIcon:n,...i},a)=>{let l=Mo.useRef(null),{hoverProps:s,isHovered:u}=re({isDisabled:i.isDisabled}),{buttonProps:c,isPressed:d}=rt(i,l),{isFocusVisible:m,focusProps:p}=ee(),y=ce({"data-block-id":i["data-block-id"],"data-focused":m,"data-focus-visible":m,"data-disabled":i.isDisabled,"data-hovered":u,"data-pressed":d}),b=Y(),f=Y();return jsxs("button",{...R(c,s,p,y),style:i.style,className:L(K_({isHovered:u,isFocusVisible:m||i.isOpen,isDisabled:i.isDisabled,labelPosition:i.labelPosition}),"BaselineUI-ColorInputButton",i.className),ref:Z(a,l),id:b,"aria-labelledby":i["aria-labelledby"]||`${b} ${f}`,children:[jsx(gn,{color:e?.toString("hexa"),isIndeterminate:o,indeterminateIcon:n}),t?jsx("div",{className:$_,id:f,"aria-hidden":"true",children:r}):typeof r=="string"&&jsx(Le,{children:r})]})});Eu.displayName="ColorInputButton";var Zm=Mo.forwardRef(({className:e,style:t,icon:r,...o},n)=>{let i=Mo.useRef(null),{hoverProps:a,isHovered:l}=re({isDisabled:o.isDisabled}),{buttonProps:s,isPressed:u}=rt(o,i),{isFocusVisible:c,focusProps:d}=ee(),m=ce({"data-block-id":o["data-block-id"],"data-focused":c,"data-focus-visible":c,"data-disabled":o.isDisabled,"data-hovered":l,"data-pressed":u});return jsxs("button",{...R(s,a,d,m),ref:Z(n,i),style:t,className:L(U_({isHovered:l||u||o.isOpen,isFocusVisible:c,isDisabled:o.isDisabled}),"BaselineUI-IconColorInputButton","BaselineUI-IconColorInput-Button",e),children:[jsx(r,{size:16}),jsx("div",{className:F_,style:{backgroundColor:o.color||void 0}})]})});Zm.displayName="IconColorInputButton";function yI({colorLabel:e,color:t,presets:r,isIndeterminate:o}){let{formatMessage:n}=ye(),{locale:i}=J(),a=useMemo(()=>o?{id:"indeterminate",label:n(fI.indeterminate)}:r.find(u=>u.id===no?!t:t?tI(t,ke(u.id)):false),[r,t,o,n]),l=useMemo(()=>{if(typeof e=="function")return e?.(t,{isIndeterminate:!!o});if(typeof e=="boolean")return e?rI(t,a,n(fI.transparent)):false;throw new TypeError("`colorLabel` must be a function or a boolean")},[t,e,n,a,o]),s=useMemo(()=>{if(a?.label)return a.label;t?.getColorName(i);},[t,i,a?.label]);return {colorName:l,humanReadableName:s}}var fI=Re({transparent:{defaultMessage:"Transparent",id:"transparent"},indeterminate:{defaultMessage:"Indeterminate",id:"indeterminate"}});var ul=Mo.forwardRef(({className:e,style:t,allowRemoval:r,allowAlpha:o=true,presets:n,labelPosition:i="top",colorLabel:a=true,includePicker:l=true,onChange:s,onChangeEnd:u,defaultValue:c,storePickedColorKey:d="baselinePickedColor",value:m,addColorButtonLabel:p,removeColorButtonLabel:y,customColorsLabel:b,onTriggerPress:f,renderTriggerButton:h=({isOpen:C,color:_,ref:z,colorName:w,triggerProps:O,labelId:k,isIndeterminate:M,indeterminateIcon:F})=>jsx(Eu,{...R(O,{...D.label?{"aria-labelledby":k}:{"aria-label":D["aria-label"]}}),ref:z,isOpen:C,isDisabled:D.isDisabled,labelPosition:i,color:_,colorLabel:a,colorName:w,isIndeterminate:M,indeterminateIcon:F}),pickerMode:v="active",offset:g=2,placement:x=i==="start"?"bottom end":"bottom start","data-block-id":T,"data-block-class":P,isIndeterminate:S,indeterminateIcon:E,...D},I)=>{let C=Mo.useRef(null),_=Mo.useRef(null),z=Nt(D),{triggerProps:w,overlayProps:O}=Wr({type:"listbox"},z,C),k=Ft(D.portalContainer),[M,F]=be(m===void 0?void 0:ui(m),ui(c),ne=>s?.(ne?.toFormat("rgba")||null)),{formatMessage:K}=ye(bn),N=useMemo(()=>oI(K(Jm.noColor),n),[n,K]),$=Y(),{colorName:A}=yI({colorLabel:a,color:M,presets:N,isIndeterminate:S}),B=useMemo(()=>N.filter(ne=>r||ne.id!==no),[N,r]),U=p||K(Jm.addColor),oe=y||K(Jm.removeColor),G=b||K(Jm.customColors),W=jsx(dI,{color:M||ku,setColor:ne=>{F(ne),u?.(ne?.toFormat("rgba")||null);},storePickedColorKey:d,addColorButtonLabel:U,removeColorButtonLabel:oe,customColorsLabel:G,pickerMode:v,allowAlpha:o,isIndeterminate:!!S});return jsxs(Fragment,{children:[jsxs("div",{className:L({[V_]:i==="start"},"BaselineUI-ColorInput-Trigger",e),"data-block-id":T,"data-block-class":P,style:t,ref:I,children:[D.label?jsx("label",{id:$,className:B_({labelPosition:i}),children:D.label}):null,h({isOpen:z.isOpen,color:M,ref:C,colorName:A,triggerProps:R(w,{onPress:f}),labelId:$,isIndeterminate:S,indeterminateIcon:E})]}),jsx(dt,{...D,portalContainer:k,placement:x,state:z,offset:g,className:L(jm,"BaselineUI-ColorInput-Popover"),triggerRef:C,overlayProps:O,children:jsxs(nr,{size:"content",className:Hm({includesCustomColorPicker:l}),ref:_,"aria-labelledby":D.label?$:void 0,"aria-label":D["aria-label"],children:[l&&v==="active"?jsxs(Fragment,{children:[jsx(qm,{color:M||ku,setColor:F,allowAlpha:o,onChangeEnd:ne=>{u?.(ne?.toFormat("rgba")||null);}}),W]}):null,!!B.length&&jsxs(Fragment,{children:[l&&v==="active"?jsx(De,{}):null,jsx(Fh,{autoFocus:l&&v==="active"?false:"first",state:z,triggerRef:C,presets:B,color:M,setColor:ne=>{F(ne),u?.(ne?.toFormat("rgba")||null);},isIndeterminate:!!S})]}),l&&v==="lazy"?W:null]})})]})});ul.displayName="ColorInput";var Jm=Re({addColor:{defaultMessage:"Add color",id:"addColor"},removeColor:{defaultMessage:"Remove color",id:"removeColor"},customColors:{defaultMessage:"Custom colors",id:"customColors"},noColor:{defaultMessage:"No color",id:"noColor"},transparent:{defaultMessage:"Transparent",id:"transparent"}});var hI=Mo.forwardRef(({className:e,style:t,icon:r,variant:o="standard","data-block-id":n,tooltip:i=true,iconTooltip:a=true,...l},s)=>{let u=Mo.useRef(null),{tooltipProps:c}=Ot({label:l["aria-label"],tooltip:i}),d=useCallback(({isOpen:m,color:p,ref:y,colorName:b,triggerProps:f,isIndeterminate:h,indeterminateIcon:v})=>jsx(Be,{...c,children:o==="standard"?jsx(Eu,{...f,"aria-label":l["aria-label"],ref:y,isOpen:m,isDisabled:l.isDisabled,color:p,colorLabel:false,colorName:b,isIndeterminate:h,indeterminateIcon:v}):jsx(Zm,{...f,isOpen:m,icon:TextIcon,color:p?.toString("hexa"),ref:y,isDisabled:l.isDisabled,"aria-label":l["aria-label"],isIndeterminate:h,indeterminateIcon:v})}),[l,c,o]);return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:o==="standard"?"md":"none",alignItems:"center",className:L("BaselineUI-IconColorInput",e),"data-block-id":n,style:t,ref:Z(s,u),children:[o==="standard"&&r?jsx(Wa,{icon:r,label:l["aria-label"],tooltip:a,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary"})}):null,jsx(ul,{...l,colorLabel:false,renderTriggerButton:d})]})});hI.displayName="IconColorInput";var vI={redo:"\u0625\u0639\u0627\u062F\u0629",undo:"\u062A\u0631\u0627\u062C\u0639"};var xI={redo:"Opakovat",undo:"Zru\u0161it"};var TI={redo:"Ail-wneud",undo:"Dad-wneud"};var PI={redo:"Gentag",undo:"Fortryd"};var CI={redo:"Wiederholen",undo:"R\xFCckg\xE4ngig machen"};var SI={redo:"\u0395\u03C0\u03B1\u03BD\u03AC\u03BB\u03B7\u03C8\u03B7",undo:"\u0391\u03BD\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7"};var DI={redo:"Redo",undo:"Undo"};var kI={redo:"Redo",undo:"Undo"};var zI={redo:"Rehacer",undo:"Deshacer"};var EI={redo:"Tee sittenkin",undo:"Peru"};var wI={redo:"R\xE9tablir",undo:"Annuler"};var _I={redo:"R\xE9tablir",undo:"Annuler"};var II={redo:"\u05D1\u05D9\u05E6\u05D5\u05E2 \u05DE\u05D7\u05D3\u05E9",undo:"\u05D1\u05D9\u05D8\u05D5\u05DC \u05E4\u05E2\u05D5\u05DC\u05D4"};var RI={redo:"Ponovi",undo:"Vrati"};var LI={redo:"Ulangi",undo:"Kembalikan"};var MI={redo:"Ripristina",undo:"Annulla"};var AI={redo:"\u3084\u308A\u76F4\u3059",undo:"\u53D6\u308A\u6D88\u3059"};var NI={redo:"\uC2E4\uD589\uBCF5\uADC0",undo:"\uC2E4\uD589\uCDE8\uC18C"};var OI={redo:"Buat Semula",undo:"Buat Asal"};var FI={redo:"Gj\xF8r om igjen",undo:"Angre"};var KI={redo:"Opnieuw",undo:"Herstel"};var VI={redo:"Pon\xF3w",undo:"Cofnij"};var BI={redo:"Refazer",undo:"Desfazer"};var $I={redo:"Refazer",undo:"Desfazer"};var HI={redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C"};var jI={redo:"Opakova\u0165",undo:"Zru\u0161i\u0165"};var GI={redo:"Uveljavi",undo:"Razveljavi"};var UI={redo:"G\xF6r om",undo:"\xC5ngra"};var WI={redo:"\u0E17\u0E33\u0E0B\u0E49\u0E33",undo:"\u0E16\u0E2D\u0E19\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E01\u0E25\u0E31\u0E1A"};var qI={redo:"Yinele",undo:"Geri Al"};var XI={redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",undo:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var YI={redo:"\u91CD\u505A",undo:"\u64A4\u9500"};var ZI={redo:"\u91CD\u4F5C",undo:"\u5FA9\u539F"};var JI={ar:vI,cs:xI,cy:TI,da:PI,de:CI,el:SI,en_GB:DI,en:kI,es:zI,fi:EI,fr_CA:wI,fr:_I,he:II,hr:RI,id:LI,it:MI,ja:AI,ko:NI,ms:OI,nb_NO:FI,nl:KI,pl:VI,pt_PT:BI,pt:$I,ru:HI,sk:jI,sl:GI,sv:UI,th:WI,tr:qI,uk:XI,zh_Hans:YI,zh_Hant:ZI};var Qm=V({defaultClassName:"mnnh5s1 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6la _1yep5z6ld _1yep5z6lp _1yep5z6lo _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ln",variantClassNames:{isInline:{true:"mnnh5s2 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq _1yep5z6138 _1yep5z6183 _1yep5z6184",false:"_1yep5z617q _1yep5z6127"},isHovered:{true:"mnnh5s4"},hasLoadedImage:{true:"_1yep5z6126"},includeCheckeredBackground:{true:"mnnh5s6"},showFocusRing:{true:"_1yep5z613j _1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"mnnh5s8 _1yep5z6zd"}},defaultVariants:{},compoundVariants:[[{isHovered:true,hasLoadedImage:false},"_1yep5z61oh"],[{isHovered:true,hasLoadedImage:true},"mnnh5s9"],[{isInline:true,isDisabled:true},"_1yep5z61pb"],[{hasLoadedImage:true,includeCheckeredBackground:true},"_1yep5z61o9"]]}),QI="_1yep5z6d8",ef=V({defaultClassName:"mnnh5sa",variantClassNames:{isInline:{true:"mnnh5sb",false:"mnnh5sc"},isDisabled:{true:"mnnh5sd"},hasLoadedImage:{true:"mnnh5s0"}},defaultVariants:{},compoundVariants:[]});var eR=V({defaultClassName:"_1i0ytqa3 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6ln _1yep5z6lo _1yep5z6lq",variantClassNames:{isFocusVisible:{true:"_1i0ytqa4"},isInline:{true:"_1yep5z612f",false:"_1yep5z612h"},isDisabled:{true:"_1i0ytqa7 _1yep5z6zd",false:"_1i0ytqa8"}},defaultVariants:{},compoundVariants:[[{isInline:true,isFocusVisible:true},"_1i0ytqa9 _1yep5z61p7 _1yep5z61u5 _1yep5z61u7"],[{isInline:false,isFocusVisible:true},"_1i0ytqaa"],[{isInline:true,isDisabled:true},"_1yep5z61oi"],[{isInline:false,isDisabled:true},"_1yep5z61ok"]]}),tR="_1i0ytqa0",tf=V({defaultClassName:"_1i0ytqab _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z6126"},isDisabled:{true:"_1i0ytqad _1yep5z6zd"}},defaultVariants:{},compoundVariants:[]}),rR=V({defaultClassName:"_1i0ytqa1 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b"}},defaultVariants:{},compoundVariants:[]});function oR({line:e,options:t}){let r=useRef([]),o=useMemo(()=>{let n=Math.ceil(e.length/cl),i;for(let a=0;a<n;a++)if(!(!(a===n-1)&&!!r.current[a])){let u=e.slice(a*cl-(a>0?1:0),a*cl+cl);i=Ip(getStroke(u.map(([c,d,m])=>({x:c,y:d,pressure:m})),t)),u.length>=(a>0?cl+1:cl)&&(r.current[a]=i);}return i},[e,t]);return [...r.current,o]}var cl=60*3;var k9={size:1,thinning:0,smoothing:0,streamline:0,easing:e=>e,start:{taper:0,easing:e=>e,cap:true},end:{taper:0,easing:e=>e,cap:true},simulatePressure:false},iR=Mo.forwardRef(({className:e,style:t,canvasClassName:r,canvasStyle:o,isBound:n=true,strokeWidth:i=2,strokeColor:a="#3A87FD",onChange:l,defaultValue:s,onChangeEnd:u,enableHistory:c=false,isInline:d=true,isDisabled:m,placeholder:p,clearLabel:y,undoLabel:b,redoLabel:f,footerClassName:h,canvasRef:v,value:g,footerStyle:x,"data-block-id":T,"data-block-class":P,"aria-label":S="Drawing canvas",description:E="This is a canvas for drawing using a mouse or touch input.",...D},I)=>{let C=ye(JI),_=Mo.useRef(null),[z,w]=Mo.useState(g||s||[]),O=Mo.useMemo(()=>({...k9,...D}),[D]),[k,M]=Mo.useState(),F=Y(),{labelProps:K,fieldProps:N}=vt({...D,"aria-label":S,labelElementType:"span"}),{isFocusVisible:$,focusProps:A}=ee({within:true}),{hoverProps:B,isHovered:U}=re({isDisabled:m}),{undo:oe,redo:G,canRedo:W,canUndo:ne,push:Q}=CD(z,{onAction:Fe=>{Fe&&(w(Fe),u?.(Fe));},isDisabled:!c}),{keyboardProps:de}=Ce({onKeyDown:Fe=>{Fe.key==="Backspace"?Qe():Fe.key==="z"&&(Fe.metaKey||Fe.ctrlKey)&&(Fe.shiftKey?W&&G():ne&&oe());}}),[he,Ae]=useState(false),it=useCallback(Fe=>{let we=Fe.currentTarget.getBoundingClientRect();M(we),Fe.target.setPointerCapture(Fe.pointerId);let q=[Fe.clientX-we.x,Fe.clientY-we.y,Fe.pressure];w(fe=>[...fe,[q]]),Ae(true);},[]),Pe=useCallback(Fe=>{if(Fe.buttons!==1||!k)return;let q=sR(Fe.nativeEvent).map(fe=>[n?Ne(fe.clientX-k.left,0,k.width):fe.clientX-k.left,n?Ne(fe.clientY-k.top,0,k.height):fe.clientY-k.top,fe.pressure]);w(fe=>{let $e=[...fe];return $e[fe.length-1]=[...$e[fe.length-1],...q],$e});},[k,n]),Te=()=>{k&&(u?.(z),Q(z),Ae(false));};useEffect(()=>{l?.(z);},[z,l]);let Qe=()=>{w([]),l?.([]),Q([]);};return jsxs("div",{ref:Z(_,I),className:L(tR,"BaselineUI-FreehandCanvas",e),style:t,"aria-disabled":m,"data-block-id":T,"data-block-class":P,children:[D.label||c?jsxs("div",{className:rR({isInline:d}),children:[D.label?jsx(Ze,{type:"label",size:"sm",...K,children:D.label}):jsx("span",{}),c?jsxs("div",{children:[jsx(me,{variant:"secondary",size:"sm",isDisabled:!ne||m,icon:UndoIcon,onPress:oe,"aria-label":b||C.formatMessage("undo")}),jsx(me,{variant:"secondary",size:"sm",isDisabled:!W||m,icon:RedoIcon,onPress:G,"aria-label":f||C.formatMessage("redo")})]}):null]}):null,jsxs("div",{role:"application",...R(A,de,B,N),tabIndex:m?void 0:0,className:L(Qm({isInline:d,isHovered:U}),eR({isFocusVisible:$,isInline:d,isDisabled:!!m}),r),"aria-describedby":D["aria-describedby"]||F,style:o,ref:v,children:[jsx(Le,{children:jsx("div",{id:F,children:E})}),jsx("svg",{width:o?.width||"100%",height:o?.height||"100%",onPointerDown:it,onPointerMove:Pe,onPointerUp:Te,children:(g||z).map((Fe,we,q)=>we<q.length-1||!he?jsx(aR,{line:Fe,options:O,strokeColor:a,strokeWidth:i},we):jsx(lR,{line:Fe,options:O,strokeColor:a,strokeWidth:i},we))})]}),p||y?jsx("div",{style:x,className:L(tf({isInline:d,isDisabled:m}),h),children:(z.length||!p)&&y?jsx(Ie,{size:"sm",variant:"ghost",label:y,isDisabled:m,onPress:Qe}):jsx(Ie,{size:"sm",variant:"ghost",label:p,isDisabled:true})}):null]})});iR.displayName="FreehandCanvas";var aR=Mo.memo(({line:e,options:t,strokeColor:r,strokeWidth:o})=>{let n=useMemo(()=>Ip(getStroke(e.map(([i,a,l])=>({x:i,y:a,pressure:l})),t)),[e,t]);return jsx("path",{d:n,stroke:r,strokeWidth:o})});aR.displayName="Stroke";var lR=Mo.memo(({line:e,options:t,strokeColor:r,strokeWidth:o})=>{let n=oR({line:e,options:t});return jsx(Fragment,{children:n.map((i,a)=>jsx("path",{d:i,stroke:r,strokeWidth:o},a))})});lR.displayName="SplitStroke";function sR(e){if(typeof e.getCoalescedEvents=="function"){let t=e.getCoalescedEvents();return t.length>0?t.flatMap(r=>sR(r)):[e]}return [e]}var uR="_1vac7ws0",cR=V({defaultClassName:"_1vac7ws1",variantClassNames:{isDragging:{true:"_1vac7ws2"}},defaultVariants:{},compoundVariants:[]});function pR(e,t){let[r,o]=useState([]),n=()=>e?.flatMap(i=>[...t.querySelectorAll(i)]).map(i=>({current:i}));return useGranularEffect(()=>{o(n());},[],[n]),useGranularEffect(()=>{let i=n();o(i);},[e],[n]),r}function mR(e){let{scrollable:t,ownerDocument:r,onScroll:o}=e;useEffect(()=>{let n=Ep(t,r);if(n)return (n.style.position==="static"||!n.style.position)&&console.warn("Scrollable ancestor passed to `Transform` component should not be statically positioned."),n.addEventListener("scroll",o),()=>{n.removeEventListener("scroll",o);}},[t,o,r]);}var K9=makeMoveable([Draggable,Resizable,Rotatable,Snappable]),yR=Mo.forwardRef(({className:e,children:t,isRotatable:r,isResizable:o,isDraggable:n,style:i,onTransform:a,onTransformStart:l,onTransformEnd:s,onDoubleClick:u,onDragStart:c,onDragEnd:d,onDrag:m,onResizeStart:p,onResizeEnd:y,onResize:b,onRotateStart:f,onRotateEnd:h,onRotate:v,onSnap:g,isSnappable:x,elementGuidelines:T,hideAnchorOnDrag:P=true,title:S,rotationPosition:E,autoUpdate:D,bound:I,snapRotationDegrees:C,snapRotationThreshold:_,scrollableAncestor:z,renderDirections:w,stopPropagation:O,transformOrigin:k,preventDefault:M},F)=>{let K=useRef(null),N=useRef(null),[$,A]=useState(document),B=useRef($.createElement("div")),[U,oe]=useState({}),[G,W]=useState(false),[ne,Q]=useState(false),[de,he]=useState(),Ae=pR(T,$);useLayoutEffect(()=>{let we=B.current;return B.current=$.createElement("div"),()=>{we.remove();}},[$]);let{keyboardProps:it}=Ce({onKeyDown:we=>{let q=we.shiftKey?10:1,fe=we.metaKey||we.ctrlKey;fe&&we.shiftKey&&(q=45);function $e(Rt,yr="x"){fe?N.current?.request("rotatable",{deltaRotate:Rt*q},true):N.current?.request("draggable",yr==="x"?{deltaX:Rt*q}:{deltaY:Rt*q},true);}switch(we.key){case "ArrowRight":{$e(1);break}case "ArrowLeft":{$e(-1);break}case "ArrowUp":{$e(-1,"y");break}case "ArrowDown":$e(1,"y");}requestAnimationFrame(()=>{N.current?.updateRect();});}});useEffect(()=>{let we=H(K.current);A(we);let q=B.current;we.body.append(B.current);function fe(Rt){Q(Rt.shiftKey);}function $e(){Q(false);}return we.addEventListener("keydown",fe),we.addEventListener("keyup",$e),()=>{we.removeEventListener("keydown",fe),we.removeEventListener("keyup",$e),q.remove();}},[]),mR({scrollable:z,onScroll:()=>{N.current?.updateRect();},ownerDocument:$});let Pe=useCallback(we=>{oe(q=>({...q,...we.style})),a?.(we);},[a]),Te=useCallback(we=>{if(W(true),K.current?.focus(),I){let fe=Ep(I,$)?.getBoundingClientRect();he({position:"client",left:fe?.left??0,top:fe?.top??0,right:fe?.right??0,bottom:fe?.bottom??0});}c?.(we);},[I,$,c]),Qe=useCallback(we=>{W(false),d?.(we);},[d]),Fe=t({style:{...U.width&&{width:U.width},...U.height&&{height:U.height}}});return jsxs(Fragment,{children:[jsx("div",{role:"button",...it,ref:Z(K,F),style:{display:"inline-block",...i,...U},className:L(uR,e),onDoubleClick:u,tabIndex:0,title:S,children:Fe}),createPortal(jsx(K9,{ref:N,target:K,draggable:n,resizable:o,rotatable:r,keepRatio:ne,throttleDrag:1,snappable:x||!!I,elementGuidelines:Ae,snapRenderThreshold:.9,className:cR({isDragging:G&&P}),onRender:Pe,onDragStart:Te,onDragEnd:Qe,useResizeObserver:D,useMutationObserver:D,onRenderEnd:s,onDrag:m,onResizeStart:p,onResizeEnd:y,onResize:b,onRotateStart:f,onRotateEnd:h,onRotate:v,onRenderStart:l,onSnap:g,rotationPosition:E,bounds:de,snapRotationDegrees:C,snapRotationThreshold:_,renderDirections:w,stopPropagation:O,preventDefault:M,transformOrigin:k}),B.current)]})});yR.displayName="Transform";var bR={delete:"\u062D\u0630\u0641",selectImage:"\u062A\u062D\u062F\u064A\u062F \u0635\u0648\u0631\u0629"};var gR={delete:"Smazat",selectImage:"Vybrat obr\xE1zek"};var hR={delete:"Dileu",selectImage:"Dewiswch Ddelwedd"};var vR={delete:"Slet",selectImage:"V\xE6lg billede"};var xR={delete:"L\xF6schen",selectImage:"Bild ausw\xE4hlen"};var TR={delete:"\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE",selectImage:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03B9\u03BA\u03CC\u03BD\u03B1\u03C2"};var PR={delete:"Delete",selectImage:"Select Image"};var CR={delete:"Delete",selectImage:"Select Image"};var SR={delete:"Eliminar",selectImage:"Seleccionar imagen"};var DR={delete:"Poista",selectImage:"Valitse kuva"};var kR={delete:"Supprimer",selectImage:"S\xE9lectionner une image"};var zR={delete:"Supprimer",selectImage:"S\xE9lectionner une image"};var ER={delete:"\u05DE\u05D7\u05D9\u05E7\u05D4",selectImage:"\u05D1\u05D7\u05D9\u05E8\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4"};var wR={delete:"Obri\u0161i",selectImage:"Odaberi sliku"};var _R={delete:"Hapus",selectImage:"Pilih Gambar"};var IR={delete:"Elimina",selectImage:"Seleziona immagine"};var RR={delete:"\u524A\u9664",selectImage:"\u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"};var LR={delete:"\uC0AD\uC81C",selectImage:"\uC774\uBBF8\uC9C0 \uC120\uD0DD"};var MR={delete:"Padam",selectImage:"Pilih Imej"};var AR={delete:"Slett",selectImage:"Velg bilde"};var NR={delete:"Verwijder",selectImage:"Selecteer afbeelding"};var OR={delete:"Usu\u0144",selectImage:"Wybierz obraz"};var FR={delete:"Apagar",selectImage:"Selecionar imagem"};var KR={delete:"Apagar",selectImage:"Selecionar Imagem"};var VR={delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",selectImage:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0438\u0437\u043E\u0431\u0440."};var BR={delete:"Zmaza\u0165",selectImage:"Vybra\u0165 obr\xE1zok"};var $R={delete:"Izbri\u0161i",selectImage:"Izberi sliko"};var HR={delete:"Radera",selectImage:"V\xE4lj bild"};var jR={delete:"\u0E25\u0E1A",selectImage:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E"};var GR={delete:"Sil",selectImage:"Resim Se\xE7"};var UR={delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",selectImage:"\u041E\u0431\u0440\u0430\u0442\u0438 \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"};var WR={delete:"\u5220\u9664",selectImage:"\u9009\u62E9\u56FE\u50CF"};var qR={delete:"\u522A\u9664",selectImage:"\u9078\u53D6\u5716\u50CF"};var XR={ar:bR,cs:gR,cy:hR,da:vR,de:xR,el:TR,en_GB:PR,en:CR,es:SR,fi:DR,fr_CA:kR,fr:zR,he:ER,hr:wR,id:_R,it:IR,ja:RR,ko:LR,ms:MR,nb_NO:AR,nl:NR,pl:OR,pt_PT:FR,pt:KR,ru:VR,sk:BR,sl:$R,sv:HR,th:jR,tr:GR,uk:UR,zh_Hans:WR,zh_Hant:qR};var ZR=Mo.forwardRef(({className:e,style:t,isInline:r=true,accept:o="image/*",defaultImageSrc:n,imageSrc:i,imageAlt:a,pickerButtonLabel:l,isDisabled:s,onDrop:u,onPaste:c,includeCheckeredBackground:d=true,"data-block-id":m,"data-block-class":p,pickerButtonStyle:y,pickerButtonClassName:b,footerClassName:f,footerStyle:h,clearLabel:v,placeholder:g,labelStyle:x,labelClassName:T,...P},S)=>{let E=Mo.useRef(null),D=Mo.useRef(null),{formatMessage:I}=ye(XR),[C,_]=be(i,n||null,he=>{ie(typeof he!="string"),P.onValueChange?.(he?[he]:[]);}),z=useMemo(()=>P3(C||void 0),[C]),{fieldProps:w,labelProps:O}=Jt({...P,ref:E}),{dropProps:k,isDropTarget:M}=Jo({ref:E,onDrop:async he=>{if(s)return;let Ae=await ch({items:he.items});Ae.length&&_(Ae[0]),u?.(he);},...P}),{clipboardProps:F}=fd({onPaste:async he=>{if(s)return;let Ae=await ch({items:he});Ae.length&&_(Ae[0]),c?.(he);},...P}),K=()=>{_(null),D.current&&(D.current.value="");},N={type:"file",onChange:he=>{let Ae=[...he.target.files];_(Ae[0]),P.onChange?.(he);},accept:o,disabled:s},{focusProps:$,isFocused:A,isFocusVisible:B}=ee({within:true}),{hoverProps:U,isHovered:oe}=re({isDisabled:s}),{imgProps:G,isLoading:W,isLoaded:ne}=em({src:z,alt:a||""}),Q={label:l||I("selectImage"),onPress:()=>E.current?.click(),variant:"secondary",isDisabled:s,excludeFromTabOrder:true,className:L(Xp({isFocusVisible:B}),{[QI]:M&&!s},b),style:y},de=ce({"data-loaded":ne,"data-block-id":m,"data-block-class":p,"data-hovered":oe,"data-focused":A,"data-drop-target":M,"data-disabled":s,"data-focus-visible":B});return jsxs(X,{...de,className:L("BaselineUI-ImageDropZone",e),display:"flex",flexDirection:"column",alignItems:"center",style:t,ref:S,children:[jsxs("label",{...R(k,U,$,O),className:L(Qm({isInline:r,isHovered:oe,isDisabled:s,hasLoadedImage:!!z&&ne,showFocusRing:M||!!z&&B}),T),style:x,ref:E,children:[jsx(Le,{children:jsx("input",{...R(w,F,N),ref:D})}),!z&&jsx(Ie,{...Q}),!!z&&(W?jsx(Qa,{}):jsx("img",{className:ef({isInline:r,isDisabled:s,hasLoadedImage:!!z&&ne&&d}),...G}))]}),g||v?jsx("div",{style:h,className:L(tf({isInline:r,isDisabled:s}),f),children:(z||!g)&&v?jsx(Ie,{size:"sm",variant:"ghost",label:v,isDisabled:s,onPress:K}):jsx(Ie,{size:"sm",variant:"ghost",label:g,isDisabled:true})}):null]})});ZR.displayName="ImageDropZone";function P3(e){return e instanceof File?URL.createObjectURL(e):e}var JR="_1vm2oh49 _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6g4",Gh="_1vm2oh48 _1yep5z6lo _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",QR=V({defaultClassName:"_1vm2oh40 mnnh5s1 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6lt _1yep5z6lr _1yep5z6ic _1yep5z6lu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6lp _1yep5z6id _1yep5z6ie _1yep5z6if",variantClassNames:{accent:{theme:"_1vm2oh41",positive:"_1vm2oh42"},isInline:{true:"mnnh5s2 _1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6137 _1yep5z6182 _1yep5z6184",false:"_1yep5z612h"},isFocusVisible:{true:"_1yep5z613j _1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"mnnh5s8 z9nup82 _1yep5z6zd"},isHovered:{true:"_1vm2oh47"}},defaultVariants:{},compoundVariants:[[{accent:"positive",isInline:true},"_1yep5z61oi"],[{accent:"theme",isInline:true},"_1yep5z61o7"],[{accent:"positive",isInline:false},"_1yep5z61ok"],[{accent:"theme",isInline:false},"_1yep5z61o9"],[{isFocusVisible:true,isInline:true},"_1yep5z61q3 _1yep5z61tx _1yep5z61tz _1yep5z61u0"],[{isHovered:true,isInline:true},"_1yep5z61u0 _1yep5z61q3 _1yep5z61tx _1yep5z61tz"],[{isHovered:true,isInline:false,accent:"positive"},"_1yep5z61oj"],[{isHovered:true,isInline:false,accent:"theme"},"_1yep5z61ob"],[{isHovered:true,isInline:true,accent:"theme"},"_1yep5z61o8"]]});var tL=Mo.forwardRef(({className:e,style:t,isDisabled:r,isInline:o=true,imageAlt:n,imageSrc:i,svgSrc:a,textValue:l,textStyle:s,onPress:u,onDelete:c,deleteAriaLabel:d,addAriaLabel:m,accent:p="positive","data-block-id":y,"data-block-class":b,...f},h)=>{let{focusProps:v,isFocused:g,isFocusVisible:x}=ee({within:true}),{isHovered:T,hoverProps:P}=re({isDisabled:r}),{pressProps:S}=Se({isDisabled:r,onPress:u});ie(i||a||l,"Preview must have content. You must provide either an `imageSrc`, `svgSrc`, or `textValue` prop.");let E=ce({"data-hovered":T,"data-focus-visible":x,"data-focused":g,"data-disabled":r});return jsxs("div",{...f,className:L(QR({isInline:o,isFocusVisible:x,isDisabled:r,isHovered:T,accent:p}),"BaselineUI-Preview",e),"data-block-id":y,"data-block-class":b,"aria-label":f["aria-label"]||n||l,style:t,ref:h,children:[typeof a=="string"?jsx("button",{disabled:r,...R(P,v,S,E),className:Gh,"aria-label":m,dangerouslySetInnerHTML:{__html:a}}):jsxs("button",{...R(P,v,S,E),disabled:r,style:s,"aria-label":m,className:Gh,children:[i?jsx("img",{src:i,alt:n,className:ef({isInline:o,isDisabled:r})}):null,!!a&&typeof a=="object"&&a,l]}),c?jsx(me,{isDisabled:r,className:JR,"aria-label":d,size:"xs",icon:TrashIcon,onPress:c}):null]})});tL.displayName="Preview";var rL="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e",oL=V({defaultClassName:"cw3m0n5 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),nL="cw3m0n4",iL="_1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6lk",aL=V({defaultClassName:"cw3m0n0 _1yep5z61j6 _1yep5z61j7 _1yep5z61j8 _1yep5z61ju _1yep5z61jv _1yep5z61jw _1yep5z61ki _1yep5z61kj _1yep5z61kk _1yep5z61l6 _1yep5z61l7 _1yep5z61l8 _1yep5z61nb _1yep5z61tg",variantClassNames:{isHovered:{true:"cw3m0n1"},isReadOnly:{true:"cw3m0n2"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isReadOnly:false},"cw3m0n3"]]});var k3=({label:e,description:t},{isSelected:r,isFocusVisible:o,isDisabled:n,optionLabelPosition:i,isHovered:a,isReadOnly:l})=>jsxs("div",{className:wm({labelPosition:i}),children:[jsx("div",{className:L(el({isSelected:r,isFocusVisible:o,isDisabled:n,isReadOnly:l,isHovered:a}),aL({isHovered:a})),children:r?jsx("div",{className:nL}):null}),e?jsxs("div",{className:rL,children:[jsx("span",{className:Em({isDisabled:n}),children:e}),t?jsx("span",{className:oL({isDisabled:n}),children:t}):null]}):null]}),lL=({state:e,renderOption:t=k3,item:r,optionLabelPosition:o="end",optionStyle:n,optionClassName:i,isReadOnly:a,...l})=>{let s=!!l.isDisabled||!!l.disabledValues?.includes(r.id),u=Mo.useRef(null),{inputProps:c,isPressed:d,isSelected:m}=gd({...l,isDisabled:s,children:r.label,value:r.id},e,u),{focusProps:p,isFocusVisible:y,isFocused:b}=ee(),{hoverProps:f,isHovered:h}=re({isDisabled:s},u),v=ce({"data-selected":m,"data-focused":b,"data-focus-visible":y,"data-hovered":h,"data-disabled":s,"data-pressed":d,"data-read-only":a});return jsxs("label",{...f,...v,style:n,className:L("BaselineUI-Radio-Item",i),children:[jsx(Le,{children:jsx("input",{...R(c,p),ref:u})}),t(r,{isFocusVisible:y,isSelected:m,isFocused:b,isHovered:h,isDisabled:s,optionLabelPosition:o,isReadOnly:a})]})};var uL=Mo.forwardRef(({className:e,style:t,optionsContainerClassName:r,optionsContainerStyle:o,items:n,labelPosition:i="top",renderOption:a,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,"aria-details":c,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=ge(y),f=Zd(p),{radioGroupProps:h,labelProps:v,descriptionProps:g,errorMessageProps:x}=hd({...p,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,"aria-details":c},f,b),T=or({...p,descriptionProps:g,errorMessageProps:x,labelPosition:i}),P=ce({"data-orientation":p.orientation,"data-block-id":d,"data-block-class":m,"data-disabled":p.isDisabled,"data-readonly":p.isReadOnly});return jsxs("div",{...R(h,P),className:L(sn({labelPosition:i}),"BaselineUI-RadioGroup",e),style:t,ref:b,children:[p.label||T?jsxs("div",{className:ln({labelPosition:i,hasMessage:!!T}),children:[jsx("span",{...v,className:L(Ka,"BaselineUI-RadioGroup-Label"),children:p.label}),i==="start"&&T]}):null,jsx("div",{className:L(iL,{[Ba]:p.isDisabled},r),style:o,children:n.map(S=>jsx(lL,{state:f,renderOption:a,item:S,...p,value:S.id},S.id))}),i==="top"&&T]})});uL.displayName="RadioGroup";var cL=({id:e,defaultMessage:t,elementType:r=Fragment$1})=>{ie(e||t,"`id` or `defaultMessage` is required.");let o=ye();return jsx(r,{children:o.formatMessage(e)||t})};cL.displayName="MessageFormat";var dL=Mo.forwardRef(({className:e,style:t,children:r,"data-block-id":o,"data-block-class":n,role:i="group",isDisabled:a,...l},s)=>{let{hoverProps:u,isHovered:c}=re({isDisabled:a});return jsx("div",{...u,role:i,"data-hovered":c,"data-disabled":a,"data-block-id":o,"data-block-class":n,className:e,style:t,...l,ref:s,children:r})});dL.displayName="Group";var Xh="UNSUPPORTED_IN_MENU";function mL(e){return useMemo(()=>Mo.Children.toArray(e).map(t=>{let r=t,o=uniqueId("item"),n=Lu(r,ko),i=pL(r),a,l;if(n){let h=Lu(n,zo);ie(h),a=pL(h),l=Lu(n,dt).props.children;}else i?a=i:a=r;let{onPress:s,label:u,"aria-label":c,iconStart:d,isDisabled:m,icon:p}=a.props,y=u||c||Xh;ie(typeof y=="string","ActionGroup children must have a string label");let b=`${o}-${y}`;return createElement(Mr,{...{key:b,onPress:s,textValue:y,"aria-label":c,icon:d||p,dialogContent:l,isDisabled:m},key:b},r)}),[e])}function Lu(e,t){return t?flatMapDeep(Mo.Children.toArray(e),o=>Mo.isValidElement(o)&&o.props.children?[o,...Mo.Children.toArray(o.props.children)]:[o]).find(o=>Mo.isValidElement(o)&&o.type===t):void 0}function pL(e){return Lu(e,Ie)||Lu(e,me)}var fL="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6ln _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6lf",yL={horizontal:"xvr3wn0",vertical:"xvr3wn1"};var N3=new Set(["text","search","password","tel","url"]);function of({props:e,ref:t}){let{toolbarProps:r}=AP(e,t),{direction:o}=J(),n=o==="rtl";return {toolbarProps:{...r,onKeyDownCapture:i=>{let a=i.target;if(O3(a)&&N3.has(a.type)){let l=a.selectionStart===0,s=a.selectionEnd===a.value.length;(l&&(n&&i.key==="ArrowRight"||!n&&i.key==="ArrowLeft")||s&&(n&&i.key==="ArrowLeft"||!n&&i.key==="ArrowRight"))&&r.onKeyDownCapture?.(i);return}r.onKeyDownCapture?.(i);}}}}function O3(e){return e.tagName.toLowerCase()==="input"}var Zh=Mo.forwardRef(({className:e,style:t,children:r,collapsibleMenuProps:o,"data-block-id":n,"data-block-class":i,renderSpacer:a,onKeyDown:l,isSingleTabStop:s=true,...u},c)=>{let{formatMessage:d}=ye(),[m,p]=useState(),y=mL(r),b=xt({...u,children:y}),f=ge(c),h=useRef(null),[{visibleItems:v,isMeasuring:g},x]=Cl({visibleItems:b.collection.size,isMeasuring:false}),T=useCallback(()=>{let z=w=>{if(h.current&&f.current){let O=[...h.current.children],k=f.current.getBoundingClientRect().width,M=w<b.collection.size,F=0,K=0;if(M){let N=O.pop();N&&(F+=hL(N,false,true));}for(let[N,$]of O.entries())if(F+=hL($,N===0,N===O.length-1),Math.round(F)<=Math.round(k))K++;else break;return K}return w};x(function*(){yield {visibleItems:b.collection.size,isMeasuring:true};let w=z(b.collection.size),O=w<b.collection.size&&w>0;yield {visibleItems:w,isMeasuring:O},O&&(yield {visibleItems:z(w),isMeasuring:false});});},[x,f,b.collection.size]),P=useMemo(()=>({get current(){return f.current?.parentElement}}),[f]);Br({ref:P,onResize:T}),ae(T,[b.collection,T]);let{toolbarProps:S}=of({props:{...u,isSingleTabStop:s},ref:f}),E=[...b.collection],D=E.slice(0,v),I=E.slice(v).filter(z=>z.textValue!==Xh),C=I.length>0;useEffect(()=>{p(void 0);},[I.length]),useEffect(()=>{u.orientation==="vertical"&&console.warn("Toolbar: Vertical orientation is not supported when `isCollapsible` is true.");},[u.orientation]);let{keyboardProps:_}=Ce({onKeyDown:l});return jsxs(zt,{children:[jsx("div",{...R(S,_),className:e,"data-block-id":n,"data-block-class":i,"data-collapse":true,style:{...t,flexBasis:g?"100%":void 0},ref:f,children:jsxs("div",{ref:h,className:fL,children:[D.map(z=>z.rendered),C?jsxs(Fragment,{children:[!g&&a?jsx(X,{flexGrow:1}):null,jsx(Pm,{placement:"bottom end",renderTrigger:({buttonProps:z,ref:w})=>jsx(me,{...z,size:"md",icon:MoreIcon,"aria-label":d(H3.more),variant:"toolbar",ref:w,tooltip:true}),...o,disabledKeys:I.filter(z=>z.props?.isDisabled).map(z=>z.key),items:I.map(z=>{let w=z.textValue||z["aria-label"];return ie(w,"ActionItem must have a label"),{id:z.key,label:w,icon:z.props.icon}}),onAction:z=>{let w=b.collection.getItem(z);ie(w,"Item not found");let{onPress:O,dialogContent:k}=w.props;O?.(),p(k);}})]}):null]})}),jsx(ro,{isOpen:!!m,onOpenChange:z=>{z||p(void 0);},children:jsx(oo,{enableDrawer:"auto",style:{zIndex:1e5},children:m?Mo.cloneElement(m,{inheritDrawer:true}):null})})]})});Zh.displayName="CollapsibleToolbar";function hL(e,t,r){let n=j(e).getComputedStyle(e);return e.getBoundingClientRect().width+(t?0:vL(n.marginLeft))+(r?0:vL(n.marginRight))}function vL(e){let t=Number.parseInt(e,10);return Number.isNaN(t)?0:t}var H3=Re({more:{id:"more",defaultMessage:"More"}});var Jh=Mo.forwardRef(({className:e,style:t,isSingleTabStop:r=true,"data-block-id":o,"data-block-class":n,"aria-controls":i,onKeyDown:a,...l},s)=>{let u=Mo.useRef(null),{toolbarProps:c}=of({props:{...l,isSingleTabStop:r},ref:u}),{keyboardProps:d}=Ce({onKeyDown:a});return jsx("div",{...R(c,d),...i?{"aria-controls":i}:{},className:L(yL[l.orientation||"horizontal"],"BaselineUI-Toolbar",e),style:t,"data-block-id":o,"data-block-class":n,ref:Z(s,u),children:l.children})});Jh.displayName="WrappedToolbar";var nf=Mo.forwardRef((e,t)=>{let r=e.isCollapsible?Zh:Jh;return jsx(r,{...e,ref:t})});nf.displayName="Toolbar";var TL=V({defaultClassName:"_1j5skr71",variantClassNames:{size:{xxs:"_1j5skr72",xs:"_1j5skr73",sm:"_1j5skr74",md:"_1j5skr75",lg:"_1j5skr76"}},defaultVariants:{},compoundVariants:[]}),PL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6g1 _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7g"},isFocusVisible:{true:"_1j5skr7h"},isDisabled:{true:"z9nup82 _1yep5z611a"},isSelected:{true:"_1j5skr7j"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:true},"_1yep5z61u0 _1yep5z61tz _1yep5z61tx _1yep5z61qd _1yep5z61nd"],[{isSelected:false,isHovered:true,isDisabled:false},"_1yep5z6g3"],[{isSelected:false,isFocusVisible:true,isDisabled:false},"_1yep5z61u0 _1yep5z61tz _1yep5z61q3 _1yep5z61tx"],[{isSelected:true,isFocusVisible:true,isDisabled:false},"_1j5skr7k _1yep5z61ty _1yep5z61tx _1yep5z61q4 _1yep5z61ne"],[{isSelected:true,isFocusVisible:false,isDisabled:false},"_1yep5z61tx _1yep5z61tz _1yep5z61q3 _1yep5z61u0"]]}),CL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7m"},isFocusVisible:{true:"_1yep5z617x _1yep5z617w _1yep5z6140 _1yep5z617u"},isSelected:{true:"_1yep5z6119"},isDisabled:{true:"z9nup82 _1yep5z611a"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isHovered:true},"_1yep5z61nc"]]}),SL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7r"},isFocusVisible:{true:"_1yep5z617x _1yep5z617w _1yep5z6140 _1yep5z617u"},isSelected:{true:"_1j5skr7t"},isDisabled:{true:"z9nup82 _1yep5z611a"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isHovered:true},"_1yep5z61o9"],[{isSelected:true,isDisabled:false},"_1yep5z61o9 _1yep5z61ng"],[{isSelected:true,isDisabled:true},"_1yep5z61o9 _1yep5z61nd"]]}),DL=V({defaultClassName:"_1j5skr77 _1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr78"},isFocusVisible:{true:"_1j5skr79"},isSelected:{true:"_1j5skr7a"},isDisabled:{true:"_1j5skr7b z9nup82 _1yep5z611c"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false},"_1j5skr7c _1yep5z61nf"],[{isSelected:false,isDisabled:true},"_1j5skr7d _1yep5z61nd"],[{isSelected:false,isHovered:true},"_1yep5z61o9"],[{isSelected:false,isFocusVisible:true},"_1yep5z61u0 _1yep5z61tz _1yep5z61q3 _1yep5z61tx"],[{isSelected:true,isFocusVisible:true},"_1j5skr7e _1yep5z61ty _1yep5z61tx _1yep5z61q4"]]});var X3={xxs:8,xs:12,sm:16,md:20,lg:24},fr=Mo.forwardRef((e,t)=>{let r=ge(t),{tooltipProps:o}=Up(e,r);return o?jsx(Be,{...o,children:jsx(Qh,{...e,ref:t})}):jsx(Qh,{...e,ref:t})});fr.displayName="ToggleIconButton";var Qh=Mo.forwardRef(({className:e,style:t,icon:r,size:o="md",variant:n="primary","data-block-id":i,"data-block-class":a,...l},s)=>{let u=Pr(l),{buttonProps:c,isPressed:d,ref:m,isFocusVisible:p,isFocused:y,isHovered:b,uiStateOptions:f}=qp(l,u),h=useMemo(()=>typeof r=="function"?r:u.isSelected?r.selected:r.unselected,[r,u.isSelected]),v={isSelected:u.isSelected,isHovered:b,isFocusVisible:p,isDisabled:!!l.isDisabled},g=ce({"data-hovered":b,"data-selected":u.isSelected,"data-focus-visible":p,"data-disabled":l.isDisabled,"data-block-id":i,"data-block-class":a,"data-focused":y,"data-pressed":d});return jsx("button",{...R(c,g),className:L(n==="toolbar"&&DL(v),n==="primary"&&PL(v),n==="secondary"&&CL(v),n==="tertiary"&&SL(v),TL({size:o}),"BaselineUI-ToggleIconButton",typeof e=="function"?e(f):e),style:typeof t=="function"?t(f):t,ref:Z(m,s),children:jsx(h,{size:X3[o]})})});Qh.displayName="ToggleIconButtonCore";var zL="f6jv6bl",EL="_1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z6js _1yep5z6jt _1yep5z6ju",ml="_1yep5z689 _1yep5z68a _1yep5z68b _1yep5z65x _1yep5z65y _1yep5z65z",wL=V({defaultClassName:"f6jv6b0 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6g1",variantClassNames:{isInline:{true:"f6jv6b1"},isMinimal:{true:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z6vo _1yep5z6vp _1yep5z6vq _1yep5z615m _1yep5z615n _1yep5z615o",false:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[[{isInline:true,isMinimal:false},"_1yep5z61ir _1yep5z61is _1yep5z61it _1yep5z61jf _1yep5z61jg _1yep5z61jh _1yep5z61k3 _1yep5z61k4 _1yep5z61k5 _1yep5z61kr _1yep5z61ks _1yep5z61kt _1yep5z61u7 _1yep5z61u5 _1yep5z61pa"]]}),af=V({defaultClassName:"f6jv6b4 _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6e3 _1yep5z6eu _1yep5z6lq",variantClassNames:{isDisabled:{true:"f6jv6b5 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),_L="f6jv6bi _1yep5z6wr _1yep5z6ws _1yep5z6wt _1yep5z6xf _1yep5z6xg _1yep5z6xh _1yep5z6y3 _1yep5z6y4 _1yep5z6y5 _1yep5z6yr _1yep5z6ys _1yep5z6yt",IL="f6jv6bj";var RL="f6jv6bm _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6ly _1yep5z6lt _1yep5z6lr _1yep5z6hx _1yep5z6eu",LL=V({defaultClassName:"f6jv6bf _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6lq _1yep5z6la _1yep5z6ld _1yep5z6lp",variantClassNames:{isHovered:{true:"_1yep5z6126"},isDisabled:{true:"_1yep5z6zd"}},defaultVariants:{},compoundVariants:[]}),ML="_1yep5z6jy _1yep5z6jz _1yep5z6k0",AL="f6jv6be f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6ip _1yep5z6iq _1yep5z6ir _1yep5z6eu _1yep5z6e3 _1yep5z6ln",NL=V({defaultClassName:"f6jv6bb _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",variantClassNames:{isInline:{true:"_1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6184 _1yep5z6182 _1yep5z6137",false:"_1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8"}},defaultVariants:{},compoundVariants:[]}),OL="f6jv6bk",FL="f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6ip _1yep5z6iq _1yep5z6ir _1yep5z6eu",lf=V({defaultClassName:"f6jv6b6",variantClassNames:{isInline:{true:"f6jv6b7",false:"f6jv6b8"}},defaultVariants:{},compoundVariants:[]}),sf="f6jv6b9 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl",Au="f6jv6bn";var VL=[["Toolbar Focus","Alt+F10"],["Bold","Ctrl+B"],["Italic","Ctrl+I"],["Underline","Ctrl+U"],["Select All","Ctrl+A"],["Cut","Ctrl+X"],["Copy","Ctrl+C"],["Paste","Ctrl+V"],["Undo","Ctrl+Z"],["Redo","Ctrl+Shift+Z"],["Submit","Ctrl+Enter"],["Open Help Dialog","Ctrl+Shift+H"]],{dialog:{row:Nu}}=layoutSprinkleValues,BL=({isOpen:e,onClose:t})=>{let{formatMessage:r}=ye(),o=Y();return jsx(ro,{isOpen:e,onOpenChange:n=>{n||t();},children:jsx(oo,{enableDrawer:"auto",style:{zIndex:999999},children:jsxs(nr,{"aria-labelledby":o,className:_L,drawerBackground:"subtle",children:[jsxs(X,{paddingLeft:Nu.padding.horizontal.lg,paddingRight:Nu.padding.horizontal.sm,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",backgroundColor:"background.primary.subtle",className:IL,children:[jsx(Ze,{id:o,elementType:"h3",type:"title",size:"md",children:r(Ou.help)}),jsx(me,{icon:XIcon,size:"md",variant:"secondary","aria-label":r(Ou.close),onPress:t})]}),jsx(De,{className:OL}),jsxs(X,{paddingX:Nu.padding.horizontal.lg,role:"table","aria-labelledby":o,backgroundColor:"background.primary.subtle",children:[jsx("div",{role:"rowgroup",children:jsxs(X,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:Nu.padding.vertical.md,color:"text.primary",children:[jsx("h6",{className:sprinkles({typography:"heading.h6.semibold"}),role:"columnheader",children:r(Ou.action)}),jsx("h6",{className:sprinkles({typography:"heading.h6.semibold"}),role:"columnheader",style:{textTransform:"capitalize"},children:r(Ou.shortcut)})]})}),jsx("div",{role:"rowgroup",children:VL.map(([n,i],a)=>jsxs(Fragment$1,{children:[jsxs(X,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:Nu.padding.vertical.xs,style:{minHeight:40},children:[jsx(Ze,{type:"subtitle",size:"sm",role:"cell",children:r(Ou[camelCase(n)])}),jsx(Ze,{elementType:"kbd",type:"subtitle",size:"sm",role:"cell",children:D1(i,true)})]}),a!==VL.length-1&&jsx(De,{})]},n))})]})]})})})},Ou=Re({toolbarFocus:{id:"toolbarFocus",defaultMessage:"Toolbar Focus"},help:{id:"help",defaultMessage:"Help"},close:{id:"close",defaultMessage:"Close"},action:{id:"action",defaultMessage:"Action"},shortcut:{id:"shortcut",defaultMessage:"Shortcut"},bold:{id:"bold",defaultMessage:"Bold"},italic:{id:"italic",defaultMessage:"Italic"},underline:{id:"underline",defaultMessage:"Underline"},selectAll:{id:"selectAll",defaultMessage:"Select All"},cut:{id:"cut",defaultMessage:"Cut"},copy:{id:"copy",defaultMessage:"Copy"},paste:{id:"paste",defaultMessage:"Paste"},undo:{id:"undo",defaultMessage:"Undo"},redo:{id:"redo",defaultMessage:"Redo"},openHelpDialog:{id:"openHelpDialog",defaultMessage:"Open Help Dialog"},submit:{id:"submit",defaultMessage:"Submit"}});var uf=Mo.forwardRef(({value:e,defaultValue:t,onChange:r,placeholder:o,spellCheck:n,textBoxRef:i,isInline:a,isMinimal:l,isDisabled:s,editableContentAriaLabel:u,editorHandle:c,autoFocus:d,saveOnEnter:m,onSave:p},y)=>{let b=Mo.useRef(null),[f,h]=be(e,t||"",r),v=useCallback(C=>{h(C.currentTarget.value||"");},[h]),g=useCallback(C=>{(m&&C.key==="Enter"&&!C.shiftKey||(C.ctrlKey||C.metaKey)&&C.key==="Enter")&&(C.preventDefault(),p());},[m,p]);useImperativeHandle(y,()=>({clear:()=>{h("");}}));let x=useCallback(C=>{C.currentTarget.style.height="16px",C.currentTarget.style.height=C.currentTarget.scrollHeight+"px";},[]);useGranularLayoutEffect(()=>{let C=b.current;C&&(C.style.height="16px",C.style.height=C.scrollHeight+"px");},[l],[f]),useImperativeHandle(c,()=>({setCaretPosition:C=>{b.current&&(b.current.focus(),b.current.setSelectionRange(C,C));},focus:()=>{b.current&&b.current.focus();}}));let{focusProps:T,isFocused:P,isFocusVisible:S}=ee(),{hoverProps:E,isHovered:D}=re({}),I=ce({"data-focus-visible":S,"data-hovered":D,"data-focused":P});return jsx("textarea",{...R(T,E,I),ref:Z(b,i),className:L({[af()]:!l,[lf({isInline:a})]:!l,[FL]:!l,[AL]:l},"BaselineUI-Editor-PlainEditorEditingArea"),autoFocus:d,onChange:v,disabled:s,onInput:x,value:f,placeholder:o,spellCheck:n,"aria-label":u,onKeyDown:g})});uf.displayName="PlainEditor";var Vu="mention",cf="mention_input",QL=Mo.forwardRef(({onCancel:e,editor:t,element:r,onSelectionChange:o},n)=>{let{containerRef:i,items:a,maxMentionableUsersSuggestions:l}=useContext(pf),s=useSelected(),[u,c]=useState(""),{contains:d}=mo({sensitivity:"base"}),{formatMessage:m}=ye(),p=useMemo(()=>{let w=a.filter(O=>{let k=O.displayName?.trim()||O.name?.trim()||O.id;return u===""||d(k,u)}).map(O=>({id:O.id,label:O.displayName?.trim()||O.name?.trim()||O.id,data:O}));return l?take(w,l):w},[a,l,u,d]),y=useCallback(w=>jsx(Mr,{textValue:w.label,children:w.label},w.id),[]),b=useCallback((w=false)=>{let O=findNodePath(t,r);O&&(removeNodes(t,{at:O}),w&&focusEditor(t));},[t,r]),f=xa({items:p,children:y,menuTrigger:"focus",onSelectionChange:w=>{b(true),o?.(w);}}),h=Mo.useRef(null),v=Mo.useRef(null),g=Mo.useRef(null),x=Mo.useRef(null),T=useHTMLInputCursorState(v);Gr({ref:x,onInteractOutside:()=>{f.close();}});let{inputProps:P,listBoxProps:S}=Gi({defaultItems:p,inputRef:v,buttonRef:h,listBoxRef:g,popoverRef:x,menuTrigger:"focus","aria-label":m(f4.mention)},f);useEffect(()=>{setTimeout(()=>{v.current?.focus();});},[]);let E=useCallback((w="manual",O=false)=>{b(O),e?.(w,f.inputValue);},[e,b,f.inputValue]),D=useRef(s);useEffect(()=>{D.current&&!s&&E("deselect"),D.current=s;},[s,E]);let I=T?.atStart??false,C=T?.atEnd??false,_=useCallback(w=>{w.key==="Backspace"&&I?E("backspace",true):w.key==="Escape"?E("escape",true):w.key==="ArrowLeft"&&I?E("arrowLeft",true):w.key==="ArrowRight"&&C&&E("arrowRight",true);let O=Hotkeys.isUndo(w)&&t.history.undos.length>0,k=Hotkeys.isRedo(w)&&t.history.redos.length>0;(O||k)&&(w.preventDefault(),t[O?"undo":"redo"](),focusEditor(t));},[I,C,E,t]),z=useMemo(()=>{if(!CSS.supports("field-sizing","content")){let w=j(v.current),O=v.current?w?.getComputedStyle(v.current).font:void 0;return {width:O?zp({text:f.inputValue,font:O}).width+10:"4ch"}}},[f.inputValue]);return jsxs(Ig.Provider,{value:f,children:[jsx("input",{...R(P,{onKeyDown:_,onBlur:()=>{E("blur",true);},onChange:w=>{c(w.target.value);}}),style:z,className:RL,ref:Z(n,v)}),jsx(dt,{triggerRef:i,isNonModal:true,ref:x,state:f,crossOffset:-2,children:jsx(to,{...S,items:void 0,ref:g,className:L(dn,sprinkles({width:"full"})),renderOption:tM})})]})});QL.displayName="MentionInputContentElement";var nv=withRef(({className:e,...t},r)=>{let{children:o,editor:n,element:i}=t,{items:a}=useContext(pf),l=useRef(null),[s,u]=useState(null);useEffect(()=>{let m=findNodePath(n,i);if(!m)return;let p=getPointBefore(n,m);if(!p)return;let y=createPointRef(n,p);return u(y),()=>{y.unref();}},[n,i]);let c=useCallback(()=>{let m=j(l.current),p=l.current?.getRootNode()instanceof m.ShadowRoot;moveSelection(n,{unit:"offset"}),moveSelection(n,{unit:"character",distance:1}),Dn()&&p&&focusEditor(n);},[n]),d=useCallback(m=>{if(!m)return;let p=l.current?.getRootNode()instanceof ShadowRoot,y=a.find(f=>f.id===m);ie(y,"User not found");let b={type:Vu,value:y.id,displayName:y.displayName,children:[{text:""}]};insertNodes(n,[b,{text:" "}]),p?setTimeout(()=>{c();},0):c();},[n,a,c]);return jsxs(PlateElement,{as:"span","data-slate-value":i.value,contentEditable:false,className:e,ref:r,...t,children:[jsx(QL,{onCancel:(m,p)=>{m!=="backspace"&&insertText(n,"@"+p,{at:s?.current??void 0}),(m==="arrowLeft"||m==="arrowRight")&&moveSelection(n,{distance:1,reverse:m==="arrowLeft"});},onSelectionChange:d,ref:l,element:i,editor:n}),o]})});nv.displayName="MentionInputElement";var iv=withRef(({className:e,onClick:t,children:r,...o},n)=>{let i=useElement();return jsxs(PlateElement,{as:"span",className:e,contentEditable:false,"data-user-id":i.value,onClick:getHandler(t,i),ref:n,...o,children:["@",i.displayName,r]})});iv.displayName="MentionElement";var eM=(e,{options:{trigger:t,triggerPreviousCharPattern:r,triggerQuery:o}})=>{let{insertText:n}=e,i=a=>a===t;return e.insertText=a=>{if(!e.selection||!i(a)||o&&!o(e)){n(a);return}let l=getEditorString(e,getRange(e,e.selection,getPointBefore(e,e.selection)));if(r?.test(l)){df(e);return}n(a);},e},f4=Re({mention:{defaultMessage:"Mention",id:"mention"}});function oM({className:e,children:t,...r}){return jsx(PlateElement,{asChild:true,className:e,...r,children:jsx("p",{children:t})})}function w4(e){return Object.entries(e).map(([t,r])=>`${kebabCase(t)}:${r}`).filter(([,t])=>!!t).join(";")}function _4(e){return "text"in e}function I4(e){return e.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">").replaceAll('"',""").replaceAll("'","'")}function Bu(e){if(!e)return "";function t(r){if(_4(r)){let n=I4(r.text);return r.bold&&(n=`<b>${n}</b>`),r.italic&&(n=`<i>${n}</i>`),r.underline&&(n=`<u>${n}</u>`),(r.color||r.backgroundColor)&&(n=`<span style="${w4(ce({color:r.color||void 0,backgroundColor:r.backgroundColor||void 0}))}">${n}</span>`),n}let o=r.children?.map(n=>Bu(n)).join("");switch(r.type){case ELEMENT_PARAGRAPH:return `<p>${o}</p>`;case ELEMENT_LINK:return `<a href="${r.url}">${o}</a>`;case Vu:return `<span data-user-id="${r.value}">${r.displayName}</span>`;default:return o}}return Array.isArray(e)?e.map(r=>t(r)).join(""):t(e)}function R4(e){return e?(e=e.trim(),e.endsWith(";")&&(e=e.slice(0,-1)),Object.fromEntries(e.split(";").map(t=>t.split(":").map(r=>r.trim())).map(([t,r])=>[camelCase(t),r]))):{}}function cv(e){e.startsWith("<p>")||(e=`<p>${e}</p>`);let t=new DOMParser().parseFromString(Q$.default.sanitize(e),"text/html"),r=t.querySelectorAll("[style]");for(let n of r)n.style.textDecoration==="underline"&&(n.style.textDecoration="",n.style.cssText||n.removeAttribute("style"),n.hasAttributes()?n.innerHTML=`<u>${n.innerHTML}</u>`:n.outerHTML=`<u>${n.innerHTML}</u>`);let o=t.querySelectorAll("br");for(let n of o)n.outerHTML=n.closest("p")?`
|
|
24
|
+
`);e.items.add(l,i);}else e.items.add(a[0],i);if(o){let i=JSON.stringify(n);e.items.add(i,Ss);}}var Wn=class{types;includesUnknownTypes;constructor(t){this.types=new Set;let r=false;for(let o of t.items)o.type!==Ss&&(o.kind==="file"&&(r=true),o.type?this.types.add(o.type):this.types.add(Ds));this.includesUnknownTypes=!r&&t.types.includes("Files");}has(t){return this.includesUnknownTypes||t===od&&this.types.has(Ds)?true:typeof t=="string"&&this.types.has(t)}};function nd(e){let t=[];if(!e)return t;let r=false;if(e.types.includes(Ss))try{let o=e.getData(Ss),n=JSON.parse(o);for(let i of n)t.push({kind:"text",types:new Set(Object.keys(i)),getText:a=>Promise.resolve(i[a])});r=!0;}catch{}if(!r){let o=new Map;for(let n of e.items)if(n.kind==="string")o.set(n.type||Ds,e.getData(n.type));else if(n.kind==="file")if(typeof n.webkitGetAsEntry=="function"){let i=n.webkitGetAsEntry();if(!i)continue;i.isFile?t.push(Cb(n.getAsFile())):i.isDirectory&&t.push(yC(i));}else t.push(Cb(n.getAsFile()));o.size>0&&t.push({kind:"text",types:new Set(o.keys()),getText:n=>Promise.resolve(o.get(n))});}return t}function vK(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let o=new FileReader;o.onload=()=>{t(o.result);},o.onerror=r,o.readAsText(e);})}function Cb(e){if(!e)throw new Error("No file provided");return {kind:"file",type:e.type||Ds,name:e.name,getText:()=>vK(e),getFile:()=>Promise.resolve(e)}}function yC(e){return {kind:"directory",name:e.name,getEntries:()=>xK(e)}}async function*xK(e){let t=e.createReader(),r;do{r=await new Promise((o,n)=>{t.readEntries(o,n);});for(let o of r)if(o.isFile){let n=await TK(o);yield Cb(n);}else o.isDirectory&&(yield yC(o));}while(r.length>0)}function TK(e){return new Promise((t,r)=>e.file(t,r))}var Je={draggingKeys:new Set};function bC(e){Je.draggingCollectionRef=e;}function gC(e){Je.draggingKeys=e;}function qn(e){Je.dropCollectionRef=e;}function id(){Je={draggingKeys:new Set};}function hC(e){Je=e;}function dr(e){let{draggingCollectionRef:t,dropCollectionRef:r}=Je;return t?.current!=null&&t.current===(e?.current||r?.current)}var zs;function ta(e){zs=e;}var ad=0;function ld(e){ad=e;}var Db=new Map,Es=new Map,Or=null,sd=new Set;function ud(e){return Db.set(e.element,e),Or?.updateValidDropTargets(),()=>{Db.delete(e.element),Or?.updateValidDropTargets();}}function xC(e){return Es.set(e.element,e),()=>{Es.delete(e.element);}}function TC(e,t){if(Or)throw new Error("Cannot begin dragging while already dragging");Or=new kb(e,t),requestAnimationFrame(()=>{Or&&(Or.setup(),Sb()==="keyboard"&&Or.next());});for(let r of sd)r();}function ra(){let[e,t]=useState(Or);return useEffect(()=>{let r=()=>t(Or);return sd.add(r),()=>{sd.delete(r);}},[]),e}function zb(){return !!Or}function SK(){Or=null;for(let e of sd)e();}var vC=["pointerdown","pointermove","pointerenter","pointerleave","pointerover","pointerout","pointerup","mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","touchstart","touchmove","touchend","focusin","focusout"],DK=["pointerup","mouseup","touchend"],kK={keyboard:"dragStartedKeyboard",touch:"dragStartedTouch",virtual:"dragStartedVirtual"},kb=class{dragTarget;validDropTargets=[];currentDropTarget=null;currentDropItem=null;dropOperation=null;mutationObserver=null;restoreAriaHidden=null;stringFormatter;isVirtualClick=false;initialFocused;constructor(t,r){this.dragTarget=t,this.stringFormatter=r,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onClick=this.onClick.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.cancelEvent=this.cancelEvent.bind(this),this.initialFocused=false;}setup(){let t=j(this.dragTarget.element),r=t.document;r.addEventListener("keydown",this.onKeyDown,true),r.addEventListener("keyup",this.onKeyUp,true),t.addEventListener("focus",this.onFocus,true),t.addEventListener("blur",this.onBlur,true),r.addEventListener("click",this.onClick,true),r.addEventListener("pointerdown",this.onPointerDown,true);for(let o of vC)r.addEventListener(o,this.cancelEvent,true);this.mutationObserver=new MutationObserver(()=>this.updateValidDropTargets()),this.updateValidDropTargets(),st(this.stringFormatter.format(kK[Sb()]));}teardown(){let t=j(this.dragTarget.element),r=t.document;r.removeEventListener("keydown",this.onKeyDown,true),r.removeEventListener("keyup",this.onKeyUp,true),t.removeEventListener("focus",this.onFocus,true),t.removeEventListener("blur",this.onBlur,true),r.removeEventListener("click",this.onClick,true),r.removeEventListener("pointerdown",this.onPointerDown,true);for(let o of vC)r.removeEventListener(o,this.cancelEvent,true);this.mutationObserver?.disconnect(),this.restoreAriaHidden?.();}onKeyDown(t){if(this.cancelEvent(t),t.key==="Escape"){this.cancel();return}t.key==="Tab"&&!(t.metaKey||t.altKey||t.ctrlKey)&&(t.shiftKey?this.previous():this.next()),typeof this.currentDropTarget?.onKeyDown=="function"&&this.currentDropTarget.onKeyDown(t,this.dragTarget);}onKeyUp(t){this.cancelEvent(t);let r=te(t);t.key==="Enter"&&(t.altKey||se(this.getCurrentActivateButton(),r)?this.activate(this.currentDropTarget,this.currentDropItem):this.drop());}getCurrentActivateButton(){return this.currentDropItem?.activateButtonRef?.current??this.currentDropTarget?.activateButtonRef?.current??null}onFocus(t){let r=te(t),o=this.getCurrentActivateButton();if(r===o){this.cancelEvent(t);return}r!==this.dragTarget.element&&this.cancelEvent(t);let n=j(this.dragTarget.element);if(!(r instanceof n.HTMLElement)||r===this.dragTarget.element)return;let i=this.validDropTargets.find(l=>l.element===l)||this.validDropTargets.find(l=>se(l.element,l));if(!i){this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus();return}let a=Es.get(r);i&&this.setCurrentDropTarget(i,a);}onBlur(t){let r=this.getCurrentActivateButton();if(t.relatedTarget===r){this.cancelEvent(t);return}te(t)!==this.dragTarget.element&&this.cancelEvent(t);let n=j(this.dragTarget.element);(!t.relatedTarget||!(t.relatedTarget instanceof n.HTMLElement))&&(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus());}onClick(t){if(this.cancelEvent(t),$r(t)||this.isVirtualClick){let r=te(t),n=[...Es.values()].find(l=>l.element===r||se(l.element,r)),i=this.validDropTargets.find(l=>se(l.element,l)),a=n?.activateButtonRef?.current??i?.activateButtonRef?.current;if(se(a,r)&&i){this.activate(i,n);return}if(r===this.dragTarget.element){this.cancel();return}i&&(this.setCurrentDropTarget(i,n),this.drop(n));}}onPointerDown(t){this.cancelEvent(t),this.isVirtualClick=En(t);}cancelEvent(t){let r=te(t);(t.type==="focusin"||t.type==="focusout")&&(r===this.dragTarget?.element||r===this.getCurrentActivateButton())||(DK.includes(t.type)||t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation());}updateValidDropTargets(){if(!this.mutationObserver)return;if(this.mutationObserver.disconnect(),this.restoreAriaHidden&&this.restoreAriaHidden(),this.validDropTargets=zK(this.dragTarget),this.validDropTargets.length>0){let n=this.findNearestDropTarget();this.validDropTargets=[...this.validDropTargets.slice(n),...this.validDropTargets.slice(0,n)];}this.currentDropTarget&&!this.validDropTargets.includes(this.currentDropTarget)&&this.setCurrentDropTarget(this.validDropTargets[0]);let t=qr(this.dragTarget.items),r=[...Es.values()].filter(n=>typeof n.getDropOperation=="function"?n.getDropOperation(t,this.dragTarget.allowedDropOperations)!=="cancel":true),o=this.validDropTargets.filter(n=>!r.some(i=>n.element.contains(i.element)));this.restoreAriaHidden=go([this.dragTarget.element,...r.flatMap(n=>n.activateButtonRef?.current?[n.element,n.activateButtonRef?.current]:[n.element]),...o.flatMap(n=>n.activateButtonRef?.current?[n.element,n.activateButtonRef?.current]:[n.element])],{shouldUseInert:false}),this.mutationObserver.observe(document.body,{subtree:true,attributes:true,attributeFilter:["aria-hidden","inert"]});}next(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[0]);return}let t=this.validDropTargets.indexOf(this.currentDropTarget);if(t<0){this.setCurrentDropTarget(this.validDropTargets[0]);return}t===this.validDropTargets.length-1?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[0]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[t+1]);}previous(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}let t=this.validDropTargets.indexOf(this.currentDropTarget);if(t<0){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}t===0?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[t-1]);}findNearestDropTarget(){let t=this.dragTarget.element.getBoundingClientRect(),r=1/0,o=-1;for(let n=0;n<this.validDropTargets.length;n++){let a=this.validDropTargets[n].element.getBoundingClientRect(),l=a.left-t.left,s=a.top-t.top,u=l*l+s*s;u<r&&(r=u,o=n);}return o}setCurrentDropTarget(t,r){if(t!==this.currentDropTarget){if(this.currentDropTarget&&typeof this.currentDropTarget.onDropExit=="function"){let o=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDropExit({type:"dropexit",x:o.left+o.width/2,y:o.top+o.height/2});}if(this.currentDropTarget=t,t){if(typeof t.onDropEnter=="function"){let o=t.element.getBoundingClientRect();t.onDropEnter({type:"dropenter",x:o.left+o.width/2,y:o.top+o.height/2},this.dragTarget);}r||t?.element.focus();}}if(r!=null&&r!==this.currentDropItem&&(this.currentDropTarget&&typeof this.currentDropTarget.onDropTargetEnter=="function"&&this.currentDropTarget.onDropTargetEnter(r.target),r.element.focus(),this.currentDropItem=r,!this.initialFocused)){let o=r?.element.getAttribute("aria-label");o&&st(o,"polite"),this.initialFocused=true;}}end(){if(this.teardown(),SK(),typeof this.dragTarget.onDragEnd=="function"){let o=(this.currentDropTarget&&this.dropOperation!=="cancel"?this.currentDropTarget:this.dragTarget).element.getBoundingClientRect();this.dragTarget.onDragEnd({type:"dragend",x:o.x+o.width/2,y:o.y+o.height/2,dropOperation:this.dropOperation||"cancel"});}let t=H(this.dragTarget.element);this.currentDropTarget&&!this.currentDropTarget.preventFocusOnDrop&&pe(t)?.dispatchEvent(new FocusEvent("focusin",{bubbles:true})),this.setCurrentDropTarget(null);}cancel(){this.setCurrentDropTarget(null),this.end(),this.dragTarget.element.closest('[aria-hidden="true"], [inert]')||this.dragTarget.element.focus(),st(this.stringFormatter.format("dropCanceled"));}drop(t){if(!this.currentDropTarget){this.cancel();return}if(typeof t?.getDropOperation=="function"){let r=qr(this.dragTarget.items);this.dropOperation=t.getDropOperation(r,this.dragTarget.allowedDropOperations);}else if(typeof this.currentDropTarget.getDropOperation=="function"){let r=qr(this.dragTarget.items);this.dropOperation=this.currentDropTarget.getDropOperation(r,this.dragTarget.allowedDropOperations);}else this.dropOperation=this.dragTarget.allowedDropOperations[0];if(typeof this.currentDropTarget.onDrop=="function"){let r=this.dragTarget.items.map(n=>({kind:"text",types:new Set(Object.keys(n)),getText:i=>Promise.resolve(n[i])})),o=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDrop({type:"drop",x:o.left+o.width/2,y:o.top+o.height/2,items:r,dropOperation:this.dropOperation},t?.target??null);}this.end(),st(this.stringFormatter.format("dropComplete"));}activate(t,r){if(t&&typeof t.onDropActivate=="function"){let o=r?.target??null,n=t.element.getBoundingClientRect();t.onDropActivate({type:"dropactivate",x:n.left+n.width/2,y:n.top+n.height/2},o);}}};function zK(e){let t=qr(e.items);return [...Db.values()].filter(r=>r.element.closest('[aria-hidden="true"], [inert]')?false:typeof r.getDropOperation=="function"?r.getDropOperation(t,e.allowedDropOperations)!=="cancel":true)}var Zo={"ar-AE":{dragDescriptionKeyboard:"\u0627\u0636\u063A\u0637 Enter \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionKeyboardAlt:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + Enter \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionLongPress:"\u0627\u0636\u063A\u0637 \u0628\u0627\u0633\u062A\u0645\u0631\u0627\u0631 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionTouch:"\u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragDescriptionVirtual:"\u0627\u0646\u0642\u0631 \u0644\u0628\u062F\u0621 \u0627\u0644\u0633\u062D\u0628.",dragItem:e=>`\u0627\u0633\u062D\u0628 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u0627\u0633\u062D\u0628 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`,other:()=>`${t.number(e.count)} \u0639\u0646\u0627\u0635\u0631 \u0645\u062D\u062F\u062F\u0629`})}`,dragSelectedKeyboard:(e,t)=>`\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Enter \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D\u064A Alt + Enter \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragSelectedLongPress:(e,t)=>`\u0627\u0636\u063A\u0637 \u0628\u0627\u0633\u062A\u0645\u0631\u0627\u0631 \u0644\u0644\u0633\u062D\u0628 ${t.plural(e.count,{one:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629",other:"\u0639\u062F\u062F \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062E\u062A\u0627\u0631\u0629"})}.`,dragStartedKeyboard:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 Tab \u0644\u0644\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0645\u0648\u0636\u0639 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u0623\u0648 \u0627\u0636\u063A\u0637 Escape \u0644\u0644\u0625\u0644\u063A\u0627\u0621.",dragStartedTouch:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u062A\u0642\u0644 \u0625\u0644\u0649 \u0645\u0648\u0636\u0639 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dragStartedVirtual:"\u0628\u062F\u0623 \u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u062A\u0642\u0644 \u0625\u0644\u0649 \u0645\u0643\u0627\u0646 \u0627\u0644\u0625\u0641\u0644\u0627\u062A\u060C \u062B\u0645 \u0627\u0646\u0642\u0631 \u0623\u0648 \u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropCanceled:"\u062A\u0645 \u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0625\u0641\u0644\u0627\u062A.",dropComplete:"\u0627\u0643\u062A\u0645\u0644 \u0627\u0644\u0625\u0641\u0644\u0627\u062A.",dropDescriptionKeyboard:"\u0627\u0636\u063A\u0637 Enter \u0644\u0644\u0625\u0641\u0644\u0627\u062A. \u0627\u0636\u063A\u0637 Escape \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",dropDescriptionTouch:"\u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropDescriptionVirtual:"\u0627\u0646\u0642\u0631 \u0644\u0644\u0625\u0641\u0644\u0627\u062A.",dropIndicator:"\u0645\u0624\u0634\u0631 \u0627\u0644\u0625\u0641\u0644\u0627\u062A",dropOnItem:e=>`\u0625\u0641\u0644\u0627\u062A ${e.itemText}`,dropOnRoot:"\u0627\u0644\u0625\u0641\u0644\u0627\u062A",endDragKeyboard:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 Enter \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",endDragTouch:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0636\u063A\u0637 \u0645\u0631\u062A\u064A\u0646 \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",endDragVirtual:"\u0627\u0644\u0633\u062D\u0628. \u0627\u0646\u0642\u0631 \u0644\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0633\u062D\u0628.",insertAfter:e=>`\u0623\u062F\u062E\u0644 \u0628\u0639\u062F ${e.itemText}`,insertBefore:e=>`\u0623\u062F\u062E\u0644 \u0642\u0628\u0644 ${e.itemText}`,insertBetween:e=>`\u0623\u062F\u062E\u0644 \u0628\u064A\u0646 ${e.beforeItemText} \u0648 ${e.afterItemText}`},"bg-BG":{dragDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt + Enter, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionLongPress:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragDescriptionVirtual:"\u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u0442\u0435.",dragItem:e=>`\u041F\u043B\u044A\u0437\u043D\u0438 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u043B\u044A\u0437\u043D\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Enter, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt \u0438 Enter, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragSelectedLongPress:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E, \u0437\u0430 \u0434\u0430 \u043F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,dragStartedKeyboard:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201ETab\u201C, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u043F\u0440\u0438\u0434\u0432\u0438\u0436\u0438\u0442\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435 \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEscape\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430.",dragStartedTouch:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0435\u0442\u0435 \u0441\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E, \u0437\u0430 \u0434\u0430 \u043F\u0443\u0441\u043D\u0435\u0442\u0435.",dragStartedVirtual:"\u0417\u0430\u043F\u043E\u0447\u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0435\u0442\u0435 \u0441\u0435 \u0434\u043E \u0446\u0435\u043B\u0442\u0430, \u0441\u043B\u0435\u0434 \u043A\u043E\u0435\u0442\u043E \u0449\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropCanceled:"\u041F\u0443\u0441\u043A\u0430\u043D\u0435\u0442\u043E \u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E.",dropComplete:"\u041F\u0443\u0441\u043A\u0430\u043D\u0435\u0442\u043E \u0435 \u0437\u0430\u0432\u044A\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEscape\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",dropDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropDescriptionVirtual:"\u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435.",dropIndicator:"\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0437\u0430 \u043F\u0443\u0441\u043A\u0430\u043D\u0435",dropOnItem:e=>`\u041F\u0443\u0441\u043D\u0438 \u0432\u044A\u0440\u0445\u0443 ${e.itemText}`,dropOnRoot:"\u041F\u0443\u0441\u043D\u0438 \u0432\u044A\u0440\u0445\u0443",endDragKeyboard:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",endDragTouch:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0434\u0432\u0443\u043A\u0440\u0430\u0442\u043D\u043E \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u043F\u043B\u044A\u0437\u0433\u0430\u043D\u0435\u0442\u043E.",endDragVirtual:"\u041F\u043B\u044A\u0437\u0433\u0430\u043D\u0435. \u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430.",insertAfter:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u0441\u043B\u0435\u0434 ${e.itemText}`,insertBefore:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u043F\u0440\u0435\u0434\u0438 ${e.itemText}`,insertBetween:e=>`\u0412\u043C\u044A\u043A\u043D\u0438 \u043C\u0435\u0436\u0434\u0443 ${e.beforeItemText} \u0438 ${e.afterItemText}`},"cs-CZ":{dragDescriptionKeyboard:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragDescriptionKeyboardAlt:"Stisknut\xEDm Alt + Enter zah\xE1j\xEDte p\u0159etahov\xE1n\xED.",dragDescriptionLongPress:"Dlouh\xFDm stisknut\xEDm zah\xE1j\xEDte p\u0159etahov\xE1n\xED.",dragDescriptionTouch:"Poklep\xE1n\xEDm za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragDescriptionVirtual:"Kliknut\xEDm za\u010Dnete s p\u0159etahov\xE1n\xEDm.",dragItem:e=>`P\u0159et\xE1hnout ${e.itemText}`,dragSelectedItems:(e,t)=>`P\u0159et\xE1hnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,few:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`,other:()=>`${t.number(e.count)} vybran\xFDch polo\u017Eek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknut\xEDm kl\xE1vesy Enter p\u0159et\xE1hn\u011Bte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknut\xEDm Alt + Enter p\u0159et\xE1hn\u011Bte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouh\xFDm stisknut\xEDm p\u0159et\xE1hnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u017Eku`,other:()=>`${t.number(e.count)} vybran\xE9 polo\u017Eky`})}.`,dragStartedKeyboard:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Po stisknut\xED kl\xE1vesy Tab najd\u011Bte po\u017Eadovan\xFD c\xEDl a stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete nebo stisknut\xEDm kl\xE1vesy Esc akci zru\u0161te.",dragStartedTouch:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Najd\u011Bte po\u017Eadovan\xFD c\xEDl a poklep\xE1n\xEDm p\u0159eta\u017Een\xED dokon\u010Dete.",dragStartedVirtual:"Za\u010Dn\u011Bte s p\u0159etahov\xE1n\xEDm. Najd\u011Bte po\u017Eadovan\xFD c\xEDl a kliknut\xEDm nebo stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete.",dropCanceled:"P\u0159eta\u017Een\xED bylo zru\u0161eno.",dropComplete:"P\u0159eta\u017Een\xED bylo dokon\u010Deno.",dropDescriptionKeyboard:"Stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED dokon\u010Dete nebo stisknut\xEDm kl\xE1vesy Esc akci zru\u0161te.",dropDescriptionTouch:"Poklep\xE1n\xEDm p\u0159eta\u017Een\xED dokon\u010Dete.",dropDescriptionVirtual:"Kliknut\xEDm objekt p\u0159et\xE1hn\u011Bte.",dropIndicator:"indik\xE1tor p\u0159eta\u017Een\xED",dropOnItem:e=>`P\u0159et\xE1hnout na ${e.itemText}`,dropOnRoot:"P\u0159et\xE1hnout na",endDragKeyboard:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Stisknut\xEDm kl\xE1vesy Enter p\u0159eta\u017Een\xED zru\u0161\xEDte.",endDragTouch:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Poklep\xE1n\xEDm p\u0159eta\u017Een\xED zru\u0161\xEDte.",endDragVirtual:"Prob\xEDh\xE1 p\u0159etahov\xE1n\xED. Kliknut\xEDm p\u0159eta\u017Een\xED zru\u0161\xEDte.",insertAfter:e=>`Vlo\u017Eit za ${e.itemText}`,insertBefore:e=>`Vlo\u017Eit p\u0159ed ${e.itemText}`,insertBetween:e=>`Vlo\u017Eit mezi ${e.beforeItemText} a ${e.afterItemText}`},"da-DK":{dragDescriptionKeyboard:"Tryk p\xE5 Enter for at starte med at tr\xE6kke.",dragDescriptionKeyboardAlt:"Tryk p\xE5 Alt + Enter for at starte med at tr\xE6kke.",dragDescriptionLongPress:"Tryk l\xE6nge for at starte med at tr\xE6kke.",dragDescriptionTouch:"Dobbelttryk for at starte med at tr\xE6kke.",dragDescriptionVirtual:"Klik for at starte med at tr\xE6kke.",dragItem:e=>`Tr\xE6k ${e.itemText}`,dragSelectedItems:(e,t)=>`Tr\xE6k ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk p\xE5 Enter for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk p\xE5 Alt + Enter for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk l\xE6nge for at tr\xE6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at tr\xE6kke. Tryk p\xE5 Tab for at g\xE5 til et slip-m\xE5l, tryk derefter p\xE5 Enter for at slippe, eller tryk p\xE5 Escape for at annullere.",dragStartedTouch:"Startet med at tr\xE6kke. G\xE5 til et slip-m\xE5l, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at tr\xE6kke. G\xE5 til et slip-m\xE5l, og klik eller tryk derefter p\xE5 enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldf\xF8rt.",dropDescriptionKeyboard:"Tryk p\xE5 Enter for at slippe. Tryk p\xE5 Escape for at annullere tr\xE6kning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip p\xE5 ${e.itemText}`,dropOnRoot:"Slip p\xE5",endDragKeyboard:"Tr\xE6kning. Tryk p\xE5 enter for at annullere tr\xE6k.",endDragTouch:"Tr\xE6kning. Dobbelttryk for at annullere tr\xE6k.",endDragVirtual:"Tr\xE6kning. Klik for at annullere tr\xE6kning.",insertAfter:e=>`Inds\xE6t efter ${e.itemText}`,insertBefore:e=>`Inds\xE6t f\xF8r ${e.itemText}`,insertBetween:e=>`Inds\xE6t mellem ${e.beforeItemText} og ${e.afterItemText}`},"de-DE":{dragDescriptionKeyboard:"Dr\xFCcken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe dr\xFCcken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang dr\xFCcken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Objekt`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang dr\xFCcken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xE4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xE4hlte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Dr\xFCcken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und dr\xFCcken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder dr\xFCcken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Dr\xFCcken Sie die Eingabetaste, um das Objekt abzulegen. Dr\xFCcken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang l\xE4uft. Dr\xFCcken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang l\xE4uft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang l\xE4uft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einf\xFCgen`,insertBefore:e=>`Vor ${e.itemText} einf\xFCgen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einf\xFCgen`},"el-GR":{dragDescriptionKeyboard:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionKeyboardAlt:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionLongPress:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC.",dragDescriptionTouch:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dragDescriptionVirtual:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC.",dragItem:e=>`\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC ${e.itemText}`,dragSelectedItems:(e,t)=>`\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}`,dragSelectedKeyboard:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + Enter \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragSelectedLongPress:(e,t)=>`\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03CD\u03C1\u03B5\u03C4\u03B5 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`${t.number(e.count)} \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,dragStartedKeyboard:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03C0\u03BB\u03AE\u03BA\u03C4\u03C1\u03BF Tab \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Escape \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7.",dragStartedTouch:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u039C\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dragStartedVirtual:"\u0397 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03BE\u03B5\u03BA\u03AF\u03BD\u03B7\u03C3\u03B5. \u039C\u03B5\u03C4\u03B1\u03B2\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C0\u03C1\u03BF\u03BF\u03C1\u03B9\u03C3\u03BC\u03CC \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2 \u03BA\u03B1\u03B9, \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1, \u03BA\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropCanceled:"\u0397 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03B1\u03BA\u03C5\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5.",dropComplete:"\u0397 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5.",dropDescriptionKeyboard:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Escape \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",dropDescriptionTouch:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropDescriptionVirtual:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7.",dropIndicator:"\u03B4\u03B5\u03AF\u03BA\u03C4\u03B7\u03C2 \u03B1\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7\u03C2",dropOnItem:e=>`\u0391\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03C3\u03B5 ${e.itemText}`,dropOnRoot:"\u0391\u03C0\u03CC\u03B8\u03B5\u03C3\u03B7 \u03C3\u03B5",endDragKeyboard:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",endDragTouch:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B4\u03CD\u03BF \u03C6\u03BF\u03C1\u03AD\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",endDragVirtual:"\u039C\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC \u03C3\u03B5 \u03B5\u03BE\u03AD\u03BB\u03B9\u03BE\u03B7. \u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03B1\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",insertAfter:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03BC\u03B5\u03C4\u03AC \u03B1\u03C0\u03CC ${e.itemText}`,insertBefore:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC ${e.itemText}`,insertBetween:e=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03BC\u03B5\u03C4\u03B1\u03BE\u03CD ${e.beforeItemText} \u03BA\u03B1\u03B9 ${e.afterItemText}`},"en-US":{dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`},"es-ES":{dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al p\xFAblico destinatario donde se vaya a colocar y, a continuaci\xF3n, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocaci\xF3n.",dropComplete:"Colocaci\xF3n finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocaci\xF3n",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar despu\xE9s de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`},"et-EE":{dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Kl\xF5psake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksust`,other:()=>`${t.number(e.count)} valitud \xFCksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xFCksuse`,other:()=>`${t.number(e.count)} valitud \xFCksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtm\xE4rgi juurde navigeerimiseks vajutage klahvi Tab, seej\xE4rel vajutage kukutamiseks klahvi Enter v\xF5i loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtm\xE4rgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtm\xE4rgi juurde ja kukutamiseks kl\xF5psake v\xF5i vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks kl\xF5psake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks kl\xF5psake.",insertAfter:e=>`Sisesta ${e.itemText} j\xE4rele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`},"fi-FI":{dragDescriptionKeyboard:"Aloita vet\xE4minen painamalla Enter-n\xE4pp\xE4int\xE4.",dragDescriptionKeyboardAlt:"Aloita vet\xE4minen painamalla Alt + Enter -n\xE4pp\xE4inyhdistelm\xE4\xE4.",dragDescriptionLongPress:"Aloita vet\xE4minen pit\xE4m\xE4ll\xE4 painettuna.",dragDescriptionTouch:"Aloita vet\xE4minen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vet\xE4minen napsauttamalla.",dragItem:e=>`Ved\xE4 kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Ved\xE4 ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Ved\xE4 painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ved\xE4 painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Ved\xE4 pit\xE4m\xE4ll\xE4 painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen painamalla sarkainn\xE4pp\xE4int\xE4 ja sitten pudota painamalla Enter-n\xE4pp\xE4int\xE4 tai peruuta painamalla Escape-n\xE4pp\xE4int\xE4.",dragStartedTouch:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vet\xE4minen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-n\xE4pp\xE4int\xE4.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-n\xE4pp\xE4int\xE4. Peruuta vet\xE4minen painamalla Escape-n\xE4pp\xE4int\xE4.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedet\xE4\xE4n. Peruuta vet\xE4minen painamalla Enter-n\xE4pp\xE4int\xE4.",endDragTouch:"Vedet\xE4\xE4n. Peruuta vet\xE4minen kaksoisnapauttamalla.",endDragVirtual:"Vedet\xE4\xE4n. Peruuta vet\xE4minen napsauttamalla.",insertAfter:e=>`Lis\xE4\xE4 kohteen ${e.itemText} j\xE4lkeen`,insertBefore:e=>`Lis\xE4\xE4 ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lis\xE4\xE4 kohteiden ${e.beforeItemText} ja ${e.afterItemText} v\xE4liin`},"fr-FR":{dragDescriptionKeyboard:"Appuyez sur Entr\xE9e pour commencer le d\xE9placement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt\xA0+\xA0Entr\xE9e pour commencer \xE0 faire glisser.",dragDescriptionLongPress:"Appuyez de mani\xE8re prolong\xE9e pour commencer \xE0 faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le d\xE9placement.",dragDescriptionVirtual:"Cliquez pour commencer le d\xE9placement.",dragItem:e=>`D\xE9placer ${e.itemText}`,dragSelectedItems:(e,t)=>`D\xE9placer ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entr\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt\xA0+\xA0Entr\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de mani\xE8re prolong\xE9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,dragStartedKeyboard:"D\xE9placement commenc\xE9. Appuyez sur Tabulation pour acc\xE9der \xE0 une cible de d\xE9p\xF4t, puis appuyez sur Entr\xE9e pour d\xE9poser, ou appuyez sur \xC9chap pour annuler.",dragStartedTouch:"D\xE9placement commenc\xE9. Acc\xE9dez \xE0 une cible de d\xE9p\xF4t, puis touchez deux fois pour d\xE9poser.",dragStartedVirtual:"D\xE9placement commenc\xE9. Acc\xE9dez \xE0 une cible de d\xE9p\xF4t, puis cliquez ou appuyez sur Entr\xE9e pour d\xE9poser.",dropCanceled:"D\xE9p\xF4t annul\xE9.",dropComplete:"D\xE9p\xF4t termin\xE9.",dropDescriptionKeyboard:"Appuyez sur Entr\xE9e pour d\xE9poser. Appuyez sur \xC9chap pour annuler le d\xE9placement.",dropDescriptionTouch:"Touchez deux fois pour d\xE9poser.",dropDescriptionVirtual:"Cliquez pour d\xE9poser.",dropIndicator:"indicateur de d\xE9p\xF4t",dropOnItem:e=>`D\xE9poser sur ${e.itemText}`,dropOnRoot:"D\xE9poser sur",endDragKeyboard:"D\xE9placement. Appuyez sur Entr\xE9e pour annuler le d\xE9placement.",endDragTouch:"D\xE9placement. Touchez deux fois pour annuler le d\xE9placement.",endDragVirtual:"D\xE9placement. Cliquez pour annuler le d\xE9placement.",insertAfter:e=>`Ins\xE9rer apr\xE8s ${e.itemText}`,insertBefore:e=>`Ins\xE9rer avant ${e.itemText}`,insertBetween:e=>`Ins\xE9rer entre ${e.beforeItemText} et ${e.afterItemText}`},"he-IL":{dragDescriptionKeyboard:"\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionKeyboardAlt:"\u05D4\u05E7\u05E9 Alt + Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionLongPress:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragDescriptionTouch:"\u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1\u05D2\u05E8\u05D9\u05E8\u05D4.",dragDescriptionVirtual:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",dragItem:e=>`\u05D2\u05E8\u05D5\u05E8 \u05D0\u05EA ${e.itemText}`,dragSelectedItems:(e,t)=>`\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`\u05E4\u05E8\u05D9\u05D8 \u05E0\u05D1\u05D7\u05E8 ${t.number(e.count)}`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}`,dragSelectedKeyboard:(e,t)=>`\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u05D4\u05E7\u05E9 Alt + Enter \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragSelectedLongPress:(e,t)=>`\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05D2\u05E8\u05D5\u05E8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8 \u05E9\u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E9\u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,dragStartedKeyboard:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Tab \u05DB\u05D3\u05D9 \u05DC\u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8 \u05D0\u05D5 \u05E2\u05DC Escape \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC.",dragStartedTouch:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dragStartedVirtual:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05DC\u05D2\u05E8\u05D5\u05E8. \u05E0\u05D5\u05D5\u05D8 \u05DC\u05E0\u05E7\u05D5\u05D3\u05EA \u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D5\u05DC\u05D0\u05D7\u05E8 \u05DE\u05DB\u05DF \u05DC\u05D7\u05E5 \u05D0\u05D5 \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropCanceled:"\u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D1\u05D5\u05D8\u05DC.",dropComplete:"\u05D4\u05E9\u05D7\u05E8\u05D5\u05E8 \u05D4\u05D5\u05E9\u05DC\u05DD.",dropDescriptionKeyboard:"\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Escape \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",dropDescriptionTouch:"\u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropDescriptionVirtual:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D7\u05E8\u05E8.",dropIndicator:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05E9\u05D7\u05E8\u05D5\u05E8",dropOnItem:e=>`\u05E9\u05D7\u05E8\u05E8 \u05E2\u05DC ${e.itemText}`,dropOnRoot:"\u05E9\u05D7\u05E8\u05E8 \u05E2\u05DC",endDragKeyboard:"\u05D2\u05D5\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",endDragTouch:"\u05D2\u05D5\u05E8\u05E8. \u05D4\u05E7\u05E9 \u05E4\u05E2\u05DE\u05D9\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",endDragVirtual:"\u05D2\u05D5\u05E8\u05E8. \u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D1\u05D8\u05DC \u05D0\u05EA \u05D4\u05D2\u05E8\u05D9\u05E8\u05D4.",insertAfter:e=>`\u05D4\u05D5\u05E1\u05E3 \u05D0\u05D7\u05E8\u05D9 ${e.itemText}`,insertBefore:e=>`\u05D4\u05D5\u05E1\u05E3 \u05DC\u05E4\u05E0\u05D9 ${e.itemText}`,insertBetween:e=>`\u05D4\u05D5\u05E1\u05E3 \u05D1\u05D9\u05DF ${e.beforeItemText} \u05DC\u05D1\u05D9\u05DF ${e.afterItemText}`},"hr-HR":{dragDescriptionKeyboard:"Pritisnite Enter da biste po\u010Deli povla\u010Diti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za po\u010Detak povla\u010Denja.",dragDescriptionLongPress:"Dugo pritisnite za po\u010Detak povla\u010Denja.",dragDescriptionTouch:"Dvaput dodirnite da biste po\u010Deli povla\u010Diti.",dragDescriptionVirtual:"Kliknite da biste po\u010Deli povla\u010Diti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povla\u010Denje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Po\u010Deli ste povla\u010Diti. Pritisnite tipku tabulatora da biste do\u0161li do cilja ispu\u0161tanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povla\u010Denje.",dragStartedTouch:"Po\u010Deli ste povla\u010Diti. Do\u0111ite do cilja ispu\u0161tanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Po\u010Deli ste povla\u010Diti. Do\u0111ite do cilja ispu\u0161tanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povla\u010Denje je prekinuto.",dropComplete:"Ispu\u0161tanje je dovr\u0161eno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povla\u010Denje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispu\u0161tanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povla\u010Denje. Pritisnite Enter da biste prekinuli povla\u010Denje.",endDragTouch:"Povla\u010Denje. Dvaput dodirnite da biste prekinuli povla\u010Denje.",endDragVirtual:"Povla\u010Denje. Kliknite da biste prekinuli povla\u010Denje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite izme\u0111u stavki ${e.beforeItemText} i ${e.afterItemText}`},"hu-HU":{dragDescriptionKeyboard:"Nyomja le az Enter billenty\u0171t a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billenty\u0171ket a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionLongPress:"Hosszan nyomja meg a h\xFAz\xE1s elind\xEDt\xE1s\xE1hoz.",dragDescriptionTouch:"Koppintson dupl\xE1n a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragDescriptionVirtual:"Kattintson a h\xFAz\xE1s megkezd\xE9s\xE9hez.",dragItem:e=>`${e.itemText} h\xFAz\xE1sa`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1sa`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billenty\u0171ket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xF6lt elem`,other:()=>`${t.number(e.count)} kijel\xF6lt elem`})} h\xFAz\xE1s\xE1hoz.`,dragStartedKeyboard:"H\xFAz\xE1s megkezdve. Nyomja le a Tab billenty\u0171t az elenged\xE9si c\xE9lhoz navig\xE1l\xE1s\xE1hoz, majd nyomja le az Enter billenty\u0171t az elenged\xE9shez, vagy nyomja le az Escape billenty\u0171t a megszak\xEDt\xE1shoz.",dragStartedTouch:"H\xFAz\xE1s megkezdve. Navig\xE1ljon egy elenged\xE9si c\xE9lhoz, majd koppintson dupl\xE1n az elenged\xE9shez.",dragStartedVirtual:"H\xFAz\xE1s megkezdve. Navig\xE1ljon egy elenged\xE9si c\xE9lhoz, majd kattintson vagy nyomja le az Enter billenty\u0171t az elenged\xE9shez.",dropCanceled:"Elenged\xE9s megszak\xEDtva.",dropComplete:"Elenged\xE9s teljes\xEDtve.",dropDescriptionKeyboard:"Nyomja le az Enter billenty\u0171t az elenged\xE9shez. Nyomja le az Escape billenty\u0171t a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",dropDescriptionTouch:"Koppintson dupl\xE1n az elenged\xE9shez.",dropDescriptionVirtual:"Kattintson az elenged\xE9shez.",dropIndicator:"elenged\xE9sjelz\u0151",dropOnItem:e=>`Elenged\xE9s erre: ${e.itemText}`,dropOnRoot:"Elenged\xE9s erre:",endDragKeyboard:"H\xFAz\xE1s folyamatban. Nyomja le az Enter billenty\u0171t a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",endDragTouch:"H\xFAz\xE1s folyamatban. Koppintson dupl\xE1n a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",endDragVirtual:"H\xFAz\xE1s folyamatban. Kattintson a h\xFAz\xE1s megszak\xEDt\xE1s\xE1hoz.",insertAfter:e=>`Besz\xFAr\xE1s ${e.itemText} ut\xE1n`,insertBefore:e=>`Besz\xFAr\xE1s ${e.itemText} el\xE9`,insertBetween:e=>`Besz\xFAr\xE1s ${e.beforeItemText} \xE9s ${e.afterItemText} k\xF6z\xE9`},"it-IT":{dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull\u2019area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull\u2019area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull\u2019area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`},"ja-JP":{dragDescriptionKeyboard:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",dragDescriptionKeyboardAlt:"Alt+Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionLongPress:"\u9577\u62BC\u3057\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionTouch:"\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragDescriptionVirtual:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",dragItem:e=>`${e.itemText} \u3092\u30C9\u30E9\u30C3\u30B0`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u306E\u9078\u629E\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u306E\u9078\u629E\u9805\u76EE`})} \u3092\u30C9\u30E9\u30C3\u30B0`,dragSelectedKeyboard:(e,t)=>`Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragSelectedLongPress:(e,t)=>`\u9577\u62BC\u3057\u3057\u3066\u3001${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`,other:()=>`${t.number(e.count)} \u9078\u629E\u3057\u305F\u9805\u76EE`})}\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u307E\u3059\u3002`,dragStartedKeyboard:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002Tab \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u3044\u3069\u3046\u3057\u3001Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3059\u308B\u304B\u3001Esc \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",dragStartedTouch:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3057\u305F\u3002\u30C9\u30ED\u30C3\u30D7\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u79FB\u52D5\u3057\u3001\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dragStartedVirtual:"\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3057\u305F\u3002\u30C9\u30ED\u30C3\u30D7\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u79FB\u52D5\u3057\u3001\u30AF\u30EA\u30C3\u30AF\u307E\u305F\u306F Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropCanceled:"\u30C9\u30ED\u30C3\u30D7\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",dropComplete:"\u30C9\u30ED\u30C3\u30D7\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002",dropDescriptionKeyboard:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002Esc \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",dropDescriptionTouch:"\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropDescriptionVirtual:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30ED\u30C3\u30D7\u3057\u307E\u3059\u3002",dropIndicator:"\u30C9\u30ED\u30C3\u30D7\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC",dropOnItem:e=>`${e.itemText} \u306B\u30C9\u30ED\u30C3\u30D7`,dropOnRoot:"\u30C9\u30ED\u30C3\u30D7\u5834\u6240",endDragKeyboard:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",endDragTouch:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002\u30C0\u30D6\u30EB\u30BF\u30C3\u30D7\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",endDragVirtual:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3059\u3002",insertAfter:e=>`${e.itemText} \u306E\u5F8C\u306B\u633F\u5165`,insertBefore:e=>`${e.itemText} \u306E\u524D\u306B\u633F\u5165`,insertBetween:e=>`${e.beforeItemText} \u3068 ${e.afterItemText} \u306E\u9593\u306B\u633F\u5165`},"ko-KR":{dragDescriptionKeyboard:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",dragDescriptionKeyboardAlt:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Alt + Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.",dragDescriptionLongPress:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",dragDescriptionTouch:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uB354\uBE14 \uD0ED\uD558\uC138\uC694.",dragDescriptionVirtual:"\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",dragItem:e=>`${e.itemText} \uB4DC\uB798\uADF8`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})} \uB4DC\uB798\uADF8`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 Alt + Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`,other:()=>`${t.number(e.count)}\uAC1C \uC120\uD0DD \uD56D\uBAA9`})}\uC744 \uB4DC\uB798\uADF8\uD558\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.`,dragStartedKeyboard:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. Tab\uC744 \uB20C\uB7EC \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C Enter\uB97C \uB20C\uB7EC \uB4DC\uB86D\uD558\uAC70\uB098 Esc\uB97C \uB20C\uB7EC \uCDE8\uC18C\uD558\uC138\uC694.",dragStartedTouch:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C \uB354\uBE14 \uD0ED\uD558\uC5EC \uB4DC\uB86D\uD558\uC138\uC694.",dragStartedVirtual:"\uB4DC\uB798\uADF8\uAC00 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB4DC\uB86D \uB300\uC0C1\uC73C\uB85C \uC774\uB3D9\uD55C \uB2E4\uC74C \uD074\uB9AD\uD558\uAC70\uB098 Enter\uB97C \uB20C\uB7EC \uB4DC\uB86D\uD558\uC138\uC694.",dropCanceled:"\uB4DC\uB86D\uC774 \uCDE8\uC18C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",dropComplete:"\uB4DC\uB86D\uC774 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",dropDescriptionKeyboard:"\uB4DC\uB86D\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 Esc\uB97C \uB204\uB974\uC138\uC694.",dropDescriptionTouch:"\uB354\uBE14 \uD0ED\uD558\uC5EC \uB4DC\uB86D\uD558\uC138\uC694.",dropDescriptionVirtual:"\uB4DC\uB86D\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",dropIndicator:"\uB4DC\uB86D \uD45C\uC2DC\uAE30",dropOnItem:e=>`${e.itemText}\uC5D0 \uB4DC\uB86D`,dropOnRoot:"\uB4DC\uB86D \uB300\uC0C1",endDragKeyboard:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",endDragTouch:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 \uB354\uBE14 \uD0ED\uD558\uC138\uC694.",endDragVirtual:"\uB4DC\uB798\uADF8 \uC911\uC785\uB2C8\uB2E4. \uB4DC\uB798\uADF8\uB97C \uCDE8\uC18C\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC138\uC694.",insertAfter:e=>`${e.itemText} \uC774\uD6C4\uC5D0 \uC0BD\uC785`,insertBefore:e=>`${e.itemText} \uC774\uC804\uC5D0 \uC0BD\uC785`,insertBetween:e=>`${e.beforeItemText} \uBC0F ${e.afterItemText} \uC0AC\uC774\uC5D0 \uC0BD\uC785`},"lt-LT":{dragDescriptionKeyboard:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te vilkti.",dragDescriptionKeyboardAlt:"Paspauskite \u201EAlt + Enter\u201C, kad prad\u0117tum\u0117te vilkti.",dragDescriptionLongPress:"Palaikykite nuspaud\u0119, kad prad\u0117tum\u0117te vilkti.",dragDescriptionTouch:"Palieskite dukart, kad prad\u0117tum\u0117te vilkti.",dragDescriptionVirtual:"Spustel\u0117kite, kad prad\u0117tum\u0117te vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite \u201EEnter\u201C, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite \u201EAlt + Enter\u201C, kad nuvilktum\u0117te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaud\u0119 palaikykite, kad nuvilktum\u0117te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u0105 element\u0105`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Prad\u0117ta vilkti. Paspauskite \u201ETab\u201C, kad pereitum\u0117te \u012F tiesiogin\u0119 paskirties viet\u0105, tada paspauskite \u201EEnter\u201C, kad numestum\u0117te, arba \u201EEscape\u201C, kad at\u0161auktum\u0117te.",dragStartedTouch:"Prad\u0117ta vilkti. Eikite \u012F tiesiogin\u0119 paskirties viet\u0105, tada palieskite dukart, kad numestum\u0117te.",dragStartedVirtual:"Prad\u0117ta vilkti. Eikite \u012F tiesiogin\u0119 paskirties viet\u0105 ir spustel\u0117kite arba paspauskite \u201EEnter\u201C, kad numestum\u0117te.",dropCanceled:"Numetimas at\u0161auktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite \u201EEnter\u201C, kad numestum\u0117te. Paspauskite \u201EEscape\u201C, kad at\u0161auktum\u0117te vilkim\u0105.",dropDescriptionTouch:"Palieskite dukart, kad numestum\u0117te.",dropDescriptionVirtual:"Spustel\u0117kite, kad numestum\u0117te.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite \u201EEnter\u201C, kad at\u0161auktum\u0117te vilkim\u0105.",endDragTouch:"Velkama. Spustel\u0117kite dukart, kad at\u0161auktum\u0117te vilkim\u0105.",endDragVirtual:"Velkama. Spustel\u0117kite, kad at\u0161auktum\u0117te vilkim\u0105.",insertAfter:e=>`\u012Eterpti po ${e.itemText}`,insertBefore:e=>`\u012Eterpti prie\u0161 ${e.itemText}`,insertBetween:e=>`\u012Eterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`},"lv-LV":{dragDescriptionKeyboard:"Nospiediet Enter, lai s\u0101ktu vilk\u0161anu.",dragDescriptionKeyboardAlt:"Nospiediet tausti\u0146u kombin\u0101ciju Alt+Enter, lai s\u0101ktu vilk\u0161anu.",dragDescriptionLongPress:"Turiet nospiestu, lai s\u0101ktu vilk\u0161anu.",dragDescriptionTouch:"Veiciet dubultsk\u0101rienu, lai s\u0101ktu vilk\u0161anu.",dragDescriptionVirtual:"Noklik\u0161\u0137iniet, lai s\u0101ktu vilk\u0161anu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet tausti\u0146u Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet tausti\u0146u kombin\u0101ciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u012Bto vienumu`,other:()=>`${t.number(e.count)} atlas\u012Btos vienumus`})}.`,dragStartedKeyboard:"Uzs\u0101kta vilk\u0161ana. Nospiediet tausti\u0146u Tab, lai p\u0101rietu uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzs\u0101kta vilk\u0161ana. P\u0101rejiet uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam veiciet dubultsk\u0101rienu, lai nomestu.",dragStartedVirtual:"Uzs\u0101kta vilk\u0161ana. P\u0101rejiet uz nome\u0161anas m\u0113r\u0137i, p\u0113c tam nospiediet Enter, lai nomestu.",dropCanceled:"Nome\u0161ana atcelta.",dropComplete:"Nome\u0161ana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilk\u0161anu.",dropDescriptionTouch:"Veiciet dubultsk\u0101rienu, lai nomestu.",dropDescriptionVirtual:"Noklik\u0161\u0137iniet, lai nomestu.",dropIndicator:"nome\u0161anas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilk\u0161ana. Nospiediet Enter, lai atceltu vilk\u0161anu.",endDragTouch:"Notiek vilk\u0161ana. Veiciet dubultsk\u0101rienu, lai atceltu vilk\u0161anu.",endDragVirtual:"Notiek vilk\u0161ana. Noklik\u0161\u0137iniet, lai atceltu vilk\u0161anu.",insertAfter:e=>`Ievietojiet p\u0113c ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`},"nb-NO":{dragDescriptionKeyboard:"Trykk p\xE5 Enter for \xE5 begynne \xE5 dra.",dragDescriptionKeyboardAlt:"Trykk p\xE5 Alt + Enter for \xE5 begynne \xE5 dra.",dragDescriptionLongPress:"Trykk lenge for \xE5 begynne \xE5 dra.",dragDescriptionTouch:"Dobbelttrykk for \xE5 begynne \xE5 dra.",dragDescriptionVirtual:"Klikk for \xE5 begynne \xE5 dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk p\xE5 Alt + Enter for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for \xE5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte \xE5 dra. Trykk p\xE5 Tab for \xE5 navigere til et m\xE5l, og trykk deretter p\xE5 Enter for \xE5 slippe eller p\xE5 Esc for \xE5 avbryte.",dragStartedTouch:"Begynte \xE5 dra. Naviger til et m\xE5l, og dobbelttrykk for \xE5 slippe.",dragStartedVirtual:"Begynte \xE5 dra. Naviger til et m\xE5l, og klikk eller trykk p\xE5 Enter for \xE5 slippe.",dropCanceled:"Avbr\xF8t slipping.",dropComplete:"Slippingen er fullf\xF8rt.",dropDescriptionKeyboard:"Trykk p\xE5 Enter for \xE5 slippe. Trykk p\xE5 Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for \xE5 slippe.",dropDescriptionVirtual:"Klikk for \xE5 slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp p\xE5 ${e.itemText}`,dropOnRoot:"Slipp p\xE5",endDragKeyboard:"Drar. Trykk p\xE5 Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn f\xF8r ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`},"nl-NL":{dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen v\xF3\xF3r ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`},"pl-PL":{dragDescriptionKeyboard:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionKeyboardAlt:"Naci\u015Bnij Alt + Enter, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionLongPress:"Naci\u015Bnij i przytrzymaj, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragDescriptionVirtual:"Kliknij, aby rozpocz\u0105\u0107 przeci\u0105ganie.",dragItem:e=>`Przeci\u0105gnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeci\u0105gnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych element\xF3w`})}`,dragSelectedKeyboard:(e,t)=>`Naci\u015Bnij Enter, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naci\u015Bnij Alt + Enter, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragSelectedLongPress:(e,t)=>`Naci\u015Bnij i przytrzymaj, aby przeci\u0105gn\u0105\u0107 ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xF3w)`})}.`,dragStartedKeyboard:"Rozpocz\u0119to przeci\u0105ganie. Naci\u015Bnij Tab, aby wybra\u0107 miejsce docelowe, a nast\u0119pnie naci\u015Bnij Enter, aby upu\u015Bci\u0107, lub Escape, aby anulowa\u0107.",dragStartedTouch:"Rozpocz\u0119to przeci\u0105ganie. Wybierz miejsce, w kt\xF3rym chcesz upu\u015Bci\u0107 element, a nast\u0119pnie dotknij dwukrotnie, aby upu\u015Bci\u0107.F",dragStartedVirtual:"Rozpocz\u0119to przeci\u0105ganie. Wybierz miejsce, w kt\xF3rym chcesz upu\u015Bci\u0107 element, a nast\u0119pnie kliknij lub naci\u015Bnij Enter, aby upu\u015Bci\u0107.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zako\u0144czono upuszczanie.",dropDescriptionKeyboard:"Naci\u015Bnij Enter, aby upu\u015Bci\u0107. Naci\u015Bnij Escape, aby anulowa\u0107 przeci\u0105gni\u0119cie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upu\u015Bci\u0107.",dropDescriptionVirtual:"Kliknij, aby upu\u015Bci\u0107.",dropIndicator:"wska\u017Anik upuszczenia",dropOnItem:e=>`Upu\u015B\u0107 na ${e.itemText}`,dropOnRoot:"Upu\u015B\u0107",endDragKeyboard:"Przeci\u0105ganie. Naci\u015Bnij Enter, aby anulowa\u0107 przeci\u0105gni\u0119cie.",endDragTouch:"Przeci\u0105ganie. Kliknij dwukrotnie, aby anulowa\u0107 przeci\u0105gni\u0119cie.",endDragVirtual:"Przeci\u0105ganie. Kliknij, aby anulowa\u0107 przeci\u0105ganie.",insertAfter:e=>`Umie\u015B\u0107 za ${e.itemText}`,insertBefore:e=>`Umie\u015B\u0107 przed ${e.itemText}`,insertBetween:e=>`Umie\u015B\u0107 mi\u0119dzy ${e.beforeItemText} i ${e.afterItemText}`},"pt-BR":{dragDescriptionKeyboard:"Pressione Enter para come\xE7ar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para come\xE7ar a arrastar.",dragDescriptionLongPress:"Pressione e segure para come\xE7ar a arrastar.",dragDescriptionTouch:"Toque duas vezes para come\xE7ar a arrastar.",dragDescriptionVirtual:"Clique para come\xE7ar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar at\xE9 um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue at\xE9 um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue at\xE9 um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Libera\xE7\xE3o cancelada.",dropComplete:"Libera\xE7\xE3o conclu\xEDda.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de libera\xE7\xE3o",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir ap\xF3s ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`},"pt-PT":{dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para come\xE7ar a arrastar.",dragDescriptionTouch:"Fa\xE7a duplo toque para come\xE7ar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabula\xE7\xE3o para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida fa\xE7a duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Fa\xE7a duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Fa\xE7a duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`},"ro-RO":{dragDescriptionKeyboard:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe glisarea.",dragDescriptionKeyboardAlt:"Ap\u0103sa\u021Bi pe Alt + Enter pentru a \xEEncepe glisarea.",dragDescriptionLongPress:"Ap\u0103sa\u021Bi lung pentru a \xEEncepe glisarea.",dragDescriptionTouch:"Atinge\u021Bi de dou\u0103 ori pentru a \xEEncepe s\u0103 glisa\u021Bi.",dragDescriptionVirtual:"Face\u021Bi clic pentru a \xEEncepe glisarea.",dragItem:e=>`Glisa\u021Bi ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisa\u021Bi ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Ap\u0103sa\u021Bi pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ap\u0103sa\u021Bi pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Ap\u0103sa\u021Bi lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A \xEEnceput glisarea. Ap\u0103sa\u021Bi pe Tab pentru a naviga la o \u021Bint\u0103 de fixare, apoi ap\u0103sa\u021Bi pe Enter pentru a fixa sau ap\u0103sa\u021Bi pe Escape pentru a anula glisarea.",dragStartedTouch:"A \xEEnceput glisarea. Naviga\u021Bi la o \u021Bint\u0103 de fixare, apoi atinge\u021Bi de dou\u0103 ori pentru a fixa.",dragStartedVirtual:"A \xEEnceput glisarea. Naviga\u021Bi la o \u021Bint\u0103 de fixare, apoi face\u021Bi clic sau ap\u0103sa\u021Bi pe Enter pentru a fixa.",dropCanceled:"Fixare anulat\u0103.",dropComplete:"Fixare finalizat\u0103.",dropDescriptionKeyboard:"Ap\u0103sa\u021Bi pe Enter pentru a fixa. Ap\u0103sa\u021Bi pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atinge\u021Bi de dou\u0103 ori pentru a fixa.",dropDescriptionVirtual:"Face\u021Bi clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixa\u021Bi pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se gliseaz\u0103. Ap\u0103sa\u021Bi pe Enter pentru a anula glisarea.",endDragTouch:"Se gliseaz\u0103. Atinge\u021Bi de dou\u0103 ori pentru a anula glisarea.",endDragVirtual:"Se gliseaz\u0103. Face\u021Bi clic pentru a anula glisarea.",insertAfter:e=>`Insera\u021Bi dup\u0103 ${e.itemText}`,insertBefore:e=>`Insera\u021Bi \xEEnainte de ${e.itemText}`,insertBetween:e=>`Insera\u021Bi \xEEntre ${e.beforeItemText} \u0219i ${e.afterItemText}`},"ru-RU":{dragDescriptionKeyboard:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + Enter, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C.",dragDescriptionLongPress:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C.",dragDescriptionTouch:"\u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragDescriptionVirtual:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F.",dragItem:e=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Enter \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + Enter \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragSelectedLongPress:(e,t)=>`\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,other:()=>`${t.number(e.count)} \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432`})}.`,dragStartedKeyboard:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Tab \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0446\u0435\u043B\u0438, \u0437\u0430\u0442\u0435\u043C \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435, \u0438\u043B\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Escape \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F.",dragStartedTouch:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0446\u0435\u043B\u044C, \u0437\u0430\u0442\u0435\u043C \u0434\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dragStartedVirtual:"\u041D\u0430\u0447\u0430\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Tab \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0446\u0435\u043B\u0438, \u0437\u0430\u0442\u0435\u043C \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropCanceled:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E.",dropComplete:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Escape \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",dropDescriptionTouch:"\u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropDescriptionVirtual:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435.",dropIndicator:"\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F",dropOnItem:e=>`\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C \u043D\u0430 ${e.itemText}`,dropOnRoot:"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044C \u043D\u0430",endDragKeyboard:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",endDragTouch:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0414\u0432\u0430\u0436\u0434\u044B \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",endDragVirtual:"\u041F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0435. \u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B.",insertAfter:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435 ${e.itemText}`,insertBefore:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0434 ${e.itemText}`,insertBetween:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0436\u0434\u0443 ${e.beforeItemText} \u0438 ${e.afterItemText}`},"sk-SK":{dragDescriptionKeyboard:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete pres\xFAvanie.",dragDescriptionKeyboardAlt:"Stla\u010Den\xEDm kl\xE1vesov Alt + Enter za\u010Dnete pres\xFAvanie.",dragDescriptionLongPress:"Dlh\xFDm stla\u010Den\xEDm za\u010Dnete pres\xFAvanie.",dragDescriptionTouch:"Dvojit\xFDm kliknut\xEDm za\u010Dnete pres\xFAvanie.",dragDescriptionVirtual:"Kliknut\xEDm za\u010Dnete pres\xFAvanie.",dragItem:e=>`Presun\xFA\u0165 polo\u017Eku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presun\xFA\u0165 ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xE9 polo\u017Eky`})}`,dragSelectedKeyboard:(e,t)=>`Stla\u010Den\xEDm kl\xE1vesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stla\u010Den\xEDm kl\xE1vesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlh\xFDm stla\u010Den\xEDm presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xFA polo\u017Eku`,other:()=>`${t.number(e.count)} vybrat\xFDch polo\u017Eiek`})}.`,dragStartedKeyboard:"Pres\xFAvanie sa za\u010Dalo. Do cie\u013Eov\xE9ho umiestnenia prejdete stla\u010Den\xEDm kl\xE1vesu Tab. Ak chcete polo\u017Eku umiestni\u0165, stla\u010Dte kl\xE1ves Enter alebo stla\u010Dte kl\xE1ves Esc, ak chcete pres\xFAvanie zru\u0161i\u0165.",dragStartedTouch:"Pres\xFAvanie sa za\u010Dalo. Prejdite na cie\u013Eov\xE9 umiestnenie a dvojit\xFDm kliknut\xEDm umiestnite polo\u017Eku.",dragStartedVirtual:"Pres\xFAvanie sa za\u010Dalo. Prejdite na cie\u013Eov\xE9 umiestnenie a kliknut\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Enter umiestnite polo\u017Eku.",dropCanceled:"Umiestnenie zru\u0161en\xE9.",dropComplete:"Umiestnenie dokon\u010Den\xE9.",dropDescriptionKeyboard:"Stla\u010Den\xEDm kl\xE1vesu Enter umiestnite polo\u017Eku. Stla\u010Den\xEDm kl\xE1vesu Esc zru\u0161\xEDte pres\xFAvanie.",dropDescriptionTouch:"Dvojit\xFDm kliknut\xEDm umiestnite polo\u017Eku.",dropDescriptionVirtual:"Kliknut\xEDm umiestnite polo\u017Eku.",dropIndicator:"indik\xE1tor umiestnenia",dropOnItem:e=>`Umiestni\u0165 na polo\u017Eku ${e.itemText}`,dropOnRoot:"Umiestni\u0165 na",endDragKeyboard:"Prebieha pres\xFAvanie. Ak ho chcete zru\u0161i\u0165, stla\u010Dte kl\xE1ves Enter.",endDragTouch:"Prebieha pres\xFAvanie. Dvojit\xFDm kliknut\xEDm ho m\xF4\u017Eete zru\u0161i\u0165.",endDragVirtual:"Prebieha pres\xFAvanie.",insertAfter:e=>`Vlo\u017Ei\u0165 za polo\u017Eku ${e.itemText}`,insertBefore:e=>`Vlo\u017Ei\u0165 pred polo\u017Eku ${e.itemText}`,insertBetween:e=>`Vlo\u017Ei\u0165 medzi polo\u017Eky ${e.beforeItemText} a ${e.afterItemText}`},"sl-SI":{dragDescriptionKeyboard:"Pritisnite tipko Enter za za\u010Detek vle\u010Denja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za za\u010Detek vle\u010Denja.",dragDescriptionLongPress:"Pritisnite in zadr\u017Eite za za\u010Detek vle\u010Denja.",dragDescriptionTouch:"Dvotapnite za za\u010Detek vle\u010Denja.",dragDescriptionVirtual:"Kliknite za za\u010Detek vle\u010Denja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadr\u017Eite, da povle\u010Dete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vle\u010Denje se je za\u010Delo. Pritisnite tipko Tab za pomik na mesto, kamor \u017Eelite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekli\u010Dete postopek.",dragStartedTouch:"Vle\u010Denje se je za\u010Delo. Pomaknite se na mesto, kamor \u017Eelite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vle\u010Denje se je za\u010Delo. Pomaknite se na mesto, kamor \u017Eelite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je kon\u010Dan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekli\u010Dete vle\u010Denje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vle\u010Denje. Pritisnite tipko Enter za preklic vle\u010Denja.",endDragTouch:"Vle\u010Denje. Dvotapnite za preklic vle\u010Denja.",endDragVirtual:"Vle\u010Denje. Kliknite, da prekli\u010Dete vle\u010Denje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`},"sr-SP":{dragDescriptionKeyboard:"Pritisnite Enter da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionLongPress:"Pritisnite dugo da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionTouch:"Dvaput dodirnite da biste zapo\u010Deli prevla\u010Denje.",dragDescriptionVirtual:"Kliknite da biste zapo\u010Deli prevla\u010Denje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevla\u010Denje je zapo\u010Deto. Pritisnite Tab da biste oti\u0161li do cilja za otpu\u0161tanje, zatim pritisnite Enter za ispu\u0161tanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevla\u010Denje je zapo\u010Deto. Idite do cilja za otpu\u0161tanje, a zatim dvaput dodirnite za otpu\u0161tanje.",dragStartedVirtual:"Prevla\u010Denje je zapo\u010Deto. Idite do cilja za otpu\u0161tanje, a zatim kliknite ili pritinite Enter za otpu\u0161tanje.",dropCanceled:"Otpu\u0161tanje je otkazano.",dropComplete:"Prevla\u010Denje je zavr\u0161eno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevla\u010Denje.",dropDescriptionTouch:"Dvaput dodirnite za otpu\u0161tanje.",dropDescriptionVirtual:"Kliknite za otpu\u0161tanje.",dropIndicator:"Indikator otpu\u0161tanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevla\u010Denje u toku. Pritisnite Enter da biste otkazali prevla\u010Denje.",endDragTouch:"Prevla\u010Denje u toku. Dvaput dodirnite da biste otkazali prevla\u010Denje.",endDragVirtual:"Prevla\u010Denje u toku. Kliknite da biste otkazali prevla\u010Denje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite izme\u0111u ${e.beforeItemText} i ${e.afterItemText}`},"sv-SE":{dragDescriptionKeyboard:"Tryck p\xE5 enter f\xF6r att b\xF6rja dra.",dragDescriptionKeyboardAlt:"Tryck p\xE5 Alt + Retur f\xF6r att b\xF6rja dra.",dragDescriptionLongPress:"Tryck l\xE4nge f\xF6r att b\xF6rja dra.",dragDescriptionTouch:"Dubbeltryck f\xF6r att b\xF6rja dra.",dragDescriptionVirtual:"Klicka f\xF6r att b\xF6rja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck p\xE5 Retur f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck p\xE5 Alt + Retur f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck l\xE4nge f\xF6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"B\xF6rja dra. Tryck p\xE5 tabb f\xF6r att navigera till m\xE5let, tryck p\xE5 enter f\xF6r att sl\xE4ppa eller p\xE5 escape f\xF6r att avbryta.",dragStartedTouch:"B\xF6rja dra. Navigera till ett m\xE5l och dubbeltryck f\xF6r att sl\xE4ppa.",dragStartedVirtual:"B\xF6rja dra. Navigera till ett m\xE5l och klicka eller tryck p\xE5 enter f\xF6r att sl\xE4ppa.",dropCanceled:"Sl\xE4pp\xE5tg\xE4rd avbr\xF6ts.",dropComplete:"Sl\xE4pp\xE5tg\xE4rd klar.",dropDescriptionKeyboard:"Tryck p\xE5 enter f\xF6r att sl\xE4ppa. Tryck p\xE5 escape f\xF6r att avbryta drag\xE5tg\xE4rd.",dropDescriptionTouch:"Dubbeltryck f\xF6r att sl\xE4ppa.",dropDescriptionVirtual:"Klicka f\xF6r att sl\xE4ppa.",dropIndicator:"sl\xE4ppindikator",dropOnItem:e=>`Sl\xE4pp p\xE5 ${e.itemText}`,dropOnRoot:"Sl\xE4pp p\xE5",endDragKeyboard:"Drar. Tryck p\xE5 enter f\xF6r att avbryta drag\xE5tg\xE4rd.",endDragTouch:"Drar. Dubbeltryck f\xF6r att avbryta drag\xE5tg\xE4rd.",endDragVirtual:"Drar. Klicka f\xF6r att avbryta drag\xE5tg\xE4rd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga f\xF6re ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`},"tr-TR":{dragDescriptionKeyboard:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in Enter'a bas\u0131n.",dragDescriptionKeyboardAlt:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in Alt + Enter'a bas\u0131n.",dragDescriptionLongPress:"S\xFCr\xFCklemeye ba\u015Flamak i\xE7in uzun bas\u0131n.",dragDescriptionTouch:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in \xE7ift t\u0131klay\u0131n.",dragDescriptionVirtual:"S\xFCr\xFCklemeyi ba\u015Flatmak i\xE7in t\u0131klay\u0131n.",dragItem:e=>`${e.itemText}\u2019i s\xFCr\xFCkle`,dragSelectedItems:(e,t)=>`S\xFCr\xFCkle ${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ili \xF6ge`,other:()=>`${t.number(e.count)} se\xE7ili \xF6ge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in Enter'a bas\u0131n.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in Alt + Enter tu\u015Funa bas\u0131n.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`,other:()=>`${t.number(e.count)} se\xE7ilmi\u015F \xF6\u011Fe`})} \xF6\u011Fesini s\xFCr\xFCklemek i\xE7in uzun bas\u0131n.`,dragStartedKeyboard:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gitmek i\xE7in Tab\u2019a bas\u0131n, ard\u0131ndan b\u0131rakmak i\xE7in Enter\u2019a bas\u0131n veya iptal etmek i\xE7in Escape\u2019e bas\u0131n.",dragStartedTouch:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gidin, ard\u0131ndan b\u0131rakmak i\xE7in \xE7ift t\u0131klay\u0131n.",dragStartedVirtual:"S\xFCr\xFCkleme ba\u015Flat\u0131ld\u0131. Bir b\u0131rakma hedefine gidin, ard\u0131ndan b\u0131rakmak i\xE7in Enter\u2019a t\u0131klay\u0131n veya bas\u0131n.",dropCanceled:"B\u0131rakma iptal edildi.",dropComplete:"B\u0131rakma tamamland\u0131.",dropDescriptionKeyboard:"B\u0131rakmak i\xE7in Enter'a bas\u0131n. S\xFCr\xFCklemeyi iptal etmek i\xE7in Escape'e bas\u0131n.",dropDescriptionTouch:"B\u0131rakmak i\xE7in \xE7ift t\u0131klay\u0131n.",dropDescriptionVirtual:"B\u0131rakmak i\xE7in t\u0131klay\u0131n.",dropIndicator:"b\u0131rakma g\xF6stergesi",dropOnItem:e=>`${e.itemText} \xFCzerine b\u0131rak`,dropOnRoot:"B\u0131rak\u0131n",endDragKeyboard:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in Enter'a bas\u0131n.",endDragTouch:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in \xE7ift t\u0131klay\u0131n.",endDragVirtual:"S\xFCr\xFCkleme. S\xFCr\xFCklemeyi iptal etmek i\xE7in t\u0131klay\u0131n.",insertAfter:e=>`${e.itemText}\u2019den sonra gir`,insertBefore:e=>`${e.itemText}\u2019den \xF6nce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} aras\u0131na gir`},"uk-UA":{dragDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionKeyboardAlt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Alt + Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionLongPress:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0456 \u0443\u0442\u0440\u0438\u043C\u0443\u0439\u0442\u0435, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragDescriptionVirtual:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dragItem:e=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C`})}`,dragSelectedKeyboard:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Alt + Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragSelectedLongPress:(e,t)=>`\u0423\u0442\u0440\u0438\u043C\u0443\u0439\u0442\u0435, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438(-\u0456\u0432)`})}.`,dragStartedKeyboard:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Tab, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438, \u0430\u0431\u043E Escape, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438.",dragStartedTouch:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dragStartedVirtual:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u0447\u0430\u043B\u043E\u0441\u044F. \u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E \u0446\u0456\u043B\u0456 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F, \u043F\u043E\u0442\u0456\u043C \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropCanceled:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E.",dropComplete:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",dropDescriptionKeyboard:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Escape, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",dropDescriptionTouch:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropDescriptionVirtual:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438.",dropIndicator:"\u0456\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F",dropOnItem:e=>`\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 \u043D\u0430 ${e.itemText}`,dropOnRoot:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0443\u0442\u0438 \u043D\u0430",endDragKeyboard:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",endDragTouch:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0434\u0432\u0456\u0447\u0456, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",endDragVirtual:"\u0422\u0440\u0438\u0432\u0430\u0454 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",insertAfter:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043F\u0456\u0441\u043B\u044F ${e.itemText}`,insertBefore:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043F\u0435\u0440\u0435\u0434 ${e.itemText}`,insertBetween:e=>`\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043C\u0456\u0436 ${e.beforeItemText} \u0456 ${e.afterItemText}`},"zh-CN":{dragDescriptionKeyboard:"\u6309 Enter \u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionKeyboardAlt:"\u6309 Alt + Enter \u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionLongPress:"\u957F\u6309\u4EE5\u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionTouch:"\u53CC\u51FB\u5F00\u59CB\u62D6\u52A8\u3002",dragDescriptionVirtual:"\u5355\u51FB\u5F00\u59CB\u62D6\u52A8\u3002",dragItem:e=>`\u62D6\u52A8 ${e.itemText}`,dragSelectedItems:(e,t)=>`\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u9009\u4E2D\u9879\u76EE`,other:()=>`${t.number(e.count)} \u9009\u4E2D\u9879\u76EE`})}`,dragSelectedKeyboard:(e,t)=>`\u6309 Enter \u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragSelectedKeyboardAlt:(e,t)=>`\u6309 Alt + Enter \u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragSelectedLongPress:(e,t)=>`\u957F\u6309\u4EE5\u62D6\u52A8 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`,other:()=>`${t.number(e.count)} \u4E2A\u9009\u5B9A\u9879`})}\u3002`,dragStartedKeyboard:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u6309 Tab \u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u6309 Enter \u653E\u7F6E\u6216\u6309 Escape \u53D6\u6D88\u3002",dragStartedTouch:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u53CC\u51FB\u653E\u7F6E\u3002",dragStartedVirtual:"\u5DF2\u5F00\u59CB\u62D6\u52A8\u3002\u5BFC\u822A\u5230\u653E\u7F6E\u76EE\u6807\uFF0C\u7136\u540E\u5355\u51FB\u6216\u6309 Enter \u653E\u7F6E\u3002",dropCanceled:"\u653E\u7F6E\u5DF2\u53D6\u6D88\u3002",dropComplete:"\u653E\u7F6E\u5DF2\u5B8C\u6210\u3002",dropDescriptionKeyboard:"\u6309 Enter \u653E\u7F6E\u3002\u6309 Escape \u53D6\u6D88\u62D6\u52A8\u3002",dropDescriptionTouch:"\u53CC\u51FB\u653E\u7F6E\u3002",dropDescriptionVirtual:"\u5355\u51FB\u653E\u7F6E\u3002",dropIndicator:"\u653E\u7F6E\u6807\u8BB0",dropOnItem:e=>`\u653E\u7F6E\u4E8E ${e.itemText}`,dropOnRoot:"\u653E\u7F6E\u4E8E",endDragKeyboard:"\u6B63\u5728\u62D6\u52A8\u3002\u6309 Enter \u53D6\u6D88\u62D6\u52A8\u3002",endDragTouch:"\u6B63\u5728\u62D6\u52A8\u3002\u53CC\u51FB\u53D6\u6D88\u62D6\u52A8\u3002",endDragVirtual:"\u6B63\u5728\u62D6\u52A8\u3002\u5355\u51FB\u53D6\u6D88\u62D6\u52A8\u3002",insertAfter:e=>`\u63D2\u5165\u5230 ${e.itemText} \u4E4B\u540E`,insertBefore:e=>`\u63D2\u5165\u5230 ${e.itemText} \u4E4B\u524D`,insertBetween:e=>`\u63D2\u5165\u5230 ${e.beforeItemText} \u548C ${e.afterItemText} \u4E4B\u95F4`},"zh-TW":{dragDescriptionKeyboard:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionKeyboardAlt:"\u6309 Alt+Enter \u9375\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionLongPress:"\u9577\u6309\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionTouch:"\u8F15\u9EDE\u5169\u4E0B\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragDescriptionVirtual:"\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u958B\u59CB\u62D6\u66F3\u3002",dragItem:e=>`\u62D6\u66F3\u300C${e.itemText}\u300D`,dragSelectedItems:(e,t)=>`\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}`,dragSelectedKeyboard:(e,t)=>`\u6309 Enter \u9375\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragSelectedKeyboardAlt:(e,t)=>`\u6309 Alt+Enter \u9375\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragSelectedLongPress:(e,t)=>`\u9577\u6309\u4EE5\u62D6\u66F3 ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`,other:()=>`${t.number(e.count)} \u500B\u9078\u5B9A\u9805\u76EE`})}\u3002`,dragStartedKeyboard:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u6309 Tab \u9375\u4EE5\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u6309 Enter \u9375\u4EE5\u653E\u7F6E\uFF0C\u6216\u6309 Escape \u9375\u4EE5\u53D6\u6D88\u3002",dragStartedTouch:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u8F15\u9EDE\u5169\u4E0B\u4EE5\u653E\u7F6E\u3002",dragStartedVirtual:"\u5DF2\u958B\u59CB\u62D6\u66F3\u3002\u700F\u89BD\u81F3\u653E\u7F6E\u76EE\u6A19\uFF0C\u7136\u5F8C\u6309\u4E00\u4E0B\u6ED1\u9F20\u6216\u6309 Enter \u9375\u4EE5\u653E\u7F6E\u3002",dropCanceled:"\u653E\u7F6E\u5DF2\u53D6\u6D88\u3002",dropComplete:"\u653E\u7F6E\u5DF2\u5B8C\u6210\u3002",dropDescriptionKeyboard:"\u6309 Enter \u9375\u4EE5\u653E\u7F6E\u3002\u6309 Escape \u9375\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",dropDescriptionTouch:"\u8F15\u9EDE\u5169\u4E0B\u4EE5\u653E\u7F6E\u3002",dropDescriptionVirtual:"\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u653E\u7F6E\u3002",dropIndicator:"\u653E\u7F6E\u6307\u793A\u5668",dropOnItem:e=>`\u653E\u7F6E\u5728\u300C${e.itemText}\u300D\u4E0A`,dropOnRoot:"\u653E\u7F6E\u5728",endDragKeyboard:"\u62D6\u66F3\u4E2D\u3002\u6309 Enter \u9375\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",endDragTouch:"\u62D6\u66F3\u4E2D\u3002\u8F15\u9EDE\u5169\u4E0B\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",endDragVirtual:"\u62D6\u66F3\u4E2D\u3002\u6309\u4E00\u4E0B\u6ED1\u9F20\u4EE5\u53D6\u6D88\u62D6\u66F3\u3002",insertAfter:e=>`\u63D2\u5165\u81F3\u300C${e.itemText}\u300D\u4E4B\u5F8C`,insertBefore:e=>`\u63D2\u5165\u81F3\u300C${e.itemText}\u300D\u4E4B\u524D`,insertBetween:e=>`\u63D2\u5165\u81F3\u300C${e.beforeItemText}\u300D\u548C\u300C${e.afterItemText}\u300D\u4E4B\u9593`}};var PC={keyboard:{start:"dragDescriptionKeyboard",end:"endDragKeyboard"},touch:{start:"dragDescriptionTouch",end:"endDragTouch"},virtual:{start:"dragDescriptionVirtual",end:"endDragVirtual"}};function wb(e){let{hasDragButton:t,isDisabled:r}=e,o=xe(Zo,"@react-aria/dnd"),n=useRef({options:e,x:0,y:0}).current;n.options=e;let i=useRef(null),[a,l]=useState(false),s=T=>{i.current=T,l(!!T);},{addGlobalListener:u,removeAllGlobalListeners:c}=tt(),d=useRef(null),m=T=>{if(T.defaultPrevented)return;if(T.stopPropagation(),d.current==="virtual"){T.preventDefault(),f(T.target),d.current=null;return}typeof e.onDragStart=="function"&&e.onDragStart({type:"dragstart",x:T.clientX,y:T.clientY});let P=e.getItems();T.dataTransfer.clearData?.(),ks(T.dataTransfer,P);let S=7;if(typeof e.getAllowedDropOperations=="function"){let C=e.getAllowedDropOperations();S=0;for(let _ of C)S|=Gn[_]||0;}ld(S);let E=Pb[S]||"none";T.dataTransfer.effectAllowed=E==="cancel"?"none":E,typeof e.preview?.current=="function"&&e.preview.current(P,(C,_,z)=>{if(!C)return;let w=C.getBoundingClientRect(),O=T.currentTarget.getBoundingClientRect(),k=T.clientX-O.x,M=T.clientY-O.y;(k>w.width||M>w.height)&&(k=w.width/2,M=w.height/2);let F=k,K=M;typeof _=="number"&&typeof z=="number"&&(F=_,K=z),F=Math.max(0,Math.min(F,w.width)),K=Math.max(0,Math.min(K,w.height));let N=2*Math.round(w.height/2);C.style.height=`${N}px`,T.dataTransfer.setDragImage(C,F,K);});let D=j(T.target);u(D,"drop",C=>{C.preventDefault(),C.stopPropagation(),console.warn("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");},{once:true}),n.x=T.clientX,n.y=T.clientY;let I=T.target;requestAnimationFrame(()=>{s(I);});},p=T=>{T.stopPropagation(),!(T.clientX===n.x&&T.clientY===n.y)&&(typeof e.onDragMove=="function"&&e.onDragMove({type:"dragmove",x:T.clientX,y:T.clientY}),n.x=T.clientX,n.y=T.clientY);},y=T=>{if(T.stopPropagation(),typeof e.onDragEnd=="function"){let P={type:"dragend",x:T.clientX,y:T.clientY,dropOperation:Un[T.dataTransfer.dropEffect]};zs&&(P.dropOperation=Un[zs]),e.onDragEnd(P);}s(null),c(),ld(0),ta(void 0);};useEffect(()=>()=>{if(i.current&&(!i.current.isConnected||parseInt(version,10)<17)){if(typeof n.options.onDragEnd=="function"){let T={type:"dragend",x:0,y:0,dropOperation:Un[zs||"none"]};n.options.onDragEnd(T);}s(null),ld(0),ta(void 0);}},[n]);let b=T=>{T.pointerType!=="keyboard"&&T.pointerType!=="virtual"||f(T.target);},f=T=>{if(typeof n.options.onDragStart=="function"){let P=T.getBoundingClientRect();n.options.onDragStart({type:"dragstart",x:P.x+P.width/2,y:P.y+P.height/2});}TC({element:T,items:n.options.getItems(),allowedDropOperations:typeof n.options.getAllowedDropOperations=="function"?n.options.getAllowedDropOperations():["move","copy","link"],onDragEnd(P){s(null),typeof n.options.onDragEnd=="function"&&n.options.onDragEnd(P);}},o),s(T);},h=ea(),v=a?PC[h].end:PC[h].start,g=ft(o.format(v)),x={};return t||(x={...g,onPointerDown(T){if(d.current=En(T.nativeEvent)?"virtual":T.pointerType,T.width<1&&T.height<1)d.current="virtual";else {let P=T.currentTarget.getBoundingClientRect(),S=T.clientX-P.x,E=T.clientY-P.y,D=P.width/2,I=P.height/2;Math.abs(S-D)<=.5&&Math.abs(E-I)<=.5?d.current="virtual":d.current=T.pointerType;}},onKeyDownCapture(T){T.target===T.currentTarget&&T.key==="Enter"&&(T.preventDefault(),T.stopPropagation());},onKeyUpCapture(T){T.target===T.currentTarget&&T.key==="Enter"&&(T.preventDefault(),T.stopPropagation(),f(T.target));},onClick(T){($r(T.nativeEvent)||d.current==="virtual")&&(T.preventDefault(),T.stopPropagation(),f(T.target));}}),r?{dragProps:{draggable:"false"},dragButtonProps:{},isDragging:false}:{dragProps:{...x,draggable:"true",onDragStart:m,onDrag:p,onDragEnd:y},dragButtonProps:{...g,onPress:b},isDragging:a}}var IK={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function cd(){let e=xe(Zo,"@react-aria/dnd"),t=ea(),r=ra();return {dropProps:{...ft(r?e.format(IK[t]):""),onClick:()=>{}}}}var MK=800;function Jo(e){let{hasDropButton:t,isDisabled:r}=e,[o,n]=useState(false),i=useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:7,dropActivateTimer:void 0}).current,a=g=>{if(n(true),typeof e.onDropEnter=="function"){let x=g.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:g.clientX-x.x,y:g.clientY-x.y});}},l=g=>{if(n(false),typeof e.onDropExit=="function"){let x=g.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:g.clientX-x.x,y:g.clientY-x.y});}},s=g=>{g.preventDefault(),g.stopPropagation();let x=CC(g);if(g.clientX===i.x&&g.clientY===i.y&&x===i.allowedOperations){g.dataTransfer.dropEffect=i.dropEffect;return}i.x=g.clientX,i.y=g.clientY;let T=i.dropEffect;if(x!==i.allowedOperations){let P=_b(x),S=P[0];if(typeof e.getDropOperation=="function"){let E=new Wn(g.dataTransfer);S=dd(x,e.getDropOperation(E,P));}i.dropEffect=td[S]||"none";}if(typeof e.getDropOperationForPoint=="function"){let P=new Wn(g.dataTransfer),S=g.currentTarget.getBoundingClientRect(),E=dd(x,e.getDropOperationForPoint(P,_b(x),i.x-S.x,i.y-S.y));i.dropEffect=td[E]||"none";}if(i.allowedOperations=x,g.dataTransfer.dropEffect=i.dropEffect,i.dropEffect==="none"&&T!=="none"?l(g):i.dropEffect!=="none"&&T==="none"&&a(g),typeof e.onDropMove=="function"&&i.dropEffect!=="none"){let P=g.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:i.x-P.x,y:i.y-P.y});}if(clearTimeout(i.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&i.dropEffect!=="none"){let P=e.onDropActivate,S=g.currentTarget.getBoundingClientRect();i.dropActivateTimer=setTimeout(()=>{P({type:"dropactivate",x:i.x-S.x,y:i.y-S.y});},MK);}},u=g=>{if(g.preventDefault(),g.stopPropagation(),i.dragOverElements.add(g.target),i.dragOverElements.size>1)return;let x=CC(g),T=_b(x),P=T[0];if(typeof e.getDropOperation=="function"){let S=new Wn(g.dataTransfer);P=dd(x,e.getDropOperation(S,T));}if(typeof e.getDropOperationForPoint=="function"){let S=new Wn(g.dataTransfer),E=g.currentTarget.getBoundingClientRect();P=dd(x,e.getDropOperationForPoint(S,T,g.clientX-E.x,g.clientY-E.y));}i.x=g.clientX,i.y=g.clientY,i.allowedOperations=x,i.dropEffect=td[P]||"none",g.dataTransfer.dropEffect=i.dropEffect,P!=="cancel"&&a(g);},c=g=>{g.preventDefault(),g.stopPropagation(),i.dragOverElements.delete(g.target);for(let x of i.dragOverElements)g.currentTarget.contains(x)||i.dragOverElements.delete(x);i.dragOverElements.size>0||(i.dropEffect!=="none"&&l(g),clearTimeout(i.dropActivateTimer));},d=g=>{if(g.preventDefault(),g.stopPropagation(),ta(i.dropEffect),typeof e.onDrop=="function"){let T=Un[i.dropEffect],P=nd(g.dataTransfer),S=g.currentTarget.getBoundingClientRect(),E={type:"drop",x:g.clientX-S.x,y:g.clientY-S.y,items:P,dropOperation:T};e.onDrop(E);}let x={...Je};i.dragOverElements.clear(),l(g),clearTimeout(i.dropActivateTimer),x.draggingCollectionRef==null?ta(void 0):hC(x);},m=ue(g=>{typeof e.onDropEnter=="function"&&e.onDropEnter(g);}),p=ue(g=>{typeof e.onDropExit=="function"&&e.onDropExit(g);}),y=ue(g=>{typeof e.onDropActivate=="function"&&e.onDropActivate(g);}),b=ue(g=>{typeof e.onDrop=="function"&&e.onDrop(g);}),f=ue((g,x)=>e.getDropOperation?e.getDropOperation(g,x):x[0]),{ref:h}=e;ae(()=>{if(!(r||!h.current))return ud({element:h.current,getDropOperation:f,onDropEnter(g){n(true),m(g);},onDropExit(g){n(false),p(g);},onDrop:b,onDropActivate:y})},[r,h,f,m,p,b,y]);let{dropProps:v}=cd();return r?{dropProps:{},dropButtonProps:{isDisabled:true},isDropTarget:false}:{dropProps:{...!t&&v,onDragEnter:u,onDragOver:s,onDragLeave:c,onDrop:d},dropButtonProps:{...t&&v},isDropTarget:o}}function CC(e){let t=Tb[e.dataTransfer.effectAllowed];ad&&(t&=ad);let r=0;return at()?(e.altKey&&(r|=2),e.ctrlKey&&!ki()&&(r|=4),e.metaKey&&(r|=1)):(e.altKey&&(r|=4),e.shiftKey&&(r|=1),e.ctrlKey&&(r|=2)),r?t&r:t}function _b(e){let t=[];return e&1&&t.push("move"),e&2&&t.push("copy"),e&4&&t.push("link"),t}function dd(e,t){let r=Gn[t];return e&r?t:"cancel"}function DC(e,t,r,o,n=false,i=false){switch(o){case "left":return n?Ib(e,t,r,i,"left"):Rb(e,t,r,i,"left");case "right":return n?Rb(e,t,r,i,"right"):Ib(e,t,r,i,"right");case "up":return Rb(e,t,r,i);case "down":return Ib(e,t,r,i)}}function Ib(e,t,r,o=false,n=null){if(!r)return {type:"root"};if(r.type==="root"){let i=e.getFirstKey?.()??null;return i!=null?{type:"item",key:i,dropPosition:"before"}:null}if(r.type==="item"){let i=null;n?i=n==="right"?e.getKeyRightOf?.(r.key):e.getKeyLeftOf?.(r.key):i=e.getKeyBelow?.(r.key);let a=t.getKeyAfter(r.key);if(i!=null&&i!==a)return {type:"item",key:i,dropPosition:r.dropPosition};switch(r.dropPosition){case "before":return {type:"item",key:r.key,dropPosition:"on"};case "on":{let l=t.getItem(r.key),s=i!=null?t.getItem(i):null;return l&&s&&s.level>=l.level?{type:"item",key:s.key,dropPosition:"before"}:{type:"item",key:r.key,dropPosition:"after"}}case "after":{let l=t.getItem(r.key);if(l&&l.nextKey==null&&l.parentKey!=null){let s=t.getItem(l.parentKey);if(s?.nextKey!=null)return {type:"item",key:s.nextKey,dropPosition:"before"};if(s)return {type:"item",key:s.key,dropPosition:"after"}}if(l?.nextKey!=null)return {type:"item",key:l.nextKey,dropPosition:"on"}}}}return o?{type:"root"}:null}function Rb(e,t,r,o=false,n=null){if(!r||o&&r.type==="root"){let i=null,a=e.getLastKey?.();for(;a!=null;)i=a,a=t.getItem(a)?.parentKey;return i!=null?{type:"item",key:i,dropPosition:"after"}:null}if(r.type==="item"){let i=null;n?i=n==="left"?e.getKeyLeftOf?.(r.key):e.getKeyRightOf?.(r.key):i=e.getKeyAbove?.(r.key);let a=t.getKeyBefore(r.key);if(i!=null&&i!==a)return {type:"item",key:i,dropPosition:r.dropPosition};switch(r.dropPosition){case "before":{let l=t.getItem(r.key);if(l&&l.prevKey!=null){let s=SC(t,l.prevKey);if(s)return s}return i!=null?{type:"item",key:i,dropPosition:"on"}:{type:"root"}}case "on":return {type:"item",key:r.key,dropPosition:"before"};case "after":{let l=SC(t,r.key);return l||{type:"item",key:r.key,dropPosition:"on"}}}}return r.type!=="root"?{type:"root"}:null}function SC(e,t){let r=e.getItem(t),o=e.getKeyAfter(t),n=o!=null?e.getItem(o):null;if(r&&n&&n.level>r.level){let i=Ee(r,e),a=null;for(let l of i)l.type==="item"&&(a=l);if(a)return {type:"item",key:a.key,dropPosition:"after"}}return null}var md=20;function zC(e){let t=useRef(null),r=useRef(true),o=useRef(true);useEffect(()=>{if(e.current){t.current=kt(e.current)?e.current:mt(e.current);let a=window.getComputedStyle(t.current);r.current=/(auto|scroll)/.test(a.overflowX),o.current=/(auto|scroll)/.test(a.overflowY);}},[e]);let n=useRef({timer:void 0,dx:0,dy:0}).current;useEffect(()=>()=>{n.timer&&(cancelAnimationFrame(n.timer),n.timer=void 0);},[n]);let i=useCallback(()=>{r.current&&t.current&&(t.current.scrollLeft+=n.dx),o.current&&t.current&&(t.current.scrollTop+=n.dy),n.timer&&(n.timer=requestAnimationFrame(i));},[t,n]);return {move(a,l){if(!so()||Dt()||!t.current)return;let s=t.current.getBoundingClientRect(),u=md,c=md,d=s.height-md,m=s.width-md;a<u||a>m||l<c||l>d?(a<u?n.dx=a-u:a>m&&(n.dx=a-m),l<c?n.dy=l-c:l>d&&(n.dy=l-d),n.timer||(n.timer=requestAnimationFrame(i))):this.stop();},stop(){n.timer&&(cancelAnimationFrame(n.timer),n.timer=void 0);}}}function na(e,t,r){let o=useRef({props:e,state:t,nextTarget:null,dropOperation:null}).current;o.props=e,o.state=t;let n=useCallback(async m=>{let{onInsert:p,onRootDrop:y,onItemDrop:b,onReorder:f,onMove:h,acceptedDragTypes:v="all",shouldAcceptItemDrop:g}=o.props,{draggingKeys:x}=Je,T=dr(r),{target:P,dropOperation:S,items:E}=m,D=E;(v!=="all"||g)&&(D=E.filter(I=>{let C;return I.kind==="directory"?C=new Set([od]):C=I.kind==="file"?new Set([I.type]):I.types,v==="all"||v.some(_=>C.has(_))?P.type==="item"&&P.dropPosition==="on"&&g?g(P,C):true:false})),D.length>0&&(P.type==="root"&&y&&await y({items:D,dropOperation:S}),P.type==="item"&&(P.dropPosition==="on"&&b&&await b({items:D,dropOperation:S,isInternal:T,target:P}),h&&T&&await h({keys:x,dropOperation:S,target:P}),P.dropPosition!=="on"&&(!T&&p&&await p({items:D,dropOperation:S,target:P}),T&&f&&await f({keys:x,dropOperation:S,target:P}))));},[o,r]),i=zC(r),{dropProps:a}=Jo({ref:r,onDropEnter(){o.nextTarget!=null&&t.setTarget(o.nextTarget);},onDropMove(m){o.nextTarget!=null&&t.setTarget(o.nextTarget);},getDropOperationForPoint(m,p,y,b){let{draggingKeys:f,dropCollectionRef:h}=Je,v=dr(r),g=T=>t.getDropOperation({target:T,types:m,allowedOperations:p,isInternal:v,draggingKeys:f})!=="cancel",x=e.dropTargetDelegate.getDropTargetFromPoint(y,b,g);if(!x)return o.dropOperation="cancel",o.nextTarget=null,"cancel";if(o.dropOperation=t.getDropOperation({target:x,types:m,allowedOperations:p,isInternal:v,draggingKeys:f}),o.dropOperation==="cancel"){let T={type:"root"},P=t.getDropOperation({target:T,types:m,allowedOperations:p,isInternal:v,draggingKeys:f});P!=="cancel"&&(x=T,o.dropOperation=P);}return x&&o.dropOperation!=="cancel"&&r?.current!==h?.current&&qn(r),o.nextTarget=o.dropOperation==="cancel"?null:x,o.dropOperation},onDropExit(){qn(void 0),t.setTarget(null),i.stop();},onDropActivate(m){t.target?.type==="item"&&typeof e.onDropActivate=="function"&&e.onDropActivate({type:"dropactivate",x:m.x,y:m.y,target:t.target});},onDrop(m){qn(r),t.target&&u(m,t.target);let{draggingCollectionRef:p}=Je;p==null&&id();}}),l=useRef(null),s=useCallback(()=>{let{state:m}=o;if(l.current){let{target:p,collection:y,selectedKeys:b,focusedKey:f,isInternal:h,draggingKeys:v}=l.current;if(m.collection.size>y.size&&m.selectionManager.isSelectionEqual(b)){let g=new Set;for(let x of m.collection.getKeys())y.getItem(x)||g.add(x);if(m.selectionManager.setSelectedKeys(g),m.selectionManager.focusedKey===f){let x=g.keys().next().value;if(x!=null){let T=m.collection.getItem(x);T?.type==="cell"&&(x=T.parentKey),x!=null&&m.selectionManager.setFocusedKey(x),m.selectionManager.selectionMode==="none"&&vr("keyboard");}}}else f!=null&&m.selectionManager.focusedKey===f&&h&&p.type==="item"&&p.dropPosition!=="on"&&v.has(m.collection.getItem(f)?.parentKey)?(m.selectionManager.setFocusedKey(m.collection.getItem(f)?.parentKey??null),vr("keyboard")):m.selectionManager.focusedKey===f&&p.type==="item"&&p.dropPosition==="on"&&m.collection.getItem(p.key)!=null?(m.selectionManager.setFocusedKey(p.key),vr("keyboard")):m.selectionManager.focusedKey!=null&&!m.selectionManager.isSelected(m.selectionManager.focusedKey)&&vr("keyboard");m.selectionManager.setFocused(true);}},[o]),u=useCallback((m,p)=>{let{state:y}=o;l.current={timeout:void 0,focusedKey:y.selectionManager.focusedKey,collection:y.collection,selectedKeys:y.selectionManager.selectedKeys,draggingKeys:Je.draggingKeys,isInternal:dr(r),target:p},(o.props.onDrop||n)({type:"drop",x:m.x,y:m.y,target:p,items:m.items,dropOperation:m.dropOperation}),l.current.timeout=setTimeout(()=>{s(),l.current=null;},50);},[o,n,r,s]);useEffect(()=>()=>{l.current&&clearTimeout(l.current.timeout);},[]),ae(()=>{l.current&&t.collection!==l.current.collection&&s();});let{direction:c}=J();useEffect(()=>{if(!r.current)return;let m=(b,f=true,h="down")=>DC(o.props.keyboardDelegate,o.state.collection,b,h,c==="rtl",f),p=(b,f=true)=>m(b,f,"up"),y=(b,f,h,v,g=true)=>{let x=0,T,{draggingKeys:P}=Je,S=dr(r);do{let E=v(b,g);if(!E)return null;b=E,T=o.state.getDropOperation({target:E,types:f,allowedOperations:h,isInternal:S,draggingKeys:P}),b.type==="root"&&x++;}while(T==="cancel"&&!o.state.isDropTarget(b)&&x<2);return T==="cancel"?null:b};return ud({element:r.current,preventFocusOnDrop:true,getDropOperation(b,f){if(o.state.target){let{draggingKeys:v}=Je,g=dr(r);return o.state.getDropOperation({target:o.state.target,types:b,allowedOperations:f,isInternal:g,draggingKeys:v})}return y(null,b,f,m)?"move":"cancel"},onDropEnter(b,f){let h=qr(f.items),v=o.state.selectionManager,g=null;qn(r);let x=v.focusedKey,T="after",P=x!=null?o.state.collection.getItem(x):null;if(P?.type==="cell"&&(x=P.parentKey),x!=null&&v.isSelected(x)&&(v.selectedKeys.size>1&&v.firstSelectedKey===x?T="before":x=v.lastSelectedKey),x!=null){g={type:"item",key:x,dropPosition:T};let{draggingKeys:S}=Je,E=dr(r);o.state.getDropOperation({target:g,types:h,allowedOperations:f.allowedDropOperations,isInternal:E,draggingKeys:S})==="cancel"&&(g=y(g,h,f.allowedDropOperations,m,false)??y(g,h,f.allowedDropOperations,p,false));}g||(g=y(null,h,f.allowedDropOperations,m)),o.state.setTarget(g);},onDropExit(){qn(void 0),o.state.setTarget(null);},onDropTargetEnter(b){o.state.setTarget(b);},onDropActivate(b,f){f?.type==="item"&&f?.dropPosition==="on"&&typeof o.props.onDropActivate=="function"&&o.props.onDropActivate({type:"dropactivate",x:b.x,y:b.y,target:f});},onDrop(b,f){qn(r),o.state.target&&u(b,f||o.state.target);},onKeyDown(b,f){let{keyboardDelegate:h}=o.props,v=qr(f.items);switch(b.key){case "ArrowDown":{if(h.getKeyBelow){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"down"));o.state.setTarget(g);}break}case "ArrowUp":{if(h.getKeyAbove){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"up"));o.state.setTarget(g);}break}case "ArrowLeft":{if(h.getKeyLeftOf){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"left"));o.state.setTarget(g);}break}case "ArrowRight":{if(h.getKeyRightOf){let g=y(o.state.target,v,f.allowedDropOperations,(x,T)=>m(x,T,"right"));o.state.setTarget(g);}break}case "Home":{if(h.getFirstKey){let g=y(null,v,f.allowedDropOperations,m);o.state.setTarget(g);}break}case "End":{if(h.getLastKey){let g=y(null,v,f.allowedDropOperations,p);o.state.setTarget(g);}break}case "PageDown":{if(h.getKeyPageBelow){let g=o.state.target;if(!g)g=y(null,v,f.allowedDropOperations,m);else {let x=h.getFirstKey?.();g.type==="item"&&(x=g.key);let T=null;x!=null&&(T=h.getKeyPageBelow(x));let P=g.type==="item"?g.dropPosition:"after";if((T==null||g.type==="item"&&g.key===h.getLastKey?.())&&(T=h.getLastKey?.()??null,P="after"),T==null)break;g={type:"item",key:T,dropPosition:P};let{draggingCollectionRef:S,draggingKeys:E}=Je,D=S?.current===r?.current;o.state.getDropOperation({target:g,types:v,allowedOperations:f.allowedDropOperations,isInternal:D,draggingKeys:E})==="cancel"&&(g=y(g,v,f.allowedDropOperations,m,false)??y(g,v,f.allowedDropOperations,p,false));}o.state.setTarget(g??o.state.target);}break}case "PageUp":{if(!h.getKeyPageAbove)break;let g=o.state.target;if(!g)g=y(null,v,f.allowedDropOperations,p);else if(g.type==="item"){if(g.key===h.getFirstKey?.())g={type:"root"};else {let S=h.getKeyPageAbove(g.key),E=g.dropPosition;if(S==null&&(S=h.getFirstKey?.(),E="before"),S==null)break;g={type:"item",key:S,dropPosition:E};}let{draggingKeys:x}=Je,T=dr(r);o.state.getDropOperation({target:g,types:v,allowedOperations:f.allowedDropOperations,isInternal:T,draggingKeys:x})==="cancel"&&(g=y(g,v,f.allowedDropOperations,p,false)??y(g,v,f.allowedDropOperations,m,false));}o.state.setTarget(g??o.state.target);break}}o.props.onKeyDown?.(b);}})},[o,r,u,c]);let d=Y();return rd.set(t,{id:d,ref:r}),{collectionProps:R(a,{id:d,"aria-describedby":null})}}function ia(e,t,r){let{dropProps:o}=cd(),n=mC(t);useEffect(()=>{if(r.current)return xC({element:r.current,target:e.target,getDropOperation(c,d){let{draggingKeys:m}=Je,p=dr(n);return t.getDropOperation({target:e.target,types:c,allowedOperations:d,isInternal:p,draggingKeys:m})},activateButtonRef:e.activateButtonRef})},[r,e.target,t,n,e.activateButtonRef]);let i=ra(),{draggingKeys:a}=Je,l=dr(n),s=i&&t.getDropOperation({target:e.target,types:qr(i.dragTarget.items),allowedOperations:i.dragTarget.allowedDropOperations,isInternal:l,draggingKeys:a})!=="cancel",u=t.isDropTarget(e.target);return useEffect(()=>{i&&u&&r.current&&r.current.focus();},[u,i,r]),{dropProps:{...o,"aria-hidden":!i||s?void 0:"true"},isDropTarget:u}}function aa(e,t,r){let{target:o}=e,{collection:n}=t,i=xe(Zo,"@react-aria/dnd"),a=ra(),{dropProps:l}=ia(e,t,r),s=Y(),u=y=>y==null?"":n.getTextValue?.(y)??n.getItem(y)?.textValue??"",c="",d;if(o.type==="root")c=i.format("dropOnRoot"),d=`${s} ${pC(t)}`;else if(o.dropPosition==="on")c=i.format("dropOnItem",{itemText:u(o.key)});else {let y,b;if(o.dropPosition==="before"){let f=n.getItem(o.key)?.prevKey,h=f!=null?n.getItem(f):null;y=h?.type==="item"?h.key:null;}else y=o.key;if(o.dropPosition==="after"){let f=n.getItem(o.key)?.nextKey,h=f!=null?n.getItem(f):null;b=h?.type==="item"?h.key:null;}else b=o.key;y!=null&&b!=null?c=i.format("insertBetween",{beforeItemText:u(y),afterItemText:u(b)}):y!=null?c=i.format("insertAfter",{itemText:u(y)}):b!=null&&(c=i.format("insertBefore",{itemText:u(b)}));}let m=t.isDropTarget(o),p=a?l["aria-hidden"]:"true";return {dropIndicatorProps:{...l,id:s,"aria-roledescription":i.format("dropIndicator"),"aria-label":c,"aria-labelledby":d,"aria-hidden":p,tabIndex:-1},isDropTarget:m,isHidden:!m&&!!p}}var NK={keyboard:{selected:"dragSelectedKeyboard",notSelected:"dragDescriptionKeyboard"},touch:{selected:"dragSelectedLongPress",notSelected:"dragDescriptionLongPress"},virtual:{selected:"dragDescriptionVirtual",notSelected:"dragDescriptionVirtual"}};function Qo(e,t){let r=xe(Zo,"@react-aria/dnd"),o=t.isDisabled||t.selectionManager.isDisabled(e.key),{dragProps:n,dragButtonProps:i}=wb({getItems(){return t.getItems(e.key)},preview:t.preview,getAllowedDropOperations:t.getAllowedDropOperations,hasDragButton:e.hasDragButton,onDragStart(p){t.startDrag(e.key,p),gC(t.draggingKeys);},onDragMove(p){t.moveDrag(p);},onDragEnd(p){let{dropOperation:y}=p,b=y==="cancel"?false:dr();t.endDrag({...p,keys:t.draggingKeys,isInternal:b}),id();}}),a=t.collection.getItem(e.key),l=t.getKeysForDrag(e.key).size,s=l>1&&t.selectionManager.isSelected(e.key),u,c,d=ea();if(!e.hasDragButton&&t.selectionManager.selectionMode!=="none"){let p=NK[d][s?"selected":"notSelected"];e.hasAction&&d==="keyboard"&&(p+="Alt"),s?c=r.format(p,{count:l}):c=r.format(p),delete n.onClick;}else if(s)u=r.format("dragSelectedItems",{count:l});else {let p=t.collection.getTextValue?.(e.key)??a?.textValue??"";u=r.format("dragItem",{itemText:p});}let m=ft(c);if(c&&Object.assign(n,m),!e.hasDragButton&&e.hasAction){let{onKeyDownCapture:p,onKeyUpCapture:y}=n;d==="touch"&&delete n["aria-describedby"],n.onKeyDownCapture=b=>{b.altKey&&p?.(b);},n.onKeyUpCapture=b=>{b.altKey&&y?.(b);};}return {dragProps:o?{}:n,dragButtonProps:{...i,isDisabled:o,"aria-label":u}}}function la(e,t,r){let{draggingCollectionRef:o}=Je;t.draggingKeys.size>0&&o?.current!==r.current&&bC(r);}var Mb=new Map;function sa(e,t){let r=Mb.get(e);if(!r){let o=new Set,n=i=>{for(let a of o)a(i);};r={listener:n,handlers:o},Mb.set(e,r),document.addEventListener(e,n);}return r.handlers.add(t),()=>{r.handlers.delete(t),r.handlers.size===0&&(document.removeEventListener(e,r.listener),Mb.delete(e));}}function fd(e){let{isDisabled:t}=e,r=useRef(false),{focusProps:o}=bt({onFocusChange:c=>{r.current=c;}}),n=ue(c=>{r.current&&e.getItems&&c.preventDefault();}),i=ue(c=>{!r.current||!e.getItems||(c.preventDefault(),c.clipboardData&&(ks(c.clipboardData,e.getItems({action:"copy"})),e.onCopy?.()));}),a=ue(c=>{r.current&&e.onCut&&e.getItems&&c.preventDefault();}),l=ue(c=>{!r.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(ks(c.clipboardData,e.getItems({action:"cut"})),e.onCut()));}),s=ue(c=>{r.current&&e.onPaste&&c.preventDefault();}),u=ue(c=>{if(!(!r.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let d=nd(c.clipboardData);e.onPaste(d);}});return useEffect(()=>{if(!t)return Ve(sa("beforecopy",n),sa("copy",i),sa("beforecut",a),sa("cut",l),sa("beforepaste",s),sa("paste",u))},[t,n,i,a,l,s,u]),{clipboardProps:o}}var en=Mo.forwardRef(function(t,r){let o=t.children,[n,i]=useState(null),a=useRef(null),l=useRef(void 0);return useImperativeHandle(r,()=>(s,u)=>{let c=o(s),d,m,p;c&&typeof c=="object"&&"element"in c?(d=c.element,m=c.x,p=c.y):d=c,flushSync(()=>{i(d);}),u(a.current,m,p),l.current=requestAnimationFrame(()=>{i(null);});},[o]),useEffect(()=>()=>{l.current&&cancelAnimationFrame(l.current);},[]),n?jsx("div",{style:{zIndex:-100,position:"absolute",top:0,left:-1e5},ref:a,children:n}):null});var tn=class{collection;ref;layout;orientation;direction;constructor(t,r,o){this.collection=t,this.ref=r,this.layout=o?.layout||"stack",this.orientation=o?.orientation||"vertical",this.direction=o?.direction||"ltr";}getPrimaryStart(t){return this.orientation==="horizontal"?t.left:t.top}getPrimaryEnd(t){return this.orientation==="horizontal"?t.right:t.bottom}getSecondaryStart(t){return this.orientation==="horizontal"?t.top:t.left}getSecondaryEnd(t){return this.orientation==="horizontal"?t.bottom:t.right}getFlowStart(t){return this.layout==="stack"?this.getPrimaryStart(t):this.getSecondaryStart(t)}getFlowEnd(t){return this.layout==="stack"?this.getPrimaryEnd(t):this.getSecondaryEnd(t)}getFlowSize(t){return this.getFlowEnd(t)-this.getFlowStart(t)}getDropTargetFromPoint(t,r,o){if(this.collection[Symbol.iterator]().next().done||!this.ref.current)return {type:"root"};let n=this.ref.current.getBoundingClientRect(),i=this.orientation==="horizontal"?t:r,a=this.orientation==="horizontal"?r:t;i+=this.getPrimaryStart(n),a+=this.getSecondaryStart(n);let l=this.layout==="stack"?i:a,s=this.orientation==="horizontal"&&this.direction==="rtl",u=this.layout==="grid"&&this.orientation==="vertical"&&this.direction==="rtl",c=this.layout==="stack"?s:u,d=this.ref.current?.dataset.collection,m=this.ref.current.querySelectorAll(d?`[data-collection="${CSS.escape(d)}"]`:"[data-key]"),p=new Map,y=j(this.ref.current);for(let x of m)x instanceof y.HTMLElement&&x.dataset.key!=null&&p.set(x.dataset.key,x);let b=[...this.collection].filter(x=>x.type==="item"),f=0,h=b.length;for(;f<h;){let x=Math.floor((f+h)/2),T=b[x],P=p.get(String(T.key));if(!P)break;let S=P.getBoundingClientRect(),E=D=>{D?f=x+1:h=x;};if(i<this.getPrimaryStart(S))E(s);else if(i>this.getPrimaryEnd(S))E(!s);else if(a<this.getSecondaryStart(S))E(u);else if(a>this.getSecondaryEnd(S))E(!u);else {let D={type:"item",key:T.key,dropPosition:"on"};if(o(D))l<=this.getFlowStart(S)+5&&o({...D,dropPosition:"before"})?D.dropPosition=c?"after":"before":l>=this.getFlowEnd(S)-5&&o({...D,dropPosition:"after"})&&(D.dropPosition=c?"before":"after");else {let I=this.getFlowStart(S)+this.getFlowSize(S)/2;l<=I&&o({...D,dropPosition:"before"})?D.dropPosition=c?"after":"before":l>=I&&o({...D,dropPosition:"after"})&&(D.dropPosition=c?"before":"after");}return D}}let v=b[Math.min(f,b.length-1)];return n=p.get(String(v.key))?.getBoundingClientRect(),n&&(i<this.getPrimaryStart(n)||Math.abs(l-this.getFlowStart(n))<Math.abs(l-this.getFlowEnd(n)))?{type:"item",key:v.key,dropPosition:c?"after":"before"}:{type:"item",key:v.key,dropPosition:c?"before":"after"}}};var ws=new WeakMap;function _s(e,t){let{id:r}=ws.get(e)??{};if(!r)throw new Error("Unknown list");return `${r}-${GK(t)}`}function GK(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var Xn=class{collection;disabledKeys;disabledBehavior;direction;collator;layoutDelegate;focusMode;constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new Ab(t.layout):new Uo(t.ref)),this.focusMode=t.focusMode??"row";}isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))}findPreviousKey(t,r){let o=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;o!=null;){let n=this.collection.getItem(o);if(!n)return null;if(!this.isDisabled(n)&&(!r||r(n)))return o;o=this.collection.getKeyBefore(o);}return null}findNextKey(t,r){let o=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;o!=null;){let n=this.collection.getItem(o);if(!n)return null;if(!this.isDisabled(n)&&(!r||r(n)))return o;if(o=this.collection.getKeyAfter(o),o==null)return null}return null}getKeyForItemInRowByIndex(t,r=0){if(r<0)return null;let o=this.collection.getItem(t);if(!o)return null;let n=0;for(let i of Ee(o,this.collection)){if(i.colSpan&&i.colSpan+n>r||(i.colSpan&&(n=n+i.colSpan-1),n===r))return i.key??null;n++;}return null}getKeyBelow(t){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findNextKey(r,n=>n.type==="item"),r!=null){if(this.isCell(o)){let n=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,n)}if(this.focusMode==="row")return r}return null}getKeyAbove(t){let r=t,o=this.collection.getItem(r);if(!o||(this.isCell(o)&&(r=o.parentKey??null),r==null))return null;if(r=this.findPreviousKey(r,n=>n.type==="item"),r!=null){if(this.isCell(o)){let n=o.colIndex?o.colIndex:o.index;return this.getKeyForItemInRowByIndex(r,n)}if(this.focusMode==="row")return r}return null}getKeyRightOf(t){let r=this.collection.getItem(t);if(!r)return null;if(this.isRow(r)){let o=Ee(r,this.collection);return (this.direction==="rtl"?Tr(o)?.key:jt(o)?.key)??null}if(this.isCell(r)&&r.parentKey!=null){let o=this.collection.getItem(r.parentKey);if(!o)return null;let n=Ee(o,this.collection),i=(this.direction==="rtl"?Kn(n,r.index-1):Kn(n,r.index+1))??null;return i?i.key??null:this.focusMode==="row"?r.parentKey??null:(this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))??null}return null}getKeyLeftOf(t){let r=this.collection.getItem(t);if(!r)return null;if(this.isRow(r)){let o=Ee(r,this.collection);return (this.direction==="rtl"?jt(o)?.key:Tr(o)?.key)??null}if(this.isCell(r)&&r.parentKey!=null){let o=this.collection.getItem(r.parentKey);if(!o)return null;let n=Ee(o,this.collection),i=(this.direction==="rtl"?Kn(n,r.index+1):Kn(n,r.index-1))??null;return i?i.key??null:this.focusMode==="row"?r.parentKey??null:(this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))??null}return null}getFirstKey(t,r){let o=t??null,n;if(o!=null){if(n=this.collection.getItem(o),!n)return null;if(this.isCell(n)&&!r&&n.parentKey!=null){let i=this.collection.getItem(n.parentKey);return i?jt(Ee(i,this.collection))?.key??null:null}}if(o=this.findNextKey(void 0,i=>i.type==="item"),o!=null&&(n&&this.isCell(n)&&r||this.focusMode==="cell")){let i=this.collection.getItem(o);if(!i)return null;o=jt(Ee(i,this.collection))?.key??null;}return o}getLastKey(t,r){let o=t??null,n;if(o!=null){if(n=this.collection.getItem(o),!n)return null;if(this.isCell(n)&&!r&&n.parentKey!=null){let i=this.collection.getItem(n.parentKey);if(!i)return null;let a=Ee(i,this.collection);return Tr(a)?.key??null}}if(o=this.findPreviousKey(void 0,i=>i.type==="item"),o!=null&&(n&&this.isCell(n)&&r||this.focusMode==="cell")){let i=this.collection.getItem(o);if(!i)return null;let a=Ee(i,this.collection);o=Tr(a)?.key??null;}return o}getKeyPageAbove(t){let r=t,o=this.layoutDelegate.getItemRect(r);if(!o)return null;let n=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>n&&r!=null&&(r=this.getKeyAbove(r)??null,r!=null);)o=this.layoutDelegate.getItemRect(r);return r}getKeyPageBelow(t){let r=t,o=this.layoutDelegate.getItemRect(r);if(!o)return null;let n=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,o.y+n);for(;o&&o.y+o.height<i;){let a=this.getKeyBelow(r);if(a==null)break;o=this.layoutDelegate.getItemRect(a),r=a;}return r}getKeyForSearch(t,r){let o=r??null;if(!this.collator)return null;let n=this.collection;if(o=r??this.getFirstKey(),o==null)return null;let i=n.getItem(o);if(!i)return null;i.type==="cell"&&(o=i.parentKey??null);let a=false;for(;o!=null;){let l=n.getItem(o);if(!l)return null;if(l.textValue){let s=l.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return this.isRow(l)&&this.focusMode==="cell"?jt(Ee(l,this.collection))?.key??null:l.key}o=this.findNextKey(o,s=>s.type==="item"),o==null&&!a&&(o=this.getFirstKey(),a=true);}return null}},Ab=class{layout;constructor(t){this.layout=t;}getContentSize(){return this.layout.getContentSize()}getItemRect(t){return this.layout.getLayoutInfo(t)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}};var RC=new WeakMap;var ua={"ar-AE":{deselectedItem:e=>`${e.item} \u063A\u064A\u0631 \u0627\u0644\u0645\u062D\u062F\u062F`,longPressToSelect:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u064B\u0627 \u0644\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0648\u0636\u0639 \u0627\u0644\u062A\u062D\u062F\u064A\u062F.",select:"\u062A\u062D\u062F\u064A\u062F",selectedAll:"\u062C\u0645\u064A\u0639 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062D\u062F\u062F\u0629.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0644\u0645 \u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0639\u0646\u0627\u0635\u0631",one:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`,other:()=>`${t.number(e.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`})}.`,selectedItem:e=>`${e.item} \u0627\u0644\u0645\u062D\u062F\u062F`},"bg-BG":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0435 \u0438\u0437\u0431\u0440\u0430\u043D.`,longPressToSelect:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0438 \u0437\u0430\u0434\u0440\u044A\u0436\u0442\u0435 \u0437\u0430 \u0434\u0430 \u0432\u043B\u0435\u0437\u0435\u0442\u0435 \u0432 \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435\u043B\u0435\u043D \u0440\u0435\u0436\u0438\u043C.",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectedAll:"\u0412\u0441\u0438\u0447\u043A\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u041D\u044F\u043C\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438",one:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${t.number(e.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,selectedItem:e=>`${e.item} \u0438\u0437\u0431\u0440\u0430\u043D.`},"cs-CZ":{deselectedItem:e=>`Polo\u017Eka ${e.item} nen\xED vybr\xE1na.`,longPressToSelect:"Dlouh\xFDm stisknut\xEDm p\u0159ejdete do re\u017Eimu v\xFDb\u011Bru.",select:"Vybrat",selectedAll:"Vybr\xE1ny v\u0161echny polo\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybr\xE1ny \u017E\xE1dn\xE9 polo\u017Eky",one:()=>`Vybr\xE1na ${t.number(e.count)} polo\u017Eka`,other:()=>`Vybr\xE1no ${t.number(e.count)} polo\u017Eek`})}.`,selectedItem:e=>`Vybr\xE1na polo\u017Eka ${e.item}.`},"da-DK":{deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"V\xE6lg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`},"de-DE":{deselectedItem:e=>`${e.item} nicht ausgew\xE4hlt.`,longPressToSelect:"Gedr\xFCckt halten, um Auswahlmodus zu \xF6ffnen.",select:"Ausw\xE4hlen",selectedAll:"Alle Elemente ausgew\xE4hlt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgew\xE4hlt",one:()=>`${t.number(e.count)} Element ausgew\xE4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xE4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xE4hlt.`},"el-GR":{deselectedItem:e=>`\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${e.item}.`,longPressToSelect:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03C0\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE\u03C2.",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectedAll:"\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03CC\u03BB\u03B1 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",one:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 ${t.number(e.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD ${t.number(e.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,selectedItem:e=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${e.item}.`},"en-US":{deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."},"es-ES":{deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selecci\xF3n.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ning\xFAn elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`},"et-EE":{deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikure\u017Eiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"K\xF5ik \xFCksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\xDCksusi pole valitud",one:()=>`${t.number(e.count)} \xFCksus valitud`,other:()=>`${t.number(e.count)} \xFCksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`},"fi-FI":{deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitk\xE4\xE4n.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yht\xE4\xE4n kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`},"fr-FR":{deselectedItem:e=>`${e.item} non s\xE9lectionn\xE9.`,longPressToSelect:"Appuyez de mani\xE8re prolong\xE9e pour passer en mode de s\xE9lection.",select:"S\xE9lectionner",selectedAll:"Tous les \xE9l\xE9ments s\xE9lectionn\xE9s.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun \xE9l\xE9ment s\xE9lectionn\xE9",one:()=>`${t.number(e.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${t.number(e.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,selectedItem:e=>`${e.item} s\xE9lectionn\xE9.`},"he-IL":{deselectedItem:e=>`${e.item} \u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8.`,longPressToSelect:"\u05D4\u05E7\u05E9\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DC\u05DB\u05E0\u05D9\u05E1\u05D4 \u05DC\u05DE\u05E6\u05D1 \u05D1\u05D7\u05D9\u05E8\u05D4.",select:"\u05D1\u05D7\u05E8",selectedAll:"\u05DB\u05DC \u05D4\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8\u05D5 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",one:()=>`\u05E4\u05E8\u05D9\u05D8 ${t.number(e.count)} \u05E0\u05D1\u05D7\u05E8`,other:()=>`${t.number(e.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,selectedItem:e=>`${e.item} \u05E0\u05D1\u05D7\u05E8.`},"hr-HR":{deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u na\u010Din odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`},"hu-HU":{deselectedItem:e=>`${e.item} nincs kijel\xF6lve.`,longPressToSelect:"Nyomja hosszan a kijel\xF6l\xE9shez.",select:"Kijel\xF6l\xE9s",selectedAll:"Az \xF6sszes elem kijel\xF6lve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijel\xF6lve",one:()=>`${t.number(e.count)} elem kijel\xF6lve`,other:()=>`${t.number(e.count)} elem kijel\xF6lve`})}.`,selectedItem:e=>`${e.item} kijel\xF6lve.`},"it-IT":{deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalit\xE0 di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`},"ja-JP":{deselectedItem:e=>`${e.item} \u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002`,longPressToSelect:"\u9577\u62BC\u3057\u3057\u3066\u9078\u629E\u30E2\u30FC\u30C9\u3092\u958B\u304D\u307E\u3059\u3002",select:"\u9078\u629E",selectedAll:"\u3059\u3079\u3066\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u9805\u76EE\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",one:()=>`${t.number(e.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`,other:()=>`${t.number(e.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`})}\u3002`,selectedItem:e=>`${e.item} \u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002`},"ko-KR":{deselectedItem:e=>`${e.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.`,longPressToSelect:"\uC120\uD0DD \uBAA8\uB4DC\uB85C \uB4E4\uC5B4\uAC00\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",select:"\uC120\uD0DD",selectedAll:"\uBAA8\uB4E0 \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\uC120\uD0DD\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",one:()=>`${t.number(e.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`,other:()=>`${t.number(e.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`})}.`,selectedItem:e=>`${e.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.`},"lt-LT":{deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Nor\u0117dami \u012Fjungti pasirinkimo re\u017Eim\u0105, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas n\u0117 vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta element\u0173: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`},"lv-LV":{deselectedItem:e=>`Vienums ${e.item} nav atlas\u012Bts.`,longPressToSelect:"Ilgi turiet nospiestu. lai iesl\u0113gtu atlases re\u017E\u012Bmu.",select:"Atlas\u012Bt",selectedAll:"Atlas\u012Bti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlas\u012Bts neviens vienums",one:()=>`Atlas\u012Bto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u012Bto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u012Bts vienums ${e.item}.`},"nb-NO":{deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for \xE5 g\xE5 inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`},"nl-NL":{deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`},"pl-PL":{deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naci\u015Bnij i przytrzymaj, aby wej\u015B\u0107 do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono \u017Cadnych element\xF3w",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych element\xF3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`},"pt-BR":{deselectedItem:e=>`${e.item} n\xE3o selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`},"pt-PT":{deselectedItem:e=>`${e.item} n\xE3o selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`},"ro-RO":{deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Ap\u0103sa\u021Bi lung pentru a intra \xEEn modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`},"ru-RU":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u0432\u0445\u043E\u0434\u0430 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u044B\u0431\u043E\u0440\u0430.",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectedAll:"\u0412\u044B\u0431\u0440\u0430\u043D\u044B \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u041D\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432",one:()=>`${t.number(e.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u044B\u0431\u0440\u0430\u043D`,other:()=>`${t.number(e.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043E`})}.`,selectedItem:e=>`${e.item} \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`},"sk-SK":{deselectedItem:e=>`Nevybrat\xE9 polo\u017Eky: ${e.item}.`,longPressToSelect:"Dlh\u0161\xEDm stla\u010Den\xEDm prejdite do re\u017Eimu v\xFDberu.",select:"Vybra\u0165",selectedAll:"V\u0161etky vybrat\xE9 polo\u017Eky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u017Diadne vybrat\xE9 polo\u017Eky",one:()=>`${t.number(e.count)} vybrat\xE1 polo\u017Eka`,other:()=>`Po\u010Det vybrat\xFDch polo\u017Eiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xE9 polo\u017Eky: ${e.item}.`},"sl-SI":{deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni na\u010Din pritisnite in dlje \u010Dasa dr\u017Eite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`},"sr-SP":{deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u re\u017Eim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`},"sv-SE":{deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck l\xE4nge n\xE4r du vill \xF6ppna v\xE4ljarl\xE4ge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`},"tr-TR":{deselectedItem:e=>`${e.item} se\xE7ilmedi.`,longPressToSelect:"Se\xE7im moduna girmek i\xE7in uzun bas\u0131n.",select:"Se\xE7",selectedAll:"T\xFCm \xF6geler se\xE7ildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hi\xE7bir \xF6ge se\xE7ilmedi",one:()=>`${t.number(e.count)} \xF6ge se\xE7ildi`,other:()=>`${t.number(e.count)} \xF6ge se\xE7ildi`})}.`,selectedItem:e=>`${e.item} se\xE7ildi.`},"uk-UA":{deselectedItem:e=>`${e.item} \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u0412\u0438\u043A\u043E\u043D\u0430\u0439\u0442\u0435 \u0434\u043E\u0432\u0433\u0435 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u0438\u0431\u043E\u0440\u0443.",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectedAll:"\u0423\u0441\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u0416\u043E\u0434\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E",one:()=>`${t.number(e.count)} \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u0438\u0431\u0440\u0430\u043D\u043E`,other:()=>`\u0412\u0438\u0431\u0440\u0430\u043D\u043E \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`},"zh-CN":{deselectedItem:e=>`\u672A\u9009\u62E9 ${e.item}\u3002`,longPressToSelect:"\u957F\u6309\u4EE5\u8FDB\u5165\u9009\u62E9\u6A21\u5F0F\u3002",select:"\u9009\u62E9",selectedAll:"\u5DF2\u9009\u62E9\u6240\u6709\u9879\u76EE\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u672A\u9009\u62E9\u9879\u76EE",one:()=>`\u5DF2\u9009\u62E9 ${t.number(e.count)} \u4E2A\u9879\u76EE`,other:()=>`\u5DF2\u9009\u62E9 ${t.number(e.count)} \u4E2A\u9879\u76EE`})}\u3002`,selectedItem:e=>`\u5DF2\u9009\u62E9 ${e.item}\u3002`},"zh-TW":{deselectedItem:e=>`\u672A\u9078\u53D6\u300C${e.item}\u300D\u3002`,longPressToSelect:"\u9577\u6309\u4EE5\u9032\u5165\u9078\u64C7\u6A21\u5F0F\u3002",select:"\u9078\u53D6",selectedAll:"\u5DF2\u9078\u53D6\u6240\u6709\u9805\u76EE\u3002",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"\u672A\u9078\u53D6\u4EFB\u4F55\u9805\u76EE",one:()=>`\u5DF2\u9078\u53D6 ${t.number(e.count)} \u500B\u9805\u76EE`,other:()=>`\u5DF2\u9078\u53D6 ${t.number(e.count)} \u500B\u9805\u76EE`})}\u3002`,selectedItem:e=>`\u5DF2\u9078\u53D6\u300C${e.item}\u300D\u3002`}};function Is(e,t){let{getRowText:r=l=>t.collection.getTextValue?.(l)??t.collection.getItem(l)?.textValue}=e,o=xe(ua,"@react-aria/grid"),n=t.selectionManager.rawSelection,i=useRef(n),a=ue(()=>{if(!t.selectionManager.isFocused||n===i.current){i.current=n;return}let l=LC(n,i.current),s=LC(i.current,n),u=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&u){let d=t.selectionManager.selectedKeys.keys().next().value;if(d!=null&&t.collection.getItem(d)){let m=r(d);m&&c.push(o.format("selectedItem",{item:m}));}}else if(l.size===1&&s.size===0){let d=l.keys().next().value;if(d!=null){let m=r(d);m&&c.push(o.format("selectedItem",{item:m}));}}else if(s.size===1&&l.size===0){let d=s.keys().next().value;if(d!=null&&t.collection.getItem(d)){let m=r(d);m&&c.push(o.format("deselectedItem",{item:m}));}}t.selectionManager.selectionMode==="multiple"&&(c.length===0||n==="all"||n.size>1||i.current==="all"||i.current?.size>1)&&c.push(n==="all"?o.format("selectedAll"):o.format("selectedCount",{count:n.size})),c.length>0&&st(c.join(" ")),i.current=n;});kn(()=>{if(t.selectionManager.isFocused)a();else {let l=requestAnimationFrame(a);return ()=>cancelAnimationFrame(l)}},[n,t.selectionManager.isFocused]);}function LC(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let o of e.keys())t.has(o)||r.add(o);return r}function Rs(e){let t=xe(ua,"@react-aria/grid"),r=Xt(),o=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,n=useMemo(()=>{let a=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return o&&(s=t.format("longPressToSelect")),l==="replace"&&a!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,o]);return ft(n)}function Nb(e,t,r){let{isVirtualized:o,disallowTypeAhead:n,keyboardDelegate:i,focusMode:a,scrollRef:l,getRowText:s,onRowAction:u,onCellAction:c,escapeKeyBehavior:d="clearSelection",shouldSelectOnPressUp:m}=e,{selectionManager:p}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let y=$t({usage:"search",sensitivity:"base"}),{direction:b}=J(),f=t.selectionManager.disabledBehavior,h=useMemo(()=>i||new Xn({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:f,ref:r,direction:b,collator:y,focusMode:a}),[i,t.collection,t.disabledKeys,f,r,b,y,a]),{collectionProps:v}=ho({ref:r,selectionManager:p,keyboardDelegate:h,isVirtualized:o,scrollRef:l,disallowTypeAhead:n,escapeKeyBehavior:d}),g=Y(e.id);RC.set(t,{keyboardDelegate:h,actions:{onRowAction:u,onCellAction:c},shouldSelectOnPressUp:m});let x=Rs({selectionManager:p,hasItemActions:!!(u||c)}),T=le(e,{labelable:true}),P=useCallback(I=>{if(p.isFocused){I.currentTarget.contains(I.target)||p.setFocused(false);return}I.currentTarget.contains(I.target)&&p.setFocused(true);},[p]),S=useMemo(()=>({onBlur:v.onBlur,onFocus:P}),[P,v.onBlur]),E=An(r,{isDisabled:t.collection.size!==0}),D=R(T,{role:"grid",id:g,"aria-multiselectable":p.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?S:v,t.collection.size===0&&{tabIndex:E?-1:0}||void 0,x);return o&&(D["aria-rowcount"]=t.collection.size,D["aria-colcount"]=t.collection.columnCount),Is({getRowText:s},t),{gridProps:D}}function Ob(e,t){let{key:r}=e,o=t.selectionManager,n=Y(),i=!t.selectionManager.canSelectItem(r),a=t.selectionManager.isSelected(r),l=()=>o.toggleSelection(r),s=xe(ua,"@react-aria/grid");return {checkboxProps:{id:n,"aria-label":s.format("select"),isSelected:a,isDisabled:i,onChange:l}}}function ca(e,t,r){let{isVirtualized:o,keyboardDelegate:n,layoutDelegate:i,onAction:a,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:u="arrow",escapeKeyBehavior:c="clearSelection",shouldSelectOnPressUp:d}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:m}=On({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:n,layoutDelegate:i,isVirtualized:o,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus,escapeKeyBehavior:c}),p=Y(e.id);ws.set(t,{id:p,onAction:a,linkBehavior:s,keyboardNavigationBehavior:u,shouldSelectOnPressUp:d});let y=Rs({selectionManager:t.selectionManager,hasItemActions:!!a}),b=An(r,{isDisabled:t.collection.size!==0}),f=le(e,{labelable:true}),h=R(f,{role:"grid",id:p,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:b?-1:0}:m,y);return o&&(h["aria-rowcount"]=t.collection.size,h["aria-colcount"]=1),Is({},t),{gridProps:h}}var AC={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function da(e,t,r){let{node:o,isVirtualized:n}=e,{direction:i}=J(),{onAction:a,linkBehavior:l,keyboardNavigationBehavior:s,shouldSelectOnPressUp:u}=ws.get(t),c=St(),d=useRef(null),m=()=>{let D=H(r.current),I=pe(D);r.current!==null&&(d.current!=null&&o.key!==d.current||!se(r.current,I))&&We(r.current);},p={},y=e.hasChildItems,b=t.selectionManager.isLink(o.key);if(o!=null&&"expandedKeys"in t){let D=t.collection.getChildren?.(o.key);y=y||[...D??[]].length>1,a==null&&!b&&t.selectionManager.selectionMode==="none"&&y&&(a=()=>t.toggleKey(o.key));let I=y?t.expandedKeys.has(o.key):void 0,C=1;if(o.level>0&&o?.parentKey!=null){let _=t.collection.getItem(o.parentKey);_&&(C=[...t.collection.getChildren?.(_.key)].filter(w=>w.type==="item").length);}else C=[...t.collection].filter(_=>_.level===0&&_.type==="item").length;p={"aria-expanded":I,"aria-level":o.level+1,"aria-posinset":o?.index+1,"aria-setsize":C};}let{itemProps:f,...h}=vo({selectionManager:t.selectionManager,key:o.key,ref:r,shouldSelectOnPressUp:e.shouldSelectOnPressUp||u,onAction:a||o.props?.onAction?Ve(o.props?.onAction,a?()=>a(o.key):void 0):void 0,focus:m,linkBehavior:l}),v=D=>{let I=H(r.current),C=pe(I);if(!se(r.current,te(D.nativeEvent))||!r.current||!C)return;let _=qe(r.current);if(_.currentNode=C,"expandedKeys"in t&&C===r.current){if(D.key===AC.expand[i]&&t.selectionManager.focusedKey===o.key&&y&&!t.expandedKeys.has(o.key)){t.toggleKey(o.key),D.stopPropagation();return}else if(D.key===AC.collapse[i]&&t.selectionManager.focusedKey===o.key&&y&&t.expandedKeys.has(o.key)){t.toggleKey(o.key),D.stopPropagation();return}}switch(D.key){case "ArrowLeft":{if(s==="arrow"){let z=i==="rtl"?_.nextNode():_.previousNode();if(z)D.preventDefault(),D.stopPropagation(),We(z),sr(z,{containingElement:mt(r.current)});else if(D.preventDefault(),D.stopPropagation(),i==="rtl")We(r.current),sr(r.current,{containingElement:mt(r.current)});else {_.currentNode=r.current;let w=NC(_);w&&(We(w),sr(w,{containingElement:mt(r.current)}));}}break}case "ArrowRight":{if(s==="arrow"){let z=i==="rtl"?_.previousNode():_.nextNode();if(z)D.preventDefault(),D.stopPropagation(),We(z),sr(z,{containingElement:mt(r.current)});else if(D.preventDefault(),D.stopPropagation(),i==="ltr")We(r.current),sr(r.current,{containingElement:mt(r.current)});else {_.currentNode=r.current;let w=NC(_);w&&(We(w),sr(w,{containingElement:mt(r.current)}));}}break}case "ArrowUp":case "ArrowDown":!D.altKey&&r.current.contains(D.target)&&(D.stopPropagation(),D.preventDefault(),r.current.parentElement?.dispatchEvent(new KeyboardEvent(D.nativeEvent.type,D.nativeEvent)));break}},g=D=>{if(d.current=o.key,D.target!==r.current){Ht()||t.selectionManager.setFocusedKey(o.key);return}},x=D=>{let I=H(r.current),C=pe(I);if(!(!se(r.current,te(D.nativeEvent))||!r.current||!C))switch(D.key){case "Tab":if(s==="tab"){let _=qe(r.current,{tabbable:true});_.currentNode=document.activeElement,(D.shiftKey?_.previousNode():_.nextNode())&&D.stopPropagation();}}},T=Sl(o.props),P=h.hasAction?T:{},S=R(f,P,{role:"row",onKeyDownCapture:v,onKeyDown:x,onFocus:g,"aria-label":o.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(o.key)?t.selectionManager.isSelected(o.key):void 0,"aria-disabled":t.selectionManager.isDisabled(o.key)||void 0,"aria-labelledby":c&&o.textValue?`${_s(t,o.key)} ${c}`:void 0,id:_s(t,o.key)});if(n){let{collection:D}=t,I=[...D];S["aria-rowindex"]=I.find(C=>C.type==="section")?[...D.getKeys()].filter(C=>D.getItem(C)?.type!=="section").findIndex(C=>C===o.key)+1:o.index+1;}let E={role:"gridcell","aria-colindex":1};return {rowProps:{...R(S,p)},gridCellProps:E,descriptionProps:{id:c},...h}}function NC(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}function yd(e,t){let{key:r}=e,{checkboxProps:o}=Ob(e,t);return {checkboxProps:{...o,"aria-labelledby":`${o.id} ${_s(t,r)}`}}}var KC=1,Fb=Symbol.for("react-aria-landmark-manager");function QK(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function FC(){if(typeof document>"u")return null;let e=document[Fb];return e&&e.version>=KC?e:(document[Fb]=new Kb,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Fb])}function eV(){return useSyncExternalStore(QK,FC,FC)}var Kb=class{landmarks=[];isListening=false;refCount=0;version=KC;constructor(){this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this);}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:true}),document.addEventListener("focusin",this.focusinHandler,{capture:true}),document.addEventListener("focusout",this.focusoutHandler,{capture:true}),this.isListening=true);}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:true}),document.removeEventListener("focusin",this.focusinHandler,{capture:true}),document.removeEventListener("focusout",this.focusoutHandler,{capture:true}),this.isListening=false);}focusLandmark(t,r){this.landmarks.find(o=>o.ref.current===t)?.focus?.(r);}getLandmarksByRole(t){return new Set(this.landmarks.filter(r=>r.role===t))}getLandmarkByRole(t){return this.landmarks.find(r=>r.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(n=>n.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(n=>n.role==="main").length>1&&process.env.NODE_ENV!=="production"&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let r=0,o=this.landmarks.length-1;for(;r<=o;){let n=Math.floor((r+o)/2),i=t.ref.current.compareDocumentPosition(this.landmarks[n].ref.current);!!(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)?r=n+1:o=n-1;}this.landmarks.splice(r,0,t),this.checkLabels(t.role);}updateLandmark(t){let r=this.landmarks.findIndex(o=>o.ref===t.ref);r>=0&&(this.landmarks[r]={...this.landmarks[r],...t},this.checkLabels(this.landmarks[r].role));}removeLandmark(t){this.landmarks=this.landmarks.filter(r=>r.ref!==t),this.teardownIfNeeded();}checkLabels(t){let r=this.getLandmarksByRole(t);if(r.size>1){let o=[...r].filter(n=>!n.label);if(o.length>0&&process.env.NODE_ENV!=="production")console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,o.map(n=>n.ref.current));else if(process.env.NODE_ENV!=="production"){let n=[...r].map(a=>a.label);n.filter((a,l)=>n.indexOf(a)!==l).forEach(a=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${a}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...r].filter(l=>l.label===a).map(l=>l.ref.current));});}}}closestLandmark(t){let r=new Map(this.landmarks.map(n=>[n.ref.current,n])),o=t;for(;o&&!r.has(o)&&o!==document.body&&o.parentElement;)o=o.parentElement;return r.get(o)}getNextLandmark(t,{backward:r}){let o=this.closestLandmark(t),n=r?this.landmarks.length-1:0;o&&(n=this.landmarks.indexOf(o)+(r?-1:1));let i=()=>{if(n<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:true,cancelable:true})))return true;n=this.landmarks.length-1;}else if(n>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:true,cancelable:true})))return true;n=0;}return n<0||n>=this.landmarks.length};if(i())return;let a=n;for(;this.landmarks[n].ref.current?.closest("[aria-hidden=true]");){if(n+=r?-1:1,i())return;if(n===a)break}return this.landmarks[n]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation());}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),true):false}navigate(t,r){let o=this.getNextLandmark(t,{backward:r});if(!o)return false;if(o.lastFocused){let n=o.lastFocused;if(document.body.contains(n))return n.focus(),true}return o.ref.current&&document.contains(o.ref.current)?(this.focusLandmark(o.ref.current,r?"backward":"forward"),true):false}focusinHandler(t){let r=this.closestLandmark(t.target);r&&r.ref.current!==t.target&&this.updateLandmark({ref:r.ref,lastFocused:t.target});let o=t.relatedTarget;if(o){let n=this.closestLandmark(o);n&&n.ref.current===o&&n.blur();}}focusoutHandler(t){let r=t.target,o=t.relatedTarget;if(!o||o===document){let n=this.closestLandmark(r);n&&n.ref.current===r&&n.blur();}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(r,o){let n=o?.from||document.activeElement;return t.navigate(n,r==="backward")},focusNext(r){let o=r?.from||document.activeElement;return t.navigate(o,false)},focusPrevious(r){let o=r?.from||document.activeElement;return t.navigate(o,true)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null);}}}registerLandmark(t){return this.landmarks.find(r=>r.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}};function Vb(e,t){let{role:r,"aria-label":o,"aria-labelledby":n,focus:i}=e,a=eV(),l=o||n,[s,u]=useState(false),c=useCallback(()=>{u(true);},[u]),d=useCallback(()=>{u(false);},[u]);return ae(()=>{if(a)return a.registerLandmark({ref:t,label:l,role:r,focus:i||c,blur:d})},[a,l,t,r,i,c,d]),useEffect(()=>{s&&t.current?.focus();},[s,t]),{landmarkProps:{role:r,tabIndex:s?-1:void 0,"aria-label":o,"aria-labelledby":n}}}function pa(e){let{value:t=0,minValue:r=0,maxValue:o=100,valueLabel:n,isIndeterminate:i,formatOptions:a={style:"percent"}}=e,l=le(e,{labelable:true}),{labelProps:s,fieldProps:u}=vt({...e,labelElementType:"span"});t=Ne(t,r,o);let c=(t-r)/(o-r),d=gr(a);if(!i&&!n){let m=a.style==="percent"?c:t;n=d.format(m);}return {progressBarProps:R(l,{...u,"aria-valuenow":i?void 0:t,"aria-valuemin":r,"aria-valuemax":o,"aria-valuetext":i?void 0:n,role:"progressbar"}),labelProps:s}}var bd=new WeakMap;function gd(e,t,r){let{value:o,children:n,"aria-label":i,"aria-labelledby":a,onPressStart:l,onPressEnd:s,onPressChange:u,onPress:c,onPressUp:d,onClick:m}=e,p=e.isDisabled||t.isDisabled,y=n!=null,b=i!=null||a!=null;!y&&!b&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let f=t.selectedValue===o,h=O=>{O.stopPropagation(),t.setSelectedValue(o);},{pressProps:v,isPressed:g}=Se({onPressStart:l,onPressEnd:s,onPressChange:u,onPress:c,onPressUp:d,onClick:m,isDisabled:p}),{pressProps:x,isPressed:T}=Se({onPressStart:l,onPressEnd:s,onPressChange:u,onPressUp:d,onClick:m,isDisabled:p,onPress(O){c?.(O),t.setSelectedValue(o),r.current?.focus();}}),{focusableProps:P}=Xe(R(e,{onFocus:()=>t.setLastFocusedValue(o)}),r),S=R(v,P),E=le(e,{labelable:true}),D=-1;t.selectedValue!=null?t.selectedValue===o&&(D=0):(t.lastFocusedValue===o||t.lastFocusedValue==null)&&(D=0),p&&(D=void 0);let{name:I,form:C,descriptionId:_,errorMessageId:z,validationBehavior:w}=bd.get(t);return yt(r,t.defaultSelectedValue,t.setSelectedValue),Nr({validationBehavior:w},t,r),{labelProps:R(x,useMemo(()=>({onClick:O=>O.preventDefault(),onMouseDown:O=>O.preventDefault()}),[])),inputProps:R(E,{...S,type:"radio",name:I,form:C,tabIndex:D,disabled:p,required:t.isRequired&&w==="native",checked:f,value:o,onChange:h,"aria-describedby":[e["aria-describedby"],t.isInvalid?z:null,_].filter(Boolean).join(" ")||void 0}),isDisabled:p,isSelected:f,isPressed:g||T}}function hd(e,t,r){let{name:o,form:n,isReadOnly:i,isRequired:a,isDisabled:l,orientation:s="vertical",validationBehavior:u="aria"}=e,{direction:c}=J(),{isInvalid:d,validationErrors:m,validationDetails:p}=t.displayValidation,{labelProps:y,fieldProps:b,descriptionProps:f,errorMessageProps:h}=Jt({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||m,ref:r}),v=le(e,{labelable:true}),{focusWithinProps:g}=je({onBlurWithin(P){e.onBlur?.(P),t.selectedValue||t.setLastFocusedValue(null);},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=P=>{let S;switch(P.key){case "ArrowRight":c==="rtl"&&s!=="vertical"?S="prev":S="next";break;case "ArrowLeft":c==="rtl"&&s!=="vertical"?S="next":S="prev";break;case "ArrowDown":S="next";break;case "ArrowUp":S="prev";break;default:return}P.preventDefault();let E=qe(P.currentTarget,{from:P.target,accept:I=>I instanceof j(I).HTMLInputElement&&I.type==="radio"}),D;S==="next"?(D=E.nextNode(),D||(E.currentNode=P.currentTarget,D=E.firstChild())):(D=E.previousNode(),D||(E.currentNode=P.currentTarget,D=E.lastChild())),D&&(D.focus(),t.setSelectedValue(D.value));},T=Y(o);return bd.set(t,{name:T,form:n,descriptionId:f.id,errorMessageId:h.id,validationBehavior:u}),{radioGroupProps:R(v,{role:"radiogroup",onKeyDown:x,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":i||void 0,"aria-required":a||void 0,"aria-disabled":l||void 0,"aria-orientation":s,...b,...g}),labelProps:y,descriptionProps:f,errorMessageProps:h,isInvalid:d,validationErrors:m,validationDetails:p}}var vd=new WeakMap;function xd(e,t,r){let{keyboardDelegate:o,isDisabled:n,isRequired:i,name:a,form:l,validationBehavior:s="aria"}=e,u=$t({usage:"search",sensitivity:"base"}),c=useMemo(()=>o||new ct(t.collection,t.disabledKeys,r,u),[o,t.collection,t.disabledKeys,u,r]),{menuTriggerProps:d,menuProps:m}=qo({isDisabled:n,type:"listbox"},t,r),p=D=>{if(t.selectionManager.selectionMode!=="multiple")switch(D.key){case "ArrowLeft":{D.preventDefault();let I=t.selectedKey!=null?c.getKeyAbove?.(t.selectedKey):c.getFirstKey?.();I&&t.setSelectedKey(I);break}case "ArrowRight":{D.preventDefault();let I=t.selectedKey!=null?c.getKeyBelow?.(t.selectedKey):c.getFirstKey?.();I&&t.setSelectedKey(I);break}}},{typeSelectProps:y}=ds({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(D){t.setSelectedKey(D);}}),{isInvalid:b,validationErrors:f,validationDetails:h}=t.displayValidation,{labelProps:v,fieldProps:g,descriptionProps:x,errorMessageProps:T}=Jt({...e,labelElementType:"span",isInvalid:b,errorMessage:e.errorMessage||f,ref:r});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture,t.selectionManager.selectionMode==="multiple"&&(y={});let P=le(e,{labelable:true}),S=R(y,d,g),E=Y();return vd.set(t,{isDisabled:n,isRequired:i,name:a,form:l,validationBehavior:s}),{labelProps:{...v,onClick:()=>{e.isDisabled||(r.current?.focus(),vr("keyboard"));}},triggerProps:R(P,{...S,isDisabled:n,onKeyDown:Ve(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[E,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(D){t.isFocused||(e.onFocus&&e.onFocus(D),e.onFocusChange&&e.onFocusChange(true),t.setFocused(true));},onBlur(D){t.isOpen||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(false),t.setFocused(false));}}),valueProps:{id:E},menuProps:{...m,autoFocus:t.focusStrategy||true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,disallowEmptySelection:true,linkBehavior:"selection",onBlur:D=>{D.currentTarget.contains(D.relatedTarget)||(e.onBlur&&e.onBlur(D),e.onFocusChange&&e.onFocusChange(false),t.setFocused(false));},"aria-labelledby":[g["aria-labelledby"],S["aria-label"]&&!g["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:x,errorMessageProps:T,isInvalid:b,validationErrors:f,validationDetails:h,hiddenSelectProps:{isDisabled:n,name:a,label:e.label,state:t,triggerRef:r,form:l}}}function Bb(e,t,r){let o=vd.get(t)||{},{autoComplete:n,name:i=o.name,form:a=o.form,isDisabled:l=o.isDisabled}=e,{validationBehavior:s,isRequired:u}=o,{visuallyHiddenProps:c}=ur({style:{position:"fixed",top:0,left:0}});yt(e.selectRef,t.defaultValue,t.setValue),Nr({validationBehavior:s,focus:()=>r.current?.focus()},t,e.selectRef);let d=t.setValue,m=useCallback(p=>{p.target.multiple?d(Array.from(p.target.selectedOptions,y=>y.value)):d(p.currentTarget.value);},[d]);return {containerProps:{...c,"aria-hidden":true,"data-react-aria-prevent-focus":true,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:n,disabled:l,multiple:t.selectionManager.selectionMode==="multiple",required:s==="native"&&u,name:i,form:a,value:t.value??"",onChange:m,onInput:m}}}function Td(e){let{state:t,triggerRef:r,label:o,name:n,form:i,isDisabled:a}=e,l=useRef(null),s=useRef(null),{containerProps:u,selectProps:c}=Bb({...e,selectRef:t.collection.size<=300?l:s},t,r);if(t.collection.size<=300)return jsx("div",{...u,"data-testid":"hidden-select-container",children:jsxs("label",{children:[o,jsxs("select",{...c,ref:l,children:[jsx("option",{}),[...t.collection.getKeys()].map(d=>{let m=t.collection.getItem(d);if(m&&m.type==="item")return jsx("option",{value:m.key,children:m.textValue},m.key)})]})]})});if(n){let d=vd.get(t)||{},{validationBehavior:m}=d,p=Array.isArray(t.value)?t.value:[t.value];p.length===0&&(p=[null]);let y=p.map((b,f)=>{let h={type:"hidden",autoComplete:c.autoComplete,name:n,form:i,disabled:a,value:b??""};return m==="native"?jsx("input",{...h,ref:f===0?s:null,style:{display:"none"},type:"text",required:f===0?c.required:false,onChange:()=>{}},f):jsx("input",{...h,ref:f===0?s:null},f)});return jsx(Fragment,{children:y})}return null}function Pd(e){let t=le(e,{labelable:true}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function fa(e,t,r){let{labelProps:o,inputProps:n,isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}=fs(e,t,r);return {labelProps:o,inputProps:{...n,role:"switch",checked:i},isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}}var $b=new WeakMap;function iV(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function $C(e,t){let r=$b.get(e);if(!r)throw new Error("Unknown grid");return `${r}-${iV(t)}`}var Cd={"ar-AE":{ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",ascendingSort:e=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${e.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A`,columnSize:e=>`${e.value} \u0628\u0627\u0644\u0628\u0643\u0633\u0644`,descending:"\u062A\u0646\u0627\u0632\u0644\u064A",descendingSort:e=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${e.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A`,resizerDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D Enter \u0644\u0628\u062F\u0621 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",select:"\u062A\u062D\u062F\u064A\u062F",selectAll:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sortable:"\u0639\u0645\u0648\u062F \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0631\u062A\u064A\u0628"},"bg-BG":{ascending:"\u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449",ascendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${e.columnName} \u0432\u044A\u0432 \u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,columnSize:e=>`${e.value} \u043F\u0438\u043A\u0441\u0435\u043B\u0430`,descending:"\u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449",descendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${e.columnName} \u0432 \u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u0442\u0435",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectAll:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043A\u043E",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u0449\u0430 \u043A\u043E\u043B\u043E\u043D\u0430"},"cs-CZ":{ascending:"vzestupn\u011B",ascendingSort:e=>`\u0159azeno vzestupn\u011B podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixel\u016F`,descending:"sestupn\u011B",descendingSort:e=>`\u0159azeno sestupn\u011B podle sloupce ${e.columnName}`,resizerDescription:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete m\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\u0161e",sortable:"sloupec s mo\u017Enost\xED \u0159azen\xED"},"da-DK":{ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xE6kkef\xF8lge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xE6kkef\xF8lge`,resizerDescription:"Tryk p\xE5 Enter for at \xE6ndre st\xF8rrelse",select:"V\xE6lg",selectAll:"V\xE6lg alle",sortable:"sorterbar kolonne"},"de-DE":{ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Gr\xF6\xDFen\xE4nderung dr\xFCcken",select:"Ausw\xE4hlen",selectAll:"Alles ausw\xE4hlen",sortable:"sortierbare Spalte"},"el-GR":{ascending:"\u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1",ascendingSort:e=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${e.columnName} \u03C3\u03B5 \u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,columnSize:e=>`${e.value} pixel`,descending:"\u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1",descendingSort:e=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${e.columnName} \u03C3\u03B5 \u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,resizerDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE\u03C2 \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectAll:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD",sortable:"\u03A3\u03C4\u03AE\u03BB\u03B7 \u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE\u03C2"},"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"},"es-ES":{ascending:"ascendente",ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,columnSize:e=>`${e.value} p\xEDxeles`,descending:"descendente",descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"},"et-EE":{ascending:"t\xF5usev j\xE4rjestus",ascendingSort:e=>`sorditud veeru j\xE4rgi ${e.columnName} t\xF5usvas j\xE4rjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv j\xE4rjestus",descendingSort:e=>`sorditud veeru j\xE4rgi ${e.columnName} laskuvas j\xE4rjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\xF5ik",sortable:"sorditav veerg"},"fi-FI":{ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xE4rjestyksess\xE4`,columnSize:e=>`${e.value} pikseli\xE4`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xE4rjestyksess\xE4`,resizerDescription:"Aloita koon muutos painamalla Enter-n\xE4pp\xE4int\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"},"fr-FR":{ascending:"croissant",ascendingSort:e=>`tri\xE9 en fonction de la colonne\xA0${e.columnName} par ordre croissant`,columnSize:e=>`${e.value}\xA0pixels`,descending:"d\xE9croissant",descendingSort:e=>`tri\xE9 en fonction de la colonne\xA0${e.columnName} par ordre d\xE9croissant`,resizerDescription:"Appuyez sur Entr\xE9e pour commencer le redimensionnement.",select:"S\xE9lectionner",selectAll:"S\xE9lectionner tout",sortable:"colonne triable"},"he-IL":{ascending:"\u05E2\u05D5\u05DC\u05D4",ascendingSort:e=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${e.columnName} \u05D1\u05E1\u05D3\u05E8 \u05E2\u05D5\u05DC\u05D4`,columnSize:e=>`${e.value} \u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD`,descending:"\u05D9\u05D5\u05E8\u05D3",descendingSort:e=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${e.columnName} \u05D1\u05E1\u05D3\u05E8 \u05D9\u05D5\u05E8\u05D3`,resizerDescription:"\u05D4\u05E7\u05E9 Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D2\u05D5\u05D3\u05DC",select:"\u05D1\u05D7\u05E8",selectAll:"\u05D1\u05D7\u05E8 \u05D4\u05DB\u05D5\u05DC",sortable:"\u05E2\u05DE\u05D5\u05D3\u05D4 \u05E9\u05E0\u05D9\u05EA\u05DF \u05DC\u05DE\u05D9\u05D9\u05DF"},"hr-HR":{ascending:"rastu\u0107i",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u0107em redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padaju\u0107i",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u0107im redoslijedom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\u017Ee razvrstati"},"hu-HU":{ascending:"n\xF6vekv\u0151",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xF6vekv\u0151 sorrendben`,columnSize:e=>`${e.value} k\xE9ppont`,descending:"cs\xF6kken\u0151",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xF6kken\u0151 sorrendben`,resizerDescription:"Nyomja le az Enter billenty\u0171t az \xE1tm\xE9retez\xE9s megkezd\xE9s\xE9hez",select:"Kijel\xF6l\xE9s",selectAll:"\xD6sszes kijel\xF6l\xE9se",sortable:"rendezend\u0151 oszlop"},"it-IT":{ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"},"ja-JP":{ascending:"\u6607\u9806",ascendingSort:e=>`\u5217 ${e.columnName} \u3092\u6607\u9806\u3067\u4E26\u3079\u66FF\u3048`,columnSize:e=>`${e.value} \u30D4\u30AF\u30BB\u30EB`,descending:"\u964D\u9806",descendingSort:e=>`\u5217 ${e.columnName} \u3092\u964D\u9806\u3067\u4E26\u3079\u66FF\u3048`,resizerDescription:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u958B\u59CB",select:"\u9078\u629E",selectAll:"\u3059\u3079\u3066\u9078\u629E",sortable:"\u4E26\u3079\u66FF\u3048\u53EF\u80FD\u306A\u5217"},"ko-KR":{ascending:"\uC624\uB984\uCC28\uC21C",ascendingSort:e=>`${e.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uC624\uB984\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,columnSize:e=>`${e.value} \uD53D\uC140`,descending:"\uB0B4\uB9BC\uCC28\uC21C",descendingSort:e=>`${e.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,resizerDescription:"\uD06C\uAE30 \uC870\uC815\uC744 \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",select:"\uC120\uD0DD",selectAll:"\uBAA8\uB450 \uC120\uD0DD",sortable:"\uC815\uB82C \uAC00\uB2A5\uD55C \uC5F4"},"lt-LT":{ascending:"did\u0117jan\u010Dia tvarka",ascendingSort:e=>`surikiuota pagal stulpel\u012F ${e.columnName} did\u0117jan\u010Dia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"ma\u017E\u0117jan\u010Dia tvarka",descendingSort:e=>`surikiuota pagal stulpel\u012F ${e.columnName} ma\u017E\u0117jan\u010Dia tvarka`,resizerDescription:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te keisti dyd\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\u0105",sortable:"rikiuojamas stulpelis"},"lv-LV":{ascending:"augo\u0161\u0101 sec\u012Bb\u0101",ascendingSort:e=>`k\u0101rtots p\u0113c kolonnas ${e.columnName} augo\u0161\u0101 sec\u012Bb\u0101`,columnSize:e=>`${e.value} pikse\u013Ci`,descending:"dilsto\u0161\u0101 sec\u012Bb\u0101",descendingSort:e=>`k\u0101rtots p\u0113c kolonnas ${e.columnName} dilsto\u0161\u0101 sec\u012Bb\u0101`,resizerDescription:"Nospiediet Enter, lai s\u0101ktu izm\u0113ru main\u012B\u0161anu",select:"Atlas\u012Bt",selectAll:"Atlas\u012Bt visu",sortable:"k\u0101rtojam\u0101 kolonna"},"nb-NO":{ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xF8lge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xF8lge`,resizerDescription:"Trykk p\xE5 Enter for \xE5 starte st\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"},"nl-NL":{ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"},"pl-PL":{ascending:"rosn\u0105co",ascendingSort:e=>`posortowano wed\u0142ug kolumny ${e.columnName} w porz\u0105dku rosn\u0105cym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malej\u0105co",descendingSort:e=>`posortowano wed\u0142ug kolumny ${e.columnName} w porz\u0105dku malej\u0105cym`,resizerDescription:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\u017Cliwo\u015Bci\u0105 sortowania"},"pt-BR":{ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para come\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\xE1vel"},"pt-PT":{ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\xE1vel"},"ro-RO":{ascending:"cresc\u0103toare",ascendingSort:e=>`sortate dup\u0103 coloana ${e.columnName} \xEEn ordine cresc\u0103toare`,columnSize:e=>`${e.value} pixeli`,descending:"descresc\u0103toare",descendingSort:e=>`sortate dup\u0103 coloana ${e.columnName} \xEEn ordine descresc\u0103toare`,resizerDescription:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\u0103",sortable:"coloan\u0103 sortabil\u0103"},"ru-RU":{ascending:"\u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u0435",ascendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${e.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044F`,columnSize:e=>`${e.value} \u043F\u0438\u043A\u0441.`,descending:"\u0443\u0431\u044B\u0432\u0430\u043D\u0438\u0435",descendingSort:e=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${e.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044F`,resizerDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u0432",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectAll:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0441\u0442\u043E\u043B\u0431\u0435\u0446"},"sk-SK":{ascending:"vzostupne",ascendingSort:e=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${e.columnName}`,columnSize:e=>`Po\u010Det pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${e.columnName}`,resizerDescription:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete zmenu ve\u013Ekosti",select:"Vybra\u0165",selectAll:"Vybra\u0165 v\u0161etko",sortable:"zoradite\u013En\xFD st\u013Apec"},"sl-SI":{ascending:"nara\u0161\u010Dajo\u010De",ascendingSort:e=>`razvr\u0161\u010Deno po stolpcu ${e.columnName} v nara\u0161\u010Dajo\u010Dem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajo\u010De",descendingSort:e=>`razvr\u0161\u010Deno po stolpcu ${e.columnName} v padajo\u010Dem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da za\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"},"sr-SP":{ascending:"rastu\u0107i",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u0107im redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padaju\u0107i",descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u0107im redosledom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\u017Ee sortirati"},"sv-SE":{ascending:"stigande",ascendingSort:e=>`sorterat p\xE5 kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat p\xE5 kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck p\xE5 Retur f\xF6r att b\xF6rja \xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"},"tr-TR":{ascending:"artan s\u0131rada",ascendingSort:e=>`${e.columnName} s\xFCtuna g\xF6re artan d\xFCzende s\u0131rala`,columnSize:e=>`${e.value} piksel`,descending:"azalan s\u0131rada",descendingSort:e=>`${e.columnName} s\xFCtuna g\xF6re azalan d\xFCzende s\u0131rala`,resizerDescription:"Yeniden boyutland\u0131rmak i\xE7in Enter'a bas\u0131n",select:"Se\xE7",selectAll:"T\xFCm\xFCn\xFC Se\xE7",sortable:"S\u0131ralanabilir s\xFCtun"},"uk-UA":{ascending:"\u0432\u0438\u0441\u0445\u0456\u0434\u043D\u0438\u0439",ascendingSort:e=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${e.columnName} \u0443 \u0432\u0438\u0441\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,columnSize:e=>`${e.value} \u043F\u0456\u043A\u0441.`,descending:"\u043D\u0438\u0437\u0445\u0456\u0434\u043D\u0438\u0439",descendingSort:e=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${e.columnName} \u0443 \u043D\u0438\u0437\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0443 \u0440\u043E\u0437\u043C\u0456\u0440\u0443",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectAll:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u043E\u0432\u043F\u0435\u0446\u044C"},"zh-CN":{ascending:"\u5347\u5E8F",ascendingSort:e=>`\u6309\u5217 ${e.columnName} \u5347\u5E8F\u6392\u5E8F`,columnSize:e=>`${e.value} \u50CF\u7D20`,descending:"\u964D\u5E8F",descendingSort:e=>`\u6309\u5217 ${e.columnName} \u964D\u5E8F\u6392\u5E8F`,resizerDescription:"\u6309\u201C\u8F93\u5165\u201D\u952E\u5F00\u59CB\u8C03\u6574\u5927\u5C0F\u3002",select:"\u9009\u62E9",selectAll:"\u5168\u9009",sortable:"\u53EF\u6392\u5E8F\u7684\u5217"},"zh-TW":{ascending:"\u905E\u589E",ascendingSort:e=>`\u5DF2\u4F9D\u64DA\u300C${e.columnName}\u300D\u6B04\u905E\u589E\u6392\u5E8F`,columnSize:e=>`${e.value} \u50CF\u7D20`,descending:"\u905E\u6E1B",descendingSort:e=>`\u5DF2\u4F9D\u64DA\u300C${e.columnName}\u300D\u6B04\u905E\u6E1B\u6392\u5E8F`,resizerDescription:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u8ABF\u6574\u5927\u5C0F",select:"\u9078\u53D6",selectAll:"\u5168\u9078",sortable:"\u53EF\u6392\u5E8F\u7684\u6B04"}};var Sd=class extends Xn{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let o=jt(Ee(r,this.collection));if(o)return o.key;let n=this.getFirstKey();return n==null||!this.collection.getItem(n)?null:super.getKeyForItemInRowByIndex(n,r.index)}return super.getKeyBelow(t)}getKeyAbove(t){let r=this.collection.getItem(t);if(!r)return null;if(r.type==="column"){let i=r.parentKey!=null?this.collection.getItem(r.parentKey):null;return i&&i.type==="column"?i.key:null}let o=super.getKeyAbove(t),n=o!=null?this.collection.getItem(o):null;return n&&n.type!=="headerrow"?o:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(t){let r=this.findNextKey(t.key,n=>n.type==="column");if(r!=null)return r;let o=this.collection.headerRows[t.level];for(let n of Ee(o,this.collection))if(n.type==="column")return n.key;return null}findPreviousColumnKey(t){let r=this.findPreviousKey(t.key,i=>i.type==="column");if(r!=null)return r;let o=this.collection.headerRows[t.level],n=[...Ee(o,this.collection)];for(let i=n.length-1;i>=0;i--){let a=n[i];if(a.type==="column")return a.key}return null}getKeyRightOf(t){let r=this.collection.getItem(t);return r?r.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(r):this.findNextColumnKey(r):super.getKeyRightOf(t):null}getKeyLeftOf(t){let r=this.collection.getItem(t);return r?r.type==="column"?this.direction==="rtl"?this.findNextColumnKey(r):this.findPreviousColumnKey(r):super.getKeyLeftOf(t):null}getKeyForSearch(t,r){if(!this.collator)return null;let o=this.collection,n=r??this.getFirstKey();if(n==null)return null;let i=o.getItem(n);i?.type==="cell"&&(n=i.parentKey??null);let a=false;for(;n!=null;){let l=o.getItem(n);if(!l)return null;if(l.textValue){let s=l.textValue.slice(0,t.length);if(this.collator.compare(s,t)===0)return l.key}for(let s of Ee(l,this.collection)){let u=o.columns[s.index];if(o.rowHeaderColumnKeys.has(u.key)&&s.textValue){let c=s.textValue.slice(0,t.length);if(this.collator.compare(c,t)===0)return (r!=null?o.getItem(r):i)?.type==="cell"?s.key:l.key}}n=this.getKeyBelow(n),n==null&&!a&&(n=this.getFirstKey(),a=true);}return null}};function Dd(e,t,r){let{keyboardDelegate:o,isVirtualized:n,layoutDelegate:i,layout:a}=e,l=$t({usage:"search",sensitivity:"base"}),{direction:s}=J(),u=t.selectionManager.disabledBehavior,c=useMemo(()=>o||new Sd({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:u,ref:r,direction:s,collator:l,layoutDelegate:i,layout:a}),[o,t.collection,t.disabledKeys,u,r,s,l,i,a]),d=Y(e.id);$b.set(t,d);let{gridProps:m}=Nb({...e,id:d,keyboardDelegate:c},t,r);n&&(m["aria-rowcount"]=t.collection.size+t.collection.headerRows.length);let{column:p,direction:y}=t.sortDescriptor||{},b=xe(Cd,"@react-aria/table"),f=useMemo(()=>{let v=t.collection.columns.find(g=>g.key===p)?.textValue??"";return y&&p?b.format(`${y}Sort`,{columnName:v}):void 0},[y,p,t.collection.columns]),h=ft(f);return kn(()=>{f&&st(f,"assertive",500);},[f]),{gridProps:R(m,h,{"aria-describedby":[h["aria-describedby"],m["aria-describedby"]].filter(Boolean).join(" ")})}}function kd(e,t,r){let{column:o,triggerRef:n,isDisabled:i,onResizeStart:a,onResize:l,onResizeEnd:s,"aria-label":u}=e,c=xe(Cd,"@react-aria/table"),d=Y(),m=t.resizingColumn===o.key,p=useRef(m),y=useRef(null),b=useRef(false),f=t.tableState.isKeyboardNavigationDisabled,{direction:h}=J(),{keyboardProps:v}=Ce({onKeyDown:A=>{f?(A.key==="Escape"||A.key==="Enter"||A.key===" "||A.key==="Tab")&&(A.preventDefault(),T(o)):(A.continuePropagation(),A.key==="Enter"&&g(o));}}),g=ue(A=>{p.current||(y.current=t.updateResizedColumns(A.key,t.getColumnWidth(A.key)),t.startResize(A.key),t.tableState.setKeyboardNavigationDisabled(true),a?.(y.current)),p.current=true;}),x=ue((A,B)=>{let U=t.updateResizedColumns(A.key,B);l?.(U),y.current=U;}),T=ue(A=>{p.current&&(y.current==null&&(y.current=t.updateResizedColumns(A.key,t.getColumnWidth(A.key))),t.endResize(),t.tableState.setKeyboardNavigationDisabled(false),s?.(y.current),p.current=false,n?.current&&!b.current&&We(n.current)),y.current=null;}),P=useRef(0),{moveProps:S}=Rr({onMoveStart(){P.current=t.getColumnWidth(o.key),g(o);},onMove(A){let{deltaX:B,deltaY:U,pointerType:oe}=A;h==="rtl"&&(B*=-1),oe==="keyboard"&&(U!==0&&B===0&&(B=U*-1),B*=10),B!==0&&(P.current+=B,x(o,P.current));},onMoveEnd(A){let{pointerType:B}=A;P.current=0,(B==="mouse"||B==="touch"&&b.current)&&T(o);}}),E=useCallback(A=>{f&&S.onKeyDown?.(A);},[f,S]),D=Math.floor(t.getColumnMinWidth(o.key)),I=Math.floor(t.getColumnMaxWidth(o.key));I===1/0&&(I=Number.MAX_SAFE_INTEGER);let C=Math.floor(t.getColumnWidth(o.key)),_=Xt();_==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(_="touch");let z=n?.current==null&&(_==="keyboard"||_==="virtual")&&!m?c.format("resizerDescription"):void 0,w=ft(z),O={"aria-label":u,"aria-orientation":"horizontal","aria-labelledby":`${d} ${$C(t.tableState,o.key)}`,"aria-valuetext":c.format("columnSize",{value:C}),type:"range",min:D,max:I,value:C,...w},k=useCallback(()=>{r.current&&We(r.current);},[r]),M=t.resizingColumn,F=useRef(null);useEffect(()=>{if(F.current!==M&&M!=null&&M===o.key){b.current=document.activeElement===r.current,g(o);let A=setTimeout(()=>k(),0),B=setTimeout(k,400);return ()=>{clearTimeout(A),clearTimeout(B);}}F.current=M;},[M,o,k,r,g]);let K=A=>{let B=t.getColumnWidth(o.key),U=parseFloat(A.target.value);U>B?U=B+10:U=B-10,x(o,U);},{pressProps:N}=Se({preventFocusOnPress:true,onPressStart:A=>{if(!(A.ctrlKey||A.altKey||A.metaKey||A.shiftKey||A.pointerType==="keyboard")){if(A.pointerType==="virtual"&&t.resizingColumn!=null){T(o);return}k(),A.pointerType!=="virtual"&&g(o);}},onPress:A=>{(A.pointerType==="touch"&&b.current||A.pointerType==="mouse")&&t.resizingColumn!=null&&T(o);}}),{visuallyHiddenProps:$}=ur();return {resizerProps:R(v,{...S,onKeyDown:E},N,{style:{touchAction:"none"}}),inputProps:R($,{id:d,onBlur:()=>{T(o);},onChange:K,disabled:i},O),isResizing:m}}var Hb=new WeakMap;function ya(e,t,r){if(!e)return "";typeof t=="string"&&(t=t.replace(/\s+/g,""));let o=Hb.get(e);return process.env.NODE_ENV!=="production"&&!o&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${o}-${r}-${t}`}function zd(e,t,r){let{key:o,isDisabled:n,shouldSelectOnPressUp:i}=e,{selectionManager:a,selectedKey:l}=t,s=o===l,u=n||t.isDisabled||t.selectionManager.isDisabled(o),{itemProps:c,isPressed:d}=vo({selectionManager:a,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:i,linkBehavior:"selection"}),m=ya(t,o,"tab"),p=ya(t,o,"tabpanel"),{tabIndex:y}=c,b=t.collection.getItem(o),f=le(b?.props,{labelable:true});delete f.id;let h=uo(b?.props),{focusableProps:v}=Xe({isDisabled:u},r);return {tabProps:R(f,v,h,c,{id:m,"aria-selected":s,"aria-disabled":u||void 0,"aria-controls":s?p:void 0,tabIndex:u?void 0:y,role:"tab"}),isSelected:s,isDisabled:u,isPressed:d}}function Ed(e,t,r){let o=An(r)?void 0:0,n=ya(t,e.id??t?.selectedKey,"tabpanel"),i=lt({...e,id:n,"aria-labelledby":ya(t,t?.selectedKey,"tab")});return {tabPanelProps:R(i,{tabIndex:o,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}var wd=class{collection;flipDirection;disabledKeys;tabDirection;constructor(t,r,o,n=new Set){this.collection=t,this.flipDirection=r==="rtl"&&o==="horizontal",this.disabledKeys=n,this.tabDirection=o==="horizontal";}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){return this.disabledKeys.has(t)||!!this.collection.getItem(t)?.props?.isDisabled}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let r=t;do r=this.collection.getKeyAfter(r),r==null&&(r=this.collection.getFirstKey());while(r!=null&&this.isDisabled(r));return r}getPreviousKey(t){let r=t;do r=this.collection.getKeyBefore(r),r==null&&(r=this.collection.getLastKey());while(r!=null&&this.isDisabled(r));return r}};function _d(e,t,r){let{orientation:o="horizontal",keyboardActivation:n="automatic"}=e,{collection:i,selectionManager:a,disabledKeys:l}=t,{direction:s}=J(),u=useMemo(()=>new wd(i,s,o,l),[i,l,o,s]),{collectionProps:c}=ho({ref:r,selectionManager:a,keyboardDelegate:u,selectOnFocus:n==="automatic",disallowEmptySelection:true,scrollRef:r,linkBehavior:"selection"}),d=Y();Hb.set(t,d);let m=lt({...e,id:d});return {tabListProps:{...R(c,m),role:"tablist","aria-orientation":o,tabIndex:void 0}}}var jb=new WeakMap;function Id(e,t,r){let{direction:o}=J(),n=e.keyboardDelegate||new ct({collection:t.collection,ref:r,orientation:"horizontal",direction:o,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:i,fieldProps:a,descriptionProps:l,errorMessageProps:s}=Jt({...e,labelElementType:"span",ref:r}),{gridProps:u}=ca({...e,...a,keyboardDelegate:n,shouldFocusWrap:true,linkBehavior:"override",keyboardNavigationBehavior:"tab"},t,r),[c,d]=useState(false),{focusWithinProps:m}=je({onFocusWithinChange:d}),p=le(e),y=useRef(t.collection.size);return useEffect(()=>{r.current&&y.current>0&&t.collection.size===0&&c&&r.current.focus(),y.current=t.collection.size;},[t.collection.size,c,r]),jb.set(t,{onRemove:e.onRemove}),{gridProps:R(u,p,{role:t.collection.size?"grid":"group","aria-atomic":false,"aria-relevant":"additions","aria-live":c?"polite":"off",...m,...a}),labelProps:i,descriptionProps:l,errorMessageProps:s}}var GC={"ar-AE":{removeButtonLabel:"\u0625\u0632\u0627\u0644\u0629",removeDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D DELETE \u0644\u0625\u0632\u0627\u0644\u0629 \u0639\u0644\u0627\u0645\u0629."},"bg-BG":{removeButtonLabel:"\u041F\u0440\u0435\u043C\u0430\u0445\u0432\u0430\u043D\u0435",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Delete, \u0437\u0430 \u0434\u0430 \u043F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043C\u0430\u0440\u043A\u0435\u0440\u0430."},"cs-CZ":{removeButtonLabel:"Odebrat",removeDescription:"Stisknut\xEDm kl\xE1vesy Delete odeberete zna\u010Dku."},"da-DK":{removeButtonLabel:"Fjern",removeDescription:"Tryk p\xE5 Slet for at fjerne tag."},"de-DE":{removeButtonLabel:"Entfernen",removeDescription:"Auf \u201EL\xF6schen\u201C dr\xFCcken, um das Tag zu entfernen."},"el-GR":{removeButtonLabel:"\u039A\u03B1\u03C4\u03AC\u03C1\u03B3\u03B7\u03C3\u03B7",removeDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BA\u03B1\u03C4\u03B1\u03C1\u03B3\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C4\u03B9\u03BA\u03AD\u03C4\u03B1."},"en-US":{removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"},"es-ES":{removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."},"et-EE":{removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."},"fi-FI":{removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."},"fr-FR":{removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l\u2019\xE9tiquette."},"he-IL":{removeButtonLabel:"\u05D4\u05E1\u05E8",removeDescription:"\u05DC\u05D7\u05E5 \u05E2\u05DC \u05DE\u05D7\u05E7 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E1\u05D9\u05E8 \u05EA\u05D2."},"hr-HR":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."},"hu-HU":{removeButtonLabel:"Elt\xE1vol\xEDt\xE1s",removeDescription:"Nyomja meg a Delete billenty\u0171t a c\xEDmke elt\xE1vol\xEDt\xE1s\xE1hoz."},"it-IT":{removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."},"ja-JP":{removeButtonLabel:"\u524A\u9664",removeDescription:"\u30BF\u30B0\u3092\u524A\u9664\u3059\u308B\u306B\u306F\u3001Delete \u30AD\u30FC\u3092\u62BC\u3057\u307E\u3059\u3002"},"ko-KR":{removeButtonLabel:"\uC81C\uAC70",removeDescription:"\uD0DC\uADF8\uB97C \uC81C\uAC70\uD558\uB824\uBA74 Delete \uD0A4\uB97C \uB204\uB974\uC2ED\uC2DC\uC624."},"lt-LT":{removeButtonLabel:"Pa\u0161alinti",removeDescription:"Nor\u0117dami pa\u0161alinti \u017Eym\u0105, paspauskite \u201EDelete\u201C klavi\u0161\u0105."},"lv-LV":{removeButtonLabel:"No\u0146emt",removeDescription:"Nospiediet Delete [Dz\u0113st], lai no\u0146emtu tagu."},"nb-NO":{removeButtonLabel:"Fjern",removeDescription:"Trykk p\xE5 Slett for \xE5 fjerne taggen."},"nl-NL":{removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."},"pl-PL":{removeButtonLabel:"Usu\u0144",removeDescription:"Naci\u015Bnij Usu\u0144, aby usun\u0105\u0107 znacznik."},"pt-BR":{removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."},"pt-PT":{removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."},"ro-RO":{removeButtonLabel:"\xCEndep\u0103rta\u0163i",removeDescription:"Ap\u0103sa\u021Bi pe Delete (\u0218tergere) pentru a elimina eticheta."},"ru-RU":{removeButtonLabel:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",removeDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 DELETE, \u0447\u0442\u043E\u0431\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433."},"sk-SK":{removeButtonLabel:"Odstr\xE1ni\u0165",removeDescription:"Ak chcete odstr\xE1ni\u0165 zna\u010Dku, stla\u010Dte kl\xE1ves Delete."},"sl-SI":{removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."},"sr-SP":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obri\u0161i da biste uklonili oznaku."},"sv-SE":{removeButtonLabel:"Ta bort",removeDescription:"Tryck p\xE5 Radera f\xF6r att ta bort taggen."},"tr-TR":{removeButtonLabel:"Kald\u0131r",removeDescription:"Etiketi kald\u0131rmak i\xE7in Sil tu\u015Funa bas\u0131n."},"uk-UA":{removeButtonLabel:"\u0412\u0438\u043B\u0443\u0447\u0438\u0442\u0438",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Delete, \u0449\u043E\u0431 \u0432\u0438\u043B\u0443\u0447\u0438\u0442\u0438 \u0442\u0435\u0433."},"zh-CN":{removeButtonLabel:"\u5220\u9664",removeDescription:"\u6309\u4E0B\u201C\u5220\u9664\u201D\u4EE5\u5220\u9664\u6807\u8BB0\u3002"},"zh-TW":{removeButtonLabel:"\u79FB\u9664",removeDescription:"\u6309 Delete \u9375\u4EE5\u79FB\u9664\u6A19\u8A18\u3002"}};function Rd(e,t,r){let{item:o}=e,n=xe(GC,"@react-aria/tag"),i=Y(),{onRemove:a}=jb.get(t)||{},{rowProps:l,gridCellProps:s,...u}=da({node:o},t,r),{descriptionProps:c,...d}=u,m=t.disabledKeys.has(o.key)||o.props.isDisabled,p=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(m)return;S.preventDefault(),t.selectionManager.isSelected(o.key)?a?.(new Set(t.selectionManager.selectedKeys)):a?.(new Set([o.key]));}},y=Xt();y==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(y="pointer");let b=a&&(y==="keyboard"||y==="virtual")?n.format("removeDescription"):"",f=ft(b),h=o.key===t.selectionManager.focusedKey,v=t.selectionManager.focusedKey!=null,g=-1;!m&&(h||!v)&&(g=0);let x=le(o.props),T=Sl(o.props),{focusableProps:P}=Xe({isDisabled:m},r);return {removeButtonProps:{"aria-label":n.format("removeButtonLabel"),"aria-labelledby":`${i} ${l.id}`,isDisabled:m,id:i,onPress:()=>a?a(new Set([o.key])):null},rowProps:R(P,l,x,T,{tabIndex:g,onKeyDown:a?p:void 0,"aria-describedby":f["aria-describedby"]}),gridCellProps:R(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...d,allowsRemoving:!!a}}var Ld={"ar-AE":{close:"\u0625\u063A\u0644\u0627\u0642",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0625\u0634\u0639\u0627\u0631`,other:()=>`${t.number(e.count)} \u0625\u0634\u0639\u0627\u0631\u0627\u062A`})}.`},"bg-BG":{close:"\u0417\u0430\u0442\u0432\u043E\u0440\u0438",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u0435`,other:()=>`${t.number(e.count)} \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u044F`})}.`},"cs-CZ":{close:"Zav\u0159\xEDt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xE1men\xED`,other:()=>`${t.number(e.count)} ozn\xE1men\xED`})}.`},"da-DK":{close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`},"de-DE":{close:"Schlie\xDFen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`},"el-GR":{close:"\u039A\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7`,other:()=>`${t.number(e.count)} \u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2`})}.`},"en-US":{close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"es-ES":{close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificaci\xF3n`,other:()=>`${t.number(e.count)} notificaciones`})}.`},"et-EE":{close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`},"fi-FI":{close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`},"fr-FR":{close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"he-IL":{close:"\u05E1\u05D2\u05D5\u05E8",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u05D4\u05EA\u05E8\u05D0\u05D4`,other:()=>`${t.number(e.count)} \u05D4\u05EA\u05E8\u05D0\u05D5\u05EA`})}.`},"hr-HR":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`},"hu-HU":{close:"Bez\xE1r\xE1s",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \xE9rtes\xEDt\xE9s`,other:()=>`${t.number(e.count)} \xE9rtes\xEDt\xE9s`})}.`},"it-IT":{close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`},"ja-JP":{close:"\u9589\u3058\u308B",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u306E\u901A\u77E5`,other:()=>`${t.number(e.count)} \u500B\u306E\u901A\u77E5`})}\u3002`},"ko-KR":{close:"\uB2EB\uAE30",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\uAC1C \uC54C\uB9BC`,other:()=>`${t.number(e.count)}\uAC1C \uC54C\uB9BC`})}.`},"lt-LT":{close:"U\u017Edaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} prane\u0161imas`,other:()=>`${t.number(e.count)} prane\u0161imai`})}.`},"lv-LV":{close:"Aizv\u0113rt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pazi\u0146ojums`,other:()=>`${t.number(e.count)} pazi\u0146ojumi`})}.`},"nb-NO":{close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`},"nl-NL":{close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`},"pl-PL":{close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomie\u0144`,other:()=>`${t.number(e.count)} powiadomienia`})}.`},"pt-BR":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xE7\xE3o`,other:()=>`${t.number(e.count)} notifica\xE7\xF5es`})}.`},"pt-PT":{close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xE7\xE3o`,other:()=>`${t.number(e.count)} notifica\xE7\xF5es`})}.`},"ro-RO":{close:"\xCEnchide\u0163i",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notific\u0103ri`})}.`},"ru-RU":{close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435`,other:()=>`${t.number(e.count)} \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F`})}.`},"sk-SK":{close:"Zatvori\u0165",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xE1menie`,few:()=>`${t.number(e.count)} ozn\xE1menia`,other:()=>`${t.number(e.count)} ozn\xE1men\xED`})}.`},"sl-SI":{close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`},"sr-SP":{close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obave\u0161tenje`,other:()=>`${t.number(e.count)} obave\u0161tenja`})}.`},"sv-SE":{close:"St\xE4ng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`},"tr-TR":{close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`},"uk-UA":{close:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F`,other:()=>`${t.number(e.count)} \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F`})}.`},"zh-CN":{close:"\u5173\u95ED",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u4E2A\u901A\u77E5`,other:()=>`${t.number(e.count)} \u4E2A\u901A\u77E5`})}\u3002`},"zh-TW":{close:"\u95DC\u9589",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u500B\u901A\u77E5`,other:()=>`${t.number(e.count)} \u500B\u901A\u77E5`})}\u3002`}};function Md(e,t,r){let{key:o,timer:n,timeout:i}=e.toast;useEffect(()=>{if(!(n==null||i==null))return n.reset(i),()=>{n.pause();}},[n,i]);let a=Y(),l=St(),s=xe(Ld,"@react-aria/toast"),[u,c]=useState(false);return useEffect(()=>{c(true);},[]),{toastProps:{...le(e,{labelable:true}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||a,"aria-describedby":e["aria-describedby"]||l,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":u?void 0:"true"},titleProps:{id:a},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(o)}}}function Ad(e,t,r){let o=xe(Ld,"@react-aria/toast"),{landmarkProps:n}=Vb({role:"region","aria-label":e["aria-label"]||o.format("notifications",{count:t.visibleToasts.length})},r),i=useRef(false),a=useRef(false),l=ue(()=>{i.current||a.current?t.pauseAll():t.resumeAll();}),{hoverProps:s}=re({onHoverStart:()=>{i.current=true,l();},onHoverEnd:()=>{i.current=false,l();}}),u=useRef([]),c=useRef(t.visibleToasts),d=useRef(null);ae(()=>{if(d.current===-1||t.visibleToasts.length===0||!r.current){u.current=[],c.current=t.visibleToasts;return}if(u.current=[...r.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((f,h)=>f.key===c.current[h].key)){c.current=t.visibleToasts;return}let y=c.current.map((f,h)=>({...f,i:h,isRemoved:!t.visibleToasts.some(v=>f.key===v.key)})),b=y.findIndex(f=>f.i===d.current&&f.isRemoved);if(b>-1)if(ht()==="pointer"&&m.current?.isConnected)Ke(m.current);else {let f=0,h,v;for(;f<=b;)y[f].isRemoved||(v=Math.max(0,f-1)),f++;for(;f<y.length;){if(!y[f].isRemoved){h=f-1;break}f++;}v===void 0&&h===void 0&&(v=0),v>=0&&v<u.current.length?Ke(u.current[v]):h>=0&&h<u.current.length&&Ke(u.current[h]);}c.current=t.visibleToasts;},[t.visibleToasts,r,l]);let m=useRef(null),{focusWithinProps:p}=je({onFocusWithin:y=>{a.current=true,m.current=y.relatedTarget,l();},onBlurWithin:()=>{a.current=false,m.current=null,l();}});return useEffect(()=>{t.visibleToasts.length===0&&m.current?.isConnected&&(ht()==="pointer"?Ke(m.current):m.current.focus(),m.current=null);},[r,t.visibleToasts.length]),useEffect(()=>()=>{m.current?.isConnected&&(ht()==="pointer"?Ke(m.current):m.current.focus(),m.current=null);},[r]),{regionProps:R(n,s,p,{tabIndex:-1,"data-react-aria-top-layer":true,onFocus:y=>{let b=y.target.closest('[role="alertdialog"]');d.current=u.current.findIndex(f=>f===b);},onBlur:()=>{d.current=-1;}})}}function Nd(e,t,r){let o=le(e,{labelable:true}),{hoverProps:n}=re({onHoverStart:()=>t?.open(true),onHoverEnd:()=>t?.close()},r);return {tooltipProps:R(o,n,{role:"tooltip"})}}function Od(e,t,r){let{isDisabled:o,trigger:n}=e,i=Y(),a=useRef(false),l=useRef(false),s=()=>{(a.current||l.current)&&t.open(l.current);},u=h=>{!a.current&&!l.current&&t.close(h);};useEffect(()=>{let h=g=>{r&&r.current&&g.key==="Escape"&&(g.stopPropagation(),t.close(true));},v=H(r?.current);if(t.isOpen)return v.addEventListener("keydown",h,true),()=>{v.removeEventListener("keydown",h,true);}},[r,t]);let c=()=>{n!=="focus"&&(ht()==="pointer"?a.current=true:a.current=false,s());},d=()=>{n!=="focus"&&(l.current=false,a.current=false,u());},m=()=>{l.current=false,a.current=false,u(true);},p=()=>{Ht()&&(l.current=true,s());},y=()=>{l.current=false,a.current=false,u(true);},{hoverProps:b}=re({isDisabled:o,onHoverStart:c,onHoverEnd:d},r),{focusableProps:f}=Xe({isDisabled:o,onFocus:p,onBlur:y},r);return {triggerProps:{"aria-describedby":t.isOpen?i:void 0,...R(f,b,{onPointerDown:m,onKeyDown:m}),tabIndex:void 0},tooltipProps:{id:i}}}var Xr=class{static type;type;key;value=null;level=0;hasChildNodes=false;rendered=null;textValue="";"aria-label"=void 0;index=0;parentKey=null;prevKey=null;nextKey=null;firstChildKey=null;lastChildKey=null;props={};render;colSpan=null;colIndex=null;constructor(t){this.type=this.constructor.type,this.key=t;}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,o){let n=this.clone();return r.addDescendants(n,t),n}},Yn=class extends Xr{filter(t,r,o){let[n,i]=XC(t,r,this.firstChildKey,o),a=this.clone();return a.firstChildKey=n,a.lastChildKey=i,a}},Ms=class extends Xr{static type="header"},Zn=class extends Xr{static type="loader"},As=class extends Yn{static type="item";filter(t,r,o){if(o(this.textValue,this)){let n=this.clone();return r.addDescendants(n,t),n}return null}},Ns=class extends Yn{static type="section";filter(t,r,o){let n=super.filter(t,r,o);if(n&&n.lastChildKey!==null){let i=t.getItem(n.lastChildKey);if(i&&i.type!=="header")return n}return null}},Jn=class{keyMap=new Map;firstKey=null;lastKey=null;frozen=false;itemCount=0;get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0;}getChildren(t){let r=this.keyMap;return {*[Symbol.iterator](){let o=r.get(t),n=o?.firstChildKey!=null?r.get(o.firstChildKey):null;for(;n;)yield n,n=n.nextKey!=null?r.get(n.nextKey):void 0;}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t);}addDescendants(t,r){this.addNode(t);let o=r.getChildren(t.key);for(let n of o)this.addDescendants(n,r);}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t);}commit(t,r,o=false){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!o;}filter(t){let r=new this.constructor,[o,n]=XC(this,r,this.firstKey,t);return r?.commit(o,n),r}};function XC(e,t,r,o){if(r==null)return [null,null];let n=null,i=null,a=e.getItem(r);for(;a!=null;){let l=a.filter(e,t,o);l!=null&&(l.nextKey=null,i&&(l.prevKey=i.key,i.nextKey=l.key),n==null&&(n=l),t.addNode(l),i=l),a=a.nextKey?e.getItem(a.nextKey):null;}if(i&&i.type==="separator"){let l=i.prevKey;t.removeNode(i.key),l?(i=t.getItem(l),i.nextKey=null):i=null;}return [n?.key??null,i?.key??null]}var Fd=class{_firstChild=null;_lastChild=null;_previousSibling=null;_nextSibling=null;_parentNode=null;_minInvalidChildIndex=null;ownerDocument;constructor(t){this.ownerDocument=t;}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling;}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this);}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this);}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this);}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this);}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this);}get isConnected(){return this.parentNode?.isConnected||false}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this));}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null;}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate();}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate();}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate());}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},Os=class e extends Fd{nodeType=8;node;isMutated=true;_index=0;isHidden=false;constructor(t,r){super(r),this.node=null;}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this);}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=true),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let o=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&o!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=o;}}}setProps(t,r,o,n,i){let a,{value:l,textValue:s,id:u,...c}=t;if(this.node==null?(a=new o(u??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),c.ref=r,a.props=c,a.rendered=n,a.render=i,a.value=l,t["aria-label"]&&(a["aria-label"]=t["aria-label"]),a.textValue=s||(typeof c.children=="string"?c.children:"")||t["aria-label"]||"",u!=null&&u!==a.key)throw new Error("Cannot change the id of an item");c.colSpan!=null&&(a.colSpan=c.colSpan),this.isConnected&&this.ownerDocument.queueUpdate();}get style(){let t=this;return {get display(){return t.isHidden?"none":""},set display(r){let o=r==="none";if(t.isHidden!==o){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let n=t.previousVisibleSibling,i=t.nextVisibleSibling;n&&t.ownerDocument.markDirty(n),i&&t.ownerDocument.markDirty(i),t.isHidden=o,t.ownerDocument.markDirty(t);}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Kd=class extends Fd{nodeType=11;ownerDocument=this;dirtyNodes=new Set;isSSR=false;nodeId=0;nodesByProps=new WeakMap;collection;nextCollection=null;subscriptions=new Set;queuedRender=false;inSubscription=false;constructor(t){super(null),this.collection=t,this.nextCollection=t;}get isConnected(){return true}createElement(t){return new Os(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t);}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let o of t)this.addNode(o);r.addNode(t.node);}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key);}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=false,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof Os&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof Os?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=false):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null));}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=true,this.inSubscription=true;for(let t of this.subscriptions)t();this.inSubscription=false;}}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=false,this.firstChild=null,this.lastChild=null,this.nodeId=0);}};function ga(e){let{children:t,items:r,idScope:o,addIdAndValue:n,dependencies:i=[]}=e,a=useMemo(()=>new WeakMap,i);return useMemo(()=>{if(r&&typeof t=="function"){let l=[];for(let s of r){let u=a.get(s);if(!u){u=t(s);let c=u.props.id??s.key??s.id;if(c==null)throw new Error("Could not determine key for item");o&&(c=o+":"+c),u=cloneElement(u,n?{key:c,id:c,value:s}:{key:c}),a.set(s,u);}l.push(u);}return l}else if(typeof t!="function")return t},[t,r,a,o,n])}if(typeof HTMLTemplateElement<"u"){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:true,enumerable:true,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}});}var ZC=createContext(false);function JC(e){if(useContext(ZC))return jsx(Fragment,{children:e.children});let r=jsx(ZC.Provider,{value:true,children:e.children});return jsx("template",{"data-react-aria-hidden":true,children:r})}var oS=createContext(false),Ks=createContext(null);function rn(e){if(useContext(Ks))return e.content;let{collection:r,document:o}=IV(e.createCollection);return jsxs(Fragment,{children:[jsx(JC,{children:jsx(Ks.Provider,{value:o,children:e.content})}),jsx(EV,{render:e.children,collection:r})]})}function EV({collection:e,render:t}){return t(e)}function wV(e,t,r){let o=wr(),n=useRef(o);n.current=o;let i=useCallback(()=>n.current?r():t(),[t,r]);return useSyncExternalStore(e,i)}var _V=typeof Mo.useSyncExternalStore=="function"?Mo.useSyncExternalStore:wV;function IV(e){let[t]=useState(()=>new Kd(e?.()||new Jn)),r=useCallback(a=>t.subscribe(a),[t]),o=useCallback(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),n=useCallback(()=>(t.isSSR=true,t.getCollection()),[t]);return {collection:_V(r,o,n),document:t}}var Ub=createContext(null);function RV(e){return class extends Xr{static type=e}}function nS(e,t,r,o,n,i){typeof e=="string"&&(e=RV(e));let a=useCallback(s=>{s?.setProps(t,r,e,o,i);},[t,r,o,i,e]),l=useContext(Ub);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e.type),s.setProps(t,r,e,o,i),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),n?jsx(Ub.Provider,{value:s,children:n}):null}return jsx(e.type,{ref:a,children:n})}function xo(e,t){let r=({node:n})=>t(n.props,n.props.ref,n),o=forwardRef((n,i)=>{let a=useContext(Ai);if(!useContext(oS)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(n,i)}return nS(e,n,i,"children"in n?n.children:null,null,s=>jsx(Ai.Provider,{value:a,children:jsx(r,{node:s})}))});return o.displayName=t.name,o}function ha(e,t,r=iS){let o=({node:i})=>t(i.props,i.props.ref,i),n=forwardRef((i,a)=>{let l=r(i);return nS(e,i,a,null,l,s=>jsx(o,{node:s}))??jsx(Fragment,{})});return n.displayName=t.name,n}function iS(e){return ga({...e,addIdAndValue:true})}var eS=createContext(null);function Yr(e){let t=useContext(eS),r=(t?.dependencies||[]).concat(e.dependencies),o=e.idScope||t?.idScope,n=iS({...e,idScope:o,dependencies:r});return useContext(Ks)&&(n=jsx(LV,{children:n})),t=useMemo(()=>({dependencies:r,idScope:o}),[o,...r]),jsx(eS.Provider,{value:t,children:n})}function LV({children:e}){let t=useContext(Ks),r=useMemo(()=>jsx(Ks.Provider,{value:null,children:jsx(oS.Provider,{value:true,children:e})}),[e]);return wr()?jsx(Ub.Provider,{value:t,children:r}):createPortal(r,t)}var uS=createContext(null);var Wb={CollectionRoot({collection:e,renderDropIndicator:t}){return lS(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return lS(e,t,r)}};function lS(e,t,r){return ga({items:t?e.getChildren(t.key):e,dependencies:[r],children(o){let n=o.render(o);return !r||o.type!=="item"?n:jsxs(Fragment,{children:[r({type:"item",key:o.key,dropPosition:"before"}),n,qb(e,o,r)]})}})}function qb(e,t,r){let o=t.key,n=e.getKeyAfter(o),i=n!=null?e.getItem(n):null;for(;i!=null&&i.type!=="item";)n=e.getKeyAfter(i.key),i=n!=null?e.getItem(n):null;let a=t.nextKey!=null?e.getItem(t.nextKey):null;for(;a!=null&&a.type!=="item";)a=a.nextKey!=null?e.getItem(a.nextKey):null;let l=[];if(a==null){let s=t;for(;s&&(!i||s.parentKey!==i.parentKey&&i.level<s.level);){let u=r({type:"item",key:s.key,dropPosition:"after"});isValidElement(u)&&l.push(cloneElement(u,{key:`${s.key}-after`})),s=s.parentKey!=null?e.getItem(s.parentKey):null;}}return l}var wt=createContext(Wb);var on=class{keyMap=new Map;iterable;firstKey=null;lastKey=null;_size;constructor(t){this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)r(l);};for(let a of t)r(a);let o=null,n=0,i=0;for(let[a,l]of this.keyMap)o?(o.nextKey=a,l.prevKey=o.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=n++),(l.type==="section"||l.type==="item")&&i++,o=l,o.nextKey=void 0;this._size=i,this.lastKey=o?.key??null;}*[Symbol.iterator](){yield*this.iterable;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var pr=class e extends Set{anchorKey;currentKey;constructor(t,r,o){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=o??t.currentKey):(this.anchorKey=r??null,this.currentKey=o??null);}};function VV(e,t){if(e.size!==t.size)return false;for(let r of e)if(!t.has(r))return false;return true}function Zr(e){let{selectionMode:t="none",disallowEmptySelection:r=false,allowDuplicateSelectionEvents:o,selectionBehavior:n="toggle",disabledBehavior:i="all"}=e,a=useRef(false),[,l]=useState(false),s=useRef(null),u=useRef(null),[,c]=useState(null),d=useMemo(()=>cS(e.selectedKeys),[e.selectedKeys]),m=useMemo(()=>cS(e.defaultSelectedKeys,new pr),[e.defaultSelectedKeys]),[p,y]=be(d,m,e.onSelectionChange),b=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[f,h]=useState(n);n==="replace"&&f==="toggle"&&typeof p=="object"&&p.size===0&&h("replace");let v=useRef(n);return useEffect(()=>{n!==v.current&&(h(n),v.current=n);},[n]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:f,setSelectionBehavior:h,get isFocused(){return a.current},setFocused(g){a.current=g,l(g);},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(g,x="first"){s.current=g,u.current=x,c(g);},selectedKeys:p,setSelectedKeys(g){(o||!VV(g,p))&&y(g);},disabledKeys:b,disabledBehavior:i}}function cS(e,t){return e?e==="all"?"all":new pr(e):t}var To=class e{collection;state;allowsCellSelection;_isSelectAll;layoutDelegate;constructor(t,r,o){this.collection=t,this.state=r,this.allowsCellSelection=o?.allowsCellSelection??false,this._isSelectAll=null,this.layoutDelegate=o?.layoutDelegate||null;}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t);}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t);}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r);}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return false;let r=this.getKey(t);return r==null?false:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return false;if(this.state.selectedKeys==="all")return true;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(o=>r.has(o)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!t||o&&ps(this.collection,o,t)<0)&&(t=o);}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!t||o&&ps(this.collection,o,t)>0)&&(t=o);}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let o;if(this.state.selectedKeys==="all")o=new pr([r],r,r);else {let n=this.state.selectedKeys,i=n.anchorKey??r;o=new pr(n,i,r);for(let a of this.getKeyRange(i,n.currentKey??r))o.delete(a);for(let a of this.getKeyRange(r,i))this.canSelectItem(a)&&o.add(a);}this.state.setSelectedKeys(o);}getKeyRange(t,r){let o=this.collection.getItem(t),n=this.collection.getItem(r);return o&&n?ps(this.collection,o,n)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let o=[],n=t;for(;n!=null;){let i=this.collection.getItem(n);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&o.push(n),n===r)return o;n=this.collection.getKeyAfter(n);}return []}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return !r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let o=new pr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);o.has(r)?o.delete(r):this.canSelectItem(r)&&(o.add(r),o.anchorKey=r,o.currentKey=r),!(this.disallowEmptySelection&&o.size===0)&&this.state.setSelectedKeys(o);}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let o=this.canSelectItem(r)?new pr([r],r,r):new pr;this.state.setSelectedKeys(o);}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new pr;for(let o of t){let n=this.getKey(o);if(n!=null&&(r.add(n),this.selectionMode==="single"))break}this.state.setSelectedKeys(r);}getSelectAllKeys(){let t=[],r=o=>{for(;o!=null;){if(this.canSelectItem(o)){let n=this.collection.getItem(o);n?.type==="item"&&t.push(o),n?.hasChildNodes&&(this.allowsCellSelection||n.type!=="item")&&r(jt(Ee(n,this.collection))?.key??null);}o=this.collection.getKeyAfter(o);}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all");}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new pr);}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll();}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t));}isSelectionEqual(t){if(t===this.state.selectedKeys)return true;let r=this.selectedKeys;if(t.size!==r.size)return false;for(let o of t)if(!r.has(o))return false;for(let o of r)if(!t.has(o))return false;return true}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return false;let r=this.collection.getItem(t);return !(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!this.collection.getItem(t)?.props?.isDisabled)}isLink(t){return !!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}};function xt(e){let{filter:t,layoutDelegate:r}=e,o=Zr(e),n=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=useCallback(u=>t?new on(t(u)):new on(u),[t]),a=useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Wo(e,i,a),s=useMemo(()=>new To(l,o,{layoutDelegate:r}),[l,o,r]);return dS(l,s),{collection:l,disabledKeys:n,selectionManager:s}}function Hd(e,t){let r=useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),o=e.selectionManager.withCollection(r);return dS(r,o),{collection:r,selectionManager:o,disabledKeys:e.disabledKeys}}function dS(e,t){let r=useRef(null);useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let o=r.current.getItem(t.focusedKey),n=[...r.current.getKeys()].map(c=>{let d=r.current.getItem(c);return d?.type==="item"?d:null}).filter(c=>c!==null),i=[...e.getKeys()].map(c=>{let d=e.getItem(c);return d?.type==="item"?d:null}).filter(c=>c!==null),a=(n?.length??0)-(i?.length??0),l=Math.min(a>1?Math.max((o?.index??0)-a+1,0):o?.index??0,(i?.length??0)-1),s=null,u=false;for(;l>=0;){if(!t.isDisabled(i[l].key)){s=i[l];break}l<i.length-1&&!u?l++:(u=true,l>(o?.index??0)&&(l=o?.index??0),l--);}t.setFocusedKey(s?s.key:null);}r.current=e;},[e,t]);}function va(e){let[t,r]=be(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),o=useMemo(()=>t!=null?[t]:[],[t]),{collection:n,disabledKeys:i,selectionManager:a}=xt({...e,selectionMode:"single",disallowEmptySelection:true,allowDuplicateSelectionEvents:true,selectedKeys:o,onSelectionChange:s=>{if(s==="all")return;let u=s.values().next().value??null;u===t&&e.onSelectionChange&&e.onSelectionChange(u),r(u);}}),l=t!=null?n.getItem(t):null;return {collection:n,disabledKeys:i,selectionManager:a,selectedKey:t,setSelectedKey:r,selectedItem:l}}function Nt(e){let[t,r]=be(e.isOpen,e.defaultOpen||false,e.onOpenChange),o=useCallback(()=>{r(true);},[r]),n=useCallback(()=>{r(false);},[r]),i=useCallback(()=>{r(!t);},[r,t]);return {isOpen:t,setOpen:r,open:o,close:n,toggle:i}}function xa(e){let{defaultFilter:t,menuTrigger:r="input",allowsEmptyCollection:o=false,allowsCustomValue:n,shouldCloseOnBlur:i=true}=e,[a,l]=useState(false),[s,u]=useState(false),[c,d]=useState(null),m=Pe=>{e.onSelectionChange&&e.onSelectionChange(Pe),Pe===b&&($(),F());},{collection:p,selectionManager:y,selectedKey:b,setSelectedKey:f,selectedItem:h,disabledKeys:v}=va({...e,onSelectionChange:m,items:e.items??e.defaultItems}),[g,x]=be(e.inputValue,pS(e.defaultInputValue,b,p)||"",e.onInputChange),[T]=useState(b),[P]=useState(g),S=p,E=useMemo(()=>e.items!=null||!t?p:UV(p,g,t),[p,g,t,e.items]),[D,I]=useState(E),C=useRef("focus"),z=Nt({...e,onOpenChange:Pe=>{e.onOpenChange&&e.onOpenChange(Pe,Pe?C.current:void 0),y.setFocused(Pe),Pe||y.setFocusedKey(null);},isOpen:void 0,defaultOpen:void 0}),w=(Pe=null,Te)=>{let Qe=Te==="manual"||Te==="focus"&&r==="focus";(o||E.size>0||Qe&&S.size>0||e.items)&&(Qe&&!z.isOpen&&e.items===void 0&&l(true),C.current=Te,d(Pe),z.open());},O=(Pe=null,Te)=>{let Qe=Te==="manual"||Te==="focus"&&r==="focus";!(o||E.size>0||Qe&&S.size>0||e.items)&&!z.isOpen||(Qe&&!z.isOpen&&e.items===void 0&&l(true),z.isOpen||(C.current=Te),M(Pe));},k=useCallback(()=>{I(a?S:E);},[a,S,E]),M=useCallback((Pe=null)=>{z.isOpen&&k(),d(Pe),z.toggle();},[z,k]),F=useCallback(()=>{z.isOpen&&(k(),z.close());},[z,k]),[K,N]=useState(g),$=()=>{let Pe=b!=null?p.getItem(b)?.textValue??"":"";N(Pe),x(Pe);},A=useRef(e.selectedKey??e.defaultSelectedKey??null),B=useRef(b!=null?p.getItem(b)?.textValue??"":"");useEffect(()=>{s&&(E.size>0||o)&&!z.isOpen&&g!==K&&r!=="manual"&&w(null,"input"),!a&&!o&&z.isOpen&&E.size===0&&F(),b!=null&&b!==A.current&&F(),g!==K&&(y.setFocusedKey(null),l(false),g===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&f(null)),b!==A.current&&(e.inputValue===void 0||e.selectedKey===void 0)?$():K!==g&&N(g);let Pe=b!=null?p.getItem(b)?.textValue??"":"";!s&&b!=null&&e.inputValue===void 0&&b===A.current&&B.current!==Pe&&(N(Pe),x(Pe)),A.current=b,B.current=Pe;});let U=Et({...e,value:useMemo(()=>({inputValue:g,selectedKey:b}),[g,b])}),oe=()=>{n&&b==null?G():W();},G=()=>{A.current=null,f(null),F();},W=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){e.onSelectionChange?.(b);let Pe=b!=null?p.getItem(b)?.textValue??"":"";N(Pe),F();}else $(),F();},ne=()=>{if(n){let Pe=b!=null?p.getItem(b)?.textValue??"":"";g===Pe?W():G();}else W();},Q=()=>{z.isOpen&&y.focusedKey!=null?b===y.focusedKey?W():f(y.focusedKey):ne();},de=useRef(g),he=Pe=>{Pe?(de.current=g,r==="focus"&&!e.isReadOnly&&w(null,"focus")):(i&&ne(),g!==de.current&&U.commitValidation()),u(Pe);},Ae=useMemo(()=>z.isOpen?a?S:E:D,[z.isOpen,S,E,a,D]),it=e.defaultSelectedKey??T;return {...U,...z,focusStrategy:c,toggle:O,open:w,close:ne,selectionManager:y,selectedKey:b,defaultSelectedKey:it,setSelectedKey:f,disabledKeys:v,isFocused:s,setFocused:he,selectedItem:h,collection:Ae,inputValue:g,defaultInputValue:pS(e.defaultInputValue,it,p)??P,setInputValue:x,commit:Q,revert:oe}}function UV(e,t,r){return new on(mS(e,e,t,r))}function mS(e,t,r,o){let n=[];for(let i of t)if(i.type==="section"&&i.hasChildNodes){let a=mS(e,Ee(i,e),r,o);[...a].some(l=>l.type==="item")&&n.push({...i,childNodes:a});}else i.type==="item"&&o(i.textValue,r)?n.push({...i}):i.type!=="item"&&n.push({...i});return n}function pS(e,t,r){return e==null&&t!=null?r.getItem(t)?.textValue??"":e}var fS={"ar-AE":{rangeOverflow:e=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${e.maxValue} \u0623\u0648 \u0642\u0628\u0644 \u0630\u0644\u0643.`,rangeReversed:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0642\u0628\u0644 \u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621.",rangeUnderflow:e=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${e.minValue} \u0623\u0648 \u0628\u0639\u062F \u0630\u0644\u0643.`,unavailableDate:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629."},"bg-BG":{rangeOverflow:e=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${e.maxValue} \u0438\u043B\u0438 \u043F\u043E-\u0440\u0430\u043D\u043D\u0430.`,rangeReversed:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043F\u0440\u0435\u0434\u0438 \u043A\u0440\u0430\u0439\u043D\u0430\u0442\u0430.",rangeUnderflow:e=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${e.minValue} \u0438\u043B\u0438 \u043F\u043E-\u043A\u044A\u0441\u043D\u043E.`,unavailableDate:"\u0418\u0437\u0431\u0440\u0430\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u043D\u0430."},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xED b\xFDt ${e.maxValue} nebo d\u0159\xEDv\u011Bj\u0161\xED.`,rangeReversed:"Datum zah\xE1jen\xED mus\xED p\u0159edch\xE1zet datu ukon\u010Den\xED.",rangeUnderflow:e=>`Hodnota mus\xED b\xFDt ${e.minValue} nebo pozd\u011Bj\u0161\xED.`,unavailableDate:"Vybran\xE9 datum nen\xED k dispozici."},"da-DK":{rangeOverflow:e=>`V\xE6rdien skal v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xE6re f\xF8r slutdatoen.",rangeUnderflow:e=>`V\xE6rdien skal v\xE6re ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xE6ngelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xFCher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xE4ter sein.`,unavailableDate:"Das ausgew\xE4hlte Datum ist nicht verf\xFCgbar."},"el-GR":{rangeOverflow:e=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${e.maxValue} \u03AE \u03C0\u03B1\u03BB\u03B1\u03B9\u03CC\u03C4\u03B5\u03C1\u03B7.`,rangeReversed:"\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2.",rangeUnderflow:e=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${e.minValue} \u03AE \u03BC\u03B5\u03C4\u03B1\u03B3\u03B5\u03BD\u03AD\u03C3\u03C4\u03B5\u03C1\u03B7.`,unavailableDate:"\u0397 \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xF3n.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xE4\xE4rtus peab olema ${e.maxValue} v\xF5i varasem.`,rangeReversed:"Alguskuup\xE4ev peab olema enne l\xF5ppkuup\xE4eva.",rangeUnderflow:e=>`V\xE4\xE4rtus peab olema ${e.minValue} v\xF5i hilisem.`,unavailableDate:"Valitud kuup\xE4ev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xE4 aikaisempi.`,rangeReversed:"Aloitusp\xE4iv\xE4n on oltava ennen lopetusp\xE4iv\xE4\xE4.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xE4 my\xF6h\xE4isempi.`,unavailableDate:"Valittu p\xE4iv\xE4m\xE4\xE4r\xE4 ei ole k\xE4ytett\xE4viss\xE4."},"fr-FR":{rangeOverflow:e=>`La valeur doit \xEAtre ${e.maxValue} ou ant\xE9rieure.`,rangeReversed:"La date de d\xE9but doit \xEAtre ant\xE9rieure \xE0 la date de fin.",rangeUnderflow:e=>`La valeur doit \xEAtre ${e.minValue} ou ult\xE9rieure.`,unavailableDate:"La date s\xE9lectionn\xE9e n\u2019est pas disponible."},"he-IL":{rangeOverflow:e=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${e.maxValue} \u05D0\u05D5 \u05DE\u05D5\u05E7\u05D3\u05DD \u05D9\u05D5\u05EA\u05E8.`,rangeReversed:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05D4\u05EA\u05D7\u05DC\u05D4 \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05E0\u05D9 \u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E1\u05D9\u05D5\u05DD.",rangeUnderflow:e=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${e.minValue} \u05D0\u05D5 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.`,unavailableDate:"\u05D4\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E0\u05D1\u05D7\u05E8 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum po\u010Detka mora biti prije datuma zavr\u0161etka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xE9rt\xE9knek ${e.maxValue} vagy kor\xE1bbinak kell lennie.`,rangeReversed:"A kezd\u0151 d\xE1tumnak a befejez\u0151 d\xE1tumn\xE1l kor\xE1bbinak kell lennie.",rangeUnderflow:e=>`Az \xE9rt\xE9knek ${e.minValue} vagy k\xE9s\u0151bbinek kell lennie.`,unavailableDate:"A kiv\xE1lasztott d\xE1tum nem \xE9rhet\u0151 el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`\u5024\u306F ${e.maxValue} \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u306F\u7D42\u4E86\u65E5\u3088\u308A\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",rangeUnderflow:e=>`\u5024\u306F ${e.minValue} \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,unavailableDate:"\u9078\u629E\u3057\u305F\u65E5\u4ED8\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002"},"ko-KR":{rangeOverflow:e=>`\uAC12\uC740 ${e.maxValue} \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,rangeReversed:"\uC2DC\uC791\uC77C\uC740 \uC885\uB8CC\uC77C \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.",rangeUnderflow:e=>`\uAC12\uC740 ${e.minValue} \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,unavailableDate:"\uC120\uD0DD\uD55C \uB0A0\uC9DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},"lt-LT":{rangeOverflow:e=>`Reik\u0161m\u0117 turi b\u016Bti ${e.maxValue} arba ankstesn\u0117.`,rangeReversed:"Prad\u017Eios data turi b\u016Bti ankstesn\u0117 nei pabaigos data.",rangeUnderflow:e=>`Reik\u0161m\u0117 turi b\u016Bti ${e.minValue} arba naujesn\u0117.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${e.maxValue} vai agr\u0101kai.`,rangeReversed:"S\u0101kuma datumam ir j\u0101b\u016Bt pirms beigu datuma.",rangeUnderflow:e=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${e.minValue} vai v\u0113l\u0101kai.`,unavailableDate:"Atlas\u012Btais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien m\xE5 v\xE6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xE5 v\xE6re f\xF8r sluttdatoen.",rangeUnderflow:e=>`Verdien m\xE5 v\xE6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${e.maxValue} lub wcze\u015Bniejsz\u0105.`,rangeReversed:"Data rozpocz\u0119cia musi by\u0107 wcze\u015Bniejsza ni\u017C data zako\u0144czenia.",rangeUnderflow:e=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${e.minValue} lub p\xF3\u017Aniejsz\u0105.`,unavailableDate:"Wybrana data jest niedost\u0119pna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xE0 data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de in\xEDcio deve ser anterior \xE0 data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie s\u0103 fie ${e.maxValue} sau anterioar\u0103.`,rangeReversed:"Data de \xEEnceput trebuie s\u0103 fie anterioar\u0103 datei de sf\xE2r\u0219it.",rangeUnderflow:e=>`Valoarea trebuie s\u0103 fie ${e.minValue} sau ulterioar\u0103.`,unavailableDate:"Data selectat\u0103 nu este disponibil\u0103."},"ru-RU":{rangeOverflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u043E\u0437\u0436\u0435 ${e.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u043F\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0435 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F.",rangeUnderflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u0440\u0430\u043D\u044C\u0448\u0435 ${e.minValue}.`,unavailableDate:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xED by\u0165 ${e.maxValue} alebo skor\u0161ia.`,rangeReversed:"D\xE1tum za\u010Diatku mus\xED by\u0165 skor\u0161\xED ako d\xE1tum konca.",rangeUnderflow:e=>`Hodnota mus\xED by\u0165 ${e.minValue} alebo neskor\u0161ia.`,unavailableDate:"Vybrat\xFD d\xE1tum je nedostupn\xFD."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u0161a.`,rangeReversed:"Za\u010Detni datum mora biti pred kon\u010Dnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u0161a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum po\u010Detka mora biti pre datuma zavr\u0161etka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xE4rdet m\xE5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xE5ste vara f\xF6re slutdatumet.",rangeUnderflow:e=>`V\xE4rdet m\xE5ste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet \xE4r inte tillg\xE4ngligt."},"tr-TR":{rangeOverflow:e=>`De\u011Fer, ${e.maxValue} veya \xF6ncesi olmal\u0131d\u0131r.`,rangeReversed:"Ba\u015Flang\u0131\xE7 tarihi biti\u015F tarihinden \xF6nce olmal\u0131d\u0131r.",rangeUnderflow:e=>`De\u011Fer, ${e.minValue} veya sonras\u0131 olmal\u0131d\u0131r.`,unavailableDate:"Se\xE7ilen tarih kullan\u0131lam\u0131yor."},"uk-UA":{rangeOverflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435 ${e.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043C\u0430\u0454 \u043F\u0435\u0440\u0435\u0434\u0443\u0432\u0430\u0442\u0438 \u0434\u0430\u0442\u0456 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F.",rangeUnderflow:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u0440\u0430\u043D\u0456\u0448\u0435 ${e.minValue}.`,unavailableDate:"\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."},"zh-CN":{rangeOverflow:e=>`\u503C\u5FC5\u987B\u662F ${e.maxValue} \u6216\u66F4\u65E9\u65E5\u671F\u3002`,rangeReversed:"\u5F00\u59CB\u65E5\u671F\u5FC5\u987B\u65E9\u4E8E\u7ED3\u675F\u65E5\u671F\u3002",rangeUnderflow:e=>`\u503C\u5FC5\u987B\u662F ${e.minValue} \u6216\u66F4\u665A\u65E5\u671F\u3002`,unavailableDate:"\u6240\u9009\u65E5\u671F\u4E0D\u53EF\u7528\u3002"},"zh-TW":{rangeOverflow:e=>`\u503C\u5FC5\u9808\u662F ${e.maxValue} \u6216\u66F4\u65E9\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u671F\u5FC5\u9808\u5728\u7D50\u675F\u65E5\u671F\u4E4B\u524D\u3002",rangeUnderflow:e=>`\u503C\u5FC5\u9808\u662F ${e.minValue} \u6216\u66F4\u665A\u3002`,unavailableDate:"\u6240\u9078\u65E5\u671F\u7121\u6CD5\u4F7F\u7528\u3002"}};var QV=new At(fS);function eB(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e]);}catch{e="en-US";}return e}function bS(e,t,r,o,n){let i=e!=null&&r!=null&&e.compare(r)>0,a=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&o?.(e)||false,s=i||a||l,u=[];if(s){let c=eB(),d=At.getGlobalDictionaryForPackage("@react-stately/datepicker")||QV,m=new po(c,d),p=new DateFormatter(c,Vs({},n)),y=p.resolvedOptions().timeZone;a&&t!=null&&u.push(m.format("rangeUnderflow",{minValue:p.format(t.toDate(y))})),i&&r!=null&&u.push(m.format("rangeOverflow",{maxValue:p.format(r.toDate(y))})),l&&u.push(m.format("unavailableDate"));}return {isInvalid:s,validationErrors:u,validationDetails:{badInput:l,customError:false,patternMismatch:false,rangeOverflow:i,rangeUnderflow:a,stepMismatch:false,tooLong:false,tooShort:false,typeMismatch:false,valueMissing:false,valid:!s}}}var tB={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},rB={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Vs(e,t){e={...t.shouldForceLeadingZeros?rB:tB,...e};let o=t.granularity||"minute",n=Object.keys(e),i=n.indexOf(t.maxGranularity??"year");i<0&&(i=0);let a=n.indexOf(o);if(a<0&&(a=2),i>a)throw new Error("maxGranularity must be greater than granularity");let l=n.slice(i,a+1).reduce((u,c)=>(u[c]=e[c],u),{});return t.hourCycle!=null&&(l.hour12=t.hourCycle===12),l.timeZone=t.timeZone||"UTC",(o==="hour"||o==="minute"||o==="second")&&t.timeZone&&!t.hideTimeZone&&(l.timeZoneName="short"),t.showEra&&i===0&&(l.era="short"),l}function eg(e,t){if(e===null)return null;if(e)return toCalendar(e,t)}function Ta(e,t,r,o){if(e)return eg(e,r);let n=toCalendar(now(o??getLocalTimeZone()).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?toCalendarDate(n):o?n:toCalendarDateTime(n)}function gS(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,o=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[n,i]=useState([o,r]);e&&(n[0]!==o||n[1]!==r)&&i([o,r]),t||(t=e?o:n[0]);let a=e?r:n[1];return [t,a]}var oB=new At({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"\u12D3\u12D3\u12D3\u12D3",month:"\u121A\u121C",day:"\u1240\u1240"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",day:"\u064A\u0648\u0645"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bg:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bn:{year:"yyyy",month:"\u09AE\u09BF\u09AE\u09BF",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",day:"\u0695\u06C6\u0698"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"\u017A\u017A"},el:{year:"\u03B5\u03B5\u03B5\u03B5",month:"\u03BC\u03BC",day:"\u03B7\u03B7"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",day:"\u0631\u0648\u0632"},ff:{year:"hhhh",month:"ll",day:"\xF1\xF1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",day:"\u05D9\u05D5\u05DD"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xE9\xE9\xE9\xE9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"\u5E74",month:"\u6708",day:"\u65E5"},ka:{year:"\u10EC\u10EC\u10EC\u10EC",month:"\u10D7\u10D7",day:"\u10E0\u10E0"},kk:{year:"\u0436\u0436\u0436\u0436",month:"\u0430\u0430",day:"\u043A\u043A"},kn:{year:"\u0CB5\u0CB5\u0CB5\u0CB5",month:"\u0CAE\u0CBF\u0CAE\u0CC0",day:"\u0CA6\u0CBF\u0CA6\u0CBF"},ko:{year:"\uC5F0\uB3C4",month:"\uC6D4",day:"\uC77C"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"\u0E9B\u0E9B\u0E9B\u0E9B",month:"\u0E94\u0E94",day:"\u0EA7\u0EA7"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"\u0D35\u0D7C\u0D37\u0D02",month:"\u0D2E\u0D3E\u0D38\u0D02",day:"\u0D24\u0D40\u0D2F\u0D24\u0D3F"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},no:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sv:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"\u0441\u0441\u0441\u0441",month:"\u043C\u043C",day:"\u0440\u0440"},th:{year:"\u0E1B\u0E1B\u0E1B\u0E1B",month:"\u0E14\u0E14",day:"\u0E27\u0E27"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"\u0440\u0440\u0440\u0440",month:"\u043C\u043C",day:"\u0434\u0434"},"zh-CN":{year:"\u5E74",month:"\u6708",day:"\u65E5"},"zh-TW":{year:"\u5E74",month:"\u6708",day:"\u65E5"}},"en");function hS(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?oB.getStringForLocale(e,r):"\u2013\u2013"}var Wd={year:true,month:true,day:true,hour:true,minute:true,second:true,dayPeriod:true,era:true},TS={year:5,month:2,day:7,hour:2,minute:15,second:15},PS={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function Pa(e){let{locale:t,createCalendar:r,hideTimeZone:o,isDisabled:n=false,isReadOnly:i=false,isRequired:a=false,minValue:l,maxValue:s,isDateUnavailable:u}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[d,m]=gS(c,e.granularity),p=m||"UTC";if(c&&!(d in c))throw new Error("Invalid granularity "+d+" for value "+c.toString());let y=useMemo(()=>new DateFormatter(t),[t]),b=useMemo(()=>r(y.resolvedOptions().calendar),[r,y]),[f,h]=be(e.value,e.defaultValue??null,e.onChange),[v]=useState(f),g=useMemo(()=>eg(f,b)??null,[f,b]),[x,T]=useState(()=>Ta(e.placeholderValue,d,b,m)),P=g||x,S=b.identifier==="gregory"&&P.era==="BC",E=useMemo(()=>({granularity:d,maxGranularity:e.maxGranularity??"year",timeZone:m,hideTimeZone:o,hourCycle:e.hourCycle,showEra:S,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,m,o,S]),D=useMemo(()=>Vs({},E),[E]),I=useMemo(()=>new DateFormatter(t,D),[t,D]),C=useMemo(()=>I.resolvedOptions(),[I]),_=useMemo(()=>I.formatToParts(new Date).filter(W=>Wd[W.type]).reduce((W,ne)=>(W[PS[ne.type]||ne.type]=true,W),{}),[I]),[z,w]=useState(()=>e.value||e.defaultValue?{..._}:{}),O=useRef(null),k=useRef(b);useEffect(()=>{isEqualCalendar(b,k.current)||(k.current=b,T(W=>Object.keys(z).length>0?toCalendar(W,b):Ta(e.placeholderValue,d,b,m)));},[b,d,z,m,e.placeholderValue]),f&&Object.keys(z).length<Object.keys(_).length&&(z={..._},w(z)),f==null&&Object.keys(z).length===Object.keys(_).length&&(z={},w(z),T(Ta(e.placeholderValue,d,b,m)));let M=g&&Object.keys(z).length>=Object.keys(_).length?g:x,F=W=>{if(e.isDisabled||e.isReadOnly)return;let ne=Object.keys(z),Q=Object.keys(_);W==null?(h(null),T(Ta(e.placeholderValue,d,b,m)),w({})):ne.length===0&&O.current==null||ne.length>=Q.length||ne.length===Q.length-1&&_.dayPeriod&&!z.dayPeriod&&O.current!=="dayPeriod"?(ne.length===0&&(z={..._},w(z)),W=toCalendar(W,c?.calendar||new GregorianCalendar),h(W)):T(W),O.current=null;},K=useMemo(()=>M.toDate(p),[M,p]),N=useMemo(()=>uB(K,z,I,C,M,b,t,d),[K,z,I,C,M,b,t,d]);_.era&&z.year&&!z.era?(z.era=true,w({...z})):!_.era&&z.era&&(delete z.era,w({...z}));let $=W=>{z[W]=true,W==="year"&&_.era&&(z.era=true),w({...z});},A=(W,ne)=>{if(z[W])F(cB(M,W,ne,C));else {$(W);let Q=Object.keys(z),de=Object.keys(_);(Q.length>=de.length||Q.length===de.length-1&&_.dayPeriod&&!z.dayPeriod)&&F(M);}},B=useMemo(()=>bS(f,l,s,u,E),[f,l,s,u,E]),U=Et({...e,value:f,builtinValidation:B}),oe=U.displayValidation.isInvalid,G=e.validationState||(oe?"invalid":null);return {...U,value:g,defaultValue:e.defaultValue??v,dateValue:K,calendar:b,setValue:F,segments:N,dateFormatter:I,validationState:G,isInvalid:oe,granularity:d,maxGranularity:e.maxGranularity??"year",isDisabled:n,isReadOnly:i,isRequired:a,increment(W){A(W,1);},decrement(W){A(W,-1);},incrementPage(W){A(W,TS[W]||1);},decrementPage(W){A(W,-(TS[W]||1));},setSegment(W,ne){$(W),F(dB(M,W,ne,C));},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let W=Object.keys(z),ne=Object.keys(_);W.length===ne.length-1&&_.dayPeriod&&!z.dayPeriod&&(z={..._},w(z),F(M.copy()));},clearSegment(W){delete z[W],O.current=W,w({...z});let ne=Ta(e.placeholderValue,d,b,m),Q=M;if(W==="dayPeriod"&&"hour"in M&&"hour"in ne){let de=M.hour>=12,he=ne.hour>=12;de&&!he?Q=M.set({hour:M.hour-12}):!de&&he&&(Q=M.set({hour:M.hour+12}));}else W==="hour"&&"hour"in M&&M.hour>=12&&z.dayPeriod?Q=M.set({hour:ne.hour+12}):W in M&&(Q=M.set({[W]:ne[W]}));h(null),F(Q);},formatValue(W){if(!g)return "";let ne=Vs(W,E);return new DateFormatter(t,ne).format(K)},getDateFormatter(W,ne){let Q={...E,...ne},de=Vs({},Q);return new DateFormatter(W,de)}}}function uB(e,t,r,o,n,i,a,l){let s=["hour","minute","second"],u=r.formatToParts(e),c=[];for(let d of u){let m=PS[d.type]||d.type,p=Wd[m];m==="era"&&i.getEras().length===1&&(p=false);let y=Wd[m]&&!t[m],b=Wd[m]?hS(m,d.value,a):null,f={type:m,text:y?b:d.value,...Ud(n,m,o),isPlaceholder:y,placeholder:b,isEditable:p};m==="hour"?(c.push({type:"literal",text:"\u2066",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false}),c.push(f),m===l&&c.push({type:"literal",text:"\u2069",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false})):s.includes(m)&&m===l?(c.push(f),c.push({type:"literal",text:"\u2069",...Ud(n,"literal",o),isPlaceholder:false,placeholder:"",isEditable:false})):c.push(f);}return c}function Ud(e,t,r){switch(t){case "era":{let o=e.calendar.getEras();return {value:o.indexOf(e.era),minValue:0,maxValue:o.length-1}}case "year":return {value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case "month":return {value:e.month,minValue:getMinimumMonthInYear(e),maxValue:e.calendar.getMonthsInYear(e)};case "day":return {value:e.day,minValue:getMinimumDayInMonth(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case "dayPeriod":return {value:e.hour>=12?12:0,minValue:0,maxValue:12};case "hour":if(r.hour12){let o=e.hour>=12;return {value:e.hour,minValue:o?12:0,maxValue:o?23:11}}return {value:e.hour,minValue:0,maxValue:23};case "minute":return {value:e.minute,minValue:0,maxValue:59};case "second":return {value:e.second,minValue:0,maxValue:59}}return {}}function cB(e,t,r,o){switch(t){case "era":case "year":case "month":case "day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case "dayPeriod":{let n=e.hour,i=n>=12;return e.set({hour:i?n-12:n+12})}case "hour":case "minute":case "second":return e.cycle(t,r,{round:t!=="hour",hourCycle:o.hour12?12:24})}throw new Error("Unknown segment: "+t)}function dB(e,t,r,o){switch(t){case "day":case "month":case "year":case "era":return e.set({[t]:r})}if("hour"in e&&typeof r=="number")switch(t){case "dayPeriod":{let n=e.hour,i=n>=12;return r>=12===i?e:e.set({hour:i?n-12:n+12})}case "hour":if(o.hour12){let i=e.hour>=12;!i&&r===12&&(r=0),i&&r<12&&(r+=12);}case "minute":case "second":return e.set({[t]:r})}throw new Error("Unknown segment: "+t)}function qd(e){let{placeholderValue:t=new Time,minValue:r,maxValue:o,defaultValue:n,granularity:i,validate:a}=e,[l,s]=be(e.value,n??null,e.onChange),u=l||t,c=u&&"day"in u?u:void 0,d=n&&"timeZone"in n?n.timeZone:void 0,m=useMemo(()=>{let x=u&&"timeZone"in u?u.timeZone:void 0;return (x||d)&&t?toZoned(Sa(t),x||d):Sa(t)},[t,u,d]),p=useMemo(()=>Sa(r,c),[r,c]),y=useMemo(()=>Sa(o,c),[o,c]),b=useMemo(()=>l&&"day"in l?toTime(l):l,[l]),f=useMemo(()=>l==null?null:Sa(l),[l]),h=useMemo(()=>n==null?null:Sa(n),[n]);return {...Pa({...e,value:f,defaultValue:h,minValue:p,maxValue:y,onChange:x=>{s(c||d?x:x&&toTime(x));},granularity:i||"minute",maxGranularity:"hour",placeholderValue:m??void 0,createCalendar:()=>new GregorianCalendar,validate:useCallback(()=>a?.(l),[a,l])}),timeValue:b}}function Sa(e,t=today(getLocalTimeZone())){return e?"day"in e?e:toCalendarDateTime(t,e):null}function Da(e){let{getItems:t,isDisabled:r,collection:o,selectionManager:n,onDragStart:i,onDragMove:a,onDragEnd:l,preview:s,getAllowedDropOperations:u}=e,[,c]=useState(false),d=useRef(new Set),m=useRef(null),p=y=>{let b=new Set;if(n.isSelected(y))for(let f of n.selectedKeys){let h=o.getItem(f);if(h){let v=false,g=h.parentKey;for(;g!=null;){if(n.selectedKeys.has(g)){v=true;break}let x=o.getItem(g);g=x?x.parentKey:null;}v||b.add(f);}}else b.add(y);return b};return {collection:o,selectionManager:n,get draggedKey(){return m.current},get draggingKeys(){return d.current},isDragging(y){return d.current.has(y)},getKeysForDrag:p,getItems(y){let b=p(y),f=[];for(let h of b){let v=o.getItem(h)?.value;v!=null&&f.push(v);}return t(p(y),f)},isDisabled:r,preview:s,getAllowedDropOperations:u,startDrag(y,b){let f=p(y);d.current=f,m.current=y,n.setFocused(false),c(true),typeof i=="function"&&i({...b,keys:f});},moveDrag(y){typeof a=="function"&&a({...y,keys:d.current});},endDrag(y){let{isInternal:b}=y;typeof l=="function"&&l({...y,keys:d.current,isInternal:b}),d.current=new Set,m.current=null,c(false);}}}function ka(e){let{acceptedDragTypes:t="all",isDisabled:r,onInsert:o,onRootDrop:n,onItemDrop:i,onReorder:a,onMove:l,shouldAcceptItemDrop:s,collection:u,selectionManager:c,onDropEnter:d,getDropOperation:m,onDrop:p}=e,[y,b]=useState(null),f=useRef(null),h=g=>{if(g.dropPosition==="before"){let x=u.getItem(g.key);return x&&x.prevKey!=null?{type:"item",key:x.prevKey,dropPosition:"after"}:null}else if(g.dropPosition==="after"){let x=u.getItem(g.key);return x&&x.nextKey!=null?{type:"item",key:x.nextKey,dropPosition:"before"}:null}return null},v=useCallback(g=>{let{target:x,types:T,allowedOperations:P,isInternal:S,draggingKeys:E}=g;if(r||!x)return "cancel";if(t==="all"||t.some(D=>T.has(D))){let D=o&&x.type==="item"&&!S&&(x.dropPosition==="before"||x.dropPosition==="after"),I=a&&x.type==="item"&&S&&(x.dropPosition==="before"||x.dropPosition==="after")&&CB(u,x,E),C=x.type!=="item"||x.dropPosition!=="on"||!s||s(x,T),_=l&&x.type==="item"&&S&&C,z=n&&x.type==="root"&&!S,w=i&&x.type==="item"&&x.dropPosition==="on"&&!(S&&x.key!=null&&E.has(x.key))&&C;if(p||D||I||_||z||w)return m?m(x,T,P):P[0]}return "cancel"},[r,u,t,m,o,n,i,s,a,l,p]);return {collection:u,selectionManager:c,isDisabled:r,target:y,setTarget(g){if(this.isDropTarget(g))return;let x=f.current;x&&typeof e.onDropExit=="function"&&e.onDropExit({type:"dropexit",x:0,y:0,target:x}),g&&typeof d=="function"&&d({type:"dropenter",x:0,y:0,target:g}),f.current=g??null,b(g??null);},isDropTarget(g){let x=f.current;return !x||!g?false:rg(g,x)?true:g?.type==="item"&&x?.type==="item"&&g.key!==x.key&&g.dropPosition!==x.dropPosition&&g.dropPosition!=="on"&&x.dropPosition!=="on"?rg(h(g),x)||rg(g,h(x)):false},getDropOperation(g){return v(g)}}}function rg(e,t){if(!e)return !t;switch(e.type){case "root":return t?.type==="root";case "item":return t?.type==="item"&&t?.key===e.key&&t?.dropPosition===e.dropPosition}}function CB(e,t,r){let o=e.getItem(t.key);for(let n of r)if(e.getItem(n)?.parentKey!==o?.parentKey)return false;return true}function $s(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:o=u=>u.id??u.key,filter:n,initialFilterText:i=""}=e,[a,l]=useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:i}),s=useMemo(()=>n?a.items.filter(u=>n(u,a.filterText)):a.items,[a.items,a.filterText,n]);return {...a,items:s,...kB({getKey:o},l),getItem(u){return a.items.find(c=>o(c)===u)}}}function kB(e,t){let{cursor:r,getKey:o}=e;return {setSelectedKeys(n){t(i=>({...i,selectedKeys:n}));},addKeysToSelection(n){t(i=>i.selectedKeys==="all"?i:n==="all"?{...i,selectedKeys:"all"}:{...i,selectedKeys:new Set([...i.selectedKeys,...n])});},removeKeysFromSelection(n){t(i=>{if(n==="all")return {...i,selectedKeys:new Set};let a=i.selectedKeys==="all"?new Set(i.items.map(o)):new Set(i.selectedKeys);for(let l of n)a.delete(l);return {...i,selectedKeys:a}});},setFilterText(n){t(i=>({...i,filterText:n}));},insert(n,...i){t(a=>Bs(a,n,...i));},insertBefore(n,...i){t(a=>{let l=a.items.findIndex(s=>o?.(s)===n);if(l===-1)if(a.items.length===0)l=0;else return a;return Bs(a,l,...i)});},insertAfter(n,...i){t(a=>{let l=a.items.findIndex(s=>o?.(s)===n);if(l===-1)if(a.items.length===0)l=0;else return a;return Bs(a,l+1,...i)});},prepend(...n){t(i=>Bs(i,0,...n));},append(...n){t(i=>Bs(i,i.items.length,...n));},remove(...n){t(i=>{let a=new Set(n),l=i.items.filter(u=>!a.has(o(u))),s="all";if(i.selectedKeys!=="all"){s=new Set(i.selectedKeys);for(let u of n)s.delete(u);}return r==null&&l.length===0&&(s=new Set),{...i,items:l,selectedKeys:s}});},removeSelectedItems(){t(n=>{if(n.selectedKeys==="all")return {...n,items:[],selectedKeys:new Set};let i=n.selectedKeys,a=n.items.filter(l=>!i.has(o(l)));return {...n,items:a,selectedKeys:new Set}});},move(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let s=a.items.slice(),[u]=s.splice(l,1);return s.splice(i,0,u),{...a,items:s}});},moveBefore(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let u=(Array.isArray(i)?i:[...i]).map(c=>a.items.findIndex(d=>o(d)===c)).sort((c,d)=>c-d);return DS(a,u,l)});},moveAfter(n,i){t(a=>{let l=a.items.findIndex(c=>o(c)===n);if(l===-1)return a;let u=(Array.isArray(i)?i:[...i]).map(c=>a.items.findIndex(d=>o(d)===c)).sort((c,d)=>c-d);return DS(a,u,l+1)});},update(n,i){t(a=>{let l=a.items.findIndex(s=>o(s)===n);return l===-1?a:{...a,items:[...a.items.slice(0,l),i,...a.items.slice(l+1)]}});}}}function Bs(e,t,...r){return {...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function DS(e,t,r){r-=t.filter(i=>i<r).length;let o=t.map(i=>({from:i,to:r++}));for(let i=0;i<o.length;i++){let a=o[i].from;for(let l=i;l<o.length;l++)o[l].from>a&&o[l].from--;}for(let i=0;i<o.length;i++){let a=o[i];for(let l=o.length-1;l>i;l--){let s=o[l];s.from<a.to?a.to++:s.from++;}}let n=e.items.slice();for(let i of o){let[a]=n.splice(i.from,1);n.splice(i.to,0,a);}return {...e,items:n}}function Xd(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:o=b=>b.id??b.key,getChildren:n=b=>b.children}=e,[i,a]=useState(()=>d(t,new Map)),{items:l,nodeMap:s}=i,[u,c]=useState(new Set(r||[]));function d(b=[],f,h){return b==null&&(b=[]),{items:b.map(v=>{let g={key:o(v),parentKey:h??null,value:v,children:null};return g.children=d(n(v),f,g.key).items,f.set(g.key,g),g}),nodeMap:f}}function m(b,f,h,v){let g=f==null?null:v.get(f);if(g==null)return {items:b,nodeMap:v};let x=new Map(v),T=h(g);for(T==null?y(g,x):p(T,x);g&&g.parentKey;){let P=x.get(g.parentKey),S={key:P.key,parentKey:P.parentKey,value:P.value,children:null},E=P.children;T==null&&E&&(E=E.filter(D=>D!==g)),S.children=E?.map(D=>D===g?T:D)??null,x.set(S.key,S),T=S,g=P;}return T==null&&(b=b.filter(P=>P!==g)),{items:b.map(P=>P===g?T:P),nodeMap:x}}function p(b,f){if(f.set(b.key,b),b.children)for(let h of b.children)p(h,f);}function y(b,f){if(f.delete(b.key),b.children)for(let h of b.children)y(h,f);}return {items:l,selectedKeys:u,setSelectedKeys:c,getItem(b){return s.get(b)},insert(b,f,...h){a(({items:v,nodeMap:g})=>{let{items:x,nodeMap:T}=d(h,g,b);return b==null?{items:[...v.slice(0,f),...x,...v.slice(f)],nodeMap:T}:m(v,b,P=>({key:P.key,parentKey:P.parentKey,value:P.value,children:[...P.children.slice(0,f),...x,...P.children.slice(f)]}),T)});},insertBefore(b,...f){let h=s.get(b);if(!h)return;let v=s.get(h.parentKey),x=(v?v.children:l).indexOf(h);this.insert(v?.key??null,x,...f);},insertAfter(b,...f){let h=s.get(b);if(!h)return;let v=s.get(h.parentKey),x=(v?v.children:l).indexOf(h);this.insert(v?.key??null,x+1,...f);},prepend(b,...f){this.insert(b,0,...f);},append(b,...f){if(b==null)this.insert(null,l.length,...f);else {let h=s.get(b);if(!h)return;this.insert(b,h.children.length,...f);}},remove(...b){if(b.length===0)return;let f=l,h=s,v;for(let x of b)v=m(f,x,()=>null,h),h=v.nodeMap,f=v.items;a(v);let g=new Set(u);for(let x of u)v.nodeMap.has(x)||g.delete(x);c(g);},removeSelectedItems(){this.remove(...u);},move(b,f,h){a(({items:v,nodeMap:g})=>{let x=g.get(b);if(!x)return {items:v,nodeMap:g};let{items:T,nodeMap:P}=m(v,b,()=>null,g),S={...x,parentKey:f};return f==null?(p(S,P),{items:[...T.slice(0,h),S,...T.slice(h)],nodeMap:P}):m(T,f,E=>({key:E.key,parentKey:E.parentKey,value:E.value,children:[...E.children.slice(0,h),S,...E.children.slice(h)]}),P)});},moveBefore(b,f){a(h=>{let{items:v,nodeMap:g}=h,x=g.get(b);if(!x)return h;let T=x.parentKey??null,P=null;T!=null&&(P=g.get(T)??null);let S=P?.children?P.children.indexOf(x):v.indexOf(x);return zS(h,f,P,S,m,p)});},moveAfter(b,f){a(h=>{let{items:v,nodeMap:g}=h,x=g.get(b);if(!x)return h;let T=x.parentKey??null,P=null;T!=null&&(P=g.get(T)??null);let S=P?.children?P.children.indexOf(x):v.indexOf(x);return S++,zS(h,f,P,S,m,p)});},update(b,f){a(({items:h,nodeMap:v})=>m(h,b,g=>{let x={key:g.key,parentKey:g.parentKey,value:f,children:null},T=d(n(f),v,x.key);return x.children=T.items,x},v));}}}function zS(e,t,r,o,n,i){let{items:a,nodeMap:l}=e,s=r,u=new Set(t);for(;s?.parentKey!=null;){if(u.has(s.key))throw new Error("Cannot move an item to be a child of itself.");s=l.get(s.parentKey)??null;}let c=o,d=Array.isArray(t)?t:[...t],m=new Map,p=[],y=a,b=l,f=0;function h(T,{inorder:P,postorder:S}){if(P?.(T),T!=null)for(let E of T.children??[])h(E,{inorder:P,postorder:S}),S?.(E);}function v(T){d.includes(T.key)&&m.set(T.key,f++);}function g(T){if(d.includes(T.key)){p.push({...b.get(T.key),parentKey:r?.key??null});let{items:P,nodeMap:S}=n(y,T.key,()=>null,b);y=P,b=S;}(T.parentKey===r||T.parentKey===r?.key)&&d.includes(T.key)&&(r?.children?r.children.indexOf(T):a.indexOf(T))<c&&o--;}h({children:a},{inorder:v,postorder:g});let x=p.sort((T,P)=>m.get(T.key)>m.get(P.key)?1:-1);return !r||r.key==null?(x.forEach(T=>{i(T,b);}),{items:[...y.slice(0,o),...x,...y.slice(o)],nodeMap:b}):n(y,r.key,T=>({key:T.key,parentKey:T.parentKey,value:T.value,children:[...T.children.slice(0,o),...x,...T.children.slice(o)]}),b)}function Yd(e){let t=Nt(e),[r,o]=useState(null),[n,i]=useState([]),a=()=>{i([]),t.close();};return {focusStrategy:r,...t,open(u=null){o(u),t.open();},toggle(u=null){o(u),t.toggle();},close(){a();},expandedKeysStack:n,openSubmenu:(u,c)=>{i(d=>c>d.length?d:[...d.slice(0,c),u]);},closeSubmenu:(u,c)=>{i(d=>d[c]===u?d.slice(0,c):d);}}}var EB=Math.round(Math.random()*1e10),wB=0;function Zd(e){let t=useMemo(()=>e.name||`radio-group-${EB}-${++wB}`,[e.name]),[r,o]=be(e.value,e.defaultValue??null,e.onChange),[n]=useState(r),[i,a]=useState(null),l=Et({...e,value:r}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(o(c),l.commitValidation());},u=l.displayValidation.isInvalid;return {...l,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?n:e.defaultValue??null,setSelectedValue:s,lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||false,isReadOnly:e.isReadOnly||false,isRequired:e.isRequired||false,validationState:e.validationState||(u?"invalid":null),isInvalid:u}}function Jd(e){let[t,r]=be(_S(e.value),_S(e.defaultValue)||"",e.onChange);return {value:t,setValue:r}}function _S(e){if(e!=null)return e.toString()}function za(e){let{selectionMode:t="single"}=e,r=Nt(e),[o,n]=useState(null),i=useMemo(()=>e.defaultValue!==void 0?e.defaultValue:t==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,t]),a=useMemo(()=>e.value!==void 0?e.value:t==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,t]),[l,s]=be(a,i,e.onChange),u=t==="single"&&Array.isArray(l)?l[0]:l,c=v=>{if(t==="single"){let g=Array.isArray(v)?v[0]??null:v;s(g),g!==u&&e.onSelectionChange?.(g);}else {let g=[];Array.isArray(v)?g=v:v!=null&&(g=[v]),s(g);}},d=xt({...e,selectionMode:t,disallowEmptySelection:t==="single",allowDuplicateSelectionEvents:true,selectedKeys:useMemo(()=>_B(u),[u]),onSelectionChange:v=>{if(v!=="all"){if(t==="single"){let g=v.values().next().value??null;c(g),r.close();}else c([...v]);y.commitValidation();}}}),m=d.selectionManager.firstSelectedKey,p=useMemo(()=>[...d.selectionManager.selectedKeys].map(v=>d.collection.getItem(v)).filter(v=>v!=null),[d.selectionManager.selectedKeys,d.collection]),y=Et({...e,value:Array.isArray(u)&&u.length===0?null:u}),[b,f]=useState(false),[h]=useState(u);return {...y,...d,...r,value:u,defaultValue:i??h,setValue:c,selectedKey:m,setSelectedKey:c,selectedItem:p[0]??null,selectedItems:p,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode==="single"?h:null),focusStrategy:o,open(v=null){d.collection.size!==0&&(n(v),r.open());},toggle(v=null){d.collection.size!==0&&(n(v),r.toggle());},isFocused:b,setFocused:f}}function _B(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function IB(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\d+)(?=%$)/)!==null)}function RB(e){if(!e||typeof e=="number")return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):(process.env.NODE_ENV!=="production"&&console.warn(`width: ${e} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function ng(e,t){if(typeof e=="string"){let r=e.match(/^(\d+)(?=%$)/);if(!r)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(r[0])/100)}return e}function ig(e,t){return e!=null?ng(e,t):Number.MAX_SAFE_INTEGER}function ag(e,t){return e!=null?ng(e,t):0}function IS(e,t,r,o,n){let i=false,a=t.map((l,s)=>{let u=r.get(l.key)!=null?r.get(l.key)??"1fr":l.width??l.defaultWidth??o?.(s)??"1fr",c=false,d=0,m=0,p=0;IB(u)?(d=ng(u,e),c=true):(m=RB(u),m<=0&&(c=true));let y=ag(l.minWidth??n?.(s)??0,e),b=ig(l.maxWidth,e),f=Math.max(y,Math.min(d,b));return c?p=f:d>f&&(c=true,p=f),c||(i=true),{frozen:c,baseSize:d,hypotheticalMainSize:f,min:y,max:b,flex:m,targetMainSize:p,violation:0}});for(;i;){let l=0,s=0;a.forEach(d=>{d.frozen?l+=d.targetMainSize:(l+=d.baseSize,s+=d.flex);});let u=e-l;u>0&&a.forEach(d=>{if(!d.frozen){let m=d.flex/s;d.targetMainSize=d.baseSize+m*u;}});let c=0;a.forEach(d=>{if(d.violation=0,!d.frozen){let{min:m,max:p,targetMainSize:y}=d;d.targetMainSize=Math.max(m,Math.min(y,p)),d.violation=d.targetMainSize-y,c+=d.violation;}}),i=false,a.forEach(d=>{c===0||Math.sign(c)===Math.sign(d.violation)?d.frozen=true:d.frozen||(i=true);});}return LB(a)}function LB(e){let t=0,r=0,o=[];return e.forEach(function(n){let i=n.targetMainSize,a=Math.round(i+t)-r;t+=i,r+=a,o.push(a);}),o}var ti=class{getDefaultWidth;getDefaultMinWidth;columnWidths=new Map;columnMinWidths=new Map;columnMaxWidths=new Map;constructor(t){this.getDefaultWidth=t?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=t?.getDefaultMinWidth??(()=>75);}splitColumnsIntoControlledAndUncontrolled(t){return t.reduce((r,o)=>(o.props.width!=null?r[0].set(o.key,o):r[1].set(o.key,o),r),[new Map,new Map])}recombineColumns(t,r,o,n){return new Map(t.map(i=>o.has(i.key)?[i.key,r.get(i.key)]:[i.key,n.get(i.key).props.width]))}getInitialUncontrolledWidths(t){return new Map(Array.from(t).map(([r,o])=>[r,o.props.defaultWidth??this.getDefaultWidth?.(o)??"1fr"]))}getColumnWidth(t){return this.columnWidths.get(t)??0}getColumnMinWidth(t){return this.columnMinWidths.get(t)??0}getColumnMaxWidth(t){return this.columnMaxWidths.get(t)??0}resizeColumnWidth(t,r,o,n){let i=this.columnWidths,a=true,l=new Map;return n=Math.max(this.getColumnMinWidth(o),Math.min(this.getColumnMaxWidth(o),Math.floor(n))),t.columns.forEach(s=>{s.key===o?(l.set(s.key,n),a=false):a?l.set(s.key,i.get(s.key)??0):l.set(s.key,s.props.width??r.get(s.key));}),l}buildColumnWidths(t,r,o){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,IS(t,r.columns.map(i=>({...i.props,key:i.key})),o,i=>this.getDefaultWidth(r.columns[i]),i=>this.getDefaultMinWidth(r.columns[i])).forEach((i,a)=>{let l=r.columns[a].key,s=r.columns[a];this.columnWidths.set(l,i),this.columnMinWidths.set(l,ag(s.props.minWidth??this.getDefaultMinWidth(s),t)),this.columnMaxWidths.set(l,ig(s.props.maxWidth,t));}),this.columnWidths}};function ep(e,t){let{getDefaultWidth:r,getDefaultMinWidth:o,tableWidth:n=0}=e,[i,a]=useState(null),l=useMemo(()=>new ti({getDefaultWidth:r,getDefaultMinWidth:o}),[r,o]),[s,u]=useMemo(()=>l.splitColumnsIntoControlledAndUncontrolled(t.collection.columns),[t.collection.columns,l]),[c,d]=useState(()=>l.getInitialUncontrolledWidths(u)),[m,p]=useState(t.collection.columns);if(t.collection.columns!==m){if(t.collection.columns.length!==m.length||t.collection.columns.some((g,x)=>g.key!==m[x].key)){let g=l.getInitialUncontrolledWidths(u);d(g);}p(t.collection.columns);}let y=useMemo(()=>l.recombineColumns(t.collection.columns,c,u,s),[t.collection.columns,c,u,s,l]),b=useCallback(g=>{a(g);},[a]),f=useCallback((g,x)=>{let T=l.resizeColumnWidth(t.collection,c,g,x),P=new Map(Array.from(u).map(([S])=>[S,T.get(S)]));return P.set(g,x),d(P),T},[u,d,l,t.collection,c]),h=useCallback(()=>{a(null);},[a]),v=useMemo(()=>l.buildColumnWidths(n,t.collection,y),[n,t.collection,y,l]);return useMemo(()=>({resizingColumn:i,updateResizedColumns:f,startResize:b,endResize:h,getColumnWidth:g=>l.getColumnWidth(g),getColumnMinWidth:g=>l.getColumnMinWidth(g),getColumnMaxWidth:g=>l.getColumnMaxWidth(g),tableState:t,columnWidths:v}),[l,v,i,f,b,h,t])}function ug(e){let{collection:t,focusMode:r}=e,o=e.UNSAFE_selectionState||Zr(e),n=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=o.setFocusedKey;o.setFocusedKey=(s,u)=>{if(r==="cell"&&s!=null){let c=t.getItem(s);if(c?.type==="item"){let d=Ee(c,t);u==="last"?s=Tr(d)?.key??null:s=jt(d)?.key??null;}}i(s,u);};let a=useMemo(()=>new To(t,o),[t,o]),l=useRef(null);return useEffect(()=>{if(o.focusedKey!=null&&l.current&&!t.getItem(o.focusedKey)){let s=l.current.getItem(o.focusedKey),u=s?.parentKey!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!u){o.setFocusedKey(null);return}let c=l.current.rows,d=t.rows,m=c.length-d.length,p=Math.min(m>1?Math.max(u.index-m+1,0):u.index,d.length-1),y=null;for(;p>=0;){if(!a.isDisabled(d[p].key)&&d[p].type!=="headerrow"){y=d[p];break}p<d.length-1?p++:(p>u.index&&(p=u.index),p--);}if(y){let b=y.hasChildNodes?[...Ee(y,t)]:[],f=y.hasChildNodes&&u!==s&&s&&s.index<b.length?b[s.index].key:y.key;o.setFocusedKey(f);}else o.setFocusedKey(null);}l.current=t;},[t,a,o,o.focusedKey]),{collection:t,disabledKeys:n,isKeyboardNavigationDisabled:false,selectionManager:a}}var js=class{keyMap=new Map;columnCount;rows;constructor(t){this.keyMap=new Map,this.columnCount=t?.columnCount,this.rows=[];let r=i=>{let a=this.keyMap.get(i.key);t.visitNode&&(i=t.visitNode(i)),this.keyMap.set(i.key,i);let l=new Set,s=null,u=false;if(i.type==="item"){for(let c of i.childNodes)if(c.props?.colSpan!==void 0){u=true;break}}for(let c of i.childNodes)c.type==="cell"&&u&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=s?(s.colIndex??s.index)+(s.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=i.key),l.add(c.key),s?(s.nextKey=c.key,c.prevKey=s.key):c.prevKey=null,r(c),s=c;if(s&&(s.nextKey=null),a)for(let c of a.childNodes)l.has(c.key)||o(c);},o=i=>{this.keyMap.delete(i.key);for(let a of i.childNodes)this.keyMap.get(a.key)===a&&o(a);},n=null;for(let[i,a]of t.items.entries()){let l={...a,level:a.level??0,key:a.key??"row-"+i,type:a.type??"row",value:a.value??null,hasChildNodes:true,childNodes:[...a.childNodes],rendered:a.rendered,textValue:a.textValue??"",index:a.index??i};n?(n.nextKey=l.key,l.prevKey=n.key):l.prevKey=null,this.rows.push(l),r(l),n=l;}n&&(n.nextKey=null);}*[Symbol.iterator](){yield*[...this.rows];}get size(){return [...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return [...this.rows][0]?.key}getLastKey(){let t=[...this.rows];return t[t.length-1]?.key}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var LS="row-header-column-"+Math.random().toString(36).slice(2),cg="row-header-column-"+Math.random().toString(36).slice(2);for(;LS===cg;)cg="row-header-column-"+Math.random().toString(36).slice(2);function tp(e,t){if(t.length===0)return [];let r=[],o=new Map;for(let s of t){let u=s.parentKey,c=[s];for(;u;){let d=e.get(u);if(!d)break;if(o.has(d)){d.colSpan??=0,d.colSpan++,d.colspan=d.colSpan;let{column:m,index:p}=o.get(d);if(p>c.length)break;for(let y=p;y<c.length;y++)m.splice(y,0,null);for(let y=c.length;y<m.length;y++)m[y]&&o.has(m[y])&&(o.get(m[y]).index=y);}else d.colSpan=1,d.colspan=1,c.push(d),o.set(d,{column:c,index:c.length-1});u=d.parentKey;}r.push(c),s.index=r.length-1;}let n=Math.max(...r.map(s=>s.length)),i=Array(n).fill(0).map(()=>[]),a=0;for(let s of r){let u=n-1;for(let c of s){if(c){let d=i[u],m=d.reduce((p,y)=>p+(y.colSpan??1),0);if(m<a){let p={type:"placeholder",key:"placeholder-"+c.key,colspan:a-m,colSpan:a-m,index:m,value:null,rendered:null,level:u,hasChildNodes:false,childNodes:[],textValue:""};d.length>0&&(d[d.length-1].nextKey=p.key,p.prevKey=d[d.length-1].key),d.push(p);}d.length>0&&(d[d.length-1].nextKey=c.key,c.prevKey=d[d.length-1].key),c.level=u,c.colIndex=a,d.push(c);}u--;}a++;}let l=0;for(let s of i){let u=s.reduce((c,d)=>c+(d.colSpan??1),0);if(u<t.length){let c={type:"placeholder",key:"placeholder-"+s[s.length-1].key,colSpan:t.length-u,colspan:t.length-u,index:u,value:null,rendered:null,level:l,hasChildNodes:false,childNodes:[],textValue:"",prevKey:s[s.length-1].key};s.push(c);}l++;}return i.map((s,u)=>({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:true,childNodes:s,textValue:""}))}var Gs=class extends js{headerRows;columns;rowHeaderColumnKeys;body;_size=0;constructor(t,r,o){let n=new Set,i=null,a=[];if(o?.showSelectionCheckboxes){let d={type:"column",key:LS,value:null,textValue:"",level:0,index:o?.showDragButtons?1:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isSelectionCell:true}};a.unshift(d);}if(o?.showDragButtons){let d={type:"column",key:cg,value:null,textValue:"",level:0,index:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isDragButtonCell:true}};a.unshift(d);}let l=[],s=new Map,u=d=>{switch(d.type){case "body":i=d;break;case "column":s.set(d.key,d),d.hasChildNodes||(a.push(d),d.props.isRowHeader&&n.add(d.key));break;case "item":l.push(d);return}for(let m of d.childNodes)u(m);};for(let d of t)u(d);let c=tp(s,a);if(c.forEach((d,m)=>l.splice(m,0,d)),super({columnCount:a.length,items:l,visitNode:d=>(d.column=a[d.index],d)}),this.columns=a,this.rowHeaderColumnKeys=n,this.body=i,this.headerRows=c,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let d=this.columns.find(m=>!m.props?.isDragButtonCell&&!m.props?.isSelectionCell);d&&this.rowHeaderColumnKeys.add(d.key);}}*[Symbol.iterator](){yield*this.body.childNodes;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){return this.keyMap.get(t)?.prevKey??null}getKeyAfter(t){return this.keyMap.get(t)?.nextKey??null}getFirstKey(){return jt(this.body.childNodes)?.key??null}getLastKey(){return Tr(this.body.childNodes)?.key??null}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let r=this.getItem(t);if(!r)return "";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys;if(o){let n=[];for(let i of r.childNodes){let a=this.columns[i.index];if(o.has(a.key)&&i.textValue&&n.push(i.textValue),n.length===o.size)break}return n.join(" ")}return ""}};var FB={ascending:"descending",descending:"ascending"};function rp(e){let[t,r]=useState(false),{selectionMode:o="none",showSelectionCheckboxes:n,showDragButtons:i}=e,a=useMemo(()=>({showSelectionCheckboxes:n&&o!=="none",showDragButtons:i,selectionMode:o,columns:[]}),[e.children,n,o,i]),l=Wo(e,useCallback(c=>new Gs(c,null,a),[a]),a),{disabledKeys:s,selectionManager:u}=ug({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});return {collection:l,disabledKeys:s,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||false,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:r,sort(c,d){e.onSortChange?.({column:c,direction:d??(e.sortDescriptor?.column===c?FB[e.sortDescriptor.direction]:"ascending")});}}}function op(e,t){let r=useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),o=e.selectionManager.withCollection(r);return {...e,collection:r,selectionManager:o}}function np(e){let t=va({...e,onSelectionChange:e.onSelectionChange?a=>{a!=null&&e.onSelectionChange?.(a);}:void 0,suppressTextValueWarning:true,defaultSelectedKey:e.defaultSelectedKey??AS(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:r,collection:o,selectedKey:n}=t,i=useRef(n);return useEffect(()=>{let a=n;e.selectedKey==null&&(r.isEmpty||a==null||!o.getItem(a))&&(a=AS(o,t.disabledKeys),a!=null&&r.setSelectedKeys([a])),(a!=null&&r.focusedKey==null||!r.isFocused&&a!==i.current)&&r.setFocusedKey(a),i.current=a;}),{...t,isDisabled:e.isDisabled||false}}function AS(e,t){let r=null;if(e){for(r=e.getFirstKey();r!=null&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);r!=null&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey());}return r}function ip(e){let t=useCallback(n=>e.subscribe(n),[e]),r=useCallback(()=>e.visibleToasts,[e]);return {visibleToasts:useSyncExternalStore(t,r,r),add:(n,i)=>e.add(n,i),close:n=>e.close(n),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}var Us=class{queue=[];subscriptions=new Set;maxVisibleToasts;wrapUpdate;visibleToasts=[];constructor(t){this.maxVisibleToasts=t?.maxVisibleToasts??1/0,this.wrapUpdate=t?.wrapUpdate;}runWithWrapUpdate(t,r){this.wrapUpdate?this.wrapUpdate(t,r):t();}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,r={}){let o="_"+Math.random().toString(36).slice(2),n={...r,content:t,key:o,timer:r.timeout?new dg(()=>this.close(o),r.timeout):void 0};return this.queue.unshift(n),this.updateVisibleToasts("add"),o}close(t){let r=this.queue.findIndex(o=>o.key===t);r>=0&&(this.queue[r].onClose?.(),this.queue.splice(r,1)),this.updateVisibleToasts("remove");}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let r of this.subscriptions)r();},t);}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause();}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume();}clear(){this.queue=[],this.updateVisibleToasts("clear");}},dg=class{timerId;startTime=null;remaining;callback;constructor(t,r){this.remaining=r,this.callback=t;}reset(t){this.remaining=t,this.resume();}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime);}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback();},this.remaining));}};var jB=1500,KS=500,ri={},GB=0,Ws=false,Po=null,oi=null;function ap(e={}){let{delay:t=jB,closeDelay:r=KS}=e,{isOpen:o,open:n,close:i}=Nt(e),a=useMemo(()=>`${++GB}`,[]),l=useRef(null),s=useRef(i),u=()=>{ri[a]=m;},c=()=>{for(let y in ri)y!==a&&(ri[y](true),delete ri[y]);},d=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),u(),Ws=true,n(),Po&&(clearTimeout(Po),Po=null),oi&&(clearTimeout(oi),oi=null);},m=y=>{y||r<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current();},r)),Po&&(clearTimeout(Po),Po=null),Ws&&(oi&&clearTimeout(oi),oi=setTimeout(()=>{delete ri[a],oi=null,Ws=false;},Math.max(KS,r)));},p=()=>{c(),u(),!o&&!Po&&!Ws?Po=setTimeout(()=>{Po=null,Ws=true,d();},t):o||d();};return useEffect(()=>{s.current=i;},[i]),useEffect(()=>()=>{l.current&&clearTimeout(l.current),ri[a]&&delete ri[a];},[a]),{isOpen:o,open:y=>{!y&&t>0&&!l.current?p():d();},close:m}}var lp=class{keyMap=new Map;iterable;firstKey=null;lastKey=null;constructor(t,{expandedKeys:r}={}){this.iterable=t,r=r||new Set;let o=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let l of a.childNodes)o(l);};for(let a of t)o(a);let n=null,i=0;for(let[a,l]of this.keyMap)n?(n.nextKey=a,l.prevKey=n.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=i++),n=l,n.nextKey=void 0;this.lastKey=n?.key??null;}*[Symbol.iterator](){yield*this.iterable;}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};function Ea(e){let{onExpandedChange:t}=e,[r,o]=be(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),n=Zr(e),i=useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Wo(e,useCallback(s=>new lp(s,{expandedKeys:r}),[r]),null);return useEffect(()=>{n.focusedKey!=null&&!a.getItem(n.focusedKey)&&n.setFocusedKey(null);},[a,n.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:i,toggleKey:s=>{o(XB(r,s));},setExpandedKeys:o,selectionManager:new To(a,n)}}function XB(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var sp=createContext({}),qs=forwardRef(function(t,r){[t,r]=er(t,r,sp);let{elementType:o="span",...n}=t;return jsx(o,{className:"react-aria-Text",...n,ref:r})});var VS={"ar-AE":{colorSwatchPicker:"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u0623\u0644\u0648\u0627\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627",tableResizer:"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"},"bg-BG":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u0438 \u043C\u043E\u0441\u0442\u0440\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442",tableResizer:"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\xEDsto pro p\u0159eta\u017Een\xED",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"Zm\u011Bna velikosti"},"da-DK":{colorSwatchPicker:"Farvepr\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE6lg et element",tableResizer:"St\xF8rrelses\xE6ndring"},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\xE4hlen",tableResizer:"Gr\xF6\xDFenanpassung"},"el-GR":{colorSwatchPicker:"\u03A7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1\u03C4\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF",tableResizer:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\xEDculo",tableResizer:"Cambiador de tama\xF1o"},"et-EE":{colorSwatchPicker:"V\xE4rvin\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \xFCksus",tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:"V\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:"\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\xE9lectionner un \xE9l\xE9ment",tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05D5\u05EA \u05E6\u05D1\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8",tableResizer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\u010Dine"},"hu-HU":{colorSwatchPicker:"Sz\xEDnt\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE1lasszon ki egy elemet",tableResizer:"\xC1tm\xE9retez\u0151"},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",dropzoneLabel:"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3",selectPlaceholder:"\u9805\u76EE\u3092\u9078\u629E",tableResizer:"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"},"ko-KR":{colorSwatchPicker:"\uC0C9\uC0C1 \uACAC\uBCF8",dropzoneLabel:"\uB4DC\uB86D \uC601\uC5ED",selectPlaceholder:"\uD56D\uBAA9 \uC120\uD0DD",tableResizer:"\uD06C\uAE30 \uC870\uC815\uAE30"},"lt-LT":{colorSwatchPicker:"Spalv\u0173 pavyzd\u017Eiai",dropzoneLabel:"\u201EDropZone\u201C",selectPlaceholder:"Pasirinkite element\u0105",tableResizer:"Dyd\u017Eio keitiklis"},"lv-LV":{colorSwatchPicker:"Kr\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\u0113l\u0113ties vienumu",tableResizer:"Izm\u0113ra main\u012Bt\u0101js"},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\xF8rrelsesendrer"},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:"Pr\xF3bki kolor\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\u0103 de plasare",selectPlaceholder:"Selecta\u021Bi un element",tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0431\u0440\u0430\u0437\u0446\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"},"sk-SK":{colorSwatchPicker:"Vzorkovn\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"N\xE1stroj na zmenu ve\u013Ekosti"},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\u010Dine"},"sv-SE":{colorSwatchPicker:"F\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE4lj en artikel",tableResizer:"Storleks\xE4ndrare"},"tr-TR":{colorSwatchPicker:"Renk \xF6rnekleri",dropzoneLabel:"B\u0131rakma B\xF6lgesi",selectPlaceholder:"Bir \xF6\u011Fe se\xE7in",tableResizer:"Yeniden boyutland\u0131r\u0131c\u0131"},"uk-UA":{colorSwatchPicker:"\u0417\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"},"zh-CN":{colorSwatchPicker:"\u989C\u8272\u8272\u677F",dropzoneLabel:"\u653E\u7F6E\u533A\u57DF",selectPlaceholder:"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE",tableResizer:"\u5C3A\u5BF8\u8C03\u6574\u5668"},"zh-TW":{colorSwatchPicker:"\u8272\u7968",dropzoneLabel:"\u653E\u7F6E\u5340",selectPlaceholder:"\u9078\u53D6\u9805\u76EE",tableResizer:"\u5927\u5C0F\u8ABF\u6574\u5668"}};var Co=createContext({}),wa=createContext(null),nn=forwardRef(function(t,r){let{render:o}=useContext(wa);return jsx(Fragment,{children:o(t,r)})});function up(e,t){let r=e?.renderDropIndicator,o=e?.isVirtualDragging?.(),n=useCallback(i=>{if(o||t?.isDropTarget(i))return r?r(i):jsx(nn,{target:i})},[t?.target,o,r]);return e?.useDropIndicator?n:void 0}function cp(e,t,r){let o=e.focusedKey,n=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(n=r.target.key,r.target.dropPosition==="after")){let i=r.collection.getKeyAfter(n),a=null;if(i!=null){let l=r.collection.getItem(n)?.level??0;for(;i;){let s=r.collection.getItem(i);if(!s)break;if(s.type!=="item"){i=r.collection.getKeyAfter(i);continue}if((s.level??0)<=l)break;a=i,i=r.collection.getKeyAfter(i);}}n=i??a??n;}return useMemo(()=>new Set([o,n].filter(i=>i!=null)),[o,n])}var dp=createContext({}),pp=xo(Ms,function(t,r){return [t,r]=er(t,r,dp),jsx("header",{className:"react-aria-Header",...t,ref:r,children:t.children})});var jS=createContext(null);function mp(e){let t=useRef({});return jsx(jS.Provider,{value:t,children:e.children})}var GS=forwardRef(function(t,r){let{name:o,isVisible:n=true,children:i,className:a,style:l,...s}=t,[u,c]=useState(n?"visible":"hidden"),d=useContext(jS);if(!d)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");n&&u==="hidden"&&c("visible"),r=ge(r),ae(()=>{let p=r.current,y=d.current,b=y?.[o],f=null;if(p&&n&&b){c("visible");let h=p.getAnimations(),v=b.style.map(([g,x])=>{let T=p.style[g];if(g==="translate"){let P=b.rect,S=p.getBoundingClientRect(),E=P.left-S?.left,D=P.top-S?.top;p.style.translate=`${E}px ${D}px`;}else p.style[g]=x;return [g,T]});for(let g of p.getAnimations())h.includes(g)||g.cancel();f=requestAnimationFrame(()=>{f=null;for(let[g,x]of v)p.style[g]=x;}),delete y?.[o];}else p&&n&&!b?(queueMicrotask(()=>flushSync(()=>c("entering"))),f=requestAnimationFrame(()=>{f=null,c("visible");})):p&&!n&&queueMicrotask(()=>{y?.[o]?(delete y?.[o],flushSync(()=>c("exiting")),Promise.all(p.getAnimations().map(h=>h.finished)).then(()=>c("hidden")).catch(()=>{})):c("hidden");});return ()=>{if(f!=null&&cancelAnimationFrame(f),p&&p.isConnected&&!p.hasAttribute("data-exiting")){let h=window.getComputedStyle(p);if(h.transitionProperty!=="none"){let v=h.transitionProperty.split(/\s*,\s*/);y[o]={rect:p.getBoundingClientRect(),style:v.map(g=>[g,h[g]])};}}}},[r,d,o,n]);let m=cr({children:i,className:a,style:l,values:{isEntering:u==="entering",isExiting:u==="exiting"}});return u==="hidden"?null:jsx("div",{...s,...m,ref:r,"data-entering":u==="entering"||void 0,"data-exiting":u==="exiting"||void 0})});var pg=createContext({isSelected:false});forwardRef(function(t,r){[t,r]=er(t,r,pg);let{isSelected:o,...n}=t;return jsx(GS,{...n,ref:r,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:o})});var WS=createContext({});var So=createContext(null),Cr=createContext(null),mg=forwardRef(function(t,r){[t,r]=er(t,r,So);let o=useContext(Cr);return o?jsx(JS,{state:o,props:t,listBoxRef:r}):jsx(rn,{content:jsx(Yr,{...t}),children:n=>jsx(y$,{props:t,listBoxRef:r,collection:n})})});function y$({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:o}=useContext(wt),n=xt({...e,layoutDelegate:o});return jsx(JS,{state:n,props:e,listBoxRef:t})}function JS({state:e,props:t,listBoxRef:r}){[t,r]=er(t,r,Oo);let{dragAndDropHooks:o,layout:n="stack",orientation:i="vertical",filter:a}=t,l=Hd(e,a),{collection:s,selectionManager:u}=l,c=!!o?.useDraggableCollectionState,d=!!o?.useDroppableCollectionState,{direction:m}=J(),{disabledBehavior:p,disabledKeys:y}=u,b=$t({usage:"search",sensitivity:"base"}),{isVirtualized:f,layoutDelegate:h,dropTargetDelegate:v,CollectionRoot:g}=useContext(wt),x=useMemo(()=>t.keyboardDelegate||new ct({collection:s,collator:b,ref:r,disabledKeys:y,disabledBehavior:p,layout:n,orientation:i,direction:m,layoutDelegate:h}),[s,b,r,p,y,i,m,t.keyboardDelegate,n,h]),{listBoxProps:T}=Bi({...t,shouldSelectOnPressUp:c||t.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:f},l,r),P=useRef(c),S=useRef(d);useEffect(()=>{process.env.NODE_ENV!=="production"&&(P.current!==c&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),S.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[c,d]);let E,D,I,C=false,_=null,z=useRef(null);if(c&&o){E=o.useDraggableCollectionState({collection:s,selectionManager:u,preview:o.renderDragPreview?z:void 0}),o.useDraggableCollection({},E,r);let A=o.DragPreview;_=o.renderDragPreview?jsx(A,{ref:z,children:o.renderDragPreview}):null;}if(d&&o){D=o.useDroppableCollectionState({collection:s,selectionManager:u});let A=o.dropTargetDelegate||v||new o.ListDropTargetDelegate(s,r,{orientation:i,layout:n,direction:m});I=o.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:A},D,r),C=D.isDropTarget({type:"root"});}let{focusProps:w,isFocused:O,isFocusVisible:k}=ee(),M=l.collection.size===0,F={isDropTarget:C,isEmpty:M,isFocused:O,isFocusVisible:k,layout:t.layout||"stack",state:l},K=cr({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:F}),N=null;M&&t.renderEmptyState&&(N=jsx("div",{role:"option",style:{display:"contents"},children:t.renderEmptyState(F)}));let $=le(t,{global:true});return jsx(zt,{children:jsxs("div",{...R($,K,T,w,I?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":C||void 0,"data-empty":M||void 0,"data-focused":O||void 0,"data-focus-visible":k||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical",children:[jsx($n,{values:[[So,t],[Cr,l],[Co,{dragAndDropHooks:o,dragState:E,dropState:D}],[WS,{elementType:"div"}],[wa,{render:b$}],[uS,{name:"ListBoxSection",render:QS}]],children:jsx(mp,{children:jsx(g,{collection:s,scrollRef:r,persistedKeys:cp(u,o,D),renderDropIndicator:up(o,D)})})}),N,_]})})}function QS(e,t,r,o="react-aria-ListBoxSection"){let n=useContext(Cr),{dragAndDropHooks:i,dropState:a}=useContext(Co),{CollectionBranch:l}=useContext(wt),[s,u]=IP(),{headingProps:c,groupProps:d}=Hi({heading:u,"aria-label":e["aria-label"]??void 0}),m=cr({defaultClassName:o,className:e.className,style:e.style,values:{}}),p=le(e,{global:true});return delete p.id,jsx("section",{...R(p,m,d),ref:t,children:jsx(dp.Provider,{value:{...c,ref:s},children:jsx(l,{collection:n.collection,parent:r,renderDropIndicator:up(i,a)})})})}var fg=ha(Ns,QS),yg=xo(As,function(t,r,o){let n=ge(r),i=useContext(Cr),{dragAndDropHooks:a,dragState:l,dropState:s}=useContext(Co),{optionProps:u,labelProps:c,descriptionProps:d,...m}=$i({key:o.key,"aria-label":t?.["aria-label"]},i,n),{hoverProps:p,isHovered:y}=re({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:o.props.onHoverStart,onHoverChange:o.props.onHoverChange,onHoverEnd:o.props.onHoverEnd}),b=null;l&&a&&(b=a.useDraggableItem({key:o.key},l));let f=null;s&&a&&(f=a.useDroppableItem({target:{type:"item",key:o.key,dropPosition:"on"}},s,n));let h=l&&l.isDragging(o.key),v=cr({...t,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...m,isHovered:y,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:h,isDropTarget:f?.isDropTarget}});useEffect(()=>{!o.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.");},[o.textValue]);let g=t.href?"a":"div",x=le(t,{global:true});return delete x.id,delete x.onClick,jsx(g,{...R(x,v,u,p,b?.dragProps,f?.dropProps),ref:n,"data-allows-dragging":!!l||void 0,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-dragging":h||void 0,"data-drop-target":f?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode,children:jsx($n,{values:[[sp,{slots:{[Gc]:c,label:c,description:d}}],[pg,{isSelected:m.isSelected}]],children:v.children})})});function b$(e,t){t=ge(t);let{dragAndDropHooks:r,dropState:o}=useContext(Co),{dropIndicatorProps:n,isHidden:i,isDropTarget:a}=r.useDropIndicator(e,o,t);return i?null:jsx(h$,{...e,dropIndicatorProps:n,isDropTarget:a,ref:t})}function g$(e,t){let{dropIndicatorProps:r,isDropTarget:o,...n}=e,i=cr({...n,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}});return jsx("div",{...r,...i,role:"option",ref:t,"data-drop-target":o||void 0})}var h$=forwardRef(g$);xo(Zn,function(t,r,o){let n=useContext(Cr),{isLoading:i,onLoadMore:a,scrollOffset:l,...s}=t,u=useRef(null),c=useMemo(()=>({onLoadMore:a,collection:n?.collection,sentinelRef:u,scrollOffset:l}),[a,l,n?.collection]);Ei(c,u);let d=cr({...s,children:o.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),m={tabIndex:-1};return jsxs(Fragment,{children:[jsx("div",{style:{position:"relative",width:0,height:0},inert:El(true),children:jsx("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})}),i&&d.children&&jsx("div",{...R(le(t,{global:true}),m),...d,role:"option",ref:r,children:d.children})]})});var gg=class extends Jn{headerRows=[];columns=[];rows=[];rowHeaderColumnKeys=new Set;head=new hg(-1);body=new vg(-2);columnsDirty=true;addNode(t){super.addNode(t),this.columnsDirty||=t.type==="column",t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t);}commit(t,r,o=false){this.updateColumns(o),this.rows=[];for(let n of this.getChildren(this.body.key)){let i=n.lastChildKey;if(i!=null){let a=this.getItem(i),l=(a.colIndex??a.index)+(a.colSpan??1);if(l!==this.columns.length&&!o)throw new Error(`Cell count must match column count. Found ${l} cells and ${this.columns.length} columns.`)}this.rows.push(n);}super.commit(t,r,o);}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let r=new Map,o=n=>{switch(n.type){case "column":r.set(n.key,n),n.hasChildNodes||(n.index=this.columns.length,this.columns.push(n),n.props.isRowHeader&&this.rowHeaderColumnKeys.add(n.key));break}for(let i of this.getChildren(n.key))o(i);};for(let n of this.getChildren(this.head.key))o(n);if(this.headerRows=tp(r,this.columns),this.columnsDirty=false,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body);}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let r=this.getItem(t);return r?.type==="column"?r.nextKey??null:super.getKeyAfter(t)}getKeyBefore(t){let r=this.getItem(t);if(r?.type==="column")return r.prevKey??null;let o=super.getKeyBefore(t);return o!=null&&this.getItem(o)?.type==="tablebody"?null:o}getChildren(t){if(!this.getItem(t)){for(let r of this.headerRows)if(r.key===t)return r.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let r=this.getItem(t);if(!r)return "";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys,n=[];for(let i of this.getChildren(t)){let a=this.columns[i.index];if(o.has(a.key)&&i.textValue&&n.push(i.textValue),n.length===o.size)break}return n.join(" ")}},xg=createContext(null);forwardRef(function(t,r){let o=ge(r),n=useRef(null),i=useRef(null),[a,l]=useState(0);ae(()=>{let u=n.current;for(;u&&u!==o.current&&!kt(u);)u=u.parentElement;i.current=u;},[o]),Br({ref:i,box:"border-box",onResize(){l(i.current?.clientWidth??0);}}),ae(()=>{l(i.current?.clientWidth??0);},[]);let s=useMemo(()=>({tableRef:n,scrollRef:i,tableWidth:a,useTableColumnResizeState:ep,onResizeStart:t.onResizeStart,onResize:t.onResize,onResizeEnd:t.onResizeEnd}),[n,a,t.onResizeStart,t.onResize,t.onResizeEnd]);return jsx("div",{...le(t,{global:true}),ref:o,className:t.className||"react-aria-ResizableTableContainer",style:t.style,onScroll:t.onScroll,children:jsx(xg.Provider,{value:s,children:t.children})})});var P$=createContext(null),Tg=createContext(null),gp=createContext(null);forwardRef(function(t,r){[t,r]=er(t,r,P$);let o=Zr(t),{selectionBehavior:n,selectionMode:i,disallowEmptySelection:a}=o,l=!!t.dragAndDropHooks?.useDraggableCollectionState,s=useMemo(()=>({selectionBehavior:i==="none"?null:n,selectionMode:i,disallowEmptySelection:a,allowsDragging:l}),[n,i,a,l]),u=jsx(S$.Provider,{value:s,children:jsx(Yr,{...t})});return jsx(rn,{content:u,createCollection:()=>new gg,children:c=>jsx(C$,{props:t,forwardedRef:r,selectionState:o,collection:c})})});function C$({props:e,forwardedRef:t,selectionState:r,collection:o}){[e,t]=er(e,t,Oo);let{shouldUseVirtualFocus:n,disallowTypeAhead:i,filter:a,...l}=e,s=useContext(xg);t=ge(useMemo(()=>Z(t,s?.tableRef),[t,s?.tableRef]));let u=rp({...l,collection:o,children:void 0,UNSAFE_selectionState:r}),c=op(u,a),{isVirtualized:d,layoutDelegate:m,dropTargetDelegate:p,CollectionRoot:y}=useContext(wt),{dragAndDropHooks:b}=e,{gridProps:f}=Dd({...l,layoutDelegate:m,isVirtualized:d},c,t),h=c.selectionManager,v=!!b?.useDraggableCollectionState,g=!!b?.useDroppableCollectionState,x=useRef(v),T=useRef(g);useEffect(()=>{process.env.NODE_ENV!=="production"&&(x.current!==v&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),T.current!==g&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[v,g]);let P,S,E,D=false,I=null,C=useRef(null);if(v&&b){P=b.useDraggableCollectionState({collection:c.collection,selectionManager:h,preview:b.renderDragPreview?C:void 0}),b.useDraggableCollection({},P,t);let $=b.DragPreview;I=b.renderDragPreview?jsx($,{ref:C,children:b.renderDragPreview}):null;}if(g&&b){S=b.useDroppableCollectionState({collection:c.collection,selectionManager:h});let $=new ct({collection:c.collection,disabledKeys:h.disabledKeys,disabledBehavior:h.disabledBehavior,ref:t,layoutDelegate:m}),A=b.dropTargetDelegate||p||new b.ListDropTargetDelegate(o.rows,t);E=b.useDroppableCollection({keyboardDelegate:$,dropTargetDelegate:A},S,t),D=S.isDropTarget({type:"root"});}let{focusProps:_,isFocused:z,isFocusVisible:w}=ee(),O=cr({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:D,isFocused:z,isFocusVisible:w,state:c}}),k=!!(v&&!P?.isDisabled),M=O.style,F=null;s&&(F=s.useTableColumnResizeState({tableWidth:s.tableWidth},c),d||(M={...M,tableLayout:"fixed",width:"fit-content"}));let K=Xs("table"),N=le(e,{global:true});return jsxs($n,{values:[[Tg,c],[gp,F],[Co,{dragAndDropHooks:b,dragState:P,dropState:S}],[wa,{render:k$}],[Oo,null],[Pn,null]],children:[jsx(zt,{children:jsx(K,{...R(N,O,f,_,E?.collectionProps),style:M,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":D||void 0,"data-focused":z||void 0,"data-focus-visible":w||void 0,children:jsx(mp,{children:jsx(y,{collection:c.collection,scrollRef:s?.scrollRef??t,persistedKeys:cp(h,b,S)})})})}),I]})}function Xs(e){let{isVirtualized:t}=useContext(wt);return t?"div":e}var S$=createContext(null);var hg=class extends Xr{static type="tableheader"};var D$=createContext(null);forwardRef(function(t,r){let o=useContext(gp);if(!o)throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");let n=xe(VS,"react-aria-components"),{onResizeStart:i,onResize:a,onResizeEnd:l}=useContext(xg),{column:s,triggerRef:u}=useContext(D$),c=useRef(null),{resizerProps:d,inputProps:m,isResizing:p}=kd({column:s,"aria-label":t["aria-label"]||n.format("tableResizer"),onResizeStart:i,onResize:a,onResizeEnd:l,triggerRef:u},o,c),{focusProps:y,isFocused:b,isFocusVisible:f}=ee(),{hoverProps:h,isHovered:v}=re(t),g=o.getColumnMinWidth(s.key)>=o.getColumnWidth(s.key),x=o.getColumnMaxWidth(s.key)<=o.getColumnWidth(s.key),{direction:T}=J(),P="both";g?P=T==="rtl"?"right":"left":x?P=T==="rtl"?"left":"right":P="both";let S=ge(r),[E,D]=useState("");useEffect(()=>{if(!S.current)return;let O=window.getComputedStyle(S.current);D(O.cursor);},[S,P]);let I=cr({...t,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:b,isFocusVisible:f,isResizing:p,isHovered:v,resizableDirection:P}}),[C,_]=useState(false),z=O=>{O.pointerType==="mouse"&&_(true);};!p&&C&&_(false);let w=le(t,{global:true});return jsxs("div",{ref:S,role:"presentation",...R(w,I,d,{onPointerDown:z},h),"data-hovered":v||void 0,"data-focused":b||void 0,"data-focus-visible":f||void 0,"data-resizing":p||void 0,"data-resizable-direction":P,children:[I.children,jsx("input",{ref:c,...R(m,y)}),p&&C&&jO.createPortal(jsx("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:E}}),document.body)]})});var vg=class extends Yn{static type="tablebody"};function k$(e,t){t=ge(t);let{dragAndDropHooks:r,dropState:o}=useContext(Co),n=useRef(null),{dropIndicatorProps:i,isHidden:a,isDropTarget:l}=r.useDropIndicator(e,o,n);return a?null:jsx(E$,{...e,dropIndicatorProps:i,isDropTarget:l,buttonRef:n,ref:t})}function z$(e,t){let{dropIndicatorProps:r,isDropTarget:o,buttonRef:n,...i}=e,a=useContext(Tg),{visuallyHiddenProps:l}=ur(),s=cr({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}}),u=Xs("tr"),c=Xs("td");return jsx(u,{...le(e,{global:true}),...s,role:"row",ref:t,"data-drop-target":o||void 0,children:jsxs(c,{role:"gridcell",colSpan:a.collection.columnCount,style:{padding:0},children:[jsx("div",{...l,role:"button",...r,ref:n}),s.children]})})}var E$=forwardRef(z$);xo(Zn,function(t,r,o){let n=useContext(Tg),{isVirtualized:i}=useContext(wt),{isLoading:a,onLoadMore:l,scrollOffset:s,...u}=t,c=n.collection.columns.length,d=useRef(null),m=useMemo(()=>({onLoadMore:l,collection:n?.collection,sentinelRef:d,scrollOffset:s}),[l,s,n?.collection]);Ei(m,d);let p=cr({...u,children:o.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),y=Xs("tr"),b=Xs("td"),f={},h={},v={};return i?(h["aria-colspan"]=c,v={display:"contents"}):h.colSpan=c,jsxs(Fragment,{children:[jsx(y,{style:{height:0},inert:El(true),children:jsx(b,{style:{padding:0,border:0},children:jsx("div",{"data-testid":"loadMoreSentinel",ref:d,style:{position:"relative",height:1,width:1}})})}),a&&p.children&&jsx(y,{...R(le(t,{global:true}),f),...p,role:"row",ref:r,children:jsx(b,{role:"rowheader",...h,style:v,children:p.children})})]})});var eo=class{virtualizer=null;shouldInvalidate(t,r){return t.width!==r.width||t.height!==r.height}shouldInvalidateLayoutOptions(t,r){return t!==r}update(t){}getItemRect(t){return this.getLayoutInfo(t)?.rect??null}getVisibleRect(){return this.virtualizer.visibleRect}};var Ye=class e{type;key;parentKey;content;rect;estimatedSize;isSticky;opacity;transform;zIndex;allowOverflow;constructor(t,r,o){this.type=t,this.key=r,this.parentKey=null,this.content=null,this.rect=o,this.estimatedSize=false,this.isSticky=false,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=false;}copy(){let t=new e(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.content=this.content,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}};var mr=class e{x;y;constructor(t=0,r=0){this.x=t,this.y=r;}copy(){return new e(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}};var ve=class e{x;y;width;height;constructor(t=0,r=0,o=0,n=0){this.x=t,this.y=r,this.width=o,this.height=n;}get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new mr(this.x,this.y)}get topRight(){return new mr(this.maxX,this.y)}get bottomLeft(){return new mr(this.x,this.maxY)}get bottomRight(){return new mr(this.maxX,this.maxY)}intersects(t){return (process.env.NODE_ENV==="test"&&!process.env.VIRT_ON||this.area>0&&t.area>0)&&this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let r of ["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[r]))return r;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let r=Math.min(this.x,t.x),o=Math.min(this.y,t.y),n=Math.max(this.maxX,t.maxX)-r,i=Math.max(this.maxY,t.maxY)-o;return new e(r,o,n,i)}intersection(t){if(!this.intersects(t))return new e(0,0,0,0);let r=Math.max(this.x,t.x),o=Math.max(this.y,t.y);return new e(r,o,Math.min(this.maxX,t.maxX)-r,Math.min(this.maxY,t.maxY)-o)}copy(){return new e(this.x,this.y,this.width,this.height)}};var Oe=class e{width;height;constructor(t=0,r=0){this.width=Math.max(t,0),this.height=Math.max(r,0);}copy(){return new e(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}};var _$=0,vp=class{virtualizer;layoutInfo;content;rendered;viewType;key;children;reusableViews;constructor(t,r){this.virtualizer=t,this.key=++_$,this.viewType=r,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null;}prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null;}getReusableView(t){let r=this.reusableViews.get(t);return r&&r.length>0?r.shift():new Pg(this.virtualizer,this,t)}reuseChild(t){t.prepareForReuse();let r=this.reusableViews.get(t.viewType);r||(r=[],this.reusableViews.set(t.viewType,r)),r.push(t);}},xp=class extends vp{constructor(t){super(t,"root");}},Pg=class extends vp{parent;constructor(t,r,o){super(t,o),this.parent=r;}};function r1(e,t){if(e===t)return true;if(e.size!==t.size)return false;for(let r of e)if(!t.has(r))return false;return true}var Tp=class{startTime=0;velocity=new mr(0,0);visibleRect=new ve;setVisibleRect(t){let r=performance.now()-this.startTime;r<500&&(t.x!==this.visibleRect.x&&r>0&&(this.velocity.x=(t.x-this.visibleRect.x)/r),t.y!==this.visibleRect.y&&r>0&&(this.velocity.y=(t.y-this.visibleRect.y)/r)),this.startTime=performance.now(),this.visibleRect=t;}getOverscannedRect(){let t=this.visibleRect.copy(),r=this.visibleRect.height/3;if(t.height+=r,this.velocity.y<0&&(t.y-=r),this.velocity.x!==0){let o=this.visibleRect.width/3;t.width+=o,this.velocity.x<0&&(t.x-=o);}return t}};var Pp=class{delegate;collection;layout;contentSize;visibleRect;persistedKeys;_visibleViews;_renderedContent;_rootView;_isScrolling;_invalidationContext;_overscanManager;constructor(t){this.delegate=t.delegate,this.collection=t.collection,this.layout=t.layout,this.contentSize=new Oe,this.visibleRect=new ve,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new xp(this),this._isScrolling=false,this._invalidationContext={},this._overscanManager=new Tp;}isPersistedKey(t){if(this.persistedKeys.has(t))return true;for(let r of this.persistedKeys)for(;r!=null;){let o=this.layout.getLayoutInfo(r);if(!o||o.parentKey==null)break;if(r=o.parentKey,r===t)return true}return false}getParentView(t){return t.parentKey!=null?this._visibleViews.get(t.parentKey):this._rootView}getReusableView(t){let o=this.getParentView(t).getReusableView(t.type);return o.layoutInfo=t,this._renderView(o),o}_renderView(t){if(t.layoutInfo){let{type:r,key:o,content:n}=t.layoutInfo;t.content=n||this.collection.getItem(o),t.rendered=this._renderContent(r,t.content);}}_renderContent(t,r){let o=r!=null?this._renderedContent.get(r):null;if(o!=null)return o;let n=this.delegate.renderView(t,r);return r&&this._renderedContent.set(r,n),n}keyAtPoint(t){let r=new ve(t.x,t.y,1,1),o=r.area===0?[]:this.layout.getVisibleLayoutInfos(r);for(let n of o)if(n.rect.intersects(r))return n.key;return null}relayout(t={}){this.layout.update(t),this.contentSize=this.layout.getContentSize();let r=this.visibleRect,o=t.contentChanged?0:r.x,n=t.contentChanged?0:r.y;if(o=Math.max(0,Math.min(this.contentSize.width-r.width,o)),n=Math.max(0,Math.min(this.contentSize.height-r.height,n)),o!==r.x||n!==r.y){let i=new ve(o,n,r.width,r.height);this.delegate.setVisibleRect(i);}else this.updateSubviews();}getVisibleLayoutInfos(){let t=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,r=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientWidth"),o=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientHeight"),n;t&&!(r&&o)?n=new ve(0,0,this.contentSize.width,this.contentSize.height):n=this._overscanManager.getOverscannedRect();let i=this.layout.getVisibleLayoutInfos(n),a=new Map;for(let l of i)a.set(l.key,l);return a}updateSubviews(){let t=this.getVisibleLayoutInfos(),r=new Set;for(let[o,n]of this._visibleViews){let i=t.get(o);(!i||n.parent!==this.getParentView(i))&&(this._visibleViews.delete(o),n.parent.reuseChild(n),r.add(n));}for(let[o,n]of t){let i=this._visibleViews.get(o);if(!i)i=this.getReusableView(n),i.parent.children.add(i),this._visibleViews.set(o,i),r.delete(i);else {i.layoutInfo=n;let a=this.collection.getItem(n.key);i.content!==a&&(i.content!=null&&this._renderedContent.delete(i.content),this._renderView(i));}}for(let o of r)o.parent.children.delete(o),o.parent.reusableViews.clear();if(!this._isScrolling)for(let o of t.keys()){let n=this._visibleViews.get(o);n.parent.children.delete(n),n.parent.children.add(n);}}render(t){let r=this,o=false,n=false,i=false,a=false,l=false,s=false;return t.collection!==this.collection&&(r.collection=t.collection,o=true),(t.layout!==this.layout||this.layout.virtualizer!==this)&&(this.layout&&(this.layout.virtualizer=null),t.layout.virtualizer=this,r.layout=t.layout,o=true),t.persistedKeys&&!r1(t.persistedKeys,this.persistedKeys)&&(r.persistedKeys=t.persistedKeys,s=true),this.visibleRect.equals(t.visibleRect)||(this._overscanManager.setVisibleRect(t.visibleRect),this.layout.shouldInvalidate(t.visibleRect,this.visibleRect)?(n=!t.visibleRect.pointEquals(this.visibleRect),i=!t.visibleRect.sizeEquals(this.visibleRect),o=true):s=true,r.visibleRect=t.visibleRect),t.invalidationContext!==this._invalidationContext&&(t.invalidationContext&&(i||=t.invalidationContext.sizeChanged||false,n||=t.invalidationContext.offsetChanged||false,a||=t.invalidationContext.itemSizeChanged||false,l||=t.invalidationContext.layoutOptions!=null&&this._invalidationContext.layoutOptions!=null&&t.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(t.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions),o||=a||i||n||l),this._invalidationContext=t.invalidationContext),t.isScrolling!==this._isScrolling&&(this._isScrolling=t.isScrolling,t.isScrolling||(s=true)),o?this.relayout({offsetChanged:n,sizeChanged:i,itemSizeChanged:a,layoutOptionsChanged:l,layoutOptions:this._invalidationContext.layoutOptions}):s&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(t){return this._visibleViews.get(t)}invalidate(t){this.delegate.invalidate(t);}updateItemSize(t,r){if(!this.layout.updateItemSize)return;this.layout.updateItemSize(t,r)&&this.invalidate({itemSizeChanged:true});}};var L$=typeof document<"u"?Mo.useLayoutEffect:()=>{};function Cg(e){let[t,r]=useState(new ve(0,0,0,0)),[o,n]=useState(false),[i,a]=useState({}),l=useRef(false),[s]=useState(()=>new Pp({collection:e.collection,layout:e.layout,delegate:{setVisibleRect(b){r(b),l.current=true;},renderView:e.renderView,invalidate:a}}));L$(()=>{l.current&&(l.current=false,e.onVisibleRectChange(t));});let u=useMemo(()=>e.layoutOptions!=null?{...i,layoutOptions:e.layoutOptions}:i,[i,e.layoutOptions]),c=s.render({layout:e.layout,collection:e.collection,persistedKeys:e.persistedKeys,layoutOptions:e.layoutOptions,visibleRect:t,invalidationContext:u,isScrolling:o}),d=s.contentSize,m=useCallback(()=>{n(true);},[]),p=useCallback(()=>{n(false);},[]);return useMemo(()=>({virtualizer:s,visibleViews:c,setVisibleRect:r,contentSize:d,isScrolling:o,startScrolling:m,endScrolling:p}),[s,c,r,d,o,m,p])}var rr={minItemSize:new Oe(200,200),maxItemSize:new Oe(1/0,1/0),preserveAspectRatio:false,minSpace:new Oe(18,18),maxSpace:1/0,maxColumns:1/0,dropIndicatorThickness:2},ni=class extends eo{gap=rr.minSpace;dropIndicatorThickness=2;numColumns=0;contentSize=new Oe;layoutInfos=new Map;margin=0;shouldInvalidateLayoutOptions(t,r){return t.maxColumns!==r.maxColumns||t.dropIndicatorThickness!==r.dropIndicatorThickness||t.preserveAspectRatio!==r.preserveAspectRatio||!(t.minItemSize||rr.minItemSize).equals(r.minItemSize||rr.minItemSize)||!(t.maxItemSize||rr.maxItemSize).equals(r.maxItemSize||rr.maxItemSize)||!(t.minSpace||rr.minSpace).equals(r.minSpace||rr.minSpace)||t.maxHorizontalSpace!==r.maxHorizontalSpace}update(t){let{minItemSize:r=rr.minItemSize,maxItemSize:o=rr.maxItemSize,preserveAspectRatio:n=rr.preserveAspectRatio,minSpace:i=rr.minSpace,maxHorizontalSpace:a=rr.maxSpace,maxColumns:l=rr.maxColumns,dropIndicatorThickness:s=rr.dropIndicatorThickness}=t.layoutOptions||{};this.dropIndicatorThickness=s;let u=this.virtualizer.visibleRect.width,c=Math.min(o.width,u),d=Number.isFinite(o.height)?o.height:Math.floor(r.height/r.width*c),m=Math.floor(u/(r.width+i.width)),p=Math.max(1,Math.min(l,m));this.numColumns=p;let y=u-i.width*Math.max(0,p),b=Math.floor(y/p);b=Math.max(r.width,Math.min(c,b));let f=(b-r.width)/Math.max(1,c-r.width),h=r.height+Math.floor((d-r.height)*f);h=Math.max(r.height,Math.min(d,h));let v=Math.min(Math.max(a,i.width),Math.floor((u-p*b)/(p+1)));this.gap=new Oe(v,i.height),this.margin=Math.floor((u-p*b-v*(p+1))/2);let g=this.virtualizer.collection,x=g.size,T=g.getLastKey();for(let z=0;z<2&&T!=null;z++){if(g.getItem(T)?.type==="skeleton"){x++;break}T=g.getKeyBefore(T);}let P=Math.ceil(x/p),S=g[Symbol.iterator](),E=P>0?i.height:0,D=new Map,I=null,C=0;for(let z=0;z<P;z++){let w=0,O=[];for(let k=0;k<p;k++){let M=I||S.next().value;if(!M)break;if(M.type==="loader")continue;M.type==="skeleton"&&(I=M);let F=I?`${I.key}-${C++}`:M.key,K=this.layoutInfos.get(F),N=M;I&&(N=K&&K.content.key===F?K.content:{...I,key:F});let $=v+k*(b+v)+this.margin,A=h,B=!n;K&&B&&(A=K.rect.height,B=t.layoutOptionsChanged||t.sizeChanged||K.estimatedSize||K.content!==N);let U=new ve($,E,b,A),oe=new Ye(M.type,F,U);oe.estimatedSize=B,oe.allowOverflow=true,oe.content=N,D.set(F,oe),O.push(oe),w=Math.max(w,oe.rect.height);}for(let k of O)k.rect.height=w;E+=w+i.height,I&&z===P-1&&E<this.virtualizer.visibleRect.height&&P++;}let _=g.getItem(g.getLastKey());if(_?.type==="loader"){let z=new ve(v,E,b,0),w=new Ye("loader",_.key,z);D.set(_.key,w);}this.layoutInfos=D,this.contentSize=new Oe(this.virtualizer.visibleRect.width,E);}getLayoutInfo(t){return this.layoutInfos.get(t)||null}getContentSize(){return this.contentSize}getVisibleLayoutInfos(t){let r=[];for(let o of this.layoutInfos.values())(o.rect.intersects(t)||this.virtualizer.isPersistedKey(o.key)||o.type==="loader")&&r.push(o);return r}updateItemSize(t,r){let o=this.layoutInfos.get(t);if(!r||!o)return false;if(r.height!==o.rect.height){let n=o.copy();return n.rect.height=r.height,n.estimatedSize=false,this.layoutInfos.set(t,n),true}return false}getDropTargetFromPoint(t,r,o){if(this.layoutInfos.size===0)return {type:"root"};t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=null;if(this.numColumns===1){let c=new ve(t,Math.max(0,r-this.gap.height),1,Math.max(1,this.gap.height*2)),d=this.getVisibleLayoutInfos(c),m=1/0;for(let p of d){if(!p.rect.intersects(c))continue;let y=Math.abs(p.rect.y-r),b=Math.abs(p.rect.maxY-r),f=Math.min(y,b);f<m&&(m=f,n=p.key);}}else {let c=new ve(Math.max(0,t-this.gap.width),r,this.gap.width*2,1),d=this.getVisibleLayoutInfos(c),m=1/0;for(let p of d){if(!p.rect.intersects(c))continue;let y=Math.abs(p.rect.x-t),b=Math.abs(p.rect.maxX-t),f=Math.min(y,b);f<m&&(m=f,n=p.key);}}let i=n!=null?this.getLayoutInfo(n):null;if(!i)return {type:"root"};let a={type:"item",key:i.key,dropPosition:"on"},l=this.numColumns===1?r:t,s=this.numColumns===1?i.rect.y:i.rect.x,u=this.numColumns===1?i.rect.height:i.rect.width;if(o(a))l<s+5?a.dropPosition="before":l>s+u-5&&(a.dropPosition="after");else {let c=s+u/2;l<=c&&o({...a,dropPosition:"before"})?a.dropPosition="before":l>=c&&o({...a,dropPosition:"after"})&&(a.dropPosition="after");}return a}getDropTargetLayoutInfo(t){let r=this.getLayoutInfo(t.key),o;return this.numColumns===1?o=new ve(r.rect.x,t.dropPosition==="before"?r.rect.y-this.gap.height/2-this.dropIndicatorThickness/2:r.rect.maxY+this.gap.height/2-this.dropIndicatorThickness/2,r.rect.width,this.dropIndicatorThickness):o=new ve(t.dropPosition==="before"?r.rect.x-this.gap.width/2-this.dropIndicatorThickness/2:r.rect.maxX+this.gap.width/2-this.dropIndicatorThickness/2,r.rect.y,this.dropIndicatorThickness,r.rect.height),new Ye("dropIndicator",t.key+":"+t.dropPosition,o)}};var Ia=48,Do=class extends eo{rowHeight;estimatedRowHeight;headingHeight;estimatedHeadingHeight;loaderHeight;dropIndicatorThickness;gap;padding;layoutNodes;contentSize;lastCollection;rootNodes;invalidateEverything;validRect;requestedRect;constructor(t={}){super(),this.rowHeight=t.rowHeight??null,this.estimatedRowHeight=t.estimatedRowHeight??null,this.headingHeight=t.headingHeight??null,this.estimatedHeadingHeight=t.estimatedHeadingHeight??null,this.loaderHeight=t.loaderHeight??null,this.dropIndicatorThickness=t.dropIndicatorThickness||2,this.gap=t.gap||0,this.padding=t.padding||0,this.layoutNodes=new Map,this.rootNodes=[],this.lastCollection=null,this.invalidateEverything=false,this.validRect=new ve,this.requestedRect=new ve,this.contentSize=new Oe;}get collection(){return this.virtualizer.collection}getLayoutInfo(t){return this.ensureLayoutInfo(t),this.layoutNodes.get(t)?.layoutInfo||null}getVisibleLayoutInfos(t){if(t.height>1){let n=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;t.y=Math.floor(t.y/n)*n,t.height=Math.ceil(t.height/n)*n;}this.layoutIfNeeded(t);let r=[],o=n=>{for(let i of n)this.isVisible(i,t)&&(r.push(i.layoutInfo),i.children&&o(i.children));};return o(this.rootNodes),r}layoutIfNeeded(t){if(this.lastCollection){this.requestedRect.containsRect(t)||(this.requestedRect=this.requestedRect.union(t),this.rootNodes=this.buildCollection());for(let r of this.virtualizer.persistedKeys)if(this.ensureLayoutInfo(r))return}}ensureLayoutInfo(t){return !this.layoutNodes.has(t)&&this.requestedRect.area<this.contentSize.area&&this.lastCollection?(this.requestedRect=new ve(0,0,1/0,1/0),this.rootNodes=this.buildCollection(),this.requestedRect=new ve(0,0,this.contentSize.width,this.contentSize.height),true):false}isVisible(t,r){return t.layoutInfo.rect.intersects(r)||t.layoutInfo.isSticky||t.layoutInfo.type==="header"||t.layoutInfo.type==="loader"||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){let r=t.layoutOptions;return t.sizeChanged||this.rowHeight!==(r?.rowHeight??this.rowHeight)||this.headingHeight!==(r?.headingHeight??this.headingHeight)||this.loaderHeight!==(r?.loaderHeight??this.loaderHeight)||this.gap!==(r?.gap??this.gap)||this.padding!==(r?.padding??this.padding)}shouldInvalidateLayoutOptions(t,r){return t.rowHeight!==r.rowHeight||t.estimatedRowHeight!==r.estimatedRowHeight||t.headingHeight!==r.headingHeight||t.estimatedHeadingHeight!==r.estimatedHeadingHeight||t.loaderHeight!==r.loaderHeight||t.dropIndicatorThickness!==r.dropIndicatorThickness||t.gap!==r.gap||t.padding!==r.padding}update(t){let r=this.virtualizer.collection;this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.requestedRect=this.virtualizer.visibleRect.copy(),this.layoutNodes.clear());let o=t.layoutOptions;if(this.rowHeight=o?.rowHeight??this.rowHeight,this.estimatedRowHeight=o?.estimatedRowHeight??this.estimatedRowHeight,this.headingHeight=o?.headingHeight??this.headingHeight,this.estimatedHeadingHeight=o?.estimatedHeadingHeight??this.estimatedHeadingHeight,this.loaderHeight=o?.loaderHeight??this.loaderHeight,this.dropIndicatorThickness=o?.dropIndicatorThickness??this.dropIndicatorThickness,this.gap=o?.gap??this.gap,this.padding=o?.padding??this.padding,this.rootNodes=this.buildCollection(),this.lastCollection&&r!==this.lastCollection)for(let n of this.lastCollection.getKeys())r.getItem(n)||this.layoutNodes.get(n)&&this.layoutNodes.delete(n);this.lastCollection=r,this.invalidateEverything=false,this.validRect=this.requestedRect.copy();}buildCollection(t=this.padding){let r=this.virtualizer.collection,o=[...r],n=o.filter(l=>l.type==="loader"),i=[],a=r?.size===0;a&&(t=0);for(let l of o){let s=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;if(l.type==="item"&&t+s<this.requestedRect.y&&!this.isValid(l,t)){t+=s;continue}let u=this.buildChild(l,this.padding,t,null);if(t=u.layoutInfo.rect.maxY+this.gap,i.push(u),l.type==="loader"){let c=n.indexOf(l);n.splice(c,1);}if((l.type==="item"||l.type==="loader")&&t>this.requestedRect.maxY){let c=o.indexOf(l);for(let d of n){let m=o.indexOf(d);t+=(m-c-1)*s;let p=this.buildChild(d,this.padding,t,null);i.push(p),t=p.layoutInfo.rect.maxY,c=m;}t+=(o.length-c-1)*s;break}}return t-=this.gap,t+=a?0:this.padding,this.contentSize=new Oe(this.virtualizer.visibleRect.width,t),i}isValid(t,r){let o=this.layoutNodes.get(t.key);return !this.invalidateEverything&&!!o&&o.node===t&&r===o.layoutInfo.rect.y&&o.layoutInfo.rect.intersects(this.validRect)&&o.validRect.containsRect(o.layoutInfo.rect.intersection(this.requestedRect))}buildChild(t,r,o,n){if(this.isValid(t,o))return this.layoutNodes.get(t.key);let i=this.buildNode(t,r,o);return i.layoutInfo.parentKey=n??null,i.layoutInfo.allowOverflow=true,this.layoutNodes.set(t.key,i),i}buildNode(t,r,o){switch(t.type){case "section":return this.buildSection(t,r,o);case "item":return this.buildItem(t,r,o);case "header":return this.buildSectionHeader(t,r,o);case "loader":return this.buildLoader(t,r,o);case "separator":return this.buildItem(t,r,o);default:throw new Error("Unsupported node type: "+t.type)}}buildLoader(t,r,o){let n=new ve(r,o,this.padding,0),i=new Ye("loader",t.key,n);return n.width=this.virtualizer.contentSize.width-this.padding-r,n.height=t.props.isLoading?this.loaderHeight??this.rowHeight??this.estimatedRowHeight??Ia:0,{layoutInfo:i,validRect:n.intersection(this.requestedRect)}}buildSection(t,r,o){let n=this.virtualizer.collection,i=this.virtualizer.visibleRect.width-this.padding,a=new ve(r,o,i-r,0),l=new Ye(t.type,t.key,a),s=o,u=0,c=[];for(let d of Ee(t,n)){let m=(this.rowHeight??this.estimatedRowHeight??Ia)+this.gap;if(o+m<this.requestedRect.y&&!this.isValid(t,o)){o+=m,u++;continue}let p=this.buildChild(d,r,o,l.key);if(o=p.layoutInfo.rect.maxY+this.gap,c.push(p),o>this.requestedRect.maxY){o+=([...Ee(t,n)].length-(c.length+u))*m;break}}return o-=this.gap,a.height=o-s,{layoutInfo:l,children:c,validRect:l.rect.intersection(this.requestedRect),node:t}}buildSectionHeader(t,r,o){let n=this.virtualizer.visibleRect.width-this.padding,i=this.headingHeight,a=false;if(i==null){let c=this.layoutNodes.get(t.key)?.layoutInfo;if(c){let d=this.virtualizer.collection.getItem(t.key),m=this.lastCollection?this.lastCollection.getItem(t.key):null;i=c.rect.height,a=n!==c.rect.width||d!==m||c.estimatedSize;}else i=t.rendered?this.estimatedHeadingHeight:0,a=true;}i==null&&(i=Ia);let l=new ve(r,o,n-r,i),s=new Ye("header",t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect.intersection(this.requestedRect),node:t}}buildItem(t,r,o){let n=this.virtualizer.visibleRect.width-this.padding-r,i=this.rowHeight,a=false;if(i==null){let u=this.layoutNodes.get(t.key);u?(i=u.layoutInfo.rect.height,a=n!==u.layoutInfo.rect.width||t!==u.node||u.layoutInfo.estimatedSize):(i=this.estimatedRowHeight,a=true);}i==null&&(i=Ia);let l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect,node:t}}updateItemSize(t,r){let o=this.layoutNodes.get(t);if(!o)return false;let n=this.virtualizer.collection,i=o.layoutInfo;if(i.estimatedSize=false,i.rect.height!==r.height){let a=i.copy();a.rect.height=r.height,o.layoutInfo=a,this.validRect.height=Math.min(this.validRect.height,i.rect.y-this.validRect.y),this.requestedRect.height+=a.rect.height-i.rect.height,this.updateLayoutNode(t,i,a);let l=i.parentKey!=null?n.getItem(i.parentKey):null;for(;l;)this.updateLayoutNode(l.key,i,a),l=l.parentKey!=null?n.getItem(l.parentKey):null;return true}return false}updateLayoutNode(t,r,o){let n=this.layoutNodes.get(t);n&&(n.validRect=n.validRect.intersection(this.validRect),n.layoutInfo===r&&(n.layoutInfo=o));}getContentSize(){return this.contentSize}getDropTargetFromPoint(t,r,o){t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=new ve(t,Math.max(0,r-this.gap),1,Math.max(1,this.gap*2)),i=this.getVisibleLayoutInfos(n),a=null,l=1/0;for(let d of i){if(!d.rect.intersects(n))continue;let m=Math.abs(d.rect.y-r),p=Math.abs(d.rect.maxY-r),y=Math.min(m,p);y<l&&(l=y,a=d.key);}if(a==null||this.virtualizer.collection.size===0)return {type:"root"};let s=this.getLayoutInfo(a);if(!s)return null;let u=s.rect,c={type:"item",key:s.key,dropPosition:"on"};return o(c)?r<=u.y+10&&o({...c,dropPosition:"before"})?c.dropPosition="before":r>=u.maxY-10&&o({...c,dropPosition:"after"})&&(c.dropPosition="after"):r<=u.y+u.height/2&&o({...c,dropPosition:"before"})?c.dropPosition="before":o({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(t){let r=this.getLayoutInfo(t.key),o;if(t.dropPosition==="before")o=new ve(r.rect.x,Math.max(0,r.rect.y-this.dropIndicatorThickness/2),r.rect.width,this.dropIndicatorThickness);else if(t.dropPosition==="after"){let n=this.collection.getItem(t.key);if(n){let i=n.level??0,a=this.collection.getKeyAfter(t.key);for(;a!=null;){let l=this.collection.getItem(a);if(!l||l.level<=i)break;r=this.getLayoutInfo(a)||r,a=this.collection.getKeyAfter(a);}}o=new ve(r.rect.x,r.rect.maxY-this.dropIndicatorThickness/2,r.rect.width,this.dropIndicatorThickness);}else o=r.rect;return new Ye("dropIndicator",t.key+":"+t.dropPosition,o)}};var i1=48,Ys=class extends Do{lastCollection=null;columnWidths=new Map;stickyColumnIndices;lastPersistedKeys=null;persistedIndices=new Map;constructor(t){super(t),this.stickyColumnIndices=[];}get collection(){return this.virtualizer.collection}columnsChanged(t,r){return !r||t.columns!==r.columns&&t.columns.length!==r.columns.length||t.columns.some((o,n)=>o.key!==r.columns[n].key||o.props.width!==r.columns[n].props.width||o.props.minWidth!==r.columns[n].props.minWidth||o.props.maxWidth!==r.columns[n].props.maxWidth)}shouldInvalidateLayoutOptions(t,r){return t.columnWidths!==r.columnWidths||super.shouldInvalidateLayoutOptions(t,r)}update(t){let r=this.virtualizer.collection;if(t.layoutOptions?.columnWidths){for(let[o,n]of t.layoutOptions.columnWidths)if(this.columnWidths.get(o)!==n){this.columnWidths=t.layoutOptions.columnWidths,t.sizeChanged=true;break}}else if(t.sizeChanged||this.columnsChanged(r,this.lastCollection)){let o=new ti({});this.columnWidths=o.buildColumnWidths(this.virtualizer.visibleRect.width-this.padding*2,r,new Map),t.sizeChanged=true;}super.update(t);}buildCollection(){this.stickyColumnIndices=[];let t=this.virtualizer.collection;if(t.head?.key===-1)return [];for(let n of t.columns)(this.isStickyColumn(n)||t.rowHeaderColumnKeys.has(n.key))&&this.stickyColumnIndices.push(n.index);let r=this.buildTableHeader();this.layoutNodes.set(r.layoutInfo.key,r);let o=this.buildBody(r.layoutInfo.rect.maxY+this.gap);return this.lastPersistedKeys=null,o.layoutInfo.rect.width=Math.max(r.layoutInfo.rect.width,o.layoutInfo.rect.width),this.contentSize=new Oe(o.layoutInfo.rect.width+this.padding*2,o.layoutInfo.rect.maxY+this.padding),[r,o]}buildTableHeader(){let t=this.virtualizer.collection,r=new ve(this.padding,this.padding,0,0),o=new Ye("header",t.head?.key??"header",r);o.isSticky=true,o.zIndex=1;let n=this.padding,i=0,a=[];for(let l of t.headerRows){let s=this.buildChild(l,this.padding,n,o.key);s.layoutInfo.parentKey=o.key,n=s.layoutInfo.rect.maxY,i=Math.max(i,s.layoutInfo.rect.width),s.index=a.length,a.push(s);}return r.width=i,r.height=n-this.padding,{layoutInfo:o,children:a,validRect:o.rect,node:t.head}}buildHeaderRow(t,r,o){let n=new ve(r,o,0,0),i=new Ye("headerrow",t.key,n),a=0,l=[];for(let s of Ee(t,this.virtualizer.collection)){let u=this.buildChild(s,r,o,i.key);u.layoutInfo.parentKey=i.key,r=u.layoutInfo.rect.maxX,a=Math.max(a,u.layoutInfo.rect.height),u.index=l.length,l.push(u);}for(let[s,u]of l.entries())u.layoutInfo.zIndex=l.length-s+1;return this.setChildHeights(l,a),n.height=a,n.width=r-n.x,{layoutInfo:i,children:l,validRect:n,node:t}}setChildHeights(t,r){for(let o of t)o.layoutInfo.rect.height!==r&&(o.layoutInfo=o.layoutInfo.copy(),o.layoutInfo.rect.height=r);}getRenderedColumnWidth(t){let r=this.virtualizer.collection,o=t.colSpan??1,n=t.colIndex??t.index,i=0;for(let a=n;a<n+o;a++){let l=r.columns[a];l?.key!=null&&(i+=this.columnWidths.get(l.key)??0);}return i}getEstimatedHeight(t,r,o,n){let i=false;if(o==null){let a=this.layoutNodes.get(t.key);a?(o=a.layoutInfo.rect.height,i=t!==a.node||r!==a.layoutInfo.rect.width||a.layoutInfo.estimatedSize):(o=n??i1,i=true);}return {height:o,isEstimated:i}}getEstimatedRowHeight(){return this.rowHeight??this.estimatedRowHeight??i1}buildColumn(t,r,o){let n=this.getRenderedColumnWidth(t),{height:i,isEstimated:a}=this.getEstimatedHeight(t,n,this.headingHeight??this.rowHeight,this.estimatedHeadingHeight??this.estimatedRowHeight),l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.isSticky=this.isStickyColumn(t),s.zIndex=s.isSticky?2:1,s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect,node:t}}isStickyColumn(t){return false}buildBody(t){let r=this.virtualizer.collection,o=new ve(this.padding,t,0,0),n=new Ye("rowgroup",r.body.key,o),i=t,a=0,l=0,s=[],u=this.getEstimatedRowHeight()+this.gap,c=Ee(r.body,r);for(let m of c){if(t+u<this.requestedRect.y&&!this.isValid(m,t)){t+=u,a++;continue}let p=this.buildChild(m,this.padding,t,n.key);if(p.layoutInfo.parentKey=n.key,p.index=s.length,t=p.layoutInfo.rect.maxY+this.gap,l=Math.max(l,p.layoutInfo.rect.width),s.push(p),t>this.requestedRect.maxY){let y=r.size-(s.length+a),b=Tr(c);if(t+=y*u,b?.type==="loader"&&s.at(-1)?.layoutInfo.type!=="loader"){let f=this.buildChild(b,this.padding,t,n.key);f.layoutInfo.parentKey=n.key,f.index=r.size,l=Math.max(l,f.layoutInfo.rect.width),s.push(f),t=f.layoutInfo.rect.maxY;}break}}return r?.size===0?t=this.virtualizer.visibleRect.maxY:t-=this.gap,o.width=l,o.height=t-i,{layoutInfo:n,children:s,validRect:n.rect.intersection(this.requestedRect),node:r.body}}buildNode(t,r,o){switch(t.type){case "headerrow":return this.buildHeaderRow(t,r,o);case "item":return this.buildRow(t,r,o);case "column":case "placeholder":return this.buildColumn(t,r,o);case "cell":return this.buildCell(t,r,o);case "loader":return this.buildLoader(t,r,o);default:throw new Error("Unknown node type "+t.type)}}buildRow(t,r,o){let n=this.virtualizer.collection,i=new ve(r,o,0,0),a=new Ye("row",t.key,i),l=[],s=0;for(let u of Ee(t,n))if(u.type==="cell")if(r>this.requestedRect.maxX){let c=this.layoutNodes.get(u.key);if(c)c.layoutInfo.rect.x=r,r+=c.layoutInfo.rect.width;else break}else {let c=this.buildChild(u,r,o,a.key);r=c.layoutInfo.rect.maxX,s=Math.max(s,c.layoutInfo.rect.height),c.index=l.length,l.push(c);}return this.setChildHeights(l,s),i.width=this.layoutNodes.get(n.head?.key??"header").layoutInfo.rect.width,i.height=s,{layoutInfo:a,children:l,validRect:i.intersection(this.requestedRect),node:t}}buildCell(t,r,o){let n=this.getRenderedColumnWidth(t),{height:i,isEstimated:a}=this.getEstimatedHeight(t,n,this.rowHeight,this.estimatedRowHeight),l=new ve(r,o,n,i),s=new Ye(t.type,t.key,l);return s.isSticky=this.isStickyColumn(t),s.zIndex=s.isSticky?2:1,s.estimatedSize=a,{layoutInfo:s,children:[],validRect:l,node:t}}getVisibleLayoutInfos(t){if(t.height>1){let o=this.getEstimatedRowHeight();t.y=Math.floor(t.y/o)*o,t.height=Math.ceil(t.height/o)*o;}this.layoutIfNeeded(t);let r=[];this.buildPersistedIndices();for(let o of this.rootNodes)r.push(o.layoutInfo),this.addVisibleLayoutInfos(r,o,t);return r}addVisibleLayoutInfos(t,r,o){if(!(!r.children||r.children.length===0))switch(r.layoutInfo.type){case "header":{for(let n of r.children)t.push(n.layoutInfo),this.addVisibleLayoutInfos(t,n,o);break}case "rowgroup":{let n=this.binarySearch(r.children,o.topLeft,"y"),i=this.binarySearch(r.children,o.bottomRight,"y"),a=this.persistedIndices.get(r.layoutInfo.key),l=0;for(;a&&l<a.length&&a[l]<n;){let u=a[l];u<r.children.length&&(t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o)),l++;}for(let u=n;u<=i;u++){for(;a&&l<a.length&&a[l]<u;)l++;t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o);}for(;a&&l<a.length;){let u=a[l++];u<r.children.length&&(t.push(r.children[u].layoutInfo),this.addVisibleLayoutInfos(t,r.children[u],o));}let s=r.children.at(-1);s?.layoutInfo.type==="loader"&&t.push(s.layoutInfo);break}case "headerrow":case "row":{let n=this.binarySearch(r.children,o.topLeft,"x"),i=this.binarySearch(r.children,o.topRight,"x"),a=0,l=this.persistedIndices.get(r.layoutInfo.key)||this.stickyColumnIndices;for(;a<l.length&&l[a]<n;){let s=l[a];s<r.children.length&&t.push(r.children[s].layoutInfo),a++;}for(let s=n;s<=i;s++){for(;a<l.length&&l[a]<s;)a++;t.push(r.children[s].layoutInfo);}for(;a<l.length;){let s=l[a++];s<r.children.length&&t.push(r.children[s].layoutInfo);}break}default:throw new Error("Unknown node type "+r.layoutInfo.type)}}binarySearch(t,r,o){let n=0,i=t.length-1;for(;n<=i;){let a=n+i>>1,l=t[a];if(o==="x"&&l.layoutInfo.rect.maxX<=r.x||o==="y"&&l.layoutInfo.rect.maxY<=r.y)n=a+1;else if(o==="x"&&l.layoutInfo.rect.x>r.x||o==="y"&&l.layoutInfo.rect.y>r.y)i=a-1;else return a}return Math.max(0,Math.min(t.length-1,n))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let t of this.virtualizer.persistedKeys){let r=this.layoutNodes.get(t)?.layoutInfo;for(;r&&r.parentKey;){let o=this.virtualizer.collection.getItem(r.key),n=this.persistedIndices.get(r.parentKey);n||(n=o?.type==="cell"||o?.type==="column"?[...this.stickyColumnIndices]:[],this.persistedIndices.set(r.parentKey,n));let i=this.layoutNodes.get(r.key)?.index;i!=null&&!n.includes(i)&&n.push(i),r=this.layoutNodes.get(r.parentKey)?.layoutInfo;}}for(let t of this.persistedIndices.values())t.sort((r,o)=>r-o);}}getDropTargetFromPoint(t,r,o){t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let n=new ve(t,Math.max(0,r-this.gap),1,Math.max(1,this.gap*2)),i=this.getVisibleLayoutInfos(n),a=null,l=1/0;for(let d of i){if(d.type!=="row"||!d.rect.intersects(n))continue;let m=Math.abs(d.rect.y-r),p=Math.abs(d.rect.maxY-r),y=Math.min(m,p);y<l&&(l=y,a=d.key);}if(a==null||this.virtualizer.collection.size===0)return {type:"root"};let s=this.getLayoutInfo(a);if(!s)return null;let u=s.rect,c={type:"item",key:s.key,dropPosition:"on"};return o(c)?r<=u.y+10&&o({...c,dropPosition:"before"})?c.dropPosition="before":r>=u.maxY-10&&o({...c,dropPosition:"after"})&&(c.dropPosition="after"):r<=u.y+u.height/2&&o({...c,dropPosition:"before"})?c.dropPosition="before":o({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(t){let r=super.getDropTargetLayoutInfo(t);return r.parentKey=this.virtualizer.collection.body.key,r}};var Sg=class extends Ye{column=0;copy(){let t=super.copy();return t.column=this.column,t}},Sr={minItemSize:new Oe(200,200),maxItemSize:new Oe(1/0,1/0),minSpace:new Oe(18,18),maxSpace:1/0,maxColumns:1/0,dropIndicatorThickness:2},Zs=class extends eo{contentSize=new Oe;layoutInfos=new Map;numColumns=0;dropIndicatorThickness=2;margin=0;shouldInvalidateLayoutOptions(t,r){return t.maxColumns!==r.maxColumns||t.dropIndicatorThickness!==r.dropIndicatorThickness||!(t.minItemSize||Sr.minItemSize).equals(r.minItemSize||Sr.minItemSize)||!(t.maxItemSize||Sr.maxItemSize).equals(r.maxItemSize||Sr.maxItemSize)||!(t.minSpace||Sr.minSpace).equals(r.minSpace||Sr.minSpace)||t.maxHorizontalSpace!==r.maxHorizontalSpace}update(t){let{minItemSize:r=Sr.minItemSize,maxItemSize:o=Sr.maxItemSize,minSpace:n=Sr.minSpace,maxHorizontalSpace:i=Sr.maxSpace,maxColumns:a=Sr.maxColumns,dropIndicatorThickness:l=Sr.dropIndicatorThickness}=t.layoutOptions||{};this.dropIndicatorThickness=l;let s=this.virtualizer.visibleRect.width,u=Math.min(o.width,s),c=Number.isFinite(o.height)?o.height:Math.floor(r.height/r.width*u),d=Math.floor(s/(r.width+n.width)),m=Math.max(1,Math.min(a,d)),p=s-n.width*Math.max(0,m),y=Math.floor(p/m);y=Math.max(r.width,Math.min(u,y));let b=(y-r.width)/Math.max(1,u-r.width),f=r.height+Math.floor((c-r.height)*b);f=Math.max(r.height,Math.min(c,f));let h=Math.min(Math.max(i,n.width),Math.floor((s-m*y)/(m+1)));this.margin=Math.floor((s-m*y-h*(m+1))/2);let v=Array(m).fill(n.height),g=new Map,x=(I,C)=>{let _=this.layoutInfos.get(I),z=f,w=true;_&&(z=_.rect.height,w=t.sizeChanged||_.estimatedSize||_.content!==C);let k=(m===this.numColumns&&_&&_.rect.y<this.virtualizer.visibleRect.maxY?_.column:void 0)??v.reduce(($,A,B)=>A<v[$]?B:$,0),M=h+k*(y+h)+this.margin,F=v[k],K=new ve(M,F,y,z),N=new Sg(C.type,I,K);N.estimatedSize=w,N.allowOverflow=true,N.content=C,N.column=k,g.set(I,N),v[k]+=N.rect.height+n.height;},T=this.virtualizer.collection,P=0;for(let I of T)if(I.type==="skeleton"){let C=[...v];for(;!v.every((_,z)=>_!==C[z])||Math.min(...v)<this.virtualizer.visibleRect.height;){let _=`${I.key}-${P++}`,z=this.layoutInfos.get(_)?.content||{...I};x(_,z);}break}else I.type!=="loader"&&x(I.key,I);let S=T.getItem(T.getLastKey());if(S?.type==="loader"){let I=new ve(h,v[0],y,0),C=new Ye("loader",S.key,I);g.set(S.key,C);}let D=T?.size===0&&T.getItem(T.getFirstKey())?.type!=="skeleton"?0:Math.max(...v);this.contentSize=new Oe(this.virtualizer.visibleRect.width,D),this.layoutInfos=g,this.numColumns=m;}getLayoutInfo(t){return this.layoutInfos.get(t)}getContentSize(){return this.contentSize}getVisibleLayoutInfos(t){let r=[];for(let o of this.layoutInfos.values())(o.rect.intersects(t)||this.virtualizer.isPersistedKey(o.key)||o.type==="loader")&&r.push(o);return r}updateItemSize(t,r){let o=this.layoutInfos.get(t);if(!r||!o)return false;if(r.height!==o.rect.height){let n=o.copy();return n.rect.height=r.height,n.estimatedSize=false,this.layoutInfos.set(t,n),true}return false}getKeyRightOf(t){let r=this.getLayoutInfo(t);if(!r)return null;let o=new ve(r.rect.maxX,r.rect.y,this.virtualizer.visibleRect.maxX-r.rect.maxX,r.rect.height),n=this.getVisibleLayoutInfos(o),i=null,a=1/0;for(let l of n){if(l.key===t)continue;let s=l.rect.x-o.x,u=Math.min(l.rect.maxY,o.maxY)-Math.max(l.rect.y,o.y),c=s-u;c<a&&(a=c,i=l.key);}return i}getKeyLeftOf(t){let r=this.getLayoutInfo(t);if(!r)return null;let o=new ve(0,r.rect.y,r.rect.x,r.rect.height),n=this.getVisibleLayoutInfos(o),i=null,a=1/0;for(let l of n){if(l.key===t)continue;let s=o.maxX-l.rect.maxX,u=Math.min(l.rect.maxY,o.maxY)-Math.max(l.rect.y,o.y),c=s-u;c<a&&(a=c,i=l.key);}return i}getKeyRange(t,r){let o=this.getLayoutInfo(t),n=this.getLayoutInfo(r);if(!o||!n)return [];let i=o.rect.union(n.rect),a=[];for(let l of this.layoutInfos.values())i.intersection(l.rect).area>l.rect.area/2&&a.push(l.key);return a}getDropTargetFromPoint(t,r){if(this.layoutInfos.size===0)return {type:"root"};t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y;let o=this.virtualizer.keyAtPoint(new mr(t,r));return o==null?{type:"root"}:{type:"item",key:o,dropPosition:"on"}}};var Sp=class extends Ys{useLayoutOptions(){let t=useContext(gp);return useMemo(()=>({columnWidths:t?.columnWidths}),[t?.columnWidths])}};function Js(e){return {dragAndDropHooks:useMemo(()=>{let{onDrop:r,onInsert:o,onItemDrop:n,onReorder:i,onMove:a,onRootDrop:l,getItems:s,renderDragPreview:u,renderDropIndicator:c,dropTargetDelegate:d}=e,m=!!s,p=!!(r||o||n||i||a||l),y={};return m&&(y.useDraggableCollectionState=function(f){return Da({...f,...e})},y.useDraggableCollection=la,y.useDraggableItem=Qo,y.DragPreview=en,y.renderDragPreview=u,y.isVirtualDragging=zb),p&&(y.useDroppableCollectionState=function(f){return ka({...f,...e})},y.useDroppableItem=ia,y.useDroppableCollection=function(f,h,v){return na({...f,...e},h,v)},y.useDropIndicator=aa,y.renderDropIndicator=c,y.dropTargetDelegate=d,y.ListDropTargetDelegate=tn),y},[e])}}var Ra=null;function O$(e=false){if(Ra===null||e){let t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";let o=document.createElement("div"),n=o.style;return n.width="100px",n.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?Ra="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Ra="negative":Ra="positive-ascending"),document.body.removeChild(t),Ra}return Ra}function a1(e,t){let{scrollLeft:r}=e;if(t==="rtl"){let{scrollWidth:o,clientWidth:n}=e;switch(O$()){case "negative":r=-r;break;case "positive-descending":r=o-n-r;break}}return r}function V$(e,t){t=ge(t);let{scrollViewProps:r,contentProps:o}=Dp(e,t);return jsx("div",{role:"presentation",...r,ref:t,children:jsx("div",{...o,children:e.children})})}Mo.forwardRef(V$);function Dp(e,t){let{contentSize:r,onVisibleRectChange:o,innerStyle:n,onScrollStart:i,onScrollEnd:a,scrollDirection:l="both",...s}=e,u=useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:false}).current,{direction:c}=J(),[d,m]=useState(false),p=useCallback(T=>{T.target===T.currentTarget&&(e.onScroll&&e.onScroll(T),flushSync(()=>{let P=T.currentTarget.scrollTop,S=a1(T.currentTarget,c);u.scrollTop=Math.max(0,Math.min(P,r.height-u.height)),u.scrollLeft=Math.max(0,Math.min(S,r.width-u.width)),o(new ve(u.scrollLeft,u.scrollTop,u.width,u.height)),u.isScrolling||(u.isScrolling=true,m(true),window.dispatchEvent(new Event("tk.disconnect-observer")),i&&i());let E=Date.now();u.scrollEndTime<=E+50&&(u.scrollEndTime=E+300,u.scrollTimeout!=null&&clearTimeout(u.scrollTimeout),u.scrollTimeout=setTimeout(()=>{u.isScrolling=false,m(false),u.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),a&&a();},300));}));},[e,c,u,r,o,i,a]);gt(t,"scroll",p),useEffect(()=>()=>{u.scrollTimeout!=null&&clearTimeout(u.scrollTimeout),u.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"));},[]);let y=useRef(false),b=ue(T=>{let P=t.current;if(!P||y.current)return;y.current=true;let S=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,E=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),D=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight"),I=P.clientWidth,C=P.clientHeight,_=S&&!E?1/0:I,z=S&&!D?1/0:C;(u.width!==_||u.height!==z)&&(u.width=_,u.height=z,T(()=>{o(new ve(u.scrollLeft,u.scrollTop,_,z));}),(!S&&I!==P.clientWidth||C!==P.clientHeight)&&(u.width=P.clientWidth,u.height=P.clientHeight,T(()=>{o(new ve(u.scrollLeft,u.scrollTop,u.width,u.height));}))),y.current=false;}),f=useRef(null),[h,v]=useState({});ae(()=>{if(!y.current&&(f.current==null||!r.equals(f.current)))if(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"){v({}),f.current=r;return}else queueMicrotask(()=>b(flushSync));f.current=r;}),ae(()=>{b(T=>T());},[h]);let g=useCallback(()=>{b(flushSync);},[b]);Br({ref:t,box:"border-box",onResize:g});let x={padding:0,...s.style};return l==="horizontal"?(x.overflowX="auto",x.overflowY="hidden"):l==="vertical"||r.width===u.width?(x.overflowY="auto",x.overflowX="hidden"):x.overflow="auto",n={width:Number.isFinite(r.width)?r.width:void 0,height:Number.isFinite(r.height)?r.height:void 0,pointerEvents:d?"none":"auto",position:"relative",...n},{isScrolling:d,scrollViewProps:{...s,style:x},contentProps:{role:"presentation",style:n}}}function c1(e){let{layoutInfo:t,virtualizer:r,ref:o}=e,n=t?.key,i=useCallback(()=>{if(n!=null&&o.current){let a=H$(o.current);r.updateItemSize(n,a);}},[r,n,o]);return ae(()=>{t?.estimatedSize&&i();}),{updateSize:i}}function H$(e){let t=e.style.height;e.style.height="";let r=new Oe(e.scrollWidth,e.scrollHeight);return e.style.height=t,r}function kp(e){let{style:t,className:r,layoutInfo:o,virtualizer:n,parent:i,children:a}=e,{direction:l}=J(),s=useRef(null);return c1({layoutInfo:o,virtualizer:n,ref:s}),jsx("div",{role:"presentation",ref:s,className:r,style:{...p1(o,l,i),...t},children:a})}var d1=new WeakMap;function p1(e,t,r){let o=t==="rtl"?"right":"left",n=d1.get(e);if(n&&n[o]!=null){if(!r)return n;let l=e.rect.y-r.rect.y,s=e.rect.x-r.rect.x;if(n.top===l&&n[o]===s)return n}let i={top:e.rect.y-(r&&!(r.allowOverflow&&e.isSticky)?r.rect.y:0),[o]:e.rect.x-(r&&!(r.allowOverflow&&e.isSticky)?r.rect.x:0),width:e.rect.width,height:e.rect.height};Object.entries(i).forEach(([l,s])=>{Number.isFinite(s)||(i[l]=void 0);});let a={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",opacity:e.opacity,zIndex:e.zIndex,transform:e.transform??void 0,contain:"size layout style",...i};return d1.set(e,a),a}var b1=createContext(null),g1=createContext(null);function h1(e){let{children:t,layout:r,layoutOptions:o}=e,n=useMemo(()=>typeof r=="function"?new r:r,[r]),i=useMemo(()=>({isVirtualized:true,layoutDelegate:n,dropTargetDelegate:n.getDropTargetFromPoint?n:void 0,CollectionRoot:W$,CollectionBranch:q$}),[n]);return jsx(wt.Provider,{value:i,children:jsx(g1.Provider,{value:{layout:n,layoutOptions:o},children:t})})}function W$({collection:e,persistedKeys:t,scrollRef:r,renderDropIndicator:o}){let{layout:n,layoutOptions:i}=useContext(g1),a=n.useLayoutOptions?.(),l=Cg({layout:n,collection:e,renderView:(u,c)=>c?.render?.(c),onVisibleRectChange(u){let c=r?.current;c&&(c.scrollLeft=u.x,c.scrollTop=u.y);},persistedKeys:t,layoutOptions:useMemo(()=>i&&a?{...i,...a}:i||a,[i,a])}),{contentProps:s}=Dp({onVisibleRectChange:l.setVisibleRect,contentSize:l.contentSize,onScrollStart:l.startScrolling,onScrollEnd:l.endScrolling},r);return jsx("div",{...s,children:jsx(b1.Provider,{value:l,children:v1(null,l.visibleViews,o)})})}function q$({parent:e,renderDropIndicator:t}){let o=useContext(b1).virtualizer.getVisibleView(e.key);return v1(o,Array.from(o.children),t)}function v1(e,t,r){return t.map(o=>X$(e,o,r))}function X$(e,t,r){let o=jsx(kp,{layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e?.layoutInfo,children:t.rendered},t.key),{collection:n,layout:i}=t.virtualizer,a=t.content;return a?.type==="item"&&r&&i.getDropTargetLayoutInfo&&(o=jsxs(Mo.Fragment,{children:[m1(e,t,{type:"item",key:t.content.key,dropPosition:"before"},r),o,qb(n,a,l=>m1(e,t,l,r))]},t.key)),o}function m1(e,t,r,o){let n=o(r);if(n){let i=t.virtualizer.layout.getDropTargetLayoutInfo(r);n=jsx(kp,{layoutInfo:i,virtualizer:t.virtualizer,parent:e?.layoutInfo,children:n});}return n}function _we(e){return e.closest(".BaselineUI-Portal")||e.closest(".BaselineUI-Popover-Content")}function x1(e){return typeof e=="object"&&typeof e.left=="number"&&typeof e.top=="number"&&(typeof e.width=="number"||e.width===void 0)&&(typeof e.height=="number"||e.height===void 0)}function ie(e,t){if(!e)throw new Error(t||"Invariant failed")}function L(...e){let t=e.filter(Boolean),r=[];for(let o of t)if(Array.isArray(o))r.push(L(...o));else if(typeof o=="object"){let n=Object.keys(o);for(let i of n)o[i]&&r.push(i);}else typeof o=="string"&&r.push(o);return r.join(" ")}function Ep(e,t){if(!e)return null;if(typeof e=="string")return t.querySelector(e);if(e instanceof HTMLElement)return e;if("current"in e)return e.current}function zp({text:e,fontSize:t=16,fontFamily:r="Arial",fontWeight:o="normal",fontStyle:n="normal",font:i}){let l=document.createElement("canvas").getContext("2d");if(!l)return {width:0,height:0};l.font=i||`${n} ${o} ${t}px ${r}`;let s=l.measureText(e);return {width:s.width,height:s.actualBoundingBoxAscent+s.actualBoundingBoxDescent}}function Nwe({text:e,maxWidth:t,initialFontSize:r=50,fontFamily:o="Arial",fontWeight:n="normal",fontStyle:i="normal"}){let{width:a}=zp({text:e,fontSize:r,fontFamily:o,fontWeight:n,fontStyle:i}),l=r,s=a;for(;s>t;)l-=.5,s=zp({text:e,fontSize:l,fontFamily:o,fontWeight:n,fontStyle:i}).width;return Math.max(l,1)}var T1=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'];function Owe(e){return T1.some(t=>e.matches(t))}function P1(e){return e.querySelectorAll(T1.join(", "))}function Fwe(e=document.documentElement){let t=e.getRootNode();return t instanceof Document||t instanceof ShadowRoot?t.activeElement:null}var Z$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C1(e){return e instanceof HTMLInputElement&&!Z$.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function wp(e){let t=e.getBoundingClientRect(),r=j(e),n=e.getRootNode()instanceof r.ShadowRoot?e.getRootNode().host.getBoundingClientRect():{left:0,top:0};return {x:t.left+r.scrollX-n.left,y:t.top+r.scrollY-n.top,width:t.width,height:t.height}}function Kwe(e,t){let r=wp(e);return {x:r.x+(t?.x??0),y:r.y+(t?.y??0)}}var _p=(e,t)=>(e+t)/2;function Ip(e,t=true){if(!e.length)return "";let r=e.length;if(r<4)return "";let o=e[0],n=e[1],i=e[2],a=`M${o[0].toFixed(2)},${o[1].toFixed(2)} Q${n[0].toFixed(2)},${n[1].toFixed(2)} ${_p(n[0],i[0]).toFixed(2)},${_p(n[1],i[1]).toFixed(2)} T`;for(let l=2,s=r-1;l<s;l++)o=e[l],n=e[l+1],a+=`${_p(o[0],n[0]).toFixed(2)},${_p(o[1],n[1]).toFixed(2)} `;return t&&(a+="Z"),a}function J$(e){return e.split("/").pop()?.split(".").shift()}function S1(e){let t={};for(let r of Object.keys(e)){let o=J$(r)??"";t[o]=e[r];}return t}function ce(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>!!t))}function Eg(e,t){return typeof e=="boolean"?e?t:void 0:{...t,...e}}function Uwe(e,t){ie(t>=0&&t<=100,"Percent must be between 0 and 100");let r=ke(e),o=r.getChannelValue("red"),n=r.getChannelValue("green"),i=r.getChannelValue("blue"),a=Math.round(o+(255-o)*t/100),l=Math.round(n+(255-n)*t/100),s=Math.round(i+(255-i)*t/100);return `#${a.toString(16)}${l.toString(16)}${s.toString(16)}`}function wg(e,t){if(e=e.trim(),e.includes(" "))return false;try{return new URL(e),!0}catch{return t?wg(`https://${e}`):false}}function D1(e,t=false){return at()?e.replace("Ctrl+",t?"\u2318":"Cmd+").replace("Alt+",t?"\u2325":"Option+").replace("Shift+",t?"\u21E7":"Shift+").replace("Enter+",t?"\u21A9":"Enter+").replace("Space+",t?"\u2423":"Space+").replace("Enter",t?"\u21A9":"Enter"):e}var k1=e=>new DOMParser().parseFromString(Q$__default.sanitize(e),"text/html").body.textContent||"";function Qwe(e){try{let t=e.ownerDocument;return t?.defaultView?t.defaultView!==window.top:!1}catch{return true}}function t_e(e){return e?e.getRootNode()instanceof ShadowRoot:false}function Rp(e){return !!e&&"label"in e&&!!e.label}function Lp(e){return !!e&&"children"in e&&!!e.children&&"title"in e}function tH(e){return Lp(e)?jsx(Nc,{items:e.children,title:e.title,"aria-label":e.title,children:t=>jsx(Mr,{textValue:t.label,children:t.label},t.id)},e.id):jsx(Mr,{textValue:e.label,children:e.label},e.id)}function Dr(){return useCallback(e=>tH(e),[])}function Mp(e,t,r){let{direction:o}=J(),n=Da({...e,collection:t.collection,selectionManager:t.selectionManager,isDisabled:!e.enableReorder,getItems:e.getItems||(l=>[...l].map(s=>{let u=t.collection.getItem(s);return ie(u,"Expected item to be defined."),{"text/plain":u.textValue}}))});la(e,n,r);let i=ka({...e,collection:t.collection,selectionManager:t.selectionManager}),{collectionProps:a}=na({...e,keyboardDelegate:new ct({collection:t.collection,disabledKeys:t.disabledKeys,ref:r,orientation:e.orientation,layout:e.layout,direction:o}),dropTargetDelegate:new tn(t.collection,r)},i,r);return {collectionProps:a,dragState:n,dropState:i}}function rH(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function oH(e){var t=rH(e,"string");return typeof t=="symbol"?t:String(t)}function nH(e,t,r){return t=oH(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true}):e[t]=r,e}function z1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o);}return r}function E1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z1(Object(r),true).forEach(function(o){nH(e,o,r[o]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o));});}return e}function w1(e,t){var r={};for(var o in e)r[o]=t(e[o],o);return r}var iH=(e,t,r)=>{for(var o of Object.keys(e)){var n;if(e[o]!==((n=t[o])!==null&&n!==void 0?n:r[o]))return false}return true},V=e=>{var t=r=>{var o=e.defaultClassName,n=E1(E1({},e.defaultVariants),r);for(var i in n){var a,l=(a=n[i])!==null&&a!==void 0?a:e.defaultVariants[i];if(l!=null){var s=l;typeof s=="boolean"&&(s=s===true?"true":"false");var u=e.variantClassNames[i][s];u&&(o+=" "+u);}}for(var[c,d]of e.compoundVariants)iH(c,n,e.defaultVariants)&&(o+=" "+d);return o};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return w1(e.variantClassNames,r=>w1(r,o=>o.split(" ")[0]))}},t};var Ap=V({defaultClassName:"_6n12k9b _1yep5z6ls _1yep5z6lr _1yep5z6ic _1yep5z6la",variantClassNames:{isDropTarget:{true:"_1yep5z6140"},orientation:{vertical:"_1yep5z617q",horizontal:"_1yep5z617r"}},defaultVariants:{},compoundVariants:[]}),_1="_6n12k98 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu",I1=V({defaultClassName:"_6n12k99 _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]}),R1=V({defaultClassName:"_6n12k91 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6la _1yep5z6ld _1yep5z6lq _1yep5z6lp _1yep5z6ln _1yep5z6lk",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u _1yep5z617x _1yep5z614g _1yep5z614h _1yep5z614i"},isHovered:{true:"_1yep5z6125",false:"_1yep5z6124"},isFirstChild:{true:"_6n12k95"},isLastChild:{true:"_6n12k96"},isDisabled:{true:"z9nup82 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),L1="_6n12k9f _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",M1="_6n12k90";var A1=V({defaultClassName:"gukncs0",variantClassNames:{isVertical:{true:"gukncs1"},isSecondary:{true:"gukncs2"}},defaultVariants:{},compoundVariants:[]});var De=Mo.forwardRef(({className:e,style:t,variant:r="primary",orientation:o="horizontal",UNSAFE_omitRole:n,elementType:i="div","data-block-id":a,"data-block-class":l,...s},u)=>{let{separatorProps:c}=Pd({...s,orientation:o,elementType:i});return jsx(i,{...c,className:L(A1({isVertical:o==="vertical",isSecondary:r==="secondary"}),"BaselineUI-Separator",e),"data-orientation":o,"data-block-id":a,"data-block-class":l,style:t,role:n?void 0:c.role,ref:u})});De.displayName="Separator";function cH(e){return sprinkles.properties.has(e)}var X=Mo.forwardRef(({elementType:e="div",children:t,...r},o)=>{let n=e,{sprinkleProps:i,domProps:a}=useMemo(()=>{let l={},s={};for(let u in r)cH(u)?l[u]=r[u]:s[u]=r[u];return {sprinkleProps:l,domProps:s}},[r]);return jsx(n,{...a,className:L(sprinkles(i),"BaselineUI-Box",a.className),ref:o,children:t})});X.displayName="Box";var Ma=Mo.forwardRef(({item:e,isDisabled:t,isFocusVisible:r,isSelected:o,liProps:n,showSelectedIcon:i,description:a,descriptionProps:l,labelProps:s,isFocused:u,isPressed:c,_state:d},m)=>{ie(e.value&&Rp(e.value),"Item cannot be a section");let p=useRef(null),{icon:y,label:b}=e.value,{hoverProps:f,isHovered:h}=re({isDisabled:t},p),v=ce({"data-selected":o,"data-disabled":t,"data-focused":u,"data-hovered":h,"data-pressed":c,"data-focus-visible":r,"data-selection-mode":d.selectionManager.selectionMode});return jsxs("li",{...R(n,f,v),className:L(R1({isHovered:h,isFocused:r,isFirstChild:d.collection.getFirstKey()===e.key,isLastChild:d.collection.getLastKey()===e.key,isDisabled:t}),n.className,"BaselineUI-ListBox-Option"),style:n.style,ref:Z(m,p),children:[jsxs(X,{display:"flex",alignItems:"center",gap:"lg",children:[i?jsx("span",{"aria-hidden":true,style:{height:24,width:24},children:o?jsx(CheckmarkIcon,{size:24}):null}):null,y?jsx(y,{size:24}):null,jsx("span",{...s,children:b})]}),a?jsx("span",{className:I1({isDisabled:t}),...l,children:a}):null]})});Ma.displayName="DefaultListOption";var Aa=({dropState:e,orientation:t="vertical",dropIndicatorStyle:r,dropIndicatorClassName:o,renderDropIndicator:n=({isDropTarget:a,isHidden:l,dropIndicatorProps:s,orientation:u},c)=>l?null:jsx("li",{...s,ref:c,"data-drop-target":a,className:L(Ap({isDropTarget:a,orientation:u}),"BaselineUI-DropIndicator",o),style:r}),...i})=>{let a=Mo.useRef(null),{dropIndicatorProps:l,isHidden:s,isDropTarget:u}=aa(i,e,a);return n({dropIndicatorProps:{...l,role:"option"},isHidden:s,isDropTarget:u,orientation:t},a)};function ii(e,t,r){return typeof e=="function"?e(t,r):e}function Np(e,t,r){return typeof e=="function"?e(t,r):e}function eu(e,t){return typeof e=="function"?e(t):e}function Op(e,t){return typeof e=="function"?e(t):e}var K1=({item:e,children:t,state:r,dragState:o,...n})=>{let{dragProps:i}=Qo({key:e.key},o);return jsxs(Fragment,{children:[jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"before"},...n}),t(i),r.collection.getKeyAfter(e.key)==null&&jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"after"},...n})]})};K1.displayName="DraggableListOption";var tu=Mo.forwardRef(({item:e,renderOption:t=(m,p,y)=>jsx(Ma,{item:m,liProps:p.optionProps,...p,ref:y}),showSelectedIcon:r,state:o,dragState:n,dropState:i,orientation:a,dropIndicatorStyle:l,dropIndicatorClassName:s,optionStyle:u,optionClassName:c},d)=>{let m=Mo.useRef(null),p=$i({key:e.key},o,m),{value:y}=e;ie(y&&Rp(y),"ListSection should not be passed to ListOption");let b={isFocusVisible:p.isFocusVisible,isSelected:p.isSelected,isFocused:p.isFocused,isDisabled:p.isDisabled,isPressed:p.isPressed},f={style:Np(u,y,b),className:ii(c,y,b)};return n&&i?jsx(K1,{orientation:a,state:o,item:e,dropState:i,dragState:n,dropIndicatorStyle:l,dropIndicatorClassName:s,children:h=>t(e,{...p,showSelectedIcon:r,_state:o,optionProps:{...R(p.optionProps,h),...f}},Z(m,d))}):t(e,{...p,showSelectedIcon:r,_state:o,optionProps:{...p.optionProps,...f}},Z(m,d))});tu.displayName="Option";var B1=({section:e,state:t,sectionClassName:r,sectionStyle:o,showSectionHeader:n,renderSectionHeader:i,withSectionHeaderPadding:a=false,...l})=>{let s=Mo.useRef(null),{itemProps:u,groupProps:c,headingProps:d}=Hi({heading:n?i?.(e,s)||e.rendered:void 0,"aria-label":e["aria-label"]}),m=t.collection.getChildren?.(e.key);ie(m,"children must be defined");let{value:p}=e;ie(p&&Lp(p),"section must be a ListSection");let y=typeof o=="function"?o(p):o,b=typeof r=="function"?r(p):r;return jsxs(Fragment,{children:[e.key===t.collection.getFirstKey()?null:jsx(De,{UNSAFE_omitRole:true}),jsxs("li",{...u,style:{...u.style,...y},className:L(M1,b,"BaselineUI-ListBox-Section"),children:[e.rendered&&n?i?.(e,s)||jsx(X,{...d,className:L("BaselineUI-ListBox-SectionHeader",L1),ref:s,paddingX:"lg",typography:"label.md.medium",color:"text.primary",paddingInlineStart:a?"5xl":"lg",paddingInlineEnd:"lg",children:e.rendered}):null,jsx("ul",{...c,children:[...m].map(f=>jsx(tu,{item:f,state:t,...l},f.key))})]})]})};function Vp({type:e="listbox",handle:t},r,o){let n=useCallback(a=>e==="listbox"?o.current?.querySelector(`[data-key="${a}"][role="option"]`):o.current?.querySelector(`[data-key="${a}"][role="row"]`),[e,o]),i=useCallback((a,l)=>{let s=n(a);s&&s?.scrollIntoView({block:"nearest",inline:"nearest",...l});},[n]);useImperativeHandle(t,()=>({scrollIntoView:i,setFocusedKey:a=>{r.selectionManager.setFocused(true),r.selectionManager.setFocusedKey(a),i(a),n(a)?.focus();}}),[i,r.selectionManager,n]),useGranularEffect(()=>{let a=o.current?.getRootNode(),l=a&&a instanceof ShadowRoot,s=r.selectionManager.focusedKey;l&&s&&i(s);},[r.selectionManager.focusedKey],[i,o]);}var CH=16,Bp=50,j1=30;function $p({ref:e,isDisabled:t}){let r=useRef(null),o=useRef({isScrollableX:true,isScrollableY:true}),n=useRef({x:0,y:0}),i=useRef(),a=useRef(0);useEffect(()=>{if(t||!e.current)return;let l=e.current,s=j(l),u=kt(l)?l:mt(l),c=s.getComputedStyle(u);r.current=u,o.current={isScrollableX:/(auto|scroll)/.test(c.overflowX),isScrollableY:/(auto|scroll)/.test(c.overflowY)};},[t,e]),useEffect(()=>{if(t||!e.current||!r.current)return;let l=r.current,s=()=>{if(!l)return;let{isScrollableX:p,isScrollableY:y}=o.current,{x:b,y:f}=n.current;p&&b!==0&&(l.scrollLeft+=b),y&&f!==0&&(l.scrollTop+=f),i.current=requestAnimationFrame(s);},u=(p,y)=>p<Bp?-j1*(1-p/Bp):p>y-Bp?j1*(1-(y-p)/Bp):0,c=(p,y,b,f)=>{let h=performance.now();if(h-a.current<CH)return;let v=u(p,b),g=u(y,f);(v!==n.current.x||g!==n.current.y)&&(n.current={x:v,y:g},a.current=h,(v!==0||g!==0)&&!i.current&&(i.current=requestAnimationFrame(s)));},d=p=>{if(p.preventDefault(),!l)return;let y=p,b=l.getBoundingClientRect(),f=y.clientX-b.left,h=y.clientY-b.top;c(f,h,b.width,b.height);},m=()=>{n.current={x:0,y:0},i.current&&(cancelAnimationFrame(i.current),i.current=void 0);};return l.addEventListener("dragover",d),l.addEventListener("dragend",m),l.addEventListener("drop",m),()=>{l.removeEventListener("dragover",d),l.removeEventListener("dragend",m),l.removeEventListener("drop",m),i.current&&cancelAnimationFrame(i.current);}},[t,e]);}var Ig=Mo.createContext(null),Rg=Mo.forwardRef(({className:e,layout:t="stack",orientation:r="vertical",showSelectedIcon:o=true,style:n,renderOption:i,enableReorder:a=false,"data-block-id":l,"data-block-class":s,renderDragPreview:u,onReorder:c,state:d,listBoxHandle:m,...p},y)=>{let b=Mo.useRef(null),{direction:f}=J(),h=Mo.useRef(null),{listBoxProps:v}=Bi({...p,shouldSelectOnPressUp:a,keyboardDelegate:new ct({collection:d.collection,ref:h,layout:t,orientation:r,direction:f,disabledKeys:d.disabledKeys})},d,h);Vp({handle:m},d,h);let{collectionProps:g,dragState:x,dropState:T}=Mp({...p,onReorder:c,layout:t,orientation:r,enableReorder:a,preview:b},d,h),{isFocusVisible:P,isFocused:S,focusProps:E}=ee(),D=ce({"data-block-id":l,"data-block-class":s,"data-layout":t,"data-empty":d.collection.size===0,"data-focused":S,"data-focus-visible":P,"data-orientation":r});return $p({ref:h,isDisabled:!a}),jsxs("ul",{...R(v,E,D,g),className:L(_1,"BaselineUI-ListBox",e),style:n,ref:Z(y,h),children:[[...d.collection].map(I=>{let C={key:I.key,state:d,dragState:x,dropState:T,renderOption:i,renderDropIndicator:p.renderDropIndicator,renderSectionHeader:p.renderSectionHeader,showSelectedIcon:o,orientation:r,dropIndicatorStyle:p.dropIndicatorStyle,dropIndicatorClassName:p.dropIndicatorClassName,optionStyle:p.optionStyle,optionClassName:p.optionClassName,sectionClassName:p.sectionClassName,sectionStyle:p.sectionStyle,showSectionHeader:p.showSectionHeader,withSectionHeaderPadding:p.withSectionHeaderPadding};return I.type==="section"?createElement(B1,{...C,key:I.key,section:I}):createElement(tu,{...C,key:I.key,item:I})}),u?jsx(en,{ref:b,children:u}):null]})});Rg.displayName="ListBoxCore";var U1=Mo.forwardRef((e,t)=>{let r=Dr(),o=xt({...e,children:r});return jsx(Rg,{...e,ref:t,state:o})});U1.displayName="ListBoxStandalone";var to=Mo.forwardRef((e,t)=>{let r=useContext(Ig);return useEffect(()=>{if(!e.items&&!r)throw new Error("ListBox: You must provide a `state` or `items` prop to render the listbox.")},[e.items,r]),r?jsx(Rg,{...e,ref:t,state:r}):jsx(U1,{...e,ref:t})});to.displayName="ListBox";var jp="uf19bsf _1yep5z6la",W1=V({defaultClassName:"uf19bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5 _1yep5z6lp _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6lk z9nup8a",variantClassNames:{size:{xxs:"uf19bs1",xs:"uf19bs2",sm:"uf19bs3",md:"uf19bs4",lg:"uf19bs5 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq"},isHovered:{true:"uf19bs6"},isDisabled:{true:"uf19bs7 _1yep5z611a"},isFocusVisible:{true:"uf19bs8"},variant:{primary:"uf19bs9",secondary:"uf19bsa",tertiary:"uf19bsb",ghost:"uf19bsc",toolbar:"uf19bsd _1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8",popover:"uf19bse _1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6nf _1yep5z6ng _1yep5z6nh _1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oi _1yep5z6oj _1yep5z6ok _1yep5z6vr _1yep5z6vs _1yep5z6vt"}},defaultVariants:{},compoundVariants:[[{variant:"toolbar",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"primary",isHovered:true,isFocusVisible:false},"_1yep5z61o9"],[{variant:"secondary",isHovered:true,isFocusVisible:false},"_1yep5z61nc"],[{variant:"tertiary",isHovered:true,isFocusVisible:false},"_1yep5z61nb _1yep5z61o9"],[{variant:"ghost",isHovered:true,isFocusVisible:false},"_1yep5z61nh"],[{variant:"popover",isHovered:true,isFocusVisible:false},"_1yep5z61q6 _1yep5z61tx _1yep5z61u1 _1yep5z61ty"],[{variant:"ghost",isDisabled:false},"_1yep5z61ng"],[{variant:"popover",size:"lg"},"_1yep5z61io _1yep5z61ip _1yep5z61iq _1yep5z61jc _1yep5z61jd _1yep5z61je _1yep5z61k0 _1yep5z61k1 _1yep5z61k2 _1yep5z61ko _1yep5z61kp _1yep5z61kq"]]});var ou=Mo.createContext({state:null,overlayTriggerAria:{triggerProps:{},overlayProps:{}},triggerRef:void 0}),ko=({children:e,...t})=>{let r=Mo.useRef(null),o=Nt(t),n=Wr(t,o),i=useMemo(()=>({state:o,overlayTriggerAria:n,triggerRef:r}),[o,n]);return jsx(ou.Provider,{value:i,children:e})};var X1=V({defaultClassName:"_1gzftth2",variantClassNames:{placement:{bottom:"_1gzftth3",top:"_1gzftth4",right:"_1gzftth5",left:"_1gzftth6"}},defaultVariants:{},compoundVariants:[]}),Y1=V({defaultClassName:"_1gzftth7",variantClassNames:{placement:{bottom:"_1gzftth8",top:"_1gzftth9",right:"_1gzfttha",left:"_1gzftthb"}},defaultVariants:{},compoundVariants:[]}),Z1="_1gzftth1 _1yep5z6is _1yep5z6it _1yep5z6iu",J1="_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6d7",Q1="_1gzftthd",eD="_1gzftthc",tD="var(--_1gzftth0)";var Gp=Mo.createContext({isSelected:false,ref:void 0}),zo=({children:e,anchorRect:t})=>{let{state:r,overlayTriggerAria:o,triggerRef:n}=useContext(ou);ie(r,"PopoverTrigger must be used within a Popover");let{triggerProps:i}=o,a=useMemo(()=>({...i,isSelected:r.isOpen,ref:n}),[i,r.isOpen,n]);return ie(!t&&e||t&&!e,"Either one of anchorRect or children has to be provided."),ie(!t||x1(t),"If provided, the anchorRect prop must be an object with left and top number values, and optionally width and height."),jsx(Gp.Provider,{value:a,children:t?jsx("div",{className:L(Q1,"BaselineUI-PopoverTrigger-Hidden"),style:t,ref:n,tabIndex:-1},JSON.stringify(t)):e})};var Ot=({label:e,tooltip:t,...r})=>({tooltipProps:useMemo(()=>{let n={size:"sm",variant:"inverse",text:e,includeArrow:false,placement:"bottom start",offset:4,...r};if(typeof t=="object")return {...n,...t};if(t)return n},[e,r,t])});function Up({tooltip:e,"aria-label":t,"aria-labelledby":r},o){let[n,i]=useState(t||"");useEffect(()=>{if(r){let s=H(o.current).querySelector(`#${r}`);s&&i(s.textContent||"");}else t&&i(t);},[r,o,t]);let{tooltipProps:a}=Ot({label:n,tooltip:e});return {tooltipProps:a}}var Wp=e=>{let t=Mo.useRef(null),{ref:r,...o}=useContext(Gp)||{},{buttonProps:n,isPressed:i}=rt({...e,...o},t),{isFocusVisible:a,isFocused:l,focusProps:s}=ee(),{hoverProps:u,isHovered:c}=re({isDisabled:e.isDisabled});return {buttonProps:R(n,s,u),isPressed:i,ref:Z(t,r||null),isFocusVisible:a,isFocused:l,isHovered:c,uiStateOptions:{isHovered:c,isFocused:l,isPressed:i,isDisabled:e.isDisabled,isFocusVisible:a}}},qp=(e,t)=>{let r=Mo.useRef(null),{ref:o,...n}=useContext(Gp)||{},{buttonProps:i,isPressed:a}=qc({...e,...n},t,r);(i.role==="radio"||i.role==="checkbox")&&(i["aria-pressed"]=void 0);let{isFocusVisible:l,isFocused:s,focusProps:u}=ee(),{hoverProps:c,isHovered:d}=re({isDisabled:e.isDisabled});return {buttonProps:R(i,u,c),isPressed:a,ref:Z(r,o||null),isFocusVisible:l,isFocused:s,isHovered:d,uiStateOptions:{isHovered:d,isFocused:s,isPressed:a,isDisabled:e.isDisabled,isFocusVisible:l,isSelected:t.isSelected}}};var Xp=V({defaultClassName:"oom8bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6dy _1yep5z6la z9nup88",variantClassNames:{variant:{primary:"oom8bs1",secondary:"oom8bs2",tertiary:"oom8bs3",ghost:"oom8bs4",popover:"oom8bs5",toolbar:"oom8bs6",success:"oom8bs7",warning:"oom8bs8",error:"oom8bs9"},isDisabled:{true:"oom8bsa"},isFocusVisible:{true:"oom8bsb"},isHovered:{true:"oom8bsc"},size:{sm:"oom8bsd",md:"oom8bse",lg:"oom8bsf"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isHovered:true},"oom8bsg"],[{variant:"secondary",isHovered:true},"oom8bsh"],[{variant:"tertiary",isHovered:true},"oom8bsi"],[{variant:"popover",isHovered:true},"oom8bsj"],[{variant:"ghost",isHovered:true},"oom8bsk"],[{variant:"success",isHovered:true},"oom8bsl"],[{variant:"warning",isHovered:true},"oom8bsm"],[{variant:"error",isHovered:true},"oom8bsn"],[{variant:"primary",isFocusVisible:true},"oom8bso"],[{variant:"tertiary",isFocusVisible:true},"oom8bsp"],[{variant:"success",isFocusVisible:true},"oom8bsq"],[{variant:"warning",isFocusVisible:true},"oom8bsr"],[{variant:"error",isFocusVisible:true},"oom8bss"]]}),Lg=V({defaultClassName:"oom8bst _1yep5z6la",variantClassNames:{isDisabled:{true:"oom8bsu"},isFocusVisible:{true:"oom8bsv"},isHovered:{true:"_1yep5z6115"},variant:{primary:"_1yep5z611c",secondary:"_1yep5z6118",tertiary:"_1yep5z611d",ghost:"_1yep5z611d",popover:"_1yep5z6118",toolbar:"_1yep5z6118",success:"_1yep5z611b",warning:"_1yep5z611b",error:"_1yep5z611b"}},defaultVariants:{},compoundVariants:[[{variant:"tertiary",isHovered:true},"_1yep5z61nf"],[{variant:"ghost",isHovered:true},"_1yep5z61nh"],[{variant:"tertiary",isFocusVisible:true},"_1yep5z61nf"],[{variant:"secondary",isDisabled:true},"_1yep5z61nd"],[{variant:"tertiary",isDisabled:true},"_1yep5z61nd"],[{variant:"ghost",isDisabled:true},"_1yep5z61nd"],[{variant:"popover",isDisabled:true},"_1yep5z61nd"],[{variant:"toolbar",isDisabled:true},"_1yep5z61nd"]]});var OH={sm:16,md:20,lg:24},Ie=Mo.forwardRef(({label:e,style:t,className:r,iconStart:o,iconEnd:n,variant:i="primary",elementType:a="button",isDisabled:l,size:s="sm","data-block-id":u,"data-block-class":c,...d},m)=>{let{buttonProps:p,isPressed:y,ref:b,isFocusVisible:f,isFocused:h,isHovered:v,uiStateOptions:g}=Wp({...d,elementType:a,isDisabled:l}),x=OH[s],T=ce({"data-block-id":u,"data-block-class":c,"data-disabled":l,"data-focused":h,"data-focus-visible":f,"data-hovered":v,"data-pressed":y});return jsxs(a,{...R(p,T),className:L(Xp({isDisabled:!!l,isFocusVisible:f,isHovered:v,variant:i,size:s}),"BaselineUI-ActionButton",typeof r=="function"?r(g):r),style:typeof t=="function"?t(g):t,ref:Z(m,b),children:[!!o&&jsx(o,{size:x,className:Lg({variant:i,isDisabled:l,isFocusVisible:f,isHovered:v})}),e,!!n&&jsx(n,{size:x,className:Lg({variant:i,isDisabled:l,isFocusVisible:f,isHovered:v})}),i==="popover"&&jsx(CaretDownIcon,{size:8,className:jp})]})});Ie.displayName="ActionButton";var iD=Mo.forwardRef(({className:e,style:t,node:r,"data-block-id":o,"data-block-class":n,...i},a)=>{let l=Mo.useRef(null);Mo.useEffect(()=>{let c=l.current;return c?.append(r),()=>{c?.contains(r)&&r.remove();}},[r]);let{pressProps:s,isPressed:u}=Se(i);return jsx("div",{...s,className:e,style:t,"data-block-id":o,"data-block-class":n,"data-pressed":u,"data-testid":"dom-node-renderer",ref:Z(a,l)})});iD.displayName="DomNodeRenderer";var aD="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6ln",lD="_14uvjig3 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",sD="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6jj _1yep5z6jk _1yep5z6jl",uD=V({defaultClassName:"_14uvjig0 _1yep5z6dy _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"},hasNumberInput:{false:"_1yep5z6ol _1yep5z6om _1yep5z6on"}},defaultVariants:{},compoundVariants:[]}),cD=V({defaultClassName:"_14uvjigb _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6g9 _1yep5z6lp _1yep5z6la",variantClassNames:{active:{true:"_14uvjigc _1yep5z612i _1yep5z6181 _1yep5z617t"},isDisabled:{true:"_14uvjigd _1yep5z612m"},isReadOnly:{true:"_1yep5z614p _1yep5z614q _1yep5z614r"},isFocusVisible:{true:"_14uvjigf _1yep5z612i _1yep5z617d"},isHovered:{true:"_14uvjigg _1yep5z612i"}},defaultVariants:{},compoundVariants:[]}),dD="z9nup8a _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf",pD="_14uvjig4 z9nup87 _1yep5z6g5 _1yep5z6ln",mD=V({defaultClassName:"_14uvjig5 _1yep5z6g9 _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lo",variantClassNames:{active:{true:"_1yep5z612i"},isFocusVisible:{true:"_1yep5z612i"},isDisabled:{true:"_1yep5z612m"},isHovered:{true:"_1yep5z612i"}},defaultVariants:{},compoundVariants:[]});var Oa=V({defaultClassName:"nrh1ehr _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6111"},hasError:{true:"_1yep5z610h"},labelPosition:{start:"nrh1ehu",top:"nrh1ehv"}},defaultVariants:{},compoundVariants:[]}),Yp=V({defaultClassName:"nrh1ehi _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6eu _1yep5z6ln _1yep5z6ly _1yep5z6lq _1yep5z6dy",variantClassNames:{isDisabled:{true:"nrh1ehj"},labelPosition:{top:"nrh1ehk",start:"nrh1ehl"}},defaultVariants:{},compoundVariants:[]}),Fa=V({defaultClassName:"nrh1ehm _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lk",variantClassNames:{validationState:{valid:"nrh1ehn",error:"_1yep5z610h",warning:"_1yep5z610p"},isReadOnly:{true:"_1yep5z6118"}},defaultVariants:{},compoundVariants:[]}),Ka="_1yep5z6ev _1yep5z6dy",ln=V({defaultClassName:"nrh1eh3 _1yep5z6iv _1yep5z6iw _1yep5z6ix",variantClassNames:{labelPosition:{top:"_1yep5z6t9 _1yep5z6ta _1yep5z6tb",start:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6157 _1yep5z6158 _1yep5z6159"},hasMessage:{true:"nrh1eh6"}},defaultVariants:{},compoundVariants:[[{labelPosition:"start",hasMessage:false},"_1yep5z61sj _1yep5z61sk _1yep5z61sl"]]}),sn=V({defaultClassName:"nrh1eh0 _1yep5z6ln",variantClassNames:{labelPosition:{top:"_1yep5z614v _1yep5z614w _1yep5z614x _1yep5z6157 _1yep5z6158 _1yep5z6159",start:"_1yep5z614v _1yep5z614w _1yep5z614x _1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),Va=V({defaultClassName:"nrh1eh7 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{validationState:{valid:"nrh1eh8",error:"_1yep5z612q",warning:"nrh1eha"},isHovered:{true:"nrh1ehb"},isFocused:{true:"_1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6184 _1yep5z6182 _1yep5z6134 _1yep5z617v _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"nrh1ehd"},variant:{primary:"nrh1ehe",ghost:"nrh1ehf"},isReadOnly:{true:"_1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8"}},defaultVariants:{},compoundVariants:[[{variant:"ghost",isHovered:true,isFocused:false,validationState:"valid"},"_1yep5z61pa _1yep5z61u5 _1yep5z61u7"],[{variant:"ghost",isFocused:false,isHovered:false,validationState:"valid"},"_1yep5z61pm"],[{isHovered:true,validationState:"valid",isDisabled:false,isReadOnly:false,isFocused:false,variant:"primary"},"_1yep5z61pb"],[{isHovered:true,validationState:"warning",isDisabled:false,isReadOnly:false,isFocused:false},"_1yep5z61pb"],[{isReadOnly:true,variant:"primary",isFocused:false},"nrh1ehh"],[{isReadOnly:true,isFocused:true},"_1yep5z61io _1yep5z61ip _1yep5z61iq _1yep5z61jc _1yep5z61jd _1yep5z61je _1yep5z61k0 _1yep5z61k1 _1yep5z61k2 _1yep5z61ko _1yep5z61kp _1yep5z61kq"],[{isHovered:true,isFocused:false,isDisabled:false,isReadOnly:false},"_1yep5z61tg"]]});function or({description:e,errorMessageProps:t,descriptionProps:r,warningMessage:o,errorMessage:n,labelPosition:i,isDisabled:a}){return e?jsx("div",{...r,className:Oa({isDisabled:a,labelPosition:i}),"aria-disabled":a,children:e}):n?jsx("div",{...t,className:Oa({hasError:true,labelPosition:i}),"aria-disabled":a,children:n}):o?jsx("div",{className:Oa({isDisabled:a,labelPosition:i}),"aria-disabled":a,children:o}):null}var fD=V({defaultClassName:"_1lnwne1 z9nup81",variantClassNames:{isHoveredOrFocused:{true:"_1lnwne2"},isInteractive:{false:"z9nup82"}},defaultVariants:{},compoundVariants:[[{isHoveredOrFocused:true,isInteractive:true},"_1lnwne4"]]}),yD="_1lnwne0";var bD=V({defaultClassName:"_1jwycy80",variantClassNames:{placement:{bottom:"_1jwycy81",left:"_1jwycy82",right:"_1jwycy83",top:"_1jwycy84"},variant:{default:"_1jwycy85",inverse:"_1jwycy86"}},defaultVariants:{},compoundVariants:[]}),gD=V({defaultClassName:"_1jwycy87 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn",variantClassNames:{size:{md:"_1yep5z63u _1yep5z63v _1yep5z63w _1yep5z61i _1yep5z61j _1yep5z61k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6e7",sm:"_1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dv"},variant:{default:"_1yep5z6g9 _1yep5z6ez",inverse:"_1yep5z6d7 _1yep5z6g1 _1yep5z6eu"}},defaultVariants:{},compoundVariants:[]});function Zp({placement:e,isDisabled:t}){let r=useMemo(()=>{if(t)return {x:0,y:0};switch(e){case "top":return {x:0,y:-4};case "bottom":return {x:0,y:4};case "left":return {x:-4,y:0};case "right":return {x:4,y:0};default:return {x:0,y:4}}},[e,t]);return {transitionProps:{initial:t?{opacity:1,scale:1,...r}:{opacity:0,scale:.98,...r},animate:{opacity:1,scale:1,x:0,y:0},transition:{ease:"easeOut"}}}}var Og=Mo.forwardRef(({children:e,state:t,overlayProps:r,arrowProps:o,placement:n="bottom",variant:i,size:a,tooltipProps:l,includeArrow:s},u)=>{let c=useRef(null),{tooltipProps:d}=Nd({isOpen:t.isOpen},t,c),m=n==="center"?"bottom":n,{transitionProps:p}=Zp({placement:n});return jsxs(motion.span,{...R(r,p),ref:Z(u,c),"data-placement":m,children:[s?jsx("div",{className:bD({placement:m,variant:i}),...o}):null,jsx("div",{...R(d,l),className:gD({variant:i,size:a}),children:e})]})});Og.displayName="TooltipContent";var Fg=Mo.createContext(void 0),Jp=({portalContainer:e,children:t})=>jsx(Fg.Provider,{value:e,children:t});Jp.displayName="PortalContainerProvider";function xD({ref:e,onIntersect:t,isDisabled:r,threshold:o,rootMargin:n,root:i}){let a=Mo.useRef(null);useEffect(()=>{if(r){a.current?.disconnect(),a.current=null;return}a.current=new IntersectionObserver(([l])=>{t(l);},{root:i?.current,rootMargin:n,threshold:o});},[t,r,i,n,o]),useEffect(()=>{let{current:l}=a;return e.current&&l?.observe(e.current),()=>l?.disconnect()},[e]);}function TD({ref:e,onResize:t,isDisabled:r}){let o=Mo.useRef(null),[n,i]=Mo.useState();return Mo.useEffect(()=>{if(r){o.current?.disconnect(),o.current=null;return}o.current=new ResizeObserver(([a])=>{i(a.contentRect),t?.(a);});},[t,r,i]),Mo.useEffect(()=>{let{current:a}=o;return e.current&&a?.observe(e.current),()=>a?.disconnect()},[e]),{size:n}}function em({src:e,alt:t}){let[r,o]=useState(false),[n,i]=useState(false),[a,l]=useState(false),s=()=>{o(true),l(false);},u=()=>{i(true),l(false);};return useEffect(()=>{if(!e)return;l(true);let c=new Image;return c.src=e,c.addEventListener("load",s),c.addEventListener("error",u),()=>{c.removeEventListener("load",s),c.removeEventListener("error",u);}},[e]),{isLoaded:r,hasError:n,isLoading:a,imgProps:{src:a?void 0:e,alt:t}}}function tm(){let e=useRef(true);return useEffect(()=>{e.current=false;},[]),e.current}var PD="SET_STATE",rm="UNDO",om="REDO",ej=(e,t)=>{let{past:r,present:o,future:n}=e;switch(t.type){case PD:return {past:[...r,o],present:t.data,future:[]};case rm:return {past:r.slice(0,r?.length-1),present:r[r?.length-1],future:[o,...n]};case om:return {past:[...r,o],present:n[0],future:n.slice(1)};default:throw new Error("Invalid action type")}},CD=(e={},{isDisabled:t,onAction:r})=>{let o=tm(),[n,i]=useReducer(ej,{past:[],present:e,future:[]}),{past:a,present:l,future:s}=n,u=b=>{i({type:PD,data:b});},c=useRef(),d=()=>{c.current=rm,i({type:rm});},m=()=>{c.current=om,i({type:om});},p=!!a?.length,y=!!s?.length;return useGranularEffect(()=>{(c.current===rm||c.current===om)&&(r?.(l,c.current),c.current=void 0);},[l],[r,o]),{state:l,push:t?()=>{}:u,undo:t?()=>{}:d,redo:t?()=>{}:m,pastStates:a,futureStates:s,canUndo:p,canRedo:y}};var Vg=Mo.createContext({messages:{},shouldLogMissingMessages:true,hasMissingErrorLoggedFor:{current:new Set},setLang:()=>{}}),kD=({children:e,messages:t={},shouldLogMissingMessages:r=true,...o})=>{let n=useRef(new Set),[i,a]=useState(o.locale||"");useEffect(()=>{n.current.clear();},[i,o.locale]);let l=Mo.useMemo(()=>({messages:t,shouldLogMissingMessages:r,hasMissingErrorLoggedFor:n,setLang:a}),[t,r,a]);return jsx(uc,{...o,children:jsx(Vg.Provider,{value:l,children:e})})};kD.displayName="I18nProvider";function ye(e){let{messages:t,shouldLogMissingMessages:r,hasMissingErrorLoggedFor:o,setLang:n}=useContext(Vg);useEffect(()=>{!e&&nj(t)&&console.warn("BUI \u{1F30D}: No messages object provided and no messages found in the `I18nProvider`. Please provide a messages object to the `useI18n` hook.");},[e,t]);let i=useMemo(()=>e?S1(e):t,[e,t]),a=fc(i),l=J();useEffect(()=>{n(l.locale);},[l.locale,n]);let s=useCallback(c=>{r&&!o.current.has(c)&&(console.log(`BUI \u{1F30D}: Translation not found for key: \`${c}\` for locale: \`${l.locale}\`. The default message, i.e. \`${c}\`, will be used instead.`),o.current.add(c));},[o,l.locale,r]),u=useCallback((c,d)=>{if(typeof c=="object")try{return a(c.id,d)}catch{return s(c.id),c.defaultMessage||c.id}else try{return a(c,d)}catch{return s(c),c}},[a,s]);return useMemo(()=>({formatMessage:u,locale:l}),[u,l])}var Re=e=>e;function wMe(e,t,r){let o=Mo.useRef(null);return Mo.useEffect(()=>{if(e)return o.current=new MutationObserver(r),o.current.observe(e,t),()=>{o.current&&o.current.disconnect();}},[e,t,r]),o.current}function ID(e,t){let[r,o]=useState(()=>{try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(i){return console.log(i),t}});return [r,i=>{try{let a=isFunction(i)?i(r):i;o(a),window.localStorage.setItem(e,JSON.stringify(a));}catch(a){console.log(a);}}]}function OMe({ref:e,onSelectionChange:t,onSelectionEnd:r,isDisabled:o}){let n=Mo.useRef(null);Se({ref:e,isDisabled:o,onPressEnd(){let a=j(e.current).getSelection();a&&e.current?.contains(a.anchorNode)&&r?.(a);},onPressStart(){let i=j(e.current);n.current=i.getSelection(),n.current&&n.current.removeAllRanges();}}),useEffect(()=>{let i=e.current;if(!i||o)return;function a(){let u=j(i).getSelection();u&&e.current?.contains(u.anchorNode)&&t(u);}let l=H(i);return l.addEventListener("selectionchange",a),()=>{l.removeEventListener("selectionchange",a);}},[e,t,o]);}var nm=Mo.createContext({breakpoints:breakpoints}),pj=({children:e,breakpoints:t=breakpoints})=>{let r=useMemo(()=>({breakpoints:t}),[t]);return jsx(nm.Provider,{value:r,children:e})};function un(e){let{breakpoints:t=breakpoints}=useContext(nm),r=useMemo(()=>({tablet:`screen and (min-width: ${t.tablet}px)`,desktop:`screen and (min-width: ${t.desktop}px)`}),[t]),o=useCallback(()=>{let a=j(e??typeof window>"u"?void 0:e),l=a.matchMedia(r.tablet);return a.matchMedia(r.desktop).matches?"desktop":l.matches?"tablet":"mobile"},[e,r]),[n,i]=Mo.useState(o);return ae(()=>{let a=j(e),l=()=>{i(o());};return a.addEventListener("resize",l),l(),()=>{a.removeEventListener("resize",l);}},[e,o]),n}function im({ownerDocument:e=document}){let t=Xt(),[r,o]=useState(t==="keyboard"?"keyboard":"pointer");return useEffect(()=>{let n=()=>{o("pointer");},i=()=>{o("keyboard");};return e.addEventListener("pointermove",n,{passive:true,capture:true}),e.addEventListener("keydown",i,true),()=>{e.removeEventListener("pointermove",n,{capture:true}),e.removeEventListener("keydown",i,true);}},[e]),r}function Pj(){return Object.prototype.hasOwnProperty.call(HTMLElement.prototype,"inert")}function am({ref:e,isDisabled:t}){useEffect(()=>{if(!e.current||t)return;let r=e.current;if(Pj())return r.setAttribute("inert","true"),()=>{r.removeAttribute("inert");};let o=new Map,n=r.hasAttribute("aria-hidden")?r.getAttribute("aria-hidden")==="true":null;r.setAttribute("aria-hidden","true");let i=()=>{if(!e.current)return;let l=P1(e.current);for(let s of l)o.has(s)||(o.set(s,s.getAttribute("tabindex")),s.setAttribute("tabindex","-1"));};i();let a=new MutationObserver(l=>{for(let s of l)if(s.type==="childList"){for(let u of s.removedNodes)u instanceof Element&&o.delete(u);i();}});return a.observe(e.current,{childList:true,subtree:true,attributes:false}),()=>{a.disconnect();for(let[l,s]of o.entries())l.isConnected&&(s===null?l.removeAttribute("tabindex"):l.setAttribute("tabindex",s));n===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n?"true":"false");}},[e,t]);}function Dj(e){return e?.nodeType===Node.DOCUMENT_NODE}var Eo=Mo.createContext({container:null,portalContainer:null,shouldContainOverlays:false,isContainerPositioned:false,containerWidth:void 0,containerHeight:void 0}),kj=({children:e,container:t,portalContainer:r,shouldContainOverlays:o="auto"})=>{let n=un(),[i,a]=useState(),[l,s]=useState(),[u,c]=useState(document),d=t??u.body;useEffect(()=>{let v=d?.getRootNode(),g;return sx(),Dj(v)&&v!==document&&(g=kc(v.body)),()=>{g?.();}},[d]);let m=useMemo(()=>d===u.body||o==="never"?false:o==="always"?true:n!=="mobile",[o,n,d,u]),[p,y]=useState(false),b=tm();useEffect(()=>{if(!d||b)return;let g=j(d).getComputedStyle(d),x=!!g.position&&g.position!=="static";x||console.warn("FrameProvider: container is not positioned. Please ensure the container is non-static."),y(x);let T=d.getBoundingClientRect();(T.width===0||T.height===0)&&console.error("FrameProvider: container does not have a width or height. Please ensure that the container is visible and has a width and height.");function P({width:E,height:D}){d&&(a(E),s(D));}let S=new ResizeObserver(E=>{for(let D of E)P({width:D.contentRect.width,height:D.contentRect.height});});return m&&(P({width:T.width,height:T.height}),S.observe(d)),d.dataset.shouldContainOverlays=m.toString(),()=>{S.disconnect(),d.dataset.shouldContainOverlays="";}},[d,b,m]);let f=r||d||u.body;useEffect(()=>{r&&!d.contains(r)&&console.warn("FrameProvider: portalContainer is not a child of container. Please ensure the portalContainer is a child of the container.");},[d,r]);let h=useMemo(()=>({container:d,portalContainer:f,shouldContainOverlays:m,isContainerPositioned:p,containerWidth:i,containerHeight:l}),[d,f,m,p,i,l]);return jsx(Eo.Provider,{value:h,children:jsxs(Jp,{portalContainer:h.portalContainer||void 0,children:[e,jsx("div",{ref:v=>{v&&c(v.ownerDocument);},className:sprinkles({display:"none"})})]})})};function Ft(e){let t=useContext(Fg),{portalContainer:r}=useContext(Eo);return e||t||r||void 0}var ND=V({defaultClassName:"z9nup83",variantClassNames:{size:{xs:"z9nup84",sm:"z9nup85"}},defaultVariants:{},compoundVariants:[]}),OD="z9nup80",Ba="z9nup82",FD="z9nup86";function $g(e=typeof window>"u"?void 0:window){let[t,r]=useState("light"),[o,n]=useState(false),[i,a]=useState(false),[l,s]=useState(false);return useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-color-scheme: dark)"),c=d=>{r(d.matches?"dark":"light");};return u.matches&&r("dark"),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-contrast: more)"),c=d=>{n(d.matches);};return n(u.matches),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-reduced-motion: reduce)"),c=d=>{a(d.matches);};return u.matches&&a(true),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),useEffect(()=>{if(!e)return;let u=e.matchMedia("(prefers-reduced-transparency: reduce)"),c=d=>{s(d.matches);};return u.matches&&s(true),u.addEventListener("change",c),()=>{u.addEventListener("change",c);}},[e]),{colorScheme:t,highContrast:o,reducedMotion:i,transparency:l}}var $a=createContext({theme:lightTheme,setTheme:()=>{},shouldHandleVirtualKeyboard:true});var KD="var(--hj25q10)";var Hg="var(--_1hotumh0)";var cm={LIGHT:themes.base.light,DARK:themes.base.dark},dm=Mo.forwardRef(({theme:e="system",children:t,setTheme:r,onThemeChange:o,className:n,style:i,UNSAFE_domProps:a,"data-block-id":l,"data-block-class":s,reducedMotion:u="user",shouldHandleVirtualKeyboard:c=true,minTouchTargetSize:d=24},m)=>{let{direction:p}=J(),{colorScheme:y,reducedMotion:b,highContrast:f,transparency:h}=$g(),{name:v,...g}=useMemo(()=>{switch(e){case "system":return y==="light"?cm.LIGHT:cm.DARK;case "light":return cm.LIGHT;case "dark":return cm.DARK;default:return e}},[y,e]),x=un(),T={"data-theme":v,"data-block-id":l,"data-block-class":s,"data-reduced-motion":u==="user"?b:u==="always","data-high-contrast":f,"data-transparency":h,"data-device":x},P=useMemo(()=>({theme:g,setTheme:S=>{r?.(S),o?.(S);},shouldHandleVirtualKeyboard:c}),[g,r,o,c]);return useEffect(()=>{r&&console.warn("ThemeProvider: The `setTheme` prop is deprecated and will be removed in a future version of Baseline UI. Use the `onThemeChange` prop instead.");},[r]),jsx($a.Provider,{value:P,children:jsx(MotionConfig,{reducedMotion:u,children:jsx("div",{...R(a,T),className:L(OD,"BaselineUI-ThemeProvider",n),style:{...assignInlineVars(themeVars,g),...assignInlineVars({[Hg]:p==="rtl"?"-1":"1",[KD]:`${d}px`}),...i},dir:p,ref:m,children:t})})})});dm.displayName="ThemeProvider";function r5e(){MotionGlobalConfig.skipAnimations=true;}function o5e(){MotionGlobalConfig.skipAnimations=false;}var Kt=Mo.forwardRef(({className:e,style:t,children:r,"data-block-id":o,"data-block-class":n,portalContainer:i,...a},l)=>{let{theme:s,shouldHandleVirtualKeyboard:u}=useContext($a),c=Ft();return jsx(Mc,{...a,portalContainer:i??c,children:jsx(dm,{ref:l,theme:s,shouldHandleVirtualKeyboard:u,style:t,className:L("BaselineUI-Portal",e),"data-block-id":o,"data-block-class":n,children:r})})});Kt.displayName="Portal";var Be=Mo.forwardRef(({children:e,placement:t="bottom",delay:r=1e3,closeDelay:o=500,variant:n="default",size:i="md",includeArrow:a=true,portalContainer:l,className:s,style:u,"data-block-id":c,"data-block-class":d,...m},p)=>{let y=Mo.useRef(null),b=Mo.useRef(null),f=!m.text||m.isDisabled,h=ap({...m,delay:r,closeDelay:o}),{triggerProps:v,tooltipProps:g}=Od({...m,isDisabled:f},h,y),x=Ft(l),{overlayProps:T,arrowProps:P,placement:S,updatePosition:E}=Bo({arrowSize:a?13:0,targetRef:y,arrowBoundaryOffset:a?8:0,offset:a?12:2,overlayRef:b,placement:t,isOpen:h.isOpen,...m});xD({ref:b,threshold:1,onIntersect:E,isDisabled:!h.isOpen}),TD({ref:y,onResize:E,isDisabled:!h.isOpen});let D=Mo.isValidElement(e)?jsx(Tc,{...v,ref:y,children:e}):typeof e=="function"?e({triggerProps:v,triggerRef:y}):null;return jsxs(Fragment,{children:[D,h.isOpen?jsx(Kt,{disableFocusManagement:true,portalContainer:x,className:s,style:u,"data-block-id":c,"data-block-class":d,children:jsx(Og,{ref:Z(p,b),state:h,arrowProps:P,overlayProps:T,placement:S??"bottom",tooltipProps:g,variant:n,size:i,includeArrow:a,children:m.text})}):null]})});Be.displayName="Tooltip";var Vj={xxs:8,xs:12,sm:16,md:20,lg:24},me=Mo.forwardRef((e,t)=>{let r=ge(t),{tooltipProps:o}=Up(e,r);return o?jsx(Be,{...o,children:jsx(Ug,{...e,ref:r})}):jsx(Ug,{...e,ref:r})});me.displayName="ActionIconButton";var Ug=Mo.forwardRef(({className:e,style:t,icon:r,size:o="md",variant:n="primary",UNSAFE_isVisuallyInteractiveOnly:i,elementType:a=i?"div":"button",isExcludedFromRovingFocus:l,...s},u)=>{let c=s["aria-label"],d=s["aria-labelledby"];useEffect(()=>{!c&&!d&&console.warn("An `ActionIconButton` requires an aria-label or aria-labelledby prop.");},[c,d]);let{buttonProps:m,isPressed:p,ref:y,isFocusVisible:b,isFocused:f,isHovered:h,uiStateOptions:v}=Wp({...s,elementType:a}),g=ce({"data-block-id":s["data-block-id"],"data-block-class":s["data-block-class"],"data-focused":f,"data-focus-visible":b,"data-disabled":s.isDisabled,"data-hovered":h,"data-pressed":p,"data-bui-avoid-focus":l});return jsxs(a,{...R(m,g),className:L(W1({variant:n,size:o,isDisabled:!!s.isDisabled,isFocusVisible:b,isHovered:h}),"BaselineUI-ActionIconButton",typeof e=="function"?e(v):e),ref:Z(u,y),style:typeof t=="function"?t(v):t,...i&&{tabIndex:void 0,role:void 0,"aria-label":void 0,"aria-labelledby":void 0,"aria-disabled":void 0},children:[jsx(r,{role:"presentation",size:Vj[o]}),n==="popover"&&jsx(CaretDownIcon,{size:8,className:jp})]})});Ug.displayName="ActionIconButtonCore";var wo=Mo.forwardRef(({className:e,style:t,labelPosition:r="top",variant:o="primary",showStepper:n=true,...i},a)=>{let l=Mo.useRef(null),{locale:s}=J(),u=qi({...i,locale:s}),{hoverProps:c,isHovered:d}=re({isDisabled:i.isDisabled}),{focusProps:m,isFocusVisible:p,isFocused:y}=ee(),{labelProps:b,decrementButtonProps:f,inputProps:h,incrementButtonProps:v,groupProps:g,descriptionProps:x,errorMessageProps:T}=Zi(i,u,l),P=useMemo(()=>i.isReadOnly?ReadOnlyIcon:i.isInvalid?ErrorCircleFilledIcon:null,[i.isInvalid,i.isReadOnly]),S=or({description:i.description,errorMessageProps:T,descriptionProps:x,errorMessage:i.errorMessage,labelPosition:r,isDisabled:i.isDisabled}),E=ce({"data-disabled":i.isDisabled,"data-readonly":i.isReadOnly,"data-hovered":d,"data-focused":y,"data-focus-visible":p,"data-invalid":i.isInvalid,"data-block-id":i["data-block-id"],"data-block-class":i["data-block-class"]});return jsxs("div",{style:t,className:L(sn({labelPosition:r}),"BaselineUI-NumberInput",e),...E,ref:a,children:[i.label?jsxs("div",{className:ln({labelPosition:r,hasMessage:!!S}),children:[jsx("label",{...b,className:Ka,children:i.label}),r==="start"&&S]}):null,jsxs("div",{className:L({[Ba]:i.isDisabled}),children:[jsxs("div",{...R(g,c),className:L(Va({isHovered:d,isDisabled:!!i.isDisabled,isReadOnly:!!i.isReadOnly,validationState:i.isInvalid?"error":"valid",isFocused:y,variant:o}),{[yD]:r==="start"},"BaselineUI-NumberInput-Container"),children:[jsx("input",{...R(h,m),ref:l,className:L("BaselineUI-NumberInput-Input",Yp({isDisabled:i.isDisabled,labelPosition:r}))}),P?jsx(P,{className:Fa({validationState:"error",isReadOnly:i.isReadOnly}),size:16}):null,n?jsxs("div",{className:fD({isHoveredOrFocused:d||y,isInteractive:!i.isReadOnly&&!i.isDisabled}),children:[jsx(me,{variant:"secondary",size:"xxs",icon:MinusIcon,...f,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true}),jsx(De,{style:{height:16},orientation:"vertical"}),jsx(me,{variant:"secondary",size:"xxs",icon:PlusIcon,...v,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true})]}):null]}),r==="top"&&S]})]})});wo.displayName="NumberInput";var ja=Mo.forwardRef(({className:e,style:t,onChange:r,onChangeEnd:o,numberFormatOptions:n,isDisabled:i,step:a,minValue:l,maxValue:s,value:u,"aria-label":c,"aria-labelledby":d,"aria-details":m,"aria-describedby":p,"data-block-id":y,"data-block-class":b,defaultValue:f,isReadOnly:h,label:v,id:g,includeNumberInput:x},T)=>{let P=Mo.useRef(null),S={onChange:r===void 0?void 0:w=>{r(w[0]);},isDisabled:i||h,step:a,minValue:l,maxValue:s,onChangeEnd:o===void 0?void 0:w=>{o(w[0]);},value:u===void 0?void 0:[u],defaultValue:f===void 0?void 0:[f],"aria-label":c,"aria-labelledby":d,"aria-details":m,"aria-describedby":p,id:g,label:v},E=gr(n),D=Wi({...S,numberFormatter:E}),{trackProps:I,groupProps:C,labelProps:_}=Xi(S,D,P),z=jsx(wo,{variant:"ghost",showStepper:false,"aria-label":c,"aria-labelledby":_.id,value:D.getThumbValue(0),formatOptions:n,onChange:w=>{D.setThumbValue(0,w);},style:{width:55,textAlign:"right",flexShrink:0}});return jsxs("div",{...C,style:t,"data-block-id":y,"data-block-class":b,className:L(aD,"BaselineUI-Slider",e),children:[v?jsxs("div",{className:sD,children:[jsx("label",{..._,className:L(uD({isDisabled:i,hasNumberInput:!!x}),"BaselineUI-Slider-Label"),children:v}),x?z:null]}):null,jsxs("div",{className:lD,children:[jsx("div",{...I,className:L(pD,"BaselineUI-Slider-Track"),ref:Z(P,T),"data-testid":"track",children:jsx(Wj,{state:D,trackRef:P,isDisabled:i,isReadOnly:h})}),x&&!v?z:null]})]})});ja.displayName="Slider";function Wj({state:e,trackRef:t,isDisabled:r,isReadOnly:o}){let n=Mo.useRef(null),{thumbProps:i,inputProps:a,isDragging:l}=Yi({trackRef:t,inputRef:n},e),{focusProps:s,isFocused:u,isFocusVisible:c}=ee(),{hoverProps:d,isHovered:m}=re({isDisabled:r}),{direction:p}=J(),y=ce({"data-disabled":r,"data-readonly":o,"data-hovered":m,"data-focus-visible":c,"data-dragging":l,"data-focused":u});return jsxs(Fragment,{children:[jsx("div",{className:L(mD({isDisabled:r,isFocusVisible:c,active:l,isHovered:m}),"BaselineUI-Slider-TrackHighlight"),style:{width:p==="rtl"?`calc(100% - ${i.style?.left})`:i.style?.left},"data-testid":"track-highlight"}),jsxs("div",{...R(i,d,y),className:L(dD,"BaselineUI-Slider-ThumbHandle"),"data-testid":"thumb",children:[jsx("div",{className:L(cD({isDisabled:r,isFocusVisible:c,active:l,isReadOnly:o,isHovered:m}),"BaselineUI-Slider-Thumb")}),jsx(Le,{children:jsx("input",{ref:n,...R(a,s)})})]})]})}var WD=V({defaultClassName:"_1tkzayn0 _1yep5z6dy",variantClassNames:{size:{sm:"_1tkzayn1",md:"_1tkzayn2",lg:"_1tkzayn3"},type:{subtitle:"_1yep5z610x",title:"_1yep5z610x",label:"_1yep5z610y",value:"_1yep5z610y",helper:"_1yep5z610z",body:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{type:"title",size:"sm"},"_1yep5z61lj"],[{type:"title",size:"md"},"_1yep5z61lm"],[{type:"title",size:"lg"},"_1yep5z61lp"],[{type:"body",size:"sm"},"_1yep5z61m9"],[{type:"body",size:"md"},"_1yep5z61mc"],[{type:"body",size:"lg"},"_1yep5z61mc"],[{type:"subtitle",size:"sm"},"_1yep5z61m5"],[{type:"subtitle",size:"md"},"_1yep5z61m8"],[{type:"subtitle",size:"lg"},"_1yep5z61m8"],[{type:"label",size:"md"},"_1yep5z61m7"],[{type:"label",size:"lg"},"_1yep5z61m7"],[{type:"value",size:"md"},"_1yep5z61m7"],[{type:"value",size:"lg"},"_1yep5z61m7"],[{type:"helper",size:"sm"},"_1yep5z61m1"]]});var Ze=Mo.forwardRef(({elementType:e="span",type:t="title",children:r,size:o="md",...n},i)=>jsx(e,{...n,className:L(WD({size:o,type:t}),"BaselineUI-Text",n.className),ref:i,children:r}));Ze.displayName="Text";var qD=V({defaultClassName:"siobe20 _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6d7 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6",variantClassNames:{background:{subtle:"_1yep5z6124",medium:"_1yep5z6125"},isFocusVisible:{true:"_1yep5z617u _1yep5z617w _1yep5z617x _1yep5z6140"}},defaultVariants:{},compoundVariants:[]}),XD="siobe24";var mm=Mo.forwardRef(({className:e,style:t,children:r,background:o="medium",title:n,action:i,"data-block-id":a,"data-block-class":l,onCloseRequest:s,contentStyle:u,contentClassName:c,...d},m)=>{let{formatMessage:p}=ye(),y=Mo.useRef(null),{dialogProps:b,titleProps:f}=Qi(d,y),{focusProps:h,isFocusVisible:v}=ee();return jsxs("div",{...R(b,h),className:L(qD({background:o,isFocusVisible:v}),"BaselineUI-Drawer",e),"data-block-id":a,"data-block-class":l,style:t,ref:Z(m,y),children:[jsxs(X,{paddingLeft:"lg",paddingRight:"sm",backgroundColor:"background.primary.subtle",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"lg",className:XD,children:[jsx(Ze,{type:"title",size:"sm",...f,className:FD,children:n}),jsxs(X,{children:[i?jsx(me,{...i,variant:"secondary"}):null,jsx(me,{variant:"secondary",size:"md",icon:XIcon,onPress:s,"aria-label":p(Jj.close)})]})]}),jsx(De,{variant:o==="subtle"?"primary":"secondary"}),jsx(X,{display:"flex",flexDirection:"column",flex:1,style:{overflow:"auto",...u},className:L(c,"BaselineUI-Drawer-Content"),children:r})]})});mm.displayName="Drawer";var Jj=Re({close:{id:"close",defaultMessage:"Close"}});var ZD="aml2vl8 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6ij _1yep5z6ik _1yep5z6il",JD="_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7",QD=V({defaultClassName:"aml2vl3 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6is _1yep5z6it _1yep5z6iu",variantClassNames:{enableDrawer:{false:"_1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf",true:"aml2vl5"},shouldContainOverlays:{true:"aml2vl6",false:"aml2vl7"}},defaultVariants:{},compoundVariants:[]}),ek=V({defaultClassName:"aml2vl0 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6gb",variantClassNames:{shouldContainOverlays:{true:"aml2vl1",false:"aml2vl2"}},defaultVariants:{},compoundVariants:[]});var _o=Mo.createContext({state:null,triggerProps:{},overlayProps:{}}),ro=({children:e,...t})=>{let r=Nt(t),{triggerProps:o,overlayProps:n}=Wr({type:"dialog"},r),i=useMemo(()=>({state:r,triggerProps:o,overlayProps:n}),[r,o,n]);return jsx(_o.Provider,{value:i,children:e})};ro.displayName="Modal";function ik(e,t,r){let[o,n]=useState({}),i=useRef(false),[a,l]=useState(null),{container:s,shouldContainOverlays:u,isContainerPositioned:c,containerHeight:d,portalContainer:m}=useContext(Eo);useEffect(()=>{if(!e)return;let f=j(e),h=f.visualViewport,v=()=>{let g=r?h?.height??f.innerHeight:f.innerHeight,x=f.innerHeight-g;if(i.current=r?x>60:false,i.current){let T=pe(e.ownerDocument);T&&C1(T)&&T.scrollIntoView({behavior:"smooth",block:"center"});}if(t)n({maxHeight:(g||0)*.8,bottom:x});else {let T=`${g||0}px`,P=u?`min(${T}, ${d?d+"px":T})`:T;n({maxHeight:`calc(${P} - (2 * ${themeVars.spacing.xl} + env(safe-area-inset-top) + env(safe-area-inset-bottom)))`,top:i.current?`calc(env(safe-area-inset-top) + ${themeVars.spacing.xl})`:void 0});}};return v(),h?.addEventListener("resize",v),f.addEventListener("resize",v),()=>{h?.removeEventListener("resize",v),f.removeEventListener("resize",v);}},[e,t,u,r,d]);let p=m&&!se(s,m);useEffect(()=>{if(!s||!u||c&&!p)return;let f=()=>{s&&l(wp(s));};f();let h=new ResizeObserver(()=>{f();});return h.observe(s),()=>{h.disconnect();}},[s,u,c,p]);let y=useMemo(()=>({...o,overflow:"auto",position:"relative"}),[o]),b=useMemo(()=>{if(!t&&i.current)return {alignItems:"flex-start"};if(u&&(!c||p)){let f=a||(s?wp(s):{x:0,y:0,height:0,width:0});return {position:"absolute",left:f.x,top:f.y,height:f.height,width:f.width}}return {}},[t,i.current,s,c,u,a,p]);return {dialogStyle:y,containerStyle:b}}var Xg=Mo.forwardRef(({children:e,className:t,style:r,isDismissable:o=true,isKeyboardDismissDisabled:n=false,portalContainer:i,disableAnimation:a,enableDrawer:l=false,"data-block-id":s,"data-block-class":u,shouldCloseOnInteractOutside:c},d)=>{let{state:m}=Mo.useContext(_o),[p,y]=Mo.useState(true),b=Mo.useRef(null),[f,h]=Mo.useState(null),{shouldHandleVirtualKeyboard:v}=useContext($a),{shouldContainOverlays:g,container:x,portalContainer:T}=useContext(Eo),P=un(),S=typeof l=="boolean"&&l||l==="auto"&&P==="mobile";ie(m,"ModalContent must be a child of Modal");let E=Mo.useRef(null),D=typeof o=="function"?o(S):o,I=typeof n=="function"?n(S):n,{modalProps:C,underlayProps:_}=Ac({isDismissable:p&&D,shouldCloseOnInteractOutside:N=>{let $=i||T;return !x?.contains(N)&&g&&!$?.contains(N)?false:c?.(N)??true},isKeyboardDismissDisabled:I,root:g?x??void 0:void 0},m,E),{dialogStyle:z,containerStyle:w}=ik(f,S,v),O=useMemo(()=>({isDrawer:S,closeDrawer:m.close,dialogStyle:z,dialogRef:b,setDialogElement:h,isWithinModal:true}),[S,m.close,z,b,h]),k=useMemo(()=>({setIsPopoverSafelyClosed:y}),[y]),M={duration:.3,type:"tween",ease:"easeOut"},F={type:"spring",duration:.3},K={open:{opacity:1,transform:S?"translateY(0%)":"scale(1)"},closed:a?{opacity:1,transform:S?"translateY(0%)":"scale(1)"}:{opacity:0,transform:S?"translateY(100%)":"scale(0.95)"}};return jsx(ym.Provider,{value:O,children:jsx(bm.Provider,{value:k,children:jsxs(Kt,{className:L(QD({enableDrawer:S,shouldContainOverlays:g}),t),"data-block-id":s,"data-block-class":u,style:{...r,...w},portalContainer:i,ref:d,children:[jsx(motion.div,{..._,variants:{open:{opacity:1},closed:{opacity:a?1:0}},initial:"closed",animate:"open",exit:"closed","data-testid":"underlay",transition:M,className:L(ek({shouldContainOverlays:g}),"BaselineUI-Modal-Underlay")}),jsx(motion.div,{...C,ref:E,"data-drawer":S,className:L(S?ZD:JD,"BaselineUI-Modal-Content"),variants:K,transition:S?M:F,initial:"closed",animate:"open",exit:"closed",children:typeof e=="function"?e(m):e})]})})})});Xg.displayName="ModalContentCore";var ym=Mo.createContext({isDrawer:false,closeDrawer:()=>{},dialogStyle:{},setDialogElement:()=>{},isWithinModal:false}),bm=Mo.createContext({setIsPopoverSafelyClosed:()=>{}}),oo=Mo.forwardRef(({shouldAnimateOnMount:e=true,disableAnimation:t,...r},o)=>{let{state:n}=Mo.useContext(_o);return jsx(AnimatePresence,{initial:e&&!t,children:n?.isOpen?jsx(Xg,{...r,ref:o}):null})});oo.displayName="ModalContent";var ck="var(--cjv3et0)",dk=V({defaultClassName:"cjv3et1 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6g1 _1yep5z6lz _1yep5z6m1",variantClassNames:{size:{sm:"cjv3et2",md:"cjv3et3",lg:"cjv3et4",content:"cjv3et5"},variant:{primary:"_1yep5z6137",ghost:"cjv3et7"},overlayType:{modal:"cjv3et8",popover:"cjv3et9"},isDrawer:{true:"cjv3eta _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8 _1yep5z617q"},isFocusVisible:{true:"_1yep5z61q3 _1yep5z61tx _1yep5z61tz _1yep5z61u1"}},defaultVariants:{},compoundVariants:[]});var Zg=Mo.createContext({titleProps:{}}),nr=Mo.forwardRef(({children:e,className:t,style:r,inheritDrawer:o,size:n="md",variant:i="primary","data-block-id":a,"data-block-class":l,drawerBackground:s,...u},c)=>{let d=Mo.useRef(null),m=Mo.useRef(null),{containerWidth:p,shouldContainOverlays:y}=useContext(Eo),{isDrawer:b,closeDrawer:f,dialogStyle:h,setDialogElement:v,isWithinModal:g}=useContext(ym),[x,T]=Mo.useState(""),{focusProps:P,isFocusVisible:S}=ee();useLayoutEffect(()=>{let C=m.current?.getRootNode(),_=u["aria-label"]||"";u["aria-labelledby"]&&(_=C?.querySelector(`#${u["aria-labelledby"].replaceAll(":",String.raw`\:`)}`)?.textContent||""),T(_);},[u]);let{dialogProps:E,titleProps:D}=Qi(u,d),I=useMemo(()=>({titleProps:D}),[D]);return b&&o?jsx(mm,{title:x,onCloseRequest:f,className:t,style:h,...u,"data-drawer":true,"data-block-id":a,"data-block-class":l,ref:Z(m,c,C=>{v(C);}),background:s,children:e}):jsx(Zg.Provider,{value:I,children:jsx("section",{...R(E,P),"data-block-id":a,"data-block-class":l,"data-focus-visible":S,"data-overlay-type":g?"modal":"popover",ref:Z(d,c,C=>{v(C);}),style:{...h,...r,...assignInlineVars({[ck]:p&&y?`${p}px`:"100vw"})},className:L(dk({size:b?"content":n,variant:i,isDrawer:b,isFocusVisible:S,overlayType:g?"modal":"popover"}),"BaselineUI-Dialog",t),children:e})})});nr.displayName="Dialog";var mk=Mo.forwardRef(({children:e,className:t,style:r},o)=>{let{titleProps:n}=useContext(Zg);return Mo.isValidElement(e)?Mo.cloneElement(e,{...n,ref:o,className:L(e.props.className,t),style:{...e.props.style,...r}}):jsx("h3",{...n,ref:o,className:t,style:r,children:e})});mk.displayName="DialogTitle";var{color:Ua}=themeVars,fk=({placement:e,arrowProps:t})=>jsxs(Fragment,{children:[jsxs("svg",{...t,className:L(t.className,X1({placement:e}),"BaselineUI-PopoverContent-Arrow"),style:{...t.style,position:"absolute"},width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"arrow",children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.019 0h1.228l6.272 7.237L13.791 0h1.228v1h-.772L7.519 8.763.791 1H.019V0Z",fill:Ua.border.medium}),jsx("path",{d:"M7.504 6.492 2.248.488h10.511L10.132 3.49 7.504 6.492Z",fill:Ua.background.primary.subtle,stroke:Ua.background.primary.subtle})]}),jsxs("svg",{...t,className:L(t.className,Y1({placement:e}),"BaselineUI-PopoverContent-Arrow-Focused"),width:"15",height:"11",viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t.style,position:"absolute"},"data-testid":"arrow-focused",children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.543371 2H0V0H1.45663L7.5 6.97312L13.5434 0H15V2H14.4566L7.5 10.0269L0.543371 2Z",fill:Ua.border.interactive.enabled}),jsx("path",{d:"M7.504 6.492 2.248.488h10.511L10.132 3.49 7.504 6.492Z",fill:Ua.background.primary.subtle,stroke:Ua.background.primary.subtle})]})]});var th=Mo.forwardRef(({portalClassName:e,portalStyle:t,className:r,style:o,state:n,overlayProps:i,underlayClassName:a,children:l,includeArrow:s=false,offset:u=2,portalContainer:c,contentContainerClassName:d,contentContainerStyle:m,setPopoverStyle:p,"data-block-id":y,"data-block-class":b,disableAnimation:f,popoverContainerRef:h,shouldContainFocus:v,arrowClassName:g,arrowStyle:x,disableFocusManagement:T,...P},S)=>{let E=ge(h),D=Ft(c),I=s?8:0,{underlayProps:C,popoverProps:_,placement:z,arrowProps:w}=Lc({...P,offset:u+I,popoverRef:E,containerPadding:P.containerPadding||0},n);delete _.style?.position;let O=(z==="center"?"bottom":z)||"bottom",k=useMemo(()=>({isOpen:n.isOpen}),[n.isOpen]),{transitionProps:M}=Zp({placement:z||"bottom",isDisabled:f}),F=useMemo(()=>({..._.style,...assignInlineVars({[tD]:`${P.triggerRef?.current?.offsetWidth}px`}),...Op(o,k)}),[_.style,P.triggerRef,o,k]);useEffect(()=>{p({left:_.style?.left,top:_.style?.top,zIndex:F.zIndex});},[_.style?.left,_.style?.top,p,F.zIndex]);let K=useMemo(()=>({...w,className:L(w.className,eu(g,k)),style:{...w.style,...Op(x,k)}}),[w,g,x,k]);return jsxs(Kt,{portalContainer:D,style:t,className:e,ref:S,"data-block-id":y,"data-block-class":b,shouldContainFocus:v,disableFocusManagement:T,children:[!P.isNonModal&&jsx("div",{...C,className:L(eD,eu(a,k),"BaselineUI-Popover-Underlay")}),jsxs(motion.div,{...R(_,M),style:F,ref:E,className:L(Z1,eu(r,k),"BaselineUI-Popover-ContentContainer"),"data-placement":["top","bottom","left","right"].filter(N=>z?.includes(N)),children:[s?jsx(fk,{placement:O,arrowProps:K}):null,jsx(as,{onDismiss:n.close}),jsx("div",{...i,style:Op(m,k),className:L(J1,eu(d,k),"BaselineUI-Popover-Content"),children:typeof l=="function"?l(n):l}),jsx(as,{onDismiss:n.close})]})]})});th.displayName="PopoverContentCore";var gk=({children:e,isOpen:t,popoverContentRef:r,portalContainer:o=document.body,style:n})=>{let[i,a]=useState(false),[l,s]=useState(null),u=useRef(null),{setIsPopoverSafelyClosed:c}=useContext(bm);useEffect(()=>{t?(a(true),u.current&&clearTimeout(u.current)):u.current=setTimeout(()=>{a(false);},300);},[t]),useEffect(()=>()=>{u.current&&clearTimeout(u.current);},[]);let d=r.current;return useEffect(()=>{d&&s(d.getBoundingClientRect());},[d]),useEffect(()=>{c(!i);},[i,c]),jsxs(Fragment,{children:[i?jO.createPortal(jsx("div",{style:{position:"absolute",left:n?.left,top:n?.top,width:l?.width,height:l?.height,zIndex:n?.zIndex?+n.zIndex-1:void 0},className:"BaselineUI-Popover-ClickPreventionLayer","data-testid":"event-leak-prevention-layer"}),o):null,e]})};var dt=Mo.forwardRef(({state:e,overlayProps:t,portalContainer:r,...o},n)=>{let{state:i,overlayTriggerAria:{overlayProps:a},triggerRef:l}=useContext(ou),[s,u]=useState({}),c=Ft(r),d=e||i,m=o.triggerRef||l,p=t||a;ie(m);let y=Mo.useRef(null);return jsx(gk,{isOpen:d?.isOpen??false,popoverContentRef:y,portalContainer:c,style:s,children:d?.isOpen?jsx(th,{ref:n,...o,triggerRef:m,overlayProps:p,state:d,portalContainer:c,setPopoverStyle:u,popoverContainerRef:y}):null})});dt.displayName="PopoverContent";var Wa=({icon:e,tooltip:t,label:r,isFocusable:o=true,...n})=>{let{tooltipProps:i}=Ot({label:r,tooltip:t,offset:9});return jsx(Be,{...i,children:({triggerProps:a,triggerRef:l})=>jsx(X,{display:"inline-flex",...a,ref:l,tabIndex:o?0:void 0,"data-testid":"icon-with-tooltip",children:jsx(e,{...n})})})};var Pk=Mo.forwardRef(({className:e,style:t,onChange:r,"data-block-id":o,icon:n,formatValue:i=p=>p,tooltip:a=true,iconTooltip:l=true,popoverContentProps:s,isDisabled:u,onTriggerPress:c,...d},m)=>{let p=ge(m),[y,b]=be(d.value,d.defaultValue||0,r),[f,h]=Mo.useState(false),{keyboardProps:v}=Ce({onKeyDown:P=>{(P.key==="Enter"||P.key==="Escape")&&h(false);}}),{tooltipProps:g}=Ot({label:d["aria-label"],tooltip:a}),x=i(y||0),T=g?.isDisabled||d["aria-label"]?`${d["aria-label"]}, ${x}`:x.toString();return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:"md",alignItems:"center",className:L("BaselineUI-IconSlider",e),"data-block-id":o,style:t,ref:p,children:[n?jsx(Wa,{icon:n,label:d["aria-label"],tooltip:l,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary"})}):null,jsxs(ko,{type:"dialog",isOpen:f,onOpenChange:h,children:[jsx(zo,{children:jsx(Be,{...g,children:jsx(Ie,{label:x,variant:"popover","aria-label":T,isDisabled:u,style:{fontVariantNumeric:"tabular-nums",minWidth:68,justifyContent:"space-between"},onPressStart:c})})}),jsx(dt,{placement:"bottom start",...s,children:jsx(nr,{size:"content","aria-label":T,children:jsx(zt,{autoFocus:true,children:jsx(X,{paddingY:"sm",paddingX:"lg",marginY:"md",style:{width:215},...v,children:jsx(ja,{...d,onChange:P=>{b(P),r?.(P);},value:y})})})})})]})]})});Pk.displayName="IconSlider";var Ck=V({defaultClassName:"bpklwa7 z9nup88",variantClassNames:{isReadOnly:{true:"bpklwa8"},isDisabled:{true:"bpklwa9"},isSelected:{true:"bpklwaa"},isFocused:{true:"bpklwab"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"bpklwac"]]}),Sk=V({defaultClassName:"bpklwae",variantClassNames:{isDisabled:{true:"bpklwaf"},isSelected:{true:"bpklwag"},isReadOnly:{true:"bpklwah"}},defaultVariants:{},compoundVariants:[]}),Dk="bpklwad",kk=V({defaultClassName:"bpklwa0",variantClassNames:{labelPosition:{top:"bpklwa1",left:"bpklwa2"}},defaultVariants:{},compoundVariants:[]}),zk="bpklwa6",Ek=V({defaultClassName:"bpklwa3",variantClassNames:{labelPosition:{top:"bpklwa4",left:"bpklwa5"}},defaultVariants:{},compoundVariants:[]});var Ik=Mo.forwardRef(({className:e,label:t,labelPosition:r="top",statusLabel:o,style:n,"data-block-id":i,"data-block-class":a,...l},s)=>{let u=Mo.useRef(null),c=Pr(l),{inputProps:d,isPressed:m}=fa({...l,children:t},c,u),{isFocusVisible:p,focusProps:y}=ee(),{hoverProps:b,isHovered:f}=re({isDisabled:l.isDisabled}),h=ce({"data-block-id":i,"data-block-class":a,"data-focused":p,"data-disabled":l.isDisabled,"data-focus-visible":p,"data-selected":c.isSelected,"data-readonly":l.isReadOnly,"data-hovered":f,"data-pressed":m}),v=jsx("div",{className:L(Ck({isSelected:c.isSelected,isDisabled:!!l.isDisabled,isFocused:p,isReadOnly:!!l.isReadOnly}),"BaselineUI-Switch-Track"),children:jsx("div",{className:L(Sk({isSelected:c.isSelected,isDisabled:l.isDisabled,isReadOnly:l.isReadOnly}),"BaselineUI-Switch-Knob"),"data-testid":"switch-knob"})});return jsxs("label",{...R(h,b),className:L(kk({labelPosition:r}),"BaselineUI-Switch",e),style:n,ref:s,children:[t?jsx("span",{className:L(Dk,"BaselineUI-Switch-Label"),children:t}):null,jsx(Le,{children:jsx("input",{...R(d,y),ref:u})}),o?jsxs("div",{className:Ek({labelPosition:r}),children:[jsx("span",{className:L("BaselineUI-Switch-Status-Label",zk),children:c.isSelected?o.on:o.off}),v]}):v]})});Ik.displayName="Switch";var Rk="_19n40yy9 _1yep5z6ly _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6eu",Lk=V({defaultClassName:"_19n40yy0 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6g1 _1yep5z6m1 _1yep5z6lz _1yep5z6hg _1yep5z6f5 _1yep5z6ln _1yep5z6e6",variantClassNames:{size:{lg:"_19n40yy1",md:"_19n40yy2",sm:"_19n40yy3 _1yep5z6106"},variant:{primary:"_1yep5z6137",ghost:"_19n40yy5"},isFocused:{true:"_19n40yy6"},hasText:{true:"_1yep5z6oc _1yep5z6od _1yep5z6oe"},isDisabled:{true:"_19n40yy8 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]});var w2={sm:SearchIcon$1,md:SearchIcon,lg:SearchIcon},xm=Mo.forwardRef(({className:e,size:t="md",variant:r="primary","data-block-id":o,"data-block-class":n,style:i,isClearFocusable:a=false,...l},s)=>{let u=Mo.useRef(null);[l,u]=er(l,u,Pn);let c=Jd(l),{inputProps:d,clearButtonProps:m}=jc({...Xo(l),"aria-haspopup":false,"aria-autocomplete":"none",type:"search"},c,u),{focusProps:p,isFocusVisible:y,isFocused:b}=ee({within:true,isTextInput:true}),f=w2[t],h=t==="sm"?XIcon$1:XIcon$2,v=ce({"data-block-id":o,"data-block-class":n,"data-focused":b,"data-disabled":l.isDisabled,"data-focus-visible":y}),g=le(l,{global:true});return delete g.id,jsxs("div",{...g,...v,className:L(Lk({size:t,isFocused:b,variant:r,hasText:!!c.value,isDisabled:l.isDisabled}),"BaselineUI-SearchInput",e),style:i,ref:s,children:[jsx(f,{size:t==="sm"?20:24}),jsx("input",{...R(d,p),className:Rk,ref:u}),c.value!==""&&jsx(me,{icon:h,...m,size:t==="sm"?"xs":"sm",variant:"secondary",isExcludedFromRovingFocus:!a,excludeFromTabOrder:!a,...a?{onPressStart:x=>{m.onPressStart?.(x),m.onPress?.(x);}}:{}})]})});xm.displayName="SearchInput";var Nk="xyd2ss1 _1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6pi _1yep5z6pj _1yep5z6pk _1yep5z6qo _1yep5z6qp _1yep5z6qq _1yep5z6oc _1yep5z6od _1yep5z6oe _1yep5z6ru _1yep5z6rv _1yep5z6rw _1yep5z6u6 _1yep5z6u7 _1yep5z6u8 _1yep5z6vc _1yep5z6vd _1yep5z6ve _1yep5z6t0 _1yep5z6t1 _1yep5z6t2 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq _1yep5z617v _1yep5z617u _1yep5z6143 _1yep5z617y _1yep5z6124",Ok="xyd2ss0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b";var nh=({section:e,showSelectedIcon:t,state:r})=>{let{itemProps:o,groupProps:n,headingProps:i}=$c({heading:e.value?.title,"aria-label":e["aria-label"]});return jsxs(Fragment,{children:[e.key!==r.collection.getFirstKey()&&jsx(De,{elementType:"li"}),jsxs("li",{...o,children:[e.value?.title?jsx(Le,{children:jsx("span",{...i,children:e.value.title})}):null,jsx("ul",{...n,className:Ok,children:[...e.childNodes].map(a=>(ie(a.type==="item"),jsx(Tm,{item:a,state:r,showSelectedIcon:t},a.key)))})]})]})};nh.displayName="MenuSection";var Tm=({item:e,state:t,className:r,showSelectedIcon:o})=>{let n=Mo.useRef(null),i=Bc({key:e.key},t,n),{isFocusVisible:a,focusProps:l}=ee();return jsx(Ma,{item:e,liProps:R(i.menuItemProps,l,{className:r}),...i,isFocusVisible:a,ref:n,description:e.value?.keyboardShortcut,descriptionProps:i.keyboardShortcutProps,_state:t,showSelectedIcon:o})};Tm.displayName="MenuItem";var ih="_1mdhlqvd _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6kd _1yep5z6ke _1yep5z6kf",Kk=V({defaultClassName:"_1mdhlqv9",variantClassNames:{isOpen:{true:"_1mdhlqva"}},defaultVariants:{},compoundVariants:[]}),Vk="_1mdhlqvi",Bk=V({defaultClassName:"_1mdhlqve _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",variantClassNames:{isVirtualized:{true:"_1mdhlqvf"}},defaultVariants:{},compoundVariants:[]}),dn="_1mdhlqvc cjv3et1 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6g1 _1yep5z6lz _1yep5z6m1 _1yep5z6137 cjv3et5",$k="_1mdhlqvg",Hk="_1mdhlqvh _1yep5z64x _1yep5z64y _1yep5z64z _1yep5z679 _1yep5z67a _1yep5z67b _1yep5z68f _1yep5z68g _1yep5z68h _1yep5z663 _1yep5z664 _1yep5z665",jk=V({defaultClassName:"_1mdhlqv0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy",variantClassNames:{isFocused:{false:"_1mdhlqv1"},isOpen:{true:"_1mdhlqv2"},isDisabled:{true:"z9nup82 _1yep5z6ey"},isHovered:{true:"_1mdhlqv4"},variant:{primary:"_1mdhlqv5",ghost:"_1mdhlqv6"},isReadOnly:{true:"_1mdhlqv7"},areTagsVisible:{true:"_1mdhlqv8 _1yep5z613 _1yep5z614 _1yep5z615 _1yep5z63f _1yep5z63g _1yep5z63h _1yep5z6k4 _1yep5z6k5 _1yep5z6k6"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isHovered:true,isReadOnly:false,isDisabled:false},"_1yep5z6h5"],[{isHovered:true,isReadOnly:false,isDisabled:false},"_1yep5z6la"]]}),Gk="_1yep5z66x _1yep5z66y _1yep5z66z",ah="_1mdhlqvb _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k";var sh=Mo.forwardRef(({className:e,itemClassName:t,onContentKeyDown:r,...o},n)=>{let i=Ea(o),a=Mo.useRef(null),{menuProps:l}=Vc(o,i,a),{keyboardProps:s}=Ce({onKeyDown:r});return jsx("ul",{...R(l,s),className:L(dn,Nk,e),ref:Z(a,n),children:[...i.collection].map(u=>u.type==="section"?jsx(nh,{section:u,state:i,showSelectedIcon:o.selectionMode==="multiple"||o.selectionMode==="single"},u.key):jsx(Tm,{item:u,state:i,className:t,showSelectedIcon:o.selectionMode==="multiple"||o.selectionMode==="single"},u.key))})});sh.displayName="MenuContent";var Pm=Mo.forwardRef(({defaultOpen:e,onOpenChange:t,isOpen:r,isDisabled:o,contentClassName:n,placement:i="bottom start",isNonModal:a,shouldFlip:l,shouldUpdatePosition:s,boundaryElement:u,crossOffset:c,offset:d,triggerLabel:m,renderTrigger:p=({buttonProps:h,ref:v})=>jsx(Ie,{...h,variant:"popover",ref:v}),portalContainer:y,...b},f)=>{let h=Mo.useRef(null),v=Ft(y),g=Yd({defaultOpen:e,isOpen:r,onOpenChange:t}),{menuTriggerProps:x,menuProps:T}=qo({isDisabled:o,type:"menu"},g,h),P=Dr(),S=useMemo(()=>R(x,{isDisabled:o,isSelected:g.isOpen,className:"BaselineUI-Menu-Trigger",label:typeof m=="function"?m(g.isOpen):m}),[x,o,g.isOpen,m]);return useEffect(()=>{!m&&!p&&console.warn("The `triggerLabel` prop is required when no `renderTrigger` or `children` is provided.");},[p,m]),jsxs(Fragment,{children:[p({buttonProps:S,ref:h}),g.isOpen?jsx(dt,{triggerRef:h,state:g,placement:i,isNonModal:a,shouldFlip:l,shouldUpdatePosition:s,boundaryElement:u,crossOffset:c,offset:d||2,className:"BaselineUI-Menu-Popover",portalContainer:v,children:jsx(sh,{className:n,...T,...b,ref:f,autoFocus:g.focusStrategy||"first",children:P})}):null]})});Pm.displayName="Menu";var Cm=V({defaultClassName:"_13f0naj0",variantClassNames:{variant:{default:"_13f0naj1",inline:"_13f0naj2"},isHovered:{true:"_13f0naj3"},isFocusVisible:{true:"_13f0naj4"},isDisabled:{true:"_13f0naj5"},size:{sm:"_13f0naj6",md:"_13f0naj7",lg:"_13f0naj8"},type:{body:"_13f0naj9",label:"_13f0naja"},isActive:{true:"_13f0najb"}},defaultVariants:{},compoundVariants:[[{isActive:true,isDisabled:false},"_13f0najc"],[{type:"body",size:"sm"},"_13f0najd"],[{type:"body",size:"md"},"_13f0naje"],[{type:"body",size:"lg"},"_13f0najf"],[{type:"label",size:"sm"},"_13f0najg"],[{type:"label",size:"md"},"_13f0najh"],[{type:"label",size:"lg"},"_13f0naji"]]});var Xk=Mo.forwardRef(({className:e,style:t,children:r,variant:o="default",size:n="md",elementType:i="a",type:a="body","data-block-id":l,"data-block-class":s,title:u,role:c,...d},m)=>{let p=Mo.useRef(null),{linkProps:y,isPressed:b}=Wc({...d,elementType:d.onPress?"span":i},p),{isFocusVisible:f,isFocused:h,focusProps:v}=ee(),{hoverProps:g,isHovered:x}=re({isDisabled:d.isDisabled}),T=i,P=ce({"data-block-id":l,"data-block-class":s,"data-disabled":d.isDisabled,"data-focused":h,"data-pressed":b,"data-focus-visible":f,"data-hovered":x,role:c,title:u});return jsx(T,{...R(y,v,g,P),className:L(Cm({variant:o,isFocusVisible:f,isHovered:x,isDisabled:d.isDisabled,size:n,isActive:b,type:a}),"BaselineUI-Link",e),ref:Z(p,m),style:t,children:r})});Xk.displayName="Link";function Yk({isDisabled:e,onValueChange:t,onChange:r,name:o,"aria-describedby":n,"aria-label":i,accept:a,multiple:l}){let s=Y(),u=Y(),c=Y();return {inputProps:{type:"file",id:u,disabled:!!e,"aria-labelledby":i?void 0:s,"aria-describedby":n||c,"aria-label":i,onChange:m=>{let p=[...m.target.files||[]];t?.(p),r?.(m);},name:o,accept:a,multiple:l},labelProps:{htmlFor:u,id:s},descriptionProps:{id:c}}}async function ch({items:e}){let t=e.filter(r=>r.kind==="file").map(async r=>(ie(r.kind==="file"),r.getFile()));return await Promise.all(t)}var Zk=V({defaultClassName:"_180w5ed0",variantClassNames:{variant:{default:"_180w5ed1",inline:"_180w5ed2"},hoveredOrFocusedOrActive:{true:"_180w5ed3"},disabled:{true:"_180w5ed4"}},defaultVariants:{},compoundVariants:[[{variant:"inline",hoveredOrFocusedOrActive:true},"_180w5ed5"],[{variant:"default",hoveredOrFocusedOrActive:true},"_180w5ed6"],[{variant:"default",disabled:true},"_180w5ed7"],[{variant:"inline",disabled:true},"_180w5ed8"]]}),Jk=V({defaultClassName:"_180w5ede",variantClassNames:{disabled:{true:"_180w5edf"}},defaultVariants:{},compoundVariants:[]}),Qk=V({defaultClassName:"_180w5ed9",variantClassNames:{disabled:{true:"_180w5eda"}},defaultVariants:{},compoundVariants:[]}),ez=V({defaultClassName:"_180w5edb",variantClassNames:{disabled:{true:"_180w5edc"},hovered:{true:"_180w5edd"}},defaultVariants:{},compoundVariants:[]});var oz=Mo.forwardRef(({className:e,label:t,description:r,icon:o,variant:n="default",...i},a)=>{let l=Mo.useRef(null),{inputProps:s,descriptionProps:u,labelProps:c}=Yk(i),{dropProps:d}=Jo({ref:l,onDrop:async({items:f})=>{let h=f.filter(g=>g.kind==="file").map(async g=>(ie(g.kind==="file"),g.getFile())),v=await Promise.all(h);i.onValueChange?.(v);}}),{focusProps:m,isFocusVisible:p}=ee(),{hoverProps:y,isHovered:b}=re({isDisabled:i.isDisabled});return jsxs("label",{...R(d,y,c),className:L(Zk({variant:n,disabled:i.isDisabled,hoveredOrFocusedOrActive:b||p}),e),ref:Z(a,l),children:[jsx(Le,{children:jsx("input",{...R(m,s)})}),o?jsx(o,{size:20,className:Qk({disabled:i.isDisabled})}):null,jsxs("div",{children:[jsx("div",{className:ez({disabled:i.isDisabled,hovered:b}),children:t}),r?jsx("div",{...u,className:Jk({disabled:i.isDisabled}),children:r}):null]})]})});oz.displayName="FileUpload";var nz="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6ln",iz="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl",az=V({defaultClassName:"_12vfhl44",variantClassNames:{variant:{success:"_1yep5z611s",error:"_1yep5z611o",active:"_1yep5z6120"}},defaultVariants:{},compoundVariants:[]}),lz="_1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6ev _1yep5z6dy",sz="_12vfhl43 _1yep5z6g5 _1yep5z6ln",uz="_12vfhl42 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",cz="_1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k",dz=V({defaultClassName:"_12vfhl40 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dy _1yep5z6eu",variantClassNames:{hasLabel:{false:"_1yep5z6pi _1yep5z6pj _1yep5z6pk"}},defaultVariants:{},compoundVariants:[]});var pz=Mo.forwardRef(({className:e,style:t,variant:r="active",showValue:o,description:n,errorMessage:i,"data-block-id":a,"data-block-class":l,...s},u)=>{let c=Y(),{labelProps:d,progressBarProps:m}=pa({...s,"aria-describedby":n?c:s["aria-describedby"]}),{minValue:p=0,maxValue:y=100,value:b=0,label:f}=s,h=(b-p)/(y-p),v=`${Math.round(h*100)}%`,g=jsx("output",{className:dz({hasLabel:!!f}),children:m["aria-valuetext"]}),x=r==="error"?i:n;return jsxs("div",{...m,style:t,className:L(nz,"BaselineUI-ProgressBar",e),"data-block-id":a,"data-block-class":l,ref:u,children:[f?jsxs("div",{className:iz,children:[jsx("label",{...d,className:lz,children:f}),o?g:null]}):null,jsxs("div",{className:cz,children:[jsxs("div",{className:uz,children:[jsx("div",{className:sz,children:jsx("div",{style:{width:v},className:az({variant:r})})}),!f&&o?g:null]}),x?jsx("div",{className:Oa({hasError:r==="error"}),id:c,children:x}):null]})]})});pz.displayName="ProgressBar";function Ya({isReadOnly:e,validationState:t}){return e?ReadOnlyIcon:t==="error"?ErrorCircleFilledIcon:t==="warning"?WarningFilledIcon$1:null}var ai=Mo.forwardRef(({labelPosition:e="top",className:t,style:r,labelProps:o,isDisabled:n=false,isReadOnly:i=false,label:a,message:l,"data-block-id":s,validationState:u="valid",isFocused:c=false,variant:d="primary",children:m,fieldProps:p,wrapperRef:y,wrapperClassName:b,isInvalid:f},h)=>{let{hoverProps:v,isHovered:g}=re({isDisabled:n}),x=Ya({isReadOnly:i,validationState:u});return jsxs("div",{className:L(sn({labelPosition:e}),t),"data-block-id":s,style:r,ref:h,children:[a||e==="start"&&l?jsxs("div",{className:ln({labelPosition:e,hasMessage:!!l}),children:[jsx(X,{...o,elementType:"label",color:"text.secondary",typography:"label.md.medium",children:a}),e==="start"&&l]}):null,jsxs("div",{className:L({[Ba]:n}),children:[jsxs("div",{...R(p,v),className:L(Va({validationState:f?"error":u,isHovered:g,isFocused:c,variant:d,isReadOnly:i,isDisabled:n}),b),ref:y,children:[m,x?jsx(x,{className:Fa({validationState:u,isReadOnly:i}),size:16}):null]}),e==="top"&&l]})]})});ai.displayName="SharedInput";var pn=Mo.forwardRef(({className:e,validationState:t,variant:r="primary",labelPosition:o="top",inputStyle:n,inputClassName:i,"data-block-id":a,"data-block-class":l,...s},u)=>{let c=Mo.useRef(null),{inputProps:d,labelProps:m,descriptionProps:p,errorMessageProps:y,validationErrors:b}=Qt({...s,validationState:t?t==="error"?"invalid":"valid":void 0},c),f=s.errorMessage||b.join(" "),h=or({...s,errorMessage:f,descriptionProps:p,errorMessageProps:y,labelPosition:o});f&&(t="error");let{isFocused:v,focusProps:g,isFocusVisible:x}=ee(),T=ce({"data-readonly":s.isReadOnly,"data-disabled":s.isDisabled,"data-validation-state":t,"data-focused":v,"data-focus-visible":x});return jsx(ai,{variant:r,labelProps:m,isFocused:v,message:h,ref:u,labelPosition:o,className:L("BaselineUI-TextInput",e),validationState:t,"data-block-id":a,"data-block-class":l,...s,children:jsx("input",{...R(d,g,T),className:L(Yp({isDisabled:s.isDisabled,labelPosition:o}),"BaselineUI-TextInput-Input",i),style:n,ref:c})})});pn.displayName="TextInput";var Za=({value:e,...t})=>{let r=gr(t);return jsx(Fragment,{children:r.format(e)})};Za.displayName="NumberFormat";var bz="_1yep5z6iv _1yep5z6iw _1yep5z6ix",gz=V({defaultClassName:"_9b1tml0",variantClassNames:{isSelected:{true:"_9b1tml1",false:"_9b1tml2"},isDisabled:{true:"z9nup82"},isHovered:{true:"_9b1tml4"},isFocusVisible:{true:"_9b1tml5"},isReadOnly:{true:"_9b1tml6"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true,isReadOnly:false},"_9b1tml7"],[{isSelected:true,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml8"],[{isSelected:false,isHovered:true,isDisabled:false,isReadOnly:false},"_9b1tml9"],[{isSelected:true,isDisabled:true},"_9b1tmla"],[{isSelected:true,isReadOnly:true},"_9b1tmlb"]]}),hz=V({defaultClassName:"_9b1tmlf _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6eu _1yep5z6la _1yep5z6e9",variantClassNames:{isSelected:{true:"_9b1tmlg"},size:{sm:"_9b1tmlh",md:"_9b1tmli"},isDisabled:{true:"_9b1tmlj"},isReadOnly:{true:"_1yep5z610x"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"_1yep5z61n6"],[{isSelected:true,isDisabled:true},"_1yep5z61n6"],[{isSelected:false,isDisabled:true},"_1yep5z61n4"]]}),vz=V({defaultClassName:"_9b1tmlc",variantClassNames:{isDisabled:{true:"_9b1tmld"},isReadOnly:{true:"_9b1tmle"}},defaultVariants:{},compoundVariants:[]});var Pz=Mo.forwardRef(({className:e,count:t,style:r,size:o="md",icon:n,"data-block-id":i,"data-block-class":a,...l},s)=>{let u={isRequired:false},c=n||(o==="md"?CheckmarkIcon$1:CheckmarkIcon$2);!l["aria-label"]&&!l["aria-labelledby"]&&console.warn("You must provide either an `aria-label` or `aria-labelledby` prop to the `Reaction` component.");let d=Mo.useRef(null),m=Pr({...l,...u}),{inputProps:p,isPressed:y,isDisabled:b,isReadOnly:f,isSelected:h}=fa({...l,...u},m,d),{focusProps:v,isFocused:g,isFocusVisible:x}=ee(),{hoverProps:T,isHovered:P}=re({}),S=ce({"data-block-id":i,"data-block-class":a,"data-focused":g,"data-focus-visible":x,"data-disabled":b,"data-hovered":P,"data-pressed":y,"data-selected":h});return jsxs("label",{ref:s,style:r,className:L(bz,"BaselineUI-Reaction",e),...S,children:[jsx(Le,{children:jsx("input",{...p,...v,ref:d})}),jsxs("div",{...T,className:gz({isSelected:h,isFocusVisible:x,isHovered:P,isReadOnly:f,isDisabled:b}),children:[jsx("div",{className:vz({isDisabled:b,isReadOnly:f}),children:jsx(c,{size:o==="md"?20:16})}),jsx("div",{className:hz({isSelected:m.isSelected,isDisabled:b,isReadOnly:f,size:o}),children:jsx(Za,{value:t})})]})]})});Pz.displayName="Reaction";var Cz="_1azy5686",Sz="_1azy5685",Dz="var(--_1azy5680)",kz="_1azy5688",zz="_1azy5689",Ez="_1azy5681 z9nup81",wz="_1azy5682";var _z="_1azy5687";var Q2={sm:16,md:20},eG={sm:[CheckmarkCircleFilledIcon,ErrorAltCircleFilledIcon$1],md:[CheckCircleFilledIcon,ErrorAltCircleFilledIcon]},Qa=Mo.forwardRef(({className:e,style:t,size:r="md",variant:o="active","data-block-id":n,"data-block-class":i,...a},l)=>{let{labelProps:s,progressBarProps:u}=pa({...a,isIndeterminate:true}),c=Q2[r],d=c/2-2,m=2*d*Math.PI,p=eG[r][o==="success"?0:1];return jsxs("div",{className:L(Ez,"BaselineUI-ProgressSpinner",e),ref:l,style:{...assignInlineVars({[Dz]:`${m}px`}),...t},"data-block-id":n,"data-block-class":i,children:[jsxs("div",{...u,className:wz,children:[(o==="active"||o==="inactive")&&jsxs("svg",{height:c,width:c,viewBox:`0 0 ${c} ${c}`,children:[jsx("circle",{role:"presentation",className:Cz,cx:c/2,cy:c/2,r:d}),o==="active"&&jsx("circle",{role:"presentation",className:Sz,cx:c/2,cy:c/2,r:d})]}),o==="success"&&jsx(p,{className:_z,size:c}),o==="error"&&jsx(p,{className:kz,size:c})]}),a.label?jsx("span",{...s,className:zz,children:a.label}):null]})});Qa.displayName="ProgressSpinner";var km=V({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),Iz=V({defaultClassName:"_5uw3kpd _1yep5z6f5",variantClassNames:{isDisabled:{true:"_1yep5z611a"},isSelected:{true:"_1yep5z611c"}},defaultVariants:{},compoundVariants:[]});var rG={sm:16,md:20,lg:24},zm=Mo.forwardRef(({className:e,style:t,iconStart:r,size:o="md",elementType:n="button",variant:i="toolbar",...a},l)=>{let s=Pr(a),{buttonProps:u,isPressed:c,ref:d,isFocusVisible:m,isFocused:p,isHovered:y,uiStateOptions:b}=qp(a,s),f=ce({"data-block-id":a["data-block-id"],"data-block-class":a["data-block-class"],"data-focused":p,"data-focus-visible":m,"data-disabled":a.isDisabled,"data-hovered":y,"data-pressed":c,"data-selected":s.isSelected});return jsxs(n,{...R(u,f),className:L(km({isHovered:y,isFocusVisible:m,isSelected:s.isSelected,size:o,isDisabled:a.isDisabled,variant:i}),"BaselineUI-ToggleButton",typeof e=="function"?e(b):e),style:typeof t=="function"?t(b):t,ref:Z(d,l),children:[r?jsx(r,{size:rG[o],className:Iz({isDisabled:a.isDisabled,isSelected:s.isSelected})}):null,a.label]})});zm.displayName="ToggleButton";var Em=V({defaultClassName:"_16vugd0b _1yep5z6ev _1yep5z6dy",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),wm=V({defaultClassName:"_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl z9nup88",variantClassNames:{labelPosition:{end:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z6vl _1yep5z6vm _1yep5z6vn",start:"_1yep5z615a _1yep5z615b _1yep5z615c _1yep5z616m _1yep5z616n _1yep5z616o"}},defaultVariants:{},compoundVariants:[]}),el=V({defaultClassName:"_16vugd03 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6m1 _1yep5z6lz _1yep5z6h6 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6f8 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6lp _1yep5z6la _1yep5z6lk",variantClassNames:{isIndeterminate:{true:"_1yep5z6181 _1yep5z612c"},isSelected:{true:"_16vugd05"},isFocusVisible:{true:"_16vugd06"},isHovered:{true:"_1yep5z613a"},isDisabled:{true:"_16vugd08 _1yep5z613e"},isReadOnly:{true:"_16vugd09 _1yep5z6118 _1yep5z6184 _1yep5z6182 _1yep5z613e"},hasError:{true:"_1yep5z612q _1yep5z6184 _1yep5z6182"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false,isReadOnly:false},"_1yep5z61of"],[{isSelected:true,isDisabled:false,isReadOnly:false,hasError:false},"_1yep5z61u4"],[{isSelected:true,isDisabled:true},"_1yep5z61op _1yep5z61nf"],[{isSelected:true,isDisabled:true,hasError:false},"_1yep5z61u4"],[{isHovered:true,isSelected:true,isReadOnly:false},"_1yep5z61ol _1yep5z61nf"],[{isHovered:true,isSelected:true,isReadOnly:false,hasError:false},"_1yep5z61u4"],[{isHovered:true,isSelected:false,isIndeterminate:true,isReadOnly:false},"_1yep5z61ol _1yep5z61nf"],[{isHovered:true,isSelected:false,isIndeterminate:true,isReadOnly:false,hasError:false},"_1yep5z61u4"]]});var Mz=Mo.forwardRef(({className:e,style:t,label:r,labelPosition:o="end","data-block-id":n,"data-block-class":i,...a},l)=>{let s=ge(l),u=Mo.useRef(null),c=Pr(a),{isFocusVisible:d,isFocused:m,focusProps:p}=ee(),{inputProps:y,isPressed:b,isDisabled:f,isSelected:h,isReadOnly:v}=Xc({...a,children:r},c,u),{hoverProps:g,isHovered:x}=re({isDisabled:f},s),T=ce({"data-disabled":f,"data-readonly":v,"data-hovered":x,"data-selected":h,"data-pressed":b,"data-indeterminate":a.isIndeterminate,"data-invalid":a.isInvalid,"data-focus-visible":d,"data-focused":m,"data-block-id":n,"data-block-class":i});return jsxs("label",{...T,className:L(wm({labelPosition:o}),"BaselineUI-Checkbox",e),style:t,ref:s,children:[jsx(Le,{children:jsx("input",{...R(y,p),ref:u})}),jsxs("div",{...g,className:el({isSelected:h&&!a.isIndeterminate,isIndeterminate:a.isIndeterminate,isFocusVisible:d,isDisabled:f,isReadOnly:v,hasError:a.isInvalid,isHovered:x}),children:[h&&!a.isIndeterminate?jsx(CheckmarkIcon$3,{size:12}):null,a.isIndeterminate?jsx(MinusIcon$1,{size:12}):null]}),r?jsx("span",{className:Em({isDisabled:f}),children:r}):null]})});Mz.displayName="Checkbox";var Az={goToPage:"\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0635\u0641\u062D\u0629",nextPage:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",pageXofY:"\u0635\u0641\u062D\u0629 {arg0} \u0645\u0646 {arg1}",prevPage:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"};var Nz={goToPage:"P\u0159ej\xEDt na stranu",nextPage:"Dal\u0161\xED str\xE1nka",pageXofY:"Strana {arg0} z {arg1}",prevPage:"P\u0159edchoz\xED strana"};var Oz={goToPage:"Mynd i Dudalen",nextPage:"Tudalen Nesaf",pageXofY:"Tudalen {arg0} o {arg1}",prevPage:"Tudalen Blaenorol"};var Fz={goToPage:"G\xE5 til side",nextPage:"N\xE6ste side",pageXofY:"Side {arg0} af {arg1}",prevPage:"Forrige side"};var Kz={goToPage:"Zu Seite wechseln",nextPage:"N\xE4chste Seite",pageXofY:"Seite {arg0} von {arg1}",prevPage:"Vorherige Seite"};var Vz={goToPage:"\u039C\u03B5\u03C4\u03AC\u03B2\u03B1\u03C3\u03B7 \u03C3\u03C4\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1",nextPage:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1",pageXofY:"\u03A3\u03B5\u03BB\u03AF\u03B4\u03B1 {arg0} \u03B1\u03C0\u03CC {arg1}",prevPage:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1"};var Bz={goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"};var $z={goToPage:"Go to Page",nextPage:"Next Page",pageXofY:"Page {arg0} of {arg1}",prevPage:"Previous Page"};var Hz={goToPage:"Ir a la p\xE1gina",nextPage:"P\xE1gina siguiente",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina anterior"};var jz={goToPage:"Mene sivulle",nextPage:"Seuraava sivu",pageXofY:"Sivu {arg0} / {arg1}",prevPage:"Edellinen sivu"};var Gz={goToPage:"Aller \xE0 la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page pr\xE9c\xE9dente"};var Uz={goToPage:"Aller \xE0 la page",nextPage:"Page suivante",pageXofY:"Page {arg0} sur {arg1}",prevPage:"Page pr\xE9c\xE9dente"};var Wz={goToPage:"\u05DE\u05E2\u05D1\u05E8 \u05DC\u05E2\u05DE\u05D5\u05D3",nextPage:"\u05D4\u05E2\u05DE\u05D5\u05D3 \u05D4\u05D1\u05D0",pageXofY:"\u05E2\u05DE\u05D5\u05D3 {arg0} \u05DE\u05EA\u05D5\u05DA {arg1}",prevPage:"\u05D4\u05E2\u05DE\u05D5\u05D3 \u05D4\u05E7\u05D5\u05D3\u05DD"};var qz={goToPage:"Idi na stranicu",nextPage:"Slijede\u0107a stranica",pageXofY:"Stranica {arg0} od {arg1}",prevPage:"Prethodna stranica"};var Xz={goToPage:"Buka halaman",nextPage:"Halaman Berikutnya",pageXofY:"Halaman {arg0} dari {arg1}",prevPage:"Halaman Sebelumnya"};var Yz={goToPage:"Vai a pagina",nextPage:"Pagina successiva",pageXofY:"Pagina {arg0} di {arg1}",prevPage:"Pagina precedente"};var Zz={goToPage:"\u30DA\u30FC\u30B8\u306B\u79FB\u52D5",nextPage:"\u6B21\u306E\u30DA\u30FC\u30B8",pageXofY:"\u30DA\u30FC\u30B8 {arg0}/{arg1}",prevPage:"\u524D\u306E\u30DA\u30FC\u30B8"};var Jz={goToPage:"\uD398\uC774\uC9C0\uB85C \uC774\uB3D9",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",pageXofY:"{arg0}/{arg1} \uD398\uC774\uC9C0",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0"};var Qz={goToPage:"Pergi ke Halaman",nextPage:"Halaman Seterusnya",pageXofY:"Halaman {arg0} daripada {arg1}",prevPage:"Halaman Sebelumnya"};var eE={goToPage:"G\xE5 til side",nextPage:"Neste side",pageXofY:"Side {arg0} av {arg1}",prevPage:"Forrige side"};var tE={goToPage:"Ga naar pagina",nextPage:"Volgende pagina",pageXofY:"Pagina {arg0} van {arg1}",prevPage:"Vorige pagina"};var rE={goToPage:"Przejd\u017A do strony",nextPage:"Nast\u0119pna strona",pageXofY:"Strona {arg0} z {arg1}",prevPage:"Poprzednia strona"};var oE={goToPage:"Ir para p\xE1gina",nextPage:"P\xE1gina seguinte",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina anterior"};var nE={goToPage:"Ir \xE0 P\xE1gina",nextPage:"P\xE1gina Seguinte",pageXofY:"P\xE1gina {arg0} de {arg1}",prevPage:"P\xE1gina Anterior"};var iE={goToPage:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",nextPage:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",pageXofY:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {arg0} \u0438\u0437 {arg1}",prevPage:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430"};var aE={goToPage:"\xCDs\u0165 na stranu",nextPage:"Dal\u0161ia strana",pageXofY:"Strana {arg0} z {arg1}",prevPage:"Predch\xE1dzaj\xFAca strana"};var lE={goToPage:"Pojdi na stran",nextPage:"Naslednja stran",pageXofY:"Stran {arg0} od {arg1}",prevPage:"Prej\u0161nja stran"};var sE={goToPage:"G\xE5 till sida",nextPage:"N\xE4sta sida",pageXofY:"Sida {arg0} av {arg1}",prevPage:"F\xF6reg\xE5ende sida"};var uE={goToPage:"\u0E44\u0E1B\u0E17\u0E35\u0E48\u0E2B\u0E19\u0E49\u0E32",nextPage:"\u0E2B\u0E19\u0E49\u0E32\u0E16\u0E31\u0E14\u0E44\u0E1B",pageXofY:"\u0E2B\u0E19\u0E49\u0E32 {arg0} \u0E08\u0E32\u0E01 {arg1}",prevPage:"\u0E2B\u0E19\u0E49\u0E32\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32"};var cE={goToPage:"Sayfaya Git",nextPage:"Sonraki Sayfa",pageXofY:"Sayfa {arg0}/{arg1}",prevPage:"\xD6nceki Sayfa"};var dE={goToPage:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443",nextPage:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",pageXofY:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {arg0} \u0437 {arg1}",prevPage:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430"};var pE={goToPage:"\u524D\u5F80\u9875\u9762",nextPage:"\u4E0B\u4E00\u9875",pageXofY:"\u7B2C {arg0}/{arg1} \u9875",prevPage:"\u4E0A\u4E00\u9875"};var mE={goToPage:"\u5230\u6B64\u9801",nextPage:"\u4E0B\u4E00\u9801",pageXofY:"\u7B2C{arg0}\u9801\uFF0C\u5171{arg1}\u9801",prevPage:"\u4E0A\u4E00\u9801"};var fE={ar:Az,cs:Nz,cy:Oz,da:Fz,de:Kz,el:Vz,en_GB:Bz,en:$z,es:Hz,fi:jz,fr_CA:Gz,fr:Uz,he:Wz,hr:qz,id:Xz,it:Yz,ja:Zz,ko:Jz,ms:Qz,nb_NO:eE,nl:tE,pl:rE,pt_PT:oE,pt:nE,ru:iE,sk:aE,sl:lE,sv:sE,th:uE,tr:cE,uk:dE,zh_Hans:pE,zh_Hant:mE};var yE=V({defaultClassName:"_1nsi9h17",variantClassNames:{isFocused:{true:"_1nsi9h18"},variant:{pinned:"_1nsi9h19",floating:"_1nsi9h1a"},size:{xs:"_1nsi9h1b",sm:"_1nsi9h1c",md:"_1nsi9h1d",lg:"_1nsi9h1e"}},defaultVariants:{},compoundVariants:[]}),bE="_1nsi9h1f _1yep5z6ly _1yep5z6lq _1yep5z6eu",gE=V({defaultClassName:"_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6g1 _1yep5z6e1",variantClassNames:{size:{xs:"_1nsi9h11 _1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6zy",sm:"_1nsi9h12 _1yep5z6101",md:"_1nsi9h13",lg:"_1nsi9h14"},variant:{floating:"_1yep5z6za _1yep5z6184 _1yep5z6182 _1yep5z6136",pinned:"_1yep5z617q"}},defaultVariants:{},compoundVariants:[]}),hE=V({defaultClassName:"_1nsi9h1g _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]});var qG={style:"decimal"},XG={xs:[CaretLeftIcon$3,CaretRightIcon$3],sm:[CaretLeftIcon$2,CaretRightIcon$2],md:[CaretLeftIcon$1,CaretRightIcon$1],lg:[CaretLeftIcon,CaretRightIcon]},TE=Mo.forwardRef(({className:e,style:t,minValue:r=1,defaultValue:o=1,incrementAriaLabel:n,decrementAriaLabel:i,"aria-label":a,size:l="md",variant:s="floating",hideActions:u,isDisabled:c,...d},m)=>{let{locale:p}=J(),y=ye(fE),b={...d,formatOptions:qG,minValue:r,incrementAriaLabel:n||y.formatMessage("nextPage"),decrementAriaLabel:i||y.formatMessage("prevPage"),defaultValue:o,"aria-label":a||y.formatMessage("goToPage")},f=Mo.useRef(null),h=qi({...b,locale:p}),{inputProps:v,decrementButtonProps:g,incrementButtonProps:x,groupProps:T}=Zi({...b,onKeyDown:O=>{O.key==="Enter"&&f.current?.blur(),d.onKeyDown?.(O);},isDisabled:c},h,f),{hoverProps:P,isHovered:S}=re({}),{focusProps:E,isFocused:D,isFocusVisible:I}=ee(),C=s==="floating",[_,z]=XG[l],w=ce({"data-focus-visible":I,"data-focused":D,"data-hovered":S,"data-block-id":d["data-block-id"],"data-block-class":d["data-block-class"]});return jsxs("div",{...R(T,P,w),className:L(gE({size:l,variant:s}),"BaselineUI-Pagination",e),style:t,ref:m,children:[u?null:jsxs(Fragment,{children:[jsx(me,{icon:_,...g,elementType:"div",size:l,style:{height:"100%",...C&&{borderRadius:0}},className:"BaselineUI-Pagination-DecrementButton",isExcludedFromRovingFocus:true,isDisabled:c||g.isDisabled}),s==="floating"&&jsx(De,{orientation:"vertical"})]}),jsxs("div",{className:yE({isFocused:D,variant:s,size:l}),"aria-label":y.formatMessage("pageXofY",{arg0:v.value,arg1:h.maxValue}),children:[jsx("input",{...R(v,E),ref:f,className:L("BaselineUI-Pagination-Input",bE),style:{width:`${v.value?.toString().length||1}ch`}}),jsxs("span",{className:hE({isDisabled:c}),children:["/ ",jsx(Za,{value:h.maxValue})]})]}),u?null:jsxs(Fragment,{children:[s==="floating"&&jsx(De,{orientation:"vertical"}),jsx(me,{icon:z,...x,elementType:"div",size:l,style:{height:"100%",...C&&{borderRadius:0}},className:"BaselineUI-Pagination-IncrementButton",isExcludedFromRovingFocus:true,isDisabled:c||x.isDisabled})]})]})});TE.displayName="Pagination";var PE=({date:e,...t})=>{let r=jr(t);return jsx(Fragment,{children:r.format(e)})};PE.displayName="DateFormat";var yu=V({defaultClassName:"_1f789qjm",variantClassNames:{variant:{neutral:"_1yep5z6118",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z611b"},isDisabled:{true:"_1yep5z61nd"},isSelected:{true:"_1yep5z611c"}},defaultVariants:{},compoundVariants:[]}),_m=V({defaultClassName:"_1f789qj0 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ax _1yep5z6ay _1yep5z6az _1yep5z6bl _1yep5z6bm _1yep5z6bn _1yep5z6c9 _1yep5z6ca _1yep5z6cb _1yep5z6cx _1yep5z6cy _1yep5z6cz _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6la _1yep5z6lq _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"_1f789qj1"},variant:{neutral:"_1yep5z6128",red:"_1yep5z611n",green:"_1yep5z611r",blue:"_1yep5z611z","high-contrast":"_1yep5z612c"},isDisabled:{true:"_1f789qj7 _1yep5z6127"},allowsRemoving:{true:"_1f789qj8"},isSelected:{true:"_1yep5z612i"},allowsSelection:{true:"_1f789qja"},isHovered:{true:"_1f789qjb"},size:{md:"_1f789qjc",sm:"_1f789qjd"}},defaultVariants:{},compoundVariants:[[{allowsSelection:true,isHovered:true,variant:"neutral"},"_1yep5z61oa"],[{allowsSelection:true,isHovered:true,variant:"red"},"_1yep5z61np"],[{allowsSelection:true,isHovered:true,variant:"blue"},"_1yep5z61o1"],[{allowsSelection:true,isHovered:true,variant:"green"},"_1yep5z61nt"],[{allowsSelection:true,isHovered:true,variant:"high-contrast"},"_1yep5z61oe"],[{allowsSelection:true,isSelected:true,isHovered:true},"_1yep5z61om"],[{variant:"high-contrast",isDisabled:true},"_1yep5z61oa"],[{allowsRemoving:true,size:"md"},"_1yep5z619c _1yep5z619d _1yep5z619e"],[{allowsRemoving:true,size:"sm"},"_1yep5z61af _1yep5z61ag _1yep5z61ah"]]}),CE="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69f _1yep5z69g _1yep5z69h",SE="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z69i _1yep5z69j _1yep5z69k",DE=V({defaultClassName:"_1f789qju _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lp _1yep5z6ly _1yep5z6f5 z9nup8a",variantClassNames:{variant:{neutral:"_1f789qjv",red:"_1f789qjw",green:"_1f789qjx",blue:"_1f789qjy","high-contrast":"_1f789qjz"},isHovered:{true:"_1f789qj10"}},defaultVariants:{},compoundVariants:[[{isHovered:true,variant:"neutral"},"_1f789qj11"],[{isHovered:true,variant:"red"},"_1f789qj12"],[{isHovered:true,variant:"blue"},"_1f789qj13"],[{isHovered:true,variant:"green"},"_1f789qj14"],[{isHovered:true,variant:"high-contrast"},"_1f789qj15"]]}),Im=V({defaultClassName:"_1f789qje",variantClassNames:{variant:{neutral:"_1yep5z610x",red:"_1yep5z610i",green:"_1yep5z610m",blue:"_1yep5z610u","high-contrast":"_1yep5z6112"},isDisabled:{true:"_1yep5z61n4"},isSelected:{true:"_1yep5z6113"}},defaultVariants:{},compoundVariants:[]});var zE=({item:e,state:t,variant:r="neutral",size:o="md"})=>{let n=Mo.useRef(null),{focusProps:i,isFocusVisible:a}=ee({within:true}),{rowProps:l,gridCellProps:s,removeButtonProps:u,allowsRemoving:c,isDisabled:d,isSelected:m,allowsSelection:p}=Rd({item:e},t,n),y=Mo.useRef(null),{buttonProps:b}=rt({...u,excludeFromTabOrder:true},y),{hoverProps:f,isHovered:h}=re({isDisabled:d}),{hoverProps:v,isHovered:g}=re({isDisabled:d}),x=e.value?.icon,T=e.value?.data?.variant??r,P=o==="md"?XIcon$1:XIcon$3,S=o==="md"?CheckmarkIcon$2:CheckmarkIcon$3;return jsx("div",{...R(l,i,v),ref:n,className:L(_m({isFocusVisible:a,variant:T,isDisabled:d,allowsRemoving:c,isSelected:m,allowsSelection:p,isHovered:g,size:o}),Im({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag"),children:jsxs("div",{...s,className:CE,children:[m?jsx(S,{size:o==="md"?16:12,className:L(yu({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag-Icon")}):null,!m&&x?jsx(x,{size:o==="md"?16:12,className:L(yu({variant:T,isDisabled:d,isSelected:m}),"BaselineUI-Tag-Icon")}):null,jsx(X,{paddingY:o==="md"?"sm":"none",typography:o==="sm"?"label.sm.medium":"label.md.medium",children:e.rendered}),c?jsx("button",{...R(b,f),className:DE({variant:T,isHovered:h}),children:jsx(P,{size:o==="md"?12:8})}):null]})})};var Rm=Mo.forwardRef(({className:e,style:t,"data-block-id":r,"data-block-class":o,items:n,size:i="md",isDisabled:a=false,...l},s)=>{let u=useMemo(()=>n.map(y=>({...y,data:{variant:y.variant}})),[n]),c=Dr(),d=Mo.useRef(null),m=xt({...l,items:u,children:c,disabledKeys:a?n.map(y=>y.id):l.disabledKeys}),{gridProps:p}=Id(l,m,d);return jsx("div",{...p,className:L(SE,"BaselineUI-TagGroup",e),style:t,"data-block-id":r,"data-block-class":o,ref:Z(s,d),children:[...m.collection].map(y=>jsx(zE,{state:m,item:y,variant:l.variant,size:i},y.key))})});Rm.displayName="TagGroup";var _E="_1yep5z6ln",IE=V({defaultClassName:"_1kvz17db _1yep5z6la _1yep5z6lc",variantClassNames:{showActionsOnTriggerOnly:{true:"_1kvz17dc"},isTriggered:{true:"_1kvz17dd"}},defaultVariants:{},compoundVariants:[]}),RE=V({defaultClassName:"_1kvz17d0 _1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z68c _1yep5z68d _1yep5z68e _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6la _1yep5z6lb",variantClassNames:{isExpanded:{true:"_1kvz17d1"}},defaultVariants:{},compoundVariants:[]}),LE="_1kvz17de",ME="_1yep5z6ev _1yep5z6dy",AE=V({defaultClassName:"_1kvz17d2 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6la _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"_1kvz17d3"},isHovered:{true:"_1yep5z6g2",false:"_1yep5z6g3"},isDisabled:{true:"z9nup82"}},defaultVariants:{},compoundVariants:[]}),NE="_1kvz17da _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6dz",OE=V({defaultClassName:"_1kvz17d7 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{isDisabled:{true:"_1yep5z6ey",false:"_1yep5z6eu"}},defaultVariants:{},compoundVariants:[]});var mh=Mo.forwardRef(({children:e,className:t,style:r},o)=>{let{headers:n}=useContext(mn),{disabledKeys:i}=useContext(mn),{keyboardProps:a}=Ce({onKeyDown:l=>{let s=pe(H(l.target)),u=[...n?.keys()||[]].findIndex(y=>{let b=n?.get(y)?.current;return b?b===s:false}),c=n?.get(u||0),d=n?.size||0,m=y=>{let b=n.get(y-1<0?d-1:y-1);i?.has(b?.current?.dataset.key||"")?m(y-1):b?.current?.focus();},p=y=>{let b=n.get((y+1)%d);i?.has(b?.current?.dataset.key||"")?p(y+1):b?.current?.focus();};if(c)switch(l.key){case "Home":{l.preventDefault(),p(-1);break}case "End":{l.preventDefault(),m(d);break}case "ArrowDown":{l.preventDefault(),p(u);break}case "ArrowUp":{l.preventDefault(),m(u);break}default:l.continuePropagation();}}});return jsx("div",{...a,style:r,className:L(_E,t),ref:o,children:Mo.Children.map(e,(l,s)=>Mo.cloneElement(l,{index:s}))})});mh.displayName="AccordionBase";var mn=Mo.createContext({expandedKeys:new Set,setExpandedKeys:()=>{},disabledKeys:new Set,headers:new Map,expansionMode:"multiple"}),VE=Mo.forwardRef(({children:e,disabledKeys:t,defaultExpandedKeys:r=new Set,expandedKeys:o,expansionMode:n="multiple",onChange:i,className:a,style:l},s)=>{let[u,c]=Mo.useState(r),d=Mo.useRef(new Map).current,[m,p]=Mo.useState(n);useEffect(()=>{p(n);},[n]),useEffect(()=>{i?.(u);},[u,i]);let y=useMemo(()=>({expandedKeys:o||u,setExpandedKeys:o?()=>{}:c,disabledKeys:t,headers:d,expansionMode:m}),[o,u,t,d,m]);return jsx(mn.Provider,{value:y,children:jsx(zt,{children:jsx(mh,{className:a,style:l,ref:s,children:e})})})});VE.displayName="Accordion";var yh=Mo.forwardRef(({title:e,actions:t,controlId:r,value:o,id:n,index:i,subLabel:a,showActionsOnTriggerOnly:l},s)=>{let u=Mo.useRef(null),{expandedKeys:c,setExpandedKeys:d,expansionMode:m,disabledKeys:p,headers:y}=useContext(mn),b=p?.has(o),f=Fi();ie(f);let{focusNext:h,focusPrevious:v}=f,{keyboardProps:g}=Ce({onKeyDown:w=>{w.key==="ArrowRight"?h({wrap:true}):w.key==="ArrowLeft"?v({wrap:true}):w.continuePropagation();},isDisabled:b});useEffect(()=>{ie(typeof i=="number","AccordionItem must have an index"),y?.set(i,u);},[i,y]);let x=()=>{d(w=>{let O=new Set(w);return O.has(o)?O.delete(o):(m==="single"&&O.clear(),O.add(o)),O});},{buttonProps:T}=rt({"aria-expanded":c.has(o),"aria-controls":r,onPress:x,isDisabled:b},u),{pressProps:P}=Se({onPress:x,isDisabled:b}),{focusProps:S,isFocusVisible:E}=ee(),{hoverProps:D,isHovered:I}=re({isDisabled:b}),{focusProps:C,isFocusVisible:_}=ee({within:true}),z=c.has(o);return jsxs("h3",{...R(g,P,D,C),className:AE({isFocusVisible:E,isHovered:I,isDisabled:b}),ref:s,children:[jsxs("div",{className:OE({isDisabled:!!b}),children:[jsx(ChevronRightIcon,{className:RE({isExpanded:z}),size:8}),jsx("button",{...R(T,S),id:n,"data-key":o,className:NE,ref:u,children:e})]}),t?.length?jsx("div",{"data-testid":"action-buttons",className:IE({showActionsOnTriggerOnly:l,isTriggered:_||I}),children:t.map((w,O)=>jsx(me,{variant:"secondary",size:"sm",excludeFromTabOrder:true,isDisabled:b,...w},O))}):null,a?jsx("div",{className:ME,children:a}):null]})});yh.displayName="AccordionHeader";var HE=Mo.forwardRef(({title:e,actions:t,children:r,value:o,index:n,subLabel:i,style:a,className:l,showActionsOnTriggerOnly:s},u)=>{let c=Y(),d=Y(),{expandedKeys:m}=useContext(mn),p=m.has(o);return jsxs(Fragment,{children:[jsx(zt,{children:jsx(yh,{value:o,actions:t,id:d,title:e,controlId:c,ref:u,index:n,subLabel:i,showActionsOnTriggerOnly:s})}),jsx(AnimatePresence,{initial:false,children:p?jsx(motion.section,{role:"region","aria-labelledby":d,id:c,className:LE,variants:{open:{height:"auto",opacity:1},closed:{height:0,opacity:0}},initial:"closed",animate:"open",exit:"closed",children:jsx("div",{style:a,className:l,children:r})}):null})]})});HE.displayName="AccordionItem";var jE=V({defaultClassName:"_1fjxa6lc _1yep5z6ls _1yep5z6lr _1yep5z6ic _1yep5z6la",variantClassNames:{isDropTarget:{true:"_1yep5z6140"},orientation:{vertical:"_1yep5z617q",horizontal:"_1yep5z617r"}},defaultVariants:{},compoundVariants:[]}),GE="_1fjxa6l9 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu";V({defaultClassName:"_1fjxa6la _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]});var UE=V({defaultClassName:"_1fjxa6l2 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6la _1yep5z6ld _1yep5z6lq _1yep5z6lp _1yep5z6ln _1yep5z6lk",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u _1yep5z617x _1yep5z614g _1yep5z614h _1yep5z614i"},isFirstChild:{true:"_1fjxa6l4"},isLastChild:{true:"_1fjxa6l5"},isHovered:{true:"_1yep5z6125",false:"_1yep5z6124"},isDisabled:{true:"z9nup82 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),WE="_1fjxa6lg _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",qE="_1fjxa6l1",XE="_1fjxa6l0";var gh=Mo.createContext({}),vu=({item:e,isSelected:t,isHovered:r,isFocusVisible:o,isDisabled:n,selectionIcon:i="checkmark",selectionMode:a})=>{let l=e.icon,s=a!=="none";return jsxs(X,{display:"flex",alignItems:"center",gap:"lg",className:L(UE({isHovered:r,isFocused:o,isDisabled:n}),"BaselineUI-ListBox-OptionDefault"),children:[s&&i==="checkmark"?jsx("span",{"aria-hidden":true,style:{height:24,width:24},className:"BaselineUI-ListBox-SelectionIndicator",children:t?jsx(CheckmarkIcon,{size:24}):null}):null,s&&i==="checkbox"?jsx("span",{"aria-hidden":true,style:{height:16,width:16},children:jsx("div",{className:el({isSelected:t,isIndeterminate:false,isFocusVisible:false,isDisabled:n,isReadOnly:false,hasError:false,isHovered:false}),children:t?jsx(CheckmarkIcon$3,{size:12}):null})}):null,jsxs(X,{display:"flex",alignItems:"center",flex:1,gap:"lg",children:[l?jsx(l,{size:24}):null,jsx(qs,{slot:"label",elementType:"span",children:e.label})]})]})},hh=Mo.forwardRef(({item:e,optionStyle:t,optionClassName:r,renderOption:o,...n},i)=>{let{onPress:a}=useContext(gh);return jsx(yg,{...R(n,Xo(n),{onPress:l=>a?.(l,e.id)}),ref:i,id:e.id,className:l=>L(XE,"BaselineUI-ListBox-Option",typeof r=="function"?r(e,l):r),style:l=>typeof t=="function"?t(e,l):t,textValue:e.label,children:l=>o?o(e,l):jsx(vu,{...l,item:e})})});hh.displayName="MyListItem";var ZE=Mo.forwardRef(({section:e,showSectionHeader:t,renderSectionHeader:r,withSectionHeaderPadding:o,sectionStyle:n,sectionClassName:i,optionStyle:a,optionClassName:l,renderOption:s},u)=>{let c=r?.(e);return jsxs(fg,{id:e.id,"aria-label":e["aria-label"],className:L("BaselineUI-ListBox-Section",qE,typeof i=="function"?i(e):i),style:typeof n=="function"?n(e):n,ref:u,children:[t?c?jsx(pp,{className:"BaselineUI-ListBox-SectionHeader",children:c}):jsx(pp,{className:"BaselineUI-ListBox-SectionHeader",children:jsx(X,{className:L(WE,"BaselineUI-ListBox-SectionHeaderDefault"),paddingX:"lg",typography:"label.md.medium",color:"text.primary",paddingInlineStart:o?"5xl":"lg",paddingInlineEnd:"lg",children:e.title})}):null,jsx(Yr,{items:e.children,children:d=>jsx(hh,{item:d,optionStyle:a,optionClassName:l,renderOption:s},d.id)})]})});ZE.displayName="MyListSection";var fn=Mo.forwardRef(({withSectionHeaderPadding:e=false,showSectionHeader:t=false,renderSectionHeader:r,optionStyle:o,optionClassName:n,sectionStyle:i,sectionClassName:a,renderOption:l,className:s,dragAndDropHooks:u,listBoxHandle:c,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=Mo.useRef(null),f=useContext(Cr),{isVirtualized:h,layoutDelegate:v}=useContext(wt);useEffect(()=>{f&&(l||o||n)&&console.warn("ListBox: If a state is provided via the ListStateContext, the `renderOption`, `optionStyle`, `optionClassName`, `sectionStyle`, `sectionClassName`, and `renderSectionHeader` props will be ignored.");},[f,l,o,n,i,a,r]),$p({ref:b,isDisabled:!u});let g=useCallback(T=>b.current?.querySelector(`[data-key="${T}"][role="option"]`),[b]),x=useCallback((T,P)=>{if(!b.current)return;let S=g(T);if(S)S.scrollIntoView({block:"nearest",inline:"nearest",...P});else if(h&&v){let E=v.getItemRect(T);if(!E)return;v.virtualizer.delegate.setVisibleRect(E);}},[g,h,v]);return useImperativeHandle(c,()=>({scrollIntoView:x,setFocusedKey:T=>{let P=g(T);!b.current||!P||(P.focus(),x(T));}}),[x,g]),jsx(mg,{...p,"data-block-id":d,"data-block-class":m,dragAndDropHooks:u,ref:Z(y,b),className:L(GE,"BaselineUI-ListBox",s),children:T=>jsx(vh,{item:T,optionStyle:o,optionClassName:n,renderOption:l,showSectionHeader:t,withSectionHeaderPadding:e,sectionStyle:i,sectionClassName:a,renderSectionHeader:r},T.id)})});fn.displayName="UNSAFE_ListBox";var vU=Mo.createContext({}),vh=e=>{let t=useContext(vU),{item:r,...o}={...t,...e};return ie(r,"Item is required"),"children"in r?jsx(ZE,{section:r,...o}):jsx(hh,{item:r,...o})};var xU=e=>Js({getItems:(t,r)=>r.map(o=>({"text/plain":o.label})),renderDropIndicator(t){return jsx(nn,{target:t,className:({isDropTarget:r})=>L(jE({isDropTarget:r}),"BaselineUI-DropIndicator")})},...e});var xu=Mo.forwardRef(({variant:e,isOpen:t,validationState:r="valid",valueProps:o,className:n,style:i,value:a,"data-block-id":l,"data-block-class":s,fallbackValue:u,selectionMode:c="single",onRemove:d,maxCount:m=2,...p},y)=>{let{formatMessage:b}=ye(),f=a?.[0]??null,h=f?.label??u,v=f?.icon??null,g=Mo.useRef(null),x=!!(c==="multiple"&&a&&a?.length>0),{buttonProps:T,isPressed:P}=rt({...p,elementType:"div",isDisabled:p.isDisabled||p.isReadOnly},g),{hoverProps:S,isHovered:E}=re({isDisabled:p.isDisabled}),{focusProps:D,isFocused:I,isFocusVisible:C}=ee(),_=Ya({isReadOnly:p.isReadOnly,validationState:r});p.isReadOnly&&(T.disabled=false);let z=ce({"data-disabled":p.isDisabled,"data-readonly":p.isReadOnly,"data-focused":I,"data-focus-visible":C,"data-hovered":E,"data-pressed":P,"data-open":t,"data-block-id":l,"data-block-class":s}),w=p["aria-labelledby"],O=useCallback(()=>{ie(Array.isArray(a),"value must be an array");let M=a.slice(0,m),F=a.slice(m),K=[...M,...F.length>0?[{label:`+${F.length} ${b(SU.more)}`,id:"remaining-value"}]:[]];return jsx(Rm,{items:K,onRemove:p.isReadOnly?void 0:N=>{N.has("remaining-value")?d?.(new Set(F.map($=>$.id))):d?.(N);},"aria-labelledby":w,className:ah,isDisabled:p.isDisabled})},[a,m,b,w,p.isDisabled,d,p.isReadOnly]),k=c==="multiple";return jsxs("div",{...R(k?Object.fromEntries(Object.entries(T).filter(([M])=>M.startsWith("on"))):R(T,D),S,z),ref:k?y:Z(y,g),className:L(jk({isFocused:C,isDisabled:!!p.isDisabled,isOpen:t,isHovered:E,variant:e,isReadOnly:!!p.isReadOnly,areTagsVisible:x}),Va({variant:e,isHovered:E,isFocused:C,validationState:r,isDisabled:!!p.isDisabled,isReadOnly:p.isReadOnly}),n,"BaselineUI-Select-Button"),"data-testid":"select-button",style:i,children:[jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:"md",flex:1,paddingRight:"md",children:[c==="multiple"&&a&&a.length>0?O():jsxs("span",{className:ah,children:[v?jsx(v,{size:24}):null,jsx("span",{...o,children:h})]}),_?jsx("span",{"aria-hidden":true,className:L(Fa({validationState:r,isReadOnly:!!p.isReadOnly}),Gk),children:jsx(_,{size:16})}):null]}),jsx("div",{...k?{...R(T,D),ref:g}:{},className:$k,children:jsx(CaretDownIcon,{size:8,className:Kk({isOpen:t})})})]})});xu.displayName="SelectButton";var SU=Re({more:{id:"more",defaultMessage:"more"}});var nl=({children:e,listBoxProps:t,...r})=>jsx(So.Provider,{value:useMemo(()=>({items:r.items}),[r.items]),children:jsx(rn,{content:jsx(Yr,{items:r.items,children:o=>createElement(vh,{...t,key:o.id,item:o})}),children:e})});var Nm=Mo.createContext({state:null,popoverAnchorRef:null}),Ph=Mo.forwardRef(({className:e,style:t,labelPosition:r="top",variant:o="primary","data-block-id":n,"data-block-class":i,onTriggerPress:a,placement:l="bottom start",triggerClassName:s,triggerStyle:u,state:c,optionStyle:d,optionClassName:m,hideSelectAll:p,hideClear:y,renderTrigger:b=({buttonProps:v,selectedValue:g,valueProps:x,isOpen:T,ref:P,selectionMode:S,onRemove:E,maxCount:D})=>jsx(xu,{...v,className:s,style:u,isOpen:T,isReadOnly:f.isReadOnly,ref:P,variant:o,validationState:f.validationState,valueProps:x,value:g,fallbackValue:f.placeholder,selectionMode:S,onRemove:E,maxCount:D}),...f},h)=>{let{popoverAnchorRef:v}=useContext(Nm),g=Mo.useRef(null),{formatMessage:x}=ye(),T=useContext(Uc),{isVirtualized:P}=useContext(wt),S=Ft(f.portalContainer),{labelProps:E,triggerProps:D,valueProps:I,menuProps:C,descriptionProps:_,errorMessageProps:z}=xd({...Xo(f),validationState:f.validationState==="error"?"invalid":"valid"},c,g),w=or({...f,descriptionProps:_,errorMessageProps:z,labelPosition:r}),O=c.selectedItems?.map(k=>k.value)??null;return jsxs(Fragment,{children:[jsxs("div",{style:t,className:L(sn({labelPosition:r}),"BaselineUI-Select",e),"data-block-id":n,"data-block-class":i,ref:h,children:[f.label||w?jsxs("div",{className:ln({labelPosition:r,hasMessage:!!w}),children:[f.label?jsx("div",{...E,className:L(Ka,"BaselineUI-Select-Label"),children:f.label}):null,r==="start"&&w]}):null,jsx(Td,{state:c,triggerRef:g,isDisabled:f.isDisabled,label:f.label,name:f.name}),b({buttonProps:R({onPressStart:a,"aria-labelledby":E.id},D),selectedValue:O,valueProps:I,isOpen:c.isOpen,ref:g,selectionMode:f.selectionMode??"single",onRemove:k=>{c.selectionManager.setSelectedKeys(new Set([...c.selectionManager.selectedKeys].filter(M=>!k.has(M))));},maxCount:f.maxCount??2}),r==="top"&&w]}),c?jsx(Cr.Provider,{value:c,children:jsx(dt,{placement:l,state:c,portalContainer:S,offset:2,triggerRef:v||g,style:t,className:"BaselineUI-Select-Popover",...f,children:jsxs(X,{display:"flex",flex:1,flexDirection:"column",className:dn,children:[T?jsxs(Fragment,{children:[jsx(xm,{size:"sm","aria-label":x(Mm.search),placeholder:x(Mm.search),className:L(Hk,"BaselineUI-Select-SearchInput"),autoFocus:true}),jsx(De,{})]}):null,jsx(So.Provider,{value:C,children:jsx(fn,{label:f.label,escapeKeyBehavior:"none",className:Bk({isVirtualized:P}),optionStyle:d,optionClassName:m})}),c.selectionManager.selectionMode==="multiple"&&(!p||!y)&&jsxs(X,{display:"flex",flexDirection:"row",className:Vk,children:[!p&&jsx(Ie,{variant:"ghost",size:"md",label:x(Mm.selectAll),onPress:()=>{if(c.selectionManager.isSelectAll)return;let M=[...c.collection.getKeys()].filter(F=>!c.selectionManager.disabledKeys.has(F)&&c.selectionManager.canSelectItem(F));c.selectionManager.setSelectedKeys(new Set(M));},className:ih}),!p&&!y&&jsx(De,{orientation:"vertical"}),!y&&jsx(Ie,{variant:"ghost",label:x(Mm.clear),size:"md",onPress:()=>{c.selectionManager.isEmpty||c.selectionManager.clearSelection();},className:ih})]})]})})}):null]})});Ph.displayName="SelectCore";var ew=Mo.forwardRef(({collection:e,...t},r)=>{let o=za({...t,collection:e,validationState:t.validationState==="error"?"invalid":"valid",children:void 0});return jsx(Ph,{...t,ref:r,state:o})});ew.displayName="SelectStandalone";var yn=Mo.forwardRef(({optionStyle:e,optionClassName:t,...r},o)=>{let{state:n}=useContext(Nm);return useEffect(()=>{ie(n||r.items,"Select: A `state` that can be passed via context or `items` are required.");},[r.items,n]),n?jsx(Ph,{...r,optionStyle:e,optionClassName:t,ref:o,state:n}):jsx(nl,{items:r.items,listBoxProps:{renderOption:(i,a)=>jsx(vu,{...a,item:i,selectionIcon:a.selectionMode==="multiple"?"checkbox":"checkmark"}),optionStyle:e,optionClassName:t},children:i=>jsx(ew,{collection:i,...r,ref:o})})});yn.displayName="Select";var Mm=Re({selectAll:{id:"selectAll",defaultMessage:"Select All"},clear:{id:"clear",defaultMessage:"Clear"},search:{id:"search",defaultMessage:"Search"}});var rw=Mo.forwardRef(({className:e,style:t,variant:r,"data-block-id":o,icon:n,tooltip:i=true,iconTooltip:a=true,...l},s)=>{let u=Mo.useRef(null),{tooltipProps:c}=Ot({label:l["aria-label"],tooltip:i}),d=useCallback(({buttonProps:m,selectedValue:p,valueProps:y,isOpen:b,ref:f})=>jsx(Be,{...c,children:jsx(xu,{...m,isOpen:b,isReadOnly:l.isReadOnly,ref:f,variant:r,validationState:l.validationState,value:p,fallbackValue:l.placeholder,valueProps:y})}),[l,c,r]);return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:"md",alignItems:"center",className:L("BaselineUI-IconSelect",e),"data-block-id":o,style:t,ref:Z(s,u),children:[n?jsx(Wa,{icon:n,label:l["aria-label"],tooltip:a,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary",display:"flex",flexShrink:0})}):null,jsx(yn,{...l,renderTrigger:d})]})});rw.displayName="IconSelect";var ow="_1017q4c5",nw=V({defaultClassName:"_1017q4c0",variantClassNames:{size:{md:"_1017q4c1",sm:"_1017q4c2"},isDisabled:{true:"_1017q4c3"}},defaultVariants:{},compoundVariants:[]}),iw="_1017q4c4";var MU={sm:AvatarIcon$1,md:AvatarIcon},al=Mo.forwardRef(({className:e,style:t,size:r="md",icon:o=MU[r],name:n,imgSrc:i,showInitials:a,isDisabled:l,hasNotifications:s,imgLoading:u,"data-block-id":c,"data-block-class":d},m)=>{let p=n?.split(" ").map(y=>y[0]).join("");return jsxs("span",{className:L(nw({size:r,isDisabled:l}),"BaselineUI-Avatar",e),"data-disabled":l,ref:m,style:t,"aria-disabled":l,"data-block-id":c,"data-block-class":d,children:[i?jsx("img",{src:i,alt:n,loading:u,className:iw}):null,!a&&!i&&jsx(o,{size:r==="sm"?16:24}),a&&!i?r==="sm"?p[0]:p:null,s?jsx("div",{"data-testid":"notification",className:ow}):null]})});al.displayName="Avatar";var aw="_1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",lw=V({defaultClassName:"_1x62fhb6 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6la _1yep5z6ld _1yep5z6ev _1yep5z69i _1yep5z69j _1yep5z69k",variantClassNames:{isHovered:{true:"_1yep5z610x"},isSelected:{true:"_1x62fhb8"},isFocusVisible:{true:"_1x62fhb9"},isDisabled:{true:"_1x62fhba _1yep5z6111"},variant:{primary:"_1x62fhbb _1yep5z6zy",ghost:"_1yep5z6101"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isSelected:true,isDisabled:false},"_1yep5z61n0"],[{variant:"primary",isSelected:true},"_1yep5z61o7"],[{variant:"ghost",isSelected:true,isFocusVisible:false},"_1x62fhbd"],[{variant:"ghost",isSelected:true,isDisabled:false},"_1yep5z61n7"],[{variant:"ghost",isDisabled:true,isSelected:true},"_1x62fhbe _1yep5z6ey"],[{variant:"primary",isHovered:true},"_1yep5z61o8"]]}),sw=V({defaultClassName:"_1x62fhb3 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{variant:{primary:"_1x62fhb4",ghost:"_1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),uw="_1x62fhbl",Sh=V({defaultClassName:"_1x62fhbf _1yep5z6f6",variantClassNames:{isHovered:{true:"_1yep5z6118"},isSelected:{true:"_1x62fhbh"},isDisabled:{true:"_1yep5z611a"},variant:{primary:"_1x62fhbj",ghost:"_1x62fhbk"}},defaultVariants:{},compoundVariants:[[{variant:"primary",isSelected:true,isDisabled:false},"_1yep5z61nb"],[{variant:"ghost",isSelected:true,isDisabled:false},"_1yep5z61ng"],[{variant:"ghost",isDisabled:true,isSelected:true},"_1yep5z61nd"]]}),cw="_1yep5z6lu _1yep5z6lr _1yep5z6hx _1yep5z6lt",dw=V({defaultClassName:"_1x62fhb0 _1yep5z6ln _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{variant:{primary:"_1yep5z6126",ghost:"_1x62fhb2"}},defaultVariants:{},compoundVariants:[]});var pw=({state:e,...t})=>{let r=Mo.useRef(null),{tabPanelProps:o}=Ed(t,e,r),{selectedItem:n}=e,{focusProps:i,isFocusVisible:a}=ee();if(!n?.value)return null;let{className:l,style:s,"data-block-id":u}=n.value;return jsx("div",{...R(o,i),ref:r,className:L({[cw]:a},"Baseline-Tabs-TabPanel",l),"data-block-id":u,style:s,children:n?.props.children})};var zh=Mo.forwardRef(({className:e,style:t,tabHeaderStyle:r,tabHeaderClassName:o,variant:n="primary",actions:i,onRemove:a,"data-block-id":l,...s},u)=>{let c=np({...s,selectedKey:s.selectedValue,defaultSelectedKey:s.defaultSelectedValue,disabledKeys:s.disabledValues}),d=Mo.useRef(null),{tabListProps:m}=_d({...s,selectedKey:s.selectedValue,defaultSelectedKey:s.defaultSelectedValue,disabledKeys:s.disabledValues},c,d);return jsxs("div",{className:L("BaselineUI-Tabs",e),style:t,ref:u,"data-block-id":l,children:[jsxs("div",{className:L(dw({variant:n}),o),style:r,children:[jsx("div",{...m,className:sw({variant:n}),ref:d,children:[...c.collection].map(p=>(ie(p.value,"TabItem requires a value prop"),jsx(mw,{item:p,state:c,onRemove:a,variant:n},p.key)))}),i?.map((p,y)=>jsx("div",{className:aw,children:jsx(me,{...p,variant:"secondary",size:"sm",className:L(uw,p.className)})},y))]}),jsx(pw,{state:c},c.selectedItem?.key)]})});zh.displayName="TabsBase";var mw=({item:e,onRemove:t,state:r,variant:o})=>{let{key:n,value:i}=e,a=Mo.useRef(null),{tabProps:l,isSelected:s,isDisabled:u}=zd({key:n},r,a),{hoverProps:c,isHovered:d}=re({});ie(i,"TabButton requires a value prop");let{title:m,icon:p,titleStyle:y,titleClassName:b}=i,{focusProps:f,isFocusVisible:h,isFocused:v}=ee(),{keyboardProps:g}=Ce({onKeyDown:T=>{T.key==="Backspace"&&t?t(n):T.continuePropagation();}}),x=ce({"data-selected":s,"data-disabled":u,"data-focused":v,"data-hovered":d,"data-focus-visible":h});return jsxs("div",{...R(g,l,c,f,x),className:L(lw({isHovered:d,isSelected:s,isFocusVisible:h,isDisabled:u,variant:o}),"BaselineUI-Tabs-TabButton",b),style:y,ref:a,children:[p?jsx(p,{size:20,className:Sh({isHovered:d,isSelected:s,isDisabled:u,variant:o})}):null,m,t?jsx(me,{variant:"secondary",elementType:"div",icon:XIcon$3,size:"xxs",onPress:()=>{t(n);},excludeFromTabOrder:true,UNSAFE_isVisuallyInteractiveOnly:true,style:{display:"inline-flex",opacity:s||v||d?1:0},className:Sh({isHovered:d,isSelected:s,isDisabled:u,variant:o})}):null]})};mw.displayName="TabButton";var yw=Mo.forwardRef(function({children:t,...r},o){let n=useMemo(()=>Mo.Children.map(t,i=>!i||!Mo.isValidElement(i)||typeof i.type=="string"?null:{...i.props,id:i.props.value}).filter(Boolean),[t]);return jsx(zh,{...r,ref:o,items:n,children:i=>jsx(Mr,{title:i.title,children:i.children},i.key)})});yw.displayName="Tabs";var bw=({children:e,title:t,value:r})=>(ie(r,"TabItem requires a value prop"),ie(t,"TabItem requires a title prop"),ie(e,"TabItem requires children"),e);bw.displayName="TabItem";var gw={close:"\u0625\u063A\u0644\u0627\u0642"};var hw={close:"Zav\u0159\xEDt"};var vw={close:"Cau"};var xw={close:"Luk"};var Tw={close:"Schlie\xDFen"};var Pw={close:"\u039A\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF"};var Cw={close:"Close"};var Sw={close:"Close"};var Dw={close:"Cerrar"};var kw={close:"Sulje"};var zw={close:"Fermer"};var Ew={close:"Fermer"};var ww={close:"\u05E1\u05D2\u05D9\u05E8\u05D4"};var _w={close:"Zatvori"};var Iw={close:"Tutup"};var Rw={close:"Chiudi"};var Lw={close:"\u9589\u3058\u308B"};var Mw={close:"\uB2EB\uAE30"};var Aw={close:"Tutup"};var Nw={close:"Lukk"};var Ow={close:"Sluit"};var Fw={close:"Zamknij"};var Kw={close:"Fechar"};var Vw={close:"Fechar"};var Bw={close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C"};var $w={close:"Zavrie\u0165"};var Hw={close:"Zapri"};var jw={close:"St\xE4ng"};var Gw={close:"\u0E1B\u0E34\u0E14"};var Uw={close:"Kapat"};var Ww={close:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438"};var qw={close:"\u5173\u95ED"};var Xw={close:"\u95DC\u9589"};var Yw={ar:gw,cs:hw,cy:vw,da:xw,de:Tw,el:Pw,en_GB:Cw,en:Sw,es:Dw,fi:kw,fr_CA:zw,fr:Ew,he:ww,hr:_w,id:Iw,it:Rw,ja:Lw,ko:Mw,ms:Aw,nb_NO:Nw,nl:Ow,pl:Fw,pt_PT:Kw,pt:Vw,ru:Bw,sk:$w,sl:Hw,sv:jw,th:Gw,tr:Uw,uk:Ww,zh_Hans:qw,zh_Hant:Xw};var Zw=V({defaultClassName:"kfun6yt _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6af _1yep5z6ag _1yep5z6ah",variantClassNames:{arrangement:{single:"_1yep5z6vi _1yep5z6vj _1yep5z6vk",multi:"_1yep5z6157 _1yep5z6158 _1yep5z6159",compact:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[]}),Jw=V({defaultClassName:"kfun6y0 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6ln",variantClassNames:{variant:{info:"_1yep5z611y",warning:"_1yep5z611u",error:"_1yep5z611m",success:"_1yep5z611q"},arrangement:{single:"kfun6y5 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z615m _1yep5z615n _1yep5z615o",multi:"kfun6y6",compact:"kfun6y7 _1yep5z6mc _1yep5z6md _1yep5z6me _1yep5z6oo _1yep5z6op _1yep5z6oq _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk _1yep5z615d _1yep5z615e _1yep5z615f _1yep5z6wi _1yep5z6wj _1yep5z6wk"},hasButton:{true:"kfun6y8"},hasCloseButton:{true:"kfun6y9"}},defaultVariants:{},compoundVariants:[[{hasButton:false,arrangement:"single"},"_1yep5z618f _1yep5z618g _1yep5z618h _1yep5z61ar _1yep5z61as _1yep5z61at _1yep5z61bx _1yep5z61by _1yep5z61bz _1yep5z619l _1yep5z619m _1yep5z619n"],[{hasButton:true,arrangement:"compact"},"_1yep5z618f _1yep5z618g _1yep5z618h _1yep5z61ar _1yep5z61as _1yep5z61at _1yep5z61bx _1yep5z61by _1yep5z61bz _1yep5z619l _1yep5z619m _1yep5z619n"],[{hasCloseButton:true,arrangement:"compact"},"_1yep5z61af _1yep5z61ag _1yep5z61ah _1yep5z6199 _1yep5z619a _1yep5z619b"]]}),Qw=V({defaultClassName:"kfun6yq _1yep5z6eu",variantClassNames:{size:{sm:"_1yep5z6106",md:"_1yep5z6109"}},defaultVariants:{},compoundVariants:[]}),e_=V({defaultClassName:"kfun6ym _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{arrangement:{single:"kfun6yn",multi:"_1yep5z615j _1yep5z615k _1yep5z615l",compact:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6pi _1yep5z6pj _1yep5z6pk _1yep5z6qo _1yep5z6qp _1yep5z6qq _1yep5z6oc _1yep5z6od _1yep5z6oe _1yep5z6161 _1yep5z6162 _1yep5z6163"}},defaultVariants:{},compoundVariants:[]}),t_=V({defaultClassName:"kfun6yh _1yep5z6lk",variantClassNames:{variant:{info:"_1yep5z610t",warning:"_1yep5z610p",error:"_1yep5z610h",success:"_1yep5z610l"}},defaultVariants:{},compoundVariants:[]}),r_=V({defaultClassName:"kfun6ye _1yep5z6eu",variantClassNames:{size:{sm:"_1yep5z6108",md:"_1yep5z610b"}},defaultVariants:{},compoundVariants:[]}),o_=V({defaultClassName:"kfun6ya _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",variantClassNames:{arrangement:{single:"_1yep5z615m _1yep5z615n _1yep5z615o",multi:"_1yep5z6r0 _1yep5z6r1 _1yep5z6r2 _1yep5z6tc _1yep5z6td _1yep5z6te",compact:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[]});var w8={error:{sm:ErrorAltCircleFilledIcon$1,md:ErrorAltCircleFilledIcon},info:{sm:InfoCircleFilledIcon$1,md:InfoCircleFilledIcon},success:{sm:CheckmarkCircleFilledIcon,md:CheckCircleFilledIcon},warning:{sm:WarningFilledIcon$1,md:WarningFilledIcon}},Km=Mo.forwardRef(({className:e,description:t,actionLabel:r,onAction:o,style:n,variant:i="info",title:a,arrangement:l="single",onClose:s,size:u="sm","data-block-id":c,"data-block-class":d,elementProps:m},p)=>{let y=ye(Yw),b=r&&jsx(Ie,{variant:l==="compact"?"tertiary":"ghost",label:r,onPress:o}),f=w8[i][u];return jsxs("div",{className:L(Jw({variant:i,arrangement:l,hasButton:!!r||!!s,hasCloseButton:!!s}),"BaselineUI-InlineAlert",e),"data-block-id":c,"data-block-class":d,style:n,role:"alert",ref:p,...m?.root,children:[jsxs("div",{className:o_({arrangement:l}),children:[jsx(f,{className:t_({variant:i}),size:16}),jsxs("div",{className:Zw({arrangement:l}),...m?.content,children:[jsx("h3",{className:r_({size:u}),...m?.title,children:a}),jsx("section",{className:Qw({size:u}),...m?.description,children:t})]}),l==="compact"&&b]}),jsxs("div",{className:e_({arrangement:l}),children:[l!=="compact"&&b,s?jsx(me,{variant:"secondary",icon:XIcon$2,size:"sm",onPress:s,"aria-label":y.formatMessage("close"),...m?.close}):null]})]})});Km.displayName="InlineAlert";var n_={add:"\u0625\u0636\u0627\u0641\u0629",addColor:"\u0625\u0636\u0627\u0641\u0629 \u0644\u0648\u0646",cancel:"\u0625\u0644\u063A\u0627\u0621",colorFormat:"\u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0644\u0648\u0646",colorPresets:"\u0627\u0644\u0623\u0644\u0648\u0627\u0646 \u0627\u0644\u0645\u0633\u0628\u0642\u0629",customColors:"\u0623\u0644\u0648\u0627\u0646 \u0645\u062E\u0635\u0635\u0629",newColor:"\u0644\u0648\u0646 \u0645\u062E\u0635\u0635 \u062C\u062F\u064A\u062F",noColor:"\u0644\u0627 \u064A\u0648\u062C\u062F",removeColor:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0644\u0648\u0646",transparent:"\u0634\u0641\u0627\u0641"};var i_={add:"P\u0159idat",addColor:"P\u0159idat barvu",cancel:"Zru\u0161it",colorFormat:"Form\xE1t barvy",colorPresets:"P\u0159edvolby barev",customColors:"Vlastn\xED barvy",newColor:"Vlastn\xED barva",noColor:"Nen\xED",removeColor:"Odebrat barvu",transparent:"Pr\u016Fhledn\xE1"};var a_={add:"Ychwanegu",addColor:"Ychwanegu Lliw",cancel:"Canslo",colorFormat:"Fformat Lliw",colorPresets:"Rhagosodiadau Lliw",customColors:"Lliwiau Custom",newColor:"Lliw Personol Newydd",noColor:"Dim",removeColor:"Tynnu Lliw",transparent:"Tryloyw"};var l_={add:"Tilf\xF8j",addColor:"Tilf\xF8j Farve",cancel:"Annuller",colorFormat:"Farveformat",colorPresets:"Farvevalg",customColors:"Brugerdefinerede farver",newColor:"Ny tilpasset farve",noColor:"Ingen",removeColor:"Fjern Farve",transparent:"Transparent"};var s_={add:"Hinzuf\xFCgen",addColor:"Farbe hinzuf\xFCgen",cancel:"Abbrechen",colorFormat:"Farbformat",colorPresets:"Farbvorlagen",customColors:"Benutzerdefinierte Farben",newColor:"Neue benutzerdefinierte Farbe",noColor:"Kein",removeColor:"Farbe entfernen",transparent:"Transparent"};var u_={add:"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7",addColor:"\u03A0\u03C1\u03BF\u03C3\u03B8\u03AE\u03BA\u03B7 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",cancel:"\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7",colorFormat:"\u039C\u03BF\u03C1\u03C6\u03AE \u03C7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",colorPresets:"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",customColors:"\u03A0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03C3\u03BC\u03AD\u03BD\u03B1 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03B1",newColor:"\u039D\u03AD\u03BF \u03C0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03C3\u03BC\u03AD\u03BD\u03BF \u03C7\u03C1\u03CE\u03BC\u03B1",noColor:"\u039A\u03B1\u03BD\u03AD\u03BD\u03B1\u03C2",removeColor:"\u0391\u03C6\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7 \u03A7\u03C1\u03CE\u03BC\u03B1\u03C4\u03BF\u03C2",transparent:"\u0397\u03BC\u03B9\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AE\u03C2"};var c_={add:"Add",addColor:"Add Colour",cancel:"Cancel",colorFormat:"Colour Format",colorPresets:"Colour Presets",customColors:"Custom Colours",newColor:"New Custom Colour",noColor:"None",removeColor:"Remove Colour",transparent:"Transparent"};var d_={add:"Add",addColor:"Add Color",cancel:"Cancel",colorFormat:"Color Format",colorPresets:"Color Presets",customColors:"Custom Colors",newColor:"New Custom Color",noColor:"None",removeColor:"Remove Color",transparent:"Transparent"};var p_={add:"A\xF1adir",addColor:"A\xF1adir color",cancel:"Cancelar",colorFormat:"Formato de color",colorPresets:"Preajustes de color",customColors:"Colores personalizados",newColor:"Nuevo color personalizado",noColor:"Ninguna",removeColor:"Eliminar color",transparent:"Transparente"};var m_={add:"Lis\xE4\xE4",addColor:"Lis\xE4\xE4 v\xE4ri",cancel:"Kumoa",colorFormat:"V\xE4rimuoto",colorPresets:"V\xE4rin esiasetukset",customColors:"Mukautetut v\xE4rit",newColor:"Uusi muokattu v\xE4ri",noColor:"Ei mit\xE4\xE4n",removeColor:"Poista v\xE4ri",transparent:"L\xE4pin\xE4kyv\xE4"};var f_={add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Pr\xE9r\xE9glages de couleur",customColors:"Couleurs personnalis\xE9es",newColor:"Nouvelle couleur personnalis\xE9e",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"};var y_={add:"Ajouter",addColor:"Ajouter une couleur",cancel:"Annuler",colorFormat:"Format de couleur",colorPresets:"Pr\xE9r\xE9glages de couleur",customColors:"Couleurs personnalis\xE9es",newColor:"Nouvelle couleur personnalis\xE9e",noColor:"Aucune",removeColor:"Supprimer la couleur",transparent:"Transparent"};var b_={add:"\u05D4\u05D5\u05E1\u05E4\u05D4",addColor:"\u05D4\u05D5\u05E1\u05E3 \u05E6\u05D1\u05E2",cancel:"\u05D1\u05D9\u05D8\u05D5\u05DC",colorFormat:"\u05E4\u05D5\u05E8\u05DE\u05D8 \u05E6\u05D1\u05E2",colorPresets:"\u05DE\u05E6\u05D1\u05D9 \u05E6\u05D1\u05E2 \u05DE\u05EA\u05D5\u05DB\u05E0\u05EA\u05D9\u05DD",customColors:"\u05E6\u05D1\u05E2\u05D9\u05DD \u05DE\u05D5\u05EA\u05D0\u05DE\u05D9\u05DD \u05D0\u05D9\u05E9\u05D9\u05EA",newColor:"\u05E6\u05D1\u05E2 \u05DE\u05D5\u05EA\u05D0\u05DD \u05D0\u05D9\u05E9\u05D9\u05EA \u05D7\u05D3\u05E9",noColor:"\u05DC\u05DC\u05D0",removeColor:"\u05D4\u05E1\u05E8 \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3"};var g_={add:"Dodati",addColor:"Dodaj boju",cancel:"Otka\u017Ei",colorFormat:"Format boje",colorPresets:"Prijedlozi boja",customColors:"Prilago\u0111ene boje",newColor:"Nova prilago\u0111ena boja",noColor:"Prazno",removeColor:"Ukloni boju",transparent:"Prozirna"};var h_={add:"Tambah",addColor:"Tambah Warna",cancel:"Batalkan",colorFormat:"Format Warna",colorPresets:"Preset Warna",customColors:"Warna Kustom",newColor:"Warna Khusus Baru",noColor:"Tidak ada",removeColor:"Hapus Warna",transparent:"Transparan"};var v_={add:"Aggiungi",addColor:"Aggiungi colore",cancel:"Annulla",colorFormat:"Formato del colore",colorPresets:"Colori predefiniti",customColors:"Colori personalizzati",newColor:"Nuovo colore personalizzato",noColor:"Nessuno",removeColor:"Rimuovi colore",transparent:"Trasparente"};var x_={add:"\u8FFD\u52A0",addColor:"\u8272\u3092\u8FFD\u52A0",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",colorFormat:"\u30AB\u30E9\u30FC\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8",colorPresets:"\u30AB\u30E9\u30FC\u30D7\u30EA\u30BB\u30C3\u30C8",customColors:"\u30AB\u30B9\u30BF\u30E0\u30AB\u30E9\u30FC",newColor:"\u65B0\u898F\u30AB\u30B9\u30BF\u30E0\u30AB\u30E9\u30FC",noColor:"\u306A\u3057",removeColor:"\u8272\u3092\u524A\u9664",transparent:"\u900F\u660E"};var T_={add:"\uCD94\uAC00",addColor:"\uC0C9\uC0C1 \uCD94\uAC00",cancel:"\uCDE8\uC18C",colorFormat:"\uC0C9\uC0C1 \uD615\uC2DD",colorPresets:"\uC0C9\uC0C1 \uBBF8\uB9AC\uC124\uC815",customColors:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C9\uC0C1",newColor:"\uC0C8\uB85C\uC6B4 \uC0AC\uC6A9\uC790\uC9C0\uC815 \uC0C9\uC0C1",noColor:"\uC5C6\uC74C",removeColor:"\uC0C9\uC0C1 \uC81C\uAC70",transparent:"\uD22C\uBA85"};var P_={add:"Tambah",addColor:"Tambah Warna",cancel:"Batal",colorFormat:"Format Warna",colorPresets:"Praset Warna",customColors:"Warna Kustom",newColor:"Warna Tersuai Baharu",noColor:"Tiada",removeColor:"Buang Warna",transparent:"Lut Sinar"};var C_={add:"Legg til",addColor:"Legg til farge",cancel:"Avbryt",colorFormat:"Fargeformat",colorPresets:"Fargeinnstillinger",customColors:"Egendefinerte farger",newColor:"Ny tilpasset farge",noColor:"Ingen",removeColor:"Fjern farge",transparent:"Gjennomsiktig"};var S_={add:"Voeg toe",addColor:"Kleur toevoegen",cancel:"Annuleer",colorFormat:"Kleurformaat",colorPresets:"Kleurvoorinstellingen",customColors:"Aangepaste kleuren",newColor:"Nieuwe aangepaste kleur",noColor:"Geen",removeColor:"Kleur verwijderen",transparent:"Doorzichtig"};var D_={add:"Dodaj",addColor:"Dodaj kolor",cancel:"Anuluj",colorFormat:"Format koloru",colorPresets:"Wst\u0119pnie ustawione kolory",customColors:"Niestandardowe kolory",newColor:"Nowy kolor niestandardowy",noColor:"Brak",removeColor:"Usu\u0144 kolor",transparent:"Prze\u015Bwiecaj\u0105ce"};var k_={add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Predefini\xE7\xF5es de cor",customColors:"Cores personalizadas",newColor:"Nova cor personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"};var z_={add:"Adicionar",addColor:"Adicionar cor",cancel:"Cancelar",colorFormat:"Formato de cor",colorPresets:"Pr\xE9-ajustes de Cores",customColors:"Cores personalizadas",newColor:"Nova Cor Personalizada",noColor:"Nenhum",removeColor:"Remover cor",transparent:"Transparente"};var E_={add:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C",addColor:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0446\u0432\u0435\u0442",cancel:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",colorFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0446\u0432\u0435\u0442\u0430",colorPresets:"\u0411\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",customColors:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0446\u0432\u0435\u0442\u0430",newColor:"\u041D\u043E\u0432\u044B\u0439 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u0446\u0432\u0435\u0442",noColor:"\u041D\u0435\u0442",removeColor:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0446\u0432\u0435\u0442",transparent:"\u041F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439"};var w_={add:"Prida\u0165",addColor:"Prida\u0165 farbu",cancel:"Zru\u0161i\u0165",colorFormat:"Form\xE1t farby",colorPresets:"Predvo\u013Eby farieb",customColors:"Vlastn\xE9 farby",newColor:"Vlastn\xE1 farba",noColor:"\u017Diadny",removeColor:"Odstr\xE1ni\u0165 farbu",transparent:"Prieh\u013Eadn\xE1"};var __={add:"Dodaj",addColor:"Dodaj barvo",cancel:"Prekli\u010Di",colorFormat:"Barvni format",colorPresets:"Barvne predloge",customColors:"Prilagojene barve",newColor:"Nova barva po meri",noColor:"Prazna stran",removeColor:"Odstrani barvo",transparent:"Prosojna"};var I_={add:"L\xE4gg till",addColor:"L\xE4gg till f\xE4rg",cancel:"Avbryt",colorFormat:"F\xE4rgformat",colorPresets:"F\xF6rval f\xF6r f\xE4rger",customColors:"Anpassade f\xE4rger",newColor:"Ny anpassad f\xE4rg",noColor:"Ingen",removeColor:"Ta bort f\xE4rg",transparent:"Genomskinligt"};var R_={add:"\u0E40\u0E1E\u0E34\u0E48\u0E21",addColor:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2A\u0E35",cancel:"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",colorFormat:"\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E2A\u0E35",colorPresets:"\u0E04\u0E48\u0E32\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E15\u0E31\u0E49\u0E07\u0E44\u0E27\u0E49\u0E25\u0E48\u0E27\u0E07\u0E2B\u0E19\u0E49\u0E32",customColors:"\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E2D\u0E07",newColor:"\u0E2A\u0E35\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48",noColor:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E40\u0E25\u0E22",removeColor:"\u0E25\u0E1A\u0E2A\u0E35",transparent:"\u0E42\u0E1B\u0E23\u0E48\u0E07\u0E43\u0E2A"};var L_={add:"Ekle",addColor:"Renk Ekle",cancel:"Vazge\xE7",colorFormat:"Renk Format\u0131",colorPresets:"Renk \xD6nayarlar\u0131",customColors:"\xD6zel Renkler",newColor:"Yeni \xF6zel renk",noColor:"Hi\xE7biri",removeColor:"Rengi Kald\u0131r",transparent:"\u015Eeffaf"};var M_={add:"\u0414\u043E\u0434\u0430\u0442\u0438",addColor:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043A\u043E\u043B\u0456\u0440",cancel:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",colorFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u043A\u043E\u043B\u044C\u043E\u0440\u0443",colorPresets:"\u0411\u0456\u0431\u043B\u0456\u043E\u0442\u0435\u043A\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",customColors:"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043A\u043E\u043B\u044C\u043E\u0440\u0438",newColor:"\u041D\u043E\u0432\u0438\u0439 \u0432\u043B\u0430\u0441\u043D\u0438\u0439 \u043A\u043E\u043B\u0456\u0440",noColor:"\u041D\u0435\u043C\u0430\u0454",removeColor:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u043A\u043E\u043B\u0456\u0440",transparent:"\u041F\u0440\u043E\u0437\u043E\u0440\u0438\u0439"};var A_={add:"\u6DFB\u52A0",addColor:"\u6DFB\u52A0\u989C\u8272",cancel:"\u53D6\u6D88",colorFormat:"\u989C\u8272\u683C\u5F0F",colorPresets:"\u989C\u8272\u9884\u8BBE",customColors:"\u81EA\u5B9A\u4E49\u989C\u8272",newColor:"\u65B0\u81EA\u5B9A\u4E49\u989C\u8272",noColor:"\u65E0",removeColor:"\u79FB\u9664\u989C\u8272",transparent:"\u900F\u660E"};var N_={add:"\u52A0\u5165",addColor:"\u6DFB\u52A0\u984F\u8272",cancel:"\u53D6\u6D88",colorFormat:"\u984F\u8272\u683C\u5F0F",colorPresets:"\u984F\u8272\u9810\u8A2D\u9805",customColors:"\u81EA\u8A02\u984F\u8272",newColor:"\u65B0\u81EA\u8A02\u984F\u8272",noColor:"\u7121",removeColor:"\u79FB\u9664\u984F\u8272",transparent:"\u900F\u660E"};var bn={ar:n_,cs:i_,cy:a_,da:l_,de:s_,el:u_,en_GB:c_,en:d_,es:p_,fi:m_,fr_CA:f_,fr:y_,he:b_,hr:g_,id:h_,it:v_,ja:x_,ko:T_,ms:P_,nb_NO:C_,nl:S_,pl:D_,pt_PT:k_,pt:z_,ru:E_,sk:w_,sl:__,sv:I_,th:R_,tr:L_,uk:M_,zh_Hans:A_,zh_Hant:N_};var Vm=({children:e})=>{let{triggerProps:t}=Mo.useContext(_o);return jsx(fo,{...t,children:e})};Vm.displayName="ModalTrigger";var pW=({children:e})=>{let{state:t}=Mo.useContext(_o);return jsx(fo,{onPress:()=>{t?.close();},children:e})};var O_="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6ln",F_="_1dbkl5e",K_=V({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6ly _1yep5z6lq _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6lp _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z6111"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),V_="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl",B_=V({defaultClassName:"_1dbkl50 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6dy _1yep5z6ev",variantClassNames:{labelPosition:{top:"_1yep5z6oi _1yep5z6oj _1yep5z6ok",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),Bm="_1dbkl5l _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z69f _1yep5z69g _1yep5z69h",$_="_1dbkl5f z9nup86",$m="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if",H_="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6lq",j_="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy _1yep5z6ev _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl",Hm=V({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g1",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8"}},defaultVariants:{},compoundVariants:[]}),wh="_1dbkl5v _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",G_=V({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z6134"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z617q"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61pb"]]}),U_=V({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f5 _1yep5z6lp _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6ld",variantClassNames:{isHovered:{true:"_1yep5z6126"},isFocusVisible:{true:"_1yep5z617w _1yep5z617u _1yep5z617x _1yep5z6140"},isDisabled:{true:"_1yep5z611a"}},defaultVariants:{},compoundVariants:[]}),jm="_1dbkl5g",Cu="_1dbkl5u",Gm="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",_h="_1dbkl5x",W_="_1dbkl5w",Ih="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69l _1yep5z69m _1yep5z69n",Um=V({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lu _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lz _1yep5z6m2",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z617u _1yep5z6140 _1yep5z617w"}},defaultVariants:{},compoundVariants:[]}),Rh="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6ig _1yep5z6ih _1yep5z6ii";var q_=V({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6lk _1yep5z6ic _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617z"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2"],[{isSelected:true,isDisabled:true},"_1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2 _1yep5z61qd"],[{isHovered:true,isSelected:false},"_1yep5z61u2 _1yep5z61tz _1yep5z61tx _1yep5z61q7"]]}),X_="_1yep5z6f6",Y_="_1344e9q9 _1yep5z6fl";var gn=Mo.forwardRef(({color:e,isFocusVisible:t,isSelected:r,isInteractive:o,isDisabled:n,style:i,className:a,id:l,tooltip:s,isIndeterminate:u,indeterminateIcon:c=HelpIcon,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=e&&e!==no&&(typeof e=="string"?ke(e):e),{formatMessage:f}=ye(),h=!b,{colorSwatchProps:v}=yb({color:h?"#000000":e}),{hoverProps:g,isHovered:x}=re({isDisabled:n||!o}),T=ce({"data-focus-visible":t,"data-selected":r,"data-hovered":x,"data-block-id":d,"data-block-class":m,"data-disabled":n,"data-interactive":o,"data-indeterminate":u}),P=h?f(Z_.none):v["aria-label"],S=p["aria-label"]??P,{tooltipProps:E}=Ot({tooltip:s,label:S}),D=jsx("div",{...R(g,T,h?{}:v),style:i,"aria-label":h?f(Z_.none):v["aria-label"],role:"img",className:L(q_({removeBlendMode:h,isFocusVisible:t,isDisabled:!!n,isSelected:!!r,isHovered:x}),"BaselineUI-ColorSwatch",a),ref:y,id:l,...p,children:jsxs(X,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:n?"medium":void 0,style:b&&!u?J_(b,4):void 0,children:[h&&!u?jsx("div",{className:Y_}):null,u&&c?jsx(c,{role:"presentation",size:16,className:X_,"aria-hidden":"true"}):null]})});return E&&!n?jsx(Be,{...E,children:jsx(Ho,{children:D})}):D});gn.displayName="ColorSwatch";var Z_=Re({none:{id:"none",defaultMessage:"None"}});var eI=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],ku=ke("#000000").toFormat("hsla"),Pt="hsla",Du="hexa";function hW(e){let t=document.createElement("canvas").getContext("2d");return ie(t,"Failed to get canvas context"),t.fillStyle=e,t.fillStyle}function ui(e){if(typeof e=="string")try{return ke(e).toFormat(Pt)}catch{return ke(hW(e)).toFormat(Pt)}else if(e)return e.toFormat(Pt);return null}function tI(e,t){return e?.getChannelValue("alpha")?t?.toString(Du)===e.toString(Du):!t?.getChannelValue("alpha")}function rI(e,t,r){return t?.label?t.label:e?.getChannelValue("alpha")===0?r:e?.toString("rgba")}var no="NONE";function oI(e,t){let r=t?.map(n=>({id:ke(n.color).toString(Du),label:n.label}))||[],o={id:no,label:e};return [...r,o]}var Wm=(e,{optionProps:t,isFocusVisible:r,isSelected:o},n)=>(ie(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...t,ref:n,className:H_,children:jsx(gn,{color:e.value.id,isFocusVisible:r,isSelected:o,"aria-label":e.value.label,isInteractive:true})})),J_=(e,t=4)=>{let r=e.getChannelValue("alpha")===0,o=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:r?o:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${o}`,backgroundSize:`${t}px ${t}px`}};var nI=({value:e,...t})=>{let r=Mo.useRef(null),o=Mo.useRef(null),n=Mo.useRef(null),i=eb({...t,value:e}),{colorAreaProps:a,xInputProps:l,yInputProps:s,thumbProps:u}=db({...t,value:e,inputXRef:r,inputYRef:o,containerRef:n},i);useEffect(()=>{r.current?.focus();},[]);let{focusProps:c,isFocusVisible:d}=ee();return jsx("div",{ref:n,...a,className:L(O_,"BaselineUI-ColorInput-ColorArea"),children:jsxs("div",{...u,className:L(Um({isFocusVisible:d}),"BaselineUI-ColorInput-ColorAreaThumb"),style:{...u.style,transform:"translate(-50%, -50%)",backgroundColor:ui(e)?.withChannelValue("alpha",1).toString("css")},children:[jsx("input",{ref:r,...l,...c}),jsx("input",{ref:o,...s,...c})]})})};var iI=({color:e,setColor:t,allowAlpha:r,...o})=>{let n=lb({value:e,onChange:d=>{t(ui(d)?.toFormat(Pt).withChannelValue("alpha",e.getChannelValue("alpha")??1)||ku);}}),i=Mo.useRef(null),{inputProps:a}=fb({...o,"aria-label":"Hex"},n,i),{focusProps:l,isFocused:s}=ee({isTextInput:true}),{hoverProps:u,isHovered:c}=re({});return jsxs("div",{className:L(wh,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":r?"hexa":"hex",children:[jsx("input",{...R(a,l,u),ref:i,className:G_({isFocused:s,isHovered:c,allowAlpha:r})}),r?jsx(lI,{color:e,setColor:t}):null]})},aI=({color:e,setColor:t,allowAlpha:r})=>{let o=e.toFormat("rgba"),{locale:n}=J();return jsxs("div",{className:L(wh,"BaselineUI-ColorInput-FieldInput"),"data-color-mode":r?"rgba":"rgb",children:[jsx(wo,{"aria-label":e.getChannelName("red",n),value:o.getChannelValue("red"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("red",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),jsx(wo,{"aria-label":e.getChannelName("green",n),value:o.getChannelValue("green"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("green",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),jsx(wo,{"aria-label":e.getChannelName("blue",n),value:o.getChannelValue("blue"),showStepper:false,className:Cu,onChange:i=>{t(o.withChannelValue("blue",i).toFormat(Pt));},step:1,minValue:0,maxValue:255}),r?jsx(lI,{color:e,setColor:t}):null]})},CW={style:"percent",maximumFractionDigits:0},lI=({color:e,setColor:t})=>{let{locale:r}=J(),o=useCallback(n=>{t(e.withChannelValue("alpha",n));},[e,t]);return jsx(wo,{"aria-label":e.getChannelName("alpha",r),value:e.getChannelValue("alpha"),formatOptions:CW,className:Cu,showStepper:false,onChange:o,minValue:0,maxValue:1})};var Ah=({channel:e,...t})=>{let{locale:r}=J(),o=nb({...t,channel:e,locale:r}),n=Mo.useRef(null),i=Mo.useRef(null),{trackProps:a,thumbProps:l,inputProps:s}=mb({...t,channel:e,trackRef:n,inputRef:i,"aria-label":o.value.getChannelName(e,r)},o),{focusProps:u,isFocusVisible:c}=ee();return jsxs("div",{className:L($m,{[ND({size:"xs"})]:e==="alpha"},"BaselineUI-ColorInput-ColorSlider"),"data-channel":e,...a,ref:n,children:[e==="alpha"&&jsx("div",{className:Rh}),jsx("div",{className:$m,style:a.style}),jsxs("div",{className:L(Um({isFocusVisible:c}),"BaselineUI-ColorInput-ColorSliderThumb"),...l,children:[jsx("div",{className:Rh,style:{backgroundColor:"#ffffff"}}),jsx("div",{style:{backgroundColor:o.getDisplayColor().toString("css"),height:8},className:$m}),jsx(Le,{children:jsx("input",{ref:i,...s,...u})})]})]})};var qm=({color:e,setColor:t,allowAlpha:r,onChangeEnd:o})=>{let[n,i]=Mo.useState("hex"),{formatMessage:a}=ye(bn);return jsxs(Fragment,{children:[jsx(nI,{value:e,xChannel:"saturation",yChannel:"lightness",onChange:t,onChangeEnd:o}),jsxs("div",{className:Ih,children:[jsx(Ah,{channel:"hue",value:e,onChange:t,onChangeEnd:o}),r?jsx(Ah,{channel:"alpha",value:e,onChange:t,onChangeEnd:o}):null]}),jsxs("div",{className:L(Ih,sprinkles.variants({paddingTop:"none",gap:"sm"})),children:[jsx(yn,{label:a("colorFormat"),labelPosition:"start",variant:"ghost",items:eI,selectedKey:n,onSelectionChange:l=>{i(l);}}),n==="hex"&&jsx(iI,{color:e,setColor:l=>{t(l),o?.(l);},allowAlpha:r}),n==="rgb"&&jsx(aI,{color:e,setColor:l=>{t(l),o?.(l);},allowAlpha:r})]})]})};var dI=({color:e,setColor:t,storePickedColorKey:r,addColorButtonLabel:o,removeColorButtonLabel:n,customColorsLabel:i,pickerMode:a,allowAlpha:l,isIndeterminate:s})=>{let{locale:u}=J(),{formatMessage:c}=ye(bn),d=Mo.useRef(null),m=un(d.current),[p,y]=ID(r,[]),b=Mo.useRef(null),[f,h]=Mo.useState(e),v=Mo.useMemo(()=>p.map(E=>({id:E,label:ke(E).getColorName(u),description:E})),[p,u]),g=useCallback(()=>{let E=a==="active"?e:f;if(p.includes(E.toString(Pt))){b.current?.querySelector(`[data-key='${E.toString(Pt)}']`)?.classList.add(_h);return}y([...p,E.toString(Pt)]);},[p,e,y,f,a]);useEffect(()=>{let E=b.current;function D(I){I.animationName===W_&&I.target?.classList.remove(_h);}return E?.addEventListener("animationend",D),()=>{E?.removeEventListener("animationend",D);}},[]);let x=Y(),T=jsx(me,{ref:d,variant:"secondary",size:"md","aria-label":o,icon:PlusIcon$2,onPress:a==="active"?g:void 0}),P=useCallback(E=>jsxs(nr,{size:"content",className:Hm({includesCustomColorPicker:true}),style:{paddingBlockEnd:0},"aria-label":c("newColor"),children:[jsx(qm,{color:f,setColor:h,allowAlpha:l}),jsx(De,{}),jsx(X,{padding:"lg",display:"flex",flexDirection:"row-reverse",children:jsxs(X,{display:"inline-flex",gap:"lg",children:[jsx(Ie,{label:c("cancel"),size:"sm",variant:"secondary",onPress:E}),jsx(Ie,{label:c("add"),variant:"primary",onPress:()=>{g(),E();},size:"sm"})]})})]}),[f,g,c,l]),S=useCallback(E=>{ie(E instanceof Set,"Key must be a set");let D=[...E][0];D&&t(ke(D).toFormat(Pt));},[t]);return jsxs(Fragment,{children:[jsx(De,{}),jsxs("div",{className:L(j_,"BaselineUI-ColorInput-CustomColors"),children:[jsx("span",{id:x,children:i}),jsxs(X,{display:"flex",children:[!!p.length&&p.includes(e.toString(Pt))&&jsx(me,{variant:"secondary",size:"md",elementType:"div",icon:MinusIcon$2,"aria-label":n,onPress:()=>{y(p.filter(E=>E!==e.toString(Pt)));}}),a==="active"&&T,a==="lazy"&&(m==="mobile"?jsxs(ro,{children:[jsx(Vm,{children:T}),jsx(oo,{style:{zIndex:1e5},children:({close:E})=>P(E)})]}):jsxs(ko,{type:"dialog",children:[jsx(zo,{children:T}),jsx(dt,{placement:"right top",className:jm,offset:6,children:({close:E})=>P(E)})]}))]})]}),!!p.length&&jsx(to,{items:v,layout:"grid","aria-labelledby":x,className:L(Bm,Gm,sprinkles.variants({paddingTop:"xs"}),"BaselineUI-ColorInput-CustomColorsListBox"),renderOption:Wm,ref:b,autoFocus:false,selectionMode:"single",selectedKeys:s?[]:[e.toString(Pt)],onSelectionChange:S})]})};var Fh=Mo.forwardRef(({setColor:e,color:t,triggerRef:r,autoFocus:o,presets:n,state:i,isIndeterminate:a},l)=>{let{formatMessage:s}=ye(bn),u=useCallback(c=>{if(c instanceof Set&&c.size){let d=[...c][0],m=n.find(p=>p.id===d);ie(m,"Preset not found"),e(m.id===no?null:ke(m.id).toFormat(Pt)),i.close();}},[i,n,e]);return jsx("div",{className:L(Gm,"BaselineUI-ColorInput-Presets"),style:{minWidth:r.current?.offsetWidth},ref:l,children:jsx(to,{autoFocus:o,items:n,layout:"grid","aria-label":s("colorPresets"),className:Bm,renderOption:Wm,selectionMode:"single",selectedKeys:a?[]:[t?.toString(Du)||no],onSelectionChange:u,escapeKeyBehavior:"none"})})});Fh.displayName="ColorPresetList";var Eu=Mo.forwardRef(({color:e,colorLabel:t,colorName:r,isIndeterminate:o,indeterminateIcon:n,...i},a)=>{let l=Mo.useRef(null),{hoverProps:s,isHovered:u}=re({isDisabled:i.isDisabled}),{buttonProps:c,isPressed:d}=rt(i,l),{isFocusVisible:m,focusProps:p}=ee(),y=ce({"data-block-id":i["data-block-id"],"data-focused":m,"data-focus-visible":m,"data-disabled":i.isDisabled,"data-hovered":u,"data-pressed":d}),b=Y(),f=Y();return jsxs("button",{...R(c,s,p,y),style:i.style,className:L(K_({isHovered:u,isFocusVisible:m||i.isOpen,isDisabled:i.isDisabled,labelPosition:i.labelPosition}),"BaselineUI-ColorInputButton",i.className),ref:Z(a,l),id:b,"aria-labelledby":i["aria-labelledby"]||`${b} ${f}`,children:[jsx(gn,{color:e?.toString("hexa"),isIndeterminate:o,indeterminateIcon:n}),t?jsx("div",{className:$_,id:f,"aria-hidden":"true",children:r}):typeof r=="string"&&jsx(Le,{children:r})]})});Eu.displayName="ColorInputButton";var Zm=Mo.forwardRef(({className:e,style:t,icon:r,...o},n)=>{let i=Mo.useRef(null),{hoverProps:a,isHovered:l}=re({isDisabled:o.isDisabled}),{buttonProps:s,isPressed:u}=rt(o,i),{isFocusVisible:c,focusProps:d}=ee(),m=ce({"data-block-id":o["data-block-id"],"data-focused":c,"data-focus-visible":c,"data-disabled":o.isDisabled,"data-hovered":l,"data-pressed":u});return jsxs("button",{...R(s,a,d,m),ref:Z(n,i),style:t,className:L(U_({isHovered:l||u||o.isOpen,isFocusVisible:c,isDisabled:o.isDisabled}),"BaselineUI-IconColorInputButton","BaselineUI-IconColorInput-Button",e),children:[jsx(r,{size:16}),jsx("div",{className:F_,style:{backgroundColor:o.color||void 0}})]})});Zm.displayName="IconColorInputButton";function yI({colorLabel:e,color:t,presets:r,isIndeterminate:o}){let{formatMessage:n}=ye(),{locale:i}=J(),a=useMemo(()=>o?{id:"indeterminate",label:n(fI.indeterminate)}:r.find(u=>u.id===no?!t:t?tI(t,ke(u.id)):false),[r,t,o,n]),l=useMemo(()=>{if(typeof e=="function")return e?.(t,{isIndeterminate:!!o});if(typeof e=="boolean")return e?rI(t,a,n(fI.transparent)):false;throw new TypeError("`colorLabel` must be a function or a boolean")},[t,e,n,a,o]),s=useMemo(()=>{if(a?.label)return a.label;t?.getColorName(i);},[t,i,a?.label]);return {colorName:l,humanReadableName:s}}var fI=Re({transparent:{defaultMessage:"Transparent",id:"transparent"},indeterminate:{defaultMessage:"Indeterminate",id:"indeterminate"}});var ul=Mo.forwardRef(({className:e,style:t,allowRemoval:r,allowAlpha:o=true,presets:n,labelPosition:i="top",colorLabel:a=true,includePicker:l=true,onChange:s,onChangeEnd:u,defaultValue:c,storePickedColorKey:d="baselinePickedColor",value:m,addColorButtonLabel:p,removeColorButtonLabel:y,customColorsLabel:b,onTriggerPress:f,renderTriggerButton:h=({isOpen:C,color:_,ref:z,colorName:w,triggerProps:O,labelId:k,isIndeterminate:M,indeterminateIcon:F})=>jsx(Eu,{...R(O,{...D.label?{"aria-labelledby":k}:{"aria-label":D["aria-label"]}}),ref:z,isOpen:C,isDisabled:D.isDisabled,labelPosition:i,color:_,colorLabel:a,colorName:w,isIndeterminate:M,indeterminateIcon:F}),pickerMode:v="active",offset:g=2,placement:x=i==="start"?"bottom end":"bottom start","data-block-id":T,"data-block-class":P,isIndeterminate:S,indeterminateIcon:E,...D},I)=>{let C=Mo.useRef(null),_=Mo.useRef(null),z=Nt(D),{triggerProps:w,overlayProps:O}=Wr({type:"listbox"},z,C),k=Ft(D.portalContainer),[M,F]=be(m===void 0?void 0:ui(m),ui(c),ne=>s?.(ne?.toFormat("rgba")||null)),{formatMessage:K}=ye(bn),N=useMemo(()=>oI(K(Jm.noColor),n),[n,K]),$=Y(),{colorName:A}=yI({colorLabel:a,color:M,presets:N,isIndeterminate:S}),B=useMemo(()=>N.filter(ne=>r||ne.id!==no),[N,r]),U=p||K(Jm.addColor),oe=y||K(Jm.removeColor),G=b||K(Jm.customColors),W=jsx(dI,{color:M||ku,setColor:ne=>{F(ne),u?.(ne?.toFormat("rgba")||null);},storePickedColorKey:d,addColorButtonLabel:U,removeColorButtonLabel:oe,customColorsLabel:G,pickerMode:v,allowAlpha:o,isIndeterminate:!!S});return jsxs(Fragment,{children:[jsxs("div",{className:L({[V_]:i==="start"},"BaselineUI-ColorInput-Trigger",e),"data-block-id":T,"data-block-class":P,style:t,ref:I,children:[D.label?jsx("label",{id:$,className:B_({labelPosition:i}),children:D.label}):null,h({isOpen:z.isOpen,color:M,ref:C,colorName:A,triggerProps:R(w,{onPress:f}),labelId:$,isIndeterminate:S,indeterminateIcon:E})]}),jsx(dt,{...D,portalContainer:k,placement:x,state:z,offset:g,className:L(jm,"BaselineUI-ColorInput-Popover"),triggerRef:C,overlayProps:O,children:jsxs(nr,{size:"content",className:Hm({includesCustomColorPicker:l}),ref:_,"aria-labelledby":D.label?$:void 0,"aria-label":D["aria-label"],children:[l&&v==="active"?jsxs(Fragment,{children:[jsx(qm,{color:M||ku,setColor:F,allowAlpha:o,onChangeEnd:ne=>{u?.(ne?.toFormat("rgba")||null);}}),W]}):null,!!B.length&&jsxs(Fragment,{children:[l&&v==="active"?jsx(De,{}):null,jsx(Fh,{autoFocus:l&&v==="active"?false:"first",state:z,triggerRef:C,presets:B,color:M,setColor:ne=>{F(ne),u?.(ne?.toFormat("rgba")||null);},isIndeterminate:!!S})]}),l&&v==="lazy"?W:null]})})]})});ul.displayName="ColorInput";var Jm=Re({addColor:{defaultMessage:"Add color",id:"addColor"},removeColor:{defaultMessage:"Remove color",id:"removeColor"},customColors:{defaultMessage:"Custom colors",id:"customColors"},noColor:{defaultMessage:"No color",id:"noColor"},transparent:{defaultMessage:"Transparent",id:"transparent"}});var hI=Mo.forwardRef(({className:e,style:t,icon:r,variant:o="standard","data-block-id":n,tooltip:i=true,iconTooltip:a=true,...l},s)=>{let u=Mo.useRef(null),{tooltipProps:c}=Ot({label:l["aria-label"],tooltip:i}),d=useCallback(({isOpen:m,color:p,ref:y,colorName:b,triggerProps:f,isIndeterminate:h,indeterminateIcon:v})=>jsx(Be,{...c,children:o==="standard"?jsx(Eu,{...f,"aria-label":l["aria-label"],ref:y,isOpen:m,isDisabled:l.isDisabled,color:p,colorLabel:false,colorName:b,isIndeterminate:h,indeterminateIcon:v}):jsx(Zm,{...f,isOpen:m,icon:TextIcon,color:p?.toString("hexa"),ref:y,isDisabled:l.isDisabled,"aria-label":l["aria-label"],isIndeterminate:h,indeterminateIcon:v})}),[l,c,o]);return jsxs(X,{display:"flex",flexDirection:"row",gap:"md",paddingX:o==="standard"?"md":"none",alignItems:"center",className:L("BaselineUI-IconColorInput",e),"data-block-id":n,style:t,ref:Z(s,u),children:[o==="standard"&&r?jsx(Wa,{icon:r,label:l["aria-label"],tooltip:a,"aria-hidden":"true",size:24,isFocusable:false,className:sprinkles({color:"icon.primary"})}):null,jsx(ul,{...l,colorLabel:false,renderTriggerButton:d})]})});hI.displayName="IconColorInput";var vI={redo:"\u0625\u0639\u0627\u062F\u0629",undo:"\u062A\u0631\u0627\u062C\u0639"};var xI={redo:"Opakovat",undo:"Zru\u0161it"};var TI={redo:"Ail-wneud",undo:"Dad-wneud"};var PI={redo:"Gentag",undo:"Fortryd"};var CI={redo:"Wiederholen",undo:"R\xFCckg\xE4ngig machen"};var SI={redo:"\u0395\u03C0\u03B1\u03BD\u03AC\u03BB\u03B7\u03C8\u03B7",undo:"\u0391\u03BD\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7"};var DI={redo:"Redo",undo:"Undo"};var kI={redo:"Redo",undo:"Undo"};var zI={redo:"Rehacer",undo:"Deshacer"};var EI={redo:"Tee sittenkin",undo:"Peru"};var wI={redo:"R\xE9tablir",undo:"Annuler"};var _I={redo:"R\xE9tablir",undo:"Annuler"};var II={redo:"\u05D1\u05D9\u05E6\u05D5\u05E2 \u05DE\u05D7\u05D3\u05E9",undo:"\u05D1\u05D9\u05D8\u05D5\u05DC \u05E4\u05E2\u05D5\u05DC\u05D4"};var RI={redo:"Ponovi",undo:"Vrati"};var LI={redo:"Ulangi",undo:"Kembalikan"};var MI={redo:"Ripristina",undo:"Annulla"};var AI={redo:"\u3084\u308A\u76F4\u3059",undo:"\u53D6\u308A\u6D88\u3059"};var NI={redo:"\uC2E4\uD589\uBCF5\uADC0",undo:"\uC2E4\uD589\uCDE8\uC18C"};var OI={redo:"Buat Semula",undo:"Buat Asal"};var FI={redo:"Gj\xF8r om igjen",undo:"Angre"};var KI={redo:"Opnieuw",undo:"Herstel"};var VI={redo:"Pon\xF3w",undo:"Cofnij"};var BI={redo:"Refazer",undo:"Desfazer"};var $I={redo:"Refazer",undo:"Desfazer"};var HI={redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",undo:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C"};var jI={redo:"Opakova\u0165",undo:"Zru\u0161i\u0165"};var GI={redo:"Uveljavi",undo:"Razveljavi"};var UI={redo:"G\xF6r om",undo:"\xC5ngra"};var WI={redo:"\u0E17\u0E33\u0E0B\u0E49\u0E33",undo:"\u0E16\u0E2D\u0E19\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E01\u0E25\u0E31\u0E1A"};var qI={redo:"Yinele",undo:"Geri Al"};var XI={redo:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",undo:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var YI={redo:"\u91CD\u505A",undo:"\u64A4\u9500"};var ZI={redo:"\u91CD\u4F5C",undo:"\u5FA9\u539F"};var JI={ar:vI,cs:xI,cy:TI,da:PI,de:CI,el:SI,en_GB:DI,en:kI,es:zI,fi:EI,fr_CA:wI,fr:_I,he:II,hr:RI,id:LI,it:MI,ja:AI,ko:NI,ms:OI,nb_NO:FI,nl:KI,pl:VI,pt_PT:BI,pt:$I,ru:HI,sk:jI,sl:GI,sv:UI,th:WI,tr:qI,uk:XI,zh_Hans:YI,zh_Hant:ZI};var Qm=V({defaultClassName:"mnnh5s1 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6la _1yep5z6ld _1yep5z6lp _1yep5z6lo _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ln",variantClassNames:{isInline:{true:"mnnh5s2 _1yep5z6wo _1yep5z6wp _1yep5z6wq _1yep5z6xc _1yep5z6xd _1yep5z6xe _1yep5z6y0 _1yep5z6y1 _1yep5z6y2 _1yep5z6yo _1yep5z6yp _1yep5z6yq _1yep5z6138 _1yep5z6183 _1yep5z6184",false:"_1yep5z617q _1yep5z6127"},isHovered:{true:"mnnh5s4"},hasLoadedImage:{true:"_1yep5z6126"},includeCheckeredBackground:{true:"mnnh5s6"},showFocusRing:{true:"_1yep5z613j _1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"mnnh5s8 _1yep5z6zd"}},defaultVariants:{},compoundVariants:[[{isHovered:true,hasLoadedImage:false},"_1yep5z61oh"],[{isHovered:true,hasLoadedImage:true},"mnnh5s9"],[{isInline:true,isDisabled:true},"_1yep5z61pb"],[{hasLoadedImage:true,includeCheckeredBackground:true},"_1yep5z61o9"]]}),QI="_1yep5z6d8",ef=V({defaultClassName:"mnnh5sa",variantClassNames:{isInline:{true:"mnnh5sb",false:"mnnh5sc"},isDisabled:{true:"mnnh5sd"},hasLoadedImage:{true:"mnnh5s0"}},defaultVariants:{},compoundVariants:[]});var eR=V({defaultClassName:"_1i0ytqa3 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6ln _1yep5z6lo _1yep5z6lq",variantClassNames:{isFocusVisible:{true:"_1i0ytqa4"},isInline:{true:"_1yep5z612f",false:"_1yep5z612h"},isDisabled:{true:"_1i0ytqa7 _1yep5z6zd",false:"_1i0ytqa8"}},defaultVariants:{},compoundVariants:[[{isInline:true,isFocusVisible:true},"_1i0ytqa9 _1yep5z61p7 _1yep5z61u5 _1yep5z61u7"],[{isInline:false,isFocusVisible:true},"_1i0ytqaa"],[{isInline:true,isDisabled:true},"_1yep5z61oi"],[{isInline:false,isDisabled:true},"_1yep5z61ok"]]}),tR="_1i0ytqa0",tf=V({defaultClassName:"_1i0ytqab _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z6126"},isDisabled:{true:"_1i0ytqad _1yep5z6zd"}},defaultVariants:{},compoundVariants:[]}),rR=V({defaultClassName:"_1i0ytqa1 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b"}},defaultVariants:{},compoundVariants:[]});function oR({line:e,options:t}){let r=useRef([]),o=useMemo(()=>{let n=Math.ceil(e.length/cl),i;for(let a=0;a<n;a++)if(!(!(a===n-1)&&!!r.current[a])){let u=e.slice(a*cl-(a>0?1:0),a*cl+cl);i=Ip(getStroke(u.map(([c,d,m])=>({x:c,y:d,pressure:m})),t)),u.length>=(a>0?cl+1:cl)&&(r.current[a]=i);}return i},[e,t]);return [...r.current,o]}var cl=60*3;var k9={size:1,thinning:0,smoothing:0,streamline:0,easing:e=>e,start:{taper:0,easing:e=>e,cap:true},end:{taper:0,easing:e=>e,cap:true},simulatePressure:false},iR=Mo.forwardRef(({className:e,style:t,canvasClassName:r,canvasStyle:o,isBound:n=true,strokeWidth:i=2,strokeColor:a="#3A87FD",onChange:l,defaultValue:s,onChangeEnd:u,enableHistory:c=false,isInline:d=true,isDisabled:m,placeholder:p,clearLabel:y,undoLabel:b,redoLabel:f,footerClassName:h,canvasRef:v,value:g,footerStyle:x,"data-block-id":T,"data-block-class":P,"aria-label":S="Drawing canvas",description:E="This is a canvas for drawing using a mouse or touch input.",...D},I)=>{let C=ye(JI),_=Mo.useRef(null),[z,w]=Mo.useState(g||s||[]),O=Mo.useMemo(()=>({...k9,...D}),[D]),[k,M]=Mo.useState(),F=Y(),{labelProps:K,fieldProps:N}=vt({...D,"aria-label":S,labelElementType:"span"}),{isFocusVisible:$,focusProps:A}=ee({within:true}),{hoverProps:B,isHovered:U}=re({isDisabled:m}),{undo:oe,redo:G,canRedo:W,canUndo:ne,push:Q}=CD(z,{onAction:Fe=>{Fe&&(w(Fe),u?.(Fe));},isDisabled:!c}),{keyboardProps:de}=Ce({onKeyDown:Fe=>{Fe.key==="Backspace"?Qe():Fe.key==="z"&&(Fe.metaKey||Fe.ctrlKey)&&(Fe.shiftKey?W&&G():ne&&oe());}}),[he,Ae]=useState(false),it=useCallback(Fe=>{let we=Fe.currentTarget.getBoundingClientRect();M(we),Fe.target.setPointerCapture(Fe.pointerId);let q=[Fe.clientX-we.x,Fe.clientY-we.y,Fe.pressure];w(fe=>[...fe,[q]]),Ae(true);},[]),Pe=useCallback(Fe=>{if(Fe.buttons!==1||!k)return;let q=sR(Fe.nativeEvent).map(fe=>[n?Ne(fe.clientX-k.left,0,k.width):fe.clientX-k.left,n?Ne(fe.clientY-k.top,0,k.height):fe.clientY-k.top,fe.pressure]);w(fe=>{let $e=[...fe];return $e[fe.length-1]=[...$e[fe.length-1],...q],$e});},[k,n]),Te=()=>{k&&(u?.(z),Q(z),Ae(false));};useEffect(()=>{l?.(z);},[z,l]);let Qe=()=>{w([]),l?.([]),Q([]);};return jsxs("div",{ref:Z(_,I),className:L(tR,"BaselineUI-FreehandCanvas",e),style:t,"aria-disabled":m,"data-block-id":T,"data-block-class":P,children:[D.label||c?jsxs("div",{className:rR({isInline:d}),children:[D.label?jsx(Ze,{type:"label",size:"sm",...K,children:D.label}):jsx("span",{}),c?jsxs("div",{children:[jsx(me,{variant:"secondary",size:"sm",isDisabled:!ne||m,icon:UndoIcon,onPress:oe,"aria-label":b||C.formatMessage("undo")}),jsx(me,{variant:"secondary",size:"sm",isDisabled:!W||m,icon:RedoIcon,onPress:G,"aria-label":f||C.formatMessage("redo")})]}):null]}):null,jsxs("div",{role:"application",...R(A,de,B,N),tabIndex:m?void 0:0,className:L(Qm({isInline:d,isHovered:U}),eR({isFocusVisible:$,isInline:d,isDisabled:!!m}),r),"aria-describedby":D["aria-describedby"]||F,style:o,ref:v,children:[jsx(Le,{children:jsx("div",{id:F,children:E})}),jsx("svg",{width:o?.width||"100%",height:o?.height||"100%",onPointerDown:it,onPointerMove:Pe,onPointerUp:Te,children:(g||z).map((Fe,we,q)=>we<q.length-1||!he?jsx(aR,{line:Fe,options:O,strokeColor:a,strokeWidth:i},we):jsx(lR,{line:Fe,options:O,strokeColor:a,strokeWidth:i},we))})]}),p||y?jsx("div",{style:x,className:L(tf({isInline:d,isDisabled:m}),h),children:(z.length||!p)&&y?jsx(Ie,{size:"sm",variant:"ghost",label:y,isDisabled:m,onPress:Qe}):jsx(Ie,{size:"sm",variant:"ghost",label:p,isDisabled:true})}):null]})});iR.displayName="FreehandCanvas";var aR=Mo.memo(({line:e,options:t,strokeColor:r,strokeWidth:o})=>{let n=useMemo(()=>Ip(getStroke(e.map(([i,a,l])=>({x:i,y:a,pressure:l})),t)),[e,t]);return jsx("path",{d:n,stroke:r,strokeWidth:o})});aR.displayName="Stroke";var lR=Mo.memo(({line:e,options:t,strokeColor:r,strokeWidth:o})=>{let n=oR({line:e,options:t});return jsx(Fragment,{children:n.map((i,a)=>jsx("path",{d:i,stroke:r,strokeWidth:o},a))})});lR.displayName="SplitStroke";function sR(e){if(typeof e.getCoalescedEvents=="function"){let t=e.getCoalescedEvents();return t.length>0?t.flatMap(r=>sR(r)):[e]}return [e]}var uR="_1vac7ws0",cR=V({defaultClassName:"_1vac7ws1",variantClassNames:{isDragging:{true:"_1vac7ws2"}},defaultVariants:{},compoundVariants:[]});function pR(e,t){let[r,o]=useState([]),n=()=>e?.flatMap(i=>[...t.querySelectorAll(i)]).map(i=>({current:i}));return useGranularEffect(()=>{o(n());},[],[n]),useGranularEffect(()=>{let i=n();o(i);},[e],[n]),r}function mR(e){let{scrollable:t,ownerDocument:r,onScroll:o}=e;useEffect(()=>{let n=Ep(t,r);if(n)return (n.style.position==="static"||!n.style.position)&&console.warn("Scrollable ancestor passed to `Transform` component should not be statically positioned."),n.addEventListener("scroll",o),()=>{n.removeEventListener("scroll",o);}},[t,o,r]);}var K9=makeMoveable([Draggable,Resizable,Rotatable,Snappable]),yR=Mo.forwardRef(({className:e,children:t,isRotatable:r,isResizable:o,isDraggable:n,style:i,onTransform:a,onTransformStart:l,onTransformEnd:s,onDoubleClick:u,onDragStart:c,onDragEnd:d,onDrag:m,onResizeStart:p,onResizeEnd:y,onResize:b,onRotateStart:f,onRotateEnd:h,onRotate:v,onSnap:g,isSnappable:x,elementGuidelines:T,hideAnchorOnDrag:P=true,title:S,rotationPosition:E,autoUpdate:D,bound:I,snapRotationDegrees:C,snapRotationThreshold:_,scrollableAncestor:z,renderDirections:w,stopPropagation:O,transformOrigin:k,preventDefault:M},F)=>{let K=useRef(null),N=useRef(null),[$,A]=useState(document),B=useRef($.createElement("div")),[U,oe]=useState({}),[G,W]=useState(false),[ne,Q]=useState(false),[de,he]=useState(),Ae=pR(T,$);useLayoutEffect(()=>{let we=B.current;return B.current=$.createElement("div"),()=>{we.remove();}},[$]);let{keyboardProps:it}=Ce({onKeyDown:we=>{let q=we.shiftKey?10:1,fe=we.metaKey||we.ctrlKey;fe&&we.shiftKey&&(q=45);function $e(Rt,yr="x"){fe?N.current?.request("rotatable",{deltaRotate:Rt*q},true):N.current?.request("draggable",yr==="x"?{deltaX:Rt*q}:{deltaY:Rt*q},true);}switch(we.key){case "ArrowRight":{$e(1);break}case "ArrowLeft":{$e(-1);break}case "ArrowUp":{$e(-1,"y");break}case "ArrowDown":$e(1,"y");}requestAnimationFrame(()=>{N.current?.updateRect();});}});useEffect(()=>{let we=H(K.current);A(we);let q=B.current;we.body.append(B.current);function fe(Rt){Q(Rt.shiftKey);}function $e(){Q(false);}return we.addEventListener("keydown",fe),we.addEventListener("keyup",$e),()=>{we.removeEventListener("keydown",fe),we.removeEventListener("keyup",$e),q.remove();}},[]),mR({scrollable:z,onScroll:()=>{N.current?.updateRect();},ownerDocument:$});let Pe=useCallback(we=>{oe(q=>({...q,...we.style})),a?.(we);},[a]),Te=useCallback(we=>{if(W(true),K.current?.focus(),I){let fe=Ep(I,$)?.getBoundingClientRect();he({position:"client",left:fe?.left??0,top:fe?.top??0,right:fe?.right??0,bottom:fe?.bottom??0});}c?.(we);},[I,$,c]),Qe=useCallback(we=>{W(false),d?.(we);},[d]),Fe=t({style:{...U.width&&{width:U.width},...U.height&&{height:U.height}}});return jsxs(Fragment,{children:[jsx("div",{role:"button",...it,ref:Z(K,F),style:{display:"inline-block",...i,...U},className:L(uR,e),onDoubleClick:u,tabIndex:0,title:S,children:Fe}),createPortal(jsx(K9,{ref:N,target:K,draggable:n,resizable:o,rotatable:r,keepRatio:ne,throttleDrag:1,snappable:x||!!I,elementGuidelines:Ae,snapRenderThreshold:.9,className:cR({isDragging:G&&P}),onRender:Pe,onDragStart:Te,onDragEnd:Qe,useResizeObserver:D,useMutationObserver:D,onRenderEnd:s,onDrag:m,onResizeStart:p,onResizeEnd:y,onResize:b,onRotateStart:f,onRotateEnd:h,onRotate:v,onRenderStart:l,onSnap:g,rotationPosition:E,bounds:de,snapRotationDegrees:C,snapRotationThreshold:_,renderDirections:w,stopPropagation:O,preventDefault:M,transformOrigin:k}),B.current)]})});yR.displayName="Transform";var bR={delete:"\u062D\u0630\u0641",selectImage:"\u062A\u062D\u062F\u064A\u062F \u0635\u0648\u0631\u0629"};var gR={delete:"Smazat",selectImage:"Vybrat obr\xE1zek"};var hR={delete:"Dileu",selectImage:"Dewiswch Ddelwedd"};var vR={delete:"Slet",selectImage:"V\xE6lg billede"};var xR={delete:"L\xF6schen",selectImage:"Bild ausw\xE4hlen"};var TR={delete:"\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE",selectImage:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03B9\u03BA\u03CC\u03BD\u03B1\u03C2"};var PR={delete:"Delete",selectImage:"Select Image"};var CR={delete:"Delete",selectImage:"Select Image"};var SR={delete:"Eliminar",selectImage:"Seleccionar imagen"};var DR={delete:"Poista",selectImage:"Valitse kuva"};var kR={delete:"Supprimer",selectImage:"S\xE9lectionner une image"};var zR={delete:"Supprimer",selectImage:"S\xE9lectionner une image"};var ER={delete:"\u05DE\u05D7\u05D9\u05E7\u05D4",selectImage:"\u05D1\u05D7\u05D9\u05E8\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4"};var wR={delete:"Obri\u0161i",selectImage:"Odaberi sliku"};var _R={delete:"Hapus",selectImage:"Pilih Gambar"};var IR={delete:"Elimina",selectImage:"Seleziona immagine"};var RR={delete:"\u524A\u9664",selectImage:"\u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"};var LR={delete:"\uC0AD\uC81C",selectImage:"\uC774\uBBF8\uC9C0 \uC120\uD0DD"};var MR={delete:"Padam",selectImage:"Pilih Imej"};var AR={delete:"Slett",selectImage:"Velg bilde"};var NR={delete:"Verwijder",selectImage:"Selecteer afbeelding"};var OR={delete:"Usu\u0144",selectImage:"Wybierz obraz"};var FR={delete:"Apagar",selectImage:"Selecionar imagem"};var KR={delete:"Apagar",selectImage:"Selecionar Imagem"};var VR={delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",selectImage:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0438\u0437\u043E\u0431\u0440."};var BR={delete:"Zmaza\u0165",selectImage:"Vybra\u0165 obr\xE1zok"};var $R={delete:"Izbri\u0161i",selectImage:"Izberi sliko"};var HR={delete:"Radera",selectImage:"V\xE4lj bild"};var jR={delete:"\u0E25\u0E1A",selectImage:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E"};var GR={delete:"Sil",selectImage:"Resim Se\xE7"};var UR={delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",selectImage:"\u041E\u0431\u0440\u0430\u0442\u0438 \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"};var WR={delete:"\u5220\u9664",selectImage:"\u9009\u62E9\u56FE\u50CF"};var qR={delete:"\u522A\u9664",selectImage:"\u9078\u53D6\u5716\u50CF"};var XR={ar:bR,cs:gR,cy:hR,da:vR,de:xR,el:TR,en_GB:PR,en:CR,es:SR,fi:DR,fr_CA:kR,fr:zR,he:ER,hr:wR,id:_R,it:IR,ja:RR,ko:LR,ms:MR,nb_NO:AR,nl:NR,pl:OR,pt_PT:FR,pt:KR,ru:VR,sk:BR,sl:$R,sv:HR,th:jR,tr:GR,uk:UR,zh_Hans:WR,zh_Hant:qR};var ZR=Mo.forwardRef(({className:e,style:t,isInline:r=true,accept:o="image/*",defaultImageSrc:n,imageSrc:i,imageAlt:a,pickerButtonLabel:l,isDisabled:s,onDrop:u,onPaste:c,includeCheckeredBackground:d=true,"data-block-id":m,"data-block-class":p,pickerButtonStyle:y,pickerButtonClassName:b,footerClassName:f,footerStyle:h,clearLabel:v,placeholder:g,labelStyle:x,labelClassName:T,...P},S)=>{let E=Mo.useRef(null),D=Mo.useRef(null),{formatMessage:I}=ye(XR),[C,_]=be(i,n||null,he=>{ie(typeof he!="string"),P.onValueChange?.(he?[he]:[]);}),z=useMemo(()=>P3(C||void 0),[C]),{fieldProps:w,labelProps:O}=Jt({...P,ref:E}),{dropProps:k,isDropTarget:M}=Jo({ref:E,onDrop:async he=>{if(s)return;let Ae=await ch({items:he.items});Ae.length&&_(Ae[0]),u?.(he);},...P}),{clipboardProps:F}=fd({onPaste:async he=>{if(s)return;let Ae=await ch({items:he});Ae.length&&_(Ae[0]),c?.(he);},...P}),K=()=>{_(null),D.current&&(D.current.value="");},N={type:"file",onChange:he=>{let Ae=[...he.target.files];_(Ae[0]),P.onChange?.(he);},accept:o,disabled:s},{focusProps:$,isFocused:A,isFocusVisible:B}=ee({within:true}),{hoverProps:U,isHovered:oe}=re({isDisabled:s}),{imgProps:G,isLoading:W,isLoaded:ne}=em({src:z,alt:a||""}),Q={label:l||I("selectImage"),onPress:()=>E.current?.click(),variant:"secondary",isDisabled:s,excludeFromTabOrder:true,className:L(Xp({isFocusVisible:B}),{[QI]:M&&!s},b),style:y},de=ce({"data-loaded":ne,"data-block-id":m,"data-block-class":p,"data-hovered":oe,"data-focused":A,"data-drop-target":M,"data-disabled":s,"data-focus-visible":B});return jsxs(X,{...de,className:L("BaselineUI-ImageDropZone",e),display:"flex",flexDirection:"column",alignItems:"center",style:t,ref:S,children:[jsxs("label",{...R(k,U,$,O),className:L(Qm({isInline:r,isHovered:oe,isDisabled:s,hasLoadedImage:!!z&&ne,showFocusRing:M||!!z&&B}),T),style:x,ref:E,children:[jsx(Le,{children:jsx("input",{...R(w,F,N),ref:D})}),!z&&jsx(Ie,{...Q}),!!z&&(W?jsx(Qa,{}):jsx("img",{className:ef({isInline:r,isDisabled:s,hasLoadedImage:!!z&&ne&&d}),...G}))]}),g||v?jsx("div",{style:h,className:L(tf({isInline:r,isDisabled:s}),f),children:(z||!g)&&v?jsx(Ie,{size:"sm",variant:"ghost",label:v,isDisabled:s,onPress:K}):jsx(Ie,{size:"sm",variant:"ghost",label:g,isDisabled:true})}):null]})});ZR.displayName="ImageDropZone";function P3(e){return e instanceof File?URL.createObjectURL(e):e}var JR="_1vm2oh49 _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6g4",Gh="_1vm2oh48 _1yep5z6lo _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",QR=V({defaultClassName:"_1vm2oh40 mnnh5s1 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6lt _1yep5z6lr _1yep5z6ic _1yep5z6lu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6lp _1yep5z6id _1yep5z6ie _1yep5z6if",variantClassNames:{accent:{theme:"_1vm2oh41",positive:"_1vm2oh42"},isInline:{true:"mnnh5s2 _1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6137 _1yep5z6182 _1yep5z6184",false:"_1yep5z612h"},isFocusVisible:{true:"_1yep5z613j _1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"mnnh5s8 z9nup82 _1yep5z6zd"},isHovered:{true:"_1vm2oh47"}},defaultVariants:{},compoundVariants:[[{accent:"positive",isInline:true},"_1yep5z61oi"],[{accent:"theme",isInline:true},"_1yep5z61o7"],[{accent:"positive",isInline:false},"_1yep5z61ok"],[{accent:"theme",isInline:false},"_1yep5z61o9"],[{isFocusVisible:true,isInline:true},"_1yep5z61q3 _1yep5z61tx _1yep5z61tz _1yep5z61u0"],[{isHovered:true,isInline:true},"_1yep5z61u0 _1yep5z61q3 _1yep5z61tx _1yep5z61tz"],[{isHovered:true,isInline:false,accent:"positive"},"_1yep5z61oj"],[{isHovered:true,isInline:false,accent:"theme"},"_1yep5z61ob"],[{isHovered:true,isInline:true,accent:"theme"},"_1yep5z61o8"]]});var tL=Mo.forwardRef(({className:e,style:t,isDisabled:r,isInline:o=true,imageAlt:n,imageSrc:i,svgSrc:a,textValue:l,textStyle:s,onPress:u,onDelete:c,deleteAriaLabel:d,addAriaLabel:m,accent:p="positive","data-block-id":y,"data-block-class":b,...f},h)=>{let{focusProps:v,isFocused:g,isFocusVisible:x}=ee({within:true}),{isHovered:T,hoverProps:P}=re({isDisabled:r}),{pressProps:S}=Se({isDisabled:r,onPress:u});ie(i||a||l,"Preview must have content. You must provide either an `imageSrc`, `svgSrc`, or `textValue` prop.");let E=ce({"data-hovered":T,"data-focus-visible":x,"data-focused":g,"data-disabled":r});return jsxs("div",{...f,className:L(QR({isInline:o,isFocusVisible:x,isDisabled:r,isHovered:T,accent:p}),"BaselineUI-Preview",e),"data-block-id":y,"data-block-class":b,"aria-label":f["aria-label"]||n||l,style:t,ref:h,children:[typeof a=="string"?jsx("button",{disabled:r,...R(P,v,S,E),className:Gh,"aria-label":m,dangerouslySetInnerHTML:{__html:a}}):jsxs("button",{...R(P,v,S,E),disabled:r,style:s,"aria-label":m,className:Gh,children:[i?jsx("img",{src:i,alt:n,className:ef({isInline:o,isDisabled:r})}):null,!!a&&typeof a=="object"&&a,l]}),c?jsx(me,{isDisabled:r,className:JR,"aria-label":d,size:"xs",icon:TrashIcon,onPress:c}):null]})});tL.displayName="Preview";var rL="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e",oL=V({defaultClassName:"cw3m0n5 _1yep5z6ew _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),nL="cw3m0n4",iL="_1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6lk",aL=V({defaultClassName:"cw3m0n0 _1yep5z61j6 _1yep5z61j7 _1yep5z61j8 _1yep5z61ju _1yep5z61jv _1yep5z61jw _1yep5z61ki _1yep5z61kj _1yep5z61kk _1yep5z61l6 _1yep5z61l7 _1yep5z61l8 _1yep5z61nb _1yep5z61tg",variantClassNames:{isHovered:{true:"cw3m0n1"},isReadOnly:{true:"cw3m0n2"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isReadOnly:false},"cw3m0n3"]]});var k3=({label:e,description:t},{isSelected:r,isFocusVisible:o,isDisabled:n,optionLabelPosition:i,isHovered:a,isReadOnly:l})=>jsxs("div",{className:wm({labelPosition:i}),children:[jsx("div",{className:L(el({isSelected:r,isFocusVisible:o,isDisabled:n,isReadOnly:l,isHovered:a}),aL({isHovered:a})),children:r?jsx("div",{className:nL}):null}),e?jsxs("div",{className:rL,children:[jsx("span",{className:Em({isDisabled:n}),children:e}),t?jsx("span",{className:oL({isDisabled:n}),children:t}):null]}):null]}),lL=({state:e,renderOption:t=k3,item:r,optionLabelPosition:o="end",optionStyle:n,optionClassName:i,isReadOnly:a,...l})=>{let s=!!l.isDisabled||!!l.disabledValues?.includes(r.id),u=Mo.useRef(null),{inputProps:c,isPressed:d,isSelected:m}=gd({...l,isDisabled:s,children:r.label,value:r.id},e,u),{focusProps:p,isFocusVisible:y,isFocused:b}=ee(),{hoverProps:f,isHovered:h}=re({isDisabled:s},u),v=ce({"data-selected":m,"data-focused":b,"data-focus-visible":y,"data-hovered":h,"data-disabled":s,"data-pressed":d,"data-read-only":a});return jsxs("label",{...f,...v,style:n,className:L("BaselineUI-Radio-Item",i),children:[jsx(Le,{children:jsx("input",{...R(c,p),ref:u})}),t(r,{isFocusVisible:y,isSelected:m,isFocused:b,isHovered:h,isDisabled:s,optionLabelPosition:o,isReadOnly:a})]})};var uL=Mo.forwardRef(({className:e,style:t,optionsContainerClassName:r,optionsContainerStyle:o,items:n,labelPosition:i="top",renderOption:a,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,"aria-details":c,"data-block-id":d,"data-block-class":m,...p},y)=>{let b=ge(y),f=Zd(p),{radioGroupProps:h,labelProps:v,descriptionProps:g,errorMessageProps:x}=hd({...p,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,"aria-details":c},f,b),T=or({...p,descriptionProps:g,errorMessageProps:x,labelPosition:i}),P=ce({"data-orientation":p.orientation,"data-block-id":d,"data-block-class":m,"data-disabled":p.isDisabled,"data-readonly":p.isReadOnly});return jsxs("div",{...R(h,P),className:L(sn({labelPosition:i}),"BaselineUI-RadioGroup",e),style:t,ref:b,children:[p.label||T?jsxs("div",{className:ln({labelPosition:i,hasMessage:!!T}),children:[jsx("span",{...v,className:L(Ka,"BaselineUI-RadioGroup-Label"),children:p.label}),i==="start"&&T]}):null,jsx("div",{className:L(iL,{[Ba]:p.isDisabled},r),style:o,children:n.map(S=>jsx(lL,{state:f,renderOption:a,item:S,...p,value:S.id},S.id))}),i==="top"&&T]})});uL.displayName="RadioGroup";var cL=({id:e,defaultMessage:t,elementType:r=Fragment$1})=>{ie(e||t,"`id` or `defaultMessage` is required.");let o=ye();return jsx(r,{children:o.formatMessage(e)||t})};cL.displayName="MessageFormat";var dL=Mo.forwardRef(({className:e,style:t,children:r,"data-block-id":o,"data-block-class":n,role:i="group",isDisabled:a,...l},s)=>{let{hoverProps:u,isHovered:c}=re({isDisabled:a});return jsx("div",{...u,role:i,"data-hovered":c,"data-disabled":a,"data-block-id":o,"data-block-class":n,className:e,style:t,...l,ref:s,children:r})});dL.displayName="Group";var Xh="UNSUPPORTED_IN_MENU";function mL(e){return useMemo(()=>Mo.Children.toArray(e).map(t=>{let r=t,o=uniqueId("item"),n=Lu(r,ko),i=pL(r),a,l;if(n){let h=Lu(n,zo);ie(h),a=pL(h),l=Lu(n,dt).props.children;}else i?a=i:a=r;let{onPress:s,label:u,"aria-label":c,iconStart:d,isDisabled:m,icon:p}=a.props,y=u||c||Xh;ie(typeof y=="string","ActionGroup children must have a string label");let b=`${o}-${y}`;return createElement(Mr,{...{key:b,onPress:s,textValue:y,"aria-label":c,icon:d||p,dialogContent:l,isDisabled:m},key:b},r)}),[e])}function Lu(e,t){return t?flatMapDeep(Mo.Children.toArray(e),o=>Mo.isValidElement(o)&&o.props.children?[o,...Mo.Children.toArray(o.props.children)]:[o]).find(o=>Mo.isValidElement(o)&&o.type===t):void 0}function pL(e){return Lu(e,Ie)||Lu(e,me)}var fL="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6ln _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6lf",yL={horizontal:"xvr3wn0",vertical:"xvr3wn1"};var N3=new Set(["text","search","password","tel","url"]);function of({props:e,ref:t}){let{toolbarProps:r}=AP(e,t),{direction:o}=J(),n=o==="rtl";return {toolbarProps:{...r,onKeyDownCapture:i=>{let a=i.target;if(O3(a)&&N3.has(a.type)){let l=a.selectionStart===0,s=a.selectionEnd===a.value.length;(l&&(n&&i.key==="ArrowRight"||!n&&i.key==="ArrowLeft")||s&&(n&&i.key==="ArrowLeft"||!n&&i.key==="ArrowRight"))&&r.onKeyDownCapture?.(i);return}r.onKeyDownCapture?.(i);}}}}function O3(e){return e.tagName.toLowerCase()==="input"}var Zh=Mo.forwardRef(({className:e,style:t,children:r,collapsibleMenuProps:o,"data-block-id":n,"data-block-class":i,renderSpacer:a,onKeyDown:l,isSingleTabStop:s=true,...u},c)=>{let{formatMessage:d}=ye(),[m,p]=useState(),y=mL(r),b=xt({...u,children:y}),f=ge(c),h=useRef(null),[{visibleItems:v,isMeasuring:g},x]=Cl({visibleItems:b.collection.size,isMeasuring:false}),T=useCallback(()=>{let z=w=>{if(h.current&&f.current){let O=[...h.current.children],k=f.current.getBoundingClientRect().width,M=w<b.collection.size,F=0,K=0;if(M){let N=O.pop();N&&(F+=hL(N,false,true));}for(let[N,$]of O.entries())if(F+=hL($,N===0,N===O.length-1),Math.round(F)<=Math.round(k))K++;else break;return K}return w};x(function*(){yield {visibleItems:b.collection.size,isMeasuring:true};let w=z(b.collection.size),O=w<b.collection.size&&w>0;yield {visibleItems:w,isMeasuring:O},O&&(yield {visibleItems:z(w),isMeasuring:false});});},[x,f,b.collection.size]),P=useMemo(()=>({get current(){return f.current?.parentElement}}),[f]);Br({ref:P,onResize:T}),ae(T,[b.collection,T]);let{toolbarProps:S}=of({props:{...u,isSingleTabStop:s},ref:f}),E=[...b.collection],D=E.slice(0,v),I=E.slice(v).filter(z=>z.textValue!==Xh),C=I.length>0;useEffect(()=>{p(void 0);},[I.length]),useEffect(()=>{u.orientation==="vertical"&&console.warn("Toolbar: Vertical orientation is not supported when `isCollapsible` is true.");},[u.orientation]);let{keyboardProps:_}=Ce({onKeyDown:l});return jsxs(zt,{children:[jsx("div",{...R(S,_),className:e,"data-block-id":n,"data-block-class":i,"data-collapse":true,style:{...t,flexBasis:g?"100%":void 0},ref:f,children:jsxs("div",{ref:h,className:fL,children:[D.map(z=>z.rendered),C?jsxs(Fragment,{children:[!g&&a?jsx(X,{flexGrow:1}):null,jsx(Pm,{placement:"bottom end",renderTrigger:({buttonProps:z,ref:w})=>jsx(me,{...z,size:"md",icon:MoreIcon,"aria-label":d(H3.more),variant:"toolbar",ref:w,tooltip:true}),...o,disabledKeys:I.filter(z=>z.props?.isDisabled).map(z=>z.key),items:I.map(z=>{let w=z.textValue||z["aria-label"];return ie(w,"ActionItem must have a label"),{id:z.key,label:w,icon:z.props.icon}}),onAction:z=>{let w=b.collection.getItem(z);ie(w,"Item not found");let{onPress:O,dialogContent:k}=w.props;O?.(),p(k);}})]}):null]})}),jsx(ro,{isOpen:!!m,onOpenChange:z=>{z||p(void 0);},children:jsx(oo,{enableDrawer:"auto",style:{zIndex:1e5},children:m?Mo.cloneElement(m,{inheritDrawer:true}):null})})]})});Zh.displayName="CollapsibleToolbar";function hL(e,t,r){let n=j(e).getComputedStyle(e);return e.getBoundingClientRect().width+(t?0:vL(n.marginLeft))+(r?0:vL(n.marginRight))}function vL(e){let t=Number.parseInt(e,10);return Number.isNaN(t)?0:t}var H3=Re({more:{id:"more",defaultMessage:"More"}});var Jh=Mo.forwardRef(({className:e,style:t,isSingleTabStop:r=true,"data-block-id":o,"data-block-class":n,"aria-controls":i,onKeyDown:a,...l},s)=>{let u=Mo.useRef(null),{toolbarProps:c}=of({props:{...l,isSingleTabStop:r},ref:u}),{keyboardProps:d}=Ce({onKeyDown:a});return jsx("div",{...R(c,d),...i?{"aria-controls":i}:{},className:L(yL[l.orientation||"horizontal"],"BaselineUI-Toolbar",e),style:t,"data-block-id":o,"data-block-class":n,ref:Z(s,u),children:l.children})});Jh.displayName="WrappedToolbar";var nf=Mo.forwardRef((e,t)=>{let r=e.isCollapsible?Zh:Jh;return jsx(r,{...e,ref:t})});nf.displayName="Toolbar";var TL=V({defaultClassName:"_1j5skr71",variantClassNames:{size:{xxs:"_1j5skr72",xs:"_1j5skr73",sm:"_1j5skr74",md:"_1j5skr75",lg:"_1j5skr76"}},defaultVariants:{},compoundVariants:[]}),PL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6g1 _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7g"},isFocusVisible:{true:"_1j5skr7h"},isDisabled:{true:"z9nup82 _1yep5z611a"},isSelected:{true:"_1j5skr7j"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:true},"_1yep5z61u0 _1yep5z61tz _1yep5z61tx _1yep5z61qd _1yep5z61nd"],[{isSelected:false,isHovered:true,isDisabled:false},"_1yep5z6g3"],[{isSelected:false,isFocusVisible:true,isDisabled:false},"_1yep5z61u0 _1yep5z61tz _1yep5z61q3 _1yep5z61tx"],[{isSelected:true,isFocusVisible:true,isDisabled:false},"_1j5skr7k _1yep5z61ty _1yep5z61tx _1yep5z61q4 _1yep5z61ne"],[{isSelected:true,isFocusVisible:false,isDisabled:false},"_1yep5z61tx _1yep5z61tz _1yep5z61q3 _1yep5z61u0"]]}),CL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7m"},isFocusVisible:{true:"_1yep5z617x _1yep5z617w _1yep5z6140 _1yep5z617u"},isSelected:{true:"_1yep5z6119"},isDisabled:{true:"z9nup82 _1yep5z611a"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isHovered:true},"_1yep5z61nc"]]}),SL=V({defaultClassName:"_1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr7r"},isFocusVisible:{true:"_1yep5z617x _1yep5z617w _1yep5z6140 _1yep5z617u"},isSelected:{true:"_1j5skr7t"},isDisabled:{true:"z9nup82 _1yep5z611a"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isHovered:true},"_1yep5z61o9"],[{isSelected:true,isDisabled:false},"_1yep5z61o9 _1yep5z61ng"],[{isSelected:true,isDisabled:true},"_1yep5z61o9 _1yep5z61nd"]]}),DL=V({defaultClassName:"_1j5skr77 _1j5skr70 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lp _1yep5z6lq _1yep5z6lk _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6f5",variantClassNames:{isHovered:{true:"_1j5skr78"},isFocusVisible:{true:"_1j5skr79"},isSelected:{true:"_1j5skr7a"},isDisabled:{true:"_1j5skr7b z9nup82 _1yep5z611c"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isDisabled:false},"_1j5skr7c _1yep5z61nf"],[{isSelected:false,isDisabled:true},"_1j5skr7d _1yep5z61nd"],[{isSelected:false,isHovered:true},"_1yep5z61o9"],[{isSelected:false,isFocusVisible:true},"_1yep5z61u0 _1yep5z61tz _1yep5z61q3 _1yep5z61tx"],[{isSelected:true,isFocusVisible:true},"_1j5skr7e _1yep5z61ty _1yep5z61tx _1yep5z61q4"]]});var X3={xxs:8,xs:12,sm:16,md:20,lg:24},fr=Mo.forwardRef((e,t)=>{let r=ge(t),{tooltipProps:o}=Up(e,r);return o?jsx(Be,{...o,children:jsx(Qh,{...e,ref:t})}):jsx(Qh,{...e,ref:t})});fr.displayName="ToggleIconButton";var Qh=Mo.forwardRef(({className:e,style:t,icon:r,size:o="md",variant:n="primary","data-block-id":i,"data-block-class":a,...l},s)=>{let u=Pr(l),{buttonProps:c,isPressed:d,ref:m,isFocusVisible:p,isFocused:y,isHovered:b,uiStateOptions:f}=qp(l,u),h=useMemo(()=>typeof r=="function"?r:u.isSelected?r.selected:r.unselected,[r,u.isSelected]),v={isSelected:u.isSelected,isHovered:b,isFocusVisible:p,isDisabled:!!l.isDisabled},g=ce({"data-hovered":b,"data-selected":u.isSelected,"data-focus-visible":p,"data-disabled":l.isDisabled,"data-block-id":i,"data-block-class":a,"data-focused":y,"data-pressed":d});return jsx("button",{...R(c,g),className:L(n==="toolbar"&&DL(v),n==="primary"&&PL(v),n==="secondary"&&CL(v),n==="tertiary"&&SL(v),TL({size:o}),"BaselineUI-ToggleIconButton",typeof e=="function"?e(f):e),style:typeof t=="function"?t(f):t,ref:Z(m,s),children:jsx(h,{size:X3[o]})})});Qh.displayName="ToggleIconButtonCore";var zL="f6jv6bl",EL="_1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z6js _1yep5z6jt _1yep5z6ju",ml="_1yep5z689 _1yep5z68a _1yep5z68b _1yep5z65x _1yep5z65y _1yep5z65z",wL=V({defaultClassName:"f6jv6b0 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6g1",variantClassNames:{isInline:{true:"f6jv6b1"},isMinimal:{true:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z6vo _1yep5z6vp _1yep5z6vq _1yep5z615m _1yep5z615n _1yep5z615o",false:"_1yep5z6157 _1yep5z6158 _1yep5z6159"}},defaultVariants:{},compoundVariants:[[{isInline:true,isMinimal:false},"_1yep5z61ir _1yep5z61is _1yep5z61it _1yep5z61jf _1yep5z61jg _1yep5z61jh _1yep5z61k3 _1yep5z61k4 _1yep5z61k5 _1yep5z61kr _1yep5z61ks _1yep5z61kt _1yep5z61u7 _1yep5z61u5 _1yep5z61pa"]]}),af=V({defaultClassName:"f6jv6b4 _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6e3 _1yep5z6eu _1yep5z6lq",variantClassNames:{isDisabled:{true:"f6jv6b5 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),_L="f6jv6bi _1yep5z6wr _1yep5z6ws _1yep5z6wt _1yep5z6xf _1yep5z6xg _1yep5z6xh _1yep5z6y3 _1yep5z6y4 _1yep5z6y5 _1yep5z6yr _1yep5z6ys _1yep5z6yt",IL="f6jv6bj";var RL="f6jv6bm _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6ly _1yep5z6lt _1yep5z6lr _1yep5z6hx _1yep5z6eu",LL=V({defaultClassName:"f6jv6bf _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6lq _1yep5z6la _1yep5z6ld _1yep5z6lp",variantClassNames:{isHovered:{true:"_1yep5z6126"},isDisabled:{true:"_1yep5z6zd"}},defaultVariants:{},compoundVariants:[]}),ML="_1yep5z6jy _1yep5z6jz _1yep5z6k0",AL="f6jv6be f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6ip _1yep5z6iq _1yep5z6ir _1yep5z6eu _1yep5z6e3 _1yep5z6ln",NL=V({defaultClassName:"f6jv6bb _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6k4 _1yep5z6k5 _1yep5z6k6",variantClassNames:{isInline:{true:"_1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6184 _1yep5z6182 _1yep5z6137",false:"_1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6x6 _1yep5z6x7 _1yep5z6x8 _1yep5z6xu _1yep5z6xv _1yep5z6xw _1yep5z6yi _1yep5z6yj _1yep5z6yk _1yep5z6z6 _1yep5z6z7 _1yep5z6z8"}},defaultVariants:{},compoundVariants:[]}),OL="f6jv6bk",FL="f6jv6ba _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6ip _1yep5z6iq _1yep5z6ir _1yep5z6eu",lf=V({defaultClassName:"f6jv6b6",variantClassNames:{isInline:{true:"f6jv6b7",false:"f6jv6b8"}},defaultVariants:{},compoundVariants:[]}),sf="f6jv6b9 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl",Au="f6jv6bn";var VL=[["Toolbar Focus","Alt+F10"],["Bold","Ctrl+B"],["Italic","Ctrl+I"],["Underline","Ctrl+U"],["Select All","Ctrl+A"],["Cut","Ctrl+X"],["Copy","Ctrl+C"],["Paste","Ctrl+V"],["Undo","Ctrl+Z"],["Redo","Ctrl+Shift+Z"],["Submit","Ctrl+Enter"],["Open Help Dialog","Ctrl+Shift+H"]],{dialog:{row:Nu}}=layoutSprinkleValues,BL=({isOpen:e,onClose:t})=>{let{formatMessage:r}=ye(),o=Y();return jsx(ro,{isOpen:e,onOpenChange:n=>{n||t();},children:jsx(oo,{enableDrawer:"auto",style:{zIndex:999999},children:jsxs(nr,{"aria-labelledby":o,className:_L,drawerBackground:"subtle",children:[jsxs(X,{paddingLeft:Nu.padding.horizontal.lg,paddingRight:Nu.padding.horizontal.sm,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",backgroundColor:"background.primary.subtle",className:IL,children:[jsx(Ze,{id:o,elementType:"h3",type:"title",size:"md",children:r(Ou.help)}),jsx(me,{icon:XIcon,size:"md",variant:"secondary","aria-label":r(Ou.close),onPress:t})]}),jsx(De,{className:OL}),jsxs(X,{paddingX:Nu.padding.horizontal.lg,role:"table","aria-labelledby":o,backgroundColor:"background.primary.subtle",children:[jsx("div",{role:"rowgroup",children:jsxs(X,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:Nu.padding.vertical.md,color:"text.primary",children:[jsx("h6",{className:sprinkles({typography:"heading.h6.semibold"}),role:"columnheader",children:r(Ou.action)}),jsx("h6",{className:sprinkles({typography:"heading.h6.semibold"}),role:"columnheader",style:{textTransform:"capitalize"},children:r(Ou.shortcut)})]})}),jsx("div",{role:"rowgroup",children:VL.map(([n,i],a)=>jsxs(Fragment$1,{children:[jsxs(X,{role:"row",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingY:Nu.padding.vertical.xs,style:{minHeight:40},children:[jsx(Ze,{type:"subtitle",size:"sm",role:"cell",children:r(Ou[camelCase(n)])}),jsx(Ze,{elementType:"kbd",type:"subtitle",size:"sm",role:"cell",children:D1(i,true)})]}),a!==VL.length-1&&jsx(De,{})]},n))})]})]})})})},Ou=Re({toolbarFocus:{id:"toolbarFocus",defaultMessage:"Toolbar Focus"},help:{id:"help",defaultMessage:"Help"},close:{id:"close",defaultMessage:"Close"},action:{id:"action",defaultMessage:"Action"},shortcut:{id:"shortcut",defaultMessage:"Shortcut"},bold:{id:"bold",defaultMessage:"Bold"},italic:{id:"italic",defaultMessage:"Italic"},underline:{id:"underline",defaultMessage:"Underline"},selectAll:{id:"selectAll",defaultMessage:"Select All"},cut:{id:"cut",defaultMessage:"Cut"},copy:{id:"copy",defaultMessage:"Copy"},paste:{id:"paste",defaultMessage:"Paste"},undo:{id:"undo",defaultMessage:"Undo"},redo:{id:"redo",defaultMessage:"Redo"},openHelpDialog:{id:"openHelpDialog",defaultMessage:"Open Help Dialog"},submit:{id:"submit",defaultMessage:"Submit"}});var uf=Mo.forwardRef(({value:e,defaultValue:t,onChange:r,placeholder:o,spellCheck:n,textBoxRef:i,isInline:a,isMinimal:l,isDisabled:s,editableContentAriaLabel:u,editorHandle:c,autoFocus:d,saveOnEnter:m,onSave:p},y)=>{let b=Mo.useRef(null),[f,h]=be(e,t||"",r),v=useCallback(C=>{h(C.currentTarget.value||"");},[h]),g=useCallback(C=>{(m&&C.key==="Enter"&&!C.shiftKey||(C.ctrlKey||C.metaKey)&&C.key==="Enter")&&(C.preventDefault(),p());},[m,p]);useImperativeHandle(y,()=>({clear:()=>{h("");}}));let x=useCallback(C=>{C.currentTarget.style.height="16px",C.currentTarget.style.height=C.currentTarget.scrollHeight+"px";},[]);useGranularLayoutEffect(()=>{let C=b.current;C&&(C.style.height="16px",C.style.height=C.scrollHeight+"px");},[l],[f]),useImperativeHandle(c,()=>({setCaretPosition:C=>{b.current&&(b.current.focus(),b.current.setSelectionRange(C,C));},focus:()=>{b.current&&b.current.focus();}}));let{focusProps:T,isFocused:P,isFocusVisible:S}=ee(),{hoverProps:E,isHovered:D}=re({}),I=ce({"data-focus-visible":S,"data-hovered":D,"data-focused":P});return jsx("textarea",{...R(T,E,I),ref:Z(b,i),className:L({[af()]:!l,[lf({isInline:a})]:!l,[FL]:!l,[AL]:l},"BaselineUI-Editor-PlainEditorEditingArea"),autoFocus:d,onChange:v,disabled:s,onInput:x,value:f,placeholder:o,spellCheck:n,"aria-label":u,onKeyDown:g})});uf.displayName="PlainEditor";var Vu="mention",cf="mention_input",QL=Mo.forwardRef(({onCancel:e,editor:t,element:r,onSelectionChange:o},n)=>{let{containerRef:i,items:a,maxMentionableUsersSuggestions:l}=useContext(pf),s=useSelected(),[u,c]=useState(""),{contains:d}=mo({sensitivity:"base"}),{formatMessage:m}=ye(),p=useMemo(()=>{let w=a.filter(O=>{let k=O.displayName?.trim()||O.name?.trim()||O.id;return u===""||d(k,u)}).map(O=>({id:O.id,label:O.displayName?.trim()||O.name?.trim()||O.id,data:O}));return l?take(w,l):w},[a,l,u,d]),y=useCallback(w=>jsx(Mr,{textValue:w.label,children:w.label},w.id),[]),b=useCallback((w=false)=>{let O=findNodePath(t,r);O&&(removeNodes(t,{at:O}),w&&focusEditor(t));},[t,r]),f=xa({items:p,children:y,menuTrigger:"focus",onSelectionChange:w=>{b(true),o?.(w);}}),h=Mo.useRef(null),v=Mo.useRef(null),g=Mo.useRef(null),x=Mo.useRef(null),T=useHTMLInputCursorState(v);Gr({ref:x,onInteractOutside:()=>{f.close();}});let{inputProps:P,listBoxProps:S}=Gi({defaultItems:p,inputRef:v,buttonRef:h,listBoxRef:g,popoverRef:x,menuTrigger:"focus","aria-label":m(f4.mention)},f);useEffect(()=>{setTimeout(()=>{v.current?.focus();});},[]);let E=useCallback((w="manual",O=false)=>{b(O),e?.(w,f.inputValue);},[e,b,f.inputValue]),D=useRef(s);useEffect(()=>{D.current&&!s&&E("deselect"),D.current=s;},[s,E]);let I=T?.atStart??false,C=T?.atEnd??false,_=useCallback(w=>{w.key==="Backspace"&&I?E("backspace",true):w.key==="Escape"?E("escape",true):w.key==="ArrowLeft"&&I?E("arrowLeft",true):w.key==="ArrowRight"&&C&&E("arrowRight",true);let O=Hotkeys.isUndo(w)&&t.history.undos.length>0,k=Hotkeys.isRedo(w)&&t.history.redos.length>0;(O||k)&&(w.preventDefault(),t[O?"undo":"redo"](),focusEditor(t));},[I,C,E,t]),z=useMemo(()=>{if(!CSS.supports("field-sizing","content")){let w=j(v.current),O=v.current?w?.getComputedStyle(v.current).font:void 0;return {width:O?zp({text:f.inputValue,font:O}).width+10:"4ch"}}},[f.inputValue]);return jsxs(Ig.Provider,{value:f,children:[jsx("input",{...R(P,{onKeyDown:_,onBlur:()=>{E("blur",true);},onChange:w=>{c(w.target.value);}}),style:z,className:RL,ref:Z(n,v)}),jsx(dt,{triggerRef:i,isNonModal:true,ref:x,state:f,crossOffset:-2,children:jsx(to,{...S,items:void 0,ref:g,className:L(dn,sprinkles({width:"full"})),renderOption:tM})})]})});QL.displayName="MentionInputContentElement";var nv=withRef(({className:e,...t},r)=>{let{children:o,editor:n,element:i}=t,{items:a}=useContext(pf),l=useRef(null),[s,u]=useState(null);useEffect(()=>{let m=findNodePath(n,i);if(!m)return;let p=getPointBefore(n,m);if(!p)return;let y=createPointRef(n,p);return u(y),()=>{y.unref();}},[n,i]);let c=useCallback(()=>{let m=j(l.current),p=l.current?.getRootNode()instanceof m.ShadowRoot;moveSelection(n,{unit:"offset"}),moveSelection(n,{unit:"character",distance:1}),Dn()&&p&&focusEditor(n);},[n]),d=useCallback(m=>{if(!m)return;let p=l.current?.getRootNode()instanceof ShadowRoot,y=a.find(f=>f.id===m);ie(y,"User not found");let b={type:Vu,value:y.id,displayName:y.displayName,children:[{text:""}]};insertNodes(n,[b,{text:" "}]),p?setTimeout(()=>{c();},0):c();},[n,a,c]);return jsxs(PlateElement,{as:"span","data-slate-value":i.value,contentEditable:false,className:e,ref:r,...t,children:[jsx(QL,{onCancel:(m,p)=>{m!=="backspace"&&insertText(n,"@"+p,{at:s?.current??void 0}),(m==="arrowLeft"||m==="arrowRight")&&moveSelection(n,{distance:1,reverse:m==="arrowLeft"});},onSelectionChange:d,ref:l,element:i,editor:n}),o]})});nv.displayName="MentionInputElement";var iv=withRef(({className:e,onClick:t,children:r,...o},n)=>{let i=useElement();return jsxs(PlateElement,{as:"span",className:e,contentEditable:false,"data-user-id":i.value,onClick:getHandler(t,i),ref:n,...o,children:["@",i.displayName,r]})});iv.displayName="MentionElement";var eM=(e,{options:{trigger:t,triggerPreviousCharPattern:r,triggerQuery:o}})=>{let{insertText:n}=e,i=a=>a===t;return e.insertText=a=>{if(!e.selection||!i(a)||o&&!o(e)){n(a);return}let l=getEditorString(e,getRange(e,e.selection,getPointBefore(e,e.selection)));if(r?.test(l)){df(e);return}n(a);},e},f4=Re({mention:{defaultMessage:"Mention",id:"mention"}});function oM({className:e,children:t,...r}){return jsx(PlateElement,{asChild:true,className:e,...r,children:jsx("p",{children:t})})}function w4(e){return Object.entries(e).map(([t,r])=>`${kebabCase(t)}:${r}`).filter(([,t])=>!!t).join(";")}function _4(e){return "text"in e}function I4(e){return e.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">").replaceAll('"',""").replaceAll("'","'")}function Bu(e){if(!e)return "";function t(r){if(_4(r)){let n=I4(r.text);return r.bold&&(n=`<b>${n}</b>`),r.italic&&(n=`<i>${n}</i>`),r.underline&&(n=`<u>${n}</u>`),(r.color||r.backgroundColor)&&(n=`<span style="${w4(ce({color:r.color||void 0,backgroundColor:r.backgroundColor||void 0}))}">${n}</span>`),n}let o=r.children?.map(n=>Bu(n)).join("");switch(r.type){case ELEMENT_PARAGRAPH:return `<p>${o}</p>`;case ELEMENT_LINK:return `<a href="${r.url}">${o}</a>`;case Vu:return `<span data-user-id="${r.value}">${r.displayName}</span>`;default:return o}}return Array.isArray(e)?e.map(r=>t(r)).join(""):t(e)}function R4(e){return e?(e=e.trim(),e.endsWith(";")&&(e=e.slice(0,-1)),Object.fromEntries(e.split(";").map(t=>t.split(":").map(r=>r.trim())).map(([t,r])=>[camelCase(t),r]))):{}}function cv(e){e.startsWith("<p>")||(e=`<p>${e}</p>`);let t=new DOMParser().parseFromString(Q$.default.sanitize(e),"text/html"),r=t.querySelectorAll("[style]");for(let n of r)n.style.textDecoration==="underline"&&(n.style.textDecoration="",n.style.cssText||n.removeAttribute("style"),n.hasAttributes()?n.innerHTML=`<u>${n.innerHTML}</u>`:n.outerHTML=`<u>${n.innerHTML}</u>`);let o=t.querySelectorAll("br");for(let n of o)n.outerHTML=n.closest("p")?`
|
|
25
25
|
`:"<p>";return aM(t.body)}function aM(e,t){if(e.nodeType===Node.TEXT_NODE)return jsx$1("text",t,e.textContent);if(e.nodeType!==Node.ELEMENT_NODE)return null;let r={...t};switch(e.nodeName.toUpperCase()){case "B":{r.bold=true;break}case "I":{r.italic=true;break}case "EM":{r.italic=true;break}case "U":{r.underline=true;break}case "SPAN":{let n=R4(e.getAttribute("style")||"");n["text-decoration"]==="underline"&&(r.underline=true),n.color&&(r.color=n.color),n.backgroundColor&&(r.backgroundColor=n.backgroundColor);break}}let o=[...e.childNodes].flatMap(n=>aM(n,r));switch(o.length===0&&o.push(jsx$1("text",r,"")),e.nodeName.toUpperCase()){case "BR":return jsx$1("text",t,`
|
|
26
26
|
`);case "SPAN":{let n=e.dataset.userId;return n?jsx$1("element",{type:Vu,value:n,displayName:e.textContent},{text:""}):o}case "P":return jsx$1("element",{type:ELEMENT_PARAGRAPH},o);case "A":return jsx$1("element",{type:ELEMENT_LINK,url:e.getAttribute("href")},o);default:return o}}function lM(e){let t=findNode(e,{match:{type:getPluginType(e,ELEMENT_LINK)}}),[r]=t||[{url:""}];return r?.url}function df(e){let t={children:[{text:" "}],type:cf};e.insertNode(t);}var L4=createPluginFactory({isElement:true,isInline:true,isMarkableVoid:true,isVoid:true,key:Vu,options:{trigger:"@",triggerPreviousCharPattern:/^$|^[\s"']$/},plugins:[{isElement:true,isInline:true,isVoid:true,key:cf}],withOverrides:eM}),sM=createPlugins([createParagraphPlugin({component:oM}),createBoldPlugin({component:withProps(PlateLeaf,{as:"b"})}),createItalicPlugin({component:withProps(PlateLeaf,{as:"i"})}),createUnderlinePlugin({component:withProps(PlateLeaf,{as:"u"})}),createFontColorPlugin(),createFontBackgroundColorPlugin(),createLinkPlugin({component:uM}),L4({component:iv})],{components:{[cf]:nv}});var fi={Add:"add",Edit:"edit",Show:"show"},mM=({isDisabled:e})=>{let{formatMessage:t}=ye(),r=useEditorRef();return jsxs(ko,{type:"dialog",children:[jsx(zo,{children:jsx(me,{icon:LinkIcon,size:"sm",isDisabled:e,"aria-label":t(yi.addLink),className:ml,preventFocusOnPress:true})}),jsx(dt,{className:sprinkles({boxShadow:"medium"}),placement:"top end",children:({close:o})=>jsx(nr,{size:"content",style:{minWidth:240},children:jsx(V4,{close:()=>{o(),setTimeout(()=>{focusEditor(r,r.selection);},0);}})})})]})},V4=({close:e})=>{let t=useEditorRef(),{formatMessage:r}=ye(),o=useEditorSelector(u=>lM(u),[]),[n,i]=Mo.useState(o?fi.Show:fi.Add),[a,l]=Mo.useState(o||""),s=jsx(X,{padding:"lg",children:jsx(pn,{label:r(yi.link),value:a,autoFocus:true,onChange:l,placeholder:"https://yourdomain.com"})});return jsxs(Fragment,{children:[n===fi.Add&&jsxs(Fragment,{children:[s,jsx(X,{display:"flex",justifyContent:"flex-end",padding:"lg",className:zL,children:jsx(Ie,{isDisabled:!wg(a,true),label:r(yi.addLink),size:"sm",onPress:()=>{upsertLink(t,{url:a,skipValidation:true}),e?.();},preventFocusOnPress:true})})]}),n===fi.Show&&jsxs(Fragment,{children:[jsx(X,{padding:"lg",children:jsx(Ze,{type:"subtitle",size:"sm",children:o})}),jsxs(X,{display:"flex",justifyContent:"flex-end",padding:"lg",gap:"lg",borderColor:"border.subtle",borderWidth:1,borderStyle:"solid",children:[jsx(Ie,{label:r(yi.editLink),size:"sm",variant:"secondary",onPress:()=>{i(fi.Edit);},style:{flex:1,justifyContent:"center"}}),jsx(Ie,{label:r(yi.removeLink),size:"sm",onPress:()=>{unwrapLink(t),e?.();},preventFocusOnPress:true,style:{flex:1,justifyContent:"center"}})]})]}),n===fi.Edit&&jsxs(Fragment,{children:[s,jsxs(X,{display:"flex",justifyContent:"flex-end",padding:"lg",gap:"lg",borderColor:"border.subtle",borderWidth:1,borderStyle:"solid",children:[jsx(Ie,{label:r(yi.cancel),size:"sm",variant:"secondary",onPress:()=>{i(fi.Show),e?.();}}),jsx(Ie,{label:r(yi.save),size:"sm",onPress:()=>{upsertLink(t,{url:a,skipValidation:true}),e?.();}})]})]})]})};function uM({className:e,children:t,...r}){return jsx(PlateElement,{asChild:true,className:e,...r,children:jsx("a",{className:Cm({size:"sm"}),children:t})})}var yi=Re({addLink:{id:"addLink",defaultMessage:"Add Link",description:"Add Link"},editLink:{id:"editLink",defaultMessage:"Edit Link",description:"Edit Link"},removeLink:{id:"removeLink",defaultMessage:"Remove Link",description:"Remove Link"},cancel:{id:"cancel",defaultMessage:"Cancel",description:"Cancel"},save:{id:"save",defaultMessage:"Save",description:"Save"},link:{id:"linkAnnotation",defaultMessage:"Link",description:"Link"}});var B4=ke("#ffffff00").toString("hexa"),dv=[{label:"Red",color:"#ff0000"},{label:"Green",color:"#00ff00"},{label:"Blue",color:"#0000ff"},{label:"Yellow",color:"#ffff00"},{label:"Cyan",color:"#00ffff"},{label:"Magenta",color:"#ff00ff"},{label:"Black",color:"#000000"},{label:"White",color:"#ffffff"},{label:"Gray",color:"#808080"},{label:"Orange",color:"#ffa500"},{label:"Brown",color:"#a52a2a"},{label:"Purple",color:"#800080"}];[...dv,{label:"Transparent",color:B4}];var ff=({nodeType:e,icon:t,ariaLabel:r,isDisabled:o})=>{let n=useEditorSelector(a=>isMarkActive(a,e),[]),i=useEditorRef();return jsx(fr,{variant:"tertiary",isSelected:n,size:"sm",icon:t,"aria-label":r,isDisabled:o,onPress:()=>{toggleMark(i,{key:e});},preventFocusOnPress:true})},mv=({nodeType:e,"aria-label":t,isDisabled:r})=>{let{updateColor:o,clearColor:n,color:i}=useColorDropdownMenuState({customColors:[],colors:[],nodeType:e}),a=useCallback(({ref:s,triggerProps:u})=>jsx(me,{icon:e==="color"?TextIcon$1:HighlightTextIcon,"aria-label":t,size:"md",variant:"popover",isDisabled:r,className:ml,preventFocusOnPress:true,...u,ref:s}),[e,t,r]),l=useCallback(s=>{s?o(s.toString("rgba")):n();},[n,o]);return jsx(ul,{presets:dv,allowRemoval:true,pickerMode:"lazy",placement:"top end",colorLabel:false,renderTriggerButton:a,value:i||"#000000",onChange:l,isDisabled:r})};var d7=[{type:ELEMENT_PARAGRAPH,children:[{text:""}]}],pf=Mo.createContext({items:[],containerRef:{current:null},maxMentionableUsersSuggestions:10}),bv=Mo.forwardRef(({value:e,defaultValue:t,onChange:r,style:o,spellCheck:n,placeholder:i,isInline:a,isDisabled:l,editableContentAriaLabel:s,containerRef:u,onHelpDialogOpenRequest:c,mentionableUsers:d,editorHandle:m,maxMentionableUsersSuggestions:p,autoFocus:y,editorRef:b,saveOnEnter:f,onSave:h},v)=>{let g=useRef(null),x=Y(),{formatMessage:T}=ye(),P=useRef(null),S=P.current,E=useRef(null),D=useMemo(()=>S?.getRootNode()instanceof ShadowRoot,[S]),[I,C]=be(e?cv(e):void 0,cv(t||"<p></p>"),w=>{r&&r(Bu(w));}),{keyboardProps:_}=Ce({onKeyDown:w=>{(f&&w.key==="Enter"&&!w.shiftKey||(w.ctrlKey||w.metaKey)&&w.key==="Enter")&&(w.preventDefault(),h()),w.altKey&&w.key==="F10"?(w.preventDefault(),g.current&&g.current.querySelector("button")?.focus()):w.continuePropagation(),Dn()&&D&&E.current&&focusEditor(E.current);}});useEffect(()=>{l&&E.current&&deselect(E.current);},[l]),useImperativeHandle(v,()=>({startMention:()=>{E.current&&!P.current?.querySelector("input[role='combobox']")&&df(E.current);}})),useImperativeHandle(m,()=>({setCaretPosition:w=>{E.current&&(focusEditor(E.current),moveSelection(E.current,{distance:w,unit:"character"}));},focus:()=>{E.current&&focusEditor(E.current);}}));let z=useMemo(()=>({items:d||[],containerRef:u,maxMentionableUsersSuggestions:p}),[d,u,p]);return jsx(pf.Provider,{value:z,children:jsxs(Plate,{initialValue:I||d7,plugins:sM,editorRef:Z(E,b||null),onChange:w=>{C(w);},children:[jsxs(nf,{className:L(sf,"BaselineUI-Editor-RichEditorToolbar"),"aria-controls":x,ref:g,children:[jsxs(X,{display:"flex",flexDirection:"row",role:"group",gap:"xs",paddingX:"sm",children:[jsx(ff,{nodeType:MARK_BOLD,icon:BoldIcon,ariaLabel:T(gl.bold),isDisabled:l}),jsx(ff,{nodeType:MARK_ITALIC,icon:ItalicIcon,ariaLabel:T(gl.italic),isDisabled:l}),jsx(ff,{nodeType:MARK_UNDERLINE,icon:UnderlineIcon,ariaLabel:T(gl.underline),isDisabled:l})]}),jsx(De,{orientation:"vertical",className:Au}),jsx(mv,{nodeType:MARK_COLOR,"aria-label":T(gl.fontColor),isDisabled:l}),jsx(De,{orientation:"vertical",className:Au}),jsx(mv,{nodeType:MARK_BG_COLOR,"aria-label":T(gl.backgroundColor),isDisabled:l}),jsx(De,{orientation:"vertical",className:Au}),jsx(mM,{isDisabled:l}),jsx(De,{orientation:"vertical",className:Au}),jsx(me,{className:ml,icon:QuestionmarkCircleIcon,size:"sm","aria-label":T(gl.help),onPress:c})]}),jsx(De,{variant:"secondary"}),jsx("div",{..._,ref:P,children:jsx(PlateContent,{id:x,disabled:l,readOnly:l,style:o,placeholder:i,autoFocus:y,spellCheck:n,"aria-label":s,className:L(af({isDisabled:l}),lf({isInline:a}),"BaselineUI-Editor-RichEditorEditingArea"),renderPlaceholder:({attributes:w,children:O})=>jsx("span",{...w,className:sprinkles({paddingY:"lg"}),children:O})})})]})})});bv.displayName="RichEditor";var tM=({key:e,value:t},{isDisabled:r,optionProps:o,isFocused:n,_state:i},a)=>{let{hoverProps:l}=re({isDisabled:r}),{label:s,data:u}=t;return jsxs(Fragment,{children:[jsxs("li",{...R(o,l),className:LL({isDisabled:r,isHovered:n}),"data-active":n,ref:a,children:[jsx(al,{name:s,...u?.avatar}),jsxs(X,{display:"flex",flexDirection:"column",children:[jsx(Ze,{type:"subtitle",size:"sm",children:s}),jsx(Ze,{type:"helper",size:"sm",children:u?.description})]})]}),e===i.collection.getLastKey()?null:jsx(De,{})]})},gl=Re({bold:{defaultMessage:"Bold",id:"bold"},italic:{defaultMessage:"Italic",id:"italic"},underline:{defaultMessage:"Underline",id:"underline"},backgroundColor:{defaultMessage:"Background color",id:"backgroundColor"},fontColor:{defaultMessage:"Font color",id:"fontColor"},help:{defaultMessage:"Help",id:"help"}});var hM=Mo.memo(Mo.forwardRef(({className:e,style:t,"data-block-id":r,"data-block-class":o,enableRichText:n=false,onCancel:i,onSave:a,isInline:l=true,submitButtonIcon:s=ArrowUpCircleFilledIcon,submitButtonAriaLabel:u,cancelButtonAriaLabel:c,"aria-label":d,"aria-describedby":m,"aria-labelledby":p,"aria-details":y,editableContentAriaLabel:b="Editing Area",footerButtons:f,clearOnCancel:h,clearOnSave:v,...g},x)=>{let T=useRef(null),{formatMessage:P}=ye(),S=useRef(null),E=useRef(null),D=useRef(null),I=!n&&g.variant==="minimal",C=useRef(null),[_,z]=Mo.useState(g.value||g.defaultValue),w=g.isDisabled||g.isSaveDisabled||!k1(_||""),{fieldProps:O}=vt({"aria-label":d,"aria-labelledby":p,labelElementType:"div"});I&&!g.avatarName&&console.warn("Editor: When using the minimal `variant` and `enableRichText` is `false`, you should provide an `avatarName`.");let k=useCallback(()=>{z(""),n?T.current?.reset():E.current?.clear();},[n]),M=useCallback(()=>{w||(a?.(n?Bu(T.current?.children):S.current.value),v&&k());},[k,v,n,a,w]),F=jsx(me,{variant:"ghost","aria-label":u||P(hv.save),icon:s,isDisabled:w,size:"md",excludeFromTabOrder:I,className:L({[ML]:I},"BaselineUI-Editor-Save"),onPress:M,preventFocusOnPress:true}),[K,N]=Mo.useState(false),{keyboardProps:$}=Ce({onKeyDown:B=>{(B.metaKey||B.ctrlKey)&&B.shiftKey&&B.key==="h"&&(B.preventDefault(),N(true));}}),A=useCallback(B=>{z(B),g.onChange?.(B);},[g]);return jsxs("div",{...R(O,n?$:{}),role:"application",ref:Z(D,x),style:t,"data-block-id":r,"data-block-class":o,className:L(wL({isInline:l,isMinimal:I}),"BaselineUI-Editor",e),"aria-disabled":g.isDisabled,children:[I?jsxs(Fragment,{children:[l?jsx(al,{className:EL,name:g.avatarName||""}):null,jsxs("div",{className:NL({isInline:l}),children:[jsx(uf,{isMinimal:I,textBoxRef:S,isInline:l,editableContentAriaLabel:b,...g,onChange:A,onSave:M}),F]})]}):jsxs(Fragment,{children:[n?jsx(bv,{containerRef:D,ref:C,editorRef:T,isInline:l,editableContentAriaLabel:b,onHelpDialogOpenRequest:()=>{N(true);},...g,onChange:A,onSave:M}):jsxs(Fragment,{children:[!l&&jsx(De,{variant:"secondary"}),jsx(uf,{onCancel:i,textBoxRef:S,ref:E,isInline:l,editableContentAriaLabel:b,...g,onChange:B=>{z(B),g.onChange?.(B);},onSave:M})]}),jsx(De,{variant:"secondary"}),jsxs("div",{className:L(sf,sprinkles({justifyContent:"space-between"}),"BaselineUI-Editor-Footer"),children:[jsxs(X,{paddingX:"sm",gap:"sm",display:"flex",children:[n&&g.mentionableUsers?jsx(me,{icon:AtIcon,size:"sm","aria-label":P(hv.mention),onPress:()=>C.current?.startMention(),preventFocusOnPress:true,className:"BaselineUI-Editor-Mention"}):null,f?.map(({type:B,props:U},oe)=>B==="action"?jsx(me,{...U,size:"sm",isDisabled:g.isDisabled||U.isDisabled},oe):jsx(fr,{...U,size:"sm",variant:"tertiary",isDisabled:g.isDisabled||U.isDisabled},oe))]}),jsxs(X,{children:[!!i&&jsx(me,{variant:"secondary",icon:XCircleFilledIcon,isDisabled:g.isDisabled,size:"md",onPress:()=>{i(),h&&k();},"aria-label":c||P(hv.cancel),className:"BaselineUI-Editor-Cancel"}),F]})]})]}),jsx(BL,{isOpen:K,onClose:()=>{N(false);}})]})}));hM.displayName="Editor";var hv=Re({cancel:{defaultMessage:"Cancel",id:"cancel"},save:{defaultMessage:"Save",id:"save"},mention:{defaultMessage:"Mention",id:"mention"}});var vM="_8kqf970 _1yep5z6po _1yep5z6pp _1yep5z6pq _1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oi _1yep5z6oj _1yep5z6ok _1yep5z614v _1yep5z614w _1yep5z614x _1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z615m _1yep5z615n _1yep5z615o _1yep5z6z9 _1yep5z6vi _1yep5z6vj _1yep5z6vk _1yep5z617s _1yep5z6101";var TM=2,CM=Mo.forwardRef(({className:e,style:t,hideForKeyboard:r,scrollRef:o,label:n,delay:i=1500,smoothScroll:a=true,"data-block-id":l,"data-block-class":s},u)=>{let c=Mo.useRef(null),d=Xt(),[m,p]=Mo.useState(false),y=useCallback(()=>{let D=o?.current||H(c.current).body;return j(D).getComputedStyle(D).flexDirection==="column-reverse"?D.scrollTop+TM>=0:D.scrollTop+D.clientHeight+TM>=D.scrollHeight},[o]),[b,f]=Mo.useState(y),{buttonProps:h,isPressed:v}=rt({onPress:()=>{let D=o?.current||H(c.current).body;D.scrollTo({top:D.scrollHeight,behavior:a?"smooth":"auto"});}},c),{focusProps:g,isFocused:x,isFocusVisible:T}=ee(),{hoverProps:P,isHovered:S}=re({}),E=ce({"data-block-id":l,"data-block-class":s,"data-pressed":v,"data-focus-visible":T,"data-hovered":S,"data-focused":x});return useEffect(()=>{f(y());},[y]),useEffect(()=>{let D=o?.current||H(c.current).body,I="onscrollend"in j(D),C=()=>{setTimeout(()=>{p(false),f(y());},i);},_=()=>{p(true),I||C();};return D.addEventListener("scroll",_),D.addEventListener("scrollend",C),()=>{D.removeEventListener("scroll",_),D.removeEventListener("scrollend",C);}},[o,i,y]),jsx(AnimatePresence,{initial:false,children:(!r||d!=="keyboard")&&!m&&!b?jsxs(motion.button,{initial:{opacity:0,transform:"translateX(-50%) translateY(10px)"},animate:{opacity:1,transform:"translateX(-50%) translateY(0)"},exit:{opacity:0,transform:"translateX(-50%) translateY(10px)"},transition:{duration:.3},...R(h,g,P,E),className:L(vM,_m({isFocusVisible:T,variant:"high-contrast",isHovered:S}),Im({variant:"high-contrast"}),"BaselineUI-ScrollControlButton",e),style:t,ref:Z(u,c),children:[jsx(ArrowDownCircleFilledIcon,{size:16,className:yu({variant:"high-contrast"})}),n]}):null})});CM.displayName="ScrollControlButton";var xv="_1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6kd _1yep5z6ke _1yep5z6kf",SM=V({defaultClassName:"_1v0p2z10 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",variantClassNames:{hasTitleAndIcon:{true:"_1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oo _1yep5z6op _1yep5z6oq"},hasNoCloseBtn:{true:"_1yep5z6mc _1yep5z6md _1yep5z6me _1yep5z6oo _1yep5z6op _1yep5z6oq _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk"}},defaultVariants:{},compoundVariants:[[{hasTitleAndIcon:true,hasNoCloseBtn:true},"_1yep5z61hr _1yep5z61hs _1yep5z61ht"]]}),DM="_1v0p2z10";function kM({ariaProps:e,fallbackLabelId:t,fallbackDescriptionId:r}){let o={...e};return t&&!o["aria-labelledby"]&&!o["aria-label"]&&(o["aria-labelledby"]=t),r&&!o["aria-describedby"]&&!o["aria-details"]&&(o["aria-describedby"]=r),o}var gf=Mo.forwardRef(({className:e,style:t,"data-block-id":r,"data-block-class":o,message:n,title:i,primaryActionLabel:a,cancelLabel:l,textInputProps:s,icon:u,iconColor:c,showCloseButton:d=true,onPrimaryAction:m,onCancel:p,autoFocusButton:y,isPrimaryActionDisabled:b,...f},h)=>{let v=Y(),g=Y(),{formatMessage:x}=ye(),T=i&&jsx(Ze,{type:"title",size:"sm",elementType:"h3",id:v,children:i}),P=kM({ariaProps:f,fallbackLabelId:i?v:void 0,fallbackDescriptionId:n?g:void 0});return jsxs(nr,{...P,className:e,style:t,"data-block-id":r,"data-block-class":o,size:"sm",variant:"primary",role:"alertdialog",ref:h,children:[jsxs("div",{className:SM({hasTitleAndIcon:!!(u&&i),hasNoCloseBtn:!d}),children:[jsxs(X,{display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:"row",children:[u?jsx(u,{style:{color:c},size:24}):null,!u&&T,d?jsx(me,{icon:XIcon,variant:"secondary",size:"md","aria-label":x(S7.close),onPress:p}):null]}),u?T:null]}),n?jsx(X,{elementType:"section",className:DM,paddingX:"lg",paddingBottom:"lg",typography:"body.sm.regular",color:"text.primary",id:g,children:n}):null,s?jsx(X,{paddingX:"lg",paddingBottom:"lg",children:jsx(pn,{...s})}):null,l||a?jsxs(Fragment,{children:[jsx(De,{}),jsxs(X,{padding:"lg",display:"flex",gap:"xl",children:[l?jsx(Ie,{variant:"secondary",className:xv,label:l,onPress:p,autoFocus:y==="cancel"}):null,a?jsx(Ie,{className:xv,label:a,onPress:m,autoFocus:y==="primary",isDisabled:b}):null]})]}):null]})});gf.displayName="AlertDialog";var S7=Re({close:{id:"close",defaultMessage:"Close",description:"Close button label"}});var zM="_1t55bp71",EM="_1yep5z6e3 _1yep5z6eu _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z69i _1yep5z69j _1yep5z69k",wM="_1t55bp70";var w7=E7(),_M=Mo.forwardRef(({className:e,style:t,children:r,"data-block-id":o,"data-block-class":n,showCaret:i},a)=>{let l=useMemo(()=>{let s=r;return (!r||Array.isArray(r)&&r.length===0)&&(s=""),w7.render(s)},[r]);return jsx("div",{className:L(EM,wM,{[zM]:i},"BaselineUI-Markdown",e),"data-block-id":o,"data-block-class":n,style:t,ref:a,dangerouslySetInnerHTML:{__html:l}})});_M.displayName="Markdown";function MM(e){let{formatMessage:t,locale:r}=ye(),[o,n]=Mo.useState(false),[i,a]=Mo.useState(0),[l,s]=Mo.useState(0),[u,c]=Mo.useState(false);useEffect(()=>{if(!e.current)return;let p=e.current,y=()=>{n(false),a(0);},b=()=>{u||a(p.currentTime*100/p.duration);},f=()=>{s(p.duration);};return p.addEventListener("ended",y),p.addEventListener("timeupdate",b),p.addEventListener("loadedmetadata",f),()=>{p.removeEventListener("ended",y),p.removeEventListener("timeupdate",b),p.removeEventListener("loadedmetadata",f);}},[u,e]);let d=useCallback(()=>{(async()=>e.current&&(e.current.paused?(await e.current.play(),n(true),st(t(RM.playing),"polite")):(e.current.pause(),n(false),st(t(RM.paused),"polite"))))();},[t,e]),m=useCallback(p=>{e.current&&(e.current.currentTime=p*e.current.duration/100,st(R7(e.current.currentTime,r.locale),"assertive"));},[r.locale,e]);return {isPlaying:o,progress:i,duration:l,togglePlay:d,seek:m,setProgress:a,formattedCurrentTime:e.current?.currentTime?LM(e.current?.currentTime):"00:00",formattedDuration:l?LM(l):"00:00",setIsSliderDragging:c}}var RM=Re({playing:{id:"playing",defaultMessage:"Playing"},paused:{id:"paused",defaultMessage:"Paused"}});function R7(e,t){let r=Math.floor(e/3600),o=Math.floor(e%3600/60),n=e%60,i={...r&&{hours:r},...o&&{minutes:o},seconds:Math.floor(n)};return new Intl.DurationFormat(t,{style:"long"}).format(i)}function LM(e){let t=Math.floor(e%3600/60),r=Math.floor(e%60);return [t,r].map(o=>o.toString().padStart(2,"0")).join(":")}var AM="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69o _1yep5z69p _1yep5z69q",NM="rta2n91 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69o _1yep5z69p _1yep5z69q _1yep5z6101 _1yep5z6vl _1yep5z6vm _1yep5z6vn _1yep5z617q _1yep5z610y",OM="rta2n90";var VM=Mo.forwardRef(({className:e,style:t,size:r="lg",sources:o,"data-block-id":n,"data-block-class":i,...a},l)=>{let s=Mo.useRef(null),{isPlaying:u,progress:c,duration:d,togglePlay:m,seek:p,formattedDuration:y,formattedCurrentTime:b,setProgress:f,setIsSliderDragging:h}=MM(s),{formatMessage:v}=ye(),g=ce({"data-block-id":n,"data-block-class":i,"data-state":u?"playing":"paused","data-loaded":d>0});return jsxs("div",{...g,...a,className:L(AM,"BaselineUI-AudioPlayer",e),role:"group",style:t,ref:l,children:[jsx(Le,{children:jsx("audio",{ref:s,children:o.map(({url:x,type:T})=>jsx("source",{src:x,type:T},x))})}),jsx(fr,{icon:u?PauseIcon:PlayIcon,variant:"toolbar",isSelected:u,size:r,"aria-label":v(u?Tv.pause:Tv.play),style:{borderRadius:"50%"},onPress:m}),jsxs("div",{className:NM,children:[jsx("span",{"aria-hidden":true,children:b}),jsx(ja,{"aria-label":v(Tv.audioTimeline),value:c,minValue:0,maxValue:100,className:OM,onChange:x=>{f(x),h(true);},onChangeEnd:x=>{p(x),h(false);}}),jsx("span",{"aria-hidden":true,children:y})]})]})});VM.displayName="AudioPlayer";var Tv=Re({play:{id:"play",defaultMessage:"Play"},pause:{id:"pause",defaultMessage:"Pause"},audioTimeline:{id:"audioTimeline",defaultMessage:"Audio timeline"}});var BM="_1w920rnf _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6g1 _1yep5z6ig _1yep5z6ih _1yep5z6ii",$M=V({defaultClassName:"_1w920rng",variantClassNames:{isVirtualized:{true:"_1w920rnh",false:"_1w920rni"}},defaultVariants:{},compoundVariants:[]}),HM="_1w920rn1 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z69i _1yep5z69j _1yep5z69k",jM=V({defaultClassName:"_1w920rnc",variantClassNames:{isLoading:{false:"_1w920rnd"}},defaultVariants:{},compoundVariants:[]}),GM="_1w920rnb _1yep5z6lo _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf",UM="_1w920rn0 _1yep5z63l _1yep5z63m _1yep5z63n _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6le",vf=V({defaultClassName:"_1w920rn2 _1yep5z6d6 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6id _1yep5z6ie _1yep5z6if",variantClassNames:{isFocusVisible:{true:"_1yep5z6lt _1yep5z6lr _1yep5z6hx"},isSelected:{true:"_1yep5z6lt _1yep5z6lr _1yep5z6hx"},isLoading:{true:"_1yep5z616g _1yep5z616h _1yep5z616i"}},defaultVariants:{},compoundVariants:[[{isFocusVisible:true,isSelected:true},"_1w920rn6 _1yep5z6lt _1yep5z6lr _1yep5z6hx"]]}),WM=V({defaultClassName:"_1w920rn7 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6ar _1yep5z6as _1yep5z6at _1yep5z6bf _1yep5z6bg _1yep5z6bh _1yep5z6c3 _1yep5z6c4 _1yep5z6c5 _1yep5z6cr _1yep5z6cs _1yep5z6ct _1yep5z6g5 _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocusVisible:{true:"_1w920rn8 _1yep5z6lt _1yep5z6lr _1yep5z6hx"},isSelected:{true:"_1w920rn9"}},defaultVariants:{},compoundVariants:[[{isFocusVisible:true,isSelected:true},"_1w920rna _1yep5z61ty _1yep5z61tx _1yep5z61q4"]]}),qM="_1w920rne";var xf=({items:e,containerClassName:t,previewClassName:r,itemDataAttribute:o,showCount:n=false})=>{let{length:i}=e,a=Mo.useRef(null);return useLayoutEffect(()=>{if(!a.current)return;let l=a.current.closest(t)?.querySelector(`[${o}='${e?.at(-1)?.key}']`)?.cloneNode(true);return ie(l,"Node is not defined."),a.current?.prepend(l),()=>{l?.remove();}},[e,t,o]),jsx("div",{className:r,ref:a,children:n&&i>1?jsx(X,{backgroundColor:"background.secondary.medium",borderRadius:"full",typography:"label.md.medium",color:"text.primary",position:"absolute",paddingX:"md",className:qM,children:i}):null})};function YM(e,t){return e.find(r=>r.id===t)}function ZM(e,t,r){let o=[...e],n=o.filter(l=>r.has(l.id)),i=o.filter(l=>!r.has(l.id)),a=i.findIndex(l=>l.id===t);return i.flatMap((l,s)=>s===a?[...n,l]:l)}function JM(e,t,r){let o=[...e],n=o.filter(l=>r.has(l.id)),i=o.filter(l=>!r.has(l.id)),a=i.findIndex(l=>l.id===t);return i.flatMap((l,s)=>s===a?[l,...n]:l)}function Pv(e){return e.map(t=>({id:t.id,label:t.label,data:{src:t.src,alt:t.alt}}))}function Tf(e){return e.map(t=>({id:t.id,label:t.label,src:t.data?.src,alt:t.data?.alt}))}function QM(){let[e,t]=useState(false);return useEffect(()=>{let r=window.matchMedia("(pointer: coarse)");t(r.matches);let o=n=>{t(n.matches);};return r.addEventListener("change",o),()=>{r.removeEventListener("change",o);}},[]),e}var tA=Mo.forwardRef(({className:e,children:t,style:r,isDisabled:o,onTruncatedChange:n,onHoverChange:i},a)=>{let l=useRef(null),{buttonProps:s}=rt({elementType:"span",isDisabled:o},l);useLayoutEffect(()=>{l.current&&n?.(l.current.scrollWidth>l.current.clientWidth);},[t,n]);let{hoverProps:u}=re({isDisabled:o,onHoverChange:i});return jsx(qs,{elementType:"span",slot:"label",...R(s,u),className:L(e,"BaselineUI-AdaptiveText"),tabIndex:-1,ref:Z(l,a),style:r,role:void 0,children:t})});tA.displayName="Label";var Dv=Mo.memo(Mo.forwardRef(({children:e,isOpen:t,isDisabled:r,...o},n)=>{let[i,a]=useState(false),[l,s]=useState(false),u=QM(),c=r||!l||u;return jsx(Be,{text:e,variant:"inverse",includeArrow:false,size:"sm",placement:"bottom start",isOpen:(i||t)&&l,isDisabled:c,children:jsx(tA,{...o,isDisabled:c,onTruncatedChange:s,onHoverChange:a,ref:n,children:e})})}));Dv.displayName="AdaptiveText";var U7=({fit:e,item:t,deleteElement:r})=>{let{formatMessage:o}=ye(),{isLoading:n,imgProps:i}=em({src:t.data?.src,alt:t.data?.alt||""});return jsxs("div",{className:GM,children:[n?jsx(Qa,{"aria-label":o(ju.loading)}):jsx("div",{role:"img",className:jM({isLoading:n}),"aria-label":i.alt||"",style:{backgroundImage:`url(${i.src})`,backgroundSize:e}}),r]})},rA=({item:e,options:{isFocusVisible:t,isSelected:r,isFocused:o,isDisabled:n,isPressed:i},fit:a="contain",onDelete:l,className:s,imageClassName:u,imageLabelClassName:c,imageDimensions:d,style:m,layoutTransition:p=true,renderImage:y=(b,{deleteElement:f})=>jsx(U7,{item:b,deleteElement:f,fit:a})})=>{let{formatMessage:b}=ye(),f=l?jsx("div",{className:BM,children:jsx(me,{"aria-label":b(ju.delete),size:"xs",icon:XIcon$1,onPress:()=>{l(e.id);},UNSAFE_isVisuallyInteractiveOnly:true})}):null,h=Tf([e])[0],v=useCallback(D=>{let I={},C=typeof D=="function"?D(h,{isSelected:r}):D;return C&&(I.width=typeof C.width=="string"?kv[C.width]:C.width,I.aspectRatio="height"in C?`${I.width} / ${C.height}`:C?.aspectRatio?.toString()),I},[h,r]),g=useMemo(()=>({isFocusVisible:t,isSelected:r,isFocused:o,isDisabled:n,isPressed:i}),[t,r,o,n,i]),T=!useReducedMotion()&&(typeof p=="boolean"?p:true),P=typeof p=="object"?p:void 0,S=v(d),E=T?motion.div:"div";return jsxs(E,{...T?{layout:"position",initial:false,transition:P}:{},className:L(HM,ii(s,h,g)),style:Np(m,h,g),children:[jsx(X,{display:"flex",flexDirection:"column",flex:1,justifyContent:"center",alignItems:"center",flexGrow:0,children:jsx("div",{className:L(vf({isFocusVisible:t,isSelected:r,isLoading:true}),ii(u,h,g)),style:S,"data-image-key":e.id,children:y(e,{deleteElement:f??void 0,onDelete:l})})}),jsx(Dv,{className:L(WM({isFocusVisible:t,isSelected:r}),c),style:{maxWidth:S.width},isOpen:t,children:e.label})]})};var nA=e=>Js({getItems:(t,r)=>r.map(o=>({"text/plain":o.label})),renderDropIndicator(t){return jsx(nn,{target:t,className:({isDropTarget:r})=>L(Ap({isDropTarget:r}),"BaselineUI-DropIndicator")})},...e});var lA={src:"src",alt:"alt"},kv={sm:102,md:170},sA=Mo.forwardRef(({className:e,style:t,fit:r="cover",onReorder:o,"data-block-id":n,"data-block-class":i,onDelete:a,imageWidth:l=kv.sm,aspectRatio:s=3/4,items:u,defaultItems:c=[],onKeyDown:d,imageContainerClassName:m,imageClassName:p,labelClassName:y,onListChange:b,renderImage:f,layoutTransition:h,imageDimensions:v={width:l,aspectRatio:s},imageContainerStyle:g,deleteConfirmationTitle:x="Are you sure you want to delete this item?",...T},P)=>{let{isVirtualized:S}=useContext(wt),E=Mo.useRef(null),[D,I]=useState([]),{formatMessage:C}=ye();useEffect(()=>{(s||l)&&console.warn("ImageGallery: aspectRatio and imageWidth are deprecated. Use imageDimensions instead.");},[l,s]);let[_,z]=be(T.selectedKeys,T.defaultSelectedKeys??[],T.onSelectionChange),[w,O]=be(u?Pv(u):void 0,Pv(c),b?N=>{b?.(Tf(N));}:void 0),k=useCallback(N=>{let $=N.target.key,A=N.keys;if(N.target.dropPosition==="before"){let B=ZM(w,$,A);O(B);}else if(N.target.dropPosition==="after"){let B=JM(w,$,A);O(B);}o?.(N);},[w,o,O]),{dragAndDropHooks:M}=nA({onReorder:k,isDisabled:!o,renderDragPreview:N=>jsx(xf,{items:N,containerClassName:".BaselineUI-ImageGallery",previewClassName:vf(),itemDataAttribute:"data-image-key",showCount:true}),getItems:N=>[...N].map($=>{let A=YM(w,$);return {[lA.src]:A?.src||"",[lA.alt]:A?.alt||"",key:$}}),renderDropIndicator(N){return jsx(nn,{target:N,className:L($M({isVirtualized:!!S}),"BaselineUI-DropIndicator")})}}),F=useCallback(()=>{a&&D.length&&(O(w.filter(N=>!D.includes(N.id))),a(D),I([]));},[D,w,a,O]),K=useCallback((N,$)=>{let A={id:N.id,label:N.label,src:N.data?.src,alt:N.data?.alt};return jsx(rA,{item:N,options:$,fit:r,onDelete:a?B=>{I([B]);}:void 0,renderImage:f,className:ii(m,A,$),imageClassName:p,imageLabelClassName:y,imageDimensions:v,style:g,layoutTransition:h},N.id)},[r,a,f,m,p,y,v,g,h]);return useEffect(()=>{let N=E.current;if(!N)return;let $=A=>{if(d?.(A),A.key==="Backspace"||A.key==="Delete"){if(!a)return;if([..._].length)I([..._]);else {let U=A.target.dataset.key;I([U]);}}};return N.addEventListener("keydown",$),()=>{N.removeEventListener("keydown",$);}},[a,d,_]),jsxs(Fragment,{children:[jsx(fn,{...T,ref:Z(P,E),style:t,className:L(UM,"BaselineUI-ImageGallery",e),"data-block-id":n,"data-block-class":i,selectedKeys:_,items:w,dragAndDropHooks:M,layout:"grid",orientation:"vertical",renderOption:K,onSelectionChange:z,optionClassName:o&&!S?sprinkles({marginLeft:"sm"}):void 0}),jsx(ro,{isOpen:!![...D].length,onOpenChange:N=>{N||I([]);},children:jsx(oo,{isDismissable:true,children:jsx(gf,{showCloseButton:false,title:typeof x=="function"?x(_==="all"?"all":new Set(_)):x,primaryActionLabel:C(ju.delete),cancelLabel:C(ju.cancel),onCancel:()=>{I([]);},onPrimaryAction:F,autoFocusButton:"cancel"})})})]})});sA.displayName="ImageGallery";var ju=Re({delete:{id:"delete",defaultMessage:"Delete"},cancel:{id:"cancel",defaultMessage:"Cancel"},loading:{id:"loading",defaultMessage:"Loading"}});var uA="_1sexph00",cA="_1sexph02",dA="_1sexph01 _1yep5z6189 _1yep5z618a _1yep5z618b _1yep5z61al _1yep5z61am _1yep5z61an _1yep5z61br _1yep5z61bs _1yep5z61bt _1yep5z619f _1yep5z619g _1yep5z619h _1yep5z61sg _1yep5z61sh _1yep5z61si";var mA=Mo.forwardRef(({className:e,style:t,items:r,"data-block-id":o,"data-block-class":n,hideLabel:i,size:a="md",isDisabled:l,excludeFromTabOrder:s,onButtonPress:u,onButtonAction:c,isSelected:d,defaultSelected:m,onButtonSelectionChange:p,collection:y,moreAriaLabel:b,optionStyle:f,optionClassName:h,triggerClassName:v,triggerStyle:g,tooltipProps:x,buttonBehaviour:T="toggle",...P},S)=>{let{formatMessage:E}=ye(),D=za({...P,collection:y,defaultValue:P.defaultSelectedKey||r?.[0]?.id,children:void 0,selectionMode:"single",validationState:P.validationState==="error"?"invalid":"valid"}),I=useMemo(()=>typeof T=="function"?T(D.value):T,[T,D.value]),[C,_]=be(d,!!m,$=>{p?.({isSelected:$,selectedKey:D.value});}),{hoverProps:z,isHovered:w}=re({isDisabled:l}),O=useMemo(()=>{let $=D.collection.getItem(D.value);if(!$)return null;let A=$?.textValue||$?.["aria-label"],B=$?.value,U=B?.icon,oe=I==="toggle",G=l||D.disabledKeys.has(D.value),W={size:a,...oe&&{isSelected:C},onPress:ne=>{oe&&_(!C),u?.(ne),c?.({isSelected:oe?!C:false,selectedKey:D.value,buttonBehaviour:I});},isDisabled:G,excludeFromTabOrder:s,className:L(typeof h=="function"?h(B,{isButton:true,isSelected:C}):h,"BaselineUI-ButtonSelect-Button"),style:typeof f=="function"?f(B,{isButton:true,isSelected:C}):f};return i&&U?jsx(Be,{variant:"inverse",size:"sm",includeArrow:false,text:A,placement:"bottom start",offset:4,...typeof x=="function"?x("button"):x,children:I==="action"?jsx(me,{icon:U,"aria-label":A,variant:"toolbar",...W}):jsx(fr,{icon:U,"aria-label":A,variant:"toolbar",...W})}):I==="toggle"?jsx(zm,{iconStart:U,label:A,variant:"toolbar",...W}):jsx(Ie,{label:A,variant:"toolbar",...W})},[D.collection,D.value,D.disabledKeys,I,l,a,C,s,h,f,i,u,c,_,x]),k=P["aria-label"],M=useCallback(({buttonProps:$,ref:A})=>{delete $["aria-labelledby"];let B=b||`${E(eq.more)} ${k}`;return jsx(Be,{variant:"inverse",size:"sm",includeArrow:false,text:B,placement:"bottom start",offset:4,...x,children:jsx(fo,{...$,children:jsx(me,{"aria-label":B,ref:A,icon:CaretDownIcon,variant:"toolbar",size:a,className:({isFocusVisible:U})=>L(km({isSelected:C&&I==="toggle",isFocusVisible:U}),dA,v,"BaselineUI-ButtonSelect-Trigger"),style:g,isDisabled:l,excludeFromTabOrder:s})})})},[k,I,s,E,C,l,b,a,x,v,g]),F=ce({"data-block-id":o,"data-block-class":n,"data-hovered":w,"data-selected":C,"data-disabled":l,"data-expanded":D.isOpen,"data-button-behaviour":I}),K=ge(S),N=useMemo(()=>({state:D,popoverAnchorRef:K}),[D,K]);return jsx(Nm.Provider,{value:N,children:jsxs(X,{...z,role:"group",display:"inline-flex",flexDirection:"row",alignItems:"center",className:L(uA,"BaselineUI-ButtonSelect",e),"aria-label":P["aria-label"],"aria-labelledby":P["aria-labelledby"],"aria-describedby":P["aria-describedby"],"aria-details":P["aria-details"],style:t,ref:K,...F,children:[O,jsx(yn,{isDisabled:l,placement:"bottom start",items:r,...P,variant:"ghost",renderTrigger:M,className:L(cA,"BaselineUI-ButtonSelect-Select")})]})})});mA.displayName="ButtonSelectCore";var fA=Mo.forwardRef(({onPress:e,optionStyle:t,optionClassName:r,onSelectionChange:o,onOptionPress:n,...i},a)=>{let l=useCallback((c,d)=>{n?.(c,d),i.selectedKey===d&&o?.(d);},[n,o,i.selectedKey]),s=useCallback(c=>{c&&o?.(c);},[o]),u=useMemo(()=>({onPress:l}),[l]);return jsx(gh.Provider,{value:u,children:jsx(nl,{items:i.items,listBoxProps:{renderOption:(c,d)=>jsx(vu,{...d,item:c}),optionStyle:(c,d)=>typeof t=="function"?t(c,{isButton:false,isSelected:d.isSelected}):t,optionClassName:(c,d)=>typeof r=="function"?r(c,{isButton:false,isSelected:d.isSelected}):r},children:c=>jsx(mA,{collection:c,onButtonPress:e,onSelectionChange:s,optionStyle:t,optionClassName:r,...i,ref:a})})})});fA.displayName="ButtonSelect";var eq=Re({more:{id:"more",defaultMessage:"More"}});var yA=V({defaultClassName:"_18v88n10 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6ln",variantClassNames:{labelPosition:{top:"_1yep5z6157 _1yep5z6158 _1yep5z6159",start:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),bA=V({defaultClassName:"_18v88n1p _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6eu _1yep5z6ln _1yep5z6ly _1yep5z6lq _1yep5z6dy",variantClassNames:{isDisabled:{true:"_18v88n1q _1yep5z6111"},labelPosition:{top:"_18v88n1r",start:"_18v88n1s"}},defaultVariants:{},compoundVariants:[]}),gA=V({defaultClassName:"_18v88n1t _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lk",variantClassNames:{validationState:{valid:"_18v88n1u",error:"_1yep5z610h",warning:"_1yep5z610p"},isReadOnly:{true:"_1yep5z6118"}},defaultVariants:{},compoundVariants:[]}),hA=V({defaultClassName:"_18v88n1d _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{validationState:{valid:"_18v88n1e",error:"_1yep5z612q",warning:"_18v88n1g"},isHovered:{true:"_18v88n1h"},isFocused:{true:"_1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6184 _1yep5z6182 _1yep5z6134 _1yep5z617v _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"_18v88n1j"},variant:{primary:"_18v88n1k",ghost:"_18v88n1l"},isReadOnly:{true:"_1yep5z6140"}},defaultVariants:{},compoundVariants:[[{variant:"ghost",isHovered:true,isFocused:false,validationState:"valid"},"_1yep5z61u7 _1yep5z61u5 _1yep5z61pa"],[{variant:"ghost",isFocused:false,isHovered:false,validationState:"valid"},"_18v88n1n"],[{isHovered:true,validationState:"valid",isDisabled:false,isReadOnly:false,isFocused:false,variant:"primary"},"_1yep5z61pb"],[{isHovered:true,validationState:"warning",isDisabled:false,isReadOnly:false,isFocused:false},"_1yep5z61pb"],[{isReadOnly:true,variant:"primary",isFocused:false},"_18v88n1o"]]}),vA=V({defaultClassName:"_18v88n13 _1yep5z6dy _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),xA=V({defaultClassName:"_18v88n19 _1yep5z6iv _1yep5z6iw _1yep5z6ix",variantClassNames:{labelPosition:{top:"_1yep5z6t9 _1yep5z6ta _1yep5z6tb",start:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6157 _1yep5z6158 _1yep5z6159"},hasMessage:{true:"_18v88n1c"}},defaultVariants:{},compoundVariants:[[{labelPosition:"start",hasMessage:false},"_1yep5z61sj _1yep5z61sk _1yep5z61sl"]]}),TA="_18v88n1y",PA=V({defaultClassName:"_18v88n15 _1yep5z699 _1yep5z69a _1yep5z69b _1yep5z6lq",variantClassNames:{isFocusVisible:{true:"_1yep5z6127 _1yep5z614f _1yep5z617t"},isHovered:{true:"_1yep5z6127 _1yep5z614f _1yep5z617t"},isOpen:{true:"_1yep5z614f _1yep5z617t"}},defaultVariants:{},compoundVariants:[[{isFocusVisible:true},"_1yep5z61oa _1yep5z61qi _1yep5z61tw"],[{isHovered:true},"_1yep5z61oa _1yep5z61qi _1yep5z61tw"],[{isOpen:true},"_1yep5z61qi _1yep5z61tw"]]});function CA({allowsCustomValue:e,onValueChange:t,inputValue:r},o,n,i,a){let[l,s]=useState(null),u=useRef(false);useEffect(()=>{if(!t)return;let d=n.current,m=p=>{s(p.target);};return d?.addEventListener("focusin",m),()=>{d?.removeEventListener("focusin",m);}},[t,n,o.selectedKey]),useGranularEffect(()=>{o.selectedKey&&(t?.({value:o.selectedItem?.textValue,key:o.selectedKey}),u.current=false);},[o.selectedKey],[t,o.selectedItem]),Gr({ref:i,isDisabled:!t,onInteractOutside:d=>{!a.current?.contains(d.target)&&l===i.current&&e&&u.current&&(t?.({value:i.current?.value,key:null}),u.current=false);}}),useEffect(()=>{if(!t)return;let d=i.current,m=()=>{u.current=true;};return d?.addEventListener("input",m),()=>{d?.removeEventListener("input",m);}},[i,t]),useEffect(()=>{u.current=false;},[r]);let{keyboardProps:c}=Ce({isDisabled:!t,onKeyDown:d=>{e&&d.key==="Enter"&&u.current?(t?.({value:i.current?.value,key:null}),u.current=false):d.key==="Escape"&&o.close(),d.continuePropagation();}});return {inputProps:c}}var SA=Mo.forwardRef((e,t)=>jsx(nl,{items:e.items,children:r=>jsx(DA,{...e,collection:r,ref:t})}));SA.displayName="ComboBox";var DA=Mo.forwardRef(({className:e,style:t,inputStyle:r,inputClassName:o,"data-block-id":n,"data-block-class":i,label:a,items:l,isInvalid:s=false,labelPosition:u="top",validationState:c="valid",variant:d="primary",toggleLabel:m,renderOption:p,showIcon:y=true,filter:b,minValue:f,maxValue:h,inputType:v="text",onInputSubmit:g,onValueChange:x,tooltip:T,collection:P,onTriggerPress:S,...E},D)=>{let I=ge(D),{contains:C}=mo({sensitivity:"base"}),_=xa({...E,defaultFilter:b||C,defaultItems:l,collection:P,children:void 0,validationState:s?"invalid":"valid"}),z=Mo.useRef(null),w=Mo.useRef(null),O=Mo.useRef(null),k=Mo.useRef(null),M=Mo.useRef(null),{inputProps:F}=CA({onValueChange:x,allowsCustomValue:E.allowsCustomValue,inputValue:E.inputValue},_,I,w,k),{buttonProps:K,inputProps:N,listBoxProps:$,labelProps:A,errorMessageProps:B,descriptionProps:U,validationErrors:oe}=Gi({...E,inputRef:w,defaultItems:l,buttonRef:z,listBoxRef:O,popoverRef:k,validationState:c==="error"?"invalid":"valid"},_),G=E.errorMessage||oe.join(" "),W=or({...E,errorMessage:G,descriptionProps:U,errorMessageProps:B,labelPosition:u});G&&(c="error");let{hoverProps:ne,isHovered:Q}=re({isDisabled:E.isDisabled}),{isFocused:de,focusProps:he,isFocusVisible:Ae}=ee(),it=Ya({isReadOnly:E.isReadOnly,validationState:c}),Pe=ce({"data-read-only":E.isReadOnly,"data-disabled":E.isDisabled,"data-validation-state":c,"data-focused":de,"data-focus-visible":Ae}),{labelProps:Te,fieldProps:Qe}=vt({label:a,"aria-label":E["aria-label"],"aria-labelledby":E["aria-labelledby"],"aria-describedby":E["aria-describedby"],"aria-details":E["aria-details"]}),{keyboardProps:Fe}=Ce({onKeyDown:Rt=>{E.allowsCustomValue&&Rt.key==="Enter"&&g?.(N.value?.toString()??"");}}),{focusProps:we}=bt({onBlur:()=>{E.allowsCustomValue&&N.value&&g?.(N.value?.toString()??"");}}),{tooltipProps:q}=Ot({tooltip:T,label:E["aria-label"]}),{pressProps:fe}=Se({onPress:S}),$e=Rt=>{let{triggerProps:yr,triggerRef:Ao}=Rt??{};return jsxs("div",{className:L(yA({labelPosition:u}),e,"BaselineUI-ComboBox"),"data-block-id":n,"data-block-class":i,style:t,ref:I,children:[a||u==="start"&&W?jsxs("div",{className:xA({labelPosition:u,hasMessage:!!W}),children:[jsx("label",{...R(A,Te),className:vA({isDisabled:E.isDisabled}),children:a}),u==="start"&&W]}):null,jsxs("div",{...ne,className:hA({validationState:c,isHovered:Q,isFocused:de,variant:d,isReadOnly:!!E.isReadOnly,isDisabled:!!E.isDisabled}),ref:M,children:[jsx("input",{...R(fe,yr,N,F,he,Pe,Qe,we,Fe,v==="number"?{type:"number",min:f,max:h,onKeyDown:Wt=>{(Wt.key==="ArrowUp"||Wt.key==="ArrowDown")&&Wt.preventDefault();}}:null),id:E.id,ref:Z(Ao,w),className:L(bA({isDisabled:E.isDisabled,labelPosition:u}),"BaselineUI-ComboBox-Input",o),style:r}),it&&y?jsx(it,{className:gA({validationState:c,isReadOnly:E.isReadOnly}),size:16}):null,jsx(Ie,{...K,onPressStart:Wt=>{K.onPressStart?.(Wt),S?.(Wt);},ref:z,variant:"popover",label:m,className:PA({isFocusVisible:!E.isDisabled&&!E.isReadOnly&&Ae,isHovered:!E.isDisabled&&!E.isReadOnly&&Q,isOpen:_.isOpen})})]}),u==="top"&&W]})};return jsxs(Fragment,{children:[q?jsx(Be,{...q,children:$e}):$e(),jsx(dt,{ref:k,triggerRef:M,state:_,crossOffset:-2,className:"BaselineUI-ComboBox-Popover",children:jsx(Cr.Provider,{value:_,children:jsx(So.Provider,{value:useMemo(()=>({...$,ref:O}),[$]),children:jsx(fn,{renderOption:p,selectionMode:"single",className:L(dn,TA,"BaselineUI-ComboBox-ListBox")})})})})]})});DA.displayName="ComboBoxInner";var kA=V({defaultClassName:"byycd01 _1yep5z6d6 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6id _1yep5z6ie _1yep5z6if",variantClassNames:{},defaultVariants:{},compoundVariants:[]});var Iv=Mo.forwardRef(({enableReorder:e,...t},r)=>e?jsx(zA,{ref:r,...t}):jsx(Rv,{ref:r,...t}));Iv.displayName="GridListItem";var Rv=Mo.forwardRef(({item:e,state:t,dropState:r,renderGridItem:o,dragHandleProps:n},i)=>{let a=ge(i),l=da({node:e},t,a),s=t.selectionManager.selectionMode!=="none"&&t.selectionManager.selectionBehavior==="toggle",{checkboxProps:u}=yd({key:e.key},t),c={...l,checkBoxProps:s?u:void 0,dragHandleProps:n};return jsxs("div",{"data-grid-list-item-key":e.key,children:[r?jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"before"},dropState:r}):null,o?o(e,c,a):null,r&&t.collection.getKeyAfter(e.key)==null?jsx(Aa,{target:{type:"item",key:e.key,dropPosition:"after"},dropState:r}):null]},e.key)});Rv.displayName="BaseGridListItem";var zA=Mo.forwardRef(({dragState:e,item:t,...r},o)=>{let n=Qo({key:t.key,hasDragButton:true},e);return jsx(Rv,{item:t,dragHandleProps:n,ref:o,...r})});zA.displayName="DraggableGridListItem";var sq=e=>{e.key==="Enter"||e.key==="Escape"||e.stopPropagation();},wA=Mo.forwardRef(({className:e,style:t,isEditing:r=false,"data-block-id":o,"data-block-class":n,gridListHandle:i,onReorder:a,enableReorder:l=false,layout:s="stack",orientation:u="vertical",renderGridItem:c,...d},m)=>{let p=Dr(),y=xt({...d,children:p}),b=Mo.useRef(null),f=ge(m),{gridProps:h}=ca(d,y,f);Vp({handle:i,type:"gridlist"},y,f);let{collectionProps:v,dragState:g,dropState:x}=Mp({...d,onReorder:a,enableReorder:l,layout:s,orientation:u,preview:b,getItems:S=>[...S].map(E=>{let D=y.collection.getItem(E);return ie(D,"Expected item to be defined."),{key:D.key.toString()}})},y,f),T=r?sq:h.onKeyDownCapture,P={state:y,dragState:g,dropState:x,enableReorder:l,renderGridItem:c};return jsxs("ul",{...R(h,v),className:L("BaselineUI-GridList",e),"data-block-id":o,"data-block-class":n,style:t,ref:f,"aria-rowcount":y.collection.size,onKeyDownCapture:T,children:[[...y.collection].map(S=>jsx(Iv,{item:S,...P},S.key)),l?jsx(en,{ref:b,children:S=>jsx(xf,{items:S,containerClassName:".BaselineUI-GridList",previewClassName:kA(),itemDataAttribute:"data-grid-list-item-key"})}):null]})});wA.displayName="GridList";var dq={none:"toolbar",single:"radiogroup",multiple:"toolbar"};function Mv(e,t,r){let{isDisabled:o,orientation:n="horizontal"}=e,[i,a]=useState(false);ae(()=>{a(!!(r.current&&r.current.parentElement?.closest('[role="toolbar"]')));},[r]),[...t.collection.getKeys()].some(p=>!t.disabledKeys.has(p))||(o=true);let{direction:s}=J(),u=Lr(r),c=s==="rtl"&&n==="horizontal",d=p=>{if(p.currentTarget.contains(p.target))switch(p.key){case "ArrowRight":case "ArrowDown":p.preventDefault(),p.stopPropagation(),p.key==="ArrowRight"&&c?u.focusPrevious({wrap:true}):u.focusNext({wrap:true});break;case "ArrowLeft":case "ArrowUp":p.preventDefault(),p.stopPropagation(),p.key==="ArrowLeft"&&c?u.focusNext({wrap:true}):u.focusPrevious({wrap:true});break}},m=dq[t.selectionManager.selectionMode];return i&&m==="toolbar"&&(m="group"),{actionGroupProps:{...le(e,{labelable:true}),role:m,"aria-orientation":m==="toolbar"?n:void 0,"aria-disabled":o,onKeyDown:d}}}var mq={none:void 0,single:"radio",multiple:"checkbox"};function Av(e,t,r){let o=t.selectionManager.selectionMode,n={role:mq[o]};if(o!=="none"){let l=t.selectionManager.isSelected(e.key);n["aria-checked"]=l;}let i=e.key===t.selectionManager.focusedKey,a=ue(()=>{i&&t.selectionManager.setFocusedKey(null);});return useEffect(()=>()=>{a();},[a]),{buttonProps:R(n,{tabIndex:i||t.selectionManager.focusedKey==null?0:-1,onFocus(){t.selectionManager.setFocusedKey(e.key);},onPress(){t.selectionManager.select(e.key);}})}}var _A="_1yep5z6f5",IA="_1dc3b8m0";var RA=Mo.forwardRef(({className:e,selectionMode:t,style:r,"data-block-id":o,"data-block-class":n,tooltipProps:i,icon:a,renderActionItem:l,...s},u)=>{let c=ge(u),d=Dr(),m=xt({...s,selectionMode:t,suppressTextValueWarning:true,children:d}),{actionGroupProps:p}=Mv({...s,selectionMode:t,children:d},m,c),y=[...m.collection].map(b=>(ie(b.value),jsx(bq,{item:b,state:m,isDisabled:s.isDisabled,onAction:s.onAction,tooltipProps:i,renderActionItem:l},b.key)));return a?jsxs(X,{...p,display:"flex",flexDirection:"row",gap:"md",alignItems:"center",className:L("BaselineUI-ActionGroup",e),"data-block-id":o,"data-block-class":n,style:r,ref:c,children:[jsx(a,{"aria-hidden":"true",size:24,className:_A}),jsx(X,{display:"flex",flexDirection:"row",gap:"xs",flex:1,children:y})]}):jsx(X,{...p,display:"flex",flexDirection:"row",gap:"xs",className:L("BaselineUI-ActionGroup",e),"data-block-id":o,"data-block-class":n,style:r,ref:c,children:y})});RA.displayName="ActionGroup";var bq=({item:e,state:t,tooltipProps:r,renderActionItem:o,onAction:n,isDisabled:i})=>{let{buttonProps:a}=Av({key:e.key},t),l=i||t.selectionManager.isDisabled(e.key),s=t.selectionManager.isSelected(e.key);ie(e.value);let{icon:u}=e.value;ie(u);let c=useMemo(()=>(ie(e.value),typeof r=="function"?r(e.value):r),[r,e.value]);return jsx(fo,{...R(a,{onPress:()=>{n?.(e.key);}}),children:jsx(Be,{text:e.textValue,size:"sm",variant:"inverse",includeArrow:false,offset:4,...c,children:o?.(e,{isSelected:s,isDisabled:l})||jsx(me,{variant:"tertiary",icon:u,"aria-label":e.textValue,size:"sm",isDisabled:l,className:L({[IA]:s},"BaselineUI-ActionGroup-Item")})})})};var LA="ujkypy0 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e",MA="_1yep5z61r7 _1yep5z61r8 _1yep5z61r9 _1yep5z61hl _1yep5z61hm _1yep5z61hn";var NA=Mo.forwardRef(({className:e,style:t,items:r,optionsContainerClassName:o,label:n,icon:i,value:a,defaultValue:l,onChange:s,isDisabled:u,optionClassName:c,optionStyle:d,labelPosition:m="top","data-block-id":p,"data-block-class":y,shouldFocusWrap:b,tooltip:f=true,...h},v)=>{let g=useMemo(()=>r.map(T=>({id:T.color,label:T.label})),[r]),x=Y();return useEffect(()=>{!n&&!h["aria-label"]&&!h["aria-labelledby"]&&console.warn("ColorSwatchPicker: Please provide a label or aria-label for accessibility.");},[n,h]),jsxs(X,{...le(h),className:L("BaselineUI-ColorSwatchPicker",e),"data-block-id":p,"data-block-class":y,display:"flex",flexDirection:m==="top"?"column":"row",alignItems:m==="top"?"flex-start":"center",justifyContent:"space-between",gap:"md",style:t,ref:v,children:[i||n?jsxs(X,{display:"flex",alignItems:"center",gap:"md",children:[i?jsx(i,{"aria-hidden":"true",size:24,className:sprinkles({color:"icon.primary"})}):null,n?jsx(Ze,{id:x,type:"label",size:"sm",children:n}):null]}):null,jsx(to,{className:L(MA,o),selectionMode:"single",items:g,orientation:"horizontal",defaultSelectedKeys:l?[l]:void 0,disabledKeys:u?g.map(T=>T.id):void 0,isDisabled:u,selectedKeys:a?[a]:void 0,onSelectionChange:T=>{s?.([...T][0]);},optionClassName:c,optionStyle:d,renderOption:(...T)=>Pq(...T,f),shouldFocusWrap:b,...h,"aria-labelledby":n?x:h["aria-labelledby"]})]})});NA.displayName="ColorSwatchPicker";var Pq=({key:e,textValue:t},{isSelected:r,isFocusVisible:o,isDisabled:n,optionProps:i},a,l)=>{let{tooltipProps:s}=Ot({label:t,tooltip:l});return jsx(Be,{...s,children:jsx(Ho,{children:jsx("li",{...i,"data-disabled":n,className:L(LA,i.className),ref:a,children:jsx(gn,{isFocusVisible:o,color:e,isSelected:r,"aria-label":t,isInteractive:true,isDisabled:n,tooltip:false})})})})};var OA=V({defaultClassName:"_1lrwegk0",variantClassNames:{isSeparator:{true:"_1yep5z610y"}},defaultVariants:{},compoundVariants:[]}),Sf="_1yep5z63o _1yep5z63p _1yep5z63q _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6kj _1yep5z6kk _1yep5z6kl";var Nv="\u2013";function Df({segment:e,state:t}){let r=Mo.useRef(null),{segmentProps:o}=ed(e,t,r),{focusProps:n,isFocused:i}=ee(),a=useMemo(()=>{let{text:l,type:s}=e;switch(s){case "hour":return l.replaceAll(Nv,"H");case "minute":return l.replaceAll(Nv,"M");case "second":return l.replaceAll(Nv,"S");default:return l}},[e]);return jsx(X,{...R(o,n),typography:"label.md.medium",color:e.isPlaceholder?"text.placeholder":"text.primary",backgroundColor:i?"support.info.subtle":void 0,ref:r,marginLeft:e.type==="timeZoneName"?"xs":void 0,className:OA({isSeparator:e.text===":"||e.text==="/"}),children:e.isPlaceholder?a:e.text})}var KA=Mo.forwardRef(({className:e,labelPosition:t,"data-block-id":r,"data-block-class":o,...n},i)=>{let{locale:a}=J(),l={...n,validationState:void 0,isInvalid:n.validationState==="error"||void 0},s=qd({...l,locale:a}),u=Mo.useRef(null),{labelProps:c,fieldProps:d,descriptionProps:m,errorMessageProps:p,validationErrors:y,isInvalid:b,inputProps:f}=Qc(l,s,u),h=n.errorMessage||y.join(" "),v=or({...n,errorMessage:h,descriptionProps:m,errorMessageProps:p,labelPosition:t}),{focusProps:g,isFocused:x}=ee({within:true});return jsxs(ai,{className:L("BaselineUI-TimeField",e),labelProps:c,fieldProps:d,ref:i,wrapperRef:u,wrapperClassName:Sf,labelPosition:t,message:v,isFocused:x,"data-block-id":r,"data-block-class":o,isInvalid:b,...n,children:[jsx(Le,{children:jsx("input",{...f})}),jsx(X,{display:"flex",flexDirection:"row",paddingRight:"md",...g,children:s.segments.map((T,P)=>jsx(Df,{segment:T,state:s},P))})]})});KA.displayName="TimeField";var VA="_10dw1p96",BA="_10dw1p95",$A=V({defaultClassName:"_10dw1p90 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69f _1yep5z69g _1yep5z69h _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lq _1yep5z6ld _1yep5z6la",variantClassNames:{isSelected:{true:"_1yep5z6126"},isHovered:{true:"_10dw1p92"},isRenaming:{true:"_10dw1p93"},isFocusVisible:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isSelected:false,isRenaming:false},"_1yep5z61o8 _1yep5z61q9 _1yep5z61ty _1yep5z61tx"]]});function GA(e,t){if(typeof e=="function"&&!e.prototype?.isReactComponent){let r=e(t);return isValidElement(r)?e:r}return e}var UA=({context:e,depth:t,children:r,item:o,onPrimaryAction:n,onSecondaryAction:i,actionsPosition:a,primaryActionIcon:l,secondaryActionIcon:s,primaryActionAriaLabel:u,secondaryActionAriaLabel:c,onRename:d,onAction:m,renderItemTitle:p=y=>y.data.label})=>{let{formatMessage:y}=ye(),{hoverProps:b,isHovered:f}=re({}),h=useRef(null),{onKeyDown:v,...g}=e.interactiveElementProps;delete g.onFocus,delete g.onClick;let x=Lr(h),T=useCallback(z=>{if(z.key==="ArrowRight"&&(e.isExpanded||!o.children?.length))h.current?.setAttribute("tabindex","-1"),z.preventDefault(),z.stopPropagation(),x.focusNext();else switch(z.key){case "ArrowLeft":{x.focusPrevious()?(z.preventDefault(),z.stopPropagation()):(v?.(z),e.focusItem(true));break}case "Enter":{e.toggleExpandedState();break}default:v?.(z);}},[e,x,v,o,h]),P=useMemo(()=>{let z=GA(l,o.index),w=GA(s,o.index),O=typeof u=="function"?u(o.index):u,k=typeof c=="function"?c(o.index):c;return z||w?jsxs(X,{display:"flex",flexDirection:"row",children:[z?jsx(fr,{icon:z,"aria-label":O,size:"sm",excludeFromTabOrder:true,variant:"secondary",onPress:()=>{n?.(o.index);},tooltip:true}):null,w?jsx(fr,{icon:w,"aria-label":k,size:"sm",excludeFromTabOrder:true,variant:"secondary",onPress:()=>{i?.(o.index);},tooltip:true}):null]}):null},[l,o.index,s,u,c,n,i]),S=useCallback(z=>{z.key==="Enter"?(d?.({key:o.index,value:z.target.value}),e.stopRenamingItem()):z.key==="Escape"?(e.stopRenamingItem(),h.current?.setAttribute("tabindex","0"),h.current?.focus()):z.key!=="ArrowRight"&&z.key!=="ArrowLeft"&&z.key!=="ArrowUp"&&z.key!=="ArrowDown"&&!z.metaKey&&z.continuePropagation();},[o.index,e,d,h]),E=o.data.icon,D=!!d,{pressProps:I}=Se({onPress:()=>{m?.(o.index);}}),{isFocusVisible:C,focusProps:_}=ee();return jsxs(Fragment,{children:[jsx("div",{...R({onKeyDown:T,onFocus:()=>{e.focusItem(false);}},I,_,b,e.itemContainerWithoutChildrenProps,g),className:L(BA,$A({isHovered:f,isSelected:e.isSelected,isFocusVisible:C,isRenaming:e.isRenaming}),"BaselineUI-TreeView-Row"),role:"row","data-key":o.index,"data-expanded":o.isFolder?e.isExpanded:void 0,"aria-expanded":o.isFolder?e.isExpanded:void 0,"data-selected":e.isSelected,"aria-selected":e.isSelected,"data-depth":t,"aria-level":t+1,"aria-posinset":o.data.posInset,"aria-setsize":o.data.setSize,"aria-label":o.data.label,style:{justifyContent:a==="end"?"space-between":void 0},ref:h,children:jsxs(X,{role:"gridcell",style:{display:"contents"},"aria-colindex":1,children:[a==="start"?P:null,jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[jsxs(X,{display:"flex",padding:"sm",flexDirection:"row",alignItems:"center",gap:"md",style:{marginInlineStart:`calc(${t*2} * ${themeVars.spacing.lg})`},children:[jsx(me,{icon:ChevronRightIcon,size:"xxs",variant:"secondary",onPress:()=>{e.toggleExpandedState();},"aria-label":y(e.isExpanded?Ov.collapse:Ov.expand),style:{visibility:o.children?.length?"visible":"hidden"},className:L(VA,"BaselineUI-TreeView-ExpansionToggle"),UNSAFE_isVisuallyInteractiveOnly:true}),E?jsx(E,{size:16,style:{color:themeVars.color.icon.interactive.disabled}}):null]}),jsxs(X,{paddingLeft:"sm",paddingY:e.isRenaming?"none":"md",display:"flex",flexDirection:"column",gap:"xs",onDoubleClick:z=>{D&&(z.stopPropagation(),z.preventDefault(),e.startRenamingItem());},children:[e.isRenaming?jsx("div",{onClick:z=>{z.stopPropagation();},children:jsx(pn,{defaultValue:o.data.label,autoFocus:true,onBlur:z=>{d?.({key:o.index,value:z.target.value}),e.stopRenamingItem();},"aria-label":y(Ov.rename),onKeyDown:S,className:"BaselineUI-TreeView-RenameInput"})}):jsx(Ze,{type:"label",size:"sm",className:L(sprinkles.compoundVariants({color:"text.primary"}),"BaselineUI-TreeView-Title"),children:p(o)}),o.data.description?jsx(Ze,{type:"helper",size:"sm",className:"BaselineUI-TreeView-Description",children:o.data.description}):null]})]}),a==="end"?P:null]})}),r]})},Ov=Re({expand:{id:"expand",defaultMessage:"Expand"},collapse:{id:"collapse",defaultMessage:"Collapse"},rename:{id:"rename",defaultMessage:"Rename"}});function Nq(e,{posInset:t,setSize:r}){return {index:e.id,children:e.children?e.children.map(o=>o.id):[],data:{label:e.label,description:e.description,icon:e.icon,...e.data,posInset:t,setSize:r},isFolder:!!e.children?.length}}function Oq(e,t){let r={};function o(n,i,a){if(r[n.id]=t(n,{posInset:i,setSize:a}),n.children)for(let l=0;l<n.children.length;l++)o(n.children[l],l+1,n.children.length);}return o(e,0,0),r}var YA=Mo.forwardRef(({className:e,style:t,"data-block-id":r,"data-block-class":o,items:n,rootId:i=n.id,onPrimaryAction:a,onSecondaryAction:l,primaryActionIcon:s,secondaryActionIcon:u,primaryActionAriaLabel:c,secondaryActionAriaLabel:d,actionsPosition:m="start",onRename:p,onAction:y,renderItemTitle:b,...f},h)=>{let v=Dr(),g=useRef(null),x=Ea({...f,selectionMode:"multiple",items:n.children,children:v}),T=useMemo(()=>Object.fromEntries(Object.entries(Oq(n,Nq)).map(([C,_])=>[C,{..._,canRename:!!p}])),[n,p]),P=Y(),[S,E]=Mo.useState(n.children?.[0]?.id??""),D=useRef(S),I=useMemo(()=>({[`tree-${P}`]:{focusedItem:S,expandedItems:[...x.expandedKeys],selectedItems:[...x.selectionManager.selectedKeys]}}),[S,x.expandedKeys,x.selectionManager.selectedKeys,P]);return useEffect(()=>{if(!g.current)return;let C=g.current.getRootNode(),_=C instanceof ShadowRoot,z=g.current?.contains(C?.activeElement??null);_&&z&&C?.querySelector(`[data-rct-item-id="${S}"]`)?.focus();},[S]),jsx(ControlledTreeEnvironment,{items:T,getItemTitle:C=>C.data?.label,viewState:I,onExpandItem:C=>{x.setExpandedKeys(new Set([...x.expandedKeys,C.index])),f.onExpand?.(C.index.toString());},onFocusItem:C=>{E(C.index),C.index&&(D.current=C.index);},onCollapseItem:C=>{x.setExpandedKeys(new Set([...x.expandedKeys].filter(_=>_!==C.index))),f.onCollapse?.(C.index.toString());},onSelectItems:C=>{x.selectionManager.setSelectedKeys(new Set(C));},renderItem:C=>jsx(UA,{...C,onPrimaryAction:a,onSecondaryAction:l,actionsPosition:m,primaryActionIcon:s,secondaryActionIcon:u,primaryActionAriaLabel:c,secondaryActionAriaLabel:d,onRename:p,onAction:y,renderItemTitle:b}),renderLiveDescriptorContainer:({children:C})=>jsx(Kt,{children:jsx(Le,{children:C})}),renderTreeContainer:({containerProps:C,children:_})=>jsx("div",{...R(C,{onBlur:z=>{z.currentTarget.contains(z.relatedTarget)||z.currentTarget.querySelector(`[data-key="${D.current}"]`)?.setAttribute("tabindex","0");}}),"data-block-id":r,"data-block-class":o,style:{...t,...C.style},className:L(e,"BaselineUI-TreeView"),ref:Z(h,C.ref,g),role:"treegrid",children:_}),renderItemsContainer:({children:C})=>C,children:jsx(Tree,{treeId:`tree-${P}`,rootItem:i,treeLabel:f["aria-label"],treeLabelledBy:f["aria-labelledby"]})})});YA.displayName="TreeView";var $q=forwardRef(({className:e,isCollapsible:t=false,...r},o)=>{let n=useRef(null),i=Y();return useImperativeHandle(o,()=>({resize:n.current?.resize})),jsx(Panel,{className:L("BaselineUI-Panel",e),collapsible:t,ref:n,id:i,...r})});$q.displayName="Panel";var qq=forwardRef(({className:e,...t},r)=>{let o=useRef(null);return useImperativeHandle(r,()=>({setLayout:o.current?.setLayout})),jsx(PanelGroup,{className:L("BaselineUI-PanelGroup",e),ref:o,...t})});qq.displayName="PanelGroup";var ZA="_6abhjk0";var Zq=({className:e,isDisabled:t=false,...r})=>jsx(PanelResizeHandle,{disabled:t,className:L(ZA,"BaselineUI-PanelResizeHandle",e),...r});Zq.displayName="PanelResizeHandle";var JA=V({defaultClassName:"_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6d7 _1yep5z6lz _1yep5z6m1",variantClassNames:{variant:{info:"_1yep5z6131",warning:"_1yep5z612x",error:"_1yep5z612p",success:"_1yep5z612t"}},defaultVariants:{},compoundVariants:[]}),QA="_1udvgpn5 _1yep5z6ij _1yep5z6ik _1yep5z6il _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69l _1yep5z69m _1yep5z69n";var eX=()=>{};function tX({state:e,...t}){Mo.useRef(null);let {toastProps:o,contentProps:n,titleProps:i,descriptionProps:a,closeButtonProps:l}=Md(t,e),s=useMemo(()=>({root:o,title:i,content:n,description:a,close:l}),[o,i,n,a,l]),{canClose:u=true,...c}=t.toast.content;return jsx(Km,{elementProps:s,...c,className:L(JA({variant:c.variant||"info"}),c.className),onClose:u?eX:void 0})}var e5=Mo.forwardRef(({state:e,style:t,className:r,...o},n)=>{let i=ge(n),{regionProps:a}=Ad(o,e,i),l={zIndex:1,...t,...a.style};return jsx("div",{...a,ref:i,className:L(QA,r),style:l,children:e.visibleToasts.map(s=>jsx(tX,{toast:s,state:e},s.key))})});e5.displayName="ToastRegion";var t5=Mo.forwardRef(({toastQueue:e,portalContainer:t,...r},o)=>{let n=ip(e),i=Ft(t);return n.visibleToasts.length>0?jsx(Kt,{portalContainer:i,ref:o,children:jsx(e5,{state:n,...r})}):null});t5.displayName="GlobalToastRegion";var o5=Mo.forwardRef(({className:e,labelPosition:t,"data-block-id":r,"data-block-class":o,...n},i)=>{let{locale:a}=J(),l={...n,validationState:void 0,isInvalid:n.validationState==="error"||void 0},s=Pa({...l,locale:a,createCalendar:createCalendar}),u=Mo.useRef(null),{labelProps:c,fieldProps:d,validationErrors:m,descriptionProps:p,inputProps:y,errorMessageProps:b,isInvalid:f}=Cs(l,s,u),h=n.errorMessage||m.join(" "),v=or({...n,errorMessage:h,descriptionProps:p,errorMessageProps:b,labelPosition:t}),{focusProps:g,isFocused:x}=ee({within:true});return jsxs(ai,{className:L("BaselineUI-DateField",e),labelProps:c,fieldProps:d,ref:i,wrapperRef:u,wrapperClassName:Sf,labelPosition:t,message:v,isFocused:x,"data-block-id":r,"data-block-class":o,isInvalid:f,...n,children:[jsx(Le,{children:jsx("input",{...y})}),jsx(X,{display:"flex",flexDirection:"row",paddingRight:"md",...g,children:s.segments.map((T,P)=>jsx(Df,{segment:T,state:s},P))})]})});o5.displayName="DateField";var iX=(e,t)=>{e.setAttribute("height",typeof t=="number"?`${t}px`:t),e.setAttribute("width",typeof t=="number"?`${t}px`:t);},aX=(e,t,r)=>{let o=e.querySelector("title"),n=H(e);if(o)o.textContent=t,o.setAttribute("id",r);else {let i=n.createElement("title");i.textContent=t,i.setAttribute("id",r),e.prepend(i);}},lX=(e,t)=>{t&&e.classList.add(t);},sX=(e,t)=>{let r=t.createElement("span");r.innerHTML=Q$.default.sanitize(e);let o=r.querySelector("svg");return ie(o,"Icon: svg prop must be a valid svg string"),o},uX=Mo.forwardRef(({size:e,title:t,className:r,style:o,color:n,...i},a)=>{let l=useId(),s=Mo.useRef(null),u="svg"in i?i.svg:void 0,c=Mo.useMemo(()=>{if(u){let d=H(s.current),m=sX(u,d);return e&&iX(m,e),t&&aX(m,t,l),lX(m,r),m.outerHTML}},[u,e,t,r,l]);return jsx("span",{className:r,ref:Z(a,s),style:{display:"contents",...o,color:n},dangerouslySetInnerHTML:c?{__html:c}:void 0})});uX.displayName="Icon";var i5=V({defaultClassName:"_1bwul1t8 _1yep5z6lq _1yep5z6ly _1yep5z6eu _1yep5z6g1",variantClassNames:{size:{xs:"_1bwul1t9 _1yep5z6pr _1yep5z6ps _1yep5z6pt _1yep5z6nf _1yep5z6ng _1yep5z6nh _1yep5z6zy",sm:"_1bwul1ta _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk _1yep5z6101",md:"_1bwul1tb _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk _1yep5z6104"}},defaultVariants:{},compoundVariants:[]}),Vv=V({defaultClassName:"_1bwul1t3 _1yep5z6ev",variantClassNames:{size:{xs:"_1yep5z6zy",sm:"_1yep5z6101",md:"_1yep5z6104"},isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),a5={xs:"_1bwul1t0",sm:"_1bwul1t1",md:"_1bwul1t2"};var u5=Mo.forwardRef(({className:e,style:t,size:r="md",isDisabled:o,decrementAriaLabel:n,incrementAriaLabel:i,"data-block-id":a,"data-block-class":l,label:s,onChange:u,onBlur:c,onKeyDown:d,minValue:m=Number.NEGATIVE_INFINITY,maxValue:p=Number.POSITIVE_INFINITY,defaultValue:y,value:b,description:f=S=>`${S} / ${p}`,onInputChange:h,onChangeSuccess:v,step:g=1,valueToLabelMap:x,...T},P)=>{let S=Mo.useRef(null),E=Y(),D=Y(),I=useCallback(G=>x?x.get(G)??G.toString():G.toString(),[x]),C=useCallback(G=>{if(x){let ne=[...x.entries()].find(([,Q])=>Q===G);if(ne)return ne[0]}return Number.parseInt(G)},[x]),[_,z]=be(b,y??1,v),[w,O]=useState(I(_)??""),k=_<=m||o,M=_>=p||o,F=useCallback(G=>{if(!G)return;u?.(G);let W=C(G);if(Number.isNaN(W)){O(I(_)??"");return}W>=m&&W<=p&&!o&&!T.isReadOnly?z(W):O(I(_));},[u,C,m,p,o,T.isReadOnly,I,_,z]),K=useCallback(G=>G>=m&&G<=p,[m,p]),N=useCallback(G=>{F(w),c?.(G);},[w,F,c]),$=useCallback(()=>{if(M)return;let G=Math.min(_+g,p);K(G)&&z(G);},[_,M,K,p,z,g]),A=useCallback(()=>{if(k)return;let G=Math.max(_-g,m);K(G)&&z(G);},[_,k,K,m,z,g]),B=useCallback(G=>{if(!(o||T.isReadOnly)){switch(G.key){case "Enter":{F(w);break}case "ArrowUp":{$();break}case "ArrowDown":{A();break}}d?.(G);}},[o,T.isReadOnly,d,F,w,$,A]);useGranularEffect(()=>{O(I(_));},[_],[I]);let{inputProps:U}=Qt({...T,value:w?.toString(),isDisabled:o,onBlur:N,onChange:G=>{O(G),h?.(G);},onKeyDown:B,"aria-labelledby":E,"aria-describedby":D},S),oe=typeof f=="function"?f(_):f;return jsxs(X,{className:L(a5[r],e),display:"flex",flexDirection:"row",alignItems:"center","data-block-id":a,"data-block-class":l,style:t,ref:P,"aria-disabled":o,children:[jsx("span",{id:E,className:Vv({size:r,isDisabled:o}),children:s}),jsxs(X,{display:"flex",flexDirection:"row",borderRadius:"sm",borderColor:"border.subtle",borderStyle:"solid",borderWidth:1,style:{height:"inherit"},children:[jsx(me,{icon:CaretLeftIcon,elementType:"div",size:r,variant:"secondary",style:{height:"100%"},className:"BaselineUI-TaggedPagination-DecrementButton",isExcludedFromRovingFocus:true,isDisabled:o||k||T.isReadOnly,excludeFromTabOrder:true,onPress:A,"aria-label":n,tooltip:true}),jsx(De,{orientation:"vertical"}),jsx("input",{...U,className:i5({size:r}),min:m,max:p}),jsx(De,{orientation:"vertical"}),jsx(me,{icon:CaretRightIcon,elementType:"div",size:r,variant:"secondary",style:{height:"100%"},className:"BaselineUI-TaggedPagination-IncrementButton",isExcludedFromRovingFocus:true,isDisabled:o||M||T.isReadOnly,excludeFromTabOrder:true,onPress:$,"aria-label":i,tooltip:true})]}),oe?jsx("span",{id:D,className:Vv({size:r,isDisabled:o}),children:oe}):null]})});u5.displayName="TaggedPagination";var yX={node:null,setNode:()=>{},coordinates:null,setCoordinates:()=>{},displayId:void 0,setDisplayId:()=>{},boundsRef:{current:null},isDisabled:false,cursorNode:null,setCursorNode:()=>{},children:null,setChildren:()=>{}},Ct=Mo.createContext(yX),c5=Mo.memo(({children:e,isDisabled:t=false})=>{let[r,o]=Mo.useState(null),[n,i]=Mo.useState(null),[a,l]=Mo.useState(null),s=Mo.useRef(null),[u,c]=Mo.useState(null),[d,m]=Mo.useState(),p=Mo.useMemo(()=>({node:r,setNode:o,coordinates:u,setCoordinates:c,displayId:d,setDisplayId:m,boundsRef:s,isDisabled:t,cursorNode:n,setCursorNode:i,children:a,setChildren:l}),[r,u,d,c,o,s,t,n,i,a,l]);return jsx(Ct.Provider,{value:p,children:e})});c5.displayName="PointPicker";var d5="m0xg2me";var p5="m0xg2md _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6m1 _1yep5z6m0 _1yep5z6hc",m5="m0xg2mj",f5="_1yep5z6f6",y5="m0xg2mk m0xg2mj",b5=V({defaultClassName:"m0xg2m0",variantClassNames:{isDisabled:{true:"m0xg2m1",false:"m0xg2m2"},isIndicatorVisible:{true:"m0xg2m3",false:"m0xg2m4"}},defaultVariants:{},compoundVariants:[[{isDisabled:false,isIndicatorVisible:true},"m0xg2m5"],[{isDisabled:false,isIndicatorVisible:false},"m0xg2m6"]]}),g5="m0xg2m8",h5="m0xg2mb",Bv="m0xg2ma _1yep5z6hd _1yep5z6lz",v5="m0xg2m9 _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z6h4 _1yep5z6lz _1yep5z6id _1yep5z6ie _1yep5z6if",x5="m0xg2m7",T5="m0xg2mc",P5="m0xg2mf";function C5({coordinates:e,setCoordinates:t,boundsRef:r,onKeyDown:o,onKeyUp:n}){let{isDisabled:i}=useContext(Ct);return Ce({isDisabled:i,onKeyDown:a=>{o?.(a);let l=a.shiftKey?10:1,s=r.current;if(!s||!e)return;let u;switch(a.key){case "ArrowRight":{a.preventDefault(),u={x:clamp(e.x+l,0,s.width),y:clamp(e.y,0,s.height)};break}case "ArrowLeft":{a.preventDefault(),u={x:clamp(e.x-l,0,s.width),y:clamp(e.y,0,s.height)};break}case "ArrowDown":{a.preventDefault(),u={x:clamp(e.x,0,s.width),y:clamp(e.y+l,0,s.height)};break}case "ArrowUp":{a.preventDefault(),u={x:clamp(e.x,0,s.width),y:clamp(e.y-l,0,s.height)};break}case "Home":{a.preventDefault(),u={x:0,y:clamp(e.y,0,s.height)};break}case "End":{a.preventDefault(),u={x:s.width,y:clamp(e.y,0,s.height)};break}case "PageUp":{a.preventDefault(),u={x:clamp(e.x,0,s.width),y:0};break}case "PageDown":{a.preventDefault(),u={x:clamp(e.x,0,s.width),y:s.height};break}default:{a.continuePropagation();return}}u&&t(u);},onKeyUp:n})}var Ef=L(p5,"BaselineUI-PointPicker-GridLine"),xX=({coordinates:e})=>jsxs(Fragment,{children:[jsx("div",{className:Ef,"data-grid-line-type":"vertical",style:{height:e.y-5,transform:`translate(${e.x}px, 0) translate(-1px, 0) scaleX(0.5)`}}),jsx("div",{className:Ef,"data-grid-line-type":"vertical",style:{height:`calc(100% - ${e.y+4}px)`,transform:`translate(${e.x}px, ${e.y+5}px) translate(-1px, 0) scaleX(0.5)`}})]}),TX=({coordinates:e})=>jsxs(Fragment,{children:[jsx("div",{className:Ef,"data-grid-line-type":"horizontal",style:{width:e.x-5,transform:`translate(0, ${e.y}px) translate(0, -1px) scaleY(0.5)`}}),jsx("div",{className:Ef,"data-grid-line-type":"horizontal",style:{width:`calc(100% - ${e.x+4}px)`,transform:`translate(${e.x+5}px, ${e.y}px) translate(0, -1px) scaleY(0.5)`}})]}),S5=({gridLines:e})=>{let{isDisabled:t,boundsRef:r,coordinates:o}=useContext(Ct),n=useMemo(()=>{let i=typeof e=="function"?e({coordinates:o,boundingRect:r.current}):e;return typeof i=="boolean"?i?o:void 0:i?.coordinates},[e,o,r]);return n&&!t?jsxs(Fragment,{children:[jsx(xX,{coordinates:n}),jsx(TX,{coordinates:n})]}):null};function D5(){let{node:e,coordinates:t}=useContext(Ct);return useMemo(()=>{if(!e||!t)return {x:0,y:0};let{left:r,top:o}=e.getBoundingClientRect();return {x:t.x+r,y:t.y+o}},[t,e])}var{color:k5}=themeVars,w5=Mo.forwardRef(({modality:e},t)=>e==="keyboard"?jsxs("svg",{width:92,height:92,viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,className:m5,children:[jsxs("g",{filter:"url(#filter0_d_11407_457970)",children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 43V4h-6v39H4v6h39v39h6V49h39v-6H49zm38 5H48v39h-4V48H5v-4h39V5h4v39h39v4zm-5 28v6h-6v6h12V76h-6zm5 11H77v-4h6v-6h4v10zm-77-5v-6H4v12h12v-6h-6zm5 5H5V77h4v6h6v4zM76 4v6h6v6h6V4H76zm11 11h-4V9h-6V5h10v10zM4 4v12h6v-6h6V4H4zm11 5H9v6H5V5h10v4z",fill:k5.background.positive.subtle}),jsx("path",{d:"M48 44v4h39v-4H48zm-4 4v39h4V48h-4zM5 44v4h39v-4H5zM44 5v39h4V5h-4zm39 72v6h-6v4h10V77h-4zM9 83v-6H5v10h10v-4H9zM77 5v4h6v6h4V5H77zM5 5v10h4V9h6V5H5z",fill:k5.background.positive.interactive.enabled})]}),jsx("defs",{children:jsxs("filter",{id:"filter0_d_11407_457970",x:0,y:0,width:92,height:92,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),jsx("feOffset",{}),jsx("feGaussianBlur",{stdDeviation:2}),jsx("feComposite",{in2:"hardAlpha",operator:"out"}),jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"}),jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_11407_457970"}),jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_11407_457970",result:"shape"})]})})]}):jsx(PlusIcon$1,{className:y5,ref:t}));w5.displayName="PointPickerIndicatorIcon";var wX=({trailingElement:e})=>{let{cursorNode:t}=useContext(Ct),[r,o]=useState({width:0,height:0});return useEffect(()=>{if(!t)return;let n=t.getBoundingClientRect();o(n);let i=new ResizeObserver(a=>{o({width:a[0].contentRect.width,height:a[0].contentRect.height});});return i.observe(t),()=>{i.disconnect();}},[t]),e?jsx(X,{position:"absolute",style:{left:0,top:0,zIndex:0,transform:`translate(${r.width/2}px, ${r.height/2}px)`},className:"BaselineUI-PointPickerContent-TrailingElement",children:e}):null},jv=Mo.forwardRef(({renderTrailingElement:e},t)=>{let{coordinates:r,isDisabled:o,node:n}=useContext(Ct),i=im({ownerDocument:H(n)}),a=!!(r&&!o),l=useMemo(()=>e?.(),[e]),s=D5();return a?jsxs(Kt,{style:{left:s.x,top:s.y},className:L(x5,"BaselineUI-PointPickerContent-Cursor"),ref:t,children:[jsx(w5,{modality:i}),l?jsx(wX,{trailingElement:l}):null]}):null});jv.displayName="PointPickerIndicator";var L5=Mo.forwardRef(({children:e,className:t,style:r,"data-block-id":o,"data-block-class":n,onFocusChange:i,onBlur:a,onFocus:l,onKeyDown:s,onKeyUp:u,gridLines:c=true,elementHandle:d,onMove:m,onPress:p,onPressStart:y,onPressEnd:b,renderTrailingElement:f,...h},v)=>{let{setNode:g,node:x,coordinates:T,setCoordinates:P,displayId:S,boundsRef:E,isDisabled:D,setCursorNode:I,setChildren:C}=useContext(Ct),_=useRef(null),z=useRef(null),w=im({ownerDocument:H(x)}),O=useCallback(G=>{P(G??null),m?.({coordinates:G,boundingRect:E.current});},[P,m,E]);useEffect(()=>{if(!D)return C(e),()=>{C(null);}},[e,D,C]),useEffect(()=>{let G=_.current;if(!G||D)return;let W=()=>{let de=G.getBoundingClientRect();E.current=de;},ne=de=>{let he=E.current;if(!he)return;let Ae="clientX"in de?de.clientX:de.touches[0].clientX,it="clientY"in de?de.clientY:de.touches[0].clientY,Pe={x:clamp(Ae-he.left,0,he.width),y:clamp(it-he.top,0,he.height)};O(Pe);},Q=()=>{O(null);};return G.addEventListener("mousemove",ne),G.addEventListener("touchmove",ne),G.addEventListener("mouseenter",W),G.addEventListener("mouseleave",Q),()=>{G.removeEventListener("mousemove",ne),G.removeEventListener("touchmove",ne),G.removeEventListener("mouseenter",W),G.removeEventListener("mouseleave",Q);}},[E,D,O]);let{pressProps:k}=Se({isDisabled:D,onPress:G=>{G.pointerType==="keyboard"?T&&p?.({...G,x:T.x,y:T.y}):p?.(G);},onPressStart:y,onPressEnd:b}),{focusProps:M,isFocusVisible:F,isFocused:K}=ee();am({ref:z,isDisabled:D}),useImperativeHandle(d,()=>({focus:()=>{D||_.current?.focus();}}));let{focusProps:N}=bt({isDisabled:D,onFocusChange:i,onFocus:l,onBlur:a});function $(){w==="keyboard"&&setTimeout(()=>{let G=_.current?.getBoundingClientRect();G&&(E.current=G,O({x:clamp(G.width/2,0,G.width),y:clamp(G.height/2,0,G.height)}));},0);}function A(){O(null);}let{keyboardProps:B}=C5({coordinates:T,setCoordinates:O,boundsRef:E,onKeyDown:s,onKeyUp:u});Gr({isDisabled:D,ref:_,onInteractOutside:()=>{O(null);}});let U=!!(T&&!D),oe=ce({"data-focus-visible":F,"data-focused":K,"data-disabled":D,"data-block-id":o,"data-block-class":n,"data-active":T&&!D,"data-modality":w});return jsxs(Fragment,{children:[jsx(jv,{renderTrailingElement:f,ref:I}),jsxs("div",{...R(M,N,{onFocus:$,onBlur:A},D?{}:R(B,k)),ref:Z(v,_,g),className:L(b5({isDisabled:!!D,isIndicatorVisible:!!U}),"BaselineUI-PointPicker-Content",t),tabIndex:D?void 0:0,style:r,"aria-controls":S,role:"application",...h,...oe,children:[jsx(S5,{gridLines:c}),jsx("div",{className:d5,ref:z,children:e})]})]})});L5.displayName="PointPickerContent";var F5=8,FX=7,KX=7,Uv=Mo.memo(({children:e,scale:t,renderMagnifierContent:r})=>{let o=useRef(null),{coordinates:n,boundsRef:i,node:a}=useContext(Ct),l=useRef([]);am({ref:o}),useEffect(()=>{if(!o.current||r)return;let c=o.current.querySelectorAll("canvas"),d=[],m=o.current.ownerDocument;for(let p of c){let y=p.getContext("2d");if(!y)continue;let b=p.clientWidth,f=p.clientHeight,h=p.width,v=p.height,g=y.getImageData(0,0,h,v);d.push({el:p,width:h,height:v,image:g});let x=m.createElement("canvas");x.width=h,x.height=v;let T=x.getContext("2d");T&&T.drawImage(p,0,0),p.width=b*t,p.height=f*t,p.style.width=`${b}px`,p.style.height=`${f}px`,y.scale(t,t),y.drawImage(x,0,0,b,f);}return l.current=d,()=>{for(let{el:p,width:y,height:b,image:f}of l.current)p.width=y,p.height=b,p.getContext("2d")?.putImageData(f,0,0);}},[a,t,r]);let s=useMemo(()=>r?r({coordinates:n,boundingRect:i.current,children:e}):e?Mo.cloneElement(e,{key:"magnifier-content"}):null,[r,n,i,e]),u=useMemo(()=>!i.current||!n?null:{x:n.x/i.current.width,y:n.y/i.current.height},[i,n]);return u?jsx("div",{style:{left:0,transform:`scale(${t}) translate(calc(-${u.x*100}% + ${F5*FX/(2*t)}px), calc(-${u.y*100}% + ${F5*KX/(2*t)}px))`},className:L(T5,"BaselineUI-PointPickerDisplay-Magnifier"),children:jsx("div",{style:BX(a),ref:o,inert:"true",children:s})}):null});Uv.displayName="Magnifier";function VX(e){let t=[];for(let r=0;r<e.length;r++){let o=e[r],n=e.getPropertyValue(o);n&&t.push([o,n]);}for(let r of e)if(r.startsWith("--")){let o=e.getPropertyValue(r);o&&t.push([r,o]);}return Object.fromEntries(t)}function BX(e){if(!e)return {};let r=j(e).getComputedStyle(e),o=e.getBoundingClientRect(),n={...VX(r),position:"static",margin:"0px",left:"0px",top:"0px",transform:"none","-webkit-text-fill-color":"inherit","-webkit-text-stroke-color":"inherit",width:`${o.width}px`,height:`${o.height}px`,interactivity:"inert"};return Object.fromEntries(Object.entries(n).map(([i,a])=>i.startsWith("--")?[i,a]:i.startsWith("-")?[upperFirst(camelCase(i)),a]:[camelCase(i),a]))}function V5(e,t,r){let[o,n]=useState(0),i=a=>{n(a),r();};return useGranularEffect(()=>{if(!e||t==="trailing")return;let a=new ResizeObserver(l=>{i(l[0].contentRect.width);});return i(e.getBoundingClientRect().width),a.observe(e),()=>{a.disconnect();}},[e,t],[r]),o}function qX(e,t){return t==="indicator"?e:e?.querySelector(".BaselineUI-PointPickerContent-TrailingElement")??null}var Wv=Mo.forwardRef(({children:e,className:t,crossOffset:r,offset:o,placement:n="bottom start",anchorElement:i="indicator"},a)=>{let l=useRef(null),{cursorNode:s,coordinates:u}=useContext(Ct),c=V5(s,i,()=>{p();}),d=qX(s,i),{overlayProps:m,updatePosition:p}=Bo({overlayRef:l,placement:n,targetRef:{get current(){return d}},crossOffset:r??c,offset:o});return useGranularEffect(()=>{p();},[u,r,o],[p]),u?jsx(Kt,{className:L(P5,t),ref:a,children:jsx("div",{ref:l,...m,children:e})}):null});Wv.displayName="Floater";var JX=7,QX=7,eY={scale:2},tY={crossOffset:void 0,offset:void 0,placement:"bottom start",anchorElement:"indicator"},$5=Mo.forwardRef(({className:e,style:t,description:r,magnifier:o=true,"data-block-id":n,"data-block-class":i,floating:a=false,renderMagnifierContent:l},s)=>{let{coordinates:u,boundsRef:c,setDisplayId:d,isDisabled:m,children:p,cursorNode:y}=useContext(Ct),b=Y(),f=useMemo(()=>Eg(o,eY),[o]),h=useMemo(()=>typeof r=="function"?r({coordinates:u?{x:u.x,y:u.y}:null,boundingRect:c.current}):r,[r,u,c]),v=!m&&!!f&&u,g=useMemo(()=>Eg(a,tY),[a]);useEffect(()=>((!g||g&&y)&&d(b),()=>{d(void 0);}),[y,b,d,g]);let x=jsxs(X,{ref:g?void 0:s,className:L(g5,"BaselineUI-PointPicker-Display",e),backgroundColor:"background.primary.subtle",boxShadow:"medium",borderRadius:"sm",outlineWidth:1,outlineColor:"border.medium",outlineOffset:-1,outlineStyle:"solid",paddingY:"md",paddingLeft:"md",paddingRight:h?.length?"xl":"md",display:"flex",flexDirection:"row",gap:"lg",alignItems:"center",style:t,id:b,"data-block-id":n,"data-block-class":i,"data-variant":g?"floating":"auto","data-testid":"point-picker-display",children:[f?jsxs("div",{className:v5,children:[v?jsx(Uv,{scale:f.scale,renderMagnifierContent:l,children:p}):null,Array.from({length:JX*QX}).map((T,P)=>P===24?jsx("div",{className:L(Bv,h5)},P):jsx("div",{className:Bv},P))]}):null,h?.length?jsx(X,{display:"flex",gap:"lg",flexDirection:"column",children:h?.map(({label:T,icon:P},S)=>jsxs(X,{display:"flex",gap:"md",flexDirection:"row",color:"text.secondary",alignItems:"center",children:[jsx(P,{size:12,className:f5}),jsx(Ze,{type:"label",size:"sm",children:T})]},T+S))}):null]});return g?jsx(Wv,{ref:s,...g,className:"BaselineUI-PointPicker-Floater",children:x}):x});$5.displayName="PointPickerDisplay";function Yv(e){let t=new Blob([e],{type:"text/javascript"}),r=URL.createObjectURL(t),o=new Worker(r);return URL.revokeObjectURL(r),o}function Zv(){return Yv('var K=Object.defineProperty;var Y=(n,t,e)=>t in n?K(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var b=(n,t,e)=>Y(n,typeof t!="symbol"?t+"":t,e);var L=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],_=1,A=8,x=class n{static from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");let[e,r]=new Uint8Array(t,0,2);if(e!==219)throw new Error("Data does not appear to be in a KDBush format.");let s=r>>4;if(s!==_)throw new Error(`Got v${s} data when expected v${_}.`);let i=L[r&15];if(!i)throw new Error("Unrecognized array type.");let[h]=new Uint16Array(t,2,1),[a]=new Uint32Array(t,4,1);return new n(a,h,i,t)}constructor(t,e=64,r=Float64Array,s){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=r,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;let i=L.indexOf(this.ArrayType),h=t*2*this.ArrayType.BYTES_PER_ELEMENT,a=t*this.IndexArrayType.BYTES_PER_ELEMENT,o=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);s&&s instanceof ArrayBuffer?(this.data=s,this.ids=new this.IndexArrayType(this.data,A,t),this.coords=new this.ArrayType(this.data,A+a+o,t*2),this._pos=t*2,this._finished=!0):(this.data=new ArrayBuffer(A+h+a+o),this.ids=new this.IndexArrayType(this.data,A,t),this.coords=new this.ArrayType(this.data,A+a+o,t*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(_<<4)+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t)}add(t,e){let r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=t,this.coords[this._pos++]=e,r}finish(){let t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return z(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,r,s){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:i,coords:h,nodeSize:a}=this,o=[0,i.length-1,0],c=[];for(;o.length;){let l=o.pop()||0,f=o.pop()||0,u=o.pop()||0;if(f-u<=a){for(let y=u;y<=f;y++){let v=h[2*y],I=h[2*y+1];v>=t&&v<=r&&I>=e&&I<=s&&c.push(i[y])}continue}let d=u+f>>1,p=h[2*d],w=h[2*d+1];p>=t&&p<=r&&w>=e&&w<=s&&c.push(i[d]),(l===0?t<=p:e<=w)&&(o.push(u),o.push(d-1),o.push(1-l)),(l===0?r>=p:s>=w)&&(o.push(d+1),o.push(f),o.push(1-l))}return c}within(t,e,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:s,coords:i,nodeSize:h}=this,a=[0,s.length-1,0],o=[],c=r*r;for(;a.length;){let l=a.pop()||0,f=a.pop()||0,u=a.pop()||0;if(f-u<=h){for(let y=u;y<=f;y++)D(i[2*y],i[2*y+1],t,e)<=c&&o.push(s[y]);continue}let d=u+f>>1,p=i[2*d],w=i[2*d+1];D(p,w,t,e)<=c&&o.push(s[d]),(l===0?t-r<=p:e-r<=w)&&(a.push(u),a.push(d-1),a.push(1-l)),(l===0?t+r>=p:e+r>=w)&&(a.push(d+1),a.push(f),a.push(1-l))}return o}};function z(n,t,e,r,s,i){if(s-r<=e)return;let h=r+s>>1;F(n,t,h,r,s,i),z(n,t,e,r,h-1,1-i),z(n,t,e,h+1,s,1-i)}function F(n,t,e,r,s,i){for(;s>r;){if(s-r>600){let c=s-r+1,l=e-r+1,f=Math.log(c),u=.5*Math.exp(2*f/3),d=.5*Math.sqrt(f*u*(c-u)/c)*(l-c/2<0?-1:1),p=Math.max(r,Math.floor(e-l*u/c+d)),w=Math.min(s,Math.floor(e+(c-l)*u/c+d));F(n,t,e,p,w,i)}let h=t[2*e+i],a=r,o=s;for(m(n,t,r,e),t[2*s+i]>h&&m(n,t,r,s);a<o;){for(m(n,t,a,o),a++,o--;t[2*a+i]<h;)a++;for(;t[2*o+i]>h;)o--}t[2*r+i]===h?m(n,t,r,o):(o++,m(n,t,o,s)),o<=e&&(r=o+1),e<=o&&(s=o-1)}}function m(n,t,e,r){U(n,e,r),U(t,2*e,2*r),U(t,2*e+1,2*r+1)}function U(n,t,e){let r=n[t];n[t]=n[e],n[e]=r}function D(n,t,e,r){let s=n-e,i=t-r;return s*s+i*i}var H=Symbol("Comlink.proxy"),Z=Symbol("Comlink.endpoint"),J=Symbol("Comlink.releaseProxy"),O=Symbol("Comlink.finalizer"),T=Symbol("Comlink.thrown"),V=n=>typeof n=="object"&&n!==null||typeof n=="function",Q={canHandle:n=>V(n)&&n[H],serialize(n){let{port1:t,port2:e}=new MessageChannel;return R(n,t),[e,[e]]},deserialize(n){return n.start(),nt(n)}},q={canHandle:n=>V(n)&&T in n,serialize({value:n}){let t;return n instanceof Error?t={isError:!0,value:{message:n.message,name:n.name,stack:n.stack}}:t={isError:!1,value:n},[t,[]]},deserialize(n){throw n.isError?Object.assign(new Error(n.value.message),n.value):n.value}},$=new Map([["proxy",Q],["throw",q]]);function X(n,t){for(let e of n)if(t===e||e==="*"||e instanceof RegExp&&e.test(t))return!0;return!1}function R(n,t=globalThis,e=["*"]){t.addEventListener("message",function r(s){if(!s||!s.data)return;if(!X(e,s.origin)){console.warn(`Invalid origin \'${s.origin}\' for comlink proxy`);return}let{id:i,type:h,path:a}=Object.assign({path:[]},s.data),o=(s.data.argumentList||[]).map(g),c;try{let l=a.slice(0,-1).reduce((u,d)=>u[d],n),f=a.reduce((u,d)=>u[d],n);switch(h){case"GET":c=f;break;case"SET":l[a.slice(-1)[0]]=g(s.data.value),c=!0;break;case"APPLY":c=f.apply(l,o);break;case"CONSTRUCT":{let u=new f(...o);c=ot(u)}break;case"ENDPOINT":{let{port1:u,port2:d}=new MessageChannel;R(n,d),c=it(u,[u])}break;case"RELEASE":c=void 0;break;default:return}}catch(l){c={value:l,[T]:0}}Promise.resolve(c).catch(l=>({value:l,[T]:0})).then(l=>{let[f,u]=P(l);t.postMessage(Object.assign(Object.assign({},f),{id:i}),u),h==="RELEASE"&&(t.removeEventListener("message",r),W(t),O in n&&typeof n[O]=="function"&&n[O]())}).catch(l=>{let[f,u]=P({value:new TypeError("Unserializable return value"),[T]:0});t.postMessage(Object.assign(Object.assign({},f),{id:i}),u)})}),t.start&&t.start()}function tt(n){return n.constructor.name==="MessagePort"}function W(n){tt(n)&&n.close()}function nt(n,t){let e=new Map;return n.addEventListener("message",function(s){let{data:i}=s;if(!i||!i.id)return;let h=e.get(i.id);if(h)try{h(i)}finally{e.delete(i.id)}}),N(n,e,[],t)}function C(n){if(n)throw new Error("Proxy has been released and is not useable")}function G(n){return E(n,new Map,{type:"RELEASE"}).then(()=>{W(n)})}var M=new WeakMap,S="FinalizationRegistry"in globalThis&&new FinalizationRegistry(n=>{let t=(M.get(n)||0)-1;M.set(n,t),t===0&&G(n)});function et(n,t){let e=(M.get(t)||0)+1;M.set(t,e),S&&S.register(n,t,n)}function rt(n){S&&S.unregister(n)}function N(n,t,e=[],r=function(){}){let s=!1,i=new Proxy(r,{get(h,a){if(C(s),a===J)return()=>{rt(i),G(n),t.clear(),s=!0};if(a==="then"){if(e.length===0)return{then:()=>i};let o=E(n,t,{type:"GET",path:e.map(c=>c.toString())}).then(g);return o.then.bind(o)}return N(n,t,[...e,a])},set(h,a,o){C(s);let[c,l]=P(o);return E(n,t,{type:"SET",path:[...e,a].map(f=>f.toString()),value:c},l).then(g)},apply(h,a,o){C(s);let c=e[e.length-1];if(c===Z)return E(n,t,{type:"ENDPOINT"}).then(g);if(c==="bind")return N(n,t,e.slice(0,-1));let[l,f]=B(o);return E(n,t,{type:"APPLY",path:e.map(u=>u.toString()),argumentList:l},f).then(g)},construct(h,a){C(s);let[o,c]=B(a);return E(n,t,{type:"CONSTRUCT",path:e.map(l=>l.toString()),argumentList:o},c).then(g)}});return et(i,n),i}function st(n){return Array.prototype.concat.apply([],n)}function B(n){let t=n.map(P);return[t.map(e=>e[0]),st(t.map(e=>e[1]))]}var j=new WeakMap;function it(n,t){return j.set(n,t),n}function ot(n){return Object.assign(n,{[H]:!0})}function P(n){for(let[t,e]of $)if(e.canHandle(n)){let[r,s]=e.serialize(n);return[{type:"HANDLER",name:t,value:r},s]}return[{type:"RAW",value:n},j.get(n)||[]]}function g(n){switch(n.type){case"HANDLER":return $.get(n.name).deserialize(n.value);case"RAW":return n.value}}function E(n,t,e,r){return new Promise(s=>{let i=at();t.set(i,s),n.start&&n.start(),n.postMessage(Object.assign({id:i},e),r)})}function at(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}var k=class{constructor(){b(this,"index",null);b(this,"xCoords",null);b(this,"yCoords",null)}buildIndex(t){this.clear(),this.xCoords=new Float64Array(t.length),this.yCoords=new Float64Array(t.length);for(let[r,s]of t.entries())this.xCoords[r]=s.x,this.yCoords[r]=s.y;let e=new x(t.length);for(let r=0;r<t.length;r++)e.add(this.xCoords[r],this.yCoords[r]);return e.finish(),this.index=e,e.data}clear(){this.index=null,this.xCoords=null,this.yCoords=null}findNearestPoint(t,e,r){if(!this.index||!this.xCoords||!this.yCoords)return null;let s=this.index.within(t,e,r);if(s.length===0)return null;let i=s[0],h=1/0;for(let a of s){let o=t-this.xCoords[a],c=e-this.yCoords[a],l=o*o+c*c;l<h&&(h=l,i=a)}return{x:this.xCoords[i],y:this.yCoords[i]}}findPointsInRadius(t,e,r){if(!this.index||!this.xCoords||!this.yCoords)return[];let s=this.index.within(t,e,r),i=Array.from({length:s.length});for(let[h,a]of s.entries())i[h]={x:this.xCoords[a],y:this.yCoords[a]};return i}};R(new k);\n/*! Bundled license information:\n\ncomlink/dist/esm/comlink.mjs:\n (**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n *)\n*/\n')}function oY({snapPoints:e,snapRadius:t=50}){let r=useRef(null),o=useRef(null),n=useMemo(()=>(o.current=new Zv,G5.wrap(o.current)),[]);useEffect(()=>()=>{o.current&&(o.current.terminate(),o.current=null);},[]);let i=useCallback(async()=>{e&&(r.current=await n.buildIndex(e));},[e,n]);useEffect(()=>{e&&e.length>0&&i();},[e,i]);let a=useCallback(async s=>e?(r.current||await i(),n.findNearestPoint(s.x,s.y,t)):null,[e,t,i,n]),l=useCallback(async s=>e?(r.current||await i(),n.findPointsInRadius(s.x,s.y,t)):[],[e,t,i,n]);return {findNearestPoint:a,findPointsInRadius:l}}var vdt={LIST_BOX:{layout:Do,layoutOptions:{rowHeight:36}},IMAGE_GALLERY:{layout:ni,layoutOptions:{minItemSize:new Oe(114,167),maxItemSize:new Oe(114,167),dropIndicatorThickness:2,maxHorizontalSpace:0,minSpace:new Oe(4,16),preserveAspectRatio:true}}};var U5={};rx(U5,{useButton:()=>rt,useFocusManager:()=>Fi,useFocusWithin:()=>je,useTextField:()=>Qt});var W5={};rx(W5,{useListData:()=>$s,useTreeData:()=>Xd});
|
|
27
27
|
export{VE as Accordion,HE as AccordionItem,Ie as ActionButton,RA as ActionGroup,bq as ActionGroupItem,me as ActionIconButton,gf as AlertDialog,VM as AudioPlayer,Xy as Autocomplete,al as Avatar,X as Box,fA as ButtonSelect,Mz as Checkbox,ul as ColorInput,gn as ColorSwatch,NA as ColorSwatchPicker,SA as ComboBox,o5 as DateField,PE as DateFormat,Ma as DefaultListOption,pj as DeviceProvider,nm as DeviceProviderContext,nr as Dialog,mk as DialogTitle,iD as DomNodeRenderer,mm as Drawer,hM as Editor,oz as FileUpload,zt as FocusScope,Ho as Focusable,kj as FrameProvider,iR as FreehandCanvas,t5 as GlobalToastRegion,ni as GridLayout,wA as GridList,dL as Group,kD as I18nProvider,uX as Icon,hI as IconColorInput,Zm as IconColorInputButton,rw as IconSelect,Pk as IconSlider,ZR as ImageDropZone,sA as ImageGallery,Km as InlineAlert,Xk as Link,to as ListBox,Do as ListLayout,_M as Markdown,Pm as Menu,cL as MessageFormat,ro as Modal,pW as ModalClose,oo as ModalContent,Vm as ModalTrigger,Za as NumberFormat,wo as NumberInput,TE as Pagination,$q as Panel,qq as PanelGroup,Zq as PanelResizeHandle,c5 as PointPicker,L5 as PointPickerContent,$5 as PointPickerDisplay,ko as Popover,dt as PopoverContent,zo as PopoverTrigger,Kt as Portal,Jp as PortalContainerProvider,Py as Pressable,tL as Preview,pz as ProgressBar,Qa as ProgressSpinner,uL as RadioGroup,Pz as Reaction,CM as ScrollControlButton,xm as SearchInput,yn as Select,De as Separator,Oe as Size,ja as Slider,Ik as Switch,bw as TabItem,Sp as TableLayout,yw as Tabs,Rm as TagGroup,u5 as TaggedPagination,Ze as Text,pn as TextInput,dm as ThemeProvider,KA as TimeField,Us as ToastQueue,zm as ToggleButton,fr as ToggleIconButton,nf as Toolbar,Be as Tooltip,yR as Transform,YA as TreeView,fn as UNSAFE_ListBox,U5 as UNSAFE_aria,W5 as UNSAFE_stately,vdt as VIRTUALIZER_LAYOUT_DEFAULT_OPTIONS,h1 as Virtualizer,Le as VisuallyHidden,Zs as WaterfallLayout,st as announce,Eg as booleanOrObjectToConfig,Nwe as calculateFontSizeToFitWidth,L as classNames,S1 as cleanKeyFromGlobImport,Hf as clearAnnouncer,Re as defineMessages,p0 as destroyAnnouncer,Hg as directionVar,r5e as disableAnimations,o5e as enableAnimations,le as filterDOMProps,ce as filterTruthyValues,P1 as findFocusableElements,wp as getAbsoluteBounds,Kwe as getAbsolutePosition,Fwe as getActiveElement,Ep as getHTMLElement,D1 as getOsSpecificKeyboardShortcutLabel,H as getOwnerDocument,k1 as getPlainText,Ip as getSvgPathFromStroke,zp as getTextDimensions,ie as invariant,Owe as isFocusableElement,Qwe as isInIframe,t_e as isInShadowDOM,C1 as isInputThatOpensKeyboard,_we as isInsideOverlayContent,x1 as isRect,wg as isUrl,Uwe as lightenColor,R as mergeProps,Z as mergeRefs,ke as parseColor,$t as useCollator,jr as useDateFormatter,un as useDevice,xU as useDragAndDrop,mo as useFilter,ee as useFocusRing,Dy as useFocusVisible,ye as useI18n,Y as useId,em as useImage,Xt as useInteractionModality,xD as useIntersectionObserver,tm as useIsFirstRender,Ce as useKeyboard,$s as useListData,im as useLiveInteractionModality,ID as useLocalStorage,J as useLocale,wMe as useMutationObserver,gr as useNumberFormatter,ge as useObjectRef,oY as usePointProximity,Ft as usePortalContainer,am as usePreventFocus,TD as useResizeObserver,OMe as useTextSelection,CD as useUndoRedo,$g as useUserPreferences};
|