@theroutingcompany/components 0.0.9 → 0.0.11
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/README.md +8 -0
- package/dist/trc-components.es.js +8671 -6335
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +385 -240
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/types/components/Dialog/Dialog.d.ts +5 -6
- package/types/components/FileUpload/FileUpload.d.ts +2 -2
- package/types/components/Input/InputBase.d.ts +1 -1
- package/types/components/Label/Label.d.ts +5 -4
- package/types/components/Tabs/Tabs.d.ts +1 -0
- package/types/components/index.d.ts +4 -1
- package/types/helpers/typeHelpers.d.ts +1 -1
- package/types/components/Flex.d.ts +0 -0
- package/types/components/ProgressBar/ProgressBar.d.ts +0 -7
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(M,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):(M=typeof globalThis<"u"?globalThis:M||self,l(M["trc-components"]={},M.React,M.ReactDOM,M.styled,M.ReactIs,M.icons))})(this,function(M,l,bt,D,wt,_e){"use strict";function xi(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 B=xi(l),Ei=xi(bt);function em(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 Tr={},tm={get exports(){return Tr},set exports(e){Tr=e}},Tt={};/** @license React v16.14.0
|
|
2
2
|
* react-jsx-runtime.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
8
|
+
*/var wi;function rm(){if(wi)return Tt;wi=1;var e=l,t=60103;if(Tt.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var r=Symbol.for;t=r("react.element"),Tt.Fragment=r("react.fragment")}var n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,c,d){var f,p={},b=null,m=null;d!==void 0&&(b=""+d),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(m=c.ref);for(f in c)o.call(c,f)&&!a.hasOwnProperty(f)&&(p[f]=c[f]);if(s&&s.defaultProps)for(f in c=s.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:s,key:b,ref:m,props:p,_owner:n.current}}return Tt.jsx=i,Tt.jsxs=i,Tt}var Nn={};/** @license React v16.14.0
|
|
9
9
|
* react-jsx-runtime.development.js
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var
|
|
16
|
-
in `+(x||"Unknown")+ie}var
|
|
15
|
+
*/var Ti;function nm(){return Ti||(Ti=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=l,r=60103,n=60106;e.Fragment=60107;var o=60108,a=60114,i=60109,s=60110,c=60112,d=60113,f=60120,p=60115,b=60116,m=60121,h=60122,g=60117,v=60129,$=60131;if(typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;r=_("react.element"),n=_("react.portal"),e.Fragment=_("react.fragment"),o=_("react.strict_mode"),a=_("react.profiler"),i=_("react.provider"),s=_("react.context"),c=_("react.forward_ref"),d=_("react.suspense"),f=_("react.suspense_list"),p=_("react.memo"),b=_("react.lazy"),m=_("react.block"),h=_("react.server.block"),g=_("react.fundamental"),_("react.scope"),_("react.opaque.id"),v=_("react.debug_trace_mode"),_("react.offscreen"),$=_("react.legacy_hidden")}var E=typeof Symbol=="function"&&Symbol.iterator,y="@@iterator";function A(x){if(x===null||typeof x!="object")return null;var V=E&&x[E]||x[y];return typeof V=="function"?V:null}var L=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(x){{for(var V=arguments.length,W=new Array(V>1?V-1:0),ie=1;ie<V;ie++)W[ie-1]=arguments[ie];N("error",x,W)}}function N(x,V,W){{var ie=L.ReactDebugCurrentFrame,be="";if(ge){var me=ee(ge.type),ue=ge._owner;be+=H(me,ge._source,ue&&ee(ue.type))}be+=ie.getStackAddendum(),be!==""&&(V+="%s",W=W.concat([be]));var se=W.map(function(ke){return""+ke});se.unshift("Warning: "+V),Function.prototype.apply.call(console[x],console,se)}}var F=!1;function G(x){return!!(typeof x=="string"||typeof x=="function"||x===e.Fragment||x===a||x===v||x===o||x===d||x===f||x===$||F||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===p||x.$$typeof===i||x.$$typeof===s||x.$$typeof===c||x.$$typeof===g||x.$$typeof===m||x[0]===h))}var k=/^(.*)[\\\/]/;function H(x,V,W){var ie="";if(V){var be=V.fileName,me=be.replace(k,"");if(/^index\./.test(me)){var ue=be.match(k);if(ue){var se=ue[1];if(se){var ke=se.replace(k,"");me=ke+"/"+me}}}ie=" (at "+me+":"+V.lineNumber+")"}else W&&(ie=" (created by "+W+")");return`
|
|
16
|
+
in `+(x||"Unknown")+ie}var O=1;function T(x){return x._status===O?x._result:null}function X(x,V,W){var ie=V.displayName||V.name||"";return x.displayName||(ie!==""?W+"("+ie+")":W)}function ee(x){if(x==null)return null;if(typeof x.tag=="number"&&P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case e.Fragment:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case s:return"Context.Consumer";case i:return"Context.Provider";case c:return X(x,x.render,"ForwardRef");case p:return ee(x.type);case m:return ee(x.render);case b:{var V=x,W=T(V);if(W)return ee(W);break}}return null}var de={};L.ReactDebugCurrentFrame;var ge=null;function te(x){ge=x}function w(x,V,W,ie,be){{var me=Function.call.bind(Object.prototype.hasOwnProperty);for(var ue in x)if(me(x,ue)){var se=void 0;try{if(typeof x[ue]!="function"){var ke=Error((ie||"React class")+": "+W+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ke.name="Invariant Violation",ke}se=x[ue](V,ue,ie,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){se=We}se&&!(se instanceof Error)&&(te(be),P("%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).",ie||"React class",W,ue,typeof se),te(null)),se instanceof Error&&!(se.message in de)&&(de[se.message]=!0,te(be),P("Failed %s type: %s",W,se.message),te(null))}}}var z=L.ReactCurrentOwner,K=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0},R,q,Y;Y={};function Z(x){if(K.call(x,"ref")){var V=Object.getOwnPropertyDescriptor(x,"ref").get;if(V&&V.isReactWarning)return!1}return x.ref!==void 0}function Q(x){if(K.call(x,"key")){var V=Object.getOwnPropertyDescriptor(x,"key").get;if(V&&V.isReactWarning)return!1}return x.key!==void 0}function ae(x,V){if(typeof x.ref=="string"&&z.current&&V&&z.current.stateNode!==V){var W=ee(z.current.type);Y[W]||(P('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',ee(z.current.type),x.ref),Y[W]=!0)}}function ne(x,V){{var W=function(){R||(R=!0,P("%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)",V))};W.isReactWarning=!0,Object.defineProperty(x,"key",{get:W,configurable:!0})}}function ve(x,V){{var W=function(){q||(q=!0,P("%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)",V))};W.isReactWarning=!0,Object.defineProperty(x,"ref",{get:W,configurable:!0})}}var he=function(x,V,W,ie,be,me,ue){var se={$$typeof:r,type:x,key:V,ref:W,props:ue,_owner:me};return se._store={},Object.defineProperty(se._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(se,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.defineProperty(se,"_source",{configurable:!1,enumerable:!1,writable:!1,value:be}),Object.freeze&&(Object.freeze(se.props),Object.freeze(se)),se};function Se(x,V,W,ie,be){{var me,ue={},se=null,ke=null;W!==void 0&&(se=""+W),Q(V)&&(se=""+V.key),Z(V)&&(ke=V.ref,ae(V,be));for(me in V)K.call(V,me)&&!j.hasOwnProperty(me)&&(ue[me]=V[me]);if(x&&x.defaultProps){var We=x.defaultProps;for(me in We)ue[me]===void 0&&(ue[me]=We[me])}if(se||ke){var pt=typeof x=="function"?x.displayName||x.name||"Unknown":x;se&&ne(ue,pt),ke&&ve(ue,pt)}return he(x,se,ke,be,ie,z.current,ue)}}var Re=L.ReactCurrentOwner;L.ReactDebugCurrentFrame;function Oe(x){ge=x}var Ke;Ke=!1;function ye(x){return typeof x=="object"&&x!==null&&x.$$typeof===r}function $e(){{if(Re.current){var x=ee(Re.current.type);if(x)return`
|
|
17
17
|
|
|
18
|
-
Check the render method of \``+x+"`."}return""}}function
|
|
18
|
+
Check the render method of \``+x+"`."}return""}}function ze(x){{if(x!==void 0){var V=x.fileName.replace(/^.*[\\\/]/,""),W=x.lineNumber;return`
|
|
19
19
|
|
|
20
|
-
Check your code at `+
|
|
20
|
+
Check your code at `+V+":"+W+"."}return""}}var Le={};function ft(x){{var V=$e();if(!V){var W=typeof x=="string"?x:x.displayName||x.name;W&&(V=`
|
|
21
21
|
|
|
22
|
-
Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var U=lt(z);if(Ae[U])return;Ae[U]=!0;var ie="";x&&x._owner&&x._owner!==ze.current&&(ie=" It was passed a child from "+Q(x._owner.type)+"."),Oe(x),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',U,ie),Oe(null)}}function Ce(x,z){{if(typeof x!="object")return;if(Array.isArray(x))for(var U=0;U<x.length;U++){var ie=x[U];ve(ie)&&Ut(ie,z)}else if(ve(x))x._store&&(x._store.validated=!0);else if(x){var he=A(x);if(typeof he=="function"&&he!==x.entries)for(var me=he.call(x),ue;!(ue=me.next()).done;)ve(ue.value)&&Ut(ue.value,z)}}}function Je(x){{var z=x.type;if(z==null||typeof z=="string")return;var U;if(typeof z=="function")U=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===c||z.$$typeof===p))U=z.propTypes;else return;if(U){var ie=Q(z);w(U,x.props,"prop",ie,x)}else if(z.PropTypes!==void 0&&!Ve){Ve=!0;var he=Q(z);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function je(x){{for(var z=Object.keys(x.props),U=0;U<z.length;U++){var ie=z[U];if(ie!=="children"&&ie!=="key"){Oe(x),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),Oe(null);break}}x.ref!==null&&(Oe(x),T("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function Be(x,z,U,ie,he,me){{var ue=G(x);if(!ue){var ae="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(ae+=" 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 Ee=Ie(he);Ee?ae+=Ee:ae+=_e();var We;x===null?We="null":Array.isArray(x)?We="array":x!==void 0&&x.$$typeof===r?(We="<"+(Q(x.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):We=typeof x,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,ae)}var ct=we(x,z,U,he,me);if(ct==null)return ct;if(ue){var Kt=z.children;if(Kt!==void 0)if(ie)if(Array.isArray(Kt)){for(var na=0;na<Kt.length;na++)Ce(Kt[na],x);Object.freeze&&Object.freeze(Kt)}else T("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 Ce(Kt,x)}return x===e.Fragment?je(ct):Je(ct),ct}}function Ze(x,z,U){return Be(x,z,U,!0)}function mr(x,z,U){return Be(x,z,U,!1)}var br=mr,gr=Ze;e.jsx=br,e.jsxs=gr}()}(En)),En}(function(e){process.env.NODE_ENV==="production"?e.exports=Rp():e.exports=zp()})(Fp);const k=vr.jsx,le=vr.jsxs;function C(){return C=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},C.apply(this,arguments)}function Vp(e,t){const r=l.createContext(t);function n(i){const{children:a,...s}=i,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},a)}function o(i){const a=l.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function Pe(e,t=[]){let r=[];function n(i,a){const s=l.createContext(a),c=r.length;r=[...r,a];function d(p){const{scope:b,children:h,...g}=p,m=(b==null?void 0:b[e][c])||s,_=l.useMemo(()=>g,Object.values(g));return l.createElement(m.Provider,{value:_},h)}function f(p,b){const h=(b==null?void 0:b[e][c])||s,g=l.useContext(h);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return d.displayName=i+"Provider",[d,f]}const o=()=>{const i=r.map(a=>l.createContext(a));return function(s){const c=(s==null?void 0:s[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,jp(o,...t)]}function jp(...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(i){const a=n.reduce((s,{useScope:c,scopeName:d})=>{const p=c(i)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function Bp(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function la(...e){return t=>e.forEach(r=>Bp(r,t))}function se(...e){return l.useCallback(la(...e),e)}function H(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:()=>{},Wp=W["useId".toString()]||(()=>{});let Up=0;function Ue(e){const[t,r]=W.useState(Wp());return ye(()=>{e||r(n=>n??String(Up++))},[e]),e||(t?`radix-${t}`:"")}function Se(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 Ne({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=Kp({defaultProp:t,onChange:r}),i=e!==void 0,a=i?e:n,s=Se(r),c=l.useCallback(d=>{if(i){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[i,e,o,s]);return[a,c]}function Kp({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),i=Se(t);return l.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}const dt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),i=o.find(Hp);if(i){const a=i.props.children,s=o.map(c=>c===i?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:c);return l.createElement(Pn,C({},n,{ref:t}),l.isValidElement(a)?l.cloneElement(a,void 0,s):null)}return l.createElement(Pn,C({},n,{ref:t}),r)});dt.displayName="Slot";const Pn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Gp(n,r.props),ref:la(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});Pn.displayName="SlotClone";const Sn=({children:e})=>l.createElement(l.Fragment,null,e);function Hp(e){return l.isValidElement(e)&&e.type===Sn}function Gp(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{i(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const te=["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:i,...a}=n,s=i?dt:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,C({},a,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ca(e,t){e&&ut.flushSync(()=>e.dispatchEvent(t))}function qp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Cn="dismissableLayer.update",Yp="dismissableLayer.pointerDownOutside",Xp="dismissableLayer.focusOutside";let ua;const da=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ht=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(da),[p,b]=l.useState(null),h=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=l.useState({}),m=se(t,M=>b(M)),_=Array.from(f.layers),[$]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),y=_.indexOf($),E=p?_.indexOf(p):-1,v=f.layersWithOutsidePointerEventsDisabled.size>0,A=E>=y,L=Zp(M=>{const F=M.target,G=[...f.branches].some(S=>S.contains(F));!A||G||(i==null||i(M),s==null||s(M),M.defaultPrevented||c==null||c())},h),T=Qp(M=>{const F=M.target;[...f.branches].some(S=>S.contains(F))||(a==null||a(M),s==null||s(M),M.defaultPrevented||c==null||c())},h);return qp(M=>{E===f.layers.size-1&&(o==null||o(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},h),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ua=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),fa(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=ua)}},[p,h,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),fa())},[p,f]),l.useEffect(()=>{const M=()=>g({});return document.addEventListener(Cn,M),()=>document.removeEventListener(Cn,M)},[]),l.createElement(te.div,C({},d,{ref:m,style:{pointerEvents:v?A?"auto":"none":void 0,...e.style},onFocusCapture:H(e.onFocusCapture,T.onFocusCapture),onBlurCapture:H(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:H(e.onPointerDownCapture,L.onPointerDownCapture)}))}),Jp=l.forwardRef((e,t)=>{const r=l.useContext(da),n=l.useRef(null),o=se(t,n);return l.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.createElement(te.div,C({},e,{ref:o}))});function Zp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let d=function(){pa(Yp,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Qp(e,t=globalThis==null?void 0:globalThis.document){const r=Se(e),n=l.useRef(!1);return l.useEffect(()=>{const o=i=>{i.target&&!n.current&&pa(Xp,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function fa(){const e=new CustomEvent(Cn);document.dispatchEvent(e)}function pa(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const eh=Ht,th=Jp,Tn="focusScope.autoFocusOnMount",On="focusScope.autoFocusOnUnmount",ha={bubbles:!1,cancelable:!0},kn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),d=Se(o),f=Se(i),p=l.useRef(null),b=se(t,m=>c(m)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let m=function($){if(h.paused||!s)return;const y=$.target;s.contains(y)?p.current=y:ft(p.current,{select:!0})},_=function($){h.paused||!s||s.contains($.relatedTarget)||ft(p.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[n,s,h.paused]),l.useEffect(()=>{if(s){ga.add(h);const m=document.activeElement;if(!s.contains(m)){const $=new CustomEvent(Tn,ha);s.addEventListener(Tn,d),s.dispatchEvent($),$.defaultPrevented||(rh(sh(ma(s)),{select:!0}),document.activeElement===m&&ft(s))}return()=>{s.removeEventListener(Tn,d),setTimeout(()=>{const $=new CustomEvent(On,ha);s.addEventListener(On,f),s.dispatchEvent($),$.defaultPrevented||ft(m??document.body,{select:!0}),s.removeEventListener(On,f),ga.remove(h)},0)}}},[s,d,f,h]);const g=l.useCallback(m=>{if(!r&&!n||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,$=document.activeElement;if(_&&$){const y=m.currentTarget,[E,v]=nh(y);E&&v?!m.shiftKey&&$===v?(m.preventDefault(),r&&ft(E,{select:!0})):m.shiftKey&&$===E&&(m.preventDefault(),r&&ft(v,{select:!0})):$===y&&m.preventDefault()}},[r,n,h.paused]);return l.createElement(te.div,C({tabIndex:-1},a,{ref:b,onKeyDown:g}))});function rh(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ft(n,{select:t}),document.activeElement!==r)return}function nh(e){const t=ma(e),r=ba(t,e),n=ba(t.reverse(),e);return[r,n]}function ma(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 ba(e,t){for(const r of e)if(!oh(r,{upTo:t}))return r}function oh(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 ih(e){return e instanceof HTMLInputElement&&"select"in e}function ft(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&ih(e)&&t&&e.select()}}const ga=ah();function ah(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=va(e,t),e.unshift(t)},remove(t){var r;e=va(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function va(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function sh(e){return e.filter(t=>t.tagName!=="A")}const Gt=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?ut.createPortal(l.createElement(te.div,C({},o,{ref:t})),n):null});function lh(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const ke=e=>{const{present:t,children:r}=e,n=ch(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),i=se(n.ref,o.ref);return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:i}):null};ke.displayName="Presence";function ch(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=lh(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=_r(n.current);i.current=s==="mounted"?d:"none"},[s]),ye(()=>{const d=n.current,f=o.current;if(f!==e){const b=i.current,h=_r(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&b!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ye(()=>{if(t){const d=p=>{const h=_r(n.current).includes(p.animationName);p.target===t&&h&&ut.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(i.current=_r(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function _r(e){return(e==null?void 0:e.animationName)||"none"}let Dn=0;function In(){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:_a()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:_a()),Dn++,()=>{Dn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Dn--}},[])}function _a(){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 Me=function(){return Me=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Me.apply(this,arguments)};function ya(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 uh(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var yr="right-scroll-bar-position",$r="width-before-scroll-bar",dh="with-scroll-bars-hidden",fh="--removed-body-scroll-bar-size";function ph(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function hh(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 mh(e,t){return hh(t||null,function(r){return e.forEach(function(n){return ph(n,r)})})}function bh(e){return e}function gh(e,t){t===void 0&&(t=bh);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(i){var a=t(i,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(n=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var c=function(){var f=a;a=[],f.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),r}}}};return o}function vh(e){e===void 0&&(e={});var t=gh(null);return t.options=Me({async:!0,ssr:!1},e),t}var $a=function(e){var t=e.sideCar,r=ya(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 W.createElement(n,Me({},r))};$a.isSideCarExport=!0;function _h(e,t){return e.useMedium(t),$a}var xa=vh(),An=function(){},xr=W.forwardRef(function(e,t){var r=W.useRef(null),n=W.useState({onScrollCapture:An,onWheelCapture:An,onTouchMoveCapture:An}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,p=e.shards,b=e.sideCar,h=e.noIsolation,g=e.inert,m=e.allowPinchZoom,_=e.as,$=_===void 0?"div":_,y=ya(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=b,v=mh([r,t]),A=Me(Me({},y),o);return W.createElement(W.Fragment,null,f&&W.createElement(E,{sideCar:xa,removeScrollBar:d,shards:p,noIsolation:h,inert:g,setCallbacks:i,allowPinchZoom:!!m,lockRef:r}),a?W.cloneElement(W.Children.only(s),Me(Me({},A),{ref:v})):W.createElement($,Me({},A,{className:c,ref:v}),s))});xr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xr.classNames={fullWidth:$r,zeroRight:yr};var yh=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $h(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yh();return t&&e.setAttribute("nonce",t),e}function xh(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function wh(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Eh=function(){var e=0,t=null;return{add:function(r){e==0&&(t=$h())&&(xh(t,r),wh(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ph=function(){var e=Eh();return function(t,r){W.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},wa=function(){var e=Ph(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Sh={left:0,top:0,right:0,gap:0},Nn=function(e){return parseInt(e||"",10)||0},Ch=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[Nn(r),Nn(n),Nn(o)]},Th=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Sh;var t=Ch(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])}},Oh=wa(),kh=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
23
|
-
.`.concat(
|
|
22
|
+
Check the top-level render call using <`+W+">.")}return V}}function Ht(x,V){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var W=ft(V);if(Le[W])return;Le[W]=!0;var ie="";x&&x._owner&&x._owner!==Re.current&&(ie=" It was passed a child from "+ee(x._owner.type)+"."),Oe(x),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',W,ie),Oe(null)}}function Pe(x,V){{if(typeof x!="object")return;if(Array.isArray(x))for(var W=0;W<x.length;W++){var ie=x[W];ye(ie)&&Ht(ie,V)}else if(ye(x))x._store&&(x._store.validated=!0);else if(x){var be=A(x);if(typeof be=="function"&&be!==x.entries)for(var me=be.call(x),ue;!(ue=me.next()).done;)ye(ue.value)&&Ht(ue.value,V)}}}function Je(x){{var V=x.type;if(V==null||typeof V=="string")return;var W;if(typeof V=="function")W=V.propTypes;else if(typeof V=="object"&&(V.$$typeof===c||V.$$typeof===p))W=V.propTypes;else return;if(W){var ie=ee(V);w(W,x.props,"prop",ie,x)}else if(V.PropTypes!==void 0&&!Ke){Ke=!0;var be=ee(V);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof V.getDefaultProps=="function"&&!V.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Be(x){{for(var V=Object.keys(x.props),W=0;W<V.length;W++){var ie=V[W];if(ie!=="children"&&ie!=="key"){Oe(x),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),Oe(null);break}}x.ref!==null&&(Oe(x),P("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function Ue(x,V,W,ie,be,me){{var ue=G(x);if(!ue){var se="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(se+=" 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 ke=ze(be);ke?se+=ke:se+=$e();var We;x===null?We="null":Array.isArray(x)?We="array":x!==void 0&&x.$$typeof===r?(We="<"+(ee(x.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):We=typeof x,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,se)}var pt=Se(x,V,W,be,me);if(pt==null)return pt;if(ue){var Gt=V.children;if(Gt!==void 0)if(ie)if(Array.isArray(Gt)){for(var _i=0;_i<Gt.length;_i++)Pe(Gt[_i],x);Object.freeze&&Object.freeze(Gt)}else P("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 Pe(Gt,x)}return x===e.Fragment?Be(pt):Je(pt),pt}}function Qe(x,V,W){return Ue(x,V,W,!0)}function xr(x,V,W){return Ue(x,V,W,!1)}var Er=xr,wr=Qe;e.jsx=Er,e.jsxs=wr}()}(Nn)),Nn}(function(e){process.env.NODE_ENV==="production"?e.exports=rm():e.exports=nm()})(tm);const C=Tr.jsx,oe=Tr.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 om(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 xe(e,t=[]){let r=[];function n(a,i){const s=l.createContext(i),c=r.length;r=[...r,i];function d(p){const{scope:b,children:m,...h}=p,g=(b==null?void 0:b[e][c])||s,v=l.useMemo(()=>h,Object.values(h));return l.createElement(g.Provider,{value:v},m)}function f(p,b){const m=(b==null?void 0:b[e][c])||s,h=l.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,f]}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,am(o,...t)]}function am(...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:d})=>{const p=c(a)[`__scope${d}`];return{...s,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function im(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Si(...e){return t=>e.forEach(r=>im(r,t))}function le(...e){return l.useCallback(Si(...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 Ee=Boolean(globalThis==null?void 0:globalThis.document)?l.useLayoutEffect:()=>{},sm=B["useId".toString()]||(()=>{});let lm=0;function Ae(e){const[t,r]=B.useState(sm());return Ee(()=>{e||r(n=>n??String(lm++))},[e]),e||(t?`radix-${t}`:"")}function we(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 Ce({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=cm({defaultProp:t,onChange:r}),a=e!==void 0,i=a?e:n,s=we(r),c=l.useCallback(d=>{if(a){const p=typeof d=="function"?d(e):d;p!==e&&s(p)}else o(d)},[a,e,o,s]);return[i,c]}function cm({defaultProp:e,onChange:t}){const r=l.useState(e),[n]=r,o=l.useRef(n),a=we(t);return l.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}const mt=l.forwardRef((e,t)=>{const{children:r,...n}=e,o=l.Children.toArray(r),a=o.find(um);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(zn,S({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(zn,S({},n,{ref:t}),r)});mt.displayName="Slot";const zn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...dm(n,r.props),ref:Si(t,r.ref)}):l.Children.count(r)>1?l.Children.only(null):null});zn.displayName="SlotClone";const Ln=({children:e})=>l.createElement(l.Fragment,null,e);function um(e){return l.isValidElement(e)&&e.type===Ln}function dm(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 J=["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?mt: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 ki(e,t){e&&bt.flushSync(()=>e.dispatchEvent(t))}function fm(e,t=globalThis==null?void 0:globalThis.document){const r=we(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const Mn="dismissableLayer.update",pm="dismissableLayer.pointerDownOutside",bm="dismissableLayer.focusOutside";let Pi;const Ci=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qt=l.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(Ci),[p,b]=l.useState(null),m=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,h]=l.useState({}),g=le(t,N=>b(N)),v=Array.from(f.layers),[$]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf($),E=p?v.indexOf(p):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,A=E>=_,L=gm(N=>{const F=N.target,G=[...f.branches].some(k=>k.contains(F));!A||G||(a==null||a(N),s==null||s(N),N.defaultPrevented||c==null||c())},m),P=hm(N=>{const F=N.target;[...f.branches].some(k=>k.contains(F))||(i==null||i(N),s==null||s(N),N.defaultPrevented||c==null||c())},m);return fm(N=>{E===f.layers.size-1&&(o==null||o(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},m),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Pi=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Di(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Pi)}},[p,m,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Di())},[p,f]),l.useEffect(()=>{const N=()=>h({});return document.addEventListener(Mn,N),()=>document.removeEventListener(Mn,N)},[]),l.createElement(J.div,S({},d,{ref:g,style:{pointerEvents:y?A?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,P.onFocusCapture),onBlurCapture:U(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,L.onPointerDownCapture)}))}),mm=l.forwardRef((e,t)=>{const r=l.useContext(Ci),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(J.div,S({},e,{ref:o}))});function gm(e,t=globalThis==null?void 0:globalThis.document){const r=we(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let d=function(){Ii(pm,r,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}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 hm(e,t=globalThis==null?void 0:globalThis.document){const r=we(e),n=l.useRef(!1);return l.useEffect(()=>{const o=a=>{a.target&&!n.current&&Ii(bm,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 Di(){const e=new CustomEvent(Mn);document.dispatchEvent(e)}function Ii(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?ki(o,a):o.dispatchEvent(a)}const vm=qt,ym=mm,Fn="focusScope.autoFocusOnMount",Vn="focusScope.autoFocusOnUnmount",Oi={bubbles:!1,cancelable:!0},jn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,c]=l.useState(null),d=we(o),f=we(a),p=l.useRef(null),b=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 _=$.target;s.contains(_)?p.current=_:gt(p.current,{select:!0})},v=function($){m.paused||!s||s.contains($.relatedTarget)||gt(p.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){zi.add(m);const g=document.activeElement;if(!s.contains(g)){const $=new CustomEvent(Fn,Oi);s.addEventListener(Fn,d),s.dispatchEvent($),$.defaultPrevented||($m(Tm(Ai(s)),{select:!0}),document.activeElement===g&>(s))}return()=>{s.removeEventListener(Fn,d),setTimeout(()=>{const $=new CustomEvent(Vn,Oi);s.addEventListener(Vn,f),s.dispatchEvent($),$.defaultPrevented||gt(g??document.body,{select:!0}),s.removeEventListener(Vn,f),zi.remove(m)},0)}}},[s,d,f,m]);const h=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 _=g.currentTarget,[E,y]=_m(_);E&&y?!g.shiftKey&&$===y?(g.preventDefault(),r&>(E,{select:!0})):g.shiftKey&&$===E&&(g.preventDefault(),r&>(y,{select:!0})):$===_&&g.preventDefault()}},[r,n,m.paused]);return l.createElement(J.div,S({tabIndex:-1},i,{ref:b,onKeyDown:h}))});function $m(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(gt(n,{select:t}),document.activeElement!==r)return}function _m(e){const t=Ai(e),r=Ni(t,e),n=Ni(t.reverse(),e);return[r,n]}function Ai(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 Ni(e,t){for(const r of e)if(!xm(r,{upTo:t}))return r}function xm(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 Em(e){return e instanceof HTMLInputElement&&"select"in e}function gt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Em(e)&&t&&e.select()}}const zi=wm();function wm(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Li(e,t),e.unshift(t)},remove(t){var r;e=Li(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Li(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Tm(e){return e.filter(t=>t.tagName!=="A")}const Yt=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?bt.createPortal(l.createElement(J.div,S({},o,{ref:t})),n):null});function Sm(e,t){return l.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const De=e=>{const{present:t,children:r}=e,n=km(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};De.displayName="Presence";function km(e){const[t,r]=l.useState(),n=l.useRef({}),o=l.useRef(e),a=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Sm(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const d=Sr(n.current);a.current=s==="mounted"?d:"none"},[s]),Ee(()=>{const d=n.current,f=o.current;if(f!==e){const b=a.current,m=Sr(d);e?c("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&b!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Ee(()=>{if(t){const d=p=>{const m=Sr(n.current).includes(p.animationName);p.target===t&&m&&bt.flushSync(()=>c("ANIMATION_END"))},f=p=>{p.target===t&&(a.current=Sr(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Sr(e){return(e==null?void 0:e.animationName)||"none"}let Rn=0;function Kn(){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:Mi()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Mi()),Rn++,()=>{Rn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Rn--}},[])}function Mi(){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 Me=function(){return Me=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},Me.apply(this,arguments)};function Fi(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 Pm(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 kr="right-scroll-bar-position",Pr="width-before-scroll-bar",Cm="with-scroll-bars-hidden",Dm="--removed-body-scroll-bar-size";function Im(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Om(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 Am(e,t){return Om(t||null,function(r){return e.forEach(function(n){return Im(n,r)})})}function Nm(e){return e}function zm(e,t){t===void 0&&(t=Nm);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 f=i;i=[],f.forEach(a)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function Lm(e){e===void 0&&(e={});var t=zm(null);return t.options=Me({async:!0,ssr:!1},e),t}var Vi=function(e){var t=e.sideCar,r=Fi(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 B.createElement(n,Me({},r))};Vi.isSideCarExport=!0;function Mm(e,t){return e.useMedium(t),Vi}var ji=Lm(),Bn=function(){},Cr=B.forwardRef(function(e,t){var r=B.useRef(null),n=B.useState({onScrollCapture:Bn,onWheelCapture:Bn,onTouchMoveCapture:Bn}),o=n[0],a=n[1],i=e.forwardProps,s=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,p=e.shards,b=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,v=e.as,$=v===void 0?"div":v,_=Fi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=b,y=Am([r,t]),A=Me(Me({},_),o);return B.createElement(B.Fragment,null,f&&B.createElement(E,{sideCar:ji,removeScrollBar:d,shards:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),i?B.cloneElement(B.Children.only(s),Me(Me({},A),{ref:y})):B.createElement($,Me({},A,{className:c,ref:y}),s))});Cr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Cr.classNames={fullWidth:Pr,zeroRight:kr};var Fm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Vm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Fm();return t&&e.setAttribute("nonce",t),e}function jm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Rm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Km=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Vm())&&(jm(t,r),Rm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Bm=function(){var e=Km();return function(t,r){B.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ri=function(){var e=Bm(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Um={left:0,top:0,right:0,gap:0},Un=function(e){return parseInt(e||"",10)||0},Wm=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[Un(r),Un(n),Un(o)]},Hm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Um;var t=Wm(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])}},Gm=Ri(),qm=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
23
|
+
.`.concat(Cm,` {
|
|
24
24
|
overflow: hidden `).concat(n,`;
|
|
25
25
|
padding-right: `).concat(s,"px ").concat(n,`;
|
|
26
26
|
}
|
|
@@ -29,37 +29,37 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
29
29
|
overscroll-behavior: contain;
|
|
30
30
|
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
31
31
|
padding-left: `.concat(o,`px;
|
|
32
|
-
padding-top: `).concat(
|
|
33
|
-
padding-right: `).concat(
|
|
32
|
+
padding-top: `).concat(a,`px;
|
|
33
|
+
padding-right: `).concat(i,`px;
|
|
34
34
|
margin-left:0;
|
|
35
35
|
margin-top:0;
|
|
36
36
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
37
37
|
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.`).concat(
|
|
40
|
+
.`).concat(kr,` {
|
|
41
41
|
right: `).concat(s,"px ").concat(n,`;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.`).concat(
|
|
44
|
+
.`).concat(Pr,` {
|
|
45
45
|
margin-right: `).concat(s,"px ").concat(n,`;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.`).concat(
|
|
48
|
+
.`).concat(kr," .").concat(kr,` {
|
|
49
49
|
right: 0 `).concat(n,`;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.`).concat(
|
|
52
|
+
.`).concat(Pr," .").concat(Pr,` {
|
|
53
53
|
margin-right: 0 `).concat(n,`;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
body {
|
|
57
|
-
`).concat(
|
|
57
|
+
`).concat(Dm,": ").concat(s,`px;
|
|
58
58
|
}
|
|
59
|
-
`)},
|
|
59
|
+
`)},Ym=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=B.useMemo(function(){return Hm(o)},[o]);return B.createElement(Gm,{styles:qm(a,!t,o,r?"":"!important")})},Wn=!1;if(typeof window<"u")try{var Dr=Object.defineProperty({},"passive",{get:function(){return Wn=!0,!0}});window.addEventListener("test",Dr,Dr),window.removeEventListener("test",Dr,Dr)}catch{Wn=!1}var St=Wn?{passive:!1}:!1,Xm=function(e){return e.tagName==="TEXTAREA"},Ki=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Xm(e)&&r[t]==="visible")},Zm=function(e){return Ki(e,"overflowY")},Jm=function(e){return Ki(e,"overflowX")},Bi=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Ui(e,r);if(n){var o=Wi(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},Qm=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},eg=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Ui=function(e,t){return e==="v"?Zm(t):Jm(t)},Wi=function(e,t){return e==="v"?Qm(t):eg(t)},tg=function(e,t){return e==="h"&&t==="rtl"?-1:1},rg=function(e,t,r,n,o){var a=tg(e,window.getComputedStyle(t).direction),i=a*n,s=r.target,c=t.contains(s),d=!1,f=i>0,p=0,b=0;do{var m=Wi(e,s),h=m[0],g=m[1],v=m[2],$=g-v-a*h;(h||$)&&Ui(e,s)&&(p+=$,b+=h),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(o&&p===0||!o&&i>p)||!f&&(o&&b===0||!o&&-i>b))&&(d=!0),d},Ir=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Hi=function(e){return[e.deltaX,e.deltaY]},Gi=function(e){return e&&"current"in e?e.current:e},ng=function(e,t){return e[0]===t[0]&&e[1]===t[1]},og=function(e){return`
|
|
60
60
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
61
61
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
62
|
-
`)},jh=0,Et=[];function Bh(e){var t=W.useRef([]),r=W.useRef([0,0]),n=W.useRef(),o=W.useState(jh++)[0],i=W.useState(function(){return wa()})[0],a=W.useRef(e);W.useEffect(function(){a.current=e},[e]),W.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=uh([e.lockRef.current],(e.shards||[]).map(Oa),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=W.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var $=Er(m),y=r.current,E="deltaX"in m?m.deltaX:y[0]-$[0],v="deltaY"in m?m.deltaY:y[1]-$[1],A,L=m.target,T=Math.abs(E)>Math.abs(v)?"h":"v";if("touches"in m&&T==="h"&&L.type==="range")return!1;var M=Pa(T,L);if(!M)return!0;if(M?A=T:(A=T==="v"?"h":"v",M=Pa(T,L)),!M)return!1;if(!n.current&&"changedTouches"in m&&(E||v)&&(n.current=A),!A)return!0;var F=n.current||A;return Rh(F,_,m,F==="h"?E:v,!0)},[]),c=W.useCallback(function(m){var _=m;if(!(!Et.length||Et[Et.length-1]!==i)){var $="deltaY"in _?Ta(_):Er(_),y=t.current.filter(function(A){return A.name===_.type&&A.target===_.target&&zh(A.delta,$)})[0];if(y&&y.should){_.cancelable&&_.preventDefault();return}if(!y){var E=(a.current.shards||[]).map(Oa).filter(Boolean).filter(function(A){return A.contains(_.target)}),v=E.length>0?s(_,E[0]):!a.current.noIsolation;v&&_.cancelable&&_.preventDefault()}}},[]),d=W.useCallback(function(m,_,$,y){var E={name:m,delta:_,target:$,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(v){return v!==E})},1)},[]),f=W.useCallback(function(m){r.current=Er(m),n.current=void 0},[]),p=W.useCallback(function(m){d(m.type,Ta(m),m.target,s(m,e.lockRef.current))},[]),b=W.useCallback(function(m){d(m.type,Er(m),m.target,s(m,e.lockRef.current))},[]);W.useEffect(function(){return Et.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:b}),document.addEventListener("wheel",c,wt),document.addEventListener("touchmove",c,wt),document.addEventListener("touchstart",f,wt),function(){Et=Et.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,wt),document.removeEventListener("touchmove",c,wt),document.removeEventListener("touchstart",f,wt)}},[]);var h=e.removeScrollBar,g=e.inert;return W.createElement(W.Fragment,null,g?W.createElement(i,{styles:Vh(o)}):null,h?W.createElement(Dh,{gapMode:"margin"}):null)}const Wh=_h(xa,Bh);var ka=W.forwardRef(function(e,t){return W.createElement(xr,Me({},e,{ref:t,sideCar:Wh}))});ka.classNames=xr.classNames;const Ln=ka;var Uh=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Pr=new WeakMap,Sr={},Fn=0,Da=function(e){return e&&(e.host||Da(e.parentNode))},Kh=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Da(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)})},Hh=function(e,t,r,n){var o=Kh(t,Array.isArray(e)?e:[e]);Sr[r]||(Sr[r]=new WeakMap);var i=Sr[r],a=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))f(b);else{var h=b.getAttribute(n),g=h!==null&&h!=="false",m=(Pt.get(b)||0)+1,_=(i.get(b)||0)+1;Pt.set(b,m),i.set(b,_),a.push(b),m===1&&g&&Pr.set(b,!0),_===1&&b.setAttribute(r,"true"),g||b.setAttribute(n,"true")}})};return f(t),s.clear(),Fn++,function(){a.forEach(function(p){var b=Pt.get(p)-1,h=i.get(p)-1;Pt.set(p,b),i.set(p,h),b||(Pr.has(p)||p.removeAttribute(n),Pr.delete(p)),h||p.removeAttribute(r)}),Fn--,Fn||(Pt=new WeakMap,Pt=new WeakMap,Pr=new WeakMap,Sr={})}},Rn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Uh(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Hh(n,o,r,"aria-hidden")):function(){return null}};const Ia="Dialog",[Aa,Na]=Pe(Ia),[Gh,De]=Aa(Ia),qh=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(Gh,{scope:t,triggerRef:s,contentRef:c,contentId:Ue(),titleId:Ue(),descriptionId:Ue(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:a},r)},Yh="DialogTrigger",Xh=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(Yh,r),i=se(t,o.triggerRef);return l.createElement(te.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Vn(o.open)},n,{ref:i,onClick:H(e.onClick,o.onOpenToggle)}))}),Ma="DialogPortal",[Jh,La]=Aa(Ma,{forceMount:void 0}),Zh=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=De(Ma,t);return l.createElement(Jh,{scope:t,forceMount:r},l.Children.map(n,a=>l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},a))))},zn="DialogOverlay",Qh=l.forwardRef((e,t)=>{const r=La(zn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=De(zn,e.__scopeDialog);return i.modal?l.createElement(ke,{present:n||i.open},l.createElement(e0,C({},o,{ref:t}))):null}),e0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(zn,r);return l.createElement(Ln,{as:dt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(te.div,C({"data-state":Vn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),St="DialogContent",t0=l.forwardRef((e,t)=>{const r=La(St,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=De(St,e.__scopeDialog);return l.createElement(ke,{present:n||i.open},i.modal?l.createElement(r0,C({},o,{ref:t})):l.createElement(n0,C({},o,{ref:t})))}),r0=l.forwardRef((e,t)=>{const r=De(St,e.__scopeDialog),n=l.useRef(null),o=se(t,r.contentRef,n);return l.useEffect(()=>{const i=n.current;if(i)return Rn(i)},[]),l.createElement(Fa,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:H(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:H(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:H(e.onFocusOutside,i=>i.preventDefault())}))}),n0=l.forwardRef((e,t)=>{const r=De(St,e.__scopeDialog),n=l.useRef(!1);return l.createElement(Fa,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),Fa=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=De(St,r),c=l.useRef(null),d=se(t,c);return In(),l.createElement(l.Fragment,null,l.createElement(kn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,C({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Vn(s.open)},a,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),Ra="DialogTitle",o0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(Ra,r);return l.createElement(te.h2,C({id:o.titleId},n,{ref:t}))}),i0="DialogDescription",a0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(i0,r);return l.createElement(te.p,C({id:o.descriptionId},n,{ref:t}))}),s0="DialogClose",l0=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=De(s0,r);return l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,()=>o.onOpenChange(!1))}))});function Vn(e){return e?"open":"closed"}const c0="DialogTitleWarning",[u0,xE]=Vp(c0,{contentName:St,titleName:Ra,docsSlug:"dialog"}),za=qh,Va=Xh,ja=Zh,Ba=Qh,Wa=t0,Ua=o0,Ka=a0,jn=l0,d0="AlertDialog",[f0,wE]=Pe(d0,[Na]),Ke=Na(),p0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(za,C({},n,r,{modal:!0}))},h0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Va,C({},o,n,{ref:t}))}),m0=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ke(t);return l.createElement(ja,C({},n,r))},b0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ba,C({},o,n,{ref:t}))}),Ha="AlertDialogContent",[g0,v0]=f0(Ha),_0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,i=Ke(r),a=l.useRef(null),s=se(t,a),c=l.useRef(null);return l.createElement(u0,{contentName:Ha,titleName:y0,docsSlug:"alert-dialog"},l.createElement(g0,{scope:r,cancelRef:c},l.createElement(Wa,C({role:"alertdialog"},i,o,{ref:s,onOpenAutoFocus:H(o.onOpenAutoFocus,d=>{var f;d.preventDefault(),(f=c.current)===null||f===void 0||f.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Sn,null,n),!1)))}),y0="AlertDialogTitle",$0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ua,C({},o,n,{ref:t}))}),x0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(Ka,C({},o,n,{ref:t}))}),w0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=Ke(r);return l.createElement(jn,C({},o,n,{ref:t}))}),E0="AlertDialogCancel",P0=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=v0(E0,r),i=Ke(r),a=se(t,o);return l.createElement(jn,C({},i,n,{ref:a}))}),S0=p0,C0=h0,T0=m0,O0=b0,k0=_0,D0=w0,I0=P0,A0=$0,N0=x0,u={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)"},Bn=I.keyframes`
|
|
62
|
+
`)},ag=0,kt=[];function ig(e){var t=B.useRef([]),r=B.useRef([0,0]),n=B.useRef(),o=B.useState(ag++)[0],a=B.useState(function(){return Ri()})[0],i=B.useRef(e);B.useEffect(function(){i.current=e},[e]),B.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Pm([e.lockRef.current],(e.shards||[]).map(Gi),!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=B.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var $=Ir(g),_=r.current,E="deltaX"in g?g.deltaX:_[0]-$[0],y="deltaY"in g?g.deltaY:_[1]-$[1],A,L=g.target,P=Math.abs(E)>Math.abs(y)?"h":"v";if("touches"in g&&P==="h"&&L.type==="range")return!1;var N=Bi(P,L);if(!N)return!0;if(N?A=P:(A=P==="v"?"h":"v",N=Bi(P,L)),!N)return!1;if(!n.current&&"changedTouches"in g&&(E||y)&&(n.current=A),!A)return!0;var F=n.current||A;return rg(F,v,g,F==="h"?E:y,!0)},[]),c=B.useCallback(function(g){var v=g;if(!(!kt.length||kt[kt.length-1]!==a)){var $="deltaY"in v?Hi(v):Ir(v),_=t.current.filter(function(A){return A.name===v.type&&A.target===v.target&&ng(A.delta,$)})[0];if(_&&_.should){v.cancelable&&v.preventDefault();return}if(!_){var E=(i.current.shards||[]).map(Gi).filter(Boolean).filter(function(A){return A.contains(v.target)}),y=E.length>0?s(v,E[0]):!i.current.noIsolation;y&&v.cancelable&&v.preventDefault()}}},[]),d=B.useCallback(function(g,v,$,_){var E={name:g,delta:v,target:$,should:_};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(y){return y!==E})},1)},[]),f=B.useCallback(function(g){r.current=Ir(g),n.current=void 0},[]),p=B.useCallback(function(g){d(g.type,Hi(g),g.target,s(g,e.lockRef.current))},[]),b=B.useCallback(function(g){d(g.type,Ir(g),g.target,s(g,e.lockRef.current))},[]);B.useEffect(function(){return kt.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:b}),document.addEventListener("wheel",c,St),document.addEventListener("touchmove",c,St),document.addEventListener("touchstart",f,St),function(){kt=kt.filter(function(g){return g!==a}),document.removeEventListener("wheel",c,St),document.removeEventListener("touchmove",c,St),document.removeEventListener("touchstart",f,St)}},[]);var m=e.removeScrollBar,h=e.inert;return B.createElement(B.Fragment,null,h?B.createElement(a,{styles:og(o)}):null,m?B.createElement(Ym,{gapMode:"margin"}):null)}const sg=Mm(ji,ig);var qi=B.forwardRef(function(e,t){return B.createElement(Cr,Me({},e,{ref:t,sideCar:sg}))});qi.classNames=Cr.classNames;const Hn=qi;var lg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pt=new WeakMap,Or=new WeakMap,Ar={},Gn=0,Yi=function(e){return e&&(e.host||Yi(e.parentNode))},cg=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Yi(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)})},ug=function(e,t,r,n){var o=cg(t,Array.isArray(e)?e:[e]);Ar[r]||(Ar[r]=new WeakMap);var a=Ar[r],i=[],s=new Set,c=new Set(o),d=function(p){!p||s.has(p)||(s.add(p),d(p.parentNode))};o.forEach(d);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(b){if(s.has(b))f(b);else{var m=b.getAttribute(n),h=m!==null&&m!=="false",g=(Pt.get(b)||0)+1,v=(a.get(b)||0)+1;Pt.set(b,g),a.set(b,v),i.push(b),g===1&&h&&Or.set(b,!0),v===1&&b.setAttribute(r,"true"),h||b.setAttribute(n,"true")}})};return f(t),s.clear(),Gn++,function(){i.forEach(function(p){var b=Pt.get(p)-1,m=a.get(p)-1;Pt.set(p,b),a.set(p,m),b||(Or.has(p)||p.removeAttribute(n),Or.delete(p)),m||p.removeAttribute(r)}),Gn--,Gn||(Pt=new WeakMap,Pt=new WeakMap,Or=new WeakMap,Ar={})}},qn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||lg(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),ug(n,o,r,"aria-hidden")):function(){return null}};const Xi="Dialog",[Zi,Ji]=xe(Xi),[dg,Ne]=Zi(Xi),fg=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(dg,{scope:t,triggerRef:s,contentRef:c,contentId:Ae(),titleId:Ae(),descriptionId:Ae(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(p=>!p),[f]),modal:i},r)},pg="DialogTrigger",bg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(pg,r),a=le(t,o.triggerRef);return l.createElement(J.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xn(o.open)},n,{ref:a,onClick:U(e.onClick,o.onOpenToggle)}))}),Qi="DialogPortal",[mg,es]=Zi(Qi,{forceMount:void 0}),gg=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Ne(Qi,t);return l.createElement(mg,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(De,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},i))))},Yn="DialogOverlay",hg=l.forwardRef((e,t)=>{const r=es(Yn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ne(Yn,e.__scopeDialog);return a.modal?l.createElement(De,{present:n||a.open},l.createElement(vg,S({},o,{ref:t}))):null}),vg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Yn,r);return l.createElement(Hn,{as:mt,allowPinchZoom:!0,shards:[o.contentRef]},l.createElement(J.div,S({"data-state":Xn(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Ct="DialogContent",yg=l.forwardRef((e,t)=>{const r=es(Ct,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Ne(Ct,e.__scopeDialog);return l.createElement(De,{present:n||a.open},a.modal?l.createElement($g,S({},o,{ref:t})):l.createElement(_g,S({},o,{ref:t})))}),$g=l.forwardRef((e,t)=>{const r=Ne(Ct,e.__scopeDialog),n=l.useRef(null),o=le(t,r.contentRef,n);return l.useEffect(()=>{const a=n.current;if(a)return qn(a)},[]),l.createElement(ts,S({},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())}))}),_g=l.forwardRef((e,t)=>{const r=Ne(Ct,e.__scopeDialog),n=l.useRef(!1);return l.createElement(ts,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()}}))}),ts=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=Ne(Ct,r),c=l.useRef(null),d=le(t,c);return Kn(),l.createElement(l.Fragment,null,l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(qt,S({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Xn(s.open)},i,{ref:d,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),rs="DialogTitle",xg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(rs,r);return l.createElement(J.h2,S({id:o.titleId},n,{ref:t}))}),Eg="DialogDescription",wg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Eg,r);return l.createElement(J.p,S({id:o.descriptionId},n,{ref:t}))}),Tg="DialogClose",Sg=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Ne(Tg,r);return l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))});function Xn(e){return e?"open":"closed"}const kg="DialogTitleWarning",[Pg,RS]=om(kg,{contentName:Ct,titleName:rs,docsSlug:"dialog"}),ns=fg,os=bg,as=gg,is=hg,ss=yg,ls=xg,cs=wg,Zn=Sg,Cg="AlertDialog",[Dg,KS]=xe(Cg,[Ji]),He=Ji(),Ig=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(ns,S({},n,r,{modal:!0}))},Og=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(os,S({},o,n,{ref:t}))}),Ag=e=>{const{__scopeAlertDialog:t,...r}=e,n=He(t);return l.createElement(as,S({},n,r))},Ng=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(is,S({},o,n,{ref:t}))}),us="AlertDialogContent",[zg,Lg]=Dg(us),Mg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...o}=e,a=He(r),i=l.useRef(null),s=le(t,i),c=l.useRef(null);return l.createElement(Pg,{contentName:us,titleName:Fg,docsSlug:"alert-dialog"},l.createElement(zg,{scope:r,cancelRef:c},l.createElement(ss,S({role:"alertdialog"},a,o,{ref:s,onOpenAutoFocus:U(o.onOpenAutoFocus,d=>{var f;d.preventDefault(),(f=c.current)===null||f===void 0||f.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault()}),l.createElement(Ln,null,n),!1)))}),Fg="AlertDialogTitle",Vg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(ls,S({},o,n,{ref:t}))}),jg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(cs,S({},o,n,{ref:t}))}),Rg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,o=He(r);return l.createElement(Zn,S({},o,n,{ref:t}))}),Kg="AlertDialogCancel",Bg=l.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:o}=Lg(Kg,r),a=He(r),i=le(t,o);return l.createElement(Zn,S({},a,n,{ref:i}))}),Ug=Ig,Wg=Og,Hg=Ag,Gg=Ng,qg=Mg,Yg=Rg,Xg=Bg,Zg=Vg,Jg=jg,u={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)"},Jn=D.keyframes`
|
|
63
63
|
0% {
|
|
64
64
|
opacity: 0;
|
|
65
65
|
}
|
|
@@ -67,7 +67,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
67
67
|
100% {
|
|
68
68
|
opacity: var(--overlay-opacity);
|
|
69
69
|
}
|
|
70
|
-
`,
|
|
70
|
+
`,Qn=D.keyframes`
|
|
71
71
|
0% {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -77,18 +77,18 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
77
77
|
opacity: 1;
|
|
78
78
|
transform: translate(-50%, -50%) scale(1);
|
|
79
79
|
}
|
|
80
|
-
`,
|
|
80
|
+
`,Qg=D(is)`
|
|
81
81
|
--overlay-opacity: 0.6;
|
|
82
|
-
background-color: ${u.
|
|
82
|
+
background-color: ${u.color_background_black_strong};
|
|
83
83
|
opacity: var(--overlay-opacity);
|
|
84
84
|
position: fixed;
|
|
85
85
|
inset: 0;
|
|
86
86
|
z-index: 4;
|
|
87
|
-
animation: ${
|
|
88
|
-
`,
|
|
87
|
+
animation: ${Jn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
88
|
+
`,eo={small:"360px",medium:"540px",large:"960px"},eh=D(ss)`
|
|
89
89
|
background: ${u.color_white};
|
|
90
90
|
padding: ${u.sizing_500};
|
|
91
|
-
width: ${e=>
|
|
91
|
+
width: ${e=>eo[e.size??"medium"]};
|
|
92
92
|
max-width: 100vw;
|
|
93
93
|
max-height: 85vh;
|
|
94
94
|
overflow: auto;
|
|
@@ -100,8 +100,8 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
100
100
|
z-index: 5;
|
|
101
101
|
box-shadow: ${u.elevation_static_high};
|
|
102
102
|
border-radius: ${u.border_radius_400};
|
|
103
|
-
animation: ${
|
|
104
|
-
`;function
|
|
103
|
+
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
104
|
+
`;function th({children:e,size:t,...r}){return oe(as,{children:[C(Qg,{}),C(eh,{size:t,...r,children:e})]})}const rh=D(ls)`
|
|
105
105
|
font-family: ${u.font_family_sans};
|
|
106
106
|
font-style: normal;
|
|
107
107
|
font-weight: 500;
|
|
@@ -111,7 +111,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
111
111
|
margin: 0;
|
|
112
112
|
margin-bottom: ${u.spacing_200};
|
|
113
113
|
color: ${u.color_text_strong};
|
|
114
|
-
`,
|
|
114
|
+
`,nh=D(cs)`
|
|
115
115
|
font-family: ${u.font_family_sans};
|
|
116
116
|
font-style: normal;
|
|
117
117
|
font-weight: 400;
|
|
@@ -120,12 +120,12 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
120
120
|
margin: 0;
|
|
121
121
|
margin-top: ${u.sizing_200}; /* or flex parent and gap? */
|
|
122
122
|
margin-bottom: ${u.sizing_400};
|
|
123
|
-
`,
|
|
123
|
+
`,oh=D.footer`
|
|
124
124
|
margin-top: ${u.spacing_400};
|
|
125
125
|
display: flex;
|
|
126
126
|
justify-content: end;
|
|
127
127
|
gap: ${u.sizing_200};
|
|
128
|
-
`,
|
|
128
|
+
`,ah=D.button`
|
|
129
129
|
all: unset;
|
|
130
130
|
font-family: inherit;
|
|
131
131
|
height: 25px;
|
|
@@ -145,20 +145,22 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
145
145
|
|
|
146
146
|
&:hover {
|
|
147
147
|
color: ${u.color_fill_primary_hover};
|
|
148
|
-
background-color: hsl(
|
|
148
|
+
background-color: hsl(
|
|
149
|
+
0deg 0% 0% / 3%
|
|
150
|
+
); /* Figma says Interactive / Overlay / Secondary / Hover? but it's not this color */
|
|
149
151
|
}
|
|
150
|
-
`,
|
|
152
|
+
`,ih=ns,sh=os,lh=Zn,ch=D(Gg)`
|
|
151
153
|
--overlay-opacity: 0.6;
|
|
152
|
-
background-color: ${u.
|
|
154
|
+
background-color: ${u.color_background_black_strong};
|
|
153
155
|
opacity: var(--overlay-opacity);
|
|
154
156
|
position: fixed;
|
|
155
157
|
inset: 0;
|
|
156
158
|
z-index: 4;
|
|
157
|
-
animation: ${
|
|
158
|
-
`,
|
|
159
|
+
animation: ${Jn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
160
|
+
`,uh=D(qg)`
|
|
159
161
|
background: ${u.color_white};
|
|
160
162
|
padding: ${u.sizing_500};
|
|
161
|
-
width: ${e=>
|
|
163
|
+
width: ${e=>eo[e.size??"medium"]};
|
|
162
164
|
max-width: 100vw;
|
|
163
165
|
max-height: 85vh;
|
|
164
166
|
overflow: auto;
|
|
@@ -170,8 +172,8 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
170
172
|
z-index: 5;
|
|
171
173
|
box-shadow: ${u.elevation_static_high};
|
|
172
174
|
border-radius: ${u.border_radius_400};
|
|
173
|
-
animation: ${
|
|
174
|
-
`;function
|
|
175
|
+
animation: ${Qn} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
176
|
+
`;function dh({children:e,size:t,...r}){return oe(Hg,{children:[C(ch,{}),C(uh,{size:t,...r,children:e})]})}const fh=D(Zg)`
|
|
175
177
|
font-family: ${u.font_family_sans};
|
|
176
178
|
font-style: normal;
|
|
177
179
|
font-weight: 500;
|
|
@@ -181,7 +183,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
181
183
|
margin: 0;
|
|
182
184
|
margin-bottom: ${u.spacing_200};
|
|
183
185
|
color: ${u.color_text_strong};
|
|
184
|
-
`,
|
|
186
|
+
`,ph=D(Jg)`
|
|
185
187
|
font-family: ${u.font_family_sans};
|
|
186
188
|
font-style: normal;
|
|
187
189
|
font-weight: 400;
|
|
@@ -190,20 +192,26 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
190
192
|
margin: 0;
|
|
191
193
|
margin-top: ${u.sizing_200}; /* or flex parent and gap? */
|
|
192
194
|
margin-bottom: ${u.sizing_400};
|
|
193
|
-
`,
|
|
195
|
+
`,bh=D.footer`
|
|
194
196
|
margin-top: ${u.sizing_400};
|
|
195
197
|
display: flex;
|
|
196
198
|
justify-content: end;
|
|
197
199
|
gap: ${u.sizing_200};
|
|
198
|
-
`,J0=S0,Z0=C0,Q0=D0,em=I0,Cr=l.forwardRef((e,t)=>l.createElement(te.span,C({},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}}))),Ga=Cr,tm=({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(Ga,null,t))};function qt({children:e,label:t}){return k(tm,{label:t,children:e})}function Ct(e){return e.split("-")[0]}function Tr(e){return e.split("-")[1]}function Tt(e){return["top","bottom"].includes(Ct(e))?"x":"y"}function Kn(e){return e==="y"?"height":"width"}function qa(e,t,r){let{reference:n,floating:o}=e;const i=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,s=Tt(t),c=Kn(s),d=n[c]/2-o[c]/2,f=Ct(t),p=s==="x";let b;switch(f){case"top":b={x:i,y:n.y-o.height};break;case"bottom":b={x:i,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:a};break;case"left":b={x:n.x-o.width,y:a};break;default:b={x:n.x,y:n.y}}switch(Tr(t)){case"start":b[s]-=d*(r&&p?-1:1);break;case"end":b[s]+=d*(r&&p?-1:1);break}return b}const rm=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=await(a.isRTL==null?void 0:a.isRTL(t));if(process.env.NODE_ENV!=="production"&&(a==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),i.filter(g=>{let{name:m}=g;return m==="autoPlacement"||m==="flip"}).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=qa(c,n,s),p=n,b={},h=0;for(let g=0;g<i.length;g++){const{name:m,fn:_}=i[g],{x:$,y,data:E,reset:v}=await _({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:a,elements:{reference:e,floating:t}});if(d=$??d,f=y??f,b={...b,[m]:{...b[m],...E}},process.env.NODE_ENV!=="production"&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),v&&h<=50){h++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:d,y:f}=qa(c,p,s)),g=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:b}};function nm(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ya(e){return typeof e!="number"?nm(e):{top:e,right:e,bottom:e,left:e}}function Or(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function kr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:b=!1,padding:h=0}=t,g=Ya(h),_=s[b?p==="floating"?"reference":"floating":p],$=Or(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),y=Or(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...a.floating,x:n,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:c}):a[p]);return{top:$.top-y.top+g.top,bottom:y.bottom-$.bottom+g.bottom,left:$.left-y.left+g.left,right:y.right-$.right+g.right}}const om=Math.min,im=Math.max;function Hn(e,t,r){return im(e,om(t,r))}const Xa=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e??{},{x:o,y:i,placement:a,rects:s,platform:c}=t;if(r==null)return process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=Ya(n),f={x:o,y:i},p=Tt(a),b=Tr(a),h=Kn(p),g=await c.getDimensions(r),m=p==="y"?"top":"left",_=p==="y"?"bottom":"right",$=s.reference[h]+s.reference[p]-f[p]-s.floating[h],y=f[p]-s.reference[p],E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let v=E?p==="y"?E.clientHeight||0:E.clientWidth||0:0;v===0&&(v=s.floating[h]);const A=$/2-y/2,L=d[m],T=v-g[h]-d[_],M=v/2-g[h]/2+A,F=Hn(L,M,T),q=(b==="start"?d[m]:d[_])>0&&M!==F&&s.reference[h]<=s.floating[h]?M<L?L-M:T-M:0;return{[p]:f[p]-q,data:{[p]:F,centerOffset:M-F}}}}),am={left:"right",right:"left",bottom:"top",top:"bottom"};function Dr(e){return e.replace(/left|right|bottom|top/g,t=>am[t])}function sm(e,t,r){r===void 0&&(r=!1);const n=Tr(e),o=Tt(e),i=Kn(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Dr(a)),{main:a,cross:Dr(a)}}const lm={start:"end",end:"start"};function Ja(e){return e.replace(/start|end/g,t=>lm[t])}const cm=["top","right","bottom","left"];function um(e){const t=Dr(e);return[Ja(e),t,Ja(t)]}const dm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:h=!0,...g}=e,m=Ct(n),$=p||(m===a||!h?[Dr(a)]:um(a)),y=[a,...$],E=await kr(t,g),v=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&v.push(E[m]),f){const{main:F,cross:G}=sm(n,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));v.push(E[F],E[G])}if(A=[...A,{placement:n,overflows:v}],!v.every(F=>F<=0)){var L,T;const F=((L=(T=o.flip)==null?void 0:T.index)!=null?L:0)+1,G=y[F];if(G)return{data:{index:F,overflows:A},reset:{placement:G}};let S="bottom";switch(b){case"bestFit":{var M;const q=(M=A.map(D=>[D,D.overflows.filter(P=>P>0).reduce((P,ee)=>P+ee,0)]).sort((D,P)=>D[1]-P[1])[0])==null?void 0:M[0].placement;q&&(S=q);break}case"initialPlacement":S=a;break}if(n!==S)return{reset:{placement:S}}}return{}}}};function Za(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qa(e){return cm.some(t=>e[t]>=0)}const fm=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 i=await kr(n,{...r,elementContext:"reference"}),a=Za(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Qa(a)}}}case"escaped":{const i=await kr(n,{...r,altBoundary:!0}),a=Za(i,o.floating);return{data:{escapedOffsets:a,escaped:Qa(a)}}}default:return{}}}}};async function pm(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=Ct(r),s=Tr(r),c=Tt(r)==="x",d=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:b,crossAxis:h,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),c?{x:h*f,y:b*d}:{x:b*d,y:h*f}}const hm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await pm(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function es(e){return e==="x"?"y":"x"}const mm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:$,y}=_;return{x:$,y}}},...c}=e,d={x:r,y:n},f=await kr(t,c),p=Tt(Ct(o)),b=es(p);let h=d[p],g=d[b];if(i){const _=p==="y"?"top":"left",$=p==="y"?"bottom":"right",y=h+f[_],E=h-f[$];h=Hn(y,h,E)}if(a){const _=b==="y"?"top":"left",$=b==="y"?"bottom":"right",y=g+f[_],E=g-f[$];g=Hn(y,g,E)}const m=s.fn({...t,[p]:h,[b]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}},bm=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:r,y:n},p=Tt(o),b=es(p);let h=f[p],g=f[b];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const A=p==="y"?"height":"width",L=i.reference[p]-i.floating[A]+_.mainAxis,T=i.reference[p]+i.reference[A]-_.mainAxis;h<L?h=L:h>T&&(h=T)}if(d){var $,y,E,v;const A=p==="y"?"width":"height",L=["top","left"].includes(Ct(o)),T=i.reference[b]-i.floating[A]+(L&&($=(y=a.offset)==null?void 0:y[b])!=null?$:0)+(L?0:_.crossAxis),M=i.reference[b]+i.reference[A]+(L?0:(E=(v=a.offset)==null?void 0:v[b])!=null?E:0)-(L?_.crossAxis:0);g<T?g=T:g>M&&(g=M)}return{[p]:h,[b]:g}}}};function ts(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function He(e){if(e==null)return window;if(!ts(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Yt(e){return He(e).getComputedStyle(e)}function Ge(e){return ts(e)?"":e?(e.nodeName||"").toLowerCase():""}function rs(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Le(e){return e instanceof He(e).HTMLElement}function Qe(e){return e instanceof He(e).Element}function gm(e){return e instanceof He(e).Node}function Gn(e){if(typeof ShadowRoot>"u")return!1;const t=He(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){const{overflow:t,overflowX:r,overflowY:n}=Yt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function vm(e){return["table","td","th"].includes(Ge(e))}function ns(e){const t=/firefox/i.test(rs()),r=Yt(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":!1)}function os(){return!/^((?!chrome|android).)*safari/i.test(rs())}const is=Math.min,Xt=Math.max,Ar=Math.round;function qe(e,t,r){var n,o,i,a;t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect();let c=1,d=1;t&&Le(e)&&(c=e.offsetWidth>0&&Ar(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&Ar(s.height)/e.offsetHeight||1);const f=Qe(e)?He(e):window,p=!os()&&r,b=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,h=(s.top+(p&&(i=(a=f.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/d,g=s.width/c,m=s.height/d;return{width:g,height:m,top:h,right:b+g,bottom:h+m,left:b,x:b,y:h}}function et(e){return((gm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nr(e){return Qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function as(e){return qe(et(e)).left+Nr(e).scrollLeft}function _m(e){const t=qe(e);return Ar(t.width)!==e.offsetWidth||Ar(t.height)!==e.offsetHeight}function ym(e,t,r){const n=Le(t),o=et(t),i=qe(e,n&&_m(t),r==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((Ge(t)!=="body"||Ir(o))&&(a=Nr(t)),Le(t)){const c=qe(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=as(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ss(e){return Ge(e)==="html"?e:e.assignedSlot||e.parentNode||(Gn(e)?e.host:null)||et(e)}function ls(e){return!Le(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function $m(e){let t=ss(e);for(Gn(t)&&(t=t.host);Le(t)&&!["html","body"].includes(Ge(t));){if(ns(t))return t;t=t.parentNode}return null}function qn(e){const t=He(e);let r=ls(e);for(;r&&vm(r)&&getComputedStyle(r).position==="static";)r=ls(r);return r&&(Ge(r)==="html"||Ge(r)==="body"&&getComputedStyle(r).position==="static"&&!ns(r))?t:r||$m(e)||t}function cs(e){if(Le(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=qe(e);return{width:t.width,height:t.height}}function xm(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Le(r),i=et(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&n!=="fixed")&&((Ge(r)!=="body"||Ir(i))&&(a=Nr(r)),Le(r))){const c=qe(r,!0);s.x=c.x+r.clientLeft,s.y=c.y+r.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function wm(e,t){const r=He(e),n=et(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const d=os();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function Em(e){var t;const r=et(e),n=Nr(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Xt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Xt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+as(e);const c=-n.scrollTop;return Yt(o||r).direction==="rtl"&&(s+=Xt(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function us(e){const t=ss(e);return["html","body","#document"].includes(Ge(t))?e.ownerDocument.body:Le(t)&&Ir(t)?t:us(t)}function Mr(e,t){var r;t===void 0&&(t=[]);const n=us(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=He(n),a=o?[i].concat(i.visualViewport||[],Ir(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Mr(a))}function Pm(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&Gn(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Sm(e,t){const r=qe(e,!1,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ds(e,t,r){return t==="viewport"?Or(wm(e,r)):Qe(t)?Sm(t,r):Or(Em(et(e)))}function Cm(e){const t=Mr(e),n=["absolute","fixed"].includes(Yt(e).position)&&Le(e)?qn(e):e;return Qe(n)?t.filter(o=>Qe(o)&&Pm(o,n)&&Ge(o)!=="body"):[]}function Tm(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?Cm(t):[].concat(r),n],s=a[0],c=a.reduce((d,f)=>{const p=ds(t,f,o);return d.top=Xt(p.top,d.top),d.right=is(p.right,d.right),d.bottom=is(p.bottom,d.bottom),d.left=Xt(p.left,d.left),d},ds(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const Om={getClippingRect:Tm,convertOffsetParentRelativeRectToViewportRelativeRect:xm,isElement:Qe,getDimensions:cs,getOffsetParent:qn,getDocumentElement:et,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:ym(t,qn(r),n),floating:{...cs(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Yt(e).direction==="rtl"};function km(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=n,c=o&&!s,d=i&&!s,f=c||d?[...Qe(e)?Mr(e):[],...Mr(t)]:[];f.forEach(m=>{c&&m.addEventListener("scroll",r,{passive:!0}),d&&m.addEventListener("resize",r)});let p=null;if(a){let m=!0;p=new ResizeObserver(()=>{m||r(),m=!1}),Qe(e)&&!s&&p.observe(e),p.observe(t)}let b,h=s?qe(e):null;s&&g();function g(){const m=qe(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&r(),h=m,b=requestAnimationFrame(g)}return r(),()=>{var m;f.forEach(_=>{c&&_.removeEventListener("scroll",r),d&&_.removeEventListener("resize",r)}),(m=p)==null||m.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const Dm=(e,t,r)=>rm(e,t,{platform:Om,...r});var Yn=typeof document<"u"?l.useLayoutEffect:l.useEffect;function Xn(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(!Xn(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 i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Xn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Im(e){const t=W.useRef(e);return Yn(()=>{t.current=e}),t}function Am(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=W.useRef(null),a=W.useRef(null),s=Im(o),c=W.useRef(null),[d,f]=W.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=W.useState(t);Xn(p==null?void 0:p.map(E=>{let{options:v}=E;return v}),t==null?void 0:t.map(E=>{let{options:v}=E;return v}))||b(t);const h=W.useCallback(()=>{!i.current||!a.current||Dm(i.current,a.current,{middleware:p,placement:r,strategy:n}).then(E=>{g.current&&ia.flushSync(()=>{f(E)})})},[p,r,n]);Yn(()=>{g.current&&h()},[h]);const g=W.useRef(!1);Yn(()=>(g.current=!0,()=>{g.current=!1}),[]);const m=W.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),i.current&&a.current)if(s.current){const E=s.current(i.current,a.current,h);c.current=E}else h()},[h,s]),_=W.useCallback(E=>{i.current=E,m()},[m]),$=W.useCallback(E=>{a.current=E,m()},[m]),y=W.useMemo(()=>({reference:i,floating:a}),[]);return W.useMemo(()=>({...d,update:h,refs:y,reference:_,floating:$}),[d,h,y,_,$])}const Nm=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?Xa({element:t.current,padding:r}).fn(o):{}:t?Xa({element:t,padding:r}).fn(o):{}}}},Mm=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return l.createElement(te.svg,C({},i,{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 Lr(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 i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,s=d.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const fs="Popper",[Jn,Fr]=Pe(fs),[Lm,ps]=Jn(fs),Fm=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(Lm,{scope:t,anchor:n,onAnchorChange:o},r)},Rm="PopperAnchor",zm=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=ps(Rm,r),a=l.useRef(null),s=se(t,a);return l.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||a.current)}),n?null:l.createElement(te.div,C({},o,{ref:s}))}),Rr="PopperContent",[Vm,jm]=Jn(Rr),[Bm,Wm]=Jn(Rr,{hasParent:!1,positionUpdateFns:new Set}),Um=l.forwardRef((e,t)=>{var r,n,o,i,a,s,c,d;const{__scopePopper:f,side:p="bottom",sideOffset:b=0,align:h="center",alignOffset:g=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:$=0,sticky:y="partial",hideWhenDetached:E=!1,avoidCollisions:v=!0,...A}=e,L=ps(Rr,f),[T,M]=l.useState(null),F=se(t,Ae=>M(Ae)),[G,S]=l.useState(null),q=Lr(G),D=(r=q==null?void 0:q.width)!==null&&r!==void 0?r:0,P=(n=q==null?void 0:q.height)!==null&&n!==void 0?n:0,ee=p+(h!=="center"?"-"+h:""),Q=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},de=Array.isArray(_)?_:[_],fe=de.length>0,J={padding:Q,boundary:de.filter(Ym),altBoundary:fe},{reference:w,floating:N,strategy:B,x:j,y:V,placement:K,middlewareData:Y,update:X}=Am({strategy:"fixed",placement:ee,whileElementsMounted:km,middleware:[hm({mainAxis:b+P,alignmentAxis:g}),v?mm({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?bm():void 0,...J}):void 0,G?Nm({element:G,padding:m}):void 0,v?dm({...J}):void 0,Xm({arrowWidth:D,arrowHeight:P}),E?fm({strategy:"referenceHidden"}):void 0].filter(qm)});ye(()=>{w(L.anchor)},[w,L.anchor]);const Z=j!==null&&V!==null,[oe,ne]=hs(K),ge=(o=Y.arrow)===null||o===void 0?void 0:o.x,be=(i=Y.arrow)===null||i===void 0?void 0:i.y,we=((a=Y.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ze,Oe]=l.useState();ye(()=>{T&&Oe(window.getComputedStyle(T).zIndex)},[T]);const{hasParent:Ve,positionUpdateFns:ve}=Wm(Rr,f),_e=!Ve;l.useLayoutEffect(()=>{if(!_e)return ve.add(X),()=>{ve.delete(X)}},[_e,ve,X]),l.useLayoutEffect(()=>{_e&&Z&&Array.from(ve).reverse().forEach(Ae=>requestAnimationFrame(Ae))},[_e,Z,ve]);const Ie={"data-side":oe,"data-align":ne,...A,ref:F,style:{...A.style,animation:Z?void 0:"none",opacity:(s=Y.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:N,"data-radix-popper-content-wrapper":"",style:{position:B,left:0,top:0,transform:Z?`translate3d(${Math.round(j)}px, ${Math.round(V)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ze,["--radix-popper-transform-origin"]:[(c=Y.transformOrigin)===null||c===void 0?void 0:c.x,(d=Y.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")}},l.createElement(Vm,{scope:f,placedSide:oe,onArrowChange:S,arrowX:ge,arrowY:be,shouldHideArrow:we},_e?l.createElement(Bm,{scope:f,hasParent:!0,positionUpdateFns:ve},l.createElement(te.div,Ie)):l.createElement(te.div,Ie)))}),Km="PopperArrow",Hm={top:"bottom",right:"left",bottom:"top",left:"right"},Gm=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=jm(Km,n),a=Hm[i.placedSide];return l.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},l.createElement(Mm,C({},o,{ref:r,style:{...o.style,display:"block"}})))});function qm(e){return e!==void 0}function Ym(e){return e!==null}const Xm=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,h=p?0:e.arrowHeight,[g,m]=hs(s),_={start:"0%",center:"50%",end:"100%"}[m],$=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,y=((i=(a=d.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let E="",v="";return g==="bottom"?(E=p?_:`${$}px`,v=`${-h}px`):g==="top"?(E=p?_:`${$}px`,v=`${c.floating.height+h}px`):g==="right"?(E=`${-h}px`,v=p?_:`${y}px`):g==="left"&&(E=`${c.floating.width+h}px`,v=p?_:`${y}px`),{data:{x:E,y:v}}}});function hs(e){const[t,r="center"]=e.split("-");return[t,r]}const ms=Fm,bs=zm,gs=Um,vs=Gm,_s="Popover",[ys,SE]=Pe(_s,[Fr]),zr=Fr(),[Jm,pt]=ys(_s),Zm=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=zr(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,b]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(ms,s,l.createElement(Jm,{scope:t,contentId:Ue(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(h=>!h),[b]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>f(!0),[]),onCustomAnchorRemove:l.useCallback(()=>f(!1),[]),modal:a},r))},Qm="PopoverTrigger",eb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(Qm,r),i=zr(r),a=se(t,o.triggerRef),s=l.createElement(te.button,C({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Es(o.open)},n,{ref:a,onClick:H(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(bs,C({asChild:!0},i),s)}),$s="PopoverPortal",[tb,rb]=ys($s,{forceMount:void 0}),nb=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=pt($s,t);return l.createElement(tb,{scope:t,forceMount:r},l.createElement(ke,{present:r||i.open},l.createElement(Gt,{asChild:!0,container:o},n)))},Jt="PopoverContent",xs=l.forwardRef((e,t)=>{const r=rb(Jt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=pt(Jt,e.__scopePopover);return l.createElement(ke,{present:n||i.open},i.modal?l.createElement(ob,C({},o,{ref:t})):l.createElement(ib,C({},o,{ref:t})))}),ob=l.forwardRef((e,t)=>{const r=pt(Jt,e.__scopePopover),n=l.useRef(null),o=se(t,n),i=l.useRef(!1);return l.useEffect(()=>{const a=n.current;if(a)return Rn(a)},[]),l.createElement(Ln,{as:dt,allowPinchZoom:!0},l.createElement(ws,C({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:H(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=r.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:H(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,d=s.button===2||c;i.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:H(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),ib=l.forwardRef((e,t)=>{const r=pt(Jt,e.__scopePopover),n=l.useRef(!1);return l.createElement(ws,C({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;((a=r.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),ws=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,b=pt(Jt,r),h=zr(r);return In(),l.createElement(kn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},l.createElement(Ht,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>b.onOpenChange(!1)},l.createElement(gs,C({"data-state":Es(b.open),role:"dialog",id:b.contentId},h,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),ab="PopoverClose",sb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pt(ab,r);return l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,()=>o.onOpenChange(!1))}))}),lb=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=zr(r);return l.createElement(vs,C({},o,n,{ref:t}))});function Es(e){return e?"open":"closed"}const cb=Zm,ub=eb,db=nb,fb=xs,Ps=sb,pb=lb;function Ss(e,t,r){let[n,o]=l.useState(e||t),i=l.useRef(e!==void 0),a=i.current,s=e!==void 0,c=l.useRef(n);a!==s&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s;let d=l.useCallback((f,...p)=>{let b=(h,...g)=>{r&&(Object.is(c.current,h)||r(h,...g)),s||(c.current=h)};typeof f=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((g,...m)=>{let _=f(s?c.current:g,...m);return b(_,...p),s?g:_})):(s||o(f),b(f,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function hb(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function ht(e,t,r,n){let o=(e-(isNaN(t)?0:t))%n,i=Math.abs(o)*2>=n?e+Math.sign(o)*(n-Math.abs(o)):e-o;isNaN(t)?!isNaN(r)&&i>r&&(i=Math.floor(r/n)*n):i<t?i=t:!isNaN(r)&&i>r&&(i=t+Math.floor((r-t)/n)*n);let a=n.toString(),s=a.indexOf("."),c=s>=0?a.length-s:0;if(c>0){let d=Math.pow(10,c);i=Math.round(i*d)/d}return i}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},Cs=l.createContext(Zn);let mb=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function bb(e){let t=l.useContext(Cs);return t===Zn&&!mb&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),l.useMemo(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}function gb(){let t=l.useContext(Cs)!==Zn,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function Ts(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=Ts(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Os(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Ts(e))&&(n&&(n+=" "),n+=t);return n}const Ot=typeof window<"u"?l.useLayoutEffect:()=>{};function vb(e){let[t,r]=l.useState(e),n=l.useRef(t),o=l.useRef(null);n.current=t;let i=l.useRef(null);i.current=()=>{let s=o.current.next();if(s.done){o.current=null;return}t===s.value?i.current():r(s.value)},Ot(()=>{o.current&&i.current()});let a=l.useCallback(s=>{o.current=s(n.current),i.current()},[o,i]);return[t,a]}let Vr=new Map;function mt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=bb(t),i=l.useCallback(a=>{n.current=a},[]);return Vr.set(o,i),Ot(()=>{let a=o;return()=>{Vr.delete(a)}},[o]),l.useEffect(()=>{let a=n.current;a&&(n.current=null,r(a))}),o}function _b(e,t){if(e===t)return e;let r=Vr.get(e);if(r)return r(t),t;let n=Vr.get(t);return n?(n(e),e):t}function ks(e=[]){let t=mt(),[r,n]=vb(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Ot(o,[t,o,...e]),r}function Ds(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function xe(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Ds(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=Os(i,a):o==="id"&&i&&a?t.id=_b(i,a):t[o]=a!==void 0?a:i}}return t}const yb=new Set(["id"]),$b=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),xb=/^(data-.*)$/;function Zt(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(yb.has(i)||r&&$b.has(i)||n!=null&&n.has(i)||xb.test(i))&&(o[i]=e[i]);return o}function kt(e){if(wb())e.focus({preventScroll:!0});else{let t=Eb(e);e.focus(),Pb(t)}}let jr=null;function wb(){if(jr==null){jr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return jr=!0,!0}})}catch{}}return jr}function Eb(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 Pb(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let Dt=new Map,Qn=new Set;function Is(){if(typeof window>"u")return;let e=r=>{let n=Dt.get(r.target);n||(n=new Set,Dt.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Dt.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Dt.delete(r.target)),Dt.size===0)){for(let o of Qn)o();Qn.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Is():document.addEventListener("DOMContentLoaded",Is));function As(e){requestAnimationFrame(()=>{Dt.size===0?e():Qn.add(e)})}function Ns(){let e=l.useRef(new Map),t=l.useCallback((o,i,a,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(a),a(...d)}:a;e.current.set(a,{type:i,eventTarget:o,fn:c,options:s}),o.addEventListener(i,a,s)},[]),r=l.useCallback((o,i,a,s)=>{var c;let d=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;o.removeEventListener(i,d,s),e.current.delete(a)},[]),n=l.useCallback(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return l.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function Sb(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=mt(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 bt(e){const t=l.useRef();return Ot(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function Ms(e,t){Ot(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function Cb(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 eo(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 Ls(){return eo(/^Mac/i)}function Fs(){return eo(/^iPhone/i)}function Tb(){return eo(/^iPad/i)||Ls()&&navigator.maxTouchPoints>1}function to(){return Fs()||Tb()}function Rs(){return Cb(/Android/i)}function Ob(e,t,r,n){let o=l.useRef(r);o.current=r;let i=r==null;l.useEffect(()=>{if(i)return;let a=e.current,s=c=>o.current.call(this,c);return a.addEventListener(t,s,n),()=>{a.removeEventListener(t,s,n)}},[e,t,n,i])}function ro(e){return e.mozInputSource===0&&e.isTrusted?!0:Rs()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function kb(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let It="default",oo="",Br=new WeakMap;function zs(e){to()?(It==="default"&&(oo=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),It="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Br.set(e,e.style.userSelect),e.style.userSelect="none")}function Wr(e){if(to()){if(It!=="disabled")return;It="restoring",setTimeout(()=>{As(()=>{It==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=oo||""),oo="",It="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Br.has(e)){let t=Br.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Br.delete(e)}}const Vs=l.createContext(null);Vs.displayName="PressResponderContext";function Db(e){let t=l.useContext(Vs);if(t){let{register:r,...n}=t;e=xe(n,e),r()}return Ms(t,e.ref),e}function io(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...b}=Db(e),h=l.useRef(null);h.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,shouldCancelOnPointerExit:d};let[g,m]=l.useState(!1),_=l.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:y}=Ns(),E=l.useMemo(()=>{let v=_.current,A=(S,q)=>{let{onPressStart:D,onPressChange:P,isDisabled:ee}=h.current;ee||v.didFirePressStart||(D&&D({type:"pressstart",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),P&&P(!0),v.didFirePressStart=!0,m(!0))},L=(S,q,D=!0)=>{let{onPressEnd:P,onPressChange:ee,onPress:Q,isDisabled:de}=h.current;v.didFirePressStart&&(v.ignoreClickAfterPress=!0,v.didFirePressStart=!1,P&&P({type:"pressend",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}),ee&&ee(!1),m(!1),Q&&D&&!de&&Q({type:"press",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey}))},T=(S,q)=>{let{onPressUp:D,isDisabled:P}=h.current;P||D&&D({type:"pressup",pointerType:q,target:S.currentTarget,shiftKey:S.shiftKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,altKey:S.altKey})},M=S=>{v.isPressed&&(v.isOverTarget&&L(Ye(v.target,S),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,y(),f||Wr(v.target))},F={onKeyDown(S){so(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)?(Bs(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),!v.isPressed&&!S.repeat&&(v.target=S.currentTarget,v.isPressed=!0,A(S,"keyboard"),$(document,"keyup",G,!1))):S.key==="Enter"&&ao(S.currentTarget)&&S.stopPropagation()},onKeyUp(S){so(S.nativeEvent,S.currentTarget)&&!S.repeat&&S.currentTarget.contains(S.target)&&T(Ye(v.target,S),"keyboard")},onClick(S){S&&!S.currentTarget.contains(S.target)||S&&S.button===0&&(S.stopPropagation(),a&&S.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&(v.pointerType==="virtual"||ro(S.nativeEvent))&&(!a&&!c&&kt(S.currentTarget),A(S,"virtual"),T(S,"virtual"),L(S,"virtual")),v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1)}},G=S=>{if(v.isPressed&&so(S,v.target)){Bs(S.target,S.key)&&S.preventDefault(),S.stopPropagation(),v.isPressed=!1;let q=S.target;L(Ye(v.target,S),"keyboard",v.target.contains(q)),y(),v.target instanceof HTMLElement&&v.target.contains(q)&&(ao(v.target)||v.target.getAttribute("role")==="link")&&v.target.click()}};if(typeof PointerEvent<"u"){F.onPointerDown=P=>{if(!(P.button!==0||!P.currentTarget.contains(P.target))){if(kb(P.nativeEvent)){v.pointerType="virtual";return}lo(P.currentTarget)&&P.preventDefault(),v.pointerType=P.pointerType,P.stopPropagation(),v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=P.pointerId,v.target=P.currentTarget,!a&&!c&&kt(P.currentTarget),f||zs(v.target),A(P,v.pointerType),$(document,"pointermove",S,!1),$(document,"pointerup",q,!1),$(document,"pointercancel",D,!1))}},F.onMouseDown=P=>{P.currentTarget.contains(P.target)&&P.button===0&&(lo(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},F.onPointerUp=P=>{!P.currentTarget.contains(P.target)||v.pointerType==="virtual"||P.button===0&&At(P,P.currentTarget)&&T(P,v.pointerType||P.pointerType)};let S=P=>{P.pointerId===v.activePointerId&&(At(P,v.target)?v.isOverTarget||(v.isOverTarget=!0,A(Ye(v.target,P),v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,L(Ye(v.target,P),v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(P)))},q=P=>{P.pointerId===v.activePointerId&&v.isPressed&&P.button===0&&(At(P,v.target)?L(Ye(v.target,P),v.pointerType):v.isOverTarget&&L(Ye(v.target,P),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,y(),f||Wr(v.target))},D=P=>{M(P)};F.onDragStart=P=>{P.currentTarget.contains(P.target)&&M(P)}}else{F.onMouseDown=D=>{D.button!==0||!D.currentTarget.contains(D.target)||(lo(D.currentTarget)&&D.preventDefault(),D.stopPropagation(),!v.ignoreEmulatedMouseEvents&&(v.isPressed=!0,v.isOverTarget=!0,v.target=D.currentTarget,v.pointerType=ro(D.nativeEvent)?"virtual":"mouse",!a&&!c&&kt(D.currentTarget),A(D,v.pointerType),$(document,"mouseup",S,!1)))},F.onMouseEnter=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!0,A(D,v.pointerType)))},F.onMouseLeave=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!1,L(D,v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(D)))},F.onMouseUp=D=>{D.currentTarget.contains(D.target)&&!v.ignoreEmulatedMouseEvents&&D.button===0&&T(D,v.pointerType)};let S=D=>{if(D.button===0){if(v.isPressed=!1,y(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}At(D,v.target)?L(Ye(v.target,D),v.pointerType):v.isOverTarget&&L(Ye(v.target,D),v.pointerType,!1),v.isOverTarget=!1}};F.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;D.stopPropagation();let P=Ib(D.nativeEvent);P&&(v.activePointerId=P.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=D.currentTarget,v.pointerType="touch",!a&&!c&&kt(D.currentTarget),f||zs(v.target),A(D,v.pointerType),$(window,"scroll",q,!0))},F.onTouchMove=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!v.isPressed))return;let P=js(D.nativeEvent,v.activePointerId);P&&At(P,D.currentTarget)?v.isOverTarget||(v.isOverTarget=!0,A(D,v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,L(D,v.pointerType,!1),h.current.shouldCancelOnPointerExit&&M(D))},F.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target)||(D.stopPropagation(),!v.isPressed))return;let P=js(D.nativeEvent,v.activePointerId);P&&At(P,D.currentTarget)?(T(D,v.pointerType),L(D,v.pointerType)):v.isOverTarget&&L(D,v.pointerType,!1),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,f||Wr(v.target),y()},F.onTouchCancel=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),v.isPressed&&M(D))};let q=D=>{v.isPressed&&D.target.contains(v.target)&&M({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=D=>{D.currentTarget.contains(D.target)&&M(D)}}return F},[$,a,c,y,f]);return l.useEffect(()=>()=>{f||Wr(_.current.target)},[f]),{isPressed:s||g,pressProps:xe(b,E)}}function ao(e){return e.tagName==="A"&&e.hasAttribute("href")}function so(e,t){const{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof HTMLInputElement&&!Ws(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!ao(o)||i==="button"&&r!=="Enter")&&!(i==="link"&&r!=="Enter")}function Ib(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function js(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 Ye(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Ab(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 Nb(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function At(e,t){let r=t.getBoundingClientRect(),n=Ab(e);return Nb(r,n)}function lo(e){return!(e instanceof HTMLElement)||!e.draggable}function Bs(e,t){return e instanceof HTMLInputElement?!Ws(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Mb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ws(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Mb.has(e.type)}class Lb{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 Us(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Ot(()=>{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=i=>{var a,s;t.current.isFocused=!1,n.disabled&&((s=(a=t.current).onBlur)===null||s===void 0||s.call(a,new Lb("blur",i))),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 co(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e;const i=l.useCallback(c=>{if(c.target===c.currentTarget)return n&&n(c),o&&o(!1),!0},[n,o]),a=Us(i),s=l.useCallback(c=>{c.target===c.currentTarget&&(r&&r(c),o&&o(!0),a(c))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:null}}}let Nt=null,uo=new Set,Ks=!1,gt=!1,fo=!1;const Fb={Tab:!0,Escape:!0};function po(e,t){for(let r of uo)r(e,t)}function Rb(e){return!(e.metaKey||!Ls()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Hs(e){gt=!0,Rb(e)&&(Nt="keyboard",po("keyboard",e))}function Mt(e){Nt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(gt=!0,po("pointer",e))}function zb(e){ro(e)&&(gt=!0,Nt="virtual")}function Vb(e){e.target===window||e.target===document||(!gt&&!fo&&(Nt="virtual",po("virtual",e)),gt=!1,fo=!1)}function jb(){gt=!1,fo=!0}function ho(){if(typeof window>"u"||Ks)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){gt=!0,e.apply(this,arguments)},document.addEventListener("keydown",Hs,!0),document.addEventListener("keyup",Hs,!0),document.addEventListener("click",zb,!0),window.addEventListener("focus",Vb,!0),window.addEventListener("blur",jb,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Mt,!0),document.addEventListener("pointermove",Mt,!0),document.addEventListener("pointerup",Mt,!0)):(document.addEventListener("mousedown",Mt,!0),document.addEventListener("mousemove",Mt,!0),document.addEventListener("mouseup",Mt,!0)),Ks=!0}typeof document<"u"&&(document.readyState!=="loading"?ho():document.addEventListener("DOMContentLoaded",ho));function Gs(){return Nt!=="pointer"}function Bb(){return Nt}function Wb(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!Fb[r.key])}function Ub(e,t,r){ho(),l.useEffect(()=>{let n=(o,i)=>{Wb(r==null?void 0:r.isTextInput,o,i)&&e(Gs())};return uo.add(n),()=>{uo.delete(n)}},t)}function qs(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=l.useRef({isFocusWithin:!1}),a=l.useCallback(d=>{i.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(i.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,i]),s=Us(a),c=l.useCallback(d=>{i.current.isFocusWithin||(n&&n(d),o&&o(!0),i.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:a}}}function Ys(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 Kb(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ys(e.onKeyDown),onKeyUp:Ys(e.onKeyUp)}}}function Hb(e,t){let{onScroll:r,isDisabled:n}=e,o=l.useCallback(i=>{i.ctrlKey||(i.preventDefault(),i.stopPropagation(),r&&r({deltaX:i.deltaX,deltaY:i.deltaY}))},[r]);Ob(t,"wheel",n?null:o)}function Gb(e){if(Bb()==="virtual"){let t=document.activeElement;As(()=>{document.activeElement===t&&document.contains(e)&&kt(e)})}else kt(e)}function qb(e,t){return t.some(r=>r.contains(e))}class mo{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null),i=new Xs({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t),n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef.current&&qb(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(i=>n.addChild(i)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.length>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new mo;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){no(this,"fastMap",new Map),this.root=new Xs({scopeRef:null}),this.fastMap.set(null,this.root)}}class Xs{addChild(t){this.children.push(t),t.parent=this}removeChild(t){this.children.splice(this.children.indexOf(t),1),t.parent=void 0}constructor(t){no(this,"children",[]),no(this,"contain",!1),this.scopeRef=t.scopeRef}}new mo;function Ur(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||Gs()}),[i,a]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(h=>{o.current.isFocused=h,a(h),d()},[d]);Ub(h=>{o.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:p}=co({isDisabled:n,onFocusChange:f}),{focusWithinProps:b}=qs({isDisabled:!n,onFocusWithinChange:f});return{isFocused:i,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let Yb=l.createContext(null);function Xb(e){let t=l.useContext(Yb)||{};Ms(t,e);let{ref:r,...n}=t;return n}function bo(e,t){let{focusProps:r}=co(e),{keyboardProps:n}=Kb(e),o=xe(r,n),i=Xb(t),a=e.isDisabled?{}:i,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&Gb(t.current),s.current=!1},[t]),{focusableProps:xe({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}function Jb(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:i,onClick:a,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=bo(e,t),{pressProps:p,isPressed:b}=io({onPress:n,onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),h=Zt(c,{labelable:!0}),g=xe(f,p);return{isPressed:b,linkProps:xe(h,{...g,...d,"aria-disabled":s||void 0,onClick:m=>{p.onClick(m),a&&(a(m),console.warn("onClick is deprecated, please use onPress"))}})}}class Zb{getStringForLocale(t,r){let n=this.strings[r];n||(n=Qb(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 Qb(e,t,r="en-US"){if(t[e])return t[e];let n=eg(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function eg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Js=new Map,Zs=new Map;class tg{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 i=this.locale+":"+n,a=Js.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),Js.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Zs.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Zs.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}}let go=new Map,vo=!1;try{vo=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Kr=!1;try{Kr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Qs={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class _o{format(t){let r="";if(!vo&&this.options.signDisplay!=null?r=ng(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Kr){var n;let{unit:o,unitDisplay:i="short",locale:a}=this.resolvedOptions(),s=(n=Qs[o])===null||n===void 0?void 0:n[i];r+=s[a]||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(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!vo&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Kr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=rg(t,r),this.options=r}}function rg(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Kr){var n;let{unit:a,unitDisplay:s="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Qs[a])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((a,s)=>a[0]<s[0]?-1:1).join():"");if(go.has(o))return go.get(o);let i=new Intl.NumberFormat(e,t);return go.set(o,i),i}function ng(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),i=e.format(r),a=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(a,"+").replace("!!!",i)}else return e.format(r)}}const og=new RegExp("^.*\\(.*\\).*$"),ig=["latn","arab","hanidec"];class ag{parse(t){return yo(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return yo(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return yo(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const el=new Map;function yo(e,t,r){let n=tl(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of ig)if(o!==n.options.numberingSystem){let i=tl(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(r))return i}}return n}function tl(e,t){let r=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),n=el.get(r);return n||(n=new sg(e,t),el.set(r,n)),n}class sg{parse(t){let r=this.sanitize(t);r=Hr(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"&&og.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=Hr(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=Hr(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=Hr(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=lg(this.formatter,this.options,r)}}const rl=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function lg(e,t,r){var n,o,i,a;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var f;let p=(f=(n=s.find(T=>T.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:"-",b=(o=c.find(T=>T.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(b="+");let h=(i=s.find(T=>T.type==="decimal"))===null||i===void 0?void 0:i.value,g=(a=s.find(T=>T.type==="group"))===null||a===void 0?void 0:a.value,m=s.filter(T=>!rl.has(T.type)).map(T=>nl(T.value)),_=d.filter(T=>!rl.has(T.type)).map(T=>nl(T.value)),$=[...new Set([..._,...m])].sort((T,M)=>M.length-T.length),y=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),v=new Map(E.map((T,M)=>[T,M])),A=new RegExp(`[${E.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:h,group:g,literals:y,numeral:A,index:T=>String(v.get(T))}}function Hr(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function nl(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const cg=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),ug=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function dg(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return cg.has(r)}let t=e.split("-")[0];return ug.has(t)}function ol(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:dg(e)?"rtl":"ltr"}}let $o=ol(),Qt=new Set;function il(){$o=ol();for(let e of Qt)e($o)}function fg(){let e=gb(),[t,r]=l.useState($o);return l.useEffect(()=>(Qt.size===0&&window.addEventListener("languagechange",il),Qt.add(r),()=>{Qt.delete(r),Qt.size===0&&window.removeEventListener("languagechange",il)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const pg=l.createContext(null);function al(){let e=fg();return l.useContext(pg)||e}const sl=new WeakMap;function hg(e){let t=sl.get(e);return t||(t=new Zb(e),sl.set(e,t)),t}function Gr(e){let{locale:t}=al(),r=l.useMemo(()=>hg(e),[e]);return l.useMemo(()=>new tg(t,r),[t,r])}function mg(e={}){let{locale:t}=al();return l.useMemo(()=>new _o(t,e),[t,e])}function bg(e){return e&&e.__esModule?e.default:e}function gg(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:i="a",...a}=e,{linkProps:s}=Jb({isDisabled:n||r,elementType:i,...a},t),c=/^h[1-6]$/.test(i),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var ll={},cl={};cl={breadcrumbs:"عناصر الواجهة"};var ul={};ul={breadcrumbs:"Трохи хляб"};var dl={};dl={breadcrumbs:"Popis cesty"};var fl={};fl={breadcrumbs:"Brødkrummer"};var pl={};pl={breadcrumbs:"Breadcrumbs"};var hl={};hl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var ml={};ml={breadcrumbs:"Breadcrumbs"};var bl={};bl={breadcrumbs:"Migas de pan"};var gl={};gl={breadcrumbs:"Lingiread"};var vl={};vl={breadcrumbs:"Navigointilinkit"};var _l={};_l={breadcrumbs:"Chemin de navigation"};var yl={};yl={breadcrumbs:"שבילי ניווט"};var $l={};$l={breadcrumbs:"Navigacijski putovi"};var xl={};xl={breadcrumbs:"Morzsamenü"};var wl={};wl={breadcrumbs:"Breadcrumb"};var El={};El={breadcrumbs:"パンくずリスト"};var Pl={};Pl={breadcrumbs:"탐색 표시"};var Sl={};Sl={breadcrumbs:"Naršymo kelias"};var Cl={};Cl={breadcrumbs:"Atpakaļceļi"};var Tl={};Tl={breadcrumbs:"Navigasjonsstier"};var Ol={};Ol={breadcrumbs:"Broodkruimels"};var kl={};kl={breadcrumbs:"Struktura nawigacyjna"};var Dl={};Dl={breadcrumbs:"Caminho detalhado"};var Il={};Il={breadcrumbs:"Categorias"};var Al={};Al={breadcrumbs:"Miez de pâine"};var Nl={};Nl={breadcrumbs:"Навигация"};var Ml={};Ml={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Ll={};Ll={breadcrumbs:"Drobtine"};var Fl={};Fl={breadcrumbs:"Putanje navigacije"};var Rl={};Rl={breadcrumbs:"Sökvägar"};var zl={};zl={breadcrumbs:"İçerik haritaları"};var Vl={};Vl={breadcrumbs:"Навігаційна стежка"};var jl={};jl={breadcrumbs:"导航栏"};var Bl={};Bl={breadcrumbs:"導覽列"},ll={"ar-AE":cl,"bg-BG":ul,"cs-CZ":dl,"da-DK":fl,"de-DE":pl,"el-GR":hl,"en-US":ml,"es-ES":bl,"et-EE":gl,"fi-FI":vl,"fr-FR":_l,"he-IL":yl,"hr-HR":$l,"hu-HU":xl,"it-IT":wl,"ja-JP":El,"ko-KR":Pl,"lt-LT":Sl,"lv-LV":Cl,"nb-NO":Tl,"nl-NL":Ol,"pl-PL":kl,"pt-BR":Dl,"pt-PT":Il,"ro-RO":Al,"ru-RU":Nl,"sk-SK":Ml,"sl-SI":Ll,"sr-SP":Fl,"sv-SE":Rl,"tr-TR":zl,"uk-UA":Vl,"zh-CN":jl,"zh-TW":Bl};function vg(e){let{"aria-label":t,...r}=e,n=Gr(bg(ll));return{navProps:{...Zt(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const _g=I(fb)`
|
|
200
|
+
`,mh=Ug,gh=Wg,hh=Yg,vh=Xg,Nr=l.forwardRef((e,t)=>l.createElement(J.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}}))),ds=Nr,yh=({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(ds,null,t))},$h=D.span`
|
|
201
|
+
& + span {
|
|
202
|
+
bottom: 0;
|
|
203
|
+
right: 0;
|
|
204
|
+
}
|
|
205
|
+
`;function Xt({children:e,label:t}){return C(yh,{label:t,children:C($h,{children:e})})}function Dt(e){return e.split("-")[0]}function zr(e){return e.split("-")[1]}function It(e){return["top","bottom"].includes(Dt(e))?"x":"y"}function to(e){return e==="y"?"height":"width"}function fs(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=It(t),c=to(s),d=n[c]/2-o[c]/2,f=Dt(t),p=s==="x";let b;switch(f){case"top":b={x:a,y:n.y-o.height};break;case"bottom":b={x:a,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:i};break;case"left":b={x:n.x-o.width,y:i};break;default:b={x:n.x,y:n.y}}switch(zr(t)){case"start":b[s]-=d*(r&&p?-1:1);break;case"end":b[s]+=d*(r&&p?-1:1);break}return b}const _h=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));if(process.env.NODE_ENV!=="production"&&(i==null&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),a.filter(h=>{let{name:g}=h;return g==="autoPlacement"||g==="flip"}).length>1))throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement`","middleware detected. This will lead to an infinite loop. Ensure only","one of either has been passed to the `middleware` array."].join(" "));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=fs(c,n,s),p=n,b={},m=0;for(let h=0;h<a.length;h++){const{name:g,fn:v}=a[h],{x:$,y:_,data:E,reset:y}=await v({x:d,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:c,platform:i,elements:{reference:e,floating:t}});if(d=$??d,f=_??f,b={...b,[g]:{...b[g],...E}},process.env.NODE_ENV!=="production"&&m>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&m<=50){m++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(c=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:f}=fs(c,p,s)),h=-1;continue}}return{x:d,y:f,placement:p,strategy:o,middlewareData:b}};function xh(e){return{top:0,right:0,bottom:0,left:0,...e}}function ps(e){return typeof e!="number"?xh(e):{top:e,right:e,bottom:e,left:e}}function Lr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Mr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:b=!1,padding:m=0}=t,h=ps(m),v=s[b?p==="floating"?"reference":"floating":p],$=Lr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(v)))==null||r?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),_=Lr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...i.floating,x:n,y:o}:i.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:c}):i[p]);return{top:$.top-_.top+h.top,bottom:_.bottom-$.bottom+h.bottom,left:$.left-_.left+h.left,right:_.right-$.right+h.right}}const Eh=Math.min,wh=Math.max;function ro(e,t,r){return wh(e,Eh(t,r))}const bs=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 process.env.NODE_ENV!=="production"&&console.warn("Floating UI: No `element` was passed to the `arrow` middleware."),{};const d=ps(n),f={x:o,y:a},p=It(i),b=zr(i),m=to(p),h=await c.getDimensions(r),g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",$=s.reference[m]+s.reference[p]-f[p]-s.floating[m],_=f[p]-s.reference[p],E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let y=E?p==="y"?E.clientHeight||0:E.clientWidth||0:0;y===0&&(y=s.floating[m]);const A=$/2-_/2,L=d[g],P=y-h[m]-d[v],N=y/2-h[m]/2+A,F=ro(L,N,P),H=(b==="start"?d[g]:d[v])>0&&N!==F&&s.reference[m]<=s.floating[m]?N<L?L-N:P-N:0;return{[p]:f[p]-H,data:{[p]:F,centerOffset:N-F}}}}),Th={left:"right",right:"left",bottom:"top",top:"bottom"};function Fr(e){return e.replace(/left|right|bottom|top/g,t=>Th[t])}function Sh(e,t,r){r===void 0&&(r=!1);const n=zr(e),o=It(e),a=to(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Fr(i)),{main:i,cross:Fr(i)}}const kh={start:"end",end:"start"};function ms(e){return e.replace(/start|end/g,t=>kh[t])}const Ph=["top","right","bottom","left"];function Ch(e){const t=Fr(e);return[ms(e),t,ms(t)]}const Dh=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:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",flipAlignment:m=!0,...h}=e,g=Dt(n),$=p||(g===i||!m?[Fr(i)]:Ch(i)),_=[i,...$],E=await Mr(t,h),y=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&y.push(E[g]),f){const{main:F,cross:G}=Sh(n,a,await(s.isRTL==null?void 0:s.isRTL(c.floating)));y.push(E[F],E[G])}if(A=[...A,{placement:n,overflows:y}],!y.every(F=>F<=0)){var L,P;const F=((L=(P=o.flip)==null?void 0:P.index)!=null?L:0)+1,G=_[F];if(G)return{data:{index:F,overflows:A},reset:{placement:G}};let k="bottom";switch(b){case"bestFit":{var N;const H=(N=A.map(O=>[O,O.overflows.filter(T=>T>0).reduce((T,X)=>T+X,0)]).sort((O,T)=>O[1]-T[1])[0])==null?void 0:N[0].placement;H&&(k=H);break}case"initialPlacement":k=i;break}if(n!==k)return{reset:{placement:k}}}return{}}}};function gs(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hs(e){return Ph.some(t=>e[t]>=0)}const Ih=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=await Mr(n,{...r,elementContext:"reference"}),i=gs(a,o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:hs(i)}}}case"escaped":{const a=await Mr(n,{...r,altBoundary:!0}),i=gs(a,o.floating);return{data:{escapedOffsets:i,escaped:hs(i)}}}default:return{}}}}};async function Oh(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Dt(r),s=zr(r),c=It(r)==="x",d=["left","top"].includes(i)?-1:1,f=a&&c?-1:1,p=typeof t=="function"?t(e):t;let{mainAxis:b,crossAxis:m,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),c?{x:m*f,y:b*d}:{x:b*d,y:m*f}}const Ah=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await Oh(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};function vs(e){return e==="x"?"y":"x"}const Nh=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:_}=v;return{x:$,y:_}}},...c}=e,d={x:r,y:n},f=await Mr(t,c),p=It(Dt(o)),b=vs(p);let m=d[p],h=d[b];if(a){const v=p==="y"?"top":"left",$=p==="y"?"bottom":"right",_=m+f[v],E=m-f[$];m=ro(_,m,E)}if(i){const v=b==="y"?"top":"left",$=b==="y"?"bottom":"right",_=h+f[v],E=h-f[$];h=ro(_,h,E)}const g=s.fn({...t,[p]:m,[b]:h});return{...g,data:{x:g.x-r,y:g.y-n}}}}},zh=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:d=!0}=e,f={x:r,y:n},p=It(o),b=vs(p);let m=f[p],h=f[b];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=p==="y"?"height":"width",L=a.reference[p]-a.floating[A]+v.mainAxis,P=a.reference[p]+a.reference[A]-v.mainAxis;m<L?m=L:m>P&&(m=P)}if(d){var $,_,E,y;const A=p==="y"?"width":"height",L=["top","left"].includes(Dt(o)),P=a.reference[b]-a.floating[A]+(L&&($=(_=i.offset)==null?void 0:_[b])!=null?$:0)+(L?0:v.crossAxis),N=a.reference[b]+a.reference[A]+(L?0:(E=(y=i.offset)==null?void 0:y[b])!=null?E:0)-(L?v.crossAxis:0);h<P?h=P:h>N&&(h=N)}return{[p]:m,[b]:h}}}};function ys(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ge(e){if(e==null)return window;if(!ys(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zt(e){return Ge(e).getComputedStyle(e)}function qe(e){return ys(e)?"":e?(e.nodeName||"").toLowerCase():""}function $s(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Fe(e){return e instanceof Ge(e).HTMLElement}function et(e){return e instanceof Ge(e).Element}function Lh(e){return e instanceof Ge(e).Node}function no(e){if(typeof ShadowRoot>"u")return!1;const t=Ge(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vr(e){const{overflow:t,overflowX:r,overflowY:n}=Zt(e);return/auto|scroll|overlay|hidden/.test(t+n+r)}function Mh(e){return["table","td","th"].includes(qe(e))}function _s(e){const t=/firefox/i.test($s()),r=Zt(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":!1)}function xs(){return!/^((?!chrome|android).)*safari/i.test($s())}const Es=Math.min,Jt=Math.max,jr=Math.round;function Ye(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,d=1;t&&Fe(e)&&(c=e.offsetWidth>0&&jr(s.width)/e.offsetWidth||1,d=e.offsetHeight>0&&jr(s.height)/e.offsetHeight||1);const f=et(e)?Ge(e):window,p=!xs()&&r,b=(s.left+(p&&(n=(o=f.visualViewport)==null?void 0:o.offsetLeft)!=null?n:0))/c,m=(s.top+(p&&(a=(i=f.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/d,h=s.width/c,g=s.height/d;return{width:h,height:g,top:m,right:b+h,bottom:m+g,left:b,x:b,y:m}}function tt(e){return((Lh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rr(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ws(e){return Ye(tt(e)).left+Rr(e).scrollLeft}function Fh(e){const t=Ye(e);return jr(t.width)!==e.offsetWidth||jr(t.height)!==e.offsetHeight}function Vh(e,t,r){const n=Fe(t),o=tt(t),a=Ye(e,n&&Fh(t),r==="fixed");let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&r!=="fixed")if((qe(t)!=="body"||Vr(o))&&(i=Rr(t)),Fe(t)){const c=Ye(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=ws(o));return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Ts(e){return qe(e)==="html"?e:e.assignedSlot||e.parentNode||(no(e)?e.host:null)||tt(e)}function Ss(e){return!Fe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function jh(e){let t=Ts(e);for(no(t)&&(t=t.host);Fe(t)&&!["html","body"].includes(qe(t));){if(_s(t))return t;t=t.parentNode}return null}function oo(e){const t=Ge(e);let r=Ss(e);for(;r&&Mh(r)&&getComputedStyle(r).position==="static";)r=Ss(r);return r&&(qe(r)==="html"||qe(r)==="body"&&getComputedStyle(r).position==="static"&&!_s(r))?t:r||jh(e)||t}function ks(e){if(Fe(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Ye(e);return{width:t.width,height:t.height}}function Rh(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Fe(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")&&((qe(r)!=="body"||Vr(a))&&(i=Rr(r)),Fe(r))){const c=Ye(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}}function Kh(e,t){const r=Ge(e),n=tt(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,c=0;if(o){a=o.width,i=o.height;const d=xs();(d||!d&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:a,height:i,x:s,y:c}}function Bh(e){var t;const r=tt(e),n=Rr(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Jt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Jt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-n.scrollLeft+ws(e);const c=-n.scrollTop;return Zt(o||r).direction==="rtl"&&(s+=Jt(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:c}}function Ps(e){const t=Ts(e);return["html","body","#document"].includes(qe(t))?e.ownerDocument.body:Fe(t)&&Vr(t)?t:Ps(t)}function Kr(e,t){var r;t===void 0&&(t=[]);const n=Ps(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ge(n),i=o?[a].concat(a.visualViewport||[],Vr(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Kr(i))}function Uh(e,t){const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&no(r)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Wh(e,t){const r=Ye(e,!1,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Cs(e,t,r){return t==="viewport"?Lr(Kh(e,r)):et(t)?Wh(t,r):Lr(Bh(tt(e)))}function Hh(e){const t=Kr(e),n=["absolute","fixed"].includes(Zt(e).position)&&Fe(e)?oo(e):e;return et(n)?t.filter(o=>et(o)&&Uh(o,n)&&qe(o)!=="body"):[]}function Gh(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Hh(t):[].concat(r),n],s=i[0],c=i.reduce((d,f)=>{const p=Cs(t,f,o);return d.top=Jt(p.top,d.top),d.right=Es(p.right,d.right),d.bottom=Es(p.bottom,d.bottom),d.left=Jt(p.left,d.left),d},Cs(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}const qh={getClippingRect:Gh,convertOffsetParentRelativeRectToViewportRelativeRect:Rh,isElement:et,getDimensions:ks,getOffsetParent:oo,getDocumentElement:tt,getElementRects:e=>{let{reference:t,floating:r,strategy:n}=e;return{reference:Vh(t,oo(r),n),floating:{...ks(r),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"};function Yh(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,d=a&&!s,f=c||d?[...et(e)?Kr(e):[],...Kr(t)]:[];f.forEach(g=>{c&&g.addEventListener("scroll",r,{passive:!0}),d&&g.addEventListener("resize",r)});let p=null;if(i){let g=!0;p=new ResizeObserver(()=>{g||r(),g=!1}),et(e)&&!s&&p.observe(e),p.observe(t)}let b,m=s?Ye(e):null;s&&h();function h(){const g=Ye(e);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&r(),m=g,b=requestAnimationFrame(h)}return r(),()=>{var g;f.forEach(v=>{c&&v.removeEventListener("scroll",r),d&&v.removeEventListener("resize",r)}),(g=p)==null||g.disconnect(),p=null,s&&cancelAnimationFrame(b)}}const Xh=(e,t,r)=>_h(e,t,{platform:qh,...r});var ao=typeof document<"u"?l.useLayoutEffect:l.useEffect;function io(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(!io(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)&&!io(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Zh(e){const t=B.useRef(e);return ao(()=>{t.current=e}),t}function Jh(e){let{middleware:t,placement:r="bottom",strategy:n="absolute",whileElementsMounted:o}=e===void 0?{}:e;const a=B.useRef(null),i=B.useRef(null),s=Zh(o),c=B.useRef(null),[d,f]=B.useState({x:null,y:null,strategy:n,placement:r,middlewareData:{}}),[p,b]=B.useState(t);io(p==null?void 0:p.map(E=>{let{options:y}=E;return y}),t==null?void 0:t.map(E=>{let{options:y}=E;return y}))||b(t);const m=B.useCallback(()=>{!a.current||!i.current||Xh(a.current,i.current,{middleware:p,placement:r,strategy:n}).then(E=>{h.current&&Ei.flushSync(()=>{f(E)})})},[p,r,n]);ao(()=>{h.current&&m()},[m]);const h=B.useRef(!1);ao(()=>(h.current=!0,()=>{h.current=!1}),[]);const g=B.useCallback(()=>{if(typeof c.current=="function"&&(c.current(),c.current=null),a.current&&i.current)if(s.current){const E=s.current(a.current,i.current,m);c.current=E}else m()},[m,s]),v=B.useCallback(E=>{a.current=E,g()},[g]),$=B.useCallback(E=>{i.current=E,g()},[g]),_=B.useMemo(()=>({reference:a,floating:i}),[]);return B.useMemo(()=>({...d,update:m,refs:_,reference:v,floating:$}),[d,m,_,v,$])}const Qh=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?bs({element:t.current,padding:r}).fn(o):{}:t?bs({element:t,padding:r}).fn(o):{}}}},ev=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...a}=e;return l.createElement(J.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 Br(e){const[t,r]=l.useState(void 0);return Ee(()=>{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,d=Array.isArray(c)?c[0]:c;i=d.inlineSize,s=d.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 Ds="Popper",[so,Ur]=xe(Ds),[tv,Is]=so(Ds),rv=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return l.createElement(tv,{scope:t,anchor:n,onAnchorChange:o},r)},nv="PopperAnchor",ov=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,a=Is(nv,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(J.div,S({},o,{ref:s}))}),Wr="PopperContent",[av,iv]=so(Wr),[sv,lv]=so(Wr,{hasParent:!1,positionUpdateFns:new Set}),cv=l.forwardRef((e,t)=>{var r,n,o,a,i,s,c,d;const{__scopePopper:f,side:p="bottom",sideOffset:b=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:$=0,sticky:_="partial",hideWhenDetached:E=!1,avoidCollisions:y=!0,...A}=e,L=Is(Wr,f),[P,N]=l.useState(null),F=le(t,Le=>N(Le)),[G,k]=l.useState(null),H=Br(G),O=(r=H==null?void 0:H.width)!==null&&r!==void 0?r:0,T=(n=H==null?void 0:H.height)!==null&&n!==void 0?n:0,X=p+(m!=="center"?"-"+m:""),ee=typeof $=="number"?$:{top:0,right:0,bottom:0,left:0,...$},de=Array.isArray(v)?v:[v],ge=de.length>0,te={padding:ee,boundary:de.filter(bv),altBoundary:ge},{reference:w,floating:z,strategy:K,x:j,y:R,placement:q,middlewareData:Y,update:Z}=Jh({strategy:"fixed",placement:X,whileElementsMounted:Yh,middleware:[Ah({mainAxis:b+T,alignmentAxis:h}),y?Nh({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?zh():void 0,...te}):void 0,G?Qh({element:G,padding:g}):void 0,y?Dh({...te}):void 0,mv({arrowWidth:O,arrowHeight:T}),E?Ih({strategy:"referenceHidden"}):void 0].filter(pv)});Ee(()=>{w(L.anchor)},[w,L.anchor]);const Q=j!==null&&R!==null,[ae,ne]=Os(q),ve=(o=Y.arrow)===null||o===void 0?void 0:o.x,he=(a=Y.arrow)===null||a===void 0?void 0:a.y,Se=((i=Y.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Re,Oe]=l.useState();Ee(()=>{P&&Oe(window.getComputedStyle(P).zIndex)},[P]);const{hasParent:Ke,positionUpdateFns:ye}=lv(Wr,f),$e=!Ke;l.useLayoutEffect(()=>{if(!$e)return ye.add(Z),()=>{ye.delete(Z)}},[$e,ye,Z]),l.useLayoutEffect(()=>{$e&&Q&&Array.from(ye).reverse().forEach(Le=>requestAnimationFrame(Le))},[$e,Q,ye]);const ze={"data-side":ae,"data-align":ne,...A,ref:F,style:{...A.style,animation:Q?void 0:"none",opacity:(s=Y.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return l.createElement("div",{ref:z,"data-radix-popper-content-wrapper":"",style:{position:K,left:0,top:0,transform:Q?`translate3d(${Math.round(j)}px, ${Math.round(R)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(c=Y.transformOrigin)===null||c===void 0?void 0:c.x,(d=Y.transformOrigin)===null||d===void 0?void 0:d.y].join(" ")}},l.createElement(av,{scope:f,placedSide:ae,onArrowChange:k,arrowX:ve,arrowY:he,shouldHideArrow:Se},$e?l.createElement(sv,{scope:f,hasParent:!0,positionUpdateFns:ye},l.createElement(J.div,ze)):l.createElement(J.div,ze)))}),uv="PopperArrow",dv={top:"bottom",right:"left",bottom:"top",left:"right"},fv=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,a=iv(uv,n),i=dv[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(ev,S({},o,{ref:r,style:{...o.style,display:"block"}})))});function pv(e){return e!==void 0}function bv(e){return e!==null}const mv=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;const{placement:s,rects:c,middlewareData:d}=t,p=((r=d.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,b=p?0:e.arrowWidth,m=p?0:e.arrowHeight,[h,g]=Os(s),v={start:"0%",center:"50%",end:"100%"}[g],$=((n=(o=d.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+b/2,_=((a=(i=d.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let E="",y="";return h==="bottom"?(E=p?v:`${$}px`,y=`${-m}px`):h==="top"?(E=p?v:`${$}px`,y=`${c.floating.height+m}px`):h==="right"?(E=`${-m}px`,y=p?v:`${_}px`):h==="left"&&(E=`${c.floating.width+m}px`,y=p?v:`${_}px`),{data:{x:E,y}}}});function Os(e){const[t,r="center"]=e.split("-");return[t,r]}const As=rv,Ns=ov,zs=cv,Ls=fv,Ms="Popover",[Fs,WS]=xe(Ms,[Ur]),Hr=Ur(),[gv,ht]=Fs(Ms),Vs=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Hr(t),c=l.useRef(null),[d,f]=l.useState(!1),[p=!1,b]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(As,s,l.createElement(gv,{scope:t,contentId:Ae(),triggerRef:c,open:p,onOpenChange:b,onOpenToggle:l.useCallback(()=>b(m=>!m),[b]),hasCustomAnchor:d,onCustomAnchorAdd:l.useCallback(()=>f(!0),[]),onCustomAnchorRemove:l.useCallback(()=>f(!1),[]),modal:i},r))},hv="PopoverTrigger",js=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(hv,r),a=Hr(r),i=le(t,o.triggerRef),s=l.createElement(J.button,S({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Us(o.open)},n,{ref:i,onClick:U(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:l.createElement(Ns,S({asChild:!0},a),s)}),Rs="PopoverPortal",[vv,yv]=Fs(Rs,{forceMount:void 0}),$v=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=ht(Rs,t);return l.createElement(vv,{scope:t,forceMount:r},l.createElement(De,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},n)))},Qt="PopoverContent",Ks=l.forwardRef((e,t)=>{const r=yv(Qt,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=ht(Qt,e.__scopePopover);return l.createElement(De,{present:n||a.open},a.modal?l.createElement(_v,S({},o,{ref:t})):l.createElement(xv,S({},o,{ref:t})))}),_v=l.forwardRef((e,t)=>{const r=ht(Qt,e.__scopePopover),n=l.useRef(null),o=le(t,n),a=l.useRef(!1);return l.useEffect(()=>{const i=n.current;if(i)return qn(i)},[]),l.createElement(Hn,{as:mt,allowPinchZoom:!0},l.createElement(Bs,S({},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,d=s.button===2||c;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:U(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),xv=l.forwardRef((e,t)=>{const r=ht(Qt,e.__scopePopover),n=l.useRef(!1);return l.createElement(Bs,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()}}))}),Bs=l.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,b=ht(Qt,r),m=Hr(r);return Kn(),l.createElement(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},l.createElement(qt,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>b.onOpenChange(!1)},l.createElement(zs,S({"data-state":Us(b.open),role:"dialog",id:b.contentId},m,p,{ref:t,style:{...p.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Ev="PopoverClose",wv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ht(Ev,r);return l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,()=>o.onOpenChange(!1))}))}),Tv=l.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Hr(r);return l.createElement(Ls,S({},o,n,{ref:t}))});function Us(e){return e?"open":"closed"}const Sv=Vs,kv=js,Pv=$v,Cv=Ks,Ws=wv,Dv=Tv;function Hs(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 d=l.useCallback((f,...p)=>{let b=(m,...h)=>{r&&(Object.is(c.current,m)||r(m,...h)),s||(c.current=m)};typeof f=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((h,...g)=>{let v=f(s?c.current:h,...g);return b(v,...p),s?h:v})):(s||o(f),b(f,...p))},[s,r]);return s?c.current=e:e=n,[e,d]}function Iv(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function vt(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 d=Math.pow(10,c);a=Math.round(a*d)/d}return a}const lo={prefix:String(Math.round(Math.random()*1e10)),current:0},Gs=l.createContext(lo);let Ov=Boolean(typeof window<"u"&&window.document&&window.document.createElement);function Av(e){let t=l.useContext(Gs);return t===lo&&!Ov&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),l.useMemo(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}function Nv(){let t=l.useContext(Gs)!==lo,[r,n]=l.useState(t);return typeof window<"u"&&t&&l.useLayoutEffect(()=>{n(!1)},[]),r}function qs(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=qs(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ys(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=qs(e))&&(n&&(n+=" "),n+=t);return n}const rt=typeof window<"u"?l.useLayoutEffect:()=>{};function zv(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)},rt(()=>{o.current&&a.current()});let i=l.useCallback(s=>{o.current=s(n.current),a.current()},[o,a]);return[t,i]}let Gr=new Map;function yt(e){let[t,r]=l.useState(e),n=l.useRef(null),o=Av(t),a=l.useCallback(i=>{n.current=i},[]);return Gr.set(o,a),rt(()=>{let i=o;return()=>{Gr.delete(i)}},[o]),l.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),o}function Lv(e,t){if(e===t)return e;let r=Gr.get(e);if(r)return r(t),t;let n=Gr.get(t);return n?(n(e),e):t}function Xs(e=[]){let t=yt(),[r,n]=zv(t),o=l.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return rt(o,[t,o,...e]),r}function Zs(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function Te(...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]=Zs(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Ys(a,i):o==="id"&&a&&i?t.id=Lv(a,i):t[o]=i!==void 0?i:a}}return t}const Mv=new Set(["id"]),Fv=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Vv=/^(data-.*)$/;function er(e,t={}){let{labelable:r,propNames:n}=t,o={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(Mv.has(a)||r&&Fv.has(a)||n!=null&&n.has(a)||Vv.test(a))&&(o[a]=e[a]);return o}function Ot(e){if(jv())e.focus({preventScroll:!0});else{let t=Rv(e);e.focus(),Kv(t)}}let qr=null;function jv(){if(qr==null){qr=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return qr=!0,!0}})}catch{}}return qr}function Rv(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 Kv(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}let At=new Map,co=new Set;function Js(){if(typeof window>"u")return;let e=r=>{let n=At.get(r.target);n||(n=new Set,At.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=At.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),At.delete(r.target)),At.size===0)){for(let o of co)o();co.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Js():document.addEventListener("DOMContentLoaded",Js));function Qs(e){requestAnimationFrame(()=>{At.size===0?e():co.add(e)})}function el(){let e=l.useRef(new Map),t=l.useCallback((o,a,i,s)=>{let c=s!=null&&s.once?(...d)=>{e.current.delete(i),i(...d)}: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 d=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;o.removeEventListener(a,d,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 Bv(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=yt(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 nt(e){const t=l.useRef();return rt(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t}function tl(e,t){rt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}let Uv=0;const uo=new Map;function Wv(e){let[t,r]=l.useState(void 0);return rt(()=>{if(!e)return;let n=uo.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Uv++}`;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},uo.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),uo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Hv(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 fo(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 po(){return fo(/^Mac/i)}function rl(){return fo(/^iPhone/i)}function nl(){return fo(/^iPad/i)||po()&&navigator.maxTouchPoints>1}function bo(){return rl()||nl()}function ol(){return Hv(/Android/i)}function Gv(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 mo(e){return e.mozInputSource===0&&e.isTrusted?!0:ol()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function qv(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Nt="default",ho="",Yr=new WeakMap;function al(e){bo()?(Nt==="default"&&(ho=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),Nt="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(Yr.set(e,e.style.userSelect),e.style.userSelect="none")}function Xr(e){if(bo()){if(Nt!=="disabled")return;Nt="restoring",setTimeout(()=>{Qs(()=>{Nt==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=ho||""),ho="",Nt="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Yr.has(e)){let t=Yr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Yr.delete(e)}}const il=l.createContext(null);il.displayName="PressResponderContext";function Yv(e){let t=l.useContext(il);if(t){let{register:r,...n}=t;e=Te(n,e),r()}return tl(t,e.ref),e}function vo(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...b}=Yv(e),m=l.useRef(null);m.current={onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:i,shouldCancelOnPointerExit:d};let[h,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:_}=el(),E=l.useMemo(()=>{let y=v.current,A=(k,H)=>{let{onPressStart:O,onPressChange:T,isDisabled:X}=m.current;X||y.didFirePressStart||(O&&O({type:"pressstart",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),T&&T(!0),y.didFirePressStart=!0,g(!0))},L=(k,H,O=!0)=>{let{onPressEnd:T,onPressChange:X,onPress:ee,isDisabled:de}=m.current;y.didFirePressStart&&(y.ignoreClickAfterPress=!0,y.didFirePressStart=!1,T&&T({type:"pressend",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}),X&&X(!1),g(!1),ee&&O&&!de&&ee({type:"press",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey}))},P=(k,H)=>{let{onPressUp:O,isDisabled:T}=m.current;T||O&&O({type:"pressup",pointerType:H,target:k.currentTarget,shiftKey:k.shiftKey,metaKey:k.metaKey,ctrlKey:k.ctrlKey,altKey:k.altKey})},N=k=>{y.isPressed&&(y.isOverTarget&&L(Xe(y.target,k),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,_(),f||Xr(y.target))},F={onKeyDown(k){$o(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)?(ll(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),!y.isPressed&&!k.repeat&&(y.target=k.currentTarget,y.isPressed=!0,A(k,"keyboard"),$(document,"keyup",G,!1))):k.key==="Enter"&&yo(k.currentTarget)&&k.stopPropagation()},onKeyUp(k){$o(k.nativeEvent,k.currentTarget)&&!k.repeat&&k.currentTarget.contains(k.target)&&P(Xe(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"||mo(k.nativeEvent))&&(!i&&!c&&Ot(k.currentTarget),A(k,"virtual"),P(k,"virtual"),L(k,"virtual")),y.ignoreEmulatedMouseEvents=!1,y.ignoreClickAfterPress=!1)}},G=k=>{if(y.isPressed&&$o(k,y.target)){ll(k.target,k.key)&&k.preventDefault(),k.stopPropagation(),y.isPressed=!1;let H=k.target;L(Xe(y.target,k),"keyboard",y.target.contains(H)),_(),y.target instanceof HTMLElement&&y.target.contains(H)&&(yo(y.target)||y.target.getAttribute("role")==="link")&&y.target.click()}};if(typeof PointerEvent<"u"){F.onPointerDown=T=>{if(!(T.button!==0||!T.currentTarget.contains(T.target))){if(qv(T.nativeEvent)){y.pointerType="virtual";return}_o(T.currentTarget)&&T.preventDefault(),y.pointerType=T.pointerType,T.stopPropagation(),y.isPressed||(y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=T.pointerId,y.target=T.currentTarget,!i&&!c&&Ot(T.currentTarget),f||al(y.target),A(T,y.pointerType),$(document,"pointermove",k,!1),$(document,"pointerup",H,!1),$(document,"pointercancel",O,!1))}},F.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(_o(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},F.onPointerUp=T=>{!T.currentTarget.contains(T.target)||y.pointerType==="virtual"||T.button===0&&zt(T,T.currentTarget)&&P(T,y.pointerType||T.pointerType)};let k=T=>{T.pointerId===y.activePointerId&&(zt(T,y.target)?y.isOverTarget||(y.isOverTarget=!0,A(Xe(y.target,T),y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,L(Xe(y.target,T),y.pointerType,!1),m.current.shouldCancelOnPointerExit&&N(T)))},H=T=>{T.pointerId===y.activePointerId&&y.isPressed&&T.button===0&&(zt(T,y.target)?L(Xe(y.target,T),y.pointerType):y.isOverTarget&&L(Xe(y.target,T),y.pointerType,!1),y.isPressed=!1,y.isOverTarget=!1,y.activePointerId=null,y.pointerType=null,_(),f||Xr(y.target))},O=T=>{N(T)};F.onDragStart=T=>{T.currentTarget.contains(T.target)&&N(T)}}else{F.onMouseDown=O=>{O.button!==0||!O.currentTarget.contains(O.target)||(_o(O.currentTarget)&&O.preventDefault(),O.stopPropagation(),!y.ignoreEmulatedMouseEvents&&(y.isPressed=!0,y.isOverTarget=!0,y.target=O.currentTarget,y.pointerType=mo(O.nativeEvent)?"virtual":"mouse",!i&&!c&&Ot(O.currentTarget),A(O,y.pointerType),$(document,"mouseup",k,!1)))},F.onMouseEnter=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!0,A(O,y.pointerType)))},F.onMouseLeave=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&!y.ignoreEmulatedMouseEvents&&(y.isOverTarget=!1,L(O,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&N(O)))},F.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!y.ignoreEmulatedMouseEvents&&O.button===0&&P(O,y.pointerType)};let k=O=>{if(O.button===0){if(y.isPressed=!1,_(),y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}zt(O,y.target)?L(Xe(y.target,O),y.pointerType):y.isOverTarget&&L(Xe(y.target,O),y.pointerType,!1),y.isOverTarget=!1}};F.onTouchStart=O=>{if(!O.currentTarget.contains(O.target))return;O.stopPropagation();let T=Xv(O.nativeEvent);T&&(y.activePointerId=T.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=O.currentTarget,y.pointerType="touch",!i&&!c&&Ot(O.currentTarget),f||al(y.target),A(O,y.pointerType),$(window,"scroll",H,!0))},F.onTouchMove=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=sl(O.nativeEvent,y.activePointerId);T&&zt(T,O.currentTarget)?y.isOverTarget||(y.isOverTarget=!0,A(O,y.pointerType)):y.isOverTarget&&(y.isOverTarget=!1,L(O,y.pointerType,!1),m.current.shouldCancelOnPointerExit&&N(O))},F.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target)||(O.stopPropagation(),!y.isPressed))return;let T=sl(O.nativeEvent,y.activePointerId);T&&zt(T,O.currentTarget)?(P(O,y.pointerType),L(O,y.pointerType)):y.isOverTarget&&L(O,y.pointerType,!1),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,f||Xr(y.target),_()},F.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),y.isPressed&&N(O))};let H=O=>{y.isPressed&&O.target.contains(y.target)&&N({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};F.onDragStart=O=>{O.currentTarget.contains(O.target)&&N(O)}}return F},[$,i,c,_,f]);return l.useEffect(()=>()=>{f||Xr(v.current.target)},[f]),{isPressed:s||h,pressProps:Te(b,E)}}function yo(e){return e.tagName==="A"&&e.hasAttribute("href")}function $o(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&&!cl(o,r)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!yo(o)||a==="button"&&r!=="Enter")&&!(a==="link"&&r!=="Enter")}function Xv(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function sl(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 Xe(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Zv(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 Jv(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function zt(e,t){let r=t.getBoundingClientRect(),n=Zv(e);return Jv(r,n)}function _o(e){return!(e instanceof HTMLElement)||!e.draggable}function ll(e,t){return e instanceof HTMLInputElement?!cl(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const Qv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function cl(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Qv.has(e.type)}class e0{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 ul(e){let t=l.useRef({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,rt(()=>{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 e0("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 xo(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=ul(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:null}}}let ot=null,tr=new Set,dl=!1,$t=!1,Eo=!1;const t0={Tab:!0,Escape:!0};function wo(e,t){for(let r of tr)r(e,t)}function r0(e){return!(e.metaKey||!po()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fl(e){$t=!0,r0(e)&&(ot="keyboard",wo("keyboard",e))}function Lt(e){ot="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($t=!0,wo("pointer",e))}function n0(e){mo(e)&&($t=!0,ot="virtual")}function o0(e){e.target===window||e.target===document||(!$t&&!Eo&&(ot="virtual",wo("virtual",e)),$t=!1,Eo=!1)}function a0(){$t=!1,Eo=!0}function Zr(){if(typeof window>"u"||dl)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){$t=!0,e.apply(this,arguments)},document.addEventListener("keydown",fl,!0),document.addEventListener("keyup",fl,!0),document.addEventListener("click",n0,!0),window.addEventListener("focus",o0,!0),window.addEventListener("blur",a0,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Lt,!0),document.addEventListener("pointermove",Lt,!0),document.addEventListener("pointerup",Lt,!0)):(document.addEventListener("mousedown",Lt,!0),document.addEventListener("mousemove",Lt,!0),document.addEventListener("mouseup",Lt,!0)),dl=!0}typeof document<"u"&&(document.readyState!=="loading"?Zr():document.addEventListener("DOMContentLoaded",Zr));function pl(){return ot!=="pointer"}function i0(){return ot}function s0(){Zr();let[e,t]=l.useState(ot);return l.useEffect(()=>{let r=()=>{t(ot)};return tr.add(r),()=>{tr.delete(r)}},[]),e}function l0(e,t,r){return!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!t0[r.key])}function c0(e,t,r){Zr(),l.useEffect(()=>{let n=(o,a)=>{l0(r==null?void 0:r.isTextInput,o,a)&&e(pl())};return tr.add(n),()=>{tr.delete(n)}},t)}function bl(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=l.useRef({isFocusWithin:!1}),i=l.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(d),o&&o(!1))},[r,o,a]),s=ul(i),c=l.useCallback(d=>{a.current.isFocusWithin||(n&&n(d),o&&o(!0),a.current.isFocusWithin=!0,s(d))},[n,o,s]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:c,onBlur:i}}}function ml(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 u0(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:ml(e.onKeyDown),onKeyUp:ml(e.onKeyUp)}}}function d0(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]);Gv(t,"wheel",n?null:o)}function f0(e){if(i0()==="virtual"){let t=document.activeElement;Qs(()=>{document.activeElement===t&&document.contains(e)&&Ot(e)})}else Ot(e)}function p0(e,t){return t.some(r=>r.contains(e))}class To{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 gl({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}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&&p0(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n.removeChild(r),o.length>0&&o.forEach(a=>n.addChild(a)),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.length>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new To;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent.scopeRef,r.nodeToRestore);return t}constructor(){go(this,"fastMap",new Map),this.root=new gl({scopeRef:null}),this.fastMap.set(null,this.root)}}class gl{addChild(t){this.children.push(t),t.parent=this}removeChild(t){this.children.splice(this.children.indexOf(t),1),t.parent=void 0}constructor(t){go(this,"children",[]),go(this,"contain",!1),this.scopeRef=t.scopeRef}}new To;function Jr(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=l.useRef({isFocused:!1,isFocusVisible:t||pl()}),[a,i]=l.useState(!1),[s,c]=l.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=l.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=l.useCallback(m=>{o.current.isFocused=m,i(m),d()},[d]);c0(m=>{o.current.isFocusVisible=m,d()},[],{isTextInput:r});let{focusProps:p}=xo({isDisabled:n,onFocusChange:f}),{focusWithinProps:b}=bl({isDisabled:!n,onFocusWithinChange:f});return{isFocused:a,isFocusVisible:o.current.isFocused&&s,focusProps:n?b:p}}let b0=l.createContext(null);function m0(e){let t=l.useContext(b0)||{};tl(t,e);let{ref:r,...n}=t;return n}function So(e,t){let{focusProps:r}=xo(e),{keyboardProps:n}=u0(e),o=Te(r,n),a=m0(t),i=e.isDisabled?{}:a,s=l.useRef(e.autoFocus);return l.useEffect(()=>{s.current&&t.current&&f0(t.current),s.current=!1},[t]),{focusableProps:Te({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function g0(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:i,isDisabled:s,...c}=e,d;r!=="a"&&(d={role:"link",tabIndex:s?void 0:0});let{focusableProps:f}=So(e,t),{pressProps:p,isPressed:b}=vo({onPress:n,onPressStart:o,onPressEnd:a,isDisabled:s,ref:t}),m=er(c,{labelable:!0}),h=Te(f,p);return{isPressed:b,linkProps:Te(m,{...h,...d,"aria-disabled":s||void 0,onClick:g=>{p.onClick(g),i&&(i(g),console.warn("onClick is deprecated, please use onPress"))}})}}class h0{getStringForLocale(t,r){let n=this.strings[r];n||(n=v0(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 v0(e,t,r="en-US"){if(t[e])return t[e];let n=y0(e);if(t[n])return t[n];for(let o in t)if(o.startsWith(n+"-"))return t[o];return t[r]}function y0(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const hl=new Map,vl=new Map;class $0{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=hl.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),hl.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=vl.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),vl.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}}let ko=new Map,Po=!1;try{Po=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Qr=!1;try{Qr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const yl={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Co{format(t){let r="";if(!Po&&this.options.signDisplay!=null?r=x0(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Qr){var n;let{unit:o,unitDisplay:a="short",locale:i}=this.resolvedOptions(),s=(n=yl[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!Po&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Qr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=_0(t,r),this.options=r}}function _0(e,t={}){let{numberingSystem:r}=t;if(r&&e.indexOf("-u-nu-")===-1&&(e=`${e}-u-nu-${r}`),t.style==="unit"&&!Qr){var n;let{unit:i,unitDisplay:s="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=yl[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(ko.has(o))return ko.get(o);let a=new Intl.NumberFormat(e,t);return ko.set(o,a),a}function x0(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 E0=new RegExp("^.*\\(.*\\).*$"),w0=["latn","arab","hanidec"];class T0{parse(t){return Do(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Do(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Do(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const $l=new Map;function Do(e,t,r){let n=_l(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let o of w0)if(o!==n.options.numberingSystem){let a=_l(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(a.isValidPartialNumber(r))return a}}return n}function _l(e,t){let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():""),n=$l.get(r);return n||(n=new S0(e,t),$l.set(r,n)),n}class S0{parse(t){let r=this.sanitize(t);r=en(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"&&E0.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=en(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=en(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=en(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=k0(this.formatter,this.options,r)}}const xl=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function k0(e,t,r){var n,o,a,i;let s=e.formatToParts(-10000.111),c=e.formatToParts(10000.111),d=e.formatToParts(1);var f;let p=(f=(n=s.find(P=>P.type==="minusSign"))===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:"-",b=(o=c.find(P=>P.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(b="+");let m=(a=s.find(P=>P.type==="decimal"))===null||a===void 0?void 0:a.value,h=(i=s.find(P=>P.type==="group"))===null||i===void 0?void 0:i.value,g=s.filter(P=>!xl.has(P.type)).map(P=>El(P.value)),v=d.filter(P=>!xl.has(P.type)).map(P=>El(P.value)),$=[...new Set([...v,...g])].sort((P,N)=>N.length-P.length),_=$.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${$.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(E.map((P,N)=>[P,N])),A=new RegExp(`[${E.join("")}]`,"g");return{minusSign:p,plusSign:b,decimal:m,group:h,literals:_,numeral:A,index:P=>String(y.get(P))}}function en(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function El(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const P0=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),C0=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function D0(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize().script;return P0.has(r)}let t=e.split("-")[0];return C0.has(t)}function wl(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:D0(e)?"rtl":"ltr"}}let Io=wl(),rr=new Set;function Tl(){Io=wl();for(let e of rr)e(Io)}function I0(){let e=Nv(),[t,r]=l.useState(Io);return l.useEffect(()=>(rr.size===0&&window.addEventListener("languagechange",Tl),rr.add(r),()=>{rr.delete(r),rr.size===0&&window.removeEventListener("languagechange",Tl)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const O0=l.createContext(null);function Sl(){let e=I0();return l.useContext(O0)||e}const kl=new WeakMap;function A0(e){let t=kl.get(e);return t||(t=new h0(e),kl.set(e,t)),t}function nr(e){let{locale:t}=Sl(),r=l.useMemo(()=>A0(e),[e]);return l.useMemo(()=>new $0(t,r),[t,r])}function N0(e={}){let{locale:t}=Sl();return l.useMemo(()=>new Co(t,e),[t,e])}function z0(e){return e&&e.__esModule?e.default:e}function L0(e,t){let{isCurrent:r,isDisabled:n,"aria-current":o,elementType:a="a",...i}=e,{linkProps:s}=g0({isDisabled:n||r,elementType:a,...i},t),c=/^h[1-6]$/.test(a),d={};return c||(d=s),r&&(d["aria-current"]=o||"page",d.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":n,...d}}}var Pl={},Cl={};Cl={breadcrumbs:"عناصر الواجهة"};var Dl={};Dl={breadcrumbs:"Трохи хляб"};var Il={};Il={breadcrumbs:"Popis cesty"};var Ol={};Ol={breadcrumbs:"Brødkrummer"};var Al={};Al={breadcrumbs:"Breadcrumbs"};var Nl={};Nl={breadcrumbs:"Πλοηγήσεις breadcrumb"};var zl={};zl={breadcrumbs:"Breadcrumbs"};var Ll={};Ll={breadcrumbs:"Migas de pan"};var Ml={};Ml={breadcrumbs:"Lingiread"};var Fl={};Fl={breadcrumbs:"Navigointilinkit"};var Vl={};Vl={breadcrumbs:"Chemin de navigation"};var jl={};jl={breadcrumbs:"שבילי ניווט"};var Rl={};Rl={breadcrumbs:"Navigacijski putovi"};var Kl={};Kl={breadcrumbs:"Morzsamenü"};var Bl={};Bl={breadcrumbs:"Breadcrumb"};var Ul={};Ul={breadcrumbs:"パンくずリスト"};var Wl={};Wl={breadcrumbs:"탐색 표시"};var Hl={};Hl={breadcrumbs:"Naršymo kelias"};var Gl={};Gl={breadcrumbs:"Atpakaļceļi"};var ql={};ql={breadcrumbs:"Navigasjonsstier"};var Yl={};Yl={breadcrumbs:"Broodkruimels"};var Xl={};Xl={breadcrumbs:"Struktura nawigacyjna"};var Zl={};Zl={breadcrumbs:"Caminho detalhado"};var Jl={};Jl={breadcrumbs:"Categorias"};var Ql={};Ql={breadcrumbs:"Miez de pâine"};var ec={};ec={breadcrumbs:"Навигация"};var tc={};tc={breadcrumbs:"Navigačné prvky Breadcrumbs"};var rc={};rc={breadcrumbs:"Drobtine"};var nc={};nc={breadcrumbs:"Putanje navigacije"};var oc={};oc={breadcrumbs:"Sökvägar"};var ac={};ac={breadcrumbs:"İçerik haritaları"};var ic={};ic={breadcrumbs:"Навігаційна стежка"};var sc={};sc={breadcrumbs:"导航栏"};var lc={};lc={breadcrumbs:"導覽列"},Pl={"ar-AE":Cl,"bg-BG":Dl,"cs-CZ":Il,"da-DK":Ol,"de-DE":Al,"el-GR":Nl,"en-US":zl,"es-ES":Ll,"et-EE":Ml,"fi-FI":Fl,"fr-FR":Vl,"he-IL":jl,"hr-HR":Rl,"hu-HU":Kl,"it-IT":Bl,"ja-JP":Ul,"ko-KR":Wl,"lt-LT":Hl,"lv-LV":Gl,"nb-NO":ql,"nl-NL":Yl,"pl-PL":Xl,"pt-BR":Zl,"pt-PT":Jl,"ro-RO":Ql,"ru-RU":ec,"sk-SK":tc,"sl-SI":rc,"sr-SP":nc,"sv-SE":oc,"tr-TR":ac,"uk-UA":ic,"zh-CN":sc,"zh-TW":lc};function M0(e){let{"aria-label":t,...r}=e,n=nr(z0(Pl));return{navProps:{...er(r,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}const F0=D(Cv)`
|
|
199
206
|
border-radius: ${u.border_radius_400};
|
|
200
207
|
padding: ${u.sizing_200};
|
|
201
|
-
width: fit-content;
|
|
208
|
+
width: fit-content; /* Pass as prop? */
|
|
202
209
|
background-color: ${u.color_white};
|
|
203
210
|
box-shadow: ${u.elevation_interactive_medium};
|
|
204
|
-
|
|
211
|
+
z-index: 5; /* Same as dialogs */
|
|
212
|
+
`,V0=D(Dv)`
|
|
205
213
|
fill: ${u.color_white};
|
|
206
|
-
`;function
|
|
214
|
+
`;function cc({children:e,...t}){return C(Pv,{children:oe(F0,{...t,children:[e,C(V0,{})]})})}const Oo=Ws,j0=D(Ws)`
|
|
207
215
|
all: unset;
|
|
208
216
|
cursor: pointer;
|
|
209
217
|
font-family: inherit;
|
|
@@ -217,7 +225,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
217
225
|
position: absolute;
|
|
218
226
|
top: 5px;
|
|
219
227
|
right: 5px;
|
|
220
|
-
`,
|
|
228
|
+
`,uc=Sv,dc=kv,R0="data:image/svg+xml;base64,PHN2ZyBmb2N1c2FibGU9ImZhbHNlIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGFyaWEtaGlkZGVuPSJ0cnVlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8cGF0aCBkPSIgTTE5IDE1bC02IDYtMS40Mi0xLjQyTDE1LjE3IDE2SDRWNGgydjEwaDkuMTdsLTMuNTktMy41OEwxMyA5bDYgNnoiIGZpbGw9ImhzbGEoMCwgMCUsIDAlLCAwLjEyKSI+PC9wYXRoPgo8L3N2Zz4=",K0=D(Ks)`
|
|
221
229
|
margin-top: 22px;
|
|
222
230
|
isolation: isolate;
|
|
223
231
|
min-width: 210px;
|
|
@@ -229,7 +237,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
229
237
|
&[data-state~='focused'] {
|
|
230
238
|
outline: 1px solid ${u.color_black};
|
|
231
239
|
}
|
|
232
|
-
`;function
|
|
240
|
+
`;function B0({children:e}){const{isFocusVisible:t,focusProps:r}=Jr();return C(K0,{align:"start",...r,"data-state":t?"focused":void 0,children:e})}const Ao=D.ol`
|
|
233
241
|
font-family: ${u.font_family_sans};
|
|
234
242
|
display: flex;
|
|
235
243
|
list-style: none;
|
|
@@ -245,7 +253,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
245
253
|
font-family: ${u.font_family_sans};
|
|
246
254
|
color: ${u.color_divider_standard};
|
|
247
255
|
}
|
|
248
|
-
`,
|
|
256
|
+
`,fc=D(Ao)`
|
|
249
257
|
flex-direction: column;
|
|
250
258
|
|
|
251
259
|
& li {
|
|
@@ -259,7 +267,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
259
267
|
|
|
260
268
|
& > ol li:first-of-type::before {
|
|
261
269
|
content: '';
|
|
262
|
-
background-image: url(${
|
|
270
|
+
background-image: url(${R0});
|
|
263
271
|
display: block;
|
|
264
272
|
height: 1em;
|
|
265
273
|
width: 1em;
|
|
@@ -268,12 +276,12 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
268
276
|
background-size: initial;
|
|
269
277
|
background-repeat: initial;
|
|
270
278
|
}
|
|
271
|
-
`,
|
|
279
|
+
`,No=D.li`
|
|
272
280
|
color: ${u.color_text_weak};
|
|
273
281
|
display: flex;
|
|
274
282
|
align-items: center;
|
|
275
283
|
gap: ${u.sizing_200};
|
|
276
|
-
`,
|
|
284
|
+
`,pc=D.a`
|
|
277
285
|
text-decoration: none;
|
|
278
286
|
color: ${u.color_text_weak};
|
|
279
287
|
font-style: normal;
|
|
@@ -316,7 +324,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
316
324
|
color: ${u.color_text_strong};
|
|
317
325
|
font-weight: 400;
|
|
318
326
|
}
|
|
319
|
-
`,
|
|
327
|
+
`,U0=D.button`
|
|
320
328
|
appearance: none;
|
|
321
329
|
cursor: pointer;
|
|
322
330
|
touch-action: none;
|
|
@@ -343,12 +351,12 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
343
351
|
&[data-state~='open'] {
|
|
344
352
|
background-color: ${u.color_overlay_secondary_pressed}; /* Interactive / Overlay / Secondary / Pressed */
|
|
345
353
|
}
|
|
346
|
-
`;function
|
|
354
|
+
`;function bc({truncatedItems:e}){return e.length>1?oe(fc,{children:[e.slice(0,1),C(bc,{truncatedItems:e.slice(1)})]}):C(fc,{children:e})}function W0({truncatedItems:e}){return C(No,{children:oe(uc,{children:[C(dc,{asChild:!0,children:C(U0,{type:"button",children:"..."})}),C(B0,{children:C(bc,{truncatedItems:e})})]})})}const mc=l.forwardRef(({children:e,...t},r)=>{const{navProps:n}=M0(t);wt.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),d=o.slice(1,-2);return C("nav",{...n,children:oe(Ao,{ref:r,children:[s,C(W0,{truncatedItems:d}),c]})})}return C("nav",{...n,children:C(Ao,{ref:r,children:o})})});mc.displayName="Breadcrumbs";const gc=l.forwardRef((e,t)=>{const{LinkComponent:r="a",disabled:n,...o}=e,a=nt(t),i=typeof r=="string",{children:s,href:c,isCurrent:d}=e,{itemProps:f}=L0({isDisabled:n,isCurrent:d,elementType:i?r:"a",...o},a),{isPressed:p,pressProps:b}=vo({isDisabled:n??d,ref:a}),{isFocusVisible:m,focusProps:h}=Jr(),g=[p&&"pressed",n&&"disabled",m&&"focused"].filter(Boolean).join(" "),$=d||n||!c?{}:{[i?"href":"to"]:c};return C(No,{children:C(pc,{as:r,...f,ref:a,"data-state":g,...h,...b,...$,children:s})})});gc.displayName="BreadcrumbItem";function zo(e,t){let{elementType:r="button",isDisabled:n,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:b,rel:m,type:h="button"}=e,g;r==="button"?g={type:h,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?b:void 0,type:r==="input"?h: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:$}=vo({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:_}=So(e,t);d&&(_.tabIndex=n?-1:_.tabIndex);let E=Te(_,v,er(e,{labelable:!0}));return{isPressed:$,buttonProps:Te(g,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:y=>{f&&(f(y),console.warn("onClick is deprecated, please use onPress"))}})}}const H0={small:`${u.spacing_200} ${u.spacing_300}`,large:`${u.spacing_300} ${u.spacing_400}`},Ve=D.button`
|
|
347
355
|
appearance: none;
|
|
348
356
|
border-radius: ${u.border_radius_400};
|
|
349
357
|
border: 1px solid transparent;
|
|
350
358
|
font-style: normal;
|
|
351
|
-
padding: ${({paddingSize:e})=>
|
|
359
|
+
padding: ${({paddingSize:e})=>H0[e]};
|
|
352
360
|
font-family: ${u.font_family_sans};
|
|
353
361
|
cursor: pointer;
|
|
354
362
|
white-space: nowrap;
|
|
@@ -375,7 +383,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
375
383
|
&:disabled {
|
|
376
384
|
cursor: not-allowed;
|
|
377
385
|
}
|
|
378
|
-
`,
|
|
386
|
+
`,G0=D(Ve)`
|
|
379
387
|
background: ${u.color_white};
|
|
380
388
|
color: hsl(0, 0%, 7.84%);
|
|
381
389
|
border: 1px solid ${u.color_outline_secondary_enabled};
|
|
@@ -396,7 +404,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
396
404
|
color: ${u.color_fill_secondary_disabled};
|
|
397
405
|
border-color: ${u.color_outline_secondary_disabled};
|
|
398
406
|
}
|
|
399
|
-
`,
|
|
407
|
+
`,q0=D(Ve)`
|
|
400
408
|
background: ${u.color_white};
|
|
401
409
|
color: ${u.color_fill_danger_enabled};
|
|
402
410
|
border: 1px solid ${u.color_outline_danger_enabled};
|
|
@@ -414,7 +422,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
414
422
|
&:disabled {
|
|
415
423
|
color: ${u.color_fill_danger_disabled};
|
|
416
424
|
}
|
|
417
|
-
`,
|
|
425
|
+
`,Y0=D(Ve)`
|
|
418
426
|
background: ${u.color_overlay_inverse_enabled};
|
|
419
427
|
border-color: ${u.color_outline_inverse_enabled};
|
|
420
428
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -442,7 +450,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
442
450
|
background-color: transparent;
|
|
443
451
|
color: ${u.color_outline_inverse_disabled};
|
|
444
452
|
}
|
|
445
|
-
`,
|
|
453
|
+
`,X0={primary:G0,danger:q0,inverse:Y0},Z0=D(Ve)`
|
|
446
454
|
background: hsla(
|
|
447
455
|
217.35,
|
|
448
456
|
81.6%,
|
|
@@ -465,7 +473,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
465
473
|
&:disabled {
|
|
466
474
|
color: ${u.color_fill_primary_disabled};
|
|
467
475
|
}
|
|
468
|
-
`,
|
|
476
|
+
`,J0=D(Ve)`
|
|
469
477
|
color: ${u.color_fill_danger_enabled};
|
|
470
478
|
background-color: hsl(217.35, 81.6%, 50.98%);
|
|
471
479
|
|
|
@@ -487,7 +495,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
487
495
|
&:disabled {
|
|
488
496
|
color: ${u.color_fill_danger_disabled};
|
|
489
497
|
}
|
|
490
|
-
`,
|
|
498
|
+
`,Q0=D(Ve)`
|
|
491
499
|
background: ${u.color_overlay_inverse_enabled};
|
|
492
500
|
border-color: transparent;
|
|
493
501
|
color: ${u.color_fill_inverse_enabled};
|
|
@@ -512,7 +520,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
512
520
|
background-color: ${u.color_fill_inverse_disabled};
|
|
513
521
|
color: ${u.color_outline_inverse_disabled};
|
|
514
522
|
}
|
|
515
|
-
`,
|
|
523
|
+
`,ey={primary:Z0,danger:J0,inverse:Q0},ty=D(Ve)`
|
|
516
524
|
background: ${u.color_fill_primary_enabled};
|
|
517
525
|
color: ${u.color_white};
|
|
518
526
|
|
|
@@ -529,7 +537,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
529
537
|
background: ${u.color_fill_primary_disabled};
|
|
530
538
|
color: ${u.color_fill_inverse_pressed};
|
|
531
539
|
}
|
|
532
|
-
`,
|
|
540
|
+
`,ry=D(Ve)`
|
|
533
541
|
background: ${u.color_fill_secondary_enabled};
|
|
534
542
|
color: ${u.color_fill_primary_enabled};
|
|
535
543
|
|
|
@@ -546,7 +554,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
546
554
|
&:disabled {
|
|
547
555
|
background: ${u.color_fill_secondary_disabled};
|
|
548
556
|
}
|
|
549
|
-
`,
|
|
557
|
+
`,ny=D(Ve)`
|
|
550
558
|
background: ${u.color_fill_danger_enabled};
|
|
551
559
|
color: ${u.color_white};
|
|
552
560
|
|
|
@@ -563,7 +571,7 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
563
571
|
&:disabled {
|
|
564
572
|
background: ${u.color_fill_danger_disabled};
|
|
565
573
|
}
|
|
566
|
-
`,
|
|
574
|
+
`,oy=D(Ve)`
|
|
567
575
|
background: ${u.color_white};
|
|
568
576
|
|
|
569
577
|
&:hover {
|
|
@@ -577,10 +585,10 @@ Check the top-level render call using <`+U+">.")}return z}}function Ut(x,z){{if(
|
|
|
577
585
|
&:disabled {
|
|
578
586
|
background: ${u.color_fill_inverse_disabled};
|
|
579
587
|
}
|
|
580
|
-
`,
|
|
588
|
+
`,ay={low:ey,medium:X0,high:{primary:ty,secondary:ry,danger:ny,inverse:oy}},or=l.forwardRef((e,t)=>{const{size:r="small",variant:n="primary",emphasis:o="high",disabled:a=!1,onClick:i,autoFocus:s,children:c,...d}=e,f=nt(t),{buttonProps:p,isPressed:b}=zo({onPress:i,isDisabled:a,autoFocus:s,...d},f),{isFocusVisible:m,focusProps:h}=Jr({autoFocus:s}),$=[m?"focused":void 0,b?"pressed":void 0].filter(Boolean).join(" "),E=ay[o][n];return C(E,{ref:f,"data-state":$,paddingSize:r,...p,...h,...d,children:c})});or.displayName="Button";function tn(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 hc="Checkbox",[iy,GS]=xe(hc),[sy,ly]=iy(hc),cy=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,b]=l.useState(null),m=le(t,_=>b(_)),h=l.useRef(!1),g=p?Boolean(p.closest("form")):!0,[v=!1,$]=Ce({prop:o,defaultProp:a,onChange:d});return l.createElement(sy,{scope:r,state:v,disabled:s},l.createElement(J.button,S({type:"button",role:"checkbox","aria-checked":_t(v)?"mixed":v,"aria-required":i,"data-state":vc(v),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:m,onKeyDown:U(e.onKeyDown,_=>{_.key==="Enter"&&_.preventDefault()}),onClick:U(e.onClick,_=>{$(E=>_t(E)?!0:!E),g&&(h.current=_.isPropagationStopped(),h.current||_.stopPropagation())})})),g&&l.createElement(fy,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),uy="CheckboxIndicator",dy=l.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,a=ly(uy,r);return l.createElement(De,{present:n||_t(a.state)||a.state===!0},l.createElement(J.span,S({"data-state":vc(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),fy=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=tn(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const b=new Event("click",{bubbles:n});c.indeterminate=_t(r),p.call(c,_t(r)?!1:r),c.dispatchEvent(b)}},[i,r,n]),l.createElement("input",S({type:"checkbox","aria-hidden":!0,defaultChecked:_t(r)?!1:r},o,{tabIndex:-1,ref:a,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function _t(e){return e==="indeterminate"}function vc(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const py=cy,by=dy,Lo=l.createContext(!1);Lo.displayName="FieldsetContext";const yc=D.fieldset`
|
|
581
589
|
padding: 0;
|
|
582
590
|
border: none;
|
|
583
|
-
`;function
|
|
591
|
+
`;function my({children:e,disabled:t,...r}){const o=at()||Boolean(t);return C(Lo.Provider,{value:o,children:C(yc,{disabled:t,...r,children:e})})}function at(){return l.useContext(Lo)}function gy(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=yt(t);let i=yt(),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=Bv({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:c}}function $c(e){let{description:t,errorMessage:r,validationState:n}=e,{labelProps:o,fieldProps:a}=gy(e),i=Xs([Boolean(t),Boolean(r),n]),s=Xs([Boolean(t),Boolean(r),n]);return a=Te(a,{"aria-describedby":[i,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:i},errorMessageProps:{id:s}}}function rn(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:o=!1,isReadOnly:a=!1,validationState:i,type:s="text",onChange:c=()=>{}}=e,{focusableProps:d}=So(e,t),{labelProps:f,fieldProps:p,descriptionProps:b,errorMessageProps:m}=$c(e),h=er(e,{labelable:!0});const g={type:s,pattern:e.pattern};return{labelProps:f,inputProps:Te(h,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,...d,...p}),descriptionProps:b,errorMessageProps:m}}function _c(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function hy(e,t,r){let n=l.useRef(t);n.current=t,l.useEffect(()=>{if(!_c())return;let f=r.current,p=b=>{let m=n.current,h;switch(b.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":h=f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentForward":h=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd+1):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteContentBackward":h=f.selectionEnd===f.selectionStart?f.value.slice(0,f.selectionStart-1)+f.value.slice(f.selectionStart):f.value.slice(0,f.selectionStart)+f.value.slice(f.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":h=f.value.slice(f.selectionStart);break;default:b.data!=null&&(h=f.value.slice(0,f.selectionStart)+b.data+f.value.slice(f.selectionEnd));break}(h==null||!m.validate(h))&&b.preventDefault()};return f.addEventListener("beforeinput",p,!1),()=>{f.removeEventListener("beforeinput",p,!1)}},[r,n]);let o=_c()?null:f=>{let p=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(p)||f.preventDefault()},{labelProps:a,inputProps:i,descriptionProps:s,errorMessageProps:c}=rn(e,r),d=l.useRef(null);return{inputProps:Te(i,{onBeforeInput:o,onCompositionStart(){let{value:f,selectionStart:p,selectionEnd:b}=r.current;d.current={value:f,selectionStart:p,selectionEnd:b}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:p,selectionEnd:b}=d.current;r.current.value=f,r.current.setSelectionRange(p,b),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:c}}const Mo=D.label`
|
|
584
592
|
font-family: ${u.font_family_sans};
|
|
585
593
|
margin: 0;
|
|
586
594
|
font-style: normal;
|
|
@@ -600,20 +608,20 @@ clip: rect(0, 0, 0, 0);
|
|
|
600
608
|
white-space: nowrap;
|
|
601
609
|
border-width: 0;
|
|
602
610
|
`}
|
|
603
|
-
`,
|
|
611
|
+
`,vy=D(Mo)`
|
|
604
612
|
font-size: ${u.font_size_label_small};
|
|
605
613
|
letter-spacing: ${u.letter_spacing_label_small};
|
|
606
614
|
line-height: ${u.line_height_label_small};
|
|
607
|
-
`,
|
|
615
|
+
`,yy=D(Mo)`
|
|
608
616
|
font-size: ${u.font_size_label_large};
|
|
609
617
|
letter-spacing: ${u.letter_spacing_label_large};
|
|
610
618
|
line-height: ${u.line_height_label_large};
|
|
611
|
-
|
|
619
|
+
`,$y=D(Mo)`
|
|
612
620
|
font-size: ${u.font_size_label_medium};
|
|
613
621
|
letter-spacing: ${u.letter_spacing_label_medium};
|
|
614
622
|
line-height: ${u.line_height_label_medium};
|
|
615
|
-
`,
|
|
616
|
-
padding: ${({paddingSize:e="small"})=>
|
|
623
|
+
`,_y={small:vy,medium:$y,large:yy};function Ze({children:e,bold:t,size:r="small",display:n="inline-flex",srOnly:o,...a}){const i=_y[r];return C(i,{...a,srOnly:o,style:{"--label-font-weight":t?500:400,"--label-display":n},children:e})}const xy={small:"7px 8px",large:"11px 12px"},ar=D.input`
|
|
624
|
+
padding: ${({paddingSize:e="small"})=>xy[e]}; // add default?
|
|
617
625
|
appearance: none;
|
|
618
626
|
border: 1px solid ${u.color_outline_secondary_enabled};
|
|
619
627
|
border-radius: ${u.border_radius_400};
|
|
@@ -637,7 +645,7 @@ border-width: 0;
|
|
|
637
645
|
border-color: ${u.color_outline_secondary_hover};
|
|
638
646
|
}
|
|
639
647
|
|
|
640
|
-
&[data-state~=
|
|
648
|
+
&[data-state~='invalid'],
|
|
641
649
|
&:invalid {
|
|
642
650
|
border-color: ${u.color_outline_danger_enabled};
|
|
643
651
|
}
|
|
@@ -656,10 +664,15 @@ border-width: 0;
|
|
|
656
664
|
border-color: revert;
|
|
657
665
|
}
|
|
658
666
|
|
|
667
|
+
// TODO check with Robert
|
|
668
|
+
&:read-only {
|
|
669
|
+
border-color: ${u.color_outline_secondary_disabled};
|
|
670
|
+
}
|
|
671
|
+
|
|
659
672
|
&:disabled::placeholder {
|
|
660
673
|
color: ${u.color_fill_primary_disabled};
|
|
661
674
|
}
|
|
662
|
-
`,
|
|
675
|
+
`,ir=D.div`
|
|
663
676
|
display: flex;
|
|
664
677
|
flex-direction: column;
|
|
665
678
|
justify-content: space-between;
|
|
@@ -675,7 +688,7 @@ border-width: 0;
|
|
|
675
688
|
letter-spacing: ${u.letter_spacing_tight};
|
|
676
689
|
|
|
677
690
|
/* max-width: 300px; make configurable with prop? */
|
|
678
|
-
`,
|
|
691
|
+
`,nn=D.div`
|
|
679
692
|
display: flex;
|
|
680
693
|
align-items: center;
|
|
681
694
|
gap: 5.33px; // TODO update sizing this is 1/3rem
|
|
@@ -690,13 +703,13 @@ border-width: 0;
|
|
|
690
703
|
/* display: inline-flex;
|
|
691
704
|
align-self: center; */
|
|
692
705
|
}
|
|
693
|
-
`,
|
|
706
|
+
`,on=D.div`
|
|
694
707
|
color: ${u.color_text_weak};
|
|
695
708
|
font-size: ${u.font_size_50};
|
|
696
709
|
line-height: ${u.line_height_133};
|
|
697
710
|
font-family: ${u.font_family_sans};
|
|
698
711
|
/* max-height? with overflow-x? */
|
|
699
|
-
`;
|
|
712
|
+
`;D.div`
|
|
700
713
|
position: absolute;
|
|
701
714
|
right: 8px;
|
|
702
715
|
top: 0;
|
|
@@ -704,7 +717,7 @@ border-width: 0;
|
|
|
704
717
|
display: flex;
|
|
705
718
|
align-items: center;
|
|
706
719
|
pointer-events: none;
|
|
707
|
-
`;const
|
|
720
|
+
`;const Fo=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="small",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,b=nt(t),m=at(),h=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:_}=rn({...p,isDisabled:h,isReadOnly:a,isRequired:i,placeholder:f,label:c},b);let E=null;return typeof c=="string"?E=C(Ze,{...g,children:c}):l.isValidElement(c)&&(E=l.cloneElement(c,{...g})),oe(ir,{children:[E,C(ar,{"data-state":d,paddingSize:s,ref:b,placeholder:"Enter...",type:"text",...$,required:i}),r?oe(nn,{..._,children:[C(_e.Error,{}),r]}):null,n?C(on,{...v,children:n}):null]})});Fo.displayName="TextInput";const[an,qS]=xe("Tooltip",[Ur]),sn=Ur(),Ey="TooltipProvider",wy=700,Vo="tooltip.open",[Ty,jo]=an(Ey),Sy=e=>{const{__scopeTooltip:t,delayDuration:r=wy,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=l.useState(!0),c=l.useRef(!1),d=l.useRef(0);return l.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),l.createElement(Ty,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(d.current),s(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:l.useCallback(f=>{c.current=f},[]),disableHoverableContent:o},a)},Ro="Tooltip",[ky,sr]=an(Ro),Py=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=jo(Ro,e.__scopeTooltip),d=sn(t),[f,p]=l.useState(null),b=Ae(),m=l.useRef(0),h=i??c.disableHoverableContent,g=s??c.delayDuration,v=l.useRef(!1),[$=!1,_]=Ce({prop:n,defaultProp:o,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(Vo))):c.onClose(),a==null||a(P)}}),E=l.useMemo(()=>$?v.current?"delayed-open":"instant-open":"closed",[$]),y=l.useCallback(()=>{window.clearTimeout(m.current),v.current=!1,_(!0)},[_]),A=l.useCallback(()=>{window.clearTimeout(m.current),_(!1)},[_]),L=l.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,_(!0)},g)},[g,_]);return l.useEffect(()=>()=>window.clearTimeout(m.current),[]),l.createElement(As,d,l.createElement(ky,{scope:t,contentId:b,open:$,stateAttribute:E,trigger:f,onTriggerChange:p,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayed?L():y()},[c.isOpenDelayed,L,y]),onTriggerLeave:l.useCallback(()=>{h?A():window.clearTimeout(m.current)},[A,h]),onOpen:y,onClose:A,disableHoverableContent:h},r))},xc="TooltipTrigger",Cy=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=sr(xc,r),a=jo(xc,r),i=sn(r),s=l.useRef(null),c=le(t,s,o.onTriggerChange),d=l.useRef(!1),f=l.useRef(!1),p=l.useCallback(()=>d.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),l.createElement(Ns,S({asChild:!0},i),l.createElement(J.button,S({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},n,{ref:c,onPointerMove:U(e.onPointerMove,b=>{b.pointerType!=="touch"&&!f.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:U(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:U(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:U(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:U(e.onBlur,o.onClose),onClick:U(e.onClick,o.onClose)})))}),Ec="TooltipPortal",[Dy,Iy]=an(Ec,{forceMount:void 0}),Oy=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,a=sr(Ec,t);return l.createElement(Dy,{scope:t,forceMount:r},l.createElement(De,{present:r||a.open},l.createElement(Yt,{asChild:!0,container:o},n)))},lr="TooltipContent",Ay=l.forwardRef((e,t)=>{const r=Iy(lr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=e,i=sr(lr,e.__scopeTooltip);return l.createElement(De,{present:n||i.open},i.disableHoverableContent?l.createElement(wc,S({side:o},a,{ref:t})):l.createElement(Ny,S({side:o},a,{ref:t})))}),Ny=l.forwardRef((e,t)=>{const r=sr(lr,e.__scopeTooltip),n=jo(lr,e.__scopeTooltip),o=l.useRef(null),a=le(t,o),[i,s]=l.useState(null),{trigger:c,onClose:d}=r,f=o.current,{onPointerInTransitChange:p}=n,b=l.useCallback(()=>{s(null),p(!1)},[p]),m=l.useCallback((h,g)=>{const v=h.currentTarget,$={x:h.clientX,y:h.clientY},_=Vy($,v.getBoundingClientRect()),E=_==="right"||_==="bottom"?-5:5,A=_==="right"||_==="left"?{x:h.clientX+E,y:h.clientY}:{x:h.clientX,y:h.clientY+E},L=jy(g.getBoundingClientRect()),P=Ky([A,...L]);s(P),p(!0)},[p]);return l.useEffect(()=>()=>b(),[b]),l.useEffect(()=>{if(c&&f){const h=v=>m(v,f),g=v=>m(v,c);return c.addEventListener("pointerleave",h),f.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",h),f.removeEventListener("pointerleave",g)}}},[c,f,m,b]),l.useEffect(()=>{if(i){const h=g=>{const v=g.target,$={x:g.clientX,y:g.clientY},_=(c==null?void 0:c.contains(v))||(f==null?void 0:f.contains(v)),E=!Ry($,i);_?b():E&&(b(),d())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[c,f,i,d,b]),l.createElement(wc,S({},e,{ref:a}))}),[zy,Ly]=an(Ro,{isInside:!1}),wc=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,c=sr(lr,r),d=sn(r),{onClose:f}=c;return l.useEffect(()=>(document.addEventListener(Vo,f),()=>document.removeEventListener(Vo,f)),[f]),l.useEffect(()=>{if(c.trigger){const p=b=>{const m=b.target;m!=null&&m.contains(c.trigger)&&f()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,f]),l.createElement(qt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:f},l.createElement(zs,S({"data-state":c.stateAttribute},d,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),l.createElement(Ln,null,n),l.createElement(zy,{scope:r,isInside:!0},l.createElement(ds,{id:c.contentId,role:"tooltip"},o||n))))}),My="TooltipArrow",Fy=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=sn(r);return Ly(My,r).isInside?null:l.createElement(Ls,S({},o,n,{ref:t}))});function Vy(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 jy(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 Ry(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,d=t[i].x,f=t[i].y;c>n!=f>n&&r<(d-s)*(n-c)/(f-c)+s&&(o=!o)}return o}function Ky(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),By(t)}function By(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 Uy=Sy,Wy=Py,Hy=Cy,Gy=Oy,qy=Ay,Yy=Fy,Xy=D(qy)`
|
|
708
721
|
padding: ${u.sizing_200} ${u.sizing_200};
|
|
709
722
|
background: ${u.color_background_black_standard};
|
|
710
723
|
color: ${u.color_text_white_standard};
|
|
@@ -714,15 +727,15 @@ border-width: 0;
|
|
|
714
727
|
font-family: ${u.font_family_sans};
|
|
715
728
|
max-width: ${u.sizing_1000}; /* TODO ask designers? */
|
|
716
729
|
z-index: 100; /* TODO get from tokens */
|
|
717
|
-
`,
|
|
730
|
+
`,Zy=D(Yy)`
|
|
718
731
|
fill: 'white';
|
|
719
|
-
`;function
|
|
732
|
+
`;function Jy({children:e,...t}){return C(Gy,{children:oe(Xy,{...t,children:[e,C(Zy,{})]})})}const Qy=D(Hy)`
|
|
720
733
|
appearance: none;
|
|
721
734
|
padding: 0;
|
|
722
735
|
border: none;
|
|
723
736
|
background-color: unset;
|
|
724
737
|
line-height: 0;
|
|
725
|
-
`,
|
|
738
|
+
`,Ko=l.forwardRef((e,t)=>{const{children:r,...n}=e;return C(Qy,{ref:t,type:"button",...n,children:r})});Ko.displayName="TooltipTrigger";const Tc=Uy,Sc=Wy,kc=Jy,e$=D(Ko)`
|
|
726
739
|
color: ${u.color_text_white_weak};
|
|
727
740
|
margin-block: auto;
|
|
728
741
|
|
|
@@ -742,7 +755,7 @@ border-width: 0;
|
|
|
742
755
|
&:not([data-state~='closed']) > svg {
|
|
743
756
|
color: steelblue;
|
|
744
757
|
}
|
|
745
|
-
`;function en({children:e,icon:t=k($e.Help,{}),label:r="More info"}){return k(oc,{children:le(ic,{children:[k(Fv,{children:k(qt,{label:r,children:t})}),k(ac,{sideOffset:5,children:e})]})})}const sc=7e3;let Ao=null;function Rv(e,t="assertive",r=sc){Ao||(Ao=new zv),Ao.announce(e,t,r)}class zv{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=sc){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:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,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 Vv(e){return e&&e.__esModule?e.default:e}var lc={},cc={};cc={Empty:"فارغ"};var uc={};uc={Empty:"Изпразни"};var dc={};dc={Empty:"Prázdné"};var fc={};fc={Empty:"Tom"};var pc={};pc={Empty:"Leer"};var hc={};hc={Empty:"Άδειο"};var mc={};mc={Empty:"Empty"};var bc={};bc={Empty:"Vacío"};var gc={};gc={Empty:"Tühjenda"};var vc={};vc={Empty:"Tyhjä"};var _c={};_c={Empty:"Vide"};var yc={};yc={Empty:"ריק"};var $c={};$c={Empty:"Prazno"};var xc={};xc={Empty:"Üres"};var wc={};wc={Empty:"Vuoto"};var Ec={};Ec={Empty:"空"};var Pc={};Pc={Empty:"비어 있음"};var Sc={};Sc={Empty:"Tuščias"};var Cc={};Cc={Empty:"Tukšs"};var Tc={};Tc={Empty:"Tom"};var Oc={};Oc={Empty:"Leeg"};var kc={};kc={Empty:"Pusty"};var Dc={};Dc={Empty:"Vazio"};var Ic={};Ic={Empty:"Vazio"};var Ac={};Ac={Empty:"Gol"};var Nc={};Nc={Empty:"Не заполнено"};var Mc={};Mc={Empty:"Prázdne"};var Lc={};Lc={Empty:"Prazen"};var Fc={};Fc={Empty:"Prazno"};var Rc={};Rc={Empty:"Tomt"};var zc={};zc={Empty:"Boş"};var Vc={};Vc={Empty:"Пусто"};var jc={};jc={Empty:"空"};var Bc={};Bc={Empty:"空白"},lc={"ar-AE":cc,"bg-BG":uc,"cs-CZ":dc,"da-DK":fc,"de-DE":pc,"el-GR":hc,"en-US":mc,"es-ES":bc,"et-EE":gc,"fi-FI":vc,"fr-FR":_c,"he-IL":yc,"hr-HR":$c,"hu-HU":xc,"it-IT":wc,"ja-JP":Ec,"ko-KR":Pc,"lt-LT":Sc,"lv-LV":Cc,"nb-NO":Tc,"nl-NL":Oc,"pl-PL":kc,"pt-BR":Dc,"pt-PT":Ic,"ro-RO":Ac,"ru-RU":Nc,"sk-SK":Mc,"sl-SI":Lc,"sr-SP":Fc,"sv-SE":Rc,"tr-TR":zc,"uk-UA":Vc,"zh-CN":jc,"zh-TW":Bc};function jv(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:i,isDisabled:a,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:b,onDecrementToMin:h,onIncrementToMax:g}=e;const m=Gr(Vv(lc)),_=l.useRef(e);_.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let y=S=>{if(!(S.ctrlKey||S.metaKey||S.shiftKey||S.altKey||s))switch(S.key){case"PageUp":if(f){S.preventDefault(),f();break}case"ArrowUp":case"Up":d&&(S.preventDefault(),d());break;case"PageDown":if(b){S.preventDefault(),b();break}case"ArrowDown":case"Down":p&&(S.preventDefault(),p());break;case"Home":h&&(S.preventDefault(),h());break;case"End":g&&(S.preventDefault(),g());break}},E=l.useRef(!1),v=()=>{E.current=!0},A=()=>{E.current=!1};n=n===""?m.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{E.current&&Rv(n,"assertive")},[n]);const L=l.useCallback(S=>{$(),_.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r<i)&&L(60)},S)},[d,i,r]),T=l.useCallback(S=>{$(),_.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&T(60)},S)},[p,o,r]);let M=S=>{S.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:G}=Ns();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":o,"aria-valuemax":i,"aria-disabled":a||null,"aria-readonly":s||null,"aria-required":c||null,onKeyDown:y,onFocus:v,onBlur:A},incrementButtonProps:{onPressStart:()=>{L(400),F(window,"contextmenu",M)},onPressEnd:()=>{$(),G()},onFocus:v,onBlur:A},decrementButtonProps:{onPressStart:()=>{T(400),F(window,"contextmenu",M)},onPressEnd:()=>{$(),G()},onFocus:v,onBlur:A}}}function Bv(e){return e&&e.__esModule?e.default:e}var Wc={},Uc={};Uc={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Kc={};Kc={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Hc={};Hc={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Gc={};Gc={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var qc={};qc={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var Yc={};Yc={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var Xc={};Xc={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Jc={};Jc={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Zc={};Zc={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var Qc={};Qc={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var eu={};eu={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var tu={};tu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var ru={};ru={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var nu={};nu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var ou={};ou={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var iu={};iu={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var au={};au={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var su={};su={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var lu={};lu={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var cu={};cu={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var uu={};uu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var du={};du={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var fu={};fu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var pu={};pu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var hu={};hu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var mu={};mu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var bu={};bu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var gu={};gu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var vu={};vu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var _u={};_u={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var yu={};yu={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var $u={};$u={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var xu={};xu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var wu={};wu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},Wc={"ar-AE":Uc,"bg-BG":Kc,"cs-CZ":Hc,"da-DK":Gc,"de-DE":qc,"el-GR":Yc,"en-US":Xc,"es-ES":Jc,"et-EE":Zc,"fi-FI":Qc,"fr-FR":eu,"he-IL":tu,"hr-HR":ru,"hu-HU":nu,"it-IT":ou,"ja-JP":iu,"ko-KR":au,"lt-LT":su,"lv-LV":lu,"nb-NO":cu,"nl-NL":uu,"pl-PL":du,"pt-BR":fu,"pt-PT":pu,"ro-RO":hu,"ru-RU":mu,"sk-SK":bu,"sl-SI":gu,"sr-SP":vu,"sv-SE":_u,"tr-TR":yu,"uk-UA":$u,"zh-CN":xu,"zh-TW":wu};function Wv(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:i,isDisabled:a,isReadOnly:s,isRequired:c,minValue:d,maxValue:f,autoFocus:p,validationState:b,label:h,formatOptions:g,onBlur:m=()=>{},onFocus:_,onFocusChange:$,onKeyDown:y,onKeyUp:E,description:v,errorMessage:A,...L}=e,{increment:T,incrementToMax:M,decrement:F,decrementToMin:G,numberValue:S,commit:q}=t;const D=Gr(Bv(Wc));let P=mt(n),{focusProps:ee}=co({onBlur:()=>{q()}}),{spinButtonProps:Q,incrementButtonProps:de,decrementButtonProps:fe}=jv({isDisabled:a,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:T,onIncrementToMax:M,onDecrement:F,onDecrementToMin:G,value:S,textValue:t.inputValue}),[J,w]=l.useState(!1),{focusWithinProps:N}=qs({isDisabled:a,onFocusWithinChange:w}),B=l.useCallback(Ce=>{Math.abs(Ce.deltaY)<=Math.abs(Ce.deltaX)||(Ce.deltaY>0?T():Ce.deltaY<0&&F())},[F,T]);Hb({onScroll:B,isDisabled:a||s||!J},r);let V=mg(g),Y=l.useMemo(()=>V.resolvedOptions(),[V]).maximumFractionDigits>0,X=isNaN(t.minValue)||t.minValue<0,Z="numeric";Fs()?X?Z="text":Y&&(Z="decimal"):Rs()&&(X?Z="numeric":Y&&(Z="decimal"));let oe=Ce=>{t.setInputValue(Ce)},ne=Zt(e),{labelProps:ge,inputProps:be,descriptionProps:we,errorMessageProps:ze}=ev({...L,...ne,label:h,autoFocus:p,isDisabled:a,isReadOnly:s,isRequired:c,validationState:b,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:P,type:"text",inputMode:Z,onChange:oe,onBlur:m,onFocus:_,onFocusChange:$,onKeyDown:y,onKeyUp:E,description:v,errorMessage:A},t,r),Oe=xe(Q,ee,be,{role:null,"aria-roledescription":to()?null:D.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ve=Ce=>{document.activeElement!==r.current&&(Ce.pointerType==="mouse"?r.current.focus():Ce.target.focus())},ve=e["aria-label"]||(typeof e.label=="string"?e.label:""),_e;ve||(_e=e.label!=null?ge.id:e["aria-labelledby"]);let Ie=mt(),Ae=mt(),lt=xe(de,{"aria-label":i||D.format("increase",{fieldLabel:ve}).trim(),id:_e&&!i?Ie:null,"aria-labelledby":_e&&!i?`${Ie} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ve}),Ut=xe(fe,{"aria-label":o||D.format("decrease",{fieldLabel:ve}).trim(),id:_e&&!o?Ae:null,"aria-labelledby":_e&&!o?`${Ae} ${_e}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ve});return{groupProps:{role:"group","aria-disabled":a,"aria-invalid":b==="invalid"?"true":void 0,...N},labelProps:ge,inputProps:Oe,incrementButtonProps:lt,decrementButtonProps:Ut,errorMessageProps:ze,descriptionProps:we}}function Uv(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:i,defaultValue:a,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,b]=Ss(i,isNaN(a)?NaN:a,s),[h,g]=l.useState(()=>isNaN(p)?"":new _o(c,o).format(p)),m=l.useMemo(()=>new ag(c,o),[c,o]),_=l.useMemo(()=>m.getNumberingSystem(h),[m,h]),$=l.useMemo(()=>new _o(c,{...o,numberingSystem:_}),[c,o,_]),y=l.useMemo(()=>$.resolvedOptions(),[$]),E=l.useCallback(J=>isNaN(J)||J===null?"":$.format(J),[$]),v=isNaN(n)?1:n;y.style==="percent"&&isNaN(n)&&(v=.01);let A=l.useRef(p),L=l.useRef(c),T=l.useRef(o);(!Object.is(p,A.current)||c!==L.current||o!==T.current)&&(g(E(p)),A.current=p,L.current=c,T.current=o);let M=l.useMemo(()=>m.parse(h),[m,h]),F=l.useRef(0);F.current=M;let G=()=>{if(!h.length){b(NaN),g(i===void 0?"":E(p));return}if(isNaN(F.current)){g(E(p));return}let J;isNaN(n)?J=hb(F.current,t,r):J=ht(F.current,t,r,n),J=m.parse(E(J)),b(J),g(E(i===void 0?J:p))},S=(J,w)=>{let N=F.current;if(isNaN(N)){let B=isNaN(w)?0:w;return ht(B,t,r,v)}else{let B=ht(N,t,r,v);return J==="+"&&B>N||J==="-"&&B<N?B:ht(No(J,N,v),t,r,v)}},q=()=>{let J=S("+",t);J===p&&g(E(J)),b(J)},D=()=>{let J=S("-",r);J===p&&g(E(J)),b(J)},P=()=>{r!=null&&b(ht(r,t,r,v))},ee=()=>{t!=null&&b(t)},Q=l.useMemo(()=>!d&&!f&&(isNaN(M)||isNaN(r)||ht(M,t,r,v)>M||No("+",M,v)<=r),[d,f,t,r,v,M]),de=l.useMemo(()=>!d&&!f&&(isNaN(M)||isNaN(t)||ht(M,t,r,v)<M||No("-",M,v)>=t),[d,f,t,r,v,M]);return{validate:J=>m.isValidPartialNumber(J,t,r),increment:q,incrementToMax:P,decrement:D,decrementToMin:ee,canIncrement:Q,canDecrement:de,minValue:t,maxValue:r,numberValue:M,setInputValue:g,inputValue:h,commit:G}}function No(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const o=t.toString().split("."),i=r.toString().split("."),a=o[1]&&o[1].length||0,s=i[1]&&i[1].length||0,c=Math.pow(10,Math.max(a,s));t=Math.round(t*c),r=Math.round(r*c),n=e==="+"?t+r:t-r,n/=c}return n}function Eu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=Eo(e,t),{children:o,className:i}=e;return k("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:i,children:o})}const Kv=I.div`
|
|
758
|
+
`;function cr({children:e,icon:t=C(_e.Help,{}),label:r="More info"}){return C(Tc,{children:oe(Sc,{children:[C(e$,{children:C(Xt,{label:r,children:t})}),C(kc,{sideOffset:5,children:e})]})})}const Pc=7e3;let Bo=null;function t$(e,t="assertive",r=Pc){Bo||(Bo=new r$),Bo.announce(e,t,r)}class r${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=Pc){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:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,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 n$(e){return e&&e.__esModule?e.default:e}var Cc={},Dc={};Dc={Empty:"فارغ"};var Ic={};Ic={Empty:"Изпразни"};var Oc={};Oc={Empty:"Prázdné"};var Ac={};Ac={Empty:"Tom"};var Nc={};Nc={Empty:"Leer"};var zc={};zc={Empty:"Άδειο"};var Lc={};Lc={Empty:"Empty"};var Mc={};Mc={Empty:"Vacío"};var Fc={};Fc={Empty:"Tühjenda"};var Vc={};Vc={Empty:"Tyhjä"};var jc={};jc={Empty:"Vide"};var Rc={};Rc={Empty:"ריק"};var Kc={};Kc={Empty:"Prazno"};var Bc={};Bc={Empty:"Üres"};var Uc={};Uc={Empty:"Vuoto"};var Wc={};Wc={Empty:"空"};var Hc={};Hc={Empty:"비어 있음"};var Gc={};Gc={Empty:"Tuščias"};var qc={};qc={Empty:"Tukšs"};var Yc={};Yc={Empty:"Tom"};var Xc={};Xc={Empty:"Leeg"};var Zc={};Zc={Empty:"Pusty"};var Jc={};Jc={Empty:"Vazio"};var Qc={};Qc={Empty:"Vazio"};var eu={};eu={Empty:"Gol"};var tu={};tu={Empty:"Не заполнено"};var ru={};ru={Empty:"Prázdne"};var nu={};nu={Empty:"Prazen"};var ou={};ou={Empty:"Prazno"};var au={};au={Empty:"Tomt"};var iu={};iu={Empty:"Boş"};var su={};su={Empty:"Пусто"};var lu={};lu={Empty:"空"};var cu={};cu={Empty:"空白"},Cc={"ar-AE":Dc,"bg-BG":Ic,"cs-CZ":Oc,"da-DK":Ac,"de-DE":Nc,"el-GR":zc,"en-US":Lc,"es-ES":Mc,"et-EE":Fc,"fi-FI":Vc,"fr-FR":jc,"he-IL":Rc,"hr-HR":Kc,"hu-HU":Bc,"it-IT":Uc,"ja-JP":Wc,"ko-KR":Hc,"lt-LT":Gc,"lv-LV":qc,"nb-NO":Yc,"nl-NL":Xc,"pl-PL":Zc,"pt-BR":Jc,"pt-PT":Qc,"ro-RO":eu,"ru-RU":tu,"sk-SK":ru,"sl-SI":nu,"sr-SP":ou,"sv-SE":au,"tr-TR":iu,"uk-UA":su,"zh-CN":lu,"zh-TW":cu};function o$(e){const t=l.useRef();let{value:r,textValue:n,minValue:o,maxValue:a,isDisabled:i,isReadOnly:s,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:b,onDecrementToMin:m,onIncrementToMax:h}=e;const g=nr(n$(Cc)),v=l.useRef(e);v.current=e;const $=()=>clearTimeout(t.current);l.useEffect(()=>()=>$(),[]);let _=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||s))switch(k.key){case"PageUp":if(f){k.preventDefault(),f();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d());break;case"PageDown":if(b){k.preventDefault(),b();break}case"ArrowDown":case"Down":p&&(k.preventDefault(),p());break;case"Home":m&&(k.preventDefault(),m());break;case"End":h&&(k.preventDefault(),h());break}},E=l.useRef(!1),y=()=>{E.current=!0},A=()=>{E.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),l.useEffect(()=>{E.current&&t$(n,"assertive")},[n]);const L=l.useCallback(k=>{$(),v.current.onIncrement(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r<a)&&L(60)},k)},[d,a,r]),P=l.useCallback(k=>{$(),v.current.onDecrement(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(r)||r>o)&&P(60)},k)},[p,o,r]);let N=k=>{k.preventDefault()},{addGlobalListener:F,removeAllGlobalListeners:G}=el();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:_,onFocus:y,onBlur:A},incrementButtonProps:{onPressStart:()=>{L(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),G()},onFocus:y,onBlur:A},decrementButtonProps:{onPressStart:()=>{P(400),F(window,"contextmenu",N)},onPressEnd:()=>{$(),G()},onFocus:y,onBlur:A}}}function a$(e){return e&&e.__esModule?e.default:e}var uu={},du={};du={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var fu={};fu={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var pu={};pu={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var bu={};bu={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var mu={};mu={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var gu={};gu={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var hu={};hu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var vu={};vu={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var yu={};yu={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var $u={};$u={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var _u={};_u={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var xu={};xu={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var Eu={};Eu={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var wu={};wu={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var Tu={};Tu={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var Su={};Su={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var ku={};ku={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var Pu={};Pu={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Cu={};Cu={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var Du={};Du={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Iu={};Iu={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Ou={};Ou={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Au={};Au={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Nu={};Nu={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var zu={};zu={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Lu={};Lu={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Mu={};Mu={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Fu={};Fu={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Vu={};Vu={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var ju={};ju={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Ru={};Ru={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Ku={};Ku={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Bu={};Bu={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Uu={};Uu={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"},uu={"ar-AE":du,"bg-BG":fu,"cs-CZ":pu,"da-DK":bu,"de-DE":mu,"el-GR":gu,"en-US":hu,"es-ES":vu,"et-EE":yu,"fi-FI":$u,"fr-FR":_u,"he-IL":xu,"hr-HR":Eu,"hu-HU":wu,"it-IT":Tu,"ja-JP":Su,"ko-KR":ku,"lt-LT":Pu,"lv-LV":Cu,"nb-NO":Du,"nl-NL":Iu,"pl-PL":Ou,"pt-BR":Au,"pt-PT":Nu,"ro-RO":zu,"ru-RU":Lu,"sk-SK":Mu,"sl-SI":Fu,"sr-SP":Vu,"sv-SE":ju,"tr-TR":Ru,"uk-UA":Ku,"zh-CN":Bu,"zh-TW":Uu};function i$(e,t,r){let{id:n,decrementAriaLabel:o,incrementAriaLabel:a,isDisabled:i,isReadOnly:s,isRequired:c,minValue:d,maxValue:f,autoFocus:p,validationState:b,label:m,formatOptions:h,onBlur:g=()=>{},onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:E,description:y,errorMessage:A,...L}=e,{increment:P,incrementToMax:N,decrement:F,decrementToMin:G,numberValue:k,commit:H}=t;const O=nr(a$(uu));let T=yt(n),{focusProps:X}=xo({onBlur:()=>{H()}}),{spinButtonProps:ee,incrementButtonProps:de,decrementButtonProps:ge}=o$({isDisabled:i,isReadOnly:s,isRequired:c,maxValue:f,minValue:d,onIncrement:P,onIncrementToMax:N,onDecrement:F,onDecrementToMin:G,value:k,textValue:t.inputValue}),[te,w]=l.useState(!1),{focusWithinProps:z}=bl({isDisabled:i,onFocusWithinChange:w}),K=l.useCallback(Pe=>{Math.abs(Pe.deltaY)<=Math.abs(Pe.deltaX)||(Pe.deltaY>0?P():Pe.deltaY<0&&F())},[F,P]);d0({onScroll:K,isDisabled:i||s||!te},r);let R=N0(h),Y=l.useMemo(()=>R.resolvedOptions(),[R]).maximumFractionDigits>0,Z=isNaN(t.minValue)||t.minValue<0,Q="numeric";rl()?Z?Q="text":Y&&(Q="decimal"):ol()&&(Z?Q="numeric":Y&&(Q="decimal"));let ae=Pe=>{t.setInputValue(Pe)},ne=er(e),{labelProps:ve,inputProps:he,descriptionProps:Se,errorMessageProps:Re}=hy({...L,...ne,label:m,autoFocus:p,isDisabled:i,isReadOnly:s,isRequired:c,validationState:b,value:t.inputValue,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:T,type:"text",inputMode:Q,onChange:ae,onBlur:g,onFocus:v,onFocusChange:$,onKeyDown:_,onKeyUp:E,description:y,errorMessage:A},t,r),Oe=Te(ee,X,he,{role:null,"aria-roledescription":bo()?null:O.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"}),Ke=Pe=>{document.activeElement!==r.current&&(Pe.pointerType==="mouse"?r.current.focus():Pe.target.focus())},ye=e["aria-label"]||(typeof e.label=="string"?e.label:""),$e;ye||($e=e.label!=null?ve.id:e["aria-labelledby"]);let ze=yt(),Le=yt(),ft=Te(de,{"aria-label":a||O.format("increase",{fieldLabel:ye}).trim(),id:$e&&!a?ze:null,"aria-labelledby":$e&&!a?`${ze} ${$e}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ke}),Ht=Te(ge,{"aria-label":o||O.format("decrease",{fieldLabel:ye}).trim(),id:$e&&!o?Le:null,"aria-labelledby":$e&&!o?`${Le} ${$e}`:null,"aria-controls":T,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ke});return{groupProps:{role:"group","aria-disabled":i,"aria-invalid":b==="invalid"?"true":void 0,...z},labelProps:ve,inputProps:Oe,incrementButtonProps:ft,decrementButtonProps:Ht,errorMessageProps:Re,descriptionProps:Se}}function s$(e){let{minValue:t,maxValue:r,step:n,formatOptions:o,value:a,defaultValue:i,onChange:s,locale:c,isDisabled:d,isReadOnly:f}=e,[p,b]=Hs(a,isNaN(i)?NaN:i,s),[m,h]=l.useState(()=>isNaN(p)?"":new Co(c,o).format(p)),g=l.useMemo(()=>new T0(c,o),[c,o]),v=l.useMemo(()=>g.getNumberingSystem(m),[g,m]),$=l.useMemo(()=>new Co(c,{...o,numberingSystem:v}),[c,o,v]),_=l.useMemo(()=>$.resolvedOptions(),[$]),E=l.useCallback(te=>isNaN(te)||te===null?"":$.format(te),[$]),y=isNaN(n)?1:n;_.style==="percent"&&isNaN(n)&&(y=.01);let A=l.useRef(p),L=l.useRef(c),P=l.useRef(o);(!Object.is(p,A.current)||c!==L.current||o!==P.current)&&(h(E(p)),A.current=p,L.current=c,P.current=o);let N=l.useMemo(()=>g.parse(m),[g,m]),F=l.useRef(0);F.current=N;let G=()=>{if(!m.length){b(NaN),h(a===void 0?"":E(p));return}if(isNaN(F.current)){h(E(p));return}let te;isNaN(n)?te=Iv(F.current,t,r):te=vt(F.current,t,r,n),te=g.parse(E(te)),b(te),h(E(a===void 0?te:p))},k=(te,w)=>{let z=F.current;if(isNaN(z)){let K=isNaN(w)?0:w;return vt(K,t,r,y)}else{let K=vt(z,t,r,y);return te==="+"&&K>z||te==="-"&&K<z?K:vt(Uo(te,z,y),t,r,y)}},H=()=>{let te=k("+",t);te===p&&h(E(te)),b(te)},O=()=>{let te=k("-",r);te===p&&h(E(te)),b(te)},T=()=>{r!=null&&b(vt(r,t,r,y))},X=()=>{t!=null&&b(t)},ee=l.useMemo(()=>!d&&!f&&(isNaN(N)||isNaN(r)||vt(N,t,r,y)>N||Uo("+",N,y)<=r),[d,f,t,r,y,N]),de=l.useMemo(()=>!d&&!f&&(isNaN(N)||isNaN(t)||vt(N,t,r,y)<N||Uo("-",N,y)>=t),[d,f,t,r,y,N]);return{validate:te=>g.isValidPartialNumber(te,t,r),increment:H,incrementToMax:T,decrement:O,decrementToMin:X,canIncrement:ee,canDecrement:de,minValue:t,maxValue:r,numberValue:N,setInputValue:h,inputValue:m,commit:G}}function Uo(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 Wu(e){const t=l.useRef(null),{buttonProps:r,isPressed:n}=zo(e,t),{children:o,className:a}=e;return C("button",{"data-state":n?"pressed":void 0,ref:t,...r,className:a,children:o})}const l$=D.div`
|
|
746
759
|
--border-color: ${u.color_outline_secondary_enabled};
|
|
747
760
|
display: inline-grid;
|
|
748
761
|
grid-template:
|
|
@@ -760,7 +773,7 @@ border-width: 0;
|
|
|
760
773
|
outline: 1px solid black;
|
|
761
774
|
--border-color: ${u.color_black};
|
|
762
775
|
}
|
|
763
|
-
`,
|
|
776
|
+
`,c$=D(ar)`
|
|
764
777
|
border-top-right-radius: 0;
|
|
765
778
|
border-color: var(--border-color);
|
|
766
779
|
border-bottom-right-radius: 0;
|
|
@@ -769,7 +782,7 @@ border-width: 0;
|
|
|
769
782
|
grid-area: field;
|
|
770
783
|
margin: 0;
|
|
771
784
|
margin-right: -1px; // to make the borders overlap
|
|
772
|
-
`,
|
|
785
|
+
`,Hu=D(Wu)`
|
|
773
786
|
display: grid;
|
|
774
787
|
place-items: center;
|
|
775
788
|
color: ${u.color_text_weak};
|
|
@@ -784,7 +797,7 @@ border-width: 0;
|
|
|
784
797
|
border-left-width: 0px;
|
|
785
798
|
border-left-color: transparent;
|
|
786
799
|
|
|
787
|
-
background-color: ${u.color_white}
|
|
800
|
+
background-color: ${u.color_white};
|
|
788
801
|
|
|
789
802
|
transition-property: ${u.transition_property_color};
|
|
790
803
|
transition-duration: ${u.transition_duration_150};
|
|
@@ -813,14 +826,14 @@ border-width: 0;
|
|
|
813
826
|
line-height: 0;
|
|
814
827
|
font-size: 1rem;
|
|
815
828
|
}
|
|
816
|
-
`,
|
|
829
|
+
`,u$=D(Hu)`
|
|
817
830
|
border-radius: unset;
|
|
818
831
|
border-top: 1px solid var(--border-color);
|
|
819
832
|
border-top-right-radius: ${u.border_radius_400};
|
|
820
833
|
border-bottom-width: 0.5px;
|
|
821
834
|
grid-area: increment;
|
|
822
835
|
margin-bottom: -0.5px;
|
|
823
|
-
`,
|
|
836
|
+
`,d$=D(Hu)`
|
|
824
837
|
border-radius: unset;
|
|
825
838
|
border-bottom: 1px solid var(--border-color);
|
|
826
839
|
border-bottom-right-radius: ${u.border_radius_400};
|
|
@@ -828,7 +841,7 @@ border-width: 0;
|
|
|
828
841
|
border-top-width: 0.5px;
|
|
829
842
|
margin-top: -0.5px;
|
|
830
843
|
grid-area: decrement;
|
|
831
|
-
`;function
|
|
844
|
+
`;function Gu(e,t){var r;if(e.length&&((r=e[0])!=null&&r.value)){const n=e[0].value;return t.indexOf(n)}}const Wo=l.forwardRef((e,t)=>{const{description:r,disabled:n,readOnly:o,required:a,paddingSize:i="small",label:s,errorMessage:c,placeholder:d="Enter number...",showStepper:f=!0,min:p,max:b,locale:m="en-US",...h}=e,g=at(),v=n??g,$=o,_=a,E=nt(t),y=s$({...h,isDisabled:v,isReadOnly:$,isRequired:_,minValue:p,maxValue:b,placeholder:d,locale:m}),{labelProps:A,groupProps:L,inputProps:P,incrementButtonProps:N,decrementButtonProps:F,descriptionProps:G,errorMessageProps:k}=i$({...h,isDisabled:v,isReadOnly:$,isRequired:_,minValue:p,maxValue:b,placeholder:d,label:s},y,E);let H=null;typeof s=="string"?H=C(Ze,{...A,children:s}):l.isValidElement(s)&&(H=l.cloneElement(s,{...A}));const O=T=>{const{formatOptions:X}=e;if((X==null?void 0:X.style)==="unit"){const de=Intl.NumberFormat(m,X),ge=de.formatToParts(1).filter(j=>j.type==="unit"),te=de.formatToParts(3).filter(j=>j.type==="unit"),w=Gu(ge,y.inputValue),z=Gu(te,y.inputValue);let K;if(w&&w>-1?K=w:z&&z>-1&&(K=z),K){const j=T.target.selectionStart;if(j&&j>K){const R=K-1;T.target.setSelectionRange(R,R)}}}};return oe(ir,{children:[H,f?oe(l$,{...L,children:[C(c$,{...P,paddingSize:i,ref:E,onClick:O,onFocus:O,required:a}),C(u$,{...N,children:C(_e.KeyboardArrowUp,{})}),C(d$,{...F,children:C(_e.KeyboardArrowDown,{})})]}):C(ar,{ref:E,...P,paddingSize:i,required:a}),c?oe(nn,{...k,children:[C(_e.Error,{}),c]}):null,r?C(on,{...G,children:r}):null]})});Wo.displayName="NumberInput";const qu=l.forwardRef((e,t)=>{const{errorMessage:r,description:n,disabled:o,readOnly:a,required:i,paddingSize:s="large",label:c,validationState:d,placeholder:f="Enter text...",...p}=e,b=nt(t),m=at(),h=o??m,{labelProps:g,descriptionProps:v,inputProps:$,errorMessageProps:_}=rn({...p,isDisabled:h,isReadOnly:a,isRequired:i,placeholder:f,label:c,inputElementType:"textarea"},b);let E=null;return typeof c=="string"?E=C(Ze,{...g,children:c}):l.isValidElement(c)&&(E=l.cloneElement(c,{...g})),oe(ir,{children:[E,C(ar,{as:"textarea","data-state":d,paddingSize:s,ref:b,placeholder:"Enter...",...$}),r?oe(nn,{..._,children:[C(_e.Error,{}),r]}):null,n?C(on,{...v,children:n}):null]})});qu.displayName="TextAreaInput";const Ho=l.createContext({});Ho.displayName="FormControlContext";function ln(){return l.useContext(Ho)}function f$({children:e,label:t,errorMessage:r,description:n,tooltipContent:o,tooltipIcon:a,validationState:i,id:s,...c}){const{descriptionProps:d,errorMessageProps:f,fieldProps:p,labelProps:b}=$c({errorMessage:r,label:t,description:n,validationState:i,id:s,...c});return C(Ho.Provider,{value:p,children:oe(ir,{children:[oe(Ze,{...b,display:"flex",children:[t,o?C(cr,{icon:a,children:o}):null]}),e,n?C(on,{...d,children:n}):null,r?oe(nn,{...f,children:[C(_e.Error,{}),r]}):null]})})}const Yu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(Fo,{ref:t,label:oe(Ze,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});Yu.displayName="TextFormControl";const Xu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(qu,{ref:t,label:oe(Ze,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});Xu.displayName="TextAreaFormControl";const Zu=l.forwardRef((e,t)=>{const{label:r,tooltipContent:n,tooltipIcon:o,...a}=e;return C(Wo,{ref:t,label:oe(Ze,{children:[r,n?C(cr,{icon:o,children:n}):null]}),...a})});Zu.displayName="NumberFormControl";function Ju(e){const t=at(),r=e??t;return{...ln(),disabled:r}}const p$=()=>C("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:C("path",{"fill-rule":"evenodd","clip-rule":"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","stroke-width":"0.25"})}),b$=()=>C("svg",{focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:C("path",{d:"M19 13 H5 v-3 h14 v2 z"})}),Go=D.div`
|
|
832
845
|
display: grid;
|
|
833
846
|
place-items: center;
|
|
834
847
|
width: 16px;
|
|
@@ -843,7 +856,7 @@ border-width: 0;
|
|
|
843
856
|
width: 100%;
|
|
844
857
|
height: 100%;
|
|
845
858
|
}
|
|
846
|
-
`,
|
|
859
|
+
`,m$=D(py)`
|
|
847
860
|
all: unset;
|
|
848
861
|
background-color: ${u.color_white};
|
|
849
862
|
width: ${u.sizing_600};
|
|
@@ -881,35 +894,82 @@ border-width: 0;
|
|
|
881
894
|
--background-color: ${u.color_fill_danger_enabled};
|
|
882
895
|
color: ${u.color_fill_danger_enabled};
|
|
883
896
|
}
|
|
884
|
-
`,
|
|
897
|
+
`,g$=D(by)`
|
|
885
898
|
line-height: 0;
|
|
886
899
|
|
|
887
900
|
& > svg {
|
|
888
901
|
line-height: 0;
|
|
889
902
|
}
|
|
890
|
-
`;function e_({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const i=Du(e);return le(Zv,{onCheckedChange:n,...o,...i,checked:t,"aria-invalid":r,children:[!t&&k(Fo,{}),le(Qv,{children:[t===!0&&k(Fo,{children:k(Xv,{})}),t==="indeterminate"&&k(Fo,{children:k(Jv,{})})]})]})}const Ro=I.h1`
|
|
891
|
-
font-family: ${u.
|
|
892
|
-
font-
|
|
903
|
+
`;function h$({disabled:e,checked:t,invalid:r,onCheckedChange:n,...o}){const a=Ju(e);return oe(m$,{onCheckedChange:n,...o,...a,checked:t,"aria-invalid":r,children:[!t&&C(Go,{}),oe(g$,{children:[t===!0&&C(Go,{children:C(p$,{})}),t==="indeterminate"&&C(Go,{children:C(b$,{})})]})]})}function v$(e){return e&&e.__esModule?e.default:e}let fe;(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"})(fe||(fe={}));const Qu={...fe,copyMove:fe.copy|fe.move,copyLink:fe.copy|fe.link,linkMove:fe.link|fe.move,all:fe.all,uninitialized:fe.all},y$=Yo(Qu);y$[fe.all]="all",Yo(fe);const ed={none:"cancel",link:"link",copy:"copy",move:"move"},qo=Yo(ed);function Yo(e){let t={};for(let r in e)t[e[r]]=r;return t}const Xo="application/vnd.react-aria.items+json",cn="application/octet-stream",$$=Symbol();function _$(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function x$(){return _$(s0())}class un{has(t){return this.includesUnknownTypes||t===$$&&this.types.has(cn)?!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!==Xo&&(n.kind==="file"&&(r=!0),n.type?this.types.add(n.type):this.types.add(cn));this.includesUnknownTypes=!r&&t.types.includes("Files")}}function E$(e){let t=[],r=!1;if(e.types.includes(Xo))try{let n=e.getData(Xo),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||cn,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(Zo(o.getAsFile())):a.isDirectory&&t.push(td(a))}else t.push(Zo(o.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:o=>Promise.resolve(n.get(o))})}return t}function w$(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 Zo(e){return{kind:"file",type:e.type||cn,name:e.name,getText:()=>w$(e),getFile:()=>Promise.resolve(e)}}function td(e){return{kind:"directory",name:e.name,getEntries:()=>T$(e)}}async function*T$(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 S$(n);yield Zo(o)}else n.isDirectory&&(yield td(n))}while(r.length>0)}function S$(e){return new Promise((t,r)=>e.file(t,r))}let rd={draggingKeys:new Set};function k$(e){rd=e}function YS(e){}let nd=fe.none,od=new Map,ad=null,id=new Set;function P$(e){return od.set(e.element,e),()=>{od.delete(e.element)}}function C$(){let[e,t]=l.useState(ad);return l.useEffect(()=>{let r=()=>t(ad);return id.add(r),()=>{id.delete(r)}},[]),e}var sd={},ld={};ld={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 cd={};cd={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 ud={};ud={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 dd={};dd={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 fd={};fd={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 pd={};pd={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 bd={};bd={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 md={};md={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 gd={};gd={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 hd={};hd={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 vd={};vd={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 yd={};yd={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 $d={};$d={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 _d={};_d={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 xd={};xd={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 Ed={};Ed={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 wd={};wd={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 Td={};Td={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 Sd={};Sd={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 kd={};kd={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 Pd={};Pd={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 Cd={};Cd={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 Dd={};Dd={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 Id={};Id={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 Od={};Od={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 Ad={};Ad={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 Nd={};Nd={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 zd={};zd={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 Ld={};Ld={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 Md={};Md={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 Fd={};Fd={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 Vd={};Vd={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 jd={};jd={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 Rd={};Rd={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}」之間`},sd={"ar-AE":ld,"bg-BG":cd,"cs-CZ":ud,"da-DK":dd,"de-DE":fd,"el-GR":pd,"en-US":bd,"es-ES":md,"et-EE":gd,"fi-FI":hd,"fr-FR":vd,"he-IL":yd,"hr-HR":$d,"hu-HU":_d,"it-IT":xd,"ja-JP":Ed,"ko-KR":wd,"lt-LT":Td,"lv-LV":Sd,"nb-NO":kd,"nl-NL":Pd,"pl-PL":Cd,"pt-BR":Dd,"pt-PT":Id,"ro-RO":Od,"ru-RU":Ad,"sk-SK":Nd,"sl-SI":zd,"sr-SP":Ld,"sv-SE":Md,"tr-TR":Fd,"uk-UA":Vd,"zh-CN":jd,"zh-TW":Rd};const D$={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function I$(){let e=nr(v$(sd)),t=x$(),r=C$();return{dropProps:{...Wv(r?e.format(D$[t]):""),onClick:()=>{}}}}const O$=800;function A$(e){let[t,r]=l.useState(!1),n=l.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:fe.all,dropActivateTimer:null}).current,o=b=>{if(r(!0),typeof e.onDropEnter=="function"){let m=b.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:b.clientX-m.x,y:b.clientY-m.y})}},a=b=>{if(r(!1),typeof e.onDropExit=="function"){let m=b.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:b.clientX-m.x,y:b.clientY-m.y})}},i=b=>{b.preventDefault(),b.stopPropagation();let m=Kd(b);if(b.clientX===n.x&&b.clientY===n.y&&m===n.allowedOperations){b.dataTransfer.dropEffect=n.dropEffect;return}n.x=b.clientX,n.y=b.clientY;let h=n.dropEffect;if(m!==n.allowedOperations){let g=Jo(m),v=g[0];if(typeof e.getDropOperation=="function"){let $=new un(b.dataTransfer);v=dn(m,e.getDropOperation($,g))}n.dropEffect=qo[v]||"none"}if(typeof e.getDropOperationForPoint=="function"){let g=new un(b.dataTransfer),v=b.currentTarget.getBoundingClientRect(),$=dn(m,e.getDropOperationForPoint(g,Jo(m),n.x-v.x,n.y-v.y));n.dropEffect=qo[$]||"none"}if(n.allowedOperations=m,b.dataTransfer.dropEffect=n.dropEffect,n.dropEffect==="none"&&h!=="none"?a(b):n.dropEffect!=="none"&&h==="none"&&o(b),typeof e.onDropMove=="function"&&n.dropEffect!=="none"){let g=b.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=b.currentTarget.getBoundingClientRect();n.dropActivateTimer=setTimeout(()=>{e.onDropActivate({type:"dropactivate",x:n.x-g.x,y:n.y-g.y})},O$)}},s=b=>{if(b.preventDefault(),b.stopPropagation(),n.dragOverElements.add(b.target),n.dragOverElements.size>1)return;let m=Kd(b),h=Jo(m),g=h[0];if(typeof e.getDropOperation=="function"){let v=new un(b.dataTransfer);g=dn(m,e.getDropOperation(v,h))}if(typeof e.getDropOperationForPoint=="function"){let v=new un(b.dataTransfer),$=b.currentTarget.getBoundingClientRect();g=dn(m,e.getDropOperationForPoint(v,h,b.clientX-$.x,b.clientY-$.y))}n.x=b.clientX,n.y=b.clientY,n.allowedOperations=m,n.dropEffect=qo[g]||"none",b.dataTransfer.dropEffect=n.dropEffect,g!=="cancel"&&o(b)},c=b=>{b.preventDefault(),b.stopPropagation(),n.dragOverElements.delete(b.target);for(let m of n.dragOverElements)b.currentTarget.contains(m)||n.dragOverElements.delete(m);n.dragOverElements.size>0||(n.dropEffect!=="none"&&a(b),clearTimeout(n.dropActivateTimer))},d=b=>{if(b.preventDefault(),b.stopPropagation(),n.dropEffect,typeof e.onDrop=="function"){let h=ed[n.dropEffect],g=E$(b.dataTransfer),v=b.currentTarget.getBoundingClientRect(),$={type:"drop",x:b.clientX-v.x,y:b.clientY-v.y,items:g,dropOperation:h};e.onDrop($)}let m={...rd};n.dragOverElements.clear(),a(b),clearTimeout(n.dropActivateTimer),m.draggingCollectionRef==null||k$(m)},f=l.useRef(e);f.current=e,rt(()=>P$({element:f.current.ref.current,getDropOperation:f.current.getDropOperation,onDropEnter(b){r(!0),typeof f.current.onDropEnter=="function"&&f.current.onDropEnter(b)},onDropExit(b){r(!1),typeof f.current.onDropExit=="function"&&f.current.onDropExit(b)},onDrop(b){typeof f.current.onDrop=="function"&&f.current.onDrop(b)},onDropActivate(b){typeof f.current.onDropActivate=="function"&&f.current.onDropActivate(b)}}),[f]);let{dropProps:p}=I$();return{dropProps:{...p,onDragEnter:s,onDragOver:i,onDragLeave:c,onDrop:d},isDropTarget:t}}function Kd(e){let t=Qu[e.dataTransfer.effectAllowed];nd&&(t&=nd);let r=fe.none;return po()?(e.altKey&&(r|=fe.copy),e.ctrlKey&&!nl()&&(r|=fe.link),e.metaKey&&(r|=fe.move)):(e.altKey&&(r|=fe.link),e.shiftKey&&(r|=fe.move),e.ctrlKey&&(r|=fe.copy)),r?t&r:t}function Jo(e){let t=[];return e&fe.move&&t.push("move"),e&fe.copy&&t.push("copy"),e&fe.link&&t.push("link"),t}function dn(e,t){let r=fe[t];return e&r?t:"cancel"}const ur=D.p`
|
|
904
|
+
font-family: ${u.font_family_sans};
|
|
905
|
+
font-style: var(--text-style, normal);
|
|
906
|
+
font-weight: var(--text-font-weight, 400);
|
|
907
|
+
color: var(--text-color, ${u.color_text_strong});
|
|
908
|
+
margin-block: 0;
|
|
909
|
+
overflow-wrap: break-word;
|
|
910
|
+
hyphens: auto;
|
|
911
|
+
`,Qo=D(ur)`
|
|
912
|
+
max-width: 60ch; /* should check with designers */
|
|
913
|
+
`,N$=D(Qo)`
|
|
914
|
+
letter-spacing: ${u.letter_spacing_body_large};
|
|
915
|
+
line-height: ${u.line_height_body_large};
|
|
916
|
+
font-size: ${u.font_size_body_large};
|
|
917
|
+
`,z$=D(Qo)`
|
|
918
|
+
letter-spacing: ${u.letter_spacing_body_medium};
|
|
919
|
+
line-height: ${u.line_height_body_medium};
|
|
920
|
+
font-size: ${u.font_size_body_medium};
|
|
921
|
+
`,L$=D(Qo)`
|
|
922
|
+
letter-spacing: ${u.letter_spacing_body_small};
|
|
923
|
+
line-height: ${u.line_height_body_small};
|
|
924
|
+
font-size: ${u.font_size_body_small};
|
|
925
|
+
`,M$={large:N$,medium:z$,small:L$};function F$({size:e="medium",...t}){const r=M$[e];return C(r,{...t})}const fn=D.p`
|
|
926
|
+
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
927
|
+
font-family: ${u.font_family_sans};
|
|
893
928
|
font-style: normal;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
font-size: ${u.
|
|
901
|
-
`,
|
|
902
|
-
letter-spacing: ${u.
|
|
903
|
-
|
|
904
|
-
|
|
929
|
+
font-weight: var(--text-font-weight, 400);
|
|
930
|
+
color: var(--text-color, ${u.color_text_strong});
|
|
931
|
+
margin-block: 0;
|
|
932
|
+
`,V$=D(fn)`
|
|
933
|
+
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
934
|
+
line-height: ${u.line_height_number_xsmall};
|
|
935
|
+
font-size: ${u.font_size_number_xsmall};
|
|
936
|
+
`,j$=D(fn)`
|
|
937
|
+
letter-spacing: ${u.letter_spacing_number_small};
|
|
938
|
+
line-height: ${u.line_height_number_small};
|
|
939
|
+
font-size: ${u.font_size_number_small};
|
|
940
|
+
`,R$=D(fn)`
|
|
941
|
+
letter-spacing: ${u.letter_spacing_number_medium};
|
|
942
|
+
line-height: ${u.line_height_number_medium};
|
|
943
|
+
font-size: ${u.font_size_number_medium};
|
|
944
|
+
`,K$=D(fn)`
|
|
945
|
+
letter-spacing: ${u.letter_spacing_number_large};
|
|
946
|
+
line-height: ${u.line_height_number_large};
|
|
947
|
+
font-size: ${u.font_size_number_large};
|
|
948
|
+
`,B$={xsmall:V$,small:j$,medium:R$,large:K$};function U$({size:e="medium",...t}){const r=B$[e];return C(r,{...t})}const W$=D(ur)`
|
|
949
|
+
letter-spacing: ${u.letter_spacing_number_small};
|
|
950
|
+
line-height: ${u.line_height_number_small};
|
|
951
|
+
font-size: ${u.font_size_number_small};
|
|
952
|
+
`,H$=D(ur)`
|
|
953
|
+
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
954
|
+
line-height: ${u.line_height_number_xsmall};
|
|
955
|
+
font-size: ${u.font_size_number_xsmall};
|
|
956
|
+
`,G$=D(ur)`
|
|
957
|
+
letter-spacing: ${u.letter_spacing_number_large};
|
|
958
|
+
line-height: ${u.line_height_number_large};
|
|
959
|
+
font-size: ${u.font_size_number_large};
|
|
960
|
+
`,q$=D(ur)`
|
|
961
|
+
letter-spacing: ${u.letter_spacing_number_medium};
|
|
962
|
+
line-height: ${u.line_height_number_medium};
|
|
963
|
+
font-size: ${u.font_size_number_medium};
|
|
964
|
+
`,Y$={xsmall:H$,small:W$,medium:q$,large:G$};function X$({size:e="medium",...t}){const r=Y$[e];return C(r,{...t})}const Z$={caption:X$,body:F$,number:U$},J$={normal:{standard:u.color_text_standard,strong:u.color_text_strong,weak:u.color_text_weak},sentiment:{positive:u.color_text_sentiment_positive,negative:u.color_text_sentiment_negative,notice:u.color_text_sentiment_notice,neutral:u.color_text_sentiment_neutral}},Mt=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:a,bold:i,as:s,...c}=e,d=Z$[r],p=J$[n][o];return C(d,{as:s,...c,ref:t,style:{"--text-font-weight":i?500:400,"--text-color":p,"--text-style":a?"italic":"normal"}})});Mt.displayName="Text";const ea={small:"32px",large:"40px"},Bd={circle:u.border_radius_circle,square:u.border_radius_400},pn=D.button`
|
|
905
965
|
all: unset;
|
|
906
966
|
appearance: none;
|
|
907
967
|
display: grid;
|
|
908
968
|
line-height: 1;
|
|
909
969
|
place-items: center;
|
|
910
|
-
border-radius: var(--icon-button-border-radius, ${
|
|
911
|
-
height: var(--icon-button-size, ${
|
|
912
|
-
width: var(--icon-button-size, ${
|
|
970
|
+
border-radius: var(--icon-button-border-radius, ${Bd.square});
|
|
971
|
+
height: var(--icon-button-size, ${ea.small});
|
|
972
|
+
width: var(--icon-button-size, ${ea.small});
|
|
913
973
|
touch-action: none;
|
|
914
974
|
cursor: pointer;
|
|
915
975
|
white-space: nowrap;
|
|
@@ -935,7 +995,7 @@ border-width: 0;
|
|
|
935
995
|
line-height: 0;
|
|
936
996
|
font-size: ${u.font_size_200};
|
|
937
997
|
}
|
|
938
|
-
`,
|
|
998
|
+
`,Q$=D(pn)`
|
|
939
999
|
background: ${u.color_fill_primary_enabled};
|
|
940
1000
|
color: ${u.color_white};
|
|
941
1001
|
|
|
@@ -952,7 +1012,7 @@ border-width: 0;
|
|
|
952
1012
|
background: ${u.color_fill_primary_disabled};
|
|
953
1013
|
color: ${u.color_fill_inverse_pressed};
|
|
954
1014
|
}
|
|
955
|
-
`,
|
|
1015
|
+
`,e_=D(pn)`
|
|
956
1016
|
background: ${u.color_fill_secondary_enabled};
|
|
957
1017
|
color: ${u.color_fill_primary_enabled};
|
|
958
1018
|
|
|
@@ -969,7 +1029,7 @@ border-width: 0;
|
|
|
969
1029
|
&:disabled {
|
|
970
1030
|
background: ${u.color_fill_secondary_disabled};
|
|
971
1031
|
}
|
|
972
|
-
`,
|
|
1032
|
+
`,t_=D(pn)`
|
|
973
1033
|
background: ${u.color_fill_danger_enabled};
|
|
974
1034
|
color: ${u.color_white};
|
|
975
1035
|
|
|
@@ -986,7 +1046,7 @@ border-width: 0;
|
|
|
986
1046
|
&:disabled {
|
|
987
1047
|
background: ${u.color_fill_danger_disabled};
|
|
988
1048
|
}
|
|
989
|
-
`,
|
|
1049
|
+
`,r_=D(pn)`
|
|
990
1050
|
background: ${u.color_white};
|
|
991
1051
|
|
|
992
1052
|
&:hover {
|
|
@@ -1000,11 +1060,156 @@ border-width: 0;
|
|
|
1000
1060
|
&:disabled {
|
|
1001
1061
|
background: ${u.color_fill_inverse_disabled};
|
|
1002
1062
|
}
|
|
1003
|
-
`,
|
|
1063
|
+
`,n_={primary:Q$,secondary:e_,danger:t_,inverse:r_},ta=l.forwardRef((e,t)=>{const r=nt(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:s=!1,onClick:c,autoFocus:d,children:f,...p}=e,{buttonProps:b,isPressed:m}=zo({onPress:c,isDisabled:s,autoFocus:d,...p},r),{isFocusVisible:h,focusProps:g}=Jr({autoFocus:d}),_=[h?"focused":void 0,m?"pressed":void 0].filter(Boolean).join(" "),E=n_[a],y=Bd[i],A=ea[o];return C(E,{ref:r,"data-state":_,...b,...g,style:{"--icon-button-size":A,"--icon-button-border-radius":y},children:C(Xt,{label:n,children:f})})});ta.displayName="Button";const o_=D.div`
|
|
1064
|
+
position: relative;
|
|
1065
|
+
border-radius: ${u.border_radius_400};
|
|
1066
|
+
border: 1px dashed ${u.color_fill_secondary_enabled};
|
|
1067
|
+
padding: 12px;
|
|
1068
|
+
transition-duration: ${u.transition_duration_150};
|
|
1069
|
+
transition-property: ${u.transition_property_color};
|
|
1070
|
+
outline-offset: 2px;
|
|
1071
|
+
outline-color: ${u.color_black};
|
|
1072
|
+
|
|
1073
|
+
&:hover {
|
|
1074
|
+
border-color: ${u.color_fill_secondary_hover};
|
|
1075
|
+
background-color: ${u.color_background_white_weak};
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
&:active {
|
|
1079
|
+
border-color: ${u.color_fill_secondary_enabled};
|
|
1080
|
+
background-color: ${u.color_background_white_strong};
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
&[data-state~='dropping'] {
|
|
1084
|
+
border-color: ${u.color_outline_secondary_selected_pressed};
|
|
1085
|
+
}
|
|
1086
|
+
`,a_=D.div`
|
|
1087
|
+
border-radius: ${u.border_radius_circle};
|
|
1088
|
+
display: grid;
|
|
1089
|
+
place-content: center;
|
|
1090
|
+
width: 40px;
|
|
1091
|
+
height: 40px;
|
|
1092
|
+
box-shadow: ${u.elevation_interactive_low};
|
|
1093
|
+
color: ${u.color_text_weak};
|
|
1094
|
+
|
|
1095
|
+
& > svg {
|
|
1096
|
+
font-size: 1rem;
|
|
1097
|
+
}
|
|
1098
|
+
`,i_=D.div`
|
|
1099
|
+
display: flex;
|
|
1100
|
+
gap: ${u.sizing_200};
|
|
1101
|
+
`,s_=D.div`
|
|
1102
|
+
display: flex;
|
|
1103
|
+
gap: ${u.sizing_500};
|
|
1104
|
+
justify-content: space-between;
|
|
1105
|
+
align-items: center;
|
|
1106
|
+
`,l_=D.div`
|
|
1107
|
+
display: flex;
|
|
1108
|
+
flex-direction: column;
|
|
1109
|
+
gap: ${u.sizing_100};
|
|
1110
|
+
`,c_=D.footer`
|
|
1111
|
+
margin-top: ${u.spacing_300};
|
|
1112
|
+
display: flex;
|
|
1113
|
+
justify-content: flex-end;
|
|
1114
|
+
gap: ${u.sizing_200};
|
|
1115
|
+
`,u_=D.label`
|
|
1116
|
+
cursor: pointer;
|
|
1117
|
+
text-decoration: underline;
|
|
1118
|
+
color: ${u.color_text_strong};
|
|
1119
|
+
font-weight: 500;
|
|
1120
|
+
|
|
1121
|
+
&:hover {
|
|
1122
|
+
text-decoration-thickness: 1.5px;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/* Make the full drop container trigger the <input type='file' /> */
|
|
1126
|
+
&::before {
|
|
1127
|
+
content: '';
|
|
1128
|
+
display: block;
|
|
1129
|
+
position: absolute;
|
|
1130
|
+
top: 0;
|
|
1131
|
+
bottom: 0;
|
|
1132
|
+
left: 0;
|
|
1133
|
+
right: 0;
|
|
1134
|
+
}
|
|
1135
|
+
`,d_=new Intl.ListFormat("en",{style:"long",type:"conjunction"}),Ud=l.forwardRef((e,t)=>{const{file:r,onAddFile:n,onDeleteFile:o,fileTypes:a=[{name:"CSV",mime:"text/csv"}]}=e,i=nt(t),s="file-uploader-file-input",{dropProps:c,isDropTarget:d}=A$({ref:i,onDrop:async p=>{const b=p.items.find(m=>m.kind==="file");if(b&&b.kind==="file"){const m=await b.getFile();n(m)}}}),f=p=>{var b;(b=p.target.files)!=null&&b[0]&&n(p.target.files[0])};return C(o_,{...c,role:"button",tabIndex:0,ref:i,"data-state":d?"dropping":"",children:r?oe(s_,{children:[C(Mt,{size:"large",children:r.name}),oe(Vs,{children:[C(js,{asChild:!0,children:C(ta,{label:"Remove file",size:"small",variant:"danger",children:C(_e.Delete,{})})}),oe(cc,{children:[C(Mt,{children:"Are you sure you want to remove this file?"}),oe(c_,{children:[C(Oo,{asChild:!0,children:C(or,{variant:"secondary",size:"small",children:"Cancel"})}),C(Oo,{asChild:!0,children:C(or,{variant:"danger",size:"small",onClick:o,children:"Confirm"})})]})]})]})]}):oe(i_,{children:[C(a_,{children:C(_e.CloudUpload,{})}),oe(l_,{children:[oe(Mt,{variant:"weak",children:["Drag and drop to upload, or"," ",C(u_,{htmlFor:s,children:"browse files"})]}),oe(Mt,{variant:"weak",size:"small",children:["Supported formats:"," ",d_.format(a.map(p=>p.name))]})]}),C("input",{onChange:f,type:"file",hidden:!0,id:s,accept:a.map(p=>p.mime).join(",")})]})})});Ud.displayName="FileUpload";const ra=D.h1`
|
|
1136
|
+
font-family: ${u.font_family_inter_display};
|
|
1137
|
+
font-weight: 500;
|
|
1138
|
+
font-style: normal;
|
|
1139
|
+
margin: 0;
|
|
1140
|
+
`,f_=D(ra)`
|
|
1141
|
+
letter-spacing: ${u.letter_spacing_heading_large};
|
|
1142
|
+
font-size: ${u.font_size_heading_large};
|
|
1143
|
+
`,p_=D(ra)`
|
|
1144
|
+
letter-spacing: ${u.letter_spacing_heading_medium};
|
|
1145
|
+
font-size: ${u.font_size_heading_medium};
|
|
1146
|
+
`,b_={small:D(ra)`
|
|
1147
|
+
letter-spacing: ${u.letter_spacing_heading_small};
|
|
1148
|
+
font-size: ${u.font_size_heading_small};
|
|
1149
|
+
`,medium:p_,large:f_},Wd=l.forwardRef((e,t)=>{const{children:r,as:n,size:o,...a}=e,i=b_[o];return C(i,{...a,ref:t,as:n,children:r})});Wd.displayName="Heading";function bn(e){const t=e+"CollectionProvider",[r,n]=xe(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:g}=m,v=l.useRef(null),$=l.useRef(new Map).current;return l.createElement(o,{scope:h,itemMap:$,collectionRef:v},g)},s=e+"CollectionSlot",c=l.forwardRef((m,h)=>{const{scope:g,children:v}=m,$=a(s,g),_=le(h,$.collectionRef);return l.createElement(mt,{ref:_},v)}),d=e+"CollectionItemSlot",f="data-radix-collection-item",p=l.forwardRef((m,h)=>{const{scope:g,children:v,...$}=m,_=l.useRef(null),E=le(h,_),y=a(d,g);return l.useEffect(()=>(y.itemMap.set(_,{ref:_,...$}),()=>void y.itemMap.delete(_))),l.createElement(mt,{[f]:"",ref:E},v)});function b(m){const h=a(e+"CollectionConsumer",m);return l.useCallback(()=>{const v=h.collectionRef.current;if(!v)return[];const $=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(h.itemMap.values()).sort((y,A)=>$.indexOf(y.ref.current)-$.indexOf(A.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:c,ItemSlot:p},b,n]}const m_=l.createContext(void 0);function dr(e){const t=l.useContext(m_);return e||t||"ltr"}const na="rovingFocusGroup.onEntryFocus",g_={bubbles:!1,cancelable:!0},oa="RovingFocusGroup",[aa,Hd,h_]=bn(oa),[v_,Gd]=xe(oa,[h_]),[y_,$_]=v_(oa),__=l.forwardRef((e,t)=>l.createElement(aa.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(aa.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(x_,S({},e,{ref:t}))))),x_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=l.useRef(null),b=le(t,p),m=dr(a),[h=null,g]=Ce({prop:i,defaultProp:s,onChange:c}),[v,$]=l.useState(!1),_=we(d),E=Hd(r),y=l.useRef(!1),[A,L]=l.useState(0);return l.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(na,_),()=>P.removeEventListener(na,_)},[_]),l.createElement(y_,{scope:r,orientation:n,dir:m,loop:o,currentTabStopId:h,onItemFocus:l.useCallback(P=>g(P),[g]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>L(P=>P+1),[]),onFocusableItemRemove:l.useCallback(()=>L(P=>P-1),[])},l.createElement(J.div,S({tabIndex:v||A===0?-1:0,"data-orientation":n},f,{ref:b,style:{outline:"none",...e.style},onMouseDown:U(e.onMouseDown,()=>{y.current=!0}),onFocus:U(e.onFocus,P=>{const N=!y.current;if(P.target===P.currentTarget&&N&&!v){const F=new CustomEvent(na,g_);if(P.currentTarget.dispatchEvent(F),!F.defaultPrevented){const G=E().filter(X=>X.focusable),k=G.find(X=>X.active),H=G.find(X=>X.id===h),T=[k,H,...G].filter(Boolean).map(X=>X.ref.current);qd(T)}}y.current=!1}),onBlur:U(e.onBlur,()=>$(!1))})))}),E_="RovingFocusGroupItem",w_=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...i}=e,s=Ae(),c=a||s,d=$_(E_,r),f=d.currentTabStopId===c,p=Hd(r),{onFocusableItemAdd:b,onFocusableItemRemove:m}=d;return l.useEffect(()=>{if(n)return b(),()=>m()},[n,b,m]),l.createElement(aa.ItemSlot,{scope:r,id:c,focusable:n,active:o},l.createElement(J.span,S({tabIndex:f?0:-1,"data-orientation":d.orientation},i,{ref:t,onMouseDown:U(e.onMouseDown,h=>{n?d.onItemFocus(c):h.preventDefault()}),onFocus:U(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:U(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){d.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const g=k_(h,d.orientation,d.dir);if(g!==void 0){h.preventDefault();let $=p().filter(_=>_.focusable).map(_=>_.ref.current);if(g==="last")$.reverse();else if(g==="prev"||g==="next"){g==="prev"&&$.reverse();const _=$.indexOf(h.currentTarget);$=d.loop?P_($,_+1):$.slice(_+1)}setTimeout(()=>qd($))}})})))}),T_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S_(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function k_(e,t,r){const n=S_(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return T_[n]}function qd(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function P_(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const C_=__,D_=w_,Yd="Tabs",[I_,ZS]=xe(Yd,[Gd]),Xd=Gd(),[O_,ia]=I_(Yd),A_=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:c="automatic",...d}=e,f=dr(s),[p,b]=Ce({prop:n,onChange:o,defaultProp:a});return l.createElement(O_,{scope:r,baseId:Ae(),value:p,onValueChange:b,orientation:i,dir:f,activationMode:c},l.createElement(J.div,S({dir:f,"data-orientation":i},d,{ref:t})))}),N_="TabsList",z_=l.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,a=ia(N_,r),i=Xd(r);return l.createElement(C_,S({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),l.createElement(J.div,S({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),L_="TabsTrigger",M_=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=ia(L_,r),s=Xd(r),c=Zd(i.baseId,n),d=Jd(i.baseId,n),f=n===i.value;return l.createElement(D_,S({asChild:!0},s,{focusable:!o,active:f}),l.createElement(J.button,S({type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c},a,{ref:t,onMouseDown:U(e.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?i.onValueChange(n):p.preventDefault()}),onKeyDown:U(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&i.onValueChange(n)}),onFocus:U(e.onFocus,()=>{const p=i.activationMode!=="manual";!f&&!o&&p&&i.onValueChange(n)})})))}),F_="TabsContent",V_=l.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=ia(F_,r),c=Zd(s.baseId,n),d=Jd(s.baseId,n),f=n===s.value,p=l.useRef(f);return l.useEffect(()=>{const b=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(b)},[]),l.createElement(De,{present:o||f},({present:b})=>l.createElement(J.div,S({"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!b,id:d,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0}}),b&&a))});function Zd(e,t){return`${e}-trigger-${t}`}function Jd(e,t){return`${e}-content-${t}`}const j_=A_,R_=z_,K_=M_,B_=V_,U_=D(j_)`
|
|
1150
|
+
display: flex;
|
|
1151
|
+
flex-direction: column;
|
|
1152
|
+
font-family: ${u.font_family_sans};
|
|
1153
|
+
`,W_=D(R_)`
|
|
1154
|
+
flex-shrink: 0;
|
|
1155
|
+
display: flex;
|
|
1156
|
+
`,Qd=D(K_)`
|
|
1157
|
+
all: unset;
|
|
1158
|
+
font-family: inherit;
|
|
1159
|
+
color: ${u.color_text_weak};
|
|
1160
|
+
font-size: ${u.font_size_100};
|
|
1161
|
+
line-height: ${u.line_height_114};
|
|
1162
|
+
flex: 1;
|
|
1163
|
+
background-color: ${u.color_background_white_standard};
|
|
1164
|
+
border-bottom: 2px solid ${u.color_outline_secondary_enabled};
|
|
1165
|
+
padding: 18px 32px;
|
|
1166
|
+
align-items: center;
|
|
1167
|
+
justify-content: center;
|
|
1168
|
+
text-align: center;
|
|
1169
|
+
white-space: nowrap;
|
|
1170
|
+
overflow-x: hidden;
|
|
1171
|
+
text-overflow: ellipsis;
|
|
1172
|
+
touch-action: none;
|
|
1173
|
+
user-select: none;
|
|
1174
|
+
-webkit-tap-highlight-color: transparent;
|
|
1175
|
+
transition: ${u.transition_duration_200} background-color;
|
|
1176
|
+
/* transition: ${u.transition_duration_200} ${u.transition_property_color}; */
|
|
1177
|
+
|
|
1178
|
+
&:hover {
|
|
1179
|
+
background-color: ${u.color_overlay_secondary_hover};
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
&[data-state='active'] {
|
|
1183
|
+
outline: 1px solid ${u.color_outline_secondary_enabled} 1px;
|
|
1184
|
+
color: ${u.color_text_strong};
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
&:focus-visible {
|
|
1188
|
+
position: relative;
|
|
1189
|
+
box-shadow: 0 0 0 1px ${u.color_black};
|
|
1190
|
+
}
|
|
1191
|
+
`,H_=D(Qd)`
|
|
1192
|
+
display: flex;
|
|
1193
|
+
align-items: center;
|
|
1194
|
+
gap: ${u.sizing_200};
|
|
1195
|
+
|
|
1196
|
+
& > svg {
|
|
1197
|
+
font-size: 1rem;
|
|
1198
|
+
}
|
|
1199
|
+
`,G_=D(B_)`
|
|
1200
|
+
flex-grow: 1;
|
|
1201
|
+
padding: ${u.sizing_450};
|
|
1202
|
+
background-color: white;
|
|
1203
|
+
outline: none;
|
|
1204
|
+
|
|
1205
|
+
&:focus {
|
|
1206
|
+
box-shadow: ${u.elevation_interactive_low};
|
|
1207
|
+
}
|
|
1208
|
+
`,sa="horizontal",q_=["horizontal","vertical"],ef=l.forwardRef((e,t)=>{const{decorative:r,orientation:n=sa,...o}=e,a=tf(n)?n:sa,s=r?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.createElement(J.div,S({"data-orientation":a},s,o,{ref:t}))});ef.propTypes={orientation(e,t,r){const n=e[t],o=String(n);return n&&!tf(n)?new Error(Y_(o,r)):null}};function Y_(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:
|
|
1004
1209
|
- horizontal
|
|
1005
1210
|
- vertical
|
|
1006
1211
|
|
|
1007
|
-
Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;function jo(e){const t=e+"CollectionProvider",[r,n]=Pe(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:g,children:m}=h,_=l.useRef(null),$=l.useRef(new Map).current;return l.createElement(o,{scope:g,itemMap:$,collectionRef:_},m)},s=e+"CollectionSlot",c=l.forwardRef((h,g)=>{const{scope:m,children:_}=h,$=i(s,m),y=se(g,$.collectionRef);return l.createElement(dt,{ref:y},_)}),d=e+"CollectionItemSlot",f="data-radix-collection-item",p=l.forwardRef((h,g)=>{const{scope:m,children:_,...$}=h,y=l.useRef(null),E=se(g,y),v=i(d,m);return l.useEffect(()=>(v.itemMap.set(y,{ref:y,...$}),()=>void v.itemMap.delete(y))),l.createElement(dt,{[f]:"",ref:E},_)});function b(h){const g=i(e+"CollectionConsumer",h);return l.useCallback(()=>{const _=g.collectionRef.current;if(!_)return[];const $=Array.from(_.querySelectorAll(`[${f}]`));return Array.from(g.itemMap.values()).sort((v,A)=>$.indexOf(v.ref.current)-$.indexOf(A.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},b,n]}const Fu="ToastProvider",[Bo,f_,p_]=jo("Toast"),[Ru,DE]=Pe("Toast",[p_]),[h_,nn]=Ru(Fu),zu=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(Bo.Provider,{scope:t},l.createElement(h_,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(h=>h+1),[]),onToastRemove:l.useCallback(()=>f(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},a))};zu.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${Fu}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const m_="ToastViewport",b_=["F8"],Wo="toast.viewportPause",Uo="toast.viewportResume",g_=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=b_,label:o="Notifications ({hotkey})",...i}=e,a=nn(m_,r),s=f_(r),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=l.useRef(null),b=se(t,p,a.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=a.toastCount>0;l.useEffect(()=>{const _=$=>{var y;n.every(v=>$[v]||$.code===v)&&((y=p.current)===null||y===void 0||y.focus())};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[n]),l.useEffect(()=>{const _=c.current,$=p.current;if(g&&_&&$){const y=()=>{if(!a.isClosePausedRef.current){const L=new CustomEvent(Wo);$.dispatchEvent(L),a.isClosePausedRef.current=!0}},E=()=>{if(a.isClosePausedRef.current){const L=new CustomEvent(Uo);$.dispatchEvent(L),a.isClosePausedRef.current=!1}},v=L=>{!_.contains(L.relatedTarget)&&E()},A=()=>{_.contains(document.activeElement)||E()};return _.addEventListener("focusin",y),_.addEventListener("focusout",v),_.addEventListener("pointermove",y),_.addEventListener("pointerleave",A),window.addEventListener("blur",y),window.addEventListener("focus",E),()=>{_.removeEventListener("focusin",y),_.removeEventListener("focusout",v),_.removeEventListener("pointermove",y),_.removeEventListener("pointerleave",A),window.removeEventListener("blur",y),window.removeEventListener("focus",E)}}},[g,a.isClosePausedRef]);const m=l.useCallback(({tabbingDirection:_})=>{const y=s().map(E=>{const v=E.ref.current,A=[v,...I_(v)];return _==="forwards"?A:A.reverse()});return(_==="forwards"?y.reverse():y).flat()},[s]);return l.useEffect(()=>{const _=p.current;if(_){const $=y=>{const E=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!E){const M=document.activeElement,F=y.shiftKey;if(y.target===_&&F){var A;(A=d.current)===null||A===void 0||A.focus();return}const q=m({tabbingDirection:F?"backwards":"forwards"}),D=q.findIndex(P=>P===M);if(Ko(q.slice(D+1)))y.preventDefault();else{var L,T;F?(L=d.current)===null||L===void 0||L.focus():(T=f.current)===null||T===void 0||T.focus()}}};return _.addEventListener("keydown",$),()=>_.removeEventListener("keydown",$)}},[s,m]),l.createElement(th,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"}},g&&l.createElement(Vu,{ref:d,onFocusFromOutsideViewport:()=>{const _=m({tabbingDirection:"forwards"});Ko(_)}}),l.createElement(Bo.Slot,{scope:r},l.createElement(te.ol,C({tabIndex:-1},i,{ref:b}))),g&&l.createElement(Vu,{ref:f,onFocusFromOutsideViewport:()=>{const _=m({tabbingDirection:"backwards"});Ko(_)}}))}),v_="ToastFocusProxy",Vu=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,i=nn(v_,r);return l.createElement(Cr,C({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const c=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(c))&&n()}}))}),on="Toast",__="toast.swipeStart",y_="toast.swipeMove",$_="toast.swipeCancel",x_="toast.swipeEnd",w_=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,c]=Ne({prop:n,defaultProp:o,onChange:i});return l.createElement(ke,{present:r||s},l.createElement(ju,C({open:s},a,{ref:t,onClose:()=>c(!1),onPause:Se(e.onPause),onResume:Se(e.onResume),onSwipeStart:H(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:H(e.onSwipeMove,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:H(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:H(e.onSwipeEnd,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[E_,P_]=Ru(on,{onClose(){}}),ju=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:h,...g}=e,m=nn(on,r),[_,$]=l.useState(null),y=se(t,P=>$(P)),E=l.useRef(null),v=l.useRef(null),A=o||m.duration,L=l.useRef(0),T=l.useRef(A),M=l.useRef(0),{onToastAdd:F,onToastRemove:G}=m,S=Se(()=>{var P;(_==null?void 0:_.contains(document.activeElement))&&((P=m.viewport)===null||P===void 0||P.focus()),a()}),q=l.useCallback(P=>{!P||P===1/0||(window.clearTimeout(M.current),L.current=new Date().getTime(),M.current=window.setTimeout(S,P))},[S]);l.useEffect(()=>{const P=m.viewport;if(P){const ee=()=>{q(T.current),d==null||d()},Q=()=>{const de=new Date().getTime()-L.current;T.current=T.current-de,window.clearTimeout(M.current),c==null||c()};return P.addEventListener(Wo,Q),P.addEventListener(Uo,ee),()=>{P.removeEventListener(Wo,Q),P.removeEventListener(Uo,ee)}}},[m.viewport,A,c,d,q]),l.useEffect(()=>{i&&!m.isClosePausedRef.current&&q(A)},[i,A,m.isClosePausedRef,q]),l.useEffect(()=>(F(),()=>G()),[F,G]);const D=l.useMemo(()=>_?Ku(_):null,[_]);return m.viewport?l.createElement(l.Fragment,null,D&&l.createElement(S_,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},D),l.createElement(E_,{scope:r,onClose:S},ut.createPortal(l.createElement(Bo.ItemSlot,{scope:r},l.createElement(eh,{asChild:!0,onEscapeKeyDown:H(s,()=>{m.isFocusedToastEscapeKeyDownRef.current||S(),m.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(te.li,C({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection},g,{ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:H(e.onKeyDown,P=>{P.key==="Escape"&&(s==null||s(P.nativeEvent),P.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,S()))}),onPointerDown:H(e.onPointerDown,P=>{P.button===0&&(E.current={x:P.clientX,y:P.clientY})}),onPointerMove:H(e.onPointerMove,P=>{if(!E.current)return;const ee=P.clientX-E.current.x,Q=P.clientY-E.current.y,de=Boolean(v.current),fe=["left","right"].includes(m.swipeDirection),J=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,w=fe?J(0,ee):0,N=fe?0:J(0,Q),B=P.pointerType==="touch"?10:2,j={x:w,y:N},V={originalEvent:P,delta:j};de?(v.current=j,an(y_,p,V,{discrete:!1})):Hu(j,m.swipeDirection,B)?(v.current=j,an(__,f,V,{discrete:!1}),P.target.setPointerCapture(P.pointerId)):(Math.abs(ee)>B||Math.abs(Q)>B)&&(E.current=null)}),onPointerUp:H(e.onPointerUp,P=>{const ee=v.current,Q=P.target;if(Q.hasPointerCapture(P.pointerId)&&Q.releasePointerCapture(P.pointerId),v.current=null,E.current=null,ee){const de=P.currentTarget,fe={originalEvent:P,delta:ee};Hu(ee,m.swipeDirection,m.swipeThreshold)?an(x_,h,fe,{discrete:!0}):an($_,b,fe,{discrete:!0}),de.addEventListener("click",J=>J.preventDefault(),{once:!0})}})})))),m.viewport))):null});ju.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${on}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const S_=e=>{const{__scopeToast:t,children:r,...n}=e,o=nn(on,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return k_(()=>a(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Gt,{asChild:!0},l.createElement(Cr,n,i&&l.createElement(l.Fragment,null,o.label," ",r)))},C_=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(te.div,C({},n,{ref:t}))}),T_="ToastAction",Bu=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(Uu,{altText:r,asChild:!0},l.createElement(Wu,C({},n,{ref:t}))):null});Bu.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${T_}\``)}};const O_="ToastClose",Wu=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=P_(O_,r);return l.createElement(Uu,{asChild:!0},l.createElement(te.button,C({type:"button"},n,{ref:t,onClick:H(e.onClick,o.onClose)})))}),Uu=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(te.div,C({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function Ku(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),D_(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=n.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Ku(n))}}),t}function an(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ca(o,i):o.dispatchEvent(i)}const Hu=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function k_(e=()=>{}){const t=Se(e);ye(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function D_(e){return e.nodeType===e.ELEMENT_NODE}function I_(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 Ko(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const A_=zu,N_=g_,M_=w_,L_=C_,F_=Bu,R_=Wu,Ho=25,z_=I.keyframes`
|
|
1212
|
+
Defaulting to \`${sa}\`.`}function tf(e){return q_.includes(e)}const X_=ef,rf="ToastProvider",[la,Z_,J_]=bn("Toast"),[nf,JS]=xe("Toast",[J_]),[Q_,mn]=nf(rf),of=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:i}=e,[s,c]=l.useState(null),[d,f]=l.useState(0),p=l.useRef(!1),b=l.useRef(!1);return l.createElement(la.Provider,{scope:t},l.createElement(Q_,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:s,onViewportChange:c,onToastAdd:l.useCallback(()=>f(m=>m+1),[]),onToastRemove:l.useCallback(()=>f(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:b},i))};of.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${rf}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const ex="ToastViewport",tx=["F8"],ca="toast.viewportPause",ua="toast.viewportResume",rx=l.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=tx,label:o="Notifications ({hotkey})",...a}=e,i=mn(ex,r),s=Z_(r),c=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=l.useRef(null),b=le(t,p,i.onViewportChange),m=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=i.toastCount>0;l.useEffect(()=>{const v=$=>{var _;n.every(y=>$[y]||$.code===y)&&((_=p.current)===null||_===void 0||_.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),l.useEffect(()=>{const v=c.current,$=p.current;if(h&&v&&$){const _=()=>{if(!i.isClosePausedRef.current){const L=new CustomEvent(ca);$.dispatchEvent(L),i.isClosePausedRef.current=!0}},E=()=>{if(i.isClosePausedRef.current){const L=new CustomEvent(ua);$.dispatchEvent(L),i.isClosePausedRef.current=!1}},y=L=>{!v.contains(L.relatedTarget)&&E()},A=()=>{v.contains(document.activeElement)||E()};return v.addEventListener("focusin",_),v.addEventListener("focusout",y),v.addEventListener("pointermove",_),v.addEventListener("pointerleave",A),window.addEventListener("blur",_),window.addEventListener("focus",E),()=>{v.removeEventListener("focusin",_),v.removeEventListener("focusout",y),v.removeEventListener("pointermove",_),v.removeEventListener("pointerleave",A),window.removeEventListener("blur",_),window.removeEventListener("focus",E)}}},[h,i.isClosePausedRef]);const g=l.useCallback(({tabbingDirection:v})=>{const _=s().map(E=>{const y=E.ref.current,A=[y,...hx(y)];return v==="forwards"?A:A.reverse()});return(v==="forwards"?_.reverse():_).flat()},[s]);return l.useEffect(()=>{const v=p.current;if(v){const $=_=>{const E=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!E){const N=document.activeElement,F=_.shiftKey;if(_.target===v&&F){var A;(A=d.current)===null||A===void 0||A.focus();return}const H=g({tabbingDirection:F?"backwards":"forwards"}),O=H.findIndex(T=>T===N);if(da(H.slice(O+1)))_.preventDefault();else{var L,P;F?(L=d.current)===null||L===void 0||L.focus():(P=f.current)===null||P===void 0||P.focus()}}};return v.addEventListener("keydown",$),()=>v.removeEventListener("keydown",$)}},[s,g]),l.createElement(ym,{ref:c,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"}},h&&l.createElement(af,{ref:d,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"forwards"});da(v)}}),l.createElement(la.Slot,{scope:r},l.createElement(J.ol,S({tabIndex:-1},a,{ref:b}))),h&&l.createElement(af,{ref:f,onFocusFromOutsideViewport:()=>{const v=g({tabbingDirection:"backwards"});da(v)}}))}),nx="ToastFocusProxy",af=l.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=mn(nx,r);return l.createElement(Nr,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()}}))}),gn="Toast",ox="toast.swipeStart",ax="toast.swipeMove",ix="toast.swipeCancel",sx="toast.swipeEnd",lx=l.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:a,...i}=e,[s=!0,c]=Ce({prop:n,defaultProp:o,onChange:a});return l.createElement(De,{present:r||s},l.createElement(sf,S({open:s},i,{ref:t,onClose:()=>c(!1),onPause:we(e.onPause),onResume:we(e.onResume),onSwipeStart:U(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:U(e.onSwipeMove,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:U(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:U(e.onSwipeEnd,d=>{const{x:f,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})))}),[cx,ux]=nf(gn,{onClose(){}}),sf=l.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:a,onClose:i,onEscapeKeyDown:s,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:b,onSwipeEnd:m,...h}=e,g=mn(gn,r),[v,$]=l.useState(null),_=le(t,T=>$(T)),E=l.useRef(null),y=l.useRef(null),A=o||g.duration,L=l.useRef(0),P=l.useRef(A),N=l.useRef(0),{onToastAdd:F,onToastRemove:G}=g,k=we(()=>{var T;(v==null?void 0:v.contains(document.activeElement))&&((T=g.viewport)===null||T===void 0||T.focus()),i()}),H=l.useCallback(T=>{!T||T===1/0||(window.clearTimeout(N.current),L.current=new Date().getTime(),N.current=window.setTimeout(k,T))},[k]);l.useEffect(()=>{const T=g.viewport;if(T){const X=()=>{H(P.current),d==null||d()},ee=()=>{const de=new Date().getTime()-L.current;P.current=P.current-de,window.clearTimeout(N.current),c==null||c()};return T.addEventListener(ca,ee),T.addEventListener(ua,X),()=>{T.removeEventListener(ca,ee),T.removeEventListener(ua,X)}}},[g.viewport,A,c,d,H]),l.useEffect(()=>{a&&!g.isClosePausedRef.current&&H(A)},[a,A,g.isClosePausedRef,H]),l.useEffect(()=>(F(),()=>G()),[F,G]);const O=l.useMemo(()=>v?df(v):null,[v]);return g.viewport?l.createElement(l.Fragment,null,O&&l.createElement(dx,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},O),l.createElement(cx,{scope:r,onClose:k},bt.createPortal(l.createElement(la.ItemSlot,{scope:r},l.createElement(vm,{asChild:!0,onEscapeKeyDown:U(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||k(),g.isFocusedToastEscapeKeyDownRef.current=!1})},l.createElement(J.li,S({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection},h,{ref:_,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:U(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:U(e.onPointerDown,T=>{T.button===0&&(E.current={x:T.clientX,y:T.clientY})}),onPointerMove:U(e.onPointerMove,T=>{if(!E.current)return;const X=T.clientX-E.current.x,ee=T.clientY-E.current.y,de=Boolean(y.current),ge=["left","right"].includes(g.swipeDirection),te=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,w=ge?te(0,X):0,z=ge?0:te(0,ee),K=T.pointerType==="touch"?10:2,j={x:w,y:z},R={originalEvent:T,delta:j};de?(y.current=j,hn(ax,p,R,{discrete:!1})):ff(j,g.swipeDirection,K)?(y.current=j,hn(ox,f,R,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(X)>K||Math.abs(ee)>K)&&(E.current=null)}),onPointerUp:U(e.onPointerUp,T=>{const X=y.current,ee=T.target;if(ee.hasPointerCapture(T.pointerId)&&ee.releasePointerCapture(T.pointerId),y.current=null,E.current=null,X){const de=T.currentTarget,ge={originalEvent:T,delta:X};ff(X,g.swipeDirection,g.swipeThreshold)?hn(sx,m,ge,{discrete:!0}):hn(ix,b,ge,{discrete:!0}),de.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})))),g.viewport))):null});sf.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${gn}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const dx=e=>{const{__scopeToast:t,children:r,...n}=e,o=mn(gn,t),[a,i]=l.useState(!1),[s,c]=l.useState(!1);return mx(()=>i(!0)),l.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),s?null:l.createElement(Yt,{asChild:!0},l.createElement(Nr,n,a&&l.createElement(l.Fragment,null,o.label," ",r)))},fx=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return l.createElement(J.div,S({},n,{ref:t}))}),px="ToastAction",lf=l.forwardRef((e,t)=>{const{altText:r,...n}=e;return r?l.createElement(uf,{altText:r,asChild:!0},l.createElement(cf,S({},n,{ref:t}))):null});lf.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${px}\``)}};const bx="ToastClose",cf=l.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=ux(bx,r);return l.createElement(uf,{asChild:!0},l.createElement(J.button,S({type:"button"},n,{ref:t,onClick:U(e.onClick,o.onClose)})))}),uf=l.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return l.createElement(J.div,S({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function df(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),gx(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(...df(n))}}),t}function hn(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?ki(o,a):o.dispatchEvent(a)}const ff=(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 mx(e=()=>{}){const t=we(e);Ee(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function gx(e){return e.nodeType===e.ELEMENT_NODE}function hx(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 da(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const vx=of,yx=rx,$x=lx,_x=fx,xx=lf,Ex=cf,fa=25,wx=D.keyframes`
|
|
1008
1213
|
0% {
|
|
1009
1214
|
opacity: 1
|
|
1010
1215
|
}
|
|
@@ -1012,24 +1217,24 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1012
1217
|
100% {
|
|
1013
1218
|
opacity: 0
|
|
1014
1219
|
}
|
|
1015
|
-
`,
|
|
1220
|
+
`,Tx=D.keyframes`
|
|
1016
1221
|
from {
|
|
1017
|
-
transform: translateX(calc(100% + ${
|
|
1222
|
+
transform: translateX(calc(100% + ${fa}px));
|
|
1018
1223
|
}
|
|
1019
1224
|
|
|
1020
1225
|
to {
|
|
1021
1226
|
transform: translateX(0);
|
|
1022
1227
|
}
|
|
1023
|
-
`,
|
|
1228
|
+
`,Sx=D.keyframes`
|
|
1024
1229
|
from {
|
|
1025
1230
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
1026
1231
|
}
|
|
1027
1232
|
to {
|
|
1028
|
-
transform: translateX(calc(100% + ${
|
|
1233
|
+
transform: translateX(calc(100% + ${fa}px));
|
|
1029
1234
|
}
|
|
1030
|
-
`,
|
|
1235
|
+
`,kx=D(xx)`
|
|
1031
1236
|
all: unset;
|
|
1032
|
-
`,
|
|
1237
|
+
`,pf=D(Ex)`
|
|
1033
1238
|
all: unset;
|
|
1034
1239
|
display: grid;
|
|
1035
1240
|
width: ${u.sizing_500};
|
|
@@ -1046,7 +1251,7 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1046
1251
|
& > svg {
|
|
1047
1252
|
font-size: 0.95rem;
|
|
1048
1253
|
}
|
|
1049
|
-
`,
|
|
1254
|
+
`,Px=D(_x)`
|
|
1050
1255
|
font-family: ${u.font_family_sans};
|
|
1051
1256
|
font-style: normal;
|
|
1052
1257
|
font-weight: 500;
|
|
@@ -1055,7 +1260,7 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1055
1260
|
letter-spacing: ${u.letter_spacing_tight};
|
|
1056
1261
|
display: flex;
|
|
1057
1262
|
align-items: center;
|
|
1058
|
-
`,
|
|
1263
|
+
`,bf=D(X_)`
|
|
1059
1264
|
background-color: var(--color-separator);
|
|
1060
1265
|
|
|
1061
1266
|
&[data-orientation='horizontal'] {
|
|
@@ -1069,20 +1274,20 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1069
1274
|
height: 100%;
|
|
1070
1275
|
width: 1;
|
|
1071
1276
|
}
|
|
1072
|
-
`,
|
|
1277
|
+
`,Cx={info:u.color_background_white_standard,inverse:u.color_background_sentiment_neutral,negative:u.color_background_sentiment_negative},Dx={info:u.color_text_standard,inverse:u.color_background_white_standard,negative:u.color_background_white_standard},Ix={info:u.color_divider_weak,inverse:u.color_divider_inverse_weak,negative:u.color_divider_inverse_weak},Ox=D(yx)`
|
|
1073
1278
|
position: fixed;
|
|
1074
1279
|
bottom: 0;
|
|
1075
1280
|
right: 0;
|
|
1076
1281
|
display: flex;
|
|
1077
1282
|
flex-direction: column;
|
|
1078
|
-
padding: ${
|
|
1283
|
+
padding: ${fa}px;
|
|
1079
1284
|
gap: 10px;
|
|
1080
1285
|
max-width: 100vw;
|
|
1081
1286
|
margin: 0;
|
|
1082
1287
|
list-style: none;
|
|
1083
1288
|
z-index: 30;
|
|
1084
1289
|
outline: none;
|
|
1085
|
-
`,
|
|
1290
|
+
`,Ax=D($x)`
|
|
1086
1291
|
display: flex;
|
|
1087
1292
|
flex-direction: row;
|
|
1088
1293
|
align-items: center;
|
|
@@ -1099,11 +1304,11 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1099
1304
|
}
|
|
1100
1305
|
|
|
1101
1306
|
&[data-state~='open'] {
|
|
1102
|
-
animation: ${
|
|
1307
|
+
animation: ${Tx} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1103
1308
|
}
|
|
1104
1309
|
|
|
1105
1310
|
&[data-state~='closed'] {
|
|
1106
|
-
animation: ${
|
|
1311
|
+
animation: ${wx} 100ms ease-in;
|
|
1107
1312
|
}
|
|
1108
1313
|
|
|
1109
1314
|
&[data-swipe='move'] {
|
|
@@ -1116,17 +1321,16 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1116
1321
|
}
|
|
1117
1322
|
|
|
1118
1323
|
&[data-swipe='end'] {
|
|
1119
|
-
animation: ${
|
|
1324
|
+
animation: ${Sx} 100ms ease-out;
|
|
1120
1325
|
}
|
|
1121
|
-
`;function
|
|
1326
|
+
`;function Nx({children:e,...t}){return C(vx,{...t,children:e})}function zx({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=Cx[r],i=Dx[r],s=Ix[r];return oe(Ax,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?C(_e.Warning,{height:18}):null,C(Px,{children:e}),C(bf,{style:{"--color-separator":s}}),t,C(pf,{onClick:n,children:C(Xt,{label:"Dismiss notification",children:C(_e.Close,{width:18,height:18})})})]})}const mf=D.div`
|
|
1122
1327
|
display: grid;
|
|
1123
1328
|
grid-template-columns: 1fr 1fr repeat(8, minmax(0, 150px)) 1fr 1fr;
|
|
1124
1329
|
column-gap: ${u.sizing_600};
|
|
1125
|
-
|
|
1126
|
-
`,Xu=I.div`
|
|
1330
|
+
`,gf=D.div`
|
|
1127
1331
|
grid-column: 3 / 11;
|
|
1128
1332
|
padding-top: ${u.sizing_450};
|
|
1129
|
-
`;function
|
|
1333
|
+
`;function Lx({children:e}){return C(mf,{children:C(gf,{children:e})})}const hf=D(or)`
|
|
1130
1334
|
display: grid;
|
|
1131
1335
|
place-content: center;
|
|
1132
1336
|
border-radius: ${u.border_radius_400};
|
|
@@ -1142,15 +1346,15 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1142
1346
|
line-height: 0;
|
|
1143
1347
|
font-size: ${u.font_size_200};
|
|
1144
1348
|
}
|
|
1145
|
-
`,
|
|
1349
|
+
`,vn=l.forwardRef((e,t)=>{const{direction:r,label:n=r==="left"?"Previous":"Next",...o}=e,a=r==="left"?C(_e.NavigateBefore,{}):C(_e.NavigateNext,{});return C(hf,{variant:"inverse",emphasis:"high",ref:t,...o,children:C(Xt,{label:n,children:a})})});vn.displayName="PaginatorButton";const Mx=D(hf)`
|
|
1146
1350
|
&[aria-current='true'] {
|
|
1147
1351
|
background-color: ${u.color_overlay_secondary_selected_enabled};
|
|
1148
1352
|
}
|
|
1149
|
-
`,
|
|
1353
|
+
`,yn=l.forwardRef((e,t)=>{const{children:r,...n}=e;return C(Mx,{variant:"inverse",emphasis:"high",ref:t,...n,children:r})});yn.displayName="PaginatorNumber";const Fx=D.nav`
|
|
1150
1354
|
display: flex;
|
|
1151
1355
|
gap: 4px;
|
|
1152
1356
|
width: min-content;
|
|
1153
|
-
`;function
|
|
1357
|
+
`;function Vx({nrOfPages:e,currentPage:t,onPrevious:r,onClick:n,onNext:o,className:a,ariaLabel:i="Pagination Navigation"}){const s=Array.from({length:e},(m,h)=>h),c=6;let d=s;const f=c-1;if(e>5){const m=e-1;t>e-f?d=[0,-1,...s.slice(-f)]:t+1<f?d=[...s.slice(0,f),-1,m]:d=[0,-1,...d.slice(t-1,t),t,...d.slice(t+1,t+2),-1,m]}const p=t===0,b=t===e-1;return oe(Fx,{"aria-label":i,className:a,children:[C(vn,{direction:"left",label:"Previous",disabled:p,onClick:p?void 0:r}),d.map((m,h)=>m>-1?C(yn,{"aria-current":m===t,"aria-label":`Page ${m+1}`,onClick:()=>n(m),children:m+1},m):C(yn,{as:"span",children:"..."},`${m}-${h}`)),C(vn,{direction:"right",label:"Next",title:"next",disabled:b,onClick:b?void 0:o})]})}const pa="rovingFocusGroup.onEntryFocus",jx={bubbles:!1,cancelable:!0},ba="RovingFocusGroup",[ma,vf,Rx]=bn(ba),[Kx,yf]=xe(ba,[Rx]),[Bx,Ux]=Kx(ba),Wx=l.forwardRef((e,t)=>l.createElement(ma.Provider,{scope:e.__scopeRovingFocusGroup},l.createElement(ma.Slot,{scope:e.__scopeRovingFocusGroup},l.createElement(Hx,S({},e,{ref:t}))))),Hx=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:d,...f}=e,p=l.useRef(null),b=le(t,p),m=dr(a),[h=null,g]=Ce({prop:i,defaultProp:s,onChange:c}),[v,$]=l.useState(!1),_=we(d),E=vf(r),y=l.useRef(!1),[A,L]=l.useState(0);return l.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(pa,_),()=>P.removeEventListener(pa,_)},[_]),l.createElement(Bx,{scope:r,orientation:n,dir:m,loop:o,currentTabStopId:h,onItemFocus:l.useCallback(P=>g(P),[g]),onItemShiftTab:l.useCallback(()=>$(!0),[]),onFocusableItemAdd:l.useCallback(()=>L(P=>P+1),[]),onFocusableItemRemove:l.useCallback(()=>L(P=>P-1),[])},l.createElement(J.div,S({tabIndex:v||A===0?-1:0,"data-orientation":n},f,{ref:b,style:{outline:"none",...e.style},onMouseDown:U(e.onMouseDown,()=>{y.current=!0}),onFocus:U(e.onFocus,P=>{const N=!y.current;if(P.target===P.currentTarget&&N&&!v){const F=new CustomEvent(pa,jx);if(P.currentTarget.dispatchEvent(F),!F.defaultPrevented){const G=E().filter(X=>X.focusable),k=G.find(X=>X.active),H=G.find(X=>X.id===h),T=[k,H,...G].filter(Boolean).map(X=>X.ref.current);$f(T)}}y.current=!1}),onBlur:U(e.onBlur,()=>$(!1))})))}),Gx="RovingFocusGroupItem",qx=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,...a}=e,i=Ae(),s=Ux(Gx,r),c=s.currentTabStopId===i,d=vf(r),{onFocusableItemAdd:f,onFocusableItemRemove:p}=s;return l.useEffect(()=>{if(n)return f(),()=>p()},[n,f,p]),l.createElement(ma.ItemSlot,{scope:r,id:i,focusable:n,active:o},l.createElement(J.span,S({tabIndex:c?0:-1,"data-orientation":s.orientation},a,{ref:t,onMouseDown:U(e.onMouseDown,b=>{n?s.onItemFocus(i):b.preventDefault()}),onFocus:U(e.onFocus,()=>s.onItemFocus(i)),onKeyDown:U(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){s.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const m=Zx(b,s.orientation,s.dir);if(m!==void 0){b.preventDefault();let g=d().filter(v=>v.focusable).map(v=>v.ref.current);if(m==="last")g.reverse();else if(m==="prev"||m==="next"){m==="prev"&&g.reverse();const v=g.indexOf(b.currentTarget);g=s.loop?Jx(g,v+1):g.slice(v+1)}setTimeout(()=>$f(g))}})})))}),Yx={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Xx(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Zx(e,t,r){const n=Xx(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Yx[n]}function $f(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function Jx(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const Qx=Wx,e1=qx,_f="Radio",[t1,xf]=xe(_f),[r1,n1]=t1(_f),o1=l.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:a,disabled:i,value:s="on",onCheck:c,...d}=e,[f,p]=l.useState(null),b=le(t,g=>p(g)),m=l.useRef(!1),h=f?Boolean(f.closest("form")):!0;return l.createElement(r1,{scope:r,checked:o,disabled:i},l.createElement(J.button,S({type:"button",role:"radio","aria-checked":o,"data-state":Ef(o),"data-disabled":i?"":void 0,disabled:i,value:s},d,{ref:b,onClick:U(e.onClick,g=>{o||c==null||c(),h&&(m.current=g.isPropagationStopped(),m.current||g.stopPropagation())})})),h&&l.createElement(s1,{control:f,bubbles:!m.current,name:n,value:s,checked:o,required:a,disabled:i,style:{transform:"translateX(-100%)"}}))}),a1="RadioIndicator",i1=l.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,a=n1(a1,r);return l.createElement(De,{present:n||a.checked},l.createElement(J.span,S({"data-state":Ef(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),s1=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=tn(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[i,r,n]),l.createElement("input",S({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 Ef(e){return e?"checked":"unchecked"}const l1=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],wf="RadioGroup",[c1,QS]=xe(wf,[yf,xf]),Tf=yf(),Sf=xf(),[u1,d1]=c1(wf),f1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:a,required:i=!1,disabled:s=!1,orientation:c,dir:d,loop:f=!0,onValueChange:p,...b}=e,m=Tf(r),h=dr(d),[g,v]=Ce({prop:a,defaultProp:o,onChange:p});return l.createElement(u1,{scope:r,name:n,required:i,disabled:s,value:g,onValueChange:v},l.createElement(Qx,S({asChild:!0},m,{orientation:c,dir:h,loop:f}),l.createElement(J.div,S({role:"radiogroup","aria-required":i,"aria-orientation":c,"data-disabled":s?"":void 0,dir:h},b,{ref:t}))))}),p1="RadioGroupItem",b1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,a=d1(p1,r),i=a.disabled||n,s=Tf(r),c=Sf(r),d=l.useRef(null),f=le(t,d),p=a.value===o.value,b=l.useRef(!1);return l.useEffect(()=>{const m=g=>{l1.includes(g.key)&&(b.current=!0)},h=()=>b.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",h)}},[]),l.createElement(e1,S({asChild:!0},s,{focusable:!i,active:p}),l.createElement(o1,S({disabled:i,required:a.required,checked:p},c,o,{name:a.name,ref:f,onCheck:()=>a.onValueChange(o.value),onKeyDown:U(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:U(o.onFocus,()=>{var m;b.current&&((m=d.current)===null||m===void 0||m.click())})})))}),m1=l.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Sf(r);return l.createElement(i1,S({},o,n,{ref:t}))}),g1=f1,h1=b1,v1=m1,kf=D(h1)`
|
|
1154
1358
|
all: unset;
|
|
1155
1359
|
--radio-width: ${u.sizing_600};
|
|
1156
1360
|
--inner-circle-color: ${u.color_white};
|
|
@@ -1209,7 +1413,7 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1209
1413
|
cursor: not-allowed;
|
|
1210
1414
|
color: ${u.color_fill_primary_disabled};
|
|
1211
1415
|
}
|
|
1212
|
-
`,
|
|
1416
|
+
`,Pf=D(v1)`
|
|
1213
1417
|
display: grid;
|
|
1214
1418
|
place-items: center;
|
|
1215
1419
|
width: 100%;
|
|
@@ -1240,7 +1444,7 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1240
1444
|
border-radius: ${u.border_radius_circle};
|
|
1241
1445
|
background-color: var(--inner-circle-color);
|
|
1242
1446
|
}
|
|
1243
|
-
`;function My({children:e,disabled:t,loop:r,onValueChange:n,...o}){const i=tt(),a=t??i,s=tn();return k(Iy,{loop:r,onValueChange:n,...o,disabled:a,...s,children:e})}function Ly({disabled:e,...t}){const r=tt(),n=e??r,o=tn();return k(sd,{...t,...o,disabled:n,children:k(ld,{})})}function cd(e,[t,r]){return Math.min(r,Math.max(t,e))}const Fy=[" ","Enter","ArrowUp","ArrowDown"],Ry=[" ","Enter"],cn="Select",[un,Jo,zy]=jo(cn),[or,AE]=Pe(cn,[zy]),[Vy,Lt]=or(cn),[jy,By]=or(cn),Wy=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:b,required:h}=e,[g,m]=l.useState(null),[_,$]=l.useState(null),[y,E]=l.useState(!1),v=Go(d),[A=!1,L]=Ne({prop:n,defaultProp:o,onChange:i}),[T,M]=Ne({prop:a,defaultProp:s,onChange:c}),F=l.useRef(null),G=g?Boolean(g.closest("form")):!0,[S,q]=l.useState(new Set),D=Array.from(S).map(P=>P.props.value).join(";");return l.createElement(Vy,{required:h,scope:t,trigger:g,onTriggerChange:m,valueNode:_,onValueNodeChange:$,valueNodeHasChildren:y,onValueNodeHasChildrenChange:E,contentId:Ue(),value:T,onValueChange:M,open:A,onOpenChange:L,dir:v,triggerPointerDownPosRef:F,disabled:b},l.createElement(un.Provider,{scope:t},l.createElement(jy,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(P=>{q(ee=>new Set(ee).add(P))},[]),onNativeOptionRemove:l.useCallback(P=>{q(ee=>{const Q=new Set(ee);return Q.delete(P),Q})},[])},r)),G?l.createElement(pd,{key:D,"aria-hidden":!0,required:h,tabIndex:-1,name:f,autoComplete:p,value:T,onChange:P=>M(P.target.value),disabled:b},T===void 0?l.createElement("option",{value:""}):null,Array.from(S)):null)},Uy="SelectTrigger",Ky=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=Lt(Uy,r),a=i.disabled||n,s=se(t,i.onTriggerChange),c=Jo(r),[d,f,p]=hd(h=>{const g=c().filter($=>!$.disabled),m=g.find($=>$.value===i.value),_=md(g,h,m);_!==void 0&&i.onValueChange(_.value)}),b=()=>{a||(i.onOpenChange(!0),p())};return l.createElement(te.button,C({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:a,"data-disabled":a?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:s,onClick:H(o.onClick,h=>{h.currentTarget.focus()}),onPointerDown:H(o.onPointerDown,h=>{const g=h.target;g.hasPointerCapture(h.pointerId)&&g.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&(b(),i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)},h.preventDefault())}),onKeyDown:H(o.onKeyDown,h=>{const g=d.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&f(h.key),!(g&&h.key===" ")&&Fy.includes(h.key)&&(b(),h.preventDefault())})}))}),Hy="SelectValue",Gy=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a,...s}=e,c=Lt(Hy,r),{onValueNodeHasChildrenChange:d}=c,f=i!==void 0,p=se(t,c.onValueNodeChange);return ye(()=>{d(f)},[d,f]),l.createElement(te.span,C({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&a!==void 0?a:i)}),qy=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(te.span,C({"aria-hidden":!0},o,{ref:t}),n||"▼")}),Yy=e=>l.createElement(Gt,C({asChild:!0},e)),Zo="SelectContent",Xy=l.forwardRef((e,t)=>{const r=Lt(Zo,e.__scopeSelect),[n,o]=l.useState();return ye(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(Jy,C({},e,{ref:t})):n?ut.createPortal(l.createElement(ud,{scope:e.__scopeSelect},l.createElement(un.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),rt=10,[ud,Ft]=or(Zo),Jy=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,i=Lt(Zo,r),[a,s]=l.useState(null),[c,d]=l.useState(null),[f,p]=l.useState(null),b=se(t,w=>d(w)),[h,g]=l.useState(null),[m,_]=l.useState(null),$=Jo(r),[y,E]=l.useState(!1),v=l.useRef(!0),A=l.useRef(!1),L=l.useRef(!1);l.useEffect(()=>{if(c)return Rn(c)},[c]),In();const[T,M]=l.useState();ye(()=>{c&&M(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(w=>{const[N,...B]=$().map(K=>K.ref.current),[j]=B.slice(-1),V=document.activeElement;for(const K of w)if(K===V||(K==null||K.scrollIntoView({block:"nearest"}),K===N&&f&&(f.scrollTop=0),K===j&&f&&(f.scrollTop=f.scrollHeight),K==null||K.focus(),document.activeElement!==V))return},[$,f]),G=l.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&c&&f&&h&&m){const w=i.trigger.getBoundingClientRect(),N=c.getBoundingClientRect(),B=i.valueNode.getBoundingClientRect(),j=m.getBoundingClientRect();if(i.dir!=="rtl"){const Je=j.left-N.left,je=B.left-Je,Be=w.left-je,Ze=w.width+Be,mr=Math.max(Ze,N.width),br=window.innerWidth-rt,gr=cd(je,[rt,br-mr]);a.style.minWidth=Ze+"px",a.style.left=gr+"px"}else{const Je=N.right-j.right,je=window.innerWidth-B.right-Je,Be=window.innerWidth-w.right-je,Ze=w.width+Be,mr=Math.max(Ze,N.width),br=window.innerWidth-rt,gr=cd(je,[rt,br-mr]);a.style.minWidth=Ze+"px",a.style.right=gr+"px"}const V=$(),K=window.innerHeight-rt*2,Y=f.scrollHeight,X=window.getComputedStyle(c),Z=parseInt(X.borderTopWidth,10),oe=parseInt(X.paddingTop,10),ne=parseInt(X.borderBottomWidth,10),ge=parseInt(X.paddingBottom,10),be=Z+oe+Y+ge+ne,we=Math.min(h.offsetHeight*5,be),ze=window.getComputedStyle(f),Oe=parseInt(ze.paddingTop,10),Ve=parseInt(ze.paddingBottom,10),ve=w.top+w.height/2-rt,_e=K-ve,Ie=h.offsetHeight/2,Ae=h.offsetTop+Ie,lt=Z+oe+Ae,Ut=be-lt;if(lt<=ve){const Je=h===V[V.length-1].ref.current;a.style.bottom="0px";const je=c.clientHeight-f.offsetTop-f.offsetHeight,Be=Math.max(_e,Ie+(Je?Ve:0)+je+ne),Ze=lt+Be;a.style.height=Ze+"px"}else{const Je=h===V[0].ref.current;a.style.top="0px";const Be=Math.max(ve,Z+f.offsetTop+(Je?Oe:0)+Ie)+Ut;a.style.height=Be+"px",f.scrollTop=lt-ve+f.offsetTop}a.style.margin=`${rt}px 0`,a.style.minHeight=we+"px",a.style.maxHeight=K+"px",E(!0),requestAnimationFrame(()=>A.current=!0)}},[$,i.trigger,i.valueNode,a,c,f,h,m,i.dir]);ye(()=>G(),[G]);const S=l.useCallback(()=>F([h,c]),[F,h,c]);l.useEffect(()=>{y&&S()},[y,S]);const q=l.useCallback(w=>{w&&v.current===!0&&(G(),S(),v.current=!1)},[G,S]),{onOpenChange:D,triggerPointerDownPosRef:P}=i;l.useEffect(()=>{if(c){let w={x:0,y:0};const N=j=>{var V,K,Y,X;w={x:Math.abs(Math.round(j.pageX)-((V=(K=P.current)===null||K===void 0?void 0:K.x)!==null&&V!==void 0?V:0)),y:Math.abs(Math.round(j.pageY)-((Y=(X=P.current)===null||X===void 0?void 0:X.y)!==null&&Y!==void 0?Y:0))}},B=j=>{w.x<=10&&w.y<=10?j.preventDefault():c.contains(j.target)||D(!1),document.removeEventListener("pointermove",N),P.current=null};return P.current!==null&&(document.addEventListener("pointermove",N),document.addEventListener("pointerup",B,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",N),document.removeEventListener("pointerup",B,{capture:!0})}}},[c,D,P]),l.useEffect(()=>{const w=()=>D(!1);return window.addEventListener("blur",w),window.addEventListener("resize",w),()=>{window.removeEventListener("blur",w),window.removeEventListener("resize",w)}},[D]);const[ee,Q]=hd(w=>{const N=$().filter(V=>!V.disabled),B=N.find(V=>V.ref.current===document.activeElement),j=md(N,w,B);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((w,N,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===N||j)&&(g(w),j&&(L.current=!0))},[i.value]),fe=l.useCallback(()=>c==null?void 0:c.focus(),[c]),J=l.useCallback((w,N,B)=>{const j=!L.current&&!B;(i.value!==void 0&&i.value===N||j)&&_(w)},[i.value]);return l.createElement(ud,{scope:r,contentWrapper:a,content:c,viewport:f,onViewportChange:p,itemRefCallback:de,selectedItem:h,onItemLeave:fe,itemTextRefCallback:J,selectedItemText:m,onScrollButtonChange:q,isPositioned:y,shouldExpandOnScrollRef:A,searchRef:ee},l.createElement(Ln,{as:dt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T}},l.createElement(kn,{asChild:!0,trapped:i.open,onMountAutoFocus:w=>{w.preventDefault()},onUnmountAutoFocus:H(n,w=>{var N;(N=i.trigger)===null||N===void 0||N.focus({preventScroll:!0}),w.preventDefault()})},l.createElement(Ht,C({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:w=>w.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:w=>w.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:H(o.onKeyDown,w=>{const N=w.ctrlKey||w.altKey||w.metaKey;if(w.key==="Tab"&&w.preventDefault(),!N&&w.key.length===1&&Q(w.key),["ArrowUp","ArrowDown","Home","End"].includes(w.key)){let j=$().filter(V=>!V.disabled).map(V=>V.ref.current);if(["ArrowUp","End"].includes(w.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(w.key)){const V=w.target,K=j.indexOf(V);j=j.slice(K+1)}setTimeout(()=>F(j)),w.preventDefault()}})}))))))}),Zy="SelectViewport",Qy=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ft(Zy,r),i=se(t,o.onViewportChange),a=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(un.Slot,{scope:r},l.createElement(te.div,C({"data-radix-select-viewport":"",role:"presentation"},n,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:H(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=o;if(f!=null&&f.current&&d){const p=Math.abs(a.current-c.scrollTop);if(p>0){const b=window.innerHeight-rt*2,h=parseFloat(d.style.minHeight),g=parseFloat(d.style.height),m=Math.max(h,g);if(m<b){const _=m+p,$=Math.min(b,_),y=_-$;d.style.height=$+"px",d.style.bottom==="0px"&&(c.scrollTop=y>0?y:0,d.style.justifyContent="flex-end")}}}a.current=c.scrollTop})}))))}),e$="SelectGroup",[t$,r$]=or(e$),n$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ue();return l.createElement(t$,{scope:r,id:o},l.createElement(te.div,C({role:"group","aria-labelledby":o},n,{ref:t})))}),o$="SelectLabel",i$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=r$(o$,r);return l.createElement(te.div,C({id:o.id},n,{ref:t}))}),Qo="SelectItem",[a$,dd]=or(Qo),s$=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,s=Lt(Qo,r),c=Ft(Qo,r),d=s.value===n,[f,p]=l.useState(i??""),[b,h]=l.useState(!1),g=se(t,$=>{var y;return(y=c.itemRefCallback)===null||y===void 0?void 0:y.call(c,$,n,o)}),m=Ue(),_=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(a$,{scope:r,value:n,disabled:o,textId:m,isSelected:d,onItemTextChange:l.useCallback($=>{p(y=>{var E;return y||((E=$==null?void 0:$.textContent)!==null&&E!==void 0?E:"").trim()})},[])},l.createElement(un.ItemSlot,{scope:r,value:n,disabled:o,textValue:f},l.createElement(te.div,C({role:"option","aria-labelledby":m,"data-highlighted":b?"":void 0,"aria-selected":d&&b,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:g,onFocus:H(a.onFocus,()=>h(!0)),onBlur:H(a.onBlur,()=>h(!1)),onPointerUp:H(a.onPointerUp,_),onPointerMove:H(a.onPointerMove,$=>{if(o){var y;(y=c.onItemLeave)===null||y===void 0||y.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:H(a.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var y;(y=c.onItemLeave)===null||y===void 0||y.call(c)}}),onKeyDown:H(a.onKeyDown,$=>{var y;((y=c.searchRef)===null||y===void 0?void 0:y.current)!==""&&$.key===" "||(Ry.includes($.key)&&_(),$.key===" "&&$.preventDefault())})}))))}),dn="SelectItemText",l$=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=Lt(dn,r),s=Ft(dn,r),c=dd(dn,r),d=By(dn,r),[f,p]=l.useState(null),b=se(t,$=>p($),c.onItemTextChange,$=>{var y;return(y=s.itemTextRefCallback)===null||y===void 0?void 0:y.call(s,$,c.value,c.disabled)}),h=f==null?void 0:f.textContent,g=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},h),[c.disabled,c.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:_}=d;return ye(()=>(m(g),()=>_(g)),[m,_,g]),l.createElement(l.Fragment,null,l.createElement(te.span,C({id:c.textId},i,{ref:b})),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?ut.createPortal(i.children,a.valueNode):null)}),c$="SelectItemIndicator",u$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return dd(c$,r).isSelected?l.createElement(te.span,C({"aria-hidden":!0},n,{ref:t})):null}),d$="SelectScrollUpButton",f$=l.forwardRef((e,t)=>{const r=Ft(d$,e.__scopeSelect),[n,o]=l.useState(!1),i=se(t,r.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollTop>0;o(c)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(fd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),p$="SelectScrollDownButton",h$=l.forwardRef((e,t)=>{const r=Ft(p$,e.__scopeSelect),[n,o]=l.useState(!1),i=se(t,r.onScrollButtonChange);return ye(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=a.scrollHeight-a.clientHeight,d=Math.ceil(a.scrollTop)<c;o(d)};const a=r.viewport;return s(),a.addEventListener("scroll",s),()=>a.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(fd,C({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=r;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),fd=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,i=Ft("SelectScrollButton",r),a=l.useRef(null),s=Jo(r),c=l.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),ye(()=>{var d;const f=s().find(p=>p.ref.current===document.activeElement);f==null||(d=f.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(te.div,C({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:H(o.onPointerMove,()=>{var d;(d=i.onItemLeave)===null||d===void 0||d.call(i),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:H(o.onPointerLeave,()=>{c()})}))}),m$=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(te.div,C({"aria-hidden":!0},n,{ref:t}))}),pd=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),i=se(t,o),a=qr(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[a,r]),l.createElement(Cr,{asChild:!0},l.createElement("select",C({},n,{ref:i,defaultValue:r})))});pd.displayName="BubbleSelect";function hd(e){const t=Se(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(a=>{const s=r.current+a;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(s)},[t]),i=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function md(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=b$(e,Math.max(i,0));o.length===1&&(a=a.filter(d=>d!==r));const c=a.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function b$(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const g$=Wy,v$=Gy,_$=Yy,y$=Xy,$$=Qy,x$=n$,w$=i$,E$=s$,P$=l$,S$=u$,C$=f$,T$=h$,O$=m$,bd=I(Ky)`
|
|
1447
|
+
`;function y1({children:e,disabled:t,loop:r,onValueChange:n,...o}){const a=at(),i=t??a,s=ln();return C(g1,{loop:r,onValueChange:n,...o,disabled:i,...s,children:e})}function $1({disabled:e,...t}){const r=at(),n=e??r,o=ln();return C(kf,{...t,...o,disabled:n,children:C(Pf,{})})}function Cf(e,[t,r]){return Math.min(r,Math.max(t,e))}const _1=[" ","Enter","ArrowUp","ArrowDown"],x1=[" ","Enter"],$n="Select",[_n,ga,E1]=bn($n),[fr,ek]=xe($n,[E1]),[w1,Ft]=fr($n),[T1,S1]=fr($n),k1=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:b,required:m}=e,[h,g]=l.useState(null),[v,$]=l.useState(null),[_,E]=l.useState(!1),y=dr(d),[A=!1,L]=Ce({prop:n,defaultProp:o,onChange:a}),[P,N]=Ce({prop:i,defaultProp:s,onChange:c}),F=l.useRef(null),G=h?Boolean(h.closest("form")):!0,[k,H]=l.useState(new Set),O=Array.from(k).map(T=>T.props.value).join(";");return l.createElement(w1,{required:m,scope:t,trigger:h,onTriggerChange:g,valueNode:v,onValueNodeChange:$,valueNodeHasChildren:_,onValueNodeHasChildrenChange:E,contentId:Ae(),value:P,onValueChange:N,open:A,onOpenChange:L,dir:y,triggerPointerDownPosRef:F,disabled:b},l.createElement(_n.Provider,{scope:t},l.createElement(T1,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(T=>{H(X=>new Set(X).add(T))},[]),onNativeOptionRemove:l.useCallback(T=>{H(X=>{const ee=new Set(X);return ee.delete(T),ee})},[])},r)),G?l.createElement(Af,{key:O,"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:p,value:P,onChange:T=>N(T.target.value),disabled:b},P===void 0?l.createElement("option",{value:""}):null,Array.from(k)):null)},P1="SelectTrigger",C1=l.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,a=Ft(P1,r),i=a.disabled||n,s=le(t,a.onTriggerChange),c=ga(r),[d,f,p]=Nf(m=>{const h=c().filter($=>!$.disabled),g=h.find($=>$.value===a.value),v=zf(h,m,g);v!==void 0&&a.onValueChange(v.value)}),b=()=>{i||(a.onOpenChange(!0),p())};return l.createElement(J.button,S({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":a.value===void 0?"":void 0},o,{ref:s,onClick:U(o.onClick,m=>{m.currentTarget.focus()}),onPointerDown:U(o.onPointerDown,m=>{const h=m.target;h.hasPointerCapture(m.pointerId)&&h.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(b(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:U(o.onKeyDown,m=>{const h=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&f(m.key),!(h&&m.key===" ")&&_1.includes(m.key)&&(b(),m.preventDefault())})}))}),D1="SelectValue",I1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:a,placeholder:i,...s}=e,c=Ft(D1,r),{onValueNodeHasChildrenChange:d}=c,f=a!==void 0,p=le(t,c.onValueNodeChange);return Ee(()=>{d(f)},[d,f]),l.createElement(J.span,S({},s,{ref:p,style:{pointerEvents:"none"}}),c.value===void 0&&i!==void 0?i:a)}),O1=l.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return l.createElement(J.span,S({"aria-hidden":!0},o,{ref:t}),n||"▼")}),A1=e=>l.createElement(Yt,S({asChild:!0},e)),ha="SelectContent",N1=l.forwardRef((e,t)=>{const r=Ft(ha,e.__scopeSelect),[n,o]=l.useState();return Ee(()=>{o(new DocumentFragment)},[]),l.createElement(l.Fragment,null,r.open?l.createElement(z1,S({},e,{ref:t})):n?bt.createPortal(l.createElement(Df,{scope:e.__scopeSelect},l.createElement(_n.Slot,{scope:e.__scopeSelect},l.createElement("div",null,e.children))),n):null)}),it=10,[Df,Vt]=fr(ha),z1=l.forwardRef((e,t)=>{const{__scopeSelect:r,onCloseAutoFocus:n,...o}=e,a=Ft(ha,r),[i,s]=l.useState(null),[c,d]=l.useState(null),[f,p]=l.useState(null),b=le(t,w=>d(w)),[m,h]=l.useState(null),[g,v]=l.useState(null),$=ga(r),[_,E]=l.useState(!1),y=l.useRef(!0),A=l.useRef(!1),L=l.useRef(!1);l.useEffect(()=>{if(c)return qn(c)},[c]),Kn();const[P,N]=l.useState();Ee(()=>{c&&N(window.getComputedStyle(c).zIndex)},[c]);const F=l.useCallback(w=>{const[z,...K]=$().map(q=>q.ref.current),[j]=K.slice(-1),R=document.activeElement;for(const q of w)if(q===R||(q==null||q.scrollIntoView({block:"nearest"}),q===z&&f&&(f.scrollTop=0),q===j&&f&&(f.scrollTop=f.scrollHeight),q==null||q.focus(),document.activeElement!==R))return},[$,f]),G=l.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&c&&f&&m&&g){const w=a.trigger.getBoundingClientRect(),z=c.getBoundingClientRect(),K=a.valueNode.getBoundingClientRect(),j=g.getBoundingClientRect();if(a.dir!=="rtl"){const Je=j.left-z.left,Be=K.left-Je,Ue=w.left-Be,Qe=w.width+Ue,xr=Math.max(Qe,z.width),Er=window.innerWidth-it,wr=Cf(Be,[it,Er-xr]);i.style.minWidth=Qe+"px",i.style.left=wr+"px"}else{const Je=z.right-j.right,Be=window.innerWidth-K.right-Je,Ue=window.innerWidth-w.right-Be,Qe=w.width+Ue,xr=Math.max(Qe,z.width),Er=window.innerWidth-it,wr=Cf(Be,[it,Er-xr]);i.style.minWidth=Qe+"px",i.style.right=wr+"px"}const R=$(),q=window.innerHeight-it*2,Y=f.scrollHeight,Z=window.getComputedStyle(c),Q=parseInt(Z.borderTopWidth,10),ae=parseInt(Z.paddingTop,10),ne=parseInt(Z.borderBottomWidth,10),ve=parseInt(Z.paddingBottom,10),he=Q+ae+Y+ve+ne,Se=Math.min(m.offsetHeight*5,he),Re=window.getComputedStyle(f),Oe=parseInt(Re.paddingTop,10),Ke=parseInt(Re.paddingBottom,10),ye=w.top+w.height/2-it,$e=q-ye,ze=m.offsetHeight/2,Le=m.offsetTop+ze,ft=Q+ae+Le,Ht=he-ft;if(ft<=ye){const Je=m===R[R.length-1].ref.current;i.style.bottom="0px";const Be=c.clientHeight-f.offsetTop-f.offsetHeight,Ue=Math.max($e,ze+(Je?Ke:0)+Be+ne),Qe=ft+Ue;i.style.height=Qe+"px"}else{const Je=m===R[0].ref.current;i.style.top="0px";const Ue=Math.max(ye,Q+f.offsetTop+(Je?Oe:0)+ze)+Ht;i.style.height=Ue+"px",f.scrollTop=ft-ye+f.offsetTop}i.style.margin=`${it}px 0`,i.style.minHeight=Se+"px",i.style.maxHeight=q+"px",E(!0),requestAnimationFrame(()=>A.current=!0)}},[$,a.trigger,a.valueNode,i,c,f,m,g,a.dir]);Ee(()=>G(),[G]);const k=l.useCallback(()=>F([m,c]),[F,m,c]);l.useEffect(()=>{_&&k()},[_,k]);const H=l.useCallback(w=>{w&&y.current===!0&&(G(),k(),y.current=!1)},[G,k]),{onOpenChange:O,triggerPointerDownPosRef:T}=a;l.useEffect(()=>{if(c){let w={x:0,y:0};const z=j=>{var R,q,Y,Z;w={x:Math.abs(Math.round(j.pageX)-((R=(q=T.current)===null||q===void 0?void 0:q.x)!==null&&R!==void 0?R:0)),y:Math.abs(Math.round(j.pageY)-((Y=(Z=T.current)===null||Z===void 0?void 0:Z.y)!==null&&Y!==void 0?Y:0))}},K=j=>{w.x<=10&&w.y<=10?j.preventDefault():c.contains(j.target)||O(!1),document.removeEventListener("pointermove",z),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",z),document.addEventListener("pointerup",K,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",K,{capture:!0})}}},[c,O,T]),l.useEffect(()=>{const w=()=>O(!1);return window.addEventListener("blur",w),window.addEventListener("resize",w),()=>{window.removeEventListener("blur",w),window.removeEventListener("resize",w)}},[O]);const[X,ee]=Nf(w=>{const z=$().filter(R=>!R.disabled),K=z.find(R=>R.ref.current===document.activeElement),j=zf(z,w,K);j&&setTimeout(()=>j.ref.current.focus())}),de=l.useCallback((w,z,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===z||j)&&(h(w),j&&(L.current=!0))},[a.value]),ge=l.useCallback(()=>c==null?void 0:c.focus(),[c]),te=l.useCallback((w,z,K)=>{const j=!L.current&&!K;(a.value!==void 0&&a.value===z||j)&&v(w)},[a.value]);return l.createElement(Df,{scope:r,contentWrapper:i,content:c,viewport:f,onViewportChange:p,itemRefCallback:de,selectedItem:m,onItemLeave:ge,itemTextRefCallback:te,selectedItemText:g,onScrollButtonChange:H,isPositioned:_,shouldExpandOnScrollRef:A,searchRef:X},l.createElement(Hn,{as:mt,allowPinchZoom:!0},l.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P}},l.createElement(jn,{asChild:!0,trapped:a.open,onMountAutoFocus:w=>{w.preventDefault()},onUnmountAutoFocus:U(n,w=>{var z;(z=a.trigger)===null||z===void 0||z.focus({preventScroll:!0}),w.preventDefault()})},l.createElement(qt,S({role:"listbox",id:a.contentId,"data-state":a.open?"open":"closed",dir:a.dir,onContextMenu:w=>w.preventDefault()},o,{ref:b,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:w=>w.preventDefault(),onDismiss:()=>a.onOpenChange(!1),onKeyDown:U(o.onKeyDown,w=>{const z=w.ctrlKey||w.altKey||w.metaKey;if(w.key==="Tab"&&w.preventDefault(),!z&&w.key.length===1&&ee(w.key),["ArrowUp","ArrowDown","Home","End"].includes(w.key)){let j=$().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(w.key)&&(j=j.slice().reverse()),["ArrowUp","ArrowDown"].includes(w.key)){const R=w.target,q=j.indexOf(R);j=j.slice(q+1)}setTimeout(()=>F(j)),w.preventDefault()}})}))))))}),L1="SelectViewport",M1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Vt(L1,r),a=le(t,o.onViewportChange),i=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(_n.Slot,{scope:r},l.createElement(J.div,S({"data-radix-select-viewport":"",role:"presentation"},n,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:U(n.onScroll,s=>{const c=s.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=o;if(f!=null&&f.current&&d){const p=Math.abs(i.current-c.scrollTop);if(p>0){const b=window.innerHeight-it*2,m=parseFloat(d.style.minHeight),h=parseFloat(d.style.height),g=Math.max(m,h);if(g<b){const v=g+p,$=Math.min(b,v),_=v-$;d.style.height=$+"px",d.style.bottom==="0px"&&(c.scrollTop=_>0?_:0,d.style.justifyContent="flex-end")}}}i.current=c.scrollTop})}))))}),F1="SelectGroup",[V1,j1]=fr(F1),R1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ae();return l.createElement(V1,{scope:r,id:o},l.createElement(J.div,S({role:"group","aria-labelledby":o},n,{ref:t})))}),K1="SelectLabel",B1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=j1(K1,r);return l.createElement(J.div,S({id:o.id},n,{ref:t}))}),va="SelectItem",[U1,If]=fr(va),W1=l.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...i}=e,s=Ft(va,r),c=Vt(va,r),d=s.value===n,[f,p]=l.useState(a??""),[b,m]=l.useState(!1),h=le(t,$=>{var _;return(_=c.itemRefCallback)===null||_===void 0?void 0:_.call(c,$,n,o)}),g=Ae(),v=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};return l.createElement(U1,{scope:r,value:n,disabled:o,textId:g,isSelected:d,onItemTextChange:l.useCallback($=>{p(_=>{var E;return _||((E=$==null?void 0:$.textContent)!==null&&E!==void 0?E:"").trim()})},[])},l.createElement(_n.ItemSlot,{scope:r,value:n,disabled:o,textValue:f},l.createElement(J.div,S({role:"option","aria-labelledby":g,"data-highlighted":b?"":void 0,"aria-selected":d&&b,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:h,onFocus:U(i.onFocus,()=>m(!0)),onBlur:U(i.onBlur,()=>m(!1)),onPointerUp:U(i.onPointerUp,v),onPointerMove:U(i.onPointerMove,$=>{if(o){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}else $.currentTarget.focus({preventScroll:!0})}),onPointerLeave:U(i.onPointerLeave,$=>{if($.currentTarget===document.activeElement){var _;(_=c.onItemLeave)===null||_===void 0||_.call(c)}}),onKeyDown:U(i.onKeyDown,$=>{var _;((_=c.searchRef)===null||_===void 0?void 0:_.current)!==""&&$.key===" "||(x1.includes($.key)&&v(),$.key===" "&&$.preventDefault())})}))))}),xn="SelectItemText",H1=l.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...a}=e,i=Ft(xn,r),s=Vt(xn,r),c=If(xn,r),d=S1(xn,r),[f,p]=l.useState(null),b=le(t,$=>p($),c.onItemTextChange,$=>{var _;return(_=s.itemTextRefCallback)===null||_===void 0?void 0:_.call(s,$,c.value,c.disabled)}),m=f==null?void 0:f.textContent,h=l.useMemo(()=>l.createElement("option",{key:c.value,value:c.value,disabled:c.disabled},m),[c.disabled,c.value,m]),{onNativeOptionAdd:g,onNativeOptionRemove:v}=d;return Ee(()=>(g(h),()=>v(h)),[g,v,h]),l.createElement(l.Fragment,null,l.createElement(J.span,S({id:c.textId},a,{ref:b})),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?bt.createPortal(a.children,i.valueNode):null)}),G1="SelectItemIndicator",q1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return If(G1,r).isSelected?l.createElement(J.span,S({"aria-hidden":!0},n,{ref:t})):null}),Y1="SelectScrollUpButton",X1=l.forwardRef((e,t)=>{const r=Vt(Y1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return Ee(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=i.scrollTop>0;o(c)};const i=r.viewport;return s(),i.addEventListener("scroll",s),()=>i.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(Of,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop-s.offsetHeight)}})):null}),Z1="SelectScrollDownButton",J1=l.forwardRef((e,t)=>{const r=Vt(Z1,e.__scopeSelect),[n,o]=l.useState(!1),a=le(t,r.onScrollButtonChange);return Ee(()=>{if(r.viewport&&r.isPositioned){let s=function(){const c=i.scrollHeight-i.clientHeight,d=Math.ceil(i.scrollTop)<c;o(d)};const i=r.viewport;return s(),i.addEventListener("scroll",s),()=>i.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),n?l.createElement(Of,S({},e,{ref:a,onAutoScroll:()=>{const{viewport:i,selectedItem:s}=r;i&&s&&(i.scrollTop=i.scrollTop+s.offsetHeight)}})):null}),Of=l.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,a=Vt("SelectScrollButton",r),i=l.useRef(null),s=ga(r),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),Ee(()=>{var d;const f=s().find(p=>p.ref.current===document.activeElement);f==null||(d=f.ref.current)===null||d===void 0||d.scrollIntoView({block:"nearest"})},[s]),l.createElement(J.div,S({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:U(o.onPointerMove,()=>{var d;(d=a.onItemLeave)===null||d===void 0||d.call(a),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:U(o.onPointerLeave,()=>{c()})}))}),Q1=l.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return l.createElement(J.div,S({"aria-hidden":!0},n,{ref:t}))}),Af=l.forwardRef((e,t)=>{const{value:r,...n}=e,o=l.useRef(null),a=le(t,o),i=tn(r);return l.useEffect(()=>{const s=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==r&&f){const p=new Event("change",{bubbles:!0});f.call(s,r),s.dispatchEvent(p)}},[i,r]),l.createElement(Nr,{asChild:!0},l.createElement("select",S({},n,{ref:a,defaultValue:r})))});Af.displayName="BubbleSelect";function Nf(e){const t=we(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(i=>{const s=r.current+i;t(s),function c(d){r.current=d,window.clearTimeout(n.current),d!==""&&(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 zf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let i=eE(e,Math.max(a,0));o.length===1&&(i=i.filter(d=>d!==r));const c=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function eE(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const tE=k1,rE=I1,nE=A1,oE=N1,aE=M1,iE=R1,sE=B1,lE=W1,cE=H1,uE=q1,dE=X1,fE=J1,pE=Q1,Lf=D(C1)`
|
|
1244
1448
|
all: unset;
|
|
1245
1449
|
display: flex;
|
|
1246
1450
|
align-items: center;
|
|
@@ -1272,19 +1476,19 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1272
1476
|
color: ${u.color_fill_primary_disabled};
|
|
1273
1477
|
cursor: not-allowed;
|
|
1274
1478
|
}
|
|
1275
|
-
`,
|
|
1479
|
+
`,bE=D(O1)`
|
|
1276
1480
|
color: ${u.color_fill_secondary_enabled};
|
|
1277
|
-
`,D
|
|
1481
|
+
`,mE=D(oE)`
|
|
1278
1482
|
font-family: ${u.font_family_sans};
|
|
1279
1483
|
overflow: hidden;
|
|
1280
1484
|
background-color: ${u.color_white};
|
|
1281
1485
|
margin-top: 52px;
|
|
1282
1486
|
border-radius: ${u.border_radius_400};
|
|
1283
1487
|
box-shadow: ${u.elevation_static_high};
|
|
1284
|
-
`,
|
|
1488
|
+
`,gE=D(aE)`
|
|
1285
1489
|
padding: ${u.sizing_100};
|
|
1286
1490
|
min-width: 172px;
|
|
1287
|
-
`;function
|
|
1491
|
+
`;function Mf({children:e,...t}){return C(nE,{children:C(mE,{...t,children:e})})}const hE=D(lE)`
|
|
1288
1492
|
all: unset;
|
|
1289
1493
|
font-size: ${u.font_size_100};
|
|
1290
1494
|
line-height: ${u.line_height_129};
|
|
@@ -1308,17 +1512,17 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1308
1512
|
&[data-highlighted] {
|
|
1309
1513
|
background-color: ${u.color_background_white_weak}; /* Static / Background / Weak */
|
|
1310
1514
|
}
|
|
1311
|
-
`,
|
|
1515
|
+
`,vE=D(sE)`
|
|
1312
1516
|
padding: 7px ${u.sizing_200};
|
|
1313
1517
|
font-size: ${u.font_size_50};
|
|
1314
1518
|
line-height: ${u.line_height_133};
|
|
1315
1519
|
color: ${u.color_text_weak};
|
|
1316
1520
|
font-style: normal;
|
|
1317
|
-
`,
|
|
1521
|
+
`,yE=D(pE)`
|
|
1318
1522
|
height: 1px;
|
|
1319
1523
|
background-color: ${u.color_divider_standard};
|
|
1320
1524
|
margin: ${u.spacing_100};
|
|
1321
|
-
|
|
1525
|
+
`,$E=D(uE)`
|
|
1322
1526
|
left: 0;
|
|
1323
1527
|
width: 25px;
|
|
1324
1528
|
display: inline-flex;
|
|
@@ -1329,7 +1533,7 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1329
1533
|
line-height: 0;
|
|
1330
1534
|
font-size: ${u.font_size_200};
|
|
1331
1535
|
}
|
|
1332
|
-
`,
|
|
1536
|
+
`,Ff=`
|
|
1333
1537
|
display: flex;
|
|
1334
1538
|
align-items: center;
|
|
1335
1539
|
justify-content: center;
|
|
@@ -1337,38 +1541,38 @@ Defaulting to \`${Vo}\`.`}function Lu(e){return c_.includes(e)}const d_=Mu;funct
|
|
|
1337
1541
|
background-color: ${u.color_white};
|
|
1338
1542
|
color: ${u.color_black};
|
|
1339
1543
|
cursor: default;
|
|
1340
|
-
`,
|
|
1341
|
-
${
|
|
1342
|
-
`,
|
|
1343
|
-
${
|
|
1344
|
-
`,
|
|
1544
|
+
`,_E=D(dE)`
|
|
1545
|
+
${Ff}
|
|
1546
|
+
`,xE=D(fE)`
|
|
1547
|
+
${Ff}
|
|
1548
|
+
`,Vf=tE,jf=Lf,Rf=rE,Kf=bE,EE=gE,wE=iE,Bf=hE,Uf=cE,TE=$E,SE=vE,kE=yE,Wf=_E,Hf=xE;function PE({items:e,...t}){return oe(Vf,{...t,children:[oe(jf,{"aria-label":"Food",children:[C(Rf,{placeholder:"Select"}),C(Kf,{children:C(_e.ArrowDropDown,{})})]}),oe(Mf,{children:[C(Wf,{children:C(_e.ArrowDropUp,{})}),e.map(r=>C(Bf,{value:r,children:C(Uf,{children:r})},r)),C(Hf,{children:C(_e.ArrowDropDown,{})})]})]})}function CE(e){let[t,r]=Hs(Gf(e.value),Gf(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function Gf(e){if(e!=null)return e.toString()}function DE(e){return e&&e.__esModule?e.default:e}var qf={},Yf={};Yf={"Clear search":"مسح البحث"};var Xf={};Xf={"Clear search":"Изчистване на търсене"};var Zf={};Zf={"Clear search":"Vymazat hledání"};var Jf={};Jf={"Clear search":"Ryd søgning"};var Qf={};Qf={"Clear search":"Suche zurücksetzen"};var ep={};ep={"Clear search":"Απαλοιφή αναζήτησης"};var tp={};tp={"Clear search":"Clear search"};var rp={};rp={"Clear search":"Borrar búsqueda"};var np={};np={"Clear search":"Tühjenda otsing"};var op={};op={"Clear search":"Tyhjennä haku"};var ap={};ap={"Clear search":"Effacer la recherche"};var ip={};ip={"Clear search":"נקה חיפוש"};var sp={};sp={"Clear search":"Obriši pretragu"};var lp={};lp={"Clear search":"Keresés törlése"};var cp={};cp={"Clear search":"Cancella ricerca"};var up={};up={"Clear search":"検索をクリア"};var dp={};dp={"Clear search":"검색 지우기"};var fp={};fp={"Clear search":"Išvalyti iešką"};var pp={};pp={"Clear search":"Notīrīt meklēšanu"};var bp={};bp={"Clear search":"Tøm søk"};var mp={};mp={"Clear search":"Zoekactie wissen"};var gp={};gp={"Clear search":"Wyczyść zawartość wyszukiwania"};var hp={};hp={"Clear search":"Limpar pesquisa"};var vp={};vp={"Clear search":"Limpar pesquisa"};var yp={};yp={"Clear search":"Ştergeţi căutarea"};var $p={};$p={"Clear search":"Очистить поиск"};var _p={};_p={"Clear search":"Vymazať vyhľadávanie"};var xp={};xp={"Clear search":"Počisti iskanje"};var Ep={};Ep={"Clear search":"Obriši pretragu"};var wp={};wp={"Clear search":"Rensa sökning"};var Tp={};Tp={"Clear search":"Aramayı temizle"};var Sp={};Sp={"Clear search":"Очистити пошук"};var kp={};kp={"Clear search":"清除搜索"};var Pp={};Pp={"Clear search":"清除搜尋條件"},qf={"ar-AE":Yf,"bg-BG":Xf,"cs-CZ":Zf,"da-DK":Jf,"de-DE":Qf,"el-GR":ep,"en-US":tp,"es-ES":rp,"et-EE":np,"fi-FI":op,"fr-FR":ap,"he-IL":ip,"hr-HR":sp,"hu-HU":lp,"it-IT":cp,"ja-JP":up,"ko-KR":dp,"lt-LT":fp,"lv-LV":pp,"nb-NO":bp,"nl-NL":mp,"pl-PL":gp,"pt-BR":hp,"pt-PT":vp,"ro-RO":yp,"ru-RU":$p,"sk-SK":_p,"sl-SI":xp,"sr-SP":Ep,"sv-SE":wp,"tr-TR":Tp,"uk-UA":Sp,"zh-CN":kp,"zh-TW":Pp};function IE(e,t,r){let n=nr(DE(qf)),{isDisabled:o,isReadOnly:a,onSubmit:i=()=>{},onClear:s,type:c="search"}=e,d=v=>{const $=v.key;($==="Enter"||$==="Escape")&&v.preventDefault(),!(o||a)&&($==="Enter"&&i(t.value),$==="Escape"&&(t.setValue(""),s&&s()))},f=()=>{t.setValue(""),s&&s()},p=()=>{r.current.focus()},{labelProps:b,inputProps:m,descriptionProps:h,errorMessageProps:g}=rn({...e,value:t.value,onChange:t.setValue,onKeyDown:Zs(d,e.onKeyDown),type:c},r);return{labelProps:b,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||a,onPress:f,onPressStart:p},descriptionProps:h,errorMessageProps:g}}var ya={},En={},OE={get exports(){return En},set exports(e){En=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})(OE);var wn={},AE={get exports(){return wn},set exports(e){wn=e}},$a={},NE={get exports(){return $a},set exports(e){$a=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})(NE),function(e){var t=$a.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 d in o)if(d!=="default"&&Object.prototype.hasOwnProperty.call(o,d)){var f=c?Object.getOwnPropertyDescriptor(o,d):null;f&&(f.get||f.set)?Object.defineProperty(s,d,f):s[d]=o[d]}return s.default=o,i&&i.set(o,s),s}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(AE);var _a={};function Cp(e,t){return process.env.NODE_ENV==="production"?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function st(e){return st=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},st(e)}function xa(e){return e&&st(e)==="object"&&e.constructor===Object}function jt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},n=r.clone?S({},e):e;return xa(e)&&xa(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(xa(t[o])&&o in e?n[o]=jt(e[o],t[o],r):n[o]=t[o])}),n}var ce={},Dp={get exports(){return ce},set exports(e){ce=e}};/*
|
|
1345
1549
|
object-assign
|
|
1346
1550
|
(c) Sindre Sorhus
|
|
1347
1551
|
@license MIT
|
|
1348
|
-
*/var
|
|
1349
|
-
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var
|
|
1350
|
-
`,space:" "}}function
|
|
1351
|
-
`);return o}return this.key+" "+this.value+";"},e}(),N1={"@charset":!0,"@import":!0,"@namespace":!0},M1={onCreateRule:function(t,r,n){return t in N1?new A1(t,r,n):null}},If=[g1,$1,P1,C1,k1,I1,M1],L1={process:!0},Af={force:!0,process:!0},mn=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,i){var a=this.options,s=a.parent,c=a.sheet,d=a.jss,f=a.Renderer,p=a.generateId,b=a.scoped,h=C({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:f,generateId:p,scoped:b,name:n,keyframes:this.keyframes,selector:void 0},i),g=n;n in this.raw&&(g=n+"-d"+this.counter++),this.raw[g]=o,g in this.classes&&(h.selector="."+mi(this.classes[g]));var m=hi(g,o,h);if(!m)return null;this.register(m);var _=h.index===void 0?this.index.length:h.index;return this.index.splice(_,0,m),m},t.replace=function(n,o,i){var a=this.get(n),s=this.index.indexOf(a);a&&this.remove(a);var c=i;return s!==-1&&(c=C({},i,{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 bi?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof _i&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof bi?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof _i&&delete this.keyframes[n.name]},t.update=function(){var n,o,i;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],i=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,i);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],o,i)},t.updateOne=function(n,o,i){i===void 0&&(i=L1);var a=this.options,s=a.jss.plugins,c=a.sheet;if(n.rules instanceof e){n.rules.update(o,i);return}var d=n.style;if(s.onUpdate(o,n,c,i),i.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],b=d[f];p!==b&&n.prop(f,p,Af)}for(var h in d){var g=n.style[h],m=d[h];g==null&&g!==m&&n.prop(h,null,Af)}}},t.toString=function(n){for(var o="",i=this.options.sheet,a=i?i.options.link:!1,s=zt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!a||(o&&(o+=c),o+=p)}return o},e}(),Nf=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=C({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new mn(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,i){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(n,o,i);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.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,i){var a=this.rules.get(n);if(!a)return this.addRule(n,o,i);var s=this.rules.replace(n,o,i);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var i=[];for(var a in n){var s=this.addRule(a,n[a],o);s&&i.push(s)}return i},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,i){return this.rules.updateOne(n,o,i),this},t.toString=function(n){return this.rules.toString(n)},e}(),F1=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,i){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](n,o,i);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,i=0;i<this.registry.onProcessRule.length;i++)this.registry.onProcessRule[i](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,i){for(var a=0;a<this.registry.onProcessStyle.length;a++)o.style=this.registry.onProcessStyle[a](o.style,o,i)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,i,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,i,a)},t.onChangeValue=function(n,o,i){for(var a=n,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,o,i);return a},t.use=function(n,o){o===void 0&&(o={queue:"external"});var i=this.plugins[o.queue];i.indexOf(n)===-1&&(i.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var c in s)c in a?a[c].push(s[c]):process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Unknown hook "'+c+'".');return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),R1=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,i=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||i>=this.index){o.push(n);return}for(var a=0;a<o.length;a++)if(o[a].options.index>i){o.splice(a,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,i=o.attached,a=xf(o,["attached"]),s=zt(a),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];i!=null&&p.attached!==i||(d&&(d+=c),d+=p.toString(a))}return d},Pf(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),ur=new R1,$i=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),xi="2f1acc6c3a606b082e5eef5e54414ffb";$i[xi]==null&&($i[xi]=0);var Mf=$i[xi]++,z1=1e10,Lf=function(t){t===void 0&&(t={});var r=0,n=function(i,a){r+=1,r>z1&&process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return a&&(a.options.classNamePrefix&&(c=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),t.minify?""+(c||"c")+Mf+s+r:c+i.key+"-"+Mf+(s?"-"+s:"")+"-"+r};return n},Ff=function(t){var r;return function(){return r||(r=t()),r}},V1=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},j1=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=_t(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var i=o?o.indexOf("!important"):-1,a=i>-1?o.substr(0,i-1):o;t.style.setProperty(r,a,i>-1?"important":"")}}catch{return!1}return!0},B1=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},W1=function(t,r){return t.selectorText=r,t.selectorText===r},Rf=Ff(function(){return document.querySelector("head")});function U1(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 K1(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 H1(e){for(var t=Rf(),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 G1(e){var t=ur.registry;if(t.length>0){var r=U1(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=K1(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=H1(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Te(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function q1(e,t){var r=t.insertionPoint,n=G1(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,i=o.parentNode;i?i.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Te(!1,"[JSS] Insertion point is not in the DOM.");return}Rf().appendChild(e)}var Y1=Ff(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),zf=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"&&Te(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Vf=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},X1=function(){var t=document.createElement("style");return t.textContent=`
|
|
1352
|
-
`,t},
|
|
1552
|
+
*/var Ea,Ip;function zE(){if(Ip)return Ea;Ip=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(f){return i[f]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ea=o()?Object.assign:function(a,i){for(var s,c=n(a),d,f=1;f<arguments.length;f++){s=Object(arguments[f]);for(var p in s)t.call(s,p)&&(c[p]=s[p]);if(e){d=e(s);for(var b=0;b<d.length;b++)r.call(s,d[b])&&(c[d[b]]=s[d[b]])}}return c},Ea}var wa,Op;function Ta(){if(Op)return wa;Op=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return wa=e,wa}var Sa,Ap;function Np(){return Ap||(Ap=1,Sa=Function.call.bind(Object.prototype.hasOwnProperty)),Sa}var ka,zp;function LE(){if(zp)return ka;zp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ta(),r={},n=Np();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,d){if(process.env.NODE_ENV!=="production"){for(var f in a)if(n(a,f)){var p;try{if(typeof a[f]!="function"){var b=Error((c||"React class")+": "+s+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}p=a[f](i,f,c,s,null,t)}catch(h){p=h}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var m=d?d():"";e("Failed "+s+" type: "+p.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ka=o,ka}var Pa,Lp;function ME(){if(Lp)return Pa;Lp=1;var e=wt,t=zE(),r=Ta(),n=Np(),o=LE(),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 Pa=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(w){var z=w&&(d&&w[d]||w[f]);if(typeof z=="function")return z}var b="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:_(),arrayOf:E,element:y(),elementType:A(),instanceOf:L,node:G(),objectOf:N,oneOf:P,oneOfType:F,shape:H,exact:O};function h(w,z){return w===z?w!==0||1/w===1/z:w!==w&&z!==z}function g(w,z){this.message=w,this.data=z&&typeof z=="object"?z:{},this.stack=""}g.prototype=Error.prototype;function v(w){if(process.env.NODE_ENV!=="production")var z={},K=0;function j(q,Y,Z,Q,ae,ne,ve){if(Q=Q||b,ne=ne||Z,ve!==r){if(c){var he=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 he.name="Invariant Violation",he}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Se=Q+":"+Z;!z[Se]&&K<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."),z[Se]=!0,K++)}}return Y[Z]==null?q?Y[Z]===null?new g("The "+ae+" `"+ne+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new g("The "+ae+" `"+ne+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:w(Y,Z,Q,ae,ne)}var R=j.bind(null,!1);return R.isRequired=j.bind(null,!0),R}function $(w){function z(K,j,R,q,Y,Z){var Q=K[j],ae=ee(Q);if(ae!==w){var ne=de(Q);return new g("Invalid "+q+" `"+Y+"` of type "+("`"+ne+"` supplied to `"+R+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return v(z)}function _(){return v(i)}function E(w){function z(K,j,R,q,Y){if(typeof w!="function")return new g("Property `"+Y+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var Z=K[j];if(!Array.isArray(Z)){var Q=ee(Z);return new g("Invalid "+q+" `"+Y+"` of type "+("`"+Q+"` supplied to `"+R+"`, expected an array."))}for(var ae=0;ae<Z.length;ae++){var ne=w(Z,ae,R,q,Y+"["+ae+"]",r);if(ne instanceof Error)return ne}return null}return v(z)}function y(){function w(z,K,j,R,q){var Y=z[K];if(!s(Y)){var Z=ee(Y);return new g("Invalid "+R+" `"+q+"` of type "+("`"+Z+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return v(w)}function A(){function w(z,K,j,R,q){var Y=z[K];if(!e.isValidElementType(Y)){var Z=ee(Y);return new g("Invalid "+R+" `"+q+"` of type "+("`"+Z+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return v(w)}function L(w){function z(K,j,R,q,Y){if(!(K[j]instanceof w)){var Z=w.name||b,Q=te(K[j]);return new g("Invalid "+q+" `"+Y+"` of type "+("`"+Q+"` supplied to `"+R+"`, expected ")+("instance of `"+Z+"`."))}return null}return v(z)}function P(w){if(!Array.isArray(w))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 z(K,j,R,q,Y){for(var Z=K[j],Q=0;Q<w.length;Q++)if(h(Z,w[Q]))return null;var ae=JSON.stringify(w,function(ve,he){var Se=de(he);return Se==="symbol"?String(he):he});return new g("Invalid "+q+" `"+Y+"` of value `"+String(Z)+"` "+("supplied to `"+R+"`, expected one of "+ae+"."))}return v(z)}function N(w){function z(K,j,R,q,Y){if(typeof w!="function")return new g("Property `"+Y+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var Z=K[j],Q=ee(Z);if(Q!=="object")return new g("Invalid "+q+" `"+Y+"` of type "+("`"+Q+"` supplied to `"+R+"`, expected an object."));for(var ae in Z)if(n(Z,ae)){var ne=w(Z,ae,R,q,Y+"."+ae,r);if(ne instanceof Error)return ne}return null}return v(z)}function F(w){if(!Array.isArray(w))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var z=0;z<w.length;z++){var K=w[z];if(typeof K!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ge(K)+" at index "+z+"."),i}function j(R,q,Y,Z,Q){for(var ae=[],ne=0;ne<w.length;ne++){var ve=w[ne],he=ve(R,q,Y,Z,Q,r);if(he==null)return null;he.data&&n(he.data,"expectedType")&&ae.push(he.data.expectedType)}var Se=ae.length>0?", expected one of type ["+ae.join(", ")+"]":"";return new g("Invalid "+Z+" `"+Q+"` supplied to "+("`"+Y+"`"+Se+"."))}return v(j)}function G(){function w(z,K,j,R,q){return T(z[K])?null:new g("Invalid "+R+" `"+q+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return v(w)}function k(w,z,K,j,R){return new g((w||"React class")+": "+z+" type `"+K+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function H(w){function z(K,j,R,q,Y){var Z=K[j],Q=ee(Z);if(Q!=="object")return new g("Invalid "+q+" `"+Y+"` of type `"+Q+"` "+("supplied to `"+R+"`, expected `object`."));for(var ae in w){var ne=w[ae];if(typeof ne!="function")return k(R,q,Y,ae,de(ne));var ve=ne(Z,ae,R,q,Y+"."+ae,r);if(ve)return ve}return null}return v(z)}function O(w){function z(K,j,R,q,Y){var Z=K[j],Q=ee(Z);if(Q!=="object")return new g("Invalid "+q+" `"+Y+"` of type `"+Q+"` "+("supplied to `"+R+"`, expected `object`."));var ae=t({},K[j],w);for(var ne in ae){var ve=w[ne];if(n(w,ne)&&typeof ve!="function")return k(R,q,Y,ne,de(ve));if(!ve)return new g("Invalid "+q+" `"+Y+"` key `"+ne+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(K[j],null," ")+`
|
|
1553
|
+
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var he=ve(Z,ne,R,q,Y+"."+ne,r);if(he)return he}return null}return v(z)}function T(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(T);if(w===null||s(w))return!0;var z=p(w);if(z){var K=z.call(w),j;if(z!==w.entries){for(;!(j=K.next()).done;)if(!T(j.value))return!1}else for(;!(j=K.next()).done;){var R=j.value;if(R&&!T(R[1]))return!1}}else return!1;return!0;default:return!1}}function X(w,z){return w==="symbol"?!0:z?z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol:!1}function ee(w){var z=typeof w;return Array.isArray(w)?"array":w instanceof RegExp?"object":X(z,w)?"symbol":z}function de(w){if(typeof w>"u"||w===null)return""+w;var z=ee(w);if(z==="object"){if(w instanceof Date)return"date";if(w instanceof RegExp)return"regexp"}return z}function ge(w){var z=de(w);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function te(w){return!w.constructor||!w.constructor.name?b:w.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},Pa}var Ca,Mp;function FE(){if(Mp)return Ca;Mp=1;var e=Ta();function t(){}function r(){}return r.resetWarningCache=t,Ca=function(){function n(i,s,c,d,f,p){if(p!==e){var b=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 b.name="Invariant Violation",b}}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},Ca}if(process.env.NODE_ENV!=="production"){var VE=wt,jE=!0;Dp.exports=ME()(VE.isElement,jE)}else Dp.exports=FE()();function RE(e,t){if(st(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(st(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fp(e){var t=RE(e,"string");return st(t)==="symbol"?t:String(t)}function pr(e,t,r){return t=Fp(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var KE="exact-prop: ";function BE(e){return process.env.NODE_ENV==="production"?e:S({},e,pr({},KE,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 Tn(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 UE=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function WE(e){var t="".concat(e).match(UE),r=t&&t[1];return r||""}function Vp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||WE(e)||t}function jp(e,t,r){var n=Vp(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function br(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Vp(e,"Component");if(st(e)==="object")switch(e.$$typeof){case wt.ForwardRef:return jp(e,e.render,"ForwardRef");case wt.Memo:return jp(e,e.type,"memo");default:return}}}function Da(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":Tn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function HE(){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 Rp(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 je(e,t){if(e==null)return{};var r=Rp(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 GE=typeof Symbol=="function"&&Symbol.for;const qE=GE?Symbol.for("mui.nested"):"__THEME_NESTED__";var YE=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function XE(){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,d=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(f,p){var b=p.options.name;if(b&&b.indexOf("Mui")===0&&!p.options.link&&!r){if(YE.indexOf(f.key)!==-1)return"Mui-".concat(f.key);var m="".concat(s).concat(b,"-").concat(f.key);return!p.options.theme[qE]||i!==""?m:"".concat(m,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var h="".concat(f.key,"-").concat(d());return p.options.classNamePrefix?"".concat(s).concat(p.options.classNamePrefix,"-").concat(h):"".concat(s).concat(h)}}function ZE(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 JE=process.env.NODE_ENV==="production";function Ie(e,t){if(!JE){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Kp=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},mr=(typeof window>"u"?"undefined":Kp(window))==="object"&&(typeof document>"u"?"undefined":Kp(document))==="object"&&document.nodeType===9;function Bp(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,Fp(n.key),n)}}function Up(e,t,r){return t&&Bp(e.prototype,t),r&&Bp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ia(e,t){return Ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ia(e,t)}function Wp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ia(e,t)}function Hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var QE={}.constructor;function Oa(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Oa);if(e.constructor!==QE)return e;var t={};for(var r in e)t[r]=Oa(e[r]);return t}function Aa(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=Oa(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Ie(!1,"[JSS] Unknown rule "+e),null)}var Gp=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},xt=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+=Gp(t[n]," ");else r=Gp(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Rt(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
1554
|
+
`,space:" "}}function gr(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function hr(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=Rt(r),d=c.linebreak,f=c.space;if(e&&i++,s)if(Array.isArray(s))for(var p=0;p<s.length;p++){var b=s[p];for(var m in b){var h=b[m];h!=null&&(n&&(n+=d),n+=gr(m+":"+f+xt(h)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=gr(g+":"+f+xt(v)+";",i))}for(var $ in t){var _=t[$];_!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=gr($+":"+f+xt(_)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),gr(""+e+f+"{"+n,i)+gr("}",i))}var ew=/([[\].#*$><+~=|^:(),"'`\s])/g,qp=typeof CSS<"u"&&CSS.escape,Na=function(e){return qp?qp(e):e.replace(ew,"\\$1")},Yp=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,d=n in this.style;if(c&&!d&&!i)return this;var f=c&&d;if(f?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return f?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var p=this.options.sheet;return p&&p.attached&&process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),za=function(e){Wp(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,c=a.scoped,d=a.sheet,f=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=f(Hp(Hp(i)),d),i.selectorText="."+Na(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]=xt(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?S({},o,{allowEmpty:!0}):o;return hr(this.selectorText,this.style,s)},Up(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}(Yp),tw={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new za(t,r,n)}},La={indent:1,children:!0},rw=/@([\w-]+)/,nw=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(rw);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Sn(S({},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=La);var o=Rt(n),a=o.linebreak;if(n.indent==null&&(n.indent=La.indent),n.children==null&&(n.children=La.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),ow=/@media|@supports\s+/,aw={onCreateRule:function(t,r,n){return ow.test(t)?new nw(t,r,n):null}},Ma={indent:1,children:!0},iw=/@keyframes\s+([\w-]+)/,Fa=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(iw);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Ie(!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:Na(c(this,s)),this.rules=new Sn(S({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],S({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=Ma);var o=Rt(n),a=o.linebreak;if(n.indent==null&&(n.indent=Ma.indent),n.children==null&&(n.children=Ma.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}(),sw=/@keyframes\s+/,lw=/\$([\w-]+)/g,Va=function(t,r){return typeof t=="string"?t.replace(lw,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Xp=function(t,r,n){var o=t[r],a=Va(o,n);a!==o&&(t[r]=a)},cw={onCreateRule:function(t,r,n){return typeof t=="string"&&sw.test(t)?new Fa(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Xp(t,"animation-name",n.keyframes),"animation"in t&&Xp(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return Va(t,o.keyframes);case"animation-name":return Va(t,o.keyframes);default:return t}}},uw=function(e){Wp(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?S({},o,{allowEmpty:!0}):o;return hr(this.key,this.style,s)},t}(Yp),dw={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new uw(t,r,n):null}},fw=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=Rt(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=hr(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return hr(this.at,this.style,n)},e}(),pw=/@font-face/,bw={onCreateRule:function(t,r,n){return pw.test(t)?new fw(t,r,n):null}},mw=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 hr(this.key,this.style,n)},e}(),gw={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new mw(t,r,n):null}},hw=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+=`
|
|
1555
|
+
`);return o}return this.key+" "+this.value+";"},e}(),vw={"@charset":!0,"@import":!0,"@namespace":!0},yw={onCreateRule:function(t,r,n){return t in vw?new hw(t,r,n):null}},Zp=[tw,aw,cw,dw,bw,gw,yw],$w={process:!0},Jp={force:!0,process:!0},Sn=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,d=i.jss,f=i.Renderer,p=i.generateId,b=i.scoped,m=S({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:f,generateId:p,scoped:b,name:n,keyframes:this.keyframes,selector:void 0},a),h=n;n in this.raw&&(h=n+"-d"+this.counter++),this.raw[h]=o,h in this.classes&&(m.selector="."+Na(this.classes[h]));var g=Aa(h,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 za?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof Fa&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof za?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof Fa&&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=$w);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var f in n.style){var p=n.style[f],b=d[f];p!==b&&n.prop(f,p,Jp)}for(var m in d){var h=n.style[m],g=d[m];h==null&&h!==g&&n.prop(m,null,Jp)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Rt(n),c=s.linebreak,d=0;d<this.index.length;d++){var f=this.index[d],p=f.toString(n);!p&&!i||(o&&(o+=c),o+=p)}return o},e}(),Qp=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 Sn(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}(),_w=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"&&Ie(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),xw=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=Rp(o,["attached"]),s=Rt(i),c=s.linebreak,d="",f=0;f<this.registry.length;f++){var p=this.registry[f];a!=null&&p.attached!==a||(d&&(d+=c),d+=p.toString(i))}return d},Up(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),vr=new xw,ja=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Ra="2f1acc6c3a606b082e5eef5e54414ffb";ja[Ra]==null&&(ja[Ra]=0);var eb=ja[Ra]++,Ew=1e10,tb=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>Ew&&process.env.NODE_ENV!=="production"&&Ie(!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")+eb+s+r:c+a.key+"-"+eb+(s?"-"+s:"")+"-"+r};return n},rb=function(t){var r;return function(){return r||(r=t()),r}},ww=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},Tw=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=xt(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},Sw=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},kw=function(t,r){return t.selectorText=r,t.selectorText===r},nb=rb(function(){return document.querySelector("head")});function Pw(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 Cw(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 Dw(e){for(var t=nb(),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 Iw(e){var t=vr.registry;if(t.length>0){var r=Pw(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=Cw(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=Dw(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Ie(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function Ow(e,t){var r=t.insertionPoint,n=Iw(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"&&Ie(!1,"[JSS] Insertion point is not in the DOM.");return}nb().appendChild(e)}var Aw=rb(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),ob=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"&&Ie(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},ab=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},Nw=function(){var t=document.createElement("style");return t.textContent=`
|
|
1556
|
+
`,t},zw=function(){function e(r){this.getPropertyValue=ww,this.setProperty=Tw,this.removeProperty=Sw,this.setSelector=kw,this.hasInsertedRules=!1,this.cssRules=[],r&&vr.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||Nw(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=Aw();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){Ow(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=`
|
|
1353
1557
|
`)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
|
|
1354
1558
|
`+n.toString()+`
|
|
1355
|
-
`}},t.insertRules=function(n,o){for(var
|
|
1559
|
+
`}},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=ab(a,o);if(s=ob(a,i.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(i.rules,s),s}var d=n.toString();if(!d)return!1;var f=ab(a,o),p=ob(a,d,f);return p===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,f,p),p)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof Qp&&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}(),Lw=0,Mw=function(){function e(r){this.id=Lw++,this.version="10.9.2",this.plugins=new _w,this.options={id:{minify:!1},createGenerateId:tb,Renderer:mr?zw:null,plugins:[]},this.generateId=tb({minify:!1});for(var n=0;n<Zp.length;n++)this.plugins.use(Zp[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=S({},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=vr.index===0?0:vr.index+1);var s=new Qp(n,S({},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(),vr.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=S({},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=Aa(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}(),Ka=function(t){return new Mw(t)},Ba=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function ib(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=ib(n);a&&(t||(t={}),t[r]=a)}}return t}/**
|
|
1356
1560
|
* A better abstraction over CSS.
|
|
1357
1561
|
*
|
|
1358
1562
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
1359
1563
|
* @website https://github.com/cssinjs/jss
|
|
1360
1564
|
* @license MIT
|
|
1361
|
-
*/
|
|
1362
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1363
|
-
`)),t):(Object.keys(r).forEach(function(
|
|
1364
|
-
`)),r[
|
|
1365
|
-
`))),r[
|
|
1366
|
-
`)),
|
|
1367
|
-
`)),{create:function(n,o){var
|
|
1368
|
-
`)),c}if(!o||!n.overrides||!n.overrides[o])return
|
|
1369
|
-
`))),s[c]=
|
|
1370
|
-
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=
|
|
1371
|
-
`)))),r[
|
|
1565
|
+
*/Ka();var sb=Date.now(),Ua="fnValues"+sb,Wa="fnStyle"+ ++sb,Fw=function(){return{onCreateRule:function(r,n,o){if(typeof n!="function")return null;var a=Aa(r,{},o);return a[Wa]=n,a},onProcessStyle:function(r,n){if(Ua in n||Wa 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[Ua]=o,r},onUpdate:function(r,n,o,a){var i=n,s=i[Wa];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"&&Ie(!1,"[JSS] Function values inside function rules are not supported.");break}}var d=i[Ua];if(d)for(var f in d)i.prop(f,d[f](r),a)}}};const Vw=Fw;var lt="@global",Ha="@global ",jw=function(){function e(r,n,o){this.type="global",this.at=lt,this.isProcessed=!1,this.key=r,this.options=o,this.rules=new Sn(S({},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}(),Rw=function(){function e(r,n,o){this.type="global",this.at=lt,this.isProcessed=!1,this.key=r,this.options=o;var a=r.substr(Ha.length);this.rule=o.jss.createRule(a,n,S({},o,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e}(),Kw=/\s*,\s*/g;function lb(e,t){for(var r=e.split(Kw),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function Bw(e,t){var r=e.options,n=e.style,o=n?n[lt]:null;if(o){for(var a in o)t.addRule(a,o[a],S({},r,{selector:lb(a,e.selector)}));delete n[lt]}}function Uw(e,t){var r=e.options,n=e.style;for(var o in n)if(!(o[0]!=="@"||o.substr(0,lt.length)!==lt)){var a=lb(o.substr(lt.length),e.selector);t.addRule(a,n[o],S({},r,{selector:a})),delete n[o]}}function Ww(){function e(r,n,o){if(!r)return null;if(r===lt)return new jw(r,n,o);if(r[0]==="@"&&r.substr(0,Ha.length)===Ha)return new Rw(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||(Bw(r,n),Uw(r,n))}return{onCreateRule:e,onProcessRule:t}}var cb=/\s*,\s*/g,Hw=/&/g,Gw=/\$([\w-]+)/g;function qw(){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"&&Ie(!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(cb),s=o.split(cb),c="",d=0;d<i.length;d++)for(var f=i[d],p=0;p<s.length;p++){var b=s[p];c&&(c+=", "),c+=b.indexOf("&")!==-1?b.replace(Hw,f):f+" "+b}return c}function r(o,a,i){if(i)return S({},i,{index:i.index+1});var s=o.options.nestingLevel;s=s===void 0?1:s+1;var c=S({},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,d,f;for(var p in o){var b=p.indexOf("&")!==-1,m=p[0]==="@";if(!(!b&&!m)){if(d=r(s,c,d),b){var h=t(p,s.selector);f||(f=e(c,i)),h=h.replace(Gw,f);var g=s.key+"-"+p;"replaceRule"in c?c.replaceRule(g,o[p],S({},d,{selector:h})):c.addRule(g,o[p],S({},d,{selector:h}))}else m&&c.addRule(p,{},d).addRule(s.key,o[p],{selector:s.selector});delete o[p]}}return o}return{onProcessStyle:n}}var Yw=/[A-Z]/g,Xw=/^ms-/,Ga={};function Zw(e){return"-"+e.toLowerCase()}function ub(e){if(Ga.hasOwnProperty(e))return Ga[e];var t=e.replace(Yw,Zw);return Ga[e]=Xw.test(t)?"-"+t:t}function kn(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:ub(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(kn):t.fallbacks=kn(e.fallbacks)),t}function Jw(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=kn(r[n]);return r}return kn(r)}function t(r,n,o){if(n.indexOf("--")===0)return r;var a=ub(n);return n===a?r:(o.prop(a,r),null)}return{onProcessStyle:e,onChangeValue:t}}var I=Ba&&CSS?CSS.px:"px",Pn=Ba&&CSS?CSS.ms:"ms",Kt=Ba&&CSS?CSS.percent:"%",Qw={"animation-delay":Pn,"animation-duration":Pn,"background-position":I,"background-position-x":I,"background-position-y":I,"background-size":I,border:I,"border-bottom":I,"border-bottom-left-radius":I,"border-bottom-right-radius":I,"border-bottom-width":I,"border-left":I,"border-left-width":I,"border-radius":I,"border-right":I,"border-right-width":I,"border-top":I,"border-top-left-radius":I,"border-top-right-radius":I,"border-top-width":I,"border-width":I,"border-block":I,"border-block-end":I,"border-block-end-width":I,"border-block-start":I,"border-block-start-width":I,"border-block-width":I,"border-inline":I,"border-inline-end":I,"border-inline-end-width":I,"border-inline-start":I,"border-inline-start-width":I,"border-inline-width":I,"border-start-start-radius":I,"border-start-end-radius":I,"border-end-start-radius":I,"border-end-end-radius":I,margin:I,"margin-bottom":I,"margin-left":I,"margin-right":I,"margin-top":I,"margin-block":I,"margin-block-end":I,"margin-block-start":I,"margin-inline":I,"margin-inline-end":I,"margin-inline-start":I,padding:I,"padding-bottom":I,"padding-left":I,"padding-right":I,"padding-top":I,"padding-block":I,"padding-block-end":I,"padding-block-start":I,"padding-inline":I,"padding-inline-end":I,"padding-inline-start":I,"mask-position-x":I,"mask-position-y":I,"mask-size":I,height:I,width:I,"min-height":I,"max-height":I,"min-width":I,"max-width":I,bottom:I,left:I,top:I,right:I,inset:I,"inset-block":I,"inset-block-end":I,"inset-block-start":I,"inset-inline":I,"inset-inline-end":I,"inset-inline-start":I,"box-shadow":I,"text-shadow":I,"column-gap":I,"column-rule":I,"column-rule-width":I,"column-width":I,"font-size":I,"font-size-delta":I,"letter-spacing":I,"text-decoration-thickness":I,"text-indent":I,"text-stroke":I,"text-stroke-width":I,"word-spacing":I,motion:I,"motion-offset":I,outline:I,"outline-offset":I,"outline-width":I,perspective:I,"perspective-origin-x":Kt,"perspective-origin-y":Kt,"transform-origin":Kt,"transform-origin-x":Kt,"transform-origin-y":Kt,"transform-origin-z":Kt,"transition-delay":Pn,"transition-duration":Pn,"vertical-align":I,"flex-basis":I,"shape-margin":I,size:I,gap:I,grid:I,"grid-gap":I,"row-gap":I,"grid-row-gap":I,"grid-column-gap":I,"grid-template-rows":I,"grid-template-columns":I,"grid-auto-rows":I,"grid-auto-columns":I,"box-shadow-x":I,"box-shadow-y":I,"box-shadow-blur":I,"box-shadow-spread":I,"font-line-height":I,"text-shadow-x":I,"text-shadow-y":I,"text-shadow-blur":I};function db(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 eT=db(Qw);function yr(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=yr(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var o in t)t[o]=yr(o,t[o],r);else for(var a in t)t[a]=yr(e+"-"+a,t[a],r);else if(typeof t=="number"&&isNaN(t)===!1){var i=r[e]||eT[e];return i&&!(t===0&&i===I)?typeof i=="function"?i(t).toString():""+t+i:t.toString()}return t}function tT(e){e===void 0&&(e={});var t=db(e);function r(o,a){if(a.type!=="style")return o;for(var i in o)o[i]=yr(i,o[i],t);return o}function n(o,a){return yr(a,o,t)}return{onProcessStyle:r,onChangeValue:n}}function qa(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 rT(e){if(Array.isArray(e))return qa(e)}function nT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oT(e,t){if(e){if(typeof e=="string")return qa(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 qa(e,t)}}function aT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1566
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iT(e){return rT(e)||nT(e)||oT(e)||aT()}var $r="",Ya="",fb="",pb="",sT=mr&&"ontouchstart"in document.documentElement;if(mr){var Xa={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},lT=document.createElement("p"),Za=lT.style,cT="Transform";for(var Ja in Xa)if(Ja+cT in Za){$r=Ja,Ya=Xa[Ja];break}$r==="Webkit"&&"msHyphens"in Za&&($r="ms",Ya=Xa.ms,pb="edge"),$r==="Webkit"&&"-apple-trailing-word"in Za&&(fb="apple")}var re={js:$r,css:Ya,vendor:fb,browser:pb,isTouch:sT};function uT(e){return e[1]==="-"||re.js==="ms"?e:"@"+re.css+"keyframes"+e.substr(10)}var dT={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:re.js==="ms"?"-webkit-"+t:re.css+t}},fT={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:re.js==="Webkit"?re.css+"print-"+t:t}},pT=/[-\s]+(.)?/g;function bT(e,t){return t?t.toUpperCase():""}function Qa(e){return e.replace(pT,bT)}function ct(e){return Qa("-"+e)}var mT={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(re.js==="Webkit"){var n="mask-image";if(Qa(n)in r)return t;if(re.js+ct(n)in r)return re.css+t}return t}},gT={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:re.vendor==="apple"&&!re.isTouch?re.css+t:t}},hT={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:re.css+t}},vT={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:re.css+t}},yT={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:re.js==="Webkit"||re.js==="ms"&&re.browser!=="edge"?re.css+t:t}},$T={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:re.js==="Moz"||re.js==="ms"||re.vendor==="apple"?re.css+t:t}},_T={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(re.js==="Webkit"){var n="WebkitColumn"+ct(t);return n in r?re.css+"column-"+t:!1}if(re.js==="Moz"){var o="page"+ct(t);return o in r?"page-"+t:!1}return!1}},xT={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(re.js==="Moz")return t;var n=t.replace("-inline","");return re.js+ct(n)in r?re.css+n:!1}},ET={supportedProperty:function(t,r){return Qa(t)in r?t:!1}},wT={supportedProperty:function(t,r){var n=ct(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:re.js+n in r?re.css+t:re.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},TT={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:re.js==="ms"?""+re.css+t:t}},ST={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:re.js==="ms"?re.css+"scroll-chaining":t}},kT={"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"},PT={supportedProperty:function(t,r){var n=kT[t];return n&&re.js+ct(n)in r?re.css+n:!1}},bb={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"},CT=Object.keys(bb),DT=function(t){return re.css+t},IT={supportedProperty:function(t,r,n){var o=n.multiple;if(CT.indexOf(t)>-1){var a=bb[t];if(!Array.isArray(a))return re.js+ct(a)in r?re.css+a:!1;if(!o)return!1;for(var i=0;i<a.length;i++)if(!(re.js+ct(a[0])in r))return!1;return a.map(DT)}return!1}},mb=[dT,fT,mT,gT,hT,vT,yT,$T,_T,xT,ET,wT,TT,ST,PT,IT],gb=mb.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),OT=mb.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,iT(t.noPrefill)),e},[]),_r,Et={};if(mr){_r=document.createElement("p");var ei=window.getComputedStyle(document.documentElement,"");for(var ti in ei)isNaN(ti)||(Et[ei[ti]]=ei[ti]);OT.forEach(function(e){return delete Et[e]})}function ri(e,t){if(t===void 0&&(t={}),!_r)return e;if(process.env.NODE_ENV!=="benchmark"&&Et[e]!=null)return Et[e];(e==="transition"||e==="transform")&&(t[e]=e in _r.style);for(var r=0;r<gb.length&&(Et[e]=gb[r](e,_r.style,t),!Et[e]);r++);try{_r.style[e]=""}catch{return!1}return Et[e]}var Bt={},AT={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},NT=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,ut;function zT(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?ri(t):", "+ri(r);return n||t||r}mr&&(ut=document.createElement("p"));function hb(e,t){var r=t;if(!ut||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(process.env.NODE_ENV!=="benchmark"&&Bt[n]!=null)return Bt[n];try{ut.style[e]=r}catch{return Bt[n]=!1,!1}if(AT[e])r=r.replace(NT,zT);else if(ut.style[e]===""&&(r=re.css+r,r==="-ms-flex"&&(ut.style[e]="-ms-flexbox"),ut.style[e]=r,ut.style[e]===""))return Bt[n]=!1,!1;return ut.style[e]="",Bt[n]=r,Bt[n]}function LT(){function e(o){if(o.type==="keyframes"){var a=o;a.at=uT(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=ri(a);c&&c!==a&&(s=!0);var d=!1,f=hb(c,xt(i));f&&f!==i&&(d=!0),(s||d)&&(s&&delete o[a],o[c||a]=f||i)}return o}function r(o,a){return a.type!=="style"?o:t(o)}function n(o,a){return hb(a,xt(o))||o}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function MT(){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 vb(){return{plugins:[Vw(),Ww(),qw(),Jw(),tT(),typeof window>"u"?null:LT(),MT()]}}function yb(){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=S({},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(br(n)," is incorrect."),"You might want to use the className prop instead."].join(`
|
|
1567
|
+
`)),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(br(n),"."),"You can only override one of the following: ".concat(Object.keys(t).join(","),".")].join(`
|
|
1568
|
+
`)),r[a]&&typeof r[a]!="string"&&console.error(["Material-UI: The key `".concat(a,"` ")+"provided to the classes prop is not valid for ".concat(br(n),"."),"You need to provide a non empty string instead of: ".concat(r[a],".")].join(`
|
|
1569
|
+
`))),r[a]&&(o[a]="".concat(t[a]," ").concat(r[a]))}),o)}var FT={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 Ut=FT;var $b=l.createContext(null);process.env.NODE_ENV!=="production"&&($b.displayName="ThemeContext");const VT=$b;function _b(){var e=l.useContext(VT);return process.env.NODE_ENV!=="production"&&l.useDebugValue(e),e}var jT=Ka(vb()),RT=XE(),KT=new Map,BT={disableGeneration:!1,generateClassName:RT,jss:jT,sheetsCache:null,sheetsManager:KT,sheetsRegistry:null},Cn=l.createContext(BT);process.env.NODE_ENV!=="production"&&(Cn.displayName="StylesContext");var Dn;function ni(e){var t=e.children,r=e.injectFirst,n=r===void 0?!1:r,o=e.disableGeneration,a=o===void 0?!1:o,i=je(e,["children","injectFirst","disableGeneration"]),s=l.useContext(Cn),c=S({},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(!Dn){var d=document.head;Dn=document.createComment("mui-inject-first"),d.insertBefore(Dn,d.firstChild)}c.jss=Ka({plugins:vb().plugins,insertionPoint:Dn})}return l.createElement(Cn.Provider,{value:c},t)}process.env.NODE_ENV!=="production"&&(ni.propTypes={children:ce.node.isRequired,disableGeneration:ce.bool,generateClassName:ce.func,injectFirst:ce.bool,jss:ce.object,serverGenerateClassName:ce.func,sheetsCache:ce.object,sheetsManager:ce.object,sheetsRegistry:ce.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(ni.propTypes=BE(ni.propTypes));var oi=-1e9;function UT(){return oi+=1,process.env.NODE_ENV!=="production"&&oi>=0&&console.warn(["Material-UI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
1570
|
+
`)),oi}var WT={};const xb=WT;function HT(e){var t=typeof e=="function";return process.env.NODE_ENV!=="production"&&st(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(`
|
|
1571
|
+
`)),{create:function(n,o){var a;try{a=t?e(n):e}catch(c){throw process.env.NODE_ENV!=="production"&&t===!0&&n===xb&&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(`
|
|
1572
|
+
`)),c}if(!o||!n.overrides||!n.overrides[o])return a;var i=n.overrides[o],s=S({},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(`
|
|
1573
|
+
`))),s[c]=jt(s[c],i[c])}),s},options:{}}}function GT(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=yb({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}function qT(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,a=e.stylesCreator,i=e.name;if(!o.disableGeneration){var s=Ut.get(o.sheetsManager,a,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Ut.set(o.sheetsManager,a,n,s));var c=S({},a.options,o,{theme:n,flip:typeof o.flip=="boolean"?o.flip:n.direction==="rtl"});c.generateId=c.serverGenerateClassName||c.generateClassName;var d=o.sheetsRegistry;if(s.refs===0){var f;o.sheetsCache&&(f=Ut.get(o.sheetsCache,a,n));var p=a.create(n,i);f||(f=o.jss.createStyleSheet(p,S({link:!1},c)),f.attach(),o.sheetsCache&&Ut.set(o.sheetsCache,a,n,f)),d&&d.add(f),s.staticSheet=f,s.dynamicStyles=ib(p)}if(s.dynamicStyles){var b=o.jss.createStyleSheet(s.dynamicStyles,S({link:!0},c));b.update(t),b.attach(),r.dynamicSheet=b,r.classes=yb({baseClasses:s.staticSheet.classes,newClasses:b.classes}),d&&d.add(b)}else r.classes=s.staticSheet.classes;s.refs+=1}}function YT(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}function XT(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var a=Ut.get(n.sheetsManager,o,r);a.refs-=1;var i=n.sheetsRegistry;a.refs===0&&(Ut.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 ZT(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 JT(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?xb:a,s=je(t,["name","classNamePrefix","Component","defaultTheme"]),c=HT(e),d=r||n||"makeStyles";c.options={index:UT(),name:r,meta:d,classNamePrefix:d};var f=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=_b()||i,h=S({},l.useContext(Cn),s),g=l.useRef(),v=l.useRef();ZT(function(){var _={name:r,state:{},stylesCreator:c,stylesOptions:h,theme:m};return qT(_,b),v.current=!1,g.current=_,function(){XT(_)}},[m,c]),l.useEffect(function(){v.current&&YT(g.current,b),v.current=!0});var $=GT(g.current,b.classes,o);return process.env.NODE_ENV!=="production"&&l.useDebugValue($),$};return f}var ai=wt,QT={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t5={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Eb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ii={};ii[ai.ForwardRef]=t5,ii[ai.Memo]=Eb;function wb(e){return ai.isMemo(e)?Eb:ii[e.$$typeof]||QT}var r5=Object.defineProperty,n5=Object.getOwnPropertyNames,Tb=Object.getOwnPropertySymbols,o5=Object.getOwnPropertyDescriptor,a5=Object.getPrototypeOf,Sb=Object.prototype;function kb(e,t,r){if(typeof t!="string"){if(Sb){var n=a5(t);n&&n!==Sb&&kb(e,n,r)}var o=n5(t);Tb&&(o=o.concat(Tb(t)));for(var a=wb(e),i=wb(t),s=0;s<o.length;++s){var c=o[s];if(!e5[c]&&!(r&&r[c])&&!(i&&i[c])&&!(a&&a[c])){var d=o5(t,c);try{r5(e,c,d)}catch{}}}}return e}var i5=kb,s5=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=je(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(`
|
|
1574
|
+
`));var d=s;if(process.env.NODE_ENV!=="production"&&!s){var f=br(n);f!==void 0&&(d=f)}var p=JT(t,S({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:d},c)),b=l.forwardRef(function(h,g){h.classes;var v=h.innerRef,$=je(h,["classes","innerRef"]),_=p(S({},n.defaultProps,h)),E,y=$;return(typeof s=="string"||i)&&(E=_b()||o,s&&(y=ZE({theme:E,name:s,props:$})),i&&!y.theme&&(y.theme=E)),l.createElement(n,S({ref:v||g,classes:_},y))});return process.env.NODE_ENV!=="production"&&(b.propTypes={classes:ce.object,innerRef:Cp(ce.oneOfType([ce.func,ce.object]),function(m){return m.innerRef==null,null})}),process.env.NODE_ENV!=="production"&&(b.displayName="WithStyles(".concat(br(n),")")),i5(b,n),process.env.NODE_ENV!=="production"&&(b.Naked=n,b.options=r,b.useStyles=p),b}};const l5=s5;var dt=["xs","sm","md","lg","xl"];function c5(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=je(e,["values","unit","step"]);function c(h){var g=typeof r[h]=="number"?r[h]:h;return"@media (min-width:".concat(g).concat(o,")")}function d(h){var g=dt.indexOf(h)+1,v=r[dt[g]];if(g===dt.length)return c("xs");var $=typeof v=="number"&&g>0?v:h;return"@media (max-width:".concat($-i/100).concat(o,")")}function f(h,g){var v=dt.indexOf(g);return v===dt.length-1?c(h):"@media (min-width:".concat(typeof r[h]=="number"?r[h]:h).concat(o,") and ")+"(max-width:".concat((v!==-1&&typeof r[dt[v+1]]=="number"?r[dt[v+1]]:g)-i/100).concat(o,")")}function p(h){return f(h,h)}var b=!1;function m(h){return process.env.NODE_ENV!=="production"&&(b||(b=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join(`
|
|
1575
|
+
`)))),r[h]}return S({keys:dt,values:r,up:c,down:d,between:f,only:p,width:m},s)}function u5(e,t,r){var n;return S({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:",`
|
|
1372
1576
|
paddingLeft: theme.spacing(2),
|
|
1373
1577
|
paddingRight: theme.spacing(2),
|
|
1374
1578
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -1376,8 +1580,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1376
1580
|
paddingRight: theme.spacing(3),
|
|
1377
1581
|
},
|
|
1378
1582
|
`].join(`
|
|
1379
|
-
`)),
|
|
1380
|
-
`))}return F}var A=function(F){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,
|
|
1583
|
+
`)),S({paddingLeft:t(2),paddingRight:t(2)},a,pr({},e.up("sm"),S({paddingLeft:t(3),paddingRight:t(3)},a[e.up("sm")])))},toolbar:(n={minHeight:56},pr(n,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),pr(n,e.up("sm"),{minHeight:64}),n)},r)}var d5={black:"#000",white:"#fff"};const In=d5;var f5={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 si=f5;var p5={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 li=p5;var b5={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 ci=b5;var m5={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 ui=m5;var g5={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 di=g5;var h5={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 fi=h5;var v5={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 pi=v5;function Pb(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 y5(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 $5(e){e=Wt(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(p){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(p+n/30)%12;return a-i*Math.max(Math.min(b-3,9-b,1),-1)},c="rgb",d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",d.push(r[3])),bi({type:c,values:d})}function Wt(e){if(e.type)return e;if(e.charAt(0)==="#")return Wt(y5(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()."):Tn(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 bi(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 Cb(e,t){var r=Db(e),n=Db(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Db(e){e=Wt(e);var t=e.type==="hsl"?Wt($5(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 _5(e,t){if(e=Wt(e),t=Pb(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 bi(e)}function x5(e,t){if(e=Wt(e),t=Pb(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 bi(e)}var Ib={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:In.white,default:si[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}},mi={text:{primary:In.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:si[800],default:"#303030"},action:{active:In.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 Ob(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=x5(e.main,o):t==="dark"&&(e.dark=_5(e.main,a)))}function E5(e){var t=e.primary,r=t===void 0?{light:li[300],main:li[500],dark:li[700]}:t,n=e.secondary,o=n===void 0?{light:ci.A200,main:ci.A400,dark:ci.A700}:n,a=e.error,i=a===void 0?{light:ui[300],main:ui[500],dark:ui[700]}:a,s=e.warning,c=s===void 0?{light:di[300],main:di[500],dark:di[700]}:s,d=e.info,f=d===void 0?{light:fi[300],main:fi[500],dark:fi[700]}:d,p=e.success,b=p===void 0?{light:pi[300],main:pi[500],dark:pi[700]}:p,m=e.type,h=m===void 0?"light":m,g=e.contrastThreshold,v=g===void 0?3:g,$=e.tonalOffset,_=$===void 0?.2:$,E=je(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function y(N){var F=Cb(N,mi.text.primary)>=v?mi.text.primary:Ib.text.primary;if(process.env.NODE_ENV!=="production"){var G=Cb(N,F);G<3&&console.error(["Material-UI: The contrast ratio of ".concat(G,":1 for ").concat(F," on ").concat(N),"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(`
|
|
1584
|
+
`))}return F}var A=function(F){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:700;if(F=S({},F),!F.main&&F[G]&&(F.main=F[G]),!F.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(G,"` property."):Tn(4,G));if(typeof F.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(F.main),`\` was provided instead.
|
|
1381
1585
|
|
|
1382
1586
|
Did you intend to use one of the following approaches?
|
|
1383
1587
|
|
|
@@ -1389,14 +1593,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1389
1593
|
|
|
1390
1594
|
const theme2 = createTheme({ palette: {
|
|
1391
1595
|
primary: { main: green[500] },
|
|
1392
|
-
} });`):
|
|
1393
|
-
`)),
|
|
1596
|
+
} });`):Tn(5,JSON.stringify(F.main)));return Ob(F,"light",k,_),Ob(F,"dark",H,_),F.contrastText||(F.contrastText=y(F.main)),F},L={dark:mi,light:Ib};process.env.NODE_ENV!=="production"&&(L[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported.")));var P=jt(S({common:In,type:h,primary:A(r),secondary:A(o,"A400","A200","A700"),error:A(i),warning:A(c),info:A(f),success:A(b),grey:si,contrastThreshold:v,getContrastText:y,augmentColor:A,tonalOffset:_},L[h]),E);return P}function Ab(e){return Math.round(e*1e5)/1e5}var Nb=!1;function w5(e){return process.env.NODE_ENV!=="production"&&(Nb||(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(`
|
|
1597
|
+
`)),Nb=!0)),Ab(e)}var zb={textTransform:"uppercase"},Lb='"Roboto", "Helvetica", "Arial", sans-serif';function T5(e,t){var r=typeof t=="function"?t(e):t,n=r.fontFamily,o=n===void 0?Lb:n,a=r.fontSize,i=a===void 0?14:a,s=r.fontWeightLight,c=s===void 0?300:s,d=r.fontWeightRegular,f=d===void 0?400:d,p=r.fontWeightMedium,b=p===void 0?500:p,m=r.fontWeightBold,h=m===void 0?700:m,g=r.htmlFontSize,v=g===void 0?16:g,$=r.allVariants,_=r.pxToRem,E=je(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,A=_||function(N){return"".concat(N/v*y,"rem")},L=function(F,G,k,H,O){return S({fontFamily:o,fontWeight:F,fontSize:A(G),lineHeight:k},o===Lb?{letterSpacing:"".concat(Ab(H/G),"em")}:{},O,$)},P={h1:L(c,96,1.167,-1.5),h2:L(c,60,1.2,-.5),h3:L(f,48,1.167,0),h4:L(f,34,1.235,.25),h5:L(f,24,1.334,0),h6:L(b,20,1.6,.15),subtitle1:L(f,16,1.75,.15),subtitle2:L(b,14,1.57,.1),body1:L(f,16,1.5,.15),body2:L(f,14,1.43,.15),button:L(b,14,1.75,.4,zb),caption:L(f,12,1.66,.4),overline:L(f,12,2.66,1,zb)};return jt(S({htmlFontSize:v,pxToRem:A,round:w5,fontFamily:o,fontSize:i,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:b,fontWeightBold:h},P),E,{clone:!1})}var S5=.2,k5=.14,P5=.12;function pe(){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(S5,")"),"".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(k5,")"),"".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(P5,")")].join(",")}var C5=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)];const D5=C5;var I5={borderRadius:4};const O5=I5;var A5=process.env.NODE_ENV!=="production"?ce.oneOfType([ce.number,ce.string,ce.object,ce.array]):{};const N5=A5;var z5=["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 L5(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(`
|
|
1394
1598
|
`)),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(`
|
|
1395
|
-
`)),function(){})}process.env.NODE_ENV!=="production"&&
|
|
1396
|
-
`)),
|
|
1397
|
-
`)),A[
|
|
1398
|
-
`))},[t]);var b=
|
|
1399
|
-
`))},[JSON.stringify(r)])}var
|
|
1599
|
+
`)),function(){})}process.env.NODE_ENV!=="production"&&z5.reduce(function(e,t){return e[t]=N5,e},{});var Mb;function M5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=L5({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"&&((!Mb||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(`
|
|
1600
|
+
`)),Mb=!0),e}}),r.mui=!0,r}var Fb={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)"},Vb={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jb(e){return"".concat(Math.round(e),"ms")}const F5={easing:Fb,duration:Vb,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?Vb.standard:n,a=r.easing,i=a===void 0?Fb.easeInOut:a,s=r.delay,c=s===void 0?0:s,d=je(r,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){var f=function(m){return typeof m=="string"},p=function(m){return!isNaN(parseFloat(m))};!f(t)&&!Array.isArray(t)&&console.error('Material-UI: Argument "props" must be a string or Array.'),!p(o)&&!f(o)&&console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(o,".")),f(i)||console.error('Material-UI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&console.error('Material-UI: Argument "delay" must be a number or a string.'),Object.keys(d).length!==0&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(d).join(","),"]."))}return(Array.isArray(t)?t:[t]).map(function(b){return"".concat(b," ").concat(typeof o=="string"?o:jb(o)," ").concat(i," ").concat(typeof c=="string"?c:jb(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 V5={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const j5=V5;function R5(){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,d=c===void 0?{}:c,f=je(e,["breakpoints","mixins","palette","spacing","typography"]),p=E5(i),b=c5(r),m=M5(s),h=jt({breakpoints:b,direction:"ltr",mixins:u5(b,m,o),overrides:{},palette:p,props:{},shadows:D5,typography:T5(p,d),spacing:m,shape:O5,transitions:F5,zIndex:j5},f),g=arguments.length,v=new Array(g>1?g-1:0),$=1;$<g;$++)v[$-1]=arguments[$];if(h=v.reduce(function(y,A){return jt(y,A)},h),process.env.NODE_ENV!=="production"){var _=["checked","disabled","error","focused","focusVisible","required","expanded","selected"],E=function y(A,L){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,N;for(N in A){var F=A[N];P===1?N.indexOf("Mui")===0&&F&&y(F,N,P+1):_.indexOf(N)!==-1&&Object.keys(F).length>0&&(process.env.NODE_ENV!=="production"&&console.error(["Material-UI: The `".concat(L,"` component increases ")+"the CSS specificity of the `".concat(N,"` internal state."),"You can not override it like this: ",JSON.stringify(A,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:pr({},"&$".concat(N),F)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join(`
|
|
1601
|
+
`)),A[N]={})}};E(h.overrides)}return h}var K5=R5();const B5=K5;function U5(e,t){return l5(e,S({defaultTheme:B5},t))}var W5=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)}}},gi=B.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,d=c===void 0?"svg":c,f=t.fontSize,p=f===void 0?"medium":f,b=t.htmlColor,m=t.titleAccess,h=t.viewBox,g=h===void 0?"0 0 24 24":h,v=je(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return B.createElement(d,S({className:Ys(o.root,a,s!=="inherit"&&o["color".concat(Da(s))],p!=="default"&&p!=="medium"&&o["fontSize".concat(Da(p))]),focusable:"false",viewBox:g,color:b,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},v),n,m?B.createElement("title",null,m):null)});process.env.NODE_ENV!=="production"&&(gi.propTypes={children:ce.node,classes:ce.object,className:ce.string,color:ce.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:ce.elementType,fontSize:Cp(ce.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:ce.string,shapeRendering:ce.string,titleAccess:ce.string,viewBox:ce.string}),gi.muiName="SvgIcon";const Rb=U5(W5,{name:"MuiSvgIcon"})(gi);function H5(e,t){var r=function(o,a){return l.createElement(Rb,S({ref:a},o),e)};return process.env.NODE_ENV!=="production"&&(r.displayName="".concat(t,"Icon")),r.muiName=Rb.muiName,l.memo(l.forwardRef(r))}function G5(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 q5(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 Y5(e,t){return B.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Kb(e){return e&&e.ownerDocument||document}function X5(e){var t=Kb(e);return t.defaultView||window}function Z5(e){if(process.env.NODE_ENV==="production")return function(){return null};var t=function(n){return function(o,a,i,s,c){var d=c||a;return typeof o[a]<"u"&&!o[n]?new Error("The prop `".concat(d,"` of ")+"`".concat(e,"` must be used on `").concat(n,"`.")):null}};return t}function hi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function J5(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 Q5(e){var t=e.controlled,r=e.default,n=e.name,o=e.state,a=o===void 0?"value":o,i=B.useRef(t!==void 0),s=i.current,c=B.useState(r),d=c[0],f=c[1],p=s?t:d;if(process.env.NODE_ENV!=="production"){B.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(`
|
|
1602
|
+
`))},[t]);var b=B.useRef(r),m=b.current;B.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(`
|
|
1603
|
+
`))},[JSON.stringify(r)])}var h=B.useCallback(function(g){s||f(g)},[]);return[p,h]}var eS=typeof window<"u"?B.useLayoutEffect:B.useEffect;function tS(e){var t=B.useRef(e);return eS(function(){t.current=e}),B.useCallback(function(){return t.current.apply(void 0,arguments)},[])}function rS(e,t){return B.useMemo(function(){return e==null&&t==null?null:function(r){hi(e,r),hi(t,r)}},[e,t])}function nS(e){var t=B.useState(e),r=t[0],n=t[1],o=e||r;return B.useEffect(function(){r==null&&n("mui-".concat(Math.round(Math.random()*1e5)))},[r]),o}var On=!0,vi=!1,Bb=null,oS={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 aS(e){var t=e.type,r=e.tagName;return!!(r==="INPUT"&&oS[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function iS(e){e.metaKey||e.altKey||e.ctrlKey||(On=!0)}function yi(){On=!1}function sS(){this.visibilityState==="hidden"&&vi&&(On=!0)}function lS(e){e.addEventListener("keydown",iS,!0),e.addEventListener("mousedown",yi,!0),e.addEventListener("pointerdown",yi,!0),e.addEventListener("touchstart",yi,!0),e.addEventListener("visibilitychange",sS,!0)}function Ub(e){var t=e.target;try{return t.matches(":focus-visible")}catch{}return On||aS(t)}function cS(){vi=!0,window.clearTimeout(Bb),Bb=window.setTimeout(function(){vi=!1},100)}function uS(){var e=B.useCallback(function(t){var r=Ei.findDOMNode(t);r!=null&&lS(r.ownerDocument)},[]);return process.env.NODE_ENV!=="production"&&B.useDebugValue(Ub),{isFocusVisible:Ub,onBlurVisible:cS,ref:e}}const dS=em(Object.freeze(Object.defineProperty({__proto__:null,capitalize:Da,createChainedFunction:HE,createSvgIcon:H5,debounce:G5,deprecatedPropType:q5,isMuiElement:Y5,ownerDocument:Kb,ownerWindow:X5,requirePropFactory:Z5,setRef:hi,unsupportedProp:J5,useControlled:Q5,useEventCallback:tS,useForkRef:rS,unstable_useId:nS,useIsFocusVisible:uS},Symbol.toStringTag,{value:"Module"})));var Wb;function Hb(){return Wb||(Wb=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=dS}(_a)),_a}var fS=En,pS=wn;Object.defineProperty(ya,"__esModule",{value:!0});var Gb=ya.default=void 0,bS=pS(l),mS=fS(Hb()),gS=(0,mS.default)(bS.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");Gb=ya.default=gS;var $i={},hS=En,vS=wn;Object.defineProperty($i,"__esModule",{value:!0});var qb=$i.default=void 0,yS=vS(l),$S=hS(Hb()),_S=(0,$S.default)(yS.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");qb=$i.default=_S;const xS=D.div`
|
|
1400
1604
|
--border-color: ${u.color_outline_secondary_enabled};
|
|
1401
1605
|
|
|
1402
1606
|
border-radius: ${u.border_radius_400};
|
|
@@ -1427,7 +1631,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1427
1631
|
font-size: 1rem;
|
|
1428
1632
|
fill: ${u.color_text_weak};
|
|
1429
1633
|
}
|
|
1430
|
-
`,
|
|
1634
|
+
`,ES=D(Wu)`
|
|
1431
1635
|
all: unset;
|
|
1432
1636
|
position: absolute;
|
|
1433
1637
|
right: 10px;
|
|
@@ -1448,7 +1652,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1448
1652
|
line-height: 0;
|
|
1449
1653
|
font-size: ${u.font_size_50};
|
|
1450
1654
|
}
|
|
1451
|
-
`,
|
|
1655
|
+
`,wS=D(ar)`
|
|
1452
1656
|
padding-left: 32px;
|
|
1453
1657
|
width: 100%;
|
|
1454
1658
|
|
|
@@ -1460,7 +1664,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1460
1664
|
&::-webkit-search-results-decoration {
|
|
1461
1665
|
-webkit-appearance: none;
|
|
1462
1666
|
}
|
|
1463
|
-
`,
|
|
1667
|
+
`,Yb=l.forwardRef((e,t)=>{const{label:r,size:n="small",placeholder:o="Search",disabled:a,readOnly:i,required:s,hideLabel:c,onChange:d,onClear:f,onSubmit:p,...b}=e,m={label:r,placeholder:o,onClear:f,onSubmit:p,onChange:d,isDisabled:a,isReadOnly:i,isRequired:s},h=CE(m),g=nt(t),{labelProps:v,inputProps:$,clearButtonProps:_}=IE(m,h,g);return oe(ir,{children:[C(Ze,{...v,srOnly:c,children:r}),oe(xS,{children:[C(Gb,{}),C(wS,{...$,ref:g,placeholder:o,paddingSize:n,...b}),h.value!==""&&C(ES,{..._,children:C(qb,{})})]})]})});Yb.displayName="Search";const Xb="Switch",[TS,rk]=xe(Xb),[SS,kS]=TS(Xb),PS=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:a,required:i,disabled:s,value:c="on",onCheckedChange:d,...f}=e,[p,b]=l.useState(null),m=le(t,_=>b(_)),h=l.useRef(!1),g=p?Boolean(p.closest("form")):!0,[v=!1,$]=Ce({prop:o,defaultProp:a,onChange:d});return l.createElement(SS,{scope:r,checked:v,disabled:s},l.createElement(J.button,S({type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":Zb(v),"data-disabled":s?"":void 0,disabled:s,value:c},f,{ref:m,onClick:U(e.onClick,_=>{$(E=>!E),g&&(h.current=_.isPropagationStopped(),h.current||_.stopPropagation())})})),g&&l.createElement(IS,{control:p,bubbles:!h.current,name:n,value:c,checked:v,required:i,disabled:s,style:{transform:"translateX(-100%)"}}))}),CS="SwitchThumb",DS=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=kS(CS,r);return l.createElement(J.span,S({"data-state":Zb(o.checked),"data-disabled":o.disabled?"":void 0},n,{ref:t}))}),IS=e=>{const{control:t,checked:r,bubbles:n=!0,...o}=e,a=l.useRef(null),i=tn(r),s=Br(t);return l.useEffect(()=>{const c=a.current,d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(i!==r&&p){const b=new Event("click",{bubbles:n});p.call(c,r),c.dispatchEvent(b)}},[i,r,n]),l.createElement("input",S({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 Zb(e){return e?"checked":"unchecked"}const OS=PS,AS=DS,NS=D(OS)`
|
|
1464
1668
|
all: unset;
|
|
1465
1669
|
width: 40px;
|
|
1466
1670
|
height: 24px;
|
|
@@ -1500,7 +1704,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1500
1704
|
&[aria-checked='true']:active {
|
|
1501
1705
|
background-color: ${u.color_fill_primary_pressed};
|
|
1502
1706
|
}
|
|
1503
|
-
`,
|
|
1707
|
+
`,zS=D(AS)`
|
|
1504
1708
|
--thumb-width: 18px;
|
|
1505
1709
|
display: block;
|
|
1506
1710
|
width: var(--thumb-width);
|
|
@@ -1519,83 +1723,24 @@ const theme2 = createTheme({ palette: {
|
|
|
1519
1723
|
&[data-state~='checked'] {
|
|
1520
1724
|
transform: translateX(19px);
|
|
1521
1725
|
}
|
|
1522
|
-
`,
|
|
1523
|
-
font-family: ${u.font_family_sans};
|
|
1524
|
-
font-style: var(--text-style, normal);
|
|
1525
|
-
font-weight: var(--text-font-weight, 400);
|
|
1526
|
-
color: var(--text-color, ${u.color_text_strong});
|
|
1527
|
-
margin-block: 0;
|
|
1528
|
-
`,ra=I(hr)`
|
|
1529
|
-
max-width: 60ch; /* should check with designers */
|
|
1530
|
-
`,Z5=I(ra)`
|
|
1531
|
-
letter-spacing: ${u.letter_spacing_body_large};
|
|
1532
|
-
line-height: ${u.line_height_body_large};
|
|
1533
|
-
font-size: ${u.font_size_body_large};
|
|
1534
|
-
`,Q5=I(ra)`
|
|
1535
|
-
letter-spacing: ${u.letter_spacing_body_medium};
|
|
1536
|
-
line-height: ${u.line_height_body_medium};
|
|
1537
|
-
font-size: ${u.font_size_body_medium};
|
|
1538
|
-
`,eE=I(ra)`
|
|
1539
|
-
letter-spacing: ${u.letter_spacing_body_small};
|
|
1540
|
-
line-height: ${u.line_height_body_small};
|
|
1541
|
-
font-size: ${u.font_size_body_small};
|
|
1542
|
-
`,tE={large:Z5,medium:Q5,small:eE};function rE({size:e="medium",...t}){const r=tE[e];return k(r,{...t})}const xn=I.p`
|
|
1543
|
-
font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
|
|
1544
|
-
font-family: ${u.font_family_sans};
|
|
1545
|
-
font-style: normal;
|
|
1546
|
-
font-weight: var(--text-font-weight, 400);
|
|
1547
|
-
color: var(--text-color, ${u.color_text_strong});
|
|
1548
|
-
margin-block: 0;
|
|
1549
|
-
`,nE=I(xn)`
|
|
1550
|
-
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
1551
|
-
line-height: ${u.line_height_number_xsmall};
|
|
1552
|
-
font-size: ${u.font_size_number_xsmall};
|
|
1553
|
-
`,oE=I(xn)`
|
|
1554
|
-
letter-spacing: ${u.letter_spacing_number_small};
|
|
1555
|
-
line-height: ${u.line_height_number_small};
|
|
1556
|
-
font-size: ${u.font_size_number_small};
|
|
1557
|
-
`,iE=I(xn)`
|
|
1558
|
-
letter-spacing: ${u.letter_spacing_number_medium};
|
|
1559
|
-
line-height: ${u.line_height_number_medium};
|
|
1560
|
-
font-size: ${u.font_size_number_medium};
|
|
1561
|
-
`,aE=I(xn)`
|
|
1562
|
-
letter-spacing: ${u.letter_spacing_number_large};
|
|
1563
|
-
line-height: ${u.line_height_number_large};
|
|
1564
|
-
font-size: ${u.font_size_number_large};
|
|
1565
|
-
`,sE={xsmall:nE,small:oE,medium:iE,large:aE};function lE({size:e="medium",...t}){const r=sE[e];return k(r,{...t})}const cE=I(hr)`
|
|
1566
|
-
letter-spacing: ${u.letter_spacing_number_small};
|
|
1567
|
-
line-height: ${u.line_height_number_small};
|
|
1568
|
-
font-size: ${u.font_size_number_small};
|
|
1569
|
-
`,uE=I(hr)`
|
|
1570
|
-
letter-spacing: ${u.letter_spacing_number_xsmall};
|
|
1571
|
-
line-height: ${u.line_height_number_xsmall};
|
|
1572
|
-
font-size: ${u.font_size_number_xsmall};
|
|
1573
|
-
`,dE=I(hr)`
|
|
1574
|
-
letter-spacing: ${u.letter_spacing_number_large};
|
|
1575
|
-
line-height: ${u.line_height_number_large};
|
|
1576
|
-
font-size: ${u.font_size_number_large};
|
|
1577
|
-
`,fE=I(hr)`
|
|
1578
|
-
letter-spacing: ${u.letter_spacing_number_medium};
|
|
1579
|
-
line-height: ${u.line_height_number_medium};
|
|
1580
|
-
font-size: ${u.font_size_number_medium};
|
|
1581
|
-
`,pE={xsmall:uE,small:cE,medium:fE,large:dE};function hE({size:e="medium",...t}){const r=pE[e];return k(r,{...t})}const mE={caption:hE,body:rE,number:lE},bE={normal:{standard:u.color_text_standard,strong:u.color_text_strong,weak:u.color_text_weak},sentiment:{positive:u.color_text_sentiment_positive,negative:u.color_text_sentiment_negative,notice:u.color_text_sentiment_notice,neutral:u.color_text_sentiment_neutral}},Np=l.forwardRef((e,t)=>{const{type:r="body",textType:n="normal",variant:o="standard",italic:i,bold:a,as:s,...c}=e,d=mE[r],p=bE[n][o];return k(d,{as:s,...c,ref:t,style:{"--text-font-weight":a?500:400,"--text-color":p,"--text-style":i?"italic":"normal"}})});Np.displayName="Text";const wn=I.h1`
|
|
1726
|
+
`,Jb=l.forwardRef((e,t)=>{const{disabled:r,...n}=e,o=Ju(r);return C(NS,{...n,...o,ref:t,children:C(zS,{})})});Jb.displayName="Switch";const An=D.h1`
|
|
1582
1727
|
font-family: ${u.font_family_inter_display};
|
|
1583
1728
|
font-style: normal;
|
|
1584
1729
|
font-weight: 500; /* don't really see value of using tokens for font-weight */
|
|
1585
1730
|
margin: 0;
|
|
1586
1731
|
padding-inline: 0;
|
|
1587
1732
|
color: ${u.color_text_strong};
|
|
1588
|
-
`,
|
|
1733
|
+
`,LS=D(An)`
|
|
1589
1734
|
font-size: ${u.font_size_title_large};
|
|
1590
1735
|
letter-spacing: ${u.letter_spacing_title_large};
|
|
1591
|
-
`,
|
|
1736
|
+
`,MS=D(An)`
|
|
1592
1737
|
font-size: ${u.font_size_title_medium};
|
|
1593
1738
|
letter-spacing: ${u.letter_spacing_title_medium};
|
|
1594
|
-
`,
|
|
1739
|
+
`,FS=D(An)`
|
|
1595
1740
|
font-size: ${u.font_size_title_small};
|
|
1596
1741
|
letter-spacing: ${u.letter_spacing_title_small};
|
|
1597
|
-
`,
|
|
1742
|
+
`,VS={xsmall:D(An)`
|
|
1598
1743
|
font-size: ${u.font_size_title_xsmall};
|
|
1599
1744
|
letter-spacing: ${u.letter_spacing_title_xsmall};
|
|
1600
|
-
`,small:
|
|
1745
|
+
`,small:FS,medium:MS,large:LS},Qb=l.forwardRef((e,t)=>{const{children:r,size:n,as:o,className:a,...i}=e,s=VS[n];return C(s,{...i,as:o,ref:t,className:a,children:r})});Qb.displayName="Title",M.AccessibleIcon=Xt,M.AlertDialog=mh,M.AlertDialogAction=hh,M.AlertDialogCancel=vh,M.AlertDialogContent=dh,M.AlertDialogDescription=ph,M.AlertDialogFooter=bh,M.AlertDialogTitle=fh,M.AlertDialogTrigger=gh,M.BreadcrumbItem=gc,M.BreadcrumbLink=pc,M.BreadcrumbListItem=No,M.Breadcrumbs=mc,M.Button=or,M.Checkbox=h$,M.Dialog=ih,M.DialogClose=lh,M.DialogCloseButton=ah,M.DialogContent=th,M.DialogDescription=nh,M.DialogFooter=oh,M.DialogTitle=rh,M.DialogTrigger=sh,M.Fieldset=my,M.FileUpload=Ud,M.FormControl=f$,M.Heading=Wd,M.IconButton=ta,M.IconTooltip=cr,M.Label=Ze,M.NumberFormControl=Zu,M.NumberInput=Wo,M.Page=Lx,M.PageContent=gf,M.PageGrid=mf,M.Pagination=Vx,M.PaginatorButton=vn,M.PaginatorNumber=yn,M.Popover=uc,M.PopoverClose=Oo,M.PopoverCloseCross=j0,M.PopoverContent=cc,M.PopoverTrigger=dc,M.Radio=$1,M.RadioGroup=y1,M.RadioGroupIndicator=Pf,M.RadioGroupRadio=kf,M.Search=Yb,M.Select=Vf,M.SelectContent=Mf,M.SelectGroup=wE,M.SelectGroupLabel=SE,M.SelectIcon=Kf,M.SelectItem=Bf,M.SelectItemIndicator=TE,M.SelectItemText=Uf,M.SelectScrollDownButton=Hf,M.SelectScrollUpButton=Wf,M.SelectSeparator=kE,M.SelectTrigger=jf,M.SelectValue=Rf,M.SelectViewport=EE,M.SingleSelect=PE,M.StyledFieldSet=yc,M.StyledTrigger=Lf,M.Switch=Jb,M.TabTriggerWithIcon=H_,M.TabsContent=G_,M.TabsList=W_,M.TabsRoot=U_,M.TabsTrigger=Qd,M.Text=Mt,M.TextAreaFormControl=Xu,M.TextFormControl=Yu,M.TextInput=Fo,M.Title=Qb,M.Toast=zx,M.ToastAction=kx,M.ToastClose=pf,M.ToastProvider=Nx,M.ToastSeparator=bf,M.ToastViewport=Ox,M.Tooltip=Sc,M.TooltipContent=kc,M.TooltipProvider=Tc,M.TooltipTrigger=Ko,M.contentShow=Qn,M.dialogWidths=eo,M.overlayShow=Jn,M.useFieldProps=ln,M.useFieldset=at,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})});
|
|
1601
1746
|
//# sourceMappingURL=trc-components.umd.js.map
|