@agregio-solutions/design-system 1.16.0 → 1.17.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/dist/design-system.cjs +150 -108
- package/dist/design-system.js +4826 -5039
- package/dist/packages/components/Button/index.d.ts +1 -1
- package/dist/packages/components/CheckboxGroup/index.d.ts +1 -1
- package/dist/packages/components/DataTable/DataTableCell/index.d.ts +1 -1
- package/dist/packages/components/DataTable/DataTableHeader/index.d.ts +1 -1
- package/dist/packages/components/DataTable/index.d.ts +1 -1
- package/dist/packages/components/DatePicker/index.d.ts +1 -1
- package/dist/packages/components/DateRangePicker/index.d.ts +1 -1
- package/dist/packages/components/Dropdown/components/DropdownListItem/index.d.ts +1 -1
- package/dist/packages/components/Dropdown/index.d.ts +1 -1
- package/dist/packages/components/Icon/index.d.ts +65 -65
- package/dist/packages/components/Link/index.d.ts +64 -0
- package/dist/packages/components/RouterProvider/index.d.ts +14 -0
- package/dist/packages/components/Select/index.d.ts +2 -2
- package/dist/packages/components/Tag/index.d.ts +1 -1
- package/dist/packages/components/TextInput/index.d.ts +11 -11
- package/dist/packages/ds-design-tokens/index.d.ts +1 -1
- package/dist/packages/index.d.ts +25 -23
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/dist/design-system.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),u=require("react"),vn=require("react-dom");function ph(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const hh=ph(u),mh=u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const Ba=u.createContext({}),ie=typeof document<"u"?u.useLayoutEffect:()=>{};function Be(e){const t=u.useRef(null);return ie(()=>{t.current=e},[e]),u.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function vh(e){let[t,r]=u.useState(e),n=u.useRef(null),a=Be(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?a():r(i.value)});ie(()=>{n.current&&a()});let o=Be(i=>{n.current=i(t),a()});return[t,o]}const oa={prefix:String(Math.round(Math.random()*1e10)),current:0},_u=u.createContext(oa),gh=u.createContext(!1);let bh=!!(typeof window<"u"&&window.document&&window.document.createElement),fo=new WeakMap;function yh(e=!1){let t=u.useContext(_u),r=u.useRef(null);if(r.current===null&&!e){var n,a;let o=(a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(n=a.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let i=fo.get(o);i==null?fo.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==i.state&&(t.current=i.id,fo.delete(o))}r.current=++t.current}return r.current}function $h(e){let t=u.useContext(_u);t===oa&&!bh&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=yh(!!e),n=t===oa&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function xh(e){let t=u.useId(),[r]=u.useState(yt()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${oa.prefix}`;return e||`${n}-${t}`}const Dh=typeof u.useId=="function"?xh:$h;function wh(){return!1}function Eh(){return!0}function Ch(e){return()=>{}}function yt(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(Ch,wh,Eh):u.useContext(gh)}let Sh=!!(typeof window<"u"&&window.document&&window.document.createElement),ia=new Map;function Te(e){let[t,r]=u.useState(e),n=u.useRef(null),a=Dh(t),o=u.useCallback(i=>{n.current=i},[]);return Sh&&ia.set(a,o),ie(()=>{let i=a;return()=>{ia.delete(i)}},[a]),u.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),a}function Ph(e,t){if(e===t)return e;let r=ia.get(e);if(r)return r(t),t;let n=ia.get(t);return n?(n(e),e):t}function Dr(e=[]){let t=Te(),[r,n]=vh(t),a=u.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ie(a,[t,a,...e]),r}function Kt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const le=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Je=e=>e&&"window"in e&&e.window===e?e:le(e).defaultView||window;function zu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=zu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ni(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=zu(e))&&(n&&(n+=" "),n+=t);return n}function J(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let a in n){let o=t[a],i=n[a];typeof o=="function"&&typeof i=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=Kt(o,i):(a==="className"||a==="UNSAFE_className")&&typeof o=="string"&&typeof i=="string"?t[a]=Ni(o,i):a==="id"&&o&&i?t.id=Ph(o,i):t[a]=i!==void 0?i:o}}return t}function Ra(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const kh=new Set(["id"]),Bh=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Rh=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Th=/^(data-.*)$/;function re(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(kh.has(i)||r&&Bh.has(i)||n&&Rh.has(i)||a!=null&&a.has(i)||Th.test(i))&&(o[i]=e[i]);return o}function ot(e){if(Ah())e.focus({preventScroll:!0});else{let t=Fh(e);e.focus(),Mh(t)}}let An=null;function Ah(){if(An==null){An=!1;try{document.createElement("div").focus({get preventScroll(){return An=!0,!0}})}catch{}}return An}function Fh(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function Mh(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Ta(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Ki(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vt(){return Ki(/^Mac/i)}function Ih(){return Ki(/^iPhone/i)}function Hu(){return Ki(/^iPad/i)||vt()&&navigator.maxTouchPoints>1}function gn(){return Ih()||Hu()}function Oh(){return vt()||gn()}function _i(){return Ta(/AppleWebKit/i)&&!Vh()}function Vh(){return Ta(/Chrome/i)}function Zu(){return Ta(/Android/i)}function Lh(){return Ta(/Firefox/i)}const jh=u.createContext({isNative:!0,open:Kh,useHref:e=>e});function zi(){return u.useContext(jh)}function _t(e,t,r=!0){var n,a;let{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}=t;Lh()&&(!((a=window.event)===null||a===void 0||(n=a.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(vt()?o=!0:i=!0);let c=_i()&&vt()&&!Hu()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});_t.isOpening=r,ot(e),e.dispatchEvent(c),_t.isOpening=!1}_t.isOpening=!1;function Nh(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Kh(e,t){Nh(e,r=>_t(r,t))}function _h(e){let t=zi();return{href:e!=null&&e.href?t.useHref(e==null?void 0:e.href):void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let sr=new Map,qo=new Set;function Zl(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let a=sr.get(n.target);a||(a=new Set,sr.set(n.target,a),n.target.addEventListener("transitioncancel",r,{once:!0})),a.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let a=sr.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",r),sr.delete(n.target)),sr.size===0)){for(let o of qo)o();qo.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Zl():document.addEventListener("DOMContentLoaded",Zl));function Uu(e){requestAnimationFrame(()=>{sr.size===0?e():qo.add(e)})}function Hi(){let e=u.useRef(new Map),t=u.useCallback((a,o,i,l)=>{let s=l!=null&&l.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:o,eventTarget:a,fn:s,options:l}),a.addEventListener(o,i,l)},[]),r=u.useCallback((a,o,i,l)=>{var s;let c=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;a.removeEventListener(o,c,l),e.current.delete(i)},[]),n=u.useCallback(()=>{e.current.forEach((a,o)=>{r(a.eventTarget,a.type,o,a.options)})},[r]);return u.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function bn(e,t){let{id:r,"aria-label":n,"aria-labelledby":a}=e;return r=Te(r),a&&n?a=[...new Set([r,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!n&&!a&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":a}}function Pt(e){const t=u.useRef(null);return u.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function Ul(e,t){const r=u.useRef(!0),n=u.useRef(null);u.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),u.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,o)=>!Object.is(a,n[o])))&&e(),n.current=t},t)}function zh(){return typeof window.ResizeObserver<"u"}function Aa(e){const{ref:t,onResize:r}=e;u.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(zh()){const a=new window.ResizeObserver(o=>{o.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Zi(e,t){ie(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function en(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Fa(e,t){let r=e;for(en(r,t)&&(r=r.parentElement);r&&!en(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Hh(e,t){const r=[];for(;e&&e!==document.documentElement;)en(e,t)&&r.push(e),e=e.parentElement;return r}let Ke=typeof document<"u"&&window.visualViewport;function Zh(){let e=yt(),[t,r]=u.useState(()=>e?{width:0,height:0}:Wl());return u.useEffect(()=>{let n=()=>{r(a=>{let o=Wl();return o.width===a.width&&o.height===a.height?a:o})};return Ke?Ke.addEventListener("resize",n):window.addEventListener("resize",n),()=>{Ke?Ke.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function Wl(){return{width:Ke&&(Ke==null?void 0:Ke.width)||window.innerWidth,height:Ke&&(Ke==null?void 0:Ke.height)||window.innerHeight}}let Uh=0;const po=new Map;function yn(e){let[t,r]=u.useState();return ie(()=>{if(!e)return;let n=po.get(e);if(n)r(n.element.id);else{let a=`react-aria-description-${Uh++}`;r(a);let o=document.createElement("div");o.id=a,o.style.display="none",o.textContent=e,document.body.appendChild(o),n={refCount:0,element:o},po.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),po.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function mr(e,t,r,n){let a=Be(r),o=r==null;u.useEffect(()=>{if(o||!e.current)return;let i=e.current;return i.addEventListener(t,a,n),()=>{i.removeEventListener(t,a,n)}},[e,t,n,o,a])}function Wu(e,t){let r=Gl(e,t,"left"),n=Gl(e,t,"top"),a=t.offsetWidth,o=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:c}=getComputedStyle(e),d=e.scrollLeft+parseInt(c,10),f=e.scrollTop+parseInt(s,10),p=d+e.clientWidth,h=f+e.clientHeight;r<=i?i=r-parseInt(c,10):r+a>p&&(i+=r+a-p),n<=f?l=n-parseInt(s,10):n+o>h&&(l+=n+o-h),e.scrollLeft=i,e.scrollTop=l}function Gl(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let a=0;for(;t.offsetParent&&(a+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[n];break}t=t.offsetParent}return a}function la(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=Hh(e);for(let c of s)Wu(c,e)}else{var r;let{left:s,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(c-f)>1){var n,a,o;t==null||(a=t.containingElement)===null||a===void 0||(n=a.scrollIntoView)===null||n===void 0||n.call(a,{block:"center",inline:"center"}),(o=e.scrollIntoView)===null||o===void 0||o.call(e,{block:"nearest"})}}}}function Yo(e){return e.mozInputSource===0&&e.isTrusted?!0:Zu()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Wh(e){return!Zu()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Gu(e,t){let r=u.useRef(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}function Ui(e,t,r){let n=u.useRef(t),a=Be(()=>{r&&r(n.current)});u.useEffect(()=>{var o;let i=e==null||(o=e.current)===null||o===void 0?void 0:o.form;return i==null||i.addEventListener("reset",a),()=>{i==null||i.removeEventListener("reset",a)}},[e,a])}function Xe(e,t,r){let[n,a]=u.useState(e||t),o=u.useRef(e!==void 0),i=e!==void 0;u.useEffect(()=>{let c=o.current;c!==i&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),o.current=i},[i]);let l=i?e:n,s=u.useCallback((c,...d)=>{let f=(p,...h)=>{r&&(Object.is(l,p)||r(p,...h)),i||(l=p)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),a((h,...m)=>{let v=c(i?l:h,...m);return f(v,...d),i?h:v})):(i||a(c),f(c,...d))},[i,l,r]);return[l,s]}function Jo(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let dr="default",Qo="",Gn=new WeakMap;function ql(e){if(gn()){if(dr==="default"){const t=le(e);Qo=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}dr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Gn.set(e,e.style.userSelect),e.style.userSelect="none")}function Fn(e){if(gn()){if(dr!=="disabled")return;dr="restoring",setTimeout(()=>{Uu(()=>{if(dr==="restoring"){const t=le(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Qo||""),Qo="",dr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Gn.has(e)){let t=Gn.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Gn.delete(e)}}const tn=u.createContext({register:()=>{}});tn.displayName="PressResponderContext";function Gh(e,t){return t.get?t.get.call(e):t.value}function qu(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function qh(e,t){var r=qu(e,t,"get");return Gh(e,r)}function Yh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $n(e,t,r){Yh(e,t),t.set(e,r)}function Jh(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Yl(e,t,r){var n=qu(e,t,"set");return Jh(e,n,r),r}function Qh(e){let t=u.useContext(tn);if(t){let{register:r,...n}=t;e=J(n,e),r()}return Zi(t,e.ref),e}var Mn=new WeakMap;class In{continuePropagation(){Yl(this,Mn,!1)}get shouldStopPropagation(){return qh(this,Mn)}constructor(t,r,n){$n(this,Mn,{writable:!0,value:void 0}),Yl(this,Mn,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const Jl=Symbol("linkClicked");function zt(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:a,onPressUp:o,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...p}=Qh(e),[h,m]=u.useState(!1),v=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:B}=Hi(),w=Be((b,F)=>{let P=v.current;if(i||P.didFirePressStart)return!1;let x=!0;if(P.isTriggeringEvent=!0,n){let M=new In("pressstart",F,b);n(M),x=M.shouldStopPropagation}return r&&r(!0),P.isTriggeringEvent=!1,P.didFirePressStart=!0,m(!0),x}),C=Be((b,F,P=!0)=>{let x=v.current;if(!x.didFirePressStart)return!1;x.ignoreClickAfterPress=!0,x.didFirePressStart=!1,x.isTriggeringEvent=!0;let M=!0;if(a){let R=new In("pressend",F,b);a(R),M=R.shouldStopPropagation}if(r&&r(!1),m(!1),t&&P&&!i){let R=new In("press",F,b);t(R),M&&(M=R.shouldStopPropagation)}return x.isTriggeringEvent=!1,M}),E=Be((b,F)=>{let P=v.current;if(i)return!1;if(o){P.isTriggeringEvent=!0;let x=new In("pressup",F,b);return o(x),P.isTriggeringEvent=!1,x.shouldStopPropagation}return!0}),D=Be(b=>{let F=v.current;F.isPressed&&F.target&&(F.isOverTarget&&F.pointerType!=null&&C(dt(F.target,b),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,B(),d||Fn(F.target))}),S=Be(b=>{c&&D(b)}),A=u.useMemo(()=>{let b=v.current,F={onKeyDown(x){if(ho(x.nativeEvent,x.currentTarget)&&x.currentTarget.contains(x.target)){var M;Xl(x.target,x.key)&&x.preventDefault();let R=!0;if(!b.isPressed&&!x.repeat){b.target=x.currentTarget,b.isPressed=!0,R=w(x,"keyboard");let T=x.currentTarget,j=O=>{ho(O,T)&&!O.repeat&&T.contains(O.target)&&b.target&&E(dt(b.target,O),"keyboard")};$(le(x.currentTarget),"keyup",Kt(j,P),!0)}R&&x.stopPropagation(),x.metaKey&&vt()&&((M=b.metaKeyEvents)===null||M===void 0||M.set(x.key,x.nativeEvent))}else x.key==="Meta"&&(b.metaKeyEvents=new Map)},onClick(x){if(!(x&&!x.currentTarget.contains(x.target))&&x&&x.button===0&&!b.isTriggeringEvent&&!_t.isOpening){let M=!0;if(i&&x.preventDefault(),!b.ignoreClickAfterPress&&!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||Yo(x.nativeEvent))){!i&&!s&&ot(x.currentTarget);let R=w(x,"virtual"),T=E(x,"virtual"),j=C(x,"virtual");M=R&&T&&j}b.ignoreEmulatedMouseEvents=!1,b.ignoreClickAfterPress=!1,M&&x.stopPropagation()}}},P=x=>{var M;if(b.isPressed&&b.target&&ho(x,b.target)){var R;Xl(x.target,x.key)&&x.preventDefault();let j=x.target;C(dt(b.target,x),"keyboard",b.target.contains(j)),B(),x.key!=="Enter"&&Wi(b.target)&&b.target.contains(j)&&!x[Jl]&&(x[Jl]=!0,_t(b.target,x,!1)),b.isPressed=!1,(R=b.metaKeyEvents)===null||R===void 0||R.delete(x.key)}else if(x.key==="Meta"&&(!((M=b.metaKeyEvents)===null||M===void 0)&&M.size)){var T;let j=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let O of j.values())(T=b.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){F.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(Wh(T.nativeEvent)){b.pointerType="virtual";return}mo(T.currentTarget)&&T.preventDefault(),b.pointerType=T.pointerType;let j=!0;b.isPressed||(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=T.pointerId,b.target=T.currentTarget,!i&&!s&&ot(T.currentTarget),d||ql(b.target),j=w(T,b.pointerType),$(le(T.currentTarget),"pointermove",x,!1),$(le(T.currentTarget),"pointerup",M,!1),$(le(T.currentTarget),"pointercancel",R,!1)),j&&T.stopPropagation()},F.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(mo(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},F.onPointerUp=T=>{!T.currentTarget.contains(T.target)||b.pointerType==="virtual"||T.button===0&&Xt(T,T.currentTarget)&&E(T,b.pointerType||T.pointerType)};let x=T=>{T.pointerId===b.activePointerId&&(b.target&&Xt(T,b.target)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,w(dt(b.target,T),b.pointerType)):b.target&&b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,C(dt(b.target,T),b.pointerType,!1),S(T)))},M=T=>{T.pointerId===b.activePointerId&&b.isPressed&&T.button===0&&b.target&&(Xt(T,b.target)&&b.pointerType!=null?C(dt(b.target,T),b.pointerType):b.isOverTarget&&b.pointerType!=null&&C(dt(b.target,T),b.pointerType,!1),b.isPressed=!1,b.isOverTarget=!1,b.activePointerId=null,b.pointerType=null,B(),d||Fn(b.target))},R=T=>{D(T)};F.onDragStart=T=>{T.currentTarget.contains(T.target)&&D(T)}}else{F.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(mo(R.currentTarget)&&R.preventDefault(),b.ignoreEmulatedMouseEvents){R.stopPropagation();return}b.isPressed=!0,b.isOverTarget=!0,b.target=R.currentTarget,b.pointerType=Yo(R.nativeEvent)?"virtual":"mouse",!i&&!s&&ot(R.currentTarget),w(R,b.pointerType)&&R.stopPropagation(),$(le(R.currentTarget),"mouseup",x,!1)},F.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!0,T=w(R,b.pointerType)),T&&R.stopPropagation()},F.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!1,T=C(R,b.pointerType,!1),S(R)),T&&R.stopPropagation()},F.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!b.ignoreEmulatedMouseEvents&&R.button===0&&E(R,b.pointerType||"mouse")};let x=R=>{if(R.button===0){if(b.isPressed=!1,B(),b.ignoreEmulatedMouseEvents){b.ignoreEmulatedMouseEvents=!1;return}b.target&&Xt(R,b.target)&&b.pointerType!=null?C(dt(b.target,R),b.pointerType):b.target&&b.isOverTarget&&b.pointerType!=null&&C(dt(b.target,R),b.pointerType,!1),b.isOverTarget=!1}};F.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let T=Xh(R.nativeEvent);if(!T)return;b.activePointerId=T.identifier,b.ignoreEmulatedMouseEvents=!0,b.isOverTarget=!0,b.isPressed=!0,b.target=R.currentTarget,b.pointerType="touch",!i&&!s&&ot(R.currentTarget),d||ql(b.target),w(R,b.pointerType)&&R.stopPropagation(),$(Je(R.currentTarget),"scroll",M,!0)},F.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=Ql(R.nativeEvent,b.activePointerId),j=!0;T&&Xt(T,R.currentTarget)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,j=w(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,j=C(R,b.pointerType,!1),S(R)),j&&R.stopPropagation()},F.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=Ql(R.nativeEvent,b.activePointerId),j=!0;T&&Xt(T,R.currentTarget)&&b.pointerType!=null?(E(R,b.pointerType),j=C(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(j=C(R,b.pointerType,!1)),j&&R.stopPropagation(),b.isPressed=!1,b.activePointerId=null,b.isOverTarget=!1,b.ignoreEmulatedMouseEvents=!0,b.target&&!d&&Fn(b.target),B()},F.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),b.isPressed&&D(R))};let M=R=>{b.isPressed&&R.target.contains(b.target)&&D({currentTarget:b.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=R=>{R.currentTarget.contains(R.target)&&D(R)}}return F},[$,i,s,B,d,D,S,C,w,E]);return u.useEffect(()=>()=>{var b;d||Fn((b=v.current.target)!==null&&b!==void 0?b:void 0)},[d]),{isPressed:l||h,pressProps:J(p,A)}}function Wi(e){return e.tagName==="A"&&e.hasAttribute("href")}function ho(e,t){const{key:r,code:n}=e,a=t,o=a.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(a instanceof Je(a).HTMLInputElement&&!Yu(a,r)||a instanceof Je(a).HTMLTextAreaElement||a.isContentEditable)&&!((o==="link"||!o&&Wi(a))&&r!=="Enter")}function Xh(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Ql(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const a=r[n];if(a.identifier===t)return a}return null}function dt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function em(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function tm(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Xt(e,t){let r=t.getBoundingClientRect(),n=em(e);return tm(r,n)}function mo(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Xl(e,t){return e instanceof HTMLInputElement?!Yu(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Wi(e)}const rm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Yu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":rm.has(e.type)}const nm=u.forwardRef(({children:e,...t},r)=>{let n=u.useRef(!1),a=u.useContext(tn);r=Pt(r||(a==null?void 0:a.ref));let o=J(a||{},{...t,ref:r,register(){n.current=!0,a&&a.register()}});return Zi(a,r),u.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),u.createElement(tn.Provider,{value:o},e)});function am({children:e}){let t=u.useMemo(()=>({register:()=>{}}),[]);return u.createElement(tn.Provider,{value:t},e)}class om{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function Ju(e){let t=u.useRef({isFocused:!1,observer:null});ie(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return u.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=n.target,o=i=>{t.current.isFocused=!1,a.disabled&&r(new om("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function Qu(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:a}=e;const o=u.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),a&&a(!1),!0},[n,a]),i=Ju(o),l=u.useCallback(s=>{const c=le(s.target);s.target===s.currentTarget&&c.activeElement===s.target&&(r&&r(s),a&&a(!0),i(s))},[a,r,i]);return{focusProps:{onFocus:!t&&(r||a||n)?l:void 0,onBlur:!t&&(n||a)?o:void 0}}}let gt=null,rn=new Set,Wr=new Map,Ht=!1,Xo=!1;const im={Tab:!0,Escape:!0};function Ma(e,t){for(let r of rn)r(e,t)}function lm(e){return!(e.metaKey||!vt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function sa(e){Ht=!0,lm(e)&&(gt="keyboard",Ma("keyboard",e))}function ze(e){gt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ht=!0,Ma("pointer",e))}function Xu(e){Yo(e)&&(Ht=!0,gt="virtual")}function ec(e){e.target===window||e.target===document||(!Ht&&!Xo&&(gt="virtual",Ma("virtual",e)),Ht=!1,Xo=!1)}function tc(){Ht=!1,Xo=!0}function ua(e){if(typeof window>"u"||Wr.get(Je(e)))return;const t=Je(e),r=le(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ht=!0,n.apply(this,arguments)},r.addEventListener("keydown",sa,!0),r.addEventListener("keyup",sa,!0),r.addEventListener("click",Xu,!0),t.addEventListener("focus",ec,!0),t.addEventListener("blur",tc,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",ze,!0),r.addEventListener("pointermove",ze,!0),r.addEventListener("pointerup",ze,!0)):(r.addEventListener("mousedown",ze,!0),r.addEventListener("mousemove",ze,!0),r.addEventListener("mouseup",ze,!0)),t.addEventListener("beforeunload",()=>{rc(e)},{once:!0}),Wr.set(t,{focus:n})}const rc=(e,t)=>{const r=Je(e),n=le(e);t&&n.removeEventListener("DOMContentLoaded",t),Wr.has(r)&&(r.HTMLElement.prototype.focus=Wr.get(r).focus,n.removeEventListener("keydown",sa,!0),n.removeEventListener("keyup",sa,!0),n.removeEventListener("click",Xu,!0),r.removeEventListener("focus",ec,!0),r.removeEventListener("blur",tc,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",ze,!0),n.removeEventListener("pointermove",ze,!0),n.removeEventListener("pointerup",ze,!0)):(n.removeEventListener("mousedown",ze,!0),n.removeEventListener("mousemove",ze,!0),n.removeEventListener("mouseup",ze,!0)),Wr.delete(r))};function sm(e){const t=le(e);let r;return t.readyState!=="loading"?ua(e):(r=()=>{ua(e)},t.addEventListener("DOMContentLoaded",r)),()=>rc(e,r)}typeof document<"u"&&sm();function ca(){return gt!=="pointer"}function da(){return gt}function nc(e){gt=e,Ma(e,null)}function um(){ua();let[e,t]=u.useState(gt);return u.useEffect(()=>{let r=()=>{t(gt)};return rn.add(r),()=>{rn.delete(r)}},[]),yt()?null:e}const cm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function dm(e,t,r){var n;const a=typeof window<"u"?Je(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Je(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Je(r==null?void 0:r.target).HTMLElement:HTMLElement,l=typeof window<"u"?Je(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof a&&!cm.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof i&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof l&&!im[r.key])}function fm(e,t,r){ua(),u.useEffect(()=>{let n=(a,o)=>{dm(!!(r!=null&&r.isTextInput),a,o)&&e(ca())};return rn.add(n),()=>{rn.delete(n)}},t)}function kt(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:a}=e,o=u.useRef({isFocusWithin:!1}),i=u.useCallback(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),a&&a(!1))},[r,a,o]),l=Ju(i),s=u.useCallback(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),a&&a(!0),o.current.isFocusWithin=!0,l(c))},[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let fa=!1,vo=0;function ei(){fa=!0,setTimeout(()=>{fa=!1},50)}function es(e){e.pointerType==="touch"&&ei()}function pm(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",es):document.addEventListener("touchend",ei),vo++,()=>{vo--,!(vo>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",es):document.removeEventListener("touchend",ei))}}function Bt(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:a}=e,[o,i]=u.useState(!1),l=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(pm,[]);let{hoverProps:s,triggerHoverEnd:c}=u.useMemo(()=>{let d=(h,m)=>{if(l.pointerType=m,a||m==="touch"||l.isHovered||!h.currentTarget.contains(h.target))return;l.isHovered=!0;let v=h.currentTarget;l.target=v,t&&t({type:"hoverstart",target:v,pointerType:m}),r&&r(!0),i(!0)},f=(h,m)=>{if(l.pointerType="",l.target=null,m==="touch"||!l.isHovered)return;l.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:m}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{fa&&h.pointerType==="mouse"||d(h,h.pointerType)},p.onPointerLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!l.ignoreEmulatedMouseEvents&&!fa&&d(h,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,a,l]);return u.useEffect(()=>{a&&c({currentTarget:l.target},l.pointerType)},[a]),{hoverProps:s,isHovered:o}}function hm(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:a}=e,o=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Be(s=>{r&&On(s,t)&&(a&&a(s),o.current.isPointerDown=!0)}),l=Be(s=>{r&&r(s)});u.useEffect(()=>{let s=o.current;if(n)return;const c=t.current,d=le(c);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&On(p,t)&&l(p),s.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=h=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&On(h,t)&&l(h),s.isPointerDown=!1},p=h=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&On(h,t)&&l(h),s.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",p,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function On(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function ts(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function mm(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ts(e.onKeyDown),onKeyUp:ts(e.onKeyUp)}}}const vm=500;function ac(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:a,threshold:o=vm,accessibilityDescription:i}=e;const l=u.useRef();let{addGlobalListener:s,removeGlobalListener:c}=Hi(),{pressProps:d}=zt({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...p,type:"longpress"}),l.current=void 0},o),p.pointerType==="touch")){let h=m=>{m.preventDefault()};s(p.target,"contextmenu",h,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=yn(a&&!t?i:void 0);return{longPressProps:J(d,f)}}function Zt(e){const t=le(e);if(da()==="virtual"){let r=t.activeElement;Uu(()=>{t.activeElement===r&&e.isConnected&&ot(e)})}else ot(e)}function gm(e){const t=Je(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,a=r!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:i,visibility:l}=o(e);a=i!=="none"&&l!=="hidden"&&l!=="collapse"}return a}function bm(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function oc(e,t){return e.nodeName!=="#comment"&&gm(e)&&bm(e,t)&&(!e.parentElement||oc(e.parentElement,e))}const rs=u.createContext(null);let se=null;function ic(e){let{children:t,contain:r,restoreFocus:n,autoFocus:a}=e,o=u.useRef(null),i=u.useRef(null),l=u.useRef([]),{parentNode:s}=u.useContext(rs)||{},c=u.useMemo(()=>new ti({scopeRef:l}),[l]);ie(()=>{let p=s||$e.root;if($e.getTreeNode(p.scopeRef)&&se&&!ha(se,p.scopeRef)){let h=$e.getTreeNode(se);h&&(p=h)}p.addChild(c),$e.addNode(c)},[c,s]),ie(()=>{let p=$e.getTreeNode(l);p&&(p.contain=!!r)},[r]),ie(()=>{var p;let h=(p=o.current)===null||p===void 0?void 0:p.nextSibling,m=[];for(;h&&h!==i.current;)m.push(h),h=h.nextSibling;l.current=m},[t]),Cm(l,n,r),Dm(l,r),Pm(l,n,r),Em(l,a),u.useEffect(()=>{const p=le(l.current?l.current[0]:void 0).activeElement;let h=null;if(Re(p,l.current)){for(let m of $e.traverse())m.scopeRef&&Re(p,m.scopeRef.current)&&(h=m);h===$e.getTreeNode(l)&&(se=h.scopeRef)}},[l]),ie(()=>()=>{var p,h,m;let v=(m=(h=$e.getTreeNode(l))===null||h===void 0||(p=h.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&m!==void 0?m:null;(l===se||ha(l,se))&&(!v||$e.getTreeNode(v))&&(se=v),$e.removeTreeNode(l)},[l]);let d=u.useMemo(()=>ym(l),[]),f=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return u.createElement(rs.Provider,{value:f},u.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),t,u.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function ym(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||le(r[0]).activeElement,s=r[0].previousElementSibling,c=It(r),d=Ie(c,{tabbable:a,accept:i},r);d.currentNode=Re(l,r)?l:s;let f=d.nextNode();return!f&&o&&(d.currentNode=s,f=d.nextNode()),f&&Me(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||le(r[0]).activeElement,s=r[r.length-1].nextElementSibling,c=It(r),d=Ie(c,{tabbable:a,accept:i},r);d.currentNode=Re(l,r)?l:s;let f=d.previousNode();return!f&&o&&(d.currentNode=s,f=d.previousNode()),f&&Me(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=It(r),i=Ie(o,{tabbable:n,accept:a},r);i.currentNode=r[0].previousElementSibling;let l=i.nextNode();return l&&Me(l,!0),l},focusLast(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=It(r),i=Ie(o,{tabbable:n,accept:a},r);i.currentNode=r[r.length-1].nextElementSibling;let l=i.previousNode();return l&&Me(l,!0),l}}}const Gi=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],$m=Gi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const xm=Gi.join(':not([hidden]):not([tabindex="-1"]),');function It(e){return e[0].parentElement}function zr(e){let t=$e.getTreeNode(se);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Dm(e,t){let r=u.useRef(),n=u.useRef();ie(()=>{let a=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const o=le(a?a[0]:void 0);let i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!zr(e)||c.isComposing)return;let d=o.activeElement,f=e.current;if(!f||!Re(d,f))return;let p=It(f),h=Ie(p,{tabbable:!0},f);if(!d)return;h.currentNode=d;let m=c.shiftKey?h.previousNode():h.nextNode();m||(h.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=c.shiftKey?h.previousNode():h.nextNode()),c.preventDefault(),m&&Me(m,!0)},l=c=>{(!se||ha(se,e))&&Re(c.target,e.current)?(se=e,r.current=c.target):zr(e)&&!pa(c.target,e)?r.current?r.current.focus():se&&se.current&&ma(se.current):zr(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(o.activeElement&&zr(e)&&!pa(o.activeElement,e))if(se=e,o.body.contains(c.target)){var d;r.current=c.target,(d=r.current)===null||d===void 0||d.focus()}else se.current&&ma(se.current)})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",l,!1),a==null||a.forEach(c=>c.addEventListener("focusin",l,!1)),a==null||a.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",l,!1),a==null||a.forEach(c=>c.removeEventListener("focusin",l,!1)),a==null||a.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),ie(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function lc(e){return pa(e)}function Re(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function pa(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of $e.traverse($e.getTreeNode(t)))if(r&&Re(e,r.current))return!0;return!1}function wm(e){return pa(e,se)}function ha(e,t){var r;let n=(r=$e.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Me(e,t=!1){if(e!=null&&!t)try{Zt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function ma(e,t=!0){let r=e[0].previousElementSibling,n=It(e),a=Ie(n,{tabbable:t},e);a.currentNode=r;let o=a.nextNode();t&&!o&&(n=It(e),a=Ie(n,{tabbable:!1},e),a.currentNode=r,o=a.nextNode()),Me(o)}function Em(e,t){const r=u.useRef(t);u.useEffect(()=>{if(r.current){se=e;const n=le(e.current?e.current[0]:void 0);!Re(n.activeElement,se.current)&&e.current&&ma(e.current)}r.current=!1},[e])}function Cm(e,t,r){ie(()=>{if(t||r)return;let n=e.current;const a=le(n?n[0]:void 0);let o=i=>{let l=i.target;Re(l,e.current)?se=e:lc(l)||(se=null)};return a.addEventListener("focusin",o,!1),n==null||n.forEach(i=>i.addEventListener("focusin",o,!1)),()=>{a.removeEventListener("focusin",o,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",o,!1))}},[e,t,r])}function Sm(e){let t=$e.getTreeNode(se);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Pm(e,t,r){const n=u.useRef(typeof document<"u"?le(e.current?e.current[0]:void 0).activeElement:null);ie(()=>{let a=e.current;const o=le(a?a[0]:void 0);if(!t||r)return;let i=()=>{(!se||ha(se,e))&&Re(o.activeElement,e.current)&&(se=e)};return o.addEventListener("focusin",i,!1),a==null||a.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),a==null||a.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,r]),ie(()=>{const a=le(e.current?e.current[0]:void 0);if(!t)return;let o=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!zr(e)||i.isComposing)return;let l=a.activeElement;if(!Re(l,e.current))return;let s=$e.getTreeNode(e);if(!s)return;let c=s.nodeToRestore,d=Ie(a.body,{tabbable:!0});d.currentNode=l;let f=i.shiftKey?d.previousNode():d.nextNode();if((!c||!a.body.contains(c)||c===a.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!Re(f,e.current))&&c){d.currentNode=c;do f=i.shiftKey?d.previousNode():d.nextNode();while(Re(f,e.current));i.preventDefault(),i.stopPropagation(),f?Me(f,!0):lc(c)?Me(c,!0):l.blur()}};return r||a.addEventListener("keydown",o,!0),()=>{r||a.removeEventListener("keydown",o,!0)}},[e,t,r]),ie(()=>{const a=le(e.current?e.current[0]:void 0);if(!t)return;let o=$e.getTreeNode(e);if(o){var i;return o.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=$e.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(Re(a.activeElement,e.current)||a.activeElement===a.body&&Sm(e))){let c=$e.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Me(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&$e.getTreeNode(d.scopeRef)){ma(d.scopeRef.current,!0);return}d=d.parent}}})}}}},[e,t])}function Ie(e,t,r){let n=t!=null&&t.tabbable?xm:$m,a=le(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(o){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(o)?NodeFilter.FILTER_REJECT:o.matches(n)&&oc(o)&&(!r||Re(o,r))&&(!(t!=null&&t.accept)||t.accept(o))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function Ia(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,s=a||le(n).activeElement,c=Ie(n,{tabbable:o,accept:l});n.contains(s)&&(c.currentNode=s);let d=c.nextNode();return!d&&i&&(c.currentNode=n,d=c.nextNode()),d&&Me(d,!0),d},focusPrevious(r=t){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,s=a||le(n).activeElement,c=Ie(n,{tabbable:o,accept:l});if(n.contains(s))c.currentNode=s;else{let f=go(c);return f&&Me(f,!0),f??null}let d=c.previousNode();if(!d&&i){c.currentNode=n;let f=go(c);if(!f)return null;d=f}return d&&Me(d,!0),d??null},focusFirst(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,l=Ie(n,{tabbable:a,accept:o}).nextNode();return l&&Me(l,!0),l},focusLast(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,i=Ie(n,{tabbable:a,accept:o}),l=go(i);return l&&Me(l,!0),l??null}}}function go(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class qi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let a=this.fastMap.get(r??null);if(!a)return;let o=new ti({scopeRef:t});a.addChild(o),o.parent=a,this.fastMap.set(t,o),n&&(o.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Re(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let a=r.children;n&&(n.removeChild(r),a.size>0&&a.forEach(o=>n&&n.addChild(o))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new qi;var n;for(let a of this.traverse())r.addTreeNode(a.scopeRef,(n=(t=a.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new ti({scopeRef:null}),this.fastMap.set(null,this.root)}}class ti{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let $e=new qi;function ut(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,a=u.useRef({isFocused:!1,isFocusVisible:t||ca()}),[o,i]=u.useState(!1),[l,s]=u.useState(()=>a.current.isFocused&&a.current.isFocusVisible),c=u.useCallback(()=>s(a.current.isFocused&&a.current.isFocusVisible),[]),d=u.useCallback(h=>{a.current.isFocused=h,i(h),c()},[c]);fm(h=>{a.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:f}=Qu({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=kt({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:n?p:f}}let km=u.createContext(null);function Bm(e){let t=u.useContext(km)||{};Zi(t,e);let{ref:r,...n}=t;return n}function sc(e,t){let{focusProps:r}=Qu(e),{keyboardProps:n}=mm(e),a=J(r,n),o=Bm(t),i=e.isDisabled?{}:o,l=u.useRef(e.autoFocus);return u.useEffect(()=>{l.current&&t.current&&Zt(t.current),l.current=!1},[t]),{focusableProps:J({...a,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}const Rm=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Tm=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function uc(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Rm.has(r.script)}let t=e.split("-")[0];return Tm.has(t)}const Am=Symbol.for("react-aria.i18n.locale");function cc(){let e=typeof window<"u"&&window[Am]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:uc(e)?"rtl":"ltr"}}let ri=cc(),Hr=new Set;function ns(){ri=cc();for(let e of Hr)e(ri)}function dc(){let e=yt(),[t,r]=u.useState(ri);return u.useEffect(()=>(Hr.size===0&&window.addEventListener("languagechange",ns),Hr.add(r),()=>{Hr.delete(r),Hr.size===0&&window.removeEventListener("languagechange",ns)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const fc=u.createContext(null);function Fm(e){let{locale:t,children:r}=e,n=dc(),a=t?{locale:t,direction:uc(t)?"rtl":"ltr"}:n;return u.createElement(fc.Provider,{value:a},r)}function ke(){let e=dc();return u.useContext(fc)||e}const Mm=Symbol.for("react-aria.i18n.locale"),Im=Symbol.for("react-aria.i18n.strings");let er;class Rt{getStringForLocale(t,r){let a=this.getStringsForLocale(r)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${r} locale`);return a}getStringsForLocale(t){let r=this.strings[t];return r||(r=Om(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Mm];if(er===void 0){let a=window[Im];if(!a)return null;er={};for(let o in a)er[o]=new Rt({[r]:a[o]},r)}let n=er==null?void 0:er[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}}function Om(e,t,r="en-US"){if(t[e])return t[e];let n=Vm(e);if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function Vm(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const as=new Map,os=new Map;class pc{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let a=r["="+t];if(a)return typeof a=="function"?a():a;let o=this.locale+":"+n,i=as.get(o);i||(i=new Intl.PluralRules(this.locale,{type:n}),as.set(o,i));let l=i.select(t);return a=r[l]||r.other,typeof a=="function"?a():a}number(t){let r=os.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),os.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}const is=new WeakMap;function Lm(e){let t=is.get(e);return t||(t=new Rt(e),is.set(e,t)),t}function hc(e,t){return t&&Rt.getGlobalDictionaryForPackage(t)||Lm(e)}function et(e,t){let{locale:r}=ke(),n=hc(e,t);return u.useMemo(()=>new pc(r,n),[r,n])}function vr(e,t){return e-t*Math.floor(e/t)}const mc=1721426;function Ot(e,t,r,n){t=xn(e,t);let a=t-1,o=-2;return r<=2?o=0:Ct(t)&&(o=-1),mc-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+o+n)}function Ct(e){return e%4===0&&(e%100!==0||e%400===0)}function xn(e,t){return e==="BC"?1-t:t}function Oa(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const jm={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ve{fromJulianDay(t){let r=t,n=r-mc,a=Math.floor(n/146097),o=vr(n,146097),i=Math.floor(o/36524),l=vr(o,36524),s=Math.floor(l/1461),c=vr(l,1461),d=Math.floor(c/365),f=a*400+i*100+s*4+d+(i!==4&&d!==4?1:0),[p,h]=Oa(f),m=r-Ot(p,h,1,1),v=2;r<Ot(p,h,3,1)?v=0:Ct(h)&&(v=1);let $=Math.floor(((m+v)*12+373)/367),B=r-Ot(p,h,$,1)+1;return new ge(p,h,$,B)}toJulianDay(t){return Ot(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return jm[Ct(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Ct(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const Nm={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function xe(e,t){return t=pe(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Km(e,t){return t=pe(t,e.calendar),e=Ut(e),t=Ut(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ni(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function _m(e,t){return xe(e,Ji(t))}function Yi(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-Gm(t))%7;return n<0&&(n+=7),n}function vc(e){return it(Date.now(),e)}function Ji(e){return Ae(vc(e))}function gc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function bc(e,t){return ls(e)-ls(t)}function ls(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let bo=null;function yc(){return bo==null&&(bo=new Intl.DateTimeFormat().resolvedOptions().timeZone),bo}function Ut(e){return e.subtract({days:e.day-1})}function va(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function zm(e){return Ut(e.subtract({months:e.month-1}))}function Hm(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function Zm(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function nn(e,t){let r=Yi(e,t);return e.subtract({days:r})}function Um(e,t){return nn(e,t).add({days:6})}const ss=new Map;function Wm(e){if(Intl.Locale){let r=ss.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&ss.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function Gm(e){let t=Wm(e);return t&&Nm[t]||0}function qm(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Yi(Ut(e),t)+r)/7)}function Qi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function Xi(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function St(e){e=pe(e,new Ve);let t=xn(e.era,e.year);return $c(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function $c(e,t,r,n,a,o,i){let l=new Date;return l.setUTCHours(n,a,o,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function an(e,t){if(t==="UTC")return 0;if(e>0&&t===yc())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:o,minute:i,second:l}=xc(e,t);return $c(r,n,a,o,i,l,0)-Math.floor(e/1e3)*1e3}const us=new Map;function xc(e,t){let r=us.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),us.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const ga=864e5;function Ym(e,t){let r=St(e),n=r-an(r-ga,t),a=r-an(r+ga,t);return Dc(e,t,n,a)}function Dc(e,t,r,n){return(r===n?[r]:[r,n]).filter(o=>Jm(e,t,o))}function Jm(e,t,r){let n=xc(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function nt(e,t,r="compatible"){let n=Ue(e);if(t==="UTC")return St(n);if(t===yc()&&r==="compatible"){n=pe(n,new Ve);let s=new Date,c=xn(n.era,n.year);return s.setFullYear(c,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let a=St(n),o=an(a-ga,t),i=an(a+ga,t),l=Dc(n,t,a-o,a-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-o,a-i);case"compatible":case"later":return Math.max(a-o,a-i);case"reject":throw new RangeError("No such absolute time found")}}function wc(e,t,r="compatible"){return new Date(nt(e,t,r))}function it(e,t){let r=an(e,t),n=new Date(e+r),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),c=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new Gt(a,o,i,t,r,l,s,c,d)}function Ae(e){return new ge(e.calendar,e.era,e.year,e.month,e.day)}function Ue(e,t){let r=0,n=0,a=0,o=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:o}=t),new ln(e.calendar,e.era,e.year,e.month,e.day,r,n,a,o)}function pe(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Wt(n),n}function Qm(e,t,r){if(e instanceof Gt)return e.timeZone===t?e:ev(e,t);let n=nt(e,t,r);return it(n,t)}function Xm(e){let t=St(e)-e.offset;return new Date(t)}function ev(e,t){let r=St(e)-e.offset;return pe(it(r,t),e.calendar)}const Vr=36e5;function Va(e,t){let r=e.copy(),n="hour"in r?Pc(r,t):0;ai(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,oi(r),Ec(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,tv(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var o,i;let s=(o=(i=r.calendar).isInverseEra)===null||o===void 0?void 0:o.call(i,r);r.year=a,r.month=s?1:r.calendar.getMonthsInYear(r),r.day=s?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function ai(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function oi(e){for(;e.month<1;)ai(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ai(e,1)}function tv(e){for(;e.day<1;)e.month--,oi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,oi(e)}function Ec(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Wt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Ec(e)}function el(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Cc(e,t){return Va(e,el(t))}function tl(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),Wt(r),r}function on(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Sc(r),r}function rv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Vn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Vn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Vn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Vn(e.hour,24),t}function Sc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Vn(e,t){let r=e%t;return r<0&&(r+=t),r}function Pc(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,rv(e)}function kc(e,t){let r=e.copy();return Pc(r,t),r}function nv(e,t){return kc(e,el(t))}function rl(e,t,r,n){let a=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=ht(s,r,0,l.length-1,n==null?void 0:n.round),a.era=l[s],Wt(a);break}case"year":var o,i;!((o=(i=a.calendar).isInverseEra)===null||o===void 0)&&o.call(i,a)&&(r=-r),a.year=ht(e.year,r,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=ht(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":a.day=ht(e.day,r,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),Wt(a),a}function nl(e,t,r,n){let a=e.copy();switch(t){case"hour":{let o=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=o>=12;i=s?12:0,l=s?23:11}a.hour=ht(o,r,i,l,n==null?void 0:n.round);break}case"minute":a.minute=ht(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":a.second=ht(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=ht(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return a}function ht(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Bc(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let a=Va(Ue(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=nt(a,e.timeZone)}else r=St(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=it(r,e.timeZone);return pe(n,e.calendar)}function av(e,t){return Bc(e,el(t))}function ov(e,t,r,n){switch(t){case"hour":{let a=0,o=23;if((n==null?void 0:n.hourCycle)===12){let m=e.hour>=12;a=m?12:0,o=m?23:11}let i=Ue(e),l=pe(on(i,{hour:a}),new Ve),s=[nt(l,e.timeZone,"earlier"),nt(l,e.timeZone,"later")].filter(m=>it(m,e.timeZone).day===l.day)[0],c=pe(on(i,{hour:o}),new Ve),d=[nt(c,e.timeZone,"earlier"),nt(c,e.timeZone,"later")].filter(m=>it(m,e.timeZone).day===c.day).pop(),f=St(e)-e.offset,p=Math.floor(f/Vr),h=f%Vr;return f=ht(p,r,Math.floor(s/Vr),Math.floor(d/Vr),n==null?void 0:n.round)*Vr+h,pe(it(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return nl(e,t,r,n);case"era":case"year":case"month":case"day":{let a=rl(Ue(e),t,r,n),o=nt(a,e.timeZone);return pe(it(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function iv(e,t,r){let n=Ue(e),a=on(tl(n,t),t);if(a.compare(n)===0)return e;let o=nt(a,e.timeZone,r);return pe(it(o,e.timeZone),e.calendar)}const lv=/^(\d{4})-(\d{2})-(\d{2})$/,sv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,uv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/;function cv(e){let t=e.match(lv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new ge(we(t[1],0,9999),we(t[2],1,12),1);return r.day=we(t[3],0,r.calendar.getDaysInMonth(r)),r}function cs(e){let t=e.match(sv);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let r=new ln(we(t[1],1,9999),we(t[2],1,12),1,t[4]?we(t[4],0,23):0,t[5]?we(t[5],0,59):0,t[6]?we(t[6],0,59):0,t[7]?we(t[7],0,1/0)*1e3:0);return r.day=we(t[3],0,r.calendar.getDaysInMonth(r)),r}function dv(e,t){let r=e.match(uv);if(!r)throw new Error("Invalid ISO 8601 date time string: "+e);let n=new Gt(we(r[1],1,9999),we(r[2],1,12),1,r[10],0,r[4]?we(r[4],0,23):0,r[5]?we(r[5],0,59):0,r[6]?we(r[6],0,59):0,r[7]?we(r[7],0,1/0)*1e3:0);n.day=we(r[3],0,n.calendar.getDaysInMonth(n));let a=Ue(n),o;if(r[8]){var i;if(n.offset=we(r[8],-23,23)*36e5+we((i=r[9])!==null&&i!==void 0?i:"0",0,59)*6e4,o=St(n)-n.offset,!Ym(a,n.timeZone).includes(o))throw new Error(`Offset ${Ac(n.offset)} is invalid for ${al(n)} in ${n.timeZone}`)}else o=nt(Ue(a),n.timeZone,t);return it(o,n.timeZone)}function we(e,t,r){let n=Number(e);if(n<t||n>r)throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function Rc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Tc(e){let t=pe(e,new Ve);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function al(e){return`${Tc(e)}T${Rc(e)}`}function Ac(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function fv(e){return`${al(e)}${Ac(e.offset)}[${e.timeZone}]`}function ol(e){let t=typeof e[0]=="object"?e.shift():new Ve,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),a=e.shift(),o=e.shift();return[t,r,n,a,o]}var pv=new WeakMap;class ge{copy(){return this.era?new ge(this.calendar,this.era,this.year,this.month,this.day):new ge(this.calendar,this.year,this.month,this.day)}add(t){return Va(this,t)}subtract(t){return Cc(this,t)}set(t){return tl(this,t)}cycle(t,r,n){return rl(this,t,r,n)}toDate(t){return wc(this,t)}toString(){return Tc(this)}compare(t){return gc(this,t)}constructor(...t){$n(this,pv,{writable:!0,value:void 0});let[r,n,a,o,i]=ol(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,Wt(this)}}var hv=new WeakMap;class il{copy(){return new il(this.hour,this.minute,this.second,this.millisecond)}add(t){return kc(this,t)}subtract(t){return nv(this,t)}set(t){return on(this,t)}cycle(t,r,n){return nl(this,t,r,n)}toString(){return Rc(this)}compare(t){return bc(this,t)}constructor(t=0,r=0,n=0,a=0){$n(this,hv,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=a,Sc(this)}}var mv=new WeakMap;class ln{copy(){return this.era?new ln(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ln(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Va(this,t)}subtract(t){return Cc(this,t)}set(t){return tl(on(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return rl(this,t,r,n);default:return nl(this,t,r,n)}}toDate(t,r){return wc(this,t,r)}toString(){return al(this)}compare(t){let r=gc(this,t);return r===0?bc(this,Ue(t)):r}constructor(...t){$n(this,mv,{writable:!0,value:void 0});let[r,n,a,o,i]=ol(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Wt(this)}}var vv=new WeakMap;class Gt{copy(){return this.era?new Gt(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Gt(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Bc(this,t)}subtract(t){return av(this,t)}set(t,r){return iv(this,t,r)}cycle(t,r,n){return ov(this,t,r,n)}toDate(){return Xm(this)}toString(){return fv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Qm(t,this.timeZone).toDate().getTime()}constructor(...t){$n(this,vv,{writable:!0,value:void 0});let[r,n,a,o,i]=ol(t),l=t.shift(),s=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Wt(this)}}const gr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],gv=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],qn=[1867,1911,1925,1988,2018],wt=["meiji","taisho","showa","heisei","reiwa"];function ds(e){const t=gr.findIndex(([r,n,a])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<a);return t===-1?gr.length-1:t===0?0:t-1}function yo(e){let t=qn[wt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new ge(e.year+t,e.month,e.day)}class bv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=ds(r);return new ge(this,wt[n],r.year-qn[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(yo(t))}balanceDate(t){let r=yo(t),n=ds(r);wt[n]!==t.era&&(t.era=wt[n],t.year=r.year-qn[n]),this.constrainDate(t)}constrainDate(t){let r=wt.indexOf(t.era),n=gv[r];if(n!=null){let[a,o,i]=n,l=a-qn[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(o,t.month),t.month===o&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,a,o]=gr[r];t.month=Math.max(a,t.month),t.month===a&&(t.day=Math.max(o,t.day))}}getEras(){return wt}getYearsInEra(t){let r=wt.indexOf(t.era),n=gr[r],a=gr[r+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(t.month<a[1]||t.month===a[1]&&t.day<a[2])&&o++,o}getDaysInMonth(t){return super.getDaysInMonth(yo(t))}getMinimumMonthInYear(t){let r=fs(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=fs(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function fs(e){if(e.year===1){let t=wt.indexOf(e.era);return gr[t]}}const Fc=-543;class yv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=xn(r.era,r.year);return new ge(this,n-Fc,r.month,r.day)}toJulianDay(t){return super.toJulianDay(ps(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(ps(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function ps(e){let[t,r]=Oa(e.year+Fc);return new ge(t,r,e.month,e.day)}const ba=1911;function Mc(e){return e.era==="minguo"?e.year+ba:1-e.year+ba}function hs(e){let t=e-ba;return t>0?["minguo",t]:["before_minguo",1-t]}class $v extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=xn(r.era,r.year),[a,o]=hs(n);return new ge(this,a,o,r.month,r.day)}toJulianDay(t){return super.toJulianDay(ms(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=hs(Mc(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(ms(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-ba}constructor(...t){super(...t),this.identifier="roc"}}function ms(e){let[t,r]=Oa(Mc(e));return new ge(t,r,e.month,e.day)}const vs=1948320,gs=[0,31,62,93,124,155,186,216,246,276,306,336];class xv{fromJulianDay(t){let r=t-vs,n=1+Math.floor((33*r+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=r-a,i=o<216?Math.floor(o/31):Math.floor((o-6)/30),l=o-gs[i]+1;return new ge(this,n,i+1,l)}toJulianDay(t){let r=vs-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return r+=gs[t.month-1],r+=t.day,r}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||vr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const $o=78,bs=80;class Dv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-$o,a=t-Ot(r.era,r.year,1,1),o;a<bs?(n--,o=Ct(r.year-1)?31:30,a+=o+155+90+10):(o=Ct(r.year)?31:30,a-=bs);let i,l;if(a<o)i=1,l=a+1;else{let s=a-o;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new ge(this,n,i,l)}toJulianDay(t){let r=t.year+$o,[n,a]=Oa(r),o,i;return Ct(a)?(o=31,i=Ot(n,a,3,21)):(o=30,i=Ot(n,a,3,22)),t.month===1?i+t.day-1:(i+=o+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Ct(t.year+$o)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ya=1948440,ys=1948439,_e=1300,tr=1600,wv=460322;function $a(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Ic(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),a=Math.min(12,Math.ceil((r-(29+$a(t,n,1,1)))/29.5)+1),o=r-$a(t,n,a,1)+1;return new ge(e,n,a,o)}function $s(e){return(14+11*e)%30<11}class ll{fromJulianDay(t){return Ic(this,ya,t)}toJulianDay(t){return $a(ya,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&$s(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return $s(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Ev extends ll{fromJulianDay(t){return Ic(this,ys,t)}toJulianDay(t){return $a(ys,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Cv="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ii,br;function Yn(e){return wv+br[e-_e]}function Zr(e,t){let r=e-_e,n=1<<11-(t-1);return ii[r]&n?30:29}function xs(e,t){let r=Yn(e);for(let n=1;n<t;n++)r+=Zr(e,n);return r}function Ds(e){return br[e+1-_e]-br[e-_e]}class Sv extends ll{fromJulianDay(t){let r=t-ya,n=Yn(_e),a=Yn(tr);if(r<n||r>a)return super.fromJulianDay(t);{let o=_e-1,i=1,l=1;for(;l>0;){o++,l=r-Yn(o)+1;let s=Ds(o);if(l===s){i=12;break}else if(l<s){let c=Zr(o,i);for(i=1;l>c;)l-=c,i++,c=Zr(o,i);break}}return new ge(this,o,i,r-xs(o,i)+1)}}toJulianDay(t){return t.year<_e||t.year>tr?super.toJulianDay(t):ya+xs(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<_e||t.year>tr?super.getDaysInMonth(t):Zr(t.year,t.month)}getDaysInYear(t){return t.year<_e||t.year>tr?super.getDaysInYear(t):Ds(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ii||(ii=new Uint16Array(Uint8Array.from(atob(Cv),t=>t.charCodeAt(0)).buffer)),!br){br=new Uint32Array(tr-_e+1);let t=0;for(let r=_e;r<=tr;r++){br[r-_e]=t;for(let n=1;n<=12;n++)t+=Zr(r,n)}}}}const ws=347997,Oc=1080,Vc=24*Oc,Pv=29,kv=12*Oc+793,Bv=Pv*Vc+kv;function Ft(e){return vr(e*7+1,19)<7}function Jn(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return vr(3*(n+1),7)<3&&(n+=1),n}function Rv(e){let t=Jn(e-1),r=Jn(e);return Jn(e+1)-r===356?2:r-t===382?1:0}function Gr(e){return Jn(e)+Rv(e)}function Lc(e){return Gr(e+1)-Gr(e)}function Tv(e){let t=Lc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Ln(e,t){if(t>=6&&!Ft(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Tv(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?Ft(e)?30:0:30}class Av{fromJulianDay(t){let r=t-ws,n=r*Vc/Bv,a=Math.floor((19*n+234)/235)+1,o=Gr(a),i=Math.floor(r-o);for(;i<1;)a--,o=Gr(a),i=Math.floor(r-o);let l=1,s=0;for(;s<i;)s+=Ln(a,l),l++;l--,s-=Ln(a,l);let c=i-s;return new ge(this,a,l,c)}toJulianDay(t){let r=Gr(t.year);for(let n=1;n<t.month;n++)r+=Ln(t.year,n);return r+t.day+ws}getDaysInMonth(t){return Ln(t.year,t.month)}getMonthsInYear(t){return Ft(t.year)?13:12}getDaysInYear(t){return Lc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(Ft(r.year)&&!Ft(t.year)&&r.month>6?t.month--:!Ft(r.year)&&Ft(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const li=1723856,Es=1824665,si=5500;function xa(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function sl(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-xa(e,r,1,1))/30),a=t+1-xa(e,r,n,1);return[r,n,a]}function jc(e){return Math.floor(e%4/3)}function Nc(e,t){return t%13!==0?30:jc(e)+5}class ul{fromJulianDay(t){let[r,n,a]=sl(li,t),o="AM";return r<=0&&(o="AA",r+=si),new ge(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=si),xa(li,r,t.month,t.day)}getDaysInMonth(t){return Nc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+jc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Fv extends ul{fromJulianDay(t){let[r,n,a]=sl(li,t);return r+=si,new ge(this,"AA",r,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Mv extends ul{fromJulianDay(t){let[r,n,a]=sl(Es,t),o="CE";return r<=0&&(o="BCE",r=1-r),new ge(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),xa(Es,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Nc(r,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function cl(e){switch(e){case"buddhist":return new yv;case"ethiopic":return new ul;case"ethioaa":return new Fv;case"coptic":return new Mv;case"hebrew":return new Av;case"indian":return new Dv;case"islamic-civil":return new ll;case"islamic-tbla":return new Ev;case"islamic-umalqura":return new Sv;case"japanese":return new bv;case"persian":return new xv;case"roc":return new $v;case"gregory":default:return new Ve}}let xo=new Map;class mt{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),a=this.formatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Vv()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Lv(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=Kc(t,r),this.options=r}}const Iv={true:{ja:"h11"},false:{}};function Kc(e,t={}){if(typeof t.hour12=="boolean"&&Ov()){t={...t};let a=Iv[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=a??o,delete t.hour12}let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(xo.has(r))return xo.get(r);let n=new Intl.DateTimeFormat(e,t);return xo.set(r,n),n}let Do=null;function Ov(){return Do==null&&(Do=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Do}let wo=null;function Vv(){return wo==null&&(wo=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),wo}function Lv(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=Kc(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function lt(e){e=Gu(e??{},jv);let{locale:t}=ke();return u.useMemo(()=>new mt(t,e),[t,e])}function jv(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let a of r)if(t[a]!==e[a])return!1;return!0}let Eo=new Map,ui=!1;try{ui=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Da=!1;try{Da=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const _c={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Nv{format(t){let r="";if(!ui&&this.options.signDisplay!=null?r=_v(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Da){var n;let{unit:a,unitDisplay:o="short",locale:i}=this.resolvedOptions();if(!a)return r;let l=(n=_c[a])===null||n===void 0?void 0:n[o];r+=l[i]||l.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),a=this.numberFormatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!ui&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Da&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Kv(t,r),this.options=r}}function Kv(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Da){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=_c[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Eo.has(a))return Eo.get(a);let o=new Intl.NumberFormat(e,t);return Eo.set(a,o),o}function _v(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let a=e.format(-r),o=e.format(r),i=a.replace(o,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(o,"!!!").replace(i,"+").replace("!!!",o)}else return e.format(r)}}const zv=new RegExp("^.*\\(.*\\).*$"),Hv=["latn","arab","hanidec"];class zc{parse(t){return Co(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Co(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Co(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Cs=new Map;function Co(e,t,r){let n=Ss(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of Hv)if(a!==n.options.numberingSystem){let o=Ss(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(o.isValidPartialNumber(r))return o}}return n}function Ss(e,t){let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():""),n=Cs.get(r);return n||(n=new Zv(e,t),Cs.set(r,n)),n}class Zv{parse(t){let r=this.sanitize(t);if(this.symbols.group&&(r=jn(r,this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let a=r.indexOf("-");r=r.replace("-","");let o=r.indexOf(".");o===-1&&(o=r.length),r=r.replace(".",""),o-2===0?r=`0.${r}`:o-2===-1?r=`0.0${r}`:o-2===-2?r="0.00":r=`${r.slice(0,o-2)}.${r.slice(o-2)}`,a>-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){let a={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new zc(this.locale,a).parse(new Nv(this.locale,a).format(n))}return this.options.currencySign==="accounting"&&zv.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=jn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=jn(t,"."," ")),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=jn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,r={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Wv(t,this.formatter,this.options,r);var n,a;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Ps=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Uv=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Wv(e,t,r,n){var a,o,i,l;let s=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=s.formatToParts(-10000.111),d=s.formatToParts(10000.111),f=Uv.map(P=>s.formatToParts(P));var p;let h=(p=(a=c.find(P=>P.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&p!==void 0?p:"-",m=(o=d.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let $=(i=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(P=>P.type==="decimal"))===null||i===void 0?void 0:i.value,B=(l=c.find(P=>P.type==="group"))===null||l===void 0?void 0:l.value,w=c.filter(P=>!Ps.has(P.type)).map(P=>ks(P.value)),C=f.flatMap(P=>P.filter(x=>!Ps.has(x.type)).map(x=>ks(x.value))),E=[...new Set([...w,...C])].sort((P,x)=>x.length-P.length),D=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),A=new Map(S.map((P,x)=>[P,x])),b=new RegExp(`[${S.join("")}]`,"g");return{minusSign:h,plusSign:m,decimal:$,group:B,literals:D,numeral:b,index:P=>String(A.get(P))}}function jn(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function ks(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let So=new Map;function La(e){let{locale:t}=ke(),r=t+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(So.has(r))return So.get(r);let n=new Intl.Collator(t,e);return So.set(r,n),n}function Gv(e){let t=La({usage:"search",...e}),r=u.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(0,i.length),i)===0),[t]),n=u.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(-i.length),i)===0),[t]),a=u.useCallback((o,i)=>{if(i.length===0)return!0;o=o.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=o.length;l++){let c=o.slice(l,l+s);if(t.compare(i,c)===0)return!0}return!1},[t]);return u.useMemo(()=>({startsWith:r,endsWith:n,contains:a}),[r,n,a])}function qv(e,t){let{elementType:r="button",isDisabled:n,onPress:a,onPressStart:o,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:h,rel:m,type:v="button"}=e,$;r==="button"?$={type:v,disabled:n}:$={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?h:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:B,isPressed:w}=zt({onPressStart:o,onPressEnd:i,onPressChange:s,onPress:a,onPressUp:l,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:C}=sc(e,t);d&&(C.tabIndex=n?-1:C.tabIndex);let E=J(C,B,re(e,{labelable:!0}));return{isPressed:w,buttonProps:J($,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:D=>{f&&(f(D),console.warn("onClick is deprecated, please use onPress"))}})}}var Hc={};Hc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var Zc={};Zc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var Uc={};Uc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var Wc={};Wc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Gc={};Gc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var qc={};qc={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var Yc={};Yc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var Jc={};Jc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Qc={};Qc={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var Xc={};Xc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var ed={};ed={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var td={};td={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var rd={};rd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var nd={};nd={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var ad={};ad={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var od={};od={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var id={};id={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var ld={};ld={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var sd={};sd={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var ud={};ud={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var cd={};cd={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var dd={};dd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var fd={};fd={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var pd={};pd={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var hd={};hd={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var md={};md={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var vd={};vd={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var gd={};gd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var bd={};bd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var yd={};yd={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var $d={};$d={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var xd={};xd={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var Dd={};Dd={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var wd={};wd={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Dn={};Dn={"ar-AE":Hc,"bg-BG":Zc,"cs-CZ":Uc,"da-DK":Wc,"de-DE":Gc,"el-GR":qc,"en-US":Yc,"es-ES":Jc,"et-EE":Qc,"fi-FI":Xc,"fr-FR":ed,"he-IL":td,"hr-HR":rd,"hu-HU":nd,"it-IT":ad,"ja-JP":od,"ko-KR":id,"lt-LT":ld,"lv-LV":sd,"nb-NO":ud,"nl-NL":cd,"pl-PL":dd,"pt-BR":fd,"pt-PT":pd,"ro-RO":hd,"ru-RU":md,"sk-SK":vd,"sl-SI":gd,"sr-SP":bd,"sv-SE":yd,"tr-TR":$d,"uk-UA":xd,"zh-CN":Dd,"zh-TW":wd};function Ed(e){return e&&e.__esModule?e.default:e}const dl=new WeakMap;function sn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function Yv(e){let t=et(Ed(Dn),"@react-aria/calendar"),r,n;"highlightedRange"in e?{start:r,end:n}=e.highlightedRange||{}:r=n=e.value;let a=lt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:sn(r)||sn(n),timeZone:e.timeZone}),o="anchorDate"in e?e.anchorDate:null;return u.useMemo(()=>{if(!o&&r&&n)if(xe(r,n)){let i=a.format(r.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=di(a,t,r,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[r,n,o,e.timeZone,t,a])}function ci(e,t,r,n){let a=et(Ed(Dn),"@react-aria/calendar"),o=sn(e)||sn(t),i=lt({month:"long",year:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r}),l=lt({month:"long",year:"numeric",day:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r});return u.useMemo(()=>{if(xe(e,Ut(e))){if(xe(t,va(e)))return i.format(e.toDate(r));if(xe(t,va(t)))return n?di(i,a,e,t,r):i.formatRange(e.toDate(r),t.toDate(r))}return n?di(l,a,e,t,r):l.formatRange(e.toDate(r),t.toDate(r))},[e,t,i,l,a,r,n])}function di(e,t,r,n,a){let o=e.formatRangeToParts(r.toDate(a),n.toDate(a)),i=-1;for(let c=0;c<o.length;c++){let d=o[c];if(d.source==="shared"&&d.type==="literal")i=c;else if(d.source==="endRange")break}let l="",s="";for(let c=0;c<o.length;c++)c<i?l+=o[c].value:c>i&&(s+=o[c].value);return t.format("dateRange",{startDate:l,endDate:s})}const Cd=7e3;let qr=null;function fi(e,t="assertive",r=Cd){qr||(qr=new Qv),qr.announce(e,t,r)}function Jv(e){qr&&qr.clear(e)}class Qv{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=Cd){if(!this.node)return;let a=document.createElement("div");a.textContent=t,r==="assertive"?this.assertiveLog.appendChild(a):this.politeLog.appendChild(a),t!==""&&setTimeout(()=>{a.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{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"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function Xv(e){return e&&e.__esModule?e.default:e}function Sd(e,t){let r=et(Xv(Dn),"@react-aria/calendar"),n=re(e),a=ci(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),o=ci(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Ul(()=>{t.isFocused||fi(o)},[o]);let i=Yv(t);Ul(()=>{i&&fi(i,"polite",4e3)},[i]);let l=Dr([!!e.errorMessage,e.isInvalid,e.validationState]);dl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,c]=u.useState(!1),d=e.isDisabled||t.isNextVisibleRangeInvalid();d&&s&&(c(!1),t.setFocused(!0));let[f,p]=u.useState(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&f&&(p(!1),t.setFocused(!0));let m=bn({id:e.id,"aria-label":[e["aria-label"],o].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:J(n,m,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":r.format("next"),isDisabled:d,onFocusChange:c},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":r.format("previous"),isDisabled:h,onFocusChange:p},errorMessageProps:{id:l},title:a}}function e3(e,t){return Sd(e,t)}function t3(e,t,r){let n=Sd(e,t),a=u.useRef(!1),o=u.useRef(typeof window<"u"?window:null);return mr(o,"pointerdown",l=>{a.current=l.width===0&&l.height===0}),mr(o,"pointerup",l=>{if(a.current){a.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;r.current&&r.current.contains(document.activeElement)&&(!r.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{r.current&&(!l.relatedTarget||!r.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},mr(r,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function r3(e,t){let{startDate:r=t.visibleRange.start,endDate:n=t.visibleRange.end}=e,{direction:a}=ke(),o=h=>{switch(h.key){case"Enter":case" ":h.preventDefault(),t.selectFocusedDate();break;case"PageUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousSection(h.shiftKey);break;case"PageDown":h.preventDefault(),h.stopPropagation(),t.focusNextSection(h.shiftKey);break;case"End":h.preventDefault(),h.stopPropagation(),t.focusSectionEnd();break;case"Home":h.preventDefault(),h.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":h.preventDefault(),h.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(h.preventDefault(),t.setAnchorDate(null));break}},i=ci(r,n,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=dl.get(t),c=bn({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),d=lt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=ke(),p=u.useMemo(()=>{let h=nn(Ji(t.timeZone),f);return[...new Array(7).keys()].map(m=>{let $=h.add({days:m}).toDate(t.timeZone);return d.format($)})},[f,t.timeZone,d]);return{gridProps:J(c,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:o,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:p}}function n3(e){return e&&e.__esModule?e.default:e}function a3(e,t,r){let{date:n,isDisabled:a}=e,{errorMessageId:o,selectedDateDescription:i}=dl.get(t),l=et(n3(Dn),"@react-aria/calendar"),s=lt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:sn(n),timeZone:t.timeZone}),c=t.isSelected(n),d=t.isCellFocused(n);a=a||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!a&&!f,h=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&xe(t.value,n));h&&(c=!0),n=Gu(n,ni);let m=u.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),v=_m(n,t.timeZone),$=u.useMemo(()=>{let x="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(xe(n,t.value.start)||xe(n,t.value.end))&&(x=i+", "),x+=s.format(m),v?x=l.format(c?"todayDateSelected":"todayDate",{date:x}):c&&(x=l.format("dateSelected",{date:x})),t.minValue&&xe(n,t.minValue)?x+=", "+l.format("minimumDate"):t.maxValue&&xe(n,t.maxValue)&&(x+=", "+l.format("maximumDate")),x},[s,m,l,c,v,n,t,i]),B="";"anchorDate"in t&&d&&!t.isReadOnly&&p&&(t.anchorDate?B=l.format("finishRangeSelectionPrompt"):B=l.format("startRangeSelectionPrompt"));let w=yn(B),C=u.useRef(!1),E=u.useRef(!1),D=u.useRef(null),{pressProps:S,isPressed:A}=zt({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(x){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(x.pointerType==="mouse"||x.pointerType==="touch")){if(t.highlightedRange&&!h){if(xe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(xe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}}let M=()=>{t.setDragging(!0),D.current=null,t.selectDate(n),t.setFocusedDate(n),C.current=!0};x.pointerType==="touch"?D.current=setTimeout(M,200):M()}},onPressEnd(){E.current=!1,C.current=!1,clearTimeout(D.current),D.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(x){if(!t.isReadOnly&&("anchorDate"in t&&D.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(E.current)t.setAnchorDate(n);else if(t.anchorDate&&!C.current)t.selectDate(n),t.setFocusedDate(n);else if(x.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else x.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),b=null;a||(b=xe(n,t.focusedDate)?0:-1),u.useEffect(()=>{d&&r.current&&(ot(r.current),da()!=="pointer"&&document.activeElement===r.current&&la(r.current,{containingElement:Fa(r.current)}))},[d,r]);let F=lt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),P=u.useMemo(()=>F.formatToParts(m).find(x=>x.type==="day").value,[F,m]);return{cellProps:{role:"gridcell","aria-disabled":!p||null,"aria-selected":c||null,"aria-invalid":h||null},buttonProps:J(S,{onFocus(){a||t.setFocusedDate(n)},tabIndex:b,role:"button","aria-disabled":!p||null,"aria-label":$,"aria-invalid":h||null,"aria-describedby":[h?o:null,w["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(x){"highlightDate"in t&&(x.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(x){"releasePointerCapture"in x.target&&x.target.releasePointerCapture(x.pointerId)},onContextMenu(x){x.preventDefault()}}),isPressed:A,isFocused:d,isSelected:c,isDisabled:a,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:P}}function fl(e,t,r){let{validationBehavior:n,focus:a}=e;ie(()=>{if(n==="native"&&(r!=null&&r.current)){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(s),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(i3(r.current))}});let o=Be(()=>{t.resetValidation()}),i=Be(s=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!s.defaultPrevented&&r&&d&&l3(d)===r.current){var f;a?a():(f=r.current)===null||f===void 0||f.focus(),nc("keyboard")}s.preventDefault()}),l=Be(()=>{t.commitValidation()});u.useEffect(()=>{let s=r==null?void 0:r.current;if(!s)return;let c=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),c==null||c.addEventListener("reset",o),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),c==null||c.removeEventListener("reset",o)}},[r,i,l,o,n])}function o3(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 i3(e){return{isInvalid:!e.validity.valid,validationDetails:o3(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function l3(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const ja={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Pd={...ja,customError:!0,valid:!1},Et={isInvalid:!1,validationDetails:ja,validationErrors:[]},s3=u.createContext({}),wr="__formValidationState"+Date.now();function Jt(e){if(e[wr]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}=e[wr];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}}return u3(e)}function u3(e){let{isInvalid:t,validationState:r,name:n,value:a,builtinValidation:o,validate:i,validationBehavior:l="aria"}=e;r&&(t||(t=r==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Pd}:null,c=u.useMemo(()=>Bs(c3(i,a)),[i,a]);o!=null&&o.validationDetails.valid&&(o=null);let d=u.useContext(s3),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(P=>pi(d[P])):pi(d[n]):[],[d,n]),[p,h]=u.useState(d),[m,v]=u.useState(!1);d!==p&&(h(d),v(!1));let $=u.useMemo(()=>Bs(m?[]:f),[m,f]),B=u.useRef(Et),[w,C]=u.useState(Et),E=u.useRef(Et),D=()=>{if(!S)return;A(!1);let P=c||o||B.current;Po(P,E.current)||(E.current=P,C(P))},[S,A]=u.useState(!1);return u.useEffect(D),{realtimeValidation:s||$||c||o||Et,displayValidation:l==="native"?s||$||w:s||$||c||o||w,updateValidation(P){l==="aria"&&!Po(w,P)?C(P):B.current=P},resetValidation(){let P=Et;Po(P,E.current)||(E.current=P,C(P)),l==="native"&&A(!1),v(!0)},commitValidation(){l==="native"&&A(!0),v(!0)}}}function pi(e){return e?Array.isArray(e)?e:[e]:[]}function c3(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return pi(r)}return[]}function Bs(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Pd}:null}function Po(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function un(...e){let t=new Set,r=!1,n={...ja};for(let i of e){var a,o;for(let l of i.validationErrors)t.add(l);r||(r=i.isInvalid);for(let l in n)(a=n)[o=l]||(a[o]=i.validationDetails[l])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function d3(e,t,r){let{isDisabled:n=!1,isReadOnly:a=!1,value:o,name:i,children:l,"aria-label":s,"aria-labelledby":c,validationState:d="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.target.checked)},h=l!=null,m=s!=null||c!=null;!h&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:$}=zt({isDisabled:n}),{pressProps:B,isPressed:w}=zt({isDisabled:n||a,onPress(){t.toggle()}}),{focusableProps:C}=sc(e,r),E=J(v,C),D=re(e,{labelable:!0});return Ui(r,t.isSelected,t.setSelected),{labelProps:J(B,{onClick:S=>S.preventDefault()}),inputProps:J(D,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":a||void 0,onChange:p,disabled:n,...o==null?{}:{value:o},name:i,type:"checkbox",...E}),isSelected:t.isSelected,isPressed:$||w,isDisabled:n,isReadOnly:a,isInvalid:f||d==="invalid"}}function kd(e,t,r){let n=Jt({...e,value:t.isSelected}),{isInvalid:a,validationErrors:o,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:p}=d3({...e,isInvalid:a},t,r);fl(e,n,r);let{isIndeterminate:h,isRequired:m,validationBehavior:v="aria"}=e;return u.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:l,inputProps:{...s,checked:c,"aria-required":m&&v==="aria"||void 0,required:m&&v==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:p,isInvalid:a,validationErrors:o,validationDetails:i}}const Bd=new WeakMap;function Rd(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":a,labelElementType:o="label"}=e;t=Te(t);let i=Te(),l={};r?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:o==="label"?t:void 0}):!n&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=bn({id:t,"aria-label":a,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function wn(e){let{description:t,errorMessage:r,isInvalid:n,validationState:a}=e,{labelProps:o,fieldProps:i}=Rd(e),l=Dr([!!t,!!r,n,a]),s=Dr([!!t,!!r,n,a]);return i=J(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function f3(e,t){let{isDisabled:r,name:n,validationBehavior:a="aria"}=e,{isInvalid:o,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:c,descriptionProps:d,errorMessageProps:f}=wn({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||i});Bd.set(t,{name:n,descriptionId:d.id,errorMessageId:f.id,validationBehavior:a});let p=re(e,{labelable:!0}),{focusWithinProps:h}=kt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:J(p,{role:"group","aria-disabled":r||void 0,...c,...h}),labelProps:s,descriptionProps:d,errorMessageProps:f,isInvalid:o,validationErrors:i,validationDetails:l}}function Td(e={}){let{isReadOnly:t}=e,[r,n]=Xe(e.isSelected,e.defaultSelected||!1,e.onChange);function a(i){t||n(i)}function o(){t||n(!r)}return{isSelected:r,setSelected:a,toggle:o}}function p3(e,t,r){const n=Td({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange($){$?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange($)}});let{name:a,descriptionId:o,errorMessageId:i,validationBehavior:l}=Bd.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:c}=Jt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),d=u.useRef(Et),f=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};u.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:c,h=l==="native"?t.displayValidation:p;var m;let v=kd({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:l,[wr]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation($){d.current=$,f()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,o].filter(Boolean).join(" ")||void 0}}}const fr={top:"top",bottom:"top",left:"left",right:"left"},wa={top:"bottom",bottom:"top",left:"right",right:"left"},h3={top:"left",left:"top"},hi={top:"height",left:"width"},Ad={width:"totalWidth",height:"totalHeight"},Nn={};let Fe=typeof document<"u"&&window.visualViewport;function Rs(e){let t=0,r=0,n=0,a=0,o=0,i=0,l={},s=(Fe==null?void 0:Fe.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,a=f.clientHeight;var c;t=(c=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var d;r=(d=Fe==null?void 0:Fe.height)!==null&&d!==void 0?d:a,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,Fe&&(o=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:r,top:o,left:i}=yr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,a=r;return _i()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,o=Fe.pageTop,i=Fe.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:a,scroll:l,top:o,left:i}}function m3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ts(e,t,r,n,a,o,i){let l=a.scroll[e],s=n[hi[e]],c=n.scroll[fr[e]]+o,d=s+n.scroll[fr[e]]-o,f=t-l+i[e]-n[fr[e]],p=t-l+r+i[e]-n[fr[e]];return f<c?c-f:p>d?Math.max(d-p,c-f):0}function v3(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function As(e){if(Nn[e])return Nn[e];let[t,r]=e.split(" "),n=fr[t]||"right",a=h3[n];fr[r]||(r="center");let o=hi[n],i=hi[a];return Nn[e]={placement:t,crossPlacement:r,axis:n,crossAxis:a,size:o,crossSize:i},Nn[e]}function ko(e,t,r,n,a,o,i,l,s,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:h,size:m,crossSize:v}=n,$={};$[h]=e[h],f==="center"?$[h]+=(e[v]-r[v])/2:f!==h&&($[h]+=e[v]-r[v]),$[h]+=o;const B=e[h]-r[v]+s+c,w=e[h]+e[v]-s-c;if($[h]=Jo($[h],B,w),d===p){const C=l?i[m]:t[Ad[m]];$[wa[p]]=Math.floor(C-e[p]+a)}else $[p]=Math.floor(e[p]+e[m]+a);return $}function g3(e,t,r,n,a,o,i,l){const s=n?r.height:t[Ad.height];let c=e.top!=null?r.top+e.top:r.top+(s-e.bottom-i),d=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-c-(a.top+a.bottom+o)):Math.max(0,c+i-(t.top+t.scroll.top)-(a.top+a.bottom+o));return Math.min(t.height-o*2,d)}function Fs(e,t,r,n,a,o){let{placement:i,axis:l,size:s}=o;return i===l?Math.max(0,r[l]-e[l]-e.scroll[l]+t[l]-n[l]-n[wa[l]]-a):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-r[l]-r[s]-n[l]-n[wa[l]]-a)}function b3(e,t,r,n,a,o,i,l,s,c,d,f,p,h,m,v){let $=As(e),{size:B,crossAxis:w,crossSize:C,placement:E,crossPlacement:D}=$,S=ko(t,l,r,$,d,f,c,p,m,v),A=d,b=Fs(l,c,t,a,o+d,$);if(i&&n[B]>b){let H=As(`${wa[E]} ${D}`),k=ko(t,l,r,H,d,f,c,p,m,v);Fs(l,c,t,a,o+d,H)>b&&($=H,S=k,A=d)}let F="bottom";$.axis==="top"?$.placement==="top"?F="top":$.placement==="bottom"&&(F="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?F="bottom":$.crossPlacement==="bottom"&&(F="top"));let P=Ts(w,S[w],r[C],l,s,o,c);S[w]+=P;let x=g3(S,l,c,p,a,o,r.height,F);h&&h<x&&(x=h),r.height=Math.min(r.height,x),S=ko(t,l,r,$,A,f,c,p,m,v),P=Ts(w,S[w],r[C],l,s,o,c),S[w]+=P;let M={},R=t[w]+.5*t[C]-r[w];const T=m/2+v,j=r[C]-m/2-v,O=t[w]-r[w]+m/2,y=t[w]+t[C]-r[w]-m/2,z=Jo(R,O,y);return M[w]=Jo(z,T,j),{position:S,maxHeight:x,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:$.placement}}function y3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:a,padding:o,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,h=n instanceof HTMLElement?$3(n):document.documentElement,m=h===document.documentElement;const v=window.getComputedStyle(h).position;let $=!!v&&v!=="static",B=m?yr(r):Ms(r,h);if(!m){let{marginTop:b,marginLeft:F}=window.getComputedStyle(r);B.top+=parseInt(b,10)||0,B.left+=parseInt(F,10)||0}let w=yr(n),C=v3(n);w.width+=C.left+C.right,w.height+=C.top+C.bottom;let E=m3(a),D=Rs(l),S=Rs(h),A=l.tagName==="BODY"?yr(h):Ms(h,l);return h.tagName==="HTML"&&l.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),b3(t,B,w,E,C,o,i,D,S,A,s,c,$,d,f,p)}function yr(e){let{top:t,left:r,width:n,height:a}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+o-l,left:r+i-s,width:n,height:a}}function Ms(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:a,left:o,width:i,height:l}=e.getBoundingClientRect();n={top:a,left:o,width:i,height:l}}else{n=yr(e);let a=yr(t),o=window.getComputedStyle(t);a.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=a.top,n.left-=a.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function $3(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Is(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Is(t);)t=t.parentElement;return t||document.documentElement}function Is(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const Fd=new WeakMap;function x3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;u.useEffect(()=>{if(!r||n===null)return;let a=o=>{let i=o.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let l=n||Fd.get(t.current);l&&l()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[r,n,t])}let ve=typeof document<"u"&&window.visualViewport;function D3(e){let{direction:t}=ke(),{arrowSize:r=0,targetRef:n,overlayRef:a,scrollRef:o=a,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:h=!0,onClose:m,maxHeight:v,arrowBoundaryOffset:$=0}=e,[B,w]=u.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),C=[p,i,a.current,n.current,o.current,l,s,c,d,f,h,t,v,$,r],E=u.useRef(ve==null?void 0:ve.scale);u.useEffect(()=>{h&&(E.current=ve==null?void 0:ve.scale)},[h]);let D=u.useCallback(()=>{if(p===!1||!h||!a.current||!n.current||!o.current||!c||(ve==null?void 0:ve.scale)!==E.current)return;!v&&a.current&&(a.current.style.maxHeight="none");let b=y3({placement:E3(i,t),overlayNode:a.current,targetNode:n.current,scrollNode:o.current,padding:l,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:f,maxHeight:v,arrowSize:r,arrowBoundaryOffset:$});Object.keys(b.position).forEach(F=>a.current.style[F]=b.position[F]+"px"),a.current.style.maxHeight=b.maxHeight!=null?b.maxHeight+"px":void 0,w(b)},C);ie(D,C),w3(D),Aa({ref:a,onResize:D});let S=u.useRef(!1);ie(()=>{let b,F=()=>{S.current=!0,clearTimeout(b),b=setTimeout(()=>{S.current=!1},500),D()},P=()=>{S.current&&F()};return ve==null||ve.addEventListener("resize",F),ve==null||ve.addEventListener("scroll",P),()=>{ve==null||ve.removeEventListener("resize",F),ve==null||ve.removeEventListener("scroll",P)}},[D]);let A=u.useCallback(()=>{S.current||m()},[m,S]);return x3({triggerRef:n,isOpen:h,onClose:m&&A}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...B.position,maxHeight:B.maxHeight}},placement:B.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:B.arrowOffsetLeft,top:B.arrowOffsetTop}},updatePosition:D}}function w3(e){ie(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function E3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const ft=[];function Md(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:a,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;u.useEffect(()=>(a&&ft.push(t),()=>{let m=ft.indexOf(t);m>=0&&ft.splice(m,1)}),[a,t]);let s=()=>{ft[ft.length-1]===t&&r&&r()},c=m=>{(!l||l(m.target))&&ft[ft.length-1]===t&&(m.stopPropagation(),m.preventDefault())},d=m=>{(!l||l(m.target))&&(ft[ft.length-1]===t&&(m.stopPropagation(),m.preventDefault()),s())},f=m=>{m.key==="Escape"&&!i&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())};hm({ref:t,onInteractOutside:o&&a?d:null,onInteractOutsideStart:c});let{focusWithinProps:p}=kt({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||wm(m.relatedTarget)||(!l||l(m.relatedTarget))&&r()}}),h=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:h}}}function Id(e,t,r){let{type:n}=e,{isOpen:a}=t;u.useEffect(()=>{r&&r.current&&Fd.set(r.current,t.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let i=Te();return{triggerProps:{"aria-haspopup":o,"aria-expanded":a,"aria-controls":a?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Bo=typeof document<"u"&&window.visualViewport,C3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Kn=0,Ro;function Od(e={}){let{isDisabled:t}=e;ie(()=>{if(!t)return Kn++,Kn===1&&(gn()?Ro=P3():Ro=S3()),()=>{Kn--,Kn===0&&Ro()}},[t])}function S3(){return Kt(pr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),pr(document.documentElement,"overflow","hidden"))}function P3(){let e,t,r=c=>{e=Fa(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=pr(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},a=c=>{let d=c.target;Vs(d)&&d!==document.activeElement&&(c.preventDefault(),l(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},o=c=>{let d=c.target;Vs(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Bo&&(Bo.height<window.innerHeight?requestAnimationFrame(()=>{Os(d)}):Bo.addEventListener("resize",()=>Os(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=Kt(Lr(window,"scroll",c),pr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),pr(document.documentElement,"overflow","hidden"),pr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=Kt(Lr(document,"touchstart",r,{passive:!1,capture:!0}),Lr(document,"touchmove",n,{passive:!1,capture:!0}),Lr(document,"touchend",a,{passive:!1,capture:!0}),Lr(document,"focus",o,!0));return()=>{t==null||t(),i==null||i(),s()}}function pr(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Lr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function Os(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Fa(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,a=e.getBoundingClientRect().top;a>n+e.clientHeight&&(r.scrollTop+=a-n)}e=r.parentElement}}function Vs(e){return e instanceof HTMLInputElement&&!C3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Vd={};Vd={dismiss:"تجاهل"};var Ld={};Ld={dismiss:"Отхвърляне"};var jd={};jd={dismiss:"Odstranit"};var Nd={};Nd={dismiss:"Luk"};var Kd={};Kd={dismiss:"Schließen"};var _d={};_d={dismiss:"Απόρριψη"};var zd={};zd={dismiss:"Dismiss"};var Hd={};Hd={dismiss:"Descartar"};var Zd={};Zd={dismiss:"Lõpeta"};var Ud={};Ud={dismiss:"Hylkää"};var Wd={};Wd={dismiss:"Rejeter"};var Gd={};Gd={dismiss:"התעלם"};var qd={};qd={dismiss:"Odbaci"};var Yd={};Yd={dismiss:"Elutasítás"};var Jd={};Jd={dismiss:"Ignora"};var Qd={};Qd={dismiss:"閉じる"};var Xd={};Xd={dismiss:"무시"};var ef={};ef={dismiss:"Atmesti"};var tf={};tf={dismiss:"Nerādīt"};var rf={};rf={dismiss:"Lukk"};var nf={};nf={dismiss:"Negeren"};var af={};af={dismiss:"Zignoruj"};var of={};of={dismiss:"Descartar"};var lf={};lf={dismiss:"Dispensar"};var sf={};sf={dismiss:"Revocare"};var uf={};uf={dismiss:"Пропустить"};var cf={};cf={dismiss:"Zrušiť"};var df={};df={dismiss:"Opusti"};var ff={};ff={dismiss:"Odbaci"};var pf={};pf={dismiss:"Avvisa"};var hf={};hf={dismiss:"Kapat"};var mf={};mf={dismiss:"Скасувати"};var vf={};vf={dismiss:"取消"};var gf={};gf={dismiss:"關閉"};var bf={};bf={"ar-AE":Vd,"bg-BG":Ld,"cs-CZ":jd,"da-DK":Nd,"de-DE":Kd,"el-GR":_d,"en-US":zd,"es-ES":Hd,"et-EE":Zd,"fi-FI":Ud,"fr-FR":Wd,"he-IL":Gd,"hr-HR":qd,"hu-HU":Yd,"it-IT":Jd,"ja-JP":Qd,"ko-KR":Xd,"lt-LT":ef,"lv-LV":tf,"nb-NO":rf,"nl-NL":nf,"pl-PL":af,"pt-BR":of,"pt-PT":lf,"ro-RO":sf,"ru-RU":uf,"sk-SK":cf,"sl-SI":df,"sr-SP":ff,"sv-SE":pf,"tr-TR":hf,"uk-UA":mf,"zh-CN":vf,"zh-TW":gf};const Ls={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 yf(e={}){let{style:t,isFocusable:r}=e,[n,a]=u.useState(!1),{focusWithinProps:o}=kt({isDisabled:!r,onFocusWithinChange:l=>a(l)}),i=u.useMemo(()=>n?t:t?{...Ls,...t}:Ls,[n]);return{visuallyHiddenProps:{...o,style:i}}}function Er(e){let{children:t,elementType:r="div",isFocusable:n,style:a,...o}=e,{visuallyHiddenProps:i}=yf(e);return u.createElement(r,J(o,i),t)}function k3(e){return e&&e.__esModule?e.default:e}function mi(e){let{onDismiss:t,...r}=e,n=et(k3(bf),"@react-aria/overlays"),a=bn(r,n.format("dismiss")),o=()=>{t&&t()};return u.createElement(Er,null,u.createElement("button",{...a,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}let jr=new WeakMap,Ne=[];function $f(e,t=document.body){let r=new Set(e),n=new Set,a=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let c=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of r)if(p.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(s);if(f===NodeFilter.FILTER_ACCEPT&&o(s),f!==NodeFilter.FILTER_REJECT){let p=d.nextNode();for(;p!=null;)o(p),p=d.nextNode()}},o=s=>{var c;let d=(c=jr.get(s))!==null&&c!==void 0?c:0;s.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&s.setAttribute("aria-hidden","true"),n.add(s),jr.set(s,d+1))};Ne.length&&Ne[Ne.length-1].disconnect(),a(t);let i=new MutationObserver(s=>{for(let c of s)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&a(d)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ne.push(l),()=>{i.disconnect();for(let s of n){let c=jr.get(s);c===1?(s.removeAttribute("aria-hidden"),jr.delete(s)):jr.set(s,c-1)}l===Ne[Ne.length-1]?(Ne.pop(),Ne.length&&Ne[Ne.length-1].observe()):Ne.splice(Ne.indexOf(l),1)}}function B3(e,t){let{triggerRef:r,popoverRef:n,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:c}=Md({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i},n),{overlayProps:d,arrowProps:f,placement:p}=D3({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a?t.close:null});return Od({isDisabled:a||!t.isOpen}),ie(()=>{if(t.isOpen&&!a&&n.current)return $f([n.current])},[a,t.isOpen,n]),{popoverProps:J(s,d),arrowProps:f,underlayProps:c,placement:p}}const R3=u.createContext({});function T3(){var e;return(e=u.useContext(R3))!==null&&e!==void 0?e:{}}const xf=u.createContext(null);function Df(e){let t=yt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[a,o]=u.useState(!1),i=u.useMemo(()=>({contain:a,setContain:o}),[a,o]),{getContainer:l}=T3();if(!e.portalContainer&&l&&(r=l()),!r)return null;let s=e.children;return e.disableFocusManagement||(s=u.createElement(ic,{restoreFocus:!0,contain:a&&!n},s)),s=u.createElement(xf.Provider,{value:i},u.createElement(am,null,s)),vn.createPortal(s,r)}function wf(){let e=u.useContext(xf),t=e==null?void 0:e.setContain;ie(()=>{t==null||t(!0)},[t])}function A3(e,t,r){let{overlayProps:n,underlayProps:a}=Md({...e,isOpen:t.isOpen,onClose:t.close},r);return Od({isDisabled:!t.isOpen}),wf(),u.useEffect(()=>{if(t.isOpen)return $f([r.current])},[t.isOpen,r]),{modalProps:J(n),underlayProps:a}}const pl=new WeakMap;function F3(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function M3(e,t){let r=pl.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${F3(t)}`}function vi(e){return Oh()?e.altKey:e.ctrlKey}function ur(e){return vt()?e.metaKey:e.ctrlKey}const I3=1e3;function Ef(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,a=u.useRef({search:"",timeout:null}).current,o=i=>{let l=O3(i.key);if(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;l===" "&&a.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),a.search+=l;let s=t.getKeyForSearch(a.search,r.focusedKey);s==null&&(s=t.getKeyForSearch(a.search)),s!=null&&(r.setFocusedKey(s),n&&n(s)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},I3)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?o:null}}}function O3(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function V3(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:a=!1,shouldFocusWrap:o=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:m="action"}=e,{direction:v}=ke(),$=zi(),B=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const x=(k,V)=>{if(k!=null){if(t.isLink(k)&&m==="selection"&&s&&!vi(P)){vn.flushSync(()=>{t.setFocusedKey(k,V)});let K=h.current.querySelector(`[data-key="${CSS.escape(k.toString())}"]`),W=t.getItemProps(k);$.open(K,P,W.href,W.routerOptions);return}if(t.setFocusedKey(k,V),t.isLink(k)&&m==="override")return;P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(k):s&&!vi(P)&&t.replaceSelection(k)}};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var M,R;P.preventDefault();let k=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);k==null&&o&&(k=(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r,t.focusedKey)),x(k)}break;case"ArrowUp":if(r.getKeyAbove){var T,j;P.preventDefault();let k=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);k==null&&o&&(k=(j=r.getLastKey)===null||j===void 0?void 0:j.call(r,t.focusedKey)),x(k)}break;case"ArrowLeft":if(r.getKeyLeftOf){var O,y;P.preventDefault();let k=r.getKeyLeftOf(t.focusedKey);k==null&&o&&(k=v==="rtl"?(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r,t.focusedKey):(y=r.getLastKey)===null||y===void 0?void 0:y.call(r,t.focusedKey)),x(k,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,H;P.preventDefault();let k=r.getKeyRightOf(t.focusedKey);k==null&&o&&(k=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,t.focusedKey)),x(k,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let k=r.getFirstKey(t.focusedKey,ur(P));t.setFocusedKey(k),ur(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(k):s&&t.replaceSelection(k)}break;case"End":if(r.getLastKey){P.preventDefault();let k=r.getLastKey(t.focusedKey,ur(P));t.setFocusedKey(k),ur(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(k):s&&t.replaceSelection(k)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let k=r.getKeyPageBelow(t.focusedKey);x(k)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let k=r.getKeyPageAbove(t.focusedKey);x(k)}break;case"a":ur(P)&&t.selectionMode==="multiple"&&l!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(P.stopPropagation(),P.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let k=Ie(n.current,{tabbable:!0}),V,K;do K=k.lastChild(),K&&(V=K);while(K);V&&!V.contains(document.activeElement)&&ot(V)}break}}},w=u.useRef({top:0,left:0});mr(h,"scroll",p?null:()=>{w.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let C=P=>{if(t.isFocused){P.currentTarget.contains(P.target)||t.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(t.setFocused(!0),t.focusedKey==null){let R=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},T=P.relatedTarget;var x,M;T&&P.currentTarget.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_FOLLOWING?R((x=t.lastSelectedKey)!==null&&x!==void 0?x:r.getLastKey()):R((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else p||(h.current.scrollTop=w.current.top,h.current.scrollLeft=w.current.left);if(!p&&t.focusedKey!=null){let R=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(R.contains(document.activeElement)||ot(R),da()==="keyboard"&&la(R,{containingElement:n.current}))}}},E=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const D=u.useRef(a);u.useEffect(()=>{if(D.current){let P=null;a==="first"&&(P=r.getFirstKey()),a==="last"&&(P=r.getLastKey());let x=t.selectedKeys;if(x.size){for(let M of x)if(t.canSelectItem(M)){P=M;break}}t.setFocused(!0),t.setFocusedKey(P),P==null&&!d&&Zt(n.current)}},[]);let S=u.useRef(t.focusedKey);u.useEffect(()=>{let P=da();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let x=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);x&&(P==="keyboard"||D.current)&&(p||Wu(h.current,x),P!=="virtual"&&la(x,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Zt(n.current),S.current=t.focusedKey,D.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let A={onKeyDown:B,onFocus:C,onBlur:E,onMouseDown(P){h.current===P.target&&P.preventDefault()}},{typeSelectProps:b}=Ef({keyboardDelegate:r,selectionManager:t});c||(A=J(b,A));let F;return d||(F=t.focusedKey==null?0:-1),{collectionProps:{...A,tabIndex:F}}}function L3(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:i,isDisabled:l,onAction:s,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=zi(),p=y=>{if(y.pointerType==="keyboard"&&vi(y))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(d==="selection"){let z=t.getItemProps(r);f.open(n.current,y,z.href,z.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(d==="override"||d==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):y&&y.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||y&&(ur(y)||y.pointerType==="touch"||y.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};u.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!o&&(i?i():document.activeElement!==n.current&&Zt(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,o]),l=l||t.isDisabled(r);let h={};!o&&!l?h={tabIndex:r===t.focusedKey?0:-1,onFocus(y){y.target===n.current&&t.setFocusedKey(r)}}:l&&(h.onMouseDown=y=>{y.preventDefault()});let m=t.isLink(r)&&d==="override",v=t.isLink(r)&&d!=="selection"&&d!=="none",$=!l&&t.canSelectItem(r)&&!m,B=(s||v)&&!l,w=B&&(t.selectionBehavior==="replace"?!$:!$||t.isEmpty),C=B&&$&&t.selectionBehavior==="replace",E=w||C,D=u.useRef(null),S=E&&$,A=u.useRef(!1),b=u.useRef(!1),F=y=>{if(s&&s(),v){let z=t.getItemProps(r);f.open(n.current,y,z.href,z.routerOptions)}},P={};a?(P.onPressStart=y=>{D.current=y.pointerType,A.current=S,y.pointerType==="keyboard"&&(!E||Ns())&&p(y)},c?(P.onPressUp=w?null:y=>{y.pointerType!=="keyboard"&&$&&p(y)},P.onPress=w?F:null):P.onPress=y=>{if(w||C&&y.pointerType!=="mouse"){if(y.pointerType==="keyboard"&&!js())return;F(y)}else y.pointerType!=="keyboard"&&$&&p(y)}):(P.onPressStart=y=>{D.current=y.pointerType,A.current=S,b.current=w,$&&(y.pointerType==="mouse"&&!w||y.pointerType==="keyboard"&&(!B||Ns()))&&p(y)},P.onPress=y=>{(y.pointerType==="touch"||y.pointerType==="pen"||y.pointerType==="virtual"||y.pointerType==="keyboard"&&E&&js()||y.pointerType==="mouse"&&b.current)&&(E?F(y):$&&p(y))}),h["data-key"]=r,P.preventFocusOnPress=o;let{pressProps:x,isPressed:M}=zt(P),R=C?y=>{D.current==="mouse"&&(y.stopPropagation(),y.preventDefault(),F(y))}:void 0,{longPressProps:T}=ac({isDisabled:!S,onLongPress(y){y.pointerType==="touch"&&(p(y),t.setSelectionBehavior("toggle"))}}),j=y=>{D.current==="touch"&&A.current&&y.preventDefault()},O=t.isLink(r)?y=>{_t.isOpening||y.preventDefault()}:void 0;return{itemProps:J(h,$||w?x:{},S?T:{},{onDoubleClick:R,onDragStartCapture:j,onClick:O}),isPressed:M,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:l,allowsSelection:$,hasAction:E}}function js(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ns(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class hl{isDisabled(t){var r;return this.disabledBehavior==="all"&&(((r=t.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(t.key))}getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let a=this.getItem(t);if(!a)return null;let o=a.getBoundingClientRect();do t=r(t),a=this.getItem(t);while(a&&n(o,a.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}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){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){let r=this.collection.getItem(t);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return t!==null?this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!en(r))return this.getFirstKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.max(0,o.x-i+o.width-a.width);for(;n&&o.x-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.max(0,o.y-i+o.height-a.height);for(;n&&o.y-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!en(r))return this.getLastKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.min(r.scrollWidth,o.x-i-o.width+a.width);for(;n&&o.x-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.min(r.scrollHeight,o.y-i-o.height+a.height);for(;n&&o.y-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,a=r||this.getFirstKey();for(;a!=null;){let o=n.getItem(a),i=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(i,t)===0)return a;a=this.getKeyBelow(a)}return null}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,this.direction=r.direction,this.layout=r.layout||"stack"}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.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function j3(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:a,keyboardDelegate:o}=e,i=La({usage:"search",sensitivity:"base"}),l=t.disabledBehavior,s=u.useMemo(()=>o||new hl({collection:r,disabledKeys:n,disabledBehavior:l,ref:a,collator:i}),[o,r,n,a,i,l]),{collectionProps:c}=V3({...e,ref:a,selectionManager:t,keyboardDelegate:s});return{listProps:c}}function N3(e,t,r){let n=re(e,{labelable:!0}),a=e.selectionBehavior||"toggle",o=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&o==="action"&&(o="override");let{listProps:i}=j3({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=kt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=Te(e.id);pl.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o});let{labelProps:c,fieldProps:d}=Rd({...e,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:J(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...J(d,i)})}}class K3{build(t,r){return this.context=r,Ks(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let a of t.items)yield*this.getFullNode({value:a},{renderer:r})}else{let a=[];u.Children.forEach(r,i=>{a.push(i)});let o=0;for(let i of a){let l=this.getFullNode({element:i,index:o},{});for(let s of l)o++,yield s}}}getKey(t,r,n,a){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${a}${r.key}`;let o=r.value;if(o!=null){var i;let l=(i=o.key)!==null&&i!==void 0?i:o.id;if(l==null)throw new Error("No key found for item");return l}return a?`${a}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,a){let o=t.element;if(!o&&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=a?a.key:null,yield s;return}o=r.renderer(t.value)}if(u.isValidElement(o)){let s=o.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let p=typeof o.type=="function"?o.type.name:o.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=s.getCollectionNode(o.props,this.context),d=t.index,f=c.next();for(;!f.done&&f.value;){let p=f.value;t.index=d;let h=p.key;h||(h=p.element?null:this.getKey(o,t,r,n));let v=[...this.getFullNode({...p,key:h,index:d,wrapper:_3(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${o.key}`:o.key,a)];for(let $ of v){if($.value=p.value||t.value,$.value&&this.cache.set($.value,$),t.type&&$.type!==t.type)throw new Error(`Unsupported type <${To($.type)}> in <${To(a.type)}>. Only <${To(t.type)}> is supported.`);d++,yield $}f=c.next(v)}return}if(t.key==null)return;let i=this,l={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:t.value,level:a?a.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,childNodes:Ks(function*(){if(!t.hasChildNodes)return;let s=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${l.key}${c.key}`),c.index=s;let d=i.getFullNode(c,i.getChildState(r,c),l.key,l);for(let f of d)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function Ks(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function _3(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function To(e){return e[0].toUpperCase()+e.slice(1)}function z3(e,t,r){let n=u.useMemo(()=>new K3,[]),{children:a,items:o,collection:i}=e;return u.useMemo(()=>{if(i)return i;let s=n.build({children:a,items:o},r);return t(s)},[n,a,o,i,r,t])}function Cf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function H3(e){return Z3(e)}function Z3(e,t){for(let r of e)return r}function Ao(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[..._s(e,t),t],a=[..._s(e,r),r],o=n.slice(0,a.length).findIndex((i,l)=>i!==a[l]);return o!==-1?(t=n[o],r=a[o],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(a.findIndex(i=>i===t)>=0,-1)}function _s(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const zs=new WeakMap;function U3(e){let t=zs.get(e);if(t!=null)return t;t=0;let r=n=>{for(let a of n)a.type==="section"?r(Cf(a,e)):t++};return r(e),zs.set(e,t),t}function W3(e,t,r){var n,a;let{key:o}=e,i=pl.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(o);var c;let d=(c=e.isSelected)!==null&&c!==void 0?c:t.selectionManager.isSelected(o);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var h;let m=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:i==null?void 0:i.shouldFocusOnHover;var v;let $=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:i==null?void 0:i.shouldUseVirtualFocus;var B;let w=(B=e.isVirtualized)!==null&&B!==void 0?B:i==null?void 0:i.isVirtualized,C=Dr(),E=Dr(),D={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?d:void 0};vt()&&_i()||(D["aria-label"]=e["aria-label"],D["aria-labelledby"]=C,D["aria-describedby"]=E);let S=t.collection.getItem(o);if(w){let O=Number(S==null?void 0:S.index);D["aria-posinset"]=Number.isNaN(O)?void 0:O+1,D["aria-setsize"]=U3(t.collection)}let A=i!=null&&i.onAction?()=>{var O;return i==null||(O=i.onAction)===null||O===void 0?void 0:O.call(i,o)}:void 0,{itemProps:b,isPressed:F,isFocused:P,hasAction:x,allowsSelection:M}=L3({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&m,isVirtualized:w,shouldUseVirtualFocus:$,isDisabled:s,onAction:A||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?Kt(S==null||(a=S.props)===null||a===void 0?void 0:a.onAction,A):void 0,linkBehavior:i==null?void 0:i.linkBehavior}),{hoverProps:R}=Bt({isDisabled:s||!m,onHoverStart(){ca()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(o))}}),T=re(S==null?void 0:S.props);delete T.id;let j=_h(S==null?void 0:S.props);return{optionProps:{...D,...J(T,b,R,j),id:M3(t,o)},labelProps:{id:C},descriptionProps:{id:E},isFocused:P,isFocusVisible:P&&ca(),isSelected:d,isDisabled:s,isPressed:F,allowsSelection:M,hasAction:x}}function G3(e){let{heading:t,"aria-label":r}=e,n=Te();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Sf={};Sf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Pf={};Pf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var kf={};kf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Bf={};Bf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Rf={};Rf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Tf={};Tf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Af={};Af={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Ff={};Ff={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Mf={};Mf={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var If={};If={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Of={};Of={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Vf={};Vf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Lf={};Lf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var jf={};jf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Nf={};Nf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Kf={};Kf={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var _f={};_f={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var zf={};zf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Hf={};Hf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Zf={};Zf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Uf={};Uf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Wf={};Wf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Gf={};Gf={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var qf={};qf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Yf={};Yf={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Jf={};Jf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Qf={};Qf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Xf={};Xf={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var e0={};e0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var t0={};t0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var r0={};r0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var n0={};n0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var a0={};a0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var o0={};o0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var i0={};i0={"ar-AE":Sf,"bg-BG":Pf,"cs-CZ":kf,"da-DK":Bf,"de-DE":Rf,"el-GR":Tf,"en-US":Af,"es-ES":Ff,"et-EE":Mf,"fi-FI":If,"fr-FR":Of,"he-IL":Vf,"hr-HR":Lf,"hu-HU":jf,"it-IT":Nf,"ja-JP":Kf,"ko-KR":_f,"lt-LT":zf,"lv-LV":Hf,"nb-NO":Zf,"nl-NL":Uf,"pl-PL":Wf,"pt-BR":Gf,"pt-PT":qf,"ro-RO":Yf,"ru-RU":Jf,"sk-SK":Qf,"sl-SI":Xf,"sr-SP":e0,"sv-SE":t0,"tr-TR":r0,"uk-UA":n0,"zh-CN":a0,"zh-TW":o0};function q3(e){return e&&e.__esModule?e.default:e}function Y3(e,t,r){let{type:n="menu",isDisabled:a,trigger:o="press"}=e,i=Te(),{triggerProps:l,overlayProps:s}=Id({type:n},t,r),c=h=>{if(!a&&!(o==="longPress"&&!h.altKey)&&r&&r.current)switch(h.key){case"Enter":case" ":if(o==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break;default:"continuePropagation"in h&&h.continuePropagation()}},d=et(q3(i0),"@react-aria/menu"),{longPressProps:f}=ac({isDisabled:a||o!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!a&&t.open(h.pointerType==="virtual"?"first":null)},onPress(h){h.pointerType==="touch"&&!a&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...o==="press"?p:f,id:i,onKeyDown:c},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var l0={};l0={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var s0={};s0={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var u0={};u0={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var c0={};c0={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",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:"år"};var d0={};d0={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var f0={};f0={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var p0={};p0={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}`};var h0={};h0={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",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ía de la semana",year:"año"};var m0={};m0={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var v0={};v0={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var g0={};g0={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var b0={};b0={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var y0={};y0={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",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četka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var $0={};$0={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var x0={};x0={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"};var D0={};D0={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var w0={};w0={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var E0={};E0={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var C0={};C0={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var S0={};S0={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var P0={};P0={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"};var k0={};k0={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",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ątkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var B0={};B0={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",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ário",weekday:"dia da semana",year:"ano"};var R0={};R0={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",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ício",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var T0={};T0={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var A0={};A0={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var F0={};F0={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var M0={};M0={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čje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var I0={};I0={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",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četka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var O0={};O0={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",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:"år"};var V0={};V0={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var L0={};L0={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var j0={};j0={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var N0={};N0={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var En={};En={"ar-AE":l0,"bg-BG":s0,"cs-CZ":u0,"da-DK":c0,"de-DE":d0,"el-GR":f0,"en-US":p0,"es-ES":h0,"et-EE":m0,"fi-FI":v0,"fr-FR":g0,"he-IL":b0,"hr-HR":y0,"hu-HU":$0,"it-IT":x0,"ja-JP":D0,"ko-KR":w0,"lt-LT":E0,"lv-LV":C0,"nb-NO":S0,"nl-NL":P0,"pl-PL":k0,"pt-BR":B0,"pt-PT":R0,"ro-RO":T0,"ru-RU":A0,"sk-SK":F0,"sl-SI":M0,"sr-SP":I0,"sv-SE":O0,"tr-TR":V0,"uk-UA":L0,"zh-CN":j0,"zh-TW":N0};function ml(e,t,r){let{direction:n}=ke(),a=u.useMemo(()=>Ia(t),[t]),o=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!r))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusNext():a.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusPrevious():a.focusNext();break}},i=()=>{var s;let c=(s=window.event)===null||s===void 0?void 0:s.target,d=Ie(t.current,{tabbable:!0});if(c&&(d.currentNode=c,c=d.previousNode()),!c){let f;do f=d.lastChild(),f&&(c=f);while(f)}for(;c!=null&&c.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))c=f;else break}c&&c.focus()},{pressProps:l}=zt({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return J(l,{onKeyDown:o})}function J3(e){return e&&e.__esModule?e.default:e}const K0=new WeakMap,Yr="__role_"+Date.now(),_0="__focusManager_"+Date.now();function Q3(e,t,r){var n;let{isInvalid:a,validationErrors:o,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:c,errorMessageProps:d}=wn({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||o}),f=u.useRef(null),{focusWithinProps:p}=kt({...e,onFocusWithin(P){var x;f.current=t.value,(x=e.onFocus)===null||x===void 0||x.call(e,P)},onBlurWithin:P=>{var x;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(x=e.onBlur)===null||x===void 0||x.call(e,P)},onFocusWithinChange:e.onFocusChange}),h=et(J3(En),"@react-aria/datepicker"),m=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",v=t.maxGranularity==="hour"?"time":"date",$=t.value?h.format(m,{[v]:t.formatValue({month:"long"})}):"",B=yn($),w=e[Yr]==="presentation"?s["aria-describedby"]:[B["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,C=e[_0],E=u.useMemo(()=>C||Ia(r),[C,r]),D=ml(t,r,e[Yr]==="presentation");K0.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:w,focusManager:E});let S=u.useRef(e.autoFocus),A;e[Yr]==="presentation"?A={role:"presentation"}:A=J(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":w}),u.useEffect(()=>{S.current&&E.focusFirst(),S.current=!1},[E]),Ui(e.inputRef,t.value,t.setValue),fl({...e,focus(){E.focusFirst()}},t,e.inputRef);let b={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||""};e.validationBehavior==="native"&&(b.type="text",b.hidden=!0,b.required=e.isRequired,b.onChange=()=>{});let F=re(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:J(F,A,D,p,{onKeyDown(P){e.onKeyDown&&e.onKeyDown(P)},onKeyUp(P){e.onKeyUp&&e.onKeyUp(P)}}),inputProps:b,descriptionProps:c,errorMessageProps:d,isInvalid:a,validationErrors:o,validationDetails:i}}function X3(e){return e&&e.__esModule?e.default:e}function eg(e,t,r){let n=Te(),a=Te(),o=Te(),i=et(X3(En),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:c}=t.displayValidation,{labelProps:d,fieldProps:f,descriptionProps:p,errorMessageProps:h}=wn({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),m=ml(t,r),v=f["aria-labelledby"]||f.id,{locale:$}=ke(),B=t.formatValue($,{month:"long"}),w=B?i.format("selectedDateDescription",{date:B}):"",C=yn(w),E=[C["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,D=re(e),S=u.useMemo(()=>Ia(r),[r]),{focusWithinProps:A}=kt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:J(D,m,f,C,A,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":v,"aria-describedby":E,onKeyDown(b){t.isOpen||e.onKeyDown&&e.onKeyDown(b)},onKeyUp(b){t.isOpen||e.onKeyUp&&e.onKeyUp(b)}}),labelProps:{...d,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:o,[Yr]:"presentation","aria-describedby":E,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[wr]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:h,buttonProps:{...C,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${v}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${n} ${v}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:c}}function tg(e){return e&&e.__esModule?e.default:e}function rg(){let{locale:e}=ke(),t=hc(tg(En),"@react-aria/datepicker");return u.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new ng(e,t)}},[e,t])}class ng{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}var z0={};z0={Empty:"فارغ"};var H0={};H0={Empty:"Изпразни"};var Z0={};Z0={Empty:"Prázdné"};var U0={};U0={Empty:"Tom"};var W0={};W0={Empty:"Leer"};var G0={};G0={Empty:"Άδειο"};var q0={};q0={Empty:"Empty"};var Y0={};Y0={Empty:"Vacío"};var J0={};J0={Empty:"Tühjenda"};var Q0={};Q0={Empty:"Tyhjä"};var X0={};X0={Empty:"Vide"};var e1={};e1={Empty:"ריק"};var t1={};t1={Empty:"Prazno"};var r1={};r1={Empty:"Üres"};var n1={};n1={Empty:"Vuoto"};var a1={};a1={Empty:"空"};var o1={};o1={Empty:"비어 있음"};var i1={};i1={Empty:"Tuščias"};var l1={};l1={Empty:"Tukšs"};var s1={};s1={Empty:"Tom"};var u1={};u1={Empty:"Leeg"};var c1={};c1={Empty:"Pusty"};var d1={};d1={Empty:"Vazio"};var f1={};f1={Empty:"Vazio"};var p1={};p1={Empty:"Gol"};var h1={};h1={Empty:"Не заполнено"};var m1={};m1={Empty:"Prázdne"};var v1={};v1={Empty:"Prazen"};var g1={};g1={Empty:"Prazno"};var b1={};b1={Empty:"Tomt"};var y1={};y1={Empty:"Boş"};var $1={};$1={Empty:"Пусто"};var x1={};x1={Empty:"空"};var D1={};D1={Empty:"空白"};var w1={};w1={"ar-AE":z0,"bg-BG":H0,"cs-CZ":Z0,"da-DK":U0,"de-DE":W0,"el-GR":G0,"en-US":q0,"es-ES":Y0,"et-EE":J0,"fi-FI":Q0,"fr-FR":X0,"he-IL":e1,"hr-HR":t1,"hu-HU":r1,"it-IT":n1,"ja-JP":a1,"ko-KR":o1,"lt-LT":i1,"lv-LV":l1,"nb-NO":s1,"nl-NL":u1,"pl-PL":c1,"pt-BR":d1,"pt-PT":f1,"ro-RO":p1,"ru-RU":h1,"sk-SK":m1,"sl-SI":v1,"sr-SP":g1,"sv-SE":b1,"tr-TR":y1,"uk-UA":$1,"zh-CN":x1,"zh-TW":D1};function ag(e){return e&&e.__esModule?e.default:e}function og(e){const t=u.useRef();let{value:r,textValue:n,minValue:a,maxValue:o,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:p,onDecrementToMin:h,onIncrementToMax:m}=e;const v=et(ag(w1),"@react-aria/spinbutton"),$=()=>clearTimeout(t.current);u.useEffect(()=>()=>$(),[]);let B=x=>{if(!(x.ctrlKey||x.metaKey||x.shiftKey||x.altKey||l))switch(x.key){case"PageUp":if(d){x.preventDefault(),d==null||d();break}case"ArrowUp":case"Up":c&&(x.preventDefault(),c==null||c());break;case"PageDown":if(p){x.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(x.preventDefault(),f==null||f());break;case"Home":h&&(x.preventDefault(),h==null||h());break;case"End":m&&(x.preventDefault(),m==null||m());break}},w=u.useRef(!1),C=()=>{w.current=!0},E=()=>{w.current=!1},D=n===""?v.format("Empty"):(n||`${r}`).replace("-","−");u.useEffect(()=>{w.current&&(Jv("assertive"),fi(D,"assertive"))},[D]);const S=Be(x=>{$(),c==null||c(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||r===void 0||isNaN(r)||r<o)&&S(60)},x)}),A=Be(x=>{$(),f==null||f(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r>a)&&A(60)},x)});let b=x=>{x.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:P}=Hi();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":D,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:B,onFocus:C,onBlur:E},incrementButtonProps:{onPressStart:()=>{S(400),F(window,"contextmenu",b)},onPressEnd:()=>{$(),P()},onFocus:C,onBlur:E},decrementButtonProps:{onPressStart:()=>{A(400),F(window,"contextmenu",b)},onPressEnd:()=>{$(),P()},onFocus:C,onBlur:E}}}function ig(e,t,r){let n=u.useRef(""),{locale:a}=ke(),o=rg(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:c}=K0.get(t),d=e.isPlaceholder?"":e.text,f=u.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=lt({month:"long",timeZone:f.timeZone}),h=lt({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let y=p.format(t.dateValue);d=y!==d?`${d} – ${y}`:y}else e.type==="hour"&&!e.isPlaceholder&&(d=h.format(t.dateValue));let{spinButtonProps:m}=og({value:e.value,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),v=u.useMemo(()=>new zc(a,{maximumFractionDigits:0}),[a]),$=()=>{if(e.text===e.placeholder&&c.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let y=e.text.slice(0,-1),z=v.parse(y);y=z===0?"":y,y.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=y}else e.type==="dayPeriod"&&t.clearSegment(e.type)},B=y=>{if(y.key==="a"&&(vt()?y.metaKey:y.ctrlKey)&&y.preventDefault(),!(y.ctrlKey||y.metaKey||y.shiftKey||y.altKey))switch(y.key){case"Backspace":case"Delete":y.preventDefault(),y.stopPropagation(),$();break}},{startsWith:w}=Gv({sensitivity:"base"}),C=lt({hour:"numeric",hour12:!0}),E=u.useMemo(()=>{let y=new Date;return y.setHours(0),C.formatToParts(y).find(z=>z.type==="dayPeriod").value},[C]),D=u.useMemo(()=>{let y=new Date;return y.setHours(12),C.formatToParts(y).find(z=>z.type==="dayPeriod").value},[C]),S=lt({year:"numeric",era:"narrow",timeZone:"UTC"}),A=u.useMemo(()=>{if(e.type!=="era")return[];let y=pe(new ge(1,1,1),t.calendar),z=t.calendar.getEras().map(k=>{let V=y.set({year:1,month:1,day:1,era:k}).toDate("UTC"),W=S.formatToParts(V).find(U=>U.type==="era").value;return{era:k,formatted:W}}),H=lg(z.map(k=>k.formatted));if(H)for(let k of z)k.formatted=k.formatted.slice(H);return z},[S,t.calendar,e.type]),b=y=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+y;switch(e.type){case"dayPeriod":if(w(E,y))t.setSegment("dayPeriod",0);else if(w(D,y))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let H=A.find(k=>w(k.formatted,y));H&&(t.setSegment("era",H.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let H=v.parse(z),k=H,V=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(k=v.parse(y));break;case"h12":V=!1,H>12&&(k=v.parse(y));break}e.value>=12&&H>1&&(H+=12)}else H>e.maxValue&&(k=v.parse(y));if(isNaN(H))return;let K=k!==0||V;K&&t.setSegment(e.type,k),+(H+"0")>e.maxValue||z.length>=String(e.maxValue).length?(n.current="",K&&c.focusNext()):n.current=z;break}}},F=()=>{n.current="",la(r.current,{containingElement:Fa(r.current)}),window.getSelection().collapse(r.current)},P=u.useRef("");mr(r,"beforeinput",y=>{switch(y.preventDefault(),y.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&$();break;case"insertCompositionText":P.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:y.data!=null&&b(y.data);break}}),mr(r,"input",y=>{let{inputType:z,data:H}=y;switch(z){case"insertCompositionText":r.current.textContent=P.current,(w(E,H)||w(D,H))&&b(H);break}}),ie(()=>{let y=r.current;return()=>{document.activeElement===y&&(c.focusPrevious()||c.focusNext())}},[r,c]);let x=gn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},M=u.useMemo(()=>t.segments.find(y=>y.isEditable),[t.segments]);e!==M&&!t.isInvalid&&(s=void 0);let R=Te(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,j=e.type==="literal"?"":o.of(e.type),O=bn({"aria-label":`${j}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:J(m,O,{id:R,...x,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(u.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:B,onFocus:F,style:{caretColor:"transparent"},onPointerDown(y){y.stopPropagation()},onMouseDown(y){y.stopPropagation()}})}}function lg(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function sg(e){return e&&e.__esModule?e.default:e}function ug(e,t,r){var n,a;let o=et(sg(En),"@react-aria/datepicker"),{isInvalid:i,validationErrors:l,validationDetails:s}=t.displayValidation,{labelProps:c,fieldProps:d,descriptionProps:f,errorMessageProps:p}=wn({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||l}),h=d["aria-labelledby"]||d.id,{locale:m}=ke(),v=t.formatValue(m,{month:"long"}),$=v?o.format("selectedRangeDescription",{startDate:v.start,endDate:v.end}):"",B=yn($),w={"aria-label":o.format("startDate"),"aria-labelledby":h},C={"aria-label":o.format("endDate"),"aria-labelledby":h},E=Te(),D=Te(),S=ml(t,r),A=[B["aria-describedby"],d["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=u.useMemo(()=>Ia(r,{accept:T=>T.id!==E}),[r,E]),F={[_0]:b,[Yr]:"presentation","aria-describedby":A,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},P=re(e),{focusWithinProps:x}=kt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),M=u.useRef(Et),R=u.useRef(Et);return{groupProps:J(P,S,d,B,x,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":A,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...c,onClick:()=>{b.focusFirst()}},buttonProps:{...B,id:E,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${E} ${h}`,"aria-describedby":A,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:D,"aria-labelledby":`${E} ${h}`},startFieldProps:{...w,...F,value:(n=t.value)===null||n===void 0?void 0:n.start,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[wr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){M.current=T,t.updateValidation(un(T,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...F,value:(a=t.value)===null||a===void 0?void 0:a.end,onChange:T=>t.setDateTime("end",T),name:e.endName,[wr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){R.current=T,t.updateValidation(un(M.current,T))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:f,errorMessageProps:p,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:l,validationDetails:s}}function cg(e,t){let{role:r="dialog"}=e,n=Dr();n=e["aria-label"]?void 0:n;let a=u.useRef(!1);return u.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Zt(t.current);let o=setTimeout(()=>{document.activeElement===t.current&&(a.current=!0,t.current&&(t.current.blur(),Zt(t.current)),a.current=!1)},500);return()=>{clearTimeout(o)}}},[t]),wf(),{dialogProps:{...re(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:o=>{a.current&&o.stopPropagation()}},titleProps:{id:n}}}const E1=new WeakMap;function dg(e,t,r){let{keyboardDelegate:n,isDisabled:a,isRequired:o,name:i,validationBehavior:l="aria"}=e,s=La({usage:"search",sensitivity:"base"}),c=u.useMemo(()=>n||new hl(t.collection,t.disabledKeys,null,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:d,menuProps:f}=Y3({isDisabled:a,type:"listbox"},t,r),p=b=>{switch(b.key){case"ArrowLeft":{b.preventDefault();let F=t.selectedKey!=null?c.getKeyAbove(t.selectedKey):c.getFirstKey();F&&t.setSelectedKey(F);break}case"ArrowRight":{b.preventDefault();let F=t.selectedKey!=null?c.getKeyBelow(t.selectedKey):c.getFirstKey();F&&t.setSelectedKey(F);break}}},{typeSelectProps:h}=Ef({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(b){t.setSelectedKey(b)}}),{isInvalid:m,validationErrors:v,validationDetails:$}=t.displayValidation,{labelProps:B,fieldProps:w,descriptionProps:C,errorMessageProps:E}=wn({...e,labelElementType:"span",isInvalid:m,errorMessage:e.errorMessage||v});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture;let D=re(e,{labelable:!0}),S=J(h,d,w),A=Te();return E1.set(t,{isDisabled:a,isRequired:o,name:i,validationBehavior:l}),{labelProps:{...B,onClick:()=>{e.isDisabled||(r.current.focus(),nc("keyboard"))}},triggerProps:J(D,{...S,isDisabled:a,onKeyDown:Kt(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[A,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(b){t.isFocused||(e.onFocus&&e.onFocus(b),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(b){t.isOpen||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:A},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:b=>{b.currentTarget.contains(b.relatedTarget)||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[w["aria-labelledby"],S["aria-label"]&&!w["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:C,errorMessageProps:E,isInvalid:m,validationErrors:v,validationDetails:$}}function fg(e,t,r){let n=E1.get(t)||{},{autoComplete:a,name:o=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,c=um(),{visuallyHiddenProps:d}=yf();Ui(e.selectRef,t.selectedKey,t.setSelectedKey),fl({validationBehavior:l,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:i},selectProps:{tabIndex:-1,autoComplete:a,disabled:i,required:l==="native"&&s,name:o,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:p=>t.setSelectedKey(p.target.value)}}}function pg(e){let{state:t,triggerRef:r,label:n,name:a,isDisabled:o}=e,i=u.useRef(null),{containerProps:l,inputProps:s,selectProps:c}=fg({...e,selectRef:i},t,r);var d;return t.collection.size<=300?u.createElement("div",{...l,"data-testid":"hidden-select-container"},u.createElement("input",s),u.createElement("label",null,n,u.createElement("select",{...c,ref:i},u.createElement("option",null),[...t.collection.getKeys()].map(f=>{let p=t.collection.getItem(f);if(p.type==="item")return u.createElement("option",{key:p.key,value:p.key},p.textValue)})))):a?u.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:a,disabled:o,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function hg(e){let t=re(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function mg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var gi={exports:{}},Fo={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),s=require("react"),vn=require("react-dom");function bm(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const ym=bm(s),$m=s.createContext(null);s.createContext(null);s.createContext(null);s.createContext(null);s.createContext(null);const Ba=s.createContext({}),ie=typeof document<"u"?s.useLayoutEffect:()=>{};function Be(e){const t=s.useRef(null);return ie(()=>{t.current=e},[e]),s.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function xm(e){let[t,r]=s.useState(e),n=s.useRef(null),a=Be(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?a():r(i.value)});ie(()=>{n.current&&a()});let o=Be(i=>{n.current=i(t),a()});return[t,o]}const oa={prefix:String(Math.round(Math.random()*1e10)),current:0},zs=s.createContext(oa),Dm=s.createContext(!1);let wm=!!(typeof window<"u"&&window.document&&window.document.createElement),po=new WeakMap;function Em(e=!1){let t=s.useContext(zs),r=s.useRef(null);if(r.current===null&&!e){var n,a;let o=(a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(n=a.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let i=po.get(o);i==null?po.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==i.state&&(t.current=i.id,po.delete(o))}r.current=++t.current}return r.current}function Cm(e){let t=s.useContext(zs);t===oa&&!wm&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=Em(!!e),n=t===oa&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function Sm(e){let t=s.useId(),[r]=s.useState(yt()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${oa.prefix}`;return e||`${n}-${t}`}const Pm=typeof s.useId=="function"?Sm:Cm;function km(){return!1}function Bm(){return!0}function Rm(e){return()=>{}}function yt(){return typeof s.useSyncExternalStore=="function"?s.useSyncExternalStore(Rm,km,Bm):s.useContext(Dm)}let Tm=!!(typeof window<"u"&&window.document&&window.document.createElement),ia=new Map;function Te(e){let[t,r]=s.useState(e),n=s.useRef(null),a=Pm(t),o=s.useCallback(i=>{n.current=i},[]);return Tm&&ia.set(a,o),ie(()=>{let i=a;return()=>{ia.delete(i)}},[a]),s.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),a}function Am(e,t){if(e===t)return e;let r=ia.get(e);if(r)return r(t),t;let n=ia.get(t);return n?(n(e),e):t}function Dr(e=[]){let t=Te(),[r,n]=xm(t),a=s.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ie(a,[t,a,...e]),r}function zt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const le=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Je=e=>e&&"window"in e&&e.window===e?e:le(e).defaultView||window;function Hs(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Hs(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ki(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Hs(e))&&(n&&(n+=" "),n+=t);return n}function Y(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let a in n){let o=t[a],i=n[a];typeof o=="function"&&typeof i=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=zt(o,i):(a==="className"||a==="UNSAFE_className")&&typeof o=="string"&&typeof i=="string"?t[a]=Ki(o,i):a==="id"&&o&&i?t.id=Am(o,i):t[a]=i!==void 0?i:o}}return t}function Ra(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const Fm=new Set(["id"]),Mm=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Im=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Om=/^(data-.*)$/;function re(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(Fm.has(i)||r&&Mm.has(i)||n&&Im.has(i)||a!=null&&a.has(i)||Om.test(i))&&(o[i]=e[i]);return o}function lt(e){if(Vm())e.focus({preventScroll:!0});else{let t=Lm(e);e.focus(),jm(t)}}let An=null;function Vm(){if(An==null){An=!1;try{document.createElement("div").focus({get preventScroll(){return An=!0,!0}})}catch{}}return An}function Lm(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function jm(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Ta(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function _i(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vt(){return _i(/^Mac/i)}function Nm(){return _i(/^iPhone/i)}function Zs(){return _i(/^iPad/i)||vt()&&navigator.maxTouchPoints>1}function gn(){return Nm()||Zs()}function Km(){return vt()||gn()}function zi(){return Ta(/AppleWebKit/i)&&!_m()}function _m(){return Ta(/Chrome/i)}function Us(){return Ta(/Android/i)}function zm(){return Ta(/Firefox/i)}const Ws=s.createContext({isNative:!0,open:Zm,useHref:e=>e});function Hm(e){let{children:t,navigate:r,useHref:n}=e,a=s.useMemo(()=>({isNative:!1,open:(o,i,l,u)=>{qs(o,c=>{Gs(c,i)?r(l,u):Pt(c,i)})},useHref:n||(o=>o)}),[r,n]);return s.createElement(Ws.Provider,{value:a},t)}function Aa(){return s.useContext(Ws)}function Gs(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Pt(e,t,r=!0){var n,a;let{metaKey:o,ctrlKey:i,altKey:l,shiftKey:u}=t;zm()&&(!((a=window.event)===null||a===void 0||(n=a.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(vt()?o=!0:i=!0);let c=zi()&&vt()&&!Zs()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:l,shiftKey:u}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:l,shiftKey:u,bubbles:!0,cancelable:!0});Pt.isOpening=r,lt(e),e.dispatchEvent(c),Pt.isOpening=!1}Pt.isOpening=!1;function qs(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Zm(e,t){qs(e,r=>Pt(r,t))}function Ys(e){let t=Aa();return{href:e!=null&&e.href?t.useHref(e==null?void 0:e.href):void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let ur=new Map,Yo=new Set;function Ul(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let a=ur.get(n.target);a||(a=new Set,ur.set(n.target,a),n.target.addEventListener("transitioncancel",r,{once:!0})),a.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let a=ur.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",r),ur.delete(n.target)),ur.size===0)){for(let o of Yo)o();Yo.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Ul():document.addEventListener("DOMContentLoaded",Ul));function Js(e){requestAnimationFrame(()=>{ur.size===0?e():Yo.add(e)})}function Hi(){let e=s.useRef(new Map),t=s.useCallback((a,o,i,l)=>{let u=l!=null&&l.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:o,eventTarget:a,fn:u,options:l}),a.addEventListener(o,i,l)},[]),r=s.useCallback((a,o,i,l)=>{var u;let c=((u=e.current.get(i))===null||u===void 0?void 0:u.fn)||i;a.removeEventListener(o,c,l),e.current.delete(i)},[]),n=s.useCallback(()=>{e.current.forEach((a,o)=>{r(a.eventTarget,a.type,o,a.options)})},[r]);return s.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function bn(e,t){let{id:r,"aria-label":n,"aria-labelledby":a}=e;return r=Te(r),a&&n?a=[...new Set([r,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!n&&!a&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":a}}function Rt(e){const t=s.useRef(null);return s.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function Wl(e,t){const r=s.useRef(!0),n=s.useRef(null);s.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),s.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,o)=>!Object.is(a,n[o])))&&e(),n.current=t},t)}function Um(){return typeof window.ResizeObserver<"u"}function Fa(e){const{ref:t,onResize:r}=e;s.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(Um()){const a=new window.ResizeObserver(o=>{o.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Zi(e,t){ie(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function en(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ma(e,t){let r=e;for(en(r,t)&&(r=r.parentElement);r&&!en(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Wm(e,t){const r=[];for(;e&&e!==document.documentElement;)en(e,t)&&r.push(e),e=e.parentElement;return r}let Ke=typeof document<"u"&&window.visualViewport;function Gm(){let e=yt(),[t,r]=s.useState(()=>e?{width:0,height:0}:Gl());return s.useEffect(()=>{let n=()=>{r(a=>{let o=Gl();return o.width===a.width&&o.height===a.height?a:o})};return Ke?Ke.addEventListener("resize",n):window.addEventListener("resize",n),()=>{Ke?Ke.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function Gl(){return{width:Ke&&(Ke==null?void 0:Ke.width)||window.innerWidth,height:Ke&&(Ke==null?void 0:Ke.height)||window.innerHeight}}let qm=0;const mo=new Map;function yn(e){let[t,r]=s.useState();return ie(()=>{if(!e)return;let n=mo.get(e);if(n)r(n.element.id);else{let a=`react-aria-description-${qm++}`;r(a);let o=document.createElement("div");o.id=a,o.style.display="none",o.textContent=e,document.body.appendChild(o),n={refCount:0,element:o},mo.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),mo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function hr(e,t,r,n){let a=Be(r),o=r==null;s.useEffect(()=>{if(o||!e.current)return;let i=e.current;return i.addEventListener(t,a,n),()=>{i.removeEventListener(t,a,n)}},[e,t,n,o,a])}function Qs(e,t){let r=ql(e,t,"left"),n=ql(e,t,"top"),a=t.offsetWidth,o=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c}=getComputedStyle(e),d=e.scrollLeft+parseInt(c,10),f=e.scrollTop+parseInt(u,10),p=d+e.clientWidth,m=f+e.clientHeight;r<=i?i=r-parseInt(c,10):r+a>p&&(i+=r+a-p),n<=f?l=n-parseInt(u,10):n+o>m&&(l+=n+o-m),e.scrollLeft=i,e.scrollTop=l}function ql(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let a=0;for(;t.offsetParent&&(a+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[n];break}t=t.offsetParent}return a}function la(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let u=Wm(e);for(let c of u)Qs(c,e)}else{var r;let{left:u,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(u-d)>1||Math.abs(c-f)>1){var n,a,o;t==null||(a=t.containingElement)===null||a===void 0||(n=a.scrollIntoView)===null||n===void 0||n.call(a,{block:"center",inline:"center"}),(o=e.scrollIntoView)===null||o===void 0||o.call(e,{block:"nearest"})}}}}function Jo(e){return e.mozInputSource===0&&e.isTrusted?!0:Us()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ym(e){return!Us()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Xs(e,t){let r=s.useRef(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}function Ui(e,t,r){let n=s.useRef(t),a=Be(()=>{r&&r(n.current)});s.useEffect(()=>{var o;let i=e==null||(o=e.current)===null||o===void 0?void 0:o.form;return i==null||i.addEventListener("reset",a),()=>{i==null||i.removeEventListener("reset",a)}},[e,a])}function Xe(e,t,r){let[n,a]=s.useState(e||t),o=s.useRef(e!==void 0),i=e!==void 0;s.useEffect(()=>{let c=o.current;c!==i&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),o.current=i},[i]);let l=i?e:n,u=s.useCallback((c,...d)=>{let f=(p,...m)=>{r&&(Object.is(l,p)||r(p,...m)),i||(l=p)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),a((m,...h)=>{let v=c(i?l:m,...h);return f(v,...d),i?m:v})):(i||a(c),f(c,...d))},[i,l,r]);return[l,u]}function Qo(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let dr="default",Xo="",Gn=new WeakMap;function Yl(e){if(gn()){if(dr==="default"){const t=le(e);Xo=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}dr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Gn.set(e,e.style.userSelect),e.style.userSelect="none")}function Fn(e){if(gn()){if(dr!=="disabled")return;dr="restoring",setTimeout(()=>{Js(()=>{if(dr==="restoring"){const t=le(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Xo||""),Xo="",dr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Gn.has(e)){let t=Gn.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Gn.delete(e)}}const tn=s.createContext({register:()=>{}});tn.displayName="PressResponderContext";function Jm(e,t){return t.get?t.get.call(e):t.value}function ec(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function Qm(e,t){var r=ec(e,t,"get");return Jm(e,r)}function Xm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $n(e,t,r){Xm(e,t),t.set(e,r)}function eh(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Jl(e,t,r){var n=ec(e,t,"set");return eh(e,n,r),r}function th(e){let t=s.useContext(tn);if(t){let{register:r,...n}=t;e=Y(n,e),r()}return Zi(t,e.ref),e}var Mn=new WeakMap;class In{continuePropagation(){Jl(this,Mn,!1)}get shouldStopPropagation(){return Qm(this,Mn)}constructor(t,r,n){$n(this,Mn,{writable:!0,value:void 0}),Jl(this,Mn,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const Ql=Symbol("linkClicked");function kt(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:a,onPressUp:o,isDisabled:i,isPressed:l,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...p}=th(e),[m,h]=s.useState(!1),v=s.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:k}=Hi(),D=Be((b,A)=>{let P=v.current;if(i||P.didFirePressStart)return!1;let x=!0;if(P.isTriggeringEvent=!0,n){let M=new In("pressstart",A,b);n(M),x=M.shouldStopPropagation}return r&&r(!0),P.isTriggeringEvent=!1,P.didFirePressStart=!0,h(!0),x}),C=Be((b,A,P=!0)=>{let x=v.current;if(!x.didFirePressStart)return!1;x.ignoreClickAfterPress=!0,x.didFirePressStart=!1,x.isTriggeringEvent=!0;let M=!0;if(a){let R=new In("pressend",A,b);a(R),M=R.shouldStopPropagation}if(r&&r(!1),h(!1),t&&P&&!i){let R=new In("press",A,b);t(R),M&&(M=R.shouldStopPropagation)}return x.isTriggeringEvent=!1,M}),E=Be((b,A)=>{let P=v.current;if(i)return!1;if(o){P.isTriggeringEvent=!0;let x=new In("pressup",A,b);return o(x),P.isTriggeringEvent=!1,x.shouldStopPropagation}return!0}),w=Be(b=>{let A=v.current;A.isPressed&&A.target&&(A.isOverTarget&&A.pointerType!=null&&C(dt(A.target,b),A.pointerType,!1),A.isPressed=!1,A.isOverTarget=!1,A.activePointerId=null,A.pointerType=null,k(),d||Fn(A.target))}),S=Be(b=>{c&&w(b)}),F=s.useMemo(()=>{let b=v.current,A={onKeyDown(x){if(ho(x.nativeEvent,x.currentTarget)&&x.currentTarget.contains(x.target)){var M;eu(x.target,x.key)&&x.preventDefault();let R=!0;if(!b.isPressed&&!x.repeat){b.target=x.currentTarget,b.isPressed=!0,R=D(x,"keyboard");let T=x.currentTarget,N=O=>{ho(O,T)&&!O.repeat&&T.contains(O.target)&&b.target&&E(dt(b.target,O),"keyboard")};y(le(x.currentTarget),"keyup",zt(N,P),!0)}R&&x.stopPropagation(),x.metaKey&&vt()&&((M=b.metaKeyEvents)===null||M===void 0||M.set(x.key,x.nativeEvent))}else x.key==="Meta"&&(b.metaKeyEvents=new Map)},onClick(x){if(!(x&&!x.currentTarget.contains(x.target))&&x&&x.button===0&&!b.isTriggeringEvent&&!Pt.isOpening){let M=!0;if(i&&x.preventDefault(),!b.ignoreClickAfterPress&&!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||Jo(x.nativeEvent))){!i&&!u&<(x.currentTarget);let R=D(x,"virtual"),T=E(x,"virtual"),N=C(x,"virtual");M=R&&T&&N}b.ignoreEmulatedMouseEvents=!1,b.ignoreClickAfterPress=!1,M&&x.stopPropagation()}}},P=x=>{var M;if(b.isPressed&&b.target&&ho(x,b.target)){var R;eu(x.target,x.key)&&x.preventDefault();let N=x.target;C(dt(b.target,x),"keyboard",b.target.contains(N)),k(),x.key!=="Enter"&&Wi(b.target)&&b.target.contains(N)&&!x[Ql]&&(x[Ql]=!0,Pt(b.target,x,!1)),b.isPressed=!1,(R=b.metaKeyEvents)===null||R===void 0||R.delete(x.key)}else if(x.key==="Meta"&&(!((M=b.metaKeyEvents)===null||M===void 0)&&M.size)){var T;let N=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let O of N.values())(T=b.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){A.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(Ym(T.nativeEvent)){b.pointerType="virtual";return}vo(T.currentTarget)&&T.preventDefault(),b.pointerType=T.pointerType;let N=!0;b.isPressed||(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=T.pointerId,b.target=T.currentTarget,!i&&!u&<(T.currentTarget),d||Yl(b.target),N=D(T,b.pointerType),y(le(T.currentTarget),"pointermove",x,!1),y(le(T.currentTarget),"pointerup",M,!1),y(le(T.currentTarget),"pointercancel",R,!1)),N&&T.stopPropagation()},A.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(vo(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},A.onPointerUp=T=>{!T.currentTarget.contains(T.target)||b.pointerType==="virtual"||T.button===0&&Xt(T,T.currentTarget)&&E(T,b.pointerType||T.pointerType)};let x=T=>{T.pointerId===b.activePointerId&&(b.target&&Xt(T,b.target)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,D(dt(b.target,T),b.pointerType)):b.target&&b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,C(dt(b.target,T),b.pointerType,!1),S(T)))},M=T=>{T.pointerId===b.activePointerId&&b.isPressed&&T.button===0&&b.target&&(Xt(T,b.target)&&b.pointerType!=null?C(dt(b.target,T),b.pointerType):b.isOverTarget&&b.pointerType!=null&&C(dt(b.target,T),b.pointerType,!1),b.isPressed=!1,b.isOverTarget=!1,b.activePointerId=null,b.pointerType=null,k(),d||Fn(b.target))},R=T=>{w(T)};A.onDragStart=T=>{T.currentTarget.contains(T.target)&&w(T)}}else{A.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(vo(R.currentTarget)&&R.preventDefault(),b.ignoreEmulatedMouseEvents){R.stopPropagation();return}b.isPressed=!0,b.isOverTarget=!0,b.target=R.currentTarget,b.pointerType=Jo(R.nativeEvent)?"virtual":"mouse",!i&&!u&<(R.currentTarget),D(R,b.pointerType)&&R.stopPropagation(),y(le(R.currentTarget),"mouseup",x,!1)},A.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!0,T=D(R,b.pointerType)),T&&R.stopPropagation()},A.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!1,T=C(R,b.pointerType,!1),S(R)),T&&R.stopPropagation()},A.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!b.ignoreEmulatedMouseEvents&&R.button===0&&E(R,b.pointerType||"mouse")};let x=R=>{if(R.button===0){if(b.isPressed=!1,k(),b.ignoreEmulatedMouseEvents){b.ignoreEmulatedMouseEvents=!1;return}b.target&&Xt(R,b.target)&&b.pointerType!=null?C(dt(b.target,R),b.pointerType):b.target&&b.isOverTarget&&b.pointerType!=null&&C(dt(b.target,R),b.pointerType,!1),b.isOverTarget=!1}};A.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let T=rh(R.nativeEvent);if(!T)return;b.activePointerId=T.identifier,b.ignoreEmulatedMouseEvents=!0,b.isOverTarget=!0,b.isPressed=!0,b.target=R.currentTarget,b.pointerType="touch",!i&&!u&<(R.currentTarget),d||Yl(b.target),D(R,b.pointerType)&&R.stopPropagation(),y(Je(R.currentTarget),"scroll",M,!0)},A.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=Xl(R.nativeEvent,b.activePointerId),N=!0;T&&Xt(T,R.currentTarget)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,N=D(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,N=C(R,b.pointerType,!1),S(R)),N&&R.stopPropagation()},A.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=Xl(R.nativeEvent,b.activePointerId),N=!0;T&&Xt(T,R.currentTarget)&&b.pointerType!=null?(E(R,b.pointerType),N=C(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(N=C(R,b.pointerType,!1)),N&&R.stopPropagation(),b.isPressed=!1,b.activePointerId=null,b.isOverTarget=!1,b.ignoreEmulatedMouseEvents=!0,b.target&&!d&&Fn(b.target),k()},A.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),b.isPressed&&w(R))};let M=R=>{b.isPressed&&R.target.contains(b.target)&&w({currentTarget:b.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};A.onDragStart=R=>{R.currentTarget.contains(R.target)&&w(R)}}return A},[y,i,u,k,d,w,S,C,D,E]);return s.useEffect(()=>()=>{var b;d||Fn((b=v.current.target)!==null&&b!==void 0?b:void 0)},[d]),{isPressed:l||m,pressProps:Y(p,F)}}function Wi(e){return e.tagName==="A"&&e.hasAttribute("href")}function ho(e,t){const{key:r,code:n}=e,a=t,o=a.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(a instanceof Je(a).HTMLInputElement&&!tc(a,r)||a instanceof Je(a).HTMLTextAreaElement||a.isContentEditable)&&!((o==="link"||!o&&Wi(a))&&r!=="Enter")}function rh(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Xl(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const a=r[n];if(a.identifier===t)return a}return null}function dt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function nh(e){let t=0,r=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?r=e.height/2:e.radiusY!==void 0&&(r=e.radiusY),{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function ah(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Xt(e,t){let r=t.getBoundingClientRect(),n=nh(e);return ah(r,n)}function vo(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eu(e,t){return e instanceof HTMLInputElement?!tc(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Wi(e)}const oh=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tc(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":oh.has(e.type)}const ih=s.forwardRef(({children:e,...t},r)=>{let n=s.useRef(!1),a=s.useContext(tn);r=Rt(r||(a==null?void 0:a.ref));let o=Y(a||{},{...t,ref:r,register(){n.current=!0,a&&a.register()}});return Zi(a,r),s.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),n.current=!0)},[]),s.createElement(tn.Provider,{value:o},e)});function lh({children:e}){let t=s.useMemo(()=>({register:()=>{}}),[]);return s.createElement(tn.Provider,{value:t},e)}class uh{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function rc(e){let t=s.useRef({isFocused:!1,observer:null});ie(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return s.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=n.target,o=i=>{t.current.isFocused=!1,a.disabled&&r(new uh("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function nc(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:a}=e;const o=s.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),a&&a(!1),!0},[n,a]),i=rc(o),l=s.useCallback(u=>{const c=le(u.target);u.target===u.currentTarget&&c.activeElement===u.target&&(r&&r(u),a&&a(!0),i(u))},[a,r,i]);return{focusProps:{onFocus:!t&&(r||a||n)?l:void 0,onBlur:!t&&(n||a)?o:void 0}}}let gt=null,rn=new Set,Wr=new Map,Ht=!1,ei=!1;const sh={Tab:!0,Escape:!0};function Ia(e,t){for(let r of rn)r(e,t)}function ch(e){return!(e.metaKey||!vt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ua(e){Ht=!0,ch(e)&&(gt="keyboard",Ia("keyboard",e))}function ze(e){gt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ht=!0,Ia("pointer",e))}function ac(e){Jo(e)&&(Ht=!0,gt="virtual")}function oc(e){e.target===window||e.target===document||(!Ht&&!ei&&(gt="virtual",Ia("virtual",e)),Ht=!1,ei=!1)}function ic(){Ht=!1,ei=!0}function sa(e){if(typeof window>"u"||Wr.get(Je(e)))return;const t=Je(e),r=le(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ht=!0,n.apply(this,arguments)},r.addEventListener("keydown",ua,!0),r.addEventListener("keyup",ua,!0),r.addEventListener("click",ac,!0),t.addEventListener("focus",oc,!0),t.addEventListener("blur",ic,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",ze,!0),r.addEventListener("pointermove",ze,!0),r.addEventListener("pointerup",ze,!0)):(r.addEventListener("mousedown",ze,!0),r.addEventListener("mousemove",ze,!0),r.addEventListener("mouseup",ze,!0)),t.addEventListener("beforeunload",()=>{lc(e)},{once:!0}),Wr.set(t,{focus:n})}const lc=(e,t)=>{const r=Je(e),n=le(e);t&&n.removeEventListener("DOMContentLoaded",t),Wr.has(r)&&(r.HTMLElement.prototype.focus=Wr.get(r).focus,n.removeEventListener("keydown",ua,!0),n.removeEventListener("keyup",ua,!0),n.removeEventListener("click",ac,!0),r.removeEventListener("focus",oc,!0),r.removeEventListener("blur",ic,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",ze,!0),n.removeEventListener("pointermove",ze,!0),n.removeEventListener("pointerup",ze,!0)):(n.removeEventListener("mousedown",ze,!0),n.removeEventListener("mousemove",ze,!0),n.removeEventListener("mouseup",ze,!0)),Wr.delete(r))};function dh(e){const t=le(e);let r;return t.readyState!=="loading"?sa(e):(r=()=>{sa(e)},t.addEventListener("DOMContentLoaded",r)),()=>lc(e,r)}typeof document<"u"&&dh();function ca(){return gt!=="pointer"}function da(){return gt}function uc(e){gt=e,Ia(e,null)}function fh(){sa();let[e,t]=s.useState(gt);return s.useEffect(()=>{let r=()=>{t(gt)};return rn.add(r),()=>{rn.delete(r)}},[]),yt()?null:e}const ph=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mh(e,t,r){var n;const a=typeof window<"u"?Je(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Je(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Je(r==null?void 0:r.target).HTMLElement:HTMLElement,l=typeof window<"u"?Je(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof a&&!ph.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof i&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof l&&!sh[r.key])}function hh(e,t,r){sa(),s.useEffect(()=>{let n=(a,o)=>{mh(!!(r!=null&&r.isTextInput),a,o)&&e(ca())};return rn.add(n),()=>{rn.delete(n)}},t)}function Tt(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:a}=e,o=s.useRef({isFocusWithin:!1}),i=s.useCallback(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),a&&a(!1))},[r,a,o]),l=rc(i),u=s.useCallback(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),a&&a(!0),o.current.isFocusWithin=!0,l(c))},[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:i}}}let fa=!1,go=0;function ti(){fa=!0,setTimeout(()=>{fa=!1},50)}function tu(e){e.pointerType==="touch"&&ti()}function vh(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",tu):document.addEventListener("touchend",ti),go++,()=>{go--,!(go>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",tu):document.removeEventListener("touchend",ti))}}function $t(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:a}=e,[o,i]=s.useState(!1),l=s.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;s.useEffect(vh,[]);let{hoverProps:u,triggerHoverEnd:c}=s.useMemo(()=>{let d=(m,h)=>{if(l.pointerType=h,a||h==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let v=m.currentTarget;l.target=v,t&&t({type:"hoverstart",target:v,pointerType:h}),r&&r(!0),i(!0)},f=(m,h)=>{if(l.pointerType="",l.target=null,h==="touch"||!l.isHovered)return;l.isHovered=!1;let v=m.currentTarget;n&&n({type:"hoverend",target:v,pointerType:h}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{fa&&m.pointerType==="mouse"||d(m,m.pointerType)},p.onPointerLeave=m=>{!a&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!fa&&d(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!a&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,a,l]);return s.useEffect(()=>{a&&c({currentTarget:l.target},l.pointerType)},[a]),{hoverProps:u,isHovered:o}}function gh(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:a}=e,o=s.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Be(u=>{r&&On(u,t)&&(a&&a(u),o.current.isPointerDown=!0)}),l=Be(u=>{r&&r(u)});s.useEffect(()=>{let u=o.current;if(n)return;const c=t.current,d=le(c);if(typeof PointerEvent<"u"){let f=p=>{u.isPointerDown&&On(p,t)&&l(p),u.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=m=>{u.ignoreEmulatedMouseEvents?u.ignoreEmulatedMouseEvents=!1:u.isPointerDown&&On(m,t)&&l(m),u.isPointerDown=!1},p=m=>{u.ignoreEmulatedMouseEvents=!0,u.isPointerDown&&On(m,t)&&l(m),u.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",p,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function On(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function ru(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function bh(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ru(e.onKeyDown),onKeyUp:ru(e.onKeyUp)}}}const yh=500;function sc(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:a,threshold:o=yh,accessibilityDescription:i}=e;const l=s.useRef();let{addGlobalListener:u,removeGlobalListener:c}=Hi(),{pressProps:d}=kt({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...p,type:"longpress"}),l.current=void 0},o),p.pointerType==="touch")){let m=h=>{h.preventDefault()};u(p.target,"contextmenu",m,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=yn(a&&!t?i:void 0);return{longPressProps:Y(d,f)}}function Zt(e){const t=le(e);if(da()==="virtual"){let r=t.activeElement;Js(()=>{t.activeElement===r&&e.isConnected&<(e)})}else lt(e)}function $h(e){const t=Je(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,a=r!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:i,visibility:l}=o(e);a=i!=="none"&&l!=="hidden"&&l!=="collapse"}return a}function xh(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function cc(e,t){return e.nodeName!=="#comment"&&$h(e)&&xh(e,t)&&(!e.parentElement||cc(e.parentElement,e))}const nu=s.createContext(null);let se=null;function dc(e){let{children:t,contain:r,restoreFocus:n,autoFocus:a}=e,o=s.useRef(null),i=s.useRef(null),l=s.useRef([]),{parentNode:u}=s.useContext(nu)||{},c=s.useMemo(()=>new ri({scopeRef:l}),[l]);ie(()=>{let p=u||$e.root;if($e.getTreeNode(p.scopeRef)&&se&&!ma(se,p.scopeRef)){let m=$e.getTreeNode(se);m&&(p=m)}p.addChild(c),$e.addNode(c)},[c,u]),ie(()=>{let p=$e.getTreeNode(l);p&&(p.contain=!!r)},[r]),ie(()=>{var p;let m=(p=o.current)===null||p===void 0?void 0:p.nextSibling,h=[];for(;m&&m!==i.current;)h.push(m),m=m.nextSibling;l.current=h},[t]),kh(l,n,r),Ch(l,r),Rh(l,n,r),Ph(l,a),s.useEffect(()=>{const p=le(l.current?l.current[0]:void 0).activeElement;let m=null;if(Re(p,l.current)){for(let h of $e.traverse())h.scopeRef&&Re(p,h.scopeRef.current)&&(m=h);m===$e.getTreeNode(l)&&(se=m.scopeRef)}},[l]),ie(()=>()=>{var p,m,h;let v=(h=(m=$e.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&h!==void 0?h:null;(l===se||ma(l,se))&&(!v||$e.getTreeNode(v))&&(se=v),$e.removeTreeNode(l)},[l]);let d=s.useMemo(()=>Dh(l),[]),f=s.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return s.createElement(nu.Provider,{value:f},s.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),t,s.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Dh(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||le(r[0]).activeElement,u=r[0].previousElementSibling,c=Vt(r),d=Ie(c,{tabbable:a,accept:i},r);d.currentNode=Re(l,r)?l:u;let f=d.nextNode();return!f&&o&&(d.currentNode=u,f=d.nextNode()),f&&Me(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||le(r[0]).activeElement,u=r[r.length-1].nextElementSibling,c=Vt(r),d=Ie(c,{tabbable:a,accept:i},r);d.currentNode=Re(l,r)?l:u;let f=d.previousNode();return!f&&o&&(d.currentNode=u,f=d.previousNode()),f&&Me(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=Vt(r),i=Ie(o,{tabbable:n,accept:a},r);i.currentNode=r[0].previousElementSibling;let l=i.nextNode();return l&&Me(l,!0),l},focusLast(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=Vt(r),i=Ie(o,{tabbable:n,accept:a},r);i.currentNode=r[r.length-1].nextElementSibling;let l=i.previousNode();return l&&Me(l,!0),l}}}const Gi=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],wh=Gi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Eh=Gi.join(':not([hidden]):not([tabindex="-1"]),');function Vt(e){return e[0].parentElement}function zr(e){let t=$e.getTreeNode(se);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Ch(e,t){let r=s.useRef(),n=s.useRef();ie(()=>{let a=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const o=le(a?a[0]:void 0);let i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!zr(e)||c.isComposing)return;let d=o.activeElement,f=e.current;if(!f||!Re(d,f))return;let p=Vt(f),m=Ie(p,{tabbable:!0},f);if(!d)return;m.currentNode=d;let h=c.shiftKey?m.previousNode():m.nextNode();h||(m.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,h=c.shiftKey?m.previousNode():m.nextNode()),c.preventDefault(),h&&Me(h,!0)},l=c=>{(!se||ma(se,e))&&Re(c.target,e.current)?(se=e,r.current=c.target):zr(e)&&!pa(c.target,e)?r.current?r.current.focus():se&&se.current&&ha(se.current):zr(e)&&(r.current=c.target)},u=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(o.activeElement&&zr(e)&&!pa(o.activeElement,e))if(se=e,o.body.contains(c.target)){var d;r.current=c.target,(d=r.current)===null||d===void 0||d.focus()}else se.current&&ha(se.current)})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",l,!1),a==null||a.forEach(c=>c.addEventListener("focusin",l,!1)),a==null||a.forEach(c=>c.addEventListener("focusout",u,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",l,!1),a==null||a.forEach(c=>c.removeEventListener("focusin",l,!1)),a==null||a.forEach(c=>c.removeEventListener("focusout",u,!1))}},[e,t]),ie(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function fc(e){return pa(e)}function Re(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function pa(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of $e.traverse($e.getTreeNode(t)))if(r&&Re(e,r.current))return!0;return!1}function Sh(e){return pa(e,se)}function ma(e,t){var r;let n=(r=$e.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Me(e,t=!1){if(e!=null&&!t)try{Zt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function ha(e,t=!0){let r=e[0].previousElementSibling,n=Vt(e),a=Ie(n,{tabbable:t},e);a.currentNode=r;let o=a.nextNode();t&&!o&&(n=Vt(e),a=Ie(n,{tabbable:!1},e),a.currentNode=r,o=a.nextNode()),Me(o)}function Ph(e,t){const r=s.useRef(t);s.useEffect(()=>{if(r.current){se=e;const n=le(e.current?e.current[0]:void 0);!Re(n.activeElement,se.current)&&e.current&&ha(e.current)}r.current=!1},[e])}function kh(e,t,r){ie(()=>{if(t||r)return;let n=e.current;const a=le(n?n[0]:void 0);let o=i=>{let l=i.target;Re(l,e.current)?se=e:fc(l)||(se=null)};return a.addEventListener("focusin",o,!1),n==null||n.forEach(i=>i.addEventListener("focusin",o,!1)),()=>{a.removeEventListener("focusin",o,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",o,!1))}},[e,t,r])}function Bh(e){let t=$e.getTreeNode(se);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Rh(e,t,r){const n=s.useRef(typeof document<"u"?le(e.current?e.current[0]:void 0).activeElement:null);ie(()=>{let a=e.current;const o=le(a?a[0]:void 0);if(!t||r)return;let i=()=>{(!se||ma(se,e))&&Re(o.activeElement,e.current)&&(se=e)};return o.addEventListener("focusin",i,!1),a==null||a.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),a==null||a.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,r]),ie(()=>{const a=le(e.current?e.current[0]:void 0);if(!t)return;let o=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!zr(e)||i.isComposing)return;let l=a.activeElement;if(!Re(l,e.current))return;let u=$e.getTreeNode(e);if(!u)return;let c=u.nodeToRestore,d=Ie(a.body,{tabbable:!0});d.currentNode=l;let f=i.shiftKey?d.previousNode():d.nextNode();if((!c||!a.body.contains(c)||c===a.body)&&(c=void 0,u.nodeToRestore=void 0),(!f||!Re(f,e.current))&&c){d.currentNode=c;do f=i.shiftKey?d.previousNode():d.nextNode();while(Re(f,e.current));i.preventDefault(),i.stopPropagation(),f?Me(f,!0):fc(c)?Me(c,!0):l.blur()}};return r||a.addEventListener("keydown",o,!0),()=>{r||a.removeEventListener("keydown",o,!0)}},[e,t,r]),ie(()=>{const a=le(e.current?e.current[0]:void 0);if(!t)return;let o=$e.getTreeNode(e);if(o){var i;return o.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=$e.getTreeNode(e);if(!l)return;let u=l.nodeToRestore;if(t&&u&&(Re(a.activeElement,e.current)||a.activeElement===a.body&&Bh(e))){let c=$e.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Me(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&$e.getTreeNode(d.scopeRef)){ha(d.scopeRef.current,!0);return}d=d.parent}}})}}}},[e,t])}function Ie(e,t,r){let n=t!=null&&t.tabbable?Eh:wh,a=le(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(o){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(o)?NodeFilter.FILTER_REJECT:o.matches(n)&&cc(o)&&(!r||Re(o,r))&&(!(t!=null&&t.accept)||t.accept(o))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function Oa(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,u=a||le(n).activeElement,c=Ie(n,{tabbable:o,accept:l});n.contains(u)&&(c.currentNode=u);let d=c.nextNode();return!d&&i&&(c.currentNode=n,d=c.nextNode()),d&&Me(d,!0),d},focusPrevious(r=t){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,u=a||le(n).activeElement,c=Ie(n,{tabbable:o,accept:l});if(n.contains(u))c.currentNode=u;else{let f=bo(c);return f&&Me(f,!0),f??null}let d=c.previousNode();if(!d&&i){c.currentNode=n;let f=bo(c);if(!f)return null;d=f}return d&&Me(d,!0),d??null},focusFirst(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,l=Ie(n,{tabbable:a,accept:o}).nextNode();return l&&Me(l,!0),l},focusLast(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,i=Ie(n,{tabbable:a,accept:o}),l=bo(i);return l&&Me(l,!0),l??null}}}function bo(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class qi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let a=this.fastMap.get(r??null);if(!a)return;let o=new ri({scopeRef:t});a.addChild(o),o.parent=a,this.fastMap.set(t,o),n&&(o.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Re(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let a=r.children;n&&(n.removeChild(r),a.size>0&&a.forEach(o=>n&&n.addChild(o))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new qi;var n;for(let a of this.traverse())r.addTreeNode(a.scopeRef,(n=(t=a.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new ri({scopeRef:null}),this.fastMap.set(null,this.root)}}class ri{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let $e=new qi;function et(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,a=s.useRef({isFocused:!1,isFocusVisible:t||ca()}),[o,i]=s.useState(!1),[l,u]=s.useState(()=>a.current.isFocused&&a.current.isFocusVisible),c=s.useCallback(()=>u(a.current.isFocused&&a.current.isFocusVisible),[]),d=s.useCallback(m=>{a.current.isFocused=m,i(m),c()},[c]);hh(m=>{a.current.isFocusVisible=m,c()},[],{isTextInput:r});let{focusProps:f}=nc({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=Tt({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:n?p:f}}let Th=s.createContext(null);function Ah(e){let t=s.useContext(Th)||{};Zi(t,e);let{ref:r,...n}=t;return n}function Yi(e,t){let{focusProps:r}=nc(e),{keyboardProps:n}=bh(e),a=Y(r,n),o=Ah(t),i=e.isDisabled?{}:o,l=s.useRef(e.autoFocus);return s.useEffect(()=>{l.current&&t.current&&Zt(t.current),l.current=!1},[t]),{focusableProps:Y({...a,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Fh(e,t){let{elementType:r="a",onPress:n,onPressStart:a,onPressEnd:o,onClick:i,isDisabled:l,...u}=e,c={};r!=="a"&&(c={role:"link",tabIndex:l?void 0:0});let{focusableProps:d}=Yi(e,t),{pressProps:f,isPressed:p}=kt({onPress:n,onPressStart:a,onPressEnd:o,isDisabled:l,ref:t}),m=re(u,{labelable:!0}),h=Y(d,f),v=Aa(),y=Ys(e);return{isPressed:p,linkProps:Y(m,y,{...h,...c,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:k=>{var D;(D=f.onClick)===null||D===void 0||D.call(f,k),i&&(i(k),console.warn("onClick is deprecated, please use onPress")),!v.isNative&&k.currentTarget instanceof HTMLAnchorElement&&k.currentTarget.href&&!k.isDefaultPrevented()&&Gs(k.currentTarget,k)&&e.href&&(k.preventDefault(),v.open(k.currentTarget,k,e.href,e.routerOptions))}})}}const Mh=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Ih=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function pc(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Mh.has(r.script)}let t=e.split("-")[0];return Ih.has(t)}const Oh=Symbol.for("react-aria.i18n.locale");function mc(){let e=typeof window<"u"&&window[Oh]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:pc(e)?"rtl":"ltr"}}let ni=mc(),Hr=new Set;function au(){ni=mc();for(let e of Hr)e(ni)}function hc(){let e=yt(),[t,r]=s.useState(ni);return s.useEffect(()=>(Hr.size===0&&window.addEventListener("languagechange",au),Hr.add(r),()=>{Hr.delete(r),Hr.size===0&&window.removeEventListener("languagechange",au)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const vc=s.createContext(null);function Vh(e){let{locale:t,children:r}=e,n=hc(),a=s.useMemo(()=>t?{locale:t,direction:pc(t)?"rtl":"ltr"}:n,[n,t]);return s.createElement(vc.Provider,{value:a},r)}function ke(){let e=hc();return s.useContext(vc)||e}const Lh=Symbol.for("react-aria.i18n.locale"),jh=Symbol.for("react-aria.i18n.strings");let er;class At{getStringForLocale(t,r){let a=this.getStringsForLocale(r)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${r} locale`);return a}getStringsForLocale(t){let r=this.strings[t];return r||(r=Nh(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Lh];if(er===void 0){let a=window[jh];if(!a)return null;er={};for(let o in a)er[o]=new At({[r]:a[o]},r)}let n=er==null?void 0:er[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}}function Nh(e,t,r="en-US"){if(t[e])return t[e];let n=Kh(e);if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function Kh(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const ou=new Map,iu=new Map;class gc{format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let a=r["="+t];if(a)return typeof a=="function"?a():a;let o=this.locale+":"+n,i=ou.get(o);i||(i=new Intl.PluralRules(this.locale,{type:n}),ou.set(o,i));let l=i.select(t);return a=r[l]||r.other,typeof a=="function"?a():a}number(t){let r=iu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),iu.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}const lu=new WeakMap;function _h(e){let t=lu.get(e);return t||(t=new At(e),lu.set(e,t)),t}function bc(e,t){return t&&At.getGlobalDictionaryForPackage(t)||_h(e)}function tt(e,t){let{locale:r}=ke(),n=bc(e,t);return s.useMemo(()=>new gc(r,n),[r,n])}function vr(e,t){return e-t*Math.floor(e/t)}const yc=1721426;function Lt(e,t,r,n){t=xn(e,t);let a=t-1,o=-2;return r<=2?o=0:St(t)&&(o=-1),yc-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+o+n)}function St(e){return e%4===0&&(e%100!==0||e%400===0)}function xn(e,t){return e==="BC"?1-t:t}function Va(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const zh={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ve{fromJulianDay(t){let r=t,n=r-yc,a=Math.floor(n/146097),o=vr(n,146097),i=Math.floor(o/36524),l=vr(o,36524),u=Math.floor(l/1461),c=vr(l,1461),d=Math.floor(c/365),f=a*400+i*100+u*4+d+(i!==4&&d!==4?1:0),[p,m]=Va(f),h=r-Lt(p,m,1,1),v=2;r<Lt(p,m,3,1)?v=0:St(m)&&(v=1);let y=Math.floor(((h+v)*12+373)/367),k=r-Lt(p,m,y,1)+1;return new ge(p,m,y,k)}toJulianDay(t){return Lt(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return zh[St(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return St(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const Hh={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function xe(e,t){return t=pe(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Zh(e,t){return t=pe(t,e.calendar),e=Ut(e),t=Ut(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ai(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Uh(e,t){return xe(e,Qi(t))}function Ji(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-Qh(t))%7;return n<0&&(n+=7),n}function $c(e){return ut(Date.now(),e)}function Qi(e){return Ae($c(e))}function xc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Dc(e,t){return uu(e)-uu(t)}function uu(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let yo=null;function wc(){return yo==null&&(yo=new Intl.DateTimeFormat().resolvedOptions().timeZone),yo}function Ut(e){return e.subtract({days:e.day-1})}function va(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Wh(e){return Ut(e.subtract({months:e.month-1}))}function Gh(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function qh(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function nn(e,t){let r=Ji(e,t);return e.subtract({days:r})}function Yh(e,t){return nn(e,t).add({days:6})}const su=new Map;function Jh(e){if(Intl.Locale){let r=su.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&su.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function Qh(e){let t=Jh(e);return t&&Hh[t]||0}function Xh(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Ji(Ut(e),t)+r)/7)}function Xi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function el(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Bt(e){e=pe(e,new Ve);let t=xn(e.era,e.year);return Ec(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Ec(e,t,r,n,a,o,i){let l=new Date;return l.setUTCHours(n,a,o,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function an(e,t){if(t==="UTC")return 0;if(e>0&&t===wc())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:o,minute:i,second:l}=Cc(e,t);return Ec(r,n,a,o,i,l,0)-Math.floor(e/1e3)*1e3}const cu=new Map;function Cc(e,t){let r=cu.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),cu.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const ga=864e5;function ev(e,t){let r=Bt(e),n=r-an(r-ga,t),a=r-an(r+ga,t);return Sc(e,t,n,a)}function Sc(e,t,r,n){return(r===n?[r]:[r,n]).filter(o=>tv(e,t,o))}function tv(e,t,r){let n=Cc(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function ot(e,t,r="compatible"){let n=Ue(e);if(t==="UTC")return Bt(n);if(t===wc()&&r==="compatible"){n=pe(n,new Ve);let u=new Date,c=xn(n.era,n.year);return u.setFullYear(c,n.month-1,n.day),u.setHours(n.hour,n.minute,n.second,n.millisecond),u.getTime()}let a=Bt(n),o=an(a-ga,t),i=an(a+ga,t),l=Sc(n,t,a-o,a-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-o,a-i);case"compatible":case"later":return Math.max(a-o,a-i);case"reject":throw new RangeError("No such absolute time found")}}function Pc(e,t,r="compatible"){return new Date(ot(e,t,r))}function ut(e,t){let r=an(e,t),n=new Date(e+r),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),u=n.getUTCMinutes(),c=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new Gt(a,o,i,t,r,l,u,c,d)}function Ae(e){return new ge(e.calendar,e.era,e.year,e.month,e.day)}function Ue(e,t){let r=0,n=0,a=0,o=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:o}=t),new ln(e.calendar,e.era,e.year,e.month,e.day,r,n,a,o)}function pe(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Wt(n),n}function rv(e,t,r){if(e instanceof Gt)return e.timeZone===t?e:av(e,t);let n=ot(e,t,r);return ut(n,t)}function nv(e){let t=Bt(e)-e.offset;return new Date(t)}function av(e,t){let r=Bt(e)-e.offset;return pe(ut(r,t),e.calendar)}const Vr=36e5;function La(e,t){let r=e.copy(),n="hour"in r?Tc(r,t):0;oi(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ii(r),kc(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,ov(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var o,i;let u=(o=(i=r.calendar).isInverseEra)===null||o===void 0?void 0:o.call(i,r);r.year=a,r.month=u?1:r.calendar.getMonthsInYear(r),r.day=u?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function oi(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function ii(e){for(;e.month<1;)oi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,oi(e,1)}function ov(e){for(;e.day<1;)e.month--,ii(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ii(e)}function kc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Wt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),kc(e)}function tl(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Bc(e,t){return La(e,tl(t))}function rl(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),Wt(r),r}function on(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Rc(r),r}function iv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Vn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Vn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Vn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Vn(e.hour,24),t}function Rc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Vn(e,t){let r=e%t;return r<0&&(r+=t),r}function Tc(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,iv(e)}function Ac(e,t){let r=e.copy();return Tc(r,t),r}function lv(e,t){return Ac(e,tl(t))}function nl(e,t,r,n){let a=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),u=l.indexOf(e.era);if(u<0)throw new Error("Invalid era: "+e.era);u=mt(u,r,0,l.length-1,n==null?void 0:n.round),a.era=l[u],Wt(a);break}case"year":var o,i;!((o=(i=a.calendar).isInverseEra)===null||o===void 0)&&o.call(i,a)&&(r=-r),a.year=mt(e.year,r,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=mt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":a.day=mt(e.day,r,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),Wt(a),a}function al(e,t,r,n){let a=e.copy();switch(t){case"hour":{let o=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let u=o>=12;i=u?12:0,l=u?23:11}a.hour=mt(o,r,i,l,n==null?void 0:n.round);break}case"minute":a.minute=mt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":a.second=mt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=mt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return a}function mt(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Fc(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let a=La(Ue(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=ot(a,e.timeZone)}else r=Bt(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=ut(r,e.timeZone);return pe(n,e.calendar)}function uv(e,t){return Fc(e,tl(t))}function sv(e,t,r,n){switch(t){case"hour":{let a=0,o=23;if((n==null?void 0:n.hourCycle)===12){let h=e.hour>=12;a=h?12:0,o=h?23:11}let i=Ue(e),l=pe(on(i,{hour:a}),new Ve),u=[ot(l,e.timeZone,"earlier"),ot(l,e.timeZone,"later")].filter(h=>ut(h,e.timeZone).day===l.day)[0],c=pe(on(i,{hour:o}),new Ve),d=[ot(c,e.timeZone,"earlier"),ot(c,e.timeZone,"later")].filter(h=>ut(h,e.timeZone).day===c.day).pop(),f=Bt(e)-e.offset,p=Math.floor(f/Vr),m=f%Vr;return f=mt(p,r,Math.floor(u/Vr),Math.floor(d/Vr),n==null?void 0:n.round)*Vr+m,pe(ut(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return al(e,t,r,n);case"era":case"year":case"month":case"day":{let a=nl(Ue(e),t,r,n),o=ot(a,e.timeZone);return pe(ut(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function cv(e,t,r){let n=Ue(e),a=on(rl(n,t),t);if(a.compare(n)===0)return e;let o=ot(a,e.timeZone,r);return pe(ut(o,e.timeZone),e.calendar)}const dv=/^(\d{4})-(\d{2})-(\d{2})$/,fv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,pv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/;function mv(e){let t=e.match(dv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new ge(Ce(t[1],0,9999),Ce(t[2],1,12),1);return r.day=Ce(t[3],0,r.calendar.getDaysInMonth(r)),r}function du(e){let t=e.match(fv);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let r=new ln(Ce(t[1],1,9999),Ce(t[2],1,12),1,t[4]?Ce(t[4],0,23):0,t[5]?Ce(t[5],0,59):0,t[6]?Ce(t[6],0,59):0,t[7]?Ce(t[7],0,1/0)*1e3:0);return r.day=Ce(t[3],0,r.calendar.getDaysInMonth(r)),r}function hv(e,t){let r=e.match(pv);if(!r)throw new Error("Invalid ISO 8601 date time string: "+e);let n=new Gt(Ce(r[1],1,9999),Ce(r[2],1,12),1,r[10],0,r[4]?Ce(r[4],0,23):0,r[5]?Ce(r[5],0,59):0,r[6]?Ce(r[6],0,59):0,r[7]?Ce(r[7],0,1/0)*1e3:0);n.day=Ce(r[3],0,n.calendar.getDaysInMonth(n));let a=Ue(n),o;if(r[8]){var i;if(n.offset=Ce(r[8],-23,23)*36e5+Ce((i=r[9])!==null&&i!==void 0?i:"0",0,59)*6e4,o=Bt(n)-n.offset,!ev(a,n.timeZone).includes(o))throw new Error(`Offset ${Oc(n.offset)} is invalid for ${ol(n)} in ${n.timeZone}`)}else o=ot(Ue(a),n.timeZone,t);return ut(o,n.timeZone)}function Ce(e,t,r){let n=Number(e);if(n<t||n>r)throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function Mc(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Ic(e){let t=pe(e,new Ve);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ol(e){return`${Ic(e)}T${Mc(e)}`}function Oc(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function vv(e){return`${ol(e)}${Oc(e.offset)}[${e.timeZone}]`}function il(e){let t=typeof e[0]=="object"?e.shift():new Ve,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),a=e.shift(),o=e.shift();return[t,r,n,a,o]}var gv=new WeakMap;class ge{copy(){return this.era?new ge(this.calendar,this.era,this.year,this.month,this.day):new ge(this.calendar,this.year,this.month,this.day)}add(t){return La(this,t)}subtract(t){return Bc(this,t)}set(t){return rl(this,t)}cycle(t,r,n){return nl(this,t,r,n)}toDate(t){return Pc(this,t)}toString(){return Ic(this)}compare(t){return xc(this,t)}constructor(...t){$n(this,gv,{writable:!0,value:void 0});let[r,n,a,o,i]=il(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,Wt(this)}}var bv=new WeakMap;class ll{copy(){return new ll(this.hour,this.minute,this.second,this.millisecond)}add(t){return Ac(this,t)}subtract(t){return lv(this,t)}set(t){return on(this,t)}cycle(t,r,n){return al(this,t,r,n)}toString(){return Mc(this)}compare(t){return Dc(this,t)}constructor(t=0,r=0,n=0,a=0){$n(this,bv,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=a,Rc(this)}}var yv=new WeakMap;class ln{copy(){return this.era?new ln(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ln(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return La(this,t)}subtract(t){return Bc(this,t)}set(t){return rl(on(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return nl(this,t,r,n);default:return al(this,t,r,n)}}toDate(t,r){return Pc(this,t,r)}toString(){return ol(this)}compare(t){let r=xc(this,t);return r===0?Dc(this,Ue(t)):r}constructor(...t){$n(this,yv,{writable:!0,value:void 0});let[r,n,a,o,i]=il(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Wt(this)}}var $v=new WeakMap;class Gt{copy(){return this.era?new Gt(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Gt(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Fc(this,t)}subtract(t){return uv(this,t)}set(t,r){return cv(this,t,r)}cycle(t,r,n){return sv(this,t,r,n)}toDate(){return nv(this)}toString(){return vv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-rv(t,this.timeZone).toDate().getTime()}constructor(...t){$n(this,$v,{writable:!0,value:void 0});let[r,n,a,o,i]=il(t),l=t.shift(),u=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.timeZone=l,this.offset=u,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Wt(this)}}const gr=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],xv=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],qn=[1867,1911,1925,1988,2018],Et=["meiji","taisho","showa","heisei","reiwa"];function fu(e){const t=gr.findIndex(([r,n,a])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<a);return t===-1?gr.length-1:t===0?0:t-1}function $o(e){let t=qn[Et.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new ge(e.year+t,e.month,e.day)}class Dv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=fu(r);return new ge(this,Et[n],r.year-qn[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay($o(t))}balanceDate(t){let r=$o(t),n=fu(r);Et[n]!==t.era&&(t.era=Et[n],t.year=r.year-qn[n]),this.constrainDate(t)}constrainDate(t){let r=Et.indexOf(t.era),n=xv[r];if(n!=null){let[a,o,i]=n,l=a-qn[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(o,t.month),t.month===o&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,a,o]=gr[r];t.month=Math.max(a,t.month),t.month===a&&(t.day=Math.max(o,t.day))}}getEras(){return Et}getYearsInEra(t){let r=Et.indexOf(t.era),n=gr[r],a=gr[r+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(t.month<a[1]||t.month===a[1]&&t.day<a[2])&&o++,o}getDaysInMonth(t){return super.getDaysInMonth($o(t))}getMinimumMonthInYear(t){let r=pu(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=pu(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function pu(e){if(e.year===1){let t=Et.indexOf(e.era);return gr[t]}}const Vc=-543;class wv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=xn(r.era,r.year);return new ge(this,n-Vc,r.month,r.day)}toJulianDay(t){return super.toJulianDay(mu(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(mu(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function mu(e){let[t,r]=Va(e.year+Vc);return new ge(t,r,e.month,e.day)}const ba=1911;function Lc(e){return e.era==="minguo"?e.year+ba:1-e.year+ba}function hu(e){let t=e-ba;return t>0?["minguo",t]:["before_minguo",1-t]}class Ev extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=xn(r.era,r.year),[a,o]=hu(n);return new ge(this,a,o,r.month,r.day)}toJulianDay(t){return super.toJulianDay(vu(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=hu(Lc(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(vu(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-ba}constructor(...t){super(...t),this.identifier="roc"}}function vu(e){let[t,r]=Va(Lc(e));return new ge(t,r,e.month,e.day)}const gu=1948320,bu=[0,31,62,93,124,155,186,216,246,276,306,336];class Cv{fromJulianDay(t){let r=t-gu,n=1+Math.floor((33*r+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=r-a,i=o<216?Math.floor(o/31):Math.floor((o-6)/30),l=o-bu[i]+1;return new ge(this,n,i+1,l)}toJulianDay(t){let r=gu-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return r+=bu[t.month-1],r+=t.day,r}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||vr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const xo=78,yu=80;class Sv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-xo,a=t-Lt(r.era,r.year,1,1),o;a<yu?(n--,o=St(r.year-1)?31:30,a+=o+155+90+10):(o=St(r.year)?31:30,a-=yu);let i,l;if(a<o)i=1,l=a+1;else{let u=a-o;u<155?(i=Math.floor(u/31)+2,l=u%31+1):(u-=155,i=Math.floor(u/30)+7,l=u%30+1)}return new ge(this,n,i,l)}toJulianDay(t){let r=t.year+xo,[n,a]=Va(r),o,i;return St(a)?(o=31,i=Lt(n,a,3,21)):(o=30,i=Lt(n,a,3,22)),t.month===1?i+t.day-1:(i+=o+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&St(t.year+xo)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ya=1948440,$u=1948439,_e=1300,tr=1600,Pv=460322;function $a(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function jc(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),a=Math.min(12,Math.ceil((r-(29+$a(t,n,1,1)))/29.5)+1),o=r-$a(t,n,a,1)+1;return new ge(e,n,a,o)}function xu(e){return(14+11*e)%30<11}class ul{fromJulianDay(t){return jc(this,ya,t)}toJulianDay(t){return $a(ya,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&xu(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return xu(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class kv extends ul{fromJulianDay(t){return jc(this,$u,t)}toJulianDay(t){return $a($u,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Bv="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let li,br;function Yn(e){return Pv+br[e-_e]}function Zr(e,t){let r=e-_e,n=1<<11-(t-1);return li[r]&n?30:29}function Du(e,t){let r=Yn(e);for(let n=1;n<t;n++)r+=Zr(e,n);return r}function wu(e){return br[e+1-_e]-br[e-_e]}class Rv extends ul{fromJulianDay(t){let r=t-ya,n=Yn(_e),a=Yn(tr);if(r<n||r>a)return super.fromJulianDay(t);{let o=_e-1,i=1,l=1;for(;l>0;){o++,l=r-Yn(o)+1;let u=wu(o);if(l===u){i=12;break}else if(l<u){let c=Zr(o,i);for(i=1;l>c;)l-=c,i++,c=Zr(o,i);break}}return new ge(this,o,i,r-Du(o,i)+1)}}toJulianDay(t){return t.year<_e||t.year>tr?super.toJulianDay(t):ya+Du(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<_e||t.year>tr?super.getDaysInMonth(t):Zr(t.year,t.month)}getDaysInYear(t){return t.year<_e||t.year>tr?super.getDaysInYear(t):wu(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",li||(li=new Uint16Array(Uint8Array.from(atob(Bv),t=>t.charCodeAt(0)).buffer)),!br){br=new Uint32Array(tr-_e+1);let t=0;for(let r=_e;r<=tr;r++){br[r-_e]=t;for(let n=1;n<=12;n++)t+=Zr(r,n)}}}}const Eu=347997,Nc=1080,Kc=24*Nc,Tv=29,Av=12*Nc+793,Fv=Tv*Kc+Av;function It(e){return vr(e*7+1,19)<7}function Jn(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return vr(3*(n+1),7)<3&&(n+=1),n}function Mv(e){let t=Jn(e-1),r=Jn(e);return Jn(e+1)-r===356?2:r-t===382?1:0}function Gr(e){return Jn(e)+Mv(e)}function _c(e){return Gr(e+1)-Gr(e)}function Iv(e){let t=_c(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Ln(e,t){if(t>=6&&!It(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Iv(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?It(e)?30:0:30}class Ov{fromJulianDay(t){let r=t-Eu,n=r*Kc/Fv,a=Math.floor((19*n+234)/235)+1,o=Gr(a),i=Math.floor(r-o);for(;i<1;)a--,o=Gr(a),i=Math.floor(r-o);let l=1,u=0;for(;u<i;)u+=Ln(a,l),l++;l--,u-=Ln(a,l);let c=i-u;return new ge(this,a,l,c)}toJulianDay(t){let r=Gr(t.year);for(let n=1;n<t.month;n++)r+=Ln(t.year,n);return r+t.day+Eu}getDaysInMonth(t){return Ln(t.year,t.month)}getMonthsInYear(t){return It(t.year)?13:12}getDaysInYear(t){return _c(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(It(r.year)&&!It(t.year)&&r.month>6?t.month--:!It(r.year)&&It(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ui=1723856,Cu=1824665,si=5500;function xa(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function sl(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-xa(e,r,1,1))/30),a=t+1-xa(e,r,n,1);return[r,n,a]}function zc(e){return Math.floor(e%4/3)}function Hc(e,t){return t%13!==0?30:zc(e)+5}class cl{fromJulianDay(t){let[r,n,a]=sl(ui,t),o="AM";return r<=0&&(o="AA",r+=si),new ge(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=si),xa(ui,r,t.month,t.day)}getDaysInMonth(t){return Hc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+zc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Vv extends cl{fromJulianDay(t){let[r,n,a]=sl(ui,t);return r+=si,new ge(this,"AA",r,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Lv extends cl{fromJulianDay(t){let[r,n,a]=sl(Cu,t),o="CE";return r<=0&&(o="BCE",r=1-r),new ge(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),xa(Cu,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Hc(r,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function dl(e){switch(e){case"buddhist":return new wv;case"ethiopic":return new cl;case"ethioaa":return new Vv;case"coptic":return new Lv;case"hebrew":return new Ov;case"indian":return new Sv;case"islamic-civil":return new ul;case"islamic-tbla":return new kv;case"islamic-umalqura":return new Rv;case"japanese":return new Dv;case"persian":return new Cv;case"roc":return new Ev;case"gregory":default:return new Ve}}let Do=new Map;class ht{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),a=this.formatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Kv()&&(this.resolvedHourCycle||(this.resolvedHourCycle=_v(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=Zc(t,r),this.options=r}}const jv={true:{ja:"h11"},false:{}};function Zc(e,t={}){if(typeof t.hour12=="boolean"&&Nv()){t={...t};let a=jv[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=a??o,delete t.hour12}let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(Do.has(r))return Do.get(r);let n=new Intl.DateTimeFormat(e,t);return Do.set(r,n),n}let wo=null;function Nv(){return wo==null&&(wo=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),wo}let Eo=null;function Kv(){return Eo==null&&(Eo=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Eo}function _v(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=Zc(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function st(e){e=Xs(e??{},zv);let{locale:t}=ke();return s.useMemo(()=>new ht(t,e),[t,e])}function zv(e,t){if(e===t)return!0;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let a of r)if(t[a]!==e[a])return!1;return!0}let Co=new Map,ci=!1;try{ci=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Da=!1;try{Da=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Uc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Hv{format(t){let r="";if(!ci&&this.options.signDisplay!=null?r=Uv(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Da){var n;let{unit:a,unitDisplay:o="short",locale:i}=this.resolvedOptions();if(!a)return r;let l=(n=Uc[a])===null||n===void 0?void 0:n[o];r+=l[i]||l.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),a=this.numberFormatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!ci&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Da&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Zv(t,r),this.options=r}}function Zv(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Da){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Uc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Co.has(a))return Co.get(a);let o=new Intl.NumberFormat(e,t);return Co.set(a,o),o}function Uv(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let a=e.format(-r),o=e.format(r),i=a.replace(o,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(o,"!!!").replace(i,"+").replace("!!!",o)}else return e.format(r)}}const Wv=new RegExp("^.*\\(.*\\).*$"),Gv=["latn","arab","hanidec"];class Wc{parse(t){return So(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return So(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return So(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Su=new Map;function So(e,t,r){let n=Pu(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of Gv)if(a!==n.options.numberingSystem){let o=Pu(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(o.isValidPartialNumber(r))return o}}return n}function Pu(e,t){let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():""),n=Su.get(r);return n||(n=new qv(e,t),Su.set(r,n)),n}class qv{parse(t){let r=this.sanitize(t);if(this.symbols.group&&(r=jn(r,this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=r.indexOf("-");r=r.replace("-","");let l=r.indexOf(".");l===-1&&(l=r.length),r=r.replace(".",""),l-2===0?r=`0.${r}`:l-2===-1?r=`0.0${r}`:l-2===-2?r="0.00":r=`${r.slice(0,l-2)}.${r.slice(l-2)}`,i>-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var a,o;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((a=this.options.minimumFractionDigits)!==null&&a!==void 0?a:0)+2,20),maximumFractionDigits:Math.min(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2,20)};return new Wc(this.locale,i).parse(new Hv(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&Wv.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=jn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=jn(t,"."," ")),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=jn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,r={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Jv(t,this.formatter,this.options,r);var n,a;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const ku=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Yv=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Jv(e,t,r,n){var a,o,i,l;let u=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=u.formatToParts(-10000.111),d=u.formatToParts(10000.111),f=Yv.map(P=>u.formatToParts(P));var p;let m=(p=(a=c.find(P=>P.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&p!==void 0?p:"-",h=(o=d.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!h&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(h="+");let y=(i=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(P=>P.type==="decimal"))===null||i===void 0?void 0:i.value,k=(l=c.find(P=>P.type==="group"))===null||l===void 0?void 0:l.value,D=c.filter(P=>!ku.has(P.type)).map(P=>Bu(P.value)),C=f.flatMap(P=>P.filter(x=>!ku.has(x.type)).map(x=>Bu(x.value))),E=[...new Set([...D,...C])].sort((P,x)=>x.length-P.length),w=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(S.map((P,x)=>[P,x])),b=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:h,decimal:y,group:k,literals:w,numeral:b,index:P=>String(F.get(P))}}function jn(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Bu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Po=new Map;function ja(e){let{locale:t}=ke(),r=t+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(Po.has(r))return Po.get(r);let n=new Intl.Collator(t,e);return Po.set(r,n),n}function Qv(e){let t=ja({usage:"search",...e}),r=s.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(0,i.length),i)===0),[t]),n=s.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(-i.length),i)===0),[t]),a=s.useCallback((o,i)=>{if(i.length===0)return!0;o=o.normalize("NFC"),i=i.normalize("NFC");let l=0,u=i.length;for(;l+u<=o.length;l++){let c=o.slice(l,l+u);if(t.compare(i,c)===0)return!0}return!1},[t]);return s.useMemo(()=>({startsWith:r,endsWith:n,contains:a}),[r,n,a])}function Xv(e,t){let{elementType:r="button",isDisabled:n,onPress:a,onPressStart:o,onPressEnd:i,onPressUp:l,onPressChange:u,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:m,rel:h,type:v="button"}=e,y;r==="button"?y={type:v,disabled:n}:y={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?m:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?h:void 0};let{pressProps:k,isPressed:D}=kt({onPressStart:o,onPressEnd:i,onPressChange:u,onPress:a,onPressUp:l,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:C}=Yi(e,t);d&&(C.tabIndex=n?-1:C.tabIndex);let E=Y(C,k,re(e,{labelable:!0}));return{isPressed:D,buttonProps:Y(y,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}var Gc={};Gc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var qc={};qc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var Yc={};Yc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var Jc={};Jc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Qc={};Qc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var Xc={};Xc={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var ed={};ed={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var td={};td={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var rd={};rd={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var nd={};nd={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var ad={};ad={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var od={};od={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var id={};id={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var ld={};ld={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var ud={};ud={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var sd={};sd={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var cd={};cd={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var dd={};dd={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var fd={};fd={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var pd={};pd={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var md={};md={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var hd={};hd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var vd={};vd={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var gd={};gd={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var bd={};bd={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var yd={};yd={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var $d={};$d={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var xd={};xd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Dd={};Dd={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var wd={};wd={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var Ed={};Ed={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var Cd={};Cd={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var Sd={};Sd={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var Pd={};Pd={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Dn={};Dn={"ar-AE":Gc,"bg-BG":qc,"cs-CZ":Yc,"da-DK":Jc,"de-DE":Qc,"el-GR":Xc,"en-US":ed,"es-ES":td,"et-EE":rd,"fi-FI":nd,"fr-FR":ad,"he-IL":od,"hr-HR":id,"hu-HU":ld,"it-IT":ud,"ja-JP":sd,"ko-KR":cd,"lt-LT":dd,"lv-LV":fd,"nb-NO":pd,"nl-NL":md,"pl-PL":hd,"pt-BR":vd,"pt-PT":gd,"ro-RO":bd,"ru-RU":yd,"sk-SK":$d,"sl-SI":xd,"sr-SP":Dd,"sv-SE":wd,"tr-TR":Ed,"uk-UA":Cd,"zh-CN":Sd,"zh-TW":Pd};function kd(e){return e&&e.__esModule?e.default:e}const fl=new WeakMap;function un(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function e3(e){let t=tt(kd(Dn),"@react-aria/calendar"),r,n;"highlightedRange"in e?{start:r,end:n}=e.highlightedRange||{}:r=n=e.value;let a=st({weekday:"long",month:"long",year:"numeric",day:"numeric",era:un(r)||un(n),timeZone:e.timeZone}),o="anchorDate"in e?e.anchorDate:null;return s.useMemo(()=>{if(!o&&r&&n)if(xe(r,n)){let i=a.format(r.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=fi(a,t,r,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[r,n,o,e.timeZone,t,a])}function di(e,t,r,n){let a=tt(kd(Dn),"@react-aria/calendar"),o=un(e)||un(t),i=st({month:"long",year:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r}),l=st({month:"long",year:"numeric",day:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r});return s.useMemo(()=>{if(xe(e,Ut(e))){if(xe(t,va(e)))return i.format(e.toDate(r));if(xe(t,va(t)))return n?fi(i,a,e,t,r):i.formatRange(e.toDate(r),t.toDate(r))}return n?fi(l,a,e,t,r):l.formatRange(e.toDate(r),t.toDate(r))},[e,t,i,l,a,r,n])}function fi(e,t,r,n,a){let o=e.formatRangeToParts(r.toDate(a),n.toDate(a)),i=-1;for(let c=0;c<o.length;c++){let d=o[c];if(d.source==="shared"&&d.type==="literal")i=c;else if(d.source==="endRange")break}let l="",u="";for(let c=0;c<o.length;c++)c<i?l+=o[c].value:c>i&&(u+=o[c].value);return t.format("dateRange",{startDate:l,endDate:u})}const Bd=7e3;let qr=null;function pi(e,t="assertive",r=Bd){qr||(qr=new r3),qr.announce(e,t,r)}function t3(e){qr&&qr.clear(e)}class r3{createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=Bd){if(!this.node)return;let a=document.createElement("div");a.textContent=t,r==="assertive"?this.assertiveLog.appendChild(a):this.politeLog.appendChild(a),t!==""&&setTimeout(()=>{a.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{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"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function n3(e){return e&&e.__esModule?e.default:e}function Rd(e,t){let r=tt(n3(Dn),"@react-aria/calendar"),n=re(e),a=di(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),o=di(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Wl(()=>{t.isFocused||pi(o)},[o]);let i=e3(t);Wl(()=>{i&&pi(i,"polite",4e3)},[i]);let l=Dr([!!e.errorMessage,e.isInvalid,e.validationState]);fl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[u,c]=s.useState(!1),d=e.isDisabled||t.isNextVisibleRangeInvalid();d&&u&&(c(!1),t.setFocused(!0));let[f,p]=s.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let h=bn({id:e.id,"aria-label":[e["aria-label"],o].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:Y(n,h,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":r.format("next"),isDisabled:d,onFocusChange:c},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":r.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:a}}function a3(e,t){return Rd(e,t)}function o3(e,t,r){let n=Rd(e,t),a=s.useRef(!1),o=s.useRef(typeof window<"u"?window:null);return hr(o,"pointerdown",l=>{a.current=l.width===0&&l.height===0}),hr(o,"pointerup",l=>{if(a.current){a.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let u=l.target;r.current&&r.current.contains(document.activeElement)&&(!r.current.contains(u)||!u.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{r.current&&(!l.relatedTarget||!r.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},hr(r,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function i3(e,t){let{startDate:r=t.visibleRange.start,endDate:n=t.visibleRange.end}=e,{direction:a}=ke(),o=m=>{switch(m.key){case"Enter":case" ":m.preventDefault(),t.selectFocusedDate();break;case"PageUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousSection(m.shiftKey);break;case"PageDown":m.preventDefault(),m.stopPropagation(),t.focusNextSection(m.shiftKey);break;case"End":m.preventDefault(),m.stopPropagation(),t.focusSectionEnd();break;case"Home":m.preventDefault(),m.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":m.preventDefault(),m.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":m.preventDefault(),m.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":m.preventDefault(),m.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":m.preventDefault(),m.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(m.preventDefault(),t.setAnchorDate(null));break}},i=di(r,n,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:u}=fl.get(t),c=bn({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":u}),d=st({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=ke(),p=s.useMemo(()=>{let m=nn(Qi(t.timeZone),f);return[...new Array(7).keys()].map(h=>{let y=m.add({days:h}).toDate(t.timeZone);return d.format(y)})},[f,t.timeZone,d]);return{gridProps:Y(c,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:o,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:p}}function l3(e){return e&&e.__esModule?e.default:e}function u3(e,t,r){let{date:n,isDisabled:a}=e,{errorMessageId:o,selectedDateDescription:i}=fl.get(t),l=tt(l3(Dn),"@react-aria/calendar"),u=st({weekday:"long",day:"numeric",month:"long",year:"numeric",era:un(n),timeZone:t.timeZone}),c=t.isSelected(n),d=t.isCellFocused(n);a=a||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!a&&!f,m=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&xe(t.value,n));m&&(c=!0),n=Xs(n,ai);let h=s.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),v=Uh(n,t.timeZone),y=s.useMemo(()=>{let x="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(xe(n,t.value.start)||xe(n,t.value.end))&&(x=i+", "),x+=u.format(h),v?x=l.format(c?"todayDateSelected":"todayDate",{date:x}):c&&(x=l.format("dateSelected",{date:x})),t.minValue&&xe(n,t.minValue)?x+=", "+l.format("minimumDate"):t.maxValue&&xe(n,t.maxValue)&&(x+=", "+l.format("maximumDate")),x},[u,h,l,c,v,n,t,i]),k="";"anchorDate"in t&&d&&!t.isReadOnly&&p&&(t.anchorDate?k=l.format("finishRangeSelectionPrompt"):k=l.format("startRangeSelectionPrompt"));let D=yn(k),C=s.useRef(!1),E=s.useRef(!1),w=s.useRef(null),{pressProps:S,isPressed:F}=kt({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(x){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(x.pointerType==="mouse"||x.pointerType==="touch")){if(t.highlightedRange&&!m){if(xe(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(xe(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}}let M=()=>{t.setDragging(!0),w.current=null,t.selectDate(n),t.setFocusedDate(n),C.current=!0};x.pointerType==="touch"?w.current=setTimeout(M,200):M()}},onPressEnd(){E.current=!1,C.current=!1,clearTimeout(w.current),w.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(x){if(!t.isReadOnly&&("anchorDate"in t&&w.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(E.current)t.setAnchorDate(n);else if(t.anchorDate&&!C.current)t.selectDate(n),t.setFocusedDate(n);else if(x.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else x.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),b=null;a||(b=xe(n,t.focusedDate)?0:-1),s.useEffect(()=>{d&&r.current&&(lt(r.current),da()!=="pointer"&&document.activeElement===r.current&&la(r.current,{containingElement:Ma(r.current)}))},[d,r]);let A=st({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),P=s.useMemo(()=>A.formatToParts(h).find(x=>x.type==="day").value,[A,h]);return{cellProps:{role:"gridcell","aria-disabled":!p||null,"aria-selected":c||null,"aria-invalid":m||null},buttonProps:Y(S,{onFocus(){a||t.setFocusedDate(n)},tabIndex:b,role:"button","aria-disabled":!p||null,"aria-label":y,"aria-invalid":m||null,"aria-describedby":[m?o:null,D["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(x){"highlightDate"in t&&(x.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(x){"releasePointerCapture"in x.target&&x.target.releasePointerCapture(x.pointerId)},onContextMenu(x){x.preventDefault()}}),isPressed:F,isFocused:d,isSelected:c,isDisabled:a,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:P}}function pl(e,t,r){let{validationBehavior:n,focus:a}=e;ie(()=>{if(n==="native"&&(r!=null&&r.current)){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(c3(r.current))}});let o=Be(()=>{t.resetValidation()}),i=Be(u=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!u.defaultPrevented&&r&&d&&d3(d)===r.current){var f;a?a():(f=r.current)===null||f===void 0||f.focus(),uc("keyboard")}u.preventDefault()}),l=Be(()=>{t.commitValidation()});s.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let c=u.form;return u.addEventListener("invalid",i),u.addEventListener("change",l),c==null||c.addEventListener("reset",o),()=>{u.removeEventListener("invalid",i),u.removeEventListener("change",l),c==null||c.removeEventListener("reset",o)}},[r,i,l,o,n])}function s3(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 c3(e){return{isInvalid:!e.validity.valid,validationDetails:s3(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function d3(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const Na={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Td={...Na,customError:!0,valid:!1},Ct={isInvalid:!1,validationDetails:Na,validationErrors:[]},f3=s.createContext({}),wr="__formValidationState"+Date.now();function Jt(e){if(e[wr]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}=e[wr];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}}return p3(e)}function p3(e){let{isInvalid:t,validationState:r,name:n,value:a,builtinValidation:o,validate:i,validationBehavior:l="aria"}=e;r&&(t||(t=r==="invalid"));let u=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Td}:null,c=s.useMemo(()=>Ru(m3(i,a)),[i,a]);o!=null&&o.validationDetails.valid&&(o=null);let d=s.useContext(f3),f=s.useMemo(()=>n?Array.isArray(n)?n.flatMap(P=>mi(d[P])):mi(d[n]):[],[d,n]),[p,m]=s.useState(d),[h,v]=s.useState(!1);d!==p&&(m(d),v(!1));let y=s.useMemo(()=>Ru(h?[]:f),[h,f]),k=s.useRef(Ct),[D,C]=s.useState(Ct),E=s.useRef(Ct),w=()=>{if(!S)return;F(!1);let P=c||o||k.current;ko(P,E.current)||(E.current=P,C(P))},[S,F]=s.useState(!1);return s.useEffect(w),{realtimeValidation:u||y||c||o||Ct,displayValidation:l==="native"?u||y||D:u||y||c||o||D,updateValidation(P){l==="aria"&&!ko(D,P)?C(P):k.current=P},resetValidation(){let P=Ct;ko(P,E.current)||(E.current=P,C(P)),l==="native"&&F(!1),v(!0)},commitValidation(){l==="native"&&F(!0),v(!0)}}}function mi(e){return e?Array.isArray(e)?e:[e]:[]}function m3(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return mi(r)}return[]}function Ru(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Td}:null}function ko(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function sn(...e){let t=new Set,r=!1,n={...Na};for(let i of e){var a,o;for(let l of i.validationErrors)t.add(l);r||(r=i.isInvalid);for(let l in n)(a=n)[o=l]||(a[o]=i.validationDetails[l])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function h3(e,t,r){let{isDisabled:n=!1,isReadOnly:a=!1,value:o,name:i,children:l,"aria-label":u,"aria-labelledby":c,validationState:d="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.target.checked)},m=l!=null,h=u!=null||c!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:y}=kt({isDisabled:n}),{pressProps:k,isPressed:D}=kt({isDisabled:n||a,onPress(){t.toggle()}}),{focusableProps:C}=Yi(e,r),E=Y(v,C),w=re(e,{labelable:!0});return Ui(r,t.isSelected,t.setSelected),{labelProps:Y(k,{onClick:S=>S.preventDefault()}),inputProps:Y(w,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":a||void 0,onChange:p,disabled:n,...o==null?{}:{value:o},name:i,type:"checkbox",...E}),isSelected:t.isSelected,isPressed:y||D,isDisabled:n,isReadOnly:a,isInvalid:f||d==="invalid"}}function Ad(e,t,r){let n=Jt({...e,value:t.isSelected}),{isInvalid:a,validationErrors:o,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:u,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:p}=h3({...e,isInvalid:a},t,r);pl(e,n,r);let{isIndeterminate:m,isRequired:h,validationBehavior:v="aria"}=e;return s.useEffect(()=>{r.current&&(r.current.indeterminate=!!m)}),{labelProps:l,inputProps:{...u,checked:c,"aria-required":h&&v==="aria"||void 0,required:h&&v==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:p,isInvalid:a,validationErrors:o,validationDetails:i}}const Fd=new WeakMap;function Md(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":a,labelElementType:o="label"}=e;t=Te(t);let i=Te(),l={};r?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:o==="label"?t:void 0}):!n&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=bn({id:t,"aria-label":a,"aria-labelledby":n});return{labelProps:l,fieldProps:u}}function wn(e){let{description:t,errorMessage:r,isInvalid:n,validationState:a}=e,{labelProps:o,fieldProps:i}=Md(e),l=Dr([!!t,!!r,n,a]),u=Dr([!!t,!!r,n,a]);return i=Y(i,{"aria-describedby":[l,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:u}}}function v3(e,t){let{isDisabled:r,name:n,validationBehavior:a="aria"}=e,{isInvalid:o,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:u,fieldProps:c,descriptionProps:d,errorMessageProps:f}=wn({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||i});Fd.set(t,{name:n,descriptionId:d.id,errorMessageId:f.id,validationBehavior:a});let p=re(e,{labelable:!0}),{focusWithinProps:m}=Tt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:Y(p,{role:"group","aria-disabled":r||void 0,...c,...m}),labelProps:u,descriptionProps:d,errorMessageProps:f,isInvalid:o,validationErrors:i,validationDetails:l}}function Id(e={}){let{isReadOnly:t}=e,[r,n]=Xe(e.isSelected,e.defaultSelected||!1,e.onChange);function a(i){t||n(i)}function o(){t||n(!r)}return{isSelected:r,setSelected:a,toggle:o}}function g3(e,t,r){const n=Id({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(y){y?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(y)}});let{name:a,descriptionId:o,errorMessageId:i,validationBehavior:l}=Fd.get(t);var u;l=(u=e.validationBehavior)!==null&&u!==void 0?u:l;let{realtimeValidation:c}=Jt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),d=s.useRef(Ct),f=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};s.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:c,m=l==="native"?t.displayValidation:p;var h;let v=Ad({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:(h=e.isRequired)!==null&&h!==void 0?h:t.isRequired,validationBehavior:l,[wr]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(y){d.current=y,f()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,o].filter(Boolean).join(" ")||void 0}}}const fr={top:"top",bottom:"top",left:"left",right:"left"},wa={top:"bottom",bottom:"top",left:"right",right:"left"},b3={top:"left",left:"top"},hi={top:"height",left:"width"},Od={width:"totalWidth",height:"totalHeight"},Nn={};let Fe=typeof document<"u"&&window.visualViewport;function Tu(e){let t=0,r=0,n=0,a=0,o=0,i=0,l={},u=(Fe==null?void 0:Fe.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,a=f.clientHeight;var c;t=(c=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var d;r=(d=Fe==null?void 0:Fe.height)!==null&&d!==void 0?d:a,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,Fe&&(o=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:r,top:o,left:i}=yr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,a=r;return zi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&u&&(l.top=0,l.left=0,o=Fe.pageTop,i=Fe.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:a,scroll:l,top:o,left:i}}function y3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Au(e,t,r,n,a,o,i){let l=a.scroll[e],u=n[hi[e]],c=n.scroll[fr[e]]+o,d=u+n.scroll[fr[e]]-o,f=t-l+i[e]-n[fr[e]],p=t-l+r+i[e]-n[fr[e]];return f<c?c-f:p>d?Math.max(d-p,c-f):0}function $3(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Fu(e){if(Nn[e])return Nn[e];let[t,r]=e.split(" "),n=fr[t]||"right",a=b3[n];fr[r]||(r="center");let o=hi[n],i=hi[a];return Nn[e]={placement:t,crossPlacement:r,axis:n,crossAxis:a,size:o,crossSize:i},Nn[e]}function Bo(e,t,r,n,a,o,i,l,u,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:m,size:h,crossSize:v}=n,y={};y[m]=e[m],f==="center"?y[m]+=(e[v]-r[v])/2:f!==m&&(y[m]+=e[v]-r[v]),y[m]+=o;const k=e[m]-r[v]+u+c,D=e[m]+e[v]-u-c;if(y[m]=Qo(y[m],k,D),d===p){const C=l?i[h]:t[Od[h]];y[wa[p]]=Math.floor(C-e[p]+a)}else y[p]=Math.floor(e[p]+e[h]+a);return y}function x3(e,t,r,n,a,o,i,l){const u=n?r.height:t[Od.height];let c=e.top!=null?r.top+e.top:r.top+(u-e.bottom-i),d=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-c-(a.top+a.bottom+o)):Math.max(0,c+i-(t.top+t.scroll.top)-(a.top+a.bottom+o));return Math.min(t.height-o*2,d)}function Mu(e,t,r,n,a,o){let{placement:i,axis:l,size:u}=o;return i===l?Math.max(0,r[l]-e[l]-e.scroll[l]+t[l]-n[l]-n[wa[l]]-a):Math.max(0,e[u]+e[l]+e.scroll[l]-t[l]-r[l]-r[u]-n[l]-n[wa[l]]-a)}function D3(e,t,r,n,a,o,i,l,u,c,d,f,p,m,h,v){let y=Fu(e),{size:k,crossAxis:D,crossSize:C,placement:E,crossPlacement:w}=y,S=Bo(t,l,r,y,d,f,c,p,h,v),F=d,b=Mu(l,c,t,a,o+d,y);if(i&&n[k]>b){let H=Fu(`${wa[E]} ${w}`),B=Bo(t,l,r,H,d,f,c,p,h,v);Mu(l,c,t,a,o+d,H)>b&&(y=H,S=B,F=d)}let A="bottom";y.axis==="top"?y.placement==="top"?A="top":y.placement==="bottom"&&(A="bottom"):y.crossAxis==="top"&&(y.crossPlacement==="top"?A="bottom":y.crossPlacement==="bottom"&&(A="top"));let P=Au(D,S[D],r[C],l,u,o,c);S[D]+=P;let x=x3(S,l,c,p,a,o,r.height,A);m&&m<x&&(x=m),r.height=Math.min(r.height,x),S=Bo(t,l,r,y,F,f,c,p,h,v),P=Au(D,S[D],r[C],l,u,o,c),S[D]+=P;let M={},R=t[D]+.5*t[C]-S[D];const T=h/2+v,N=r[C]-h/2-v,O=t[D]-S[D]+h/2,$=t[D]+t[C]-S[D]-h/2,z=Qo(R,O,$);return M[D]=Qo(z,T,N),{position:S,maxHeight:x,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:y.placement}}function w3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:a,padding:o,shouldFlip:i,boundaryElement:l,offset:u,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?E3(n):document.documentElement,h=m===document.documentElement;const v=window.getComputedStyle(m).position;let y=!!v&&v!=="static",k=h?yr(r):Iu(r,m);if(!h){let{marginTop:b,marginLeft:A}=window.getComputedStyle(r);k.top+=parseInt(b,10)||0,k.left+=parseInt(A,10)||0}let D=yr(n),C=$3(n);D.width+=C.left+C.right,D.height+=C.top+C.bottom;let E=y3(a),w=Tu(l),S=Tu(m),F=l.tagName==="BODY"?yr(m):Iu(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),D3(t,k,D,E,C,o,i,w,S,F,u,c,y,d,f,p)}function yr(e){let{top:t,left:r,width:n,height:a}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:i,clientTop:l,clientLeft:u}=document.documentElement;return{top:t+o-l,left:r+i-u,width:n,height:a}}function Iu(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:a,left:o,width:i,height:l}=e.getBoundingClientRect();n={top:a,left:o,width:i,height:l}}else{n=yr(e);let a=yr(t),o=window.getComputedStyle(t);a.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=a.top,n.left-=a.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function E3(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Ou(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Ou(t);)t=t.parentElement;return t||document.documentElement}function Ou(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const Vd=new WeakMap;function C3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;s.useEffect(()=>{if(!r||n===null)return;let a=o=>{let i=o.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let l=n||Vd.get(t.current);l&&l()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[r,n,t])}let ve=typeof document<"u"&&window.visualViewport;function S3(e){let{direction:t}=ke(),{arrowSize:r=0,targetRef:n,overlayRef:a,scrollRef:o=a,placement:i="bottom",containerPadding:l=12,shouldFlip:u=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:h,maxHeight:v,arrowBoundaryOffset:y=0}=e,[k,D]=s.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),C=[p,i,a.current,n.current,o.current,l,u,c,d,f,m,t,v,y,r],E=s.useRef(ve==null?void 0:ve.scale);s.useEffect(()=>{m&&(E.current=ve==null?void 0:ve.scale)},[m]);let w=s.useCallback(()=>{if(p===!1||!m||!a.current||!n.current||!o.current||!c||(ve==null?void 0:ve.scale)!==E.current)return;let b=a.current;if(!v&&a.current){var A;b.style.top="0px",b.style.bottom="";var P;b.style.maxHeight=((P=(A=window.visualViewport)===null||A===void 0?void 0:A.height)!==null&&P!==void 0?P:window.innerHeight)+"px"}let x=w3({placement:k3(i,t),overlayNode:a.current,targetNode:n.current,scrollNode:o.current,padding:l,shouldFlip:u,boundaryElement:c,offset:d,crossOffset:f,maxHeight:v,arrowSize:r,arrowBoundaryOffset:y});b.style.top="",b.style.bottom="",Object.keys(x.position).forEach(M=>b.style[M]=x.position[M]+"px"),b.style.maxHeight=x.maxHeight!=null?x.maxHeight+"px":void 0,D(x)},C);ie(w,C),P3(w),Fa({ref:a,onResize:w});let S=s.useRef(!1);ie(()=>{let b,A=()=>{S.current=!0,clearTimeout(b),b=setTimeout(()=>{S.current=!1},500),w()},P=()=>{S.current&&A()};return ve==null||ve.addEventListener("resize",A),ve==null||ve.addEventListener("scroll",P),()=>{ve==null||ve.removeEventListener("resize",A),ve==null||ve.removeEventListener("scroll",P)}},[w]);let F=s.useCallback(()=>{S.current||h()},[h,S]);return C3({triggerRef:n,isOpen:m,onClose:h&&F}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...k.position,maxHeight:k.maxHeight}},placement:k.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:k.arrowOffsetLeft,top:k.arrowOffsetTop}},updatePosition:w}}function P3(e){ie(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function k3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const ft=[];function Ld(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:a,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;s.useEffect(()=>(a&&ft.push(t),()=>{let h=ft.indexOf(t);h>=0&&ft.splice(h,1)}),[a,t]);let u=()=>{ft[ft.length-1]===t&&r&&r()},c=h=>{(!l||l(h.target))&&ft[ft.length-1]===t&&(h.stopPropagation(),h.preventDefault())},d=h=>{(!l||l(h.target))&&(ft[ft.length-1]===t&&(h.stopPropagation(),h.preventDefault()),u())},f=h=>{h.key==="Escape"&&!i&&!h.nativeEvent.isComposing&&(h.stopPropagation(),h.preventDefault(),u())};gh({ref:t,onInteractOutside:o&&a?d:null,onInteractOutsideStart:c});let{focusWithinProps:p}=Tt({isDisabled:!n,onBlurWithin:h=>{!h.relatedTarget||Sh(h.relatedTarget)||(!l||l(h.relatedTarget))&&r()}}),m=h=>{h.target===h.currentTarget&&h.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function jd(e,t,r){let{type:n}=e,{isOpen:a}=t;s.useEffect(()=>{r&&r.current&&Vd.set(r.current,t.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let i=Te();return{triggerProps:{"aria-haspopup":o,"aria-expanded":a,"aria-controls":a?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Ro=typeof document<"u"&&window.visualViewport,B3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Kn=0,To;function Nd(e={}){let{isDisabled:t}=e;ie(()=>{if(!t)return Kn++,Kn===1&&(gn()?To=T3():To=R3()),()=>{Kn--,Kn===0&&To()}},[t])}function R3(){return zt(pr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),pr(document.documentElement,"overflow","hidden"))}function T3(){let e,t,r=c=>{e=Ma(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=pr(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},a=c=>{let d=c.target;Lu(d)&&d!==document.activeElement&&(c.preventDefault(),l(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},o=c=>{let d=c.target;Lu(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Ro&&(Ro.height<window.innerHeight?requestAnimationFrame(()=>{Vu(d)}):Ro.addEventListener("resize",()=>Vu(d),{once:!0}))}))},i=null,l=()=>{if(i)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;i=zt(Lr(window,"scroll",c),pr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),pr(document.documentElement,"overflow","hidden"),pr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},u=zt(Lr(document,"touchstart",r,{passive:!1,capture:!0}),Lr(document,"touchmove",n,{passive:!1,capture:!0}),Lr(document,"touchend",a,{passive:!1,capture:!0}),Lr(document,"focus",o,!0));return()=>{t==null||t(),i==null||i(),u()}}function pr(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Lr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function Vu(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Ma(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,a=e.getBoundingClientRect().top;a>n+e.clientHeight&&(r.scrollTop+=a-n)}e=r.parentElement}}function Lu(e){return e instanceof HTMLInputElement&&!B3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Kd={};Kd={dismiss:"تجاهل"};var _d={};_d={dismiss:"Отхвърляне"};var zd={};zd={dismiss:"Odstranit"};var Hd={};Hd={dismiss:"Luk"};var Zd={};Zd={dismiss:"Schließen"};var Ud={};Ud={dismiss:"Απόρριψη"};var Wd={};Wd={dismiss:"Dismiss"};var Gd={};Gd={dismiss:"Descartar"};var qd={};qd={dismiss:"Lõpeta"};var Yd={};Yd={dismiss:"Hylkää"};var Jd={};Jd={dismiss:"Rejeter"};var Qd={};Qd={dismiss:"התעלם"};var Xd={};Xd={dismiss:"Odbaci"};var ef={};ef={dismiss:"Elutasítás"};var tf={};tf={dismiss:"Ignora"};var rf={};rf={dismiss:"閉じる"};var nf={};nf={dismiss:"무시"};var af={};af={dismiss:"Atmesti"};var of={};of={dismiss:"Nerādīt"};var lf={};lf={dismiss:"Lukk"};var uf={};uf={dismiss:"Negeren"};var sf={};sf={dismiss:"Zignoruj"};var cf={};cf={dismiss:"Descartar"};var df={};df={dismiss:"Dispensar"};var ff={};ff={dismiss:"Revocare"};var pf={};pf={dismiss:"Пропустить"};var mf={};mf={dismiss:"Zrušiť"};var hf={};hf={dismiss:"Opusti"};var vf={};vf={dismiss:"Odbaci"};var gf={};gf={dismiss:"Avvisa"};var bf={};bf={dismiss:"Kapat"};var yf={};yf={dismiss:"Скасувати"};var $f={};$f={dismiss:"取消"};var xf={};xf={dismiss:"關閉"};var Df={};Df={"ar-AE":Kd,"bg-BG":_d,"cs-CZ":zd,"da-DK":Hd,"de-DE":Zd,"el-GR":Ud,"en-US":Wd,"es-ES":Gd,"et-EE":qd,"fi-FI":Yd,"fr-FR":Jd,"he-IL":Qd,"hr-HR":Xd,"hu-HU":ef,"it-IT":tf,"ja-JP":rf,"ko-KR":nf,"lt-LT":af,"lv-LV":of,"nb-NO":lf,"nl-NL":uf,"pl-PL":sf,"pt-BR":cf,"pt-PT":df,"ro-RO":ff,"ru-RU":pf,"sk-SK":mf,"sl-SI":hf,"sr-SP":vf,"sv-SE":gf,"tr-TR":bf,"uk-UA":yf,"zh-CN":$f,"zh-TW":xf};const ju={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 wf(e={}){let{style:t,isFocusable:r}=e,[n,a]=s.useState(!1),{focusWithinProps:o}=Tt({isDisabled:!r,onFocusWithinChange:l=>a(l)}),i=s.useMemo(()=>n?t:t?{...ju,...t}:ju,[n]);return{visuallyHiddenProps:{...o,style:i}}}function Er(e){let{children:t,elementType:r="div",isFocusable:n,style:a,...o}=e,{visuallyHiddenProps:i}=wf(e);return s.createElement(r,Y(o,i),t)}function A3(e){return e&&e.__esModule?e.default:e}function vi(e){let{onDismiss:t,...r}=e,n=tt(A3(Df),"@react-aria/overlays"),a=bn(r,n.format("dismiss")),o=()=>{t&&t()};return s.createElement(Er,null,s.createElement("button",{...a,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}let jr=new WeakMap,Ne=[];function Ef(e,t=document.body){let r=new Set(e),n=new Set,a=u=>{for(let p of u.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let c=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of r)if(p.contains(m))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(u);if(f===NodeFilter.FILTER_ACCEPT&&o(u),f!==NodeFilter.FILTER_REJECT){let p=d.nextNode();for(;p!=null;)o(p),p=d.nextNode()}},o=u=>{var c;let d=(c=jr.get(u))!==null&&c!==void 0?c:0;u.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&u.setAttribute("aria-hidden","true"),n.add(u),jr.set(u,d+1))};Ne.length&&Ne[Ne.length-1].disconnect(),a(t);let i=new MutationObserver(u=>{for(let c of u)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&a(d)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ne.push(l),()=>{i.disconnect();for(let u of n){let c=jr.get(u);c===1?(u.removeAttribute("aria-hidden"),jr.delete(u)):jr.set(u,c-1)}l===Ne[Ne.length-1]?(Ne.pop(),Ne.length&&Ne[Ne.length-1].observe()):Ne.splice(Ne.indexOf(l),1)}}function F3(e,t){let{triggerRef:r,popoverRef:n,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:u,underlayProps:c}=Ld({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i},n),{overlayProps:d,arrowProps:f,placement:p}=S3({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a?t.close:null});return Nd({isDisabled:a||!t.isOpen}),ie(()=>{if(t.isOpen&&!a&&n.current)return Ef([n.current])},[a,t.isOpen,n]),{popoverProps:Y(u,d),arrowProps:f,underlayProps:c,placement:p}}const M3=s.createContext({});function I3(){var e;return(e=s.useContext(M3))!==null&&e!==void 0?e:{}}const Cf=s.createContext(null);function Sf(e){let t=yt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[a,o]=s.useState(!1),i=s.useMemo(()=>({contain:a,setContain:o}),[a,o]),{getContainer:l}=I3();if(!e.portalContainer&&l&&(r=l()),!r)return null;let u=e.children;return e.disableFocusManagement||(u=s.createElement(dc,{restoreFocus:!0,contain:a&&!n},u)),u=s.createElement(Cf.Provider,{value:i},s.createElement(lh,null,u)),vn.createPortal(u,r)}function Pf(){let e=s.useContext(Cf),t=e==null?void 0:e.setContain;ie(()=>{t==null||t(!0)},[t])}function O3(e,t,r){let{overlayProps:n,underlayProps:a}=Ld({...e,isOpen:t.isOpen,onClose:t.close},r);return Nd({isDisabled:!t.isOpen}),Pf(),s.useEffect(()=>{if(t.isOpen)return Ef([r.current])},[t.isOpen,r]),{modalProps:Y(n),underlayProps:a}}const ml=new WeakMap;function V3(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function L3(e,t){let r=ml.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${V3(t)}`}function gi(e){return Km()?e.altKey:e.ctrlKey}function sr(e){return vt()?e.metaKey:e.ctrlKey}const j3=1e3;function kf(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,a=s.useRef({search:"",timeout:null}).current,o=i=>{let l=N3(i.key);if(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;l===" "&&a.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),a.search+=l;let u=t.getKeyForSearch(a.search,r.focusedKey);u==null&&(u=t.getKeyForSearch(a.search)),u!=null&&(r.setFocusedKey(u),n&&n(u)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},j3)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?o:null}}}function N3(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function K3(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:a=!1,shouldFocusWrap:o=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:h="action"}=e,{direction:v}=ke(),y=Aa(),k=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const x=(B,V)=>{if(B!=null){if(t.isLink(B)&&h==="selection"&&u&&!gi(P)){vn.flushSync(()=>{t.setFocusedKey(B,V)});let K=m.current.querySelector(`[data-key="${CSS.escape(B.toString())}"]`),W=t.getItemProps(B);y.open(K,P,W.href,W.routerOptions);return}if(t.setFocusedKey(B,V),t.isLink(B)&&h==="override")return;P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):u&&!gi(P)&&t.replaceSelection(B)}};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var M,R;P.preventDefault();let B=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);B==null&&o&&(B=(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r,t.focusedKey)),x(B)}break;case"ArrowUp":if(r.getKeyAbove){var T,N;P.preventDefault();let B=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);B==null&&o&&(B=(N=r.getLastKey)===null||N===void 0?void 0:N.call(r,t.focusedKey)),x(B)}break;case"ArrowLeft":if(r.getKeyLeftOf){var O,$;P.preventDefault();let B=r.getKeyLeftOf(t.focusedKey);B==null&&o&&(B=v==="rtl"?(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r,t.focusedKey):($=r.getLastKey)===null||$===void 0?void 0:$.call(r,t.focusedKey)),x(B,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,H;P.preventDefault();let B=r.getKeyRightOf(t.focusedKey);B==null&&o&&(B=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,t.focusedKey)),x(B,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let B=r.getFirstKey(t.focusedKey,sr(P));t.setFocusedKey(B),sr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):u&&t.replaceSelection(B)}break;case"End":if(r.getLastKey){P.preventDefault();let B=r.getLastKey(t.focusedKey,sr(P));t.setFocusedKey(B),sr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):u&&t.replaceSelection(B)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let B=r.getKeyPageBelow(t.focusedKey);x(B)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let B=r.getKeyPageAbove(t.focusedKey);x(B)}break;case"a":sr(P)&&t.selectionMode==="multiple"&&l!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(P.stopPropagation(),P.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let B=Ie(n.current,{tabbable:!0}),V,K;do K=B.lastChild(),K&&(V=K);while(K);V&&!V.contains(document.activeElement)&<(V)}break}}},D=s.useRef({top:0,left:0});hr(m,"scroll",p?null:()=>{D.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let C=P=>{if(t.isFocused){P.currentTarget.contains(P.target)||t.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(t.setFocused(!0),t.focusedKey==null){let R=N=>{N!=null&&(t.setFocusedKey(N),u&&t.replaceSelection(N))},T=P.relatedTarget;var x,M;T&&P.currentTarget.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_FOLLOWING?R((x=t.lastSelectedKey)!==null&&x!==void 0?x:r.getLastKey()):R((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else p||(m.current.scrollTop=D.current.top,m.current.scrollLeft=D.current.left);if(!p&&t.focusedKey!=null){let R=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(R.contains(document.activeElement)||lt(R),da()==="keyboard"&&la(R,{containingElement:n.current}))}}},E=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const w=s.useRef(a);s.useEffect(()=>{if(w.current){let P=null;a==="first"&&(P=r.getFirstKey()),a==="last"&&(P=r.getLastKey());let x=t.selectedKeys;if(x.size){for(let M of x)if(t.canSelectItem(M)){P=M;break}}t.setFocused(!0),t.setFocusedKey(P),P==null&&!d&&Zt(n.current)}},[]);let S=s.useRef(t.focusedKey);s.useEffect(()=>{let P=da();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let x=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);x&&(P==="keyboard"||w.current)&&(p||Qs(m.current,x),P!=="virtual"&&la(x,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&S.current!=null&&Zt(n.current),S.current=t.focusedKey,w.current=!1},[p,m,t.focusedKey,t.isFocused,n]);let F={onKeyDown:k,onFocus:C,onBlur:E,onMouseDown(P){m.current===P.target&&P.preventDefault()}},{typeSelectProps:b}=kf({keyboardDelegate:r,selectionManager:t});c||(F=Y(b,F));let A;return d||(A=t.focusedKey==null?0:-1),{collectionProps:{...F,tabIndex:A}}}function _3(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:i,isDisabled:l,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=Aa(),p=$=>{if($.pointerType==="keyboard"&&gi($))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(d==="selection"){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(d==="override"||d==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):$&&$.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||$&&(sr($)||$.pointerType==="touch"||$.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};s.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!o&&(i?i():document.activeElement!==n.current&&Zt(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,o]),l=l||t.isDisabled(r);let m={};!o&&!l?m={tabIndex:r===t.focusedKey?0:-1,onFocus($){$.target===n.current&&t.setFocusedKey(r)}}:l&&(m.onMouseDown=$=>{$.preventDefault()});let h=t.isLink(r)&&d==="override",v=t.isLink(r)&&d!=="selection"&&d!=="none",y=!l&&t.canSelectItem(r)&&!h,k=(u||v)&&!l,D=k&&(t.selectionBehavior==="replace"?!y:!y||t.isEmpty),C=k&&y&&t.selectionBehavior==="replace",E=D||C,w=s.useRef(null),S=E&&y,F=s.useRef(!1),b=s.useRef(!1),A=$=>{if(u&&u(),v){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions)}},P={};a?(P.onPressStart=$=>{w.current=$.pointerType,F.current=S,$.pointerType==="keyboard"&&(!E||Ku())&&p($)},c?(P.onPressUp=D?null:$=>{$.pointerType!=="keyboard"&&y&&p($)},P.onPress=D?A:null):P.onPress=$=>{if(D||C&&$.pointerType!=="mouse"){if($.pointerType==="keyboard"&&!Nu())return;A($)}else $.pointerType!=="keyboard"&&y&&p($)}):(P.onPressStart=$=>{w.current=$.pointerType,F.current=S,b.current=D,y&&($.pointerType==="mouse"&&!D||$.pointerType==="keyboard"&&(!k||Ku()))&&p($)},P.onPress=$=>{($.pointerType==="touch"||$.pointerType==="pen"||$.pointerType==="virtual"||$.pointerType==="keyboard"&&E&&Nu()||$.pointerType==="mouse"&&b.current)&&(E?A($):y&&p($))}),m["data-key"]=r,P.preventFocusOnPress=o;let{pressProps:x,isPressed:M}=kt(P),R=C?$=>{w.current==="mouse"&&($.stopPropagation(),$.preventDefault(),A($))}:void 0,{longPressProps:T}=sc({isDisabled:!S,onLongPress($){$.pointerType==="touch"&&(p($),t.setSelectionBehavior("toggle"))}}),N=$=>{w.current==="touch"&&F.current&&$.preventDefault()},O=t.isLink(r)?$=>{Pt.isOpening||$.preventDefault()}:void 0;return{itemProps:Y(m,y||D?x:{},S?T:{},{onDoubleClick:R,onDragStartCapture:N,onClick:O}),isPressed:M,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:l,allowsSelection:y,hasAction:E}}function Nu(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ku(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class hl{isDisabled(t){var r;return this.disabledBehavior==="all"&&(((r=t.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(t.key))}getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let a=this.getItem(t);if(!a)return null;let o=a.getBoundingClientRect();do t=r(t),a=this.getItem(t);while(a&&n(o,a.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}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){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){let r=this.collection.getItem(t);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return t!==null?this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!en(r))return this.getFirstKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.max(0,o.x-i+o.width-a.width);for(;n&&o.x-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.max(0,o.y-i+o.height-a.height);for(;n&&o.y-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!en(r))return this.getLastKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.min(r.scrollWidth,o.x-i-o.width+a.width);for(;n&&o.x-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.min(r.scrollHeight,o.y-i-o.height+a.height);for(;n&&o.y-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,a=r||this.getFirstKey();for(;a!=null;){let o=n.getItem(a),i=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(i,t)===0)return a;a=this.getKeyBelow(a)}return null}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,this.direction=r.direction,this.layout=r.layout||"stack"}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.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function z3(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:a,keyboardDelegate:o}=e,i=ja({usage:"search",sensitivity:"base"}),l=t.disabledBehavior,u=s.useMemo(()=>o||new hl({collection:r,disabledKeys:n,disabledBehavior:l,ref:a,collator:i}),[o,r,n,a,i,l]),{collectionProps:c}=K3({...e,ref:a,selectionManager:t,keyboardDelegate:u});return{listProps:c}}function H3(e,t,r){let n=re(e,{labelable:!0}),a=e.selectionBehavior||"toggle",o=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&o==="action"&&(o="override");let{listProps:i}=z3({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=Tt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Te(e.id);ml.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o});let{labelProps:c,fieldProps:d}=Md({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:Y(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...Y(d,i)})}}class Z3{build(t,r){return this.context=r,_u(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let a of t.items)yield*this.getFullNode({value:a},{renderer:r})}else{let a=[];s.Children.forEach(r,i=>{a.push(i)});let o=0;for(let i of a){let l=this.getFullNode({element:i,index:o},{});for(let u of l)o++,yield u}}}getKey(t,r,n,a){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${a}${r.key}`;let o=r.value;if(o!=null){var i;let l=(i=o.key)!==null&&i!==void 0?i:o.id;if(l==null)throw new Error("No key found for item");return l}return a?`${a}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,a){let o=t.element;if(!o&&t.value&&r&&r.renderer){let u=this.cache.get(t.value);if(u&&(!u.shouldInvalidate||!u.shouldInvalidate(this.context))){u.index=t.index,u.parentKey=a?a.key:null,yield u;return}o=r.renderer(t.value)}if(s.isValidElement(o)){let u=o.type;if(typeof u!="function"&&typeof u.getCollectionNode!="function"){let p=typeof o.type=="function"?o.type.name:o.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=u.getCollectionNode(o.props,this.context),d=t.index,f=c.next();for(;!f.done&&f.value;){let p=f.value;t.index=d;let m=p.key;m||(m=p.element?null:this.getKey(o,t,r,n));let v=[...this.getFullNode({...p,key:m,index:d,wrapper:U3(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${o.key}`:o.key,a)];for(let y of v){if(y.value=p.value||t.value,y.value&&this.cache.set(y.value,y),t.type&&y.type!==t.type)throw new Error(`Unsupported type <${Ao(y.type)}> in <${Ao(a.type)}>. Only <${Ao(t.type)}> is supported.`);d++,yield y}f=c.next(v)}return}if(t.key==null)return;let i=this,l={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:t.value,level:a?a.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,childNodes:_u(function*(){if(!t.hasChildNodes)return;let u=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${l.key}${c.key}`),c.index=u;let d=i.getFullNode(c,i.getChildState(r,c),l.key,l);for(let f of d)u++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function _u(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function U3(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Ao(e){return e[0].toUpperCase()+e.slice(1)}function W3(e,t,r){let n=s.useMemo(()=>new Z3,[]),{children:a,items:o,collection:i}=e;return s.useMemo(()=>{if(i)return i;let u=n.build({children:a,items:o},r);return t(u)},[n,a,o,i,r,t])}function Bf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function G3(e){return q3(e)}function q3(e,t){for(let r of e)return r}function Fo(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...zu(e,t),t],a=[...zu(e,r),r],o=n.slice(0,a.length).findIndex((i,l)=>i!==a[l]);return o!==-1?(t=n[o],r=a[o],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(a.findIndex(i=>i===t)>=0,-1)}function zu(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const Hu=new WeakMap;function Y3(e){let t=Hu.get(e);if(t!=null)return t;t=0;let r=n=>{for(let a of n)a.type==="section"?r(Bf(a,e)):t++};return r(e),Hu.set(e,t),t}function J3(e,t,r){var n,a;let{key:o}=e,i=ml.get(t);var l;let u=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(o);var c;let d=(c=e.isSelected)!==null&&c!==void 0?c:t.selectionManager.isSelected(o);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let h=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var v;let y=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:i==null?void 0:i.shouldUseVirtualFocus;var k;let D=(k=e.isVirtualized)!==null&&k!==void 0?k:i==null?void 0:i.isVirtualized,C=Dr(),E=Dr(),w={role:"option","aria-disabled":u||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?d:void 0};vt()&&zi()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=C,w["aria-describedby"]=E);let S=t.collection.getItem(o);if(D){let O=Number(S==null?void 0:S.index);w["aria-posinset"]=Number.isNaN(O)?void 0:O+1,w["aria-setsize"]=Y3(t.collection)}let F=i!=null&&i.onAction?()=>{var O;return i==null||(O=i.onAction)===null||O===void 0?void 0:O.call(i,o)}:void 0,{itemProps:b,isPressed:A,isFocused:P,hasAction:x,allowsSelection:M}=_3({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&h,isVirtualized:D,shouldUseVirtualFocus:y,isDisabled:u,onAction:F||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?zt(S==null||(a=S.props)===null||a===void 0?void 0:a.onAction,F):void 0,linkBehavior:i==null?void 0:i.linkBehavior}),{hoverProps:R}=$t({isDisabled:u||!h,onHoverStart(){ca()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(o))}}),T=re(S==null?void 0:S.props);delete T.id;let N=Ys(S==null?void 0:S.props);return{optionProps:{...w,...Y(T,b,R,N),id:L3(t,o)},labelProps:{id:C},descriptionProps:{id:E},isFocused:P,isFocusVisible:P&&ca(),isSelected:d,isDisabled:u,isPressed:A,allowsSelection:M,hasAction:x}}function Q3(e){let{heading:t,"aria-label":r}=e,n=Te();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Rf={};Rf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Tf={};Tf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Af={};Af={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Ff={};Ff={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Mf={};Mf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var If={};If={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Of={};Of={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Vf={};Vf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Lf={};Lf={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var jf={};jf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Nf={};Nf={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Kf={};Kf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var _f={};_f={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var zf={};zf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Hf={};Hf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Zf={};Zf={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Uf={};Uf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Wf={};Wf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Gf={};Gf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var qf={};qf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Yf={};Yf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Jf={};Jf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Qf={};Qf={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Xf={};Xf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var e0={};e0={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var t0={};t0={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var r0={};r0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var n0={};n0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var a0={};a0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var o0={};o0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var i0={};i0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var l0={};l0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var u0={};u0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var s0={};s0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var c0={};c0={"ar-AE":Rf,"bg-BG":Tf,"cs-CZ":Af,"da-DK":Ff,"de-DE":Mf,"el-GR":If,"en-US":Of,"es-ES":Vf,"et-EE":Lf,"fi-FI":jf,"fr-FR":Nf,"he-IL":Kf,"hr-HR":_f,"hu-HU":zf,"it-IT":Hf,"ja-JP":Zf,"ko-KR":Uf,"lt-LT":Wf,"lv-LV":Gf,"nb-NO":qf,"nl-NL":Yf,"pl-PL":Jf,"pt-BR":Qf,"pt-PT":Xf,"ro-RO":e0,"ru-RU":t0,"sk-SK":r0,"sl-SI":n0,"sr-SP":a0,"sv-SE":o0,"tr-TR":i0,"uk-UA":l0,"zh-CN":u0,"zh-TW":s0};function X3(e){return e&&e.__esModule?e.default:e}function eg(e,t,r){let{type:n="menu",isDisabled:a,trigger:o="press"}=e,i=Te(),{triggerProps:l,overlayProps:u}=jd({type:n},t,r),c=m=>{if(!a&&!(o==="longPress"&&!m.altKey)&&r&&r.current)switch(m.key){case"Enter":case" ":if(o==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},d=tt(X3(c0),"@react-aria/menu"),{longPressProps:f}=sc({isDisabled:a||o!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!a&&t.open(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!a&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...o==="press"?p:f,id:i,onKeyDown:c},menuProps:{...u,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var d0={};d0={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var f0={};f0={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var p0={};p0={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var m0={};m0={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",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:"år"};var h0={};h0={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var v0={};v0={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var g0={};g0={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}`};var b0={};b0={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",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ía de la semana",year:"año"};var y0={};y0={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var $0={};$0={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var x0={};x0={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var D0={};D0={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var w0={};w0={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",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četka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var E0={};E0={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var C0={};C0={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"};var S0={};S0={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var P0={};P0={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var k0={};k0={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var B0={};B0={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var R0={};R0={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var T0={};T0={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"};var A0={};A0={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",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ątkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var F0={};F0={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",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ário",weekday:"dia da semana",year:"ano"};var M0={};M0={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",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ício",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var I0={};I0={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var O0={};O0={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var V0={};V0={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var L0={};L0={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čje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var j0={};j0={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",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četka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var N0={};N0={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",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:"år"};var K0={};K0={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var _0={};_0={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var z0={};z0={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var H0={};H0={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var En={};En={"ar-AE":d0,"bg-BG":f0,"cs-CZ":p0,"da-DK":m0,"de-DE":h0,"el-GR":v0,"en-US":g0,"es-ES":b0,"et-EE":y0,"fi-FI":$0,"fr-FR":x0,"he-IL":D0,"hr-HR":w0,"hu-HU":E0,"it-IT":C0,"ja-JP":S0,"ko-KR":P0,"lt-LT":k0,"lv-LV":B0,"nb-NO":R0,"nl-NL":T0,"pl-PL":A0,"pt-BR":F0,"pt-PT":M0,"ro-RO":I0,"ru-RU":O0,"sk-SK":V0,"sl-SI":L0,"sr-SP":j0,"sv-SE":N0,"tr-TR":K0,"uk-UA":_0,"zh-CN":z0,"zh-TW":H0};function vl(e,t,r){let{direction:n}=ke(),a=s.useMemo(()=>Oa(t),[t]),o=u=>{if(u.currentTarget.contains(u.target)&&(u.altKey&&(u.key==="ArrowDown"||u.key==="ArrowUp")&&"setOpen"in e&&(u.preventDefault(),u.stopPropagation(),e.setOpen(!0)),!r))switch(u.key){case"ArrowLeft":u.preventDefault(),u.stopPropagation(),n==="rtl"?a.focusNext():a.focusPrevious();break;case"ArrowRight":u.preventDefault(),u.stopPropagation(),n==="rtl"?a.focusPrevious():a.focusNext();break}},i=()=>{var u;let c=(u=window.event)===null||u===void 0?void 0:u.target,d=Ie(t.current,{tabbable:!0});if(c&&(d.currentNode=c,c=d.previousNode()),!c){let f;do f=d.lastChild(),f&&(c=f);while(f)}for(;c!=null&&c.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))c=f;else break}c&&c.focus()},{pressProps:l}=kt({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(u){u.pointerType==="mouse"&&i()},onPress(u){u.pointerType!=="mouse"&&i()}});return Y(l,{onKeyDown:o})}function tg(e){return e&&e.__esModule?e.default:e}const Z0=new WeakMap,Yr="__role_"+Date.now(),U0="__focusManager_"+Date.now();function rg(e,t,r){var n;let{isInvalid:a,validationErrors:o,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:u,descriptionProps:c,errorMessageProps:d}=wn({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||o}),f=s.useRef(null),{focusWithinProps:p}=Tt({...e,onFocusWithin(P){var x;f.current=t.value,(x=e.onFocus)===null||x===void 0||x.call(e,P)},onBlurWithin:P=>{var x;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(x=e.onBlur)===null||x===void 0||x.call(e,P)},onFocusWithinChange:e.onFocusChange}),m=tt(tg(En),"@react-aria/datepicker"),h=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",v=t.maxGranularity==="hour"?"time":"date",y=t.value?m.format(h,{[v]:t.formatValue({month:"long"})}):"",k=yn(y),D=e[Yr]==="presentation"?u["aria-describedby"]:[k["aria-describedby"],u["aria-describedby"]].filter(Boolean).join(" ")||void 0,C=e[U0],E=s.useMemo(()=>C||Oa(r),[C,r]),w=vl(t,r,e[Yr]==="presentation");Z0.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:D,focusManager:E});let S=s.useRef(e.autoFocus),F;e[Yr]==="presentation"?F={role:"presentation"}:F=Y(u,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":D}),s.useEffect(()=>{S.current&&E.focusFirst(),S.current=!1},[E]),Ui(e.inputRef,t.value,t.setValue),pl({...e,focus(){E.focusFirst()}},t,e.inputRef);let b={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||""};e.validationBehavior==="native"&&(b.type="text",b.hidden=!0,b.required=e.isRequired,b.onChange=()=>{});let A=re(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:Y(A,F,w,p,{onKeyDown(P){e.onKeyDown&&e.onKeyDown(P)},onKeyUp(P){e.onKeyUp&&e.onKeyUp(P)}}),inputProps:b,descriptionProps:c,errorMessageProps:d,isInvalid:a,validationErrors:o,validationDetails:i}}function ng(e){return e&&e.__esModule?e.default:e}function ag(e,t,r){let n=Te(),a=Te(),o=Te(),i=tt(ng(En),"@react-aria/datepicker"),{isInvalid:l,validationErrors:u,validationDetails:c}=t.displayValidation,{labelProps:d,fieldProps:f,descriptionProps:p,errorMessageProps:m}=wn({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||u}),h=vl(t,r),v=f["aria-labelledby"]||f.id,{locale:y}=ke(),k=t.formatValue(y,{month:"long"}),D=k?i.format("selectedDateDescription",{date:k}):"",C=yn(D),E=[C["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=re(e),S=s.useMemo(()=>Oa(r),[r]),{focusWithinProps:F}=Tt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:Y(w,h,f,C,F,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":v,"aria-describedby":E,onKeyDown(b){t.isOpen||e.onKeyDown&&e.onKeyDown(b)},onKeyUp(b){t.isOpen||e.onKeyUp&&e.onKeyUp(b)}}),labelProps:{...d,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:o,[Yr]:"presentation","aria-describedby":E,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[wr]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...C,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${v}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${n} ${v}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:u,validationDetails:c}}function og(e){return e&&e.__esModule?e.default:e}function ig(){let{locale:e}=ke(),t=bc(og(En),"@react-aria/datepicker");return s.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new lg(e,t)}},[e,t])}class lg{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}var W0={};W0={Empty:"فارغ"};var G0={};G0={Empty:"Изпразни"};var q0={};q0={Empty:"Prázdné"};var Y0={};Y0={Empty:"Tom"};var J0={};J0={Empty:"Leer"};var Q0={};Q0={Empty:"Άδειο"};var X0={};X0={Empty:"Empty"};var e1={};e1={Empty:"Vacío"};var t1={};t1={Empty:"Tühjenda"};var r1={};r1={Empty:"Tyhjä"};var n1={};n1={Empty:"Vide"};var a1={};a1={Empty:"ריק"};var o1={};o1={Empty:"Prazno"};var i1={};i1={Empty:"Üres"};var l1={};l1={Empty:"Vuoto"};var u1={};u1={Empty:"空"};var s1={};s1={Empty:"비어 있음"};var c1={};c1={Empty:"Tuščias"};var d1={};d1={Empty:"Tukšs"};var f1={};f1={Empty:"Tom"};var p1={};p1={Empty:"Leeg"};var m1={};m1={Empty:"Pusty"};var h1={};h1={Empty:"Vazio"};var v1={};v1={Empty:"Vazio"};var g1={};g1={Empty:"Gol"};var b1={};b1={Empty:"Не заполнено"};var y1={};y1={Empty:"Prázdne"};var $1={};$1={Empty:"Prazen"};var x1={};x1={Empty:"Prazno"};var D1={};D1={Empty:"Tomt"};var w1={};w1={Empty:"Boş"};var E1={};E1={Empty:"Пусто"};var C1={};C1={Empty:"空"};var S1={};S1={Empty:"空白"};var P1={};P1={"ar-AE":W0,"bg-BG":G0,"cs-CZ":q0,"da-DK":Y0,"de-DE":J0,"el-GR":Q0,"en-US":X0,"es-ES":e1,"et-EE":t1,"fi-FI":r1,"fr-FR":n1,"he-IL":a1,"hr-HR":o1,"hu-HU":i1,"it-IT":l1,"ja-JP":u1,"ko-KR":s1,"lt-LT":c1,"lv-LV":d1,"nb-NO":f1,"nl-NL":p1,"pl-PL":m1,"pt-BR":h1,"pt-PT":v1,"ro-RO":g1,"ru-RU":b1,"sk-SK":y1,"sl-SI":$1,"sr-SP":x1,"sv-SE":D1,"tr-TR":w1,"uk-UA":E1,"zh-CN":C1,"zh-TW":S1};function ug(e){return e&&e.__esModule?e.default:e}function sg(e){const t=s.useRef();let{value:r,textValue:n,minValue:a,maxValue:o,isDisabled:i,isReadOnly:l,isRequired:u,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:h}=e;const v=tt(ug(P1),"@react-aria/spinbutton"),y=()=>clearTimeout(t.current);s.useEffect(()=>()=>y(),[]);let k=x=>{if(!(x.ctrlKey||x.metaKey||x.shiftKey||x.altKey||l))switch(x.key){case"PageUp":if(d){x.preventDefault(),d==null||d();break}case"ArrowUp":case"Up":c&&(x.preventDefault(),c==null||c());break;case"PageDown":if(p){x.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(x.preventDefault(),f==null||f());break;case"Home":m&&(x.preventDefault(),m==null||m());break;case"End":h&&(x.preventDefault(),h==null||h());break}},D=s.useRef(!1),C=()=>{D.current=!0},E=()=>{D.current=!1},w=n===""?v.format("Empty"):(n||`${r}`).replace("-","−");s.useEffect(()=>{D.current&&(t3("assertive"),pi(w,"assertive"))},[w]);const S=Be(x=>{y(),c==null||c(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||r===void 0||isNaN(r)||r<o)&&S(60)},x)}),F=Be(x=>{y(),f==null||f(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r>a)&&F(60)},x)});let b=x=>{x.preventDefault()},{addGlobalListener:A,removeAllGlobalListeners:P}=Hi();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":w,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":u||void 0,onKeyDown:k,onFocus:C,onBlur:E},incrementButtonProps:{onPressStart:()=>{S(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),P()},onFocus:C,onBlur:E},decrementButtonProps:{onPressStart:()=>{F(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),P()},onFocus:C,onBlur:E}}}function cg(e,t,r){let n=s.useRef(""),{locale:a}=ke(),o=ig(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:u,focusManager:c}=Z0.get(t),d=e.isPlaceholder?"":e.text,f=s.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=st({month:"long",timeZone:f.timeZone}),m=st({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let $=p.format(t.dateValue);d=$!==d?`${d} – ${$}`:$}else e.type==="hour"&&!e.isPlaceholder&&(d=m.format(t.dateValue));let{spinButtonProps:h}=sg({value:e.value,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",t.setSegment(e.type,e.minValue)}}),v=s.useMemo(()=>new Wc(a,{maximumFractionDigits:0}),[a]),y=()=>{if(e.text===e.placeholder&&c.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let $=e.text.slice(0,-1),z=v.parse($);$=z===0?"":$,$.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=$}else e.type==="dayPeriod"&&t.clearSegment(e.type)},k=$=>{if($.key==="a"&&(vt()?$.metaKey:$.ctrlKey)&&$.preventDefault(),!($.ctrlKey||$.metaKey||$.shiftKey||$.altKey))switch($.key){case"Backspace":case"Delete":$.preventDefault(),$.stopPropagation(),y();break}},{startsWith:D}=Qv({sensitivity:"base"}),C=st({hour:"numeric",hour12:!0}),E=s.useMemo(()=>{let $=new Date;return $.setHours(0),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),w=s.useMemo(()=>{let $=new Date;return $.setHours(12),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),S=st({year:"numeric",era:"narrow",timeZone:"UTC"}),F=s.useMemo(()=>{if(e.type!=="era")return[];let $=pe(new ge(1,1,1),t.calendar),z=t.calendar.getEras().map(B=>{let V=$.set({year:1,month:1,day:1,era:B}).toDate("UTC"),W=S.formatToParts(V).find(U=>U.type==="era").value;return{era:B,formatted:W}}),H=dg(z.map(B=>B.formatted));if(H)for(let B of z)B.formatted=B.formatted.slice(H);return z},[S,t.calendar,e.type]),b=$=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+$;switch(e.type){case"dayPeriod":if(D(E,$))t.setSegment("dayPeriod",0);else if(D(w,$))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let H=F.find(B=>D(B.formatted,$));H&&(t.setSegment("era",H.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let H=v.parse(z),B=H,V=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(B=v.parse($));break;case"h12":V=!1,H>12&&(B=v.parse($));break}e.value>=12&&H>1&&(H+=12)}else H>e.maxValue&&(B=v.parse($));if(isNaN(H))return;let K=B!==0||V;K&&t.setSegment(e.type,B),+(H+"0")>e.maxValue||z.length>=String(e.maxValue).length?(n.current="",K&&c.focusNext()):n.current=z;break}}},A=()=>{n.current="",la(r.current,{containingElement:Ma(r.current)}),window.getSelection().collapse(r.current)},P=s.useRef("");hr(r,"beforeinput",$=>{switch($.preventDefault(),$.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":P.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:$.data!=null&&b($.data);break}}),hr(r,"input",$=>{let{inputType:z,data:H}=$;switch(z){case"insertCompositionText":r.current.textContent=P.current,(D(E,H)||D(w,H))&&b(H);break}}),ie(()=>{let $=r.current;return()=>{document.activeElement===$&&(c.focusPrevious()||c.focusNext())}},[r,c]);let x=gn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},M=s.useMemo(()=>t.segments.find($=>$.isEditable),[t.segments]);e!==M&&!t.isInvalid&&(u=void 0);let R=Te(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,N=e.type==="literal"?"":o.of(e.type),O=bn({"aria-label":`${N}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:Y(h,O,{id:R,...x,"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:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(s.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:k,onFocus:A,style:{caretColor:"transparent"},onPointerDown($){$.stopPropagation()},onMouseDown($){$.stopPropagation()}})}}function dg(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function fg(e){return e&&e.__esModule?e.default:e}function pg(e,t,r){var n,a;let o=tt(fg(En),"@react-aria/datepicker"),{isInvalid:i,validationErrors:l,validationDetails:u}=t.displayValidation,{labelProps:c,fieldProps:d,descriptionProps:f,errorMessageProps:p}=wn({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||l}),m=d["aria-labelledby"]||d.id,{locale:h}=ke(),v=t.formatValue(h,{month:"long"}),y=v?o.format("selectedRangeDescription",{startDate:v.start,endDate:v.end}):"",k=yn(y),D={"aria-label":o.format("startDate"),"aria-labelledby":m},C={"aria-label":o.format("endDate"),"aria-labelledby":m},E=Te(),w=Te(),S=vl(t,r),F=[k["aria-describedby"],d["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=s.useMemo(()=>Oa(r,{accept:T=>T.id!==E}),[r,E]),A={[U0]:b,[Yr]:"presentation","aria-describedby":F,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},P=re(e),{focusWithinProps:x}=Tt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),M=s.useRef(Ct),R=s.useRef(Ct);return{groupProps:Y(P,S,d,k,x,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":F,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...c,onClick:()=>{b.focusFirst()}},buttonProps:{...k,id:E,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${E} ${m}`,"aria-describedby":F,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${E} ${m}`},startFieldProps:{...D,...A,value:(n=t.value)===null||n===void 0?void 0:n.start,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[wr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){M.current=T,t.updateValidation(sn(T,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(a=t.value)===null||a===void 0?void 0:a.end,onChange:T=>t.setDateTime("end",T),name:e.endName,[wr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){R.current=T,t.updateValidation(sn(M.current,T))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:f,errorMessageProps:p,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:l,validationDetails:u}}function mg(e,t){let{role:r="dialog"}=e,n=Dr();n=e["aria-label"]?void 0:n;let a=s.useRef(!1);return s.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Zt(t.current);let o=setTimeout(()=>{document.activeElement===t.current&&(a.current=!0,t.current&&(t.current.blur(),Zt(t.current)),a.current=!1)},500);return()=>{clearTimeout(o)}}},[t]),Pf(),{dialogProps:{...re(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:o=>{a.current&&o.stopPropagation()}},titleProps:{id:n}}}const k1=new WeakMap;function hg(e,t,r){let{keyboardDelegate:n,isDisabled:a,isRequired:o,name:i,validationBehavior:l="aria"}=e,u=ja({usage:"search",sensitivity:"base"}),c=s.useMemo(()=>n||new hl(t.collection,t.disabledKeys,null,u),[n,t.collection,t.disabledKeys,u]),{menuTriggerProps:d,menuProps:f}=eg({isDisabled:a,type:"listbox"},t,r),p=b=>{switch(b.key){case"ArrowLeft":{b.preventDefault();let A=t.selectedKey!=null?c.getKeyAbove(t.selectedKey):c.getFirstKey();A&&t.setSelectedKey(A);break}case"ArrowRight":{b.preventDefault();let A=t.selectedKey!=null?c.getKeyBelow(t.selectedKey):c.getFirstKey();A&&t.setSelectedKey(A);break}}},{typeSelectProps:m}=kf({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(b){t.setSelectedKey(b)}}),{isInvalid:h,validationErrors:v,validationDetails:y}=t.displayValidation,{labelProps:k,fieldProps:D,descriptionProps:C,errorMessageProps:E}=wn({...e,labelElementType:"span",isInvalid:h,errorMessage:e.errorMessage||v});m.onKeyDown=m.onKeyDownCapture,delete m.onKeyDownCapture;let w=re(e,{labelable:!0}),S=Y(m,d,D),F=Te();return k1.set(t,{isDisabled:a,isRequired:o,name:i,validationBehavior:l}),{labelProps:{...k,onClick:()=>{e.isDisabled||(r.current.focus(),uc("keyboard"))}},triggerProps:Y(w,{...S,isDisabled:a,onKeyDown:zt(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(b){t.isFocused||(e.onFocus&&e.onFocus(b),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(b){t.isOpen||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:b=>{b.currentTarget.contains(b.relatedTarget)||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[D["aria-labelledby"],S["aria-label"]&&!D["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:C,errorMessageProps:E,isInvalid:h,validationErrors:v,validationDetails:y}}function vg(e,t,r){let n=k1.get(t)||{},{autoComplete:a,name:o=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:u}=n,c=fh(),{visuallyHiddenProps:d}=wf();Ui(e.selectRef,t.selectedKey,t.setSelectedKey),pl({validationBehavior:l,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:i},selectProps:{tabIndex:-1,autoComplete:a,disabled:i,required:l==="native"&&u,name:o,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:p=>t.setSelectedKey(p.target.value)}}}function gg(e){let{state:t,triggerRef:r,label:n,name:a,isDisabled:o}=e,i=s.useRef(null),{containerProps:l,inputProps:u,selectProps:c}=vg({...e,selectRef:i},t,r);var d;return t.collection.size<=300?s.createElement("div",{...l,"data-testid":"hidden-select-container"},s.createElement("input",u),s.createElement("label",null,n,s.createElement("select",{...c,ref:i},s.createElement("option",null),[...t.collection.getKeys()].map(f=>{let p=t.collection.getItem(f);if(p.type==="item")return s.createElement("option",{key:p.key,value:p.key},p.textValue)})))):a?s.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:a,disabled:o,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function bg(e){let t=re(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function yg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function B1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var bi={exports:{}},Mo={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Zu;function $g(){if(Zu)return Mo;Zu=1;var e=s;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),h=n({inst:{value:m,getSnapshot:p}}),v=h[0].inst,y=h[1];return o(function(){v.value=m,v.getSnapshot=p,u(v)&&y({inst:v})},[f,m,p]),a(function(){return u(v)&&y({inst:v}),f(function(){u(v)&&y({inst:v})})},[f]),i(m),m}function u(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!r(f,m)}catch{return!0}}function c(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:l;return Mo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Mo}var Io={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Zs;function gg(){return Zs||(Zs=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=u,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(C){{for(var E=arguments.length,D=new Array(E>1?E-1:0),S=1;S<E;S++)D[S-1]=arguments[S];n("error",C,D)}}function n(C,E,D){{var S=t.ReactDebugCurrentFrame,A=S.getStackAddendum();A!==""&&(E+="%s",D=D.concat([A]));var b=D.map(function(F){return String(F)});b.unshift("Warning: "+E),Function.prototype.apply.call(console[C],console,b)}}function a(C,E){return C===E&&(C!==0||1/C===1/E)||C!==C&&E!==E}var o=typeof Object.is=="function"?Object.is:a,i=e.useState,l=e.useEffect,s=e.useLayoutEffect,c=e.useDebugValue,d=!1,f=!1;function p(C,E,D){d||e.startTransition!==void 0&&(d=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var S=E();if(!f){var A=E();o(S,A)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var b=i({inst:{value:S,getSnapshot:E}}),F=b[0].inst,P=b[1];return s(function(){F.value=S,F.getSnapshot=E,h(F)&&P({inst:F})},[C,S,E]),l(function(){h(F)&&P({inst:F});var x=function(){h(F)&&P({inst:F})};return C(x)},[C]),c(S),S}function h(C){var E=C.getSnapshot,D=C.value;try{var S=E();return!o(D,S)}catch{return!0}}function m(C,E,D){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$=!v,B=$?m:p,w=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:B;Mo.useSyncExternalStore=w,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Mo}process.env.NODE_ENV==="production"?gi.exports=vg():gi.exports=gg();var bg=gi.exports;class vl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new vl(this.type,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}constructor(t,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.type=t,this.key=r}}class S1{*[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(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),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),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode;let n=r;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this)return;this.ownerDocument.startTransaction();let r=t.nextSibling;for(;r;)r.index--,r=r.nextSibling;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.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class cn extends S1{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof cn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,a;let o=this.ownerDocument.getMutableNode(this);o.index=this.index,o.level=this.level,o.parentKey=this.parentNode instanceof cn?this.parentNode.node.key:null;var i;o.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;o.nextKey=(l=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&l!==void 0?l:null,o.hasChildNodes=!!this.firstChild;var s;o.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var c;o.lastChildKey=(c=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&c!==void 0?c:null}setProps(t,r,n){let a=this.ownerDocument.getMutableNode(this),{value:o,textValue:i,id:l,...s}=t;if(s.ref=r,a.props=s,a.rendered=n,a.value=o,a.textValue=i||(typeof n=="string"?n:"")||t["aria-label"]||"",l!=null&&l!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=l}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new vl(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class yg{get size(){return this.keyMap.size}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 n=r.get(t),a=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?r.get(a.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);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n: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==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t==null?void 0:t.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r: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}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class $g extends S1{get isConnected(){return!0}createElement(t){return new cn(t,this)}getMutableNode(t){let r=t.node;return this.mutatedNodes.has(t)||(r=t.node.clone(),this.mutatedNodes.add(t),t.node=r),this.markDirty(t),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let r=this.getMutableCollection();if(!r.getItem(t.node.key)){r.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let o of this.dirtyNodes)o instanceof cn&&o.isConnected&&o.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let o=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&o.addNode(i.node);var n,a;o.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(a=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&a!==void 0?a:null,this.isSSR),this.mutatedNodes.clear()}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function gl(e){let{children:t,items:r,idScope:n,addIdAndValue:a,dependencies:o=[]}=e,i=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof t=="function"){let c=[];for(let d of r){let f=i.get(d);if(!f){f=t(d);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:d.key)!==null&&s!==void 0?s:d.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=u.cloneElement(f,a?{key:p,id:p,value:d}:{key:p}),i.set(d,f)}c.push(f)}return c}else if(typeof t!="function")return t},[t,r,i,n,a])}function xg(e){return gl({...e,addIdAndValue:!0})}const P1=u.createContext(!1);function Dg(e,t){let{collection:r,document:n}=k1(t);return{portal:B1(e,n),collection:r}}function wg(e,t,r){let n=yt(),a=u.useRef(n);a.current=n;let o=u.useCallback(()=>a.current?r():t(),[t,r]);return bg.useSyncExternalStore(e,o)}const Eg=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:wg;function k1(e){let t=u.useMemo(()=>new $g(e||new yg),[e]),r=u.useCallback(i=>t.subscribe(i),[t]),n=u.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),a=u.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Eg(r,n,a),document:t}}const bi=u.createContext(null),bl=u.createContext(null);function B1(e,t){let r=u.useContext(bl),n=t??r,a=xg(e),o=u.useMemo(()=>u.createElement(P1.Provider,{value:!0},a),[a]);return yt()?u.createElement(bi.Provider,{value:n},o):vn.createPortal(o,n)}function Cg(e){return u.createElement(u.Fragment,null,B1(e))}function R1(e,t,r){let n=u.useContext(P1);var a;return n?(a=T1(e,t,r,"children"in t?t.children:null))!==null&&a!==void 0?a:u.createElement(u.Fragment,null):null}function Sg(e,t,r){return u.useCallback(n=>{n==null||n.setProps(e,t,r)},[e,t,r])}function T1(e,t,r,n,a){let o=Sg(t,r,n),i=u.useContext(bi);if(i){let l=i.ownerDocument.nodesByProps.get(t);return l||(l=i.ownerDocument.createElement(e),l.setProps(t,r,n),i.appendChild(l),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(t,l)),a?u.createElement(bi.Provider,{value:l},a):null}return u.createElement(e,{ref:o},a)}const yi=Symbol("default");function je({values:e,children:t}){for(let[r,n]of e)t=u.createElement(r.Provider,{value:n},t);return t}function Ce(e){let{className:t,style:r,children:n,defaultClassName:a,defaultChildren:o,defaultStyle:i,values:l}=e;return u.useMemo(()=>{let s,c,d;return typeof t=="function"?s=t({...l,defaultClassName:a}):s=t,typeof r=="function"?c=r({...l,defaultStyle:i||{}}):c=r,typeof n=="function"?d=n({...l,defaultChildren:o}):n==null?d=o:d=n,{className:s??a,style:c||i?{...i,...c}:void 0,children:d??o,"data-rac":""}},[t,r,n,a,o,i,l])}function Qt(e,t){let r=u.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(o=>`"${o}"`));if(!t&&!r.slots[yi])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let a=t||yi;if(!r.slots[a])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[a]}return r}function Se(e,t,r){let n=Qt(r,e.slot)||{},{ref:a,...o}=n,i=Pt(u.useMemo(()=>Ra(t,a),[t,a])),l=J(o,e);return"style"in o&&o.style&&"style"in e&&e.style&&(typeof o.style=="function"||typeof e.style=="function"?l.style=s=>{let c=typeof o.style=="function"?o.style(s):o.style,d={...s.defaultStyle,...c},f=typeof e.style=="function"?e.style({...s,defaultStyle:d}):e.style;return{...d,...f}}:l.style={...o.style,...e.style}),[l,i]}function Cn(){let[e,t]=u.useState(!0),r=u.useRef(!1),n=u.useCallback(a=>{r.current=!0,t(!!a)},[]);return ie(()=>{r.current||t(!1)},[]),[n,e]}function yl(e,t=!0){let[r,n]=u.useState(!0);return A1(e,r&&t,u.useCallback(()=>n(!1),[])),r&&t}function $i(e,t){let[r,n]=u.useState(!1),[a,o]=u.useState("idle");return!t&&e.current&&a==="idle"&&(r=!0,n(!0),o("exiting")),!e.current&&a==="exited"&&o("idle"),A1(e,r,u.useCallback(()=>{o("exited"),n(!1)},[])),r}function A1(e,t,r){let n=u.useRef(null);t&&e.current&&(n.current=window.getComputedStyle(e.current).animation),ie(()=>{if(t&&e.current){let a=window.getComputedStyle(e.current);if(a.animationName&&a.animationName!=="none"&&a.animation!==n.current){let o=l=>{l.target===e.current&&(i.removeEventListener("animationend",o),vn.flushSync(()=>{r()}))},i=e.current;return i.addEventListener("animationend",o),()=>{i.removeEventListener("animationend",o)}}else r()}},[e,t,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const dn=u.createContext(!1),Pg=typeof DocumentFragment<"u"?new DocumentFragment:null;function kg(e){let t=u.useContext(dn),r=yt();if(t)return u.createElement(u.Fragment,null,e.children);let n=u.createElement(dn.Provider,{value:!0},e.children);return r?u.createElement("template",{"data-react-aria-hidden":!0},n):vn.createPortal(n,Pg)}function F1(e){let t=(r,n)=>u.useContext(dn)?null:e(r,n);return t.displayName=e.displayName||e.name,u.forwardRef(t)}function $l(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}const Bg=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Tr=u.createContext({});function Rg(e,t){[e,t]=Se(e,t,Tr);let r=e,{buttonProps:n,isPressed:a}=qv(e,t),{focusProps:o,isFocused:i,isFocusVisible:l}=ut(e),{hoverProps:s,isHovered:c}=Bt(e),d=Ce({...e,values:{isHovered:c,isPressed:a,isFocused:i,isFocusVisible:l,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return u.createElement("button",{...re(e,{propNames:Bg}),...J(n,o,s),...d,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||a||void 0,"data-hovered":c||void 0,"data-focused":i||void 0,"data-focus-visible":l||void 0})}const M1=F1(Rg),Tt=u.createContext({});function $r(e,t,r){return t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0}function xi(e,t,r,n,a){let o={};for(let l in t)o[l]=Math.floor(t[l]/2),o[l]>0&&t[l]%2===0&&o[l]--;let i=Vt(e,t,r).subtract(o);return fn(e,i,t,r,n,a)}function Vt(e,t,r,n,a){let o=e;return t.years?o=zm(e):t.months?o=Ut(e):t.weeks&&(o=nn(e,r)),fn(e,o,t,r,n,a)}function Di(e,t,r,n,a){let o={...t};t.days?o.days--:t.weeks?o.weeks--:t.months?o.months--:t.years&&o.years--;let i=Vt(e,t,r).subtract(o);return fn(e,i,t,r,n,a)}function fn(e,t,r,n,a,o){return a&&e.compare(a)>=0&&(t=Xi(t,Vt(Ae(a),r,n))),o&&e.compare(o)<=0&&(t=Qi(t,Di(Ae(o),r,n))),t}function xt(e,t,r){return t&&(e=Xi(e,Ae(t))),r&&(e=Qi(e,Ae(r))),e}function I1(e,t,r){if(!r)return e;for(;e.compare(t)>=0&&r(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function O1(e){let t=u.useMemo(()=>new mt(e.locale),[e.locale]),r=u.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:a,visibleDuration:o={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:c,pageBehavior:d="visible"}=e,f=u.useMemo(()=>a(r.calendar),[a,r.calendar]),[p,h]=Xe(e.value,e.defaultValue,e.onChange),m=u.useMemo(()=>p?pe(Ae(p),f):null,[p,f]),v=u.useMemo(()=>p&&"timeZone"in p?p.timeZone:r.timeZone,[p,r.timeZone]),$=u.useMemo(()=>e.focusedValue?xt(pe(Ae(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),B=u.useMemo(()=>xt(e.defaultFocusedValue?pe(Ae(e.defaultFocusedValue),f):m||pe(Ji(v),f),i,l),[e.defaultFocusedValue,m,v,f,i,l]),[w,C]=Xe($,B,e.onFocusChange),[E,D]=u.useState(()=>{switch(s){case"start":return Vt(w,o,n,i,l);case"end":return Di(w,o,n,i,l);case"center":default:return xi(w,o,n,i,l)}}),[S,A]=u.useState(e.autoFocus||!1),b=u.useMemo(()=>{let y={...o};return y.days?y.days--:y.days=-1,E.add(y)},[E,o]),[F,P]=u.useState(f.identifier);if(f.identifier!==F){let y=pe(w,f);D(xi(y,o,n,i,l)),C(y),P(f.identifier)}$r(w,i,l)?C(xt(w,i,l)):w.compare(E)<0?D(Di(w,o,n,i,l)):w.compare(b)>0&&D(Vt(w,o,n,i,l));function x(y){y=xt(y,i,l),C(y)}function M(y){if(!e.isDisabled&&!e.isReadOnly){if(y===null){h(null);return}if(y=xt(y,i,l),y=I1(y,E,c),!y)return;y=pe(y,(p==null?void 0:p.calendar)||new Ve),p&&"hour"in p?h(p.set(y)):h(y)}}let R=u.useMemo(()=>m?c&&c(m)?!0:$r(m,i,l):!1,[m,c,i,l]),T=e.isInvalid||e.validationState==="invalid"||R,j=T?"invalid":null,O=u.useMemo(()=>d==="visible"?o:Io(o),[d,o]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:m,setValue:M,visibleRange:{start:E,end:b},minValue:i,maxValue:l,focusedDate:w,timeZone:v,validationState:j,isValueInvalid:T,setFocusedDate(y){x(y),A(!0)},focusNextDay(){x(w.add({days:1}))},focusPreviousDay(){x(w.subtract({days:1}))},focusNextRow(){o.days?this.focusNextPage():(o.weeks||o.months||o.years)&&x(w.add({weeks:1}))},focusPreviousRow(){o.days?this.focusPreviousPage():(o.weeks||o.months||o.years)&&x(w.subtract({weeks:1}))},focusNextPage(){let y=E.add(O);C(xt(w.add(O),i,l)),D(Vt(fn(w,y,O,n,i,l),O,n))},focusPreviousPage(){let y=E.subtract(O);C(xt(w.subtract(O),i,l)),D(Vt(fn(w,y,O,n,i,l),O,n))},focusSectionStart(){o.days?x(E):o.weeks?x(nn(w,n)):(o.months||o.years)&&x(Ut(w))},focusSectionEnd(){o.days?x(b):o.weeks?x(Um(w,n)):(o.months||o.years)&&x(va(w))},focusNextSection(y){if(!y&&!o.days){x(w.add(Io(o)));return}o.days?this.focusNextPage():o.weeks?x(w.add({months:1})):(o.months||o.years)&&x(w.add({years:1}))},focusPreviousSection(y){if(!y&&!o.days){x(w.subtract(Io(o)));return}o.days?this.focusPreviousPage():o.weeks?x(w.subtract({months:1})):(o.months||o.years)&&x(w.subtract({years:1}))},selectFocusedDate(){M(w)},selectDate(y){M(y)},isFocused:S,setFocused:A,isInvalid(y){return $r(y,i,l)},isSelected(y){return m!=null&&xe(y,m)&&!this.isCellDisabled(y)&&!this.isCellUnavailable(y)},isCellFocused(y){return S&&w&&xe(y,w)},isCellDisabled(y){return e.isDisabled||y.compare(E)<0||y.compare(b)>0||this.isInvalid(y,i,l)},isCellUnavailable(y){return e.isDateUnavailable&&e.isDateUnavailable(y)},isPreviousVisibleRangeInvalid(){let y=E.subtract({days:1});return xe(y,E)||this.isInvalid(y,i,l)},isNextVisibleRangeInvalid(){let y=b.add({days:1});return xe(y,b)||this.isInvalid(y,i,l)},getDatesInWeek(y,z=E){let H=z.add({weeks:y}),k=[];H=nn(H,n);let V=Yi(H,n);for(let K=0;K<V;K++)k.push(null);for(;k.length<7;){k.push(H);let K=H.add({days:1});if(xe(H,K))break;H=K}for(;k.length<7;)k.push(null);return k}}}function Io(e){let t={...e};for(let r in e)t[r]=1;return t}function Tg(e){let{value:t,defaultValue:r,onChange:n,createCalendar:a,locale:o,visibleDuration:i={months:1},minValue:l,maxValue:s,...c}=e,[d,f]=Xe(t,r||null,n),[p,h]=u.useState(null),m="center";if(d&&d.start&&d.end){let z=xi(Ae(d.start),i,o,l,s).add(i).subtract({days:1});d.end.compare(z)>0&&(m="start")}let v=u.useRef(null),[$,B]=u.useState(null),w=u.useMemo(()=>Xi(l,$==null?void 0:$.start),[l,$]),C=u.useMemo(()=>Qi(s,$==null?void 0:$.end),[s,$]),E=O1({...c,value:d&&d.start,createCalendar:a,locale:o,visibleDuration:i,minValue:w,maxValue:C,selectionAlignment:m}),D=y=>{y&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(v.current={start:Ws(y,E,-1),end:Ws(y,E,1)},B(v.current)):(v.current=null,B(null))},[S,A]=u.useState(E.visibleRange);(!ni(E.visibleRange.start,S.start)||!ni(E.visibleRange.end,S.end))&&(D(p),A(E.visibleRange));let b=y=>{y?(h(y),D(y)):(h(null),D(null))},F=p?Oo(p,E.focusedDate):d&&Oo(d.start,d.end),P=y=>{if(!e.isReadOnly&&(y=xt(y,w,C),y=I1(y,E.visibleRange.start,e.isDateUnavailable),!!y))if(!p)b(y);else{let z=Oo(p,y);f({start:Us(z.start,d==null?void 0:d.start),end:Us(z.end,d==null?void 0:d.end)}),b(null)}},[x,M]=u.useState(!1),{isDateUnavailable:R}=e,T=u.useMemo(()=>!d||p?!1:R&&(R(d.start)||R(d.end))?!0:$r(d.start,l,s)||$r(d.end,l,s),[R,d,p,l,s]),j=e.isInvalid||e.validationState==="invalid"||T;return{...E,value:d,setValue:f,anchorDate:p,setAnchorDate:b,highlightedRange:F,validationState:j?"invalid":null,isValueInvalid:j,selectFocusedDate(){P(E.focusedDate)},selectDate:P,highlightDate(y){p&&E.setFocusedDate(y)},isSelected(y){return F&&y.compare(F.start)>=0&&y.compare(F.end)<=0&&!E.isCellDisabled(y)&&!E.isCellUnavailable(y)},isInvalid(y){var z,H;return E.isInvalid(y)||$r(y,(z=v.current)===null||z===void 0?void 0:z.start,(H=v.current)===null||H===void 0?void 0:H.end)},isDragging:x,setDragging:M}}function Oo(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Ae(e),end:Ae(t)})}function Us(e,t){return e=pe(e,(t==null?void 0:t.calendar)||new Ve),t&&"hour"in t?t.set(e):e}function Ws(e,t,r){let n=e.add({days:r});for(;(r<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:r});return t.isCellUnavailable(n)?n.add({days:-r}):null}function Ag(e={}){let[t,r]=Xe(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,a=u.useRef(new Map),o=Jt({...e,value:t}),i=o.displayValidation.isInvalid;var l;return{...o,value:t,setValue(c){e.isReadOnly||e.isDisabled||r(c)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(c){return t.includes(c)},addValue(c){e.isReadOnly||e.isDisabled||t.includes(c)||r(t.concat(c))},removeValue(c){e.isReadOnly||e.isDisabled||t.includes(c)&&r(t.filter(d=>d!==c))},toggleValue(c){e.isReadOnly||e.isDisabled||(t.includes(c)?r(t.filter(d=>d!==c)):r(t.concat(c)))},setInvalid(c,d){let f=new Map(a.current);d.isInvalid?f.set(c,d):f.delete(c),a.current=f,o.updateValidation(un(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class Gs{*[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}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let i of o.childNodes)r(i)};for(let o of t)r(o);let n,a=0;for(let[o,i]of this.keyMap)n?(n.nextKey=o,i.prevKey=n.key):(this.firstKey=o,i.prevKey=void 0),i.type==="item"&&(i.index=a++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}class Ye extends Set{constructor(t,r,n){super(t),t instanceof Ye?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function Fg(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Mg(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:o="all"}=e,i=u.useRef(!1),[,l]=u.useState(!1),s=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),f=u.useMemo(()=>qs(e.selectedKeys),[e.selectedKeys]),p=u.useMemo(()=>qs(e.defaultSelectedKeys,new Ye),[e.defaultSelectedKeys]),[h,m]=Xe(f,p,e.onSelectionChange),v=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,B]=u.useState(a);a==="replace"&&$==="toggle"&&typeof h=="object"&&h.size===0&&B("replace");let w=u.useRef(a);return u.useEffect(()=>{a!==w.current&&(B(a),w.current=a)},[a]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:$,setSelectionBehavior:B,get isFocused(){return i.current},setFocused(C){i.current=C,l(C)},get focusedKey(){return s.current},get childFocusStrategy(){return c.current},setFocusedKey(C,E="first"){s.current=C,c.current=E,d(C)},selectedKeys:h,setSelectedKeys(C){(n||!Fg(C,h))&&m(C)},disabledKeys:v,disabledBehavior:o}}function qs(e,t){return e?e==="all"?"all":new Ye(e):t}class Ig{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){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ao(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Ao(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}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}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Ye([t],t,t);else{let n=this.state.selectedKeys,a=n.anchorKey||t;r=new Ye(n,a,t);for(let o of this.getKeyRange(a,n.currentKey||t))r.delete(o);for(let o of this.getKeyRange(t,a))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),a=this.collection.getItem(r);return n&&a?Ao(this.collection,n,a)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],a=t;for(;a;){let o=this.collection.getItem(a);if((o&&o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&n.push(a),a===r)return n;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;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}if(t=this.getKey(t),t==null)return;let r=new Ye(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Ye([t],t,t):new Ye;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Ye;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let a=this.collection.getItem(n);a.type==="item"&&t.push(n),a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r(H3(Cf(a,this.collection)).key)}n=this.collection.getKeyAfter(n)}};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 Ye)}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!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(t){var r;return(r=this.collection.getItem(t))===null||r===void 0?void 0:r.props}constructor(t,r,n){this.collection=t,this.state=r;var a;this.allowsCellSelection=(a=n==null?void 0:n.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null}}function V1(e){let{filter:t}=e,r=Mg(e),n=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=u.useCallback(c=>t?new Gs(t(c)):new Gs(c),[t]),o=u.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=z3(e,a,o),l=u.useMemo(()=>new Ig(i,r),[i,r]);const s=u.useRef(null);return u.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const c=s.current.getItem(r.focusedKey),d=[...s.current.getKeys()].map(v=>{const $=s.current.getItem(v);return $.type==="item"?$:null}).filter(v=>v!==null),f=[...i.getKeys()].map(v=>{const $=i.getItem(v);return $.type==="item"?$:null}).filter(v=>v!==null),p=d.length-f.length;let h=Math.min(p>1?Math.max(c.index-p+1,0):c.index,f.length-1),m;for(;h>=0;){if(!l.isDisabled(f[h].key)){m=f[h];break}h<f.length-1?h++:(h>c.index&&(h=c.index),h--)}r.setFocusedKey(m?m.key:null)}s.current=i},[i,l,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:l}}function Og(e){var t;let[r,n]=Xe(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),a=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:i,selectionManager:l}=V1({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,onSelectionChange:c=>{var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:i,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}function Ar(e){let[t,r]=Xe(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=u.useCallback(()=>{r(!0)},[r]),a=u.useCallback(()=>{r(!1)},[r]),o=u.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:a,toggle:o}}var L1={};L1={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var j1={};j1={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var N1={};N1={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var K1={};K1={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var _1={};_1={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var z1={};z1={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var H1={};H1={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."};var Z1={};Z1={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var U1={};U1={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var W1={};W1={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var G1={};G1={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var q1={};q1={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Y1={};Y1={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var J1={};J1={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Q1={};Q1={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."};var X1={};X1={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var e4={};e4={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var t4={};t4={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var r4={};r4={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var n4={};n4={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var a4={};a4={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."};var o4={};o4={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var i4={};i4={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var l4={};l4={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var s4={};s4={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var u4={};u4={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var c4={};c4={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var d4={};d4={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var f4={};f4={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var p4={};p4={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var h4={};h4={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var m4={};m4={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var v4={};v4={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var g4={};g4={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var b4={};b4={"ar-AE":L1,"bg-BG":j1,"cs-CZ":N1,"da-DK":K1,"de-DE":_1,"el-GR":z1,"en-US":H1,"es-ES":Z1,"et-EE":U1,"fi-FI":W1,"fr-FR":G1,"he-IL":q1,"hr-HR":Y1,"hu-HU":J1,"it-IT":Q1,"ja-JP":X1,"ko-KR":e4,"lt-LT":t4,"lv-LV":r4,"nb-NO":n4,"nl-NL":a4,"pl-PL":o4,"pt-BR":i4,"pt-PT":l4,"ro-RO":s4,"ru-RU":u4,"sk-SK":c4,"sl-SI":d4,"sr-SP":f4,"sv-SE":p4,"tr-TR":h4,"uk-UA":m4,"zh-CN":v4,"zh-TW":g4};function Vg(e){return e&&e.__esModule?e.default:e}const y4=new Rt(Vg(b4));function $4(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Ea(e,t,r,n,a){let o=e!=null&&r!=null&&e.compare(r)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=o||i||l,c=[];if(s){let d=$4(),f=Rt.getGlobalDictionaryForPackage("@react-stately/datepicker")||y4,p=new pc(d,f),h=new mt(d,Cr({},a)),m=h.resolvedOptions().timeZone;i&&c.push(p.format("rangeUnderflow",{minValue:h.format(t.toDate(m))})),o&&c.push(p.format("rangeOverflow",{maxValue:h.format(r.toDate(m))})),l&&c.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:c,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Lg(e,t,r,n,a){let o=Ea(e==null?void 0:e.start,t,r,n,a),i=Ea(e==null?void 0:e.end,t,r,n,a),l=un(o,i);if(e.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let s=Rt.getGlobalDictionaryForPackage("@react-stately/datepicker")||y4;l=un(l,{isInvalid:!0,validationErrors:[s.getStringForLocale("rangeReversed",$4())],validationDetails:{...ja,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return l}const jg={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Ng={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Cr(e,t){e={...t.shouldForceLeadingZeros?Ng:jg,...e};let n=t.granularity||"minute",a=Object.keys(e);var o;let i=a.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");i<0&&(i=0);let l=a.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=a.slice(i,l+1).reduce((d,f)=>(d[f]=e[f],d),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&i===0&&(s.era="short"),s}function hr(e){return e&&"hour"in e?e:new il}function x4(e,t){if(e===null)return null;if(e)return pe(e,t)}function Nr(e,t,r,n){if(e)return x4(e,r);let a=pe(vc(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Ae(a):n?a:Ue(a)}function xl(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[a,o]=u.useState([n,r]);e&&(a[0]!==n||a[1]!==r)&&o([n,r]),t||(t=e?n:a[0]);let i=e?r:a[1];return[t,i]}function Kg(e){let t=Ar(e),[r,n]=Xe(e.value,e.defaultValue||null,e.onChange),a=r||e.placeholderValue,[o,i]=xl(a,e.granularity),l=r!=null?r.toDate(i??"UTC"):null,s=o==="hour"||o==="minute"||o==="second";var c;let d=(c=e.shouldCloseOnSelect)!==null&&c!==void 0?c:!0,[f,p]=u.useState(null),[h,m]=u.useState(null);if(r&&(f=r,"hour"in r&&(h=r)),a&&!(o in a))throw new Error("Invalid granularity "+o+" for value "+a.toString());let v=(r==null?void 0:r.calendar.identifier)==="gregory"&&r.era==="BC",$=u.useMemo(()=>({granularity:o,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:v}),[o,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,v]),{minValue:B,maxValue:w,isDateUnavailable:C}=e,E=u.useMemo(()=>Ea(r,B,w,C,$),[r,B,w,C,$]),D=Jt({...e,value:r,builtinValidation:E}),S=D.displayValidation.isInvalid,A=e.validationState||(S?"invalid":null),b=(x,M)=>{n("timeZone"in M?M.set(Ae(x)):Ue(x,M)),p(null),m(null),D.commitValidation()};return{...D,value:r,setValue:n,dateValue:f,timeValue:h,setDateValue:x=>{let M=typeof d=="function"?d():d;s?h||M?b(x,h||hr(e.placeholderValue)):p(x):(n(x),D.commitValidation()),M&&t.setOpen(!1)},setTimeValue:x=>{f&&x?b(f,x):m(x)},granularity:o,hasTime:s,...t,setOpen(x){!x&&!r&&f&&s&&b(f,h||hr(e.placeholderValue)),t.setOpen(x)},validationState:A,isInvalid:S,formatValue(x,M){if(!l)return"";let R=Cr(M,$);return new mt(x,R).format(l)}}}const _g=new Rt({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",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:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},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:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},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:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",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:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",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:"гггг",month:"мм",day:"дд"},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:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function zg(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?_g.getStringForLocale(e,r):"––"}const _n={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Ys={year:5,month:2,day:7,hour:2,minute:15,second:15},Hg={dayperiod:"dayPeriod"};function Zg(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:a,isReadOnly:o,isRequired:i,minValue:l,maxValue:s,isDateUnavailable:c}=e,d=e.value||e.defaultValue||e.placeholderValue,[f,p]=xl(d,e.granularity),h=p||"UTC";if(d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let m=u.useMemo(()=>new mt(t),[t]),v=u.useMemo(()=>r(m.resolvedOptions().calendar),[r,m]),[$,B]=Xe(e.value,e.defaultValue,e.onChange),w=u.useMemo(()=>x4($,v),[$,v]),[C,E]=u.useState(()=>Nr(e.placeholderValue,f,v,p)),D=w||C,S=v.identifier==="gregory"&&D.era==="BC",A=u.useMemo(()=>{var I;return{granularity:f,maxGranularity:(I=e.maxGranularity)!==null&&I!==void 0?I:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:S,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,S]),b=u.useMemo(()=>Cr({},A),[A]),F=u.useMemo(()=>new mt(t,b),[t,b]),P=u.useMemo(()=>F.resolvedOptions(),[F]),x=u.useMemo(()=>F.formatToParts(new Date).filter(I=>_n[I.type]).reduce((I,_)=>(I[_.type]=!0,I),{}),[F]),[M,R]=u.useState(()=>e.value||e.defaultValue?{...x}:{}),T=u.useRef(),j=u.useRef(v.identifier);u.useEffect(()=>{v.identifier!==j.current&&(j.current=v.identifier,E(I=>Object.keys(M).length>0?pe(I,v):Nr(e.placeholderValue,f,v,p)))},[v,f,M,p,e.placeholderValue]),$&&Object.keys(M).length<Object.keys(x).length&&(M={...x},R(M)),$==null&&Object.keys(M).length===Object.keys(x).length&&(M={},R(M),E(Nr(e.placeholderValue,f,v,p)));let O=w&&Object.keys(M).length>=Object.keys(x).length?w:C,y=I=>{if(e.isDisabled||e.isReadOnly)return;let _=Object.keys(M),Z=Object.keys(x);I==null?(B(null),E(Nr(e.placeholderValue,f,v,p)),R({})):_.length>=Z.length||_.length===Z.length-1&&x.dayPeriod&&!M.dayPeriod&&T.current!=="dayPeriod"?(I=pe(I,(d==null?void 0:d.calendar)||new Ve),B(I)):E(I),T.current=null},z=u.useMemo(()=>O.toDate(h),[O,h]),H=u.useMemo(()=>F.formatToParts(z).map(I=>{let _=_n[I.type];I.type==="era"&&v.getEras().length===1&&(_=!1);let Z=_n[I.type]&&!M[I.type],q=_n[I.type]?zg(I.type,I.value,t):null;return{type:Hg[I.type]||I.type,text:Z?q:I.value,...Ug(O,I.type,P),isPlaceholder:Z,placeholder:q,isEditable:_}}),[z,M,F,P,O,v,t]);x.era&&M.year&&!M.era?(M.era=!0,R({...M})):!x.era&&M.era&&(delete M.era,R({...M}));let k=I=>{M[I]=!0,I==="year"&&x.era&&(M.era=!0),R({...M})},V=(I,_)=>{if(M[I])y(Wg(O,I,_,P));else{k(I);let Z=Object.keys(M),q=Object.keys(x);(Z.length>=q.length||Z.length===q.length-1&&x.dayPeriod&&!M.dayPeriod)&&y(O)}},K=u.useMemo(()=>Ea($,l,s,c,A),[$,l,s,c,A]),W=Jt({...e,value:$,builtinValidation:K}),U=W.displayValidation.isInvalid,Q=e.validationState||(U?"invalid":null);var G;return{...W,value:w,dateValue:z,calendar:v,setValue:y,segments:H,dateFormatter:F,validationState:Q,isInvalid:U,granularity:f,maxGranularity:(G=e.maxGranularity)!==null&&G!==void 0?G:"year",isDisabled:a,isReadOnly:o,isRequired:i,increment(I){V(I,1)},decrement(I){V(I,-1)},incrementPage(I){V(I,Ys[I]||1)},decrementPage(I){V(I,-(Ys[I]||1))},setSegment(I,_){k(I),y(Gg(O,I,_,P))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let I=Object.keys(M),_=Object.keys(x);I.length===_.length-1&&x.dayPeriod&&!M.dayPeriod&&(M={...x},R(M),y(O.copy()))},clearSegment(I){delete M[I],T.current=I,R({...M});let _=Nr(e.placeholderValue,f,v,p),Z=O;if(I==="dayPeriod"&&"hour"in O&&"hour"in _){let q=O.hour>=12,te=_.hour>=12;q&&!te?Z=O.set({hour:O.hour-12}):!q&&te&&(Z=O.set({hour:O.hour+12}))}else I in O&&(Z=O.set({[I]:_[I]}));B(null),y(Z)},formatValue(I){if(!w)return"";let _=Cr(I,A);return new mt(t,_).format(z)}}}function Ug(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:Hm(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:Zm(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 n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?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 Wg(e,t,r,n){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 a=e.hour,o=a>=12;return e.set({hour:o?a-12:a+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function Gg(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let a=e.hour,o=a>=12;return r>=12===o?e:e.set({hour:o?a-12:a+12})}case"hour":if(n.hour12){let o=e.hour>=12;!o&&r===12&&(r=0),o&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function qg(e){var t,r;let n=Ar(e),[a,o]=Xe(e.value,e.defaultValue||null,e.onChange),[i,l]=u.useState(()=>a||{start:null,end:null});a==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=a||i,c=O=>{l(O||{start:null,end:null}),O!=null&&O.start&&O.end?o(O):o(null)},d=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue,[f,p]=xl(d,e.granularity),h=f==="hour"||f==="minute"||f==="second";var m;let v=(m=e.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[$,B]=u.useState(null),[w,C]=u.useState(null);s&&s.start&&s.end&&($=s,"hour"in s.start&&(w=s));let E=(O,y)=>{c({start:"timeZone"in y.start?y.start.set(Ae(O.start)):Ue(O.start,y.start),end:"timeZone"in y.end?y.end.set(Ae(O.end)):Ue(O.end,y.end)}),B(null),C(null),R.commitValidation()},D=O=>{let y=typeof v=="function"?v():v;h?y||O.start&&O.end&&(w!=null&&w.start)&&(w!=null&&w.end)?E(O,{start:(w==null?void 0:w.start)||hr(e.placeholderValue),end:(w==null?void 0:w.end)||hr(e.placeholderValue)}):B(O):O.start&&O.end?(c(O),R.commitValidation()):B(O),y&&n.setOpen(!1)},S=O=>{$!=null&&$.start&&($!=null&&$.end)&&O.start&&O.end?E($,O):C(O)},A=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(r=s.end)===null||r===void 0?void 0:r.calendar.identifier)==="gregory"&&s.end.era==="BC",b=u.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:A}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,A]),{minValue:F,maxValue:P,isDateUnavailable:x}=e,M=u.useMemo(()=>Lg(s,F,P,x,b),[s,F,P,x,b]),R=Jt({...e,value:a,name:u.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:M}),T=R.displayValidation.isInvalid,j=e.validationState||(T?"invalid":null);return{...R,value:s,setValue:c,dateRange:$,timeRange:w,granularity:f,hasTime:h,setDate(O,y){D({...$,[O]:y})},setTime(O,y){S({...w,[O]:y})},setDateTime(O,y){c({...s,[O]:y})},setDateRange:D,setTimeRange:S,...n,setOpen(O){!O&&!(s!=null&&s.start&&(s!=null&&s.end))&&($!=null&&$.start)&&($!=null&&$.end)&&h&&E($,{start:(w==null?void 0:w.start)||hr(e.placeholderValue),end:(w==null?void 0:w.end)||hr(e.placeholderValue)}),n.setOpen(O)},validationState:j,isInvalid:T,formatValue(O,y){if(!s||!s.start||!s.end)return null;let z="timeZone"in s.start?s.start.timeZone:void 0,H=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),k="timeZone"in s.end?s.end.timeZone:void 0,V=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),K=Cr(y,{granularity:H,timeZone:z,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),W=s.start.toDate(z||"UTC"),U=s.end.toDate(k||"UTC"),Q=new mt(O,K),G;if(z===k&&H===V&&s.start.compare(s.end)!==0){try{let I=Q.formatRangeToParts(W,U),_=-1;for(let te=0;te<I.length;te++){let L=I[te];if(L.source==="shared"&&L.type==="literal")_=te;else if(L.source==="endRange")break}let Z="",q="";for(let te=0;te<I.length;te++)te<_?Z+=I[te].value:te>_&&(q+=I[te].value);return{start:Z,end:q}}catch{}G=Q}else{let I=Cr(y,{granularity:V,timeZone:k,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});G=new mt(O,I)}return{start:Q.format(W),end:G.format(U)}}}}function Yg(e){let t=Ar(e),[r,n]=u.useState(null),a=Og({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),o.commitValidation()}}),o=Jt({...e,value:a.selectedKey}),[i,l]=u.useState(!1);return{...o,...a,...t,focusStrategy:r,open(s=null){a.collection.size!==0&&(n(s),t.open())},toggle(s=null){a.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}const D4=u.createContext({}),w4=u.createContext({}),Na=u.createContext(null),Ka=u.createContext(null);function Jg(e,t){[e,t]=Se(e,t,D4);let{locale:r}=ke(),n=O1({...e,locale:r,createCalendar:cl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:s}=e3(e,n),c=Ce({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-Calendar"});return u.createElement("div",{...c,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(je,{values:[[Tr,{slots:{previous:o,next:i}}],[Ba,{"aria-hidden":!0,level:2,children:s}],[Na,n],[Tt,{slots:{errorMessage:l}}]]},u.createElement(Er,null,u.createElement("h2",null,a["aria-label"])),c.children,u.createElement(Er,null,u.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const Qg=u.forwardRef(Jg);function Xg(e,t){[e,t]=Se(e,t,w4);let{locale:r}=ke(),n=Tg({...e,locale:r,createCalendar:cl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:s}=t3(e,n,t),c=Ce({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return u.createElement("div",{...c,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(je,{values:[[Tr,{slots:{previous:o,next:i}}],[Ba,{"aria-hidden":!0,level:2,children:s}],[Ka,n],[Tt,{slots:{errorMessage:l}}]]},u.createElement(Er,null,u.createElement("h2",null,a["aria-label"])),c.children,u.createElement(Er,null,u.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const eb=u.forwardRef(Xg),_a=u.createContext(null);function tb(e,t){let r=u.useContext(Na),n=u.useContext(Ka),a=r??n,o=a.visibleRange.start;e.offset&&(o=o.add(e.offset));let{gridProps:i,headerProps:l,weekDays:s}=r3({startDate:o,endDate:va(o),weekdayStyle:e.weekdayStyle},a);var c;return u.createElement(_a.Provider,{value:{headerProps:l,weekDays:s,startDate:o}},u.createElement("table",{...re(e),...i,ref:t,style:e.style,className:(c=e.className)!==null&&c!==void 0?c:"react-aria-CalendarGrid"},typeof e.children!="function"?e.children:u.createElement(u.Fragment,null,u.createElement(ab,null,d=>u.createElement(ib,null,d)),u.createElement(sb,null,e.children))))}const rb=u.forwardRef(tb);function nb(e,t){let{children:r,style:n,className:a}=e,{headerProps:o,weekDays:i}=u.useContext(_a);return u.createElement("thead",{...re(e),...o,ref:t,style:n,className:a||"react-aria-CalendarGridHeader"},u.createElement("tr",null,i.map((l,s)=>u.cloneElement(r(l),{key:s}))))}const ab=u.forwardRef(nb);function ob(e,t){let{children:r,style:n,className:a}=e;return u.createElement("th",{...re(e),ref:t,style:n,className:a||"react-aria-CalendarHeaderCell"},r)}const ib=u.forwardRef(ob);function lb(e,t){let{children:r,style:n,className:a}=e,o=u.useContext(Na),i=u.useContext(Ka),l=o??i,{startDate:s}=u.useContext(_a),{locale:c}=ke(),d=qm(s,c);return u.createElement("tbody",{...re(e),ref:t,style:n,className:a||"react-aria-CalendarGridBody"},[...new Array(d).keys()].map(f=>u.createElement("tr",{key:f},l.getDatesInWeek(f,s).map((p,h)=>p?u.cloneElement(r(p),{key:h}):u.createElement("td",{key:h})))))}const sb=u.forwardRef(lb);function ub({date:e,...t},r){let n=u.useContext(Na),a=u.useContext(Ka),o=n??a;var i;let{startDate:l}=(i=u.useContext(_a))!==null&&i!==void 0?i:{startDate:o.visibleRange.start},s=u.useRef(null),{cellProps:c,buttonProps:d,...f}=a3({date:e},o,s),{hoverProps:p,isHovered:h}=Bt({...t,isDisabled:f.isDisabled}),{focusProps:m,isFocusVisible:v}=ut();v&&(v=f.isFocused);let $=!Km(l,e),B=!1,w=!1;"highlightedRange"in o&&o.highlightedRange&&(B=xe(e,o.highlightedRange.start),w=xe(e,o.highlightedRange.end));let C=Ce({...t,defaultChildren:f.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:e,isHovered:h,isOutsideMonth:$,isFocusVisible:v,isSelectionStart:B,isSelectionEnd:w,...f}}),E={"data-focused":f.isFocused||void 0,"data-hovered":h||void 0,"data-pressed":f.isPressed||void 0,"data-unavailable":f.isUnavailable||void 0,"data-disabled":f.isDisabled||void 0,"data-focus-visible":v||void 0,"data-outside-visible-range":f.isOutsideVisibleRange||void 0,"data-outside-month":$||void 0,"data-selected":f.isSelected||void 0,"data-selection-start":B||void 0,"data-selection-end":w||void 0,"data-invalid":f.isInvalid||void 0};return u.createElement("td",{...c,ref:r},u.createElement("div",{...J(re(t),d,m,p,E,C),ref:s}))}const cb=u.forwardRef(ub),za=u.createContext(null),Sn=u.createContext(null),Ha=u.createContext({}),db=u.createContext(null),E4=u.createContext(null);function fb(e,t){[e,t]=Se(e,t,db);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=Ag({...e,validationBehavior:o}),[l,s]=Cn(),{groupProps:c,labelProps:d,descriptionProps:f,errorMessageProps:p,...h}=f3({...e,label:s,validationBehavior:o},i),m=Ce({...e,values:{isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:e.isRequired||!1,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-CheckboxGroup"});return u.createElement("div",{...c,...m,ref:t,slot:e.slot||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":i.isInvalid||void 0,"data-disabled":e.isDisabled||void 0},u.createElement(je,{values:[[E4,i],[Ha,{...d,ref:l,elementType:"span"}],[Tt,{slots:{description:f,errorMessage:p}}],[za,h]]},m.children))}function pb(e,t){let{inputRef:r=null,...n}=e;[e,t]=Se(n,t,mh);let{validationBehavior:a}=Qt(Sn)||{};var o,i;let l=(i=(o=e.validationBehavior)!==null&&o!==void 0?o:a)!==null&&i!==void 0?i:"native",s=u.useContext(E4),c=Pt(Ra(r,e.inputRef!==void 0?e.inputRef:null)),{labelProps:d,inputProps:f,isSelected:p,isDisabled:h,isReadOnly:m,isPressed:v,isInvalid:$}=s?p3({...e,value:e.value,children:typeof e.children=="function"?!0:e.children},s,c):kd({...e,children:typeof e.children=="function"?!0:e.children,validationBehavior:l},Td(e),c),{isFocused:B,isFocusVisible:w,focusProps:C}=ut(),E=h||m,{hoverProps:D,isHovered:S}=Bt({...e,isDisabled:E}),A=Ce({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:p,isIndeterminate:e.isIndeterminate||!1,isPressed:v,isHovered:S,isFocused:B,isFocusVisible:w,isDisabled:h,isReadOnly:m,isInvalid:$,isRequired:e.isRequired||!1}}),b=re(e);return delete b.id,u.createElement("label",{...J(b,d,D,A),ref:t,slot:e.slot||void 0,"data-selected":p||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":v||void 0,"data-hovered":S||void 0,"data-focused":B||void 0,"data-focus-visible":w||void 0,"data-disabled":h||void 0,"data-readonly":m||void 0,"data-invalid":$||void 0,"data-required":e.isRequired||void 0},u.createElement(Er,{elementType:"span"},u.createElement("input",{...J(f,C),ref:c})),A.children)}const hb=u.forwardRef(pb),mb=u.forwardRef(fb),C4=u.createContext({});let vb=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...a}=e;return a};function gb(e,t){[e,t]=Se(e,t,C4);let{hoverProps:r,isHovered:n}=Bt(e),{isFocused:a,isFocusVisible:o,focusProps:i}=ut({isTextInput:!0,autoFocus:e.autoFocus}),l=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",s=Ce({...e,values:{isHovered:n,isFocused:a,isFocusVisible:o,isDisabled:e.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return u.createElement("input",{...J(vb(e),i,r),...s,ref:t,"data-focused":a||void 0,"data-disabled":e.disabled||void 0,"data-hovered":n||void 0,"data-focus-visible":o||void 0,"data-invalid":l||void 0})}const bb=F1(gb);var S4={};S4={dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم",colorSwatchPicker:"Color swatches"};var P4={};P4={dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител",colorSwatchPicker:"Color swatches"};var k4={};k4={dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti",colorSwatchPicker:"Color swatches"};var B4={};B4={dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring",colorSwatchPicker:"Color swatches"};var R4={};R4={dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung",colorSwatchPicker:"Color swatches"};var T4={};T4={dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους",colorSwatchPicker:"Color swatches"};var A4={};A4={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var F4={};F4={dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño",colorSwatchPicker:"Color swatches"};var M4={};M4={dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja",colorSwatchPicker:"Color swatches"};var I4={};I4={dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja",colorSwatchPicker:"Color swatches"};var O4={};O4={dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur",colorSwatchPicker:"Color swatches"};var V4={};V4={dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל",colorSwatchPicker:"Color swatches"};var L4={};L4={dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine",colorSwatchPicker:"Color swatches"};var j4={};j4={dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező",colorSwatchPicker:"Color swatches"};var N4={};N4={dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento",colorSwatchPicker:"Color swatches"};var K4={};K4={dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール",colorSwatchPicker:"Color swatches"};var _4={};_4={dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기",colorSwatchPicker:"Color swatches"};var z4={};z4={dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis",colorSwatchPicker:"Color swatches"};var H4={};H4={dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs",colorSwatchPicker:"Color swatches"};var Z4={};Z4={dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer",colorSwatchPicker:"Color swatches"};var U4={};U4={dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer",colorSwatchPicker:"Color swatches"};var W4={};W4={dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru",colorSwatchPicker:"Color swatches"};var G4={};G4={dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador",colorSwatchPicker:"Color swatches"};var q4={};q4={dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador",colorSwatchPicker:"Color swatches"};var Y4={};Y4={dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare",colorSwatchPicker:"Color swatches"};var J4={};J4={dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера",colorSwatchPicker:"Color swatches"};var Q4={};Q4={dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti",colorSwatchPicker:"Color swatches"};var X4={};X4={dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti",colorSwatchPicker:"Color swatches"};var ep={};ep={dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine",colorSwatchPicker:"Color swatches"};var tp={};tp={dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare",colorSwatchPicker:"Color swatches"};var rp={};rp={dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı",colorSwatchPicker:"Color swatches"};var np={};np={dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру",colorSwatchPicker:"Color swatches"};var ap={};ap={dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器",colorSwatchPicker:"Color swatches"};var op={};op={dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器",colorSwatchPicker:"Color swatches"};var ip={};ip={"ar-AE":S4,"bg-BG":P4,"cs-CZ":k4,"da-DK":B4,"de-DE":R4,"el-GR":T4,"en-US":A4,"es-ES":F4,"et-EE":M4,"fi-FI":I4,"fr-FR":O4,"he-IL":V4,"hr-HR":L4,"hu-HU":j4,"it-IT":N4,"ja-JP":K4,"ko-KR":_4,"lt-LT":z4,"lv-LV":H4,"nb-NO":Z4,"nl-NL":U4,"pl-PL":W4,"pt-BR":G4,"pt-PT":q4,"ro-RO":Y4,"ru-RU":J4,"sk-SK":Q4,"sl-SI":X4,"sr-SP":ep,"sv-SE":tp,"tr-TR":rp,"uk-UA":np,"zh-CN":ap,"zh-TW":op};const lp=u.createContext(null);function yb(e,t){let{render:r}=u.useContext(lp);return u.createElement(u.Fragment,null,r(e,t))}const $b=u.forwardRef(yb),Dl=u.createContext({}),xb=u.createContext({});function Db(e,t){let[r,n]=Se(e,t,xb),a=R1("header",e,t);return a||u.createElement("header",{className:"react-aria-Header",...r,ref:n},r.children)}const wb=u.forwardRef(Db),sp=u.createContext({});function Eb(e,t){let[r,n]=Se(e,t,sp),{elementType:a,orientation:o,style:i,className:l}=r,s=a||"hr";s==="hr"&&o==="vertical"&&(s="div");let{separatorProps:c}=hg({elementType:a,orientation:o}),d=R1("separator",e,t);return d||u.createElement(s,{...re(r),...c,style:i,className:l??"react-aria-Separator",ref:n,slot:r.slot||void 0})}const Cb=u.forwardRef(Eb),wl=u.createContext(null),Pn=u.createContext(null);function Sb(e,t){[e,t]=Se(e,t,wl);let r=u.useContext(dn),n=u.useContext(Pn);return u.useContext(bl)?u.createElement(Cg,e):n?r?null:u.createElement(up,{state:n,props:e,listBoxRef:t}):u.createElement(Pb,{props:e,listBoxRef:t})}function Pb({props:e,listBoxRef:t}){let{portal:r,collection:n}=Dg(e);e={...e,collection:n,children:null,items:null};let a=V1(e);return u.createElement(u.Fragment,null,r,u.createElement(up,{state:a,props:e,listBoxRef:t}))}const kb=u.forwardRef(Sb);function up({state:e,props:t,listBoxRef:r}){let{dragAndDropHooks:n,layout:a="stack",orientation:o="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),c=!!(n!=null&&n.useDroppableCollectionState),{direction:d}=ke(),{disabledBehavior:f,disabledKeys:p}=l,h=La({usage:"search",sensitivity:"base"}),m=u.useMemo(()=>t.keyboardDelegate||new hl({collection:i,collator:h,ref:r,disabledKeys:p,disabledBehavior:f,layout:a,orientation:o,direction:d}),[i,h,r,f,p,o,d,t.keyboardDelegate,a]),{listBoxProps:v}=N3({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:m},e,r),$=gl({items:i,children:j=>{switch(j.type){case"section":return u.createElement(Bb,{section:j});case"separator":return u.createElement(Cb,j.props);case"item":return u.createElement(cp,{item:j});default:throw new Error("Unsupported node type in Menu: "+j.type)}}}),B=u.useRef(s),w=u.useRef(c);u.useEffect(()=>{B.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),w.current!==c&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[s,c]);let C,E,D,S=!1,A=null,b=u.useRef(null);if(s&&n){C=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?b:void 0}),n.useDraggableCollection({},C,r);let j=n.DragPreview;A=n.renderDragPreview?u.createElement(j,{ref:b},n.renderDragPreview):null}if(c&&n){E=n.useDroppableCollectionState({collection:i,selectionManager:l});let j=n.dropTargetDelegate||new n.ListDropTargetDelegate(i,r,{orientation:o,layout:a,direction:d});D=n.useDroppableCollection({keyboardDelegate:m,dropTargetDelegate:j},E,r),S=E.isDropTarget({type:"root"})}let{focusProps:F,isFocused:P,isFocusVisible:x}=ut(),M={isDropTarget:S,isEmpty:e.collection.size===0,isFocused:P,isFocusVisible:x,layout:t.layout||"stack",state:e},R=Ce({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:M}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=u.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(M))),u.createElement(ic,null,u.createElement("div",{...re(t),...J(v,F,D==null?void 0:D.collectionProps),...R,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":S||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":P||void 0,"data-focus-visible":x||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},u.createElement(je,{values:[[wl,t],[Pn,e],[Dl,{dragAndDropHooks:n,dragState:C,dropState:E}],[sp,{elementType:"div"}],[lp,{render:Fb}]]},$),T,A))}function Bb({section:e,className:t,style:r}){var n,a;let o=u.useContext(Pn),[i,l]=Cn();var s;let{headingProps:c,groupProps:d}=G3({heading:l,"aria-label":(s=e.props["aria-label"])!==null&&s!==void 0?s:void 0}),f=gl({items:o.collection.getChildren(e.key),children:p=>{switch(p.type){case"header":return u.createElement(Rb,{item:p,headingProps:c,headingRef:i});case"item":return u.createElement(cp,{item:p});default:throw new Error("Unsupported element type in Section: "+p.type)}}});return u.createElement("section",{...re(e.props),...d,className:t||((n=e.props)===null||n===void 0?void 0:n.className)||"react-aria-Section",style:r||((a=e.props)===null||a===void 0?void 0:a.style),ref:e.props.ref},f)}function Rb({item:e,headingProps:t,headingRef:r}){let{ref:n,...a}=e.props;return u.createElement(wb,{...t,...a,ref:Ra(r,n)},e.rendered)}function Tb(e,t){return T1("item",e,t,e.children)}const Ab=u.forwardRef(Tb);function cp({item:e}){var t;let r=Pt(e.props.ref),n=u.useContext(Pn),{dragAndDropHooks:a,dragState:o,dropState:i}=u.useContext(Dl),{optionProps:l,labelProps:s,descriptionProps:c,...d}=W3({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},n,r),{hoverProps:f,isHovered:p}=Bt({isDisabled:!d.allowsSelection&&!d.hasAction,onHoverStart:e.props.onHoverStart,onHoverChange:e.props.onHoverChange,onHoverEnd:e.props.onHoverEnd}),h=null;o&&a&&(h=a.useDraggableItem({key:e.key},o));let m=null;i&&a&&(m=a.useDroppableItem({target:{type:"item",key:e.key,dropPosition:"on"}},i,r));let v=e.props,$=o&&o.isDragging(e.key),B=Ce({...v,id:void 0,children:e.rendered,defaultClassName:"react-aria-ListBoxItem",values:{...d,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!o,isDragging:$,isDropTarget:m==null?void 0:m.isDropTarget}}),w=(a==null?void 0:a.renderDropIndicator)||(E=>u.createElement($b,{target:E}));u.useEffect(()=>{e.textValue||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.")},[e.textValue]);let C=v.href?"a":"div";return u.createElement(u.Fragment,null,(a==null?void 0:a.useDropIndicator)&&w({type:"item",key:e.key,dropPosition:"before"}),u.createElement(C,{...J(l,f,h==null?void 0:h.dragProps,m==null?void 0:m.dropProps),...B,ref:r,"data-allows-dragging":!!o||void 0,"data-selected":d.isSelected||void 0,"data-disabled":d.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":d.isFocused||void 0,"data-focus-visible":d.isFocusVisible||void 0,"data-pressed":d.isPressed||void 0,"data-dragging":$||void 0,"data-drop-target":(m==null?void 0:m.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},u.createElement(je,{values:[[Tt,{slots:{label:s,description:c}}]]},B.children)),(a==null?void 0:a.useDropIndicator)&&n.collection.getKeyAfter(e.key)==null&&w({type:"item",key:e.key,dropPosition:"after"}))}function Fb(e,t){t=Pt(t);let{dragAndDropHooks:r,dropState:n}=u.useContext(Dl),{dropIndicatorProps:a,isHidden:o,isDropTarget:i}=r.useDropIndicator(e,n,t);return o?null:u.createElement(Ib,{...e,dropIndicatorProps:a,isDropTarget:i,ref:t})}function Mb(e,t){let{dropIndicatorProps:r,isDropTarget:n,...a}=e,o=Ce({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return u.createElement("div",{...r,...o,role:"option",ref:t,"data-drop-target":n||void 0})}const Ib=u.forwardRef(Mb),Za=u.createContext({});function Ob(e,t){[e,t]=Se(e,t,Za);let{isDisabled:r,isInvalid:n,onHoverStart:a,onHoverChange:o,onHoverEnd:i,...l}=e,{hoverProps:s,isHovered:c}=Bt({onHoverStart:a,onHoverChange:o,onHoverEnd:i,isDisabled:r}),{isFocused:d,isFocusVisible:f,focusProps:p}=ut({within:!0});r??(r=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),n??(n=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let h=Ce({...e,values:{isHovered:c,isFocusWithin:d,isFocusVisible:f,isDisabled:r,isInvalid:n},defaultClassName:"react-aria-Group"});var m,v;return u.createElement("div",{...J(l,p,s),...h,ref:t,role:(m=e.role)!==null&&m!==void 0?m:"group",slot:(v=e.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":d||void 0,"data-hovered":c||void 0,"data-focus-visible":f||void 0,"data-disabled":r||void 0,"data-invalid":n||void 0},h.children)}const El=u.forwardRef(Ob),Vb=u.createContext({placement:"bottom"}),kn=u.createContext(null);function Lb(e,t){[e,t]=Se(e,t,kn);let r=u.useContext($t),n=Ar(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=$i(t,a.isOpen)||e.isExiting||!1;if(u.useContext(dn)){let l=e.children;return typeof l=="function"&&(l=l({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),u.createElement(u.Fragment,null,l)}return a&&!a.isOpen&&!o?null:u.createElement(jb,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:o})}const Cl=u.forwardRef(Lb);function jb({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let a=u.useRef(null),[o,i]=u.useState(0);ie(()=>{a.current&&e.isOpen&&i(a.current.getBoundingClientRect().width)},[e.isOpen,a]);var l;let{popoverProps:s,underlayProps:c,arrowProps:d,placement:f}=B3({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:o},e),p=n.popoverRef,h=yl(p,!!f)||n.isEntering||!1,m=Ce({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:h,isExiting:t}}),v={...s.style,...m.style};return u.createElement(Df,{isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&u.createElement("div",{"data-testid":"underlay",...c,style:{position:"fixed",inset:0}}),u.createElement("div",{...J(re(n),s),...m,ref:p,slot:n.slot||void 0,style:v,"data-trigger":n.trigger,"data-placement":f,"data-entering":h||void 0,"data-exiting":t||void 0},!n.isNonModal&&u.createElement(mi,{onDismiss:e.close}),u.createElement(Vb.Provider,{value:{...d,placement:f,ref:a}},m.children),u.createElement(mi,{onDismiss:e.close})))}const Ua=u.createContext(null),$t=u.createContext(null);function Nb(e){let t=Ar(e),r=u.useRef(null),{triggerProps:n,overlayProps:a}=Id({type:"dialog"},t,r);return n.id=Te(),a["aria-labelledby"]=n.id,u.createElement(je,{values:[[$t,t],[Ua,a],[kn,{trigger:"DialogTrigger",triggerRef:r}]]},u.createElement(nm,{...n,ref:r,isPressed:t.isOpen},e.children))}function Kb(e,t){let r=e["aria-labelledby"];[e,t]=Se(e,t,Ua);let{dialogProps:n,titleProps:a}=cg({...e,"aria-labelledby":r},t),o=u.useContext($t),i=e.children;typeof i=="function"&&(i=i({close:(o==null?void 0:o.close)||(()=>{})})),!n["aria-label"]&&!n["aria-labelledby"]&&(e["aria-labelledby"]?n["aria-labelledby"]=e["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));var l;return u.createElement("section",{...re(e),...n,ref:t,slot:e.slot||void 0,style:e.style,className:(l=e.className)!==null&&l!==void 0?l:"react-aria-Dialog"},u.createElement(je,{values:[[Ba,{slots:{[yi]:{},title:{...a,level:2}}}]]},i))}const Sl=u.forwardRef(Kb),Pl=u.createContext(null),Wa=u.createContext(null),kl=u.createContext(null);function _b(e,t){let r=u.useContext(Wa),n=u.useContext(kl);return r||n?u.createElement(dp,{...e,ref:t}):u.createElement(zb,{...e,ref:t})}const zb=u.forwardRef((e,t)=>{let[r,n]=Se({slot:e.slot},t,Pl),{locale:a}=ke(),o=Zg({...r,locale:a,createCalendar:cl}),i=u.useRef(null),{fieldProps:l,inputProps:s}=Q3({...r,inputRef:i},o,n);return u.createElement(je,{values:[[Wa,o],[C4,{...s,ref:i}],[Za,{...l,ref:n,isInvalid:o.isInvalid}]]},u.createElement(dp,e))}),dp=u.forwardRef((e,t)=>{let{className:r,children:n}=e,a=u.useContext(Wa),o=u.useContext(kl),i=a??o;return u.createElement(u.Fragment,null,u.createElement(El,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>u.cloneElement(n(l),{key:s}))),u.createElement(bb,null))}),fp=u.forwardRef(_b);function Hb({segment:e,...t},r){let n=u.useContext(Wa),a=u.useContext(kl),o=n??a,i=Pt(r),{segmentProps:l}=ig(e,o,i),{focusProps:s,isFocused:c,isFocusVisible:d}=ut(),{hoverProps:f,isHovered:p}=Bt({...t,isDisabled:o.isDisabled||e.type==="literal"}),h=Ce({...t,values:{...e,isReadOnly:!e.isEditable,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isHovered:p,isFocused:c,isFocusVisible:d},defaultChildren:e.text,defaultClassName:"react-aria-DateSegment"});return u.createElement("div",{...J(re(t),l,s,f),...h,ref:i,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":o.isInvalid||void 0,"data-readonly":!e.isEditable||void 0,"data-disabled":o.isDisabled||void 0,"data-type":e.type,"data-hovered":p||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0})}const wi=u.forwardRef(Hb),Zb=u.createContext(null),Ub=u.createContext(null),Wb=u.createContext(null),Gb=u.createContext(null);function qb(e,t){[e,t]=Se(e,t,Zb);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=Kg({...e,validationBehavior:o}),l=u.useRef(null),[s,c]=Cn(),{groupProps:d,labelProps:f,fieldProps:p,buttonProps:h,dialogProps:m,calendarProps:v,descriptionProps:$,errorMessageProps:B,...w}=eg({...$l(e),label:c,validationBehavior:o},i,l),[C,E]=u.useState(null),D=u.useCallback(()=>{l.current&&E(l.current.offsetWidth+"px")},[]);Aa({ref:l,onResize:D});let{focusProps:S,isFocused:A,isFocusVisible:b}=ut({within:!0}),F=Ce({...e,values:{state:i,isFocusWithin:A,isFocusVisible:b,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DatePicker"}),P=re(e);return delete P.id,u.createElement(je,{values:[[Wb,i],[Za,{...d,ref:l,isInvalid:i.isInvalid}],[Pl,p],[Tr,{...h,isPressed:i.isOpen}],[Ha,{...f,ref:s,elementType:"span"}],[D4,v],[$t,i],[kn,{trigger:"DatePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":C}}],[Ua,m],[Tt,{slots:{description:$,errorMessage:B}}],[za,w]]},u.createElement("div",{...S,...P,...F,ref:t,slot:e.slot||void 0,"data-focus-within":A||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":b||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const Yb=u.forwardRef(qb);function Jb(e,t){[e,t]=Se(e,t,Ub);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=qg({...e,validationBehavior:o}),l=u.useRef(null),[s,c]=Cn(),{groupProps:d,labelProps:f,startFieldProps:p,endFieldProps:h,buttonProps:m,dialogProps:v,calendarProps:$,descriptionProps:B,errorMessageProps:w,...C}=ug({...$l(e),label:c,validationBehavior:o},i,l),[E,D]=u.useState(null),S=u.useCallback(()=>{l.current&&D(l.current.offsetWidth+"px")},[]);Aa({ref:l,onResize:S});let{focusProps:A,isFocused:b,isFocusVisible:F}=ut({within:!0}),P=Ce({...e,values:{state:i,isFocusWithin:b,isFocusVisible:F,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DateRangePicker"}),x=re(e);return delete x.id,u.createElement(je,{values:[[Gb,i],[Za,{...d,ref:l,isInvalid:i.isInvalid}],[Tr,{...m,isPressed:i.isOpen}],[Ha,{...f,ref:s,elementType:"span"}],[w4,$],[$t,i],[kn,{trigger:"DateRangePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":E}}],[Ua,v],[Pl,{slots:{start:p,end:h}}],[Tt,{slots:{description:B,errorMessage:w}}],[za,C]]},u.createElement("div",{...A,...x,...P,ref:t,slot:e.slot||void 0,"data-focus-within":b||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":F||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const Qb=u.forwardRef(Jb);function Xb(e,t){[e,t]=Se(e,t,Ba);let{children:r,level:n=3,className:a,...o}=e,i=`h${n}`;return u.createElement(i,{...o,ref:t,className:a??"react-aria-Heading"},r)}const e5=u.forwardRef(Xb),t5=u.createContext(null),Bl=u.createContext(null);function r5(e,t){if(u.useContext(Bl))return u.createElement(Js,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,children:s,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...h}=e;return u.createElement(pp,{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},u.createElement(Js,{...h,modalRef:t},s))}const n5=u.forwardRef(r5);function a5(e,t){[e,t]=Se(e,t,t5);let r=u.useContext($t),n=Ar(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=Pt(t),i=u.useRef(null),l=$i(o,a.isOpen),s=$i(i,a.isOpen),c=l||s||e.isExiting||!1,d=yt();return!a.isOpen&&!c||d?null:u.createElement(o5,{...e,state:a,isExiting:c,overlayRef:o,modalRef:i})}const pp=u.forwardRef(a5);function o5({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:a,underlayProps:o}=A3(t,n,r),i=yl(t.overlayRef)||t.isEntering||!1,l=Ce({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:t.isExiting,state:n}}),s=Zh(),c={...l.style,"--visual-viewport-height":s.height+"px"};return u.createElement(Df,{isExiting:t.isExiting,portalContainer:e},u.createElement("div",{...J(re(t),o),...l,style:c,ref:t.overlayRef,"data-entering":i||void 0,"data-exiting":t.isExiting||void 0},u.createElement(je,{values:[[Bl,{modalProps:a,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[$t,n]]},l.children)))}function Js(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:a}=u.useContext(Bl),o=u.useContext($t),i=u.useMemo(()=>Ra(e.modalRef,r),[e.modalRef,r]),l=Pt(i),s=yl(l),c=Ce({...e,defaultClassName:"react-aria-Modal",values:{isEntering:s,isExiting:n,state:o}});return u.createElement("div",{...J(re(e),t),...c,ref:l,"data-entering":s||void 0,"data-exiting":n||void 0},a&&u.createElement(mi,{onDismiss:o.close}),c.children)}function i5(e){return e&&e.__esModule?e.default:e}const Qn=u.createContext(null),Ei=u.createContext(null);function l5(e,t){[e,t]=Se(e,t,Qn);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",{collection:i,document:l}=k1(),s=Yg({...e,collection:i,children:void 0,validationBehavior:o}),{isFocusVisible:c,focusProps:d}=ut({within:!0}),f=u.useRef(null),[p,h]=Cn(),{labelProps:m,triggerProps:v,valueProps:$,menuProps:B,descriptionProps:w,errorMessageProps:C,...E}=dg({...$l(e),label:h,validationBehavior:o},s,f),[D,S]=u.useState(null),A=u.useCallback(()=>{f.current&&S(f.current.offsetWidth+"px")},[f]);Aa({ref:f,onResize:A});let b=u.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:c,isDisabled:e.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:e.isRequired||!1}),[s.isOpen,s.isFocused,c,e.isDisabled,E.isInvalid,e.isRequired]),F=Ce({...e,values:b,defaultClassName:"react-aria-Select"}),P=re(e);return delete P.id,u.createElement(u.Fragment,null,u.createElement(kg,null,u.createElement(je,{values:[[Qn,e],[Ei,s],[bl,l]]},F.children)),u.createElement(je,{values:[[Qn,e],[Ei,s],[hp,$],[Ha,{...m,ref:p,elementType:"span"}],[Tr,{...v,ref:f,isPressed:s.isOpen}],[$t,s],[kn,{trigger:"Select",triggerRef:f,placement:"bottom start",style:{"--trigger-width":D}}],[wl,B],[Pn,s],[Tt,{slots:{description:w,errorMessage:C}}],[za,E]]},u.createElement("div",{...P,...F,...d,ref:t,slot:e.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":c||void 0,"data-open":s.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":e.isRequired||void 0}),u.createElement(pg,{state:s,triggerRef:f,label:h,name:e.name,isDisabled:e.isDisabled})))}const s5=u.forwardRef(l5),hp=u.createContext(null);function u5(e,t){var r,n;[e,t]=Se(e,t,hp);let a=u.useContext(Ei),{placeholder:o}=Qt(Qn),i=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,l=i==null?void 0:i.rendered;typeof l=="function"&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let s=et(i5(ip),"react-aria-components");var c,d;let f=Ce({...e,defaultChildren:l||o||s.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(c=(r=a.selectedItem)===null||r===void 0?void 0:r.value)!==null&&c!==void 0?c:null,selectedText:(d=(n=a.selectedItem)===null||n===void 0?void 0:n.textValue)!==null&&d!==void 0?d:null,isPlaceholder:!i}}),p=re(e);return u.createElement("span",{ref:t,...p,...f,"data-placeholder":!i||void 0},u.createElement(Tt.Provider,{value:void 0},f.children))}const c5=u.forwardRef(u5);var Oe=function(){return Oe=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Oe.apply(this,arguments)};function qt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function d5(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var f5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,p5=d5(function(e){return f5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ce="-ms-",Jr="-moz-",oe="-webkit-",mp="comm",Ga="rule",Rl="decl",h5="@import",vp="@keyframes",m5="@layer",gp=Math.abs,Tl=String.fromCharCode,Ci=Object.assign;function v5(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function bp(e){return e.trim()}function pt(e,t){return(e=t.exec(e))?e[0]:e}function X(e,t,r){return e.replace(t,r)}function Xn(e,t,r){return e.indexOf(t,r)}function Pe(e,t){return e.charCodeAt(t)|0}function Sr(e,t,r){return e.slice(t,r)}function rt(e){return e.length}function yp(e){return e.length}function Ur(e,t){return t.push(e),e}function g5(e,t){return e.map(t).join("")}function Qs(e,t){return e.filter(function(r){return!pt(r,t)})}var qa=1,Pr=1,$p=0,We=0,De=0,Fr="";function Ya(e,t,r,n,a,o,i,l){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:qa,column:Pr,length:i,return:"",siblings:l}}function Dt(e,t){return Ci(Ya("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function rr(e){for(;e.root;)e=Dt(e.root,{children:[e]});Ur(e,e.siblings)}function b5(){return De}function y5(){return De=We>0?Pe(Fr,--We):0,Pr--,De===10&&(Pr=1,qa--),De}function Qe(){return De=We<$p?Pe(Fr,We++):0,Pr++,De===10&&(Pr=1,qa++),De}function jt(){return Pe(Fr,We)}function ea(){return We}function Ja(e,t){return Sr(Fr,e,t)}function Si(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $5(e){return qa=Pr=1,$p=rt(Fr=e),We=0,[]}function x5(e){return Fr="",e}function Vo(e){return bp(Ja(We-1,Pi(e===91?e+2:e===40?e+1:e)))}function D5(e){for(;(De=jt())&&De<33;)Qe();return Si(e)>2||Si(De)>3?"":" "}function w5(e,t){for(;--t&&Qe()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return Ja(e,ea()+(t<6&&jt()==32&&Qe()==32))}function Pi(e){for(;Qe();)switch(De){case e:return We;case 34:case 39:e!==34&&e!==39&&Pi(De);break;case 40:e===41&&Pi(e);break;case 92:Qe();break}return We}function E5(e,t){for(;Qe()&&e+De!==57;)if(e+De===84&&jt()===47)break;return"/*"+Ja(t,We-1)+"*"+Tl(e===47?e:Qe())}function C5(e){for(;!Si(jt());)Qe();return Ja(e,We)}function S5(e){return x5(ta("",null,null,null,[""],e=$5(e),0,[0],e))}function ta(e,t,r,n,a,o,i,l,s){for(var c=0,d=0,f=i,p=0,h=0,m=0,v=1,$=1,B=1,w=0,C="",E=a,D=o,S=n,A=C;$;)switch(m=w,w=Qe()){case 40:if(m!=108&&Pe(A,f-1)==58){Xn(A+=X(Vo(w),"&","&\f"),"&\f",gp(c?l[c-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:A+=Vo(w);break;case 9:case 10:case 13:case 32:A+=D5(m);break;case 92:A+=w5(ea()-1,7);continue;case 47:switch(jt()){case 42:case 47:Ur(P5(E5(Qe(),ea()),t,r,s),s);break;default:A+="/"}break;case 123*v:l[c++]=rt(A)*B;case 125*v:case 59:case 0:switch(w){case 0:case 125:$=0;case 59+d:B==-1&&(A=X(A,/\f/g,"")),h>0&&rt(A)-f&&Ur(h>32?eu(A+";",n,r,f-1,s):eu(X(A," ","")+";",n,r,f-2,s),s);break;case 59:A+=";";default:if(Ur(S=Xs(A,t,r,c,d,a,l,C,E=[],D=[],f,o),o),w===123)if(d===0)ta(A,t,S,S,E,o,f,l,D);else switch(p===99&&Pe(A,3)===110?100:p){case 100:case 108:case 109:case 115:ta(e,S,S,n&&Ur(Xs(e,S,S,0,0,a,l,C,a,E=[],f,D),D),a,D,f,l,n?E:D);break;default:ta(A,S,S,S,[""],D,0,l,D)}}c=d=h=0,v=B=1,C=A="",f=i;break;case 58:f=1+rt(A),h=m;default:if(v<1){if(w==123)--v;else if(w==125&&v++==0&&y5()==125)continue}switch(A+=Tl(w),w*v){case 38:B=d>0?1:(A+="\f",-1);break;case 44:l[c++]=(rt(A)-1)*B,B=1;break;case 64:jt()===45&&(A+=Vo(Qe())),p=jt(),d=f=rt(C=A+=C5(ea())),w++;break;case 45:m===45&&rt(A)==2&&(v=0)}}return o}function Xs(e,t,r,n,a,o,i,l,s,c,d,f){for(var p=a-1,h=a===0?o:[""],m=yp(h),v=0,$=0,B=0;v<n;++v)for(var w=0,C=Sr(e,p+1,p=gp($=i[v])),E=e;w<m;++w)(E=bp($>0?h[w]+" "+C:X(C,/&\f/g,h[w])))&&(s[B++]=E);return Ya(e,t,r,a===0?Ga:l,s,c,d,f)}function P5(e,t,r,n){return Ya(e,t,r,mp,Tl(b5()),Sr(e,2,-2),0,n)}function eu(e,t,r,n,a){return Ya(e,t,r,Rl,Sr(e,0,n),Sr(e,n+1,-1),n,a)}function xp(e,t,r){switch(v5(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 4789:return Jr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+Jr+e+ce+e+e;case 5936:switch(Pe(e,t+11)){case 114:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return oe+e+ce+e+e;case 6165:return oe+e+ce+"flex-"+e+e;case 5187:return oe+e+X(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+ce+"flex-$1$2")+e;case 5443:return oe+e+ce+"flex-item-"+X(e,/flex-|-self/g,"")+(pt(e,/flex-|baseline/)?"":ce+"grid-row-"+X(e,/flex-|-self/g,""))+e;case 4675:return oe+e+ce+"flex-line-pack"+X(e,/align-content|flex-|-self/g,"")+e;case 5548:return oe+e+ce+X(e,"shrink","negative")+e;case 5292:return oe+e+ce+X(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+X(e,"-grow","")+oe+e+ce+X(e,"grow","positive")+e;case 4554:return oe+X(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4200:if(!pt(e,/flex-|baseline/))return ce+"grid-column-align"+Sr(e,t)+e;break;case 2592:case 3360:return ce+X(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,pt(n.props,/grid-\w+-end/)})?~Xn(e+(r=r[t].value),"span",0)?e:ce+X(e,"-start","")+e+ce+"grid-row-span:"+(~Xn(r,"span",0)?pt(r,/\d+/):+pt(r,/\d+/)-+pt(e,/\d+/))+";":ce+X(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return pt(n.props,/grid-\w+-start/)})?e:ce+X(X(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rt(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+Jr+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xn(e,"stretch",0)?xp(X(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return X(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,o,i,l,s,c){return ce+a+":"+o+c+(i?ce+a+"-span:"+(l?s:+s-+o)+c:"")+e});case 4949:if(Pe(e,t+6)===121)return X(e,":",":"+oe)+e;break;case 6444:switch(Pe(e,Pe(e,14)===45?18:11)){case 120:return X(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(Pe(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+ce+"$2box$3")+e;case 100:return X(e,":",":"+ce)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return X(e,"scroll-","scroll-snap-")+e}return e}function Ca(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function k5(e,t,r,n){switch(e.type){case m5:if(e.children.length)break;case h5:case Rl:return e.return=e.return||e.value;case mp:return"";case vp:return e.return=e.value+"{"+Ca(e.children,n)+"}";case Ga:if(!rt(e.value=e.props.join(",")))return""}return rt(r=Ca(e.children,n))?e.return=e.value+"{"+r+"}":""}function B5(e){var t=yp(e);return function(r,n,a,o){for(var i="",l=0;l<t;l++)i+=e[l](r,n,a,o)||"";return i}}function R5(e){return function(t){t.root||(t=t.return)&&e(t)}}function T5(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Rl:e.return=xp(e.value,e.length,r);return;case vp:return Ca([Dt(e,{value:X(e.value,"@","@"+oe)})],n);case Ga:if(e.length)return g5(r=e.props,function(a){switch(pt(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":rr(Dt(e,{props:[X(a,/:(read-\w+)/,":"+Jr+"$1")]})),rr(Dt(e,{props:[a]})),Ci(e,{props:Qs(r,n)});break;case"::placeholder":rr(Dt(e,{props:[X(a,/:(plac\w+)/,":"+oe+"input-$1")]})),rr(Dt(e,{props:[X(a,/:(plac\w+)/,":"+Jr+"$1")]})),rr(Dt(e,{props:[X(a,/:(plac\w+)/,ce+"input-$1")]})),rr(Dt(e,{props:[a]})),Ci(e,{props:Qs(r,n)});break}return""})}}var A5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Yt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Dp="active",wp="data-styled-version",Qa="6.1.9",Al=`/*!sc*/
|
|
18
|
-
`,
|
|
17
|
+
*/var Uu;function xg(){return Uu||(Uu=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=s,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(C){{for(var E=arguments.length,w=new Array(E>1?E-1:0),S=1;S<E;S++)w[S-1]=arguments[S];n("error",C,w)}}function n(C,E,w){{var S=t.ReactDebugCurrentFrame,F=S.getStackAddendum();F!==""&&(E+="%s",w=w.concat([F]));var b=w.map(function(A){return String(A)});b.unshift("Warning: "+E),Function.prototype.apply.call(console[C],console,b)}}function a(C,E){return C===E&&(C!==0||1/C===1/E)||C!==C&&E!==E}var o=typeof Object.is=="function"?Object.is:a,i=e.useState,l=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue,d=!1,f=!1;function p(C,E,w){d||e.startTransition!==void 0&&(d=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var S=E();if(!f){var F=E();o(S,F)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var b=i({inst:{value:S,getSnapshot:E}}),A=b[0].inst,P=b[1];return u(function(){A.value=S,A.getSnapshot=E,m(A)&&P({inst:A})},[C,S,E]),l(function(){m(A)&&P({inst:A});var x=function(){m(A)&&P({inst:A})};return C(x)},[C]),c(S),S}function m(C){var E=C.getSnapshot,w=C.value;try{var S=E();return!o(w,S)}catch{return!0}}function h(C,E,w){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,k=y?h:p,D=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:k;Io.useSyncExternalStore=D,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Io}process.env.NODE_ENV==="production"?bi.exports=$g():bi.exports=xg();var Dg=bi.exports;class gl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new gl(this.type,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}constructor(t,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.type=t,this.key=r}}class R1{*[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(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),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),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode;let n=r;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this)return;this.ownerDocument.startTransaction();let r=t.nextSibling;for(;r;)r.index--,r=r.nextSibling;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.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class cn extends R1{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof cn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,a;let o=this.ownerDocument.getMutableNode(this);o.index=this.index,o.level=this.level,o.parentKey=this.parentNode instanceof cn?this.parentNode.node.key:null;var i;o.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;o.nextKey=(l=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&l!==void 0?l:null,o.hasChildNodes=!!this.firstChild;var u;o.firstChildKey=(u=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&u!==void 0?u:null;var c;o.lastChildKey=(c=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&c!==void 0?c:null}setProps(t,r,n){let a=this.ownerDocument.getMutableNode(this),{value:o,textValue:i,id:l,...u}=t;if(u.ref=r,a.props=u,a.rendered=n,a.value=o,a.textValue=i||(typeof n=="string"?n:"")||t["aria-label"]||"",l!=null&&l!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=l}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new gl(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class wg{get size(){return this.keyMap.size}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 n=r.get(t),a=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?r.get(a.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);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n: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==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t==null?void 0:t.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r: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}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class Eg extends R1{get isConnected(){return!0}createElement(t){return new cn(t,this)}getMutableNode(t){let r=t.node;return this.mutatedNodes.has(t)||(r=t.node.clone(),this.mutatedNodes.add(t),t.node=r),this.markDirty(t),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let r=this.getMutableCollection();if(!r.getItem(t.node.key)){r.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let o of this.dirtyNodes)o instanceof cn&&o.isConnected&&o.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let o=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&o.addNode(i.node);var n,a;o.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(a=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&a!==void 0?a:null,this.isSSR),this.mutatedNodes.clear()}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function bl(e){let{children:t,items:r,idScope:n,addIdAndValue:a,dependencies:o=[]}=e,i=s.useMemo(()=>new WeakMap,o);return s.useMemo(()=>{if(r&&typeof t=="function"){let c=[];for(let d of r){let f=i.get(d);if(!f){f=t(d);var l,u;let p=(u=(l=f.props.id)!==null&&l!==void 0?l:d.key)!==null&&u!==void 0?u:d.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=s.cloneElement(f,a?{key:p,id:p,value:d}:{key:p}),i.set(d,f)}c.push(f)}return c}else if(typeof t!="function")return t},[t,r,i,n,a])}function Cg(e){return bl({...e,addIdAndValue:!0})}const T1=s.createContext(!1);function Sg(e,t){let{collection:r,document:n}=A1(t);return{portal:F1(e,n),collection:r}}function Pg(e,t,r){let n=yt(),a=s.useRef(n);a.current=n;let o=s.useCallback(()=>a.current?r():t(),[t,r]);return Dg.useSyncExternalStore(e,o)}const kg=typeof s.useSyncExternalStore=="function"?s.useSyncExternalStore:Pg;function A1(e){let t=s.useMemo(()=>new Eg(e||new wg),[e]),r=s.useCallback(i=>t.subscribe(i),[t]),n=s.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),a=s.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:kg(r,n,a),document:t}}const yi=s.createContext(null),yl=s.createContext(null);function F1(e,t){let r=s.useContext(yl),n=t??r,a=Cg(e),o=s.useMemo(()=>s.createElement(T1.Provider,{value:!0},a),[a]);return yt()?s.createElement(yi.Provider,{value:n},o):vn.createPortal(o,n)}function Bg(e){return s.createElement(s.Fragment,null,F1(e))}function M1(e,t,r){let n=s.useContext(T1);var a;return n?(a=I1(e,t,r,"children"in t?t.children:null))!==null&&a!==void 0?a:s.createElement(s.Fragment,null):null}function Rg(e,t,r){return s.useCallback(n=>{n==null||n.setProps(e,t,r)},[e,t,r])}function I1(e,t,r,n,a){let o=Rg(t,r,n),i=s.useContext(yi);if(i){let l=i.ownerDocument.nodesByProps.get(t);return l||(l=i.ownerDocument.createElement(e),l.setProps(t,r,n),i.appendChild(l),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(t,l)),a?s.createElement(yi.Provider,{value:l},a):null}return s.createElement(e,{ref:o},a)}const $i=Symbol("default");function je({values:e,children:t}){for(let[r,n]of e)t=s.createElement(r.Provider,{value:n},t);return t}function we(e){let{className:t,style:r,children:n,defaultClassName:a,defaultChildren:o,defaultStyle:i,values:l}=e;return s.useMemo(()=>{let u,c,d;return typeof t=="function"?u=t({...l,defaultClassName:a}):u=t,typeof r=="function"?c=r({...l,defaultStyle:i||{}}):c=r,typeof n=="function"?d=n({...l,defaultChildren:o}):n==null?d=o:d=n,{className:u??a,style:c||i?{...i,...c}:void 0,children:d??o,"data-rac":""}},[t,r,n,a,o,i,l])}function Qt(e,t){let r=s.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(o=>`"${o}"`));if(!t&&!r.slots[$i])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let a=t||$i;if(!r.slots[a])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[a]}return r}function Ee(e,t,r){let n=Qt(r,e.slot)||{},{ref:a,...o}=n,i=Rt(s.useMemo(()=>Ra(t,a),[t,a])),l=Y(o,e);return"style"in o&&o.style&&"style"in e&&e.style&&(typeof o.style=="function"||typeof e.style=="function"?l.style=u=>{let c=typeof o.style=="function"?o.style(u):o.style,d={...u.defaultStyle,...c},f=typeof e.style=="function"?e.style({...u,defaultStyle:d}):e.style;return{...d,...f}}:l.style={...o.style,...e.style}),[l,i]}function Cn(){let[e,t]=s.useState(!0),r=s.useRef(!1),n=s.useCallback(a=>{r.current=!0,t(!!a)},[]);return ie(()=>{r.current||t(!1)},[]),[n,e]}function $l(e,t=!0){let[r,n]=s.useState(!0);return O1(e,r&&t,s.useCallback(()=>n(!1),[])),r&&t}function xi(e,t){let[r,n]=s.useState(!1),[a,o]=s.useState("idle");return!t&&e.current&&a==="idle"&&(r=!0,n(!0),o("exiting")),!e.current&&a==="exited"&&o("idle"),O1(e,r,s.useCallback(()=>{o("exited"),n(!1)},[])),r}function O1(e,t,r){let n=s.useRef(null);t&&e.current&&(n.current=window.getComputedStyle(e.current).animation),ie(()=>{if(t&&e.current){let a=window.getComputedStyle(e.current);if(a.animationName&&a.animationName!=="none"&&a.animation!==n.current){let o=l=>{l.target===e.current&&(i.removeEventListener("animationend",o),vn.flushSync(()=>{r()}))},i=e.current;return i.addEventListener("animationend",o),()=>{i.removeEventListener("animationend",o)}}else r()}},[e,t,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const dn=s.createContext(!1),Tg=typeof DocumentFragment<"u"?new DocumentFragment:null;function Ag(e){let t=s.useContext(dn),r=yt();if(t)return s.createElement(s.Fragment,null,e.children);let n=s.createElement(dn.Provider,{value:!0},e.children);return r?s.createElement("template",{"data-react-aria-hidden":!0},n):vn.createPortal(n,Tg)}function V1(e){let t=(r,n)=>s.useContext(dn)?null:e(r,n);return t.displayName=e.displayName||e.name,s.forwardRef(t)}function xl(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}const Fg=s.createContext(null);function Mg(e,t){[e,t]=Ee(e,t,Fg);let r=e.href?"a":"span",{linkProps:n,isPressed:a}=Fh({...e,elementType:r},t),{hoverProps:o,isHovered:i}=$t(e),{focusProps:l,isFocused:u,isFocusVisible:c}=et(),d=we({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:a,isHovered:i,isFocused:u,isFocusVisible:c}});return s.createElement(r,{ref:t,slot:e.slot||void 0,...Y(d,n,o,l),"data-focused":u||void 0,"data-hovered":i||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},d.children)}const Ig=s.forwardRef(Mg),Og=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Tr=s.createContext({});function Vg(e,t){[e,t]=Ee(e,t,Tr);let r=e,{buttonProps:n,isPressed:a}=Xv(e,t),{focusProps:o,isFocused:i,isFocusVisible:l}=et(e),{hoverProps:u,isHovered:c}=$t(e),d=we({...e,values:{isHovered:c,isPressed:a,isFocused:i,isFocusVisible:l,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return s.createElement("button",{...re(e,{propNames:Og}),...Y(n,o,u),...d,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||a||void 0,"data-hovered":c||void 0,"data-focused":i||void 0,"data-focus-visible":l||void 0})}const L1=V1(Vg),Ft=s.createContext({});function $r(e,t,r){return t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0}function Di(e,t,r,n,a){let o={};for(let l in t)o[l]=Math.floor(t[l]/2),o[l]>0&&t[l]%2===0&&o[l]--;let i=jt(e,t,r).subtract(o);return fn(e,i,t,r,n,a)}function jt(e,t,r,n,a){let o=e;return t.years?o=Wh(e):t.months?o=Ut(e):t.weeks&&(o=nn(e,r)),fn(e,o,t,r,n,a)}function wi(e,t,r,n,a){let o={...t};t.days?o.days--:t.weeks?o.weeks--:t.months?o.months--:t.years&&o.years--;let i=jt(e,t,r).subtract(o);return fn(e,i,t,r,n,a)}function fn(e,t,r,n,a,o){return a&&e.compare(a)>=0&&(t=el(t,jt(Ae(a),r,n))),o&&e.compare(o)<=0&&(t=Xi(t,wi(Ae(o),r,n))),t}function Dt(e,t,r){return t&&(e=el(e,Ae(t))),r&&(e=Xi(e,Ae(r))),e}function j1(e,t,r){if(!r)return e;for(;e.compare(t)>=0&&r(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function N1(e){let t=s.useMemo(()=>new ht(e.locale),[e.locale]),r=s.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:a,visibleDuration:o={months:1},minValue:i,maxValue:l,selectionAlignment:u,isDateUnavailable:c,pageBehavior:d="visible"}=e,f=s.useMemo(()=>a(r.calendar),[a,r.calendar]),[p,m]=Xe(e.value,e.defaultValue,e.onChange),h=s.useMemo(()=>p?pe(Ae(p),f):null,[p,f]),v=s.useMemo(()=>p&&"timeZone"in p?p.timeZone:r.timeZone,[p,r.timeZone]),y=s.useMemo(()=>e.focusedValue?Dt(pe(Ae(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),k=s.useMemo(()=>Dt(e.defaultFocusedValue?pe(Ae(e.defaultFocusedValue),f):h||pe(Qi(v),f),i,l),[e.defaultFocusedValue,h,v,f,i,l]),[D,C]=Xe(y,k,e.onFocusChange),[E,w]=s.useState(()=>{switch(u){case"start":return jt(D,o,n,i,l);case"end":return wi(D,o,n,i,l);case"center":default:return Di(D,o,n,i,l)}}),[S,F]=s.useState(e.autoFocus||!1),b=s.useMemo(()=>{let $={...o};return $.days?$.days--:$.days=-1,E.add($)},[E,o]),[A,P]=s.useState(f.identifier);if(f.identifier!==A){let $=pe(D,f);w(Di($,o,n,i,l)),C($),P(f.identifier)}$r(D,i,l)?C(Dt(D,i,l)):D.compare(E)<0?w(wi(D,o,n,i,l)):D.compare(b)>0&&w(jt(D,o,n,i,l));function x($){$=Dt($,i,l),C($)}function M($){if(!e.isDisabled&&!e.isReadOnly){if($===null){m(null);return}if($=Dt($,i,l),$=j1($,E,c),!$)return;$=pe($,(p==null?void 0:p.calendar)||new Ve),p&&"hour"in p?m(p.set($)):m($)}}let R=s.useMemo(()=>h?c&&c(h)?!0:$r(h,i,l):!1,[h,c,i,l]),T=e.isInvalid||e.validationState==="invalid"||R,N=T?"invalid":null,O=s.useMemo(()=>d==="visible"?o:Oo(o),[d,o]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:h,setValue:M,visibleRange:{start:E,end:b},minValue:i,maxValue:l,focusedDate:D,timeZone:v,validationState:N,isValueInvalid:T,setFocusedDate($){x($),F(!0)},focusNextDay(){x(D.add({days:1}))},focusPreviousDay(){x(D.subtract({days:1}))},focusNextRow(){o.days?this.focusNextPage():(o.weeks||o.months||o.years)&&x(D.add({weeks:1}))},focusPreviousRow(){o.days?this.focusPreviousPage():(o.weeks||o.months||o.years)&&x(D.subtract({weeks:1}))},focusNextPage(){let $=E.add(O);C(Dt(D.add(O),i,l)),w(jt(fn(D,$,O,n,i,l),O,n))},focusPreviousPage(){let $=E.subtract(O);C(Dt(D.subtract(O),i,l)),w(jt(fn(D,$,O,n,i,l),O,n))},focusSectionStart(){o.days?x(E):o.weeks?x(nn(D,n)):(o.months||o.years)&&x(Ut(D))},focusSectionEnd(){o.days?x(b):o.weeks?x(Yh(D,n)):(o.months||o.years)&&x(va(D))},focusNextSection($){if(!$&&!o.days){x(D.add(Oo(o)));return}o.days?this.focusNextPage():o.weeks?x(D.add({months:1})):(o.months||o.years)&&x(D.add({years:1}))},focusPreviousSection($){if(!$&&!o.days){x(D.subtract(Oo(o)));return}o.days?this.focusPreviousPage():o.weeks?x(D.subtract({months:1})):(o.months||o.years)&&x(D.subtract({years:1}))},selectFocusedDate(){M(D)},selectDate($){M($)},isFocused:S,setFocused:F,isInvalid($){return $r($,i,l)},isSelected($){return h!=null&&xe($,h)&&!this.isCellDisabled($)&&!this.isCellUnavailable($)},isCellFocused($){return S&&D&&xe($,D)},isCellDisabled($){return e.isDisabled||$.compare(E)<0||$.compare(b)>0||this.isInvalid($,i,l)},isCellUnavailable($){return e.isDateUnavailable&&e.isDateUnavailable($)},isPreviousVisibleRangeInvalid(){let $=E.subtract({days:1});return xe($,E)||this.isInvalid($,i,l)},isNextVisibleRangeInvalid(){let $=b.add({days:1});return xe($,b)||this.isInvalid($,i,l)},getDatesInWeek($,z=E){let H=z.add({weeks:$}),B=[];H=nn(H,n);let V=Ji(H,n);for(let K=0;K<V;K++)B.push(null);for(;B.length<7;){B.push(H);let K=H.add({days:1});if(xe(H,K))break;H=K}for(;B.length<7;)B.push(null);return B}}}function Oo(e){let t={...e};for(let r in e)t[r]=1;return t}function Lg(e){let{value:t,defaultValue:r,onChange:n,createCalendar:a,locale:o,visibleDuration:i={months:1},minValue:l,maxValue:u,...c}=e,[d,f]=Xe(t,r||null,n),[p,m]=s.useState(null),h="center";if(d&&d.start&&d.end){let z=Di(Ae(d.start),i,o,l,u).add(i).subtract({days:1});d.end.compare(z)>0&&(h="start")}let v=s.useRef(null),[y,k]=s.useState(null),D=s.useMemo(()=>el(l,y==null?void 0:y.start),[l,y]),C=s.useMemo(()=>Xi(u,y==null?void 0:y.end),[u,y]),E=N1({...c,value:d&&d.start,createCalendar:a,locale:o,visibleDuration:i,minValue:D,maxValue:C,selectionAlignment:h}),w=$=>{$&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(v.current={start:Gu($,E,-1),end:Gu($,E,1)},k(v.current)):(v.current=null,k(null))},[S,F]=s.useState(E.visibleRange);(!ai(E.visibleRange.start,S.start)||!ai(E.visibleRange.end,S.end))&&(w(p),F(E.visibleRange));let b=$=>{$?(m($),w($)):(m(null),w(null))},A=p?Vo(p,E.focusedDate):d&&Vo(d.start,d.end),P=$=>{if(!e.isReadOnly&&($=Dt($,D,C),$=j1($,E.visibleRange.start,e.isDateUnavailable),!!$))if(!p)b($);else{let z=Vo(p,$);f({start:Wu(z.start,d==null?void 0:d.start),end:Wu(z.end,d==null?void 0:d.end)}),b(null)}},[x,M]=s.useState(!1),{isDateUnavailable:R}=e,T=s.useMemo(()=>!d||p?!1:R&&(R(d.start)||R(d.end))?!0:$r(d.start,l,u)||$r(d.end,l,u),[R,d,p,l,u]),N=e.isInvalid||e.validationState==="invalid"||T;return{...E,value:d,setValue:f,anchorDate:p,setAnchorDate:b,highlightedRange:A,validationState:N?"invalid":null,isValueInvalid:N,selectFocusedDate(){P(E.focusedDate)},selectDate:P,highlightDate($){p&&E.setFocusedDate($)},isSelected($){return A&&$.compare(A.start)>=0&&$.compare(A.end)<=0&&!E.isCellDisabled($)&&!E.isCellUnavailable($)},isInvalid($){var z,H;return E.isInvalid($)||$r($,(z=v.current)===null||z===void 0?void 0:z.start,(H=v.current)===null||H===void 0?void 0:H.end)},isDragging:x,setDragging:M}}function Vo(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Ae(e),end:Ae(t)})}function Wu(e,t){return e=pe(e,(t==null?void 0:t.calendar)||new Ve),t&&"hour"in t?t.set(e):e}function Gu(e,t,r){let n=e.add({days:r});for(;(r<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:r});return t.isCellUnavailable(n)?n.add({days:-r}):null}function jg(e={}){let[t,r]=Xe(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,a=s.useRef(new Map),o=Jt({...e,value:t}),i=o.displayValidation.isInvalid;var l;return{...o,value:t,setValue(c){e.isReadOnly||e.isDisabled||r(c)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(c){return t.includes(c)},addValue(c){e.isReadOnly||e.isDisabled||t.includes(c)||r(t.concat(c))},removeValue(c){e.isReadOnly||e.isDisabled||t.includes(c)&&r(t.filter(d=>d!==c))},toggleValue(c){e.isReadOnly||e.isDisabled||(t.includes(c)?r(t.filter(d=>d!==c)):r(t.concat(c)))},setInvalid(c,d){let f=new Map(a.current);d.isInvalid?f.set(c,d):f.delete(c),a.current=f,o.updateValidation(sn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class qu{*[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}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let i of o.childNodes)r(i)};for(let o of t)r(o);let n,a=0;for(let[o,i]of this.keyMap)n?(n.nextKey=o,i.prevKey=n.key):(this.firstKey=o,i.prevKey=void 0),i.type==="item"&&(i.index=a++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}class Ye extends Set{constructor(t,r,n){super(t),t instanceof Ye?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function Ng(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Kg(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:o="all"}=e,i=s.useRef(!1),[,l]=s.useState(!1),u=s.useRef(null),c=s.useRef(null),[,d]=s.useState(null),f=s.useMemo(()=>Yu(e.selectedKeys),[e.selectedKeys]),p=s.useMemo(()=>Yu(e.defaultSelectedKeys,new Ye),[e.defaultSelectedKeys]),[m,h]=Xe(f,p,e.onSelectionChange),v=s.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,k]=s.useState(a);a==="replace"&&y==="toggle"&&typeof m=="object"&&m.size===0&&k("replace");let D=s.useRef(a);return s.useEffect(()=>{a!==D.current&&(k(a),D.current=a)},[a]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:k,get isFocused(){return i.current},setFocused(C){i.current=C,l(C)},get focusedKey(){return u.current},get childFocusStrategy(){return c.current},setFocusedKey(C,E="first"){u.current=C,c.current=E,d(C)},selectedKeys:m,setSelectedKeys(C){(n||!Ng(C,m))&&h(C)},disabledKeys:v,disabledBehavior:o}}function Yu(e,t){return e?e==="all"?"all":new Ye(e):t}class _g{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){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Fo(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Fo(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}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}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Ye([t],t,t);else{let n=this.state.selectedKeys,a=n.anchorKey||t;r=new Ye(n,a,t);for(let o of this.getKeyRange(a,n.currentKey||t))r.delete(o);for(let o of this.getKeyRange(t,a))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),a=this.collection.getItem(r);return n&&a?Fo(this.collection,n,a)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],a=t;for(;a;){let o=this.collection.getItem(a);if((o&&o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&n.push(a),a===r)return n;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;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}if(t=this.getKey(t),t==null)return;let r=new Ye(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Ye([t],t,t):new Ye;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Ye;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let a=this.collection.getItem(n);a.type==="item"&&t.push(n),a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r(G3(Bf(a,this.collection)).key)}n=this.collection.getKeyAfter(n)}};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 Ye)}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!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(t){var r;return(r=this.collection.getItem(t))===null||r===void 0?void 0:r.props}constructor(t,r,n){this.collection=t,this.state=r;var a;this.allowsCellSelection=(a=n==null?void 0:n.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null}}function K1(e){let{filter:t}=e,r=Kg(e),n=s.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=s.useCallback(c=>t?new qu(t(c)):new qu(c),[t]),o=s.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=W3(e,a,o),l=s.useMemo(()=>new _g(i,r),[i,r]);const u=s.useRef(null);return s.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const c=u.current.getItem(r.focusedKey),d=[...u.current.getKeys()].map(v=>{const y=u.current.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),f=[...i.getKeys()].map(v=>{const y=i.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),p=d.length-f.length;let m=Math.min(p>1?Math.max(c.index-p+1,0):c.index,f.length-1),h;for(;m>=0;){if(!l.isDisabled(f[m].key)){h=f[m];break}m<f.length-1?m++:(m>c.index&&(m=c.index),m--)}r.setFocusedKey(h?h.key:null)}u.current=i},[i,l,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:l}}function zg(e){var t;let[r,n]=Xe(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),a=s.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:i,selectionManager:l}=K1({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,onSelectionChange:c=>{var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:i,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:u}}function Ar(e){let[t,r]=Xe(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=s.useCallback(()=>{r(!0)},[r]),a=s.useCallback(()=>{r(!1)},[r]),o=s.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:a,toggle:o}}var _1={};_1={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var z1={};z1={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var H1={};H1={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var Z1={};Z1={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var U1={};U1={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var W1={};W1={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var G1={};G1={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."};var q1={};q1={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var Y1={};Y1={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var J1={};J1={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var Q1={};Q1={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var X1={};X1={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var e4={};e4={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var t4={};t4={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var r4={};r4={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."};var n4={};n4={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var a4={};a4={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var o4={};o4={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var i4={};i4={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var l4={};l4={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var u4={};u4={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."};var s4={};s4={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var c4={};c4={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var d4={};d4={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var f4={};f4={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var p4={};p4={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var m4={};m4={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var h4={};h4={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var v4={};v4={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var g4={};g4={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var b4={};b4={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var y4={};y4={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var $4={};$4={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var x4={};x4={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var D4={};D4={"ar-AE":_1,"bg-BG":z1,"cs-CZ":H1,"da-DK":Z1,"de-DE":U1,"el-GR":W1,"en-US":G1,"es-ES":q1,"et-EE":Y1,"fi-FI":J1,"fr-FR":Q1,"he-IL":X1,"hr-HR":e4,"hu-HU":t4,"it-IT":r4,"ja-JP":n4,"ko-KR":a4,"lt-LT":o4,"lv-LV":i4,"nb-NO":l4,"nl-NL":u4,"pl-PL":s4,"pt-BR":c4,"pt-PT":d4,"ro-RO":f4,"ru-RU":p4,"sk-SK":m4,"sl-SI":h4,"sr-SP":v4,"sv-SE":g4,"tr-TR":b4,"uk-UA":y4,"zh-CN":$4,"zh-TW":x4};function Hg(e){return e&&e.__esModule?e.default:e}const w4=new At(Hg(D4));function E4(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Ea(e,t,r,n,a){let o=e!=null&&r!=null&&e.compare(r)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,u=o||i||l,c=[];if(u){let d=E4(),f=At.getGlobalDictionaryForPackage("@react-stately/datepicker")||w4,p=new gc(d,f),m=new ht(d,Cr({},a)),h=m.resolvedOptions().timeZone;i&&c.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(h))})),o&&c.push(p.format("rangeOverflow",{maxValue:m.format(r.toDate(h))})),l&&c.push(p.format("unavailableDate"))}return{isInvalid:u,validationErrors:c,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!u}}}function Zg(e,t,r,n,a){let o=Ea(e==null?void 0:e.start,t,r,n,a),i=Ea(e==null?void 0:e.end,t,r,n,a),l=sn(o,i);if(e.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let u=At.getGlobalDictionaryForPackage("@react-stately/datepicker")||w4;l=sn(l,{isInvalid:!0,validationErrors:[u.getStringForLocale("rangeReversed",E4())],validationDetails:{...Na,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return l}const Ug={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Wg={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Cr(e,t){e={...t.shouldForceLeadingZeros?Wg:Ug,...e};let n=t.granularity||"minute",a=Object.keys(e);var o;let i=a.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");i<0&&(i=0);let l=a.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let u=a.slice(i,l+1).reduce((d,f)=>(d[f]=e[f],d),{});return t.hourCycle!=null&&(u.hour12=t.hourCycle===12),u.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(u.timeZoneName="short"),t.showEra&&i===0&&(u.era="short"),u}function mr(e){return e&&"hour"in e?e:new ll}function C4(e,t){if(e===null)return null;if(e)return pe(e,t)}function Nr(e,t,r,n){if(e)return C4(e,r);let a=pe($c(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Ae(a):n?a:Ue(a)}function Dl(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[a,o]=s.useState([n,r]);e&&(a[0]!==n||a[1]!==r)&&o([n,r]),t||(t=e?n:a[0]);let i=e?r:a[1];return[t,i]}function Gg(e){let t=Ar(e),[r,n]=Xe(e.value,e.defaultValue||null,e.onChange),a=r||e.placeholderValue,[o,i]=Dl(a,e.granularity),l=r!=null?r.toDate(i??"UTC"):null,u=o==="hour"||o==="minute"||o==="second";var c;let d=(c=e.shouldCloseOnSelect)!==null&&c!==void 0?c:!0,[f,p]=s.useState(null),[m,h]=s.useState(null);if(r&&(f=r,"hour"in r&&(m=r)),a&&!(o in a))throw new Error("Invalid granularity "+o+" for value "+a.toString());let v=(r==null?void 0:r.calendar.identifier)==="gregory"&&r.era==="BC",y=s.useMemo(()=>({granularity:o,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:v}),[o,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,v]),{minValue:k,maxValue:D,isDateUnavailable:C}=e,E=s.useMemo(()=>Ea(r,k,D,C,y),[r,k,D,C,y]),w=Jt({...e,value:r,builtinValidation:E}),S=w.displayValidation.isInvalid,F=e.validationState||(S?"invalid":null),b=(x,M)=>{n("timeZone"in M?M.set(Ae(x)):Ue(x,M)),p(null),h(null),w.commitValidation()};return{...w,value:r,setValue:n,dateValue:f,timeValue:m,setDateValue:x=>{let M=typeof d=="function"?d():d;u?m||M?b(x,m||mr(e.placeholderValue)):p(x):(n(x),w.commitValidation()),M&&t.setOpen(!1)},setTimeValue:x=>{f&&x?b(f,x):h(x)},granularity:o,hasTime:u,...t,setOpen(x){!x&&!r&&f&&u&&b(f,m||mr(e.placeholderValue)),t.setOpen(x)},validationState:F,isInvalid:S,formatValue(x,M){if(!l)return"";let R=Cr(M,y);return new ht(x,R).format(l)}}}const qg=new At({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",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:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},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:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},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:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",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:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",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:"гггг",month:"мм",day:"дд"},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:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Yg(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?qg.getStringForLocale(e,r):"––"}const _n={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Ju={year:5,month:2,day:7,hour:2,minute:15,second:15},Jg={dayperiod:"dayPeriod"};function Qg(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:a,isReadOnly:o,isRequired:i,minValue:l,maxValue:u,isDateUnavailable:c}=e,d=e.value||e.defaultValue||e.placeholderValue,[f,p]=Dl(d,e.granularity),m=p||"UTC";if(d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let h=s.useMemo(()=>new ht(t),[t]),v=s.useMemo(()=>r(h.resolvedOptions().calendar),[r,h]),[y,k]=Xe(e.value,e.defaultValue,e.onChange),D=s.useMemo(()=>C4(y,v),[y,v]),[C,E]=s.useState(()=>Nr(e.placeholderValue,f,v,p)),w=D||C,S=v.identifier==="gregory"&&w.era==="BC",F=s.useMemo(()=>{var I;return{granularity:f,maxGranularity:(I=e.maxGranularity)!==null&&I!==void 0?I:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:S,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,S]),b=s.useMemo(()=>Cr({},F),[F]),A=s.useMemo(()=>new ht(t,b),[t,b]),P=s.useMemo(()=>A.resolvedOptions(),[A]),x=s.useMemo(()=>A.formatToParts(new Date).filter(I=>_n[I.type]).reduce((I,_)=>(I[_.type]=!0,I),{}),[A]),[M,R]=s.useState(()=>e.value||e.defaultValue?{...x}:{}),T=s.useRef(),N=s.useRef(v.identifier);s.useEffect(()=>{v.identifier!==N.current&&(N.current=v.identifier,E(I=>Object.keys(M).length>0?pe(I,v):Nr(e.placeholderValue,f,v,p)))},[v,f,M,p,e.placeholderValue]),y&&Object.keys(M).length<Object.keys(x).length&&(M={...x},R(M)),y==null&&Object.keys(M).length===Object.keys(x).length&&(M={},R(M),E(Nr(e.placeholderValue,f,v,p)));let O=D&&Object.keys(M).length>=Object.keys(x).length?D:C,$=I=>{if(e.isDisabled||e.isReadOnly)return;let _=Object.keys(M),Z=Object.keys(x);I==null?(k(null),E(Nr(e.placeholderValue,f,v,p)),R({})):_.length>=Z.length||_.length===Z.length-1&&x.dayPeriod&&!M.dayPeriod&&T.current!=="dayPeriod"?(I=pe(I,(d==null?void 0:d.calendar)||new Ve),k(I)):E(I),T.current=null},z=s.useMemo(()=>O.toDate(m),[O,m]),H=s.useMemo(()=>A.formatToParts(z).map(I=>{let _=_n[I.type];I.type==="era"&&v.getEras().length===1&&(_=!1);let Z=_n[I.type]&&!M[I.type],q=_n[I.type]?Yg(I.type,I.value,t):null;return{type:Jg[I.type]||I.type,text:Z?q:I.value,...Xg(O,I.type,P),isPlaceholder:Z,placeholder:q,isEditable:_}}),[z,M,A,P,O,v,t]);x.era&&M.year&&!M.era?(M.era=!0,R({...M})):!x.era&&M.era&&(delete M.era,R({...M}));let B=I=>{M[I]=!0,I==="year"&&x.era&&(M.era=!0),R({...M})},V=(I,_)=>{if(M[I])$(eb(O,I,_,P));else{B(I);let Z=Object.keys(M),q=Object.keys(x);(Z.length>=q.length||Z.length===q.length-1&&x.dayPeriod&&!M.dayPeriod)&&$(O)}},K=s.useMemo(()=>Ea(y,l,u,c,F),[y,l,u,c,F]),W=Jt({...e,value:y,builtinValidation:K}),U=W.displayValidation.isInvalid,Q=e.validationState||(U?"invalid":null);var G;return{...W,value:D,dateValue:z,calendar:v,setValue:$,segments:H,dateFormatter:A,validationState:Q,isInvalid:U,granularity:f,maxGranularity:(G=e.maxGranularity)!==null&&G!==void 0?G:"year",isDisabled:a,isReadOnly:o,isRequired:i,increment(I){V(I,1)},decrement(I){V(I,-1)},incrementPage(I){V(I,Ju[I]||1)},decrementPage(I){V(I,-(Ju[I]||1))},setSegment(I,_){B(I),$(tb(O,I,_,P))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let I=Object.keys(M),_=Object.keys(x);I.length===_.length-1&&x.dayPeriod&&!M.dayPeriod&&(M={...x},R(M),$(O.copy()))},clearSegment(I){delete M[I],T.current=I,R({...M});let _=Nr(e.placeholderValue,f,v,p),Z=O;if(I==="dayPeriod"&&"hour"in O&&"hour"in _){let q=O.hour>=12,te=_.hour>=12;q&&!te?Z=O.set({hour:O.hour-12}):!q&&te&&(Z=O.set({hour:O.hour+12}))}else I in O&&(Z=O.set({[I]:_[I]}));k(null),$(Z)},formatValue(I){if(!D)return"";let _=Cr(I,F);return new ht(t,_).format(z)}}}function Xg(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:Gh(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:qh(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 n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?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 eb(e,t,r,n){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 a=e.hour,o=a>=12;return e.set({hour:o?a-12:a+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function tb(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e)switch(t){case"dayPeriod":{let a=e.hour,o=a>=12;return r>=12===o?e:e.set({hour:o?a-12:a+12})}case"hour":if(n.hour12){let o=e.hour>=12;!o&&r===12&&(r=0),o&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function rb(e){var t,r;let n=Ar(e),[a,o]=Xe(e.value,e.defaultValue||null,e.onChange),[i,l]=s.useState(()=>a||{start:null,end:null});a==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let u=a||i,c=O=>{l(O||{start:null,end:null}),O!=null&&O.start&&O.end?o(O):o(null)},d=(u==null?void 0:u.start)||(u==null?void 0:u.end)||e.placeholderValue,[f,p]=Dl(d,e.granularity),m=f==="hour"||f==="minute"||f==="second";var h;let v=(h=e.shouldCloseOnSelect)!==null&&h!==void 0?h:!0,[y,k]=s.useState(null),[D,C]=s.useState(null);u&&u.start&&u.end&&(y=u,"hour"in u.start&&(D=u));let E=(O,$)=>{c({start:"timeZone"in $.start?$.start.set(Ae(O.start)):Ue(O.start,$.start),end:"timeZone"in $.end?$.end.set(Ae(O.end)):Ue(O.end,$.end)}),k(null),C(null),R.commitValidation()},w=O=>{let $=typeof v=="function"?v():v;m?$||O.start&&O.end&&(D!=null&&D.start)&&(D!=null&&D.end)?E(O,{start:(D==null?void 0:D.start)||mr(e.placeholderValue),end:(D==null?void 0:D.end)||mr(e.placeholderValue)}):k(O):O.start&&O.end?(c(O),R.commitValidation()):k(O),$&&n.setOpen(!1)},S=O=>{y!=null&&y.start&&(y!=null&&y.end)&&O.start&&O.end?E(y,O):C(O)},F=(u==null||(t=u.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&u.start.era==="BC"||(u==null||(r=u.end)===null||r===void 0?void 0:r.calendar.identifier)==="gregory"&&u.end.era==="BC",b=s.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:F}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,F]),{minValue:A,maxValue:P,isDateUnavailable:x}=e,M=s.useMemo(()=>Zg(u,A,P,x,b),[u,A,P,x,b]),R=Jt({...e,value:a,name:s.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:M}),T=R.displayValidation.isInvalid,N=e.validationState||(T?"invalid":null);return{...R,value:u,setValue:c,dateRange:y,timeRange:D,granularity:f,hasTime:m,setDate(O,$){w({...y,[O]:$})},setTime(O,$){S({...D,[O]:$})},setDateTime(O,$){c({...u,[O]:$})},setDateRange:w,setTimeRange:S,...n,setOpen(O){!O&&!(u!=null&&u.start&&(u!=null&&u.end))&&(y!=null&&y.start)&&(y!=null&&y.end)&&m&&E(y,{start:(D==null?void 0:D.start)||mr(e.placeholderValue),end:(D==null?void 0:D.end)||mr(e.placeholderValue)}),n.setOpen(O)},validationState:N,isInvalid:T,formatValue(O,$){if(!u||!u.start||!u.end)return null;let z="timeZone"in u.start?u.start.timeZone:void 0,H=e.granularity||(u.start&&"minute"in u.start?"minute":"day"),B="timeZone"in u.end?u.end.timeZone:void 0,V=e.granularity||(u.end&&"minute"in u.end?"minute":"day"),K=Cr($,{granularity:H,timeZone:z,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:u.start.calendar.identifier==="gregory"&&u.start.era==="BC"||u.end.calendar.identifier==="gregory"&&u.end.era==="BC"}),W=u.start.toDate(z||"UTC"),U=u.end.toDate(B||"UTC"),Q=new ht(O,K),G;if(z===B&&H===V&&u.start.compare(u.end)!==0){try{let I=Q.formatRangeToParts(W,U),_=-1;for(let te=0;te<I.length;te++){let L=I[te];if(L.source==="shared"&&L.type==="literal")_=te;else if(L.source==="endRange")break}let Z="",q="";for(let te=0;te<I.length;te++)te<_?Z+=I[te].value:te>_&&(q+=I[te].value);return{start:Z,end:q}}catch{}G=Q}else{let I=Cr($,{granularity:V,timeZone:B,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});G=new ht(O,I)}return{start:Q.format(W),end:G.format(U)}}}}function nb(e){let t=Ar(e),[r,n]=s.useState(null),a=zg({...e,onSelectionChange:u=>{e.onSelectionChange!=null&&e.onSelectionChange(u),t.close(),o.commitValidation()}}),o=Jt({...e,value:a.selectedKey}),[i,l]=s.useState(!1);return{...o,...a,...t,focusStrategy:r,open(u=null){a.collection.size!==0&&(n(u),t.open())},toggle(u=null){a.collection.size!==0&&(n(u),t.toggle())},isFocused:i,setFocused:l}}const S4=s.createContext({}),P4=s.createContext({}),Ka=s.createContext(null),_a=s.createContext(null);function ab(e,t){[e,t]=Ee(e,t,S4);let{locale:r}=ke(),n=N1({...e,locale:r,createCalendar:dl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:u}=a3(e,n),c=we({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-Calendar"});return s.createElement("div",{...c,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},s.createElement(je,{values:[[Tr,{slots:{previous:o,next:i}}],[Ba,{"aria-hidden":!0,level:2,children:u}],[Ka,n],[Ft,{slots:{errorMessage:l}}]]},s.createElement(Er,null,s.createElement("h2",null,a["aria-label"])),c.children,s.createElement(Er,null,s.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const ob=s.forwardRef(ab);function ib(e,t){[e,t]=Ee(e,t,P4);let{locale:r}=ke(),n=Lg({...e,locale:r,createCalendar:dl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:u}=o3(e,n,t),c=we({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return s.createElement("div",{...c,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},s.createElement(je,{values:[[Tr,{slots:{previous:o,next:i}}],[Ba,{"aria-hidden":!0,level:2,children:u}],[_a,n],[Ft,{slots:{errorMessage:l}}]]},s.createElement(Er,null,s.createElement("h2",null,a["aria-label"])),c.children,s.createElement(Er,null,s.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const lb=s.forwardRef(ib),za=s.createContext(null);function ub(e,t){let r=s.useContext(Ka),n=s.useContext(_a),a=r??n,o=a.visibleRange.start;e.offset&&(o=o.add(e.offset));let{gridProps:i,headerProps:l,weekDays:u}=i3({startDate:o,endDate:va(o),weekdayStyle:e.weekdayStyle},a);var c;return s.createElement(za.Provider,{value:{headerProps:l,weekDays:u,startDate:o}},s.createElement("table",{...re(e),...i,ref:t,style:e.style,className:(c=e.className)!==null&&c!==void 0?c:"react-aria-CalendarGrid"},typeof e.children!="function"?e.children:s.createElement(s.Fragment,null,s.createElement(db,null,d=>s.createElement(pb,null,d)),s.createElement(hb,null,e.children))))}const sb=s.forwardRef(ub);function cb(e,t){let{children:r,style:n,className:a}=e,{headerProps:o,weekDays:i}=s.useContext(za);return s.createElement("thead",{...re(e),...o,ref:t,style:n,className:a||"react-aria-CalendarGridHeader"},s.createElement("tr",null,i.map((l,u)=>s.cloneElement(r(l),{key:u}))))}const db=s.forwardRef(cb);function fb(e,t){let{children:r,style:n,className:a}=e;return s.createElement("th",{...re(e),ref:t,style:n,className:a||"react-aria-CalendarHeaderCell"},r)}const pb=s.forwardRef(fb);function mb(e,t){let{children:r,style:n,className:a}=e,o=s.useContext(Ka),i=s.useContext(_a),l=o??i,{startDate:u}=s.useContext(za),{locale:c}=ke(),d=Xh(u,c);return s.createElement("tbody",{...re(e),ref:t,style:n,className:a||"react-aria-CalendarGridBody"},[...new Array(d).keys()].map(f=>s.createElement("tr",{key:f},l.getDatesInWeek(f,u).map((p,m)=>p?s.cloneElement(r(p),{key:m}):s.createElement("td",{key:m})))))}const hb=s.forwardRef(mb);function vb({date:e,...t},r){let n=s.useContext(Ka),a=s.useContext(_a),o=n??a;var i;let{startDate:l}=(i=s.useContext(za))!==null&&i!==void 0?i:{startDate:o.visibleRange.start},u=s.useRef(null),{cellProps:c,buttonProps:d,...f}=u3({date:e},o,u),{hoverProps:p,isHovered:m}=$t({...t,isDisabled:f.isDisabled}),{focusProps:h,isFocusVisible:v}=et();v&&(v=f.isFocused);let y=!Zh(l,e),k=!1,D=!1;"highlightedRange"in o&&o.highlightedRange&&(k=xe(e,o.highlightedRange.start),D=xe(e,o.highlightedRange.end));let C=we({...t,defaultChildren:f.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:e,isHovered:m,isOutsideMonth:y,isFocusVisible:v,isSelectionStart:k,isSelectionEnd:D,...f}}),E={"data-focused":f.isFocused||void 0,"data-hovered":m||void 0,"data-pressed":f.isPressed||void 0,"data-unavailable":f.isUnavailable||void 0,"data-disabled":f.isDisabled||void 0,"data-focus-visible":v||void 0,"data-outside-visible-range":f.isOutsideVisibleRange||void 0,"data-outside-month":y||void 0,"data-selected":f.isSelected||void 0,"data-selection-start":k||void 0,"data-selection-end":D||void 0,"data-invalid":f.isInvalid||void 0};return s.createElement("td",{...c,ref:r},s.createElement("div",{...Y(re(t),d,h,p,E,C),ref:u}))}const gb=s.forwardRef(vb),Ha=s.createContext(null),Sn=s.createContext(null),Za=s.createContext({}),bb=s.createContext(null),k4=s.createContext(null);function yb(e,t){[e,t]=Ee(e,t,bb);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=jg({...e,validationBehavior:o}),[l,u]=Cn(),{groupProps:c,labelProps:d,descriptionProps:f,errorMessageProps:p,...m}=v3({...e,label:u,validationBehavior:o},i),h=we({...e,values:{isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:e.isRequired||!1,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-CheckboxGroup"});return s.createElement("div",{...c,...h,ref:t,slot:e.slot||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":i.isInvalid||void 0,"data-disabled":e.isDisabled||void 0},s.createElement(je,{values:[[k4,i],[Za,{...d,ref:l,elementType:"span"}],[Ft,{slots:{description:f,errorMessage:p}}],[Ha,m]]},h.children))}function $b(e,t){let{inputRef:r=null,...n}=e;[e,t]=Ee(n,t,$m);let{validationBehavior:a}=Qt(Sn)||{};var o,i;let l=(i=(o=e.validationBehavior)!==null&&o!==void 0?o:a)!==null&&i!==void 0?i:"native",u=s.useContext(k4),c=Rt(Ra(r,e.inputRef!==void 0?e.inputRef:null)),{labelProps:d,inputProps:f,isSelected:p,isDisabled:m,isReadOnly:h,isPressed:v,isInvalid:y}=u?g3({...e,value:e.value,children:typeof e.children=="function"?!0:e.children},u,c):Ad({...e,children:typeof e.children=="function"?!0:e.children,validationBehavior:l},Id(e),c),{isFocused:k,isFocusVisible:D,focusProps:C}=et(),E=m||h,{hoverProps:w,isHovered:S}=$t({...e,isDisabled:E}),F=we({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:p,isIndeterminate:e.isIndeterminate||!1,isPressed:v,isHovered:S,isFocused:k,isFocusVisible:D,isDisabled:m,isReadOnly:h,isInvalid:y,isRequired:e.isRequired||!1}}),b=re(e);return delete b.id,s.createElement("label",{...Y(b,d,w,F),ref:t,slot:e.slot||void 0,"data-selected":p||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":v||void 0,"data-hovered":S||void 0,"data-focused":k||void 0,"data-focus-visible":D||void 0,"data-disabled":m||void 0,"data-readonly":h||void 0,"data-invalid":y||void 0,"data-required":e.isRequired||void 0},s.createElement(Er,{elementType:"span"},s.createElement("input",{...Y(f,C),ref:c})),F.children)}const xb=s.forwardRef($b),Db=s.forwardRef(yb),B4=s.createContext({});let wb=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...a}=e;return a};function Eb(e,t){[e,t]=Ee(e,t,B4);let{hoverProps:r,isHovered:n}=$t(e),{isFocused:a,isFocusVisible:o,focusProps:i}=et({isTextInput:!0,autoFocus:e.autoFocus}),l=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",u=we({...e,values:{isHovered:n,isFocused:a,isFocusVisible:o,isDisabled:e.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return s.createElement("input",{...Y(wb(e),i,r),...u,ref:t,"data-focused":a||void 0,"data-disabled":e.disabled||void 0,"data-hovered":n||void 0,"data-focus-visible":o||void 0,"data-invalid":l||void 0})}const Cb=V1(Eb);var R4={};R4={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var T4={};T4={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var A4={};A4={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var F4={};F4={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var M4={};M4={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var I4={};I4={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var O4={};O4={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var V4={};V4={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var L4={};L4={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var j4={};j4={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var N4={};N4={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var K4={};K4={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var _4={};_4={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var z4={};z4={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var H4={};H4={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var Z4={};Z4={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var U4={};U4={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var W4={};W4={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var G4={};G4={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var q4={};q4={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var Y4={};Y4={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var J4={};J4={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var Q4={};Q4={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var X4={};X4={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var ep={};ep={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var tp={};tp={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var rp={};rp={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var np={};np={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var ap={};ap={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var op={};op={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var ip={};ip={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var lp={};lp={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var up={};up={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var sp={};sp={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var cp={};cp={"ar-AE":R4,"bg-BG":T4,"cs-CZ":A4,"da-DK":F4,"de-DE":M4,"el-GR":I4,"en-US":O4,"es-ES":V4,"et-EE":L4,"fi-FI":j4,"fr-FR":N4,"he-IL":K4,"hr-HR":_4,"hu-HU":z4,"it-IT":H4,"ja-JP":Z4,"ko-KR":U4,"lt-LT":W4,"lv-LV":G4,"nb-NO":q4,"nl-NL":Y4,"pl-PL":J4,"pt-BR":Q4,"pt-PT":X4,"ro-RO":ep,"ru-RU":tp,"sk-SK":rp,"sl-SI":np,"sr-SP":ap,"sv-SE":op,"tr-TR":ip,"uk-UA":lp,"zh-CN":up,"zh-TW":sp};const dp=s.createContext(null);function Sb(e,t){let{render:r}=s.useContext(dp);return s.createElement(s.Fragment,null,r(e,t))}const Pb=s.forwardRef(Sb),wl=s.createContext({}),kb=s.createContext({});function Bb(e,t){let[r,n]=Ee(e,t,kb),a=M1("header",e,t);return a||s.createElement("header",{className:"react-aria-Header",...r,ref:n},r.children)}const Rb=s.forwardRef(Bb),fp=s.createContext({});function Tb(e,t){let[r,n]=Ee(e,t,fp),{elementType:a,orientation:o,style:i,className:l}=r,u=a||"hr";u==="hr"&&o==="vertical"&&(u="div");let{separatorProps:c}=bg({elementType:a,orientation:o}),d=M1("separator",e,t);return d||s.createElement(u,{...re(r),...c,style:i,className:l??"react-aria-Separator",ref:n,slot:r.slot||void 0})}const Ab=s.forwardRef(Tb),El=s.createContext(null),Pn=s.createContext(null);function Fb(e,t){[e,t]=Ee(e,t,El);let r=s.useContext(dn),n=s.useContext(Pn);return s.useContext(yl)?s.createElement(Bg,e):n?r?null:s.createElement(pp,{state:n,props:e,listBoxRef:t}):s.createElement(Mb,{props:e,listBoxRef:t})}function Mb({props:e,listBoxRef:t}){let{portal:r,collection:n}=Sg(e);e={...e,collection:n,children:null,items:null};let a=K1(e);return s.createElement(s.Fragment,null,r,s.createElement(pp,{state:a,props:e,listBoxRef:t}))}const Ib=s.forwardRef(Fb);function pp({state:e,props:t,listBoxRef:r}){let{dragAndDropHooks:n,layout:a="stack",orientation:o="vertical"}=t,{collection:i,selectionManager:l}=e,u=!!(n!=null&&n.useDraggableCollectionState),c=!!(n!=null&&n.useDroppableCollectionState),{direction:d}=ke(),{disabledBehavior:f,disabledKeys:p}=l,m=ja({usage:"search",sensitivity:"base"}),h=s.useMemo(()=>t.keyboardDelegate||new hl({collection:i,collator:m,ref:r,disabledKeys:p,disabledBehavior:f,layout:a,orientation:o,direction:d}),[i,m,r,f,p,o,d,t.keyboardDelegate,a]),{listBoxProps:v}=H3({...t,shouldSelectOnPressUp:u||t.shouldSelectOnPressUp,keyboardDelegate:h},e,r),y=bl({items:i,children:N=>{switch(N.type){case"section":return s.createElement(Ob,{section:N});case"separator":return s.createElement(Ab,N.props);case"item":return s.createElement(mp,{item:N});default:throw new Error("Unsupported node type in Menu: "+N.type)}}}),k=s.useRef(u),D=s.useRef(c);s.useEffect(()=>{k.current!==u&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==c&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[u,c]);let C,E,w,S=!1,F=null,b=s.useRef(null);if(u&&n){C=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?b:void 0}),n.useDraggableCollection({},C,r);let N=n.DragPreview;F=n.renderDragPreview?s.createElement(N,{ref:b},n.renderDragPreview):null}if(c&&n){E=n.useDroppableCollectionState({collection:i,selectionManager:l});let N=n.dropTargetDelegate||new n.ListDropTargetDelegate(i,r,{orientation:o,layout:a,direction:d});w=n.useDroppableCollection({keyboardDelegate:h,dropTargetDelegate:N},E,r),S=E.isDropTarget({type:"root"})}let{focusProps:A,isFocused:P,isFocusVisible:x}=et(),M={isDropTarget:S,isEmpty:e.collection.size===0,isFocused:P,isFocusVisible:x,layout:t.layout||"stack",state:e},R=we({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:M}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=s.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(M))),s.createElement(dc,null,s.createElement("div",{...re(t),...Y(v,A,w==null?void 0:w.collectionProps),...R,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":S||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":P||void 0,"data-focus-visible":x||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},s.createElement(je,{values:[[El,t],[Pn,e],[wl,{dragAndDropHooks:n,dragState:C,dropState:E}],[fp,{elementType:"div"}],[dp,{render:Nb}]]},y),T,F))}function Ob({section:e,className:t,style:r}){var n,a;let o=s.useContext(Pn),[i,l]=Cn();var u;let{headingProps:c,groupProps:d}=Q3({heading:l,"aria-label":(u=e.props["aria-label"])!==null&&u!==void 0?u:void 0}),f=bl({items:o.collection.getChildren(e.key),children:p=>{switch(p.type){case"header":return s.createElement(Vb,{item:p,headingProps:c,headingRef:i});case"item":return s.createElement(mp,{item:p});default:throw new Error("Unsupported element type in Section: "+p.type)}}});return s.createElement("section",{...re(e.props),...d,className:t||((n=e.props)===null||n===void 0?void 0:n.className)||"react-aria-Section",style:r||((a=e.props)===null||a===void 0?void 0:a.style),ref:e.props.ref},f)}function Vb({item:e,headingProps:t,headingRef:r}){let{ref:n,...a}=e.props;return s.createElement(Rb,{...t,...a,ref:Ra(r,n)},e.rendered)}function Lb(e,t){return I1("item",e,t,e.children)}const jb=s.forwardRef(Lb);function mp({item:e}){var t;let r=Rt(e.props.ref),n=s.useContext(Pn),{dragAndDropHooks:a,dragState:o,dropState:i}=s.useContext(wl),{optionProps:l,labelProps:u,descriptionProps:c,...d}=J3({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},n,r),{hoverProps:f,isHovered:p}=$t({isDisabled:!d.allowsSelection&&!d.hasAction,onHoverStart:e.props.onHoverStart,onHoverChange:e.props.onHoverChange,onHoverEnd:e.props.onHoverEnd}),m=null;o&&a&&(m=a.useDraggableItem({key:e.key},o));let h=null;i&&a&&(h=a.useDroppableItem({target:{type:"item",key:e.key,dropPosition:"on"}},i,r));let v=e.props,y=o&&o.isDragging(e.key),k=we({...v,id:void 0,children:e.rendered,defaultClassName:"react-aria-ListBoxItem",values:{...d,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!o,isDragging:y,isDropTarget:h==null?void 0:h.isDropTarget}}),D=(a==null?void 0:a.renderDropIndicator)||(E=>s.createElement(Pb,{target:E}));s.useEffect(()=>{e.textValue||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.")},[e.textValue]);let C=v.href?"a":"div";return s.createElement(s.Fragment,null,(a==null?void 0:a.useDropIndicator)&&D({type:"item",key:e.key,dropPosition:"before"}),s.createElement(C,{...Y(l,f,m==null?void 0:m.dragProps,h==null?void 0:h.dropProps),...k,ref:r,"data-allows-dragging":!!o||void 0,"data-selected":d.isSelected||void 0,"data-disabled":d.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":d.isFocused||void 0,"data-focus-visible":d.isFocusVisible||void 0,"data-pressed":d.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(h==null?void 0:h.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},s.createElement(je,{values:[[Ft,{slots:{label:u,description:c}}]]},k.children)),(a==null?void 0:a.useDropIndicator)&&n.collection.getKeyAfter(e.key)==null&&D({type:"item",key:e.key,dropPosition:"after"}))}function Nb(e,t){t=Rt(t);let{dragAndDropHooks:r,dropState:n}=s.useContext(wl),{dropIndicatorProps:a,isHidden:o,isDropTarget:i}=r.useDropIndicator(e,n,t);return o?null:s.createElement(_b,{...e,dropIndicatorProps:a,isDropTarget:i,ref:t})}function Kb(e,t){let{dropIndicatorProps:r,isDropTarget:n,...a}=e,o=we({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return s.createElement("div",{...r,...o,role:"option",ref:t,"data-drop-target":n||void 0})}const _b=s.forwardRef(Kb),Ua=s.createContext({});function zb(e,t){[e,t]=Ee(e,t,Ua);let{isDisabled:r,isInvalid:n,onHoverStart:a,onHoverChange:o,onHoverEnd:i,...l}=e,{hoverProps:u,isHovered:c}=$t({onHoverStart:a,onHoverChange:o,onHoverEnd:i,isDisabled:r}),{isFocused:d,isFocusVisible:f,focusProps:p}=et({within:!0});r??(r=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),n??(n=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let m=we({...e,values:{isHovered:c,isFocusWithin:d,isFocusVisible:f,isDisabled:r,isInvalid:n},defaultClassName:"react-aria-Group"});var h,v;return s.createElement("div",{...Y(l,p,u),...m,ref:t,role:(h=e.role)!==null&&h!==void 0?h:"group",slot:(v=e.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":d||void 0,"data-hovered":c||void 0,"data-focus-visible":f||void 0,"data-disabled":r||void 0,"data-invalid":n||void 0},m.children)}const Cl=s.forwardRef(zb),Hb=s.createContext({placement:"bottom"}),kn=s.createContext(null);function Zb(e,t){[e,t]=Ee(e,t,kn);let r=s.useContext(xt),n=Ar(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=xi(t,a.isOpen)||e.isExiting||!1;if(s.useContext(dn)){let l=e.children;return typeof l=="function"&&(l=l({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),s.createElement(s.Fragment,null,l)}return a&&!a.isOpen&&!o?null:s.createElement(Ub,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:o})}const Sl=s.forwardRef(Zb);function Ub({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let a=s.useRef(null),[o,i]=s.useState(0);ie(()=>{a.current&&e.isOpen&&i(a.current.getBoundingClientRect().width)},[e.isOpen,a]);var l;let{popoverProps:u,underlayProps:c,arrowProps:d,placement:f}=F3({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:o},e),p=n.popoverRef,m=$l(p,!!f)||n.isEntering||!1,h=we({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),v={...u.style,...h.style};return s.createElement(Sf,{isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&s.createElement("div",{"data-testid":"underlay",...c,style:{position:"fixed",inset:0}}),s.createElement("div",{...Y(re(n),u),...h,ref:p,slot:n.slot||void 0,style:v,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&s.createElement(vi,{onDismiss:e.close}),s.createElement(Hb.Provider,{value:{...d,placement:f,ref:a}},h.children),s.createElement(vi,{onDismiss:e.close})))}const Wa=s.createContext(null),xt=s.createContext(null);function Wb(e){let t=Ar(e),r=s.useRef(null),{triggerProps:n,overlayProps:a}=jd({type:"dialog"},t,r);return n.id=Te(),a["aria-labelledby"]=n.id,s.createElement(je,{values:[[xt,t],[Wa,a],[kn,{trigger:"DialogTrigger",triggerRef:r}]]},s.createElement(ih,{...n,ref:r,isPressed:t.isOpen},e.children))}function Gb(e,t){let r=e["aria-labelledby"];[e,t]=Ee(e,t,Wa);let{dialogProps:n,titleProps:a}=mg({...e,"aria-labelledby":r},t),o=s.useContext(xt),i=e.children;typeof i=="function"&&(i=i({close:(o==null?void 0:o.close)||(()=>{})})),!n["aria-label"]&&!n["aria-labelledby"]&&(e["aria-labelledby"]?n["aria-labelledby"]=e["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));var l;return s.createElement("section",{...re(e),...n,ref:t,slot:e.slot||void 0,style:e.style,className:(l=e.className)!==null&&l!==void 0?l:"react-aria-Dialog"},s.createElement(je,{values:[[Ba,{slots:{[$i]:{},title:{...a,level:2}}}]]},i))}const Pl=s.forwardRef(Gb),kl=s.createContext(null),Ga=s.createContext(null),Bl=s.createContext(null);function qb(e,t){let r=s.useContext(Ga),n=s.useContext(Bl);return r||n?s.createElement(hp,{...e,ref:t}):s.createElement(Yb,{...e,ref:t})}const Yb=s.forwardRef((e,t)=>{let[r,n]=Ee({slot:e.slot},t,kl),{locale:a}=ke(),o=Qg({...r,locale:a,createCalendar:dl}),i=s.useRef(null),{fieldProps:l,inputProps:u}=rg({...r,inputRef:i},o,n);return s.createElement(je,{values:[[Ga,o],[B4,{...u,ref:i}],[Ua,{...l,ref:n,isInvalid:o.isInvalid}]]},s.createElement(hp,e))}),hp=s.forwardRef((e,t)=>{let{className:r,children:n}=e,a=s.useContext(Ga),o=s.useContext(Bl),i=a??o;return s.createElement(s.Fragment,null,s.createElement(Cl,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,u)=>s.cloneElement(n(l),{key:u}))),s.createElement(Cb,null))}),vp=s.forwardRef(qb);function Jb({segment:e,...t},r){let n=s.useContext(Ga),a=s.useContext(Bl),o=n??a,i=Rt(r),{segmentProps:l}=cg(e,o,i),{focusProps:u,isFocused:c,isFocusVisible:d}=et(),{hoverProps:f,isHovered:p}=$t({...t,isDisabled:o.isDisabled||e.type==="literal"}),m=we({...t,values:{...e,isReadOnly:!e.isEditable,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isHovered:p,isFocused:c,isFocusVisible:d},defaultChildren:e.text,defaultClassName:"react-aria-DateSegment"});return s.createElement("div",{...Y(re(t),l,u,f),...m,ref:i,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":o.isInvalid||void 0,"data-readonly":!e.isEditable||void 0,"data-disabled":o.isDisabled||void 0,"data-type":e.type,"data-hovered":p||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0})}const Ei=s.forwardRef(Jb),Qb=s.createContext(null),Xb=s.createContext(null),e5=s.createContext(null),t5=s.createContext(null);function r5(e,t){[e,t]=Ee(e,t,Qb);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=Gg({...e,validationBehavior:o}),l=s.useRef(null),[u,c]=Cn(),{groupProps:d,labelProps:f,fieldProps:p,buttonProps:m,dialogProps:h,calendarProps:v,descriptionProps:y,errorMessageProps:k,...D}=ag({...xl(e),label:c,validationBehavior:o},i,l),[C,E]=s.useState(null),w=s.useCallback(()=>{l.current&&E(l.current.offsetWidth+"px")},[]);Fa({ref:l,onResize:w});let{focusProps:S,isFocused:F,isFocusVisible:b}=et({within:!0}),A=we({...e,values:{state:i,isFocusWithin:F,isFocusVisible:b,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DatePicker"}),P=re(e);return delete P.id,s.createElement(je,{values:[[e5,i],[Ua,{...d,ref:l,isInvalid:i.isInvalid}],[kl,p],[Tr,{...m,isPressed:i.isOpen}],[Za,{...f,ref:u,elementType:"span"}],[S4,v],[xt,i],[kn,{trigger:"DatePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":C}}],[Wa,h],[Ft,{slots:{description:y,errorMessage:k}}],[Ha,D]]},s.createElement("div",{...S,...P,...A,ref:t,slot:e.slot||void 0,"data-focus-within":F||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":b||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const n5=s.forwardRef(r5);function a5(e,t){[e,t]=Ee(e,t,Xb);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=rb({...e,validationBehavior:o}),l=s.useRef(null),[u,c]=Cn(),{groupProps:d,labelProps:f,startFieldProps:p,endFieldProps:m,buttonProps:h,dialogProps:v,calendarProps:y,descriptionProps:k,errorMessageProps:D,...C}=pg({...xl(e),label:c,validationBehavior:o},i,l),[E,w]=s.useState(null),S=s.useCallback(()=>{l.current&&w(l.current.offsetWidth+"px")},[]);Fa({ref:l,onResize:S});let{focusProps:F,isFocused:b,isFocusVisible:A}=et({within:!0}),P=we({...e,values:{state:i,isFocusWithin:b,isFocusVisible:A,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DateRangePicker"}),x=re(e);return delete x.id,s.createElement(je,{values:[[t5,i],[Ua,{...d,ref:l,isInvalid:i.isInvalid}],[Tr,{...h,isPressed:i.isOpen}],[Za,{...f,ref:u,elementType:"span"}],[P4,y],[xt,i],[kn,{trigger:"DateRangePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":E}}],[Wa,v],[kl,{slots:{start:p,end:m}}],[Ft,{slots:{description:k,errorMessage:D}}],[Ha,C]]},s.createElement("div",{...F,...x,...P,ref:t,slot:e.slot||void 0,"data-focus-within":b||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const o5=s.forwardRef(a5);function i5(e,t){[e,t]=Ee(e,t,Ba);let{children:r,level:n=3,className:a,...o}=e,i=`h${n}`;return s.createElement(i,{...o,ref:t,className:a??"react-aria-Heading"},r)}const l5=s.forwardRef(i5),u5=s.createContext(null),Rl=s.createContext(null);function s5(e,t){if(s.useContext(Rl))return s.createElement(Qu,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,children:u,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...m}=e;return s.createElement(gp,{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,isEntering:c,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},s.createElement(Qu,{...m,modalRef:t},u))}const c5=s.forwardRef(s5);function d5(e,t){[e,t]=Ee(e,t,u5);let r=s.useContext(xt),n=Ar(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=Rt(t),i=s.useRef(null),l=xi(o,a.isOpen),u=xi(i,a.isOpen),c=l||u||e.isExiting||!1,d=yt();return!a.isOpen&&!c||d?null:s.createElement(f5,{...e,state:a,isExiting:c,overlayRef:o,modalRef:i})}const gp=s.forwardRef(d5);function f5({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:a,underlayProps:o}=O3(t,n,r),i=$l(t.overlayRef)||t.isEntering||!1,l=we({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:t.isExiting,state:n}}),u=Gm(),c={...l.style,"--visual-viewport-height":u.height+"px"};return s.createElement(Sf,{isExiting:t.isExiting,portalContainer:e},s.createElement("div",{...Y(re(t),o),...l,style:c,ref:t.overlayRef,"data-entering":i||void 0,"data-exiting":t.isExiting||void 0},s.createElement(je,{values:[[Rl,{modalProps:a,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[xt,n]]},l.children)))}function Qu(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:a}=s.useContext(Rl),o=s.useContext(xt),i=s.useMemo(()=>Ra(e.modalRef,r),[e.modalRef,r]),l=Rt(i),u=$l(l),c=we({...e,defaultClassName:"react-aria-Modal",values:{isEntering:u,isExiting:n,state:o}});return s.createElement("div",{...Y(re(e),t),...c,ref:l,"data-entering":u||void 0,"data-exiting":n||void 0},a&&s.createElement(vi,{onDismiss:o.close}),c.children)}function p5(e){return e&&e.__esModule?e.default:e}const Qn=s.createContext(null),Ci=s.createContext(null);function m5(e,t){[e,t]=Ee(e,t,Qn);let{validationBehavior:r}=Qt(Sn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",{collection:i,document:l}=A1(),u=nb({...e,collection:i,children:void 0,validationBehavior:o}),{isFocusVisible:c,focusProps:d}=et({within:!0}),f=s.useRef(null),[p,m]=Cn(),{labelProps:h,triggerProps:v,valueProps:y,menuProps:k,descriptionProps:D,errorMessageProps:C,...E}=hg({...xl(e),label:m,validationBehavior:o},u,f),[w,S]=s.useState(null),F=s.useCallback(()=>{f.current&&S(f.current.offsetWidth+"px")},[f]);Fa({ref:f,onResize:F});let b=s.useMemo(()=>({isOpen:u.isOpen,isFocused:u.isFocused,isFocusVisible:c,isDisabled:e.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:e.isRequired||!1}),[u.isOpen,u.isFocused,c,e.isDisabled,E.isInvalid,e.isRequired]),A=we({...e,values:b,defaultClassName:"react-aria-Select"}),P=re(e);return delete P.id,s.createElement(s.Fragment,null,s.createElement(Ag,null,s.createElement(je,{values:[[Qn,e],[Ci,u],[yl,l]]},A.children)),s.createElement(je,{values:[[Qn,e],[Ci,u],[bp,y],[Za,{...h,ref:p,elementType:"span"}],[Tr,{...v,ref:f,isPressed:u.isOpen}],[xt,u],[kn,{trigger:"Select",triggerRef:f,placement:"bottom start",style:{"--trigger-width":w}}],[El,k],[Pn,u],[Ft,{slots:{description:D,errorMessage:C}}],[Ha,E]]},s.createElement("div",{...P,...A,...d,ref:t,slot:e.slot||void 0,"data-focused":u.isFocused||void 0,"data-focus-visible":c||void 0,"data-open":u.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":e.isRequired||void 0}),s.createElement(gg,{state:u,triggerRef:f,label:m,name:e.name,isDisabled:e.isDisabled})))}const h5=s.forwardRef(m5),bp=s.createContext(null);function v5(e,t){var r,n;[e,t]=Ee(e,t,bp);let a=s.useContext(Ci),{placeholder:o}=Qt(Qn),i=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,l=i==null?void 0:i.rendered;typeof l=="function"&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let u=tt(p5(cp),"react-aria-components");var c,d;let f=we({...e,defaultChildren:l||o||u.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(c=(r=a.selectedItem)===null||r===void 0?void 0:r.value)!==null&&c!==void 0?c:null,selectedText:(d=(n=a.selectedItem)===null||n===void 0?void 0:n.textValue)!==null&&d!==void 0?d:null,isPlaceholder:!i}}),p=re(e);return s.createElement("span",{ref:t,...p,...f,"data-placeholder":!i||void 0},s.createElement(Ft.Provider,{value:void 0},f.children))}const g5=s.forwardRef(v5);var Oe=function(){return Oe=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Oe.apply(this,arguments)};function qt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function b5(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var y5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$5=b5(function(e){return y5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ce="-ms-",Jr="-moz-",oe="-webkit-",yp="comm",qa="rule",Tl="decl",x5="@import",$p="@keyframes",D5="@layer",xp=Math.abs,Al=String.fromCharCode,Si=Object.assign;function w5(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function Dp(e){return e.trim()}function pt(e,t){return(e=t.exec(e))?e[0]:e}function X(e,t,r){return e.replace(t,r)}function Xn(e,t,r){return e.indexOf(t,r)}function Pe(e,t){return e.charCodeAt(t)|0}function Sr(e,t,r){return e.slice(t,r)}function at(e){return e.length}function wp(e){return e.length}function Ur(e,t){return t.push(e),e}function E5(e,t){return e.map(t).join("")}function Xu(e,t){return e.filter(function(r){return!pt(r,t)})}var Ya=1,Pr=1,Ep=0,We=0,De=0,Fr="";function Ja(e,t,r,n,a,o,i,l){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:Ya,column:Pr,length:i,return:"",siblings:l}}function wt(e,t){return Si(Ja("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function rr(e){for(;e.root;)e=wt(e.root,{children:[e]});Ur(e,e.siblings)}function C5(){return De}function S5(){return De=We>0?Pe(Fr,--We):0,Pr--,De===10&&(Pr=1,Ya--),De}function Qe(){return De=We<Ep?Pe(Fr,We++):0,Pr++,De===10&&(Pr=1,Ya++),De}function Kt(){return Pe(Fr,We)}function ea(){return We}function Qa(e,t){return Sr(Fr,e,t)}function Pi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P5(e){return Ya=Pr=1,Ep=at(Fr=e),We=0,[]}function k5(e){return Fr="",e}function Lo(e){return Dp(Qa(We-1,ki(e===91?e+2:e===40?e+1:e)))}function B5(e){for(;(De=Kt())&&De<33;)Qe();return Pi(e)>2||Pi(De)>3?"":" "}function R5(e,t){for(;--t&&Qe()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return Qa(e,ea()+(t<6&&Kt()==32&&Qe()==32))}function ki(e){for(;Qe();)switch(De){case e:return We;case 34:case 39:e!==34&&e!==39&&ki(De);break;case 40:e===41&&ki(e);break;case 92:Qe();break}return We}function T5(e,t){for(;Qe()&&e+De!==57;)if(e+De===84&&Kt()===47)break;return"/*"+Qa(t,We-1)+"*"+Al(e===47?e:Qe())}function A5(e){for(;!Pi(Kt());)Qe();return Qa(e,We)}function F5(e){return k5(ta("",null,null,null,[""],e=P5(e),0,[0],e))}function ta(e,t,r,n,a,o,i,l,u){for(var c=0,d=0,f=i,p=0,m=0,h=0,v=1,y=1,k=1,D=0,C="",E=a,w=o,S=n,F=C;y;)switch(h=D,D=Qe()){case 40:if(h!=108&&Pe(F,f-1)==58){Xn(F+=X(Lo(D),"&","&\f"),"&\f",xp(c?l[c-1]:0))!=-1&&(k=-1);break}case 34:case 39:case 91:F+=Lo(D);break;case 9:case 10:case 13:case 32:F+=B5(h);break;case 92:F+=R5(ea()-1,7);continue;case 47:switch(Kt()){case 42:case 47:Ur(M5(T5(Qe(),ea()),t,r,u),u);break;default:F+="/"}break;case 123*v:l[c++]=at(F)*k;case 125*v:case 59:case 0:switch(D){case 0:case 125:y=0;case 59+d:k==-1&&(F=X(F,/\f/g,"")),m>0&&at(F)-f&&Ur(m>32?ts(F+";",n,r,f-1,u):ts(X(F," ","")+";",n,r,f-2,u),u);break;case 59:F+=";";default:if(Ur(S=es(F,t,r,c,d,a,l,C,E=[],w=[],f,o),o),D===123)if(d===0)ta(F,t,S,S,E,o,f,l,w);else switch(p===99&&Pe(F,3)===110?100:p){case 100:case 108:case 109:case 115:ta(e,S,S,n&&Ur(es(e,S,S,0,0,a,l,C,a,E=[],f,w),w),a,w,f,l,n?E:w);break;default:ta(F,S,S,S,[""],w,0,l,w)}}c=d=m=0,v=k=1,C=F="",f=i;break;case 58:f=1+at(F),m=h;default:if(v<1){if(D==123)--v;else if(D==125&&v++==0&&S5()==125)continue}switch(F+=Al(D),D*v){case 38:k=d>0?1:(F+="\f",-1);break;case 44:l[c++]=(at(F)-1)*k,k=1;break;case 64:Kt()===45&&(F+=Lo(Qe())),p=Kt(),d=f=at(C=F+=A5(ea())),D++;break;case 45:h===45&&at(F)==2&&(v=0)}}return o}function es(e,t,r,n,a,o,i,l,u,c,d,f){for(var p=a-1,m=a===0?o:[""],h=wp(m),v=0,y=0,k=0;v<n;++v)for(var D=0,C=Sr(e,p+1,p=xp(y=i[v])),E=e;D<h;++D)(E=Dp(y>0?m[D]+" "+C:X(C,/&\f/g,m[D])))&&(u[k++]=E);return Ja(e,t,r,a===0?qa:l,u,c,d,f)}function M5(e,t,r,n){return Ja(e,t,r,yp,Al(C5()),Sr(e,2,-2),0,n)}function ts(e,t,r,n,a){return Ja(e,t,r,Tl,Sr(e,0,n),Sr(e,n+1,-1),n,a)}function Cp(e,t,r){switch(w5(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 4789:return Jr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+Jr+e+ce+e+e;case 5936:switch(Pe(e,t+11)){case 114:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+ce+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return oe+e+ce+e+e;case 6165:return oe+e+ce+"flex-"+e+e;case 5187:return oe+e+X(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+ce+"flex-$1$2")+e;case 5443:return oe+e+ce+"flex-item-"+X(e,/flex-|-self/g,"")+(pt(e,/flex-|baseline/)?"":ce+"grid-row-"+X(e,/flex-|-self/g,""))+e;case 4675:return oe+e+ce+"flex-line-pack"+X(e,/align-content|flex-|-self/g,"")+e;case 5548:return oe+e+ce+X(e,"shrink","negative")+e;case 5292:return oe+e+ce+X(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+X(e,"-grow","")+oe+e+ce+X(e,"grow","positive")+e;case 4554:return oe+X(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4200:if(!pt(e,/flex-|baseline/))return ce+"grid-column-align"+Sr(e,t)+e;break;case 2592:case 3360:return ce+X(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,pt(n.props,/grid-\w+-end/)})?~Xn(e+(r=r[t].value),"span",0)?e:ce+X(e,"-start","")+e+ce+"grid-row-span:"+(~Xn(r,"span",0)?pt(r,/\d+/):+pt(r,/\d+/)-+pt(e,/\d+/))+";":ce+X(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return pt(n.props,/grid-\w+-start/)})?e:ce+X(X(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(at(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+Jr+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xn(e,"stretch",0)?Cp(X(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return X(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,o,i,l,u,c){return ce+a+":"+o+c+(i?ce+a+"-span:"+(l?u:+u-+o)+c:"")+e});case 4949:if(Pe(e,t+6)===121)return X(e,":",":"+oe)+e;break;case 6444:switch(Pe(e,Pe(e,14)===45?18:11)){case 120:return X(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(Pe(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+ce+"$2box$3")+e;case 100:return X(e,":",":"+ce)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return X(e,"scroll-","scroll-snap-")+e}return e}function Ca(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function I5(e,t,r,n){switch(e.type){case D5:if(e.children.length)break;case x5:case Tl:return e.return=e.return||e.value;case yp:return"";case $p:return e.return=e.value+"{"+Ca(e.children,n)+"}";case qa:if(!at(e.value=e.props.join(",")))return""}return at(r=Ca(e.children,n))?e.return=e.value+"{"+r+"}":""}function O5(e){var t=wp(e);return function(r,n,a,o){for(var i="",l=0;l<t;l++)i+=e[l](r,n,a,o)||"";return i}}function V5(e){return function(t){t.root||(t=t.return)&&e(t)}}function L5(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Tl:e.return=Cp(e.value,e.length,r);return;case $p:return Ca([wt(e,{value:X(e.value,"@","@"+oe)})],n);case qa:if(e.length)return E5(r=e.props,function(a){switch(pt(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":rr(wt(e,{props:[X(a,/:(read-\w+)/,":"+Jr+"$1")]})),rr(wt(e,{props:[a]})),Si(e,{props:Xu(r,n)});break;case"::placeholder":rr(wt(e,{props:[X(a,/:(plac\w+)/,":"+oe+"input-$1")]})),rr(wt(e,{props:[X(a,/:(plac\w+)/,":"+Jr+"$1")]})),rr(wt(e,{props:[X(a,/:(plac\w+)/,ce+"input-$1")]})),rr(wt(e,{props:[a]})),Si(e,{props:Xu(r,n)});break}return""})}}var j5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Yt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Sp="active",Pp="data-styled-version",Xa="6.1.11",Fl=`/*!sc*/
|
|
18
|
+
`,Ml=typeof window<"u"&&"HTMLElement"in window,N5=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),rs=/invalid hook call/i,zn=new Set,K5=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
19
19
|
`)+`You may see this warning because you've called styled inside another component.
|
|
20
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var o=!0;console.error=function(i){for(var l=[],
|
|
20
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var o=!0;console.error=function(i){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];rs.test(i)?(o=!1,zn.delete(n)):a.apply(void 0,qt([i],l,!1))},s.useRef(),o&&!zn.has(n)&&(console.warn(n),zn.add(n))}catch(i){rs.test(i.message)&&zn.delete(n)}finally{console.error=a}}},eo=Object.freeze([]),kr=Object.freeze({});function _5(e,t,r){return r===void 0&&(r=kr),e.theme!==r.theme&&e.theme||t||r.theme}var Bi=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),z5=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,H5=/(^-|-$)/g;function ns(e){return e.replace(z5,"-").replace(H5,"")}var Z5=/(a)(d)/gi,Hn=52,as=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ri(e){var t,r="";for(t=Math.abs(e);t>Hn;t=t/Hn|0)r=as(t%Hn)+r;return(as(t%Hn)+r).replace(Z5,"$1-$2")}var jo,kp=5381,Ot=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Bp=function(e){return Ot(kp,e)};function Rp(e){return Ri(Bp(e)>>>0)}function Tp(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function No(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ap=typeof Symbol=="function"&&Symbol.for,Fp=Ap?Symbol.for("react.memo"):60115,U5=Ap?Symbol.for("react.forward_ref"):60112,W5={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Mp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q5=((jo={})[U5]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jo[Fp]=Mp,jo);function os(e){return("type"in(t=e)&&t.type.$$typeof)===Fp?Mp:"$$typeof"in e?q5[e.$$typeof]:W5;var t}var Y5=Object.defineProperty,J5=Object.getOwnPropertyNames,is=Object.getOwnPropertySymbols,Q5=Object.getOwnPropertyDescriptor,X5=Object.getPrototypeOf,ls=Object.prototype;function Ip(e,t,r){if(typeof t!="string"){if(ls){var n=X5(t);n&&n!==ls&&Ip(e,n,r)}var a=J5(t);is&&(a=a.concat(is(t)));for(var o=os(e),i=os(t),l=0;l<a.length;++l){var u=a[l];if(!(u in G5||r&&r[u]||i&&u in i||o&&u in o)){var c=Q5(t,u);try{Y5(e,u,c)}catch{}}}}return e}function Br(e){return typeof e=="function"}function Il(e){return typeof e=="object"&&"styledComponentId"in e}function Nt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ti(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Rr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ai(e,t,r){if(r===void 0&&(r=!1),!r&&!Rr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ai(e[n],t[n]);else if(Rr(t))for(var n in t)e[n]=Ai(e[n],t[n]);return e}function Ol(e,t){Object.defineProperty(e,"toString",{value:t})}var ey=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
21
21
|
|
|
22
22
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
23
23
|
|
|
@@ -58,7 +58,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
58
58
|
|
|
59
59
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
60
60
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
61
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function G5(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],a=1,o=e.length;a<o;a+=1)n.push(e[a]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function Mr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(G5.apply(void 0,qt([W5[e]],t,!1)).trim())}var q5=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,o=a;t>=o;)if((o<<=1)<0)throw Mr(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=a;i<o;i++)this.groupSizes[i]=0}for(var l=this.indexOfGroup(t+1),s=(i=0,r.length);i<s;i++)this.tag.insertRule(l,r[i])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var o=n;o<a;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),o=a+n,i=a;i<o;i++)r+="".concat(this.tag.getRule(i)).concat(Al);return r},e}(),ra=new Map,Sa=new Map,na=1,Zn=function(e){if(ra.has(e))return ra.get(e);for(;Sa.has(na);)na++;var t=na++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Mr(16,"".concat(t));return ra.set(e,t),Sa.set(t,e),t},Y5=function(e,t){na=t+1,ra.set(e,t),Sa.set(t,e)},J5="style[".concat(Yt,"][").concat(wp,'="').concat(Qa,'"]'),Q5=new RegExp("^".concat(Yt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),X5=function(e,t,r){for(var n,a=r.split(","),o=0,i=a.length;o<i;o++)(n=a[o])&&e.registerName(t,n)},ey=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Al),a=[],o=0,i=n.length;o<i;o++){var l=n[o].trim();if(l){var s=l.match(Q5);if(s){var c=0|parseInt(s[1],10),d=s[2];c!==0&&(Y5(d,c),X5(e,d,s[3]),e.getTag().insertRules(c,a)),a.length=0}else a.push(l)}}};function ty(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ap=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(l){var s=Array.from(l.querySelectorAll("style[".concat(Yt,"]")));return s[s.length-1]}(r),o=a!==void 0?a.nextSibling:null;n.setAttribute(Yt,Dp),n.setAttribute(wp,Qa);var i=ty();return i&&n.setAttribute("nonce",i),r.insertBefore(n,o),n},ry=function(){function e(t){this.element=Ap(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,o=n.length;a<o;a++){var i=n[a];if(i.ownerNode===r)return i}throw Mr(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),ny=function(){function e(t){this.element=Ap(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),ay=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),lu=Fl,oy={isServer:!Fl,useCSSOMInjection:!F5},Fp=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var a=this;this.options=Oe(Oe({},oy),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Fl&&lu&&(lu=!1,function(o){for(var i=document.querySelectorAll(J5),l=0,s=i.length;l<s;l++){var c=i[l];c&&c.getAttribute(Yt)!==Dp&&(ey(o,c),c.parentNode&&c.parentNode.removeChild(c))}}(this)),Il(this,function(){return function(o){for(var i=o.getTag(),l=i.length,s="",c=function(f){var p=function(B){return Sa.get(B)}(f);if(p===void 0)return"continue";var h=o.names.get(p),m=i.getGroup(f);if(h===void 0||m.length===0)return"continue";var v="".concat(Yt,".g").concat(f,'[id="').concat(p,'"]'),$="";h!==void 0&&h.forEach(function(B){B.length>0&&($+="".concat(B,","))}),s+="".concat(m).concat(v,'{content:"').concat($,'"}').concat(Al)},d=0;d<l;d++)c(d);return s}(a)})}return e.registerId=function(t){return Zn(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(Oe(Oe({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new ay(a):n?new ry(a):new ny(a)}(this.options),new q5(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Zn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Zn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Zn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),iy=/&/g,ly=/^\s*\/\/.*$/gm;function Mp(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Mp(r.children,t)),r})}function sy(e){var t,r,n,a=kr,o=a.options,i=o===void 0?kr:o,l=a.plugins,s=l===void 0?Xa:l,c=function(p,h,m){return m.startsWith(r)&&m.endsWith(r)&&m.replaceAll(r,"").length>0?".".concat(t):p},d=s.slice();d.push(function(p){p.type===Ga&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(iy,r).replace(n,c))}),i.prefix&&d.push(T5),d.push(k5);var f=function(p,h,m,v){h===void 0&&(h=""),m===void 0&&(m=""),v===void 0&&(v="&"),t=v,r=h,n=new RegExp("\\".concat(r,"\\b"),"g");var $=p.replace(ly,""),B=S5(m||h?"".concat(m," ").concat(h," { ").concat($," }"):$);i.namespace&&(B=Mp(B,i.namespace));var w=[];return Ca(B,B5(d.concat(R5(function(C){return w.push(C)})))),w};return f.hash=s.length?s.reduce(function(p,h){return h.name||Mr(15),Mt(p,h.name)},Ep).toString():"",f}var uy=new Fp,Ai=sy(),Ip=u.createContext({shouldForwardProp:void 0,styleSheet:uy,stylis:Ai});Ip.Consumer;u.createContext(void 0);function su(){return u.useContext(Ip)}var Fi=function(){function e(t,r){var n=this;this.inject=function(a,o){o===void 0&&(o=Ai);var i=n.name+o.hash;a.hasNameForId(n.id,i)||a.insertRules(n.id,i,o(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Il(this,function(){throw Mr(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Ai),this.name+t.hash},e}(),cy=function(e){return e>="A"&&e<="Z"};function uu(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;cy(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Op=function(e){return e==null||e===!1||e===""},Vp=function(e){var t,r,n=[];for(var a in e){var o=e[a];e.hasOwnProperty(a)&&!Op(o)&&(Array.isArray(o)&&o.isCss||Br(o)?n.push("".concat(uu(a),":"),o,";"):Rr(o)?n.push.apply(n,qt(qt(["".concat(a," {")],Vp(o),!1),["}"],!1)):n.push("".concat(uu(a),": ").concat((t=a,(r=o)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in A5||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Nt(e,t,r,n){if(Op(e))return[];if(Ml(e))return[".".concat(e.styledComponentId)];if(Br(e)){if(!Br(o=e)||o.prototype&&o.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof Fi||Rr(a)||a===null||console.error("".concat(Pp(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Nt(a,t,r,n)}var o;return e instanceof Fi?r?(e.inject(r,n),[e.getName(n)]):[e]:Rr(e)?Vp(e):Array.isArray(e)?Array.prototype.concat.apply(Xa,e.map(function(i){return Nt(i,t,r,n)})):[e.toString()]}function dy(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Br(r)&&!Ml(r))return!1}return!0}var fy=Cp(Qa),py=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&dy(t),this.componentId=r,this.baseHash=Mt(fy,r),this.baseStyle=n,Fp.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=Lt(a,this.staticRulesId);else{var o=Ri(Nt(this.rules,t,r,n)),i=Bi(Mt(this.baseHash,o)>>>0);if(!r.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,l)}a=Lt(a,i),this.staticRulesId=i}else{for(var s=Mt(this.baseHash,n.hash),c="",d=0;d<this.rules.length;d++){var f=this.rules[d];if(typeof f=="string")c+=f,process.env.NODE_ENV!=="production"&&(s=Mt(s,f));else if(f){var p=Ri(Nt(f,t,r,n));s=Mt(s,p+d),c+=p}}if(c){var h=Bi(s>>>0);r.hasNameForId(this.componentId,h)||r.insertRules(this.componentId,h,n(c,".".concat(h),void 0,this.componentId)),a=Lt(a,h)}}return a},e}(),Lp=u.createContext(void 0);Lp.Consumer;var No={},cu=new Set;function hy(e,t,r){var n=Ml(e),a=e,o=!jo(e),i=t.attrs,l=i===void 0?Xa:i,s=t.componentId,c=s===void 0?function(E,D){var S=typeof E!="string"?"sc":ru(E);No[S]=(No[S]||0)+1;var A="".concat(S,"-").concat(Sp(Qa+S+No[S]));return D?"".concat(D,"-").concat(A):A}(t.displayName,t.parentComponentId):s,d=t.displayName,f=d===void 0?function(E){return jo(E)?"styled.".concat(E):"Styled(".concat(Pp(E),")")}(e):d,p=t.displayName&&t.componentId?"".concat(ru(t.displayName),"-").concat(t.componentId):t.componentId||c,h=n&&a.attrs?a.attrs.concat(l).filter(Boolean):l,m=t.shouldForwardProp;if(n&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var $=t.shouldForwardProp;m=function(E,D){return v(E,D)&&$(E,D)}}else m=v}var B=new py(r,p,n?a.componentStyle:void 0);function w(E,D){return function(S,A,b){var F=S.attrs,P=S.componentStyle,x=S.defaultProps,M=S.foldedComponentIds,R=S.styledComponentId,T=S.target,j=u.useContext(Lp),O=su(),y=S.shouldForwardProp||O.shouldForwardProp;process.env.NODE_ENV!=="production"&&u.useDebugValue(R);var z=I5(A,j,x)||kr,H=function(Q,G,I){for(var _,Z=Oe(Oe({},G),{className:void 0,theme:I}),q=0;q<Q.length;q+=1){var te=Br(_=Q[q])?_(Z):_;for(var L in te)Z[L]=L==="className"?Lt(Z[L],te[L]):L==="style"?Oe(Oe({},Z[L]),te[L]):te[L]}return G.className&&(Z.className=Lt(Z.className,G.className)),Z}(F,A,z),k=H.as||T,V={};for(var K in H)H[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&H.theme===z||(K==="forwardedAs"?V.as=H.forwardedAs:y&&!y(K,k)||(V[K]=H[K],y||process.env.NODE_ENV!=="development"||p5(K)||cu.has(K)||!ki.has(k)||(cu.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var W=function(Q,G){var I=su(),_=Q.generateAndInjectStyles(G,I.styleSheet,I.stylis);return process.env.NODE_ENV!=="production"&&u.useDebugValue(_),_}(P,H);process.env.NODE_ENV!=="production"&&S.warnTooManyClasses&&S.warnTooManyClasses(W);var U=Lt(M,R);return W&&(U+=" "+W),H.className&&(U+=" "+H.className),V[jo(k)&&!ki.has(k)?"class":"className"]=U,V.ref=b,u.createElement(k,V)}(C,E,D)}w.displayName=f;var C=u.forwardRef(w);return C.attrs=h,C.componentStyle=B,C.displayName=f,C.shouldForwardProp=m,C.foldedComponentIds=n?Lt(a.foldedComponentIds,a.styledComponentId):"",C.styledComponentId=p,C.target=n?a.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?function(D){for(var S=[],A=1;A<arguments.length;A++)S[A-1]=arguments[A];for(var b=0,F=S;b<F.length;b++)Ti(D,F[b],!0);return D}({},a.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(M5(f,p),C.warnTooManyClasses=function(E,D){var S={},A=!1;return function(b){if(!A&&(S[b]=!0,Object.keys(S).length>=200)){var F=D?' with the id of "'.concat(D,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(F,`.
|
|
61
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ty(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],a=1,o=e.length;a<o;a+=1)n.push(e[a]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function Mr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(ty.apply(void 0,qt([ey[e]],t,!1)).trim())}var ry=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,o=a;t>=o;)if((o<<=1)<0)throw Mr(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=a;i<o;i++)this.groupSizes[i]=0}for(var l=this.indexOfGroup(t+1),u=(i=0,r.length);i<u;i++)this.tag.insertRule(l,r[i])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var o=n;o<a;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),o=a+n,i=a;i<o;i++)r+="".concat(this.tag.getRule(i)).concat(Fl);return r},e}(),ny=1<<30,ra=new Map,Sa=new Map,na=1,Zn=function(e){if(ra.has(e))return ra.get(e);for(;Sa.has(na);)na++;var t=na++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>ny))throw Mr(16,"".concat(t));return ra.set(e,t),Sa.set(t,e),t},ay=function(e,t){na=t+1,ra.set(e,t),Sa.set(t,e)},oy="style[".concat(Yt,"][").concat(Pp,'="').concat(Xa,'"]'),iy=new RegExp("^".concat(Yt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ly=function(e,t,r){for(var n,a=r.split(","),o=0,i=a.length;o<i;o++)(n=a[o])&&e.registerName(t,n)},uy=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Fl),a=[],o=0,i=n.length;o<i;o++){var l=n[o].trim();if(l){var u=l.match(iy);if(u){var c=0|parseInt(u[1],10),d=u[2];c!==0&&(ay(d,c),ly(e,d,u[3]),e.getTag().insertRules(c,a)),a.length=0}else a.push(l)}}};function sy(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Op=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(l){var u=Array.from(l.querySelectorAll("style[".concat(Yt,"]")));return u[u.length-1]}(r),o=a!==void 0?a.nextSibling:null;n.setAttribute(Yt,Sp),n.setAttribute(Pp,Xa);var i=sy();return i&&n.setAttribute("nonce",i),r.insertBefore(n,o),n},cy=function(){function e(t){this.element=Op(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,o=n.length;a<o;a++){var i=n[a];if(i.ownerNode===r)return i}throw Mr(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),dy=function(){function e(t){this.element=Op(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),fy=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),us=Ml,py={isServer:!Ml,useCSSOMInjection:!N5},Vp=function(){function e(t,r,n){t===void 0&&(t=kr),r===void 0&&(r={});var a=this;this.options=Oe(Oe({},py),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ml&&us&&(us=!1,function(o){for(var i=document.querySelectorAll(oy),l=0,u=i.length;l<u;l++){var c=i[l];c&&c.getAttribute(Yt)!==Sp&&(uy(o,c),c.parentNode&&c.parentNode.removeChild(c))}}(this)),Ol(this,function(){return function(o){for(var i=o.getTag(),l=i.length,u="",c=function(f){var p=function(k){return Sa.get(k)}(f);if(p===void 0)return"continue";var m=o.names.get(p),h=i.getGroup(f);if(m===void 0||h.length===0)return"continue";var v="".concat(Yt,".g").concat(f,'[id="').concat(p,'"]'),y="";m!==void 0&&m.forEach(function(k){k.length>0&&(y+="".concat(k,","))}),u+="".concat(h).concat(v,'{content:"').concat(y,'"}').concat(Fl)},d=0;d<l;d++)c(d);return u}(a)})}return e.registerId=function(t){return Zn(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(Oe(Oe({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new fy(a):n?new cy(a):new dy(a)}(this.options),new ry(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Zn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Zn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Zn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),my=/&/g,hy=/^\s*\/\/.*$/gm;function Lp(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Lp(r.children,t)),r})}function vy(e){var t,r,n,a=kr,o=a.options,i=o===void 0?kr:o,l=a.plugins,u=l===void 0?eo:l,c=function(p,m,h){return h.startsWith(r)&&h.endsWith(r)&&h.replaceAll(r,"").length>0?".".concat(t):p},d=u.slice();d.push(function(p){p.type===qa&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(my,r).replace(n,c))}),i.prefix&&d.push(L5),d.push(I5);var f=function(p,m,h,v){m===void 0&&(m=""),h===void 0&&(h=""),v===void 0&&(v="&"),t=v,r=m,n=new RegExp("\\".concat(r,"\\b"),"g");var y=p.replace(hy,""),k=F5(h||m?"".concat(h," ").concat(m," { ").concat(y," }"):y);i.namespace&&(k=Lp(k,i.namespace));var D=[];return Ca(k,O5(d.concat(V5(function(C){return D.push(C)})))),D};return f.hash=u.length?u.reduce(function(p,m){return m.name||Mr(15),Ot(p,m.name)},kp).toString():"",f}var gy=new Vp,Fi=vy(),jp=s.createContext({shouldForwardProp:void 0,styleSheet:gy,stylis:Fi});jp.Consumer;s.createContext(void 0);function ss(){return s.useContext(jp)}var Mi=function(){function e(t,r){var n=this;this.inject=function(a,o){o===void 0&&(o=Fi);var i=n.name+o.hash;a.hasNameForId(n.id,i)||a.insertRules(n.id,i,o(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Ol(this,function(){throw Mr(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Fi),this.name+t.hash},e}(),by=function(e){return e>="A"&&e<="Z"};function cs(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;by(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Np=function(e){return e==null||e===!1||e===""},Kp=function(e){var t,r,n=[];for(var a in e){var o=e[a];e.hasOwnProperty(a)&&!Np(o)&&(Array.isArray(o)&&o.isCss||Br(o)?n.push("".concat(cs(a),":"),o,";"):Rr(o)?n.push.apply(n,qt(qt(["".concat(a," {")],Kp(o),!1),["}"],!1)):n.push("".concat(cs(a),": ").concat((t=a,(r=o)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in j5||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function _t(e,t,r,n){if(Np(e))return[];if(Il(e))return[".".concat(e.styledComponentId)];if(Br(e)){if(!Br(o=e)||o.prototype&&o.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof Mi||Rr(a)||a===null||console.error("".concat(Tp(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),_t(a,t,r,n)}var o;return e instanceof Mi?r?(e.inject(r,n),[e.getName(n)]):[e]:Rr(e)?Kp(e):Array.isArray(e)?Array.prototype.concat.apply(eo,e.map(function(i){return _t(i,t,r,n)})):[e.toString()]}function yy(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Br(r)&&!Il(r))return!1}return!0}var $y=Bp(Xa),xy=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&yy(t),this.componentId=r,this.baseHash=Ot($y,r),this.baseStyle=n,Vp.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=Nt(a,this.staticRulesId);else{var o=Ti(_t(this.rules,t,r,n)),i=Ri(Ot(this.baseHash,o)>>>0);if(!r.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,l)}a=Nt(a,i),this.staticRulesId=i}else{for(var u=Ot(this.baseHash,n.hash),c="",d=0;d<this.rules.length;d++){var f=this.rules[d];if(typeof f=="string")c+=f,process.env.NODE_ENV!=="production"&&(u=Ot(u,f));else if(f){var p=Ti(_t(f,t,r,n));u=Ot(u,p+d),c+=p}}if(c){var m=Ri(u>>>0);r.hasNameForId(this.componentId,m)||r.insertRules(this.componentId,m,n(c,".".concat(m),void 0,this.componentId)),a=Nt(a,m)}}return a},e}(),_p=s.createContext(void 0);_p.Consumer;var Ko={},ds=new Set;function Dy(e,t,r){var n=Il(e),a=e,o=!No(e),i=t.attrs,l=i===void 0?eo:i,u=t.componentId,c=u===void 0?function(E,w){var S=typeof E!="string"?"sc":ns(E);Ko[S]=(Ko[S]||0)+1;var F="".concat(S,"-").concat(Rp(Xa+S+Ko[S]));return w?"".concat(w,"-").concat(F):F}(t.displayName,t.parentComponentId):u,d=t.displayName,f=d===void 0?function(E){return No(E)?"styled.".concat(E):"Styled(".concat(Tp(E),")")}(e):d,p=t.displayName&&t.componentId?"".concat(ns(t.displayName),"-").concat(t.componentId):t.componentId||c,m=n&&a.attrs?a.attrs.concat(l).filter(Boolean):l,h=t.shouldForwardProp;if(n&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;h=function(E,w){return v(E,w)&&y(E,w)}}else h=v}var k=new xy(r,p,n?a.componentStyle:void 0);function D(E,w){return function(S,F,b){var A=S.attrs,P=S.componentStyle,x=S.defaultProps,M=S.foldedComponentIds,R=S.styledComponentId,T=S.target,N=s.useContext(_p),O=ss(),$=S.shouldForwardProp||O.shouldForwardProp;process.env.NODE_ENV!=="production"&&s.useDebugValue(R);var z=_5(F,N,x)||kr,H=function(Q,G,I){for(var _,Z=Oe(Oe({},G),{className:void 0,theme:I}),q=0;q<Q.length;q+=1){var te=Br(_=Q[q])?_(Z):_;for(var L in te)Z[L]=L==="className"?Nt(Z[L],te[L]):L==="style"?Oe(Oe({},Z[L]),te[L]):te[L]}return G.className&&(Z.className=Nt(Z.className,G.className)),Z}(A,F,z),B=H.as||T,V={};for(var K in H)H[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&H.theme===z||(K==="forwardedAs"?V.as=H.forwardedAs:$&&!$(K,B)||(V[K]=H[K],$||process.env.NODE_ENV!=="development"||$5(K)||ds.has(K)||!Bi.has(B)||(ds.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var W=function(Q,G){var I=ss(),_=Q.generateAndInjectStyles(G,I.styleSheet,I.stylis);return process.env.NODE_ENV!=="production"&&s.useDebugValue(_),_}(P,H);process.env.NODE_ENV!=="production"&&S.warnTooManyClasses&&S.warnTooManyClasses(W);var U=Nt(M,R);return W&&(U+=" "+W),H.className&&(U+=" "+H.className),V[No(B)&&!Bi.has(B)?"class":"className"]=U,V.ref=b,s.createElement(B,V)}(C,E,w)}D.displayName=f;var C=s.forwardRef(D);return C.attrs=m,C.componentStyle=k,C.displayName=f,C.shouldForwardProp=h,C.foldedComponentIds=n?Nt(a.foldedComponentIds,a.styledComponentId):"",C.styledComponentId=p,C.target=n?a.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?function(w){for(var S=[],F=1;F<arguments.length;F++)S[F-1]=arguments[F];for(var b=0,A=S;b<A.length;b++)Ai(w,A[b],!0);return w}({},a.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(K5(f,p),C.warnTooManyClasses=function(E,w){var S={},F=!1;return function(b){if(!F&&(S[b]=!0,Object.keys(S).length>=200)){var A=w?' with the id of "'.concat(w,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(A,`.
|
|
62
62
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
63
63
|
Example:
|
|
64
64
|
const Component = styled.div.attrs(props => ({
|
|
@@ -67,16 +67,16 @@ Example:
|
|
|
67
67
|
},
|
|
68
68
|
}))\`width: 100%;\`
|
|
69
69
|
|
|
70
|
-
<Component />`),
|
|
70
|
+
<Component />`),F=!0,S={}}}}(f,p)),Ol(C,function(){return".".concat(C.styledComponentId)}),o&&Ip(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function fs(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}var ps=function(e){return Object.assign(e,{isCss:!0})};function to(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Br(e)||Rr(e))return ps(_t(fs(eo,qt([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?_t(n):ps(_t(fs(n,t)))}function Ii(e,t,r){if(r===void 0&&(r=kr),!t)throw Mr(1,t);var n=function(a){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,r,to.apply(void 0,qt([a],o,!1)))};return n.attrs=function(a){return Ii(e,t,Oe(Oe({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return Ii(e,t,Oe(Oe({},r),a))},n}var zp=function(e){return Ii(Dy,e)},j=zp;Bi.forEach(function(e){j[e]=zp(e)});function Hp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var n=Ti(to.apply(void 0,qt([e],t,!1))),a=Rp(n);return new Mi(a,n)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
71
71
|
Perhaps you're looking to import 'styled-components/native'?
|
|
72
72
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Un="__sc-".concat(Yt,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Un]||(window[Un]=0),window[Un]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
73
73
|
|
|
74
|
-
See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z",fill:"currentColor"})})}function vy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function gy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function by(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function yy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.005 5.209v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41l-4.88 4.88V5.209c0-.55-.45-1-1-1s-1 .45-1 1Z",fill:"currentColor"})})}function $y(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function xy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M13 18.791V7.621l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.621v11.17c0 .55.45 1 1 1s1-.45 1-1Z",fill:"currentColor"})})}function Dy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2Zm10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2Zm-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function wy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.665 21c-.35 0-.62-.31-.57-.66l.9-6.34h-3.5c-.88 0-.33-.75-.31-.78 1.26-2.23 3.15-5.53 5.65-9.93a.577.577 0 0 1 1.07.37l-.9 6.34h3.51c.4 0 .62.19.4.66-3.29 5.74-5.2 9.09-5.75 10.05-.1.18-.29.29-.5.29Z",fill:"currentColor"})})}function Ey(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2h-8ZM6 19H4v-2h2v2Zm0-4H4v-2h2v2Zm0-4H4V9h2v2Zm0-4H4V5h2v2Zm4 12H8v-2h2v2Zm0-4H8v-2h2v2Zm0-4H8V9h2v2Zm0-4H8V5h2v2Zm9 12h-7v-2h2v-2h-2v-2h2v-2h-2V9h7c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Zm-1-8h-2v2h2v-2Zm0 4h-2v2h2v-2Z",fill:"currentColor"})})}function Cy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function Sy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z",fill:"currentColor"})})}function Py(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m8.795 15.875-3.47-3.47a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 1 0-1.41-1.41l-9.88 9.87Z",fill:"currentColor"})})}function ky(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z",fill:"currentColor"})})}function By(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15 6.705a.996.996 0 0 0-1.41 0L9 11.295a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41Z",fill:"currentColor"})})}function Ry(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9 6.71a.996.996 0 0 0 0 1.41L12.88 12 9 15.88a.996.996 0 1 0 1.41 1.41L15 12.7a.996.996 0 0 0 0-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01Z",fill:"currentColor"})})}function Ty(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function Ay(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function Fy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.5 20h-10V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1Zm5-4V4c0-1.1-.9-2-2-2h-9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2Zm-2 0h-9V4h9v12Z",fill:"currentColor"})})}function My(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10ZM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1Zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5Z",fill:"currentColor"})})}function Iy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M16.59 9.5H15v-5c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71ZM5 19.5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function Oy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function Vy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36Zm17.71-10.42a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z",fill:"currentColor"})})}function Ly(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1Zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm1-3h-2v-2h2v2Z",fill:"currentColor"})})}function jy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.79 16.29c.39.39 1.02.39 1.41 0l3.59-3.59a.996.996 0 0 0 0-1.41L12.2 7.7a.996.996 0 1 0-1.41 1.41L12.67 11H4c-.55 0-1 .45-1 1s.45 1 1 1h8.67l-1.88 1.88c-.39.39-.38 1.03 0 1.41ZM19 3H5a2 2 0 0 0-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Z",fill:"currentColor"})})}function Ny(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m11.295 9-4.59 4.59A.996.996 0 1 0 8.115 15l3.89-3.88 3.88 3.88a.996.996 0 1 0 1.41-1.41L12.705 9a.996.996 0 0 0-1.41 0Z",fill:"currentColor"})})}function Ky(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m15.875 9-3.88 3.88L8.115 9a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0Z",fill:"currentColor"})})}function _y(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2ZM8.5 14.21c0 .43-.36.79-.79.79-.25 0-.49-.12-.64-.33L4.75 11.5v2.88c0 .35-.28.62-.62.62-.34 0-.63-.28-.63-.62V9.79c0-.43.36-.79.79-.79h.05c.26 0 .5.12.65.33l2.26 3.17V9.62c0-.34.28-.62.63-.62s.62.28.62.62v4.59Zm5-4.57c0 .35-.28.62-.62.62H11v1.12h1.88c.35 0 .62.28.62.62v.01c0 .35-.28.62-.62.62H11v1.11h1.88c.35 0 .62.28.62.62 0 .35-.28.62-.62.62h-2.53a.85.85 0 0 1-.85-.85v-4.3c0-.45.38-.83.85-.83h2.53c.35 0 .62.28.62.62v.02Zm7 4.36c0 .55-.45 1-1 1h-4c-.55 0-1-.45-1-1V9.62c0-.34.28-.62.62-.62.34 0 .62.28.62.62v3.89h1.13v-2.9c0-.35.28-.62.62-.62.34 0 .62.28.62.62v2.89h1.12V9.62c0-.35.28-.62.62-.62.34 0 .62.28.62.62V14h.03Z",fill:"currentColor"})})}function zy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4.25 5.61C6.57 8.59 10 13 10 13v5c0 1.1.9 2 2 2s2-.9 2-2v-5s3.43-4.41 5.75-7.39c.51-.66.04-1.61-.8-1.61H5.04c-.83 0-1.3.95-.79 1.61Z",fill:"currentColor"})})}function Hy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function Zy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.699 15.89 13.819 12l3.89-3.89a.996.996 0 1 0-1.41-1.41l-4.59 4.59a.996.996 0 0 0 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0a.993.993 0 0 0-.01-1.4ZM6.999 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function Uy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 6h-8l-1.41-1.41C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2Zm-1 12H5c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function Wy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm0 10h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm8-16v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2Zm2 16h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function Gy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm-1-4h2v2h-2v-2Zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47Z",fill:"currentColor"})})}function qy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9.998 19.328v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87l-8.36-7.53c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87h1.7v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1Z",fill:"currentColor"})})}function Yy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8Zm8.25 6.75A5.489 5.489 0 0 1 12 17.5c-2.03 0-3.8-1.11-4.75-2.75-.19-.33.06-.75.44-.75h8.62c.39 0 .63.42.44.75ZM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z",fill:"currentColor"})})}function Jy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96ZM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16Zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8ZM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z",fill:"currentColor"})})}function Qy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.291 8.11 3.89 3.89-3.89 3.89a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41l-4.59-4.6a.996.996 0 0 0-1.41 0c-.38.39-.38 1.03 0 1.41ZM17.001 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function Xy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1Zm2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function e2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function t2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20.94 11A8.994 8.994 0 0 0 13 3.06V2c0-.55-.45-1-1-1s-1 .45-1 1v1.06A8.994 8.994 0 0 0 3.06 11H2c-.55 0-1 .45-1 1s.45 1 1 1h1.06A8.994 8.994 0 0 0 11 20.94V22c0 .55.45 1 1 1s1-.45 1-1v-1.06A8.994 8.994 0 0 0 20.94 13H22c.55 0 1-.45 1-1s-.45-1-1-1h-1.06ZM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7Z",fill:"currentColor"})})}function r2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M5.104 5h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h6c.55 0 1-.45 1-1s-.45-1-1-1h-6V5Z",fill:"currentColor"}),g.jsx("path",{d:"m20.754 11.65-2.79-2.79a.501.501 0 0 0-.86.35V11h-7c-.55 0-1 .45-1 1s.45 1 1 1h7v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})]})}function n2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function a2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M7 11h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function o2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55Z",fill:"currentColor"}),g.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2Z",fill:"currentColor"})]})}function i2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function l2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function s2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.497 17.499c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 1 1.41 0l1.17 1.17a3 3 0 0 0 4.24 0l4.18-4.17 1.44 1.44a.5.5 0 0 0 .85-.35v-4.29a.48.48 0 0 0-.49-.5h-4.29c-.45 0-.67.54-.35.85l1.44 1.44-4.17 4.17a.996.996 0 0 1-1.41 0l-1.17-1.17a3 3 0 0 0-4.24 0l-4.61 4.59c-.38.39-.38 1.03 0 1.41Z",fill:"currentColor"})})}function u2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.004 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.68-1.5-1.51-1.5s-1.49.67-1.49 1.5v.68c-2.87.68-4.5 3.24-4.5 6.32v5l-1.3 1.29c-.63.63-.19 1.71.7 1.71h13.17c.89 0 1.34-1.08.71-1.71l-1.28-1.29Zm-6.01 6c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2ZM6.774 4.48c.42-.38.43-1.03.03-1.43a1 1 0 0 0-1.39-.02 10.424 10.424 0 0 0-3.27 6.06c-.09.61.38 1.16 1 1.16.48 0 .9-.35.98-.83a8.44 8.44 0 0 1 2.65-4.94Zm11.83-1.45c-.4-.37-1.02-.36-1.4.02-.4.4-.38 1.04.03 1.42 1.38 1.27 2.35 3 2.65 4.94.07.48.49.83.98.83.61 0 1.09-.55.99-1.16-.38-2.37-1.55-4.48-3.25-6.05Z",fill:"currentColor"})})}function c2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.29 17.04 18 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.11 6 7.67 6 10.75v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h13.17c.9 0 1.34-1.08.71-1.71ZM16 16.75H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6Zm-4 5c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Z",fill:"currentColor"})})}function d2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.305 21.75c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Zm6-11c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l8.19 8.19v-2.1ZM4.715 3.1l-1.41 1.41 2.81 2.81c-.52 1-.81 2.16-.81 3.43v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h12.83l1.74 1.74 1.41-1.41L4.715 3.1Z",fill:"currentColor"})})}function f2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.642 6.351a7.95 7.95 0 0 0-6.48-2.31c-3.67.37-6.69 3.35-7.1 7.02-.55 4.85 3.2 8.94 7.93 8.94a7.98 7.98 0 0 0 7.21-4.56c.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53a5.994 5.994 0 0 1-6.8 3.31c-2.22-.49-4.01-2.3-4.48-4.52a6.002 6.002 0 0 1 5.85-7.32c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71h3.59c.55 0 1-.45 1-1v-3.59c0-.89-1.08-1.34-1.71-.71l-.64.65Z",fill:"currentColor"})})}function p2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5ZM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5Zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z",fill:"currentColor"})})}function h2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26Zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5Z",fill:"currentColor"})})}function m2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m3.671 20.4 17.45-7.48a1 1 0 0 0 0-1.84L3.671 3.6a.993.993 0 0 0-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91Z",fill:"currentColor"})})}function v2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23a.987.987 0 0 0-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41a7.343 7.343 0 0 0 0 1.35l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68Zm-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5Z",fill:"currentColor"})})}function g2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m2.776 14.764-.09-.09a.996.996 0 0 1 0-1.41l6.09-6.1a.996.996 0 0 1 1.41 0l3.29 3.29 6.39-7.18a1 1 0 0 1 1.45-.04c.37.38.39.98.04 1.37l-7.17 8.07a.992.992 0 0 1-1.45.04l-3.25-3.25-5.3 5.3a.996.996 0 0 1-1.41 0Zm1.41 6 5.3-5.3 3.25 3.25c.41.41 1.07.39 1.45-.04l7.17-8.07c.35-.39.33-.99-.04-1.37a1 1 0 0 0-1.45.04l-6.39 7.18-3.29-3.29a.996.996 0 0 0-1.41 0l-6.09 6.1a.996.996 0 0 0 0 1.41l.09.09c.39.39 1.03.39 1.41 0Z",fill:"currentColor"})})}function b2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 17.52 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5Z",fill:"currentColor"})})}function y2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m19.648 9.295-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75Zm-7.65 6.36-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28Z",fill:"currentColor"})})}function $2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.136 11.855-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35v-1.8h6.01c.55 0 1-.45 1-1s-.45-1-1-1h-6.01v-1.79c0-.45-.54-.67-.85-.35Zm14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35v1.79h-6.02c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})})}function x2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M14.17 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59ZM8 15h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h5c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function D2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12.466 8c-2.65 0-5.05.99-6.9 2.6l-1.89-1.89c-.63-.63-1.71-.19-1.71.7V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72-1.72-3.5-5.3-5.92-9.45-5.92Z",fill:"currentColor"})})}function w2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M22 18.926V8.276c0-.82-.5-1.55-1.26-1.86l-8-3.2c-.48-.19-1.01-.19-1.49 0l-8 3.2C2.5 6.726 2 7.466 2 8.276v10.65c0 1.1.9 2 2 2h3v-9h10v9h3c1.1 0 2-.9 2-2Zm-11 0H9v2h2v-2Zm2-3h-2v2h2v-2Zm2 3h-2v2h2v-2Z",fill:"currentColor"})})}function E2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 5.494 7.53 13.01H4.47L12 5.494Zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01Zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1Zm0 5h2v2h-2v-2Z",fill:"currentColor"})})}const C2={access_time:my,add:vy,add_box:gy,arrow_back:by,arrow_downward:yy,arrow_forward:$y,arrow_upward:xy,bar_chart:Dy,bolt:wy,business:Ey,calendar_today:Cy,cancel:Sy,check:Py,check_circle_outline:ky,chevron_left:By,chevron_right:Ry,clear:Ty,close:Ay,content_copy:Fy,delete_outline:My,download:Iy,drag_indicator:Oy,edit:Vy,error_outline:Ly,exit_to_app:jy,expand_less:Ny,expand_more:Ky,fiber_new:_y,filter_alt:zy,filter_list:Hy,first_page:Zy,folder_open:Uy,grid_view:Wy,help_outline:Gy,home:qy,insert_emoticon:Yy,language:Jy,last_page:Qy,link:Xy,list:e2,location_searching:t2,logout:r2,menu:n2,minimize:a2,monitor_heart:o2,more_horiz:i2,more_vert:l2,moving:s2,notifications_active:u2,notifications_none:c2,notifications_off:d2,refresh:f2,remove_red_eye:p2,search:h2,send:m2,settings:v2,stacked_line_chart:g2,star:b2,star_outline:y2,swap_horiz:$2,text_snippet:x2,undo:D2,warehouse:w2,warning_amber:E2},ct=({name:e,...t})=>{const r=C2[e],n={...t,className:Ni("design-system-icon",t.className),"data-icon-name":e};return r?g.jsx(r,{...n}):(console.error(`Icon "${e}" not found`),g.jsx("svg",{...n,"data-warning":"icon not found",viewBox:"0 0 24 24"}))},S2={sky:{100:{$type:"color",$value:"#d8e1f3"},400:{$type:"color",$value:"#0059ff"},600:{$type:"color",$value:"#003dad"}},ocean:{100:{$type:"color",$value:"#e5f6ff"},300:{$type:"color",$value:"#449eca"},400:{$type:"color",$value:"#00a0f0"},600:{$type:"color",$value:"#00527a"}},green:{100:{$type:"color",$value:"#f0f8ed"},400:{$type:"color",$value:"#3ba50d"},600:{$type:"color",$value:"#1e5f02"}},brown:{100:{$type:"color",$value:"#fff7e5"},400:{$type:"color",$value:"#eba000"},600:{$type:"color",$value:"#6b4900"}},red:{100:{$type:"color",$value:"#ffe5ed"},400:{$type:"color",$value:"#d10a46"},600:{$type:"color",$value:"#850028"}},azure:{400:{$type:"color",$value:"#0f87ff"},500:{$type:"color",$value:"#1056c6"},700:{$type:"color",$value:"#001a70"},800:{$type:"color",$value:"#001352"},900:{$type:"color",$value:"#000c33"}},grass:{400:{$type:"color",$value:"#c1e510"},500:{$type:"color",$value:"#89da10"},700:{$type:"color",$value:"#4f9c30"}},orange:{400:{$type:"color",$value:"#ffb30f"},500:{$type:"color",$value:"#ff871f"},700:{$type:"color",$value:"#fe5716"}},grey:{0:{$type:"color",$value:"#ffffff"},50:{$type:"color",$value:"#f8f9fc"},100:{$type:"color",$value:"#e2e3e9"},200:{$type:"color",$value:"#dbdde6"},300:{$type:"color",$value:"#b8bbc6"}}},P2={1:{$type:"dimension",$value:8},2:{$type:"dimension",$value:16},3:{$type:"dimension",$value:24},4:{$type:"dimension",$value:32},5:{$type:"dimension",$value:40},6:{$type:"dimension",$value:48},7:{$type:"dimension",$value:56},8:{$type:"dimension",$value:64},9:{$type:"dimension",$value:72},10:{$type:"dimension",$value:80},11:{$type:"dimension",$value:88},12:{$type:"dimension",$value:96},13:{$type:"dimension",$value:104},half:{$type:"dimension",$value:4}},k2={sm:{$type:"dimension",$value:2},md:{$type:"dimension",$value:4},lg:{$type:"dimension",$value:8}},Y={colors:S2,spacings:P2,radiuss:k2},de={color:{content:{action:{action:Y.colors.sky[400].$value,actionDarker:Y.colors.sky[600].$value,actionLighter:Y.colors.sky[100].$value},neutral:{primary:Y.colors.azure[900].$value,primaryReversed:Y.colors.grey[0].$value,secondary:Y.colors.azure[800].$value,tertiary:Y.colors.grey[300].$value,stroke:Y.colors.grey[200].$value},brand:{brand1:Y.colors.azure[700].$value,brand2:Y.colors.azure[500].$value,brand3:Y.colors.azure[400].$value,brand4:Y.colors.grass[700].$value,brand5:Y.colors.grass[500].$value,brand6:Y.colors.grass[400].$value,brand7:Y.colors.orange[700].$value,brand8:Y.colors.orange[500].$value,brand9:Y.colors.orange[400].$value},message:{informative:Y.colors.ocean[400].$value,informativeDarker:Y.colors.ocean[600].$value,informativeLighter:Y.colors.ocean[100].$value,negative:Y.colors.red[400].$value,negativeDarker:Y.colors.red[600].$value,negativeLighter:Y.colors.red[100].$value,positive:Y.colors.green[400].$value,positiveDarker:Y.colors.green[600].$value,positiveLighter:Y.colors.green[100].$value,warning:Y.colors.brown[400].$value,warningDarker:Y.colors.brown[600].$value,warningLighter:Y.colors.brown[100].$value}},background:{neutral:{overground:Y.colors.grey[0].$value,ground:Y.colors.grey[0].$value,groundReversed:Y.colors.azure[900].$value,underground1:Y.colors.grey[50].$value,underground2:Y.colors.grey[100].$value},highlight:{focus:Y.colors.ocean[300].$value,focusReversed:Y.colors.grey[0].$value}}},spacing:{xxs:`${Y.spacings.half.$value}px`,xs:`${Y.spacings[1].$value}px`,sm:`${Y.spacings[2].$value}px`,md:`${Y.spacings[3].$value}px`,lg:`${Y.spacings[4].$value}px`,xl:`${Y.spacings[6].$value}px`,xxl:`${Y.spacings[10].$value}px`},radius:{minimal:`${Y.radiuss.sm.$value}px`,rounded:`${Y.radiuss.md.$value}px`,full:`${Y.radiuss.lg.$value}px`},"z-index":{base:"1",dropdown:"10",sticky:"20",fixed:"30",modalBackdrop:"40",offCanvas:"50",modal:"60",popover:"70",tooltip:"80"}},ee={xxSmall:"12px",extraSmall:"14px",small:"16px",medium:"20px",large:"24px",extraLarge:"32px",xxLarge:"40px"},ue={xxSmall:"16px",extraSmall:"20px",small:"24px",medium:"28px",large:"32px",extraLarge:"40px",xxLarge:"56px"},Kp=N.span`
|
|
74
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function wy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z",fill:"currentColor"})})}function Ey(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function Cy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function Sy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function Py(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.005 5.209v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41l-4.88 4.88V5.209c0-.55-.45-1-1-1s-1 .45-1 1Z",fill:"currentColor"})})}function ky(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function By(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M13 18.791V7.621l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.621v11.17c0 .55.45 1 1 1s1-.45 1-1Z",fill:"currentColor"})})}function Ry(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2Zm10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2Zm-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function Ty(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.665 21c-.35 0-.62-.31-.57-.66l.9-6.34h-3.5c-.88 0-.33-.75-.31-.78 1.26-2.23 3.15-5.53 5.65-9.93a.577.577 0 0 1 1.07.37l-.9 6.34h3.51c.4 0 .62.19.4.66-3.29 5.74-5.2 9.09-5.75 10.05-.1.18-.29.29-.5.29Z",fill:"currentColor"})})}function Ay(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2h-8ZM6 19H4v-2h2v2Zm0-4H4v-2h2v2Zm0-4H4V9h2v2Zm0-4H4V5h2v2Zm4 12H8v-2h2v2Zm0-4H8v-2h2v2Zm0-4H8V9h2v2Zm0-4H8V5h2v2Zm9 12h-7v-2h2v-2h-2v-2h2v-2h-2V9h7c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Zm-1-8h-2v2h2v-2Zm0 4h-2v2h2v-2Z",fill:"currentColor"})})}function Fy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function My(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z",fill:"currentColor"})})}function Iy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m8.795 15.875-3.47-3.47a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 1 0-1.41-1.41l-9.88 9.87Z",fill:"currentColor"})})}function Oy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z",fill:"currentColor"})})}function Vy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15 6.705a.996.996 0 0 0-1.41 0L9 11.295a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41Z",fill:"currentColor"})})}function Ly(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9 6.71a.996.996 0 0 0 0 1.41L12.88 12 9 15.88a.996.996 0 1 0 1.41 1.41L15 12.7a.996.996 0 0 0 0-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01Z",fill:"currentColor"})})}function jy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function Ny(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function Ky(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.5 20h-10V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1Zm5-4V4c0-1.1-.9-2-2-2h-9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2Zm-2 0h-9V4h9v12Z",fill:"currentColor"})})}function _y(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10ZM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1Zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5Z",fill:"currentColor"})})}function zy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M16.59 9.5H15v-5c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71ZM5 19.5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function Hy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function Zy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36Zm17.71-10.42a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z",fill:"currentColor"})})}function Uy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1Zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm1-3h-2v-2h2v2Z",fill:"currentColor"})})}function Wy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.79 16.29c.39.39 1.02.39 1.41 0l3.59-3.59a.996.996 0 0 0 0-1.41L12.2 7.7a.996.996 0 1 0-1.41 1.41L12.67 11H4c-.55 0-1 .45-1 1s.45 1 1 1h8.67l-1.88 1.88c-.39.39-.38 1.03 0 1.41ZM19 3H5a2 2 0 0 0-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Z",fill:"currentColor"})})}function Gy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m11.295 9-4.59 4.59A.996.996 0 1 0 8.115 15l3.89-3.88 3.88 3.88a.996.996 0 1 0 1.41-1.41L12.705 9a.996.996 0 0 0-1.41 0Z",fill:"currentColor"})})}function qy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m15.875 9-3.88 3.88L8.115 9a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0Z",fill:"currentColor"})})}function Yy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2ZM8.5 14.21c0 .43-.36.79-.79.79-.25 0-.49-.12-.64-.33L4.75 11.5v2.88c0 .35-.28.62-.62.62-.34 0-.63-.28-.63-.62V9.79c0-.43.36-.79.79-.79h.05c.26 0 .5.12.65.33l2.26 3.17V9.62c0-.34.28-.62.63-.62s.62.28.62.62v4.59Zm5-4.57c0 .35-.28.62-.62.62H11v1.12h1.88c.35 0 .62.28.62.62v.01c0 .35-.28.62-.62.62H11v1.11h1.88c.35 0 .62.28.62.62 0 .35-.28.62-.62.62h-2.53a.85.85 0 0 1-.85-.85v-4.3c0-.45.38-.83.85-.83h2.53c.35 0 .62.28.62.62v.02Zm7 4.36c0 .55-.45 1-1 1h-4c-.55 0-1-.45-1-1V9.62c0-.34.28-.62.62-.62.34 0 .62.28.62.62v3.89h1.13v-2.9c0-.35.28-.62.62-.62.34 0 .62.28.62.62v2.89h1.12V9.62c0-.35.28-.62.62-.62.34 0 .62.28.62.62V14h.03Z",fill:"currentColor"})})}function Jy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4.25 5.61C6.57 8.59 10 13 10 13v5c0 1.1.9 2 2 2s2-.9 2-2v-5s3.43-4.41 5.75-7.39c.51-.66.04-1.61-.8-1.61H5.04c-.83 0-1.3.95-.79 1.61Z",fill:"currentColor"})})}function Qy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function Xy(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.699 15.89 13.819 12l3.89-3.89a.996.996 0 1 0-1.41-1.41l-4.59 4.59a.996.996 0 0 0 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0a.993.993 0 0 0-.01-1.4ZM6.999 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function e2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 6h-8l-1.41-1.41C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2Zm-1 12H5c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function t2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm0 10h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm8-16v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2Zm2 16h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function r2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm-1-4h2v2h-2v-2Zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47Z",fill:"currentColor"})})}function n2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9.998 19.328v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87l-8.36-7.53c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87h1.7v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1Z",fill:"currentColor"})})}function a2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8Zm8.25 6.75A5.489 5.489 0 0 1 12 17.5c-2.03 0-3.8-1.11-4.75-2.75-.19-.33.06-.75.44-.75h8.62c.39 0 .63.42.44.75ZM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z",fill:"currentColor"})})}function o2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96ZM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16Zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8ZM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z",fill:"currentColor"})})}function i2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.291 8.11 3.89 3.89-3.89 3.89a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41l-4.59-4.6a.996.996 0 0 0-1.41 0c-.38.39-.38 1.03 0 1.41ZM17.001 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function l2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1Zm2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function u2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function s2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20.94 11A8.994 8.994 0 0 0 13 3.06V2c0-.55-.45-1-1-1s-1 .45-1 1v1.06A8.994 8.994 0 0 0 3.06 11H2c-.55 0-1 .45-1 1s.45 1 1 1h1.06A8.994 8.994 0 0 0 11 20.94V22c0 .55.45 1 1 1s1-.45 1-1v-1.06A8.994 8.994 0 0 0 20.94 13H22c.55 0 1-.45 1-1s-.45-1-1-1h-1.06ZM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7Z",fill:"currentColor"})})}function c2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M5.104 5h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h6c.55 0 1-.45 1-1s-.45-1-1-1h-6V5Z",fill:"currentColor"}),g.jsx("path",{d:"m20.754 11.65-2.79-2.79a.501.501 0 0 0-.86.35V11h-7c-.55 0-1 .45-1 1s.45 1 1 1h7v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})]})}function d2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function f2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M7 11h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function p2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55Z",fill:"currentColor"}),g.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2Z",fill:"currentColor"})]})}function m2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function h2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function v2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.497 17.499c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 1 1.41 0l1.17 1.17a3 3 0 0 0 4.24 0l4.18-4.17 1.44 1.44a.5.5 0 0 0 .85-.35v-4.29a.48.48 0 0 0-.49-.5h-4.29c-.45 0-.67.54-.35.85l1.44 1.44-4.17 4.17a.996.996 0 0 1-1.41 0l-1.17-1.17a3 3 0 0 0-4.24 0l-4.61 4.59c-.38.39-.38 1.03 0 1.41Z",fill:"currentColor"})})}function g2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.004 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.68-1.5-1.51-1.5s-1.49.67-1.49 1.5v.68c-2.87.68-4.5 3.24-4.5 6.32v5l-1.3 1.29c-.63.63-.19 1.71.7 1.71h13.17c.89 0 1.34-1.08.71-1.71l-1.28-1.29Zm-6.01 6c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2ZM6.774 4.48c.42-.38.43-1.03.03-1.43a1 1 0 0 0-1.39-.02 10.424 10.424 0 0 0-3.27 6.06c-.09.61.38 1.16 1 1.16.48 0 .9-.35.98-.83a8.44 8.44 0 0 1 2.65-4.94Zm11.83-1.45c-.4-.37-1.02-.36-1.4.02-.4.4-.38 1.04.03 1.42 1.38 1.27 2.35 3 2.65 4.94.07.48.49.83.98.83.61 0 1.09-.55.99-1.16-.38-2.37-1.55-4.48-3.25-6.05Z",fill:"currentColor"})})}function b2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.29 17.04 18 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.11 6 7.67 6 10.75v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h13.17c.9 0 1.34-1.08.71-1.71ZM16 16.75H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6Zm-4 5c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Z",fill:"currentColor"})})}function y2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.305 21.75c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Zm6-11c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l8.19 8.19v-2.1ZM4.715 3.1l-1.41 1.41 2.81 2.81c-.52 1-.81 2.16-.81 3.43v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h12.83l1.74 1.74 1.41-1.41L4.715 3.1Z",fill:"currentColor"})})}function $2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.642 6.351a7.95 7.95 0 0 0-6.48-2.31c-3.67.37-6.69 3.35-7.1 7.02-.55 4.85 3.2 8.94 7.93 8.94a7.98 7.98 0 0 0 7.21-4.56c.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53a5.994 5.994 0 0 1-6.8 3.31c-2.22-.49-4.01-2.3-4.48-4.52a6.002 6.002 0 0 1 5.85-7.32c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71h3.59c.55 0 1-.45 1-1v-3.59c0-.89-1.08-1.34-1.71-.71l-.64.65Z",fill:"currentColor"})})}function x2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5ZM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5Zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z",fill:"currentColor"})})}function D2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26Zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5Z",fill:"currentColor"})})}function w2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m3.671 20.4 17.45-7.48a1 1 0 0 0 0-1.84L3.671 3.6a.993.993 0 0 0-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91Z",fill:"currentColor"})})}function E2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23a.987.987 0 0 0-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41a7.343 7.343 0 0 0 0 1.35l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68Zm-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5Z",fill:"currentColor"})})}function C2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m2.776 14.764-.09-.09a.996.996 0 0 1 0-1.41l6.09-6.1a.996.996 0 0 1 1.41 0l3.29 3.29 6.39-7.18a1 1 0 0 1 1.45-.04c.37.38.39.98.04 1.37l-7.17 8.07a.992.992 0 0 1-1.45.04l-3.25-3.25-5.3 5.3a.996.996 0 0 1-1.41 0Zm1.41 6 5.3-5.3 3.25 3.25c.41.41 1.07.39 1.45-.04l7.17-8.07c.35-.39.33-.99-.04-1.37a1 1 0 0 0-1.45.04l-6.39 7.18-3.29-3.29a.996.996 0 0 0-1.41 0l-6.09 6.1a.996.996 0 0 0 0 1.41l.09.09c.39.39 1.03.39 1.41 0Z",fill:"currentColor"})})}function S2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 17.52 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5Z",fill:"currentColor"})})}function P2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m19.648 9.295-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75Zm-7.65 6.36-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28Z",fill:"currentColor"})})}function k2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.136 11.855-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35v-1.8h6.01c.55 0 1-.45 1-1s-.45-1-1-1h-6.01v-1.79c0-.45-.54-.67-.85-.35Zm14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35v1.79h-6.02c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})})}function B2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M14.17 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59ZM8 15h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h5c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function R2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12.466 8c-2.65 0-5.05.99-6.9 2.6l-1.89-1.89c-.63-.63-1.71-.19-1.71.7V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72-1.72-3.5-5.3-5.92-9.45-5.92Z",fill:"currentColor"})})}function T2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M22 18.926V8.276c0-.82-.5-1.55-1.26-1.86l-8-3.2c-.48-.19-1.01-.19-1.49 0l-8 3.2C2.5 6.726 2 7.466 2 8.276v10.65c0 1.1.9 2 2 2h3v-9h10v9h3c1.1 0 2-.9 2-2Zm-11 0H9v2h2v-2Zm2-3h-2v2h2v-2Zm2 3h-2v2h2v-2Z",fill:"currentColor"})})}function A2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 5.494 7.53 13.01H4.47L12 5.494Zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01Zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1Zm0 5h2v2h-2v-2Z",fill:"currentColor"})})}const F2={access_time:wy,add:Ey,add_box:Cy,arrow_back:Sy,arrow_downward:Py,arrow_forward:ky,arrow_upward:By,bar_chart:Ry,bolt:Ty,business:Ay,calendar_today:Fy,cancel:My,check:Iy,check_circle_outline:Oy,chevron_left:Vy,chevron_right:Ly,clear:jy,close:Ny,content_copy:Ky,delete_outline:_y,download:zy,drag_indicator:Hy,edit:Zy,error_outline:Uy,exit_to_app:Wy,expand_less:Gy,expand_more:qy,fiber_new:Yy,filter_alt:Jy,filter_list:Qy,first_page:Xy,folder_open:e2,grid_view:t2,help_outline:r2,home:n2,insert_emoticon:a2,language:o2,last_page:i2,link:l2,list:u2,location_searching:s2,logout:c2,menu:d2,minimize:f2,monitor_heart:p2,more_horiz:m2,more_vert:h2,moving:v2,notifications_active:g2,notifications_none:b2,notifications_off:y2,refresh:$2,remove_red_eye:x2,search:D2,send:w2,settings:E2,stacked_line_chart:C2,star:S2,star_outline:P2,swap_horiz:k2,text_snippet:B2,undo:R2,warehouse:T2,warning_amber:A2},rt=({name:e,...t})=>{const r=F2[e],n={...t,className:Ki("design-system-icon",t.className),"data-icon-name":e};return r?g.jsx(r,{...n}):(console.error(`Icon "${e}" not found`),g.jsx("svg",{...n,"data-warning":"icon not found",viewBox:"0 0 24 24"}))},M2={sky:{100:{$type:"color",$value:"#d8e1f3"},400:{$type:"color",$value:"#0059ff"},600:{$type:"color",$value:"#003dad"}},ocean:{100:{$type:"color",$value:"#e5f6ff"},300:{$type:"color",$value:"#449eca"},400:{$type:"color",$value:"#00a0f0"},600:{$type:"color",$value:"#00527a"}},green:{100:{$type:"color",$value:"#f0f8ed"},400:{$type:"color",$value:"#3ba50d"},600:{$type:"color",$value:"#1e5f02"}},brown:{100:{$type:"color",$value:"#fff7e5"},400:{$type:"color",$value:"#eba000"},600:{$type:"color",$value:"#6b4900"}},red:{100:{$type:"color",$value:"#ffe5ed"},400:{$type:"color",$value:"#d10a46"},600:{$type:"color",$value:"#850028"}},azure:{400:{$type:"color",$value:"#0f87ff"},500:{$type:"color",$value:"#1056c6"},700:{$type:"color",$value:"#001a70"},800:{$type:"color",$value:"#001352"},900:{$type:"color",$value:"#000c33"}},grass:{400:{$type:"color",$value:"#c1e510"},500:{$type:"color",$value:"#89da10"},700:{$type:"color",$value:"#4f9c30"}},orange:{400:{$type:"color",$value:"#ffb30f"},500:{$type:"color",$value:"#ff871f"},700:{$type:"color",$value:"#fe5716"}},grey:{0:{$type:"color",$value:"#ffffff"},50:{$type:"color",$value:"#f8f9fc"},100:{$type:"color",$value:"#e2e3e9"},200:{$type:"color",$value:"#dbdde6"},300:{$type:"color",$value:"#b8bbc6"}}},I2={1:{$type:"dimension",$value:8},2:{$type:"dimension",$value:16},3:{$type:"dimension",$value:24},4:{$type:"dimension",$value:32},5:{$type:"dimension",$value:40},6:{$type:"dimension",$value:48},7:{$type:"dimension",$value:56},8:{$type:"dimension",$value:64},9:{$type:"dimension",$value:72},10:{$type:"dimension",$value:80},11:{$type:"dimension",$value:88},12:{$type:"dimension",$value:96},13:{$type:"dimension",$value:104},half:{$type:"dimension",$value:4}},O2={sm:{$type:"dimension",$value:2},md:{$type:"dimension",$value:4},lg:{$type:"dimension",$value:8}},J={colors:M2,spacings:I2,radiuss:O2},de={color:{content:{action:{action:J.colors.sky[400].$value,actionDarker:J.colors.sky[600].$value,actionLighter:J.colors.sky[100].$value},neutral:{primary:J.colors.azure[900].$value,primaryReversed:J.colors.grey[0].$value,secondary:J.colors.azure[800].$value,tertiary:J.colors.grey[300].$value,stroke:J.colors.grey[200].$value},brand:{brand1:J.colors.azure[700].$value,brand2:J.colors.azure[500].$value,brand3:J.colors.azure[400].$value,brand4:J.colors.grass[700].$value,brand5:J.colors.grass[500].$value,brand6:J.colors.grass[400].$value,brand7:J.colors.orange[700].$value,brand8:J.colors.orange[500].$value,brand9:J.colors.orange[400].$value},message:{informative:J.colors.ocean[400].$value,informativeDarker:J.colors.ocean[600].$value,informativeLighter:J.colors.ocean[100].$value,negative:J.colors.red[400].$value,negativeDarker:J.colors.red[600].$value,negativeLighter:J.colors.red[100].$value,positive:J.colors.green[400].$value,positiveDarker:J.colors.green[600].$value,positiveLighter:J.colors.green[100].$value,warning:J.colors.brown[400].$value,warningDarker:J.colors.brown[600].$value,warningLighter:J.colors.brown[100].$value}},background:{neutral:{overground:J.colors.grey[0].$value,ground:J.colors.grey[0].$value,groundReversed:J.colors.azure[900].$value,underground1:J.colors.grey[50].$value,underground2:J.colors.grey[100].$value},highlight:{focus:J.colors.ocean[300].$value,focusReversed:J.colors.grey[0].$value}}},spacing:{xxs:`${J.spacings.half.$value}px`,xs:`${J.spacings[1].$value}px`,sm:`${J.spacings[2].$value}px`,md:`${J.spacings[3].$value}px`,lg:`${J.spacings[4].$value}px`,xl:`${J.spacings[6].$value}px`,xxl:`${J.spacings[10].$value}px`},radius:{minimal:`${J.radiuss.sm.$value}px`,rounded:`${J.radiuss.md.$value}px`,full:`${J.radiuss.lg.$value}px`},"z-index":{base:"1",dropdown:"10",sticky:"20",fixed:"30",modalBackdrop:"40",offCanvas:"50",modal:"60",popover:"70",tooltip:"80"}},ee={xxSmall:"12px",extraSmall:"14px",small:"16px",medium:"20px",large:"24px",extraLarge:"32px",xxLarge:"40px"},ue={xxSmall:"16px",extraSmall:"20px",small:"24px",medium:"28px",large:"32px",extraLarge:"40px",xxLarge:"56px"},Zp=j.span`
|
|
75
75
|
// This reflect the little space between text and y-axis paddings (see Figma file)
|
|
76
76
|
&[data-size="medium"] {
|
|
77
77
|
padding: 2px 0;
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,ms=j(rt)`
|
|
80
80
|
// Icons font-sizes are not equal to the font-size of the text (see Figma file)
|
|
81
81
|
&[data-size="small"] {
|
|
82
82
|
font-size: ${ee.small};
|
|
@@ -85,7 +85,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
85
85
|
&[data-size="large"] {
|
|
86
86
|
font-size: ${ee.large};
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`,V2=j(L1)`
|
|
89
89
|
// Core styles, here is the only place where CSS variables are *used*
|
|
90
90
|
appearance: none;
|
|
91
91
|
display: inline-flex;
|
|
@@ -338,7 +338,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
338
338
|
&[data-mode="tertiary"]:not([data-disabled]):not([data-nature="action"])[data-force-pressed] {
|
|
339
339
|
box-shadow: none;
|
|
340
340
|
|
|
341
|
-
${
|
|
341
|
+
${Zp} {
|
|
342
342
|
text-decoration: underline;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -365,7 +365,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
365
365
|
--hover-background-color: transparent;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
`;function Ze({text:e,mode:t="primary",size:r="medium",nature:n="action",iconLeft:a,iconRight:o,type:i,onClick:l,disabled:
|
|
368
|
+
`;function Ze({text:e,mode:t="primary",size:r="medium",nature:n="action",iconLeft:a,iconRight:o,type:i,onClick:l,disabled:u,fullWidth:c,...d}){const f=e==null||e==="";if(f&&!a&&!o)throw new Error("You must provide a text or an icon");if(a&&o)throw new Error("You can't provide both an iconLeft and an iconRight");return g.jsxs(V2,{...d,type:i||"button","data-size":r,"data-nature":n,"data-mode":t,"data-has-icon-left":!!a,"data-has-icon-right":!!o,"data-has-no-text":f,"data-fullwidth":c,onPress:l,isDisabled:u,children:[!!a&&g.jsx(ms,{name:a,"data-size":r}),!f&&g.jsx(Zp,{"data-size":r,children:e}),!!o&&g.jsx(ms,{name:o,"data-size":r})]})}const L2=j.span`
|
|
369
369
|
display: inline-flex;
|
|
370
370
|
align-items: center;
|
|
371
371
|
justify-content: center;
|
|
@@ -400,13 +400,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
400
400
|
background: var(--color-content-message-warning-lighter);
|
|
401
401
|
color: var(--color-content-message-warning-darker);
|
|
402
402
|
}
|
|
403
|
-
`,
|
|
403
|
+
`,j2=j(rt)`
|
|
404
404
|
margin-right: var(--spacing-xxs);
|
|
405
405
|
font-size: ${ee.small};
|
|
406
406
|
line-height: ${ee.small};
|
|
407
407
|
width: ${ee.small};
|
|
408
408
|
height: ${ee.small};
|
|
409
|
-
`,
|
|
409
|
+
`,N2=s.forwardRef(({children:e,nature:t="default",iconLeft:r,...n},a)=>g.jsxs(L2,{"data-nature":t,"data-have-icon":!!r,ref:a,...n,children:[!!r&&g.jsx(j2,{name:r}),e]})),K2=j.span`
|
|
410
410
|
display: flex;
|
|
411
411
|
align-items: center;
|
|
412
412
|
justify-content: center;
|
|
@@ -451,7 +451,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
451
451
|
&[data-invisible="true"] {
|
|
452
452
|
visibility: hidden;
|
|
453
453
|
}
|
|
454
|
-
`,
|
|
454
|
+
`,Up=s.forwardRef(({value:e,nature:t="default",max:r,showZero:n,invisible:a,variant:o="standard",...i},l)=>{if(_2({value:e,variant:o,showZero:n}))return null;let u=e;return e&&r&&e>r&&(u=`${r}+`),o==="dot"&&(u=""),g.jsx(K2,{ref:l,"data-nature":t,"data-invisible":a,"data-variant":o,$value:e,$max:r,...i,children:u})}),_2=({value:e,variant:t,showZero:r})=>t==="dot"?!1:e==null||e===0&&!r,aa=j.div`
|
|
455
455
|
position: relative;
|
|
456
456
|
display: flex;
|
|
457
457
|
align-items: center;
|
|
@@ -462,7 +462,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
462
462
|
line-height: ${ue.small};
|
|
463
463
|
font-style: normal;
|
|
464
464
|
font-weight: 400;
|
|
465
|
-
`,
|
|
465
|
+
`,z2=j(xb)`
|
|
466
466
|
display: inline-block;
|
|
467
467
|
padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs)
|
|
468
468
|
var(--spacing-xxs);
|
|
@@ -544,7 +544,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
544
544
|
visibility: hidden;
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
`,
|
|
547
|
+
`,H2=j.div`
|
|
548
548
|
display: flex;
|
|
549
549
|
align-items: center;
|
|
550
550
|
justify-content: center;
|
|
@@ -555,13 +555,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
555
555
|
width: calc(20px - var(--spacing-xxs));
|
|
556
556
|
height: calc(20px - var(--spacing-xxs));
|
|
557
557
|
}
|
|
558
|
-
`,
|
|
558
|
+
`,Wp=s.forwardRef(({label:e,hideLabel:t,disabled:r,defaultSelected:n,isIndeterminate:a,isSelected:o,onChange:i,readOnly:l,value:u,required:c,...d},f)=>g.jsx(z2,{...d,ref:f,"aria-label":t?e:void 0,isDisabled:r,defaultSelected:n,isIndeterminate:a,isSelected:o,onChange:i,isReadOnly:l,value:u,isRequired:c,"data-hide-label":t,"data-design-system-component":"Checkbox",children:g.jsxs(aa,{children:[g.jsx(H2,{"data-hide-label":t,children:g.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[g.jsx("path",{className:"checkbox-svg-square",d:"M0.5 2.0437C0.5 1.21527 1.17157 0.543701 2 0.543701H14C14.8284 0.543701 15.5 1.21527 15.5 2.0437V14.0437C15.5 14.8721 14.8284 15.5437 14 15.5437H2C1.17157 15.5437 0.5 14.8721 0.5 14.0437V2.0437Z"}),g.jsx("path",{className:"checkbox-svg-checkmark",d:"M5.86331 10.6271L3.54998 8.31372C3.28998 8.05372 2.86998 8.05372 2.60998 8.31372C2.34998 8.57372 2.34998 8.99372 2.60998 9.25372L5.39665 12.0404C5.65665 12.3004 6.07664 12.3004 6.33664 12.0404L13.39 4.98705C13.65 4.72705 13.65 4.30705 13.39 4.04705C13.13 3.78705 12.71 3.78705 12.45 4.04705L5.86331 10.6271Z"}),g.jsx("path",{className:"checkbox-svg-indeterminate",d:"M4.66667 7.37701H11.3333C11.7 7.37701 12 7.67701 12 8.04368C12 8.41035 11.7 8.71035 11.3333 8.71035H4.66667C4.3 8.71035 4 8.41035 4 8.04368C4 7.67701 4.3 7.37701 4.66667 7.37701Z",fill:"white"})]})}),t?"":e]})})),Z2=s.forwardRef(({children:e,...t},r)=>g.jsx(Db,{...t,ref:r,children:e})),hs=Hp`
|
|
559
559
|
from { transform: translateX(100%); }
|
|
560
560
|
to { transform: translateX(0); }
|
|
561
|
-
`,
|
|
561
|
+
`,vs=Hp`
|
|
562
562
|
from { background: rgba(0 0 0 / 0); }
|
|
563
563
|
to { background: rgba(0 12 51 / 0.7); }
|
|
564
|
-
`,
|
|
564
|
+
`,U2=j(gp)`
|
|
565
565
|
position: fixed;
|
|
566
566
|
z-index: var(--z-index-modal);
|
|
567
567
|
top: 0;
|
|
@@ -571,11 +571,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
571
571
|
background: rgba(0 12 51 / 0.7);
|
|
572
572
|
|
|
573
573
|
&[data-entering] {
|
|
574
|
-
animation: ${
|
|
574
|
+
animation: ${vs} 300ms;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
&[data-exiting] {
|
|
578
|
-
animation: ${
|
|
578
|
+
animation: ${vs} 300ms reverse ease-in;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -584,7 +584,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
584
584
|
animation: none;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
`,
|
|
587
|
+
`,W2=j(c5)`
|
|
588
588
|
position: fixed;
|
|
589
589
|
top: 0;
|
|
590
590
|
right: 0;
|
|
@@ -594,11 +594,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
594
594
|
outline: none;
|
|
595
595
|
|
|
596
596
|
&[data-entering] {
|
|
597
|
-
animation: ${
|
|
597
|
+
animation: ${hs} 300ms;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
&[data-exiting] {
|
|
601
|
-
animation: ${
|
|
601
|
+
animation: ${hs} 300ms reverse ease-in;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -607,12 +607,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
607
607
|
animation: none;
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
`,
|
|
610
|
+
`,G2=j(Pl)`
|
|
611
611
|
outline: none;
|
|
612
612
|
height: 100%;
|
|
613
613
|
display: flex;
|
|
614
614
|
flex-direction: column;
|
|
615
|
-
`,
|
|
615
|
+
`,q2=j.header`
|
|
616
616
|
display: flex;
|
|
617
617
|
align-items: center;
|
|
618
618
|
justify-content: space-between;
|
|
@@ -620,40 +620,40 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
620
620
|
var(--spacing-sm);
|
|
621
621
|
gap: var(--spacing-xs);
|
|
622
622
|
background: var(--color-content-action-action-darker);
|
|
623
|
-
`,
|
|
623
|
+
`,Y2=j.h2`
|
|
624
624
|
margin: 0;
|
|
625
625
|
font-size: ${ee.small};
|
|
626
626
|
font-style: normal;
|
|
627
627
|
font-weight: 700;
|
|
628
628
|
line-height: ${ue.small};
|
|
629
629
|
color: var(--color-content-neutral-primary-reversed);
|
|
630
|
-
`,
|
|
630
|
+
`,J2=j(Ze)`
|
|
631
631
|
color: var(--color-content-neutral-primary-reversed);
|
|
632
|
-
`,
|
|
632
|
+
`,Q2=j.section`
|
|
633
633
|
padding: var(--spacing-lg);
|
|
634
634
|
flex: 1;
|
|
635
635
|
overflow-y: auto;
|
|
636
|
-
`,
|
|
636
|
+
`,X2=j.footer`
|
|
637
637
|
display: flex;
|
|
638
638
|
justify-content: flex-end;
|
|
639
639
|
align-items: center;
|
|
640
640
|
padding: var(--spacing-sm);
|
|
641
641
|
gap: var(--spacing-sm);
|
|
642
642
|
border-top: 1px solid var(--color-content-neutral-stroke);
|
|
643
|
-
`;function
|
|
643
|
+
`;function e$({children:e,onPrimaryClick:t,primaryLabel:r,onSecondaryClick:n,secondaryLabel:a,isOpen:o,onOpenChange:i,title:l,isDismissable:u=!0}){return g.jsx(U2,{isOpen:o,onOpenChange:i,isDismissable:u,isKeyboardDismissDisabled:!u,children:g.jsx(W2,{children:g.jsx(G2,{"aria-label":l,children:({close:c})=>g.jsxs(g.Fragment,{children:[g.jsxs(q2,{children:[g.jsx(Y2,{children:l}),g.jsx(J2,{type:"button",onClick:c,"aria-label":"Close",iconLeft:"clear",mode:"tertiary"})]}),g.jsx(Q2,{children:e}),g.jsxs(X2,{children:[n&&g.jsx(Ze,{onClick:n,text:a,mode:"secondary"}),g.jsx(Ze,{onClick:t,text:r})]})]})})})})}const t$=j.th`
|
|
644
644
|
padding: 0;
|
|
645
|
-
`,
|
|
645
|
+
`,r$=j.div`
|
|
646
646
|
display: flex;
|
|
647
647
|
align-items: center;
|
|
648
648
|
width: 100%;
|
|
649
649
|
column-gap: var(--spacing-xxs);
|
|
650
650
|
padding: var(--spacing-sm);
|
|
651
651
|
border-bottom: 1px solid var(--color-content-neutral-stroke);
|
|
652
|
-
`,
|
|
652
|
+
`,Oi=j(rt)`
|
|
653
653
|
display: inline-block;
|
|
654
654
|
font-size: ${ee.large};
|
|
655
655
|
color: var(--color-content-neutral-secondary);
|
|
656
|
-
`,
|
|
656
|
+
`,Gp=j.button`
|
|
657
657
|
padding: 0;
|
|
658
658
|
border: none;
|
|
659
659
|
background: none;
|
|
@@ -667,14 +667,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
667
667
|
cursor: pointer;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
${
|
|
670
|
+
${Oi} {
|
|
671
671
|
color: var(--color-content-neutral-primary);
|
|
672
672
|
}
|
|
673
|
-
`,
|
|
673
|
+
`,n$=j(Gp)`
|
|
674
674
|
height: ${ee.large};
|
|
675
|
-
`;function
|
|
675
|
+
`;function a$({text:e,iconLeft:t,sortDirection:r="none",onSortClick:n,...a}){return g.jsx(t$,{...a,children:g.jsxs(r$,{children:[!!t&&g.jsx(Oi,{name:t}),g.jsx(Gp,{type:"button",onClick:n,disabled:!n,children:e}),!!n&&r!=="none"&&g.jsx(n$,{type:"button",onClick:n,disabled:!n,children:g.jsx(Oi,{name:r==="asc"?"expand_less":"expand_more"})})]})})}const o$=j.td`
|
|
676
676
|
padding: 0;
|
|
677
|
-
`,
|
|
677
|
+
`,i$=j.div`
|
|
678
678
|
display: flex;
|
|
679
679
|
align-items: center;
|
|
680
680
|
column-gap: var(--spacing-xxs);
|
|
@@ -691,10 +691,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
691
691
|
> [data-design-system-component="Checkbox"] {
|
|
692
692
|
padding: 0 !important;
|
|
693
693
|
}
|
|
694
|
-
`,
|
|
694
|
+
`,l$=j(rt)`
|
|
695
695
|
display: inline-block;
|
|
696
696
|
font-size: ${ee.large};
|
|
697
|
-
`;function
|
|
697
|
+
`;function u$({children:e,iconLeft:t,...r}){return g.jsx(o$,{...r,children:g.jsxs(i$,{children:[!!t&&g.jsx(l$,{name:t}),e]})})}const s$=j.tr`
|
|
698
698
|
background-color: var(--color-content-neutral-primary-reversed);
|
|
699
699
|
|
|
700
700
|
&[data-level="section"] {
|
|
@@ -704,7 +704,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
704
704
|
&[data-level="sub-section"] {
|
|
705
705
|
background-color: var(--color-content-action-action-lighter);
|
|
706
706
|
}
|
|
707
|
-
`;function
|
|
707
|
+
`;function qp({children:e,level:t="root",...r}){return g.jsx(s$,{...r,"data-level":t,children:e})}/**
|
|
708
708
|
* react-table
|
|
709
709
|
*
|
|
710
710
|
* Copyright (c) TanStack
|
|
@@ -713,28 +713,28 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
713
713
|
* LICENSE.md file in the root directory of this source tree.
|
|
714
714
|
*
|
|
715
715
|
* @license MIT
|
|
716
|
-
*/function
|
|
716
|
+
*/function gs(e,t){return e?c$(e)?ym.createElement(e,t):e:null}function c$(e){return d$(e)||typeof e=="function"||f$(e)}function d$(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function f$(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}const p$=j.div`
|
|
717
717
|
display: flex;
|
|
718
718
|
column-gap: var(--spacing-xxs);
|
|
719
719
|
font-size: ${ee.small};
|
|
720
720
|
line-height: ${ue.small};
|
|
721
721
|
font-weight: 700;
|
|
722
722
|
color: var(--color-content-neutral-primary);
|
|
723
|
-
`,
|
|
723
|
+
`,m$=j.span`
|
|
724
724
|
color: var(--color-content-message-negative-darker);
|
|
725
|
-
`,
|
|
725
|
+
`,h$=j.label``,v$=j(rt)`
|
|
726
726
|
font-size: ${ue.small};
|
|
727
|
-
`;function
|
|
727
|
+
`;function g$({htmlForId:e,required:t,label:r,labelIconRight:n,...a}){return g.jsxs(p$,{...a,className:Ki("FormGroupLabel",a.className),children:[!!t&&g.jsx(m$,{title:"Required","aria-hidden":"true",children:"*"}),g.jsx(h$,{htmlFor:e,children:r}),!!n&&g.jsx(v$,{name:n})]})}const b$=j.div`
|
|
728
728
|
display: flex;
|
|
729
729
|
flex-direction: column;
|
|
730
730
|
align-items: flex-start;
|
|
731
731
|
row-gap: var(--spacing-xs);
|
|
732
|
-
`,
|
|
732
|
+
`,y$=j.div`
|
|
733
733
|
font-size: ${ee.extraSmall};
|
|
734
734
|
line-height: ${ue.extraSmall};
|
|
735
735
|
font-weight: 400;
|
|
736
736
|
color: var(--color-content-neutral-secondary);
|
|
737
|
-
|
|
737
|
+
`,$$=j.div`
|
|
738
738
|
display: flex;
|
|
739
739
|
align-items: center;
|
|
740
740
|
column-gap: var(--spacing-xxs);
|
|
@@ -753,9 +753,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
753
753
|
&[data-nature="positive"] {
|
|
754
754
|
color: var(--color-content-message-positive-darker);
|
|
755
755
|
}
|
|
756
|
-
`,
|
|
756
|
+
`,x$=j(rt)`
|
|
757
757
|
font-size: ${ue.xxSmall};
|
|
758
|
-
`;function
|
|
758
|
+
`;function _o({iconLeft:e,text:t,nature:r="default"}){return g.jsxs($$,{"data-nature":r,role:r==="negative"?"alert":void 0,children:[!!e&&g.jsx(x$,{name:e}),t]})}const pn=s.forwardRef(({htmlForId:e,required:t,label:r,labelIconRight:n,description:a,helperTextIcon:o,helperText:i,children:l,errorHelperTextIcon:u,successHelperTextIcon:c,successHelperText:d,errorHelperText:f,...p},m)=>g.jsxs(b$,{ref:m,...p,children:[g.jsx(g$,{htmlForId:e,label:r,labelIconRight:n,required:t}),!!a&&g.jsx(y$,{children:a}),l,!!f&&g.jsx(_o,{text:f,iconLeft:u,nature:"negative"}),!!d&&g.jsx(_o,{text:d,iconLeft:c,nature:"positive"}),!!i&&g.jsx(_o,{text:i,iconLeft:o,nature:"default"})]})),Yp=to`
|
|
759
759
|
margin: 0;
|
|
760
760
|
max-height: 200px; /* 5 items of 40px height */
|
|
761
761
|
overflow-y: auto;
|
|
@@ -763,13 +763,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
763
763
|
background: var(--color-content-neutral-primary-reversed);
|
|
764
764
|
box-shadow: 10px 10px 24px 0 rgba(0, 0, 0, 0.05);
|
|
765
765
|
list-style: none;
|
|
766
|
-
`,
|
|
767
|
-
${
|
|
768
|
-
`,
|
|
766
|
+
`,D$=j.div`
|
|
767
|
+
${Yp}
|
|
768
|
+
`,w$=j(h5)`
|
|
769
769
|
&[data-fullwidth="true"] {
|
|
770
770
|
width: 100%;
|
|
771
771
|
}
|
|
772
|
-
`,
|
|
772
|
+
`,bs=j(L1)`
|
|
773
773
|
position: relative;
|
|
774
774
|
display: inline-flex;
|
|
775
775
|
justify-content: space-between;
|
|
@@ -834,7 +834,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
834
834
|
&[data-nature="positive"] {
|
|
835
835
|
outline-color: var(--color-content-message-positive-darker);
|
|
836
836
|
}
|
|
837
|
-
`,
|
|
837
|
+
`,E$=g5,ys=j(rt)`
|
|
838
838
|
flex: none;
|
|
839
839
|
font-size: ${ee.large};
|
|
840
840
|
color: var(--color-content-neutral-tertiary);
|
|
@@ -842,19 +842,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
842
842
|
&[data-disabled="true"] {
|
|
843
843
|
color: var(--color-content-neutral-secondary);
|
|
844
844
|
}
|
|
845
|
-
|
|
846
|
-
${
|
|
845
|
+
`,$s=j(Sl)``,xs=j(Ib)`
|
|
846
|
+
${Yp};
|
|
847
847
|
z-index: var(--z-index-dropdown);
|
|
848
848
|
outline: none;
|
|
849
849
|
width: var(--trigger-width);
|
|
850
|
-
`,
|
|
850
|
+
`,C$=j.span`
|
|
851
851
|
display: flex;
|
|
852
852
|
align-items: center;
|
|
853
853
|
column-gap: var(--spacing-xs);
|
|
854
|
-
`;function
|
|
854
|
+
`;function ro({nature:e,successHelperText:t,errorHelperText:r}){return e||(r?"negative":t?"positive":"default")}function S$(){return typeof window.ResizeObserver<"u"}function P$(e){const{ref:t,onResize:r}=e;s.useEffect(()=>{const n=t==null?void 0:t.current;if(n)if(S$()){const a=new window.ResizeObserver(o=>{o.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function no(e){const{locale:t}=ke(),r=t||"";return`${r[0]}${r[1]}`.toLowerCase()==="fr"?e.fr:e.en}const Vi=s.forwardRef((e,t)=>{var d,f;const r=no(k$),n=e["aria-label"]??String(e.label),a=ro({nature:e.nature,successHelperText:e.successHelperText,errorHelperText:e.errorHelperText}),o={...e.wrapperProps,htmlForId:e.id,label:e.label,labelIconRight:e.labelIconRight,description:e.description,helperTextIcon:e.helperTextIcon,helperText:e.helperText,errorHelperText:e.errorHelperText,errorHelperTextIcon:e.errorHelperTextIcon,successHelperText:e.successHelperText,successHelperTextIcon:e.successHelperTextIcon,required:e.required},i=s.useRef(null),[l,u]=s.useState(null),c=s.useCallback(()=>{i.current&&u(i.current.offsetWidth+"px")},[i]);return P$({ref:i,onResize:c}),e.mode==="multiple"?g.jsx(pn,{...o,ref:t,children:g.jsxs(Wb,{defaultOpen:e.defaultOpen,isOpen:e.open,onOpenChange:e.onOpenChange,children:[g.jsxs(bs,{...e.buttonProps,type:"button",ref:i,"data-nature":a,"data-fullwidth":e.fullWidth,"aria-label":n,isDisabled:e.disabled,children:[!((d=e.selectedKeys)!=null&&d.length)&&g.jsx("span",{children:e.placeholder||""}),!!((f=e.selectedKeys)!=null&&f.length)&&g.jsxs(C$,{children:[g.jsx(Up,{value:e.selectedKeys.length,nature:"informative"}),e.selectedKeys.length===1?` ${r.itemSelected}`:` ${r.itemsSelected}`]}),g.jsx(ys,{name:"expand_more","data-disabled":e.disabled})]}),g.jsx($s,{offset:4,placement:"bottom",children:g.jsx(xs,{"aria-label":`${r.selectionFor} ${n}`,selectionMode:"multiple",selectedKeys:e.selectedKeys,disabledKeys:e.disabledIds,onSelectionChange:p=>{p!=="all"&&e.onSelectionChange([...p].map(String))},style:{"--trigger-width":l},children:e.children})})]})}):g.jsx(pn,{...o,children:g.jsxs(w$,{ref:t,id:e.id,isDisabled:e.disabled,isRequired:e.required,onSelectionChange:p=>{var m;return(m=e.onChange)==null?void 0:m.call(e,String(p))},selectedKey:e.value,name:e.name,disabledKeys:e.disabledIds,defaultOpen:e.defaultOpen,isOpen:e.open,onOpenChange:e.onOpenChange,"data-fullwidth":e.fullWidth,"aria-label":n,children:[g.jsxs(bs,{...e.buttonProps,type:"button","data-nature":a,"data-fullwidth":e.fullWidth,children:[g.jsx(E$,{children:p=>p.isPlaceholder?e.placeholder||"":p.selectedText}),g.jsx(ys,{name:"expand_more","data-disabled":e.disabled})]}),g.jsx($s,{offset:4,placement:"bottom",children:g.jsx(xs,{children:e.children})})]})})}),k$={en:{itemsSelected:" items selected",itemSelected:" item selected",selectionFor:" selection for"},fr:{itemsSelected:" éléments sélectionnés",itemSelected:" élément sélectionné",selectionFor:" sélection pour"}},Li=j(rt)`
|
|
855
855
|
font-size: ${ee.large};
|
|
856
856
|
color: var(--color-content-neutral-primary);
|
|
857
|
-
`,
|
|
857
|
+
`,B$=j.div`
|
|
858
858
|
position: relative;
|
|
859
859
|
z-index: var(--z-index-base);
|
|
860
860
|
width: 100%;
|
|
@@ -897,15 +897,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
897
897
|
color: var(--color-content-neutral-tertiary);
|
|
898
898
|
cursor: not-allowed;
|
|
899
899
|
|
|
900
|
-
${
|
|
900
|
+
${Li} {
|
|
901
901
|
color: var(--color-content-neutral-tertiary);
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
|
-
`,
|
|
904
|
+
`,R$=j.span`
|
|
905
905
|
flex-grow: 1;
|
|
906
906
|
font-size: ${ee.small};
|
|
907
907
|
line-height: ${ue.small};
|
|
908
|
-
`,
|
|
908
|
+
`,Jp=s.forwardRef(({text:e,iconLeft:t,iconRight:r,selected:n,disabled:a,isMultipleSelection:o,...i},l)=>g.jsxs(B$,{...i,ref:l,"data-selected":!!n,"data-disabled":a,children:[o&&g.jsx(Wp,{label:`item ${e} ${n?"selected":"not selected"}`,hideLabel:!0,isSelected:n,readOnly:!0,disabled:a}),!!t&&g.jsx(Li,{name:t}),!!e&&g.jsx(R$,{children:e}),!!r&&g.jsx(Li,{name:r})]}));function ji({text:e,id:t,iconRight:r,iconLeft:n,isSelected:a}){return g.jsx(jb,{textValue:e,id:t,style:{outline:"none"},children:o=>g.jsx(Jp,{text:e,disabled:o.isDisabled,selected:a??o.isSelected,"data-hovered":o.isHovered,"data-pressed":o.isPressed,"data-focused":o.isFocused,"data-focus-visible":o.isFocusVisible,iconLeft:n,iconRight:r,isMultipleSelection:o.selectionMode==="multiple"})})}function T$(e,t){return Array.from({length:e},(r,n)=>n+0)}const A$=j.div`
|
|
909
909
|
display: flex;
|
|
910
910
|
align-items: center;
|
|
911
911
|
justify-content: space-between;
|
|
@@ -914,53 +914,53 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
914
914
|
.FormGroupLabel {
|
|
915
915
|
display: none;
|
|
916
916
|
}
|
|
917
|
-
`,
|
|
917
|
+
`,F$=j.div`
|
|
918
918
|
display: flex;
|
|
919
919
|
align-items: center;
|
|
920
920
|
justify-content: space-between;
|
|
921
|
-
`,
|
|
921
|
+
`,M$=j.div`
|
|
922
922
|
margin-right: var(--spacing-xs);
|
|
923
923
|
color: var(--color-content-neutral-secondary);
|
|
924
924
|
font-size: ${ee.extraSmall};
|
|
925
925
|
font-style: normal;
|
|
926
926
|
font-weight: 400;
|
|
927
927
|
line-height: ${ue.extraSmall};
|
|
928
|
-
`,
|
|
928
|
+
`,I$=j.div`
|
|
929
929
|
margin-left: var(--spacing-sm);
|
|
930
930
|
color: var(--color-content-neutral-secondary);
|
|
931
931
|
font-size: ${ee.xxSmall};
|
|
932
932
|
font-style: normal;
|
|
933
933
|
font-weight: 400;
|
|
934
934
|
line-height: ${ue.xxSmall};
|
|
935
|
-
`,
|
|
935
|
+
`,O$=j.div`
|
|
936
936
|
display: flex;
|
|
937
937
|
align-items: center;
|
|
938
938
|
justify-content: space-between;
|
|
939
939
|
column-gap: var(--spacing-sm);
|
|
940
|
-
`,
|
|
940
|
+
`,V$=j.div`
|
|
941
941
|
color: var(--color-content-neutral-secondary);
|
|
942
942
|
font-size: ${ee.xxSmall};
|
|
943
943
|
font-style: normal;
|
|
944
944
|
font-weight: 400;
|
|
945
945
|
line-height: ${ue.xxSmall};
|
|
946
|
-
`,
|
|
946
|
+
`,Qp=s.forwardRef(({count:e,onPageChange:t,pageIndex:r,itemsPerPageOptions:n=[10,20,30,40,50],itemsPerPage:a=10,onItemsPerPageChange:o,...i},l)=>{const u=s.useMemo(()=>r*a+1,[a,r]),c=s.useMemo(()=>Math.min((r+1)*a,e),[e,a,r]),d=s.useMemo(()=>Math.ceil(e/a),[e,a]),f=s.useMemo(()=>Math.max(d-1,0),[d]);return g.jsxs(A$,{...i,ref:l,children:[g.jsxs(F$,{children:[g.jsx(M$,{children:"Item per page"}),g.jsx(Vi,{id:"table-pagination-items-per-page",label:"Select the number of items per page",mode:"single",value:String(a),onChange:p=>o(Number(p)),fullWidth:!0,children:n.map(p=>g.jsx(ji,{id:String(p),text:String(p)},p))}),g.jsxs(I$,{"data-testid":"table-pagination-items-range",children:[g.jsx("b",{children:u})," - ",g.jsx("b",{children:c})," of ",g.jsx("b",{children:e})," items"]})]}),g.jsxs(O$,{children:[g.jsx(Vi,{id:"table-pagination-page-selector",label:"Select page to display",mode:"single",value:String(r),onChange:p=>t(Number(p)),fullWidth:!0,children:T$(d).map(p=>g.jsx(ji,{id:String(p),text:String(p+1)},p))}),g.jsxs(V$,{"data-testid":"table-pagination-pages-range",children:["On ",g.jsx("b",{children:d})," pages"]}),g.jsxs("div",{children:[g.jsx(Ze,{iconLeft:"first_page","aria-label":"Go to first page",onClick:()=>t(0),disabled:r===0,mode:"tertiary"}),g.jsx(Ze,{iconLeft:"chevron_left","aria-label":"Go to previous page",onClick:()=>t(r-1),disabled:r===0,mode:"tertiary"}),g.jsx(Ze,{iconLeft:"chevron_right","aria-label":"Go to next page",onClick:()=>t(r+1),disabled:r===f,mode:"tertiary"}),g.jsx(Ze,{iconLeft:"last_page","aria-label":"Go to last page",onClick:()=>t(f),disabled:r===f,mode:"tertiary"})]})]})]})}),L$=j.table`
|
|
947
947
|
width: 100%;
|
|
948
948
|
border-collapse: separate;
|
|
949
949
|
border-spacing: 0 var(--spacing-xxs);
|
|
950
|
-
`;function
|
|
950
|
+
`;function Xp({children:e,...t}){return g.jsx(L$,{...t,children:e})}function j$({table:e,pagination:t,...r}){return g.jsxs("div",{...r,children:[g.jsxs(Xp,{children:[g.jsx("thead",{children:e.getHeaderGroups().map(n=>g.jsx("tr",{children:n.headers.map(a=>g.jsx(s.Fragment,{children:gs(a.column.columnDef.header,a.getContext())},a.id))},n.id))}),g.jsx("tbody",{children:e.getRowModel().rows.map(n=>g.jsx(qp,{children:n.getVisibleCells().map(a=>g.jsx(s.Fragment,{children:gs(a.column.columnDef.cell,a.getContext())},a.id))},n.id))})]}),g.jsx(Qp,{count:e.getRowCount(),onPageChange:e.setPageIndex,pageIndex:t.pageIndex,onItemsPerPageChange:e.setPageSize,itemsPerPage:t.pageSize,style:{marginTop:"16px"}})]})}const N$=s.forwardRef(({items:e,children:t,...r},n)=>g.jsxs(D$,{...r,ref:n,children:[e==null?void 0:e.map(a=>g.jsx(Jp,{...a},a.text)),t]})),K$=j(n5)`
|
|
951
951
|
display: flex;
|
|
952
952
|
|
|
953
953
|
&[data-fullwidth="true"] {
|
|
954
954
|
width: 100%;
|
|
955
955
|
}
|
|
956
|
-
`,
|
|
956
|
+
`,_$=j(Cl)`
|
|
957
957
|
display: flex;
|
|
958
958
|
column-gap: var(--spacing-xxs);
|
|
959
959
|
|
|
960
960
|
&[data-fullwidth="true"] {
|
|
961
961
|
width: 100%;
|
|
962
962
|
}
|
|
963
|
-
`,
|
|
963
|
+
`,z$=j(vp)`
|
|
964
964
|
position: relative;
|
|
965
965
|
display: inline-flex;
|
|
966
966
|
justify-content: flex-start;
|
|
@@ -999,7 +999,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
999
999
|
&[data-nature="positive"] {
|
|
1000
1000
|
outline-color: var(--color-content-message-positive-darker);
|
|
1001
1001
|
}
|
|
1002
|
-
`;function
|
|
1002
|
+
`;function it(e,t){if(e)return e.length===10?mv(e):t?hv(e+`[${t}]`):e.endsWith("Z")?du(e.slice(0,-1)):du(e)}function Qr(e){if(e instanceof Gt){const t=e.toString(),r=t.indexOf("[");return r!==-1?t.substring(0,r):t}return e.toString()}const em=to`
|
|
1003
1003
|
background: var(--color-content-neutral-primary-reversed);
|
|
1004
1004
|
padding: var(--spacing-xs);
|
|
1005
1005
|
box-shadow: 10px 10px 24px 0 rgba(0, 0, 0, 0.05);
|
|
@@ -1007,11 +1007,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1007
1007
|
table {
|
|
1008
1008
|
border-collapse: separate;
|
|
1009
1009
|
}
|
|
1010
|
-
`,
|
|
1011
|
-
${
|
|
1012
|
-
`,
|
|
1013
|
-
${
|
|
1014
|
-
`,
|
|
1010
|
+
`,H$=j(lb)`
|
|
1011
|
+
${em}
|
|
1012
|
+
`,Z$=j(ob)`
|
|
1013
|
+
${em}
|
|
1014
|
+
`,U$=j(sb)`
|
|
1015
1015
|
margin-left: auto;
|
|
1016
1016
|
margin-right: auto;
|
|
1017
1017
|
border-spacing: 0 var(--spacing-xs);
|
|
@@ -1061,17 +1061,17 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1061
1061
|
);
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
`,j
|
|
1064
|
+
`,W$=j.header`
|
|
1065
1065
|
display: flex;
|
|
1066
1066
|
align-items: center;
|
|
1067
1067
|
justify-content: space-between;
|
|
1068
1068
|
margin-bottom: var(--spacing-xs);
|
|
1069
|
-
`,
|
|
1069
|
+
`,G$=j(l5)`
|
|
1070
1070
|
font-size: ${ee.small};
|
|
1071
1071
|
line-height: ${ue.small};
|
|
1072
1072
|
color: var(--color-content-neutral-secondary);
|
|
1073
1073
|
font-weight: bold;
|
|
1074
|
-
`,
|
|
1074
|
+
`,q$=j(gb)`
|
|
1075
1075
|
display: flex;
|
|
1076
1076
|
align-items: center;
|
|
1077
1077
|
justify-content: center;
|
|
@@ -1113,20 +1113,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1113
1113
|
color: var(--color-content-action-action);
|
|
1114
1114
|
}
|
|
1115
1115
|
}
|
|
1116
|
-
`;function
|
|
1116
|
+
`;function tm({mode:e}){const t=e==="single"?Z$:H$;return g.jsxs(t,{children:[g.jsxs(W$,{children:[g.jsx(Ze,{iconLeft:"chevron_left",slot:"previous",mode:"tertiary"}),g.jsx(G$,{}),g.jsx(Ze,{iconLeft:"chevron_right",slot:"next",mode:"tertiary"})]}),g.jsx(U$,{"data-mode":e,children:r=>g.jsx(q$,{date:r,"data-mode":e})})]})}const Y$=s.forwardRef(({wrapperProps:e,id:t,label:r,labelIconRight:n,description:a,helperTextIcon:o,helperText:i,errorHelperText:l,errorHelperTextIcon:u,successHelperText:c,successHelperTextIcon:d,required:f,nature:p,fullWidth:m,isDisabled:h,defaultValue:v,onChange:y,value:k,minValue:D,maxValue:C,isDateUnavailable:E,timeZone:w,ampm:S,...F},b)=>{const A=no(J$),P=F["aria-label"]??String(r),x=ro({nature:p,successHelperText:c,errorHelperText:l}),M={...e,htmlForId:t,label:r,labelIconRight:n,description:a,helperTextIcon:o,helperText:i,errorHelperText:l,errorHelperTextIcon:u,successHelperText:c,successHelperTextIcon:d,required:f},R=w?it("2000-01-01T00:00:00",w):void 0;let T;return S===!0&&(T=12),S===!1&&(T=24),g.jsx(pn,{...M,ref:b,children:g.jsxs(K$,{...F,id:t,isDisabled:h,"aria-label":P,isRequired:f,"data-fullwidth":m,hourCycle:T,placeholderValue:R,defaultValue:it(v,w),onChange:N=>y==null?void 0:y(Qr(N)),value:typeof k=="string"?it(k,w):k,minValue:it(D,w)??void 0,maxValue:it(C,w)??void 0,isDateUnavailable:E?N=>E(Qr(N)):void 0,children:[g.jsxs(_$,{"data-fullwidth":m,children:[g.jsx(z$,{"data-fullwidth":m,"aria-disabled":h,"data-nature":x,children:N=>g.jsx(Ei,{segment:N})}),g.jsx(Ze,{"aria-label":A.openCalendar+r,iconLeft:"calendar_today",mode:"tertiary"})]}),g.jsx(Sl,{children:g.jsx(Pl,{children:g.jsx(tm,{mode:"single"})})})]})})}),J$={en:{openCalendar:"Open calendar "},fr:{openCalendar:"Ouvrir le calendrier "}},Q$=j(o5)`
|
|
1117
1117
|
display: flex;
|
|
1118
1118
|
|
|
1119
1119
|
&[data-fullwidth="true"] {
|
|
1120
1120
|
width: 100%;
|
|
1121
1121
|
}
|
|
1122
|
-
`,
|
|
1122
|
+
`,X$=j(Cl)`
|
|
1123
1123
|
display: flex;
|
|
1124
1124
|
column-gap: var(--spacing-xxs);
|
|
1125
1125
|
|
|
1126
1126
|
&[data-fullwidth="true"] {
|
|
1127
1127
|
width: 100%;
|
|
1128
1128
|
}
|
|
1129
|
-
`,
|
|
1129
|
+
`,e6=j.div`
|
|
1130
1130
|
display: flex;
|
|
1131
1131
|
align-items: center;
|
|
1132
1132
|
outline: 1px solid var(--color-content-neutral-stroke);
|
|
@@ -1150,10 +1150,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1150
1150
|
&[data-nature="positive"] {
|
|
1151
1151
|
outline-color: var(--color-content-message-positive-darker);
|
|
1152
1152
|
}
|
|
1153
|
-
`,
|
|
1153
|
+
`,t6=j.span`
|
|
1154
1154
|
display: inline-block;
|
|
1155
1155
|
margin: 0 var(--spacing-xxs);
|
|
1156
|
-
`,
|
|
1156
|
+
`,Ds=j(vp)`
|
|
1157
1157
|
position: relative;
|
|
1158
1158
|
display: inline-flex;
|
|
1159
1159
|
justify-content: flex-start;
|
|
@@ -1180,14 +1180,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1180
1180
|
background: var(--color-content-neutral-tertiary);
|
|
1181
1181
|
color: var(--color-content-neutral-secondary);
|
|
1182
1182
|
}
|
|
1183
|
-
`,
|
|
1183
|
+
`,r6=s.forwardRef(({wrapperProps:e,id:t,label:r,labelIconRight:n,description:a,helperTextIcon:o,helperText:i,errorHelperText:l,errorHelperTextIcon:u,successHelperText:c,successHelperTextIcon:d,required:f,nature:p,fullWidth:m,isDisabled:h,defaultValue:v,onChange:y,value:k,minValue:D,maxValue:C,isDateUnavailable:E,timeZone:w,ampm:S,...F},b)=>{const A=no(n6),P=F["aria-label"]??String(r),x=ro({nature:p,successHelperText:c,errorHelperText:l}),M={...e,htmlForId:t,label:r,labelIconRight:n,description:a,helperTextIcon:o,helperText:i,errorHelperText:l,errorHelperTextIcon:u,successHelperText:c,successHelperTextIcon:d,required:f},R=w&&it("2000-01-01T00:00:00",w)||void 0;let T;return S===!0&&(T=12),S===!1&&(T=24),g.jsx(pn,{...M,ref:b,children:g.jsxs(Q$,{...F,id:t,isDisabled:h,"aria-label":P,isRequired:f,"data-fullwidth":m,hourCycle:T,placeholderValue:R,defaultValue:ws(v,w),onChange:({start:N,end:O})=>y==null?void 0:y({start:Qr(N),end:Qr(O)}),value:k===null?null:ws(k,w),minValue:D?it(D,w):void 0,maxValue:C?it(C,w):void 0,isDateUnavailable:E?N=>E(Qr(N)):void 0,children:[g.jsxs(X$,{"data-fullwidth":m,children:[g.jsxs(e6,{"data-disabled":h,"data-nature":x,"data-fullwidth":m,children:[g.jsx(Ds,{slot:"start","aria-disabled":h,children:N=>g.jsx(Ei,{segment:N})}),g.jsx(t6,{"aria-hidden":"true",children:"–"}),g.jsx(Ds,{slot:"end","aria-disabled":h,children:N=>g.jsx(Ei,{segment:N})})]}),g.jsx(Ze,{"aria-label":A.openCalendar+r,iconLeft:"calendar_today",mode:"tertiary"})]}),g.jsx(Sl,{children:g.jsx(Pl,{children:g.jsx(tm,{mode:"range"})})})]})})}),n6={en:{openCalendar:"Open calendar "},fr:{openCalendar:"Ouvrir le calendrier "}};function ws(e,t){if(e)return{start:it(e.start,t),end:it(e.end,t)}}const a6=j.div`
|
|
1184
1184
|
display: inline-block;
|
|
1185
1185
|
position: relative;
|
|
1186
1186
|
|
|
1187
1187
|
&[data-fullwidth="true"] {
|
|
1188
1188
|
width: 100%;
|
|
1189
1189
|
}
|
|
1190
|
-
`,
|
|
1190
|
+
`,rm=j(rt)`
|
|
1191
1191
|
position: absolute;
|
|
1192
1192
|
color: var(--color);
|
|
1193
1193
|
inset-block-end: var(--spacing-xs);
|
|
@@ -1205,7 +1205,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1205
1205
|
&[data-nature="positive"] {
|
|
1206
1206
|
--color: var(--color-content-message-positive-darker);
|
|
1207
1207
|
}
|
|
1208
|
-
`,
|
|
1208
|
+
`,o6=j.input.withConfig({shouldForwardProp:e=>!["hasIcon"].includes(e)})`
|
|
1209
1209
|
appearance: none;
|
|
1210
1210
|
background: var(--background-color);
|
|
1211
1211
|
border: none;
|
|
@@ -1268,7 +1268,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1268
1268
|
--color: var(--color-content-neutral-primary);
|
|
1269
1269
|
--placeholder-color: var(--color-content-neutral-primary);
|
|
1270
1270
|
|
|
1271
|
-
~ ${
|
|
1271
|
+
~ ${rm} {
|
|
1272
1272
|
cursor: not-allowed;
|
|
1273
1273
|
--color: var(--color-content-neutral-primary);
|
|
1274
1274
|
}
|
|
@@ -1291,7 +1291,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1291
1291
|
--color: var(--color-content-neutral-secondary);
|
|
1292
1292
|
--placeholder-color: var(--color-content-neutral-secondary);
|
|
1293
1293
|
}
|
|
1294
|
-
`,
|
|
1294
|
+
`,i6=j.div`
|
|
1295
1295
|
align-self: flex-end;
|
|
1296
1296
|
color: var(--color);
|
|
1297
1297
|
column-gap: var(--spacing-xxs);
|
|
@@ -1318,13 +1318,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1318
1318
|
&[data-nature="positive"] {
|
|
1319
1319
|
--color: var(--color-content-neutral-secondary);
|
|
1320
1320
|
}
|
|
1321
|
-
`,
|
|
1321
|
+
`,l6=s.forwardRef(({nature:e,inputIcon:t,label:r,labelIconRight:n,description:a,characterCounter:o,helperText:i,helperTextIcon:l,required:u,id:c,value:d,onChange:f,disabled:p,maxLength:m,type:h="text",fullWidth:v,wrapperProps:y,errorHelperTextIcon:k,successHelperTextIcon:D,successHelperText:C,errorHelperText:E,...w},S)=>{const F=ro({nature:e,successHelperText:C,errorHelperText:E}),b=no(u6);return g.jsxs(pn,{...y,htmlForId:c,label:r,labelIconRight:n,description:a,helperTextIcon:l,helperText:i,errorHelperText:E,errorHelperTextIcon:k,successHelperText:C,successHelperTextIcon:D,required:u,children:[g.jsxs(a6,{"data-fullwidth":v,children:[g.jsx(o6,{...w,ref:S,id:c,type:h,"data-nature":F,"aria-required":u,required:u,onChange:f,value:d,hasIcon:!!t,disabled:p,maxLength:m,"data-fullwidth":v}),!!t&&g.jsx(rm,{name:t,"data-nature":F})]}),!!o&&typeof d=="string"&&g.jsxs(i6,{"data-nature":p?"disabled":F,children:[g.jsx("span",{children:b.characterCounter}),g.jsxs("span",{children:[d.length,!!m&&` / ${m}`]})]})]})}),u6={en:{characterCounter:"Character counter"},fr:{characterCounter:"Nombre de caractères"}},s6=j.div`
|
|
1322
1322
|
display: flex;
|
|
1323
1323
|
|
|
1324
1324
|
&[data-has-label="true"] {
|
|
1325
1325
|
padding: var(--spacing-xs) var(--spacing-xxs);
|
|
1326
1326
|
}
|
|
1327
|
-
`,
|
|
1327
|
+
`,c6=j.label`
|
|
1328
1328
|
display: flex;
|
|
1329
1329
|
align-items: center;
|
|
1330
1330
|
border-radius: var(--radius-rounded);
|
|
@@ -1348,7 +1348,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1348
1348
|
border-radius: 9999px;
|
|
1349
1349
|
outline-offset: -2px;
|
|
1350
1350
|
}
|
|
1351
|
-
`,
|
|
1351
|
+
`,d6=j.input`
|
|
1352
1352
|
margin: var(--spacing-xxs);
|
|
1353
1353
|
width: 16px;
|
|
1354
1354
|
height: 16px;
|
|
@@ -1362,35 +1362,77 @@ See https://s-c.sh/2BAXzed for more info.`),window[Un]+=1);function my(e){return
|
|
|
1362
1362
|
&:disabled {
|
|
1363
1363
|
cursor: not-allowed;
|
|
1364
1364
|
}
|
|
1365
|
-
`,
|
|
1365
|
+
`,f6=j.span`
|
|
1366
1366
|
padding: 0 var(--spacing-xs);
|
|
1367
|
-
`,
|
|
1367
|
+
`,p6=s.forwardRef(({label:e,labelProps:t,wrapperProps:r,disabled:n,...a},o)=>g.jsx(s6,{...r,"data-has-label":!!e,"data-design-system-component":"Radio",children:g.jsxs(c6,{...t,"aria-disabled":!!n,"data-has-label":!!e,children:[g.jsx(d6,{...a,type:"radio",ref:o,disabled:n}),!!e&&g.jsx(f6,{children:e})]})})),nm=j.span`
|
|
1368
|
+
color: inherit;
|
|
1369
|
+
text-decoration: underline;
|
|
1370
|
+
text-underline-offset: 5px;
|
|
1371
|
+
font-size: ${ee.small};
|
|
1372
|
+
line-height: ${ue.small};
|
|
1373
|
+
font-weight: 700;
|
|
1374
|
+
font-style: normal;
|
|
1375
|
+
`,m6=j(Ig)`
|
|
1376
|
+
display: inline-flex;
|
|
1377
|
+
justify-content: center;
|
|
1378
|
+
align-items: center;
|
|
1379
|
+
gap: var(--spacing-xxs);
|
|
1380
|
+
text-decoration: none;
|
|
1381
|
+
color: var(--color);
|
|
1382
|
+
|
|
1383
|
+
&:hover ${nm} {
|
|
1384
|
+
background-color: var(--background-color);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
&[data-nature="default"] {
|
|
1388
|
+
--color: var(--color-content-action-action);
|
|
1389
|
+
--background-color: var(--color-content-action-action-lighter);
|
|
1390
|
+
}
|
|
1391
|
+
&[data-nature="informative"] {
|
|
1392
|
+
--color: var(--color-content-message-informative-darker);
|
|
1393
|
+
--background-color: var(--color-content-message-informative-lighter);
|
|
1394
|
+
}
|
|
1395
|
+
&[data-nature="positive"] {
|
|
1396
|
+
--color: var(--color-content-message-positive-darker);
|
|
1397
|
+
--background-color: var(--color-content-message-positive-lighter);
|
|
1398
|
+
}
|
|
1399
|
+
&[data-nature="negative"] {
|
|
1400
|
+
--color: var(--color-content-message-negative-darker);
|
|
1401
|
+
--background-color: var(--color-content-message-negative-lighter);
|
|
1402
|
+
}
|
|
1403
|
+
&[data-nature="warning"] {
|
|
1404
|
+
--color: var(--color-content-message-warning-darker);
|
|
1405
|
+
--background-color: var(--color-content-message-warning-lighter);
|
|
1406
|
+
}
|
|
1407
|
+
`,h6=j(rt)`
|
|
1408
|
+
font-size: ${ee.large};
|
|
1409
|
+
`,v6=({children:e,showLinkIcon:t=!1,nature:r="default",onClick:n,...a})=>g.jsxs(m6,{...a,"data-nature":r,onPress:n,children:[g.jsx(nm,{children:e}),t&&g.jsx(h6,{name:"link"})]});function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(null,arguments)}function cr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function am(e){if(!cr(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=am(e[r])}),t}function ct(e,t,r={clone:!0}){const n=r.clone?Se({},e):e;return cr(e)&&cr(t)&&Object.keys(t).forEach(a=>{cr(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&cr(e[a])?n[a]=ct(e[a],t[a],r):r.clone?n[a]=cr(t[a])?am(t[a]):t[a]:n[a]=t[a]}),n}var Ni={exports:{}},Wn={exports:{}},ne={};/** @license React v16.13.1
|
|
1368
1410
|
* react-is.production.min.js
|
|
1369
1411
|
*
|
|
1370
1412
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1371
1413
|
*
|
|
1372
1414
|
* This source code is licensed under the MIT license found in the
|
|
1373
1415
|
* LICENSE file in the root directory of this source tree.
|
|
1374
|
-
*/var
|
|
1416
|
+
*/var Es;function g6(){if(Es)return ne;Es=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var S=w.$$typeof;switch(S){case t:switch(w=w.type,w){case u:case c:case n:case o:case a:case f:return w;default:switch(w=w&&w.$$typeof,w){case l:case d:case h:case m:case i:return w;default:return S}}case r:return S}}}function E(w){return C(w)===c}return ne.AsyncMode=u,ne.ConcurrentMode=c,ne.ContextConsumer=l,ne.ContextProvider=i,ne.Element=t,ne.ForwardRef=d,ne.Fragment=n,ne.Lazy=h,ne.Memo=m,ne.Portal=r,ne.Profiler=o,ne.StrictMode=a,ne.Suspense=f,ne.isAsyncMode=function(w){return E(w)||C(w)===u},ne.isConcurrentMode=E,ne.isContextConsumer=function(w){return C(w)===l},ne.isContextProvider=function(w){return C(w)===i},ne.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},ne.isForwardRef=function(w){return C(w)===d},ne.isFragment=function(w){return C(w)===n},ne.isLazy=function(w){return C(w)===h},ne.isMemo=function(w){return C(w)===m},ne.isPortal=function(w){return C(w)===r},ne.isProfiler=function(w){return C(w)===o},ne.isStrictMode=function(w){return C(w)===a},ne.isSuspense=function(w){return C(w)===f},ne.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===c||w===o||w===a||w===f||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===h||w.$$typeof===m||w.$$typeof===i||w.$$typeof===l||w.$$typeof===d||w.$$typeof===y||w.$$typeof===k||w.$$typeof===D||w.$$typeof===v)},ne.typeOf=C,ne}var ae={};/** @license React v16.13.1
|
|
1375
1417
|
* react-is.development.js
|
|
1376
1418
|
*
|
|
1377
1419
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1378
1420
|
*
|
|
1379
1421
|
* This source code is licensed under the MIT license found in the
|
|
1380
1422
|
* LICENSE file in the root directory of this source tree.
|
|
1381
|
-
*/var
|
|
1423
|
+
*/var Cs;function b6(){return Cs||(Cs=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function C(L){return typeof L=="string"||typeof L=="function"||L===n||L===c||L===o||L===a||L===f||L===p||typeof L=="object"&&L!==null&&(L.$$typeof===h||L.$$typeof===m||L.$$typeof===i||L.$$typeof===l||L.$$typeof===d||L.$$typeof===y||L.$$typeof===k||L.$$typeof===D||L.$$typeof===v)}function E(L){if(typeof L=="object"&&L!==null){var nt=L.$$typeof;switch(nt){case t:var Tn=L.type;switch(Tn){case u:case c:case n:case o:case a:case f:return Tn;default:var Zl=Tn&&Tn.$$typeof;switch(Zl){case l:case d:case h:case m:case i:return Zl;default:return nt}}case r:return nt}}}var w=u,S=c,F=l,b=i,A=t,P=d,x=n,M=h,R=m,T=r,N=o,O=a,$=f,z=!1;function H(L){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),B(L)||E(L)===u}function B(L){return E(L)===c}function V(L){return E(L)===l}function K(L){return E(L)===i}function W(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function U(L){return E(L)===d}function Q(L){return E(L)===n}function G(L){return E(L)===h}function I(L){return E(L)===m}function _(L){return E(L)===r}function Z(L){return E(L)===o}function q(L){return E(L)===a}function te(L){return E(L)===f}ae.AsyncMode=w,ae.ConcurrentMode=S,ae.ContextConsumer=F,ae.ContextProvider=b,ae.Element=A,ae.ForwardRef=P,ae.Fragment=x,ae.Lazy=M,ae.Memo=R,ae.Portal=T,ae.Profiler=N,ae.StrictMode=O,ae.Suspense=$,ae.isAsyncMode=H,ae.isConcurrentMode=B,ae.isContextConsumer=V,ae.isContextProvider=K,ae.isElement=W,ae.isForwardRef=U,ae.isFragment=Q,ae.isLazy=G,ae.isMemo=I,ae.isPortal=_,ae.isProfiler=Z,ae.isStrictMode=q,ae.isSuspense=te,ae.isValidElementType=C,ae.typeOf=E}()),ae}var Ss;function om(){return Ss||(Ss=1,process.env.NODE_ENV==="production"?Wn.exports=g6():Wn.exports=b6()),Wn.exports}/*
|
|
1382
1424
|
object-assign
|
|
1383
1425
|
(c) Sindre Sorhus
|
|
1384
1426
|
@license MIT
|
|
1385
|
-
*/var
|
|
1386
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
1427
|
+
*/var zo,Ps;function y6(){if(Ps)return zo;Ps=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},l=0;l<10;l++)i["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(d){c[d]=d}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return zo=a()?Object.assign:function(o,i){for(var l,u=n(o),c,d=1;d<arguments.length;d++){l=Object(arguments[d]);for(var f in l)t.call(l,f)&&(u[f]=l[f]);if(e){c=e(l);for(var p=0;p<c.length;p++)r.call(l,c[p])&&(u[c[p]]=l[c[p]])}}return u},zo}var Ho,ks;function Vl(){if(ks)return Ho;ks=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ho=e,Ho}var Zo,Bs;function im(){return Bs||(Bs=1,Zo=Function.call.bind(Object.prototype.hasOwnProperty)),Zo}var Uo,Rs;function $6(){if(Rs)return Uo;Rs=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Vl(),r={},n=im();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,l,u,c){if(process.env.NODE_ENV!=="production"){for(var d in o)if(n(o,d)){var f;try{if(typeof o[d]!="function"){var p=Error((u||"React class")+": "+l+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=o[d](i,d,u,l,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var m=c?c():"";e("Failed "+l+" type: "+f.message+(m??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Uo=a,Uo}var Wo,Ts;function x6(){if(Ts)return Wo;Ts=1;var e=om(),t=y6(),r=Vl(),n=im(),a=$6(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(l){var u="Warning: "+l;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return Wo=function(l,u){var c=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(B){var V=B&&(c&&B[c]||B[d]);if(typeof V=="function")return V}var p="<<anonymous>>",m={array:k("array"),bigint:k("bigint"),bool:k("boolean"),func:k("function"),number:k("number"),object:k("object"),string:k("string"),symbol:k("symbol"),any:D(),arrayOf:C,element:E(),elementType:w(),instanceOf:S,node:P(),objectOf:b,oneOf:F,oneOfType:A,shape:M,exact:R};function h(B,V){return B===V?B!==0||1/B===1/V:B!==B&&V!==V}function v(B,V){this.message=B,this.data=V&&typeof V=="object"?V:{},this.stack=""}v.prototype=Error.prototype;function y(B){if(process.env.NODE_ENV!=="production")var V={},K=0;function W(Q,G,I,_,Z,q,te){if(_=_||p,q=q||I,te!==r){if(u){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var nt=_+":"+I;!V[nt]&&K<3&&(o("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+_+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[nt]=!0,K++)}}return G[I]==null?Q?G[I]===null?new v("The "+Z+" `"+q+"` is marked as required "+("in `"+_+"`, but its value is `null`.")):new v("The "+Z+" `"+q+"` is marked as required in "+("`"+_+"`, but its value is `undefined`.")):null:B(G,I,_,Z,q)}var U=W.bind(null,!1);return U.isRequired=W.bind(null,!0),U}function k(B){function V(K,W,U,Q,G,I){var _=K[W],Z=O(_);if(Z!==B){var q=$(_);return new v("Invalid "+Q+" `"+G+"` of type "+("`"+q+"` supplied to `"+U+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return y(V)}function D(){return y(i)}function C(B){function V(K,W,U,Q,G){if(typeof B!="function")return new v("Property `"+G+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var I=K[W];if(!Array.isArray(I)){var _=O(I);return new v("Invalid "+Q+" `"+G+"` of type "+("`"+_+"` supplied to `"+U+"`, expected an array."))}for(var Z=0;Z<I.length;Z++){var q=B(I,Z,U,Q,G+"["+Z+"]",r);if(q instanceof Error)return q}return null}return y(V)}function E(){function B(V,K,W,U,Q){var G=V[K];if(!l(G)){var I=O(G);return new v("Invalid "+U+" `"+Q+"` of type "+("`"+I+"` supplied to `"+W+"`, expected a single ReactElement."))}return null}return y(B)}function w(){function B(V,K,W,U,Q){var G=V[K];if(!e.isValidElementType(G)){var I=O(G);return new v("Invalid "+U+" `"+Q+"` of type "+("`"+I+"` supplied to `"+W+"`, expected a single ReactElement type."))}return null}return y(B)}function S(B){function V(K,W,U,Q,G){if(!(K[W]instanceof B)){var I=B.name||p,_=H(K[W]);return new v("Invalid "+Q+" `"+G+"` of type "+("`"+_+"` supplied to `"+U+"`, expected ")+("instance of `"+I+"`."))}return null}return y(V)}function F(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function V(K,W,U,Q,G){for(var I=K[W],_=0;_<B.length;_++)if(h(I,B[_]))return null;var Z=JSON.stringify(B,function(te,L){var nt=$(L);return nt==="symbol"?String(L):L});return new v("Invalid "+Q+" `"+G+"` of value `"+String(I)+"` "+("supplied to `"+U+"`, expected one of "+Z+"."))}return y(V)}function b(B){function V(K,W,U,Q,G){if(typeof B!="function")return new v("Property `"+G+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var I=K[W],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+G+"` of type "+("`"+_+"` supplied to `"+U+"`, expected an object."));for(var Z in I)if(n(I,Z)){var q=B(I,Z,U,Q,G+"."+Z,r);if(q instanceof Error)return q}return null}return y(V)}function A(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var V=0;V<B.length;V++){var K=B[V];if(typeof K!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(K)+" at index "+V+"."),i}function W(U,Q,G,I,_){for(var Z=[],q=0;q<B.length;q++){var te=B[q],L=te(U,Q,G,I,_,r);if(L==null)return null;L.data&&n(L.data,"expectedType")&&Z.push(L.data.expectedType)}var nt=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new v("Invalid "+I+" `"+_+"` supplied to "+("`"+G+"`"+nt+"."))}return y(W)}function P(){function B(V,K,W,U,Q){return T(V[K])?null:new v("Invalid "+U+" `"+Q+"` supplied to "+("`"+W+"`, expected a ReactNode."))}return y(B)}function x(B,V,K,W,U){return new v((B||"React class")+": "+V+" type `"+K+"."+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function M(B){function V(K,W,U,Q,G){var I=K[W],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+G+"` of type `"+_+"` "+("supplied to `"+U+"`, expected `object`."));for(var Z in B){var q=B[Z];if(typeof q!="function")return x(U,Q,G,Z,$(q));var te=q(I,Z,U,Q,G+"."+Z,r);if(te)return te}return null}return y(V)}function R(B){function V(K,W,U,Q,G){var I=K[W],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+G+"` of type `"+_+"` "+("supplied to `"+U+"`, expected `object`."));var Z=t({},K[W],B);for(var q in Z){var te=B[q];if(n(B,q)&&typeof te!="function")return x(U,Q,G,q,$(te));if(!te)return new v("Invalid "+Q+" `"+G+"` key `"+q+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(K[W],null," ")+`
|
|
1428
|
+
Valid keys: `+JSON.stringify(Object.keys(B),null," "));var L=te(I,q,U,Q,G+"."+q,r);if(L)return L}return null}return y(V)}function T(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(T);if(B===null||l(B))return!0;var V=f(B);if(V){var K=V.call(B),W;if(V!==B.entries){for(;!(W=K.next()).done;)if(!T(W.value))return!1}else for(;!(W=K.next()).done;){var U=W.value;if(U&&!T(U[1]))return!1}}else return!1;return!0;default:return!1}}function N(B,V){return B==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function O(B){var V=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":N(V,B)?"symbol":V}function $(B){if(typeof B>"u"||B===null)return""+B;var V=O(B);if(V==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return V}function z(B){var V=$(B);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function H(B){return!B.constructor||!B.constructor.name?p:B.constructor.name}return m.checkPropTypes=a,m.resetWarningCache=a.resetWarningCache,m.PropTypes=m,m},Wo}var Go,As;function D6(){if(As)return Go;As=1;var e=Vl();function t(){}function r(){}return r.resetWarningCache=t,Go=function(){function n(i,l,u,c,d,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},Go}if(process.env.NODE_ENV!=="production"){var w6=om(),E6=!0;Ni.exports=x6()(w6.isElement,E6)}else Ni.exports=D6()();var C6=Ni.exports;const Kr=yg(C6);function mn(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const S6=Object.freeze(Object.defineProperty({__proto__:null,default:mn},Symbol.toStringTag,{value:"Module"}));function lm(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":mn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Fs=e=>e,P6=()=>{let e=Fs;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Fs}}},k6=P6(),B6={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function R6(e,t,r="Mui"){const n=B6[t];return n?`${r}-${n}`:`${k6.generate(e)}-${t}`}function T6(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const A6=Object.freeze(Object.defineProperty({__proto__:null,default:T6},Symbol.toStringTag,{value:"Module"}));function Ir(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const F6=["values","unit","step"],M6=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>Se({},r,{[n.key]:n.val}),{})};function I6(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=Ir(e,F6),o=M6(t),i=Object.keys(o);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,m){const h=i.indexOf(m);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(h!==-1&&typeof t[i[h]]=="number"?t[i[h]]:m)-n/100}${r})`}function d(p){return i.indexOf(p)+1<i.length?c(p,i[i.indexOf(p)+1]):l(p)}function f(p){const m=i.indexOf(p);return m===0?l(i[1]):m===i.length-1?u(i[m]):c(p,i[i.indexOf(p)+1]).replace("@media","@media not all and")}return Se({keys:i,values:o,up:l,down:u,between:c,only:d,not:f,unit:r},a)}const O6={borderRadius:4},Mt=process.env.NODE_ENV!=="production"?Kr.oneOfType([Kr.number,Kr.string,Kr.object,Kr.array]):{};function Xr(e,t){return t?ct(e,t,{clone:!1}):e}const Ll={xs:0,sm:600,md:900,lg:1200,xl:1536},Ms={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ll[e]}px)`};function bt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||Ms;return t.reduce((i,l,u)=>(i[o.up(o.keys[u])]=r(t[u]),i),{})}if(typeof t=="object"){const o=n.breakpoints||Ms;return Object.keys(t).reduce((i,l)=>{if(Object.keys(o.values||Ll).indexOf(l)!==-1){const u=o.up(l);i[u]=r(t[l],l)}else{const u=l;i[u]=t[u]}return i},{})}return r(t)}function V6(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function L6(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function ao(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function Pa(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=ao(e,r)||n,t&&(a=t(a,n,e)),a}function be(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=i=>{if(i[t]==null)return null;const l=i[t],u=i.theme,c=ao(u,n)||{};return bt(i,l,f=>{let p=Pa(c,a,f);return f===p&&typeof f=="string"&&(p=Pa(c,a,`${t}${f==="default"?"":lm(f)}`,f)),r===!1?p:{[r]:p}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[t]:Mt}:{},o.filterProps=[t],o}function j6(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const N6={m:"margin",p:"padding"},K6={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Is={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_6=j6(e=>{if(e.length>2)if(Is[e])e=Is[e];else return[e];const[t,r]=e.split(""),n=N6[t],a=K6[r]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),oo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],io=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],z6=[...oo,...io];function Bn(e,t,r,n){var a;const o=(a=ao(e,t,!1))!=null?a:r;return typeof o=="number"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),o*i):Array.isArray(o)?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>o.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${i} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
1387
1429
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
1388
1430
|
`))),o[i]):typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
1389
|
-
`)),()=>{})}function nh(e){return Bn(e,"spacing",8,"spacing")}function Rn(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function F6(e,t){return r=>e.reduce((n,a)=>(n[a]=Rn(t,r),n),{})}function M6(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=T6(r),o=F6(a,n),i=e[r];return bt(e,i,o)}function ah(e,t){const r=nh(e.theme);return Object.keys(e).map(n=>M6(e,t,n,r)).reduce(Xr,{})}function he(e){return ah(e,ao)}he.propTypes=process.env.NODE_ENV!=="production"?ao.reduce((e,t)=>(e[t]=At,e),{}):{};he.filterProps=ao;function me(e){return ah(e,oo)}me.propTypes=process.env.NODE_ENV!=="production"?oo.reduce((e,t)=>(e[t]=At,e),{}):{};me.filterProps=oo;process.env.NODE_ENV!=="production"&&A6.reduce((e,t)=>(e[t]=At,e),{});function I6(e=8){if(e.mui)return e;const t=nh({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" "));return r.mui=!0,r}function io(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?Xr(a,t[o](n)):a,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function He(e){return typeof e!="number"?e:`${e}px solid`}function qe(e,t){return be({prop:e,themeKey:"borders",transform:t})}const O6=qe("border",He),V6=qe("borderTop",He),L6=qe("borderRight",He),j6=qe("borderBottom",He),N6=qe("borderLeft",He),K6=qe("borderColor"),_6=qe("borderTopColor"),z6=qe("borderRightColor"),H6=qe("borderBottomColor"),Z6=qe("borderLeftColor"),U6=qe("outline",He),W6=qe("outlineColor"),lo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Bn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Rn(t,n)});return bt(e,e.borderRadius,r)}return null};lo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:At}:{};lo.filterProps=["borderRadius"];io(O6,V6,L6,j6,N6,K6,_6,z6,H6,Z6,lo,U6,W6);const so=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Bn(e.theme,"spacing",8,"gap"),r=n=>({gap:Rn(t,n)});return bt(e,e.gap,r)}return null};so.propTypes=process.env.NODE_ENV!=="production"?{gap:At}:{};so.filterProps=["gap"];const uo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Bn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Rn(t,n)});return bt(e,e.columnGap,r)}return null};uo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:At}:{};uo.filterProps=["columnGap"];const co=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Bn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Rn(t,n)});return bt(e,e.rowGap,r)}return null};co.propTypes=process.env.NODE_ENV!=="production"?{rowGap:At}:{};co.filterProps=["rowGap"];const G6=be({prop:"gridColumn"}),q6=be({prop:"gridRow"}),Y6=be({prop:"gridAutoFlow"}),J6=be({prop:"gridAutoColumns"}),Q6=be({prop:"gridAutoRows"}),X6=be({prop:"gridTemplateColumns"}),ex=be({prop:"gridTemplateRows"}),tx=be({prop:"gridTemplateAreas"}),rx=be({prop:"gridArea"});io(so,uo,co,G6,q6,Y6,J6,Q6,X6,ex,tx,rx);function xr(e,t){return t==="grey"?t:e}const nx=be({prop:"color",themeKey:"palette",transform:xr}),ax=be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xr}),ox=be({prop:"backgroundColor",themeKey:"palette",transform:xr});io(nx,ax,ox);function Le(e){return e<=1&&e!==0?`${e*100}%`:e}const ix=be({prop:"width",transform:Le}),Ll=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Vl[r];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Le(r)}};return bt(e,e.maxWidth,t)}return null};Ll.filterProps=["maxWidth"];const lx=be({prop:"minWidth",transform:Le}),sx=be({prop:"height",transform:Le}),ux=be({prop:"maxHeight",transform:Le}),cx=be({prop:"minHeight",transform:Le});be({prop:"size",cssProperty:"width",transform:Le});be({prop:"size",cssProperty:"height",transform:Le});const dx=be({prop:"boxSizing"});io(ix,Ll,lx,sx,ux,cx,dx);const jl={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:lo},color:{themeKey:"palette",transform:xr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xr},backgroundColor:{themeKey:"palette",transform:xr},p:{style:me},pt:{style:me},pr:{style:me},pb:{style:me},pl:{style:me},px:{style:me},py:{style:me},padding:{style:me},paddingTop:{style:me},paddingRight:{style:me},paddingBottom:{style:me},paddingLeft:{style:me},paddingX:{style:me},paddingY:{style:me},paddingInline:{style:me},paddingInlineStart:{style:me},paddingInlineEnd:{style:me},paddingBlock:{style:me},paddingBlockStart:{style:me},paddingBlockEnd:{style:me},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:so},rowGap:{style:co},columnGap:{style:uo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Le},maxWidth:{style:Ll},minWidth:{transform:Le},height:{transform:Le},maxHeight:{transform:Le},minHeight:{transform:Le},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function fx(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function px(e,t){return typeof e=="function"?e(t):e}function hx(){function e(r,n,a,o){const i={[r]:n,theme:a},l=o[r];if(!l)return{[r]:n};const{cssProperty:s=r,themeKey:c,transform:d,style:f}=l;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=no(a,c)||{};return f?f(i):bt(i,n,m=>{let v=Pa(p,d,m);return m===v&&typeof m=="string"&&(v=Pa(p,d,`${r}${m==="default"?"":rh(m)}`,m)),s===!1?v:{[s]:v}})}function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=(n=o.unstable_sxConfig)!=null?n:jl;function l(s){let c=s;if(typeof s=="function")c=s(o);else if(typeof s!="object")return s;if(!c)return null;const d=S6(o.breakpoints),f=Object.keys(d);let p=d;return Object.keys(c).forEach(h=>{const m=px(c[h],o);if(m!=null)if(typeof m=="object")if(i[h])p=Xr(p,e(h,m,o,i));else{const v=bt({theme:o},m,$=>({[h]:$}));fx(v,m)?p[h]=t({sx:m,theme:o}):p=Xr(p,v)}else p=Xr(p,e(h,m,o,i))}),P6(f,p)}return Array.isArray(a)?a.map(l):l(a)}return t}const Nl=hx();Nl.filterProps=["sx"];function mx(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const vx=["breakpoints","palette","spacing","shape"];function gx(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=Ir(e,vx),l=E6(r),s=I6(a);let c=st({breakpoints:l,direction:"ltr",components:{},palette:Ee({mode:"light"},n),spacing:s,shape:Ee({},C6,o)},i);return c.applyStyles=mx,c=t.reduce((d,f)=>st(d,f),c),c.unstable_sxConfig=Ee({},jl,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(f){return Nl({sx:f,theme:this})},c}function bx(e,t){return Ee({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var ye={},oh={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(oh);var yx=oh.exports;const $x=C1(m6),xx=C1(x6);var ih=yx;Object.defineProperty(ye,"__esModule",{value:!0});ye.alpha=ch;ye.blend=Fx;ye.colorChannel=void 0;var Dx=ye.darken=_l;ye.decomposeColor=Ge;ye.emphasize=dh;var Iu=ye.getContrastRatio=kx;ye.getLuminance=ka;ye.hexToRgb=lh;ye.hslToRgb=uh;var wx=ye.lighten=zl;ye.private_safeAlpha=Bx;ye.private_safeColorChannel=void 0;ye.private_safeDarken=Rx;ye.private_safeEmphasize=Ax;ye.private_safeLighten=Tx;ye.recomposeColor=Or;ye.rgbToHex=Px;var Ou=ih($x),Ex=ih(xx);function Kl(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,Ex.default)(e,t,r)}function lh(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Cx(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ge(e){if(e.type)return e;if(e.charAt(0)==="#")return Ge(lh(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
1390
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,
|
|
1391
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,
|
|
1392
|
-
`))}return
|
|
1393
|
-
The color object needs to have a \`main\` property or a \`${
|
|
1431
|
+
`)),()=>{})}function um(e){return Bn(e,"spacing",8,"spacing")}function Rn(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function H6(e,t){return r=>e.reduce((n,a)=>(n[a]=Rn(t,r),n),{})}function Z6(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=_6(r),o=H6(a,n),i=e[r];return bt(e,i,o)}function sm(e,t){const r=um(e.theme);return Object.keys(e).map(n=>Z6(e,t,n,r)).reduce(Xr,{})}function me(e){return sm(e,oo)}me.propTypes=process.env.NODE_ENV!=="production"?oo.reduce((e,t)=>(e[t]=Mt,e),{}):{};me.filterProps=oo;function he(e){return sm(e,io)}he.propTypes=process.env.NODE_ENV!=="production"?io.reduce((e,t)=>(e[t]=Mt,e),{}):{};he.filterProps=io;process.env.NODE_ENV!=="production"&&z6.reduce((e,t)=>(e[t]=Mt,e),{});function U6(e=8){if(e.mui)return e;const t=um({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" "));return r.mui=!0,r}function lo(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?Xr(a,t[o](n)):a,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function He(e){return typeof e!="number"?e:`${e}px solid`}function qe(e,t){return be({prop:e,themeKey:"borders",transform:t})}const W6=qe("border",He),G6=qe("borderTop",He),q6=qe("borderRight",He),Y6=qe("borderBottom",He),J6=qe("borderLeft",He),Q6=qe("borderColor"),X6=qe("borderTopColor"),ex=qe("borderRightColor"),tx=qe("borderBottomColor"),rx=qe("borderLeftColor"),nx=qe("outline",He),ax=qe("outlineColor"),uo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Bn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Rn(t,n)});return bt(e,e.borderRadius,r)}return null};uo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Mt}:{};uo.filterProps=["borderRadius"];lo(W6,G6,q6,Y6,J6,Q6,X6,ex,tx,rx,uo,nx,ax);const so=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Bn(e.theme,"spacing",8,"gap"),r=n=>({gap:Rn(t,n)});return bt(e,e.gap,r)}return null};so.propTypes=process.env.NODE_ENV!=="production"?{gap:Mt}:{};so.filterProps=["gap"];const co=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Bn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Rn(t,n)});return bt(e,e.columnGap,r)}return null};co.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Mt}:{};co.filterProps=["columnGap"];const fo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Bn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Rn(t,n)});return bt(e,e.rowGap,r)}return null};fo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Mt}:{};fo.filterProps=["rowGap"];const ox=be({prop:"gridColumn"}),ix=be({prop:"gridRow"}),lx=be({prop:"gridAutoFlow"}),ux=be({prop:"gridAutoColumns"}),sx=be({prop:"gridAutoRows"}),cx=be({prop:"gridTemplateColumns"}),dx=be({prop:"gridTemplateRows"}),fx=be({prop:"gridTemplateAreas"}),px=be({prop:"gridArea"});lo(so,co,fo,ox,ix,lx,ux,sx,cx,dx,fx,px);function xr(e,t){return t==="grey"?t:e}const mx=be({prop:"color",themeKey:"palette",transform:xr}),hx=be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xr}),vx=be({prop:"backgroundColor",themeKey:"palette",transform:xr});lo(mx,hx,vx);function Le(e){return e<=1&&e!==0?`${e*100}%`:e}const gx=be({prop:"width",transform:Le}),jl=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Ll[r];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Le(r)}};return bt(e,e.maxWidth,t)}return null};jl.filterProps=["maxWidth"];const bx=be({prop:"minWidth",transform:Le}),yx=be({prop:"height",transform:Le}),$x=be({prop:"maxHeight",transform:Le}),xx=be({prop:"minHeight",transform:Le});be({prop:"size",cssProperty:"width",transform:Le});be({prop:"size",cssProperty:"height",transform:Le});const Dx=be({prop:"boxSizing"});lo(gx,jl,bx,yx,$x,xx,Dx);const Nl={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uo},color:{themeKey:"palette",transform:xr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xr},backgroundColor:{themeKey:"palette",transform:xr},p:{style:he},pt:{style:he},pr:{style:he},pb:{style:he},pl:{style:he},px:{style:he},py:{style:he},padding:{style:he},paddingTop:{style:he},paddingRight:{style:he},paddingBottom:{style:he},paddingLeft:{style:he},paddingX:{style:he},paddingY:{style:he},paddingInline:{style:he},paddingInlineStart:{style:he},paddingInlineEnd:{style:he},paddingBlock:{style:he},paddingBlockStart:{style:he},paddingBlockEnd:{style:he},m:{style:me},mt:{style:me},mr:{style:me},mb:{style:me},ml:{style:me},mx:{style:me},my:{style:me},margin:{style:me},marginTop:{style:me},marginRight:{style:me},marginBottom:{style:me},marginLeft:{style:me},marginX:{style:me},marginY:{style:me},marginInline:{style:me},marginInlineStart:{style:me},marginInlineEnd:{style:me},marginBlock:{style:me},marginBlockStart:{style:me},marginBlockEnd:{style:me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:so},rowGap:{style:fo},columnGap:{style:co},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Le},maxWidth:{style:jl},minWidth:{transform:Le},height:{transform:Le},maxHeight:{transform:Le},minHeight:{transform:Le},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function wx(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ex(e,t){return typeof e=="function"?e(t):e}function Cx(){function e(r,n,a,o){const i={[r]:n,theme:a},l=o[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:d,style:f}=l;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=ao(a,c)||{};return f?f(i):bt(i,n,h=>{let v=Pa(p,d,h);return h===v&&typeof h=="string"&&(v=Pa(p,d,`${r}${h==="default"?"":lm(h)}`,h)),u===!1?v:{[u]:v}})}function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=(n=o.unstable_sxConfig)!=null?n:Nl;function l(u){let c=u;if(typeof u=="function")c=u(o);else if(typeof u!="object")return u;if(!c)return null;const d=V6(o.breakpoints),f=Object.keys(d);let p=d;return Object.keys(c).forEach(m=>{const h=Ex(c[m],o);if(h!=null)if(typeof h=="object")if(i[m])p=Xr(p,e(m,h,o,i));else{const v=bt({theme:o},h,y=>({[m]:y}));wx(v,h)?p[m]=t({sx:h,theme:o}):p=Xr(p,v)}else p=Xr(p,e(m,h,o,i))}),L6(f,p)}return Array.isArray(a)?a.map(l):l(a)}return t}const Kl=Cx();Kl.filterProps=["sx"];function Sx(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Px=["breakpoints","palette","spacing","shape"];function kx(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=Ir(e,Px),l=I6(r),u=U6(a);let c=ct({breakpoints:l,direction:"ltr",components:{},palette:Se({mode:"light"},n),spacing:u,shape:Se({},O6,o)},i);return c.applyStyles=Sx,c=t.reduce((d,f)=>ct(d,f),c),c.unstable_sxConfig=Se({},Nl,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(f){return Kl({sx:f,theme:this})},c}function Bx(e,t){return Se({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var ye={},cm={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(cm);var Rx=cm.exports;const Tx=B1(S6),Ax=B1(A6);var dm=Rx;Object.defineProperty(ye,"__esModule",{value:!0});ye.alpha=hm;ye.blend=Hx;ye.colorChannel=void 0;var Fx=ye.darken=zl;ye.decomposeColor=Ge;ye.emphasize=vm;var Os=ye.getContrastRatio=jx;ye.getLuminance=ka;ye.hexToRgb=fm;ye.hslToRgb=mm;var Mx=ye.lighten=Hl;ye.private_safeAlpha=Nx;ye.private_safeColorChannel=void 0;ye.private_safeDarken=Kx;ye.private_safeEmphasize=zx;ye.private_safeLighten=_x;ye.recomposeColor=Or;ye.rgbToHex=Lx;var Vs=dm(Tx),Ix=dm(Ax);function _l(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,Ix.default)(e,t,r)}function fm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ox(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ge(e){if(e.type)return e;if(e.charAt(0)==="#")return Ge(fm(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
1432
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Vs.default)(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
|
|
1433
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Vs.default)(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:a}}const pm=e=>{const t=Ge(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};ye.colorChannel=pm;const Vx=(e,t)=>{try{return pm(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};ye.private_safeColorChannel=Vx;function Or(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,o)=>o<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Lx(e){if(e.indexOf("#")===0)return e;const{values:t}=Ge(e);return`#${t.map((r,n)=>Ox(n===3?Math.round(255*r):r)).join("")}`}function mm(e){e=Ge(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),i=(c,d=(c+r/30)%12)=>a-o*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),Or({type:l,values:u})}function ka(e){e=Ge(e);let t=e.type==="hsl"||e.type==="hsla"?Ge(mm(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function jx(e,t){const r=ka(e),n=ka(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function hm(e,t){return e=Ge(e),t=_l(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Or(e)}function Nx(e,t,r){try{return hm(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function zl(e,t){if(e=Ge(e),t=_l(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Or(e)}function Kx(e,t,r){try{return zl(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Hl(e,t){if(e=Ge(e),t=_l(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Or(e)}function _x(e,t,r){try{return Hl(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function vm(e,t=.15){return ka(e)>.5?zl(e,t):Hl(e,t)}function zx(e,t,r){try{return vm(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Hx(e,t,r,n=1){const a=(u,c)=>Math.round((u**(1/n)*(1-r)+c**(1/n)*r)**n),o=Ge(e),i=Ge(t),l=[a(o.values[0],i.values[0]),a(o.values[1],i.values[1]),a(o.values[2],i.values[2])];return Or({type:"rgb",values:l})}const hn={black:"#000",white:"#fff"},Zx={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},nr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ar={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},_r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},or={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ir={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},lr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ux=["mode","contrastThreshold","tonalOffset"],Ls={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:hn.white,default:hn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},qo={text:{primary:hn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:hn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function js(e,t,r,n){const a=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Mx(e.main,a):t==="dark"&&(e.dark=Fx(e.main,o)))}function Wx(e="light"){return e==="dark"?{main:or[200],light:or[50],dark:or[400]}:{main:or[700],light:or[400],dark:or[800]}}function Gx(e="light"){return e==="dark"?{main:nr[200],light:nr[50],dark:nr[400]}:{main:nr[500],light:nr[300],dark:nr[700]}}function qx(e="light"){return e==="dark"?{main:ar[500],light:ar[300],dark:ar[700]}:{main:ar[700],light:ar[400],dark:ar[800]}}function Yx(e="light"){return e==="dark"?{main:ir[400],light:ir[300],dark:ir[700]}:{main:ir[700],light:ir[500],dark:ir[900]}}function Jx(e="light"){return e==="dark"?{main:lr[400],light:lr[300],dark:lr[700]}:{main:lr[800],light:lr[500],dark:lr[900]}}function Qx(e="light"){return e==="dark"?{main:_r[400],light:_r[300],dark:_r[700]}:{main:"#ed6c02",light:_r[500],dark:_r[900]}}function Xx(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=Ir(e,Ux),o=e.primary||Wx(t),i=e.secondary||Gx(t),l=e.error||qx(t),u=e.info||Yx(t),c=e.success||Jx(t),d=e.warning||Qx(t);function f(v){const y=Os(v,qo.text.primary)>=r?qo.text.primary:Ls.text.primary;if(process.env.NODE_ENV!=="production"){const k=Os(v,y);k<3&&console.error([`MUI: The contrast ratio of ${k}:1 for ${y} on ${v}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
1434
|
+
`))}return y}const p=({color:v,name:y,mainShade:k=500,lightShade:D=300,darkShade:C=700})=>{if(v=Se({},v),!v.main&&v[k]&&(v.main=v[k]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
1435
|
+
The color object needs to have a \`main\` property or a \`${k}\` property.`:mn(11,y?` (${y})`:"",k));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
1394
1436
|
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
1395
1437
|
|
|
1396
1438
|
Did you intend to use one of the following approaches?
|
|
@@ -1403,6 +1445,6 @@ const theme1 = createTheme({ palette: {
|
|
|
1403
1445
|
|
|
1404
1446
|
const theme2 = createTheme({ palette: {
|
|
1405
1447
|
primary: { main: green[500] },
|
|
1406
|
-
} });`:
|
|
1407
|
-
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:
|
|
1408
|
-
`))}p[
|
|
1448
|
+
} });`:mn(12,y?` (${y})`:"",JSON.stringify(v.main)));return js(v,"light",D,n),js(v,"dark",C,n),v.contrastText||(v.contrastText=f(v.main)),v},m={dark:qo,light:Ls};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ct(Se({common:Se({},hn),mode:t,primary:p({color:o,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:Zx,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},m[t]),a)}const e7=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function t7(e){return Math.round(e*1e5)/1e5}const Ns={textTransform:"uppercase"},Ks='"Roboto", "Helvetica", "Arial", sans-serif';function r7(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Ks,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:d,pxToRem:f}=r,p=Ir(r,e7);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=a/14,h=f||(k=>`${k/c*m}rem`),v=(k,D,C,E,w)=>Se({fontFamily:n,fontWeight:k,fontSize:h(D),lineHeight:C},n===Ks?{letterSpacing:`${t7(E/D)}em`}:{},w,d),y={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(l,14,1.75,.4,Ns),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,Ns),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ct(Se({htmlFontSize:c,pxToRem:h,fontFamily:n,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:u},y),p,{clone:!1})}const n7=.2,a7=.14,o7=.12;function fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${n7})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${a7})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${o7})`].join(",")}const i7=["none",fe(0,2,1,-1,0,1,1,0,0,1,3,0),fe(0,3,1,-2,0,2,2,0,0,1,5,0),fe(0,3,3,-2,0,3,4,0,0,1,8,0),fe(0,2,4,-1,0,4,5,0,0,1,10,0),fe(0,3,5,-1,0,5,8,0,0,1,14,0),fe(0,3,5,-1,0,6,10,0,0,1,18,0),fe(0,4,5,-2,0,7,10,1,0,2,16,1),fe(0,5,5,-3,0,8,10,1,0,3,14,2),fe(0,5,6,-3,0,9,12,1,0,3,16,2),fe(0,6,6,-3,0,10,14,1,0,4,18,3),fe(0,6,7,-4,0,11,15,1,0,4,20,3),fe(0,7,8,-4,0,12,17,2,0,5,22,4),fe(0,7,8,-4,0,13,19,2,0,5,24,4),fe(0,7,9,-4,0,14,21,2,0,5,26,4),fe(0,8,9,-5,0,15,22,2,0,6,28,5),fe(0,8,10,-5,0,16,24,2,0,6,30,5),fe(0,8,11,-5,0,17,26,2,0,6,32,5),fe(0,9,11,-5,0,18,28,2,0,7,34,6),fe(0,9,12,-6,0,19,29,2,0,7,36,6),fe(0,10,13,-6,0,20,31,3,0,8,38,7),fe(0,10,13,-6,0,21,33,3,0,8,40,7),fe(0,10,14,-6,0,22,35,3,0,8,42,7),fe(0,11,14,-7,0,23,36,3,0,9,44,8),fe(0,11,15,-7,0,24,38,3,0,9,46,8)],l7=["duration","easing","delay"],u7={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s7={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _s(e){return`${Math.round(e)}ms`}function c7(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function d7(e){const t=Se({},u7,e.easing),r=Se({},s7,e.duration);return Se({getAutoHeightDuration:c7,create:(a=["all"],o={})=>{const{duration:i=r.standard,easing:l=t.easeInOut,delay:u=0}=o,c=Ir(o,l7);if(process.env.NODE_ENV!=="production"){const d=p=>typeof p=="string",f=p=>!isNaN(parseFloat(p));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(l)||console.error('MUI: Argument "easing" must be a string.'),!f(u)&&!d(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
1449
|
+
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:_s(i)} ${l} ${typeof u=="string"?u:_s(u)}`).join(",")}},e,{easing:t,duration:r})}const f7={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},p7=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function m7(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:o={}}=e,i=Ir(e,p7);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":mn(18));const l=Xx(n),u=kx(e);let c=ct(u,{mixins:Bx(u.breakpoints,r),palette:l,shadows:i7.slice(),typography:r7(l,o),transitions:d7(a),zIndex:Se({},f7)});if(c=ct(c,i),c=t.reduce((d,f)=>ct(d,f),c),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(p,m)=>{let h;for(h in p){const v=p[h];if(d.indexOf(h)!==-1&&Object.keys(v).length>0){if(process.env.NODE_ENV!=="production"){const y=R6("",h);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${h}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:v}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
1450
|
+
`))}p[h]={}}}};Object.keys(c.components).forEach(p=>{const m=c.components[p].styleOverrides;m&&p.indexOf("Mui")===0&&f(m,p)})}return c.unstable_sxConfig=Se({},Nl,i==null?void 0:i.unstable_sxConfig),c.unstable_sx=function(f){return Kl({sx:f,theme:this})},c}const h7={palette:{primary:{main:de.color.content.action.action,light:de.color.content.action.actionLighter,dark:de.color.content.action.actionDarker,contrastText:de.color.content.neutral.primaryReversed},info:{main:de.color.content.message.informative,light:de.color.content.message.informativeLighter,dark:de.color.content.message.informativeDarker,contrastText:de.color.content.neutral.primaryReversed},secondary:{main:de.color.content.message.informative,light:de.color.content.message.informativeLighter,dark:de.color.content.message.informativeDarker,contrastText:de.color.content.neutral.primaryReversed},error:{main:de.color.content.message.negative,light:de.color.content.message.negativeLighter,dark:de.color.content.message.negativeDarker,contrastText:de.color.content.neutral.primaryReversed},success:{main:de.color.content.message.positive,light:de.color.content.message.positiveLighter,dark:de.color.content.message.positiveDarker,contrastText:de.color.content.neutral.primaryReversed},warning:{main:de.color.content.message.warning,light:de.color.content.message.warningLighter,dark:de.color.content.message.warningDarker,contrastText:de.color.content.neutral.primaryReversed}},typography:{fontFamily:["EDF2020","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue"].join(",")},components:{MuiButtonBase:{defaultProps:{disableRipple:!0}}}};function gm(e){const t=ct(h7,e||{});return m7(t)}gm();const v7=({children:e,...t})=>g.jsx(Hm,{...t,children:e});exports.Badge=Up;exports.Button=Ze;exports.Checkbox=Wp;exports.CheckboxGroup=Z2;exports.DataTable=j$;exports.DataTableCell=u$;exports.DataTableHeader=a$;exports.DataTableRoot=Xp;exports.DataTableRow=qp;exports.DatePicker=Y$;exports.DateRangePicker=r6;exports.Drawer=e$;exports.Dropdown=N$;exports.I18nProvider=Vh;exports.Icon=rt;exports.Link=v6;exports.Pagination=Qp;exports.Radio=p6;exports.RouterProvider=v7;exports.Select=Vi;exports.SelectItem=ji;exports.Tag=N2;exports.TextInput=l6;exports.createMuiTheme=gm;exports.fontSize=ee;exports.lineHeight=ue;exports.tokens=de;
|