@theroutingcompany/components 0.0.19 → 0.0.20-alpha.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/trc-components.es.js +6818 -8098
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +321 -421
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/types/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/types/components/Page/Page.d.ts +1 -1
- package/types/components/SingleSelect/SingleSelect.d.ts +5 -3
- package/types/components/index.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(z,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],l):(z=typeof globalThis<"u"?globalThis:z||self,l(z["trc-components"]={},z.React,z.ReactDOM,z.styled,z.ReactIs,z.icons))})(this,function(z,l,
|
|
1
|
+
(function(z,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("react-dom"),require("styled-components"),require("react-is"),require("@material-ui/icons")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","styled-components","react-is","@material-ui/icons"],l):(z=typeof globalThis<"u"?globalThis:z||self,l(z["trc-components"]={},z.React,z.ReactDOM,z.styled,z.ReactIs,z.icons))})(this,function(z,l,ze,C,ir,ke){"use strict";function cc(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 H=cc(l),dc=cc(ze);function I$(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var a=Function.bind.apply(t,o);return new a}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var jr={},A$={get exports(){return jr},set exports(e){jr=e}},Vr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.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 uc;function M$(){if(uc)return Vr;uc=1;var e=l,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,c,u){var d,f={},p=null,m=null;u!==void 0&&(p=""+u),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(m=c.ref);for(d in c)n.call(c,d)&&!a.hasOwnProperty(d)&&(f[d]=c[d]);if(s&&s.defaultProps)for(d in c=s.defaultProps,c)f[d]===void 0&&(f[d]=c[d]);return{$$typeof:t,type:s,key:p,ref:m,props:f,_owner:o.current}}return Vr.Fragment=r,Vr.jsx=i,Vr.jsxs=i,Vr}var Br={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,18 +14,18 @@
|
|
|
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
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var fc;function N$(){return fc||(fc=1,process.env.NODE_ENV!=="production"&&function(){var e=l,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=Symbol.iterator,g="@@iterator";function v(E){if(E===null||typeof E!="object")return null;var B=b&&E[b]||E[g];return typeof B=="function"?B:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(E){{for(var B=arguments.length,Y=new Array(B>1?B-1:0),ae=1;ae<B;ae++)Y[ae-1]=arguments[ae];_("error",E,Y)}}function _(E,B,Y){{var ae=$.ReactDebugCurrentFrame,pe=ae.getStackAddendum();pe!==""&&(B+="%s",Y=Y.concat([pe]));var be=Y.map(function(fe){return String(fe)});be.unshift("Warning: "+B),Function.prototype.apply.call(console[E],console,be)}}var y=!1,M=!1,F=!1,P=!1,w=!1,O;O=Symbol.for("react.module.reference");function K(E){return!!(typeof E=="string"||typeof E=="function"||E===n||E===a||w||E===o||E===u||E===d||P||E===m||y||M||F||typeof E=="object"&&E!==null&&(E.$$typeof===p||E.$$typeof===f||E.$$typeof===i||E.$$typeof===s||E.$$typeof===c||E.$$typeof===O||E.getModuleId!==void 0))}function k(E,B,Y){var ae=E.displayName;if(ae)return ae;var pe=B.displayName||B.name||"";return pe!==""?Y+"("+pe+")":Y}function j(E){return E.displayName||"Context"}function S(E){if(E==null)return null;if(typeof E.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof E=="object")switch(E.$$typeof){case s:var B=E;return j(B)+".Consumer";case i:var Y=E;return j(Y._context)+".Provider";case c:return k(E,E.render,"ForwardRef");case f:var ae=E.displayName||null;return ae!==null?ae:S(E.type)||"Memo";case p:{var pe=E,be=pe._payload,fe=pe._init;try{return S(fe(be))}catch{return null}}}return null}var I=Object.assign,J=0,se,W,ee,V,N,A,R;function G(){}G.__reactDisabledLog=!0;function q(){{if(J===0){se=console.log,W=console.info,ee=console.warn,V=console.error,N=console.group,A=console.groupCollapsed,R=console.groupEnd;var E={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:E,log:E,warn:E,error:E,group:E,groupCollapsed:E,groupEnd:E})}J++}}function oe(){{if(J--,J===0){var E={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},E,{value:se}),info:I({},E,{value:W}),warn:I({},E,{value:ee}),error:I({},E,{value:V}),group:I({},E,{value:N}),groupCollapsed:I({},E,{value:A}),groupEnd:I({},E,{value:R})})}J<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=$.ReactCurrentDispatcher,Z;function Q(E,B,Y){{if(Z===void 0)try{throw Error()}catch(pe){var ae=pe.stack.trim().match(/\n( *(at )?)/);Z=ae&&ae[1]||""}return`
|
|
18
|
+
`+Z+E}}var X=!1,ne;{var _e=typeof WeakMap=="function"?WeakMap:Map;ne=new _e}function ue(E,B){if(!E||X)return"";{var Y=ne.get(E);if(Y!==void 0)return Y}var ae;X=!0;var pe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var be;be=te.current,te.current=null,q();try{if(B){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(Pt){ae=Pt}Reflect.construct(E,[],fe)}else{try{fe.call()}catch(Pt){ae=Pt}E.call(fe.prototype)}}else{try{throw Error()}catch(Pt){ae=Pt}E()}}catch(Pt){if(Pt&&ae&&typeof Pt.stack=="string"){for(var ce=Pt.stack.split(`
|
|
19
|
+
`),je=ae.stack.split(`
|
|
20
|
+
`),De=ce.length-1,Te=je.length-1;De>=1&&Te>=0&&ce[De]!==je[Te];)Te--;for(;De>=1&&Te>=0;De--,Te--)if(ce[De]!==je[Te]){if(De!==1||Te!==1)do if(De--,Te--,Te<0||ce[De]!==je[Te]){var Je=`
|
|
21
|
+
`+ce[De].replace(" at new "," at ");return E.displayName&&Je.includes("<anonymous>")&&(Je=Je.replace("<anonymous>",E.displayName)),typeof E=="function"&&ne.set(E,Je),Je}while(De>=1&&Te>=0);break}}}finally{X=!1,te.current=be,oe(),Error.prepareStackTrace=pe}var Kr=E?E.displayName||E.name:"",O$=Kr?Q(Kr):"";return typeof E=="function"&&ne.set(E,O$),O$}function Ne(E,B,Y){return ue(E,!1)}function Et(E){var B=E.prototype;return!!(B&&B.isReactComponent)}function qe(E,B,Y){if(E==null)return"";if(typeof E=="function")return ue(E,Et(E));if(typeof E=="string")return Q(E);switch(E){case u:return Q("Suspense");case d:return Q("SuspenseList")}if(typeof E=="object")switch(E.$$typeof){case c:return Ne(E.render);case f:return qe(E.type,B,Y);case p:{var ae=E,pe=ae._payload,be=ae._init;try{return qe(be(pe),B,Y)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Ze={},Fe=$.ReactDebugCurrentFrame;function he(E){if(E){var B=E._owner,Y=qe(E.type,E._source,B?B.type:null);Fe.setExtraStackFrame(Y)}else Fe.setExtraStackFrame(null)}function we(E,B,Y,ae,pe){{var be=Function.call.bind(Ue);for(var fe in E)if(be(E,fe)){var ce=void 0;try{if(typeof E[fe]!="function"){var je=Error((ae||"React class")+": "+Y+" type `"+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof E[fe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}ce=E[fe](B,fe,ae,Y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(De){ce=De}ce&&!(ce instanceof Error)&&(he(pe),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ae||"React class",Y,fe,typeof ce),he(null)),ce instanceof Error&&!(ce.message in Ze)&&(Ze[ce.message]=!0,he(pe),x("Failed %s type: %s",Y,ce.message),he(null))}}}var Xe=Array.isArray;function ye(E){return Xe(E)}function Ie(E){{var B=typeof Symbol=="function"&&Symbol.toStringTag,Y=B&&E[Symbol.toStringTag]||E.constructor.name||"Object";return Y}}function ar(E){try{return x$(E),!1}catch{return!0}}function x$(E){return""+E}function _$(E){if(ar(E))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ie(E)),x$(E)}var Sn=$.ReactCurrentOwner,B2={key:!0,ref:!0,__self:!0,__source:!0},w$,E$,ac;ac={};function R2(E){if(Ue.call(E,"ref")){var B=Object.getOwnPropertyDescriptor(E,"ref").get;if(B&&B.isReactWarning)return!1}return E.ref!==void 0}function W2(E){if(Ue.call(E,"key")){var B=Object.getOwnPropertyDescriptor(E,"key").get;if(B&&B.isReactWarning)return!1}return E.key!==void 0}function U2(E,B){if(typeof E.ref=="string"&&Sn.current&&B&&Sn.current.stateNode!==B){var Y=S(Sn.current.type);ac[Y]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(Sn.current.type),E.ref),ac[Y]=!0)}}function H2(E,B){{var Y=function(){w$||(w$=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};Y.isReactWarning=!0,Object.defineProperty(E,"key",{get:Y,configurable:!0})}}function G2(E,B){{var Y=function(){E$||(E$=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};Y.isReactWarning=!0,Object.defineProperty(E,"ref",{get:Y,configurable:!0})}}var Y2=function(E,B,Y,ae,pe,be,fe){var ce={$$typeof:t,type:E,key:B,ref:Y,props:fe,_owner:be};return ce._store={},Object.defineProperty(ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.defineProperty(ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.freeze&&(Object.freeze(ce.props),Object.freeze(ce)),ce};function q2(E,B,Y,ae,pe){{var be,fe={},ce=null,je=null;Y!==void 0&&(_$(Y),ce=""+Y),W2(B)&&(_$(B.key),ce=""+B.key),R2(B)&&(je=B.ref,U2(B,pe));for(be in B)Ue.call(B,be)&&!B2.hasOwnProperty(be)&&(fe[be]=B[be]);if(E&&E.defaultProps){var De=E.defaultProps;for(be in De)fe[be]===void 0&&(fe[be]=De[be])}if(ce||je){var Te=typeof E=="function"?E.displayName||E.name||"Unknown":E;ce&&H2(fe,Te),je&&G2(fe,Te)}return Y2(E,ce,je,pe,ae,Sn.current,fe)}}var ic=$.ReactCurrentOwner,P$=$.ReactDebugCurrentFrame;function Lr(E){if(E){var B=E._owner,Y=qe(E.type,E._source,B?B.type:null);P$.setExtraStackFrame(Y)}else P$.setExtraStackFrame(null)}var sc;sc=!1;function lc(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function D$(){{if(ic.current){var E=S(ic.current.type);if(E)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+E+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+E+"`."}return""}}function Z2(E){{if(E!==void 0){var B=E.fileName.replace(/^.*[\\\/]/,""),Y=E.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+B+":"+Y+"."}return""}}var S$={};function X2(E){{var B=D$();if(!B){var Y=typeof E=="string"?E:E.displayName||E.name;Y&&(B=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if(!E._store||E._store.validated||E.key!=null)return;E._store.validated=!0;var ee=$A(U);if(g1[ee])return;g1[ee]=!0;var ce="";E&&E._owner&&E._owner!==wc.current&&(ce=" It was passed a child from "+D(E._owner.type)+"."),Ur(E),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ee,ce),Ur(null)}}function $1(E,U){{if(typeof E!="object")return;if(he(E))for(var ee=0;ee<E.length;ee++){var ce=E[ee];Ec(ce)&&v1(ce,U)}else if(Ec(E))E._store&&(E._store.validated=!0);else if(E){var be=v(E);if(typeof be=="function"&&be!==E.entries)for(var we=be.call(E),me;!(me=we.next()).done;)Ec(me.value)&&v1(me.value,U)}}}function yA(E){{var U=E.type;if(U==null||typeof U=="string")return;var ee;if(typeof U=="function")ee=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===c||U.$$typeof===f))ee=U.propTypes;else return;if(ee){var ce=D(U);xe(ee,E.props,"prop",ce,E)}else if(U.PropTypes!==void 0&&!_c){_c=!0;var be=D(U);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function xA(E){{for(var U=Object.keys(E.props),ee=0;ee<U.length;ee++){var ce=U[ee];if(ce!=="children"&&ce!=="key"){Ur(E),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),Ur(null);break}}E.ref!==null&&(Ur(E),x("Invalid attribute `ref` supplied to `React.Fragment`."),Ur(null))}}function y1(E,U,ee,ce,be,we){{var me=L(E);if(!me){var ue="";(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(ue+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var He=vA(be);He?ue+=He:ue+=b1();var Ce;E===null?Ce="null":he(E)?Ce="array":E!==void 0&&E.$$typeof===t?(Ce="<"+(D(E.type)||"Unknown")+" />",ue=" Did you accidentally export a JSX literal instead of a component?"):Ce=typeof E,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ce,ue)}var Ie=gA(E,U,ee,be,we);if(Ie==null)return Ie;if(me){var rt=U.children;if(rt!==void 0)if(ce)if(he(rt)){for(var Hr=0;Hr<rt.length;Hr++)$1(rt[Hr],E);Object.freeze&&Object.freeze(rt)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $1(rt,E)}return E===n?xA(Ie):yA(Ie),Ie}}function wA(E,U,ee){return y1(E,U,ee,!0)}function _A(E,U,ee){return y1(E,U,ee,!1)}var EA=_A,PA=wA;qr.Fragment=n,qr.jsx=EA,qr.jsxs=PA}()),qr}(function(e){process.env.NODE_ENV==="production"?e.exports=E1():e.exports=P1()})(_1);const S1=Gr.Fragment,k=Gr.jsx,ae=Gr.jsxs;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},S.apply(this,arguments)}function D1(e,t){const r=l.createContext(t);function n(a){const{children:i,...s}=a,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},i)}function o(a){const i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Me(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function u(f){const{scope:p,children:m,...b}=f,g=(p==null?void 0:p[e][c])||s,v=l.useMemo(()=>b,Object.values(b));return l.createElement(g.Provider,{value:v},m)}function d(f,p){const m=(p==null?void 0:p[e][c])||s,b=l.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const c=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,T1(o,...t)]}function T1(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:c,scopeName:u})=>{const f=c(a)[`__scope${u}`];return{...s,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function k1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Nn(...e){return t=>e.forEach(r=>k1(r,t))}function le(...e){return l.useCallback(Nn(...e),e)}function R(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const ye=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},C1=Q["useId".toString()]||(()=>{});let O1=0;function Ge(e){const[t,r]=Q.useState(C1());return ye(()=>{e||r(n=>n??String(O1++))},[e]),e||(t?`radix-${t}`:"")}function ge(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Ze({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=I1({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=ge(r),c=l.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else o(u)},[a,e,o,s]);return[i,c]}function I1({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=ge(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const De=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(A1);if(a){const i=a.props.children,s=o.map(c=>c===a?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(Fa,S({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Fa,S({},n,{ref:t}),r)});De.displayName="Slot";const Fa=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...M1(n,r.props),ref:Nn(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Fa.displayName="SlotClone";const za=({children:e})=>l.createElement(l.Fragment,null,e);function A1(e){return l.isValidElement(e)&&e.type===za}function M1(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{a(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const Rt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function N1(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}function fr(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const La="dismissableLayer.update",F1="dismissableLayer.pointerDownOutside",z1="dismissableLayer.focusOutside";let kc;const L1=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),K1=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(L1),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=V1(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=j1(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(kc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Cc(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=kc)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Cc())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(La,_),()=>document.removeEventListener(La,_)},[]),l.createElement(Rt.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))});function V1(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){Oc(F1,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function j1(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Oc(z1,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Cc(){const e=new CustomEvent(La);document.dispatchEvent(e)}function Oc(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?N1(o,a):o.dispatchEvent(a)}const B1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ka="focusScope.autoFocusOnMount",Va="focusScope.autoFocusOnUnmount",Ic={bubbles:!1,cancelable:!0},Fn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),u=ge(o),d=ge(a),f=l.useRef(null),p=le(t,g=>c(g)),m=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(y){if(m.paused||!s)return;const x=y.target;s.contains(x)?f.current=x:Wt(f.current,{select:!0})},v=function(y){m.paused||!s||s.contains(y.relatedTarget)||Wt(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",v)}}},[n,s,m.paused]),l.useEffect(()=>{if(s){Nc.add(m);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Ka,Ic);s.addEventListener(Ka,u),s.dispatchEvent(y),y.defaultPrevented||(R1(Y1(Ac(s)),{select:!0}),document.activeElement===g&&Wt(s))}return()=>{s.removeEventListener(Ka,u),setTimeout(()=>{const y=new CustomEvent(Va,Ic);s.addEventListener(Va,d),s.dispatchEvent(y),y.defaultPrevented||Wt(g??document.body,{select:!0}),s.removeEventListener(Va,d),Nc.remove(m)},0)}}},[s,u,d,m]);const b=l.useCallback(g=>{if(!r&&!n||m.paused)return;const v=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(v&&y){const x=g.currentTarget,[w,$]=W1(x);w&&$?!g.shiftKey&&y===$?(g.preventDefault(),r&&Wt(w,{select:!0})):g.shiftKey&&y===w&&(g.preventDefault(),r&&Wt($,{select:!0})):y===x&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(B1.div,S({tabIndex:-1},i,{ref:p,onKeyDown:b}))});function R1(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Wt(n,{select:t}),document.activeElement!==r)return}function W1(e){const t=Ac(e),r=Mc(t,e),n=Mc(t.reverse(),e);return[r,n]}function Ac(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Mc(e,t){for(const r of e)if(!U1(r,{upTo:t}))return r}function U1(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H1(e){return e instanceof HTMLInputElement&&"select"in e}function Wt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&H1(e)&&t&&e.select()}}const Nc=G1();function G1(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Fc(e,t),e.unshift(t)},remove(t){var r;e=Fc(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Fc(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Y1(e){return e.filter(t=>t.tagName!=="A")}const q1=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(Rt.div,S({},o,{ref:t})),n):null});function Z1(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const je=e=>{const{present:t,children:r}=e,n=X1(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=le(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};je.displayName="Presence";function X1(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Z1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const u=zn(n.current);a.current=s==="mounted"?u:"none"},[s]),ye(()=>{const u=n.current,d=o.current;if(d!==e){const p=a.current,m=zn(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ye(()=>{if(t){const u=f=>{const m=zn(n.current).includes(f.animationName);f.target===t&&m&&Ae.flushSync(()=>c("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=zn(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function zn(e){return(e==null?void 0:e.animationName)||"none"}let ja=0;function Ln(){l.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:zc()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:zc()),ja++,()=>{ja===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ja--}},[])}function zc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},lt.apply(this,arguments)};function Lc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function J1(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Kn="right-scroll-bar-position",Vn="width-before-scroll-bar",Q1="with-scroll-bars-hidden",ex="--removed-body-scroll-bar-size";function tx(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function rx(e,t){var r=l.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function nx(e,t){return rx(t||null,function(r){return e.forEach(function(n){return tx(n,r)})})}function ox(e){return e}function ax(e,t){t===void 0&&(t=ox);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var c=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(c)};u(),r={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),r}}}};return o}function ix(e){e===void 0&&(e={});var t=ax(null);return t.options=lt({async:!0,ssr:!1},e),t}var Kc=function(e){var t=e.sideCar,r=Lc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return Q.createElement(n,lt({},r))};Kc.isSideCarExport=!0;function sx(e,t){return e.useMedium(t),Kc}var Vc=ix(),Ba=function(){},jn=Q.forwardRef(function(e,t){var r=Q.useRef(null),n=Q.useState({onScrollCapture:Ba,onWheelCapture:Ba,onTouchMoveCapture:Ba}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,y=v===void 0?"div":v,x=Lc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,$=nx([r,t]),A=lt(lt({},x),o);return Q.createElement(Q.Fragment,null,d&&Q.createElement(w,{sideCar:Vc,removeScrollBar:u,shards:f,noIsolation:m,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?Q.cloneElement(Q.Children.only(s),lt(lt({},A),{ref:$})):Q.createElement(y,lt({},A,{className:c,ref:$}),s))});jn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},jn.classNames={fullWidth:Vn,zeroRight:Kn};var jc,lx=function(){if(jc)return jc;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=lx();return t&&e.setAttribute("nonce",t),e}function dx(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ux(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fx=function(){var e=0,t=null;return{add:function(r){e==0&&(t=cx())&&(dx(t,r),ux(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},px=function(){var e=fx();return function(t,r){Q.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Bc=function(){var e=px(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},mx={left:0,top:0,right:0,gap:0},Ra=function(e){return parseInt(e||"",10)||0},hx=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ra(r),Ra(n),Ra(o)]},bx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return mx;var t=hx(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},gx=Bc(),vx=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
-
.`.concat(
|
|
27
|
+
Check the top-level render call using <`+Y+">.")}return B}}function T$(E,B){{if(!E._store||E._store.validated||E.key!=null)return;E._store.validated=!0;var Y=X2(B);if(S$[Y])return;S$[Y]=!0;var ae="";E&&E._owner&&E._owner!==ic.current&&(ae=" It was passed a child from "+S(E._owner.type)+"."),Lr(E),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Y,ae),Lr(null)}}function k$(E,B){{if(typeof E!="object")return;if(ye(E))for(var Y=0;Y<E.length;Y++){var ae=E[Y];lc(ae)&&T$(ae,B)}else if(lc(E))E._store&&(E._store.validated=!0);else if(E){var pe=v(E);if(typeof pe=="function"&&pe!==E.entries)for(var be=pe.call(E),fe;!(fe=be.next()).done;)lc(fe.value)&&T$(fe.value,B)}}}function J2(E){{var B=E.type;if(B==null||typeof B=="string")return;var Y;if(typeof B=="function")Y=B.propTypes;else if(typeof B=="object"&&(B.$$typeof===c||B.$$typeof===f))Y=B.propTypes;else return;if(Y){var ae=S(B);we(Y,E.props,"prop",ae,E)}else if(B.PropTypes!==void 0&&!sc){sc=!0;var pe=S(B);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",pe||"Unknown")}typeof B.getDefaultProps=="function"&&!B.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Q2(E){{for(var B=Object.keys(E.props),Y=0;Y<B.length;Y++){var ae=B[Y];if(ae!=="children"&&ae!=="key"){Lr(E),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ae),Lr(null);break}}E.ref!==null&&(Lr(E),x("Invalid attribute `ref` supplied to `React.Fragment`."),Lr(null))}}function C$(E,B,Y,ae,pe,be){{var fe=K(E);if(!fe){var ce="";(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=Z2(pe);je?ce+=je:ce+=D$();var De;E===null?De="null":ye(E)?De="array":E!==void 0&&E.$$typeof===t?(De="<"+(S(E.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):De=typeof E,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,ce)}var Te=q2(E,B,Y,pe,be);if(Te==null)return Te;if(fe){var Je=B.children;if(Je!==void 0)if(ae)if(ye(Je)){for(var Kr=0;Kr<Je.length;Kr++)k$(Je[Kr],E);Object.freeze&&Object.freeze(Je)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k$(Je,E)}return E===n?Q2(Te):J2(Te),Te}}function eO(E,B,Y){return C$(E,B,Y,!0)}function tO(E,B,Y){return C$(E,B,Y,!1)}var rO=tO,nO=eO;Br.Fragment=n,Br.jsx=rO,Br.jsxs=nO}()),Br}(function(e){process.env.NODE_ENV==="production"?e.exports=M$():e.exports=N$()})(A$);const F$=jr.Fragment,T=jr.jsx,re=jr.jsxs;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D.apply(this,arguments)}function z$(e,t){const r=l.createContext(t);function n(a){const{children:i,...s}=a,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},i)}function o(a){const i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Ce(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function u(f){const{scope:p,children:m,...b}=f,g=(p==null?void 0:p[e][c])||s,v=l.useMemo(()=>b,Object.values(b));return l.createElement(g.Provider,{value:v},m)}function d(f,p){const m=(p==null?void 0:p[e][c])||s,b=l.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const o=()=>{const a=r.map(i=>l.createContext(i));return function(s){const c=(s==null?void 0:s[e])||a;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,L$(o,...t)]}function L$(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:c,scopeName:u})=>{const f=c(a)[`__scope${u}`];return{...s,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function K$(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Tn(...e){return t=>e.forEach(r=>K$(r,t))}function le(...e){return l.useCallback(Tn(...e),e)}function U(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const Oe=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},j$=H["useId".toString()]||(()=>{});let V$=0;function Qe(e){const[t,r]=H.useState(j$());return Oe(()=>{e||r(n=>n??String(V$++))},[e]),e||(t?`radix-${t}`:"")}function ge(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function et({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=B$({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=ge(r),c=l.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else o(u)},[a,e,o,s]);return[i,c]}function B$({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=ge(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const Se=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(R$);if(a){const i=a.props.children,s=o.map(c=>c===a?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(da,D({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(da,D({},n,{ref:t}),r)});Se.displayName="Slot";const da=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...W$(n,r.props),ref:Tn(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});da.displayName="SlotClone";const ua=({children:e})=>l.createElement(l.Fragment,null,e);function R$(e){return l.isValidElement(e)&&e.type===ua}function W$(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{a(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}const jt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function U$(e,t){e&&ze.flushSync(()=>e.dispatchEvent(t))}function Rr(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const fa="dismissableLayer.update",H$="dismissableLayer.pointerDownOutside",G$="dismissableLayer.focusOutside";let pc;const Y$=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),q$=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(Y$),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,w=>p(w)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=f?v.indexOf(f):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,M=_>=x,F=Z$(w=>{const O=w.target,K=[...d.branches].some(k=>k.contains(O));!M||K||(a==null||a(w),s==null||s(w),w.defaultPrevented||c==null||c())},m),P=X$(w=>{const O=w.target;[...d.branches].some(k=>k.contains(O))||(i==null||i(w),s==null||s(w),w.defaultPrevented||c==null||c())},m);return Rr(w=>{_===d.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(pc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),mc(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=pc)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),mc())},[f,d]),l.useEffect(()=>{const w=()=>b({});return document.addEventListener(fa,w),()=>document.removeEventListener(fa,w)},[]),l.createElement(jt.div,D({},u,{ref:g,style:{pointerEvents:y?M?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,F.onPointerDownCapture)}))});function Z$(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){hc(H$,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function X$(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&hc(G$,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function mc(){const e=new CustomEvent(fa);document.dispatchEvent(e)}function hc(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?U$(o,a):o.dispatchEvent(a)}const J$=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),pa="focusScope.autoFocusOnMount",ma="focusScope.autoFocusOnUnmount",bc={bubbles:!1,cancelable:!0},ha=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),u=ge(o),d=ge(a),f=l.useRef(null),p=le(t,g=>c(g)),m=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function($){if(m.paused||!s)return;const x=$.target;s.contains(x)?f.current=x:Vt(f.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||Vt(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",v)}}},[n,s,m.paused]),l.useEffect(()=>{if(s){yc.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(pa,bc);s.addEventListener(pa,u),s.dispatchEvent($),$.defaultPrevented||(Q$(o1(gc(s)),{select:!0}),document.activeElement===g&&Vt(s))}return()=>{s.removeEventListener(pa,u),setTimeout(()=>{const $=new CustomEvent(ma,bc);s.addEventListener(ma,d),s.dispatchEvent($),$.defaultPrevented||Vt(g??document.body,{select:!0}),s.removeEventListener(ma,d),yc.remove(m)},0)}}},[s,u,d,m]);const b=l.useCallback(g=>{if(!r&&!n||m.paused)return;const v=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,$=document.activeElement;if(v&&$){const x=g.currentTarget,[_,y]=e1(x);_&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&&Vt(_,{select:!0})):g.shiftKey&&$===_&&(g.preventDefault(),r&&Vt(y,{select:!0})):$===x&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(J$.div,D({tabIndex:-1},i,{ref:p,onKeyDown:b}))});function Q$(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Vt(n,{select:t}),document.activeElement!==r)return}function e1(e){const t=gc(e),r=vc(t,e),n=vc(t.reverse(),e);return[r,n]}function gc(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function vc(e,t){for(const r of e)if(!t1(r,{upTo:t}))return r}function t1(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function r1(e){return e instanceof HTMLInputElement&&"select"in e}function Vt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&r1(e)&&t&&e.select()}}const yc=n1();function n1(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=$c(e,t),e.unshift(t)},remove(t){var r;e=$c(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function $c(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function o1(e){return e.filter(t=>t.tagName!=="A")}const a1=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ze.createPortal(l.createElement(jt.div,D({},o,{ref:t})),n):null});function i1(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const Ae=e=>{const{present:t,children:r}=e,n=s1(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),a=le(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:a}):null};Ae.displayName="Presence";function s1(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=i1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const u=kn(n.current);a.current=s==="mounted"?u:"none"},[s]),Oe(()=>{const u=n.current,d=o.current;if(d!==e){const p=a.current,m=kn(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Oe(()=>{if(t){const u=f=>{const m=kn(n.current).includes(f.animationName);f.target===t&&m&&ze.flushSync(()=>c("ANIMATION_END"))},d=f=>{f.target===t&&(a.current=kn(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function kn(e){return(e==null?void 0:e.animationName)||"none"}let ba=0;function ga(){l.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:xc()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:xc()),ba++,()=>{ba===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ba--}},[])}function xc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var it=function(){return it=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},it.apply(this,arguments)};function _c(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function l1(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Cn="right-scroll-bar-position",On="width-before-scroll-bar",c1="with-scroll-bars-hidden",d1="--removed-body-scroll-bar-size";function u1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function f1(e,t){var r=l.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function p1(e,t){return f1(t||null,function(r){return e.forEach(function(n){return u1(n,r)})})}function m1(e){return e}function h1(e,t){t===void 0&&(t=m1);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(s){return a(s)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(a),i=r}var c=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(c)};u(),r={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),r}}}};return o}function b1(e){e===void 0&&(e={});var t=h1(null);return t.options=it({async:!0,ssr:!1},e),t}var wc=function(e){var t=e.sideCar,r=_c(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return H.createElement(n,it({},r))};wc.isSideCarExport=!0;function g1(e,t){return e.useMedium(t),wc}var Ec=b1(),va=function(){},In=H.forwardRef(function(e,t){var r=H.useRef(null),n=H.useState({onScrollCapture:va,onWheelCapture:va,onTouchMoveCapture:va}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noIsolation,b=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,x=_c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=p,y=p1([r,t]),M=it(it({},x),o);return H.createElement(H.Fragment,null,d&&H.createElement(_,{sideCar:Ec,removeScrollBar:u,shards:f,noIsolation:m,inert:b,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?H.cloneElement(H.Children.only(s),it(it({},M),{ref:y})):H.createElement($,it({},M,{className:c,ref:y}),s))});In.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},In.classNames={fullWidth:On,zeroRight:Cn};var Pc,v1=function(){if(Pc)return Pc;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function y1(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=v1();return t&&e.setAttribute("nonce",t),e}function $1(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function x1(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _1=function(){var e=0,t=null;return{add:function(r){e==0&&(t=y1())&&($1(t,r),x1(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w1=function(){var e=_1();return function(t,r){H.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Dc=function(){var e=w1(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},E1={left:0,top:0,right:0,gap:0},ya=function(e){return parseInt(e||"",10)||0},P1=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ya(r),ya(n),ya(o)]},D1=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return E1;var t=P1(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},S1=Dc(),T1=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
28
|
+
.`.concat(c1,` {
|
|
29
29
|
overflow: hidden `).concat(n,`;
|
|
30
30
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
31
31
|
}
|
|
@@ -42,29 +42,29 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
42
42
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.`).concat(
|
|
45
|
+
.`).concat(Cn,` {
|
|
46
46
|
right: `).concat(s,"px ").concat(n,`;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.`).concat(
|
|
49
|
+
.`).concat(On,` {
|
|
50
50
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.`).concat(
|
|
53
|
+
.`).concat(Cn," .").concat(Cn,` {
|
|
54
54
|
right: 0 `).concat(n,`;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.`).concat(
|
|
57
|
+
.`).concat(On," .").concat(On,` {
|
|
58
58
|
margin-right: 0 `).concat(n,`;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
body {
|
|
62
|
-
`).concat(
|
|
62
|
+
`).concat(d1,": ").concat(s,`px;
|
|
63
63
|
}
|
|
64
|
-
`)}
|
|
64
|
+
`)},k1=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=H.useMemo(function(){return D1(o)},[o]);return H.createElement(S1,{styles:T1(a,!t,o,r?"":"!important")})},$a=!1;if(typeof window<"u")try{var An=Object.defineProperty({},"passive",{get:function(){return $a=!0,!0}});window.addEventListener("test",An,An),window.removeEventListener("test",An,An)}catch{$a=!1}var sr=$a?{passive:!1}:!1,C1=function(e){return e.tagName==="TEXTAREA"},Sc=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!C1(e)&&r[t]==="visible")},O1=function(e){return Sc(e,"overflowY")},I1=function(e){return Sc(e,"overflowX")},Tc=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=kc(e,r);if(n){var o=Cc(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},A1=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},M1=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},kc=function(e,t){return e==="v"?O1(t):I1(t)},Cc=function(e,t){return e==="v"?A1(t):M1(t)},N1=function(e,t){return e==="h"&&t==="rtl"?-1:1},F1=function(e,t,r,n,o){var a=N1(e,window.getComputedStyle(t).direction),i=a*n,s=r.target,c=t.contains(s),u=!1,d=i>0,f=0,p=0;do{var m=Cc(e,s),b=m[0],g=m[1],v=m[2],$=g-v-a*b;(b||$)&&kc(e,s)&&(f+=$,p+=b),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(d&&(o&&f===0||!o&&i>f)||!d&&(o&&p===0||!o&&-i>p))&&(u=!0),u},Mn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Oc=function(e){return[e.deltaX,e.deltaY]},Ic=function(e){return e&&"current"in e?e.current:e},z1=function(e,t){return e[0]===t[0]&&e[1]===t[1]},L1=function(e){return`
|
|
65
65
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
66
66
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
67
|
-
`)},kx=0,mr=[];function Cx(e){var t=Q.useRef([]),r=Q.useRef([0,0]),n=Q.useRef(),o=Q.useState(kx++)[0],a=Q.useState(function(){return Bc()})[0],i=Q.useRef(e);Q.useEffect(function(){i.current=e},[e]),Q.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=J1([e.lockRef.current],(e.shards||[]).map(Yc),!0).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Q.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var y=Rn(g),x=r.current,w="deltaX"in g?g.deltaX:x[0]-y[0],$="deltaY"in g?g.deltaY:x[1]-y[1],A,N=g.target,P=Math.abs(w)>Math.abs($)?"h":"v";if("touches"in g&&P==="h"&&N.type==="range")return!1;var _=Wc(P,N);if(!_)return!0;if(_?A=P:(A=P==="v"?"h":"v",_=Wc(P,N)),!_)return!1;if(!n.current&&"changedTouches"in g&&(w||$)&&(n.current=A),!A)return!0;var O=n.current||A;return Sx(O,v,g,O==="h"?w:$,!0)},[]),c=Q.useCallback(function(g){var v=g;if(!(!mr.length||mr[mr.length-1]!==a)){var y="deltaY"in v?Gc(v):Rn(v),x=t.current.filter(function(A){return A.name===v.type&&A.target===v.target&&Dx(A.delta,y)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var w=(i.current.shards||[]).map(Yc).filter(Boolean).filter(function(A){return A.contains(v.target)}),$=w.length>0?s(v,w[0]):!i.current.noIsolation;$&&v.cancelable&&v.preventDefault()}}},[]),u=Q.useCallback(function(g,v,y,x){var w={name:g,delta:v,target:y,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function($){return $!==w})},1)},[]),d=Q.useCallback(function(g){r.current=Rn(g),n.current=void 0},[]),f=Q.useCallback(function(g){u(g.type,Gc(g),g.target,s(g,e.lockRef.current))},[]),p=Q.useCallback(function(g){u(g.type,Rn(g),g.target,s(g,e.lockRef.current))},[]);Q.useEffect(function(){return mr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,pr),document.addEventListener("touchmove",c,pr),document.addEventListener("touchstart",d,pr),function(){mr=mr.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,pr),document.removeEventListener("touchmove",c,pr),document.removeEventListener("touchstart",d,pr)}},[]);var m=e.removeScrollBar,b=e.inert;return Q.createElement(Q.Fragment,null,b?Q.createElement(a,{styles:Tx(o)}):null,m?Q.createElement($x,{gapMode:"margin"}):null)}const Ox=sx(Vc,Cx);var qc=Q.forwardRef(function(e,t){return Q.createElement(jn,lt({},e,{ref:t,sideCar:Ox}))});qc.classNames=jn.classNames;const Wn=qc;var Ix=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},hr=new WeakMap,Un=new WeakMap,Hn={},Ua=0,Zc=function(e){return e&&(e.host||Zc(e.parentNode))},Ax=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Zc(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},Mx=function(e,t,r,n){var o=Ax(t,Array.isArray(e)?e:[e]);Hn[r]||(Hn[r]=new WeakMap);var a=Hn[r],i=[],s=new Set,c=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))d(p);else{var m=p.getAttribute(n),b=m!==null&&m!=="false",g=(hr.get(p)||0)+1,v=(a.get(p)||0)+1;hr.set(p,g),a.set(p,v),i.push(p),g===1&&b&&Un.set(p,!0),v===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}})};return d(t),s.clear(),Ua++,function(){i.forEach(function(f){var p=hr.get(f)-1,m=a.get(f)-1;hr.set(f,p),a.set(f,m),p||(Un.has(f)||f.removeAttribute(n),Un.delete(f)),m||f.removeAttribute(r)}),Ua--,Ua||(hr=new WeakMap,hr=new WeakMap,Un=new WeakMap,Hn={})}},Gn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Ix(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Mx(n,o,r,"aria-hidden")):function(){return null}};const Xc="Dialog",[Jc,Qc]=Me(Xc),[Nx,nt]=Jc(Xc),Fx=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[u=!1,d]=Ze({prop:n,defaultProp:o,onChange:a});return l.createElement(Nx,{scope:t,triggerRef:s,contentRef:c,contentId:Ge(),titleId:Ge(),descriptionId:Ge(),open:u,onOpenChange:d,onOpenToggle:l.useCallback(()=>d(f=>!f),[d]),modal:i},r)},zx="DialogTrigger",Lx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(zx,r),a=le(t,o.triggerRef);return l.createElement(Rt.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ga(o.open)},n,{ref:a,onClick:R(e.onClick,o.onOpenToggle)}))}),ed="DialogPortal",[Kx,td]=Jc(ed,{forceMount:void 0}),Vx=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=nt(ed,t);return l.createElement(Kx,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(je,{present:r||a.open},l.createElement(q1,{asChild:!0,container:o},i))))},Ha="DialogOverlay",jx=l.forwardRef((e,t)=>{const r=td(Ha,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(Ha,e.__scopeDialog);return a.modal?l.createElement(je,{present:n||a.open},l.createElement(Bx,S({},o,{ref:t}))):null}),Bx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Ha,r);return l.createElement(Wn,{as:De,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(Rt.div,S({"data-state":Ga(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),br="DialogContent",Rx=l.forwardRef((e,t)=>{const r=td(br,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=nt(br,e.__scopeDialog);return l.createElement(je,{present:n||a.open},a.modal?l.createElement(Wx,S({},o,{ref:t})):l.createElement(Ux,S({},o,{ref:t})))}),Wx=l.forwardRef((e,t)=>{const r=nt(br,e.__scopeDialog),n=l.useRef(null),o=le(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return Gn(a)},[]),l.createElement(rd,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:R(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:R(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:R(e.onFocusOutside,a=>a.preventDefault())}))}),Ux=l.forwardRef((e,t)=>{const r=nt(br,e.__scopeDialog),n=l.useRef(!1);return l.createElement(rd,S({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),rd=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=nt(br,r),c=l.useRef(null),u=le(t,c);return Ln(),l.createElement(l.Fragment,null,l.createElement(Fn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(K1,S({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ga(s.open)},i,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),nd="DialogTitle",Hx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(nd,r);return l.createElement(Rt.h2,S({id:o.titleId},n,{ref:t}))}),Gx="DialogDescription",Yx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(Gx,r);return l.createElement(Rt.p,S({id:o.descriptionId},n,{ref:t}))}),qx="DialogClose",Zx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=nt(qx,r);return l.createElement(Rt.button,S({type:"button"},n,{ref:t,onClick:R(e.onClick,()=>o.onOpenChange(!1))}))});function Ga(e){return e?"open":"closed"}const Xx="DialogTitleWarning",[Jx,TA]=D1(Xx,{contentName:br,titleName:nd,docsSlug:"dialog"}),od=Fx,ad=Lx,id=Vx,sd=jx,ld=Rx,cd=Hx,dd=Yx,Yn=Zx,Qx="AlertDialog",[ew,kA]=Me(Qx,[Qc]),mt=Qc(),tw=e=>{const{__scopeAlertDialog:t,...r}=e,n=mt(t);return l.createElement(od,S({},n,r,{modal:!0}))},rw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(ad,S({},o,n,{ref:t}))}),nw=e=>{const{__scopeAlertDialog:t,...r}=e,n=mt(t);return l.createElement(id,S({},n,r))},ow=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(sd,S({},o,n,{ref:t}))}),ud="AlertDialogContent",[aw,iw]=ew(ud),sw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=mt(r),i=l.useRef(null),s=le(t,i),c=l.useRef(null);return l.createElement(Jx,{contentName:ud,titleName:lw,docsSlug:"alert-dialog"},l.createElement(aw,{scope:r,cancelRef:c},l.createElement(ld,S({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:R(o.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),l.createElement(za,null,n),!1)))}),lw="AlertDialogTitle",cw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(cd,S({},o,n,{ref:t}))}),dw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(dd,S({},o,n,{ref:t}))}),uw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=mt(r);return l.createElement(Yn,S({},o,n,{ref:t}))}),fw="AlertDialogCancel",pw=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=iw(fw,r),a=mt(r),i=le(t,o);return l.createElement(Yn,S({},a,n,{ref:i}))}),mw=tw,hw=rw,bw=nw,gw=ow,vw=sw,$w=uw,fd=pw,yw=cw,xw=dw,h={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},ww=C.keyframes`
|
|
67
|
+
`)},K1=0,lr=[];function j1(e){var t=H.useRef([]),r=H.useRef([0,0]),n=H.useRef(),o=H.useState(K1++)[0],a=H.useState(function(){return Dc()})[0],i=H.useRef(e);H.useEffect(function(){i.current=e},[e]),H.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=l1([e.lockRef.current],(e.shards||[]).map(Ic),!0).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=H.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=Mn(g),x=r.current,_="deltaX"in g?g.deltaX:x[0]-$[0],y="deltaY"in g?g.deltaY:x[1]-$[1],M,F=g.target,P=Math.abs(_)>Math.abs(y)?"h":"v";if("touches"in g&&P==="h"&&F.type==="range")return!1;var w=Tc(P,F);if(!w)return!0;if(w?M=P:(M=P==="v"?"h":"v",w=Tc(P,F)),!w)return!1;if(!n.current&&"changedTouches"in g&&(_||y)&&(n.current=M),!M)return!0;var O=n.current||M;return F1(O,v,g,O==="h"?_:y,!0)},[]),c=H.useCallback(function(g){var v=g;if(!(!lr.length||lr[lr.length-1]!==a)){var $="deltaY"in v?Oc(v):Mn(v),x=t.current.filter(function(M){return M.name===v.type&&M.target===v.target&&z1(M.delta,$)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var _=(i.current.shards||[]).map(Ic).filter(Boolean).filter(function(M){return M.contains(v.target)}),y=_.length>0?s(v,_[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),u=H.useCallback(function(g,v,$,x){var _={name:g,delta:v,target:$,should:x};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(y){return y!==_})},1)},[]),d=H.useCallback(function(g){r.current=Mn(g),n.current=void 0},[]),f=H.useCallback(function(g){u(g.type,Oc(g),g.target,s(g,e.lockRef.current))},[]),p=H.useCallback(function(g){u(g.type,Mn(g),g.target,s(g,e.lockRef.current))},[]);H.useEffect(function(){return lr.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,sr),document.addEventListener("touchmove",c,sr),document.addEventListener("touchstart",d,sr),function(){lr=lr.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,sr),document.removeEventListener("touchmove",c,sr),document.removeEventListener("touchstart",d,sr)}},[]);var m=e.removeScrollBar,b=e.inert;return H.createElement(H.Fragment,null,b?H.createElement(a,{styles:L1(o)}):null,m?H.createElement(k1,{gapMode:"margin"}):null)}const V1=g1(Ec,j1);var Ac=H.forwardRef(function(e,t){return H.createElement(In,it({},e,{ref:t,sideCar:V1}))});Ac.classNames=In.classNames;const xa=Ac;var B1=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},cr=new WeakMap,Nn=new WeakMap,Fn={},_a=0,Mc=function(e){return e&&(e.host||Mc(e.parentNode))},R1=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Mc(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},W1=function(e,t,r,n){var o=R1(t,Array.isArray(e)?e:[e]);Fn[r]||(Fn[r]=new WeakMap);var a=Fn[r],i=[],s=new Set,c=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))d(p);else{var m=p.getAttribute(n),b=m!==null&&m!=="false",g=(cr.get(p)||0)+1,v=(a.get(p)||0)+1;cr.set(p,g),a.set(p,v),i.push(p),g===1&&b&&Nn.set(p,!0),v===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}})};return d(t),s.clear(),_a++,function(){i.forEach(function(f){var p=cr.get(f)-1,m=a.get(f)-1;cr.set(f,p),a.set(f,m),p||(Nn.has(f)||f.removeAttribute(n),Nn.delete(f)),m||f.removeAttribute(r)}),_a--,_a||(cr=new WeakMap,cr=new WeakMap,Nn=new WeakMap,Fn={})}},wa=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||B1(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),W1(n,o,r,"aria-hidden")):function(){return null}};const Nc="Dialog",[Fc,zc]=Ce(Nc),[U1,tt]=Fc(Nc),H1=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[u=!1,d]=et({prop:n,defaultProp:o,onChange:a});return l.createElement(U1,{scope:t,triggerRef:s,contentRef:c,contentId:Qe(),titleId:Qe(),descriptionId:Qe(),open:u,onOpenChange:d,onOpenToggle:l.useCallback(()=>d(f=>!f),[d]),modal:i},r)},G1="DialogTrigger",Y1=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=tt(G1,r),a=le(t,o.triggerRef);return l.createElement(jt.button,D({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Pa(o.open)},n,{ref:a,onClick:U(e.onClick,o.onOpenToggle)}))}),Lc="DialogPortal",[q1,Kc]=Fc(Lc,{forceMount:void 0}),Z1=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=tt(Lc,t);return l.createElement(q1,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Ae,{present:r||a.open},l.createElement(a1,{asChild:!0,container:o},i))))},Ea="DialogOverlay",X1=l.forwardRef((e,t)=>{const r=Kc(Ea,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=tt(Ea,e.__scopeDialog);return a.modal?l.createElement(Ae,{present:n||a.open},l.createElement(J1,D({},o,{ref:t}))):null}),J1=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=tt(Ea,r);return l.createElement(xa,{as:Se,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(jt.div,D({"data-state":Pa(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),dr="DialogContent",Q1=l.forwardRef((e,t)=>{const r=Kc(dr,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=tt(dr,e.__scopeDialog);return l.createElement(Ae,{present:n||a.open},a.modal?l.createElement(ex,D({},o,{ref:t})):l.createElement(tx,D({},o,{ref:t})))}),ex=l.forwardRef((e,t)=>{const r=tt(dr,e.__scopeDialog),n=l.useRef(null),o=le(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return wa(a)},[]),l.createElement(jc,D({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:U(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:U(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:U(e.onFocusOutside,a=>a.preventDefault())}))}),tx=l.forwardRef((e,t)=>{const r=tt(dr,e.__scopeDialog),n=l.useRef(!1);return l.createElement(jc,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),jc=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=tt(dr,r),c=l.useRef(null),u=le(t,c);return ga(),l.createElement(l.Fragment,null,l.createElement(ha,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(q$,D({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Pa(s.open)},i,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),Vc="DialogTitle",rx=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=tt(Vc,r);return l.createElement(jt.h2,D({id:o.titleId},n,{ref:t}))}),nx="DialogDescription",ox=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=tt(nx,r);return l.createElement(jt.p,D({id:o.descriptionId},n,{ref:t}))}),ax="DialogClose",ix=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=tt(ax,r);return l.createElement(jt.button,D({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))});function Pa(e){return e?"open":"closed"}const sx="DialogTitleWarning",[lx,iO]=z$(sx,{contentName:dr,titleName:Vc,docsSlug:"dialog"}),Bc=H1,Rc=Y1,Wc=Z1,Uc=X1,Hc=Q1,Gc=rx,Yc=ox,zn=ix,cx="AlertDialog",[dx,sO]=Ce(cx,[zc]),ft=zc(),ux=e=>{const{__scopeAlertDialog:t,...r}=e,n=ft(t);return l.createElement(Bc,D({},n,r,{modal:!0}))},fx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ft(r);return l.createElement(Rc,D({},o,n,{ref:t}))}),px=e=>{const{__scopeAlertDialog:t,...r}=e,n=ft(t);return l.createElement(Wc,D({},n,r))},mx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ft(r);return l.createElement(Uc,D({},o,n,{ref:t}))}),qc="AlertDialogContent",[hx,bx]=dx(qc),gx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=ft(r),i=l.useRef(null),s=le(t,i),c=l.useRef(null);return l.createElement(lx,{contentName:qc,titleName:vx,docsSlug:"alert-dialog"},l.createElement(hx,{scope:r,cancelRef:c},l.createElement(Hc,D({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:U(o.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),l.createElement(ua,null,n),!1)))}),vx="AlertDialogTitle",yx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ft(r);return l.createElement(Gc,D({},o,n,{ref:t}))}),$x=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ft(r);return l.createElement(Yc,D({},o,n,{ref:t}))}),xx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=ft(r);return l.createElement(zn,D({},o,n,{ref:t}))}),_x="AlertDialogCancel",wx=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=bx(_x,r),a=ft(r),i=le(t,o);return l.createElement(zn,D({},a,n,{ref:i}))}),Ex=ux,Px=fx,Dx=px,Sx=mx,Tx=gx,kx=xx,Zc=wx,Cx=yx,Ox=$x,h={border_radius_0:"0",border_radius_100:"1px",border_radius_200:"2px",border_radius_400:"4px",border_radius_800:"8px",border_radius_pill:"9999em",border_radius_circle:"50%",border_width_0:"0",border_width_100:"1px",border_width_200:"2px",color_gray_4:"hsl(0, 0%, 4%)",color_gray_8:"hsl(0, 0%, 8%)",color_gray_10:"hsl(0, 0%, 10%)",color_gray_12:"hsl(0, 0%, 12%)",color_gray_14:"hsl(0, 0%, 14%)",color_gray_16:"hsl(0, 0%, 16%)",color_gray_24:"hsl(0, 0%, 24%)",color_gray_32:"hsl(0, 0%, 32%)",color_gray_56:"hsl(0, 0%, 56%)",color_gray_64:"hsl(0, 0%, 64%)",color_gray_84:"hsl(0, 0%, 84%)",color_gray_94:"hsl(0, 0% 94%)",color_gray_96:"hsl(0, 0%, 96%)",color_white:"hsl(0, 0%, 100%)",color_black:"hsl(0, 0%, 0%)",color_background_white_standard:"hsl(0, 0%, 100%)",color_background_white_strong:"hsl(0, 0% 94%)",color_background_white_weak:"hsl(0, 0%, 96%)",color_background_black_standard:"hsl(0, 0%, 16%)",color_background_black_strong:"hsl(0, 0%, 8%)",color_background_black_weak:"hsl(0, 0%, 12%)",color_background_sentiment_negative:"hsl(11, 68%, 55%)",color_background_sentiment_positive:"hsl(54, 63% 52%)",color_background_sentiment_notice:"hsl(29, 74% 53%)",color_background_sentiment_neutral:"hsl(0, 0%, 10%)",color_divider_standard:"hsla(0, 0%, 0%, 12%)",color_divider_strong:"hsla(0, 0%, 0%, 16%)",color_divider_weak:"hsla(0, 0%, 0%, 8%)",color_divider_inverse_standard:"hsla(0, 0%, 1000%, 32%)",color_divider_inverse_strong:"hsla(0, 0%, 100%, 48%)",color_divider_inverse_weak:"hsla(0, 0%, 100%, 24%)",color_text_standard:"hsl(0, 0%, 32%)",color_text_strong:"hsl(0, 0%, 0%)",color_text_weak:"hsl(0, 0%, 56%)",color_text_white_standard:"hsl(0, 0%, 84%)",color_text_white_strong:"hsl(0, 0%, 100%)",color_text_white_weak:"hsl(0, 0%, 64%)",color_text_sentiment_negative:"hsl(11, 68%, 55%)",color_text_sentiment_positive:"hsl(54, 63%, 52%)",color_text_sentiment_notice:"hsl(29, 67%, 47%)",color_text_sentiment_neutral:"hsl(0, 0%, 24%)",color_fill_primary_enabled:"hsla(0, 0%, 8%, 1)",color_fill_primary_hover:"hsl(210, 5%, 16%)",color_fill_primary_pressed:"hsl(210, 3%, 28%)",color_fill_primary_disabled:"hsla(0, 0%, 8%, 0.2)",color_fill_secondary_enabled:"hsla(0, 0%, 0%, 0.06)",color_fill_secondary_hover:"hsla(0, 0%, 0%, 0.12)",color_fill_secondary_pressed:"hsla(0, 0%, 0%, 0.2)",color_fill_secondary_disabled:"hsla(0, 0%, 88%, 0.5)",color_fill_inverse_enabled:"hsl(0, 0%, 100%)",color_fill_inverse_hover:"hsl(0, 0%, 94%)",color_fill_inverse_pressed:"hsl(0, 0%, 90%)",color_fill_inverse_disabled:"hsla(0, 0%, 98%, 0.4)",color_fill_danger_enabled:"hsl(11, 68%, 55%)",color_fill_danger_hover:"hsl(11, 57%, 51%)",color_fill_danger_pressed:"hsl(11, 55%, 48%)",color_fill_danger_disabled:"hsla(11, 68%, 55%, 0.2)",color_outline_primary_danger_enabled:"hsla(11, 68%, 55%, 0.24)",color_outline_primary_danger_hover:"hsla(11, 68%, 55%, 0.48)",color_outline_primary_danger_pressed:"hsla(11, 68%, 55%, 0.72)",color_outline_primary_danger_disabled:"hsla(11, 68%, 55%, 0.16)",color_outline_primary_danger_selected_enabled:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_hover:"hsla(11, 68%, 55%, 0.96)",color_outline_primary_danger_selected_pressed:"hsla(11, 68%, 55%, 0.96)",color_outline_secondary_enabled:"hsla(0, 0%, 0%, 0.16)",color_outline_secondary_hover:"hsla(0, 0%, 0%, 0.32)",color_outline_secondary_pressed:"hsla(0, 0%, 0%, 0.48)",color_outline_secondary_disabled:"hsla(0, 0%, 14%, 0.16)",color_outline_secondary_selected_enabled:"hsla(0, 0%, 0%, 0.6)",color_outline_secondary_selected_hover:"hsla(0, 0%, 0%, 0.72)",color_outline_secondary_selected_pressed:"hsla(0, 0%, 0%, 0.76)",color_outline_inverse_enabled:"hsla(0, 0%, 100%, 0.32)",color_outline_inverse_hover:"hsla(0, 0%, 100%, 0.48)",color_outline_inverse_pressed:"hsla(0, 0%, 100%, 0.56)",color_outline_inverse_disabled:"hsla(0, 0%, 100%, 0.2)",color_outline_inverse_selected_enabled:"hsla(0, 0%, 100%, 0.6)",color_outline_inverse_selected_hover:"hsla(0, 0%, 100%, 0.72)",color_outline_inverse_selected_pressed:"hsla(0, 0%, 100%, 0.8)",color_outline_danger_enabled:"hsl(11, 68%, 55%)",color_outline_danger_hover:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_pressed:"hsla(11, 68%, 55%, 0.9)",color_outline_danger_disabled:"hsla(11, 68%, 55%, 0.32)",color_overlay_secondary_enabled:"hsl(0, 0%, 100%)",color_overlay_secondary_hover:"hsl(0, 0%, 97%)",color_overlay_secondary_pressed:"hsl(0, 0%, 92%)",color_overlay_secondary_selected_enabled:"hsl(0, 0%, 94%)",color_overlay_secondary_selected_hover:"hsl(0, 0%, 91%)",color_overlay_secondary_selected_pressed:"hsl(0, 0%, 88%)",color_overlay_inverse_enabled:"hsl(0, 0%, 0%)",color_overlay_inverse_hover:"hsl(0, 0%, 4%)",color_overlay_inverse_pressed:"hsl(0, 0%, 12%)",color_overlay_inverse_selected_enabled:"hsl(0, 0%, 10%)",color_overlay_inverse_selected_hover:"hsl(0, 0%, 16%)",color_overlay_inverse_selected_pressed:"hsl(0, 0%, 24%)",elevation_static_low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",elevation_static_high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)",elevation_interactive_down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",elevation_interactive_low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",elevation_interactive_medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",elevation_interactive_high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)",z_index_auto:"auto",z_index_below:"-1",z_index_default:"1",z_index_above:"10",z_index_overlay:"1000",font_family_inter:"'Inter', -apple-system, Helvetica, sans-serif",font_family_sans:"'Inter', -apple-system, Helvetica, sans-serif",font_family_inter_display:"'Inter', -apple-system, Helvetica, sans-serif",font_family_monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace",feature_settings_number:"'tnum' on, 'lnum' on, 'ss01' on",letter_spacing_tight:"-0.006em",letter_spacing_tighter:"-0.01em",letter_spacing_heading_large:"-0.018em",letter_spacing_heading_medium:"-0.016em",letter_spacing_heading_small:"-0.014em",letter_spacing_title_large:"-0.014em",letter_spacing_title_medium:"-0.012em",letter_spacing_title_small:"-0.01em",letter_spacing_title_xsmall:"-0.008em",letter_spacing_label_large:"-0.01em",letter_spacing_label_medium:"normal",letter_spacing_label_small:"-0.006em",letter_spacing_body_large:"-0.01em",letter_spacing_body_medium:"-0.006em",letter_spacing_body_small:"normal",letter_spacing_number_large:"-0.05em",letter_spacing_number_medium:"-0.05em",letter_spacing_number_small:"-0.04em",letter_spacing_number_xsmall:"-0.05em",letter_spacing_caption_medium:"0.01em",letter_spacing_caption_small:"0.02em",line_height_111:1.11,line_height_114:1.14,line_height_129:1.29,line_height_133:1.33,line_height_143:1.43,line_height_title_large:1.06,line_height_title_medium:1.08,line_height_title_small:1.1,line_height_title_xsmall:1.11,line_height_label_large:1.11,line_height_label_medium:1.12,line_height_label_small:1.14,line_height_body_large:1.25,line_height_body_medium:1.29,line_height_body_small:1.33,line_height_number_large:1.25,line_height_number_medium:1.14,line_height_number_small:1.17,line_height_number_xsmall:1.2,line_height_caption_medium:1.17,line_height_caption_small:1.2,font_size_50:"0.75rem",font_size_100:"0.875rem",font_size_200:"1rem",font_size_300:"1.125rem",font_size_400:"1.25rem",font_size_500:"1.5rem",font_size_600:"2rem",font_size_700:"2.75rem",font_size_800:"3.5rem",font_size_root:"16px",font_size_heading_large:"4.5rem",font_size_heading_medium:"3.5rem",font_size_heading_small:"3rem",font_size_title_large:"2.125rem",font_size_title_medium:"1.5rem",font_size_title_small:"1.25rem",font_size_title_xsmall:"1.125rem",font_size_label_large:"1.125rem",font_size_label_medium:"16px",font_size_label_small:"0.875rem",font_size_body_large:"16px",font_size_body_medium:"0.875rem",font_size_body_small:"0.75rem",font_size_number_large:"16px",font_size_number_medium:"0.875rem",font_size_number_small:"0.75rem",font_size_number_xsmall:"0.625rem",font_size_caption_medium:"0.875rem",font_size_caption_small:"0.75rem",font_weight_light:"300",font_weight_normal:"400",font_weight_medium:"500",font_weight_semibold:"600",media_query_xs:"448px",media_query_sm:"720px",media_query_md:"960px",media_query_lg:"1200px",media_query_xl:"1440px",sizing_0:"0rem",sizing_100:"0.25rem",sizing_200:"0.5rem",sizing_300:"0.75rem",sizing_350:"0.875rem",sizing_400:"1rem",sizing_450:"1.25rem",sizing_500:"1.5rem",sizing_550:"1.75rem",sizing_600:"2rem",sizing_650:"2.5rem",sizing_700:"3rem",sizing_750:"3.5rem",sizing_800:"4rem",sizing_850:"6rem",sizing_900:"10rem",sizing_1000:"20rem",sizing_1100:"28rem",sizing_1150:"35rem",sizing_1200:"45rem",sizing_1300:"60rem",sizing_1350:"66rem",sizing_1400:"75rem",sizing_1500:"90rem",spacing_0:"0rem",spacing_100:"0.25rem",spacing_200:"0.5rem",spacing_300:"0.75rem",spacing_400:"1rem",spacing_450:"1.25rem",spacing_500:"1.5rem",spacing_550:"1.75rem",spacing_600:"2rem",spacing_650:"2.5rem",spacing_700:"3rem",spacing_750:"3.5rem",spacing_800:"4rem",spacing_850:"6rem",spacing_900:"10rem",transition_duration_75:"75ms",transition_duration_100:"100ms",transition_duration_150:"150ms",transition_duration_200:"200ms",transition_duration_300:"300ms",transition_property_color:"color, background-color, border-color, text-decoration-color, fill, stroke;",transition_property_all:"all",transition_property_opacity:"opacity",transition_property_box_shadow:"box-shadow",transition_property_transform:"transform",transition_timing_function_ease_in:"cubic-bezier(0.4, 0, 1, 1)",transition_timing_function_ease_out:"cubic-bezier(0, 0, 0.2, 1)",transition_timing_function_ease_in_out:"cubic-bezier(0.4, 0, 0.2, 1)"},Ix=C.keyframes`
|
|
68
68
|
0% {
|
|
69
69
|
opacity: 0;
|
|
70
70
|
}
|
|
@@ -72,7 +72,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
72
72
|
100% {
|
|
73
73
|
opacity: var(--overlay-opacity, 0.6);
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Ax=C.keyframes`
|
|
76
76
|
0% {
|
|
77
77
|
opacity: 0;
|
|
78
78
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -82,16 +82,16 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
82
82
|
opacity: 1;
|
|
83
83
|
transform: translate(-50%, -50%) scale(1);
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,Da=C.css`
|
|
86
86
|
background-color: ${h.color_background_black_strong};
|
|
87
87
|
opacity: 0.6;
|
|
88
88
|
position: fixed;
|
|
89
89
|
inset: 0;
|
|
90
90
|
z-index: 4;
|
|
91
|
-
animation: ${
|
|
92
|
-
`,
|
|
93
|
-
${
|
|
94
|
-
`,
|
|
91
|
+
animation: ${Ix} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
92
|
+
`,Mx=C(Uc)`
|
|
93
|
+
${Da}
|
|
94
|
+
`,Sa={small:"360px",medium:"540px",large:"960px"},Ta=C.css`
|
|
95
95
|
background: ${h.color_white};
|
|
96
96
|
padding: ${h.sizing_500};
|
|
97
97
|
max-width: 100vw;
|
|
@@ -105,11 +105,11 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
105
105
|
z-index: 5;
|
|
106
106
|
box-shadow: ${h.elevation_static_high};
|
|
107
107
|
border-radius: ${h.border_radius_400};
|
|
108
|
-
animation: ${
|
|
109
|
-
`,
|
|
110
|
-
${
|
|
111
|
-
width: ${e=>
|
|
112
|
-
`;function
|
|
108
|
+
animation: ${Ax} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
109
|
+
`,Nx=C(Hc)`
|
|
110
|
+
${Ta}
|
|
111
|
+
width: ${e=>Sa[e.size??"medium"]};
|
|
112
|
+
`;function Fx({children:e,size:t,...r}){return re(Wc,{children:[T(Mx,{}),T(Nx,{size:t,...r,children:e})]})}const ka=`
|
|
113
113
|
font-family: ${h.font_family_sans};
|
|
114
114
|
font-style: normal;
|
|
115
115
|
font-weight: 500;
|
|
@@ -119,9 +119,9 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
119
119
|
margin: 0;
|
|
120
120
|
margin-bottom: ${h.spacing_200};
|
|
121
121
|
color: ${h.color_text_strong};
|
|
122
|
-
`,
|
|
123
|
-
${
|
|
124
|
-
`,
|
|
122
|
+
`,zx=C(Gc)`
|
|
123
|
+
${ka}
|
|
124
|
+
`,Ca=C.css`
|
|
125
125
|
font-family: ${h.font_family_sans};
|
|
126
126
|
font-style: normal;
|
|
127
127
|
font-weight: 400;
|
|
@@ -130,14 +130,14 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
130
130
|
margin: 0;
|
|
131
131
|
margin-top: ${h.sizing_200}; /* or flex parent and gap? */
|
|
132
132
|
margin-bottom: ${h.sizing_400};
|
|
133
|
-
`,
|
|
134
|
-
${
|
|
135
|
-
`,
|
|
133
|
+
`,Lx=C(Yc)`
|
|
134
|
+
${Ca}
|
|
135
|
+
`,Xc=C.footer`
|
|
136
136
|
margin-top: ${h.spacing_400};
|
|
137
137
|
display: flex;
|
|
138
138
|
justify-content: end;
|
|
139
139
|
gap: ${h.sizing_200};
|
|
140
|
-
`,
|
|
140
|
+
`,Oa=C.css`
|
|
141
141
|
all: unset;
|
|
142
142
|
font-family: inherit;
|
|
143
143
|
height: 25px;
|
|
@@ -164,29 +164,29 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
164
164
|
&:active {
|
|
165
165
|
background-color: ${h.color_overlay_secondary_pressed};
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
168
|
-
${
|
|
169
|
-
`,
|
|
170
|
-
${
|
|
171
|
-
`,
|
|
172
|
-
${
|
|
173
|
-
width: ${e=>
|
|
174
|
-
`;function
|
|
175
|
-
${
|
|
176
|
-
`,
|
|
177
|
-
${
|
|
178
|
-
`,
|
|
179
|
-
${
|
|
180
|
-
`,
|
|
167
|
+
`,Kx=C(zn)`
|
|
168
|
+
${Oa}
|
|
169
|
+
`,jx=({children:e="×",...t})=>T(Kx,{...t,children:e}),Vx=Bc,Bx=Rc,Rx=zn,Wx=C(Sx)`
|
|
170
|
+
${Da}
|
|
171
|
+
`,Ux=C(Tx)`
|
|
172
|
+
${Ta}
|
|
173
|
+
width: ${e=>Sa[e.size??"medium"]};
|
|
174
|
+
`;function Hx({children:e,size:t,...r}){return re(Dx,{children:[T(Wx,{}),T(Ux,{size:t,...r,children:e})]})}const Gx=C(Cx)`
|
|
175
|
+
${ka}
|
|
176
|
+
`,Yx=C(Ox)`
|
|
177
|
+
${Ca}
|
|
178
|
+
`,qx=Xc,Zx=Ex,Xx=Px,Jx=kx,Qx=Zc,e_=C(Zc)`
|
|
179
|
+
${Oa}
|
|
180
|
+
`,t_=({children:e="×",...t})=>T(e_,{...t,children:e}),r_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),n_=l.forwardRef((e,t)=>l.createElement(r_.span,D({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),o_=({children:e,label:t})=>{const r=l.Children.only(e);return l.createElement(l.Fragment,null,l.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),l.createElement(n_,null,t))};function Wr({children:e,label:t}){return T(o_,{label:t,children:e})}const Ur={"border-radius":{0:"0",100:"1px",200:"2px",400:"4px",800:"8px",pill:"9999em",circle:"50%"},"border-width":{0:"0",100:"1px",200:"2px"},color:{gray:{4:"hsl(0, 0%, 4%)",8:"hsl(0, 0%, 8%)",10:"hsl(0, 0%, 10%)",12:"hsl(0, 0%, 12%)",14:"hsl(0, 0%, 14%)",16:"hsl(0, 0%, 16%)",24:"hsl(0, 0%, 24%)",32:"hsl(0, 0%, 32%)",56:"hsl(0, 0%, 56%)",64:"hsl(0, 0%, 64%)",84:"hsl(0, 0%, 84%)",94:"hsl(0, 0% 94%)",96:"hsl(0, 0%, 96%)"},white:"hsl(0, 0%, 100%)",black:"hsl(0, 0%, 0%)",background:{white:{standard:"hsl(0, 0%, 100%)",strong:"hsl(0, 0% 94%)",weak:"hsl(0, 0%, 96%)"},black:{standard:"hsl(0, 0%, 16%)",strong:"hsl(0, 0%, 8%)",weak:"hsl(0, 0%, 12%)"},sentiment:{negative:"hsl(11, 68%, 55%)",positive:"hsl(54, 63% 52%)",notice:"hsl(29, 74% 53%)",neutral:"hsl(0, 0%, 10%)"}},divider:{standard:"hsla(0, 0%, 0%, 12%)",strong:"hsla(0, 0%, 0%, 16%)",weak:"hsla(0, 0%, 0%, 8%)",inverse:{standard:"hsla(0, 0%, 1000%, 32%)",strong:"hsla(0, 0%, 100%, 48%)",weak:"hsla(0, 0%, 100%, 24%)"}},text:{standard:"hsl(0, 0%, 32%)",strong:"hsl(0, 0%, 0%)",weak:"hsl(0, 0%, 56%)",white:{standard:"hsl(0, 0%, 84%)",strong:"hsl(0, 0%, 100%)",weak:"hsl(0, 0%, 64%)"},sentiment:{negative:"hsl(11, 68%, 55%)",positive:"hsl(54, 63%, 52%)",notice:"hsl(29, 67%, 47%)",neutral:"hsl(0, 0%, 24%)"}},fill:{primary:{enabled:"hsla(0, 0%, 8%, 1)",hover:"hsl(210, 5%, 16%)",pressed:"hsl(210, 3%, 28%)",disabled:"hsla(0, 0%, 8%, 0.2)"},secondary:{enabled:"hsla(0, 0%, 0%, 0.06)",hover:"hsla(0, 0%, 0%, 0.12)",pressed:"hsla(0, 0%, 0%, 0.2)",disabled:"hsla(0, 0%, 88%, 0.5)"},inverse:{enabled:"hsl(0, 0%, 100%)",hover:"hsl(0, 0%, 94%)",pressed:"hsl(0, 0%, 90%)",disabled:"hsla(0, 0%, 98%, 0.4)"},danger:{enabled:"hsl(11, 68%, 55%)",hover:"hsl(11, 57%, 51%)",pressed:"hsl(11, 55%, 48%)",disabled:"hsla(11, 68%, 55%, 0.2)"}},outline:{"primary/danger":{enabled:"hsla(11, 68%, 55%, 0.24)",hover:"hsla(11, 68%, 55%, 0.48)",pressed:"hsla(11, 68%, 55%, 0.72)",disabled:"hsla(11, 68%, 55%, 0.16)",selected:{enabled:"hsla(11, 68%, 55%, 0.96)",hover:"hsla(11, 68%, 55%, 0.96)",pressed:"hsla(11, 68%, 55%, 0.96)"}},secondary:{enabled:"hsla(0, 0%, 0%, 0.16)",hover:"hsla(0, 0%, 0%, 0.32)",pressed:"hsla(0, 0%, 0%, 0.48)",disabled:"hsla(0, 0%, 14%, 0.16)",selected:{enabled:"hsla(0, 0%, 0%, 0.6)",hover:"hsla(0, 0%, 0%, 0.72)",pressed:"hsla(0, 0%, 0%, 0.76)"}},inverse:{enabled:"hsla(0, 0%, 100%, 0.32)",hover:"hsla(0, 0%, 100%, 0.48)",pressed:"hsla(0, 0%, 100%, 0.56)",disabled:"hsla(0, 0%, 100%, 0.2)",selected:{enabled:"hsla(0, 0%, 100%, 0.6)",hover:"hsla(0, 0%, 100%, 0.72)",pressed:"hsla(0, 0%, 100%, 0.8)"}},danger:{enabled:"hsl(11, 68%, 55%)",hover:"hsla(11, 68%, 55%, 0.9)",pressed:"hsla(11, 68%, 55%, 0.9)",disabled:"hsla(11, 68%, 55%, 0.32)"}},overlay:{primary:{enabled:"hsla(217.35, 81.6%, 51%, 0)",select:"hsla(10.52, 67.54%, 55.29%, 0.18)"},secondary:{enabled:"hsl(0, 0%, 100%)",hover:"hsl(0, 0%, 97%)",pressed:"hsl(0, 0%, 92%)",selected:{enabled:"hsl(0, 0%, 94%)",hover:"hsl(0, 0%, 91%)",pressed:"hsl(0, 0%, 88%)"}},inverse:{enabled:"hsl(0, 0%, 0%)",hover:"hsl(0, 0%, 4%)",pressed:"hsl(0, 0%, 12%)",selected:{enabled:"hsl(0, 0%, 10%)",hover:"hsl(0, 0%, 16%)",pressed:"hsl(0, 0%, 24%)"}}}},elevation:{static:{low:"0px 1px 1px rgba(0, 0, 0, 0.07), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 0px 8px rgba(0, 0, 0, 0.05)",medium:"0px 1px 1px rgba(0, 0, 0, 0.05), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 5px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.05), 0px 0px 8px rgba(0, 0, 0, 0.05)",high:"0px 2px 4px rgba(0, 0, 0, 0.03), 0px 6px 6px rgba(0, 0, 0, 0.03), 0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03), 0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03), 0px 0px 8px rgba(0, 0, 0, 0.03)"},interactive:{down:"inset 0px 1000px 250px rgba(0, 0, 0, 0.04)",low:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.07)",medium:"0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.07), 0px 1px 4px rgba(0, 0, 0, 0.08)",high:"0px 2px 4px rgba(0, 0, 0, 0.05), 0px 3px 5px rgba(0, 0, 0, 0.05), 0px 4px 6px rgba(0, 0, 0, 0.05), 0px 4px 20px rgba(0, 0, 0, 0.05)"}},"z-index":{auto:"auto",below:"-1",default:"1",above:"10",overlay:"1000"},"font-family":{inter:"'Inter', -apple-system, Helvetica, sans-serif",sans:"'Inter', -apple-system, Helvetica, sans-serif",inter_display:"'Inter', -apple-system, Helvetica, sans-serif",monospace:"'SFMono-Regular', Monaco, Consolas, 'Lucida Console', monospace"},"feature-settings":{number:"'tnum' on, 'lnum' on, 'ss01' on"},"letter-spacing":{tight:"-0.006em",tighter:"-0.01em",heading:{large:"-0.018em",medium:"-0.016em",small:"-0.014em"},title:{large:"-0.014em",medium:"-0.012em",small:"-0.01em",xsmall:"-0.008em"},label:{large:"-0.01em",medium:"normal",small:"-0.006em"},body:{large:"-0.01em",medium:"-0.006em",small:"normal"},number:{large:"-0.05em",medium:"-0.05em",small:"-0.04em",xsmall:"-0.05em"},caption:{medium:"0.01em",small:"0.02em"}},"line-height":{111:1.11,114:1.14,129:1.29,133:1.33,143:1.43,title:{large:1.06,medium:1.08,small:1.1,xsmall:1.11},label:{large:1.11,medium:1.12,small:1.14},body:{large:1.25,medium:1.29,small:1.33},number:{large:1.25,medium:1.14,small:1.17,xsmall:1.2},caption:{medium:1.17,small:1.2}},"font-size":{50:"0.75rem",100:"0.875rem",200:"1rem",300:"1.125rem",400:"1.25rem",500:"1.5rem",600:"2rem",700:"2.75rem",800:"3.5rem",root:"16px",heading:{large:"4.5rem",medium:"3.5rem",small:"3rem"},title:{large:"2.125rem",medium:"1.5rem",small:"1.25rem",xsmall:"1.125rem"},label:{large:"1.125rem",medium:"16px",small:"0.875rem"},body:{large:"16px",medium:"0.875rem",small:"0.75rem"},number:{large:"16px",medium:"0.875rem",small:"0.75rem",xsmall:"0.625rem"},caption:{medium:"0.875rem",small:"0.75rem"}},"font-weight":{light:"300",normal:"400",medium:"500",semibold:"600"},"media-query":{xs:"448px",sm:"720px",md:"960px",lg:"1200px",xl:"1440px"},sizing:{0:"0rem",100:"0.25rem",200:"0.5rem",300:"0.75rem",350:"0.875rem",400:"1rem",450:"1.25rem",500:"1.5rem",550:"1.75rem",600:"2rem",650:"2.5rem",700:"3rem",750:"3.5rem",800:"4rem",850:"6rem",900:"10rem",1e3:"20rem",1100:"28rem",1150:"35rem",1200:"45rem",1300:"60rem",1350:"66rem",1400:"75rem",1500:"90rem"},dialogWidths:{small:"360px",medium:"540px",large:"60rem"},spacing:{0:"0rem",100:"0.25rem",200:"0.5rem",300:"0.75rem",400:"1rem",450:"1.25rem",500:"1.5rem",550:"1.75rem",600:"2rem",650:"2.5rem",700:"3rem",750:"3.5rem",800:"4rem",850:"6rem",900:"10rem"},"transition-duration":{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms"},"transition-property":{color:"color, background-color, border-color, text-decoration-color, fill, stroke;",all:"all",opacity:"opacity",boxShadow:"box-shadow",transform:"transform"},"transition-timing-function":{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"}},a_=new Map(Object.entries(Ur.spacing)),Ln=e=>t=>e.has(t)?e.get(t):t,Re=Ln(a_),i_=Object.entries(Ur.elevation.interactive).map(([e,t])=>[`interactive_${e}`,t]),s_=Object.entries(Ur.elevation.interactive).map(([e,t])=>[`static_${e}`,t]),l_=[...i_,...s_],c_=new Map(l_),d_=Ln(c_),u_=new Map(Object.entries(Ur["border-radius"])),f_=Ln(u_),p_=new Map(Object.entries(Ur.sizing)),Bt=Ln(p_),Jc=C.div`
|
|
181
181
|
${({display:e})=>e&&`display: ${e};`}
|
|
182
182
|
|
|
183
|
-
${({w:e})=>e&&`width: ${
|
|
184
|
-
${({minW:e})=>e&&`min-width: ${
|
|
185
|
-
${({maxW:e})=>e&&`max-width: ${
|
|
183
|
+
${({w:e})=>e&&`width: ${Bt(e)};`}
|
|
184
|
+
${({minW:e})=>e&&`min-width: ${Bt(e)};`}
|
|
185
|
+
${({maxW:e})=>e&&`max-width: ${Bt(e)};`}
|
|
186
186
|
|
|
187
|
-
${({h:e})=>e&&`height: ${
|
|
188
|
-
${({minH:e})=>e&&`min-height: ${
|
|
189
|
-
${({maxH:e})=>e&&`max-height: ${
|
|
187
|
+
${({h:e})=>e&&`height: ${Bt(e)};`}
|
|
188
|
+
${({minH:e})=>e&&`min-height: ${Bt(e)};`}
|
|
189
|
+
${({maxH:e})=>e&&`max-height: ${Bt(e)};`}
|
|
190
190
|
|
|
191
191
|
${({bg:e})=>e&&`background: ${e};`}
|
|
192
192
|
${({bgColor:e})=>e&&`background-color: ${e};`}
|
|
@@ -196,7 +196,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
196
196
|
${({border:e})=>e&&`border: ${e};`}
|
|
197
197
|
${({borderColor:e})=>e&&`border-color: ${e};`}
|
|
198
198
|
${({borderWidth:e})=>e&&`border-width: ${e};`}
|
|
199
|
-
${({borderRadius:e})=>e&&`border-radius: ${
|
|
199
|
+
${({borderRadius:e})=>e&&`border-radius: ${f_(e)};`}
|
|
200
200
|
|
|
201
201
|
${({top:e})=>e&&`top: ${e};`}
|
|
202
202
|
${({right:e})=>e&&`right: ${e};`}
|
|
@@ -207,35 +207,35 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
207
207
|
${({position:e})=>e&&`position: ${e};`}
|
|
208
208
|
${({zIndex:e})=>e&&`z-index: ${e};`}
|
|
209
209
|
|
|
210
|
-
${({m:e})=>e&&`margin: ${
|
|
211
|
-
${({mt:e})=>e&&`margin-top: ${
|
|
212
|
-
${({mr:e})=>e&&`margin-right: ${
|
|
213
|
-
${({mb:e})=>e&&`margin-bottom: ${
|
|
214
|
-
${({ml:e})=>e&&`margin-left: ${
|
|
210
|
+
${({m:e})=>e&&`margin: ${Re(e)};`}
|
|
211
|
+
${({mt:e})=>e&&`margin-top: ${Re(e)};`}
|
|
212
|
+
${({mr:e})=>e&&`margin-right: ${Re(e)};`}
|
|
213
|
+
${({mb:e})=>e&&`margin-bottom: ${Re(e)};`}
|
|
214
|
+
${({ml:e})=>e&&`margin-left: ${Re(e)};`}
|
|
215
215
|
|
|
216
|
-
${({p:e})=>e&&`padding: ${
|
|
217
|
-
${({pt:e})=>e&&`padding-top: ${
|
|
218
|
-
${({pr:e})=>e&&`padding-right: ${
|
|
219
|
-
${({pb:e})=>e&&`padding-bottom: ${
|
|
220
|
-
${({pl:e})=>e&&`padding-left: ${
|
|
216
|
+
${({p:e})=>e&&`padding: ${Re(e)};`}
|
|
217
|
+
${({pt:e})=>e&&`padding-top: ${Re(e)};`}
|
|
218
|
+
${({pr:e})=>e&&`padding-right: ${Re(e)};`}
|
|
219
|
+
${({pb:e})=>e&&`padding-bottom: ${Re(e)};`}
|
|
220
|
+
${({pl:e})=>e&&`padding-left: ${Re(e)};`}
|
|
221
221
|
|
|
222
|
-
${({elevation:e})=>e&&`box-shadow: ${
|
|
222
|
+
${({elevation:e})=>e&&`box-shadow: ${d_(e)};`}
|
|
223
223
|
|
|
224
224
|
${({flexShrink:e})=>e&&`flex-shrink: ${e};`}
|
|
225
|
-
${({flexBasis:e})=>e&&`flex-basis: ${
|
|
225
|
+
${({flexBasis:e})=>e&&`flex-basis: ${Bt(e)};`}
|
|
226
226
|
${({flexGrow:e})=>e&&`flex-grow: ${e};`}
|
|
227
227
|
${({order:e})=>e&&`order: ${e};`}
|
|
228
228
|
${({alignSelf:e})=>e&&`align-self: ${e};`}
|
|
229
|
-
`,kt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function o_(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}const ei="dismissableLayer.update",a_="dismissableLayer.pointerDownOutside",i_="dismissableLayer.focusOutside";let hd;const s_=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),l_=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(s_),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=c_(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=d_(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(hd=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),bd(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=hd)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),bd())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ei,_),()=>document.removeEventListener(ei,_)},[]),l.createElement(kt.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))});function c_(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){gd(a_,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function d_(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&gd(i_,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function bd(){const e=new CustomEvent(ei);document.dispatchEvent(e)}function gd(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?o_(o,a):o.dispatchEvent(a)}function Ht(e){return e.split("-")[0]}function Jr(e){return e.split("-")[1]}function gr(e){return["top","bottom"].includes(Ht(e))?"x":"y"}function ti(e){return e==="y"?"height":"width"}function vd(e,t,r){let{reference:n,floating:o}=e;const a=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,s=gr(t),c=ti(s),u=n[c]/2-o[c]/2,d=s==="x";let f;switch(Ht(t)){case"top":f={x:a,y:n.y-o.height};break;case"bottom":f={x:a,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:i};break;case"left":f={x:n.x-o.width,y:i};break;default:f={x:n.x,y:n.y}}switch(Jr(t)){case"start":f[s]-=u*(r&&d?-1:1);break;case"end":f[s]+=u*(r&&d?-1:1)}return f}const u_=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=vd(c,n,s),f=n,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:y,y:x,data:w,reset:$}=await v({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=y??u,d=x??d,p={...p,[g]:{...p[g],...w}},$&&m<=50&&(m++,typeof $=="object"&&($.placement&&(f=$.placement),$.rects&&(c=$.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):$.rects),{x:u,y:d}=vd(c,f,s)),b=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};function $d(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Zn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Qr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=t,b=$d(m),g=s[p?f==="floating"?"reference":"floating":f],v=Zn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),y=Zn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[f]);return{top:v.top-y.top+b.top,bottom:y.bottom-v.bottom+b.bottom,left:v.left-y.left+b.left,right:y.right-v.right+b.right}}const f_=Math.min,Gt=Math.max;function ri(e,t,r){return Gt(e,f_(t,r))}const yd=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:c}=t;if(r==null)return{};const u=$d(n),d={x:o,y:a},f=gr(i),p=Jr(i),m=ti(f),b=await c.getDimensions(r),g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=s.reference[m]+s.reference[f]-d[f]-s.floating[m],x=d[f]-s.reference[f],w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let $=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;$===0&&($=s.floating[m]);const A=y/2-x/2,N=u[g],P=$-b[m]-u[v],_=$/2-b[m]/2+A,O=ri(N,_,P),L=(p==="start"?u[g]:u[v])>0&&_!==O&&s.reference[m]<=s.floating[m];return{[f]:d[f]-(L?_<N?N-_:P-_:0),data:{[f]:O,centerOffset:_-O}}}}),p_={left:"right",right:"left",bottom:"top",top:"bottom"};function Xn(e){return e.replace(/left|right|bottom|top/g,t=>p_[t])}function m_(e,t,r){r===void 0&&(r=!1);const n=Jr(e),o=gr(e),a=ti(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Xn(i)),{main:i,cross:Xn(i)}}const h_={start:"end",end:"start"};function xd(e){return e.replace(/start|end/g,t=>h_[t])}const wd=["top","right","bottom","left"];wd.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Jn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:m=!0,...b}=e,g=Ht(n),v=f||(g===i||!m?[Xn(i)]:function(_){const O=Xn(_);return[xd(_),O,xd(O)]}(i)),y=[i,...v],x=await Qr(t,b),w=[];let $=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&w.push(x[g]),d){const{main:_,cross:O}=m_(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));w.push(x[_],x[O])}if($=[...$,{placement:n,overflows:w}],!w.every(_=>_<=0)){var A,N;const _=((A=(N=o.flip)==null?void 0:N.index)!=null?A:0)+1,O=y[_];if(O)return{data:{index:_,overflows:$},reset:{placement:O}};let L="bottom";switch(p){case"bestFit":{var P;const T=(P=$.map(K=>[K,K.overflows.filter(D=>D>0).reduce((D,I)=>D+I,0)]).sort((K,D)=>K[1]-D[1])[0])==null?void 0:P[0].placement;T&&(L=T);break}case"initialPlacement":L=i}if(n!==L)return{reset:{placement:L}}}return{}}}};function _d(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ed(e){return wd.some(t=>e[t]>=0)}const Qn=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const a=_d(await Qr(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ed(a)}}}case"escaped":{const a=_d(await Qr(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:Ed(a)}}}default:return{}}}}},eo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(a,i){const{placement:s,platform:c,elements:u}=a,d=await(c.isRTL==null?void 0:c.isRTL(u.floating)),f=Ht(s),p=Jr(s),m=gr(s)==="x",b=["left","top"].includes(f)?-1:1,g=d&&m?-1:1,v=typeof i=="function"?i(a):i;let{mainAxis:y,crossAxis:x,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return p&&typeof w=="number"&&(x=p==="end"?-1*w:w),m?{x:x*g,y:y*b}:{x:y*b,y:x*g}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function Pd(e){return e==="x"?"y":"x"}const to=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:y,y:x}=v;return{x:y,y:x}}},...c}=e,u={x:r,y:n},d=await Qr(t,c),f=gr(Ht(o)),p=Pd(f);let m=u[f],b=u[p];if(a){const v=f==="y"?"bottom":"right";m=ri(m+d[f==="y"?"top":"left"],m,m-d[v])}if(i){const v=p==="y"?"bottom":"right";b=ri(b+d[p==="y"?"top":"left"],b,b-d[v])}const g=s.fn({...t,[f]:m,[p]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},ro=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=e,d={x:r,y:n},f=gr(o),p=Pd(f);let m=d[f],b=d[p];const g=typeof s=="function"?s({...a,placement:o}):s,v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const A=f==="y"?"height":"width",N=a.reference[f]-a.floating[A]+v.mainAxis,P=a.reference[f]+a.reference[A]-v.mainAxis;m<N?m=N:m>P&&(m=P)}if(u){var y,x,w,$;const A=f==="y"?"width":"height",N=["top","left"].includes(Ht(o)),P=a.reference[p]-a.floating[A]+(N&&(y=(x=i.offset)==null?void 0:x[p])!=null?y:0)+(N?0:v.crossAxis),_=a.reference[p]+a.reference[A]+(N?0:(w=($=i.offset)==null?void 0:$[p])!=null?w:0)-(N?v.crossAxis:0);b<P?b=P:b>_&&(b=_)}return{[f]:m,[p]:b}}}},no=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i,...s}=e,c=await Qr(t,s),u=Ht(r),d=Jr(r);let f,p;u==="top"||u==="bottom"?(f=u,p=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(p=u,f=d==="end"?"top":"bottom");const m=Gt(c.left,0),b=Gt(c.right,0),g=Gt(c.top,0),v=Gt(c.bottom,0),y={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Gt(c.top,c.bottom)):c[f]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(m!==0||b!==0?m+b:Gt(c.left,c.right)):c[p])},x=await o.getDimensions(a.floating);i==null||i({...t,...y});const w=await o.getDimensions(a.floating);return x.width!==w.width||x.height!==w.height?{reset:{rects:!0}}:{}}}};function Sd(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function ht(e){if(e==null)return window;if(!Sd(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function en(e){return ht(e).getComputedStyle(e)}function bt(e){return Sd(e)?"":e?(e.nodeName||"").toLowerCase():""}function Dd(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function ct(e){return e instanceof ht(e).HTMLElement}function Ct(e){return e instanceof ht(e).Element}function ni(e){return typeof ShadowRoot>"u"?!1:e instanceof ht(e).ShadowRoot||e instanceof ShadowRoot}function oo(e){const{overflow:t,overflowX:r,overflowY:n}=en(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function b_(e){return["table","td","th"].includes(bt(e))}function Td(e){const t=/firefox/i.test(Dd()),r=en(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"}function kd(){return!/^((?!chrome|android).)*safari/i.test(Dd())}const Cd=Math.min,tn=Math.max,ao=Math.round;function gt(e,t,r){var n,o,a,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,u=1;t&&ct(e)&&(c=e.offsetWidth>0&&ao(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ao(s.height)/e.offsetHeight||1);const d=Ct(e)?ht(e):window,f=!kd()&&r,p=(s.left+(f&&(n=(o=d.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(f&&(a=(i=d.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/u,b=s.width/c,g=s.height/u;return{width:b,height:g,top:m,right:p+b,bottom:m+g,left:p,x:p,y:m}}function Ot(e){return(t=e,(t instanceof ht(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function io(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Od(e){return gt(Ot(e)).left+io(e).scrollLeft}function g_(e,t,r){const n=ct(t),o=Ot(t),a=gt(e,n&&function(c){const u=gt(c);return ao(u.width)!==c.offsetWidth||ao(u.height)!==c.offsetHeight}(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((bt(t)!=="body"||oo(o))&&(i=io(t)),ct(t)){const c=gt(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=Od(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Id(e){return bt(e)==="html"?e:e.assignedSlot||e.parentNode||(ni(e)?e.host:null)||Ot(e)}function Ad(e){return ct(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function oi(e){const t=ht(e);let r=Ad(e);for(;r&&b_(r)&&getComputedStyle(r).position==="static";)r=Ad(r);return r&&(bt(r)==="html"||bt(r)==="body"&&getComputedStyle(r).position==="static"&&!Td(r))?t:r||function(n){let o=Id(n);for(ni(o)&&(o=o.host);ct(o)&&!["html","body"].includes(bt(o));){if(Td(o))return o;o=o.parentNode}return null}(e)||t}function Md(e){if(ct(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=gt(e);return{width:t.width,height:t.height}}function Nd(e){const t=Id(e);return["html","body","#document"].includes(bt(t))?e.ownerDocument.body:ct(t)&&oo(t)?t:Nd(t)}function so(e,t){var r;t===void 0&&(t=[]);const n=Nd(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=ht(n),i=o?[a].concat(a.visualViewport||[],oo(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(so(i))}function Fd(e,t,r){return t==="viewport"?Zn(function(n,o){const a=ht(n),i=Ot(n),s=a.visualViewport;let c=i.clientWidth,u=i.clientHeight,d=0,f=0;if(s){c=s.width,u=s.height;const p=kd();(p||!p&&o==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:c,height:u,x:d,y:f}}(e,r)):Ct(t)?function(n,o){const a=gt(n,!1,o==="fixed"),i=a.top+n.clientTop,s=a.left+n.clientLeft;return{top:i,left:s,x:s,y:i,right:s+n.clientWidth,bottom:i+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(t,r):Zn(function(n){var o;const a=Ot(n),i=io(n),s=(o=n.ownerDocument)==null?void 0:o.body,c=tn(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=tn(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-i.scrollLeft+Od(n);const f=-i.scrollTop;return en(s||a).direction==="rtl"&&(d+=tn(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:d,y:f}}(Ot(e)))}function v_(e){const t=so(e),r=["absolute","fixed"].includes(en(e).position)&&ct(e)?oi(e):e;return Ct(r)?t.filter(n=>Ct(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&ni(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&bt(n)!=="body"):[]}const $_={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?v_(t):[].concat(r),n],i=a[0],s=a.reduce((c,u)=>{const d=Fd(t,u,o);return c.top=tn(d.top,c.top),c.right=Cd(d.right,c.right),c.bottom=Cd(d.bottom,c.bottom),c.left=tn(d.left,c.left),c},Fd(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=ct(r),a=Ot(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((bt(r)!=="body"||oo(a))&&(i=io(r)),ct(r))){const c=gt(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-i.scrollLeft+s.x,y:t.y-i.scrollTop+s.y}},isElement:Ct,getDimensions:Md,getOffsetParent:oi,getDocumentElement:Ot,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:g_(t,oi(r),n),floating:{...Md(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>en(e).direction==="rtl"};function lo(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,u=a&&!s,d=c||u?[...Ct(e)?so(e):[],...so(t)]:[];d.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),u&&b.addEventListener("resize",r)});let f,p=null;if(i){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),Ct(e)&&!s&&p.observe(e),p.observe(t)}let m=s?gt(e):null;return s&&function b(){const g=gt(e);!m||g.x===m.x&&g.y===m.y&&g.width===m.width&&g.height===m.height||r(),m=g,f=requestAnimationFrame(b)}(),r(),()=>{var b;d.forEach(g=>{c&&g.removeEventListener("scroll",r),u&&g.removeEventListener("resize",r)}),(b=p)==null||b.disconnect(),p=null,s&&cancelAnimationFrame(f)}}const y_=(e,t,r)=>u_(e,t,{platform:$_,...r});var ai=typeof document<"u"?l.useLayoutEffect:l.useEffect;function ii(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ii(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!ii(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function x_(e){const t=Q.useRef(e);return ai(()=>{t.current=e}),t}function co(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=Q.useRef(null),i=Q.useRef(null),s=x_(o),c=Q.useRef(null),[u,d]=Q.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[f,p]=Q.useState(t);ii(f==null?void 0:f.map(w=>{let{options:$}=w;return $}),t==null?void 0:t.map(w=>{let{options:$}=w;return $}))||p(t);const m=Q.useCallback(()=>{!a.current||!i.current||y_(a.current,i.current,{middleware:f,placement:r,strategy:n}).then(w=>{b.current&&Sc.flushSync(()=>{d(w)})})},[f,r,n]);ai(()=>{b.current&&m()},[m]);const b=Q.useRef(!1);ai(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=Q.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const w=s.current(a.current,i.current,m);c.current=w}else m()},[m,s]),v=Q.useCallback(w=>{a.current=w,g()},[g]),y=Q.useCallback(w=>{i.current=w,g()},[g]),x=Q.useMemo(()=>({reference:a,floating:i}),[]);return Q.useMemo(()=>({...u,update:m,refs:x,reference:v,floating:y}),[u,m,x,v,y])}const uo=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?yd({element:t.current,padding:r}).fn(o):{}:t?yd({element:t,padding:r}).fn(o):{}}}},w_=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(kt.svg,S({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Yt(e){const[t,r]=l.useState(void 0);return ye(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const c=a.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const zd="Popper",[si,Ld]=Me(zd),[__,Kd]=si(zd),E_=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(__,{scope:t,anchor:n,onAnchorChange:o},r)},P_="PopperAnchor",S_=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Kd(P_,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(kt.div,S({},o,{ref:s}))}),fo="PopperContent",[D_,T_]=si(fo),[k_,C_]=si(fo,{hasParent:!1,positionUpdateFns:new Set}),O_=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:$=!0,onPlaced:A,...N}=e,P=Kd(fo,d),[_,O]=l.useState(null),L=le(t,he=>O(he)),[T,K]=l.useState(null),D=Yt(T),I=(r=D==null?void 0:D.width)!==null&&r!==void 0?r:0,q=(n=D==null?void 0:D.height)!==null&&n!==void 0?n:0,ie=f+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},re=Array.isArray(v)?v:[v],j=re.length>0,F={padding:W,boundary:re.filter(F_),altBoundary:j},{reference:M,floating:H,strategy:X,x:Z,y:oe,placement:ne,middlewareData:B,update:Y}=co({strategy:"fixed",placement:ie,whileElementsMounted:lo,middleware:[z_(),eo({mainAxis:p+q,alignmentAxis:b}),$?to({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ro():void 0,...F}):void 0,T?uo({element:T,padding:g}):void 0,$?Jn({...F}):void 0,no({...F,apply:({elements:he,availableWidth:Fe,availableHeight:Dt})=>{he.floating.style.setProperty("--radix-popper-available-width",`${Fe}px`),he.floating.style.setProperty("--radix-popper-available-height",`${Dt}px`)}}),L_({arrowWidth:I,arrowHeight:q}),w?Qn({strategy:"referenceHidden"}):void 0].filter(N_)});ye(()=>{M(P.anchor)},[M,P.anchor]);const G=Z!==null&&oe!==null,[J,se]=Vd(ne),te=ge(A);ye(()=>{G&&(te==null||te())},[G,te]);const $e=(o=B.arrow)===null||o===void 0?void 0:o.x,Se=(a=B.arrow)===null||a===void 0?void 0:a.y,Le=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Ke]=l.useState();ye(()=>{_&&Ke(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:Ve,positionUpdateFns:fe}=C_(fo,d),xe=!Ve;l.useLayoutEffect(()=>{if(!xe)return fe.add(Y),()=>{fe.delete(Y)}},[xe,fe,Y]),ye(()=>{xe&&G&&Array.from(fe).reverse().forEach(he=>requestAnimationFrame(he))},[xe,G,fe]);const Ue={"data-side":J,"data-align":se,...N,ref:L,style:{...N.style,animation:G?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:X,left:0,top:0,transform:G?`translate3d(${Math.round(Z)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ne,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(u=B.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(D_,{scope:d,placedSide:J,onArrowChange:K,arrowX:$e,arrowY:Se,shouldHideArrow:Le},xe?l.createElement(k_,{scope:d,hasParent:!0,positionUpdateFns:fe},l.createElement(kt.div,Ue)):l.createElement(kt.div,Ue)))}),I_="PopperArrow",A_={top:"bottom",right:"left",bottom:"top",left:"right"},M_=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=T_(I_,n),i=A_[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(w_,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function N_(e){return e!==void 0}function F_(e){return e!==null}const z_=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),L_=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Vd(s),v={start:"0%",center:"50%",end:"100%"}[g],y=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",$="";return b==="bottom"?(w=f?v:`${y}px`,$=`${-m}px`):b==="top"?(w=f?v:`${y}px`,$=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,$=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,$=f?v:`${x}px`),{data:{x:w,y:$}}}});function Vd(e){const[t,r="center"]=e.split("-");return[t,r]}const K_=E_,V_=S_,j_=O_,B_=M_,R_=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(kt.div,S({},o,{ref:t})),n):null}),jd="Popover",[Bd,VA]=Me(jd,[Ld]),po=Ld(),[W_,qt]=Bd(jd),Rd=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=po(t),c=l.useRef(null),[u,d]=l.useState(!1),[f=!1,p]=Ze({prop:n,defaultProp:o,onChange:a});return l.createElement(K_,s,l.createElement(W_,{scope:t,contentId:Ge(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:u,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:i},r))},U_="PopoverTrigger",Wd=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=qt(U_,r),a=po(r),i=le(t,o.triggerRef),s=l.createElement(kt.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Yd(o.open)},n,{ref:i,onClick:R(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(V_,S({asChild:!0},a),s)}),Ud="PopoverPortal",[H_,G_]=Bd(Ud,{forceMount:void 0}),Y_=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=qt(Ud,t);return l.createElement(H_,{scope:t,forceMount:r},l.createElement(je,{present:r||a.open},l.createElement(R_,{asChild:!0,container:o},n)))},rn="PopoverContent",Hd=l.forwardRef((e,t)=>{const r=G_(rn,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=qt(rn,e.__scopePopover);return l.createElement(je,{present:n||a.open},a.modal?l.createElement(q_,S({},o,{ref:t})):l.createElement(Z_,S({},o,{ref:t})))}),q_=l.forwardRef((e,t)=>{const r=qt(rn,e.__scopePopover),n=l.useRef(null),o=le(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return Gn(i)},[]),l.createElement(Wn,{as:De,allowPinchZoom:!0},l.createElement(Gd,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:R(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:R(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,u=s.button===2||c;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:R(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),Z_=l.forwardRef((e,t)=>{const r=qt(rn,e.__scopePopover),n=l.useRef(!1);return l.createElement(Gd,S({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),Gd=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:d,...f}=e,p=qt(rn,r),m=po(r);return Ln(),l.createElement(Fn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(l_,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},l.createElement(j_,S({"data-state":Yd(p.open),role:"dialog",id:p.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),X_="PopoverClose",J_=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=qt(X_,r);return l.createElement(kt.button,S({type:"button"},n,{ref:t,onClick:R(e.onClick,()=>o.onOpenChange(!1))}))}),Q_=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=po(r);return l.createElement(B_,S({},o,n,{ref:t}))});function Yd(e){return e?"open":"closed"}const eE=Rd,tE=Wd,rE=Y_,nE=Hd,qd=J_,oE=Q_;function Zt(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let u=l.useCallback((d,...f)=>{let p=(m,...b)=>{r&&(Object.is(c.current,m)||r(m,...b)),s||(c.current=m)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=d(s?c.current:b,...g);return p(v,...f),s?b:v})):(s||o(d),p(d,...f))},[s,r]);return s?c.current=e:e=n,[e,u]}function aE(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Xt(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,a=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):a<t?a=t:!isNaN(r)&&a>r&&(a=t+Math.floor((r-t)/n)*n);let i=n.toString(),s=i.indexOf("."),c=s>=0?i.length-s:0;if(c>0){let u=Math.pow(10,c);a=Math.round(a*u)/u}return a}const li={prefix:String(Math.round(Math.random()*1e10)),current:0},ci=l.createContext(li);let iE=Boolean(typeof window<"u"&&window.document&&window.document.createElement),di=new WeakMap;function sE(e=!1){let t=l.useContext(ci),r=l.useRef(null);if(r.current===null&&!e){var n,o;let a=(n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=di.get(a);i==null?di.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,di.delete(a))}r.current=++t.current}return r.current}function lE(e){let t=l.useContext(ci);t===li&&!iE&&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=sE(!!e);return e||`react-aria${t.prefix}-${r}`}function Zd(){let t=l.useContext(ci)!==li,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Xd(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Xd(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function mo(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Xd(e))&&(n&&(n+=" "),n+=t);return n}const Te=typeof window<"u"?l.useLayoutEffect:()=>{};function cE(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let a=l.useRef(null);a.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?a.current():r(s.value)},Te(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let ho=new Map;function Je(e){let[t,r]=l.useState(e),n=l.useRef(null),o=lE(t),a=l.useCallback(i=>{n.current=i},[]);return ho.set(o,a),Te(()=>{let i=o;return()=>{ho.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function dE(e,t){if(e===t)return e;let r=ho.get(e);if(r)return r(t),t;let n=ho.get(t);return n?(n(e),e):t}function bo(e=[]){let t=Je(),[r,n]=cE(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Te(o,[t,o,...e]),r}function Jt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function pe(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Jt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=mo(a,i):o==="id"&&a&&i?t.id=dE(a,i):t[o]=i!==void 0?i:a}}return t}const uE=new Set(["id"]),fE=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),pE=/^(data-.*)$/;function vt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(uE.has(a)||r&&fE.has(a)||n!=null&&n.has(a)||pE.test(a))&&(o[a]=e[a]);return o}function It(e){if(mE())e.focus({preventScroll:!0});else{let t=hE(e);e.focus(),bE(t)}}let go=null;function mE(){if(go==null){go=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return go=!0,!0}})}catch{}}return go}function hE(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;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 bE(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let vr=new Map,ui=new Set;function Jd(){if(typeof window>"u")return;let e=r=>{let n=vr.get(r.target);n||(n=new Set,vr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=vr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),vr.delete(r.target)),vr.size===0)){for(let o of ui)o();ui.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Jd():document.addEventListener("DOMContentLoaded",Jd));function Qd(e){requestAnimationFrame(()=>{vr.size===0?e():ui.add(e)})}function fi(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:c,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var c;let u=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,u,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function pi(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=Je(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function dt(e){const t=l.useRef();return Te(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function gE(){return typeof window.ResizeObserver<"u"}function vE(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(gE()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function eu(e,t){Te(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function nn(e){for(tu(e)&&(e=e.parentElement);e&&!tu(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function tu(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let $E=0;const mi=new Map;function hi(e){let[t,r]=l.useState(void 0);return Te(()=>{if(!e)return;let n=mi.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${$E++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},mi.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),mi.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function bi(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 gi(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 Qt(){return gi(/^Mac/i)}function ru(){return gi(/^iPhone/i)}function nu(){return gi(/^iPad/i)||Qt()&&navigator.maxTouchPoints>1}function $r(){return ru()||nu()}function yE(){return Qt()||$r()}function xE(){return bi(/AppleWebKit/i)&&!wE()}function wE(){return bi(/Chrome/i)}function ou(){return bi(/Android/i)}function vo(e,t,r,n){let o=l.useRef(r);o.current=r;let a=r==null;l.useEffect(()=>{if(a)return;let i=e.current,s=c=>o.current.call(this,c);return i.addEventListener(t,s,n),()=>{i.removeEventListener(t,s,n)}},[e,t,n,a])}function vi(e,t){let r=au(e,t,"left"),n=au(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:c,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),f=e.scrollTop+parseInt(c,10),p=d+e.clientWidth,m=f+e.clientHeight;r<=i?i=r-parseInt(u,10):r+o>p&&(i+=r+o-p),n<=f?s=n-parseInt(c,10):n+a>m&&(s+=n+a-m),e.scrollLeft=i,e.scrollTop=s}function au(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function iu(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let c=nn(e);for(;e&&c&&e!==i&&c!==i;)vi(c,e),e=c,c=nn(e)}else{var r;let{left:c,top:u}=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(c-d)>1||Math.abs(u-f)>1){var n,o,a;t==null||(n=t.containingElement)===null||n===void 0||(o=n.scrollIntoView)===null||o===void 0||o.call(n,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function $i(e){return e.mozInputSource===0&&e.isTrusted?!0:ou()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function _E(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let xr="default",yi="",$o=new WeakMap;function su(e){$r()?(xr==="default"&&(yi=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),xr="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&($o.set(e,e.style.userSelect),e.style.userSelect="none")}function yo(e){if($r()){if(xr!=="disabled")return;xr="restoring",setTimeout(()=>{Qd(()=>{xr==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=yi||""),yi="",xr="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&$o.has(e)){let t=$o.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),$o.delete(e)}}const lu=l.createContext(null);lu.displayName="PressResponderContext";function EE(e){let t=l.useContext(lu);if(t){let{register:r,...n}=t;e=pe(n,e),r()}return eu(t,e.ref),e}function wr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=EE(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:u};let[b,g]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:x}=fi(),w=l.useMemo(()=>{let $=v.current,A=(T,K)=>{let{onPressStart:D,onPressChange:I,isDisabled:q}=m.current;q||$.didFirePressStart||(D&&D({type:"pressstart",pointerType:K,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),I&&I(!0),$.didFirePressStart=!0,g(!0))},N=(T,K,D=!0)=>{let{onPressEnd:I,onPressChange:q,onPress:ie,isDisabled:W}=m.current;$.didFirePressStart&&($.ignoreClickAfterPress=!0,$.didFirePressStart=!1,I&&I({type:"pressend",pointerType:K,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),q&&q(!1),g(!1),ie&&D&&!W&&ie({type:"press",pointerType:K,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}))},P=(T,K)=>{let{onPressUp:D,isDisabled:I}=m.current;I||D&&D({type:"pressup",pointerType:K,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey})},_=T=>{$.isPressed&&($.isOverTarget&&N($t($.target,T),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,x(),d||yo($.target))},O={onKeyDown(T){wi(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)?(du(T.target,T.key)&&T.preventDefault(),T.stopPropagation(),!$.isPressed&&!T.repeat&&($.target=T.currentTarget,$.isPressed=!0,A(T,"keyboard"),y(document,"keyup",L,!1))):T.key==="Enter"&&xi(T.currentTarget)&&T.stopPropagation()},onKeyUp(T){wi(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&P($t($.target,T),"keyboard")},onClick(T){T&&!T.currentTarget.contains(T.target)||T&&T.button===0&&(T.stopPropagation(),i&&T.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&($.pointerType==="virtual"||$i(T.nativeEvent))&&(!i&&!c&&It(T.currentTarget),A(T,"virtual"),P(T,"virtual"),N(T,"virtual")),$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1)}},L=T=>{if($.isPressed&&wi(T,$.target)){du(T.target,T.key)&&T.preventDefault(),T.stopPropagation(),$.isPressed=!1;let K=T.target;N($t($.target,T),"keyboard",$.target.contains(K)),x(),$.target instanceof HTMLElement&&$.target.contains(K)&&(xi($.target)||$.target.getAttribute("role")==="link")&&$.target.click()}};if(typeof PointerEvent<"u"){O.onPointerDown=I=>{if(!(I.button!==0||!I.currentTarget.contains(I.target))){if(_E(I.nativeEvent)){$.pointerType="virtual";return}_i(I.currentTarget)&&I.preventDefault(),$.pointerType=I.pointerType,I.stopPropagation(),$.isPressed||($.isPressed=!0,$.isOverTarget=!0,$.activePointerId=I.pointerId,$.target=I.currentTarget,!i&&!c&&It(I.currentTarget),d||su($.target),A(I,$.pointerType),y(document,"pointermove",T,!1),y(document,"pointerup",K,!1),y(document,"pointercancel",D,!1))}},O.onMouseDown=I=>{I.currentTarget.contains(I.target)&&I.button===0&&(_i(I.currentTarget)&&I.preventDefault(),I.stopPropagation())},O.onPointerUp=I=>{!I.currentTarget.contains(I.target)||$.pointerType==="virtual"||I.button===0&&_r(I,I.currentTarget)&&P(I,$.pointerType||I.pointerType)};let T=I=>{I.pointerId===$.activePointerId&&(_r(I,$.target)?$.isOverTarget||($.isOverTarget=!0,A($t($.target,I),$.pointerType)):$.isOverTarget&&($.isOverTarget=!1,N($t($.target,I),$.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(I)))},K=I=>{I.pointerId===$.activePointerId&&$.isPressed&&I.button===0&&(_r(I,$.target)?N($t($.target,I),$.pointerType):$.isOverTarget&&N($t($.target,I),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,x(),d||yo($.target))},D=I=>{_(I)};O.onDragStart=I=>{I.currentTarget.contains(I.target)&&_(I)}}else{O.onMouseDown=D=>{D.button!==0||!D.currentTarget.contains(D.target)||(_i(D.currentTarget)&&D.preventDefault(),D.stopPropagation(),!$.ignoreEmulatedMouseEvents&&($.isPressed=!0,$.isOverTarget=!0,$.target=D.currentTarget,$.pointerType=$i(D.nativeEvent)?"virtual":"mouse",!i&&!c&&It(D.currentTarget),A(D,$.pointerType),y(document,"mouseup",T,!1)))},O.onMouseEnter=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),$.isPressed&&!$.ignoreEmulatedMouseEvents&&($.isOverTarget=!0,A(D,$.pointerType)))},O.onMouseLeave=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),$.isPressed&&!$.ignoreEmulatedMouseEvents&&($.isOverTarget=!1,N(D,$.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(D)))},O.onMouseUp=D=>{D.currentTarget.contains(D.target)&&!$.ignoreEmulatedMouseEvents&&D.button===0&&P(D,$.pointerType)};let T=D=>{if(D.button===0){if($.isPressed=!1,x(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}_r(D,$.target)?N($t($.target,D),$.pointerType):$.isOverTarget&&N($t($.target,D),$.pointerType,!1),$.isOverTarget=!1}};O.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;D.stopPropagation();let I=PE(D.nativeEvent);I&&($.activePointerId=I.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=D.currentTarget,$.pointerType="touch",!i&&!c&&It(D.currentTarget),d||su($.target),A(D,$.pointerType),y(window,"scroll",K,!0))},O.onTouchMove=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!$.isPressed))return;let I=cu(D.nativeEvent,$.activePointerId);I&&_r(I,D.currentTarget)?$.isOverTarget||($.isOverTarget=!0,A(D,$.pointerType)):$.isOverTarget&&($.isOverTarget=!1,N(D,$.pointerType,!1),m.current.shouldCancelOnPointerExit&&_(D))},O.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!$.isPressed))return;let I=cu(D.nativeEvent,$.activePointerId);I&&_r(I,D.currentTarget)?(P(D,$.pointerType),N(D,$.pointerType)):$.isOverTarget&&N(D,$.pointerType,!1),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,d||yo($.target),x()},O.onTouchCancel=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),$.isPressed&&_(D))};let K=D=>{$.isPressed&&D.target.contains($.target)&&_({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};O.onDragStart=D=>{D.currentTarget.contains(D.target)&&_(D)}}return O},[y,i,c,x,d]);return l.useEffect(()=>()=>{d||yo(v.current.target)},[d]),{isPressed:s||b,pressProps:pe(p,w)}}function xi(e){return e.tagName==="A"&&e.hasAttribute("href")}function wi(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!uu(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!xi(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function PE(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function cu(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function $t(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function SE(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function DE(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function _r(e,t){let r=t.getBoundingClientRect(),n=SE(e);return DE(r,n)}function _i(e){return!(e instanceof HTMLElement)||!e.draggable}function du(e,t){return e instanceof HTMLInputElement?!uu(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const TE=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function uu(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":TE.has(e.type)}class kE{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 fu(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Te(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),l.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=a=>{var i,s;t.current.isFocused=!1,n.disabled&&((s=(i=t.current).onBlur)===null||s===void 0||s.call(i,new kE("blur",a))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function Ei(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),i=fu(a),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),i(c))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}let yt=null,on=new Set,pu=!1,er=!1,Pi=!1;const CE={Tab:!0,Escape:!0};function xo(e,t){for(let r of on)r(e,t)}function OE(e){return!(e.metaKey||!Qt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function mu(e){er=!0,OE(e)&&(yt="keyboard",xo("keyboard",e))}function Er(e){yt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(er=!0,xo("pointer",e))}function IE(e){$i(e)&&(er=!0,yt="virtual")}function AE(e){e.target===window||e.target===document||(!er&&!Pi&&(yt="virtual",xo("virtual",e)),er=!1,Pi=!1)}function ME(){er=!1,Pi=!0}function wo(){if(typeof window>"u"||pu)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){er=!0,e.apply(this,arguments)},document.addEventListener("keydown",mu,!0),document.addEventListener("keyup",mu,!0),document.addEventListener("click",IE,!0),window.addEventListener("focus",AE,!0),window.addEventListener("blur",ME,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Er,!0),document.addEventListener("pointermove",Er,!0),document.addEventListener("pointerup",Er,!0)):(document.addEventListener("mousedown",Er,!0),document.addEventListener("mousemove",Er,!0),document.addEventListener("mouseup",Er,!0)),pu=!0}typeof document<"u"&&(document.readyState!=="loading"?wo():document.addEventListener("DOMContentLoaded",wo));function Si(){return yt!=="pointer"}function NE(){return yt}function hu(e){yt=e,xo(e,null)}function bu(){wo();let[e,t]=l.useState(yt);return l.useEffect(()=>{let r=()=>{t(yt)};return on.add(r),()=>{on.delete(r)}},[]),e}function FE(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!CE[r.key])}function zE(e,t,r){wo(),l.useEffect(()=>{let n=(o,a)=>{FE(r==null?void 0:r.isTextInput,o,a)&&e(Si())};return on.add(n),()=>{on.delete(n)}},t)}function Pr(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(u),o&&o(!1))},[r,o,a]),s=fu(i),c=l.useCallback(u=>{a.current.isFocusWithin||(n&&n(u),o&&o(!0),a.current.isFocusWithin=!0,s(u))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}let _o=!1,Di=0;function Ti(){_o=!0,setTimeout(()=>{_o=!1},50)}function gu(e){e.pointerType==="touch"&&Ti()}function LE(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",gu):document.addEventListener("touchend",Ti),Di++,()=>{Di--,!(Di>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",gu):document.removeEventListener("touchend",Ti))}}function KE(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(LE,[]);let{hoverProps:c,triggerHoverEnd:u}=l.useMemo(()=>{let d=(m,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},f=(m,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{_o&&m.pointerType==="mouse"||d(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!_o&&d(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,o,s]);return l.useEffect(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:a}}function VE(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,l.useEffect(()=>{if(n)return;let s=c=>{Eo(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=u=>{i.isPointerDown&&i.onInteractOutside&&Eo(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",c,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",c,!0)}}else{let c=d=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&Eo(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1},u=d=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&Eo(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",c,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",u,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",c,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",u,!0)}}},[t,i,n])}function Eo(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 vu(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 jE(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:vu(e.onKeyDown),onKeyUp:vu(e.onKeyUp)}}}function BE(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);vo(t,"wheel",n?null:o)}const RE=500;function $u(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=RE,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:u}=fi(),{pressProps:d}=wr({isDisabled:t,onPressStart(p){if((p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=null},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};c(p.target,"contextmenu",m,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=hi(o&&!t?i:null);return{longPressProps:pe(d,f)}}function Po(e){if(NE()==="virtual"){let t=document.activeElement;Qd(()=>{document.activeElement===t&&document.contains(e)&&It(e)})}else It(e)}function WE(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function UE(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function yu(e,t){return e.nodeName!=="#comment"&&WE(e)&&UE(e,t)&&(!e.parentElement||yu(e.parentElement,e))}const xu=l.createContext(null);let Ee=null;function HE(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),{parentNode:c}=l.useContext(xu)||{},u=l.useMemo(()=>new Ii({scopeRef:s}),[s]);Te(()=>{let p=c||ke.root;if(ke.getTreeNode(p.scopeRef)&&Ee&&!To(Ee,p.scopeRef)){let m=ke.getTreeNode(Ee);m&&(p=m)}p.addChild(u),ke.addNode(u)},[u,c]),Te(()=>{let p=ke.getTreeNode(s);p.contain=r},[r]),Te(()=>{let p=a.current.nextSibling,m=[];for(;p&&p!==i.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),QE(s,n,r),ZE(s,r),t5(s,n,r),JE(s,o),l.useEffect(()=>{if(s){let p=document.activeElement,m=null;if(Re(p,s.current)){for(let b of ke.traverse())Re(p,b.scopeRef.current)&&(m=b);m===ke.getTreeNode(s)&&(Ee=m.scopeRef)}return()=>{let b=ke.getTreeNode(s).parent.scopeRef;(s===Ee||To(s,Ee))&&(!b||ke.getTreeNode(b))&&(Ee=b),ke.removeTreeNode(s)}}},[s]);let d=l.useMemo(()=>GE(s),[]),f=l.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return l.createElement(xu.Provider,{value:f},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function GE(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[0].previousElementSibling,u=qe(tr(r),{tabbable:o,accept:i},r);u.currentNode=Re(s,r)?s:c;let d=u.nextNode();return!d&&a&&(u.currentNode=c,d=u.nextNode()),d&&Ye(d,!0),d},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[r.length-1].nextElementSibling,u=qe(tr(r),{tabbable:o,accept:i},r);u.currentNode=Re(s,r)?s:c;let d=u.previousNode();return!d&&a&&(u.currentNode=c,d=u.previousNode()),d&&Ye(d,!0),d},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=qe(tr(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Ye(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=qe(tr(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ye(i,!0),i}}}const ki=["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]"],YE=ki.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";ki.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const qE=ki.join(':not([hidden]):not([tabindex="-1"]),');function tr(e){return e[0].parentElement}function So(e){let t=ke.getTreeNode(Ee);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function ZE(e,t){let r=l.useRef(),n=l.useRef(null);Te(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!So(e))return;let u=document.activeElement,d=e.current;if(!Re(u,d))return;let f=qe(tr(d),{tabbable:!0},d);f.currentNode=u;let p=c.shiftKey?f.previousNode():f.nextNode();p||(f.currentNode=c.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,p=c.shiftKey?f.previousNode():f.nextNode()),c.preventDefault(),p&&Ye(p,!0)},i=c=>{(!Ee||To(Ee,e))&&Re(c.target,e.current)?(Ee=e,r.current=c.target):So(e)&&!Do(c.target,e)?r.current?r.current.focus():Ee&&ko(Ee.current):So(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{So(e)&&!Do(document.activeElement,e)&&(Ee=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):Ee&&ko(Ee.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(c=>c.addEventListener("focusin",i,!1)),o.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(c=>c.removeEventListener("focusin",i,!1)),o.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),l.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function wu(e){return Do(e)}function Re(e,t){return t.some(r=>r.contains(e))}function Do(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of ke.traverse(ke.getTreeNode(t)))if(Re(e,r.current))return!0;return!1}function XE(e){return Do(e,Ee)}function To(e,t){var r;let n=(r=ke.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ye(e,t=!1){if(e!=null&&!t)try{Po(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function ko(e,t=!0){let r=e[0].previousElementSibling,n=qe(tr(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=qe(tr(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ye(o)}function JE(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&(Ee=e,Re(document.activeElement,Ee.current)||ko(e.current)),r.current=!1},[e])}function QE(e,t,r){Te(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;Re(i,e.current)?Ee=e:wu(i)||(Ee=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function e5(e){let t=ke.getTreeNode(Ee);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function t5(e,t,r){const n=l.useRef(typeof document<"u"?document.activeElement:null);Te(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!Ee||To(Ee,e))&&(Ee=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),Te(()=>{if(!t)return;ke.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!Re(i,e.current))return;let s=ke.getTreeNode(e).nodeToRestore,c=qe(document.body,{tabbable:!0});c.currentNode=i;let u=a.shiftKey?c.previousNode():c.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,ke.getTreeNode(e).nodeToRestore=null),(!u||!Re(u,e.current))&&s){c.currentNode=s;do u=a.shiftKey?c.previousNode():c.nextNode();while(Re(u,e.current));a.preventDefault(),a.stopPropagation(),u?Ye(u,!0):wu(s)?Ye(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=ke.getTreeNode(e).nodeToRestore;if(t&&a&&(Re(document.activeElement,e.current)||document.activeElement===document.body&&e5(e))){let i=ke.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Ye(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&ke.getTreeNode(s.scopeRef)){ko(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function qe(e,t,r){let n=t!=null&&t.tabbable?qE:YE,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&yu(a)&&(!r||Re(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function _u(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,u=qe(n,{tabbable:a,accept:s});n.contains(c)&&(u.currentNode=c);let d=u.nextNode();return!d&&i&&(u.currentNode=n,d=u.nextNode()),d&&Ye(d,!0),d},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,u=qe(n,{tabbable:a,accept:s});if(n.contains(c))u.currentNode=c;else{let f=Ci(u);return f&&Ye(f,!0),f}let d=u.previousNode();return!d&&i&&(u.currentNode=n,d=Ci(u)),d&&Ye(d,!0),d},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=qe(n,{tabbable:o,accept:a}).nextNode();return s&&Ye(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=qe(n,{tabbable:o,accept:a}),s=Ci(i);return s&&Ye(s,!0),s}}}function Ci(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class Oi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),a=new Ii({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&Re(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.size>0&&o.forEach(a=>n.addChild(a)),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(){let t=new Oi;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){yr(this,"fastMap",new Map),this.root=new Ii({scopeRef:null}),this.fastMap.set(null,this.root)}}class Ii{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){yr(this,"children",new Set),yr(this,"contain",!1),this.scopeRef=t.scopeRef}}let ke=new Oi;function Sr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||Si()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),d=l.useCallback(m=>{o.current.isFocused=m,i(m),u()},[u]);zE(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:r});let{focusProps:f}=Ei({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=Pr({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?p:f}}function r5(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=Sr(e),s=l.Children.only(t);return l.cloneElement(s,pe(s.props,{...i,className:mo({[r||""]:o,[n||""]:a})}))}let n5=l.createContext(null);function o5(e){let t=l.useContext(n5)||{};eu(t,e);let{ref:r,...n}=t;return n}function Ai(e,t){let{focusProps:r}=Ei(e),{keyboardProps:n}=jE(e),o=pe(r,n),a=o5(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Po(t.current),s.current=!1},[t]),{focusableProps:pe({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function a5(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,u;r!=="a"&&(u={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=Ai(e,t),{pressProps:f,isPressed:p}=wr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=vt(c,{labelable:!0}),b=pe(d,f);return{isPressed:p,linkProps:pe(m,{...b,...u,"aria-disabled":s||void 0,onClick:g=>{f.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class Mi{getStringForLocale(t,r){let n=this.strings[r];n||(n=i5(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function i5(e,t,r="en-US"){if(t[e])return t[e];let n=s5(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function s5(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Eu=new Map,Pu=new Map;class l5{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 o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=Eu.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Eu.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Pu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Pu.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}}function c5(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Co(e,t,r){c5(e,t),t.set(e,r)}function Ni(e,t){return e-t*Math.floor(e/t)}const Su=1721426;function Oo(e,t,r,n){t=Fi(e,t);let o=t-1,a=-2;return r<=2?a=0:Io(t)&&(a=-1),Su-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Io(e){return e%4===0&&(e%100!==0||e%400===0)}function Fi(e,t){return e==="BC"?1-t:t}function d5(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const u5={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 At{fromJulianDay(t){let r=t,n=r-Su,o=Math.floor(n/146097),a=Ni(n,146097),i=Math.floor(a/36524),s=Ni(a,36524),c=Math.floor(s/1461),u=Ni(s,1461),d=Math.floor(u/365),f=o*400+i*100+c*4+d+(i!==4&&d!==4?1:0),[p,m]=d5(f),b=r-Oo(p,m,1,1),g=2;r<Oo(p,m,3,1)?g=0:Io(m)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),y=r-Oo(p,m,v,1)+1;return new Tr(p,m,v,y)}toJulianDay(t){return Oo(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return u5[Io(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Io(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(){yr(this,"identifier","gregory")}}function Du(e){return wt(Date.now(),e)}function f5(e){return Fu(Du(e))}function Tu(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function ku(e,t){return Cu(e)-Cu(t)}function Cu(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let zi=null;function Li(){return zi==null&&(zi=new Intl.DateTimeFormat().resolvedOptions().timeZone),zi}function p5(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function m5(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Dr(e){e=We(e,new At);let t=Fi(e.era,e.year);return Ou(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Ou(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function Ki(e,t){if(t==="UTC")return 0;if(e>0&&t===Li())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=Au(e,t);return Ou(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const Iu=new Map;function Au(e,t){let r=Iu.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"}),Iu.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const Mu=864e5;function h5(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>b5(e,t,a))}function b5(e,t,r){let n=Au(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 xt(e,t,r="compatible"){let n=Mt(e);if(t==="UTC")return Dr(n);if(t===Li()&&r==="compatible"){n=We(n,new At);let c=new Date,u=Fi(n.era,n.year);return c.setFullYear(u,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=Dr(n),a=Ki(o-Mu,t),i=Ki(o+Mu,t),s=h5(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function Nu(e,t,r="compatible"){return new Date(xt(e,t,r))}function wt(e,t){let r=Ki(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),u=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new cn(o,a,i,t,r,s,c,u,d)}function Fu(e){return new Tr(e.calendar,e.era,e.year,e.month,e.day)}function Mt(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new No(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function g5(e){return new ln(e.hour,e.minute,e.second,e.millisecond)}function We(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,rr(n),n}function v5(e,t,r){if(e instanceof cn)return e.timeZone===t?e:y5(e,t);let n=xt(e,t,r);return wt(n,t)}function $5(e){let t=Dr(e)-e.offset;return new Date(t)}function y5(e,t){let r=Dr(e)-e.offset;return We(wt(r,t),e.calendar)}const an=36e5;function Ao(e,t){let r=e.copy(),n="hour"in r?Vu(r,t):0;Vi(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ji(r),zu(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,x5(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Vi(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ji(e){for(;e.month<1;)Vi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Vi(e,1)}function x5(e){for(;e.day<1;)e.month--,ji(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ji(e)}function zu(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 rr(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),zu(e)}function Bi(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Lu(e,t){return Ao(e,Bi(t))}function Ri(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),rr(r),r}function sn(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),Ku(r),r}function w5(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Mo(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Mo(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Mo(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Mo(e.hour,24),t}function Ku(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 Mo(e,t){let r=e%t;return r<0&&(r+=t),r}function Vu(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,w5(e)}function ju(e,t){let r=e.copy();return Vu(r,t),r}function _5(e,t){return ju(e,Bi(t))}function Wi(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=_t(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],rr(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=_t(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=_t(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=_t(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(o),rr(o),o}function Ui(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;i=c?12:0,s=c?23:11}o.hour=_t(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=_t(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=_t(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=_t(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function _t(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Bu(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=Ao(Mt(e),{years:t.years,months:t.months,days:t.days});r=xt(o,e.timeZone)}else r=Dr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=wt(r,e.timeZone);return We(n,e.calendar)}function E5(e,t){return Bu(e,Bi(t))}function P5(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=Mt(e),s=We(sn(i,{hour:o}),new At),c=[xt(s,e.timeZone,"earlier"),xt(s,e.timeZone,"later")].filter(b=>wt(b,e.timeZone).day===s.day)[0],u=We(sn(i,{hour:a}),new At),d=[xt(u,e.timeZone,"earlier"),xt(u,e.timeZone,"later")].filter(b=>wt(b,e.timeZone).day===u.day).pop(),f=Dr(e)-e.offset,p=Math.floor(f/an),m=f%an;return f=_t(p,r,Math.floor(c/an),Math.floor(d/an),n==null?void 0:n.round)*an+m,We(wt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Ui(e,t,r,n);case"era":case"year":case"month":case"day":{let o=Wi(Mt(e),t,r,n),a=xt(o,e.timeZone);return We(wt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function S5(e,t,r){let n=Mt(e),o=sn(Ri(n,t),t);if(o.compare(n)===0)return e;let a=xt(o,e.timeZone,r);return We(wt(a,e.timeZone),e.calendar)}function Ru(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 Wu(e){let t=We(e,new At);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Uu(e){return`${Wu(e)}T${Ru(e)}`}function D5(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 T5(e){return`${Uu(e)}${D5(e.offset)}[${e.timeZone}]`}function Hi(e){let t=typeof e[0]=="object"?e.shift():new At,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var k5=new WeakMap;class Tr{copy(){return this.era?new Tr(this.calendar,this.era,this.year,this.month,this.day):new Tr(this.calendar,this.year,this.month,this.day)}add(t){return Ao(this,t)}subtract(t){return Lu(this,t)}set(t){return Ri(this,t)}cycle(t,r,n){return Wi(this,t,r,n)}toDate(t){return Nu(this,t)}toString(){return Wu(this)}compare(t){return Tu(this,t)}constructor(...t){Co(this,k5,{writable:!0,value:void 0});let[r,n,o,a,i]=Hi(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,rr(this)}}var C5=new WeakMap;class ln{copy(){return new ln(this.hour,this.minute,this.second,this.millisecond)}add(t){return ju(this,t)}subtract(t){return _5(this,t)}set(t){return sn(this,t)}cycle(t,r,n){return Ui(this,t,r,n)}toString(){return Ru(this)}compare(t){return ku(this,t)}constructor(t=0,r=0,n=0,o=0){Co(this,C5,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,Ku(this)}}var O5=new WeakMap;class No{copy(){return this.era?new No(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new No(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ao(this,t)}subtract(t){return Lu(this,t)}set(t){return Ri(sn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return Wi(this,t,r,n);default:return Ui(this,t,r,n)}}toDate(t,r){return Nu(this,t,r)}toString(){return Uu(this)}compare(t){let r=Tu(this,t);return r===0?ku(this,Mt(t)):r}constructor(...t){Co(this,O5,{writable:!0,value:void 0});let[r,n,o,a,i]=Hi(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,rr(this)}}var I5=new WeakMap;class cn{copy(){return this.era?new cn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new cn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Bu(this,t)}subtract(t){return E5(this,t)}set(t,r){return S5(this,t,r)}cycle(t,r,n){return P5(this,t,r,n)}toDate(){return $5(this)}toString(){return T5(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-v5(t,this.timeZone).toDate().getTime()}constructor(...t){Co(this,I5,{writable:!0,value:void 0});let[r,n,o,a,i]=Hi(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,rr(this)}}let Gi=new Map;class Fo{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),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return N5()&&(this.resolvedHourCycle||(this.resolvedHourCycle=F5(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=Hu(t,r),this.options=r}}const A5={true:{ja:"h11"},false:{}};function Hu(e,t={}){if(typeof t.hour12=="boolean"&&M5()){t={...t};let o=A5[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Gi.has(r))return Gi.get(r);let n=new Intl.DateTimeFormat(e,t);return Gi.set(r,n),n}let Yi=null;function M5(){return Yi==null&&(Yi=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Yi}let qi=null;function N5(){return qi==null&&(qi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),qi}function F5(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=Hu(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let Zi=new Map,Xi=!1;try{Xi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let zo=!1;try{zo=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Gu={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Ji{format(t){let r="";if(!Xi&&this.options.signDisplay!=null?r=L5(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!zo){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=Gu[o])===null||n===void 0?void 0:n[a];r+=s[i]||s.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),o=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Xi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!zo&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=z5(t,r),this.options=r}}function z5(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!zo){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Gu[i])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(Zi.has(o))return Zi.get(o);let a=new Intl.NumberFormat(e,t);return Zi.set(o,a),a}function L5(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 o=e.format(-r),a=e.format(r),i=o.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(r)}}const K5=new RegExp("^.*\\(.*\\).*$"),V5=["latn","arab","hanidec"];class Yu{parse(t){return Qi(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Qi(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Qi(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const qu=new Map;function Qi(e,t,r){let n=Zu(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of V5)if(o!==n.options.numberingSystem){let a=Zu(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function Zu(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=qu.get(r);return n||(n=new j5(e,t),qu.set(r,n)),n}class j5{parse(t){let r=this.sanitize(t);r=Lo(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&K5.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=Lo(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Lo(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),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)),t.startsWith(this.symbols.group)?!1:(t=Lo(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=B5(this.formatter,this.options,r)}}const Xu=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function B5(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),u=e.formatToParts(1);var d;let f=(d=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&d!==void 0?d:"-",p=(o=c.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!p&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(p="+");let m=(a=s.find(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!Xu.has(P.type)).map(P=>Ju(P.value)),v=u.filter(P=>!Xu.has(P.type)).map(P=>Ju(P.value)),y=[...new Set([...v,...g])].sort((P,_)=>_.length-P.length),x=y.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${y.join("|")}|[\\p{White_Space}]`,"gu"),w=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),$=new Map(w.map((P,_)=>[P,_])),A=new RegExp(`[${w.join("")}]`,"g");return{minusSign:f,plusSign:p,decimal:m,group:b,literals:x,numeral:A,index:P=>String($.get(P))}}function Lo(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Ju(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const R5=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),W5=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function U5(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return R5.has(r)}let t=e.split("-")[0];return W5.has(t)}function Qu(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:U5(e)?"rtl":"ltr"}}let es=Qu(),dn=new Set;function ef(){es=Qu();for(let e of dn)e(es)}function H5(){let e=Zd(),[t,r]=l.useState(es);return l.useEffect(()=>(dn.size===0&&window.addEventListener("languagechange",ef),dn.add(r),()=>{dn.delete(r),dn.size===0&&window.removeEventListener("languagechange",ef)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const G5=l.createContext(null);function ut(){let e=H5();return l.useContext(G5)||e}const tf=new WeakMap;function Y5(e){let t=tf.get(e);return t||(t=new Mi(e),tf.set(e,t)),t}function Nt(e){let{locale:t}=ut(),r=l.useMemo(()=>Y5(e),[e]);return l.useMemo(()=>new l5(t,r),[t,r])}function Ko(e){let t=l.useRef(null);e&&t.current&&q5(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=ut();return l.useMemo(()=>new Fo(r,e),[r,e])}function q5(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 o of r)if(t[o]!==e[o])return!1;return!0}function Z5(e={}){let{locale:t}=ut();return l.useMemo(()=>new Ji(t,e),[t,e])}let ts=new Map;function Vo(e){let{locale:t}=ut(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(ts.has(r))return ts.get(r);let n=new Intl.Collator(t,e);return ts.set(r,n),n}function X5(e){let t=Vo({usage:"search",...e}),r=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=l.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,c=i.length;for(;s+c<=a.length;s++){let u=a.slice(s,s+c);if(t.compare(i,u)===0)return!0}return!1},[t]);return l.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}function J5(e){return e&&e.__esModule?e.default:e}function Q5(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=a5({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),u={};return c||(u=s),r&&(u["aria-current"]=o||"page",u.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...u}}}var rf={},nf={};nf={breadcrumbs:"عناصر الواجهة"};var of={};of={breadcrumbs:"Трохи хляб"};var af={};af={breadcrumbs:"Popis cesty"};var sf={};sf={breadcrumbs:"Brødkrummer"};var lf={};lf={breadcrumbs:"Breadcrumbs"};var cf={};cf={breadcrumbs:"Πλοηγήσεις breadcrumb"};var df={};df={breadcrumbs:"Breadcrumbs"};var uf={};uf={breadcrumbs:"Migas de pan"};var ff={};ff={breadcrumbs:"Lingiread"};var pf={};pf={breadcrumbs:"Navigointilinkit"};var mf={};mf={breadcrumbs:"Chemin de navigation"};var hf={};hf={breadcrumbs:"שבילי ניווט"};var bf={};bf={breadcrumbs:"Navigacijski putovi"};var gf={};gf={breadcrumbs:"Morzsamenü"};var vf={};vf={breadcrumbs:"Breadcrumb"};var $f={};$f={breadcrumbs:"パンくずリスト"};var yf={};yf={breadcrumbs:"탐색 표시"};var xf={};xf={breadcrumbs:"Naršymo kelias"};var wf={};wf={breadcrumbs:"Atpakaļceļi"};var _f={};_f={breadcrumbs:"Navigasjonsstier"};var Ef={};Ef={breadcrumbs:"Broodkruimels"};var Pf={};Pf={breadcrumbs:"Struktura nawigacyjna"};var Sf={};Sf={breadcrumbs:"Caminho detalhado"};var Df={};Df={breadcrumbs:"Categorias"};var Tf={};Tf={breadcrumbs:"Miez de pâine"};var kf={};kf={breadcrumbs:"Навигация"};var Cf={};Cf={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Of={};Of={breadcrumbs:"Drobtine"};var If={};If={breadcrumbs:"Putanje navigacije"};var Af={};Af={breadcrumbs:"Sökvägar"};var Mf={};Mf={breadcrumbs:"İçerik haritaları"};var Nf={};Nf={breadcrumbs:"Навігаційна стежка"};var Ff={};Ff={breadcrumbs:"导航栏"};var zf={};zf={breadcrumbs:"導覽列"},rf={"ar-AE":nf,"bg-BG":of,"cs-CZ":af,"da-DK":sf,"de-DE":lf,"el-GR":cf,"en-US":df,"es-ES":uf,"et-EE":ff,"fi-FI":pf,"fr-FR":mf,"he-IL":hf,"hr-HR":bf,"hu-HU":gf,"it-IT":vf,"ja-JP":$f,"ko-KR":yf,"lt-LT":xf,"lv-LV":wf,"nb-NO":_f,"nl-NL":Ef,"pl-PL":Pf,"pt-BR":Sf,"pt-PT":Df,"ro-RO":Tf,"ru-RU":kf,"sk-SK":Cf,"sl-SI":Of,"sr-SP":If,"sv-SE":Af,"tr-TR":Mf,"uk-UA":Nf,"zh-CN":Ff,"zh-TW":zf};function eP(e){let{"aria-label":t,...r}=e,n=Nt(J5(rf));return{navProps:{...vt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const tP=C(nE)`
|
|
229
|
+
`,Dt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function m_(e,t){e&&ze.flushSync(()=>e.dispatchEvent(t))}const Ia="dismissableLayer.update",h_="dismissableLayer.pointerDownOutside",b_="dismissableLayer.focusOutside";let Qc;const g_=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v_=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(g_),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,w=>p(w)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=f?v.indexOf(f):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,M=_>=x,F=y_(w=>{const O=w.target,K=[...d.branches].some(k=>k.contains(O));!M||K||(a==null||a(w),s==null||s(w),w.defaultPrevented||c==null||c())},m),P=$_(w=>{const O=w.target;[...d.branches].some(k=>k.contains(O))||(i==null||i(w),s==null||s(w),w.defaultPrevented||c==null||c())},m);return Rr(w=>{_===d.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Qc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),ed(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Qc)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),ed())},[f,d]),l.useEffect(()=>{const w=()=>b({});return document.addEventListener(Ia,w),()=>document.removeEventListener(Ia,w)},[]),l.createElement(Dt.div,D({},u,{ref:g,style:{pointerEvents:y?M?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,F.onPointerDownCapture)}))});function y_(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){td(h_,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function $_(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&td(b_,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ed(){const e=new CustomEvent(Ia);document.dispatchEvent(e)}function td(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?m_(o,a):o.dispatchEvent(a)}function Rt(e){return e.split("-")[0]}function Hr(e){return e.split("-")[1]}function ur(e){return["top","bottom"].includes(Rt(e))?"x":"y"}function Aa(e){return e==="y"?"height":"width"}function rd(e,t,r){let{reference:n,floating:o}=e;const a=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,s=ur(t),c=Aa(s),u=n[c]/2-o[c]/2,d=s==="x";let f;switch(Rt(t)){case"top":f={x:a,y:n.y-o.height};break;case"bottom":f={x:a,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:i};break;case"left":f={x:n.x-o.width,y:i};break;default:f={x:n.x,y:n.y}}switch(Hr(t)){case"start":f[s]-=u*(r&&d?-1:1);break;case"end":f[s]+=u*(r&&d?-1:1)}return f}const x_=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=rd(c,n,s),f=n,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:$,y:x,data:_,reset:y}=await v({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=$??u,d=x??d,p={...p,[g]:{...p[g],..._}},y&&m<=50&&(m++,typeof y=="object"&&(y.placement&&(f=y.placement),y.rects&&(c=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:u,y:d}=rd(c,f,s)),b=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};function nd(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Kn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Gr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=t,b=nd(m),g=s[p?f==="floating"?"reference":"floating":f],v=Kn(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),$=Kn(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[f]);return{top:v.top-$.top+b.top,bottom:$.bottom-v.bottom+b.bottom,left:v.left-$.left+b.left,right:$.right-v.right+b.right}}const __=Math.min,Wt=Math.max;function Ma(e,t,r){return Wt(e,__(t,r))}const od=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:a,placement:i,rects:s,platform:c}=t;if(r==null)return{};const u=nd(n),d={x:o,y:a},f=ur(i),p=Hr(i),m=Aa(f),b=await c.getDimensions(r),g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",$=s.reference[m]+s.reference[f]-d[f]-s.floating[m],x=d[f]-s.reference[f],_=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=_?f==="y"?_.clientHeight||0:_.clientWidth||0:0;y===0&&(y=s.floating[m]);const M=$/2-x/2,F=u[g],P=y-b[m]-u[v],w=y/2-b[m]/2+M,O=Ma(F,w,P),K=(p==="start"?u[g]:u[v])>0&&w!==O&&s.reference[m]<=s.floating[m];return{[f]:d[f]-(K?w<F?F-w:P-w:0),data:{[f]:O,centerOffset:w-O}}}}),w_={left:"right",right:"left",bottom:"top",top:"bottom"};function jn(e){return e.replace(/left|right|bottom|top/g,t=>w_[t])}function E_(e,t,r){r===void 0&&(r=!1);const n=Hr(e),o=ur(e),a=Aa(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=jn(i)),{main:i,cross:jn(i)}}const P_={start:"end",end:"start"};function ad(e){return e.replace(/start|end/g,t=>P_[t])}const id=["top","right","bottom","left"];id.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Na=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:m=!0,...b}=e,g=Rt(n),v=f||(g===i||!m?[jn(i)]:function(w){const O=jn(w);return[ad(w),O,ad(O)]}(i)),$=[i,...v],x=await Gr(t,b),_=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&_.push(x[g]),d){const{main:w,cross:O}=E_(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));_.push(x[w],x[O])}if(y=[...y,{placement:n,overflows:_}],!_.every(w=>w<=0)){var M,F;const w=((M=(F=o.flip)==null?void 0:F.index)!=null?M:0)+1,O=$[w];if(O)return{data:{index:w,overflows:y},reset:{placement:O}};let K="bottom";switch(p){case"bestFit":{var P;const k=(P=y.map(j=>[j,j.overflows.filter(S=>S>0).reduce((S,I)=>S+I,0)]).sort((j,S)=>j[1]-S[1])[0])==null?void 0:P[0].placement;k&&(K=k);break}case"initialPlacement":K=i}if(n!==K)return{reset:{placement:K}}}return{}}}};function sd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ld(e){return id.some(t=>e[t]>=0)}const Fa=function(e){let{strategy:t="referenceHidden",...r}=e===void 0?{}:e;return{name:"hide",async fn(n){const{rects:o}=n;switch(t){case"referenceHidden":{const a=sd(await Gr(n,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ld(a)}}}case"escaped":{const a=sd(await Gr(n,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:a,escaped:ld(a)}}}default:return{}}}}},za=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(a,i){const{placement:s,platform:c,elements:u}=a,d=await(c.isRTL==null?void 0:c.isRTL(u.floating)),f=Rt(s),p=Hr(s),m=ur(s)==="x",b=["left","top"].includes(f)?-1:1,g=d&&m?-1:1,v=typeof i=="function"?i(a):i;let{mainAxis:$,crossAxis:x,alignmentAxis:_}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return p&&typeof _=="number"&&(x=p==="end"?-1*_:_),m?{x:x*g,y:$*b}:{x:$*b,y:x*g}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function cd(e){return e==="x"?"y":"x"}const La=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:v=>{let{x:$,y:x}=v;return{x:$,y:x}}},...c}=e,u={x:r,y:n},d=await Gr(t,c),f=ur(Rt(o)),p=cd(f);let m=u[f],b=u[p];if(a){const v=f==="y"?"bottom":"right";m=Ma(m+d[f==="y"?"top":"left"],m,m-d[v])}if(i){const v=p==="y"?"bottom":"right";b=Ma(b+d[p==="y"?"top":"left"],b,b-d[v])}const g=s.fn({...t,[f]:m,[p]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}},Ka=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=e,d={x:r,y:n},f=ur(o),p=cd(f);let m=d[f],b=d[p];const g=typeof s=="function"?s({...a,placement:o}):s,v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const M=f==="y"?"height":"width",F=a.reference[f]-a.floating[M]+v.mainAxis,P=a.reference[f]+a.reference[M]-v.mainAxis;m<F?m=F:m>P&&(m=P)}if(u){var $,x,_,y;const M=f==="y"?"width":"height",F=["top","left"].includes(Rt(o)),P=a.reference[p]-a.floating[M]+(F&&($=(x=i.offset)==null?void 0:x[p])!=null?$:0)+(F?0:v.crossAxis),w=a.reference[p]+a.reference[M]+(F?0:(_=(y=i.offset)==null?void 0:y[p])!=null?_:0)-(F?v.crossAxis:0);b<P?b=P:b>w&&(b=w)}return{[f]:m,[p]:b}}}},ja=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i,...s}=e,c=await Gr(t,s),u=Rt(r),d=Hr(r);let f,p;u==="top"||u==="bottom"?(f=u,p=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(p=u,f=d==="end"?"top":"bottom");const m=Wt(c.left,0),b=Wt(c.right,0),g=Wt(c.top,0),v=Wt(c.bottom,0),$={availableHeight:n.floating.height-(["left","right"].includes(r)?2*(g!==0||v!==0?g+v:Wt(c.top,c.bottom)):c[f]),availableWidth:n.floating.width-(["top","bottom"].includes(r)?2*(m!==0||b!==0?m+b:Wt(c.left,c.right)):c[p])},x=await o.getDimensions(a.floating);i==null||i({...t,...$});const _=await o.getDimensions(a.floating);return x.width!==_.width||x.height!==_.height?{reset:{rects:!0}}:{}}}};function dd(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function pt(e){if(e==null)return window;if(!dd(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Yr(e){return pt(e).getComputedStyle(e)}function mt(e){return dd(e)?"":e?(e.nodeName||"").toLowerCase():""}function ud(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function st(e){return e instanceof pt(e).HTMLElement}function St(e){return e instanceof pt(e).Element}function Va(e){return typeof ShadowRoot>"u"?!1:e instanceof pt(e).ShadowRoot||e instanceof ShadowRoot}function Vn(e){const{overflow:t,overflowX:r,overflowY:n}=Yr(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function D_(e){return["table","td","th"].includes(mt(e))}function fd(e){const t=/firefox/i.test(ud()),r=Yr(e);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"}function pd(){return!/^((?!chrome|android).)*safari/i.test(ud())}const md=Math.min,qr=Math.max,Bn=Math.round;function ht(e,t,r){var n,o,a,i;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,u=1;t&&st(e)&&(c=e.offsetWidth>0&&Bn(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Bn(s.height)/e.offsetHeight||1);const d=St(e)?pt(e):window,f=!pd()&&r,p=(s.left+(f&&(n=(o=d.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(f&&(a=(i=d.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/u,b=s.width/c,g=s.height/u;return{width:b,height:g,top:m,right:p+b,bottom:m+g,left:p,x:p,y:m}}function Tt(e){return(t=e,(t instanceof pt(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Rn(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hd(e){return ht(Tt(e)).left+Rn(e).scrollLeft}function S_(e,t,r){const n=st(t),o=Tt(t),a=ht(e,n&&function(c){const u=ht(c);return Bn(u.width)!==c.offsetWidth||Bn(u.height)!==c.offsetHeight}(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((mt(t)!=="body"||Vn(o))&&(i=Rn(t)),st(t)){const c=ht(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=hd(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function bd(e){return mt(e)==="html"?e:e.assignedSlot||e.parentNode||(Va(e)?e.host:null)||Tt(e)}function gd(e){return st(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function Ba(e){const t=pt(e);let r=gd(e);for(;r&&D_(r)&&getComputedStyle(r).position==="static";)r=gd(r);return r&&(mt(r)==="html"||mt(r)==="body"&&getComputedStyle(r).position==="static"&&!fd(r))?t:r||function(n){let o=bd(n);for(Va(o)&&(o=o.host);st(o)&&!["html","body"].includes(mt(o));){if(fd(o))return o;o=o.parentNode}return null}(e)||t}function vd(e){if(st(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=ht(e);return{width:t.width,height:t.height}}function yd(e){const t=bd(e);return["html","body","#document"].includes(mt(t))?e.ownerDocument.body:st(t)&&Vn(t)?t:yd(t)}function Wn(e,t){var r;t===void 0&&(t=[]);const n=yd(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=pt(n),i=o?[a].concat(a.visualViewport||[],Vn(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Wn(i))}function $d(e,t,r){return t==="viewport"?Kn(function(n,o){const a=pt(n),i=Tt(n),s=a.visualViewport;let c=i.clientWidth,u=i.clientHeight,d=0,f=0;if(s){c=s.width,u=s.height;const p=pd();(p||!p&&o==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:c,height:u,x:d,y:f}}(e,r)):St(t)?function(n,o){const a=ht(n,!1,o==="fixed"),i=a.top+n.clientTop,s=a.left+n.clientLeft;return{top:i,left:s,x:s,y:i,right:s+n.clientWidth,bottom:i+n.clientHeight,width:n.clientWidth,height:n.clientHeight}}(t,r):Kn(function(n){var o;const a=Tt(n),i=Rn(n),s=(o=n.ownerDocument)==null?void 0:o.body,c=qr(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=qr(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-i.scrollLeft+hd(n);const f=-i.scrollTop;return Yr(s||a).direction==="rtl"&&(d+=qr(a.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:d,y:f}}(Tt(e)))}function T_(e){const t=Wn(e),r=["absolute","fixed"].includes(Yr(e).position)&&st(e)?Ba(e):e;return St(r)?t.filter(n=>St(n)&&function(o,a){const i=a.getRootNode==null?void 0:a.getRootNode();if(o.contains(a))return!0;if(i&&Va(i)){let s=a;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(n,r)&&mt(n)!=="body"):[]}const k_={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?T_(t):[].concat(r),n],i=a[0],s=a.reduce((c,u)=>{const d=$d(t,u,o);return c.top=qr(d.top,c.top),c.right=md(d.right,c.right),c.bottom=md(d.bottom,c.bottom),c.left=qr(d.left,c.left),c},$d(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=st(r),a=Tt(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((mt(r)!=="body"||Vn(a))&&(i=Rn(r)),st(r))){const c=ht(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-i.scrollLeft+s.x,y:t.y-i.scrollTop+s.y}},isElement:St,getDimensions:vd,getOffsetParent:Ba,getDocumentElement:Tt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:S_(t,Ba(r),n),floating:{...vd(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Yr(e).direction==="rtl"};function Ra(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:s=!1}=n,c=o&&!s,u=a&&!s,d=c||u?[...St(e)?Wn(e):[],...Wn(t)]:[];d.forEach(b=>{c&&b.addEventListener("scroll",r,{passive:!0}),u&&b.addEventListener("resize",r)});let f,p=null;if(i){let b=!0;p=new ResizeObserver(()=>{b||r(),b=!1}),St(e)&&!s&&p.observe(e),p.observe(t)}let m=s?ht(e):null;return s&&function b(){const g=ht(e);!m||g.x===m.x&&g.y===m.y&&g.width===m.width&&g.height===m.height||r(),m=g,f=requestAnimationFrame(b)}(),r(),()=>{var b;d.forEach(g=>{c&&g.removeEventListener("scroll",r),u&&g.removeEventListener("resize",r)}),(b=p)==null||b.disconnect(),p=null,s&&cancelAnimationFrame(f)}}const C_=(e,t,r)=>x_(e,t,{platform:k_,...r});var Wa=typeof document<"u"?l.useLayoutEffect:l.useEffect;function Ua(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ua(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Ua(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function O_(e){const t=H.useRef(e);return Wa(()=>{t.current=e}),t}function Ha(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=H.useRef(null),i=H.useRef(null),s=O_(o),c=H.useRef(null),[u,d]=H.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[f,p]=H.useState(t);Ua(f==null?void 0:f.map(_=>{let{options:y}=_;return y}),t==null?void 0:t.map(_=>{let{options:y}=_;return y}))||p(t);const m=H.useCallback(()=>{!a.current||!i.current||C_(a.current,i.current,{middleware:f,placement:r,strategy:n}).then(_=>{b.current&&dc.flushSync(()=>{d(_)})})},[f,r,n]);Wa(()=>{b.current&&m()},[m]);const b=H.useRef(!1);Wa(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=H.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const _=s.current(a.current,i.current,m);c.current=_}else m()},[m,s]),v=H.useCallback(_=>{a.current=_,g()},[g]),$=H.useCallback(_=>{i.current=_,g()},[g]),x=H.useMemo(()=>({reference:a,floating:i}),[]);return H.useMemo(()=>({...u,update:m,refs:x,reference:v,floating:$}),[u,m,x,v,$])}const Ga=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?od({element:t.current,padding:r}).fn(o):{}:t?od({element:t,padding:r}).fn(o):{}}}},I_=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(Dt.svg,D({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))});function fr(e){const[t,r]=l.useState(void 0);return Oe(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const c=a.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;r({width:i,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const xd="Popper",[Ya,_d]=Ce(xd),[A_,wd]=Ya(xd),M_=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(A_,{scope:t,anchor:n,onAnchorChange:o},r)},N_="PopperAnchor",F_=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=wd(N_,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(Dt.div,D({},o,{ref:s}))}),Un="PopperContent",[z_,L_]=Ya(Un),[K_,j_]=Ya(Un,{hasParent:!1,positionUpdateFns:new Set}),V_=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:_=!1,avoidCollisions:y=!0,onPlaced:M,...F}=e,P=wd(Un,d),[w,O]=l.useState(null),K=le(t,ye=>O(ye)),[k,j]=l.useState(null),S=fr(k),I=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,J=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),W=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ee=Array.isArray(v)?v:[v],V=ee.length>0,N={padding:W,boundary:ee.filter(H_),altBoundary:V},{reference:A,floating:R,strategy:G,x:q,y:oe,placement:te,middlewareData:Z,update:Q}=Ha({strategy:"fixed",placement:se,whileElementsMounted:Ra,middleware:[G_(),za({mainAxis:p+J,alignmentAxis:b}),y?La({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Ka():void 0,...N}):void 0,k?Ga({element:k,padding:g}):void 0,y?Na({...N}):void 0,ja({...N,apply:({elements:ye,availableWidth:Ie,availableHeight:ar})=>{ye.floating.style.setProperty("--radix-popper-available-width",`${Ie}px`),ye.floating.style.setProperty("--radix-popper-available-height",`${ar}px`)}}),Y_({arrowWidth:I,arrowHeight:J}),_?Fa({strategy:"referenceHidden"}):void 0].filter(U_)});Oe(()=>{A(P.anchor)},[A,P.anchor]);const X=q!==null&&oe!==null,[ne,_e]=Ed(te),ue=ge(M);Oe(()=>{X&&(ue==null||ue())},[X,ue]);const Ne=(o=Z.arrow)===null||o===void 0?void 0:o.x,Et=(a=Z.arrow)===null||a===void 0?void 0:a.y,qe=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ue,Ze]=l.useState();Oe(()=>{w&&Ze(window.getComputedStyle(w).zIndex)},[w]);const{hasParent:Fe,positionUpdateFns:he}=j_(Un,d),we=!Fe;l.useLayoutEffect(()=>{if(!we)return he.add(Q),()=>{he.delete(Q)}},[we,he,Q]),Oe(()=>{we&&X&&Array.from(he).reverse().forEach(ye=>requestAnimationFrame(ye))},[we,X,he]);const Xe={"data-side":ne,"data-align":_e,...F,ref:K,style:{...F.style,animation:X?void 0:"none",opacity:(s=Z.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:R,"data-radix-popper-content-wrapper":"",style:{position:G,left:0,top:0,transform:X?`translate3d(${Math.round(q)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ue,["--radix-popper-transform-origin"]:[(c=Z.transformOrigin)===null||c===void 0?void 0:c.x,(u=Z.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(z_,{scope:d,placedSide:ne,onArrowChange:j,arrowX:Ne,arrowY:Et,shouldHideArrow:qe},we?l.createElement(K_,{scope:d,hasParent:!0,positionUpdateFns:he},l.createElement(Dt.div,Xe)):l.createElement(Dt.div,Xe)))}),B_="PopperArrow",R_={top:"bottom",right:"left",bottom:"top",left:"right"},W_=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=L_(B_,n),i=R_[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(I_,D({},o,{ref:r,style:{...o.style,display:"block"}})))});function U_(e){return e!==void 0}function H_(e){return e!==null}const G_=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),Y_=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Ed(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let _="",y="";return b==="bottom"?(_=f?v:`${$}px`,y=`${-m}px`):b==="top"?(_=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(_=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(_=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:_,y}}}});function Ed(e){const[t,r="center"]=e.split("-");return[t,r]}const q_=M_,Z_=F_,X_=V_,J_=W_,Q_=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ze.createPortal(l.createElement(Dt.div,D({},o,{ref:t})),n):null}),Pd="Popover",[Dd,vO]=Ce(Pd,[_d]),Hn=_d(),[ew,Ut]=Dd(Pd),Sd=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Hn(t),c=l.useRef(null),[u,d]=l.useState(!1),[f=!1,p]=et({prop:n,defaultProp:o,onChange:a});return l.createElement(q_,s,l.createElement(ew,{scope:t,contentId:Qe(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:u,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:i},r))},tw="PopoverTrigger",Td=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ut(tw,r),a=Hn(r),i=le(t,o.triggerRef),s=l.createElement(Dt.button,D({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Id(o.open)},n,{ref:i,onClick:U(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(Z_,D({asChild:!0},a),s)}),kd="PopoverPortal",[rw,nw]=Dd(kd,{forceMount:void 0}),ow=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=Ut(kd,t);return l.createElement(rw,{scope:t,forceMount:r},l.createElement(Ae,{present:r||a.open},l.createElement(Q_,{asChild:!0,container:o},n)))},Zr="PopoverContent",Cd=l.forwardRef((e,t)=>{const r=nw(Zr,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=Ut(Zr,e.__scopePopover);return l.createElement(Ae,{present:n||a.open},a.modal?l.createElement(aw,D({},o,{ref:t})):l.createElement(iw,D({},o,{ref:t})))}),aw=l.forwardRef((e,t)=>{const r=Ut(Zr,e.__scopePopover),n=l.useRef(null),o=le(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return wa(i)},[]),l.createElement(xa,{as:Se,allowPinchZoom:!0},l.createElement(Od,D({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:U(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:U(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,u=s.button===2||c;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:U(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),iw=l.forwardRef((e,t)=>{const r=Ut(Zr,e.__scopePopover),n=l.useRef(!1);return l.createElement(Od,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,o),!o.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var a,i;(a=e.onInteractOutside)===null||a===void 0||a.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((i=r.triggerRef.current)===null||i===void 0?void 0:i.contains(s))&&o.preventDefault()}}))}),Od=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:d,...f}=e,p=Ut(Zr,r),m=Hn(r);return ga(),l.createElement(ha,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(v_,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},l.createElement(X_,D({"data-state":Id(p.open),role:"dialog",id:p.contentId},m,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),sw="PopoverClose",lw=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ut(sw,r);return l.createElement(Dt.button,D({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))}),cw=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Hn(r);return l.createElement(J_,D({},o,n,{ref:t}))});function Id(e){return e?"open":"closed"}const dw=Sd,uw=Td,fw=ow,pw=Cd,Ad=lw,mw=cw;function Ht(e,t,r){let[n,o]=l.useState(e||t),a=l.useRef(e!==void 0),i=a.current,s=e!==void 0,c=l.useRef(n);i!==s&&console.warn(`WARN: A component changed from ${i?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s;let u=l.useCallback((d,...f)=>{let p=(m,...b)=>{r&&(Object.is(c.current,m)||r(m,...b)),s||(c.current=m)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((b,...g)=>{let v=d(s?c.current:b,...g);return p(v,...f),s?b:v})):(s||o(d),p(d,...f))},[s,r]);return s?c.current=e:e=n,[e,u]}function hw(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Gt(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,a=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):a<t?a=t:!isNaN(r)&&a>r&&(a=t+Math.floor((r-t)/n)*n);let i=n.toString(),s=i.indexOf("."),c=s>=0?i.length-s:0;if(c>0){let u=Math.pow(10,c);a=Math.round(a*u)/u}return a}const qa={prefix:String(Math.round(Math.random()*1e10)),current:0},Za=l.createContext(qa);let bw=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Xa=new WeakMap;function gw(e=!1){let t=l.useContext(Za),r=l.useRef(null);if(r.current===null&&!e){var n,o;let a=(n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=Xa.get(a);i==null?Xa.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Xa.delete(a))}r.current=++t.current}return r.current}function vw(e){let t=l.useContext(Za);t===qa&&!bw&&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=gw(!!e);return e||`react-aria${t.prefix}-${r}`}function Md(){let t=l.useContext(Za)!==qa,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Nd(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Nd(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Gn(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Nd(e))&&(n&&(n+=" "),n+=t);return n}const Ee=typeof window<"u"?l.useLayoutEffect:()=>{};function yw(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let a=l.useRef(null);a.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?a.current():r(s.value)},Ee(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let Yn=new Map;function We(e){let[t,r]=l.useState(e),n=l.useRef(null),o=vw(t),a=l.useCallback(i=>{n.current=i},[]);return Yn.set(o,a),Ee(()=>{let i=o;return()=>{Yn.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function $w(e,t){if(e===t)return e;let r=Yn.get(e);if(r)return r(t),t;let n=Yn.get(t);return n?(n(e),e):t}function qn(e=[]){let t=We(),[r,n]=yw(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ee(o,[t,o,...e]),r}function Yt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function de(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Yt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Gn(a,i):o==="id"&&a&&i?t.id=$w(a,i):t[o]=i!==void 0?i:a}}return t}const xw=new Set(["id"]),_w=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ww=/^(data-.*)$/;function bt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(xw.has(a)||r&&_w.has(a)||n!=null&&n.has(a)||ww.test(a))&&(o[a]=e[a]);return o}function kt(e){if(Ew())e.focus({preventScroll:!0});else{let t=Pw(e);e.focus(),Dw(t)}}let Zn=null;function Ew(){if(Zn==null){Zn=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Zn=!0,!0}})}catch{}}return Zn}function Pw(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;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 Dw(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let pr=new Map,Ja=new Set;function Fd(){if(typeof window>"u")return;let e=r=>{let n=pr.get(r.target);n||(n=new Set,pr.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=pr.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),pr.delete(r.target)),pr.size===0)){for(let o of Ja)o();Ja.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Fd():document.addEventListener("DOMContentLoaded",Fd));function zd(e){requestAnimationFrame(()=>{pr.size===0?e():Ja.add(e)})}function Qa(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:c,options:s}),o.addEventListener(a,i,s)},[]),r=l.useCallback((o,a,i,s)=>{var c;let u=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,u,s),e.current.delete(i)},[]),n=l.useCallback(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function ei(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=We(r),o&&n?o=[...new Set([...o.trim().split(/\s+/),r])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}function lt(e){const t=l.useRef();return Ee(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function Sw(){return typeof window.ResizeObserver<"u"}function Tw(e){const{ref:t,onResize:r}=e;l.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(Sw()){const o=new window.ResizeObserver(a=>{a.length&&r()});return o.observe(n),()=>{n&&o.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Ld(e,t){Ee(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Xr(e){for(Kd(e)&&(e=e.parentElement);e&&!Kd(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Kd(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let kw=0;const ti=new Map;function ri(e){let[t,r]=l.useState(void 0);return Ee(()=>{if(!e)return;let n=ti.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${kw++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},ti.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),ti.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function ni(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 oi(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 qt(){return oi(/^Mac/i)}function jd(){return oi(/^iPhone/i)}function Vd(){return oi(/^iPad/i)||qt()&&navigator.maxTouchPoints>1}function mr(){return jd()||Vd()}function Cw(){return qt()||mr()}function Ow(){return ni(/AppleWebKit/i)&&!Iw()}function Iw(){return ni(/Chrome/i)}function Bd(){return ni(/Android/i)}function Xn(e,t,r,n){let o=l.useRef(r);o.current=r;let a=r==null;l.useEffect(()=>{if(a)return;let i=e.current,s=c=>o.current.call(this,c);return i.addEventListener(t,s,n),()=>{i.removeEventListener(t,s,n)}},[e,t,n,a])}function ai(e,t){let r=Rd(e,t,"left"),n=Rd(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:c,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),f=e.scrollTop+parseInt(c,10),p=d+e.clientWidth,m=f+e.clientHeight;r<=i?i=r-parseInt(u,10):r+o>p&&(i+=r+o-p),n<=f?s=n-parseInt(c,10):n+a>m&&(s+=n+a-m),e.scrollLeft=i,e.scrollTop=s}function Rd(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function Wd(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let c=Xr(e);for(;e&&c&&e!==i&&c!==i;)ai(c,e),e=c,c=Xr(e)}else{var r;let{left:c,top:u}=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(c-d)>1||Math.abs(u-f)>1){var n,o,a;t==null||(n=t.containingElement)===null||n===void 0||(o=n.scrollIntoView)===null||o===void 0||o.call(n,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function ii(e){return e.mozInputSource===0&&e.isTrusted?!0:Bd()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Aw(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let br="default",si="",Jn=new WeakMap;function Ud(e){mr()?(br==="default"&&(si=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),br="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Jn.set(e,e.style.userSelect),e.style.userSelect="none")}function Qn(e){if(mr()){if(br!=="disabled")return;br="restoring",setTimeout(()=>{zd(()=>{br==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=si||""),si="",br="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Jn.has(e)){let t=Jn.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Jn.delete(e)}}const Hd=l.createContext(null);Hd.displayName="PressResponderContext";function Mw(e){let t=l.useContext(Hd);if(t){let{register:r,...n}=t;e=de(n,e),r()}return Ld(t,e.ref),e}function gr(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=Mw(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:u};let[b,g]=l.useState(!1),v=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:x}=Qa(),_=l.useMemo(()=>{let y=v.current,M=(k,j)=>{let{onPressStart:S,onPressChange:I,isDisabled:J}=m.current;J||y.didFirePressStart||(S&&S({type:"pressstart",pointerType:j,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),I&&I(!0),y.didFirePressStart=!0,g(!0))},F=(k,j,S=!0)=>{let{onPressEnd:I,onPressChange:J,onPress:se,isDisabled:W}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,I&&I({type:"pressend",pointerType:j,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),J&&J(!1),g(!1),se&&S&&!W&&se({type:"press",pointerType:j,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},P=(k,j)=>{let{onPressUp:S,isDisabled:I}=m.current;I||S&&S({type:"pressup",pointerType:j,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},w=k=>{y.isPressed&&(y.isOverTarget&&F(gt(y.target,k),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),d||Qn(y.target))},O={onKeyDown(k){ci(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(Yd(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,M(k,"keyboard"),$(document,"keyup",K,!1))):k.key==="Enter"&&li(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){ci(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&P(gt(y.target,k),"keyboard")},onClick(k){k&&!k.currentTarget.contains(k.target)||k&&k.button===0&&(k.stopPropagation(),i&&k.preventDefault(),!y.ignoreClickAfterPress&&!y.ignoreEmulatedMouseEvents&&(y.pointerType==="virtual"||ii(k.nativeEvent))&&(!i&&!c&&kt(k.currentTarget),M(k,"virtual"),P(k,"virtual"),F(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},K=k=>{if(y.isPressed&&ci(k,y.target)){Yd(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let j=k.target;F(gt(y.target,k),"keyboard",y.target.contains(j)),x(),y.target instanceof HTMLElement&&y.target.contains(j)&&(li(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){O.onPointerDown=I=>{if(!(I.button!==0||!I.currentTarget.contains(I.target))){if(Aw(I.nativeEvent)){y.pointerType="virtual";return}di(I.currentTarget)&&I.preventDefault(),y.pointerType=I.pointerType,I.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=I.pointerId,y.target=I.currentTarget,!i&&!c&&kt(I.currentTarget),d||Ud(y.target),M(I,y.pointerType),$(document,"pointermove",k,!1),$(document,"pointerup",j,!1),$(document,"pointercancel",S,!1))}},O.onMouseDown=I=>{I.currentTarget.contains(I.target)&&I.button===0&&(di(I.currentTarget)&&I.preventDefault(),I.stopPropagation())},O.onPointerUp=I=>{!I.currentTarget.contains(I.target)||y.pointerType==="virtual"||I.button===0&&vr(I,I.currentTarget)&&P(I,y.pointerType||I.pointerType)};let k=I=>{I.pointerId===y.activePointerId&&(vr(I,y.target)?y.isOverTarget||(y.isOverTarget=!0,M(gt(y.target,I),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,F(gt(y.target,I),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&w(I)))},j=I=>{I.pointerId===y.activePointerId&&y.isPressed&&I.button===0&&(vr(I,y.target)?F(gt(y.target,I),y.pointerType):y.isOverTarget&&F(gt(y.target,I),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,x(),d||Qn(y.target))},S=I=>{w(I)};O.onDragStart=I=>{I.currentTarget.contains(I.target)&&w(I)}}else{O.onMouseDown=S=>{S.button!==0||!S.currentTarget.contains(S.target)||(di(S.currentTarget)&&S.preventDefault(),S.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=S.currentTarget,y.pointerType=ii(S.nativeEvent)?"virtual":"mouse",!i&&!c&&kt(S.currentTarget),M(S,y.pointerType),$(document,"mouseup",k,!1)))},O.onMouseEnter=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,M(S,y.pointerType)))},O.onMouseLeave=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,F(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&w(S)))},O.onMouseUp=S=>{S.currentTarget.contains(S.target)&&!y.ignoreEmulatedMouseEvents&&S.button===0&&P(S,y.pointerType)};let k=S=>{if(S.button===0){if(y.isPressed=!1,x(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}vr(S,y.target)?F(gt(y.target,S),y.pointerType):y.isOverTarget&&F(gt(y.target,S),y.pointerType,!1),y.isOverTarget=!1}};O.onTouchStart=S=>{if(!S.currentTarget.contains(S.target))return;S.stopPropagation();let I=Nw(S.nativeEvent);I&&(y.activePointerId=I.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=S.currentTarget,y.pointerType="touch",!i&&!c&&kt(S.currentTarget),d||Ud(y.target),M(S,y.pointerType),$(window,"scroll",j,!0))},O.onTouchMove=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let I=Gd(S.nativeEvent,y.activePointerId);I&&vr(I,S.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,M(S,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,F(S,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&w(S))},O.onTouchEnd=S=>{if(!S.currentTarget.contains(S.target)||(S.stopPropagation(),!y.isPressed))return;let I=Gd(S.nativeEvent,y.activePointerId);I&&vr(I,S.currentTarget)?(P(S,y.pointerType),F(S,y.pointerType)):y.isOverTarget&&F(S,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,d||Qn(y.target),x()},O.onTouchCancel=S=>{S.currentTarget.contains(S.target)&&(S.stopPropagation(),y.isPressed&&w(S))};let j=S=>{y.isPressed&&S.target.contains(y.target)&&w({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};O.onDragStart=S=>{S.currentTarget.contains(S.target)&&w(S)}}return O},[$,i,c,x,d]);return l.useEffect(()=>()=>{d||Qn(v.current.target)},[d]),{isPressed:s||b,pressProps:de(p,_)}}function li(e){return e.tagName==="A"&&e.hasAttribute("href")}function ci(e,t){const{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!qd(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!li(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function Nw(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Gd(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const o=r[n];if(o.identifier===t)return o}return null}function gt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Fw(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function zw(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function vr(e,t){let r=t.getBoundingClientRect(),n=Fw(e);return zw(r,n)}function di(e){return!(e instanceof HTMLElement)||!e.draggable}function Yd(e,t){return e instanceof HTMLInputElement?!qd(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Lw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function qd(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Lw.has(e.type)}class Kw{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 Zd(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ee(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),l.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r.target,o=a=>{var i,s;t.current.isFocused=!1,n.disabled&&((s=(i=t.current).onBlur)===null||s===void 0||s.call(i,new Kw("blur",a))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[])}function ui(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const a=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),i=Zd(a),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),i(c))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}let vt=null,Jr=new Set,Xd=!1,Zt=!1,fi=!1;const jw={Tab:!0,Escape:!0};function eo(e,t){for(let r of Jr)r(e,t)}function Vw(e){return!(e.metaKey||!qt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Jd(e){Zt=!0,Vw(e)&&(vt="keyboard",eo("keyboard",e))}function yr(e){vt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Zt=!0,eo("pointer",e))}function Bw(e){ii(e)&&(Zt=!0,vt="virtual")}function Rw(e){e.target===window||e.target===document||(!Zt&&!fi&&(vt="virtual",eo("virtual",e)),Zt=!1,fi=!1)}function Ww(){Zt=!1,fi=!0}function to(){if(typeof window>"u"||Xd)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Zt=!0,e.apply(this,arguments)},document.addEventListener("keydown",Jd,!0),document.addEventListener("keyup",Jd,!0),document.addEventListener("click",Bw,!0),window.addEventListener("focus",Rw,!0),window.addEventListener("blur",Ww,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",yr,!0),document.addEventListener("pointermove",yr,!0),document.addEventListener("pointerup",yr,!0)):(document.addEventListener("mousedown",yr,!0),document.addEventListener("mousemove",yr,!0),document.addEventListener("mouseup",yr,!0)),Xd=!0}typeof document<"u"&&(document.readyState!=="loading"?to():document.addEventListener("DOMContentLoaded",to));function pi(){return vt!=="pointer"}function Uw(){return vt}function Qd(e){vt=e,eo(e,null)}function eu(){to();let[e,t]=l.useState(vt);return l.useEffect(()=>{let r=()=>{t(vt)};return Jr.add(r),()=>{Jr.delete(r)}},[]),e}function Hw(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!jw[r.key])}function Gw(e,t,r){to(),l.useEffect(()=>{let n=(o,a)=>{Hw(r==null?void 0:r.isTextInput,o,a)&&e(pi())};return Jr.add(n),()=>{Jr.delete(n)}},t)}function $r(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(u),o&&o(!1))},[r,o,a]),s=Zd(i),c=l.useCallback(u=>{a.current.isFocusWithin||(n&&n(u),o&&o(!0),a.current.isFocusWithin=!0,s(u))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}let ro=!1,mi=0;function hi(){ro=!0,setTimeout(()=>{ro=!1},50)}function tu(e){e.pointerType==="touch"&&hi()}function Yw(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",tu):document.addEventListener("touchend",hi),mi++,()=>{mi--,!(mi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",tu):document.removeEventListener("touchend",hi))}}function qw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=l.useState(!1),s=l.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;l.useEffect(Yw,[]);let{hoverProps:c,triggerHoverEnd:u}=l.useMemo(()=>{let d=(m,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:b}),r&&r(!0),i(!0)},f=(m,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;n&&n({type:"hoverend",target:g,pointerType:b}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{ro&&m.pointerType==="mouse"||d(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!ro&&d(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,o,s]);return l.useEffect(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:c,isHovered:a}}function Zw(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=l.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:o}).current;i.onInteractOutside=r,i.onInteractOutsideStart=o,l.useEffect(()=>{if(n)return;let s=c=>{no(c,t)&&i.onInteractOutside&&(i.onInteractOutsideStart&&i.onInteractOutsideStart(c),i.isPointerDown=!0)};if(typeof PointerEvent<"u"){let c=u=>{i.isPointerDown&&i.onInteractOutside&&no(u,t)&&i.onInteractOutside(u),i.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",c,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",c,!0)}}else{let c=d=>{i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&i.onInteractOutside&&no(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1},u=d=>{i.ignoreEmulatedMouseEvents=!0,i.onInteractOutside&&i.isPointerDown&&no(d,t)&&i.onInteractOutside(d),i.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",c,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",u,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",c,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",u,!0)}}},[t,i,n])}function no(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 Xw(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ru(e.onKeyDown),onKeyUp:ru(e.onKeyUp)}}}function Jw(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);Xn(t,"wheel",n?null:o)}const Qw=500;function nu(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=Qw,accessibilityDescription:i}=e;const s=l.useRef(null);let{addGlobalListener:c,removeGlobalListener:u}=Qa(),{pressProps:d}=gr({isDisabled:t,onPressStart(p){if((p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=null},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};c(p.target,"contextmenu",m,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=ri(o&&!t?i:null);return{longPressProps:de(d,f)}}function oo(e){if(Uw()==="virtual"){let t=document.activeElement;zd(()=>{document.activeElement===t&&document.contains(e)&&kt(e)})}else kt(e)}function eE(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:r}=e.style,n=t!=="none"&&r!=="hidden"&&r!=="collapse";if(n){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:a,visibility:i}=o(e);n=a!=="none"&&i!=="hidden"&&i!=="collapse"}return n}function tE(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function ou(e,t){return e.nodeName!=="#comment"&&eE(e)&&tE(e,t)&&(!e.parentElement||ou(e.parentElement,e))}const au=l.createContext(null);let $e=null;function rE(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=l.useRef(),i=l.useRef(),s=l.useRef([]),{parentNode:c}=l.useContext(au)||{},u=l.useMemo(()=>new yi({scopeRef:s}),[s]);Ee(()=>{let p=c||Pe.root;if(Pe.getTreeNode(p.scopeRef)&&$e&&!so($e,p.scopeRef)){let m=Pe.getTreeNode($e);m&&(p=m)}p.addChild(u),Pe.addNode(u)},[u,c]),Ee(()=>{let p=Pe.getTreeNode(s);p.contain=r},[r]),Ee(()=>{let p=a.current.nextSibling,m=[];for(;p&&p!==i.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),cE(s,n,r),iE(s,r),uE(s,n,r),lE(s,o),l.useEffect(()=>{if(s){let p=document.activeElement,m=null;if(Le(p,s.current)){for(let b of Pe.traverse())Le(p,b.scopeRef.current)&&(m=b);m===Pe.getTreeNode(s)&&($e=m.scopeRef)}return()=>{let b=Pe.getTreeNode(s).parent.scopeRef;(s===$e||so(s,$e))&&(!b||Pe.getTreeNode(b))&&($e=b),Pe.removeTreeNode(s)}}},[s]);let d=l.useMemo(()=>nE(s),[]),f=l.useMemo(()=>({focusManager:d,parentNode:u}),[u,d]);return l.createElement(au.Provider,{value:f},l.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,l.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function nE(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[0].previousElementSibling,u=Be(Xt(r),{tabbable:o,accept:i},r);u.currentNode=Le(s,r)?s:c;let d=u.nextNode();return!d&&a&&(u.currentNode=c,d=u.nextNode()),d&&Ve(d,!0),d},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||document.activeElement,c=r[r.length-1].nextElementSibling,u=Be(Xt(r),{tabbable:o,accept:i},r);u.currentNode=Le(s,r)?s:c;let d=u.previousNode();return!d&&a&&(u.currentNode=c,d=u.previousNode()),d&&Ve(d,!0),d},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Be(Xt(r),{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let i=a.nextNode();return i&&Ve(i,!0),i},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Be(Xt(r),{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let i=a.previousNode();return i&&Ve(i,!0),i}}}const bi=["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]"],oE=bi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";bi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const aE=bi.join(':not([hidden]):not([tabindex="-1"]),');function Xt(e){return e[0].parentElement}function ao(e){let t=Pe.getTreeNode($e);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function iE(e,t){let r=l.useRef(),n=l.useRef(null);Ee(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=null);return}let a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!ao(e))return;let u=document.activeElement,d=e.current;if(!Le(u,d))return;let f=Be(Xt(d),{tabbable:!0},d);f.currentNode=u;let p=c.shiftKey?f.previousNode():f.nextNode();p||(f.currentNode=c.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,p=c.shiftKey?f.previousNode():f.nextNode()),c.preventDefault(),p&&Ve(p,!0)},i=c=>{(!$e||so($e,e))&&Le(c.target,e.current)?($e=e,r.current=c.target):ao(e)&&!io(c.target,e)?r.current?r.current.focus():$e&&lo($e.current):ao(e)&&(r.current=c.target)},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{ao(e)&&!io(document.activeElement,e)&&($e=e,document.body.contains(c.target)?(r.current=c.target,r.current.focus()):$e&&lo($e.current))})};return document.addEventListener("keydown",a,!1),document.addEventListener("focusin",i,!1),o.forEach(c=>c.addEventListener("focusin",i,!1)),o.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{document.removeEventListener("keydown",a,!1),document.removeEventListener("focusin",i,!1),o.forEach(c=>c.removeEventListener("focusin",i,!1)),o.forEach(c=>c.removeEventListener("focusout",s,!1))}},[e,t]),l.useEffect(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function iu(e){return io(e)}function Le(e,t){return t.some(r=>r.contains(e))}function io(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Pe.traverse(Pe.getTreeNode(t)))if(Le(e,r.current))return!0;return!1}function sE(e){return io(e,$e)}function so(e,t){var r;let n=(r=Pe.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ve(e,t=!1){if(e!=null&&!t)try{oo(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function lo(e,t=!0){let r=e[0].previousElementSibling,n=Be(Xt(e),{tabbable:t},e);n.currentNode=r;let o=n.nextNode();t&&!o&&(n=Be(Xt(e),{tabbable:!1},e),n.currentNode=r,o=n.nextNode()),Ve(o)}function lE(e,t){const r=l.useRef(t);l.useEffect(()=>{r.current&&($e=e,Le(document.activeElement,$e.current)||lo(e.current)),r.current=!1},[e])}function cE(e,t,r){Ee(()=>{if(t||r)return;let n=e.current,o=a=>{let i=a.target;Le(i,e.current)?$e=e:iu(i)||($e=null)};return document.addEventListener("focusin",o,!1),n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[e,t,r])}function dE(e){let t=Pe.getTreeNode($e);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function uE(e,t,r){const n=l.useRef(typeof document<"u"?document.activeElement:null);Ee(()=>{let o=e.current;if(!t||r)return;let a=()=>{(!$e||so($e,e))&&($e=e)};return document.addEventListener("focusin",a,!1),o.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{document.removeEventListener("focusin",a,!1),o.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,r]),Ee(()=>{if(!t)return;Pe.getTreeNode(e).nodeToRestore=n.current;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey)return;let i=document.activeElement;if(!Le(i,e.current))return;let s=Pe.getTreeNode(e).nodeToRestore,c=Be(document.body,{tabbable:!0});c.currentNode=i;let u=a.shiftKey?c.previousNode():c.nextNode();if((!document.body.contains(s)||s===document.body)&&(s=null,Pe.getTreeNode(e).nodeToRestore=null),(!u||!Le(u,e.current))&&s){c.currentNode=s;do u=a.shiftKey?c.previousNode():c.nextNode();while(Le(u,e.current));a.preventDefault(),a.stopPropagation(),u?Ve(u,!0):iu(s)?Ve(s,!0):i.blur()}};return r||document.addEventListener("keydown",o,!0),()=>{r||document.removeEventListener("keydown",o,!0);let a=Pe.getTreeNode(e).nodeToRestore;if(t&&a&&(Le(document.activeElement,e.current)||document.activeElement===document.body&&dE(e))){let i=Pe.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let s=i.getTreeNode(e);for(;s;){if(s.nodeToRestore&&document.body.contains(s.nodeToRestore)){Ve(s.nodeToRestore);return}s=s.parent}for(s=i.getTreeNode(e);s;){if(s.scopeRef&&Pe.getTreeNode(s.scopeRef)){lo(s.scopeRef.current,!0);return}s=s.parent}}})}}},[e,t,r])}function Be(e,t,r){let n=t!=null&&t.tabbable?aE:oE,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&ou(a)&&(!r||Le(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}function su(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,u=Be(n,{tabbable:a,accept:s});n.contains(c)&&(u.currentNode=c);let d=u.nextNode();return!d&&i&&(u.currentNode=n,d=u.nextNode()),d&&Ve(d,!0),d},focusPrevious(r=t){let n=e.current;if(!n)return;let{from:o,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:s=t.accept}=r,c=o||document.activeElement,u=Be(n,{tabbable:a,accept:s});if(n.contains(c))u.currentNode=c;else{let f=gi(u);return f&&Ve(f,!0),f}let d=u.previousNode();return!d&&i&&(u.currentNode=n,d=gi(u)),d&&Ve(d,!0),d},focusFirst(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,s=Be(n,{tabbable:o,accept:a}).nextNode();return s&&Ve(s,!0),s},focusLast(r=t){let n=e.current;if(!n)return;let{tabbable:o=t.tabbable,accept:a=t.accept}=r,i=Be(n,{tabbable:o,accept:a}),s=gi(i);return s&&Ve(s,!0),s}}}function gi(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class vi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),a=new yi({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef.current&&Le(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.size>0&&o.forEach(a=>n.addChild(a)),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(){let t=new vi;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){hr(this,"fastMap",new Map),this.root=new yi({scopeRef:null}),this.fastMap.set(null,this.root)}}class yi{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){hr(this,"children",new Set),hr(this,"contain",!1),this.scopeRef=t.scopeRef}}let Pe=new vi;function xr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||pi()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),d=l.useCallback(m=>{o.current.isFocused=m,i(m),u()},[u]);Gw(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:r});let{focusProps:f}=ui({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=$r({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?p:f}}function fE(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:o,isFocusVisible:a,focusProps:i}=xr(e),s=l.Children.only(t);return l.cloneElement(s,de(s.props,{...i,className:Gn({[r||""]:o,[n||""]:a})}))}let pE=l.createContext(null);function mE(e){let t=l.useContext(pE)||{};Ld(t,e);let{ref:r,...n}=t;return n}function $i(e,t){let{focusProps:r}=ui(e),{keyboardProps:n}=Xw(e),o=de(r,n),a=mE(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&oo(t.current),s.current=!1},[t]),{focusableProps:de({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function hE(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,u;r!=="a"&&(u={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=$i(e,t),{pressProps:f,isPressed:p}=gr({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=bt(c,{labelable:!0}),b=de(d,f);return{isPressed:p,linkProps:de(m,{...b,...u,"aria-disabled":s||void 0,onClick:g=>{f.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class xi{getStringForLocale(t,r){let n=this.strings[r];n||(n=bE(r,this.strings,this.defaultLocale),this.strings[r]=n);let o=n[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function bE(e,t,r="en-US"){if(t[e])return t[e];let n=gE(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function gE(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const lu=new Map,cu=new Map;class vE{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 o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=lu.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),lu.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=cu.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),cu.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}}function yE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function co(e,t,r){yE(e,t),t.set(e,r)}function _i(e,t){return e-t*Math.floor(e/t)}const du=1721426;function uo(e,t,r,n){t=wi(e,t);let o=t-1,a=-2;return r<=2?a=0:fo(t)&&(a=-1),du-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function fo(e){return e%4===0&&(e%100!==0||e%400===0)}function wi(e,t){return e==="BC"?1-t:t}function $E(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const xE={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 Ct{fromJulianDay(t){let r=t,n=r-du,o=Math.floor(n/146097),a=_i(n,146097),i=Math.floor(a/36524),s=_i(a,36524),c=Math.floor(s/1461),u=_i(s,1461),d=Math.floor(u/365),f=o*400+i*100+c*4+d+(i!==4&&d!==4?1:0),[p,m]=$E(f),b=r-uo(p,m,1,1),g=2;r<uo(p,m,3,1)?g=0:fo(m)&&(g=1);let v=Math.floor(((b+g)*12+373)/367),$=r-uo(p,m,v,1)+1;return new wr(p,m,v,$)}toJulianDay(t){return uo(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return xE[fo(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return fo(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(){hr(this,"identifier","gregory")}}function uu(e){return $t(Date.now(),e)}function _E(e){return $u(uu(e))}function fu(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function pu(e,t){return mu(e)-mu(t)}function mu(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ei=null;function Pi(){return Ei==null&&(Ei=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ei}function wE(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function EE(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function _r(e){e=Ke(e,new Ct);let t=wi(e.era,e.year);return hu(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function hu(e,t,r,n,o,a,i){let s=new Date;return s.setUTCHours(n,o,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function Di(e,t){if(t==="UTC")return 0;if(e>0&&t===Pi())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:s}=gu(e,t);return hu(r,n,o,a,i,s,0)-Math.floor(e/1e3)*1e3}const bu=new Map;function gu(e,t){let r=bu.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"}),bu.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const vu=864e5;function PE(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>DE(e,t,a))}function DE(e,t,r){let n=gu(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 yt(e,t,r="compatible"){let n=Ot(e);if(t==="UTC")return _r(n);if(t===Pi()&&r==="compatible"){n=Ke(n,new Ct);let c=new Date,u=wi(n.era,n.year);return c.setFullYear(u,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=_r(n),a=Di(o-vu,t),i=Di(o+vu,t),s=PE(n,t,o-a,o-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function yu(e,t,r="compatible"){return new Date(yt(e,t,r))}function $t(e,t){let r=Di(e,t),n=new Date(e+r),o=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),u=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new rn(o,a,i,t,r,s,c,u,d)}function $u(e){return new wr(e.calendar,e.era,e.year,e.month,e.day)}function Ot(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new ho(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function SE(e){return new tn(e.hour,e.minute,e.second,e.millisecond)}function Ke(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,Jt(n),n}function TE(e,t,r){if(e instanceof rn)return e.timeZone===t?e:CE(e,t);let n=yt(e,t,r);return $t(n,t)}function kE(e){let t=_r(e)-e.offset;return new Date(t)}function CE(e,t){let r=_r(e)-e.offset;return Ke($t(r,t),e.calendar)}const Qr=36e5;function po(e,t){let r=e.copy(),n="hour"in r?Eu(r,t):0;Si(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Ti(r),xu(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,OE(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Si(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function Ti(e){for(;e.month<1;)Si(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Si(e,1)}function OE(e){for(;e.day<1;)e.month--,Ti(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Ti(e)}function xu(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 Jt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),xu(e)}function ki(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function _u(e,t){return po(e,ki(t))}function Ci(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),Jt(r),r}function en(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),wu(r),r}function IE(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=mo(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=mo(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=mo(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=mo(e.hour,24),t}function wu(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 mo(e,t){let r=e%t;return r<0&&(r+=t),r}function Eu(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,IE(e)}function Pu(e,t){let r=e.copy();return Eu(r,t),r}function AE(e,t){return Pu(e,ki(t))}function Oi(e,t,r,n){let o=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=xt(c,r,0,s.length-1,n==null?void 0:n.round),o.era=s[c],Jt(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=xt(e.year,r,-1/0,9999,n==null?void 0:n.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=xt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":o.day=xt(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(o),Jt(o),o}function Ii(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,s=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;i=c?12:0,s=c?23:11}o.hour=xt(a,r,i,s,n==null?void 0:n.round);break}case"minute":o.minute=xt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":o.second=xt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":o.millisecond=xt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return o}function xt(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Du(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.days!=null&&t.days!==0){let o=po(Ot(e),{years:t.years,months:t.months,days:t.days});r=yt(o,e.timeZone)}else r=_r(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=$t(r,e.timeZone);return Ke(n,e.calendar)}function ME(e,t){return Du(e,ki(t))}function NE(e,t,r,n){switch(t){case"hour":{let o=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;o=b?12:0,a=b?23:11}let i=Ot(e),s=Ke(en(i,{hour:o}),new Ct),c=[yt(s,e.timeZone,"earlier"),yt(s,e.timeZone,"later")].filter(b=>$t(b,e.timeZone).day===s.day)[0],u=Ke(en(i,{hour:a}),new Ct),d=[yt(u,e.timeZone,"earlier"),yt(u,e.timeZone,"later")].filter(b=>$t(b,e.timeZone).day===u.day).pop(),f=_r(e)-e.offset,p=Math.floor(f/Qr),m=f%Qr;return f=xt(p,r,Math.floor(c/Qr),Math.floor(d/Qr),n==null?void 0:n.round)*Qr+m,Ke($t(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Ii(e,t,r,n);case"era":case"year":case"month":case"day":{let o=Oi(Ot(e),t,r,n),a=yt(o,e.timeZone);return Ke($t(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function FE(e,t,r){let n=Ot(e),o=en(Ci(n,t),t);if(o.compare(n)===0)return e;let a=yt(o,e.timeZone,r);return Ke($t(a,e.timeZone),e.calendar)}function Su(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 Tu(e){let t=Ke(e,new Ct);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ku(e){return`${Tu(e)}T${Su(e)}`}function zE(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 LE(e){return`${ku(e)}${zE(e.offset)}[${e.timeZone}]`}function Ai(e){let t=typeof e[0]=="object"?e.shift():new Ct,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),a=e.shift();return[t,r,n,o,a]}var KE=new WeakMap;class wr{copy(){return this.era?new wr(this.calendar,this.era,this.year,this.month,this.day):new wr(this.calendar,this.year,this.month,this.day)}add(t){return po(this,t)}subtract(t){return _u(this,t)}set(t){return Ci(this,t)}cycle(t,r,n){return Oi(this,t,r,n)}toDate(t){return yu(this,t)}toString(){return Tu(this)}compare(t){return fu(this,t)}constructor(...t){co(this,KE,{writable:!0,value:void 0});let[r,n,o,a,i]=Ai(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,Jt(this)}}var jE=new WeakMap;class tn{copy(){return new tn(this.hour,this.minute,this.second,this.millisecond)}add(t){return Pu(this,t)}subtract(t){return AE(this,t)}set(t){return en(this,t)}cycle(t,r,n){return Ii(this,t,r,n)}toString(){return Su(this)}compare(t){return pu(this,t)}constructor(t=0,r=0,n=0,o=0){co(this,jE,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=o,wu(this)}}var VE=new WeakMap;class ho{copy(){return this.era?new ho(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ho(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return po(this,t)}subtract(t){return _u(this,t)}set(t){return Ci(en(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return Oi(this,t,r,n);default:return Ii(this,t,r,n)}}toDate(t,r){return yu(this,t,r)}toString(){return ku(this)}compare(t){let r=fu(this,t);return r===0?pu(this,Ot(t)):r}constructor(...t){co(this,VE,{writable:!0,value:void 0});let[r,n,o,a,i]=Ai(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Jt(this)}}var BE=new WeakMap;class rn{copy(){return this.era?new rn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new rn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Du(this,t)}subtract(t){return ME(this,t)}set(t,r){return FE(this,t,r)}cycle(t,r,n){return NE(this,t,r,n)}toDate(){return kE(this)}toString(){return LE(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-TE(t,this.timeZone).toDate().getTime()}constructor(...t){co(this,BE,{writable:!0,value:void 0});let[r,n,o,a,i]=Ai(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Jt(this)}}let Mi=new Map;class bo{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),o=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return UE()&&(this.resolvedHourCycle||(this.resolvedHourCycle=HE(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=Cu(t,r),this.options=r}}const RE={true:{ja:"h11"},false:{}};function Cu(e,t={}){if(typeof t.hour12=="boolean"&&WE()){t={...t};let o=RE[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=o??a,delete t.hour12}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Mi.has(r))return Mi.get(r);let n=new Intl.DateTimeFormat(e,t);return Mi.set(r,n),n}let Ni=null;function WE(){return Ni==null&&(Ni=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ni}let Fi=null;function UE(){return Fi==null&&(Fi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Fi}function HE(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=Cu(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),o=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&o===23)return"h23";if(n===24&&o===23)return"h24";if(n===0&&o===11)return"h11";if(n===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let zi=new Map,Li=!1;try{Li=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let go=!1;try{go=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Ou={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Ki{format(t){let r="";if(!Li&&this.options.signDisplay!=null?r=YE(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!go){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=Ou[o])===null||n===void 0?void 0:n[a];r+=s[i]||s.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),o=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Li&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!go&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=GE(t,r),this.options=r}}function GE(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!go){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Ou[i])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(zi.has(o))return zi.get(o);let a=new Intl.NumberFormat(e,t);return zi.set(o,a),a}function YE(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 o=e.format(-r),a=e.format(r),i=o.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(r)}}const qE=new RegExp("^.*\\(.*\\).*$"),ZE=["latn","arab","hanidec"];class Iu{parse(t){return ji(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return ji(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return ji(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Au=new Map;function ji(e,t,r){let n=Mu(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of ZE)if(o!==n.options.numberingSystem){let a=Mu(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function Mu(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=Au.get(r);return n||(n=new XE(e,t),Au.set(r,n)),n}class XE{parse(t){let r=this.sanitize(t);r=vo(r,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.currencySign==="accounting"&&qE.test(t)&&(n=-1*n),this.options.style==="percent"){n/=100;var o;n=+n.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return n}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=vo(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=vo(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),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)),t.startsWith(this.symbols.group)?!1:(t=vo(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,r={}){this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=JE(this.formatter,this.options,r)}}const Nu=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function JE(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),u=e.formatToParts(1);var d;let f=(d=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&d!==void 0?d:"-",p=(o=c.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!p&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(p="+");let m=(a=s.find(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,b=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!Nu.has(P.type)).map(P=>Fu(P.value)),v=u.filter(P=>!Nu.has(P.type)).map(P=>Fu(P.value)),$=[...new Set([...v,...g])].sort((P,w)=>w.length-P.length),x=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),_=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(_.map((P,w)=>[P,w])),M=new RegExp(`[${_.join("")}]`,"g");return{minusSign:f,plusSign:p,decimal:m,group:b,literals:x,numeral:M,index:P=>String(y.get(P))}}function vo(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Fu(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const QE=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),eP=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function tP(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return QE.has(r)}let t=e.split("-")[0];return eP.has(t)}function zu(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:tP(e)?"rtl":"ltr"}}let Vi=zu(),nn=new Set;function Lu(){Vi=zu();for(let e of nn)e(Vi)}function rP(){let e=Md(),[t,r]=l.useState(Vi);return l.useEffect(()=>(nn.size===0&&window.addEventListener("languagechange",Lu),nn.add(r),()=>{nn.delete(r),nn.size===0&&window.removeEventListener("languagechange",Lu)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const nP=l.createContext(null);function ct(){let e=rP();return l.useContext(nP)||e}const Ku=new WeakMap;function oP(e){let t=Ku.get(e);return t||(t=new xi(e),Ku.set(e,t)),t}function It(e){let{locale:t}=ct(),r=l.useMemo(()=>oP(e),[e]);return l.useMemo(()=>new vE(t,r),[t,r])}function yo(e){let t=l.useRef(null);e&&t.current&&aP(e,t.current)&&(e=t.current),t.current=e;let{locale:r}=ct();return l.useMemo(()=>new bo(r,e),[r,e])}function aP(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 o of r)if(t[o]!==e[o])return!1;return!0}function iP(e={}){let{locale:t}=ct();return l.useMemo(()=>new Ki(t,e),[t,e])}let Bi=new Map;function $o(e){let{locale:t}=ct(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(Bi.has(r))return Bi.get(r);let n=new Intl.Collator(t,e);return Bi.set(r,n),n}function sP(e){let t=$o({usage:"search",...e}),r=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=l.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),o=l.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,c=i.length;for(;s+c<=a.length;s++){let u=a.slice(s,s+c);if(t.compare(i,u)===0)return!0}return!1},[t]);return l.useMemo(()=>({startsWith:r,endsWith:n,contains:o}),[r,n,o])}function lP(e){return e&&e.__esModule?e.default:e}function cP(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=hE({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),u={};return c||(u=s),r&&(u["aria-current"]=o||"page",u.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...u}}}var ju={},Vu={};Vu={breadcrumbs:"عناصر الواجهة"};var Bu={};Bu={breadcrumbs:"Трохи хляб"};var Ru={};Ru={breadcrumbs:"Popis cesty"};var Wu={};Wu={breadcrumbs:"Brødkrummer"};var Uu={};Uu={breadcrumbs:"Breadcrumbs"};var Hu={};Hu={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Gu={};Gu={breadcrumbs:"Breadcrumbs"};var Yu={};Yu={breadcrumbs:"Migas de pan"};var qu={};qu={breadcrumbs:"Lingiread"};var Zu={};Zu={breadcrumbs:"Navigointilinkit"};var Xu={};Xu={breadcrumbs:"Chemin de navigation"};var Ju={};Ju={breadcrumbs:"שבילי ניווט"};var Qu={};Qu={breadcrumbs:"Navigacijski putovi"};var ef={};ef={breadcrumbs:"Morzsamenü"};var tf={};tf={breadcrumbs:"Breadcrumb"};var rf={};rf={breadcrumbs:"パンくずリスト"};var nf={};nf={breadcrumbs:"탐색 표시"};var of={};of={breadcrumbs:"Naršymo kelias"};var af={};af={breadcrumbs:"Atpakaļceļi"};var sf={};sf={breadcrumbs:"Navigasjonsstier"};var lf={};lf={breadcrumbs:"Broodkruimels"};var cf={};cf={breadcrumbs:"Struktura nawigacyjna"};var df={};df={breadcrumbs:"Caminho detalhado"};var uf={};uf={breadcrumbs:"Categorias"};var ff={};ff={breadcrumbs:"Miez de pâine"};var pf={};pf={breadcrumbs:"Навигация"};var mf={};mf={breadcrumbs:"Navigačné prvky Breadcrumbs"};var hf={};hf={breadcrumbs:"Drobtine"};var bf={};bf={breadcrumbs:"Putanje navigacije"};var gf={};gf={breadcrumbs:"Sökvägar"};var vf={};vf={breadcrumbs:"İçerik haritaları"};var yf={};yf={breadcrumbs:"Навігаційна стежка"};var $f={};$f={breadcrumbs:"导航栏"};var xf={};xf={breadcrumbs:"導覽列"},ju={"ar-AE":Vu,"bg-BG":Bu,"cs-CZ":Ru,"da-DK":Wu,"de-DE":Uu,"el-GR":Hu,"en-US":Gu,"es-ES":Yu,"et-EE":qu,"fi-FI":Zu,"fr-FR":Xu,"he-IL":Ju,"hr-HR":Qu,"hu-HU":ef,"it-IT":tf,"ja-JP":rf,"ko-KR":nf,"lt-LT":of,"lv-LV":af,"nb-NO":sf,"nl-NL":lf,"pl-PL":cf,"pt-BR":df,"pt-PT":uf,"ro-RO":ff,"ru-RU":pf,"sk-SK":mf,"sl-SI":hf,"sr-SP":bf,"sv-SE":gf,"tr-TR":vf,"uk-UA":yf,"zh-CN":$f,"zh-TW":xf};function dP(e){let{"aria-label":t,...r}=e,n=It(lP(ju));return{navProps:{...bt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const uP=C(pw)`
|
|
230
230
|
border-radius: ${h.border_radius_400};
|
|
231
231
|
padding: ${h.sizing_200};
|
|
232
232
|
width: fit-content; /* Pass as prop? */
|
|
233
233
|
background-color: ${h.color_white};
|
|
234
234
|
box-shadow: ${h.elevation_interactive_medium};
|
|
235
235
|
z-index: 5; /* Same as dialogs */
|
|
236
|
-
`,
|
|
236
|
+
`,fP=C(mw)`
|
|
237
237
|
fill: ${h.color_white};
|
|
238
|
-
`;function
|
|
238
|
+
`;function _f({children:e,forceMount:t,...r}){return T(fw,{forceMount:t,children:re(uP,{...r,forceMount:t,children:[e,T(fP,{})]})})}const Ri=Ad,pP=C(Ad)`
|
|
239
239
|
all: unset;
|
|
240
240
|
cursor: pointer;
|
|
241
241
|
font-family: inherit;
|
|
@@ -249,7 +249,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
249
249
|
position: absolute;
|
|
250
250
|
top: 5px;
|
|
251
251
|
right: 5px;
|
|
252
|
-
`,
|
|
252
|
+
`,wf=dw,Ef=uw,mP="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",hP=C(Cd)`
|
|
253
253
|
margin-top: 22px;
|
|
254
254
|
isolation: isolate;
|
|
255
255
|
min-width: 210px;
|
|
@@ -261,7 +261,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
261
261
|
&[data-state~='focused'] {
|
|
262
262
|
outline: 1px solid ${h.color_black};
|
|
263
263
|
}
|
|
264
|
-
`;function
|
|
264
|
+
`;function bP({children:e}){const{isFocusVisible:t,focusProps:r}=xr();return T(hP,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const Wi=C.ol`
|
|
265
265
|
font-family: ${h.font_family_sans};
|
|
266
266
|
display: flex;
|
|
267
267
|
list-style: none;
|
|
@@ -277,7 +277,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
277
277
|
font-family: ${h.font_family_sans};
|
|
278
278
|
color: ${h.color_divider_standard};
|
|
279
279
|
}
|
|
280
|
-
`,
|
|
280
|
+
`,Pf=C(Wi)`
|
|
281
281
|
flex-direction: column;
|
|
282
282
|
|
|
283
283
|
& li {
|
|
@@ -291,7 +291,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
291
291
|
|
|
292
292
|
& > ol li:first-of-type::before {
|
|
293
293
|
content: '';
|
|
294
|
-
background-image: url(${
|
|
294
|
+
background-image: url(${mP});
|
|
295
295
|
display: block;
|
|
296
296
|
height: 1em;
|
|
297
297
|
width: 1em;
|
|
@@ -300,12 +300,12 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
300
300
|
background-size: initial;
|
|
301
301
|
background-repeat: initial;
|
|
302
302
|
}
|
|
303
|
-
`,
|
|
303
|
+
`,Ui=C.li`
|
|
304
304
|
color: ${h.color_text_weak};
|
|
305
305
|
display: flex;
|
|
306
306
|
align-items: center;
|
|
307
307
|
gap: ${h.sizing_200};
|
|
308
|
-
`,
|
|
308
|
+
`,Df=C.a`
|
|
309
309
|
text-decoration: none;
|
|
310
310
|
color: ${h.color_text_weak};
|
|
311
311
|
font-style: normal;
|
|
@@ -348,7 +348,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
348
348
|
color: ${h.color_text_strong};
|
|
349
349
|
font-weight: 400;
|
|
350
350
|
}
|
|
351
|
-
`,
|
|
351
|
+
`,gP=C.button`
|
|
352
352
|
appearance: none;
|
|
353
353
|
cursor: pointer;
|
|
354
354
|
touch-action: none;
|
|
@@ -375,12 +375,12 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
375
375
|
&[data-state~='open'] {
|
|
376
376
|
background-color: ${h.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
377
377
|
}
|
|
378
|
-
`;function
|
|
378
|
+
`;function Sf({truncatedItems:e}){return e.length>1?re(Pf,{children:[e.slice(0,1),T(Sf,{truncatedItems:e.slice(1)})]}):T(Pf,{children:e})}function vP({truncatedItems:e}){return T(Ui,{children:re(wf,{children:[T(Ef,{asChild:!0,children:T(gP,{type:"button",children:"..."})}),T(bP,{children:T(Sf,{truncatedItems:e})})]})})}const Tf=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=dP(t);ir.isFragment(e)&&console.warn("Passing a React fragment to Breadcrumbs will make it not work correctly!");const o=l.Children.toArray(e),a=3;if(o.length>a){const s=o[0],c=o.slice(-2),u=o.slice(1,-2);return T("nav",{...n,children:re(Wi,{ref:r,children:[s,T(vP,{truncatedItems:u}),c]})})}return T("nav",{...n,children:T(Wi,{ref:r,children:o})})});Tf.displayName="Breadcrumbs";const kf=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,a=lt(t),i=typeof r=="string",{children:s,href:c,isCurrent:u}=e,{itemProps:d}=cP({isDisabled:n,isCurrent:u,elementType:i?r:"a",...o},a),{isPressed:f,pressProps:p}=gr({isDisabled:n??u,ref:a}),{isFocusVisible:m,focusProps:b}=xr(),g=[f&&"pressed",n&&"disabled",m&&"focused"].filter(Boolean).join(" "),$=u||n||!c?{}:{[i?"href":"to"]:c};return T(Ui,{children:T(Df,{as:r,...d,ref:a,"data-state":g,...b,...p,...$,children:s})})});kf.displayName="BreadcrumbItem";function on(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:u,onClick:d,href:f,target:p,rel:m,type:b="button"}=e,g;r==="button"?g={type:b,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:f,target:r==="a"?p:void 0,type:r==="input"?b:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:v,isPressed:$}=gr({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:x}=$i(e,t);u&&(x.tabIndex=n?-1:x.tabIndex);let _=de(x,v,bt(e,{labelable:!0}));return{isPressed:$,buttonProps:de(g,_,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:y=>{d&&(d(y),console.warn("onClick is deprecated, please use onPress"))}})}}const Hi={small:`${h.spacing_200} ${h.spacing_300}`,large:`${h.spacing_300} ${h.spacing_400}`},rt=C.button`
|
|
379
379
|
appearance: none;
|
|
380
380
|
border-radius: ${h.border_radius_400};
|
|
381
381
|
border: 1px solid transparent;
|
|
382
382
|
font-style: normal;
|
|
383
|
-
padding: var(--button-padding, ${
|
|
383
|
+
padding: var(--button-padding, ${Hi.small});
|
|
384
384
|
font-family: ${h.font_family_sans};
|
|
385
385
|
cursor: pointer;
|
|
386
386
|
white-space: nowrap;
|
|
@@ -410,7 +410,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
410
410
|
& > svg {
|
|
411
411
|
height: 1em;
|
|
412
412
|
}
|
|
413
|
-
`,
|
|
413
|
+
`,yP=C(rt)`
|
|
414
414
|
background: ${h.color_white};
|
|
415
415
|
color: hsl(0deg 0% 7.84%); /* color missing in tokens */
|
|
416
416
|
border: 1px solid ${h.color_outline_secondary_enabled};
|
|
@@ -431,7 +431,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
431
431
|
color: ${h.color_fill_secondary_disabled};
|
|
432
432
|
border-color: ${h.color_outline_secondary_disabled};
|
|
433
433
|
}
|
|
434
|
-
|
|
434
|
+
`,$P=C(rt)`
|
|
435
435
|
background: ${h.color_white};
|
|
436
436
|
color: ${h.color_fill_danger_enabled};
|
|
437
437
|
border: 1px solid ${h.color_outline_danger_enabled};
|
|
@@ -449,7 +449,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
449
449
|
&:disabled {
|
|
450
450
|
color: ${h.color_fill_danger_disabled};
|
|
451
451
|
}
|
|
452
|
-
`,
|
|
452
|
+
`,xP=C(rt)`
|
|
453
453
|
background: ${h.color_overlay_inverse_enabled};
|
|
454
454
|
border-color: ${h.color_outline_inverse_enabled};
|
|
455
455
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -478,7 +478,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
478
478
|
background-color: transparent;
|
|
479
479
|
color: ${h.color_outline_inverse_disabled};
|
|
480
480
|
}
|
|
481
|
-
`,
|
|
481
|
+
`,Gi={primary:yP,danger:$P,inverse:xP},_P=C(rt)`
|
|
482
482
|
background: hsl(
|
|
483
483
|
217.35deg 81.6% 51%
|
|
484
484
|
); /* Interactive / Overlay / Primary / Enabled */
|
|
@@ -498,7 +498,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
498
498
|
&:disabled {
|
|
499
499
|
color: ${h.color_fill_primary_disabled};
|
|
500
500
|
}
|
|
501
|
-
`,
|
|
501
|
+
`,wP=C(rt)`
|
|
502
502
|
color: ${h.color_fill_danger_enabled};
|
|
503
503
|
background-color: hsl(217.35deg 81.6% 50.98%);
|
|
504
504
|
|
|
@@ -520,7 +520,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
520
520
|
&:disabled {
|
|
521
521
|
color: ${h.color_fill_danger_disabled};
|
|
522
522
|
}
|
|
523
|
-
`,
|
|
523
|
+
`,EP=C(rt)`
|
|
524
524
|
background: ${h.color_overlay_inverse_enabled};
|
|
525
525
|
border-color: transparent;
|
|
526
526
|
color: ${h.color_fill_inverse_enabled};
|
|
@@ -545,7 +545,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
545
545
|
background-color: ${h.color_fill_inverse_disabled};
|
|
546
546
|
color: ${h.color_outline_inverse_disabled};
|
|
547
547
|
}
|
|
548
|
-
`,
|
|
548
|
+
`,PP={primary:_P,danger:wP,inverse:EP},DP=C(rt)`
|
|
549
549
|
background: ${h.color_fill_primary_enabled};
|
|
550
550
|
color: ${h.color_white};
|
|
551
551
|
|
|
@@ -562,7 +562,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
562
562
|
background: ${h.color_fill_primary_disabled};
|
|
563
563
|
color: ${h.color_fill_inverse_pressed};
|
|
564
564
|
}
|
|
565
|
-
`,
|
|
565
|
+
`,SP=C(rt)`
|
|
566
566
|
background: ${h.color_fill_secondary_enabled};
|
|
567
567
|
color: ${h.color_fill_primary_enabled};
|
|
568
568
|
|
|
@@ -579,7 +579,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
579
579
|
&:disabled {
|
|
580
580
|
background: ${h.color_fill_secondary_disabled};
|
|
581
581
|
}
|
|
582
|
-
`,
|
|
582
|
+
`,TP=C(rt)`
|
|
583
583
|
background: ${h.color_fill_danger_enabled};
|
|
584
584
|
color: ${h.color_white};
|
|
585
585
|
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
596
596
|
&:disabled {
|
|
597
597
|
background: ${h.color_fill_danger_disabled};
|
|
598
598
|
}
|
|
599
|
-
|
|
599
|
+
`,kP=C(rt)`
|
|
600
600
|
background: ${h.color_white};
|
|
601
601
|
|
|
602
602
|
&:hover {
|
|
@@ -610,10 +610,10 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
610
610
|
&:disabled {
|
|
611
611
|
background: ${h.color_fill_inverse_disabled};
|
|
612
612
|
}
|
|
613
|
-
`,
|
|
613
|
+
`,CP={primary:DP,secondary:SP,danger:TP,inverse:kP},Yi=l.createContext(!1);Yi.displayName="FieldsetContext";const Cf=C.fieldset`
|
|
614
614
|
padding: 0;
|
|
615
615
|
border: none;
|
|
616
|
-
`;function
|
|
616
|
+
`;function OP({children:e,disabled:t,...r}){const o=dt()||Boolean(t);return T(Yi.Provider,{value:o,children:T(Cf,{disabled:t,...r,children:e})})}function dt(){return l.useContext(Yi)}function Of({isFocusVisible:e,isPressed:t}){return[e?"focused":void 0,t?"pressed":void 0].filter(Boolean).join(" ")}const IP={low:PP,medium:Gi,high:CP},Er=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:a,onClick:i,autoFocus:s,children:c,...u}=e,d=lt(t),f=dt(),p=a??f,{buttonProps:m,isPressed:b}=on({onPress:i,isDisabled:p,autoFocus:s,...u},d),{isFocusVisible:g,focusProps:v}=xr({autoFocus:s}),$=Of({isFocusVisible:g,isPressed:b}),_=IP[o][n];return T(_,{ref:d,...de(m,u,v,{"data-state":$}),"data-state":$,style:{"--button-padding":Hi[r]},children:c})});Er.displayName="Button";function qi(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const If=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Af="Checkbox",[AP,$O]=Ce(Af),[MP,NP]=AP(Af),FP=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:u,...d}=e,[f,p]=l.useState(null),m=le(t,_=>p(_)),b=l.useRef(!1),g=f?Boolean(f.closest("form")):!0,[v=!1,$]=et({prop:o,defaultProp:a,onChange:u}),x=l.useRef(v);return l.useEffect(()=>{const _=f==null?void 0:f.form;if(_){const y=()=>$(x.current);return _.addEventListener("reset",y),()=>_.removeEventListener("reset",y)}},[f,$]),l.createElement(MP,{scope:r,state:v,disabled:s},l.createElement(If.button,D({type:"button",role:"checkbox","aria-checked":Qt(v)?"mixed":v,"aria-required":i,"data-state":Mf(v),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onKeyDown:U(e.onKeyDown,_=>{_.key==="Enter"&&_.preventDefault()}),onClick:U(e.onClick,_=>{$(y=>Qt(y)?!0:!y),g&&(b.current=_.isPropagationStopped(),b.current||_.stopPropagation())})})),g&&l.createElement(KP,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),zP="CheckboxIndicator",LP=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=NP(zP,r);return l.createElement(Ae,{present:n||Qt(a.state)||a.state===!0},l.createElement(If.span,D({"data-state":Mf(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),KP=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=qi(r),s=fr(t);return l.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});c.indeterminate=Qt(r),f.call(c,Qt(r)?!1:r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",D({type:"checkbox","aria-hidden":!0,defaultChecked:Qt(r)?!1:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Qt(e){return e==="indeterminate"}function Mf(e){return Qt(e)?"indeterminate":e?"checked":"unchecked"}const jP=FP,VP=LP;function Nf(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=We(t);let i=We(),s={};r?(n=n?`${n} ${i}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!n&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let c=ei({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function an(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:a}=Nf(e),i=qn([Boolean(t),Boolean(r),n]),s=qn([Boolean(t),Boolean(r),n]);return a=de(a,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:i},errorMessageProps:{id:s}}}function xo(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:s="text",onChange:c=()=>{}}=e,{focusableProps:u}=$i(e,t),{labelProps:d,fieldProps:f,descriptionProps:p,errorMessageProps:m}=an(e),b=bt(e,{labelable:!0});const g={type:s,pattern:e.pattern};return{labelProps:d,inputProps:de(b,r==="input"&&g,{disabled:n,readOnly:a,"aria-required":o||void 0,"aria-invalid":i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:v=>c(v.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...f}),descriptionProps:p,errorMessageProps:m}}function Ff(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function BP(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!Ff())return;let d=r.current,f=p=>{let m=n.current,b;switch(p.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":b=d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentForward":b=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd+1):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentBackward":b=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart-1)+d.value.slice(d.selectionStart):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":b=d.value.slice(d.selectionStart);break;default:p.data!=null&&(b=d.value.slice(0,d.selectionStart)+p.data+d.value.slice(d.selectionEnd));break}(b==null||!m.validate(b))&&p.preventDefault()};return d.addEventListener("beforeinput",f,!1),()=>{d.removeEventListener("beforeinput",f,!1)}},[r,n]);let o=Ff()?null:d=>{let f=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(f)||d.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:s,errorMessageProps:c}=xo(e,r),u=l.useRef(null);return{inputProps:de(i,{onBeforeInput:o,onCompositionStart(){let{value:d,selectionStart:f,selectionEnd:p}=r.current;u.current={value:d,selectionStart:f,selectionEnd:p}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:d,selectionStart:f,selectionEnd:p}=u.current;r.current.value=d,r.current.setSelectionRange(f,p),t.setInputValue(d)}}}),labelProps:a,descriptionProps:s,errorMessageProps:c}}const RP=C.css`
|
|
617
617
|
position: absolute;
|
|
618
618
|
width: 1px;
|
|
619
619
|
height: 1px;
|
|
@@ -623,7 +623,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
623
623
|
clip: rect(0, 0, 0, 0);
|
|
624
624
|
white-space: nowrap;
|
|
625
625
|
border-width: 0;
|
|
626
|
-
`,
|
|
626
|
+
`,Zi=C.label`
|
|
627
627
|
font-family: ${h.font_family_sans};
|
|
628
628
|
margin: 0;
|
|
629
629
|
font-style: normal;
|
|
@@ -633,21 +633,21 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
633
633
|
font-weight: var(--label-font-weight, 400);
|
|
634
634
|
color: ${h.color_background_black_standard};
|
|
635
635
|
|
|
636
|
-
${e=>e.srOnly&&
|
|
637
|
-
`,
|
|
636
|
+
${e=>e.srOnly&&RP}
|
|
637
|
+
`,WP=C(Zi)`
|
|
638
638
|
font-size: ${h.font_size_label_small};
|
|
639
639
|
letter-spacing: ${h.letter_spacing_label_small};
|
|
640
640
|
line-height: ${h.line_height_label_small};
|
|
641
|
-
`,
|
|
641
|
+
`,UP=C(Zi)`
|
|
642
642
|
font-size: ${h.font_size_label_large};
|
|
643
643
|
letter-spacing: ${h.letter_spacing_label_large};
|
|
644
644
|
line-height: ${h.line_height_label_large};
|
|
645
|
-
`,
|
|
645
|
+
`,HP=C(Zi)`
|
|
646
646
|
font-size: ${h.font_size_label_medium};
|
|
647
647
|
letter-spacing: ${h.letter_spacing_label_medium};
|
|
648
648
|
line-height: ${h.line_height_label_medium};
|
|
649
|
-
`,
|
|
650
|
-
padding: ${({paddingSize:e="small"})=>
|
|
649
|
+
`,GP={small:WP,medium:HP,large:UP};function He({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=GP[r];return T(i,{...a,srOnly:o,style:{"--label-font-weight":t?600:400,"--label-display":n},children:e})}const YP={small:"7px 8px",large:"11px 12px"},sn=C.input`
|
|
650
|
+
padding: ${({paddingSize:e="small"})=>YP[e]}; // add default?
|
|
651
651
|
appearance: none;
|
|
652
652
|
border: 1px solid
|
|
653
653
|
var(--input-border-color, ${h.color_outline_secondary_enabled});
|
|
@@ -699,7 +699,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
699
699
|
&:disabled::placeholder {
|
|
700
700
|
color: ${h.color_fill_primary_disabled};
|
|
701
701
|
}
|
|
702
|
-
`,
|
|
702
|
+
`,er=C.div`
|
|
703
703
|
--input-border-color: ${h.color_outline_secondary_enabled};
|
|
704
704
|
display: flex;
|
|
705
705
|
flex-direction: column;
|
|
@@ -716,7 +716,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
716
716
|
letter-spacing: ${h.letter_spacing_tight};
|
|
717
717
|
|
|
718
718
|
/* max-width: 300px; make configurable with prop? */
|
|
719
|
-
`,
|
|
719
|
+
`,_o=C.div`
|
|
720
720
|
display: flex;
|
|
721
721
|
align-items: center;
|
|
722
722
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -731,7 +731,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
731
731
|
/* display: inline-flex;
|
|
732
732
|
align-self: center; */
|
|
733
733
|
}
|
|
734
|
-
`,
|
|
734
|
+
`,wo=C.div`
|
|
735
735
|
color: ${h.color_text_weak};
|
|
736
736
|
font-size: ${h.font_size_50};
|
|
737
737
|
line-height: ${h.line_height_133};
|
|
@@ -745,7 +745,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
745
745
|
display: flex;
|
|
746
746
|
align-items: center;
|
|
747
747
|
pointer-events: none;
|
|
748
|
-
`;const cs=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:u,placeholder:d="Enter text...",...f}=e,p=dt(t),m=ft(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:y,errorMessageProps:x}=Bo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:d,label:c},p);let w=null;return typeof c=="string"?w=k(Qe,{...g,children:c}):l.isValidElement(c)&&(w=l.cloneElement(c,{...g})),ae(or,{children:[w,k(pn,{"data-state":u,paddingSize:s,ref:p,placeholder:"Enter...",type:"text",...y,required:i}),r?ae(Ro,{...x,children:[k(Oe.Error,{}),r]}):null,n?k(Wo,{...v,children:n}):null]})});cs.displayName="TextInput";const Ft=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function KP(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}const ds="dismissableLayer.update",VP="dismissableLayer.pointerDownOutside",jP="dismissableLayer.focusOutside";let Qf;const BP=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),RP=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(BP),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=WP(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=UP(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Qf=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),ep(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Qf)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),ep())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(ds,_),()=>document.removeEventListener(ds,_)},[]),l.createElement(Ft.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))});function WP(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){tp(VP,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function UP(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&tp(jP,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ep(){const e=new CustomEvent(ds);document.dispatchEvent(e)}function tp(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?KP(o,a):o.dispatchEvent(a)}const HP=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(Ft.svg,S({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))}),rp="Popper",[us,np]=Me(rp),[GP,op]=us(rp),YP=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(GP,{scope:t,anchor:n,onAnchorChange:o},r)},qP="PopperAnchor",ZP=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=op(qP,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(Ft.div,S({},o,{ref:s}))}),Uo="PopperContent",[XP,JP]=us(Uo),[QP,e7]=us(Uo,{hasParent:!1,positionUpdateFns:new Set}),t7=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:$=!0,onPlaced:A,...N}=e,P=op(Uo,d),[_,O]=l.useState(null),L=le(t,he=>O(he)),[T,K]=l.useState(null),D=Yt(T),I=(r=D==null?void 0:D.width)!==null&&r!==void 0?r:0,q=(n=D==null?void 0:D.height)!==null&&n!==void 0?n:0,ie=f+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},re=Array.isArray(v)?v:[v],j=re.length>0,F={padding:W,boundary:re.filter(i7),altBoundary:j},{reference:M,floating:H,strategy:X,x:Z,y:oe,placement:ne,middlewareData:B,update:Y}=co({strategy:"fixed",placement:ie,whileElementsMounted:lo,middleware:[s7(),eo({mainAxis:p+q,alignmentAxis:b}),$?to({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ro():void 0,...F}):void 0,T?uo({element:T,padding:g}):void 0,$?Jn({...F}):void 0,no({...F,apply:({elements:he,availableWidth:Fe,availableHeight:Dt})=>{he.floating.style.setProperty("--radix-popper-available-width",`${Fe}px`),he.floating.style.setProperty("--radix-popper-available-height",`${Dt}px`)}}),l7({arrowWidth:I,arrowHeight:q}),w?Qn({strategy:"referenceHidden"}):void 0].filter(a7)});ye(()=>{M(P.anchor)},[M,P.anchor]);const G=Z!==null&&oe!==null,[J,se]=ap(ne),te=ge(A);ye(()=>{G&&(te==null||te())},[G,te]);const $e=(o=B.arrow)===null||o===void 0?void 0:o.x,Se=(a=B.arrow)===null||a===void 0?void 0:a.y,Le=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Ke]=l.useState();ye(()=>{_&&Ke(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:Ve,positionUpdateFns:fe}=e7(Uo,d),xe=!Ve;l.useLayoutEffect(()=>{if(!xe)return fe.add(Y),()=>{fe.delete(Y)}},[xe,fe,Y]),ye(()=>{xe&&G&&Array.from(fe).reverse().forEach(he=>requestAnimationFrame(he))},[xe,G,fe]);const Ue={"data-side":J,"data-align":se,...N,ref:L,style:{...N.style,animation:G?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:X,left:0,top:0,transform:G?`translate3d(${Math.round(Z)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ne,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(u=B.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(XP,{scope:d,placedSide:J,onArrowChange:K,arrowX:$e,arrowY:Se,shouldHideArrow:Le},xe?l.createElement(QP,{scope:d,hasParent:!0,positionUpdateFns:fe},l.createElement(Ft.div,Ue)):l.createElement(Ft.div,Ue)))}),r7="PopperArrow",n7={top:"bottom",right:"left",bottom:"top",left:"right"},o7=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=JP(r7,n),i=n7[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(HP,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function a7(e){return e!==void 0}function i7(e){return e!==null}const s7=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),l7=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=ap(s),v={start:"0%",center:"50%",end:"100%"}[g],y=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",$="";return b==="bottom"?(w=f?v:`${y}px`,$=`${-m}px`):b==="top"?(w=f?v:`${y}px`,$=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,$=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,$=f?v:`${x}px`),{data:{x:w,y:$}}}});function ap(e){const[t,r="center"]=e.split("-");return[t,r]}const c7=YP,d7=ZP,u7=t7,f7=o7,p7=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(Ft.div,S({},o,{ref:t})),n):null}),m7=l.forwardRef((e,t)=>l.createElement(Ft.span,S({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Ho,HA]=Me("Tooltip",[np]),Go=np(),h7="TooltipProvider",b7=700,fs="tooltip.open",[g7,ps]=Ho(h7),v7=e=>{const{__scopeTooltip:t,delayDuration:r=b7,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=l.useState(!0),c=l.useRef(!1),u=l.useRef(0);return l.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),l.createElement(g7,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(d=>{c.current=d},[]),disableHoverableContent:o},a)},ms="Tooltip",[$7,mn]=Ho(ms),y7=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=ps(ms,e.__scopeTooltip),u=Go(t),[d,f]=l.useState(null),p=Ge(),m=l.useRef(0),b=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[y=!1,x]=Ze({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(fs))):c.onClose(),a==null||a(P)}}),w=l.useMemo(()=>y?v.current?"delayed-open":"instant-open":"closed",[y]),$=l.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,x(!0)},[x]),A=l.useCallback(()=>{window.clearTimeout(m.current),x(!1)},[x]),N=l.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0)},g)},[g,x]);return l.useEffect(()=>()=>window.clearTimeout(m.current),[]),l.createElement(c7,u,l.createElement($7,{scope:t,contentId:p,open:y,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?N():$()},[c.isOpenDelayed,N,$]),onTriggerLeave:l.useCallback(()=>{b?A():window.clearTimeout(m.current)},[A,b]),onOpen:$,onClose:A,disableHoverableContent:b},r))},ip="TooltipTrigger",x7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=mn(ip,r),a=ps(ip,r),i=Go(r),s=l.useRef(null),c=le(t,s,o.onTriggerChange),u=l.useRef(!1),d=l.useRef(!1),f=l.useCallback(()=>u.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.createElement(d7,S({asChild:!0},i),l.createElement(Ft.button,S({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:R(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:R(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:R(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:R(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:R(e.onBlur,o.onClose),onClick:R(e.onClick,o.onClose)})))}),sp="TooltipPortal",[w7,_7]=Ho(sp,{forceMount:void 0}),E7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=mn(sp,t);return l.createElement(w7,{scope:t,forceMount:r},l.createElement(je,{present:r||a.open},l.createElement(p7,{asChild:!0,container:o},n)))},hn="TooltipContent",P7=l.forwardRef((e,t)=>{const r=_7(hn,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=mn(hn,e.__scopeTooltip);return l.createElement(je,{present:n||i.open},i.disableHoverableContent?l.createElement(lp,S({side:o},a,{ref:t})):l.createElement(S7,S({side:o},a,{ref:t})))}),S7=l.forwardRef((e,t)=>{const r=mn(hn,e.__scopeTooltip),n=ps(hn,e.__scopeTooltip),o=l.useRef(null),a=le(t,o),[i,s]=l.useState(null),{trigger:c,onClose:u}=r,d=o.current,{onPointerInTransitChange:f}=n,p=l.useCallback(()=>{s(null),f(!1)},[f]),m=l.useCallback((b,g)=>{const v=b.currentTarget,y={x:b.clientX,y:b.clientY},x=O7(y,v.getBoundingClientRect()),w=x==="right"||x==="bottom"?-5:5,A=x==="right"||x==="left"?{x:b.clientX+w,y:b.clientY}:{x:b.clientX,y:b.clientY+w},N=I7(g.getBoundingClientRect()),P=M7([A,...N]);s(P),f(!0)},[f]);return l.useEffect(()=>()=>p(),[p]),l.useEffect(()=>{if(c&&d){const b=v=>m(v,d),g=v=>m(v,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",g)}}},[c,d,m,p]),l.useEffect(()=>{if(i){const b=g=>{const v=g.target,y={x:g.clientX,y:g.clientY},x=(c==null?void 0:c.contains(v))||(d==null?void 0:d.contains(v)),w=!A7(y,i);x?p():w&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,i,u,p]),l.createElement(lp,S({},e,{ref:a}))}),[D7,T7]=Ho(ms,{isInside:!1}),lp=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=mn(hn,r),u=Go(r),{onClose:d}=c;return l.useEffect(()=>(document.addEventListener(fs,d),()=>document.removeEventListener(fs,d)),[d]),l.useEffect(()=>{if(c.trigger){const f=p=>{const m=p.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.createElement(RP,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},l.createElement(u7,S({"data-state":c.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),l.createElement(za,null,n),l.createElement(D7,{scope:r,isInside:!0},l.createElement(m7,{id:c.contentId,role:"tooltip"},o||n))))}),k7="TooltipArrow",C7=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Go(r);return T7(k7,r).isInside?null:l.createElement(f7,S({},o,n,{ref:t}))});function O7(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function I7(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function A7(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,c=t[a].y,u=t[i].x,d=t[i].y;c>n!=d>n&&r<(u-s)*(n-c)/(d-c)+s&&(o=!o)}return o}function M7(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),N7(t)}function N7(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const F7=v7,z7=y7,L7=x7,K7=E7,V7=P7,j7=C7,B7=C.keyframes`
|
|
748
|
+
`;const Xi=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:u,placeholder:d="Enter text...",...f}=e,p=lt(t),m=dt(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=xo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:d,label:c},p);let _=null;return typeof c=="string"?_=T(He,{...g,children:c}):l.isValidElement(c)&&(_=l.cloneElement(c,{...g})),re(er,{children:[_,T(sn,{"data-state":u,paddingSize:s,ref:p,placeholder:"Enter...",type:"text",...$,required:i}),r?re(_o,{...x,children:[T(ke.Error,{}),r]}):null,n?T(wo,{...v,children:n}):null]})});Xi.displayName="TextInput";const At=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function qP(e,t){e&&ze.flushSync(()=>e.dispatchEvent(t))}const Ji="dismissableLayer.update",ZP="dismissableLayer.pointerDownOutside",XP="dismissableLayer.focusOutside";let zf;const JP=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),QP=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(JP),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,w=>p(w)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=f?v.indexOf(f):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,M=_>=x,F=e5(w=>{const O=w.target,K=[...d.branches].some(k=>k.contains(O));!M||K||(a==null||a(w),s==null||s(w),w.defaultPrevented||c==null||c())},m),P=t5(w=>{const O=w.target;[...d.branches].some(k=>k.contains(O))||(i==null||i(w),s==null||s(w),w.defaultPrevented||c==null||c())},m);return Rr(w=>{_===d.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(zf=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Lf(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=zf)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Lf())},[f,d]),l.useEffect(()=>{const w=()=>b({});return document.addEventListener(Ji,w),()=>document.removeEventListener(Ji,w)},[]),l.createElement(At.div,D({},u,{ref:g,style:{pointerEvents:y?M?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,F.onPointerDownCapture)}))});function e5(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){Kf(ZP,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function t5(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Kf(XP,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Lf(){const e=new CustomEvent(Ji);document.dispatchEvent(e)}function Kf(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?qP(o,a):o.dispatchEvent(a)}const r5=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(At.svg,D({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))}),jf="Popper",[Qi,Vf]=Ce(jf),[n5,Bf]=Qi(jf),o5=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(n5,{scope:t,anchor:n,onAnchorChange:o},r)},a5="PopperAnchor",i5=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Bf(a5,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(At.div,D({},o,{ref:s}))}),Eo="PopperContent",[s5,l5]=Qi(Eo),[c5,d5]=Qi(Eo,{hasParent:!1,positionUpdateFns:new Set}),u5=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:_=!1,avoidCollisions:y=!0,onPlaced:M,...F}=e,P=Bf(Eo,d),[w,O]=l.useState(null),K=le(t,ye=>O(ye)),[k,j]=l.useState(null),S=fr(k),I=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,J=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),W=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ee=Array.isArray(v)?v:[v],V=ee.length>0,N={padding:W,boundary:ee.filter(b5),altBoundary:V},{reference:A,floating:R,strategy:G,x:q,y:oe,placement:te,middlewareData:Z,update:Q}=Ha({strategy:"fixed",placement:se,whileElementsMounted:Ra,middleware:[g5(),za({mainAxis:p+J,alignmentAxis:b}),y?La({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Ka():void 0,...N}):void 0,k?Ga({element:k,padding:g}):void 0,y?Na({...N}):void 0,ja({...N,apply:({elements:ye,availableWidth:Ie,availableHeight:ar})=>{ye.floating.style.setProperty("--radix-popper-available-width",`${Ie}px`),ye.floating.style.setProperty("--radix-popper-available-height",`${ar}px`)}}),v5({arrowWidth:I,arrowHeight:J}),_?Fa({strategy:"referenceHidden"}):void 0].filter(h5)});Oe(()=>{A(P.anchor)},[A,P.anchor]);const X=q!==null&&oe!==null,[ne,_e]=Rf(te),ue=ge(M);Oe(()=>{X&&(ue==null||ue())},[X,ue]);const Ne=(o=Z.arrow)===null||o===void 0?void 0:o.x,Et=(a=Z.arrow)===null||a===void 0?void 0:a.y,qe=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ue,Ze]=l.useState();Oe(()=>{w&&Ze(window.getComputedStyle(w).zIndex)},[w]);const{hasParent:Fe,positionUpdateFns:he}=d5(Eo,d),we=!Fe;l.useLayoutEffect(()=>{if(!we)return he.add(Q),()=>{he.delete(Q)}},[we,he,Q]),Oe(()=>{we&&X&&Array.from(he).reverse().forEach(ye=>requestAnimationFrame(ye))},[we,X,he]);const Xe={"data-side":ne,"data-align":_e,...F,ref:K,style:{...F.style,animation:X?void 0:"none",opacity:(s=Z.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:R,"data-radix-popper-content-wrapper":"",style:{position:G,left:0,top:0,transform:X?`translate3d(${Math.round(q)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ue,["--radix-popper-transform-origin"]:[(c=Z.transformOrigin)===null||c===void 0?void 0:c.x,(u=Z.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(s5,{scope:d,placedSide:ne,onArrowChange:j,arrowX:Ne,arrowY:Et,shouldHideArrow:qe},we?l.createElement(c5,{scope:d,hasParent:!0,positionUpdateFns:he},l.createElement(At.div,Xe)):l.createElement(At.div,Xe)))}),f5="PopperArrow",p5={top:"bottom",right:"left",bottom:"top",left:"right"},m5=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=l5(f5,n),i=p5[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(r5,D({},o,{ref:r,style:{...o.style,display:"block"}})))});function h5(e){return e!==void 0}function b5(e){return e!==null}const g5=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),v5=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Rf(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let _="",y="";return b==="bottom"?(_=f?v:`${$}px`,y=`${-m}px`):b==="top"?(_=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(_=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(_=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:_,y}}}});function Rf(e){const[t,r="center"]=e.split("-");return[t,r]}const y5=o5,$5=i5,x5=u5,_5=m5,w5=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ze.createPortal(l.createElement(At.div,D({},o,{ref:t})),n):null}),E5=l.forwardRef((e,t)=>l.createElement(At.span,D({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Po,EO]=Ce("Tooltip",[Vf]),Do=Vf(),P5="TooltipProvider",D5=700,es="tooltip.open",[S5,ts]=Po(P5),T5=e=>{const{__scopeTooltip:t,delayDuration:r=D5,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=l.useState(!0),c=l.useRef(!1),u=l.useRef(0);return l.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),l.createElement(S5,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(d=>{c.current=d},[]),disableHoverableContent:o},a)},rs="Tooltip",[k5,ln]=Po(rs),C5=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=ts(rs,e.__scopeTooltip),u=Do(t),[d,f]=l.useState(null),p=Qe(),m=l.useRef(0),b=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[$=!1,x]=et({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(es))):c.onClose(),a==null||a(P)}}),_=l.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),y=l.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,x(!0)},[x]),M=l.useCallback(()=>{window.clearTimeout(m.current),x(!1)},[x]),F=l.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0)},g)},[g,x]);return l.useEffect(()=>()=>window.clearTimeout(m.current),[]),l.createElement(y5,u,l.createElement(k5,{scope:t,contentId:p,open:$,stateAttribute:_,trigger:d,onTriggerChange:f,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?F():y()},[c.isOpenDelayed,F,y]),onTriggerLeave:l.useCallback(()=>{b?M():window.clearTimeout(m.current)},[M,b]),onOpen:y,onClose:M,disableHoverableContent:b},r))},Wf="TooltipTrigger",O5=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=ln(Wf,r),a=ts(Wf,r),i=Do(r),s=l.useRef(null),c=le(t,s,o.onTriggerChange),u=l.useRef(!1),d=l.useRef(!1),f=l.useCallback(()=>u.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.createElement($5,D({asChild:!0},i),l.createElement(At.button,D({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:U(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:U(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:U(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:U(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:U(e.onBlur,o.onClose),onClick:U(e.onClick,o.onClose)})))}),Uf="TooltipPortal",[I5,A5]=Po(Uf,{forceMount:void 0}),M5=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=ln(Uf,t);return l.createElement(I5,{scope:t,forceMount:r},l.createElement(Ae,{present:r||a.open},l.createElement(w5,{asChild:!0,container:o},n)))},cn="TooltipContent",N5=l.forwardRef((e,t)=>{const r=A5(cn,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=ln(cn,e.__scopeTooltip);return l.createElement(Ae,{present:n||i.open},i.disableHoverableContent?l.createElement(Hf,D({side:o},a,{ref:t})):l.createElement(F5,D({side:o},a,{ref:t})))}),F5=l.forwardRef((e,t)=>{const r=ln(cn,e.__scopeTooltip),n=ts(cn,e.__scopeTooltip),o=l.useRef(null),a=le(t,o),[i,s]=l.useState(null),{trigger:c,onClose:u}=r,d=o.current,{onPointerInTransitChange:f}=n,p=l.useCallback(()=>{s(null),f(!1)},[f]),m=l.useCallback((b,g)=>{const v=b.currentTarget,$={x:b.clientX,y:b.clientY},x=V5($,v.getBoundingClientRect()),_=x==="right"||x==="bottom"?-5:5,M=x==="right"||x==="left"?{x:b.clientX+_,y:b.clientY}:{x:b.clientX,y:b.clientY+_},F=B5(g.getBoundingClientRect()),P=W5([M,...F]);s(P),f(!0)},[f]);return l.useEffect(()=>()=>p(),[p]),l.useEffect(()=>{if(c&&d){const b=v=>m(v,d),g=v=>m(v,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",g)}}},[c,d,m,p]),l.useEffect(()=>{if(i){const b=g=>{const v=g.target,$={x:g.clientX,y:g.clientY},x=(c==null?void 0:c.contains(v))||(d==null?void 0:d.contains(v)),_=!R5($,i);x?p():_&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,i,u,p]),l.createElement(Hf,D({},e,{ref:a}))}),[z5,L5]=Po(rs,{isInside:!1}),Hf=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=ln(cn,r),u=Do(r),{onClose:d}=c;return l.useEffect(()=>(document.addEventListener(es,d),()=>document.removeEventListener(es,d)),[d]),l.useEffect(()=>{if(c.trigger){const f=p=>{const m=p.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.createElement(QP,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d},l.createElement(x5,D({"data-state":c.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),l.createElement(ua,null,n),l.createElement(z5,{scope:r,isInside:!0},l.createElement(E5,{id:c.contentId,role:"tooltip"},o||n))))}),K5="TooltipArrow",j5=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Do(r);return L5(K5,r).isInside?null:l.createElement(_5,D({},o,n,{ref:t}))});function V5(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:return null}}function B5(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function R5(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,c=t[a].y,u=t[i].x,d=t[i].y;c>n!=d>n&&r<(u-s)*(n-c)/(d-c)+s&&(o=!o)}return o}function W5(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),U5(t)}function U5(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const H5=T5,G5=C5,Y5=O5,q5=M5,Z5=N5,X5=j5,J5=C.keyframes`
|
|
749
749
|
from {
|
|
750
750
|
opacity: 0;
|
|
751
751
|
transform: translateX(-10px);
|
|
@@ -754,7 +754,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
754
754
|
opacity: 1;
|
|
755
755
|
transform: translateY(0);
|
|
756
756
|
}
|
|
757
|
-
`,
|
|
757
|
+
`,Q5=C.keyframes`
|
|
758
758
|
from {
|
|
759
759
|
opacity: 0;
|
|
760
760
|
transform: translateX(10px);
|
|
@@ -763,7 +763,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
763
763
|
opacity: 1;
|
|
764
764
|
transform: translateY(0);
|
|
765
765
|
}
|
|
766
|
-
`,
|
|
766
|
+
`,e7=C.keyframes`
|
|
767
767
|
from {
|
|
768
768
|
opacity: 0;
|
|
769
769
|
transform: translateY(-10px);
|
|
@@ -772,7 +772,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
772
772
|
opacity: 1;
|
|
773
773
|
transform: translateY(0);
|
|
774
774
|
}
|
|
775
|
-
`,
|
|
775
|
+
`,t7=C.keyframes`
|
|
776
776
|
from {
|
|
777
777
|
opacity: 0;
|
|
778
778
|
transform: translateY(10px);
|
|
@@ -781,7 +781,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
781
781
|
opacity: 1;
|
|
782
782
|
transform: translateY(0);
|
|
783
783
|
}
|
|
784
|
-
`,
|
|
784
|
+
`,r7=C(Z5)`
|
|
785
785
|
padding: ${h.sizing_200} ${h.sizing_200};
|
|
786
786
|
background: ${h.color_background_black_standard};
|
|
787
787
|
color: ${h.color_text_white_standard};
|
|
@@ -795,29 +795,29 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
795
795
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); // move to tokens?
|
|
796
796
|
|
|
797
797
|
&[data-side='top'] {
|
|
798
|
-
animation-name: ${
|
|
798
|
+
animation-name: ${t7};
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
&[data-side='bottom'] {
|
|
802
|
-
animation-name: ${
|
|
802
|
+
animation-name: ${e7};
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
&[data-side='left'] {
|
|
806
|
-
animation-name: ${
|
|
806
|
+
animation-name: ${Q5};
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
&[data-side='right'] {
|
|
810
|
-
animation-name: ${
|
|
810
|
+
animation-name: ${J5};
|
|
811
811
|
}
|
|
812
|
-
`,
|
|
812
|
+
`,n7=C(X5)`
|
|
813
813
|
fill: 'white';
|
|
814
|
-
`;function
|
|
814
|
+
`;function o7({children:e,...t}){return T(q5,{children:re(r7,{...t,children:[e,T(n7,{})]})})}const a7=C(Y5)`
|
|
815
815
|
appearance: none;
|
|
816
816
|
border: none;
|
|
817
817
|
background-color: unset;
|
|
818
818
|
padding: 0;
|
|
819
819
|
line-height: 1;
|
|
820
|
-
`,
|
|
820
|
+
`,ns=l.forwardRef((e,t)=>{const{children:r,asChild:n,...o}=e;return T(a7,{ref:t,...o,type:"button",asChild:n,children:r})});ns.displayName="TooltipTrigger";const Gf=H5,Yf=G5,qf=o7,i7=C(ns)`
|
|
821
821
|
color: ${h.color_text_white_weak};
|
|
822
822
|
margin-block: auto;
|
|
823
823
|
|
|
@@ -837,7 +837,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
837
837
|
&:not([data-state~='closed']) > svg {
|
|
838
838
|
color: steelblue;
|
|
839
839
|
}
|
|
840
|
-
`;function ar({children:e,icon:t=k(Oe.Help,{}),label:r="More info"}){return k(cp,{children:ae(dp,{children:[k(Z7,{children:k(Zr,{label:r,children:t})}),k(up,{sideOffset:5,children:e})]})})}const fp=7e3;let bs=null;function X7(e,t="assertive",r=fp){bs||(bs=new J7),bs.announce(e,t,r)}class J7{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=fp){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.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:"0 -1px -1px 0",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 Q7(e){return e&&e.__esModule?e.default:e}var pp={},mp={};mp={Empty:"فارغ"};var hp={};hp={Empty:"Изпразни"};var bp={};bp={Empty:"Prázdné"};var gp={};gp={Empty:"Tom"};var vp={};vp={Empty:"Leer"};var $p={};$p={Empty:"Άδειο"};var yp={};yp={Empty:"Empty"};var xp={};xp={Empty:"Vacío"};var wp={};wp={Empty:"Tühjenda"};var _p={};_p={Empty:"Tyhjä"};var Ep={};Ep={Empty:"Vide"};var Pp={};Pp={Empty:"ריק"};var Sp={};Sp={Empty:"Prazno"};var Dp={};Dp={Empty:"Üres"};var Tp={};Tp={Empty:"Vuoto"};var kp={};kp={Empty:"空"};var Cp={};Cp={Empty:"비어 있음"};var Op={};Op={Empty:"Tuščias"};var Ip={};Ip={Empty:"Tukšs"};var Ap={};Ap={Empty:"Tom"};var Mp={};Mp={Empty:"Leeg"};var Np={};Np={Empty:"Pusty"};var Fp={};Fp={Empty:"Vazio"};var zp={};zp={Empty:"Vazio"};var Lp={};Lp={Empty:"Gol"};var Kp={};Kp={Empty:"Не заполнено"};var Vp={};Vp={Empty:"Prázdne"};var jp={};jp={Empty:"Prazen"};var Bp={};Bp={Empty:"Prazno"};var Rp={};Rp={Empty:"Tomt"};var Wp={};Wp={Empty:"Boş"};var Up={};Up={Empty:"Пусто"};var Hp={};Hp={Empty:"空"};var Gp={};Gp={Empty:"空白"},pp={"ar-AE":mp,"bg-BG":hp,"cs-CZ":bp,"da-DK":gp,"de-DE":vp,"el-GR":$p,"en-US":yp,"es-ES":xp,"et-EE":wp,"fi-FI":_p,"fr-FR":Ep,"he-IL":Pp,"hr-HR":Sp,"hu-HU":Dp,"it-IT":Tp,"ja-JP":kp,"ko-KR":Cp,"lt-LT":Op,"lv-LV":Ip,"nb-NO":Ap,"nl-NL":Mp,"pl-PL":Np,"pt-BR":Fp,"pt-PT":zp,"ro-RO":Lp,"ru-RU":Kp,"sk-SK":Vp,"sl-SI":jp,"sr-SP":Bp,"sv-SE":Rp,"tr-TR":Wp,"uk-UA":Up,"zh-CN":Hp,"zh-TW":Gp};function Yp(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:u,onIncrementPage:d,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=Nt(Q7(pp)),v=l.useRef(e);v.current=e;const y=()=>clearTimeout(t.current);l.useEffect(()=>()=>y(),[]);let x=T=>{if(!(T.ctrlKey||T.metaKey||T.shiftKey||T.altKey||s))switch(T.key){case"PageUp":if(d){T.preventDefault(),d();break}case"ArrowUp":case"Up":u&&(T.preventDefault(),u());break;case"PageDown":if(p){T.preventDefault(),p();break}case"ArrowDown":case"Down":f&&(T.preventDefault(),f());break;case"Home":m&&(T.preventDefault(),m());break;case"End":b&&(T.preventDefault(),b());break}},w=l.useRef(!1),$=()=>{w.current=!0},A=()=>{w.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{w.current&&X7(n,"assertive")},[n]);const N=l.useCallback(T=>{y(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&N(60)},T)},[u,a,r]),P=l.useCallback(T=>{y(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},T)},[f,o,r]);let _=T=>{T.preventDefault()},{addGlobalListener:O,removeAllGlobalListeners:L}=fi();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:x,onFocus:$,onBlur:A},incrementButtonProps:{onPressStart:()=>{N(400),O(window,"contextmenu",_)},onPressEnd:()=>{y(),L()},onFocus:$,onBlur:A},decrementButtonProps:{onPressStart:()=>{P(400),O(window,"contextmenu",_)},onPressEnd:()=>{y(),L()},onFocus:$,onBlur:A}}}function eS(e){return e&&e.__esModule?e.default:e}var qp={},Zp={};Zp={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Xp={};Xp={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Jp={};Jp={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Qp={};Qp={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var em={};em={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var tm={};tm={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var rm={};rm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var nm={};nm={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var om={};om={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var am={};am={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var im={};im={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var sm={};sm={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var lm={};lm={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var cm={};cm={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var dm={};dm={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var um={};um={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var fm={};fm={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var pm={};pm={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var mm={};mm={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var hm={};hm={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var bm={};bm={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var gm={};gm={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var vm={};vm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var $m={};$m={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var ym={};ym={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var xm={};xm={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var wm={};wm={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var _m={};_m={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Em={};Em={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Pm={};Pm={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Sm={};Sm={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Dm={};Dm={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Tm={};Tm={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var km={};km={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},qp={"ar-AE":Zp,"bg-BG":Xp,"cs-CZ":Jp,"da-DK":Qp,"de-DE":em,"el-GR":tm,"en-US":rm,"es-ES":nm,"et-EE":om,"fi-FI":am,"fr-FR":im,"he-IL":sm,"hr-HR":lm,"hu-HU":cm,"it-IT":dm,"ja-JP":um,"ko-KR":fm,"lt-LT":pm,"lv-LV":mm,"nb-NO":hm,"nl-NL":bm,"pl-PL":gm,"pt-BR":vm,"pt-PT":$m,"ro-RO":ym,"ru-RU":xm,"sk-SK":wm,"sl-SI":_m,"sr-SP":Em,"sv-SE":Pm,"tr-TR":Sm,"uk-UA":Dm,"zh-CN":Tm,"zh-TW":km};function tS(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:u,maxValue:d,autoFocus:f,validationState:p,label:m,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:y,onKeyDown:x,onKeyUp:w,description:$,errorMessage:A,...N}=e,{increment:P,incrementToMax:_,decrement:O,decrementToMin:L,numberValue:T,commit:K}=t;const D=Nt(eS(qp));let I=Je(n),{focusProps:q}=Ei({onBlur:()=>{K()}}),{spinButtonProps:ie,incrementButtonProps:W,decrementButtonProps:re}=Yp({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:d,minValue:u,onIncrement:P,onIncrementToMax:_,onDecrement:O,onDecrementToMin:L,value:T,textValue:t.inputValue}),[j,F]=l.useState(!1),{focusWithinProps:M}=Pr({isDisabled:i,onFocusWithinChange:F}),H=l.useCallback(Fe=>{Math.abs(Fe.deltaY)<=Math.abs(Fe.deltaX)||(Fe.deltaY>0?P():Fe.deltaY<0&&O())},[O,P]);BE({onScroll:H,isDisabled:i||s||!j},r);let Z=Z5(b),ne=l.useMemo(()=>Z.resolvedOptions(),[Z]).maximumFractionDigits>0,B=isNaN(t.minValue)||t.minValue<0,Y="numeric";ru()?B?Y="text":ne&&(Y="decimal"):ou()&&(B?Y="numeric":ne&&(Y="decimal"));let G=Fe=>{t.setInputValue(Fe)},J=vt(e),{labelProps:se,inputProps:te,descriptionProps:$e,errorMessageProps:Se}=IP({...N,...J,label:m,autoFocus:f,isDisabled:i,isReadOnly:s,isRequired:c,validationState:p,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:I,type:"text",inputMode:Y,onChange:G,onBlur:g,onFocus:v,onFocusChange:y,onKeyDown:x,onKeyUp:w,description:$,errorMessage:A},t,r),Le=pe(ie,q,te,{role:null,"aria-roledescription":$r()?null:D.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ne=Fe=>{document.activeElement!==r.current&&(Fe.pointerType==="mouse"?r.current.focus():Fe.target.focus())},Ke=e["aria-label"]||(typeof e.label=="string"?e.label:""),Ve;Ke||(Ve=e.label!=null?se.id:e["aria-labelledby"]);let fe=Je(),xe=Je(),Ue=pe(W,{"aria-label":a||D.format("increase",{fieldLabel:Ke}).trim(),id:Ve&&!a?fe:null,"aria-labelledby":Ve&&!a?`${fe} ${Ve}`:null,"aria-controls":I,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ne}),he=pe(re,{"aria-label":o||D.format("decrease",{fieldLabel:Ke}).trim(),id:Ve&&!o?xe:null,"aria-labelledby":Ve&&!o?`${xe} ${Ve}`:null,"aria-controls":I,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ne});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":p==="invalid"?"true":void 0,...M},labelProps:se,inputProps:Le,incrementButtonProps:Ue,decrementButtonProps:he,errorMessageProps:Se,descriptionProps:$e}}function rS(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:u,isReadOnly:d}=e,[f,p]=Zt(a,isNaN(i)?NaN:i,s),[m,b]=l.useState(()=>isNaN(f)?"":new Ji(c,o).format(f)),g=l.useMemo(()=>new Yu(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),y=l.useMemo(()=>new Ji(c,{...o,numberingSystem:v}),[c,o,v]),x=l.useMemo(()=>y.resolvedOptions(),[y]),w=l.useCallback(j=>isNaN(j)||j===null?"":y.format(j),[y]),$=isNaN(n)?1:n;x.style==="percent"&&isNaN(n)&&($=.01);let A=l.useRef(f),N=l.useRef(c),P=l.useRef(o);(!Object.is(f,A.current)||c!==N.current||o!==P.current)&&(b(w(f)),A.current=f,N.current=c,P.current=o);let _=l.useMemo(()=>g.parse(m),[g,m]),O=l.useRef(0);O.current=_;let L=()=>{if(!m.length){p(NaN),b(a===void 0?"":w(f));return}if(isNaN(O.current)){b(w(f));return}let j;isNaN(n)?j=aE(O.current,t,r):j=Xt(O.current,t,r,n),j=g.parse(w(j)),p(j),b(w(a===void 0?j:f))},T=(j,F)=>{let M=O.current;if(isNaN(M)){let H=isNaN(F)?0:F;return Xt(H,t,r,$)}else{let H=Xt(M,t,r,$);return j==="+"&&H>M||j==="-"&&H<M?H:Xt(gs(j,M,$),t,r,$)}},K=()=>{let j=T("+",t);j===f&&b(w(j)),p(j)},D=()=>{let j=T("-",r);j===f&&b(w(j)),p(j)},I=()=>{r!=null&&p(Xt(r,t,r,$))},q=()=>{t!=null&&p(t)},ie=l.useMemo(()=>!u&&!d&&(isNaN(_)||isNaN(r)||Xt(_,t,r,$)>_||gs("+",_,$)<=r),[u,d,t,r,$,_]),W=l.useMemo(()=>!u&&!d&&(isNaN(_)||isNaN(t)||Xt(_,t,r,$)<_||gs("-",_,$)>=t),[u,d,t,r,$,_]);return{validate:j=>g.isValidPartialNumber(j,t,r),increment:K,incrementToMax:I,decrement:D,decrementToMin:q,canIncrement:ie,canDecrement:W,minValue:t,maxValue:r,numberValue:_,setInputValue:b,inputValue:m,commit:L}}function gs(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),a=r.toString().split("."),i=o[1]&&o[1].length||0,s=a[1]&&a[1].length||0,c=Math.pow(10,Math.max(i,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function Cm(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=un(e,t),{children:o,className:a}=e;return k("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const nS=C.div`
|
|
840
|
+
`;function tr({children:e,icon:t=T(ke.Help,{}),label:r="More info"}){return T(Gf,{children:re(Yf,{children:[T(i7,{children:T(Wr,{label:r,children:t})}),T(qf,{sideOffset:5,children:e})]})})}const Zf=7e3;let os=null;function s7(e,t="assertive",r=Zf){os||(os=new l7),os.announce(e,t,r)}class l7{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=Zf){if(!this.node)return;let o=document.createElement("div");o.textContent=t,r==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.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:"0 -1px -1px 0",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 c7(e){return e&&e.__esModule?e.default:e}var Xf={},Jf={};Jf={Empty:"فارغ"};var Qf={};Qf={Empty:"Изпразни"};var ep={};ep={Empty:"Prázdné"};var tp={};tp={Empty:"Tom"};var rp={};rp={Empty:"Leer"};var np={};np={Empty:"Άδειο"};var op={};op={Empty:"Empty"};var ap={};ap={Empty:"Vacío"};var ip={};ip={Empty:"Tühjenda"};var sp={};sp={Empty:"Tyhjä"};var lp={};lp={Empty:"Vide"};var cp={};cp={Empty:"ריק"};var dp={};dp={Empty:"Prazno"};var up={};up={Empty:"Üres"};var fp={};fp={Empty:"Vuoto"};var pp={};pp={Empty:"空"};var mp={};mp={Empty:"비어 있음"};var hp={};hp={Empty:"Tuščias"};var bp={};bp={Empty:"Tukšs"};var gp={};gp={Empty:"Tom"};var vp={};vp={Empty:"Leeg"};var yp={};yp={Empty:"Pusty"};var $p={};$p={Empty:"Vazio"};var xp={};xp={Empty:"Vazio"};var _p={};_p={Empty:"Gol"};var wp={};wp={Empty:"Не заполнено"};var Ep={};Ep={Empty:"Prázdne"};var Pp={};Pp={Empty:"Prazen"};var Dp={};Dp={Empty:"Prazno"};var Sp={};Sp={Empty:"Tomt"};var Tp={};Tp={Empty:"Boş"};var kp={};kp={Empty:"Пусто"};var Cp={};Cp={Empty:"空"};var Op={};Op={Empty:"空白"},Xf={"ar-AE":Jf,"bg-BG":Qf,"cs-CZ":ep,"da-DK":tp,"de-DE":rp,"el-GR":np,"en-US":op,"es-ES":ap,"et-EE":ip,"fi-FI":sp,"fr-FR":lp,"he-IL":cp,"hr-HR":dp,"hu-HU":up,"it-IT":fp,"ja-JP":pp,"ko-KR":mp,"lt-LT":hp,"lv-LV":bp,"nb-NO":gp,"nl-NL":vp,"pl-PL":yp,"pt-BR":$p,"pt-PT":xp,"ro-RO":_p,"ru-RU":wp,"sk-SK":Ep,"sl-SI":Pp,"sr-SP":Dp,"sv-SE":Sp,"tr-TR":Tp,"uk-UA":kp,"zh-CN":Cp,"zh-TW":Op};function Ip(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:u,onIncrementPage:d,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const g=It(c7(Xf)),v=l.useRef(e);v.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let x=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||s))switch(k.key){case"PageUp":if(d){k.preventDefault(),d();break}case"ArrowUp":case"Up":u&&(k.preventDefault(),u());break;case"PageDown":if(p){k.preventDefault(),p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f());break;case"Home":m&&(k.preventDefault(),m());break;case"End":b&&(k.preventDefault(),b());break}},_=l.useRef(!1),y=()=>{_.current=!0},M=()=>{_.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{_.current&&s7(n,"assertive")},[n]);const F=l.useCallback(k=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&F(60)},k)},[u,a,r]),P=l.useCallback(k=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},k)},[f,o,r]);let w=k=>{k.preventDefault()},{addGlobalListener:O,removeAllGlobalListeners:K}=Qa();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":i||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:x,onFocus:y,onBlur:M},incrementButtonProps:{onPressStart:()=>{F(400),O(window,"contextmenu",w)},onPressEnd:()=>{$(),K()},onFocus:y,onBlur:M},decrementButtonProps:{onPressStart:()=>{P(400),O(window,"contextmenu",w)},onPressEnd:()=>{$(),K()},onFocus:y,onBlur:M}}}function d7(e){return e&&e.__esModule?e.default:e}var Ap={},Mp={};Mp={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Np={};Np={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Fp={};Fp={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var zp={};zp={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var Lp={};Lp={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Kp={};Kp={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var jp={};jp={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Vp={};Vp={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Bp={};Bp={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Rp={};Rp={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var Wp={};Wp={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var Up={};Up={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Hp={};Hp={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Gp={};Gp={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Yp={};Yp={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var qp={};qp={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Zp={};Zp={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Xp={};Xp={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Jp={};Jp={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Qp={};Qp={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var em={};em={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var tm={};tm={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var rm={};rm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var nm={};nm={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var om={};om={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var am={};am={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var im={};im={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var sm={};sm={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var lm={};lm={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var cm={};cm={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var dm={};dm={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var um={};um={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var fm={};fm={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var pm={};pm={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},Ap={"ar-AE":Mp,"bg-BG":Np,"cs-CZ":Fp,"da-DK":zp,"de-DE":Lp,"el-GR":Kp,"en-US":jp,"es-ES":Vp,"et-EE":Bp,"fi-FI":Rp,"fr-FR":Wp,"he-IL":Up,"hr-HR":Hp,"hu-HU":Gp,"it-IT":Yp,"ja-JP":qp,"ko-KR":Zp,"lt-LT":Xp,"lv-LV":Jp,"nb-NO":Qp,"nl-NL":em,"pl-PL":tm,"pt-BR":rm,"pt-PT":nm,"ro-RO":om,"ru-RU":am,"sk-SK":im,"sl-SI":sm,"sr-SP":lm,"sv-SE":cm,"tr-TR":dm,"uk-UA":um,"zh-CN":fm,"zh-TW":pm};function u7(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:u,maxValue:d,autoFocus:f,validationState:p,label:m,formatOptions:b,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:_,description:y,errorMessage:M,...F}=e,{increment:P,incrementToMax:w,decrement:O,decrementToMin:K,numberValue:k,commit:j}=t;const S=It(d7(Ap));let I=We(n),{focusProps:J}=ui({onBlur:()=>{j()}}),{spinButtonProps:se,incrementButtonProps:W,decrementButtonProps:ee}=Ip({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:d,minValue:u,onIncrement:P,onIncrementToMax:w,onDecrement:O,onDecrementToMin:K,value:k,textValue:t.inputValue}),[V,N]=l.useState(!1),{focusWithinProps:A}=$r({isDisabled:i,onFocusWithinChange:N}),R=l.useCallback(Ie=>{Math.abs(Ie.deltaY)<=Math.abs(Ie.deltaX)||(Ie.deltaY>0?P():Ie.deltaY<0&&O())},[O,P]);Jw({onScroll:R,isDisabled:i||s||!V},r);let q=iP(b),te=l.useMemo(()=>q.resolvedOptions(),[q]).maximumFractionDigits>0,Z=isNaN(t.minValue)||t.minValue<0,Q="numeric";jd()?Z?Q="text":te&&(Q="decimal"):Bd()&&(Z?Q="numeric":te&&(Q="decimal"));let X=Ie=>{t.setInputValue(Ie)},ne=bt(e),{labelProps:_e,inputProps:ue,descriptionProps:Ne,errorMessageProps:Et}=BP({...F,...ne,label:m,autoFocus:f,isDisabled:i,isReadOnly:s,isRequired:c,validationState:p,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:I,type:"text",inputMode:Q,onChange:X,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:x,onKeyUp:_,description:y,errorMessage:M},t,r),qe=de(se,J,ue,{role:null,"aria-roledescription":mr()?null:S.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ue=Ie=>{document.activeElement!==r.current&&(Ie.pointerType==="mouse"?r.current.focus():Ie.target.focus())},Ze=e["aria-label"]||(typeof e.label=="string"?e.label:""),Fe;Ze||(Fe=e.label!=null?_e.id:e["aria-labelledby"]);let he=We(),we=We(),Xe=de(W,{"aria-label":a||S.format("increase",{fieldLabel:Ze}).trim(),id:Fe&&!a?he:null,"aria-labelledby":Fe&&!a?`${he} ${Fe}`:null,"aria-controls":I,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ue}),ye=de(ee,{"aria-label":o||S.format("decrease",{fieldLabel:Ze}).trim(),id:Fe&&!o?we:null,"aria-labelledby":Fe&&!o?`${we} ${Fe}`:null,"aria-controls":I,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ue});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":p==="invalid"?"true":void 0,...A},labelProps:_e,inputProps:qe,incrementButtonProps:Xe,decrementButtonProps:ye,errorMessageProps:Et,descriptionProps:Ne}}function f7(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:u,isReadOnly:d}=e,[f,p]=Ht(a,isNaN(i)?NaN:i,s),[m,b]=l.useState(()=>isNaN(f)?"":new Ki(c,o).format(f)),g=l.useMemo(()=>new Iu(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new Ki(c,{...o,numberingSystem:v}),[c,o,v]),x=l.useMemo(()=>$.resolvedOptions(),[$]),_=l.useCallback(V=>isNaN(V)||V===null?"":$.format(V),[$]),y=isNaN(n)?1:n;x.style==="percent"&&isNaN(n)&&(y=.01);let M=l.useRef(f),F=l.useRef(c),P=l.useRef(o);(!Object.is(f,M.current)||c!==F.current||o!==P.current)&&(b(_(f)),M.current=f,F.current=c,P.current=o);let w=l.useMemo(()=>g.parse(m),[g,m]),O=l.useRef(0);O.current=w;let K=()=>{if(!m.length){p(NaN),b(a===void 0?"":_(f));return}if(isNaN(O.current)){b(_(f));return}let V;isNaN(n)?V=hw(O.current,t,r):V=Gt(O.current,t,r,n),V=g.parse(_(V)),p(V),b(_(a===void 0?V:f))},k=(V,N)=>{let A=O.current;if(isNaN(A)){let R=isNaN(N)?0:N;return Gt(R,t,r,y)}else{let R=Gt(A,t,r,y);return V==="+"&&R>A||V==="-"&&R<A?R:Gt(as(V,A,y),t,r,y)}},j=()=>{let V=k("+",t);V===f&&b(_(V)),p(V)},S=()=>{let V=k("-",r);V===f&&b(_(V)),p(V)},I=()=>{r!=null&&p(Gt(r,t,r,y))},J=()=>{t!=null&&p(t)},se=l.useMemo(()=>!u&&!d&&(isNaN(w)||isNaN(r)||Gt(w,t,r,y)>w||as("+",w,y)<=r),[u,d,t,r,y,w]),W=l.useMemo(()=>!u&&!d&&(isNaN(w)||isNaN(t)||Gt(w,t,r,y)<w||as("-",w,y)>=t),[u,d,t,r,y,w]);return{validate:V=>g.isValidPartialNumber(V,t,r),increment:j,incrementToMax:I,decrement:S,decrementToMin:J,canIncrement:se,canDecrement:W,minValue:t,maxValue:r,numberValue:w,setInputValue:b,inputValue:m,commit:K}}function as(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),a=r.toString().split("."),i=o[1]&&o[1].length||0,s=a[1]&&a[1].length||0,c=Math.pow(10,Math.max(i,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function mm(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=on(e,t),{children:o,className:a}=e;return T("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const p7=C.div`
|
|
841
841
|
/*
|
|
842
842
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
843
843
|
*/
|
|
@@ -862,7 +862,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
862
862
|
&:has(input:invalid) {
|
|
863
863
|
--input-border-color: ${h.color_outline_danger_enabled};
|
|
864
864
|
}
|
|
865
|
-
`,
|
|
865
|
+
`,m7=C(sn)`
|
|
866
866
|
border-top-right-radius: 0;
|
|
867
867
|
border-color: var(
|
|
868
868
|
--input-border-color,
|
|
@@ -874,7 +874,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
874
874
|
grid-area: field;
|
|
875
875
|
margin: 0;
|
|
876
876
|
margin-right: -1px; // to make the borders overlap
|
|
877
|
-
`,
|
|
877
|
+
`,hm=C(mm)`
|
|
878
878
|
display: grid;
|
|
879
879
|
place-items: center;
|
|
880
880
|
color: ${h.color_text_weak};
|
|
@@ -916,14 +916,14 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
916
916
|
line-height: 1;
|
|
917
917
|
font-size: 1rem;
|
|
918
918
|
}
|
|
919
|
-
`,
|
|
919
|
+
`,h7=C(hm)`
|
|
920
920
|
border-radius: unset;
|
|
921
921
|
border-top: 1px solid var(--input-border-color);
|
|
922
922
|
border-top-right-radius: ${h.border_radius_400};
|
|
923
923
|
border-bottom-width: 0.5px;
|
|
924
924
|
margin-bottom: -0.5px;
|
|
925
925
|
grid-area: increment;
|
|
926
|
-
`,
|
|
926
|
+
`,b7=C(hm)`
|
|
927
927
|
border-radius: unset;
|
|
928
928
|
border-bottom: 1px solid var(--input-border-color);
|
|
929
929
|
border-bottom-right-radius: ${h.border_radius_400};
|
|
@@ -931,7 +931,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
931
931
|
border-top-width: 0.5px;
|
|
932
932
|
margin-top: -0.5px;
|
|
933
933
|
grid-area: decrement;
|
|
934
|
-
`;function
|
|
934
|
+
`;function bm(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const is=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:a,paddingSize:i="small",label:s,errorMessage:c,placeholder:u="Enter number...",showStepper:d=!0,min:f,max:p,locale:m="en-US",...b}=e,g=dt(),v=n??g,$=o,x=a,_=lt(t),y=f7({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:f,maxValue:p,placeholder:u,locale:m}),{labelProps:M,groupProps:F,inputProps:P,incrementButtonProps:w,decrementButtonProps:O,descriptionProps:K,errorMessageProps:k}=u7({...b,isDisabled:v,isReadOnly:$,isRequired:x,minValue:f,maxValue:p,placeholder:u,label:s},y,_);let j=null;typeof s=="string"?j=T(He,{...M,children:s}):l.isValidElement(s)&&(j=l.cloneElement(s,{...M}));const S=I=>{const{formatOptions:J}=e;if((J==null?void 0:J.style)==="unit"){const W=Intl.NumberFormat(m,J),ee=W.formatToParts(1).filter(G=>G.type==="unit"),V=W.formatToParts(3).filter(G=>G.type==="unit"),N=bm(ee,y.inputValue),A=bm(V,y.inputValue);let R;if(N&&N>-1?R=N:A&&A>-1&&(R=A),R){const G=I.target.selectionStart;if(G&&G>R){const q=R-1;I.target.setSelectionRange(q,q)}}}};return re(er,{children:[j,d?re(p7,{...F,children:[T(m7,{...P,paddingSize:i,ref:_,onClick:S,onFocus:S,required:a}),T(h7,{...w,children:T(ke.KeyboardArrowUp,{})}),T(b7,{...O,children:T(ke.KeyboardArrowDown,{})})]}):T(sn,{ref:_,...P,paddingSize:i,required:a}),c?re(_o,{...k,children:[T(ke.Error,{}),c]}):null,r?T(wo,{...K,children:r}):null]})});is.displayName="NumberInput";const gm=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="large",label:c,validationState:u,placeholder:d="Enter text...",...f}=e,p=lt(t),m=dt(),b=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:x}=xo({...f,isDisabled:b,isReadOnly:a,isRequired:i,placeholder:d,label:c,inputElementType:"textarea"},p);let _=null;return typeof c=="string"?_=T(He,{...g,children:c}):l.isValidElement(c)&&(_=l.cloneElement(c,{...g})),re(er,{children:[_,T(sn,{as:"textarea","data-state":u,paddingSize:s,ref:p,placeholder:"Enter...",...$}),r?re(_o,{...x,children:[T(ke.Error,{}),r]}):null,n?T(wo,{...v,children:n}):null]})});gm.displayName="TextAreaInput";const ss=l.createContext({});ss.displayName="FormControlContext";function So(){return l.useContext(ss)}function g7({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:a,validationState:i,id:s,...c}){const{descriptionProps:u,errorMessageProps:d,fieldProps:f,labelProps:p}=an({errorMessage:r,label:t,description:n,validationState:i,id:s,...c});return T(ss.Provider,{value:f,children:re(er,{children:[re(He,{...p,display:"flex",children:[t,o?T(tr,{icon:a,children:o}):null]}),e,n?T(wo,{...u,children:n}):null,r?re(_o,{...d,children:[T(ke.Error,{}),r]}):null]})})}const vm=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return T(Xi,{ref:t,label:re(He,{children:[r,n?T(tr,{icon:o,children:n}):null]}),...a})});vm.displayName="TextFormControl";const ym=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return T(gm,{ref:t,label:re(He,{children:[r,n?T(tr,{icon:o,children:n}):null]}),...a})});ym.displayName="TextAreaFormControl";const $m=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return T(is,{ref:t,label:re(He,{children:[r,n?T(tr,{icon:o,children:n}):null]}),...a})});$m.displayName="NumberFormControl";function xm(e){const t=dt(),r=e??t;return{...So(),disabled:r}}const v7=()=>T("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 11.9577 4.4057 L 5.766 10.5974 L 2.4187 7.2501 L 3.4244 6.2445 L 5.766 8.5861 L 10.952 3.4 L 11.9577 4.4057 Z",fill:"white",stroke:"white",strokeWidth:"0.25"})}),y7=()=>T("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:T("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),ls=C.span`
|
|
935
935
|
display: grid;
|
|
936
936
|
place-items: center;
|
|
937
937
|
width: 16px;
|
|
@@ -946,7 +946,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
946
946
|
width: 100%;
|
|
947
947
|
height: 100%;
|
|
948
948
|
}
|
|
949
|
-
|
|
949
|
+
`,$7=C(jP)`
|
|
950
950
|
all: unset;
|
|
951
951
|
background-color: ${h.color_white};
|
|
952
952
|
width: ${h.sizing_600};
|
|
@@ -961,7 +961,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
961
961
|
); /* Interactive / Overlay / Secondary / Hover */
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
&:focus-visible
|
|
964
|
+
&:focus-visible span {
|
|
965
965
|
outline: 1px solid ${h.color_black};
|
|
966
966
|
outline-offset: 2px;
|
|
967
967
|
}
|
|
@@ -986,25 +986,25 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
986
986
|
--checkbox-background-color: ${h.color_fill_danger_enabled};
|
|
987
987
|
color: ${h.color_fill_danger_enabled};
|
|
988
988
|
}
|
|
989
|
-
`,
|
|
989
|
+
`,x7=C(VP)`
|
|
990
990
|
line-height: 1;
|
|
991
991
|
|
|
992
992
|
& > svg {
|
|
993
993
|
line-height: 1;
|
|
994
994
|
}
|
|
995
|
-
`,qo=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=zm(r);return ae(dS,{ref:t,onCheckedChange:a,...i,...s,checked:n,"aria-invalid":o,children:[!n&&k(ys,{}),ae(uS,{children:[n===!0&&k(ys,{children:k(lS,{})}),n==="indeterminate"&&k(ys,{children:k(cS,{})})]})]})});qo.displayName="Checkbox";const fS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Zo(e){const t=e+"CollectionProvider",[r,n]=Me(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:g}=m,v=l.useRef(null),y=l.useRef(new Map).current;return l.createElement(o,{scope:b,itemMap:y,collectionRef:v},g)},s=e+"CollectionSlot",c=l.forwardRef((m,b)=>{const{scope:g,children:v}=m,y=a(s,g),x=le(b,y.collectionRef);return l.createElement(De,{ref:x},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=l.forwardRef((m,b)=>{const{scope:g,children:v,...y}=m,x=l.useRef(null),w=le(b,x),$=a(u,g);return l.useEffect(()=>($.itemMap.set(x,{ref:x,...y}),()=>void $.itemMap.delete(x))),l.createElement(De,{[d]:"",ref:w},v)});function p(m){const b=a(e+"CollectionConsumer",m);return l.useCallback(()=>{const v=b.collectionRef.current;if(!v)return[];const y=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort(($,A)=>y.indexOf($.ref.current)-y.indexOf(A.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},p,n]}const pS=l.createContext(void 0);function bn(e){const t=l.useContext(pS);return e||t||"ltr"}const at=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Lm(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}const xs="dismissableLayer.update",mS="dismissableLayer.pointerDownOutside",hS="dismissableLayer.focusOutside";let Km;const bS=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gS=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(bS),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=vS(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=$S(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Km=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Vm(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Km)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Vm())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(xs,_),()=>document.removeEventListener(xs,_)},[]),l.createElement(at.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))});function vS(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){jm(mS,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function $S(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&jm(hS,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Vm(){const e=new CustomEvent(xs);document.dispatchEvent(e)}function jm(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Lm(o,a):o.dispatchEvent(a)}const yS=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(at.svg,S({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))}),Bm="Popper",[ws,Rm]=Me(Bm),[xS,Wm]=ws(Bm),wS=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(xS,{scope:t,anchor:n,onAnchorChange:o},r)},_S="PopperAnchor",ES=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Wm(_S,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(at.div,S({},o,{ref:s}))}),Xo="PopperContent",[PS,SS]=ws(Xo),[DS,TS]=ws(Xo,{hasParent:!1,positionUpdateFns:new Set}),kS=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:$=!0,onPlaced:A,...N}=e,P=Wm(Xo,d),[_,O]=l.useState(null),L=le(t,he=>O(he)),[T,K]=l.useState(null),D=Yt(T),I=(r=D==null?void 0:D.width)!==null&&r!==void 0?r:0,q=(n=D==null?void 0:D.height)!==null&&n!==void 0?n:0,ie=f+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},re=Array.isArray(v)?v:[v],j=re.length>0,F={padding:W,boundary:re.filter(MS),altBoundary:j},{reference:M,floating:H,strategy:X,x:Z,y:oe,placement:ne,middlewareData:B,update:Y}=co({strategy:"fixed",placement:ie,whileElementsMounted:lo,middleware:[NS(),eo({mainAxis:p+q,alignmentAxis:b}),$?to({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ro():void 0,...F}):void 0,T?uo({element:T,padding:g}):void 0,$?Jn({...F}):void 0,no({...F,apply:({elements:he,availableWidth:Fe,availableHeight:Dt})=>{he.floating.style.setProperty("--radix-popper-available-width",`${Fe}px`),he.floating.style.setProperty("--radix-popper-available-height",`${Dt}px`)}}),FS({arrowWidth:I,arrowHeight:q}),w?Qn({strategy:"referenceHidden"}):void 0].filter(AS)});ye(()=>{M(P.anchor)},[M,P.anchor]);const G=Z!==null&&oe!==null,[J,se]=Um(ne),te=ge(A);ye(()=>{G&&(te==null||te())},[G,te]);const $e=(o=B.arrow)===null||o===void 0?void 0:o.x,Se=(a=B.arrow)===null||a===void 0?void 0:a.y,Le=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Ke]=l.useState();ye(()=>{_&&Ke(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:Ve,positionUpdateFns:fe}=TS(Xo,d),xe=!Ve;l.useLayoutEffect(()=>{if(!xe)return fe.add(Y),()=>{fe.delete(Y)}},[xe,fe,Y]),ye(()=>{xe&&G&&Array.from(fe).reverse().forEach(he=>requestAnimationFrame(he))},[xe,G,fe]);const Ue={"data-side":J,"data-align":se,...N,ref:L,style:{...N.style,animation:G?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:X,left:0,top:0,transform:G?`translate3d(${Math.round(Z)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ne,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(u=B.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(PS,{scope:d,placedSide:J,onArrowChange:K,arrowX:$e,arrowY:Se,shouldHideArrow:Le},xe?l.createElement(DS,{scope:d,hasParent:!0,positionUpdateFns:fe},l.createElement(at.div,Ue)):l.createElement(at.div,Ue)))}),CS="PopperArrow",OS={top:"bottom",right:"left",bottom:"top",left:"right"},IS=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=SS(CS,n),i=OS[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(yS,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function AS(e){return e!==void 0}function MS(e){return e!==null}const NS=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),FS=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=Um(s),v={start:"0%",center:"50%",end:"100%"}[g],y=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",$="";return b==="bottom"?(w=f?v:`${y}px`,$=`${-m}px`):b==="top"?(w=f?v:`${y}px`,$=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,$=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,$=f?v:`${x}px`),{data:{x:w,y:$}}}});function Um(e){const[t,r="center"]=e.split("-");return[t,r]}const Hm=wS,zS=ES,LS=kS,KS=IS,VS=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(at.div,S({},o,{ref:t})),n):null}),Gm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),_s="rovingFocusGroup.onEntryFocus",jS={bubbles:!1,cancelable:!0},Es="RovingFocusGroup",[Ps,Ym,BS]=Zo(Es),[RS,Cr]=Me(Es,[BS]),[WS,US]=RS(Es),HS=l.forwardRef((e,t)=>l.createElement(Ps.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(Ps.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(GS,S({},e,{ref:t}))))),GS=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:u,...d}=e,f=l.useRef(null),p=le(t,f),m=bn(a),[b=null,g]=Ze({prop:i,defaultProp:s,onChange:c}),[v,y]=l.useState(!1),x=ge(u),w=Ym(r),$=l.useRef(!1),[A,N]=l.useState(0);return l.useEffect(()=>{const P=f.current;if(P)return P.addEventListener(_s,x),()=>P.removeEventListener(_s,x)},[x]),l.createElement(WS,{scope:r,orientation:n,dir:m,loop:o,currentTabStopId:b,onItemFocus:l.useCallback(P=>g(P),[g]),onItemShiftTab:l.useCallback(()=>y(!0),[]),onFocusableItemAdd:l.useCallback(()=>N(P=>P+1),[]),onFocusableItemRemove:l.useCallback(()=>N(P=>P-1),[])},l.createElement(Gm.div,S({tabIndex:v||A===0?-1:0,"data-orientation":n},d,{ref:p,style:{outline:"none",...e.style},onMouseDown:R(e.onMouseDown,()=>{$.current=!0}),onFocus:R(e.onFocus,P=>{const _=!$.current;if(P.target===P.currentTarget&&_&&!v){const O=new CustomEvent(_s,jS);if(P.currentTarget.dispatchEvent(O),!O.defaultPrevented){const L=w().filter(q=>q.focusable),T=L.find(q=>q.active),K=L.find(q=>q.id===b),I=[T,K,...L].filter(Boolean).map(q=>q.ref.current);qm(I)}}$.current=!1}),onBlur:R(e.onBlur,()=>y(!1))})))}),YS="RovingFocusGroupItem",qS=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=Ge(),c=a||s,u=US(YS,r),d=u.currentTabStopId===c,f=Ym(r),{onFocusableItemAdd:p,onFocusableItemRemove:m}=u;return l.useEffect(()=>{if(n)return p(),()=>m()},[n,p,m]),l.createElement(Ps.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(Gm.span,S({tabIndex:d?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:R(e.onMouseDown,b=>{n?u.onItemFocus(c):b.preventDefault()}),onFocus:R(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:R(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){u.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const g=JS(b,u.orientation,u.dir);if(g!==void 0){b.preventDefault();let y=f().filter(x=>x.focusable).map(x=>x.ref.current);if(g==="last")y.reverse();else if(g==="prev"||g==="next"){g==="prev"&&y.reverse();const x=y.indexOf(b.currentTarget);y=u.loop?QS(y,x+1):y.slice(x+1)}setTimeout(()=>qm(y))}})})))}),ZS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function XS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function JS(e,t,r){const n=XS(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return ZS[n]}function qm(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function QS(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const Ss=HS,Ds=qS,Ts=["Enter"," "],eD=["ArrowDown","PageUp","Home"],Zm=["ArrowUp","PageDown","End"],tD=[...eD,...Zm],rD={ltr:[...Ts,"ArrowRight"],rtl:[...Ts,"ArrowLeft"]},nD={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Jo="Menu",[gn,oD,aD]=Zo(Jo),[ir,Xm]=Me(Jo,[aD,Rm,Cr]),vn=Rm(),Jm=Cr(),[Qm,zt]=ir(Jo),[iD,$n]=ir(Jo),sD=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:i=!0}=e,s=vn(t),[c,u]=l.useState(null),d=l.useRef(!1),f=ge(a),p=bn(o);return l.useEffect(()=>{const m=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),l.createElement(Hm,s,l.createElement(Qm,{scope:t,open:r,onOpenChange:f,content:c,onContentChange:u},l.createElement(iD,{scope:t,onClose:l.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:i},n)))},eh=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=vn(r);return l.createElement(zS,S({},o,n,{ref:t}))}),th="MenuPortal",[lD,rh]=ir(th,{forceMount:void 0}),cD=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=zt(th,t);return l.createElement(lD,{scope:t,forceMount:r},l.createElement(je,{present:r||a.open},l.createElement(VS,{asChild:!0,container:o},n)))},it="MenuContent",[dD,ks]=ir(it),uD=l.forwardRef((e,t)=>{const r=rh(it,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=zt(it,e.__scopeMenu),i=$n(it,e.__scopeMenu);return l.createElement(gn.Provider,{scope:e.__scopeMenu},l.createElement(je,{present:n||a.open},l.createElement(gn.Slot,{scope:e.__scopeMenu},i.modal?l.createElement(fD,S({},o,{ref:t})):l.createElement(pD,S({},o,{ref:t})))))}),fD=l.forwardRef((e,t)=>{const r=zt(it,e.__scopeMenu),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const a=n.current;if(a)return Gn(a)},[]),l.createElement(Cs,S({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:R(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),pD=l.forwardRef((e,t)=>{const r=zt(it,e.__scopeMenu);return l.createElement(Cs,S({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),Cs=l.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,disableOutsideScroll:b,...g}=e,v=zt(it,r),y=$n(it,r),x=vn(r),w=Jm(r),$=oD(r),[A,N]=l.useState(null),P=l.useRef(null),_=le(t,P,v.onContentChange),O=l.useRef(0),L=l.useRef(""),T=l.useRef(0),K=l.useRef(null),D=l.useRef("right"),I=l.useRef(0),q=b?Wn:l.Fragment,ie=b?{as:De,allowPinchZoom:!0}:void 0,W=j=>{var F,M;const H=L.current+j,X=$().filter(G=>!G.disabled),Z=document.activeElement,oe=(F=X.find(G=>G.ref.current===Z))===null||F===void 0?void 0:F.textValue,ne=X.map(G=>G.textValue),B=AD(ne,H,oe),Y=(M=X.find(G=>G.textValue===B))===null||M===void 0?void 0:M.ref.current;(function G(J){L.current=J,window.clearTimeout(O.current),J!==""&&(O.current=window.setTimeout(()=>G(""),1e3))})(H),Y&&setTimeout(()=>Y.focus())};l.useEffect(()=>()=>window.clearTimeout(O.current),[]),Ln();const re=l.useCallback(j=>{var F,M;return D.current===((F=K.current)===null||F===void 0?void 0:F.side)&&ND(j,(M=K.current)===null||M===void 0?void 0:M.area)},[]);return l.createElement(dD,{scope:r,searchRef:L,onItemEnter:l.useCallback(j=>{re(j)&&j.preventDefault()},[re]),onItemLeave:l.useCallback(j=>{var F;re(j)||((F=P.current)===null||F===void 0||F.focus(),N(null))},[re]),onTriggerLeave:l.useCallback(j=>{re(j)&&j.preventDefault()},[re]),pointerGraceTimerRef:T,onPointerGraceIntentChange:l.useCallback(j=>{K.current=j},[])},l.createElement(q,ie,l.createElement(Fn,{asChild:!0,trapped:o,onMountAutoFocus:R(a,j=>{var F;j.preventDefault(),(F=P.current)===null||F===void 0||F.focus()}),onUnmountAutoFocus:i},l.createElement(gS,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m},l.createElement(Ss,S({asChild:!0},w,{dir:y.dir,orientation:"vertical",loop:n,currentTabStopId:A,onCurrentTabStopIdChange:N,onEntryFocus:R(c,j=>{y.isUsingKeyboardRef.current||j.preventDefault()})}),l.createElement(LS,S({role:"menu","aria-orientation":"vertical","data-state":dh(v.open),"data-radix-menu-content":"",dir:y.dir},x,g,{ref:_,style:{outline:"none",...g.style},onKeyDown:R(g.onKeyDown,j=>{const M=j.target.closest("[data-radix-menu-content]")===j.currentTarget,H=j.ctrlKey||j.altKey||j.metaKey,X=j.key.length===1;M&&(j.key==="Tab"&&j.preventDefault(),!H&&X&&W(j.key));const Z=P.current;if(j.target!==Z||!tD.includes(j.key))return;j.preventDefault();const ne=$().filter(B=>!B.disabled).map(B=>B.ref.current);Zm.includes(j.key)&&ne.reverse(),OD(ne)}),onBlur:R(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(O.current),L.current="")}),onPointerMove:R(e.onPointerMove,yn(j=>{const F=j.target,M=I.current!==j.clientX;if(j.currentTarget.contains(F)&&M){const H=j.clientX>I.current?"right":"left";D.current=H,I.current=j.clientX}}))})))))))}),nh=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(at.div,S({role:"group"},n,{ref:t}))}),mD=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(at.div,S({},n,{ref:t}))}),Os="MenuItem",oh="menu.itemSelect",Is=l.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...o}=e,a=l.useRef(null),i=$n(Os,e.__scopeMenu),s=ks(Os,e.__scopeMenu),c=le(t,a),u=l.useRef(!1),d=()=>{const f=a.current;if(!r&&f){const p=new CustomEvent(oh,{bubbles:!0,cancelable:!0});f.addEventListener(oh,m=>n==null?void 0:n(m),{once:!0}),Lm(f,p),p.defaultPrevented?u.current=!1:i.onClose()}};return l.createElement(ah,S({},o,{ref:c,disabled:r,onClick:R(e.onClick,d),onPointerDown:f=>{var p;(p=e.onPointerDown)===null||p===void 0||p.call(e,f),u.current=!0},onPointerUp:R(e.onPointerUp,f=>{var p;u.current||(p=f.currentTarget)===null||p===void 0||p.click()}),onKeyDown:R(e.onKeyDown,f=>{const p=s.searchRef.current!=="";r||p&&f.key===" "||Ts.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),ah=l.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,i=ks(Os,r),s=Jm(r),c=l.useRef(null),u=le(t,c),[d,f]=l.useState(!1),[p,m]=l.useState("");return l.useEffect(()=>{const b=c.current;if(b){var g;m(((g=b.textContent)!==null&&g!==void 0?g:"").trim())}},[a.children]),l.createElement(gn.ItemSlot,{scope:r,disabled:n,textValue:o??p},l.createElement(Ds,S({asChild:!0},s,{focusable:!n}),l.createElement(at.div,S({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0},a,{ref:u,onPointerMove:R(e.onPointerMove,yn(b=>{n?i.onItemLeave(b):(i.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:R(e.onPointerLeave,yn(b=>i.onItemLeave(b))),onFocus:R(e.onFocus,()=>f(!0)),onBlur:R(e.onBlur,()=>f(!1))}))))}),hD=l.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...o}=e;return l.createElement(sh,{scope:e.__scopeMenu,checked:r},l.createElement(Is,S({role:"menuitemcheckbox","aria-checked":ea(r)?"mixed":r},o,{ref:t,"data-state":As(r),onSelect:R(o.onSelect,()=>n==null?void 0:n(ea(r)?!0:!r),{checkForDefaultPrevented:!1})})))}),bD="MenuRadioGroup",[gD,vD]=ir(bD,{value:void 0,onValueChange:()=>{}}),$D=l.forwardRef((e,t)=>{const{value:r,onValueChange:n,...o}=e,a=ge(n);return l.createElement(gD,{scope:e.__scopeMenu,value:r,onValueChange:a},l.createElement(nh,S({},o,{ref:t})))}),yD="MenuRadioItem",xD=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=vD(yD,e.__scopeMenu),a=r===o.value;return l.createElement(sh,{scope:e.__scopeMenu,checked:a},l.createElement(Is,S({role:"menuitemradio","aria-checked":a},n,{ref:t,"data-state":As(a),onSelect:R(n.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,r)},{checkForDefaultPrevented:!1})})))}),ih="MenuItemIndicator",[sh,wD]=ir(ih,{checked:!1}),_D=l.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...o}=e,a=wD(ih,r);return l.createElement(je,{present:n||ea(a.checked)||a.checked===!0},l.createElement(at.span,S({},o,{ref:t,"data-state":As(a.checked)})))}),ED=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(at.div,S({role:"separator","aria-orientation":"horizontal"},n,{ref:t}))}),PD=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=vn(r);return l.createElement(KS,S({},o,n,{ref:t}))}),lh="MenuSub",[SD,ch]=ir(lh),DD=e=>{const{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=zt(lh,t),i=vn(t),[s,c]=l.useState(null),[u,d]=l.useState(null),f=ge(o);return l.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),l.createElement(Hm,i,l.createElement(Qm,{scope:t,open:n,onOpenChange:f,content:u,onContentChange:d},l.createElement(SD,{scope:t,contentId:Ge(),triggerId:Ge(),trigger:s,onTriggerChange:c},r)))},Qo="MenuSubTrigger",TD=l.forwardRef((e,t)=>{const r=zt(Qo,e.__scopeMenu),n=$n(Qo,e.__scopeMenu),o=ch(Qo,e.__scopeMenu),a=ks(Qo,e.__scopeMenu),i=l.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,u={__scopeMenu:e.__scopeMenu},d=l.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return l.useEffect(()=>d,[d]),l.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),c(null)}},[s,c]),l.createElement(eh,S({asChild:!0},u),l.createElement(ah,S({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":dh(r.open)},e,{ref:Nn(t,o.onTriggerChange),onClick:f=>{var p;(p=e.onClick)===null||p===void 0||p.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:R(e.onPointerMove,yn(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!r.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{r.onOpenChange(!0),d()},100))})),onPointerLeave:R(e.onPointerLeave,yn(f=>{var p;d();const m=(p=r.content)===null||p===void 0?void 0:p.getBoundingClientRect();if(m){var b;const g=(b=r.content)===null||b===void 0?void 0:b.dataset.side,v=g==="right",y=v?-5:5,x=m[v?"left":"right"],w=m[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+y,y:f.clientY},{x,y:m.top},{x:w,y:m.top},{x:w,y:m.bottom},{x,y:m.bottom}],side:g}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:R(e.onKeyDown,f=>{const p=a.searchRef.current!=="";if(!(e.disabled||p&&f.key===" ")&&rD[n.dir].includes(f.key)){var m;r.onOpenChange(!0),(m=r.content)===null||m===void 0||m.focus(),f.preventDefault()}})})))}),kD="MenuSubContent",CD=l.forwardRef((e,t)=>{const r=rh(it,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=zt(it,e.__scopeMenu),i=$n(it,e.__scopeMenu),s=ch(kD,e.__scopeMenu),c=l.useRef(null),u=le(t,c);return l.createElement(gn.Provider,{scope:e.__scopeMenu},l.createElement(je,{present:n||a.open},l.createElement(gn.Slot,{scope:e.__scopeMenu},l.createElement(Cs,S({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var f;i.isUsingKeyboardRef.current&&((f=c.current)===null||f===void 0||f.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:R(e.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:R(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:R(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),p=nD[i.dir].includes(d.key);if(f&&p){var m;a.onOpenChange(!1),(m=s.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function dh(e){return e?"open":"closed"}function ea(e){return e==="indeterminate"}function As(e){return ea(e)?"indeterminate":e?"checked":"unchecked"}function OD(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function ID(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function AD(e,t,r){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=ID(e,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==r));const c=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function MD(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,c=t[a].y,u=t[i].x,d=t[i].y;c>n!=d>n&&r<(u-s)*(n-c)/(d-c)+s&&(o=!o)}return o}function ND(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return MD(r,t)}function yn(e){return t=>t.pointerType==="mouse"?e(t):void 0}const FD=sD,zD=eh,LD=cD,KD=uD,VD=nh,jD=mD,BD=Is,RD=hD,WD=$D,UD=xD,HD=_D,GD=ED,YD=PD,qD=DD,ZD=TD,XD=CD,uh="DropdownMenu",[JD,XA]=Me(uh,[Xm]),Be=Xm(),[QD,fh]=JD(uh),e6=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=e,c=Be(t),u=l.useRef(null),[d=!1,f]=Ze({prop:o,defaultProp:a,onChange:i});return l.createElement(QD,{scope:t,triggerId:Ge(),triggerRef:u,contentId:Ge(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:s},l.createElement(FD,S({},c,{open:d,onOpenChange:f,dir:n,modal:s}),r))},t6="DropdownMenuTrigger",r6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=fh(t6,r),i=Be(r);return l.createElement(zD,S({asChild:!0},i),l.createElement(fS.button,S({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n},o,{ref:Nn(t,a.triggerRef),onPointerDown:R(e.onPointerDown,s=>{!n&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:R(e.onKeyDown,s=>{n||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),n6=e=>{const{__scopeDropdownMenu:t,...r}=e,n=Be(t);return l.createElement(LD,S({},n,r))},o6="DropdownMenuContent",a6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=fh(o6,r),a=Be(r),i=l.useRef(!1);return l.createElement(KD,S({id:o.contentId,"aria-labelledby":o.triggerId},a,n,{ref:t,onCloseAutoFocus:R(e.onCloseAutoFocus,s=>{var c;i.current||(c=o.triggerRef.current)===null||c===void 0||c.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:R(e.onInteractOutside,s=>{const c=s.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,d=c.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),i6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(VD,S({},o,n,{ref:t}))}),s6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(jD,S({},o,n,{ref:t}))}),l6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(BD,S({},o,n,{ref:t}))}),c6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(RD,S({},o,n,{ref:t}))}),d6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(WD,S({},o,n,{ref:t}))}),u6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(UD,S({},o,n,{ref:t}))}),f6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(HD,S({},o,n,{ref:t}))}),p6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(GD,S({},o,n,{ref:t}))}),m6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(YD,S({},o,n,{ref:t}))}),h6=e=>{const{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,i=Be(t),[s=!1,c]=Ze({prop:n,defaultProp:a,onChange:o});return l.createElement(qD,S({},i,{open:s,onOpenChange:c}),r)},b6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(ZD,S({},o,n,{ref:t}))}),g6=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Be(r);return l.createElement(XD,S({},o,n,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),v6=e6,$6=r6,ph=n6,y6=a6,x6=i6,w6=s6,_6=l6,E6=c6,P6=d6,S6=u6,D6=f6,T6=p6,k6=m6,C6=h6,O6=b6,I6=g6,A6=C.keyframes`
|
|
995
|
+
`,To=l.forwardRef((e,t)=>{const{disabled:r,checked:n,invalid:o,onCheckedChange:a,...i}=e,s=xm(r);return re($7,{ref:t,onCheckedChange:a,...i,...s,checked:n,"aria-invalid":o,children:[!n&&T(ls,{}),re(x7,{children:[n===!0&&T(ls,{children:T(v7,{})}),n==="indeterminate"&&T(ls,{children:T(y7,{})})]})]})});To.displayName="Checkbox";const _7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function cs(e){const t=e+"CollectionProvider",[r,n]=Ce(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:g}=m,v=l.useRef(null),$=l.useRef(new Map).current;return l.createElement(o,{scope:b,itemMap:$,collectionRef:v},g)},s=e+"CollectionSlot",c=l.forwardRef((m,b)=>{const{scope:g,children:v}=m,$=a(s,g),x=le(b,$.collectionRef);return l.createElement(Se,{ref:x},v)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",f=l.forwardRef((m,b)=>{const{scope:g,children:v,...$}=m,x=l.useRef(null),_=le(b,x),y=a(u,g);return l.useEffect(()=>(y.itemMap.set(x,{ref:x,...$}),()=>void y.itemMap.delete(x))),l.createElement(Se,{[d]:"",ref:_},v)});function p(m){const b=a(e+"CollectionConsumer",m);return l.useCallback(()=>{const v=b.collectionRef.current;if(!v)return[];const $=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((y,M)=>$.indexOf(y.ref.current)-$.indexOf(M.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},p,n]}const w7=l.createContext(void 0);function ko(e){const t=l.useContext(w7);return e||t||"ltr"}const nt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _m(e,t){e&&ze.flushSync(()=>e.dispatchEvent(t))}const ds="dismissableLayer.update",E7="dismissableLayer.pointerDownOutside",P7="dismissableLayer.focusOutside";let wm;const D7=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S7=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(D7),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,w=>p(w)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=f?v.indexOf(f):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,M=_>=x,F=T7(w=>{const O=w.target,K=[...d.branches].some(k=>k.contains(O));!M||K||(a==null||a(w),s==null||s(w),w.defaultPrevented||c==null||c())},m),P=k7(w=>{const O=w.target;[...d.branches].some(k=>k.contains(O))||(i==null||i(w),s==null||s(w),w.defaultPrevented||c==null||c())},m);return Rr(w=>{_===d.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(wm=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Em(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=wm)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Em())},[f,d]),l.useEffect(()=>{const w=()=>b({});return document.addEventListener(ds,w),()=>document.removeEventListener(ds,w)},[]),l.createElement(nt.div,D({},u,{ref:g,style:{pointerEvents:y?M?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,F.onPointerDownCapture)}))});function T7(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){Pm(E7,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function k7(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Pm(P7,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Em(){const e=new CustomEvent(ds);document.dispatchEvent(e)}function Pm(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?_m(o,a):o.dispatchEvent(a)}const C7=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(nt.svg,D({},a,{ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:l.createElement("polygon",{points:"0,0 30,0 15,10"}))}),Dm="Popper",[us,Sm]=Ce(Dm),[O7,Tm]=us(Dm),I7=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(O7,{scope:t,anchor:n,onAnchorChange:o},r)},A7="PopperAnchor",M7=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Tm(A7,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(nt.div,D({},o,{ref:s}))}),Co="PopperContent",[N7,F7]=us(Co),[z7,L7]=us(Co,{hasParent:!1,positionUpdateFns:new Set}),K7=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:x="partial",hideWhenDetached:_=!1,avoidCollisions:y=!0,onPlaced:M,...F}=e,P=Tm(Co,d),[w,O]=l.useState(null),K=le(t,ye=>O(ye)),[k,j]=l.useState(null),S=fr(k),I=(r=S==null?void 0:S.width)!==null&&r!==void 0?r:0,J=(n=S==null?void 0:S.height)!==null&&n!==void 0?n:0,se=f+(m!=="center"?"-"+m:""),W=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},ee=Array.isArray(v)?v:[v],V=ee.length>0,N={padding:W,boundary:ee.filter(W7),altBoundary:V},{reference:A,floating:R,strategy:G,x:q,y:oe,placement:te,middlewareData:Z,update:Q}=Ha({strategy:"fixed",placement:se,whileElementsMounted:Ra,middleware:[U7(),za({mainAxis:p+J,alignmentAxis:b}),y?La({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Ka():void 0,...N}):void 0,k?Ga({element:k,padding:g}):void 0,y?Na({...N}):void 0,ja({...N,apply:({elements:ye,availableWidth:Ie,availableHeight:ar})=>{ye.floating.style.setProperty("--radix-popper-available-width",`${Ie}px`),ye.floating.style.setProperty("--radix-popper-available-height",`${ar}px`)}}),H7({arrowWidth:I,arrowHeight:J}),_?Fa({strategy:"referenceHidden"}):void 0].filter(R7)});Oe(()=>{A(P.anchor)},[A,P.anchor]);const X=q!==null&&oe!==null,[ne,_e]=km(te),ue=ge(M);Oe(()=>{X&&(ue==null||ue())},[X,ue]);const Ne=(o=Z.arrow)===null||o===void 0?void 0:o.x,Et=(a=Z.arrow)===null||a===void 0?void 0:a.y,qe=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ue,Ze]=l.useState();Oe(()=>{w&&Ze(window.getComputedStyle(w).zIndex)},[w]);const{hasParent:Fe,positionUpdateFns:he}=L7(Co,d),we=!Fe;l.useLayoutEffect(()=>{if(!we)return he.add(Q),()=>{he.delete(Q)}},[we,he,Q]),Oe(()=>{we&&X&&Array.from(he).reverse().forEach(ye=>requestAnimationFrame(ye))},[we,X,he]);const Xe={"data-side":ne,"data-align":_e,...F,ref:K,style:{...F.style,animation:X?void 0:"none",opacity:(s=Z.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:R,"data-radix-popper-content-wrapper":"",style:{position:G,left:0,top:0,transform:X?`translate3d(${Math.round(q)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ue,["--radix-popper-transform-origin"]:[(c=Z.transformOrigin)===null||c===void 0?void 0:c.x,(u=Z.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(N7,{scope:d,placedSide:ne,onArrowChange:j,arrowX:Ne,arrowY:Et,shouldHideArrow:qe},we?l.createElement(z7,{scope:d,hasParent:!0,positionUpdateFns:he},l.createElement(nt.div,Xe)):l.createElement(nt.div,Xe)))}),j7="PopperArrow",V7={top:"bottom",right:"left",bottom:"top",left:"right"},B7=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=F7(j7,n),i=V7[a.placedSide];return l.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},l.createElement(C7,D({},o,{ref:r,style:{...o.style,display:"block"}})))});function R7(e){return e!==void 0}function W7(e){return e!==null}const U7=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),H7=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=km(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let _="",y="";return b==="bottom"?(_=f?v:`${$}px`,y=`${-m}px`):b==="top"?(_=f?v:`${$}px`,y=`${c.floating.height+m}px`):b==="right"?(_=`${-m}px`,y=f?v:`${x}px`):b==="left"&&(_=`${c.floating.width+m}px`,y=f?v:`${x}px`),{data:{x:_,y}}}});function km(e){const[t,r="center"]=e.split("-");return[t,r]}const Cm=I7,G7=M7,Y7=K7,q7=B7,Z7=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ze.createPortal(l.createElement(nt.div,D({},o,{ref:t})),n):null}),Om=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),fs="rovingFocusGroup.onEntryFocus",X7={bubbles:!1,cancelable:!0},ps="RovingFocusGroup",[ms,Im,J7]=cs(ps),[Q7,Pr]=Ce(ps,[J7]),[e6,t6]=Q7(ps),r6=l.forwardRef((e,t)=>l.createElement(ms.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(ms.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(n6,D({},e,{ref:t}))))),n6=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:u,...d}=e,f=l.useRef(null),p=le(t,f),m=ko(a),[b=null,g]=et({prop:i,defaultProp:s,onChange:c}),[v,$]=l.useState(!1),x=ge(u),_=Im(r),y=l.useRef(!1),[M,F]=l.useState(0);return l.useEffect(()=>{const P=f.current;if(P)return P.addEventListener(fs,x),()=>P.removeEventListener(fs,x)},[x]),l.createElement(e6,{scope:r,orientation:n,dir:m,loop:o,currentTabStopId:b,onItemFocus:l.useCallback(P=>g(P),[g]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>F(P=>P+1),[]),onFocusableItemRemove:l.useCallback(()=>F(P=>P-1),[])},l.createElement(Om.div,D({tabIndex:v||M===0?-1:0,"data-orientation":n},d,{ref:p,style:{outline:"none",...e.style},onMouseDown:U(e.onMouseDown,()=>{y.current=!0}),onFocus:U(e.onFocus,P=>{const w=!y.current;if(P.target===P.currentTarget&&w&&!v){const O=new CustomEvent(fs,X7);if(P.currentTarget.dispatchEvent(O),!O.defaultPrevented){const K=_().filter(J=>J.focusable),k=K.find(J=>J.active),j=K.find(J=>J.id===b),I=[k,j,...K].filter(Boolean).map(J=>J.ref.current);Am(I)}}y.current=!1}),onBlur:U(e.onBlur,()=>$(!1))})))}),o6="RovingFocusGroupItem",a6=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=Qe(),c=a||s,u=t6(o6,r),d=u.currentTabStopId===c,f=Im(r),{onFocusableItemAdd:p,onFocusableItemRemove:m}=u;return l.useEffect(()=>{if(n)return p(),()=>m()},[n,p,m]),l.createElement(ms.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(Om.span,D({tabIndex:d?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:U(e.onMouseDown,b=>{n?u.onItemFocus(c):b.preventDefault()}),onFocus:U(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:U(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){u.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const g=l6(b,u.orientation,u.dir);if(g!==void 0){b.preventDefault();let $=f().filter(x=>x.focusable).map(x=>x.ref.current);if(g==="last")$.reverse();else if(g==="prev"||g==="next"){g==="prev"&&$.reverse();const x=$.indexOf(b.currentTarget);$=u.loop?c6($,x+1):$.slice(x+1)}setTimeout(()=>Am($))}})})))}),i6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function s6(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function l6(e,t,r){const n=s6(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return i6[n]}function Am(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function c6(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const hs=r6,bs=a6,gs=["Enter"," "],d6=["ArrowDown","PageUp","Home"],Mm=["ArrowUp","PageDown","End"],u6=[...d6,...Mm],f6={ltr:[...gs,"ArrowRight"],rtl:[...gs,"ArrowLeft"]},p6={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Oo="Menu",[dn,m6,h6]=cs(Oo),[rr,Nm]=Ce(Oo,[h6,Sm,Pr]),un=Sm(),Fm=Pr(),[zm,Mt]=rr(Oo),[b6,fn]=rr(Oo),g6=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:i=!0}=e,s=un(t),[c,u]=l.useState(null),d=l.useRef(!1),f=ge(a),p=ko(o);return l.useEffect(()=>{const m=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),l.createElement(Cm,s,l.createElement(zm,{scope:t,open:r,onOpenChange:f,content:c,onContentChange:u},l.createElement(b6,{scope:t,onClose:l.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:i},n)))},Lm=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=un(r);return l.createElement(G7,D({},o,n,{ref:t}))}),Km="MenuPortal",[v6,jm]=rr(Km,{forceMount:void 0}),y6=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=Mt(Km,t);return l.createElement(v6,{scope:t,forceMount:r},l.createElement(Ae,{present:r||a.open},l.createElement(Z7,{asChild:!0,container:o},n)))},ot="MenuContent",[$6,vs]=rr(ot),x6=l.forwardRef((e,t)=>{const r=jm(ot,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Mt(ot,e.__scopeMenu),i=fn(ot,e.__scopeMenu);return l.createElement(dn.Provider,{scope:e.__scopeMenu},l.createElement(Ae,{present:n||a.open},l.createElement(dn.Slot,{scope:e.__scopeMenu},i.modal?l.createElement(_6,D({},o,{ref:t})):l.createElement(w6,D({},o,{ref:t})))))}),_6=l.forwardRef((e,t)=>{const r=Mt(ot,e.__scopeMenu),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const a=n.current;if(a)return wa(a)},[]),l.createElement(ys,D({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:U(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),w6=l.forwardRef((e,t)=>{const r=Mt(ot,e.__scopeMenu);return l.createElement(ys,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),ys=l.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,disableOutsideScroll:b,...g}=e,v=Mt(ot,r),$=fn(ot,r),x=un(r),_=Fm(r),y=m6(r),[M,F]=l.useState(null),P=l.useRef(null),w=le(t,P,v.onContentChange),O=l.useRef(0),K=l.useRef(""),k=l.useRef(0),j=l.useRef(null),S=l.useRef("right"),I=l.useRef(0),J=b?xa:l.Fragment,se=b?{as:Se,allowPinchZoom:!0}:void 0,W=V=>{var N,A;const R=K.current+V,G=y().filter(X=>!X.disabled),q=document.activeElement,oe=(N=G.find(X=>X.ref.current===q))===null||N===void 0?void 0:N.textValue,te=G.map(X=>X.textValue),Z=R6(te,R,oe),Q=(A=G.find(X=>X.textValue===Z))===null||A===void 0?void 0:A.ref.current;(function X(ne){K.current=ne,window.clearTimeout(O.current),ne!==""&&(O.current=window.setTimeout(()=>X(""),1e3))})(R),Q&&setTimeout(()=>Q.focus())};l.useEffect(()=>()=>window.clearTimeout(O.current),[]),ga();const ee=l.useCallback(V=>{var N,A;return S.current===((N=j.current)===null||N===void 0?void 0:N.side)&&U6(V,(A=j.current)===null||A===void 0?void 0:A.area)},[]);return l.createElement($6,{scope:r,searchRef:K,onItemEnter:l.useCallback(V=>{ee(V)&&V.preventDefault()},[ee]),onItemLeave:l.useCallback(V=>{var N;ee(V)||((N=P.current)===null||N===void 0||N.focus(),F(null))},[ee]),onTriggerLeave:l.useCallback(V=>{ee(V)&&V.preventDefault()},[ee]),pointerGraceTimerRef:k,onPointerGraceIntentChange:l.useCallback(V=>{j.current=V},[])},l.createElement(J,se,l.createElement(ha,{asChild:!0,trapped:o,onMountAutoFocus:U(a,V=>{var N;V.preventDefault(),(N=P.current)===null||N===void 0||N.focus()}),onUnmountAutoFocus:i},l.createElement(S7,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m},l.createElement(hs,D({asChild:!0},_,{dir:$.dir,orientation:"vertical",loop:n,currentTabStopId:M,onCurrentTabStopIdChange:F,onEntryFocus:U(c,V=>{$.isUsingKeyboardRef.current||V.preventDefault()})}),l.createElement(Y7,D({role:"menu","aria-orientation":"vertical","data-state":Ym(v.open),"data-radix-menu-content":"",dir:$.dir},x,g,{ref:w,style:{outline:"none",...g.style},onKeyDown:U(g.onKeyDown,V=>{const A=V.target.closest("[data-radix-menu-content]")===V.currentTarget,R=V.ctrlKey||V.altKey||V.metaKey,G=V.key.length===1;A&&(V.key==="Tab"&&V.preventDefault(),!R&&G&&W(V.key));const q=P.current;if(V.target!==q||!u6.includes(V.key))return;V.preventDefault();const te=y().filter(Z=>!Z.disabled).map(Z=>Z.ref.current);Mm.includes(V.key)&&te.reverse(),V6(te)}),onBlur:U(e.onBlur,V=>{V.currentTarget.contains(V.target)||(window.clearTimeout(O.current),K.current="")}),onPointerMove:U(e.onPointerMove,pn(V=>{const N=V.target,A=I.current!==V.clientX;if(V.currentTarget.contains(N)&&A){const R=V.clientX>I.current?"right":"left";S.current=R,I.current=V.clientX}}))})))))))}),Vm=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(nt.div,D({role:"group"},n,{ref:t}))}),E6=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(nt.div,D({},n,{ref:t}))}),$s="MenuItem",Bm="menu.itemSelect",xs=l.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...o}=e,a=l.useRef(null),i=fn($s,e.__scopeMenu),s=vs($s,e.__scopeMenu),c=le(t,a),u=l.useRef(!1),d=()=>{const f=a.current;if(!r&&f){const p=new CustomEvent(Bm,{bubbles:!0,cancelable:!0});f.addEventListener(Bm,m=>n==null?void 0:n(m),{once:!0}),_m(f,p),p.defaultPrevented?u.current=!1:i.onClose()}};return l.createElement(Rm,D({},o,{ref:c,disabled:r,onClick:U(e.onClick,d),onPointerDown:f=>{var p;(p=e.onPointerDown)===null||p===void 0||p.call(e,f),u.current=!0},onPointerUp:U(e.onPointerUp,f=>{var p;u.current||(p=f.currentTarget)===null||p===void 0||p.click()}),onKeyDown:U(e.onKeyDown,f=>{const p=s.searchRef.current!=="";r||p&&f.key===" "||gs.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),Rm=l.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,i=vs($s,r),s=Fm(r),c=l.useRef(null),u=le(t,c),[d,f]=l.useState(!1),[p,m]=l.useState("");return l.useEffect(()=>{const b=c.current;if(b){var g;m(((g=b.textContent)!==null&&g!==void 0?g:"").trim())}},[a.children]),l.createElement(dn.ItemSlot,{scope:r,disabled:n,textValue:o??p},l.createElement(bs,D({asChild:!0},s,{focusable:!n}),l.createElement(nt.div,D({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0},a,{ref:u,onPointerMove:U(e.onPointerMove,pn(b=>{n?i.onItemLeave(b):(i.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:U(e.onPointerLeave,pn(b=>i.onItemLeave(b))),onFocus:U(e.onFocus,()=>f(!0)),onBlur:U(e.onBlur,()=>f(!1))}))))}),P6=l.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...o}=e;return l.createElement(Um,{scope:e.__scopeMenu,checked:r},l.createElement(xs,D({role:"menuitemcheckbox","aria-checked":Ao(r)?"mixed":r},o,{ref:t,"data-state":_s(r),onSelect:U(o.onSelect,()=>n==null?void 0:n(Ao(r)?!0:!r),{checkForDefaultPrevented:!1})})))}),D6="MenuRadioGroup",[S6,T6]=rr(D6,{value:void 0,onValueChange:()=>{}}),k6=l.forwardRef((e,t)=>{const{value:r,onValueChange:n,...o}=e,a=ge(n);return l.createElement(S6,{scope:e.__scopeMenu,value:r,onValueChange:a},l.createElement(Vm,D({},o,{ref:t})))}),C6="MenuRadioItem",O6=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=T6(C6,e.__scopeMenu),a=r===o.value;return l.createElement(Um,{scope:e.__scopeMenu,checked:a},l.createElement(xs,D({role:"menuitemradio","aria-checked":a},n,{ref:t,"data-state":_s(a),onSelect:U(n.onSelect,()=>{var i;return(i=o.onValueChange)===null||i===void 0?void 0:i.call(o,r)},{checkForDefaultPrevented:!1})})))}),Wm="MenuItemIndicator",[Um,I6]=rr(Wm,{checked:!1}),A6=l.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...o}=e,a=I6(Wm,r);return l.createElement(Ae,{present:n||Ao(a.checked)||a.checked===!0},l.createElement(nt.span,D({},o,{ref:t,"data-state":_s(a.checked)})))}),M6=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return l.createElement(nt.div,D({role:"separator","aria-orientation":"horizontal"},n,{ref:t}))}),N6=l.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=un(r);return l.createElement(q7,D({},o,n,{ref:t}))}),Hm="MenuSub",[F6,Gm]=rr(Hm),z6=e=>{const{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=Mt(Hm,t),i=un(t),[s,c]=l.useState(null),[u,d]=l.useState(null),f=ge(o);return l.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),l.createElement(Cm,i,l.createElement(zm,{scope:t,open:n,onOpenChange:f,content:u,onContentChange:d},l.createElement(F6,{scope:t,contentId:Qe(),triggerId:Qe(),trigger:s,onTriggerChange:c},r)))},Io="MenuSubTrigger",L6=l.forwardRef((e,t)=>{const r=Mt(Io,e.__scopeMenu),n=fn(Io,e.__scopeMenu),o=Gm(Io,e.__scopeMenu),a=vs(Io,e.__scopeMenu),i=l.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,u={__scopeMenu:e.__scopeMenu},d=l.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return l.useEffect(()=>d,[d]),l.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),c(null)}},[s,c]),l.createElement(Lm,D({asChild:!0},u),l.createElement(Rm,D({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":Ym(r.open)},e,{ref:Tn(t,o.onTriggerChange),onClick:f=>{var p;(p=e.onClick)===null||p===void 0||p.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:U(e.onPointerMove,pn(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!r.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{r.onOpenChange(!0),d()},100))})),onPointerLeave:U(e.onPointerLeave,pn(f=>{var p;d();const m=(p=r.content)===null||p===void 0?void 0:p.getBoundingClientRect();if(m){var b;const g=(b=r.content)===null||b===void 0?void 0:b.dataset.side,v=g==="right",$=v?-5:5,x=m[v?"left":"right"],_=m[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+$,y:f.clientY},{x,y:m.top},{x:_,y:m.top},{x:_,y:m.bottom},{x,y:m.bottom}],side:g}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:U(e.onKeyDown,f=>{const p=a.searchRef.current!=="";if(!(e.disabled||p&&f.key===" ")&&f6[n.dir].includes(f.key)){var m;r.onOpenChange(!0),(m=r.content)===null||m===void 0||m.focus(),f.preventDefault()}})})))}),K6="MenuSubContent",j6=l.forwardRef((e,t)=>{const r=jm(ot,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Mt(ot,e.__scopeMenu),i=fn(ot,e.__scopeMenu),s=Gm(K6,e.__scopeMenu),c=l.useRef(null),u=le(t,c);return l.createElement(dn.Provider,{scope:e.__scopeMenu},l.createElement(Ae,{present:n||a.open},l.createElement(dn.Slot,{scope:e.__scopeMenu},l.createElement(ys,D({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var f;i.isUsingKeyboardRef.current&&((f=c.current)===null||f===void 0||f.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:U(e.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:U(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:U(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),p=p6[i.dir].includes(d.key);if(f&&p){var m;a.onOpenChange(!1),(m=s.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function Ym(e){return e?"open":"closed"}function Ao(e){return e==="indeterminate"}function _s(e){return Ao(e)?"indeterminate":e?"checked":"unchecked"}function V6(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function B6(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function R6(e,t,r){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=B6(e,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==r));const c=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function W6(e,t){const{x:r,y:n}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,c=t[a].y,u=t[i].x,d=t[i].y;c>n!=d>n&&r<(u-s)*(n-c)/(d-c)+s&&(o=!o)}return o}function U6(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return W6(r,t)}function pn(e){return t=>t.pointerType==="mouse"?e(t):void 0}const H6=g6,G6=Lm,Y6=y6,q6=x6,Z6=Vm,X6=E6,J6=xs,Q6=P6,eD=k6,tD=O6,rD=A6,nD=M6,oD=N6,aD=z6,iD=L6,sD=j6,qm="DropdownMenu",[lD,kO]=Ce(qm,[Nm]),Me=Nm(),[cD,Zm]=lD(qm),dD=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=e,c=Me(t),u=l.useRef(null),[d=!1,f]=et({prop:o,defaultProp:a,onChange:i});return l.createElement(cD,{scope:t,triggerId:Qe(),triggerRef:u,contentId:Qe(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:s},l.createElement(H6,D({},c,{open:d,onOpenChange:f,dir:n,modal:s}),r))},uD="DropdownMenuTrigger",fD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=Zm(uD,r),i=Me(r);return l.createElement(G6,D({asChild:!0},i),l.createElement(_7.button,D({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n},o,{ref:Tn(t,a.triggerRef),onPointerDown:U(e.onPointerDown,s=>{!n&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:U(e.onKeyDown,s=>{n||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),pD=e=>{const{__scopeDropdownMenu:t,...r}=e,n=Me(t);return l.createElement(Y6,D({},n,r))},mD="DropdownMenuContent",hD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Zm(mD,r),a=Me(r),i=l.useRef(!1);return l.createElement(q6,D({id:o.contentId,"aria-labelledby":o.triggerId},a,n,{ref:t,onCloseAutoFocus:U(e.onCloseAutoFocus,s=>{var c;i.current||(c=o.triggerRef.current)===null||c===void 0||c.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:U(e.onInteractOutside,s=>{const c=s.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,d=c.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),bD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(Z6,D({},o,n,{ref:t}))}),gD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(X6,D({},o,n,{ref:t}))}),vD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(J6,D({},o,n,{ref:t}))}),yD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(Q6,D({},o,n,{ref:t}))}),$D=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(eD,D({},o,n,{ref:t}))}),xD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(tD,D({},o,n,{ref:t}))}),_D=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(rD,D({},o,n,{ref:t}))}),wD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(nD,D({},o,n,{ref:t}))}),ED=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(oD,D({},o,n,{ref:t}))}),PD=e=>{const{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,i=Me(t),[s=!1,c]=et({prop:n,defaultProp:a,onChange:o});return l.createElement(aD,D({},i,{open:s,onOpenChange:c}),r)},DD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(iD,D({},o,n,{ref:t}))}),SD=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=Me(r);return l.createElement(sD,D({},o,n,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),TD=dD,kD=fD,Xm=pD,CD=hD,OD=bD,ID=gD,AD=vD,MD=yD,ND=$D,FD=xD,zD=_D,LD=wD,KD=ED,jD=PD,VD=DD,BD=SD,RD=C.keyframes`
|
|
996
996
|
0% { opacity: 0; transform: translateY(2px); }
|
|
997
997
|
100% { opacity: 1; transform: translateY(0); }
|
|
998
|
-
`,
|
|
998
|
+
`,WD=C.keyframes`
|
|
999
999
|
0% { opacity: 0; transform: translateX(-2px);}
|
|
1000
1000
|
100% { opacity: 1; transform: translateX(0); }
|
|
1001
|
-
`,
|
|
1001
|
+
`,UD=C.keyframes`
|
|
1002
1002
|
0% { opacity: 0; transform: translateY(-2px); }
|
|
1003
1003
|
100% { opacity: 1; transform: translateY(0); }
|
|
1004
|
-
`,
|
|
1004
|
+
`,HD=C.keyframes`
|
|
1005
1005
|
0% { opacity: 0; transform: translateX(2px); }
|
|
1006
1006
|
100% { opacity: 1; transform: translateX(0); }
|
|
1007
|
-
`,
|
|
1007
|
+
`,Jm=C.css`
|
|
1008
1008
|
font-family: ${h.font_family_sans};
|
|
1009
1009
|
border-radius: 6px; // not in tokens (yet)
|
|
1010
1010
|
padding: ${h.sizing_100};
|
|
@@ -1017,21 +1017,21 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1017
1017
|
|
|
1018
1018
|
&[data-state~='open'] {
|
|
1019
1019
|
&[data-side='top'] {
|
|
1020
|
-
animation-name: ${
|
|
1020
|
+
animation-name: ${UD};
|
|
1021
1021
|
}
|
|
1022
1022
|
&[data-side='right'] {
|
|
1023
|
-
animation-name: ${
|
|
1023
|
+
animation-name: ${HD};
|
|
1024
1024
|
}
|
|
1025
1025
|
&[data-side='bottom'] {
|
|
1026
|
-
animation-name: ${
|
|
1026
|
+
animation-name: ${RD};
|
|
1027
1027
|
}
|
|
1028
1028
|
&[data-side='left'] {
|
|
1029
|
-
animation-name: ${
|
|
1029
|
+
animation-name: ${WD};
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
`,
|
|
1033
|
-
${
|
|
1034
|
-
|
|
1032
|
+
`,GD=C(CD)`
|
|
1033
|
+
${Jm}
|
|
1034
|
+
`,Qm=l.forwardRef((e,t)=>{const{children:r,forceMount:n,...o}=e;return T(Xm,{forceMount:n,children:T(GD,{ref:t,...o,forceMount:n,children:r})})});Qm.displayName="DropdownMenuContent";const YD=TD,qD=Xm,Mo=C.css`
|
|
1035
1035
|
all: unset;
|
|
1036
1036
|
font-size: ${h.font_size_100};
|
|
1037
1037
|
line-height: ${h.line_height_129};
|
|
@@ -1067,45 +1067,46 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1067
1067
|
&:active {
|
|
1068
1068
|
background-color: ${h.color_fill_inverse_pressed};
|
|
1069
1069
|
}
|
|
1070
|
-
`,
|
|
1071
|
-
${
|
|
1072
|
-
|
|
1073
|
-
|
|
1070
|
+
`,ZD=OD,XD=kD,JD=ND,QD=C(AD)`
|
|
1071
|
+
${Mo}
|
|
1072
|
+
cursor: pointer;
|
|
1073
|
+
`,eS=C(FD)`
|
|
1074
|
+
${Mo}
|
|
1074
1075
|
|
|
1075
1076
|
&[aria-checked='true'] {
|
|
1076
1077
|
background-color: ${h.color_background_white_weak};
|
|
1077
1078
|
}
|
|
1078
|
-
`,
|
|
1079
|
-
${
|
|
1080
|
-
`,
|
|
1079
|
+
`,tS=C(MD)`
|
|
1080
|
+
${Mo}
|
|
1081
|
+
`,rS=C(zD)`
|
|
1081
1082
|
display: block;
|
|
1082
1083
|
margin-left: auto;
|
|
1083
1084
|
|
|
1084
1085
|
& > svg {
|
|
1085
1086
|
height: 1rem;
|
|
1086
1087
|
}
|
|
1087
|
-
`,
|
|
1088
|
+
`,nS=C(KD)`
|
|
1088
1089
|
fill: white;
|
|
1089
1090
|
filter: drop-shadow(0px 2px 2px hsl(0deg 0% 0% / 7%));
|
|
1090
|
-
`,
|
|
1091
|
+
`,oS=C(ID)`
|
|
1091
1092
|
padding: 7px ${h.sizing_200};
|
|
1092
1093
|
font-size: ${h.font_size_50};
|
|
1093
1094
|
line-height: ${h.line_height_133};
|
|
1094
1095
|
color: ${h.color_text_weak};
|
|
1095
1096
|
font-style: normal;
|
|
1096
|
-
`,
|
|
1097
|
+
`,aS=C(LD)`
|
|
1097
1098
|
width: 100%;
|
|
1098
1099
|
height: 1px;
|
|
1099
1100
|
background: hsl(0deg 0% 0% / 12%);
|
|
1100
1101
|
margin-block: ${h.sizing_100};
|
|
1101
|
-
`,
|
|
1102
|
-
${
|
|
1102
|
+
`,iS=jD,sS=C(VD)`
|
|
1103
|
+
${Mo}
|
|
1103
1104
|
&[data-state~="open"] {
|
|
1104
1105
|
background-color: ${h.color_background_white_weak};
|
|
1105
1106
|
}
|
|
1106
|
-
`,
|
|
1107
|
-
${
|
|
1108
|
-
`,
|
|
1107
|
+
`,lS=C(BD)`
|
|
1108
|
+
${Jm}
|
|
1109
|
+
`,cS=C(Jc)`
|
|
1109
1110
|
${({display:e})=>`display: ${e??"flex"};`}
|
|
1110
1111
|
${({direction:e})=>e&&`flex-direction: ${e};`}
|
|
1111
1112
|
${({wrap:e})=>e&&`flex-wrap: ${e};`}
|
|
@@ -1113,10 +1114,10 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1113
1114
|
${({alignContent:e})=>e&&`align-content: ${e};`}
|
|
1114
1115
|
${({justifyContent:e})=>e&&`justify-content: ${e};`}
|
|
1115
1116
|
${({flow:e})=>e&&`flex-flow: ${e};`}
|
|
1116
|
-
${({gap:e})=>e&&`gap: ${
|
|
1117
|
-
${({columnGap:e})=>e&&`column-gap: ${
|
|
1118
|
-
${({rowGap:e})=>e&&`row-gap: ${
|
|
1119
|
-
`,hh={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function bh(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=Pr({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...hh,...t}:hh,[n]);return{visuallyHiddenProps:{...a,style:i}}}function t3(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=bh(e);return l.createElement(r,pe(a,i),t)}function r3(e){return e&&e.__esModule?e.default:e}const gh={top:"top",bottom:"top",left:"left",right:"left"},ra={top:"bottom",bottom:"top",left:"right",right:"left"},n3={top:"left",left:"top"},Ms={top:"height",left:"width"},na={};let Or=typeof window<"u"&&window.visualViewport;function o3(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=Or==null?void 0:Or.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=Or==null?void 0:Or.height)!==null&&s!==void 0?s:c.clientHeight,a.top=c.scrollTop||e.scrollTop,a.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=Ir(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function a3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function vh(e,t,r,n,o){let a=n.scroll[e],i=n[Ms[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function i3(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 $h(e){if(na[e])return na[e];let[t,r]=e.split(" "),n=gh[t]||"right",o=n3[n];gh[r]||(r="center");let a=Ms[n],i=Ms[o];return na[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},na[e]}function Ns(e,t,r,n,o,a,i,s){let{placement:c,crossPlacement:u,axis:d,crossAxis:f,size:p,crossSize:m}=n,b={};b[f]=e[f],u==="center"?b[f]+=(e[m]-r[m])/2:u!==f&&(b[f]+=e[m]-r[m]),b[f]+=a;let g=e[f]+e[m]/2-r[m],v=e[f]+e[m]/2;if(b[f]=Math.min(Math.max(g,b[f]),v),c===d){const y=s?i[p]:t[p];b[ra[d]]=Math.floor(y-e[d]+o)}else b[d]=Math.floor(e[d]+e[p]+o);return b}function s3(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function yh(e,t,r,n,o,a){let{placement:i,axis:s,size:c}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[ra[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[ra[s]]-o)}function l3(e,t,r,n,o,a,i,s,c,u,d,f,p){let m=$h(e),{size:b,crossAxis:g,crossSize:v,placement:y,crossPlacement:x}=m,w=Ns(t,s,r,m,u,d,c,f),$=u,A=yh(s,c,t,o,a+u,m);if(i&&n[b]>A){let O=$h(`${ra[y]} ${x}`),L=Ns(t,s,r,O,u,d,c,f);yh(s,c,t,o,a+u,O)>A&&(m=O,w=L,$=u)}let N=vh(g,w[g],r[v],s,a);w[g]+=N;let P=s3(w,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),w=Ns(t,s,r,m,$,d,c,f),N=vh(g,w[g],r[v],s,a),w[g]+=N;let _={};return _[g]=t[g]-w[g]+t[v]/2,{position:w,maxHeight:P,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:m.placement}}function c3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:c,crossOffset:u,maxHeight:d}=e,f=n instanceof HTMLElement&&n.offsetParent||document.body,p=f.tagName==="BODY";const m=window.getComputedStyle(f).position;let b=!!m&&m!=="static",g=p?Ir(r):xh(r,f);if(!p){let{marginTop:A,marginLeft:N}=window.getComputedStyle(r);g.top+=parseInt(A,10)||0,g.left+=parseInt(N,10)||0}let v=Ir(n),y=i3(n);v.width+=y.left+y.right,v.height+=y.top+y.bottom;let x=a3(o),w=o3(s),$=s.tagName==="BODY"?Ir(f):xh(f,s);return l3(t,g,v,x,y,a,i,w,$,c,u,b,d)}function Ir(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+a-s,left:r+i-c,width:n,height:o}}function xh(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=Ir(e);let o=Ir(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const wh=new WeakMap;function d3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||wh.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Ar=typeof window<"u"&&window.visualViewport;function u3(e){let{direction:t}=ut(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:u=0,crossOffset:d=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:m,maxHeight:b}=e,[g,v]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),y=[f,a,n.current,r.current,o.current,i,s,c,u,d,p,t,b],x=l.useCallback(()=>{if(f===!1||!p||!n.current||!r.current||!o.current||!c)return;let A=c3({placement:p3(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:c,offset:u,crossOffset:d,maxHeight:b});Object.keys(A.position).forEach(N=>n.current.style[N]=A.position[N]+"px"),n.current.style.maxHeight=A.maxHeight!=null?A.maxHeight+"px":void 0,v(A)},y);Te(x,y),f3(x),vE({ref:n,onResize:x});let w=l.useRef(!1);Te(()=>{let A,N=()=>{w.current=!0,clearTimeout(A),A=setTimeout(()=>{w.current=!1},500),x()};return Ar==null||Ar.addEventListener("resize",N),()=>{Ar==null||Ar.removeEventListener("resize",N)}},[x]);let $=l.useCallback(()=>{w.current||m()},[m,w]);return d3({triggerRef:r,isOpen:p,onClose:m&&$}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:x}}function f3(e){Te(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function p3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Et=[];function m3(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&Et.push(t),()=>{let b=Et.indexOf(t);b>=0&&Et.splice(b,1)}),[o,t]);let c=()=>{Et[Et.length-1]===t&&r&&r()},u=b=>{(!s||s(b.target))&&Et[Et.length-1]===t&&(b.stopPropagation(),b.preventDefault())},d=b=>{(!s||s(b.target))&&(Et[Et.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},f=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};VE({ref:t,onInteractOutside:a?d:null,onInteractOutsideStart:u});let{focusWithinProps:p}=Pr({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&XE(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function h3(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&wh.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=Je();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Fs=typeof window<"u"&&window.visualViewport,b3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let oa=0,zs;function g3(e={}){let{isDisabled:t}=e;Te(()=>{if(!t)return oa++,oa===1&&($r()?zs=$3():zs=v3()),()=>{oa--,oa===0&&zs()}},[t])}function v3(){return Jt(xn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xn(document.documentElement,"overflow","hidden"))}function $3(){let e,t=0,r=f=>{e=nn(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},n=f=>{if(e===document.documentElement||e===document.body){f.preventDefault();return}let p=f.changedTouches[0].pageY,m=e.scrollTop,b=e.scrollHeight-e.clientHeight;(m<=0&&p>t||m>=b&&p<t)&&f.preventDefault(),t=p},o=f=>{let p=f.target;Eh(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=f=>{let p=f.target;Eh(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",Fs&&(Fs.height<window.innerHeight?requestAnimationFrame(()=>{_h(p)}):Fs.addEventListener("resize",()=>_h(p),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,u=Jt(xn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xn(document.documentElement,"overflow","hidden"),xn(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let d=Jt(wn(document,"touchstart",r,{passive:!1,capture:!0}),wn(document,"touchmove",n,{passive:!1,capture:!0}),wn(document,"touchend",o,{passive:!1,capture:!0}),wn(document,"focus",a,!0),wn(window,"scroll",i));return()=>{u(),d(),window.scrollTo(s,c)}}function xn(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function wn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function _h(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=nn(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function Eh(e){return e instanceof HTMLInputElement&&!b3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Ph={},Sh={};Sh={dismiss:"تجاهل"};var Dh={};Dh={dismiss:"Отхвърляне"};var Th={};Th={dismiss:"Odstranit"};var kh={};kh={dismiss:"Luk"};var Ch={};Ch={dismiss:"Schließen"};var Oh={};Oh={dismiss:"Απόρριψη"};var Ih={};Ih={dismiss:"Dismiss"};var Ah={};Ah={dismiss:"Descartar"};var Mh={};Mh={dismiss:"Lõpeta"};var Nh={};Nh={dismiss:"Hylkää"};var Fh={};Fh={dismiss:"Rejeter"};var zh={};zh={dismiss:"התעלם"};var Lh={};Lh={dismiss:"Odbaci"};var Kh={};Kh={dismiss:"Elutasítás"};var Vh={};Vh={dismiss:"Ignora"};var jh={};jh={dismiss:"閉じる"};var Bh={};Bh={dismiss:"무시"};var Rh={};Rh={dismiss:"Atmesti"};var Wh={};Wh={dismiss:"Nerādīt"};var Uh={};Uh={dismiss:"Lukk"};var Hh={};Hh={dismiss:"Negeren"};var Gh={};Gh={dismiss:"Zignoruj"};var Yh={};Yh={dismiss:"Descartar"};var qh={};qh={dismiss:"Dispensar"};var Zh={};Zh={dismiss:"Revocare"};var Xh={};Xh={dismiss:"Пропустить"};var Jh={};Jh={dismiss:"Zrušiť"};var Qh={};Qh={dismiss:"Opusti"};var eb={};eb={dismiss:"Odbaci"};var tb={};tb={dismiss:"Avvisa"};var rb={};rb={dismiss:"Kapat"};var nb={};nb={dismiss:"Скасувати"};var ob={};ob={dismiss:"取消"};var ab={};ab={dismiss:"關閉"},Ph={"ar-AE":Sh,"bg-BG":Dh,"cs-CZ":Th,"da-DK":kh,"de-DE":Ch,"el-GR":Oh,"en-US":Ih,"es-ES":Ah,"et-EE":Mh,"fi-FI":Nh,"fr-FR":Fh,"he-IL":zh,"hr-HR":Lh,"hu-HU":Kh,"it-IT":Vh,"ja-JP":jh,"ko-KR":Bh,"lt-LT":Rh,"lv-LV":Wh,"nb-NO":Uh,"nl-NL":Hh,"pl-PL":Gh,"pt-BR":Yh,"pt-PT":qh,"ro-RO":Zh,"ru-RU":Xh,"sk-SK":Jh,"sl-SI":Qh,"sr-SP":eb,"sv-SE":tb,"tr-TR":rb,"uk-UA":nb,"zh-CN":ob,"zh-TW":ab};function ib(e){let{onDismiss:t,...r}=e,n=Nt(r3(Ph)),o=pi(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(t3,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let _n=new WeakMap,et=[];function y3(e,t=document.body){let r=new Set(e),n=new Set,o=c=>{for(let p of c.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let u=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(c,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),f=u(c);if(f===NodeFilter.FILTER_ACCEPT&&a(c),f!==NodeFilter.FILTER_REJECT){let p=d.nextNode();for(;p!=null;)a(p),p=d.nextNode()}},a=c=>{var u;let d=(u=_n.get(c))!==null&&u!==void 0?u:0;c.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&c.setAttribute("aria-hidden","true"),n.add(c),_n.set(c,d+1))};et.length&&et[et.length-1].disconnect(),o(t);let i=new MutationObserver(c=>{for(let u of c)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(u.target))){for(let d of u.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of u.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&o(d)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return et.push(s),()=>{i.disconnect();for(let c of n){let u=_n.get(c);u===1?(c.removeAttribute("aria-hidden"),_n.delete(c)):_n.set(c,u-1)}s===et[et.length-1]?(et.pop(),et.length&&et[et.length-1].observe()):et.splice(et.indexOf(s),1)}}function x3(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=m3({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:u,arrowProps:d,placement:f}=u3({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return g3({isDisabled:o}),Te(()=>{if(t.isOpen&&!o&&n.current)return y3([n.current])},[o,t.isOpen,n]),{popoverProps:pe(s,u),arrowProps:d,underlayProps:c,placement:f}}const w3=l.createContext(null);function _3(e){let t=Zd(),{portalContainer:r=t?null:document.body}=e,[n,o]=l.useState(!1),a=l.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=l.createElement(w3.Provider,{value:a},l.createElement(HE,{restoreFocus:!0,contain:n},e.children));return Ae.createPortal(i,r)}function E3(e){return e&&e.__esModule?e.default:e}let _e;(function(e){e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all"})(_e||(_e={}));const sb={..._e,copyMove:_e.copy|_e.move,copyLink:_e.copy|_e.link,linkMove:_e.link|_e.move,all:_e.all,uninitialized:_e.all},P3=Ks(sb);P3[_e.all]="all",Ks(_e);const lb={none:"cancel",link:"link",copy:"copy",move:"move"},Ls=Ks(lb);function Ks(e){let t={};for(let r in e)t[e[r]]=r;return t}const Vs="application/vnd.react-aria.items+json",aa="application/octet-stream",S3=Symbol();function D3(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function T3(){return D3(bu())}class ia{has(t){return this.includesUnknownTypes||t===S3&&this.types.has(aa)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let r=!1;for(let n of t.items)n.type!==Vs&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(aa));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function k3(e){let t=[],r=!1;if(e.types.includes(Vs))try{let n=e.getData(Vs),o=JSON.parse(n);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});r=!0}catch{}if(!r){let n=new Map;for(let o of e.items)if(o.kind==="string")n.set(o.type||aa,e.getData(o.type));else if(o.kind==="file")if(typeof o.webkitGetAsEntry=="function"){let a=o.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(js(o.getAsFile())):a.isDirectory&&t.push(cb(a))}else t.push(js(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function C3(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=r,n.readAsText(e)})}function js(e){return{kind:"file",type:e.type||aa,name:e.name,getText:()=>C3(e),getFile:()=>Promise.resolve(e)}}function cb(e){return{kind:"directory",name:e.name,getEntries:()=>O3(e)}}async function*O3(e){let t=e.createReader(),r;do{r=await new Promise((n,o)=>{t.readEntries(n,o)});for(let n of r)if(n.isFile){let o=await I3(n);yield js(o)}else n.isDirectory&&(yield cb(n))}while(r.length>0)}function I3(e){return new Promise((t,r)=>e.file(t,r))}let db={draggingKeys:new Set};function A3(e){db=e}function JA(e){}let ub=_e.none,fb=new Map,pb=null,mb=new Set;function M3(e){return fb.set(e.element,e),()=>{fb.delete(e.element)}}function N3(){let[e,t]=l.useState(pb);return l.useEffect(()=>{let r=()=>t(pb);return mb.add(r),()=>{mb.delete(r)}},[]),e}var hb={},bb={};bb={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var gb={};gb={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var vb={};vb={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var $b={};$b={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var yb={};yb={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var xb={};xb={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var wb={};wb={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var _b={};_b={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var Eb={};Eb={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var Pb={};Pb={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var Sb={};Sb={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var Db={};Db={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var Tb={};Tb={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var kb={};kb={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var Cb={};Cb={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var Ob={};Ob={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var Ib={};Ib={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var Ab={};Ab={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var Mb={};Mb={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var Nb={};Nb={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var Fb={};Fb={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var zb={};zb={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var Lb={};Lb={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Kb={};Kb={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Vb={};Vb={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var jb={};jb={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var Bb={};Bb={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var Rb={};Rb={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var Wb={};Wb={dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje..",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropIndicator:"Indikator otpuštanja",dropOnRoot:"Otpusti na",dropOnItem:e=>`Otpusti na ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`,insertAfter:e=>`Umetnite posle ${e.itemText}`};var Ub={};Ub={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var Hb={};Hb={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var Gb={};Gb={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var Yb={};Yb={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var qb={};qb={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`},hb={"ar-AE":bb,"bg-BG":gb,"cs-CZ":vb,"da-DK":$b,"de-DE":yb,"el-GR":xb,"en-US":wb,"es-ES":_b,"et-EE":Eb,"fi-FI":Pb,"fr-FR":Sb,"he-IL":Db,"hr-HR":Tb,"hu-HU":kb,"it-IT":Cb,"ja-JP":Ob,"ko-KR":Ib,"lt-LT":Ab,"lv-LV":Mb,"nb-NO":Nb,"nl-NL":Fb,"pl-PL":zb,"pt-BR":Lb,"pt-PT":Kb,"ro-RO":Vb,"ru-RU":jb,"sk-SK":Bb,"sl-SI":Rb,"sr-SP":Wb,"sv-SE":Ub,"tr-TR":Hb,"uk-UA":Gb,"zh-CN":Yb,"zh-TW":qb};const F3={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function z3(){let e=Nt(E3(hb)),t=T3(),r=N3();return{dropProps:{...hi(r?e.format(F3[t]):""),onClick:()=>{}}}}const L3=800;function K3(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:_e.all,dropActivateTimer:null}).current,o=p=>{if(r(!0),typeof e.onDropEnter=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:p.clientX-m.x,y:p.clientY-m.y})}},a=p=>{if(r(!1),typeof e.onDropExit=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:p.clientX-m.x,y:p.clientY-m.y})}},i=p=>{p.preventDefault(),p.stopPropagation();let m=Zb(p);if(p.clientX===n.x&&p.clientY===n.y&&m===n.allowedOperations){p.dataTransfer.dropEffect=n.dropEffect;return}n.x=p.clientX,n.y=p.clientY;let b=n.dropEffect;if(m!==n.allowedOperations){let g=Bs(m),v=g[0];if(typeof e.getDropOperation=="function"){let y=new ia(p.dataTransfer);v=sa(m,e.getDropOperation(y,g))}n.dropEffect=Ls[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new ia(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),y=sa(m,e.getDropOperationForPoint(g,Bs(m),n.x-v.x,n.y-v.y));n.dropEffect=Ls[y]||"none"}if(n.allowedOperations=m,p.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(p):n.dropEffect!=="none"&&b==="none"&&o(p),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=p.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:n.x-g.x,y:n.y-g.y})}if(clearTimeout(n.dropActivateTimer),typeof e.onDropActivate=="function"&&n.dropEffect!=="none"){let g=p.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},L3)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Zb(p),b=Bs(m),g=b[0];if(typeof e.getDropOperation=="function"){let v=new ia(p.dataTransfer);g=sa(m,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new ia(p.dataTransfer),y=p.currentTarget.getBoundingClientRect();g=sa(m,e.getDropOperationForPoint(v,b,p.clientX-y.x,p.clientY-y.y))}n.x=p.clientX,n.y=p.clientY,n.allowedOperations=m,n.dropEffect=Ls[g]||"none",p.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(p)},c=p=>{p.preventDefault(),p.stopPropagation(),n.dragOverElements.delete(p.target);for(let m of n.dragOverElements)p.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(p),clearTimeout(n.dropActivateTimer))},u=p=>{if(p.preventDefault(),p.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=lb[n.dropEffect],g=k3(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),y={type:"drop",x:p.clientX-v.x,y:p.clientY-v.y,items:g,dropOperation:b};e.onDrop(y)}let m={...db};n.dragOverElements.clear(),a(p),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||A3(m)},d=l.useRef(e);d.current=e,Te(()=>M3({element:d.current.ref.current,getDropOperation:d.current.getDropOperation,onDropEnter(p){r(!0),typeof d.current.onDropEnter=="function"&&d.current.onDropEnter(p)},onDropExit(p){r(!1),typeof d.current.onDropExit=="function"&&d.current.onDropExit(p)},onDrop(p){typeof d.current.onDrop=="function"&&d.current.onDrop(p)},onDropActivate(p){typeof d.current.onDropActivate=="function"&&d.current.onDropActivate(p)}}),[d]);let{dropProps:f}=z3();return{dropProps:{...f,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:u},isDropTarget:t}}function Zb(e){let t=sb[e.dataTransfer.effectAllowed];ub&&(t&=ub);let r=_e.none;return Qt()?(e.altKey&&(r|=_e.copy),e.ctrlKey&&!nu()&&(r|=_e.link),e.metaKey&&(r|=_e.move)):(e.altKey&&(r|=_e.link),e.shiftKey&&(r|=_e.move),e.ctrlKey&&(r|=_e.copy)),r?t&r:t}function Bs(e){let t=[];return e&_e.move&&t.push("move"),e&_e.copy&&t.push("copy"),e&_e.link&&t.push("link"),t}function sa(e,t){let r=_e[t];return e&r?t:"cancel"}const En=C.p`
|
|
1117
|
+
${({gap:e})=>e&&`gap: ${Re(e)};`}
|
|
1118
|
+
${({columnGap:e})=>e&&`column-gap: ${Re(e)};`}
|
|
1119
|
+
${({rowGap:e})=>e&&`row-gap: ${Re(e)};`}
|
|
1120
|
+
`,eh={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function th(e={}){let{style:t,isFocusable:r}=e,[n,o]=l.useState(!1),{focusWithinProps:a}=$r({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=l.useMemo(()=>n?t:t?{...eh,...t}:eh,[n]);return{visuallyHiddenProps:{...a,style:i}}}function dS(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=th(e);return l.createElement(r,de(a,i),t)}function uS(e){return e&&e.__esModule?e.default:e}const rh={top:"top",bottom:"top",left:"left",right:"left"},No={top:"bottom",bottom:"top",left:"right",right:"left"},fS={top:"left",left:"top"},ws={top:"height",left:"width"},Fo={};let Dr=typeof window<"u"&&window.visualViewport;function pS(e){let t=0,r=0,n=0,o=0,a={};if(e.tagName==="BODY"){let c=document.documentElement;var i;t=(i=Dr==null?void 0:Dr.width)!==null&&i!==void 0?i:c.clientWidth;var s;r=(s=Dr==null?void 0:Dr.height)!==null&&s!==void 0?s:c.clientHeight,a.top=c.scrollTop||e.scrollTop,a.left=c.scrollLeft||e.scrollLeft}else({width:t,height:r,top:n,left:o}=Sr(e)),a.top=e.scrollTop,a.left=e.scrollLeft;return{width:t,height:r,scroll:a,top:n,left:o}}function mS(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function nh(e,t,r,n,o){let a=n.scroll[e],i=n[ws[e]],s=t-o-a,c=t+o-a+r;return s<0?-s:c>i?Math.max(i-c,-s):0}function hS(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 oh(e){if(Fo[e])return Fo[e];let[t,r]=e.split(" "),n=rh[t]||"right",o=fS[n];rh[r]||(r="center");let a=ws[n],i=ws[o];return Fo[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},Fo[e]}function Es(e,t,r,n,o,a,i,s){let{placement:c,crossPlacement:u,axis:d,crossAxis:f,size:p,crossSize:m}=n,b={};b[f]=e[f],u==="center"?b[f]+=(e[m]-r[m])/2:u!==f&&(b[f]+=e[m]-r[m]),b[f]+=a;let g=e[f]+e[m]/2-r[m],v=e[f]+e[m]/2;if(b[f]=Math.min(Math.max(g,b[f]),v),c===d){const $=s?i[p]:t[p];b[No[d]]=Math.floor($-e[d]+o)}else b[d]=Math.floor(e[d]+e[p]+o);return b}function bS(e,t,r,n,o,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(o.top+o.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(o.top+o.bottom+a))}function ah(e,t,r,n,o,a){let{placement:i,axis:s,size:c}=a;return i===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[No[s]]-o):Math.max(0,e[c]+e[s]+e.scroll[s]-t[s]-r[s]-r[c]-n[s]-n[No[s]]-o)}function gS(e,t,r,n,o,a,i,s,c,u,d,f,p){let m=oh(e),{size:b,crossAxis:g,crossSize:v,placement:$,crossPlacement:x}=m,_=Es(t,s,r,m,u,d,c,f),y=u,M=ah(s,c,t,o,a+u,m);if(i&&n[b]>M){let O=oh(`${No[$]} ${x}`),K=Es(t,s,r,O,u,d,c,f);ah(s,c,t,o,a+u,O)>M&&(m=O,_=K,y=u)}let F=nh(g,_[g],r[v],s,a);_[g]+=F;let P=bS(_,s,c,t,o,a);p&&p<P&&(P=p),r.height=Math.min(r.height,P),_=Es(t,s,r,m,y,d,c,f),F=nh(g,_[g],r[v],s,a),_[g]+=F;let w={};return w[g]=t[g]-_[g]+t[v]/2,{position:_,maxHeight:P,arrowOffsetLeft:w.left,arrowOffsetTop:w.top,placement:m.placement}}function vS(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:c,crossOffset:u,maxHeight:d}=e,f=n instanceof HTMLElement&&n.offsetParent||document.body,p=f.tagName==="BODY";const m=window.getComputedStyle(f).position;let b=!!m&&m!=="static",g=p?Sr(r):ih(r,f);if(!p){let{marginTop:M,marginLeft:F}=window.getComputedStyle(r);g.top+=parseInt(M,10)||0,g.left+=parseInt(F,10)||0}let v=Sr(n),$=hS(n);v.width+=$.left+$.right,v.height+=$.top+$.bottom;let x=mS(o),_=pS(s),y=s.tagName==="BODY"?Sr(f):ih(f,s);return gS(t,g,v,x,$,a,i,_,y,c,u,b,d)}function Sr(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+a-s,left:r+i-c,width:n,height:o}}function ih(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:o,left:a,width:i,height:s}=e.getBoundingClientRect();n={top:o,left:a,width:i,height:s}}else{n=Sr(e);let o=Sr(t),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=o.top,n.left-=o.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}const sh=new WeakMap;function yS(e){let{triggerRef:t,isOpen:r,onClose:n}=e;l.useEffect(()=>{if(!r||n===null)return;let o=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let s=n||sh.get(t.current);s&&s()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[r,n,t])}let Tr=typeof window<"u"&&window.visualViewport;function $S(e){let{direction:t}=ct(),{targetRef:r,overlayRef:n,scrollRef:o=n,placement:a="bottom",containerPadding:i=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:u=0,crossOffset:d=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:m,maxHeight:b}=e,[g,v]=l.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[f,a,n.current,r.current,o.current,i,s,c,u,d,p,t,b],x=l.useCallback(()=>{if(f===!1||!p||!n.current||!r.current||!o.current||!c)return;let M=vS({placement:_S(a,t),overlayNode:n.current,targetNode:r.current,scrollNode:o.current,padding:i,shouldFlip:s,boundaryElement:c,offset:u,crossOffset:d,maxHeight:b});Object.keys(M.position).forEach(F=>n.current.style[F]=M.position[F]+"px"),n.current.style.maxHeight=M.maxHeight!=null?M.maxHeight+"px":void 0,v(M)},$);Ee(x,$),xS(x),Tw({ref:n,onResize:x});let _=l.useRef(!1);Ee(()=>{let M,F=()=>{_.current=!0,clearTimeout(M),M=setTimeout(()=>{_.current=!1},500),x()};return Tr==null||Tr.addEventListener("resize",F),()=>{Tr==null||Tr.removeEventListener("resize",F)}},[x]);let y=l.useCallback(()=>{_.current||m()},[m,_]);return yS({triggerRef:r,isOpen:p,onClose:m&&y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...g.position,maxHeight:g.maxHeight}},placement:g.placement,arrowProps:{style:{left:g.arrowOffsetLeft,top:g.arrowOffsetTop}},updatePosition:x}}function xS(e){Ee(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function _S(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const _t=[];function wS(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;l.useEffect(()=>(o&&_t.push(t),()=>{let b=_t.indexOf(t);b>=0&&_t.splice(b,1)}),[o,t]);let c=()=>{_t[_t.length-1]===t&&r&&r()},u=b=>{(!s||s(b.target))&&_t[_t.length-1]===t&&(b.stopPropagation(),b.preventDefault())},d=b=>{(!s||s(b.target))&&(_t[_t.length-1]===t&&(b.stopPropagation(),b.preventDefault()),c())},f=b=>{b.key==="Escape"&&!i&&(b.stopPropagation(),b.preventDefault(),c())};Zw({ref:t,onInteractOutside:a?d:null,onInteractOutsideStart:u});let{focusWithinProps:p}=$r({isDisabled:!n,onBlurWithin:b=>{b.relatedTarget&&sE(b.relatedTarget)||(!s||s(b.relatedTarget))&&r()}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function ES(e,t,r){let{type:n}=e,{isOpen:o}=t;l.useEffect(()=>{r&&r.current&&sh.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=We();return{triggerProps:{"aria-haspopup":a,"aria-expanded":o,"aria-controls":o?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Ps=typeof window<"u"&&window.visualViewport,PS=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let zo=0,Ds;function DS(e={}){let{isDisabled:t}=e;Ee(()=>{if(!t)return zo++,zo===1&&(mr()?Ds=TS():Ds=SS()),()=>{zo--,zo===0&&Ds()}},[t])}function SS(){return Yt(mn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),mn(document.documentElement,"overflow","hidden"))}function TS(){let e,t=0,r=f=>{e=Xr(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},n=f=>{if(e===document.documentElement||e===document.body){f.preventDefault();return}let p=f.changedTouches[0].pageY,m=e.scrollTop,b=e.scrollHeight-e.clientHeight;(m<=0&&p>t||m>=b&&p<t)&&f.preventDefault(),t=p},o=f=>{let p=f.target;ch(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=f=>{let p=f.target;ch(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",Ps&&(Ps.height<window.innerHeight?requestAnimationFrame(()=>{lh(p)}):Ps.addEventListener("resize",()=>lh(p),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,u=Yt(mn(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),mn(document.documentElement,"overflow","hidden"),mn(document.body,"marginTop",`-${c}px`));window.scrollTo(0,0);let d=Yt(hn(document,"touchstart",r,{passive:!1,capture:!0}),hn(document,"touchmove",n,{passive:!1,capture:!0}),hn(document,"touchend",o,{passive:!1,capture:!0}),hn(document,"focus",a,!0),hn(window,"scroll",i));return()=>{u(),d(),window.scrollTo(s,c)}}function mn(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function hn(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function lh(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Xr(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>n+e.clientHeight&&(r.scrollTop+=o-n)}e=r.parentElement}}function ch(e){return e instanceof HTMLInputElement&&!PS.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var dh={},uh={};uh={dismiss:"تجاهل"};var fh={};fh={dismiss:"Отхвърляне"};var ph={};ph={dismiss:"Odstranit"};var mh={};mh={dismiss:"Luk"};var hh={};hh={dismiss:"Schließen"};var bh={};bh={dismiss:"Απόρριψη"};var gh={};gh={dismiss:"Dismiss"};var vh={};vh={dismiss:"Descartar"};var yh={};yh={dismiss:"Lõpeta"};var $h={};$h={dismiss:"Hylkää"};var xh={};xh={dismiss:"Rejeter"};var _h={};_h={dismiss:"התעלם"};var wh={};wh={dismiss:"Odbaci"};var Eh={};Eh={dismiss:"Elutasítás"};var Ph={};Ph={dismiss:"Ignora"};var Dh={};Dh={dismiss:"閉じる"};var Sh={};Sh={dismiss:"무시"};var Th={};Th={dismiss:"Atmesti"};var kh={};kh={dismiss:"Nerādīt"};var Ch={};Ch={dismiss:"Lukk"};var Oh={};Oh={dismiss:"Negeren"};var Ih={};Ih={dismiss:"Zignoruj"};var Ah={};Ah={dismiss:"Descartar"};var Mh={};Mh={dismiss:"Dispensar"};var Nh={};Nh={dismiss:"Revocare"};var Fh={};Fh={dismiss:"Пропустить"};var zh={};zh={dismiss:"Zrušiť"};var Lh={};Lh={dismiss:"Opusti"};var Kh={};Kh={dismiss:"Odbaci"};var jh={};jh={dismiss:"Avvisa"};var Vh={};Vh={dismiss:"Kapat"};var Bh={};Bh={dismiss:"Скасувати"};var Rh={};Rh={dismiss:"取消"};var Wh={};Wh={dismiss:"關閉"},dh={"ar-AE":uh,"bg-BG":fh,"cs-CZ":ph,"da-DK":mh,"de-DE":hh,"el-GR":bh,"en-US":gh,"es-ES":vh,"et-EE":yh,"fi-FI":$h,"fr-FR":xh,"he-IL":_h,"hr-HR":wh,"hu-HU":Eh,"it-IT":Ph,"ja-JP":Dh,"ko-KR":Sh,"lt-LT":Th,"lv-LV":kh,"nb-NO":Ch,"nl-NL":Oh,"pl-PL":Ih,"pt-BR":Ah,"pt-PT":Mh,"ro-RO":Nh,"ru-RU":Fh,"sk-SK":zh,"sl-SI":Lh,"sr-SP":Kh,"sv-SE":jh,"tr-TR":Vh,"uk-UA":Bh,"zh-CN":Rh,"zh-TW":Wh};function Uh(e){let{onDismiss:t,...r}=e,n=It(uS(dh)),o=ei(r,n.format("dismiss")),a=()=>{t&&t()};return l.createElement(dS,null,l.createElement("button",{...o,tabIndex:-1,onClick:a}))}let bn=new WeakMap,Ge=[];function kS(e,t=document.body){let r=new Set(e),n=new Set,o=c=>{for(let p of c.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let u=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(c,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),f=u(c);if(f===NodeFilter.FILTER_ACCEPT&&a(c),f!==NodeFilter.FILTER_REJECT){let p=d.nextNode();for(;p!=null;)a(p),p=d.nextNode()}},a=c=>{var u;let d=(u=bn.get(c))!==null&&u!==void 0?u:0;c.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&c.setAttribute("aria-hidden","true"),n.add(c),bn.set(c,d+1))};Ge.length&&Ge[Ge.length-1].disconnect(),o(t);let i=new MutationObserver(c=>{for(let u of c)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(u.target))){for(let d of u.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of u.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&o(d)}});i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ge.push(s),()=>{i.disconnect();for(let c of n){let u=bn.get(c);u===1?(c.removeAttribute("aria-hidden"),bn.delete(c)):bn.set(c,u-1)}s===Ge[Ge.length-1]?(Ge.pop(),Ge.length&&Ge[Ge.length-1].observe()):Ge.splice(Ge.indexOf(s),1)}}function CS(e,t){let{triggerRef:r,popoverRef:n,isNonModal:o,isKeyboardDismissDisabled:a,...i}=e,{overlayProps:s,underlayProps:c}=wS({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a},n),{overlayProps:u,arrowProps:d,placement:f}=$S({...i,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:null});return DS({isDisabled:o}),Ee(()=>{if(t.isOpen&&!o&&n.current)return kS([n.current])},[o,t.isOpen,n]),{popoverProps:de(s,u),arrowProps:d,underlayProps:c,placement:f}}const OS=l.createContext(null);function IS(e){let t=Md(),{portalContainer:r=t?null:document.body}=e,[n,o]=l.useState(!1),a=l.useMemo(()=>({contain:n,setContain:o}),[n,o]);if(!r)return null;let i=l.createElement(OS.Provider,{value:a},l.createElement(rE,{restoreFocus:!0,contain:n},e.children));return ze.createPortal(i,r)}function AS(e){return e&&e.__esModule?e.default:e}let ve;(function(e){e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all"})(ve||(ve={}));const Hh={...ve,copyMove:ve.copy|ve.move,copyLink:ve.copy|ve.link,linkMove:ve.link|ve.move,all:ve.all,uninitialized:ve.all},MS=Ts(Hh);MS[ve.all]="all",Ts(ve);const Gh={none:"cancel",link:"link",copy:"copy",move:"move"},Ss=Ts(Gh);function Ts(e){let t={};for(let r in e)t[e[r]]=r;return t}const ks="application/vnd.react-aria.items+json",Lo="application/octet-stream",NS=Symbol();function FS(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function zS(){return FS(eu())}class Ko{has(t){return this.includesUnknownTypes||t===NS&&this.types.has(Lo)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let r=!1;for(let n of t.items)n.type!==ks&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(Lo));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function LS(e){let t=[],r=!1;if(e.types.includes(ks))try{let n=e.getData(ks),o=JSON.parse(n);for(let a of o)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});r=!0}catch{}if(!r){let n=new Map;for(let o of e.items)if(o.kind==="string")n.set(o.type||Lo,e.getData(o.type));else if(o.kind==="file")if(typeof o.webkitGetAsEntry=="function"){let a=o.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(Cs(o.getAsFile())):a.isDirectory&&t.push(Yh(a))}else t.push(Cs(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function KS(e){return typeof e.text=="function"?e.text():new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=r,n.readAsText(e)})}function Cs(e){return{kind:"file",type:e.type||Lo,name:e.name,getText:()=>KS(e),getFile:()=>Promise.resolve(e)}}function Yh(e){return{kind:"directory",name:e.name,getEntries:()=>jS(e)}}async function*jS(e){let t=e.createReader(),r;do{r=await new Promise((n,o)=>{t.readEntries(n,o)});for(let n of r)if(n.isFile){let o=await VS(n);yield Cs(o)}else n.isDirectory&&(yield Yh(n))}while(r.length>0)}function VS(e){return new Promise((t,r)=>e.file(t,r))}let qh={draggingKeys:new Set};function BS(e){qh=e}function CO(e){}let Zh=ve.none,Xh=new Map,Jh=null,Qh=new Set;function RS(e){return Xh.set(e.element,e),()=>{Xh.delete(e.element)}}function WS(){let[e,t]=l.useState(Jh);return l.useEffect(()=>{let r=()=>t(Jh);return Qh.add(r),()=>{Qh.delete(r)}},[]),e}var eb={},tb={};tb={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var rb={};rb={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var nb={};nb={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var ob={};ob={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var ab={};ab={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var ib={};ib={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var sb={};sb={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var lb={};lb={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var cb={};cb={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var db={};db={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var ub={};ub={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var fb={};fb={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var pb={};pb={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var mb={};mb={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var hb={};hb={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var bb={};bb={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var gb={};gb={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var vb={};vb={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var yb={};yb={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var $b={};$b={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var xb={};xb={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var _b={};_b={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var wb={};wb={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Eb={};Eb={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Pb={};Pb={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var Db={};Db={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var Sb={};Sb={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var Tb={};Tb={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var kb={};kb={dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje..",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropIndicator:"Indikator otpuštanja",dropOnRoot:"Otpusti na",dropOnItem:e=>`Otpusti na ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`,insertAfter:e=>`Umetnite posle ${e.itemText}`};var Cb={};Cb={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var Ob={};Ob={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var Ib={};Ib={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var Ab={};Ab={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var Mb={};Mb={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`},eb={"ar-AE":tb,"bg-BG":rb,"cs-CZ":nb,"da-DK":ob,"de-DE":ab,"el-GR":ib,"en-US":sb,"es-ES":lb,"et-EE":cb,"fi-FI":db,"fr-FR":ub,"he-IL":fb,"hr-HR":pb,"hu-HU":mb,"it-IT":hb,"ja-JP":bb,"ko-KR":gb,"lt-LT":vb,"lv-LV":yb,"nb-NO":$b,"nl-NL":xb,"pl-PL":_b,"pt-BR":wb,"pt-PT":Eb,"ro-RO":Pb,"ru-RU":Db,"sk-SK":Sb,"sl-SI":Tb,"sr-SP":kb,"sv-SE":Cb,"tr-TR":Ob,"uk-UA":Ib,"zh-CN":Ab,"zh-TW":Mb};const US={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function HS(){let e=It(AS(eb)),t=zS(),r=WS();return{dropProps:{...ri(r?e.format(US[t]):""),onClick:()=>{}}}}const GS=800;function YS(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:ve.all,dropActivateTimer:null}).current,o=p=>{if(r(!0),typeof e.onDropEnter=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:p.clientX-m.x,y:p.clientY-m.y})}},a=p=>{if(r(!1),typeof e.onDropExit=="function"){let m=p.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:p.clientX-m.x,y:p.clientY-m.y})}},i=p=>{p.preventDefault(),p.stopPropagation();let m=Nb(p);if(p.clientX===n.x&&p.clientY===n.y&&m===n.allowedOperations){p.dataTransfer.dropEffect=n.dropEffect;return}n.x=p.clientX,n.y=p.clientY;let b=n.dropEffect;if(m!==n.allowedOperations){let g=Os(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new Ko(p.dataTransfer);v=jo(m,e.getDropOperation($,g))}n.dropEffect=Ss[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new Ko(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$=jo(m,e.getDropOperationForPoint(g,Os(m),n.x-v.x,n.y-v.y));n.dropEffect=Ss[$]||"none"}if(n.allowedOperations=m,p.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&b!=="none"?a(p):n.dropEffect!=="none"&&b==="none"&&o(p),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=p.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:n.x-g.x,y:n.y-g.y})}if(clearTimeout(n.dropActivateTimer),typeof e.onDropActivate=="function"&&n.dropEffect!=="none"){let g=p.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},GS)}},s=p=>{if(p.preventDefault(),p.stopPropagation(),n.dragOverElements.add(p.target),n.dragOverElements.size>1)return;let m=Nb(p),b=Os(m),g=b[0];if(typeof e.getDropOperation=="function"){let v=new Ko(p.dataTransfer);g=jo(m,e.getDropOperation(v,b))}if(typeof e.getDropOperationForPoint=="function"){let v=new Ko(p.dataTransfer),$=p.currentTarget.getBoundingClientRect();g=jo(m,e.getDropOperationForPoint(v,b,p.clientX-$.x,p.clientY-$.y))}n.x=p.clientX,n.y=p.clientY,n.allowedOperations=m,n.dropEffect=Ss[g]||"none",p.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(p)},c=p=>{p.preventDefault(),p.stopPropagation(),n.dragOverElements.delete(p.target);for(let m of n.dragOverElements)p.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(p),clearTimeout(n.dropActivateTimer))},u=p=>{if(p.preventDefault(),p.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let b=Gh[n.dropEffect],g=LS(p.dataTransfer),v=p.currentTarget.getBoundingClientRect(),$={type:"drop",x:p.clientX-v.x,y:p.clientY-v.y,items:g,dropOperation:b};e.onDrop($)}let m={...qh};n.dragOverElements.clear(),a(p),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||BS(m)},d=l.useRef(e);d.current=e,Ee(()=>RS({element:d.current.ref.current,getDropOperation:d.current.getDropOperation,onDropEnter(p){r(!0),typeof d.current.onDropEnter=="function"&&d.current.onDropEnter(p)},onDropExit(p){r(!1),typeof d.current.onDropExit=="function"&&d.current.onDropExit(p)},onDrop(p){typeof d.current.onDrop=="function"&&d.current.onDrop(p)},onDropActivate(p){typeof d.current.onDropActivate=="function"&&d.current.onDropActivate(p)}}),[d]);let{dropProps:f}=HS();return{dropProps:{...f,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:u},isDropTarget:t}}function Nb(e){let t=Hh[e.dataTransfer.effectAllowed];Zh&&(t&=Zh);let r=ve.none;return qt()?(e.altKey&&(r|=ve.copy),e.ctrlKey&&!Vd()&&(r|=ve.link),e.metaKey&&(r|=ve.move)):(e.altKey&&(r|=ve.link),e.shiftKey&&(r|=ve.move),e.ctrlKey&&(r|=ve.copy)),r?t&r:t}function Os(e){let t=[];return e&ve.move&&t.push("move"),e&ve.copy&&t.push("copy"),e&ve.link&&t.push("link"),t}function jo(e,t){let r=ve[t];return e&r?t:"cancel"}const gn=C.p`
|
|
1120
1121
|
font-family: ${h.font_family_sans};
|
|
1121
1122
|
font-style: var(--text-style, normal);
|
|
1122
1123
|
font-weight: var(--text-font-weight, 400);
|
|
@@ -1124,69 +1125,69 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1124
1125
|
margin-block: 0;
|
|
1125
1126
|
overflow-wrap: break-word;
|
|
1126
1127
|
hyphens: auto;
|
|
1127
|
-
`,
|
|
1128
|
+
`,Is=C(gn)`
|
|
1128
1129
|
max-width: 60ch; /* should check with designers */
|
|
1129
|
-
`,
|
|
1130
|
+
`,qS=C(Is)`
|
|
1130
1131
|
letter-spacing: ${h.letter_spacing_body_large};
|
|
1131
1132
|
line-height: ${h.line_height_body_large};
|
|
1132
1133
|
font-size: ${h.font_size_body_large};
|
|
1133
|
-
`,
|
|
1134
|
+
`,ZS=C(Is)`
|
|
1134
1135
|
letter-spacing: ${h.letter_spacing_body_medium};
|
|
1135
1136
|
line-height: ${h.line_height_body_medium};
|
|
1136
1137
|
font-size: ${h.font_size_body_medium};
|
|
1137
|
-
`,
|
|
1138
|
+
`,XS=C(Is)`
|
|
1138
1139
|
letter-spacing: ${h.letter_spacing_body_small};
|
|
1139
1140
|
line-height: ${h.line_height_body_small};
|
|
1140
1141
|
font-size: ${h.font_size_body_small};
|
|
1141
|
-
`,
|
|
1142
|
+
`,JS={large:qS,medium:ZS,small:XS};function QS({size:e="medium",...t}){const r=JS[e];return T(r,{...t})}const Vo=C.p`
|
|
1142
1143
|
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1143
1144
|
font-family: ${h.font_family_sans};
|
|
1144
1145
|
font-style: normal;
|
|
1145
1146
|
font-weight: var(--text-font-weight, 400);
|
|
1146
1147
|
color: var(--text-color, ${h.color_text_strong});
|
|
1147
1148
|
margin-block: 0;
|
|
1148
|
-
`,
|
|
1149
|
+
`,e3=C(Vo)`
|
|
1149
1150
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1150
1151
|
line-height: ${h.line_height_number_xsmall};
|
|
1151
1152
|
font-size: ${h.font_size_number_xsmall};
|
|
1152
|
-
`,
|
|
1153
|
+
`,t3=C(Vo)`
|
|
1153
1154
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1154
1155
|
line-height: ${h.line_height_number_small};
|
|
1155
1156
|
font-size: ${h.font_size_number_small};
|
|
1156
|
-
`,
|
|
1157
|
+
`,r3=C(Vo)`
|
|
1157
1158
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1158
1159
|
line-height: ${h.line_height_number_medium};
|
|
1159
1160
|
font-size: ${h.font_size_number_medium};
|
|
1160
|
-
`,
|
|
1161
|
+
`,n3=C(Vo)`
|
|
1161
1162
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1162
1163
|
line-height: ${h.line_height_number_large};
|
|
1163
1164
|
font-size: ${h.font_size_number_large};
|
|
1164
|
-
`,
|
|
1165
|
+
`,o3={xsmall:e3,small:t3,medium:r3,large:n3};function a3({size:e="medium",...t}){const r=o3[e];return T(r,{...t})}const i3=C(gn)`
|
|
1165
1166
|
letter-spacing: ${h.letter_spacing_number_small};
|
|
1166
1167
|
line-height: ${h.line_height_number_small};
|
|
1167
1168
|
font-size: ${h.font_size_number_small};
|
|
1168
|
-
`,
|
|
1169
|
+
`,s3=C(gn)`
|
|
1169
1170
|
letter-spacing: ${h.letter_spacing_number_xsmall};
|
|
1170
1171
|
line-height: ${h.line_height_number_xsmall};
|
|
1171
1172
|
font-size: ${h.font_size_number_xsmall};
|
|
1172
|
-
`,
|
|
1173
|
+
`,l3=C(gn)`
|
|
1173
1174
|
letter-spacing: ${h.letter_spacing_number_large};
|
|
1174
1175
|
line-height: ${h.line_height_number_large};
|
|
1175
1176
|
font-size: ${h.font_size_number_large};
|
|
1176
|
-
`,
|
|
1177
|
+
`,c3=C(gn)`
|
|
1177
1178
|
letter-spacing: ${h.letter_spacing_number_medium};
|
|
1178
1179
|
line-height: ${h.line_height_number_medium};
|
|
1179
1180
|
font-size: ${h.font_size_number_medium};
|
|
1180
|
-
`,
|
|
1181
|
+
`,d3={xsmall:s3,small:i3,medium:c3,large:l3};function u3({size:e="medium",...t}){const r=d3[e];return T(r,{...t})}const f3={caption:u3,body:QS,number:a3},p3={normal:{standard:h.color_text_standard,strong:h.color_text_strong,weak:h.color_text_weak},sentiment:{positive:h.color_text_sentiment_positive,negative:h.color_text_sentiment_negative,notice:h.color_text_sentiment_notice,neutral:h.color_text_sentiment_neutral}},kr=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:a,bold:i,as:s,...c}=e,u=f3[r],f=p3[n][o];return T(u,{as:s,...c,ref:t,style:{"--text-font-weight":i?600:400,"--text-color":f,"--text-style":a?"italic":"normal"}})});kr.displayName="Text";const As={small:"32px",large:"40px"},Fb={circle:h.border_radius_circle,square:h.border_radius_400},Bo=C.button`
|
|
1181
1182
|
all: unset;
|
|
1182
1183
|
appearance: none;
|
|
1183
1184
|
flex-shrink: 0;
|
|
1184
1185
|
display: grid;
|
|
1185
1186
|
line-height: 1;
|
|
1186
1187
|
place-items: center;
|
|
1187
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
1188
|
-
height: var(--icon-button-size, ${
|
|
1189
|
-
width: var(--icon-button-size, ${
|
|
1188
|
+
border-radius: var(--icon-button-border-radius, ${Fb.square});
|
|
1189
|
+
height: var(--icon-button-size, ${As.small});
|
|
1190
|
+
width: var(--icon-button-size, ${As.small});
|
|
1190
1191
|
touch-action: none;
|
|
1191
1192
|
cursor: pointer;
|
|
1192
1193
|
white-space: nowrap;
|
|
@@ -1215,7 +1216,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1215
1216
|
bottom: 0;
|
|
1216
1217
|
right: 0;
|
|
1217
1218
|
}
|
|
1218
|
-
`,
|
|
1219
|
+
`,m3=C(Bo)`
|
|
1219
1220
|
background: ${h.color_fill_primary_enabled};
|
|
1220
1221
|
color: ${h.color_white};
|
|
1221
1222
|
|
|
@@ -1232,7 +1233,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1232
1233
|
background: ${h.color_fill_primary_disabled};
|
|
1233
1234
|
color: ${h.color_fill_inverse_pressed};
|
|
1234
1235
|
}
|
|
1235
|
-
`,
|
|
1236
|
+
`,h3=C(Bo)`
|
|
1236
1237
|
background: ${h.color_fill_secondary_enabled};
|
|
1237
1238
|
color: ${h.color_fill_primary_enabled};
|
|
1238
1239
|
|
|
@@ -1249,7 +1250,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1249
1250
|
&:disabled {
|
|
1250
1251
|
background: ${h.color_fill_secondary_disabled};
|
|
1251
1252
|
}
|
|
1252
|
-
`,
|
|
1253
|
+
`,b3=C(Bo)`
|
|
1253
1254
|
background: ${h.color_fill_danger_enabled};
|
|
1254
1255
|
color: ${h.color_white};
|
|
1255
1256
|
|
|
@@ -1266,7 +1267,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1266
1267
|
&:disabled {
|
|
1267
1268
|
background: ${h.color_fill_danger_disabled};
|
|
1268
1269
|
}
|
|
1269
|
-
`,
|
|
1270
|
+
`,g3=C(Bo)`
|
|
1270
1271
|
background: ${h.color_white};
|
|
1271
1272
|
|
|
1272
1273
|
&:hover {
|
|
@@ -1280,7 +1281,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1280
1281
|
&:disabled {
|
|
1281
1282
|
background: ${h.color_fill_inverse_disabled};
|
|
1282
1283
|
}
|
|
1283
|
-
`,
|
|
1284
|
+
`,v3={primary:m3,secondary:h3,danger:b3,inverse:g3},Ms=l.forwardRef((e,t)=>{const r=lt(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:s,onClick:c,autoFocus:u,children:d,...f}=e,p=dt(),m=s??p,{buttonProps:b,isPressed:g}=on({onPress:c,isDisabled:m,autoFocus:u},r),{isFocusVisible:v,focusProps:$}=xr({autoFocus:u}),x=Of({isFocusVisible:v,isPressed:g}),_=v3[a],y=Fb[i],M=As[o],F=de($,f,b,{"data-state":x});return T(_,{ref:r,...F,style:{"--icon-button-size":M,"--icon-button-border-radius":y},children:T(Wr,{label:n,children:d})})});Ms.displayName="Button";const y3=C.div`
|
|
1284
1285
|
position: relative;
|
|
1285
1286
|
border-radius: ${h.border_radius_400};
|
|
1286
1287
|
border: 1px dashed ${h.color_fill_secondary_enabled};
|
|
@@ -1303,7 +1304,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1303
1304
|
&[data-state~='dropping'] {
|
|
1304
1305
|
border-color: ${h.color_outline_secondary_selected_pressed};
|
|
1305
1306
|
}
|
|
1306
|
-
|
|
1307
|
+
`,$3=C.div`
|
|
1307
1308
|
border-radius: ${h.border_radius_circle};
|
|
1308
1309
|
display: grid;
|
|
1309
1310
|
place-content: center;
|
|
@@ -1315,24 +1316,24 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1315
1316
|
& > svg {
|
|
1316
1317
|
font-size: 1rem;
|
|
1317
1318
|
}
|
|
1318
|
-
`,
|
|
1319
|
+
`,x3=C.div`
|
|
1319
1320
|
display: flex;
|
|
1320
1321
|
gap: ${h.sizing_200};
|
|
1321
|
-
`,
|
|
1322
|
+
`,_3=C.div`
|
|
1322
1323
|
display: flex;
|
|
1323
1324
|
gap: ${h.sizing_500};
|
|
1324
1325
|
justify-content: space-between;
|
|
1325
1326
|
align-items: center;
|
|
1326
|
-
`,
|
|
1327
|
+
`,w3=C.div`
|
|
1327
1328
|
display: flex;
|
|
1328
1329
|
flex-direction: column;
|
|
1329
1330
|
gap: ${h.sizing_100};
|
|
1330
|
-
`,
|
|
1331
|
+
`,E3=C.footer`
|
|
1331
1332
|
margin-top: ${h.spacing_300};
|
|
1332
1333
|
display: flex;
|
|
1333
1334
|
justify-content: flex-end;
|
|
1334
1335
|
gap: ${h.sizing_200};
|
|
1335
|
-
`,
|
|
1336
|
+
`,P3=C.label`
|
|
1336
1337
|
cursor: pointer;
|
|
1337
1338
|
text-decoration: underline;
|
|
1338
1339
|
color: ${h.color_text_strong};
|
|
@@ -1352,23 +1353,23 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1352
1353
|
left: 0;
|
|
1353
1354
|
right: 0;
|
|
1354
1355
|
}
|
|
1355
|
-
`,
|
|
1356
|
+
`,D3=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),zb=l.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=lt(t),s=l.useId(),{dropProps:c,isDropTarget:u}=YS({ref:i,onDrop:async f=>{const p=f.items.find(m=>m.kind==="file");if(p&&p.kind==="file"){const m=await p.getFile();n(m)}}}),d=f=>{var p;(p=f.target.files)!=null&&p[0]&&n(f.target.files[0])};return T(y3,{...c,role:"button",tabIndex:0,ref:i,"data-state":u?"dropping":"",children:r?re(_3,{children:[T(kr,{size:"large",children:r.name}),re(Sd,{children:[T(Td,{asChild:!0,children:T(Ms,{label:"Remove file",size:"small",variant:"danger",children:T(ke.Delete,{})})}),re(_f,{children:[T(kr,{children:"Are you sure you want to remove this file?"}),re(E3,{children:[T(Ri,{asChild:!0,children:T(Er,{variant:"secondary",size:"small",children:"Cancel"})}),T(Ri,{asChild:!0,children:T(Er,{variant:"danger",size:"small",onClick:()=>o==null?void 0:o(),children:"Confirm"})})]})]})]})]}):re(x3,{children:[T($3,{children:T(ke.CloudUpload,{})}),re(w3,{children:[re(kr,{variant:"weak",children:["Drag and drop to upload, or"," ",T(P3,{htmlFor:s,children:"browse files"})]}),re(kr,{variant:"weak",size:"small",children:["Supported formats:"," ",D3.format(a.map(f=>f.name))]})]}),T("input",{onChange:d,type:"file",hidden:!0,id:s,accept:a.map(f=>f.mime).join(",")})]})})});zb.displayName="FileUpload";const Ns=C.h1`
|
|
1356
1357
|
font-family: ${h.font_family_inter_display};
|
|
1357
1358
|
font-weight: 500;
|
|
1358
1359
|
font-style: normal;
|
|
1359
1360
|
margin: 0;
|
|
1360
|
-
`,
|
|
1361
|
+
`,S3=C(Ns)`
|
|
1361
1362
|
letter-spacing: ${h.letter_spacing_heading_large};
|
|
1362
1363
|
font-size: ${h.font_size_heading_large};
|
|
1363
|
-
|
|
1364
|
+
`,T3=C(Ns)`
|
|
1364
1365
|
letter-spacing: ${h.letter_spacing_heading_medium};
|
|
1365
1366
|
font-size: ${h.font_size_heading_medium};
|
|
1366
|
-
`,
|
|
1367
|
+
`,k3={small:C(Ns)`
|
|
1367
1368
|
letter-spacing: ${h.letter_spacing_heading_small};
|
|
1368
1369
|
font-size: ${h.font_size_heading_small};
|
|
1369
|
-
`,medium
|
|
1370
|
+
`,medium:T3,large:S3},Lb=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=k3[o];return T(i,{...a,ref:t,as:n,children:r})});Lb.displayName="Heading";const Fs="nav-menu-portal";var Kb=(e=>(e.Up="Up",e.Down="Down",e))(Kb||{});const zs=l.createContext({direction:"Down",menuRef:null,open:!1,setOpen:function(){throw new Error("Function not implemented.")}}),C3=C.div`
|
|
1370
1371
|
position: relative;
|
|
1371
|
-
`,
|
|
1372
|
+
`,Cr=l.forwardRef((e,t)=>{const[r,n]=l.useState(!1),o=lt(t);return l.useEffect(()=>{const a=document.getElementById(Fs);function i(s){const c=s.target;!o.current.contains(c)&&!(a!=null&&a.contains(c))&&n(!1)}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[o]),T(zs.Provider,{value:{menuRef:o,open:r,setOpen:n,direction:e.direction??"Down"},children:T(C3,{ref:o,role:"menu",children:e.children})})});Cr.displayName="NavigationMenu";const O3=C.button`
|
|
1372
1373
|
cursor: pointer;
|
|
1373
1374
|
padding: 8px;
|
|
1374
1375
|
border: 1px solid transparent;
|
|
@@ -1380,7 +1381,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1380
1381
|
&:hover {
|
|
1381
1382
|
border: ${e=>e.open?"":"1px solid rgba(0, 0, 0, 0.16);"};
|
|
1382
1383
|
}
|
|
1383
|
-
`,
|
|
1384
|
+
`,jb=({children:e})=>{const{open:t,setOpen:r}=l.useContext(zs);return T(O3,{open:t,onClick:()=>r(!t),tabIndex:0,children:e})};Cr.Trigger=jb;const I3=C.div`
|
|
1384
1385
|
visibility: ${e=>e.open?"visible":"hidden"};
|
|
1385
1386
|
position: absolute;
|
|
1386
1387
|
width: ${e=>e.width}px;
|
|
@@ -1397,7 +1398,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1397
1398
|
0px 15px 20px rgba(0, 0, 0, 0.03), 0px 30px 40px rgba(0, 0, 0, 0.03),
|
|
1398
1399
|
0px 40px 70px rgba(0, 0, 0, 0.03), 0px 4px 30px rgba(0, 0, 0, 0.03),
|
|
1399
1400
|
0px 0px 8px rgba(0, 0, 0, 0.03);
|
|
1400
|
-
`,
|
|
1401
|
+
`,Vb=({children:e,portalIdOverride:t})=>{const[r,n]=l.useState(null),{direction:o,open:a,menuRef:i}=l.useContext(zs),[s,c]=l.useState(0),[u,d]=l.useState(0),[f,p]=l.useState(0),m=document.getElementById(t||Fs),b=l.useCallback(v=>{n(v)},[]),g=l.useCallback(()=>{if(o==="Up"&&r&&i!=null&&i.current){const v=i.current.getBoundingClientRect();c(v.width),d(Math.floor(v.top-r.offsetHeight)),p(v.x)}if(o==="Down"&&i!=null&&i.current){const v=i.current.getBoundingClientRect();c(v.width),d(Math.ceil(v.y+v.height)),p(v.x)}},[o,r,i]);return l.useEffect(()=>{g()},[r==null?void 0:r.offsetHeight,g]),l.useEffect(()=>{const v=setTimeout(()=>{g()},1e3);return()=>{clearTimeout(v)}},[r,g]),l.useEffect(()=>(window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}),[r,g]),ze.createPortal(T(I3,{width:s,top:u,left:f,ref:b,open:a,children:e}),m)};Cr.List=Vb;const A3=C.div`
|
|
1401
1402
|
color: hsl(210deg 2.82% 27.84%);
|
|
1402
1403
|
border-radius: ${h.border_radius_400};
|
|
1403
1404
|
margin: 4px;
|
|
@@ -1423,17 +1424,17 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1423
1424
|
&:hover {
|
|
1424
1425
|
background-color: hsl(0deg 0% 96.08%);
|
|
1425
1426
|
}
|
|
1426
|
-
`;function
|
|
1427
|
+
`;function Ls({as:e,...t}){return T(A3,{children:T(e??"div",{...t})})}Cr.Item=Ls;const Ks=C.div`
|
|
1427
1428
|
margin: 0 4px;
|
|
1428
1429
|
border-top: 1px solid hsl(0deg 0% 0% / 12%);
|
|
1429
|
-
`;
|
|
1430
|
+
`;Cr.Separator=Ks;const M3=Object.assign(Cr,{Trigger:jb,List:Vb,Item:Ls,Separator:Ks}),N3=()=>T("div",{id:Fs}),Ro=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Bb="Tabs",[F3,AO]=Ce(Bb,[Pr]),Rb=Pr(),[z3,js]=F3(Bb),L3=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:c="automatic",...u}=e,d=ko(s),[f,p]=et({prop:n,onChange:o,defaultProp:a});return l.createElement(z3,{scope:r,baseId:Qe(),value:f,onValueChange:p,orientation:i,dir:d,activationMode:c},l.createElement(Ro.div,D({dir:d,"data-orientation":i},u,{ref:t})))}),K3="TabsList",j3=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=js(K3,r),i=Rb(r);return l.createElement(hs,D({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),l.createElement(Ro.div,D({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),V3="TabsTrigger",B3=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=js(V3,r),s=Rb(r),c=Wb(i.baseId,n),u=Ub(i.baseId,n),d=n===i.value;return l.createElement(bs,D({asChild:!0},s,{focusable:!o,active:d}),l.createElement(Ro.button,D({type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c},a,{ref:t,onMouseDown:U(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(n):f.preventDefault()}),onKeyDown:U(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(n)}),onFocus:U(e.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(n)})})))}),R3="TabsContent",W3=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=js(R3,r),c=Wb(s.baseId,n),u=Ub(s.baseId,n),d=n===s.value,f=l.useRef(d);return l.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),l.createElement(Ae,{present:o||d},({present:p})=>l.createElement(Ro.div,D({"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),p&&a))});function Wb(e,t){return`${e}-trigger-${t}`}function Ub(e,t){return`${e}-content-${t}`}const U3=L3,H3=j3,G3=B3,Y3=W3,q3=C(U3)`
|
|
1430
1431
|
display: flex;
|
|
1431
1432
|
flex-direction: column;
|
|
1432
1433
|
font-family: ${h.font_family_sans};
|
|
1433
|
-
`,
|
|
1434
|
+
`,Z3=C(H3)`
|
|
1434
1435
|
flex-shrink: 0;
|
|
1435
1436
|
display: flex;
|
|
1436
|
-
`,
|
|
1437
|
+
`,Hb=C(G3)`
|
|
1437
1438
|
all: unset;
|
|
1438
1439
|
font-family: inherit;
|
|
1439
1440
|
color: ${h.color_text_weak};
|
|
@@ -1469,7 +1470,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1469
1470
|
position: relative;
|
|
1470
1471
|
box-shadow: 0 0 0 1px ${h.color_black};
|
|
1471
1472
|
}
|
|
1472
|
-
`,
|
|
1473
|
+
`,X3=C(Hb)`
|
|
1473
1474
|
display: flex;
|
|
1474
1475
|
align-items: center;
|
|
1475
1476
|
gap: ${h.sizing_200};
|
|
@@ -1477,7 +1478,7 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1477
1478
|
& > svg {
|
|
1478
1479
|
font-size: 1rem;
|
|
1479
1480
|
}
|
|
1480
|
-
`,
|
|
1481
|
+
`,J3=C(Y3)`
|
|
1481
1482
|
flex-grow: 1;
|
|
1482
1483
|
padding: ${h.sizing_450};
|
|
1483
1484
|
background-color: white;
|
|
@@ -1486,11 +1487,11 @@ Check the top-level render call using <`+ee+">.")}return U}}function v1(E,U){{if
|
|
|
1486
1487
|
&:focus-visible {
|
|
1487
1488
|
box-shadow: ${h.elevation_interactive_low};
|
|
1488
1489
|
}
|
|
1489
|
-
`,
|
|
1490
|
+
`,Q3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Vs="horizontal",eT=["horizontal","vertical"],Gb=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=Vs,...o}=e,a=Yb(n)?n:Vs,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.createElement(Q3.div,D({"data-orientation":a},s,o,{ref:t}))});Gb.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!Yb(n)?new Error(tT(o,r)):null}};function tT(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1490
1491
|
- horizontal
|
|
1491
1492
|
- vertical
|
|
1492
1493
|
|
|
1493
|
-
Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d0(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}const Qs="dismissableLayer.update",YT="dismissableLayer.pointerDownOutside",qT="dismissableLayer.focusOutside";let u0;const f0=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ZT=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(f0),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=JT(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=QT(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(u0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),p0(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=u0)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),p0())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(Qs,_),()=>document.removeEventListener(Qs,_)},[]),l.createElement(Pt.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))}),XT=l.forwardRef((e,t)=>{const r=l.useContext(f0),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(Pt.div,S({},e,{ref:o}))});function JT(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){m0(YT,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function QT(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&m0(qT,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function p0(){const e=new CustomEvent(Qs);document.dispatchEvent(e)}function m0(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?d0(o,a):o.dispatchEvent(a)}const ek=ZT,tk=XT,rk=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(Pt.div,S({},o,{ref:t})),n):null}),h0=l.forwardRef((e,t)=>l.createElement(Pt.span,S({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),b0="ToastProvider",[el,nk,ok]=Zo("Toast"),[g0,oM]=Me("Toast",[ok]),[ak,ua]=g0(b0),v0=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[u,d]=l.useState(0),f=l.useRef(!1),p=l.useRef(!1);return l.createElement(el.Provider,{scope:t},l.createElement(ak,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>d(m=>m+1),[]),onToastRemove:l.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p},i))};v0.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${b0}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const ik="ToastViewport",sk=["F8"],tl="toast.viewportPause",rl="toast.viewportResume",lk=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=sk,label:o="Notifications ({hotkey})",...a}=e,i=ua(ik,r),s=nk(r),c=l.useRef(null),u=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=le(t,f,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;l.useEffect(()=>{const v=y=>{var x;n.every($=>y[$]||y.code===$)&&((x=f.current)===null||x===void 0||x.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,y=f.current;if(b&&v&&y){const x=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(tl);y.dispatchEvent(N),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(rl);y.dispatchEvent(N),i.isClosePausedRef.current=!1}},$=N=>{!v.contains(N.relatedTarget)&&w()},A=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",x),v.addEventListener("focusout",$),v.addEventListener("pointermove",x),v.addEventListener("pointerleave",A),window.addEventListener("blur",x),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",x),v.removeEventListener("focusout",$),v.removeEventListener("pointermove",x),v.removeEventListener("pointerleave",A),window.removeEventListener("blur",x),window.removeEventListener("focus",w)}}},[b,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const x=s().map(w=>{const $=w.ref.current,A=[$,..._k($)];return v==="forwards"?A:A.reverse()});return(v==="forwards"?x.reverse():x).flat()},[s]);return l.useEffect(()=>{const v=f.current;if(v){const y=x=>{const w=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!w){const _=document.activeElement,O=x.shiftKey;if(x.target===v&&O){var A;(A=u.current)===null||A===void 0||A.focus();return}const K=g({tabbingDirection:O?"backwards":"forwards"}),D=K.findIndex(I=>I===_);if(nl(K.slice(D+1)))x.preventDefault();else{var N,P;O?(N=u.current)===null||N===void 0||N.focus():(P=d.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",y),()=>v.removeEventListener("keydown",y)}},[s,g]),l.createElement(tk,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement($0,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});nl(v)}}),l.createElement(el.Slot,{scope:r},l.createElement(Pt.ol,S({tabIndex:-1},a,{ref:p}))),b&&l.createElement($0,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});nl(v)}}))}),ck="ToastFocusProxy",$0=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=ua(ck,r);return l.createElement(h0,S({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var s;const c=i.relatedTarget;!((s=a.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),fa="Toast",dk="toast.swipeStart",uk="toast.swipeMove",fk="toast.swipeCancel",pk="toast.swipeEnd",mk=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Ze({prop:n,defaultProp:o,onChange:a});return l.createElement(je,{present:r||s},l.createElement(y0,S({open:s},i,{ref:t,onClose:()=>c(!1),onPause:ge(e.onPause),onResume:ge(e.onResume),onSwipeStart:R(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:R(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:R(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:R(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})))}),[hk,bk]=g0(fa,{onClose(){}}),y0=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:m,...b}=e,g=ua(fa,r),[v,y]=l.useState(null),x=le(t,I=>y(I)),w=l.useRef(null),$=l.useRef(null),A=o||g.duration,N=l.useRef(0),P=l.useRef(A),_=l.useRef(0),{onToastAdd:O,onToastRemove:L}=g,T=ge(()=>{var I;(v==null?void 0:v.contains(document.activeElement))&&((I=g.viewport)===null||I===void 0||I.focus()),i()}),K=l.useCallback(I=>{!I||I===1/0||(window.clearTimeout(_.current),N.current=new Date().getTime(),_.current=window.setTimeout(T,I))},[T]);l.useEffect(()=>{const I=g.viewport;if(I){const q=()=>{K(P.current),u==null||u()},ie=()=>{const W=new Date().getTime()-N.current;P.current=P.current-W,window.clearTimeout(_.current),c==null||c()};return I.addEventListener(tl,ie),I.addEventListener(rl,q),()=>{I.removeEventListener(tl,ie),I.removeEventListener(rl,q)}}},[g.viewport,A,c,u,K]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&K(A)},[a,A,g.isClosePausedRef,K]),l.useEffect(()=>(O(),()=>L()),[O,L]);const D=l.useMemo(()=>v?E0(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,D&&l.createElement(gk,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},D),l.createElement(hk,{scope:r,onClose:T},Ae.createPortal(l.createElement(el.ItemSlot,{scope:r},l.createElement(ek,{asChild:!0,onEscapeKeyDown:R(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||T(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(Pt.li,S({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:R(e.onKeyDown,I=>{I.key==="Escape"&&(s==null||s(I.nativeEvent),I.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,T()))}),onPointerDown:R(e.onPointerDown,I=>{I.button===0&&(w.current={x:I.clientX,y:I.clientY})}),onPointerMove:R(e.onPointerMove,I=>{if(!w.current)return;const q=I.clientX-w.current.x,ie=I.clientY-w.current.y,W=Boolean($.current),re=["left","right"].includes(g.swipeDirection),j=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,F=re?j(0,q):0,M=re?0:j(0,ie),H=I.pointerType==="touch"?10:2,X={x:F,y:M},Z={originalEvent:I,delta:X};W?($.current=X,pa(uk,f,Z,{discrete:!1})):P0(X,g.swipeDirection,H)?($.current=X,pa(dk,d,Z,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(q)>H||Math.abs(ie)>H)&&(w.current=null)}),onPointerUp:R(e.onPointerUp,I=>{const q=$.current,ie=I.target;if(ie.hasPointerCapture(I.pointerId)&&ie.releasePointerCapture(I.pointerId),$.current=null,w.current=null,q){const W=I.currentTarget,re={originalEvent:I,delta:q};P0(q,g.swipeDirection,g.swipeThreshold)?pa(pk,m,re,{discrete:!0}):pa(fk,p,re,{discrete:!0}),W.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})))),g.viewport))):null});y0.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${fa}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const gk=e=>{const{__scopeToast:t,children:r,...n}=e,o=ua(fa,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return xk(()=>i(!0)),l.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:l.createElement(rk,{asChild:!0},l.createElement(h0,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},vk=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(Pt.div,S({},n,{ref:t}))}),$k="ToastAction",x0=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(_0,{altText:r,asChild:!0},l.createElement(w0,S({},n,{ref:t}))):null});x0.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${$k}\``)}};const yk="ToastClose",w0=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=bk(yk,r);return l.createElement(_0,{asChild:!0},l.createElement(Pt.button,S({type:"button"},n,{ref:t,onClick:R(e.onClick,o.onClose)})))}),_0=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(Pt.div,S({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function E0(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),wk(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",a=n.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...E0(n))}}),t}function pa(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?d0(o,a):o.dispatchEvent(a)}const P0=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return t==="left"||t==="right"?a&&n>r:!a&&o>r};function xk(e=()=>{}){const t=ge(e);ye(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function wk(e){return e.nodeType===e.ELEMENT_NODE}function _k(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function nl(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const Ek=v0,Pk=lk,Sk=mk,Dk=vk,Tk=x0,kk=w0,ol=25,Ck=C.keyframes`
|
|
1494
|
+
Defaulting to \`${Vs}\`.`}function Yb(e){return eT.includes(e)}const rT=Gb,wt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function qb(e,t){e&&ze.flushSync(()=>e.dispatchEvent(t))}const Bs="dismissableLayer.update",nT="dismissableLayer.pointerDownOutside",oT="dismissableLayer.focusOutside";let Zb;const Xb=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),aT=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext(Xb),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,w=>p(w)),v=Array.from(d.layers),[$]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf($),_=f?v.indexOf(f):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,M=_>=x,F=sT(w=>{const O=w.target,K=[...d.branches].some(k=>k.contains(O));!M||K||(a==null||a(w),s==null||s(w),w.defaultPrevented||c==null||c())},m),P=lT(w=>{const O=w.target;[...d.branches].some(k=>k.contains(O))||(i==null||i(w),s==null||s(w),w.defaultPrevented||c==null||c())},m);return Rr(w=>{_===d.layers.size-1&&(o==null||o(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Zb=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Jb(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Zb)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Jb())},[f,d]),l.useEffect(()=>{const w=()=>b({});return document.addEventListener(Bs,w),()=>document.removeEventListener(Bs,w)},[]),l.createElement(wt.div,D({},u,{ref:g,style:{pointerEvents:y?M?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,F.onPointerDownCapture)}))}),iT=l.forwardRef((e,t)=>{const r=l.useContext(Xb),n=l.useRef(null),o=le(t,n);return l.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),l.createElement(wt.div,D({},e,{ref:o}))});function sT(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){Qb(nT,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function lT(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Qb(oT,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Jb(){const e=new CustomEvent(Bs);document.dispatchEvent(e)}function Qb(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?qb(o,a):o.dispatchEvent(a)}const cT=aT,dT=iT,uT=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?ze.createPortal(l.createElement(wt.div,D({},o,{ref:t})),n):null}),e0=l.forwardRef((e,t)=>l.createElement(wt.span,D({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),t0="ToastProvider",[Rs,fT,pT]=cs("Toast"),[r0,FO]=Ce("Toast",[pT]),[mT,Wo]=r0(t0),n0=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[u,d]=l.useState(0),f=l.useRef(!1),p=l.useRef(!1);return l.createElement(Rs.Provider,{scope:t},l.createElement(mT,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:u,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>d(m=>m+1),[]),onToastRemove:l.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p},i))};n0.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${t0}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const hT="ToastViewport",bT=["F8"],Ws="toast.viewportPause",Us="toast.viewportResume",gT=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=bT,label:o="Notifications ({hotkey})",...a}=e,i=Wo(hT,r),s=fT(r),c=l.useRef(null),u=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=le(t,f,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;l.useEffect(()=>{const v=$=>{var x;n.every(y=>$[y]||$.code===y)&&((x=f.current)===null||x===void 0||x.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,$=f.current;if(b&&v&&$){const x=()=>{if(!i.isClosePausedRef.current){const F=new CustomEvent(Ws);$.dispatchEvent(F),i.isClosePausedRef.current=!0}},_=()=>{if(i.isClosePausedRef.current){const F=new CustomEvent(Us);$.dispatchEvent(F),i.isClosePausedRef.current=!1}},y=F=>{!v.contains(F.relatedTarget)&&_()},M=()=>{v.contains(document.activeElement)||_()};return v.addEventListener("focusin",x),v.addEventListener("focusout",y),v.addEventListener("pointermove",x),v.addEventListener("pointerleave",M),window.addEventListener("blur",x),window.addEventListener("focus",_),()=>{v.removeEventListener("focusin",x),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",x),v.removeEventListener("pointerleave",M),window.removeEventListener("blur",x),window.removeEventListener("focus",_)}}},[b,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const x=s().map(_=>{const y=_.ref.current,M=[y,...IT(y)];return v==="forwards"?M:M.reverse()});return(v==="forwards"?x.reverse():x).flat()},[s]);return l.useEffect(()=>{const v=f.current;if(v){const $=x=>{const _=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!_){const w=document.activeElement,O=x.shiftKey;if(x.target===v&&O){var M;(M=u.current)===null||M===void 0||M.focus();return}const j=g({tabbingDirection:O?"backwards":"forwards"}),S=j.findIndex(I=>I===w);if(Hs(j.slice(S+1)))x.preventDefault();else{var F,P;O?(F=u.current)===null||F===void 0||F.focus():(P=d.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(dT,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"}},b&&l.createElement(o0,{ref:u,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});Hs(v)}}),l.createElement(Rs.Slot,{scope:r},l.createElement(wt.ol,D({tabIndex:-1},a,{ref:p}))),b&&l.createElement(o0,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});Hs(v)}}))}),vT="ToastFocusProxy",o0=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=Wo(vT,r);return l.createElement(e0,D({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:i=>{var s;const c=i.relatedTarget;!((s=a.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),Uo="Toast",yT="toast.swipeStart",$T="toast.swipeMove",xT="toast.swipeCancel",_T="toast.swipeEnd",wT=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=et({prop:n,defaultProp:o,onChange:a});return l.createElement(Ae,{present:r||s},l.createElement(a0,D({open:s},i,{ref:t,onClose:()=>c(!1),onPause:ge(e.onPause),onResume:ge(e.onResume),onSwipeStart:U(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:U(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:U(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:U(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})))}),[ET,PT]=r0(Uo,{onClose(){}}),a0=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:m,...b}=e,g=Wo(Uo,r),[v,$]=l.useState(null),x=le(t,I=>$(I)),_=l.useRef(null),y=l.useRef(null),M=o||g.duration,F=l.useRef(0),P=l.useRef(M),w=l.useRef(0),{onToastAdd:O,onToastRemove:K}=g,k=ge(()=>{var I;(v==null?void 0:v.contains(document.activeElement))&&((I=g.viewport)===null||I===void 0||I.focus()),i()}),j=l.useCallback(I=>{!I||I===1/0||(window.clearTimeout(w.current),F.current=new Date().getTime(),w.current=window.setTimeout(k,I))},[k]);l.useEffect(()=>{const I=g.viewport;if(I){const J=()=>{j(P.current),u==null||u()},se=()=>{const W=new Date().getTime()-F.current;P.current=P.current-W,window.clearTimeout(w.current),c==null||c()};return I.addEventListener(Ws,se),I.addEventListener(Us,J),()=>{I.removeEventListener(Ws,se),I.removeEventListener(Us,J)}}},[g.viewport,M,c,u,j]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&j(M)},[a,M,g.isClosePausedRef,j]),l.useEffect(()=>(O(),()=>K()),[O,K]);const S=l.useMemo(()=>v?c0(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,S&&l.createElement(DT,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},S),l.createElement(ET,{scope:r,onClose:k},ze.createPortal(l.createElement(Rs.ItemSlot,{scope:r},l.createElement(cT,{asChild:!0,onEscapeKeyDown:U(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||k(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(wt.li,D({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},b,{ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:U(e.onKeyDown,I=>{I.key==="Escape"&&(s==null||s(I.nativeEvent),I.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:U(e.onPointerDown,I=>{I.button===0&&(_.current={x:I.clientX,y:I.clientY})}),onPointerMove:U(e.onPointerMove,I=>{if(!_.current)return;const J=I.clientX-_.current.x,se=I.clientY-_.current.y,W=Boolean(y.current),ee=["left","right"].includes(g.swipeDirection),V=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,N=ee?V(0,J):0,A=ee?0:V(0,se),R=I.pointerType==="touch"?10:2,G={x:N,y:A},q={originalEvent:I,delta:G};W?(y.current=G,Ho($T,f,q,{discrete:!1})):d0(G,g.swipeDirection,R)?(y.current=G,Ho(yT,d,q,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(J)>R||Math.abs(se)>R)&&(_.current=null)}),onPointerUp:U(e.onPointerUp,I=>{const J=y.current,se=I.target;if(se.hasPointerCapture(I.pointerId)&&se.releasePointerCapture(I.pointerId),y.current=null,_.current=null,J){const W=I.currentTarget,ee={originalEvent:I,delta:J};d0(J,g.swipeDirection,g.swipeThreshold)?Ho(_T,m,ee,{discrete:!0}):Ho(xT,p,ee,{discrete:!0}),W.addEventListener("click",V=>V.preventDefault(),{once:!0})}})})))),g.viewport))):null});a0.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${Uo}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const DT=e=>{const{__scopeToast:t,children:r,...n}=e,o=Wo(Uo,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return CT(()=>i(!0)),l.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:l.createElement(uT,{asChild:!0},l.createElement(e0,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},ST=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(wt.div,D({},n,{ref:t}))}),TT="ToastAction",i0=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(l0,{altText:r,asChild:!0},l.createElement(s0,D({},n,{ref:t}))):null});i0.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${TT}\``)}};const kT="ToastClose",s0=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=PT(kT,r);return l.createElement(l0,{asChild:!0},l.createElement(wt.button,D({type:"button"},n,{ref:t,onClick:U(e.onClick,o.onClose)})))}),l0=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(wt.div,D({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function c0(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),OT(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",a=n.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...c0(n))}}),t}function Ho(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?qb(o,a):o.dispatchEvent(a)}const d0=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return t==="left"||t==="right"?a&&n>r:!a&&o>r};function CT(e=()=>{}){const t=ge(e);Oe(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function OT(e){return e.nodeType===e.ELEMENT_NODE}function IT(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Hs(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const AT=n0,MT=gT,NT=wT,FT=ST,zT=i0,LT=s0,Gs=25,KT=C.keyframes`
|
|
1494
1495
|
0% {
|
|
1495
1496
|
opacity: 1
|
|
1496
1497
|
}
|
|
@@ -1498,24 +1499,24 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1498
1499
|
100% {
|
|
1499
1500
|
opacity: 0
|
|
1500
1501
|
}
|
|
1501
|
-
`,
|
|
1502
|
+
`,jT=C.keyframes`
|
|
1502
1503
|
from {
|
|
1503
|
-
transform: translateX(calc(100% + ${
|
|
1504
|
+
transform: translateX(calc(100% + ${Gs}px));
|
|
1504
1505
|
}
|
|
1505
1506
|
|
|
1506
1507
|
to {
|
|
1507
1508
|
transform: translateX(0);
|
|
1508
1509
|
}
|
|
1509
|
-
`,
|
|
1510
|
+
`,VT=C.keyframes`
|
|
1510
1511
|
from {
|
|
1511
1512
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1512
1513
|
}
|
|
1513
1514
|
to {
|
|
1514
|
-
transform: translateX(calc(100% + ${
|
|
1515
|
+
transform: translateX(calc(100% + ${Gs}px));
|
|
1515
1516
|
}
|
|
1516
|
-
`,
|
|
1517
|
+
`,BT=C(zT)`
|
|
1517
1518
|
all: unset;
|
|
1518
|
-
`,
|
|
1519
|
+
`,u0=C(LT)`
|
|
1519
1520
|
all: unset;
|
|
1520
1521
|
display: grid;
|
|
1521
1522
|
width: ${h.sizing_500};
|
|
@@ -1532,7 +1533,7 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1532
1533
|
& > svg {
|
|
1533
1534
|
font-size: 0.95rem;
|
|
1534
1535
|
}
|
|
1535
|
-
`,
|
|
1536
|
+
`,RT=C(FT)`
|
|
1536
1537
|
font-family: ${h.font_family_sans};
|
|
1537
1538
|
font-style: normal;
|
|
1538
1539
|
font-weight: 500;
|
|
@@ -1541,7 +1542,7 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1541
1542
|
letter-spacing: ${h.letter_spacing_tight};
|
|
1542
1543
|
display: flex;
|
|
1543
1544
|
align-items: center;
|
|
1544
|
-
`,
|
|
1545
|
+
`,f0=C(rT)`
|
|
1545
1546
|
background-color: var(--color-separator);
|
|
1546
1547
|
|
|
1547
1548
|
&[data-orientation='horizontal'] {
|
|
@@ -1555,20 +1556,20 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1555
1556
|
height: 100%;
|
|
1556
1557
|
width: 1;
|
|
1557
1558
|
}
|
|
1558
|
-
`,
|
|
1559
|
+
`,WT={info:h.color_background_white_standard,inverse:h.color_background_sentiment_neutral,negative:h.color_background_sentiment_negative},UT={info:h.color_text_standard,inverse:h.color_background_white_standard,negative:h.color_background_white_standard},HT={info:h.color_divider_weak,inverse:h.color_divider_inverse_weak,negative:h.color_divider_inverse_weak},GT=C(MT)`
|
|
1559
1560
|
position: fixed;
|
|
1560
1561
|
bottom: 0;
|
|
1561
1562
|
right: 0;
|
|
1562
1563
|
display: flex;
|
|
1563
1564
|
flex-direction: column;
|
|
1564
1565
|
gap: 10px;
|
|
1565
|
-
padding: ${
|
|
1566
|
+
padding: ${Gs}px;
|
|
1566
1567
|
max-width: 100vw;
|
|
1567
1568
|
margin: 0;
|
|
1568
1569
|
list-style: none;
|
|
1569
1570
|
z-index: 30; // TODO use named meaningful tokens for z-index
|
|
1570
1571
|
outline: none;
|
|
1571
|
-
`,
|
|
1572
|
+
`,YT=C(NT)`
|
|
1572
1573
|
display: flex;
|
|
1573
1574
|
flex-direction: row;
|
|
1574
1575
|
align-items: center;
|
|
@@ -1585,11 +1586,11 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1585
1586
|
}
|
|
1586
1587
|
|
|
1587
1588
|
&[data-state~='open'] {
|
|
1588
|
-
animation: ${
|
|
1589
|
+
animation: ${jT} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1589
1590
|
}
|
|
1590
1591
|
|
|
1591
1592
|
&[data-state~='closed'] {
|
|
1592
|
-
animation: ${
|
|
1593
|
+
animation: ${KT} 100ms ease-in;
|
|
1593
1594
|
}
|
|
1594
1595
|
|
|
1595
1596
|
&[data-swipe='move'] {
|
|
@@ -1602,41 +1603,41 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1602
1603
|
}
|
|
1603
1604
|
|
|
1604
1605
|
&[data-swipe='end'] {
|
|
1605
|
-
animation: ${
|
|
1606
|
+
animation: ${VT} 100ms ease-out;
|
|
1606
1607
|
}
|
|
1607
|
-
`;function
|
|
1608
|
+
`;function qT({children:e,...t}){return T(AT,{...t,children:e})}function ZT({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=WT[r],i=UT[r],s=HT[r];return re(YT,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?T(ke.Warning,{height:18}):null,T(RT,{children:e}),T(f0,{style:{"--color-separator":s}}),t,T(u0,{onClick:n,children:T(Wr,{label:"Dismiss notification",children:T(ke.Close,{width:18,height:18})})})]})}const XT=C.div`
|
|
1608
1609
|
display: grid;
|
|
1609
1610
|
grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
|
|
1610
1611
|
column-gap: ${h.sizing_600};
|
|
1611
|
-
`,
|
|
1612
|
+
`,p0=C.css`
|
|
1612
1613
|
width: clamp(
|
|
1613
1614
|
var(--page-min-width, 750px),
|
|
1614
|
-
var(--page-ideal-width,
|
|
1615
|
+
var(--page-ideal-width, 90%),
|
|
1615
1616
|
var(--page-max-width, 1600px)
|
|
1616
1617
|
);
|
|
1617
1618
|
max-width: 100%;
|
|
1618
|
-
`,
|
|
1619
|
-
${
|
|
1619
|
+
`,m0=C.div`
|
|
1620
|
+
${p0}
|
|
1620
1621
|
min-height: 100%;
|
|
1621
1622
|
margin: 0 auto;
|
|
1622
1623
|
padding: 0 ${h.sizing_100};
|
|
1623
|
-
`,
|
|
1624
|
+
`,JT=C.div`
|
|
1624
1625
|
padding-top: ${h.sizing_600};
|
|
1625
1626
|
padding-bottom: ${h.sizing_800};
|
|
1626
|
-
`,
|
|
1627
|
+
`,h0=C.header`
|
|
1627
1628
|
display: flex;
|
|
1628
1629
|
flex-direction: column;
|
|
1629
1630
|
gap: ${h.sizing_500};
|
|
1630
1631
|
padding-block: ${h.sizing_500};
|
|
1631
1632
|
margin: 0 auto;
|
|
1632
|
-
`,
|
|
1633
|
-
z-index:
|
|
1633
|
+
`,QT=C.header`
|
|
1634
|
+
z-index: 3;
|
|
1634
1635
|
position: sticky;
|
|
1635
1636
|
top: 0;
|
|
1636
1637
|
background-color: white;
|
|
1637
1638
|
box-shadow: ${h.elevation_interactive_low},
|
|
1638
1639
|
${h.elevation_interactive_medium};
|
|
1639
|
-
`,
|
|
1640
|
+
`,ek=({children:e,className:t})=>T(QT,{className:t,children:T(m0,{children:T(h0,{as:"div",children:e})})}),tk=C.div`
|
|
1640
1641
|
display: flex;
|
|
1641
1642
|
align-items: center;
|
|
1642
1643
|
gap: ${h.sizing_200};
|
|
@@ -1644,7 +1645,7 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1644
1645
|
& > :first-child {
|
|
1645
1646
|
margin-right: auto;
|
|
1646
1647
|
}
|
|
1647
|
-
`,
|
|
1648
|
+
`,b0=C(Er)`
|
|
1648
1649
|
display: grid;
|
|
1649
1650
|
place-content: center;
|
|
1650
1651
|
border-radius: ${h.border_radius_400};
|
|
@@ -1660,15 +1661,15 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1660
1661
|
line-height: 1;
|
|
1661
1662
|
font-size: ${h.font_size_200};
|
|
1662
1663
|
}
|
|
1663
|
-
`,
|
|
1664
|
+
`,Go=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?T(ke.NavigateBefore,{}):T(ke.NavigateNext,{});return T(b0,{variant:"inverse",emphasis:"high",ref:t,...o,children:T(Wr,{label:n,children:a})})});Go.displayName="PaginatorButton";const rk=C(b0)`
|
|
1664
1665
|
&[aria-current='true'] {
|
|
1665
1666
|
background-color: ${h.color_overlay_secondary_selected_enabled};
|
|
1666
1667
|
}
|
|
1667
|
-
`,
|
|
1668
|
+
`,Yo=l.forwardRef((e,t)=>{const{children:r,...n}=e;return T(rk,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});Yo.displayName="PaginatorNumber";const nk=C.nav`
|
|
1668
1669
|
display: flex;
|
|
1669
1670
|
gap: 4px;
|
|
1670
1671
|
width: min-content;
|
|
1671
|
-
`;function
|
|
1672
|
+
`;function ok({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:a,ariaLabel:i="Pagination Navigation"}){const s=Array.from({length:e},(m,b)=>b),c=6;let u=s;const d=c-1;if(e>5){const m=e-1;t>e-d?u=[0,-1,...s.slice(-d)]:t+1<d?u=[...s.slice(0,d),-1,m]:u=[0,-1,...u.slice(t-1,t),t,...u.slice(t+1,t+2),-1,m]}const f=t===0,p=t===e-1;return re(nk,{"aria-label":i,className:a,children:[T(Go,{direction:"left",label:"Previous",disabled:f,onClick:f?void 0:r}),u.map((m,b)=>m>-1?T(Yo,{"aria-current":m===t,"aria-label":`Page ${m+1}`,onClick:()=>n(m),children:m+1},m):T(Yo,{as:"span",children:"..."},`${m}-${b}`)),T(Go,{direction:"right",label:"Next",title:"next",disabled:p,onClick:p?void 0:o})]})}const Ys=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),g0="Radio",[ak,v0]=Ce(g0),[ik,sk]=ak(g0),lk=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:a,disabled:i,value:s="on",onCheck:c,...u}=e,[d,f]=l.useState(null),p=le(t,g=>f(g)),m=l.useRef(!1),b=d?Boolean(d.closest("form")):!0;return l.createElement(ik,{scope:r,checked:o,disabled:i},l.createElement(Ys.button,D({type:"button",role:"radio","aria-checked":o,"data-state":y0(o),"data-disabled":i?"":void 0,disabled:i,value:s},u,{ref:p,onClick:U(e.onClick,g=>{o||c==null||c(),b&&(m.current=g.isPropagationStopped(),m.current||g.stopPropagation())})})),b&&l.createElement(uk,{control:d,bubbles:!m.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),ck="RadioIndicator",dk=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=sk(ck,r);return l.createElement(Ae,{present:n||a.checked},l.createElement(Ys.span,D({"data-state":y0(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),uk=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=qi(r),s=fr(t);return l.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});f.call(c,r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",D({type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function y0(e){return e?"checked":"unchecked"}const fk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],$0="RadioGroup",[pk,LO]=Ce($0,[Pr,v0]),x0=Pr(),_0=v0(),[mk,hk]=pk($0),bk=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:a,required:i=!1,disabled:s=!1,orientation:c,dir:u,loop:d=!0,onValueChange:f,...p}=e,m=x0(r),b=ko(u),[g,v]=et({prop:a,defaultProp:o,onChange:f});return l.createElement(mk,{scope:r,name:n,required:i,disabled:s,value:g,onValueChange:v},l.createElement(hs,D({asChild:!0},m,{orientation:c,dir:b,loop:d}),l.createElement(Ys.div,D({role:"radiogroup","aria-required":i,"aria-orientation":c,"data-disabled":s?"":void 0,dir:b},p,{ref:t}))))}),gk="RadioGroupItem",vk=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=hk(gk,r),i=a.disabled||n,s=x0(r),c=_0(r),u=l.useRef(null),d=le(t,u),f=a.value===o.value,p=l.useRef(!1);return l.useEffect(()=>{const m=g=>{fk.includes(g.key)&&(p.current=!0)},b=()=>p.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),l.createElement(bs,D({asChild:!0},s,{focusable:!i,active:f}),l.createElement(lk,D({disabled:i,required:a.required,checked:f},c,o,{name:a.name,ref:d,onCheck:()=>a.onValueChange(o.value),onKeyDown:U(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:U(o.onFocus,()=>{var m;p.current&&((m=u.current)===null||m===void 0||m.click())})})))}),yk=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=_0(r);return l.createElement(dk,D({},o,n,{ref:t}))}),$k=bk,xk=vk,_k=yk,w0=C(xk)`
|
|
1672
1673
|
all: unset;
|
|
1673
1674
|
--radio-width: ${h.sizing_600};
|
|
1674
1675
|
--inner-circle-color: ${h.color_white};
|
|
@@ -1727,7 +1728,7 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1727
1728
|
cursor: not-allowed;
|
|
1728
1729
|
color: ${h.color_fill_primary_disabled};
|
|
1729
1730
|
}
|
|
1730
|
-
`,
|
|
1731
|
+
`,E0=C(_k)`
|
|
1731
1732
|
display: grid;
|
|
1732
1733
|
place-items: center;
|
|
1733
1734
|
width: 100%;
|
|
@@ -1758,135 +1759,34 @@ Defaulting to \`${Js}\`.`}function c0(e){return UT.includes(e)}const GT=l0,Pt=["
|
|
|
1758
1759
|
border-radius: ${h.border_radius_circle};
|
|
1759
1760
|
background-color: var(--inner-circle-color);
|
|
1760
1761
|
}
|
|
1761
|
-
`;function m9({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=ft(),i=t??a,s=Yo();return k(u9,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function h9({disabled:e,...t}){const r=ft(),n=e??r,o=Yo();return k(L0,{...t,...o,disabled:n,children:k(K0,{})})}function V0(e,[t,r]){return Math.min(r,Math.max(t,e))}const ze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?De:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,S({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function b9(e,t){e&&Ae.flushSync(()=>e.dispatchEvent(t))}const il="dismissableLayer.update",g9="dismissableLayer.pointerDownOutside",v9="dismissableLayer.focusOutside";let j0;const $9=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y9=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,d=l.useContext($9),[f,p]=l.useState(null),m=(r=f==null?void 0:f.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,b]=l.useState({}),g=le(t,_=>p(_)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(y),w=f?v.indexOf(f):-1,$=d.layersWithOutsidePointerEventsDisabled.size>0,A=w>=x,N=x9(_=>{const O=_.target,L=[...d.branches].some(T=>T.contains(O));!A||L||(a==null||a(_),s==null||s(_),_.defaultPrevented||c==null||c())},m),P=w9(_=>{const O=_.target;[...d.branches].some(T=>T.contains(O))||(i==null||i(_),s==null||s(_),_.defaultPrevented||c==null||c())},m);return fr(_=>{w===d.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(j0=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),B0(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=j0)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),B0())},[f,d]),l.useEffect(()=>{const _=()=>b({});return document.addEventListener(il,_),()=>document.removeEventListener(il,_)},[]),l.createElement(ze.div,S({},u,{ref:g,style:{pointerEvents:$?A?"auto":"none":void 0,...e.style},onFocusCapture:R(e.onFocusCapture,P.onFocusCapture),onBlurCapture:R(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:R(e.onPointerDownCapture,N.onPointerDownCapture)}))});function x9(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){R0(g9,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function w9(e,t=globalThis==null?void 0:globalThis.document){const r=ge(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&R0(v9,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function B0(){const e=new CustomEvent(il);document.dispatchEvent(e)}function R0(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?b9(o,a):o.dispatchEvent(a)}const W0="Popper",[sl,U0]=Me(W0),[_9,H0]=sl(W0),E9=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(_9,{scope:t,anchor:n,onAnchorChange:o},r)},P9="PopperAnchor",S9=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=H0(P9,r),i=l.useRef(null),s=le(t,i);return l.useEffect(()=>{a.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:l.createElement(ze.div,S({},o,{ref:s}))}),ba="PopperContent",[D9,lM]=sl(ba),[T9,k9]=sl(ba,{hasParent:!1,positionUpdateFns:new Set}),C9=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:m="center",alignOffset:b=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:w=!1,avoidCollisions:$=!0,onPlaced:A,...N}=e,P=H0(ba,d),[_,O]=l.useState(null),L=le(t,he=>O(he)),[T,K]=l.useState(null),D=Yt(T),I=(r=D==null?void 0:D.width)!==null&&r!==void 0?r:0,q=(n=D==null?void 0:D.height)!==null&&n!==void 0?n:0,ie=f+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},re=Array.isArray(v)?v:[v],j=re.length>0,F={padding:W,boundary:re.filter(I9),altBoundary:j},{reference:M,floating:H,strategy:X,x:Z,y:oe,placement:ne,middlewareData:B,update:Y}=co({strategy:"fixed",placement:ie,whileElementsMounted:lo,middleware:[A9(),eo({mainAxis:p+q,alignmentAxis:b}),$?to({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ro():void 0,...F}):void 0,T?uo({element:T,padding:g}):void 0,$?Jn({...F}):void 0,no({...F,apply:({elements:he,availableWidth:Fe,availableHeight:Dt})=>{he.floating.style.setProperty("--radix-popper-available-width",`${Fe}px`),he.floating.style.setProperty("--radix-popper-available-height",`${Dt}px`)}}),M9({arrowWidth:I,arrowHeight:q}),w?Qn({strategy:"referenceHidden"}):void 0].filter(O9)});ye(()=>{M(P.anchor)},[M,P.anchor]);const G=Z!==null&&oe!==null,[J,se]=G0(ne),te=ge(A);ye(()=>{G&&(te==null||te())},[G,te]);const $e=(o=B.arrow)===null||o===void 0?void 0:o.x,Se=(a=B.arrow)===null||a===void 0?void 0:a.y,Le=((i=B.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Ke]=l.useState();ye(()=>{_&&Ke(window.getComputedStyle(_).zIndex)},[_]);const{hasParent:Ve,positionUpdateFns:fe}=k9(ba,d),xe=!Ve;l.useLayoutEffect(()=>{if(!xe)return fe.add(Y),()=>{fe.delete(Y)}},[xe,fe,Y]),ye(()=>{xe&&G&&Array.from(fe).reverse().forEach(he=>requestAnimationFrame(he))},[xe,G,fe]);const Ue={"data-side":J,"data-align":se,...N,ref:L,style:{...N.style,animation:G?void 0:"none",opacity:(s=B.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:H,"data-radix-popper-content-wrapper":"",style:{position:X,left:0,top:0,transform:G?`translate3d(${Math.round(Z)}px, ${Math.round(oe)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ne,["--radix-popper-transform-origin"]:[(c=B.transformOrigin)===null||c===void 0?void 0:c.x,(u=B.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},l.createElement(D9,{scope:d,placedSide:J,onArrowChange:K,arrowX:$e,arrowY:Se,shouldHideArrow:Le},xe?l.createElement(T9,{scope:d,hasParent:!0,positionUpdateFns:fe},l.createElement(ze.div,Ue)):l.createElement(ze.div,Ue)))});function O9(e){return e!==void 0}function I9(e){return e!==null}const A9=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:r}=e,{width:n,height:o}=t.reference;return r.floating.style.setProperty("--radix-popper-anchor-width",`${n}px`),r.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),M9=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:u}=t,f=((r=u.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,p=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[b,g]=G0(s),v={start:"0%",center:"50%",end:"100%"}[g],y=((n=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+p/2,x=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",$="";return b==="bottom"?(w=f?v:`${y}px`,$=`${-m}px`):b==="top"?(w=f?v:`${y}px`,$=`${c.floating.height+m}px`):b==="right"?(w=`${-m}px`,$=f?v:`${x}px`):b==="left"&&(w=`${c.floating.width+m}px`,$=f?v:`${x}px`),{data:{x:w,y:$}}}});function G0(e){const[t,r="center"]=e.split("-");return[t,r]}const N9=E9,F9=S9,z9=C9,L9=l.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Ae.createPortal(l.createElement(ze.div,S({},o,{ref:t})),n):null}),K9=l.forwardRef((e,t)=>l.createElement(ze.span,S({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),V9=[" ","Enter","ArrowUp","ArrowDown"],j9=[" ","Enter"],ga="Select",[va,$a,B9]=Zo(ga),[Fr,cM]=Me(ga,[B9,U0]),ll=U0(),[R9,sr]=Fr(ga),[W9,U9]=Fr(ga),H9=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:u,name:d,autoComplete:f,disabled:p,required:m}=e,b=ll(t),[g,v]=l.useState(null),[y,x]=l.useState(null),[w,$]=l.useState(!1),A=bn(u),[N=!1,P]=Ze({prop:n,defaultProp:o,onChange:a}),[_,O]=Ze({prop:i,defaultProp:s,onChange:c}),L=l.useRef(null),T=g?Boolean(g.closest("form")):!0,[K,D]=l.useState(new Set),I=Array.from(K).map(q=>q.props.value).join(";");return l.createElement(N9,b,l.createElement(R9,{required:m,scope:t,trigger:g,onTriggerChange:v,valueNode:y,onValueNodeChange:x,valueNodeHasChildren:w,onValueNodeHasChildrenChange:$,contentId:Ge(),value:_,onValueChange:O,open:N,onOpenChange:P,dir:A,triggerPointerDownPosRef:L,disabled:p},l.createElement(va.Provider,{scope:t},l.createElement(W9,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(q=>{D(ie=>new Set(ie).add(q))},[]),onNativeOptionRemove:l.useCallback(q=>{D(ie=>{const W=new Set(ie);return W.delete(q),W})},[])},r)),T?l.createElement(tg,{key:I,"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:f,value:_,onChange:q=>O(q.target.value),disabled:p},_===void 0?l.createElement("option",{value:""}):null,Array.from(K)):null))},G9="SelectTrigger",Y9=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=ll(r),i=sr(G9,r),s=i.disabled||n,c=le(t,i.onTriggerChange),u=$a(r),[d,f,p]=rg(b=>{const g=u().filter(x=>!x.disabled),v=g.find(x=>x.value===i.value),y=ng(g,b,v);y!==void 0&&i.onValueChange(y.value)}),m=()=>{s||(i.onOpenChange(!0),p())};return l.createElement(F9,S({asChild:!0},a),l.createElement(ze.button,S({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:c,onClick:R(o.onClick,b=>{b.currentTarget.focus()}),onPointerDown:R(o.onPointerDown,b=>{const g=b.target;g.hasPointerCapture(b.pointerId)&&g.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(m(),i.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:R(o.onKeyDown,b=>{const g=d.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&f(b.key),!(g&&b.key===" ")&&V9.includes(b.key)&&(m(),b.preventDefault())})})))}),q9="SelectValue",Z9=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=sr(q9,r),{onValueNodeHasChildrenChange:u}=c,d=a!==void 0,f=le(t,c.onValueNodeChange);return ye(()=>{u(d)},[u,d]),l.createElement(ze.span,S({},s,{ref:f,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),X9=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(ze.span,S({"aria-hidden":!0},o,{ref:t}),n||"▼")}),J9=e=>l.createElement(L9,S({asChild:!0},e)),zr="SelectContent",Q9=l.forwardRef((e,t)=>{const r=sr(zr,e.__scopeSelect),[n,o]=l.useState();if(ye(()=>{o(new DocumentFragment)},[]),!r.open){const a=n;return a?Ae.createPortal(l.createElement(Y0,{scope:e.__scopeSelect},l.createElement(va.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),a):null}return l.createElement(e8,S({},e,{ref:t}))}),St=10,[Y0,lr]=Fr(zr),e8=l.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:i,side:s,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v,...y}=e,x=sr(zr,r),[w,$]=l.useState(null),[A,N]=l.useState(null),P=le(t,B=>$(B)),[_,O]=l.useState(null),[L,T]=l.useState(null),K=$a(r),[D,I]=l.useState(!1),q=l.useRef(!1);l.useEffect(()=>{if(w)return Gn(w)},[w]),Ln();const ie=l.useCallback(B=>{const[Y,...G]=K().map(te=>te.ref.current),[J]=G.slice(-1),se=document.activeElement;for(const te of B)if(te===se||(te==null||te.scrollIntoView({block:"nearest"}),te===Y&&A&&(A.scrollTop=0),te===J&&A&&(A.scrollTop=A.scrollHeight),te==null||te.focus(),document.activeElement!==se))return},[K,A]),W=l.useCallback(()=>ie([_,w]),[ie,_,w]);l.useEffect(()=>{D&&W()},[D,W]);const{onOpenChange:re,triggerPointerDownPosRef:j}=x;l.useEffect(()=>{if(w){let B={x:0,y:0};const Y=J=>{var se,te,$e,Se;B={x:Math.abs(Math.round(J.pageX)-((se=(te=j.current)===null||te===void 0?void 0:te.x)!==null&&se!==void 0?se:0)),y:Math.abs(Math.round(J.pageY)-(($e=(Se=j.current)===null||Se===void 0?void 0:Se.y)!==null&&$e!==void 0?$e:0))}},G=J=>{B.x<=10&&B.y<=10?J.preventDefault():w.contains(J.target)||re(!1),document.removeEventListener("pointermove",Y),j.current=null};return j.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",G,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",G,{capture:!0})}}},[w,re,j]),l.useEffect(()=>{const B=()=>re(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[re]);const[F,M]=rg(B=>{const Y=K().filter(se=>!se.disabled),G=Y.find(se=>se.ref.current===document.activeElement),J=ng(Y,B,G);J&&setTimeout(()=>J.ref.current.focus())}),H=l.useCallback((B,Y,G)=>{const J=!q.current&&!G;(x.value!==void 0&&x.value===Y||J)&&(O(B),J&&(q.current=!0))},[x.value]),X=l.useCallback(()=>w==null?void 0:w.focus(),[w]),Z=l.useCallback((B,Y,G)=>{const J=!q.current&&!G;(x.value!==void 0&&x.value===Y||J)&&T(B)},[x.value]),oe=n==="popper"?q0:t8,ne=oe===q0?{side:s,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:v}:{};return l.createElement(Y0,{scope:r,content:w,viewport:A,onViewportChange:N,itemRefCallback:H,selectedItem:_,onItemLeave:X,itemTextRefCallback:Z,focusSelectedItem:W,selectedItemText:L,position:n,isPositioned:D,searchRef:F},l.createElement(Wn,{as:De,allowPinchZoom:!0},l.createElement(Fn,{asChild:!0,trapped:x.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:R(o,B=>{var Y;(Y=x.trigger)===null||Y===void 0||Y.focus({preventScroll:!0}),B.preventDefault()})},l.createElement(y9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>x.onOpenChange(!1)},l.createElement(oe,S({role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:B=>B.preventDefault()},y,ne,{onPlaced:()=>I(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:R(y.onKeyDown,B=>{const Y=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Y&&B.key.length===1&&M(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let J=K().filter(se=>!se.disabled).map(se=>se.ref.current);if(["ArrowUp","End"].includes(B.key)&&(J=J.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const se=B.target,te=J.indexOf(se);J=J.slice(te+1)}setTimeout(()=>ie(J)),B.preventDefault()}})}))))))}),t8=l.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,a=sr(zr,r),i=lr(zr,r),[s,c]=l.useState(null),[u,d]=l.useState(null),f=le(t,P=>d(P)),p=$a(r),m=l.useRef(!1),b=l.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:y,focusSelectedItem:x}=i,w=l.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&u&&g&&v&&y){const P=a.trigger.getBoundingClientRect(),_=u.getBoundingClientRect(),O=a.valueNode.getBoundingClientRect(),L=y.getBoundingClientRect();if(a.dir!=="rtl"){const se=L.left-_.left,te=O.left-se,$e=P.left-te,Se=P.width+$e,Le=Math.max(Se,_.width),Ne=window.innerWidth-St,Ke=V0(te,[St,Ne-Le]);s.style.minWidth=Se+"px",s.style.left=Ke+"px"}else{const se=_.right-L.right,te=window.innerWidth-O.right-se,$e=window.innerWidth-P.right-te,Se=P.width+$e,Le=Math.max(Se,_.width),Ne=window.innerWidth-St,Ke=V0(te,[St,Ne-Le]);s.style.minWidth=Se+"px",s.style.right=Ke+"px"}const T=p(),K=window.innerHeight-St*2,D=g.scrollHeight,I=window.getComputedStyle(u),q=parseInt(I.borderTopWidth,10),ie=parseInt(I.paddingTop,10),W=parseInt(I.borderBottomWidth,10),re=parseInt(I.paddingBottom,10),j=q+ie+D+re+W,F=Math.min(v.offsetHeight*5,j),M=window.getComputedStyle(g),H=parseInt(M.paddingTop,10),X=parseInt(M.paddingBottom,10),Z=P.top+P.height/2-St,oe=K-Z,ne=v.offsetHeight/2,B=v.offsetTop+ne,Y=q+ie+B,G=j-Y;if(Y<=Z){const se=v===T[T.length-1].ref.current;s.style.bottom="0px";const te=u.clientHeight-g.offsetTop-g.offsetHeight,$e=Math.max(oe,ne+(se?X:0)+te+W),Se=Y+$e;s.style.height=Se+"px"}else{const se=v===T[0].ref.current;s.style.top="0px";const $e=Math.max(Z,q+g.offsetTop+(se?H:0)+ne)+G;s.style.height=$e+"px",g.scrollTop=Y-Z+g.offsetTop}s.style.margin=`${St}px 0`,s.style.minHeight=F+"px",s.style.maxHeight=K+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[p,a.trigger,a.valueNode,s,u,g,v,y,a.dir,n]);ye(()=>w(),[w]);const[$,A]=l.useState();ye(()=>{u&&A(window.getComputedStyle(u).zIndex)},[u]);const N=l.useCallback(P=>{P&&b.current===!0&&(w(),x==null||x(),b.current=!1)},[w,x]);return l.createElement(r8,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:N},l.createElement("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:$}},l.createElement(ze.div,S({},o,{ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))}),q0=l.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=St,...a}=e,i=ll(r);return l.createElement(z9,S({},i,a,{ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[r8,cl]=Fr(zr,{}),Z0="SelectViewport",n8=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=lr(Z0,r),a=cl(Z0,r),i=le(t,o.onViewportChange),s=l.useRef(0);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(va.Slot,{scope:r},l.createElement(ze.div,S({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:R(n.onScroll,c=>{const u=c.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=a;if(f!=null&&f.current&&d){const p=Math.abs(s.current-u.scrollTop);if(p>0){const m=window.innerHeight-St*2,b=parseFloat(d.style.minHeight),g=parseFloat(d.style.height),v=Math.max(b,g);if(v<m){const y=v+p,x=Math.min(m,y),w=y-x;d.style.height=x+"px",d.style.bottom==="0px"&&(u.scrollTop=w>0?w:0,d.style.justifyContent="flex-end")}}}s.current=u.scrollTop})}))))}),o8="SelectGroup",[a8,i8]=Fr(o8),s8=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ge();return l.createElement(a8,{scope:r,id:o},l.createElement(ze.div,S({role:"group","aria-labelledby":o},n,{ref:t})))}),l8="SelectLabel",c8=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=i8(l8,r);return l.createElement(ze.div,S({id:o.id},n,{ref:t}))}),dl="SelectItem",[d8,X0]=Fr(dl),u8=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=sr(dl,r),c=lr(dl,r),u=s.value===n,[d,f]=l.useState(a??""),[p,m]=l.useState(!1),b=le(t,y=>{var x;return(x=c.itemRefCallback)===null||x===void 0?void 0:x.call(c,y,n,o)}),g=Ge(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(d8,{scope:r,value:n,disabled:o,textId:g,isSelected:u,onItemTextChange:l.useCallback(y=>{f(x=>{var w;return x||((w=y==null?void 0:y.textContent)!==null&&w!==void 0?w:"").trim()})},[])},l.createElement(va.ItemSlot,{scope:r,value:n,disabled:o,textValue:d},l.createElement(ze.div,S({role:"option","aria-labelledby":g,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:b,onFocus:R(i.onFocus,()=>m(!0)),onBlur:R(i.onBlur,()=>m(!1)),onPointerUp:R(i.onPointerUp,v),onPointerMove:R(i.onPointerMove,y=>{if(o){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:R(i.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var x;(x=c.onItemLeave)===null||x===void 0||x.call(c)}}),onKeyDown:R(i.onKeyDown,y=>{var x;((x=c.searchRef)===null||x===void 0?void 0:x.current)!==""&&y.key===" "||(j9.includes(y.key)&&v(),y.key===" "&&y.preventDefault())})}))))}),ya="SelectItemText",f8=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=sr(ya,r),s=lr(ya,r),c=X0(ya,r),u=U9(ya,r),[d,f]=l.useState(null),p=le(t,y=>f(y),c.onItemTextChange,y=>{var x;return(x=s.itemTextRefCallback)===null||x===void 0?void 0:x.call(s,y,c.value,c.disabled)}),m=d==null?void 0:d.textContent,b=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},m),[c.disabled,c.value,m]),{onNativeOptionAdd:g,onNativeOptionRemove:v}=u;return ye(()=>(g(b),()=>v(b)),[g,v,b]),l.createElement(l.Fragment,null,l.createElement(ze.span,S({id:c.textId},a,{ref:p})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Ae.createPortal(a.children,i.valueNode):null)}),p8="SelectItemIndicator",m8=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return X0(p8,r).isSelected?l.createElement(ze.span,S({"aria-hidden":!0},n,{ref:t})):null}),J0="SelectScrollUpButton",h8=l.forwardRef((e,t)=>{const r=lr(J0,e.__scopeSelect),n=cl(J0,e.__scopeSelect),[o,a]=l.useState(!1),i=le(t,n.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=s.scrollTop>0;a(u)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(eg,S({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}})):null}),Q0="SelectScrollDownButton",b8=l.forwardRef((e,t)=>{const r=lr(Q0,e.__scopeSelect),n=cl(Q0,e.__scopeSelect),[o,a]=l.useState(!1),i=le(t,n.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let c=function(){const u=s.scrollHeight-s.clientHeight,d=Math.ceil(s.scrollTop)<u;a(d)};const s=r.viewport;return c(),s.addEventListener("scroll",c),()=>s.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),o?l.createElement(eg,S({},e,{ref:i,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}})):null}),eg=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=lr("SelectScrollButton",r),i=l.useRef(null),s=$a(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),ye(()=>{var u;const d=s().find(f=>f.ref.current===document.activeElement);d==null||(u=d.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),l.createElement(ze.div,S({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:R(o.onPointerMove,()=>{var u;(u=a.onItemLeave)===null||u===void 0||u.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:R(o.onPointerLeave,()=>{c()})}))}),g8=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(ze.div,S({"aria-hidden":!0},n,{ref:t}))}),tg=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=le(t,o),i=jo(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&d){const f=new Event("change",{bubbles:!0});d.call(s,r),s.dispatchEvent(f)}},[i,r]),l.createElement(K9,{asChild:!0},l.createElement("select",S({},n,{ref:a,defaultValue:r})))});tg.displayName="BubbleSelect";function rg(e){const t=ge(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),a=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function ng(e,t,r){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=v8(e,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==r));const c=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function v8(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const $8=H9,y8=Z9,x8=J9,w8=Q9,_8=n8,E8=s8,P8=c8,S8=u8,D8=f8,T8=m8,k8=h8,C8=b8,O8=g8,og=C(Y9)`
|
|
1762
|
-
all: unset;
|
|
1763
|
-
display: flex;
|
|
1764
|
-
align-items: center;
|
|
1765
|
-
padding: 6px 8px;
|
|
1766
|
-
font-size: ${h.font_size_100};
|
|
1767
|
-
font-family: ${h.font_family_sans};
|
|
1768
|
-
line-height: ${h.line_height_129};
|
|
1769
|
-
gap: ${h.sizing_200};
|
|
1770
|
-
color: ${h.color_text_white_weak};
|
|
1771
|
-
|
|
1772
|
-
background-color: ${h.color_overlay_secondary_enabled};
|
|
1773
|
-
border: 1px solid ${h.color_outline_secondary_enabled};
|
|
1774
|
-
border-radius: ${h.border_radius_400};
|
|
1775
|
-
|
|
1776
|
-
&[data-placeholder] {
|
|
1777
|
-
color: ${h.color_text_white_weak};
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
|
-
&:hover {
|
|
1781
|
-
background-color: ${h.color_overlay_secondary_hover};
|
|
1782
|
-
}
|
|
1783
|
-
|
|
1784
|
-
&:focus-visible {
|
|
1785
|
-
color: ${h.color_black};
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
|
-
&:disabled {
|
|
1789
|
-
background-color: ${h.color_overlay_secondary_hover};
|
|
1790
|
-
color: ${h.color_fill_primary_disabled};
|
|
1791
|
-
cursor: not-allowed;
|
|
1792
|
-
}
|
|
1793
|
-
`,I8=C(X9)`
|
|
1794
|
-
color: ${h.color_fill_secondary_enabled};
|
|
1795
|
-
`,A8=C(w8)`
|
|
1796
|
-
font-family: ${h.font_family_sans};
|
|
1797
|
-
overflow: hidden;
|
|
1798
|
-
background-color: ${h.color_white};
|
|
1799
|
-
margin-top: 52px;
|
|
1800
|
-
border-radius: ${h.border_radius_400};
|
|
1801
|
-
box-shadow: ${h.elevation_static_high};
|
|
1802
|
-
`,M8=C(_8)`
|
|
1803
|
-
padding: ${h.sizing_100};
|
|
1804
|
-
min-width: 172px;
|
|
1805
|
-
`;function ag({children:e,...t}){return k(x8,{children:k(A8,{...t,children:e})})}const N8=C(S8)`
|
|
1806
|
-
all: unset;
|
|
1807
|
-
font-size: ${h.font_size_100};
|
|
1808
|
-
line-height: ${h.line_height_129};
|
|
1809
|
-
letter-spacing: ${h.letter_spacing_tight};
|
|
1810
|
-
color: ${h.color_fill_primary_pressed};
|
|
1811
|
-
font-weight: 500;
|
|
1812
|
-
border-radius: ${h.border_radius_400};
|
|
1813
|
-
display: flex;
|
|
1814
|
-
align-items: center;
|
|
1815
|
-
justify-content: space-between; /* make this configurable? */
|
|
1816
|
-
/* height: 25px; */
|
|
1817
|
-
padding: 7px ${h.sizing_200};
|
|
1818
|
-
position: relative;
|
|
1819
|
-
user-select: none;
|
|
1820
|
-
|
|
1821
|
-
&[data-disabled] {
|
|
1822
|
-
color: ${h.color_text_white_standard}; /* Static / Text / Inverse / Standard */
|
|
1823
|
-
pointer-events: none;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
&[data-highlighted] {
|
|
1827
|
-
background-color: ${h.color_background_white_weak}; /* Static / Background / Weak */
|
|
1828
|
-
}
|
|
1829
|
-
`,F8=C(P8)`
|
|
1830
|
-
padding: 7px ${h.sizing_200};
|
|
1831
|
-
font-size: ${h.font_size_50};
|
|
1832
|
-
line-height: ${h.line_height_133};
|
|
1833
|
-
color: ${h.color_text_weak};
|
|
1834
|
-
font-style: normal;
|
|
1835
|
-
`,z8=C(O8)`
|
|
1836
|
-
height: 1px;
|
|
1837
|
-
background-color: ${h.color_divider_standard};
|
|
1838
|
-
margin: ${h.spacing_100};
|
|
1839
|
-
`,L8=C(T8)`
|
|
1840
|
-
left: 0;
|
|
1841
|
-
width: 25px;
|
|
1842
|
-
display: inline-flex;
|
|
1843
|
-
align-items: center;
|
|
1844
|
-
justify-content: center;
|
|
1845
|
-
|
|
1846
|
-
& > svg {
|
|
1847
|
-
line-height: 1;
|
|
1848
|
-
font-size: ${h.font_size_200};
|
|
1849
|
-
}
|
|
1850
|
-
`,ig=`
|
|
1851
|
-
display: flex;
|
|
1852
|
-
align-items: center;
|
|
1853
|
-
justify-content: center;
|
|
1854
|
-
height: 25px;
|
|
1855
|
-
background-color: ${h.color_white};
|
|
1856
|
-
color: ${h.color_black};
|
|
1857
|
-
cursor: default;
|
|
1858
|
-
`,K8=C(k8)`
|
|
1859
|
-
${ig}
|
|
1860
|
-
`,V8=C(C8)`
|
|
1861
|
-
${ig}
|
|
1862
|
-
`,sg=$8,lg=og,cg=y8,dg=I8,j8=M8,B8=E8,ug=N8,fg=D8,R8=L8,W8=F8,U8=z8,pg=K8,mg=V8;function H8({items:e,...t}){return ae(sg,{...t,children:[ae(lg,{"aria-label":"Food",children:[k(cg,{placeholder:"Select"}),k(dg,{children:k(Oe.ArrowDropDown,{})})]}),ae(ag,{children:[k(pg,{children:k(Oe.ArrowDropUp,{})}),e.map(r=>k(ug,{value:r,children:k(fg,{children:r})},r)),k(mg,{children:k(Oe.ArrowDropDown,{})})]})]})}function G8(e){let[t,r]=Zt(hg(e.value),hg(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function hg(e){if(e!=null)return e.toString()}function Y8(e){return e&&e.__esModule?e.default:e}var bg={},gg={};gg={"Clear search":"مسح البحث"};var vg={};vg={"Clear search":"Изчистване на търсене"};var $g={};$g={"Clear search":"Vymazat hledání"};var yg={};yg={"Clear search":"Ryd søgning"};var xg={};xg={"Clear search":"Suche zurücksetzen"};var wg={};wg={"Clear search":"Απαλοιφή αναζήτησης"};var _g={};_g={"Clear search":"Clear search"};var Eg={};Eg={"Clear search":"Borrar búsqueda"};var Pg={};Pg={"Clear search":"Tühjenda otsing"};var Sg={};Sg={"Clear search":"Tyhjennä haku"};var Dg={};Dg={"Clear search":"Effacer la recherche"};var Tg={};Tg={"Clear search":"נקה חיפוש"};var kg={};kg={"Clear search":"Obriši pretragu"};var Cg={};Cg={"Clear search":"Keresés törlése"};var Og={};Og={"Clear search":"Cancella ricerca"};var Ig={};Ig={"Clear search":"検索をクリア"};var Ag={};Ag={"Clear search":"검색 지우기"};var Mg={};Mg={"Clear search":"Išvalyti iešką"};var Ng={};Ng={"Clear search":"Notīrīt meklēšanu"};var Fg={};Fg={"Clear search":"Tøm søk"};var zg={};zg={"Clear search":"Zoekactie wissen"};var Lg={};Lg={"Clear search":"Wyczyść zawartość wyszukiwania"};var Kg={};Kg={"Clear search":"Limpar pesquisa"};var Vg={};Vg={"Clear search":"Limpar pesquisa"};var jg={};jg={"Clear search":"Ştergeţi căutarea"};var Bg={};Bg={"Clear search":"Очистить поиск"};var Rg={};Rg={"Clear search":"Vymazať vyhľadávanie"};var Wg={};Wg={"Clear search":"Počisti iskanje"};var Ug={};Ug={"Clear search":"Obriši pretragu"};var Hg={};Hg={"Clear search":"Rensa sökning"};var Gg={};Gg={"Clear search":"Aramayı temizle"};var Yg={};Yg={"Clear search":"Очистити пошук"};var qg={};qg={"Clear search":"清除搜索"};var Zg={};Zg={"Clear search":"清除搜尋條件"},bg={"ar-AE":gg,"bg-BG":vg,"cs-CZ":$g,"da-DK":yg,"de-DE":xg,"el-GR":wg,"en-US":_g,"es-ES":Eg,"et-EE":Pg,"fi-FI":Sg,"fr-FR":Dg,"he-IL":Tg,"hr-HR":kg,"hu-HU":Cg,"it-IT":Og,"ja-JP":Ig,"ko-KR":Ag,"lt-LT":Mg,"lv-LV":Ng,"nb-NO":Fg,"nl-NL":zg,"pl-PL":Lg,"pt-BR":Kg,"pt-PT":Vg,"ro-RO":jg,"ru-RU":Bg,"sk-SK":Rg,"sl-SI":Wg,"sr-SP":Ug,"sv-SE":Hg,"tr-TR":Gg,"uk-UA":Yg,"zh-CN":qg,"zh-TW":Zg};function q8(e,t,r){let n=Nt(Y8(bg)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:s,type:c="search"}=e,u=v=>{const y=v.key;(y==="Enter"||y==="Escape")&&v.preventDefault(),!(o||a)&&(y==="Enter"&&i(t.value),y==="Escape"&&(t.setValue(""),s&&s()))},d=()=>{t.setValue(""),s&&s()},f=()=>{r.current.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g}=Bo({...e,value:t.value,onChange:t.setValue,onKeyDown:Jt(u,e.onKeyDown),type:c},r);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:d,onPressStart:f},descriptionProps:b,errorMessageProps:g}}var ul={},xa={},Z8={get exports(){return xa},set exports(e){xa=e}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Z8);var wa={},X8={get exports(){return wa},set exports(e){wa=e}},fl={},J8={get exports(){return fl},set exports(e){fl=e}};(function(e){function t(r){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(J8),function(e){var t=fl.default;function r(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(r=function(c){return c?i:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=r(a);if(i&&i.has(o))return i.get(o);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in o)if(u!=="default"&&Object.prototype.hasOwnProperty.call(o,u)){var d=c?Object.getOwnPropertyDescriptor(o,u):null;d&&(d.get||d.set)?Object.defineProperty(s,u,d):s[u]=o[u]}return s.default=o,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(X8);var pl={};function Xg(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function Lt(e){return Lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(e)}function ml(e){return e&&Lt(e)==="object"&&e.constructor===Object}function Lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?S({},e):e;return ml(e)&&ml(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(ml(t[o])&&o in e?n[o]=Lr(e[o],t[o],r):n[o]=t[o])}),n}var ve={},Jg={get exports(){return ve},set exports(e){ve=e}};/*
|
|
1762
|
+
`;function wk({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=dt(),i=t??a,s=So();return T($k,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function Ek({disabled:e,...t}){const r=dt(),n=e??r,o=So();return T(w0,{...t,...o,disabled:n,children:T(E0,{})})}function Pk(e){let[t,r]=Ht(P0(e.value),P0(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function P0(e){if(e!=null)return e.toString()}function Dk(e){return e&&e.__esModule?e.default:e}var D0={},S0={};S0={"Clear search":"مسح البحث"};var T0={};T0={"Clear search":"Изчистване на търсене"};var k0={};k0={"Clear search":"Vymazat hledání"};var C0={};C0={"Clear search":"Ryd søgning"};var O0={};O0={"Clear search":"Suche zurücksetzen"};var I0={};I0={"Clear search":"Απαλοιφή αναζήτησης"};var A0={};A0={"Clear search":"Clear search"};var M0={};M0={"Clear search":"Borrar búsqueda"};var N0={};N0={"Clear search":"Tühjenda otsing"};var F0={};F0={"Clear search":"Tyhjennä haku"};var z0={};z0={"Clear search":"Effacer la recherche"};var L0={};L0={"Clear search":"נקה חיפוש"};var K0={};K0={"Clear search":"Obriši pretragu"};var j0={};j0={"Clear search":"Keresés törlése"};var V0={};V0={"Clear search":"Cancella ricerca"};var B0={};B0={"Clear search":"検索をクリア"};var R0={};R0={"Clear search":"검색 지우기"};var W0={};W0={"Clear search":"Išvalyti iešką"};var U0={};U0={"Clear search":"Notīrīt meklēšanu"};var H0={};H0={"Clear search":"Tøm søk"};var G0={};G0={"Clear search":"Zoekactie wissen"};var Y0={};Y0={"Clear search":"Wyczyść zawartość wyszukiwania"};var q0={};q0={"Clear search":"Limpar pesquisa"};var Z0={};Z0={"Clear search":"Limpar pesquisa"};var X0={};X0={"Clear search":"Ştergeţi căutarea"};var J0={};J0={"Clear search":"Очистить поиск"};var Q0={};Q0={"Clear search":"Vymazať vyhľadávanie"};var eg={};eg={"Clear search":"Počisti iskanje"};var tg={};tg={"Clear search":"Obriši pretragu"};var rg={};rg={"Clear search":"Rensa sökning"};var ng={};ng={"Clear search":"Aramayı temizle"};var og={};og={"Clear search":"Очистити пошук"};var ag={};ag={"Clear search":"清除搜索"};var ig={};ig={"Clear search":"清除搜尋條件"},D0={"ar-AE":S0,"bg-BG":T0,"cs-CZ":k0,"da-DK":C0,"de-DE":O0,"el-GR":I0,"en-US":A0,"es-ES":M0,"et-EE":N0,"fi-FI":F0,"fr-FR":z0,"he-IL":L0,"hr-HR":K0,"hu-HU":j0,"it-IT":V0,"ja-JP":B0,"ko-KR":R0,"lt-LT":W0,"lv-LV":U0,"nb-NO":H0,"nl-NL":G0,"pl-PL":Y0,"pt-BR":q0,"pt-PT":Z0,"ro-RO":X0,"ru-RU":J0,"sk-SK":Q0,"sl-SI":eg,"sr-SP":tg,"sv-SE":rg,"tr-TR":ng,"uk-UA":og,"zh-CN":ag,"zh-TW":ig};function Sk(e,t,r){let n=It(Dk(D0)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:s,type:c="search"}=e,u=v=>{const $=v.key;($==="Enter"||$==="Escape")&&v.preventDefault(),!(o||a)&&($==="Enter"&&i(t.value),$==="Escape"&&(t.setValue(""),s&&s()))},d=()=>{t.setValue(""),s&&s()},f=()=>{r.current.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:g}=xo({...e,value:t.value,onChange:t.setValue,onKeyDown:Yt(u,e.onKeyDown),type:c},r);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:d,onPressStart:f},descriptionProps:b,errorMessageProps:g}}var qs={},qo={},Tk={get exports(){return qo},set exports(e){qo=e}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Tk);var Zo={},kk={get exports(){return Zo},set exports(e){Zo=e}},Zs={},Ck={get exports(){return Zs},set exports(e){Zs=e}};(function(e){function t(r){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ck),function(e){var t=Zs.default;function r(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,i=new WeakMap;return(r=function(c){return c?i:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||t(o)!=="object"&&typeof o!="function")return{default:o};var i=r(a);if(i&&i.has(o))return i.get(o);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in o)if(u!=="default"&&Object.prototype.hasOwnProperty.call(o,u)){var d=c?Object.getOwnPropertyDescriptor(o,u):null;d&&(d.get||d.set)?Object.defineProperty(s,u,d):s[u]=o[u]}return s.default=o,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(kk);var Xs={};function sg(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function Nt(e){return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(e)}function Js(e){return e&&Nt(e)==="object"&&e.constructor===Object}function Or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?D({},e):e;return Js(e)&&Js(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(Js(t[o])&&o in e?n[o]=Or(e[o],t[o],r):n[o]=t[o])}),n}var me={},lg={get exports(){return me},set exports(e){me=e}};/*
|
|
1863
1763
|
object-assign
|
|
1864
1764
|
(c) Sindre Sorhus
|
|
1865
1765
|
@license MIT
|
|
1866
|
-
*/var
|
|
1867
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
1868
|
-
`,space:" "}}function
|
|
1869
|
-
`);return o}return this.key+" "+this.value+";"},e}(),FC={"@charset":!0,"@import":!0,"@namespace":!0},zC={onCreateRule:function(t,r,n){return t in FC?new NC(t,r,n):null}},$v=[$C,_C,DC,kC,IC,MC,zC],LC={process:!0},yv={force:!0,process:!0},Ea=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,u=i.jss,d=i.Renderer,f=i.generateId,p=i.scoped,m=S({classes:this.classes,parent:s,sheet:c,jss:u,Renderer:d,generateId:f,scoped:p,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(m.selector="."+Sl(this.classes[b]));var g=Pl(b,o,m);if(!g)return null;this.register(g);var v=m.index===void 0?this.index.length:m.index;return this.index.splice(v,0,g),g},t.replace=function(n,o,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var c=a;return s!==-1&&(c=S({},a,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof Dl?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Cl&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof Dl?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Cl&&delete this.keyframes[n.name]},t.update=function(){var n,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],a=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(n,o,a){a===void 0&&(a=LC);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var u=n.style;if(s.onUpdate(o,n,c,a),a.process&&u&&u!==n.style){s.onProcessStyle(n.style,n,c);for(var d in n.style){var f=n.style[d],p=u[d];f!==p&&n.prop(d,f,yv)}for(var m in u){var b=n.style[m],g=u[m];b==null&&b!==g&&n.prop(m,null,yv)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Kr(n),c=s.linebreak,u=0;u<this.index.length;u++){var d=this.index[u],f=d.toString(n);!f&&!i||(o&&(o+=c),o+=f)}return o},e}(),xv=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=S({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Ea(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var s=this.rules.add(n,o,a);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(i?i.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,a){var i=this.rules.get(n);if(!i)return this.addRule(n,o,a);var s=this.rules.replace(n,o,a);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?i.renderable&&this.renderer.replaceRule(i.renderable,s):this.renderer.deleteRule(i)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var a=[];for(var i in n){var s=this.addRule(i,n[i],o);s&&a.push(s)}return a},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,a){return this.rules.updateOne(n,o,a),this},t.toString=function(n){return this.rules.toString(n)},e}(),KC=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var s=this.registry.onCreateRule[i](n,o,a);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,a){for(var i=0;i<this.registry.onProcessStyle.length;i++)o.style=this.registry.onProcessStyle[i](o.style,o,a)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,a,i){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,a,i)},t.onChangeValue=function(n,o,a){for(var i=n,s=0;s<this.registry.onChangeValue.length;s++)i=this.registry.onChangeValue[s](i,o,a);return i},t.use=function(n,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(n)===-1&&(a.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,s){for(var c in s)c in i?i[c].push(s[c]):process.env.NODE_ENV!=="production"&&tt(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),VC=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,a=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||a>=this.index){o.push(n);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,a=o.attached,i=cv(o,["attached"]),s=Kr(i),c=s.linebreak,u="",d=0;d<this.registry.length;d++){var f=this.registry[d];a!=null&&f.attached!==a||(u&&(u+=c),u+=f.toString(i))}return u},fv(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Cn=new VC,Il=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Al="2f1acc6c3a606b082e5eef5e54414ffb";Il[Al]==null&&(Il[Al]=0);var wv=Il[Al]++,jC=1e10,_v=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>jC&&process.env.NODE_ENV!=="production"&&tt(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return i&&(i.options.classNamePrefix&&(c=i.options.classNamePrefix),i.options.jss.id!=null&&(s=String(i.options.jss.id))),t.minify?""+(c||"c")+wv+s+r:c+a.key+"-"+wv+(s?"-"+s:"")+"-"+r};return n},Ev=function(t){var r;return function(){return r||(r=t()),r}},BC=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},RC=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=cr(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(r,i,a>-1?"important":"")}}catch{return!1}return!0},WC=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&tt(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},UC=function(t,r){return t.selectorText=r,t.selectorText===r},Pv=Ev(function(){return document.querySelector("head")});function HC(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function GC(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function YC(e){for(var t=Pv(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function qC(e){var t=Cn.registry;if(t.length>0){var r=HC(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=GC(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=YC(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&tt(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function ZC(e,t){var r=t.insertionPoint,n=qC(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&tt(!1,"[JSS] Insertion point is not in the DOM.");return}Pv().appendChild(e)}var XC=Ev(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Sv=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&tt(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Dv=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},JC=function(){var t=document.createElement("style");return t.textContent=`
|
|
1870
|
-
`,t},
|
|
1766
|
+
*/var Qs,cg;function Ok(){if(cg)return Qs;cg=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Qs=o()?Object.assign:function(a,i){for(var s,c=n(a),u,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){u=e(s);for(var p=0;p<u.length;p++)r.call(s,u[p])&&(c[u[p]]=s[u[p]])}}return c},Qs}var el,dg;function tl(){if(dg)return el;dg=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return el=e,el}var rl,ug;function fg(){return ug||(ug=1,rl=Function.call.bind(Object.prototype.hasOwnProperty)),rl}var nl,pg;function Ik(){if(pg)return nl;pg=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=tl(),r={},n=fg();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,s,c,u){if(process.env.NODE_ENV!=="production"){for(var d in a)if(n(a,d)){var f;try{if(typeof a[d]!="function"){var p=Error((c||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=a[d](i,d,c,s,null,t)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+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=u?u():"";e("Failed "+s+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},nl=o,nl}var ol,mg;function Ak(){if(mg)return ol;mg=1;var e=ir,t=Ok(),r=tl(),n=fg(),o=Ik(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function i(){return null}return ol=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(N){var A=N&&(u&&N[u]||N[d]);if(typeof A=="function")return A}var p="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:x(),arrayOf:_,element:y(),elementType:M(),instanceOf:F,node:K(),objectOf:w,oneOf:P,oneOfType:O,shape:j,exact:S};function b(N,A){return N===A?N!==0||1/N===1/A:N!==N&&A!==A}function g(N,A){this.message=N,this.data=A&&typeof A=="object"?A:{},this.stack=""}g.prototype=Error.prototype;function v(N){if(process.env.NODE_ENV!=="production")var A={},R=0;function G(oe,te,Z,Q,X,ne,_e){if(Q=Q||p,ne=ne||Z,_e!==r){if(c){var ue=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 ue.name="Invariant Violation",ue}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ne=Q+":"+Z;!A[Ne]&&R<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ne+"` prop on `"+Q+"`. 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."),A[Ne]=!0,R++)}}return te[Z]==null?oe?te[Z]===null?new g("The "+X+" `"+ne+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new g("The "+X+" `"+ne+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:N(te,Z,Q,X,ne)}var q=G.bind(null,!1);return q.isRequired=G.bind(null,!0),q}function $(N){function A(R,G,q,oe,te,Z){var Q=R[G],X=se(Q);if(X!==N){var ne=W(Q);return new g("Invalid "+oe+" `"+te+"` of type "+("`"+ne+"` supplied to `"+q+"`, expected ")+("`"+N+"`."),{expectedType:N})}return null}return v(A)}function x(){return v(i)}function _(N){function A(R,G,q,oe,te){if(typeof N!="function")return new g("Property `"+te+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var Z=R[G];if(!Array.isArray(Z)){var Q=se(Z);return new g("Invalid "+oe+" `"+te+"` of type "+("`"+Q+"` supplied to `"+q+"`, expected an array."))}for(var X=0;X<Z.length;X++){var ne=N(Z,X,q,oe,te+"["+X+"]",r);if(ne instanceof Error)return ne}return null}return v(A)}function y(){function N(A,R,G,q,oe){var te=A[R];if(!s(te)){var Z=se(te);return new g("Invalid "+q+" `"+oe+"` of type "+("`"+Z+"` supplied to `"+G+"`, expected a single ReactElement."))}return null}return v(N)}function M(){function N(A,R,G,q,oe){var te=A[R];if(!e.isValidElementType(te)){var Z=se(te);return new g("Invalid "+q+" `"+oe+"` of type "+("`"+Z+"` supplied to `"+G+"`, expected a single ReactElement type."))}return null}return v(N)}function F(N){function A(R,G,q,oe,te){if(!(R[G]instanceof N)){var Z=N.name||p,Q=V(R[G]);return new g("Invalid "+oe+" `"+te+"` of type "+("`"+Q+"` supplied to `"+q+"`, expected ")+("instance of `"+Z+"`."))}return null}return v(A)}function P(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),i;function A(R,G,q,oe,te){for(var Z=R[G],Q=0;Q<N.length;Q++)if(b(Z,N[Q]))return null;var X=JSON.stringify(N,function(_e,ue){var Ne=W(ue);return Ne==="symbol"?String(ue):ue});return new g("Invalid "+oe+" `"+te+"` of value `"+String(Z)+"` "+("supplied to `"+q+"`, expected one of "+X+"."))}return v(A)}function w(N){function A(R,G,q,oe,te){if(typeof N!="function")return new g("Property `"+te+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var Z=R[G],Q=se(Z);if(Q!=="object")return new g("Invalid "+oe+" `"+te+"` of type "+("`"+Q+"` supplied to `"+q+"`, expected an object."));for(var X in Z)if(n(Z,X)){var ne=N(Z,X,q,oe,te+"."+X,r);if(ne instanceof Error)return ne}return null}return v(A)}function O(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var A=0;A<N.length;A++){var R=N[A];if(typeof R!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ee(R)+" at index "+A+"."),i}function G(q,oe,te,Z,Q){for(var X=[],ne=0;ne<N.length;ne++){var _e=N[ne],ue=_e(q,oe,te,Z,Q,r);if(ue==null)return null;ue.data&&n(ue.data,"expectedType")&&X.push(ue.data.expectedType)}var Ne=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new g("Invalid "+Z+" `"+Q+"` supplied to "+("`"+te+"`"+Ne+"."))}return v(G)}function K(){function N(A,R,G,q,oe){return I(A[R])?null:new g("Invalid "+q+" `"+oe+"` supplied to "+("`"+G+"`, expected a ReactNode."))}return v(N)}function k(N,A,R,G,q){return new g((N||"React class")+": "+A+" type `"+R+"."+G+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+q+"`.")}function j(N){function A(R,G,q,oe,te){var Z=R[G],Q=se(Z);if(Q!=="object")return new g("Invalid "+oe+" `"+te+"` of type `"+Q+"` "+("supplied to `"+q+"`, expected `object`."));for(var X in N){var ne=N[X];if(typeof ne!="function")return k(q,oe,te,X,W(ne));var _e=ne(Z,X,q,oe,te+"."+X,r);if(_e)return _e}return null}return v(A)}function S(N){function A(R,G,q,oe,te){var Z=R[G],Q=se(Z);if(Q!=="object")return new g("Invalid "+oe+" `"+te+"` of type `"+Q+"` "+("supplied to `"+q+"`, expected `object`."));var X=t({},R[G],N);for(var ne in X){var _e=N[ne];if(n(N,ne)&&typeof _e!="function")return k(q,oe,te,ne,W(_e));if(!_e)return new g("Invalid "+oe+" `"+te+"` key `"+ne+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(R[G],null," ")+`
|
|
1767
|
+
Valid keys: `+JSON.stringify(Object.keys(N),null," "));var ue=_e(Z,ne,q,oe,te+"."+ne,r);if(ue)return ue}return null}return v(A)}function I(N){switch(typeof N){case"number":case"string":case"undefined":return!0;case"boolean":return!N;case"object":if(Array.isArray(N))return N.every(I);if(N===null||s(N))return!0;var A=f(N);if(A){var R=A.call(N),G;if(A!==N.entries){for(;!(G=R.next()).done;)if(!I(G.value))return!1}else for(;!(G=R.next()).done;){var q=G.value;if(q&&!I(q[1]))return!1}}else return!1;return!0;default:return!1}}function J(N,A){return N==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function se(N){var A=typeof N;return Array.isArray(N)?"array":N instanceof RegExp?"object":J(A,N)?"symbol":A}function W(N){if(typeof N>"u"||N===null)return""+N;var A=se(N);if(A==="object"){if(N instanceof Date)return"date";if(N instanceof RegExp)return"regexp"}return A}function ee(N){var A=W(N);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function V(N){return!N.constructor||!N.constructor.name?p:N.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},ol}var al,hg;function Mk(){if(hg)return al;hg=1;var e=tl();function t(){}function r(){}return r.resetWarningCache=t,al=function(){function n(i,s,c,u,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 o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},al}if(process.env.NODE_ENV!=="production"){var Nk=ir,Fk=!0;lg.exports=Ak()(Nk.isElement,Fk)}else lg.exports=Mk()();function zk(e,t){if(Nt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Nt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bg(e){var t=zk(e,"string");return Nt(t)==="symbol"?t:String(t)}function vn(e,t,r){return t=bg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lk="exact-prop: ";function Kk(e){return process.env.NODE_ENV==="production"?e:D({},e,vn({},Lk,function(t){var r=Object.keys(t).filter(function(n){return!e.hasOwnProperty(n)});return r.length>0?new Error("The following props are not supported: ".concat(r.map(function(n){return"`".concat(n,"`")}).join(", "),". Please remove them.")):null}))}function Xo(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var jk=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Vk(e){var t="".concat(e).match(jk),r=t&&t[1];return r||""}function gg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||Vk(e)||t}function vg(e,t,r){var n=gg(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function yn(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return gg(e,"Component");if(Nt(e)==="object")switch(e.$$typeof){case ir.ForwardRef:return vg(e,e.render,"ForwardRef");case ir.Memo:return vg(e,e.type,"memo");default:return}}}function il(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Xo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Bk(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function yg(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ut(e,t){if(e==null)return{};var r=yg(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Rk=typeof Symbol=="function"&&Symbol.for;const Wk=Rk?Symbol.for("mui.nested"):"__THEME_NESTED__";var Uk=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Hk(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,a=e.seed,i=a===void 0?"":a,s=i===""?"":"".concat(i,"-"),c=0,u=function(){return c+=1,process.env.NODE_ENV!=="production"&&c>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),c};return function(d,f){var p=f.options.name;if(p&&p.indexOf("Mui")===0&&!f.options.link&&!r){if(Uk.indexOf(d.key)!==-1)return"Mui-".concat(d.key);var m="".concat(s).concat(p,"-").concat(d.key);return!f.options.theme[Wk]||i!==""?m:"".concat(m,"-").concat(u())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(u());var b="".concat(d.key,"-").concat(u());return f.options.classNamePrefix?"".concat(s).concat(f.options.classNamePrefix,"-").concat(b):"".concat(s).concat(b)}}function Gk(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],a;for(a in o)n[a]===void 0&&(n[a]=o[a]);return n}var Yk=process.env.NODE_ENV==="production";function Ye(e,t){if(!Yk){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var $g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$n=(typeof window>"u"?"undefined":$g(window))==="object"&&(typeof document>"u"?"undefined":$g(document))==="object"&&document.nodeType===9;function xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bg(n.key),n)}}function _g(e,t,r){return t&&xg(e.prototype,t),r&&xg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sl(e,t){return sl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},sl(e,t)}function wg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sl(e,t)}function Eg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var qk={}.constructor;function ll(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(ll);if(e.constructor!==qk)return e;var t={};for(var r in e)t[r]=ll(e[r]);return t}function cl(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=ll(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] Unknown rule "+e),null)}var Pg=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},nr=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=Pg(t[n]," ");else r=Pg(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Ir(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1768
|
+
`,space:" "}}function xn(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function _n(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,a=o.indent,i=a===void 0?0:a,s=t.fallbacks;r.format===!1&&(i=-1/0);var c=Ir(r),u=c.linebreak,d=c.space;if(e&&i++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f];for(var m in p){var b=p[m];b!=null&&(n&&(n+=u),n+=xn(m+":"+d+nr(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=u),n+=xn(g+":"+d+nr(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=u),n+=xn($+":"+d+nr(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+u+n+u),xn(""+e+d+"{"+n,i)+xn("}",i))}var Zk=/([[\].#*$><+~=|^:(),"'`\s])/g,Dg=typeof CSS<"u"&&CSS.escape,dl=function(e){return Dg?Dg(e):e.replace(Zk,"\\$1")},Sg=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=r,this.options=o,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(n,o,a){if(o===void 0)return this.style[n];var i=a?a.force:!1;if(!i&&this.style[n]===o)return this;var s=o;(!a||a.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,u=n in this.style;if(c&&!u&&!i)return this;var d=c&&u;if(d?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var f=this.options.sheet;return f&&f.attached&&process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),ul=function(e){wg(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,c=a.scoped,u=a.sheet,d=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=d(Eg(Eg(i)),u),i.selectorText="."+dl(i.id)),i}var r=t.prototype;return r.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var s in i)a.setProperty(o,s,i[s])}return this},r.toJSON=function(){var o={};for(var a in this.style){var i=this.style[a];typeof i!="object"?o[a]=i:Array.isArray(i)&&(o[a]=nr(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?D({},o,{allowEmpty:!0}):o;return _n(this.selectorText,this.style,s)},_g(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var s=a.setSelector(i,o);s||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(Sg),Xk={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new ul(t,r,n)}},fl={indent:1,children:!0},Jk=/@([\w-]+)/,Qk=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(Jk);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Jo(D({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=fl);var o=Ir(n),a=o.linebreak;if(n.indent==null&&(n.indent=fl.indent),n.children==null&&(n.children=fl.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),e8=/@media|@supports\s+/,t8={onCreateRule:function(t,r,n){return e8.test(t)?new Qk(t,r,n):null}},pl={indent:1,children:!0},r8=/@keyframes\s+([\w-]+)/,ml=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(r8);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var i=o.scoped,s=o.sheet,c=o.generateId;this.id=i===!1?this.name:dl(c(this,s)),this.rules=new Jo(D({},o,{parent:this}));for(var u in n)this.rules.add(u,n[u],D({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=pl);var o=Ir(n),a=o.linebreak;if(n.indent==null&&(n.indent=pl.indent),n.children==null&&(n.children=pl.children),n.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(n);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),n8=/@keyframes\s+/,o8=/\$([\w-]+)/g,hl=function(t,r){return typeof t=="string"?t.replace(o8,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Tg=function(t,r,n){var o=t[r],a=hl(o,n);a!==o&&(t[r]=a)},a8={onCreateRule:function(t,r,n){return typeof t=="string"&&n8.test(t)?new ml(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Tg(t,"animation-name",n.keyframes),"animation"in t&&Tg(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return hl(t,o.keyframes);case"animation-name":return hl(t,o.keyframes);default:return t}}},i8=function(e){wg(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?D({},o,{allowEmpty:!0}):o;return _n(this.key,this.style,s)},t}(Sg),s8={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new i8(t,r,n):null}},l8=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=Ir(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=_n(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return _n(this.at,this.style,n)},e}(),c8=/@font-face/,d8={onCreateRule:function(t,r,n){return c8.test(t)?new l8(t,r,n):null}},u8=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return _n(this.key,this.style,n)},e}(),f8={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new u8(t,r,n):null}},p8=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",a=0;a<this.value.length;a++)o+=this.key+" "+this.value[a]+";",this.value[a+1]&&(o+=`
|
|
1769
|
+
`);return o}return this.key+" "+this.value+";"},e}(),m8={"@charset":!0,"@import":!0,"@namespace":!0},h8={onCreateRule:function(t,r,n){return t in m8?new p8(t,r,n):null}},kg=[Xk,t8,a8,s8,d8,f8,h8],b8={process:!0},Cg={force:!0,process:!0},Jo=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,u=i.jss,d=i.Renderer,f=i.generateId,p=i.scoped,m=D({classes:this.classes,parent:s,sheet:c,jss:u,Renderer:d,generateId:f,scoped:p,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(m.selector="."+dl(this.classes[b]));var g=cl(b,o,m);if(!g)return null;this.register(g);var v=m.index===void 0?this.index.length:m.index;return this.index.splice(v,0,g),g},t.replace=function(n,o,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var c=a;return s!==-1&&(c=D({},a,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof ul?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof ml&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof ul?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof ml&&delete this.keyframes[n.name]},t.update=function(){var n,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],a=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(n,o,a){a===void 0&&(a=b8);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var u=n.style;if(s.onUpdate(o,n,c,a),a.process&&u&&u!==n.style){s.onProcessStyle(n.style,n,c);for(var d in n.style){var f=n.style[d],p=u[d];f!==p&&n.prop(d,f,Cg)}for(var m in u){var b=n.style[m],g=u[m];b==null&&b!==g&&n.prop(m,null,Cg)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Ir(n),c=s.linebreak,u=0;u<this.index.length;u++){var d=this.index[u],f=d.toString(n);!f&&!i||(o&&(o+=c),o+=f)}return o},e}(),Og=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=D({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Jo(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var s=this.rules.add(n,o,a);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(i?i.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,a){var i=this.rules.get(n);if(!i)return this.addRule(n,o,a);var s=this.rules.replace(n,o,a);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?i.renderable&&this.renderer.replaceRule(i.renderable,s):this.renderer.deleteRule(i)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var a=[];for(var i in n){var s=this.addRule(i,n[i],o);s&&a.push(s)}return a},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,a){return this.rules.updateOne(n,o,a),this},t.toString=function(n){return this.rules.toString(n)},e}(),g8=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var s=this.registry.onCreateRule[i](n,o,a);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,a){for(var i=0;i<this.registry.onProcessStyle.length;i++)o.style=this.registry.onProcessStyle[i](o.style,o,a)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,a,i){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,a,i)},t.onChangeValue=function(n,o,a){for(var i=n,s=0;s<this.registry.onChangeValue.length;s++)i=this.registry.onChangeValue[s](i,o,a);return i},t.use=function(n,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(n)===-1&&(a.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,s){for(var c in s)c in i?i[c].push(s[c]):process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),v8=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,a=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||a>=this.index){o.push(n);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,a=o.attached,i=yg(o,["attached"]),s=Ir(i),c=s.linebreak,u="",d=0;d<this.registry.length;d++){var f=this.registry[d];a!=null&&f.attached!==a||(u&&(u+=c),u+=f.toString(i))}return u},_g(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),wn=new v8,bl=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),gl="2f1acc6c3a606b082e5eef5e54414ffb";bl[gl]==null&&(bl[gl]=0);var Ig=bl[gl]++,y8=1e10,Ag=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>y8&&process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return i&&(i.options.classNamePrefix&&(c=i.options.classNamePrefix),i.options.jss.id!=null&&(s=String(i.options.jss.id))),t.minify?""+(c||"c")+Ig+s+r:c+a.key+"-"+Ig+(s?"-"+s:"")+"-"+r};return n},Mg=function(t){var r;return function(){return r||(r=t()),r}},$8=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},x8=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=nr(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(r,i,a>-1?"important":"")}}catch{return!1}return!0},_8=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},w8=function(t,r){return t.selectorText=r,t.selectorText===r},Ng=Mg(function(){return document.querySelector("head")});function E8(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function P8(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function D8(e){for(var t=Ng(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function S8(e){var t=wn.registry;if(t.length>0){var r=E8(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=P8(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=D8(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function T8(e,t){var r=t.insertionPoint,n=S8(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] Insertion point is not in the DOM.");return}Ng().appendChild(e)}var k8=Mg(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Fg=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},zg=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},C8=function(){var t=document.createElement("style");return t.textContent=`
|
|
1770
|
+
`,t},O8=function(){function e(r){this.getPropertyValue=$8,this.setProperty=x8,this.removeProperty=_8,this.setSelector=w8,this.hasInsertedRules=!1,this.cssRules=[],r&&wn.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||C8(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=k8();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){T8(this.element,this.sheet.options);var n=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
|
|
1871
1771
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1872
1772
|
`+n.toString()+`
|
|
1873
|
-
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=
|
|
1773
|
+
`}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=zg(a,o);if(s=Fg(a,i.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(i.rules,s),s}var u=n.toString();if(!u)return!1;var d=zg(a,o),f=Fg(a,u,d);return f===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,d,f),f)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof Og&&this.cssRules.splice(o,0,a)},t.deleteRule=function(n){var o=this.element.sheet,a=this.indexOf(n);return a===-1?!1:(o.deleteRule(a),this.cssRules.splice(a,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var a=this.indexOf(n);return a===-1?!1:(this.element.sheet.deleteRule(a),this.cssRules.splice(a,1),this.insertRule(o,a))},t.getRules=function(){return this.element.sheet.cssRules},e}(),I8=0,A8=function(){function e(r){this.id=I8++,this.version="10.9.2",this.plugins=new g8,this.options={id:{minify:!1},createGenerateId:Ag,Renderer:$n?O8:null,plugins:[]},this.generateId=Ag({minify:!1});for(var n=0;n<kg.length;n++)this.plugins.use(kg[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=D({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var a=o,i=a.index;typeof i!="number"&&(i=wn.index===0?0:wn.index+1);var s=new Og(n,D({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),wn.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=D({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=cl(n,o,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return a.forEach(function(s){n.plugins.use(s)}),this},e}(),vl=function(t){return new A8(t)},yl=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function Lg(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var a=Lg(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1874
1774
|
* A better abstraction over CSS.
|
|
1875
1775
|
*
|
|
1876
1776
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1877
1777
|
* @website https://github.com/cssinjs/jss
|
|
1878
1778
|
* @license MIT
|
|
1879
|
-
*/
|
|
1880
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1881
|
-
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(
|
|
1882
|
-
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(
|
|
1883
|
-
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var
|
|
1884
|
-
`)),
|
|
1885
|
-
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===
|
|
1886
|
-
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=
|
|
1887
|
-
`))),s[c]=
|
|
1888
|
-
`));var u=s;if(process.env.NODE_ENV!=="production"&&!s){var d=
|
|
1889
|
-
`)))),r[b]}return
|
|
1779
|
+
*/vl();var Kg=Date.now(),$l="fnValues"+Kg,xl="fnStyle"+ ++Kg,M8=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var a=cl(r,{},o);return a[xl]=n,a},onProcessStyle:function(r,n){if($l in n||xl in n)return r;var o={};for(var a in r){var i=r[a];typeof i=="function"&&(delete r[a],o[a]=i)}return n[$l]=o,r},onUpdate:function(r,n,o,a){var i=n,s=i[xl];if(s&&(i.style=s(r)||{},process.env.NODE_ENV==="development")){for(var c in i.style)if(typeof i.style[c]=="function"){process.env.NODE_ENV!=="production"&&Ye(!1,"[JSS] Function values inside function rules are not supported.");break}}var u=i[$l];if(u)for(var d in u)i.prop(d,u[d](r),a)}}};const N8=M8;var Ft="@global",_l="@global ",F8=function(){function e(r,n,o){this.type="global",this.at=Ft,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new Jo(D({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e}(),z8=function(){function e(r,n,o){this.type="global",this.at=Ft,this.isProcessed=!1,this.key=r,this.options=o;var a=r.substr(_l.length);this.rule=o.jss.createRule(a,n,D({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),L8=/\s*,\s*/g;function jg(e,t){for(var r=e.split(L8),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function K8(e,t){var r=e.options,n=e.style,o=n?n[Ft]:null;if(o){for(var a in o)t.addRule(a,o[a],D({},r,{selector:jg(a,e.selector)}));delete n[Ft]}}function j8(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,Ft.length)!==Ft)){var a=jg(o.substr(Ft.length),e.selector);t.addRule(a,n[o],D({},r,{selector:a})),delete n[o]}}function V8(){function e(r,n,o){if(!r)return null;if(r===Ft)return new F8(r,n,o);if(r[0]==="@"&&r.substr(0,_l.length)===_l)return new z8(r,n,o);var a=o.parent;return a&&(a.type==="global"||a.options.parent&&a.options.parent.type==="global")&&(o.scoped=!1),!o.selector&&o.scoped===!1&&(o.selector=r),null}function t(r,n){r.type!=="style"||!n||(K8(r,n),j8(r,n))}return{onCreateRule:e,onProcessRule:t}}var Vg=/\s*,\s*/g,B8=/&/g,R8=/\$([\w-]+)/g;function W8(){function e(o,a){return function(i,s){var c=o.getRule(s)||a&&a.getRule(s);return c?c.selector:(process.env.NODE_ENV!=="production"&&Ye(!1,'[JSS] Could not find the referenced rule "'+s+'" in "'+(o.options.meta||o.toString())+'".'),s)}}function t(o,a){for(var i=a.split(Vg),s=o.split(Vg),c="",u=0;u<i.length;u++)for(var d=i[u],f=0;f<s.length;f++){var p=s[f];c&&(c+=", "),c+=p.indexOf("&")!==-1?p.replace(B8,d):d+" "+p}return c}function r(o,a,i){if(i)return D({},i,{index:i.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=D({},o.options,{nestingLevel:s,index:a.indexOf(o)+1});return delete c.name,c}function n(o,a,i){if(a.type!=="style")return o;var s=a,c=s.options.parent,u,d;for(var f in o){var p=f.indexOf("&")!==-1,m=f[0]==="@";if(!(!p&&!m)){if(u=r(s,c,u),p){var b=t(f,s.selector);d||(d=e(c,i)),b=b.replace(R8,d);var g=s.key+"-"+f;"replaceRule"in c?c.replaceRule(g,o[f],D({},u,{selector:b})):c.addRule(g,o[f],D({},u,{selector:b}))}else m&&c.addRule(f,{},u).addRule(s.key,o[f],{selector:s.selector});delete o[f]}}return o}return{onProcessStyle:n}}var U8=/[A-Z]/g,H8=/^ms-/,wl={};function G8(e){return"-"+e.toLowerCase()}function Bg(e){if(wl.hasOwnProperty(e))return wl[e];var t=e.replace(U8,G8);return wl[e]=H8.test(t)?"-"+t:t}function Qo(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:Bg(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Qo):t.fallbacks=Qo(e.fallbacks)),t}function Y8(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=Qo(r[n]);return r}return Qo(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var a=Bg(n);return n===a?r:(o.prop(a,r),null)}return{onProcessStyle:e,onChangeValue:t}}var L=yl&&CSS?CSS.px:"px",ea=yl&&CSS?CSS.ms:"ms",Ar=yl&&CSS?CSS.percent:"%",q8={"animation-delay":ea,"animation-duration":ea,"background-position":L,"background-position-x":L,"background-position-y":L,"background-size":L,border:L,"border-bottom":L,"border-bottom-left-radius":L,"border-bottom-right-radius":L,"border-bottom-width":L,"border-left":L,"border-left-width":L,"border-radius":L,"border-right":L,"border-right-width":L,"border-top":L,"border-top-left-radius":L,"border-top-right-radius":L,"border-top-width":L,"border-width":L,"border-block":L,"border-block-end":L,"border-block-end-width":L,"border-block-start":L,"border-block-start-width":L,"border-block-width":L,"border-inline":L,"border-inline-end":L,"border-inline-end-width":L,"border-inline-start":L,"border-inline-start-width":L,"border-inline-width":L,"border-start-start-radius":L,"border-start-end-radius":L,"border-end-start-radius":L,"border-end-end-radius":L,margin:L,"margin-bottom":L,"margin-left":L,"margin-right":L,"margin-top":L,"margin-block":L,"margin-block-end":L,"margin-block-start":L,"margin-inline":L,"margin-inline-end":L,"margin-inline-start":L,padding:L,"padding-bottom":L,"padding-left":L,"padding-right":L,"padding-top":L,"padding-block":L,"padding-block-end":L,"padding-block-start":L,"padding-inline":L,"padding-inline-end":L,"padding-inline-start":L,"mask-position-x":L,"mask-position-y":L,"mask-size":L,height:L,width:L,"min-height":L,"max-height":L,"min-width":L,"max-width":L,bottom:L,left:L,top:L,right:L,inset:L,"inset-block":L,"inset-block-end":L,"inset-block-start":L,"inset-inline":L,"inset-inline-end":L,"inset-inline-start":L,"box-shadow":L,"text-shadow":L,"column-gap":L,"column-rule":L,"column-rule-width":L,"column-width":L,"font-size":L,"font-size-delta":L,"letter-spacing":L,"text-decoration-thickness":L,"text-indent":L,"text-stroke":L,"text-stroke-width":L,"word-spacing":L,motion:L,"motion-offset":L,outline:L,"outline-offset":L,"outline-width":L,perspective:L,"perspective-origin-x":Ar,"perspective-origin-y":Ar,"transform-origin":Ar,"transform-origin-x":Ar,"transform-origin-y":Ar,"transform-origin-z":Ar,"transition-delay":ea,"transition-duration":ea,"vertical-align":L,"flex-basis":L,"shape-margin":L,size:L,gap:L,grid:L,"grid-gap":L,"row-gap":L,"grid-row-gap":L,"grid-column-gap":L,"grid-template-rows":L,"grid-template-columns":L,"grid-auto-rows":L,"grid-auto-columns":L,"box-shadow-x":L,"box-shadow-y":L,"box-shadow-blur":L,"box-shadow-spread":L,"font-line-height":L,"text-shadow-x":L,"text-shadow-y":L,"text-shadow-blur":L};function Rg(e){var t=/(-[a-z])/g,r=function(i){return i[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var Z8=Rg(q8);function En(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=En(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=En(o,t[o],r);else for(var a in t)t[a]=En(e+"-"+a,t[a],r);else if(typeof t=="number"&&isNaN(t)===!1){var i=r[e]||Z8[e];return i&&!(t===0&&i===L)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function X8(e){e===void 0&&(e={});var t=Rg(e);function r(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=En(i,o[i],t);return o}function n(o,a){return En(a,o,t)}return{onProcessStyle:r,onChangeValue:n}}function El(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function J8(e){if(Array.isArray(e))return El(e)}function Q8(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function e9(e,t){if(e){if(typeof e=="string")return El(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return El(e,t)}}function t9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1780
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r9(e){return J8(e)||Q8(e)||e9(e)||t9()}var Pn="",Pl="",Wg="",Ug="",n9=$n&&"ontouchstart"in document.documentElement;if($n){var Dl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},o9=document.createElement("p"),Sl=o9.style,a9="Transform";for(var Tl in Dl)if(Tl+a9 in Sl){Pn=Tl,Pl=Dl[Tl];break}Pn==="Webkit"&&"msHyphens"in Sl&&(Pn="ms",Pl=Dl.ms,Ug="edge"),Pn==="Webkit"&&"-apple-trailing-word"in Sl&&(Wg="apple")}var ie={js:Pn,css:Pl,vendor:Wg,browser:Ug,isTouch:n9};function i9(e){return e[1]==="-"||ie.js==="ms"?e:"@"+ie.css+"keyframes"+e.substr(10)}var s9={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:ie.js==="ms"?"-webkit-"+t:ie.css+t}},l9={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:ie.js==="Webkit"?ie.css+"print-"+t:t}},c9=/[-\s]+(.)?/g;function d9(e,t){return t?t.toUpperCase():""}function kl(e){return e.replace(c9,d9)}function zt(e){return kl("-"+e)}var u9={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(ie.js==="Webkit"){var n="mask-image";if(kl(n)in r)return t;if(ie.js+zt(n)in r)return ie.css+t}return t}},f9={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:ie.vendor==="apple"&&!ie.isTouch?ie.css+t:t}},p9={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:ie.css+t}},m9={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:ie.css+t}},h9={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:ie.js==="Webkit"||ie.js==="ms"&&ie.browser!=="edge"?ie.css+t:t}},b9={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:ie.js==="Moz"||ie.js==="ms"||ie.vendor==="apple"?ie.css+t:t}},g9={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(ie.js==="Webkit"){var n="WebkitColumn"+zt(t);return n in r?ie.css+"column-"+t:!1}if(ie.js==="Moz"){var o="page"+zt(t);return o in r?"page-"+t:!1}return!1}},v9={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(ie.js==="Moz")return t;var n=t.replace("-inline","");return ie.js+zt(n)in r?ie.css+n:!1}},y9={supportedProperty:function(t,r){return kl(t)in r?t:!1}},$9={supportedProperty:function(t,r){var n=zt(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:ie.js+n in r?ie.css+t:ie.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},x9={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:ie.js==="ms"?""+ie.css+t:t}},_9={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:ie.js==="ms"?ie.css+"scroll-chaining":t}},w9={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},E9={supportedProperty:function(t,r){var n=w9[t];return n&&ie.js+zt(n)in r?ie.css+n:!1}},Hg={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},P9=Object.keys(Hg),D9=function(t){return ie.css+t},S9={supportedProperty:function(t,r,n){var o=n.multiple;if(P9.indexOf(t)>-1){var a=Hg[t];if(!Array.isArray(a))return ie.js+zt(a)in r?ie.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(ie.js+zt(a[0])in r))return!1;return a.map(D9)}return!1}},Gg=[s9,l9,u9,f9,p9,m9,h9,b9,g9,v9,y9,$9,x9,_9,E9,S9],Yg=Gg.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),T9=Gg.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,r9(t.noPrefill)),e},[]),Dn,or={};if($n){Dn=document.createElement("p");var Cl=window.getComputedStyle(document.documentElement,"");for(var Ol in Cl)isNaN(Ol)||(or[Cl[Ol]]=Cl[Ol]);T9.forEach(function(e){return delete or[e]})}function Il(e,t){if(t===void 0&&(t={}),!Dn)return e;if(process.env.NODE_ENV!=="benchmark"&&or[e]!=null)return or[e];(e==="transition"||e==="transform")&&(t[e]=e in Dn.style);for(var r=0;r<Yg.length&&(or[e]=Yg[r](e,Dn.style,t),!or[e]);r++);try{Dn.style[e]=""}catch{return!1}return or[e]}var Mr={},k9={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},C9=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,Lt;function O9(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?Il(t):", "+Il(r);return n||t||r}$n&&(Lt=document.createElement("p"));function qg(e,t){var r=t;if(!Lt||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Mr[n]!=null)return Mr[n];try{Lt.style[e]=r}catch{return Mr[n]=!1,!1}if(k9[e])r=r.replace(C9,O9);else if(Lt.style[e]===""&&(r=ie.css+r,r==="-ms-flex"&&(Lt.style[e]="-ms-flexbox"),Lt.style[e]=r,Lt.style[e]===""))return Mr[n]=!1,!1;return Lt.style[e]="",Mr[n]=r,Mr[n]}function I9(){function e(o){if(o.type==="keyframes"){var a=o;a.at=i9(a.at)}}function t(o){for(var a in o){var i=o[a];if(a==="fallbacks"&&Array.isArray(i)){o[a]=i.map(t);continue}var s=!1,c=Il(a);c&&c!==a&&(s=!0);var u=!1,d=qg(c,nr(i));d&&d!==i&&(u=!0),(s||u)&&(s&&delete o[a],o[c||a]=d||i)}return o}function r(o,a){return a.type!=="style"?o:t(o)}function n(o,a){return qg(a,nr(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function A9(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var o={},a=Object.keys(r).sort(e),i=0;i<a.length;i++)o[a[i]]=r[a[i]];return o}}}function Zg(){return{plugins:[N8(),V8(),W8(),Y8(),X8(),typeof window>"u"?null:I9(),A9()]}}function Xg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.baseClasses,r=e.newClasses,n=e.Component;if(!r)return t;var o=D({},t);return process.env.NODE_ENV!=="production"&&typeof r=="string"?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(yn(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1781
|
+
`)),t):(Object.keys(r).forEach(function(a){process.env.NODE_ENV!=="production"&&(!t[a]&&r[a]&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not implemented in ".concat(yn(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1782
|
+
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(yn(n),"."),"You need to provide a non empty string instead of: ".concat(r[a],".")].join(`
|
|
1783
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var M9={set:function(t,r,n,o){var a=t.get(r);a||(a=new Map,t.set(r,a)),a.set(n,o)},get:function(t,r,n){var o=t.get(r);return o?o.get(n):void 0},delete:function(t,r,n){var o=t.get(r);o.delete(n)}};const Nr=M9;var Jg=l.createContext(null);process.env.NODE_ENV!=="production"&&(Jg.displayName="ThemeContext");const N9=Jg;function Qg(){var e=l.useContext(N9);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var F9=vl(Zg()),z9=Hk(),L9=new Map,K9={disableGeneration:!1,generateClassName:z9,jss:F9,sheetsCache:null,sheetsManager:L9,sheetsRegistry:null},ta=l.createContext(K9);process.env.NODE_ENV!=="production"&&(ta.displayName="StylesContext");var ra;function Al(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,a=o===void 0?!1:o,i=ut(e,["children","injectFirst","disableGeneration"]),s=l.useContext(ta),c=D({},s,{disableGeneration:a},i);if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!c.sheetsManager&&console.error("Material-UI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&c.jss.options.insertionPoint&&n&&console.error("Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),process.env.NODE_ENV!=="production"&&n&&i.jss&&console.error("Material-UI: You cannot use the jss and injectFirst props at the same time."),!c.jss.options.insertionPoint&&n&&typeof window<"u"){if(!ra){var u=document.head;ra=document.createComment("mui-inject-first"),u.insertBefore(ra,u.firstChild)}c.jss=vl({plugins:Zg().plugins,insertionPoint:ra})}return l.createElement(ta.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(Al.propTypes={children:me.node.isRequired,disableGeneration:me.bool,generateClassName:me.func,injectFirst:me.bool,jss:me.object,serverGenerateClassName:me.func,sheetsCache:me.object,sheetsManager:me.object,sheetsRegistry:me.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Al.propTypes=Kk(Al.propTypes));var Ml=-1e9;function j9(){return Ml+=1,process.env.NODE_ENV!=="production"&&Ml>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1784
|
+
`)),Ml}var V9={};const ev=V9;function B9(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&Nt(e)!=="object"&&!t&&console.error(["Material-UI: The `styles` argument provided is invalid.","You need to provide a function generating the styles or a styles object."].join(`
|
|
1785
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===ev&&console.error(["Material-UI: The `styles` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
1786
|
+
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=D({},a);return Object.keys(i).forEach(function(c){process.env.NODE_ENV!=="production"&&(s[c]||console.warn(["Material-UI: You are trying to override a style that does not exist.","Fix the `".concat(c,"` key of `theme.overrides.").concat(o,"`.")].join(`
|
|
1787
|
+
`))),s[c]=Or(s[c],i[c])}),s},options:{}}}function R9(e,t,r){var n=e.state,o=e.stylesOptions;if(o.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,a=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,a=!0),a&&(n.cacheClasses.value=Xg({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function W9(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var s=Nr.get(o.sheetsManager,a,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Nr.set(o.sheetsManager,a,n,s));var c=D({},a.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=o.sheetsRegistry;if(s.refs===0){var d;o.sheetsCache&&(d=Nr.get(o.sheetsCache,a,n));var f=a.create(n,i);d||(d=o.jss.createStyleSheet(f,D({link:!1},c)),d.attach(),o.sheetsCache&&Nr.set(o.sheetsCache,a,n,d)),u&&u.add(d),s.staticSheet=d,s.dynamicStyles=Lg(f)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,D({link:!0},c));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=Xg({baseClasses:s.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function U9(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function H9(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var a=Nr.get(n.sheetsManager,o,r);a.refs-=1;var i=n.sheetsRegistry;a.refs===0&&(Nr.delete(n.sheetsManager,o,r),n.jss.removeStyleSheet(a.staticSheet),i&&i.remove(a.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),i&&i.remove(t.dynamicSheet))}}function G9(e,t){var r=l.useRef([]),n,o=l.useMemo(function(){return{}},t);r.current!==o&&(r.current=o,n=e()),l.useEffect(function(){return function(){n&&n()}},[o])}function Y9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,a=t.defaultTheme,i=a===void 0?ev:a,s=ut(t,["name","classNamePrefix","Component","defaultTheme"]),c=B9(e),u=r||n||"makeStyles";c.options={index:j9(),name:r,meta:u,classNamePrefix:u};var d=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=Qg()||i,b=D({},l.useContext(ta),s),g=l.useRef(),v=l.useRef();G9(function(){var x={name:r,state:{},stylesCreator:c,stylesOptions:b,theme:m};return W9(x,p),v.current=!1,g.current=x,function(){H9(x)}},[m,c]),l.useEffect(function(){v.current&&U9(g.current,p),v.current=!0});var $=R9(g.current,p.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return d}var Nl=ir,q9={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Z9={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},X9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fl={};Fl[Nl.ForwardRef]=X9,Fl[Nl.Memo]=tv;function rv(e){return Nl.isMemo(e)?tv:Fl[e.$$typeof]||q9}var J9=Object.defineProperty,Q9=Object.getOwnPropertyNames,nv=Object.getOwnPropertySymbols,e4=Object.getOwnPropertyDescriptor,t4=Object.getPrototypeOf,ov=Object.prototype;function av(e,t,r){if(typeof t!="string"){if(ov){var n=t4(t);n&&n!==ov&&av(e,n,r)}var o=Q9(t);nv&&(o=o.concat(nv(t)));for(var a=rv(e),i=rv(t),s=0;s<o.length;++s){var c=o[s];if(!Z9[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var u=e4(t,c);try{J9(e,c,u)}catch{}}}}return e}var r4=av,n4=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(n){var o=r.defaultTheme,a=r.withTheme,i=a===void 0?!1:a,s=r.name,c=ut(r,["defaultTheme","withTheme","name"]);if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
|
|
1788
|
+
`));var u=s;if(process.env.NODE_ENV!=="production"&&!s){var d=yn(n);d!==void 0&&(u=d)}var f=Y9(t,D({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:u},c)),p=l.forwardRef(function(b,g){b.classes;var v=b.innerRef,$=ut(b,["classes","innerRef"]),x=f(D({},n.defaultProps,b)),_,y=$;return(typeof s=="string"||i)&&(_=Qg()||o,s&&(y=Gk({theme:_,name:s,props:$})),i&&!y.theme&&(y.theme=_)),l.createElement(n,D({ref:v||g,classes:x},y))});return process.env.NODE_ENV!=="production"&&(p.propTypes={classes:me.object,innerRef:sg(me.oneOfType([me.func,me.object]),function(m){return m.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(p.displayName="WithStyles(".concat(yn(n),")")),r4(p,n),process.env.NODE_ENV!=="production"&&(p.Naked=n,p.options=r,p.useStyles=f),p}};const o4=n4;var Kt=["xs","sm","md","lg","xl"];function a4(e){var t=e.values,r=t===void 0?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,n=e.unit,o=n===void 0?"px":n,a=e.step,i=a===void 0?5:a,s=ut(e,["values","unit","step"]);function c(b){var g=typeof r[b]=="number"?r[b]:b;return"@media (min-width:".concat(g).concat(o,")")}function u(b){var g=Kt.indexOf(b)+1,v=r[Kt[g]];if(g===Kt.length)return c("xs");var $=typeof v=="number"&&g>0?v:b;return"@media (max-width:".concat($-i/100).concat(o,")")}function d(b,g){var v=Kt.indexOf(g);return v===Kt.length-1?c(b):"@media (min-width:".concat(typeof r[b]=="number"?r[b]:b).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof r[Kt[v+1]]=="number"?r[Kt[v+1]]:g)-i/100).concat(o,")")}function f(b){return d(b,b)}var p=!1;function m(b){return process.env.NODE_ENV!=="production"&&(p||(p=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
|
|
1789
|
+
`)))),r[b]}return D({keys:Kt,values:r,up:c,down:u,between:d,only:f,width:m},s)}function i4(e,t,r){var n;return D({gutters:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:",`
|
|
1890
1790
|
paddingLeft: theme.spacing(2),
|
|
1891
1791
|
paddingRight: theme.spacing(2),
|
|
1892
1792
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1894,8 +1794,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1894
1794
|
paddingRight: theme.spacing(3),
|
|
1895
1795
|
},
|
|
1896
1796
|
`].join(`
|
|
1897
|
-
`)),
|
|
1898
|
-
`))}return O}var
|
|
1797
|
+
`)),D({paddingLeft:t(2),paddingRight:t(2)},a,vn({},e.up("sm"),D({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},vn(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),vn(n,e.up("sm"),{minHeight:64}),n)},r)}var s4={black:"#000",white:"#fff"};const na=s4;var l4={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const zl=l4;var c4={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const Ll=c4;var d4={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const Kl=d4;var u4={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"};const jl=u4;var f4={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"};const Vl=f4;var p4={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"};const Bl=p4;var m4={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"};const Rl=m4;function iv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(r,"].")),Math.min(Math.max(t,e),r)}function h4(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(function(n){return n+n})),r?"rgb".concat(r.length===4?"a":"","(").concat(r.map(function(n,o){return o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3}).join(", "),")"):""}function b4(e){e=Fr(e);var t=e,r=t.values,n=r[0],o=r[1]/100,a=r[2]/100,i=o*Math.min(a,1-a),s=function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(f+n/30)%12;return a-i*Math.max(Math.min(p-3,9-p,1),-1)},c="rgb",u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",u.push(r[3])),Wl({type:c,values:u})}function Fr(e){if(e.type)return e;if(e.charAt(0)==="#")return Fr(h4(e));var t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: Unsupported `".concat(e,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):Xo(3,e));var n=e.substring(t+1,e.length-1).split(",");return n=n.map(function(o){return parseFloat(o)}),{type:r,values:n}}function Wl(e){var t=e.type,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(n,o){return o<3?parseInt(n,10):n}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function sv(e,t){var r=lv(e),n=lv(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function lv(e){e=Fr(e);var t=e.type==="hsl"?Fr(b4(e)).values:e.values;return t=t.map(function(r){return r/=255,r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function g4(e,t){if(e=Fr(e),t=iv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]*=1-t;return Wl(e)}function v4(e,t){if(e=Fr(e),t=iv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return Wl(e)}var cv={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:na.white,default:zl[50]},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}},Ul={text:{primary:na.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:zl[800],default:"#303030"},action:{active:na.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 dv(e,t,r,n){var o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=v4(e.main,o):t==="dark"&&(e.dark=g4(e.main,a)))}function y4(e){var t=e.primary,r=t===void 0?{light:Ll[300],main:Ll[500],dark:Ll[700]}:t,n=e.secondary,o=n===void 0?{light:Kl.A200,main:Kl.A400,dark:Kl.A700}:n,a=e.error,i=a===void 0?{light:jl[300],main:jl[500],dark:jl[700]}:a,s=e.warning,c=s===void 0?{light:Vl[300],main:Vl[500],dark:Vl[700]}:s,u=e.info,d=u===void 0?{light:Bl[300],main:Bl[500],dark:Bl[700]}:u,f=e.success,p=f===void 0?{light:Rl[300],main:Rl[500],dark:Rl[700]}:f,m=e.type,b=m===void 0?"light":m,g=e.contrastThreshold,v=g===void 0?3:g,$=e.tonalOffset,x=$===void 0?.2:$,_=ut(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function y(w){var O=sv(w,Ul.text.primary)>=v?Ul.text.primary:cv.text.primary;if(process.env.NODE_ENV!=="production"){var K=sv(w,O);K<3&&console.error(["Material-UI: The contrast ratio of ".concat(K,":1 for ").concat(O," on ").concat(w),"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(`
|
|
1798
|
+
`))}return O}var M=function(O){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(O=D({},O),!O.main&&O[K]&&(O.main=O[K]),!O.main)throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(K,"` property."):Xo(4,K));if(typeof O.main!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(O.main),`\` was provided instead.
|
|
1899
1799
|
|
|
1900
1800
|
Did you intend to use one of the following approaches?
|
|
1901
1801
|
|
|
@@ -1907,14 +1807,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1907
1807
|
|
|
1908
1808
|
const theme2 = createTheme({ palette: {
|
|
1909
1809
|
primary: { main: green[500] },
|
|
1910
|
-
} });`):
|
|
1911
|
-
`)),
|
|
1810
|
+
} });`):Xo(5,JSON.stringify(O.main)));return dv(O,"light",k,x),dv(O,"dark",j,x),O.contrastText||(O.contrastText=y(O.main)),O},F={dark:Ul,light:cv};process.env.NODE_ENV!=="production"&&(F[b]||console.error("Material-UI: The palette type `".concat(b,"` is not supported.")));var P=Or(D({common:na,type:b,primary:M(r),secondary:M(o,"A400","A200","A700"),error:M(i),warning:M(c),info:M(d),success:M(p),grey:zl,contrastThreshold:v,getContrastText:y,augmentColor:M,tonalOffset:x},F[b]),_);return P}function uv(e){return Math.round(e*1e5)/1e5}var fv=!1;function $4(e){return process.env.NODE_ENV!=="production"&&(fv||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://mui.com/r/migration-v4/#theme for a migration path."].join(`
|
|
1811
|
+
`)),fv=!0)),uv(e)}var pv={textTransform:"uppercase"},mv='"Roboto", "Helvetica", "Arial", sans-serif';function x4(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?mv:n,a=r.fontSize,i=a===void 0?14:a,s=r.fontWeightLight,c=s===void 0?300:s,u=r.fontWeightRegular,d=u===void 0?400:u,f=r.fontWeightMedium,p=f===void 0?500:f,m=r.fontWeightBold,b=m===void 0?700:m,g=r.htmlFontSize,v=g===void 0?16:g,$=r.allVariants,x=r.pxToRem,_=ut(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("Material-UI: `fontSize` is required to be a number."),typeof v!="number"&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var y=i/14,M=x||function(w){return"".concat(w/v*y,"rem")},F=function(O,K,k,j,S){return D({fontFamily:o,fontWeight:O,fontSize:M(K),lineHeight:k},o===mv?{letterSpacing:"".concat(uv(j/K),"em")}:{},S,$)},P={h1:F(c,96,1.167,-1.5),h2:F(c,60,1.2,-.5),h3:F(d,48,1.167,0),h4:F(d,34,1.235,.25),h5:F(d,24,1.334,0),h6:F(p,20,1.6,.15),subtitle1:F(d,16,1.75,.15),subtitle2:F(p,14,1.57,.1),body1:F(d,16,1.5,.15),body2:F(d,14,1.43,.15),button:F(p,14,1.75,.4,pv),caption:F(d,12,1.66,.4),overline:F(d,12,2.66,1,pv)};return Or(D({htmlFontSize:v,pxToRem:M,round:$4,fontFamily:o,fontSize:i,fontWeightLight:c,fontWeightRegular:d,fontWeightMedium:p,fontWeightBold:b},P),_,{clone:!1})}var _4=.2,w4=.14,E4=.12;function xe(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(_4,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(w4,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(E4,")")].join(",")}var P4=["none",xe(0,2,1,-1,0,1,1,0,0,1,3,0),xe(0,3,1,-2,0,2,2,0,0,1,5,0),xe(0,3,3,-2,0,3,4,0,0,1,8,0),xe(0,2,4,-1,0,4,5,0,0,1,10,0),xe(0,3,5,-1,0,5,8,0,0,1,14,0),xe(0,3,5,-1,0,6,10,0,0,1,18,0),xe(0,4,5,-2,0,7,10,1,0,2,16,1),xe(0,5,5,-3,0,8,10,1,0,3,14,2),xe(0,5,6,-3,0,9,12,1,0,3,16,2),xe(0,6,6,-3,0,10,14,1,0,4,18,3),xe(0,6,7,-4,0,11,15,1,0,4,20,3),xe(0,7,8,-4,0,12,17,2,0,5,22,4),xe(0,7,8,-4,0,13,19,2,0,5,24,4),xe(0,7,9,-4,0,14,21,2,0,5,26,4),xe(0,8,9,-5,0,15,22,2,0,6,28,5),xe(0,8,10,-5,0,16,24,2,0,6,30,5),xe(0,8,11,-5,0,17,26,2,0,6,32,5),xe(0,9,11,-5,0,18,28,2,0,7,34,6),xe(0,9,12,-6,0,19,29,2,0,7,36,6),xe(0,10,13,-6,0,20,31,3,0,8,38,7),xe(0,10,13,-6,0,21,33,3,0,8,40,7),xe(0,10,14,-6,0,22,35,3,0,8,42,7),xe(0,11,14,-7,0,23,36,3,0,9,44,8),xe(0,11,15,-7,0,24,38,3,0,9,46,8)];const D4=P4;var S4={borderRadius:4};const T4=S4;var k4=process.env.NODE_ENV!=="production"?me.oneOfType([me.number,me.string,me.object,me.array]):{};const C4=k4;var O4=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function I4(e){var t=e.spacing||8;return typeof t=="number"?function(r){return process.env.NODE_ENV!=="production"&&typeof r!="number"&&console.error("Material-UI: Expected spacing argument to be a number, got ".concat(r,".")),t*r}:Array.isArray(t)?function(r){return process.env.NODE_ENV!=="production"&&r>t.length-1&&console.error(["Material-UI: The value provided (".concat(r,") overflows."),"The supported values are: ".concat(JSON.stringify(t),"."),"".concat(r," > ").concat(t.length-1,", you need to add the missing values.")].join(`
|
|
1912
1812
|
`)),t[r]}:typeof t=="function"?t:(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `theme.spacing` value (".concat(t,") is invalid."),"It should be a number, an array or a function."].join(`
|
|
1913
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1914
|
-
`)),
|
|
1915
|
-
`)),
|
|
1916
|
-
`))},[t]);var p=
|
|
1917
|
-
`))},[JSON.stringify(r)])}var b=
|
|
1813
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&O4.reduce(function(e,t){return e[t]=C4,e},{});var hv;function A4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=I4({spacing:e}),r=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return process.env.NODE_ENV!=="production"&&(a.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(a.length))),a.length===0?t(1):a.length===1?t(a[0]):a.map(function(s){if(typeof s=="string")return s;var c=t(s);return typeof c=="number"?"".concat(c,"px"):c}).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return process.env.NODE_ENV!=="production"&&((!hv||process.env.NODE_ENV==="test")&&console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join(`
|
|
1814
|
+
`)),hv=!0),e}}),r.mui=!0,r}var bv={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)"},gv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vv(e){return"".concat(Math.round(e),"ms")}const M4={easing:bv,duration:gv,create:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.duration,o=n===void 0?gv.standard:n,a=r.easing,i=a===void 0?bv.easeInOut:a,s=r.delay,c=s===void 0?0:s,u=ut(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var d=function(m){return typeof m=="string"},f=function(m){return!isNaN(parseFloat(m))};!d(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!f(o)&&!d(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),d(i)||console.error('Material-UI: Argument "easing" must be a string.'),!f(c)&&!d(c)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(u).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(u).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(p){return"".concat(p," ").concat(typeof o=="string"?o:vv(o)," ").concat(i," ").concat(typeof c=="string"?c:vv(c))}).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var r=t/36;return Math.round((4+15*Math.pow(r,.25)+r/5)*10)}};var N4={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const F4=N4;function z4(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.breakpoints,r=t===void 0?{}:t,n=e.mixins,o=n===void 0?{}:n,a=e.palette,i=a===void 0?{}:a,s=e.spacing,c=e.typography,u=c===void 0?{}:c,d=ut(e,["breakpoints","mixins","palette","spacing","typography"]),f=y4(i),p=a4(r),m=A4(s),b=Or({breakpoints:p,direction:"ltr",mixins:i4(p,m,o),overrides:{},palette:f,props:{},shadows:D4,typography:x4(f,u),spacing:m,shape:T4,transitions:M4,zIndex:F4},d),g=arguments.length,v=new Array(g>1?g-1:0),$=1;$<g;$++)v[$-1]=arguments[$];if(b=v.reduce(function(y,M){return Or(y,M)},b),process.env.NODE_ENV!=="production"){var x=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],_=function y(M,F){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,w;for(w in M){var O=M[w];P===1?w.indexOf("Mui")===0&&O&&y(O,w,P+1):x.indexOf(w)!==-1&&Object.keys(O).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(F,"` component increases ")+"the CSS specificity of the `".concat(w,"` internal state."),"You can not override it like this: ",JSON.stringify(M,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:vn({},"&$".concat(w),O)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1815
|
+
`)),M[w]={})}};_(b.overrides)}return b}var L4=z4();const K4=L4;function j4(e,t){return o4(e,D({defaultTheme:K4},t))}var V4=function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}},Hl=H.forwardRef(function(t,r){var n=t.children,o=t.classes,a=t.className,i=t.color,s=i===void 0?"inherit":i,c=t.component,u=c===void 0?"svg":c,d=t.fontSize,f=d===void 0?"medium":d,p=t.htmlColor,m=t.titleAccess,b=t.viewBox,g=b===void 0?"0 0 24 24":b,v=ut(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return H.createElement(u,D({className:Gn(o.root,a,s!=="inherit"&&o["color".concat(il(s))],f!=="default"&&f!=="medium"&&o["fontSize".concat(il(f))]),focusable:"false",viewBox:g,color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},v),n,m?H.createElement("title",null,m):null)});process.env.NODE_ENV!=="production"&&(Hl.propTypes={children:me.node,classes:me.object,className:me.string,color:me.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:me.elementType,fontSize:sg(me.oneOf(["default","inherit","large","medium","small"]),function(e){var t=e.fontSize;if(t==="default")throw new Error('Material-UI: `fontSize="default"` is deprecated. Use `fontSize="medium"` instead.');return null}),htmlColor:me.string,shapeRendering:me.string,titleAccess:me.string,viewBox:me.string}),Hl.muiName="SvgIcon";const yv=j4(V4,{name:"MuiSvgIcon"})(Hl);function B4(e,t){var r=function(o,a){return l.createElement(yv,D({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=yv.muiName,l.memo(l.forwardRef(r))}function R4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:166,r;function n(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=this,c=function(){e.apply(s,a)};clearTimeout(r),r=setTimeout(c,t)}return n.clear=function(){clearTimeout(r)},n}function W4(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(r,n,o,a,i){var s=o||"<<anonymous>>",c=i||n;return typeof r[n]<"u"?new Error("The ".concat(a," `").concat(c,"` of ")+"`".concat(s,"` is deprecated. ").concat(t)):null}}function U4(e,t){return H.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function $v(e){return e&&e.ownerDocument||document}function H4(e){var t=$v(e);return t.defaultView||window}function G4(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,a,i,s,c){var u=c||a;return typeof o[a]<"u"&&!o[n]?new Error("The prop `".concat(u,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function Gl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Y4(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;var a=o||t;return typeof e[t]<"u"?new Error("The prop `".concat(a,"` is not supported. Please remove it.")):null}function q4(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,a=o===void 0?"value":o,i=H.useRef(t!==void 0),s=i.current,c=H.useState(r),u=c[0],d=c[1],f=s?t:u;if(process.env.NODE_ENV!=="production"){H.useEffect(function(){s!==(t!==void 0)&&console.error(["Material-UI: A component is changing the ".concat(s?"":"un","controlled ").concat(a," state of ").concat(n," to be ").concat(s?"un":"","controlled."),"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled ".concat(n," ")+"element for the lifetime of the component.","The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
1816
|
+
`))},[t]);var p=H.useRef(r),m=p.current;H.useEffect(function(){!s&&m!==r&&console.error(["Material-UI: A component is changing the default ".concat(a," state of an uncontrolled ").concat(n," after being initialized. ")+"To suppress this warning opt to use a controlled ".concat(n,".")].join(`
|
|
1817
|
+
`))},[JSON.stringify(r)])}var b=H.useCallback(function(g){s||d(g)},[]);return[f,b]}var Z4=typeof window<"u"?H.useLayoutEffect:H.useEffect;function X4(e){var t=H.useRef(e);return Z4(function(){t.current=e}),H.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function J4(e,t){return H.useMemo(function(){return e==null&&t==null?null:function(r){Gl(e,r),Gl(t,r)}},[e,t])}function Q4(e){var t=H.useState(e),r=t[0],n=t[1],o=e||r;return H.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var oa=!0,Yl=!1,xv=null,eC={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function tC(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&eC[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rC(e){e.metaKey||e.altKey||e.ctrlKey||(oa=!0)}function ql(){oa=!1}function nC(){this.visibilityState==="hidden"&&Yl&&(oa=!0)}function oC(e){e.addEventListener("keydown",rC,!0),e.addEventListener("mousedown",ql,!0),e.addEventListener("pointerdown",ql,!0),e.addEventListener("touchstart",ql,!0),e.addEventListener("visibilitychange",nC,!0)}function _v(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return oa||tC(t)}function aC(){Yl=!0,window.clearTimeout(xv),xv=window.setTimeout(function(){Yl=!1},100)}function iC(){var e=H.useCallback(function(t){var r=dc.findDOMNode(t);r!=null&&oC(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&H.useDebugValue(_v),{isFocusVisible:_v,onBlurVisible:aC,ref:e}}const sC=I$(Object.freeze(Object.defineProperty({__proto__:null,capitalize:il,createChainedFunction:Bk,createSvgIcon:B4,debounce:R4,deprecatedPropType:W4,isMuiElement:U4,ownerDocument:$v,ownerWindow:H4,requirePropFactory:G4,setRef:Gl,unstable_useId:Q4,unsupportedProp:Y4,useControlled:q4,useEventCallback:X4,useForkRef:J4,useIsFocusVisible:iC},Symbol.toStringTag,{value:"Module"})));var wv;function Ev(){return wv||(wv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=sC}(Xs)),Xs}var lC=qo,cC=Zo;Object.defineProperty(qs,"__esModule",{value:!0});var Pv=qs.default=void 0,dC=cC(l),uC=lC(Ev()),fC=(0,uC.default)(dC.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");Pv=qs.default=fC;var Zl={},pC=qo,mC=Zo;Object.defineProperty(Zl,"__esModule",{value:!0});var Dv=Zl.default=void 0,hC=mC(l),bC=pC(Ev()),gC=(0,bC.default)(hC.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");Dv=Zl.default=gC;const vC=C.div`
|
|
1918
1818
|
--border-color: ${h.color_outline_secondary_enabled};
|
|
1919
1819
|
|
|
1920
1820
|
border-radius: ${h.border_radius_400};
|
|
@@ -1945,7 +1845,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1945
1845
|
font-size: 1rem;
|
|
1946
1846
|
fill: ${h.color_text_weak};
|
|
1947
1847
|
}
|
|
1948
|
-
`,
|
|
1848
|
+
`,yC=C(mm)`
|
|
1949
1849
|
all: unset;
|
|
1950
1850
|
position: absolute;
|
|
1951
1851
|
right: 10px;
|
|
@@ -1966,7 +1866,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1966
1866
|
line-height: 1;
|
|
1967
1867
|
font-size: ${h.font_size_50};
|
|
1968
1868
|
}
|
|
1969
|
-
|
|
1869
|
+
`,$C=C(sn)`
|
|
1970
1870
|
padding-left: 32px;
|
|
1971
1871
|
width: 100%;
|
|
1972
1872
|
|
|
@@ -1978,7 +1878,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1978
1878
|
&::-webkit-search-results-decoration {
|
|
1979
1879
|
-webkit-appearance: none;
|
|
1980
1880
|
}
|
|
1981
|
-
`,
|
|
1881
|
+
`,Sv=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:a,readOnly:i,required:s,hideLabel:c,onChange:u,onClear:d,onSubmit:f,...p}=e,m={label:r,placeholder:o,onClear:d,onSubmit:f,onChange:u,isDisabled:a,isReadOnly:i,isRequired:s},b=Pk(m),g=lt(t),{labelProps:v,inputProps:$,clearButtonProps:x}=Sk(m,b,g);return re(er,{children:[T(He,{...v,srOnly:c,children:r}),re(vC,{children:[T(Pv,{}),T($C,{...$,ref:g,placeholder:o,paddingSize:n,...p}),b.value!==""&&T(yC,{...x,children:T(Dv,{})})]})]})});Sv.displayName="Search";const Tv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const r=l.forwardRef((n,o)=>{const{asChild:a,...i}=n,s=a?Se:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,D({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),kv="Switch",[xC,VO]=Ce(kv),[_C,wC]=xC(kv),EC=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:u,...d}=e,[f,p]=l.useState(null),m=le(t,x=>p(x)),b=l.useRef(!1),g=f?Boolean(f.closest("form")):!0,[v=!1,$]=et({prop:o,defaultProp:a,onChange:u});return l.createElement(_C,{scope:r,checked:v,disabled:s},l.createElement(Tv.button,D({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":Cv(v),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:U(e.onClick,x=>{$(_=>!_),g&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})})),g&&l.createElement(SC,{control:f,bubbles:!b.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),PC="SwitchThumb",DC=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=wC(PC,r);return l.createElement(Tv.span,D({"data-state":Cv(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),SC=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=qi(r),s=fr(t);return l.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==r&&f){const p=new Event("click",{bubbles:n});f.call(c,r),c.dispatchEvent(p)}},[i,r,n]),l.createElement("input",D({type:"checkbox","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Cv(e){return e?"checked":"unchecked"}const TC=EC,kC=DC,CC=C(TC)`
|
|
1982
1882
|
all: unset;
|
|
1983
1883
|
width: 40px;
|
|
1984
1884
|
height: 24px;
|
|
@@ -2018,7 +1918,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2018
1918
|
&[aria-checked='true']:active {
|
|
2019
1919
|
background-color: ${h.color_fill_primary_pressed};
|
|
2020
1920
|
}
|
|
2021
|
-
`,
|
|
1921
|
+
`,OC=C(kC)`
|
|
2022
1922
|
--thumb-width: 18px;
|
|
2023
1923
|
display: block;
|
|
2024
1924
|
width: var(--thumb-width);
|
|
@@ -2037,26 +1937,26 @@ const theme2 = createTheme({ palette: {
|
|
|
2037
1937
|
&[data-state~='checked'] {
|
|
2038
1938
|
transform: translateX(19px);
|
|
2039
1939
|
}
|
|
2040
|
-
`,
|
|
1940
|
+
`,Ov=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=xm(r);return T(CC,{...n,...o,ref:t,children:T(OC,{})})});Ov.displayName="Switch";const aa=C.h1`
|
|
2041
1941
|
font-family: ${h.font_family_inter_display};
|
|
2042
1942
|
font-style: normal;
|
|
2043
1943
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
2044
1944
|
margin: 0;
|
|
2045
1945
|
padding-inline: 0;
|
|
2046
1946
|
color: ${h.color_text_strong};
|
|
2047
|
-
`,
|
|
1947
|
+
`,IC=C(aa)`
|
|
2048
1948
|
font-size: ${h.font_size_title_large};
|
|
2049
1949
|
letter-spacing: ${h.letter_spacing_title_large};
|
|
2050
|
-
`,
|
|
1950
|
+
`,AC=C(aa)`
|
|
2051
1951
|
font-size: ${h.font_size_title_medium};
|
|
2052
1952
|
letter-spacing: ${h.letter_spacing_title_medium};
|
|
2053
|
-
`,
|
|
1953
|
+
`,MC=C(aa)`
|
|
2054
1954
|
font-size: ${h.font_size_title_small};
|
|
2055
1955
|
letter-spacing: ${h.letter_spacing_title_small};
|
|
2056
|
-
`,
|
|
1956
|
+
`,NC={xsmall:C(aa)`
|
|
2057
1957
|
font-size: ${h.font_size_title_xsmall};
|
|
2058
1958
|
letter-spacing: ${h.letter_spacing_title_xsmall};
|
|
2059
|
-
`,small:rI,medium:tI,large:eI},w$=l.forwardRef((e,t)=>{const{children:r,size:n="medium",as:o,className:a,...i}=e,s=nI[n];return k(s,{...i,as:o,ref:t,className:a,children:r})});w$.displayName="Title";function _$(e){return null}_$.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:oI(t),*childNodes(){if(n)for(let c of n)yield{type:"item",value:c};else if(o){let c=[];l.Children.forEach(a,u=>{c.push({type:"item",element:u})}),yield*c}}}};function oI(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let Ia=_$;function E$(e){return null}E$.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];l.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let pc=E$;class aI{build(t,r){return this.context=r,P$(()=>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 o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let c of s)a++,yield c}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let c=this.cache.get(t.value);if(c&&(!c.shouldInvalidate||!c.shouldInvalidate(this.context))){c.index=t.index,c.parentKey=o?o.key:null,yield c;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let c=a.type;if(typeof c!="function"&&typeof c.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let u=c.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let p=f.value;t.index=d;let m=p.key;m||(m=p.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...p,key:m,index:d,wrapper:iI(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=p.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${mc(v.type)}> in <${mc(o.type)}>. Only <${mc(t.type)}> is supported.`);d++,yield v}f=u.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.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:P$(function*(){if(!t.hasChildNodes)return;let c=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=c;let d=i.getFullNode(u,i.getChildState(r,u),s.key,s);for(let f of d)c++,yield f}})};yield s}constructor(){yr(this,"cache",new WeakMap)}}function P$(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 iI(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function mc(e){return e[0].toUpperCase()+e.slice(1)}function sI(e,t,r,n=[]){let o=l.useMemo(()=>new aI,[]),a=l.useRef(null);return l.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const S$=new WeakMap;function D$(e){let t=S$.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=D$(r.childNodes):t++;return S$.set(e,t),t}function T$(e){return yE()?e.altKey:e.ctrlKey}function Wr(e){return Qt()?e.metaKey:e.ctrlKey}const lI=1e3;function hc(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=cI(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let c=t.getKeyForSearch(o.search,r.focusedKey);c==null&&(c=t.getKeyForSearch(o.search)),c!=null&&(r.setFocusedKey(c),n&&n(c)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},lI)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function cI(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function dI(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n}=e,{direction:b}=ut(),g=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const _=(D,I)=>{D!=null&&(t.setFocusedKey(D,I),P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(D):c&&!T$(P)&&t.replaceSelection(D))};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var O,L;P.preventDefault();let D=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r);D==null&&a&&(D=(L=r.getFirstKey)===null||L===void 0?void 0:L.call(r,t.focusedKey)),_(D)}break;case"ArrowUp":if(r.getKeyAbove){var T,K;P.preventDefault();let D=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);D==null&&a&&(D=(K=r.getLastKey)===null||K===void 0?void 0:K.call(r,t.focusedKey)),_(D)}break;case"ArrowLeft":if(r.getKeyLeftOf){P.preventDefault();let D=r.getKeyLeftOf(t.focusedKey);_(D,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){P.preventDefault();let D=r.getKeyRightOf(t.focusedKey);_(D,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let D=r.getFirstKey(t.focusedKey,Wr(P));t.setFocusedKey(D),Wr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(D):c&&t.replaceSelection(D)}break;case"End":if(r.getLastKey){P.preventDefault();let D=r.getLastKey(t.focusedKey,Wr(P));t.setFocusedKey(D),Wr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(D):c&&t.replaceSelection(D)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let D=r.getKeyPageBelow(t.focusedKey);_(D)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let D=r.getKeyPageAbove(t.focusedKey);_(D)}break;case"a":Wr(P)&&t.selectionMode==="multiple"&&s!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":P.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let D=qe(n.current,{tabbable:!0}),I,q;do q=D.lastChild(),q&&(I=q);while(q);I&&!I.contains(document.activeElement)&&It(I)}break}}},v=l.useRef({top:0,left:0});vo(m,"scroll",p?null:()=>{v.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let y=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 L=K=>{K!=null&&(t.setFocusedKey(K),c&&t.replaceSelection(K))},T=P.relatedTarget;var _,O;T&&P.currentTarget.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_FOLLOWING?L((_=t.lastSelectedKey)!==null&&_!==void 0?_:r.getLastKey()):L((O=t.firstSelectedKey)!==null&&O!==void 0?O:r.getFirstKey())}else if(!p){m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left;let L=m.current.querySelector(`[data-key="${t.focusedKey}"]`);L&&(It(L),vi(m.current,L))}}},x=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const w=l.useRef(o);l.useEffect(()=>{if(w.current){let P=null;o==="first"&&(P=r.getFirstKey()),o==="last"&&(P=r.getLastKey());let _=t.selectedKeys;_.size&&(P=_.values().next().value),t.setFocused(!0),t.setFocusedKey(P),P==null&&!d&&Po(n.current)}w.current=!1},[]),l.useEffect(()=>{if(!p&&t.focusedKey&&(m!=null&&m.current)){let P=m.current.querySelector(`[data-key="${t.focusedKey}"]`);P&&(vi(m.current,P),iu(P,{containingElement:n.current}))}},[p,m,t.focusedKey,n]);let $={onKeyDown:g,onFocus:y,onBlur:x,onMouseDown(P){m.current===P.target&&P.preventDefault()}},{typeSelectProps:A}=hc({keyboardDelegate:r,selectionManager:t});u||($=pe(A,$));let N;return d||(N=t.focusedKey==null?0:-1),{collectionProps:{...$,tabIndex:N}}}function uI(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:c,onAction:u,allowsDifferentPressOrigin:d}=e,f=K=>{if(K.pointerType==="keyboard"&&T$(K))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):K&&K.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||K&&(Wr(K)||K.pointerType==="touch"||K.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():Po(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),c=c||t.isDisabled(r);let p={};!i&&!c?p={tabIndex:r===t.focusedKey?0:-1,onFocus(K){K.target===n.current&&t.setFocusedKey(r)}}:c&&(p.onMouseDown=K=>{K.preventDefault()});let m=!c&&t.canSelectItem(r),b=u&&!c,g=b&&(t.selectionBehavior==="replace"?!m:t.isEmpty),v=b&&m&&t.selectionBehavior==="replace",y=g||v,x=l.useRef(null),w=y&&m,$=l.useRef(!1),A=l.useRef(!1),N={};o?(N.onPressStart=K=>{x.current=K.pointerType,$.current=w,K.pointerType==="keyboard"&&(!y||C$())&&f(K)},d?(N.onPressUp=K=>{K.pointerType!=="keyboard"&&f(K)},N.onPress=g?()=>u():null):N.onPress=K=>{if(g||v&&K.pointerType!=="mouse"){if(K.pointerType==="keyboard"&&!k$())return;u()}else K.pointerType!=="keyboard"&&f(K)}):(N.onPressStart=K=>{x.current=K.pointerType,$.current=w,A.current=g,(K.pointerType==="mouse"&&!g||K.pointerType==="keyboard"&&(!u||C$()))&&f(K)},N.onPress=K=>{(K.pointerType==="touch"||K.pointerType==="pen"||K.pointerType==="virtual"||K.pointerType==="keyboard"&&y&&k$()||K.pointerType==="mouse"&&A.current)&&(y?u():f(K))}),a||(p["data-key"]=r),N.preventFocusOnPress=i;let{pressProps:P,isPressed:_}=wr(N),O=v?K=>{x.current==="mouse"&&(K.stopPropagation(),K.preventDefault(),u())}:void 0,{longPressProps:L}=$u({isDisabled:!w,onLongPress(K){K.pointerType==="touch"&&(f(K),t.setSelectionBehavior("toggle"))}});return{itemProps:pe(p,m||g?P:{},w?L:{},{onDoubleClick:O,onDragStartCapture:K=>{x.current==="touch"&&$.current&&K.preventDefault()}}),isPressed:_,isSelected:t.isSelected(r),isDisabled:c,allowsSelection:m,hasAction:y}}function k$(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function C$(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class bc{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function fI(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:c,disallowEmptySelection:u,selectOnFocus:d=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m}=e,b=Vo({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new bc(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:y}=dI({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m,isVirtualized:c,scrollRef:o});return{listProps:y}}const gc=new WeakMap;function pI(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function mI(e,t){let r=gc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${pI(t)}`}function O$(e,t,r){let n=vt(e,{labelable:!0}),{listProps:o}=fI({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=Pr({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=Je(e.id);gc.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=Xf({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:pe(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...pe(c,o)})}}function I$(e,t,r){let{key:n}=e,o=gc.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),u=t.selectionManager.focusedKey===n;var d;let f=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:o.shouldSelectOnPressUp;var p;let m=(p=e.shouldFocusOnHover)!==null&&p!==void 0?p:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let y=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,x=bo(),w=bo(),$={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};Qt()&&xE()||($["aria-label"]=e["aria-label"],$["aria-labelledby"]=x,$["aria-describedby"]=w),y&&($["aria-posinset"]=t.collection.getItem(n).index+1,$["aria-setsize"]=D$(t.collection));let{itemProps:A,isPressed:N,hasAction:P,allowsSelection:_}=uI({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&m,isVirtualized:y,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:O}=KE({isDisabled:i||!m,onHoverStart(){Si()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...$,...pe(A,O),id:mI(t,n)},labelProps:{id:x},descriptionProps:{id:w},isFocused:u,isSelected:c,isDisabled:i,isPressed:N,allowsSelection:_,hasAction:P}}const A$=C.ul`
|
|
1959
|
+
`,small:MC,medium:AC,large:IC},Iv=l.forwardRef((e,t)=>{const{children:r,size:n="medium",as:o,className:a,...i}=e,s=NC[n];return T(s,{...i,as:o,ref:t,className:a,children:r})});Iv.displayName="Title";function Av(e){return null}Av.getCollectionNode=function*(t,r){let{childItems:n,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:FC(t),*childNodes(){if(n)for(let c of n)yield{type:"item",value:c};else if(o){let c=[];l.Children.forEach(a,u=>{c.push({type:"item",element:u})}),yield*c}}}};function FC(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0)}let ia=Av;function Mv(e){return null}Mv.getCollectionNode=function*(t){let{children:r,title:n,items:o}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];l.Children.forEach(r,i=>{a.push({type:"item",element:i})}),yield*a}}}};let Xl=Mv;class zC{build(t,r){return this.context=r,Nv(()=>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 o of t.items)yield*this.getFullNode({value:o},{renderer:r})}else{let o=[];l.Children.forEach(r,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let c of s)a++,yield c}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){let a=t.element;if(!a&&t.value&&r&&r.renderer){let c=this.cache.get(t.value);if(c&&(!c.shouldInvalidate||!c.shouldInvalidate(this.context))){c.index=t.index,c.parentKey=o?o.key:null,yield c;return}a=r.renderer(t.value)}if(l.isValidElement(a)){let c=a.type;if(typeof c!="function"&&typeof c.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let u=c.getCollectionNode(a.props,this.context),d=t.index,f=u.next();for(;!f.done&&f.value;){let p=f.value;t.index=d;let m=p.key;m||(m=p.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...p,key:m,index:d,wrapper:LC(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let v of g){if(v.value=p.value||t.value,v.value&&this.cache.set(v.value,v),t.type&&v.type!==t.type)throw new Error(`Unsupported type <${Jl(v.type)}> in <${Jl(o.type)}>. Only <${Jl(t.type)}> is supported.`);d++,yield v}f=u.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.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:Nv(function*(){if(!t.hasChildNodes)return;let c=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=c;let d=i.getFullNode(u,i.getChildState(r,u),s.key,s);for(let f of d)c++,yield f}})};yield s}constructor(){hr(this,"cache",new WeakMap)}}function Nv(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 LC(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Jl(e){return e[0].toUpperCase()+e.slice(1)}function KC(e,t,r,n=[]){let o=l.useMemo(()=>new zC,[]),a=l.useRef(null);return l.useMemo(()=>{let i=o.build(e,r);return a.current=t(i,a.current),a.current},[o,e.children,e.items,r,...n])}const Fv=new WeakMap;function zv(e){let t=Fv.get(e);if(t!=null)return t;t=0;for(let r of e)r.type==="section"?t+=zv(r.childNodes):t++;return Fv.set(e,t),t}function Lv(e){return Cw()?e.altKey:e.ctrlKey}function zr(e){return qt()?e.metaKey:e.ctrlKey}const jC=1e3;function Ql(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=l.useRef({search:"",timeout:null}).current,a=i=>{let s=VC(i.key);if(!s||i.ctrlKey||i.metaKey)return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let c=t.getKeyForSearch(o.search,r.focusedKey);c==null&&(c=t.getKeyForSearch(o.search)),c!=null&&(r.setFocusedKey(c),n&&n(c)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},jC)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function VC(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function BC(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n}=e,{direction:b}=ct(),g=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!n.current.contains(P.target))return;const w=(S,I)=>{S!=null&&(t.setFocusedKey(S,I),P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&!Lv(P)&&t.replaceSelection(S))};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var O,K;P.preventDefault();let S=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r);S==null&&a&&(S=(K=r.getFirstKey)===null||K===void 0?void 0:K.call(r,t.focusedKey)),w(S)}break;case"ArrowUp":if(r.getKeyAbove){var k,j;P.preventDefault();let S=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(k=r.getLastKey)===null||k===void 0?void 0:k.call(r);S==null&&a&&(S=(j=r.getLastKey)===null||j===void 0?void 0:j.call(r,t.focusedKey)),w(S)}break;case"ArrowLeft":if(r.getKeyLeftOf){P.preventDefault();let S=r.getKeyLeftOf(t.focusedKey);w(S,b==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){P.preventDefault();let S=r.getKeyRightOf(t.focusedKey);w(S,b==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){P.preventDefault();let S=r.getFirstKey(t.focusedKey,zr(P));t.setFocusedKey(S),zr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"End":if(r.getLastKey){P.preventDefault();let S=r.getLastKey(t.focusedKey,zr(P));t.setFocusedKey(S),zr(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(S):c&&t.replaceSelection(S)}break;case"PageDown":if(r.getKeyPageBelow){P.preventDefault();let S=r.getKeyPageBelow(t.focusedKey);w(S)}break;case"PageUp":if(r.getKeyPageAbove){P.preventDefault();let S=r.getKeyPageAbove(t.focusedKey);w(S)}break;case"a":zr(P)&&t.selectionMode==="multiple"&&s!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":P.preventDefault(),i||t.clearSelection();break;case"Tab":if(!f){if(P.shiftKey)n.current.focus();else{let S=Be(n.current,{tabbable:!0}),I,J;do J=S.lastChild(),J&&(I=J);while(J);I&&!I.contains(document.activeElement)&&kt(I)}break}}},v=l.useRef({top:0,left:0});Xn(m,"scroll",p?null:()=>{v.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let $=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 K=j=>{j!=null&&(t.setFocusedKey(j),c&&t.replaceSelection(j))},k=P.relatedTarget;var w,O;k&&P.currentTarget.compareDocumentPosition(k)&Node.DOCUMENT_POSITION_FOLLOWING?K((w=t.lastSelectedKey)!==null&&w!==void 0?w:r.getLastKey()):K((O=t.firstSelectedKey)!==null&&O!==void 0?O:r.getFirstKey())}else if(!p){m.current.scrollTop=v.current.top,m.current.scrollLeft=v.current.left;let K=m.current.querySelector(`[data-key="${t.focusedKey}"]`);K&&(kt(K),ai(m.current,K))}}},x=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const _=l.useRef(o);l.useEffect(()=>{if(_.current){let P=null;o==="first"&&(P=r.getFirstKey()),o==="last"&&(P=r.getLastKey());let w=t.selectedKeys;w.size&&(P=w.values().next().value),t.setFocused(!0),t.setFocusedKey(P),P==null&&!d&&oo(n.current)}_.current=!1},[]),l.useEffect(()=>{if(!p&&t.focusedKey&&(m!=null&&m.current)){let P=m.current.querySelector(`[data-key="${t.focusedKey}"]`);P&&(ai(m.current,P),Wd(P,{containingElement:n.current}))}},[p,m,t.focusedKey,n]);let y={onKeyDown:g,onFocus:$,onBlur:x,onMouseDown(P){m.current===P.target&&P.preventDefault()}},{typeSelectProps:M}=Ql({keyboardDelegate:r,selectionManager:t});u||(y=de(M,y));let F;return d||(F=t.focusedKey==null?0:-1),{collectionProps:{...y,tabIndex:F}}}function RC(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:o,isVirtualized:a,shouldUseVirtualFocus:i,focus:s,isDisabled:c,onAction:u,allowsDifferentPressOrigin:d}=e,f=j=>{if(j.pointerType==="keyboard"&&Lv(j))t.toggleSelection(r);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):j&&j.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||j&&(zr(j)||j.pointerType==="touch"||j.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};l.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&document.activeElement!==n.current&&(s?s():oo(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),c=c||t.isDisabled(r);let p={};!i&&!c?p={tabIndex:r===t.focusedKey?0:-1,onFocus(j){j.target===n.current&&t.setFocusedKey(r)}}:c&&(p.onMouseDown=j=>{j.preventDefault()});let m=!c&&t.canSelectItem(r),b=u&&!c,g=b&&(t.selectionBehavior==="replace"?!m:t.isEmpty),v=b&&m&&t.selectionBehavior==="replace",$=g||v,x=l.useRef(null),_=$&&m,y=l.useRef(!1),M=l.useRef(!1),F={};o?(F.onPressStart=j=>{x.current=j.pointerType,y.current=_,j.pointerType==="keyboard"&&(!$||jv())&&f(j)},d?(F.onPressUp=j=>{j.pointerType!=="keyboard"&&f(j)},F.onPress=g?()=>u():null):F.onPress=j=>{if(g||v&&j.pointerType!=="mouse"){if(j.pointerType==="keyboard"&&!Kv())return;u()}else j.pointerType!=="keyboard"&&f(j)}):(F.onPressStart=j=>{x.current=j.pointerType,y.current=_,M.current=g,(j.pointerType==="mouse"&&!g||j.pointerType==="keyboard"&&(!u||jv()))&&f(j)},F.onPress=j=>{(j.pointerType==="touch"||j.pointerType==="pen"||j.pointerType==="virtual"||j.pointerType==="keyboard"&&$&&Kv()||j.pointerType==="mouse"&&M.current)&&($?u():f(j))}),a||(p["data-key"]=r),F.preventFocusOnPress=i;let{pressProps:P,isPressed:w}=gr(F),O=v?j=>{x.current==="mouse"&&(j.stopPropagation(),j.preventDefault(),u())}:void 0,{longPressProps:K}=nu({isDisabled:!_,onLongPress(j){j.pointerType==="touch"&&(f(j),t.setSelectionBehavior("toggle"))}});return{itemProps:de(p,m||g?P:{},_?K:{},{onDoubleClick:O,onDragStartCapture:j=>{x.current==="touch"&&y.current&&j.preventDefault()}}),isPressed:w,isSelected:t.isSelected(r),isDisabled:c,allowsSelection:m,hasAction:$}}function Kv(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function jv(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class ec{getKeyBelow(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getKeyAbove(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.max(0,n.offsetTop+n.offsetHeight-r.offsetHeight);for(;n&&n.offsetTop>o;)t=this.getKeyAbove(t),n=this.getItem(t);return t}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;let o=Math.min(r.scrollHeight,n.offsetTop-n.offsetHeight+r.offsetHeight);for(;n&&n.offsetTop<o;)t=this.getKeyBelow(t),n=this.getItem(t);return t}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o),i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(t,r,n,o){this.collection=t,this.disabledKeys=r,this.ref=n,this.collator=o}}function WC(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,autoFocus:i,shouldFocusWrap:s,isVirtualized:c,disallowEmptySelection:u,selectOnFocus:d=t.selectionBehavior==="replace",disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m}=e,b=$o({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=l.useMemo(()=>a||new ec(r,g==="selection"?new Set:n,o,b),[a,r,n,o,b,g]),{collectionProps:$}=BC({ref:o,selectionManager:t,keyboardDelegate:v,autoFocus:i,shouldFocusWrap:s,disallowEmptySelection:u,selectOnFocus:d,disallowTypeAhead:f,shouldUseVirtualFocus:p,allowsTabNavigation:m,isVirtualized:c,scrollRef:o});return{listProps:$}}const tc=new WeakMap;function UC(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function HC(e,t){let r=tc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${UC(t)}`}function Vv(e,t,r){let n=bt(e,{labelable:!0}),{listProps:o}=WC({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:a}=$r({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),i=We(e.id);tc.set(t,{id:i,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:s,fieldProps:c}=Nf({...e,id:i,labelElementType:"span"});return{labelProps:s,listBoxProps:de(n,a,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...de(c,o)})}}function Bv(e,t,r){let{key:n}=e,o=tc.get(t);var a;let i=(a=e.isDisabled)!==null&&a!==void 0?a:t.disabledKeys.has(n);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(n),u=t.selectionManager.focusedKey===n;var d;let f=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:o.shouldSelectOnPressUp;var p;let m=(p=e.shouldFocusOnHover)!==null&&p!==void 0?p:o.shouldFocusOnHover;var b;let g=(b=e.shouldUseVirtualFocus)!==null&&b!==void 0?b:o.shouldUseVirtualFocus;var v;let $=(v=e.isVirtualized)!==null&&v!==void 0?v:o.isVirtualized,x=qn(),_=qn(),y={role:"option","aria-disabled":i,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};qt()&&Ow()||(y["aria-label"]=e["aria-label"],y["aria-labelledby"]=x,y["aria-describedby"]=_),$&&(y["aria-posinset"]=t.collection.getItem(n).index+1,y["aria-setsize"]=zv(t.collection));let{itemProps:M,isPressed:F,hasAction:P,allowsSelection:w}=RC({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&m,isVirtualized:$,shouldUseVirtualFocus:g,isDisabled:i,onAction:o.onAction?()=>o.onAction(n):void 0}),{hoverProps:O}=qw({isDisabled:i||!m,onHoverStart(){pi()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}});return{optionProps:{...y,...de(M,O),id:HC(t,n)},labelProps:{id:x},descriptionProps:{id:_},isFocused:u,isSelected:c,isDisabled:i,isPressed:F,allowsSelection:w,hasAction:P}}const Rv=C.ul`
|
|
2060
1960
|
max-height: 300px;
|
|
2061
1961
|
overflow: auto;
|
|
2062
1962
|
list-style: none;
|
|
@@ -2064,7 +1964,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2064
1964
|
margin: 4px 0;
|
|
2065
1965
|
outline: none;
|
|
2066
1966
|
width: 100%;
|
|
2067
|
-
`,
|
|
1967
|
+
`,Wv=C.li`
|
|
2068
1968
|
all: unset;
|
|
2069
1969
|
background-color: ${e=>e.isFocused?h.color_background_white_weak:""};
|
|
2070
1970
|
font-size: ${h.font_size_100};
|
|
@@ -2081,20 +1981,20 @@ const theme2 = createTheme({ palette: {
|
|
|
2081
1981
|
padding: 7px ${h.sizing_200};
|
|
2082
1982
|
position: relative;
|
|
2083
1983
|
user-select: none;
|
|
2084
|
-
`,
|
|
1984
|
+
`,Uv=C.div`
|
|
2085
1985
|
display: flex;
|
|
2086
1986
|
align-items: center;
|
|
2087
1987
|
justify-content: space-between;
|
|
2088
1988
|
width: 100%;
|
|
2089
1989
|
padding: ${h.sizing_100};
|
|
2090
|
-
`,
|
|
1990
|
+
`,Hv=C.div`
|
|
2091
1991
|
width: 18px;
|
|
2092
1992
|
height: 18px;
|
|
2093
1993
|
margin-left: 8px;
|
|
2094
|
-
`;function
|
|
1994
|
+
`;function GC(e){const t=H.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Vv({...e,disallowEmptySelection:!0},n,r);return T(Rv,{...o,ref:r,children:[...n.collection].map(a=>T(qC,{item:a,state:n},a.key))})}function YC(e){const t=H.useRef(null),{listBoxRef:r=t,state:n}=e,{listBoxProps:o}=Vv({...e,disallowEmptySelection:!0},n,r);return T(Rv,{...o,ref:r,children:[...n.collection].map(a=>T(ZC,{item:a,state:n},a.key))})}const Gv=H.createContext({labelProps:{},descriptionProps:{}});function qC({item:e,state:t}){const r=H.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=Bv({key:e.key},t,r);return T(Wv,{...n,ref:r,isFocused:s,isSelected:i,children:T(Uv,{children:re(Gv.Provider,{value:{labelProps:o,descriptionProps:a},children:[T("span",{children:e.rendered}),T(Hv,{children:i&&T(ke.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})})}function ZC({item:e,state:t}){const r=H.useRef(null),{optionProps:n,labelProps:o,descriptionProps:a,isSelected:i,isFocused:s,isDisabled:c}=Bv({key:e.key},t,r);return re(Wv,{...n,ref:r,isFocused:s,isSelected:i,children:[T(To,{disabled:c,checked:i}),T(Uv,{children:re(Gv.Provider,{value:{labelProps:o,descriptionProps:a},children:[T("span",{children:e.rendered}),T(Hv,{children:i&&T(ke.Check,{"aria-hidden":"true",style:{width:18,height:18}})})]})})]})}C.div`
|
|
2095
1995
|
font-weight: normal;
|
|
2096
1996
|
font-size: 12px;
|
|
2097
|
-
`;const
|
|
1997
|
+
`;const XC=C.div`
|
|
2098
1998
|
z-index: 100;
|
|
2099
1999
|
min-width: 200px;
|
|
2100
2000
|
font-family: ${h.font_family_sans};
|
|
@@ -2102,9 +2002,9 @@ const theme2 = createTheme({ palette: {
|
|
|
2102
2002
|
background-color: ${h.color_white};
|
|
2103
2003
|
border-radius: ${h.border_radius_400};
|
|
2104
2004
|
box-shadow: ${h.elevation_static_high};
|
|
2105
|
-
`;function L$(e){const t=Q.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=x3({...e,popoverRef:r},o),u={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return ae(_3,{children:[!i&&k("div",{...c,style:{position:"fixed",inset:0}}),ae($I,{...s,style:u,ref:r,children:[!i&&k(ib,{onDismiss:o.close}),a,k(ib,{onDismiss:o.close})]})]})}function yI(e){return e&&e.__esModule?e.default:e}var K$={},V$={};V$={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var j$={};j$={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var B$={};B$={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var R$={};R$={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var W$={};W$={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var U$={};U$={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var H$={};H$={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var G$={};G$={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Y$={};Y$={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var q$={};q$={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Z$={};Z$={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var X$={};X$={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var J$={};J$={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Q$={};Q$={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var ey={};ey={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var ty={};ty={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var ry={};ry={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var ny={};ny={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var oy={};oy={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var ay={};ay={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var iy={};iy={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var sy={};sy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var ly={};ly={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var cy={};cy={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var dy={};dy={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var uy={};uy={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var fy={};fy={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var py={};py={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var my={};my={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var hy={};hy={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var by={};by={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var gy={};gy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var vy={};vy={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var $y={};$y={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},K$={"ar-AE":V$,"bg-BG":j$,"cs-CZ":B$,"da-DK":R$,"de-DE":W$,"el-GR":U$,"en-US":H$,"es-ES":G$,"et-EE":Y$,"fi-FI":q$,"fr-FR":Z$,"he-IL":X$,"hr-HR":J$,"hu-HU":Q$,"it-IT":ey,"ja-JP":ty,"ko-KR":ry,"lt-LT":ny,"lv-LV":oy,"nb-NO":ay,"nl-NL":iy,"pl-PL":sy,"pt-BR":ly,"pt-PT":cy,"ro-RO":dy,"ru-RU":uy,"sk-SK":fy,"sl-SI":py,"sr-SP":my,"sv-SE":hy,"tr-TR":by,"uk-UA":gy,"zh-CN":vy,"zh-TW":$y};function yy(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=Je(),{triggerProps:s,overlayProps:c}=h3({type:n},t,r),u=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&r&&r.current)switch(m.key){case"Enter":case" ":if(a==="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}},d=Nt(yI(K$)),{longPressProps:f}=$u({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?p:f,id:i,onKeyDown:u},menuProps:{...c,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function xI(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=Vo({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new bc(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=yy({isDisabled:o,type:"listbox"},t,r),u=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const y=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}case"ArrowRight":{v.preventDefault();const y=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();y&&t.setSelectedKeys([y]);break}}},{typeSelectProps:d}=hc({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:f,fieldProps:p}=fn({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const m=vt(e,{labelable:!0}),b=pe(d,s,p),g=Je();return{labelProps:{...f,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),hu("keyboard"))}},triggerProps:pe(m,{...b,onKeyDown:Jt(b.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...c,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function wI(e){let[t,r]=Zt(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function xy(e){let t=wI(e),[r,n]=l.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class st extends Set{constructor(t,r,n){super(t),t instanceof st?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function _I(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function EI(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),c=l.useRef(null),u=l.useRef(null),[,d]=l.useState(null),f=l.useMemo(()=>wy(e.selectedKeys),[e.selectedKeys]),p=l.useMemo(()=>wy(e.defaultSelectedKeys,new st),[e.defaultSelectedKeys]),[m,b]=Zt(f,p,e.onSelectionChange),g=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,y]=l.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.size===0&&y("replace");let x=l.useRef(o);return l.useEffect(()=>{o!==x.current&&(y(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:y,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return c.current},get childFocusStrategy(){return u.current},setFocusedKey(w,$="first"){c.current=w,u.current=$,d(w)},selectedKeys:m,setSelectedKeys(w){(n||!_I(w,m))&&b(w)},disabledKeys:g,disabledBehavior:a}}function wy(e,t){return e?e==="all"?"all":new st(e):t}class PI{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==null?void 0:n.index)<t.index)&&(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==null?void 0:n.index)>t.index)&&(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 st([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new st(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}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 st(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 st([t],t,t):new st;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new st;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 o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new st)}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){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let SI=Symbol.iterator;class _y{*[SI](){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])}constructor(t){yr(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function Ey(e){let{filter:t}=e,r=EI(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=u=>t?new _y(t(u)):new _y(u),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=sI(e,o,a,[t]),s=l.useMemo(()=>new PI(i,r),[i,r]);const c=l.useRef(null);return l.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const u=c.current.getItem(r.focusedKey),d=[...c.current.getKeys()].map(g=>{const v=c.current.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),f=[...i.getKeys()].map(g=>{const v=i.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),p=d.length-f.length;let m=Math.min(p>1?Math.max(u.index-p+1,0):u.index,f.length-1),b;for(;m>=0;){if(!s.isDisabled(f[m].key)){b=f[m];break}m<f.length-1?m++:(m>u.index&&(m=u.index),m--)}r.setFocusedKey(b?b.key:null)}c.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function DI(e){var t;let[r,n]=Zt(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=Ey({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{let d=u.values().next().value;d===r&&e.onSelectionChange&&e.onSelectionChange(d),n(d)}}),c=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:c}}function TI(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=Ey(e),s=[],c=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||s.push(u),d}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:c}}function kI(e){const[t,r]=l.useState(!1),n=xy(e),o=TI({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const CI=C.span`
|
|
2005
|
+
`;function Yv(e){const t=H.useRef(null),{popoverRef:r=t,triggerRef:n,state:o,children:a,isNonModal:i}=e,{popoverProps:s,underlayProps:c}=CS({...e,popoverRef:r},o),u={...s.style,width:n.current?`${n.current.offsetWidth}px`:"200px"};return re(IS,{children:[!i&&T("div",{...c,style:{position:"fixed",inset:0}}),re(XC,{...s,style:u,ref:r,children:[!i&&T(Uh,{onDismiss:o.close}),a,T(Uh,{onDismiss:o.close})]})]})}function JC(e){return e&&e.__esModule?e.default:e}var qv={},Zv={};Zv={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Xv={};Xv={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Jv={};Jv={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Qv={};Qv={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var ey={};ey={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var ty={};ty={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var ry={};ry={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var ny={};ny={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var oy={};oy={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var ay={};ay={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var iy={};iy={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var sy={};sy={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var ly={};ly={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var cy={};cy={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var dy={};dy={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var uy={};uy={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var fy={};fy={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var py={};py={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var my={};my={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var hy={};hy={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var by={};by={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var gy={};gy={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var vy={};vy={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var yy={};yy={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var $y={};$y={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var xy={};xy={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var _y={};_y={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var wy={};wy={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Ey={};Ey={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Py={};Py={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Dy={};Dy={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Sy={};Sy={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Ty={};Ty={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var ky={};ky={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"},qv={"ar-AE":Zv,"bg-BG":Xv,"cs-CZ":Jv,"da-DK":Qv,"de-DE":ey,"el-GR":ty,"en-US":ry,"es-ES":ny,"et-EE":oy,"fi-FI":ay,"fr-FR":iy,"he-IL":sy,"hr-HR":ly,"hu-HU":cy,"it-IT":dy,"ja-JP":uy,"ko-KR":fy,"lt-LT":py,"lv-LV":my,"nb-NO":hy,"nl-NL":by,"pl-PL":gy,"pt-BR":vy,"pt-PT":yy,"ro-RO":$y,"ru-RU":xy,"sk-SK":_y,"sl-SI":wy,"sr-SP":Ey,"sv-SE":Py,"tr-TR":Dy,"uk-UA":Sy,"zh-CN":Ty,"zh-TW":ky};function Cy(e,t,r){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,i=We(),{triggerProps:s,overlayProps:c}=ES({type:n},t,r),u=m=>{if(!o&&!(a==="longPress"&&!m.altKey)&&r&&r.current)switch(m.key){case"Enter":case" ":if(a==="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}},d=It(JC(qv)),{longPressProps:f}=nu({isDisabled:o||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!o&&t.toggle(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!o&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?p:f,id:i,onKeyDown:u},menuProps:{...c,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function QC(e,t,r){const{disallowEmptySelection:n,isDisabled:o}=e,a=$o({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>new ec(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=Cy({isDisabled:o,type:"listbox"},t,r),u=v=>{if(t.selectionMode==="single")switch(v.key){case"ArrowLeft":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyAbove(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}case"ArrowRight":{v.preventDefault();const $=t.selectedKeys.size>0?i.getKeyBelow(t.selectedKeys.values().next().value):i.getFirstKey();$&&t.setSelectedKeys([$]);break}}},{typeSelectProps:d}=Ql({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(v){t.setSelectedKeys([v])}}),{labelProps:f,fieldProps:p}=an({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const m=bt(e,{labelable:!0}),b=de(d,s,p),g=We();return{labelProps:{...f,onClick:()=>{var v;e.isDisabled||((v=r.current)==null||v.focus(),Qd("keyboard"))}},triggerProps:de(m,{...b,onKeyDown:Yt(b.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,g].filter(Boolean).join(" "),onFocus(v){t.isFocused||(e.onFocus&&e.onFocus(v),t.setFocused(!0))},onBlur(v){t.isOpen||(e.onBlur&&e.onBlur(v),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...c,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(e.onBlur&&e.onBlur(v),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function e2(e){let[t,r]=Ht(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:r,open(){r(!0)},close(){r(!1)},toggle(){r(!t)}}}function Oy(e){let t=e2(e),[r,n]=l.useState(null);return{focusStrategy:r,...t,open(o=null){n(o),t.open()},toggle(o=null){n(o),t.toggle()}}}class at extends Set{constructor(t,r,n){super(t),t instanceof at?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function t2(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function r2(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=l.useRef(!1),[,s]=l.useState(!1),c=l.useRef(null),u=l.useRef(null),[,d]=l.useState(null),f=l.useMemo(()=>Iy(e.selectedKeys),[e.selectedKeys]),p=l.useMemo(()=>Iy(e.defaultSelectedKeys,new at),[e.defaultSelectedKeys]),[m,b]=Ht(f,p,e.onSelectionChange),g=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,$]=l.useState(o);o==="replace"&&v==="toggle"&&typeof m=="object"&&m.size===0&&$("replace");let x=l.useRef(o);return l.useEffect(()=>{o!==x.current&&($(o),x.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:$,get isFocused(){return i.current},setFocused(_){i.current=_,s(_)},get focusedKey(){return c.current},get childFocusStrategy(){return u.current},setFocusedKey(_,y="first"){c.current=_,u.current=y,d(_)},selectedKeys:m,setSelectedKeys(_){(n||!t2(_,m))&&b(_)},disabledKeys:g,disabledBehavior:a}}function Iy(e,t){return e?e==="all"?"all":new at(e):t}class n2{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==null?void 0:n.index)<t.index)&&(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==null?void 0:n.index)>t.index)&&(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 at([t],t,t);else{let n=this.state.selectedKeys,o=n.anchorKey||t;r=new at(n,o,t);for(let a of this.getKeyRange(o,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?n.index<=o.index?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}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 at(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 at([t],t,t):new at;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new at;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 o=this.collection.getItem(n);o.type==="item"&&t.push(n),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&r([...o.childNodes][0].key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new at)}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){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,r,n){this.collection=t,this.state=r;var o;this.allowsCellSelection=(o=n==null?void 0:n.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}let o2=Symbol.iterator;class Ay{*[o2](){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])}constructor(t){hr(this,"keyMap",new Map),this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)r(i)};for(let a of t)r(a);let n,o=0;for(let[a,i]of this.keyMap)n?(n.nextKey=a,i.prevKey=n.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function My(e){let{filter:t}=e,r=r2(e),n=l.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=u=>t?new Ay(t(u)):new Ay(u),a=l.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=KC(e,o,a,[t]),s=l.useMemo(()=>new n2(i,r),[i,r]);const c=l.useRef(null);return l.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const u=c.current.getItem(r.focusedKey),d=[...c.current.getKeys()].map(g=>{const v=c.current.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),f=[...i.getKeys()].map(g=>{const v=i.getItem(g);return v.type==="item"?v:null}).filter(g=>g!==null),p=d.length-f.length;let m=Math.min(p>1?Math.max(u.index-p+1,0):u.index,f.length-1),b;for(;m>=0;){if(!s.isDisabled(f[m].key)){b=f[m];break}m<f.length-1?m++:(m>u.index&&(m=u.index),m--)}r.setFocusedKey(b?b.key:null)}c.current=i},[i,s,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:s}}function a2(e){var t;let[r,n]=Ht(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=l.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:i,selectionManager:s}=My({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{let d=u.values().next().value;d===r&&e.onSelectionChange&&e.onSelectionChange(d),n(d)}}),c=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:c}}function i2(e){const{collection:t,disabledKeys:r,selectionManager:n,selectionManager:{setSelectedKeys:o,selectedKeys:a,selectionMode:i}}=My(e),s=[],c=a.size!==0?Array.from(a).map(u=>{const d=t.getItem(u);return d||s.push(u),d}).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:o.bind(n),selectedItems:c}}function s2(e){const[t,r]=l.useState(!1),n=Oy(e),o=i2({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&(a==="all"?e.onSelectionChange(new Set(o.collection.getKeys())):e.onSelectionChange(a)),e.selectionMode==="single"&&n.close()}});return{...o,...n,close(){n.close()},open(){o.collection.size!==0&&n.open()},toggle(a){o.collection.size!==0&&n.toggle(a)},isFocused:t,setFocused:r}}const l2=C.span`
|
|
2106
2006
|
color: ${h.color_fill_secondary_enabled};
|
|
2107
|
-
`,
|
|
2007
|
+
`,c2=C(Gi.primary)`
|
|
2108
2008
|
display: flex;
|
|
2109
2009
|
align-items: center;
|
|
2110
2010
|
justify-content: space-between;
|
|
@@ -2153,65 +2053,65 @@ const theme2 = createTheme({ palette: {
|
|
|
2153
2053
|
&:disabled::placeholder {
|
|
2154
2054
|
color: ${h.color_fill_primary_disabled};
|
|
2155
2055
|
}
|
|
2156
|
-
`,
|
|
2157
|
-
|
|
2158
|
-
`,
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2056
|
+
`,rc=l.forwardRef((e,t)=>{const{autoFocus:r,className:n,excludeFromTabOrder:o,isClearable:a=!0,isDisabled:i,isSelectableAll:s=!1,label:c,placeholder:u="Select...",tooltipContent:d,tooltipIcon:f}=e,p=lt(t),m=!a,b=s2({...e,disallowEmptySelection:m}),{labelProps:g,triggerProps:v,valueProps:$,menuProps:x}=QC({...e,disallowEmptySelection:m},b,p),{buttonProps:_}=on({...v,autoFocus:r,excludeFromTabOrder:o,isDisabled:i},p),y=b.selectionManager.isSelectAll,M=!y&&!b.selectionManager.isEmpty,F=s,P=()=>b.selectionManager.toggleSelectAll(),w=O=>{var K;return T("span",{className:"truncate block",children:O.length>1?O.map(k=>k.textValue).join(", "):(K=O[0])==null?void 0:K.textValue})};return re(er,{className:Gn("select-wrapper",{"select-wrapper--open":b.isOpen},n),children:[c?re(He,{...g,children:[c,d?T(tr,{icon:f,children:d}):null]}):null,T(fE,{focusRingClass:"select--focused",autoFocus:r,children:re(c2,{..._,paddingSize:"small",type:"button",ref:p,children:[T("span",{...$,children:b.selectedItems?w(b.selectedItems):u}),T(l2,{children:T(ke.ArrowDropDown,{})})]})}),b.isOpen?re(Yv,{state:b,triggerRef:p,children:[F?re(F$,{children:[s?re(Er,{type:"button",onClick:P,children:[T(To,{checked:M?"indeterminate":y,tabIndex:-1}),"Select all"]}):null,T("div",{className:"select__divider"})]}):null,T(YC,{...x,state:b})]}):null]})});rc.displayName="MultiSelectComponent";const Ny=l.forwardRef(({options:e,...t},r)=>T(rc,{...t,items:e,ref:r,children:t.children?t.children:n=>n.children?T(Xl,{items:n.children,title:n.name,children:o=>T(ia,{textValue:o.textValue,children:o.name})},n.name):T(ia,{textValue:n.textValue,children:n.name})}));Ny.displayName="MultiSelect";function d2(e,t,r){let{keyboardDelegate:n,isDisabled:o}=e,a=$o({usage:"search",sensitivity:"base"}),i=l.useMemo(()=>n||new ec(t.collection,t.disabledKeys,null,a),[n,t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:c}=Cy({isDisabled:o,type:"listbox"},t,r),u=x=>{switch(x.key){case"ArrowLeft":{x.preventDefault();let _=t.selectedKey!=null?i.getKeyAbove(t.selectedKey):i.getFirstKey();_&&t.setSelectedKey(_);break}case"ArrowRight":{x.preventDefault();let _=t.selectedKey!=null?i.getKeyBelow(t.selectedKey):i.getFirstKey();_&&t.setSelectedKey(_);break}}},{typeSelectProps:d}=Ql({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(x){t.setSelectedKey(x)}}),{labelProps:f,fieldProps:p,descriptionProps:m,errorMessageProps:b}=an({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;let g=bt(e,{labelable:!0}),v=de(d,s,p),$=We();return{labelProps:{...f,onClick:()=>{e.isDisabled||(r.current.focus(),Qd("keyboard"))}},triggerProps:de(g,{...v,isDisabled:o,onKeyDown:Yt(v.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[v["aria-labelledby"],v["aria-label"]&&!v["aria-labelledby"]?v.id:null,$].filter(Boolean).join(" "),onFocus(x){t.isFocused||(e.onFocus&&e.onFocus(x),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(x){t.isOpen||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:$},menuProps:{...c,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:x=>{x.currentTarget.contains(x.relatedTarget)||(e.onBlur&&e.onBlur(x),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],v["aria-label"]&&!p["aria-labelledby"]?v.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:b}}function u2(e,t,r){let{autoComplete:n,name:o,isDisabled:a}=e,i=eu(),{visuallyHiddenProps:s}=th();var c;return{containerProps:{...s,"aria-hidden":!0},inputProps:{type:"text",tabIndex:i==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:n,disabled:a,name:o,size:t.collection.size,value:(c=t.selectedKey)!==null&&c!==void 0?c:"",onChange:u=>t.setSelectedKey(u.target.value)}}}function f2(e){let{state:t,triggerRef:r,label:n,name:o,isDisabled:a}=e,{containerProps:i,inputProps:s,selectProps:c}=u2(e,t,r);var u;return t.collection.size<=300?l.createElement("div",i,l.createElement("input",s),l.createElement("label",null,n,l.createElement("select",c,l.createElement("option",null),[...t.collection.getKeys()].map(d=>{let f=t.collection.getItem(d);if(f.type==="item")return l.createElement("option",{key:f.key,value:f.key},f.textValue)})))):o?l.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:o,disabled:a,value:(u=t.selectedKey)!==null&&u!==void 0?u:""}):null}function p2(e){let t=Oy(e),r=a2({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&e.onSelectionChange(a),t.close()}}),[n,o]=l.useState(!1);return{...r,...t,open(){r.collection.size!==0&&t.open()},toggle(a){r.collection.size!==0&&t.toggle(a)},isFocused:n,setFocused:o}}const m2=C.span`
|
|
2057
|
+
color: ${h.color_fill_secondary_enabled};
|
|
2058
|
+
`,h2=C(Gi.primary)`
|
|
2059
|
+
display: flex;
|
|
2060
|
+
align-items: center;
|
|
2061
|
+
justify-content: space-between;
|
|
2062
|
+
padding: 7px 8px;
|
|
2063
|
+
appearance: none;
|
|
2064
|
+
border: 1px solid ${h.color_outline_secondary_enabled};
|
|
2065
|
+
border-radius: ${h.border_radius_400};
|
|
2066
|
+
line-height: ${h.line_height_body_medium};
|
|
2167
2067
|
|
|
2168
|
-
|
|
2169
|
-
|
|
2068
|
+
transition-property: ${h.transition_property_color};
|
|
2069
|
+
transition-duration: ${h.transition_duration_100};
|
|
2170
2070
|
|
|
2171
|
-
|
|
2071
|
+
font-family: ${h.font_family_sans};
|
|
2172
2072
|
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2073
|
+
&::placeholder {
|
|
2074
|
+
font-weight: 400;
|
|
2075
|
+
font-style: normal;
|
|
2076
|
+
color: ${h.color_text_weak};
|
|
2077
|
+
font-size: ${h.font_size_100};
|
|
2078
|
+
}
|
|
2179
2079
|
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2080
|
+
&:hover {
|
|
2081
|
+
background-color: ${h.color_overlay_secondary_hover};
|
|
2082
|
+
border-color: ${h.color_outline_secondary_hover};
|
|
2083
|
+
}
|
|
2184
2084
|
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2085
|
+
&[data-state~='invalid'],
|
|
2086
|
+
&:invalid {
|
|
2087
|
+
border-color: ${h.color_outline_danger_enabled};
|
|
2088
|
+
}
|
|
2189
2089
|
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2090
|
+
/* &:active too? */
|
|
2091
|
+
&:focus-visible {
|
|
2092
|
+
background-color: ${h.color_overlay_secondary_enabled};
|
|
2093
|
+
outline: 1px solid ${h.color_black};
|
|
2094
|
+
border-color: ${h.color_black};
|
|
2095
|
+
}
|
|
2196
2096
|
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2097
|
+
&:disabled {
|
|
2098
|
+
/* border-color: ${h.color_outline_secondary_disabled}; */
|
|
2099
|
+
color: ${h.color_fill_primary_disabled};
|
|
2100
|
+
cursor: not-allowed;
|
|
2101
|
+
border-color: revert;
|
|
2102
|
+
}
|
|
2203
2103
|
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
`,
|
|
2104
|
+
&:disabled::placeholder {
|
|
2105
|
+
color: ${h.color_fill_primary_disabled};
|
|
2106
|
+
}
|
|
2107
|
+
`,b2=C.span`
|
|
2208
2108
|
display: inline-flex;
|
|
2209
2109
|
align-items: center;
|
|
2210
|
-
`;function KI(e){const t=NI(e),{placeholder:r="Select..."}=e,n=Q.useRef(null),{labelProps:o,triggerProps:a,valueProps:i,menuProps:s}=II(e,t,n),{buttonProps:c}=un(a,n),{focusProps:u,isFocusVisible:d}=Sr();return ae(or,{children:[ae(Qe,{...o,children:[e.label,e.tooltipContent?k(ar,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),k(MI,{state:t,triggerRef:n,label:e.label,name:e.name}),ae(zI,{...pe(c,u),paddingSize:"small",ref:n,isOpen:t.isOpen,isFocusVisible:d,children:[k(LI,{...i,children:t.selectedItem?t.selectedItem.rendered:r}),k(FI,{children:k(Oe.ArrowDropDown,{})})]}),t.isOpen&&k(L$,{state:t,triggerRef:n,placement:"bottom start",children:k(hI,{...s,state:t})})]})}function Sy(e){return e&&e.__esModule?e.default:e}var $c={},Dy={};Dy={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 Ty={};Ty={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 ky={};ky={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 Cy={};Cy={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 Oy={};Oy={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 Iy={};Iy={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 Ay={};Ay={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 My={};My={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 Ny={};Ny={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 Fy={};Fy={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 zy={};zy={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 Ly={};Ly={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 Ky={};Ky={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 Vy={};Vy={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 jy={};jy={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 By={};By={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 Ry={};Ry={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 Wy={};Wy={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 Uy={};Uy={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 Hy={};Hy={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 Gy={};Gy={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 Yy={};Yy={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 qy={};qy={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 Zy={};Zy={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 Xy={};Xy={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 Jy={};Jy={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 Qy={};Qy={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 e1={};e1={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 t1={};t1={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 r1={};r1={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 n1={};n1={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 o1={};o1={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 a1={};a1={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 i1={};i1={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:"年"},$c={"ar-AE":Dy,"bg-BG":Ty,"cs-CZ":ky,"da-DK":Cy,"de-DE":Oy,"el-GR":Iy,"en-US":Ay,"es-ES":My,"et-EE":Ny,"fi-FI":Fy,"fr-FR":zy,"he-IL":Ly,"hr-HR":Ky,"hu-HU":Vy,"it-IT":jy,"ja-JP":By,"ko-KR":Ry,"lt-LT":Wy,"lv-LV":Uy,"nb-NO":Hy,"nl-NL":Gy,"pl-PL":Yy,"pt-BR":qy,"pt-PT":Zy,"ro-RO":Xy,"ru-RU":Jy,"sk-SK":Qy,"sl-SI":e1,"sr-SP":t1,"sv-SE":r1,"tr-TR":n1,"uk-UA":o1,"zh-CN":a1,"zh-TW":i1};function VI(e,t,r){let{direction:n}=ut(),o=l.useMemo(()=>_u(t),[t]),a=c=>{if(c.altKey&&(c.key==="ArrowDown"||c.key==="ArrowUp")&&"setOpen"in e&&(c.preventDefault(),c.stopPropagation(),e.setOpen(!0)),!r)switch(c.key){case"ArrowLeft":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var c;let u=(c=window.event)===null||c===void 0?void 0:c.target,d=qe(t.current,{tabbable:!0});if(u&&(d.currentNode=u,u=d.previousNode()),!u){let f;do f=d.lastChild(),f&&(u=f);while(f)}for(;u!=null&&u.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))u=f;else break}u&&u.focus()},{pressProps:s}=wr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return pe(s,{onKeyDown:a})}const s1=new WeakMap,yc="__role_"+Date.now(),jI="__focusManager_"+Date.now();function BI(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=fn({...e,labelElementType:"span"}),{focusWithinProps:s}=Pr({...e,onBlurWithin:$=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur($)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=Nt(Sy($c)),u=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",d=t.maxGranularity==="hour"?"time":"date",f=t.value?c.format(u,{[d]:t.formatValue({month:"long"})}):"",p=hi(f),m=e[yc]==="presentation"?o["aria-describedby"]:[p["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[jI],g=l.useMemo(()=>b||_u(r),[b,r]),v=VI(t,r,e[yc]==="presentation");s1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:m,focusManager:g});let y=l.useRef(e.autoFocus),x;e[yc]==="presentation"?x={role:"presentation"}:x=pe(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":m}),l.useEffect(()=>{y.current&&g.focusFirst(),y.current=!1},[g]);let w=vt(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:pe(w,x,v,s,{onKeyDown($){e.onKeyDown&&e.onKeyDown($)},onKeyUp($){e.onKeyUp&&e.onKeyUp($)}}),descriptionProps:a,errorMessageProps:i}}function RI(e,t,r){return BI(e,t,r)}function WI(){let{locale:e}=ut();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new UI(e)}},[e])}class UI{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new Mi(Sy($c))}}function HI(e,t,r){let n=l.useRef(""),{locale:o}=ut(),a=WI(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:u}=s1.get(t),d=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=Ko({month:"long",timeZone:f.timeZone}),m=Ko({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let W=p.format(t.dateValue);d=W!==d?`${d} – ${W}`:W}else e.type==="hour"&&!e.isPlaceholder&&(d=m.format(t.dateValue));let{spinButtonProps:b}=Yp({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)}}),g=l.useMemo(()=>new Yu(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let W=e.text.slice(0,-1),re=g.parse(W);W.length===0||re===0?t.clearSegment(e.type):t.setSegment(e.type,re),n.current=W}else e.type==="dayPeriod"&&t.clearSegment(e.type)},y=W=>{if(W.key==="a"&&(Qt()?W.metaKey:W.ctrlKey)&&W.preventDefault(),!(W.ctrlKey||W.metaKey||W.shiftKey||W.altKey))switch(W.key){case"Backspace":case"Delete":W.preventDefault(),W.stopPropagation(),v();break}},{startsWith:x}=X5({sensitivity:"base"}),w=Ko({hour:"numeric",hour12:!0}),$=l.useMemo(()=>{let W=new Date;return W.setHours(0),w.formatToParts(W).find(re=>re.type==="dayPeriod").value},[w]),A=l.useMemo(()=>{let W=new Date;return W.setHours(12),w.formatToParts(W).find(re=>re.type==="dayPeriod").value},[w]),N=Ko({year:"numeric",era:"narrow",timeZone:"UTC"}),P=l.useMemo(()=>{if(e.type!=="era")return[];let W=We(new Tr(1,1,1),t.calendar),re=t.calendar.getEras().map(F=>{let M=W.set({year:1,month:1,day:1,era:F}).toDate("UTC"),X=N.formatToParts(M).find(Z=>Z.type==="era").value;return{era:F,formatted:X}}),j=GI(re.map(F=>F.formatted));if(j)for(let F of re)F.formatted=F.formatted.slice(j);return re},[N,t.calendar,e.type]),_=W=>{if(t.isDisabled||t.isReadOnly)return;let re=n.current+W;switch(e.type){case"dayPeriod":if(x($,W))t.setSegment("dayPeriod",0);else if(x(A,W))t.setSegment("dayPeriod",12);else break;u.focusNext();break;case"era":{let j=P.find(F=>x(F.formatted,W));j&&(t.setSegment("era",j.era),u.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(re))return;let j=g.parse(re),F=j,M=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(F=g.parse(W));break;case"h12":M=!1,j>12&&(F=g.parse(W));break}e.value>=12&&j>1&&(j+=12)}else j>e.maxValue&&(F=g.parse(W));if(isNaN(j))return;let H=F!==0||M;H&&t.setSegment(e.type,F),Number(j+"0")>e.maxValue||re.length>=String(e.maxValue).length?(n.current="",H&&u.focusNext()):n.current=re;break}}},O=()=>{n.current="",iu(r.current,{containingElement:nn(r.current)}),window.getSelection().collapse(r.current)},L=l.useRef("");vo(r,"beforeinput",W=>{switch(W.preventDefault(),W.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":L.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:W.data!=null&&_(W.data);break}}),vo(r,"input",W=>{let{inputType:re,data:j}=W;switch(re){case"insertCompositionText":r.current.textContent=L.current,(x($,j)||x(A,j))&&_(j);break}}),Te(()=>{let W=r.current;return()=>{document.activeElement===W&&(u.focusPrevious()||u.focusNext())}},[r,u]);let T=$r()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},K=l.useMemo(()=>t.segments.find(W=>W.isEditable),[t.segments]);e!==K&&t.validationState!=="invalid"&&(c=void 0);let D=Je(),I=!t.isDisabled&&!t.isReadOnly&&e.isEditable,q=e.type==="literal"?"":a.of(e.type),ie=pi({"aria-label":(i?i+" ":"")+q,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:pe(b,ie,{id:D,...T,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:I,suppressContentEditableWarning:I,spellCheck:I?"false":void 0,autoCapitalize:I?"off":void 0,autoCorrect:I?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:I?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!I?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:y,onFocus:O,style:{caretColor:"transparent"},onPointerDown(W){W.stopPropagation()},onMouseDown(W){W.stopPropagation()}})}}function GI(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 YI(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const qI={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function l1(e,t){e={...qI,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((u,d)=>(u[d]=e[d],u),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function c1(e,t){if(e===null)return null;if(e)return We(e,t)}function Aa(e,t,r,n){if(e)return c1(e,r);let o=We(Du(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Fu(o):n?o:Mt(o)}function ZI(e,t){let r=l.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const XI=new Mi({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 JI(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?XI.getStringForLocale(e,r):"––"}const Ma={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},d1={year:5,month:2,day:7,hour:2,minute:15,second:15},QI={dayperiod:"dayPeriod"};function eA(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,u]=ZI(s,e.granularity),d=u||"UTC";if(s&&!(c in s))throw new Error("Invalid granularity "+c+" for value "+s.toString());let f=l.useMemo(()=>new Fo(t),[t]),p=l.useMemo(()=>r(f.resolvedOptions().calendar),[r,f]),[m,b]=Zt(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>c1(m,p),[m,p]),[v,y]=l.useState(()=>Aa(e.placeholderValue,c,p,u)),x=g||v,w=p.identifier==="gregory"&&x.era==="BC";var $;let A=l.useMemo(()=>({granularity:c,maxGranularity:($=e.maxGranularity)!==null&&$!==void 0?$:"year",timeZone:u,hideTimeZone:n,hourCycle:e.hourCycle,showEra:w}),[e.maxGranularity,c,e.hourCycle,u,n,w]),N=l.useMemo(()=>l1({},A),[A]),P=l.useMemo(()=>new Fo(t,N),[t,N]),_=l.useMemo(()=>P.resolvedOptions(),[P]),O=l.useMemo(()=>P.formatToParts(new Date).filter(M=>Ma[M.type]).reduce((M,H)=>(M[H.type]=!0,M),{}),[P]),[L,T]=l.useState(()=>e.value||e.defaultValue?{...O}:{}),K=l.useRef(p.identifier);l.useEffect(()=>{p.identifier!==K.current&&(K.current=p.identifier,y(M=>Object.keys(L).length>0?We(M,p):Aa(e.placeholderValue,c,p,u)))},[p,c,L,u,e.placeholderValue]),m&&Object.keys(L).length<Object.keys(O).length&&(L={...O},T(L)),m==null&&Object.keys(L).length===Object.keys(O).length&&(L={},T(L),y(Aa(e.placeholderValue,c,p,u)));let D=g&&Object.keys(L).length>=Object.keys(O).length?g:v,I=M=>{e.isDisabled||e.isReadOnly||(Object.keys(L).length>=Object.keys(O).length?(M=We(M,(s==null?void 0:s.calendar)||new At),b(M)):y(M))},q=l.useMemo(()=>D.toDate(d),[D,d]),ie=l.useMemo(()=>P.formatToParts(q).map(M=>{let H=Ma[M.type];M.type==="era"&&p.getEras().length===1&&(H=!1);let X=Ma[M.type]&&!L[M.type],Z=Ma[M.type]?JI(M.type,M.value,t):null;return{type:QI[M.type]||M.type,text:X?Z:M.value,...tA(D,M.type,_),isPlaceholder:X,placeholder:Z,isEditable:H}}),[q,L,P,_,D,p,t]);O.era&&L.year&&!L.era?(L.era=!0,T({...L})):!O.era&&L.era&&(delete L.era,T({...L}));let W=M=>{L[M]=!0,M==="year"&&O.era&&(L.era=!0),T({...L})},re=(M,H)=>{L[M]?I(rA(D,M,H,_)):(W(M),Object.keys(L).length>=Object.keys(O).length&&I(D))},j=e.validationState||(YI(g,e.minValue,e.maxValue)?"invalid":null);var F;return{value:g,dateValue:q,calendar:p,setValue:I,segments:ie,dateFormatter:P,validationState:j,granularity:c,maxGranularity:(F=e.maxGranularity)!==null&&F!==void 0?F:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(M){re(M,1)},decrement(M){re(M,-1)},incrementPage(M){re(M,d1[M]||1)},decrementPage(M){re(M,-(d1[M]||1))},setSegment(M,H){W(M),I(nA(D,M,H,_))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(L),H=Object.keys(O);M.length===H.length-1&&O.dayPeriod&&!L.dayPeriod&&(L={...O},T(L),I(D.copy()))},clearSegment(M){delete L[M],T({...L});let H=Aa(e.placeholderValue,c,p,u),X=D;if(M==="dayPeriod"&&"hour"in D&&"hour"in H){let Z=D.hour>=12,oe=H.hour>=12;Z&&!oe?X=D.set({hour:D.hour-12}):!Z&&oe&&(X=D.set({hour:D.hour+12}))}else M in D&&(X=D.set({[M]:H[M]}));b(null),I(X)},formatValue(M){if(!g)return"";let H=l1(M,A);return new Fo(t,H).format(q)}}}function tA(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:p5(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:m5(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 rA(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 o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function nA(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 o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function oA(e){let{placeholderValue:t=new ln,minValue:r,maxValue:n,granularity:o}=e,[a,i]=Zt(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,u=l.useMemo(()=>Na(t),[t]),d=l.useMemo(()=>Na(r,c),[r,c]),f=l.useMemo(()=>Na(n,c),[n,c]),p=l.useMemo(()=>a==null?null:Na(a),[a]);return eA({...e,value:p,defaultValue:void 0,minValue:d,maxValue:f,onChange:b=>{i(s&&"day"in s?b:b&&g5(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:u,createCalendar:()=>new At})}function Na(e,t=f5(Li())){return e?"day"in e?e:Mt(t,e):null}const aA=C.div`
|
|
2110
|
+
`;function g2(e){const t=p2(e),{placeholder:r="Select...",hideLabel:n}=e,o=H.useRef(null),{labelProps:a,triggerProps:i,valueProps:s,menuProps:c}=d2(e,t,o),{buttonProps:u}=on(i,o),{focusProps:d,isFocusVisible:f}=xr();return re(er,{children:[re(He,{...a,srOnly:n,children:[e.label,e.tooltipContent?T(tr,{icon:e.tooltipIcon,children:e.tooltipContent}):null]}),T(f2,{state:t,triggerRef:o,label:e.label,name:e.name}),re(h2,{...de(u,d),paddingSize:"small",ref:o,isOpen:t.isOpen,isFocusVisible:f,children:[T(b2,{...s,children:t.selectedItem?t.selectedItem.rendered:r}),T(m2,{children:T(ke.ArrowDropDown,{})})]}),t.isOpen?T(Yv,{state:t,triggerRef:o,placement:"bottom start",children:T(GC,{...c,state:t})}):null]})}function Fy(e){return e&&e.__esModule?e.default:e}var nc={},zy={};zy={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 Ly={};Ly={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 Ky={};Ky={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 jy={};jy={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 Vy={};Vy={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 By={};By={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 Ry={};Ry={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 Wy={};Wy={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 Uy={};Uy={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 Hy={};Hy={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 Gy={};Gy={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 Yy={};Yy={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 qy={};qy={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 Zy={};Zy={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 Xy={};Xy={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 Jy={};Jy={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 Qy={};Qy={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 e$={};e$={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 t$={};t$={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 r$={};r$={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 n$={};n$={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 o$={};o$={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 a$={};a$={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 i$={};i$={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 s$={};s$={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 l$={};l$={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 c$={};c$={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 d$={};d$={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 u$={};u$={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 f$={};f$={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 p$={};p$={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 m$={};m$={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 h$={};h$={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 b$={};b$={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:"年"},nc={"ar-AE":zy,"bg-BG":Ly,"cs-CZ":Ky,"da-DK":jy,"de-DE":Vy,"el-GR":By,"en-US":Ry,"es-ES":Wy,"et-EE":Uy,"fi-FI":Hy,"fr-FR":Gy,"he-IL":Yy,"hr-HR":qy,"hu-HU":Zy,"it-IT":Xy,"ja-JP":Jy,"ko-KR":Qy,"lt-LT":e$,"lv-LV":t$,"nb-NO":r$,"nl-NL":n$,"pl-PL":o$,"pt-BR":a$,"pt-PT":i$,"ro-RO":s$,"ru-RU":l$,"sk-SK":c$,"sl-SI":d$,"sr-SP":u$,"sv-SE":f$,"tr-TR":p$,"uk-UA":m$,"zh-CN":h$,"zh-TW":b$};function v2(e,t,r){let{direction:n}=ct(),o=l.useMemo(()=>su(t),[t]),a=c=>{if(c.altKey&&(c.key==="ArrowDown"||c.key==="ArrowUp")&&"setOpen"in e&&(c.preventDefault(),c.stopPropagation(),e.setOpen(!0)),!r)switch(c.key){case"ArrowLeft":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":c.preventDefault(),c.stopPropagation(),n==="rtl"?o.focusPrevious():o.focusNext();break}},i=()=>{var c;let u=(c=window.event)===null||c===void 0?void 0:c.target,d=Be(t.current,{tabbable:!0});if(u&&(d.currentNode=u,u=d.previousNode()),!u){let f;do f=d.lastChild(),f&&(u=f);while(f)}for(;u!=null&&u.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))u=f;else break}u&&u.focus()},{pressProps:s}=gr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(c){c.pointerType==="mouse"&&i()},onPress(c){c.pointerType!=="mouse"&&i()}});return de(s,{onKeyDown:a})}const g$=new WeakMap,oc="__role_"+Date.now(),y2="__focusManager_"+Date.now();function $2(e,t,r){let{labelProps:n,fieldProps:o,descriptionProps:a,errorMessageProps:i}=an({...e,labelElementType:"span"}),{focusWithinProps:s}=$r({...e,onBlurWithin:y=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(y)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),c=It(Fy(nc)),u=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",d=t.maxGranularity==="hour"?"time":"date",f=t.value?c.format(u,{[d]:t.formatValue({month:"long"})}):"",p=ri(f),m=e[oc]==="presentation"?o["aria-describedby"]:[p["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=e[y2],g=l.useMemo(()=>b||su(r),[b,r]),v=v2(t,r,e[oc]==="presentation");g$.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[e["aria-labelledby"],n.id].filter(Boolean).join(" ")||void 0,ariaDescribedBy:m,focusManager:g});let $=l.useRef(e.autoFocus),x;e[oc]==="presentation"?x={role:"presentation"}:x=de(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":m}),l.useEffect(()=>{$.current&&g.focusFirst(),$.current=!1},[g]);let _=bt(e);return{labelProps:{...n,onClick:()=>{g.focusFirst()}},fieldProps:de(_,x,v,s,{onKeyDown(y){e.onKeyDown&&e.onKeyDown(y)},onKeyUp(y){e.onKeyUp&&e.onKeyUp(y)}}),descriptionProps:a,errorMessageProps:i}}function x2(e,t,r){return $2(e,t,r)}function _2(){let{locale:e}=ct();return l.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new w2(e)}},[e])}class w2{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new xi(Fy(nc))}}function E2(e,t,r){let n=l.useRef(""),{locale:o}=ct(),a=_2(),{ariaLabel:i,ariaLabelledBy:s,ariaDescribedBy:c,focusManager:u}=g$.get(t),d=e.isPlaceholder?"":e.text,f=l.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=yo({month:"long",timeZone:f.timeZone}),m=yo({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let W=p.format(t.dateValue);d=W!==d?`${d} – ${W}`:W}else e.type==="hour"&&!e.isPlaceholder&&(d=m.format(t.dateValue));let{spinButtonProps:b}=Ip({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)}}),g=l.useMemo(()=>new Iu(o,{maximumFractionDigits:0}),[o]),v=()=>{if(g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let W=e.text.slice(0,-1),ee=g.parse(W);W.length===0||ee===0?t.clearSegment(e.type):t.setSegment(e.type,ee),n.current=W}else e.type==="dayPeriod"&&t.clearSegment(e.type)},$=W=>{if(W.key==="a"&&(qt()?W.metaKey:W.ctrlKey)&&W.preventDefault(),!(W.ctrlKey||W.metaKey||W.shiftKey||W.altKey))switch(W.key){case"Backspace":case"Delete":W.preventDefault(),W.stopPropagation(),v();break}},{startsWith:x}=sP({sensitivity:"base"}),_=yo({hour:"numeric",hour12:!0}),y=l.useMemo(()=>{let W=new Date;return W.setHours(0),_.formatToParts(W).find(ee=>ee.type==="dayPeriod").value},[_]),M=l.useMemo(()=>{let W=new Date;return W.setHours(12),_.formatToParts(W).find(ee=>ee.type==="dayPeriod").value},[_]),F=yo({year:"numeric",era:"narrow",timeZone:"UTC"}),P=l.useMemo(()=>{if(e.type!=="era")return[];let W=Ke(new wr(1,1,1),t.calendar),ee=t.calendar.getEras().map(N=>{let A=W.set({year:1,month:1,day:1,era:N}).toDate("UTC"),G=F.formatToParts(A).find(q=>q.type==="era").value;return{era:N,formatted:G}}),V=P2(ee.map(N=>N.formatted));if(V)for(let N of ee)N.formatted=N.formatted.slice(V);return ee},[F,t.calendar,e.type]),w=W=>{if(t.isDisabled||t.isReadOnly)return;let ee=n.current+W;switch(e.type){case"dayPeriod":if(x(y,W))t.setSegment("dayPeriod",0);else if(x(M,W))t.setSegment("dayPeriod",12);else break;u.focusNext();break;case"era":{let V=P.find(N=>x(N.formatted,W));V&&(t.setSegment("era",V.era),u.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(ee))return;let V=g.parse(ee),N=V,A=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":V>11&&(N=g.parse(W));break;case"h12":A=!1,V>12&&(N=g.parse(W));break}e.value>=12&&V>1&&(V+=12)}else V>e.maxValue&&(N=g.parse(W));if(isNaN(V))return;let R=N!==0||A;R&&t.setSegment(e.type,N),Number(V+"0")>e.maxValue||ee.length>=String(e.maxValue).length?(n.current="",R&&u.focusNext()):n.current=ee;break}}},O=()=>{n.current="",Wd(r.current,{containingElement:Xr(r.current)}),window.getSelection().collapse(r.current)},K=l.useRef("");Xn(r,"beforeinput",W=>{switch(W.preventDefault(),W.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":K.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:W.data!=null&&w(W.data);break}}),Xn(r,"input",W=>{let{inputType:ee,data:V}=W;switch(ee){case"insertCompositionText":r.current.textContent=K.current,(x(y,V)||x(M,V))&&w(V);break}}),Ee(()=>{let W=r.current;return()=>{document.activeElement===W&&(u.focusPrevious()||u.focusNext())}},[r,u]);let k=mr()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},j=l.useMemo(()=>t.segments.find(W=>W.isEditable),[t.segments]);e!==j&&t.validationState!=="invalid"&&(c=void 0);let S=We(),I=!t.isDisabled&&!t.isReadOnly&&e.isEditable,J=e.type==="literal"?"":a.of(e.type),se=ei({"aria-label":(i?i+" ":"")+J,"aria-labelledby":s});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:de(b,se,{id:S,...k,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":c,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:I,suppressContentEditableWarning:I,spellCheck:I?"false":void 0,autoCapitalize:I?"off":void 0,autoCorrect:I?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:I?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!I?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:$,onFocus:O,style:{caretColor:"transparent"},onPointerDown(W){W.stopPropagation()},onMouseDown(W){W.stopPropagation()}})}}function P2(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 D2(e,t,r){return e!=null&&(t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0)}const S2={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function v$(e,t){e={...S2,...e};let r=t.granularity||"minute",n=Object.keys(e);var o;let a=n.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");a<0&&(a=0);let i=n.indexOf(r);if(i<0&&(i=2),a>i)throw new Error("maxGranularity must be greater than granularity");let s=n.slice(a,i+1).reduce((u,d)=>(u[d]=e[d],u),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function y$(e,t){if(e===null)return null;if(e)return Ke(e,t)}function sa(e,t,r,n){if(e)return y$(e,r);let o=Ke(uu(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?$u(o):n?o:Ot(o)}function T2(e,t){let r=l.useRef(e);e&&(r.current=e),e=r.current;let n=e&&"timeZone"in e?e.timeZone:void 0;if(t=t||(e&&"minute"in e?"minute":"day"),e&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());return[t,n]}const k2=new xi({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 C2(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?k2.getStringForLocale(e,r):"––"}const la={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},$$={year:5,month:2,day:7,hour:2,minute:15,second:15},O2={dayperiod:"dayPeriod"};function I2(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:o,isReadOnly:a,isRequired:i}=e,s=e.value||e.defaultValue||e.placeholderValue,[c,u]=T2(s,e.granularity),d=u||"UTC";if(s&&!(c in s))throw new Error("Invalid granularity "+c+" for value "+s.toString());let f=l.useMemo(()=>new bo(t),[t]),p=l.useMemo(()=>r(f.resolvedOptions().calendar),[r,f]),[m,b]=Ht(e.value,e.defaultValue,e.onChange),g=l.useMemo(()=>y$(m,p),[m,p]),[v,$]=l.useState(()=>sa(e.placeholderValue,c,p,u)),x=g||v,_=p.identifier==="gregory"&&x.era==="BC";var y;let M=l.useMemo(()=>({granularity:c,maxGranularity:(y=e.maxGranularity)!==null&&y!==void 0?y:"year",timeZone:u,hideTimeZone:n,hourCycle:e.hourCycle,showEra:_}),[e.maxGranularity,c,e.hourCycle,u,n,_]),F=l.useMemo(()=>v$({},M),[M]),P=l.useMemo(()=>new bo(t,F),[t,F]),w=l.useMemo(()=>P.resolvedOptions(),[P]),O=l.useMemo(()=>P.formatToParts(new Date).filter(A=>la[A.type]).reduce((A,R)=>(A[R.type]=!0,A),{}),[P]),[K,k]=l.useState(()=>e.value||e.defaultValue?{...O}:{}),j=l.useRef(p.identifier);l.useEffect(()=>{p.identifier!==j.current&&(j.current=p.identifier,$(A=>Object.keys(K).length>0?Ke(A,p):sa(e.placeholderValue,c,p,u)))},[p,c,K,u,e.placeholderValue]),m&&Object.keys(K).length<Object.keys(O).length&&(K={...O},k(K)),m==null&&Object.keys(K).length===Object.keys(O).length&&(K={},k(K),$(sa(e.placeholderValue,c,p,u)));let S=g&&Object.keys(K).length>=Object.keys(O).length?g:v,I=A=>{e.isDisabled||e.isReadOnly||(Object.keys(K).length>=Object.keys(O).length?(A=Ke(A,(s==null?void 0:s.calendar)||new Ct),b(A)):$(A))},J=l.useMemo(()=>S.toDate(d),[S,d]),se=l.useMemo(()=>P.formatToParts(J).map(A=>{let R=la[A.type];A.type==="era"&&p.getEras().length===1&&(R=!1);let G=la[A.type]&&!K[A.type],q=la[A.type]?C2(A.type,A.value,t):null;return{type:O2[A.type]||A.type,text:G?q:A.value,...A2(S,A.type,w),isPlaceholder:G,placeholder:q,isEditable:R}}),[J,K,P,w,S,p,t]);O.era&&K.year&&!K.era?(K.era=!0,k({...K})):!O.era&&K.era&&(delete K.era,k({...K}));let W=A=>{K[A]=!0,A==="year"&&O.era&&(K.era=!0),k({...K})},ee=(A,R)=>{K[A]?I(M2(S,A,R,w)):(W(A),Object.keys(K).length>=Object.keys(O).length&&I(S))},V=e.validationState||(D2(g,e.minValue,e.maxValue)?"invalid":null);var N;return{value:g,dateValue:J,calendar:p,setValue:I,segments:se,dateFormatter:P,validationState:V,granularity:c,maxGranularity:(N=e.maxGranularity)!==null&&N!==void 0?N:"year",isDisabled:o,isReadOnly:a,isRequired:i,increment(A){ee(A,1)},decrement(A){ee(A,-1)},incrementPage(A){ee(A,$$[A]||1)},decrementPage(A){ee(A,-($$[A]||1))},setSegment(A,R){W(A),I(N2(S,A,R,w))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let A=Object.keys(K),R=Object.keys(O);A.length===R.length-1&&O.dayPeriod&&!K.dayPeriod&&(K={...O},k(K),I(S.copy()))},clearSegment(A){delete K[A],k({...K});let R=sa(e.placeholderValue,c,p,u),G=S;if(A==="dayPeriod"&&"hour"in S&&"hour"in R){let q=S.hour>=12,oe=R.hour>=12;q&&!oe?G=S.set({hour:S.hour-12}):!q&&oe&&(G=S.set({hour:S.hour+12}))}else A in S&&(G=S.set({[A]:R[A]}));b(null),I(G)},formatValue(A){if(!g)return"";let R=v$(A,M);return new bo(t,R).format(J)}}}function A2(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:wE(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:EE(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 M2(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 o=e.hour,a=o>=12;return e.set({hour:a?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function N2(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 o=e.hour,a=o>=12;return r>=12===a?e:e.set({hour:a?o-12:o+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function F2(e){let{placeholderValue:t=new tn,minValue:r,maxValue:n,granularity:o}=e,[a,i]=Ht(e.value,e.defaultValue,e.onChange),s=a||t,c=s&&"day"in s?s:void 0,u=l.useMemo(()=>ca(t),[t]),d=l.useMemo(()=>ca(r,c),[r,c]),f=l.useMemo(()=>ca(n,c),[n,c]),p=l.useMemo(()=>a==null?null:ca(a),[a]);return I2({...e,value:p,defaultValue:void 0,minValue:d,maxValue:f,onChange:b=>{i(s&&"day"in s?b:b&&SE(b))},granularity:o||"minute",maxGranularity:"hour",placeholderValue:u,createCalendar:()=>new Ct})}function ca(e,t=_E(Pi())){return e?"day"in e?e:Ot(t,e):null}const z2=C.div`
|
|
2211
2111
|
display: flex;
|
|
2212
2112
|
flex-direction: column;
|
|
2213
2113
|
align-items: flex-start;
|
|
2214
|
-
`,
|
|
2114
|
+
`,L2=C.div`
|
|
2215
2115
|
display: inline-flex;
|
|
2216
2116
|
padding: 2px 4px;
|
|
2217
2117
|
border-radius: 4px;
|
|
@@ -2221,7 +2121,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2221
2121
|
&:focus-within {
|
|
2222
2122
|
border-color: ${h.color_fill_inverse_enabled};
|
|
2223
2123
|
}
|
|
2224
|
-
`,
|
|
2124
|
+
`,K2=C.div`
|
|
2225
2125
|
padding: 2px;
|
|
2226
2126
|
font-variant-numeric: tabular-nums;
|
|
2227
2127
|
text-align: end;
|
|
@@ -2251,5 +2151,5 @@ const theme2 = createTheme({ palette: {
|
|
|
2251
2151
|
cursor: not-allowed;
|
|
2252
2152
|
--input-border-color: revert;
|
|
2253
2153
|
}
|
|
2254
|
-
`;function
|
|
2154
|
+
`;function j2(e){const{locale:t}=ct(),r=F2({...e,locale:t}),n=l.useRef(null),{labelProps:o,fieldProps:a}=x2(e,r,n);return re(z2,{children:[e.label&&T(He,{...o,children:e.label}),re(L2,{...a,ref:n,children:[r.segments.filter(i=>!(i.type==="literal"&&i.text===" ")).map((i,s)=>T(V2,{segment:i,state:r},s)),r.validationState==="invalid"&&T("span",{"aria-hidden":"true",children:"🚫"})]})]})}function V2({segment:e,state:t}){const r=l.useRef(null),{segmentProps:n}=E2(e,t,r),o={};return e.isPlaceholder&&(o["data-placeholder"]=!0),re(K2,{...n,...o,style:{...n.style,minWidth:e.type==="literal"?0:"2ch",color:e.type==="dayPeriod"?h.color_text_weak:"inherit"},ref:r,children:[T("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",display:"block",width:"100%",height:e.isPlaceholder?"":0,pointerEvents:"none"},children:e.placeholder}),e.isPlaceholder?"":["hour","minute"].includes(e.type)?e.text.padStart(2,"0"):e.text]})}z.AccessibleIcon=Wr,z.AlertDialog=Zx,z.AlertDialogAction=Jx,z.AlertDialogCancel=Qx,z.AlertDialogCancelButton=t_,z.AlertDialogContent=Hx,z.AlertDialogDescription=Yx,z.AlertDialogFooter=qx,z.AlertDialogTitle=Gx,z.AlertDialogTrigger=Xx,z.Box=Jc,z.BreadcrumbItem=kf,z.BreadcrumbLink=Df,z.BreadcrumbListItem=Ui,z.Breadcrumbs=Tf,z.Button=Er,z.ButtonBase=rt,z.Checkbox=To,z.Dialog=Vx,z.DialogClose=Rx,z.DialogCloseButton=jx,z.DialogContent=Fx,z.DialogDescription=Lx,z.DialogFooter=Xc,z.DialogTitle=zx,z.DialogTrigger=Bx,z.Direction=Kb,z.DropdownMenu=YD,z.DropdownMenuArrow=nS,z.DropdownMenuCheckboxItem=tS,z.DropdownMenuContent=Qm,z.DropdownMenuGroup=ZD,z.DropdownMenuItem=QD,z.DropdownMenuItemIndicator=rS,z.DropdownMenuLabel=oS,z.DropdownMenuPortal=qD,z.DropdownMenuRadioGroup=JD,z.DropdownMenuRadioItem=eS,z.DropdownMenuSeparator=aS,z.DropdownMenuSub=iS,z.DropdownMenuSubContent=lS,z.DropdownMenuSubTrigger=sS,z.DropdownMenuTrigger=XD,z.Fieldset=OP,z.FileUpload=zb,z.Flex=cS,z.FormControl=g7,z.Heading=Lb,z.IconButton=Ms,z.IconTooltip=tr,z.Item=Ls,z.Label=He,z.MultiSelect=Ny,z.MultiSelectComponent=rc,z.MultiSelectItem=ia,z.MultiSelectSection=Xl,z.NavigationMenu=M3,z.NavigationMenuPortal=N3,z.NumberFormControl=$m,z.NumberInput=is,z.Page=m0,z.PageContent=JT,z.PageGrid=XT,z.PageHeader=h0,z.PageHeaderContent=tk,z.Pagination=ok,z.PaginatorButton=Go,z.PaginatorNumber=Yo,z.Popover=wf,z.PopoverClose=Ri,z.PopoverCloseCross=pP,z.PopoverContent=_f,z.PopoverTrigger=Ef,z.Radio=Ek,z.RadioGroup=wk,z.RadioGroupIndicator=E0,z.RadioGroupRadio=w0,z.Search=Sv,z.Separator=Ks,z.SingleSelect=g2,z.SingleSelectItem=ia,z.SingleSelectSection=Xl,z.StickyPageHeader=ek,z.StyledFieldSet=Cf,z.Switch=Ov,z.TabTriggerWithIcon=X3,z.TabsContent=J3,z.TabsList=Z3,z.TabsRoot=q3,z.TabsTrigger=Hb,z.Text=kr,z.TextAreaFormControl=ym,z.TextFormControl=vm,z.TextInput=Xi,z.Time=tn,z.TimeInput=j2,z.Title=Iv,z.Toast=ZT,z.ToastAction=BT,z.ToastClose=u0,z.ToastProvider=qT,z.ToastSeparator=f0,z.ToastViewport=GT,z.Tooltip=Yf,z.TooltipContent=qf,z.TooltipProvider=Gf,z.TooltipTrigger=ns,z.buttonPadding=Hi,z.dialogCloseButtonStyles=Oa,z.dialogContentStyles=Ta,z.dialogDescriptionStyles=Ca,z.dialogTitleStyles=ka,z.dialogWidths=Sa,z.overlayStyles=Da,z.pageMinMaxWidth=p0,z.useFieldProps=So,z.useFieldset=dt,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
|
|
2255
2155
|
//# sourceMappingURL=trc-components.umd.js.map
|