diff --git a/docs/assets/base-80a1f760-99b14885.js b/docs/assets/base-80a1f760-fee06fa0.js similarity index 89% rename from docs/assets/base-80a1f760-99b14885.js rename to docs/assets/base-80a1f760-fee06fa0.js index d17b3b5c..fcd8bd37 100644 --- a/docs/assets/base-80a1f760-99b14885.js +++ b/docs/assets/base-80a1f760-fee06fa0.js @@ -1 +1 @@ -import{e as n}from"./index-f080bf8b.js";var p=function(){function o(t,i,e){e===void 0&&(e={}),this.status="idle",this.options=e,this.sandboxSetup=i,this.iframeSelector=t}return o.prototype.updateOptions=function(t){n(this.options,t)||(this.options=t,this.updateSandbox())},o.prototype.updateSandbox=function(t,i){throw t===void 0&&(t=this.sandboxSetup),Error("Method not implemented")},o.prototype.destroy=function(){throw Error("Method not implemented")},o.prototype.dispatch=function(t){throw Error("Method not implemented")},o.prototype.listen=function(t){throw Error("Method not implemented")},o}();export{p as S}; +import{e as n}from"./index-07cd123f.js";var p=function(){function o(t,i,e){e===void 0&&(e={}),this.status="idle",this.options=e,this.sandboxSetup=i,this.iframeSelector=t}return o.prototype.updateOptions=function(t){n(this.options,t)||(this.options=t,this.updateSandbox())},o.prototype.updateSandbox=function(t,i){throw t===void 0&&(t=this.sandboxSetup),Error("Method not implemented")},o.prototype.destroy=function(){throw Error("Method not implemented")},o.prototype.dispatch=function(t){throw Error("Method not implemented")},o.prototype.listen=function(t){throw Error("Method not implemented")},o}();export{p as S}; diff --git a/docs/assets/consoleHook-cdbe54ab-3ae42ddb.js b/docs/assets/consoleHook-cdbe54ab-a66d692b.js similarity index 99% rename from docs/assets/consoleHook-cdbe54ab-3ae42ddb.js rename to docs/assets/consoleHook-cdbe54ab-a66d692b.js index 829f0ce9..44219598 100644 --- a/docs/assets/consoleHook-cdbe54ab-3ae42ddb.js +++ b/docs/assets/consoleHook-cdbe54ab-a66d692b.js @@ -1,2 +1,2 @@ -import{d as h,i as M}from"./index-f080bf8b.js";var k=function(){function t(){this.listeners={},this.listenersCount=0,this.channelId=Math.floor(Math.random()*1e6),this.listeners=[]}return t.prototype.cleanup=function(){this.listeners={},this.listenersCount=0},t.prototype.dispatch=function(r){Object.values(this.listeners).forEach(function(e){return e(r)})},t.prototype.listener=function(r){var e=this;if(typeof r!="function")return function(){};var s=this.listenersCount;return this.listeners[s]=r,this.listenersCount++,function(){delete e.listeners[s]}},t}();function v(t){return/[a-zA-Z.]/.test(t)}function b(t){return/[a-zA-Z]/.test(t)}function S(t){return/\s/.test(t)}function y(t){return/[&|]/.test(t)}function g(t){return/-/.test(t)}function w(t){return/["']/.test(t)}function _(t){return b(t)&&t===t.toUpperCase()}var a;(function(t){t.OR="OR",t.AND="AND",t.PIPE="PIPE",t.Command="Command",t.Argument="Argument",t.String="String",t.EnvVar="EnvVar"})(a||(a={}));var O=new Map([["&&",{type:a.AND}],["||",{type:a.OR}],["|",{type:a.PIPE}],["-",{type:a.Argument}]]);function E(t){var r=0,e=[];function s(){for(var n="";v(t[r])&&r-1){var n=this.circularCandidatesDescrs[e];return-1===n.refIdx&&(n.refIdx=n.parent?++this.circularRefCount:0),t._createRefMark(n.refIdx)}return null},t.prototype._handleValue=function(t,r,e){try{var n=t(),a=typeof n,o="object"===a&&null!==n;if(o){var i=this._ensureCircularReference(n);if(i)return i}var u=this._findTransform(a,n);return u?this._applyTransform(n,r,e,u):o?this._handleObject(n,r,e):n}catch(t){try{return this._handleValue((function(){return t instanceof Error?t:new Error(t)}),r,e)}catch(t){return null}}},t.prototype._makeTransformsMap=function(){if(o){var t=new Map;return this.transforms.forEach((function(r){r.lookup&&t.set(r.lookup,r)})),t}},t.prototype._findTransform=function(t,r){if(o&&r&&r.constructor&&(null==(a=this.transformsMap.get(r.constructor))?void 0:a.shouldTransform(t,r)))return a;for(var e=0,n=this.transforms;e0&&(e[o.refIdx]=o.parent[o.key],o.parent[o.key]=t._createRefMark(o.refIdx))}return e},t}(),l=function(){function t(t,r){this.activeTransformsStack=[],this.visitedRefs=Object.create(null),this.references=t,this.transformMap=r}return t.prototype._handlePlainObject=function(t){var r=Object.create(null);for(var n in"constructor"in t&&(t.constructor&&"string"==typeof t.constructor.name||(t.constructor={name:"Object"})),t)t.hasOwnProperty(n)&&(this._handleValue(t[n],t,n),e.test(n)&&(r[n.substring(1)]=t[n],delete t[n]));for(var a in r)t[a]=r[a]},t.prototype._handleTransformedObject=function(t,e,n){var a=t[r],o=this.transformMap[a];if(!o)throw new Error("Can't find transform for \\""+a+'" type.');this.activeTransformsStack.push(t),this._handleValue(t.data,t,"data"),this.activeTransformsStack.pop(),e[n]=o.fromSerializable(t.data)},t.prototype._handleCircularSelfRefDuringTransform=function(t,r,e){var n=this.references;Object.defineProperty(r,e,{val:void 0,configurable:!0,enumerable:!0,get:function(){return void 0===this.val&&(this.val=n[t]),this.val},set:function(t){this.val=t}})},t.prototype._handleCircularRef=function(t,r,e){this.activeTransformsStack.includes(this.references[t])?this._handleCircularSelfRefDuringTransform(t,r,e):(this.visitedRefs[t]||(this.visitedRefs[t]=!0,this._handleValue(this.references[t],this.references,t)),r[e]=this.references[t])},t.prototype._handleValue=function(t,e,n){if("object"==typeof t&&null!==t){var a=t["@r"];if(void 0!==a)this._handleCircularRef(a,e,n);else if(t[r])this._handleTransformedObject(t,e,n);else if(Array.isArray(t))for(var o=0;o-1&&this.transforms.splice(a,1),delete this.transformsMap[n.type]}return this},t.prototype.encode=function(t){var r=new c(t,this.transforms).transform();return this.serializer.serialize(r)},t.prototype.decode=function(t){var r=this.serializer.deserialize(t);return new l(r,this.transformsMap).transform()},t}();t.default=p}(z);var E=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};S.__esModule=!0,S.Decode=P=S.Encode=void 0;var k=E(O),C=E(w),D=E(A),I=E(j),N=E(z),R=[D.default,C.default,k.default,I.default],x=new N.default;x.addTransforms(R);var P=S.Encode=function(t){return JSON.parse(x.encode(t))};S.Decode=function(t){return x.decode(JSON.stringify(t))},function(r){var e=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};r.__esModule=!0;var a=e(n),i=e(o),u=S;r.default=function(t,r,e){void 0===e&&(e=!0);for(var n=t,o={pointers:{},src:{npm:"https://npmjs.com/package/console-feed",github:"https://github.com/samdenty99/console-feed"}},s=function(t){var a=n[t];n[t]=function(){a.apply(this,arguments);var n=[].slice.call(arguments);setTimeout((function(){var a=i.default(t,n);if(a){var o=a;e&&(o=u.Encode(a)),r(o,a)}}))},o.pointers[t]=a},f=0,c=a.default;f-1){var n=this.circularCandidatesDescrs[e];return-1===n.refIdx&&(n.refIdx=n.parent?++this.circularRefCount:0),t._createRefMark(n.refIdx)}return null},t.prototype._handleValue=function(t,r,e){try{var n=t(),a=typeof n,o="object"===a&&null!==n;if(o){var i=this._ensureCircularReference(n);if(i)return i}var u=this._findTransform(a,n);return u?this._applyTransform(n,r,e,u):o?this._handleObject(n,r,e):n}catch(t){try{return this._handleValue((function(){return t instanceof Error?t:new Error(t)}),r,e)}catch(t){return null}}},t.prototype._makeTransformsMap=function(){if(o){var t=new Map;return this.transforms.forEach((function(r){r.lookup&&t.set(r.lookup,r)})),t}},t.prototype._findTransform=function(t,r){if(o&&r&&r.constructor&&(null==(a=this.transformsMap.get(r.constructor))?void 0:a.shouldTransform(t,r)))return a;for(var e=0,n=this.transforms;e0&&(e[o.refIdx]=o.parent[o.key],o.parent[o.key]=t._createRefMark(o.refIdx))}return e},t}(),l=function(){function t(t,r){this.activeTransformsStack=[],this.visitedRefs=Object.create(null),this.references=t,this.transformMap=r}return t.prototype._handlePlainObject=function(t){var r=Object.create(null);for(var n in"constructor"in t&&(t.constructor&&"string"==typeof t.constructor.name||(t.constructor={name:"Object"})),t)t.hasOwnProperty(n)&&(this._handleValue(t[n],t,n),e.test(n)&&(r[n.substring(1)]=t[n],delete t[n]));for(var a in r)t[a]=r[a]},t.prototype._handleTransformedObject=function(t,e,n){var a=t[r],o=this.transformMap[a];if(!o)throw new Error("Can't find transform for \\""+a+'" type.');this.activeTransformsStack.push(t),this._handleValue(t.data,t,"data"),this.activeTransformsStack.pop(),e[n]=o.fromSerializable(t.data)},t.prototype._handleCircularSelfRefDuringTransform=function(t,r,e){var n=this.references;Object.defineProperty(r,e,{val:void 0,configurable:!0,enumerable:!0,get:function(){return void 0===this.val&&(this.val=n[t]),this.val},set:function(t){this.val=t}})},t.prototype._handleCircularRef=function(t,r,e){this.activeTransformsStack.includes(this.references[t])?this._handleCircularSelfRefDuringTransform(t,r,e):(this.visitedRefs[t]||(this.visitedRefs[t]=!0,this._handleValue(this.references[t],this.references,t)),r[e]=this.references[t])},t.prototype._handleValue=function(t,e,n){if("object"==typeof t&&null!==t){var a=t["@r"];if(void 0!==a)this._handleCircularRef(a,e,n);else if(t[r])this._handleTransformedObject(t,e,n);else if(Array.isArray(t))for(var o=0;o-1&&this.transforms.splice(a,1),delete this.transformsMap[n.type]}return this},t.prototype.encode=function(t){var r=new c(t,this.transforms).transform();return this.serializer.serialize(r)},t.prototype.decode=function(t){var r=this.serializer.deserialize(t);return new l(r,this.transformsMap).transform()},t}();t.default=p}(z);var E=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};S.__esModule=!0,S.Decode=P=S.Encode=void 0;var k=E(O),C=E(w),D=E(A),I=E(j),N=E(z),R=[D.default,C.default,k.default,I.default],x=new N.default;x.addTransforms(R);var P=S.Encode=function(t){return JSON.parse(x.encode(t))};S.Decode=function(t){return x.decode(JSON.stringify(t))},function(r){var e=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};r.__esModule=!0;var a=e(n),i=e(o),u=S;r.default=function(t,r,e){void 0===e&&(e=!0);for(var n=t,o={pointers:{},src:{npm:"https://npmjs.com/package/console-feed",github:"https://github.com/samdenty99/console-feed"}},s=function(t){var a=n[t];n[t]=function(){a.apply(this,arguments);var n=[].slice.call(arguments);setTimeout((function(){var a=i.default(t,n);if(a){var o=a;e&&(o=u.Encode(a)),r(o,a)}}))},o.pointers[t]=a},f=0,c=a.default;fn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var h3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pz={exports:{}},o1={},Fz={exports:{}},Bt={};/** +function jue(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var v3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rz={exports:{}},c1={},Tz={exports:{}},Bt={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Nue(e,t){for(var r=0;r>>1,Q=q[W];if(0>>1;Wi(ee,A))uei(se,ee)?(q[W]=se,q[ue]=A,W=ue):(q[W]=ee,q[H]=A,W=H);else if(uei(se,A))q[W]=se,q[ue]=A,W=ue;else break e}}return U}function i(q,U){var A=q.sortIndex-U.sortIndex;return A!==0?A:q.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(q){for(var U=r(c);U!==null;){if(U.callback===null)n(c);else if(U.startTime<=q)n(c),U.sortIndex=U.expirationTime,t(u,U);else break;U=r(c)}}function S(q){if(g=!1,$(q),!m)if(r(u)!==null)m=!0,j(k);else{var U=r(c);U!==null&&Z(S,U.startTime-q)}}function k(q,U){m=!1,g&&(g=!1,v(E),E=-1),p=!0;var A=h;try{for($(U),f=r(u);f!==null&&(!(f.expirationTime>U)||q&&!T());){var W=f.callback;if(typeof W=="function"){f.callback=null,h=f.priorityLevel;var Q=W(f.expirationTime<=U);U=e.unstable_now(),typeof Q=="function"?f.callback=Q:f===r(u)&&n(u),$(U)}else n(u);f=r(u)}if(f!==null)var I=!0;else{var H=r(c);H!==null&&Z(S,H.startTime-U),I=!1}return I}finally{f=null,h=A,p=!1}}var C=!1,F=null,E=-1,M=5,D=-1;function T(){return!(e.unstable_now()-Dq||125W?(q.sortIndex=A,t(c,q),r(u)===null&&q===r(c)&&(g?(v(E),E=-1):g=!0,Z(S,A-W))):(q.sortIndex=Q,t(u,q),m||p||(m=!0,j(k))),q},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(q){var U=h;return function(){var A=h;h=U;try{return q.apply(this,arguments)}finally{h=A}}}})(Qz);Lz.exports=Qz;var oce=Lz.exports;/** + */(function(e){function t(q,U){var A=q.length;q.push(U);e:for(;0>>1,V=q[j];if(0>>1;ji(ee,A))sei(le,ee)?(q[j]=le,q[se]=A,j=se):(q[j]=ee,q[Y]=A,j=Y);else if(sei(le,A))q[j]=le,q[se]=A,j=se;else break e}}return U}function i(q,U){var A=q.sortIndex-U.sortIndex;return A!==0?A:q.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(q){for(var U=r(c);U!==null;){if(U.callback===null)n(c);else if(U.startTime<=q)n(c),U.sortIndex=U.expirationTime,t(u,U);else break;U=r(c)}}function S(q){if(g=!1,y(q),!m)if(r(u)!==null)m=!0,W(k);else{var U=r(c);U!==null&&Z(S,U.startTime-q)}}function k(q,U){m=!1,g&&(g=!1,v(E),E=-1),p=!0;var A=h;try{for(y(U),f=r(u);f!==null&&(!(f.expirationTime>U)||q&&!R());){var j=f.callback;if(typeof j=="function"){f.callback=null,h=f.priorityLevel;var V=j(f.expirationTime<=U);U=e.unstable_now(),typeof V=="function"?f.callback=V:f===r(u)&&n(u),y(U)}else n(u);f=r(u)}if(f!==null)var I=!0;else{var Y=r(c);Y!==null&&Z(S,Y.startTime-U),I=!1}return I}finally{f=null,h=A,p=!1}}var C=!1,F=null,E=-1,M=5,D=-1;function R(){return!(e.unstable_now()-Dq||125j?(q.sortIndex=A,t(c,q),r(u)===null&&q===r(c)&&(g?(v(E),E=-1):g=!0,Z(S,A-j))):(q.sortIndex=V,t(u,q),m||p||(m=!0,W(k))),q},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(q){var U=h;return function(){var A=h;h=U;try{return q.apply(this,arguments)}finally{h=A}}}})(Wz);jz.exports=Wz;var fce=jz.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Nue(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m3=Object.prototype.hasOwnProperty,sce=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,PM={},FM={};function uce(e){return m3.call(FM,e)?!0:m3.call(PM,e)?!1:sce.test(e)?FM[e]=!0:(PM[e]=!0,!1)}function cce(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function dce(e,t,r,n){if(t===null||typeof t>"u"||cce(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ki(e,t,r,n,i,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Hn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Hn[e]=new ki(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Hn[t]=new ki(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Hn[e]=new ki(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Hn[e]=new ki(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Hn[e]=new ki(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Hn[e]=new ki(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Hn[e]=new ki(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Hn[e]=new ki(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Hn[e]=new ki(e,5,!1,e.toLowerCase(),null,!1,!1)});var DT=/[\-:]([a-z])/g;function TT(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(DT,TT);Hn[t]=new ki(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(DT,TT);Hn[t]=new ki(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(DT,TT);Hn[t]=new ki(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Hn[e]=new ki(e,1,!1,e.toLowerCase(),null,!1,!1)});Hn.xlinkHref=new ki("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Hn[e]=new ki(e,1,!1,e.toLowerCase(),null,!0,!0)});function RT(e,t,r,n){var i=Hn.hasOwnProperty(t)?Hn[t]:null;(i!==null?i.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y3=Object.prototype.hasOwnProperty,hce=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,DM={},RM={};function pce(e){return y3.call(RM,e)?!0:y3.call(DM,e)?!1:hce.test(e)?RM[e]=!0:(DM[e]=!0,!1)}function mce(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gce(e,t,r,n){if(t===null||typeof t>"u"||mce(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ki(e,t,r,n,i,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Hn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Hn[e]=new ki(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Hn[t]=new ki(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Hn[e]=new ki(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Hn[e]=new ki(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Hn[e]=new ki(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Hn[e]=new ki(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Hn[e]=new ki(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Hn[e]=new ki(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Hn[e]=new ki(e,5,!1,e.toLowerCase(),null,!1,!1)});var IR=/[\-:]([a-z])/g;function MR(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(IR,MR);Hn[t]=new ki(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(IR,MR);Hn[t]=new ki(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(IR,MR);Hn[t]=new ki(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Hn[e]=new ki(e,1,!1,e.toLowerCase(),null,!1,!1)});Hn.xlinkHref=new ki("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Hn[e]=new ki(e,1,!1,e.toLowerCase(),null,!0,!0)});function BR(e,t,r,n){var i=Hn.hasOwnProperty(t)?Hn[t]:null;(i!==null?i.type!==0:n||!(2s||i[l]!==a[s]){var u=` -`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{Wb=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?of(e):""}function fce(e){switch(e.tag){case 5:return of(e.type);case 16:return of("Lazy");case 13:return of("Suspense");case 19:return of("SuspenseList");case 0:case 2:case 15:return e=Zb(e.type,!1),e;case 11:return e=Zb(e.type.render,!1),e;case 1:return e=Zb(e.type,!0),e;default:return""}}function y3(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case nc:return"Fragment";case rc:return"Portal";case g3:return"Profiler";case IT:return"StrictMode";case v3:return"Suspense";case b3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wz:return(e.displayName||"Context")+".Consumer";case jz:return(e._context.displayName||"Context")+".Provider";case MT:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case BT:return t=e.displayName||null,t!==null?t:y3(e.type)||"Memo";case Qo:t=e._payload,e=e._init;try{return y3(e(t))}catch{}}return null}function hce(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return y3(t);case 8:return t===IT?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function hs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uz(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pce(e){var t=Uz(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sp(e){e._valueTracker||(e._valueTracker=pce(e))}function qz(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Uz(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function cg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function $3(e,t){var r=t.checked;return Wr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function DM(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=hs(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Hz(e,t){t=t.checked,t!=null&&RT(e,"checked",t,!1)}function O3(e,t){Hz(e,t);var r=hs(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?x3(e,t.type,r):t.hasOwnProperty("defaultValue")&&x3(e,t.type,hs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function TM(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function x3(e,t,r){(t!=="number"||cg(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var sf=Array.isArray;function Sc(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=wp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Of={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mce=["Webkit","ms","Moz","O"];Object.keys(Of).forEach(function(e){mce.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Of[t]=Of[e]})});function Xz(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Of.hasOwnProperty(e)&&Of[e]?(""+t).trim():t+"px"}function Jz(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Xz(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var gce=Wr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function k3(e,t){if(t){if(gce[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ye(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ye(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ye(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ye(62))}}function C3(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var E3=null;function _T(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var P3=null,wc=null,kc=null;function MM(e){if(e=Mh(e)){if(typeof P3!="function")throw Error(ye(280));var t=e.stateNode;t&&(t=f1(t),P3(e.stateNode,e.type,t))}}function ej(e){wc?kc?kc.push(e):kc=[e]:wc=e}function tj(){if(wc){var e=wc,t=kc;if(kc=wc=null,MM(e),t)for(e=0;e>>=0,e===0?32:31-(Ece(e)/Pce|0)|0}var kp=64,Cp=4194304;function uf(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pg(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var s=l&~i;s!==0?n=uf(s):(a&=l,a!==0&&(n=uf(a)))}else l=r&~i,l!==0?n=uf(l):a!==0&&(n=uf(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Rh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ka(t),e[t]=r}function Tce(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=Sf),WM=String.fromCharCode(32),ZM=!1;function Oj(e,t){switch(e){case"keyup":return lde.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xj(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ic=!1;function sde(e,t){switch(e){case"compositionend":return xj(t);case"keypress":return t.which!==32?null:(ZM=!0,WM);case"textInput":return e=t.data,e===WM&&ZM?null:e;default:return null}}function ude(e,t){if(ic)return e==="compositionend"||!ZT&&Oj(e,t)?(e=yj(),Im=zT=Ko=null,ic=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=KM(r)}}function Cj(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cj(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ej(){for(var e=window,t=cg();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=cg(e.document)}return t}function UT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bde(e){var t=Ej(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Cj(r.ownerDocument.documentElement,r)){if(n!==null&&UT(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=YM(r,a);var l=YM(r,n);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ac=null,I3=null,kf=null,M3=!1;function GM(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;M3||ac==null||ac!==cg(n)||(n=ac,"selectionStart"in n&&UT(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),kf&&Kf(kf,n)||(kf=n,n=vg(I3,"onSelect"),0sc||(e.current=V3[sc],V3[sc]=null,sc--)}function kr(e,t){sc++,V3[sc]=e.current,e.current=t}var ps={},ui=Ts(ps),_i=Ts(!1),pu=ps;function Vc(e,t){var r=e.type.contextTypes;if(!r)return ps;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ni(e){return e=e.childContextTypes,e!=null}function yg(){Dr(_i),Dr(ui)}function iB(e,t,r){if(ui.current!==ps)throw Error(ye(168));kr(ui,t),kr(_i,r)}function Bj(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(ye(108,hce(e)||"Unknown",i));return Wr({},r,n)}function $g(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ps,pu=ui.current,kr(ui,e),kr(_i,_i.current),!0}function aB(e,t,r){var n=e.stateNode;if(!n)throw Error(ye(169));r?(e=Bj(e,t,pu),n.__reactInternalMemoizedMergedChildContext=e,Dr(_i),Dr(ui),kr(ui,e)):Dr(_i),kr(_i,r)}var no=null,h1=!1,ay=!1;function _j(e){no===null?no=[e]:no.push(e)}function Ade(e){h1=!0,_j(e)}function Rs(){if(!ay&&no!==null){ay=!0;var e=0,t=ar;try{var r=no;for(ar=1;e>=l,i-=l,oo=1<<32-Ka(t)+i|r<E?(M=F,F=null):M=F.sibling;var D=h(v,F,$[E],S);if(D===null){F===null&&(F=M);break}e&&F&&D.alternate===null&&t(v,F),y=a(D,y,E),C===null?k=D:C.sibling=D,C=D,F=M}if(E===$.length)return r(v,F),Br&&Hs(v,E),k;if(F===null){for(;E<$.length;E++)F=f(v,$[E],S),F!==null&&(y=a(F,y,E),C===null?k=F:C.sibling=F,C=F);return Br&&Hs(v,E),k}for(F=n(v,F);E<$.length;E++)M=p(F,v,E,$[E],S),M!==null&&(e&&M.alternate!==null&&F.delete(M.key===null?E:M.key),y=a(M,y,E),C===null?k=M:C.sibling=M,C=M);return e&&F.forEach(function(T){return t(v,T)}),Br&&Hs(v,E),k}function g(v,y,$,S){var k=Td($);if(typeof k!="function")throw Error(ye(150));if($=k.call($),$==null)throw Error(ye(151));for(var C=k=null,F=y,E=y=0,M=null,D=$.next();F!==null&&!D.done;E++,D=$.next()){F.index>E?(M=F,F=null):M=F.sibling;var T=h(v,F,D.value,S);if(T===null){F===null&&(F=M);break}e&&F&&T.alternate===null&&t(v,F),y=a(T,y,E),C===null?k=T:C.sibling=T,C=T,F=M}if(D.done)return r(v,F),Br&&Hs(v,E),k;if(F===null){for(;!D.done;E++,D=$.next())D=f(v,D.value,S),D!==null&&(y=a(D,y,E),C===null?k=D:C.sibling=D,C=D);return Br&&Hs(v,E),k}for(F=n(v,F);!D.done;E++,D=$.next())D=p(F,v,E,D.value,S),D!==null&&(e&&D.alternate!==null&&F.delete(D.key===null?E:D.key),y=a(D,y,E),C===null?k=D:C.sibling=D,C=D);return e&&F.forEach(function(B){return t(v,B)}),Br&&Hs(v,E),k}function b(v,y,$,S){if(typeof $=="object"&&$!==null&&$.type===nc&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case xp:e:{for(var k=$.key,C=y;C!==null;){if(C.key===k){if(k=$.type,k===nc){if(C.tag===7){r(v,C.sibling),y=i(C,$.props.children),y.return=v,v=y;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Qo&&fB(k)===C.type){r(v,C.sibling),y=i(C,$.props),y.ref=_d(v,C,$),y.return=v,v=y;break e}r(v,C);break}else t(v,C);C=C.sibling}$.type===nc?(y=cu($.props.children,v.mode,S,$.key),y.return=v,v=y):(S=zm($.type,$.key,$.props,null,v.mode,S),S.ref=_d(v,y,$),S.return=v,v=S)}return l(v);case rc:e:{for(C=$.key;y!==null;){if(y.key===C)if(y.tag===4&&y.stateNode.containerInfo===$.containerInfo&&y.stateNode.implementation===$.implementation){r(v,y.sibling),y=i(y,$.children||[]),y.return=v,v=y;break e}else{r(v,y);break}else t(v,y);y=y.sibling}y=hy($,v.mode,S),y.return=v,v=y}return l(v);case Qo:return C=$._init,b(v,y,C($._payload),S)}if(sf($))return m(v,y,$,S);if(Td($))return g(v,y,$,S);Rp(v,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,y!==null&&y.tag===6?(r(v,y.sibling),y=i(y,$),y.return=v,v=y):(r(v,y),y=fy($,v.mode,S),y.return=v,v=y),l(v)):r(v,y)}return b}var jc=Zj(!0),Uj=Zj(!1),Bh={},Tl=Ts(Bh),Jf=Ts(Bh),eh=Ts(Bh);function nu(e){if(e===Bh)throw Error(ye(174));return e}function tR(e,t){switch(kr(eh,t),kr(Jf,e),kr(Tl,Bh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:w3(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=w3(t,e)}Dr(Tl),kr(Tl,t)}function Wc(){Dr(Tl),Dr(Jf),Dr(eh)}function qj(e){nu(eh.current);var t=nu(Tl.current),r=w3(t,e.type);t!==r&&(kr(Jf,e),kr(Tl,r))}function rR(e){Jf.current===e&&(Dr(Tl),Dr(Jf))}var Lr=Ts(0);function Cg(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ly=[];function nR(){for(var e=0;er?r:4,e(!0);var n=oy.transition;oy.transition={};try{e(!1),t()}finally{ar=r,oy.transition=n}}function uW(){return Da().memoizedState}function Ide(e,t,r){var n=ss(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},cW(e))dW(t,r);else if(r=Vj(e,t,r,n),r!==null){var i=$i();Ya(r,e,n,i),fW(r,t,n)}}function Mde(e,t,r){var n=ss(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(cW(e))dW(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(i.hasEagerState=!0,i.eagerState=s,Xa(s,l)){var u=t.interleaved;u===null?(i.next=i,JT(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}r=Vj(e,t,i,n),r!==null&&(i=$i(),Ya(r,e,n,i),fW(r,t,n))}}function cW(e){var t=e.alternate;return e===zr||t!==null&&t===zr}function dW(e,t){Cf=Eg=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function fW(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,LT(e,r)}}var Pg={readContext:Aa,useCallback:Xn,useContext:Xn,useEffect:Xn,useImperativeHandle:Xn,useInsertionEffect:Xn,useLayoutEffect:Xn,useMemo:Xn,useReducer:Xn,useRef:Xn,useState:Xn,useDebugValue:Xn,useDeferredValue:Xn,useTransition:Xn,useMutableSource:Xn,useSyncExternalStore:Xn,useId:Xn,unstable_isNewReconciler:!1},Bde={readContext:Aa,useCallback:function(e,t){return vl().memoizedState=[e,t===void 0?null:t],e},useContext:Aa,useEffect:pB,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Nm(4194308,4,iW.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Nm(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nm(4,2,e,t)},useMemo:function(e,t){var r=vl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=vl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Ide.bind(null,zr,e),[n.memoizedState,e]},useRef:function(e){var t=vl();return e={current:e},t.memoizedState=e},useState:hB,useDebugValue:sR,useDeferredValue:function(e){return vl().memoizedState=e},useTransition:function(){var e=hB(!1),t=e[0];return e=Rde.bind(null,e[1]),vl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=zr,i=vl();if(Br){if(r===void 0)throw Error(ye(407));r=r()}else{if(r=t(),Bn===null)throw Error(ye(349));gu&30||Yj(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,pB(Xj.bind(null,n,a,e),[e]),n.flags|=2048,nh(9,Gj.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=vl(),t=Bn.identifierPrefix;if(Br){var r=so,n=oo;r=(n&~(1<<32-Ka(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=th++,0")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{qb=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?uf(e):""}function vce(e){switch(e.tag){case 5:return uf(e.type);case 16:return uf("Lazy");case 13:return uf("Suspense");case 19:return uf("SuspenseList");case 0:case 2:case 15:return e=Hb(e.type,!1),e;case 11:return e=Hb(e.type.render,!1),e;case 1:return e=Hb(e.type,!0),e;default:return""}}function S3(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case nc:return"Fragment";case rc:return"Portal";case $3:return"Profiler";case _R:return"StrictMode";case O3:return"Suspense";case x3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hz:return(e.displayName||"Context")+".Consumer";case qz:return(e._context.displayName||"Context")+".Provider";case NR:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case LR:return t=e.displayName||null,t!==null?t:S3(e.type)||"Memo";case Qo:t=e._payload,e=e._init;try{return S3(e(t))}catch{}}return null}function bce(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return S3(t);case 8:return t===_R?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ps(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yz(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yce(e){var t=Yz(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kp(e){e._valueTracker||(e._valueTracker=yce(e))}function Gz(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Yz(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function hg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function w3(e,t){var r=t.checked;return Wr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function IM(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ps(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xz(e,t){t=t.checked,t!=null&&BR(e,"checked",t,!1)}function k3(e,t){Xz(e,t);var r=ps(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?C3(e,t.type,r):t.hasOwnProperty("defaultValue")&&C3(e,t.type,ps(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function MM(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function C3(e,t,r){(t!=="number"||hg(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var cf=Array.isArray;function wc(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Cp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Sf={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$ce=["Webkit","ms","Moz","O"];Object.keys(Sf).forEach(function(e){$ce.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Sf[t]=Sf[e]})});function rj(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Sf.hasOwnProperty(e)&&Sf[e]?(""+t).trim():t+"px"}function nj(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=rj(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var Oce=Wr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F3(e,t){if(t){if(Oce[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($e(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($e(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($e(61))}if(t.style!=null&&typeof t.style!="object")throw Error($e(62))}}function A3(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var D3=null;function VR(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var R3=null,kc=null,Cc=null;function NM(e){if(e=_h(e)){if(typeof R3!="function")throw Error($e(280));var t=e.stateNode;t&&(t=m1(t),R3(e.stateNode,e.type,t))}}function ij(e){kc?Cc?Cc.push(e):Cc=[e]:kc=e}function aj(){if(kc){var e=kc,t=Cc;if(Cc=kc=null,NM(e),t)for(e=0;e>>=0,e===0?32:31-(Rce(e)/Tce|0)|0}var Ep=64,Pp=4194304;function df(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function vg(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var s=l&~i;s!==0?n=df(s):(a&=l,a!==0&&(n=df(a)))}else l=r&~i,l!==0?n=df(l):a!==0&&(n=df(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Mh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ka(t),e[t]=r}function _ce(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=kf),qM=String.fromCharCode(32),HM=!1;function kj(e,t){switch(e){case"keyup":return dde.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cj(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ic=!1;function hde(e,t){switch(e){case"compositionend":return Cj(t);case"keypress":return t.which!==32?null:(HM=!0,qM);case"textInput":return e=t.data,e===qM&&HM?null:e;default:return null}}function pde(e,t){if(ic)return e==="compositionend"||!HR&&kj(e,t)?(e=Sj(),_m=ZR=Yo=null,ic=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=XM(r)}}function Aj(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Aj(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dj(){for(var e=window,t=hg();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=hg(e.document)}return t}function KR(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Sde(e){var t=Dj(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Aj(r.ownerDocument.documentElement,r)){if(n!==null&&KR(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=JM(r,a);var l=JM(r,n);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ac=null,N3=null,Ef=null,L3=!1;function eB(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;L3||ac==null||ac!==hg(n)||(n=ac,"selectionStart"in n&&KR(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ef&&Yf(Ef,n)||(Ef=n,n=$g(N3,"onSelect"),0sc||(e.current=Z3[sc],Z3[sc]=null,sc--)}function kr(e,t){sc++,Z3[sc]=e.current,e.current=t}var ms={},ui=Ts(ms),Ni=Ts(!1),pu=ms;function zc(e,t){var r=e.type.contextTypes;if(!r)return ms;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Li(e){return e=e.childContextTypes,e!=null}function xg(){Dr(Ni),Dr(ui)}function oB(e,t,r){if(ui.current!==ms)throw Error($e(168));kr(ui,t),kr(Ni,r)}function Vj(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error($e(108,bce(e)||"Unknown",i));return Wr({},r,n)}function Sg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ms,pu=ui.current,kr(ui,e),kr(Ni,Ni.current),!0}function sB(e,t,r){var n=e.stateNode;if(!n)throw Error($e(169));r?(e=Vj(e,t,pu),n.__reactInternalMemoizedMergedChildContext=e,Dr(Ni),Dr(ui),kr(ui,e)):Dr(Ni),kr(Ni,r)}var no=null,g1=!1,sy=!1;function Qj(e){no===null?no=[e]:no.push(e)}function Mde(e){g1=!0,Qj(e)}function Is(){if(!sy&&no!==null){sy=!0;var e=0,t=lr;try{var r=no;for(lr=1;e>=l,i-=l,oo=1<<32-Ka(t)+i|r<E?(M=F,F=null):M=F.sibling;var D=h(v,F,y[E],S);if(D===null){F===null&&(F=M);break}e&&F&&D.alternate===null&&t(v,F),$=a(D,$,E),C===null?k=D:C.sibling=D,C=D,F=M}if(E===y.length)return r(v,F),Br&&Hs(v,E),k;if(F===null){for(;EE?(M=F,F=null):M=F.sibling;var R=h(v,F,D.value,S);if(R===null){F===null&&(F=M);break}e&&F&&R.alternate===null&&t(v,F),$=a(R,$,E),C===null?k=R:C.sibling=R,C=R,F=M}if(D.done)return r(v,F),Br&&Hs(v,E),k;if(F===null){for(;!D.done;E++,D=y.next())D=f(v,D.value,S),D!==null&&($=a(D,$,E),C===null?k=D:C.sibling=D,C=D);return Br&&Hs(v,E),k}for(F=n(v,F);!D.done;E++,D=y.next())D=p(F,v,E,D.value,S),D!==null&&(e&&D.alternate!==null&&F.delete(D.key===null?E:D.key),$=a(D,$,E),C===null?k=D:C.sibling=D,C=D);return e&&F.forEach(function(B){return t(v,B)}),Br&&Hs(v,E),k}function b(v,$,y,S){if(typeof y=="object"&&y!==null&&y.type===nc&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case wp:e:{for(var k=y.key,C=$;C!==null;){if(C.key===k){if(k=y.type,k===nc){if(C.tag===7){r(v,C.sibling),$=i(C,y.props.children),$.return=v,v=$;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Qo&&mB(k)===C.type){r(v,C.sibling),$=i(C,y.props),$.ref=Nd(v,C,y),$.return=v,v=$;break e}r(v,C);break}else t(v,C);C=C.sibling}y.type===nc?($=cu(y.props.children,v.mode,S,y.key),$.return=v,v=$):(S=Zm(y.type,y.key,y.props,null,v.mode,S),S.ref=Nd(v,$,y),S.return=v,v=S)}return l(v);case rc:e:{for(C=y.key;$!==null;){if($.key===C)if($.tag===4&&$.stateNode.containerInfo===y.containerInfo&&$.stateNode.implementation===y.implementation){r(v,$.sibling),$=i($,y.children||[]),$.return=v,v=$;break e}else{r(v,$);break}else t(v,$);$=$.sibling}$=gy(y,v.mode,S),$.return=v,v=$}return l(v);case Qo:return C=y._init,b(v,$,C(y._payload),S)}if(cf(y))return m(v,$,y,S);if(Td(y))return g(v,$,y,S);Mp(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,$!==null&&$.tag===6?(r(v,$.sibling),$=i($,y),$.return=v,v=$):(r(v,$),$=my(y,v.mode,S),$.return=v,v=$),l(v)):r(v,$)}return b}var Wc=Kj(!0),Yj=Kj(!1),Nh={},Rl=Ts(Nh),eh=Ts(Nh),th=Ts(Nh);function nu(e){if(e===Nh)throw Error($e(174));return e}function iT(e,t){switch(kr(th,t),kr(eh,e),kr(Rl,Nh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:P3(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=P3(t,e)}Dr(Rl),kr(Rl,t)}function Zc(){Dr(Rl),Dr(eh),Dr(th)}function Gj(e){nu(th.current);var t=nu(Rl.current),r=P3(t,e.type);t!==r&&(kr(eh,e),kr(Rl,r))}function aT(e){eh.current===e&&(Dr(Rl),Dr(eh))}var Lr=Ts(0);function Fg(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uy=[];function lT(){for(var e=0;er?r:4,e(!0);var n=cy.transition;cy.transition={};try{e(!1),t()}finally{lr=r,cy.transition=n}}function hW(){return Da().memoizedState}function Lde(e,t,r){var n=us(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},pW(e))mW(t,r);else if(r=Zj(e,t,r,n),r!==null){var i=$i();Ya(r,e,n,i),gW(r,t,n)}}function Vde(e,t,r){var n=us(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(pW(e))mW(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(i.hasEagerState=!0,i.eagerState=s,Xa(s,l)){var u=t.interleaved;u===null?(i.next=i,rT(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}r=Zj(e,t,i,n),r!==null&&(i=$i(),Ya(r,e,n,i),gW(r,t,n))}}function pW(e){var t=e.alternate;return e===zr||t!==null&&t===zr}function mW(e,t){Pf=Ag=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function gW(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,zR(e,r)}}var Dg={readContext:Aa,useCallback:Xn,useContext:Xn,useEffect:Xn,useImperativeHandle:Xn,useInsertionEffect:Xn,useLayoutEffect:Xn,useMemo:Xn,useReducer:Xn,useRef:Xn,useState:Xn,useDebugValue:Xn,useDeferredValue:Xn,useTransition:Xn,useMutableSource:Xn,useSyncExternalStore:Xn,useId:Xn,unstable_isNewReconciler:!1},Qde={readContext:Aa,useCallback:function(e,t){return vl().memoizedState=[e,t===void 0?null:t],e},useContext:Aa,useEffect:vB,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Qm(4194308,4,sW.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Qm(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qm(4,2,e,t)},useMemo:function(e,t){var r=vl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=vl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Lde.bind(null,zr,e),[n.memoizedState,e]},useRef:function(e){var t=vl();return e={current:e},t.memoizedState=e},useState:gB,useDebugValue:dT,useDeferredValue:function(e){return vl().memoizedState=e},useTransition:function(){var e=gB(!1),t=e[0];return e=Nde.bind(null,e[1]),vl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=zr,i=vl();if(Br){if(r===void 0)throw Error($e(407));r=r()}else{if(r=t(),Bn===null)throw Error($e(349));gu&30||eW(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,vB(rW.bind(null,n,a,e),[e]),n.flags|=2048,ih(9,tW.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=vl(),t=Bn.identifierPrefix;if(Br){var r=so,n=oo;r=(n&~(1<<32-Ka(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=rh++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[xl]=t,e[Xf]=n,OW(e,t,!1,!1),t.stateNode=e;e:{switch(l=C3(r,n),r){case"dialog":Pr("cancel",e),Pr("close",e),i=n;break;case"iframe":case"object":case"embed":Pr("load",e),i=n;break;case"video":case"audio":for(i=0;iUc&&(t.flags|=128,n=!0,Nd(a,!1),t.lanes=4194304)}else{if(!n)if(e=Cg(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Nd(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!Br)return Jn(t),null}else 2*an()-a.renderingStartTime>Uc&&r!==1073741824&&(t.flags|=128,n=!0,Nd(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=an(),t.sibling=null,r=Lr.current,kr(Lr,n?r&1|2:r&1),t):(Jn(t),null);case 22:case 23:return pR(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ki&1073741824&&(Jn(t),t.subtreeFlags&6&&(t.flags|=8192)):Jn(t),null;case 24:return null;case 25:return null}throw Error(ye(156,t.tag))}function Wde(e,t){switch(HT(t),t.tag){case 1:return Ni(t.type)&&yg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Wc(),Dr(_i),Dr(ui),nR(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return rR(t),null;case 13:if(Dr(Lr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ye(340));zc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dr(Lr),null;case 4:return Wc(),null;case 10:return XT(t.type._context),null;case 22:case 23:return pR(),null;case 24:return null;default:return null}}var Mp=!1,ii=!1,Zde=typeof WeakSet=="function"?WeakSet:Set,Be=null;function fc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Kr(e,t,n)}else r.current=null}function J3(e,t,r){try{r()}catch(n){Kr(e,t,n)}}var SB=!1;function Ude(e,t){if(B3=mg,e=Ej(),UT(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==r||i!==0&&f.nodeType!==3||(s=l+i),f!==a||n!==0&&f.nodeType!==3||(u=l+n),f.nodeType===3&&(l+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===r&&++c===i&&(s=l),h===a&&++d===n&&(u=l),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(_3={focusedElem:e,selectionRange:r},mg=!1,Be=t;Be!==null;)if(t=Be,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Be=e;else for(;Be!==null;){t=Be;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,b=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Wa(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var $=t.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ye(163))}}catch(S){Kr(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,Be=e;break}Be=t.return}return m=SB,SB=!1,m}function Ef(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&J3(t,r,a)}i=i.next}while(i!==n)}}function g1(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function e2(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function wW(e){var t=e.alternate;t!==null&&(e.alternate=null,wW(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xl],delete t[Xf],delete t[Q3],delete t[Pde],delete t[Fde])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kW(e){return e.tag===5||e.tag===3||e.tag===4}function wB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kW(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function t2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=bg));else if(n!==4&&(e=e.child,e!==null))for(t2(e,t,r),e=e.sibling;e!==null;)t2(e,t,r),e=e.sibling}function r2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(r2(e,t,r),e=e.sibling;e!==null;)r2(e,t,r),e=e.sibling}var Vn=null,Za=!1;function Bo(e,t,r){for(r=r.child;r!==null;)CW(e,t,r),r=r.sibling}function CW(e,t,r){if(Dl&&typeof Dl.onCommitFiberUnmount=="function")try{Dl.onCommitFiberUnmount(s1,r)}catch{}switch(r.tag){case 5:ii||fc(r,t);case 6:var n=Vn,i=Za;Vn=null,Bo(e,t,r),Vn=n,Za=i,Vn!==null&&(Za?(e=Vn,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Vn.removeChild(r.stateNode));break;case 18:Vn!==null&&(Za?(e=Vn,r=r.stateNode,e.nodeType===8?iy(e.parentNode,r):e.nodeType===1&&iy(e,r),qf(e)):iy(Vn,r.stateNode));break;case 4:n=Vn,i=Za,Vn=r.stateNode.containerInfo,Za=!0,Bo(e,t,r),Vn=n,Za=i;break;case 0:case 11:case 14:case 15:if(!ii&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&J3(r,t,l),i=i.next}while(i!==n)}Bo(e,t,r);break;case 1:if(!ii&&(fc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Kr(r,t,s)}Bo(e,t,r);break;case 21:Bo(e,t,r);break;case 22:r.mode&1?(ii=(n=ii)||r.memoizedState!==null,Bo(e,t,r),ii=n):Bo(e,t,r);break;default:Bo(e,t,r)}}function kB(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Zde),t.forEach(function(n){var i=tfe.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Va(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=l),n&=~a}if(n=i,n=an()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Hde(n/1960))-n,10e?16:e,Yo===null)var n=!1;else{if(e=Yo,Yo=null,Dg=0,jt&6)throw Error(ye(331));var i=jt;for(jt|=4,Be=e.current;Be!==null;){var a=Be,l=a.child;if(Be.flags&16){var s=a.deletions;if(s!==null){for(var u=0;uan()-fR?uu(e,0):dR|=r),Li(e,t)}function IW(e,t){t===0&&(e.mode&1?(t=Cp,Cp<<=1,!(Cp&130023424)&&(Cp=4194304)):t=1);var r=$i();e=vo(e,t),e!==null&&(Rh(e,t,r),Li(e,r))}function efe(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),IW(e,r)}function tfe(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ye(314))}n!==null&&n.delete(t),IW(e,r)}var MW;MW=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||_i.current)Mi=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Mi=!1,zde(e,t,r);Mi=!!(e.flags&131072)}else Mi=!1,Br&&t.flags&1048576&&Nj(t,xg,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Lm(e,t),e=t.pendingProps;var i=Vc(t,ui.current);Ec(t,r),i=aR(null,t,n,e,i,r);var a=lR();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ni(n)?(a=!0,$g(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,eR(t),i.updater=p1,t.stateNode=i,i._reactInternals=t,U3(t,n,e,r),t=K3(null,t,n,!0,a,r)):(t.tag=0,Br&&a&&qT(t),mi(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Lm(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=nfe(n),e=Wa(n,e),i){case 0:t=H3(null,t,n,e,r);break e;case 1:t=$B(null,t,n,e,r);break e;case 11:t=bB(null,t,n,e,r);break e;case 14:t=yB(null,t,n,Wa(n.type,e),r);break e}throw Error(ye(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),H3(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),$B(e,t,n,i,r);case 3:e:{if(bW(t),e===null)throw Error(ye(387));n=t.pendingProps,a=t.memoizedState,i=a.element,zj(e,t),kg(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Zc(Error(ye(423)),t),t=OB(e,t,n,r,i);break e}else if(n!==i){i=Zc(Error(ye(424)),t),t=OB(e,t,n,r,i);break e}else for(ea=as(t.stateNode.containerInfo.firstChild),na=t,Br=!0,qa=null,r=Uj(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(zc(),n===i){t=bo(e,t,r);break e}mi(e,t,n,r)}t=t.child}return t;case 5:return qj(t),e===null&&j3(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,l=i.children,N3(n,i)?l=null:a!==null&&N3(n,a)&&(t.flags|=32),vW(e,t),mi(e,t,l,r),t.child;case 6:return e===null&&j3(t),null;case 13:return yW(e,t,r);case 4:return tR(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=jc(t,null,n,r):mi(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),bB(e,t,n,i,r);case 7:return mi(e,t,t.pendingProps,r),t.child;case 8:return mi(e,t,t.pendingProps.children,r),t.child;case 12:return mi(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,l=i.value,kr(Sg,n._currentValue),n._currentValue=l,a!==null)if(Xa(a.value,l)){if(a.children===i.children&&!_i.current){t=bo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){l=a.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=fo(-1,r&-r),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),W3(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error(ye(341));l.lanes|=r,s=l.alternate,s!==null&&(s.lanes|=r),W3(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}mi(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Ec(t,r),i=Aa(i),n=n(i),t.flags|=1,mi(e,t,n,r),t.child;case 14:return n=t.type,i=Wa(n,t.pendingProps),i=Wa(n.type,i),yB(e,t,n,i,r);case 15:return mW(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),Lm(e,t),t.tag=1,Ni(n)?(e=!0,$g(t)):e=!1,Ec(t,r),Wj(t,n,i),U3(t,n,i,r),K3(null,t,n,!0,e,r);case 19:return $W(e,t,r);case 22:return gW(e,t,r)}throw Error(ye(156,t.tag))};function BW(e,t){return sj(e,t)}function rfe(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(e,t,r,n){return new rfe(e,t,r,n)}function gR(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nfe(e){if(typeof e=="function")return gR(e)?1:0;if(e!=null){if(e=e.$$typeof,e===MT)return 11;if(e===BT)return 14}return 2}function us(e,t){var r=e.alternate;return r===null?(r=xa(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function zm(e,t,r,n,i,a){var l=2;if(n=e,typeof e=="function")gR(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case nc:return cu(r.children,i,a,t);case IT:l=8,i|=8;break;case g3:return e=xa(12,r,t,i|2),e.elementType=g3,e.lanes=a,e;case v3:return e=xa(13,r,t,i),e.elementType=v3,e.lanes=a,e;case b3:return e=xa(19,r,t,i),e.elementType=b3,e.lanes=a,e;case Zz:return b1(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jz:l=10;break e;case Wz:l=9;break e;case MT:l=11;break e;case BT:l=14;break e;case Qo:l=16,n=null;break e}throw Error(ye(130,e==null?e:typeof e,""))}return t=xa(l,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function cu(e,t,r,n){return e=xa(7,e,n,t),e.lanes=r,e}function b1(e,t,r,n){return e=xa(22,e,n,t),e.elementType=Zz,e.lanes=r,e.stateNode={isHidden:!1},e}function fy(e,t,r){return e=xa(6,e,null,t),e.lanes=r,e}function hy(e,t,r){return t=xa(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ife(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qb(0),this.expirationTimes=qb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qb(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function vR(e,t,r,n,i,a,l,s,u){return e=new ife(e,t,r,s,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=xa(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},eR(a),e}function afe(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(QW)}catch(e){console.error(e)}}QW(),Nz.exports=sa;var S1=Nz.exports;const pc=ud(S1);var RB=S1;p3.createRoot=RB.createRoot,p3.hydrateRoot=RB.hydrateRoot;/** +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function hy(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function G3(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Wde=typeof WeakMap=="function"?WeakMap:Map;function vW(e,t,r){r=fo(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Tg||(Tg=!0,o2=n),G3(e,t)},r}function bW(e,t,r){r=fo(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){G3(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){G3(e,t),typeof n!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function bB(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new Wde;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=ife.bind(null,e,t,r),t.then(e,e))}function yB(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $B(e,t,r,n,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=fo(-1,1),t.tag=2,os(r,t,1))),r.lanes|=1),e)}var Zde=Fo.ReactCurrentOwner,Bi=!1;function mi(e,t,r,n){t.child=e===null?Yj(t,null,r,n):Wc(t,e.child,r,n)}function OB(e,t,r,n,i){r=r.render;var a=t.ref;return Pc(t,i),n=sT(e,t,r,n,a,i),r=uT(),e!==null&&!Bi?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bo(e,t,i)):(Br&&r&&YR(t),t.flags|=1,mi(e,t,n,i),t.child)}function xB(e,t,r,n,i){if(e===null){var a=r.type;return typeof a=="function"&&!yT(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,yW(e,t,a,n,i)):(e=Zm(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var l=a.memoizedProps;if(r=r.compare,r=r!==null?r:Yf,r(l,n)&&e.ref===t.ref)return bo(e,t,i)}return t.flags|=1,e=cs(a,n),e.ref=t.ref,e.return=t,t.child=e}function yW(e,t,r,n,i){if(e!==null){var a=e.memoizedProps;if(Yf(a,n)&&e.ref===t.ref)if(Bi=!1,t.pendingProps=n=a,(e.lanes&i)!==0)e.flags&131072&&(Bi=!0);else return t.lanes=e.lanes,bo(e,t,i)}return X3(e,t,r,n,i)}function $W(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},kr(hc,Yi),Yi|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,kr(hc,Yi),Yi|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,kr(hc,Yi),Yi|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,kr(hc,Yi),Yi|=n;return mi(e,t,i,r),t.child}function OW(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function X3(e,t,r,n,i){var a=Li(r)?pu:ui.current;return a=zc(t,a),Pc(t,i),r=sT(e,t,r,n,a,i),n=uT(),e!==null&&!Bi?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bo(e,t,i)):(Br&&n&&YR(t),t.flags|=1,mi(e,t,r,i),t.child)}function SB(e,t,r,n,i){if(Li(r)){var a=!0;Sg(t)}else a=!1;if(Pc(t,i),t.stateNode===null)zm(e,t),Hj(t,r,n),Y3(t,r,n,i),n=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var u=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=Aa(c):(c=Li(r)?pu:ui.current,c=zc(t,c));var d=r.getDerivedStateFromProps,f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==n||u!==c)&&pB(t,l,n,c),zo=!1;var h=t.memoizedState;l.state=h,Pg(t,n,l,i),u=t.memoizedState,s!==n||h!==u||Ni.current||zo?(typeof d=="function"&&(K3(t,r,d,n),u=t.memoizedState),(s=zo||hB(t,r,s,n,h,u,c))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),l.props=n,l.state=u,l.context=c,n=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,Uj(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Wa(t.type,s),l.props=c,f=t.pendingProps,h=l.context,u=r.contextType,typeof u=="object"&&u!==null?u=Aa(u):(u=Li(r)?pu:ui.current,u=zc(t,u));var p=r.getDerivedStateFromProps;(d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==f||h!==u)&&pB(t,l,n,u),zo=!1,h=t.memoizedState,l.state=h,Pg(t,n,l,i);var m=t.memoizedState;s!==f||h!==m||Ni.current||zo?(typeof p=="function"&&(K3(t,r,p,n),m=t.memoizedState),(c=zo||hB(t,r,c,n,h,m,u)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,m,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,m,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=m),l.props=n,l.state=m,l.context=u,n=c):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),n=!1)}return J3(e,t,r,n,a,i)}function J3(e,t,r,n,i,a){OW(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return i&&sB(t,r,!1),bo(e,t,a);n=t.stateNode,Zde.current=t;var s=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=Wc(t,e.child,null,a),t.child=Wc(t,null,s,a)):mi(e,t,s,a),t.memoizedState=n.state,i&&sB(t,r,!0),t.child}function xW(e){var t=e.stateNode;t.pendingContext?oB(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oB(e,t.context,!1),iT(e,t.containerInfo)}function wB(e,t,r,n,i){return jc(),XR(i),t.flags|=256,mi(e,t,r,n),t.child}var e2={dehydrated:null,treeContext:null,retryLane:0};function t2(e){return{baseLanes:e,cachePool:null,transitions:null}}function SW(e,t,r){var n=t.pendingProps,i=Lr.current,a=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),kr(Lr,i&1),e===null)return q3(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=n.children,e=n.fallback,a?(n=t.mode,a=t.child,l={mode:"hidden",children:l},!(n&1)&&a!==null?(a.childLanes=0,a.pendingProps=l):a=O1(l,n,0,null),e=cu(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=t2(r),t.memoizedState=e2,e):fT(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Ude(e,t,l,n,s,i,r);if(a){a=n.fallback,l=t.mode,i=e.child,s=i.sibling;var u={mode:"hidden",children:n.children};return!(l&1)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=u,t.deletions=null):(n=cs(i,u),n.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=cs(s,a):(a=cu(a,l,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,l=e.child.memoizedState,l=l===null?t2(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~r,t.memoizedState=e2,n}return a=e.child,e=a.sibling,n=cs(a,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function fT(e,t){return t=O1({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Bp(e,t,r,n){return n!==null&&XR(n),Wc(t,e.child,null,r),e=fT(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ude(e,t,r,n,i,a,l){if(r)return t.flags&256?(t.flags&=-257,n=hy(Error($e(422))),Bp(e,t,l,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=O1({mode:"visible",children:n.children},i,0,null),a=cu(a,i,l,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,t.mode&1&&Wc(t,e.child,null,l),t.child.memoizedState=t2(l),t.memoizedState=e2,a);if(!(t.mode&1))return Bp(e,t,l,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error($e(419)),n=hy(a,n,void 0),Bp(e,t,l,n)}if(s=(l&e.childLanes)!==0,Bi||s){if(n=Bn,n!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|l)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,vo(e,i),Ya(n,e,i,-1))}return bT(),n=hy(Error($e(421))),Bp(e,t,l,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=afe.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ta=ls(i.nextSibling),ia=t,Br=!0,qa=null,e!==null&&(ya[$a++]=oo,ya[$a++]=so,ya[$a++]=mu,oo=e.id,so=e.overflow,mu=t),t=fT(t,n.children),t.flags|=4096,t)}function kB(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),H3(e.return,t,r)}function py(e,t,r,n,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function wW(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(mi(e,t,n.children,r),n=Lr.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kB(e,r,t);else if(e.tag===19)kB(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(kr(Lr,n),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Fg(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),py(t,!1,i,r,a);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fg(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}py(t,!0,r,null,a);break;case"together":py(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zm(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bo(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),vu|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error($e(153));if(t.child!==null){for(e=t.child,r=cs(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=cs(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function qde(e,t,r){switch(t.tag){case 3:xW(t),jc();break;case 5:Gj(t);break;case 1:Li(t.type)&&Sg(t);break;case 4:iT(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;kr(Cg,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(kr(Lr,Lr.current&1),t.flags|=128,null):r&t.child.childLanes?SW(e,t,r):(kr(Lr,Lr.current&1),e=bo(e,t,r),e!==null?e.sibling:null);kr(Lr,Lr.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return wW(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),kr(Lr,Lr.current),n)break;return null;case 22:case 23:return t.lanes=0,$W(e,t,r)}return bo(e,t,r)}var kW,r2,CW,EW;kW=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};r2=function(){};CW=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,nu(Rl.current);var a=null;switch(r){case"input":i=w3(e,i),n=w3(e,n),a=[];break;case"select":i=Wr({},i,{value:void 0}),n=Wr({},n,{value:void 0}),a=[];break;case"textarea":i=E3(e,i),n=E3(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Og)}F3(r,n);var l;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(l in s)s.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(jf.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var u=n[c];if(s=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&u!==s&&(u!=null||s!=null))if(c==="style")if(s){for(l in s)!s.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in u)u.hasOwnProperty(l)&&s[l]!==u[l]&&(r||(r={}),r[l]=u[l])}else r||(a||(a=[]),a.push(c,r)),r=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(a=a||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(a=a||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(jf.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&Pr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};EW=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ld(e,t){if(!Br)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Jn(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Hde(e,t,r){var n=t.pendingProps;switch(GR(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jn(t),null;case 1:return Li(t.type)&&xg(),Jn(t),null;case 3:return n=t.stateNode,Zc(),Dr(Ni),Dr(ui),lT(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ip(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qa!==null&&(c2(qa),qa=null))),r2(e,t),Jn(t),null;case 5:aT(t);var i=nu(th.current);if(r=t.type,e!==null&&t.stateNode!=null)CW(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error($e(166));return Jn(t),null}if(e=nu(Rl.current),Ip(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[xl]=t,n[Jf]=a,e=(t.mode&1)!==0,r){case"dialog":Pr("cancel",n),Pr("close",n);break;case"iframe":case"object":case"embed":Pr("load",n);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[xl]=t,e[Jf]=n,kW(e,t,!1,!1),t.stateNode=e;e:{switch(l=A3(r,n),r){case"dialog":Pr("cancel",e),Pr("close",e),i=n;break;case"iframe":case"object":case"embed":Pr("load",e),i=n;break;case"video":case"audio":for(i=0;iqc&&(t.flags|=128,n=!0,Ld(a,!1),t.lanes=4194304)}else{if(!n)if(e=Fg(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ld(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!Br)return Jn(t),null}else 2*an()-a.renderingStartTime>qc&&r!==1073741824&&(t.flags|=128,n=!0,Ld(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=an(),t.sibling=null,r=Lr.current,kr(Lr,n?r&1|2:r&1),t):(Jn(t),null);case 22:case 23:return vT(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Yi&1073741824&&(Jn(t),t.subtreeFlags&6&&(t.flags|=8192)):Jn(t),null;case 24:return null;case 25:return null}throw Error($e(156,t.tag))}function Kde(e,t){switch(GR(t),t.tag){case 1:return Li(t.type)&&xg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zc(),Dr(Ni),Dr(ui),lT(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return aT(t),null;case 13:if(Dr(Lr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($e(340));jc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dr(Lr),null;case 4:return Zc(),null;case 10:return tT(t.type._context),null;case 22:case 23:return vT(),null;case 24:return null;default:return null}}var _p=!1,ii=!1,Yde=typeof WeakSet=="function"?WeakSet:Set,Be=null;function fc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Kr(e,t,n)}else r.current=null}function n2(e,t,r){try{r()}catch(n){Kr(e,t,n)}}var CB=!1;function Gde(e,t){if(V3=bg,e=Dj(),KR(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==r||i!==0&&f.nodeType!==3||(s=l+i),f!==a||n!==0&&f.nodeType!==3||(u=l+n),f.nodeType===3&&(l+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===r&&++c===i&&(s=l),h===a&&++d===n&&(u=l),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Q3={focusedElem:e,selectionRange:r},bg=!1,Be=t;Be!==null;)if(t=Be,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Be=e;else for(;Be!==null;){t=Be;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,b=m.memoizedState,v=t.stateNode,$=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Wa(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($e(163))}}catch(S){Kr(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,Be=e;break}Be=t.return}return m=CB,CB=!1,m}function Ff(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&n2(t,r,a)}i=i.next}while(i!==n)}}function y1(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function i2(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function PW(e){var t=e.alternate;t!==null&&(e.alternate=null,PW(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xl],delete t[Jf],delete t[W3],delete t[Tde],delete t[Ide])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function FW(e){return e.tag===5||e.tag===3||e.tag===4}function EB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||FW(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function a2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Og));else if(n!==4&&(e=e.child,e!==null))for(a2(e,t,r),e=e.sibling;e!==null;)a2(e,t,r),e=e.sibling}function l2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(l2(e,t,r),e=e.sibling;e!==null;)l2(e,t,r),e=e.sibling}var Qn=null,Za=!1;function _o(e,t,r){for(r=r.child;r!==null;)AW(e,t,r),r=r.sibling}function AW(e,t,r){if(Dl&&typeof Dl.onCommitFiberUnmount=="function")try{Dl.onCommitFiberUnmount(d1,r)}catch{}switch(r.tag){case 5:ii||fc(r,t);case 6:var n=Qn,i=Za;Qn=null,_o(e,t,r),Qn=n,Za=i,Qn!==null&&(Za?(e=Qn,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Qn.removeChild(r.stateNode));break;case 18:Qn!==null&&(Za?(e=Qn,r=r.stateNode,e.nodeType===8?oy(e.parentNode,r):e.nodeType===1&&oy(e,r),Hf(e)):oy(Qn,r.stateNode));break;case 4:n=Qn,i=Za,Qn=r.stateNode.containerInfo,Za=!0,_o(e,t,r),Qn=n,Za=i;break;case 0:case 11:case 14:case 15:if(!ii&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&n2(r,t,l),i=i.next}while(i!==n)}_o(e,t,r);break;case 1:if(!ii&&(fc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Kr(r,t,s)}_o(e,t,r);break;case 21:_o(e,t,r);break;case 22:r.mode&1?(ii=(n=ii)||r.memoizedState!==null,_o(e,t,r),ii=n):_o(e,t,r);break;default:_o(e,t,r)}}function PB(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Yde),t.forEach(function(n){var i=lfe.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Qa(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=l),n&=~a}if(n=i,n=an()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Jde(n/1960))-n,10e?16:e,Go===null)var n=!1;else{if(e=Go,Go=null,Ig=0,jt&6)throw Error($e(331));var i=jt;for(jt|=4,Be=e.current;Be!==null;){var a=Be,l=a.child;if(Be.flags&16){var s=a.deletions;if(s!==null){for(var u=0;uan()-mT?uu(e,0):pT|=r),Vi(e,t)}function NW(e,t){t===0&&(e.mode&1?(t=Pp,Pp<<=1,!(Pp&130023424)&&(Pp=4194304)):t=1);var r=$i();e=vo(e,t),e!==null&&(Mh(e,t,r),Vi(e,r))}function afe(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),NW(e,r)}function lfe(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error($e(314))}n!==null&&n.delete(t),NW(e,r)}var LW;LW=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ni.current)Bi=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Bi=!1,qde(e,t,r);Bi=!!(e.flags&131072)}else Bi=!1,Br&&t.flags&1048576&&zj(t,kg,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;zm(e,t),e=t.pendingProps;var i=zc(t,ui.current);Pc(t,r),i=sT(null,t,n,e,i,r);var a=uT();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Li(n)?(a=!0,Sg(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nT(t),i.updater=v1,t.stateNode=i,i._reactInternals=t,Y3(t,n,e,r),t=J3(null,t,n,!0,a,r)):(t.tag=0,Br&&a&&YR(t),mi(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(zm(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=sfe(n),e=Wa(n,e),i){case 0:t=X3(null,t,n,e,r);break e;case 1:t=SB(null,t,n,e,r);break e;case 11:t=OB(null,t,n,e,r);break e;case 14:t=xB(null,t,n,Wa(n.type,e),r);break e}throw Error($e(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),X3(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),SB(e,t,n,i,r);case 3:e:{if(xW(t),e===null)throw Error($e(387));n=t.pendingProps,a=t.memoizedState,i=a.element,Uj(e,t),Pg(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Uc(Error($e(423)),t),t=wB(e,t,n,r,i);break e}else if(n!==i){i=Uc(Error($e(424)),t),t=wB(e,t,n,r,i);break e}else for(ta=ls(t.stateNode.containerInfo.firstChild),ia=t,Br=!0,qa=null,r=Yj(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(jc(),n===i){t=bo(e,t,r);break e}mi(e,t,n,r)}t=t.child}return t;case 5:return Gj(t),e===null&&q3(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,l=i.children,z3(n,i)?l=null:a!==null&&z3(n,a)&&(t.flags|=32),OW(e,t),mi(e,t,l,r),t.child;case 6:return e===null&&q3(t),null;case 13:return SW(e,t,r);case 4:return iT(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Wc(t,null,n,r):mi(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),OB(e,t,n,i,r);case 7:return mi(e,t,t.pendingProps,r),t.child;case 8:return mi(e,t,t.pendingProps.children,r),t.child;case 12:return mi(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,l=i.value,kr(Cg,n._currentValue),n._currentValue=l,a!==null)if(Xa(a.value,l)){if(a.children===i.children&&!Ni.current){t=bo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){l=a.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=fo(-1,r&-r),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),H3(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error($e(341));l.lanes|=r,s=l.alternate,s!==null&&(s.lanes|=r),H3(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}mi(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Pc(t,r),i=Aa(i),n=n(i),t.flags|=1,mi(e,t,n,r),t.child;case 14:return n=t.type,i=Wa(n,t.pendingProps),i=Wa(n.type,i),xB(e,t,n,i,r);case 15:return yW(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Wa(n,i),zm(e,t),t.tag=1,Li(n)?(e=!0,Sg(t)):e=!1,Pc(t,r),Hj(t,n,i),Y3(t,n,i,r),J3(null,t,n,!0,e,r);case 19:return wW(e,t,r);case 22:return $W(e,t,r)}throw Error($e(156,t.tag))};function VW(e,t){return fj(e,t)}function ofe(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(e,t,r,n){return new ofe(e,t,r,n)}function yT(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sfe(e){if(typeof e=="function")return yT(e)?1:0;if(e!=null){if(e=e.$$typeof,e===NR)return 11;if(e===LR)return 14}return 2}function cs(e,t){var r=e.alternate;return r===null?(r=xa(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Zm(e,t,r,n,i,a){var l=2;if(n=e,typeof e=="function")yT(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case nc:return cu(r.children,i,a,t);case _R:l=8,i|=8;break;case $3:return e=xa(12,r,t,i|2),e.elementType=$3,e.lanes=a,e;case O3:return e=xa(13,r,t,i),e.elementType=O3,e.lanes=a,e;case x3:return e=xa(19,r,t,i),e.elementType=x3,e.lanes=a,e;case Kz:return O1(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qz:l=10;break e;case Hz:l=9;break e;case NR:l=11;break e;case LR:l=14;break e;case Qo:l=16,n=null;break e}throw Error($e(130,e==null?e:typeof e,""))}return t=xa(l,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function cu(e,t,r,n){return e=xa(7,e,n,t),e.lanes=r,e}function O1(e,t,r,n){return e=xa(22,e,n,t),e.elementType=Kz,e.lanes=r,e.stateNode={isHidden:!1},e}function my(e,t,r){return e=xa(6,e,null,t),e.lanes=r,e}function gy(e,t,r){return t=xa(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ufe(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Yb(0),this.expirationTimes=Yb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yb(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $T(e,t,r,n,i,a,l,s,u){return e=new ufe(e,t,r,s,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=xa(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},nT(a),e}function cfe(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(WW)}catch(e){console.error(e)}}WW(),zz.exports=ua;var C1=zz.exports;const pc=cd(C1);var BB=C1;b3.createRoot=BB.createRoot,b3.hydrateRoot=BB.hydrateRoot;/** * @remix-run/router v1.15.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ah(){return ah=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function OR(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dfe(){return Math.random().toString(36).substr(2,8)}function MB(e,t){return{usr:e.state,key:e.key,idx:t}}function o2(e,t,r,n){return r===void 0&&(r=null),ah({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?hd(t):t,{state:r,key:t&&t.key||n||dfe()})}function VW(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function hd(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function ffe(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,l=i.history,s=Go.Pop,u=null,c=d();c==null&&(c=0,l.replaceState(ah({},l.state,{idx:c}),""));function d(){return(l.state||{idx:null}).idx}function f(){s=Go.Pop;let b=d(),v=b==null?null:b-c;c=b,u&&u({action:s,location:g.location,delta:v})}function h(b,v){s=Go.Push;let y=o2(g.location,b,v);r&&r(y,b),c=d()+1;let $=MB(y,c),S=g.createHref(y);try{l.pushState($,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(S)}a&&u&&u({action:s,location:g.location,delta:1})}function p(b,v){s=Go.Replace;let y=o2(g.location,b,v);r&&r(y,b),c=d();let $=MB(y,c),S=g.createHref(y);l.replaceState($,"",S),a&&u&&u({action:s,location:g.location,delta:0})}function m(b){let v=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof b=="string"?b:VW(b);return gn(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return s},get location(){return e(i,l)},listen(b){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(IB,f),u=b,()=>{i.removeEventListener(IB,f),u=null}},createHref(b){return t(i,b)},createURL:m,encodeLocation(b){let v=m(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:p,go(b){return l.go(b)}};return g}var BB;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(BB||(BB={}));function hfe(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?hd(t):t,i=WW(n.pathname||"/",r);if(i==null)return null;let a=zW(e);pfe(a);let l=null;for(let s=0;l==null&&s{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};u.relativePath.startsWith("/")&&(gn(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=du([n,u.relativePath]),d=r.concat(u);a.children&&a.children.length>0&&(gn(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),zW(a.children,t,d,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:Ofe(c,a.index),routesMeta:d})};return e.forEach((a,l)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,l);else for(let u of jW(a.path))i(a,l,u)}),t}function jW(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let l=jW(n.join("/")),s=[];return s.push(...l.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...l),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function pfe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:xfe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const mfe=/^:[\w-]+$/,gfe=3,vfe=2,bfe=1,yfe=10,$fe=-2,_B=e=>e==="*";function Ofe(e,t){let r=e.split("/"),n=r.length;return r.some(_B)&&(n+=$fe),t&&(n+=vfe),r.filter(i=>!_B(i)).reduce((i,a)=>i+(mfe.test(a)?gfe:a===""?bfe:yfe),n)}function xfe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function Sfe(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let l=0;l{let{paramName:h,isOptional:p}=d;if(h==="*"){let g=s[f]||"";l=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const m=s[f];return p&&!m?c[h]=void 0:c[h]=Efe(m||"",h),c},{}),pathname:a,pathnameBase:l,pattern:e}}function kfe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),OR(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function Cfe(e){try{return decodeURI(e)}catch(t){return OR(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Efe(e,t){try{return decodeURIComponent(e)}catch(r){return OR(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function WW(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Pfe(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?hd(e):e;return{pathname:r?r.startsWith("/")?r:Ffe(r,t):t,search:Tfe(n),hash:Rfe(i)}}function Ffe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function py(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Afe(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function ZW(e,t){let r=Afe(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function UW(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=hd(e):(i=ah({},e),gn(!i.pathname||!i.pathname.includes("?"),py("?","pathname","search",i)),gn(!i.pathname||!i.pathname.includes("#"),py("#","pathname","hash",i)),gn(!i.search||!i.search.includes("#"),py("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,s;if(l==null)s=r;else{let f=t.length-1;if(!n&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}s=f>=0?t[f]:"/"}let u=Pfe(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(a||l===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const du=e=>e.join("/").replace(/\/\/+/g,"/"),Dfe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Tfe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Rfe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ife(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const qW=["post","put","patch","delete"];new Set(qW);const Mfe=["get",...qW];new Set(Mfe);/** + */function lh(){return lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function wT(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gfe(){return Math.random().toString(36).substr(2,8)}function NB(e,t){return{usr:e.state,key:e.key,idx:t}}function d2(e,t,r,n){return r===void 0&&(r=null),lh({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pd(t):t,{state:r,key:t&&t.key||n||gfe()})}function ZW(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function pd(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function vfe(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,l=i.history,s=Xo.Pop,u=null,c=d();c==null&&(c=0,l.replaceState(lh({},l.state,{idx:c}),""));function d(){return(l.state||{idx:null}).idx}function f(){s=Xo.Pop;let b=d(),v=b==null?null:b-c;c=b,u&&u({action:s,location:g.location,delta:v})}function h(b,v){s=Xo.Push;let $=d2(g.location,b,v);r&&r($,b),c=d()+1;let y=NB($,c),S=g.createHref($);try{l.pushState(y,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(S)}a&&u&&u({action:s,location:g.location,delta:1})}function p(b,v){s=Xo.Replace;let $=d2(g.location,b,v);r&&r($,b),c=d();let y=NB($,c),S=g.createHref($);l.replaceState(y,"",S),a&&u&&u({action:s,location:g.location,delta:0})}function m(b){let v=i.location.origin!=="null"?i.location.origin:i.location.href,$=typeof b=="string"?b:ZW(b);return gn(v,"No window.location.(origin|href) available to create URL for href: "+$),new URL($,v)}let g={get action(){return s},get location(){return e(i,l)},listen(b){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(_B,f),u=b,()=>{i.removeEventListener(_B,f),u=null}},createHref(b){return t(i,b)},createURL:m,encodeLocation(b){let v=m(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:p,go(b){return l.go(b)}};return g}var LB;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(LB||(LB={}));function bfe(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?pd(t):t,i=HW(n.pathname||"/",r);if(i==null)return null;let a=UW(e);yfe(a);let l=null;for(let s=0;l==null&&s{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};u.relativePath.startsWith("/")&&(gn(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=du([n,u.relativePath]),d=r.concat(u);a.children&&a.children.length>0&&(gn(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),UW(a.children,t,d,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:Cfe(c,a.index),routesMeta:d})};return e.forEach((a,l)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,l);else for(let u of qW(a.path))i(a,l,u)}),t}function qW(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let l=qW(n.join("/")),s=[];return s.push(...l.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...l),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function yfe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Efe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const $fe=/^:[\w-]+$/,Ofe=3,xfe=2,Sfe=1,wfe=10,kfe=-2,VB=e=>e==="*";function Cfe(e,t){let r=e.split("/"),n=r.length;return r.some(VB)&&(n+=kfe),t&&(n+=xfe),r.filter(i=>!VB(i)).reduce((i,a)=>i+($fe.test(a)?Ofe:a===""?Sfe:wfe),n)}function Efe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function Pfe(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let l=0;l{let{paramName:h,isOptional:p}=d;if(h==="*"){let g=s[f]||"";l=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const m=s[f];return p&&!m?c[h]=void 0:c[h]=Rfe(m||"",h),c},{}),pathname:a,pathnameBase:l,pattern:e}}function Afe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),wT(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function Dfe(e){try{return decodeURI(e)}catch(t){return wT(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Rfe(e,t){try{return decodeURIComponent(e)}catch(r){return wT(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function HW(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Tfe(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?pd(e):e;return{pathname:r?r.startsWith("/")?r:Ife(r,t):t,search:_fe(n),hash:Nfe(i)}}function Ife(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function vy(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Mfe(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function KW(e,t){let r=Mfe(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function YW(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=pd(e):(i=lh({},e),gn(!i.pathname||!i.pathname.includes("?"),vy("?","pathname","search",i)),gn(!i.pathname||!i.pathname.includes("#"),vy("#","pathname","hash",i)),gn(!i.search||!i.search.includes("#"),vy("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,s;if(l==null)s=r;else{let f=t.length-1;if(!n&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}s=f>=0?t[f]:"/"}let u=Tfe(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(a||l===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const du=e=>e.join("/").replace(/\/\/+/g,"/"),Bfe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_fe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Nfe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Lfe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const GW=["post","put","patch","delete"];new Set(GW);const Vfe=["get",...GW];new Set(Vfe);/** * React Router v6.22.0 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function lh(){return lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),O.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){n.go(c);return}let f=UW(c,JSON.parse(l),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:du([t,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[t,n,l,a,e])}function Nfe(e,t){return Lfe(e,t)}function Lfe(e,t,r,n){Nh()||gn(!1);let{navigator:i}=O.useContext(_h),{matches:a}=O.useContext(Au),l=a[a.length-1],s=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let c=k1(),d;if(t){var f;let b=typeof t=="string"?hd(t):t;u==="/"||(f=b.pathname)!=null&&f.startsWith(u)||gn(!1),d=b}else d=c;let h=d.pathname||"/",p=u==="/"?h:h.slice(u.length)||"/",m=hfe(e,{pathname:p}),g=Wfe(m&&m.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:du([u,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:du([u,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,r,n);return t&&g?O.createElement(w1.Provider,{value:{location:lh({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Go.Pop}},g):g}function Qfe(){let e=Hfe(),t=Ife(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),r?O.createElement("pre",{style:i},r):null,a)}const Vfe=O.createElement(Qfe,null);class zfe extends O.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?O.createElement(Au.Provider,{value:this.props.routeContext},O.createElement(HW.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function jfe(e){let{routeContext:t,match:r,children:n}=e,i=O.useContext(xR);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),O.createElement(Au.Provider,{value:t},n)}function Wfe(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let l=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let d=l.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id]));d>=0||gn(!1),l=l.slice(0,Math.min(l.length,d+1))}let u=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d=0?l=l.slice(0,c+1):l=[l[0]];break}}}return l.reduceRight((d,f,h)=>{let p,m=!1,g=null,b=null;r&&(p=s&&f.route.id?s[f.route.id]:void 0,g=f.route.errorElement||Vfe,u&&(c<0&&h===0?(Yfe("route-fallback",!1),m=!0,b=null):c===h&&(m=!0,b=f.route.hydrateFallbackElement||null)));let v=t.concat(l.slice(0,h+1)),y=()=>{let $;return p?$=g:m?$=b:f.route.Component?$=O.createElement(f.route.Component,null):f.route.element?$=f.route.element:$=d,O.createElement(jfe,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:r!=null},children:$})};return r&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?O.createElement(zfe,{location:r.location,revalidation:r.revalidation,component:g,error:p,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var YW=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(YW||{}),Ig=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ig||{});function Zfe(e){let t=O.useContext(xR);return t||gn(!1),t}function Ufe(e){let t=O.useContext(Bfe);return t||gn(!1),t}function qfe(e){let t=O.useContext(Au);return t||gn(!1),t}function GW(e){let t=qfe(),r=t.matches[t.matches.length-1];return r.route.id||gn(!1),r.route.id}function Hfe(){var e;let t=O.useContext(HW),r=Ufe(Ig.UseRouteError),n=GW(Ig.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function Kfe(){let{router:e}=Zfe(YW.UseNavigateStable),t=GW(Ig.UseNavigateStable),r=O.useRef(!1);return KW(()=>{r.current=!0}),O.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,lh({fromRouteId:t},a)))},[e,t])}const NB={};function Yfe(e,t,r){!t&&!NB[e]&&(NB[e]=!0)}function LB(e){let{to:t,replace:r,state:n,relative:i}=e;Nh()||gn(!1);let{future:a,static:l}=O.useContext(_h),{matches:s}=O.useContext(Au),{pathname:u}=k1(),c=C1(),d=UW(t,ZW(s,a.v7_relativeSplatPath),u,i==="path"),f=JSON.stringify(d);return O.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:i}),[c,f,i,r,n]),null}function de(e){gn(!1)}function Gfe(e){let{basename:t="/",children:r=null,location:n,navigationType:i=Go.Pop,navigator:a,static:l=!1,future:s}=e;Nh()&&gn(!1);let u=t.replace(/^\/*/,"/"),c=O.useMemo(()=>({basename:u,navigator:a,static:l,future:lh({v7_relativeSplatPath:!1},s)}),[u,s,a,l]);typeof n=="string"&&(n=hd(n));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:m="default"}=n,g=O.useMemo(()=>{let b=WW(d,u);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:m},navigationType:i}},[u,d,f,h,p,m,i]);return g==null?null:O.createElement(_h.Provider,{value:c},O.createElement(w1.Provider,{children:r,value:g}))}function XW(e){let{children:t,location:r}=e;return Nfe(s2(t),r)}new Promise(()=>{});function s2(e,t){t===void 0&&(t=[]);let r=[];return O.Children.forEach(e,(n,i)=>{if(!O.isValidElement(n))return;let a=[...t,i];if(n.type===O.Fragment){r.push.apply(r,s2(n.props.children,a));return}n.type!==de&&gn(!1),!n.props.index||!n.props.children||gn(!1);let l={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=s2(n.props.children,a)),r.push(l)}),r}/** + */function oh(){return oh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),O.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){n.go(c);return}let f=YW(c,JSON.parse(l),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:du([t,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[t,n,l,a,e])}function jfe(e,t){return Wfe(e,t)}function Wfe(e,t,r,n){Vh()||gn(!1);let{navigator:i}=O.useContext(Lh),{matches:a}=O.useContext(Au),l=a[a.length-1],s=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let c=P1(),d;if(t){var f;let b=typeof t=="string"?pd(t):t;u==="/"||(f=b.pathname)!=null&&f.startsWith(u)||gn(!1),d=b}else d=c;let h=d.pathname||"/",p=u==="/"?h:h.slice(u.length)||"/",m=bfe(e,{pathname:p}),g=Kfe(m&&m.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:du([u,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:du([u,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,r,n);return t&&g?O.createElement(E1.Provider,{value:{location:oh({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Xo.Pop}},g):g}function Zfe(){let e=Jfe(),t=Lfe(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),r?O.createElement("pre",{style:i},r):null,a)}const Ufe=O.createElement(Zfe,null);class qfe extends O.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?O.createElement(Au.Provider,{value:this.props.routeContext},O.createElement(XW.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Hfe(e){let{routeContext:t,match:r,children:n}=e,i=O.useContext(kT);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),O.createElement(Au.Provider,{value:t},n)}function Kfe(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let l=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let d=l.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id]));d>=0||gn(!1),l=l.slice(0,Math.min(l.length,d+1))}let u=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d=0?l=l.slice(0,c+1):l=[l[0]];break}}}return l.reduceRight((d,f,h)=>{let p,m=!1,g=null,b=null;r&&(p=s&&f.route.id?s[f.route.id]:void 0,g=f.route.errorElement||Ufe,u&&(c<0&&h===0?(the("route-fallback",!1),m=!0,b=null):c===h&&(m=!0,b=f.route.hydrateFallbackElement||null)));let v=t.concat(l.slice(0,h+1)),$=()=>{let y;return p?y=g:m?y=b:f.route.Component?y=O.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,O.createElement(Hfe,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:r!=null},children:y})};return r&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?O.createElement(qfe,{location:r.location,revalidation:r.revalidation,component:g,error:p,children:$(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):$()},null)}var eZ=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(eZ||{}),_g=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(_g||{});function Yfe(e){let t=O.useContext(kT);return t||gn(!1),t}function Gfe(e){let t=O.useContext(Qfe);return t||gn(!1),t}function Xfe(e){let t=O.useContext(Au);return t||gn(!1),t}function tZ(e){let t=Xfe(),r=t.matches[t.matches.length-1];return r.route.id||gn(!1),r.route.id}function Jfe(){var e;let t=O.useContext(XW),r=Gfe(_g.UseRouteError),n=tZ(_g.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function ehe(){let{router:e}=Yfe(eZ.UseNavigateStable),t=tZ(_g.UseNavigateStable),r=O.useRef(!1);return JW(()=>{r.current=!0}),O.useCallback(function(i,a){a===void 0&&(a={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,oh({fromRouteId:t},a)))},[e,t])}const QB={};function the(e,t,r){!t&&!QB[e]&&(QB[e]=!0)}function zB(e){let{to:t,replace:r,state:n,relative:i}=e;Vh()||gn(!1);let{future:a,static:l}=O.useContext(Lh),{matches:s}=O.useContext(Au),{pathname:u}=P1(),c=F1(),d=YW(t,KW(s,a.v7_relativeSplatPath),u,i==="path"),f=JSON.stringify(d);return O.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:i}),[c,f,i,r,n]),null}function de(e){gn(!1)}function rhe(e){let{basename:t="/",children:r=null,location:n,navigationType:i=Xo.Pop,navigator:a,static:l=!1,future:s}=e;Vh()&&gn(!1);let u=t.replace(/^\/*/,"/"),c=O.useMemo(()=>({basename:u,navigator:a,static:l,future:oh({v7_relativeSplatPath:!1},s)}),[u,s,a,l]);typeof n=="string"&&(n=pd(n));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:m="default"}=n,g=O.useMemo(()=>{let b=HW(d,u);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:m},navigationType:i}},[u,d,f,h,p,m,i]);return g==null?null:O.createElement(Lh.Provider,{value:c},O.createElement(E1.Provider,{children:r,value:g}))}function rZ(e){let{children:t,location:r}=e;return jfe(f2(t),r)}new Promise(()=>{});function f2(e,t){t===void 0&&(t=[]);let r=[];return O.Children.forEach(e,(n,i)=>{if(!O.isValidElement(n))return;let a=[...t,i];if(n.type===O.Fragment){r.push.apply(r,f2(n.props.children,a));return}n.type!==de&&gn(!1),!n.props.index||!n.props.children||gn(!1);let l={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=f2(n.props.children,a)),r.push(l)}),r}/** * React Router DOM v6.22.0 * * Copyright (c) Remix Software Inc. @@ -64,8 +64,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const Xfe="6";try{window.__reactRouterVersion=Xfe}catch{}const Jfe="startTransition",QB=ece[Jfe];function ehe(e){let{basename:t,children:r,future:n,window:i}=e,a=O.useRef();a.current==null&&(a.current=cfe({window:i,v5Compat:!0}));let l=a.current,[s,u]=O.useState({action:l.action,location:l.location}),{v7_startTransition:c}=n||{},d=O.useCallback(f=>{c&&QB?QB(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>l.listen(d),[l,d]),O.createElement(Gfe,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:n})}var VB;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(VB||(VB={}));var zB;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zB||(zB={}));function JW(e){return null}JW.getCollectionNode=function*(t,r){let{childItems:n,title:i,children:a}=t,l=t.title||t.children,s=t.textValue||(typeof l=="string"?l:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:l,textValue:s,"aria-label":t["aria-label"],hasChildNodes:the(t),*childNodes(){if(n)for(let u of n)yield{type:"item",value:u};else if(i){let u=[];w.Children.forEach(a,c=>{u.push({type:"item",element:c})}),yield*u}}}};function the(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&w.Children.count(e.children)>0)}let E1=JW;class eZ{build(t,r){return this.context=r,jB(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of t.items)yield*this.getFullNode({value:i},{renderer:r})}else{let i=[];w.Children.forEach(r,l=>{i.push(l)});let a=0;for(let l of i){let s=this.getFullNode({element:l,index:a},{});for(let u of s)a++,yield u}}}getKey(t,r,n,i){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let a=r.value;if(a!=null){var l;let s=(l=a.key)!==null&&l!==void 0?l:a.id;if(s==null)throw new Error("No key found for item");return s}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,i){let a=t.element;if(!a&&t.value&&r&&r.renderer){let u=this.cache.get(t.value);if(u&&(!u.shouldInvalidate||!u.shouldInvalidate(this.context))){u.index=t.index,u.parentKey=i?i.key:null,yield u;return}a=r.renderer(t.value)}if(w.isValidElement(a)){let u=a.type;if(typeof u!="function"&&typeof u.getCollectionNode!="function"){let h=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=u.getCollectionNode(a.props,this.context),d=t.index,f=c.next();for(;!f.done&&f.value;){let h=f.value;t.index=d;let p=h.key;p||(p=h.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...h,key:p,index:d,wrapper:rhe(t.wrapper,h.wrapper)},this.getChildState(r,h),n?`${n}${a.key}`:a.key,i)];for(let b of g){if(b.value=h.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${my(b.type)}> in <${my(i.type)}>. Only <${my(t.type)}> is supported.`);d++,yield b}f=c.next(g)}return}if(t.key==null)return;let l=this,s={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:jB(function*(){if(!t.hasChildNodes)return;let u=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`),c.index=u;let d=l.getFullNode(c,l.getChildState(r,c),s.key,s);for(let f of d)u++,yield f}})};yield s}constructor(){this.cache=new WeakMap}}function jB(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function rhe(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function my(e){return e[0].toUpperCase()+e.slice(1)}function SR(e,t,r){let n=O.useMemo(()=>new eZ,[]),{children:i,items:a,collection:l}=e;return O.useMemo(()=>{if(l)return l;let u=n.build({children:i,items:a},r);return t(u)},[n,i,a,l,r,t])}function pr(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function lo(e){return zo(e,0)}function zo(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Xo(e){let t;for(let r of e)t=r;return t}function gy(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...WB(e,t),t],i=[...WB(e,r),r],a=n.slice(0,i.length).findIndex((l,s)=>l!==i[s]);return a!==-1?(t=n[a],r=i[a],t.index-r.index):n.findIndex(l=>l===r)>=0?1:(i.findIndex(l=>l===t)>=0,-1)}function WB(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const ZB=new WeakMap;function wR(e){let t=ZB.get(e);if(t!=null)return t;t=0;let r=n=>{for(let i of n)i.type==="section"?r(pr(i,e)):t++};return r(e),ZB.set(e,t),t}var tZ={};tZ={pending:"قيد الانتظار"};var rZ={};rZ={pending:"недовършено"};var nZ={};nZ={pending:"čeká na vyřízení"};var iZ={};iZ={pending:"afventende"};var aZ={};aZ={pending:"Ausstehend"};var lZ={};lZ={pending:"σε εκκρεμότητα"};var oZ={};oZ={pending:"pending"};var sZ={};sZ={pending:"pendiente"};var uZ={};uZ={pending:"ootel"};var cZ={};cZ={pending:"odottaa"};var dZ={};dZ={pending:"En attente"};var fZ={};fZ={pending:"ממתין ל"};var hZ={};hZ={pending:"u tijeku"};var pZ={};pZ={pending:"függőben levő"};var mZ={};mZ={pending:"in sospeso"};var gZ={};gZ={pending:"保留"};var vZ={};vZ={pending:"보류 중"};var bZ={};bZ={pending:"laukiama"};var yZ={};yZ={pending:"gaida"};var $Z={};$Z={pending:"avventer"};var OZ={};OZ={pending:"in behandeling"};var xZ={};xZ={pending:"oczekujące"};var SZ={};SZ={pending:"pendente"};var wZ={};wZ={pending:"pendente"};var kZ={};kZ={pending:"în așteptare"};var CZ={};CZ={pending:"в ожидании"};var EZ={};EZ={pending:"čakajúce"};var PZ={};PZ={pending:"v teku"};var FZ={};FZ={pending:"nerešeno"};var AZ={};AZ={pending:"väntande"};var DZ={};DZ={pending:"beklemede"};var TZ={};TZ={pending:"в очікуванні"};var RZ={};RZ={pending:"待处理"};var IZ={};IZ={pending:"待處理"};function ca(e,t,r){let[n,i]=O.useState(e||t),a=O.useRef(e!==void 0),l=e!==void 0;O.useEffect(()=>{let c=a.current;c!==l&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),a.current=l},[l]);let s=l?e:n,u=O.useCallback((c,...d)=>{let f=(h,...p)=>{r&&(Object.is(s,h)||r(h,...p)),l||(s=h)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((p,...m)=>{let g=c(l?s:p,...m);return f(g,...d),l?p:g})):(l||i(c),f(c,...d))},[l,s,r]);return[s,u]}function Pa(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Di(e,t,r,n){t=Number(t),r=Number(r);let i=(e-(isNaN(t)?0:t))%n,a=Math.abs(i)*2>=n?e+Math.sign(i)*(n-Math.abs(i)):e-i;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):ar&&(a=t+Math.floor((r-t)/n)*n);let l=n.toString(),s=l.indexOf("."),u=s>=0?l.length-s:0;if(u>0){let c=Math.pow(10,u);a=Math.round(a*c)/c}return a}const Mg={prefix:String(Math.round(Math.random()*1e10)),current:0},MZ=w.createContext(Mg),nhe=w.createContext(!1);let ihe=!!(typeof window<"u"&&window.document&&window.document.createElement),vy=new WeakMap;function ahe(e=!1){let t=O.useContext(MZ),r=O.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let l=vy.get(a);l==null?vy.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==l.state&&(t.current=l.id,vy.delete(a))}r.current=++t.current}return r.current}function lhe(e){let t=O.useContext(MZ);t===Mg&&!ihe&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=ahe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function ohe(e){let t=w.useId(),[r]=O.useState(Is()),n=r?"react-aria":`react-aria${Mg.prefix}`;return e||`${n}-${t}`}const she=typeof w.useId=="function"?ohe:lhe;function uhe(){return!1}function che(){return!0}function dhe(e){return()=>{}}function Is(){return typeof w.useSyncExternalStore=="function"?w.useSyncExternalStore(dhe,uhe,che):O.useContext(nhe)}function BZ(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{};function Qr(e){const t=O.useRef(null);return wt(()=>{t.current=e},[e]),O.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function _Z(e){let[t,r]=O.useState(e),n=O.useRef(null),i=Qr(()=>{let l=n.current.next();if(l.done){n.current=null;return}t===l.value?i():r(l.value)});wt(()=>{n.current&&i()});let a=Qr(l=>{n.current=l(t),i()});return[t,a]}let fhe=!!(typeof window<"u"&&window.document&&window.document.createElement),Bg=new Map;function ir(e){let[t,r]=O.useState(e),n=O.useRef(null),i=she(t),a=O.useCallback(l=>{n.current=l},[]);return fhe&&Bg.set(i,a),wt(()=>{let l=i;return()=>{Bg.delete(l)}},[i]),O.useEffect(()=>{let l=n.current;l&&(n.current=null,r(l))}),i}function hhe(e,t){if(e===t)return e;let r=Bg.get(e);if(r)return r(t),t;let n=Bg.get(t);return n?(n(e),e):t}function Rl(e=[]){let t=ir(),[r,n]=_Z(t),i=O.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return wt(i,[t,i,...e]),r}function yo(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const ln=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},oh=e=>e&&"window"in e&&e.window===e?e:ln(e).defaultView||window;function $e(...e){let t={...e[0]};for(let r=1;r=65&&i.charCodeAt(2)<=90?t[i]=yo(a,l):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof l=="string"?t[i]=P1(a,l):i==="id"&&a&&l?t.id=hhe(a,l):t[i]=l!==void 0?l:a}}return t}function NZ(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const phe=new Set(["id"]),mhe=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ghe=new Set(["href","target","rel","download","ping","referrerPolicy"]),vhe=/^(data-.*)$/;function Kt(e,t={}){let{labelable:r,isLink:n,propNames:i}=t,a={};for(const l in e)Object.prototype.hasOwnProperty.call(e,l)&&(phe.has(l)||r&&mhe.has(l)||n&&ghe.has(l)||i!=null&&i.has(l)||vhe.test(l))&&(a[l]=e[l]);return a}function El(e){if(bhe())e.focus({preventScroll:!0});else{let t=yhe(e);e.focus(),$he(t)}}let Np=null;function bhe(){if(Np==null){Np=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Np=!0,!0}})}catch{}}return Np}function yhe(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight"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 kR(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 ms(){return kR(/^Mac/i)}function LZ(){return kR(/^iPhone/i)}function QZ(){return kR(/^iPad/i)||ms()&&navigator.maxTouchPoints>1}function Lh(){return LZ()||QZ()}function Af(){return ms()||Lh()}function CR(){return F1(/AppleWebKit/i)&&!Ohe()}function Ohe(){return F1(/Chrome/i)}function qc(){return F1(/Android/i)}function VZ(){return F1(/Firefox/i)}const zZ=O.createContext({isNative:!0,open:She});function xhe(e){let{children:t,navigate:r}=e,n=O.useMemo(()=>({isNative:!1,open:(i,a)=>{WZ(i,l=>{jZ(l,a)?r(l.pathname+l.search+l.hash):gs(l,a)})}}),[r]);return w.createElement(zZ.Provider,{value:n},t)}function Qh(){return O.useContext(zZ)}function jZ(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function gs(e,t,r=!0){var n,i;let{metaKey:a,ctrlKey:l,altKey:s,shiftKey:u}=t;VZ()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(ms()?a=!0:l=!0);let c=CR()&&ms()&&!QZ()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:l,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:l,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});gs.isOpening=r,El(e),e.dispatchEvent(c),gs.isOpening=!1}gs.isOpening=!1;function WZ(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function She(e,t){WZ(e,r=>gs(r,t))}function whe(e){return{"data-href":e.href,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}let Gu=new Map,u2=new Set;function UB(){if(typeof window>"u")return;let e=r=>{let n=Gu.get(r.target);n||(n=new Set,Gu.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Gu.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Gu.delete(r.target)),Gu.size===0)){for(let i of u2)i();u2.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?UB():document.addEventListener("DOMContentLoaded",UB));function ZZ(e){requestAnimationFrame(()=>{Gu.size===0?e():u2.add(e)})}function pd(){let e=O.useRef(new Map),t=O.useCallback((i,a,l,s)=>{let u=s!=null&&s.once?(...c)=>{e.current.delete(l),l(...c)}:l;e.current.set(l,{type:a,eventTarget:i,fn:u,options:s}),i.addEventListener(a,l,s)},[]),r=O.useCallback((i,a,l,s)=>{var u;let c=((u=e.current.get(l))===null||u===void 0?void 0:u.fn)||l;i.removeEventListener(a,c,s),e.current.delete(l)},[]),n=O.useCallback(()=>{e.current.forEach((i,a)=>{r(i.eventTarget,i.type,a,i.options)})},[r]);return O.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function sh(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;return r=ir(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function ER(e){const t=O.useRef();return O.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function UZ(e,t){const r=O.useRef(!0),n=O.useRef(null);O.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),O.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((i,a)=>!Object.is(i,n[a])))&&e(),n.current=t},t)}function khe(){return typeof window.ResizeObserver<"u"}function Vh(e){const{ref:t,onResize:r}=e;O.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(khe()){const i=new window.ResizeObserver(a=>{a.length&&r()});return i.observe(n),()=>{n&&i.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function A1(e,t){wt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function yl(e,t){for(_g(e,t)&&(e=e.parentElement);e&&!_g(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function _g(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let $l=typeof document<"u"&&window.visualViewport;function qZ(){let e=Is(),[t,r]=O.useState(()=>e?{width:0,height:0}:qB());return O.useEffect(()=>{let n=()=>{r(i=>{let a=qB();return a.width===i.width&&a.height===i.height?i:a})};return $l?$l.addEventListener("resize",n):window.addEventListener("resize",n),()=>{$l?$l.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function qB(){return{width:($l==null?void 0:$l.width)||window.innerWidth,height:($l==null?void 0:$l.height)||window.innerHeight}}let Che=0;const by=new Map;function zh(e){let[t,r]=O.useState(void 0);return wt(()=>{if(!e)return;let n=by.get(e);if(n)r(n.element.id);else{let i=`react-aria-description-${Che++}`;r(i);let a=document.createElement("div");a.id=i,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},by.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),by.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function HZ(e,t,r,n){let i=Qr(r),a=r==null;O.useEffect(()=>{if(a)return;let l=e.current;return l.addEventListener(t,i,n),()=>{l.removeEventListener(t,i,n)}},[e,t,n,a,i])}function PR(e,t){let r=HB(e,t,"left"),n=HB(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,l=e.scrollLeft,s=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c}=getComputedStyle(e),d=e.scrollLeft+parseInt(c,10),f=e.scrollTop+parseInt(u,10),h=d+e.clientWidth,p=f+e.clientHeight;r<=l?l=r-parseInt(c,10):r+i>h&&(l+=r+i-h),n<=f?s=n-parseInt(u,10):n+a>p&&(s+=n+a-p),e.scrollLeft=l,e.scrollTop=s}function HB(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}function io(e,t){if(document.contains(e)){let l=document.scrollingElement||document.documentElement;if(window.getComputedStyle(l).overflow==="hidden"){let u=yl(e);for(;e&&u&&e!==l&&u!==l;)PR(u,e),e=u,u=yl(e)}else{var r;let{left:u,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(u-d)>1||Math.abs(c-f)>1){var n,i,a;t==null||(i=t.containingElement)===null||i===void 0||(n=i.scrollIntoView)===null||n===void 0||n.call(i,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function c2(e){return e.mozInputSource===0&&e.isTrusted?!0:qc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ehe(e){return!qc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Du(e,t,r){let n=O.useRef(t),i=Qr(()=>{r&&r(n.current)});O.useEffect(()=>{var a;let l=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return l==null||l.addEventListener("reset",i),()=>{l==null||l.removeEventListener("reset",i)}},[e,i])}const Phe=Symbol.for("react-aria.i18n.locale"),Fhe=Symbol.for("react-aria.i18n.strings");let Qu;class D1{getStringForLocale(t,r){let i=this.getStringsForLocale(r)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${r} locale`);return i}getStringsForLocale(t){let r=this.strings[t];return r||(r=Ahe(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Phe];if(Qu===void 0){let i=window[Fhe];if(!i)return null;Qu={};for(let a in i)Qu[a]=new D1({[r]:i[a]},r)}let n=Qu==null?void 0:Qu[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function Ahe(e,t,r="en-US"){if(t[e])return t[e];let n=Dhe(e);if(t[n])return t[n];for(let i in t)if(i.startsWith(n+"-"))return t[i];return t[r]}function Dhe(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const KB=new Map,YB=new Map;class The{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 i=r["="+t];if(i)return typeof i=="function"?i():i;let a=this.locale+":"+n,l=KB.get(a);l||(l=new Intl.PluralRules(this.locale,{type:n}),KB.set(a,l));let s=l.select(t);return i=r[s]||r.other,typeof i=="function"?i():i}number(t){let r=YB.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),YB.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function Rhe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ihe(e,t,r){Rhe(e,t),t.set(e,r)}let yy=new Map,d2=!1;try{d2=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ng=!1;try{Ng=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const KZ={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Lg{format(t){let r="";if(!d2&&this.options.signDisplay!=null?r=Bhe(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Ng){var n;let{unit:i,unitDisplay:a="short",locale:l}=this.resolvedOptions();if(!i)return r;let s=(n=KZ[i])===null||n===void 0?void 0:n[a];r+=s[l]||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= 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= start date");let n=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!d2&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Ng&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Mhe(t,r),this.options=r}}function Mhe(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Ng){var n;let{unit:l,unitDisplay:s="short"}=t;if(!l)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=KZ[l])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${l} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((l,s)=>l[0]0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let i=e.format(-r),a=e.format(r),l=i.replace(a,"").replace(/\u200e|\u061C/,"");return[...l].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(a,"!!!").replace(l,"+").replace("!!!",a)}else return e.format(r)}}const _he=new RegExp("^.*\\(.*\\).*$"),Nhe=["latn","arab","hanidec"];class YZ{parse(t){return $y(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return $y(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return $y(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const GB=new Map;function $y(e,t,r){let n=XB(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let i of Nhe)if(i!==n.options.numberingSystem){let a=XB(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(a.isValidPartialNumber(r))return a}}return n}function XB(e,t){let r=e+(t?Object.entries(t).sort((i,a)=>i[0]-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new YZ(this.locale,i).parse(new Lg(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&_he.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=Lp(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Lp(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Lp(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,r={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Vhe(t,this.formatter,this.options,r);var n,i;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const JB=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Qhe=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Vhe(e,t,r,n){var i,a,l,s;let u=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=u.formatToParts(-10000.111),d=u.formatToParts(10000.111),f=Qhe.map(D=>u.formatToParts(D));var h;let p=(h=(i=c.find(D=>D.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&h!==void 0?h:"-",m=(a=d.find(D=>D.type==="plusSign"))===null||a===void 0?void 0:a.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let b=(l=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(D=>D.type==="decimal"))===null||l===void 0?void 0:l.value,v=(s=c.find(D=>D.type==="group"))===null||s===void 0?void 0:s.value,y=c.filter(D=>!JB.has(D.type)).map(D=>e_(D.value)),$=f.flatMap(D=>D.filter(T=>!JB.has(T.type)).map(T=>e_(T.value))),S=[...new Set([...y,...$])].sort((D,T)=>T.length-D.length),k=S.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${S.join("|")}|[\\p{White_Space}]`,"gu"),C=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(C.map((D,T)=>[D,T])),E=new RegExp(`[${C.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:b,group:v,literals:k,numeral:E,index:D=>String(F.get(D))}}function Lp(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function e_(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const zhe=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),jhe=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function GZ(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return zhe.has(r.script)}let t=e.split("-")[0];return jhe.has(t)}const Whe=Symbol.for("react-aria.i18n.locale");function XZ(){let e=typeof window<"u"&&window[Whe]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:GZ(e)?"rtl":"ltr"}}let f2=XZ(),df=new Set;function t_(){f2=XZ();for(let e of df)e(f2)}function JZ(){let e=Is(),[t,r]=O.useState(f2);return O.useEffect(()=>(df.size===0&&window.addEventListener("languagechange",t_),df.add(r),()=>{df.delete(r),df.size===0&&window.removeEventListener("languagechange",t_)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const eU=w.createContext(null);function Zhe(e){let{locale:t,children:r}=e,n=JZ(),i=t?{locale:t,direction:GZ(t)?"rtl":"ltr"}:n;return w.createElement(eU.Provider,{value:i},r)}function yr(){let e=JZ();return O.useContext(eU)||e}const r_=new WeakMap;function Uhe(e){let t=r_.get(e);return t||(t=new D1(e),r_.set(e,t)),t}function qhe(e,t){return t&&D1.getGlobalDictionaryForPackage(t)||Uhe(e)}function lr(e,t){let{locale:r}=yr(),n=qhe(e,t);return O.useMemo(()=>new The(r,n),[r,n])}function Qg(e={}){let{locale:t}=yr();return O.useMemo(()=>new Lg(t,e),[t,e])}let Oy=new Map;function md(e){let{locale:t}=yr(),r=t+(e?Object.entries(e).sort((i,a)=>i[0]l.length===0?!0:(a=a.normalize("NFC"),l=l.normalize("NFC"),t.compare(a.slice(0,l.length),l)===0),[t]),n=O.useCallback((a,l)=>l.length===0?!0:(a=a.normalize("NFC"),l=l.normalize("NFC"),t.compare(a.slice(-l.length),l)===0),[t]),i=O.useCallback((a,l)=>{if(l.length===0)return!0;a=a.normalize("NFC"),l=l.normalize("NFC");let s=0,u=l.length;for(;s+u<=a.length;s++){let c=a.slice(s,s+u);if(t.compare(l,c)===0)return!0}return!1},[t]);return O.useMemo(()=>({startsWith:r,endsWith:n,contains:i}),[r,n,i])}let Qp=!1;function z(e,...t){let r=[];for(let n of t)if(typeof n=="object"&&n){let i={};for(let a in n)e[a]&&(i[e[a]]=n[a]),e[a]||(i[a]=n[a]);r.push(i)}else typeof n=="string"?(e[n]&&r.push(e[n]),e[n]||r.push(n)):r.push(n);return P1(...r)}function Hhe(e){let t;return typeof e=="string"?t=w.createElement("span",null,e):t=w.Children.only(e),t}function h2(e){let t=typeof window<"u"&&typeof window.matchMedia=="function",[r,n]=O.useState(()=>t?window.matchMedia(e).matches:!1);return O.useEffect(()=>{if(!t)return;let a=window.matchMedia(e),l=s=>{n(s.matches)};return a.addListener(l),()=>{a.removeListener(l)}},[t,e]),Is()?!1:r}function FR(e){return{UNSAFE_getDOMNode(){return e.current}}}function rU(e,t=e){return{...FR(e),focus(){t.current&&t.current.focus()}}}function Xr(e){let t=O.useRef(null);return O.useImperativeHandle(e,()=>FR(t)),t}function Ra(e,t){let r=O.useRef(null);return O.useImperativeHandle(e,()=>rU(r,t)),r}function mc(e){return{get current(){return e.current&&e.current.UNSAFE_getDOMNode()}}}function Vg(e){return O.useMemo(()=>mc(e),[e])}const AR=w.createContext(null);AR.displayName="BreakpointContext";function Khe(e){let{children:t,matchedBreakpoints:r}=e;return w.createElement(AR.Provider,{value:{matchedBreakpoints:r}},t)}function Yhe(e){let t=Object.entries(e).sort(([,u],[,c])=>c-u),r=t.map(([,u])=>`(min-width: ${u}px)`),n=typeof window<"u"&&typeof window.matchMedia=="function",i=()=>{let u=[];for(let c in r){let d=r[c];window.matchMedia(d).matches&&u.push(t[c][0])}return u.push("base"),u},[a,l]=O.useState(()=>n?i():["base"]);return O.useEffect(()=>{if(!n)return;let u=()=>{const c=i();l(d=>d.length!==c.length||d.some((f,h)=>f!==c[h])?[...c]:d)};return window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[n]),Is()?["base"]:a}function nU(){return O.useContext(AR)}const T1={margin:["margin",_t],marginStart:[Ai("marginLeft","marginRight"),_t],marginEnd:[Ai("marginRight","marginLeft"),_t],marginTop:["marginTop",_t],marginBottom:["marginBottom",_t],marginX:[["marginLeft","marginRight"],_t],marginY:[["marginTop","marginBottom"],_t],width:["width",_t],height:["height",_t],minWidth:["minWidth",_t],minHeight:["minHeight",_t],maxWidth:["maxWidth",_t],maxHeight:["maxHeight",_t],isHidden:["display",tpe],alignSelf:["alignSelf",vn],justifySelf:["justifySelf",vn],position:["position",Sy],zIndex:["zIndex",Sy],top:["top",_t],bottom:["bottom",_t],start:[Ai("left","right"),_t],end:[Ai("right","left"),_t],left:["left",_t],right:["right",_t],order:["order",Sy],flex:["flex",rpe],flexGrow:["flexGrow",vn],flexShrink:["flexShrink",vn],flexBasis:["flexBasis",vn],gridArea:["gridArea",vn],gridColumn:["gridColumn",vn],gridColumnEnd:["gridColumnEnd",vn],gridColumnStart:["gridColumnStart",vn],gridRow:["gridRow",vn],gridRowEnd:["gridRowEnd",vn],gridRowStart:["gridRowStart",vn]};({...T1,borderStartWidth:Ai("borderLeftWidth","borderRightWidth"),borderEndWidth:Ai("borderRightWidth","borderLeftWidth"),borderStartColor:Ai("borderLeftColor","borderRightColor"),borderEndColor:Ai("borderRightColor","borderLeftColor"),borderTopStartRadius:Ai("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Ai("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Ai("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Ai("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Ai("paddingLeft","paddingRight"),paddingEnd:Ai("paddingRight","paddingLeft")});const n_={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Ai(e,t){return r=>r==="rtl"?t:e}const Ghe=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,Xhe=/^\s*\w+\(/,Jhe=/(static-)?size-\d+|single-line-(height|width)/g;function _t(e){return typeof e=="number"?e+"px":Ghe.test(e)?e:Xhe.test(e)?e.replace(Jhe,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function xy(e,t){return e=DR(e,t),_t(e)}function iU(e,t="default",r=5){return r>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function epe(e,t=5){return`var(--spectrum-alias-background-color-${e}, ${iU(e,"background",t)})`}function Zl(e,t=5){return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${iU(e,"border",t)})`}function Ul(e){return e&&e!=="none"?`var(--spectrum-alias-border-size-${e})`:"0"}function ql(e){return`var(--spectrum-alias-border-radius-${e})`}function tpe(e){return e?"none":void 0}function Sy(e){return e}function rpe(e){return typeof e=="boolean"?e?"1":void 0:""+e}function npe(e,t,r,n){let i={};for(let a in e){let l=t[a];if(!l||e[a]==null)continue;let[s,u]=l;typeof s=="function"&&(s=s(r));let c=DR(e[a],n),d=u(c,e.colorVersion);if(Array.isArray(s))for(let f of s)i[f]=d;else i[s]=d}for(let a in n_)i[a]&&(i[n_[a]]="solid",i.boxSizing="border-box");return i}function Nt(e,t=T1,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...a}=e,l=nU(),{direction:s}=yr(),{matchedBreakpoints:u=(l==null?void 0:l.matchedBreakpoints)||["base"]}=r,c=npe(e,t,s,u),d={...i,...c};a.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),a.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let f={style:d,className:n};return DR(e.isHidden,u)&&(f.hidden=!0),{styleProps:f}}function vn(e){return e}function DR(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let r=0;rObject.keys(t).concat(Object.keys(r)).reduce((a,l)=>({...a,[l]:$e(t[l]||{},r[l]||{})}),{}),[t,r]);return w.createElement(zg.Provider,{value:i},n)}function R1(e){let{children:t,...r}=e,n=t;return w.Children.toArray(t).length<=1&&typeof t=="function"&&(n=w.cloneElement(w.Children.only(t),r)),w.createElement(zg.Provider,{value:{}},n)}function gc(e,t){let[r,n]=O.useState(!0);return wt(()=>{n(!!(t.current&&t.current.querySelector(e)))},[n,e,t]),r}const ipe=700;function jh(){return Is()||typeof window>"u"?!1:window.screen.width<=ipe}function ape(e,t){return t.get?t.get.call(e):t.value}function aU(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function lpe(e,t){var r=aU(e,t,"get");return ape(e,r)}function ope(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function i_(e,t,r){var n=aU(e,t,"set");return ope(e,n,r),r}let vc="default",p2="",jm=new WeakMap;function m2(e){if(Lh()){if(vc==="default"){const t=ln(e);p2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}vc="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(jm.set(e,e.style.userSelect),e.style.userSelect="none")}function ff(e){if(Lh()){if(vc!=="disabled")return;vc="restoring",setTimeout(()=>{ZZ(()=>{if(vc==="restoring"){const t=ln(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=p2||""),p2="",vc="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&jm.has(e)){let t=jm.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),jm.delete(e)}}const uh=w.createContext({register:()=>{}});uh.displayName="PressResponderContext";function spe(e){let t=O.useContext(uh);if(t){let{register:r,...n}=t;e=$e(n,e),r()}return A1(t,e.ref),e}var Vp=new WeakMap;class zp{continuePropagation(){i_(this,Vp,!1)}get shouldStopPropagation(){return lpe(this,Vp)}constructor(t,r,n){Ihe(this,Vp,{writable:!0,value:void 0}),i_(this,Vp,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const a_=Symbol("linkClicked");function Vi(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:a,isDisabled:l,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...h}=spe(e),[p,m]=O.useState(!1),g=O.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:v}=pd(),y=Qr((E,M)=>{let D=g.current;if(l||D.didFirePressStart)return!1;let T=!0;if(D.isTriggeringEvent=!0,n){let B=new zp("pressstart",M,E);n(B),T=B.shouldStopPropagation}return r&&r(!0),D.isTriggeringEvent=!1,D.didFirePressStart=!0,m(!0),T}),$=Qr((E,M,D=!0)=>{let T=g.current;if(!T.didFirePressStart)return!1;T.ignoreClickAfterPress=!0,T.didFirePressStart=!1,T.isTriggeringEvent=!0;let B=!0;if(i){let R=new zp("pressend",M,E);i(R),B=R.shouldStopPropagation}if(r&&r(!1),m(!1),t&&D&&!l){let R=new zp("press",M,E);t(R),B&&(B=R.shouldStopPropagation)}return T.isTriggeringEvent=!1,B}),S=Qr((E,M)=>{let D=g.current;if(l)return!1;if(a){D.isTriggeringEvent=!0;let T=new zp("pressup",M,E);return a(T),D.isTriggeringEvent=!1,T.shouldStopPropagation}return!0}),k=Qr(E=>{let M=g.current;M.isPressed&&M.target&&(M.isOverTarget&&M.pointerType!=null&&$(Hl(M.target,E),M.pointerType,!1),M.isPressed=!1,M.isOverTarget=!1,M.activePointerId=null,M.pointerType=null,v(),d||ff(M.target))}),C=Qr(E=>{c&&k(E)}),F=O.useMemo(()=>{let E=g.current,M={onKeyDown(T){if(wy(T.nativeEvent,T.currentTarget)&&T.currentTarget.contains(T.target)){var B;o_(T.target,T.key)&&T.preventDefault();let R=!0;!E.isPressed&&!T.repeat&&(E.target=T.currentTarget,E.isPressed=!0,R=y(T,"keyboard"),b(ln(T.currentTarget),"keyup",D,!1)),R&&T.stopPropagation(),T.metaKey&&ms()&&((B=E.metaKeyEvents)===null||B===void 0||B.set(T.key,T.nativeEvent))}else T.key==="Meta"&&(E.metaKeyEvents=new Map)},onKeyUp(T){wy(T.nativeEvent,T.currentTarget)&&!T.repeat&&T.currentTarget.contains(T.target)&&E.target&&S(Hl(E.target,T),"keyboard")},onClick(T){if(!(T&&!T.currentTarget.contains(T.target))&&T&&T.button===0&&!E.isTriggeringEvent&&!gs.isOpening){let B=!0;if(l&&T.preventDefault(),!E.ignoreClickAfterPress&&!E.ignoreEmulatedMouseEvents&&!E.isPressed&&(E.pointerType==="virtual"||c2(T.nativeEvent))){!l&&!u&&El(T.currentTarget);let R=y(T,"virtual"),_=S(T,"virtual"),V=$(T,"virtual");B=R&&_&&V}E.ignoreEmulatedMouseEvents=!1,E.ignoreClickAfterPress=!1,B&&T.stopPropagation()}}},D=T=>{var B;if(E.isPressed&&E.target&&wy(T,E.target)){var R;o_(T.target,T.key)&&T.preventDefault();let V=T.target,j=$(Hl(E.target,T),"keyboard",E.target.contains(V));v(),j&&T.stopPropagation(),T.key!=="Enter"&&TR(E.target)&&E.target.contains(V)&&!T[a_]&&(T[a_]=!0,gs(E.target,T,!1)),E.isPressed=!1,(R=E.metaKeyEvents)===null||R===void 0||R.delete(T.key)}else if(T.key==="Meta"&&(!((B=E.metaKeyEvents)===null||B===void 0)&&B.size)){var _;let V=E.metaKeyEvents;E.metaKeyEvents=void 0;for(let j of V.values())(_=E.target)===null||_===void 0||_.dispatchEvent(new KeyboardEvent("keyup",j))}};if(typeof PointerEvent<"u"){M.onPointerDown=_=>{if(_.button!==0||!_.currentTarget.contains(_.target))return;if(Ehe(_.nativeEvent)){E.pointerType="virtual";return}ky(_.currentTarget)&&_.preventDefault(),E.pointerType=_.pointerType;let V=!0;E.isPressed||(E.isPressed=!0,E.isOverTarget=!0,E.activePointerId=_.pointerId,E.target=_.currentTarget,!l&&!u&&El(_.currentTarget),d||m2(E.target),V=y(_,E.pointerType),b(ln(_.currentTarget),"pointermove",T,!1),b(ln(_.currentTarget),"pointerup",B,!1),b(ln(_.currentTarget),"pointercancel",R,!1)),V&&_.stopPropagation()},M.onMouseDown=_=>{_.currentTarget.contains(_.target)&&_.button===0&&(ky(_.currentTarget)&&_.preventDefault(),_.stopPropagation())},M.onPointerUp=_=>{!_.currentTarget.contains(_.target)||E.pointerType==="virtual"||_.button===0&&Vu(_,_.currentTarget)&&S(_,E.pointerType||_.pointerType)};let T=_=>{_.pointerId===E.activePointerId&&(E.target&&Vu(_,E.target)?!E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!0,y(Hl(E.target,_),E.pointerType)):E.target&&E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!1,$(Hl(E.target,_),E.pointerType,!1),C(_)))},B=_=>{_.pointerId===E.activePointerId&&E.isPressed&&_.button===0&&E.target&&(Vu(_,E.target)&&E.pointerType!=null?$(Hl(E.target,_),E.pointerType):E.isOverTarget&&E.pointerType!=null&&$(Hl(E.target,_),E.pointerType,!1),E.isPressed=!1,E.isOverTarget=!1,E.activePointerId=null,E.pointerType=null,v(),d||ff(E.target))},R=_=>{k(_)};M.onDragStart=_=>{_.currentTarget.contains(_.target)&&k(_)}}else{M.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(ky(R.currentTarget)&&R.preventDefault(),E.ignoreEmulatedMouseEvents){R.stopPropagation();return}E.isPressed=!0,E.isOverTarget=!0,E.target=R.currentTarget,E.pointerType=c2(R.nativeEvent)?"virtual":"mouse",!l&&!u&&El(R.currentTarget),y(R,E.pointerType)&&R.stopPropagation(),b(ln(R.currentTarget),"mouseup",T,!1)},M.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let _=!0;E.isPressed&&!E.ignoreEmulatedMouseEvents&&E.pointerType!=null&&(E.isOverTarget=!0,_=y(R,E.pointerType)),_&&R.stopPropagation()},M.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let _=!0;E.isPressed&&!E.ignoreEmulatedMouseEvents&&E.pointerType!=null&&(E.isOverTarget=!1,_=$(R,E.pointerType,!1),C(R)),_&&R.stopPropagation()},M.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!E.ignoreEmulatedMouseEvents&&R.button===0&&S(R,E.pointerType||"mouse")};let T=R=>{if(R.button===0){if(E.isPressed=!1,v(),E.ignoreEmulatedMouseEvents){E.ignoreEmulatedMouseEvents=!1;return}E.target&&Vu(R,E.target)&&E.pointerType!=null?$(Hl(E.target,R),E.pointerType):E.target&&E.isOverTarget&&E.pointerType!=null&&$(Hl(E.target,R),E.pointerType,!1),E.isOverTarget=!1}};M.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let _=upe(R.nativeEvent);if(!_)return;E.activePointerId=_.identifier,E.ignoreEmulatedMouseEvents=!0,E.isOverTarget=!0,E.isPressed=!0,E.target=R.currentTarget,E.pointerType="touch",!l&&!u&&El(R.currentTarget),d||m2(E.target),y(R,E.pointerType)&&R.stopPropagation(),b(oh(R.currentTarget),"scroll",B,!0)},M.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!E.isPressed){R.stopPropagation();return}let _=l_(R.nativeEvent,E.activePointerId),V=!0;_&&Vu(_,R.currentTarget)?!E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!0,V=y(R,E.pointerType)):E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!1,V=$(R,E.pointerType,!1),C(R)),V&&R.stopPropagation()},M.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!E.isPressed){R.stopPropagation();return}let _=l_(R.nativeEvent,E.activePointerId),V=!0;_&&Vu(_,R.currentTarget)&&E.pointerType!=null?(S(R,E.pointerType),V=$(R,E.pointerType)):E.isOverTarget&&E.pointerType!=null&&(V=$(R,E.pointerType,!1)),V&&R.stopPropagation(),E.isPressed=!1,E.activePointerId=null,E.isOverTarget=!1,E.ignoreEmulatedMouseEvents=!0,E.target&&!d&&ff(E.target),v()},M.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),E.isPressed&&k(R))};let B=R=>{E.isPressed&&R.target.contains(E.target)&&k({currentTarget:E.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};M.onDragStart=R=>{R.currentTarget.contains(R.target)&&k(R)}}return M},[b,l,u,v,d,k,C,$,y,S]);return O.useEffect(()=>()=>{var E;d||ff((E=g.current.target)!==null&&E!==void 0?E:void 0)},[d]),{isPressed:s||p,pressProps:$e(h,F)}}function TR(e){return e.tagName==="A"&&e.hasAttribute("href")}function wy(e,t){const{key:r,code:n}=e,i=t,a=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof oh(i).HTMLInputElement&&!lU(i,r)||i instanceof oh(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&TR(i))&&r!=="Enter")}function upe(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function l_(e,t){const r=e.changedTouches;for(let n=0;nt.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Vu(e,t){let r=t.getBoundingClientRect(),n=cpe(e);return dpe(r,n)}function ky(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function o_(e,t){return e instanceof HTMLInputElement?!lU(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!TR(e)}const fpe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function lU(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":fpe.has(e.type)}const I1=w.forwardRef(({children:e,...t},r)=>{let n=O.useRef(!1),i=O.useContext(uh);r=ER(r||(i==null?void 0:i.ref));let a=$e(i||{},{...t,ref:r,register(){n.current=!0,i&&i.register()}});return A1(i,r),O.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with component."),n.current=!0)},[]),w.createElement(uh.Provider,{value:a},e)});function hpe({children:e}){let t=O.useMemo(()=>({register:()=>{}}),[]);return w.createElement(uh.Provider,{value:t},e)}class ppe{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 oU(e){let t=O.useRef({isFocused:!1,observer:null});wt(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Qr(n=>{e==null||e(n)});return O.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,a=l=>{t.current.isFocused=!1,i.disabled&&r(new ppe("blur",l)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var l;(l=t.current.observer)===null||l===void 0||l.disconnect();let s=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function Wh(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const a=O.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),i&&i(!1),!0},[n,i]),l=oU(a),s=O.useCallback(u=>{u.target===u.currentTarget&&document.activeElement===u.target&&(r&&r(u),i&&i(!0),l(u))},[i,r,l]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?a:void 0}}}let $o=null,ch=new Set,s_=!1,yu=!1,g2=!1;const mpe={Tab:!0,Escape:!0};function M1(e,t){for(let r of ch)r(e,t)}function gpe(e){return!(e.metaKey||!ms()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function u_(e){yu=!0,gpe(e)&&($o="keyboard",M1("keyboard",e))}function zu(e){$o="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(yu=!0,M1("pointer",e))}function vpe(e){c2(e)&&(yu=!0,$o="virtual")}function bpe(e){e.target===window||e.target===document||(!yu&&!g2&&($o="virtual",M1("virtual",e)),yu=!1,g2=!1)}function ype(){yu=!1,g2=!0}function jg(){if(typeof window>"u"||s_)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){yu=!0,e.apply(this,arguments)},document.addEventListener("keydown",u_,!0),document.addEventListener("keyup",u_,!0),document.addEventListener("click",vpe,!0),window.addEventListener("focus",bpe,!0),window.addEventListener("blur",ype,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",zu,!0),document.addEventListener("pointermove",zu,!0),document.addEventListener("pointerup",zu,!0)):(document.addEventListener("mousedown",zu,!0),document.addEventListener("mousemove",zu,!0),document.addEventListener("mouseup",zu,!0)),s_=!0}typeof document<"u"&&(document.readyState!=="loading"?jg():document.addEventListener("DOMContentLoaded",jg));function Oo(){return $o!=="pointer"}function vs(){return $o}function B1(e){$o=e,M1(e,null)}function RR(){jg();let[e,t]=O.useState($o);return O.useEffect(()=>{let r=()=>{t($o)};return ch.add(r),()=>{ch.delete(r)}},[]),Is()?null:e}const $pe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ope(e,t,r){var n;return e=e||(r==null?void 0:r.target)instanceof HTMLInputElement&&!$pe.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof HTMLTextAreaElement||(r==null?void 0:r.target)instanceof HTMLElement&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!mpe[r.key])}function xpe(e,t,r){jg(),O.useEffect(()=>{let n=(i,a)=>{Ope(!!(r!=null&&r.isTextInput),i,a)&&e(Oo())};return ch.add(n),()=>{ch.delete(n)}},t)}function Tu(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,a=O.useRef({isFocusWithin:!1}),l=O.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,a]),s=oU(l),u=O.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),a.current.isFocusWithin=!0,s(c))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}let Wg=!1,Cy=0;function v2(){Wg=!0,setTimeout(()=>{Wg=!1},50)}function c_(e){e.pointerType==="touch"&&v2()}function Spe(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",c_):document.addEventListener("touchend",v2),Cy++,()=>{Cy--,!(Cy>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",c_):document.removeEventListener("touchend",v2))}}function Er(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[a,l]=O.useState(!1),s=O.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;O.useEffect(Spe,[]);let{hoverProps:u,triggerHoverEnd:c}=O.useMemo(()=>{let d=(p,m)=>{if(s.pointerType=m,i||m==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let g=p.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:m}),r&&r(!0),l(!0)},f=(p,m)=>{if(s.pointerType="",s.target=null,m==="touch"||!s.isHovered)return;s.isHovered=!1;let g=p.currentTarget;n&&n({type:"hoverend",target:g,pointerType:m}),r&&r(!1),l(!1)},h={};return typeof PointerEvent<"u"?(h.onPointerEnter=p=>{Wg&&p.pointerType==="mouse"||d(p,p.pointerType)},h.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(h.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=p=>{!s.ignoreEmulatedMouseEvents&&!Wg&&d(p,"mouse"),s.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[t,r,n,i,s]);return O.useEffect(()=>{i&&c({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}function wpe(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=e,a=O.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=Qr(u=>{r&&jp(u,t)&&(i&&i(u),a.current.isPointerDown=!0)}),s=Qr(u=>{r&&r(u)});O.useEffect(()=>{let u=a.current;if(n)return;const c=t.current,d=ln(c);if(typeof PointerEvent<"u"){let f=h=>{u.isPointerDown&&jp(h,t)&&s(h),u.isPointerDown=!1};return d.addEventListener("pointerdown",l,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",l,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=p=>{u.ignoreEmulatedMouseEvents?u.ignoreEmulatedMouseEvents=!1:u.isPointerDown&&jp(p,t)&&s(p),u.isPointerDown=!1},h=p=>{u.ignoreEmulatedMouseEvents=!0,u.isPointerDown&&jp(p,t)&&s(p),u.isPointerDown=!1};return d.addEventListener("mousedown",l,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",l,!0),d.addEventListener("touchend",h,!0),()=>{d.removeEventListener("mousedown",l,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",l,!0),d.removeEventListener("touchend",h,!0)}}},[t,n,l,s])}function jp(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function d_(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 _1(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:d_(e.onKeyDown),onKeyUp:d_(e.onKeyUp)}}}function IR(e){let{onMoveStart:t,onMove:r,onMoveEnd:n}=e,i=O.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:l}=pd(),s=Qr((d,f,h,p)=>{h===0&&p===0||(i.current.didMove||(i.current.didMove=!0,t==null||t({type:"movestart",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),r==null||r({type:"move",pointerType:f,deltaX:h,deltaY:p,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),u=Qr((d,f)=>{ff(),i.current.didMove&&(n==null||n({type:"moveend",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))});return{moveProps:O.useMemo(()=>{let d={},f=()=>{m2(),i.current.didMove=!1};if(typeof PointerEvent>"u"){let p=v=>{if(v.button===0){var y,$,S,k;s(v,"mouse",v.pageX-((S=(y=i.current.lastPosition)===null||y===void 0?void 0:y.pageX)!==null&&S!==void 0?S:0),v.pageY-((k=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageY)!==null&&k!==void 0?k:0)),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY}}},m=v=>{v.button===0&&(u(v,"mouse"),l(window,"mousemove",p,!1),l(window,"mouseup",m,!1))};d.onMouseDown=v=>{v.button===0&&(f(),v.stopPropagation(),v.preventDefault(),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY},a(window,"mousemove",p,!1),a(window,"mouseup",m,!1))};let g=v=>{let y=[...v.changedTouches].findIndex(({identifier:F})=>F===i.current.id);if(y>=0){var $,S;let{pageX:F,pageY:E}=v.changedTouches[y];var k,C;s(v,"touch",F-((k=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageX)!==null&&k!==void 0?k:0),E-((C=(S=i.current.lastPosition)===null||S===void 0?void 0:S.pageY)!==null&&C!==void 0?C:0)),i.current.lastPosition={pageX:F,pageY:E}}},b=v=>{[...v.changedTouches].findIndex(({identifier:$})=>$===i.current.id)>=0&&(u(v,"touch"),i.current.id=null,l(window,"touchmove",g),l(window,"touchend",b),l(window,"touchcancel",b))};d.onTouchStart=v=>{if(v.changedTouches.length===0||i.current.id!=null)return;let{pageX:y,pageY:$,identifier:S}=v.changedTouches[0];f(),v.stopPropagation(),v.preventDefault(),i.current.lastPosition={pageX:y,pageY:$},i.current.id=S,a(window,"touchmove",g,!1),a(window,"touchend",b,!1),a(window,"touchcancel",b,!1)}}else{let p=g=>{if(g.pointerId===i.current.id){var b,v;let S=g.pointerType||"mouse";var y,$;s(g,S,g.pageX-((y=(b=i.current.lastPosition)===null||b===void 0?void 0:b.pageX)!==null&&y!==void 0?y:0),g.pageY-(($=(v=i.current.lastPosition)===null||v===void 0?void 0:v.pageY)!==null&&$!==void 0?$:0)),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY}}},m=g=>{if(g.pointerId===i.current.id){let b=g.pointerType||"mouse";u(g,b),i.current.id=null,l(window,"pointermove",p,!1),l(window,"pointerup",m,!1),l(window,"pointercancel",m,!1)}};d.onPointerDown=g=>{g.button===0&&i.current.id==null&&(f(),g.stopPropagation(),g.preventDefault(),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY},i.current.id=g.pointerId,a(window,"pointermove",p,!1),a(window,"pointerup",m,!1),a(window,"pointercancel",m,!1))}}let h=(p,m,g)=>{f(),s(p,"keyboard",m,g),u(p,"keyboard")};return d.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),h(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),h(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),h(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),h(p,0,1);break}},d},[i,a,l,s,u])}}function kpe(e,t){let{onScroll:r,isDisabled:n}=e,i=O.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);HZ(t,"wheel",n?void 0:i)}const Cpe=500;function sU(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:i,threshold:a=Cpe,accessibilityDescription:l}=e;const s=O.useRef();let{addGlobalListener:u,removeGlobalListener:c}=pd(),{pressProps:d}=Vi({isDisabled:t,onPressStart(h){if(h.continuePropagation(),(h.pointerType==="mouse"||h.pointerType==="touch")&&(r&&r({...h,type:"longpressstart"}),s.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...h,type:"longpress"}),s.current=void 0},a),h.pointerType==="touch")){let p=m=>{m.preventDefault()};u(h.target,"contextmenu",p,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{c(h.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(h){s.current&&clearTimeout(s.current),n&&(h.pointerType==="mouse"||h.pointerType==="touch")&&n({...h,type:"longpressend"})}}),f=zh(i&&!t?l:void 0);return{longPressProps:$e(d,f)}}function Rn(e){const t=ln(e);if(vs()==="virtual"){let r=t.activeElement;ZZ(()=>{t.activeElement===r&&e.isConnected&&El(e)})}else El(e)}function Epe(e){const t=oh(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,i=r!=="none"&&n!=="hidden"&&n!=="collapse";if(i){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:l,visibility:s}=a(e);i=l!=="none"&&s!=="hidden"&&s!=="collapse"}return i}function Ppe(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function uU(e,t){return e.nodeName!=="#comment"&&Epe(e)&&Ppe(e,t)&&(!e.parentElement||uU(e.parentElement,e))}const f_=w.createContext(null);let Sr=null;function Zh(e){let{children:t,contain:r,restoreFocus:n,autoFocus:i}=e,a=O.useRef(null),l=O.useRef(null),s=O.useRef([]),{parentNode:u}=O.useContext(f_)||{},c=O.useMemo(()=>new b2({scopeRef:s}),[s]);wt(()=>{let h=u||fn.root;if(fn.getTreeNode(h.scopeRef)&&Sr&&!Ug(Sr,h.scopeRef)){let p=fn.getTreeNode(Sr);p&&(h=p)}h.addChild(c),fn.addNode(c)},[c,u]),wt(()=>{let h=fn.getTreeNode(s);h&&(h.contain=!!r)},[r]),wt(()=>{var h;let p=(h=a.current)===null||h===void 0?void 0:h.nextSibling,m=[];for(;p&&p!==l.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),Mpe(s,n,r),Tpe(s,r),_pe(s,n,r),Ipe(s,i),O.useEffect(()=>{const h=ln(s.current?s.current[0]:void 0).activeElement;let p=null;if(ai(h,s.current)){for(let m of fn.traverse())m.scopeRef&&ai(h,m.scopeRef.current)&&(p=m);p===fn.getTreeNode(s)&&(Sr=p.scopeRef)}},[s]),wt(()=>()=>{var h,p,m;let g=(m=(p=fn.getTreeNode(s))===null||p===void 0||(h=p.parent)===null||h===void 0?void 0:h.scopeRef)!==null&&m!==void 0?m:null;(s===Sr||Ug(s,Sr))&&(!g||fn.getTreeNode(g))&&(Sr=g),fn.removeTreeNode(s)},[s]);let d=O.useMemo(()=>Fpe(s),[]),f=O.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return w.createElement(f_.Provider,{value:f},w.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,w.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function Fpe(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,s=n||ln(r[0]).activeElement,u=r[0].previousElementSibling,c=iu(r),d=ta(c,{tabbable:i,accept:l},r);d.currentNode=ai(s,r)?s:u;let f=d.nextNode();return!f&&a&&(d.currentNode=u,f=d.nextNode()),f&&uo(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,s=n||ln(r[0]).activeElement,u=r[r.length-1].nextElementSibling,c=iu(r),d=ta(c,{tabbable:i,accept:l},r);d.currentNode=ai(s,r)?s:u;let f=d.previousNode();return!f&&a&&(d.currentNode=u,f=d.previousNode()),f&&uo(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:i}=t,a=iu(r),l=ta(a,{tabbable:n,accept:i},r);l.currentNode=r[0].previousElementSibling;let s=l.nextNode();return s&&uo(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:i}=t,a=iu(r),l=ta(a,{tabbable:n,accept:i},r);l.currentNode=r[r.length-1].nextElementSibling;let s=l.previousNode();return s&&uo(s,!0),s}}}const MR=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Ape=MR.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";MR.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Dpe=MR.join(':not([hidden]):not([tabindex="-1"]),');function iu(e){return e[0].parentElement}function hf(e){let t=fn.getTreeNode(Sr);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Tpe(e,t){let r=O.useRef(),n=O.useRef();wt(()=>{let i=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=ln(i?i[0]:void 0);let l=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!hf(e))return;let d=a.activeElement,f=e.current;if(!f||!ai(d,f))return;let h=iu(f),p=ta(h,{tabbable:!0},f);if(!d)return;p.currentNode=d;let m=c.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),m&&uo(m,!0)},s=c=>{(!Sr||Ug(Sr,e))&&ai(c.target,e.current)?(Sr=e,r.current=c.target):hf(e)&&!Zg(c.target,e)?r.current?r.current.focus():Sr&&Sr.current&&qg(Sr.current):hf(e)&&(r.current=c.target)},u=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(a.activeElement&&hf(e)&&!Zg(a.activeElement,e))if(Sr=e,a.body.contains(c.target)){var d;r.current=c.target,(d=r.current)===null||d===void 0||d.focus()}else Sr.current&&qg(Sr.current)})};return a.addEventListener("keydown",l,!1),a.addEventListener("focusin",s,!1),i==null||i.forEach(c=>c.addEventListener("focusin",s,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",u,!1)),()=>{a.removeEventListener("keydown",l,!1),a.removeEventListener("focusin",s,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",s,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",u,!1))}},[e,t]),wt(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function cU(e){return Zg(e)}function ai(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Zg(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of fn.traverse(fn.getTreeNode(t)))if(r&&ai(e,r.current))return!0;return!1}function Rpe(e){return Zg(e,Sr)}function Ug(e,t){var r;let n=(r=fn.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function uo(e,t=!1){if(e!=null&&!t)try{Rn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function qg(e,t=!0){let r=e[0].previousElementSibling,n=iu(e),i=ta(n,{tabbable:t},e);i.currentNode=r;let a=i.nextNode();t&&!a&&(n=iu(e),i=ta(n,{tabbable:!1},e),i.currentNode=r,a=i.nextNode()),uo(a)}function Ipe(e,t){const r=w.useRef(t);O.useEffect(()=>{if(r.current){Sr=e;const n=ln(e.current?e.current[0]:void 0);!ai(n.activeElement,Sr.current)&&e.current&&qg(e.current)}r.current=!1},[e])}function Mpe(e,t,r){wt(()=>{if(t||r)return;let n=e.current;const i=ln(n?n[0]:void 0);let a=l=>{let s=l.target;ai(s,e.current)?Sr=e:cU(s)||(Sr=null)};return i.addEventListener("focusin",a,!1),n==null||n.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),n==null||n.forEach(l=>l.removeEventListener("focusin",a,!1))}},[e,t,r])}function Bpe(e){let t=fn.getTreeNode(Sr);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function _pe(e,t,r){const n=O.useRef(typeof document<"u"?ln(e.current?e.current[0]:void 0).activeElement:null);wt(()=>{let i=e.current;const a=ln(i?i[0]:void 0);if(!t||r)return;let l=()=>{(!Sr||Ug(Sr,e))&&ai(a.activeElement,e.current)&&(Sr=e)};return a.addEventListener("focusin",l,!1),i==null||i.forEach(s=>s.addEventListener("focusin",l,!1)),()=>{a.removeEventListener("focusin",l,!1),i==null||i.forEach(s=>s.removeEventListener("focusin",l,!1))}},[e,r]),wt(()=>{const i=ln(e.current?e.current[0]:void 0);if(!t)return;let a=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!hf(e))return;let s=i.activeElement;if(!ai(s,e.current))return;let u=fn.getTreeNode(e);if(!u)return;let c=u.nodeToRestore,d=ta(i.body,{tabbable:!0});d.currentNode=s;let f=l.shiftKey?d.previousNode():d.nextNode();if((!c||!i.body.contains(c)||c===i.body)&&(c=void 0,u.nodeToRestore=void 0),(!f||!ai(f,e.current))&&c){d.currentNode=c;do f=l.shiftKey?d.previousNode():d.nextNode();while(ai(f,e.current));l.preventDefault(),l.stopPropagation(),f?uo(f,!0):cU(c)?uo(c,!0):s.blur()}};return r||i.addEventListener("keydown",a,!0),()=>{r||i.removeEventListener("keydown",a,!0)}},[e,t,r]),wt(()=>{const i=ln(e.current?e.current[0]:void 0);if(!t)return;let a=fn.getTreeNode(e);if(a){var l;return a.nodeToRestore=(l=n.current)!==null&&l!==void 0?l:void 0,()=>{let s=fn.getTreeNode(e);if(!s)return;let u=s.nodeToRestore;if(t&&u&&(ai(i.activeElement,e.current)||i.activeElement===i.body&&Bpe(e))){let c=fn.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){uo(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&fn.getTreeNode(d.scopeRef)){qg(d.scopeRef.current,!0);return}d=d.parent}}})}}}},[e,t])}function ta(e,t,r){let n=t!=null&&t.tabbable?Dpe:Ape,i=ln(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var l;return!(t==null||(l=t.from)===null||l===void 0)&&l.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&uU(a)&&(!r||ai(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}class BR{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let i=this.fastMap.get(r??null);if(!i)return;let a=new b2({scopeRef:t});i.addChild(a),a.parent=i,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&ai(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let i=r.children;n&&(n.removeChild(r),i.size>0&&i.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new BR;var n;for(let i of this.traverse())r.addTreeNode(i.scopeRef,(n=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new b2({scopeRef:null}),this.fastMap.set(null,this.root)}}class b2{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let fn=new BR;function Hc(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=O.useRef({isFocused:!1,isFocusVisible:t||Oo()}),[a,l]=O.useState(!1),[s,u]=O.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=O.useCallback(()=>u(i.current.isFocused&&i.current.isFocusVisible),[]),d=O.useCallback(p=>{i.current.isFocused=p,l(p),c()},[c]);xpe(p=>{i.current.isFocusVisible=p,c()},[],{isTextInput:r});let{focusProps:f}=Wh({isDisabled:n,onFocusChange:d}),{focusWithinProps:h}=Tu({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?h:f}}function _r(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:i,isFocusVisible:a,focusProps:l}=Hc(e),s=w.Children.only(t);return w.cloneElement(s,$e(s.props,{...l,className:P1({[r||""]:i,[n||""]:a})}))}let dU=w.createContext(null);function Npe(e){let t=O.useContext(dU)||{};A1(t,e);let{ref:r,...n}=t;return n}function Lpe(e,t){let{children:r,...n}=e,i=ER(t),a={...n,ref:i};return w.createElement(dU.Provider,{value:a},r)}let Qpe=w.forwardRef(Lpe);function Ms(e,t){let{focusProps:r}=Wh(e),{keyboardProps:n}=_1(e),i=$e(r,n),a=Npe(t),l=e.isDisabled?{}:a,s=O.useRef(e.autoFocus);return O.useEffect(()=>{s.current&&t.current&&Rn(t.current),s.current=!1},[t]),{focusableProps:$e({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},l)}}function Vpe(e,t){let r=t==null?void 0:t.isDisabled,[n,i]=O.useState(!1);return wt(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let s=ta(e.current,{tabbable:!0});i(!!s.nextNode())}};a();let l=new MutationObserver(a);return l.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{l.disconnect()}}}),r?!1:n}function Uh(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:a="label"}=e;t=ir(t);let l=ir(),s={};r?(n=n?`${l} ${n}`:l,s={id:l,htmlFor:a==="label"?t:void 0}):!n&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=sh({id:t,"aria-label":i,"aria-labelledby":n});return{labelProps:s,fieldProps:u}}function qh(e){let{description:t,errorMessage:r,isInvalid:n,validationState:i}=e,{labelProps:a,fieldProps:l}=Uh(e),s=Rl([!!t,!!r,n,i]),u=Rl([!!t,!!r,n,i]);return l=$e(l,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:l,descriptionProps:{id:s},errorMessageProps:{id:u}}}function zpe(e){let{value:t=0,minValue:r=0,maxValue:n=100,valueLabel:i,isIndeterminate:a,formatOptions:l={style:"percent"}}=e,s=Kt(e,{labelable:!0}),{labelProps:u,fieldProps:c}=Uh({...e,labelElementType:"span"});t=Pa(t,r,n);let d=(t-r)/(n-r),f=Qg(l);if(!a&&!i){let h=l.style==="percent"?d:t;i=f.format(h)}return{progressBarProps:$e(s,{...c,"aria-valuenow":a?void 0:t,"aria-valuemin":r,"aria-valuemax":n,"aria-valuetext":a?void 0:i,role:"progressbar"}),labelProps:u}}function Kl(e){return e&&e.__esModule?e.default:e}function vt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var on={};vt(on,"focus-ring",()=>y2,e=>y2=e);vt(on,"i18nFontFamily",()=>$2,e=>$2=e);vt(on,"indeterminate-loop-ltr",()=>O2,e=>O2=e);vt(on,"indeterminate-loop-rtl",()=>x2,e=>x2=e);vt(on,"is-critical",()=>S2,e=>S2=e);vt(on,"is-positive",()=>w2,e=>w2=e);vt(on,"is-warning",()=>k2,e=>k2=e);vt(on,"spectrum-BarLoader",()=>C2,e=>C2=e);vt(on,"spectrum-BarLoader--indeterminate",()=>E2,e=>E2=e);vt(on,"spectrum-BarLoader--overBackground",()=>P2,e=>P2=e);vt(on,"spectrum-BarLoader--sideLabel",()=>F2,e=>F2=e);vt(on,"spectrum-BarLoader--small",()=>A2,e=>A2=e);vt(on,"spectrum-BarLoader--staticBlack",()=>D2,e=>D2=e);vt(on,"spectrum-BarLoader--staticWhite",()=>T2,e=>T2=e);vt(on,"spectrum-BarLoader-fill",()=>R2,e=>R2=e);vt(on,"spectrum-BarLoader-label",()=>I2,e=>I2=e);vt(on,"spectrum-BarLoader-percentage",()=>M2,e=>M2=e);vt(on,"spectrum-BarLoader-track",()=>B2,e=>B2=e);vt(on,"spectrum-FocusRing-ring",()=>Hg,e=>Hg=e);vt(on,"spectrum-FocusRing",()=>_2,e=>_2=e);vt(on,"spectrum-FocusRing--quiet",()=>N2,e=>N2=e);var y2,$2,O2,x2,S2,w2,k2,C2,E2,P2,F2,A2,D2,T2,R2,I2,M2,B2,Hg,_2,N2;y2="uFrYBa_focus-ring";$2="uFrYBa_i18nFontFamily";O2="uFrYBa_indeterminate-loop-ltr";x2="uFrYBa_indeterminate-loop-rtl";S2="uFrYBa_is-critical";w2="uFrYBa_is-positive";k2="uFrYBa_is-warning";C2="uFrYBa_spectrum-BarLoader";E2="uFrYBa_spectrum-BarLoader--indeterminate";P2="uFrYBa_spectrum-BarLoader--overBackground";F2="uFrYBa_spectrum-BarLoader--sideLabel";A2="uFrYBa_spectrum-BarLoader--small";D2="uFrYBa_spectrum-BarLoader--staticBlack";T2="uFrYBa_spectrum-BarLoader--staticWhite";R2="uFrYBa_spectrum-BarLoader-fill";I2="uFrYBa_spectrum-BarLoader-label";M2="uFrYBa_spectrum-BarLoader-percentage";B2="uFrYBa_spectrum-BarLoader-track";Hg="uFrYBa_spectrum-FocusRing-ring";_2=`uFrYBa_spectrum-FocusRing ${Hg}`;N2="uFrYBa_spectrum-FocusRing--quiet";var Zt={};vt(Zt,"focus-ring",()=>L2,e=>L2=e);vt(Zt,"i18nFontFamily",()=>Q2,e=>Q2=e);vt(Zt,"spectrum-CircleLoader",()=>V2,e=>V2=e);vt(Zt,"spectrum-CircleLoader--indeterminate",()=>z2,e=>z2=e);vt(Zt,"spectrum-CircleLoader--indeterminate-fill-submask-2",()=>j2,e=>j2=e);vt(Zt,"spectrum-CircleLoader--large",()=>W2,e=>W2=e);vt(Zt,"spectrum-CircleLoader--overBackground",()=>Z2,e=>Z2=e);vt(Zt,"spectrum-CircleLoader--small",()=>U2,e=>U2=e);vt(Zt,"spectrum-CircleLoader--staticBlack",()=>q2,e=>q2=e);vt(Zt,"spectrum-CircleLoader--staticWhite",()=>H2,e=>H2=e);vt(Zt,"spectrum-CircleLoader-fill",()=>K2,e=>K2=e);vt(Zt,"spectrum-CircleLoader-fillMask1",()=>Y2,e=>Y2=e);vt(Zt,"spectrum-CircleLoader-fillMask2",()=>G2,e=>G2=e);vt(Zt,"spectrum-CircleLoader-fillSubMask1",()=>X2,e=>X2=e);vt(Zt,"spectrum-CircleLoader-fillSubMask2",()=>J2,e=>J2=e);vt(Zt,"spectrum-CircleLoader-fills",()=>e$,e=>e$=e);vt(Zt,"spectrum-CircleLoader-track",()=>t$,e=>t$=e);vt(Zt,"spectrum-FocusRing-ring",()=>Kg,e=>Kg=e);vt(Zt,"spectrum-FocusRing",()=>r$,e=>r$=e);vt(Zt,"spectrum-FocusRing--quiet",()=>n$,e=>n$=e);vt(Zt,"spectrum-fill-mask-1",()=>i$,e=>i$=e);vt(Zt,"spectrum-fill-mask-2",()=>a$,e=>a$=e);vt(Zt,"spectrum-fills-rotate",()=>l$,e=>l$=e);var L2,Q2,V2,z2,j2,W2,Z2,U2,q2,H2,K2,Y2,G2,X2,J2,e$,t$,Kg,r$,n$,i$,a$,l$;L2="EQYv7q_focus-ring";Q2="EQYv7q_i18nFontFamily";V2="EQYv7q_spectrum-CircleLoader";z2="EQYv7q_spectrum-CircleLoader--indeterminate";j2="EQYv7q_spectrum-CircleLoader--indeterminate-fill-submask-2";W2="EQYv7q_spectrum-CircleLoader--large";Z2="EQYv7q_spectrum-CircleLoader--overBackground";U2="EQYv7q_spectrum-CircleLoader--small";q2="EQYv7q_spectrum-CircleLoader--staticBlack";H2="EQYv7q_spectrum-CircleLoader--staticWhite";K2="EQYv7q_spectrum-CircleLoader-fill";Y2="EQYv7q_spectrum-CircleLoader-fillMask1";G2="EQYv7q_spectrum-CircleLoader-fillMask2";X2="EQYv7q_spectrum-CircleLoader-fillSubMask1";J2="EQYv7q_spectrum-CircleLoader-fillSubMask2";e$="EQYv7q_spectrum-CircleLoader-fills";t$="EQYv7q_spectrum-CircleLoader-track";Kg="EQYv7q_spectrum-FocusRing-ring";r$=`EQYv7q_spectrum-FocusRing ${Kg}`;n$="EQYv7q_spectrum-FocusRing--quiet";i$="EQYv7q_spectrum-fill-mask-1";a$="EQYv7q_spectrum-fill-mask-2";l$="EQYv7q_spectrum-fills-rotate";function jpe(e,t){let{value:r=0,minValue:n=0,maxValue:i=100,size:a="M",staticColor:l,variant:s,isIndeterminate:u=!1,"aria-label":c,"aria-labelledby":d,...f}=e,h=Xr(t),{styleProps:p}=Nt(f);r=Pa(r,n,i);let{progressBarProps:m}=zpe({...e,value:r}),g={},b={};if(!u){let v=(r-n)/(i-n)*100,y;v>0&&v<=50?(y=-180+v/50*180,g.transform=`rotate(${y}deg)`,b.transform="rotate(-180deg)"):v>50&&(y=-180+(v-50)/50*180,g.transform="rotate(0deg)",b.transform=`rotate(${y}deg)`)}return!c&&!d&&console.warn("ProgressCircle requires an aria-label or aria-labelledby attribute for accessibility"),w.createElement("div",{...p,...m,ref:h,className:z(Kl(Zt),"spectrum-CircleLoader",{"spectrum-CircleLoader--indeterminate":u,"spectrum-CircleLoader--small":a==="S","spectrum-CircleLoader--large":a==="L","spectrum-CircleLoader--overBackground":s==="overBackground","spectrum-CircleLoader--staticWhite":l==="white","spectrum-CircleLoader--staticBlack":l==="black"},p.className)},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-track")}),w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fills")},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fillMask1")},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fillSubMask1"),"data-testid":"fillSubMask1",style:g},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fill")}))),w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fillMask2")},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fillSubMask2"),"data-testid":"fillSubMask2",style:b},w.createElement("div",{className:z(Kl(Zt),"spectrum-CircleLoader-fill")})))))}let gd=w.forwardRef(jpe);function Wpe(e,t){e=Ia(e,"text");let{children:r,...n}=e,{styleProps:i}=Nt(n),a=Xr(t);return w.createElement("span",{...Kt(n),...i,ref:a},r)}const Hh=O.forwardRef(Wpe);function Zpe(e,t){e=Ia(e,"heading");let{children:r,level:n=3,...i}=e,{styleProps:a}=Nt(i),l=Xr(t),s=`h${n}`;return w.createElement(s,{...Kt(i),...a,ref:l},r)}const N1=O.forwardRef(Zpe);function Ao(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:l,onPressUp:s,onPressChange:u,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:h,target:p,rel:m,type:g="button"}=e,b;r==="button"?b={type:g,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:h,target:r==="a"?p:void 0,type:r==="input"?g: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:y}=Vi({onPressStart:a,onPressEnd:l,onPressChange:u,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:$}=Ms(e,t);d&&($.tabIndex=n?-1:$.tabIndex);let S=$e($,v,Kt(e,{labelable:!0}));return{isPressed:y,buttonProps:$e(b,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:k=>{f&&(f(k),console.warn("onClick is deprecated, please use onPress"))}})}}var fU={};fU={dismiss:"تجاهل"};var hU={};hU={dismiss:"Отхвърляне"};var pU={};pU={dismiss:"Odstranit"};var mU={};mU={dismiss:"Luk"};var gU={};gU={dismiss:"Schließen"};var vU={};vU={dismiss:"Απόρριψη"};var bU={};bU={dismiss:"Dismiss"};var yU={};yU={dismiss:"Descartar"};var $U={};$U={dismiss:"Lõpeta"};var OU={};OU={dismiss:"Hylkää"};var xU={};xU={dismiss:"Rejeter"};var SU={};SU={dismiss:"התעלם"};var wU={};wU={dismiss:"Odbaci"};var kU={};kU={dismiss:"Elutasítás"};var CU={};CU={dismiss:"Ignora"};var EU={};EU={dismiss:"閉じる"};var PU={};PU={dismiss:"무시"};var FU={};FU={dismiss:"Atmesti"};var AU={};AU={dismiss:"Nerādīt"};var DU={};DU={dismiss:"Lukk"};var TU={};TU={dismiss:"Negeren"};var RU={};RU={dismiss:"Zignoruj"};var IU={};IU={dismiss:"Descartar"};var MU={};MU={dismiss:"Dispensar"};var BU={};BU={dismiss:"Revocare"};var _U={};_U={dismiss:"Пропустить"};var NU={};NU={dismiss:"Zrušiť"};var LU={};LU={dismiss:"Opusti"};var QU={};QU={dismiss:"Odbaci"};var VU={};VU={dismiss:"Avvisa"};var zU={};zU={dismiss:"Kapat"};var jU={};jU={dismiss:"Скасувати"};var WU={};WU={dismiss:"取消"};var ZU={};ZU={dismiss:"關閉"};const h_={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Ru(e={}){let{style:t,isFocusable:r}=e,[n,i]=O.useState(!1),{focusWithinProps:a}=Tu({isDisabled:!r,onFocusWithinChange:s=>i(s)}),l=O.useMemo(()=>n?t:t?{...h_,...t}:h_,[n]);return{visuallyHiddenProps:{...a,style:l}}}function vd(e){let{children:t,elementType:r="div",isFocusable:n,style:i,...a}=e,{visuallyHiddenProps:l}=Ru(e);return w.createElement(r,$e(a,l),t)}function Upe(e){return e&&e.__esModule?e.default:e}const p_={top:"top",bottom:"top",left:"left",right:"left"},Yg={top:"bottom",bottom:"top",left:"right",right:"left"},qpe={top:"left",left:"top"},o$={top:"height",left:"width"},Hpe={width:"totalWidth",height:"totalHeight"},Wp={};let ju=typeof document<"u"&&window.visualViewport;function m_(e){let t=0,r=0,n=0,i=0,a=0,l=0,s={};if(e.tagName==="BODY"){let d=document.documentElement;n=d.clientWidth,i=d.clientHeight;var u;t=(u=ju==null?void 0:ju.width)!==null&&u!==void 0?u:n;var c;r=(c=ju==null?void 0:ju.height)!==null&&c!==void 0?c:i,s.top=d.scrollTop||e.scrollTop,s.left=d.scrollLeft||e.scrollLeft}else({width:t,height:r,top:a,left:l}=Fc(e)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,i=r;return{width:t,height:r,totalWidth:n,totalHeight:i,scroll:s,top:a,left:l}}function Kpe(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function g_(e,t,r,n,i,a){let l=i.scroll[e],s=n[o$[e]],u=t-a-l,c=t+a-l+r;return u<0?-u:c>s?Math.max(s-c,-u):0}function Ype(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function v_(e){if(Wp[e])return Wp[e];let[t,r]=e.split(" "),n=p_[t]||"right",i=qpe[n];p_[r]||(r="center");let a=o$[n],l=o$[i];return Wp[e]={placement:t,crossPlacement:r,axis:n,crossAxis:i,size:a,crossSize:l},Wp[e]}function Ey(e,t,r,n,i,a,l,s,u,c){let{placement:d,crossPlacement:f,axis:h,crossAxis:p,size:m,crossSize:g}=n,b={};b[p]=e[p],f==="center"?b[p]+=(e[g]-r[g])/2:f!==p&&(b[p]+=e[g]-r[g]),b[p]+=a;const v=e[p]-r[g]+u+c,y=e[p]+e[g]-u-c;if(b[p]=Pa(b[p],v,y),d===h){const $=s?l[m]:t[Hpe[m]];b[Yg[h]]=Math.floor($-e[h]+i)}else b[h]=Math.floor(e[h]+e[m]+i);return b}function Gpe(e,t,r,n,i,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(i.top+i.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(i.top+i.bottom+a))}function b_(e,t,r,n,i,a){let{placement:l,axis:s,size:u}=a;return l===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[Yg[s]]-i):Math.max(0,e[u]+e[s]+e.scroll[s]-t[s]-r[s]-r[u]-n[s]-n[Yg[s]]-i)}function Xpe(e,t,r,n,i,a,l,s,u,c,d,f,h,p,m,g){let b=v_(e),{size:v,crossAxis:y,crossSize:$,placement:S,crossPlacement:k}=b,C=Ey(t,s,r,b,d,f,c,h,m,g),F=d,E=b_(s,c,t,i,a+d,b);if(l&&n[v]>E){let q=v_(`${Yg[S]} ${k}`),U=Ey(t,s,r,q,d,f,c,h,m,g);b_(s,c,t,i,a+d,q)>E&&(b=q,C=U,F=d)}let M=g_(y,C[y],r[$],s,u,a);C[y]+=M;let D=Gpe(C,s,c,t,i,a);p&&p{if(!r||n===null)return;let i=a=>{let l=a.target;if(!t.current||l instanceof Node&&!l.contains(t.current))return;let s=n||UU.get(t.current);s&&s()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,t])}let va=typeof document<"u"&&window.visualViewport;function qU(e){let{direction:t}=yr(),{arrowSize:r=0,targetRef:n,overlayRef:i,scrollRef:a=i,placement:l="bottom",containerPadding:s=12,shouldFlip:u=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:h=!0,isOpen:p=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:b=0}=e,[v,y]=O.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[h,l,i.current,n.current,a.current,s,u,c,d,f,p,t,g,b,r],S=O.useCallback(()=>{if(h===!1||!p||!i.current||!n.current||!a.current||!c)return;let F=Jpe({placement:nme(l,t),overlayNode:i.current,targetNode:n.current,scrollNode:a.current,padding:s,shouldFlip:u,boundaryElement:c,offset:d,crossOffset:f,maxHeight:g,arrowSize:r,arrowBoundaryOffset:b});Object.keys(F.position).forEach(E=>i.current.style[E]=F.position[E]+"px"),i.current.style.maxHeight=F.maxHeight!=null?F.maxHeight+"px":void 0,y(F)},$);wt(S,$),rme(S),Vh({ref:i,onResize:S});let k=O.useRef(!1);wt(()=>{let F,E=()=>{k.current=!0,clearTimeout(F),F=setTimeout(()=>{k.current=!1},500),S()};return va==null||va.addEventListener("resize",E),va==null||va.addEventListener("scroll",E),()=>{va==null||va.removeEventListener("resize",E),va==null||va.removeEventListener("scroll",E)}},[S]);let C=O.useCallback(()=>{k.current||m()},[m,k]);return tme({triggerRef:n,isOpen:p,onClose:m&&C}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...v.position,maxHeight:v.maxHeight}},placement:v.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v.arrowOffsetLeft,top:v.arrowOffsetTop}},updatePosition:S}}function rme(e){wt(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function nme(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Yl=[];function HU(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:l=!1,shouldCloseOnInteractOutside:s}=e;O.useEffect(()=>(i&&Yl.push(t),()=>{let m=Yl.indexOf(t);m>=0&&Yl.splice(m,1)}),[i,t]);let u=()=>{Yl[Yl.length-1]===t&&r&&r()},c=m=>{(!s||s(m.target))&&Yl[Yl.length-1]===t&&(m.stopPropagation(),m.preventDefault())},d=m=>{(!s||s(m.target))&&(Yl[Yl.length-1]===t&&(m.stopPropagation(),m.preventDefault()),u())},f=m=>{m.key==="Escape"&&!l&&(m.stopPropagation(),m.preventDefault(),u())};wpe({ref:t,onInteractOutside:a&&i?d:null,onInteractOutsideStart:c});let{focusWithinProps:h}=Tu({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||Rpe(m.relatedTarget)||(!s||s(m.relatedTarget))&&r()}}),p=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...h},underlayProps:{onPointerDown:p}}}function _R(e,t,r){let{type:n}=e,{isOpen:i}=t;O.useEffect(()=>{r&&r.current&&UU.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let l=ir();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?l:null,onPress:t.toggle},overlayProps:{id:l}}}const Py=typeof document<"u"&&window.visualViewport,ime=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Zp=0,Fy;function KU(e={}){let{isDisabled:t}=e;wt(()=>{if(!t)return Zp++,Zp===1&&(Lh()?Fy=lme():Fy=ame()),()=>{Zp--,Zp===0&&Fy()}},[t])}function ame(){return yo(bc(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),bc(document.documentElement,"overflow","hidden"))}function lme(){let e,t,r=c=>{e=yl(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=bc(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},i=c=>{let d=c.target;x_(d)&&d!==document.activeElement&&(c.preventDefault(),s(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},a=c=>{let d=c.target;x_(d)&&(s(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Py&&(Py.height{O_(d)}):Py.addEventListener("resize",()=>O_(d),{once:!0}))}))},l=null,s=()=>{if(l)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;l=yo(Qd(window,"scroll",c),bc(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),bc(document.documentElement,"overflow","hidden"),bc(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},u=yo(Qd(document,"touchstart",r,{passive:!1,capture:!0}),Qd(document,"touchmove",n,{passive:!1,capture:!0}),Qd(document,"touchend",i,{passive:!1,capture:!0}),Qd(document,"focus",a,!0));return()=>{t==null||t(),l==null||l(),u()}}function bc(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Qd(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function O_(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=yl(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,i=e.getBoundingClientRect().top;i>n+e.clientHeight&&(r.scrollTop+=i-n)}e=r.parentElement}}function x_(e){return e instanceof HTMLInputElement&&!ime.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const s$=w.createContext(null);function ome(e){let{children:t}=e,r=O.useContext(s$),[n,i]=O.useState(0),a=O.useMemo(()=>({parent:r,modalCount:n,addModal(){i(l=>l+1),r&&r.addModal()},removeModal(){i(l=>l-1),r&&r.removeModal()}}),[r,n]);return w.createElement(s$.Provider,{value:a},t)}function sme(){let e=O.useContext(s$);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}var YU={};YU={"ar-AE":fU,"bg-BG":hU,"cs-CZ":pU,"da-DK":mU,"de-DE":gU,"el-GR":vU,"en-US":bU,"es-ES":yU,"et-EE":$U,"fi-FI":OU,"fr-FR":xU,"he-IL":SU,"hr-HR":wU,"hu-HU":kU,"it-IT":CU,"ja-JP":EU,"ko-KR":PU,"lt-LT":FU,"lv-LV":AU,"nb-NO":DU,"nl-NL":TU,"pl-PL":RU,"pt-BR":IU,"pt-PT":MU,"ro-RO":BU,"ru-RU":_U,"sk-SK":NU,"sl-SI":LU,"sr-SP":QU,"sv-SE":VU,"tr-TR":zU,"uk-UA":jU,"zh-CN":WU,"zh-TW":ZU};function Kc(e){let{onDismiss:t,...r}=e,n=lr(Upe(YU),"@react-aria/overlays"),i=sh(r,n.format("dismiss")),a=()=>{t&&t()};return w.createElement(vd,null,w.createElement("button",{...i,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let Vd=new WeakMap,ba=[];function NR(e,t=document.body){let r=new Set(e),n=new Set,i=u=>{for(let h of u.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(h);let c=h=>{if(r.has(h)||n.has(h.parentElement)&&h.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of r)if(h.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(u);if(f===NodeFilter.FILTER_ACCEPT&&a(u),f!==NodeFilter.FILTER_REJECT){let h=d.nextNode();for(;h!=null;)a(h),h=d.nextNode()}},a=u=>{var c;let d=(c=Vd.get(u))!==null&&c!==void 0?c:0;u.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&u.setAttribute("aria-hidden","true"),n.add(u),Vd.set(u,d+1))};ba.length&&ba[ba.length-1].disconnect(),i(t);let l=new MutationObserver(u=>{for(let c of u)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&i(d)}});l.observe(t,{childList:!0,subtree:!0});let s={observe(){l.observe(t,{childList:!0,subtree:!0})},disconnect(){l.disconnect()}};return ba.push(s),()=>{l.disconnect();for(let u of n){let c=Vd.get(u);c===1?(u.removeAttribute("aria-hidden"),Vd.delete(u)):Vd.set(u,c-1)}s===ba[ba.length-1]?(ba.pop(),ba.length&&ba[ba.length-1].observe()):ba.splice(ba.indexOf(s),1)}}function ume(e,t){let{triggerRef:r,popoverRef:n,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=e,{overlayProps:u,underlayProps:c}=HU({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},n),{overlayProps:d,arrowProps:f,placement:h}=qU({...s,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:i?t.close:null});return KU({isDisabled:i||!t.isOpen}),wt(()=>{if(t.isOpen&&!i&&n.current)return NR([n.current])},[i,t.isOpen,n]),{popoverProps:$e(u,d),arrowProps:f,underlayProps:c,placement:h}}const GU=w.createContext(null);function cme(e){let t=Is(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[i,a]=O.useState(!1),l=O.useMemo(()=>({contain:i,setContain:a}),[i,a]);if(!r)return null;let s=e.children;return e.disableFocusManagement||(s=w.createElement(Zh,{restoreFocus:!0,contain:i&&!n},s)),s=w.createElement(GU.Provider,{value:l},w.createElement(hpe,null,s)),pc.createPortal(s,r)}function XU(){let e=O.useContext(GU),t=e==null?void 0:e.setContain;wt(()=>{t==null||t(!0)},[t])}function JU(e,t,r){let{overlayProps:n,underlayProps:i}=HU({...e,isOpen:t.isOpen,onClose:t.close},r);return KU({isDisabled:!t.isOpen}),XU(),O.useEffect(()=>{if(t.isOpen)return NR([r.current])},[t.isOpen,r]),{modalProps:$e(n),underlayProps:i}}function S_(e){return e&&e.__esModule?e.default:e}function zi(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const LR=w.createContext(null);LR.displayName="ProviderContext";var Iu={};zi(Iu,"focus-ring",()=>u$,e=>u$=e);zi(Iu,"i18nFontFamily",()=>c$,e=>c$=e);zi(Iu,"spectrum",()=>d$,e=>d$=e);zi(Iu,"spectrum-FocusRing-ring",()=>Gg,e=>Gg=e);zi(Iu,"spectrum-FocusRing",()=>f$,e=>f$=e);zi(Iu,"spectrum-FocusRing--quiet",()=>h$,e=>h$=e);var u$,c$,d$,Gg,f$,h$;u$="JuTe6q_focus-ring";c$="JuTe6q_i18nFontFamily";d$="JuTe6q_spectrum";Gg="JuTe6q_spectrum-FocusRing-ring";f$=`JuTe6q_spectrum-FocusRing ${Gg}`;h$="JuTe6q_spectrum-FocusRing--quiet";var Do={};zi(Do,"focus-ring",()=>p$,e=>p$=e);zi(Do,"i18nFontFamily",()=>Xg,e=>Xg=e);zi(Do,"spectrum",()=>m$,e=>m$=e);zi(Do,"spectrum-Body",()=>g$,e=>g$=e);zi(Do,"spectrum-Body--italic",()=>v$,e=>v$=e);zi(Do,"spectrum-FocusRing-ring",()=>Jg,e=>Jg=e);zi(Do,"spectrum-FocusRing",()=>b$,e=>b$=e);zi(Do,"spectrum-FocusRing--quiet",()=>y$,e=>y$=e);var p$,Xg,m$,g$,v$,Jg,b$,y$;p$="_5QszkG_focus-ring";Xg="_5QszkG_i18nFontFamily";m$=`_5QszkG_spectrum ${Xg}`;g$="_5QszkG_spectrum-Body";v$="_5QszkG_spectrum-Body--italic";Jg="_5QszkG_spectrum-FocusRing-ring";b$=`_5QszkG_spectrum-FocusRing ${Jg}`;y$="_5QszkG_spectrum-FocusRing--quiet";function dme(e,t){let r=h2("(prefers-color-scheme: dark)"),n=h2("(prefers-color-scheme: light)");return e.dark&&r?"dark":e.light&&n?"light":e.dark&&t==="dark"?"dark":e.light&&t==="light"||!e.dark||e.light?"light":"dark"}function fme(e){return h2("(any-pointer: fine)")&&e.medium?"medium":e.large?"large":"medium"}var eq={};eq=JSON.parse('{"name":"@react-spectrum/provider","version":"3.9.2","description":"Spectrum UI components in React","license":"Apache-2.0","main":"dist/main.js","module":"dist/module.js","exports":{"types":"./dist/types.d.ts","import":"./dist/import.mjs","require":"./dist/main.js"},"types":"dist/types.d.ts","source":"src/index.ts","files":["dist","src"],"sideEffects":["*.css"],"targets":{"main":{"includeNodeModules":["@adobe/spectrum-css-temp"]},"module":{"includeNodeModules":["@adobe/spectrum-css-temp"]}},"repository":{"type":"git","url":"https://github.com/adobe/react-spectrum"},"dependencies":{"@react-aria/i18n":"^3.9.0","@react-aria/overlays":"^3.19.0","@react-aria/utils":"^3.22.0","@react-spectrum/utils":"^3.11.2","@react-types/provider":"^3.7.1","@react-types/shared":"^3.22.0","@swc/helpers":"^0.5.0","clsx":"^2.0.0"},"devDependencies":{"@adobe/spectrum-css-temp":"3.0.0-alpha.1"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"},"publishConfig":{"access":"public"}}');const hme={S:640,M:768,L:1024,XL:1280,XXL:1536};function pme(e,t){let r=Gn(),n=r&&r.colorScheme,i=r&&r.breakpoints,{theme:a=r&&r.theme,defaultColorScheme:l}=e;if(!a)throw new Error("theme not found, the parent provider must have a theme provided");let s=dme(a,l),u=fme(a),{locale:c}=yr(),d=!!a[n],{colorScheme:f=d?n:s,scale:h=r?r.scale:u,locale:p=r?c:null,breakpoints:m=r?i:hme,children:g,isQuiet:b,isEmphasized:v,isDisabled:y,isRequired:$,isReadOnly:S,validationState:k,router:C,...F}=e,E={version:eq.version,theme:a,breakpoints:m,colorScheme:f,scale:h,isQuiet:b,isEmphasized:v,isDisabled:y,isRequired:$,isReadOnly:S,validationState:k},M=Yhe(m),D={};Object.entries(E).forEach(([V,j])=>j!==void 0&&(D[V]=j));let T=Object.assign({},r,D),B=g,R=Kt(F),{styleProps:_}=Nt(F,void 0,{matchedBreakpoints:M});return(!r||e.locale||a!==r.theme||f!==r.colorScheme||h!==r.scale||Object.keys(R).length>0||F.UNSAFE_className||Object.keys(_.style).length>0)&&(B=w.createElement(mme,{...e,UNSAFE_style:{isolation:r?void 0:"isolate",..._.style},ref:t},B)),C&&(B=w.createElement(xhe,C,B)),w.createElement(LR.Provider,{value:T},w.createElement(Zhe,{locale:p},w.createElement(Khe,{matchedBreakpoints:M},w.createElement(ome,null,B))))}let Kh=w.forwardRef(pme);const mme=w.forwardRef(function(t,r){let{children:n,...i}=t,{locale:a,direction:l}=yr(),{theme:s,colorScheme:u,scale:c}=Gn(),{modalProviderProps:d}=sme(),{styleProps:f}=Nt(i),h=Xr(r),p=Object.keys(s[u])[0],m=Object.keys(s[c])[0],g=P1(f.className,S_(Iu).spectrum,S_(Do).spectrum,Object.values(s[u]),Object.values(s[c]),s.global?Object.values(s.global):null,{"react-spectrum-provider":Qp,spectrum:Qp,[p]:Qp,[m]:Qp});var b,v;let y={...f.style,colorScheme:(v=(b=t.colorScheme)!==null&&b!==void 0?b:u)!==null&&v!==void 0?v:Object.keys(s).filter(S=>S==="light"||S==="dark").join(" ")},$=O.useRef(!1);return O.useEffect(()=>{if(l&&h.current){let S=h.current.parentElement.closest("[dir]"),k=S&&S.getAttribute("dir");k&&k!==l&&!$.current&&(console.warn(`Language directions cannot be nested. ${l} inside ${k}.`),$.current=!0)}},[l,h,$]),w.createElement("div",{...Kt(i),...f,...d,className:g,style:y,lang:a,dir:l,ref:h},n)});function Gn(){return O.useContext(LR)}function Fn(e){let t=Gn();return t?Object.assign({},{isQuiet:t.isQuiet,isEmphasized:t.isEmphasized,isDisabled:t.isDisabled,isRequired:t.isRequired,isReadOnly:t.isReadOnly,validationState:t.validationState},e):e}var tq={};Object.defineProperty(tq,"__esModule",{value:!0});var gme=tq.CornerTriangle=rq,Ay=vme(O);function vme(e){return e&&e.__esModule?e:{default:e}}function $$(){return $$=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yme(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function rq(e){var t=e.scale,r=t===void 0?"M":t,n=bme(e,["scale"]);return Ay.default.createElement("svg",$$({},n,n),r==="L"&&Ay.default.createElement("path",{d:"M5.74.01a.25.25 0 0 0-.177.073l-5.48 5.48a.25.25 0 0 0 .177.427h5.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}),r==="M"&&Ay.default.createElement("path",{d:"M4.74.01a.25.25 0 0 0-.177.073l-4.48 4.48a.25.25 0 0 0 .177.427h4.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}))}rq.displayName="CornerTriangle";function nq(e){return e&&e.__esModule?e.default:e}function ut(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var ot={};ut(ot,"spectrum--large",()=>O$,e=>O$=e);ut(ot,"spectrum--medium",()=>x$,e=>x$=e);ut(ot,"spectrum-Icon",()=>S$,e=>S$=e);ut(ot,"spectrum-Icon--sizeL",()=>w$,e=>w$=e);ut(ot,"spectrum-Icon--sizeM",()=>k$,e=>k$=e);ut(ot,"spectrum-Icon--sizeS",()=>C$,e=>C$=e);ut(ot,"spectrum-Icon--sizeXL",()=>E$,e=>E$=e);ut(ot,"spectrum-Icon--sizeXS",()=>P$,e=>P$=e);ut(ot,"spectrum-Icon--sizeXXL",()=>F$,e=>F$=e);ut(ot,"spectrum-Icon--sizeXXS",()=>A$,e=>A$=e);ut(ot,"spectrum-UIIcon",()=>D$,e=>D$=e);ut(ot,"spectrum-UIIcon--large",()=>T$,e=>T$=e);ut(ot,"spectrum-UIIcon--medium",()=>R$,e=>R$=e);ut(ot,"spectrum-UIIcon-AlertMedium",()=>I$,e=>I$=e);ut(ot,"spectrum-UIIcon-AlertSmall",()=>M$,e=>M$=e);ut(ot,"spectrum-UIIcon-ArrowDownSmall",()=>B$,e=>B$=e);ut(ot,"spectrum-UIIcon-ArrowLeftMedium",()=>_$,e=>_$=e);ut(ot,"spectrum-UIIcon-Asterisk",()=>N$,e=>N$=e);ut(ot,"spectrum-UIIcon-CheckmarkMedium",()=>L$,e=>L$=e);ut(ot,"spectrum-UIIcon-CheckmarkSmall",()=>Q$,e=>Q$=e);ut(ot,"spectrum-UIIcon-ChevronDownMedium",()=>V$,e=>V$=e);ut(ot,"spectrum-UIIcon-ChevronDownSmall",()=>z$,e=>z$=e);ut(ot,"spectrum-UIIcon-ChevronLeftLarge",()=>j$,e=>j$=e);ut(ot,"spectrum-UIIcon-ChevronLeftMedium",()=>W$,e=>W$=e);ut(ot,"spectrum-UIIcon-ChevronRightLarge",()=>Z$,e=>Z$=e);ut(ot,"spectrum-UIIcon-ChevronRightMedium",()=>U$,e=>U$=e);ut(ot,"spectrum-UIIcon-ChevronRightSmall",()=>q$,e=>q$=e);ut(ot,"spectrum-UIIcon-ChevronUpSmall",()=>H$,e=>H$=e);ut(ot,"spectrum-UIIcon-CornerTriangle",()=>K$,e=>K$=e);ut(ot,"spectrum-UIIcon-CrossLarge",()=>Y$,e=>Y$=e);ut(ot,"spectrum-UIIcon-CrossMedium",()=>G$,e=>G$=e);ut(ot,"spectrum-UIIcon-CrossSmall",()=>X$,e=>X$=e);ut(ot,"spectrum-UIIcon-DashSmall",()=>J$,e=>J$=e);ut(ot,"spectrum-UIIcon-DoubleGripper",()=>eO,e=>eO=e);ut(ot,"spectrum-UIIcon-FolderBreadcrumb",()=>tO,e=>tO=e);ut(ot,"spectrum-UIIcon-HelpMedium",()=>rO,e=>rO=e);ut(ot,"spectrum-UIIcon-HelpSmall",()=>nO,e=>nO=e);ut(ot,"spectrum-UIIcon-InfoMedium",()=>iO,e=>iO=e);ut(ot,"spectrum-UIIcon-InfoSmall",()=>aO,e=>aO=e);ut(ot,"spectrum-UIIcon-ListGripper",()=>lO,e=>lO=e);ut(ot,"spectrum-UIIcon-Magnifier",()=>oO,e=>oO=e);ut(ot,"spectrum-UIIcon-SkipLeft",()=>sO,e=>sO=e);ut(ot,"spectrum-UIIcon-SkipRight",()=>uO,e=>uO=e);ut(ot,"spectrum-UIIcon-Star",()=>cO,e=>cO=e);ut(ot,"spectrum-UIIcon-StarOutline",()=>dO,e=>dO=e);ut(ot,"spectrum-UIIcon-SuccessMedium",()=>fO,e=>fO=e);ut(ot,"spectrum-UIIcon-SuccessSmall",()=>hO,e=>hO=e);ut(ot,"spectrum-UIIcon-TripleGripper",()=>pO,e=>pO=e);var O$,x$,S$,w$,k$,C$,E$,P$,F$,A$,D$,T$,R$,I$,M$,B$,_$,N$,L$,Q$,V$,z$,j$,W$,Z$,U$,q$,H$,K$,Y$,G$,X$,J$,eO,tO,rO,nO,iO,aO,lO,oO,sO,uO,cO,dO,fO,hO,pO;O$="yxBNXG_spectrum--large";x$="yxBNXG_spectrum--medium";S$="yxBNXG_spectrum-Icon";w$="yxBNXG_spectrum-Icon--sizeL";k$="yxBNXG_spectrum-Icon--sizeM";C$="yxBNXG_spectrum-Icon--sizeS";E$="yxBNXG_spectrum-Icon--sizeXL";P$="yxBNXG_spectrum-Icon--sizeXS";F$="yxBNXG_spectrum-Icon--sizeXXL";A$="yxBNXG_spectrum-Icon--sizeXXS";D$="yxBNXG_spectrum-UIIcon";T$="yxBNXG_spectrum-UIIcon--large";R$="yxBNXG_spectrum-UIIcon--medium";I$="yxBNXG_spectrum-UIIcon-AlertMedium";M$="yxBNXG_spectrum-UIIcon-AlertSmall";B$="yxBNXG_spectrum-UIIcon-ArrowDownSmall";_$="yxBNXG_spectrum-UIIcon-ArrowLeftMedium";N$="yxBNXG_spectrum-UIIcon-Asterisk";L$="yxBNXG_spectrum-UIIcon-CheckmarkMedium";Q$="yxBNXG_spectrum-UIIcon-CheckmarkSmall";V$="yxBNXG_spectrum-UIIcon-ChevronDownMedium";z$="yxBNXG_spectrum-UIIcon-ChevronDownSmall";j$="yxBNXG_spectrum-UIIcon-ChevronLeftLarge";W$="yxBNXG_spectrum-UIIcon-ChevronLeftMedium";Z$="yxBNXG_spectrum-UIIcon-ChevronRightLarge";U$="yxBNXG_spectrum-UIIcon-ChevronRightMedium";q$="yxBNXG_spectrum-UIIcon-ChevronRightSmall";H$="yxBNXG_spectrum-UIIcon-ChevronUpSmall";K$="yxBNXG_spectrum-UIIcon-CornerTriangle";Y$="yxBNXG_spectrum-UIIcon-CrossLarge";G$="yxBNXG_spectrum-UIIcon-CrossMedium";X$="yxBNXG_spectrum-UIIcon-CrossSmall";J$="yxBNXG_spectrum-UIIcon-DashSmall";eO="yxBNXG_spectrum-UIIcon-DoubleGripper";tO="yxBNXG_spectrum-UIIcon-FolderBreadcrumb";rO="yxBNXG_spectrum-UIIcon-HelpMedium";nO="yxBNXG_spectrum-UIIcon-HelpSmall";iO="yxBNXG_spectrum-UIIcon-InfoMedium";aO="yxBNXG_spectrum-UIIcon-InfoSmall";lO="yxBNXG_spectrum-UIIcon-ListGripper";oO="yxBNXG_spectrum-UIIcon-Magnifier";sO="yxBNXG_spectrum-UIIcon-SkipLeft";uO="yxBNXG_spectrum-UIIcon-SkipRight";cO="yxBNXG_spectrum-UIIcon-Star";dO="yxBNXG_spectrum-UIIcon-StarOutline";fO="yxBNXG_spectrum-UIIcon-SuccessMedium";hO="yxBNXG_spectrum-UIIcon-SuccessSmall";pO="yxBNXG_spectrum-UIIcon-TripleGripper";function $me(e){return`var(--spectrum-semantic-${e}-color-icon)`}const Ome={...T1,color:["color",$me]};function da(e){e=Ia(e,"icon");let{children:t,size:r,"aria-label":n,"aria-hidden":i,...a}=e,{styleProps:l}=Nt(a,Ome),s=Gn(),u="M";s!==null&&(u=s.scale==="large"?"L":"M"),i||(i=void 0);let c=r||u;return w.cloneElement(t,{...Kt(a),...l,focusable:"false","aria-label":n,"aria-hidden":n?i||void 0:!0,role:"img",className:z(nq(ot),t.props.className,"spectrum-Icon",`spectrum-Icon--size${c}`,l.className)})}function Ln(e){e=Ia(e,"icon");let{children:t,"aria-label":r,"aria-hidden":n,...i}=e,{styleProps:a}=Nt(i),l=Gn(),s="M";return l!==null&&(s=l.scale==="large"?"L":"M"),n||(n=void 0),w.cloneElement(t,{...Kt(i),...a,scale:s,focusable:"false","aria-label":r,"aria-hidden":r?n||void 0:!0,role:"img",className:z(nq(ot),t.props.className,"spectrum-Icon",{[`spectrum-UIIcon-${t.type.displayName}`]:t.type.displayName},a.className)})}function xme(e){return w.createElement(Ln,e,w.createElement(gme,null))}var iq={};Object.defineProperty(iq,"__esModule",{value:!0});var Sme=iq.CrossSmall=aq,Dy=wme(O);function wme(e){return e&&e.__esModule?e:{default:e}}function mO(){return mO=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Cme(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function aq(e){var t=e.scale,r=t===void 0?"M":t,n=kme(e,["scale"]);return Dy.default.createElement("svg",mO({},n,n),r==="L"&&Dy.default.createElement("path",{d:"M9.317 8.433L5.884 5l3.433-3.433a.625.625 0 1 0-.884-.884L5 4.116 1.567.683a.625.625 0 1 0-.884.884C.83 1.713 2.77 3.657 4.116 5L.683 8.433a.625.625 0 1 0 .884.884L5 5.884l3.433 3.433a.625.625 0 0 0 .884-.884z"}),r==="M"&&Dy.default.createElement("path",{d:"M7.317 6.433L4.884 4l2.433-2.433a.625.625 0 1 0-.884-.884L4 3.116 1.567.683a.625.625 0 1 0-.884.884L3.116 4 .683 6.433a.625.625 0 1 0 .884.884L4 4.884l2.433 2.433a.625.625 0 0 0 .884-.884z"}))}aq.displayName="CrossSmall";function Eme(e){return w.createElement(Ln,e,w.createElement(Sme,null))}function QR(e={}){let{isReadOnly:t}=e,[r,n]=ca(e.isSelected,e.defaultSelected||!1,e.onChange);function i(l){t||n(l)}function a(){t||n(!r)}return{isSelected:r,setSelected:i,toggle:a}}function $n(e){return e&&e.__esModule?e.default:e}function Tt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var lq={};lq={"ar-AE":tZ,"bg-BG":rZ,"cs-CZ":nZ,"da-DK":iZ,"de-DE":aZ,"el-GR":lZ,"en-US":oZ,"es-ES":sZ,"et-EE":uZ,"fi-FI":cZ,"fr-FR":dZ,"he-IL":fZ,"hr-HR":hZ,"hu-HU":pZ,"it-IT":mZ,"ja-JP":gZ,"ko-KR":vZ,"lt-LT":bZ,"lv-LV":yZ,"nb-NO":$Z,"nl-NL":OZ,"pl-PL":xZ,"pt-BR":SZ,"pt-PT":wZ,"ro-RO":kZ,"ru-RU":CZ,"sk-SK":EZ,"sl-SI":PZ,"sr-SP":FZ,"sv-SE":AZ,"tr-TR":DZ,"uk-UA":TZ,"zh-CN":RZ,"zh-TW":IZ};var Je={};Tt(Je,"focus-ring",()=>gO,e=>gO=e);Tt(Je,"i18nFontFamily",()=>ev,e=>ev=e);Tt(Je,"is-active",()=>vO,e=>vO=e);Tt(Je,"is-disabled",()=>bO,e=>bO=e);Tt(Je,"is-focused",()=>yO,e=>yO=e);Tt(Je,"is-hovered",()=>$O,e=>$O=e);Tt(Je,"is-open",()=>OO,e=>OO=e);Tt(Je,"is-placeholder",()=>xO,e=>xO=e);Tt(Je,"is-selected",()=>SO,e=>SO=e);Tt(Je,"spectrum-BaseButton",()=>bs,e=>bs=e);Tt(Je,"spectrum-FocusRing-ring",()=>tv,e=>tv=e);Tt(Je,"spectrum-FocusRing",()=>ys,e=>ys=e);Tt(Je,"spectrum-ActionButton",()=>wO,e=>wO=e);Tt(Je,"spectrum-ActionButton--emphasized",()=>kO,e=>kO=e);Tt(Je,"spectrum-ActionButton--quiet",()=>CO,e=>CO=e);Tt(Je,"spectrum-ActionButton--staticBlack",()=>EO,e=>EO=e);Tt(Je,"spectrum-ActionButton--staticColor",()=>PO,e=>PO=e);Tt(Je,"spectrum-ActionButton--staticWhite",()=>FO,e=>FO=e);Tt(Je,"spectrum-ActionButton-hold",()=>AO,e=>AO=e);Tt(Je,"spectrum-ActionButton-label",()=>DO,e=>DO=e);Tt(Je,"spectrum-Button",()=>TO,e=>TO=e);Tt(Je,"spectrum-Button--iconOnly",()=>RO,e=>RO=e);Tt(Je,"spectrum-Button--overBackground",()=>IO,e=>IO=e);Tt(Je,"spectrum-Button--pending",()=>MO,e=>MO=e);Tt(Je,"spectrum-Button-circleLoader",()=>BO,e=>BO=e);Tt(Je,"spectrum-Button-label",()=>_O,e=>_O=e);Tt(Je,"spectrum-ClearButton",()=>NO,e=>NO=e);Tt(Je,"spectrum-ClearButton--overBackground",()=>LO,e=>LO=e);Tt(Je,"spectrum-ClearButton--small",()=>QO,e=>QO=e);Tt(Je,"spectrum-FieldButton",()=>VO,e=>VO=e);Tt(Je,"spectrum-FieldButton--invalid",()=>zO,e=>zO=e);Tt(Je,"spectrum-FocusRing--quiet",()=>rv,e=>rv=e);Tt(Je,"spectrum-FieldButton--quiet",()=>jO,e=>jO=e);Tt(Je,"spectrum-Icon",()=>WO,e=>WO=e);Tt(Je,"spectrum-LogicButton",()=>ZO,e=>ZO=e);Tt(Je,"spectrum-LogicButton--and",()=>UO,e=>UO=e);Tt(Je,"spectrum-LogicButton--or",()=>qO,e=>qO=e);var gO,ev,vO,bO,yO,$O,OO,xO,SO,bs,tv,ys,wO,kO,CO,EO,PO,FO,AO,DO,TO,RO,IO,MO,BO,_O,NO,LO,QO,VO,zO,rv,jO,WO,ZO,UO,qO;gO="Dniwja_focus-ring";ev="Dniwja_i18nFontFamily";vO="Dniwja_is-active";bO="Dniwja_is-disabled";yO="Dniwja_is-focused";$O="Dniwja_is-hovered";OO="Dniwja_is-open";xO="Dniwja_is-placeholder";SO="Dniwja_is-selected";bs=`Dniwja_spectrum-BaseButton ${ev}`;tv="Dniwja_spectrum-FocusRing-ring";ys=`Dniwja_spectrum-FocusRing ${tv}`;wO=`Dniwja_spectrum-ActionButton ${bs} ${ys}`;kO="Dniwja_spectrum-ActionButton--emphasized";CO="Dniwja_spectrum-ActionButton--quiet";EO="Dniwja_spectrum-ActionButton--staticBlack";PO="Dniwja_spectrum-ActionButton--staticColor";FO="Dniwja_spectrum-ActionButton--staticWhite";AO="Dniwja_spectrum-ActionButton-hold";DO="Dniwja_spectrum-ActionButton-label";TO=`Dniwja_spectrum-Button ${bs} ${ys}`;RO="Dniwja_spectrum-Button--iconOnly";IO="Dniwja_spectrum-Button--overBackground";MO="Dniwja_spectrum-Button--pending";BO="Dniwja_spectrum-Button-circleLoader";_O="Dniwja_spectrum-Button-label";NO=`Dniwja_spectrum-ClearButton ${bs} ${ys}`;LO="Dniwja_spectrum-ClearButton--overBackground";QO="Dniwja_spectrum-ClearButton--small";VO=`Dniwja_spectrum-FieldButton ${bs} ${ys}`;zO="Dniwja_spectrum-FieldButton--invalid";rv="Dniwja_spectrum-FocusRing--quiet";jO=`Dniwja_spectrum-FieldButton--quiet ${rv}`;WO="Dniwja_spectrum-Icon";ZO=`Dniwja_spectrum-LogicButton ${bs} ${ys}`;UO="Dniwja_spectrum-LogicButton--and";qO="Dniwja_spectrum-LogicButton--or";function Pme(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}function Fme(e,t){var r;e=Fn(e),e=Ia(e,"button"),e=Pme(e);let{elementType:n="button",children:i,variant:a,style:l=a==="accent"||a==="cta"?"fill":"outline",staticColor:s,isDisabled:u,isPending:c,autoFocus:d,...f}=e,h=Ra(t),{buttonProps:p,isPressed:m}=Ao(e,h),{hoverProps:g,isHovered:b}=Er({isDisabled:u}),[v,y]=O.useState(!1),{focusProps:$}=Wh({onFocusChange:y,isDisabled:u}),S=lr($n(lq),"@react-spectrum/button"),{styleProps:k}=Nt(f),C=gc(`.${$n(Je)["spectrum-Button-label"]}`,h),F=gc(`.${$n(Je)["spectrum-Icon"]}`,h),E=!!p["aria-label"]||!!p["aria-labelledby"],[M,D]=O.useState(!1),T=ir(),B=p.id||T,R=ir(),_=ir(),V=ir();O.useEffect(()=>{let A;return c?A=setTimeout(()=>{D(!0)},1e3):D(!1),()=>{clearTimeout(A)}},[c]),a==="cta"?a="accent":a==="overBackground"&&(a="primary",s="white");const j=`${E?p["aria-label"]:""} ${S.format("pending")}`.trim();var Z;const q=E?(Z=(r=p["aria-labelledby"])===null||r===void 0?void 0:r.replace(B,V))!==null&&Z!==void 0?Z:V:`${F?R:""} ${C?_:""} ${V}`.trim();let U="polite";return Af()&&(!E||VZ())&&(U="off"),w.createElement(_r,{focusRingClass:z($n(Je),"focus-ring"),autoFocus:d},w.createElement(n,{...k,...$e(p,g,$),id:B,ref:h,"data-variant":a,"data-style":l,"data-static-color":s||void 0,"aria-disabled":c?"true":void 0,"aria-label":c?j:p["aria-label"],"aria-labelledby":c?q:p["aria-labelledby"],className:z($n(Je),"spectrum-Button",{"spectrum-Button--iconOnly":F&&!C,"is-disabled":u||M,"is-active":m,"is-hovered":b,"spectrum-Button--pending":M},k.className)},w.createElement(Ma,{slots:{icon:{id:R,size:"S",UNSAFE_className:z($n(Je),"spectrum-Icon")},text:{id:_,UNSAFE_className:z($n(Je),"spectrum-Button-label")}}},typeof i=="string"?w.createElement(Hh,null,i):i,c&&w.createElement("div",{"aria-hidden":"true",style:{visibility:M?"visible":"hidden"},className:z($n(Je),"spectrum-Button-circleLoader")},w.createElement(gd,{"aria-label":j,isIndeterminate:!0,size:"S",staticColor:s})),c&&w.createElement(w.Fragment,null,w.createElement("div",{"aria-live":v?U:"off"},M&&w.createElement("div",{role:"img","aria-labelledby":q})),w.createElement("div",{id:V,role:"img","aria-label":j})))))}let oq=w.forwardRef(Fme);function Ame(e,t){e=Fn(e),e=Ia(e,"actionButton");let{isQuiet:r,isDisabled:n,staticColor:i,children:a,autoFocus:l,holdAffordance:s,...u}=e,c=Ra(t),{buttonProps:d,isPressed:f}=Ao(e,c),{hoverProps:h,isHovered:p}=Er({isDisabled:n}),{styleProps:m}=Nt(u),g=w.Children.toArray(e.children).every(b=>!w.isValidElement(b));return w.createElement(_r,{focusRingClass:z($n(Je),"focus-ring"),autoFocus:l},w.createElement("button",{...m,...$e(d,h),ref:c,className:z($n(Je),"spectrum-ActionButton",{"spectrum-ActionButton--quiet":r,"spectrum-ActionButton--staticColor":!!i,"spectrum-ActionButton--staticWhite":i==="white","spectrum-ActionButton--staticBlack":i==="black","is-active":f,"is-disabled":n,"is-hovered":p},m.className)},s&&w.createElement(xme,{UNSAFE_className:z($n(Je),"spectrum-ActionButton-hold")}),w.createElement(Ma,{slots:{icon:{size:"S",UNSAFE_className:z($n(Je),"spectrum-Icon")},text:{UNSAFE_className:z($n(Je),"spectrum-ActionButton-label")}}},typeof a=="string"||g?w.createElement(Hh,null,a):a)))}let xo=w.forwardRef(Ame);function Dme(e,t){e=Ia(e,"button");let{isQuiet:r,isDisabled:n,validationState:i,isInvalid:a,children:l,autoFocus:s,isActive:u,focusRingClass:c,...d}=e,f=Ra(t),{buttonProps:h,isPressed:p}=Ao(e,f),{hoverProps:m,isHovered:g}=Er({isDisabled:n}),{styleProps:b}=Nt(d);return w.createElement(_r,{focusRingClass:z($n(Je),"focus-ring",c),autoFocus:s},w.createElement("button",{...$e(h,m),ref:f,className:z($n(Je),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":r,"is-active":u||p,"is-disabled":n,"spectrum-FieldButton--invalid":a||i==="invalid","is-hovered":g},b.className)},w.createElement(Ma,{slots:{icon:{size:"S",UNSAFE_className:z($n(Je),"spectrum-Icon")}}},l)))}let sq=w.forwardRef(Dme);function Tme(e,t){let{children:r=w.createElement(Eme,{UNSAFE_className:$n(Je)["spectrum-Icon"]}),focusClassName:n,variant:i,autoFocus:a,isDisabled:l,preventFocus:s,elementType:u=s?"div":"button",...c}=e,d=Ra(t),{buttonProps:f,isPressed:h}=Ao({...e,elementType:u},d),{hoverProps:p,isHovered:m}=Er({isDisabled:l}),{styleProps:g}=Nt(c);s&&delete f.tabIndex;let b=u;return w.createElement(_r,{focusRingClass:z($n(Je),"focus-ring",n),autoFocus:a},w.createElement(b,{...g,...$e(f,p),ref:d,className:z($n(Je),"spectrum-ClearButton",{[`spectrum-ClearButton--${i}`]:i,"is-disabled":l,"is-active":h,"is-hovered":m},g.className)},r))}let Rme=w.forwardRef(Tme);var uq={};Object.defineProperty(uq,"__esModule",{value:!0});var Ime=uq.ChevronDownMedium=cq,Ty=Mme(O);function Mme(e){return e&&e.__esModule?e:{default:e}}function HO(){return HO=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _me(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function cq(e){var t=e.scale,r=t===void 0?"M":t,n=Bme(e,["scale"]);return Ty.default.createElement("svg",HO({},n,n),r==="L"&&Ty.default.createElement("path",{d:"M11.99 1.51a1 1 0 0 0-1.707-.707L6 5.086 1.717.803A1 1 0 1 0 .303 2.217l4.99 4.99a1 1 0 0 0 1.414 0l4.99-4.99a.997.997 0 0 0 .293-.707z"}),r==="M"&&Ty.default.createElement("path",{d:"M9.99 1.01A1 1 0 0 0 8.283.303L5 3.586 1.717.303A1 1 0 1 0 .303 1.717l3.99 3.98a1 1 0 0 0 1.414 0l3.99-3.98a.997.997 0 0 0 .293-.707z"}))}cq.displayName="ChevronDownMedium";function L1(e){return w.createElement(Ln,e,w.createElement(Ime,null))}var dq={};dq={backButton:e=>`الرجوع إلى ${e.prevMenuButton}`,moreActions:"المزيد من الإجراءات",unavailable:"غير مُتوفر، قُم بالتوسيع للحصول على التفاصيل"};var fq={};fq={backButton:e=>`Назад към ${e.prevMenuButton}`,moreActions:"Повече действия",unavailable:"Недостъпно, разгънете за подробности"};var hq={};hq={backButton:e=>`Návrat na ${e.prevMenuButton}`,moreActions:"Další akce",unavailable:"Není k dispozici, rozbalením zobrazíte podrobnosti"};var pq={};pq={backButton:e=>`Vend tilbage til ${e.prevMenuButton}`,moreActions:"Flere handlinger",unavailable:"Ikke tilgængelig, udvid for detaljer"};var mq={};mq={backButton:e=>`Zurück zu ${e.prevMenuButton}`,moreActions:"Mehr Aktionen",unavailable:"Nicht verfügbar, für Details erweitern"};var gq={};gq={backButton:e=>`Επιστροφή στο ${e.prevMenuButton}`,moreActions:"Περισσότερες ενέργειες",unavailable:"Μη διαθέσιμο, ανάπτυξη για λεπτομέρειες"};var vq={};vq={moreActions:"More actions",unavailable:"Unavailable, expand for details",backButton:e=>`Return to ${e.prevMenuButton}`};var bq={};bq={backButton:e=>`Volver a ${e.prevMenuButton}`,moreActions:"Más acciones",unavailable:"No disponible, ampliar para más detalles"};var yq={};yq={backButton:e=>`Tagasi ${e.prevMenuButton}`,moreActions:"Veel toiminguid",unavailable:"Pole kättesaadav, üksikasjade vaatamiseks laiendage"};var $q={};$q={backButton:e=>`Palaa kohtaan ${e.prevMenuButton}`,moreActions:"Lisää toimintoja",unavailable:"Ei saatavilla, laajenna saadaksesi lisätietoja"};var Oq={};Oq={backButton:e=>`Retour vers ${e.prevMenuButton}`,moreActions:"Autres actions",unavailable:"Indisponible, développer pour plus de détails"};var xq={};xq={backButton:e=>`חזור אל ${e.prevMenuButton}`,moreActions:"פעולות נוספות",unavailable:"לא זמין, הרחב לפרטים"};var Sq={};Sq={backButton:e=>`Povratak na ${e.prevMenuButton}`,moreActions:"Dodatne radnje",unavailable:"Nije dostupno, proširi za detalje"};var wq={};wq={backButton:e=>`Vissza ide: ${e.prevMenuButton}`,moreActions:"További lehetőségek",unavailable:"Nem érhető el, a részletekért bontsa ki"};var kq={};kq={backButton:e=>`Torna a ${e.prevMenuButton}`,moreActions:"Altre azioni",unavailable:"Non disponibile, espandi per i dettagli"};var Cq={};Cq={backButton:e=>`${e.prevMenuButton} に戻る`,moreActions:"その他のアクション",unavailable:"利用できません。詳しくは、展開して確認してください"};var Eq={};Eq={backButton:e=>`${e.prevMenuButton}(으)로 돌아가기`,moreActions:"기타 액션",unavailable:"사용할 수 없음, 자세히 보려면 펼치기"};var Pq={};Pq={backButton:e=>`Grįžti į ${e.prevMenuButton}`,moreActions:"Daugiau veiksmų",unavailable:"Nepasiekiama, norėdami gauti daugiau informacijos, išskleiskite"};var Fq={};Fq={backButton:e=>`Atgriezties uz ${e.prevMenuButton}`,moreActions:"Citas darbības",unavailable:"Nav pieejams, izvērsiet, lai skatītu sīkāku informāciju"};var Aq={};Aq={backButton:e=>`Gå tilbake til ${e.prevMenuButton}`,moreActions:"Flere handlinger",unavailable:"Utilgjengelig, utvid for detaljer"};var Dq={};Dq={backButton:e=>`Terug naar ${e.prevMenuButton}`,moreActions:"Meer handelingen",unavailable:"Niet beschikbaar, uitvouwen voor meer informatie"};var Tq={};Tq={backButton:e=>`Wróć do: ${e.prevMenuButton}`,moreActions:"Więcej akcji",unavailable:"Niedostępne, rozwiń, aby zobaczyć szczegóły"};var Rq={};Rq={backButton:e=>`Retornar a ${e.prevMenuButton}`,moreActions:"Mais ações",unavailable:"Indisponível. Expanda para ver os detalhes"};var Iq={};Iq={backButton:e=>`Voltar ao ${e.prevMenuButton}`,moreActions:"Mais ações",unavailable:"Indisponível, expandir para mais detalhes"};var Mq={};Mq={backButton:e=>`Reveniți la ${e.prevMenuButton}`,moreActions:"Mai multe acțiuni",unavailable:"Indisponibil, extindeți pentru detalii"};var Bq={};Bq={backButton:e=>`Вернуться к ${e.prevMenuButton}`,moreActions:"Дополнительные действия",unavailable:"Недоступно, разверните для подробностей"};var _q={};_q={backButton:e=>`Späť na ${e.prevMenuButton}`,moreActions:"Ďalšie akcie",unavailable:"Nedostupné, rozbaľte podrobnosti"};var Nq={};Nq={backButton:e=>`Nazaj na ${e.prevMenuButton}`,moreActions:"Več možnosti",unavailable:"Ni na voljo, razširite za podrobnosti"};var Lq={};Lq={backButton:e=>`Povratak na ${e.prevMenuButton}`,moreActions:"Dodatne radnje",unavailable:"Nije dostupno, proširite za detalje"};var Qq={};Qq={backButton:e=>`Återgå till ${e.prevMenuButton}`,moreActions:"Fler åtgärder",unavailable:"Ej tillgänglig, expandera för mer information"};var Vq={};Vq={backButton:e=>`Geri dön: ${e.prevMenuButton}`,moreActions:"Daha fazla eylem",unavailable:"Kullanılamıyor, ayrıntıları görmek için genişletin"};var zq={};zq={backButton:e=>`Повернутися до ${e.prevMenuButton}`,moreActions:"Більше дій",unavailable:"Недоступно, розгорніть для докладнішої інформації"};var jq={};jq={backButton:e=>`返回 ${e.prevMenuButton}`,moreActions:"更多操作",unavailable:"不可用,展开以查看详细信息"};var Wq={};Wq={backButton:e=>`返回 ${e.prevMenuButton}`,moreActions:"更多動作",unavailable:"無法使用,展開以取得詳細資料"};function Yc(){return Yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function KO(e,t){return KO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},KO(e,t)}function Lme(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,KO(e,t)}const w_={disabled:!1},Zq=w.createContext(null);var Qme=function(t){return t.scrollTop},pf="unmounted",Ys="exited",Gs="entering",Xu="entered",YO="exiting",To=function(e){Lme(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var l=i,s=l&&!l.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?s?(u=Ys,a.appearStatus=Gs):u=Xu:n.unmountOnExit||n.mountOnEnter?u=pf:u=Ys,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var l=i.in;return l&&a.status===pf?{status:Ys}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==Gs&&l!==Xu&&(a=Gs):(l===Gs||l===Xu)&&(a=YO)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,l,s;return a=l=s=i,i!=null&&typeof i!="number"&&(a=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:a,enter:l,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Gs){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:pc.findDOMNode(this);l&&Qme(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ys&&this.setState({status:pf})},r.performEnter=function(i){var a=this,l=this.props.enter,s=this.context?this.context.isMounting:i,u=this.props.nodeRef?[s]:[pc.findDOMNode(this),s],c=u[0],d=u[1],f=this.getTimeouts(),h=s?f.appear:f.enter;if(!i&&!l||w_.disabled){this.safeSetState({status:Xu},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Gs},function(){a.props.onEntering(c,d),a.onTransitionEnd(h,function(){a.safeSetState({status:Xu},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:pc.findDOMNode(this);if(!a||w_.disabled){this.safeSetState({status:Ys},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:YO},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Ys},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:pc.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===pf)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Nme(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return w.createElement(Zq.Provider,{value:null},typeof l=="function"?l(i,s):w.cloneElement(w.Children.only(l),s))},t}(w.Component);To.contextType=Zq;To.propTypes={};function Wu(){}To.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wu,onEntering:Wu,onEntered:Wu,onExit:Wu,onExiting:Wu,onExited:Wu};To.UNMOUNTED=pf;To.EXITED=Ys;To.ENTERING=Gs;To.ENTERED=Xu;To.EXITING=YO;const Vme=To;function Sa(e){return e&&e.__esModule?e.default:e}function Pe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const zme={entering:!1,entered:!0};function jme(e){return w.createElement(Vme,{timeout:{enter:0,exit:350},...e},t=>w.Children.map(e.children,r=>r&&w.cloneElement(r,{isOpen:!!zme[t]})))}function Wme(e,t){let{children:r,isOpen:n,disableFocusManagement:i,container:a,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,nodeRef:h}=e,[p,m]=O.useState(!n),g=O.useCallback(()=>{m(!1),u&&u()},[u]),b=O.useCallback(()=>{m(!0),f&&f()},[f]);return n||!p?w.createElement(cme,{portalContainer:a,disableFocusManagement:i,isExiting:!n},w.createElement(Kh,{ref:t,UNSAFE_style:{background:"transparent",isolation:"isolate"},isDisabled:!1},w.createElement(jme,{in:n,appear:!0,onExit:c,onExiting:d,onExited:b,onEnter:l,onEntering:s,onEntered:g,nodeRef:h},r))):null}let Q1=w.forwardRef(Wme);var aa={};Pe(aa,"react-spectrum-Modal",()=>GO,e=>GO=e);Pe(aa,"react-spectrum-Modal-wrapper",()=>XO,e=>XO=e);Pe(aa,"react-spectrum-Popover",()=>JO,e=>JO=e);Pe(aa,"react-spectrum-Tray",()=>e5,e=>e5=e);Pe(aa,"spectrum-Dialog-content",()=>t5,e=>t5=e);Pe(aa,"spectrum-Modal",()=>r5,e=>r5=e);Pe(aa,"spectrum-Modal-wrapper",()=>n5,e=>n5=e);Pe(aa,"spectrum-Popover",()=>i5,e=>i5=e);Pe(aa,"spectrum-Tray",()=>a5,e=>a5=e);var GO,XO,JO,e5,t5,r5,n5,i5,a5;GO="OhnpTq_react-spectrum-Modal";XO="OhnpTq_react-spectrum-Modal-wrapper";JO="OhnpTq_react-spectrum-Popover";e5="OhnpTq_react-spectrum-Tray";t5="OhnpTq_spectrum-Dialog-content";r5="OhnpTq_spectrum-Modal";n5="OhnpTq_spectrum-Modal-wrapper";i5="OhnpTq_spectrum-Popover";a5="OhnpTq_spectrum-Tray";var cr={};Pe(cr,"focus-ring",()=>l5,e=>l5=e);Pe(cr,"i18nFontFamily",()=>o5,e=>o5=e);Pe(cr,"spectrum-overlay--open",()=>nv,e=>nv=e);Pe(cr,"is-open",()=>s5,e=>s5=e);Pe(cr,"spectrum-overlay--bottom--open",()=>iv,e=>iv=e);Pe(cr,"is-open--bottom",()=>u5,e=>u5=e);Pe(cr,"spectrum-overlay--left--open",()=>av,e=>av=e);Pe(cr,"is-open--left",()=>c5,e=>c5=e);Pe(cr,"spectrum-overlay--right--open",()=>lv,e=>lv=e);Pe(cr,"is-open--right",()=>d5,e=>d5=e);Pe(cr,"spectrum-overlay--top--open",()=>ov,e=>ov=e);Pe(cr,"is-open--top",()=>f5,e=>f5=e);Pe(cr,"spectrum-FocusRing-ring",()=>sv,e=>sv=e);Pe(cr,"spectrum-FocusRing",()=>h5,e=>h5=e);Pe(cr,"spectrum-FocusRing--quiet",()=>p5,e=>p5=e);Pe(cr,"spectrum-overlay",()=>uv,e=>uv=e);Pe(cr,"spectrum-Popover",()=>m5,e=>m5=e);Pe(cr,"spectrum-Popover--bottom",()=>g5,e=>g5=e);Pe(cr,"spectrum-Popover--dialog",()=>v5,e=>v5=e);Pe(cr,"spectrum-Popover--left",()=>b5,e=>b5=e);Pe(cr,"spectrum-Popover--right",()=>y5,e=>y5=e);Pe(cr,"spectrum-Popover--top",()=>$5,e=>$5=e);Pe(cr,"spectrum-Popover--withTip",()=>O5,e=>O5=e);Pe(cr,"spectrum-Popover-tip",()=>x5,e=>x5=e);Pe(cr,"spectrum-Popover-tip-triangle",()=>S5,e=>S5=e);var l5,o5,nv,s5,iv,u5,av,c5,lv,d5,ov,f5,sv,h5,p5,uv,m5,g5,v5,b5,y5,$5,O5,x5,S5;l5="cH0MeW_focus-ring";o5="cH0MeW_i18nFontFamily";nv="cH0MeW_spectrum-overlay--open";s5=`cH0MeW_is-open ${nv}`;iv="cH0MeW_spectrum-overlay--bottom--open";u5=`cH0MeW_is-open--bottom ${iv}`;av="cH0MeW_spectrum-overlay--left--open";c5=`cH0MeW_is-open--left ${av}`;lv="cH0MeW_spectrum-overlay--right--open";d5=`cH0MeW_is-open--right ${lv}`;ov="cH0MeW_spectrum-overlay--top--open";f5=`cH0MeW_is-open--top ${ov}`;sv="cH0MeW_spectrum-FocusRing-ring";h5=`cH0MeW_spectrum-FocusRing ${sv}`;p5="cH0MeW_spectrum-FocusRing--quiet";uv="cH0MeW_spectrum-overlay";m5=`cH0MeW_spectrum-Popover ${uv}`;g5="cH0MeW_spectrum-Popover--bottom";v5="cH0MeW_spectrum-Popover--dialog";b5="cH0MeW_spectrum-Popover--left";y5="cH0MeW_spectrum-Popover--right";$5="cH0MeW_spectrum-Popover--top";O5="cH0MeW_spectrum-Popover--withTip";x5="cH0MeW_spectrum-Popover-tip";S5="cH0MeW_spectrum-Popover-tip-triangle";var Ci={};Pe(Ci,"focus-ring",()=>w5,e=>w5=e);Pe(Ci,"i18nFontFamily",()=>k5,e=>k5=e);Pe(Ci,"spectrum-overlay--open",()=>cv,e=>cv=e);Pe(Ci,"is-open",()=>C5,e=>C5=e);Pe(Ci,"spectrum-FocusRing-ring",()=>dv,e=>dv=e);Pe(Ci,"spectrum-FocusRing",()=>E5,e=>E5=e);Pe(Ci,"spectrum-FocusRing--quiet",()=>P5,e=>P5=e);Pe(Ci,"spectrum-overlay",()=>fv,e=>fv=e);Pe(Ci,"spectrum-Underlay",()=>F5,e=>F5=e);Pe(Ci,"spectrum-Underlay--transparent",()=>A5,e=>A5=e);Pe(Ci,"spectrum-overlay--bottom--open",()=>D5,e=>D5=e);Pe(Ci,"spectrum-overlay--left--open",()=>T5,e=>T5=e);Pe(Ci,"spectrum-overlay--right--open",()=>R5,e=>R5=e);Pe(Ci,"spectrum-overlay--top--open",()=>I5,e=>I5=e);var w5,k5,cv,C5,dv,E5,P5,fv,F5,A5,D5,T5,R5,I5;w5="F-oYUa_focus-ring";k5="F-oYUa_i18nFontFamily";cv="F-oYUa_spectrum-overlay--open";C5=`F-oYUa_is-open ${cv}`;dv="F-oYUa_spectrum-FocusRing-ring";E5=`F-oYUa_spectrum-FocusRing ${dv}`;P5="F-oYUa_spectrum-FocusRing--quiet";fv="F-oYUa_spectrum-overlay";F5=`F-oYUa_spectrum-Underlay ${fv}`;A5="F-oYUa_spectrum-Underlay--transparent";D5="F-oYUa_spectrum-overlay--bottom--open";T5="F-oYUa_spectrum-overlay--left--open";R5="F-oYUa_spectrum-overlay--right--open";I5="F-oYUa_spectrum-overlay--top--open";function VR({isOpen:e,isTransparent:t,...r}){return w.createElement("div",{"data-testid":"underlay",...r,className:z(Sa(Ci),"spectrum-Underlay",{"is-open":e,"spectrum-Underlay--transparent":t})})}let Zme={left:"right",right:"right",top:"bottom",bottom:"bottom"};function Ume(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(Q1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(qme,{ref:a,...e,wrapperRef:l},r))}const qme=O.forwardRef((e,t)=>{let{children:r,isOpen:n,hideArrow:i,isNonModal:a,enableBothDismissButtons:l,state:s,wrapperRef:u,onDismissButtonPress:c=()=>s.close()}=e,{styleProps:d}=Nt(e),{size:f,borderWidth:h,arrowRef:p}=Kme();const m=Hme(t);let g=h*Math.SQRT2,b=f+g,v=b*2,{popoverProps:y,arrowProps:$,underlayProps:S,placement:k}=ume({...e,popoverRef:t,maxHeight:null,arrowSize:i?0:v,arrowBoundaryOffset:m},s),{focusWithinProps:C}=Tu(e),F=()=>{s.close()};return w.createElement("div",{ref:u},!a&&w.createElement(VR,{isTransparent:!0,...$e(S,{onPointerDown:F}),isOpen:n}),w.createElement("div",{...d,...$e(y,C),style:{...d.style,...y.style},ref:t,className:z(Sa(cr),"spectrum-Popover",`spectrum-Popover--${k}`,{"spectrum-Popover--withTip":!i,"is-open":n,[`is-open--${k}`]:n},z(Sa(aa),"spectrum-Popover","react-spectrum-Popover"),d.className),role:"presentation","data-testid":"popover"},(!a||l)&&w.createElement(Kc,{onDismiss:c}),r,i?null:w.createElement(Yme,{arrowProps:$,isLandscape:Zme[k]==="bottom",arrowRef:p,primary:b,secondary:v,borderDiagonal:g}),w.createElement(Kc,{onDismiss:c})))});function Hme(e){let[t,r]=O.useState(0);return wt(()=>{if(e.current){let n=window.getComputedStyle(e.current).borderRadius;n!==""&&r(parseInt(n,10))}},[e]),t}function Kme(){let[e,t]=O.useState(20),[r,n]=O.useState(1),i=O.useRef(null);return wt(()=>{if(i.current){let a=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-size");a!==""&&t(parseInt(a,10)/2);let l=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-borderWidth");l!==""&&n(parseInt(l,10))}},[]),{size:e,borderWidth:r,arrowRef:i}}function Yme(e){let{primary:t,secondary:r,isLandscape:n,arrowProps:i,borderDiagonal:a,arrowRef:l}=e,s=a/2,u=0,c=t-s,d=s,f=r/2,h=r-s,p=n?["M",d,u,"L",f,c,"L",h,u]:["M",u,d,"L",c,f,"L",u,h];return w.createElement("svg",{xmlns:"http://www.w3.org/svg/2000",width:Math.ceil(n?r:t),height:Math.ceil(n?t:r),className:z(Sa(cr),"spectrum-Popover-tip"),ref:l,...i},w.createElement("path",{className:z(Sa(cr),"spectrum-Popover-tip-triangle"),d:p.join(" ")}))}let V1=O.forwardRef(Ume);var Pn={};Pe(Pn,"focus-ring",()=>M5,e=>M5=e);Pe(Pn,"i18nFontFamily",()=>B5,e=>B5=e);Pe(Pn,"spectrum-overlay--open",()=>hv,e=>hv=e);Pe(Pn,"is-open",()=>_5,e=>_5=e);Pe(Pn,"spectrum-FocusRing-ring",()=>pv,e=>pv=e);Pe(Pn,"spectrum-FocusRing",()=>N5,e=>N5=e);Pe(Pn,"spectrum-FocusRing--quiet",()=>L5,e=>L5=e);Pe(Pn,"spectrum-overlay",()=>mv,e=>mv=e);Pe(Pn,"spectrum-Modal",()=>Q5,e=>Q5=e);Pe(Pn,"spectrum-Modal--fullscreen",()=>V5,e=>V5=e);Pe(Pn,"spectrum-Modal--fullscreenTakeover",()=>z5,e=>z5=e);Pe(Pn,"spectrum-Modal--responsive",()=>j5,e=>j5=e);Pe(Pn,"spectrum-Modal-wrapper",()=>W5,e=>W5=e);Pe(Pn,"spectrum-overlay--bottom--open",()=>Z5,e=>Z5=e);Pe(Pn,"spectrum-overlay--left--open",()=>U5,e=>U5=e);Pe(Pn,"spectrum-overlay--right--open",()=>q5,e=>q5=e);Pe(Pn,"spectrum-overlay--top--open",()=>H5,e=>H5=e);var M5,B5,hv,_5,pv,N5,L5,mv,Q5,V5,z5,j5,W5,Z5,U5,q5,H5;M5="_0YML2q_focus-ring";B5="_0YML2q_i18nFontFamily";hv="_0YML2q_spectrum-overlay--open";_5=`_0YML2q_is-open ${hv}`;pv="_0YML2q_spectrum-FocusRing-ring";N5=`_0YML2q_spectrum-FocusRing ${pv}`;L5="_0YML2q_spectrum-FocusRing--quiet";mv="_0YML2q_spectrum-overlay";Q5=`_0YML2q_spectrum-Modal ${mv}`;V5="_0YML2q_spectrum-Modal--fullscreen";z5="_0YML2q_spectrum-Modal--fullscreenTakeover";j5="_0YML2q_spectrum-Modal--responsive";W5="_0YML2q_spectrum-Modal-wrapper";Z5="_0YML2q_spectrum-overlay--bottom--open";U5="_0YML2q_spectrum-overlay--left--open";q5="_0YML2q_spectrum-overlay--right--open";H5="_0YML2q_spectrum-overlay--top--open";function Gme(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(Q1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(Jme,{...e,wrapperRef:l,ref:a},r))}let Xme={fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"},Jme=O.forwardRef(function(e,t){let{type:r,children:n,state:i,isOpen:a,wrapperRef:l}=e,s=Xme[r],{styleProps:u}=Nt(e),{modalProps:c,underlayProps:d}=JU(e,i,t),f=z(Sa(Pn),"spectrum-Modal-wrapper",z(Sa(aa),"spectrum-Modal-wrapper","react-spectrum-Modal-wrapper")),h=z(Sa(Pn),"spectrum-Modal",{"is-open":a},z(Sa(aa),"spectrum-Modal","react-spectrum-Modal"),{[`spectrum-Modal--${s}`]:s},u.className),m={"--spectrum-visual-viewport-height":qZ().height+"px"};return w.createElement("div",{ref:l},w.createElement(VR,{...d,isOpen:a}),w.createElement("div",{className:f,style:m},w.createElement("div",{...u,...c,ref:t,className:h,"data-testid":"modal"},n)))}),ege=O.forwardRef(Gme);var Kn={};Pe(Kn,"focus-ring",()=>K5,e=>K5=e);Pe(Kn,"i18nFontFamily",()=>Y5,e=>Y5=e);Pe(Kn,"spectrum-overlay--open",()=>gv,e=>gv=e);Pe(Kn,"is-open",()=>G5,e=>G5=e);Pe(Kn,"spectrum-FocusRing-ring",()=>vv,e=>vv=e);Pe(Kn,"spectrum-FocusRing",()=>X5,e=>X5=e);Pe(Kn,"spectrum-FocusRing--quiet",()=>J5,e=>J5=e);Pe(Kn,"spectrum-overlay",()=>bv,e=>bv=e);Pe(Kn,"spectrum-Tray",()=>ex,e=>ex=e);Pe(Kn,"spectrum-Tray--fixedHeight",()=>tx,e=>tx=e);Pe(Kn,"spectrum-Tray-wrapper",()=>rx,e=>rx=e);Pe(Kn,"spectrum-overlay--bottom--open",()=>nx,e=>nx=e);Pe(Kn,"spectrum-overlay--left--open",()=>ix,e=>ix=e);Pe(Kn,"spectrum-overlay--right--open",()=>ax,e=>ax=e);Pe(Kn,"spectrum-overlay--top--open",()=>lx,e=>lx=e);var K5,Y5,gv,G5,vv,X5,J5,bv,ex,tx,rx,nx,ix,ax,lx;K5="UuxJvG_focus-ring";Y5="UuxJvG_i18nFontFamily";gv="UuxJvG_spectrum-overlay--open";G5=`UuxJvG_is-open ${gv}`;vv="UuxJvG_spectrum-FocusRing-ring";X5=`UuxJvG_spectrum-FocusRing ${vv}`;J5="UuxJvG_spectrum-FocusRing--quiet";bv="UuxJvG_spectrum-overlay";ex=`UuxJvG_spectrum-Tray ${bv}`;tx="UuxJvG_spectrum-Tray--fixedHeight";rx="UuxJvG_spectrum-Tray-wrapper";nx="UuxJvG_spectrum-overlay--bottom--open";ix="UuxJvG_spectrum-overlay--left--open";ax="UuxJvG_spectrum-overlay--right--open";lx="UuxJvG_spectrum-overlay--top--open";function tge(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(Q1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(rge,{...e,wrapperRef:l,ref:a},r))}let rge=O.forwardRef(function(e,t){let{children:r,isOpen:n,isFixedHeight:i,state:a,wrapperRef:l}=e,{styleProps:s}=Nt(e),{modalProps:u,underlayProps:c}=JU({...e,isDismissable:!0},a,t),f={"--spectrum-visual-viewport-height":qZ().height+"px"},h=z(Sa(Kn),"spectrum-Tray-wrapper"),p=z(Sa(Kn),"spectrum-Tray",{"is-open":n,"spectrum-Tray--fixedHeight":i},z(Sa(aa),"spectrum-Tray","react-spectrum-Tray"),s.className);return w.createElement("div",{ref:l},w.createElement(VR,{...c,isOpen:n}),w.createElement("div",{className:h,style:f},w.createElement("div",{...s,...u,className:p,ref:t,"data-testid":"tray"},w.createElement(Kc,{onDismiss:a.close}),r,w.createElement(Kc,{onDismiss:a.close}))))}),z1=O.forwardRef(tge);var Uq={};Uq={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var qq={};qq={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Hq={};Hq={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Kq={};Kq={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Yq={};Yq={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Gq={};Gq={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Xq={};Xq={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Jq={};Jq={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var eH={};eH={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var tH={};tH={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var rH={};rH={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var nH={};nH={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var iH={};iH={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var aH={};aH={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var lH={};lH={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var oH={};oH={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var sH={};sH={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var uH={};uH={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var cH={};cH={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var dH={};dH={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var fH={};fH={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var hH={};hH={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var pH={};pH={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var mH={};mH={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var gH={};gH={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var vH={};vH={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var bH={};bH={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var yH={};yH={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var $H={};$H={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var OH={};OH={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var xH={};xH={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var SH={};SH={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var wH={};wH={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var kH={};kH={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};function ox(e){return Af()?e.altKey:e.ctrlKey}function Ju(e){return ms()?e.metaKey:e.ctrlKey}const nge=1e3;function CH(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,i=O.useRef({search:"",timeout:null}).current,a=l=>{let s=ige(l.key);if(!s||l.ctrlKey||l.metaKey||!l.currentTarget.contains(l.target))return;s===" "&&i.search.trim().length>0&&(l.preventDefault(),"continuePropagation"in l||l.stopPropagation()),i.search+=s;let u=t.getKeyForSearch(i.search,r.focusedKey);u==null&&(u=t.getKeyForSearch(i.search)),u!=null&&(r.setFocusedKey(u),n&&n(u)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},nge)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function ige(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function zR(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:l=!1,disallowSelectAll:s=!1,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:h,scrollRef:p=n,linkBehavior:m="action"}=e,{direction:g}=yr(),b=Qh(),v=D=>{if(D.altKey&&D.key==="Tab"&&D.preventDefault(),!n.current.contains(D.target))return;const T=(A,W)=>{if(A!=null){if(t.isLink(A)&&m==="selection"&&u&&!ox(D)){S1.flushSync(()=>{t.setFocusedKey(A,W)});let Q=p.current.querySelector(`[data-key="${CSS.escape(A.toString())}"]`);b.open(Q,D);return}if(t.setFocusedKey(A,W),t.isLink(A)&&m==="override")return;D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&!ox(D)&&t.replaceSelection(A)}};switch(D.key){case"ArrowDown":if(r.getKeyBelow){var B,R;D.preventDefault();let A=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(B=r.getFirstKey)===null||B===void 0?void 0:B.call(r);A==null&&a&&(A=(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r,t.focusedKey)),T(A)}break;case"ArrowUp":if(r.getKeyAbove){var _,V;D.preventDefault();let A=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(_=r.getLastKey)===null||_===void 0?void 0:_.call(r);A==null&&a&&(A=(V=r.getLastKey)===null||V===void 0?void 0:V.call(r,t.focusedKey)),T(A)}break;case"ArrowLeft":if(r.getKeyLeftOf){var j,Z;D.preventDefault();let A=r.getKeyLeftOf(t.focusedKey);A==null&&a&&(A=g==="rtl"?(j=r.getFirstKey)===null||j===void 0?void 0:j.call(r,t.focusedKey):(Z=r.getLastKey)===null||Z===void 0?void 0:Z.call(r,t.focusedKey)),T(A,g==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var q,U;D.preventDefault();let A=r.getKeyRightOf(t.focusedKey);A==null&&a&&(A=g==="rtl"?(q=r.getLastKey)===null||q===void 0?void 0:q.call(r,t.focusedKey):(U=r.getFirstKey)===null||U===void 0?void 0:U.call(r,t.focusedKey)),T(A,g==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){D.preventDefault();let A=r.getFirstKey(t.focusedKey,Ju(D));t.setFocusedKey(A),Ju(D)&&D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&t.replaceSelection(A)}break;case"End":if(r.getLastKey){D.preventDefault();let A=r.getLastKey(t.focusedKey,Ju(D));t.setFocusedKey(A),Ju(D)&&D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&t.replaceSelection(A)}break;case"PageDown":if(r.getKeyPageBelow){D.preventDefault();let A=r.getKeyPageBelow(t.focusedKey);T(A)}break;case"PageUp":if(r.getKeyPageAbove){D.preventDefault();let A=r.getKeyPageAbove(t.focusedKey);T(A)}break;case"a":Ju(D)&&t.selectionMode==="multiple"&&s!==!0&&(D.preventDefault(),t.selectAll());break;case"Escape":D.preventDefault(),l||t.clearSelection();break;case"Tab":if(!f){if(D.shiftKey)n.current.focus();else{let A=ta(n.current,{tabbable:!0}),W,Q;do Q=A.lastChild(),Q&&(W=Q);while(Q);W&&!W.contains(document.activeElement)&&El(W)}break}}},y=O.useRef({top:0,left:0});HZ(p,"scroll",h?null:()=>{y.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let $=D=>{if(t.isFocused){D.currentTarget.contains(D.target)||t.setFocused(!1);return}if(D.currentTarget.contains(D.target)){if(t.setFocused(!0),t.focusedKey==null){let R=V=>{V!=null&&(t.setFocusedKey(V),u&&t.replaceSelection(V))},_=D.relatedTarget;var T,B;_&&D.currentTarget.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_FOLLOWING?R((T=t.lastSelectedKey)!==null&&T!==void 0?T:r.getLastKey()):R((B=t.firstSelectedKey)!==null&&B!==void 0?B:r.getFirstKey())}else h||(p.current.scrollTop=y.current.top,p.current.scrollLeft=y.current.left);if(!h&&t.focusedKey!=null){let R=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(R.contains(document.activeElement)||El(R),vs()==="keyboard"&&io(R,{containingElement:n.current}))}}},S=D=>{D.currentTarget.contains(D.relatedTarget)||t.setFocused(!1)};const k=O.useRef(i);O.useEffect(()=>{if(k.current){let D=null;i==="first"&&(D=r.getFirstKey()),i==="last"&&(D=r.getLastKey());let T=t.selectedKeys;if(T.size){for(let B of T)if(t.canSelectItem(B)){D=B;break}}t.setFocused(!0),t.setFocusedKey(D),D==null&&!d&&Rn(n.current)}},[]);let C=O.useRef(t.focusedKey);O.useEffect(()=>{let D=vs();if(t.isFocused&&t.focusedKey!=null&&(p!=null&&p.current)){let T=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);T&&(D==="keyboard"||k.current)&&(h||PR(p.current,T),io(T,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&C.current!=null&&Rn(n.current),C.current=t.focusedKey,k.current=!1},[h,p,t.focusedKey,t.isFocused,n]);let F={onKeyDown:v,onFocus:$,onBlur:S,onMouseDown(D){p.current===D.target&&D.preventDefault()}},{typeSelectProps:E}=CH({keyboardDelegate:r,selectionManager:t});c||(F=$e(E,F));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...F,tabIndex:M}}}function j1(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=Qh(),h=Z=>{if(Z.pointerType==="keyboard"&&ox(Z))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(d==="selection"){f.open(n.current,Z),t.setSelectedKeys(t.selectedKeys);return}else if(d==="override"||d==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):Z&&Z.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||Z&&(Ju(Z)||Z.pointerType==="touch"||Z.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};O.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(l?l():document.activeElement!==n.current&&Rn(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(r);let p={};!a&&!s?p={tabIndex:r===t.focusedKey?0:-1,onFocus(Z){Z.target===n.current&&t.setFocusedKey(r)}}:s&&(p.onMouseDown=Z=>{Z.preventDefault()});let m=t.isLink(r)&&d==="override",g=t.isLink(r)&&d!=="selection"&&d!=="none",b=!s&&t.canSelectItem(r)&&!m,v=(u||g)&&!s,y=v&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),$=v&&b&&t.selectionBehavior==="replace",S=y||$,k=O.useRef(null),C=S&&b,F=O.useRef(!1),E=O.useRef(!1),M=Z=>{u&&u(),g&&f.open(n.current,Z)},D={};i?(D.onPressStart=Z=>{k.current=Z.pointerType,F.current=C,Z.pointerType==="keyboard"&&(!S||C_())&&h(Z)},c?(D.onPressUp=y?null:Z=>{Z.pointerType!=="keyboard"&&b&&h(Z)},D.onPress=y?M:null):D.onPress=Z=>{if(y||$&&Z.pointerType!=="mouse"){if(Z.pointerType==="keyboard"&&!k_())return;M(Z)}else Z.pointerType!=="keyboard"&&b&&h(Z)}):(D.onPressStart=Z=>{k.current=Z.pointerType,F.current=C,E.current=y,b&&(Z.pointerType==="mouse"&&!y||Z.pointerType==="keyboard"&&(!v||C_()))&&h(Z)},D.onPress=Z=>{(Z.pointerType==="touch"||Z.pointerType==="pen"||Z.pointerType==="virtual"||Z.pointerType==="keyboard"&&S&&k_()||Z.pointerType==="mouse"&&E.current)&&(S?M(Z):b&&h(Z))}),p["data-key"]=r,D.preventFocusOnPress=a;let{pressProps:T,isPressed:B}=Vi(D),R=$?Z=>{k.current==="mouse"&&(Z.stopPropagation(),Z.preventDefault(),M(Z))}:void 0,{longPressProps:_}=sU({isDisabled:!C,onLongPress(Z){Z.pointerType==="touch"&&(h(Z),t.setSelectionBehavior("toggle"))}}),V=Z=>{k.current==="touch"&&F.current&&Z.preventDefault()},j=t.isLink(r)?Z=>{gs.isOpening||Z.preventDefault()}:void 0;return{itemProps:$e(p,b||y?T:{},C?_:{},{onDoubleClick:R,onDragStartCapture:V,onClick:j}),isPressed:B,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:s,allowsSelection:b,hasAction:S}}function k_(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function C_(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class jR{getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let i=this.getItem(t);if(!i)return null;let a=i.getBoundingClientRect();do t=r(t),i=this.getItem(t);while(i&&n(a,i.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!_g(r))return this.getFirstKey();let i=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let l=i.x-r.scrollLeft,s=Math.max(0,a.x-l+a.width-i.width);for(;n&&a.x-l>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}else{let l=i.y-r.scrollTop,s=Math.max(0,a.y-l+a.height-i.height);for(;n&&a.y-l>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!_g(r))return this.getLastKey();let i=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let l=i.x-r.scrollLeft,s=Math.min(r.scrollWidth,a.x-l-a.width+i.width);for(;n&&a.x-la||new jR(r,s==="selection"?new Set:n,i,l),[a,r,n,i,l,s]),{collectionProps:c}=zR({...e,ref:i,selectionManager:t,keyboardDelegate:u});return{listProps:c}}function age(e){return e&&e.__esModule?e.default:e}var PH={};PH={"ar-AE":Uq,"bg-BG":qq,"cs-CZ":Hq,"da-DK":Kq,"de-DE":Yq,"el-GR":Gq,"en-US":Xq,"es-ES":Jq,"et-EE":eH,"fi-FI":tH,"fr-FR":rH,"he-IL":nH,"hr-HR":iH,"hu-HU":aH,"it-IT":lH,"ja-JP":oH,"ko-KR":sH,"lt-LT":uH,"lv-LV":cH,"nb-NO":dH,"nl-NL":fH,"pl-PL":hH,"pt-BR":pH,"pt-PT":mH,"ro-RO":gH,"ru-RU":vH,"sk-SK":bH,"sl-SI":yH,"sr-SP":$H,"sv-SE":OH,"tr-TR":xH,"uk-UA":SH,"zh-CN":wH,"zh-TW":kH};function WR(e,t,r){let{type:n="menu",isDisabled:i,trigger:a="press"}=e,l=ir(),{triggerProps:s,overlayProps:u}=_R({type:n},t,r),c=p=>{if(!i&&!(a==="longPress"&&!p.altKey)&&r&&r.current)switch(p.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},d=lr(age(PH),"@react-aria/menu"),{longPressProps:f}=sU({isDisabled:i||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),h={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!i&&t.toggle(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!i&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?h:f,id:l,onKeyDown:c},menuProps:{...u,"aria-labelledby":l,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const FH=new WeakMap;function lge(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:a,...l}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let s=Kt(e,{labelable:!0}),{listProps:u}=EH({...l,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return FH.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:$e(s,{onKeyDown:i,onKeyUp:a},{role:"menu",...u,onKeyDown:c=>{c.key!=="Escape"&&u.onKeyDown(c)}})}}function oge(e,t,r){var n;let{key:i,closeOnSelect:a,isVirtualized:l,"aria-haspopup":s,onPressStart:u,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:h,onHoverStart:p,onHoverChange:m,onHoverEnd:g,onKeyDown:b,onKeyUp:v,onFocus:y,onFocusChange:$,onBlur:S}=e,k=!!s;var C;let F=(C=e.isDisabled)!==null&&C!==void 0?C:t.disabledKeys.has(i);var E;let M=(E=e.isSelected)!==null&&E!==void 0?E:t.selectionManager.isSelected(i),D=FH.get(t),T=e.onClose||D.onClose,B=k?()=>{}:e.onAction||D.onAction,R=Qh(),_=Te=>{B&&B(i),Te.target instanceof HTMLAnchorElement&&R.open(Te.target,Te)},V="menuitem";k||(t.selectionManager.selectionMode==="single"?V="menuitemradio":t.selectionManager.selectionMode==="multiple"&&(V="menuitemcheckbox"));let j=Rl(),Z=Rl(),q=Rl(),U={"aria-disabled":F||void 0,role:V,"aria-label":e["aria-label"],"aria-labelledby":j,"aria-describedby":[Z,q].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":s,"aria-expanded":e["aria-expanded"]};t.selectionManager.selectionMode!=="none"&&!k&&(U["aria-checked"]=M);let A=t.collection.getItem(i);l&&(U["aria-posinset"]=A==null?void 0:A.index,U["aria-setsize"]=wR(t.collection));let W=Te=>{Te.pointerType==="keyboard"&&_(Te),u==null||u(Te)},Q=Te=>{Te.pointerType!=="keyboard"&&(_(Te),!k&&T&&(a??(t.selectionManager.selectionMode!=="multiple"||t.selectionManager.isLink(i)))&&T()),c==null||c(Te)},{itemProps:I,isFocused:H}=j1({selectionManager:t.selectionManager,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:ee,isPressed:ue}=Vi({onPressStart:W,onPress:d,onPressUp:Q,onPressChange:f,onPressEnd:h,isDisabled:F}),{hoverProps:se}=Er({isDisabled:F,onHoverStart(Te){Oo()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i)),p==null||p(Te)},onHoverChange:m,onHoverEnd:g}),{keyboardProps:Ce}=_1({onKeyDown:Te=>{if(Te.repeat){Te.continuePropagation();return}switch(Te.key){case" ":!F&&t.selectionManager.selectionMode==="none"&&!k&&a!==!1&&T&&T();break;case"Enter":!F&&a!==!1&&!k&&T&&T();break;default:k||Te.continuePropagation(),b==null||b(Te);break}},onKeyUp:v}),{focusProps:tt}=Wh({onBlur:S,onFocus:y,onFocusChange:$}),Qe=Kt(A.props,{isLink:!!(!(A==null||(n=A.props)===null||n===void 0)&&n.href)});return delete Qe.id,{menuItemProps:{...U,...$e(Qe,k?{onFocus:I.onFocus}:I,ee,se,Ce,tt),tabIndex:I.tabIndex!=null?-1:void 0},labelProps:{id:j},descriptionProps:{id:Z},keyboardShortcutProps:{id:q},isFocused:H,isSelected:M,isPressed:ue,isDisabled:F}}function sge(e){let{heading:t,"aria-label":r}=e,n=ir();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}function Yh(e){let[t,r]=ca(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=O.useCallback(()=>{r(!0)},[r]),i=O.useCallback(()=>{r(!1)},[r]),a=O.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:i,toggle:a}}function uge(e){let t=Yh(e),[r,n]=O.useState(null),[i,a]=O.useState([]),l=()=>{a([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){l()},UNSTABLE_expandedKeysStack:i,UNSTABLE_openSubmenu:(c,d)=>{a(f=>d>f.length?f:[...f.slice(0,d),c])},UNSTABLE_closeSubmenu:(c,d)=>{a(f=>f[d]===c?f.slice(0,d):f)}}}var AH={};Object.defineProperty(AH,"__esModule",{value:!0});var cge=AH.ArrowDownSmall=DH,Ry=dge(O);function dge(e){return e&&e.__esModule?e:{default:e}}function sx(){return sx=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function hge(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function DH(e){var t=e.scale,r=t===void 0?"M":t,n=fge(e,["scale"]);return Ry.default.createElement("svg",sx({},n,n),r==="L"&&Ry.default.createElement("path",{d:"M9.99 7.01a1 1 0 0 0-1.707-.707L6 8.586V1.01a1 1 0 0 0-2 0v7.576L1.717 6.303A1 1 0 1 0 .303 7.717l3.99 3.98a1 1 0 0 0 1.414 0l3.99-3.98a.997.997 0 0 0 .293-.707z"}),r==="M"&&Ry.default.createElement("path",{d:"M7.99 6.01a1 1 0 0 0-1.707-.707L5 6.586V1a1 1 0 0 0-2 0v5.586L1.717 5.303A1 1 0 1 0 .303 6.717l2.99 2.98a1 1 0 0 0 1.414 0l2.99-2.98a.997.997 0 0 0 .293-.707z"}))}DH.displayName="ArrowDownSmall";function yv(e){return w.createElement(Ln,e,w.createElement(cge,null))}class Ua extends Set{constructor(t,r,n){super(t),t instanceof Ua?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function pge(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function ZR(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:a="all"}=e,l=O.useRef(!1),[,s]=O.useState(!1),u=O.useRef(null),c=O.useRef(null),[,d]=O.useState(null),f=O.useMemo(()=>E_(e.selectedKeys),[e.selectedKeys]),h=O.useMemo(()=>E_(e.defaultSelectedKeys,new Ua),[e.defaultSelectedKeys]),[p,m]=ca(f,h,e.onSelectionChange),g=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,v]=O.useState(i);i==="replace"&&b==="toggle"&&typeof p=="object"&&p.size===0&&v("replace");let y=O.useRef(i);return O.useEffect(()=>{i!==y.current&&(v(i),y.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:b,setSelectionBehavior:v,get isFocused(){return l.current},setFocused($){l.current=$,s($)},get focusedKey(){return u.current},get childFocusStrategy(){return c.current},setFocusedKey($,S="first"){u.current=$,c.current=S,d($)},selectedKeys:p,setSelectedKeys($){(n||!pge($,p))&&m($)},disabledKeys:g,disabledBehavior:a}}function E_(e,t){return e?e==="all"?"all":new Ua(e):t}class UR{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&gy(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&gy(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Ua([t],t,t);else{let n=this.state.selectedKeys,i=n.anchorKey||t;r=new Ua(n,i,t);for(let a of this.getKeyRange(i,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,i))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),i=this.collection.getItem(r);return n&&i?gy(this.collection,n,i)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],i=t;for(;i;){let a=this.collection.getItem(i);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(i),i===r)return n;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new Ua(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Ua([t],t,t):new Ua;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Ua;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let i=this.collection.getItem(n);i.type==="item"&&t.push(n),i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&r(lo(pr(i,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ua)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var i;this.allowsCellSelection=(i=n==null?void 0:n.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null}}class mge{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.iterable=t,r=r||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||r.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let i,a=0;for(let[l,s]of this.keyMap)i?(i.nextKey=l,s.prevKey=i.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),i=s,i.nextKey=void 0;this.lastKey=i==null?void 0:i.key}}function gge(e){let[t,r]=ca(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),n=ZR(e),i=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=SR(e,O.useCallback(s=>new mge(s,{expandedKeys:t}),[t]),null);return O.useEffect(()=>{n.focusedKey!=null&&!a.getItem(n.focusedKey)&&n.setFocusedKey(null)},[a,n.focusedKey]),{collection:a,expandedKeys:t,disabledKeys:i,toggleKey:s=>{r(vge(t,s))},setExpandedKeys:r,selectionManager:new UR(a,n)}}function vge(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var TH={};Object.defineProperty(TH,"__esModule",{value:!0});var bge=TH.CheckmarkMedium=RH,Iy=yge(O);function yge(e){return e&&e.__esModule?e:{default:e}}function ux(){return ux=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Oge(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function RH(e){var t=e.scale,r=t===void 0?"M":t,n=$ge(e,["scale"]);return Iy.default.createElement("svg",ux({},n,n),r==="L"&&Iy.default.createElement("path",{d:"M6 14a1 1 0 0 1-.789-.385l-4-5a1 1 0 1 1 1.577-1.23L6 11.376l7.213-8.99a1 1 0 1 1 1.576 1.23l-8 10a1 1 0 0 1-.789.384z"}),r==="M"&&Iy.default.createElement("path",{d:"M4.5 10a1.022 1.022 0 0 1-.799-.384l-2.488-3a1 1 0 0 1 1.576-1.233L4.5 7.376l4.712-5.991a1 1 0 1 1 1.576 1.23l-5.51 7A.978.978 0 0 1 4.5 10z"}))}RH.displayName="CheckmarkMedium";function W1(e){return w.createElement(Ln,e,w.createElement(bge,null))}var IH={};Object.defineProperty(IH,"__esModule",{value:!0});var xge=IH.A4uChevronLeft=wge,P_=Sge(O);function Sge(e){return e&&e.__esModule?e:{default:e}}function $v(){return $v=Object.assign?Object.assign.bind():function(e){for(var t=1;t`"${t}"`).join(` -`)}function xv(e){return/^max-content|min-content|minmax|auto|fit-content|repeat|subgrid/.test(e)?e:_t(e)}function A_(e){return Array.isArray(e)?e.map(xv).join(" "):xv(e)}const HR=O.forwardRef(Tge);var Z1={};qR(Z1,"flex",()=>cx,e=>cx=e);qR(Z1,"flex-container",()=>dx,e=>dx=e);qR(Z1,"flex-gap",()=>fx,e=>fx=e);var cx,dx,fx;cx="NW91UW_flex";dx="NW91UW_flex-container";fx="NW91UW_flex-gap";const Ige={direction:["flexDirection",vn],wrap:["flexWrap",Bge],justifyContent:["justifyContent",My],alignItems:["alignItems",My],alignContent:["alignContent",My]};function Mge(e,t){let{children:r,...n}=e,i=nU(),a=(i==null?void 0:i.matchedBreakpoints)||["base"],{styleProps:l}=Nt(n),{styleProps:s}=Nt(n,Ige),u=Xr(t),c={...l.style,...s.style};return e.gap!=null&&(c.gap=xy(e.gap,a)),e.columnGap!=null&&(c.columnGap=xy(e.columnGap,a)),e.rowGap!=null&&(c.rowGap=xy(e.rowGap,a)),w.createElement("div",{...Kt(n),className:z(Age(Z1),"flex",l.className),style:c,ref:u},r)}function My(e){return e==="start"?"flex-start":e==="end"?"flex-end":e}function Bge(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}const Ro=O.forwardRef(Mge);var BH={};Object.defineProperty(BH,"__esModule",{value:!0});var _ge=BH.A4uInfoOutline=Lge,D_=Nge(O);function Nge(e){return e&&e.__esModule?e:{default:e}}function Sv(){return Sv=Object.assign?Object.assign.bind():function(e){for(var t=1;thx,e=>hx=e);rt(Me,"chevron",()=>px,e=>px=e);rt(Me,"description",()=>mx,e=>mx=e);rt(Me,"end",()=>gx,e=>gx=e);rt(Me,"focus-ring",()=>vx,e=>vx=e);rt(Me,"i18nFontFamily",()=>bx,e=>bx=e);rt(Me,"icon",()=>yx,e=>yx=e);rt(Me,"is-active",()=>$x,e=>$x=e);rt(Me,"is-disabled",()=>Ox,e=>Ox=e);rt(Me,"is-expanded",()=>xx,e=>xx=e);rt(Me,"is-focused",()=>Sx,e=>Sx=e);rt(Me,"is-highlighted",()=>wx,e=>wx=e);rt(Me,"is-hovered",()=>kx,e=>kx=e);rt(Me,"is-open",()=>Cx,e=>Cx=e);rt(Me,"is-selectable",()=>Ex,e=>Ex=e);rt(Me,"is-selected",()=>Px,e=>Px=e);rt(Me,"keyboard",()=>Fx,e=>Fx=e);rt(Me,"spectrum-FocusRing-ring",()=>kv,e=>kv=e);rt(Me,"spectrum-FocusRing",()=>Ax,e=>Ax=e);rt(Me,"spectrum-FocusRing--quiet",()=>Dx,e=>Dx=e);rt(Me,"spectrum-Icon",()=>Tx,e=>Tx=e);rt(Me,"spectrum-Menu",()=>Rx,e=>Rx=e);rt(Me,"spectrum-Menu-avatar",()=>Ix,e=>Ix=e);rt(Me,"spectrum-Menu-checkmark",()=>Mx,e=>Mx=e);rt(Me,"spectrum-Menu-chevron",()=>Bx,e=>Bx=e);rt(Me,"spectrum-Menu-description",()=>_x,e=>_x=e);rt(Me,"spectrum-Menu-divider",()=>Nx,e=>Nx=e);rt(Me,"spectrum-Menu-end",()=>Lx,e=>Lx=e);rt(Me,"spectrum-Menu-icon",()=>Qx,e=>Qx=e);rt(Me,"spectrum-Menu-item",()=>Vx,e=>Vx=e);rt(Me,"spectrum-Menu-itemGrid",()=>zx,e=>zx=e);rt(Me,"spectrum-Menu-itemIcon",()=>jx,e=>jx=e);rt(Me,"spectrum-Menu-itemLabel",()=>Wx,e=>Wx=e);rt(Me,"spectrum-Menu-itemLabel--wrapping",()=>Zx,e=>Zx=e);rt(Me,"spectrum-Menu-keyboard",()=>Ux,e=>Ux=e);rt(Me,"spectrum-Menu-popover",()=>qx,e=>qx=e);rt(Me,"spectrum-Menu-section--isFirst",()=>Hx,e=>Hx=e);rt(Me,"spectrum-Menu-section--isLast",()=>Kx,e=>Kx=e);rt(Me,"spectrum-Menu-section--noHeading",()=>Yx,e=>Yx=e);rt(Me,"spectrum-Menu-sectionHeading",()=>Gx,e=>Gx=e);rt(Me,"spectrum-Menu-subdialog",()=>Xx,e=>Xx=e);rt(Me,"spectrum-Menu-wrapper",()=>Jx,e=>Jx=e);rt(Me,"spectrum-Menu-wrapper--isMobile",()=>eS,e=>eS=e);rt(Me,"spectrum-Submenu-heading",()=>tS,e=>tS=e);rt(Me,"spectrum-Submenu-headingWrapper",()=>rS,e=>rS=e);rt(Me,"spectrum-Submenu-popover",()=>nS,e=>nS=e);rt(Me,"spectrum-Submenu-wrapper",()=>iS,e=>iS=e);rt(Me,"text",()=>aS,e=>aS=e);var hx,px,mx,gx,vx,bx,yx,$x,Ox,xx,Sx,wx,kx,Cx,Ex,Px,Fx,kv,Ax,Dx,Tx,Rx,Ix,Mx,Bx,_x,Nx,Lx,Qx,Vx,zx,jx,Wx,Zx,Ux,qx,Hx,Kx,Yx,Gx,Xx,Jx,eS,tS,rS,nS,iS,aS;hx="Q7FggG_checkmark";px="Q7FggG_chevron";mx="Q7FggG_description";gx="Q7FggG_end";vx="Q7FggG_focus-ring";bx="Q7FggG_i18nFontFamily";yx="Q7FggG_icon";$x="Q7FggG_is-active";Ox="Q7FggG_is-disabled";xx="Q7FggG_is-expanded";Sx="Q7FggG_is-focused";wx="Q7FggG_is-highlighted";kx="Q7FggG_is-hovered";Cx="Q7FggG_is-open";Ex="Q7FggG_is-selectable";Px="Q7FggG_is-selected";Fx="Q7FggG_keyboard";kv="Q7FggG_spectrum-FocusRing-ring";Ax=`Q7FggG_spectrum-FocusRing ${kv}`;Dx="Q7FggG_spectrum-FocusRing--quiet";Tx="Q7FggG_spectrum-Icon";Rx="Q7FggG_spectrum-Menu";Ix="Q7FggG_spectrum-Menu-avatar";Mx="Q7FggG_spectrum-Menu-checkmark";Bx="Q7FggG_spectrum-Menu-chevron";_x="Q7FggG_spectrum-Menu-description";Nx="Q7FggG_spectrum-Menu-divider";Lx="Q7FggG_spectrum-Menu-end";Qx="Q7FggG_spectrum-Menu-icon";Vx="Q7FggG_spectrum-Menu-item";zx="Q7FggG_spectrum-Menu-itemGrid";jx="Q7FggG_spectrum-Menu-itemIcon";Wx="Q7FggG_spectrum-Menu-itemLabel";Zx="Q7FggG_spectrum-Menu-itemLabel--wrapping";Ux="Q7FggG_spectrum-Menu-keyboard";qx="Q7FggG_spectrum-Menu-popover";Hx="Q7FggG_spectrum-Menu-section--isFirst";Kx="Q7FggG_spectrum-Menu-section--isLast";Yx="Q7FggG_spectrum-Menu-section--noHeading";Gx="Q7FggG_spectrum-Menu-sectionHeading";Xx="Q7FggG_spectrum-Menu-subdialog";Jx="Q7FggG_spectrum-Menu-wrapper";eS="Q7FggG_spectrum-Menu-wrapper--isMobile";tS="Q7FggG_spectrum-Submenu-heading";rS="Q7FggG_spectrum-Submenu-headingWrapper";nS="Q7FggG_spectrum-Submenu-popover";iS="Q7FggG_spectrum-Submenu-wrapper";aS="Q7FggG_text";function qge(e,t){let r=O.useRef(),i=Xr(t)||r,a=O.useRef(),{children:l,align:s="start",shouldFlip:u=!0,direction:c="bottom",closeOnSelect:d,trigger:f="press"}=e,[h,p]=w.Children.toArray(l),m=uge(e),{menuTriggerProps:g,menuProps:b}=WR({trigger:f},m,i),v;switch(c){case"left":case"right":case"start":case"end":v=`${c} ${s==="end"?"bottom":"top"}`;break;case"bottom":case"top":default:v=`${c} ${s}`}let y=jh(),$={...b,ref:a,onClose:m.close,closeOnSelect:d,autoFocus:m.focusStrategy||!0,UNSAFE_style:y?{width:"100%",maxHeight:"inherit"}:void 0,UNSAFE_className:z(rn(Me),{"spectrum-Menu-popover":!y}),state:m},S;return y?S=w.createElement(z1,{state:m,isFixedHeight:!0},p):S=w.createElement(V1,{UNSAFE_style:{clipPath:"unset",overflow:"visible",filter:"unset",borderWidth:"0px"},state:m,triggerRef:i,scrollRef:a,placement:v,hideArrow:!0,shouldFlip:u},p),w.createElement(O.Fragment,null,w.createElement(Ma,{slots:{actionButton:{holdAffordance:f==="longPress"}}},w.createElement(I1,{...g,ref:i,isPressed:m.isOpen},h)),w.createElement(YR.Provider,{value:$},S))}let Hge=O.forwardRef(qge);var GR={};GR={"ar-AE":dq,"bg-BG":fq,"cs-CZ":hq,"da-DK":pq,"de-DE":mq,"el-GR":gq,"en-US":vq,"es-ES":bq,"et-EE":yq,"fi-FI":$q,"fr-FR":Oq,"he-IL":xq,"hr-HR":Sq,"hu-HU":wq,"it-IT":kq,"ja-JP":Cq,"ko-KR":Eq,"lt-LT":Pq,"lv-LV":Fq,"nb-NO":Aq,"nl-NL":Dq,"pl-PL":Tq,"pt-BR":Rq,"pt-PT":Iq,"ro-RO":Mq,"ru-RU":Bq,"sk-SK":_q,"sl-SI":Nq,"sr-SP":Lq,"sv-SE":Qq,"tr-TR":Vq,"uk-UA":zq,"zh-CN":jq,"zh-TW":Wq};function LH(e){let{item:t,state:r,isVirtualized:n,onAction:i}=e,{closeOnSelect:a}=jge(),{rendered:l,key:s}=t,u=lr(rn(GR),"@react-spectrum/menu"),{direction:c}=yr(),d=Zge(),{triggerRef:f,...h}=d||{},p=!!d,m,g=t.props.href?"a":"div";p&&(m=d.isUnavailable);let b=r.disabledKeys.has(s),v=!p&&r.selectionManager.selectionMode!=="none",y=v&&r.selectionManager.isSelected(s),$=O.useRef(null),S=ER(O.useMemo(()=>NZ($,f),[$,f])),{menuItemProps:k,labelProps:C,descriptionProps:F,keyboardShortcutProps:E}=oge({isSelected:y,isDisabled:b,"aria-label":t["aria-label"],key:s,closeOnSelect:a,isVirtualized:n,onAction:i,...h},r,S),M=Rl(),D={};M&&(D.id=M,k["aria-describedby"]=[k["aria-describedby"],M].filter(Boolean).join(" "));let T=typeof l=="string"?w.createElement(Hh,null,l):l;return w.createElement(_r,{focusRingClass:z(rn(Me),"focus-ring")},w.createElement(g,{...k,ref:S,className:z(rn(Me),"spectrum-Menu-item",{"is-disabled":b,"is-selected":y,"is-selectable":v,"is-open":h.isOpen})},w.createElement(HR,{UNSAFE_className:z(rn(Me),"spectrum-Menu-itemGrid")},w.createElement(R1,null,w.createElement(Ma,{slots:{text:{UNSAFE_className:rn(Me)["spectrum-Menu-itemLabel"],...C},end:{UNSAFE_className:rn(Me)["spectrum-Menu-end"],...D},icon:{UNSAFE_className:rn(Me)["spectrum-Menu-icon"],size:"S"},description:{UNSAFE_className:rn(Me)["spectrum-Menu-description"],...F},keyboard:{UNSAFE_className:rn(Me)["spectrum-Menu-keyboard"],...E},chevron:{UNSAFE_className:rn(Me)["spectrum-Menu-chevron"],size:"S"}}},T,y&&w.createElement(W1,{slot:"checkmark",UNSAFE_className:z(rn(Me),"spectrum-Menu-checkmark")}),m&&w.createElement(KR,{slot:"end",size:"XS",alignSelf:"center","aria-label":u.format("unavailable")}),m==null&&p&&(c==="rtl"?w.createElement(kge,{slot:"chevron"}):w.createElement(Fge,{slot:"chevron"})))))))}function Kge(e){var t;let{item:r,state:n,onAction:i}=e,{itemProps:a,headingProps:l,groupProps:s}=sge({heading:r.rendered,"aria-label":r["aria-label"]}),{separatorProps:u}=Qge({elementType:"div"}),c=n.collection.getFirstKey(),d=(t=[...n.collection].filter(p=>p.type==="section").at(-1))===null||t===void 0?void 0:t.key,f=c===r.key&&n.collection.getFirstKey()===c,h=d===r.key&&n.collection.getItem(n.collection.getLastKey()).parentKey===d;return w.createElement(O.Fragment,null,r.key!==n.collection.getFirstKey()&&w.createElement("div",{...u,className:z(rn(Me),"spectrum-Menu-divider")}),w.createElement("div",a,r.rendered&&w.createElement("span",{...l,className:z(rn(Me),"spectrum-Menu-sectionHeading")},r.rendered),w.createElement("div",{...s,className:z(rn(Me),"spectrum-Menu",{"spectrum-Menu-section--noHeading":r.rendered==null,"spectrum-Menu-section--isFirst":f,"spectrum-Menu-section--isLast":h})},[...pr(r,n.collection)].map(p=>{let m=w.createElement(LH,{key:p.key,item:p,state:n,onAction:i});return p.wrapper&&(m=p.wrapper(m)),m}))))}function Yge(e,t){let r=!0,n=O.useContext(YR),i=Uge(),{rootMenuTriggerState:a,state:l}=i||{rootMenuTriggerState:n.state};i||(r=!1);let s={...$e(n,e)},u=Xr(t),c=O.useRef(null),d=O.useRef(null),f=gge(s),h=O.useRef(null),{menuProps:p}=lge(s,f,u),{styleProps:m}=Nt(s);A1(n,u);let[g,b]=O.useState({left:0});O.useEffect(()=>{if(c.current){let{left:S}=c.current.getBoundingClientRect();b({left:-1*S})}},[]);var v;let y=(v=n.submenuLevel)!==null&&v!==void 0?v:-1,$=f.collection.getItem(a==null?void 0:a.UNSTABLE_expandedKeysStack[y+1])!=null;return w.createElement(NH.Provider,{value:{popoverContainerRef:c,trayContainerRef:d,menu:u,submenu:h,rootMenuTriggerState:a,state:f}},w.createElement("div",{style:{height:$?"100%":void 0},ref:d}),w.createElement(Zh,null,w.createElement(Gge,{onBackButtonPress:n.onBackButtonPress,hasOpenSubmenu:$,isSubmenu:r,parentMenuTreeState:l,rootMenuTriggerState:a},w.createElement("div",{...p,style:$e(m.style,p.style),ref:u,className:z(rn(Me),"spectrum-Menu",m.className)},[...f.collection].map(S=>{if(S.type==="section")return w.createElement(Kge,{key:S.key,item:S,state:f,onAction:s.onAction});let k=w.createElement(LH,{key:S.key,item:S,state:f,onAction:s.onAction});return S.wrapper&&(k=S.wrapper(k)),k}))),(a==null?void 0:a.isOpen)&&w.createElement("div",{ref:c,style:{width:"100vw",position:"absolute",top:-5,...g}})))}function Gge(e){var t;let{children:r,isSubmenu:n,hasOpenSubmenu:i,parentMenuTreeState:a,rootMenuTriggerState:l,onBackButtonPress:s,wrapperKeyDown:u}=e,c=lr(rn(GR),"@react-spectrum/menu"),d=a==null||(t=a.collection.getItem(l==null?void 0:l.UNSTABLE_expandedKeysStack.slice(-1)[0]))===null||t===void 0?void 0:t.textValue,f=c.format("backButton",{prevMenuButton:d}),h=Rl(),p=jh(),{direction:m}=yr();return w.createElement(w.Fragment,null,w.createElement("div",{role:h?"dialog":void 0,"aria-labelledby":h,"aria-hidden":p&&i,"data-testid":"menu-wrapper",className:z(rn(Me),"spectrum-Menu-wrapper",{"spectrum-Menu-wrapper--isMobile":p,"is-expanded":i})},w.createElement("div",{role:"presentation",className:z(rn(Me),"spectrum-Submenu-wrapper"),onKeyDown:u},p&&n&&!i&&w.createElement("div",{className:z(rn(Me),"spectrum-Submenu-headingWrapper")},w.createElement(xo,{"aria-label":f,isQuiet:!0,onPress:s},m==="rtl"?w.createElement(yv,{UNSAFE_style:{rotate:"270deg"}}):w.createElement(yv,{UNSAFE_style:{rotate:"90deg"}})),w.createElement("h1",{id:h,className:z(rn(Me),"spectrum-Submenu-heading")},d)),r)))}const Xge=w.forwardRef(Yge);var Gh={};rt(Gh,"react-spectrum-ContextualHelp-button",()=>lS,e=>lS=e);rt(Gh,"react-spectrum-ContextualHelp-content",()=>oS,e=>oS=e);rt(Gh,"react-spectrum-ContextualHelp-dialog",()=>sS,e=>sS=e);rt(Gh,"react-spectrum-ContextualHelp-dialog--isMobile",()=>uS,e=>uS=e);rt(Gh,"react-spectrum-ContextualHelp-footer",()=>cS,e=>cS=e);var lS,oS,sS,uS,cS;lS="L6gUaa_react-spectrum-ContextualHelp-button";oS="L6gUaa_react-spectrum-ContextualHelp-content";sS="L6gUaa_react-spectrum-ContextualHelp-dialog";uS="L6gUaa_react-spectrum-ContextualHelp-dialog--isMobile";cS="L6gUaa_react-spectrum-ContextualHelp-footer";class dS{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)r(l)};for(let a of t)r(a);let n,i=0;for(let[a,l]of this.keyMap)n?(n.nextKey=a,l.prevKey=n.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=i++),n=l,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function Jge(e){let{filter:t}=e,r=ZR(e),n=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=O.useCallback(c=>t?new dS(t(c)):new dS(c),[t]),a=O.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=SR(e,i,a),s=O.useMemo(()=>new UR(l,r),[l,r]);const u=O.useRef(null);return O.useEffect(()=>{if(r.focusedKey!=null&&!l.getItem(r.focusedKey)){const c=u.current.getItem(r.focusedKey),d=[...u.current.getKeys()].map(g=>{const b=u.current.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),f=[...l.getKeys()].map(g=>{const b=l.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),h=d.length-f.length;let p=Math.min(h>1?Math.max(c.index-h+1,0):c.index,f.length-1),m;for(;p>=0;){if(!s.isDisabled(f[p].key)){m=f[p];break}pc.index&&(p=c.index),p--)}r.setFocusedKey(m?m.key:null)}u.current=l},[l,s,r,r.focusedKey]),{collection:l,disabledKeys:n,selectionManager:s}}function QH(e){var t;let[r,n]=ca(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=O.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:l,selectionManager:s}=Jge({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:l,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:u}}var VH={};Object.defineProperty(VH,"__esModule",{value:!0});var zH=VH.AlertSmall=jH,By=eve(O);function eve(e){return e&&e.__esModule?e:{default:e}}function fS(){return fS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function rve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function jH(e){var t=e.scale,r=t===void 0?"M":t,n=tve(e,["scale"]);return By.default.createElement("svg",fS({},n,n),r==="L"&&By.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&By.default.createElement("path",{d:"M6.66 1.003L.157 12.643a.389.389 0 0 0 .339.58h13.01a.389.389 0 0 0 .34-.58L7.338 1.004a.389.389 0 0 0-.678 0zm1.118 10.47a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.195v-1.166a.194.194 0 0 1 .195-.195h1.166a.194.194 0 0 1 .195.195zm0-2.334a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.194V4.472a.194.194 0 0 1 .195-.194h1.166a.194.194 0 0 1 .195.194z"}))}jH.displayName="AlertSmall";const WH=e=>w.createElement("svg",Yc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M12.717 8.678 9 2.175C8.422 1.103 7.058.689 5.954 1.25a2.225 2.225 0 0 0-.95.92L1.278 8.687a2.198 2.198 0 0 0 .058 2.238A2.264 2.264 0 0 0 3.278 12h7.445a2.264 2.264 0 0 0 1.941-1.075 2.2 2.2 0 0 0 .053-2.247ZM6.133 4.133c0-.478.388-.866.866-.867.478 0 .867.388.868.866v3a.868.868 0 0 1-1.734.002V4.133ZM7 11.1c-.661 0-1.2-.538-1.2-1.2 0-.661.538-1.2 1.2-1.2.661 0 1.2.538 1.2 1.2 0 .661-.538 1.2-1.2 1.2Z"}));WH.displayName=zH.displayName;function nve(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(WH,null):w.createElement(zH,null))}var ZH={};Object.defineProperty(ZH,"__esModule",{value:!0});var UH=ZH.InfoSmall=qH,_y=ive(O);function ive(e){return e&&e.__esModule?e:{default:e}}function hS(){return hS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function lve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function qH(e){var t=e.scale,r=t===void 0?"M":t,n=ave(e,["scale"]);return _y.default.createElement("svg",hS({},n,n),r==="L"&&_y.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm-.15 2.15a1.359 1.359 0 0 1 1.431 1.283q.004.064.001.129A1.332 1.332 0 0 1 8.85 5.994a1.353 1.353 0 0 1-1.432-1.433 1.359 1.359 0 0 1 1.304-1.412q.064-.002.128.001zM11 13.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H8V9h-.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V12h.5a.5.5 0 0 1 .5.5z"}),r==="M"&&_y.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zM6.883 2.45a1.057 1.057 0 0 1 1.113.998q.003.05.001.1a1.036 1.036 0 0 1-1.114 1.114A1.052 1.052 0 0 1 5.77 3.547 1.057 1.057 0 0 1 6.784 2.45q.05-.002.1.001zm1.673 8.05a.389.389 0 0 1-.39.389H5.834a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h.388V7h-.389a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h1.555a.389.389 0 0 1 .389.39v3.5h.389a.389.389 0 0 1 .389.388z"}))}qH.displayName="InfoSmall";const HH=e=>w.createElement("svg",Yc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M7 1a6 6 0 1 0 6 6 6.007 6.007 0 0 0-6-6Zm.867 8.677a.868.868 0 0 1-1.734 0V7a.868.868 0 0 1 1.734 0v2.676ZM7 5.4c-.662 0-1.2-.538-1.2-1.2S6.338 3 7 3s1.2.539 1.2 1.2S7.662 5.4 7 5.4Z"}));HH.displayName=UH.displayName;function ove(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(HH,null):w.createElement(UH,null))}var KH={};Object.defineProperty(KH,"__esModule",{value:!0});var YH=KH.SuccessSmall=GH,Ny=sve(O);function sve(e){return e&&e.__esModule?e:{default:e}}function pS(){return pS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function GH(e){var t=e.scale,r=t===void 0?"M":t,n=uve(e,["scale"]);return Ny.default.createElement("svg",pS({},n,n),r==="L"&&Ny.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm5.333 4.54l-6.324 8.13a.6.6 0 0 1-.437.23h-.037a.6.6 0 0 1-.425-.176l-3.893-3.9a.6.6 0 0 1 0-.849l.663-.663a.6.6 0 0 1 .848 0L7.4 10.991l5.256-6.754a.6.6 0 0 1 .843-.1l.728.566a.6.6 0 0 1 .106.837z"}),r==="M"&&Ny.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zm4.148 3.53l-4.919 6.324a.467.467 0 0 1-.34.18h-.028a.467.467 0 0 1-.331-.138L2.502 7.641a.467.467 0 0 1 0-.66l.516-.516a.467.467 0 0 1 .66 0l2.078 2.084 4.088-5.254a.467.467 0 0 1 .655-.078l.566.44a.467.467 0 0 1 .083.652z"}))}GH.displayName="SuccessSmall";const XH=e=>w.createElement("svg",Yc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M11.523 3.057a6 6 0 1 0-9.046 7.887 6 6 0 0 0 9.046-7.887Zm-1.166 2.275L7.075 9.696a.867.867 0 0 1-.617.342l-.076.004a.864.864 0 0 1-.592-.235L3.55 7.704c-.17-.159-.266-.373-.274-.604s.077-.453.235-.621a.87.87 0 0 1 1.225-.04L6.27 7.881 8.973 4.29a.86.86 0 0 1 .693-.346.867.867 0 0 1 .692 1.388Z"}));XH.displayName=YH.displayName;function dve(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(XH,null):w.createElement(YH,null))}function fve(e,t){let r=Kt(e,{labelable:!0}),{hoverProps:n}=Er({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:$e(r,n,{role:"tooltip"})}}function hve(e,t,r){let{isDisabled:n,trigger:i}=e,a=ir(),l=O.useRef(!1),s=O.useRef(!1),u=()=>{(l.current||s.current)&&t.open(s.current)},c=v=>{!l.current&&!s.current&&t.close(v)};O.useEffect(()=>{let v=y=>{r&&r.current&&y.key==="Escape"&&(y.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[r,t]);let d=()=>{i!=="focus"&&(vs()==="pointer"?l.current=!0:l.current=!1,u())},f=()=>{i!=="focus"&&(s.current=!1,l.current=!1,c())},h=()=>{s.current=!1,l.current=!1,c(!0)},p=()=>{Oo()&&(s.current=!0,u())},m=()=>{s.current=!1,l.current=!1,c(!0)},{hoverProps:g}=Er({isDisabled:n,onHoverStart:d,onHoverEnd:f}),{focusableProps:b}=Ms({isDisabled:n,onFocus:p,onBlur:m},r);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...$e(b,g,{onPointerDown:h,onKeyDown:h})},tooltipProps:{id:a}}}const pve=1500,T_=500;let js={},mve=0,zd=!1,Gl=null,Ws=null;function gve(e={}){let{delay:t=pve,closeDelay:r=T_}=e,{isOpen:n,open:i,close:a}=Yh(e),l=O.useMemo(()=>`${++mve}`,[]),s=O.useRef(),u=()=>{js[l]=f},c=()=>{for(let p in js)p!==l&&(js[p](!0),delete js[p])},d=()=>{clearTimeout(s.current),s.current=null,c(),u(),zd=!0,i(),Gl&&(clearTimeout(Gl),Gl=null),Ws&&(clearTimeout(Ws),Ws=null)},f=p=>{p||r<=0?(clearTimeout(s.current),s.current=null,a()):s.current||(s.current=setTimeout(()=>{s.current=null,a()},r)),Gl&&(clearTimeout(Gl),Gl=null),zd&&(Ws&&clearTimeout(Ws),Ws=setTimeout(()=>{delete js[l],Ws=null,zd=!1},Math.max(T_,r)))},h=()=>{c(),u(),!n&&!Gl&&!zd?Gl=setTimeout(()=>{Gl=null,zd=!0,d()},t):n||d()};return O.useEffect(()=>()=>{clearTimeout(s.current),js[l]&&delete js[l]},[l]),{isOpen:n,open:p=>{!p&&t>0&&!s.current?h():d()},close:f}}function qp(e){return e&&e.__esModule?e.default:e}function Wt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Dt={};Wt(Dt,"focus-ring",()=>mS,e=>mS=e);Wt(Dt,"i18nFontFamily",()=>gS,e=>gS=e);Wt(Dt,"is-focused",()=>vS,e=>vS=e);Wt(Dt,"is-hovered",()=>bS,e=>bS=e);Wt(Dt,"spectrum-overlay--open",()=>Cv,e=>Cv=e);Wt(Dt,"is-open",()=>yS,e=>yS=e);Wt(Dt,"spectrum-overlay--bottom--open",()=>Ev,e=>Ev=e);Wt(Dt,"is-open--bottom",()=>$S,e=>$S=e);Wt(Dt,"spectrum-overlay--left--open",()=>Pv,e=>Pv=e);Wt(Dt,"is-open--left",()=>OS,e=>OS=e);Wt(Dt,"spectrum-overlay--right--open",()=>Fv,e=>Fv=e);Wt(Dt,"is-open--right",()=>xS,e=>xS=e);Wt(Dt,"spectrum-overlay--top--open",()=>Av,e=>Av=e);Wt(Dt,"is-open--top",()=>SS,e=>SS=e);Wt(Dt,"spectrum-FocusRing-ring",()=>Dv,e=>Dv=e);Wt(Dt,"spectrum-FocusRing",()=>wS,e=>wS=e);Wt(Dt,"spectrum-FocusRing--quiet",()=>kS,e=>kS=e);Wt(Dt,"spectrum-overlay",()=>Tv,e=>Tv=e);Wt(Dt,"spectrum-Tooltip",()=>CS,e=>CS=e);Wt(Dt,"spectrum-Tooltip--bottom",()=>ES,e=>ES=e);Wt(Dt,"spectrum-Tooltip--error",()=>PS,e=>PS=e);Wt(Dt,"spectrum-Tooltip--help",()=>FS,e=>FS=e);Wt(Dt,"spectrum-Tooltip--info",()=>AS,e=>AS=e);Wt(Dt,"spectrum-Tooltip--left",()=>DS,e=>DS=e);Wt(Dt,"spectrum-Tooltip--negative",()=>TS,e=>TS=e);Wt(Dt,"spectrum-Tooltip--positive",()=>RS,e=>RS=e);Wt(Dt,"spectrum-Tooltip--right",()=>IS,e=>IS=e);Wt(Dt,"spectrum-Tooltip--success",()=>MS,e=>MS=e);Wt(Dt,"spectrum-Tooltip--top",()=>BS,e=>BS=e);Wt(Dt,"spectrum-Tooltip-label",()=>_S,e=>_S=e);Wt(Dt,"spectrum-Tooltip-tip",()=>NS,e=>NS=e);Wt(Dt,"spectrum-Tooltip-typeIcon",()=>LS,e=>LS=e);Wt(Dt,"u-tooltip-showOnHover",()=>QS,e=>QS=e);var mS,gS,vS,bS,Cv,yS,Ev,$S,Pv,OS,Fv,xS,Av,SS,Dv,wS,kS,Tv,CS,ES,PS,FS,AS,DS,TS,RS,IS,MS,BS,_S,NS,LS,QS;mS="KF3Kcq_focus-ring";gS="KF3Kcq_i18nFontFamily";vS="KF3Kcq_is-focused";bS="KF3Kcq_is-hovered";Cv="KF3Kcq_spectrum-overlay--open";yS=`KF3Kcq_is-open ${Cv}`;Ev="KF3Kcq_spectrum-overlay--bottom--open";$S=`KF3Kcq_is-open--bottom ${Ev}`;Pv="KF3Kcq_spectrum-overlay--left--open";OS=`KF3Kcq_is-open--left ${Pv}`;Fv="KF3Kcq_spectrum-overlay--right--open";xS=`KF3Kcq_is-open--right ${Fv}`;Av="KF3Kcq_spectrum-overlay--top--open";SS=`KF3Kcq_is-open--top ${Av}`;Dv="KF3Kcq_spectrum-FocusRing-ring";wS=`KF3Kcq_spectrum-FocusRing ${Dv}`;kS="KF3Kcq_spectrum-FocusRing--quiet";Tv="KF3Kcq_spectrum-overlay";CS=`KF3Kcq_spectrum-Tooltip ${Tv}`;ES="KF3Kcq_spectrum-Tooltip--bottom";PS="KF3Kcq_spectrum-Tooltip--error";FS="KF3Kcq_spectrum-Tooltip--help";AS="KF3Kcq_spectrum-Tooltip--info";DS="KF3Kcq_spectrum-Tooltip--left";TS="KF3Kcq_spectrum-Tooltip--negative";RS="KF3Kcq_spectrum-Tooltip--positive";IS="KF3Kcq_spectrum-Tooltip--right";MS="KF3Kcq_spectrum-Tooltip--success";BS="KF3Kcq_spectrum-Tooltip--top";_S="KF3Kcq_spectrum-Tooltip-label";NS="KF3Kcq_spectrum-Tooltip-tip";LS="KF3Kcq_spectrum-Tooltip-typeIcon";QS="KF3Kcq_u-tooltip-showOnHover";const JH=w.createContext({});let vve={info:ove,positive:dve,negative:nve};function bve(e,t){let{ref:r,arrowProps:n,state:i,arrowRef:a,...l}=O.useContext(JH),s=O.useRef();r=r||s,e=$e(e,l);let{variant:u="neutral",placement:c="top",isOpen:d,showIcon:f,...h}=e,{styleProps:p}=Nt(h),{tooltipProps:m}=fve(e,i);O.useImperativeHandle(t,()=>FR(r));let g=vve[u];return w.createElement("div",{...p,...m,className:z(qp(Dt),"spectrum-Tooltip",`spectrum-Tooltip--${u}`,`spectrum-Tooltip--${c}`,{"is-open":d,[`is-open--${c}`]:d},p.className),ref:r},f&&u!=="neutral"&&w.createElement(g,{UNSAFE_className:z(qp(Dt),"spectrum-Tooltip-typeIcon"),"aria-hidden":!0}),e.children&&w.createElement("span",{className:z(qp(Dt),"spectrum-Tooltip-label")},e.children),w.createElement("span",{...n,ref:a,className:z(qp(Dt),"spectrum-Tooltip-tip")}))}let Rv=w.forwardRef(bve);const yve=-1,$ve=0;function VS(e){let{children:t,crossOffset:r=$ve,isDisabled:n,offset:i=yve,trigger:a}=e,[l,s]=w.Children.toArray(t),u=gve(e),c=O.useRef(),d=O.useRef(),{triggerProps:f,tooltipProps:h}=hve({isDisabled:n,trigger:a},u,c),[p,m]=O.useState(0);wt(()=>{if(d.current&&u.isOpen){let k=window.getComputedStyle(d.current).borderRadius;k!==""&&m(parseInt(k,10))}},[u.isOpen,d]);let g=O.useRef(null),[b,v]=O.useState(0);wt(()=>{g.current&&u.isOpen&&v(g.current.getBoundingClientRect().width)},[u.isOpen,g]);let{overlayProps:y,arrowProps:$,placement:S}=qU({placement:e.placement||"top",targetRef:c,overlayRef:d,offset:i,crossOffset:r,isOpen:u.isOpen,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,arrowSize:b,arrowBoundaryOffset:p});return w.createElement(Qpe,{...f,ref:c},l,w.createElement(JH.Provider,{value:{state:u,placement:S,ref:d,UNSAFE_style:y.style,arrowProps:$,arrowRef:g,...h}},w.createElement(Q1,{isOpen:u.isOpen,nodeRef:d},s)))}VS.getCollectionNode=function*(e){let t=[];w.Children.forEach(e.children,i=>{w.isValidElement(i)&&t.push(i)});let[r,n]=t;yield{element:r,wrapper:i=>w.createElement(VS,{key:i.key,...e},i,n)}};let Iv=VS;function Ove(e,t){let{elementType:r="a",onPress:n,onPressStart:i,onPressEnd:a,onClick:l,isDisabled:s,...u}=e,c={};r!=="a"&&(c={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=Ms(e,t),{pressProps:f,isPressed:h}=Vi({onPress:n,onPressStart:i,onPressEnd:a,isDisabled:s,ref:t}),p=Kt(u,{labelable:!0,isLink:r==="a"}),m=$e(d,f),g=Qh();return{isPressed:h,linkProps:$e(p,{...m,...c,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:b=>{var v;(v=f.onClick)===null||v===void 0||v.call(f,b),l&&(l(b),console.warn("onClick is deprecated, please use onPress")),!g.isNative&&b.currentTarget instanceof HTMLAnchorElement&&b.currentTarget.href&&!b.isDefaultPrevented()&&jZ(b.currentTarget,b)&&(b.preventDefault(),g.open(b.currentTarget,b))}})}}const eK=7e3;let Df=null;function Ac(e,t="assertive",r=eK){Df||(Df=new Sve),Df.announce(e,t,r)}function xve(e){Df&&Df.clear(e)}class Sve{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=eK){if(!this.node)return;let i=document.createElement("div");i.textContent=t,r==="assertive"?this.assertiveLog.appendChild(i):this.politeLog.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}var tK={};Object.defineProperty(tK,"__esModule",{value:!0});var wve=tK.CrossLarge=rK,Ly=kve(O);function kve(e){return e&&e.__esModule?e:{default:e}}function zS(){return zS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Eve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function rK(e){var t=e.scale,r=t===void 0?"M":t,n=Cve(e,["scale"]);return Ly.default.createElement("svg",zS({},n,n),r==="L"&&Ly.default.createElement("path",{d:"M15.697 14.283L9.414 8l6.283-6.283A1 1 0 1 0 14.283.303L8 6.586 1.717.303A1 1 0 1 0 .303 1.717L6.586 8 .303 14.283a1 1 0 1 0 1.414 1.414L8 9.414l6.283 6.283a1 1 0 1 0 1.414-1.414z"}),r==="M"&&Ly.default.createElement("path",{d:"M11.697 10.283L7.414 6l4.283-4.283A1 1 0 1 0 10.283.303L6 4.586 1.717.303A1 1 0 1 0 .303 1.717L4.586 6 .303 10.283a1 1 0 1 0 1.414 1.414L6 7.414l4.283 4.283a1 1 0 1 0 1.414-1.414z"}))}rK.displayName="CrossLarge";function Pve(e){return w.createElement(Ln,e,w.createElement(wve,null))}function R_(e){return e&&e.__esModule?e.default:e}function Xh(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var $u={};Xh($u,"spectrum-ButtonGroup",()=>jS,e=>jS=e);Xh($u,"spectrum-ButtonGroup--alignCenter",()=>WS,e=>WS=e);Xh($u,"spectrum-ButtonGroup--alignEnd",()=>ZS,e=>ZS=e);Xh($u,"spectrum-ButtonGroup--vertical",()=>US,e=>US=e);Xh($u,"spectrum-ButtonGroup-Button",()=>qS,e=>qS=e);var jS,WS,ZS,US,qS;jS="aaz5ma_spectrum-ButtonGroup";WS="aaz5ma_spectrum-ButtonGroup--alignCenter";ZS="aaz5ma_spectrum-ButtonGroup--alignEnd";US="aaz5ma_spectrum-ButtonGroup--vertical";qS="aaz5ma_spectrum-ButtonGroup-Button";function Fve(e,t){let{scale:r}=Gn();e=Fn(e),e=Ia(e,"buttonGroup");let{children:n,orientation:i="horizontal",isDisabled:a,align:l="start",...s}=e,{styleProps:u}=Nt(s),c=Xr(t),[d,f]=_Z(!1),h=O.useCallback(()=>{let m=()=>{if(c.current&&i==="horizontal"){let g=Array.from(c.current.children),b=c.current.offsetWidth+1;return!!g.some(v=>v.offsetLeft<0||v.offsetLeft+v.offsetWidth>b)}};i==="horizontal"&&f(function*(){yield!1,yield m()})},[c,i,r,f,n]);wt(()=>{h()},[h]);let p=O.useRef();return wt(()=>{c.current&&(p.current=c.current.parentElement)},[c.current]),Vh({ref:p,onResize:h}),w.createElement("div",{...Kt(s),...u,ref:c,className:z(R_($u),"spectrum-ButtonGroup",{"spectrum-ButtonGroup--vertical":i==="vertical"||d,"spectrum-ButtonGroup--alignEnd":l==="end","spectrum-ButtonGroup--alignCenter":l==="center"},u.className)},w.createElement(Ma,{slots:{button:{UNSAFE_className:z(R_($u),"spectrum-ButtonGroup-Button")}}},w.createElement(Kh,{isDisabled:a},n)))}let Ave=w.forwardRef(Fve);var nK={};nK={"(optional)":"(اختياري)","(required)":"(مطلوب)"};var iK={};iK={"(optional)":"(незадължително)","(required)":"(задължително)"};var aK={};aK={"(optional)":"(volitelně)","(required)":"(požadováno)"};var lK={};lK={"(optional)":"(valgfrit)","(required)":"(obligatorisk)"};var oK={};oK={"(optional)":"(optional)","(required)":"(erforderlich)"};var sK={};sK={"(optional)":"(προαιρετικό)","(required)":"(απαιτείται)"};var uK={};uK={"(required)":"(required)","(optional)":"(optional)"};var cK={};cK={"(optional)":"(opcional)","(required)":"(obligatorio)"};var dK={};dK={"(optional)":"(valikuline)","(required)":"(nõutav)"};var fK={};fK={"(optional)":"(valinnainen)","(required)":"(pakollinen)"};var hK={};hK={"(optional)":"(facultatif)","(required)":"(requis)"};var pK={};pK={"(optional)":"(אופציונלי)","(required)":"(נדרש)"};var mK={};mK={"(optional)":"(opcionalno)","(required)":"(obvezno)"};var gK={};gK={"(optional)":"(opcionális)","(required)":"(kötelező)"};var vK={};vK={"(optional)":"(facoltativo)","(required)":"(obbligatorio)"};var bK={};bK={"(optional)":"(オプション)","(required)":"(必須)"};var yK={};yK={"(optional)":"(선택 사항)","(required)":"(필수 사항)"};var $K={};$K={"(optional)":"(pasirenkama)","(required)":"(privaloma)"};var OK={};OK={"(optional)":"(neobligāti)","(required)":"(obligāti)"};var xK={};xK={"(optional)":"(valgfritt)","(required)":"(obligatorisk)"};var SK={};SK={"(optional)":"(optioneel)","(required)":"(vereist)"};var wK={};wK={"(optional)":"(opcjonalne)","(required)":"(wymagane)"};var kK={};kK={"(optional)":"(opcional)","(required)":"(obrigatório)"};var CK={};CK={"(optional)":"(opcional)","(required)":"(obrigatório)"};var EK={};EK={"(optional)":"(opţional)","(required)":"(obligatoriu)"};var PK={};PK={"(optional)":"(дополнительно)","(required)":"(обязательно)"};var FK={};FK={"(optional)":"(nepovinné)","(required)":"(povinné)"};var AK={};AK={"(optional)":"(opcijsko)","(required)":"(obvezno)"};var DK={};DK={"(optional)":"(opciono)","(required)":"(obavezno)"};var TK={};TK={"(optional)":"(valfritt)","(required)":"(krävs)"};var RK={};RK={"(optional)":"(isteğe bağlı)","(required)":"(gerekli)"};var IK={};IK={"(optional)":"(необов’язково)","(required)":"(обов’язково)"};var MK={};MK={"(optional)":"(可选)","(required)":"(必填)"};var BK={};BK={"(optional)":"(選填)","(required)":"(必填)"};const XR={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},_K={...XR,customError:!0,valid:!1},ec={isInvalid:!1,validationDetails:XR,validationErrors:[]},NK=O.createContext({}),dh="__formValidationState"+Date.now();function Bs(e){if(e[dh]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}=e[dh];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}}return Dve(e)}function Dve(e){let{isInvalid:t,validationState:r,name:n,value:i,builtinValidation:a,validate:l,validationBehavior:s="aria"}=e;r&&(t||(t=r==="invalid"));let u=t?{isInvalid:!0,validationErrors:[],validationDetails:_K}:null,c=O.useMemo(()=>I_(Tve(l,i)),[l,i]);a!=null&&a.validationDetails.valid&&(a=null);let d=O.useContext(NK),f=O.useMemo(()=>n?Array.isArray(n)?n.flatMap(D=>HS(d[D])):HS(d[n]):[],[d,n]),[h,p]=O.useState(d),[m,g]=O.useState(!1);d!==h&&(p(d),g(!1));let b=O.useMemo(()=>I_(m?[]:f),[m,f]),v=O.useRef(ec),[y,$]=O.useState(ec),S=O.useRef(ec),k=()=>{if(!C)return;F(!1);let D=c||a||v.current;Qy(D,S.current)||(S.current=D,$(D))},[C,F]=O.useState(!1);return O.useEffect(k),{realtimeValidation:u||b||c||a||ec,displayValidation:s==="native"?u||b||y:u||b||c||a||y,updateValidation(D){s==="aria"&&!Qy(y,D)?$(D):v.current=D},resetValidation(){let D=ec;Qy(D,S.current)||(S.current=D,$(D)),s==="native"&&F(!1),g(!0)},commitValidation(){s==="native"&&F(!0),g(!0)}}}function HS(e){return e?Array.isArray(e)?e:[e]:[]}function Tve(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return HS(r)}return[]}function I_(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:_K}:null}function Qy(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function Rve(...e){let t=new Set,r=!1,n={...XR};for(let l of e){var i,a;for(let s of l.validationErrors)t.add(s);r||(r=l.isInvalid);for(let s in n)(i=n)[a=s]||(i[a]=l.validationDetails[s])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function Ive(e){return e&&e.__esModule?e.default:e}function or(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Xt={};or(Xt,"contextualHelp",()=>KS,e=>KS=e);or(Xt,"field",()=>YS,e=>YS=e);or(Xt,"focus-ring",()=>GS,e=>GS=e);or(Xt,"helpText",()=>XS,e=>XS=e);or(Xt,"i18nFontFamily",()=>JS,e=>JS=e);or(Xt,"is-disabled",()=>e6,e=>e6=e);or(Xt,"label",()=>t6,e=>t6=e);or(Xt,"spectrum-Field",()=>r6,e=>r6=e);or(Xt,"spectrum-Field--alignEnd",()=>n6,e=>n6=e);or(Xt,"spectrum-Field--hasContextualHelp",()=>i6,e=>i6=e);or(Xt,"spectrum-Field--positionSide",()=>a6,e=>a6=e);or(Xt,"spectrum-Field--positionTop",()=>l6,e=>l6=e);or(Xt,"spectrum-Field-contextualHelp",()=>o6,e=>o6=e);or(Xt,"spectrum-Field-field",()=>s6,e=>s6=e);or(Xt,"spectrum-Field-labelCell",()=>u6,e=>u6=e);or(Xt,"spectrum-Field-labelWrapper",()=>c6,e=>c6=e);or(Xt,"spectrum-Field-wrapper",()=>d6,e=>d6=e);or(Xt,"spectrum-FieldLabel",()=>f6,e=>f6=e);or(Xt,"spectrum-FieldLabel--alignEnd",()=>h6,e=>h6=e);or(Xt,"spectrum-FieldLabel--positionSide",()=>p6,e=>p6=e);or(Xt,"spectrum-FieldLabel-requiredIcon",()=>m6,e=>m6=e);or(Xt,"spectrum-FocusRing-ring",()=>Mv,e=>Mv=e);or(Xt,"spectrum-FocusRing",()=>g6,e=>g6=e);or(Xt,"spectrum-FocusRing--quiet",()=>v6,e=>v6=e);or(Xt,"spectrum-Form",()=>b6,e=>b6=e);or(Xt,"spectrum-Form--positionSide",()=>y6,e=>y6=e);or(Xt,"spectrum-Form--positionTop",()=>$6,e=>$6=e);or(Xt,"spectrum-Form-itemLabel",()=>O6,e=>O6=e);or(Xt,"spectrum-LabeledValue",()=>x6,e=>x6=e);var KS,YS,GS,XS,JS,e6,t6,r6,n6,i6,a6,l6,o6,s6,u6,c6,d6,f6,h6,p6,m6,Mv,g6,v6,b6,y6,$6,O6,x6;KS="A-HlBa_contextualHelp";YS="A-HlBa_field";GS="A-HlBa_focus-ring";XS="A-HlBa_helpText";JS="A-HlBa_i18nFontFamily";e6="A-HlBa_is-disabled";t6="A-HlBa_label";r6="A-HlBa_spectrum-Field";n6="A-HlBa_spectrum-Field--alignEnd";i6="A-HlBa_spectrum-Field--hasContextualHelp";a6="A-HlBa_spectrum-Field--positionSide";l6="A-HlBa_spectrum-Field--positionTop";o6="A-HlBa_spectrum-Field-contextualHelp";s6="A-HlBa_spectrum-Field-field";u6="A-HlBa_spectrum-Field-labelCell";c6="A-HlBa_spectrum-Field-labelWrapper";d6="A-HlBa_spectrum-Field-wrapper";f6="A-HlBa_spectrum-FieldLabel";h6="A-HlBa_spectrum-FieldLabel--alignEnd";p6="A-HlBa_spectrum-FieldLabel--positionSide";m6="A-HlBa_spectrum-FieldLabel-requiredIcon";Mv="A-HlBa_spectrum-FocusRing-ring";g6=`A-HlBa_spectrum-FocusRing ${Mv}`;v6="A-HlBa_spectrum-FocusRing--quiet";b6="A-HlBa_spectrum-Form";y6="A-HlBa_spectrum-Form--positionSide";$6="A-HlBa_spectrum-Form--positionTop";O6="A-HlBa_spectrum-Form-itemLabel";x6="A-HlBa_spectrum-LabeledValue";let LK=w.createContext(null);function Io(e){let t=O.useContext(LK);return t?{...t,...e}:e}const Mve=new Set(["action","autoComplete","encType","method","target","onSubmit","onReset","onInvalid"]);function Bve(e,t){e=Fn(e);let{children:r,labelPosition:n="top",labelAlign:i="start",isRequired:a,necessityIndicator:l,isQuiet:s,isEmphasized:u,isDisabled:c,isReadOnly:d,validationState:f,validationBehavior:h,validationErrors:p,...m}=e,{styleProps:g}=Nt(m),b=Xr(t),v={labelPosition:n,labelAlign:i,necessityIndicator:l,validationBehavior:h};return w.createElement("form",{...Kt(m,{labelable:!0,propNames:Mve}),...g,noValidate:h!=="native",ref:b,className:z(Ive(Xt),"spectrum-Form",{"spectrum-Form--positionSide":n==="side","spectrum-Form--positionTop":n==="top"},g.className)},w.createElement(LK.Provider,{value:v},w.createElement(Kh,{isQuiet:s,isEmphasized:u,isDisabled:c,isReadOnly:d,isRequired:a,validationState:f},w.createElement(NK.Provider,{value:p||{}},r))))}const _ve=w.forwardRef(Bve);var QK={};Object.defineProperty(QK,"__esModule",{value:!0});var VK=QK.AlertMedium=zK,Vy=Nve(O);function Nve(e){return e&&e.__esModule?e:{default:e}}function S6(){return S6=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Qve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function zK(e){var t=e.scale,r=t===void 0?"M":t,n=Lve(e,["scale"]);return Vy.default.createElement("svg",S6({},n,n),r==="L"&&Vy.default.createElement("path",{d:"M10.563 2.206l-9.249 16.55a.5.5 0 0 0 .436.744h18.5a.5.5 0 0 0 .436-.744l-9.251-16.55a.5.5 0 0 0-.872 0zm1.436 15.044a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&Vy.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}))}zK.displayName="AlertMedium";const jK=e=>w.createElement("svg",Yc({viewBox:"0 0 18 18"},e),w.createElement("path",{d:"M9 10.5a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v4.5a1 1 0 0 1-1 1Zm0 1.25A1.25 1.25 0 1 0 10.25 13 1.25 1.25 0 0 0 9 11.75Zm8.497 3.589a3.49 3.49 0 0 0 .079-3.474L12 1.815a3.385 3.385 0 0 0-5.994-.007L.416 11.88a3.485 3.485 0 0 0 .089 3.459A3.375 3.375 0 0 0 3.416 17h11.169a3.375 3.375 0 0 0 2.912-1.661ZM10.244 2.77l5.575 10.05a1.497 1.497 0 0 1-.037 1.489 1.374 1.374 0 0 1-1.197.69H3.416a1.374 1.374 0 0 1-1.197-.69 1.493 1.493 0 0 1-.046-1.474l5.593-10.08a1.386 1.386 0 0 1 2.478.015Z"}));jK.displayName=VK.displayName;function U1(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(jK,null):w.createElement(VK,null))}var WK={};Object.defineProperty(WK,"__esModule",{value:!0});var Vve=WK.Asterisk=ZK,zy=zve(O);function zve(e){return e&&e.__esModule?e:{default:e}}function w6(){return w6=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Wve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function ZK(e){var t=e.scale,r=t===void 0?"M":t,n=jve(e,["scale"]);return zy.default.createElement("svg",w6({},n,n),r==="L"&&zy.default.createElement("path",{d:"M7.867 7.872c.061.062.103.145 0 .228l-1.283.827c-.104.061-.145.02-.186-.083L4.804 6.07l-2.09 2.297c-.021.042-.083.083-.145 0l-.994-1.035c-.103-.062-.082-.124 0-.186l2.36-1.966-2.691-1.014c-.042 0-.104-.083-.062-.186l.703-1.41a.11.11 0 0 1 .187-.04L4.43 4.06l.145-3.02A.109.109 0 0 1 4.7.917l1.718.227c.104 0 .124.042.104.145l-.808 2.96 2.734-.828c.061-.042.124-.042.165.082l.27 1.532c.02.103 0 .145-.084.145l-2.856.227z"}),r==="M"&&zy.default.createElement("path",{d:"M6.573 6.558c.056.055.092.13 0 .204l-1.148.74c-.093.056-.13.02-.167-.073L3.832 4.947l-1.87 2.055c-.02.037-.075.074-.13 0l-.889-.926c-.092-.055-.074-.111 0-.167l2.111-1.76-2.408-.906c-.037 0-.092-.074-.055-.167l.63-1.259a.097.097 0 0 1 .166-.036l2.111 1.37.13-2.704a.097.097 0 0 1 .111-.11L5.277.54c.092 0 .11.037.092.13l-.722 2.647 2.444-.74c.056-.038.111-.038.148.073l.241 1.37c.019.093 0 .13-.074.13l-2.556.204z"}))}ZK.displayName="Asterisk";function Zve(e){return w.createElement(Ln,e,w.createElement(Vve,null))}function Ri(e){return e&&e.__esModule?e.default:e}function Et(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var bi={};Et(bi,"focus-ring",()=>k6,e=>k6=e);Et(bi,"i18nFontFamily",()=>C6,e=>C6=e);Et(bi,"is-disabled",()=>E6,e=>E6=e);Et(bi,"spectrum-FocusRing-ring",()=>Bv,e=>Bv=e);Et(bi,"spectrum-FocusRing",()=>P6,e=>P6=e);Et(bi,"spectrum-FocusRing--quiet",()=>F6,e=>F6=e);Et(bi,"spectrum-HelpText",()=>A6,e=>A6=e);Et(bi,"spectrum-HelpText--negative",()=>D6,e=>D6=e);Et(bi,"spectrum-HelpText--neutral",()=>T6,e=>T6=e);Et(bi,"spectrum-HelpText-text",()=>R6,e=>R6=e);Et(bi,"spectrum-HelpText-validationIcon",()=>I6,e=>I6=e);var k6,C6,E6,Bv,P6,F6,A6,D6,T6,R6,I6;k6="a1Qy2q_focus-ring";C6="a1Qy2q_i18nFontFamily";E6="a1Qy2q_is-disabled";Bv="a1Qy2q_spectrum-FocusRing-ring";P6=`a1Qy2q_spectrum-FocusRing ${Bv}`;F6="a1Qy2q_spectrum-FocusRing--quiet";A6="a1Qy2q_spectrum-HelpText";D6="a1Qy2q_spectrum-HelpText--negative";T6="a1Qy2q_spectrum-HelpText--neutral";R6="a1Qy2q_spectrum-HelpText-text";I6="a1Qy2q_spectrum-HelpText-validationIcon";function Uve(e,t){let{description:r,errorMessage:n,validationState:i,isInvalid:a,isDisabled:l,showErrorIcon:s,descriptionProps:u,errorMessageProps:c}=e,d=Xr(t),f=n&&(a||i==="invalid"),{styleProps:h}=Nt(e);return w.createElement("div",{...h,className:z(Ri(bi),"spectrum-HelpText",`spectrum-HelpText--${f?"negative":"neutral"}`,{"is-disabled":l},h.className),ref:d},f?w.createElement(w.Fragment,null,s&&w.createElement(U1,{UNSAFE_className:z(Ri(bi),"spectrum-HelpText-validationIcon")}),w.createElement("div",{...c,className:z(Ri(bi),"spectrum-HelpText-text")},n)):w.createElement("div",{...u,className:z(Ri(bi),"spectrum-HelpText-text")},r))}const qve=w.forwardRef(Uve);var UK={};UK={"ar-AE":nK,"bg-BG":iK,"cs-CZ":aK,"da-DK":lK,"de-DE":oK,"el-GR":sK,"en-US":uK,"es-ES":cK,"et-EE":dK,"fi-FI":fK,"fr-FR":hK,"he-IL":pK,"hr-HR":mK,"hu-HU":gK,"it-IT":vK,"ja-JP":bK,"ko-KR":yK,"lt-LT":$K,"lv-LV":OK,"nb-NO":xK,"nl-NL":SK,"pl-PL":wK,"pt-BR":kK,"pt-PT":CK,"ro-RO":EK,"ru-RU":PK,"sk-SK":FK,"sl-SI":AK,"sr-SP":DK,"sv-SE":TK,"tr-TR":RK,"uk-UA":IK,"zh-CN":MK,"zh-TW":BK};var Pt={};Et(Pt,"contextualHelp",()=>M6,e=>M6=e);Et(Pt,"field",()=>B6,e=>B6=e);Et(Pt,"focus-ring",()=>_6,e=>_6=e);Et(Pt,"helpText",()=>N6,e=>N6=e);Et(Pt,"i18nFontFamily",()=>L6,e=>L6=e);Et(Pt,"is-disabled",()=>Q6,e=>Q6=e);Et(Pt,"label",()=>V6,e=>V6=e);Et(Pt,"spectrum-Field",()=>z6,e=>z6=e);Et(Pt,"spectrum-Field--alignEnd",()=>j6,e=>j6=e);Et(Pt,"spectrum-Field--hasContextualHelp",()=>W6,e=>W6=e);Et(Pt,"spectrum-Field--positionSide",()=>Z6,e=>Z6=e);Et(Pt,"spectrum-Field--positionTop",()=>U6,e=>U6=e);Et(Pt,"spectrum-Field-contextualHelp",()=>q6,e=>q6=e);Et(Pt,"spectrum-Field-field",()=>H6,e=>H6=e);Et(Pt,"spectrum-Field-labelCell",()=>K6,e=>K6=e);Et(Pt,"spectrum-Field-labelWrapper",()=>Y6,e=>Y6=e);Et(Pt,"spectrum-Field-wrapper",()=>G6,e=>G6=e);Et(Pt,"spectrum-FieldLabel",()=>X6,e=>X6=e);Et(Pt,"spectrum-FieldLabel--alignEnd",()=>J6,e=>J6=e);Et(Pt,"spectrum-FieldLabel--positionSide",()=>ew,e=>ew=e);Et(Pt,"spectrum-FieldLabel-requiredIcon",()=>tw,e=>tw=e);Et(Pt,"spectrum-FocusRing-ring",()=>_v,e=>_v=e);Et(Pt,"spectrum-FocusRing",()=>rw,e=>rw=e);Et(Pt,"spectrum-FocusRing--quiet",()=>nw,e=>nw=e);Et(Pt,"spectrum-Form",()=>iw,e=>iw=e);Et(Pt,"spectrum-Form--positionSide",()=>aw,e=>aw=e);Et(Pt,"spectrum-Form--positionTop",()=>lw,e=>lw=e);Et(Pt,"spectrum-Form-itemLabel",()=>ow,e=>ow=e);Et(Pt,"spectrum-LabeledValue",()=>sw,e=>sw=e);var M6,B6,_6,N6,L6,Q6,V6,z6,j6,W6,Z6,U6,q6,H6,K6,Y6,G6,X6,J6,ew,tw,_v,rw,nw,iw,aw,lw,ow,sw;M6="A-HlBa_contextualHelp";B6="A-HlBa_field";_6="A-HlBa_focus-ring";N6="A-HlBa_helpText";L6="A-HlBa_i18nFontFamily";Q6="A-HlBa_is-disabled";V6="A-HlBa_label";z6="A-HlBa_spectrum-Field";j6="A-HlBa_spectrum-Field--alignEnd";W6="A-HlBa_spectrum-Field--hasContextualHelp";Z6="A-HlBa_spectrum-Field--positionSide";U6="A-HlBa_spectrum-Field--positionTop";q6="A-HlBa_spectrum-Field-contextualHelp";H6="A-HlBa_spectrum-Field-field";K6="A-HlBa_spectrum-Field-labelCell";Y6="A-HlBa_spectrum-Field-labelWrapper";G6="A-HlBa_spectrum-Field-wrapper";X6="A-HlBa_spectrum-FieldLabel";J6="A-HlBa_spectrum-FieldLabel--alignEnd";ew="A-HlBa_spectrum-FieldLabel--positionSide";tw="A-HlBa_spectrum-FieldLabel-requiredIcon";_v="A-HlBa_spectrum-FocusRing-ring";rw=`A-HlBa_spectrum-FocusRing ${_v}`;nw="A-HlBa_spectrum-FocusRing--quiet";iw="A-HlBa_spectrum-Form";aw="A-HlBa_spectrum-Form--positionSide";lw="A-HlBa_spectrum-Form--positionTop";ow="A-HlBa_spectrum-Form-itemLabel";sw="A-HlBa_spectrum-LabeledValue";function Hve(e,t){e=Fn(e);let{children:r,labelPosition:n="top",labelAlign:i=n==="side"?"start":null,isRequired:a,necessityIndicator:l=a!=null?"icon":null,includeNecessityIndicatorInAccessibilityName:s=!1,htmlFor:u,for:c,elementType:d="label",onClick:f,...h}=e,p=Xr(t),{styleProps:m}=Nt(h),g=lr(Ri(UK),"@react-spectrum/label"),b=a?g.format("(required)"):g.format("(optional)"),v=w.createElement(Zve,{UNSAFE_className:z(Ri(Pt),"spectrum-FieldLabel-requiredIcon"),"aria-label":s?g.format("(required)"):void 0}),y=z(Ri(Pt),"spectrum-FieldLabel",{"spectrum-FieldLabel--positionSide":n==="side","spectrum-FieldLabel--alignEnd":i==="end"},m.className);return w.createElement(d,{...Kt(h),...m,onClick:f,ref:p,className:y,htmlFor:d==="label"?c||u:void 0},r,(l==="label"||l==="icon"&&a)&&" ​",l==="label"&&w.createElement("span",{"aria-hidden":s?void 0:a},b),l==="icon"&&a&&v)}let Kve=w.forwardRef(Hve);function Yve(e,t){let r=Io(e),n=r!==e;e=r;let{label:i,labelPosition:a="top",labelAlign:l,isRequired:s,necessityIndicator:u,includeNecessityIndicatorInAccessibilityName:c,validationState:d,isInvalid:f,description:h,errorMessage:p=A=>A.validationErrors.join(" "),validationErrors:m,validationDetails:g,isDisabled:b,showErrorIcon:v,contextualHelp:y,children:$,labelProps:S={},descriptionProps:k={},errorMessageProps:C={},elementType:F,wrapperClassName:E,wrapperProps:M={},...D}=e,{styleProps:T}=Nt(D),B=null;typeof p=="function"?B=f!=null&&m!=null&&g!=null?p({isInvalid:f,validationErrors:m,validationDetails:g}):null:B=p;let R=!!h||B&&(f||d==="invalid"),_=ir(),V=ir();i&&y&&!S.id&&(S.id=V);let j=z(Ri(Pt),"spectrum-Field",{"spectrum-Field--positionTop":a==="top","spectrum-Field--positionSide":a==="side","spectrum-Field--alignEnd":l==="end","spectrum-Field--hasContextualHelp":!!e.contextualHelp},T.className,E);$=w.cloneElement($,$e($.props,{className:z(Ri(Pt),"spectrum-Field-field")}));let Z=()=>w.createElement(qve,{descriptionProps:k,errorMessageProps:C,description:h,errorMessage:B,validationState:d,isInvalid:f,isDisabled:b,showErrorIcon:v,gridArea:Ri(Pt).helpText}),q=()=>a==="side"?w.createElement(Ro,{direction:"column",UNSAFE_className:z(Ri(Pt),"spectrum-Field-wrapper")},$,R&&Z()):w.createElement(w.Fragment,null,$,R&&Z()),U=w.createElement(w.Fragment,null,i&&w.createElement(Kve,{...S,labelPosition:a,labelAlign:l,isRequired:s,necessityIndicator:u,includeNecessityIndicatorInAccessibilityName:c,elementType:F},i),i&&y&&w.createElement(Ma,{slots:{actionButton:{UNSAFE_className:z(Ri(Pt),"spectrum-Field-contextualHelp"),id:_,"aria-labelledby":S!=null&&S.id?`${S.id} ${_}`:void 0}}},y));return n&&a==="side"&&i&&y&&(U=w.createElement("div",{className:z(Ri(Pt),"spectrum-Field-labelCell")},w.createElement("div",{className:z(Ri(Pt),"spectrum-Field-labelWrapper")},U))),w.createElement("div",{...T,...M,ref:t,className:j},U,q())}let Mu=w.forwardRef(Yve);var qK={};Object.defineProperty(qK,"__esModule",{value:!0});var Gve=qK.CheckmarkSmall=HK,jy=Xve(O);function Xve(e){return e&&e.__esModule?e:{default:e}}function uw(){return uw=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function e0e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function HK(e){var t=e.scale,r=t===void 0?"M":t,n=Jve(e,["scale"]);return jy.default.createElement("svg",uw({},n,n),r==="L"&&jy.default.createElement("path",{d:"M4.5 11a.999.999 0 0 1-.788-.385l-3-4a1 1 0 1 1 1.576-1.23L4.5 8.376l5.212-6.99a1 1 0 1 1 1.576 1.23l-6 8A.999.999 0 0 1 4.5 11z"}),r==="M"&&jy.default.createElement("path",{d:"M3.788 9A.999.999 0 0 1 3 8.615l-2.288-3a1 1 0 1 1 1.576-1.23l1.5 1.991 3.924-4.991a1 1 0 1 1 1.576 1.23l-4.712 6A.999.999 0 0 1 3.788 9z"}))}HK.displayName="CheckmarkSmall";function t0e(e){return w.createElement(Ln,e,w.createElement(Gve,null))}var KK={};Object.defineProperty(KK,"__esModule",{value:!0});var r0e=KK.DashSmall=YK,Wy=n0e(O);function n0e(e){return e&&e.__esModule?e:{default:e}}function cw(){return cw=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function a0e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function YK(e){var t=e.scale,r=t===void 0?"M":t,n=i0e(e,["scale"]);return Wy.default.createElement("svg",cw({},n,n),r==="L"&&Wy.default.createElement("path",{d:"M10.99 5H1.01a1 1 0 0 0 0 2h9.98a1 1 0 1 0 0-2z"}),r==="M"&&Wy.default.createElement("path",{d:"M8 4H2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2z"}))}YK.displayName="DashSmall";function l0e(e){return w.createElement(Ln,e,w.createElement(r0e,null))}function Jh(e,t,r){let{validationBehavior:n,focus:i}=e;wt(()=>{if(n==="native"&&(r!=null&&r.current)){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(s0e(r.current))}});let a=Qr(()=>{t.resetValidation()}),l=Qr(u=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!u.defaultPrevented&&r&&d&&u0e(d)===r.current){var f;i?i():(f=r.current)===null||f===void 0||f.focus(),B1("keyboard")}u.preventDefault()}),s=Qr(()=>{t.commitValidation()});O.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let c=u.form;return u.addEventListener("invalid",l),u.addEventListener("change",s),c==null||c.addEventListener("reset",a),()=>{u.removeEventListener("invalid",l),u.removeEventListener("change",s),c==null||c.removeEventListener("reset",a)}},[r,l,s,a,n])}function o0e(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function s0e(e){return{isInvalid:!e.validity.valid,validationDetails:o0e(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function u0e(e){for(let t=0;t{C.stopPropagation(),t.setSelected(C.target.checked)},p=s!=null,m=u!=null||c!=null;!p&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:b}=Vi({isDisabled:n}),{pressProps:v,isPressed:y}=Vi({isDisabled:n||i,onPress(){t.toggle()}}),{focusableProps:$}=Ms(e,r),S=$e(g,$),k=Kt(e,{labelable:!0});return Du(r,t.isSelected,t.setSelected),{labelProps:$e(v,{onClick:C=>C.preventDefault()}),inputProps:$e(k,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,onChange:h,disabled:n,...a==null?{}:{value:a},name:l,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:b||y,isDisabled:n,isReadOnly:i,isInvalid:f||d==="invalid"}}function XK(e,t,r){let n=Bs({...e,value:t.isSelected}),{isInvalid:i,validationErrors:a,validationDetails:l}=n.displayValidation,{labelProps:s,inputProps:u,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h}=GK({...e,isInvalid:i},t,r);Jh(e,n,r);let{isIndeterminate:p,isRequired:m,validationBehavior:g="aria"}=e;return O.useEffect(()=>{r.current&&(r.current.indeterminate=!!p)}),{labelProps:s,inputProps:{...u,checked:c,"aria-required":m&&g==="aria"||void 0,required:m&&g==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h,isInvalid:i,validationErrors:a,validationDetails:l}}const JK=new WeakMap;function c0e(e,t){let{isDisabled:r,name:n,validationBehavior:i="aria"}=e,{isInvalid:a,validationErrors:l,validationDetails:s}=t.displayValidation,{labelProps:u,fieldProps:c,descriptionProps:d,errorMessageProps:f}=qh({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||l});JK.set(t,{name:n,descriptionId:d.id,errorMessageId:f.id,validationBehavior:i});let h=Kt(e,{labelable:!0});return{groupProps:$e(h,{role:"group","aria-disabled":r||void 0,...c}),labelProps:u,descriptionProps:d,errorMessageProps:f,isInvalid:a,validationErrors:l,validationDetails:s}}function d0e(e,t,r){const n=QR({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:i,descriptionId:a,errorMessageId:l,validationBehavior:s}=JK.get(t);var u;s=(u=e.validationBehavior)!==null&&u!==void 0?u:s;let{realtimeValidation:c}=Bs({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),d=O.useRef(ec),f=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};O.useEffect(f);let h=t.realtimeValidation.isInvalid?t.realtimeValidation:c,p=s==="native"?t.displayValidation:h;var m;let g=XK({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:s,[dh]:{realtimeValidation:h,displayValidation:p,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){d.current=b,f()}}},n,r);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?l:null,a].filter(Boolean).join(" ")||void 0}}}function f0e(e={}){let[t,r]=ca(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,i=O.useRef(new Map),a=Bs({...e,value:t}),l=a.displayValidation.isInvalid;var s;return{...a,value:t,setValue(c){e.isReadOnly||e.isDisabled||r(c)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(c){return t.includes(c)},addValue(c){e.isReadOnly||e.isDisabled||t.includes(c)||r(t.concat(c))},removeValue(c){e.isReadOnly||e.isDisabled||t.includes(c)&&r(t.filter(d=>d!==c))},toggleValue(c){e.isReadOnly||e.isDisabled||(t.includes(c)?r(t.filter(d=>d!==c)):r(t.concat(c)))},setInvalid(c,d){let f=new Map(i.current);d.isInvalid?f.set(c,d):f.delete(c),i.current=f,a.updateValidation(Rve(...f.values()))},validationState:(s=e.validationState)!==null&&s!==void 0?s:l?"invalid":null,isInvalid:l,isRequired:n}}function ro(e){return e&&e.__esModule?e.default:e}function Ir(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const eY=w.createContext(null);var Mr={};Ir(Mr,"focus-ring",()=>dw,e=>dw=e);Ir(Mr,"i18nFontFamily",()=>fw,e=>fw=e);Ir(Mr,"is-checked",()=>hw,e=>hw=e);Ir(Mr,"is-disabled",()=>pw,e=>pw=e);Ir(Mr,"is-hovered",()=>mw,e=>mw=e);Ir(Mr,"is-indeterminate",()=>gw,e=>gw=e);Ir(Mr,"is-invalid",()=>vw,e=>vw=e);Ir(Mr,"spectrum-Checkbox",()=>bw,e=>bw=e);Ir(Mr,"spectrum-Checkbox--quiet",()=>yw,e=>yw=e);Ir(Mr,"spectrum-Checkbox-box",()=>$w,e=>$w=e);Ir(Mr,"spectrum-Checkbox-checkmark",()=>Ow,e=>Ow=e);Ir(Mr,"spectrum-Checkbox-input",()=>xw,e=>xw=e);Ir(Mr,"spectrum-Checkbox-label",()=>Sw,e=>Sw=e);Ir(Mr,"spectrum-Checkbox-partialCheckmark",()=>ww,e=>ww=e);Ir(Mr,"spectrum-FocusRing-ring",()=>Nv,e=>Nv=e);Ir(Mr,"spectrum-FocusRing",()=>kw,e=>kw=e);Ir(Mr,"spectrum-FocusRing--quiet",()=>Cw,e=>Cw=e);var dw,fw,hw,pw,mw,gw,vw,bw,yw,$w,Ow,xw,Sw,ww,Nv,kw,Cw;dw="ISsn1a_focus-ring";fw="ISsn1a_i18nFontFamily";hw="ISsn1a_is-checked";pw="ISsn1a_is-disabled";mw="ISsn1a_is-hovered";gw="ISsn1a_is-indeterminate";vw="ISsn1a_is-invalid";bw="ISsn1a_spectrum-Checkbox";yw="ISsn1a_spectrum-Checkbox--quiet";$w="ISsn1a_spectrum-Checkbox-box";Ow="ISsn1a_spectrum-Checkbox-checkmark";xw="ISsn1a_spectrum-Checkbox-input";Sw="ISsn1a_spectrum-Checkbox-label";ww="ISsn1a_spectrum-Checkbox-partialCheckmark";Nv="ISsn1a_spectrum-FocusRing-ring";kw=`ISsn1a_spectrum-FocusRing ${Nv}`;Cw="ISsn1a_spectrum-FocusRing--quiet";function h0e(e,t){let r=e;e=Fn(e),e=Io(e);let{isIndeterminate:n=!1,isEmphasized:i=!1,autoFocus:a,children:l,...s}=e,{styleProps:u}=Nt(s),c=O.useRef(null),d=Ra(t,c),f=O.useContext(eY),{inputProps:h,isInvalid:p,isDisabled:m}=f?d0e({...e,value:e.value,isRequired:r.isRequired,validationState:r.validationState,isInvalid:r.isInvalid},f,c):XK(e,QR(e),c),{hoverProps:g,isHovered:b}=Er({isDisabled:m}),v=n?w.createElement(l0e,{UNSAFE_className:z(ro(Mr),"spectrum-Checkbox-partialCheckmark")}):w.createElement(t0e,{UNSAFE_className:z(ro(Mr),"spectrum-Checkbox-checkmark")});if(f){for(let y of["isSelected","defaultSelected","isEmphasized"])r[y]!=null&&console.warn(`${y} is unsupported on individual elements within a . Please apply these props to the group instead.`);e.value==null&&console.warn("A element within a requires a `value` property.")}return w.createElement("label",{...u,...g,ref:d,className:z(ro(Mr),"spectrum-Checkbox",{"is-checked":h.checked,"is-indeterminate":n,"spectrum-Checkbox--quiet":!i,"is-invalid":p,"is-disabled":m,"is-hovered":b},u.className)},w.createElement(_r,{focusRingClass:z(ro(Mr),"focus-ring"),autoFocus:a},w.createElement("input",{...h,ref:c,className:z(ro(Mr),"spectrum-Checkbox-input")})),w.createElement("span",{className:z(ro(Mr),"spectrum-Checkbox-box")},v),l&&w.createElement("span",{className:z(ro(Mr),"spectrum-Checkbox-label")},l))}let q1=O.forwardRef(h0e);var _l={};Ir(_l,"focus-ring",()=>Ew,e=>Ew=e);Ir(_l,"i18nFontFamily",()=>Pw,e=>Pw=e);Ir(_l,"spectrum-FieldGroup",()=>Fw,e=>Fw=e);Ir(_l,"spectrum-FieldGroup-group",()=>Aw,e=>Aw=e);Ir(_l,"spectrum-FieldGroup-group--horizontal",()=>Dw,e=>Dw=e);Ir(_l,"spectrum-FocusRing-ring",()=>Lv,e=>Lv=e);Ir(_l,"spectrum-FocusRing",()=>Tw,e=>Tw=e);Ir(_l,"spectrum-FocusRing--quiet",()=>Rw,e=>Rw=e);var Ew,Pw,Fw,Aw,Dw,Lv,Tw,Rw;Ew="hyn22G_focus-ring";Pw="hyn22G_i18nFontFamily";Fw="hyn22G_spectrum-FieldGroup";Aw="hyn22G_spectrum-FieldGroup-group";Dw="hyn22G_spectrum-FieldGroup-group--horizontal";Lv="hyn22G_spectrum-FocusRing-ring";Tw=`hyn22G_spectrum-FocusRing ${Lv}`;Rw="hyn22G_spectrum-FocusRing--quiet";function p0e(e,t){e=Fn(e),e=Io(e);let{isEmphasized:r,children:n,orientation:i="vertical"}=e,a=Xr(t),l=f0e(e),{groupProps:s,...u}=c0e(e,l);return w.createElement(Mu,{...e,...u,ref:a,wrapperClassName:z(ro(_l),"spectrum-FieldGroup"),elementType:"span",includeNecessityIndicatorInAccessibilityName:!0},w.createElement("div",{...s,className:z(ro(_l),"spectrum-FieldGroup-group",{"spectrum-FieldGroup-group--horizontal":i==="horizontal"})},w.createElement(Kh,{isEmphasized:r},w.createElement(eY.Provider,{value:l},n))))}const m0e=w.forwardRef(p0e);var tY={};tY={clear:"مسح",invalid:"(غير صالح)",loading:"جارٍ التحميل...",noResults:"لا توجد نتائج"};var rY={};rY={clear:"Изчисти",invalid:"(невалиден)",loading:"Зареждане...",noResults:"Няма резултати"};var nY={};nY={clear:"Vymazat",invalid:"(neplatné)",loading:"Načítání...",noResults:"Žádné výsledky"};var iY={};iY={clear:"Ryd",invalid:"(ugyldig)",loading:"Indlæser ...",noResults:"Ingen resultater"};var aY={};aY={clear:"Löschen",invalid:"(ungültig)",loading:"Wird geladen...",noResults:"Keine Ergebnisse"};var lY={};lY={clear:"Καθαρισμός",invalid:"(δεν ισχύει)",loading:"Φόρτωση...",noResults:"Χωρίς αποτέλεσμα"};var oY={};oY={loading:"Loading...",noResults:"No results",clear:"Clear",invalid:"(invalid)"};var sY={};sY={clear:"Borrar",invalid:"(no válido)",loading:"Cargando...",noResults:"Sin resultados"};var uY={};uY={clear:"Puhasta",invalid:"(kehtetu)",loading:"Laadimine...",noResults:"Tulemusi pole"};var cY={};cY={clear:"Kirkas",invalid:"(epäkelpo)",loading:"Ladataan...",noResults:"Ei tuloksia"};var dY={};dY={clear:"Effacer",invalid:"(non valide)",loading:"Chargement en cours...",noResults:"Aucun résultat"};var fY={};fY={clear:"נקי",invalid:"(לא חוקי)",loading:"טוען...",noResults:"אין תוצאות"};var hY={};hY={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var pY={};pY={clear:"Törlés",invalid:"(érvénytelen)",loading:"Betöltés folyamatban…",noResults:"Nincsenek találatok"};var mY={};mY={clear:"Cancella",invalid:"(non valido)",loading:"Caricamento in corso...",noResults:"Nessun risultato"};var gY={};gY={clear:"クリア",invalid:"(無効)",loading:"読み込み中...",noResults:"結果なし"};var vY={};vY={clear:"지우기",invalid:"(유효하지 않음)",loading:"로드 중...",noResults:"결과 없음"};var bY={};bY={clear:"Skaidrus",invalid:"(netinkama)",loading:"Įkeliama...",noResults:"Be rezultatų"};var yY={};yY={clear:"Notīrīt",invalid:"(nederīgs)",loading:"Notiek ielāde...",noResults:"Nav rezultātu"};var $Y={};$Y={clear:"Tøm",invalid:"(ugyldig)",loading:"Laster inn ...",noResults:"Ingen resultater"};var OY={};OY={clear:"Helder",invalid:"(ongeldig)",loading:"Laden...",noResults:"Geen resultaten"};var xY={};xY={clear:"Wyczyść",invalid:"(nieprawidłowy)",loading:"Trwa ładowanie...",noResults:"Brak wyników"};var SY={};SY={clear:"Limpar",invalid:"(inválido)",loading:"Carregando...",noResults:"Nenhum resultado"};var wY={};wY={clear:"Limpar",invalid:"(inválido)",loading:"A carregar...",noResults:"Sem resultados"};var kY={};kY={clear:"Golire",invalid:"(nevalid)",loading:"Se încarcă...",noResults:"Niciun rezultat"};var CY={};CY={clear:"Очистить",invalid:"(недействительно)",loading:"Загрузка...",noResults:"Результаты отсутствуют"};var EY={};EY={clear:"Vymazať",invalid:"(neplatné)",loading:"Načítava sa...",noResults:"Žiadne výsledky"};var PY={};PY={clear:"Jasen",invalid:"(neveljavno)",loading:"Nalaganje...",noResults:"Ni rezultatov"};var FY={};FY={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var AY={};AY={clear:"Rensa",invalid:"(ogiltigt)",loading:"Läser in...",noResults:"Inga resultat"};var DY={};DY={clear:"Temizle",invalid:"(geçersiz)",loading:"Yükleniyor...",noResults:"Sonuç yok"};var TY={};TY={clear:"Очистити",invalid:"(недійсне)",loading:"Завантаження...",noResults:"Результатів немає"};var RY={};RY={clear:"透明",invalid:"(无效)",loading:"正在加载...",noResults:"无结果"};var IY={};IY={clear:"清除",invalid:"(無效)",loading:"正在載入...",noResults:"無任何結果"};var MY={};MY={loading:"جارٍ التحميل...",loadingMore:"جارٍ تحميل المزيد..."};var BY={};BY={loading:"Зареждане...",loadingMore:"Зареждане на още..."};var _Y={};_Y={loading:"Načítání...",loadingMore:"Načítání dalších..."};var NY={};NY={loading:"Indlæser ...",loadingMore:"Indlæser flere ..."};var LY={};LY={loading:"Laden...",loadingMore:"Mehr laden ..."};var QY={};QY={loading:"Φόρτωση...",loadingMore:"Φόρτωση περισσότερων..."};var VY={};VY={loading:"Loading…",loadingMore:"Loading more…"};var zY={};zY={loading:"Cargando…",loadingMore:"Cargando más…"};var jY={};jY={loading:"Laadimine...",loadingMore:"Laadi rohkem..."};var WY={};WY={loading:"Ladataan…",loadingMore:"Ladataan lisää…"};var ZY={};ZY={loading:"Chargement...",loadingMore:"Chargement supplémentaire..."};var UY={};UY={loading:"טוען...",loadingMore:"טוען עוד..."};var qY={};qY={loading:"Učitavam...",loadingMore:"Učitavam još..."};var HY={};HY={loading:"Betöltés folyamatban…",loadingMore:"Továbbiak betöltése folyamatban…"};var KY={};KY={loading:"Caricamento...",loadingMore:"Caricamento altri..."};var YY={};YY={loading:"読み込み中...",loadingMore:"さらに読み込み中..."};var GY={};GY={loading:"로드 중",loadingMore:"추가 로드 중"};var XY={};XY={loading:"Įkeliama...",loadingMore:"Įkeliama daugiau..."};var JY={};JY={loading:"Notiek ielāde...",loadingMore:"Tiek ielādēts vēl..."};var eG={};eG={loading:"Laster inn ...",loadingMore:"Laster inn flere ..."};var tG={};tG={loading:"Laden...",loadingMore:"Meer laden..."};var rG={};rG={loading:"Ładowanie...",loadingMore:"Wczytywanie większej liczby..."};var nG={};nG={loading:"Carregando...",loadingMore:"Carregando mais..."};var iG={};iG={loading:"A carregar...",loadingMore:"A carregar mais..."};var aG={};aG={loading:"Se încarcă...",loadingMore:"Se încarcă mai multe..."};var lG={};lG={loading:"Загрузка...",loadingMore:"Дополнительная загрузка..."};var oG={};oG={loading:"Načítava sa...",loadingMore:"Načítava sa viac..."};var sG={};sG={loading:"Nalaganje...",loadingMore:"Nalaganje več vsebine..."};var uG={};uG={loading:"Učitavam...",loadingMore:"Učitavam još..."};var cG={};cG={loading:"Läser in...",loadingMore:"Läser in mer..."};var dG={};dG={loading:"Yükleniyor...",loadingMore:"Daha fazla yükleniyor..."};var fG={};fG={loading:"Завантаження…",loadingMore:"Завантаження інших об’єктів..."};var hG={};hG={loading:"正在加载...",loadingMore:"正在加载更多..."};var pG={};pG={loading:"正在載入",loadingMore:"正在載入更多…"};const H1=new WeakMap;function g0e(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function mG(e,t){let r=H1.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${g0e(t)}`}function v0e(e,t,r){let n=Kt(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:l}=EH({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=Tu({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=ir(e.id);H1.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:c,fieldProps:d}=Uh({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:$e(n,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...$e(d,l)})}}function b0e(e,t,r){var n;let{key:i}=e,a=H1.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.disabledKeys.has(i);var u;let c=(u=e.isSelected)!==null&&u!==void 0?u:t.selectionManager.isSelected(i);var d;let f=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:a==null?void 0:a.shouldSelectOnPressUp;var h;let p=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:a==null?void 0:a.shouldFocusOnHover;var m;let g=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:a==null?void 0:a.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:a==null?void 0:a.isVirtualized,y=Rl(),$=Rl(),S={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};ms()&&CR()||(S["aria-label"]=e["aria-label"],S["aria-labelledby"]=y,S["aria-describedby"]=$);let k=t.collection.getItem(i);if(v){let R=Number(k==null?void 0:k.index);S["aria-posinset"]=Number.isNaN(R)?void 0:R+1,S["aria-setsize"]=wR(t.collection)}let{itemProps:C,isPressed:F,isFocused:E,hasAction:M,allowsSelection:D}=j1({selectionManager:t.selectionManager,key:i,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&p,isVirtualized:v,shouldUseVirtualFocus:g,isDisabled:s,onAction:a!=null&&a.onAction?()=>{var R;return a==null||(R=a.onAction)===null||R===void 0?void 0:R.call(a,i)}:void 0,linkBehavior:a==null?void 0:a.linkBehavior}),{hoverProps:T}=Er({isDisabled:s||!p,onHoverStart(){Oo()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i))}}),B=Kt(k==null?void 0:k.props,{isLink:!!(!(k==null||(n=k.props)===null||n===void 0)&&n.href)});return delete B.id,{optionProps:{...S,...$e(B,C,T),id:mG(t,i)},labelProps:{id:y},descriptionProps:{id:$},isFocused:E,isFocusVisible:E&&Oo(),isSelected:c,isDisabled:s,isPressed:F,allowsSelection:D,hasAction:M}}function y0e(e){let{heading:t,"aria-label":r}=e,n=ir();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}class $0e{shouldInvalidate(t,r){return t.width!==r.width||t.height!==r.height}validate(t){}getInitialLayoutInfo(t){return t}getFinalLayoutInfo(t){return t}}class gi{copy(){let t=new gi(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}constructor(t,r,n){this.type=t,this.key=r,this.parentKey=null,this.rect=n,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}}class vi{copy(){return new vi(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}constructor(t=0,r=0){this.x=t,this.y=r}}class Qt{get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new vi(this.x,this.y)}get topRight(){return new vi(this.maxX,this.y)}get bottomLeft(){return new vi(this.x,this.maxY)}get bottomRight(){return new vi(this.maxX,this.maxY)}intersects(t){return this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let r of["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[r]))return r;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let r=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.maxX,t.maxX)-r,a=Math.max(this.maxY,t.maxY)-n;return new Qt(r,n,i,a)}intersection(t){if(!this.intersects(t))return new Qt(0,0,0,0);let r=Math.max(this.x,t.x),n=Math.max(this.y,t.y);return new Qt(r,n,Math.min(this.maxX,t.maxX)-r,Math.min(this.maxY,t.maxY)-n)}copy(){return new Qt(this.x,this.y,this.width,this.height)}constructor(t=0,r=0,n=0,i=0){this.x=t,this.y=r,this.width=n,this.height=i}}class $s{copy(){return new $s(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}constructor(t=0,r=0){this.width=t,this.height=r}}let O0e=0;class x0e{prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}constructor(t){this.virtualizer=t,this.key=++O0e}}let tc=typeof window<"u"?window.performance:null,M_=tc&&(tc.now||tc.webkitNow||tc.msNow||tc.mozNow),Zy=M_?M_.bind(tc):function(){return Date.now?Date.now():new Date().getTime()},Uy;function S0e(e,t,r,n,i){let a=!1,l,s=new Promise(u=>{let c=Zy(),d=t.x-e.x,f=t.y-e.y;l=requestAnimationFrame(function h(p){Uy==null&&(Uy=p>1e12!=Zy()>1e12),Uy&&(p=Zy());let m=p-c;m>r?(i(t),u()):i(new vi(e.x+d*n(m/r),e.y+f*n(m/r)))!==!1&&!a&&(l=requestAnimationFrame(h))})});return s.cancel=function(){a=!0,cancelAnimationFrame(l)},s}function w0e(e){return Math.sin(e*Math.PI/2)}function B_(e,t){let r=new Set;for(let n of e.keys())t.has(n)||r.add(n);return r}function k0e(e,t){let r=B_(e,t),n=B_(t,e),i=new Set;for(let a of e.keys())t.has(a)&&i.add(a);return{toRemove:r,toAdd:n,toUpdate:i}}function*C0e(...e){for(let t of e)yield*t}function E0e(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}class Hp{addSample(t){this.count++,this.value+=(t-this.value)/this.count}constructor(){this.count=0,this.value=0}}class P0e{setVisibleRect(t){let r=performance.now()-this.startTime;r<500&&(this.averageTime.addSample(r),t.x!==this.visibleRect.x&&r>0&&(this.velocity.x=(t.x-this.visibleRect.x)/r),t.y!==this.visibleRect.y&&r>0&&(this.velocity.y=(t.y-this.visibleRect.y)/r)),this.startTime=performance.now(),this.visibleRect=t}collectMetrics(){let t=performance.now()-this.startTime;if(t<500&&this.averagePerf.addSample(t),this.visibleRect.height>0){let r=Math.abs(this.velocity.y*(this.averageTime.value+this.averagePerf.value));this.overscanY.addSample(r)}if(this.visibleRect.width>0){let r=Math.abs(this.velocity.x*(this.averageTime.value+this.averagePerf.value));this.overscanX.addSample(r)}}getOverscannedRect(){let t=this.visibleRect.copy(),r=Math.round(Math.min(this.visibleRect.height*2,this.overscanY.value)/100)*100;this.velocity.y>0?(t.y-=r*.2,t.height+=r+r*.2):(t.y-=r,t.height+=r+r*.2);let n=Math.round(Math.min(this.visibleRect.width*2,this.overscanX.value)/100)*100;return this.velocity.x>0?(t.x-=n*.2,t.width+=n+n*.2):(t.x-=n,t.width+=n+n*.2),t}constructor(){this.startTime=0,this.averagePerf=new Hp,this.averageTime=new Hp,this.velocity=new vi(5,5),this.overscanX=new Hp,this.overscanY=new Hp,this.visibleRect=new Qt}}class F0e{constructor(){this.level=0,this.actions=[],this.animated=!0,this.initialMap=new Map,this.finalMap=new Map,this.initialLayoutInfo=new Map,this.finalLayoutInfo=new Map,this.removed=new Map,this.toRemove=new Map}}class A0e{_setContentSize(t){this._contentSize=t,this.delegate.setContentSize(t)}_setContentOffset(t){let r=new Qt(t.x,t.y,this._visibleRect.width,this._visibleRect.height);this.delegate.setVisibleRect(r)}get contentSize(){return this._contentSize}get visibleRect(){return this._visibleRect}set visibleRect(t){this._setVisibleRect(t)}_setVisibleRect(t,r=!1){let n=this._visibleRect;if(t.equals(n))return;this.shouldOverscan&&this._overscanManager.setVisibleRect(t);let i=this.layout&&this.layout.shouldInvalidate(t,this._visibleRect);this._resetAnimatedContentOffset(),this._visibleRect=t,i?this.relayoutNow({offsetChanged:!t.pointEquals(n),sizeChanged:!t.sizeEquals(n)}):this.updateSubviews(r)}get collection(){return this._collection}set collection(t){this._setData(t)}_setData(t){t!==this._collection&&(this._collection?this._runTransaction(()=>{this._collection=t},this.transitionDuration>0):(this._collection=t,this.reloadData()))}reloadData(){this.relayout({contentChanged:!0})}getItem(t){return this._collection?this._collection.getItem(t):null}get persistedKeys(){return this._persistedKeys}set persistedKeys(t){E0e(t,this._persistedKeys)||(this._persistedKeys=t,this.updateSubviews())}isPersistedKey(t){if(this._persistedKeys.has(t))return!0;for(let r of this._persistedKeys)for(;r!=null;){let n=this.layout.getLayoutInfo(r);if(!n)break;if(r=n.parentKey,r===t)return!0}return!1}get layout(){return this._layout}set layout(t){this.setLayout(t)}setLayout(t,r=!1){if(t===this._layout)return;let n=()=>{this._layout&&(this._layout.virtualizer=null),t.virtualizer=this,this._layout=t};r?this._runTransaction(n):(n(),this.relayout())}_getReuseType(t,r){if(t.type==="item"&&r){let n=this.delegate.getType?this.delegate.getType(r):"item",i=n==="item"?"item":t.type+"_"+n;return{type:n,reuseType:i}}return{type:t.type,reuseType:t.type}}getReusableView(t){let r=this.getItem(t.key),{reuseType:n}=this._getReuseType(t,r);this._reusableViews[n]||(this._reusableViews[n]=[]);let i=this._reusableViews[n],a=i.length>0?i.pop():new x0e(this);return a.viewType=n,this._animatedContentOffset.isOrigin()||(t=t.copy(),t.rect.x+=this._animatedContentOffset.x,t.rect.y+=this._animatedContentOffset.y),a.layoutInfo=t,this._renderView(a),a}_renderView(t){let{type:r,key:n}=t.layoutInfo;t.content=this.getItem(n),t.rendered=this._renderContent(r,t.content)}_renderContent(t,r){let n=this._renderedContent.get(r);if(n!=null)return n;let i=this.delegate.renderView(t,r);return r&&this._renderedContent.set(r,i),i}get visibleViews(){return Array.from(this._visibleViews.values())}getView(t){return this._visibleViews.get(t)||null}getViewsOfType(t){return this.visibleViews.filter(r=>r.layoutInfo&&r.layoutInfo.type===t)}keyForView(t){return t&&t.layoutInfo?t.layoutInfo.key:null}keyAtPoint(t){let r=new Qt(t.x,t.y,1,1),n=this.layout.getVisibleLayoutInfos(r);for(let i of n)if(i.rect.intersects(r))return i.key;return null}willUnmount(){cancelAnimationFrame(this._relayoutRaf)}relayout(t={}){if(!(this._scrollAnimation||typeof requestAnimationFrame>"u")){if(this._invalidationContext){Object.assign(this._invalidationContext,t);return}this._invalidationContext=t}}relayoutNow(t=this._invalidationContext||{}){if(this._relayoutRaf&&(cancelAnimationFrame(this._relayoutRaf),this._relayoutRaf=null,t={...this._invalidationContext,...t}),this._invalidationContext=null,!this.layout||!this._collection||this._scrollAnimation)return;let r=this._getScrollAnchor();typeof t.beforeLayout=="function"&&t.beforeLayout(),this.layout.validate(t),this._setContentSize(this.layout.getContentSize()),typeof t.afterLayout=="function"&&t.afterLayout();let n=this.getVisibleRect(),i=this._restoreScrollAnchor(r,t),a=t.contentChanged?0:i.x,l=t.contentChanged?0:i.y;a=Math.max(0,Math.min(this.contentSize.width-n.width,a)),l=Math.max(0,Math.min(this.contentSize.height-n.height,l));let s=!1;if(a!==n.x||l!==n.y?t.animated||!this._animatedContentOffset.isOrigin()?(this._animatedContentOffset.x+=n.x-a,this._animatedContentOffset.y+=n.y-l,s=this.updateSubviews(t.contentChanged)):this._setContentOffset(new vi(a,l)):s=this.updateSubviews(t.contentChanged),t.transaction&&t.animated||this._applyLayoutInfos(),t.animated&&s){this._enableTransitions(),setTimeout(()=>{if(this._disableTransitions(),!this._animatedContentOffset.isOrigin()){let{x:c,y:d}=this.getVisibleRect();this._resetAnimatedContentOffset(),this._setContentOffset(new vi(c,d))}typeof t.afterAnimation=="function"&&t.afterAnimation()},this.transitionDuration+100);return}else typeof t.afterAnimation=="function"&&t.afterAnimation()}_correctItemOrder(){if(!(this._isScrolling||this._transaction))for(let t of this._visibleLayoutInfos.keys()){let r=this._visibleViews.get(t);this._children.delete(r),this._children.add(r)}}_enableTransitions(){this.delegate.beginAnimations()}_disableTransitions(){this.delegate.endAnimations()}_getScrollAnchor(){if(!this.anchorScrollPosition)return null;let t=this.getVisibleRect();if(this.delegate.getScrollAnchor){let n=this.delegate.getScrollAnchor(t);if(n!=null){let i=this.layout.getLayoutInfo(n),a=i.rect.getCornerInRect(t);if(a){let l=i.key,s=i.rect[a].y-t.y;return{key:l,layoutInfo:i,corner:a,offset:s}}}}if(t.y===0&&!this.anchorScrollPositionAtTop)return null;let r=null;for(let[n,i]of this._visibleViews){let a=i.layoutInfo;if(a&&a.rect.area>0){let l=a.rect.getCornerInRect(t);if(l){let s=a.rect[l].y-t.y;(!r||s0||a.size>0||this._hasLayoutUpdates());return u&&requestAnimationFrame(()=>{this._transaction&&requestAnimationFrame(()=>this._applyLayoutInfos())}),u}afterRender(){this._transactionQueue.length>0?this._processTransactionQueue():this._invalidationContext&&this.relayoutNow(),this.shouldOverscan&&this._overscanManager.collectMetrics()}_flushVisibleViews(){let t=new Map([[null,[]]]);for(let c of this._children){var r,n,i,a,l;((r=c.layoutInfo)===null||r===void 0?void 0:r.parentKey)!=null&&!t.has(c.layoutInfo.parentKey)&&t.set(c.layoutInfo.parentKey,[]),(n=t.get((i=c.layoutInfo)===null||i===void 0?void 0:i.parentKey))===null||n===void 0||n.push(c),t.has((a=c.layoutInfo)===null||a===void 0?void 0:a.key)||t.set((l=c.layoutInfo)===null||l===void 0?void 0:l.key,[])}let s=(c,d)=>d.map(f=>{let h=t.get(f.layoutInfo.key);return this.delegate.renderWrapper(c,f,h,p=>s(f,p))}),u=s(null,t.get(null));this.delegate.setVisibleViews(u)}_applyLayoutInfo(t,r){return t.layoutInfo===r?!1:(t.layoutInfo=r,!0)}_applyLayoutInfos(){let t=!1;for(let r of this._visibleViews.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}if(this._transaction){for(let r of this._transaction.toRemove.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}for(let r of this._transaction.removed.values()){let n=r.layoutInfo,i=this._transaction.finalLayoutInfo.get(n.key)||n;i=this.layout.getFinalLayoutInfo(i.copy()),this._applyLayoutInfo(r,i)&&(t=!0)}}t&&this._flushVisibleViews()}_hasLayoutUpdates(){if(!this._transaction)return!1;for(let t of this._visibleViews.values()){let r=t.layoutInfo;if(!r)return!0;let n=this.layout.getLayoutInfo(r.key);if(!r.rect.equals(n.rect)||r.opacity!==n.opacity||r.transform!==n.transform)return!0}return!1}reuseView(t){t.prepareForReuse(),this._reusableViews[t.viewType].push(t)}removeViews(t){for(let r of t)this._children.delete(r)}updateItemSize(t,r){if(!this.layout.updateItemSize)return;if(this._scrollAnimation){this._sizeUpdateQueue.set(t,r);return}this.layout.updateItemSize(t,r)&&this.relayout()}startScrolling(){this._isScrolling=!0}endScrolling(){this._isScrolling=!1,this._correctItemOrder(),this._flushVisibleViews()}_resetAnimatedContentOffset(){this._animatedContentOffset.isOrigin()||(this._animatedContentOffset=new vi(0,0),this._applyLayoutInfos())}scrollToItem(t,r){if(t==null)return;let n=this.layout.getLayoutInfo(t);if(!n)return;let{duration:i=300,shouldScrollX:a=!0,shouldScrollY:l=!0,offsetX:s=0,offsetY:u=0}=r,c=this.visibleRect.x,d=this.visibleRect.y,f=n.rect.x-s,h=n.rect.y-u,p=c+this.visibleRect.width,m=d+this.visibleRect.height;return a&&(f<=c||p===0?c=f:n.rect.maxX>p&&(c+=n.rect.maxX-p)),l&&(h<=d||m===0?d=h:n.rect.maxY>m&&(d+=n.rect.maxY-m)),this.scrollTo(new vi(c,d),i)}scrollTo(t,r=300){return this._scrollAnimation&&(this._scrollAnimation.cancel(),this._scrollAnimation=null),r<=0||this.visibleRect.pointEquals(t)?(this._setContentOffset(t),Promise.resolve()):(this.startScrolling(),this._scrollAnimation=S0e(this.visibleRect,t,r,w0e,n=>{this._setContentOffset(n)}),this._scrollAnimation.then(()=>{this._scrollAnimation=null;for(let[n,i]of this._sizeUpdateQueue)this.updateItemSize(n,i);this._sizeUpdateQueue.clear(),this.relayout(),this._processTransactionQueue(),this.endScrolling()}),this._scrollAnimation)}_runTransaction(t,r){this._startTransaction(),this._nextTransaction&&this._nextTransaction.actions.push(t),this._endTransaction(r)}_startTransaction(){this._nextTransaction||(this._nextTransaction=new F0e),this._nextTransaction.level++}_endTransaction(t){return!this._nextTransaction||(t!=null&&(this._nextTransaction.animated=t),--this._nextTransaction.level>0)?!1:this._nextTransaction.actions.length===0?(this._nextTransaction=null,!1):(this._nextTransaction.animated==null&&(this._nextTransaction.animated=!0),this._transactionQueue.push(this._nextTransaction),this._nextTransaction=null,!0)}_processTransactionQueue(){if(this._transaction||this._scrollAnimation)return;let t=this._transactionQueue.shift();t&&this._performTransaction(t)}_getContentRect(){return new Qt(0,0,this.contentSize.width,this.contentSize.height)}_performTransaction(t){this._transaction=t,this.relayoutNow({transaction:t,animated:t.animated,beforeLayout:()=>{t.animated&&(t.initialMap=this._getLayoutInfoMap(this._getContentRect(),!0));for(let r of t.actions)r()},afterLayout:()=>{t.animated?(t.finalMap=this._getLayoutInfoMap(this._getContentRect()),this._setupTransactionAnimations(t)):this._transaction=null},afterAnimation:()=>{if(t.toRemove.size>0||t.removed.size>0)for(let r of C0e(t.toRemove.values(),t.removed.values()))this._children.delete(r),this.reuseView(r);this._transaction=null,this._correctItemOrder(),this._flushVisibleViews(),this._processTransactionQueue()}})}_setupTransactionAnimations(t){let{initialMap:r,finalMap:n}=t;for(let[i,a]of r)n.has(i)?t.initialLayoutInfo.set(i,a):t.finalLayoutInfo.set(a.key,a);for(let[i,a]of n)if(!r.has(i)){let l=this.layout.getInitialLayoutInfo(a.copy());t.initialLayoutInfo.set(i,l)}for(let[i,a]of this._visibleViews)!n.has(i)&&a.layoutInfo.rect.width>0&&(t.removed.set(i,a),this._visibleViews.delete(i),a.layoutInfo&&(t.finalLayoutInfo.has(a.layoutInfo.key)||t.finalLayoutInfo.set(a.layoutInfo.key,a.layoutInfo)))}constructor(t={}){this._contentSize=new $s,this._visibleRect=new Qt,this._reusableViews={},this._visibleLayoutInfos=new Map,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._children=new Set,this._invalidationContext=null,this._overscanManager=new P0e,this._persistedKeys=new Set,this._scrollAnimation=null,this._isScrolling=!1,this._sizeUpdateQueue=new Map,this._animatedContentOffset=new vi(0,0),this._transaction=null,this._nextTransaction=null,this._transactionQueue=[];var r;this.transitionDuration=(r=t.transitionDuration)!==null&&r!==void 0?r:500,this.anchorScrollPosition=t.anchorScrollPosition||!1,this.anchorScrollPositionAtTop=t.anchorScrollPositionAtTop||!1,this.shouldOverscan=t.shouldOverscan!==!1;for(let n of["delegate","size","layout","collection"])t[n]&&(this[n]=t[n])}}function gG(e){let[t,r]=O.useState([]),[n,i]=O.useState(new $s),[a,l]=O.useState(!1),[s,u]=O.useState(!1),c=O.useMemo(()=>new A0e,[]);c.delegate={setVisibleViews:r,setVisibleRect(m){c.visibleRect=m,e.onVisibleRectChange(m)},setContentSize:i,renderView:e.renderView,renderWrapper:e.renderWrapper,beginAnimations:()=>l(!0),endAnimations:()=>l(!1),getScrollAnchor:e.getScrollAnchor},c.layout=e.layout,c.collection=e.collection,c.transitionDuration=e.transitionDuration,wt(()=>{c.afterRender()}),O.useEffect(()=>()=>c.willUnmount(),[]);let d=O.useCallback(m=>{c.visibleRect=m},[c]),f=O.useCallback(()=>{c.startScrolling(),u(!0)},[c]),h=O.useCallback(()=>{c.endScrolling(),u(!1)},[c]);return O.useMemo(()=>({virtualizer:c,visibleViews:t,setVisibleRect:d,contentSize:n,isAnimating:a,isScrolling:s,startScrolling:f,endScrolling:h}),[c,t,d,n,a,s,f,h])}const __=48;class vG extends $0e{getLayoutInfo(t){let r=this.layoutInfos.get(t);return!r&&this.validRect.area{for(let a of i)this.isVisible(a,t)&&(r.push(a.layoutInfo),a.header&&r.push(a.header),a.children&&n(a.children))};return n(this.rootNodes),r}isVisible(t,r){return t.layoutInfo.rect.intersects(r)||t.layoutInfo.isSticky||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){return t.sizeChanged}validate(t){if(this.collection=this.virtualizer.collection,this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.lastValidRect=this.validRect,this.validRect=this.virtualizer.getVisibleRect()),this.rootNodes=this.buildCollection(),this.lastCollection&&this.collection!==this.lastCollection){for(let n of this.lastCollection.getKeys())if(!this.collection.getItem(n)){let i=this.layoutNodes.get(n);if(i){var r;this.layoutInfos.delete(i.layoutInfo.key),this.layoutInfos.delete((r=i.header)===null||r===void 0?void 0:r.key),this.layoutNodes.delete(n)}}}this.lastWidth=this.virtualizer.visibleRect.width,this.lastCollection=this.collection,this.invalidateEverything=!1}buildCollection(){let t=this.padding,r=0,n=[];for(let s of this.collection){var i;let u=(i=this.rowHeight)!==null&&i!==void 0?i:this.estimatedRowHeight;if(s.type==="item"&&t+uthis.validRect.maxY){t+=(this.collection.size-(n.length+r))*u;break}}if(this.isLoading){var a;let s=new Qt(0,t,this.virtualizer.visibleRect.width,(a=this.loaderHeight)!==null&&a!==void 0?a:this.virtualizer.visibleRect.height),u=new gi("loader","loader",s);this.layoutInfos.set("loader",u),n.push({layoutInfo:u}),t=u.rect.maxY}if(n.length===0){var l;let s=new Qt(0,t,this.virtualizer.visibleRect.width,(l=this.placeholderHeight)!==null&&l!==void 0?l:this.virtualizer.visibleRect.height),u=new gi("placeholder","placeholder",s);this.layoutInfos.set("placeholder",u),n.push({layoutInfo:u}),t=u.rect.maxY}return this.contentSize=new $s(this.virtualizer.visibleRect.width,t+this.padding),n}isValid(t,r){let n=this.layoutNodes.get(t.key);return!this.invalidateEverything&&n&&n.node===t&&r===(n.header||n.layoutInfo).rect.y&&n.layoutInfo.rect.intersects(this.lastValidRect)&&n.validRect.containsRect(n.layoutInfo.rect.intersection(this.validRect))}buildChild(t,r,n){if(this.isValid(t,n))return this.layoutNodes.get(t.key);let i=this.buildNode(t,r,n);i.node=t;var a;return i.layoutInfo.parentKey=(a=t.parentKey)!==null&&a!==void 0?a:null,this.layoutInfos.set(i.layoutInfo.key,i.layoutInfo),i.header&&this.layoutInfos.set(i.header.key,i.header),this.layoutNodes.set(t.key,i),i}buildNode(t,r,n){switch(t.type){case"section":return this.buildSection(t,r,n);case"item":return this.buildItem(t,r,n)}}buildSection(t,r,n){let i=this.virtualizer.visibleRect.width,a=this.headingHeight,l=!1;if(a==null){let g=this.layoutNodes.get(t.key);if(g&&g.header){let b=this.collection.getItem(t.key),v=this.lastCollection?this.lastCollection.getItem(t.key):null;a=g.header.rect.height,l=i!==this.lastWidth||b!==v||g.header.estimatedSize}else a=t.rendered?this.estimatedHeadingHeight:0,l=!0}a==null&&(a=__);let s=new Qt(0,n,i,a),u=new gi("header",t.key+":header",s);u.estimatedSize=l,u.parentKey=t.key,n+=u.rect.height;let c=new Qt(0,n,i,0),d=new gi(t.type,t.key,c),f=n,h=0,p=[];for(let g of pr(t,this.collection)){var m;let b=(m=this.rowHeight)!==null&&m!==void 0?m:this.estimatedRowHeight;if(n+bthis.validRect.maxY){n+=([...pr(t,this.collection)].length-(p.length+h))*b;break}}return c.height=n-f,{header:u,layoutInfo:d,children:p,validRect:d.rect.intersection(this.validRect)}}buildItem(t,r,n){let i=this.virtualizer.visibleRect.width,a=this.rowHeight,l=!1;if(a==null){let c=this.layoutNodes.get(t.key);c?(a=c.layoutInfo.rect.height,l=i!==this.lastWidth||t!==c.node||c.layoutInfo.estimatedSize):(a=this.estimatedRowHeight,l=!0)}a==null&&(a=__),typeof this.indentationForItem=="function"&&(r+=this.indentationForItem(this.collection,t.key)||0);let s=new Qt(r,n,i-r,a),u=new gi(t.type,t.key,s);return u.allowOverflow=!0,u.estimatedSize=l,{layoutInfo:u,validRect:u.rect}}updateItemSize(t,r){let n=this.layoutInfos.get(t);if(!n)return!1;if(n.estimatedSize=!1,n.rect.height!==r.height){let i=n.copy();i.rect.height=r.height,this.layoutInfos.set(t,i),this.updateLayoutNode(t,n,i);let a=this.collection.getItem(n.parentKey);for(;a;)this.updateLayoutNode(a.key,n,i),a=this.collection.getItem(a.parentKey);return!0}return!1}updateLayoutNode(t,r,n){let i=this.layoutNodes.get(t);i&&(i.validRect=new Qt,i.header===r?i.header=n:i.layoutInfo===r&&(i.layoutInfo=n))}getContentSize(){return this.contentSize}getKeyAbove(t){let r=this.collection;for(t=r.getKeyBefore(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyBefore(t)}}getKeyBelow(t){let r=this.collection;for(t=r.getKeyAfter(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyAfter(t)}}getKeyPageAbove(t){let r=this.getLayoutInfo(t);if(r){let n=Math.max(0,r.rect.y+r.rect.height-this.virtualizer.visibleRect.height);for(;r&&r.rect.y>n;){let i=this.getKeyAbove(r.key);r=this.getLayoutInfo(i)}if(r)return r.key}return this.getFirstKey()}getKeyPageBelow(t){let r=this.getLayoutInfo(t??this.getFirstKey());if(r){let n=Math.min(this.virtualizer.contentSize.height,r.rect.y-r.rect.height+this.virtualizer.visibleRect.height);for(;r&&r.rect.y=l.maxY-10&&n({...s,dropPosition:"after"})&&(s.dropPosition="after"):r<=l.y+l.height/2&&n({...s,dropPosition:"before"})?s.dropPosition="before":n({...s,dropPosition:"after"})&&(s.dropPosition="after"),s}constructor(t={}){super(),this.disabledKeys=new Set,this.allowDisabledKeyFocus=!1,this.rowHeight=t.rowHeight,this.estimatedRowHeight=t.estimatedRowHeight,this.headingHeight=t.headingHeight,this.estimatedHeadingHeight=t.estimatedHeadingHeight,this.padding=t.padding||0,this.indentationForItem=t.indentationForItem,this.collator=t.collator,this.loaderHeight=t.loaderHeight,this.placeholderHeight=t.placeholderHeight,this.layoutInfos=new Map,this.layoutNodes=new Map,this.rootNodes=[],this.lastWidth=0,this.lastCollection=null,this.allowDisabledKeyFocus=t.allowDisabledKeyFocus,this.lastValidRect=new Qt,this.validRect=new Qt,this.contentSize=new $s}}class D0e extends vG{shouldInvalidateEverything(t){return super.shouldInvalidateEverything(t)||!this.lastCollection||this.collection.columns.length!==this.lastCollection.columns.length||this.collection.columns.some((r,n)=>r.key!==this.lastCollection.columns[n].key||r.props.width!==this.lastCollection.columns[n].props.width||r.props.minWidth!==this.lastCollection.columns[n].props.minWidth||r.props.maxWidth!==this.lastCollection.columns[n].props.maxWidth)}getResizerPosition(){var t;return(t=this.getLayoutInfo(this.resizingColumn))===null||t===void 0?void 0:t.rect.maxX}getColumnWidth(t){var r;return(r=this.columnLayout.getColumnWidth(t))!==null&&r!==void 0?r:0}getColumnMinWidth(t){return this.collection.columns.find(n=>n.key===t)?this.columnLayout.getColumnMinWidth(t):0}getColumnMaxWidth(t){return this.collection.columns.find(n=>n.key===t)?this.columnLayout.getColumnMaxWidth(t):0}startResize(t){this.resizingColumn=t}updateResizedColumns(t,r){let n=new Map(Array.from(this.controlledColumns).map(([l,s])=>[l,s.props.width])),i=this.columnLayout.resizeColumnWidth(this.virtualizer.visibleRect.width,this.collection,n,this.uncontrolledWidths,t,r),a=new Map(Array.from(this.uncontrolledColumns).map(([l])=>[l,i.get(l)]));return a.set(t,r),this.uncontrolledWidths=a,this.uncontrolledWidths.size>0&&this.virtualizer.relayoutNow({sizeChanged:!0}),i}endResize(){this.resizingColumn=null}buildCollection(){let t=this.collection.body.props.loadingState;this.wasLoading=this.isLoading,this.isLoading=t==="loading"||t==="loadingMore",this.stickyColumnIndices=[];for(let s of this.collection.columns)(s.props.isDragButtonCell||s.props.isSelectionCell||this.collection.rowHeaderColumnKeys.has(s.key))&&this.stickyColumnIndices.push(s.index);let[r,n]=this.columnLayout.splitColumnsIntoControlledAndUncontrolled(this.collection.columns);this.controlledColumns=r,this.uncontrolledColumns=n;let i=this.columnLayout.recombineColumns(this.collection.columns,this.uncontrolledWidths,n,r);this.columnWidths=this.columnLayout.buildColumnWidths(this.virtualizer.visibleRect.width,this.collection,i);let a=this.buildHeader(),l=this.buildBody(0);return this.lastPersistedKeys=null,l.layoutInfo.rect.width=Math.max(a.layoutInfo.rect.width,l.layoutInfo.rect.width),this.contentSize=new $s(l.layoutInfo.rect.width,l.layoutInfo.rect.maxY),[a,l]}buildHeader(){let t=new Qt(0,0,0,0),r=new gi("header","header",t),n=0,i=0,a=[];for(let l of this.collection.headerRows){let s=this.buildChild(l,0,n);s.layoutInfo.parentKey="header",n=s.layoutInfo.rect.maxY,i=Math.max(i,s.layoutInfo.rect.width),s.index=a.length,a.push(s)}return t.width=i,t.height=n,this.layoutInfos.set("header",r),{layoutInfo:r,children:a,validRect:r.rect}}buildHeaderRow(t,r,n){let i=new Qt(0,n,0,0),a=new gi("headerrow",t.key,i),l=0,s=[];for(let u of pr(t,this.collection)){let c=this.buildChild(u,r,n);c.layoutInfo.parentKey=a.key,r=c.layoutInfo.rect.maxX,l=Math.max(l,c.layoutInfo.rect.height),c.index=s.length,s.push(c)}for(let[u,c]of s.entries())c.layoutInfo.zIndex=s.length-u+1;return this.setChildHeights(s,l),i.height=l,i.width=r,{layoutInfo:a,children:s,validRect:i}}setChildHeights(t,r){for(let n of t)n.layoutInfo.rect.height!==r&&(n.layoutInfo=n.layoutInfo.copy(),this.layoutInfos.set(n.layoutInfo.key,n.layoutInfo),n.layoutInfo.rect.height=r)}getRenderedColumnWidth(t){var r;let n=(r=t.colspan)!==null&&r!==void 0?r:1;var i;let a=(i=t.colIndex)!==null&&i!==void 0?i:t.index,l=0;for(let s=a;sthis.validRect.maxY){t+=(this.collection.size-(a+s.length))*f;break}}if(this.isLoading){let c=new Qt(40,Math.max(t,40),(l||this.virtualizer.visibleRect.width)-80,s.length===0?this.virtualizer.visibleRect.height-80:60),d=new gi("loader","loader",c);d.parentKey="body",d.isSticky=!this.disableSticky&&s.length===0,this.layoutInfos.set("loader",d),s.push({layoutInfo:d,validRect:d.rect}),t=d.rect.maxY,l=Math.max(l,c.width)}else if(s.length===0){let c=new Qt(40,Math.max(t,40),this.virtualizer.visibleRect.width-80,this.virtualizer.visibleRect.height-80),d=new gi("empty","empty",c);d.parentKey="body",d.isSticky=!this.disableSticky,this.layoutInfos.set("empty",d),s.push({layoutInfo:d,validRect:d.rect}),t=d.rect.maxY,l=Math.max(l,c.width)}return r.width=l,r.height=t-i,this.layoutInfos.set("body",n),{layoutInfo:n,children:s,validRect:n.rect.intersection(this.validRect)}}buildNode(t,r,n){switch(t.type){case"headerrow":return this.buildHeaderRow(t,r,n);case"item":return this.buildRow(t,r,n);case"column":case"placeholder":return this.buildColumn(t,r,n);case"cell":return this.buildCell(t,r,n);default:throw new Error("Unknown node type "+t.type)}}buildRow(t,r,n){let i=new Qt(r,n,0,0),a=new gi("row",t.key,i),l=[],s=0;for(let[u,c]of[...pr(t,this.collection)].entries())if(c.type==="cell")if(r>this.validRect.maxX){let d=this.layoutNodes.get(c.key);d&&(d.layoutInfo.rect.x=r,r+=d.layoutInfo.rect.width)}else{let d=this.buildChild(c,r,n);r=d.layoutInfo.rect.maxX,s=Math.max(s,d.layoutInfo.rect.height),d.index=u,l.push(d)}return this.setChildHeights(l,s),i.width=this.layoutInfos.get("header").rect.width,i.height=s+1,{layoutInfo:a,children:l,validRect:i.intersection(this.validRect)}}buildCell(t,r,n){var i,a;let l=this.getRenderedColumnWidth(t),{height:s,isEstimated:u}=this.getEstimatedHeight(t,l,this.rowHeight,this.estimatedRowHeight),c=new Qt(r,n,l,s),d=new gi(t.type,t.key,c);return d.isSticky=!this.disableSticky&&(((i=t.props)===null||i===void 0?void 0:i.isDragButtonCell)||((a=t.props)===null||a===void 0?void 0:a.isSelectionCell)),d.zIndex=d.isSticky?2:1,d.estimatedSize=u,{layoutInfo:d,validRect:c}}getVisibleLayoutInfos(t){!this.validRect.containsRect(t)&&this.lastCollection&&(this.lastValidRect=this.validRect,this.validRect=this.validRect.union(t),this.rootNodes=this.buildCollection());let r=[];this.buildPersistedIndices();for(let n of this.rootNodes)r.push(n.layoutInfo),this.addVisibleLayoutInfos(r,n,t);return r}addVisibleLayoutInfos(t,r,n){if(!(!r.children||r.children.length===0))switch(r.layoutInfo.type){case"header":for(let i of r.children)t.push(i.layoutInfo),this.addVisibleLayoutInfos(t,i,n);break;case"rowgroup":{let i=this.binarySearch(r.children,n.topLeft,"y"),a=this.binarySearch(r.children,n.bottomRight,"y"),l=this.persistedIndices.get(r.layoutInfo.key),s=0;for(;l&&s>1,s=t[l];if(n==="x"&&s.layoutInfo.rect.maxXr.x||n==="y"&&s.layoutInfo.rect.y>r.y)a=l-1;else return l}return Math.max(0,Math.min(t.length-1,i))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let t of this.virtualizer.persistedKeys){let r=this.layoutInfos.get(t);for(;r&&r.parentKey;){let n=this.collection.getItem(r.key),i=this.persistedIndices.get(r.parentKey);i||(i=n.type==="cell"||n.type==="column"?[...this.stickyColumnIndices]:[],this.persistedIndices.set(r.parentKey,i));let a=this.layoutNodes.get(r.key).index;i.includes(a)||i.push(a),r=this.layoutInfos.get(r.parentKey)}}for(let t of this.persistedIndices.values())t.sort((r,n)=>r-n)}}getInitialLayoutInfo(t){let r=super.getInitialLayoutInfo(t);return r.transform=null,r}getFinalLayoutInfo(t){let r=super.getFinalLayoutInfo(t);return r.transform=null,r}checkChrome105(){var t;if(typeof window>"u"||window.navigator==null)return!1;let r;if(window.navigator.userAgentData)r=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>n.brand==="Chromium"&&Number(n.version)===105);else{let i=/Chrome\/(\d+)/.exec(window.navigator.userAgent);r=i&&i.length>=2&&Number(i[1])===105}return r}getDropTargetFromPoint(t,r,n){var i;t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y,r-=(i=this.virtualizer.layout.getVisibleLayoutInfos(new Qt(t,r,1,1)).find(h=>h.type==="headerrow"))===null||i===void 0?void 0:i.rect.height;let a,l=new vi(t,r),s=new Qt(l.x,l.y,1,1),u=this.virtualizer.layout.getVisibleLayoutInfos(s).filter(h=>h.type==="row");for(let h of u)h.rect.intersects(s)&&(a=h.key);if(a==null||this.collection.size===0)return{type:"root"};let c=this.getLayoutInfo(a),d=c.rect,f={type:"item",key:c.key,dropPosition:"on"};return n(f)?r<=d.y+10&&n({...f,dropPosition:"before"})?f.dropPosition="before":r>=d.maxY-10&&n({...f,dropPosition:"after"})&&(f.dropPosition="after"):r<=d.y+d.height/2&&n({...f,dropPosition:"before"})?f.dropPosition="before":n({...f,dropPosition:"after"})&&(f.dropPosition="after"),f}constructor(t){super(t),this.columnWidths=new Map,this.wasLoading=!1,this.isLoading=!1,this.lastPersistedKeys=null,this.persistedIndices=new Map,this.collection=t.initialCollection,this.stickyColumnIndices=[],this.disableSticky=this.checkChrome105(),this.columnLayout=t.columnLayout;let[r,n]=this.columnLayout.splitColumnsIntoControlledAndUncontrolled(this.collection.columns);this.controlledColumns=r,this.uncontrolledColumns=n,this.uncontrolledWidths=this.columnLayout.getInitialUncontrolledWidths(n)}}let Zu=null;function bG(e=!1){if(Zu===null||e){const t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";const n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Zu="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Zu="negative":Zu="positive-ascending"),document.body.removeChild(t),Zu}return Zu}function T0e(e,t){let{scrollLeft:r}=e;if(t==="rtl"){let{scrollWidth:n,clientWidth:i}=e;switch(bG()){case"negative":r=-r;break;case"positive-descending":r=n-i-r;break}}return r}function R0e(e,t,r){if(t==="rtl")switch(bG()){case"negative":r=-r;break;case"positive-ascending":break;default:{const{clientWidth:n,scrollWidth:i}=e;r=i-n-r;break}}e.scrollLeft=r}let I0e=w.version.startsWith("16.")||w.version.startsWith("17.");function M0e(e,t){let{contentSize:r,onVisibleRectChange:n,children:i,innerStyle:a,sizeToFit:l,onScrollStart:s,onScrollEnd:u,scrollDirection:c="both",...d}=e,f=O.useRef();t=t||f;let h=O.useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:!1}).current,{direction:p}=yr(),[m,g]=O.useState(!1),b=O.useCallback(k=>{k.target===k.currentTarget&&(e.onScroll&&e.onScroll(k),S1.flushSync(()=>{let C=k.currentTarget.scrollTop,F=T0e(k.currentTarget,p);h.scrollTop=Math.max(0,Math.min(C,r.height-h.height)),h.scrollLeft=Math.max(0,Math.min(F,r.width-h.width)),n(new Qt(h.scrollLeft,h.scrollTop,h.width,h.height)),h.isScrolling||(h.isScrolling=!0,g(!0),s&&s());let E=Date.now();h.scrollEndTime<=E+50&&(h.scrollEndTime=E+300,clearTimeout(h.scrollTimeout),h.scrollTimeout=setTimeout(()=>{h.isScrolling=!1,g(!1),h.scrollTimeout=null,u&&u()},300))}))},[e,p,h,r,n,s,u]);O.useEffect(()=>()=>{clearTimeout(h.scrollTimeout)},[]);let v=O.useCallback(()=>{let k=t.current;if(!k)return;let C=k.clientWidth,F=k.clientHeight;l&&r.width>0&&r.height>0&&(l==="width"?C=Math.min(C,r.width):l==="height"&&(F=Math.min(F,r.height))),(h.width!==C||h.height!==F)&&(h.width=C,h.height=F,n(new Qt(h.scrollLeft,h.scrollTop,C,F)))},[n,t,h,l,r]);wt(()=>{v()},[v]);let y=O.useRef();Vh({ref:t,onResize:()=>{var k,C;I0e?(C=(k=y).current)!==null&&C!==void 0||(k.current=requestAnimationFrame(()=>{v(),y.current=null})):v()}}),O.useEffect(()=>()=>{y.current&&cancelAnimationFrame(y.current)},[]);let S={padding:0,...d.style};return c==="horizontal"?(S.overflowX="auto",S.overflowY="hidden"):c==="vertical"||r.width===h.width?(S.overflowY="auto",S.overflowX="hidden"):S.overflow="auto",a={width:r.width,height:r.height,pointerEvents:m?"none":"auto",position:"relative",...a},w.createElement("div",{...d,style:S,ref:t,onScroll:b},w.createElement("div",{role:"presentation",style:a},i))}const yG=w.forwardRef(M0e);function $G(e){let{layoutInfo:t,virtualizer:r,ref:n}=e,i=O.useCallback(()=>{let a=B0e(n.current);r.updateItemSize(t.key,a)},[r,t.key,n]);return wt(()=>{t.estimatedSize&&i()}),{updateSize:i}}function B0e(e){let t=e.style.height;e.style.height="";let r=new $s(e.scrollWidth,e.scrollHeight);return e.style.height=t,r}function JR(e){let{className:t,layoutInfo:r,virtualizer:n,parent:i,children:a}=e,{direction:l}=yr(),s=O.useRef();return $G({layoutInfo:r,virtualizer:n,ref:s}),w.createElement("div",{role:"presentation",ref:s,className:t,style:Qv(r,l,i)},a)}let N_=new WeakMap;function Qv(e,t,r){let n=t==="rtl"?"right":"left",i=N_.get(e);if(i&&i[n]!=null){if(!r)return i;let l=e.rect.y-r.rect.y,s=e.rect.x-r.rect.x;if(i.top===l&&i[n]===s)return i}let a={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",top:e.rect.y-(r?r.rect.y:0),[n]:e.rect.x-(r?r.rect.x:0),transition:"all",WebkitTransition:"all",WebkitTransitionDuration:"inherit",transitionDuration:"inherit",width:e.rect.width,height:e.rect.height,opacity:e.opacity,zIndex:e.zIndex,transform:e.transform,contain:"size layout style"};return N_.set(e,a),a}function _0e(e,t){let{children:r,renderWrapper:n,layout:i,collection:a,sizeToFit:l,scrollDirection:s,transitionDuration:u,isLoading:c,onLoadMore:d,focusedKey:f,shouldUseVirtualFocus:h,scrollToItem:p,autoFocus:m,...g}=e,b=O.useRef();t=t||b;let v=gG({transitionDuration:u,layout:i,collection:a,renderView:r,renderWrapper:n||L0e,onVisibleRectChange(S){t.current.scrollLeft=S.x,t.current.scrollTop=S.y}}),{virtualizerProps:y,scrollViewProps:$}=OG(e,v,t);return w.createElement(yG,{...$e(g,y,$),ref:t,innerStyle:v.isAnimating?{transition:`none ${v.virtualizer.transitionDuration}ms`}:void 0,contentSize:v.contentSize,onScrollStart:v.startScrolling,onScrollEnd:v.endScrolling,sizeToFit:l,scrollDirection:s},v.visibleViews)}function OG(e,t,r){let{focusedKey:n,scrollToItem:i,shouldUseVirtualFocus:a,isLoading:l,onLoadMore:s}=e,{virtualizer:u}=t,c=O.useRef(null),d=O.useRef(!1),f=O.useRef(e.autoFocus);O.useEffect(()=>{if(u.visibleRect.height===0)return;let $=vs();n!==c.current&&($!=="pointer"||f.current)&&(f.current=!1,i?i(n):u.scrollToItem(n,{duration:0})),c.current=n},[n,u.visibleRect.height,u,c,i,r]),u.persistedKeys=O.useMemo(()=>n?new Set([n]):new Set,[n]);let h=O.useCallback($=>{let S=vs();!d.current&&r.current.contains($.target)&&S!=="pointer"&&(i?i(n):u.scrollToItem(n,{duration:0})),d.current=$.target!==r.current},[r,u,n,i]),p=O.useCallback($=>{d.current=r.current.contains($.relatedTarget)},[r]),m;a||(m=n!=null?-1:0,u.collection.size===0&&e.tabIndex!=null&&(m=e.tabIndex));let g=O.useRef(l),b=O.useRef(e),v=O.useCallback($=>{if(t.setVisibleRect($),!g.current&&s){let S=t.virtualizer.contentSize.height-$.height*2;$.y>S&&(g.current=!0,s())}},[s,t]),y=O.useRef(0);return wt(()=>{if(t.isAnimating)return;let $=g.current;e!==b.current&&(g.current=l,b.current=e),!g.current&&s&&t.contentSize.height>0&&t.contentSize.height<=t.virtualizer.visibleRect.height&&($||t.contentSize.height!==y.current)&&(g.current=!0,s()),y.current=t.contentSize.height},[t.contentSize,t.isAnimating,t.virtualizer,l,s,e]),{virtualizerProps:{tabIndex:m,onFocus:h,onBlur:p},scrollViewProps:{onVisibleRectChange:v}}}const N0e=w.forwardRef(_0e);function L0e(e,t){return w.createElement(JR,{key:t.key,layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e==null?void 0:e.layoutInfo},t.rendered)}function Ti(e){return e&&e.__esModule?e.default:e}function ct(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var xG={};xG={"ar-AE":MY,"bg-BG":BY,"cs-CZ":_Y,"da-DK":NY,"de-DE":LY,"el-GR":QY,"en-US":VY,"es-ES":zY,"et-EE":jY,"fi-FI":WY,"fr-FR":ZY,"he-IL":UY,"hr-HR":qY,"hu-HU":HY,"it-IT":KY,"ja-JP":YY,"ko-KR":GY,"lt-LT":XY,"lv-LV":JY,"nb-NO":eG,"nl-NL":tG,"pl-PL":rG,"pt-BR":nG,"pt-PT":iG,"ro-RO":aG,"ru-RU":lG,"sk-SK":oG,"sl-SI":sG,"sr-SP":uG,"sv-SE":cG,"tr-TR":dG,"uk-UA":fG,"zh-CN":hG,"zh-TW":pG};const eI=w.createContext(null);var ze={};ct(ze,"checkmark",()=>Iw,e=>Iw=e);ct(ze,"chevron",()=>Mw,e=>Mw=e);ct(ze,"description",()=>Bw,e=>Bw=e);ct(ze,"end",()=>_w,e=>_w=e);ct(ze,"focus-ring",()=>Nw,e=>Nw=e);ct(ze,"i18nFontFamily",()=>Lw,e=>Lw=e);ct(ze,"icon",()=>Qw,e=>Qw=e);ct(ze,"is-active",()=>Vw,e=>Vw=e);ct(ze,"is-disabled",()=>zw,e=>zw=e);ct(ze,"is-expanded",()=>jw,e=>jw=e);ct(ze,"is-focused",()=>Ww,e=>Ww=e);ct(ze,"is-highlighted",()=>Zw,e=>Zw=e);ct(ze,"is-hovered",()=>Uw,e=>Uw=e);ct(ze,"is-open",()=>qw,e=>qw=e);ct(ze,"is-selectable",()=>Hw,e=>Hw=e);ct(ze,"is-selected",()=>Kw,e=>Kw=e);ct(ze,"keyboard",()=>Yw,e=>Yw=e);ct(ze,"spectrum-FocusRing-ring",()=>Vv,e=>Vv=e);ct(ze,"spectrum-FocusRing",()=>Gw,e=>Gw=e);ct(ze,"spectrum-FocusRing--quiet",()=>Xw,e=>Xw=e);ct(ze,"spectrum-Icon",()=>Jw,e=>Jw=e);ct(ze,"spectrum-Menu",()=>e8,e=>e8=e);ct(ze,"spectrum-Menu-avatar",()=>t8,e=>t8=e);ct(ze,"spectrum-Menu-checkmark",()=>r8,e=>r8=e);ct(ze,"spectrum-Menu-chevron",()=>n8,e=>n8=e);ct(ze,"spectrum-Menu-description",()=>i8,e=>i8=e);ct(ze,"spectrum-Menu-divider",()=>a8,e=>a8=e);ct(ze,"spectrum-Menu-end",()=>l8,e=>l8=e);ct(ze,"spectrum-Menu-icon",()=>o8,e=>o8=e);ct(ze,"spectrum-Menu-item",()=>s8,e=>s8=e);ct(ze,"spectrum-Menu-itemGrid",()=>u8,e=>u8=e);ct(ze,"spectrum-Menu-itemIcon",()=>c8,e=>c8=e);ct(ze,"spectrum-Menu-itemLabel",()=>d8,e=>d8=e);ct(ze,"spectrum-Menu-itemLabel--wrapping",()=>f8,e=>f8=e);ct(ze,"spectrum-Menu-keyboard",()=>h8,e=>h8=e);ct(ze,"spectrum-Menu-popover",()=>p8,e=>p8=e);ct(ze,"spectrum-Menu-section--isFirst",()=>m8,e=>m8=e);ct(ze,"spectrum-Menu-section--isLast",()=>g8,e=>g8=e);ct(ze,"spectrum-Menu-section--noHeading",()=>v8,e=>v8=e);ct(ze,"spectrum-Menu-sectionHeading",()=>b8,e=>b8=e);ct(ze,"spectrum-Menu-subdialog",()=>y8,e=>y8=e);ct(ze,"spectrum-Menu-wrapper",()=>$8,e=>$8=e);ct(ze,"spectrum-Menu-wrapper--isMobile",()=>O8,e=>O8=e);ct(ze,"spectrum-Submenu-heading",()=>x8,e=>x8=e);ct(ze,"spectrum-Submenu-headingWrapper",()=>S8,e=>S8=e);ct(ze,"spectrum-Submenu-popover",()=>w8,e=>w8=e);ct(ze,"spectrum-Submenu-wrapper",()=>k8,e=>k8=e);ct(ze,"text",()=>C8,e=>C8=e);var Iw,Mw,Bw,_w,Nw,Lw,Qw,Vw,zw,jw,Ww,Zw,Uw,qw,Hw,Kw,Yw,Vv,Gw,Xw,Jw,e8,t8,r8,n8,i8,a8,l8,o8,s8,u8,c8,d8,f8,h8,p8,m8,g8,v8,b8,y8,$8,O8,x8,S8,w8,k8,C8;Iw="Q7FggG_checkmark";Mw="Q7FggG_chevron";Bw="Q7FggG_description";_w="Q7FggG_end";Nw="Q7FggG_focus-ring";Lw="Q7FggG_i18nFontFamily";Qw="Q7FggG_icon";Vw="Q7FggG_is-active";zw="Q7FggG_is-disabled";jw="Q7FggG_is-expanded";Ww="Q7FggG_is-focused";Zw="Q7FggG_is-highlighted";Uw="Q7FggG_is-hovered";qw="Q7FggG_is-open";Hw="Q7FggG_is-selectable";Kw="Q7FggG_is-selected";Yw="Q7FggG_keyboard";Vv="Q7FggG_spectrum-FocusRing-ring";Gw=`Q7FggG_spectrum-FocusRing ${Vv}`;Xw="Q7FggG_spectrum-FocusRing--quiet";Jw="Q7FggG_spectrum-Icon";e8="Q7FggG_spectrum-Menu";t8="Q7FggG_spectrum-Menu-avatar";r8="Q7FggG_spectrum-Menu-checkmark";n8="Q7FggG_spectrum-Menu-chevron";i8="Q7FggG_spectrum-Menu-description";a8="Q7FggG_spectrum-Menu-divider";l8="Q7FggG_spectrum-Menu-end";o8="Q7FggG_spectrum-Menu-icon";s8="Q7FggG_spectrum-Menu-item";u8="Q7FggG_spectrum-Menu-itemGrid";c8="Q7FggG_spectrum-Menu-itemIcon";d8="Q7FggG_spectrum-Menu-itemLabel";f8="Q7FggG_spectrum-Menu-itemLabel--wrapping";h8="Q7FggG_spectrum-Menu-keyboard";p8="Q7FggG_spectrum-Menu-popover";m8="Q7FggG_spectrum-Menu-section--isFirst";g8="Q7FggG_spectrum-Menu-section--isLast";v8="Q7FggG_spectrum-Menu-section--noHeading";b8="Q7FggG_spectrum-Menu-sectionHeading";y8="Q7FggG_spectrum-Menu-subdialog";$8="Q7FggG_spectrum-Menu-wrapper";O8="Q7FggG_spectrum-Menu-wrapper--isMobile";x8="Q7FggG_spectrum-Submenu-heading";S8="Q7FggG_spectrum-Submenu-headingWrapper";w8="Q7FggG_spectrum-Submenu-popover";k8="Q7FggG_spectrum-Submenu-wrapper";C8="Q7FggG_text";function Q0e(e){let{item:t,shouldSelectOnPressUp:r,shouldFocusOnHover:n,shouldUseVirtualFocus:i}=e,{rendered:a,key:l}=t,s=t.props.href?"a":"div",u=O.useContext(eI),c=O.useRef(),{optionProps:d,labelProps:f,descriptionProps:h,isSelected:p,isDisabled:m,isFocused:g}=b0e({"aria-label":t["aria-label"],key:l,shouldSelectOnPressUp:r,shouldFocusOnHover:n,isVirtualized:!0,shouldUseVirtualFocus:i},u,c),{hoverProps:b,isHovered:v}=Er({...e,isDisabled:m}),y=typeof a=="string"?w.createElement(Hh,null,a):a,$=Oo();return w.createElement(_r,{focusRingClass:z(Ti(ze),"focus-ring")},w.createElement(s,{...$e(d,n?{}:b),ref:c,className:z(Ti(ze),"spectrum-Menu-item",{"is-focused":i&&g&&$,"is-disabled":m,"is-selected":p,"is-selectable":u.selectionManager.selectionMode!=="none","is-hovered":v&&!n||g&&!$})},w.createElement(HR,{UNSAFE_className:z(Ti(ze),"spectrum-Menu-itemGrid")},w.createElement(R1,null,w.createElement(Ma,{slots:{text:{UNSAFE_className:Ti(ze)["spectrum-Menu-itemLabel"],...f},icon:{size:"S",UNSAFE_className:Ti(ze)["spectrum-Menu-icon"]},avatar:{size:"avatar-size-100",UNSAFE_className:Ti(ze)["spectrum-Menu-avatar"]},description:{UNSAFE_className:Ti(ze)["spectrum-Menu-description"],...h}}},y,p&&w.createElement(W1,{slot:"checkmark",UNSAFE_className:z(Ti(ze),"spectrum-Menu-checkmark")}))))))}function V0e(e){let{children:t,layoutInfo:r,headerLayoutInfo:n,virtualizer:i,item:a}=e,{headingProps:l,groupProps:s}=y0e({heading:a.rendered,"aria-label":a["aria-label"]}),u=O.useRef();$G({layoutInfo:n,virtualizer:i,ref:u});let{direction:c}=yr(),d=O.useContext(eI);return w.createElement(O.Fragment,null,w.createElement("div",{role:"presentation",ref:u,style:Qv(n,c)},a.key!==d.collection.getFirstKey()&&w.createElement("div",{role:"presentation",className:z(Ti(ze),"spectrum-Menu-divider")}),a.rendered&&w.createElement("div",{...l,className:z(Ti(ze),"spectrum-Menu-sectionHeading")},a.rendered)),w.createElement("div",{...s,style:Qv(r,c),className:z(Ti(ze),"spectrum-Menu")},t))}function tI(e,t){let{scale:r}=Gn(),n=md({usage:"search",sensitivity:"base"}),i=O.useMemo(()=>new vG({estimatedRowHeight:r==="large"?48:32,estimatedHeadingHeight:r==="large"?33:26,padding:r==="large"?5:4,loaderHeight:40,placeholderHeight:r==="large"?48:32,collator:n}),[n,r]);return i.collection=e.collection,i.disabledKeys=e.disabledKeys,wt(()=>{if(i.isLoading!==t){var a;i.isLoading=t,(a=i.virtualizer)===null||a===void 0||a.relayoutNow()}},[i,t]),i}function z0e(e,t){let{layout:r,state:n,shouldSelectOnPressUp:i,focusOnPointerEnter:a,shouldUseVirtualFocus:l,domProps:s={},transitionDuration:u=0,onScroll:c}=e,{listBoxProps:d}=v0e({...e,keyboardDelegate:r,isVirtualized:!0},n,t),{styleProps:f}=Nt(e),h=lr(Ti(xG),"@react-spectrum/listbox"),p=(m,g,b,v)=>g.viewType==="section"?w.createElement(V0e,{key:g.key,item:g.content,layoutInfo:g.layoutInfo,virtualizer:g.virtualizer,headerLayoutInfo:b.find(y=>y.viewType==="header").layoutInfo},v(b.filter(y=>y.viewType==="item"))):w.createElement(JR,{key:g.key,layoutInfo:g.layoutInfo,virtualizer:g.virtualizer,parent:m==null?void 0:m.layoutInfo},g.rendered);return w.createElement(eI.Provider,{value:n},w.createElement(Zh,null,w.createElement(N0e,{...f,...$e(d,s),ref:t,focusedKey:n.selectionManager.focusedKey,autoFocus:!!e.autoFocus,sizeToFit:"height",scrollDirection:"vertical",className:z(Ti(ze),"spectrum-Menu",f.className),layout:r,collection:n.collection,renderWrapper:p,transitionDuration:u,isLoading:e.isLoading,onLoadMore:e.onLoadMore,shouldUseVirtualFocus:l,onScroll:c},(m,g)=>{if(m==="item")return w.createElement(Q0e,{item:g,shouldSelectOnPressUp:i,shouldFocusOnHover:a,shouldUseVirtualFocus:l});if(m==="loader")return w.createElement("div",{role:"option",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},w.createElement(gd,{isIndeterminate:!0,size:"S","aria-label":n.collection.size>0?h.format("loadingMore"):h.format("loading"),UNSAFE_className:z(Ti(ze),"spectrum-Dropdown-progressCircle")}));if(m==="placeholder"){let b=e.renderEmptyState?e.renderEmptyState():null;return b==null?null:w.createElement("div",{role:"option"},b)}})))}const rI=w.forwardRef(z0e);function K1(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:a=!1,type:l="text",validationBehavior:s="aria"}=e,[u,c]=ca(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=Ms(e,t),f=Bs({...e,value:u}),{isInvalid:h,validationErrors:p,validationDetails:m}=f.displayValidation,{labelProps:g,fieldProps:b,descriptionProps:v,errorMessageProps:y}=qh({...e,isInvalid:h,errorMessage:e.errorMessage||p}),$=Kt(e,{labelable:!0});const S={type:l,pattern:e.pattern};return Du(t,u,c),Jh(e,f,t),O.useEffect(()=>{if(t.current instanceof oh(t.current).HTMLTextAreaElement){let k=t.current;Object.defineProperty(k,"defaultValue",{get:()=>k.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:$e($,r==="input"&&S,{disabled:n,readOnly:a,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:u,onChange:k=>c(k.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,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,...b}),descriptionProps:v,errorMessageProps:y,isInvalid:h,validationErrors:p,validationDetails:m}}function L_(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function j0e(e,t,r){let n=Qr(f=>{let h=r.current,p;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":p=h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentForward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd+1):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentBackward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart-1)+h.value.slice(h.selectionStart):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":p=h.value.slice(h.selectionStart);break;default:f.data!=null&&(p=h.value.slice(0,h.selectionStart)+f.data+h.value.slice(h.selectionEnd));break}(p==null||!t.validate(p))&&f.preventDefault()});O.useEffect(()=>{if(!L_())return;let f=r.current;return f.addEventListener("beforeinput",n,!1),()=>{f.removeEventListener("beforeinput",n,!1)}},[r,n]);let i=L_()?null:f=>{let h=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(h)||f.preventDefault()},{labelProps:a,inputProps:l,descriptionProps:s,errorMessageProps:u,...c}=K1(e,r),d=O.useRef(null);return{inputProps:$e(l,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:h,selectionEnd:p}=r.current;d.current={value:f,selectionStart:h,selectionEnd:p}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:h,selectionEnd:p}=d.current;r.current.value=f,r.current.setSelectionRange(h,p),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:u,...c}}function jd(e){return e&&e.__esModule?e.default:e}function Jr(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var gr={};Jr(gr,"focus-ring",()=>E8,e=>E8=e);Jr(gr,"i18nFontFamily",()=>zv,e=>zv=e);Jr(gr,"is-disabled",()=>P8,e=>P8=e);Jr(gr,"is-focused",()=>F8,e=>F8=e);Jr(gr,"is-hovered",()=>A8,e=>A8=e);Jr(gr,"is-placeholder",()=>D8,e=>D8=e);Jr(gr,"spectrum-FocusRing-ring",()=>jv,e=>jv=e);Jr(gr,"spectrum-FocusRing",()=>Wv,e=>Wv=e);Jr(gr,"spectrum-FocusRing--quiet",()=>Zv,e=>Zv=e);Jr(gr,"spectrum-Textfield",()=>T8,e=>T8=e);Jr(gr,"spectrum-Textfield--invalid",()=>R8,e=>R8=e);Jr(gr,"spectrum-Textfield--loadable",()=>I8,e=>I8=e);Jr(gr,"spectrum-Textfield--multiline",()=>M8,e=>M8=e);Jr(gr,"spectrum-Textfield--quiet",()=>B8,e=>B8=e);Jr(gr,"spectrum-Textfield--valid",()=>_8,e=>_8=e);Jr(gr,"spectrum-Textfield-circleLoader",()=>N8,e=>N8=e);Jr(gr,"spectrum-Textfield-icon",()=>L8,e=>L8=e);Jr(gr,"spectrum-Textfield-input",()=>Q8,e=>Q8=e);Jr(gr,"spectrum-Textfield-inputIcon",()=>V8,e=>V8=e);Jr(gr,"spectrum-Textfield-validationIcon",()=>z8,e=>z8=e);Jr(gr,"spectrum-Textfield-wrapper",()=>j8,e=>j8=e);Jr(gr,"spectrum-Textfield-wrapper--quiet",()=>W8,e=>W8=e);var E8,zv,P8,F8,A8,D8,jv,Wv,Zv,T8,R8,I8,M8,B8,_8,N8,L8,Q8,V8,z8,j8,W8;E8="YO3Nla_focus-ring";zv="YO3Nla_i18nFontFamily";P8="YO3Nla_is-disabled";F8="YO3Nla_is-focused";A8="YO3Nla_is-hovered";D8="YO3Nla_is-placeholder";jv="YO3Nla_spectrum-FocusRing-ring";Wv=`YO3Nla_spectrum-FocusRing ${jv}`;Zv="YO3Nla_spectrum-FocusRing--quiet";T8=`YO3Nla_spectrum-Textfield ${Wv}`;R8="YO3Nla_spectrum-Textfield--invalid";I8="YO3Nla_spectrum-Textfield--loadable";M8="YO3Nla_spectrum-Textfield--multiline";B8=`YO3Nla_spectrum-Textfield--quiet ${Zv}`;_8="YO3Nla_spectrum-Textfield--valid";N8="YO3Nla_spectrum-Textfield-circleLoader";L8="YO3Nla_spectrum-Textfield-icon";Q8=`YO3Nla_spectrum-Textfield-input ${zv}`;V8="YO3Nla_spectrum-Textfield-inputIcon";z8="YO3Nla_spectrum-Textfield-validationIcon";j8="YO3Nla_spectrum-Textfield-wrapper";W8="YO3Nla_spectrum-Textfield-wrapper--quiet";function W0e(e,t){let{validationState:r=e.isInvalid?"invalid":null,icon:n,isQuiet:i=!1,isDisabled:a,multiLine:l,autoFocus:s,inputClassName:u,wrapperChildren:c,labelProps:d,inputProps:f,descriptionProps:h,errorMessageProps:p,inputRef:m,isLoading:g,loadingIndicator:b,validationIconClassName:v,disableFocusRing:y}=e,{hoverProps:$,isHovered:S}=Er({isDisabled:a}),k=O.useRef(null),C=O.useRef(null),F=m||C;O.useImperativeHandle(t,()=>({...rU(k,F),select(){F.current&&F.current.select()},getInputElement(){return F.current}}));let E=l?"textarea":"input",M=r==="invalid"&&!a;if(n){let V=z(jd(gr),n.props&&n.props.UNSAFE_className,"spectrum-Textfield-icon");n=O.cloneElement(n,{UNSAFE_className:V,size:"S"})}let D=M?w.createElement(U1,null):w.createElement(W1,null),T=O.cloneElement(D,{UNSAFE_className:z(jd(gr),"spectrum-Textfield-validationIcon",v)}),{focusProps:B,isFocusVisible:R}=Hc({isTextInput:!0,autoFocus:s}),_=w.createElement("div",{className:z(jd(gr),"spectrum-Textfield",{"spectrum-Textfield--invalid":M,"spectrum-Textfield--valid":r==="valid"&&!a,"spectrum-Textfield--loadable":b,"spectrum-Textfield--quiet":i,"spectrum-Textfield--multiline":l,"focus-ring":!y&&R})},w.createElement(E,{...$e(f,$,B),ref:F,rows:l?1:void 0,className:z(jd(gr),"spectrum-Textfield-input",{"spectrum-Textfield-inputIcon":n,"is-hovered":S},u)}),n,r&&!g&&!a?T:null,g&&b,c);return w.createElement(Mu,{...e,labelProps:d,descriptionProps:h,errorMessageProps:p,wrapperClassName:z(jd(gr),"spectrum-Textfield-wrapper",{"spectrum-Textfield-wrapper--quiet":i}),showErrorIcon:!1,ref:k},_)}const ep=O.forwardRef(W0e);function Z0e(e,t){e=Fn(e),e=Io(e);let{isDisabled:r=!1,isQuiet:n=!1,isReadOnly:i=!1,isRequired:a=!1,onChange:l,...s}=e;var u;let[c,d]=ca(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:"",()=>{}),f=O.useRef(null),h=O.useCallback(()=>{if((n||!e.height)&&f.current){let m=f.current,g=m.style.alignSelf,b=m.style.overflow;"MozAppearance"in m.style||(m.style.overflow="hidden"),m.style.alignSelf="start",m.style.height="auto",m.style.height=`${m.scrollHeight+(m.offsetHeight-m.clientHeight)}px`,m.style.overflow=b,m.style.alignSelf=g}},[n,f,e.height]);wt(()=>{f.current&&h()},[h,c,f]),e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/TextArea.html#help-text");let p=K1({...e,onChange:yo(l,d),inputElementType:"textarea"},f);return w.createElement(ep,{...s,ref:t,inputRef:f,...p,multiLine:!0,isDisabled:r,isQuiet:n,isReadOnly:i,isRequired:a})}let U0e=w.forwardRef(Z0e);function q0e(e,t){e=Fn(e),e=Io(e);let r=O.useRef(null),n=K1(e,r);return e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/TextField.html#help-text"),w.createElement(ep,{...e,...n,ref:t,inputRef:r})}const H0e=O.forwardRef(q0e);var SG={};SG={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var wG={};wG={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var kG={};kG={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var CG={};CG={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var EG={};EG={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var PG={};PG={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var FG={};FG={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var AG={};AG={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var DG={};DG={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var TG={};TG={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var RG={};RG={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} saisi, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var IG={};IG={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var MG={};MG={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var BG={};BG={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var _G={};_G={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var NG={};NG={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var LG={};LG={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var QG={};QG={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var VG={};VG={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var zG={};zG={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var jG={};jG={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var WG={};WG={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var ZG={};ZG={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var UG={};UG={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var qG={};qG={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var HG={};HG={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var KG={};KG={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var YG={};YG={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var GG={};GG={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var XG={};XG={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var JG={};JG={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var eX={};eX={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var tX={};tX={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var rX={};rX={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};function K0e(e){return e&&e.__esModule?e.default:e}var nX={};nX={"ar-AE":SG,"bg-BG":wG,"cs-CZ":kG,"da-DK":CG,"de-DE":EG,"el-GR":PG,"en-US":FG,"es-ES":AG,"et-EE":DG,"fi-FI":TG,"fr-FR":RG,"he-IL":IG,"hr-HR":MG,"hu-HU":BG,"it-IT":_G,"ja-JP":NG,"ko-KR":LG,"lt-LT":QG,"lv-LV":VG,"nb-NO":zG,"nl-NL":jG,"pl-PL":WG,"pt-BR":ZG,"pt-PT":UG,"ro-RO":qG,"ru-RU":HG,"sk-SK":KG,"sl-SI":YG,"sr-SP":GG,"sv-SE":XG,"tr-TR":JG,"uk-UA":eX,"zh-CN":tX,"zh-TW":rX};function iX(e,t){let{buttonRef:r,popoverRef:n,inputRef:i,listBoxRef:a,keyboardDelegate:l,shouldFocusWrap:s,isReadOnly:u,isDisabled:c}=e,d=lr(K0e(nX),"@react-aria/combobox"),{menuTriggerProps:f,menuProps:h}=WR({type:"listbox",isDisabled:c||u},t,r);H1.set(t,{id:h.id});let p=O.useMemo(()=>l||new jR(t.collection,t.disabledKeys,a),[l,t.collection,t.disabledKeys,a]),{collectionProps:m}=zR({selectionManager:t.selectionManager,keyboardDelegate:p,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:i,isVirtualized:!0}),g=Qh(),b=se=>{switch(se.key){case"Enter":case"Tab":if(t.isOpen&&se.key==="Enter"&&se.preventDefault(),t.isOpen&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){if(se.key==="Enter"){let Ce=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);Ce instanceof HTMLAnchorElement&&g.open(Ce,se)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&se.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},v=se=>{var Ce;se.relatedTarget===(r==null?void 0:r.current)||!((Ce=n.current)===null||Ce===void 0)&&Ce.contains(se.relatedTarget)||(e.onBlur&&e.onBlur(se),t.setFocused(!1))},y=se=>{t.isFocused||(e.onFocus&&e.onFocus(se),t.setFocused(!0))},{isInvalid:$,validationErrors:S,validationDetails:k}=t.displayValidation,{labelProps:C,inputProps:F,descriptionProps:E,errorMessageProps:M}=K1({...e,onChange:t.setInputValue,onKeyDown:u?e.onKeyDown:yo(t.isOpen&&m.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:y,autoComplete:"off",validate:void 0,[dh]:t},i),D=se=>{se.pointerType==="touch"&&(i.current.focus(),t.toggle(null,"manual"))},T=se=>{se.pointerType!=="touch"&&(i.current.focus(),t.toggle(se.pointerType==="keyboard"||se.pointerType==="virtual"?"first":null,"manual"))},B=sh({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||C.id}),R=sh({id:h.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||C.id}),_=O.useRef(0),V=se=>{if(c||u)return;if(se.timeStamp-_.current<500){se.preventDefault(),i.current.focus();return}let Ce=se.target.getBoundingClientRect(),tt=se.changedTouches[0],Qe=Math.ceil(Ce.left+.5*Ce.width),Te=Math.ceil(Ce.top+.5*Ce.height);tt.clientX===Qe&&tt.clientY===Te&&(se.preventDefault(),i.current.focus(),t.toggle(null,"manual"),_.current=se.timeStamp)},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var Z;let q=(Z=j==null?void 0:j.parentKey)!==null&&Z!==void 0?Z:null;var U;let A=(U=t.selectionManager.focusedKey)!==null&&U!==void 0?U:null,W=O.useRef(q),Q=O.useRef(A);O.useEffect(()=>{if(Af()&&j!=null&&A!==Q.current){let se=t.selectionManager.isSelected(A),Ce=q!=null?t.collection.getItem(q):null,tt=(Ce==null?void 0:Ce["aria-label"])||(typeof(Ce==null?void 0:Ce.rendered)=="string"?Ce.rendered:"")||"",Qe=d.format("focusAnnouncement",{isGroupChange:Ce&&q!==W.current,groupTitle:tt,groupCount:Ce?[...pr(Ce,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:se});Ac(Qe)}W.current=q,Q.current=A});let I=wR(t.collection),H=O.useRef(I),ee=O.useRef(t.isOpen);O.useEffect(()=>{let se=t.isOpen!==ee.current&&(t.selectionManager.focusedKey==null||Af());if(t.isOpen&&(se||I!==H.current)){let Ce=d.format("countAnnouncement",{optionCount:I});Ac(Ce)}H.current=I,ee.current=t.isOpen});let ue=O.useRef(t.selectedKey);return O.useEffect(()=>{if(Af()&&t.isFocused&&t.selectedItem&&t.selectedKey!==ue.current){let se=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",Ce=d.format("selectedAnnouncement",{optionText:se});Ac(Ce)}ue.current=t.selectedKey}),O.useEffect(()=>{if(t.isOpen)return NR([i.current,n.current])},[t.isOpen,i,n]),{labelProps:C,buttonProps:{...f,...B,excludeFromTabOrder:!0,onPress:D,onPressStart:T,isDisabled:c||u},inputProps:$e(F,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?h.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?mG(t,j.key):void 0,onTouchEnd:V,autoCorrect:"off",spellCheck:"false"}),listBoxProps:$e(h,R,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:E,errorMessageProps:M,isInvalid:$,validationErrors:S,validationDetails:k}}function aX(e){var t,r;let{defaultFilter:n,menuTrigger:i="input",allowsEmptyCollection:a=!1,allowsCustomValue:l,shouldCloseOnBlur:s=!0}=e,[u,c]=O.useState(!1),[d,f]=O.useState(!1),[h,p]=O.useState(null),m=be=>{e.onSelectionChange&&e.onSelectionChange(be),be===y&&(H(),W())};var g;let{collection:b,selectionManager:v,selectedKey:y,setSelectedKey:$,selectedItem:S,disabledKeys:k}=QH({...e,onSelectionChange:m,items:(g=e.items)!==null&&g!==void 0?g:e.defaultItems});var C,F;let[E,M]=ca(e.inputValue,(F=(C=e.defaultInputValue)!==null&&C!==void 0?C:(t=b.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&F!==void 0?F:"",e.onInputChange),D=b,T=O.useMemo(()=>e.items!=null||!n?b:Y0e(b,E,n),[b,E,n,e.items]),[B,R]=O.useState(T),_=O.useRef("focus"),j=Yh({...e,onOpenChange:be=>{e.onOpenChange&&e.onOpenChange(be,be?_.current:void 0),v.setFocused(be),be||v.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),Z=(be=null,Se)=>{let Oe=Se==="manual"||Se==="focus"&&i==="focus";(a||T.size>0||Oe&&D.size>0||e.items)&&(Oe&&!j.isOpen&&e.items===void 0&&c(!0),_.current=Se,p(be),j.open())},q=(be=null,Se)=>{let Oe=Se==="manual"||Se==="focus"&&i==="focus";!(a||T.size>0||Oe&&D.size>0||e.items)&&!j.isOpen||(Oe&&!j.isOpen&&e.items===void 0&&c(!0),j.isOpen||(_.current=Se),A(be))},U=O.useCallback(()=>{R(u?D:T)},[u,D,T]),A=O.useCallback((be=null)=>{j.isOpen&&U(),p(be),j.toggle()},[j,U]),W=O.useCallback(()=>{j.isOpen&&(U(),j.close())},[j,U]),[Q,I]=O.useState(E),H=()=>{var be,Se;let Oe=(Se=(be=b.getItem(y))===null||be===void 0?void 0:be.textValue)!==null&&Se!==void 0?Se:"";I(Oe),M(Oe)};var ee,ue;let se=O.useRef((ue=(ee=e.selectedKey)!==null&&ee!==void 0?ee:e.defaultSelectedKey)!==null&&ue!==void 0?ue:null);var Ce;let tt=O.useRef((Ce=(r=b.getItem(y))===null||r===void 0?void 0:r.textValue)!==null&&Ce!==void 0?Ce:"");O.useEffect(()=>{var be;d&&(T.size>0||a)&&!j.isOpen&&E!==Q&&i!=="manual"&&Z(null,"input"),!u&&!a&&j.isOpen&&T.size===0&&W(),y!=null&&y!==se.current&&W(),E!==Q&&(v.setFocusedKey(null),c(!1),E===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&$(null)),y!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?H():Q!==E&&I(E);var Se;let Oe=(Se=(be=b.getItem(y))===null||be===void 0?void 0:be.textValue)!==null&&Se!==void 0?Se:"";!d&&y!=null&&e.inputValue===void 0&&y===se.current&&tt.current!==Oe&&(I(Oe),M(Oe)),se.current=y,tt.current=Oe});let Qe=Bs({...e,value:O.useMemo(()=>({inputValue:E,selectedKey:y}),[E,y])}),Te=()=>{l&&y==null?Ie():At()},Ie=()=>{se.current=null,$(null),W()},At=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var be;e.onSelectionChange(y);var Se;let Oe=(Se=(be=b.getItem(y))===null||be===void 0?void 0:be.textValue)!==null&&Se!==void 0?Se:"";I(Oe),W()}else H(),W()};const pt=()=>{if(l){var be,Se;const Oe=(Se=(be=b.getItem(y))===null||be===void 0?void 0:be.textValue)!==null&&Se!==void 0?Se:"";E===Oe?At():Ie()}else At()};let dr=()=>{j.isOpen&&v.focusedKey!=null?y===v.focusedKey?At():$(v.focusedKey):pt()},Lt=O.useRef(E),fr=be=>{be?(Lt.current=E,i==="focus"&&Z(null,"focus")):(s&&pt(),E!==Lt.current&&Qe.commitValidation()),f(be)},yt=O.useMemo(()=>j.isOpen?u?D:T:B,[j.isOpen,D,T,u,B]);return{...Qe,...j,focusStrategy:h,toggle:q,open:Z,close:pt,selectionManager:v,selectedKey:y,setSelectedKey:$,disabledKeys:k,isFocused:d,setFocused:fr,selectedItem:S,collection:yt,inputValue:E,setInputValue:M,commit:dr,revert:Te}}function Y0e(e,t,r){return new dS(lX(e,e,t,r))}function lX(e,t,r,n){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let l=lX(e,pr(a,e),r,n);[...l].some(s=>s.type==="item")&&i.push({...a,childNodes:l})}else a.type==="item"&&n(a.textValue,r)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}function oX(e,t){let{role:r="dialog"}=e,n=Rl();n=e["aria-label"]?void 0:n;let i=O.useRef(!1);return O.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Rn(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),Rn(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),XU(),{dialogProps:{...Kt(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:n}}}function $t(e){return e&&e.__esModule?e.default:e}function ae(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var In={};ae(In,"has-label",()=>Z8,e=>Z8=e);ae(In,"mobile-combobox",()=>U8,e=>U8=e);ae(In,"mobile-input",()=>q8,e=>q8=e);ae(In,"mobile-value",()=>H8,e=>H8=e);ae(In,"no-results",()=>K8,e=>K8=e);ae(In,"tray-dialog",()=>Y8,e=>Y8=e);ae(In,"tray-listbox",()=>G8,e=>G8=e);ae(In,"tray-textfield",()=>X8,e=>X8=e);ae(In,"tray-textfield-input",()=>J8,e=>J8=e);var Z8,U8,q8,H8,K8,Y8,G8,X8,J8;Z8="P1vhCW_has-label";U8="P1vhCW_mobile-combobox";q8="P1vhCW_mobile-input";H8="P1vhCW_mobile-value";K8="P1vhCW_no-results";Y8="P1vhCW_tray-dialog";G8="P1vhCW_tray-listbox";X8="P1vhCW_tray-textfield";J8="P1vhCW_tray-textfield-input";var tp={};tp={"ar-AE":tY,"bg-BG":rY,"cs-CZ":nY,"da-DK":iY,"de-DE":aY,"el-GR":lY,"en-US":oY,"es-ES":sY,"et-EE":uY,"fi-FI":cY,"fr-FR":dY,"he-IL":fY,"hr-HR":hY,"hu-HU":pY,"it-IT":mY,"ja-JP":gY,"ko-KR":vY,"lt-LT":bY,"lv-LV":yY,"nb-NO":$Y,"nl-NL":OY,"pl-PL":xY,"pt-BR":SY,"pt-PT":wY,"ro-RO":kY,"ru-RU":CY,"sk-SK":EY,"sl-SI":PY,"sr-SP":FY,"sv-SE":AY,"tr-TR":DY,"uk-UA":TY,"zh-CN":RY,"zh-TW":IY};var Ft={};ae(Ft,"focus-ring",()=>e7,e=>e7=e);ae(Ft,"i18nFontFamily",()=>Uv,e=>Uv=e);ae(Ft,"is-active",()=>t7,e=>t7=e);ae(Ft,"is-disabled",()=>r7,e=>r7=e);ae(Ft,"is-focused",()=>n7,e=>n7=e);ae(Ft,"is-hovered",()=>i7,e=>i7=e);ae(Ft,"is-open",()=>a7,e=>a7=e);ae(Ft,"is-placeholder",()=>l7,e=>l7=e);ae(Ft,"is-selected",()=>o7,e=>o7=e);ae(Ft,"spectrum-BaseButton",()=>Os,e=>Os=e);ae(Ft,"spectrum-FocusRing-ring",()=>qv,e=>qv=e);ae(Ft,"spectrum-FocusRing",()=>xs,e=>xs=e);ae(Ft,"spectrum-ActionButton",()=>s7,e=>s7=e);ae(Ft,"spectrum-ActionButton--emphasized",()=>u7,e=>u7=e);ae(Ft,"spectrum-ActionButton--quiet",()=>c7,e=>c7=e);ae(Ft,"spectrum-ActionButton--staticBlack",()=>d7,e=>d7=e);ae(Ft,"spectrum-ActionButton--staticColor",()=>f7,e=>f7=e);ae(Ft,"spectrum-ActionButton--staticWhite",()=>h7,e=>h7=e);ae(Ft,"spectrum-ActionButton-hold",()=>p7,e=>p7=e);ae(Ft,"spectrum-ActionButton-label",()=>m7,e=>m7=e);ae(Ft,"spectrum-Button",()=>g7,e=>g7=e);ae(Ft,"spectrum-Button--iconOnly",()=>v7,e=>v7=e);ae(Ft,"spectrum-Button--overBackground",()=>b7,e=>b7=e);ae(Ft,"spectrum-Button--pending",()=>y7,e=>y7=e);ae(Ft,"spectrum-Button-circleLoader",()=>$7,e=>$7=e);ae(Ft,"spectrum-Button-label",()=>O7,e=>O7=e);ae(Ft,"spectrum-ClearButton",()=>x7,e=>x7=e);ae(Ft,"spectrum-ClearButton--overBackground",()=>S7,e=>S7=e);ae(Ft,"spectrum-ClearButton--small",()=>w7,e=>w7=e);ae(Ft,"spectrum-FieldButton",()=>k7,e=>k7=e);ae(Ft,"spectrum-FieldButton--invalid",()=>C7,e=>C7=e);ae(Ft,"spectrum-FocusRing--quiet",()=>Hv,e=>Hv=e);ae(Ft,"spectrum-FieldButton--quiet",()=>E7,e=>E7=e);ae(Ft,"spectrum-Icon",()=>P7,e=>P7=e);ae(Ft,"spectrum-LogicButton",()=>F7,e=>F7=e);ae(Ft,"spectrum-LogicButton--and",()=>A7,e=>A7=e);ae(Ft,"spectrum-LogicButton--or",()=>D7,e=>D7=e);var e7,Uv,t7,r7,n7,i7,a7,l7,o7,Os,qv,xs,s7,u7,c7,d7,f7,h7,p7,m7,g7,v7,b7,y7,$7,O7,x7,S7,w7,k7,C7,Hv,E7,P7,F7,A7,D7;e7="Dniwja_focus-ring";Uv="Dniwja_i18nFontFamily";t7="Dniwja_is-active";r7="Dniwja_is-disabled";n7="Dniwja_is-focused";i7="Dniwja_is-hovered";a7="Dniwja_is-open";l7="Dniwja_is-placeholder";o7="Dniwja_is-selected";Os=`Dniwja_spectrum-BaseButton ${Uv}`;qv="Dniwja_spectrum-FocusRing-ring";xs=`Dniwja_spectrum-FocusRing ${qv}`;s7=`Dniwja_spectrum-ActionButton ${Os} ${xs}`;u7="Dniwja_spectrum-ActionButton--emphasized";c7="Dniwja_spectrum-ActionButton--quiet";d7="Dniwja_spectrum-ActionButton--staticBlack";f7="Dniwja_spectrum-ActionButton--staticColor";h7="Dniwja_spectrum-ActionButton--staticWhite";p7="Dniwja_spectrum-ActionButton-hold";m7="Dniwja_spectrum-ActionButton-label";g7=`Dniwja_spectrum-Button ${Os} ${xs}`;v7="Dniwja_spectrum-Button--iconOnly";b7="Dniwja_spectrum-Button--overBackground";y7="Dniwja_spectrum-Button--pending";$7="Dniwja_spectrum-Button-circleLoader";O7="Dniwja_spectrum-Button-label";x7=`Dniwja_spectrum-ClearButton ${Os} ${xs}`;S7="Dniwja_spectrum-ClearButton--overBackground";w7="Dniwja_spectrum-ClearButton--small";k7=`Dniwja_spectrum-FieldButton ${Os} ${xs}`;C7="Dniwja_spectrum-FieldButton--invalid";Hv="Dniwja_spectrum-FocusRing--quiet";E7=`Dniwja_spectrum-FieldButton--quiet ${Hv}`;P7="Dniwja_spectrum-Icon";F7=`Dniwja_spectrum-LogicButton ${Os} ${xs}`;A7="Dniwja_spectrum-LogicButton--and";D7="Dniwja_spectrum-LogicButton--or";var Jt={};ae(Jt,"contextualHelp",()=>T7,e=>T7=e);ae(Jt,"field",()=>R7,e=>R7=e);ae(Jt,"focus-ring",()=>I7,e=>I7=e);ae(Jt,"helpText",()=>M7,e=>M7=e);ae(Jt,"i18nFontFamily",()=>B7,e=>B7=e);ae(Jt,"is-disabled",()=>_7,e=>_7=e);ae(Jt,"label",()=>N7,e=>N7=e);ae(Jt,"spectrum-Field",()=>L7,e=>L7=e);ae(Jt,"spectrum-Field--alignEnd",()=>Q7,e=>Q7=e);ae(Jt,"spectrum-Field--hasContextualHelp",()=>V7,e=>V7=e);ae(Jt,"spectrum-Field--positionSide",()=>z7,e=>z7=e);ae(Jt,"spectrum-Field--positionTop",()=>j7,e=>j7=e);ae(Jt,"spectrum-Field-contextualHelp",()=>W7,e=>W7=e);ae(Jt,"spectrum-Field-field",()=>Z7,e=>Z7=e);ae(Jt,"spectrum-Field-labelCell",()=>U7,e=>U7=e);ae(Jt,"spectrum-Field-labelWrapper",()=>q7,e=>q7=e);ae(Jt,"spectrum-Field-wrapper",()=>H7,e=>H7=e);ae(Jt,"spectrum-FieldLabel",()=>K7,e=>K7=e);ae(Jt,"spectrum-FieldLabel--alignEnd",()=>Y7,e=>Y7=e);ae(Jt,"spectrum-FieldLabel--positionSide",()=>G7,e=>G7=e);ae(Jt,"spectrum-FieldLabel-requiredIcon",()=>X7,e=>X7=e);ae(Jt,"spectrum-FocusRing-ring",()=>Kv,e=>Kv=e);ae(Jt,"spectrum-FocusRing",()=>J7,e=>J7=e);ae(Jt,"spectrum-FocusRing--quiet",()=>e9,e=>e9=e);ae(Jt,"spectrum-Form",()=>t9,e=>t9=e);ae(Jt,"spectrum-Form--positionSide",()=>r9,e=>r9=e);ae(Jt,"spectrum-Form--positionTop",()=>n9,e=>n9=e);ae(Jt,"spectrum-Form-itemLabel",()=>i9,e=>i9=e);ae(Jt,"spectrum-LabeledValue",()=>a9,e=>a9=e);var T7,R7,I7,M7,B7,_7,N7,L7,Q7,V7,z7,j7,W7,Z7,U7,q7,H7,K7,Y7,G7,X7,Kv,J7,e9,t9,r9,n9,i9,a9;T7="A-HlBa_contextualHelp";R7="A-HlBa_field";I7="A-HlBa_focus-ring";M7="A-HlBa_helpText";B7="A-HlBa_i18nFontFamily";_7="A-HlBa_is-disabled";N7="A-HlBa_label";L7="A-HlBa_spectrum-Field";Q7="A-HlBa_spectrum-Field--alignEnd";V7="A-HlBa_spectrum-Field--hasContextualHelp";z7="A-HlBa_spectrum-Field--positionSide";j7="A-HlBa_spectrum-Field--positionTop";W7="A-HlBa_spectrum-Field-contextualHelp";Z7="A-HlBa_spectrum-Field-field";U7="A-HlBa_spectrum-Field-labelCell";q7="A-HlBa_spectrum-Field-labelWrapper";H7="A-HlBa_spectrum-Field-wrapper";K7="A-HlBa_spectrum-FieldLabel";Y7="A-HlBa_spectrum-FieldLabel--alignEnd";G7="A-HlBa_spectrum-FieldLabel--positionSide";X7="A-HlBa_spectrum-FieldLabel-requiredIcon";Kv="A-HlBa_spectrum-FocusRing-ring";J7=`A-HlBa_spectrum-FocusRing ${Kv}`;e9="A-HlBa_spectrum-FocusRing--quiet";t9="A-HlBa_spectrum-Form";r9="A-HlBa_spectrum-Form--positionSide";n9="A-HlBa_spectrum-Form--positionTop";i9="A-HlBa_spectrum-Form-itemLabel";a9="A-HlBa_spectrum-LabeledValue";var pn={};ae(pn,"focus-ring",()=>l9,e=>l9=e);ae(pn,"i18nFontFamily",()=>o9,e=>o9=e);ae(pn,"is-quiet",()=>s9,e=>s9=e);ae(pn,"spectrum-ClearButton",()=>u9,e=>u9=e);ae(pn,"spectrum-FocusRing-ring",()=>Yv,e=>Yv=e);ae(pn,"spectrum-FocusRing",()=>c9,e=>c9=e);ae(pn,"spectrum-FocusRing--quiet",()=>d9,e=>d9=e);ae(pn,"spectrum-Search",()=>f9,e=>f9=e);ae(pn,"spectrum-Search--invalid",()=>h9,e=>h9=e);ae(pn,"spectrum-Search--loadable",()=>p9,e=>p9=e);ae(pn,"spectrum-Search--valid",()=>m9,e=>m9=e);ae(pn,"spectrum-Search-circleLoader",()=>g9,e=>g9=e);ae(pn,"spectrum-Search-input",()=>v9,e=>v9=e);ae(pn,"spectrum-Search-validationIcon",()=>b9,e=>b9=e);ae(pn,"spectrum-Textfield",()=>y9,e=>y9=e);var l9,o9,s9,u9,Yv,c9,d9,f9,h9,p9,m9,g9,v9,b9,y9;l9="SOkmSG_focus-ring";o9="SOkmSG_i18nFontFamily";s9="SOkmSG_is-quiet";u9="SOkmSG_spectrum-ClearButton";Yv="SOkmSG_spectrum-FocusRing-ring";c9=`SOkmSG_spectrum-FocusRing ${Yv}`;d9="SOkmSG_spectrum-FocusRing--quiet";f9="SOkmSG_spectrum-Search";h9="SOkmSG_spectrum-Search--invalid";p9="SOkmSG_spectrum-Search--loadable";m9="SOkmSG_spectrum-Search--valid";g9="SOkmSG_spectrum-Search-circleLoader";v9="SOkmSG_spectrum-Search-input";b9="SOkmSG_spectrum-Search-validationIcon";y9="SOkmSG_spectrum-Textfield";var gt={};ae(gt,"focus-ring",()=>$9,e=>$9=e);ae(gt,"i18nFontFamily",()=>O9,e=>O9=e);ae(gt,"is-disabled",()=>x9,e=>x9=e);ae(gt,"is-focused",()=>S9,e=>S9=e);ae(gt,"is-hovered",()=>w9,e=>w9=e);ae(gt,"is-selected",()=>k9,e=>k9=e);ae(gt,"spectrum-Datepicker--datetimeRange",()=>C9,e=>C9=e);ae(gt,"spectrum-Datepicker--range",()=>E9,e=>E9=e);ae(gt,"spectrum-Datepicker--rangeDash",()=>P9,e=>P9=e);ae(gt,"spectrum-Datepicker-endField",()=>F9,e=>F9=e);ae(gt,"spectrum-Datepicker-focusRing",()=>A9,e=>A9=e);ae(gt,"spectrum-Datepicker-startField",()=>D9,e=>D9=e);ae(gt,"spectrum-FieldButton",()=>T9,e=>T9=e);ae(gt,"spectrum-FieldButton--invalid",()=>R9,e=>R9=e);ae(gt,"spectrum-FocusRing-ring",()=>Gv,e=>Gv=e);ae(gt,"spectrum-FocusRing",()=>Xv,e=>Xv=e);ae(gt,"spectrum-FocusRing--quiet",()=>Jv,e=>Jv=e);ae(gt,"spectrum-InputGroup",()=>I9,e=>I9=e);ae(gt,"spectrum-InputGroup--invalid",()=>M9,e=>M9=e);ae(gt,"spectrum-InputGroup--quiet",()=>B9,e=>B9=e);ae(gt,"spectrum-InputGroup-field",()=>_9,e=>_9=e);ae(gt,"spectrum-InputGroup-icon",()=>N9,e=>N9=e);ae(gt,"spectrum-InputGroup-input",()=>L9,e=>L9=e);ae(gt,"spectrum-InputGroup-input-circleLoader",()=>Q9,e=>Q9=e);ae(gt,"spectrum-InputGroup-input-validationIcon",()=>V9,e=>V9=e);ae(gt,"spectrum-InputGroup-popover--quiet",()=>z9,e=>z9=e);var $9,O9,x9,S9,w9,k9,C9,E9,P9,F9,A9,D9,T9,R9,Gv,Xv,Jv,I9,M9,B9,_9,N9,L9,Q9,V9,z9;$9="ZTA2ya_focus-ring";O9="ZTA2ya_i18nFontFamily";x9="ZTA2ya_is-disabled";S9="ZTA2ya_is-focused";w9="ZTA2ya_is-hovered";k9="ZTA2ya_is-selected";C9="ZTA2ya_spectrum-Datepicker--datetimeRange";E9="ZTA2ya_spectrum-Datepicker--range";P9="ZTA2ya_spectrum-Datepicker--rangeDash";F9="ZTA2ya_spectrum-Datepicker-endField";A9="ZTA2ya_spectrum-Datepicker-focusRing";D9="ZTA2ya_spectrum-Datepicker-startField";T9="ZTA2ya_spectrum-FieldButton";R9="ZTA2ya_spectrum-FieldButton--invalid";Gv="ZTA2ya_spectrum-FocusRing-ring";Xv=`ZTA2ya_spectrum-FocusRing ${Gv}`;Jv="ZTA2ya_spectrum-FocusRing--quiet";I9=`ZTA2ya_spectrum-InputGroup ${Xv}`;M9="ZTA2ya_spectrum-InputGroup--invalid";B9=`ZTA2ya_spectrum-InputGroup--quiet ${Jv}`;_9="ZTA2ya_spectrum-InputGroup-field";N9="ZTA2ya_spectrum-InputGroup-icon";L9="ZTA2ya_spectrum-InputGroup-input";Q9="ZTA2ya_spectrum-InputGroup-input-circleLoader";V9="ZTA2ya_spectrum-InputGroup-input-validationIcon";z9="ZTA2ya_spectrum-InputGroup-popover--quiet";var vr={};ae(vr,"focus-ring",()=>j9,e=>j9=e);ae(vr,"i18nFontFamily",()=>e0,e=>e0=e);ae(vr,"is-disabled",()=>W9,e=>W9=e);ae(vr,"is-focused",()=>Z9,e=>Z9=e);ae(vr,"is-hovered",()=>U9,e=>U9=e);ae(vr,"is-placeholder",()=>q9,e=>q9=e);ae(vr,"spectrum-FocusRing-ring",()=>t0,e=>t0=e);ae(vr,"spectrum-FocusRing",()=>r0,e=>r0=e);ae(vr,"spectrum-FocusRing--quiet",()=>n0,e=>n0=e);ae(vr,"spectrum-Textfield",()=>H9,e=>H9=e);ae(vr,"spectrum-Textfield--invalid",()=>K9,e=>K9=e);ae(vr,"spectrum-Textfield--loadable",()=>Y9,e=>Y9=e);ae(vr,"spectrum-Textfield--multiline",()=>G9,e=>G9=e);ae(vr,"spectrum-Textfield--quiet",()=>X9,e=>X9=e);ae(vr,"spectrum-Textfield--valid",()=>J9,e=>J9=e);ae(vr,"spectrum-Textfield-circleLoader",()=>ek,e=>ek=e);ae(vr,"spectrum-Textfield-icon",()=>tk,e=>tk=e);ae(vr,"spectrum-Textfield-input",()=>rk,e=>rk=e);ae(vr,"spectrum-Textfield-inputIcon",()=>nk,e=>nk=e);ae(vr,"spectrum-Textfield-validationIcon",()=>ik,e=>ik=e);ae(vr,"spectrum-Textfield-wrapper",()=>ak,e=>ak=e);ae(vr,"spectrum-Textfield-wrapper--quiet",()=>lk,e=>lk=e);var j9,e0,W9,Z9,U9,q9,t0,r0,n0,H9,K9,Y9,G9,X9,J9,ek,tk,rk,nk,ik,ak,lk;j9="YO3Nla_focus-ring";e0="YO3Nla_i18nFontFamily";W9="YO3Nla_is-disabled";Z9="YO3Nla_is-focused";U9="YO3Nla_is-hovered";q9="YO3Nla_is-placeholder";t0="YO3Nla_spectrum-FocusRing-ring";r0=`YO3Nla_spectrum-FocusRing ${t0}`;n0="YO3Nla_spectrum-FocusRing--quiet";H9=`YO3Nla_spectrum-Textfield ${r0}`;K9="YO3Nla_spectrum-Textfield--invalid";Y9="YO3Nla_spectrum-Textfield--loadable";G9="YO3Nla_spectrum-Textfield--multiline";X9=`YO3Nla_spectrum-Textfield--quiet ${n0}`;J9="YO3Nla_spectrum-Textfield--valid";ek="YO3Nla_spectrum-Textfield-circleLoader";tk="YO3Nla_spectrum-Textfield-icon";rk=`YO3Nla_spectrum-Textfield-input ${e0}`;nk="YO3Nla_spectrum-Textfield-inputIcon";ik="YO3Nla_spectrum-Textfield-validationIcon";ak="YO3Nla_spectrum-Textfield-wrapper";lk="YO3Nla_spectrum-Textfield-wrapper--quiet";const G0e=w.forwardRef(function(t,r){t=Fn(t);let{isQuiet:n,isDisabled:i,isReadOnly:a,isRequired:l,validationBehavior:s,name:u,formValue:c="text",allowsCustomValue:d}=t;d&&(c="text");let{contains:f}=tU({sensitivity:"base"}),h=aX({...t,defaultFilter:f,allowsEmptyCollection:!0,shouldCloseOnBlur:!1}),p=O.useRef(),m=Ra(r,p),{triggerProps:g,overlayProps:b}=_R({type:"listbox"},h,p),v=O.useRef(null);Jh({...t,focus:()=>p.current.focus()},h,v);let{isInvalid:y,validationErrors:$,validationDetails:S}=h.displayValidation,k=t.validationState||(y?"invalid":null);var C;let F=(C=t.errorMessage)!==null&&C!==void 0?C:$.join(" "),{labelProps:E,fieldProps:M,descriptionProps:D,errorMessageProps:T}=qh({...t,labelElementType:"span",isInvalid:y,errorMessage:F});E.onClick=()=>{t.isDisabled||(p.current.focus(),B1("keyboard"))};let B={type:"hidden",name:u,value:c==="text"?h.inputValue:h.selectedKey};return s==="native"&&(B.type="text",B.hidden=!0,B.required=l,B.onChange=()=>{}),Du(v,B.value,c==="text"?h.setInputValue:h.setSelectedKey),w.createElement(w.Fragment,null,w.createElement(Mu,{...t,labelProps:E,descriptionProps:D,errorMessageProps:T,validationState:k,isInvalid:y,validationErrors:$,validationDetails:S,elementType:"span",ref:m,includeNecessityIndicatorInAccessibilityName:!0},w.createElement(X0e,{...$e(g,M,{autoFocus:t.autoFocus}),ref:p,isQuiet:n,isDisabled:i,isPlaceholder:!h.inputValue,validationState:k,onPress:()=>!a&&h.open(null,"manual")},h.inputValue||t.placeholder||"")),w.createElement("input",{...B,ref:v}),w.createElement(z1,{state:h,isFixedHeight:!0,...b},w.createElement(J0e,{...t,onClose:h.close,overlayProps:b,state:h})))}),X0e=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,isPlaceholder:a,validationState:l,children:s,style:u,className:c}=t,d=lr($t(tp),"@react-spectrum/combobox"),f=ir(),h=ir(),p=l==="invalid"?w.createElement(U1,{id:h,"aria-label":d.format("invalid")}):w.createElement(W1,null),m=w.cloneElement(p,{UNSAFE_className:z($t(vr),"spectrum-Textfield-validationIcon",z($t(gt),"spectrum-InputGroup-input-validationIcon"))}),{hoverProps:g,isHovered:b}=Er({}),{buttonProps:v,isPressed:y}=Ao({...t,"aria-labelledby":[t["aria-labelledby"],t["aria-label"]&&!t["aria-labelledby"]?t.id:null,f,l==="invalid"?h:null].filter(Boolean).join(" "),elementType:"div"},r);return w.createElement(_r,{focusClass:z($t(gt),"is-focused"),focusRingClass:z($t(gt),"focus-ring")},w.createElement("div",{...$e(g,v),"aria-haspopup":"dialog",ref:r,style:{...u,outline:"none"},className:z($t(gt),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":l==="invalid"&&!i,"is-hovered":b},z($t(In),"mobile-combobox"),c)},w.createElement("div",{className:z($t(vr),"spectrum-Textfield",{"spectrum-Textfield--invalid":l==="invalid"&&!i,"spectrum-Textfield--valid":l==="valid"&&!i,"spectrum-Textfield--quiet":n},z($t(gt),"spectrum-InputGroup-field"))},w.createElement("div",{className:z($t(vr),"spectrum-Textfield-input",{"is-hovered":b,"is-placeholder":a,"is-disabled":i},z($t(gt),"spectrum-InputGroup-input",z($t(Jt),"spectrum-Field-field")),z($t(In),"mobile-input"))},w.createElement("span",{id:f,className:z($t(In),"mobile-value")},s)),l&&!i?m:null),w.createElement("div",{className:z($t(Ft),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":n,"is-active":y,"is-disabled":i,"spectrum-FieldButton--invalid":l==="invalid"&&!i,"is-hovered":b},z($t(gt),"spectrum-FieldButton"))},w.createElement(L1,{UNSAFE_className:z($t(gt),"spectrum-Dropdown-chevron")}))))});function J0e(e){let{state:t,isDisabled:r,validationState:n,label:i,overlayProps:a,loadingState:l,onLoadMore:s,onClose:u}=e,c=O.useRef(null),[d,f]=O.useState(!1),h=O.useRef(),p=O.useRef(),m=O.useRef(),g=O.useRef(),b=l==="loading"||l==="loadingMore",v=tI(t,b),y=lr($t(tp),"@react-spectrum/combobox"),{inputProps:$,listBoxProps:S,labelProps:k}=iX({...e,keyboardDelegate:v,buttonRef:mc(p),popoverRef:m,listBoxRef:g,inputRef:h,name:void 0},t);w.useEffect(()=>{Rn(h.current)},[]),w.useEffect(()=>{!t.isOpen&&t.isFocused&&t.setFocused(!1)});let{dialogProps:C}=oX({"aria-labelledby":ir(k.id)},m);$.role="searchbox",$["aria-haspopup"]="listbox",delete $["aria-expanded"],delete $.onTouchEnd;let F=w.createElement(Rme,{preventFocus:!0,"aria-label":y.format("clear"),excludeFromTabOrder:!0,onPress:()=>{t.setInputValue(""),h.current.focus()},UNSAFE_className:z($t(pn),"spectrum-ClearButton"),isDisabled:r}),E=w.createElement(gd,{"aria-label":y.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:z($t(pn),"spectrum-Search-circleLoader",z($t(vr),"spectrum-Textfield-circleLoader"))}),M=O.useRef(!1),D=()=>{M.current=!0},T=()=>{M.current=!1},B=O.useCallback(()=>{!h.current||document.activeElement!==h.current||!M.current||m.current.focus()},[h,m,M]),R=$.value,_=O.useRef(R);O.useEffect(()=>{l==="filtering"&&!d?(c.current===null&&(c.current=setTimeout(()=>{f(!0)},500)),R!==_.current&&(clearTimeout(c.current),c.current=setTimeout(()=>{f(!0)},500))):l!=="filtering"&&(f(!1),clearTimeout(c.current),c.current=null),_.current=R},[l,R,d]);let V=j=>{j.key==="Enter"&&t.selectionManager.focusedKey==null?m.current.focus():$.onKeyDown(j)};return w.createElement(Zh,{restoreFocus:!0,contain:!0},w.createElement("div",{...$e(a,C),ref:m,className:z($t(In),"tray-dialog")},w.createElement(Kc,{onDismiss:u}),w.createElement(ep,{label:i,labelProps:k,inputProps:{...$,onKeyDown:V},inputRef:h,isDisabled:r,isLoading:d&&l==="filtering",loadingIndicator:l!=null&&E,validationState:n,labelAlign:"start",labelPosition:"top",wrapperChildren:(t.inputValue!==""||l==="filtering"||n!=null)&&!e.isReadOnly&&F,UNSAFE_className:z($t(pn),"spectrum-Search","spectrum-Textfield","spectrum-Search--loadable",{"spectrum-Search--invalid":n==="invalid"&&!r,"spectrum-Search--valid":n==="valid"&&!r},z($t(In),"tray-textfield",{"has-label":!!e.label})),inputClassName:z($t(In),"tray-textfield-input",z($t(pn),"spectrum-Search-input")),validationIconClassName:z($t(pn),"spectrum-Search-validationIcon")}),w.createElement(rI,{...S,domProps:{onTouchStart:D,onTouchEnd:T},disallowEmptySelection:!0,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:v,state:t,shouldUseVirtualFocus:!0,renderEmptyState:()=>l!=="loading"&&w.createElement("span",{className:z($t(In),"no-results")},y.format("noResults")),UNSAFE_className:z($t(In),"tray-listbox"),ref:g,onScroll:B,onLoadMore:s,isLoading:b}),w.createElement(Kc,{onDismiss:u})))}function e1e(e,t){return e=Fn(e),e=Io(e),e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/ComboBox.html#help-text"),jh()?w.createElement(G0e,{...e,menuTrigger:"input",ref:t}):w.createElement(t1e,{...e,ref:t})}const t1e=w.forwardRef(function(t,r){let{menuTrigger:n="input",shouldFlip:i=!0,direction:a="bottom",align:l="start",isQuiet:s,loadingState:u,onLoadMore:c,allowsCustomValue:d,menuWidth:f,name:h,formValue:p="text"}=t;d&&(p="text");let m=lr($t(tp),"@react-spectrum/combobox"),g=u!=null,b=O.useRef(),v=Vg(b),y=O.useRef(),$=Vg(y),S=O.useRef(),k=O.useRef(),C=O.useRef(),F=Ra(r,k),{contains:E}=tU({sensitivity:"base"}),M=aX({...t,defaultFilter:E,allowsEmptyCollection:g}),D=tI(M,u==="loadingMore"),{buttonProps:T,inputProps:B,listBoxProps:R,labelProps:_,descriptionProps:V,errorMessageProps:j,isInvalid:Z,validationErrors:q,validationDetails:U}=iX({...t,keyboardDelegate:D,buttonRef:$,popoverRef:v,listBoxRef:S,inputRef:k,menuTrigger:n,name:p==="text"?h:void 0},M),[A,W]=O.useState(null),{scale:Q}=Gn(),I=O.useCallback(()=>{if($.current&&k.current){let ue=$.current.offsetWidth,se=k.current.offsetWidth;W(ue+se)}},[$,k,W]);Vh({ref:F,onResize:I}),wt(I,[Q,I]);let ee={width:f?_t(f):s?null:A,minWidth:s?`calc(${A}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))`:A};return w.createElement(w.Fragment,null,w.createElement(Mu,{...t,descriptionProps:V,errorMessageProps:j,isInvalid:Z,validationErrors:q,validationDetails:U,labelProps:_,ref:F},w.createElement(r1e,{...t,isOpen:M.isOpen,loadingState:u,inputProps:B,inputRef:k,triggerProps:T,triggerRef:y,validationState:t.validationState||(Z?"invalid":null),ref:C})),h&&p==="key"&&w.createElement("input",{type:"hidden",name:h,value:M.selectedKey}),w.createElement(V1,{state:M,UNSAFE_style:ee,UNSAFE_className:z($t(gt),"spectrum-InputGroup-popover",{"spectrum-InputGroup-popover--quiet":s}),ref:b,triggerRef:C,scrollRef:S,placement:`${a} ${l}`,hideArrow:!0,isNonModal:!0,shouldFlip:i},w.createElement(rI,{...R,ref:S,disallowEmptySelection:!0,autoFocus:M.focusStrategy,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:D,state:M,shouldUseVirtualFocus:!0,isLoading:u==="loading"||u==="loadingMore",onLoadMore:c,renderEmptyState:()=>g&&w.createElement("span",{className:z($t(In),"no-results")},u==="loading"?m.format("loading"):m.format("noResults"))})))}),r1e=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,validationState:a,inputProps:l,inputRef:s,triggerProps:u,triggerRef:c,autoFocus:d,style:f,className:h,loadingState:p,isOpen:m,menuTrigger:g}=t,{hoverProps:b,isHovered:v}=Er({}),y=lr($t(tp),"@react-spectrum/combobox"),$=O.useRef(null),[S,k]=O.useState(!1),C=w.createElement(gd,{"aria-label":y.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:z($t(vr),"spectrum-Textfield-circleLoader",z($t(gt),"spectrum-InputGroup-input-circleLoader"))}),F=p==="loading"||p==="filtering",E=l.value,M=O.useRef(E);return O.useEffect(()=>{F&&!S?($.current===null&&($.current=setTimeout(()=>{k(!0)},500)),E!==M.current&&(clearTimeout($.current),$.current=setTimeout(()=>{k(!0)},500))):F||(k(!1),clearTimeout($.current),$.current=null),M.current=E},[F,S,E]),w.createElement(_r,{within:!0,isTextInput:!0,focusClass:z($t(gt),"is-focused"),focusRingClass:z($t(gt),"focus-ring"),autoFocus:d},w.createElement("div",{...b,ref:r,style:f,className:z($t(gt),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":a==="invalid"&&!i,"is-hovered":v},h)},w.createElement(ep,{inputProps:l,inputRef:s,UNSAFE_className:z($t(gt),"spectrum-InputGroup-field"),inputClassName:z($t(gt),"spectrum-InputGroup-input"),validationIconClassName:z($t(gt),"spectrum-InputGroup-input-validationIcon"),isDisabled:i,isQuiet:n,validationState:a,isLoading:S&&(m||g==="manual"||p==="loading"),loadingIndicator:p!=null&&C,disableFocusRing:!0}),w.createElement(I1,{preventFocusOnPress:!0,isPressed:m},w.createElement(sq,{...u,ref:c,UNSAFE_className:z($t(gt),"spectrum-FieldButton"),isQuiet:n,validationState:a},w.createElement(L1,{UNSAFE_className:z($t(gt),"spectrum-Dropdown-chevron")})))))}),n1e=w.forwardRef(e1e);var sX={};sX={help:"مساعدة",info:"معلومات"};var uX={};uX={help:"Помощ",info:"Информация"};var cX={};cX={help:"Nápověda",info:"Informace"};var dX={};dX={help:"Hjælp",info:"Oplysninger"};var fX={};fX={help:"Hilfe",info:"Informationen"};var hX={};hX={help:"Βοήθεια",info:"Πληροφορίες"};var pX={};pX={info:"Information",help:"Help"};var mX={};mX={help:"Ayuda",info:"Información"};var gX={};gX={help:"Spikker",info:"Teave"};var vX={};vX={help:"Ohje",info:"Tiedot"};var bX={};bX={help:"Aide",info:"Informations"};var yX={};yX={help:"עזרה",info:"מידע"};var $X={};$X={help:"Pomoć",info:"Informacije"};var OX={};OX={help:"Súgó",info:"Információ"};var xX={};xX={help:"Aiuto",info:"Informazioni"};var SX={};SX={help:"ヘルプ",info:"情報"};var wX={};wX={help:"도움말",info:"정보"};var kX={};kX={help:"Žinynas",info:"Informacija"};var CX={};CX={help:"Palīdzība",info:"Informācija"};var EX={};EX={help:"Hjelp",info:"Informasjon"};var PX={};PX={help:"Help",info:"Informatie"};var FX={};FX={help:"Pomoc",info:"Informacja"};var AX={};AX={help:"Ajuda",info:"Informações"};var DX={};DX={help:"Ajuda",info:"Informação"};var TX={};TX={help:"Ajutor",info:"Informaţii"};var RX={};RX={help:"Справка",info:"Информация"};var IX={};IX={help:"Pomoc",info:"Informácie"};var MX={};MX={help:"Pomoč",info:"Informacije"};var BX={};BX={help:"Pomoć",info:"Informacije"};var _X={};_X={help:"Hjälp",info:"Information"};var NX={};NX={help:"Yardım",info:"Bilgiler"};var LX={};LX={help:"Довідка",info:"Інформація"};var QX={};QX={help:"帮助",info:"信息"};var VX={};VX={help:"說明",info:"資訊"};var zX={};zX={alert:"تنبيه",dismiss:"تجاهل"};var jX={};jX={alert:"Сигнал",dismiss:"Отхвърляне"};var WX={};WX={alert:"Výstraha",dismiss:"Odstranit"};var ZX={};ZX={alert:"Advarsel",dismiss:"Luk"};var UX={};UX={alert:"Warnhinweis",dismiss:"Schließen"};var qX={};qX={alert:"Ειδοποίηση",dismiss:"Απόρριψη"};var HX={};HX={dismiss:"Dismiss",alert:"Alert"};var KX={};KX={alert:"Alerta",dismiss:"Descartar"};var YX={};YX={alert:"Teade",dismiss:"Lõpeta"};var GX={};GX={alert:"Hälytys",dismiss:"Hylkää"};var XX={};XX={alert:"Alerte",dismiss:"Rejeter"};var JX={};JX={alert:"התראה",dismiss:"התעלם"};var eJ={};eJ={alert:"Upozorenje",dismiss:"Odbaci"};var tJ={};tJ={alert:"Figyelmeztetés",dismiss:"Elutasítás"};var rJ={};rJ={alert:"Avviso",dismiss:"Ignora"};var nJ={};nJ={alert:"アラート",dismiss:"閉じる"};var iJ={};iJ={alert:"경고",dismiss:"무시"};var aJ={};aJ={alert:"Įspėjimas",dismiss:"Atmesti"};var lJ={};lJ={alert:"Brīdinājums",dismiss:"Nerādīt"};var oJ={};oJ={alert:"Varsel",dismiss:"Lukk"};var sJ={};sJ={alert:"Melding",dismiss:"Negeren"};var uJ={};uJ={alert:"Ostrzeżenie",dismiss:"Zignoruj"};var cJ={};cJ={alert:"Alerta",dismiss:"Descartar"};var dJ={};dJ={alert:"Alerta",dismiss:"Dispensar"};var fJ={};fJ={alert:"Alertă",dismiss:"Revocare"};var hJ={};hJ={alert:"Предупреждение",dismiss:"Пропустить"};var pJ={};pJ={alert:"Upozornenie",dismiss:"Zrušiť"};var mJ={};mJ={alert:"Opozorilo",dismiss:"Opusti"};var gJ={};gJ={alert:"Upozorenje",dismiss:"Odbaci"};var vJ={};vJ={alert:"Varning",dismiss:"Avvisa"};var bJ={};bJ={alert:"Uyarı",dismiss:"Kapat"};var yJ={};yJ={alert:"Сигнал тривоги",dismiss:"Скасувати"};var $J={};$J={alert:"警报",dismiss:"取消"};var OJ={};OJ={alert:"警示",dismiss:"關閉"};function i1e(e,t){e=Ia(e,"content");let{children:r,...n}=e,{styleProps:i}=Nt(n),a=Xr(t);return w.createElement("section",{...Kt(n),...i,ref:a},w.createElement(R1,null,r))}const Y1=O.forwardRef(i1e);function ei(e){return e&&e.__esModule?e.default:e}function it(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const xJ=w.createContext(null);var SJ={};SJ={"ar-AE":zX,"bg-BG":jX,"cs-CZ":WX,"da-DK":ZX,"de-DE":UX,"el-GR":qX,"en-US":HX,"es-ES":KX,"et-EE":YX,"fi-FI":GX,"fr-FR":XX,"he-IL":JX,"hr-HR":eJ,"hu-HU":tJ,"it-IT":rJ,"ja-JP":nJ,"ko-KR":iJ,"lt-LT":aJ,"lv-LV":lJ,"nb-NO":oJ,"nl-NL":sJ,"pl-PL":uJ,"pt-BR":cJ,"pt-PT":dJ,"ro-RO":fJ,"ru-RU":hJ,"sk-SK":pJ,"sl-SI":mJ,"sr-SP":gJ,"sv-SE":vJ,"tr-TR":bJ,"uk-UA":yJ,"zh-CN":$J,"zh-TW":OJ};var _e={};it(_e,"buttonGroup",()=>ok,e=>ok=e);it(_e,"buttonGroup-end",()=>sk,e=>sk=e);it(_e,"closeButton",()=>uk,e=>uk=e);it(_e,"content",()=>ck,e=>ck=e);it(_e,"divider",()=>dk,e=>dk=e);it(_e,"focus-ring",()=>fk,e=>fk=e);it(_e,"footer",()=>hk,e=>hk=e);it(_e,"footer-start",()=>pk,e=>pk=e);it(_e,"header",()=>mk,e=>mk=e);it(_e,"header-end",()=>gk,e=>gk=e);it(_e,"header-start",()=>vk,e=>vk=e);it(_e,"heading",()=>bk,e=>bk=e);it(_e,"heading-start",()=>yk,e=>yk=e);it(_e,"hero",()=>$k,e=>$k=e);it(_e,"i18nFontFamily",()=>Ok,e=>Ok=e);it(_e,"spectrum-Button",()=>xk,e=>xk=e);it(_e,"spectrum-Dialog",()=>Sk,e=>Sk=e);it(_e,"spectrum-Dialog--dismissable",()=>wk,e=>wk=e);it(_e,"spectrum-Dialog--error",()=>kk,e=>kk=e);it(_e,"spectrum-Dialog--fullscreen",()=>Ck,e=>Ck=e);it(_e,"spectrum-Dialog--fullscreenTakeover",()=>Ek,e=>Ek=e);it(_e,"spectrum-Dialog--large",()=>Pk,e=>Pk=e);it(_e,"spectrum-Dialog--medium",()=>Fk,e=>Fk=e);it(_e,"spectrum-Dialog--noDivider",()=>Ak,e=>Ak=e);it(_e,"spectrum-Dialog--small",()=>Dk,e=>Dk=e);it(_e,"spectrum-Dialog--warning",()=>Tk,e=>Tk=e);it(_e,"spectrum-Dialog-buttonGroup",()=>Rk,e=>Rk=e);it(_e,"spectrum-Dialog-buttonGroup--noFooter",()=>Ik,e=>Ik=e);it(_e,"spectrum-Dialog-closeButton",()=>Mk,e=>Mk=e);it(_e,"spectrum-Dialog-content",()=>Bk,e=>Bk=e);it(_e,"spectrum-Dialog-divider",()=>_k,e=>_k=e);it(_e,"spectrum-Dialog-footer",()=>Nk,e=>Nk=e);it(_e,"spectrum-Dialog-grid",()=>Lk,e=>Lk=e);it(_e,"spectrum-Dialog-header",()=>Qk,e=>Qk=e);it(_e,"spectrum-Dialog-header--noTypeIcon",()=>Vk,e=>Vk=e);it(_e,"spectrum-Dialog-heading",()=>zk,e=>zk=e);it(_e,"spectrum-Dialog-heading--noHeader",()=>jk,e=>jk=e);it(_e,"spectrum-Dialog-heading--noTypeIcon",()=>Wk,e=>Wk=e);it(_e,"spectrum-Dialog-hero",()=>Zk,e=>Zk=e);it(_e,"spectrum-Dialog-typeIcon",()=>Uk,e=>Uk=e);it(_e,"spectrum-FocusRing-ring",()=>i0,e=>i0=e);it(_e,"spectrum-FocusRing",()=>qk,e=>qk=e);it(_e,"spectrum-FocusRing--quiet",()=>Hk,e=>Hk=e);it(_e,"spectrum-overlay",()=>Kk,e=>Kk=e);it(_e,"spectrum-overlay--bottom--open",()=>Yk,e=>Yk=e);it(_e,"spectrum-overlay--left--open",()=>Gk,e=>Gk=e);it(_e,"spectrum-overlay--open",()=>Xk,e=>Xk=e);it(_e,"spectrum-overlay--right--open",()=>Jk,e=>Jk=e);it(_e,"spectrum-overlay--top--open",()=>eC,e=>eC=e);it(_e,"typeIcon",()=>tC,e=>tC=e);it(_e,"typeIcon-end",()=>rC,e=>rC=e);var ok,sk,uk,ck,dk,fk,hk,pk,mk,gk,vk,bk,yk,$k,Ok,xk,Sk,wk,kk,Ck,Ek,Pk,Fk,Ak,Dk,Tk,Rk,Ik,Mk,Bk,_k,Nk,Lk,Qk,Vk,zk,jk,Wk,Zk,Uk,i0,qk,Hk,Kk,Yk,Gk,Xk,Jk,eC,tC,rC;ok="h_OVWW_buttonGroup";sk="h_OVWW_buttonGroup-end";uk="h_OVWW_closeButton";ck="h_OVWW_content";dk="h_OVWW_divider";fk="h_OVWW_focus-ring";hk="h_OVWW_footer";pk="h_OVWW_footer-start";mk="h_OVWW_header";gk="h_OVWW_header-end";vk="h_OVWW_header-start";bk="h_OVWW_heading";yk="h_OVWW_heading-start";$k="h_OVWW_hero";Ok="h_OVWW_i18nFontFamily";xk="h_OVWW_spectrum-Button";Sk="h_OVWW_spectrum-Dialog";wk="h_OVWW_spectrum-Dialog--dismissable";kk="h_OVWW_spectrum-Dialog--error";Ck="h_OVWW_spectrum-Dialog--fullscreen";Ek="h_OVWW_spectrum-Dialog--fullscreenTakeover";Pk="h_OVWW_spectrum-Dialog--large";Fk="h_OVWW_spectrum-Dialog--medium";Ak="h_OVWW_spectrum-Dialog--noDivider";Dk="h_OVWW_spectrum-Dialog--small";Tk="h_OVWW_spectrum-Dialog--warning";Rk="h_OVWW_spectrum-Dialog-buttonGroup";Ik="h_OVWW_spectrum-Dialog-buttonGroup--noFooter";Mk="h_OVWW_spectrum-Dialog-closeButton";Bk="h_OVWW_spectrum-Dialog-content";_k="h_OVWW_spectrum-Dialog-divider";Nk="h_OVWW_spectrum-Dialog-footer";Lk="h_OVWW_spectrum-Dialog-grid";Qk="h_OVWW_spectrum-Dialog-header";Vk="h_OVWW_spectrum-Dialog-header--noTypeIcon";zk="h_OVWW_spectrum-Dialog-heading";jk="h_OVWW_spectrum-Dialog-heading--noHeader";Wk="h_OVWW_spectrum-Dialog-heading--noTypeIcon";Zk="h_OVWW_spectrum-Dialog-hero";Uk="h_OVWW_spectrum-Dialog-typeIcon";i0="h_OVWW_spectrum-FocusRing-ring";qk=`h_OVWW_spectrum-FocusRing ${i0}`;Hk="h_OVWW_spectrum-FocusRing--quiet";Kk="h_OVWW_spectrum-overlay";Yk="h_OVWW_spectrum-overlay--bottom--open";Gk="h_OVWW_spectrum-overlay--left--open";Xk="h_OVWW_spectrum-overlay--open";Jk="h_OVWW_spectrum-overlay--right--open";eC="h_OVWW_spectrum-overlay--top--open";tC="h_OVWW_typeIcon";rC="h_OVWW_typeIcon-end";let Q_={S:"small",M:"medium",L:"large",fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"};function a1e(e,t){e=Ia(e,"dialog");let{type:r="modal",...n}=O.useContext(xJ)||{},{children:i,isDismissable:a=n.isDismissable,onDismiss:l=n.onClose,size:s,...u}=e,c=lr(ei(SJ),"@react-spectrum/dialog"),{styleProps:d}=Nt(u);s=r==="popover"?s||"S":s||"L";let f=Xr(t),h=O.useRef(null),p=Q_[r]||Q_[s],{dialogProps:m,titleProps:g}=oX($e(n,e),f),b=gc(`.${ei(_e)["spectrum-Dialog-header"]}`,mc(h)),v=gc(`.${ei(_e)["spectrum-Dialog-heading"]}`,mc(h)),y=gc(`.${ei(_e)["spectrum-Dialog-footer"]}`,mc(h)),$=gc(`.${ei(_e)["spectrum-Dialog-typeIcon"]}`,mc(h)),S=O.useMemo(()=>({hero:{UNSAFE_className:ei(_e)["spectrum-Dialog-hero"]},heading:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-heading",{"spectrum-Dialog-heading--noHeader":!b,"spectrum-Dialog-heading--noTypeIcon":!$}),level:2,...g},header:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-header",{"spectrum-Dialog-header--noHeading":!v,"spectrum-Dialog-header--noTypeIcon":!$})},typeIcon:{UNSAFE_className:ei(_e)["spectrum-Dialog-typeIcon"]},divider:{UNSAFE_className:ei(_e)["spectrum-Dialog-divider"],size:"M"},content:{UNSAFE_className:ei(_e)["spectrum-Dialog-content"]},footer:{UNSAFE_className:ei(_e)["spectrum-Dialog-footer"]},buttonGroup:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-buttonGroup",{"spectrum-Dialog-buttonGroup--noFooter":!y}),align:"end"}}),[y,b,g]);return w.createElement("section",{...d,...m,className:z(ei(_e),"spectrum-Dialog",{[`spectrum-Dialog--${p}`]:p,"spectrum-Dialog--dismissable":a},d.className),ref:f},w.createElement(HR,{ref:h,UNSAFE_className:ei(_e)["spectrum-Dialog-grid"]},w.createElement(Ma,{slots:S},i),a&&w.createElement(xo,{UNSAFE_className:ei(_e)["spectrum-Dialog-closeButton"],isQuiet:!0,"aria-label":c.format("dismiss"),onPress:l},w.createElement(Pve,null))))}let l1e=w.forwardRef(a1e);function nC(e){let{children:t,type:r="modal",mobileType:n=r==="popover"?"modal":r,hideArrow:i,targetRef:a,isDismissable:l,isKeyboardDismissDisabled:s,...u}=e;if(!Array.isArray(t)||t.length>2)throw new Error("DialogTrigger must have exactly 2 children");let[c,d]=t;jh()&&(r!=="modal"&&n==="modal"&&(l=!0),r=n);let h=Yh(e),p=O.useRef(!1);O.useEffect(()=>{p.current=h.isOpen},[h.isOpen]);let m=O.useRef(!1),g=()=>m.current=!0,b=()=>m.current=!1;if(O.useEffect(()=>()=>{(p.current||m.current)&&r!=="popover"&&r!=="tray"&&console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.")},[]),r==="popover")return w.createElement(s1e,{...u,state:h,targetRef:a,trigger:c,content:d,isKeyboardDismissDisabled:s,hideArrow:i});let v=()=>{switch(r){case"fullscreen":case"fullscreenTakeover":case"modal":return w.createElement(ege,{state:h,isDismissable:r==="modal"?l:!1,type:r,isKeyboardDismissDisabled:s,onExiting:g,onExited:b},typeof d=="function"?d(h.close):d);case"tray":return w.createElement(z1,{state:h,isKeyboardDismissDisabled:s},typeof d=="function"?d(h.close):d)}};return w.createElement(wJ,{type:r,state:h,isDismissable:l,trigger:c,overlay:v()})}nC.getCollectionNode=function*(e){let[t]=w.Children.toArray(e.children),[,r]=e.children;yield{element:t,wrapper:n=>w.createElement(nC,{key:n.key,...e},n,r)}};let o1e=nC;function s1e({state:e,targetRef:t,trigger:r,content:n,hideArrow:i,...a}){let l=O.useRef(null),{triggerProps:s,overlayProps:u}=_R({type:"dialog"},e,l),c={...s,ref:t?void 0:l},d=w.createElement(V1,{...a,hideArrow:i,triggerRef:t||l,state:e},typeof n=="function"?n(e.close):n);return w.createElement(wJ,{type:"popover",state:e,triggerProps:c,dialogProps:u,trigger:r,overlay:d})}function wJ({type:e,state:t,isDismissable:r,dialogProps:n={},triggerProps:i={},overlay:a,trigger:l}){let s={type:e,onClose:t.close,isDismissable:r,...n};return w.createElement(O.Fragment,null,w.createElement(I1,{...i,onPress:t.toggle,isPressed:t.isOpen&&e!=="modal"&&e!=="fullscreen"&&e!=="fullscreenTakeover"},l),w.createElement(xJ.Provider,{value:s},a))}var kJ={};Object.defineProperty(kJ,"__esModule",{value:!0});var u1e=kJ.A4uHelpOutline=d1e,V_=c1e(O);function c1e(e){return e&&e.__esModule?e:{default:e}}function a0(){return a0=Object.assign?Object.assign.bind():function(e){for(var t=1;tiC,e=>iC=e);rp(co,"react-spectrum-ContextualHelp-content",()=>aC,e=>aC=e);rp(co,"react-spectrum-ContextualHelp-dialog",()=>lC,e=>lC=e);rp(co,"react-spectrum-ContextualHelp-dialog--isMobile",()=>oC,e=>oC=e);rp(co,"react-spectrum-ContextualHelp-footer",()=>sC,e=>sC=e);var iC,aC,lC,oC,sC;iC="L6gUaa_react-spectrum-ContextualHelp-button";aC="L6gUaa_react-spectrum-ContextualHelp-content";lC="L6gUaa_react-spectrum-ContextualHelp-dialog";oC="L6gUaa_react-spectrum-ContextualHelp-dialog--isMobile";sC="L6gUaa_react-spectrum-ContextualHelp-footer";var CJ={};CJ={"ar-AE":sX,"bg-BG":uX,"cs-CZ":cX,"da-DK":dX,"de-DE":fX,"el-GR":hX,"en-US":pX,"es-ES":mX,"et-EE":gX,"fi-FI":vX,"fr-FR":bX,"he-IL":yX,"hr-HR":$X,"hu-HU":OX,"it-IT":xX,"ja-JP":SX,"ko-KR":wX,"lt-LT":kX,"lv-LV":CX,"nb-NO":EX,"nl-NL":PX,"pl-PL":FX,"pt-BR":AX,"pt-PT":DX,"ro-RO":TX,"ru-RU":RX,"sk-SK":IX,"sl-SI":MX,"sr-SP":BX,"sv-SE":_X,"tr-TR":NX,"uk-UA":LX,"zh-CN":QX,"zh-TW":VX};function h1e(e,t){let{variant:r="help",placement:n="bottom start",children:i,...a}=e,l=lr(Wd(CJ),"@react-spectrum/contextualhelp"),s=r==="info"?w.createElement(KR,null):w.createElement(f1e,null),u={content:{UNSAFE_className:Wd(co)["react-spectrum-ContextualHelp-content"]},footer:{UNSAFE_className:Wd(co)["react-spectrum-ContextualHelp-footer"]}},c=sh(a,l.format(r));return w.createElement(o1e,{...a,type:"popover",placement:n,hideArrow:!0},w.createElement(xo,{...$e(a,c,{isDisabled:!1}),ref:t,UNSAFE_className:z(Wd(co),"react-spectrum-ContextualHelp-button",a.UNSAFE_className),isQuiet:!0},s),w.createElement(R1,null,w.createElement(Ma,{slots:u},w.createElement(l1e,{UNSAFE_className:z(Wd(co),"react-spectrum-ContextualHelp-dialog")},i))))}let G1=w.forwardRef(h1e);var EJ={};EJ={Empty:"فارغ"};var PJ={};PJ={Empty:"Изпразни"};var FJ={};FJ={Empty:"Prázdné"};var AJ={};AJ={Empty:"Tom"};var DJ={};DJ={Empty:"Leer"};var TJ={};TJ={Empty:"Άδειο"};var RJ={};RJ={Empty:"Empty"};var IJ={};IJ={Empty:"Vacío"};var MJ={};MJ={Empty:"Tühjenda"};var BJ={};BJ={Empty:"Tyhjä"};var _J={};_J={Empty:"Vide"};var NJ={};NJ={Empty:"ריק"};var LJ={};LJ={Empty:"Prazno"};var QJ={};QJ={Empty:"Üres"};var VJ={};VJ={Empty:"Vuoto"};var zJ={};zJ={Empty:"空"};var jJ={};jJ={Empty:"비어 있음"};var WJ={};WJ={Empty:"Tuščias"};var ZJ={};ZJ={Empty:"Tukšs"};var UJ={};UJ={Empty:"Tom"};var qJ={};qJ={Empty:"Leeg"};var HJ={};HJ={Empty:"Pusty"};var KJ={};KJ={Empty:"Vazio"};var YJ={};YJ={Empty:"Vazio"};var GJ={};GJ={Empty:"Gol"};var XJ={};XJ={Empty:"Не заполнено"};var JJ={};JJ={Empty:"Prázdne"};var eee={};eee={Empty:"Prazen"};var tee={};tee={Empty:"Prazno"};var ree={};ree={Empty:"Tomt"};var nee={};nee={Empty:"Boş"};var iee={};iee={Empty:"Пусто"};var aee={};aee={Empty:"空"};var lee={};lee={Empty:"空白"};function p1e(e){return e&&e.__esModule?e.default:e}var oee={};oee={"ar-AE":EJ,"bg-BG":PJ,"cs-CZ":FJ,"da-DK":AJ,"de-DE":DJ,"el-GR":TJ,"en-US":RJ,"es-ES":IJ,"et-EE":MJ,"fi-FI":BJ,"fr-FR":_J,"he-IL":NJ,"hr-HR":LJ,"hu-HU":QJ,"it-IT":VJ,"ja-JP":zJ,"ko-KR":jJ,"lt-LT":WJ,"lv-LV":ZJ,"nb-NO":UJ,"nl-NL":qJ,"pl-PL":HJ,"pt-BR":KJ,"pt-PT":YJ,"ro-RO":GJ,"ru-RU":XJ,"sk-SK":JJ,"sl-SI":eee,"sr-SP":tee,"sv-SE":ree,"tr-TR":nee,"uk-UA":iee,"zh-CN":aee,"zh-TW":lee};function m1e(e){const t=O.useRef();let{value:r,textValue:n,minValue:i,maxValue:a,isDisabled:l,isReadOnly:s,isRequired:u,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:h,onDecrementToMin:p,onIncrementToMax:m}=e;const g=lr(p1e(oee),"@react-aria/spinbutton"),b=()=>clearTimeout(t.current);O.useEffect(()=>()=>b(),[]);let v=D=>{if(!(D.ctrlKey||D.metaKey||D.shiftKey||D.altKey||s))switch(D.key){case"PageUp":if(d){D.preventDefault(),d();break}case"ArrowUp":case"Up":c&&(D.preventDefault(),c());break;case"PageDown":if(h){D.preventDefault(),h();break}case"ArrowDown":case"Down":f&&(D.preventDefault(),f());break;case"Home":p&&(D.preventDefault(),p());break;case"End":m&&(D.preventDefault(),m());break}},y=O.useRef(!1),$=()=>{y.current=!0},S=()=>{y.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),O.useEffect(()=>{y.current&&(xve("assertive"),Ac(n,"assertive"))},[n]);const k=Qr(D=>{b(),c(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r{b(),f(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r>i)&&C(60)},D)});let F=D=>{D.preventDefault()},{addGlobalListener:E,removeAllGlobalListeners:M}=pd();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":l||null,"aria-readonly":s||null,"aria-required":u||null,onKeyDown:v,onFocus:$,onBlur:S},incrementButtonProps:{onPressStart:()=>{k(400),E(window,"contextmenu",F)},onPressEnd:()=>{b(),M()},onFocus:$,onBlur:S},decrementButtonProps:{onPressStart:()=>{C(400),E(window,"contextmenu",F)},onPressEnd:()=>{b(),M()},onFocus:$,onBlur:S}}}function z_(e){return e&&e.__esModule?e.default:e}function rl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var la={};rl(la,"focus-ring",()=>uC,e=>uC=e);rl(la,"i18nFontFamily",()=>cC,e=>cC=e);rl(la,"is-disabled",()=>dC,e=>dC=e);rl(la,"is-hovered",()=>fC,e=>fC=e);rl(la,"spectrum-FocusRing-ring",()=>l0,e=>l0=e);rl(la,"spectrum-FocusRing",()=>hC,e=>hC=e);rl(la,"spectrum-FocusRing--quiet",()=>pC,e=>pC=e);rl(la,"spectrum-Link",()=>mC,e=>mC=e);rl(la,"spectrum-Link--overBackground",()=>gC,e=>gC=e);rl(la,"spectrum-Link--quiet",()=>vC,e=>vC=e);rl(la,"spectrum-Link--secondary",()=>bC,e=>bC=e);var uC,cC,dC,fC,l0,hC,pC,mC,gC,vC,bC;uC="WBgRPa_focus-ring";cC="WBgRPa_i18nFontFamily";dC="WBgRPa_is-disabled";fC="WBgRPa_is-hovered";l0="WBgRPa_spectrum-FocusRing-ring";hC=`WBgRPa_spectrum-FocusRing ${l0}`;pC="WBgRPa_spectrum-FocusRing--quiet";mC="WBgRPa_spectrum-Link";gC="WBgRPa_spectrum-Link--overBackground";vC="WBgRPa_spectrum-Link--quiet";bC="WBgRPa_spectrum-Link--secondary";function g1e(e){e=Fn(e),e=Ia(e,"link");let{variant:t="primary",isQuiet:r,children:n,href:i}=e,{styleProps:a}=Nt(e),{hoverProps:l,isHovered:s}=Er({}),u=O.useRef(null),{linkProps:c}=Ove({...e,elementType:!i&&typeof n=="string"?"span":"a"},u),d={...a,...$e(c,l),ref:u,className:z(z_(la),"spectrum-Link",{"spectrum-Link--quiet":r,[`spectrum-Link--${t}`]:t,"is-hovered":s},a.className)},f;if(i)f=w.createElement("a",d,n);else{let h=Hhe(n);f=w.cloneElement(h,{...$e(h.props,d),ref:h.ref?NZ(u,h.ref):u})}return w.createElement(_r,{focusRingClass:z(z_(la),"focus-ring")},f)}var see={};see={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var uee={};uee={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var cee={};cee={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var dee={};dee={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var fee={};fee={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var hee={};hee={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var pee={};pee={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var mee={};mee={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var gee={};gee={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var vee={};vee={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var bee={};bee={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var yee={};yee={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var $ee={};$ee={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var Oee={};Oee={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var xee={};xee={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var See={};See={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var wee={};wee={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var kee={};kee={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var Cee={};Cee={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var Eee={};Eee={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Pee={};Pee={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var Fee={};Fee={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Aee={};Aee={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Dee={};Dee={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Tee={};Tee={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Ree={};Ree={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var Iee={};Iee={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var Mee={};Mee={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var Bee={};Bee={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var _ee={};_ee={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Nee={};Nee={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Lee={};Lee={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Qee={};Qee={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Vee={};Vee={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};function nI(e){return e&&e.__esModule?e.default:e}class zee{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}findPreviousKey(t,r){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let i=this.collection.getItem(n);if(!this.disabledKeys.has(n)&&(!r||r(i)))return n;n=this.collection.getKeyBefore(n)}}findNextKey(t,r){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let i=this.collection.getItem(n);if(!this.disabledKeys.has(n)&&(!r||r(i)))return n;n=this.collection.getKeyAfter(n)}}getKeyBelow(t){let r=this.collection.getItem(t);if(r&&(this.isCell(r)&&(t=r.parentKey),t=this.findNextKey(t),t!=null)){if(this.isCell(r)){let n=this.collection.getItem(t);return zo(pr(n,this.collection),r.index).key}if(this.focusMode==="row")return t}}getKeyAbove(t){let r=this.collection.getItem(t);if(r&&(this.isCell(r)&&(t=r.parentKey),t=this.findPreviousKey(t),t!=null)){if(this.isCell(r)){let n=this.collection.getItem(t);return zo(pr(n,this.collection),r.index).key}if(this.focusMode==="row")return t}}getKeyRightOf(t){let r=this.collection.getItem(t);if(r){if(this.isRow(r)){let n=pr(r,this.collection);return this.direction==="rtl"?Xo(n).key:lo(n).key}if(this.isCell(r)){let n=this.collection.getItem(r.parentKey),i=pr(n,this.collection),a=this.direction==="rtl"?zo(i,r.index-1):zo(i,r.index+1);return a?a.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t)}}}getKeyLeftOf(t){let r=this.collection.getItem(t);if(r){if(this.isRow(r)){let n=pr(r,this.collection);return this.direction==="rtl"?lo(n).key:Xo(n).key}if(this.isCell(r)){let n=this.collection.getItem(r.parentKey),i=pr(n,this.collection),a=this.direction==="rtl"?zo(i,r.index+1):zo(i,r.index-1);return a?a.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t)}}}getFirstKey(t,r){let n;if(t!=null){if(n=this.collection.getItem(t),!n)return;if(this.isCell(n)&&!r){let i=this.collection.getItem(n.parentKey);return lo(pr(i,this.collection)).key}}if(t=this.findNextKey(),t!=null&&n&&this.isCell(n)&&r||this.focusMode==="cell"){let i=this.collection.getItem(t);t=lo(pr(i,this.collection)).key}return t}getLastKey(t,r){let n;if(t!=null){if(n=this.collection.getItem(t),!n)return;if(this.isCell(n)&&!r){let i=this.collection.getItem(n.parentKey),a=pr(i,this.collection);return Xo(a).key}}if(t=this.findPreviousKey(),t!=null&&n&&this.isCell(n)&&r||this.focusMode==="cell"){let i=this.collection.getItem(t),a=pr(i,this.collection);t=Xo(a).key}return t}getItem(t){return this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`)}getItemRect(t){var r;if(this.layout)return(r=this.layout.getLayoutInfo(t))===null||r===void 0?void 0:r.rect;let n=this.getItem(t);if(n)return new Qt(n.offsetLeft,n.offsetTop,n.offsetWidth,n.offsetHeight)}getPageHeight(){var t,r,n;return this.layout?(t=this.layout.virtualizer)===null||t===void 0?void 0:t.visibleRect.height:(n=this.ref)===null||n===void 0||(r=n.current)===null||r===void 0?void 0:r.offsetHeight}getContentHeight(){var t,r;return this.layout?this.layout.getContentSize().height:(r=this.ref)===null||r===void 0||(t=r.current)===null||t===void 0?void 0:t.scrollHeight}getKeyPageAbove(t){let r=this.getItemRect(t);if(!r)return null;let n=Math.max(0,r.maxY-this.getPageHeight());for(;r&&r.y>n;)t=this.getKeyAbove(t),r=this.getItemRect(t);return t}getKeyPageBelow(t){let r=this.getItemRect(t);if(!r)return null;let n=this.getPageHeight(),i=Math.min(this.getContentHeight(),r.y+n);for(;r&&r.maxY{var s,u,c,d;return(d=(s=(u=t.collection).getTextValue)===null||s===void 0?void 0:s.call(u,l))!==null&&d!==void 0?d:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=lr(nI(X1),"@react-aria/grid"),i=t.selectionManager.rawSelection,a=O.useRef(i);UZ(()=>{var l;if(!t.selectionManager.isFocused){a.current=i;return}let s=j_(i,a.current),u=j_(a.current,i),c=t.selectionManager.selectionBehavior==="replace",d=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=r(t.selectionManager.selectedKeys.keys().next().value);f&&d.push(n.format("selectedItem",{item:f}))}}else if(s.size===1&&u.size===0){let f=r(s.keys().next().value);f&&d.push(n.format("selectedItem",{item:f}))}else if(u.size===1&&s.size===0&&t.collection.getItem(u.keys().next().value)){let f=r(u.keys().next().value);f&&d.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(d.length===0||i==="all"||i.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&d.push(i==="all"?n.format("selectedAll"):n.format("selectedCount",{count:i.size})),d.length>0&&Ac(d.join(" ")),a.current=i},[i])}function j_(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let n of e.keys())t.has(n)||r.add(n);return r}function b1e(e){let t=lr(nI(X1),"@react-aria/grid"),r=RR(),n=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,i=O.useMemo(()=>{let l=e.selectionManager.selectionMode,s=e.selectionManager.selectionBehavior,u;return n&&(u=t.format("longPressToSelect")),s==="replace"&&l!=="none"&&e.hasItemActions?u:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return zh(i)}function y1e(e,t,r){let{isVirtualized:n,keyboardDelegate:i,focusMode:a,scrollRef:l,getRowText:s,onRowAction:u,onCellAction:c}=e,{selectionManager:d}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=md({usage:"search",sensitivity:"base"}),{direction:h}=yr(),p=t.selectionManager.disabledBehavior,m=O.useMemo(()=>i||new zee({collection:t.collection,disabledKeys:p==="selection"?new Set:t.disabledKeys,ref:r,direction:h,collator:f,focusMode:a}),[i,t.collection,t.disabledKeys,p,r,h,f,a]),{collectionProps:g}=zR({ref:r,selectionManager:d,keyboardDelegate:m,isVirtualized:n,scrollRef:l}),b=ir(e.id);iI.set(t,{keyboardDelegate:m,actions:{onRowAction:u,onCellAction:c}});let v=b1e({selectionManager:d,hasItemActions:!!(u||c)}),y=Kt(e,{labelable:!0}),$=O.useCallback(F=>{if(d.isFocused){F.currentTarget.contains(F.target)||d.setFocused(!1);return}F.currentTarget.contains(F.target)&&d.setFocused(!0)},[d]),S=O.useMemo(()=>({onBlur:g.onBlur,onFocus:$}),[$,g.onBlur]),k=Vpe(r,{isDisabled:t.collection.size!==0}),C=$e(y,{role:"grid",id:b,"aria-multiselectable":d.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?S:g,t.collection.size===0&&{tabIndex:k?-1:0},v);return n&&(C["aria-rowcount"]=t.collection.size,C["aria-colcount"]=t.collection.columnCount),v1e({getRowText:s},t),{gridProps:C}}function $1e(){return{rowGroupProps:{role:"rowgroup"}}}function O1e(e,t,r){let{node:n,isVirtualized:i,shouldSelectOnPressUp:a,onAction:l}=e,{actions:{onRowAction:s}}=iI.get(t),{itemProps:u,...c}=j1({selectionManager:t.selectionManager,key:n.key,ref:r,isVirtualized:i,shouldSelectOnPressUp:a,onAction:s?()=>s(n.key):l,isDisabled:t.collection.size===0}),d=t.selectionManager.isSelected(n.key),f={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?d:void 0,"aria-disabled":c.isDisabled||void 0,...u};return i&&(f["aria-rowindex"]=n.index+1),{rowProps:f,...c}}function jee(e,t,r){let{node:n,isVirtualized:i,focusMode:a="child",shouldSelectOnPressUp:l,onAction:s}=e,{direction:u}=yr(),{keyboardDelegate:c,actions:{onCellAction:d}}=iI.get(t),f=O.useRef(null),h=()=>{let $=ta(r.current);if(a==="child"){if(r.current.contains(document.activeElement)&&r.current!==document.activeElement)return;let S=t.selectionManager.childFocusStrategy==="last"?qy($):$.firstChild();if(S){Rn(S);return}}(f.current!=null&&n.key!==f.current||!r.current.contains(document.activeElement))&&Rn(r.current)},{itemProps:p,isPressed:m}=j1({selectionManager:t.selectionManager,key:n.key,ref:r,isVirtualized:i,focus:h,shouldSelectOnPressUp:l,onAction:d?()=>d(n.key):s,isDisabled:t.collection.size===0}),v=$e(p,{role:"gridcell",onKeyDownCapture:$=>{if(!$.currentTarget.contains($.target)||t.isKeyboardNavigationDisabled)return;let S=ta(r.current);switch(S.currentNode=document.activeElement,$.key){case"ArrowLeft":{let k=u==="rtl"?S.nextNode():S.previousNode();if(a==="child"&&k===r.current&&(k=null),k)$.preventDefault(),$.stopPropagation(),Rn(k),io(k,{containingElement:yl(r.current)});else{if(c.getKeyLeftOf(n.key)!==n.key)break;$.preventDefault(),$.stopPropagation(),a==="cell"&&u==="rtl"?(Rn(r.current),io(r.current,{containingElement:yl(r.current)})):(S.currentNode=r.current,k=u==="rtl"?S.firstChild():qy(S),k&&(Rn(k),io(k,{containingElement:yl(r.current)})))}break}case"ArrowRight":{let k=u==="rtl"?S.previousNode():S.nextNode();if(a==="child"&&k===r.current&&(k=null),k)$.preventDefault(),$.stopPropagation(),Rn(k),io(k,{containingElement:yl(r.current)});else{if(c.getKeyRightOf(n.key)!==n.key)break;$.preventDefault(),$.stopPropagation(),a==="cell"&&u==="ltr"?(Rn(r.current),io(r.current,{containingElement:yl(r.current)})):(S.currentNode=r.current,k=u==="rtl"?qy(S):S.firstChild(),k&&(Rn(k),io(k,{containingElement:yl(r.current)})))}break}case"ArrowUp":case"ArrowDown":!$.altKey&&r.current.contains($.target)&&($.stopPropagation(),$.preventDefault(),r.current.parentElement.dispatchEvent(new KeyboardEvent($.nativeEvent.type,$.nativeEvent)));break}},onFocus:$=>{if(f.current=n.key,$.target!==r.current){Oo()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===r.current&&h()})}});var y;return i&&(v["aria-colindex"]=((y=n.colIndex)!==null&&y!==void 0?y:n.index)+1),l&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=$=>{let S=$.currentTarget,k=S.getAttribute("tabindex");S.removeAttribute("tabindex"),requestAnimationFrame(()=>{S.setAttribute("tabindex",k)})}),{gridCellProps:v,isPressed:m}}function qy(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}function x1e(e,t){let{key:r}=e,n=t.selectionManager,i=ir(),a=!t.selectionManager.canSelectItem(r),l=t.selectionManager.isSelected(r),s=()=>n.select(r);const u=lr(nI(X1),"@react-aria/grid");return{checkboxProps:{id:i,"aria-label":u.format("select"),isSelected:l,isDisabled:a,onChange:s}}}var Wee={};Object.defineProperty(Wee,"__esModule",{value:!0});var S1e=Wee.ChevronLeftMedium=Zee,Hy=w1e(O);function w1e(e){return e&&e.__esModule?e:{default:e}}function yC(){return yC=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function C1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Zee(e){var t=e.scale,r=t===void 0?"M":t,n=k1e(e,["scale"]);return Hy.default.createElement("svg",yC({},n,n),r==="L"&&Hy.default.createElement("path",{d:"M7.197 10.283L2.914 6l4.283-4.283A1 1 0 1 0 5.783.303l-4.99 4.99a1 1 0 0 0 0 1.414l4.99 4.99a1 1 0 1 0 1.414-1.414z"}),r==="M"&&Hy.default.createElement("path",{d:"M5.697 8.283L2.414 5l3.283-3.283A1 1 0 1 0 4.283.303l-3.98 3.99a1 1 0 0 0 0 1.414l3.98 3.99a1 1 0 1 0 1.414-1.414z"}))}Zee.displayName="ChevronLeftMedium";function E1e(e){return w.createElement(Ln,e,w.createElement(S1e,null))}var Uee={};Object.defineProperty(Uee,"__esModule",{value:!0});var P1e=Uee.ChevronRightMedium=qee,Ky=F1e(O);function F1e(e){return e&&e.__esModule?e:{default:e}}function $C(){return $C=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function D1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function qee(e){var t=e.scale,r=t===void 0?"M":t,n=A1e(e,["scale"]);return Ky.default.createElement("svg",$C({},n,n),r==="L"&&Ky.default.createElement("path",{d:"M7.5 6a.997.997 0 0 0-.293-.707L2.217.303A1 1 0 1 0 .803 1.717L5.086 6 .803 10.283a1 1 0 1 0 1.414 1.414l4.99-4.99A.997.997 0 0 0 7.5 6z"}),r==="M"&&Ky.default.createElement("path",{d:"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z"}))}qee.displayName="ChevronRightMedium";function T1e(e){return w.createElement(Ln,e,w.createElement(P1e,null))}var Hee={};Object.defineProperty(Hee,"__esModule",{value:!0});var R1e=Hee.ListGripper=Kee,tn=I1e(O);function I1e(e){return e&&e.__esModule?e:{default:e}}function Kee({scale:e="M",...t}){return tn.default.createElement("svg",t,e==="L"&&tn.default.createElement(tn.default.Fragment,null,tn.default.createElement("circle",{cx:"5.375",cy:"12.625",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"12.625",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"8.875",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"8.875",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"5.125",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"5.125",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"1.375",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"1.375",r:"1.25"})),e==="M"&&tn.default.createElement(tn.default.Fragment,null,tn.default.createElement("circle",{cx:"4",cy:"10.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"10.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"7.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"7.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"4.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"4.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"1.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"1.5",r:"1"})))}Kee.displayName="ListGripper";function M1e(e){return w.createElement(Ln,e,w.createElement(R1e,null))}function B1e(e){let{minValue:t,maxValue:r,step:n,formatOptions:i,value:a,defaultValue:l,onChange:s,locale:u,isDisabled:c,isReadOnly:d}=e;a===null&&(a=NaN),isNaN(a)||(isNaN(n)?a=Pa(a,t,r):a=Di(a,t,r,n)),isNaN(l)||(isNaN(n)?l=Pa(l,t,r):l=Di(l,t,r,n));let[f,h]=ca(a,isNaN(l)?NaN:l,s),[p,m]=O.useState(()=>isNaN(f)?"":new Lg(u,i).format(f)),g=O.useMemo(()=>new YZ(u,i),[u,i]),b=O.useMemo(()=>g.getNumberingSystem(p),[g,p]),v=O.useMemo(()=>new Lg(u,{...i,numberingSystem:b}),[u,i,b]),y=O.useMemo(()=>v.resolvedOptions(),[v]),$=O.useCallback(Q=>isNaN(Q)||Q===null?"":v.format(Q),[v]),S=Bs({...e,value:f}),k=isNaN(n)?1:n;y.style==="percent"&&isNaN(n)&&(k=.01);let[C,F]=O.useState(f),[E,M]=O.useState(u),[D,T]=O.useState(i);(!Object.is(f,C)||u!==E||i!==D)&&(m($(f)),F(f),M(u),T(i));let B=O.useMemo(()=>g.parse(p),[g,p]),R=()=>{if(!p.length){h(NaN),m(a===void 0?"":$(f));return}if(isNaN(B)){m($(f));return}let Q;isNaN(n)?Q=Pa(B,t,r):Q=Di(B,t,r,n),Q=g.parse($(Q)),h(Q),m($(a===void 0?Q:f))},_=(Q,I)=>{let H=B;if(isNaN(H)){let ee=isNaN(I)?0:I;return Di(ee,t,r,k)}else{let ee=Di(H,t,r,k);return Q==="+"&&ee>H||Q==="-"&&ee{let Q=_("+",t);Q===f&&m($(Q)),h(Q),S.commitValidation()},j=()=>{let Q=_("-",r);Q===f&&m($(Q)),h(Q),S.commitValidation()},Z=()=>{r!=null&&(h(Di(r,t,r,k)),S.commitValidation())},q=()=>{t!=null&&(h(t),S.commitValidation())},U=O.useMemo(()=>!c&&!d&&(isNaN(B)||isNaN(r)||Di(B,t,r,k)>B||Yy("+",B,k)<=r),[c,d,t,r,k,B]),A=O.useMemo(()=>!c&&!d&&(isNaN(B)||isNaN(t)||Di(B,t,r,k)=t),[c,d,t,r,k,B]);return{...S,validate:Q=>g.isValidPartialNumber(Q,t,r),increment:V,incrementToMax:Z,decrement:j,decrementToMin:q,canIncrement:U,canDecrement:A,minValue:t,maxValue:r,numberValue:B,setNumberValue:h,setInputValue:m,inputValue:p,commit:R}}function Yy(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const i=t.toString().split("."),a=r.toString().split("."),l=i[1]&&i[1].length||0,s=a[1]&&a[1].length||0,u=Math.pow(10,Math.max(l,s));t=Math.round(t*u),r=Math.round(r*u),n=e==="+"?t+r:t-r,n/=u}return n}var Yee={};Yee={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Gee={};Gee={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Xee={};Xee={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var Jee={};Jee={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var ete={};ete={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var tte={};tte={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var rte={};rte={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var nte={};nte={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var ite={};ite={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var ate={};ate={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var lte={};lte={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var ote={};ote={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var ste={};ste={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var ute={};ute={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var cte={};cte={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var dte={};dte={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var fte={};fte={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var hte={};hte={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var pte={};pte={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var mte={};mte={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var gte={};gte={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var vte={};vte={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var bte={};bte={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var yte={};yte={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var $te={};$te={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Ote={};Ote={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var xte={};xte={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Ste={};Ste={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var wte={};wte={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var kte={};kte={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Cte={};Cte={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Ete={};Ete={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Pte={};Pte={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Fte={};Fte={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};function _1e(e){return e&&e.__esModule?e.default:e}var Ate={};Ate={"ar-AE":Yee,"bg-BG":Gee,"cs-CZ":Xee,"da-DK":Jee,"de-DE":ete,"el-GR":tte,"en-US":rte,"es-ES":nte,"et-EE":ite,"fi-FI":ate,"fr-FR":lte,"he-IL":ote,"hr-HR":ste,"hu-HU":ute,"it-IT":cte,"ja-JP":dte,"ko-KR":fte,"lt-LT":hte,"lv-LV":pte,"nb-NO":mte,"nl-NL":gte,"pl-PL":vte,"pt-BR":bte,"pt-PT":yte,"ro-RO":$te,"ru-RU":Ote,"sk-SK":xte,"sl-SI":Ste,"sr-SP":wte,"sv-SE":kte,"tr-TR":Cte,"uk-UA":Ete,"zh-CN":Pte,"zh-TW":Fte};function N1e(e,t,r){let{id:n,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:l,isReadOnly:s,isRequired:u,minValue:c,maxValue:d,autoFocus:f,label:h,formatOptions:p,onBlur:m=()=>{},onFocus:g,onFocusChange:b,onKeyDown:v,onKeyUp:y,description:$,errorMessage:S,...k}=e,{increment:C,incrementToMax:F,decrement:E,decrementToMin:M,numberValue:D,inputValue:T,commit:B,commitValidation:R}=t;const _=lr(_1e(Ate),"@react-aria/numberfield");let V=ir(n),{focusProps:j}=Wh({onBlur(){B()}}),Z=Qg(p),q=O.useMemo(()=>Z.resolvedOptions(),[Z]),U=Qg({...p,currencySign:void 0}),A=O.useMemo(()=>isNaN(D)?"":U.format(D),[U,D]),{spinButtonProps:W,incrementButtonProps:Q,decrementButtonProps:I}=m1e({isDisabled:l,isReadOnly:s,isRequired:u,maxValue:d,minValue:c,onIncrement:C,onIncrementToMax:F,onDecrement:E,onDecrementToMin:M,value:D,textValue:A}),[H,ee]=O.useState(!1),{focusWithinProps:ue}=Tu({isDisabled:l,onFocusWithinChange:ee}),se=O.useCallback(Rt=>{Math.abs(Rt.deltaY)<=Math.abs(Rt.deltaX)||(Rt.deltaY>0?C():Rt.deltaY<0&&E())},[E,C]);kpe({onScroll:se,isDisabled:l||s||!H},r);let tt=q.maximumFractionDigits>0,Qe=isNaN(t.minValue)||t.minValue<0,Te="numeric";LZ()?Qe?Te="text":tt&&(Te="decimal"):qc()&&(Qe?Te="numeric":tt&&(Te="decimal"));let Ie=Rt=>{t.validate(Rt)&&t.setInputValue(Rt)},At=Kt(e),pt=O.useCallback(Rt=>{Rt.key==="Enter"?(B(),R()):Rt.continuePropagation()},[B,R]),{isInvalid:dr,validationErrors:Lt,validationDetails:fr}=t.displayValidation,{labelProps:yt,inputProps:be,descriptionProps:Se,errorMessageProps:Oe}=j0e({...k,...At,name:void 0,label:h,autoFocus:f,isDisabled:l,isReadOnly:s,isRequired:u,validate:void 0,[dh]:t,value:T,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:V,type:"text",inputMode:Te,onChange:Ie,onBlur:m,onFocus:g,onFocusChange:b,onKeyDown:O.useMemo(()=>yo(pt,v),[pt,v]),onKeyUp:y,description:$,errorMessage:S},t,r);Du(r,t.numberValue,t.setNumberValue);let Ye=$e(W,j,be,{role:null,"aria-roledescription":Lh()?null:_.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Ye["aria-required"]=void 0);let We=Rt=>{document.activeElement!==r.current&&(Rt.pointerType==="mouse"?r.current.focus():Rt.target.focus())},at=e["aria-label"]||(typeof e.label=="string"?e.label:""),re;at||(re=e.label!=null?yt.id:e["aria-labelledby"]);let me=ir(),qe=ir(),He=$e(Q,{"aria-label":a||_.format("increase",{fieldLabel:at}).trim(),id:re&&!a?me:null,"aria-labelledby":re&&!a?`${me} ${re}`:null,"aria-controls":V,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:We}),lt=$e(I,{"aria-label":i||_.format("decrease",{fieldLabel:at}).trim(),id:re&&!i?qe:null,"aria-labelledby":re&&!i?`${qe} ${re}`:null,"aria-controls":V,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:We});return{groupProps:{...ue,role:"group","aria-disabled":l,"aria-invalid":dr?"true":void 0},labelProps:yt,inputProps:Ye,incrementButtonProps:He,decrementButtonProps:lt,errorMessageProps:Oe,descriptionProps:Se,isInvalid:dr,validationErrors:Lt,validationDetails:fr}}var Dte={};Object.defineProperty(Dte,"__esModule",{value:!0});var L1e=Dte.A4uAdd=V1e,W_=Q1e(O);function Q1e(e){return e&&e.__esModule?e:{default:e}}function o0(){return o0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function U1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Rte(e){var t=e.scale,r=t===void 0?"M":t,n=Z1e(e,["scale"]);return Gy.default.createElement("svg",OC({},n,n),r==="L"&&Gy.default.createElement("path",{d:"M5 7a.747.747 0 0 0 .53-.22l4.24-4.24a.75.75 0 1 0-1.06-1.06L5 5.19 1.29 1.48A.75.75 0 1 0 .23 2.54l4.24 4.24A.747.747 0 0 0 5 7z"}),r==="M"&&Gy.default.createElement("path",{d:"M4 5.5a.747.747 0 0 0 .53-.22c.607-.577 1.97-2.038 3.24-3.24A.75.75 0 1 0 6.71.98L4 3.69 1.29.98A.75.75 0 1 0 .23 2.04l3.24 3.24A.747.747 0 0 0 4 5.5z"}))}Rte.displayName="ChevronDownSmall";function q1e(e){return w.createElement(Ln,e,w.createElement(j1e,null))}var Ite={};Object.defineProperty(Ite,"__esModule",{value:!0});var H1e=Ite.ChevronUpSmall=Mte,Xy=K1e(O);function K1e(e){return e&&e.__esModule?e:{default:e}}function xC(){return xC=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function G1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Mte(e){var t=e.scale,r=t===void 0?"M":t,n=Y1e(e,["scale"]);return Xy.default.createElement("svg",xC({},n,n),r==="L"&&Xy.default.createElement("path",{d:"M5 1a.747.747 0 0 0-.53.22L.23 5.46a.75.75 0 1 0 1.06 1.06L5 2.81l3.71 3.71a.75.75 0 1 0 1.06-1.06L5.53 1.22A.747.747 0 0 0 5 1z"}),r==="M"&&Xy.default.createElement("path",{d:"M4 .5a.747.747 0 0 0-.53.22C2.862 1.297 1.5 2.758.23 3.96a.75.75 0 1 0 1.06 1.06L4 2.31l2.71 2.71a.75.75 0 1 0 1.06-1.06L4.53.72A.747.747 0 0 0 4 .5z"}))}Mte.displayName="ChevronUpSmall";function X1e(e){return w.createElement(Ln,e,w.createElement(H1e,null))}var Bte={};Object.defineProperty(Bte,"__esModule",{value:!0});var J1e=Bte.A4uRemove=tbe,Z_=ebe(O);function ebe(e){return e&&e.__esModule?e:{default:e}}function s0(){return s0=Object.assign?Object.assign.bind():function(e){for(var t=1;tSC,e=>SC=e);bt(Xe,"field",()=>wC,e=>wC=e);bt(Xe,"focus-ring",()=>kC,e=>kC=e);bt(Xe,"i18nFontFamily",()=>u0,e=>u0=e);bt(Xe,"increment",()=>CC,e=>CC=e);bt(Xe,"is-active",()=>EC,e=>EC=e);bt(Xe,"is-disabled",()=>PC,e=>PC=e);bt(Xe,"is-focused",()=>FC,e=>FC=e);bt(Xe,"is-hovered",()=>AC,e=>AC=e);bt(Xe,"is-invalid",()=>DC,e=>DC=e);bt(Xe,"is-open",()=>TC,e=>TC=e);bt(Xe,"spectrum-BaseButton",()=>So,e=>So=e);bt(Xe,"spectrum-FocusRing-ring",()=>c0,e=>c0=e);bt(Xe,"spectrum-FocusRing",()=>wo,e=>wo=e);bt(Xe,"spectrum-ActionButton",()=>RC,e=>RC=e);bt(Xe,"spectrum-ActionButton--quiet",()=>IC,e=>IC=e);bt(Xe,"spectrum-ActionButton-hold",()=>MC,e=>MC=e);bt(Xe,"spectrum-ActionButton-label",()=>BC,e=>BC=e);bt(Xe,"spectrum-Button",()=>_C,e=>_C=e);bt(Xe,"spectrum-Button--iconOnly",()=>NC,e=>NC=e);bt(Xe,"spectrum-Button--pending",()=>LC,e=>LC=e);bt(Xe,"spectrum-Button-circleLoader",()=>QC,e=>QC=e);bt(Xe,"spectrum-Button-label",()=>VC,e=>VC=e);bt(Xe,"spectrum-ClearButton",()=>zC,e=>zC=e);bt(Xe,"spectrum-ClearButton--small",()=>jC,e=>jC=e);bt(Xe,"spectrum-FieldButton",()=>WC,e=>WC=e);bt(Xe,"spectrum-FocusRing--quiet",()=>fh,e=>fh=e);bt(Xe,"spectrum-FieldButton--quiet",()=>ZC,e=>ZC=e);bt(Xe,"spectrum-Icon",()=>UC,e=>UC=e);bt(Xe,"spectrum-LogicButton",()=>qC,e=>qC=e);bt(Xe,"spectrum-Stepper",()=>HC,e=>HC=e);bt(Xe,"spectrum-Stepper--isMobile",()=>KC,e=>KC=e);bt(Xe,"spectrum-Stepper--isQuiet",()=>YC,e=>YC=e);bt(Xe,"spectrum-Stepper--readonly",()=>GC,e=>GC=e);bt(Xe,"spectrum-Stepper--showStepper",()=>XC,e=>XC=e);bt(Xe,"spectrum-Stepper-button",()=>JC,e=>JC=e);bt(Xe,"spectrum-Stepper-button--stepDown",()=>eE,e=>eE=e);bt(Xe,"spectrum-Stepper-button--stepUp",()=>tE,e=>tE=e);bt(Xe,"spectrum-Stepper-button-icon",()=>rE,e=>rE=e);bt(Xe,"spectrum-Stepper-container",()=>nE,e=>nE=e);bt(Xe,"spectrum-Stepper-container--isMobile",()=>iE,e=>iE=e);bt(Xe,"spectrum-Stepper-field",()=>aE,e=>aE=e);bt(Xe,"spectrum-Stepper-icon",()=>lE,e=>lE=e);bt(Xe,"spectrum-Stepper-input",()=>oE,e=>oE=e);var SC,wC,kC,u0,CC,EC,PC,FC,AC,DC,TC,So,c0,wo,RC,IC,MC,BC,_C,NC,LC,QC,VC,zC,jC,WC,fh,ZC,UC,qC,HC,KC,YC,GC,XC,JC,eE,tE,rE,nE,iE,aE,lE,oE;SC="Ug6T-W_decrement";wC="Ug6T-W_field";kC="Ug6T-W_focus-ring";u0="Ug6T-W_i18nFontFamily";CC="Ug6T-W_increment";EC="Ug6T-W_is-active";PC="Ug6T-W_is-disabled";FC="Ug6T-W_is-focused";AC="Ug6T-W_is-hovered";DC="Ug6T-W_is-invalid";TC="Ug6T-W_is-open";So=`Ug6T-W_spectrum-BaseButton ${u0}`;c0="Ug6T-W_spectrum-FocusRing-ring";wo=`Ug6T-W_spectrum-FocusRing ${c0}`;RC=`Ug6T-W_spectrum-ActionButton ${So} ${wo}`;IC="Ug6T-W_spectrum-ActionButton--quiet";MC="Ug6T-W_spectrum-ActionButton-hold";BC="Ug6T-W_spectrum-ActionButton-label";_C=`Ug6T-W_spectrum-Button ${So} ${wo}`;NC="Ug6T-W_spectrum-Button--iconOnly";LC="Ug6T-W_spectrum-Button--pending";QC="Ug6T-W_spectrum-Button-circleLoader";VC="Ug6T-W_spectrum-Button-label";zC=`Ug6T-W_spectrum-ClearButton ${So} ${wo}`;jC="Ug6T-W_spectrum-ClearButton--small";WC=`Ug6T-W_spectrum-FieldButton ${So} ${wo}`;fh="Ug6T-W_spectrum-FocusRing--quiet";ZC=`Ug6T-W_spectrum-FieldButton--quiet ${fh}`;UC="Ug6T-W_spectrum-Icon";qC=`Ug6T-W_spectrum-LogicButton ${So} ${wo}`;HC=`Ug6T-W_spectrum-Stepper ${wo}`;KC="Ug6T-W_spectrum-Stepper--isMobile";YC=`Ug6T-W_spectrum-Stepper--isQuiet ${fh}`;GC="Ug6T-W_spectrum-Stepper--readonly";XC="Ug6T-W_spectrum-Stepper--showStepper";JC=`Ug6T-W_spectrum-Stepper-button ${So}`;eE="Ug6T-W_spectrum-Stepper-button--stepDown";tE="Ug6T-W_spectrum-Stepper-button--stepUp";rE="Ug6T-W_spectrum-Stepper-button-icon";nE="Ug6T-W_spectrum-Stepper-container";iE="Ug6T-W_spectrum-Stepper-container--isMobile";aE="Ug6T-W_spectrum-Stepper-field";lE="Ug6T-W_spectrum-Stepper-icon";oE="Ug6T-W_spectrum-Stepper-input";function nbe(e,t){e=Fn(e);let{scale:r}=Gn(),{direction:n,isDisabled:i,isQuiet:a}=e,{buttonProps:l,isPressed:s}=Ao({...e,elementType:"div"},t),{hoverProps:u,isHovered:c}=Er(e);return w.createElement(_r,{focusRingClass:z(Xi(Xe),"focus-ring")},w.createElement("div",{className:z(Xi(Xe),"spectrum-Stepper-button",{"spectrum-Stepper-button--stepUp":n==="up","spectrum-Stepper-button--stepDown":n==="down","spectrum-Stepper-button--isQuiet":a,"is-hovered":c,"is-active":s,"is-disabled":i}),...$e(u,l),ref:t},n==="up"&&r==="large"&&w.createElement(z1e,{UNSAFE_className:z(Xi(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepUpIcon"),size:"S"}),n==="up"&&r==="medium"&&w.createElement(X1e,{UNSAFE_className:z(Xi(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepUpIcon")}),n==="down"&&r==="large"&&w.createElement(rbe,{UNSAFE_className:z(Xi(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepDownIcon"),size:"S"}),n==="down"&&r==="medium"&&w.createElement(q1e,{UNSAFE_className:z(Xi(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepDownIcon")})))}let U_=w.forwardRef(nbe);function ibe(e,t){e=Fn(e),e=Io(e);let r=Gn(),{isQuiet:n,isReadOnly:i,isDisabled:a,hideStepper:l}=e,{styleProps:s}=Nt(e),{locale:u}=yr(),c=B1e({...e,locale:u}),d=O.useRef(),f=Ra(t,d),{groupProps:h,labelProps:p,inputProps:m,incrementButtonProps:g,decrementButtonProps:b,descriptionProps:v,errorMessageProps:y,isInvalid:$,validationErrors:S,validationDetails:k}=N1e(e,c,d),C=r.scale==="large",F=!l,{isHovered:E,hoverProps:M}=Er({isDisabled:a}),D=e.validationState||($?"invalid":null),T=z(Xi(Xe),"spectrum-Stepper",{"spectrum-Stepper--isQuiet":n,"is-disabled":a,"spectrum-Stepper--readonly":i,"is-invalid":D==="invalid"&&!a,"spectrum-Stepper--showStepper":F,"spectrum-Stepper--isMobile":C,"is-hovered":E,[s.className]:!e.label&&s.className});return w.createElement(Mu,{...e,descriptionProps:v,errorMessageProps:y,isInvalid:$,validationErrors:S,validationDetails:k,labelProps:p,ref:f,wrapperClassName:z(Xi(Xe),"spectrum-Stepper-container",{"spectrum-Stepper-container--isMobile":C})},w.createElement(abe,{...e,groupProps:$e(h,M),inputProps:m,inputRef:d,incrementProps:g,decrementProps:b,className:T,style:s,state:c,validationState:D}))}const abe=w.forwardRef(function(t,r){let{groupProps:n,inputProps:i,inputRef:a,incrementProps:l,decrementProps:s,className:u,style:c,autoFocus:d,isQuiet:f,isDisabled:h,hideStepper:p,validationState:m,name:g,state:b}=t,v=!p;return w.createElement(_r,{within:!0,isTextInput:!0,focusClass:z(Xi(Xe),"is-focused"),focusRingClass:z(Xi(Xe),"focus-ring"),autoFocus:d},w.createElement("div",{...n,ref:r,style:c,className:u},w.createElement(ep,{UNSAFE_className:z(Xi(Xe),"spectrum-Stepper-field"),inputClassName:z(Xi(Xe),"spectrum-Stepper-input"),validationIconClassName:z(Xi(Xe),"spectrum-Stepper-icon"),isQuiet:f,inputRef:a,validationState:m,inputProps:i,isDisabled:h,disableFocusRing:!0}),v&&w.createElement(w.Fragment,null,w.createElement(U_,{direction:"up",isQuiet:f,...l}),w.createElement(U_,{direction:"down",isQuiet:f,...s})),g&&w.createElement("input",{type:"hidden",name:g,value:isNaN(b.numberValue)?"":b.numberValue})))});let lbe=w.forwardRef(ibe);var _te={};_te={loading:"جارٍ التحميل...",placeholder:"حدد خيارًا..."};var Nte={};Nte={loading:"Зареждане...",placeholder:"Изберете опция"};var Lte={};Lte={loading:"Načítání...",placeholder:"Vyberte vhodnou možnost..."};var Qte={};Qte={loading:"Indlæser ...",placeholder:"Vælg en mulighed ..."};var Vte={};Vte={loading:"Laden...",placeholder:"Option auswählen..."};var zte={};zte={loading:"Φόρτωση...",placeholder:"Επιλέξτε…"};var jte={};jte={placeholder:"Select an option…",loading:"Loading…"};var Wte={};Wte={loading:"Cargando…",placeholder:"Selecciona una de estas opciones..."};var Zte={};Zte={loading:"Laadimine...",placeholder:"Valige valikuline..."};var Ute={};Ute={loading:"Ladataan…",placeholder:"Valitse vaihtoehto..."};var qte={};qte={loading:"Chargement...",placeholder:"Sélectionnez une option..."};var Hte={};Hte={loading:"טוען...",placeholder:"בחר אפשרות..."};var Kte={};Kte={loading:"Učitavam...",placeholder:"Odaberite opciju"};var Yte={};Yte={loading:"Betöltés folyamatban…",placeholder:"Válasszon egy opciót…"};var Gte={};Gte={loading:"Caricamento...",placeholder:"Seleccione una opción…"};var Xte={};Xte={loading:"読み込み中...",placeholder:"オプションを選択..."};var Jte={};Jte={loading:"로드 중",placeholder:"선택 사항 선택"};var ere={};ere={loading:"Įkeliama...",placeholder:"Pasirinkite parinktį..."};var tre={};tre={loading:"Notiek ielāde...",placeholder:"Atlasiet opciju..."};var rre={};rre={loading:"Laster inn ...",placeholder:"Velg et alternativ..."};var nre={};nre={loading:"Laden...",placeholder:"Optie selecteren..."};var ire={};ire={loading:"Ładowanie...",placeholder:"Wybierz opcję..."};var are={};are={loading:"Carregando...",placeholder:"Selecione uma opção..."};var lre={};lre={loading:"A carregar...",placeholder:"Selecionar uma opção..."};var ore={};ore={loading:"Se încarcă...",placeholder:"Selectați o opțiune"};var sre={};sre={loading:"Загрузка...",placeholder:"Выбрать параметр..."};var ure={};ure={loading:"Načítava sa...",placeholder:"Vyberte možnosť..."};var cre={};cre={loading:"Nalaganje...",placeholder:"Izberite možnost"};var dre={};dre={loading:"Učitavam...",placeholder:"Izaberite opciju"};var fre={};fre={loading:"Läser in...",placeholder:"Välj ett alternativ..."};var hre={};hre={loading:"Yükleniyor...",placeholder:"Bir seçim yapın…"};var pre={};pre={loading:"Завантаження…",placeholder:"Виберіть опцію..."};var mre={};mre={loading:"正在加载...",placeholder:"选择一个选项..."};var gre={};gre={loading:"正在載入",placeholder:"選取一個選項"};const vre=new WeakMap;function obe(e,t,r){let{keyboardDelegate:n,isDisabled:i,isRequired:a,name:l,validationBehavior:s="aria"}=e,u=md({usage:"search",sensitivity:"base"}),c=O.useMemo(()=>n||new jR(t.collection,t.disabledKeys,null,u),[n,t.collection,t.disabledKeys,u]),{menuTriggerProps:d,menuProps:f}=WR({isDisabled:i,type:"listbox"},t,r),h=E=>{switch(E.key){case"ArrowLeft":{E.preventDefault();let M=t.selectedKey!=null?c.getKeyAbove(t.selectedKey):c.getFirstKey();M&&t.setSelectedKey(M);break}case"ArrowRight":{E.preventDefault();let M=t.selectedKey!=null?c.getKeyBelow(t.selectedKey):c.getFirstKey();M&&t.setSelectedKey(M);break}}},{typeSelectProps:p}=CH({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(E){t.setSelectedKey(E)}}),{isInvalid:m,validationErrors:g,validationDetails:b}=t.displayValidation,{labelProps:v,fieldProps:y,descriptionProps:$,errorMessageProps:S}=qh({...e,labelElementType:"span",isInvalid:m,errorMessage:e.errorMessage||g});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture;let k=Kt(e,{labelable:!0}),C=$e(p,d,y),F=ir();return vre.set(t,{isDisabled:i,isRequired:a,name:l,validationBehavior:s}),{labelProps:{...v,onClick:()=>{e.isDisabled||(r.current.focus(),B1("keyboard"))}},triggerProps:$e(k,{...C,isDisabled:i,onKeyDown:yo(C.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,C["aria-labelledby"],C["aria-label"]&&!C["aria-labelledby"]?C.id:null].filter(Boolean).join(" "),onFocus(E){t.isFocused||(e.onFocus&&e.onFocus(E),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(E){t.isOpen||(e.onBlur&&e.onBlur(E),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:E=>{E.currentTarget.contains(E.relatedTarget)||(e.onBlur&&e.onBlur(E),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[y["aria-labelledby"],C["aria-label"]&&!y["aria-labelledby"]?C.id:null].filter(Boolean).join(" ")},descriptionProps:$,errorMessageProps:S,isInvalid:m,validationErrors:g,validationDetails:b}}function sbe(e,t,r){let n=vre.get(t)||{},{autoComplete:i,name:a=n.name,isDisabled:l=n.isDisabled}=e,{validationBehavior:s,isRequired:u}=n,c=RR(),{visuallyHiddenProps:d}=Ru();Du(e.selectRef,t.selectedKey,t.setSelectedKey),Jh({validationBehavior:s,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:l},selectProps:{tabIndex:-1,autoComplete:i,disabled:l,required:s==="native"&&u,name:a,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:h=>t.setSelectedKey(h.target.value)}}}function ube(e){let{state:t,triggerRef:r,label:n,name:i,isDisabled:a}=e,l=O.useRef(null),{containerProps:s,inputProps:u,selectProps:c}=sbe({...e,selectRef:l},t,r);var d;return t.collection.size<=300?w.createElement("div",{...s,"data-testid":"hidden-select-container"},w.createElement("input",u),w.createElement("label",null,n,w.createElement("select",{...c,ref:l},w.createElement("option",null),[...t.collection.getKeys()].map(f=>{let h=t.collection.getItem(f);if(h.type==="item")return w.createElement("option",{key:h.key,value:h.key},h.textValue)})))):i?w.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:i,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function cbe(e){let t=Yh(e),[r,n]=O.useState(null),i=QH({...e,onSelectionChange:u=>{e.onSelectionChange!=null&&e.onSelectionChange(u),t.close(),a.commitValidation()}}),a=Bs({...e,value:i.selectedKey}),[l,s]=O.useState(!1);return{...a,...i,...t,focusStrategy:r,open(u=null){i.collection.size!==0&&(n(u),t.open())},toggle(u=null){i.collection.size!==0&&(n(u),t.toggle())},isFocused:l,setFocused:s}}function za(e){return e&&e.__esModule?e.default:e}function Zr(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var bre={};bre={"ar-AE":_te,"bg-BG":Nte,"cs-CZ":Lte,"da-DK":Qte,"de-DE":Vte,"el-GR":zte,"en-US":jte,"es-ES":Wte,"et-EE":Zte,"fi-FI":Ute,"fr-FR":qte,"he-IL":Hte,"hr-HR":Kte,"hu-HU":Yte,"it-IT":Gte,"ja-JP":Xte,"ko-KR":Jte,"lt-LT":ere,"lv-LV":tre,"nb-NO":rre,"nl-NL":nre,"pl-PL":ire,"pt-BR":are,"pt-PT":lre,"ro-RO":ore,"ru-RU":sre,"sk-SK":ure,"sl-SI":cre,"sr-SP":dre,"sv-SE":fre,"tr-TR":hre,"uk-UA":pre,"zh-CN":mre,"zh-TW":gre};var zt={};Zr(zt,"focus-ring",()=>sE,e=>sE=e);Zr(zt,"i18nFontFamily",()=>uE,e=>uE=e);Zr(zt,"is-disabled",()=>cE,e=>cE=e);Zr(zt,"is-hovered",()=>dE,e=>dE=e);Zr(zt,"is-invalid",()=>fE,e=>fE=e);Zr(zt,"is-placeholder",()=>hE,e=>hE=e);Zr(zt,"is-selected",()=>pE,e=>pE=e);Zr(zt,"spectrum-Dropdown",()=>mE,e=>mE=e);Zr(zt,"spectrum-Dropdown--quiet",()=>gE,e=>gE=e);Zr(zt,"spectrum-Dropdown-avatar",()=>vE,e=>vE=e);Zr(zt,"spectrum-Dropdown-chevron",()=>bE,e=>bE=e);Zr(zt,"spectrum-Dropdown-fieldWrapper--positionSide",()=>yE,e=>yE=e);Zr(zt,"spectrum-Dropdown-fieldWrapper--quiet",()=>$E,e=>$E=e);Zr(zt,"spectrum-Dropdown-invalidIcon",()=>OE,e=>OE=e);Zr(zt,"spectrum-Dropdown-label",()=>xE,e=>xE=e);Zr(zt,"spectrum-Dropdown-popover--quiet",()=>SE,e=>SE=e);Zr(zt,"spectrum-Dropdown-progressCircle",()=>wE,e=>wE=e);Zr(zt,"spectrum-Dropdown-trigger",()=>kE,e=>kE=e);Zr(zt,"spectrum-Field",()=>CE,e=>CE=e);Zr(zt,"spectrum-FocusRing-ring",()=>d0,e=>d0=e);Zr(zt,"spectrum-FocusRing",()=>EE,e=>EE=e);Zr(zt,"spectrum-FocusRing--quiet",()=>PE,e=>PE=e);Zr(zt,"spectrum-Icon",()=>FE,e=>FE=e);var sE,uE,cE,dE,fE,hE,pE,mE,gE,vE,bE,yE,$E,OE,xE,SE,wE,kE,CE,d0,EE,PE,FE;sE="PBsjDW_focus-ring";uE="PBsjDW_i18nFontFamily";cE="PBsjDW_is-disabled";dE="PBsjDW_is-hovered";fE="PBsjDW_is-invalid";hE="PBsjDW_is-placeholder";pE="PBsjDW_is-selected";mE="PBsjDW_spectrum-Dropdown";gE="PBsjDW_spectrum-Dropdown--quiet";vE="PBsjDW_spectrum-Dropdown-avatar";bE="PBsjDW_spectrum-Dropdown-chevron";yE="PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide";$E="PBsjDW_spectrum-Dropdown-fieldWrapper--quiet";OE="PBsjDW_spectrum-Dropdown-invalidIcon";xE="PBsjDW_spectrum-Dropdown-label";SE="PBsjDW_spectrum-Dropdown-popover--quiet";wE="PBsjDW_spectrum-Dropdown-progressCircle";kE="PBsjDW_spectrum-Dropdown-trigger";CE="PBsjDW_spectrum-Field";d0="PBsjDW_spectrum-FocusRing-ring";EE=`PBsjDW_spectrum-FocusRing ${d0}`;PE="PBsjDW_spectrum-FocusRing--quiet";FE="PBsjDW_spectrum-Icon";function dbe(e,t){e=Ia(e,"picker"),e=Fn(e),e=Io(e);let r=lr(za(bre),"@react-spectrum/picker"),{autoComplete:n,isDisabled:i,direction:a="bottom",align:l="start",shouldFlip:s=!0,placeholder:u=r.format("placeholder"),isQuiet:c,label:d,labelPosition:f="top",menuWidth:h,name:p,autoFocus:m}=e,g=cbe(e),b=Xr(t),v=O.useRef(),y=O.useRef(),$=Vg(y),S=O.useRef(),k=e.isLoading&&g.collection.size===0,C=e.isLoading&&g.collection.size>0,F=ir(),E=tI(g,C),{labelProps:M,triggerProps:D,valueProps:T,menuProps:B,descriptionProps:R,errorMessageProps:_,isInvalid:V,validationErrors:j,validationDetails:Z}=obe({...e,"aria-describedby":k?F:void 0,keyboardDelegate:E},g,$),q=jh(),{hoverProps:U,isHovered:A}=Er({isDisabled:i}),W=w.createElement(rI,{...B,ref:S,disallowEmptySelection:!0,autoFocus:g.focusStrategy||!0,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:E,state:g,width:q?"100%":void 0,UNSAFE_style:{maxHeight:"inherit"},isLoading:e.isLoading,onLoadMore:e.onLoadMore}),[Q,I]=O.useState(null),{scale:H}=Gn(),ee=O.useCallback(()=>{if(!q&&$.current){let Qe=$.current.offsetWidth;I(Qe)}},[$,I,q]);Vh({ref:$,onResize:ee}),wt(ee,[H,g.selectedKey,ee]);let ue;if(q)ue=w.createElement(z1,{state:g},W);else{let Te={width:h?_t(h):c?null:Q,minWidth:c?`calc(${Q}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))`:Q};ue=w.createElement(V1,{UNSAFE_style:Te,UNSAFE_className:z(za(zt),"spectrum-Dropdown-popover",{"spectrum-Dropdown-popover--quiet":c}),ref:v,placement:`${a} ${l}`,shouldFlip:s,hideArrow:!0,state:g,triggerRef:$,scrollRef:S},W)}let se=g.selectedItem?g.selectedItem.rendered:u;typeof se=="string"&&(se=w.createElement(Hh,null,se));let Ce=w.createElement("div",{className:z(za(zt),"spectrum-Dropdown",{"is-invalid":V&&!i,"is-disabled":i,"spectrum-Dropdown--quiet":c})},w.createElement(ube,{autoComplete:n,isDisabled:i,state:g,triggerRef:$,label:d,name:p}),w.createElement(I1,$e(U,D),w.createElement(sq,{ref:y,isActive:g.isOpen,isQuiet:c,isDisabled:i,isInvalid:V,autoFocus:m,UNSAFE_className:z(za(zt),"spectrum-Dropdown-trigger",{"is-hovered":A})},w.createElement(Ma,{slots:{icon:{UNSAFE_className:z(za(zt),"spectrum-Icon"),size:"S"},avatar:{UNSAFE_className:z(za(zt),"spectrum-Dropdown-avatar"),size:"avatar-size-100"},text:{...T,UNSAFE_className:z(za(zt),"spectrum-Dropdown-label",{"is-placeholder":!g.selectedItem})},description:{isHidden:!0}}},se),k&&w.createElement(gd,{id:F,isIndeterminate:!0,size:"S","aria-label":r.format("loading"),UNSAFE_className:z(za(zt),"spectrum-Dropdown-progressCircle")}),V&&!k&&!i&&w.createElement(U1,{UNSAFE_className:z(za(zt),"spectrum-Dropdown-invalidIcon")}),w.createElement(L1,{UNSAFE_className:z(za(zt),"spectrum-Dropdown-chevron")}))),g.collection.size===0?null:ue),tt=d?z(za(zt),"spectrum-Field",{"spectrum-Dropdown-fieldWrapper--quiet":c,"spectrum-Dropdown-fieldWrapper--positionSide":f==="side"}):"";return w.createElement(Mu,{...e,ref:b,wrapperClassName:tt,labelProps:M,descriptionProps:R,errorMessageProps:_,isInvalid:V,validationErrors:j,validationDetails:Z,showErrorIcon:!1,includeNecessityIndicatorInAccessibilityName:!0,elementType:"span"},Ce)}const fbe=w.forwardRef(dbe);const yre=new WeakMap;function hbe(e,t,r){let{value:n,children:i,"aria-label":a,"aria-labelledby":l}=e;const s=e.isDisabled||t.isDisabled;let u=i!=null,c=a!=null||l!=null;!u&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=t.selectedValue===n,f=E=>{E.stopPropagation(),t.setSelectedValue(n)},{pressProps:h,isPressed:p}=Vi({isDisabled:s}),{pressProps:m,isPressed:g}=Vi({isDisabled:s,onPress(){t.setSelectedValue(n)}}),{focusableProps:b}=Ms($e(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),v=$e(h,b),y=Kt(e,{labelable:!0}),$=-1;t.selectedValue!=null?t.selectedValue===n&&($=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&($=0),s&&($=void 0);let{name:S,descriptionId:k,errorMessageId:C,validationBehavior:F}=yre.get(t);return Du(r,t.selectedValue,t.setSelectedValue),Jh({validationBehavior:F},t,r),{labelProps:$e(m,{onClick:E=>E.preventDefault()}),inputProps:$e(y,{...v,type:"radio",name:S,tabIndex:$,disabled:s,required:t.isRequired&&F==="native",checked:d,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?C:null,k].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:d,isPressed:p||g}}function pbe(e,t){let{name:r,isReadOnly:n,isRequired:i,isDisabled:a,orientation:l="vertical",validationBehavior:s="aria"}=e,{direction:u}=yr(),{isInvalid:c,validationErrors:d,validationDetails:f}=t.displayValidation,{labelProps:h,fieldProps:p,descriptionProps:m,errorMessageProps:g}=qh({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||d}),b=Kt(e,{labelable:!0}),{focusWithinProps:v}=Tu({onBlurWithin(S){var k;(k=e.onBlur)===null||k===void 0||k.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=S=>{let k;switch(S.key){case"ArrowRight":u==="rtl"&&l!=="vertical"?k="prev":k="next";break;case"ArrowLeft":u==="rtl"&&l!=="vertical"?k="next":k="prev";break;case"ArrowDown":k="next";break;case"ArrowUp":k="prev";break;default:return}S.preventDefault();let C=ta(S.currentTarget,{from:S.target}),F;k==="next"?(F=C.nextNode(),F||(C.currentNode=S.currentTarget,F=C.firstChild())):(F=C.previousNode(),F||(C.currentNode=S.currentTarget,F=C.lastChild())),F&&(F.focus(),t.setSelectedValue(F.value))},$=ir(r);return yre.set(t,{name:$,descriptionId:m.id,errorMessageId:g.id,validationBehavior:s}),{radioGroupProps:$e(b,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":l,...p,...v}),labelProps:h,descriptionProps:m,errorMessageProps:g,isInvalid:c,validationErrors:d,validationDetails:f}}let mbe=Math.round(Math.random()*1e10),gbe=0;function vbe(e){let t=O.useMemo(()=>e.name||`radio-group-${mbe}-${++gbe}`,[e.name]);var r;let[n,i]=ca(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,l]=O.useState(null),s=Bs({...e,value:n}),u=d=>{!e.isReadOnly&&!e.isDisabled&&(i(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:n,setSelectedValue:u,lastFocusedValue:a,setLastFocusedValue:l,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}function Xs(e){return e&&e.__esModule?e.default:e}function sn(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Mn={};sn(Mn,"focus-ring",()=>AE,e=>AE=e);sn(Mn,"i18nFontFamily",()=>DE,e=>DE=e);sn(Mn,"is-hovered",()=>TE,e=>TE=e);sn(Mn,"is-invalid",()=>RE,e=>RE=e);sn(Mn,"spectrum-FocusRing-ring",()=>f0,e=>f0=e);sn(Mn,"spectrum-FocusRing",()=>IE,e=>IE=e);sn(Mn,"spectrum-FocusRing--quiet",()=>ME,e=>ME=e);sn(Mn,"spectrum-Radio",()=>BE,e=>BE=e);sn(Mn,"spectrum-Radio--labelBelow",()=>_E,e=>_E=e);sn(Mn,"spectrum-Radio--quiet",()=>NE,e=>NE=e);sn(Mn,"spectrum-Radio-button",()=>LE,e=>LE=e);sn(Mn,"spectrum-Radio-input",()=>QE,e=>QE=e);sn(Mn,"spectrum-Radio-label",()=>VE,e=>VE=e);var AE,DE,TE,RE,f0,IE,ME,BE,_E,NE,LE,QE,VE;AE="V2HKpq_focus-ring";DE="V2HKpq_i18nFontFamily";TE="V2HKpq_is-hovered";RE="V2HKpq_is-invalid";f0="V2HKpq_spectrum-FocusRing-ring";IE=`V2HKpq_spectrum-FocusRing ${f0}`;ME="V2HKpq_spectrum-FocusRing--quiet";BE="V2HKpq_spectrum-Radio";_E="V2HKpq_spectrum-Radio--labelBelow";NE="V2HKpq_spectrum-Radio--quiet";LE="V2HKpq_spectrum-Radio-button";QE="V2HKpq_spectrum-Radio-input";VE="V2HKpq_spectrum-Radio-label";const $re=w.createContext(null);function bbe(){return O.useContext($re)||{}}function ybe(e,t){let{isDisabled:r,children:n,autoFocus:i,...a}=e,{styleProps:l}=Nt(a),{hoverProps:s,isHovered:u}=Er({isDisabled:r}),c=O.useRef(null),d=Ra(t,c),f=bbe(),{isEmphasized:h,state:p}=f,{inputProps:m}=hbe({...e,...f,isDisabled:r},p,c);return w.createElement("label",{...l,...s,ref:d,className:z(Xs(Mn),"spectrum-Radio",{"spectrum-Radio--quiet":!h,"is-disabled":r,"is-invalid":p.isInvalid,"is-hovered":u},l.className)},w.createElement(_r,{focusRingClass:z(Xs(Mn),"focus-ring"),autoFocus:i},w.createElement("input",{...m,ref:c,className:z(Xs(Mn),"spectrum-Radio-input")})),w.createElement("span",{className:z(Xs(Mn),"spectrum-Radio-button")}),n&&w.createElement("span",{className:z(Xs(Mn),"spectrum-Radio-label")},n))}const Ou=O.forwardRef(ybe);var Nl={};sn(Nl,"focus-ring",()=>zE,e=>zE=e);sn(Nl,"i18nFontFamily",()=>jE,e=>jE=e);sn(Nl,"spectrum-FieldGroup",()=>WE,e=>WE=e);sn(Nl,"spectrum-FieldGroup-group",()=>ZE,e=>ZE=e);sn(Nl,"spectrum-FieldGroup-group--horizontal",()=>UE,e=>UE=e);sn(Nl,"spectrum-FocusRing-ring",()=>h0,e=>h0=e);sn(Nl,"spectrum-FocusRing",()=>qE,e=>qE=e);sn(Nl,"spectrum-FocusRing--quiet",()=>HE,e=>HE=e);var zE,jE,WE,ZE,UE,h0,qE,HE;zE="hyn22G_focus-ring";jE="hyn22G_i18nFontFamily";WE="hyn22G_spectrum-FieldGroup";ZE="hyn22G_spectrum-FieldGroup-group";UE="hyn22G_spectrum-FieldGroup-group--horizontal";h0="hyn22G_spectrum-FocusRing-ring";qE=`hyn22G_spectrum-FocusRing ${h0}`;HE="hyn22G_spectrum-FocusRing--quiet";function $be(e,t){e=Fn(e),e=Io(e);let{isEmphasized:r,children:n,orientation:i="vertical"}=e,a=Xr(t),l=vbe(e),{radioGroupProps:s,...u}=pbe(e,l);return w.createElement(Mu,{...e,...u,ref:a,wrapperClassName:z(Xs(Nl),"spectrum-FieldGroup"),elementType:"span"},w.createElement("div",{...s,className:z(Xs(Nl),"spectrum-FieldGroup-group",{"spectrum-FieldGroup-group--horizontal":i==="horizontal"})},w.createElement($re.Provider,{value:{isEmphasized:r,state:l}},n)))}const Obe=w.forwardRef($be);const xbe=0,Sbe=100,wbe=1;function kbe(e){const{isDisabled:t=!1,minValue:r=xbe,maxValue:n=Sbe,numberFormatter:i,step:a=wbe,orientation:l="horizontal"}=e;let s=O.useMemo(()=>{let W=(n-r)/10;return W=Di(W,0,W+a,a),Math.max(W,a)},[a,n,r]),u=O.useCallback(W=>W==null?void 0:W.map((Q,I)=>{let H=I===0?r:Q[I-1],ee=I===W.length-1?n:Q[I+1];return Di(Q,H,ee,a)}),[r,n,a]),c=O.useMemo(()=>u(H_(e.value)),[e.value]),d=O.useMemo(()=>{var W;return u((W=H_(e.defaultValue))!==null&&W!==void 0?W:[r])},[e.defaultValue,r]),f=K_(e.value,e.defaultValue,e.onChange),h=K_(e.value,e.defaultValue,e.onChangeEnd);const[p,m]=ca(c,d,f),[g,b]=O.useState(new Array(p.length).fill(!1)),v=O.useRef(new Array(p.length).fill(!0)),[y,$]=O.useState(void 0),S=O.useRef(p),k=O.useRef(g);let C=W=>{S.current=W,m(W)},F=W=>{k.current=W,b(W)};function E(W){return(W-r)/(n-r)}function M(W){return W===0?r:p[W-1]}function D(W){return W===p.length-1?n:p[W+1]}function T(W){return v.current[W]}function B(W,Q){v.current[W]=Q}function R(W,Q){if(t||!T(W))return;const I=M(W),H=D(W);Q=Di(Q,I,H,a);let ee=q_(S.current,W,Q);C(ee)}function _(W,Q){if(t||!T(W))return;const I=k.current[W];k.current=q_(k.current,W,Q),F(k.current),h&&I&&!k.current.some(Boolean)&&h(S.current)}function V(W){return i.format(W)}function j(W,Q){R(W,q(Q))}function Z(W){return Math.round((W-r)/a)*a+r}function q(W){const Q=W*(n-r)+r;return Pa(Z(Q),r,n)}function U(W,Q=1){let I=Math.max(Q,a);R(W,Di(p[W]+I,r,n,a))}function A(W,Q=1){let I=Math.max(Q,a);R(W,Di(p[W]-I,r,n,a))}return{values:p,getThumbValue:W=>p[W],setThumbValue:R,setThumbPercent:j,isThumbDragging:W=>g[W],setThumbDragging:_,focusedThumb:y,setFocusedThumb:$,getThumbPercent:W=>E(p[W]),getValuePercent:E,getThumbValueLabel:W=>V(p[W]),getFormattedValue:V,getThumbMinValue:M,getThumbMaxValue:D,getPercentValue:q,isThumbEditable:T,setThumbEditable:B,incrementThumb:U,decrementThumb:A,step:a,pageSize:s,orientation:l,isDisabled:t}}function q_(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function H_(e){if(e!=null)return Array.isArray(e)?e:[e]}function K_(e,t,r){return n=>{typeof e=="number"||typeof t=="number"?r==null||r(n[0]):r==null||r(n)}}const aI=new WeakMap;function KE(e,t){let r=aI.get(e);if(!r)throw new Error("Unknown slider state");return`${r.id}-${t}`}function Cbe(e,t,r){let{labelProps:n,fieldProps:i}=Uh(e),a=e.orientation==="vertical";var l;aI.set(t,{id:(l=n.id)!==null&&l!==void 0?l:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=yr(),{addGlobalListener:u,removeGlobalListener:c}=pd();const d=O.useRef(null),f=s==="rtl",h=O.useRef(null),{moveProps:p}=IR({onMoveStart(){h.current=null},onMove({deltaX:v,deltaY:y}){let{height:$,width:S}=r.current.getBoundingClientRect(),k=a?$:S;h.current==null&&(h.current=t.getThumbPercent(d.current)*k);let C=a?y:v;if((a||f)&&(C=-C),h.current+=C,d.current!=null&&r.current){const F=Pa(h.current/k,0,1);t.setThumbPercent(d.current,F)}},onMoveEnd(){d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null)}});let m=O.useRef(void 0),g=(v,y,$,S)=>{if(r.current&&!e.isDisabled&&t.values.every((k,C)=>!t.isThumbDragging(C))){let{height:k,width:C,top:F,left:E}=r.current.getBoundingClientRect(),M=a?k:C,R=((a?S:$)-(a?F:E))/M;(s==="rtl"||a)&&(R=1-R);let _=t.getPercentValue(R),V,j=t.values.findIndex(Z=>_-Z<0);if(j===0)V=j;else if(j===-1)V=t.values.length-1;else{let Z=t.values[j-1],q=t.values[j];Math.abs(Z-_)=0&&t.isThumbEditable(V)?(v.preventDefault(),d.current=V,t.setFocusedThumb(V),m.current=y,t.setThumbDragging(d.current,!0),t.setThumbValue(V,_),u(window,"mouseup",b,!1),u(window,"touchend",b,!1),u(window,"pointerup",b,!1)):d.current=null}},b=v=>{var y,$;(($=v.pointerId)!==null&&$!==void 0?$:(y=v.changedTouches)===null||y===void 0?void 0:y[0].identifier)===m.current&&(d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null),c(window,"mouseup",b,!1),c(window,"touchend",b,!1),c(window,"pointerup",b,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var v;(v=document.getElementById(KE(t,0)))===null||v===void 0||v.focus(),B1("keyboard")}),{labelProps:n,groupProps:{role:"group",...i},trackProps:$e({onMouseDown(v){v.button!==0||v.altKey||v.ctrlKey||v.metaKey||g(v,void 0,v.clientX,v.clientY)},onPointerDown(v){v.pointerType==="mouse"&&(v.button!==0||v.altKey||v.ctrlKey||v.metaKey)||g(v,v.pointerId,v.clientX,v.clientY)},onTouchStart(v){g(v,v.changedTouches[0].identifier,v.changedTouches[0].clientX,v.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:t.values.map((v,y)=>KE(t,y)).join(" "),"aria-live":"off"}}}function Ebe(e,t){let{index:r=0,isRequired:n,validationState:i,isInvalid:a,trackRef:l,inputRef:s,orientation:u=t.orientation,name:c}=e,d=e.isDisabled||t.isDisabled,f=u==="vertical",{direction:h}=yr(),{addGlobalListener:p,removeGlobalListener:m}=pd(),g=aI.get(t);var b;const{labelProps:v,fieldProps:y}=Uh({...e,id:KE(t,r),"aria-labelledby":`${g.id} ${(b=e["aria-labelledby"])!==null&&b!==void 0?b:""}`.trim()}),$=t.values[r],S=O.useCallback(()=>{s.current&&El(s.current)},[s]),k=t.focusedThumb===r;O.useEffect(()=>{k&&S()},[k,S]);let C=h==="rtl",F=O.useRef(null),{keyboardProps:E}=_1({onKeyDown(j){let{getThumbMaxValue:Z,getThumbMinValue:q,decrementThumb:U,incrementThumb:A,setThumbValue:W,setThumbDragging:Q,pageSize:I}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(j.key)){j.continuePropagation();return}switch(j.preventDefault(),Q(r,!0),j.key){case"PageUp":A(r,I);break;case"PageDown":U(r,I);break;case"Home":W(r,q(r));break;case"End":W(r,Z(r));break}Q(r,!1)}}),{moveProps:M}=IR({onMoveStart(){F.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:j,deltaY:Z,pointerType:q,shiftKey:U}){const{getThumbPercent:A,setThumbPercent:W,decrementThumb:Q,incrementThumb:I,step:H,pageSize:ee}=t;let{width:ue,height:se}=l.current.getBoundingClientRect(),Ce=f?se:ue;if(F.current==null&&(F.current=A(r)*Ce),q==="keyboard")j>0&&C||j<0&&!C||Z>0?Q(r,U?ee:H):I(r,U?ee:H);else{let tt=f?Z:j;(f||C)&&(tt=-tt),F.current+=tt,W(r,Pa(F.current/Ce,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!d);const{focusableProps:D}=Ms($e(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),s);let T=O.useRef(void 0),B=j=>{S(),T.current=j,t.setThumbDragging(r,!0),p(window,"mouseup",R,!1),p(window,"touchend",R,!1),p(window,"pointerup",R,!1)},R=j=>{var Z,q;((q=j.pointerId)!==null&&q!==void 0?q:(Z=j.changedTouches)===null||Z===void 0?void 0:Z[0].identifier)===T.current&&(S(),t.setThumbDragging(r,!1),m(window,"mouseup",R,!1),m(window,"touchend",R,!1),m(window,"pointerup",R,!1))},_=t.getThumbPercent(r);(f||h==="rtl")&&(_=1-_);let V=d?{}:$e(E,M,{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||B()},onPointerDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||B(j.pointerId)},onTouchStart:j=>{B(j.changedTouches[0].identifier)}});return Du(s,$,j=>{t.setThumbValue(r,j)}),{inputProps:$e(D,y,{type:"range",tabIndex:d?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:$,name:c,disabled:d,"aria-orientation":u,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[g["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[g["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:j=>{t.setThumbValue(r,parseFloat(j.target.value))}}),thumbProps:{...V,style:{position:"absolute",[f?"top":"left"]:`${_*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:v,isDragging:t.isThumbDragging(r),isDisabled:d,isFocused:k}}function Gi(e){return e&&e.__esModule?e.default:e}function ht(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Ue={};ht(Ue,"contextualHelp",()=>YE,e=>YE=e);ht(Ue,"focus-ring",()=>GE,e=>GE=e);ht(Ue,"i18nFontFamily",()=>XE,e=>XE=e);ht(Ue,"is-disabled",()=>JE,e=>JE=e);ht(Ue,"is-dragged",()=>eP,e=>eP=e);ht(Ue,"is-focused",()=>tP,e=>tP=e);ht(Ue,"is-hovered",()=>rP,e=>rP=e);ht(Ue,"is-tophandle",()=>nP,e=>nP=e);ht(Ue,"label",()=>iP,e=>iP=e);ht(Ue,"spectrum-Slider",()=>p0,e=>p0=e);ht(Ue,"spectrum-Dial",()=>aP,e=>aP=e);ht(Ue,"spectrum-Dial--small",()=>lP,e=>lP=e);ht(Ue,"spectrum-Slider-controls",()=>m0,e=>m0=e);ht(Ue,"spectrum-Dial-controls",()=>oP,e=>oP=e);ht(Ue,"spectrum-Slider-handle",()=>g0,e=>g0=e);ht(Ue,"spectrum-Dial-handle",()=>sP,e=>sP=e);ht(Ue,"spectrum-Slider-input",()=>v0,e=>v0=e);ht(Ue,"spectrum-Dial-input",()=>uP,e=>uP=e);ht(Ue,"spectrum-Dial-label",()=>cP,e=>cP=e);ht(Ue,"spectrum-Slider-labelContainer",()=>b0,e=>b0=e);ht(Ue,"spectrum-Dial-labelContainer",()=>dP,e=>dP=e);ht(Ue,"spectrum-Dial-value",()=>fP,e=>fP=e);ht(Ue,"spectrum-FocusRing-ring",()=>y0,e=>y0=e);ht(Ue,"spectrum-FocusRing",()=>hP,e=>hP=e);ht(Ue,"spectrum-FocusRing--quiet",()=>pP,e=>pP=e);ht(Ue,"spectrum-Slider--color",()=>mP,e=>mP=e);ht(Ue,"spectrum-Slider--filled",()=>gP,e=>gP=e);ht(Ue,"spectrum-Slider--label-side",()=>vP,e=>vP=e);ht(Ue,"spectrum-Slider--positionSide",()=>bP,e=>bP=e);ht(Ue,"spectrum-Slider--positionTop",()=>yP,e=>yP=e);ht(Ue,"spectrum-Slider--ramp",()=>$P,e=>$P=e);ht(Ue,"spectrum-Slider--range",()=>OP,e=>OP=e);ht(Ue,"spectrum-Slider-buffer",()=>xP,e=>xP=e);ht(Ue,"spectrum-Slider-contextualHelp",()=>SP,e=>SP=e);ht(Ue,"spectrum-Slider-fill",()=>wP,e=>wP=e);ht(Ue,"spectrum-Slider-fill--right",()=>kP,e=>kP=e);ht(Ue,"spectrum-Slider-label",()=>CP,e=>CP=e);ht(Ue,"spectrum-Slider-ramp",()=>EP,e=>EP=e);ht(Ue,"spectrum-Slider-tick",()=>PP,e=>PP=e);ht(Ue,"spectrum-Slider-tickLabel",()=>FP,e=>FP=e);ht(Ue,"spectrum-Slider-ticks",()=>AP,e=>AP=e);ht(Ue,"spectrum-Slider-track",()=>DP,e=>DP=e);ht(Ue,"spectrum-Slider-value",()=>TP,e=>TP=e);ht(Ue,"spectrum-Slider-valueLabelContainer",()=>RP,e=>RP=e);ht(Ue,"u-isGrabbing",()=>IP,e=>IP=e);ht(Ue,"value",()=>MP,e=>MP=e);var YE,GE,XE,JE,eP,tP,rP,nP,iP,p0,aP,lP,m0,oP,g0,sP,v0,uP,cP,b0,dP,fP,y0,hP,pP,mP,gP,vP,bP,yP,$P,OP,xP,SP,wP,kP,CP,EP,PP,FP,AP,DP,TP,RP,IP,MP;YE="BTW8mG_contextualHelp";GE="BTW8mG_focus-ring";XE="BTW8mG_i18nFontFamily";JE="BTW8mG_is-disabled";eP="BTW8mG_is-dragged";tP="BTW8mG_is-focused";rP="BTW8mG_is-hovered";nP="BTW8mG_is-tophandle";iP="BTW8mG_label";p0="BTW8mG_spectrum-Slider";aP=`BTW8mG_spectrum-Dial ${p0}`;lP="BTW8mG_spectrum-Dial--small";m0="BTW8mG_spectrum-Slider-controls";oP=`BTW8mG_spectrum-Dial-controls ${m0}`;g0="BTW8mG_spectrum-Slider-handle";sP=`BTW8mG_spectrum-Dial-handle ${g0}`;v0="BTW8mG_spectrum-Slider-input";uP=`BTW8mG_spectrum-Dial-input ${v0}`;cP="BTW8mG_spectrum-Dial-label";b0="BTW8mG_spectrum-Slider-labelContainer";dP=`BTW8mG_spectrum-Dial-labelContainer ${b0}`;fP="BTW8mG_spectrum-Dial-value";y0="BTW8mG_spectrum-FocusRing-ring";hP=`BTW8mG_spectrum-FocusRing ${y0}`;pP="BTW8mG_spectrum-FocusRing--quiet";mP="BTW8mG_spectrum-Slider--color";gP="BTW8mG_spectrum-Slider--filled";vP="BTW8mG_spectrum-Slider--label-side";bP="BTW8mG_spectrum-Slider--positionSide";yP="BTW8mG_spectrum-Slider--positionTop";$P="BTW8mG_spectrum-Slider--ramp";OP="BTW8mG_spectrum-Slider--range";xP="BTW8mG_spectrum-Slider-buffer";SP="BTW8mG_spectrum-Slider-contextualHelp";wP="BTW8mG_spectrum-Slider-fill";kP="BTW8mG_spectrum-Slider-fill--right";CP="BTW8mG_spectrum-Slider-label";EP="BTW8mG_spectrum-Slider-ramp";PP="BTW8mG_spectrum-Slider-tick";FP="BTW8mG_spectrum-Slider-tickLabel";AP="BTW8mG_spectrum-Slider-ticks";DP="BTW8mG_spectrum-Slider-track";TP="BTW8mG_spectrum-Slider-value";RP="BTW8mG_spectrum-Slider-valueLabelContainer";IP="BTW8mG_u-isGrabbing";MP="BTW8mG_value";function Pbe(e,t){e=Fn(e);let{isDisabled:r,children:n,classes:i,style:a,labelPosition:l="top",getValueLabel:s,showValueLabel:u=!!e.label,formatOptions:c,minValue:d=0,maxValue:f=100,...h}=e,{styleProps:p}=Nt(h);Math.abs(Math.sign(d)-Math.sign(f))===2&&(c!=null?"signDisplay"in c||(c={...c,signDisplay:"exceptZero"}):c={signDisplay:"exceptZero"});const g=Qg(c),b=kbe({...e,numberFormatter:g,minValue:d,maxValue:f});let v=O.useRef(),{groupProps:y,trackProps:$,labelProps:S,outputProps:k}=Cbe(e,b,v),C=O.useRef(),F=Ra(t,C),E="",M;if(typeof s=="function")switch(E=s(b.values),b.values.length){case 1:M=Math.max(s([d]).length,s([f]).length);break;case 2:M=Math.max(s([d,d]).length,s([d,f]).length,s([f,d]).length,s([f,f]).length);break;default:throw new Error("Only sliders with 1 or 2 handles are supported!")}else switch(M=Math.max([...g.format(d)].length,[...g.format(f)].length),b.values.length){case 1:E=b.getThumbValueLabel(0);break;case 2:E=`${b.getThumbValueLabel(0)} – ${b.getThumbValueLabel(1)}`,M=3+2*Math.max(M,[...g.format(d)].length,[...g.format(f)].length);break;default:throw new Error("Only sliders with 1 or 2 handles are supported!")}let D=w.createElement("label",{className:z(Gi(Ue),"spectrum-Slider-label"),...S},e.label),T=w.createElement("output",{...k,className:z(Gi(Ue),"spectrum-Slider-value"),style:M&&{width:`${M}ch`,minWidth:`${M}ch`}},E);return w.createElement("div",{ref:F,className:z(Gi(Ue),"spectrum-Slider",{"spectrum-Slider--positionTop":l==="top","spectrum-Slider--positionSide":l==="side","is-disabled":r},i,p.className),style:{...a,...p.style},...y},e.label&&w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-labelContainer"),role:"presentation"},e.label&&D,e.contextualHelp&&w.createElement(Ma,{slots:{actionButton:{UNSAFE_className:z(Gi(Ue),"spectrum-Slider-contextualHelp")}}},e.contextualHelp),l==="top"&&u&&T),w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-controls"),ref:v,...$,role:"presentation"},n({trackRef:v,inputRef:C,state:b})),l==="side"&&w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-valueLabelContainer"),role:"presentation"},u&&T))}const Fbe=w.forwardRef(Pbe);function Abe(e){let{inputRef:t,state:r}=e,n=O.useRef();t=t||n;let{thumbProps:i,inputProps:a,isDragging:l,isFocused:s}=Ebe({...e,inputRef:t},r),{hoverProps:u,isHovered:c}=Er({});return w.createElement(_r,{within:!0,focusRingClass:z(Gi(Ue),"is-focused")},w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-handle",{"is-hovered":c,"is-dragged":l,"is-tophandle":s}),...$e(i,u),role:"presentation"},w.createElement(vd,null,w.createElement("input",{className:z(Gi(Ue),"spectrum-Slider-input"),ref:t,...a}))))}function Dbe(e,t){let{onChange:r,onChangeEnd:n,value:i,defaultValue:a,isFilled:l,fillOffset:s,trackGradient:u,getValueLabel:c,...d}=e,f={...d,value:i!=null?[i]:void 0,defaultValue:a!=null?[a]:void 0,onChange:p=>{r==null||r(p[0])},onChangeEnd:p=>{n==null||n(p[0])},getValueLabel:c?([p])=>c(p):void 0},{direction:h}=yr();return w.createElement(Fbe,{...f,ref:t,classes:{"spectrum-Slider--filled":l&&s==null},style:{"--spectrum-slider-track-gradient":u&&`linear-gradient(to ${h==="ltr"?"right":"left"}, ${u.join(", ")})`}},({trackRef:p,inputRef:m,state:g})=>{s=s!=null?Pa(s,g.getThumbMinValue(0),g.getThumbMaxValue(0)):s;let b=h==="rtl"?"right":"left",v=w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-track"),style:{width:`${g.getThumbPercent(0)*100}%`,"--spectrum-track-background-size":`${1/g.getThumbPercent(0)*100}%`,"--spectrum-track-background-position":h==="ltr"?"0":"100%"}}),y=w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-track"),style:{width:`${(1-g.getThumbPercent(0))*100}%`,"--spectrum-track-background-size":`${1/(1-g.getThumbPercent(0))*100}%`,"--spectrum-track-background-position":h==="ltr"?"100%":"0"}}),$=null;if(l&&s!=null){let S=g.getThumbPercent(0)-g.getValuePercent(s),k=S>0,C=k?g.getValuePercent(s):g.getThumbPercent(0);$=w.createElement("div",{className:z(Gi(Ue),"spectrum-Slider-fill",{"spectrum-Slider-fill--right":k}),style:{[b]:`${C*100}%`,width:`${Math.abs(S)*100}%`}})}return w.createElement(w.Fragment,null,v,w.createElement(Abe,{index:0,isDisabled:e.isDisabled,trackRef:p,inputRef:m,state:g,name:e.name}),$,y)})}const Tbe=w.forwardRef(Dbe);function Rbe(e,t,r){let{labelProps:n,inputProps:i,isSelected:a,isPressed:l,isDisabled:s,isReadOnly:u}=GK(e,t,r);return{labelProps:n,inputProps:{...i,role:"switch",checked:a},isSelected:a,isPressed:l,isDisabled:s,isReadOnly:u}}function Zd(e){return e&&e.__esModule?e.default:e}function Ba(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Wn={};Ba(Wn,"focus-ring",()=>BP,e=>BP=e);Ba(Wn,"i18nFontFamily",()=>_P,e=>_P=e);Ba(Wn,"is-hovered",()=>NP,e=>NP=e);Ba(Wn,"spectrum-FocusRing-ring",()=>$0,e=>$0=e);Ba(Wn,"spectrum-FocusRing",()=>LP,e=>LP=e);Ba(Wn,"spectrum-FocusRing--quiet",()=>QP,e=>QP=e);Ba(Wn,"spectrum-ToggleSwitch",()=>VP,e=>VP=e);Ba(Wn,"spectrum-ToggleSwitch--ab",()=>zP,e=>zP=e);Ba(Wn,"spectrum-ToggleSwitch--quiet",()=>jP,e=>jP=e);Ba(Wn,"spectrum-ToggleSwitch-input",()=>WP,e=>WP=e);Ba(Wn,"spectrum-ToggleSwitch-label",()=>ZP,e=>ZP=e);Ba(Wn,"spectrum-ToggleSwitch-switch",()=>UP,e=>UP=e);var BP,_P,NP,$0,LP,QP,VP,zP,jP,WP,ZP,UP;BP="XHynUq_focus-ring";_P="XHynUq_i18nFontFamily";NP="XHynUq_is-hovered";$0="XHynUq_spectrum-FocusRing-ring";LP=`XHynUq_spectrum-FocusRing ${$0}`;QP="XHynUq_spectrum-FocusRing--quiet";VP="XHynUq_spectrum-ToggleSwitch";zP="XHynUq_spectrum-ToggleSwitch--ab";jP="XHynUq_spectrum-ToggleSwitch--quiet";WP="XHynUq_spectrum-ToggleSwitch-input";ZP="XHynUq_spectrum-ToggleSwitch-label";UP="XHynUq_spectrum-ToggleSwitch-switch";function Ibe(e,t){e=Fn(e);let{isEmphasized:r=!1,isDisabled:n=!1,autoFocus:i,children:a,...l}=e,{styleProps:s}=Nt(l),{hoverProps:u,isHovered:c}=Er({isDisabled:n}),d=O.useRef(null),f=Ra(t,d),h=QR(e),{inputProps:p}=Rbe(e,h,d);return w.createElement("label",{...s,...u,ref:f,className:z(Zd(Wn),"spectrum-ToggleSwitch",{"spectrum-ToggleSwitch--quiet":!r,"is-disabled":n,"is-hovered":c},s.className)},w.createElement(_r,{focusRingClass:z(Zd(Wn),"focus-ring"),autoFocus:i},w.createElement("input",{...p,ref:d,className:z(Zd(Wn),"spectrum-ToggleSwitch-input")})),w.createElement("span",{className:z(Zd(Wn),"spectrum-ToggleSwitch-switch")}),a&&w.createElement("span",{className:z(Zd(Wn),"spectrum-ToggleSwitch-label")},a))}const Ore=O.forwardRef(Ibe);var xre={};xre={collapse:"طي",columnResizer:"أداة تغيير حجم العمود",drag:"سحب",expand:"مد",loading:"جارٍ التحميل...",loadingMore:"جارٍ تحميل المزيد...",resizeColumn:"تغيير حجم العمود",sortAscending:"فرز بترتيب تصاعدي",sortDescending:"فرز بترتيب تنازلي"};var Sre={};Sre={collapse:"Свиване",columnResizer:"Преоразмеряване на колони",drag:"Плъзнете",expand:"Разширяване",loading:"Зареждане...",loadingMore:"Зареждане на още...",resizeColumn:"Преоразмеряване на колона",sortAscending:"Възходящо сортиране",sortDescending:"Низходящо сортиране "};var wre={};wre={collapse:"Zmenšit",columnResizer:"Změna velikosti sloupce",drag:"Přetáhnout",expand:"Roztáhnout",loading:"Načítání...",loadingMore:"Načítání dalších...",resizeColumn:"Změnit velikost sloupce",sortAscending:"Seřadit vzestupně",sortDescending:"Seřadit sestupně"};var kre={};kre={collapse:"Skjul",columnResizer:"Kolonneændring",drag:"Træk",expand:"Udvid",loading:"Indlæser ...",loadingMore:"Indlæser flere ...",resizeColumn:"Tilpas størrelse på kolonne",sortAscending:"Sorter stigende",sortDescending:"Sorter faldende"};var Cre={};Cre={collapse:"Reduzieren",columnResizer:"Spaltenanpassung",drag:"Ziehen",expand:"Erweitern",loading:"Laden...",loadingMore:"Mehr laden ...",resizeColumn:"Spaltengröße ändern",sortAscending:"Aufsteigend sortieren",sortDescending:"Absteigend sortieren"};var Ere={};Ere={collapse:"Σύμπτυξη",columnResizer:"Αλλαγή μεγέθους στήλης",drag:"Μεταφορά",expand:"Ανάπτυξη",loading:"Φόρτωση...",loadingMore:"Φόρτωση περισσότερων...",resizeColumn:"Αλλαγή μεγέθους στήλης",sortAscending:"Ταξινόμηση κατά αύξουσα σειρά",sortDescending:"Ταξινόμηση κατά φθίνουσα σειρά"};var Pre={};Pre={loading:"Loading…",loadingMore:"Loading more…",sortAscending:"Sort Ascending",sortDescending:"Sort Descending",resizeColumn:"Resize column",columnResizer:"Column resizer",drag:"Drag",expand:"Expand",collapse:"Collapse"};var Fre={};Fre={collapse:"Contraer",columnResizer:"Redimensionador de columnas",drag:"Arrastrar",expand:"Ampliar",loading:"Cargando…",loadingMore:"Cargando más…",resizeColumn:"Cambiar el tamaño de la columna",sortAscending:"Orden de subida",sortDescending:"Orden de bajada"};var Are={};Are={collapse:"Ahenda",columnResizer:"Veeru suuruse muutja",drag:"Lohista",expand:"Laienda",loading:"Laadimine...",loadingMore:"Laadi rohkem...",resizeColumn:"Muuda veeru suurust",sortAscending:"Sordi kasvavalt",sortDescending:"Sordi kahanevalt"};var Dre={};Dre={collapse:"Pienennä",columnResizer:"Sarakekoon muuttaja",drag:"Vedä",expand:"Laajenna",loading:"Ladataan…",loadingMore:"Ladataan lisää…",resizeColumn:"Muuta sarakkeen kokoa",sortAscending:"Lajittelujärjestys: nouseva",sortDescending:"Lajittelujärjestys: laskeva"};var Tre={};Tre={collapse:"Réduire",columnResizer:"Redimensionnement de colonne",drag:"Faire glisser",expand:"Développer",loading:"Chargement...",loadingMore:"Chargement supplémentaire...",resizeColumn:"Redimensionner la colonne",sortAscending:"Trier par ordre croissant",sortDescending:"Trier par ordre décroissant"};var Rre={};Rre={collapse:"כווץ",columnResizer:"שינוי גודל עמודה",drag:"גרור",expand:"הרחב",loading:"טוען...",loadingMore:"טוען עוד...",resizeColumn:"שנה את גודל העמודה",sortAscending:"מיין בסדר עולה",sortDescending:"מיין בסדר יורד"};var Ire={};Ire={collapse:"Sažmi",columnResizer:"Alat za promjenu veličine stupca",drag:"Povucite",expand:"Proširi",loading:"Učitavam...",loadingMore:"Učitavam još...",resizeColumn:"Promijeni veličinu stupca",sortAscending:"Sortiraj uzlazno",sortDescending:"Sortiraj silazno"};var Mre={};Mre={collapse:"Összecsukás",columnResizer:"Oszlopátméretező",drag:"Húzás",expand:"Kibontás",loading:"Betöltés folyamatban…",loadingMore:"Továbbiak betöltése folyamatban…",resizeColumn:"Oszlop átméretezése",sortAscending:"Növekvő rendezés",sortDescending:"Csökkenő rendezés"};var Bre={};Bre={collapse:"Comprimi",columnResizer:"Ridimensionamento colonne",drag:"Trascina",expand:"Espandi",loading:"Caricamento...",loadingMore:"Caricamento altri...",resizeColumn:"Ridimensiona colonna",sortAscending:"Ordinamento crescente",sortDescending:"Ordinamento decrescente"};var _re={};_re={collapse:"折りたたむ",columnResizer:"列リサイザー",drag:"ドラッグ",expand:"展開",loading:"読み込み中...",loadingMore:"さらに読み込み中...",resizeColumn:"列幅を変更",sortAscending:"昇順に並べ替え",sortDescending:"降順に並べ替え"};var Nre={};Nre={collapse:"접기",columnResizer:"열 크기 조정기",drag:"드래그",expand:"펼치기",loading:"로드 중",loadingMore:"추가 로드 중",resizeColumn:"열 크기 조정",sortAscending:"오름차순 정렬",sortDescending:"내림차순 정렬"};var Lre={};Lre={collapse:"Sutraukti",columnResizer:"Stulpelio dydžio keitiklis",drag:"Vilkti",expand:"Išskleisti",loading:"Įkeliama...",loadingMore:"Įkeliama daugiau...",resizeColumn:"Keisti stulpelio dydį",sortAscending:"Rikiuoti didėjimo tvarka",sortDescending:"Rikiuoti mažėjimo tvarka"};var Qre={};Qre={collapse:"Sakļaut",columnResizer:"Kolonnas izmēru mainītājs",drag:"Vilkšana",expand:"Izvērst",loading:"Notiek ielāde...",loadingMore:"Tiek ielādēts vēl...",resizeColumn:"Mainīt kolonnas lielumu",sortAscending:"Kārtot augošā secībā",sortDescending:"Kārtot dilstošā secībā"};var Vre={};Vre={collapse:"Skjul",columnResizer:"Størrelsesendring av kolonne",drag:"Dra",expand:"Utvid",loading:"Laster inn ...",loadingMore:"Laster inn flere ...",resizeColumn:"Endre størrelse på kolonne",sortAscending:"Sorter stigende",sortDescending:"Sorter synkende"};var zre={};zre={collapse:"Samenvouwen",columnResizer:"Groottewijziging van kolom",drag:"Slepen",expand:"Uitvouwen",loading:"Laden...",loadingMore:"Meer laden...",resizeColumn:"Kolomgrootte wijzigen",sortAscending:"Oplopend sorteren",sortDescending:"Aflopend sorteren"};var jre={};jre={collapse:"Zwiń",columnResizer:"Narzędzie zmiany rozmiaru kolumny",drag:"Przeciągnij",expand:"Rozwiń",loading:"Ładowanie...",loadingMore:"Wczytywanie większej liczby...",resizeColumn:"Zmień rozmiar kolumny",sortAscending:"Sortuj rosnąco",sortDescending:"Sortuj malejąco"};var Wre={};Wre={collapse:"Recolher",columnResizer:"Redimensionamento de colunas",drag:"Arraste",expand:"Expandir",loading:"Carregando...",loadingMore:"Carregando mais...",resizeColumn:"Redimensionar coluna",sortAscending:"Ordenar por ordem crescente",sortDescending:"Ordenar por ordem decrescente"};var Zre={};Zre={collapse:"Colapsar",columnResizer:"Redimensionador de coluna",drag:"Arrastar",expand:"Expandir",loading:"A carregar...",loadingMore:"A carregar mais...",resizeColumn:"Redimensionar coluna",sortAscending:"Ordenar por ordem ascendente",sortDescending:"Ordenar por ordem decrescente"};var Ure={};Ure={collapse:"Restrângeți",columnResizer:"Instrument redimensionare coloane",drag:"Trageți",expand:"Extindeți",loading:"Se încarcă...",loadingMore:"Se încarcă mai multe...",resizeColumn:"Redimensionați coloana",sortAscending:"Sortați crescător",sortDescending:"Sortați descrescător"};var qre={};qre={collapse:"Свернуть",columnResizer:"Средство изменения размера столбцов",drag:"Перетаскивание",expand:"Развернуть",loading:"Загрузка...",loadingMore:"Дополнительная загрузка...",resizeColumn:"Изменить размер столбца",sortAscending:"Сортировать по возрастанию",sortDescending:"Сортировать по убыванию"};var Hre={};Hre={collapse:"Zbaliť",columnResizer:"Nástroj na zmenu veľkosti stĺpcov",drag:"Presunúť",expand:"Rozbaliť",loading:"Načítava sa...",loadingMore:"Načítava sa viac...",resizeColumn:"Zmeniť veľkosť stĺpca",sortAscending:"Zoradiť vzostupne",sortDescending:"Zoradiť zostupne"};var Kre={};Kre={collapse:"Strni",columnResizer:"Prilagojevalnik velikosti stolpcev",drag:"Povleci",expand:"Razširi",loading:"Nalaganje...",loadingMore:"Nalaganje več vsebine...",resizeColumn:"Spremeni velikost stolpca",sortAscending:"Razvrsti naraščajoče",sortDescending:"Razvrsti padajoče"};var Yre={};Yre={collapse:"Sažmi",columnResizer:"Alat za promenu veličine kolone",drag:"Prevuci",expand:"Proširi",loading:"Učitavam...",loadingMore:"Učitavam još...",resizeColumn:"Promeni veličinu kolone",sortAscending:"Sortiraj po rastućem redosledu",sortDescending:"Sortiraj po opadajućem redosledu"};var Gre={};Gre={collapse:"Dölj",columnResizer:"Ändra storlek på kolumn",drag:"Dra",expand:"Expandera",loading:"Läser in...",loadingMore:"Läser in mer...",resizeColumn:"Ändra storlek på kolumn",sortAscending:"Sortera i stigande ordning",sortDescending:"Sortera i fallande ordning"};var Xre={};Xre={collapse:"Daralt",columnResizer:"Yeniden sütun boyutlandırıcı",drag:"Sürükle",expand:"Genişlet",loading:"Yükleniyor...",loadingMore:"Daha fazla yükleniyor...",resizeColumn:"Sütunu yeniden boyutlandır",sortAscending:"Artan Sıralama",sortDescending:"Azalan Sıralama"};var Jre={};Jre={collapse:"Згорнути",columnResizer:"Засіб змінення розміру стовпця",drag:"Перетягнути",expand:"Розгорнути",loading:"Завантаження…",loadingMore:"Завантаження інших об’єктів...",resizeColumn:"Змінити розмір стовпця",sortAscending:"Сортувати за зростанням",sortDescending:"Сортувати за спаданням"};var ene={};ene={collapse:"折叠",columnResizer:"列尺寸调整器",drag:"拖动",expand:"扩展",loading:"正在加载...",loadingMore:"正在加载更多...",resizeColumn:"调整列大小",sortAscending:"升序排序",sortDescending:"降序排序"};var tne={};tne={collapse:"收合",columnResizer:"欄大小調整器",drag:"拖曳",expand:"展開",loading:"正在載入",loadingMore:"正在載入更多…",resizeColumn:"調整欄大小",sortAscending:"升序排序",sortDescending:"降序排序"};function Mbe(e){let{collection:t,focusMode:r}=e,n=ZR(e),i=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(u,c)=>{if(r==="cell"&&u!=null){let h=t.getItem(u);if((h==null?void 0:h.type)==="item"){var d,f;let p=pr(h,t);c==="last"?u=(d=Xo(p))===null||d===void 0?void 0:d.key:u=(f=lo(p))===null||f===void 0?void 0:f.key}}a(u,c)};let l=O.useMemo(()=>new UR(t,n),[t,n]);const s=O.useRef(null);return O.useEffect(()=>{if(n.focusedKey!=null&&!t.getItem(n.focusedKey)){const u=s.current.getItem(n.focusedKey),c=u.parentKey!=null&&(u.type==="cell"||u.type==="rowheader"||u.type==="column")?s.current.getItem(u.parentKey):u,d=s.current.rows,f=t.rows,h=d.length-f.length;let p=Math.min(h>1?Math.max(c.index-h+1,0):c.index,f.length-1),m;for(;p>=0;){if(!l.isDisabled(f[p].key)&&f[p].type!=="headerrow"){m=f[p];break}pc.index&&(p=c.index),p--)}if(m){const g=m.hasChildNodes?[...pr(m,t)]:[],b=m.hasChildNodes&&c!==u&&u.index{let l=this.keyMap.get(a.key);t.visitNode&&(a=t.visitNode(a)),this.keyMap.set(a.key,a);let s=new Set,u;for(let c of a.childNodes)c.type==="cell"&&c.parentKey==null&&(c.parentKey=a.key),s.add(c.key),u?(u.nextKey=c.key,c.prevKey=u.key):c.prevKey=null,r(c),u=c;if(u&&(u.nextKey=null),l)for(let c of l.childNodes)s.has(c.key)||n(c)},n=a=>{this.keyMap.delete(a.key);for(let l of a.childNodes)this.keyMap.get(l.key)===l&&n(l)},i;t.items.forEach((a,l)=>{let s={level:0,key:"row-"+l,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...a.childNodes],rendered:void 0,textValue:void 0,...a};i?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,this.rows.push(s),r(s),i=s}),i&&(i.nextKey=null)}}let _be=!1;function Gc(){return _be}function qP(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\d+)(?=%$)/)!==null)}function HP(e){if(!e)return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):(console.warn(`width: ${e} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function lI(e,t){if(typeof e=="string"){let r=e.match(/^(\d+)(?=%$)/);if(!r)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(r[0])/100)}return e}function rne(e,t){return e!=null?lI(e,t):Number.MAX_SAFE_INTEGER}function nne(e,t){return e!=null?lI(e,t):0}function Y_(e,t,r,n,i){let a=!1,l=t.map((s,u)=>{var c,d,f;let h=r.get(s.key)!=null?r.get(s.key):(f=(d=(c=s.width)!==null&&c!==void 0?c:s.defaultWidth)!==null&&d!==void 0?d:n==null?void 0:n(u))!==null&&f!==void 0?f:"1fr",p=!1,m=0,g=0,b=null;qP(h)?(m=lI(h,e),p=!0):(g=HP(h),g<=0&&(p=!0));var v,y;let $=nne((y=(v=s.minWidth)!==null&&v!==void 0?v:i==null?void 0:i(u))!==null&&y!==void 0?y:0,e),S=rne(s.maxWidth,e),k=Math.max($,Math.min(m,S));return p?b=k:m>k&&(p=!0,b=k),p||(a=!0),{frozen:p,baseSize:m,hypotheticalMainSize:k,min:$,max:S,flex:g,targetMainSize:b,violation:0}});for(;a;){let s=0,u=0;l.forEach(f=>{f.frozen?s+=f.targetMainSize:(s+=f.baseSize,u+=f.flex)});let c=e-s;c>0&&l.forEach(f=>{if(!f.frozen){let h=f.flex/u;f.targetMainSize=f.baseSize+h*c}});let d=0;l.forEach(f=>{if(f.violation=0,!f.frozen){let{min:h,max:p,targetMainSize:m}=f;f.targetMainSize=Math.max(h,Math.min(m,p)),f.violation=f.targetMainSize-m,d+=f.violation}}),a=!1,l.forEach(f=>{d===0||Math.sign(d)===Math.sign(f.violation)?f.frozen=!0:f.frozen||(a=!0)})}return Nbe(l)}function Nbe(e){let t=0,r=0,n=[];return e.forEach(function(i){let a=i.targetMainSize,l=Math.round(a+t)-r;t+=a,r+=l,n.push(l)}),n}class Lbe{splitColumnsIntoControlledAndUncontrolled(t){return t.reduce((r,n)=>(n.props.width!=null?r[0].set(n.key,n):r[1].set(n.key,n),r),[new Map,new Map])}recombineColumns(t,r,n,i){return new Map(t.map(a=>n.has(a.key)?[a.key,r.get(a.key)]:[a.key,i.get(a.key).props.width]))}getInitialUncontrolledWidths(t){return new Map(Array.from(t).map(([r,n])=>{var i,a,l,s;return[r,(s=(l=n.props.defaultWidth)!==null&&l!==void 0?l:(i=(a=this).getDefaultWidth)===null||i===void 0?void 0:i.call(a,n))!==null&&s!==void 0?s:"1fr"]}))}getColumnWidth(t){var r;return(r=this.columnWidths.get(t))!==null&&r!==void 0?r:0}getColumnMinWidth(t){var r;return(r=this.columnMinWidths.get(t))!==null&&r!==void 0?r:0}getColumnMaxWidth(t){var r;return(r=this.columnMaxWidths.get(t))!==null&&r!==void 0?r:0}resizeColumnWidth(t,r,n,i,a=null,l){let s=this.columnWidths,u=1/0,c=new Map([...n,...i]),d=new Map,f=new Map,h=new Map;r.columns.forEach((g,b)=>{var v,y;let $,S;if(h.set(g.key,this.getDefaultMinWidth(r.columns[b])),a!==g.key&&!g.props.width&&!qP(i.get(g.key))?($=g.key,S=HP(i.get(g.key))):a!==g.key&&!qP(g.props.width)&&!i.get(g.key)?($=g.key,S=HP(g.props.width)):a!==g.key&&(!((y=g.props.width)===null||y===void 0||(v=y.endsWith)===null||v===void 0)&&v.call(y,"%"))&&d.set(g.key,g.props.width),u({...g.props,key:g.key})),c,g=>this.getDefaultWidth(r.columns[g]),g=>this.getDefaultMinWidth(r.columns[g])),m=new Map;return p.forEach((g,b)=>{let v=r.columns[b].key;m.set(v,g)}),Array.from(f).forEach(([g])=>{m.set(g,`${f.get(g)}fr`)}),Array.from(d).forEach(([g,b])=>{g!==a&&m.set(g,b)}),m}buildColumnWidths(t,r,n){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,Y_(t,r.columns.map(a=>({...a.props,key:a.key})),n,a=>this.getDefaultWidth(r.columns[a]),a=>this.getDefaultMinWidth(r.columns[a])).forEach((a,l)=>{let s=r.columns[l].key,u=r.columns[l];this.columnWidths.set(s,a);var c;this.columnMinWidths.set(s,nne((c=u.props.minWidth)!==null&&c!==void 0?c:this.getDefaultMinWidth(u),t)),this.columnMaxWidths.set(s,rne(u.props.maxWidth,t))}),this.columnWidths}constructor(t){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map;var r;this.getDefaultWidth=(r=t==null?void 0:t.getDefaultWidth)!==null&&r!==void 0?r:()=>"1fr";var n;this.getDefaultMinWidth=(n=t==null?void 0:t.getDefaultMinWidth)!==null&&n!==void 0?n:()=>75}}const ine="row-header-column-"+Math.random().toString(36).slice(2);let KP="row-header-column-"+Math.random().toString(36).slice(2);for(;ine===KP;)KP="row-header-column-"+Math.random().toString(36).slice(2);function Qbe(e,t){if(t.length===0)return[];let r=[],n=new Map;for(let u of t){let c=u.parentKey,d=[u];for(;c;){let f=e.get(c);if(!f)break;if(n.has(f)){f.colspan++;let{column:h,index:p}=n.get(f);if(p>d.length)break;for(let m=p;mu.length)),a=Array(i).fill(0).map(()=>[]),l=0;for(let u of r){let c=i-1;for(let d of u){if(d){let f=a[c],h=f.reduce((p,m)=>p+m.colspan,0);if(h0&&(f[f.length-1].nextKey=p.key,p.prevKey=f[f.length-1].key),f.push(p)}f.length>0&&(f[f.length-1].nextKey=d.key,d.prevKey=f[f.length-1].key),d.level=c,d.colIndex=l,f.push(d)}c--}l++}let s=0;for(let u of a){let c=u.reduce((d,f)=>d+f.colspan,0);if(c({type:"headerrow",key:"headerrow-"+c,index:c,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:u,textValue:null}))}class ane extends Bbe{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){var t;return(t=lo(this.body.childNodes))===null||t===void 0?void 0:t.key}getLastKey(){var t;return(t=Xo(this.body.childNodes))===null||t===void 0?void 0:t.key}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getTextValue(t){let r=this.getItem(t);if(!r)return"";if(r.textValue)return r.textValue;let n=this.rowHeaderColumnKeys;if(n){let i=[];for(let a of r.childNodes){let l=this.columns[a.index];if(n.has(l.key)&&a.textValue&&i.push(a.textValue),i.length===n.size)break}return i.join(" ")}return""}constructor(t,r,n){let i=new Set,a,l=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:ine,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};l.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:KP,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};l.unshift(f)}let s=[],u=new Map,c=f=>{switch(f.type){case"body":a=f;break;case"column":u.set(f.key,f),f.hasChildNodes||(l.push(f),f.props.isRowHeader&&i.add(f.key));break;case"item":s.push(f);return}for(let h of f.childNodes)c(h)};for(let f of t)c(f);let d=Qbe(u,l);d.forEach((f,h)=>s.splice(h,0,f)),super({columnCount:l.length,items:s,visitNode:f=>(f.column=l[f.index],f)}),this._size=0,this.columns=l,this.rowHeaderColumnKeys=i,this.body=a,this.headerRows=d,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0&&(n!=null&&n.showSelectionCheckboxes?n!=null&&n.showDragButtons?this.rowHeaderColumnKeys.add(this.columns[2].key):this.rowHeaderColumnKeys.add(this.columns[1].key):this.rowHeaderColumnKeys.add(this.columns[0].key))}}const Vbe={ascending:"descending",descending:"ascending"};function lne(e){let[t,r]=O.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:i,showDragButtons:a}=e,l=O.useMemo(()=>({showSelectionCheckboxes:i&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,i,n,a]),s=SR(e,O.useCallback(d=>new ane(d,null,l),[l]),l),{disabledKeys:u,selectionManager:c}=Mbe({...e,collection:s,disabledBehavior:e.disabledBehavior||"selection"});return{collection:s,disabledKeys:u,selectionManager:c,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor,isKeyboardNavigationDisabled:s.size===0||t,setKeyboardNavigationDisabled:r,sort(d,f){var h;e.onSortChange({column:d,direction:f??(((h=e.sortDescriptor)===null||h===void 0?void 0:h.column)===d?Vbe[e.sortDescriptor.direction]:"ascending")})}}}function one(e){return null}one.getCollectionNode=function*(t,r){let{children:n,columns:i}=t;if(r.columns=[],typeof n=="function"){if(!i)throw new Error("props.children was a function but props.columns is missing");for(let a of i)yield{type:"column",value:a,renderer:n}}else{let a=[];w.Children.forEach(n,l=>{a.push({type:"column",element:l})}),yield*a}};let xn=one;function sne(e){return null}sne.getCollectionNode=function*(t){let{children:r,items:n}=t;yield{type:"body",hasChildNodes:!0,props:t,*childNodes(){if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of n)yield{type:"item",value:i,renderer:r}}else{let i=[];w.Children.forEach(r,a=>{i.push({type:"item",element:a})}),yield*i}}}};let Sn=sne;function une(e){return null}une.getCollectionNode=function*(t,r){let{title:n,children:i,childColumns:a}=t,l=n||i,s=t.textValue||(typeof l=="string"?l:"")||t["aria-label"],u=yield{type:"column",hasChildNodes:!!a||n&&w.Children.count(i)>0,rendered:l,textValue:s,props:t,*childNodes(){if(a)for(let d of a)yield{type:"column",value:d};else if(n){let d=[];w.Children.forEach(i,f=>{d.push({type:"column",element:f})}),yield*d}},shouldInvalidate(d){return c(d),!1}},c=d=>{for(let f of u)f.hasChildNodes||d.columns.push(f)};c(r)};let zbe=une;function YP(e){return null}YP.getCollectionNode=function*(t,r){let{children:n,textValue:i,UNSTABLE_childItems:a}=t;yield{type:"item",props:t,textValue:i,"aria-label":t["aria-label"],hasChildNodes:!0,*childNodes(){if(r.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),r.showSelectionCheckboxes&&r.selectionMode!=="none"&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),typeof n=="function"){for(let l of r.columns)yield{type:"cell",element:n(l.key),key:l.key};if(a)for(let l of a)yield{type:"item",value:l}}else{let l=[],s=[];if(w.Children.forEach(n,u=>{if(u.type===YP){if(l.lengths.key!==r.columns[u].key)||l.showSelectionCheckboxes!==r.showSelectionCheckboxes||l.showDragButtons!==r.showDragButtons||l.selectionMode!==r.selectionMode}}};let G=YP;function cne(e){return null}cne.getCollectionNode=function*(t){let{children:r}=t,n=t.textValue||(typeof r=="string"?r:"")||t["aria-label"]||"";yield{type:"cell",props:t,rendered:r,textValue:n,"aria-label":t["aria-label"],hasChildNodes:!1}};let P=cne;function jbe(e){let{selectionMode:t="none",showSelectionCheckboxes:r,showDragButtons:n,UNSTABLE_expandedKeys:i,UNSTABLE_defaultExpandedKeys:a,UNSTABLE_onExpandedChange:l,children:s}=e;if(!Gc())throw new Error("Feature flag for table nested rows must be enabled to use useTreeGridState.");let[u,c]=ca(i?G_(i):void 0,a?G_(a):new Set,l),d=O.useMemo(()=>({showSelectionCheckboxes:r&&t!=="none",showDragButtons:n,selectionMode:t,columns:[]}),[s,r,t,n]),f=O.useMemo(()=>new eZ,[]),h=O.useMemo(()=>f.build({children:s},d),[f,s,d]),p=O.useMemo(()=>Zbe(h,{showSelectionCheckboxes:r,showDragButtons:n,expandedKeys:u}),[h,r,n,u]),m=v=>{c(Wbe(u,v,p))},g=O.useMemo(()=>new ane(p.tableNodes,null,d),[d,p.tableNodes]);return{...lne({...e,collection:g}),keyMap:p.keyMap,userColumnCount:p.userColumnCount,expandedKeys:u,toggleKey:m}}function Wbe(e,t,r){let n;return e==="all"?(n=new Set(r.flattenedRows.filter(i=>i.props.UNSTABLE_childItems||i.props.children.length>r.userColumnCount).map(i=>i.key)),n.delete(t)):(n=new Set(e),n.has(t)?n.delete(t):n.add(t)),n}function G_(e){return e?e==="all"?"all":new Set(e):new Set}function Zbe(e,t){let{expandedKeys:r=new Set}=t,n,i=[],a=0,l=0,s=[],u=new Map;t!=null&&t.showSelectionCheckboxes&&a++,t!=null&&t.showDragButtons&&a++;let c=[],d=m=>{switch(m.type){case"body":n=m,u.set(n.key,n);break;case"column":m.hasChildNodes||l++;break;case"item":c.push(m);return}for(let g of m.childNodes)d(g)};for(let m of e)m.type==="column"&&s.push(m),d(m);a+=l;let f=0,h=(m,g)=>{if(m.type==="item"){let $=[];for(let k of m.childNodes)if(k.type==="cell"){let C={...k};C.index+1===a&&(C.nextKey=null),$.push({...C})}let S={...m,childNodes:$,parentKey:n.key,level:1,index:f++};i.push(S)}let b={};m.type!=="placeholder"&&m.type!=="column"&&(b.indexOfType=g),Object.assign(m,b),u.set(m.key,m);let v,y=0;for(let $ of m.childNodes)$.type==="item"&&r!=="all"&&!r.has(m.key)||($.parentKey==null&&($.parentKey=m.key),v?(v.nextKey=$.key,$.prevKey=v.key):$.prevKey=null,$.type==="item"?h($,y++):h($,$.index),v=$);v&&(v.nextKey=null)},p;return c.forEach((m,g)=>{h(m,g),p?(p.nextKey=m.key,m.prevKey=p.key):m.prevKey=null,p=m}),p&&(p.nextKey=null),{keyMap:u,userColumnCount:l,flattenedRows:i,tableNodes:[...s,{...n,childNodes:i}]}}var dne={};dne={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var fne={};fne={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var hne={};hne={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var pne={};pne={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var mne={};mne={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var gne={};gne={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var vne={};vne={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var bne={};bne={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var yne={};yne={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var $ne={};$ne={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var One={};One={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var xne={};xne={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var Sne={};Sne={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var wne={};wne={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var kne={};kne={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var Cne={};Cne={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Ene={};Ene={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var Pne={};Pne={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var Fne={};Fne={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var Ane={};Ane={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var Dne={};Dne={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var Tne={};Tne={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var Rne={};Rne={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var Ine={};Ine={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var Mne={};Mne={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var Bne={};Bne={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var _ne={};_ne={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var Nne={};Nne={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var Lne={};Lne={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var Qne={};Qne={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var Vne={};Vne={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var zne={};zne={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var jne={};jne={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var Wne={};Wne={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};function J1(e){return e&&e.__esModule?e.default:e}const oI=new WeakMap;function GP(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Zne(e,t){let r=oI.get(e);if(!r)throw new Error("Unknown grid");return`${r}-${GP(t)}`}function Une(e,t,r){let n=oI.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${GP(t)}-${GP(r)}`}function qne(e,t){return[...e.collection.rowHeaderColumnKeys].map(r=>Une(e,t,r)).join(" ")}var np={};np={"ar-AE":dne,"bg-BG":fne,"cs-CZ":hne,"da-DK":pne,"de-DE":mne,"el-GR":gne,"en-US":vne,"es-ES":bne,"et-EE":yne,"fi-FI":$ne,"fr-FR":One,"he-IL":xne,"hr-HR":Sne,"hu-HU":wne,"it-IT":kne,"ja-JP":Cne,"ko-KR":Ene,"lt-LT":Pne,"lv-LV":Fne,"nb-NO":Ane,"nl-NL":Dne,"pl-PL":Tne,"pt-BR":Rne,"pt-PT":Ine,"ro-RO":Mne,"ru-RU":Bne,"sk-SK":_ne,"sl-SI":Nne,"sr-SP":Lne,"sv-SE":Qne,"tr-TR":Vne,"uk-UA":zne,"zh-CN":jne,"zh-TW":Wne};class Ube extends zee{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let r=this.collection.getItem(t);if(r){if(r.type==="column"){let n=lo(pr(r,this.collection));if(n)return n.key;let i=this.getFirstKey();if(i==null)return;let a=this.collection.getItem(i);return zo(pr(a,this.collection),r.index).key}return super.getKeyBelow(t)}}getKeyAbove(t){let r=this.collection.getItem(t);if(!r)return;if(r.type==="column"){let i=this.collection.getItem(r.parentKey);return i&&i.type==="column"?i.key:void 0}let n=super.getKeyAbove(t);return n!=null&&this.collection.getItem(n).type!=="headerrow"?n:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(t){let r=this.findNextKey(t.key,i=>i.type==="column");if(r!=null)return r;let n=this.collection.headerRows[t.level];for(let i of pr(n,this.collection))if(i.type==="column")return i.key}findPreviousColumnKey(t){let r=this.findPreviousKey(t.key,a=>a.type==="column");if(r!=null)return r;let n=this.collection.headerRows[t.level],i=[...pr(n,this.collection)];for(let a=i.length-1;a>=0;a--){let l=i[a];if(l.type==="column")return l.key}}getKeyRightOf(t){let r=this.collection.getItem(t);if(r)return r.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(r):this.findNextColumnKey(r):super.getKeyRightOf(t)}getKeyLeftOf(t){let r=this.collection.getItem(t);if(r)return r.type==="column"?this.direction==="rtl"?this.findNextColumnKey(r):this.findPreviousColumnKey(r):super.getKeyLeftOf(t)}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,i=r??this.getFirstKey();if(i==null)return null;let a=n.getItem(i);a.type==="cell"&&(i=a.parentKey);let l=!1;for(;i!=null;){let s=n.getItem(i);for(let u of pr(s,this.collection)){let c=n.columns[u.index];if(n.rowHeaderColumnKeys.has(c.key)&&u.textValue){let d=u.textValue.slice(0,t.length);if(this.collator.compare(d,t)===0)return(r!=null?n.getItem(r):a).type==="cell"?u.key:s.key}}i=this.getKeyBelow(i),i==null&&!l&&(i=this.getFirstKey(),l=!0)}return null}}function qbe(e,t,r){let{keyboardDelegate:n,isVirtualized:i,layout:a}=e,l=md({usage:"search",sensitivity:"base"}),{direction:s}=yr(),u=t.selectionManager.disabledBehavior,c=O.useMemo(()=>n||new Ube({collection:t.collection,disabledKeys:u==="selection"?new Set:t.disabledKeys,ref:r,direction:s,collator:l,layout:a}),[n,t.collection,t.disabledKeys,u,r,s,l,a]),d=ir(e.id);oI.set(t,d);let{gridProps:f}=y1e({...e,id:d,keyboardDelegate:c},t,r);i&&(f["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Gc()&&"expandedKeys"in t&&(f.role="treegrid");let{column:h,direction:p}=t.sortDescriptor||{},m=lr(J1(np),"@react-aria/table"),g=O.useMemo(()=>{var v;let y=(v=t.collection.columns.find($=>$.key===h))===null||v===void 0?void 0:v.textValue;return p&&h?m.format(`${p}Sort`,{columnName:y}):void 0},[p,h,t.collection.columns]),b=zh(g);return UZ(()=>{Ac(g,"assertive",500)},[g]),{gridProps:$e(f,b,{"aria-describedby":[b["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")})}}function eb(e,t,r){var n,i;let{node:a}=e,l=a.props.allowsSorting,{gridCellProps:s}=jee({...e,focusMode:"child"},t,r),u=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:c}=Vi({isDisabled:!l||u,onPress(){t.sort(a.key)},ref:r}),{focusableProps:d}=Ms({},r),f=null,h=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,p=(i=t.sortDescriptor)===null||i===void 0?void 0:i.direction;a.props.allowsSorting&&!qc()&&(f=h?p:"none");let m=lr(J1(np),"@react-aria/table"),g;l&&(g=`${m.format("sortable")}`,h&&p&&qc()&&(g=`${g}, ${m.format(p)}`));let b=zh(g),v=t.collection.size===0;return O.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...$e(s,c,d,b,v&&{tabIndex:-1}),role:"columnheader",id:Zne(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:null,"aria-sort":f}}}const X_={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Hbe(e,t,r){let{node:n,isVirtualized:i}=e,{rowProps:a,...l}=O1e(e,t,r),{direction:s}=yr();i&&!(Gc()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let u={};if(Gc()&&"expandedKeys"in t){let p=t.keyMap.get(n.key);if(p!=null){var c,d,f;let m=((c=p.props)===null||c===void 0?void 0:c.UNSTABLE_childItems)||((f=p.props)===null||f===void 0||(d=f.children)===null||d===void 0?void 0:d.length)>t.userColumnCount;u={onKeyDown:g=>{(g.key===X_.expand[s]&&t.selectionManager.focusedKey===p.key&&m&&t.expandedKeys!=="all"&&!t.expandedKeys.has(p.key)||g.key===X_.collapse[s]&&t.selectionManager.focusedKey===p.key&&m&&(t.expandedKeys==="all"||t.expandedKeys.has(p.key)))&&(t.toggleKey(p.key),g.stopPropagation())},"aria-expanded":m?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":p.level,"aria-posinset":p.indexOfType+1,"aria-setsize":p.level>1?Xo(t.keyMap.get(p==null?void 0:p.parentKey).childNodes).indexOfType+1:Xo(t.keyMap.get(t.collection.body.key).childNodes).indexOfType+1}}}let h=l.hasAction?whe(n.props):{};return{rowProps:{...$e(a,u,h),"aria-labelledby":qne(t,n.key)},...l}}function Kbe(e,t,r){let{node:n,isVirtualized:i}=e,a={role:"row"};return i&&!(Gc()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function sI(e,t,r){let{gridCellProps:n,isPressed:i}=jee(e,t,r),a=e.node.column.key;return t.collection.rowHeaderColumnKeys.has(a)&&(n.role="rowheader",n.id=Une(t,e.node.parentKey,a)),{gridCellProps:n,isPressed:i}}function Ybe(e,t){let{key:r}=e;const{checkboxProps:n}=x1e(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${qne(t,r)}`}}}function Gbe(e){let{isEmpty:t,isSelectAll:r,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":lr(J1(np),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:r,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!r,onChange:()=>e.selectionManager.toggleSelectAll()}}}function Xbe(e,t,r){let{column:n,triggerRef:i,isDisabled:a,onResizeStart:l,onResize:s,onResizeEnd:u,"aria-label":c}=e;const d=lr(J1(np),"@react-aria/table");let f=ir(),h=t.resizingColumn===n.key,p=O.useRef(h),m=O.useRef(null),g=O.useRef(!1),b=t.tableState.isKeyboardNavigationDisabled,{direction:v}=yr(),{keyboardProps:y}=_1({onKeyDown:Q=>{b?(Q.key==="Escape"||Q.key==="Enter"||Q.key===" "||Q.key==="Tab")&&(Q.preventDefault(),k(n)):(Q.continuePropagation(),Q.key==="Enter"&&$(n))}}),$=Qr(Q=>{p.current||(m.current=t.updateResizedColumns(Q.key,t.getColumnWidth(Q.key)),t.startResize(Q.key),t.tableState.setKeyboardNavigationDisabled(!0),l==null||l(m.current)),p.current=!0}),S=Qr((Q,I)=>{let H=t.updateResizedColumns(Q.key,I);s==null||s(H),m.current=H}),k=Qr(Q=>{p.current&&(m.current==null&&(m.current=t.updateResizedColumns(Q.key,t.getColumnWidth(Q.key))),t.endResize(),t.tableState.setKeyboardNavigationDisabled(!1),u==null||u(m.current),p.current=!1,i!=null&&i.current&&!g.current&&Rn(i.current)),m.current=null});const C=O.useRef(0),{moveProps:F}=IR({onMoveStart(){C.current=t.getColumnWidth(n.key),$(n)},onMove(Q){let{deltaX:I,deltaY:H,pointerType:ee}=Q;v==="rtl"&&(I*=-1),ee==="keyboard"&&(H!==0&&I===0&&(I=H*-1),I*=10),I!==0&&(C.current+=I,S(n,C.current))},onMoveEnd(Q){let{pointerType:I}=Q;C.current=0,(I==="mouse"||I==="touch"&&g.current)&&k(n)}});let E=O.useCallback(Q=>{b&&F.onKeyDown(Q)},[b,F]),M=Math.floor(t.getColumnMinWidth(n.key)),D=Math.floor(t.getColumnMaxWidth(n.key));D===1/0&&(D=Number.MAX_SAFE_INTEGER);let T=Math.floor(t.getColumnWidth(n.key)),B=RR();B==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(B="touch");let R=(i==null?void 0:i.current)==null&&(B==="keyboard"||B==="virtual")&&!h?d.format("resizerDescription"):void 0,_=zh(R),V={"aria-label":c,"aria-orientation":"horizontal","aria-labelledby":`${f} ${Zne(t.tableState,n.key)}`,"aria-valuetext":d.format("columnSize",{value:T}),type:"range",min:M,max:D,value:T,..._};const j=O.useCallback(()=>{r.current&&Rn(r.current)},[r]);let Z=t.resizingColumn,q=O.useRef(null);O.useEffect(()=>{if(q.current!==Z&&Z!=null&&Z===n.key){g.current=document.activeElement===r.current,$(n);let Q=setTimeout(()=>j(),0),I=setTimeout(j,400);return()=>{clearTimeout(Q),clearTimeout(I)}}q.current=Z},[Z,n,j,r,$]);let U=Q=>{let I=t.getColumnWidth(n.key),H=parseFloat(Q.target.value);H>I?H=I+10:H=I-10,S(n,H)},{pressProps:A}=Vi({onPressStart:Q=>{if(!(Q.ctrlKey||Q.altKey||Q.metaKey||Q.shiftKey||Q.pointerType==="keyboard")){if(Q.pointerType==="virtual"&&t.resizingColumn!=null){k(n);return}j(),Q.pointerType!=="virtual"&&$(n)}},onPress:Q=>{(Q.pointerType==="touch"&&g.current||Q.pointerType==="mouse")&&t.resizingColumn!=null&&k(n)}}),{visuallyHiddenProps:W}=Ru();return{resizerProps:$e(y,{...F,onKeyDown:E},A,{style:{touchAction:"none"}}),inputProps:$e(W,{id:f,onBlur:()=>{k(n)},onChange:U,disabled:a},V),isResizing:h}}function Hne(){return $1e()}function Ne(e){return e&&e.__esModule?e.default:e}function ke(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var kt={};ke(kt,"focus-ring",()=>XP,e=>XP=e);ke(kt,"react-spectrum-Table",()=>JP,e=>JP=e);ke(kt,"react-spectrum-Table-InsertionIndicator",()=>eF,e=>eF=e);ke(kt,"react-spectrum-Table-InsertionIndicator--dropTarget",()=>tF,e=>tF=e);ke(kt,"react-spectrum-Table-body",()=>rF,e=>rF=e);ke(kt,"react-spectrum-Table-body--dropTarget",()=>nF,e=>nF=e);ke(kt,"react-spectrum-Table-cell",()=>iF,e=>iF=e);ke(kt,"react-spectrum-Table-cell--alignCenter",()=>aF,e=>aF=e);ke(kt,"react-spectrum-Table-cell--alignEnd",()=>lF,e=>lF=e);ke(kt,"react-spectrum-Table-cell--alignStart",()=>oF,e=>oF=e);ke(kt,"react-spectrum-Table-cellWrapper",()=>sF,e=>sF=e);ke(kt,"react-spectrum-Table-cellWrapper--dropTarget",()=>uF,e=>uF=e);ke(kt,"react-spectrum-Table-centeredWrapper",()=>cF,e=>cF=e);ke(kt,"react-spectrum-Table-dragButton",()=>dF,e=>dF=e);ke(kt,"react-spectrum-Table-dragButtonCell",()=>fF,e=>fF=e);ke(kt,"react-spectrum-Table-dragButtonHeadCell",()=>hF,e=>hF=e);ke(kt,"react-spectrum-Table-headCell",()=>pF,e=>pF=e);ke(kt,"react-spectrum-Table-row",()=>mF,e=>mF=e);ke(kt,"react-spectrum-Table-row--dropTarget",()=>gF,e=>gF=e);ke(kt,"react-spectrum-Table-row-badge",()=>vF,e=>vF=e);ke(kt,"react-spectrum-Table-row-dragPreview",()=>bF,e=>bF=e);ke(kt,"react-spectrum-Table-row-dragPreview--multiple",()=>yF,e=>yF=e);var XP,JP,eF,tF,rF,nF,iF,aF,lF,oF,sF,uF,cF,dF,fF,hF,pF,mF,gF,vF,bF,yF;XP="EfWbna_focus-ring";JP="EfWbna_react-spectrum-Table";eF="EfWbna_react-spectrum-Table-InsertionIndicator";tF="EfWbna_react-spectrum-Table-InsertionIndicator--dropTarget";rF="EfWbna_react-spectrum-Table-body";nF="EfWbna_react-spectrum-Table-body--dropTarget";iF="EfWbna_react-spectrum-Table-cell";aF="EfWbna_react-spectrum-Table-cell--alignCenter";lF="EfWbna_react-spectrum-Table-cell--alignEnd";oF="EfWbna_react-spectrum-Table-cell--alignStart";sF="EfWbna_react-spectrum-Table-cellWrapper";uF="EfWbna_react-spectrum-Table-cellWrapper--dropTarget";cF="EfWbna_react-spectrum-Table-centeredWrapper";dF="EfWbna_react-spectrum-Table-dragButton";fF="EfWbna_react-spectrum-Table-dragButtonCell";hF="EfWbna_react-spectrum-Table-dragButtonHeadCell";pF="EfWbna_react-spectrum-Table-headCell";mF="EfWbna_react-spectrum-Table-row";gF="EfWbna_react-spectrum-Table-row--dropTarget";vF="EfWbna_react-spectrum-Table-row-badge";bF="EfWbna_react-spectrum-Table-row-dragPreview";yF="EfWbna_react-spectrum-Table-row-dragPreview--multiple";function J_(e){let{dropState:t,dragAndDropHooks:r}=Ei();const{target:n,rowProps:i}=e;let a=O.useRef(),{dropIndicatorProps:l}=r.useDropIndicator(e,t,a),{visuallyHiddenProps:s}=Ru(),u=t.isDropTarget(n);return!u&&l["aria-hidden"]?null:w.createElement("div",{style:{position:"absolute",top:i.style.top+(n.dropPosition==="after"?i.style.height:0),width:i.style.width},role:"row","aria-hidden":l["aria-hidden"]},w.createElement("div",{role:"gridcell",className:z(Ne(kt),"react-spectrum-Table-InsertionIndicator",{"react-spectrum-Table-InsertionIndicator--dropTarget":u})},w.createElement("div",{...s,role:"button",...l,ref:a})))}var bd={};bd={"ar-AE":xre,"bg-BG":Sre,"cs-CZ":wre,"da-DK":kre,"de-DE":Cre,"el-GR":Ere,"en-US":Pre,"es-ES":Fre,"et-EE":Are,"fi-FI":Dre,"fr-FR":Tre,"he-IL":Rre,"hr-HR":Ire,"hu-HU":Mre,"it-IT":Bre,"ja-JP":_re,"ko-KR":Nre,"lt-LT":Lre,"lv-LV":Qre,"nb-NO":Vre,"nl-NL":zre,"pl-PL":jre,"pt-BR":Wre,"pt-PT":Zre,"ro-RO":Ure,"ru-RU":qre,"sk-SK":Hre,"sl-SI":Kre,"sr-SP":Yre,"sv-SE":Gre,"tr-TR":Xre,"uk-UA":Jre,"zh-CN":ene,"zh-TW":tne};function Jbe(){return w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},w.createElement("g",{fill:"var(--spectrum-global-color-blue-600)",stroke:"var(--spectrum-global-color-blue-600)",strokeWidth:"2"},w.createElement("circle",{cx:"8",cy:"8",r:"8",stroke:"none"}),w.createElement("circle",{cx:"8",cy:"8",r:"7",fill:"none"})),w.createElement("path",{d:"M-2106-7380.263v5l2.5-2.551Z",transform:"translate(2116 7385.763)",fill:"#fff",stroke:"#fff",strokeLinejoin:"round",strokeWidth:"2"}),w.createElement("path",{d:"M-2106-7380.263v5l2.5-2.551Z",transform:"translate(-2100 -7369.763) rotate(180)",fill:"#fff",stroke:"#fff",strokeLinejoin:"round",strokeWidth:"2"}))}var Kne={};Kne=` + */const nhe="6";try{window.__reactRouterVersion=nhe}catch{}const ihe="startTransition",jB=ace[ihe];function ahe(e){let{basename:t,children:r,future:n,window:i}=e,a=O.useRef();a.current==null&&(a.current=mfe({window:i,v5Compat:!0}));let l=a.current,[s,u]=O.useState({action:l.action,location:l.location}),{v7_startTransition:c}=n||{},d=O.useCallback(f=>{c&&jB?jB(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>l.listen(d),[l,d]),O.createElement(rhe,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:n})}var WB;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(WB||(WB={}));var ZB;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ZB||(ZB={}));function nZ(e){return null}nZ.getCollectionNode=function*(t,r){let{childItems:n,title:i,children:a}=t,l=t.title||t.children,s=t.textValue||(typeof l=="string"?l:"")||t["aria-label"]||"";!s&&!(r!=null&&r.suppressTextValueWarning)&&console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:l,textValue:s,"aria-label":t["aria-label"],hasChildNodes:lhe(t),*childNodes(){if(n)for(let u of n)yield{type:"item",value:u};else if(i){let u=[];w.Children.forEach(a,c=>{u.push({type:"item",element:c})}),yield*u}}}};function lhe(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&w.Children.count(e.children)>0)}let A1=nZ;class iZ{build(t,r){return this.context=r,UB(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of t.items)yield*this.getFullNode({value:i},{renderer:r})}else{let i=[];w.Children.forEach(r,l=>{i.push(l)});let a=0;for(let l of i){let s=this.getFullNode({element:l,index:a},{});for(let u of s)a++,yield u}}}getKey(t,r,n,i){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let a=r.value;if(a!=null){var l;let s=(l=a.key)!==null&&l!==void 0?l:a.id;if(s==null)throw new Error("No key found for item");return s}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,i){let a=t.element;if(!a&&t.value&&r&&r.renderer){let u=this.cache.get(t.value);if(u&&(!u.shouldInvalidate||!u.shouldInvalidate(this.context))){u.index=t.index,u.parentKey=i?i.key:null,yield u;return}a=r.renderer(t.value)}if(w.isValidElement(a)){let u=a.type;if(typeof u!="function"&&typeof u.getCollectionNode!="function"){let h=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=u.getCollectionNode(a.props,this.context),d=t.index,f=c.next();for(;!f.done&&f.value;){let h=f.value;t.index=d;let p=h.key;p||(p=h.element?null:this.getKey(a,t,r,n));let g=[...this.getFullNode({...h,key:p,index:d,wrapper:ohe(t.wrapper,h.wrapper)},this.getChildState(r,h),n?`${n}${a.key}`:a.key,i)];for(let b of g){if(b.value=h.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${by(b.type)}> in <${by(i.type)}>. Only <${by(t.type)}> is supported.`);d++,yield b}f=c.next(g)}return}if(t.key==null)return;let l=this,s={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:UB(function*(){if(!t.hasChildNodes)return;let u=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`),c.index=u;let d=l.getFullNode(c,l.getChildState(r,c),s.key,s);for(let f of d)u++,yield f}})};yield s}constructor(){this.cache=new WeakMap}}function UB(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function ohe(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function by(e){return e[0].toUpperCase()+e.slice(1)}function CT(e,t,r){let n=O.useMemo(()=>new iZ,[]),{children:i,items:a,collection:l}=e;return O.useMemo(()=>{if(l)return l;let u=n.build({children:i,items:a},r);return t(u)},[n,i,a,l,r,t])}function mr(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function lo(e){return jo(e,0)}function jo(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Jo(e){let t;for(let r of e)t=r;return t}function yy(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...qB(e,t),t],i=[...qB(e,r),r],a=n.slice(0,i.length).findIndex((l,s)=>l!==i[s]);return a!==-1?(t=n[a],r=i[a],t.index-r.index):n.findIndex(l=>l===r)>=0?1:(i.findIndex(l=>l===t)>=0,-1)}function qB(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const HB=new WeakMap;function ET(e){let t=HB.get(e);if(t!=null)return t;t=0;let r=n=>{for(let i of n)i.type==="section"?r(mr(i,e)):t++};return r(e),HB.set(e,t),t}var aZ={};aZ={pending:"قيد الانتظار"};var lZ={};lZ={pending:"недовършено"};var oZ={};oZ={pending:"čeká na vyřízení"};var sZ={};sZ={pending:"afventende"};var uZ={};uZ={pending:"Ausstehend"};var cZ={};cZ={pending:"σε εκκρεμότητα"};var dZ={};dZ={pending:"pending"};var fZ={};fZ={pending:"pendiente"};var hZ={};hZ={pending:"ootel"};var pZ={};pZ={pending:"odottaa"};var mZ={};mZ={pending:"En attente"};var gZ={};gZ={pending:"ממתין ל"};var vZ={};vZ={pending:"u tijeku"};var bZ={};bZ={pending:"függőben levő"};var yZ={};yZ={pending:"in sospeso"};var $Z={};$Z={pending:"保留"};var OZ={};OZ={pending:"보류 중"};var xZ={};xZ={pending:"laukiama"};var SZ={};SZ={pending:"gaida"};var wZ={};wZ={pending:"avventer"};var kZ={};kZ={pending:"in behandeling"};var CZ={};CZ={pending:"oczekujące"};var EZ={};EZ={pending:"pendente"};var PZ={};PZ={pending:"pendente"};var FZ={};FZ={pending:"în așteptare"};var AZ={};AZ={pending:"в ожидании"};var DZ={};DZ={pending:"čakajúce"};var RZ={};RZ={pending:"v teku"};var TZ={};TZ={pending:"nerešeno"};var IZ={};IZ={pending:"väntande"};var MZ={};MZ={pending:"beklemede"};var BZ={};BZ={pending:"в очікуванні"};var _Z={};_Z={pending:"待处理"};var NZ={};NZ={pending:"待處理"};function da(e,t,r){let[n,i]=O.useState(e||t),a=O.useRef(e!==void 0),l=e!==void 0;O.useEffect(()=>{let c=a.current;c!==l&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),a.current=l},[l]);let s=l?e:n,u=O.useCallback((c,...d)=>{let f=(h,...p)=>{r&&(Object.is(s,h)||r(h,...p)),l||(s=h)};typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((p,...m)=>{let g=c(l?s:p,...m);return f(g,...d),l?p:g})):(l||i(c),f(c,...d))},[l,s,r]);return[s,u]}function Pa(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function Ri(e,t,r,n){t=Number(t),r=Number(r);let i=(e-(isNaN(t)?0:t))%n,a=Math.abs(i)*2>=n?e+Math.sign(i)*(n-Math.abs(i)):e-i;isNaN(t)?!isNaN(r)&&a>r&&(a=Math.floor(r/n)*n):ar&&(a=t+Math.floor((r-t)/n)*n);let l=n.toString(),s=l.indexOf("."),u=s>=0?l.length-s:0;if(u>0){let c=Math.pow(10,u);a=Math.round(a*c)/c}return a}const Ng={prefix:String(Math.round(Math.random()*1e10)),current:0},LZ=w.createContext(Ng),she=w.createContext(!1);let uhe=!!(typeof window<"u"&&window.document&&window.document.createElement),$y=new WeakMap;function che(e=!1){let t=O.useContext(LZ),r=O.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let l=$y.get(a);l==null?$y.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==l.state&&(t.current=l.id,$y.delete(a))}r.current=++t.current}return r.current}function dhe(e){let t=O.useContext(LZ);t===Ng&&!uhe&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=che(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function fhe(e){let t=w.useId(),[r]=O.useState(Ms()),n=r?"react-aria":`react-aria${Ng.prefix}`;return e||`${n}-${t}`}const hhe=typeof w.useId=="function"?fhe:dhe;function phe(){return!1}function mhe(){return!0}function ghe(e){return()=>{}}function Ms(){return typeof w.useSyncExternalStore=="function"?w.useSyncExternalStore(ghe,phe,mhe):O.useContext(she)}function VZ(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{};function Vr(e){const t=O.useRef(null);return wt(()=>{t.current=e},[e]),O.useCallback((...r)=>{const n=t.current;return n(...r)},[])}function QZ(e){let[t,r]=O.useState(e),n=O.useRef(null),i=Vr(()=>{let l=n.current.next();if(l.done){n.current=null;return}t===l.value?i():r(l.value)});wt(()=>{n.current&&i()});let a=Vr(l=>{n.current=l(t),i()});return[t,a]}let vhe=!!(typeof window<"u"&&window.document&&window.document.createElement),Lg=new Map;function ar(e){let[t,r]=O.useState(e),n=O.useRef(null),i=hhe(t),a=O.useCallback(l=>{n.current=l},[]);return vhe&&Lg.set(i,a),wt(()=>{let l=i;return()=>{Lg.delete(l)}},[i]),O.useEffect(()=>{let l=n.current;l&&(n.current=null,r(l))}),i}function bhe(e,t){if(e===t)return e;let r=Lg.get(e);if(r)return r(t),t;let n=Lg.get(t);return n?(n(e),e):t}function Tl(e=[]){let t=ar(),[r,n]=QZ(t),i=O.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return wt(i,[t,i,...e]),r}function yo(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const ln=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},sh=e=>e&&"window"in e&&e.window===e?e:ln(e).defaultView||window;function Oe(...e){let t={...e[0]};for(let r=1;r=65&&i.charCodeAt(2)<=90?t[i]=yo(a,l):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof l=="string"?t[i]=D1(a,l):i==="id"&&a&&l?t.id=bhe(a,l):t[i]=l!==void 0?l:a}}return t}function zZ(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const yhe=new Set(["id"]),$he=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Ohe=new Set(["href","target","rel","download","ping","referrerPolicy"]),xhe=/^(data-.*)$/;function Yt(e,t={}){let{labelable:r,isLink:n,propNames:i}=t,a={};for(const l in e)Object.prototype.hasOwnProperty.call(e,l)&&(yhe.has(l)||r&&$he.has(l)||n&&Ohe.has(l)||i!=null&&i.has(l)||xhe.test(l))&&(a[l]=e[l]);return a}function El(e){if(She())e.focus({preventScroll:!0});else{let t=whe(e);e.focus(),khe(t)}}let Vp=null;function She(){if(Vp==null){Vp=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Vp=!0,!0}})}catch{}}return Vp}function whe(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight"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 PT(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 gs(){return PT(/^Mac/i)}function jZ(){return PT(/^iPhone/i)}function WZ(){return PT(/^iPad/i)||gs()&&navigator.maxTouchPoints>1}function Qh(){return jZ()||WZ()}function Rf(){return gs()||Qh()}function FT(){return R1(/AppleWebKit/i)&&!Che()}function Che(){return R1(/Chrome/i)}function Hc(){return R1(/Android/i)}function ZZ(){return R1(/Firefox/i)}const UZ=O.createContext({isNative:!0,open:Phe});function Ehe(e){let{children:t,navigate:r}=e,n=O.useMemo(()=>({isNative:!1,open:(i,a)=>{HZ(i,l=>{qZ(l,a)?r(l.pathname+l.search+l.hash):vs(l,a)})}}),[r]);return w.createElement(UZ.Provider,{value:n},t)}function zh(){return O.useContext(UZ)}function qZ(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function vs(e,t,r=!0){var n,i;let{metaKey:a,ctrlKey:l,altKey:s,shiftKey:u}=t;ZZ()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(gs()?a=!0:l=!0);let c=FT()&&gs()&&!WZ()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:l,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:l,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});vs.isOpening=r,El(e),e.dispatchEvent(c),vs.isOpening=!1}vs.isOpening=!1;function HZ(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Phe(e,t){HZ(e,r=>vs(r,t))}function Fhe(e){return{"data-href":e.href,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}let Gu=new Map,h2=new Set;function KB(){if(typeof window>"u")return;let e=r=>{let n=Gu.get(r.target);n||(n=new Set,Gu.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=Gu.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Gu.delete(r.target)),Gu.size===0)){for(let i of h2)i();h2.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?KB():document.addEventListener("DOMContentLoaded",KB));function KZ(e){requestAnimationFrame(()=>{Gu.size===0?e():h2.add(e)})}function md(){let e=O.useRef(new Map),t=O.useCallback((i,a,l,s)=>{let u=s!=null&&s.once?(...c)=>{e.current.delete(l),l(...c)}:l;e.current.set(l,{type:a,eventTarget:i,fn:u,options:s}),i.addEventListener(a,l,s)},[]),r=O.useCallback((i,a,l,s)=>{var u;let c=((u=e.current.get(l))===null||u===void 0?void 0:u.fn)||l;i.removeEventListener(a,c,s),e.current.delete(l)},[]),n=O.useCallback(()=>{e.current.forEach((i,a)=>{r(i.eventTarget,i.type,a,i.options)})},[r]);return O.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function uh(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;return r=ar(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function AT(e){const t=O.useRef();return O.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function YZ(e,t){const r=O.useRef(!0),n=O.useRef(null);O.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),O.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((i,a)=>!Object.is(i,n[a])))&&e(),n.current=t},t)}function Ahe(){return typeof window.ResizeObserver<"u"}function jh(e){const{ref:t,onResize:r}=e;O.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(Ahe()){const i=new window.ResizeObserver(a=>{a.length&&r()});return i.observe(n),()=>{n&&i.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function T1(e,t){wt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function yl(e,t){for(Vg(e,t)&&(e=e.parentElement);e&&!Vg(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Vg(e,t){let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}let $l=typeof document<"u"&&window.visualViewport;function GZ(){let e=Ms(),[t,r]=O.useState(()=>e?{width:0,height:0}:YB());return O.useEffect(()=>{let n=()=>{r(i=>{let a=YB();return a.width===i.width&&a.height===i.height?i:a})};return $l?$l.addEventListener("resize",n):window.addEventListener("resize",n),()=>{$l?$l.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function YB(){return{width:($l==null?void 0:$l.width)||window.innerWidth,height:($l==null?void 0:$l.height)||window.innerHeight}}let Dhe=0;const Oy=new Map;function Wh(e){let[t,r]=O.useState(void 0);return wt(()=>{if(!e)return;let n=Oy.get(e);if(n)r(n.element.id);else{let i=`react-aria-description-${Dhe++}`;r(i);let a=document.createElement("div");a.id=i,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},Oy.set(e,n)}return n.refCount++,()=>{--n.refCount===0&&(n.element.remove(),Oy.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function XZ(e,t,r,n){let i=Vr(r),a=r==null;O.useEffect(()=>{if(a)return;let l=e.current;return l.addEventListener(t,i,n),()=>{l.removeEventListener(t,i,n)}},[e,t,n,a,i])}function DT(e,t){let r=GB(e,t,"left"),n=GB(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,l=e.scrollLeft,s=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c}=getComputedStyle(e),d=e.scrollLeft+parseInt(c,10),f=e.scrollTop+parseInt(u,10),h=d+e.clientWidth,p=f+e.clientHeight;r<=l?l=r-parseInt(c,10):r+i>h&&(l+=r+i-h),n<=f?s=n-parseInt(u,10):n+a>p&&(s+=n+a-p),e.scrollLeft=l,e.scrollTop=s}function GB(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}function io(e,t){if(document.contains(e)){let l=document.scrollingElement||document.documentElement;if(window.getComputedStyle(l).overflow==="hidden"){let u=yl(e);for(;e&&u&&e!==l&&u!==l;)DT(u,e),e=u,u=yl(e)}else{var r;let{left:u,top:c}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:d,top:f}=e.getBoundingClientRect();if(Math.abs(u-d)>1||Math.abs(c-f)>1){var n,i,a;t==null||(i=t.containingElement)===null||i===void 0||(n=i.scrollIntoView)===null||n===void 0||n.call(i,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function p2(e){return e.mozInputSource===0&&e.isTrusted?!0:Hc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Rhe(e){return!Hc()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Du(e,t,r){let n=O.useRef(t),i=Vr(()=>{r&&r(n.current)});O.useEffect(()=>{var a;let l=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return l==null||l.addEventListener("reset",i),()=>{l==null||l.removeEventListener("reset",i)}},[e,i])}const The=Symbol.for("react-aria.i18n.locale"),Ihe=Symbol.for("react-aria.i18n.strings");let Vu;class I1{getStringForLocale(t,r){let i=this.getStringsForLocale(r)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${r} locale`);return i}getStringsForLocale(t){let r=this.strings[t];return r||(r=Mhe(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[The];if(Vu===void 0){let i=window[Ihe];if(!i)return null;Vu={};for(let a in i)Vu[a]=new I1({[r]:i[a]},r)}let n=Vu==null?void 0:Vu[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,r="en-US"){this.strings={...t},this.defaultLocale=r}}function Mhe(e,t,r="en-US"){if(t[e])return t[e];let n=Bhe(e);if(t[n])return t[n];for(let i in t)if(i.startsWith(n+"-"))return t[i];return t[r]}function Bhe(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const XB=new Map,JB=new Map;class _he{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 i=r["="+t];if(i)return typeof i=="function"?i():i;let a=this.locale+":"+n,l=XB.get(a);l||(l=new Intl.PluralRules(this.locale,{type:n}),XB.set(a,l));let s=l.select(t);return i=r[s]||r.other,typeof i=="function"?i():i}number(t){let r=JB.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),JB.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}constructor(t,r){this.locale=t,this.strings=r}}function Nhe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Lhe(e,t,r){Nhe(e,t),t.set(e,r)}let xy=new Map,m2=!1;try{m2=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Qg=!1;try{Qg=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const JZ={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class zg{format(t){let r="";if(!m2&&this.options.signDisplay!=null?r=Qhe(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Qg){var n;let{unit:i,unitDisplay:a="short",locale:l}=this.resolvedOptions();if(!i)return r;let s=(n=JZ[i])===null||n===void 0?void 0:n[a];r+=s[l]||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= 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= start date");let n=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!m2&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Qg&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=Vhe(t,r),this.options=r}}function Vhe(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Qg){var n;let{unit:l,unitDisplay:s="short"}=t;if(!l)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=JZ[l])===null||n===void 0)&&n[s]))throw new Error(`Unsupported unit ${l} with unitDisplay = ${s}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((l,s)=>l[0]0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let i=e.format(-r),a=e.format(r),l=i.replace(a,"").replace(/\u200e|\u061C/,"");return[...l].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(a,"!!!").replace(l,"+").replace("!!!",a)}else return e.format(r)}}const zhe=new RegExp("^.*\\(.*\\).*$"),jhe=["latn","arab","hanidec"];class eU{parse(t){return Sy(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Sy(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Sy(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const e_=new Map;function Sy(e,t,r){let n=t_(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let i of jhe)if(i!==n.options.numberingSystem){let a=t_(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(a.isValidPartialNumber(r))return a}}return n}function t_(e,t){let r=e+(t?Object.entries(t).sort((i,a)=>i[0]-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new eU(this.locale,i).parse(new zg(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&zhe.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=Qp(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Qp(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,r=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&r<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Qp(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,r={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,r),this.options=this.formatter.resolvedOptions(),this.symbols=Uhe(t,this.formatter,this.options,r);var n,i;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const r_=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Zhe=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Uhe(e,t,r,n){var i,a,l,s;let u=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=u.formatToParts(-10000.111),d=u.formatToParts(10000.111),f=Zhe.map(D=>u.formatToParts(D));var h;let p=(h=(i=c.find(D=>D.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&h!==void 0?h:"-",m=(a=d.find(D=>D.type==="plusSign"))===null||a===void 0?void 0:a.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let b=(l=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(D=>D.type==="decimal"))===null||l===void 0?void 0:l.value,v=(s=c.find(D=>D.type==="group"))===null||s===void 0?void 0:s.value,$=c.filter(D=>!r_.has(D.type)).map(D=>n_(D.value)),y=f.flatMap(D=>D.filter(R=>!r_.has(R.type)).map(R=>n_(R.value))),S=[...new Set([...$,...y])].sort((D,R)=>R.length-D.length),k=S.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${S.join("|")}|[\\p{White_Space}]`,"gu"),C=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(C.map((D,R)=>[D,R])),E=new RegExp(`[${C.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:b,group:v,literals:k,numeral:E,index:D=>String(F.get(D))}}function Qp(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function n_(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const qhe=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Hhe=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function tU(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return qhe.has(r.script)}let t=e.split("-")[0];return Hhe.has(t)}const Khe=Symbol.for("react-aria.i18n.locale");function rU(){let e=typeof window<"u"&&window[Khe]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:tU(e)?"rtl":"ltr"}}let g2=rU(),hf=new Set;function i_(){g2=rU();for(let e of hf)e(g2)}function nU(){let e=Ms(),[t,r]=O.useState(g2);return O.useEffect(()=>(hf.size===0&&window.addEventListener("languagechange",i_),hf.add(r),()=>{hf.delete(r),hf.size===0&&window.removeEventListener("languagechange",i_)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const iU=w.createContext(null);function Yhe(e){let{locale:t,children:r}=e,n=nU(),i=t?{locale:t,direction:tU(t)?"rtl":"ltr"}:n;return w.createElement(iU.Provider,{value:i},r)}function yr(){let e=nU();return O.useContext(iU)||e}const a_=new WeakMap;function Ghe(e){let t=a_.get(e);return t||(t=new I1(e),a_.set(e,t)),t}function Xhe(e,t){return t&&I1.getGlobalDictionaryForPackage(t)||Ghe(e)}function or(e,t){let{locale:r}=yr(),n=Xhe(e,t);return O.useMemo(()=>new _he(r,n),[r,n])}function jg(e={}){let{locale:t}=yr();return O.useMemo(()=>new zg(t,e),[t,e])}let wy=new Map;function gd(e){let{locale:t}=yr(),r=t+(e?Object.entries(e).sort((i,a)=>i[0]l.length===0?!0:(a=a.normalize("NFC"),l=l.normalize("NFC"),t.compare(a.slice(0,l.length),l)===0),[t]),n=O.useCallback((a,l)=>l.length===0?!0:(a=a.normalize("NFC"),l=l.normalize("NFC"),t.compare(a.slice(-l.length),l)===0),[t]),i=O.useCallback((a,l)=>{if(l.length===0)return!0;a=a.normalize("NFC"),l=l.normalize("NFC");let s=0,u=l.length;for(;s+u<=a.length;s++){let c=a.slice(s,s+u);if(t.compare(l,c)===0)return!0}return!1},[t]);return O.useMemo(()=>({startsWith:r,endsWith:n,contains:i}),[r,n,i])}let zp=!1;function z(e,...t){let r=[];for(let n of t)if(typeof n=="object"&&n){let i={};for(let a in n)e[a]&&(i[e[a]]=n[a]),e[a]||(i[a]=n[a]);r.push(i)}else typeof n=="string"?(e[n]&&r.push(e[n]),e[n]||r.push(n)):r.push(n);return D1(...r)}function Jhe(e){let t;return typeof e=="string"?t=w.createElement("span",null,e):t=w.Children.only(e),t}function v2(e){let t=typeof window<"u"&&typeof window.matchMedia=="function",[r,n]=O.useState(()=>t?window.matchMedia(e).matches:!1);return O.useEffect(()=>{if(!t)return;let a=window.matchMedia(e),l=s=>{n(s.matches)};return a.addListener(l),()=>{a.removeListener(l)}},[t,e]),Ms()?!1:r}function RT(e){return{UNSAFE_getDOMNode(){return e.current}}}function lU(e,t=e){return{...RT(e),focus(){t.current&&t.current.focus()}}}function Xr(e){let t=O.useRef(null);return O.useImperativeHandle(e,()=>RT(t)),t}function Ta(e,t){let r=O.useRef(null);return O.useImperativeHandle(e,()=>lU(r,t)),r}function mc(e){return{get current(){return e.current&&e.current.UNSAFE_getDOMNode()}}}function Wg(e){return O.useMemo(()=>mc(e),[e])}const TT=w.createContext(null);TT.displayName="BreakpointContext";function epe(e){let{children:t,matchedBreakpoints:r}=e;return w.createElement(TT.Provider,{value:{matchedBreakpoints:r}},t)}function tpe(e){let t=Object.entries(e).sort(([,u],[,c])=>c-u),r=t.map(([,u])=>`(min-width: ${u}px)`),n=typeof window<"u"&&typeof window.matchMedia=="function",i=()=>{let u=[];for(let c in r){let d=r[c];window.matchMedia(d).matches&&u.push(t[c][0])}return u.push("base"),u},[a,l]=O.useState(()=>n?i():["base"]);return O.useEffect(()=>{if(!n)return;let u=()=>{const c=i();l(d=>d.length!==c.length||d.some((f,h)=>f!==c[h])?[...c]:d)};return window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[n]),Ms()?["base"]:a}function oU(){return O.useContext(TT)}const M1={margin:["margin",_t],marginStart:[Di("marginLeft","marginRight"),_t],marginEnd:[Di("marginRight","marginLeft"),_t],marginTop:["marginTop",_t],marginBottom:["marginBottom",_t],marginX:[["marginLeft","marginRight"],_t],marginY:[["marginTop","marginBottom"],_t],width:["width",_t],height:["height",_t],minWidth:["minWidth",_t],minHeight:["minHeight",_t],maxWidth:["maxWidth",_t],maxHeight:["maxHeight",_t],isHidden:["display",lpe],alignSelf:["alignSelf",vn],justifySelf:["justifySelf",vn],position:["position",Cy],zIndex:["zIndex",Cy],top:["top",_t],bottom:["bottom",_t],start:[Di("left","right"),_t],end:[Di("right","left"),_t],left:["left",_t],right:["right",_t],order:["order",Cy],flex:["flex",ope],flexGrow:["flexGrow",vn],flexShrink:["flexShrink",vn],flexBasis:["flexBasis",vn],gridArea:["gridArea",vn],gridColumn:["gridColumn",vn],gridColumnEnd:["gridColumnEnd",vn],gridColumnStart:["gridColumnStart",vn],gridRow:["gridRow",vn],gridRowEnd:["gridRowEnd",vn],gridRowStart:["gridRowStart",vn]};({...M1,borderStartWidth:Di("borderLeftWidth","borderRightWidth"),borderEndWidth:Di("borderRightWidth","borderLeftWidth"),borderStartColor:Di("borderLeftColor","borderRightColor"),borderEndColor:Di("borderRightColor","borderLeftColor"),borderTopStartRadius:Di("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Di("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Di("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Di("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Di("paddingLeft","paddingRight"),paddingEnd:Di("paddingRight","paddingLeft")});const l_={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Di(e,t){return r=>r==="rtl"?t:e}const rpe=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,npe=/^\s*\w+\(/,ipe=/(static-)?size-\d+|single-line-(height|width)/g;function _t(e){return typeof e=="number"?e+"px":rpe.test(e)?e:npe.test(e)?e.replace(ipe,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function ky(e,t){return e=IT(e,t),_t(e)}function sU(e,t="default",r=5){return r>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function ape(e,t=5){return`var(--spectrum-alias-background-color-${e}, ${sU(e,"background",t)})`}function Zl(e,t=5){return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${sU(e,"border",t)})`}function Ul(e){return e&&e!=="none"?`var(--spectrum-alias-border-size-${e})`:"0"}function ql(e){return`var(--spectrum-alias-border-radius-${e})`}function lpe(e){return e?"none":void 0}function Cy(e){return e}function ope(e){return typeof e=="boolean"?e?"1":void 0:""+e}function spe(e,t,r,n){let i={};for(let a in e){let l=t[a];if(!l||e[a]==null)continue;let[s,u]=l;typeof s=="function"&&(s=s(r));let c=IT(e[a],n),d=u(c,e.colorVersion);if(Array.isArray(s))for(let f of s)i[f]=d;else i[s]=d}for(let a in l_)i[a]&&(i[l_[a]]="solid",i.boxSizing="border-box");return i}function Nt(e,t=M1,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...a}=e,l=oU(),{direction:s}=yr(),{matchedBreakpoints:u=(l==null?void 0:l.matchedBreakpoints)||["base"]}=r,c=spe(e,t,s,u),d={...i,...c};a.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),a.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let f={style:d,className:n};return IT(e.isHidden,u)&&(f.hidden=!0),{styleProps:f}}function vn(e){return e}function IT(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let r=0;rObject.keys(t).concat(Object.keys(r)).reduce((a,l)=>({...a,[l]:Oe(t[l]||{},r[l]||{})}),{}),[t,r]);return w.createElement(Zg.Provider,{value:i},n)}function B1(e){let{children:t,...r}=e,n=t;return w.Children.toArray(t).length<=1&&typeof t=="function"&&(n=w.cloneElement(w.Children.only(t),r)),w.createElement(Zg.Provider,{value:{}},n)}function gc(e,t){let[r,n]=O.useState(!0);return wt(()=>{n(!!(t.current&&t.current.querySelector(e)))},[n,e,t]),r}const upe=700;function Zh(){return Ms()||typeof window>"u"?!1:window.screen.width<=upe}function cpe(e,t){return t.get?t.get.call(e):t.value}function uU(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function dpe(e,t){var r=uU(e,t,"get");return cpe(e,r)}function fpe(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function o_(e,t,r){var n=uU(e,t,"set");return fpe(e,n,r),r}let vc="default",b2="",Um=new WeakMap;function y2(e){if(Qh()){if(vc==="default"){const t=ln(e);b2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}vc="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Um.set(e,e.style.userSelect),e.style.userSelect="none")}function pf(e){if(Qh()){if(vc!=="disabled")return;vc="restoring",setTimeout(()=>{KZ(()=>{if(vc==="restoring"){const t=ln(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=b2||""),b2="",vc="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Um.has(e)){let t=Um.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Um.delete(e)}}const ch=w.createContext({register:()=>{}});ch.displayName="PressResponderContext";function hpe(e){let t=O.useContext(ch);if(t){let{register:r,...n}=t;e=Oe(n,e),r()}return T1(t,e.ref),e}var jp=new WeakMap;class Wp{continuePropagation(){o_(this,jp,!1)}get shouldStopPropagation(){return dpe(this,jp)}constructor(t,r,n){Lhe(this,jp,{writable:!0,value:void 0}),o_(this,jp,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const s_=Symbol("linkClicked");function zi(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:a,isDisabled:l,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...h}=hpe(e),[p,m]=O.useState(!1),g=O.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:v}=md(),$=Vr((E,M)=>{let D=g.current;if(l||D.didFirePressStart)return!1;let R=!0;if(D.isTriggeringEvent=!0,n){let B=new Wp("pressstart",M,E);n(B),R=B.shouldStopPropagation}return r&&r(!0),D.isTriggeringEvent=!1,D.didFirePressStart=!0,m(!0),R}),y=Vr((E,M,D=!0)=>{let R=g.current;if(!R.didFirePressStart)return!1;R.ignoreClickAfterPress=!0,R.didFirePressStart=!1,R.isTriggeringEvent=!0;let B=!0;if(i){let T=new Wp("pressend",M,E);i(T),B=T.shouldStopPropagation}if(r&&r(!1),m(!1),t&&D&&!l){let T=new Wp("press",M,E);t(T),B&&(B=T.shouldStopPropagation)}return R.isTriggeringEvent=!1,B}),S=Vr((E,M)=>{let D=g.current;if(l)return!1;if(a){D.isTriggeringEvent=!0;let R=new Wp("pressup",M,E);return a(R),D.isTriggeringEvent=!1,R.shouldStopPropagation}return!0}),k=Vr(E=>{let M=g.current;M.isPressed&&M.target&&(M.isOverTarget&&M.pointerType!=null&&y(Hl(M.target,E),M.pointerType,!1),M.isPressed=!1,M.isOverTarget=!1,M.activePointerId=null,M.pointerType=null,v(),d||pf(M.target))}),C=Vr(E=>{c&&k(E)}),F=O.useMemo(()=>{let E=g.current,M={onKeyDown(R){if(Ey(R.nativeEvent,R.currentTarget)&&R.currentTarget.contains(R.target)){var B;c_(R.target,R.key)&&R.preventDefault();let T=!0;!E.isPressed&&!R.repeat&&(E.target=R.currentTarget,E.isPressed=!0,T=$(R,"keyboard"),b(ln(R.currentTarget),"keyup",D,!1)),T&&R.stopPropagation(),R.metaKey&&gs()&&((B=E.metaKeyEvents)===null||B===void 0||B.set(R.key,R.nativeEvent))}else R.key==="Meta"&&(E.metaKeyEvents=new Map)},onKeyUp(R){Ey(R.nativeEvent,R.currentTarget)&&!R.repeat&&R.currentTarget.contains(R.target)&&E.target&&S(Hl(E.target,R),"keyboard")},onClick(R){if(!(R&&!R.currentTarget.contains(R.target))&&R&&R.button===0&&!E.isTriggeringEvent&&!vs.isOpening){let B=!0;if(l&&R.preventDefault(),!E.ignoreClickAfterPress&&!E.ignoreEmulatedMouseEvents&&!E.isPressed&&(E.pointerType==="virtual"||p2(R.nativeEvent))){!l&&!u&&El(R.currentTarget);let T=$(R,"virtual"),_=S(R,"virtual"),Q=y(R,"virtual");B=T&&_&&Q}E.ignoreEmulatedMouseEvents=!1,E.ignoreClickAfterPress=!1,B&&R.stopPropagation()}}},D=R=>{var B;if(E.isPressed&&E.target&&Ey(R,E.target)){var T;c_(R.target,R.key)&&R.preventDefault();let Q=R.target,W=y(Hl(E.target,R),"keyboard",E.target.contains(Q));v(),W&&R.stopPropagation(),R.key!=="Enter"&&MT(E.target)&&E.target.contains(Q)&&!R[s_]&&(R[s_]=!0,vs(E.target,R,!1)),E.isPressed=!1,(T=E.metaKeyEvents)===null||T===void 0||T.delete(R.key)}else if(R.key==="Meta"&&(!((B=E.metaKeyEvents)===null||B===void 0)&&B.size)){var _;let Q=E.metaKeyEvents;E.metaKeyEvents=void 0;for(let W of Q.values())(_=E.target)===null||_===void 0||_.dispatchEvent(new KeyboardEvent("keyup",W))}};if(typeof PointerEvent<"u"){M.onPointerDown=_=>{if(_.button!==0||!_.currentTarget.contains(_.target))return;if(Rhe(_.nativeEvent)){E.pointerType="virtual";return}Py(_.currentTarget)&&_.preventDefault(),E.pointerType=_.pointerType;let Q=!0;E.isPressed||(E.isPressed=!0,E.isOverTarget=!0,E.activePointerId=_.pointerId,E.target=_.currentTarget,!l&&!u&&El(_.currentTarget),d||y2(E.target),Q=$(_,E.pointerType),b(ln(_.currentTarget),"pointermove",R,!1),b(ln(_.currentTarget),"pointerup",B,!1),b(ln(_.currentTarget),"pointercancel",T,!1)),Q&&_.stopPropagation()},M.onMouseDown=_=>{_.currentTarget.contains(_.target)&&_.button===0&&(Py(_.currentTarget)&&_.preventDefault(),_.stopPropagation())},M.onPointerUp=_=>{!_.currentTarget.contains(_.target)||E.pointerType==="virtual"||_.button===0&&Qu(_,_.currentTarget)&&S(_,E.pointerType||_.pointerType)};let R=_=>{_.pointerId===E.activePointerId&&(E.target&&Qu(_,E.target)?!E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!0,$(Hl(E.target,_),E.pointerType)):E.target&&E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!1,y(Hl(E.target,_),E.pointerType,!1),C(_)))},B=_=>{_.pointerId===E.activePointerId&&E.isPressed&&_.button===0&&E.target&&(Qu(_,E.target)&&E.pointerType!=null?y(Hl(E.target,_),E.pointerType):E.isOverTarget&&E.pointerType!=null&&y(Hl(E.target,_),E.pointerType,!1),E.isPressed=!1,E.isOverTarget=!1,E.activePointerId=null,E.pointerType=null,v(),d||pf(E.target))},T=_=>{k(_)};M.onDragStart=_=>{_.currentTarget.contains(_.target)&&k(_)}}else{M.onMouseDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(Py(T.currentTarget)&&T.preventDefault(),E.ignoreEmulatedMouseEvents){T.stopPropagation();return}E.isPressed=!0,E.isOverTarget=!0,E.target=T.currentTarget,E.pointerType=p2(T.nativeEvent)?"virtual":"mouse",!l&&!u&&El(T.currentTarget),$(T,E.pointerType)&&T.stopPropagation(),b(ln(T.currentTarget),"mouseup",R,!1)},M.onMouseEnter=T=>{if(!T.currentTarget.contains(T.target))return;let _=!0;E.isPressed&&!E.ignoreEmulatedMouseEvents&&E.pointerType!=null&&(E.isOverTarget=!0,_=$(T,E.pointerType)),_&&T.stopPropagation()},M.onMouseLeave=T=>{if(!T.currentTarget.contains(T.target))return;let _=!0;E.isPressed&&!E.ignoreEmulatedMouseEvents&&E.pointerType!=null&&(E.isOverTarget=!1,_=y(T,E.pointerType,!1),C(T)),_&&T.stopPropagation()},M.onMouseUp=T=>{T.currentTarget.contains(T.target)&&!E.ignoreEmulatedMouseEvents&&T.button===0&&S(T,E.pointerType||"mouse")};let R=T=>{if(T.button===0){if(E.isPressed=!1,v(),E.ignoreEmulatedMouseEvents){E.ignoreEmulatedMouseEvents=!1;return}E.target&&Qu(T,E.target)&&E.pointerType!=null?y(Hl(E.target,T),E.pointerType):E.target&&E.isOverTarget&&E.pointerType!=null&&y(Hl(E.target,T),E.pointerType,!1),E.isOverTarget=!1}};M.onTouchStart=T=>{if(!T.currentTarget.contains(T.target))return;let _=ppe(T.nativeEvent);if(!_)return;E.activePointerId=_.identifier,E.ignoreEmulatedMouseEvents=!0,E.isOverTarget=!0,E.isPressed=!0,E.target=T.currentTarget,E.pointerType="touch",!l&&!u&&El(T.currentTarget),d||y2(E.target),$(T,E.pointerType)&&T.stopPropagation(),b(sh(T.currentTarget),"scroll",B,!0)},M.onTouchMove=T=>{if(!T.currentTarget.contains(T.target))return;if(!E.isPressed){T.stopPropagation();return}let _=u_(T.nativeEvent,E.activePointerId),Q=!0;_&&Qu(_,T.currentTarget)?!E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!0,Q=$(T,E.pointerType)):E.isOverTarget&&E.pointerType!=null&&(E.isOverTarget=!1,Q=y(T,E.pointerType,!1),C(T)),Q&&T.stopPropagation()},M.onTouchEnd=T=>{if(!T.currentTarget.contains(T.target))return;if(!E.isPressed){T.stopPropagation();return}let _=u_(T.nativeEvent,E.activePointerId),Q=!0;_&&Qu(_,T.currentTarget)&&E.pointerType!=null?(S(T,E.pointerType),Q=y(T,E.pointerType)):E.isOverTarget&&E.pointerType!=null&&(Q=y(T,E.pointerType,!1)),Q&&T.stopPropagation(),E.isPressed=!1,E.activePointerId=null,E.isOverTarget=!1,E.ignoreEmulatedMouseEvents=!0,E.target&&!d&&pf(E.target),v()},M.onTouchCancel=T=>{T.currentTarget.contains(T.target)&&(T.stopPropagation(),E.isPressed&&k(T))};let B=T=>{E.isPressed&&T.target.contains(E.target)&&k({currentTarget:E.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};M.onDragStart=T=>{T.currentTarget.contains(T.target)&&k(T)}}return M},[b,l,u,v,d,k,C,y,$,S]);return O.useEffect(()=>()=>{var E;d||pf((E=g.current.target)!==null&&E!==void 0?E:void 0)},[d]),{isPressed:s||p,pressProps:Oe(h,F)}}function MT(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ey(e,t){const{key:r,code:n}=e,i=t,a=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof sh(i).HTMLInputElement&&!cU(i,r)||i instanceof sh(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&MT(i))&&r!=="Enter")}function ppe(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function u_(e,t){const r=e.changedTouches;for(let n=0;nt.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Qu(e,t){let r=t.getBoundingClientRect(),n=mpe(e);return gpe(r,n)}function Py(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function c_(e,t){return e instanceof HTMLInputElement?!cU(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!MT(e)}const vpe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function cU(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":vpe.has(e.type)}const _1=w.forwardRef(({children:e,...t},r)=>{let n=O.useRef(!1),i=O.useContext(ch);r=AT(r||(i==null?void 0:i.ref));let a=Oe(i||{},{...t,ref:r,register(){n.current=!0,i&&i.register()}});return T1(i,r),O.useEffect(()=>{n.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with component."),n.current=!0)},[]),w.createElement(ch.Provider,{value:a},e)});function bpe({children:e}){let t=O.useMemo(()=>({register:()=>{}}),[]);return w.createElement(ch.Provider,{value:t},e)}class ype{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 dU(e){let t=O.useRef({isFocused:!1,observer:null});wt(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Vr(n=>{e==null||e(n)});return O.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,a=l=>{t.current.isFocused=!1,i.disabled&&r(new ype("blur",l)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var l;(l=t.current.observer)===null||l===void 0||l.disconnect();let s=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function Uh(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const a=O.useCallback(u=>{if(u.target===u.currentTarget)return n&&n(u),i&&i(!1),!0},[n,i]),l=dU(a),s=O.useCallback(u=>{u.target===u.currentTarget&&document.activeElement===u.target&&(r&&r(u),i&&i(!0),l(u))},[i,r,l]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?a:void 0}}}let $o=null,dh=new Set,d_=!1,yu=!1,$2=!1;const $pe={Tab:!0,Escape:!0};function N1(e,t){for(let r of dh)r(e,t)}function Ope(e){return!(e.metaKey||!gs()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function f_(e){yu=!0,Ope(e)&&($o="keyboard",N1("keyboard",e))}function zu(e){$o="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(yu=!0,N1("pointer",e))}function xpe(e){p2(e)&&(yu=!0,$o="virtual")}function Spe(e){e.target===window||e.target===document||(!yu&&!$2&&($o="virtual",N1("virtual",e)),yu=!1,$2=!1)}function wpe(){yu=!1,$2=!0}function Ug(){if(typeof window>"u"||d_)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){yu=!0,e.apply(this,arguments)},document.addEventListener("keydown",f_,!0),document.addEventListener("keyup",f_,!0),document.addEventListener("click",xpe,!0),window.addEventListener("focus",Spe,!0),window.addEventListener("blur",wpe,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",zu,!0),document.addEventListener("pointermove",zu,!0),document.addEventListener("pointerup",zu,!0)):(document.addEventListener("mousedown",zu,!0),document.addEventListener("mousemove",zu,!0),document.addEventListener("mouseup",zu,!0)),d_=!0}typeof document<"u"&&(document.readyState!=="loading"?Ug():document.addEventListener("DOMContentLoaded",Ug));function Oo(){return $o!=="pointer"}function bs(){return $o}function L1(e){$o=e,N1(e,null)}function BT(){Ug();let[e,t]=O.useState($o);return O.useEffect(()=>{let r=()=>{t($o)};return dh.add(r),()=>{dh.delete(r)}},[]),Ms()?null:e}const kpe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Cpe(e,t,r){var n;return e=e||(r==null?void 0:r.target)instanceof HTMLInputElement&&!kpe.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof HTMLTextAreaElement||(r==null?void 0:r.target)instanceof HTMLElement&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof KeyboardEvent&&!$pe[r.key])}function Epe(e,t,r){Ug(),O.useEffect(()=>{let n=(i,a)=>{Cpe(!!(r!=null&&r.isTextInput),i,a)&&e(Oo())};return dh.add(n),()=>{dh.delete(n)}},t)}function Ru(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,a=O.useRef({isFocusWithin:!1}),l=O.useCallback(c=>{a.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,a]),s=dU(l),u=O.useCallback(c=>{!a.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),a.current.isFocusWithin=!0,s(c))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}let qg=!1,Fy=0;function O2(){qg=!0,setTimeout(()=>{qg=!1},50)}function h_(e){e.pointerType==="touch"&&O2()}function Ppe(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",h_):document.addEventListener("touchend",O2),Fy++,()=>{Fy--,!(Fy>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",h_):document.removeEventListener("touchend",O2))}}function Er(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[a,l]=O.useState(!1),s=O.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;O.useEffect(Ppe,[]);let{hoverProps:u,triggerHoverEnd:c}=O.useMemo(()=>{let d=(p,m)=>{if(s.pointerType=m,i||m==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let g=p.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:m}),r&&r(!0),l(!0)},f=(p,m)=>{if(s.pointerType="",s.target=null,m==="touch"||!s.isHovered)return;s.isHovered=!1;let g=p.currentTarget;n&&n({type:"hoverend",target:g,pointerType:m}),r&&r(!1),l(!1)},h={};return typeof PointerEvent<"u"?(h.onPointerEnter=p=>{qg&&p.pointerType==="mouse"||d(p,p.pointerType)},h.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(h.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=p=>{!s.ignoreEmulatedMouseEvents&&!qg&&d(p,"mouse"),s.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[t,r,n,i,s]);return O.useEffect(()=>{i&&c({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}function Fpe(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=e,a=O.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=Vr(u=>{r&&Zp(u,t)&&(i&&i(u),a.current.isPointerDown=!0)}),s=Vr(u=>{r&&r(u)});O.useEffect(()=>{let u=a.current;if(n)return;const c=t.current,d=ln(c);if(typeof PointerEvent<"u"){let f=h=>{u.isPointerDown&&Zp(h,t)&&s(h),u.isPointerDown=!1};return d.addEventListener("pointerdown",l,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",l,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=p=>{u.ignoreEmulatedMouseEvents?u.ignoreEmulatedMouseEvents=!1:u.isPointerDown&&Zp(p,t)&&s(p),u.isPointerDown=!1},h=p=>{u.ignoreEmulatedMouseEvents=!0,u.isPointerDown&&Zp(p,t)&&s(p),u.isPointerDown=!1};return d.addEventListener("mousedown",l,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",l,!0),d.addEventListener("touchend",h,!0),()=>{d.removeEventListener("mousedown",l,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",l,!0),d.removeEventListener("touchend",h,!0)}}},[t,n,l,s])}function Zp(e,t){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function p_(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 V1(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:p_(e.onKeyDown),onKeyUp:p_(e.onKeyUp)}}}function _T(e){let{onMoveStart:t,onMove:r,onMoveEnd:n}=e,i=O.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:l}=md(),s=Vr((d,f,h,p)=>{h===0&&p===0||(i.current.didMove||(i.current.didMove=!0,t==null||t({type:"movestart",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),r==null||r({type:"move",pointerType:f,deltaX:h,deltaY:p,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),u=Vr((d,f)=>{pf(),i.current.didMove&&(n==null||n({type:"moveend",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))});return{moveProps:O.useMemo(()=>{let d={},f=()=>{y2(),i.current.didMove=!1};if(typeof PointerEvent>"u"){let p=v=>{if(v.button===0){var $,y,S,k;s(v,"mouse",v.pageX-((S=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageX)!==null&&S!==void 0?S:0),v.pageY-((k=(y=i.current.lastPosition)===null||y===void 0?void 0:y.pageY)!==null&&k!==void 0?k:0)),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY}}},m=v=>{v.button===0&&(u(v,"mouse"),l(window,"mousemove",p,!1),l(window,"mouseup",m,!1))};d.onMouseDown=v=>{v.button===0&&(f(),v.stopPropagation(),v.preventDefault(),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY},a(window,"mousemove",p,!1),a(window,"mouseup",m,!1))};let g=v=>{let $=[...v.changedTouches].findIndex(({identifier:F})=>F===i.current.id);if($>=0){var y,S;let{pageX:F,pageY:E}=v.changedTouches[$];var k,C;s(v,"touch",F-((k=(y=i.current.lastPosition)===null||y===void 0?void 0:y.pageX)!==null&&k!==void 0?k:0),E-((C=(S=i.current.lastPosition)===null||S===void 0?void 0:S.pageY)!==null&&C!==void 0?C:0)),i.current.lastPosition={pageX:F,pageY:E}}},b=v=>{[...v.changedTouches].findIndex(({identifier:y})=>y===i.current.id)>=0&&(u(v,"touch"),i.current.id=null,l(window,"touchmove",g),l(window,"touchend",b),l(window,"touchcancel",b))};d.onTouchStart=v=>{if(v.changedTouches.length===0||i.current.id!=null)return;let{pageX:$,pageY:y,identifier:S}=v.changedTouches[0];f(),v.stopPropagation(),v.preventDefault(),i.current.lastPosition={pageX:$,pageY:y},i.current.id=S,a(window,"touchmove",g,!1),a(window,"touchend",b,!1),a(window,"touchcancel",b,!1)}}else{let p=g=>{if(g.pointerId===i.current.id){var b,v;let S=g.pointerType||"mouse";var $,y;s(g,S,g.pageX-(($=(b=i.current.lastPosition)===null||b===void 0?void 0:b.pageX)!==null&&$!==void 0?$:0),g.pageY-((y=(v=i.current.lastPosition)===null||v===void 0?void 0:v.pageY)!==null&&y!==void 0?y:0)),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY}}},m=g=>{if(g.pointerId===i.current.id){let b=g.pointerType||"mouse";u(g,b),i.current.id=null,l(window,"pointermove",p,!1),l(window,"pointerup",m,!1),l(window,"pointercancel",m,!1)}};d.onPointerDown=g=>{g.button===0&&i.current.id==null&&(f(),g.stopPropagation(),g.preventDefault(),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY},i.current.id=g.pointerId,a(window,"pointermove",p,!1),a(window,"pointerup",m,!1),a(window,"pointercancel",m,!1))}}let h=(p,m,g)=>{f(),s(p,"keyboard",m,g),u(p,"keyboard")};return d.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),h(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),h(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),h(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),h(p,0,1);break}},d},[i,a,l,s,u])}}function Ape(e,t){let{onScroll:r,isDisabled:n}=e,i=O.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),r&&r({deltaX:a.deltaX,deltaY:a.deltaY}))},[r]);XZ(t,"wheel",n?void 0:i)}const Dpe=500;function fU(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:i,threshold:a=Dpe,accessibilityDescription:l}=e;const s=O.useRef();let{addGlobalListener:u,removeGlobalListener:c}=md(),{pressProps:d}=zi({isDisabled:t,onPressStart(h){if(h.continuePropagation(),(h.pointerType==="mouse"||h.pointerType==="touch")&&(r&&r({...h,type:"longpressstart"}),s.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...h,type:"longpress"}),s.current=void 0},a),h.pointerType==="touch")){let p=m=>{m.preventDefault()};u(h.target,"contextmenu",p,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{c(h.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(h){s.current&&clearTimeout(s.current),n&&(h.pointerType==="mouse"||h.pointerType==="touch")&&n({...h,type:"longpressend"})}}),f=Wh(i&&!t?l:void 0);return{longPressProps:Oe(d,f)}}function Tn(e){const t=ln(e);if(bs()==="virtual"){let r=t.activeElement;KZ(()=>{t.activeElement===r&&e.isConnected&&El(e)})}else El(e)}function Rpe(e){const t=sh(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,i=r!=="none"&&n!=="hidden"&&n!=="collapse";if(i){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:l,visibility:s}=a(e);i=l!=="none"&&s!=="hidden"&&s!=="collapse"}return i}function Tpe(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function hU(e,t){return e.nodeName!=="#comment"&&Rpe(e)&&Tpe(e,t)&&(!e.parentElement||hU(e.parentElement,e))}const m_=w.createContext(null);let Sr=null;function qh(e){let{children:t,contain:r,restoreFocus:n,autoFocus:i}=e,a=O.useRef(null),l=O.useRef(null),s=O.useRef([]),{parentNode:u}=O.useContext(m_)||{},c=O.useMemo(()=>new x2({scopeRef:s}),[s]);wt(()=>{let h=u||fn.root;if(fn.getTreeNode(h.scopeRef)&&Sr&&!Kg(Sr,h.scopeRef)){let p=fn.getTreeNode(Sr);p&&(h=p)}h.addChild(c),fn.addNode(c)},[c,u]),wt(()=>{let h=fn.getTreeNode(s);h&&(h.contain=!!r)},[r]),wt(()=>{var h;let p=(h=a.current)===null||h===void 0?void 0:h.nextSibling,m=[];for(;p&&p!==l.current;)m.push(p),p=p.nextSibling;s.current=m},[t]),Vpe(s,n,r),_pe(s,r),zpe(s,n,r),Lpe(s,i),O.useEffect(()=>{const h=ln(s.current?s.current[0]:void 0).activeElement;let p=null;if(ai(h,s.current)){for(let m of fn.traverse())m.scopeRef&&ai(h,m.scopeRef.current)&&(p=m);p===fn.getTreeNode(s)&&(Sr=p.scopeRef)}},[s]),wt(()=>()=>{var h,p,m;let g=(m=(p=fn.getTreeNode(s))===null||p===void 0||(h=p.parent)===null||h===void 0?void 0:h.scopeRef)!==null&&m!==void 0?m:null;(s===Sr||Kg(s,Sr))&&(!g||fn.getTreeNode(g))&&(Sr=g),fn.removeTreeNode(s)},[s]);let d=O.useMemo(()=>Ipe(s),[]),f=O.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return w.createElement(m_.Provider,{value:f},w.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,w.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function Ipe(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,s=n||ln(r[0]).activeElement,u=r[0].previousElementSibling,c=iu(r),d=ra(c,{tabbable:i,accept:l},r);d.currentNode=ai(s,r)?s:u;let f=d.nextNode();return!f&&a&&(d.currentNode=u,f=d.nextNode()),f&&uo(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,s=n||ln(r[0]).activeElement,u=r[r.length-1].nextElementSibling,c=iu(r),d=ra(c,{tabbable:i,accept:l},r);d.currentNode=ai(s,r)?s:u;let f=d.previousNode();return!f&&a&&(d.currentNode=u,f=d.previousNode()),f&&uo(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:i}=t,a=iu(r),l=ra(a,{tabbable:n,accept:i},r);l.currentNode=r[0].previousElementSibling;let s=l.nextNode();return s&&uo(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:i}=t,a=iu(r),l=ra(a,{tabbable:n,accept:i},r);l.currentNode=r[r.length-1].nextElementSibling;let s=l.previousNode();return s&&uo(s,!0),s}}}const NT=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Mpe=NT.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";NT.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Bpe=NT.join(':not([hidden]):not([tabindex="-1"]),');function iu(e){return e[0].parentElement}function mf(e){let t=fn.getTreeNode(Sr);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function _pe(e,t){let r=O.useRef(),n=O.useRef();wt(()=>{let i=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=ln(i?i[0]:void 0);let l=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!mf(e))return;let d=a.activeElement,f=e.current;if(!f||!ai(d,f))return;let h=iu(f),p=ra(h,{tabbable:!0},f);if(!d)return;p.currentNode=d;let m=c.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),m&&uo(m,!0)},s=c=>{(!Sr||Kg(Sr,e))&&ai(c.target,e.current)?(Sr=e,r.current=c.target):mf(e)&&!Hg(c.target,e)?r.current?r.current.focus():Sr&&Sr.current&&Yg(Sr.current):mf(e)&&(r.current=c.target)},u=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(a.activeElement&&mf(e)&&!Hg(a.activeElement,e))if(Sr=e,a.body.contains(c.target)){var d;r.current=c.target,(d=r.current)===null||d===void 0||d.focus()}else Sr.current&&Yg(Sr.current)})};return a.addEventListener("keydown",l,!1),a.addEventListener("focusin",s,!1),i==null||i.forEach(c=>c.addEventListener("focusin",s,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",u,!1)),()=>{a.removeEventListener("keydown",l,!1),a.removeEventListener("focusin",s,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",s,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",u,!1))}},[e,t]),wt(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function pU(e){return Hg(e)}function ai(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Hg(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of fn.traverse(fn.getTreeNode(t)))if(r&&ai(e,r.current))return!0;return!1}function Npe(e){return Hg(e,Sr)}function Kg(e,t){var r;let n=(r=fn.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function uo(e,t=!1){if(e!=null&&!t)try{Tn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Yg(e,t=!0){let r=e[0].previousElementSibling,n=iu(e),i=ra(n,{tabbable:t},e);i.currentNode=r;let a=i.nextNode();t&&!a&&(n=iu(e),i=ra(n,{tabbable:!1},e),i.currentNode=r,a=i.nextNode()),uo(a)}function Lpe(e,t){const r=w.useRef(t);O.useEffect(()=>{if(r.current){Sr=e;const n=ln(e.current?e.current[0]:void 0);!ai(n.activeElement,Sr.current)&&e.current&&Yg(e.current)}r.current=!1},[e])}function Vpe(e,t,r){wt(()=>{if(t||r)return;let n=e.current;const i=ln(n?n[0]:void 0);let a=l=>{let s=l.target;ai(s,e.current)?Sr=e:pU(s)||(Sr=null)};return i.addEventListener("focusin",a,!1),n==null||n.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),n==null||n.forEach(l=>l.removeEventListener("focusin",a,!1))}},[e,t,r])}function Qpe(e){let t=fn.getTreeNode(Sr);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function zpe(e,t,r){const n=O.useRef(typeof document<"u"?ln(e.current?e.current[0]:void 0).activeElement:null);wt(()=>{let i=e.current;const a=ln(i?i[0]:void 0);if(!t||r)return;let l=()=>{(!Sr||Kg(Sr,e))&&ai(a.activeElement,e.current)&&(Sr=e)};return a.addEventListener("focusin",l,!1),i==null||i.forEach(s=>s.addEventListener("focusin",l,!1)),()=>{a.removeEventListener("focusin",l,!1),i==null||i.forEach(s=>s.removeEventListener("focusin",l,!1))}},[e,r]),wt(()=>{const i=ln(e.current?e.current[0]:void 0);if(!t)return;let a=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!mf(e))return;let s=i.activeElement;if(!ai(s,e.current))return;let u=fn.getTreeNode(e);if(!u)return;let c=u.nodeToRestore,d=ra(i.body,{tabbable:!0});d.currentNode=s;let f=l.shiftKey?d.previousNode():d.nextNode();if((!c||!i.body.contains(c)||c===i.body)&&(c=void 0,u.nodeToRestore=void 0),(!f||!ai(f,e.current))&&c){d.currentNode=c;do f=l.shiftKey?d.previousNode():d.nextNode();while(ai(f,e.current));l.preventDefault(),l.stopPropagation(),f?uo(f,!0):pU(c)?uo(c,!0):s.blur()}};return r||i.addEventListener("keydown",a,!0),()=>{r||i.removeEventListener("keydown",a,!0)}},[e,t,r]),wt(()=>{const i=ln(e.current?e.current[0]:void 0);if(!t)return;let a=fn.getTreeNode(e);if(a){var l;return a.nodeToRestore=(l=n.current)!==null&&l!==void 0?l:void 0,()=>{let s=fn.getTreeNode(e);if(!s)return;let u=s.nodeToRestore;if(t&&u&&(ai(i.activeElement,e.current)||i.activeElement===i.body&&Qpe(e))){let c=fn.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){uo(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&fn.getTreeNode(d.scopeRef)){Yg(d.scopeRef.current,!0);return}d=d.parent}}})}}}},[e,t])}function ra(e,t,r){let n=t!=null&&t.tabbable?Bpe:Mpe,i=ln(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var l;return!(t==null||(l=t.from)===null||l===void 0)&&l.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&hU(a)&&(!r||ai(a,r))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}class LT{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let i=this.fastMap.get(r??null);if(!i)return;let a=new x2({scopeRef:t});i.addChild(a),a.parent=i,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&ai(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let i=r.children;n&&(n.removeChild(r),i.size>0&&i.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){var t;let r=new LT;var n;for(let i of this.traverse())r.addTreeNode(i.scopeRef,(n=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new x2({scopeRef:null}),this.fastMap.set(null,this.root)}}class x2{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let fn=new LT;function Kc(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=O.useRef({isFocused:!1,isFocusVisible:t||Oo()}),[a,l]=O.useState(!1),[s,u]=O.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=O.useCallback(()=>u(i.current.isFocused&&i.current.isFocusVisible),[]),d=O.useCallback(p=>{i.current.isFocused=p,l(p),c()},[c]);Epe(p=>{i.current.isFocusVisible=p,c()},[],{isTextInput:r});let{focusProps:f}=Uh({isDisabled:n,onFocusChange:d}),{focusWithinProps:h}=Ru({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?h:f}}function _r(e){let{children:t,focusClass:r,focusRingClass:n}=e,{isFocused:i,isFocusVisible:a,focusProps:l}=Kc(e),s=w.Children.only(t);return w.cloneElement(s,Oe(s.props,{...l,className:D1({[r||""]:i,[n||""]:a})}))}let mU=w.createContext(null);function jpe(e){let t=O.useContext(mU)||{};T1(t,e);let{ref:r,...n}=t;return n}function Wpe(e,t){let{children:r,...n}=e,i=AT(t),a={...n,ref:i};return w.createElement(mU.Provider,{value:a},r)}let Zpe=w.forwardRef(Wpe);function Bs(e,t){let{focusProps:r}=Uh(e),{keyboardProps:n}=V1(e),i=Oe(r,n),a=jpe(t),l=e.isDisabled?{}:a,s=O.useRef(e.autoFocus);return O.useEffect(()=>{s.current&&t.current&&Tn(t.current),s.current=!1},[t]),{focusableProps:Oe({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},l)}}function Upe(e,t){let r=t==null?void 0:t.isDisabled,[n,i]=O.useState(!1);return wt(()=>{if(e!=null&&e.current&&!r){let a=()=>{if(e.current){let s=ra(e.current,{tabbable:!0});i(!!s.nextNode())}};a();let l=new MutationObserver(a);return l.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{l.disconnect()}}}),r?!1:n}function Hh(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:a="label"}=e;t=ar(t);let l=ar(),s={};r?(n=n?`${l} ${n}`:l,s={id:l,htmlFor:a==="label"?t:void 0}):!n&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=uh({id:t,"aria-label":i,"aria-labelledby":n});return{labelProps:s,fieldProps:u}}function Kh(e){let{description:t,errorMessage:r,isInvalid:n,validationState:i}=e,{labelProps:a,fieldProps:l}=Hh(e),s=Tl([!!t,!!r,n,i]),u=Tl([!!t,!!r,n,i]);return l=Oe(l,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:l,descriptionProps:{id:s},errorMessageProps:{id:u}}}function qpe(e){let{value:t=0,minValue:r=0,maxValue:n=100,valueLabel:i,isIndeterminate:a,formatOptions:l={style:"percent"}}=e,s=Yt(e,{labelable:!0}),{labelProps:u,fieldProps:c}=Hh({...e,labelElementType:"span"});t=Pa(t,r,n);let d=(t-r)/(n-r),f=jg(l);if(!a&&!i){let h=l.style==="percent"?d:t;i=f.format(h)}return{progressBarProps:Oe(s,{...c,"aria-valuenow":a?void 0:t,"aria-valuemin":r,"aria-valuemax":n,"aria-valuetext":a?void 0:i,role:"progressbar"}),labelProps:u}}function Kl(e){return e&&e.__esModule?e.default:e}function vt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var on={};vt(on,"focus-ring",()=>S2,e=>S2=e);vt(on,"i18nFontFamily",()=>w2,e=>w2=e);vt(on,"indeterminate-loop-ltr",()=>k2,e=>k2=e);vt(on,"indeterminate-loop-rtl",()=>C2,e=>C2=e);vt(on,"is-critical",()=>E2,e=>E2=e);vt(on,"is-positive",()=>P2,e=>P2=e);vt(on,"is-warning",()=>F2,e=>F2=e);vt(on,"spectrum-BarLoader",()=>A2,e=>A2=e);vt(on,"spectrum-BarLoader--indeterminate",()=>D2,e=>D2=e);vt(on,"spectrum-BarLoader--overBackground",()=>R2,e=>R2=e);vt(on,"spectrum-BarLoader--sideLabel",()=>T2,e=>T2=e);vt(on,"spectrum-BarLoader--small",()=>I2,e=>I2=e);vt(on,"spectrum-BarLoader--staticBlack",()=>M2,e=>M2=e);vt(on,"spectrum-BarLoader--staticWhite",()=>B2,e=>B2=e);vt(on,"spectrum-BarLoader-fill",()=>_2,e=>_2=e);vt(on,"spectrum-BarLoader-label",()=>N2,e=>N2=e);vt(on,"spectrum-BarLoader-percentage",()=>L2,e=>L2=e);vt(on,"spectrum-BarLoader-track",()=>V2,e=>V2=e);vt(on,"spectrum-FocusRing-ring",()=>Gg,e=>Gg=e);vt(on,"spectrum-FocusRing",()=>Q2,e=>Q2=e);vt(on,"spectrum-FocusRing--quiet",()=>z2,e=>z2=e);var S2,w2,k2,C2,E2,P2,F2,A2,D2,R2,T2,I2,M2,B2,_2,N2,L2,V2,Gg,Q2,z2;S2="uFrYBa_focus-ring";w2="uFrYBa_i18nFontFamily";k2="uFrYBa_indeterminate-loop-ltr";C2="uFrYBa_indeterminate-loop-rtl";E2="uFrYBa_is-critical";P2="uFrYBa_is-positive";F2="uFrYBa_is-warning";A2="uFrYBa_spectrum-BarLoader";D2="uFrYBa_spectrum-BarLoader--indeterminate";R2="uFrYBa_spectrum-BarLoader--overBackground";T2="uFrYBa_spectrum-BarLoader--sideLabel";I2="uFrYBa_spectrum-BarLoader--small";M2="uFrYBa_spectrum-BarLoader--staticBlack";B2="uFrYBa_spectrum-BarLoader--staticWhite";_2="uFrYBa_spectrum-BarLoader-fill";N2="uFrYBa_spectrum-BarLoader-label";L2="uFrYBa_spectrum-BarLoader-percentage";V2="uFrYBa_spectrum-BarLoader-track";Gg="uFrYBa_spectrum-FocusRing-ring";Q2=`uFrYBa_spectrum-FocusRing ${Gg}`;z2="uFrYBa_spectrum-FocusRing--quiet";var Ut={};vt(Ut,"focus-ring",()=>j2,e=>j2=e);vt(Ut,"i18nFontFamily",()=>W2,e=>W2=e);vt(Ut,"spectrum-CircleLoader",()=>Z2,e=>Z2=e);vt(Ut,"spectrum-CircleLoader--indeterminate",()=>U2,e=>U2=e);vt(Ut,"spectrum-CircleLoader--indeterminate-fill-submask-2",()=>q2,e=>q2=e);vt(Ut,"spectrum-CircleLoader--large",()=>H2,e=>H2=e);vt(Ut,"spectrum-CircleLoader--overBackground",()=>K2,e=>K2=e);vt(Ut,"spectrum-CircleLoader--small",()=>Y2,e=>Y2=e);vt(Ut,"spectrum-CircleLoader--staticBlack",()=>G2,e=>G2=e);vt(Ut,"spectrum-CircleLoader--staticWhite",()=>X2,e=>X2=e);vt(Ut,"spectrum-CircleLoader-fill",()=>J2,e=>J2=e);vt(Ut,"spectrum-CircleLoader-fillMask1",()=>e$,e=>e$=e);vt(Ut,"spectrum-CircleLoader-fillMask2",()=>t$,e=>t$=e);vt(Ut,"spectrum-CircleLoader-fillSubMask1",()=>r$,e=>r$=e);vt(Ut,"spectrum-CircleLoader-fillSubMask2",()=>n$,e=>n$=e);vt(Ut,"spectrum-CircleLoader-fills",()=>i$,e=>i$=e);vt(Ut,"spectrum-CircleLoader-track",()=>a$,e=>a$=e);vt(Ut,"spectrum-FocusRing-ring",()=>Xg,e=>Xg=e);vt(Ut,"spectrum-FocusRing",()=>l$,e=>l$=e);vt(Ut,"spectrum-FocusRing--quiet",()=>o$,e=>o$=e);vt(Ut,"spectrum-fill-mask-1",()=>s$,e=>s$=e);vt(Ut,"spectrum-fill-mask-2",()=>u$,e=>u$=e);vt(Ut,"spectrum-fills-rotate",()=>c$,e=>c$=e);var j2,W2,Z2,U2,q2,H2,K2,Y2,G2,X2,J2,e$,t$,r$,n$,i$,a$,Xg,l$,o$,s$,u$,c$;j2="EQYv7q_focus-ring";W2="EQYv7q_i18nFontFamily";Z2="EQYv7q_spectrum-CircleLoader";U2="EQYv7q_spectrum-CircleLoader--indeterminate";q2="EQYv7q_spectrum-CircleLoader--indeterminate-fill-submask-2";H2="EQYv7q_spectrum-CircleLoader--large";K2="EQYv7q_spectrum-CircleLoader--overBackground";Y2="EQYv7q_spectrum-CircleLoader--small";G2="EQYv7q_spectrum-CircleLoader--staticBlack";X2="EQYv7q_spectrum-CircleLoader--staticWhite";J2="EQYv7q_spectrum-CircleLoader-fill";e$="EQYv7q_spectrum-CircleLoader-fillMask1";t$="EQYv7q_spectrum-CircleLoader-fillMask2";r$="EQYv7q_spectrum-CircleLoader-fillSubMask1";n$="EQYv7q_spectrum-CircleLoader-fillSubMask2";i$="EQYv7q_spectrum-CircleLoader-fills";a$="EQYv7q_spectrum-CircleLoader-track";Xg="EQYv7q_spectrum-FocusRing-ring";l$=`EQYv7q_spectrum-FocusRing ${Xg}`;o$="EQYv7q_spectrum-FocusRing--quiet";s$="EQYv7q_spectrum-fill-mask-1";u$="EQYv7q_spectrum-fill-mask-2";c$="EQYv7q_spectrum-fills-rotate";function Hpe(e,t){let{value:r=0,minValue:n=0,maxValue:i=100,size:a="M",staticColor:l,variant:s,isIndeterminate:u=!1,"aria-label":c,"aria-labelledby":d,...f}=e,h=Xr(t),{styleProps:p}=Nt(f);r=Pa(r,n,i);let{progressBarProps:m}=qpe({...e,value:r}),g={},b={};if(!u){let v=(r-n)/(i-n)*100,$;v>0&&v<=50?($=-180+v/50*180,g.transform=`rotate(${$}deg)`,b.transform="rotate(-180deg)"):v>50&&($=-180+(v-50)/50*180,g.transform="rotate(0deg)",b.transform=`rotate(${$}deg)`)}return!c&&!d&&console.warn("ProgressCircle requires an aria-label or aria-labelledby attribute for accessibility"),w.createElement("div",{...p,...m,ref:h,className:z(Kl(Ut),"spectrum-CircleLoader",{"spectrum-CircleLoader--indeterminate":u,"spectrum-CircleLoader--small":a==="S","spectrum-CircleLoader--large":a==="L","spectrum-CircleLoader--overBackground":s==="overBackground","spectrum-CircleLoader--staticWhite":l==="white","spectrum-CircleLoader--staticBlack":l==="black"},p.className)},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-track")}),w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fills")},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fillMask1")},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fillSubMask1"),"data-testid":"fillSubMask1",style:g},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fill")}))),w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fillMask2")},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fillSubMask2"),"data-testid":"fillSubMask2",style:b},w.createElement("div",{className:z(Kl(Ut),"spectrum-CircleLoader-fill")})))))}let vd=w.forwardRef(Hpe);function Kpe(e,t){e=Ia(e,"text");let{children:r,...n}=e,{styleProps:i}=Nt(n),a=Xr(t);return w.createElement("span",{...Yt(n),...i,ref:a},r)}const Yh=O.forwardRef(Kpe);function Ype(e,t){e=Ia(e,"heading");let{children:r,level:n=3,...i}=e,{styleProps:a}=Nt(i),l=Xr(t),s=`h${n}`;return w.createElement(s,{...Yt(i),...a,ref:l},r)}const Q1=O.forwardRef(Ype);function Ao(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:l,onPressUp:s,onPressChange:u,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:h,target:p,rel:m,type:g="button"}=e,b;r==="button"?b={type:g,disabled:n}:b={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:h,target:r==="a"?p:void 0,type:r==="input"?g: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:$}=zi({onPressStart:a,onPressEnd:l,onPressChange:u,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:c,ref:t}),{focusableProps:y}=Bs(e,t);d&&(y.tabIndex=n?-1:y.tabIndex);let S=Oe(y,v,Yt(e,{labelable:!0}));return{isPressed:$,buttonProps:Oe(b,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:k=>{f&&(f(k),console.warn("onClick is deprecated, please use onPress"))}})}}var gU={};gU={dismiss:"تجاهل"};var vU={};vU={dismiss:"Отхвърляне"};var bU={};bU={dismiss:"Odstranit"};var yU={};yU={dismiss:"Luk"};var $U={};$U={dismiss:"Schließen"};var OU={};OU={dismiss:"Απόρριψη"};var xU={};xU={dismiss:"Dismiss"};var SU={};SU={dismiss:"Descartar"};var wU={};wU={dismiss:"Lõpeta"};var kU={};kU={dismiss:"Hylkää"};var CU={};CU={dismiss:"Rejeter"};var EU={};EU={dismiss:"התעלם"};var PU={};PU={dismiss:"Odbaci"};var FU={};FU={dismiss:"Elutasítás"};var AU={};AU={dismiss:"Ignora"};var DU={};DU={dismiss:"閉じる"};var RU={};RU={dismiss:"무시"};var TU={};TU={dismiss:"Atmesti"};var IU={};IU={dismiss:"Nerādīt"};var MU={};MU={dismiss:"Lukk"};var BU={};BU={dismiss:"Negeren"};var _U={};_U={dismiss:"Zignoruj"};var NU={};NU={dismiss:"Descartar"};var LU={};LU={dismiss:"Dispensar"};var VU={};VU={dismiss:"Revocare"};var QU={};QU={dismiss:"Пропустить"};var zU={};zU={dismiss:"Zrušiť"};var jU={};jU={dismiss:"Opusti"};var WU={};WU={dismiss:"Odbaci"};var ZU={};ZU={dismiss:"Avvisa"};var UU={};UU={dismiss:"Kapat"};var qU={};qU={dismiss:"Скасувати"};var HU={};HU={dismiss:"取消"};var KU={};KU={dismiss:"關閉"};const g_={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Tu(e={}){let{style:t,isFocusable:r}=e,[n,i]=O.useState(!1),{focusWithinProps:a}=Ru({isDisabled:!r,onFocusWithinChange:s=>i(s)}),l=O.useMemo(()=>n?t:t?{...g_,...t}:g_,[n]);return{visuallyHiddenProps:{...a,style:l}}}function bd(e){let{children:t,elementType:r="div",isFocusable:n,style:i,...a}=e,{visuallyHiddenProps:l}=Tu(e);return w.createElement(r,Oe(a,l),t)}function Gpe(e){return e&&e.__esModule?e.default:e}const v_={top:"top",bottom:"top",left:"left",right:"left"},Jg={top:"bottom",bottom:"top",left:"right",right:"left"},Xpe={top:"left",left:"top"},d$={top:"height",left:"width"},Jpe={width:"totalWidth",height:"totalHeight"},Up={};let ju=typeof document<"u"&&window.visualViewport;function b_(e){let t=0,r=0,n=0,i=0,a=0,l=0,s={};if(e.tagName==="BODY"){let d=document.documentElement;n=d.clientWidth,i=d.clientHeight;var u;t=(u=ju==null?void 0:ju.width)!==null&&u!==void 0?u:n;var c;r=(c=ju==null?void 0:ju.height)!==null&&c!==void 0?c:i,s.top=d.scrollTop||e.scrollTop,s.left=d.scrollLeft||e.scrollLeft}else({width:t,height:r,top:a,left:l}=Ac(e)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,i=r;return{width:t,height:r,totalWidth:n,totalHeight:i,scroll:s,top:a,left:l}}function eme(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function y_(e,t,r,n,i,a){let l=i.scroll[e],s=n[d$[e]],u=t-a-l,c=t+a-l+r;return u<0?-u:c>s?Math.max(s-c,-u):0}function tme(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function $_(e){if(Up[e])return Up[e];let[t,r]=e.split(" "),n=v_[t]||"right",i=Xpe[n];v_[r]||(r="center");let a=d$[n],l=d$[i];return Up[e]={placement:t,crossPlacement:r,axis:n,crossAxis:i,size:a,crossSize:l},Up[e]}function Ay(e,t,r,n,i,a,l,s,u,c){let{placement:d,crossPlacement:f,axis:h,crossAxis:p,size:m,crossSize:g}=n,b={};b[p]=e[p],f==="center"?b[p]+=(e[g]-r[g])/2:f!==p&&(b[p]+=e[g]-r[g]),b[p]+=a;const v=e[p]-r[g]+u+c,$=e[p]+e[g]-u-c;if(b[p]=Pa(b[p],v,$),d===h){const y=s?l[m]:t[Jpe[m]];b[Jg[h]]=Math.floor(y-e[h]+i)}else b[h]=Math.floor(e[h]+e[m]+i);return b}function rme(e,t,r,n,i,a){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(r.top+e.top)-(i.top+i.bottom+a)):Math.max(0,n.top+r.top-(t.top+t.scroll.top)-(i.top+i.bottom+a))}function O_(e,t,r,n,i,a){let{placement:l,axis:s,size:u}=a;return l===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[Jg[s]]-i):Math.max(0,e[u]+e[s]+e.scroll[s]-t[s]-r[s]-r[u]-n[s]-n[Jg[s]]-i)}function nme(e,t,r,n,i,a,l,s,u,c,d,f,h,p,m,g){let b=$_(e),{size:v,crossAxis:$,crossSize:y,placement:S,crossPlacement:k}=b,C=Ay(t,s,r,b,d,f,c,h,m,g),F=d,E=O_(s,c,t,i,a+d,b);if(l&&n[v]>E){let q=$_(`${Jg[S]} ${k}`),U=Ay(t,s,r,q,d,f,c,h,m,g);O_(s,c,t,i,a+d,q)>E&&(b=q,C=U,F=d)}let M=y_($,C[$],r[y],s,u,a);C[$]+=M;let D=rme(C,s,c,t,i,a);p&&p{if(!r||n===null)return;let i=a=>{let l=a.target;if(!t.current||l instanceof Node&&!l.contains(t.current))return;let s=n||YU.get(t.current);s&&s()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,t])}let va=typeof document<"u"&&window.visualViewport;function GU(e){let{direction:t}=yr(),{arrowSize:r=0,targetRef:n,overlayRef:i,scrollRef:a=i,placement:l="bottom",containerPadding:s=12,shouldFlip:u=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:h=!0,isOpen:p=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:b=0}=e,[v,$]=O.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),y=[h,l,i.current,n.current,a.current,s,u,c,d,f,p,t,g,b,r],S=O.useCallback(()=>{if(h===!1||!p||!i.current||!n.current||!a.current||!c)return;let F=ime({placement:sme(l,t),overlayNode:i.current,targetNode:n.current,scrollNode:a.current,padding:s,shouldFlip:u,boundaryElement:c,offset:d,crossOffset:f,maxHeight:g,arrowSize:r,arrowBoundaryOffset:b});Object.keys(F.position).forEach(E=>i.current.style[E]=F.position[E]+"px"),i.current.style.maxHeight=F.maxHeight!=null?F.maxHeight+"px":void 0,$(F)},y);wt(S,y),ome(S),jh({ref:i,onResize:S});let k=O.useRef(!1);wt(()=>{let F,E=()=>{k.current=!0,clearTimeout(F),F=setTimeout(()=>{k.current=!1},500),S()};return va==null||va.addEventListener("resize",E),va==null||va.addEventListener("scroll",E),()=>{va==null||va.removeEventListener("resize",E),va==null||va.removeEventListener("scroll",E)}},[S]);let C=O.useCallback(()=>{k.current||m()},[m,k]);return lme({triggerRef:n,isOpen:p,onClose:m&&C}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...v.position,maxHeight:v.maxHeight}},placement:v.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v.arrowOffsetLeft,top:v.arrowOffsetTop}},updatePosition:S}}function ome(e){wt(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function sme(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Yl=[];function XU(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:l=!1,shouldCloseOnInteractOutside:s}=e;O.useEffect(()=>(i&&Yl.push(t),()=>{let m=Yl.indexOf(t);m>=0&&Yl.splice(m,1)}),[i,t]);let u=()=>{Yl[Yl.length-1]===t&&r&&r()},c=m=>{(!s||s(m.target))&&Yl[Yl.length-1]===t&&(m.stopPropagation(),m.preventDefault())},d=m=>{(!s||s(m.target))&&(Yl[Yl.length-1]===t&&(m.stopPropagation(),m.preventDefault()),u())},f=m=>{m.key==="Escape"&&!l&&(m.stopPropagation(),m.preventDefault(),u())};Fpe({ref:t,onInteractOutside:a&&i?d:null,onInteractOutsideStart:c});let{focusWithinProps:h}=Ru({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||Npe(m.relatedTarget)||(!s||s(m.relatedTarget))&&r()}}),p=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...h},underlayProps:{onPointerDown:p}}}function VT(e,t,r){let{type:n}=e,{isOpen:i}=t;O.useEffect(()=>{r&&r.current&&YU.set(r.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let l=ar();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?l:null,onPress:t.toggle},overlayProps:{id:l}}}const Dy=typeof document<"u"&&window.visualViewport,ume=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let qp=0,Ry;function JU(e={}){let{isDisabled:t}=e;wt(()=>{if(!t)return qp++,qp===1&&(Qh()?Ry=dme():Ry=cme()),()=>{qp--,qp===0&&Ry()}},[t])}function cme(){return yo(bc(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),bc(document.documentElement,"overflow","hidden"))}function dme(){let e,t,r=c=>{e=yl(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=bc(e,"overscrollBehavior","contain"))},n=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},i=c=>{let d=c.target;k_(d)&&d!==document.activeElement&&(c.preventDefault(),s(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),t&&t()},a=c=>{let d=c.target;k_(d)&&(s(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",Dy&&(Dy.height{w_(d)}):Dy.addEventListener("resize",()=>w_(d),{once:!0}))}))},l=null,s=()=>{if(l)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;l=yo(Qd(window,"scroll",c),bc(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),bc(document.documentElement,"overflow","hidden"),bc(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},u=yo(Qd(document,"touchstart",r,{passive:!1,capture:!0}),Qd(document,"touchmove",n,{passive:!1,capture:!0}),Qd(document,"touchend",i,{passive:!1,capture:!0}),Qd(document,"focus",a,!0));return()=>{t==null||t(),l==null||l(),u()}}function bc(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Qd(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function w_(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=yl(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,i=e.getBoundingClientRect().top;i>n+e.clientHeight&&(r.scrollTop+=i-n)}e=r.parentElement}}function k_(e){return e instanceof HTMLInputElement&&!ume.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const f$=w.createContext(null);function fme(e){let{children:t}=e,r=O.useContext(f$),[n,i]=O.useState(0),a=O.useMemo(()=>({parent:r,modalCount:n,addModal(){i(l=>l+1),r&&r.addModal()},removeModal(){i(l=>l-1),r&&r.removeModal()}}),[r,n]);return w.createElement(f$.Provider,{value:a},t)}function hme(){let e=O.useContext(f$);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}var eq={};eq={"ar-AE":gU,"bg-BG":vU,"cs-CZ":bU,"da-DK":yU,"de-DE":$U,"el-GR":OU,"en-US":xU,"es-ES":SU,"et-EE":wU,"fi-FI":kU,"fr-FR":CU,"he-IL":EU,"hr-HR":PU,"hu-HU":FU,"it-IT":AU,"ja-JP":DU,"ko-KR":RU,"lt-LT":TU,"lv-LV":IU,"nb-NO":MU,"nl-NL":BU,"pl-PL":_U,"pt-BR":NU,"pt-PT":LU,"ro-RO":VU,"ru-RU":QU,"sk-SK":zU,"sl-SI":jU,"sr-SP":WU,"sv-SE":ZU,"tr-TR":UU,"uk-UA":qU,"zh-CN":HU,"zh-TW":KU};function Yc(e){let{onDismiss:t,...r}=e,n=or(Gpe(eq),"@react-aria/overlays"),i=uh(r,n.format("dismiss")),a=()=>{t&&t()};return w.createElement(bd,null,w.createElement("button",{...i,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let zd=new WeakMap,ba=[];function QT(e,t=document.body){let r=new Set(e),n=new Set,i=u=>{for(let h of u.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(h);let c=h=>{if(r.has(h)||n.has(h.parentElement)&&h.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of r)if(h.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(u);if(f===NodeFilter.FILTER_ACCEPT&&a(u),f!==NodeFilter.FILTER_REJECT){let h=d.nextNode();for(;h!=null;)a(h),h=d.nextNode()}},a=u=>{var c;let d=(c=zd.get(u))!==null&&c!==void 0?c:0;u.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&u.setAttribute("aria-hidden","true"),n.add(u),zd.set(u,d+1))};ba.length&&ba[ba.length-1].disconnect(),i(t);let l=new MutationObserver(u=>{for(let c of u)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...r,...n].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(r.delete(d),n.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&i(d)}});l.observe(t,{childList:!0,subtree:!0});let s={observe(){l.observe(t,{childList:!0,subtree:!0})},disconnect(){l.disconnect()}};return ba.push(s),()=>{l.disconnect();for(let u of n){let c=zd.get(u);c===1?(u.removeAttribute("aria-hidden"),zd.delete(u)):zd.set(u,c-1)}s===ba[ba.length-1]?(ba.pop(),ba.length&&ba[ba.length-1].observe()):ba.splice(ba.indexOf(s),1)}}function pme(e,t){let{triggerRef:r,popoverRef:n,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=e,{overlayProps:u,underlayProps:c}=XU({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},n),{overlayProps:d,arrowProps:f,placement:h}=GU({...s,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:i?t.close:null});return JU({isDisabled:i||!t.isOpen}),wt(()=>{if(t.isOpen&&!i&&n.current)return QT([n.current])},[i,t.isOpen,n]),{popoverProps:Oe(u,d),arrowProps:f,underlayProps:c,placement:h}}const tq=w.createContext(null);function mme(e){let t=Ms(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[i,a]=O.useState(!1),l=O.useMemo(()=>({contain:i,setContain:a}),[i,a]);if(!r)return null;let s=e.children;return e.disableFocusManagement||(s=w.createElement(qh,{restoreFocus:!0,contain:i&&!n},s)),s=w.createElement(tq.Provider,{value:l},w.createElement(bpe,null,s)),pc.createPortal(s,r)}function rq(){let e=O.useContext(tq),t=e==null?void 0:e.setContain;wt(()=>{t==null||t(!0)},[t])}function nq(e,t,r){let{overlayProps:n,underlayProps:i}=XU({...e,isOpen:t.isOpen,onClose:t.close},r);return JU({isDisabled:!t.isOpen}),rq(),O.useEffect(()=>{if(t.isOpen)return QT([r.current])},[t.isOpen,r]),{modalProps:Oe(n),underlayProps:i}}function C_(e){return e&&e.__esModule?e.default:e}function ji(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const zT=w.createContext(null);zT.displayName="ProviderContext";var Iu={};ji(Iu,"focus-ring",()=>h$,e=>h$=e);ji(Iu,"i18nFontFamily",()=>p$,e=>p$=e);ji(Iu,"spectrum",()=>m$,e=>m$=e);ji(Iu,"spectrum-FocusRing-ring",()=>ev,e=>ev=e);ji(Iu,"spectrum-FocusRing",()=>g$,e=>g$=e);ji(Iu,"spectrum-FocusRing--quiet",()=>v$,e=>v$=e);var h$,p$,m$,ev,g$,v$;h$="JuTe6q_focus-ring";p$="JuTe6q_i18nFontFamily";m$="JuTe6q_spectrum";ev="JuTe6q_spectrum-FocusRing-ring";g$=`JuTe6q_spectrum-FocusRing ${ev}`;v$="JuTe6q_spectrum-FocusRing--quiet";var Do={};ji(Do,"focus-ring",()=>b$,e=>b$=e);ji(Do,"i18nFontFamily",()=>tv,e=>tv=e);ji(Do,"spectrum",()=>y$,e=>y$=e);ji(Do,"spectrum-Body",()=>$$,e=>$$=e);ji(Do,"spectrum-Body--italic",()=>O$,e=>O$=e);ji(Do,"spectrum-FocusRing-ring",()=>rv,e=>rv=e);ji(Do,"spectrum-FocusRing",()=>x$,e=>x$=e);ji(Do,"spectrum-FocusRing--quiet",()=>S$,e=>S$=e);var b$,tv,y$,$$,O$,rv,x$,S$;b$="_5QszkG_focus-ring";tv="_5QszkG_i18nFontFamily";y$=`_5QszkG_spectrum ${tv}`;$$="_5QszkG_spectrum-Body";O$="_5QszkG_spectrum-Body--italic";rv="_5QszkG_spectrum-FocusRing-ring";x$=`_5QszkG_spectrum-FocusRing ${rv}`;S$="_5QszkG_spectrum-FocusRing--quiet";function gme(e,t){let r=v2("(prefers-color-scheme: dark)"),n=v2("(prefers-color-scheme: light)");return e.dark&&r?"dark":e.light&&n?"light":e.dark&&t==="dark"?"dark":e.light&&t==="light"||!e.dark||e.light?"light":"dark"}function vme(e){return v2("(any-pointer: fine)")&&e.medium?"medium":e.large?"large":"medium"}var iq={};iq=JSON.parse('{"name":"@react-spectrum/provider","version":"3.9.2","description":"Spectrum UI components in React","license":"Apache-2.0","main":"dist/main.js","module":"dist/module.js","exports":{"types":"./dist/types.d.ts","import":"./dist/import.mjs","require":"./dist/main.js"},"types":"dist/types.d.ts","source":"src/index.ts","files":["dist","src"],"sideEffects":["*.css"],"targets":{"main":{"includeNodeModules":["@adobe/spectrum-css-temp"]},"module":{"includeNodeModules":["@adobe/spectrum-css-temp"]}},"repository":{"type":"git","url":"https://github.com/adobe/react-spectrum"},"dependencies":{"@react-aria/i18n":"^3.9.0","@react-aria/overlays":"^3.19.0","@react-aria/utils":"^3.22.0","@react-spectrum/utils":"^3.11.2","@react-types/provider":"^3.7.1","@react-types/shared":"^3.22.0","@swc/helpers":"^0.5.0","clsx":"^2.0.0"},"devDependencies":{"@adobe/spectrum-css-temp":"3.0.0-alpha.1"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"},"publishConfig":{"access":"public"}}');const bme={S:640,M:768,L:1024,XL:1280,XXL:1536};function yme(e,t){let r=Gn(),n=r&&r.colorScheme,i=r&&r.breakpoints,{theme:a=r&&r.theme,defaultColorScheme:l}=e;if(!a)throw new Error("theme not found, the parent provider must have a theme provided");let s=gme(a,l),u=vme(a),{locale:c}=yr(),d=!!a[n],{colorScheme:f=d?n:s,scale:h=r?r.scale:u,locale:p=r?c:null,breakpoints:m=r?i:bme,children:g,isQuiet:b,isEmphasized:v,isDisabled:$,isRequired:y,isReadOnly:S,validationState:k,router:C,...F}=e,E={version:iq.version,theme:a,breakpoints:m,colorScheme:f,scale:h,isQuiet:b,isEmphasized:v,isDisabled:$,isRequired:y,isReadOnly:S,validationState:k},M=tpe(m),D={};Object.entries(E).forEach(([Q,W])=>W!==void 0&&(D[Q]=W));let R=Object.assign({},r,D),B=g,T=Yt(F),{styleProps:_}=Nt(F,void 0,{matchedBreakpoints:M});return(!r||e.locale||a!==r.theme||f!==r.colorScheme||h!==r.scale||Object.keys(T).length>0||F.UNSAFE_className||Object.keys(_.style).length>0)&&(B=w.createElement($me,{...e,UNSAFE_style:{isolation:r?void 0:"isolate",..._.style},ref:t},B)),C&&(B=w.createElement(Ehe,C,B)),w.createElement(zT.Provider,{value:R},w.createElement(Yhe,{locale:p},w.createElement(epe,{matchedBreakpoints:M},w.createElement(fme,null,B))))}let Gh=w.forwardRef(yme);const $me=w.forwardRef(function(t,r){let{children:n,...i}=t,{locale:a,direction:l}=yr(),{theme:s,colorScheme:u,scale:c}=Gn(),{modalProviderProps:d}=hme(),{styleProps:f}=Nt(i),h=Xr(r),p=Object.keys(s[u])[0],m=Object.keys(s[c])[0],g=D1(f.className,C_(Iu).spectrum,C_(Do).spectrum,Object.values(s[u]),Object.values(s[c]),s.global?Object.values(s.global):null,{"react-spectrum-provider":zp,spectrum:zp,[p]:zp,[m]:zp});var b,v;let $={...f.style,colorScheme:(v=(b=t.colorScheme)!==null&&b!==void 0?b:u)!==null&&v!==void 0?v:Object.keys(s).filter(S=>S==="light"||S==="dark").join(" ")},y=O.useRef(!1);return O.useEffect(()=>{if(l&&h.current){let S=h.current.parentElement.closest("[dir]"),k=S&&S.getAttribute("dir");k&&k!==l&&!y.current&&(console.warn(`Language directions cannot be nested. ${l} inside ${k}.`),y.current=!0)}},[l,h,y]),w.createElement("div",{...Yt(i),...f,...d,className:g,style:$,lang:a,dir:l,ref:h},n)});function Gn(){return O.useContext(zT)}function Fn(e){let t=Gn();return t?Object.assign({},{isQuiet:t.isQuiet,isEmphasized:t.isEmphasized,isDisabled:t.isDisabled,isRequired:t.isRequired,isReadOnly:t.isReadOnly,validationState:t.validationState},e):e}var aq={};Object.defineProperty(aq,"__esModule",{value:!0});var Ome=aq.CornerTriangle=lq,Ty=xme(O);function xme(e){return e&&e.__esModule?e:{default:e}}function w$(){return w$=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wme(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function lq(e){var t=e.scale,r=t===void 0?"M":t,n=Sme(e,["scale"]);return Ty.default.createElement("svg",w$({},n,n),r==="L"&&Ty.default.createElement("path",{d:"M5.74.01a.25.25 0 0 0-.177.073l-5.48 5.48a.25.25 0 0 0 .177.427h5.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}),r==="M"&&Ty.default.createElement("path",{d:"M4.74.01a.25.25 0 0 0-.177.073l-4.48 4.48a.25.25 0 0 0 .177.427h4.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}))}lq.displayName="CornerTriangle";function oq(e){return e&&e.__esModule?e.default:e}function ut(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var ot={};ut(ot,"spectrum--large",()=>k$,e=>k$=e);ut(ot,"spectrum--medium",()=>C$,e=>C$=e);ut(ot,"spectrum-Icon",()=>E$,e=>E$=e);ut(ot,"spectrum-Icon--sizeL",()=>P$,e=>P$=e);ut(ot,"spectrum-Icon--sizeM",()=>F$,e=>F$=e);ut(ot,"spectrum-Icon--sizeS",()=>A$,e=>A$=e);ut(ot,"spectrum-Icon--sizeXL",()=>D$,e=>D$=e);ut(ot,"spectrum-Icon--sizeXS",()=>R$,e=>R$=e);ut(ot,"spectrum-Icon--sizeXXL",()=>T$,e=>T$=e);ut(ot,"spectrum-Icon--sizeXXS",()=>I$,e=>I$=e);ut(ot,"spectrum-UIIcon",()=>M$,e=>M$=e);ut(ot,"spectrum-UIIcon--large",()=>B$,e=>B$=e);ut(ot,"spectrum-UIIcon--medium",()=>_$,e=>_$=e);ut(ot,"spectrum-UIIcon-AlertMedium",()=>N$,e=>N$=e);ut(ot,"spectrum-UIIcon-AlertSmall",()=>L$,e=>L$=e);ut(ot,"spectrum-UIIcon-ArrowDownSmall",()=>V$,e=>V$=e);ut(ot,"spectrum-UIIcon-ArrowLeftMedium",()=>Q$,e=>Q$=e);ut(ot,"spectrum-UIIcon-Asterisk",()=>z$,e=>z$=e);ut(ot,"spectrum-UIIcon-CheckmarkMedium",()=>j$,e=>j$=e);ut(ot,"spectrum-UIIcon-CheckmarkSmall",()=>W$,e=>W$=e);ut(ot,"spectrum-UIIcon-ChevronDownMedium",()=>Z$,e=>Z$=e);ut(ot,"spectrum-UIIcon-ChevronDownSmall",()=>U$,e=>U$=e);ut(ot,"spectrum-UIIcon-ChevronLeftLarge",()=>q$,e=>q$=e);ut(ot,"spectrum-UIIcon-ChevronLeftMedium",()=>H$,e=>H$=e);ut(ot,"spectrum-UIIcon-ChevronRightLarge",()=>K$,e=>K$=e);ut(ot,"spectrum-UIIcon-ChevronRightMedium",()=>Y$,e=>Y$=e);ut(ot,"spectrum-UIIcon-ChevronRightSmall",()=>G$,e=>G$=e);ut(ot,"spectrum-UIIcon-ChevronUpSmall",()=>X$,e=>X$=e);ut(ot,"spectrum-UIIcon-CornerTriangle",()=>J$,e=>J$=e);ut(ot,"spectrum-UIIcon-CrossLarge",()=>eO,e=>eO=e);ut(ot,"spectrum-UIIcon-CrossMedium",()=>tO,e=>tO=e);ut(ot,"spectrum-UIIcon-CrossSmall",()=>rO,e=>rO=e);ut(ot,"spectrum-UIIcon-DashSmall",()=>nO,e=>nO=e);ut(ot,"spectrum-UIIcon-DoubleGripper",()=>iO,e=>iO=e);ut(ot,"spectrum-UIIcon-FolderBreadcrumb",()=>aO,e=>aO=e);ut(ot,"spectrum-UIIcon-HelpMedium",()=>lO,e=>lO=e);ut(ot,"spectrum-UIIcon-HelpSmall",()=>oO,e=>oO=e);ut(ot,"spectrum-UIIcon-InfoMedium",()=>sO,e=>sO=e);ut(ot,"spectrum-UIIcon-InfoSmall",()=>uO,e=>uO=e);ut(ot,"spectrum-UIIcon-ListGripper",()=>cO,e=>cO=e);ut(ot,"spectrum-UIIcon-Magnifier",()=>dO,e=>dO=e);ut(ot,"spectrum-UIIcon-SkipLeft",()=>fO,e=>fO=e);ut(ot,"spectrum-UIIcon-SkipRight",()=>hO,e=>hO=e);ut(ot,"spectrum-UIIcon-Star",()=>pO,e=>pO=e);ut(ot,"spectrum-UIIcon-StarOutline",()=>mO,e=>mO=e);ut(ot,"spectrum-UIIcon-SuccessMedium",()=>gO,e=>gO=e);ut(ot,"spectrum-UIIcon-SuccessSmall",()=>vO,e=>vO=e);ut(ot,"spectrum-UIIcon-TripleGripper",()=>bO,e=>bO=e);var k$,C$,E$,P$,F$,A$,D$,R$,T$,I$,M$,B$,_$,N$,L$,V$,Q$,z$,j$,W$,Z$,U$,q$,H$,K$,Y$,G$,X$,J$,eO,tO,rO,nO,iO,aO,lO,oO,sO,uO,cO,dO,fO,hO,pO,mO,gO,vO,bO;k$="yxBNXG_spectrum--large";C$="yxBNXG_spectrum--medium";E$="yxBNXG_spectrum-Icon";P$="yxBNXG_spectrum-Icon--sizeL";F$="yxBNXG_spectrum-Icon--sizeM";A$="yxBNXG_spectrum-Icon--sizeS";D$="yxBNXG_spectrum-Icon--sizeXL";R$="yxBNXG_spectrum-Icon--sizeXS";T$="yxBNXG_spectrum-Icon--sizeXXL";I$="yxBNXG_spectrum-Icon--sizeXXS";M$="yxBNXG_spectrum-UIIcon";B$="yxBNXG_spectrum-UIIcon--large";_$="yxBNXG_spectrum-UIIcon--medium";N$="yxBNXG_spectrum-UIIcon-AlertMedium";L$="yxBNXG_spectrum-UIIcon-AlertSmall";V$="yxBNXG_spectrum-UIIcon-ArrowDownSmall";Q$="yxBNXG_spectrum-UIIcon-ArrowLeftMedium";z$="yxBNXG_spectrum-UIIcon-Asterisk";j$="yxBNXG_spectrum-UIIcon-CheckmarkMedium";W$="yxBNXG_spectrum-UIIcon-CheckmarkSmall";Z$="yxBNXG_spectrum-UIIcon-ChevronDownMedium";U$="yxBNXG_spectrum-UIIcon-ChevronDownSmall";q$="yxBNXG_spectrum-UIIcon-ChevronLeftLarge";H$="yxBNXG_spectrum-UIIcon-ChevronLeftMedium";K$="yxBNXG_spectrum-UIIcon-ChevronRightLarge";Y$="yxBNXG_spectrum-UIIcon-ChevronRightMedium";G$="yxBNXG_spectrum-UIIcon-ChevronRightSmall";X$="yxBNXG_spectrum-UIIcon-ChevronUpSmall";J$="yxBNXG_spectrum-UIIcon-CornerTriangle";eO="yxBNXG_spectrum-UIIcon-CrossLarge";tO="yxBNXG_spectrum-UIIcon-CrossMedium";rO="yxBNXG_spectrum-UIIcon-CrossSmall";nO="yxBNXG_spectrum-UIIcon-DashSmall";iO="yxBNXG_spectrum-UIIcon-DoubleGripper";aO="yxBNXG_spectrum-UIIcon-FolderBreadcrumb";lO="yxBNXG_spectrum-UIIcon-HelpMedium";oO="yxBNXG_spectrum-UIIcon-HelpSmall";sO="yxBNXG_spectrum-UIIcon-InfoMedium";uO="yxBNXG_spectrum-UIIcon-InfoSmall";cO="yxBNXG_spectrum-UIIcon-ListGripper";dO="yxBNXG_spectrum-UIIcon-Magnifier";fO="yxBNXG_spectrum-UIIcon-SkipLeft";hO="yxBNXG_spectrum-UIIcon-SkipRight";pO="yxBNXG_spectrum-UIIcon-Star";mO="yxBNXG_spectrum-UIIcon-StarOutline";gO="yxBNXG_spectrum-UIIcon-SuccessMedium";vO="yxBNXG_spectrum-UIIcon-SuccessSmall";bO="yxBNXG_spectrum-UIIcon-TripleGripper";function kme(e){return`var(--spectrum-semantic-${e}-color-icon)`}const Cme={...M1,color:["color",kme]};function fa(e){e=Ia(e,"icon");let{children:t,size:r,"aria-label":n,"aria-hidden":i,...a}=e,{styleProps:l}=Nt(a,Cme),s=Gn(),u="M";s!==null&&(u=s.scale==="large"?"L":"M"),i||(i=void 0);let c=r||u;return w.cloneElement(t,{...Yt(a),...l,focusable:"false","aria-label":n,"aria-hidden":n?i||void 0:!0,role:"img",className:z(oq(ot),t.props.className,"spectrum-Icon",`spectrum-Icon--size${c}`,l.className)})}function Ln(e){e=Ia(e,"icon");let{children:t,"aria-label":r,"aria-hidden":n,...i}=e,{styleProps:a}=Nt(i),l=Gn(),s="M";return l!==null&&(s=l.scale==="large"?"L":"M"),n||(n=void 0),w.cloneElement(t,{...Yt(i),...a,scale:s,focusable:"false","aria-label":r,"aria-hidden":r?n||void 0:!0,role:"img",className:z(oq(ot),t.props.className,"spectrum-Icon",{[`spectrum-UIIcon-${t.type.displayName}`]:t.type.displayName},a.className)})}function Eme(e){return w.createElement(Ln,e,w.createElement(Ome,null))}var sq={};Object.defineProperty(sq,"__esModule",{value:!0});var Pme=sq.CrossSmall=uq,Iy=Fme(O);function Fme(e){return e&&e.__esModule?e:{default:e}}function yO(){return yO=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Dme(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function uq(e){var t=e.scale,r=t===void 0?"M":t,n=Ame(e,["scale"]);return Iy.default.createElement("svg",yO({},n,n),r==="L"&&Iy.default.createElement("path",{d:"M9.317 8.433L5.884 5l3.433-3.433a.625.625 0 1 0-.884-.884L5 4.116 1.567.683a.625.625 0 1 0-.884.884C.83 1.713 2.77 3.657 4.116 5L.683 8.433a.625.625 0 1 0 .884.884L5 5.884l3.433 3.433a.625.625 0 0 0 .884-.884z"}),r==="M"&&Iy.default.createElement("path",{d:"M7.317 6.433L4.884 4l2.433-2.433a.625.625 0 1 0-.884-.884L4 3.116 1.567.683a.625.625 0 1 0-.884.884L3.116 4 .683 6.433a.625.625 0 1 0 .884.884L4 4.884l2.433 2.433a.625.625 0 0 0 .884-.884z"}))}uq.displayName="CrossSmall";function Rme(e){return w.createElement(Ln,e,w.createElement(Pme,null))}function jT(e={}){let{isReadOnly:t}=e,[r,n]=da(e.isSelected,e.defaultSelected||!1,e.onChange);function i(l){t||n(l)}function a(){t||n(!r)}return{isSelected:r,setSelected:i,toggle:a}}function $n(e){return e&&e.__esModule?e.default:e}function Rt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var cq={};cq={"ar-AE":aZ,"bg-BG":lZ,"cs-CZ":oZ,"da-DK":sZ,"de-DE":uZ,"el-GR":cZ,"en-US":dZ,"es-ES":fZ,"et-EE":hZ,"fi-FI":pZ,"fr-FR":mZ,"he-IL":gZ,"hr-HR":vZ,"hu-HU":bZ,"it-IT":yZ,"ja-JP":$Z,"ko-KR":OZ,"lt-LT":xZ,"lv-LV":SZ,"nb-NO":wZ,"nl-NL":kZ,"pl-PL":CZ,"pt-BR":EZ,"pt-PT":PZ,"ro-RO":FZ,"ru-RU":AZ,"sk-SK":DZ,"sl-SI":RZ,"sr-SP":TZ,"sv-SE":IZ,"tr-TR":MZ,"uk-UA":BZ,"zh-CN":_Z,"zh-TW":NZ};var et={};Rt(et,"focus-ring",()=>$O,e=>$O=e);Rt(et,"i18nFontFamily",()=>nv,e=>nv=e);Rt(et,"is-active",()=>OO,e=>OO=e);Rt(et,"is-disabled",()=>xO,e=>xO=e);Rt(et,"is-focused",()=>SO,e=>SO=e);Rt(et,"is-hovered",()=>wO,e=>wO=e);Rt(et,"is-open",()=>kO,e=>kO=e);Rt(et,"is-placeholder",()=>CO,e=>CO=e);Rt(et,"is-selected",()=>EO,e=>EO=e);Rt(et,"spectrum-BaseButton",()=>ys,e=>ys=e);Rt(et,"spectrum-FocusRing-ring",()=>iv,e=>iv=e);Rt(et,"spectrum-FocusRing",()=>$s,e=>$s=e);Rt(et,"spectrum-ActionButton",()=>PO,e=>PO=e);Rt(et,"spectrum-ActionButton--emphasized",()=>FO,e=>FO=e);Rt(et,"spectrum-ActionButton--quiet",()=>AO,e=>AO=e);Rt(et,"spectrum-ActionButton--staticBlack",()=>DO,e=>DO=e);Rt(et,"spectrum-ActionButton--staticColor",()=>RO,e=>RO=e);Rt(et,"spectrum-ActionButton--staticWhite",()=>TO,e=>TO=e);Rt(et,"spectrum-ActionButton-hold",()=>IO,e=>IO=e);Rt(et,"spectrum-ActionButton-label",()=>MO,e=>MO=e);Rt(et,"spectrum-Button",()=>BO,e=>BO=e);Rt(et,"spectrum-Button--iconOnly",()=>_O,e=>_O=e);Rt(et,"spectrum-Button--overBackground",()=>NO,e=>NO=e);Rt(et,"spectrum-Button--pending",()=>LO,e=>LO=e);Rt(et,"spectrum-Button-circleLoader",()=>VO,e=>VO=e);Rt(et,"spectrum-Button-label",()=>QO,e=>QO=e);Rt(et,"spectrum-ClearButton",()=>zO,e=>zO=e);Rt(et,"spectrum-ClearButton--overBackground",()=>jO,e=>jO=e);Rt(et,"spectrum-ClearButton--small",()=>WO,e=>WO=e);Rt(et,"spectrum-FieldButton",()=>ZO,e=>ZO=e);Rt(et,"spectrum-FieldButton--invalid",()=>UO,e=>UO=e);Rt(et,"spectrum-FocusRing--quiet",()=>av,e=>av=e);Rt(et,"spectrum-FieldButton--quiet",()=>qO,e=>qO=e);Rt(et,"spectrum-Icon",()=>HO,e=>HO=e);Rt(et,"spectrum-LogicButton",()=>KO,e=>KO=e);Rt(et,"spectrum-LogicButton--and",()=>YO,e=>YO=e);Rt(et,"spectrum-LogicButton--or",()=>GO,e=>GO=e);var $O,nv,OO,xO,SO,wO,kO,CO,EO,ys,iv,$s,PO,FO,AO,DO,RO,TO,IO,MO,BO,_O,NO,LO,VO,QO,zO,jO,WO,ZO,UO,av,qO,HO,KO,YO,GO;$O="Dniwja_focus-ring";nv="Dniwja_i18nFontFamily";OO="Dniwja_is-active";xO="Dniwja_is-disabled";SO="Dniwja_is-focused";wO="Dniwja_is-hovered";kO="Dniwja_is-open";CO="Dniwja_is-placeholder";EO="Dniwja_is-selected";ys=`Dniwja_spectrum-BaseButton ${nv}`;iv="Dniwja_spectrum-FocusRing-ring";$s=`Dniwja_spectrum-FocusRing ${iv}`;PO=`Dniwja_spectrum-ActionButton ${ys} ${$s}`;FO="Dniwja_spectrum-ActionButton--emphasized";AO="Dniwja_spectrum-ActionButton--quiet";DO="Dniwja_spectrum-ActionButton--staticBlack";RO="Dniwja_spectrum-ActionButton--staticColor";TO="Dniwja_spectrum-ActionButton--staticWhite";IO="Dniwja_spectrum-ActionButton-hold";MO="Dniwja_spectrum-ActionButton-label";BO=`Dniwja_spectrum-Button ${ys} ${$s}`;_O="Dniwja_spectrum-Button--iconOnly";NO="Dniwja_spectrum-Button--overBackground";LO="Dniwja_spectrum-Button--pending";VO="Dniwja_spectrum-Button-circleLoader";QO="Dniwja_spectrum-Button-label";zO=`Dniwja_spectrum-ClearButton ${ys} ${$s}`;jO="Dniwja_spectrum-ClearButton--overBackground";WO="Dniwja_spectrum-ClearButton--small";ZO=`Dniwja_spectrum-FieldButton ${ys} ${$s}`;UO="Dniwja_spectrum-FieldButton--invalid";av="Dniwja_spectrum-FocusRing--quiet";qO=`Dniwja_spectrum-FieldButton--quiet ${av}`;HO="Dniwja_spectrum-Icon";KO=`Dniwja_spectrum-LogicButton ${ys} ${$s}`;YO="Dniwja_spectrum-LogicButton--and";GO="Dniwja_spectrum-LogicButton--or";function Tme(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}function Ime(e,t){var r;e=Fn(e),e=Ia(e,"button"),e=Tme(e);let{elementType:n="button",children:i,variant:a,style:l=a==="accent"||a==="cta"?"fill":"outline",staticColor:s,isDisabled:u,isPending:c,autoFocus:d,...f}=e,h=Ta(t),{buttonProps:p,isPressed:m}=Ao(e,h),{hoverProps:g,isHovered:b}=Er({isDisabled:u}),[v,$]=O.useState(!1),{focusProps:y}=Uh({onFocusChange:$,isDisabled:u}),S=or($n(cq),"@react-spectrum/button"),{styleProps:k}=Nt(f),C=gc(`.${$n(et)["spectrum-Button-label"]}`,h),F=gc(`.${$n(et)["spectrum-Icon"]}`,h),E=!!p["aria-label"]||!!p["aria-labelledby"],[M,D]=O.useState(!1),R=ar(),B=p.id||R,T=ar(),_=ar(),Q=ar();O.useEffect(()=>{let A;return c?A=setTimeout(()=>{D(!0)},1e3):D(!1),()=>{clearTimeout(A)}},[c]),a==="cta"?a="accent":a==="overBackground"&&(a="primary",s="white");const W=`${E?p["aria-label"]:""} ${S.format("pending")}`.trim();var Z;const q=E?(Z=(r=p["aria-labelledby"])===null||r===void 0?void 0:r.replace(B,Q))!==null&&Z!==void 0?Z:Q:`${F?T:""} ${C?_:""} ${Q}`.trim();let U="polite";return Rf()&&(!E||ZZ())&&(U="off"),w.createElement(_r,{focusRingClass:z($n(et),"focus-ring"),autoFocus:d},w.createElement(n,{...k,...Oe(p,g,y),id:B,ref:h,"data-variant":a,"data-style":l,"data-static-color":s||void 0,"aria-disabled":c?"true":void 0,"aria-label":c?W:p["aria-label"],"aria-labelledby":c?q:p["aria-labelledby"],className:z($n(et),"spectrum-Button",{"spectrum-Button--iconOnly":F&&!C,"is-disabled":u||M,"is-active":m,"is-hovered":b,"spectrum-Button--pending":M},k.className)},w.createElement(Ma,{slots:{icon:{id:T,size:"S",UNSAFE_className:z($n(et),"spectrum-Icon")},text:{id:_,UNSAFE_className:z($n(et),"spectrum-Button-label")}}},typeof i=="string"?w.createElement(Yh,null,i):i,c&&w.createElement("div",{"aria-hidden":"true",style:{visibility:M?"visible":"hidden"},className:z($n(et),"spectrum-Button-circleLoader")},w.createElement(vd,{"aria-label":W,isIndeterminate:!0,size:"S",staticColor:s})),c&&w.createElement(w.Fragment,null,w.createElement("div",{"aria-live":v?U:"off"},M&&w.createElement("div",{role:"img","aria-labelledby":q})),w.createElement("div",{id:Q,role:"img","aria-label":W})))))}let dq=w.forwardRef(Ime);function Mme(e,t){e=Fn(e),e=Ia(e,"actionButton");let{isQuiet:r,isDisabled:n,staticColor:i,children:a,autoFocus:l,holdAffordance:s,...u}=e,c=Ta(t),{buttonProps:d,isPressed:f}=Ao(e,c),{hoverProps:h,isHovered:p}=Er({isDisabled:n}),{styleProps:m}=Nt(u),g=w.Children.toArray(e.children).every(b=>!w.isValidElement(b));return w.createElement(_r,{focusRingClass:z($n(et),"focus-ring"),autoFocus:l},w.createElement("button",{...m,...Oe(d,h),ref:c,className:z($n(et),"spectrum-ActionButton",{"spectrum-ActionButton--quiet":r,"spectrum-ActionButton--staticColor":!!i,"spectrum-ActionButton--staticWhite":i==="white","spectrum-ActionButton--staticBlack":i==="black","is-active":f,"is-disabled":n,"is-hovered":p},m.className)},s&&w.createElement(Eme,{UNSAFE_className:z($n(et),"spectrum-ActionButton-hold")}),w.createElement(Ma,{slots:{icon:{size:"S",UNSAFE_className:z($n(et),"spectrum-Icon")},text:{UNSAFE_className:z($n(et),"spectrum-ActionButton-label")}}},typeof a=="string"||g?w.createElement(Yh,null,a):a)))}let xo=w.forwardRef(Mme);function Bme(e,t){e=Ia(e,"button");let{isQuiet:r,isDisabled:n,validationState:i,isInvalid:a,children:l,autoFocus:s,isActive:u,focusRingClass:c,...d}=e,f=Ta(t),{buttonProps:h,isPressed:p}=Ao(e,f),{hoverProps:m,isHovered:g}=Er({isDisabled:n}),{styleProps:b}=Nt(d);return w.createElement(_r,{focusRingClass:z($n(et),"focus-ring",c),autoFocus:s},w.createElement("button",{...Oe(h,m),ref:f,className:z($n(et),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":r,"is-active":u||p,"is-disabled":n,"spectrum-FieldButton--invalid":a||i==="invalid","is-hovered":g},b.className)},w.createElement(Ma,{slots:{icon:{size:"S",UNSAFE_className:z($n(et),"spectrum-Icon")}}},l)))}let fq=w.forwardRef(Bme);function _me(e,t){let{children:r=w.createElement(Rme,{UNSAFE_className:$n(et)["spectrum-Icon"]}),focusClassName:n,variant:i,autoFocus:a,isDisabled:l,preventFocus:s,elementType:u=s?"div":"button",...c}=e,d=Ta(t),{buttonProps:f,isPressed:h}=Ao({...e,elementType:u},d),{hoverProps:p,isHovered:m}=Er({isDisabled:l}),{styleProps:g}=Nt(c);s&&delete f.tabIndex;let b=u;return w.createElement(_r,{focusRingClass:z($n(et),"focus-ring",n),autoFocus:a},w.createElement(b,{...g,...Oe(f,p),ref:d,className:z($n(et),"spectrum-ClearButton",{[`spectrum-ClearButton--${i}`]:i,"is-disabled":l,"is-active":h,"is-hovered":m},g.className)},r))}let Nme=w.forwardRef(_me);var hq={};Object.defineProperty(hq,"__esModule",{value:!0});var Lme=hq.ChevronDownMedium=pq,My=Vme(O);function Vme(e){return e&&e.__esModule?e:{default:e}}function XO(){return XO=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function zme(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function pq(e){var t=e.scale,r=t===void 0?"M":t,n=Qme(e,["scale"]);return My.default.createElement("svg",XO({},n,n),r==="L"&&My.default.createElement("path",{d:"M11.99 1.51a1 1 0 0 0-1.707-.707L6 5.086 1.717.803A1 1 0 1 0 .303 2.217l4.99 4.99a1 1 0 0 0 1.414 0l4.99-4.99a.997.997 0 0 0 .293-.707z"}),r==="M"&&My.default.createElement("path",{d:"M9.99 1.01A1 1 0 0 0 8.283.303L5 3.586 1.717.303A1 1 0 1 0 .303 1.717l3.99 3.98a1 1 0 0 0 1.414 0l3.99-3.98a.997.997 0 0 0 .293-.707z"}))}pq.displayName="ChevronDownMedium";function z1(e){return w.createElement(Ln,e,w.createElement(Lme,null))}var mq={};mq={backButton:e=>`الرجوع إلى ${e.prevMenuButton}`,moreActions:"المزيد من الإجراءات",unavailable:"غير مُتوفر، قُم بالتوسيع للحصول على التفاصيل"};var gq={};gq={backButton:e=>`Назад към ${e.prevMenuButton}`,moreActions:"Повече действия",unavailable:"Недостъпно, разгънете за подробности"};var vq={};vq={backButton:e=>`Návrat na ${e.prevMenuButton}`,moreActions:"Další akce",unavailable:"Není k dispozici, rozbalením zobrazíte podrobnosti"};var bq={};bq={backButton:e=>`Vend tilbage til ${e.prevMenuButton}`,moreActions:"Flere handlinger",unavailable:"Ikke tilgængelig, udvid for detaljer"};var yq={};yq={backButton:e=>`Zurück zu ${e.prevMenuButton}`,moreActions:"Mehr Aktionen",unavailable:"Nicht verfügbar, für Details erweitern"};var $q={};$q={backButton:e=>`Επιστροφή στο ${e.prevMenuButton}`,moreActions:"Περισσότερες ενέργειες",unavailable:"Μη διαθέσιμο, ανάπτυξη για λεπτομέρειες"};var Oq={};Oq={moreActions:"More actions",unavailable:"Unavailable, expand for details",backButton:e=>`Return to ${e.prevMenuButton}`};var xq={};xq={backButton:e=>`Volver a ${e.prevMenuButton}`,moreActions:"Más acciones",unavailable:"No disponible, ampliar para más detalles"};var Sq={};Sq={backButton:e=>`Tagasi ${e.prevMenuButton}`,moreActions:"Veel toiminguid",unavailable:"Pole kättesaadav, üksikasjade vaatamiseks laiendage"};var wq={};wq={backButton:e=>`Palaa kohtaan ${e.prevMenuButton}`,moreActions:"Lisää toimintoja",unavailable:"Ei saatavilla, laajenna saadaksesi lisätietoja"};var kq={};kq={backButton:e=>`Retour vers ${e.prevMenuButton}`,moreActions:"Autres actions",unavailable:"Indisponible, développer pour plus de détails"};var Cq={};Cq={backButton:e=>`חזור אל ${e.prevMenuButton}`,moreActions:"פעולות נוספות",unavailable:"לא זמין, הרחב לפרטים"};var Eq={};Eq={backButton:e=>`Povratak na ${e.prevMenuButton}`,moreActions:"Dodatne radnje",unavailable:"Nije dostupno, proširi za detalje"};var Pq={};Pq={backButton:e=>`Vissza ide: ${e.prevMenuButton}`,moreActions:"További lehetőségek",unavailable:"Nem érhető el, a részletekért bontsa ki"};var Fq={};Fq={backButton:e=>`Torna a ${e.prevMenuButton}`,moreActions:"Altre azioni",unavailable:"Non disponibile, espandi per i dettagli"};var Aq={};Aq={backButton:e=>`${e.prevMenuButton} に戻る`,moreActions:"その他のアクション",unavailable:"利用できません。詳しくは、展開して確認してください"};var Dq={};Dq={backButton:e=>`${e.prevMenuButton}(으)로 돌아가기`,moreActions:"기타 액션",unavailable:"사용할 수 없음, 자세히 보려면 펼치기"};var Rq={};Rq={backButton:e=>`Grįžti į ${e.prevMenuButton}`,moreActions:"Daugiau veiksmų",unavailable:"Nepasiekiama, norėdami gauti daugiau informacijos, išskleiskite"};var Tq={};Tq={backButton:e=>`Atgriezties uz ${e.prevMenuButton}`,moreActions:"Citas darbības",unavailable:"Nav pieejams, izvērsiet, lai skatītu sīkāku informāciju"};var Iq={};Iq={backButton:e=>`Gå tilbake til ${e.prevMenuButton}`,moreActions:"Flere handlinger",unavailable:"Utilgjengelig, utvid for detaljer"};var Mq={};Mq={backButton:e=>`Terug naar ${e.prevMenuButton}`,moreActions:"Meer handelingen",unavailable:"Niet beschikbaar, uitvouwen voor meer informatie"};var Bq={};Bq={backButton:e=>`Wróć do: ${e.prevMenuButton}`,moreActions:"Więcej akcji",unavailable:"Niedostępne, rozwiń, aby zobaczyć szczegóły"};var _q={};_q={backButton:e=>`Retornar a ${e.prevMenuButton}`,moreActions:"Mais ações",unavailable:"Indisponível. Expanda para ver os detalhes"};var Nq={};Nq={backButton:e=>`Voltar ao ${e.prevMenuButton}`,moreActions:"Mais ações",unavailable:"Indisponível, expandir para mais detalhes"};var Lq={};Lq={backButton:e=>`Reveniți la ${e.prevMenuButton}`,moreActions:"Mai multe acțiuni",unavailable:"Indisponibil, extindeți pentru detalii"};var Vq={};Vq={backButton:e=>`Вернуться к ${e.prevMenuButton}`,moreActions:"Дополнительные действия",unavailable:"Недоступно, разверните для подробностей"};var Qq={};Qq={backButton:e=>`Späť na ${e.prevMenuButton}`,moreActions:"Ďalšie akcie",unavailable:"Nedostupné, rozbaľte podrobnosti"};var zq={};zq={backButton:e=>`Nazaj na ${e.prevMenuButton}`,moreActions:"Več možnosti",unavailable:"Ni na voljo, razširite za podrobnosti"};var jq={};jq={backButton:e=>`Povratak na ${e.prevMenuButton}`,moreActions:"Dodatne radnje",unavailable:"Nije dostupno, proširite za detalje"};var Wq={};Wq={backButton:e=>`Återgå till ${e.prevMenuButton}`,moreActions:"Fler åtgärder",unavailable:"Ej tillgänglig, expandera för mer information"};var Zq={};Zq={backButton:e=>`Geri dön: ${e.prevMenuButton}`,moreActions:"Daha fazla eylem",unavailable:"Kullanılamıyor, ayrıntıları görmek için genişletin"};var Uq={};Uq={backButton:e=>`Повернутися до ${e.prevMenuButton}`,moreActions:"Більше дій",unavailable:"Недоступно, розгорніть для докладнішої інформації"};var qq={};qq={backButton:e=>`返回 ${e.prevMenuButton}`,moreActions:"更多操作",unavailable:"不可用,展开以查看详细信息"};var Hq={};Hq={backButton:e=>`返回 ${e.prevMenuButton}`,moreActions:"更多動作",unavailable:"無法使用,展開以取得詳細資料"};function Gc(){return Gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function JO(e,t){return JO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},JO(e,t)}function Wme(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,JO(e,t)}const E_={disabled:!1},Kq=w.createContext(null);var Zme=function(t){return t.scrollTop},gf="unmounted",Ys="exited",Gs="entering",Xu="entered",e5="exiting",Ro=function(e){Wme(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var l=i,s=l&&!l.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?s?(u=Ys,a.appearStatus=Gs):u=Xu:n.unmountOnExit||n.mountOnEnter?u=gf:u=Ys,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var l=i.in;return l&&a.status===gf?{status:Ys}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==Gs&&l!==Xu&&(a=Gs):(l===Gs||l===Xu)&&(a=e5)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,l,s;return a=l=s=i,i!=null&&typeof i!="number"&&(a=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:a,enter:l,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Gs){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:pc.findDOMNode(this);l&&Zme(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ys&&this.setState({status:gf})},r.performEnter=function(i){var a=this,l=this.props.enter,s=this.context?this.context.isMounting:i,u=this.props.nodeRef?[s]:[pc.findDOMNode(this),s],c=u[0],d=u[1],f=this.getTimeouts(),h=s?f.appear:f.enter;if(!i&&!l||E_.disabled){this.safeSetState({status:Xu},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Gs},function(){a.props.onEntering(c,d),a.onTransitionEnd(h,function(){a.safeSetState({status:Xu},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:pc.findDOMNode(this);if(!a||E_.disabled){this.safeSetState({status:Ys},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:e5},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Ys},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:pc.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===gf)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=jme(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return w.createElement(Kq.Provider,{value:null},typeof l=="function"?l(i,s):w.cloneElement(w.Children.only(l),s))},t}(w.Component);Ro.contextType=Kq;Ro.propTypes={};function Wu(){}Ro.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wu,onEntering:Wu,onEntered:Wu,onExit:Wu,onExiting:Wu,onExited:Wu};Ro.UNMOUNTED=gf;Ro.EXITED=Ys;Ro.ENTERING=Gs;Ro.ENTERED=Xu;Ro.EXITING=e5;const Ume=Ro;function Sa(e){return e&&e.__esModule?e.default:e}function Fe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const qme={entering:!1,entered:!0};function Hme(e){return w.createElement(Ume,{timeout:{enter:0,exit:350},...e},t=>w.Children.map(e.children,r=>r&&w.cloneElement(r,{isOpen:!!qme[t]})))}function Kme(e,t){let{children:r,isOpen:n,disableFocusManagement:i,container:a,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,nodeRef:h}=e,[p,m]=O.useState(!n),g=O.useCallback(()=>{m(!1),u&&u()},[u]),b=O.useCallback(()=>{m(!0),f&&f()},[f]);return n||!p?w.createElement(mme,{portalContainer:a,disableFocusManagement:i,isExiting:!n},w.createElement(Gh,{ref:t,UNSAFE_style:{background:"transparent",isolation:"isolate"},isDisabled:!1},w.createElement(Hme,{in:n,appear:!0,onExit:c,onExiting:d,onExited:b,onEnter:l,onEntering:s,onEntered:g,nodeRef:h},r))):null}let j1=w.forwardRef(Kme);var la={};Fe(la,"react-spectrum-Modal",()=>t5,e=>t5=e);Fe(la,"react-spectrum-Modal-wrapper",()=>r5,e=>r5=e);Fe(la,"react-spectrum-Popover",()=>n5,e=>n5=e);Fe(la,"react-spectrum-Tray",()=>i5,e=>i5=e);Fe(la,"spectrum-Dialog-content",()=>a5,e=>a5=e);Fe(la,"spectrum-Modal",()=>l5,e=>l5=e);Fe(la,"spectrum-Modal-wrapper",()=>o5,e=>o5=e);Fe(la,"spectrum-Popover",()=>s5,e=>s5=e);Fe(la,"spectrum-Tray",()=>u5,e=>u5=e);var t5,r5,n5,i5,a5,l5,o5,s5,u5;t5="OhnpTq_react-spectrum-Modal";r5="OhnpTq_react-spectrum-Modal-wrapper";n5="OhnpTq_react-spectrum-Popover";i5="OhnpTq_react-spectrum-Tray";a5="OhnpTq_spectrum-Dialog-content";l5="OhnpTq_spectrum-Modal";o5="OhnpTq_spectrum-Modal-wrapper";s5="OhnpTq_spectrum-Popover";u5="OhnpTq_spectrum-Tray";var dr={};Fe(dr,"focus-ring",()=>c5,e=>c5=e);Fe(dr,"i18nFontFamily",()=>d5,e=>d5=e);Fe(dr,"spectrum-overlay--open",()=>lv,e=>lv=e);Fe(dr,"is-open",()=>f5,e=>f5=e);Fe(dr,"spectrum-overlay--bottom--open",()=>ov,e=>ov=e);Fe(dr,"is-open--bottom",()=>h5,e=>h5=e);Fe(dr,"spectrum-overlay--left--open",()=>sv,e=>sv=e);Fe(dr,"is-open--left",()=>p5,e=>p5=e);Fe(dr,"spectrum-overlay--right--open",()=>uv,e=>uv=e);Fe(dr,"is-open--right",()=>m5,e=>m5=e);Fe(dr,"spectrum-overlay--top--open",()=>cv,e=>cv=e);Fe(dr,"is-open--top",()=>g5,e=>g5=e);Fe(dr,"spectrum-FocusRing-ring",()=>dv,e=>dv=e);Fe(dr,"spectrum-FocusRing",()=>v5,e=>v5=e);Fe(dr,"spectrum-FocusRing--quiet",()=>b5,e=>b5=e);Fe(dr,"spectrum-overlay",()=>fv,e=>fv=e);Fe(dr,"spectrum-Popover",()=>y5,e=>y5=e);Fe(dr,"spectrum-Popover--bottom",()=>$5,e=>$5=e);Fe(dr,"spectrum-Popover--dialog",()=>O5,e=>O5=e);Fe(dr,"spectrum-Popover--left",()=>x5,e=>x5=e);Fe(dr,"spectrum-Popover--right",()=>S5,e=>S5=e);Fe(dr,"spectrum-Popover--top",()=>w5,e=>w5=e);Fe(dr,"spectrum-Popover--withTip",()=>k5,e=>k5=e);Fe(dr,"spectrum-Popover-tip",()=>C5,e=>C5=e);Fe(dr,"spectrum-Popover-tip-triangle",()=>E5,e=>E5=e);var c5,d5,lv,f5,ov,h5,sv,p5,uv,m5,cv,g5,dv,v5,b5,fv,y5,$5,O5,x5,S5,w5,k5,C5,E5;c5="cH0MeW_focus-ring";d5="cH0MeW_i18nFontFamily";lv="cH0MeW_spectrum-overlay--open";f5=`cH0MeW_is-open ${lv}`;ov="cH0MeW_spectrum-overlay--bottom--open";h5=`cH0MeW_is-open--bottom ${ov}`;sv="cH0MeW_spectrum-overlay--left--open";p5=`cH0MeW_is-open--left ${sv}`;uv="cH0MeW_spectrum-overlay--right--open";m5=`cH0MeW_is-open--right ${uv}`;cv="cH0MeW_spectrum-overlay--top--open";g5=`cH0MeW_is-open--top ${cv}`;dv="cH0MeW_spectrum-FocusRing-ring";v5=`cH0MeW_spectrum-FocusRing ${dv}`;b5="cH0MeW_spectrum-FocusRing--quiet";fv="cH0MeW_spectrum-overlay";y5=`cH0MeW_spectrum-Popover ${fv}`;$5="cH0MeW_spectrum-Popover--bottom";O5="cH0MeW_spectrum-Popover--dialog";x5="cH0MeW_spectrum-Popover--left";S5="cH0MeW_spectrum-Popover--right";w5="cH0MeW_spectrum-Popover--top";k5="cH0MeW_spectrum-Popover--withTip";C5="cH0MeW_spectrum-Popover-tip";E5="cH0MeW_spectrum-Popover-tip-triangle";var Ci={};Fe(Ci,"focus-ring",()=>P5,e=>P5=e);Fe(Ci,"i18nFontFamily",()=>F5,e=>F5=e);Fe(Ci,"spectrum-overlay--open",()=>hv,e=>hv=e);Fe(Ci,"is-open",()=>A5,e=>A5=e);Fe(Ci,"spectrum-FocusRing-ring",()=>pv,e=>pv=e);Fe(Ci,"spectrum-FocusRing",()=>D5,e=>D5=e);Fe(Ci,"spectrum-FocusRing--quiet",()=>R5,e=>R5=e);Fe(Ci,"spectrum-overlay",()=>mv,e=>mv=e);Fe(Ci,"spectrum-Underlay",()=>T5,e=>T5=e);Fe(Ci,"spectrum-Underlay--transparent",()=>I5,e=>I5=e);Fe(Ci,"spectrum-overlay--bottom--open",()=>M5,e=>M5=e);Fe(Ci,"spectrum-overlay--left--open",()=>B5,e=>B5=e);Fe(Ci,"spectrum-overlay--right--open",()=>_5,e=>_5=e);Fe(Ci,"spectrum-overlay--top--open",()=>N5,e=>N5=e);var P5,F5,hv,A5,pv,D5,R5,mv,T5,I5,M5,B5,_5,N5;P5="F-oYUa_focus-ring";F5="F-oYUa_i18nFontFamily";hv="F-oYUa_spectrum-overlay--open";A5=`F-oYUa_is-open ${hv}`;pv="F-oYUa_spectrum-FocusRing-ring";D5=`F-oYUa_spectrum-FocusRing ${pv}`;R5="F-oYUa_spectrum-FocusRing--quiet";mv="F-oYUa_spectrum-overlay";T5=`F-oYUa_spectrum-Underlay ${mv}`;I5="F-oYUa_spectrum-Underlay--transparent";M5="F-oYUa_spectrum-overlay--bottom--open";B5="F-oYUa_spectrum-overlay--left--open";_5="F-oYUa_spectrum-overlay--right--open";N5="F-oYUa_spectrum-overlay--top--open";function WT({isOpen:e,isTransparent:t,...r}){return w.createElement("div",{"data-testid":"underlay",...r,className:z(Sa(Ci),"spectrum-Underlay",{"is-open":e,"spectrum-Underlay--transparent":t})})}let Yme={left:"right",right:"right",top:"bottom",bottom:"bottom"};function Gme(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(j1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(Xme,{ref:a,...e,wrapperRef:l},r))}const Xme=O.forwardRef((e,t)=>{let{children:r,isOpen:n,hideArrow:i,isNonModal:a,enableBothDismissButtons:l,state:s,wrapperRef:u,onDismissButtonPress:c=()=>s.close()}=e,{styleProps:d}=Nt(e),{size:f,borderWidth:h,arrowRef:p}=ege();const m=Jme(t);let g=h*Math.SQRT2,b=f+g,v=b*2,{popoverProps:$,arrowProps:y,underlayProps:S,placement:k}=pme({...e,popoverRef:t,maxHeight:null,arrowSize:i?0:v,arrowBoundaryOffset:m},s),{focusWithinProps:C}=Ru(e),F=()=>{s.close()};return w.createElement("div",{ref:u},!a&&w.createElement(WT,{isTransparent:!0,...Oe(S,{onPointerDown:F}),isOpen:n}),w.createElement("div",{...d,...Oe($,C),style:{...d.style,...$.style},ref:t,className:z(Sa(dr),"spectrum-Popover",`spectrum-Popover--${k}`,{"spectrum-Popover--withTip":!i,"is-open":n,[`is-open--${k}`]:n},z(Sa(la),"spectrum-Popover","react-spectrum-Popover"),d.className),role:"presentation","data-testid":"popover"},(!a||l)&&w.createElement(Yc,{onDismiss:c}),r,i?null:w.createElement(tge,{arrowProps:y,isLandscape:Yme[k]==="bottom",arrowRef:p,primary:b,secondary:v,borderDiagonal:g}),w.createElement(Yc,{onDismiss:c})))});function Jme(e){let[t,r]=O.useState(0);return wt(()=>{if(e.current){let n=window.getComputedStyle(e.current).borderRadius;n!==""&&r(parseInt(n,10))}},[e]),t}function ege(){let[e,t]=O.useState(20),[r,n]=O.useState(1),i=O.useRef(null);return wt(()=>{if(i.current){let a=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-size");a!==""&&t(parseInt(a,10)/2);let l=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-borderWidth");l!==""&&n(parseInt(l,10))}},[]),{size:e,borderWidth:r,arrowRef:i}}function tge(e){let{primary:t,secondary:r,isLandscape:n,arrowProps:i,borderDiagonal:a,arrowRef:l}=e,s=a/2,u=0,c=t-s,d=s,f=r/2,h=r-s,p=n?["M",d,u,"L",f,c,"L",h,u]:["M",u,d,"L",c,f,"L",u,h];return w.createElement("svg",{xmlns:"http://www.w3.org/svg/2000",width:Math.ceil(n?r:t),height:Math.ceil(n?t:r),className:z(Sa(dr),"spectrum-Popover-tip"),ref:l,...i},w.createElement("path",{className:z(Sa(dr),"spectrum-Popover-tip-triangle"),d:p.join(" ")}))}let W1=O.forwardRef(Gme);var Pn={};Fe(Pn,"focus-ring",()=>L5,e=>L5=e);Fe(Pn,"i18nFontFamily",()=>V5,e=>V5=e);Fe(Pn,"spectrum-overlay--open",()=>gv,e=>gv=e);Fe(Pn,"is-open",()=>Q5,e=>Q5=e);Fe(Pn,"spectrum-FocusRing-ring",()=>vv,e=>vv=e);Fe(Pn,"spectrum-FocusRing",()=>z5,e=>z5=e);Fe(Pn,"spectrum-FocusRing--quiet",()=>j5,e=>j5=e);Fe(Pn,"spectrum-overlay",()=>bv,e=>bv=e);Fe(Pn,"spectrum-Modal",()=>W5,e=>W5=e);Fe(Pn,"spectrum-Modal--fullscreen",()=>Z5,e=>Z5=e);Fe(Pn,"spectrum-Modal--fullscreenTakeover",()=>U5,e=>U5=e);Fe(Pn,"spectrum-Modal--responsive",()=>q5,e=>q5=e);Fe(Pn,"spectrum-Modal-wrapper",()=>H5,e=>H5=e);Fe(Pn,"spectrum-overlay--bottom--open",()=>K5,e=>K5=e);Fe(Pn,"spectrum-overlay--left--open",()=>Y5,e=>Y5=e);Fe(Pn,"spectrum-overlay--right--open",()=>G5,e=>G5=e);Fe(Pn,"spectrum-overlay--top--open",()=>X5,e=>X5=e);var L5,V5,gv,Q5,vv,z5,j5,bv,W5,Z5,U5,q5,H5,K5,Y5,G5,X5;L5="_0YML2q_focus-ring";V5="_0YML2q_i18nFontFamily";gv="_0YML2q_spectrum-overlay--open";Q5=`_0YML2q_is-open ${gv}`;vv="_0YML2q_spectrum-FocusRing-ring";z5=`_0YML2q_spectrum-FocusRing ${vv}`;j5="_0YML2q_spectrum-FocusRing--quiet";bv="_0YML2q_spectrum-overlay";W5=`_0YML2q_spectrum-Modal ${bv}`;Z5="_0YML2q_spectrum-Modal--fullscreen";U5="_0YML2q_spectrum-Modal--fullscreenTakeover";q5="_0YML2q_spectrum-Modal--responsive";H5="_0YML2q_spectrum-Modal-wrapper";K5="_0YML2q_spectrum-overlay--bottom--open";Y5="_0YML2q_spectrum-overlay--left--open";G5="_0YML2q_spectrum-overlay--right--open";X5="_0YML2q_spectrum-overlay--top--open";function rge(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(j1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(ige,{...e,wrapperRef:l,ref:a},r))}let nge={fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"},ige=O.forwardRef(function(e,t){let{type:r,children:n,state:i,isOpen:a,wrapperRef:l}=e,s=nge[r],{styleProps:u}=Nt(e),{modalProps:c,underlayProps:d}=nq(e,i,t),f=z(Sa(Pn),"spectrum-Modal-wrapper",z(Sa(la),"spectrum-Modal-wrapper","react-spectrum-Modal-wrapper")),h=z(Sa(Pn),"spectrum-Modal",{"is-open":a},z(Sa(la),"spectrum-Modal","react-spectrum-Modal"),{[`spectrum-Modal--${s}`]:s},u.className),m={"--spectrum-visual-viewport-height":GZ().height+"px"};return w.createElement("div",{ref:l},w.createElement(WT,{...d,isOpen:a}),w.createElement("div",{className:f,style:m},w.createElement("div",{...u,...c,ref:t,className:h,"data-testid":"modal"},n)))}),age=O.forwardRef(rge);var Kn={};Fe(Kn,"focus-ring",()=>J5,e=>J5=e);Fe(Kn,"i18nFontFamily",()=>ex,e=>ex=e);Fe(Kn,"spectrum-overlay--open",()=>yv,e=>yv=e);Fe(Kn,"is-open",()=>tx,e=>tx=e);Fe(Kn,"spectrum-FocusRing-ring",()=>$v,e=>$v=e);Fe(Kn,"spectrum-FocusRing",()=>rx,e=>rx=e);Fe(Kn,"spectrum-FocusRing--quiet",()=>nx,e=>nx=e);Fe(Kn,"spectrum-overlay",()=>Ov,e=>Ov=e);Fe(Kn,"spectrum-Tray",()=>ix,e=>ix=e);Fe(Kn,"spectrum-Tray--fixedHeight",()=>ax,e=>ax=e);Fe(Kn,"spectrum-Tray-wrapper",()=>lx,e=>lx=e);Fe(Kn,"spectrum-overlay--bottom--open",()=>ox,e=>ox=e);Fe(Kn,"spectrum-overlay--left--open",()=>sx,e=>sx=e);Fe(Kn,"spectrum-overlay--right--open",()=>ux,e=>ux=e);Fe(Kn,"spectrum-overlay--top--open",()=>cx,e=>cx=e);var J5,ex,yv,tx,$v,rx,nx,Ov,ix,ax,lx,ox,sx,ux,cx;J5="UuxJvG_focus-ring";ex="UuxJvG_i18nFontFamily";yv="UuxJvG_spectrum-overlay--open";tx=`UuxJvG_is-open ${yv}`;$v="UuxJvG_spectrum-FocusRing-ring";rx=`UuxJvG_spectrum-FocusRing ${$v}`;nx="UuxJvG_spectrum-FocusRing--quiet";Ov="UuxJvG_spectrum-overlay";ix=`UuxJvG_spectrum-Tray ${Ov}`;ax="UuxJvG_spectrum-Tray--fixedHeight";lx="UuxJvG_spectrum-Tray-wrapper";ox="UuxJvG_spectrum-overlay--bottom--open";sx="UuxJvG_spectrum-overlay--left--open";ux="UuxJvG_spectrum-overlay--right--open";cx="UuxJvG_spectrum-overlay--top--open";function lge(e,t){let{children:r,state:n,...i}=e,a=Xr(t),l=O.useRef(null);return w.createElement(j1,{...i,isOpen:n.isOpen,nodeRef:l},w.createElement(oge,{...e,wrapperRef:l,ref:a},r))}let oge=O.forwardRef(function(e,t){let{children:r,isOpen:n,isFixedHeight:i,state:a,wrapperRef:l}=e,{styleProps:s}=Nt(e),{modalProps:u,underlayProps:c}=nq({...e,isDismissable:!0},a,t),f={"--spectrum-visual-viewport-height":GZ().height+"px"},h=z(Sa(Kn),"spectrum-Tray-wrapper"),p=z(Sa(Kn),"spectrum-Tray",{"is-open":n,"spectrum-Tray--fixedHeight":i},z(Sa(la),"spectrum-Tray","react-spectrum-Tray"),s.className);return w.createElement("div",{ref:l},w.createElement(WT,{...c,isOpen:n}),w.createElement("div",{className:h,style:f},w.createElement("div",{...s,...u,className:p,ref:t,"data-testid":"tray"},w.createElement(Yc,{onDismiss:a.close}),r,w.createElement(Yc,{onDismiss:a.close}))))}),Z1=O.forwardRef(lge);var Yq={};Yq={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Gq={};Gq={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Xq={};Xq={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Jq={};Jq={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var eH={};eH={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var tH={};tH={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var rH={};rH={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var nH={};nH={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var iH={};iH={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var aH={};aH={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var lH={};lH={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var oH={};oH={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var sH={};sH={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var uH={};uH={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var cH={};cH={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var dH={};dH={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var fH={};fH={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var hH={};hH={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var pH={};pH={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var mH={};mH={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var gH={};gH={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var vH={};vH={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var bH={};bH={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var yH={};yH={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var $H={};$H={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var OH={};OH={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var xH={};xH={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var SH={};SH={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var wH={};wH={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var kH={};kH={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var CH={};CH={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var EH={};EH={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var PH={};PH={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var FH={};FH={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};function dx(e){return Rf()?e.altKey:e.ctrlKey}function Ju(e){return gs()?e.metaKey:e.ctrlKey}const sge=1e3;function AH(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,i=O.useRef({search:"",timeout:null}).current,a=l=>{let s=uge(l.key);if(!s||l.ctrlKey||l.metaKey||!l.currentTarget.contains(l.target))return;s===" "&&i.search.trim().length>0&&(l.preventDefault(),"continuePropagation"in l||l.stopPropagation()),i.search+=s;let u=t.getKeyForSearch(i.search,r.focusedKey);u==null&&(u=t.getKeyForSearch(i.search)),u!=null&&(r.setFocusedKey(u),n&&n(u)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},sge)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function uge(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ZT(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:l=!1,disallowSelectAll:s=!1,selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:h,scrollRef:p=n,linkBehavior:m="action"}=e,{direction:g}=yr(),b=zh(),v=D=>{if(D.altKey&&D.key==="Tab"&&D.preventDefault(),!n.current.contains(D.target))return;const R=(A,j)=>{if(A!=null){if(t.isLink(A)&&m==="selection"&&u&&!dx(D)){C1.flushSync(()=>{t.setFocusedKey(A,j)});let V=p.current.querySelector(`[data-key="${CSS.escape(A.toString())}"]`);b.open(V,D);return}if(t.setFocusedKey(A,j),t.isLink(A)&&m==="override")return;D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&!dx(D)&&t.replaceSelection(A)}};switch(D.key){case"ArrowDown":if(r.getKeyBelow){var B,T;D.preventDefault();let A=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(B=r.getFirstKey)===null||B===void 0?void 0:B.call(r);A==null&&a&&(A=(T=r.getFirstKey)===null||T===void 0?void 0:T.call(r,t.focusedKey)),R(A)}break;case"ArrowUp":if(r.getKeyAbove){var _,Q;D.preventDefault();let A=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(_=r.getLastKey)===null||_===void 0?void 0:_.call(r);A==null&&a&&(A=(Q=r.getLastKey)===null||Q===void 0?void 0:Q.call(r,t.focusedKey)),R(A)}break;case"ArrowLeft":if(r.getKeyLeftOf){var W,Z;D.preventDefault();let A=r.getKeyLeftOf(t.focusedKey);A==null&&a&&(A=g==="rtl"?(W=r.getFirstKey)===null||W===void 0?void 0:W.call(r,t.focusedKey):(Z=r.getLastKey)===null||Z===void 0?void 0:Z.call(r,t.focusedKey)),R(A,g==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var q,U;D.preventDefault();let A=r.getKeyRightOf(t.focusedKey);A==null&&a&&(A=g==="rtl"?(q=r.getLastKey)===null||q===void 0?void 0:q.call(r,t.focusedKey):(U=r.getFirstKey)===null||U===void 0?void 0:U.call(r,t.focusedKey)),R(A,g==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){D.preventDefault();let A=r.getFirstKey(t.focusedKey,Ju(D));t.setFocusedKey(A),Ju(D)&&D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&t.replaceSelection(A)}break;case"End":if(r.getLastKey){D.preventDefault();let A=r.getLastKey(t.focusedKey,Ju(D));t.setFocusedKey(A),Ju(D)&&D.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(A):u&&t.replaceSelection(A)}break;case"PageDown":if(r.getKeyPageBelow){D.preventDefault();let A=r.getKeyPageBelow(t.focusedKey);R(A)}break;case"PageUp":if(r.getKeyPageAbove){D.preventDefault();let A=r.getKeyPageAbove(t.focusedKey);R(A)}break;case"a":Ju(D)&&t.selectionMode==="multiple"&&s!==!0&&(D.preventDefault(),t.selectAll());break;case"Escape":D.preventDefault(),l||t.clearSelection();break;case"Tab":if(!f){if(D.shiftKey)n.current.focus();else{let A=ra(n.current,{tabbable:!0}),j,V;do V=A.lastChild(),V&&(j=V);while(V);j&&!j.contains(document.activeElement)&&El(j)}break}}},$=O.useRef({top:0,left:0});XZ(p,"scroll",h?null:()=>{$.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let y=D=>{if(t.isFocused){D.currentTarget.contains(D.target)||t.setFocused(!1);return}if(D.currentTarget.contains(D.target)){if(t.setFocused(!0),t.focusedKey==null){let T=Q=>{Q!=null&&(t.setFocusedKey(Q),u&&t.replaceSelection(Q))},_=D.relatedTarget;var R,B;_&&D.currentTarget.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_FOLLOWING?T((R=t.lastSelectedKey)!==null&&R!==void 0?R:r.getLastKey()):T((B=t.firstSelectedKey)!==null&&B!==void 0?B:r.getFirstKey())}else h||(p.current.scrollTop=$.current.top,p.current.scrollLeft=$.current.left);if(!h&&t.focusedKey!=null){let T=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);T&&(T.contains(document.activeElement)||El(T),bs()==="keyboard"&&io(T,{containingElement:n.current}))}}},S=D=>{D.currentTarget.contains(D.relatedTarget)||t.setFocused(!1)};const k=O.useRef(i);O.useEffect(()=>{if(k.current){let D=null;i==="first"&&(D=r.getFirstKey()),i==="last"&&(D=r.getLastKey());let R=t.selectedKeys;if(R.size){for(let B of R)if(t.canSelectItem(B)){D=B;break}}t.setFocused(!0),t.setFocusedKey(D),D==null&&!d&&Tn(n.current)}},[]);let C=O.useRef(t.focusedKey);O.useEffect(()=>{let D=bs();if(t.isFocused&&t.focusedKey!=null&&(p!=null&&p.current)){let R=p.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(D==="keyboard"||k.current)&&(h||DT(p.current,R),io(R,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&C.current!=null&&Tn(n.current),C.current=t.focusedKey,k.current=!1},[h,p,t.focusedKey,t.isFocused,n]);let F={onKeyDown:v,onFocus:y,onBlur:S,onMouseDown(D){p.current===D.target&&D.preventDefault()}},{typeSelectProps:E}=AH({keyboardDelegate:r,selectionManager:t});c||(F=Oe(E,F));let M;return d||(M=t.focusedKey==null?0:-1),{collectionProps:{...F,tabIndex:M}}}function U1(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,f=zh(),h=Z=>{if(Z.pointerType==="keyboard"&&dx(Z))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(d==="selection"){f.open(n.current,Z),t.setSelectedKeys(t.selectedKeys);return}else if(d==="override"||d==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):Z&&Z.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||Z&&(Ju(Z)||Z.pointerType==="touch"||Z.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};O.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!a&&(l?l():document.activeElement!==n.current&&Tn(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(r);let p={};!a&&!s?p={tabIndex:r===t.focusedKey?0:-1,onFocus(Z){Z.target===n.current&&t.setFocusedKey(r)}}:s&&(p.onMouseDown=Z=>{Z.preventDefault()});let m=t.isLink(r)&&d==="override",g=t.isLink(r)&&d!=="selection"&&d!=="none",b=!s&&t.canSelectItem(r)&&!m,v=(u||g)&&!s,$=v&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),y=v&&b&&t.selectionBehavior==="replace",S=$||y,k=O.useRef(null),C=S&&b,F=O.useRef(!1),E=O.useRef(!1),M=Z=>{u&&u(),g&&f.open(n.current,Z)},D={};i?(D.onPressStart=Z=>{k.current=Z.pointerType,F.current=C,Z.pointerType==="keyboard"&&(!S||F_())&&h(Z)},c?(D.onPressUp=$?null:Z=>{Z.pointerType!=="keyboard"&&b&&h(Z)},D.onPress=$?M:null):D.onPress=Z=>{if($||y&&Z.pointerType!=="mouse"){if(Z.pointerType==="keyboard"&&!P_())return;M(Z)}else Z.pointerType!=="keyboard"&&b&&h(Z)}):(D.onPressStart=Z=>{k.current=Z.pointerType,F.current=C,E.current=$,b&&(Z.pointerType==="mouse"&&!$||Z.pointerType==="keyboard"&&(!v||F_()))&&h(Z)},D.onPress=Z=>{(Z.pointerType==="touch"||Z.pointerType==="pen"||Z.pointerType==="virtual"||Z.pointerType==="keyboard"&&S&&P_()||Z.pointerType==="mouse"&&E.current)&&(S?M(Z):b&&h(Z))}),p["data-key"]=r,D.preventFocusOnPress=a;let{pressProps:R,isPressed:B}=zi(D),T=y?Z=>{k.current==="mouse"&&(Z.stopPropagation(),Z.preventDefault(),M(Z))}:void 0,{longPressProps:_}=fU({isDisabled:!C,onLongPress(Z){Z.pointerType==="touch"&&(h(Z),t.setSelectionBehavior("toggle"))}}),Q=Z=>{k.current==="touch"&&F.current&&Z.preventDefault()},W=t.isLink(r)?Z=>{vs.isOpening||Z.preventDefault()}:void 0;return{itemProps:Oe(p,b||$?R:{},C?_:{},{onDoubleClick:T,onDragStartCapture:Q,onClick:W}),isPressed:B,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:s,allowsSelection:b,hasAction:S}}function P_(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function F_(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class UT{getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let i=this.getItem(t);if(!i)return null;let a=i.getBoundingClientRect();do t=r(t),i=this.getItem(t);while(i&&n(a,i.getBoundingClientRect()));return t}isSameRow(t,r){return t.top===r.top||t.left!==r.left}isSameColumn(t,r){return t.left===r.left||t.top!==r.top}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,r){return r?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`)}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!Vg(r))return this.getFirstKey();let i=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let l=i.x-r.scrollLeft,s=Math.max(0,a.x-l+a.width-i.width);for(;n&&a.x-l>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}else{let l=i.y-r.scrollTop,s=Math.max(0,a.y-l+a.height-i.height);for(;n&&a.y-l>s;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),a=n==null?void 0:n.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!Vg(r))return this.getLastKey();let i=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(this.orientation==="horizontal"){let l=i.x-r.scrollLeft,s=Math.min(r.scrollWidth,a.x-l-a.width+i.width);for(;n&&a.x-la||new UT(r,s==="selection"?new Set:n,i,l),[a,r,n,i,l,s]),{collectionProps:c}=ZT({...e,ref:i,selectionManager:t,keyboardDelegate:u});return{listProps:c}}function cge(e){return e&&e.__esModule?e.default:e}var RH={};RH={"ar-AE":Yq,"bg-BG":Gq,"cs-CZ":Xq,"da-DK":Jq,"de-DE":eH,"el-GR":tH,"en-US":rH,"es-ES":nH,"et-EE":iH,"fi-FI":aH,"fr-FR":lH,"he-IL":oH,"hr-HR":sH,"hu-HU":uH,"it-IT":cH,"ja-JP":dH,"ko-KR":fH,"lt-LT":hH,"lv-LV":pH,"nb-NO":mH,"nl-NL":gH,"pl-PL":vH,"pt-BR":bH,"pt-PT":yH,"ro-RO":$H,"ru-RU":OH,"sk-SK":xH,"sl-SI":SH,"sr-SP":wH,"sv-SE":kH,"tr-TR":CH,"uk-UA":EH,"zh-CN":PH,"zh-TW":FH};function qT(e,t,r){let{type:n="menu",isDisabled:i,trigger:a="press"}=e,l=ar(),{triggerProps:s,overlayProps:u}=VT({type:n},t,r),c=p=>{if(!i&&!(a==="longPress"&&!p.altKey)&&r&&r.current)switch(p.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),t.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},d=or(cge(RH),"@react-aria/menu"),{longPressProps:f}=fU({isDisabled:i||a!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),h={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!i&&t.toggle(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!i&&t.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...a==="press"?h:f,id:l,onKeyDown:c},menuProps:{...u,"aria-labelledby":l,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const TH=new WeakMap;function dge(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:a,...l}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let s=Yt(e,{labelable:!0}),{listProps:u}=DH({...l,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return TH.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:Oe(s,{onKeyDown:i,onKeyUp:a},{role:"menu",...u,onKeyDown:c=>{c.key!=="Escape"&&u.onKeyDown(c)}})}}function fge(e,t,r){var n;let{key:i,closeOnSelect:a,isVirtualized:l,"aria-haspopup":s,onPressStart:u,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:h,onHoverStart:p,onHoverChange:m,onHoverEnd:g,onKeyDown:b,onKeyUp:v,onFocus:$,onFocusChange:y,onBlur:S}=e,k=!!s;var C;let F=(C=e.isDisabled)!==null&&C!==void 0?C:t.disabledKeys.has(i);var E;let M=(E=e.isSelected)!==null&&E!==void 0?E:t.selectionManager.isSelected(i),D=TH.get(t),R=e.onClose||D.onClose,B=k?()=>{}:e.onAction||D.onAction,T=zh(),_=Re=>{B&&B(i),Re.target instanceof HTMLAnchorElement&&T.open(Re.target,Re)},Q="menuitem";k||(t.selectionManager.selectionMode==="single"?Q="menuitemradio":t.selectionManager.selectionMode==="multiple"&&(Q="menuitemcheckbox"));let W=Tl(),Z=Tl(),q=Tl(),U={"aria-disabled":F||void 0,role:Q,"aria-label":e["aria-label"],"aria-labelledby":W,"aria-describedby":[Z,q].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":s,"aria-expanded":e["aria-expanded"]};t.selectionManager.selectionMode!=="none"&&!k&&(U["aria-checked"]=M);let A=t.collection.getItem(i);l&&(U["aria-posinset"]=A==null?void 0:A.index,U["aria-setsize"]=ET(t.collection));let j=Re=>{Re.pointerType==="keyboard"&&_(Re),u==null||u(Re)},V=Re=>{Re.pointerType!=="keyboard"&&(_(Re),!k&&R&&(a??(t.selectionManager.selectionMode!=="multiple"||t.selectionManager.isLink(i)))&&R()),c==null||c(Re)},{itemProps:I,isFocused:Y}=U1({selectionManager:t.selectionManager,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:ee,isPressed:se}=zi({onPressStart:j,onPress:d,onPressUp:V,onPressChange:f,onPressEnd:h,isDisabled:F}),{hoverProps:le}=Er({isDisabled:F,onHoverStart(Re){Oo()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i)),p==null||p(Re)},onHoverChange:m,onHoverEnd:g}),{keyboardProps:be}=V1({onKeyDown:Re=>{if(Re.repeat){Re.continuePropagation();return}switch(Re.key){case" ":!F&&t.selectionManager.selectionMode==="none"&&!k&&a!==!1&&R&&R();break;case"Enter":!F&&a!==!1&&!k&&R&&R();break;default:k||Re.continuePropagation(),b==null||b(Re);break}},onKeyUp:v}),{focusProps:Je}=Uh({onBlur:S,onFocus:$,onFocusChange:y}),Ve=Yt(A.props,{isLink:!!(!(A==null||(n=A.props)===null||n===void 0)&&n.href)});return delete Ve.id,{menuItemProps:{...U,...Oe(Ve,k?{onFocus:I.onFocus}:I,ee,le,be,Je),tabIndex:I.tabIndex!=null?-1:void 0},labelProps:{id:W},descriptionProps:{id:Z},keyboardShortcutProps:{id:q},isFocused:Y,isSelected:M,isPressed:se,isDisabled:F}}function hge(e){let{heading:t,"aria-label":r}=e,n=ar();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}function Xh(e){let[t,r]=da(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=O.useCallback(()=>{r(!0)},[r]),i=O.useCallback(()=>{r(!1)},[r]),a=O.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:i,toggle:a}}function pge(e){let t=Xh(e),[r,n]=O.useState(null),[i,a]=O.useState([]),l=()=>{a([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){l()},UNSTABLE_expandedKeysStack:i,UNSTABLE_openSubmenu:(c,d)=>{a(f=>d>f.length?f:[...f.slice(0,d),c])},UNSTABLE_closeSubmenu:(c,d)=>{a(f=>f[d]===c?f.slice(0,d):f)}}}var IH={};Object.defineProperty(IH,"__esModule",{value:!0});var mge=IH.ArrowDownSmall=MH,By=gge(O);function gge(e){return e&&e.__esModule?e:{default:e}}function fx(){return fx=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function bge(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function MH(e){var t=e.scale,r=t===void 0?"M":t,n=vge(e,["scale"]);return By.default.createElement("svg",fx({},n,n),r==="L"&&By.default.createElement("path",{d:"M9.99 7.01a1 1 0 0 0-1.707-.707L6 8.586V1.01a1 1 0 0 0-2 0v7.576L1.717 6.303A1 1 0 1 0 .303 7.717l3.99 3.98a1 1 0 0 0 1.414 0l3.99-3.98a.997.997 0 0 0 .293-.707z"}),r==="M"&&By.default.createElement("path",{d:"M7.99 6.01a1 1 0 0 0-1.707-.707L5 6.586V1a1 1 0 0 0-2 0v5.586L1.717 5.303A1 1 0 1 0 .303 6.717l2.99 2.98a1 1 0 0 0 1.414 0l2.99-2.98a.997.997 0 0 0 .293-.707z"}))}MH.displayName="ArrowDownSmall";function xv(e){return w.createElement(Ln,e,w.createElement(mge,null))}class Ua extends Set{constructor(t,r,n){super(t),t instanceof Ua?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function yge(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function HT(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:a="all"}=e,l=O.useRef(!1),[,s]=O.useState(!1),u=O.useRef(null),c=O.useRef(null),[,d]=O.useState(null),f=O.useMemo(()=>A_(e.selectedKeys),[e.selectedKeys]),h=O.useMemo(()=>A_(e.defaultSelectedKeys,new Ua),[e.defaultSelectedKeys]),[p,m]=da(f,h,e.onSelectionChange),g=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,v]=O.useState(i);i==="replace"&&b==="toggle"&&typeof p=="object"&&p.size===0&&v("replace");let $=O.useRef(i);return O.useEffect(()=>{i!==$.current&&(v(i),$.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:b,setSelectionBehavior:v,get isFocused(){return l.current},setFocused(y){l.current=y,s(y)},get focusedKey(){return u.current},get childFocusStrategy(){return c.current},setFocusedKey(y,S="first"){u.current=y,c.current=S,d(y)},selectedKeys:p,setSelectedKeys(y){(n||!yge(y,p))&&m(y)},disabledKeys:g,disabledBehavior:a}}function A_(e,t){return e?e==="all"?"all":new Ua(e):t}class KT{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&yy(this.collection,n,t)<0)&&(t=n)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&yy(this.collection,n,t)>0)&&(t=n)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let r;if(this.state.selectedKeys==="all")r=new Ua([t],t,t);else{let n=this.state.selectedKeys,i=n.anchorKey||t;r=new Ua(n,i,t);for(let a of this.getKeyRange(i,n.currentKey||t))r.delete(a);for(let a of this.getKeyRange(t,i))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),i=this.collection.getItem(r);return n&&i?yy(this.collection,n,i)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],i=t;for(;i;){let a=this.collection.getItem(i);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(i),i===r)return n;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let r=new Ua(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let r=this.canSelectItem(t)?new Ua([t],t,t):new Ua;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Ua;for(let n of t)if(n=this.getKey(n),n!=null&&(r.add(n),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=[],r=n=>{for(;n;){if(this.canSelectItem(n)){let i=this.collection.getItem(n);i.type==="item"&&t.push(n),i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&r(lo(mr(i,this.collection)).key)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ua)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}constructor(t,r,n){this.collection=t,this.state=r;var i;this.allowsCellSelection=(i=n==null?void 0:n.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null}}class $ge{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.iterable=t,r=r||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||r.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let i,a=0;for(let[l,s]of this.keyMap)i?(i.nextKey=l,s.prevKey=i.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),i=s,i.nextKey=void 0;this.lastKey=i==null?void 0:i.key}}function Oge(e){let[t,r]=da(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),n=HT(e),i=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=CT(e,O.useCallback(s=>new $ge(s,{expandedKeys:t}),[t]),null);return O.useEffect(()=>{n.focusedKey!=null&&!a.getItem(n.focusedKey)&&n.setFocusedKey(null)},[a,n.focusedKey]),{collection:a,expandedKeys:t,disabledKeys:i,toggleKey:s=>{r(xge(t,s))},setExpandedKeys:r,selectionManager:new KT(a,n)}}function xge(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var BH={};Object.defineProperty(BH,"__esModule",{value:!0});var Sge=BH.CheckmarkMedium=_H,_y=wge(O);function wge(e){return e&&e.__esModule?e:{default:e}}function hx(){return hx=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Cge(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function _H(e){var t=e.scale,r=t===void 0?"M":t,n=kge(e,["scale"]);return _y.default.createElement("svg",hx({},n,n),r==="L"&&_y.default.createElement("path",{d:"M6 14a1 1 0 0 1-.789-.385l-4-5a1 1 0 1 1 1.577-1.23L6 11.376l7.213-8.99a1 1 0 1 1 1.576 1.23l-8 10a1 1 0 0 1-.789.384z"}),r==="M"&&_y.default.createElement("path",{d:"M4.5 10a1.022 1.022 0 0 1-.799-.384l-2.488-3a1 1 0 0 1 1.576-1.233L4.5 7.376l4.712-5.991a1 1 0 1 1 1.576 1.23l-5.51 7A.978.978 0 0 1 4.5 10z"}))}_H.displayName="CheckmarkMedium";function q1(e){return w.createElement(Ln,e,w.createElement(Sge,null))}var NH={};Object.defineProperty(NH,"__esModule",{value:!0});var Ege=NH.A4uChevronLeft=Fge,D_=Pge(O);function Pge(e){return e&&e.__esModule?e:{default:e}}function Sv(){return Sv=Object.assign?Object.assign.bind():function(e){for(var t=1;t`"${t}"`).join(` +`)}function kv(e){return/^max-content|min-content|minmax|auto|fit-content|repeat|subgrid/.test(e)?e:_t(e)}function T_(e){return Array.isArray(e)?e.map(kv).join(" "):kv(e)}const GT=O.forwardRef(_ge);var H1={};YT(H1,"flex",()=>px,e=>px=e);YT(H1,"flex-container",()=>mx,e=>mx=e);YT(H1,"flex-gap",()=>gx,e=>gx=e);var px,mx,gx;px="NW91UW_flex";mx="NW91UW_flex-container";gx="NW91UW_flex-gap";const Lge={direction:["flexDirection",vn],wrap:["flexWrap",Qge],justifyContent:["justifyContent",Ny],alignItems:["alignItems",Ny],alignContent:["alignContent",Ny]};function Vge(e,t){let{children:r,...n}=e,i=oU(),a=(i==null?void 0:i.matchedBreakpoints)||["base"],{styleProps:l}=Nt(n),{styleProps:s}=Nt(n,Lge),u=Xr(t),c={...l.style,...s.style};return e.gap!=null&&(c.gap=ky(e.gap,a)),e.columnGap!=null&&(c.columnGap=ky(e.columnGap,a)),e.rowGap!=null&&(c.rowGap=ky(e.rowGap,a)),w.createElement("div",{...Yt(n),className:z(Mge(H1),"flex",l.className),style:c,ref:u},r)}function Ny(e){return e==="start"?"flex-start":e==="end"?"flex-end":e}function Qge(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}const To=O.forwardRef(Vge);var VH={};Object.defineProperty(VH,"__esModule",{value:!0});var zge=VH.A4uInfoOutline=Wge,I_=jge(O);function jge(e){return e&&e.__esModule?e:{default:e}}function Cv(){return Cv=Object.assign?Object.assign.bind():function(e){for(var t=1;tvx,e=>vx=e);rt(Me,"chevron",()=>bx,e=>bx=e);rt(Me,"description",()=>yx,e=>yx=e);rt(Me,"end",()=>$x,e=>$x=e);rt(Me,"focus-ring",()=>Ox,e=>Ox=e);rt(Me,"i18nFontFamily",()=>xx,e=>xx=e);rt(Me,"icon",()=>Sx,e=>Sx=e);rt(Me,"is-active",()=>wx,e=>wx=e);rt(Me,"is-disabled",()=>kx,e=>kx=e);rt(Me,"is-expanded",()=>Cx,e=>Cx=e);rt(Me,"is-focused",()=>Ex,e=>Ex=e);rt(Me,"is-highlighted",()=>Px,e=>Px=e);rt(Me,"is-hovered",()=>Fx,e=>Fx=e);rt(Me,"is-open",()=>Ax,e=>Ax=e);rt(Me,"is-selectable",()=>Dx,e=>Dx=e);rt(Me,"is-selected",()=>Rx,e=>Rx=e);rt(Me,"keyboard",()=>Tx,e=>Tx=e);rt(Me,"spectrum-FocusRing-ring",()=>Pv,e=>Pv=e);rt(Me,"spectrum-FocusRing",()=>Ix,e=>Ix=e);rt(Me,"spectrum-FocusRing--quiet",()=>Mx,e=>Mx=e);rt(Me,"spectrum-Icon",()=>Bx,e=>Bx=e);rt(Me,"spectrum-Menu",()=>_x,e=>_x=e);rt(Me,"spectrum-Menu-avatar",()=>Nx,e=>Nx=e);rt(Me,"spectrum-Menu-checkmark",()=>Lx,e=>Lx=e);rt(Me,"spectrum-Menu-chevron",()=>Vx,e=>Vx=e);rt(Me,"spectrum-Menu-description",()=>Qx,e=>Qx=e);rt(Me,"spectrum-Menu-divider",()=>zx,e=>zx=e);rt(Me,"spectrum-Menu-end",()=>jx,e=>jx=e);rt(Me,"spectrum-Menu-icon",()=>Wx,e=>Wx=e);rt(Me,"spectrum-Menu-item",()=>Zx,e=>Zx=e);rt(Me,"spectrum-Menu-itemGrid",()=>Ux,e=>Ux=e);rt(Me,"spectrum-Menu-itemIcon",()=>qx,e=>qx=e);rt(Me,"spectrum-Menu-itemLabel",()=>Hx,e=>Hx=e);rt(Me,"spectrum-Menu-itemLabel--wrapping",()=>Kx,e=>Kx=e);rt(Me,"spectrum-Menu-keyboard",()=>Yx,e=>Yx=e);rt(Me,"spectrum-Menu-popover",()=>Gx,e=>Gx=e);rt(Me,"spectrum-Menu-section--isFirst",()=>Xx,e=>Xx=e);rt(Me,"spectrum-Menu-section--isLast",()=>Jx,e=>Jx=e);rt(Me,"spectrum-Menu-section--noHeading",()=>eS,e=>eS=e);rt(Me,"spectrum-Menu-sectionHeading",()=>tS,e=>tS=e);rt(Me,"spectrum-Menu-subdialog",()=>rS,e=>rS=e);rt(Me,"spectrum-Menu-wrapper",()=>nS,e=>nS=e);rt(Me,"spectrum-Menu-wrapper--isMobile",()=>iS,e=>iS=e);rt(Me,"spectrum-Submenu-heading",()=>aS,e=>aS=e);rt(Me,"spectrum-Submenu-headingWrapper",()=>lS,e=>lS=e);rt(Me,"spectrum-Submenu-popover",()=>oS,e=>oS=e);rt(Me,"spectrum-Submenu-wrapper",()=>sS,e=>sS=e);rt(Me,"text",()=>uS,e=>uS=e);var vx,bx,yx,$x,Ox,xx,Sx,wx,kx,Cx,Ex,Px,Fx,Ax,Dx,Rx,Tx,Pv,Ix,Mx,Bx,_x,Nx,Lx,Vx,Qx,zx,jx,Wx,Zx,Ux,qx,Hx,Kx,Yx,Gx,Xx,Jx,eS,tS,rS,nS,iS,aS,lS,oS,sS,uS;vx="Q7FggG_checkmark";bx="Q7FggG_chevron";yx="Q7FggG_description";$x="Q7FggG_end";Ox="Q7FggG_focus-ring";xx="Q7FggG_i18nFontFamily";Sx="Q7FggG_icon";wx="Q7FggG_is-active";kx="Q7FggG_is-disabled";Cx="Q7FggG_is-expanded";Ex="Q7FggG_is-focused";Px="Q7FggG_is-highlighted";Fx="Q7FggG_is-hovered";Ax="Q7FggG_is-open";Dx="Q7FggG_is-selectable";Rx="Q7FggG_is-selected";Tx="Q7FggG_keyboard";Pv="Q7FggG_spectrum-FocusRing-ring";Ix=`Q7FggG_spectrum-FocusRing ${Pv}`;Mx="Q7FggG_spectrum-FocusRing--quiet";Bx="Q7FggG_spectrum-Icon";_x="Q7FggG_spectrum-Menu";Nx="Q7FggG_spectrum-Menu-avatar";Lx="Q7FggG_spectrum-Menu-checkmark";Vx="Q7FggG_spectrum-Menu-chevron";Qx="Q7FggG_spectrum-Menu-description";zx="Q7FggG_spectrum-Menu-divider";jx="Q7FggG_spectrum-Menu-end";Wx="Q7FggG_spectrum-Menu-icon";Zx="Q7FggG_spectrum-Menu-item";Ux="Q7FggG_spectrum-Menu-itemGrid";qx="Q7FggG_spectrum-Menu-itemIcon";Hx="Q7FggG_spectrum-Menu-itemLabel";Kx="Q7FggG_spectrum-Menu-itemLabel--wrapping";Yx="Q7FggG_spectrum-Menu-keyboard";Gx="Q7FggG_spectrum-Menu-popover";Xx="Q7FggG_spectrum-Menu-section--isFirst";Jx="Q7FggG_spectrum-Menu-section--isLast";eS="Q7FggG_spectrum-Menu-section--noHeading";tS="Q7FggG_spectrum-Menu-sectionHeading";rS="Q7FggG_spectrum-Menu-subdialog";nS="Q7FggG_spectrum-Menu-wrapper";iS="Q7FggG_spectrum-Menu-wrapper--isMobile";aS="Q7FggG_spectrum-Submenu-heading";lS="Q7FggG_spectrum-Submenu-headingWrapper";oS="Q7FggG_spectrum-Submenu-popover";sS="Q7FggG_spectrum-Submenu-wrapper";uS="Q7FggG_text";function Xge(e,t){let r=O.useRef(),i=Xr(t)||r,a=O.useRef(),{children:l,align:s="start",shouldFlip:u=!0,direction:c="bottom",closeOnSelect:d,trigger:f="press"}=e,[h,p]=w.Children.toArray(l),m=pge(e),{menuTriggerProps:g,menuProps:b}=qT({trigger:f},m,i),v;switch(c){case"left":case"right":case"start":case"end":v=`${c} ${s==="end"?"bottom":"top"}`;break;case"bottom":case"top":default:v=`${c} ${s}`}let $=Zh(),y={...b,ref:a,onClose:m.close,closeOnSelect:d,autoFocus:m.focusStrategy||!0,UNSAFE_style:$?{width:"100%",maxHeight:"inherit"}:void 0,UNSAFE_className:z(rn(Me),{"spectrum-Menu-popover":!$}),state:m},S;return $?S=w.createElement(Z1,{state:m,isFixedHeight:!0},p):S=w.createElement(W1,{UNSAFE_style:{clipPath:"unset",overflow:"visible",filter:"unset",borderWidth:"0px"},state:m,triggerRef:i,scrollRef:a,placement:v,hideArrow:!0,shouldFlip:u},p),w.createElement(O.Fragment,null,w.createElement(Ma,{slots:{actionButton:{holdAffordance:f==="longPress"}}},w.createElement(_1,{...g,ref:i,isPressed:m.isOpen},h)),w.createElement(JT.Provider,{value:y},S))}let Jge=O.forwardRef(Xge);var eI={};eI={"ar-AE":mq,"bg-BG":gq,"cs-CZ":vq,"da-DK":bq,"de-DE":yq,"el-GR":$q,"en-US":Oq,"es-ES":xq,"et-EE":Sq,"fi-FI":wq,"fr-FR":kq,"he-IL":Cq,"hr-HR":Eq,"hu-HU":Pq,"it-IT":Fq,"ja-JP":Aq,"ko-KR":Dq,"lt-LT":Rq,"lv-LV":Tq,"nb-NO":Iq,"nl-NL":Mq,"pl-PL":Bq,"pt-BR":_q,"pt-PT":Nq,"ro-RO":Lq,"ru-RU":Vq,"sk-SK":Qq,"sl-SI":zq,"sr-SP":jq,"sv-SE":Wq,"tr-TR":Zq,"uk-UA":Uq,"zh-CN":qq,"zh-TW":Hq};function jH(e){let{item:t,state:r,isVirtualized:n,onAction:i}=e,{closeOnSelect:a}=Hge(),{rendered:l,key:s}=t,u=or(rn(eI),"@react-spectrum/menu"),{direction:c}=yr(),d=Yge(),{triggerRef:f,...h}=d||{},p=!!d,m,g=t.props.href?"a":"div";p&&(m=d.isUnavailable);let b=r.disabledKeys.has(s),v=!p&&r.selectionManager.selectionMode!=="none",$=v&&r.selectionManager.isSelected(s),y=O.useRef(null),S=AT(O.useMemo(()=>zZ(y,f),[y,f])),{menuItemProps:k,labelProps:C,descriptionProps:F,keyboardShortcutProps:E}=fge({isSelected:$,isDisabled:b,"aria-label":t["aria-label"],key:s,closeOnSelect:a,isVirtualized:n,onAction:i,...h},r,S),M=Tl(),D={};M&&(D.id=M,k["aria-describedby"]=[k["aria-describedby"],M].filter(Boolean).join(" "));let R=typeof l=="string"?w.createElement(Yh,null,l):l;return w.createElement(_r,{focusRingClass:z(rn(Me),"focus-ring")},w.createElement(g,{...k,ref:S,className:z(rn(Me),"spectrum-Menu-item",{"is-disabled":b,"is-selected":$,"is-selectable":v,"is-open":h.isOpen})},w.createElement(GT,{UNSAFE_className:z(rn(Me),"spectrum-Menu-itemGrid")},w.createElement(B1,null,w.createElement(Ma,{slots:{text:{UNSAFE_className:rn(Me)["spectrum-Menu-itemLabel"],...C},end:{UNSAFE_className:rn(Me)["spectrum-Menu-end"],...D},icon:{UNSAFE_className:rn(Me)["spectrum-Menu-icon"],size:"S"},description:{UNSAFE_className:rn(Me)["spectrum-Menu-description"],...F},keyboard:{UNSAFE_className:rn(Me)["spectrum-Menu-keyboard"],...E},chevron:{UNSAFE_className:rn(Me)["spectrum-Menu-chevron"],size:"S"}}},R,$&&w.createElement(q1,{slot:"checkmark",UNSAFE_className:z(rn(Me),"spectrum-Menu-checkmark")}),m&&w.createElement(XT,{slot:"end",size:"XS",alignSelf:"center","aria-label":u.format("unavailable")}),m==null&&p&&(c==="rtl"?w.createElement(Age,{slot:"chevron"}):w.createElement(Ige,{slot:"chevron"})))))))}function eve(e){var t;let{item:r,state:n,onAction:i}=e,{itemProps:a,headingProps:l,groupProps:s}=hge({heading:r.rendered,"aria-label":r["aria-label"]}),{separatorProps:u}=Zge({elementType:"div"}),c=n.collection.getFirstKey(),d=(t=[...n.collection].filter(p=>p.type==="section").at(-1))===null||t===void 0?void 0:t.key,f=c===r.key&&n.collection.getFirstKey()===c,h=d===r.key&&n.collection.getItem(n.collection.getLastKey()).parentKey===d;return w.createElement(O.Fragment,null,r.key!==n.collection.getFirstKey()&&w.createElement("div",{...u,className:z(rn(Me),"spectrum-Menu-divider")}),w.createElement("div",a,r.rendered&&w.createElement("span",{...l,className:z(rn(Me),"spectrum-Menu-sectionHeading")},r.rendered),w.createElement("div",{...s,className:z(rn(Me),"spectrum-Menu",{"spectrum-Menu-section--noHeading":r.rendered==null,"spectrum-Menu-section--isFirst":f,"spectrum-Menu-section--isLast":h})},[...mr(r,n.collection)].map(p=>{let m=w.createElement(jH,{key:p.key,item:p,state:n,onAction:i});return p.wrapper&&(m=p.wrapper(m)),m}))))}function tve(e,t){let r=!0,n=O.useContext(JT),i=Gge(),{rootMenuTriggerState:a,state:l}=i||{rootMenuTriggerState:n.state};i||(r=!1);let s={...Oe(n,e)},u=Xr(t),c=O.useRef(null),d=O.useRef(null),f=Oge(s),h=O.useRef(null),{menuProps:p}=dge(s,f,u),{styleProps:m}=Nt(s);T1(n,u);let[g,b]=O.useState({left:0});O.useEffect(()=>{if(c.current){let{left:S}=c.current.getBoundingClientRect();b({left:-1*S})}},[]);var v;let $=(v=n.submenuLevel)!==null&&v!==void 0?v:-1,y=f.collection.getItem(a==null?void 0:a.UNSTABLE_expandedKeysStack[$+1])!=null;return w.createElement(zH.Provider,{value:{popoverContainerRef:c,trayContainerRef:d,menu:u,submenu:h,rootMenuTriggerState:a,state:f}},w.createElement("div",{style:{height:y?"100%":void 0},ref:d}),w.createElement(qh,null,w.createElement(rve,{onBackButtonPress:n.onBackButtonPress,hasOpenSubmenu:y,isSubmenu:r,parentMenuTreeState:l,rootMenuTriggerState:a},w.createElement("div",{...p,style:Oe(m.style,p.style),ref:u,className:z(rn(Me),"spectrum-Menu",m.className)},[...f.collection].map(S=>{if(S.type==="section")return w.createElement(eve,{key:S.key,item:S,state:f,onAction:s.onAction});let k=w.createElement(jH,{key:S.key,item:S,state:f,onAction:s.onAction});return S.wrapper&&(k=S.wrapper(k)),k}))),(a==null?void 0:a.isOpen)&&w.createElement("div",{ref:c,style:{width:"100vw",position:"absolute",top:-5,...g}})))}function rve(e){var t;let{children:r,isSubmenu:n,hasOpenSubmenu:i,parentMenuTreeState:a,rootMenuTriggerState:l,onBackButtonPress:s,wrapperKeyDown:u}=e,c=or(rn(eI),"@react-spectrum/menu"),d=a==null||(t=a.collection.getItem(l==null?void 0:l.UNSTABLE_expandedKeysStack.slice(-1)[0]))===null||t===void 0?void 0:t.textValue,f=c.format("backButton",{prevMenuButton:d}),h=Tl(),p=Zh(),{direction:m}=yr();return w.createElement(w.Fragment,null,w.createElement("div",{role:h?"dialog":void 0,"aria-labelledby":h,"aria-hidden":p&&i,"data-testid":"menu-wrapper",className:z(rn(Me),"spectrum-Menu-wrapper",{"spectrum-Menu-wrapper--isMobile":p,"is-expanded":i})},w.createElement("div",{role:"presentation",className:z(rn(Me),"spectrum-Submenu-wrapper"),onKeyDown:u},p&&n&&!i&&w.createElement("div",{className:z(rn(Me),"spectrum-Submenu-headingWrapper")},w.createElement(xo,{"aria-label":f,isQuiet:!0,onPress:s},m==="rtl"?w.createElement(xv,{UNSAFE_style:{rotate:"270deg"}}):w.createElement(xv,{UNSAFE_style:{rotate:"90deg"}})),w.createElement("h1",{id:h,className:z(rn(Me),"spectrum-Submenu-heading")},d)),r)))}const nve=w.forwardRef(tve);var Jh={};rt(Jh,"react-spectrum-ContextualHelp-button",()=>cS,e=>cS=e);rt(Jh,"react-spectrum-ContextualHelp-content",()=>dS,e=>dS=e);rt(Jh,"react-spectrum-ContextualHelp-dialog",()=>fS,e=>fS=e);rt(Jh,"react-spectrum-ContextualHelp-dialog--isMobile",()=>hS,e=>hS=e);rt(Jh,"react-spectrum-ContextualHelp-footer",()=>pS,e=>pS=e);var cS,dS,fS,hS,pS;cS="L6gUaa_react-spectrum-ContextualHelp-button";dS="L6gUaa_react-spectrum-ContextualHelp-content";fS="L6gUaa_react-spectrum-ContextualHelp-dialog";hS="L6gUaa_react-spectrum-ContextualHelp-dialog--isMobile";pS="L6gUaa_react-spectrum-ContextualHelp-footer";class mS{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)r(l)};for(let a of t)r(a);let n,i=0;for(let[a,l]of this.keyMap)n?(n.nextKey=a,l.prevKey=n.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=i++),n=l,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}function ive(e){let{filter:t}=e,r=HT(e),n=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=O.useCallback(c=>t?new mS(t(c)):new mS(c),[t]),a=O.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=CT(e,i,a),s=O.useMemo(()=>new KT(l,r),[l,r]);const u=O.useRef(null);return O.useEffect(()=>{if(r.focusedKey!=null&&!l.getItem(r.focusedKey)){const c=u.current.getItem(r.focusedKey),d=[...u.current.getKeys()].map(g=>{const b=u.current.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),f=[...l.getKeys()].map(g=>{const b=l.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),h=d.length-f.length;let p=Math.min(h>1?Math.max(c.index-h+1,0):c.index,f.length-1),m;for(;p>=0;){if(!s.isDisabled(f[p].key)){m=f[p];break}pc.index&&(p=c.index),p--)}r.setFocusedKey(m?m.key:null)}u.current=l},[l,s,r,r.focusedKey]),{collection:l,disabledKeys:n,selectionManager:s}}function WH(e){var t;let[r,n]=da(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=O.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:l,selectionManager:s}=ive({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:l,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:u}}var ZH={};Object.defineProperty(ZH,"__esModule",{value:!0});var UH=ZH.AlertSmall=qH,Ly=ave(O);function ave(e){return e&&e.__esModule?e:{default:e}}function gS(){return gS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ove(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function qH(e){var t=e.scale,r=t===void 0?"M":t,n=lve(e,["scale"]);return Ly.default.createElement("svg",gS({},n,n),r==="L"&&Ly.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&Ly.default.createElement("path",{d:"M6.66 1.003L.157 12.643a.389.389 0 0 0 .339.58h13.01a.389.389 0 0 0 .34-.58L7.338 1.004a.389.389 0 0 0-.678 0zm1.118 10.47a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.195v-1.166a.194.194 0 0 1 .195-.195h1.166a.194.194 0 0 1 .195.195zm0-2.334a.194.194 0 0 1-.195.194H6.417a.194.194 0 0 1-.195-.194V4.472a.194.194 0 0 1 .195-.194h1.166a.194.194 0 0 1 .195.194z"}))}qH.displayName="AlertSmall";const HH=e=>w.createElement("svg",Gc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M12.717 8.678 9 2.175C8.422 1.103 7.058.689 5.954 1.25a2.225 2.225 0 0 0-.95.92L1.278 8.687a2.198 2.198 0 0 0 .058 2.238A2.264 2.264 0 0 0 3.278 12h7.445a2.264 2.264 0 0 0 1.941-1.075 2.2 2.2 0 0 0 .053-2.247ZM6.133 4.133c0-.478.388-.866.866-.867.478 0 .867.388.868.866v3a.868.868 0 0 1-1.734.002V4.133ZM7 11.1c-.661 0-1.2-.538-1.2-1.2 0-.661.538-1.2 1.2-1.2.661 0 1.2.538 1.2 1.2 0 .661-.538 1.2-1.2 1.2Z"}));HH.displayName=UH.displayName;function sve(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(HH,null):w.createElement(UH,null))}var KH={};Object.defineProperty(KH,"__esModule",{value:!0});var YH=KH.InfoSmall=GH,Vy=uve(O);function uve(e){return e&&e.__esModule?e:{default:e}}function vS(){return vS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function dve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function GH(e){var t=e.scale,r=t===void 0?"M":t,n=cve(e,["scale"]);return Vy.default.createElement("svg",vS({},n,n),r==="L"&&Vy.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm-.15 2.15a1.359 1.359 0 0 1 1.431 1.283q.004.064.001.129A1.332 1.332 0 0 1 8.85 5.994a1.353 1.353 0 0 1-1.432-1.433 1.359 1.359 0 0 1 1.304-1.412q.064-.002.128.001zM11 13.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H8V9h-.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V12h.5a.5.5 0 0 1 .5.5z"}),r==="M"&&Vy.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zM6.883 2.45a1.057 1.057 0 0 1 1.113.998q.003.05.001.1a1.036 1.036 0 0 1-1.114 1.114A1.052 1.052 0 0 1 5.77 3.547 1.057 1.057 0 0 1 6.784 2.45q.05-.002.1.001zm1.673 8.05a.389.389 0 0 1-.39.389H5.834a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h.388V7h-.389a.389.389 0 0 1-.389-.389v-.778a.389.389 0 0 1 .39-.389h1.555a.389.389 0 0 1 .389.39v3.5h.389a.389.389 0 0 1 .389.388z"}))}GH.displayName="InfoSmall";const XH=e=>w.createElement("svg",Gc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M7 1a6 6 0 1 0 6 6 6.007 6.007 0 0 0-6-6Zm.867 8.677a.868.868 0 0 1-1.734 0V7a.868.868 0 0 1 1.734 0v2.676ZM7 5.4c-.662 0-1.2-.538-1.2-1.2S6.338 3 7 3s1.2.539 1.2 1.2S7.662 5.4 7 5.4Z"}));XH.displayName=YH.displayName;function fve(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(XH,null):w.createElement(YH,null))}var JH={};Object.defineProperty(JH,"__esModule",{value:!0});var eK=JH.SuccessSmall=tK,Qy=hve(O);function hve(e){return e&&e.__esModule?e:{default:e}}function bS(){return bS=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function mve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function tK(e){var t=e.scale,r=t===void 0?"M":t,n=pve(e,["scale"]);return Qy.default.createElement("svg",bS({},n,n),r==="L"&&Qy.default.createElement("path",{d:"M9 1a8 8 0 1 0 8 8 8 8 0 0 0-8-8zm5.333 4.54l-6.324 8.13a.6.6 0 0 1-.437.23h-.037a.6.6 0 0 1-.425-.176l-3.893-3.9a.6.6 0 0 1 0-.849l.663-.663a.6.6 0 0 1 .848 0L7.4 10.991l5.256-6.754a.6.6 0 0 1 .843-.1l.728.566a.6.6 0 0 1 .106.837z"}),r==="M"&&Qy.default.createElement("path",{d:"M7 .778A6.222 6.222 0 1 0 13.222 7 6.222 6.222 0 0 0 7 .778zm4.148 3.53l-4.919 6.324a.467.467 0 0 1-.34.18h-.028a.467.467 0 0 1-.331-.138L2.502 7.641a.467.467 0 0 1 0-.66l.516-.516a.467.467 0 0 1 .66 0l2.078 2.084 4.088-5.254a.467.467 0 0 1 .655-.078l.566.44a.467.467 0 0 1 .083.652z"}))}tK.displayName="SuccessSmall";const rK=e=>w.createElement("svg",Gc({viewBox:"0 0 14 14"},e),w.createElement("path",{d:"M11.523 3.057a6 6 0 1 0-9.046 7.887 6 6 0 0 0 9.046-7.887Zm-1.166 2.275L7.075 9.696a.867.867 0 0 1-.617.342l-.076.004a.864.864 0 0 1-.592-.235L3.55 7.704c-.17-.159-.266-.373-.274-.604s.077-.453.235-.621a.87.87 0 0 1 1.225-.04L6.27 7.881 8.973 4.29a.86.86 0 0 1 .693-.346.867.867 0 0 1 .692 1.388Z"}));rK.displayName=eK.displayName;function gve(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(rK,null):w.createElement(eK,null))}function vve(e,t){let r=Yt(e,{labelable:!0}),{hoverProps:n}=Er({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:Oe(r,n,{role:"tooltip"})}}function bve(e,t,r){let{isDisabled:n,trigger:i}=e,a=ar(),l=O.useRef(!1),s=O.useRef(!1),u=()=>{(l.current||s.current)&&t.open(s.current)},c=v=>{!l.current&&!s.current&&t.close(v)};O.useEffect(()=>{let v=$=>{r&&r.current&&$.key==="Escape"&&($.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[r,t]);let d=()=>{i!=="focus"&&(bs()==="pointer"?l.current=!0:l.current=!1,u())},f=()=>{i!=="focus"&&(s.current=!1,l.current=!1,c())},h=()=>{s.current=!1,l.current=!1,c(!0)},p=()=>{Oo()&&(s.current=!0,u())},m=()=>{s.current=!1,l.current=!1,c(!0)},{hoverProps:g}=Er({isDisabled:n,onHoverStart:d,onHoverEnd:f}),{focusableProps:b}=Bs({isDisabled:n,onFocus:p,onBlur:m},r);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...Oe(b,g,{onPointerDown:h,onKeyDown:h})},tooltipProps:{id:a}}}const yve=1500,M_=500;let js={},$ve=0,jd=!1,Gl=null,Ws=null;function Ove(e={}){let{delay:t=yve,closeDelay:r=M_}=e,{isOpen:n,open:i,close:a}=Xh(e),l=O.useMemo(()=>`${++$ve}`,[]),s=O.useRef(),u=()=>{js[l]=f},c=()=>{for(let p in js)p!==l&&(js[p](!0),delete js[p])},d=()=>{clearTimeout(s.current),s.current=null,c(),u(),jd=!0,i(),Gl&&(clearTimeout(Gl),Gl=null),Ws&&(clearTimeout(Ws),Ws=null)},f=p=>{p||r<=0?(clearTimeout(s.current),s.current=null,a()):s.current||(s.current=setTimeout(()=>{s.current=null,a()},r)),Gl&&(clearTimeout(Gl),Gl=null),jd&&(Ws&&clearTimeout(Ws),Ws=setTimeout(()=>{delete js[l],Ws=null,jd=!1},Math.max(M_,r)))},h=()=>{c(),u(),!n&&!Gl&&!jd?Gl=setTimeout(()=>{Gl=null,jd=!0,d()},t):n||d()};return O.useEffect(()=>()=>{clearTimeout(s.current),js[l]&&delete js[l]},[l]),{isOpen:n,open:p=>{!p&&t>0&&!s.current?h():d()},close:f}}function Kp(e){return e&&e.__esModule?e.default:e}function Zt(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Dt={};Zt(Dt,"focus-ring",()=>yS,e=>yS=e);Zt(Dt,"i18nFontFamily",()=>$S,e=>$S=e);Zt(Dt,"is-focused",()=>OS,e=>OS=e);Zt(Dt,"is-hovered",()=>xS,e=>xS=e);Zt(Dt,"spectrum-overlay--open",()=>Fv,e=>Fv=e);Zt(Dt,"is-open",()=>SS,e=>SS=e);Zt(Dt,"spectrum-overlay--bottom--open",()=>Av,e=>Av=e);Zt(Dt,"is-open--bottom",()=>wS,e=>wS=e);Zt(Dt,"spectrum-overlay--left--open",()=>Dv,e=>Dv=e);Zt(Dt,"is-open--left",()=>kS,e=>kS=e);Zt(Dt,"spectrum-overlay--right--open",()=>Rv,e=>Rv=e);Zt(Dt,"is-open--right",()=>CS,e=>CS=e);Zt(Dt,"spectrum-overlay--top--open",()=>Tv,e=>Tv=e);Zt(Dt,"is-open--top",()=>ES,e=>ES=e);Zt(Dt,"spectrum-FocusRing-ring",()=>Iv,e=>Iv=e);Zt(Dt,"spectrum-FocusRing",()=>PS,e=>PS=e);Zt(Dt,"spectrum-FocusRing--quiet",()=>FS,e=>FS=e);Zt(Dt,"spectrum-overlay",()=>Mv,e=>Mv=e);Zt(Dt,"spectrum-Tooltip",()=>AS,e=>AS=e);Zt(Dt,"spectrum-Tooltip--bottom",()=>DS,e=>DS=e);Zt(Dt,"spectrum-Tooltip--error",()=>RS,e=>RS=e);Zt(Dt,"spectrum-Tooltip--help",()=>TS,e=>TS=e);Zt(Dt,"spectrum-Tooltip--info",()=>IS,e=>IS=e);Zt(Dt,"spectrum-Tooltip--left",()=>MS,e=>MS=e);Zt(Dt,"spectrum-Tooltip--negative",()=>BS,e=>BS=e);Zt(Dt,"spectrum-Tooltip--positive",()=>_S,e=>_S=e);Zt(Dt,"spectrum-Tooltip--right",()=>NS,e=>NS=e);Zt(Dt,"spectrum-Tooltip--success",()=>LS,e=>LS=e);Zt(Dt,"spectrum-Tooltip--top",()=>VS,e=>VS=e);Zt(Dt,"spectrum-Tooltip-label",()=>QS,e=>QS=e);Zt(Dt,"spectrum-Tooltip-tip",()=>zS,e=>zS=e);Zt(Dt,"spectrum-Tooltip-typeIcon",()=>jS,e=>jS=e);Zt(Dt,"u-tooltip-showOnHover",()=>WS,e=>WS=e);var yS,$S,OS,xS,Fv,SS,Av,wS,Dv,kS,Rv,CS,Tv,ES,Iv,PS,FS,Mv,AS,DS,RS,TS,IS,MS,BS,_S,NS,LS,VS,QS,zS,jS,WS;yS="KF3Kcq_focus-ring";$S="KF3Kcq_i18nFontFamily";OS="KF3Kcq_is-focused";xS="KF3Kcq_is-hovered";Fv="KF3Kcq_spectrum-overlay--open";SS=`KF3Kcq_is-open ${Fv}`;Av="KF3Kcq_spectrum-overlay--bottom--open";wS=`KF3Kcq_is-open--bottom ${Av}`;Dv="KF3Kcq_spectrum-overlay--left--open";kS=`KF3Kcq_is-open--left ${Dv}`;Rv="KF3Kcq_spectrum-overlay--right--open";CS=`KF3Kcq_is-open--right ${Rv}`;Tv="KF3Kcq_spectrum-overlay--top--open";ES=`KF3Kcq_is-open--top ${Tv}`;Iv="KF3Kcq_spectrum-FocusRing-ring";PS=`KF3Kcq_spectrum-FocusRing ${Iv}`;FS="KF3Kcq_spectrum-FocusRing--quiet";Mv="KF3Kcq_spectrum-overlay";AS=`KF3Kcq_spectrum-Tooltip ${Mv}`;DS="KF3Kcq_spectrum-Tooltip--bottom";RS="KF3Kcq_spectrum-Tooltip--error";TS="KF3Kcq_spectrum-Tooltip--help";IS="KF3Kcq_spectrum-Tooltip--info";MS="KF3Kcq_spectrum-Tooltip--left";BS="KF3Kcq_spectrum-Tooltip--negative";_S="KF3Kcq_spectrum-Tooltip--positive";NS="KF3Kcq_spectrum-Tooltip--right";LS="KF3Kcq_spectrum-Tooltip--success";VS="KF3Kcq_spectrum-Tooltip--top";QS="KF3Kcq_spectrum-Tooltip-label";zS="KF3Kcq_spectrum-Tooltip-tip";jS="KF3Kcq_spectrum-Tooltip-typeIcon";WS="KF3Kcq_u-tooltip-showOnHover";const nK=w.createContext({});let xve={info:fve,positive:gve,negative:sve};function Sve(e,t){let{ref:r,arrowProps:n,state:i,arrowRef:a,...l}=O.useContext(nK),s=O.useRef();r=r||s,e=Oe(e,l);let{variant:u="neutral",placement:c="top",isOpen:d,showIcon:f,...h}=e,{styleProps:p}=Nt(h),{tooltipProps:m}=vve(e,i);O.useImperativeHandle(t,()=>RT(r));let g=xve[u];return w.createElement("div",{...p,...m,className:z(Kp(Dt),"spectrum-Tooltip",`spectrum-Tooltip--${u}`,`spectrum-Tooltip--${c}`,{"is-open":d,[`is-open--${c}`]:d},p.className),ref:r},f&&u!=="neutral"&&w.createElement(g,{UNSAFE_className:z(Kp(Dt),"spectrum-Tooltip-typeIcon"),"aria-hidden":!0}),e.children&&w.createElement("span",{className:z(Kp(Dt),"spectrum-Tooltip-label")},e.children),w.createElement("span",{...n,ref:a,className:z(Kp(Dt),"spectrum-Tooltip-tip")}))}let Bv=w.forwardRef(Sve);const wve=-1,kve=0;function ZS(e){let{children:t,crossOffset:r=kve,isDisabled:n,offset:i=wve,trigger:a}=e,[l,s]=w.Children.toArray(t),u=Ove(e),c=O.useRef(),d=O.useRef(),{triggerProps:f,tooltipProps:h}=bve({isDisabled:n,trigger:a},u,c),[p,m]=O.useState(0);wt(()=>{if(d.current&&u.isOpen){let k=window.getComputedStyle(d.current).borderRadius;k!==""&&m(parseInt(k,10))}},[u.isOpen,d]);let g=O.useRef(null),[b,v]=O.useState(0);wt(()=>{g.current&&u.isOpen&&v(g.current.getBoundingClientRect().width)},[u.isOpen,g]);let{overlayProps:$,arrowProps:y,placement:S}=GU({placement:e.placement||"top",targetRef:c,overlayRef:d,offset:i,crossOffset:r,isOpen:u.isOpen,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,arrowSize:b,arrowBoundaryOffset:p});return w.createElement(Zpe,{...f,ref:c},l,w.createElement(nK.Provider,{value:{state:u,placement:S,ref:d,UNSAFE_style:$.style,arrowProps:y,arrowRef:g,...h}},w.createElement(j1,{isOpen:u.isOpen,nodeRef:d},s)))}ZS.getCollectionNode=function*(e){let t=[];w.Children.forEach(e.children,i=>{w.isValidElement(i)&&t.push(i)});let[r,n]=t;yield{element:r,wrapper:i=>w.createElement(ZS,{key:i.key,...e},i,n)}};let _v=ZS;function Cve(e,t){let{elementType:r="a",onPress:n,onPressStart:i,onPressEnd:a,onClick:l,isDisabled:s,...u}=e,c={};r!=="a"&&(c={role:"link",tabIndex:s?void 0:0});let{focusableProps:d}=Bs(e,t),{pressProps:f,isPressed:h}=zi({onPress:n,onPressStart:i,onPressEnd:a,isDisabled:s,ref:t}),p=Yt(u,{labelable:!0,isLink:r==="a"}),m=Oe(d,f),g=zh();return{isPressed:h,linkProps:Oe(p,{...m,...c,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:b=>{var v;(v=f.onClick)===null||v===void 0||v.call(f,b),l&&(l(b),console.warn("onClick is deprecated, please use onPress")),!g.isNative&&b.currentTarget instanceof HTMLAnchorElement&&b.currentTarget.href&&!b.isDefaultPrevented()&&qZ(b.currentTarget,b)&&(b.preventDefault(),g.open(b.currentTarget,b))}})}}const iK=7e3;let Tf=null;function Dc(e,t="assertive",r=iK){Tf||(Tf=new Pve),Tf.announce(e,t,r)}function Eve(e){Tf&&Tf.clear(e)}class Pve{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=iK){if(!this.node)return;let i=document.createElement("div");i.textContent=t,r==="assertive"?this.assertiveLog.appendChild(i):this.politeLog.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}var aK={};Object.defineProperty(aK,"__esModule",{value:!0});var Fve=aK.CrossLarge=lK,zy=Ave(O);function Ave(e){return e&&e.__esModule?e:{default:e}}function US(){return US=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Rve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function lK(e){var t=e.scale,r=t===void 0?"M":t,n=Dve(e,["scale"]);return zy.default.createElement("svg",US({},n,n),r==="L"&&zy.default.createElement("path",{d:"M15.697 14.283L9.414 8l6.283-6.283A1 1 0 1 0 14.283.303L8 6.586 1.717.303A1 1 0 1 0 .303 1.717L6.586 8 .303 14.283a1 1 0 1 0 1.414 1.414L8 9.414l6.283 6.283a1 1 0 1 0 1.414-1.414z"}),r==="M"&&zy.default.createElement("path",{d:"M11.697 10.283L7.414 6l4.283-4.283A1 1 0 1 0 10.283.303L6 4.586 1.717.303A1 1 0 1 0 .303 1.717L4.586 6 .303 10.283a1 1 0 1 0 1.414 1.414L6 7.414l4.283 4.283a1 1 0 1 0 1.414-1.414z"}))}lK.displayName="CrossLarge";function Tve(e){return w.createElement(Ln,e,w.createElement(Fve,null))}function B_(e){return e&&e.__esModule?e.default:e}function ep(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var $u={};ep($u,"spectrum-ButtonGroup",()=>qS,e=>qS=e);ep($u,"spectrum-ButtonGroup--alignCenter",()=>HS,e=>HS=e);ep($u,"spectrum-ButtonGroup--alignEnd",()=>KS,e=>KS=e);ep($u,"spectrum-ButtonGroup--vertical",()=>YS,e=>YS=e);ep($u,"spectrum-ButtonGroup-Button",()=>GS,e=>GS=e);var qS,HS,KS,YS,GS;qS="aaz5ma_spectrum-ButtonGroup";HS="aaz5ma_spectrum-ButtonGroup--alignCenter";KS="aaz5ma_spectrum-ButtonGroup--alignEnd";YS="aaz5ma_spectrum-ButtonGroup--vertical";GS="aaz5ma_spectrum-ButtonGroup-Button";function Ive(e,t){let{scale:r}=Gn();e=Fn(e),e=Ia(e,"buttonGroup");let{children:n,orientation:i="horizontal",isDisabled:a,align:l="start",...s}=e,{styleProps:u}=Nt(s),c=Xr(t),[d,f]=QZ(!1),h=O.useCallback(()=>{let m=()=>{if(c.current&&i==="horizontal"){let g=Array.from(c.current.children),b=c.current.offsetWidth+1;return!!g.some(v=>v.offsetLeft<0||v.offsetLeft+v.offsetWidth>b)}};i==="horizontal"&&f(function*(){yield!1,yield m()})},[c,i,r,f,n]);wt(()=>{h()},[h]);let p=O.useRef();return wt(()=>{c.current&&(p.current=c.current.parentElement)},[c.current]),jh({ref:p,onResize:h}),w.createElement("div",{...Yt(s),...u,ref:c,className:z(B_($u),"spectrum-ButtonGroup",{"spectrum-ButtonGroup--vertical":i==="vertical"||d,"spectrum-ButtonGroup--alignEnd":l==="end","spectrum-ButtonGroup--alignCenter":l==="center"},u.className)},w.createElement(Ma,{slots:{button:{UNSAFE_className:z(B_($u),"spectrum-ButtonGroup-Button")}}},w.createElement(Gh,{isDisabled:a},n)))}let Mve=w.forwardRef(Ive);var oK={};oK={"(optional)":"(اختياري)","(required)":"(مطلوب)"};var sK={};sK={"(optional)":"(незадължително)","(required)":"(задължително)"};var uK={};uK={"(optional)":"(volitelně)","(required)":"(požadováno)"};var cK={};cK={"(optional)":"(valgfrit)","(required)":"(obligatorisk)"};var dK={};dK={"(optional)":"(optional)","(required)":"(erforderlich)"};var fK={};fK={"(optional)":"(προαιρετικό)","(required)":"(απαιτείται)"};var hK={};hK={"(required)":"(required)","(optional)":"(optional)"};var pK={};pK={"(optional)":"(opcional)","(required)":"(obligatorio)"};var mK={};mK={"(optional)":"(valikuline)","(required)":"(nõutav)"};var gK={};gK={"(optional)":"(valinnainen)","(required)":"(pakollinen)"};var vK={};vK={"(optional)":"(facultatif)","(required)":"(requis)"};var bK={};bK={"(optional)":"(אופציונלי)","(required)":"(נדרש)"};var yK={};yK={"(optional)":"(opcionalno)","(required)":"(obvezno)"};var $K={};$K={"(optional)":"(opcionális)","(required)":"(kötelező)"};var OK={};OK={"(optional)":"(facoltativo)","(required)":"(obbligatorio)"};var xK={};xK={"(optional)":"(オプション)","(required)":"(必須)"};var SK={};SK={"(optional)":"(선택 사항)","(required)":"(필수 사항)"};var wK={};wK={"(optional)":"(pasirenkama)","(required)":"(privaloma)"};var kK={};kK={"(optional)":"(neobligāti)","(required)":"(obligāti)"};var CK={};CK={"(optional)":"(valgfritt)","(required)":"(obligatorisk)"};var EK={};EK={"(optional)":"(optioneel)","(required)":"(vereist)"};var PK={};PK={"(optional)":"(opcjonalne)","(required)":"(wymagane)"};var FK={};FK={"(optional)":"(opcional)","(required)":"(obrigatório)"};var AK={};AK={"(optional)":"(opcional)","(required)":"(obrigatório)"};var DK={};DK={"(optional)":"(opţional)","(required)":"(obligatoriu)"};var RK={};RK={"(optional)":"(дополнительно)","(required)":"(обязательно)"};var TK={};TK={"(optional)":"(nepovinné)","(required)":"(povinné)"};var IK={};IK={"(optional)":"(opcijsko)","(required)":"(obvezno)"};var MK={};MK={"(optional)":"(opciono)","(required)":"(obavezno)"};var BK={};BK={"(optional)":"(valfritt)","(required)":"(krävs)"};var _K={};_K={"(optional)":"(isteğe bağlı)","(required)":"(gerekli)"};var NK={};NK={"(optional)":"(необов’язково)","(required)":"(обов’язково)"};var LK={};LK={"(optional)":"(可选)","(required)":"(必填)"};var VK={};VK={"(optional)":"(選填)","(required)":"(必填)"};const tI={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},QK={...tI,customError:!0,valid:!1},ec={isInvalid:!1,validationDetails:tI,validationErrors:[]},zK=O.createContext({}),fh="__formValidationState"+Date.now();function _s(e){if(e[fh]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}=e[fh];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}}return Bve(e)}function Bve(e){let{isInvalid:t,validationState:r,name:n,value:i,builtinValidation:a,validate:l,validationBehavior:s="aria"}=e;r&&(t||(t=r==="invalid"));let u=t?{isInvalid:!0,validationErrors:[],validationDetails:QK}:null,c=O.useMemo(()=>__(_ve(l,i)),[l,i]);a!=null&&a.validationDetails.valid&&(a=null);let d=O.useContext(zK),f=O.useMemo(()=>n?Array.isArray(n)?n.flatMap(D=>XS(d[D])):XS(d[n]):[],[d,n]),[h,p]=O.useState(d),[m,g]=O.useState(!1);d!==h&&(p(d),g(!1));let b=O.useMemo(()=>__(m?[]:f),[m,f]),v=O.useRef(ec),[$,y]=O.useState(ec),S=O.useRef(ec),k=()=>{if(!C)return;F(!1);let D=c||a||v.current;jy(D,S.current)||(S.current=D,y(D))},[C,F]=O.useState(!1);return O.useEffect(k),{realtimeValidation:u||b||c||a||ec,displayValidation:s==="native"?u||b||$:u||b||c||a||$,updateValidation(D){s==="aria"&&!jy($,D)?y(D):v.current=D},resetValidation(){let D=ec;jy(D,S.current)||(S.current=D,y(D)),s==="native"&&F(!1),g(!0)},commitValidation(){s==="native"&&F(!0),g(!0)}}}function XS(e){return e?Array.isArray(e)?e:[e]:[]}function _ve(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return XS(r)}return[]}function __(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:QK}:null}function jy(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function Nve(...e){let t=new Set,r=!1,n={...tI};for(let l of e){var i,a;for(let s of l.validationErrors)t.add(s);r||(r=l.isInvalid);for(let s in n)(i=n)[a=s]||(i[a]=l.validationDetails[s])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function Lve(e){return e&&e.__esModule?e.default:e}function sr(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Jt={};sr(Jt,"contextualHelp",()=>JS,e=>JS=e);sr(Jt,"field",()=>e6,e=>e6=e);sr(Jt,"focus-ring",()=>t6,e=>t6=e);sr(Jt,"helpText",()=>r6,e=>r6=e);sr(Jt,"i18nFontFamily",()=>n6,e=>n6=e);sr(Jt,"is-disabled",()=>i6,e=>i6=e);sr(Jt,"label",()=>a6,e=>a6=e);sr(Jt,"spectrum-Field",()=>l6,e=>l6=e);sr(Jt,"spectrum-Field--alignEnd",()=>o6,e=>o6=e);sr(Jt,"spectrum-Field--hasContextualHelp",()=>s6,e=>s6=e);sr(Jt,"spectrum-Field--positionSide",()=>u6,e=>u6=e);sr(Jt,"spectrum-Field--positionTop",()=>c6,e=>c6=e);sr(Jt,"spectrum-Field-contextualHelp",()=>d6,e=>d6=e);sr(Jt,"spectrum-Field-field",()=>f6,e=>f6=e);sr(Jt,"spectrum-Field-labelCell",()=>h6,e=>h6=e);sr(Jt,"spectrum-Field-labelWrapper",()=>p6,e=>p6=e);sr(Jt,"spectrum-Field-wrapper",()=>m6,e=>m6=e);sr(Jt,"spectrum-FieldLabel",()=>g6,e=>g6=e);sr(Jt,"spectrum-FieldLabel--alignEnd",()=>v6,e=>v6=e);sr(Jt,"spectrum-FieldLabel--positionSide",()=>b6,e=>b6=e);sr(Jt,"spectrum-FieldLabel-requiredIcon",()=>y6,e=>y6=e);sr(Jt,"spectrum-FocusRing-ring",()=>Nv,e=>Nv=e);sr(Jt,"spectrum-FocusRing",()=>$6,e=>$6=e);sr(Jt,"spectrum-FocusRing--quiet",()=>O6,e=>O6=e);sr(Jt,"spectrum-Form",()=>x6,e=>x6=e);sr(Jt,"spectrum-Form--positionSide",()=>S6,e=>S6=e);sr(Jt,"spectrum-Form--positionTop",()=>w6,e=>w6=e);sr(Jt,"spectrum-Form-itemLabel",()=>k6,e=>k6=e);sr(Jt,"spectrum-LabeledValue",()=>C6,e=>C6=e);var JS,e6,t6,r6,n6,i6,a6,l6,o6,s6,u6,c6,d6,f6,h6,p6,m6,g6,v6,b6,y6,Nv,$6,O6,x6,S6,w6,k6,C6;JS="A-HlBa_contextualHelp";e6="A-HlBa_field";t6="A-HlBa_focus-ring";r6="A-HlBa_helpText";n6="A-HlBa_i18nFontFamily";i6="A-HlBa_is-disabled";a6="A-HlBa_label";l6="A-HlBa_spectrum-Field";o6="A-HlBa_spectrum-Field--alignEnd";s6="A-HlBa_spectrum-Field--hasContextualHelp";u6="A-HlBa_spectrum-Field--positionSide";c6="A-HlBa_spectrum-Field--positionTop";d6="A-HlBa_spectrum-Field-contextualHelp";f6="A-HlBa_spectrum-Field-field";h6="A-HlBa_spectrum-Field-labelCell";p6="A-HlBa_spectrum-Field-labelWrapper";m6="A-HlBa_spectrum-Field-wrapper";g6="A-HlBa_spectrum-FieldLabel";v6="A-HlBa_spectrum-FieldLabel--alignEnd";b6="A-HlBa_spectrum-FieldLabel--positionSide";y6="A-HlBa_spectrum-FieldLabel-requiredIcon";Nv="A-HlBa_spectrum-FocusRing-ring";$6=`A-HlBa_spectrum-FocusRing ${Nv}`;O6="A-HlBa_spectrum-FocusRing--quiet";x6="A-HlBa_spectrum-Form";S6="A-HlBa_spectrum-Form--positionSide";w6="A-HlBa_spectrum-Form--positionTop";k6="A-HlBa_spectrum-Form-itemLabel";C6="A-HlBa_spectrum-LabeledValue";let jK=w.createContext(null);function Io(e){let t=O.useContext(jK);return t?{...t,...e}:e}const Vve=new Set(["action","autoComplete","encType","method","target","onSubmit","onReset","onInvalid"]);function Qve(e,t){e=Fn(e);let{children:r,labelPosition:n="top",labelAlign:i="start",isRequired:a,necessityIndicator:l,isQuiet:s,isEmphasized:u,isDisabled:c,isReadOnly:d,validationState:f,validationBehavior:h,validationErrors:p,...m}=e,{styleProps:g}=Nt(m),b=Xr(t),v={labelPosition:n,labelAlign:i,necessityIndicator:l,validationBehavior:h};return w.createElement("form",{...Yt(m,{labelable:!0,propNames:Vve}),...g,noValidate:h!=="native",ref:b,className:z(Lve(Jt),"spectrum-Form",{"spectrum-Form--positionSide":n==="side","spectrum-Form--positionTop":n==="top"},g.className)},w.createElement(jK.Provider,{value:v},w.createElement(Gh,{isQuiet:s,isEmphasized:u,isDisabled:c,isReadOnly:d,isRequired:a,validationState:f},w.createElement(zK.Provider,{value:p||{}},r))))}const zve=w.forwardRef(Qve);var WK={};Object.defineProperty(WK,"__esModule",{value:!0});var ZK=WK.AlertMedium=UK,Wy=jve(O);function jve(e){return e&&e.__esModule?e:{default:e}}function E6(){return E6=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Zve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function UK(e){var t=e.scale,r=t===void 0?"M":t,n=Wve(e,["scale"]);return Wy.default.createElement("svg",E6({},n,n),r==="L"&&Wy.default.createElement("path",{d:"M10.563 2.206l-9.249 16.55a.5.5 0 0 0 .436.744h18.5a.5.5 0 0 0 .436-.744l-9.251-16.55a.5.5 0 0 0-.872 0zm1.436 15.044a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),r==="M"&&Wy.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}))}UK.displayName="AlertMedium";const qK=e=>w.createElement("svg",Gc({viewBox:"0 0 18 18"},e),w.createElement("path",{d:"M9 10.5a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v4.5a1 1 0 0 1-1 1Zm0 1.25A1.25 1.25 0 1 0 10.25 13 1.25 1.25 0 0 0 9 11.75Zm8.497 3.589a3.49 3.49 0 0 0 .079-3.474L12 1.815a3.385 3.385 0 0 0-5.994-.007L.416 11.88a3.485 3.485 0 0 0 .089 3.459A3.375 3.375 0 0 0 3.416 17h11.169a3.375 3.375 0 0 0 2.912-1.661ZM10.244 2.77l5.575 10.05a1.497 1.497 0 0 1-.037 1.489 1.374 1.374 0 0 1-1.197.69H3.416a1.374 1.374 0 0 1-1.197-.69 1.493 1.493 0 0 1-.046-1.474l5.593-10.08a1.386 1.386 0 0 1 2.478.015Z"}));qK.displayName=ZK.displayName;function K1(e){var t,r;let n=Gn();return w.createElement(Ln,e,n!=null&&(t=n.theme)!=null&&(r=t.global)!=null&&r.express?w.createElement(qK,null):w.createElement(ZK,null))}var HK={};Object.defineProperty(HK,"__esModule",{value:!0});var Uve=HK.Asterisk=KK,Zy=qve(O);function qve(e){return e&&e.__esModule?e:{default:e}}function P6(){return P6=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Kve(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function KK(e){var t=e.scale,r=t===void 0?"M":t,n=Hve(e,["scale"]);return Zy.default.createElement("svg",P6({},n,n),r==="L"&&Zy.default.createElement("path",{d:"M7.867 7.872c.061.062.103.145 0 .228l-1.283.827c-.104.061-.145.02-.186-.083L4.804 6.07l-2.09 2.297c-.021.042-.083.083-.145 0l-.994-1.035c-.103-.062-.082-.124 0-.186l2.36-1.966-2.691-1.014c-.042 0-.104-.083-.062-.186l.703-1.41a.11.11 0 0 1 .187-.04L4.43 4.06l.145-3.02A.109.109 0 0 1 4.7.917l1.718.227c.104 0 .124.042.104.145l-.808 2.96 2.734-.828c.061-.042.124-.042.165.082l.27 1.532c.02.103 0 .145-.084.145l-2.856.227z"}),r==="M"&&Zy.default.createElement("path",{d:"M6.573 6.558c.056.055.092.13 0 .204l-1.148.74c-.093.056-.13.02-.167-.073L3.832 4.947l-1.87 2.055c-.02.037-.075.074-.13 0l-.889-.926c-.092-.055-.074-.111 0-.167l2.111-1.76-2.408-.906c-.037 0-.092-.074-.055-.167l.63-1.259a.097.097 0 0 1 .166-.036l2.111 1.37.13-2.704a.097.097 0 0 1 .111-.11L5.277.54c.092 0 .11.037.092.13l-.722 2.647 2.444-.74c.056-.038.111-.038.148.073l.241 1.37c.019.093 0 .13-.074.13l-2.556.204z"}))}KK.displayName="Asterisk";function Yve(e){return w.createElement(Ln,e,w.createElement(Uve,null))}function Ii(e){return e&&e.__esModule?e.default:e}function Et(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var bi={};Et(bi,"focus-ring",()=>F6,e=>F6=e);Et(bi,"i18nFontFamily",()=>A6,e=>A6=e);Et(bi,"is-disabled",()=>D6,e=>D6=e);Et(bi,"spectrum-FocusRing-ring",()=>Lv,e=>Lv=e);Et(bi,"spectrum-FocusRing",()=>R6,e=>R6=e);Et(bi,"spectrum-FocusRing--quiet",()=>T6,e=>T6=e);Et(bi,"spectrum-HelpText",()=>I6,e=>I6=e);Et(bi,"spectrum-HelpText--negative",()=>M6,e=>M6=e);Et(bi,"spectrum-HelpText--neutral",()=>B6,e=>B6=e);Et(bi,"spectrum-HelpText-text",()=>_6,e=>_6=e);Et(bi,"spectrum-HelpText-validationIcon",()=>N6,e=>N6=e);var F6,A6,D6,Lv,R6,T6,I6,M6,B6,_6,N6;F6="a1Qy2q_focus-ring";A6="a1Qy2q_i18nFontFamily";D6="a1Qy2q_is-disabled";Lv="a1Qy2q_spectrum-FocusRing-ring";R6=`a1Qy2q_spectrum-FocusRing ${Lv}`;T6="a1Qy2q_spectrum-FocusRing--quiet";I6="a1Qy2q_spectrum-HelpText";M6="a1Qy2q_spectrum-HelpText--negative";B6="a1Qy2q_spectrum-HelpText--neutral";_6="a1Qy2q_spectrum-HelpText-text";N6="a1Qy2q_spectrum-HelpText-validationIcon";function Gve(e,t){let{description:r,errorMessage:n,validationState:i,isInvalid:a,isDisabled:l,showErrorIcon:s,descriptionProps:u,errorMessageProps:c}=e,d=Xr(t),f=n&&(a||i==="invalid"),{styleProps:h}=Nt(e);return w.createElement("div",{...h,className:z(Ii(bi),"spectrum-HelpText",`spectrum-HelpText--${f?"negative":"neutral"}`,{"is-disabled":l},h.className),ref:d},f?w.createElement(w.Fragment,null,s&&w.createElement(K1,{UNSAFE_className:z(Ii(bi),"spectrum-HelpText-validationIcon")}),w.createElement("div",{...c,className:z(Ii(bi),"spectrum-HelpText-text")},n)):w.createElement("div",{...u,className:z(Ii(bi),"spectrum-HelpText-text")},r))}const Xve=w.forwardRef(Gve);var YK={};YK={"ar-AE":oK,"bg-BG":sK,"cs-CZ":uK,"da-DK":cK,"de-DE":dK,"el-GR":fK,"en-US":hK,"es-ES":pK,"et-EE":mK,"fi-FI":gK,"fr-FR":vK,"he-IL":bK,"hr-HR":yK,"hu-HU":$K,"it-IT":OK,"ja-JP":xK,"ko-KR":SK,"lt-LT":wK,"lv-LV":kK,"nb-NO":CK,"nl-NL":EK,"pl-PL":PK,"pt-BR":FK,"pt-PT":AK,"ro-RO":DK,"ru-RU":RK,"sk-SK":TK,"sl-SI":IK,"sr-SP":MK,"sv-SE":BK,"tr-TR":_K,"uk-UA":NK,"zh-CN":LK,"zh-TW":VK};var Pt={};Et(Pt,"contextualHelp",()=>L6,e=>L6=e);Et(Pt,"field",()=>V6,e=>V6=e);Et(Pt,"focus-ring",()=>Q6,e=>Q6=e);Et(Pt,"helpText",()=>z6,e=>z6=e);Et(Pt,"i18nFontFamily",()=>j6,e=>j6=e);Et(Pt,"is-disabled",()=>W6,e=>W6=e);Et(Pt,"label",()=>Z6,e=>Z6=e);Et(Pt,"spectrum-Field",()=>U6,e=>U6=e);Et(Pt,"spectrum-Field--alignEnd",()=>q6,e=>q6=e);Et(Pt,"spectrum-Field--hasContextualHelp",()=>H6,e=>H6=e);Et(Pt,"spectrum-Field--positionSide",()=>K6,e=>K6=e);Et(Pt,"spectrum-Field--positionTop",()=>Y6,e=>Y6=e);Et(Pt,"spectrum-Field-contextualHelp",()=>G6,e=>G6=e);Et(Pt,"spectrum-Field-field",()=>X6,e=>X6=e);Et(Pt,"spectrum-Field-labelCell",()=>J6,e=>J6=e);Et(Pt,"spectrum-Field-labelWrapper",()=>ew,e=>ew=e);Et(Pt,"spectrum-Field-wrapper",()=>tw,e=>tw=e);Et(Pt,"spectrum-FieldLabel",()=>rw,e=>rw=e);Et(Pt,"spectrum-FieldLabel--alignEnd",()=>nw,e=>nw=e);Et(Pt,"spectrum-FieldLabel--positionSide",()=>iw,e=>iw=e);Et(Pt,"spectrum-FieldLabel-requiredIcon",()=>aw,e=>aw=e);Et(Pt,"spectrum-FocusRing-ring",()=>Vv,e=>Vv=e);Et(Pt,"spectrum-FocusRing",()=>lw,e=>lw=e);Et(Pt,"spectrum-FocusRing--quiet",()=>ow,e=>ow=e);Et(Pt,"spectrum-Form",()=>sw,e=>sw=e);Et(Pt,"spectrum-Form--positionSide",()=>uw,e=>uw=e);Et(Pt,"spectrum-Form--positionTop",()=>cw,e=>cw=e);Et(Pt,"spectrum-Form-itemLabel",()=>dw,e=>dw=e);Et(Pt,"spectrum-LabeledValue",()=>fw,e=>fw=e);var L6,V6,Q6,z6,j6,W6,Z6,U6,q6,H6,K6,Y6,G6,X6,J6,ew,tw,rw,nw,iw,aw,Vv,lw,ow,sw,uw,cw,dw,fw;L6="A-HlBa_contextualHelp";V6="A-HlBa_field";Q6="A-HlBa_focus-ring";z6="A-HlBa_helpText";j6="A-HlBa_i18nFontFamily";W6="A-HlBa_is-disabled";Z6="A-HlBa_label";U6="A-HlBa_spectrum-Field";q6="A-HlBa_spectrum-Field--alignEnd";H6="A-HlBa_spectrum-Field--hasContextualHelp";K6="A-HlBa_spectrum-Field--positionSide";Y6="A-HlBa_spectrum-Field--positionTop";G6="A-HlBa_spectrum-Field-contextualHelp";X6="A-HlBa_spectrum-Field-field";J6="A-HlBa_spectrum-Field-labelCell";ew="A-HlBa_spectrum-Field-labelWrapper";tw="A-HlBa_spectrum-Field-wrapper";rw="A-HlBa_spectrum-FieldLabel";nw="A-HlBa_spectrum-FieldLabel--alignEnd";iw="A-HlBa_spectrum-FieldLabel--positionSide";aw="A-HlBa_spectrum-FieldLabel-requiredIcon";Vv="A-HlBa_spectrum-FocusRing-ring";lw=`A-HlBa_spectrum-FocusRing ${Vv}`;ow="A-HlBa_spectrum-FocusRing--quiet";sw="A-HlBa_spectrum-Form";uw="A-HlBa_spectrum-Form--positionSide";cw="A-HlBa_spectrum-Form--positionTop";dw="A-HlBa_spectrum-Form-itemLabel";fw="A-HlBa_spectrum-LabeledValue";function Jve(e,t){e=Fn(e);let{children:r,labelPosition:n="top",labelAlign:i=n==="side"?"start":null,isRequired:a,necessityIndicator:l=a!=null?"icon":null,includeNecessityIndicatorInAccessibilityName:s=!1,htmlFor:u,for:c,elementType:d="label",onClick:f,...h}=e,p=Xr(t),{styleProps:m}=Nt(h),g=or(Ii(YK),"@react-spectrum/label"),b=a?g.format("(required)"):g.format("(optional)"),v=w.createElement(Yve,{UNSAFE_className:z(Ii(Pt),"spectrum-FieldLabel-requiredIcon"),"aria-label":s?g.format("(required)"):void 0}),$=z(Ii(Pt),"spectrum-FieldLabel",{"spectrum-FieldLabel--positionSide":n==="side","spectrum-FieldLabel--alignEnd":i==="end"},m.className);return w.createElement(d,{...Yt(h),...m,onClick:f,ref:p,className:$,htmlFor:d==="label"?c||u:void 0},r,(l==="label"||l==="icon"&&a)&&" ​",l==="label"&&w.createElement("span",{"aria-hidden":s?void 0:a},b),l==="icon"&&a&&v)}let e0e=w.forwardRef(Jve);function t0e(e,t){let r=Io(e),n=r!==e;e=r;let{label:i,labelPosition:a="top",labelAlign:l,isRequired:s,necessityIndicator:u,includeNecessityIndicatorInAccessibilityName:c,validationState:d,isInvalid:f,description:h,errorMessage:p=A=>A.validationErrors.join(" "),validationErrors:m,validationDetails:g,isDisabled:b,showErrorIcon:v,contextualHelp:$,children:y,labelProps:S={},descriptionProps:k={},errorMessageProps:C={},elementType:F,wrapperClassName:E,wrapperProps:M={},...D}=e,{styleProps:R}=Nt(D),B=null;typeof p=="function"?B=f!=null&&m!=null&&g!=null?p({isInvalid:f,validationErrors:m,validationDetails:g}):null:B=p;let T=!!h||B&&(f||d==="invalid"),_=ar(),Q=ar();i&&$&&!S.id&&(S.id=Q);let W=z(Ii(Pt),"spectrum-Field",{"spectrum-Field--positionTop":a==="top","spectrum-Field--positionSide":a==="side","spectrum-Field--alignEnd":l==="end","spectrum-Field--hasContextualHelp":!!e.contextualHelp},R.className,E);y=w.cloneElement(y,Oe(y.props,{className:z(Ii(Pt),"spectrum-Field-field")}));let Z=()=>w.createElement(Xve,{descriptionProps:k,errorMessageProps:C,description:h,errorMessage:B,validationState:d,isInvalid:f,isDisabled:b,showErrorIcon:v,gridArea:Ii(Pt).helpText}),q=()=>a==="side"?w.createElement(To,{direction:"column",UNSAFE_className:z(Ii(Pt),"spectrum-Field-wrapper")},y,T&&Z()):w.createElement(w.Fragment,null,y,T&&Z()),U=w.createElement(w.Fragment,null,i&&w.createElement(e0e,{...S,labelPosition:a,labelAlign:l,isRequired:s,necessityIndicator:u,includeNecessityIndicatorInAccessibilityName:c,elementType:F},i),i&&$&&w.createElement(Ma,{slots:{actionButton:{UNSAFE_className:z(Ii(Pt),"spectrum-Field-contextualHelp"),id:_,"aria-labelledby":S!=null&&S.id?`${S.id} ${_}`:void 0}}},$));return n&&a==="side"&&i&&$&&(U=w.createElement("div",{className:z(Ii(Pt),"spectrum-Field-labelCell")},w.createElement("div",{className:z(Ii(Pt),"spectrum-Field-labelWrapper")},U))),w.createElement("div",{...R,...M,ref:t,className:W},U,q())}let Mu=w.forwardRef(t0e);var GK={};Object.defineProperty(GK,"__esModule",{value:!0});var r0e=GK.CheckmarkSmall=XK,Uy=n0e(O);function n0e(e){return e&&e.__esModule?e:{default:e}}function hw(){return hw=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function a0e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function XK(e){var t=e.scale,r=t===void 0?"M":t,n=i0e(e,["scale"]);return Uy.default.createElement("svg",hw({},n,n),r==="L"&&Uy.default.createElement("path",{d:"M4.5 11a.999.999 0 0 1-.788-.385l-3-4a1 1 0 1 1 1.576-1.23L4.5 8.376l5.212-6.99a1 1 0 1 1 1.576 1.23l-6 8A.999.999 0 0 1 4.5 11z"}),r==="M"&&Uy.default.createElement("path",{d:"M3.788 9A.999.999 0 0 1 3 8.615l-2.288-3a1 1 0 1 1 1.576-1.23l1.5 1.991 3.924-4.991a1 1 0 1 1 1.576 1.23l-4.712 6A.999.999 0 0 1 3.788 9z"}))}XK.displayName="CheckmarkSmall";function l0e(e){return w.createElement(Ln,e,w.createElement(r0e,null))}var JK={};Object.defineProperty(JK,"__esModule",{value:!0});var o0e=JK.DashSmall=eY,qy=s0e(O);function s0e(e){return e&&e.__esModule?e:{default:e}}function pw(){return pw=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c0e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function eY(e){var t=e.scale,r=t===void 0?"M":t,n=u0e(e,["scale"]);return qy.default.createElement("svg",pw({},n,n),r==="L"&&qy.default.createElement("path",{d:"M10.99 5H1.01a1 1 0 0 0 0 2h9.98a1 1 0 1 0 0-2z"}),r==="M"&&qy.default.createElement("path",{d:"M8 4H2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2z"}))}eY.displayName="DashSmall";function d0e(e){return w.createElement(Ln,e,w.createElement(o0e,null))}function tp(e,t,r){let{validationBehavior:n,focus:i}=e;wt(()=>{if(n==="native"&&(r!=null&&r.current)){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(h0e(r.current))}});let a=Vr(()=>{t.resetValidation()}),l=Vr(u=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=r==null||(c=r.current)===null||c===void 0?void 0:c.form;if(!u.defaultPrevented&&r&&d&&p0e(d)===r.current){var f;i?i():(f=r.current)===null||f===void 0||f.focus(),L1("keyboard")}u.preventDefault()}),s=Vr(()=>{t.commitValidation()});O.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let c=u.form;return u.addEventListener("invalid",l),u.addEventListener("change",s),c==null||c.addEventListener("reset",a),()=>{u.removeEventListener("invalid",l),u.removeEventListener("change",s),c==null||c.removeEventListener("reset",a)}},[r,l,s,a,n])}function f0e(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function h0e(e){return{isInvalid:!e.validity.valid,validationDetails:f0e(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function p0e(e){for(let t=0;t{C.stopPropagation(),t.setSelected(C.target.checked)},p=s!=null,m=u!=null||c!=null;!p&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:b}=zi({isDisabled:n}),{pressProps:v,isPressed:$}=zi({isDisabled:n||i,onPress(){t.toggle()}}),{focusableProps:y}=Bs(e,r),S=Oe(g,y),k=Yt(e,{labelable:!0});return Du(r,t.isSelected,t.setSelected),{labelProps:Oe(v,{onClick:C=>C.preventDefault()}),inputProps:Oe(k,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,onChange:h,disabled:n,...a==null?{}:{value:a},name:l,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:b||$,isDisabled:n,isReadOnly:i,isInvalid:f||d==="invalid"}}function rY(e,t,r){let n=_s({...e,value:t.isSelected}),{isInvalid:i,validationErrors:a,validationDetails:l}=n.displayValidation,{labelProps:s,inputProps:u,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h}=tY({...e,isInvalid:i},t,r);tp(e,n,r);let{isIndeterminate:p,isRequired:m,validationBehavior:g="aria"}=e;return O.useEffect(()=>{r.current&&(r.current.indeterminate=!!p)}),{labelProps:s,inputProps:{...u,checked:c,"aria-required":m&&g==="aria"||void 0,required:m&&g==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h,isInvalid:i,validationErrors:a,validationDetails:l}}const nY=new WeakMap;function m0e(e,t){let{isDisabled:r,name:n,validationBehavior:i="aria"}=e,{isInvalid:a,validationErrors:l,validationDetails:s}=t.displayValidation,{labelProps:u,fieldProps:c,descriptionProps:d,errorMessageProps:f}=Kh({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||l});nY.set(t,{name:n,descriptionId:d.id,errorMessageId:f.id,validationBehavior:i});let h=Yt(e,{labelable:!0});return{groupProps:Oe(h,{role:"group","aria-disabled":r||void 0,...c}),labelProps:u,descriptionProps:d,errorMessageProps:f,isInvalid:a,validationErrors:l,validationDetails:s}}function g0e(e,t,r){const n=jT({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:i,descriptionId:a,errorMessageId:l,validationBehavior:s}=nY.get(t);var u;s=(u=e.validationBehavior)!==null&&u!==void 0?u:s;let{realtimeValidation:c}=_s({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),d=O.useRef(ec),f=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};O.useEffect(f);let h=t.realtimeValidation.isInvalid?t.realtimeValidation:c,p=s==="native"?t.displayValidation:h;var m;let g=rY({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:s,[fh]:{realtimeValidation:h,displayValidation:p,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){d.current=b,f()}}},n,r);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?l:null,a].filter(Boolean).join(" ")||void 0}}}function v0e(e={}){let[t,r]=da(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,i=O.useRef(new Map),a=_s({...e,value:t}),l=a.displayValidation.isInvalid;var s;return{...a,value:t,setValue(c){e.isReadOnly||e.isDisabled||r(c)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(c){return t.includes(c)},addValue(c){e.isReadOnly||e.isDisabled||t.includes(c)||r(t.concat(c))},removeValue(c){e.isReadOnly||e.isDisabled||t.includes(c)&&r(t.filter(d=>d!==c))},toggleValue(c){e.isReadOnly||e.isDisabled||(t.includes(c)?r(t.filter(d=>d!==c)):r(t.concat(c)))},setInvalid(c,d){let f=new Map(i.current);d.isInvalid?f.set(c,d):f.delete(c),i.current=f,a.updateValidation(Nve(...f.values()))},validationState:(s=e.validationState)!==null&&s!==void 0?s:l?"invalid":null,isInvalid:l,isRequired:n}}function ro(e){return e&&e.__esModule?e.default:e}function Ir(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const iY=w.createContext(null);var Mr={};Ir(Mr,"focus-ring",()=>mw,e=>mw=e);Ir(Mr,"i18nFontFamily",()=>gw,e=>gw=e);Ir(Mr,"is-checked",()=>vw,e=>vw=e);Ir(Mr,"is-disabled",()=>bw,e=>bw=e);Ir(Mr,"is-hovered",()=>yw,e=>yw=e);Ir(Mr,"is-indeterminate",()=>$w,e=>$w=e);Ir(Mr,"is-invalid",()=>Ow,e=>Ow=e);Ir(Mr,"spectrum-Checkbox",()=>xw,e=>xw=e);Ir(Mr,"spectrum-Checkbox--quiet",()=>Sw,e=>Sw=e);Ir(Mr,"spectrum-Checkbox-box",()=>ww,e=>ww=e);Ir(Mr,"spectrum-Checkbox-checkmark",()=>kw,e=>kw=e);Ir(Mr,"spectrum-Checkbox-input",()=>Cw,e=>Cw=e);Ir(Mr,"spectrum-Checkbox-label",()=>Ew,e=>Ew=e);Ir(Mr,"spectrum-Checkbox-partialCheckmark",()=>Pw,e=>Pw=e);Ir(Mr,"spectrum-FocusRing-ring",()=>Qv,e=>Qv=e);Ir(Mr,"spectrum-FocusRing",()=>Fw,e=>Fw=e);Ir(Mr,"spectrum-FocusRing--quiet",()=>Aw,e=>Aw=e);var mw,gw,vw,bw,yw,$w,Ow,xw,Sw,ww,kw,Cw,Ew,Pw,Qv,Fw,Aw;mw="ISsn1a_focus-ring";gw="ISsn1a_i18nFontFamily";vw="ISsn1a_is-checked";bw="ISsn1a_is-disabled";yw="ISsn1a_is-hovered";$w="ISsn1a_is-indeterminate";Ow="ISsn1a_is-invalid";xw="ISsn1a_spectrum-Checkbox";Sw="ISsn1a_spectrum-Checkbox--quiet";ww="ISsn1a_spectrum-Checkbox-box";kw="ISsn1a_spectrum-Checkbox-checkmark";Cw="ISsn1a_spectrum-Checkbox-input";Ew="ISsn1a_spectrum-Checkbox-label";Pw="ISsn1a_spectrum-Checkbox-partialCheckmark";Qv="ISsn1a_spectrum-FocusRing-ring";Fw=`ISsn1a_spectrum-FocusRing ${Qv}`;Aw="ISsn1a_spectrum-FocusRing--quiet";function b0e(e,t){let r=e;e=Fn(e),e=Io(e);let{isIndeterminate:n=!1,isEmphasized:i=!1,autoFocus:a,children:l,...s}=e,{styleProps:u}=Nt(s),c=O.useRef(null),d=Ta(t,c),f=O.useContext(iY),{inputProps:h,isInvalid:p,isDisabled:m}=f?g0e({...e,value:e.value,isRequired:r.isRequired,validationState:r.validationState,isInvalid:r.isInvalid},f,c):rY(e,jT(e),c),{hoverProps:g,isHovered:b}=Er({isDisabled:m}),v=n?w.createElement(d0e,{UNSAFE_className:z(ro(Mr),"spectrum-Checkbox-partialCheckmark")}):w.createElement(l0e,{UNSAFE_className:z(ro(Mr),"spectrum-Checkbox-checkmark")});if(f){for(let $ of["isSelected","defaultSelected","isEmphasized"])r[$]!=null&&console.warn(`${$} is unsupported on individual elements within a . Please apply these props to the group instead.`);e.value==null&&console.warn("A element within a requires a `value` property.")}return w.createElement("label",{...u,...g,ref:d,className:z(ro(Mr),"spectrum-Checkbox",{"is-checked":h.checked,"is-indeterminate":n,"spectrum-Checkbox--quiet":!i,"is-invalid":p,"is-disabled":m,"is-hovered":b},u.className)},w.createElement(_r,{focusRingClass:z(ro(Mr),"focus-ring"),autoFocus:a},w.createElement("input",{...h,ref:c,className:z(ro(Mr),"spectrum-Checkbox-input")})),w.createElement("span",{className:z(ro(Mr),"spectrum-Checkbox-box")},v),l&&w.createElement("span",{className:z(ro(Mr),"spectrum-Checkbox-label")},l))}let Y1=O.forwardRef(b0e);var _l={};Ir(_l,"focus-ring",()=>Dw,e=>Dw=e);Ir(_l,"i18nFontFamily",()=>Rw,e=>Rw=e);Ir(_l,"spectrum-FieldGroup",()=>Tw,e=>Tw=e);Ir(_l,"spectrum-FieldGroup-group",()=>Iw,e=>Iw=e);Ir(_l,"spectrum-FieldGroup-group--horizontal",()=>Mw,e=>Mw=e);Ir(_l,"spectrum-FocusRing-ring",()=>zv,e=>zv=e);Ir(_l,"spectrum-FocusRing",()=>Bw,e=>Bw=e);Ir(_l,"spectrum-FocusRing--quiet",()=>_w,e=>_w=e);var Dw,Rw,Tw,Iw,Mw,zv,Bw,_w;Dw="hyn22G_focus-ring";Rw="hyn22G_i18nFontFamily";Tw="hyn22G_spectrum-FieldGroup";Iw="hyn22G_spectrum-FieldGroup-group";Mw="hyn22G_spectrum-FieldGroup-group--horizontal";zv="hyn22G_spectrum-FocusRing-ring";Bw=`hyn22G_spectrum-FocusRing ${zv}`;_w="hyn22G_spectrum-FocusRing--quiet";function y0e(e,t){e=Fn(e),e=Io(e);let{isEmphasized:r,children:n,orientation:i="vertical"}=e,a=Xr(t),l=v0e(e),{groupProps:s,...u}=m0e(e,l);return w.createElement(Mu,{...e,...u,ref:a,wrapperClassName:z(ro(_l),"spectrum-FieldGroup"),elementType:"span",includeNecessityIndicatorInAccessibilityName:!0},w.createElement("div",{...s,className:z(ro(_l),"spectrum-FieldGroup-group",{"spectrum-FieldGroup-group--horizontal":i==="horizontal"})},w.createElement(Gh,{isEmphasized:r},w.createElement(iY.Provider,{value:l},n))))}const $0e=w.forwardRef(y0e);var aY={};aY={clear:"مسح",invalid:"(غير صالح)",loading:"جارٍ التحميل...",noResults:"لا توجد نتائج"};var lY={};lY={clear:"Изчисти",invalid:"(невалиден)",loading:"Зареждане...",noResults:"Няма резултати"};var oY={};oY={clear:"Vymazat",invalid:"(neplatné)",loading:"Načítání...",noResults:"Žádné výsledky"};var sY={};sY={clear:"Ryd",invalid:"(ugyldig)",loading:"Indlæser ...",noResults:"Ingen resultater"};var uY={};uY={clear:"Löschen",invalid:"(ungültig)",loading:"Wird geladen...",noResults:"Keine Ergebnisse"};var cY={};cY={clear:"Καθαρισμός",invalid:"(δεν ισχύει)",loading:"Φόρτωση...",noResults:"Χωρίς αποτέλεσμα"};var dY={};dY={loading:"Loading...",noResults:"No results",clear:"Clear",invalid:"(invalid)"};var fY={};fY={clear:"Borrar",invalid:"(no válido)",loading:"Cargando...",noResults:"Sin resultados"};var hY={};hY={clear:"Puhasta",invalid:"(kehtetu)",loading:"Laadimine...",noResults:"Tulemusi pole"};var pY={};pY={clear:"Kirkas",invalid:"(epäkelpo)",loading:"Ladataan...",noResults:"Ei tuloksia"};var mY={};mY={clear:"Effacer",invalid:"(non valide)",loading:"Chargement en cours...",noResults:"Aucun résultat"};var gY={};gY={clear:"נקי",invalid:"(לא חוקי)",loading:"טוען...",noResults:"אין תוצאות"};var vY={};vY={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var bY={};bY={clear:"Törlés",invalid:"(érvénytelen)",loading:"Betöltés folyamatban…",noResults:"Nincsenek találatok"};var yY={};yY={clear:"Cancella",invalid:"(non valido)",loading:"Caricamento in corso...",noResults:"Nessun risultato"};var $Y={};$Y={clear:"クリア",invalid:"(無効)",loading:"読み込み中...",noResults:"結果なし"};var OY={};OY={clear:"지우기",invalid:"(유효하지 않음)",loading:"로드 중...",noResults:"결과 없음"};var xY={};xY={clear:"Skaidrus",invalid:"(netinkama)",loading:"Įkeliama...",noResults:"Be rezultatų"};var SY={};SY={clear:"Notīrīt",invalid:"(nederīgs)",loading:"Notiek ielāde...",noResults:"Nav rezultātu"};var wY={};wY={clear:"Tøm",invalid:"(ugyldig)",loading:"Laster inn ...",noResults:"Ingen resultater"};var kY={};kY={clear:"Helder",invalid:"(ongeldig)",loading:"Laden...",noResults:"Geen resultaten"};var CY={};CY={clear:"Wyczyść",invalid:"(nieprawidłowy)",loading:"Trwa ładowanie...",noResults:"Brak wyników"};var EY={};EY={clear:"Limpar",invalid:"(inválido)",loading:"Carregando...",noResults:"Nenhum resultado"};var PY={};PY={clear:"Limpar",invalid:"(inválido)",loading:"A carregar...",noResults:"Sem resultados"};var FY={};FY={clear:"Golire",invalid:"(nevalid)",loading:"Se încarcă...",noResults:"Niciun rezultat"};var AY={};AY={clear:"Очистить",invalid:"(недействительно)",loading:"Загрузка...",noResults:"Результаты отсутствуют"};var DY={};DY={clear:"Vymazať",invalid:"(neplatné)",loading:"Načítava sa...",noResults:"Žiadne výsledky"};var RY={};RY={clear:"Jasen",invalid:"(neveljavno)",loading:"Nalaganje...",noResults:"Ni rezultatov"};var TY={};TY={clear:"Izbriši",invalid:"(nevažeće)",loading:"Učitavam...",noResults:"Nema rezultata"};var IY={};IY={clear:"Rensa",invalid:"(ogiltigt)",loading:"Läser in...",noResults:"Inga resultat"};var MY={};MY={clear:"Temizle",invalid:"(geçersiz)",loading:"Yükleniyor...",noResults:"Sonuç yok"};var BY={};BY={clear:"Очистити",invalid:"(недійсне)",loading:"Завантаження...",noResults:"Результатів немає"};var _Y={};_Y={clear:"透明",invalid:"(无效)",loading:"正在加载...",noResults:"无结果"};var NY={};NY={clear:"清除",invalid:"(無效)",loading:"正在載入...",noResults:"無任何結果"};var LY={};LY={loading:"جارٍ التحميل...",loadingMore:"جارٍ تحميل المزيد..."};var VY={};VY={loading:"Зареждане...",loadingMore:"Зареждане на още..."};var QY={};QY={loading:"Načítání...",loadingMore:"Načítání dalších..."};var zY={};zY={loading:"Indlæser ...",loadingMore:"Indlæser flere ..."};var jY={};jY={loading:"Laden...",loadingMore:"Mehr laden ..."};var WY={};WY={loading:"Φόρτωση...",loadingMore:"Φόρτωση περισσότερων..."};var ZY={};ZY={loading:"Loading…",loadingMore:"Loading more…"};var UY={};UY={loading:"Cargando…",loadingMore:"Cargando más…"};var qY={};qY={loading:"Laadimine...",loadingMore:"Laadi rohkem..."};var HY={};HY={loading:"Ladataan…",loadingMore:"Ladataan lisää…"};var KY={};KY={loading:"Chargement...",loadingMore:"Chargement supplémentaire..."};var YY={};YY={loading:"טוען...",loadingMore:"טוען עוד..."};var GY={};GY={loading:"Učitavam...",loadingMore:"Učitavam još..."};var XY={};XY={loading:"Betöltés folyamatban…",loadingMore:"Továbbiak betöltése folyamatban…"};var JY={};JY={loading:"Caricamento...",loadingMore:"Caricamento altri..."};var eG={};eG={loading:"読み込み中...",loadingMore:"さらに読み込み中..."};var tG={};tG={loading:"로드 중",loadingMore:"추가 로드 중"};var rG={};rG={loading:"Įkeliama...",loadingMore:"Įkeliama daugiau..."};var nG={};nG={loading:"Notiek ielāde...",loadingMore:"Tiek ielādēts vēl..."};var iG={};iG={loading:"Laster inn ...",loadingMore:"Laster inn flere ..."};var aG={};aG={loading:"Laden...",loadingMore:"Meer laden..."};var lG={};lG={loading:"Ładowanie...",loadingMore:"Wczytywanie większej liczby..."};var oG={};oG={loading:"Carregando...",loadingMore:"Carregando mais..."};var sG={};sG={loading:"A carregar...",loadingMore:"A carregar mais..."};var uG={};uG={loading:"Se încarcă...",loadingMore:"Se încarcă mai multe..."};var cG={};cG={loading:"Загрузка...",loadingMore:"Дополнительная загрузка..."};var dG={};dG={loading:"Načítava sa...",loadingMore:"Načítava sa viac..."};var fG={};fG={loading:"Nalaganje...",loadingMore:"Nalaganje več vsebine..."};var hG={};hG={loading:"Učitavam...",loadingMore:"Učitavam još..."};var pG={};pG={loading:"Läser in...",loadingMore:"Läser in mer..."};var mG={};mG={loading:"Yükleniyor...",loadingMore:"Daha fazla yükleniyor..."};var gG={};gG={loading:"Завантаження…",loadingMore:"Завантаження інших об’єктів..."};var vG={};vG={loading:"正在加载...",loadingMore:"正在加载更多..."};var bG={};bG={loading:"正在載入",loadingMore:"正在載入更多…"};const G1=new WeakMap;function O0e(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function yG(e,t){let r=G1.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${O0e(t)}`}function x0e(e,t,r){let n=Yt(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:l}=DH({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=Ru({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=ar(e.id);G1.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:c,fieldProps:d}=Hh({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:Oe(n,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...Oe(d,l)})}}function S0e(e,t,r){var n;let{key:i}=e,a=G1.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.disabledKeys.has(i);var u;let c=(u=e.isSelected)!==null&&u!==void 0?u:t.selectionManager.isSelected(i);var d;let f=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:a==null?void 0:a.shouldSelectOnPressUp;var h;let p=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:a==null?void 0:a.shouldFocusOnHover;var m;let g=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:a==null?void 0:a.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:a==null?void 0:a.isVirtualized,$=Tl(),y=Tl(),S={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};gs()&&FT()||(S["aria-label"]=e["aria-label"],S["aria-labelledby"]=$,S["aria-describedby"]=y);let k=t.collection.getItem(i);if(v){let T=Number(k==null?void 0:k.index);S["aria-posinset"]=Number.isNaN(T)?void 0:T+1,S["aria-setsize"]=ET(t.collection)}let{itemProps:C,isPressed:F,isFocused:E,hasAction:M,allowsSelection:D}=U1({selectionManager:t.selectionManager,key:i,ref:r,shouldSelectOnPressUp:f,allowsDifferentPressOrigin:f&&p,isVirtualized:v,shouldUseVirtualFocus:g,isDisabled:s,onAction:a!=null&&a.onAction?()=>{var T;return a==null||(T=a.onAction)===null||T===void 0?void 0:T.call(a,i)}:void 0,linkBehavior:a==null?void 0:a.linkBehavior}),{hoverProps:R}=Er({isDisabled:s||!p,onHoverStart(){Oo()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i))}}),B=Yt(k==null?void 0:k.props,{isLink:!!(!(k==null||(n=k.props)===null||n===void 0)&&n.href)});return delete B.id,{optionProps:{...S,...Oe(B,C,R),id:yG(t,i)},labelProps:{id:$},descriptionProps:{id:y},isFocused:E,isFocusVisible:E&&Oo(),isSelected:c,isDisabled:s,isPressed:F,allowsSelection:D,hasAction:M}}function w0e(e){let{heading:t,"aria-label":r}=e,n=ar();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}class k0e{shouldInvalidate(t,r){return t.width!==r.width||t.height!==r.height}validate(t){}getInitialLayoutInfo(t){return t}getFinalLayoutInfo(t){return t}}class gi{copy(){let t=new gi(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}constructor(t,r,n){this.type=t,this.key=r,this.parentKey=null,this.rect=n,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}}class vi{copy(){return new vi(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}constructor(t=0,r=0){this.x=t,this.y=r}}class Vt{get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new vi(this.x,this.y)}get topRight(){return new vi(this.maxX,this.y)}get bottomLeft(){return new vi(this.x,this.maxY)}get bottomRight(){return new vi(this.maxX,this.maxY)}intersects(t){return this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let r of["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[r]))return r;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let r=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.maxX,t.maxX)-r,a=Math.max(this.maxY,t.maxY)-n;return new Vt(r,n,i,a)}intersection(t){if(!this.intersects(t))return new Vt(0,0,0,0);let r=Math.max(this.x,t.x),n=Math.max(this.y,t.y);return new Vt(r,n,Math.min(this.maxX,t.maxX)-r,Math.min(this.maxY,t.maxY)-n)}copy(){return new Vt(this.x,this.y,this.width,this.height)}constructor(t=0,r=0,n=0,i=0){this.x=t,this.y=r,this.width=n,this.height=i}}class Os{copy(){return new Os(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}constructor(t=0,r=0){this.width=t,this.height=r}}let C0e=0;class E0e{prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}constructor(t){this.virtualizer=t,this.key=++C0e}}let tc=typeof window<"u"?window.performance:null,N_=tc&&(tc.now||tc.webkitNow||tc.msNow||tc.mozNow),Hy=N_?N_.bind(tc):function(){return Date.now?Date.now():new Date().getTime()},Ky;function P0e(e,t,r,n,i){let a=!1,l,s=new Promise(u=>{let c=Hy(),d=t.x-e.x,f=t.y-e.y;l=requestAnimationFrame(function h(p){Ky==null&&(Ky=p>1e12!=Hy()>1e12),Ky&&(p=Hy());let m=p-c;m>r?(i(t),u()):i(new vi(e.x+d*n(m/r),e.y+f*n(m/r)))!==!1&&!a&&(l=requestAnimationFrame(h))})});return s.cancel=function(){a=!0,cancelAnimationFrame(l)},s}function F0e(e){return Math.sin(e*Math.PI/2)}function L_(e,t){let r=new Set;for(let n of e.keys())t.has(n)||r.add(n);return r}function A0e(e,t){let r=L_(e,t),n=L_(t,e),i=new Set;for(let a of e.keys())t.has(a)&&i.add(a);return{toRemove:r,toAdd:n,toUpdate:i}}function*D0e(...e){for(let t of e)yield*t}function R0e(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}class Yp{addSample(t){this.count++,this.value+=(t-this.value)/this.count}constructor(){this.count=0,this.value=0}}class T0e{setVisibleRect(t){let r=performance.now()-this.startTime;r<500&&(this.averageTime.addSample(r),t.x!==this.visibleRect.x&&r>0&&(this.velocity.x=(t.x-this.visibleRect.x)/r),t.y!==this.visibleRect.y&&r>0&&(this.velocity.y=(t.y-this.visibleRect.y)/r)),this.startTime=performance.now(),this.visibleRect=t}collectMetrics(){let t=performance.now()-this.startTime;if(t<500&&this.averagePerf.addSample(t),this.visibleRect.height>0){let r=Math.abs(this.velocity.y*(this.averageTime.value+this.averagePerf.value));this.overscanY.addSample(r)}if(this.visibleRect.width>0){let r=Math.abs(this.velocity.x*(this.averageTime.value+this.averagePerf.value));this.overscanX.addSample(r)}}getOverscannedRect(){let t=this.visibleRect.copy(),r=Math.round(Math.min(this.visibleRect.height*2,this.overscanY.value)/100)*100;this.velocity.y>0?(t.y-=r*.2,t.height+=r+r*.2):(t.y-=r,t.height+=r+r*.2);let n=Math.round(Math.min(this.visibleRect.width*2,this.overscanX.value)/100)*100;return this.velocity.x>0?(t.x-=n*.2,t.width+=n+n*.2):(t.x-=n,t.width+=n+n*.2),t}constructor(){this.startTime=0,this.averagePerf=new Yp,this.averageTime=new Yp,this.velocity=new vi(5,5),this.overscanX=new Yp,this.overscanY=new Yp,this.visibleRect=new Vt}}class I0e{constructor(){this.level=0,this.actions=[],this.animated=!0,this.initialMap=new Map,this.finalMap=new Map,this.initialLayoutInfo=new Map,this.finalLayoutInfo=new Map,this.removed=new Map,this.toRemove=new Map}}class M0e{_setContentSize(t){this._contentSize=t,this.delegate.setContentSize(t)}_setContentOffset(t){let r=new Vt(t.x,t.y,this._visibleRect.width,this._visibleRect.height);this.delegate.setVisibleRect(r)}get contentSize(){return this._contentSize}get visibleRect(){return this._visibleRect}set visibleRect(t){this._setVisibleRect(t)}_setVisibleRect(t,r=!1){let n=this._visibleRect;if(t.equals(n))return;this.shouldOverscan&&this._overscanManager.setVisibleRect(t);let i=this.layout&&this.layout.shouldInvalidate(t,this._visibleRect);this._resetAnimatedContentOffset(),this._visibleRect=t,i?this.relayoutNow({offsetChanged:!t.pointEquals(n),sizeChanged:!t.sizeEquals(n)}):this.updateSubviews(r)}get collection(){return this._collection}set collection(t){this._setData(t)}_setData(t){t!==this._collection&&(this._collection?this._runTransaction(()=>{this._collection=t},this.transitionDuration>0):(this._collection=t,this.reloadData()))}reloadData(){this.relayout({contentChanged:!0})}getItem(t){return this._collection?this._collection.getItem(t):null}get persistedKeys(){return this._persistedKeys}set persistedKeys(t){R0e(t,this._persistedKeys)||(this._persistedKeys=t,this.updateSubviews())}isPersistedKey(t){if(this._persistedKeys.has(t))return!0;for(let r of this._persistedKeys)for(;r!=null;){let n=this.layout.getLayoutInfo(r);if(!n)break;if(r=n.parentKey,r===t)return!0}return!1}get layout(){return this._layout}set layout(t){this.setLayout(t)}setLayout(t,r=!1){if(t===this._layout)return;let n=()=>{this._layout&&(this._layout.virtualizer=null),t.virtualizer=this,this._layout=t};r?this._runTransaction(n):(n(),this.relayout())}_getReuseType(t,r){if(t.type==="item"&&r){let n=this.delegate.getType?this.delegate.getType(r):"item",i=n==="item"?"item":t.type+"_"+n;return{type:n,reuseType:i}}return{type:t.type,reuseType:t.type}}getReusableView(t){let r=this.getItem(t.key),{reuseType:n}=this._getReuseType(t,r);this._reusableViews[n]||(this._reusableViews[n]=[]);let i=this._reusableViews[n],a=i.length>0?i.pop():new E0e(this);return a.viewType=n,this._animatedContentOffset.isOrigin()||(t=t.copy(),t.rect.x+=this._animatedContentOffset.x,t.rect.y+=this._animatedContentOffset.y),a.layoutInfo=t,this._renderView(a),a}_renderView(t){let{type:r,key:n}=t.layoutInfo;t.content=this.getItem(n),t.rendered=this._renderContent(r,t.content)}_renderContent(t,r){let n=this._renderedContent.get(r);if(n!=null)return n;let i=this.delegate.renderView(t,r);return r&&this._renderedContent.set(r,i),i}get visibleViews(){return Array.from(this._visibleViews.values())}getView(t){return this._visibleViews.get(t)||null}getViewsOfType(t){return this.visibleViews.filter(r=>r.layoutInfo&&r.layoutInfo.type===t)}keyForView(t){return t&&t.layoutInfo?t.layoutInfo.key:null}keyAtPoint(t){let r=new Vt(t.x,t.y,1,1),n=this.layout.getVisibleLayoutInfos(r);for(let i of n)if(i.rect.intersects(r))return i.key;return null}willUnmount(){cancelAnimationFrame(this._relayoutRaf)}relayout(t={}){if(!(this._scrollAnimation||typeof requestAnimationFrame>"u")){if(this._invalidationContext){Object.assign(this._invalidationContext,t);return}this._invalidationContext=t}}relayoutNow(t=this._invalidationContext||{}){if(this._relayoutRaf&&(cancelAnimationFrame(this._relayoutRaf),this._relayoutRaf=null,t={...this._invalidationContext,...t}),this._invalidationContext=null,!this.layout||!this._collection||this._scrollAnimation)return;let r=this._getScrollAnchor();typeof t.beforeLayout=="function"&&t.beforeLayout(),this.layout.validate(t),this._setContentSize(this.layout.getContentSize()),typeof t.afterLayout=="function"&&t.afterLayout();let n=this.getVisibleRect(),i=this._restoreScrollAnchor(r,t),a=t.contentChanged?0:i.x,l=t.contentChanged?0:i.y;a=Math.max(0,Math.min(this.contentSize.width-n.width,a)),l=Math.max(0,Math.min(this.contentSize.height-n.height,l));let s=!1;if(a!==n.x||l!==n.y?t.animated||!this._animatedContentOffset.isOrigin()?(this._animatedContentOffset.x+=n.x-a,this._animatedContentOffset.y+=n.y-l,s=this.updateSubviews(t.contentChanged)):this._setContentOffset(new vi(a,l)):s=this.updateSubviews(t.contentChanged),t.transaction&&t.animated||this._applyLayoutInfos(),t.animated&&s){this._enableTransitions(),setTimeout(()=>{if(this._disableTransitions(),!this._animatedContentOffset.isOrigin()){let{x:c,y:d}=this.getVisibleRect();this._resetAnimatedContentOffset(),this._setContentOffset(new vi(c,d))}typeof t.afterAnimation=="function"&&t.afterAnimation()},this.transitionDuration+100);return}else typeof t.afterAnimation=="function"&&t.afterAnimation()}_correctItemOrder(){if(!(this._isScrolling||this._transaction))for(let t of this._visibleLayoutInfos.keys()){let r=this._visibleViews.get(t);this._children.delete(r),this._children.add(r)}}_enableTransitions(){this.delegate.beginAnimations()}_disableTransitions(){this.delegate.endAnimations()}_getScrollAnchor(){if(!this.anchorScrollPosition)return null;let t=this.getVisibleRect();if(this.delegate.getScrollAnchor){let n=this.delegate.getScrollAnchor(t);if(n!=null){let i=this.layout.getLayoutInfo(n),a=i.rect.getCornerInRect(t);if(a){let l=i.key,s=i.rect[a].y-t.y;return{key:l,layoutInfo:i,corner:a,offset:s}}}}if(t.y===0&&!this.anchorScrollPositionAtTop)return null;let r=null;for(let[n,i]of this._visibleViews){let a=i.layoutInfo;if(a&&a.rect.area>0){let l=a.rect.getCornerInRect(t);if(l){let s=a.rect[l].y-t.y;(!r||s0||a.size>0||this._hasLayoutUpdates());return u&&requestAnimationFrame(()=>{this._transaction&&requestAnimationFrame(()=>this._applyLayoutInfos())}),u}afterRender(){this._transactionQueue.length>0?this._processTransactionQueue():this._invalidationContext&&this.relayoutNow(),this.shouldOverscan&&this._overscanManager.collectMetrics()}_flushVisibleViews(){let t=new Map([[null,[]]]);for(let c of this._children){var r,n,i,a,l;((r=c.layoutInfo)===null||r===void 0?void 0:r.parentKey)!=null&&!t.has(c.layoutInfo.parentKey)&&t.set(c.layoutInfo.parentKey,[]),(n=t.get((i=c.layoutInfo)===null||i===void 0?void 0:i.parentKey))===null||n===void 0||n.push(c),t.has((a=c.layoutInfo)===null||a===void 0?void 0:a.key)||t.set((l=c.layoutInfo)===null||l===void 0?void 0:l.key,[])}let s=(c,d)=>d.map(f=>{let h=t.get(f.layoutInfo.key);return this.delegate.renderWrapper(c,f,h,p=>s(f,p))}),u=s(null,t.get(null));this.delegate.setVisibleViews(u)}_applyLayoutInfo(t,r){return t.layoutInfo===r?!1:(t.layoutInfo=r,!0)}_applyLayoutInfos(){let t=!1;for(let r of this._visibleViews.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}if(this._transaction){for(let r of this._transaction.toRemove.values()){let n=r.layoutInfo;if((n==null?void 0:n.key)!=null){let i=this.layout.getLayoutInfo(n.key);this._applyLayoutInfo(r,i)&&(t=!0)}}for(let r of this._transaction.removed.values()){let n=r.layoutInfo,i=this._transaction.finalLayoutInfo.get(n.key)||n;i=this.layout.getFinalLayoutInfo(i.copy()),this._applyLayoutInfo(r,i)&&(t=!0)}}t&&this._flushVisibleViews()}_hasLayoutUpdates(){if(!this._transaction)return!1;for(let t of this._visibleViews.values()){let r=t.layoutInfo;if(!r)return!0;let n=this.layout.getLayoutInfo(r.key);if(!r.rect.equals(n.rect)||r.opacity!==n.opacity||r.transform!==n.transform)return!0}return!1}reuseView(t){t.prepareForReuse(),this._reusableViews[t.viewType].push(t)}removeViews(t){for(let r of t)this._children.delete(r)}updateItemSize(t,r){if(!this.layout.updateItemSize)return;if(this._scrollAnimation){this._sizeUpdateQueue.set(t,r);return}this.layout.updateItemSize(t,r)&&this.relayout()}startScrolling(){this._isScrolling=!0}endScrolling(){this._isScrolling=!1,this._correctItemOrder(),this._flushVisibleViews()}_resetAnimatedContentOffset(){this._animatedContentOffset.isOrigin()||(this._animatedContentOffset=new vi(0,0),this._applyLayoutInfos())}scrollToItem(t,r){if(t==null)return;let n=this.layout.getLayoutInfo(t);if(!n)return;let{duration:i=300,shouldScrollX:a=!0,shouldScrollY:l=!0,offsetX:s=0,offsetY:u=0}=r,c=this.visibleRect.x,d=this.visibleRect.y,f=n.rect.x-s,h=n.rect.y-u,p=c+this.visibleRect.width,m=d+this.visibleRect.height;return a&&(f<=c||p===0?c=f:n.rect.maxX>p&&(c+=n.rect.maxX-p)),l&&(h<=d||m===0?d=h:n.rect.maxY>m&&(d+=n.rect.maxY-m)),this.scrollTo(new vi(c,d),i)}scrollTo(t,r=300){return this._scrollAnimation&&(this._scrollAnimation.cancel(),this._scrollAnimation=null),r<=0||this.visibleRect.pointEquals(t)?(this._setContentOffset(t),Promise.resolve()):(this.startScrolling(),this._scrollAnimation=P0e(this.visibleRect,t,r,F0e,n=>{this._setContentOffset(n)}),this._scrollAnimation.then(()=>{this._scrollAnimation=null;for(let[n,i]of this._sizeUpdateQueue)this.updateItemSize(n,i);this._sizeUpdateQueue.clear(),this.relayout(),this._processTransactionQueue(),this.endScrolling()}),this._scrollAnimation)}_runTransaction(t,r){this._startTransaction(),this._nextTransaction&&this._nextTransaction.actions.push(t),this._endTransaction(r)}_startTransaction(){this._nextTransaction||(this._nextTransaction=new I0e),this._nextTransaction.level++}_endTransaction(t){return!this._nextTransaction||(t!=null&&(this._nextTransaction.animated=t),--this._nextTransaction.level>0)?!1:this._nextTransaction.actions.length===0?(this._nextTransaction=null,!1):(this._nextTransaction.animated==null&&(this._nextTransaction.animated=!0),this._transactionQueue.push(this._nextTransaction),this._nextTransaction=null,!0)}_processTransactionQueue(){if(this._transaction||this._scrollAnimation)return;let t=this._transactionQueue.shift();t&&this._performTransaction(t)}_getContentRect(){return new Vt(0,0,this.contentSize.width,this.contentSize.height)}_performTransaction(t){this._transaction=t,this.relayoutNow({transaction:t,animated:t.animated,beforeLayout:()=>{t.animated&&(t.initialMap=this._getLayoutInfoMap(this._getContentRect(),!0));for(let r of t.actions)r()},afterLayout:()=>{t.animated?(t.finalMap=this._getLayoutInfoMap(this._getContentRect()),this._setupTransactionAnimations(t)):this._transaction=null},afterAnimation:()=>{if(t.toRemove.size>0||t.removed.size>0)for(let r of D0e(t.toRemove.values(),t.removed.values()))this._children.delete(r),this.reuseView(r);this._transaction=null,this._correctItemOrder(),this._flushVisibleViews(),this._processTransactionQueue()}})}_setupTransactionAnimations(t){let{initialMap:r,finalMap:n}=t;for(let[i,a]of r)n.has(i)?t.initialLayoutInfo.set(i,a):t.finalLayoutInfo.set(a.key,a);for(let[i,a]of n)if(!r.has(i)){let l=this.layout.getInitialLayoutInfo(a.copy());t.initialLayoutInfo.set(i,l)}for(let[i,a]of this._visibleViews)!n.has(i)&&a.layoutInfo.rect.width>0&&(t.removed.set(i,a),this._visibleViews.delete(i),a.layoutInfo&&(t.finalLayoutInfo.has(a.layoutInfo.key)||t.finalLayoutInfo.set(a.layoutInfo.key,a.layoutInfo)))}constructor(t={}){this._contentSize=new Os,this._visibleRect=new Vt,this._reusableViews={},this._visibleLayoutInfos=new Map,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._children=new Set,this._invalidationContext=null,this._overscanManager=new T0e,this._persistedKeys=new Set,this._scrollAnimation=null,this._isScrolling=!1,this._sizeUpdateQueue=new Map,this._animatedContentOffset=new vi(0,0),this._transaction=null,this._nextTransaction=null,this._transactionQueue=[];var r;this.transitionDuration=(r=t.transitionDuration)!==null&&r!==void 0?r:500,this.anchorScrollPosition=t.anchorScrollPosition||!1,this.anchorScrollPositionAtTop=t.anchorScrollPositionAtTop||!1,this.shouldOverscan=t.shouldOverscan!==!1;for(let n of["delegate","size","layout","collection"])t[n]&&(this[n]=t[n])}}function $G(e){let[t,r]=O.useState([]),[n,i]=O.useState(new Os),[a,l]=O.useState(!1),[s,u]=O.useState(!1),c=O.useMemo(()=>new M0e,[]);c.delegate={setVisibleViews:r,setVisibleRect(m){c.visibleRect=m,e.onVisibleRectChange(m)},setContentSize:i,renderView:e.renderView,renderWrapper:e.renderWrapper,beginAnimations:()=>l(!0),endAnimations:()=>l(!1),getScrollAnchor:e.getScrollAnchor},c.layout=e.layout,c.collection=e.collection,c.transitionDuration=e.transitionDuration,wt(()=>{c.afterRender()}),O.useEffect(()=>()=>c.willUnmount(),[]);let d=O.useCallback(m=>{c.visibleRect=m},[c]),f=O.useCallback(()=>{c.startScrolling(),u(!0)},[c]),h=O.useCallback(()=>{c.endScrolling(),u(!1)},[c]);return O.useMemo(()=>({virtualizer:c,visibleViews:t,setVisibleRect:d,contentSize:n,isAnimating:a,isScrolling:s,startScrolling:f,endScrolling:h}),[c,t,d,n,a,s,f,h])}const V_=48;class OG extends k0e{getLayoutInfo(t){let r=this.layoutInfos.get(t);return!r&&this.validRect.area{for(let a of i)this.isVisible(a,t)&&(r.push(a.layoutInfo),a.header&&r.push(a.header),a.children&&n(a.children))};return n(this.rootNodes),r}isVisible(t,r){return t.layoutInfo.rect.intersects(r)||t.layoutInfo.isSticky||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){return t.sizeChanged}validate(t){if(this.collection=this.virtualizer.collection,this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.lastValidRect=this.validRect,this.validRect=this.virtualizer.getVisibleRect()),this.rootNodes=this.buildCollection(),this.lastCollection&&this.collection!==this.lastCollection){for(let n of this.lastCollection.getKeys())if(!this.collection.getItem(n)){let i=this.layoutNodes.get(n);if(i){var r;this.layoutInfos.delete(i.layoutInfo.key),this.layoutInfos.delete((r=i.header)===null||r===void 0?void 0:r.key),this.layoutNodes.delete(n)}}}this.lastWidth=this.virtualizer.visibleRect.width,this.lastCollection=this.collection,this.invalidateEverything=!1}buildCollection(){let t=this.padding,r=0,n=[];for(let s of this.collection){var i;let u=(i=this.rowHeight)!==null&&i!==void 0?i:this.estimatedRowHeight;if(s.type==="item"&&t+uthis.validRect.maxY){t+=(this.collection.size-(n.length+r))*u;break}}if(this.isLoading){var a;let s=new Vt(0,t,this.virtualizer.visibleRect.width,(a=this.loaderHeight)!==null&&a!==void 0?a:this.virtualizer.visibleRect.height),u=new gi("loader","loader",s);this.layoutInfos.set("loader",u),n.push({layoutInfo:u}),t=u.rect.maxY}if(n.length===0){var l;let s=new Vt(0,t,this.virtualizer.visibleRect.width,(l=this.placeholderHeight)!==null&&l!==void 0?l:this.virtualizer.visibleRect.height),u=new gi("placeholder","placeholder",s);this.layoutInfos.set("placeholder",u),n.push({layoutInfo:u}),t=u.rect.maxY}return this.contentSize=new Os(this.virtualizer.visibleRect.width,t+this.padding),n}isValid(t,r){let n=this.layoutNodes.get(t.key);return!this.invalidateEverything&&n&&n.node===t&&r===(n.header||n.layoutInfo).rect.y&&n.layoutInfo.rect.intersects(this.lastValidRect)&&n.validRect.containsRect(n.layoutInfo.rect.intersection(this.validRect))}buildChild(t,r,n){if(this.isValid(t,n))return this.layoutNodes.get(t.key);let i=this.buildNode(t,r,n);i.node=t;var a;return i.layoutInfo.parentKey=(a=t.parentKey)!==null&&a!==void 0?a:null,this.layoutInfos.set(i.layoutInfo.key,i.layoutInfo),i.header&&this.layoutInfos.set(i.header.key,i.header),this.layoutNodes.set(t.key,i),i}buildNode(t,r,n){switch(t.type){case"section":return this.buildSection(t,r,n);case"item":return this.buildItem(t,r,n)}}buildSection(t,r,n){let i=this.virtualizer.visibleRect.width,a=this.headingHeight,l=!1;if(a==null){let g=this.layoutNodes.get(t.key);if(g&&g.header){let b=this.collection.getItem(t.key),v=this.lastCollection?this.lastCollection.getItem(t.key):null;a=g.header.rect.height,l=i!==this.lastWidth||b!==v||g.header.estimatedSize}else a=t.rendered?this.estimatedHeadingHeight:0,l=!0}a==null&&(a=V_);let s=new Vt(0,n,i,a),u=new gi("header",t.key+":header",s);u.estimatedSize=l,u.parentKey=t.key,n+=u.rect.height;let c=new Vt(0,n,i,0),d=new gi(t.type,t.key,c),f=n,h=0,p=[];for(let g of mr(t,this.collection)){var m;let b=(m=this.rowHeight)!==null&&m!==void 0?m:this.estimatedRowHeight;if(n+bthis.validRect.maxY){n+=([...mr(t,this.collection)].length-(p.length+h))*b;break}}return c.height=n-f,{header:u,layoutInfo:d,children:p,validRect:d.rect.intersection(this.validRect)}}buildItem(t,r,n){let i=this.virtualizer.visibleRect.width,a=this.rowHeight,l=!1;if(a==null){let c=this.layoutNodes.get(t.key);c?(a=c.layoutInfo.rect.height,l=i!==this.lastWidth||t!==c.node||c.layoutInfo.estimatedSize):(a=this.estimatedRowHeight,l=!0)}a==null&&(a=V_),typeof this.indentationForItem=="function"&&(r+=this.indentationForItem(this.collection,t.key)||0);let s=new Vt(r,n,i-r,a),u=new gi(t.type,t.key,s);return u.allowOverflow=!0,u.estimatedSize=l,{layoutInfo:u,validRect:u.rect}}updateItemSize(t,r){let n=this.layoutInfos.get(t);if(!n)return!1;if(n.estimatedSize=!1,n.rect.height!==r.height){let i=n.copy();i.rect.height=r.height,this.layoutInfos.set(t,i),this.updateLayoutNode(t,n,i);let a=this.collection.getItem(n.parentKey);for(;a;)this.updateLayoutNode(a.key,n,i),a=this.collection.getItem(a.parentKey);return!0}return!1}updateLayoutNode(t,r,n){let i=this.layoutNodes.get(t);i&&(i.validRect=new Vt,i.header===r?i.header=n:i.layoutInfo===r&&(i.layoutInfo=n))}getContentSize(){return this.contentSize}getKeyAbove(t){let r=this.collection;for(t=r.getKeyBefore(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyBefore(t)}}getKeyBelow(t){let r=this.collection;for(t=r.getKeyAfter(t);t!=null;){let n=r.getItem(t);if(n.type==="item"&&(this.allowDisabledKeyFocus||!this.disabledKeys.has(n.key)))return t;t=r.getKeyAfter(t)}}getKeyPageAbove(t){let r=this.getLayoutInfo(t);if(r){let n=Math.max(0,r.rect.y+r.rect.height-this.virtualizer.visibleRect.height);for(;r&&r.rect.y>n;){let i=this.getKeyAbove(r.key);r=this.getLayoutInfo(i)}if(r)return r.key}return this.getFirstKey()}getKeyPageBelow(t){let r=this.getLayoutInfo(t??this.getFirstKey());if(r){let n=Math.min(this.virtualizer.contentSize.height,r.rect.y-r.rect.height+this.virtualizer.visibleRect.height);for(;r&&r.rect.y=l.maxY-10&&n({...s,dropPosition:"after"})&&(s.dropPosition="after"):r<=l.y+l.height/2&&n({...s,dropPosition:"before"})?s.dropPosition="before":n({...s,dropPosition:"after"})&&(s.dropPosition="after"),s}constructor(t={}){super(),this.disabledKeys=new Set,this.allowDisabledKeyFocus=!1,this.rowHeight=t.rowHeight,this.estimatedRowHeight=t.estimatedRowHeight,this.headingHeight=t.headingHeight,this.estimatedHeadingHeight=t.estimatedHeadingHeight,this.padding=t.padding||0,this.indentationForItem=t.indentationForItem,this.collator=t.collator,this.loaderHeight=t.loaderHeight,this.placeholderHeight=t.placeholderHeight,this.layoutInfos=new Map,this.layoutNodes=new Map,this.rootNodes=[],this.lastWidth=0,this.lastCollection=null,this.allowDisabledKeyFocus=t.allowDisabledKeyFocus,this.lastValidRect=new Vt,this.validRect=new Vt,this.contentSize=new Os}}class B0e extends OG{shouldInvalidateEverything(t){return super.shouldInvalidateEverything(t)||!this.lastCollection||this.collection.columns.length!==this.lastCollection.columns.length||this.collection.columns.some((r,n)=>r.key!==this.lastCollection.columns[n].key||r.props.width!==this.lastCollection.columns[n].props.width||r.props.minWidth!==this.lastCollection.columns[n].props.minWidth||r.props.maxWidth!==this.lastCollection.columns[n].props.maxWidth)}getResizerPosition(){var t;return(t=this.getLayoutInfo(this.resizingColumn))===null||t===void 0?void 0:t.rect.maxX}getColumnWidth(t){var r;return(r=this.columnLayout.getColumnWidth(t))!==null&&r!==void 0?r:0}getColumnMinWidth(t){return this.collection.columns.find(n=>n.key===t)?this.columnLayout.getColumnMinWidth(t):0}getColumnMaxWidth(t){return this.collection.columns.find(n=>n.key===t)?this.columnLayout.getColumnMaxWidth(t):0}startResize(t){this.resizingColumn=t}updateResizedColumns(t,r){let n=new Map(Array.from(this.controlledColumns).map(([l,s])=>[l,s.props.width])),i=this.columnLayout.resizeColumnWidth(this.virtualizer.visibleRect.width,this.collection,n,this.uncontrolledWidths,t,r),a=new Map(Array.from(this.uncontrolledColumns).map(([l])=>[l,i.get(l)]));return a.set(t,r),this.uncontrolledWidths=a,this.uncontrolledWidths.size>0&&this.virtualizer.relayoutNow({sizeChanged:!0}),i}endResize(){this.resizingColumn=null}buildCollection(){let t=this.collection.body.props.loadingState;this.wasLoading=this.isLoading,this.isLoading=t==="loading"||t==="loadingMore",this.stickyColumnIndices=[];for(let s of this.collection.columns)(s.props.isDragButtonCell||s.props.isSelectionCell||this.collection.rowHeaderColumnKeys.has(s.key))&&this.stickyColumnIndices.push(s.index);let[r,n]=this.columnLayout.splitColumnsIntoControlledAndUncontrolled(this.collection.columns);this.controlledColumns=r,this.uncontrolledColumns=n;let i=this.columnLayout.recombineColumns(this.collection.columns,this.uncontrolledWidths,n,r);this.columnWidths=this.columnLayout.buildColumnWidths(this.virtualizer.visibleRect.width,this.collection,i);let a=this.buildHeader(),l=this.buildBody(0);return this.lastPersistedKeys=null,l.layoutInfo.rect.width=Math.max(a.layoutInfo.rect.width,l.layoutInfo.rect.width),this.contentSize=new Os(l.layoutInfo.rect.width,l.layoutInfo.rect.maxY),[a,l]}buildHeader(){let t=new Vt(0,0,0,0),r=new gi("header","header",t),n=0,i=0,a=[];for(let l of this.collection.headerRows){let s=this.buildChild(l,0,n);s.layoutInfo.parentKey="header",n=s.layoutInfo.rect.maxY,i=Math.max(i,s.layoutInfo.rect.width),s.index=a.length,a.push(s)}return t.width=i,t.height=n,this.layoutInfos.set("header",r),{layoutInfo:r,children:a,validRect:r.rect}}buildHeaderRow(t,r,n){let i=new Vt(0,n,0,0),a=new gi("headerrow",t.key,i),l=0,s=[];for(let u of mr(t,this.collection)){let c=this.buildChild(u,r,n);c.layoutInfo.parentKey=a.key,r=c.layoutInfo.rect.maxX,l=Math.max(l,c.layoutInfo.rect.height),c.index=s.length,s.push(c)}for(let[u,c]of s.entries())c.layoutInfo.zIndex=s.length-u+1;return this.setChildHeights(s,l),i.height=l,i.width=r,{layoutInfo:a,children:s,validRect:i}}setChildHeights(t,r){for(let n of t)n.layoutInfo.rect.height!==r&&(n.layoutInfo=n.layoutInfo.copy(),this.layoutInfos.set(n.layoutInfo.key,n.layoutInfo),n.layoutInfo.rect.height=r)}getRenderedColumnWidth(t){var r;let n=(r=t.colspan)!==null&&r!==void 0?r:1;var i;let a=(i=t.colIndex)!==null&&i!==void 0?i:t.index,l=0;for(let s=a;sthis.validRect.maxY){t+=(this.collection.size-(a+s.length))*f;break}}if(this.isLoading){let c=new Vt(40,Math.max(t,40),(l||this.virtualizer.visibleRect.width)-80,s.length===0?this.virtualizer.visibleRect.height-80:60),d=new gi("loader","loader",c);d.parentKey="body",d.isSticky=!this.disableSticky&&s.length===0,this.layoutInfos.set("loader",d),s.push({layoutInfo:d,validRect:d.rect}),t=d.rect.maxY,l=Math.max(l,c.width)}else if(s.length===0){let c=new Vt(40,Math.max(t,40),this.virtualizer.visibleRect.width-80,this.virtualizer.visibleRect.height-80),d=new gi("empty","empty",c);d.parentKey="body",d.isSticky=!this.disableSticky,this.layoutInfos.set("empty",d),s.push({layoutInfo:d,validRect:d.rect}),t=d.rect.maxY,l=Math.max(l,c.width)}return r.width=l,r.height=t-i,this.layoutInfos.set("body",n),{layoutInfo:n,children:s,validRect:n.rect.intersection(this.validRect)}}buildNode(t,r,n){switch(t.type){case"headerrow":return this.buildHeaderRow(t,r,n);case"item":return this.buildRow(t,r,n);case"column":case"placeholder":return this.buildColumn(t,r,n);case"cell":return this.buildCell(t,r,n);default:throw new Error("Unknown node type "+t.type)}}buildRow(t,r,n){let i=new Vt(r,n,0,0),a=new gi("row",t.key,i),l=[],s=0;for(let[u,c]of[...mr(t,this.collection)].entries())if(c.type==="cell")if(r>this.validRect.maxX){let d=this.layoutNodes.get(c.key);d&&(d.layoutInfo.rect.x=r,r+=d.layoutInfo.rect.width)}else{let d=this.buildChild(c,r,n);r=d.layoutInfo.rect.maxX,s=Math.max(s,d.layoutInfo.rect.height),d.index=u,l.push(d)}return this.setChildHeights(l,s),i.width=this.layoutInfos.get("header").rect.width,i.height=s+1,{layoutInfo:a,children:l,validRect:i.intersection(this.validRect)}}buildCell(t,r,n){var i,a;let l=this.getRenderedColumnWidth(t),{height:s,isEstimated:u}=this.getEstimatedHeight(t,l,this.rowHeight,this.estimatedRowHeight),c=new Vt(r,n,l,s),d=new gi(t.type,t.key,c);return d.isSticky=!this.disableSticky&&(((i=t.props)===null||i===void 0?void 0:i.isDragButtonCell)||((a=t.props)===null||a===void 0?void 0:a.isSelectionCell)),d.zIndex=d.isSticky?2:1,d.estimatedSize=u,{layoutInfo:d,validRect:c}}getVisibleLayoutInfos(t){!this.validRect.containsRect(t)&&this.lastCollection&&(this.lastValidRect=this.validRect,this.validRect=this.validRect.union(t),this.rootNodes=this.buildCollection());let r=[];this.buildPersistedIndices();for(let n of this.rootNodes)r.push(n.layoutInfo),this.addVisibleLayoutInfos(r,n,t);return r}addVisibleLayoutInfos(t,r,n){if(!(!r.children||r.children.length===0))switch(r.layoutInfo.type){case"header":for(let i of r.children)t.push(i.layoutInfo),this.addVisibleLayoutInfos(t,i,n);break;case"rowgroup":{let i=this.binarySearch(r.children,n.topLeft,"y"),a=this.binarySearch(r.children,n.bottomRight,"y"),l=this.persistedIndices.get(r.layoutInfo.key),s=0;for(;l&&s>1,s=t[l];if(n==="x"&&s.layoutInfo.rect.maxXr.x||n==="y"&&s.layoutInfo.rect.y>r.y)a=l-1;else return l}return Math.max(0,Math.min(t.length-1,i))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let t of this.virtualizer.persistedKeys){let r=this.layoutInfos.get(t);for(;r&&r.parentKey;){let n=this.collection.getItem(r.key),i=this.persistedIndices.get(r.parentKey);i||(i=n.type==="cell"||n.type==="column"?[...this.stickyColumnIndices]:[],this.persistedIndices.set(r.parentKey,i));let a=this.layoutNodes.get(r.key).index;i.includes(a)||i.push(a),r=this.layoutInfos.get(r.parentKey)}}for(let t of this.persistedIndices.values())t.sort((r,n)=>r-n)}}getInitialLayoutInfo(t){let r=super.getInitialLayoutInfo(t);return r.transform=null,r}getFinalLayoutInfo(t){let r=super.getFinalLayoutInfo(t);return r.transform=null,r}checkChrome105(){var t;if(typeof window>"u"||window.navigator==null)return!1;let r;if(window.navigator.userAgentData)r=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>n.brand==="Chromium"&&Number(n.version)===105);else{let i=/Chrome\/(\d+)/.exec(window.navigator.userAgent);r=i&&i.length>=2&&Number(i[1])===105}return r}getDropTargetFromPoint(t,r,n){var i;t+=this.virtualizer.visibleRect.x,r+=this.virtualizer.visibleRect.y,r-=(i=this.virtualizer.layout.getVisibleLayoutInfos(new Vt(t,r,1,1)).find(h=>h.type==="headerrow"))===null||i===void 0?void 0:i.rect.height;let a,l=new vi(t,r),s=new Vt(l.x,l.y,1,1),u=this.virtualizer.layout.getVisibleLayoutInfos(s).filter(h=>h.type==="row");for(let h of u)h.rect.intersects(s)&&(a=h.key);if(a==null||this.collection.size===0)return{type:"root"};let c=this.getLayoutInfo(a),d=c.rect,f={type:"item",key:c.key,dropPosition:"on"};return n(f)?r<=d.y+10&&n({...f,dropPosition:"before"})?f.dropPosition="before":r>=d.maxY-10&&n({...f,dropPosition:"after"})&&(f.dropPosition="after"):r<=d.y+d.height/2&&n({...f,dropPosition:"before"})?f.dropPosition="before":n({...f,dropPosition:"after"})&&(f.dropPosition="after"),f}constructor(t){super(t),this.columnWidths=new Map,this.wasLoading=!1,this.isLoading=!1,this.lastPersistedKeys=null,this.persistedIndices=new Map,this.collection=t.initialCollection,this.stickyColumnIndices=[],this.disableSticky=this.checkChrome105(),this.columnLayout=t.columnLayout;let[r,n]=this.columnLayout.splitColumnsIntoControlledAndUncontrolled(this.collection.columns);this.controlledColumns=r,this.uncontrolledColumns=n,this.uncontrolledWidths=this.columnLayout.getInitialUncontrolledWidths(n)}}let Zu=null;function xG(e=!1){if(Zu===null||e){const t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";const n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Zu="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Zu="negative":Zu="positive-ascending"),document.body.removeChild(t),Zu}return Zu}function _0e(e,t){let{scrollLeft:r}=e;if(t==="rtl"){let{scrollWidth:n,clientWidth:i}=e;switch(xG()){case"negative":r=-r;break;case"positive-descending":r=n-i-r;break}}return r}function N0e(e,t,r){if(t==="rtl")switch(xG()){case"negative":r=-r;break;case"positive-ascending":break;default:{const{clientWidth:n,scrollWidth:i}=e;r=i-n-r;break}}e.scrollLeft=r}let L0e=w.version.startsWith("16.")||w.version.startsWith("17.");function V0e(e,t){let{contentSize:r,onVisibleRectChange:n,children:i,innerStyle:a,sizeToFit:l,onScrollStart:s,onScrollEnd:u,scrollDirection:c="both",...d}=e,f=O.useRef();t=t||f;let h=O.useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:!1}).current,{direction:p}=yr(),[m,g]=O.useState(!1),b=O.useCallback(k=>{k.target===k.currentTarget&&(e.onScroll&&e.onScroll(k),C1.flushSync(()=>{let C=k.currentTarget.scrollTop,F=_0e(k.currentTarget,p);h.scrollTop=Math.max(0,Math.min(C,r.height-h.height)),h.scrollLeft=Math.max(0,Math.min(F,r.width-h.width)),n(new Vt(h.scrollLeft,h.scrollTop,h.width,h.height)),h.isScrolling||(h.isScrolling=!0,g(!0),s&&s());let E=Date.now();h.scrollEndTime<=E+50&&(h.scrollEndTime=E+300,clearTimeout(h.scrollTimeout),h.scrollTimeout=setTimeout(()=>{h.isScrolling=!1,g(!1),h.scrollTimeout=null,u&&u()},300))}))},[e,p,h,r,n,s,u]);O.useEffect(()=>()=>{clearTimeout(h.scrollTimeout)},[]);let v=O.useCallback(()=>{let k=t.current;if(!k)return;let C=k.clientWidth,F=k.clientHeight;l&&r.width>0&&r.height>0&&(l==="width"?C=Math.min(C,r.width):l==="height"&&(F=Math.min(F,r.height))),(h.width!==C||h.height!==F)&&(h.width=C,h.height=F,n(new Vt(h.scrollLeft,h.scrollTop,C,F)))},[n,t,h,l,r]);wt(()=>{v()},[v]);let $=O.useRef();jh({ref:t,onResize:()=>{var k,C;L0e?(C=(k=$).current)!==null&&C!==void 0||(k.current=requestAnimationFrame(()=>{v(),$.current=null})):v()}}),O.useEffect(()=>()=>{$.current&&cancelAnimationFrame($.current)},[]);let S={padding:0,...d.style};return c==="horizontal"?(S.overflowX="auto",S.overflowY="hidden"):c==="vertical"||r.width===h.width?(S.overflowY="auto",S.overflowX="hidden"):S.overflow="auto",a={width:r.width,height:r.height,pointerEvents:m?"none":"auto",position:"relative",...a},w.createElement("div",{...d,style:S,ref:t,onScroll:b},w.createElement("div",{role:"presentation",style:a},i))}const SG=w.forwardRef(V0e);function wG(e){let{layoutInfo:t,virtualizer:r,ref:n}=e,i=O.useCallback(()=>{let a=Q0e(n.current);r.updateItemSize(t.key,a)},[r,t.key,n]);return wt(()=>{t.estimatedSize&&i()}),{updateSize:i}}function Q0e(e){let t=e.style.height;e.style.height="";let r=new Os(e.scrollWidth,e.scrollHeight);return e.style.height=t,r}function rI(e){let{className:t,layoutInfo:r,virtualizer:n,parent:i,children:a}=e,{direction:l}=yr(),s=O.useRef();return wG({layoutInfo:r,virtualizer:n,ref:s}),w.createElement("div",{role:"presentation",ref:s,className:t,style:jv(r,l,i)},a)}let Q_=new WeakMap;function jv(e,t,r){let n=t==="rtl"?"right":"left",i=Q_.get(e);if(i&&i[n]!=null){if(!r)return i;let l=e.rect.y-r.rect.y,s=e.rect.x-r.rect.x;if(i.top===l&&i[n]===s)return i}let a={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",top:e.rect.y-(r?r.rect.y:0),[n]:e.rect.x-(r?r.rect.x:0),transition:"all",WebkitTransition:"all",WebkitTransitionDuration:"inherit",transitionDuration:"inherit",width:e.rect.width,height:e.rect.height,opacity:e.opacity,zIndex:e.zIndex,transform:e.transform,contain:"size layout style"};return Q_.set(e,a),a}function z0e(e,t){let{children:r,renderWrapper:n,layout:i,collection:a,sizeToFit:l,scrollDirection:s,transitionDuration:u,isLoading:c,onLoadMore:d,focusedKey:f,shouldUseVirtualFocus:h,scrollToItem:p,autoFocus:m,...g}=e,b=O.useRef();t=t||b;let v=$G({transitionDuration:u,layout:i,collection:a,renderView:r,renderWrapper:n||W0e,onVisibleRectChange(S){t.current.scrollLeft=S.x,t.current.scrollTop=S.y}}),{virtualizerProps:$,scrollViewProps:y}=kG(e,v,t);return w.createElement(SG,{...Oe(g,$,y),ref:t,innerStyle:v.isAnimating?{transition:`none ${v.virtualizer.transitionDuration}ms`}:void 0,contentSize:v.contentSize,onScrollStart:v.startScrolling,onScrollEnd:v.endScrolling,sizeToFit:l,scrollDirection:s},v.visibleViews)}function kG(e,t,r){let{focusedKey:n,scrollToItem:i,shouldUseVirtualFocus:a,isLoading:l,onLoadMore:s}=e,{virtualizer:u}=t,c=O.useRef(null),d=O.useRef(!1),f=O.useRef(e.autoFocus);O.useEffect(()=>{if(u.visibleRect.height===0)return;let y=bs();n!==c.current&&(y!=="pointer"||f.current)&&(f.current=!1,i?i(n):u.scrollToItem(n,{duration:0})),c.current=n},[n,u.visibleRect.height,u,c,i,r]),u.persistedKeys=O.useMemo(()=>n?new Set([n]):new Set,[n]);let h=O.useCallback(y=>{let S=bs();!d.current&&r.current.contains(y.target)&&S!=="pointer"&&(i?i(n):u.scrollToItem(n,{duration:0})),d.current=y.target!==r.current},[r,u,n,i]),p=O.useCallback(y=>{d.current=r.current.contains(y.relatedTarget)},[r]),m;a||(m=n!=null?-1:0,u.collection.size===0&&e.tabIndex!=null&&(m=e.tabIndex));let g=O.useRef(l),b=O.useRef(e),v=O.useCallback(y=>{if(t.setVisibleRect(y),!g.current&&s){let S=t.virtualizer.contentSize.height-y.height*2;y.y>S&&(g.current=!0,s())}},[s,t]),$=O.useRef(0);return wt(()=>{if(t.isAnimating)return;let y=g.current;e!==b.current&&(g.current=l,b.current=e),!g.current&&s&&t.contentSize.height>0&&t.contentSize.height<=t.virtualizer.visibleRect.height&&(y||t.contentSize.height!==$.current)&&(g.current=!0,s()),$.current=t.contentSize.height},[t.contentSize,t.isAnimating,t.virtualizer,l,s,e]),{virtualizerProps:{tabIndex:m,onFocus:h,onBlur:p},scrollViewProps:{onVisibleRectChange:v}}}const j0e=w.forwardRef(z0e);function W0e(e,t){return w.createElement(rI,{key:t.key,layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e==null?void 0:e.layoutInfo},t.rendered)}function Ti(e){return e&&e.__esModule?e.default:e}function ct(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var CG={};CG={"ar-AE":LY,"bg-BG":VY,"cs-CZ":QY,"da-DK":zY,"de-DE":jY,"el-GR":WY,"en-US":ZY,"es-ES":UY,"et-EE":qY,"fi-FI":HY,"fr-FR":KY,"he-IL":YY,"hr-HR":GY,"hu-HU":XY,"it-IT":JY,"ja-JP":eG,"ko-KR":tG,"lt-LT":rG,"lv-LV":nG,"nb-NO":iG,"nl-NL":aG,"pl-PL":lG,"pt-BR":oG,"pt-PT":sG,"ro-RO":uG,"ru-RU":cG,"sk-SK":dG,"sl-SI":fG,"sr-SP":hG,"sv-SE":pG,"tr-TR":mG,"uk-UA":gG,"zh-CN":vG,"zh-TW":bG};const nI=w.createContext(null);var ze={};ct(ze,"checkmark",()=>Nw,e=>Nw=e);ct(ze,"chevron",()=>Lw,e=>Lw=e);ct(ze,"description",()=>Vw,e=>Vw=e);ct(ze,"end",()=>Qw,e=>Qw=e);ct(ze,"focus-ring",()=>zw,e=>zw=e);ct(ze,"i18nFontFamily",()=>jw,e=>jw=e);ct(ze,"icon",()=>Ww,e=>Ww=e);ct(ze,"is-active",()=>Zw,e=>Zw=e);ct(ze,"is-disabled",()=>Uw,e=>Uw=e);ct(ze,"is-expanded",()=>qw,e=>qw=e);ct(ze,"is-focused",()=>Hw,e=>Hw=e);ct(ze,"is-highlighted",()=>Kw,e=>Kw=e);ct(ze,"is-hovered",()=>Yw,e=>Yw=e);ct(ze,"is-open",()=>Gw,e=>Gw=e);ct(ze,"is-selectable",()=>Xw,e=>Xw=e);ct(ze,"is-selected",()=>Jw,e=>Jw=e);ct(ze,"keyboard",()=>e8,e=>e8=e);ct(ze,"spectrum-FocusRing-ring",()=>Wv,e=>Wv=e);ct(ze,"spectrum-FocusRing",()=>t8,e=>t8=e);ct(ze,"spectrum-FocusRing--quiet",()=>r8,e=>r8=e);ct(ze,"spectrum-Icon",()=>n8,e=>n8=e);ct(ze,"spectrum-Menu",()=>i8,e=>i8=e);ct(ze,"spectrum-Menu-avatar",()=>a8,e=>a8=e);ct(ze,"spectrum-Menu-checkmark",()=>l8,e=>l8=e);ct(ze,"spectrum-Menu-chevron",()=>o8,e=>o8=e);ct(ze,"spectrum-Menu-description",()=>s8,e=>s8=e);ct(ze,"spectrum-Menu-divider",()=>u8,e=>u8=e);ct(ze,"spectrum-Menu-end",()=>c8,e=>c8=e);ct(ze,"spectrum-Menu-icon",()=>d8,e=>d8=e);ct(ze,"spectrum-Menu-item",()=>f8,e=>f8=e);ct(ze,"spectrum-Menu-itemGrid",()=>h8,e=>h8=e);ct(ze,"spectrum-Menu-itemIcon",()=>p8,e=>p8=e);ct(ze,"spectrum-Menu-itemLabel",()=>m8,e=>m8=e);ct(ze,"spectrum-Menu-itemLabel--wrapping",()=>g8,e=>g8=e);ct(ze,"spectrum-Menu-keyboard",()=>v8,e=>v8=e);ct(ze,"spectrum-Menu-popover",()=>b8,e=>b8=e);ct(ze,"spectrum-Menu-section--isFirst",()=>y8,e=>y8=e);ct(ze,"spectrum-Menu-section--isLast",()=>$8,e=>$8=e);ct(ze,"spectrum-Menu-section--noHeading",()=>O8,e=>O8=e);ct(ze,"spectrum-Menu-sectionHeading",()=>x8,e=>x8=e);ct(ze,"spectrum-Menu-subdialog",()=>S8,e=>S8=e);ct(ze,"spectrum-Menu-wrapper",()=>w8,e=>w8=e);ct(ze,"spectrum-Menu-wrapper--isMobile",()=>k8,e=>k8=e);ct(ze,"spectrum-Submenu-heading",()=>C8,e=>C8=e);ct(ze,"spectrum-Submenu-headingWrapper",()=>E8,e=>E8=e);ct(ze,"spectrum-Submenu-popover",()=>P8,e=>P8=e);ct(ze,"spectrum-Submenu-wrapper",()=>F8,e=>F8=e);ct(ze,"text",()=>A8,e=>A8=e);var Nw,Lw,Vw,Qw,zw,jw,Ww,Zw,Uw,qw,Hw,Kw,Yw,Gw,Xw,Jw,e8,Wv,t8,r8,n8,i8,a8,l8,o8,s8,u8,c8,d8,f8,h8,p8,m8,g8,v8,b8,y8,$8,O8,x8,S8,w8,k8,C8,E8,P8,F8,A8;Nw="Q7FggG_checkmark";Lw="Q7FggG_chevron";Vw="Q7FggG_description";Qw="Q7FggG_end";zw="Q7FggG_focus-ring";jw="Q7FggG_i18nFontFamily";Ww="Q7FggG_icon";Zw="Q7FggG_is-active";Uw="Q7FggG_is-disabled";qw="Q7FggG_is-expanded";Hw="Q7FggG_is-focused";Kw="Q7FggG_is-highlighted";Yw="Q7FggG_is-hovered";Gw="Q7FggG_is-open";Xw="Q7FggG_is-selectable";Jw="Q7FggG_is-selected";e8="Q7FggG_keyboard";Wv="Q7FggG_spectrum-FocusRing-ring";t8=`Q7FggG_spectrum-FocusRing ${Wv}`;r8="Q7FggG_spectrum-FocusRing--quiet";n8="Q7FggG_spectrum-Icon";i8="Q7FggG_spectrum-Menu";a8="Q7FggG_spectrum-Menu-avatar";l8="Q7FggG_spectrum-Menu-checkmark";o8="Q7FggG_spectrum-Menu-chevron";s8="Q7FggG_spectrum-Menu-description";u8="Q7FggG_spectrum-Menu-divider";c8="Q7FggG_spectrum-Menu-end";d8="Q7FggG_spectrum-Menu-icon";f8="Q7FggG_spectrum-Menu-item";h8="Q7FggG_spectrum-Menu-itemGrid";p8="Q7FggG_spectrum-Menu-itemIcon";m8="Q7FggG_spectrum-Menu-itemLabel";g8="Q7FggG_spectrum-Menu-itemLabel--wrapping";v8="Q7FggG_spectrum-Menu-keyboard";b8="Q7FggG_spectrum-Menu-popover";y8="Q7FggG_spectrum-Menu-section--isFirst";$8="Q7FggG_spectrum-Menu-section--isLast";O8="Q7FggG_spectrum-Menu-section--noHeading";x8="Q7FggG_spectrum-Menu-sectionHeading";S8="Q7FggG_spectrum-Menu-subdialog";w8="Q7FggG_spectrum-Menu-wrapper";k8="Q7FggG_spectrum-Menu-wrapper--isMobile";C8="Q7FggG_spectrum-Submenu-heading";E8="Q7FggG_spectrum-Submenu-headingWrapper";P8="Q7FggG_spectrum-Submenu-popover";F8="Q7FggG_spectrum-Submenu-wrapper";A8="Q7FggG_text";function Z0e(e){let{item:t,shouldSelectOnPressUp:r,shouldFocusOnHover:n,shouldUseVirtualFocus:i}=e,{rendered:a,key:l}=t,s=t.props.href?"a":"div",u=O.useContext(nI),c=O.useRef(),{optionProps:d,labelProps:f,descriptionProps:h,isSelected:p,isDisabled:m,isFocused:g}=S0e({"aria-label":t["aria-label"],key:l,shouldSelectOnPressUp:r,shouldFocusOnHover:n,isVirtualized:!0,shouldUseVirtualFocus:i},u,c),{hoverProps:b,isHovered:v}=Er({...e,isDisabled:m}),$=typeof a=="string"?w.createElement(Yh,null,a):a,y=Oo();return w.createElement(_r,{focusRingClass:z(Ti(ze),"focus-ring")},w.createElement(s,{...Oe(d,n?{}:b),ref:c,className:z(Ti(ze),"spectrum-Menu-item",{"is-focused":i&&g&&y,"is-disabled":m,"is-selected":p,"is-selectable":u.selectionManager.selectionMode!=="none","is-hovered":v&&!n||g&&!y})},w.createElement(GT,{UNSAFE_className:z(Ti(ze),"spectrum-Menu-itemGrid")},w.createElement(B1,null,w.createElement(Ma,{slots:{text:{UNSAFE_className:Ti(ze)["spectrum-Menu-itemLabel"],...f},icon:{size:"S",UNSAFE_className:Ti(ze)["spectrum-Menu-icon"]},avatar:{size:"avatar-size-100",UNSAFE_className:Ti(ze)["spectrum-Menu-avatar"]},description:{UNSAFE_className:Ti(ze)["spectrum-Menu-description"],...h}}},$,p&&w.createElement(q1,{slot:"checkmark",UNSAFE_className:z(Ti(ze),"spectrum-Menu-checkmark")}))))))}function U0e(e){let{children:t,layoutInfo:r,headerLayoutInfo:n,virtualizer:i,item:a}=e,{headingProps:l,groupProps:s}=w0e({heading:a.rendered,"aria-label":a["aria-label"]}),u=O.useRef();wG({layoutInfo:n,virtualizer:i,ref:u});let{direction:c}=yr(),d=O.useContext(nI);return w.createElement(O.Fragment,null,w.createElement("div",{role:"presentation",ref:u,style:jv(n,c)},a.key!==d.collection.getFirstKey()&&w.createElement("div",{role:"presentation",className:z(Ti(ze),"spectrum-Menu-divider")}),a.rendered&&w.createElement("div",{...l,className:z(Ti(ze),"spectrum-Menu-sectionHeading")},a.rendered)),w.createElement("div",{...s,style:jv(r,c),className:z(Ti(ze),"spectrum-Menu")},t))}function iI(e,t){let{scale:r}=Gn(),n=gd({usage:"search",sensitivity:"base"}),i=O.useMemo(()=>new OG({estimatedRowHeight:r==="large"?48:32,estimatedHeadingHeight:r==="large"?33:26,padding:r==="large"?5:4,loaderHeight:40,placeholderHeight:r==="large"?48:32,collator:n}),[n,r]);return i.collection=e.collection,i.disabledKeys=e.disabledKeys,wt(()=>{if(i.isLoading!==t){var a;i.isLoading=t,(a=i.virtualizer)===null||a===void 0||a.relayoutNow()}},[i,t]),i}function q0e(e,t){let{layout:r,state:n,shouldSelectOnPressUp:i,focusOnPointerEnter:a,shouldUseVirtualFocus:l,domProps:s={},transitionDuration:u=0,onScroll:c}=e,{listBoxProps:d}=x0e({...e,keyboardDelegate:r,isVirtualized:!0},n,t),{styleProps:f}=Nt(e),h=or(Ti(CG),"@react-spectrum/listbox"),p=(m,g,b,v)=>g.viewType==="section"?w.createElement(U0e,{key:g.key,item:g.content,layoutInfo:g.layoutInfo,virtualizer:g.virtualizer,headerLayoutInfo:b.find($=>$.viewType==="header").layoutInfo},v(b.filter($=>$.viewType==="item"))):w.createElement(rI,{key:g.key,layoutInfo:g.layoutInfo,virtualizer:g.virtualizer,parent:m==null?void 0:m.layoutInfo},g.rendered);return w.createElement(nI.Provider,{value:n},w.createElement(qh,null,w.createElement(j0e,{...f,...Oe(d,s),ref:t,focusedKey:n.selectionManager.focusedKey,autoFocus:!!e.autoFocus,sizeToFit:"height",scrollDirection:"vertical",className:z(Ti(ze),"spectrum-Menu",f.className),layout:r,collection:n.collection,renderWrapper:p,transitionDuration:u,isLoading:e.isLoading,onLoadMore:e.onLoadMore,shouldUseVirtualFocus:l,onScroll:c},(m,g)=>{if(m==="item")return w.createElement(Z0e,{item:g,shouldSelectOnPressUp:i,shouldFocusOnHover:a,shouldUseVirtualFocus:l});if(m==="loader")return w.createElement("div",{role:"option",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},w.createElement(vd,{isIndeterminate:!0,size:"S","aria-label":n.collection.size>0?h.format("loadingMore"):h.format("loading"),UNSAFE_className:z(Ti(ze),"spectrum-Dropdown-progressCircle")}));if(m==="placeholder"){let b=e.renderEmptyState?e.renderEmptyState():null;return b==null?null:w.createElement("div",{role:"option"},b)}})))}const aI=w.forwardRef(q0e);function X1(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:a=!1,type:l="text",validationBehavior:s="aria"}=e,[u,c]=da(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=Bs(e,t),f=_s({...e,value:u}),{isInvalid:h,validationErrors:p,validationDetails:m}=f.displayValidation,{labelProps:g,fieldProps:b,descriptionProps:v,errorMessageProps:$}=Kh({...e,isInvalid:h,errorMessage:e.errorMessage||p}),y=Yt(e,{labelable:!0});const S={type:l,pattern:e.pattern};return Du(t,u,c),tp(e,f,t),O.useEffect(()=>{if(t.current instanceof sh(t.current).HTMLTextAreaElement){let k=t.current;Object.defineProperty(k,"defaultValue",{get:()=>k.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:Oe(y,r==="input"&&S,{disabled:n,readOnly:a,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:u,onChange:k=>c(k.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,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,...b}),descriptionProps:v,errorMessageProps:$,isInvalid:h,validationErrors:p,validationDetails:m}}function z_(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function H0e(e,t,r){let n=Vr(f=>{let h=r.current,p;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":p=h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentForward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd+1):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentBackward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart-1)+h.value.slice(h.selectionStart):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":p=h.value.slice(h.selectionStart);break;default:f.data!=null&&(p=h.value.slice(0,h.selectionStart)+f.data+h.value.slice(h.selectionEnd));break}(p==null||!t.validate(p))&&f.preventDefault()});O.useEffect(()=>{if(!z_())return;let f=r.current;return f.addEventListener("beforeinput",n,!1),()=>{f.removeEventListener("beforeinput",n,!1)}},[r,n]);let i=z_()?null:f=>{let h=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(h)||f.preventDefault()},{labelProps:a,inputProps:l,descriptionProps:s,errorMessageProps:u,...c}=X1(e,r),d=O.useRef(null);return{inputProps:Oe(l,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:h,selectionEnd:p}=r.current;d.current={value:f,selectionStart:h,selectionEnd:p}},onCompositionEnd(){if(!t.validate(r.current.value)){let{value:f,selectionStart:h,selectionEnd:p}=d.current;r.current.value=f,r.current.setSelectionRange(h,p),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:u,...c}}function Wd(e){return e&&e.__esModule?e.default:e}function Jr(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var vr={};Jr(vr,"focus-ring",()=>D8,e=>D8=e);Jr(vr,"i18nFontFamily",()=>Zv,e=>Zv=e);Jr(vr,"is-disabled",()=>R8,e=>R8=e);Jr(vr,"is-focused",()=>T8,e=>T8=e);Jr(vr,"is-hovered",()=>I8,e=>I8=e);Jr(vr,"is-placeholder",()=>M8,e=>M8=e);Jr(vr,"spectrum-FocusRing-ring",()=>Uv,e=>Uv=e);Jr(vr,"spectrum-FocusRing",()=>qv,e=>qv=e);Jr(vr,"spectrum-FocusRing--quiet",()=>Hv,e=>Hv=e);Jr(vr,"spectrum-Textfield",()=>B8,e=>B8=e);Jr(vr,"spectrum-Textfield--invalid",()=>_8,e=>_8=e);Jr(vr,"spectrum-Textfield--loadable",()=>N8,e=>N8=e);Jr(vr,"spectrum-Textfield--multiline",()=>L8,e=>L8=e);Jr(vr,"spectrum-Textfield--quiet",()=>V8,e=>V8=e);Jr(vr,"spectrum-Textfield--valid",()=>Q8,e=>Q8=e);Jr(vr,"spectrum-Textfield-circleLoader",()=>z8,e=>z8=e);Jr(vr,"spectrum-Textfield-icon",()=>j8,e=>j8=e);Jr(vr,"spectrum-Textfield-input",()=>W8,e=>W8=e);Jr(vr,"spectrum-Textfield-inputIcon",()=>Z8,e=>Z8=e);Jr(vr,"spectrum-Textfield-validationIcon",()=>U8,e=>U8=e);Jr(vr,"spectrum-Textfield-wrapper",()=>q8,e=>q8=e);Jr(vr,"spectrum-Textfield-wrapper--quiet",()=>H8,e=>H8=e);var D8,Zv,R8,T8,I8,M8,Uv,qv,Hv,B8,_8,N8,L8,V8,Q8,z8,j8,W8,Z8,U8,q8,H8;D8="YO3Nla_focus-ring";Zv="YO3Nla_i18nFontFamily";R8="YO3Nla_is-disabled";T8="YO3Nla_is-focused";I8="YO3Nla_is-hovered";M8="YO3Nla_is-placeholder";Uv="YO3Nla_spectrum-FocusRing-ring";qv=`YO3Nla_spectrum-FocusRing ${Uv}`;Hv="YO3Nla_spectrum-FocusRing--quiet";B8=`YO3Nla_spectrum-Textfield ${qv}`;_8="YO3Nla_spectrum-Textfield--invalid";N8="YO3Nla_spectrum-Textfield--loadable";L8="YO3Nla_spectrum-Textfield--multiline";V8=`YO3Nla_spectrum-Textfield--quiet ${Hv}`;Q8="YO3Nla_spectrum-Textfield--valid";z8="YO3Nla_spectrum-Textfield-circleLoader";j8="YO3Nla_spectrum-Textfield-icon";W8=`YO3Nla_spectrum-Textfield-input ${Zv}`;Z8="YO3Nla_spectrum-Textfield-inputIcon";U8="YO3Nla_spectrum-Textfield-validationIcon";q8="YO3Nla_spectrum-Textfield-wrapper";H8="YO3Nla_spectrum-Textfield-wrapper--quiet";function K0e(e,t){let{validationState:r=e.isInvalid?"invalid":null,icon:n,isQuiet:i=!1,isDisabled:a,multiLine:l,autoFocus:s,inputClassName:u,wrapperChildren:c,labelProps:d,inputProps:f,descriptionProps:h,errorMessageProps:p,inputRef:m,isLoading:g,loadingIndicator:b,validationIconClassName:v,disableFocusRing:$}=e,{hoverProps:y,isHovered:S}=Er({isDisabled:a}),k=O.useRef(null),C=O.useRef(null),F=m||C;O.useImperativeHandle(t,()=>({...lU(k,F),select(){F.current&&F.current.select()},getInputElement(){return F.current}}));let E=l?"textarea":"input",M=r==="invalid"&&!a;if(n){let Q=z(Wd(vr),n.props&&n.props.UNSAFE_className,"spectrum-Textfield-icon");n=O.cloneElement(n,{UNSAFE_className:Q,size:"S"})}let D=M?w.createElement(K1,null):w.createElement(q1,null),R=O.cloneElement(D,{UNSAFE_className:z(Wd(vr),"spectrum-Textfield-validationIcon",v)}),{focusProps:B,isFocusVisible:T}=Kc({isTextInput:!0,autoFocus:s}),_=w.createElement("div",{className:z(Wd(vr),"spectrum-Textfield",{"spectrum-Textfield--invalid":M,"spectrum-Textfield--valid":r==="valid"&&!a,"spectrum-Textfield--loadable":b,"spectrum-Textfield--quiet":i,"spectrum-Textfield--multiline":l,"focus-ring":!$&&T})},w.createElement(E,{...Oe(f,y,B),ref:F,rows:l?1:void 0,className:z(Wd(vr),"spectrum-Textfield-input",{"spectrum-Textfield-inputIcon":n,"is-hovered":S},u)}),n,r&&!g&&!a?R:null,g&&b,c);return w.createElement(Mu,{...e,labelProps:d,descriptionProps:h,errorMessageProps:p,wrapperClassName:z(Wd(vr),"spectrum-Textfield-wrapper",{"spectrum-Textfield-wrapper--quiet":i}),showErrorIcon:!1,ref:k},_)}const rp=O.forwardRef(K0e);function Y0e(e,t){e=Fn(e),e=Io(e);let{isDisabled:r=!1,isQuiet:n=!1,isReadOnly:i=!1,isRequired:a=!1,onChange:l,...s}=e;var u;let[c,d]=da(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:"",()=>{}),f=O.useRef(null),h=O.useCallback(()=>{if((n||!e.height)&&f.current){let m=f.current,g=m.style.alignSelf,b=m.style.overflow;"MozAppearance"in m.style||(m.style.overflow="hidden"),m.style.alignSelf="start",m.style.height="auto",m.style.height=`${m.scrollHeight+(m.offsetHeight-m.clientHeight)}px`,m.style.overflow=b,m.style.alignSelf=g}},[n,f,e.height]);wt(()=>{f.current&&h()},[h,c,f]),e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/TextArea.html#help-text");let p=X1({...e,onChange:yo(l,d),inputElementType:"textarea"},f);return w.createElement(rp,{...s,ref:t,inputRef:f,...p,multiLine:!0,isDisabled:r,isQuiet:n,isReadOnly:i,isRequired:a})}let G0e=w.forwardRef(Y0e);function X0e(e,t){e=Fn(e),e=Io(e);let r=O.useRef(null),n=X1(e,r);return e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/TextField.html#help-text"),w.createElement(rp,{...e,...n,ref:t,inputRef:r})}const J0e=O.forwardRef(X0e);var EG={};EG={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var PG={};PG={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var FG={};FG={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var AG={};AG={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var DG={};DG={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var RG={};RG={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var TG={};TG={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var IG={};IG={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var MG={};MG={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var BG={};BG={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var _G={};_G={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} saisi, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var NG={};NG={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var LG={};LG={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var VG={};VG={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var QG={};QG={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var zG={};zG={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var jG={};jG={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var WG={};WG={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ZG={};ZG={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var UG={};UG={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var qG={};qG={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var HG={};HG={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var KG={};KG={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var YG={};YG={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var GG={};GG={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var XG={};XG={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var JG={};JG={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var eX={};eX={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var tX={};tX={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var rX={};rX={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var nX={};nX={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var iX={};iX={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var aX={};aX={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var lX={};lX={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};function e1e(e){return e&&e.__esModule?e.default:e}var oX={};oX={"ar-AE":EG,"bg-BG":PG,"cs-CZ":FG,"da-DK":AG,"de-DE":DG,"el-GR":RG,"en-US":TG,"es-ES":IG,"et-EE":MG,"fi-FI":BG,"fr-FR":_G,"he-IL":NG,"hr-HR":LG,"hu-HU":VG,"it-IT":QG,"ja-JP":zG,"ko-KR":jG,"lt-LT":WG,"lv-LV":ZG,"nb-NO":UG,"nl-NL":qG,"pl-PL":HG,"pt-BR":KG,"pt-PT":YG,"ro-RO":GG,"ru-RU":XG,"sk-SK":JG,"sl-SI":eX,"sr-SP":tX,"sv-SE":rX,"tr-TR":nX,"uk-UA":iX,"zh-CN":aX,"zh-TW":lX};function sX(e,t){let{buttonRef:r,popoverRef:n,inputRef:i,listBoxRef:a,keyboardDelegate:l,shouldFocusWrap:s,isReadOnly:u,isDisabled:c}=e,d=or(e1e(oX),"@react-aria/combobox"),{menuTriggerProps:f,menuProps:h}=qT({type:"listbox",isDisabled:c||u},t,r);G1.set(t,{id:h.id});let p=O.useMemo(()=>l||new UT(t.collection,t.disabledKeys,a),[l,t.collection,t.disabledKeys,a]),{collectionProps:m}=ZT({selectionManager:t.selectionManager,keyboardDelegate:p,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:i,isVirtualized:!0}),g=zh(),b=le=>{switch(le.key){case"Enter":case"Tab":if(t.isOpen&&le.key==="Enter"&&le.preventDefault(),t.isOpen&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){if(le.key==="Enter"){let be=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);be instanceof HTMLAnchorElement&&g.open(be,le)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&le.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},v=le=>{var be;le.relatedTarget===(r==null?void 0:r.current)||!((be=n.current)===null||be===void 0)&&be.contains(le.relatedTarget)||(e.onBlur&&e.onBlur(le),t.setFocused(!1))},$=le=>{t.isFocused||(e.onFocus&&e.onFocus(le),t.setFocused(!0))},{isInvalid:y,validationErrors:S,validationDetails:k}=t.displayValidation,{labelProps:C,inputProps:F,descriptionProps:E,errorMessageProps:M}=X1({...e,onChange:t.setInputValue,onKeyDown:u?e.onKeyDown:yo(t.isOpen&&m.onKeyDown,b,e.onKeyDown),onBlur:v,value:t.inputValue,onFocus:$,autoComplete:"off",validate:void 0,[fh]:t},i),D=le=>{le.pointerType==="touch"&&(i.current.focus(),t.toggle(null,"manual"))},R=le=>{le.pointerType!=="touch"&&(i.current.focus(),t.toggle(le.pointerType==="keyboard"||le.pointerType==="virtual"?"first":null,"manual"))},B=uh({id:f.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||C.id}),T=uh({id:h.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||C.id}),_=O.useRef(0),Q=le=>{if(c||u)return;if(le.timeStamp-_.current<500){le.preventDefault(),i.current.focus();return}let be=le.target.getBoundingClientRect(),Je=le.changedTouches[0],Ve=Math.ceil(be.left+.5*be.width),Re=Math.ceil(be.top+.5*be.height);Je.clientX===Ve&&Je.clientY===Re&&(le.preventDefault(),i.current.focus(),t.toggle(null,"manual"),_.current=le.timeStamp)},W=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var Z;let q=(Z=W==null?void 0:W.parentKey)!==null&&Z!==void 0?Z:null;var U;let A=(U=t.selectionManager.focusedKey)!==null&&U!==void 0?U:null,j=O.useRef(q),V=O.useRef(A);O.useEffect(()=>{if(Rf()&&W!=null&&A!==V.current){let le=t.selectionManager.isSelected(A),be=q!=null?t.collection.getItem(q):null,Je=(be==null?void 0:be["aria-label"])||(typeof(be==null?void 0:be.rendered)=="string"?be.rendered:"")||"",Ve=d.format("focusAnnouncement",{isGroupChange:be&&q!==j.current,groupTitle:Je,groupCount:be?[...mr(be,t.collection)].length:0,optionText:W["aria-label"]||W.textValue||"",isSelected:le});Dc(Ve)}j.current=q,V.current=A});let I=ET(t.collection),Y=O.useRef(I),ee=O.useRef(t.isOpen);O.useEffect(()=>{let le=t.isOpen!==ee.current&&(t.selectionManager.focusedKey==null||Rf());if(t.isOpen&&(le||I!==Y.current)){let be=d.format("countAnnouncement",{optionCount:I});Dc(be)}Y.current=I,ee.current=t.isOpen});let se=O.useRef(t.selectedKey);return O.useEffect(()=>{if(Rf()&&t.isFocused&&t.selectedItem&&t.selectedKey!==se.current){let le=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",be=d.format("selectedAnnouncement",{optionText:le});Dc(be)}se.current=t.selectedKey}),O.useEffect(()=>{if(t.isOpen)return QT([i.current,n.current])},[t.isOpen,i,n]),{labelProps:C,buttonProps:{...f,...B,excludeFromTabOrder:!0,onPress:D,onPressStart:R,isDisabled:c||u},inputProps:Oe(F,{role:"combobox","aria-expanded":f["aria-expanded"],"aria-controls":t.isOpen?h.id:void 0,"aria-autocomplete":"list","aria-activedescendant":W?yG(t,W.key):void 0,onTouchEnd:Q,autoCorrect:"off",spellCheck:"false"}),listBoxProps:Oe(h,T,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:E,errorMessageProps:M,isInvalid:y,validationErrors:S,validationDetails:k}}function uX(e){var t,r;let{defaultFilter:n,menuTrigger:i="input",allowsEmptyCollection:a=!1,allowsCustomValue:l,shouldCloseOnBlur:s=!0}=e,[u,c]=O.useState(!1),[d,f]=O.useState(!1),[h,p]=O.useState(null),m=ye=>{e.onSelectionChange&&e.onSelectionChange(ye),ye===$&&(Y(),j())};var g;let{collection:b,selectionManager:v,selectedKey:$,setSelectedKey:y,selectedItem:S,disabledKeys:k}=WH({...e,onSelectionChange:m,items:(g=e.items)!==null&&g!==void 0?g:e.defaultItems});var C,F;let[E,M]=da(e.inputValue,(F=(C=e.defaultInputValue)!==null&&C!==void 0?C:(t=b.getItem($))===null||t===void 0?void 0:t.textValue)!==null&&F!==void 0?F:"",e.onInputChange),D=b,R=O.useMemo(()=>e.items!=null||!n?b:t1e(b,E,n),[b,E,n,e.items]),[B,T]=O.useState(R),_=O.useRef("focus"),W=Xh({...e,onOpenChange:ye=>{e.onOpenChange&&e.onOpenChange(ye,ye?_.current:void 0),v.setFocused(ye),ye||v.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),Z=(ye=null,ke)=>{let xe=ke==="manual"||ke==="focus"&&i==="focus";(a||R.size>0||xe&&D.size>0||e.items)&&(xe&&!W.isOpen&&e.items===void 0&&c(!0),_.current=ke,p(ye),W.open())},q=(ye=null,ke)=>{let xe=ke==="manual"||ke==="focus"&&i==="focus";!(a||R.size>0||xe&&D.size>0||e.items)&&!W.isOpen||(xe&&!W.isOpen&&e.items===void 0&&c(!0),W.isOpen||(_.current=ke),A(ye))},U=O.useCallback(()=>{T(u?D:R)},[u,D,R]),A=O.useCallback((ye=null)=>{W.isOpen&&U(),p(ye),W.toggle()},[W,U]),j=O.useCallback(()=>{W.isOpen&&(U(),W.close())},[W,U]),[V,I]=O.useState(E),Y=()=>{var ye,ke;let xe=(ke=(ye=b.getItem($))===null||ye===void 0?void 0:ye.textValue)!==null&&ke!==void 0?ke:"";I(xe),M(xe)};var ee,se;let le=O.useRef((se=(ee=e.selectedKey)!==null&&ee!==void 0?ee:e.defaultSelectedKey)!==null&&se!==void 0?se:null);var be;let Je=O.useRef((be=(r=b.getItem($))===null||r===void 0?void 0:r.textValue)!==null&&be!==void 0?be:"");O.useEffect(()=>{var ye;d&&(R.size>0||a)&&!W.isOpen&&E!==V&&i!=="manual"&&Z(null,"input"),!u&&!a&&W.isOpen&&R.size===0&&j(),$!=null&&$!==le.current&&j(),E!==V&&(v.setFocusedKey(null),c(!1),E===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&y(null)),$!==le.current&&(e.inputValue===void 0||e.selectedKey===void 0)?Y():V!==E&&I(E);var ke;let xe=(ke=(ye=b.getItem($))===null||ye===void 0?void 0:ye.textValue)!==null&&ke!==void 0?ke:"";!d&&$!=null&&e.inputValue===void 0&&$===le.current&&Je.current!==xe&&(I(xe),M(xe)),le.current=$,Je.current=xe});let Ve=_s({...e,value:O.useMemo(()=>({inputValue:E,selectedKey:$}),[E,$])}),Re=()=>{l&&$==null?Ie():At()},Ie=()=>{le.current=null,y(null),j()},At=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ye;e.onSelectionChange($);var ke;let xe=(ke=(ye=b.getItem($))===null||ye===void 0?void 0:ye.textValue)!==null&&ke!==void 0?ke:"";I(xe),j()}else Y(),j()};const pt=()=>{if(l){var ye,ke;const xe=(ke=(ye=b.getItem($))===null||ye===void 0?void 0:ye.textValue)!==null&&ke!==void 0?ke:"";E===xe?At():Ie()}else At()};let fr=()=>{W.isOpen&&v.focusedKey!=null?$===v.focusedKey?At():y(v.focusedKey):pt()},Lt=O.useRef(E),hr=ye=>{ye?(Lt.current=E,i==="focus"&&Z(null,"focus")):(s&&pt(),E!==Lt.current&&Ve.commitValidation()),f(ye)},yt=O.useMemo(()=>W.isOpen?u?D:R:B,[W.isOpen,D,R,u,B]);return{...Ve,...W,focusStrategy:h,toggle:q,open:Z,close:pt,selectionManager:v,selectedKey:$,setSelectedKey:y,disabledKeys:k,isFocused:d,setFocused:hr,selectedItem:S,collection:yt,inputValue:E,setInputValue:M,commit:fr,revert:Re}}function t1e(e,t,r){return new mS(cX(e,e,t,r))}function cX(e,t,r,n){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let l=cX(e,mr(a,e),r,n);[...l].some(s=>s.type==="item")&&i.push({...a,childNodes:l})}else a.type==="item"&&n(a.textValue,r)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}function dX(e,t){let{role:r="dialog"}=e,n=Tl();n=e["aria-label"]?void 0:n;let i=O.useRef(!1);return O.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Tn(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),Tn(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),rq(),{dialogProps:{...Yt(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:n}}}function $t(e){return e&&e.__esModule?e.default:e}function oe(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var In={};oe(In,"has-label",()=>K8,e=>K8=e);oe(In,"mobile-combobox",()=>Y8,e=>Y8=e);oe(In,"mobile-input",()=>G8,e=>G8=e);oe(In,"mobile-value",()=>X8,e=>X8=e);oe(In,"no-results",()=>J8,e=>J8=e);oe(In,"tray-dialog",()=>e7,e=>e7=e);oe(In,"tray-listbox",()=>t7,e=>t7=e);oe(In,"tray-textfield",()=>r7,e=>r7=e);oe(In,"tray-textfield-input",()=>n7,e=>n7=e);var K8,Y8,G8,X8,J8,e7,t7,r7,n7;K8="P1vhCW_has-label";Y8="P1vhCW_mobile-combobox";G8="P1vhCW_mobile-input";X8="P1vhCW_mobile-value";J8="P1vhCW_no-results";e7="P1vhCW_tray-dialog";t7="P1vhCW_tray-listbox";r7="P1vhCW_tray-textfield";n7="P1vhCW_tray-textfield-input";var np={};np={"ar-AE":aY,"bg-BG":lY,"cs-CZ":oY,"da-DK":sY,"de-DE":uY,"el-GR":cY,"en-US":dY,"es-ES":fY,"et-EE":hY,"fi-FI":pY,"fr-FR":mY,"he-IL":gY,"hr-HR":vY,"hu-HU":bY,"it-IT":yY,"ja-JP":$Y,"ko-KR":OY,"lt-LT":xY,"lv-LV":SY,"nb-NO":wY,"nl-NL":kY,"pl-PL":CY,"pt-BR":EY,"pt-PT":PY,"ro-RO":FY,"ru-RU":AY,"sk-SK":DY,"sl-SI":RY,"sr-SP":TY,"sv-SE":IY,"tr-TR":MY,"uk-UA":BY,"zh-CN":_Y,"zh-TW":NY};var Ft={};oe(Ft,"focus-ring",()=>i7,e=>i7=e);oe(Ft,"i18nFontFamily",()=>Kv,e=>Kv=e);oe(Ft,"is-active",()=>a7,e=>a7=e);oe(Ft,"is-disabled",()=>l7,e=>l7=e);oe(Ft,"is-focused",()=>o7,e=>o7=e);oe(Ft,"is-hovered",()=>s7,e=>s7=e);oe(Ft,"is-open",()=>u7,e=>u7=e);oe(Ft,"is-placeholder",()=>c7,e=>c7=e);oe(Ft,"is-selected",()=>d7,e=>d7=e);oe(Ft,"spectrum-BaseButton",()=>xs,e=>xs=e);oe(Ft,"spectrum-FocusRing-ring",()=>Yv,e=>Yv=e);oe(Ft,"spectrum-FocusRing",()=>Ss,e=>Ss=e);oe(Ft,"spectrum-ActionButton",()=>f7,e=>f7=e);oe(Ft,"spectrum-ActionButton--emphasized",()=>h7,e=>h7=e);oe(Ft,"spectrum-ActionButton--quiet",()=>p7,e=>p7=e);oe(Ft,"spectrum-ActionButton--staticBlack",()=>m7,e=>m7=e);oe(Ft,"spectrum-ActionButton--staticColor",()=>g7,e=>g7=e);oe(Ft,"spectrum-ActionButton--staticWhite",()=>v7,e=>v7=e);oe(Ft,"spectrum-ActionButton-hold",()=>b7,e=>b7=e);oe(Ft,"spectrum-ActionButton-label",()=>y7,e=>y7=e);oe(Ft,"spectrum-Button",()=>$7,e=>$7=e);oe(Ft,"spectrum-Button--iconOnly",()=>O7,e=>O7=e);oe(Ft,"spectrum-Button--overBackground",()=>x7,e=>x7=e);oe(Ft,"spectrum-Button--pending",()=>S7,e=>S7=e);oe(Ft,"spectrum-Button-circleLoader",()=>w7,e=>w7=e);oe(Ft,"spectrum-Button-label",()=>k7,e=>k7=e);oe(Ft,"spectrum-ClearButton",()=>C7,e=>C7=e);oe(Ft,"spectrum-ClearButton--overBackground",()=>E7,e=>E7=e);oe(Ft,"spectrum-ClearButton--small",()=>P7,e=>P7=e);oe(Ft,"spectrum-FieldButton",()=>F7,e=>F7=e);oe(Ft,"spectrum-FieldButton--invalid",()=>A7,e=>A7=e);oe(Ft,"spectrum-FocusRing--quiet",()=>Gv,e=>Gv=e);oe(Ft,"spectrum-FieldButton--quiet",()=>D7,e=>D7=e);oe(Ft,"spectrum-Icon",()=>R7,e=>R7=e);oe(Ft,"spectrum-LogicButton",()=>T7,e=>T7=e);oe(Ft,"spectrum-LogicButton--and",()=>I7,e=>I7=e);oe(Ft,"spectrum-LogicButton--or",()=>M7,e=>M7=e);var i7,Kv,a7,l7,o7,s7,u7,c7,d7,xs,Yv,Ss,f7,h7,p7,m7,g7,v7,b7,y7,$7,O7,x7,S7,w7,k7,C7,E7,P7,F7,A7,Gv,D7,R7,T7,I7,M7;i7="Dniwja_focus-ring";Kv="Dniwja_i18nFontFamily";a7="Dniwja_is-active";l7="Dniwja_is-disabled";o7="Dniwja_is-focused";s7="Dniwja_is-hovered";u7="Dniwja_is-open";c7="Dniwja_is-placeholder";d7="Dniwja_is-selected";xs=`Dniwja_spectrum-BaseButton ${Kv}`;Yv="Dniwja_spectrum-FocusRing-ring";Ss=`Dniwja_spectrum-FocusRing ${Yv}`;f7=`Dniwja_spectrum-ActionButton ${xs} ${Ss}`;h7="Dniwja_spectrum-ActionButton--emphasized";p7="Dniwja_spectrum-ActionButton--quiet";m7="Dniwja_spectrum-ActionButton--staticBlack";g7="Dniwja_spectrum-ActionButton--staticColor";v7="Dniwja_spectrum-ActionButton--staticWhite";b7="Dniwja_spectrum-ActionButton-hold";y7="Dniwja_spectrum-ActionButton-label";$7=`Dniwja_spectrum-Button ${xs} ${Ss}`;O7="Dniwja_spectrum-Button--iconOnly";x7="Dniwja_spectrum-Button--overBackground";S7="Dniwja_spectrum-Button--pending";w7="Dniwja_spectrum-Button-circleLoader";k7="Dniwja_spectrum-Button-label";C7=`Dniwja_spectrum-ClearButton ${xs} ${Ss}`;E7="Dniwja_spectrum-ClearButton--overBackground";P7="Dniwja_spectrum-ClearButton--small";F7=`Dniwja_spectrum-FieldButton ${xs} ${Ss}`;A7="Dniwja_spectrum-FieldButton--invalid";Gv="Dniwja_spectrum-FocusRing--quiet";D7=`Dniwja_spectrum-FieldButton--quiet ${Gv}`;R7="Dniwja_spectrum-Icon";T7=`Dniwja_spectrum-LogicButton ${xs} ${Ss}`;I7="Dniwja_spectrum-LogicButton--and";M7="Dniwja_spectrum-LogicButton--or";var er={};oe(er,"contextualHelp",()=>B7,e=>B7=e);oe(er,"field",()=>_7,e=>_7=e);oe(er,"focus-ring",()=>N7,e=>N7=e);oe(er,"helpText",()=>L7,e=>L7=e);oe(er,"i18nFontFamily",()=>V7,e=>V7=e);oe(er,"is-disabled",()=>Q7,e=>Q7=e);oe(er,"label",()=>z7,e=>z7=e);oe(er,"spectrum-Field",()=>j7,e=>j7=e);oe(er,"spectrum-Field--alignEnd",()=>W7,e=>W7=e);oe(er,"spectrum-Field--hasContextualHelp",()=>Z7,e=>Z7=e);oe(er,"spectrum-Field--positionSide",()=>U7,e=>U7=e);oe(er,"spectrum-Field--positionTop",()=>q7,e=>q7=e);oe(er,"spectrum-Field-contextualHelp",()=>H7,e=>H7=e);oe(er,"spectrum-Field-field",()=>K7,e=>K7=e);oe(er,"spectrum-Field-labelCell",()=>Y7,e=>Y7=e);oe(er,"spectrum-Field-labelWrapper",()=>G7,e=>G7=e);oe(er,"spectrum-Field-wrapper",()=>X7,e=>X7=e);oe(er,"spectrum-FieldLabel",()=>J7,e=>J7=e);oe(er,"spectrum-FieldLabel--alignEnd",()=>e9,e=>e9=e);oe(er,"spectrum-FieldLabel--positionSide",()=>t9,e=>t9=e);oe(er,"spectrum-FieldLabel-requiredIcon",()=>r9,e=>r9=e);oe(er,"spectrum-FocusRing-ring",()=>Xv,e=>Xv=e);oe(er,"spectrum-FocusRing",()=>n9,e=>n9=e);oe(er,"spectrum-FocusRing--quiet",()=>i9,e=>i9=e);oe(er,"spectrum-Form",()=>a9,e=>a9=e);oe(er,"spectrum-Form--positionSide",()=>l9,e=>l9=e);oe(er,"spectrum-Form--positionTop",()=>o9,e=>o9=e);oe(er,"spectrum-Form-itemLabel",()=>s9,e=>s9=e);oe(er,"spectrum-LabeledValue",()=>u9,e=>u9=e);var B7,_7,N7,L7,V7,Q7,z7,j7,W7,Z7,U7,q7,H7,K7,Y7,G7,X7,J7,e9,t9,r9,Xv,n9,i9,a9,l9,o9,s9,u9;B7="A-HlBa_contextualHelp";_7="A-HlBa_field";N7="A-HlBa_focus-ring";L7="A-HlBa_helpText";V7="A-HlBa_i18nFontFamily";Q7="A-HlBa_is-disabled";z7="A-HlBa_label";j7="A-HlBa_spectrum-Field";W7="A-HlBa_spectrum-Field--alignEnd";Z7="A-HlBa_spectrum-Field--hasContextualHelp";U7="A-HlBa_spectrum-Field--positionSide";q7="A-HlBa_spectrum-Field--positionTop";H7="A-HlBa_spectrum-Field-contextualHelp";K7="A-HlBa_spectrum-Field-field";Y7="A-HlBa_spectrum-Field-labelCell";G7="A-HlBa_spectrum-Field-labelWrapper";X7="A-HlBa_spectrum-Field-wrapper";J7="A-HlBa_spectrum-FieldLabel";e9="A-HlBa_spectrum-FieldLabel--alignEnd";t9="A-HlBa_spectrum-FieldLabel--positionSide";r9="A-HlBa_spectrum-FieldLabel-requiredIcon";Xv="A-HlBa_spectrum-FocusRing-ring";n9=`A-HlBa_spectrum-FocusRing ${Xv}`;i9="A-HlBa_spectrum-FocusRing--quiet";a9="A-HlBa_spectrum-Form";l9="A-HlBa_spectrum-Form--positionSide";o9="A-HlBa_spectrum-Form--positionTop";s9="A-HlBa_spectrum-Form-itemLabel";u9="A-HlBa_spectrum-LabeledValue";var pn={};oe(pn,"focus-ring",()=>c9,e=>c9=e);oe(pn,"i18nFontFamily",()=>d9,e=>d9=e);oe(pn,"is-quiet",()=>f9,e=>f9=e);oe(pn,"spectrum-ClearButton",()=>h9,e=>h9=e);oe(pn,"spectrum-FocusRing-ring",()=>Jv,e=>Jv=e);oe(pn,"spectrum-FocusRing",()=>p9,e=>p9=e);oe(pn,"spectrum-FocusRing--quiet",()=>m9,e=>m9=e);oe(pn,"spectrum-Search",()=>g9,e=>g9=e);oe(pn,"spectrum-Search--invalid",()=>v9,e=>v9=e);oe(pn,"spectrum-Search--loadable",()=>b9,e=>b9=e);oe(pn,"spectrum-Search--valid",()=>y9,e=>y9=e);oe(pn,"spectrum-Search-circleLoader",()=>$9,e=>$9=e);oe(pn,"spectrum-Search-input",()=>O9,e=>O9=e);oe(pn,"spectrum-Search-validationIcon",()=>x9,e=>x9=e);oe(pn,"spectrum-Textfield",()=>S9,e=>S9=e);var c9,d9,f9,h9,Jv,p9,m9,g9,v9,b9,y9,$9,O9,x9,S9;c9="SOkmSG_focus-ring";d9="SOkmSG_i18nFontFamily";f9="SOkmSG_is-quiet";h9="SOkmSG_spectrum-ClearButton";Jv="SOkmSG_spectrum-FocusRing-ring";p9=`SOkmSG_spectrum-FocusRing ${Jv}`;m9="SOkmSG_spectrum-FocusRing--quiet";g9="SOkmSG_spectrum-Search";v9="SOkmSG_spectrum-Search--invalid";b9="SOkmSG_spectrum-Search--loadable";y9="SOkmSG_spectrum-Search--valid";$9="SOkmSG_spectrum-Search-circleLoader";O9="SOkmSG_spectrum-Search-input";x9="SOkmSG_spectrum-Search-validationIcon";S9="SOkmSG_spectrum-Textfield";var gt={};oe(gt,"focus-ring",()=>w9,e=>w9=e);oe(gt,"i18nFontFamily",()=>k9,e=>k9=e);oe(gt,"is-disabled",()=>C9,e=>C9=e);oe(gt,"is-focused",()=>E9,e=>E9=e);oe(gt,"is-hovered",()=>P9,e=>P9=e);oe(gt,"is-selected",()=>F9,e=>F9=e);oe(gt,"spectrum-Datepicker--datetimeRange",()=>A9,e=>A9=e);oe(gt,"spectrum-Datepicker--range",()=>D9,e=>D9=e);oe(gt,"spectrum-Datepicker--rangeDash",()=>R9,e=>R9=e);oe(gt,"spectrum-Datepicker-endField",()=>T9,e=>T9=e);oe(gt,"spectrum-Datepicker-focusRing",()=>I9,e=>I9=e);oe(gt,"spectrum-Datepicker-startField",()=>M9,e=>M9=e);oe(gt,"spectrum-FieldButton",()=>B9,e=>B9=e);oe(gt,"spectrum-FieldButton--invalid",()=>_9,e=>_9=e);oe(gt,"spectrum-FocusRing-ring",()=>e0,e=>e0=e);oe(gt,"spectrum-FocusRing",()=>t0,e=>t0=e);oe(gt,"spectrum-FocusRing--quiet",()=>r0,e=>r0=e);oe(gt,"spectrum-InputGroup",()=>N9,e=>N9=e);oe(gt,"spectrum-InputGroup--invalid",()=>L9,e=>L9=e);oe(gt,"spectrum-InputGroup--quiet",()=>V9,e=>V9=e);oe(gt,"spectrum-InputGroup-field",()=>Q9,e=>Q9=e);oe(gt,"spectrum-InputGroup-icon",()=>z9,e=>z9=e);oe(gt,"spectrum-InputGroup-input",()=>j9,e=>j9=e);oe(gt,"spectrum-InputGroup-input-circleLoader",()=>W9,e=>W9=e);oe(gt,"spectrum-InputGroup-input-validationIcon",()=>Z9,e=>Z9=e);oe(gt,"spectrum-InputGroup-popover--quiet",()=>U9,e=>U9=e);var w9,k9,C9,E9,P9,F9,A9,D9,R9,T9,I9,M9,B9,_9,e0,t0,r0,N9,L9,V9,Q9,z9,j9,W9,Z9,U9;w9="ZTA2ya_focus-ring";k9="ZTA2ya_i18nFontFamily";C9="ZTA2ya_is-disabled";E9="ZTA2ya_is-focused";P9="ZTA2ya_is-hovered";F9="ZTA2ya_is-selected";A9="ZTA2ya_spectrum-Datepicker--datetimeRange";D9="ZTA2ya_spectrum-Datepicker--range";R9="ZTA2ya_spectrum-Datepicker--rangeDash";T9="ZTA2ya_spectrum-Datepicker-endField";I9="ZTA2ya_spectrum-Datepicker-focusRing";M9="ZTA2ya_spectrum-Datepicker-startField";B9="ZTA2ya_spectrum-FieldButton";_9="ZTA2ya_spectrum-FieldButton--invalid";e0="ZTA2ya_spectrum-FocusRing-ring";t0=`ZTA2ya_spectrum-FocusRing ${e0}`;r0="ZTA2ya_spectrum-FocusRing--quiet";N9=`ZTA2ya_spectrum-InputGroup ${t0}`;L9="ZTA2ya_spectrum-InputGroup--invalid";V9=`ZTA2ya_spectrum-InputGroup--quiet ${r0}`;Q9="ZTA2ya_spectrum-InputGroup-field";z9="ZTA2ya_spectrum-InputGroup-icon";j9="ZTA2ya_spectrum-InputGroup-input";W9="ZTA2ya_spectrum-InputGroup-input-circleLoader";Z9="ZTA2ya_spectrum-InputGroup-input-validationIcon";U9="ZTA2ya_spectrum-InputGroup-popover--quiet";var br={};oe(br,"focus-ring",()=>q9,e=>q9=e);oe(br,"i18nFontFamily",()=>n0,e=>n0=e);oe(br,"is-disabled",()=>H9,e=>H9=e);oe(br,"is-focused",()=>K9,e=>K9=e);oe(br,"is-hovered",()=>Y9,e=>Y9=e);oe(br,"is-placeholder",()=>G9,e=>G9=e);oe(br,"spectrum-FocusRing-ring",()=>i0,e=>i0=e);oe(br,"spectrum-FocusRing",()=>a0,e=>a0=e);oe(br,"spectrum-FocusRing--quiet",()=>l0,e=>l0=e);oe(br,"spectrum-Textfield",()=>X9,e=>X9=e);oe(br,"spectrum-Textfield--invalid",()=>J9,e=>J9=e);oe(br,"spectrum-Textfield--loadable",()=>ek,e=>ek=e);oe(br,"spectrum-Textfield--multiline",()=>tk,e=>tk=e);oe(br,"spectrum-Textfield--quiet",()=>rk,e=>rk=e);oe(br,"spectrum-Textfield--valid",()=>nk,e=>nk=e);oe(br,"spectrum-Textfield-circleLoader",()=>ik,e=>ik=e);oe(br,"spectrum-Textfield-icon",()=>ak,e=>ak=e);oe(br,"spectrum-Textfield-input",()=>lk,e=>lk=e);oe(br,"spectrum-Textfield-inputIcon",()=>ok,e=>ok=e);oe(br,"spectrum-Textfield-validationIcon",()=>sk,e=>sk=e);oe(br,"spectrum-Textfield-wrapper",()=>uk,e=>uk=e);oe(br,"spectrum-Textfield-wrapper--quiet",()=>ck,e=>ck=e);var q9,n0,H9,K9,Y9,G9,i0,a0,l0,X9,J9,ek,tk,rk,nk,ik,ak,lk,ok,sk,uk,ck;q9="YO3Nla_focus-ring";n0="YO3Nla_i18nFontFamily";H9="YO3Nla_is-disabled";K9="YO3Nla_is-focused";Y9="YO3Nla_is-hovered";G9="YO3Nla_is-placeholder";i0="YO3Nla_spectrum-FocusRing-ring";a0=`YO3Nla_spectrum-FocusRing ${i0}`;l0="YO3Nla_spectrum-FocusRing--quiet";X9=`YO3Nla_spectrum-Textfield ${a0}`;J9="YO3Nla_spectrum-Textfield--invalid";ek="YO3Nla_spectrum-Textfield--loadable";tk="YO3Nla_spectrum-Textfield--multiline";rk=`YO3Nla_spectrum-Textfield--quiet ${l0}`;nk="YO3Nla_spectrum-Textfield--valid";ik="YO3Nla_spectrum-Textfield-circleLoader";ak="YO3Nla_spectrum-Textfield-icon";lk=`YO3Nla_spectrum-Textfield-input ${n0}`;ok="YO3Nla_spectrum-Textfield-inputIcon";sk="YO3Nla_spectrum-Textfield-validationIcon";uk="YO3Nla_spectrum-Textfield-wrapper";ck="YO3Nla_spectrum-Textfield-wrapper--quiet";const r1e=w.forwardRef(function(t,r){t=Fn(t);let{isQuiet:n,isDisabled:i,isReadOnly:a,isRequired:l,validationBehavior:s,name:u,formValue:c="text",allowsCustomValue:d}=t;d&&(c="text");let{contains:f}=aU({sensitivity:"base"}),h=uX({...t,defaultFilter:f,allowsEmptyCollection:!0,shouldCloseOnBlur:!1}),p=O.useRef(),m=Ta(r,p),{triggerProps:g,overlayProps:b}=VT({type:"listbox"},h,p),v=O.useRef(null);tp({...t,focus:()=>p.current.focus()},h,v);let{isInvalid:$,validationErrors:y,validationDetails:S}=h.displayValidation,k=t.validationState||($?"invalid":null);var C;let F=(C=t.errorMessage)!==null&&C!==void 0?C:y.join(" "),{labelProps:E,fieldProps:M,descriptionProps:D,errorMessageProps:R}=Kh({...t,labelElementType:"span",isInvalid:$,errorMessage:F});E.onClick=()=>{t.isDisabled||(p.current.focus(),L1("keyboard"))};let B={type:"hidden",name:u,value:c==="text"?h.inputValue:h.selectedKey};return s==="native"&&(B.type="text",B.hidden=!0,B.required=l,B.onChange=()=>{}),Du(v,B.value,c==="text"?h.setInputValue:h.setSelectedKey),w.createElement(w.Fragment,null,w.createElement(Mu,{...t,labelProps:E,descriptionProps:D,errorMessageProps:R,validationState:k,isInvalid:$,validationErrors:y,validationDetails:S,elementType:"span",ref:m,includeNecessityIndicatorInAccessibilityName:!0},w.createElement(n1e,{...Oe(g,M,{autoFocus:t.autoFocus}),ref:p,isQuiet:n,isDisabled:i,isPlaceholder:!h.inputValue,validationState:k,onPress:()=>!a&&h.open(null,"manual")},h.inputValue||t.placeholder||"")),w.createElement("input",{...B,ref:v}),w.createElement(Z1,{state:h,isFixedHeight:!0,...b},w.createElement(i1e,{...t,onClose:h.close,overlayProps:b,state:h})))}),n1e=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,isPlaceholder:a,validationState:l,children:s,style:u,className:c}=t,d=or($t(np),"@react-spectrum/combobox"),f=ar(),h=ar(),p=l==="invalid"?w.createElement(K1,{id:h,"aria-label":d.format("invalid")}):w.createElement(q1,null),m=w.cloneElement(p,{UNSAFE_className:z($t(br),"spectrum-Textfield-validationIcon",z($t(gt),"spectrum-InputGroup-input-validationIcon"))}),{hoverProps:g,isHovered:b}=Er({}),{buttonProps:v,isPressed:$}=Ao({...t,"aria-labelledby":[t["aria-labelledby"],t["aria-label"]&&!t["aria-labelledby"]?t.id:null,f,l==="invalid"?h:null].filter(Boolean).join(" "),elementType:"div"},r);return w.createElement(_r,{focusClass:z($t(gt),"is-focused"),focusRingClass:z($t(gt),"focus-ring")},w.createElement("div",{...Oe(g,v),"aria-haspopup":"dialog",ref:r,style:{...u,outline:"none"},className:z($t(gt),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":l==="invalid"&&!i,"is-hovered":b},z($t(In),"mobile-combobox"),c)},w.createElement("div",{className:z($t(br),"spectrum-Textfield",{"spectrum-Textfield--invalid":l==="invalid"&&!i,"spectrum-Textfield--valid":l==="valid"&&!i,"spectrum-Textfield--quiet":n},z($t(gt),"spectrum-InputGroup-field"))},w.createElement("div",{className:z($t(br),"spectrum-Textfield-input",{"is-hovered":b,"is-placeholder":a,"is-disabled":i},z($t(gt),"spectrum-InputGroup-input",z($t(er),"spectrum-Field-field")),z($t(In),"mobile-input"))},w.createElement("span",{id:f,className:z($t(In),"mobile-value")},s)),l&&!i?m:null),w.createElement("div",{className:z($t(Ft),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":n,"is-active":$,"is-disabled":i,"spectrum-FieldButton--invalid":l==="invalid"&&!i,"is-hovered":b},z($t(gt),"spectrum-FieldButton"))},w.createElement(z1,{UNSAFE_className:z($t(gt),"spectrum-Dropdown-chevron")}))))});function i1e(e){let{state:t,isDisabled:r,validationState:n,label:i,overlayProps:a,loadingState:l,onLoadMore:s,onClose:u}=e,c=O.useRef(null),[d,f]=O.useState(!1),h=O.useRef(),p=O.useRef(),m=O.useRef(),g=O.useRef(),b=l==="loading"||l==="loadingMore",v=iI(t,b),$=or($t(np),"@react-spectrum/combobox"),{inputProps:y,listBoxProps:S,labelProps:k}=sX({...e,keyboardDelegate:v,buttonRef:mc(p),popoverRef:m,listBoxRef:g,inputRef:h,name:void 0},t);w.useEffect(()=>{Tn(h.current)},[]),w.useEffect(()=>{!t.isOpen&&t.isFocused&&t.setFocused(!1)});let{dialogProps:C}=dX({"aria-labelledby":ar(k.id)},m);y.role="searchbox",y["aria-haspopup"]="listbox",delete y["aria-expanded"],delete y.onTouchEnd;let F=w.createElement(Nme,{preventFocus:!0,"aria-label":$.format("clear"),excludeFromTabOrder:!0,onPress:()=>{t.setInputValue(""),h.current.focus()},UNSAFE_className:z($t(pn),"spectrum-ClearButton"),isDisabled:r}),E=w.createElement(vd,{"aria-label":$.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:z($t(pn),"spectrum-Search-circleLoader",z($t(br),"spectrum-Textfield-circleLoader"))}),M=O.useRef(!1),D=()=>{M.current=!0},R=()=>{M.current=!1},B=O.useCallback(()=>{!h.current||document.activeElement!==h.current||!M.current||m.current.focus()},[h,m,M]),T=y.value,_=O.useRef(T);O.useEffect(()=>{l==="filtering"&&!d?(c.current===null&&(c.current=setTimeout(()=>{f(!0)},500)),T!==_.current&&(clearTimeout(c.current),c.current=setTimeout(()=>{f(!0)},500))):l!=="filtering"&&(f(!1),clearTimeout(c.current),c.current=null),_.current=T},[l,T,d]);let Q=W=>{W.key==="Enter"&&t.selectionManager.focusedKey==null?m.current.focus():y.onKeyDown(W)};return w.createElement(qh,{restoreFocus:!0,contain:!0},w.createElement("div",{...Oe(a,C),ref:m,className:z($t(In),"tray-dialog")},w.createElement(Yc,{onDismiss:u}),w.createElement(rp,{label:i,labelProps:k,inputProps:{...y,onKeyDown:Q},inputRef:h,isDisabled:r,isLoading:d&&l==="filtering",loadingIndicator:l!=null&&E,validationState:n,labelAlign:"start",labelPosition:"top",wrapperChildren:(t.inputValue!==""||l==="filtering"||n!=null)&&!e.isReadOnly&&F,UNSAFE_className:z($t(pn),"spectrum-Search","spectrum-Textfield","spectrum-Search--loadable",{"spectrum-Search--invalid":n==="invalid"&&!r,"spectrum-Search--valid":n==="valid"&&!r},z($t(In),"tray-textfield",{"has-label":!!e.label})),inputClassName:z($t(In),"tray-textfield-input",z($t(pn),"spectrum-Search-input")),validationIconClassName:z($t(pn),"spectrum-Search-validationIcon")}),w.createElement(aI,{...S,domProps:{onTouchStart:D,onTouchEnd:R},disallowEmptySelection:!0,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:v,state:t,shouldUseVirtualFocus:!0,renderEmptyState:()=>l!=="loading"&&w.createElement("span",{className:z($t(In),"no-results")},$.format("noResults")),UNSAFE_className:z($t(In),"tray-listbox"),ref:g,onScroll:B,onLoadMore:s,isLoading:b}),w.createElement(Yc,{onDismiss:u})))}function a1e(e,t){return e=Fn(e),e=Io(e),e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/ComboBox.html#help-text"),Zh()?w.createElement(r1e,{...e,menuTrigger:"input",ref:t}):w.createElement(l1e,{...e,ref:t})}const l1e=w.forwardRef(function(t,r){let{menuTrigger:n="input",shouldFlip:i=!0,direction:a="bottom",align:l="start",isQuiet:s,loadingState:u,onLoadMore:c,allowsCustomValue:d,menuWidth:f,name:h,formValue:p="text"}=t;d&&(p="text");let m=or($t(np),"@react-spectrum/combobox"),g=u!=null,b=O.useRef(),v=Wg(b),$=O.useRef(),y=Wg($),S=O.useRef(),k=O.useRef(),C=O.useRef(),F=Ta(r,k),{contains:E}=aU({sensitivity:"base"}),M=uX({...t,defaultFilter:E,allowsEmptyCollection:g}),D=iI(M,u==="loadingMore"),{buttonProps:R,inputProps:B,listBoxProps:T,labelProps:_,descriptionProps:Q,errorMessageProps:W,isInvalid:Z,validationErrors:q,validationDetails:U}=sX({...t,keyboardDelegate:D,buttonRef:y,popoverRef:v,listBoxRef:S,inputRef:k,menuTrigger:n,name:p==="text"?h:void 0},M),[A,j]=O.useState(null),{scale:V}=Gn(),I=O.useCallback(()=>{if(y.current&&k.current){let se=y.current.offsetWidth,le=k.current.offsetWidth;j(se+le)}},[y,k,j]);jh({ref:F,onResize:I}),wt(I,[V,I]);let ee={width:f?_t(f):s?null:A,minWidth:s?`calc(${A}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))`:A};return w.createElement(w.Fragment,null,w.createElement(Mu,{...t,descriptionProps:Q,errorMessageProps:W,isInvalid:Z,validationErrors:q,validationDetails:U,labelProps:_,ref:F},w.createElement(o1e,{...t,isOpen:M.isOpen,loadingState:u,inputProps:B,inputRef:k,triggerProps:R,triggerRef:$,validationState:t.validationState||(Z?"invalid":null),ref:C})),h&&p==="key"&&w.createElement("input",{type:"hidden",name:h,value:M.selectedKey}),w.createElement(W1,{state:M,UNSAFE_style:ee,UNSAFE_className:z($t(gt),"spectrum-InputGroup-popover",{"spectrum-InputGroup-popover--quiet":s}),ref:b,triggerRef:C,scrollRef:S,placement:`${a} ${l}`,hideArrow:!0,isNonModal:!0,shouldFlip:i},w.createElement(aI,{...T,ref:S,disallowEmptySelection:!0,autoFocus:M.focusStrategy,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:D,state:M,shouldUseVirtualFocus:!0,isLoading:u==="loading"||u==="loadingMore",onLoadMore:c,renderEmptyState:()=>g&&w.createElement("span",{className:z($t(In),"no-results")},u==="loading"?m.format("loading"):m.format("noResults"))})))}),o1e=w.forwardRef(function(t,r){let{isQuiet:n,isDisabled:i,validationState:a,inputProps:l,inputRef:s,triggerProps:u,triggerRef:c,autoFocus:d,style:f,className:h,loadingState:p,isOpen:m,menuTrigger:g}=t,{hoverProps:b,isHovered:v}=Er({}),$=or($t(np),"@react-spectrum/combobox"),y=O.useRef(null),[S,k]=O.useState(!1),C=w.createElement(vd,{"aria-label":$.format("loading"),size:"S",isIndeterminate:!0,UNSAFE_className:z($t(br),"spectrum-Textfield-circleLoader",z($t(gt),"spectrum-InputGroup-input-circleLoader"))}),F=p==="loading"||p==="filtering",E=l.value,M=O.useRef(E);return O.useEffect(()=>{F&&!S?(y.current===null&&(y.current=setTimeout(()=>{k(!0)},500)),E!==M.current&&(clearTimeout(y.current),y.current=setTimeout(()=>{k(!0)},500))):F||(k(!1),clearTimeout(y.current),y.current=null),M.current=E},[F,S,E]),w.createElement(_r,{within:!0,isTextInput:!0,focusClass:z($t(gt),"is-focused"),focusRingClass:z($t(gt),"focus-ring"),autoFocus:d},w.createElement("div",{...b,ref:r,style:f,className:z($t(gt),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":n,"is-disabled":i,"spectrum-InputGroup--invalid":a==="invalid"&&!i,"is-hovered":v},h)},w.createElement(rp,{inputProps:l,inputRef:s,UNSAFE_className:z($t(gt),"spectrum-InputGroup-field"),inputClassName:z($t(gt),"spectrum-InputGroup-input"),validationIconClassName:z($t(gt),"spectrum-InputGroup-input-validationIcon"),isDisabled:i,isQuiet:n,validationState:a,isLoading:S&&(m||g==="manual"||p==="loading"),loadingIndicator:p!=null&&C,disableFocusRing:!0}),w.createElement(_1,{preventFocusOnPress:!0,isPressed:m},w.createElement(fq,{...u,ref:c,UNSAFE_className:z($t(gt),"spectrum-FieldButton"),isQuiet:n,validationState:a},w.createElement(z1,{UNSAFE_className:z($t(gt),"spectrum-Dropdown-chevron")})))))}),s1e=w.forwardRef(a1e);var fX={};fX={help:"مساعدة",info:"معلومات"};var hX={};hX={help:"Помощ",info:"Информация"};var pX={};pX={help:"Nápověda",info:"Informace"};var mX={};mX={help:"Hjælp",info:"Oplysninger"};var gX={};gX={help:"Hilfe",info:"Informationen"};var vX={};vX={help:"Βοήθεια",info:"Πληροφορίες"};var bX={};bX={info:"Information",help:"Help"};var yX={};yX={help:"Ayuda",info:"Información"};var $X={};$X={help:"Spikker",info:"Teave"};var OX={};OX={help:"Ohje",info:"Tiedot"};var xX={};xX={help:"Aide",info:"Informations"};var SX={};SX={help:"עזרה",info:"מידע"};var wX={};wX={help:"Pomoć",info:"Informacije"};var kX={};kX={help:"Súgó",info:"Információ"};var CX={};CX={help:"Aiuto",info:"Informazioni"};var EX={};EX={help:"ヘルプ",info:"情報"};var PX={};PX={help:"도움말",info:"정보"};var FX={};FX={help:"Žinynas",info:"Informacija"};var AX={};AX={help:"Palīdzība",info:"Informācija"};var DX={};DX={help:"Hjelp",info:"Informasjon"};var RX={};RX={help:"Help",info:"Informatie"};var TX={};TX={help:"Pomoc",info:"Informacja"};var IX={};IX={help:"Ajuda",info:"Informações"};var MX={};MX={help:"Ajuda",info:"Informação"};var BX={};BX={help:"Ajutor",info:"Informaţii"};var _X={};_X={help:"Справка",info:"Информация"};var NX={};NX={help:"Pomoc",info:"Informácie"};var LX={};LX={help:"Pomoč",info:"Informacije"};var VX={};VX={help:"Pomoć",info:"Informacije"};var QX={};QX={help:"Hjälp",info:"Information"};var zX={};zX={help:"Yardım",info:"Bilgiler"};var jX={};jX={help:"Довідка",info:"Інформація"};var WX={};WX={help:"帮助",info:"信息"};var ZX={};ZX={help:"說明",info:"資訊"};var UX={};UX={alert:"تنبيه",dismiss:"تجاهل"};var qX={};qX={alert:"Сигнал",dismiss:"Отхвърляне"};var HX={};HX={alert:"Výstraha",dismiss:"Odstranit"};var KX={};KX={alert:"Advarsel",dismiss:"Luk"};var YX={};YX={alert:"Warnhinweis",dismiss:"Schließen"};var GX={};GX={alert:"Ειδοποίηση",dismiss:"Απόρριψη"};var XX={};XX={dismiss:"Dismiss",alert:"Alert"};var JX={};JX={alert:"Alerta",dismiss:"Descartar"};var eJ={};eJ={alert:"Teade",dismiss:"Lõpeta"};var tJ={};tJ={alert:"Hälytys",dismiss:"Hylkää"};var rJ={};rJ={alert:"Alerte",dismiss:"Rejeter"};var nJ={};nJ={alert:"התראה",dismiss:"התעלם"};var iJ={};iJ={alert:"Upozorenje",dismiss:"Odbaci"};var aJ={};aJ={alert:"Figyelmeztetés",dismiss:"Elutasítás"};var lJ={};lJ={alert:"Avviso",dismiss:"Ignora"};var oJ={};oJ={alert:"アラート",dismiss:"閉じる"};var sJ={};sJ={alert:"경고",dismiss:"무시"};var uJ={};uJ={alert:"Įspėjimas",dismiss:"Atmesti"};var cJ={};cJ={alert:"Brīdinājums",dismiss:"Nerādīt"};var dJ={};dJ={alert:"Varsel",dismiss:"Lukk"};var fJ={};fJ={alert:"Melding",dismiss:"Negeren"};var hJ={};hJ={alert:"Ostrzeżenie",dismiss:"Zignoruj"};var pJ={};pJ={alert:"Alerta",dismiss:"Descartar"};var mJ={};mJ={alert:"Alerta",dismiss:"Dispensar"};var gJ={};gJ={alert:"Alertă",dismiss:"Revocare"};var vJ={};vJ={alert:"Предупреждение",dismiss:"Пропустить"};var bJ={};bJ={alert:"Upozornenie",dismiss:"Zrušiť"};var yJ={};yJ={alert:"Opozorilo",dismiss:"Opusti"};var $J={};$J={alert:"Upozorenje",dismiss:"Odbaci"};var OJ={};OJ={alert:"Varning",dismiss:"Avvisa"};var xJ={};xJ={alert:"Uyarı",dismiss:"Kapat"};var SJ={};SJ={alert:"Сигнал тривоги",dismiss:"Скасувати"};var wJ={};wJ={alert:"警报",dismiss:"取消"};var kJ={};kJ={alert:"警示",dismiss:"關閉"};function u1e(e,t){e=Ia(e,"content");let{children:r,...n}=e,{styleProps:i}=Nt(n),a=Xr(t);return w.createElement("section",{...Yt(n),...i,ref:a},w.createElement(B1,null,r))}const J1=O.forwardRef(u1e);function ei(e){return e&&e.__esModule?e.default:e}function it(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}const CJ=w.createContext(null);var EJ={};EJ={"ar-AE":UX,"bg-BG":qX,"cs-CZ":HX,"da-DK":KX,"de-DE":YX,"el-GR":GX,"en-US":XX,"es-ES":JX,"et-EE":eJ,"fi-FI":tJ,"fr-FR":rJ,"he-IL":nJ,"hr-HR":iJ,"hu-HU":aJ,"it-IT":lJ,"ja-JP":oJ,"ko-KR":sJ,"lt-LT":uJ,"lv-LV":cJ,"nb-NO":dJ,"nl-NL":fJ,"pl-PL":hJ,"pt-BR":pJ,"pt-PT":mJ,"ro-RO":gJ,"ru-RU":vJ,"sk-SK":bJ,"sl-SI":yJ,"sr-SP":$J,"sv-SE":OJ,"tr-TR":xJ,"uk-UA":SJ,"zh-CN":wJ,"zh-TW":kJ};var _e={};it(_e,"buttonGroup",()=>dk,e=>dk=e);it(_e,"buttonGroup-end",()=>fk,e=>fk=e);it(_e,"closeButton",()=>hk,e=>hk=e);it(_e,"content",()=>pk,e=>pk=e);it(_e,"divider",()=>mk,e=>mk=e);it(_e,"focus-ring",()=>gk,e=>gk=e);it(_e,"footer",()=>vk,e=>vk=e);it(_e,"footer-start",()=>bk,e=>bk=e);it(_e,"header",()=>yk,e=>yk=e);it(_e,"header-end",()=>$k,e=>$k=e);it(_e,"header-start",()=>Ok,e=>Ok=e);it(_e,"heading",()=>xk,e=>xk=e);it(_e,"heading-start",()=>Sk,e=>Sk=e);it(_e,"hero",()=>wk,e=>wk=e);it(_e,"i18nFontFamily",()=>kk,e=>kk=e);it(_e,"spectrum-Button",()=>Ck,e=>Ck=e);it(_e,"spectrum-Dialog",()=>Ek,e=>Ek=e);it(_e,"spectrum-Dialog--dismissable",()=>Pk,e=>Pk=e);it(_e,"spectrum-Dialog--error",()=>Fk,e=>Fk=e);it(_e,"spectrum-Dialog--fullscreen",()=>Ak,e=>Ak=e);it(_e,"spectrum-Dialog--fullscreenTakeover",()=>Dk,e=>Dk=e);it(_e,"spectrum-Dialog--large",()=>Rk,e=>Rk=e);it(_e,"spectrum-Dialog--medium",()=>Tk,e=>Tk=e);it(_e,"spectrum-Dialog--noDivider",()=>Ik,e=>Ik=e);it(_e,"spectrum-Dialog--small",()=>Mk,e=>Mk=e);it(_e,"spectrum-Dialog--warning",()=>Bk,e=>Bk=e);it(_e,"spectrum-Dialog-buttonGroup",()=>_k,e=>_k=e);it(_e,"spectrum-Dialog-buttonGroup--noFooter",()=>Nk,e=>Nk=e);it(_e,"spectrum-Dialog-closeButton",()=>Lk,e=>Lk=e);it(_e,"spectrum-Dialog-content",()=>Vk,e=>Vk=e);it(_e,"spectrum-Dialog-divider",()=>Qk,e=>Qk=e);it(_e,"spectrum-Dialog-footer",()=>zk,e=>zk=e);it(_e,"spectrum-Dialog-grid",()=>jk,e=>jk=e);it(_e,"spectrum-Dialog-header",()=>Wk,e=>Wk=e);it(_e,"spectrum-Dialog-header--noTypeIcon",()=>Zk,e=>Zk=e);it(_e,"spectrum-Dialog-heading",()=>Uk,e=>Uk=e);it(_e,"spectrum-Dialog-heading--noHeader",()=>qk,e=>qk=e);it(_e,"spectrum-Dialog-heading--noTypeIcon",()=>Hk,e=>Hk=e);it(_e,"spectrum-Dialog-hero",()=>Kk,e=>Kk=e);it(_e,"spectrum-Dialog-typeIcon",()=>Yk,e=>Yk=e);it(_e,"spectrum-FocusRing-ring",()=>o0,e=>o0=e);it(_e,"spectrum-FocusRing",()=>Gk,e=>Gk=e);it(_e,"spectrum-FocusRing--quiet",()=>Xk,e=>Xk=e);it(_e,"spectrum-overlay",()=>Jk,e=>Jk=e);it(_e,"spectrum-overlay--bottom--open",()=>eC,e=>eC=e);it(_e,"spectrum-overlay--left--open",()=>tC,e=>tC=e);it(_e,"spectrum-overlay--open",()=>rC,e=>rC=e);it(_e,"spectrum-overlay--right--open",()=>nC,e=>nC=e);it(_e,"spectrum-overlay--top--open",()=>iC,e=>iC=e);it(_e,"typeIcon",()=>aC,e=>aC=e);it(_e,"typeIcon-end",()=>lC,e=>lC=e);var dk,fk,hk,pk,mk,gk,vk,bk,yk,$k,Ok,xk,Sk,wk,kk,Ck,Ek,Pk,Fk,Ak,Dk,Rk,Tk,Ik,Mk,Bk,_k,Nk,Lk,Vk,Qk,zk,jk,Wk,Zk,Uk,qk,Hk,Kk,Yk,o0,Gk,Xk,Jk,eC,tC,rC,nC,iC,aC,lC;dk="h_OVWW_buttonGroup";fk="h_OVWW_buttonGroup-end";hk="h_OVWW_closeButton";pk="h_OVWW_content";mk="h_OVWW_divider";gk="h_OVWW_focus-ring";vk="h_OVWW_footer";bk="h_OVWW_footer-start";yk="h_OVWW_header";$k="h_OVWW_header-end";Ok="h_OVWW_header-start";xk="h_OVWW_heading";Sk="h_OVWW_heading-start";wk="h_OVWW_hero";kk="h_OVWW_i18nFontFamily";Ck="h_OVWW_spectrum-Button";Ek="h_OVWW_spectrum-Dialog";Pk="h_OVWW_spectrum-Dialog--dismissable";Fk="h_OVWW_spectrum-Dialog--error";Ak="h_OVWW_spectrum-Dialog--fullscreen";Dk="h_OVWW_spectrum-Dialog--fullscreenTakeover";Rk="h_OVWW_spectrum-Dialog--large";Tk="h_OVWW_spectrum-Dialog--medium";Ik="h_OVWW_spectrum-Dialog--noDivider";Mk="h_OVWW_spectrum-Dialog--small";Bk="h_OVWW_spectrum-Dialog--warning";_k="h_OVWW_spectrum-Dialog-buttonGroup";Nk="h_OVWW_spectrum-Dialog-buttonGroup--noFooter";Lk="h_OVWW_spectrum-Dialog-closeButton";Vk="h_OVWW_spectrum-Dialog-content";Qk="h_OVWW_spectrum-Dialog-divider";zk="h_OVWW_spectrum-Dialog-footer";jk="h_OVWW_spectrum-Dialog-grid";Wk="h_OVWW_spectrum-Dialog-header";Zk="h_OVWW_spectrum-Dialog-header--noTypeIcon";Uk="h_OVWW_spectrum-Dialog-heading";qk="h_OVWW_spectrum-Dialog-heading--noHeader";Hk="h_OVWW_spectrum-Dialog-heading--noTypeIcon";Kk="h_OVWW_spectrum-Dialog-hero";Yk="h_OVWW_spectrum-Dialog-typeIcon";o0="h_OVWW_spectrum-FocusRing-ring";Gk=`h_OVWW_spectrum-FocusRing ${o0}`;Xk="h_OVWW_spectrum-FocusRing--quiet";Jk="h_OVWW_spectrum-overlay";eC="h_OVWW_spectrum-overlay--bottom--open";tC="h_OVWW_spectrum-overlay--left--open";rC="h_OVWW_spectrum-overlay--open";nC="h_OVWW_spectrum-overlay--right--open";iC="h_OVWW_spectrum-overlay--top--open";aC="h_OVWW_typeIcon";lC="h_OVWW_typeIcon-end";let j_={S:"small",M:"medium",L:"large",fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"};function c1e(e,t){e=Ia(e,"dialog");let{type:r="modal",...n}=O.useContext(CJ)||{},{children:i,isDismissable:a=n.isDismissable,onDismiss:l=n.onClose,size:s,...u}=e,c=or(ei(EJ),"@react-spectrum/dialog"),{styleProps:d}=Nt(u);s=r==="popover"?s||"S":s||"L";let f=Xr(t),h=O.useRef(null),p=j_[r]||j_[s],{dialogProps:m,titleProps:g}=dX(Oe(n,e),f),b=gc(`.${ei(_e)["spectrum-Dialog-header"]}`,mc(h)),v=gc(`.${ei(_e)["spectrum-Dialog-heading"]}`,mc(h)),$=gc(`.${ei(_e)["spectrum-Dialog-footer"]}`,mc(h)),y=gc(`.${ei(_e)["spectrum-Dialog-typeIcon"]}`,mc(h)),S=O.useMemo(()=>({hero:{UNSAFE_className:ei(_e)["spectrum-Dialog-hero"]},heading:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-heading",{"spectrum-Dialog-heading--noHeader":!b,"spectrum-Dialog-heading--noTypeIcon":!y}),level:2,...g},header:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-header",{"spectrum-Dialog-header--noHeading":!v,"spectrum-Dialog-header--noTypeIcon":!y})},typeIcon:{UNSAFE_className:ei(_e)["spectrum-Dialog-typeIcon"]},divider:{UNSAFE_className:ei(_e)["spectrum-Dialog-divider"],size:"M"},content:{UNSAFE_className:ei(_e)["spectrum-Dialog-content"]},footer:{UNSAFE_className:ei(_e)["spectrum-Dialog-footer"]},buttonGroup:{UNSAFE_className:z(ei(_e),"spectrum-Dialog-buttonGroup",{"spectrum-Dialog-buttonGroup--noFooter":!$}),align:"end"}}),[$,b,g]);return w.createElement("section",{...d,...m,className:z(ei(_e),"spectrum-Dialog",{[`spectrum-Dialog--${p}`]:p,"spectrum-Dialog--dismissable":a},d.className),ref:f},w.createElement(GT,{ref:h,UNSAFE_className:ei(_e)["spectrum-Dialog-grid"]},w.createElement(Ma,{slots:S},i),a&&w.createElement(xo,{UNSAFE_className:ei(_e)["spectrum-Dialog-closeButton"],isQuiet:!0,"aria-label":c.format("dismiss"),onPress:l},w.createElement(Tve,null))))}let d1e=w.forwardRef(c1e);function oC(e){let{children:t,type:r="modal",mobileType:n=r==="popover"?"modal":r,hideArrow:i,targetRef:a,isDismissable:l,isKeyboardDismissDisabled:s,...u}=e;if(!Array.isArray(t)||t.length>2)throw new Error("DialogTrigger must have exactly 2 children");let[c,d]=t;Zh()&&(r!=="modal"&&n==="modal"&&(l=!0),r=n);let h=Xh(e),p=O.useRef(!1);O.useEffect(()=>{p.current=h.isOpen},[h.isOpen]);let m=O.useRef(!1),g=()=>m.current=!0,b=()=>m.current=!1;if(O.useEffect(()=>()=>{(p.current||m.current)&&r!=="popover"&&r!=="tray"&&console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.")},[]),r==="popover")return w.createElement(h1e,{...u,state:h,targetRef:a,trigger:c,content:d,isKeyboardDismissDisabled:s,hideArrow:i});let v=()=>{switch(r){case"fullscreen":case"fullscreenTakeover":case"modal":return w.createElement(age,{state:h,isDismissable:r==="modal"?l:!1,type:r,isKeyboardDismissDisabled:s,onExiting:g,onExited:b},typeof d=="function"?d(h.close):d);case"tray":return w.createElement(Z1,{state:h,isKeyboardDismissDisabled:s},typeof d=="function"?d(h.close):d)}};return w.createElement(PJ,{type:r,state:h,isDismissable:l,trigger:c,overlay:v()})}oC.getCollectionNode=function*(e){let[t]=w.Children.toArray(e.children),[,r]=e.children;yield{element:t,wrapper:n=>w.createElement(oC,{key:n.key,...e},n,r)}};let f1e=oC;function h1e({state:e,targetRef:t,trigger:r,content:n,hideArrow:i,...a}){let l=O.useRef(null),{triggerProps:s,overlayProps:u}=VT({type:"dialog"},e,l),c={...s,ref:t?void 0:l},d=w.createElement(W1,{...a,hideArrow:i,triggerRef:t||l,state:e},typeof n=="function"?n(e.close):n);return w.createElement(PJ,{type:"popover",state:e,triggerProps:c,dialogProps:u,trigger:r,overlay:d})}function PJ({type:e,state:t,isDismissable:r,dialogProps:n={},triggerProps:i={},overlay:a,trigger:l}){let s={type:e,onClose:t.close,isDismissable:r,...n};return w.createElement(O.Fragment,null,w.createElement(_1,{...i,onPress:t.toggle,isPressed:t.isOpen&&e!=="modal"&&e!=="fullscreen"&&e!=="fullscreenTakeover"},l),w.createElement(CJ.Provider,{value:s},a))}var FJ={};Object.defineProperty(FJ,"__esModule",{value:!0});var p1e=FJ.A4uHelpOutline=g1e,W_=m1e(O);function m1e(e){return e&&e.__esModule?e:{default:e}}function s0(){return s0=Object.assign?Object.assign.bind():function(e){for(var t=1;tsC,e=>sC=e);ip(co,"react-spectrum-ContextualHelp-content",()=>uC,e=>uC=e);ip(co,"react-spectrum-ContextualHelp-dialog",()=>cC,e=>cC=e);ip(co,"react-spectrum-ContextualHelp-dialog--isMobile",()=>dC,e=>dC=e);ip(co,"react-spectrum-ContextualHelp-footer",()=>fC,e=>fC=e);var sC,uC,cC,dC,fC;sC="L6gUaa_react-spectrum-ContextualHelp-button";uC="L6gUaa_react-spectrum-ContextualHelp-content";cC="L6gUaa_react-spectrum-ContextualHelp-dialog";dC="L6gUaa_react-spectrum-ContextualHelp-dialog--isMobile";fC="L6gUaa_react-spectrum-ContextualHelp-footer";var AJ={};AJ={"ar-AE":fX,"bg-BG":hX,"cs-CZ":pX,"da-DK":mX,"de-DE":gX,"el-GR":vX,"en-US":bX,"es-ES":yX,"et-EE":$X,"fi-FI":OX,"fr-FR":xX,"he-IL":SX,"hr-HR":wX,"hu-HU":kX,"it-IT":CX,"ja-JP":EX,"ko-KR":PX,"lt-LT":FX,"lv-LV":AX,"nb-NO":DX,"nl-NL":RX,"pl-PL":TX,"pt-BR":IX,"pt-PT":MX,"ro-RO":BX,"ru-RU":_X,"sk-SK":NX,"sl-SI":LX,"sr-SP":VX,"sv-SE":QX,"tr-TR":zX,"uk-UA":jX,"zh-CN":WX,"zh-TW":ZX};function b1e(e,t){let{variant:r="help",placement:n="bottom start",children:i,...a}=e,l=or(Zd(AJ),"@react-spectrum/contextualhelp"),s=r==="info"?w.createElement(XT,null):w.createElement(v1e,null),u={content:{UNSAFE_className:Zd(co)["react-spectrum-ContextualHelp-content"]},footer:{UNSAFE_className:Zd(co)["react-spectrum-ContextualHelp-footer"]}},c=uh(a,l.format(r));return w.createElement(f1e,{...a,type:"popover",placement:n,hideArrow:!0},w.createElement(xo,{...Oe(a,c,{isDisabled:!1}),ref:t,UNSAFE_className:z(Zd(co),"react-spectrum-ContextualHelp-button",a.UNSAFE_className),isQuiet:!0},s),w.createElement(B1,null,w.createElement(Ma,{slots:u},w.createElement(d1e,{UNSAFE_className:z(Zd(co),"react-spectrum-ContextualHelp-dialog")},i))))}let eb=w.forwardRef(b1e);var DJ={};DJ={Empty:"فارغ"};var RJ={};RJ={Empty:"Изпразни"};var TJ={};TJ={Empty:"Prázdné"};var IJ={};IJ={Empty:"Tom"};var MJ={};MJ={Empty:"Leer"};var BJ={};BJ={Empty:"Άδειο"};var _J={};_J={Empty:"Empty"};var NJ={};NJ={Empty:"Vacío"};var LJ={};LJ={Empty:"Tühjenda"};var VJ={};VJ={Empty:"Tyhjä"};var QJ={};QJ={Empty:"Vide"};var zJ={};zJ={Empty:"ריק"};var jJ={};jJ={Empty:"Prazno"};var WJ={};WJ={Empty:"Üres"};var ZJ={};ZJ={Empty:"Vuoto"};var UJ={};UJ={Empty:"空"};var qJ={};qJ={Empty:"비어 있음"};var HJ={};HJ={Empty:"Tuščias"};var KJ={};KJ={Empty:"Tukšs"};var YJ={};YJ={Empty:"Tom"};var GJ={};GJ={Empty:"Leeg"};var XJ={};XJ={Empty:"Pusty"};var JJ={};JJ={Empty:"Vazio"};var eee={};eee={Empty:"Vazio"};var tee={};tee={Empty:"Gol"};var ree={};ree={Empty:"Не заполнено"};var nee={};nee={Empty:"Prázdne"};var iee={};iee={Empty:"Prazen"};var aee={};aee={Empty:"Prazno"};var lee={};lee={Empty:"Tomt"};var oee={};oee={Empty:"Boş"};var see={};see={Empty:"Пусто"};var uee={};uee={Empty:"空"};var cee={};cee={Empty:"空白"};function y1e(e){return e&&e.__esModule?e.default:e}var dee={};dee={"ar-AE":DJ,"bg-BG":RJ,"cs-CZ":TJ,"da-DK":IJ,"de-DE":MJ,"el-GR":BJ,"en-US":_J,"es-ES":NJ,"et-EE":LJ,"fi-FI":VJ,"fr-FR":QJ,"he-IL":zJ,"hr-HR":jJ,"hu-HU":WJ,"it-IT":ZJ,"ja-JP":UJ,"ko-KR":qJ,"lt-LT":HJ,"lv-LV":KJ,"nb-NO":YJ,"nl-NL":GJ,"pl-PL":XJ,"pt-BR":JJ,"pt-PT":eee,"ro-RO":tee,"ru-RU":ree,"sk-SK":nee,"sl-SI":iee,"sr-SP":aee,"sv-SE":lee,"tr-TR":oee,"uk-UA":see,"zh-CN":uee,"zh-TW":cee};function $1e(e){const t=O.useRef();let{value:r,textValue:n,minValue:i,maxValue:a,isDisabled:l,isReadOnly:s,isRequired:u,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:h,onDecrementToMin:p,onIncrementToMax:m}=e;const g=or(y1e(dee),"@react-aria/spinbutton"),b=()=>clearTimeout(t.current);O.useEffect(()=>()=>b(),[]);let v=D=>{if(!(D.ctrlKey||D.metaKey||D.shiftKey||D.altKey||s))switch(D.key){case"PageUp":if(d){D.preventDefault(),d();break}case"ArrowUp":case"Up":c&&(D.preventDefault(),c());break;case"PageDown":if(h){D.preventDefault(),h();break}case"ArrowDown":case"Down":f&&(D.preventDefault(),f());break;case"Home":p&&(D.preventDefault(),p());break;case"End":m&&(D.preventDefault(),m());break}},$=O.useRef(!1),y=()=>{$.current=!0},S=()=>{$.current=!1};n=n===""?g.format("Empty"):(n||`${r}`).replace("-","−"),O.useEffect(()=>{$.current&&(Eve("assertive"),Dc(n,"assertive"))},[n]);const k=Vr(D=>{b(),c(),t.current=window.setTimeout(()=>{(isNaN(a)||isNaN(r)||r{b(),f(),t.current=window.setTimeout(()=>{(isNaN(i)||isNaN(r)||r>i)&&C(60)},D)});let F=D=>{D.preventDefault()},{addGlobalListener:E,removeAllGlobalListeners:M}=md();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(r)?null:r,"aria-valuetext":n,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":l||null,"aria-readonly":s||null,"aria-required":u||null,onKeyDown:v,onFocus:y,onBlur:S},incrementButtonProps:{onPressStart:()=>{k(400),E(window,"contextmenu",F)},onPressEnd:()=>{b(),M()},onFocus:y,onBlur:S},decrementButtonProps:{onPressStart:()=>{C(400),E(window,"contextmenu",F)},onPressEnd:()=>{b(),M()},onFocus:y,onBlur:S}}}function Z_(e){return e&&e.__esModule?e.default:e}function rl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var oa={};rl(oa,"focus-ring",()=>hC,e=>hC=e);rl(oa,"i18nFontFamily",()=>pC,e=>pC=e);rl(oa,"is-disabled",()=>mC,e=>mC=e);rl(oa,"is-hovered",()=>gC,e=>gC=e);rl(oa,"spectrum-FocusRing-ring",()=>u0,e=>u0=e);rl(oa,"spectrum-FocusRing",()=>vC,e=>vC=e);rl(oa,"spectrum-FocusRing--quiet",()=>bC,e=>bC=e);rl(oa,"spectrum-Link",()=>yC,e=>yC=e);rl(oa,"spectrum-Link--overBackground",()=>$C,e=>$C=e);rl(oa,"spectrum-Link--quiet",()=>OC,e=>OC=e);rl(oa,"spectrum-Link--secondary",()=>xC,e=>xC=e);var hC,pC,mC,gC,u0,vC,bC,yC,$C,OC,xC;hC="WBgRPa_focus-ring";pC="WBgRPa_i18nFontFamily";mC="WBgRPa_is-disabled";gC="WBgRPa_is-hovered";u0="WBgRPa_spectrum-FocusRing-ring";vC=`WBgRPa_spectrum-FocusRing ${u0}`;bC="WBgRPa_spectrum-FocusRing--quiet";yC="WBgRPa_spectrum-Link";$C="WBgRPa_spectrum-Link--overBackground";OC="WBgRPa_spectrum-Link--quiet";xC="WBgRPa_spectrum-Link--secondary";function O1e(e){e=Fn(e),e=Ia(e,"link");let{variant:t="primary",isQuiet:r,children:n,href:i}=e,{styleProps:a}=Nt(e),{hoverProps:l,isHovered:s}=Er({}),u=O.useRef(null),{linkProps:c}=Cve({...e,elementType:!i&&typeof n=="string"?"span":"a"},u),d={...a,...Oe(c,l),ref:u,className:z(Z_(oa),"spectrum-Link",{"spectrum-Link--quiet":r,[`spectrum-Link--${t}`]:t,"is-hovered":s},a.className)},f;if(i)f=w.createElement("a",d,n);else{let h=Jhe(n);f=w.cloneElement(h,{...Oe(h.props,d),ref:h.ref?zZ(u,h.ref):u})}return w.createElement(_r,{focusRingClass:z(Z_(oa),"focus-ring")},f)}var fee={};fee={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var hee={};hee={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var pee={};pee={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var mee={};mee={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var gee={};gee={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var vee={};vee={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var bee={};bee={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var yee={};yee={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var $ee={};$ee={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var Oee={};Oee={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var xee={};xee={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var See={};See={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var wee={};wee={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var kee={};kee={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var Cee={};Cee={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var Eee={};Eee={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var Pee={};Pee={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var Fee={};Fee={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var Aee={};Aee={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var Dee={};Dee={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Ree={};Ree={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var Tee={};Tee={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Iee={};Iee={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Mee={};Mee={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Bee={};Bee={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var _ee={};_ee={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var Nee={};Nee={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var Lee={};Lee={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var Vee={};Vee={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var Qee={};Qee={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var zee={};zee={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var jee={};jee={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Wee={};Wee={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Zee={};Zee={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};function lI(e){return e&&e.__esModule?e.default:e}class Uee{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}findPreviousKey(t,r){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let i=this.collection.getItem(n);if(!this.disabledKeys.has(n)&&(!r||r(i)))return n;n=this.collection.getKeyBefore(n)}}findNextKey(t,r){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let i=this.collection.getItem(n);if(!this.disabledKeys.has(n)&&(!r||r(i)))return n;n=this.collection.getKeyAfter(n)}}getKeyBelow(t){let r=this.collection.getItem(t);if(r&&(this.isCell(r)&&(t=r.parentKey),t=this.findNextKey(t),t!=null)){if(this.isCell(r)){let n=this.collection.getItem(t);return jo(mr(n,this.collection),r.index).key}if(this.focusMode==="row")return t}}getKeyAbove(t){let r=this.collection.getItem(t);if(r&&(this.isCell(r)&&(t=r.parentKey),t=this.findPreviousKey(t),t!=null)){if(this.isCell(r)){let n=this.collection.getItem(t);return jo(mr(n,this.collection),r.index).key}if(this.focusMode==="row")return t}}getKeyRightOf(t){let r=this.collection.getItem(t);if(r){if(this.isRow(r)){let n=mr(r,this.collection);return this.direction==="rtl"?Jo(n).key:lo(n).key}if(this.isCell(r)){let n=this.collection.getItem(r.parentKey),i=mr(n,this.collection),a=this.direction==="rtl"?jo(i,r.index-1):jo(i,r.index+1);return a?a.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t)}}}getKeyLeftOf(t){let r=this.collection.getItem(t);if(r){if(this.isRow(r)){let n=mr(r,this.collection);return this.direction==="rtl"?lo(n).key:Jo(n).key}if(this.isCell(r)){let n=this.collection.getItem(r.parentKey),i=mr(n,this.collection),a=this.direction==="rtl"?jo(i,r.index+1):jo(i,r.index-1);return a?a.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t)}}}getFirstKey(t,r){let n;if(t!=null){if(n=this.collection.getItem(t),!n)return;if(this.isCell(n)&&!r){let i=this.collection.getItem(n.parentKey);return lo(mr(i,this.collection)).key}}if(t=this.findNextKey(),t!=null&&n&&this.isCell(n)&&r||this.focusMode==="cell"){let i=this.collection.getItem(t);t=lo(mr(i,this.collection)).key}return t}getLastKey(t,r){let n;if(t!=null){if(n=this.collection.getItem(t),!n)return;if(this.isCell(n)&&!r){let i=this.collection.getItem(n.parentKey),a=mr(i,this.collection);return Jo(a).key}}if(t=this.findPreviousKey(),t!=null&&n&&this.isCell(n)&&r||this.focusMode==="cell"){let i=this.collection.getItem(t),a=mr(i,this.collection);t=Jo(a).key}return t}getItem(t){return this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`)}getItemRect(t){var r;if(this.layout)return(r=this.layout.getLayoutInfo(t))===null||r===void 0?void 0:r.rect;let n=this.getItem(t);if(n)return new Vt(n.offsetLeft,n.offsetTop,n.offsetWidth,n.offsetHeight)}getPageHeight(){var t,r,n;return this.layout?(t=this.layout.virtualizer)===null||t===void 0?void 0:t.visibleRect.height:(n=this.ref)===null||n===void 0||(r=n.current)===null||r===void 0?void 0:r.offsetHeight}getContentHeight(){var t,r;return this.layout?this.layout.getContentSize().height:(r=this.ref)===null||r===void 0||(t=r.current)===null||t===void 0?void 0:t.scrollHeight}getKeyPageAbove(t){let r=this.getItemRect(t);if(!r)return null;let n=Math.max(0,r.maxY-this.getPageHeight());for(;r&&r.y>n;)t=this.getKeyAbove(t),r=this.getItemRect(t);return t}getKeyPageBelow(t){let r=this.getItemRect(t);if(!r)return null;let n=this.getPageHeight(),i=Math.min(this.getContentHeight(),r.y+n);for(;r&&r.maxY{var s,u,c,d;return(d=(s=(u=t.collection).getTextValue)===null||s===void 0?void 0:s.call(u,l))!==null&&d!==void 0?d:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=or(lI(tb),"@react-aria/grid"),i=t.selectionManager.rawSelection,a=O.useRef(i);YZ(()=>{var l;if(!t.selectionManager.isFocused){a.current=i;return}let s=U_(i,a.current),u=U_(a.current,i),c=t.selectionManager.selectionBehavior==="replace",d=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=r(t.selectionManager.selectedKeys.keys().next().value);f&&d.push(n.format("selectedItem",{item:f}))}}else if(s.size===1&&u.size===0){let f=r(s.keys().next().value);f&&d.push(n.format("selectedItem",{item:f}))}else if(u.size===1&&s.size===0&&t.collection.getItem(u.keys().next().value)){let f=r(u.keys().next().value);f&&d.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(d.length===0||i==="all"||i.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&d.push(i==="all"?n.format("selectedAll"):n.format("selectedCount",{count:i.size})),d.length>0&&Dc(d.join(" ")),a.current=i},[i])}function U_(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let n of e.keys())t.has(n)||r.add(n);return r}function S1e(e){let t=or(lI(tb),"@react-aria/grid"),r=BT(),n=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,i=O.useMemo(()=>{let l=e.selectionManager.selectionMode,s=e.selectionManager.selectionBehavior,u;return n&&(u=t.format("longPressToSelect")),s==="replace"&&l!=="none"&&e.hasItemActions?u:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return Wh(i)}function w1e(e,t,r){let{isVirtualized:n,keyboardDelegate:i,focusMode:a,scrollRef:l,getRowText:s,onRowAction:u,onCellAction:c}=e,{selectionManager:d}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=gd({usage:"search",sensitivity:"base"}),{direction:h}=yr(),p=t.selectionManager.disabledBehavior,m=O.useMemo(()=>i||new Uee({collection:t.collection,disabledKeys:p==="selection"?new Set:t.disabledKeys,ref:r,direction:h,collator:f,focusMode:a}),[i,t.collection,t.disabledKeys,p,r,h,f,a]),{collectionProps:g}=ZT({ref:r,selectionManager:d,keyboardDelegate:m,isVirtualized:n,scrollRef:l}),b=ar(e.id);oI.set(t,{keyboardDelegate:m,actions:{onRowAction:u,onCellAction:c}});let v=S1e({selectionManager:d,hasItemActions:!!(u||c)}),$=Yt(e,{labelable:!0}),y=O.useCallback(F=>{if(d.isFocused){F.currentTarget.contains(F.target)||d.setFocused(!1);return}F.currentTarget.contains(F.target)&&d.setFocused(!0)},[d]),S=O.useMemo(()=>({onBlur:g.onBlur,onFocus:y}),[y,g.onBlur]),k=Upe(r,{isDisabled:t.collection.size!==0}),C=Oe($,{role:"grid",id:b,"aria-multiselectable":d.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?S:g,t.collection.size===0&&{tabIndex:k?-1:0},v);return n&&(C["aria-rowcount"]=t.collection.size,C["aria-colcount"]=t.collection.columnCount),x1e({getRowText:s},t),{gridProps:C}}function k1e(){return{rowGroupProps:{role:"rowgroup"}}}function C1e(e,t,r){let{node:n,isVirtualized:i,shouldSelectOnPressUp:a,onAction:l}=e,{actions:{onRowAction:s}}=oI.get(t),{itemProps:u,...c}=U1({selectionManager:t.selectionManager,key:n.key,ref:r,isVirtualized:i,shouldSelectOnPressUp:a,onAction:s?()=>s(n.key):l,isDisabled:t.collection.size===0}),d=t.selectionManager.isSelected(n.key),f={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?d:void 0,"aria-disabled":c.isDisabled||void 0,...u};return i&&(f["aria-rowindex"]=n.index+1),{rowProps:f,...c}}function qee(e,t,r){let{node:n,isVirtualized:i,focusMode:a="child",shouldSelectOnPressUp:l,onAction:s}=e,{direction:u}=yr(),{keyboardDelegate:c,actions:{onCellAction:d}}=oI.get(t),f=O.useRef(null),h=()=>{let y=ra(r.current);if(a==="child"){if(r.current.contains(document.activeElement)&&r.current!==document.activeElement)return;let S=t.selectionManager.childFocusStrategy==="last"?Yy(y):y.firstChild();if(S){Tn(S);return}}(f.current!=null&&n.key!==f.current||!r.current.contains(document.activeElement))&&Tn(r.current)},{itemProps:p,isPressed:m}=U1({selectionManager:t.selectionManager,key:n.key,ref:r,isVirtualized:i,focus:h,shouldSelectOnPressUp:l,onAction:d?()=>d(n.key):s,isDisabled:t.collection.size===0}),v=Oe(p,{role:"gridcell",onKeyDownCapture:y=>{if(!y.currentTarget.contains(y.target)||t.isKeyboardNavigationDisabled)return;let S=ra(r.current);switch(S.currentNode=document.activeElement,y.key){case"ArrowLeft":{let k=u==="rtl"?S.nextNode():S.previousNode();if(a==="child"&&k===r.current&&(k=null),k)y.preventDefault(),y.stopPropagation(),Tn(k),io(k,{containingElement:yl(r.current)});else{if(c.getKeyLeftOf(n.key)!==n.key)break;y.preventDefault(),y.stopPropagation(),a==="cell"&&u==="rtl"?(Tn(r.current),io(r.current,{containingElement:yl(r.current)})):(S.currentNode=r.current,k=u==="rtl"?S.firstChild():Yy(S),k&&(Tn(k),io(k,{containingElement:yl(r.current)})))}break}case"ArrowRight":{let k=u==="rtl"?S.previousNode():S.nextNode();if(a==="child"&&k===r.current&&(k=null),k)y.preventDefault(),y.stopPropagation(),Tn(k),io(k,{containingElement:yl(r.current)});else{if(c.getKeyRightOf(n.key)!==n.key)break;y.preventDefault(),y.stopPropagation(),a==="cell"&&u==="ltr"?(Tn(r.current),io(r.current,{containingElement:yl(r.current)})):(S.currentNode=r.current,k=u==="rtl"?Yy(S):S.firstChild(),k&&(Tn(k),io(k,{containingElement:yl(r.current)})))}break}case"ArrowUp":case"ArrowDown":!y.altKey&&r.current.contains(y.target)&&(y.stopPropagation(),y.preventDefault(),r.current.parentElement.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent)));break}},onFocus:y=>{if(f.current=n.key,y.target!==r.current){Oo()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===r.current&&h()})}});var $;return i&&(v["aria-colindex"]=(($=n.colIndex)!==null&&$!==void 0?$:n.index)+1),l&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=y=>{let S=y.currentTarget,k=S.getAttribute("tabindex");S.removeAttribute("tabindex"),requestAnimationFrame(()=>{S.setAttribute("tabindex",k)})}),{gridCellProps:v,isPressed:m}}function Yy(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}function E1e(e,t){let{key:r}=e,n=t.selectionManager,i=ar(),a=!t.selectionManager.canSelectItem(r),l=t.selectionManager.isSelected(r),s=()=>n.select(r);const u=or(lI(tb),"@react-aria/grid");return{checkboxProps:{id:i,"aria-label":u.format("select"),isSelected:l,isDisabled:a,onChange:s}}}var Hee={};Object.defineProperty(Hee,"__esModule",{value:!0});var P1e=Hee.ChevronLeftMedium=Kee,Gy=F1e(O);function F1e(e){return e&&e.__esModule?e:{default:e}}function SC(){return SC=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function D1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Kee(e){var t=e.scale,r=t===void 0?"M":t,n=A1e(e,["scale"]);return Gy.default.createElement("svg",SC({},n,n),r==="L"&&Gy.default.createElement("path",{d:"M7.197 10.283L2.914 6l4.283-4.283A1 1 0 1 0 5.783.303l-4.99 4.99a1 1 0 0 0 0 1.414l4.99 4.99a1 1 0 1 0 1.414-1.414z"}),r==="M"&&Gy.default.createElement("path",{d:"M5.697 8.283L2.414 5l3.283-3.283A1 1 0 1 0 4.283.303l-3.98 3.99a1 1 0 0 0 0 1.414l3.98 3.99a1 1 0 1 0 1.414-1.414z"}))}Kee.displayName="ChevronLeftMedium";function R1e(e){return w.createElement(Ln,e,w.createElement(P1e,null))}var Yee={};Object.defineProperty(Yee,"__esModule",{value:!0});var T1e=Yee.ChevronRightMedium=Gee,Xy=I1e(O);function I1e(e){return e&&e.__esModule?e:{default:e}}function wC(){return wC=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function B1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Gee(e){var t=e.scale,r=t===void 0?"M":t,n=M1e(e,["scale"]);return Xy.default.createElement("svg",wC({},n,n),r==="L"&&Xy.default.createElement("path",{d:"M7.5 6a.997.997 0 0 0-.293-.707L2.217.303A1 1 0 1 0 .803 1.717L5.086 6 .803 10.283a1 1 0 1 0 1.414 1.414l4.99-4.99A.997.997 0 0 0 7.5 6z"}),r==="M"&&Xy.default.createElement("path",{d:"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z"}))}Gee.displayName="ChevronRightMedium";function _1e(e){return w.createElement(Ln,e,w.createElement(T1e,null))}var Xee={};Object.defineProperty(Xee,"__esModule",{value:!0});var N1e=Xee.ListGripper=Jee,tn=L1e(O);function L1e(e){return e&&e.__esModule?e:{default:e}}function Jee({scale:e="M",...t}){return tn.default.createElement("svg",t,e==="L"&&tn.default.createElement(tn.default.Fragment,null,tn.default.createElement("circle",{cx:"5.375",cy:"12.625",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"12.625",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"8.875",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"8.875",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"5.125",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"5.125",r:"1.25"}),tn.default.createElement("circle",{cx:"5.375",cy:"1.375",r:"1.25"}),tn.default.createElement("circle",{cx:"1.625",cy:"1.375",r:"1.25"})),e==="M"&&tn.default.createElement(tn.default.Fragment,null,tn.default.createElement("circle",{cx:"4",cy:"10.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"10.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"7.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"7.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"4.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"4.5",r:"1"}),tn.default.createElement("circle",{cx:"4",cy:"1.5",r:"1"}),tn.default.createElement("circle",{cx:"1",cy:"1.5",r:"1"})))}Jee.displayName="ListGripper";function V1e(e){return w.createElement(Ln,e,w.createElement(N1e,null))}function Q1e(e){let{minValue:t,maxValue:r,step:n,formatOptions:i,value:a,defaultValue:l,onChange:s,locale:u,isDisabled:c,isReadOnly:d}=e;a===null&&(a=NaN),isNaN(a)||(isNaN(n)?a=Pa(a,t,r):a=Ri(a,t,r,n)),isNaN(l)||(isNaN(n)?l=Pa(l,t,r):l=Ri(l,t,r,n));let[f,h]=da(a,isNaN(l)?NaN:l,s),[p,m]=O.useState(()=>isNaN(f)?"":new zg(u,i).format(f)),g=O.useMemo(()=>new eU(u,i),[u,i]),b=O.useMemo(()=>g.getNumberingSystem(p),[g,p]),v=O.useMemo(()=>new zg(u,{...i,numberingSystem:b}),[u,i,b]),$=O.useMemo(()=>v.resolvedOptions(),[v]),y=O.useCallback(V=>isNaN(V)||V===null?"":v.format(V),[v]),S=_s({...e,value:f}),k=isNaN(n)?1:n;$.style==="percent"&&isNaN(n)&&(k=.01);let[C,F]=O.useState(f),[E,M]=O.useState(u),[D,R]=O.useState(i);(!Object.is(f,C)||u!==E||i!==D)&&(m(y(f)),F(f),M(u),R(i));let B=O.useMemo(()=>g.parse(p),[g,p]),T=()=>{if(!p.length){h(NaN),m(a===void 0?"":y(f));return}if(isNaN(B)){m(y(f));return}let V;isNaN(n)?V=Pa(B,t,r):V=Ri(B,t,r,n),V=g.parse(y(V)),h(V),m(y(a===void 0?V:f))},_=(V,I)=>{let Y=B;if(isNaN(Y)){let ee=isNaN(I)?0:I;return Ri(ee,t,r,k)}else{let ee=Ri(Y,t,r,k);return V==="+"&&ee>Y||V==="-"&&ee{let V=_("+",t);V===f&&m(y(V)),h(V),S.commitValidation()},W=()=>{let V=_("-",r);V===f&&m(y(V)),h(V),S.commitValidation()},Z=()=>{r!=null&&(h(Ri(r,t,r,k)),S.commitValidation())},q=()=>{t!=null&&(h(t),S.commitValidation())},U=O.useMemo(()=>!c&&!d&&(isNaN(B)||isNaN(r)||Ri(B,t,r,k)>B||Jy("+",B,k)<=r),[c,d,t,r,k,B]),A=O.useMemo(()=>!c&&!d&&(isNaN(B)||isNaN(t)||Ri(B,t,r,k)=t),[c,d,t,r,k,B]);return{...S,validate:V=>g.isValidPartialNumber(V,t,r),increment:Q,incrementToMax:Z,decrement:W,decrementToMin:q,canIncrement:U,canDecrement:A,minValue:t,maxValue:r,numberValue:B,setNumberValue:h,setInputValue:m,inputValue:p,commit:T}}function Jy(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const i=t.toString().split("."),a=r.toString().split("."),l=i[1]&&i[1].length||0,s=a[1]&&a[1].length||0,u=Math.pow(10,Math.max(l,s));t=Math.round(t*u),r=Math.round(r*u),n=e==="+"?t+r:t-r,n/=u}return n}var ete={};ete={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var tte={};tte={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var rte={};rte={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var nte={};nte={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var ite={};ite={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var ate={};ate={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var lte={};lte={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var ote={};ote={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var ste={};ste={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var ute={};ute={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var cte={};cte={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var dte={};dte={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var fte={};fte={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var hte={};hte={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var pte={};pte={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var mte={};mte={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var gte={};gte={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var vte={};vte={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var bte={};bte={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var yte={};yte={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var $te={};$te={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Ote={};Ote={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var xte={};xte={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ste={};Ste={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var wte={};wte={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var kte={};kte={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Cte={};Cte={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Ete={};Ete={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Pte={};Pte={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Fte={};Fte={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Ate={};Ate={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Dte={};Dte={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Rte={};Rte={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Tte={};Tte={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};function z1e(e){return e&&e.__esModule?e.default:e}var Ite={};Ite={"ar-AE":ete,"bg-BG":tte,"cs-CZ":rte,"da-DK":nte,"de-DE":ite,"el-GR":ate,"en-US":lte,"es-ES":ote,"et-EE":ste,"fi-FI":ute,"fr-FR":cte,"he-IL":dte,"hr-HR":fte,"hu-HU":hte,"it-IT":pte,"ja-JP":mte,"ko-KR":gte,"lt-LT":vte,"lv-LV":bte,"nb-NO":yte,"nl-NL":$te,"pl-PL":Ote,"pt-BR":xte,"pt-PT":Ste,"ro-RO":wte,"ru-RU":kte,"sk-SK":Cte,"sl-SI":Ete,"sr-SP":Pte,"sv-SE":Fte,"tr-TR":Ate,"uk-UA":Dte,"zh-CN":Rte,"zh-TW":Tte};function j1e(e,t,r){let{id:n,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:l,isReadOnly:s,isRequired:u,minValue:c,maxValue:d,autoFocus:f,label:h,formatOptions:p,onBlur:m=()=>{},onFocus:g,onFocusChange:b,onKeyDown:v,onKeyUp:$,description:y,errorMessage:S,...k}=e,{increment:C,incrementToMax:F,decrement:E,decrementToMin:M,numberValue:D,inputValue:R,commit:B,commitValidation:T}=t;const _=or(z1e(Ite),"@react-aria/numberfield");let Q=ar(n),{focusProps:W}=Uh({onBlur(){B()}}),Z=jg(p),q=O.useMemo(()=>Z.resolvedOptions(),[Z]),U=jg({...p,currencySign:void 0}),A=O.useMemo(()=>isNaN(D)?"":U.format(D),[U,D]),{spinButtonProps:j,incrementButtonProps:V,decrementButtonProps:I}=$1e({isDisabled:l,isReadOnly:s,isRequired:u,maxValue:d,minValue:c,onIncrement:C,onIncrementToMax:F,onDecrement:E,onDecrementToMin:M,value:D,textValue:A}),[Y,ee]=O.useState(!1),{focusWithinProps:se}=Ru({isDisabled:l,onFocusWithinChange:ee}),le=O.useCallback(Tt=>{Math.abs(Tt.deltaY)<=Math.abs(Tt.deltaX)||(Tt.deltaY>0?C():Tt.deltaY<0&&E())},[E,C]);Ape({onScroll:le,isDisabled:l||s||!Y},r);let Je=q.maximumFractionDigits>0,Ve=isNaN(t.minValue)||t.minValue<0,Re="numeric";jZ()?Ve?Re="text":Je&&(Re="decimal"):Hc()&&(Ve?Re="numeric":Je&&(Re="decimal"));let Ie=Tt=>{t.validate(Tt)&&t.setInputValue(Tt)},At=Yt(e),pt=O.useCallback(Tt=>{Tt.key==="Enter"?(B(),T()):Tt.continuePropagation()},[B,T]),{isInvalid:fr,validationErrors:Lt,validationDetails:hr}=t.displayValidation,{labelProps:yt,inputProps:ye,descriptionProps:ke,errorMessageProps:xe}=H0e({...k,...At,name:void 0,label:h,autoFocus:f,isDisabled:l,isReadOnly:s,isRequired:u,validate:void 0,[fh]:t,value:R,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||null,"aria-labelledby":e["aria-labelledby"]||null,id:Q,type:"text",inputMode:Re,onChange:Ie,onBlur:m,onFocus:g,onFocusChange:b,onKeyDown:O.useMemo(()=>yo(pt,v),[pt,v]),onKeyUp:$,description:y,errorMessage:S},t,r);Du(r,t.numberValue,t.setNumberValue);let Ye=Oe(j,W,ye,{role:null,"aria-roledescription":Qh()?null:_.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Ye["aria-required"]=void 0);let We=Tt=>{document.activeElement!==r.current&&(Tt.pointerType==="mouse"?r.current.focus():Tt.target.focus())},at=e["aria-label"]||(typeof e.label=="string"?e.label:""),re;at||(re=e.label!=null?yt.id:e["aria-labelledby"]);let ge=ar(),qe=ar(),He=Oe(V,{"aria-label":a||_.format("increase",{fieldLabel:at}).trim(),id:re&&!a?ge:null,"aria-labelledby":re&&!a?`${ge} ${re}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:We}),lt=Oe(I,{"aria-label":i||_.format("decrease",{fieldLabel:at}).trim(),id:re&&!i?qe:null,"aria-labelledby":re&&!i?`${qe} ${re}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:We});return{groupProps:{...se,role:"group","aria-disabled":l,"aria-invalid":fr?"true":void 0},labelProps:yt,inputProps:Ye,incrementButtonProps:He,decrementButtonProps:lt,errorMessageProps:xe,descriptionProps:ke,isInvalid:fr,validationErrors:Lt,validationDetails:hr}}var Mte={};Object.defineProperty(Mte,"__esModule",{value:!0});var W1e=Mte.A4uAdd=U1e,q_=Z1e(O);function Z1e(e){return e&&e.__esModule?e:{default:e}}function c0(){return c0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function G1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function _te(e){var t=e.scale,r=t===void 0?"M":t,n=Y1e(e,["scale"]);return e4.default.createElement("svg",kC({},n,n),r==="L"&&e4.default.createElement("path",{d:"M5 7a.747.747 0 0 0 .53-.22l4.24-4.24a.75.75 0 1 0-1.06-1.06L5 5.19 1.29 1.48A.75.75 0 1 0 .23 2.54l4.24 4.24A.747.747 0 0 0 5 7z"}),r==="M"&&e4.default.createElement("path",{d:"M4 5.5a.747.747 0 0 0 .53-.22c.607-.577 1.97-2.038 3.24-3.24A.75.75 0 1 0 6.71.98L4 3.69 1.29.98A.75.75 0 1 0 .23 2.04l3.24 3.24A.747.747 0 0 0 4 5.5z"}))}_te.displayName="ChevronDownSmall";function X1e(e){return w.createElement(Ln,e,w.createElement(H1e,null))}var Nte={};Object.defineProperty(Nte,"__esModule",{value:!0});var J1e=Nte.ChevronUpSmall=Lte,t4=ebe(O);function ebe(e){return e&&e.__esModule?e:{default:e}}function CC(){return CC=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function rbe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Lte(e){var t=e.scale,r=t===void 0?"M":t,n=tbe(e,["scale"]);return t4.default.createElement("svg",CC({},n,n),r==="L"&&t4.default.createElement("path",{d:"M5 1a.747.747 0 0 0-.53.22L.23 5.46a.75.75 0 1 0 1.06 1.06L5 2.81l3.71 3.71a.75.75 0 1 0 1.06-1.06L5.53 1.22A.747.747 0 0 0 5 1z"}),r==="M"&&t4.default.createElement("path",{d:"M4 .5a.747.747 0 0 0-.53.22C2.862 1.297 1.5 2.758.23 3.96a.75.75 0 1 0 1.06 1.06L4 2.31l2.71 2.71a.75.75 0 1 0 1.06-1.06L4.53.72A.747.747 0 0 0 4 .5z"}))}Lte.displayName="ChevronUpSmall";function nbe(e){return w.createElement(Ln,e,w.createElement(J1e,null))}var Vte={};Object.defineProperty(Vte,"__esModule",{value:!0});var ibe=Vte.A4uRemove=lbe,H_=abe(O);function abe(e){return e&&e.__esModule?e:{default:e}}function d0(){return d0=Object.assign?Object.assign.bind():function(e){for(var t=1;tEC,e=>EC=e);bt(Xe,"field",()=>PC,e=>PC=e);bt(Xe,"focus-ring",()=>FC,e=>FC=e);bt(Xe,"i18nFontFamily",()=>f0,e=>f0=e);bt(Xe,"increment",()=>AC,e=>AC=e);bt(Xe,"is-active",()=>DC,e=>DC=e);bt(Xe,"is-disabled",()=>RC,e=>RC=e);bt(Xe,"is-focused",()=>TC,e=>TC=e);bt(Xe,"is-hovered",()=>IC,e=>IC=e);bt(Xe,"is-invalid",()=>MC,e=>MC=e);bt(Xe,"is-open",()=>BC,e=>BC=e);bt(Xe,"spectrum-BaseButton",()=>So,e=>So=e);bt(Xe,"spectrum-FocusRing-ring",()=>h0,e=>h0=e);bt(Xe,"spectrum-FocusRing",()=>wo,e=>wo=e);bt(Xe,"spectrum-ActionButton",()=>_C,e=>_C=e);bt(Xe,"spectrum-ActionButton--quiet",()=>NC,e=>NC=e);bt(Xe,"spectrum-ActionButton-hold",()=>LC,e=>LC=e);bt(Xe,"spectrum-ActionButton-label",()=>VC,e=>VC=e);bt(Xe,"spectrum-Button",()=>QC,e=>QC=e);bt(Xe,"spectrum-Button--iconOnly",()=>zC,e=>zC=e);bt(Xe,"spectrum-Button--pending",()=>jC,e=>jC=e);bt(Xe,"spectrum-Button-circleLoader",()=>WC,e=>WC=e);bt(Xe,"spectrum-Button-label",()=>ZC,e=>ZC=e);bt(Xe,"spectrum-ClearButton",()=>UC,e=>UC=e);bt(Xe,"spectrum-ClearButton--small",()=>qC,e=>qC=e);bt(Xe,"spectrum-FieldButton",()=>HC,e=>HC=e);bt(Xe,"spectrum-FocusRing--quiet",()=>hh,e=>hh=e);bt(Xe,"spectrum-FieldButton--quiet",()=>KC,e=>KC=e);bt(Xe,"spectrum-Icon",()=>YC,e=>YC=e);bt(Xe,"spectrum-LogicButton",()=>GC,e=>GC=e);bt(Xe,"spectrum-Stepper",()=>XC,e=>XC=e);bt(Xe,"spectrum-Stepper--isMobile",()=>JC,e=>JC=e);bt(Xe,"spectrum-Stepper--isQuiet",()=>eE,e=>eE=e);bt(Xe,"spectrum-Stepper--readonly",()=>tE,e=>tE=e);bt(Xe,"spectrum-Stepper--showStepper",()=>rE,e=>rE=e);bt(Xe,"spectrum-Stepper-button",()=>nE,e=>nE=e);bt(Xe,"spectrum-Stepper-button--stepDown",()=>iE,e=>iE=e);bt(Xe,"spectrum-Stepper-button--stepUp",()=>aE,e=>aE=e);bt(Xe,"spectrum-Stepper-button-icon",()=>lE,e=>lE=e);bt(Xe,"spectrum-Stepper-container",()=>oE,e=>oE=e);bt(Xe,"spectrum-Stepper-container--isMobile",()=>sE,e=>sE=e);bt(Xe,"spectrum-Stepper-field",()=>uE,e=>uE=e);bt(Xe,"spectrum-Stepper-icon",()=>cE,e=>cE=e);bt(Xe,"spectrum-Stepper-input",()=>dE,e=>dE=e);var EC,PC,FC,f0,AC,DC,RC,TC,IC,MC,BC,So,h0,wo,_C,NC,LC,VC,QC,zC,jC,WC,ZC,UC,qC,HC,hh,KC,YC,GC,XC,JC,eE,tE,rE,nE,iE,aE,lE,oE,sE,uE,cE,dE;EC="Ug6T-W_decrement";PC="Ug6T-W_field";FC="Ug6T-W_focus-ring";f0="Ug6T-W_i18nFontFamily";AC="Ug6T-W_increment";DC="Ug6T-W_is-active";RC="Ug6T-W_is-disabled";TC="Ug6T-W_is-focused";IC="Ug6T-W_is-hovered";MC="Ug6T-W_is-invalid";BC="Ug6T-W_is-open";So=`Ug6T-W_spectrum-BaseButton ${f0}`;h0="Ug6T-W_spectrum-FocusRing-ring";wo=`Ug6T-W_spectrum-FocusRing ${h0}`;_C=`Ug6T-W_spectrum-ActionButton ${So} ${wo}`;NC="Ug6T-W_spectrum-ActionButton--quiet";LC="Ug6T-W_spectrum-ActionButton-hold";VC="Ug6T-W_spectrum-ActionButton-label";QC=`Ug6T-W_spectrum-Button ${So} ${wo}`;zC="Ug6T-W_spectrum-Button--iconOnly";jC="Ug6T-W_spectrum-Button--pending";WC="Ug6T-W_spectrum-Button-circleLoader";ZC="Ug6T-W_spectrum-Button-label";UC=`Ug6T-W_spectrum-ClearButton ${So} ${wo}`;qC="Ug6T-W_spectrum-ClearButton--small";HC=`Ug6T-W_spectrum-FieldButton ${So} ${wo}`;hh="Ug6T-W_spectrum-FocusRing--quiet";KC=`Ug6T-W_spectrum-FieldButton--quiet ${hh}`;YC="Ug6T-W_spectrum-Icon";GC=`Ug6T-W_spectrum-LogicButton ${So} ${wo}`;XC=`Ug6T-W_spectrum-Stepper ${wo}`;JC="Ug6T-W_spectrum-Stepper--isMobile";eE=`Ug6T-W_spectrum-Stepper--isQuiet ${hh}`;tE="Ug6T-W_spectrum-Stepper--readonly";rE="Ug6T-W_spectrum-Stepper--showStepper";nE=`Ug6T-W_spectrum-Stepper-button ${So}`;iE="Ug6T-W_spectrum-Stepper-button--stepDown";aE="Ug6T-W_spectrum-Stepper-button--stepUp";lE="Ug6T-W_spectrum-Stepper-button-icon";oE="Ug6T-W_spectrum-Stepper-container";sE="Ug6T-W_spectrum-Stepper-container--isMobile";uE="Ug6T-W_spectrum-Stepper-field";cE="Ug6T-W_spectrum-Stepper-icon";dE="Ug6T-W_spectrum-Stepper-input";function sbe(e,t){e=Fn(e);let{scale:r}=Gn(),{direction:n,isDisabled:i,isQuiet:a}=e,{buttonProps:l,isPressed:s}=Ao({...e,elementType:"div"},t),{hoverProps:u,isHovered:c}=Er(e);return w.createElement(_r,{focusRingClass:z(Ji(Xe),"focus-ring")},w.createElement("div",{className:z(Ji(Xe),"spectrum-Stepper-button",{"spectrum-Stepper-button--stepUp":n==="up","spectrum-Stepper-button--stepDown":n==="down","spectrum-Stepper-button--isQuiet":a,"is-hovered":c,"is-active":s,"is-disabled":i}),...Oe(u,l),ref:t},n==="up"&&r==="large"&&w.createElement(q1e,{UNSAFE_className:z(Ji(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepUpIcon"),size:"S"}),n==="up"&&r==="medium"&&w.createElement(nbe,{UNSAFE_className:z(Ji(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepUpIcon")}),n==="down"&&r==="large"&&w.createElement(obe,{UNSAFE_className:z(Ji(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepDownIcon"),size:"S"}),n==="down"&&r==="medium"&&w.createElement(X1e,{UNSAFE_className:z(Ji(Xe),"spectrum-Stepper-button-icon","spectrum-Stepper-stepDownIcon")})))}let K_=w.forwardRef(sbe);function ube(e,t){e=Fn(e),e=Io(e);let r=Gn(),{isQuiet:n,isReadOnly:i,isDisabled:a,hideStepper:l}=e,{styleProps:s}=Nt(e),{locale:u}=yr(),c=Q1e({...e,locale:u}),d=O.useRef(),f=Ta(t,d),{groupProps:h,labelProps:p,inputProps:m,incrementButtonProps:g,decrementButtonProps:b,descriptionProps:v,errorMessageProps:$,isInvalid:y,validationErrors:S,validationDetails:k}=j1e(e,c,d),C=r.scale==="large",F=!l,{isHovered:E,hoverProps:M}=Er({isDisabled:a}),D=e.validationState||(y?"invalid":null),R=z(Ji(Xe),"spectrum-Stepper",{"spectrum-Stepper--isQuiet":n,"is-disabled":a,"spectrum-Stepper--readonly":i,"is-invalid":D==="invalid"&&!a,"spectrum-Stepper--showStepper":F,"spectrum-Stepper--isMobile":C,"is-hovered":E,[s.className]:!e.label&&s.className});return w.createElement(Mu,{...e,descriptionProps:v,errorMessageProps:$,isInvalid:y,validationErrors:S,validationDetails:k,labelProps:p,ref:f,wrapperClassName:z(Ji(Xe),"spectrum-Stepper-container",{"spectrum-Stepper-container--isMobile":C})},w.createElement(cbe,{...e,groupProps:Oe(h,M),inputProps:m,inputRef:d,incrementProps:g,decrementProps:b,className:R,style:s,state:c,validationState:D}))}const cbe=w.forwardRef(function(t,r){let{groupProps:n,inputProps:i,inputRef:a,incrementProps:l,decrementProps:s,className:u,style:c,autoFocus:d,isQuiet:f,isDisabled:h,hideStepper:p,validationState:m,name:g,state:b}=t,v=!p;return w.createElement(_r,{within:!0,isTextInput:!0,focusClass:z(Ji(Xe),"is-focused"),focusRingClass:z(Ji(Xe),"focus-ring"),autoFocus:d},w.createElement("div",{...n,ref:r,style:c,className:u},w.createElement(rp,{UNSAFE_className:z(Ji(Xe),"spectrum-Stepper-field"),inputClassName:z(Ji(Xe),"spectrum-Stepper-input"),validationIconClassName:z(Ji(Xe),"spectrum-Stepper-icon"),isQuiet:f,inputRef:a,validationState:m,inputProps:i,isDisabled:h,disableFocusRing:!0}),v&&w.createElement(w.Fragment,null,w.createElement(K_,{direction:"up",isQuiet:f,...l}),w.createElement(K_,{direction:"down",isQuiet:f,...s})),g&&w.createElement("input",{type:"hidden",name:g,value:isNaN(b.numberValue)?"":b.numberValue})))});let dbe=w.forwardRef(ube);var Qte={};Qte={loading:"جارٍ التحميل...",placeholder:"حدد خيارًا..."};var zte={};zte={loading:"Зареждане...",placeholder:"Изберете опция"};var jte={};jte={loading:"Načítání...",placeholder:"Vyberte vhodnou možnost..."};var Wte={};Wte={loading:"Indlæser ...",placeholder:"Vælg en mulighed ..."};var Zte={};Zte={loading:"Laden...",placeholder:"Option auswählen..."};var Ute={};Ute={loading:"Φόρτωση...",placeholder:"Επιλέξτε…"};var qte={};qte={placeholder:"Select an option…",loading:"Loading…"};var Hte={};Hte={loading:"Cargando…",placeholder:"Selecciona una de estas opciones..."};var Kte={};Kte={loading:"Laadimine...",placeholder:"Valige valikuline..."};var Yte={};Yte={loading:"Ladataan…",placeholder:"Valitse vaihtoehto..."};var Gte={};Gte={loading:"Chargement...",placeholder:"Sélectionnez une option..."};var Xte={};Xte={loading:"טוען...",placeholder:"בחר אפשרות..."};var Jte={};Jte={loading:"Učitavam...",placeholder:"Odaberite opciju"};var ere={};ere={loading:"Betöltés folyamatban…",placeholder:"Válasszon egy opciót…"};var tre={};tre={loading:"Caricamento...",placeholder:"Seleccione una opción…"};var rre={};rre={loading:"読み込み中...",placeholder:"オプションを選択..."};var nre={};nre={loading:"로드 중",placeholder:"선택 사항 선택"};var ire={};ire={loading:"Įkeliama...",placeholder:"Pasirinkite parinktį..."};var are={};are={loading:"Notiek ielāde...",placeholder:"Atlasiet opciju..."};var lre={};lre={loading:"Laster inn ...",placeholder:"Velg et alternativ..."};var ore={};ore={loading:"Laden...",placeholder:"Optie selecteren..."};var sre={};sre={loading:"Ładowanie...",placeholder:"Wybierz opcję..."};var ure={};ure={loading:"Carregando...",placeholder:"Selecione uma opção..."};var cre={};cre={loading:"A carregar...",placeholder:"Selecionar uma opção..."};var dre={};dre={loading:"Se încarcă...",placeholder:"Selectați o opțiune"};var fre={};fre={loading:"Загрузка...",placeholder:"Выбрать параметр..."};var hre={};hre={loading:"Načítava sa...",placeholder:"Vyberte možnosť..."};var pre={};pre={loading:"Nalaganje...",placeholder:"Izberite možnost"};var mre={};mre={loading:"Učitavam...",placeholder:"Izaberite opciju"};var gre={};gre={loading:"Läser in...",placeholder:"Välj ett alternativ..."};var vre={};vre={loading:"Yükleniyor...",placeholder:"Bir seçim yapın…"};var bre={};bre={loading:"Завантаження…",placeholder:"Виберіть опцію..."};var yre={};yre={loading:"正在加载...",placeholder:"选择一个选项..."};var $re={};$re={loading:"正在載入",placeholder:"選取一個選項"};const Ore=new WeakMap;function fbe(e,t,r){let{keyboardDelegate:n,isDisabled:i,isRequired:a,name:l,validationBehavior:s="aria"}=e,u=gd({usage:"search",sensitivity:"base"}),c=O.useMemo(()=>n||new UT(t.collection,t.disabledKeys,null,u),[n,t.collection,t.disabledKeys,u]),{menuTriggerProps:d,menuProps:f}=qT({isDisabled:i,type:"listbox"},t,r),h=E=>{switch(E.key){case"ArrowLeft":{E.preventDefault();let M=t.selectedKey!=null?c.getKeyAbove(t.selectedKey):c.getFirstKey();M&&t.setSelectedKey(M);break}case"ArrowRight":{E.preventDefault();let M=t.selectedKey!=null?c.getKeyBelow(t.selectedKey):c.getFirstKey();M&&t.setSelectedKey(M);break}}},{typeSelectProps:p}=AH({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(E){t.setSelectedKey(E)}}),{isInvalid:m,validationErrors:g,validationDetails:b}=t.displayValidation,{labelProps:v,fieldProps:$,descriptionProps:y,errorMessageProps:S}=Kh({...e,labelElementType:"span",isInvalid:m,errorMessage:e.errorMessage||g});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture;let k=Yt(e,{labelable:!0}),C=Oe(p,d,$),F=ar();return Ore.set(t,{isDisabled:i,isRequired:a,name:l,validationBehavior:s}),{labelProps:{...v,onClick:()=>{e.isDisabled||(r.current.focus(),L1("keyboard"))}},triggerProps:Oe(k,{...C,isDisabled:i,onKeyDown:yo(C.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,C["aria-labelledby"],C["aria-label"]&&!C["aria-labelledby"]?C.id:null].filter(Boolean).join(" "),onFocus(E){t.isFocused||(e.onFocus&&e.onFocus(E),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(E){t.isOpen||(e.onBlur&&e.onBlur(E),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:E=>{E.currentTarget.contains(E.relatedTarget)||(e.onBlur&&e.onBlur(E),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[$["aria-labelledby"],C["aria-label"]&&!$["aria-labelledby"]?C.id:null].filter(Boolean).join(" ")},descriptionProps:y,errorMessageProps:S,isInvalid:m,validationErrors:g,validationDetails:b}}function hbe(e,t,r){let n=Ore.get(t)||{},{autoComplete:i,name:a=n.name,isDisabled:l=n.isDisabled}=e,{validationBehavior:s,isRequired:u}=n,c=BT(),{visuallyHiddenProps:d}=Tu();Du(e.selectRef,t.selectedKey,t.setSelectedKey),tp({validationBehavior:s,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:l},selectProps:{tabIndex:-1,autoComplete:i,disabled:l,required:s==="native"&&u,name:a,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:h=>t.setSelectedKey(h.target.value)}}}function pbe(e){let{state:t,triggerRef:r,label:n,name:i,isDisabled:a}=e,l=O.useRef(null),{containerProps:s,inputProps:u,selectProps:c}=hbe({...e,selectRef:l},t,r);var d;return t.collection.size<=300?w.createElement("div",{...s,"data-testid":"hidden-select-container"},w.createElement("input",u),w.createElement("label",null,n,w.createElement("select",{...c,ref:l},w.createElement("option",null),[...t.collection.getKeys()].map(f=>{let h=t.collection.getItem(f);if(h.type==="item")return w.createElement("option",{key:h.key,value:h.key},h.textValue)})))):i?w.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:i,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}function mbe(e){let t=Xh(e),[r,n]=O.useState(null),i=WH({...e,onSelectionChange:u=>{e.onSelectionChange!=null&&e.onSelectionChange(u),t.close(),a.commitValidation()}}),a=_s({...e,value:i.selectedKey}),[l,s]=O.useState(!1);return{...a,...i,...t,focusStrategy:r,open(u=null){i.collection.size!==0&&(n(u),t.open())},toggle(u=null){i.collection.size!==0&&(n(u),t.toggle())},isFocused:l,setFocused:s}}function za(e){return e&&e.__esModule?e.default:e}function Zr(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var xre={};xre={"ar-AE":Qte,"bg-BG":zte,"cs-CZ":jte,"da-DK":Wte,"de-DE":Zte,"el-GR":Ute,"en-US":qte,"es-ES":Hte,"et-EE":Kte,"fi-FI":Yte,"fr-FR":Gte,"he-IL":Xte,"hr-HR":Jte,"hu-HU":ere,"it-IT":tre,"ja-JP":rre,"ko-KR":nre,"lt-LT":ire,"lv-LV":are,"nb-NO":lre,"nl-NL":ore,"pl-PL":sre,"pt-BR":ure,"pt-PT":cre,"ro-RO":dre,"ru-RU":fre,"sk-SK":hre,"sl-SI":pre,"sr-SP":mre,"sv-SE":gre,"tr-TR":vre,"uk-UA":bre,"zh-CN":yre,"zh-TW":$re};var zt={};Zr(zt,"focus-ring",()=>fE,e=>fE=e);Zr(zt,"i18nFontFamily",()=>hE,e=>hE=e);Zr(zt,"is-disabled",()=>pE,e=>pE=e);Zr(zt,"is-hovered",()=>mE,e=>mE=e);Zr(zt,"is-invalid",()=>gE,e=>gE=e);Zr(zt,"is-placeholder",()=>vE,e=>vE=e);Zr(zt,"is-selected",()=>bE,e=>bE=e);Zr(zt,"spectrum-Dropdown",()=>yE,e=>yE=e);Zr(zt,"spectrum-Dropdown--quiet",()=>$E,e=>$E=e);Zr(zt,"spectrum-Dropdown-avatar",()=>OE,e=>OE=e);Zr(zt,"spectrum-Dropdown-chevron",()=>xE,e=>xE=e);Zr(zt,"spectrum-Dropdown-fieldWrapper--positionSide",()=>SE,e=>SE=e);Zr(zt,"spectrum-Dropdown-fieldWrapper--quiet",()=>wE,e=>wE=e);Zr(zt,"spectrum-Dropdown-invalidIcon",()=>kE,e=>kE=e);Zr(zt,"spectrum-Dropdown-label",()=>CE,e=>CE=e);Zr(zt,"spectrum-Dropdown-popover--quiet",()=>EE,e=>EE=e);Zr(zt,"spectrum-Dropdown-progressCircle",()=>PE,e=>PE=e);Zr(zt,"spectrum-Dropdown-trigger",()=>FE,e=>FE=e);Zr(zt,"spectrum-Field",()=>AE,e=>AE=e);Zr(zt,"spectrum-FocusRing-ring",()=>p0,e=>p0=e);Zr(zt,"spectrum-FocusRing",()=>DE,e=>DE=e);Zr(zt,"spectrum-FocusRing--quiet",()=>RE,e=>RE=e);Zr(zt,"spectrum-Icon",()=>TE,e=>TE=e);var fE,hE,pE,mE,gE,vE,bE,yE,$E,OE,xE,SE,wE,kE,CE,EE,PE,FE,AE,p0,DE,RE,TE;fE="PBsjDW_focus-ring";hE="PBsjDW_i18nFontFamily";pE="PBsjDW_is-disabled";mE="PBsjDW_is-hovered";gE="PBsjDW_is-invalid";vE="PBsjDW_is-placeholder";bE="PBsjDW_is-selected";yE="PBsjDW_spectrum-Dropdown";$E="PBsjDW_spectrum-Dropdown--quiet";OE="PBsjDW_spectrum-Dropdown-avatar";xE="PBsjDW_spectrum-Dropdown-chevron";SE="PBsjDW_spectrum-Dropdown-fieldWrapper--positionSide";wE="PBsjDW_spectrum-Dropdown-fieldWrapper--quiet";kE="PBsjDW_spectrum-Dropdown-invalidIcon";CE="PBsjDW_spectrum-Dropdown-label";EE="PBsjDW_spectrum-Dropdown-popover--quiet";PE="PBsjDW_spectrum-Dropdown-progressCircle";FE="PBsjDW_spectrum-Dropdown-trigger";AE="PBsjDW_spectrum-Field";p0="PBsjDW_spectrum-FocusRing-ring";DE=`PBsjDW_spectrum-FocusRing ${p0}`;RE="PBsjDW_spectrum-FocusRing--quiet";TE="PBsjDW_spectrum-Icon";function gbe(e,t){e=Ia(e,"picker"),e=Fn(e),e=Io(e);let r=or(za(xre),"@react-spectrum/picker"),{autoComplete:n,isDisabled:i,direction:a="bottom",align:l="start",shouldFlip:s=!0,placeholder:u=r.format("placeholder"),isQuiet:c,label:d,labelPosition:f="top",menuWidth:h,name:p,autoFocus:m}=e,g=mbe(e),b=Xr(t),v=O.useRef(),$=O.useRef(),y=Wg($),S=O.useRef(),k=e.isLoading&&g.collection.size===0,C=e.isLoading&&g.collection.size>0,F=ar(),E=iI(g,C),{labelProps:M,triggerProps:D,valueProps:R,menuProps:B,descriptionProps:T,errorMessageProps:_,isInvalid:Q,validationErrors:W,validationDetails:Z}=fbe({...e,"aria-describedby":k?F:void 0,keyboardDelegate:E},g,y),q=Zh(),{hoverProps:U,isHovered:A}=Er({isDisabled:i}),j=w.createElement(aI,{...B,ref:S,disallowEmptySelection:!0,autoFocus:g.focusStrategy||!0,shouldSelectOnPressUp:!0,focusOnPointerEnter:!0,layout:E,state:g,width:q?"100%":void 0,UNSAFE_style:{maxHeight:"inherit"},isLoading:e.isLoading,onLoadMore:e.onLoadMore}),[V,I]=O.useState(null),{scale:Y}=Gn(),ee=O.useCallback(()=>{if(!q&&y.current){let Ve=y.current.offsetWidth;I(Ve)}},[y,I,q]);jh({ref:y,onResize:ee}),wt(ee,[Y,g.selectedKey,ee]);let se;if(q)se=w.createElement(Z1,{state:g},j);else{let Re={width:h?_t(h):c?null:V,minWidth:c?`calc(${V}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))`:V};se=w.createElement(W1,{UNSAFE_style:Re,UNSAFE_className:z(za(zt),"spectrum-Dropdown-popover",{"spectrum-Dropdown-popover--quiet":c}),ref:v,placement:`${a} ${l}`,shouldFlip:s,hideArrow:!0,state:g,triggerRef:y,scrollRef:S},j)}let le=g.selectedItem?g.selectedItem.rendered:u;typeof le=="string"&&(le=w.createElement(Yh,null,le));let be=w.createElement("div",{className:z(za(zt),"spectrum-Dropdown",{"is-invalid":Q&&!i,"is-disabled":i,"spectrum-Dropdown--quiet":c})},w.createElement(pbe,{autoComplete:n,isDisabled:i,state:g,triggerRef:y,label:d,name:p}),w.createElement(_1,Oe(U,D),w.createElement(fq,{ref:$,isActive:g.isOpen,isQuiet:c,isDisabled:i,isInvalid:Q,autoFocus:m,UNSAFE_className:z(za(zt),"spectrum-Dropdown-trigger",{"is-hovered":A})},w.createElement(Ma,{slots:{icon:{UNSAFE_className:z(za(zt),"spectrum-Icon"),size:"S"},avatar:{UNSAFE_className:z(za(zt),"spectrum-Dropdown-avatar"),size:"avatar-size-100"},text:{...R,UNSAFE_className:z(za(zt),"spectrum-Dropdown-label",{"is-placeholder":!g.selectedItem})},description:{isHidden:!0}}},le),k&&w.createElement(vd,{id:F,isIndeterminate:!0,size:"S","aria-label":r.format("loading"),UNSAFE_className:z(za(zt),"spectrum-Dropdown-progressCircle")}),Q&&!k&&!i&&w.createElement(K1,{UNSAFE_className:z(za(zt),"spectrum-Dropdown-invalidIcon")}),w.createElement(z1,{UNSAFE_className:z(za(zt),"spectrum-Dropdown-chevron")}))),g.collection.size===0?null:se),Je=d?z(za(zt),"spectrum-Field",{"spectrum-Dropdown-fieldWrapper--quiet":c,"spectrum-Dropdown-fieldWrapper--positionSide":f==="side"}):"";return w.createElement(Mu,{...e,ref:b,wrapperClassName:Je,labelProps:M,descriptionProps:T,errorMessageProps:_,isInvalid:Q,validationErrors:W,validationDetails:Z,showErrorIcon:!1,includeNecessityIndicatorInAccessibilityName:!0,elementType:"span"},be)}const vbe=w.forwardRef(gbe);const Sre=new WeakMap;function bbe(e,t,r){let{value:n,children:i,"aria-label":a,"aria-labelledby":l}=e;const s=e.isDisabled||t.isDisabled;let u=i!=null,c=a!=null||l!=null;!u&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=t.selectedValue===n,f=E=>{E.stopPropagation(),t.setSelectedValue(n)},{pressProps:h,isPressed:p}=zi({isDisabled:s}),{pressProps:m,isPressed:g}=zi({isDisabled:s,onPress(){t.setSelectedValue(n)}}),{focusableProps:b}=Bs(Oe(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),v=Oe(h,b),$=Yt(e,{labelable:!0}),y=-1;t.selectedValue!=null?t.selectedValue===n&&(y=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(y=0),s&&(y=void 0);let{name:S,descriptionId:k,errorMessageId:C,validationBehavior:F}=Sre.get(t);return Du(r,t.selectedValue,t.setSelectedValue),tp({validationBehavior:F},t,r),{labelProps:Oe(m,{onClick:E=>E.preventDefault()}),inputProps:Oe($,{...v,type:"radio",name:S,tabIndex:y,disabled:s,required:t.isRequired&&F==="native",checked:d,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?C:null,k].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:d,isPressed:p||g}}function ybe(e,t){let{name:r,isReadOnly:n,isRequired:i,isDisabled:a,orientation:l="vertical",validationBehavior:s="aria"}=e,{direction:u}=yr(),{isInvalid:c,validationErrors:d,validationDetails:f}=t.displayValidation,{labelProps:h,fieldProps:p,descriptionProps:m,errorMessageProps:g}=Kh({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||d}),b=Yt(e,{labelable:!0}),{focusWithinProps:v}=Ru({onBlurWithin(S){var k;(k=e.onBlur)===null||k===void 0||k.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),$=S=>{let k;switch(S.key){case"ArrowRight":u==="rtl"&&l!=="vertical"?k="prev":k="next";break;case"ArrowLeft":u==="rtl"&&l!=="vertical"?k="next":k="prev";break;case"ArrowDown":k="next";break;case"ArrowUp":k="prev";break;default:return}S.preventDefault();let C=ra(S.currentTarget,{from:S.target}),F;k==="next"?(F=C.nextNode(),F||(C.currentNode=S.currentTarget,F=C.firstChild())):(F=C.previousNode(),F||(C.currentNode=S.currentTarget,F=C.lastChild())),F&&(F.focus(),t.setSelectedValue(F.value))},y=ar(r);return Sre.set(t,{name:y,descriptionId:m.id,errorMessageId:g.id,validationBehavior:s}),{radioGroupProps:Oe(b,{role:"radiogroup",onKeyDown:$,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":l,...p,...v}),labelProps:h,descriptionProps:m,errorMessageProps:g,isInvalid:c,validationErrors:d,validationDetails:f}}let $be=Math.round(Math.random()*1e10),Obe=0;function xbe(e){let t=O.useMemo(()=>e.name||`radio-group-${$be}-${++Obe}`,[e.name]);var r;let[n,i]=da(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,l]=O.useState(null),s=_s({...e,value:n}),u=d=>{!e.isReadOnly&&!e.isDisabled&&(i(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:n,setSelectedValue:u,lastFocusedValue:a,setLastFocusedValue:l,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}function Xs(e){return e&&e.__esModule?e.default:e}function sn(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Mn={};sn(Mn,"focus-ring",()=>IE,e=>IE=e);sn(Mn,"i18nFontFamily",()=>ME,e=>ME=e);sn(Mn,"is-hovered",()=>BE,e=>BE=e);sn(Mn,"is-invalid",()=>_E,e=>_E=e);sn(Mn,"spectrum-FocusRing-ring",()=>m0,e=>m0=e);sn(Mn,"spectrum-FocusRing",()=>NE,e=>NE=e);sn(Mn,"spectrum-FocusRing--quiet",()=>LE,e=>LE=e);sn(Mn,"spectrum-Radio",()=>VE,e=>VE=e);sn(Mn,"spectrum-Radio--labelBelow",()=>QE,e=>QE=e);sn(Mn,"spectrum-Radio--quiet",()=>zE,e=>zE=e);sn(Mn,"spectrum-Radio-button",()=>jE,e=>jE=e);sn(Mn,"spectrum-Radio-input",()=>WE,e=>WE=e);sn(Mn,"spectrum-Radio-label",()=>ZE,e=>ZE=e);var IE,ME,BE,_E,m0,NE,LE,VE,QE,zE,jE,WE,ZE;IE="V2HKpq_focus-ring";ME="V2HKpq_i18nFontFamily";BE="V2HKpq_is-hovered";_E="V2HKpq_is-invalid";m0="V2HKpq_spectrum-FocusRing-ring";NE=`V2HKpq_spectrum-FocusRing ${m0}`;LE="V2HKpq_spectrum-FocusRing--quiet";VE="V2HKpq_spectrum-Radio";QE="V2HKpq_spectrum-Radio--labelBelow";zE="V2HKpq_spectrum-Radio--quiet";jE="V2HKpq_spectrum-Radio-button";WE="V2HKpq_spectrum-Radio-input";ZE="V2HKpq_spectrum-Radio-label";const wre=w.createContext(null);function Sbe(){return O.useContext(wre)||{}}function wbe(e,t){let{isDisabled:r,children:n,autoFocus:i,...a}=e,{styleProps:l}=Nt(a),{hoverProps:s,isHovered:u}=Er({isDisabled:r}),c=O.useRef(null),d=Ta(t,c),f=Sbe(),{isEmphasized:h,state:p}=f,{inputProps:m}=bbe({...e,...f,isDisabled:r},p,c);return w.createElement("label",{...l,...s,ref:d,className:z(Xs(Mn),"spectrum-Radio",{"spectrum-Radio--quiet":!h,"is-disabled":r,"is-invalid":p.isInvalid,"is-hovered":u},l.className)},w.createElement(_r,{focusRingClass:z(Xs(Mn),"focus-ring"),autoFocus:i},w.createElement("input",{...m,ref:c,className:z(Xs(Mn),"spectrum-Radio-input")})),w.createElement("span",{className:z(Xs(Mn),"spectrum-Radio-button")}),n&&w.createElement("span",{className:z(Xs(Mn),"spectrum-Radio-label")},n))}const Ou=O.forwardRef(wbe);var Nl={};sn(Nl,"focus-ring",()=>UE,e=>UE=e);sn(Nl,"i18nFontFamily",()=>qE,e=>qE=e);sn(Nl,"spectrum-FieldGroup",()=>HE,e=>HE=e);sn(Nl,"spectrum-FieldGroup-group",()=>KE,e=>KE=e);sn(Nl,"spectrum-FieldGroup-group--horizontal",()=>YE,e=>YE=e);sn(Nl,"spectrum-FocusRing-ring",()=>g0,e=>g0=e);sn(Nl,"spectrum-FocusRing",()=>GE,e=>GE=e);sn(Nl,"spectrum-FocusRing--quiet",()=>XE,e=>XE=e);var UE,qE,HE,KE,YE,g0,GE,XE;UE="hyn22G_focus-ring";qE="hyn22G_i18nFontFamily";HE="hyn22G_spectrum-FieldGroup";KE="hyn22G_spectrum-FieldGroup-group";YE="hyn22G_spectrum-FieldGroup-group--horizontal";g0="hyn22G_spectrum-FocusRing-ring";GE=`hyn22G_spectrum-FocusRing ${g0}`;XE="hyn22G_spectrum-FocusRing--quiet";function kbe(e,t){e=Fn(e),e=Io(e);let{isEmphasized:r,children:n,orientation:i="vertical"}=e,a=Xr(t),l=xbe(e),{radioGroupProps:s,...u}=ybe(e,l);return w.createElement(Mu,{...e,...u,ref:a,wrapperClassName:z(Xs(Nl),"spectrum-FieldGroup"),elementType:"span"},w.createElement("div",{...s,className:z(Xs(Nl),"spectrum-FieldGroup-group",{"spectrum-FieldGroup-group--horizontal":i==="horizontal"})},w.createElement(wre.Provider,{value:{isEmphasized:r,state:l}},n)))}const Cbe=w.forwardRef(kbe);const Ebe=0,Pbe=100,Fbe=1;function Abe(e){const{isDisabled:t=!1,minValue:r=Ebe,maxValue:n=Pbe,numberFormatter:i,step:a=Fbe,orientation:l="horizontal"}=e;let s=O.useMemo(()=>{let j=(n-r)/10;return j=Ri(j,0,j+a,a),Math.max(j,a)},[a,n,r]),u=O.useCallback(j=>j==null?void 0:j.map((V,I)=>{let Y=I===0?r:V[I-1],ee=I===j.length-1?n:V[I+1];return Ri(V,Y,ee,a)}),[r,n,a]),c=O.useMemo(()=>u(G_(e.value)),[e.value]),d=O.useMemo(()=>{var j;return u((j=G_(e.defaultValue))!==null&&j!==void 0?j:[r])},[e.defaultValue,r]),f=X_(e.value,e.defaultValue,e.onChange),h=X_(e.value,e.defaultValue,e.onChangeEnd);const[p,m]=da(c,d,f),[g,b]=O.useState(new Array(p.length).fill(!1)),v=O.useRef(new Array(p.length).fill(!0)),[$,y]=O.useState(void 0),S=O.useRef(p),k=O.useRef(g);let C=j=>{S.current=j,m(j)},F=j=>{k.current=j,b(j)};function E(j){return(j-r)/(n-r)}function M(j){return j===0?r:p[j-1]}function D(j){return j===p.length-1?n:p[j+1]}function R(j){return v.current[j]}function B(j,V){v.current[j]=V}function T(j,V){if(t||!R(j))return;const I=M(j),Y=D(j);V=Ri(V,I,Y,a);let ee=Y_(S.current,j,V);C(ee)}function _(j,V){if(t||!R(j))return;const I=k.current[j];k.current=Y_(k.current,j,V),F(k.current),h&&I&&!k.current.some(Boolean)&&h(S.current)}function Q(j){return i.format(j)}function W(j,V){T(j,q(V))}function Z(j){return Math.round((j-r)/a)*a+r}function q(j){const V=j*(n-r)+r;return Pa(Z(V),r,n)}function U(j,V=1){let I=Math.max(V,a);T(j,Ri(p[j]+I,r,n,a))}function A(j,V=1){let I=Math.max(V,a);T(j,Ri(p[j]-I,r,n,a))}return{values:p,getThumbValue:j=>p[j],setThumbValue:T,setThumbPercent:W,isThumbDragging:j=>g[j],setThumbDragging:_,focusedThumb:$,setFocusedThumb:y,getThumbPercent:j=>E(p[j]),getValuePercent:E,getThumbValueLabel:j=>Q(p[j]),getFormattedValue:Q,getThumbMinValue:M,getThumbMaxValue:D,getPercentValue:q,isThumbEditable:R,setThumbEditable:B,incrementThumb:U,decrementThumb:A,step:a,pageSize:s,orientation:l,isDisabled:t}}function Y_(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function G_(e){if(e!=null)return Array.isArray(e)?e:[e]}function X_(e,t,r){return n=>{typeof e=="number"||typeof t=="number"?r==null||r(n[0]):r==null||r(n)}}const sI=new WeakMap;function JE(e,t){let r=sI.get(e);if(!r)throw new Error("Unknown slider state");return`${r.id}-${t}`}function Dbe(e,t,r){let{labelProps:n,fieldProps:i}=Hh(e),a=e.orientation==="vertical";var l;sI.set(t,{id:(l=n.id)!==null&&l!==void 0?l:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=yr(),{addGlobalListener:u,removeGlobalListener:c}=md();const d=O.useRef(null),f=s==="rtl",h=O.useRef(null),{moveProps:p}=_T({onMoveStart(){h.current=null},onMove({deltaX:v,deltaY:$}){let{height:y,width:S}=r.current.getBoundingClientRect(),k=a?y:S;h.current==null&&(h.current=t.getThumbPercent(d.current)*k);let C=a?$:v;if((a||f)&&(C=-C),h.current+=C,d.current!=null&&r.current){const F=Pa(h.current/k,0,1);t.setThumbPercent(d.current,F)}},onMoveEnd(){d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null)}});let m=O.useRef(void 0),g=(v,$,y,S)=>{if(r.current&&!e.isDisabled&&t.values.every((k,C)=>!t.isThumbDragging(C))){let{height:k,width:C,top:F,left:E}=r.current.getBoundingClientRect(),M=a?k:C,T=((a?S:y)-(a?F:E))/M;(s==="rtl"||a)&&(T=1-T);let _=t.getPercentValue(T),Q,W=t.values.findIndex(Z=>_-Z<0);if(W===0)Q=W;else if(W===-1)Q=t.values.length-1;else{let Z=t.values[W-1],q=t.values[W];Math.abs(Z-_)=0&&t.isThumbEditable(Q)?(v.preventDefault(),d.current=Q,t.setFocusedThumb(Q),m.current=$,t.setThumbDragging(d.current,!0),t.setThumbValue(Q,_),u(window,"mouseup",b,!1),u(window,"touchend",b,!1),u(window,"pointerup",b,!1)):d.current=null}},b=v=>{var $,y;((y=v.pointerId)!==null&&y!==void 0?y:($=v.changedTouches)===null||$===void 0?void 0:$[0].identifier)===m.current&&(d.current!=null&&(t.setThumbDragging(d.current,!1),d.current=null),c(window,"mouseup",b,!1),c(window,"touchend",b,!1),c(window,"pointerup",b,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var v;(v=document.getElementById(JE(t,0)))===null||v===void 0||v.focus(),L1("keyboard")}),{labelProps:n,groupProps:{role:"group",...i},trackProps:Oe({onMouseDown(v){v.button!==0||v.altKey||v.ctrlKey||v.metaKey||g(v,void 0,v.clientX,v.clientY)},onPointerDown(v){v.pointerType==="mouse"&&(v.button!==0||v.altKey||v.ctrlKey||v.metaKey)||g(v,v.pointerId,v.clientX,v.clientY)},onTouchStart(v){g(v,v.changedTouches[0].identifier,v.changedTouches[0].clientX,v.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:t.values.map((v,$)=>JE(t,$)).join(" "),"aria-live":"off"}}}function Rbe(e,t){let{index:r=0,isRequired:n,validationState:i,isInvalid:a,trackRef:l,inputRef:s,orientation:u=t.orientation,name:c}=e,d=e.isDisabled||t.isDisabled,f=u==="vertical",{direction:h}=yr(),{addGlobalListener:p,removeGlobalListener:m}=md(),g=sI.get(t);var b;const{labelProps:v,fieldProps:$}=Hh({...e,id:JE(t,r),"aria-labelledby":`${g.id} ${(b=e["aria-labelledby"])!==null&&b!==void 0?b:""}`.trim()}),y=t.values[r],S=O.useCallback(()=>{s.current&&El(s.current)},[s]),k=t.focusedThumb===r;O.useEffect(()=>{k&&S()},[k,S]);let C=h==="rtl",F=O.useRef(null),{keyboardProps:E}=V1({onKeyDown(W){let{getThumbMaxValue:Z,getThumbMinValue:q,decrementThumb:U,incrementThumb:A,setThumbValue:j,setThumbDragging:V,pageSize:I}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(W.key)){W.continuePropagation();return}switch(W.preventDefault(),V(r,!0),W.key){case"PageUp":A(r,I);break;case"PageDown":U(r,I);break;case"Home":j(r,q(r));break;case"End":j(r,Z(r));break}V(r,!1)}}),{moveProps:M}=_T({onMoveStart(){F.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:W,deltaY:Z,pointerType:q,shiftKey:U}){const{getThumbPercent:A,setThumbPercent:j,decrementThumb:V,incrementThumb:I,step:Y,pageSize:ee}=t;let{width:se,height:le}=l.current.getBoundingClientRect(),be=f?le:se;if(F.current==null&&(F.current=A(r)*be),q==="keyboard")W>0&&C||W<0&&!C||Z>0?V(r,U?ee:Y):I(r,U?ee:Y);else{let Je=f?Z:W;(f||C)&&(Je=-Je),F.current+=Je,j(r,Pa(F.current/be,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!d);const{focusableProps:D}=Bs(Oe(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),s);let R=O.useRef(void 0),B=W=>{S(),R.current=W,t.setThumbDragging(r,!0),p(window,"mouseup",T,!1),p(window,"touchend",T,!1),p(window,"pointerup",T,!1)},T=W=>{var Z,q;((q=W.pointerId)!==null&&q!==void 0?q:(Z=W.changedTouches)===null||Z===void 0?void 0:Z[0].identifier)===R.current&&(S(),t.setThumbDragging(r,!1),m(window,"mouseup",T,!1),m(window,"touchend",T,!1),m(window,"pointerup",T,!1))},_=t.getThumbPercent(r);(f||h==="rtl")&&(_=1-_);let Q=d?{}:Oe(E,M,{onMouseDown:W=>{W.button!==0||W.altKey||W.ctrlKey||W.metaKey||B()},onPointerDown:W=>{W.button!==0||W.altKey||W.ctrlKey||W.metaKey||B(W.pointerId)},onTouchStart:W=>{B(W.changedTouches[0].identifier)}});return Du(s,y,W=>{t.setThumbValue(r,W)}),{inputProps:Oe(D,$,{type:"range",tabIndex:d?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:y,name:c,disabled:d,"aria-orientation":u,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[g["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[g["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:W=>{t.setThumbValue(r,parseFloat(W.target.value))}}),thumbProps:{...Q,style:{position:"absolute",[f?"top":"left"]:`${_*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:v,isDragging:t.isThumbDragging(r),isDisabled:d,isFocused:k}}function Xi(e){return e&&e.__esModule?e.default:e}function ht(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Ue={};ht(Ue,"contextualHelp",()=>eP,e=>eP=e);ht(Ue,"focus-ring",()=>tP,e=>tP=e);ht(Ue,"i18nFontFamily",()=>rP,e=>rP=e);ht(Ue,"is-disabled",()=>nP,e=>nP=e);ht(Ue,"is-dragged",()=>iP,e=>iP=e);ht(Ue,"is-focused",()=>aP,e=>aP=e);ht(Ue,"is-hovered",()=>lP,e=>lP=e);ht(Ue,"is-tophandle",()=>oP,e=>oP=e);ht(Ue,"label",()=>sP,e=>sP=e);ht(Ue,"spectrum-Slider",()=>v0,e=>v0=e);ht(Ue,"spectrum-Dial",()=>uP,e=>uP=e);ht(Ue,"spectrum-Dial--small",()=>cP,e=>cP=e);ht(Ue,"spectrum-Slider-controls",()=>b0,e=>b0=e);ht(Ue,"spectrum-Dial-controls",()=>dP,e=>dP=e);ht(Ue,"spectrum-Slider-handle",()=>y0,e=>y0=e);ht(Ue,"spectrum-Dial-handle",()=>fP,e=>fP=e);ht(Ue,"spectrum-Slider-input",()=>$0,e=>$0=e);ht(Ue,"spectrum-Dial-input",()=>hP,e=>hP=e);ht(Ue,"spectrum-Dial-label",()=>pP,e=>pP=e);ht(Ue,"spectrum-Slider-labelContainer",()=>O0,e=>O0=e);ht(Ue,"spectrum-Dial-labelContainer",()=>mP,e=>mP=e);ht(Ue,"spectrum-Dial-value",()=>gP,e=>gP=e);ht(Ue,"spectrum-FocusRing-ring",()=>x0,e=>x0=e);ht(Ue,"spectrum-FocusRing",()=>vP,e=>vP=e);ht(Ue,"spectrum-FocusRing--quiet",()=>bP,e=>bP=e);ht(Ue,"spectrum-Slider--color",()=>yP,e=>yP=e);ht(Ue,"spectrum-Slider--filled",()=>$P,e=>$P=e);ht(Ue,"spectrum-Slider--label-side",()=>OP,e=>OP=e);ht(Ue,"spectrum-Slider--positionSide",()=>xP,e=>xP=e);ht(Ue,"spectrum-Slider--positionTop",()=>SP,e=>SP=e);ht(Ue,"spectrum-Slider--ramp",()=>wP,e=>wP=e);ht(Ue,"spectrum-Slider--range",()=>kP,e=>kP=e);ht(Ue,"spectrum-Slider-buffer",()=>CP,e=>CP=e);ht(Ue,"spectrum-Slider-contextualHelp",()=>EP,e=>EP=e);ht(Ue,"spectrum-Slider-fill",()=>PP,e=>PP=e);ht(Ue,"spectrum-Slider-fill--right",()=>FP,e=>FP=e);ht(Ue,"spectrum-Slider-label",()=>AP,e=>AP=e);ht(Ue,"spectrum-Slider-ramp",()=>DP,e=>DP=e);ht(Ue,"spectrum-Slider-tick",()=>RP,e=>RP=e);ht(Ue,"spectrum-Slider-tickLabel",()=>TP,e=>TP=e);ht(Ue,"spectrum-Slider-ticks",()=>IP,e=>IP=e);ht(Ue,"spectrum-Slider-track",()=>MP,e=>MP=e);ht(Ue,"spectrum-Slider-value",()=>BP,e=>BP=e);ht(Ue,"spectrum-Slider-valueLabelContainer",()=>_P,e=>_P=e);ht(Ue,"u-isGrabbing",()=>NP,e=>NP=e);ht(Ue,"value",()=>LP,e=>LP=e);var eP,tP,rP,nP,iP,aP,lP,oP,sP,v0,uP,cP,b0,dP,y0,fP,$0,hP,pP,O0,mP,gP,x0,vP,bP,yP,$P,OP,xP,SP,wP,kP,CP,EP,PP,FP,AP,DP,RP,TP,IP,MP,BP,_P,NP,LP;eP="BTW8mG_contextualHelp";tP="BTW8mG_focus-ring";rP="BTW8mG_i18nFontFamily";nP="BTW8mG_is-disabled";iP="BTW8mG_is-dragged";aP="BTW8mG_is-focused";lP="BTW8mG_is-hovered";oP="BTW8mG_is-tophandle";sP="BTW8mG_label";v0="BTW8mG_spectrum-Slider";uP=`BTW8mG_spectrum-Dial ${v0}`;cP="BTW8mG_spectrum-Dial--small";b0="BTW8mG_spectrum-Slider-controls";dP=`BTW8mG_spectrum-Dial-controls ${b0}`;y0="BTW8mG_spectrum-Slider-handle";fP=`BTW8mG_spectrum-Dial-handle ${y0}`;$0="BTW8mG_spectrum-Slider-input";hP=`BTW8mG_spectrum-Dial-input ${$0}`;pP="BTW8mG_spectrum-Dial-label";O0="BTW8mG_spectrum-Slider-labelContainer";mP=`BTW8mG_spectrum-Dial-labelContainer ${O0}`;gP="BTW8mG_spectrum-Dial-value";x0="BTW8mG_spectrum-FocusRing-ring";vP=`BTW8mG_spectrum-FocusRing ${x0}`;bP="BTW8mG_spectrum-FocusRing--quiet";yP="BTW8mG_spectrum-Slider--color";$P="BTW8mG_spectrum-Slider--filled";OP="BTW8mG_spectrum-Slider--label-side";xP="BTW8mG_spectrum-Slider--positionSide";SP="BTW8mG_spectrum-Slider--positionTop";wP="BTW8mG_spectrum-Slider--ramp";kP="BTW8mG_spectrum-Slider--range";CP="BTW8mG_spectrum-Slider-buffer";EP="BTW8mG_spectrum-Slider-contextualHelp";PP="BTW8mG_spectrum-Slider-fill";FP="BTW8mG_spectrum-Slider-fill--right";AP="BTW8mG_spectrum-Slider-label";DP="BTW8mG_spectrum-Slider-ramp";RP="BTW8mG_spectrum-Slider-tick";TP="BTW8mG_spectrum-Slider-tickLabel";IP="BTW8mG_spectrum-Slider-ticks";MP="BTW8mG_spectrum-Slider-track";BP="BTW8mG_spectrum-Slider-value";_P="BTW8mG_spectrum-Slider-valueLabelContainer";NP="BTW8mG_u-isGrabbing";LP="BTW8mG_value";function Tbe(e,t){e=Fn(e);let{isDisabled:r,children:n,classes:i,style:a,labelPosition:l="top",getValueLabel:s,showValueLabel:u=!!e.label,formatOptions:c,minValue:d=0,maxValue:f=100,...h}=e,{styleProps:p}=Nt(h);Math.abs(Math.sign(d)-Math.sign(f))===2&&(c!=null?"signDisplay"in c||(c={...c,signDisplay:"exceptZero"}):c={signDisplay:"exceptZero"});const g=jg(c),b=Abe({...e,numberFormatter:g,minValue:d,maxValue:f});let v=O.useRef(),{groupProps:$,trackProps:y,labelProps:S,outputProps:k}=Dbe(e,b,v),C=O.useRef(),F=Ta(t,C),E="",M;if(typeof s=="function")switch(E=s(b.values),b.values.length){case 1:M=Math.max(s([d]).length,s([f]).length);break;case 2:M=Math.max(s([d,d]).length,s([d,f]).length,s([f,d]).length,s([f,f]).length);break;default:throw new Error("Only sliders with 1 or 2 handles are supported!")}else switch(M=Math.max([...g.format(d)].length,[...g.format(f)].length),b.values.length){case 1:E=b.getThumbValueLabel(0);break;case 2:E=`${b.getThumbValueLabel(0)} – ${b.getThumbValueLabel(1)}`,M=3+2*Math.max(M,[...g.format(d)].length,[...g.format(f)].length);break;default:throw new Error("Only sliders with 1 or 2 handles are supported!")}let D=w.createElement("label",{className:z(Xi(Ue),"spectrum-Slider-label"),...S},e.label),R=w.createElement("output",{...k,className:z(Xi(Ue),"spectrum-Slider-value"),style:M&&{width:`${M}ch`,minWidth:`${M}ch`}},E);return w.createElement("div",{ref:F,className:z(Xi(Ue),"spectrum-Slider",{"spectrum-Slider--positionTop":l==="top","spectrum-Slider--positionSide":l==="side","is-disabled":r},i,p.className),style:{...a,...p.style},...$},e.label&&w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-labelContainer"),role:"presentation"},e.label&&D,e.contextualHelp&&w.createElement(Ma,{slots:{actionButton:{UNSAFE_className:z(Xi(Ue),"spectrum-Slider-contextualHelp")}}},e.contextualHelp),l==="top"&&u&&R),w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-controls"),ref:v,...y,role:"presentation"},n({trackRef:v,inputRef:C,state:b})),l==="side"&&w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-valueLabelContainer"),role:"presentation"},u&&R))}const Ibe=w.forwardRef(Tbe);function Mbe(e){let{inputRef:t,state:r}=e,n=O.useRef();t=t||n;let{thumbProps:i,inputProps:a,isDragging:l,isFocused:s}=Rbe({...e,inputRef:t},r),{hoverProps:u,isHovered:c}=Er({});return w.createElement(_r,{within:!0,focusRingClass:z(Xi(Ue),"is-focused")},w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-handle",{"is-hovered":c,"is-dragged":l,"is-tophandle":s}),...Oe(i,u),role:"presentation"},w.createElement(bd,null,w.createElement("input",{className:z(Xi(Ue),"spectrum-Slider-input"),ref:t,...a}))))}function Bbe(e,t){let{onChange:r,onChangeEnd:n,value:i,defaultValue:a,isFilled:l,fillOffset:s,trackGradient:u,getValueLabel:c,...d}=e,f={...d,value:i!=null?[i]:void 0,defaultValue:a!=null?[a]:void 0,onChange:p=>{r==null||r(p[0])},onChangeEnd:p=>{n==null||n(p[0])},getValueLabel:c?([p])=>c(p):void 0},{direction:h}=yr();return w.createElement(Ibe,{...f,ref:t,classes:{"spectrum-Slider--filled":l&&s==null},style:{"--spectrum-slider-track-gradient":u&&`linear-gradient(to ${h==="ltr"?"right":"left"}, ${u.join(", ")})`}},({trackRef:p,inputRef:m,state:g})=>{s=s!=null?Pa(s,g.getThumbMinValue(0),g.getThumbMaxValue(0)):s;let b=h==="rtl"?"right":"left",v=w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-track"),style:{width:`${g.getThumbPercent(0)*100}%`,"--spectrum-track-background-size":`${1/g.getThumbPercent(0)*100}%`,"--spectrum-track-background-position":h==="ltr"?"0":"100%"}}),$=w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-track"),style:{width:`${(1-g.getThumbPercent(0))*100}%`,"--spectrum-track-background-size":`${1/(1-g.getThumbPercent(0))*100}%`,"--spectrum-track-background-position":h==="ltr"?"100%":"0"}}),y=null;if(l&&s!=null){let S=g.getThumbPercent(0)-g.getValuePercent(s),k=S>0,C=k?g.getValuePercent(s):g.getThumbPercent(0);y=w.createElement("div",{className:z(Xi(Ue),"spectrum-Slider-fill",{"spectrum-Slider-fill--right":k}),style:{[b]:`${C*100}%`,width:`${Math.abs(S)*100}%`}})}return w.createElement(w.Fragment,null,v,w.createElement(Mbe,{index:0,isDisabled:e.isDisabled,trackRef:p,inputRef:m,state:g,name:e.name}),y,$)})}const _be=w.forwardRef(Bbe);function Nbe(e,t,r){let{labelProps:n,inputProps:i,isSelected:a,isPressed:l,isDisabled:s,isReadOnly:u}=tY(e,t,r);return{labelProps:n,inputProps:{...i,role:"switch",checked:a},isSelected:a,isPressed:l,isDisabled:s,isReadOnly:u}}function Ud(e){return e&&e.__esModule?e.default:e}function Ba(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Wn={};Ba(Wn,"focus-ring",()=>VP,e=>VP=e);Ba(Wn,"i18nFontFamily",()=>QP,e=>QP=e);Ba(Wn,"is-hovered",()=>zP,e=>zP=e);Ba(Wn,"spectrum-FocusRing-ring",()=>S0,e=>S0=e);Ba(Wn,"spectrum-FocusRing",()=>jP,e=>jP=e);Ba(Wn,"spectrum-FocusRing--quiet",()=>WP,e=>WP=e);Ba(Wn,"spectrum-ToggleSwitch",()=>ZP,e=>ZP=e);Ba(Wn,"spectrum-ToggleSwitch--ab",()=>UP,e=>UP=e);Ba(Wn,"spectrum-ToggleSwitch--quiet",()=>qP,e=>qP=e);Ba(Wn,"spectrum-ToggleSwitch-input",()=>HP,e=>HP=e);Ba(Wn,"spectrum-ToggleSwitch-label",()=>KP,e=>KP=e);Ba(Wn,"spectrum-ToggleSwitch-switch",()=>YP,e=>YP=e);var VP,QP,zP,S0,jP,WP,ZP,UP,qP,HP,KP,YP;VP="XHynUq_focus-ring";QP="XHynUq_i18nFontFamily";zP="XHynUq_is-hovered";S0="XHynUq_spectrum-FocusRing-ring";jP=`XHynUq_spectrum-FocusRing ${S0}`;WP="XHynUq_spectrum-FocusRing--quiet";ZP="XHynUq_spectrum-ToggleSwitch";UP="XHynUq_spectrum-ToggleSwitch--ab";qP="XHynUq_spectrum-ToggleSwitch--quiet";HP="XHynUq_spectrum-ToggleSwitch-input";KP="XHynUq_spectrum-ToggleSwitch-label";YP="XHynUq_spectrum-ToggleSwitch-switch";function Lbe(e,t){e=Fn(e);let{isEmphasized:r=!1,isDisabled:n=!1,autoFocus:i,children:a,...l}=e,{styleProps:s}=Nt(l),{hoverProps:u,isHovered:c}=Er({isDisabled:n}),d=O.useRef(null),f=Ta(t,d),h=jT(e),{inputProps:p}=Nbe(e,h,d);return w.createElement("label",{...s,...u,ref:f,className:z(Ud(Wn),"spectrum-ToggleSwitch",{"spectrum-ToggleSwitch--quiet":!r,"is-disabled":n,"is-hovered":c},s.className)},w.createElement(_r,{focusRingClass:z(Ud(Wn),"focus-ring"),autoFocus:i},w.createElement("input",{...p,ref:d,className:z(Ud(Wn),"spectrum-ToggleSwitch-input")})),w.createElement("span",{className:z(Ud(Wn),"spectrum-ToggleSwitch-switch")}),a&&w.createElement("span",{className:z(Ud(Wn),"spectrum-ToggleSwitch-label")},a))}const kre=O.forwardRef(Lbe);var Cre={};Cre={collapse:"طي",columnResizer:"أداة تغيير حجم العمود",drag:"سحب",expand:"مد",loading:"جارٍ التحميل...",loadingMore:"جارٍ تحميل المزيد...",resizeColumn:"تغيير حجم العمود",sortAscending:"فرز بترتيب تصاعدي",sortDescending:"فرز بترتيب تنازلي"};var Ere={};Ere={collapse:"Свиване",columnResizer:"Преоразмеряване на колони",drag:"Плъзнете",expand:"Разширяване",loading:"Зареждане...",loadingMore:"Зареждане на още...",resizeColumn:"Преоразмеряване на колона",sortAscending:"Възходящо сортиране",sortDescending:"Низходящо сортиране "};var Pre={};Pre={collapse:"Zmenšit",columnResizer:"Změna velikosti sloupce",drag:"Přetáhnout",expand:"Roztáhnout",loading:"Načítání...",loadingMore:"Načítání dalších...",resizeColumn:"Změnit velikost sloupce",sortAscending:"Seřadit vzestupně",sortDescending:"Seřadit sestupně"};var Fre={};Fre={collapse:"Skjul",columnResizer:"Kolonneændring",drag:"Træk",expand:"Udvid",loading:"Indlæser ...",loadingMore:"Indlæser flere ...",resizeColumn:"Tilpas størrelse på kolonne",sortAscending:"Sorter stigende",sortDescending:"Sorter faldende"};var Are={};Are={collapse:"Reduzieren",columnResizer:"Spaltenanpassung",drag:"Ziehen",expand:"Erweitern",loading:"Laden...",loadingMore:"Mehr laden ...",resizeColumn:"Spaltengröße ändern",sortAscending:"Aufsteigend sortieren",sortDescending:"Absteigend sortieren"};var Dre={};Dre={collapse:"Σύμπτυξη",columnResizer:"Αλλαγή μεγέθους στήλης",drag:"Μεταφορά",expand:"Ανάπτυξη",loading:"Φόρτωση...",loadingMore:"Φόρτωση περισσότερων...",resizeColumn:"Αλλαγή μεγέθους στήλης",sortAscending:"Ταξινόμηση κατά αύξουσα σειρά",sortDescending:"Ταξινόμηση κατά φθίνουσα σειρά"};var Rre={};Rre={loading:"Loading…",loadingMore:"Loading more…",sortAscending:"Sort Ascending",sortDescending:"Sort Descending",resizeColumn:"Resize column",columnResizer:"Column resizer",drag:"Drag",expand:"Expand",collapse:"Collapse"};var Tre={};Tre={collapse:"Contraer",columnResizer:"Redimensionador de columnas",drag:"Arrastrar",expand:"Ampliar",loading:"Cargando…",loadingMore:"Cargando más…",resizeColumn:"Cambiar el tamaño de la columna",sortAscending:"Orden de subida",sortDescending:"Orden de bajada"};var Ire={};Ire={collapse:"Ahenda",columnResizer:"Veeru suuruse muutja",drag:"Lohista",expand:"Laienda",loading:"Laadimine...",loadingMore:"Laadi rohkem...",resizeColumn:"Muuda veeru suurust",sortAscending:"Sordi kasvavalt",sortDescending:"Sordi kahanevalt"};var Mre={};Mre={collapse:"Pienennä",columnResizer:"Sarakekoon muuttaja",drag:"Vedä",expand:"Laajenna",loading:"Ladataan…",loadingMore:"Ladataan lisää…",resizeColumn:"Muuta sarakkeen kokoa",sortAscending:"Lajittelujärjestys: nouseva",sortDescending:"Lajittelujärjestys: laskeva"};var Bre={};Bre={collapse:"Réduire",columnResizer:"Redimensionnement de colonne",drag:"Faire glisser",expand:"Développer",loading:"Chargement...",loadingMore:"Chargement supplémentaire...",resizeColumn:"Redimensionner la colonne",sortAscending:"Trier par ordre croissant",sortDescending:"Trier par ordre décroissant"};var _re={};_re={collapse:"כווץ",columnResizer:"שינוי גודל עמודה",drag:"גרור",expand:"הרחב",loading:"טוען...",loadingMore:"טוען עוד...",resizeColumn:"שנה את גודל העמודה",sortAscending:"מיין בסדר עולה",sortDescending:"מיין בסדר יורד"};var Nre={};Nre={collapse:"Sažmi",columnResizer:"Alat za promjenu veličine stupca",drag:"Povucite",expand:"Proširi",loading:"Učitavam...",loadingMore:"Učitavam još...",resizeColumn:"Promijeni veličinu stupca",sortAscending:"Sortiraj uzlazno",sortDescending:"Sortiraj silazno"};var Lre={};Lre={collapse:"Összecsukás",columnResizer:"Oszlopátméretező",drag:"Húzás",expand:"Kibontás",loading:"Betöltés folyamatban…",loadingMore:"Továbbiak betöltése folyamatban…",resizeColumn:"Oszlop átméretezése",sortAscending:"Növekvő rendezés",sortDescending:"Csökkenő rendezés"};var Vre={};Vre={collapse:"Comprimi",columnResizer:"Ridimensionamento colonne",drag:"Trascina",expand:"Espandi",loading:"Caricamento...",loadingMore:"Caricamento altri...",resizeColumn:"Ridimensiona colonna",sortAscending:"Ordinamento crescente",sortDescending:"Ordinamento decrescente"};var Qre={};Qre={collapse:"折りたたむ",columnResizer:"列リサイザー",drag:"ドラッグ",expand:"展開",loading:"読み込み中...",loadingMore:"さらに読み込み中...",resizeColumn:"列幅を変更",sortAscending:"昇順に並べ替え",sortDescending:"降順に並べ替え"};var zre={};zre={collapse:"접기",columnResizer:"열 크기 조정기",drag:"드래그",expand:"펼치기",loading:"로드 중",loadingMore:"추가 로드 중",resizeColumn:"열 크기 조정",sortAscending:"오름차순 정렬",sortDescending:"내림차순 정렬"};var jre={};jre={collapse:"Sutraukti",columnResizer:"Stulpelio dydžio keitiklis",drag:"Vilkti",expand:"Išskleisti",loading:"Įkeliama...",loadingMore:"Įkeliama daugiau...",resizeColumn:"Keisti stulpelio dydį",sortAscending:"Rikiuoti didėjimo tvarka",sortDescending:"Rikiuoti mažėjimo tvarka"};var Wre={};Wre={collapse:"Sakļaut",columnResizer:"Kolonnas izmēru mainītājs",drag:"Vilkšana",expand:"Izvērst",loading:"Notiek ielāde...",loadingMore:"Tiek ielādēts vēl...",resizeColumn:"Mainīt kolonnas lielumu",sortAscending:"Kārtot augošā secībā",sortDescending:"Kārtot dilstošā secībā"};var Zre={};Zre={collapse:"Skjul",columnResizer:"Størrelsesendring av kolonne",drag:"Dra",expand:"Utvid",loading:"Laster inn ...",loadingMore:"Laster inn flere ...",resizeColumn:"Endre størrelse på kolonne",sortAscending:"Sorter stigende",sortDescending:"Sorter synkende"};var Ure={};Ure={collapse:"Samenvouwen",columnResizer:"Groottewijziging van kolom",drag:"Slepen",expand:"Uitvouwen",loading:"Laden...",loadingMore:"Meer laden...",resizeColumn:"Kolomgrootte wijzigen",sortAscending:"Oplopend sorteren",sortDescending:"Aflopend sorteren"};var qre={};qre={collapse:"Zwiń",columnResizer:"Narzędzie zmiany rozmiaru kolumny",drag:"Przeciągnij",expand:"Rozwiń",loading:"Ładowanie...",loadingMore:"Wczytywanie większej liczby...",resizeColumn:"Zmień rozmiar kolumny",sortAscending:"Sortuj rosnąco",sortDescending:"Sortuj malejąco"};var Hre={};Hre={collapse:"Recolher",columnResizer:"Redimensionamento de colunas",drag:"Arraste",expand:"Expandir",loading:"Carregando...",loadingMore:"Carregando mais...",resizeColumn:"Redimensionar coluna",sortAscending:"Ordenar por ordem crescente",sortDescending:"Ordenar por ordem decrescente"};var Kre={};Kre={collapse:"Colapsar",columnResizer:"Redimensionador de coluna",drag:"Arrastar",expand:"Expandir",loading:"A carregar...",loadingMore:"A carregar mais...",resizeColumn:"Redimensionar coluna",sortAscending:"Ordenar por ordem ascendente",sortDescending:"Ordenar por ordem decrescente"};var Yre={};Yre={collapse:"Restrângeți",columnResizer:"Instrument redimensionare coloane",drag:"Trageți",expand:"Extindeți",loading:"Se încarcă...",loadingMore:"Se încarcă mai multe...",resizeColumn:"Redimensionați coloana",sortAscending:"Sortați crescător",sortDescending:"Sortați descrescător"};var Gre={};Gre={collapse:"Свернуть",columnResizer:"Средство изменения размера столбцов",drag:"Перетаскивание",expand:"Развернуть",loading:"Загрузка...",loadingMore:"Дополнительная загрузка...",resizeColumn:"Изменить размер столбца",sortAscending:"Сортировать по возрастанию",sortDescending:"Сортировать по убыванию"};var Xre={};Xre={collapse:"Zbaliť",columnResizer:"Nástroj na zmenu veľkosti stĺpcov",drag:"Presunúť",expand:"Rozbaliť",loading:"Načítava sa...",loadingMore:"Načítava sa viac...",resizeColumn:"Zmeniť veľkosť stĺpca",sortAscending:"Zoradiť vzostupne",sortDescending:"Zoradiť zostupne"};var Jre={};Jre={collapse:"Strni",columnResizer:"Prilagojevalnik velikosti stolpcev",drag:"Povleci",expand:"Razširi",loading:"Nalaganje...",loadingMore:"Nalaganje več vsebine...",resizeColumn:"Spremeni velikost stolpca",sortAscending:"Razvrsti naraščajoče",sortDescending:"Razvrsti padajoče"};var ene={};ene={collapse:"Sažmi",columnResizer:"Alat za promenu veličine kolone",drag:"Prevuci",expand:"Proširi",loading:"Učitavam...",loadingMore:"Učitavam još...",resizeColumn:"Promeni veličinu kolone",sortAscending:"Sortiraj po rastućem redosledu",sortDescending:"Sortiraj po opadajućem redosledu"};var tne={};tne={collapse:"Dölj",columnResizer:"Ändra storlek på kolumn",drag:"Dra",expand:"Expandera",loading:"Läser in...",loadingMore:"Läser in mer...",resizeColumn:"Ändra storlek på kolumn",sortAscending:"Sortera i stigande ordning",sortDescending:"Sortera i fallande ordning"};var rne={};rne={collapse:"Daralt",columnResizer:"Yeniden sütun boyutlandırıcı",drag:"Sürükle",expand:"Genişlet",loading:"Yükleniyor...",loadingMore:"Daha fazla yükleniyor...",resizeColumn:"Sütunu yeniden boyutlandır",sortAscending:"Artan Sıralama",sortDescending:"Azalan Sıralama"};var nne={};nne={collapse:"Згорнути",columnResizer:"Засіб змінення розміру стовпця",drag:"Перетягнути",expand:"Розгорнути",loading:"Завантаження…",loadingMore:"Завантаження інших об’єктів...",resizeColumn:"Змінити розмір стовпця",sortAscending:"Сортувати за зростанням",sortDescending:"Сортувати за спаданням"};var ine={};ine={collapse:"折叠",columnResizer:"列尺寸调整器",drag:"拖动",expand:"扩展",loading:"正在加载...",loadingMore:"正在加载更多...",resizeColumn:"调整列大小",sortAscending:"升序排序",sortDescending:"降序排序"};var ane={};ane={collapse:"收合",columnResizer:"欄大小調整器",drag:"拖曳",expand:"展開",loading:"正在載入",loadingMore:"正在載入更多…",resizeColumn:"調整欄大小",sortAscending:"升序排序",sortDescending:"降序排序"};function Vbe(e){let{collection:t,focusMode:r}=e,n=HT(e),i=O.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(u,c)=>{if(r==="cell"&&u!=null){let h=t.getItem(u);if((h==null?void 0:h.type)==="item"){var d,f;let p=mr(h,t);c==="last"?u=(d=Jo(p))===null||d===void 0?void 0:d.key:u=(f=lo(p))===null||f===void 0?void 0:f.key}}a(u,c)};let l=O.useMemo(()=>new KT(t,n),[t,n]);const s=O.useRef(null);return O.useEffect(()=>{if(n.focusedKey!=null&&!t.getItem(n.focusedKey)){const u=s.current.getItem(n.focusedKey),c=u.parentKey!=null&&(u.type==="cell"||u.type==="rowheader"||u.type==="column")?s.current.getItem(u.parentKey):u,d=s.current.rows,f=t.rows,h=d.length-f.length;let p=Math.min(h>1?Math.max(c.index-h+1,0):c.index,f.length-1),m;for(;p>=0;){if(!l.isDisabled(f[p].key)&&f[p].type!=="headerrow"){m=f[p];break}pc.index&&(p=c.index),p--)}if(m){const g=m.hasChildNodes?[...mr(m,t)]:[],b=m.hasChildNodes&&c!==u&&u.index{let l=this.keyMap.get(a.key);t.visitNode&&(a=t.visitNode(a)),this.keyMap.set(a.key,a);let s=new Set,u;for(let c of a.childNodes)c.type==="cell"&&c.parentKey==null&&(c.parentKey=a.key),s.add(c.key),u?(u.nextKey=c.key,c.prevKey=u.key):c.prevKey=null,r(c),u=c;if(u&&(u.nextKey=null),l)for(let c of l.childNodes)s.has(c.key)||n(c)},n=a=>{this.keyMap.delete(a.key);for(let l of a.childNodes)this.keyMap.get(l.key)===l&&n(l)},i;t.items.forEach((a,l)=>{let s={level:0,key:"row-"+l,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...a.childNodes],rendered:void 0,textValue:void 0,...a};i?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,this.rows.push(s),r(s),i=s}),i&&(i.nextKey=null)}}let zbe=!1;function Xc(){return zbe}function GP(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\d+)(?=%$)/)!==null)}function XP(e){if(!e)return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):(console.warn(`width: ${e} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function uI(e,t){if(typeof e=="string"){let r=e.match(/^(\d+)(?=%$)/);if(!r)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(r[0])/100)}return e}function lne(e,t){return e!=null?uI(e,t):Number.MAX_SAFE_INTEGER}function one(e,t){return e!=null?uI(e,t):0}function J_(e,t,r,n,i){let a=!1,l=t.map((s,u)=>{var c,d,f;let h=r.get(s.key)!=null?r.get(s.key):(f=(d=(c=s.width)!==null&&c!==void 0?c:s.defaultWidth)!==null&&d!==void 0?d:n==null?void 0:n(u))!==null&&f!==void 0?f:"1fr",p=!1,m=0,g=0,b=null;GP(h)?(m=uI(h,e),p=!0):(g=XP(h),g<=0&&(p=!0));var v,$;let y=one(($=(v=s.minWidth)!==null&&v!==void 0?v:i==null?void 0:i(u))!==null&&$!==void 0?$:0,e),S=lne(s.maxWidth,e),k=Math.max(y,Math.min(m,S));return p?b=k:m>k&&(p=!0,b=k),p||(a=!0),{frozen:p,baseSize:m,hypotheticalMainSize:k,min:y,max:S,flex:g,targetMainSize:b,violation:0}});for(;a;){let s=0,u=0;l.forEach(f=>{f.frozen?s+=f.targetMainSize:(s+=f.baseSize,u+=f.flex)});let c=e-s;c>0&&l.forEach(f=>{if(!f.frozen){let h=f.flex/u;f.targetMainSize=f.baseSize+h*c}});let d=0;l.forEach(f=>{if(f.violation=0,!f.frozen){let{min:h,max:p,targetMainSize:m}=f;f.targetMainSize=Math.max(h,Math.min(m,p)),f.violation=f.targetMainSize-m,d+=f.violation}}),a=!1,l.forEach(f=>{d===0||Math.sign(d)===Math.sign(f.violation)?f.frozen=!0:f.frozen||(a=!0)})}return jbe(l)}function jbe(e){let t=0,r=0,n=[];return e.forEach(function(i){let a=i.targetMainSize,l=Math.round(a+t)-r;t+=a,r+=l,n.push(l)}),n}class Wbe{splitColumnsIntoControlledAndUncontrolled(t){return t.reduce((r,n)=>(n.props.width!=null?r[0].set(n.key,n):r[1].set(n.key,n),r),[new Map,new Map])}recombineColumns(t,r,n,i){return new Map(t.map(a=>n.has(a.key)?[a.key,r.get(a.key)]:[a.key,i.get(a.key).props.width]))}getInitialUncontrolledWidths(t){return new Map(Array.from(t).map(([r,n])=>{var i,a,l,s;return[r,(s=(l=n.props.defaultWidth)!==null&&l!==void 0?l:(i=(a=this).getDefaultWidth)===null||i===void 0?void 0:i.call(a,n))!==null&&s!==void 0?s:"1fr"]}))}getColumnWidth(t){var r;return(r=this.columnWidths.get(t))!==null&&r!==void 0?r:0}getColumnMinWidth(t){var r;return(r=this.columnMinWidths.get(t))!==null&&r!==void 0?r:0}getColumnMaxWidth(t){var r;return(r=this.columnMaxWidths.get(t))!==null&&r!==void 0?r:0}resizeColumnWidth(t,r,n,i,a=null,l){let s=this.columnWidths,u=1/0,c=new Map([...n,...i]),d=new Map,f=new Map,h=new Map;r.columns.forEach((g,b)=>{var v,$;let y,S;if(h.set(g.key,this.getDefaultMinWidth(r.columns[b])),a!==g.key&&!g.props.width&&!GP(i.get(g.key))?(y=g.key,S=XP(i.get(g.key))):a!==g.key&&!GP(g.props.width)&&!i.get(g.key)?(y=g.key,S=XP(g.props.width)):a!==g.key&&(!(($=g.props.width)===null||$===void 0||(v=$.endsWith)===null||v===void 0)&&v.call($,"%"))&&d.set(g.key,g.props.width),u({...g.props,key:g.key})),c,g=>this.getDefaultWidth(r.columns[g]),g=>this.getDefaultMinWidth(r.columns[g])),m=new Map;return p.forEach((g,b)=>{let v=r.columns[b].key;m.set(v,g)}),Array.from(f).forEach(([g])=>{m.set(g,`${f.get(g)}fr`)}),Array.from(d).forEach(([g,b])=>{g!==a&&m.set(g,b)}),m}buildColumnWidths(t,r,n){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,J_(t,r.columns.map(a=>({...a.props,key:a.key})),n,a=>this.getDefaultWidth(r.columns[a]),a=>this.getDefaultMinWidth(r.columns[a])).forEach((a,l)=>{let s=r.columns[l].key,u=r.columns[l];this.columnWidths.set(s,a);var c;this.columnMinWidths.set(s,one((c=u.props.minWidth)!==null&&c!==void 0?c:this.getDefaultMinWidth(u),t)),this.columnMaxWidths.set(s,lne(u.props.maxWidth,t))}),this.columnWidths}constructor(t){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map;var r;this.getDefaultWidth=(r=t==null?void 0:t.getDefaultWidth)!==null&&r!==void 0?r:()=>"1fr";var n;this.getDefaultMinWidth=(n=t==null?void 0:t.getDefaultMinWidth)!==null&&n!==void 0?n:()=>75}}const sne="row-header-column-"+Math.random().toString(36).slice(2);let JP="row-header-column-"+Math.random().toString(36).slice(2);for(;sne===JP;)JP="row-header-column-"+Math.random().toString(36).slice(2);function Zbe(e,t){if(t.length===0)return[];let r=[],n=new Map;for(let u of t){let c=u.parentKey,d=[u];for(;c;){let f=e.get(c);if(!f)break;if(n.has(f)){f.colspan++;let{column:h,index:p}=n.get(f);if(p>d.length)break;for(let m=p;mu.length)),a=Array(i).fill(0).map(()=>[]),l=0;for(let u of r){let c=i-1;for(let d of u){if(d){let f=a[c],h=f.reduce((p,m)=>p+m.colspan,0);if(h0&&(f[f.length-1].nextKey=p.key,p.prevKey=f[f.length-1].key),f.push(p)}f.length>0&&(f[f.length-1].nextKey=d.key,d.prevKey=f[f.length-1].key),d.level=c,d.colIndex=l,f.push(d)}c--}l++}let s=0;for(let u of a){let c=u.reduce((d,f)=>d+f.colspan,0);if(c({type:"headerrow",key:"headerrow-"+c,index:c,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:u,textValue:null}))}class une extends Qbe{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey:null}getFirstKey(){var t;return(t=lo(this.body.childNodes))===null||t===void 0?void 0:t.key}getLastKey(){var t;return(t=Jo(this.body.childNodes))===null||t===void 0?void 0:t.key}getItem(t){return this.keyMap.get(t)}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getTextValue(t){let r=this.getItem(t);if(!r)return"";if(r.textValue)return r.textValue;let n=this.rowHeaderColumnKeys;if(n){let i=[];for(let a of r.childNodes){let l=this.columns[a.index];if(n.has(l.key)&&a.textValue&&i.push(a.textValue),i.length===n.size)break}return i.join(" ")}return""}constructor(t,r,n){let i=new Set,a,l=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:sne,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};l.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:JP,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};l.unshift(f)}let s=[],u=new Map,c=f=>{switch(f.type){case"body":a=f;break;case"column":u.set(f.key,f),f.hasChildNodes||(l.push(f),f.props.isRowHeader&&i.add(f.key));break;case"item":s.push(f);return}for(let h of f.childNodes)c(h)};for(let f of t)c(f);let d=Zbe(u,l);d.forEach((f,h)=>s.splice(h,0,f)),super({columnCount:l.length,items:s,visitNode:f=>(f.column=l[f.index],f)}),this._size=0,this.columns=l,this.rowHeaderColumnKeys=i,this.body=a,this.headerRows=d,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0&&(n!=null&&n.showSelectionCheckboxes?n!=null&&n.showDragButtons?this.rowHeaderColumnKeys.add(this.columns[2].key):this.rowHeaderColumnKeys.add(this.columns[1].key):this.rowHeaderColumnKeys.add(this.columns[0].key))}}const Ube={ascending:"descending",descending:"ascending"};function cne(e){let[t,r]=O.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:i,showDragButtons:a}=e,l=O.useMemo(()=>({showSelectionCheckboxes:i&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,i,n,a]),s=CT(e,O.useCallback(d=>new une(d,null,l),[l]),l),{disabledKeys:u,selectionManager:c}=Vbe({...e,collection:s,disabledBehavior:e.disabledBehavior||"selection"});return{collection:s,disabledKeys:u,selectionManager:c,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor,isKeyboardNavigationDisabled:s.size===0||t,setKeyboardNavigationDisabled:r,sort(d,f){var h;e.onSortChange({column:d,direction:f??(((h=e.sortDescriptor)===null||h===void 0?void 0:h.column)===d?Ube[e.sortDescriptor.direction]:"ascending")})}}}function dne(e){return null}dne.getCollectionNode=function*(t,r){let{children:n,columns:i}=t;if(r.columns=[],typeof n=="function"){if(!i)throw new Error("props.children was a function but props.columns is missing");for(let a of i)yield{type:"column",value:a,renderer:n}}else{let a=[];w.Children.forEach(n,l=>{a.push({type:"column",element:l})}),yield*a}};let xn=dne;function fne(e){return null}fne.getCollectionNode=function*(t){let{children:r,items:n}=t;yield{type:"body",hasChildNodes:!0,props:t,*childNodes(){if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");for(let i of n)yield{type:"item",value:i,renderer:r}}else{let i=[];w.Children.forEach(r,a=>{i.push({type:"item",element:a})}),yield*i}}}};let Sn=fne;function hne(e){return null}hne.getCollectionNode=function*(t,r){let{title:n,children:i,childColumns:a}=t,l=n||i,s=t.textValue||(typeof l=="string"?l:"")||t["aria-label"],u=yield{type:"column",hasChildNodes:!!a||n&&w.Children.count(i)>0,rendered:l,textValue:s,props:t,*childNodes(){if(a)for(let d of a)yield{type:"column",value:d};else if(n){let d=[];w.Children.forEach(i,f=>{d.push({type:"column",element:f})}),yield*d}},shouldInvalidate(d){return c(d),!1}},c=d=>{for(let f of u)f.hasChildNodes||d.columns.push(f)};c(r)};let qbe=hne;function eF(e){return null}eF.getCollectionNode=function*(t,r){let{children:n,textValue:i,UNSTABLE_childItems:a}=t;yield{type:"item",props:t,textValue:i,"aria-label":t["aria-label"],hasChildNodes:!0,*childNodes(){if(r.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),r.showSelectionCheckboxes&&r.selectionMode!=="none"&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),typeof n=="function"){for(let l of r.columns)yield{type:"cell",element:n(l.key),key:l.key};if(a)for(let l of a)yield{type:"item",value:l}}else{let l=[],s=[];if(w.Children.forEach(n,u=>{if(u.type===eF){if(l.lengths.key!==r.columns[u].key)||l.showSelectionCheckboxes!==r.showSelectionCheckboxes||l.showDragButtons!==r.showDragButtons||l.selectionMode!==r.selectionMode}}};let G=eF;function pne(e){return null}pne.getCollectionNode=function*(t){let{children:r}=t,n=t.textValue||(typeof r=="string"?r:"")||t["aria-label"]||"";yield{type:"cell",props:t,rendered:r,textValue:n,"aria-label":t["aria-label"],hasChildNodes:!1}};let P=pne;function Hbe(e){let{selectionMode:t="none",showSelectionCheckboxes:r,showDragButtons:n,UNSTABLE_expandedKeys:i,UNSTABLE_defaultExpandedKeys:a,UNSTABLE_onExpandedChange:l,children:s}=e;if(!Xc())throw new Error("Feature flag for table nested rows must be enabled to use useTreeGridState.");let[u,c]=da(i?eN(i):void 0,a?eN(a):new Set,l),d=O.useMemo(()=>({showSelectionCheckboxes:r&&t!=="none",showDragButtons:n,selectionMode:t,columns:[]}),[s,r,t,n]),f=O.useMemo(()=>new iZ,[]),h=O.useMemo(()=>f.build({children:s},d),[f,s,d]),p=O.useMemo(()=>Ybe(h,{showSelectionCheckboxes:r,showDragButtons:n,expandedKeys:u}),[h,r,n,u]),m=v=>{c(Kbe(u,v,p))},g=O.useMemo(()=>new une(p.tableNodes,null,d),[d,p.tableNodes]);return{...cne({...e,collection:g}),keyMap:p.keyMap,userColumnCount:p.userColumnCount,expandedKeys:u,toggleKey:m}}function Kbe(e,t,r){let n;return e==="all"?(n=new Set(r.flattenedRows.filter(i=>i.props.UNSTABLE_childItems||i.props.children.length>r.userColumnCount).map(i=>i.key)),n.delete(t)):(n=new Set(e),n.has(t)?n.delete(t):n.add(t)),n}function eN(e){return e?e==="all"?"all":new Set(e):new Set}function Ybe(e,t){let{expandedKeys:r=new Set}=t,n,i=[],a=0,l=0,s=[],u=new Map;t!=null&&t.showSelectionCheckboxes&&a++,t!=null&&t.showDragButtons&&a++;let c=[],d=m=>{switch(m.type){case"body":n=m,u.set(n.key,n);break;case"column":m.hasChildNodes||l++;break;case"item":c.push(m);return}for(let g of m.childNodes)d(g)};for(let m of e)m.type==="column"&&s.push(m),d(m);a+=l;let f=0,h=(m,g)=>{if(m.type==="item"){let y=[];for(let k of m.childNodes)if(k.type==="cell"){let C={...k};C.index+1===a&&(C.nextKey=null),y.push({...C})}let S={...m,childNodes:y,parentKey:n.key,level:1,index:f++};i.push(S)}let b={};m.type!=="placeholder"&&m.type!=="column"&&(b.indexOfType=g),Object.assign(m,b),u.set(m.key,m);let v,$=0;for(let y of m.childNodes)y.type==="item"&&r!=="all"&&!r.has(m.key)||(y.parentKey==null&&(y.parentKey=m.key),v?(v.nextKey=y.key,y.prevKey=v.key):y.prevKey=null,y.type==="item"?h(y,$++):h(y,y.index),v=y);v&&(v.nextKey=null)},p;return c.forEach((m,g)=>{h(m,g),p?(p.nextKey=m.key,m.prevKey=p.key):m.prevKey=null,p=m}),p&&(p.nextKey=null),{keyMap:u,userColumnCount:l,flattenedRows:i,tableNodes:[...s,{...n,childNodes:i}]}}var mne={};mne={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var gne={};gne={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var vne={};vne={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var bne={};bne={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var yne={};yne={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var $ne={};$ne={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var One={};One={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var xne={};xne={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var Sne={};Sne={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var wne={};wne={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var kne={};kne={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var Cne={};Cne={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var Ene={};Ene={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var Pne={};Pne={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var Fne={};Fne={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var Ane={};Ane={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Dne={};Dne={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var Rne={};Rne={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var Tne={};Tne={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var Ine={};Ine={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var Mne={};Mne={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var Bne={};Bne={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var _ne={};_ne={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var Nne={};Nne={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var Lne={};Lne={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var Vne={};Vne={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var Qne={};Qne={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var zne={};zne={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var jne={};jne={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var Wne={};Wne={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var Zne={};Zne={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var Une={};Une={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var qne={};qne={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var Hne={};Hne={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};function rb(e){return e&&e.__esModule?e.default:e}const cI=new WeakMap;function tF(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Kne(e,t){let r=cI.get(e);if(!r)throw new Error("Unknown grid");return`${r}-${tF(t)}`}function Yne(e,t,r){let n=cI.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${tF(t)}-${tF(r)}`}function Gne(e,t){return[...e.collection.rowHeaderColumnKeys].map(r=>Yne(e,t,r)).join(" ")}var ap={};ap={"ar-AE":mne,"bg-BG":gne,"cs-CZ":vne,"da-DK":bne,"de-DE":yne,"el-GR":$ne,"en-US":One,"es-ES":xne,"et-EE":Sne,"fi-FI":wne,"fr-FR":kne,"he-IL":Cne,"hr-HR":Ene,"hu-HU":Pne,"it-IT":Fne,"ja-JP":Ane,"ko-KR":Dne,"lt-LT":Rne,"lv-LV":Tne,"nb-NO":Ine,"nl-NL":Mne,"pl-PL":Bne,"pt-BR":_ne,"pt-PT":Nne,"ro-RO":Lne,"ru-RU":Vne,"sk-SK":Qne,"sl-SI":zne,"sr-SP":jne,"sv-SE":Wne,"tr-TR":Zne,"uk-UA":Une,"zh-CN":qne,"zh-TW":Hne};class Gbe extends Uee{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let r=this.collection.getItem(t);if(r){if(r.type==="column"){let n=lo(mr(r,this.collection));if(n)return n.key;let i=this.getFirstKey();if(i==null)return;let a=this.collection.getItem(i);return jo(mr(a,this.collection),r.index).key}return super.getKeyBelow(t)}}getKeyAbove(t){let r=this.collection.getItem(t);if(!r)return;if(r.type==="column"){let i=this.collection.getItem(r.parentKey);return i&&i.type==="column"?i.key:void 0}let n=super.getKeyAbove(t);return n!=null&&this.collection.getItem(n).type!=="headerrow"?n:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(t){let r=this.findNextKey(t.key,i=>i.type==="column");if(r!=null)return r;let n=this.collection.headerRows[t.level];for(let i of mr(n,this.collection))if(i.type==="column")return i.key}findPreviousColumnKey(t){let r=this.findPreviousKey(t.key,a=>a.type==="column");if(r!=null)return r;let n=this.collection.headerRows[t.level],i=[...mr(n,this.collection)];for(let a=i.length-1;a>=0;a--){let l=i[a];if(l.type==="column")return l.key}}getKeyRightOf(t){let r=this.collection.getItem(t);if(r)return r.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(r):this.findNextColumnKey(r):super.getKeyRightOf(t)}getKeyLeftOf(t){let r=this.collection.getItem(t);if(r)return r.type==="column"?this.direction==="rtl"?this.findNextColumnKey(r):this.findPreviousColumnKey(r):super.getKeyLeftOf(t)}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,i=r??this.getFirstKey();if(i==null)return null;let a=n.getItem(i);a.type==="cell"&&(i=a.parentKey);let l=!1;for(;i!=null;){let s=n.getItem(i);for(let u of mr(s,this.collection)){let c=n.columns[u.index];if(n.rowHeaderColumnKeys.has(c.key)&&u.textValue){let d=u.textValue.slice(0,t.length);if(this.collator.compare(d,t)===0)return(r!=null?n.getItem(r):a).type==="cell"?u.key:s.key}}i=this.getKeyBelow(i),i==null&&!l&&(i=this.getFirstKey(),l=!0)}return null}}function Xbe(e,t,r){let{keyboardDelegate:n,isVirtualized:i,layout:a}=e,l=gd({usage:"search",sensitivity:"base"}),{direction:s}=yr(),u=t.selectionManager.disabledBehavior,c=O.useMemo(()=>n||new Gbe({collection:t.collection,disabledKeys:u==="selection"?new Set:t.disabledKeys,ref:r,direction:s,collator:l,layout:a}),[n,t.collection,t.disabledKeys,u,r,s,l,a]),d=ar(e.id);cI.set(t,d);let{gridProps:f}=w1e({...e,id:d,keyboardDelegate:c},t,r);i&&(f["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Xc()&&"expandedKeys"in t&&(f.role="treegrid");let{column:h,direction:p}=t.sortDescriptor||{},m=or(rb(ap),"@react-aria/table"),g=O.useMemo(()=>{var v;let $=(v=t.collection.columns.find(y=>y.key===h))===null||v===void 0?void 0:v.textValue;return p&&h?m.format(`${p}Sort`,{columnName:$}):void 0},[p,h,t.collection.columns]),b=Wh(g);return YZ(()=>{Dc(g,"assertive",500)},[g]),{gridProps:Oe(f,b,{"aria-describedby":[b["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")})}}function nb(e,t,r){var n,i;let{node:a}=e,l=a.props.allowsSorting,{gridCellProps:s}=qee({...e,focusMode:"child"},t,r),u=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:c}=zi({isDisabled:!l||u,onPress(){t.sort(a.key)},ref:r}),{focusableProps:d}=Bs({},r),f=null,h=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,p=(i=t.sortDescriptor)===null||i===void 0?void 0:i.direction;a.props.allowsSorting&&!Hc()&&(f=h?p:"none");let m=or(rb(ap),"@react-aria/table"),g;l&&(g=`${m.format("sortable")}`,h&&p&&Hc()&&(g=`${g}, ${m.format(p)}`));let b=Wh(g),v=t.collection.size===0;return O.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...Oe(s,c,d,b,v&&{tabIndex:-1}),role:"columnheader",id:Kne(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:null,"aria-sort":f}}}const tN={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Jbe(e,t,r){let{node:n,isVirtualized:i}=e,{rowProps:a,...l}=C1e(e,t,r),{direction:s}=yr();i&&!(Xc()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let u={};if(Xc()&&"expandedKeys"in t){let p=t.keyMap.get(n.key);if(p!=null){var c,d,f;let m=((c=p.props)===null||c===void 0?void 0:c.UNSTABLE_childItems)||((f=p.props)===null||f===void 0||(d=f.children)===null||d===void 0?void 0:d.length)>t.userColumnCount;u={onKeyDown:g=>{(g.key===tN.expand[s]&&t.selectionManager.focusedKey===p.key&&m&&t.expandedKeys!=="all"&&!t.expandedKeys.has(p.key)||g.key===tN.collapse[s]&&t.selectionManager.focusedKey===p.key&&m&&(t.expandedKeys==="all"||t.expandedKeys.has(p.key)))&&(t.toggleKey(p.key),g.stopPropagation())},"aria-expanded":m?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":p.level,"aria-posinset":p.indexOfType+1,"aria-setsize":p.level>1?Jo(t.keyMap.get(p==null?void 0:p.parentKey).childNodes).indexOfType+1:Jo(t.keyMap.get(t.collection.body.key).childNodes).indexOfType+1}}}let h=l.hasAction?Fhe(n.props):{};return{rowProps:{...Oe(a,u,h),"aria-labelledby":Gne(t,n.key)},...l}}function eye(e,t,r){let{node:n,isVirtualized:i}=e,a={role:"row"};return i&&!(Xc()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function dI(e,t,r){let{gridCellProps:n,isPressed:i}=qee(e,t,r),a=e.node.column.key;return t.collection.rowHeaderColumnKeys.has(a)&&(n.role="rowheader",n.id=Yne(t,e.node.parentKey,a)),{gridCellProps:n,isPressed:i}}function tye(e,t){let{key:r}=e;const{checkboxProps:n}=E1e(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${Gne(t,r)}`}}}function rye(e){let{isEmpty:t,isSelectAll:r,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":or(rb(ap),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:r,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!r,onChange:()=>e.selectionManager.toggleSelectAll()}}}function nye(e,t,r){let{column:n,triggerRef:i,isDisabled:a,onResizeStart:l,onResize:s,onResizeEnd:u,"aria-label":c}=e;const d=or(rb(ap),"@react-aria/table");let f=ar(),h=t.resizingColumn===n.key,p=O.useRef(h),m=O.useRef(null),g=O.useRef(!1),b=t.tableState.isKeyboardNavigationDisabled,{direction:v}=yr(),{keyboardProps:$}=V1({onKeyDown:V=>{b?(V.key==="Escape"||V.key==="Enter"||V.key===" "||V.key==="Tab")&&(V.preventDefault(),k(n)):(V.continuePropagation(),V.key==="Enter"&&y(n))}}),y=Vr(V=>{p.current||(m.current=t.updateResizedColumns(V.key,t.getColumnWidth(V.key)),t.startResize(V.key),t.tableState.setKeyboardNavigationDisabled(!0),l==null||l(m.current)),p.current=!0}),S=Vr((V,I)=>{let Y=t.updateResizedColumns(V.key,I);s==null||s(Y),m.current=Y}),k=Vr(V=>{p.current&&(m.current==null&&(m.current=t.updateResizedColumns(V.key,t.getColumnWidth(V.key))),t.endResize(),t.tableState.setKeyboardNavigationDisabled(!1),u==null||u(m.current),p.current=!1,i!=null&&i.current&&!g.current&&Tn(i.current)),m.current=null});const C=O.useRef(0),{moveProps:F}=_T({onMoveStart(){C.current=t.getColumnWidth(n.key),y(n)},onMove(V){let{deltaX:I,deltaY:Y,pointerType:ee}=V;v==="rtl"&&(I*=-1),ee==="keyboard"&&(Y!==0&&I===0&&(I=Y*-1),I*=10),I!==0&&(C.current+=I,S(n,C.current))},onMoveEnd(V){let{pointerType:I}=V;C.current=0,(I==="mouse"||I==="touch"&&g.current)&&k(n)}});let E=O.useCallback(V=>{b&&F.onKeyDown(V)},[b,F]),M=Math.floor(t.getColumnMinWidth(n.key)),D=Math.floor(t.getColumnMaxWidth(n.key));D===1/0&&(D=Number.MAX_SAFE_INTEGER);let R=Math.floor(t.getColumnWidth(n.key)),B=BT();B==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(B="touch");let T=(i==null?void 0:i.current)==null&&(B==="keyboard"||B==="virtual")&&!h?d.format("resizerDescription"):void 0,_=Wh(T),Q={"aria-label":c,"aria-orientation":"horizontal","aria-labelledby":`${f} ${Kne(t.tableState,n.key)}`,"aria-valuetext":d.format("columnSize",{value:R}),type:"range",min:M,max:D,value:R,..._};const W=O.useCallback(()=>{r.current&&Tn(r.current)},[r]);let Z=t.resizingColumn,q=O.useRef(null);O.useEffect(()=>{if(q.current!==Z&&Z!=null&&Z===n.key){g.current=document.activeElement===r.current,y(n);let V=setTimeout(()=>W(),0),I=setTimeout(W,400);return()=>{clearTimeout(V),clearTimeout(I)}}q.current=Z},[Z,n,W,r,y]);let U=V=>{let I=t.getColumnWidth(n.key),Y=parseFloat(V.target.value);Y>I?Y=I+10:Y=I-10,S(n,Y)},{pressProps:A}=zi({onPressStart:V=>{if(!(V.ctrlKey||V.altKey||V.metaKey||V.shiftKey||V.pointerType==="keyboard")){if(V.pointerType==="virtual"&&t.resizingColumn!=null){k(n);return}W(),V.pointerType!=="virtual"&&y(n)}},onPress:V=>{(V.pointerType==="touch"&&g.current||V.pointerType==="mouse")&&t.resizingColumn!=null&&k(n)}}),{visuallyHiddenProps:j}=Tu();return{resizerProps:Oe($,{...F,onKeyDown:E},A,{style:{touchAction:"none"}}),inputProps:Oe(j,{id:f,onBlur:()=>{k(n)},onChange:U,disabled:a},Q),isResizing:h}}function Xne(){return k1e()}function Ne(e){return e&&e.__esModule?e.default:e}function Ce(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var kt={};Ce(kt,"focus-ring",()=>rF,e=>rF=e);Ce(kt,"react-spectrum-Table",()=>nF,e=>nF=e);Ce(kt,"react-spectrum-Table-InsertionIndicator",()=>iF,e=>iF=e);Ce(kt,"react-spectrum-Table-InsertionIndicator--dropTarget",()=>aF,e=>aF=e);Ce(kt,"react-spectrum-Table-body",()=>lF,e=>lF=e);Ce(kt,"react-spectrum-Table-body--dropTarget",()=>oF,e=>oF=e);Ce(kt,"react-spectrum-Table-cell",()=>sF,e=>sF=e);Ce(kt,"react-spectrum-Table-cell--alignCenter",()=>uF,e=>uF=e);Ce(kt,"react-spectrum-Table-cell--alignEnd",()=>cF,e=>cF=e);Ce(kt,"react-spectrum-Table-cell--alignStart",()=>dF,e=>dF=e);Ce(kt,"react-spectrum-Table-cellWrapper",()=>fF,e=>fF=e);Ce(kt,"react-spectrum-Table-cellWrapper--dropTarget",()=>hF,e=>hF=e);Ce(kt,"react-spectrum-Table-centeredWrapper",()=>pF,e=>pF=e);Ce(kt,"react-spectrum-Table-dragButton",()=>mF,e=>mF=e);Ce(kt,"react-spectrum-Table-dragButtonCell",()=>gF,e=>gF=e);Ce(kt,"react-spectrum-Table-dragButtonHeadCell",()=>vF,e=>vF=e);Ce(kt,"react-spectrum-Table-headCell",()=>bF,e=>bF=e);Ce(kt,"react-spectrum-Table-row",()=>yF,e=>yF=e);Ce(kt,"react-spectrum-Table-row--dropTarget",()=>$F,e=>$F=e);Ce(kt,"react-spectrum-Table-row-badge",()=>OF,e=>OF=e);Ce(kt,"react-spectrum-Table-row-dragPreview",()=>xF,e=>xF=e);Ce(kt,"react-spectrum-Table-row-dragPreview--multiple",()=>SF,e=>SF=e);var rF,nF,iF,aF,lF,oF,sF,uF,cF,dF,fF,hF,pF,mF,gF,vF,bF,yF,$F,OF,xF,SF;rF="EfWbna_focus-ring";nF="EfWbna_react-spectrum-Table";iF="EfWbna_react-spectrum-Table-InsertionIndicator";aF="EfWbna_react-spectrum-Table-InsertionIndicator--dropTarget";lF="EfWbna_react-spectrum-Table-body";oF="EfWbna_react-spectrum-Table-body--dropTarget";sF="EfWbna_react-spectrum-Table-cell";uF="EfWbna_react-spectrum-Table-cell--alignCenter";cF="EfWbna_react-spectrum-Table-cell--alignEnd";dF="EfWbna_react-spectrum-Table-cell--alignStart";fF="EfWbna_react-spectrum-Table-cellWrapper";hF="EfWbna_react-spectrum-Table-cellWrapper--dropTarget";pF="EfWbna_react-spectrum-Table-centeredWrapper";mF="EfWbna_react-spectrum-Table-dragButton";gF="EfWbna_react-spectrum-Table-dragButtonCell";vF="EfWbna_react-spectrum-Table-dragButtonHeadCell";bF="EfWbna_react-spectrum-Table-headCell";yF="EfWbna_react-spectrum-Table-row";$F="EfWbna_react-spectrum-Table-row--dropTarget";OF="EfWbna_react-spectrum-Table-row-badge";xF="EfWbna_react-spectrum-Table-row-dragPreview";SF="EfWbna_react-spectrum-Table-row-dragPreview--multiple";function rN(e){let{dropState:t,dragAndDropHooks:r}=Ei();const{target:n,rowProps:i}=e;let a=O.useRef(),{dropIndicatorProps:l}=r.useDropIndicator(e,t,a),{visuallyHiddenProps:s}=Tu(),u=t.isDropTarget(n);return!u&&l["aria-hidden"]?null:w.createElement("div",{style:{position:"absolute",top:i.style.top+(n.dropPosition==="after"?i.style.height:0),width:i.style.width},role:"row","aria-hidden":l["aria-hidden"]},w.createElement("div",{role:"gridcell",className:z(Ne(kt),"react-spectrum-Table-InsertionIndicator",{"react-spectrum-Table-InsertionIndicator--dropTarget":u})},w.createElement("div",{...s,role:"button",...l,ref:a})))}var yd={};yd={"ar-AE":Cre,"bg-BG":Ere,"cs-CZ":Pre,"da-DK":Fre,"de-DE":Are,"el-GR":Dre,"en-US":Rre,"es-ES":Tre,"et-EE":Ire,"fi-FI":Mre,"fr-FR":Bre,"he-IL":_re,"hr-HR":Nre,"hu-HU":Lre,"it-IT":Vre,"ja-JP":Qre,"ko-KR":zre,"lt-LT":jre,"lv-LV":Wre,"nb-NO":Zre,"nl-NL":Ure,"pl-PL":qre,"pt-BR":Hre,"pt-PT":Kre,"ro-RO":Yre,"ru-RU":Gre,"sk-SK":Xre,"sl-SI":Jre,"sr-SP":ene,"sv-SE":tne,"tr-TR":rne,"uk-UA":nne,"zh-CN":ine,"zh-TW":ane};function iye(){return w.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},w.createElement("g",{fill:"var(--spectrum-global-color-blue-600)",stroke:"var(--spectrum-global-color-blue-600)",strokeWidth:"2"},w.createElement("circle",{cx:"8",cy:"8",r:"8",stroke:"none"}),w.createElement("circle",{cx:"8",cy:"8",r:"7",fill:"none"})),w.createElement("path",{d:"M-2106-7380.263v5l2.5-2.551Z",transform:"translate(2116 7385.763)",fill:"#fff",stroke:"#fff",strokeLinejoin:"round",strokeWidth:"2"}),w.createElement("path",{d:"M-2106-7380.263v5l2.5-2.551Z",transform:"translate(-2100 -7369.763) rotate(180)",fill:"#fff",stroke:"#fff",strokeLinejoin:"round",strokeWidth:"2"}))}var Jne={};Jne=` @@ -75,7 +75,7 @@ Error generating stack: `+a.message+` -`;var Yne={};Yne=` +`;var eie={};eie=` @@ -85,7 +85,7 @@ Error generating stack: `+a.message+` -`;var pe={};ke(pe,"contents",()=>$F,e=>$F=e);ke(pe,"expand-button",()=>OF,e=>OF=e);ke(pe,"focus-ring",()=>xF,e=>xF=e);ke(pe,"i18nFontFamily",()=>SF,e=>SF=e);ke(pe,"is-active",()=>wF,e=>wF=e);ke(pe,"is-disabled",()=>kF,e=>kF=e);ke(pe,"is-drop-target",()=>CF,e=>CF=e);ke(pe,"is-focused",()=>EF,e=>EF=e);ke(pe,"is-hovered",()=>PF,e=>PF=e);ke(pe,"is-next-selected",()=>FF,e=>FF=e);ke(pe,"is-open",()=>AF,e=>AF=e);ke(pe,"is-resizable",()=>DF,e=>DF=e);ke(pe,"is-selected",()=>TF,e=>TF=e);ke(pe,"is-sortable",()=>RF,e=>RF=e);ke(pe,"is-sorted-asc",()=>IF,e=>IF=e);ke(pe,"is-sorted-desc",()=>MF,e=>MF=e);ke(pe,"spectrum-FocusRing-ring",()=>O0,e=>O0=e);ke(pe,"spectrum-FocusRing",()=>BF,e=>BF=e);ke(pe,"spectrum-FocusRing--quiet",()=>_F,e=>_F=e);ke(pe,"spectrum-Table",()=>NF,e=>NF=e);ke(pe,"spectrum-Table--compact",()=>LF,e=>LF=e);ke(pe,"spectrum-Table--isHorizontalScrollbarVisible",()=>QF,e=>QF=e);ke(pe,"spectrum-Table--isVerticalScrollbarVisible",()=>VF,e=>VF=e);ke(pe,"spectrum-Table--loadingMore",()=>zF,e=>zF=e);ke(pe,"spectrum-Table--quiet",()=>jF,e=>jF=e);ke(pe,"spectrum-Table--regular",()=>WF,e=>WF=e);ke(pe,"spectrum-Table--spacious",()=>ZF,e=>ZF=e);ke(pe,"spectrum-Table--wrap",()=>UF,e=>UF=e);ke(pe,"spectrum-Table-body",()=>qF,e=>qF=e);ke(pe,"spectrum-Table-body--resizerAtTableEdge",()=>HF,e=>HF=e);ke(pe,"spectrum-Table-bodyResizeIndicator",()=>KF,e=>KF=e);ke(pe,"spectrum-Table-cell",()=>YF,e=>YF=e);ke(pe,"spectrum-Table-cell--alignCenter",()=>GF,e=>GF=e);ke(pe,"spectrum-Table-cell--alignEnd",()=>XF,e=>XF=e);ke(pe,"spectrum-Table-cell--divider",()=>JF,e=>JF=e);ke(pe,"spectrum-Table-cell--hasExpandCollapseButton",()=>eA,e=>eA=e);ke(pe,"spectrum-Table-cell--hideHeader",()=>tA,e=>tA=e);ke(pe,"spectrum-Table-cellContents",()=>rA,e=>rA=e);ke(pe,"spectrum-Table-cellWrapper",()=>nA,e=>nA=e);ke(pe,"spectrum-Table-checkbox",()=>iA,e=>iA=e);ke(pe,"spectrum-Table-checkboxCell",()=>aA,e=>aA=e);ke(pe,"spectrum-Table-colResizeIndicator",()=>lA,e=>lA=e);ke(pe,"spectrum-Table-colResizeIndicator--resizing",()=>oA,e=>oA=e);ke(pe,"spectrum-Table-colResizeIndicator--visible",()=>sA,e=>sA=e);ke(pe,"spectrum-Table-colResizeNubbin",()=>uA,e=>uA=e);ke(pe,"spectrum-Table-colResizeNubbin--visible",()=>cA,e=>cA=e);ke(pe,"spectrum-Table-columnResizer",()=>dA,e=>dA=e);ke(pe,"spectrum-Table-columnResizerPlaceholder",()=>fA,e=>fA=e);ke(pe,"spectrum-Table-expandButton",()=>hA,e=>hA=e);ke(pe,"spectrum-Table-headCell",()=>pA,e=>pA=e);ke(pe,"spectrum-Table-headCellButton",()=>mA,e=>mA=e);ke(pe,"spectrum-Table-headCellButton--alignCenter",()=>gA,e=>gA=e);ke(pe,"spectrum-Table-headCellButton--alignEnd",()=>vA,e=>vA=e);ke(pe,"spectrum-Table-headCellButton--alignStart",()=>bA,e=>bA=e);ke(pe,"spectrum-Table-headCellContents",()=>yA,e=>yA=e);ke(pe,"spectrum-Table-headWrapper",()=>$A,e=>$A=e);ke(pe,"spectrum-Table-headerCellText",()=>OA,e=>OA=e);ke(pe,"spectrum-Table-menuChevron",()=>xA,e=>xA=e);ke(pe,"spectrum-Table-row",()=>SA,e=>SA=e);ke(pe,"spectrum-Table-row--firstRow",()=>wA,e=>wA=e);ke(pe,"spectrum-Table-row--isFlushBottom",()=>kA,e=>kA=e);ke(pe,"spectrum-Table-row--lastRow",()=>CA,e=>CA=e);ke(pe,"spectrum-Table-sortedIcon",()=>EA,e=>EA=e);var $F,OF,xF,SF,wF,kF,CF,EF,PF,FF,AF,DF,TF,RF,IF,MF,O0,BF,_F,NF,LF,QF,VF,zF,jF,WF,ZF,UF,qF,HF,KF,YF,GF,XF,JF,eA,tA,rA,nA,iA,aA,lA,oA,sA,uA,cA,dA,fA,hA,pA,mA,gA,vA,bA,yA,$A,OA,xA,SA,wA,kA,CA,EA;$F="_5uzlQq_contents";OF="_5uzlQq_expand-button";xF="_5uzlQq_focus-ring";SF="_5uzlQq_i18nFontFamily";wF="_5uzlQq_is-active";kF="_5uzlQq_is-disabled";CF="_5uzlQq_is-drop-target";EF="_5uzlQq_is-focused";PF="_5uzlQq_is-hovered";FF="_5uzlQq_is-next-selected";AF="_5uzlQq_is-open";DF="_5uzlQq_is-resizable";TF="_5uzlQq_is-selected";RF="_5uzlQq_is-sortable";IF="_5uzlQq_is-sorted-asc";MF="_5uzlQq_is-sorted-desc";O0="_5uzlQq_spectrum-FocusRing-ring";BF=`_5uzlQq_spectrum-FocusRing ${O0}`;_F="_5uzlQq_spectrum-FocusRing--quiet";NF="_5uzlQq_spectrum-Table";LF="_5uzlQq_spectrum-Table--compact";QF="_5uzlQq_spectrum-Table--isHorizontalScrollbarVisible";VF="_5uzlQq_spectrum-Table--isVerticalScrollbarVisible";zF="_5uzlQq_spectrum-Table--loadingMore";jF="_5uzlQq_spectrum-Table--quiet";WF="_5uzlQq_spectrum-Table--regular";ZF="_5uzlQq_spectrum-Table--spacious";UF="_5uzlQq_spectrum-Table--wrap";qF="_5uzlQq_spectrum-Table-body";HF="_5uzlQq_spectrum-Table-body--resizerAtTableEdge";KF="_5uzlQq_spectrum-Table-bodyResizeIndicator";YF="_5uzlQq_spectrum-Table-cell";GF="_5uzlQq_spectrum-Table-cell--alignCenter";XF="_5uzlQq_spectrum-Table-cell--alignEnd";JF="_5uzlQq_spectrum-Table-cell--divider";eA="_5uzlQq_spectrum-Table-cell--hasExpandCollapseButton";tA="_5uzlQq_spectrum-Table-cell--hideHeader";rA="_5uzlQq_spectrum-Table-cellContents";nA="_5uzlQq_spectrum-Table-cellWrapper";iA="_5uzlQq_spectrum-Table-checkbox";aA="_5uzlQq_spectrum-Table-checkboxCell";lA="_5uzlQq_spectrum-Table-colResizeIndicator";oA="_5uzlQq_spectrum-Table-colResizeIndicator--resizing";sA="_5uzlQq_spectrum-Table-colResizeIndicator--visible";uA="_5uzlQq_spectrum-Table-colResizeNubbin";cA="_5uzlQq_spectrum-Table-colResizeNubbin--visible";dA="_5uzlQq_spectrum-Table-columnResizer";fA="_5uzlQq_spectrum-Table-columnResizerPlaceholder";hA="_5uzlQq_spectrum-Table-expandButton";pA="_5uzlQq_spectrum-Table-headCell";mA="_5uzlQq_spectrum-Table-headCellButton";gA="_5uzlQq_spectrum-Table-headCellButton--alignCenter";vA="_5uzlQq_spectrum-Table-headCellButton--alignEnd";bA="_5uzlQq_spectrum-Table-headCellButton--alignStart";yA="_5uzlQq_spectrum-Table-headCellContents";$A="_5uzlQq_spectrum-Table-headWrapper";OA="_5uzlQq_spectrum-Table-headerCellText";xA="_5uzlQq_spectrum-Table-menuChevron";SA="_5uzlQq_spectrum-Table-row";wA="_5uzlQq_spectrum-Table-row--firstRow";kA="_5uzlQq_spectrum-Table-row--isFlushBottom";CA="_5uzlQq_spectrum-Table-row--lastRow";EA="_5uzlQq_spectrum-Table-sortedIcon";var Gne={};Gne=` +`;var pe={};Ce(pe,"contents",()=>wF,e=>wF=e);Ce(pe,"expand-button",()=>kF,e=>kF=e);Ce(pe,"focus-ring",()=>CF,e=>CF=e);Ce(pe,"i18nFontFamily",()=>EF,e=>EF=e);Ce(pe,"is-active",()=>PF,e=>PF=e);Ce(pe,"is-disabled",()=>FF,e=>FF=e);Ce(pe,"is-drop-target",()=>AF,e=>AF=e);Ce(pe,"is-focused",()=>DF,e=>DF=e);Ce(pe,"is-hovered",()=>RF,e=>RF=e);Ce(pe,"is-next-selected",()=>TF,e=>TF=e);Ce(pe,"is-open",()=>IF,e=>IF=e);Ce(pe,"is-resizable",()=>MF,e=>MF=e);Ce(pe,"is-selected",()=>BF,e=>BF=e);Ce(pe,"is-sortable",()=>_F,e=>_F=e);Ce(pe,"is-sorted-asc",()=>NF,e=>NF=e);Ce(pe,"is-sorted-desc",()=>LF,e=>LF=e);Ce(pe,"spectrum-FocusRing-ring",()=>w0,e=>w0=e);Ce(pe,"spectrum-FocusRing",()=>VF,e=>VF=e);Ce(pe,"spectrum-FocusRing--quiet",()=>QF,e=>QF=e);Ce(pe,"spectrum-Table",()=>zF,e=>zF=e);Ce(pe,"spectrum-Table--compact",()=>jF,e=>jF=e);Ce(pe,"spectrum-Table--isHorizontalScrollbarVisible",()=>WF,e=>WF=e);Ce(pe,"spectrum-Table--isVerticalScrollbarVisible",()=>ZF,e=>ZF=e);Ce(pe,"spectrum-Table--loadingMore",()=>UF,e=>UF=e);Ce(pe,"spectrum-Table--quiet",()=>qF,e=>qF=e);Ce(pe,"spectrum-Table--regular",()=>HF,e=>HF=e);Ce(pe,"spectrum-Table--spacious",()=>KF,e=>KF=e);Ce(pe,"spectrum-Table--wrap",()=>YF,e=>YF=e);Ce(pe,"spectrum-Table-body",()=>GF,e=>GF=e);Ce(pe,"spectrum-Table-body--resizerAtTableEdge",()=>XF,e=>XF=e);Ce(pe,"spectrum-Table-bodyResizeIndicator",()=>JF,e=>JF=e);Ce(pe,"spectrum-Table-cell",()=>eA,e=>eA=e);Ce(pe,"spectrum-Table-cell--alignCenter",()=>tA,e=>tA=e);Ce(pe,"spectrum-Table-cell--alignEnd",()=>rA,e=>rA=e);Ce(pe,"spectrum-Table-cell--divider",()=>nA,e=>nA=e);Ce(pe,"spectrum-Table-cell--hasExpandCollapseButton",()=>iA,e=>iA=e);Ce(pe,"spectrum-Table-cell--hideHeader",()=>aA,e=>aA=e);Ce(pe,"spectrum-Table-cellContents",()=>lA,e=>lA=e);Ce(pe,"spectrum-Table-cellWrapper",()=>oA,e=>oA=e);Ce(pe,"spectrum-Table-checkbox",()=>sA,e=>sA=e);Ce(pe,"spectrum-Table-checkboxCell",()=>uA,e=>uA=e);Ce(pe,"spectrum-Table-colResizeIndicator",()=>cA,e=>cA=e);Ce(pe,"spectrum-Table-colResizeIndicator--resizing",()=>dA,e=>dA=e);Ce(pe,"spectrum-Table-colResizeIndicator--visible",()=>fA,e=>fA=e);Ce(pe,"spectrum-Table-colResizeNubbin",()=>hA,e=>hA=e);Ce(pe,"spectrum-Table-colResizeNubbin--visible",()=>pA,e=>pA=e);Ce(pe,"spectrum-Table-columnResizer",()=>mA,e=>mA=e);Ce(pe,"spectrum-Table-columnResizerPlaceholder",()=>gA,e=>gA=e);Ce(pe,"spectrum-Table-expandButton",()=>vA,e=>vA=e);Ce(pe,"spectrum-Table-headCell",()=>bA,e=>bA=e);Ce(pe,"spectrum-Table-headCellButton",()=>yA,e=>yA=e);Ce(pe,"spectrum-Table-headCellButton--alignCenter",()=>$A,e=>$A=e);Ce(pe,"spectrum-Table-headCellButton--alignEnd",()=>OA,e=>OA=e);Ce(pe,"spectrum-Table-headCellButton--alignStart",()=>xA,e=>xA=e);Ce(pe,"spectrum-Table-headCellContents",()=>SA,e=>SA=e);Ce(pe,"spectrum-Table-headWrapper",()=>wA,e=>wA=e);Ce(pe,"spectrum-Table-headerCellText",()=>kA,e=>kA=e);Ce(pe,"spectrum-Table-menuChevron",()=>CA,e=>CA=e);Ce(pe,"spectrum-Table-row",()=>EA,e=>EA=e);Ce(pe,"spectrum-Table-row--firstRow",()=>PA,e=>PA=e);Ce(pe,"spectrum-Table-row--isFlushBottom",()=>FA,e=>FA=e);Ce(pe,"spectrum-Table-row--lastRow",()=>AA,e=>AA=e);Ce(pe,"spectrum-Table-sortedIcon",()=>DA,e=>DA=e);var wF,kF,CF,EF,PF,FF,AF,DF,RF,TF,IF,MF,BF,_F,NF,LF,w0,VF,QF,zF,jF,WF,ZF,UF,qF,HF,KF,YF,GF,XF,JF,eA,tA,rA,nA,iA,aA,lA,oA,sA,uA,cA,dA,fA,hA,pA,mA,gA,vA,bA,yA,$A,OA,xA,SA,wA,kA,CA,EA,PA,FA,AA,DA;wF="_5uzlQq_contents";kF="_5uzlQq_expand-button";CF="_5uzlQq_focus-ring";EF="_5uzlQq_i18nFontFamily";PF="_5uzlQq_is-active";FF="_5uzlQq_is-disabled";AF="_5uzlQq_is-drop-target";DF="_5uzlQq_is-focused";RF="_5uzlQq_is-hovered";TF="_5uzlQq_is-next-selected";IF="_5uzlQq_is-open";MF="_5uzlQq_is-resizable";BF="_5uzlQq_is-selected";_F="_5uzlQq_is-sortable";NF="_5uzlQq_is-sorted-asc";LF="_5uzlQq_is-sorted-desc";w0="_5uzlQq_spectrum-FocusRing-ring";VF=`_5uzlQq_spectrum-FocusRing ${w0}`;QF="_5uzlQq_spectrum-FocusRing--quiet";zF="_5uzlQq_spectrum-Table";jF="_5uzlQq_spectrum-Table--compact";WF="_5uzlQq_spectrum-Table--isHorizontalScrollbarVisible";ZF="_5uzlQq_spectrum-Table--isVerticalScrollbarVisible";UF="_5uzlQq_spectrum-Table--loadingMore";qF="_5uzlQq_spectrum-Table--quiet";HF="_5uzlQq_spectrum-Table--regular";KF="_5uzlQq_spectrum-Table--spacious";YF="_5uzlQq_spectrum-Table--wrap";GF="_5uzlQq_spectrum-Table-body";XF="_5uzlQq_spectrum-Table-body--resizerAtTableEdge";JF="_5uzlQq_spectrum-Table-bodyResizeIndicator";eA="_5uzlQq_spectrum-Table-cell";tA="_5uzlQq_spectrum-Table-cell--alignCenter";rA="_5uzlQq_spectrum-Table-cell--alignEnd";nA="_5uzlQq_spectrum-Table-cell--divider";iA="_5uzlQq_spectrum-Table-cell--hasExpandCollapseButton";aA="_5uzlQq_spectrum-Table-cell--hideHeader";lA="_5uzlQq_spectrum-Table-cellContents";oA="_5uzlQq_spectrum-Table-cellWrapper";sA="_5uzlQq_spectrum-Table-checkbox";uA="_5uzlQq_spectrum-Table-checkboxCell";cA="_5uzlQq_spectrum-Table-colResizeIndicator";dA="_5uzlQq_spectrum-Table-colResizeIndicator--resizing";fA="_5uzlQq_spectrum-Table-colResizeIndicator--visible";hA="_5uzlQq_spectrum-Table-colResizeNubbin";pA="_5uzlQq_spectrum-Table-colResizeNubbin--visible";mA="_5uzlQq_spectrum-Table-columnResizer";gA="_5uzlQq_spectrum-Table-columnResizerPlaceholder";vA="_5uzlQq_spectrum-Table-expandButton";bA="_5uzlQq_spectrum-Table-headCell";yA="_5uzlQq_spectrum-Table-headCellButton";$A="_5uzlQq_spectrum-Table-headCellButton--alignCenter";OA="_5uzlQq_spectrum-Table-headCellButton--alignEnd";xA="_5uzlQq_spectrum-Table-headCellButton--alignStart";SA="_5uzlQq_spectrum-Table-headCellContents";wA="_5uzlQq_spectrum-Table-headWrapper";kA="_5uzlQq_spectrum-Table-headerCellText";CA="_5uzlQq_spectrum-Table-menuChevron";EA="_5uzlQq_spectrum-Table-row";PA="_5uzlQq_spectrum-Table-row--firstRow";FA="_5uzlQq_spectrum-Table-row--isFlushBottom";AA="_5uzlQq_spectrum-Table-row--lastRow";DA="_5uzlQq_spectrum-Table-sortedIcon";var tie={};tie=` @@ -95,14 +95,14 @@ Error generating stack: `+a.message+` -`;function Jy(e,t){return CR()?`image-set(url("data:image/svg+xml,${encodeURIComponent(e)}") 1x, url("data:image/svg+xml,${encodeURIComponent(e.replace('width="32" height="32"','width="64" height="64"'))}") 2x) 8 8, ${t}`:`url("data:image/svg+xml,${encodeURIComponent(e)}") 8 8, ${t}`}const Ud={ew:Jy(Ne(Yne),"ew-resize"),w:Jy(Ne(Gne),"w-resize"),e:Jy(Ne(Kne),"e-resize")};function eye(e,t){let{column:r,showResizer:n}=e,{isEmpty:i,layout:a,onFocusedResizer:l}=Ei();aye();let s=lr(Ne(bd),"@react-spectrum/table"),{direction:u}=yr(),[c,d]=O.useState(!1);O.useEffect(()=>{let y=S=>{S.pointerType==="mouse"&&d(!0)},$=S=>{S.pointerType==="mouse"&&d(!1)};return document.addEventListener("pointerdown",y,{capture:!0}),document.addEventListener("pointerup",$,{capture:!0}),()=>{document.removeEventListener("pointerdown",y,{capture:!0}),document.removeEventListener("pointerup",$,{capture:!0})}},[]);let{inputProps:f,resizerProps:h}=Xbe($e(e,{"aria-label":s.format("columnResizer"),isDisabled:i}),a,t),p=a.getColumnMinWidth(r.key)>=a.getColumnWidth(r.key),m=a.getColumnMaxWidth(r.key)<=a.getColumnWidth(r.key),g=a.resizingColumn===r.key,b="";p?b=u==="rtl"?Ud.w:Ud.e:m?b=u==="rtl"?Ud.e:Ud.w:b=Ud.ew;let v={...h.style,height:"100%",display:n?void 0:"none",cursor:b};return w.createElement(w.Fragment,null,w.createElement(_r,{within:!0,focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...h,role:"presentation",style:v,className:z(Ne(pe),"spectrum-Table-columnResizer")},w.createElement("input",{ref:t,...$e(f,{onFocus:l})}))),w.createElement("div",{"aria-hidden":!0,role:"presentation",className:z(Ne(pe),"spectrum-Table-columnResizerPlaceholder")}),w.createElement(tye,{show:g&&c},w.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:b}})))}function tye(e){let{show:t,children:r}=e;return t?pc.createPortal(r,document.body):null}const rye=w.forwardRef(eye);function nye(){let{dropState:e,dragAndDropHooks:t,state:r}=Ei(),n=O.useRef(),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:"root"}},e,n),a=e.isDropTarget({type:"root"}),{visuallyHiddenProps:l}=Ru();return!a&&i["aria-hidden"]?null:w.createElement("div",{role:"row","aria-hidden":i["aria-hidden"]},w.createElement("div",{role:"gridcell","aria-selected":"false","aria-colspan":r.collection.columns.length},w.createElement("div",{role:"button",...l,...i,ref:n})))}function iye(e){let{itemText:t,itemCount:r,height:n,maxWidth:i}=e,a=r>1;return w.createElement(Ro,{justifyContent:"space-between",height:n,maxWidth:i,UNSAFE_className:z(Ne(pe),"spectrum-Table-row",z(Ne(kt),"react-spectrum-Table-row","react-spectrum-Table-row-dragPreview",{"react-spectrum-Table-row-dragPreview--multiple":a}))},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-cell",z(Ne(kt),"react-spectrum-Table-cell"))},w.createElement("span",{className:z(Ne(pe),"spectrum-Table-cellContents")},t)),a&&w.createElement("div",{className:z(Ne(kt),"react-spectrum-Table-row-badge")},r))}const eN={medium:34,large:40},tN={medium:38,large:46},e4={compact:{medium:32,large:40},regular:{medium:40,large:50},spacious:{medium:48,large:60}},rN={medium:38,large:48},nN={medium:16,large:20},iN={medium:16,large:20},Xne=w.createContext(null);function Ei(){return O.useContext(Xne)}const Jne=w.createContext(null);function aye(){return O.useContext(Jne)}function lye(e,t){var r;e=Fn(e);let{isQuiet:n,onAction:i,onResizeStart:a,onResizeEnd:l,dragAndDropHooks:s,state:u}=e,c=!!(s!=null&&s.useDraggableCollectionState),d=!!(s!=null&&s.useDroppableCollectionState),f=O.useRef(c),h=O.useRef(d);O.useEffect(()=>{f.current!==c&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),h.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),"expandedKeys"in u&&(c||d)&&console.warn("Drag and drop is not yet fully supported with expandable rows and may produce unexpected results.")},[c,d,u]);let{styleProps:p}=Nt(e),{direction:m}=yr(),{scale:g}=Gn();const b=O.useCallback(({props:{hideHeader:Se,isSelectionCell:Oe,showDivider:Ye,isDragButtonCell:We}})=>{if(Se){let at=tN[g];return Ye?at+1:at}else{if(Oe)return rN[g];if(We)return nN[g]}},[g]),v=O.useCallback(({props:{hideHeader:Se,isSelectionCell:Oe,showDivider:Ye,isDragButtonCell:We}})=>{if(Se){let at=tN[g];return Ye?at+1:at}else{if(Oe)return rN[g];if(We)return nN[g]}return 75},[g]);let[y,$]=O.useState(!1),[,S]=O.useState(!1),k=Xr(t),C=O.useRef(),F=O.useRef(),E=lr(Ne(bd),"@react-spectrum/table"),M=e.density||"regular",D=O.useMemo(()=>new Lbe({getDefaultWidth:b,getDefaultMinWidth:v}),[b,v]),T=O.useMemo(()=>new D0e({rowHeight:e.overflowMode==="wrap"?null:e4[M][g],estimatedRowHeight:e.overflowMode==="wrap"?e4[M][g]:null,headingHeight:e.overflowMode==="wrap"?null:eN[g],estimatedHeadingHeight:e.overflowMode==="wrap"?eN[g]:null,columnLayout:D,initialCollection:u.collection}),[e.overflowMode,g,M,D]),B=O.useMemo(()=>new Proxy(T,{get(Oe,Ye,We){return Ye==="tableState"?u:Reflect.get(Oe,Ye,We)}}),[u,T]),R,_=O.useRef(null);c&&(R=s.useDraggableCollectionState({collection:u.collection,selectionManager:u.selectionManager,preview:_}),s.useDraggableCollection({},R,k));let V=s==null?void 0:s.DragPreview,j,Z,q;d&&(j=s.useDroppableCollectionState({collection:u.collection,selectionManager:u.selectionManager}),Z=s.useDroppableCollection({keyboardDelegate:B,dropTargetDelegate:B},j,k),q=j.isDropTarget({type:"root"}));let{gridProps:U}=qbe({...e,isVirtualized:!0,layout:B,onRowAction:i},u,k),[A,W]=O.useState(!1),[Q,I]=O.useState(!1),H=(Se,Oe,Ye,We)=>{let at=Qv(Oe.layoutInfo,m,Se&&Se.layoutInfo);if(at.overflow==="hidden"&&(at.overflow="visible"),Oe.viewType==="rowgroup")return w.createElement(pye,{key:Oe.key,style:at},d&&w.createElement(nye,{key:"root"}),We(Ye));if(Oe.viewType==="header")return w.createElement(sye,{key:Oe.key,style:at},We(Ye));if(Oe.viewType==="row")return w.createElement(vye,{key:Oe.key,item:Oe.content,style:at,hasActions:i,isTableDroppable:d,isTableDraggable:c},We(Ye));if(Oe.viewType==="headerrow")return w.createElement(bye,{onHoverChange:I,key:Oe.key,style:at,item:Oe.content},We(Ye));let re,me;return d&&(Se.content&&(re=j.isDropTarget({type:"item",dropPosition:"on",key:Se.content.key})),me=j.isDropTarget({type:"root"})),w.createElement(JR,{key:Oe.key,layoutInfo:Oe.layoutInfo,virtualizer:Oe.virtualizer,parent:Se==null?void 0:Se.layoutInfo,className:z(Ne(pe),"spectrum-Table-cellWrapper",z(Ne(kt),{"react-spectrum-Table-cellWrapper":!Oe.layoutInfo.estimatedSize,"react-spectrum-Table-cellWrapper--dropTarget":re||me}))},Oe.rendered)},ee=(Se,Oe)=>{switch(Se){case"header":case"rowgroup":case"section":case"row":case"headerrow":return null;case"cell":return Oe.props.isSelectionCell?w.createElement($ye,{cell:Oe}):Oe.props.isDragButtonCell?w.createElement(yye,{cell:Oe}):w.createElement(Oye,{cell:Oe});case"placeholder":return w.createElement("div",{role:"gridcell","aria-colindex":Oe.index+1,"aria-colspan":Oe.colspan>1?Oe.colspan:null});case"column":return Oe.props.isSelectionCell?w.createElement(fye,{column:Oe}):Oe.props.isDragButtonCell?w.createElement(hye,{column:Oe}):Oe.props.hideHeader?w.createElement(Iv,{placement:"top",trigger:"focus"},w.createElement(aN,{column:Oe}),w.createElement(Rv,{placement:"top"},Oe.rendered)):Oe.props.allowsResizing&&!Oe.hasChildNodes?w.createElement(dye,{tableRef:k,column:Oe}):w.createElement(aN,{column:Oe});case"loader":return w.createElement(lN,null,w.createElement(gd,{isIndeterminate:!0,"aria-label":u.collection.size>0?E.format("loadingMore"):E.format("loading")}));case"empty":{let Ye=e.renderEmptyState?e.renderEmptyState():null;return Ye==null?null:w.createElement(lN,null,Ye)}}},[ue,se]=O.useState(!1),[Ce,tt]=O.useState(!1),Qe=O.useRef({x:0,y:0,width:0,height:0}),Te=O.useCallback(Se=>{Qe.current.width===Se.width&&Qe.current.height===Se.height||(Qe.current=Se,F.current&&(se(F.current.clientWidth+2{F.current.scrollLeft=C.current.scrollLeft},Lt=O.useCallback(Se=>{S(!0),a==null||a(Se)},[S,a]),fr=O.useCallback(Se=>{$(!1),S(!1),l==null||l(Se)},[l,$,S]),yt=u.selectionManager.focusedKey;(j==null||(r=j.target)===null||r===void 0?void 0:r.type)==="item"&&(yt=j.target.key);let be=$e(d&&(Z==null?void 0:Z.collectionProps),U,At,(s==null?void 0:s.isVirtualDragging())&&{tabIndex:null});return w.createElement(Xne.Provider,{value:{state:u,dragState:R,dropState:j,dragAndDropHooks:s,isTableDraggable:c,isTableDroppable:d,layout:B,onResizeStart:Lt,onResize:e.onResize,onResizeEnd:fr,headerRowHovered:Q,isInResizeMode:y,setIsInResizeMode:$,isEmpty:pt,onFocusedResizer:dr,headerMenuOpen:A,setHeaderMenuOpen:W}},w.createElement(oye,{...be,...p,className:z(Ne(pe),"spectrum-Table",`spectrum-Table--${M}`,{"spectrum-Table--quiet":n,"spectrum-Table--wrap":e.overflowMode==="wrap","spectrum-Table--loadingMore":u.collection.body.props.loadingState==="loadingMore","spectrum-Table--isVerticalScrollbarVisible":ue,"spectrum-Table--isHorizontalScrollbarVisible":Ce},z(Ne(kt),"react-spectrum-Table"),p.className),layout:B,collection:u.collection,focusedKey:yt,renderView:ee,renderWrapper:H,onVisibleRectChange:Te,domRef:k,headerRef:C,bodyRef:F,isFocusVisible:Ie,isVirtualDragging:s==null?void 0:s.isVirtualDragging(),isRootDropTarget:q}),V&&c&&w.createElement(V,{ref:_},()=>{if(s.renderPreview)return s.renderPreview(R.draggingKeys,R.draggedKey);let Se=R.draggingKeys.size,Oe=F.current.getBoundingClientRect().width,Ye=e4[M][g],We=u.collection.getTextValue(R.draggedKey);return w.createElement(iye,{itemText:We,itemCount:Se,height:Ye,maxWidth:Oe})}))}function oye(e){var t;let{layout:r,collection:n,focusedKey:i,renderView:a,renderWrapper:l,domRef:s,bodyRef:u,headerRef:c,onVisibleRectChange:d,isFocusVisible:f,isVirtualDragging:h,isRootDropTarget:p,...m}=e,{direction:g}=yr(),b=n.body.props.loadingState,v=b==="loading"||b==="loadingMore",y=n.body.props.onLoadMore,$=220;v&&($=160),r.resizingColumn!=null&&($=0);let S=gG({layout:r,collection:n,renderView:a,renderWrapper:l,onVisibleRectChange(q){u.current.scrollTop=q.y,R0e(u.current,g,q.x)},transitionDuration:$}),k=O.useCallback(q=>{let U=n.getItem(q),A=n.columns[0];S.virtualizer.scrollToItem(q,{duration:0,shouldScrollY:(U==null?void 0:U.type)!=="column",offsetX:A.props.isSelectionCell||A.props.isDragButtonCell?r.getColumnWidth(A.key):0}),c.current.scrollLeft=u.current.scrollLeft},[n,u,c,r,S.virtualizer]),C=O.useMemo(()=>({tabIndex:m.tabIndex,focusedKey:i,scrollToItem:k,isLoading:v,onLoadMore:y}),[m.tabIndex,i,k,v,y]),{virtualizerProps:F,scrollViewProps:{onVisibleRectChange:E}}=OG(C,S,s);O.useEffect(()=>{vs()==="keyboard"&&c.current.contains(document.activeElement)&&(PR(c.current,document.activeElement),io(document.activeElement,{containingElement:s.current}),u.current.scrollLeft=c.current.scrollLeft)},[S.contentSize,c,u,s]);let M=((t=r.getLayoutInfo("header"))===null||t===void 0?void 0:t.rect.height)||0,D=O.useCallback(()=>{c.current.scrollLeft=u.current.scrollLeft},[u,c]),T=r.getResizerPosition()-2,B=T>Math.max(S.virtualizer.contentSize.width,S.virtualizer.visibleRect.width)-3,R=T({width:V,key:r.resizingColumn}),[V,r.resizingColumn]),Z=$e(m,F,h&&{tabIndex:null});return w.createElement(Jne.Provider,{value:j},w.createElement(Zh,null,w.createElement("div",{...Z,ref:s},w.createElement("div",{role:"presentation",className:z(Ne(pe),"spectrum-Table-headWrapper"),style:{height:M,overflow:"hidden",position:"relative",willChange:S.isScrolling?"scroll-position":void 0,transition:S.isAnimating?`none ${S.virtualizer.transitionDuration}ms`:void 0},ref:c},S.visibleViews[0]),w.createElement(yG,{role:"presentation",className:z(Ne(pe),"spectrum-Table-body",{"focus-ring":f,"spectrum-Table-body--resizerAtTableEdge":_},z(Ne(kt),"react-spectrum-Table-body",{"react-spectrum-Table-body--dropTarget":!!p})),tabIndex:h?null:-1,style:{flex:1},innerStyle:{overflow:"visible",transition:S.isAnimating?`none ${S.virtualizer.transitionDuration}ms`:void 0},ref:u,contentSize:S.contentSize,onVisibleRectChange:yo(E,d),onScrollStart:S.startScrolling,onScrollEnd:S.endScrolling,onScroll:D},S.visibleViews[1],w.createElement("div",{className:z(Ne(pe),"spectrum-Table-bodyResizeIndicator"),style:{[g==="ltr"?"left":"right"]:`${T}px`,height:`${Math.max(S.virtualizer.contentSize.height,S.virtualizer.visibleRect.height)}px`,display:r.resizingColumn?"block":"none"}})))))}function sye({children:e,...t}){let{rowGroupProps:r}=Hne();return w.createElement("div",{...r,...t,className:z(Ne(pe),"spectrum-Table-head")},e)}function aN(e){var t,r,n,i;let{column:a}=e,l=O.useRef(null),{state:s,isEmpty:u}=Ei(),{pressProps:c,isPressed:d}=Vi({isDisabled:u}),f=a.props;O.useEffect(()=>{a.hasChildNodes&&f.allowsResizing&&console.warn(`Column key: ${a.key}. Columns with child columns don't allow resizing.`)},[a.hasChildNodes,a.key,f.allowsResizing]);let{columnHeaderProps:h}=eb({node:a,isVirtualized:!0},s,l),{hoverProps:p,isHovered:m}=Er({...e,isDisabled:u});const g=[h,p,c];return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...$e(...g),ref:l,className:z(Ne(pe),"spectrum-Table-headCell",{"is-active":d,"is-sortable":f.allowsSorting,"is-sorted-desc":((t=s.sortDescriptor)===null||t===void 0?void 0:t.column)===a.key&&((r=s.sortDescriptor)===null||r===void 0?void 0:r.direction)==="descending","is-sorted-asc":((n=s.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key&&((i=s.sortDescriptor)===null||i===void 0?void 0:i.direction)==="ascending","is-hovered":m,"spectrum-Table-cell--hideHeader":f.hideHeader},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignCenter":f.align==="center"||a.colspan>1,"react-spectrum-Table-cell--alignEnd":f.align==="end"}))},f.allowsSorting&&w.createElement(yv,{UNSAFE_className:z(Ne(pe),"spectrum-Table-sortedIcon")}),f.hideHeader?w.createElement(vd,null,a.rendered):w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellContents")},a.rendered)))}let uye=(e,t)=>{let{focusProps:r,alignment:n,...i}=e,{isEmpty:a}=Ei(),l=Ra(t),{buttonProps:s}=Ao({...i,elementType:"div",isDisabled:a},l),{hoverProps:u,isHovered:c}=Er({...i,isDisabled:a});return w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellContents",{"is-hovered":c}),...u},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellButton",{"spectrum-Table-headCellButton--alignStart":n==="start","spectrum-Table-headCellButton--alignCenter":n==="center","spectrum-Table-headCellButton--alignEnd":n==="end"}),...$e(s,r),ref:l},e.children))},cye=w.forwardRef(uye);function dye(e){var t,r,n,i,a;let{column:l}=e,s=O.useRef(null),u=O.useRef(null),c=O.useRef(null),{state:d,layout:f,onResizeStart:h,onResize:p,onResizeEnd:m,headerRowHovered:g,setIsInResizeMode:b,isEmpty:v,isInResizeMode:y,headerMenuOpen:$,setHeaderMenuOpen:S}=Ei(),k=lr(Ne(bd),"@react-spectrum/table"),{pressProps:C,isPressed:F}=Vi({isDisabled:v}),{columnHeaderProps:E}=eb({node:l,isVirtualized:!0},d,s),{hoverProps:M,isHovered:D}=Er({...e,isDisabled:v||$});const T=[E,C,M];let B=l.props,{isFocusVisible:R,focusProps:_}=Hc();const V=Q=>{switch(Q){case"sort-asc":d.sort(l.key,"ascending");break;case"sort-desc":d.sort(l.key,"descending");break;case"resize":f.startResize(l.key),b(!0),d.setKeyboardNavigationDisabled(!0);break}};let j=(t=l.props)===null||t===void 0?void 0:t.allowsSorting,Z=O.useMemo(()=>[j?{label:k.format("sortAscending"),id:"sort-asc"}:void 0,j?{label:k.format("sortDescending"),id:"sort-desc"}:void 0,{label:k.format("resizeColumn"),id:"resize"}],[j]),q=f.resizingColumn,U=!v&&(g&&vs()!=="keyboard"||q!=null),A="start",W="start";return B.align==="center"||l.colspan>1?A="center":B.align==="end"&&(A="end",W="end"),w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...$e(...T),ref:s,className:z(Ne(pe),"spectrum-Table-headCell",{"is-active":F,"is-resizable":B.allowsResizing,"is-sortable":B.allowsSorting,"is-sorted-desc":((r=d.sortDescriptor)===null||r===void 0?void 0:r.column)===l.key&&((n=d.sortDescriptor)===null||n===void 0?void 0:n.direction)==="descending","is-sorted-asc":((i=d.sortDescriptor)===null||i===void 0?void 0:i.column)===l.key&&((a=d.sortDescriptor)===null||a===void 0?void 0:a.direction)==="ascending","is-hovered":D,"focus-ring":R,"spectrum-Table-cell--hideHeader":B.hideHeader},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignCenter":A==="center","react-spectrum-Table-cell--alignEnd":A==="end"}))},w.createElement(Hge,{onOpenChange:S,align:W},w.createElement(cye,{alignment:A,ref:u,focusProps:_},B.allowsSorting&&w.createElement(yv,{UNSAFE_className:z(Ne(pe),"spectrum-Table-sortedIcon")}),B.hideHeader?w.createElement(vd,null,l.rendered):w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headerCellText")},l.rendered),B.allowsResizing&&w.createElement(L1,{UNSAFE_className:z(Ne(pe),"spectrum-Table-menuChevron")})),w.createElement(Xge,{onAction:V,minWidth:"size-2000",items:Z},Q=>w.createElement(E1,null,Q.label))),w.createElement(rye,{ref:c,column:l,showResizer:U,onResizeStart:h,onResize:p,onResizeEnd:m,triggerRef:Vg(u)}),w.createElement("div",{"aria-hidden":!0,className:z(Ne(pe),"spectrum-Table-colResizeIndicator",{"spectrum-Table-colResizeIndicator--visible":q!=null,"spectrum-Table-colResizeIndicator--resizing":q===l.key})},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-colResizeNubbin",{"spectrum-Table-colResizeNubbin--visible":y&&q===l.key})},w.createElement(Jbe,null)))))}function fye({column:e}){let t=O.useRef(),{state:r}=Ei(),n=r.selectionManager.selectionMode==="single",{columnHeaderProps:i}=eb({node:e,isVirtualized:!0},r,t),{checkboxProps:a}=Gbe(r),{hoverProps:l,isHovered:s}=Er({});return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...$e(i,l),ref:t,className:z(Ne(pe),"spectrum-Table-headCell","spectrum-Table-checkboxCell",{"is-hovered":s})},n&&w.createElement(vd,null,a["aria-label"]),w.createElement(q1,{...a,isEmphasized:!0,UNSAFE_style:n?{visibility:"hidden"}:void 0,UNSAFE_className:z(Ne(pe),"spectrum-Table-checkbox")})))}function hye({column:e}){let t=O.useRef(),{state:r}=Ei(),{columnHeaderProps:n}=eb({node:e,isVirtualized:!0},r,t),i=lr(Ne(bd),"@react-spectrum/table");return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...n,ref:t,className:z(Ne(pe),"spectrum-Table-headCell",z(Ne(kt),"react-spectrum-Table-headCell","react-spectrum-Table-dragButtonHeadCell"))},w.createElement(vd,null,i.format("drag"))))}function pye({children:e,...t}){let{rowGroupProps:r}=Hne();return w.createElement("div",{...r,...t},e)}function mye(){let{dragButtonProps:e,dragButtonRef:t,isFocusVisibleWithin:r}=gye(),{visuallyHiddenProps:n}=Ru();return w.createElement(_r,{focusRingClass:z(Ne(kt),"focus-ring")},w.createElement("div",{...e,className:z(Ne(kt),"react-spectrum-Table-dragButton"),style:r?{}:{...n.style},ref:t,draggable:"true"},w.createElement(M1e,{UNSAFE_className:z(Ne(kt))})))}const eie=w.createContext(null);function gye(){return O.useContext(eie)}function vye({item:e,children:t,hasActions:r,isTableDraggable:n,isTableDroppable:i,...a}){var l,s,u;let c=O.useRef(),{state:d,layout:f,dragAndDropHooks:h,dragState:p,dropState:m}=Ei(),b=!(d.selectionManager.selectionMode!=="none"||r)||d.disabledKeys.has(e.key),v=i&&!b,y=d.selectionManager.isSelected(e.key),{rowProps:$}=Hbe({node:e,isVirtualized:!0,shouldSelectOnPressUp:n},d,c),{pressProps:S,isPressed:k}=Vi({isDisabled:b}),{isFocusVisible:C,focusProps:F}=Hc({within:!0}),{isFocusVisible:E,focusProps:M}=Hc(),{hoverProps:D,isHovered:T}=Er({isDisabled:b}),B=((l=d.collection.rows.find(H=>H.level===1))===null||l===void 0?void 0:l.key)===e.key,R=e.nextKey==null,_=!1;R&&((s=f.getContentSize())===null||s===void 0?void 0:s.height)>=((u=f.virtualizer)===null||u===void 0?void 0:u.getVisibleRect().height)&&(_=!0);let V;n&&(V=h.useDraggableItem({key:e.key,hasDragButton:!0},p),b&&(V=null));let j,Z,q=O.useRef();if(i){let H={type:"item",key:e.key,dropPosition:"on"};j=m.isDropTarget(H),Z=h.useDropIndicator({target:H},m,q)}let U=w.useRef(),{buttonProps:A}=Ao({...V==null?void 0:V.dragButtonProps,elementType:"div"},U),W=$e($,a,F,M,D,S,V==null?void 0:V.dragProps,(h==null?void 0:h.isVirtualDragging())&&{tabIndex:null}),Q=v?void 0:{"aria-hidden":void 0},{visuallyHiddenProps:I}=Ru();return w.createElement(eie.Provider,{value:{dragButtonProps:A,dragButtonRef:U,isFocusVisibleWithin:C}},i&&B&&w.createElement(J_,{rowProps:W,key:`${e.key}-before`,target:{key:e.key,type:"item",dropPosition:"before"}}),i&&!(Z!=null&&Z.isHidden)&&w.createElement("div",{role:"row",...I},w.createElement("div",{role:"gridcell"},w.createElement("div",{role:"button",...Z==null?void 0:Z.dropIndicatorProps,ref:q}))),w.createElement("div",{...$e(W,Q),ref:c,className:z(Ne(pe),"spectrum-Table-row",{"is-active":k,"is-selected":y,"spectrum-Table-row--highlightSelection":d.selectionManager.selectionBehavior==="replace","is-next-selected":d.selectionManager.isSelected(e.nextKey),"is-focused":C,"focus-ring":E,"is-hovered":T,"is-disabled":b,"spectrum-Table-row--firstRow":B,"spectrum-Table-row--lastRow":R,"spectrum-Table-row--isFlushBottom":_},z(Ne(kt),"react-spectrum-Table-row",{"react-spectrum-Table-row--dropTarget":j}))},t),i&&w.createElement(J_,{rowProps:W,key:`${e.key}-after`,target:{key:e.key,type:"item",dropPosition:"after"}}))}function bye({item:e,children:t,style:r,...n}){let{state:i,headerMenuOpen:a}=Ei(),l=O.useRef(),{rowProps:s}=Kbe({node:e,isVirtualized:!0},i,l),{hoverProps:u}=Er({...n,isDisabled:a});return w.createElement("div",{...$e(s,u),ref:l,style:r},t)}function yye({cell:e}){let t=O.useRef(),{state:r,isTableDraggable:n}=Ei(),i=r.disabledKeys.has(e.parentKey),{gridCellProps:a}=sI({node:e,isVirtualized:!0},r,t);return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...a,ref:t,className:z(Ne(pe),"spectrum-Table-cell",{"is-disabled":i},z(Ne(kt),"react-spectrum-Table-cell","react-spectrum-Table-dragButtonCell"))},n&&!i&&w.createElement(mye,null)))}function $ye({cell:e}){let t=O.useRef(),{state:r}=Ei(),n=r.disabledKeys.has(e.parentKey),{gridCellProps:i}=sI({node:e,isVirtualized:!0},r,t),{checkboxProps:a}=Ybe({key:e.parentKey},r);return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...i,ref:t,className:z(Ne(pe),"spectrum-Table-cell","spectrum-Table-checkboxCell",{"is-disabled":n},z(Ne(kt),"react-spectrum-Table-cell"))},r.selectionManager.selectionMode!=="none"&&w.createElement(q1,{...a,isEmphasized:!0,isDisabled:n,UNSAFE_className:z(Ne(pe),"spectrum-Table-checkbox")})))}function Oye({cell:e}){let{scale:t}=Gn(),{state:r}=Ei(),n="expandedKeys"in r,i=O.useRef(),a=e.column.props,l=r.disabledKeys.has(e.parentKey),{gridCellProps:s}=sI({node:e,isVirtualized:!0},r,i),{id:u,...c}=s,d=r.collection.rowHeaderColumnKeys.keys().next().value===e.column.key,f=!1,h=!1,p=0;if("expandedKeys"in r){var m,g,b,v,y;f=((g=r.keyMap.get(e.parentKey))===null||g===void 0||(m=g.props.UNSTABLE_childItems)===null||m===void 0?void 0:m.length)>0||((y=r.keyMap.get(e.parentKey))===null||y===void 0||(v=y.props)===null||v===void 0||(b=v.children)===null||b===void 0?void 0:b.length)>r.userColumnCount,h=d&&f,p=(e.level-2)*iN[t]+(h?0:iN[t]*2)}return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...c,"aria-labelledby":u,ref:i,style:n&&d?{paddingInlineStart:p}:{},className:z(Ne(pe),"spectrum-Table-cell",{"spectrum-Table-cell--divider":a.showDivider&&e.column.nextKey!==null,"spectrum-Table-cell--hideHeader":a.hideHeader,"spectrum-Table-cell--hasExpandCollapseButton":h,"is-disabled":l},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignStart":a.align==="start","react-spectrum-Table-cell--alignCenter":a.align==="center","react-spectrum-Table-cell--alignEnd":a.align==="end"}))},h&&w.createElement(xye,{cell:e}),w.createElement("span",{id:u,className:z(Ne(pe),"spectrum-Table-cellContents")},e.rendered)))}function xye({cell:e}){let{direction:t}=yr(),{state:r}=Ei(),n=O.useRef(),i=lr(Ne(bd),"@react-spectrum/table"),a;"expandedKeys"in r&&(a=r.expandedKeys==="all"||r.expandedKeys.has(e.parentKey));let{buttonProps:l}=Ao({onPress:()=>{r.toggleKey(e.parentKey),Oo()||(r.selectionManager.setFocused(!0),r.selectionManager.setFocusedKey(e.parentKey))},elementType:"span","aria-label":a?i.format("collapse"):i.format("expand")},n);return w.createElement("span",{...l,ref:n,tabIndex:qc()?-1:void 0,className:z(Ne(pe),"spectrum-Table-expandButton",{"is-open":a})},t==="ltr"?w.createElement(T1e,null):w.createElement(E1e,null))}function lN({children:e}){let{state:t}=Ei(),r;if("expandedKeys"in t){let n=[...t.keyMap.get(t.collection.body.key).childNodes].length;r={"aria-level":1,"aria-posinset":n+1,"aria-setsize":n+1}}else r={"aria-rowindex":t.collection.headerRows.length+t.collection.size+1};return w.createElement("div",{role:"row",...r,className:z(Ne(kt),"react-spectrum-Table-centeredWrapper")},w.createElement("div",{role:"rowheader","aria-colspan":t.collection.columns.length},e))}const tie=w.forwardRef(lye);function Sye(e,t){let{selectionStyle:r,dragAndDropHooks:n}=e,[i,a]=O.useState(r!=="highlight"),l=!!(n!=null&&n.useDraggableCollectionState),s=lne({...e,showSelectionCheckboxes:i,showDragButtons:l,selectionBehavior:e.selectionStyle==="highlight"?"replace":"toggle"}),u=s.selectionManager.selectionBehavior!=="replace";return u!==i&&a(u),w.createElement(tie,{...e,state:s,ref:t})}const wye=w.forwardRef(Sye);function kye(e,t){let{selectionStyle:r,dragAndDropHooks:n}=e,[i,a]=O.useState(r!=="highlight"),l=!!(n!=null&&n.useDraggableCollectionState),s=jbe({...e,showSelectionCheckboxes:i,showDragButtons:l,selectionBehavior:e.selectionStyle==="highlight"?"replace":"toggle"}),u=s.selectionManager.selectionBehavior!=="replace";return u!==i&&a(u),w.createElement(tie,{...e,state:s,ref:t})}const Cye=w.forwardRef(kye);function Eye(e,t){let{UNSTABLE_allowsExpandableRows:r,...n}=e;return Gc()&&r?w.createElement(Cye,{...n,ref:t}):w.createElement(wye,{...n,ref:t})}const wn=w.forwardRef(Eye),Ve=zbe;function qd(e){return e&&e.__esModule?e.default:e}function nl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var rie={};nl(rie,"spectrum--darkest",()=>PA,e=>PA=e);var PA;PA="gP7gvq_spectrum--darkest";var _s={};nl(_s,"spectrum",()=>FA,e=>FA=e);nl(_s,"spectrum--dark",()=>AA,e=>AA=e);nl(_s,"spectrum--darkest",()=>DA,e=>DA=e);nl(_s,"spectrum--large",()=>TA,e=>TA=e);nl(_s,"spectrum--light",()=>RA,e=>RA=e);nl(_s,"spectrum--lightest",()=>IA,e=>IA=e);nl(_s,"spectrum--medium",()=>MA,e=>MA=e);var FA,AA,DA,TA,RA,IA,MA;FA="zA6MfG_spectrum";AA="zA6MfG_spectrum--dark";DA="zA6MfG_spectrum--darkest";TA="zA6MfG_spectrum--large";RA="zA6MfG_spectrum--light";IA="zA6MfG_spectrum--lightest";MA="zA6MfG_spectrum--medium";var nie={};nl(nie,"spectrum--large",()=>BA,e=>BA=e);var BA;BA="HAZavG_spectrum--large";var iie={};nl(iie,"spectrum--light",()=>_A,e=>_A=e);var _A;_A="PFjRbG_spectrum--light";var aie={};nl(aie,"spectrum--medium",()=>NA,e=>NA=e);var NA;NA="xSyFOq_spectrum--medium";let Pye={global:qd(_s),light:qd(iie),dark:qd(rie),medium:qd(aie),large:qd(nie)};function Fye(e){return e&&e.__esModule?e.default:e}function yd(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Bu={};yd(Bu,"focus-ring",()=>LA,e=>LA=e);yd(Bu,"i18nFontFamily",()=>QA,e=>QA=e);yd(Bu,"spectrum-FocusRing-ring",()=>x0,e=>x0=e);yd(Bu,"spectrum-FocusRing",()=>VA,e=>VA=e);yd(Bu,"spectrum-FocusRing--quiet",()=>zA,e=>zA=e);yd(Bu,"spectrum-Well",()=>jA,e=>jA=e);var LA,QA,x0,VA,zA,jA;LA="SWvLfG_focus-ring";QA="SWvLfG_i18nFontFamily";x0="SWvLfG_spectrum-FocusRing-ring";VA=`SWvLfG_spectrum-FocusRing ${x0}`;zA="SWvLfG_spectrum-FocusRing--quiet";jA="SWvLfG_spectrum-Well";function Aye(e,t){let{children:r,role:n,...i}=e,a=Xr(t),{styleProps:l}=Nt(i);return!n&&(e["aria-label"]||e["aria-labelledby"])&&console.warn("A labelled Well must have a role."),w.createElement("div",{...Kt(i,{labelable:!!n}),...l,role:n,ref:a,className:z(Fye(Bu),"spectrum-Well",l.className)},r)}const Dye=O.forwardRef(Aye),lie=w.createContext();function tb(){return O.useContext(lie)}var oie={};Object.defineProperty(oie,"__esModule",{value:!0});var Tye=oie.A4uShowMenu=Iye,Kp=Rye(O);function Rye(e){return e&&e.__esModule?e:{default:e}}function S0(){return S0=Object.assign?Object.assign.bind():function(e){for(var t=1;twindow.matchMedia(Bye[e]),Nye=e=>_ye(e).matches,oN=()=>Nye("desktop-up"),sie=()=>{const[e,t]=O.useState(oN());return O.useEffect(()=>{const r=()=>{t(oN())};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),{isDesktopUp:e}},fe=({children:e,href:t,exact:r=!1,...n})=>{const i=C1(),a=u=>{u.preventDefault(),i(t)};let l=k1();const s=r?l.pathname===t:l.pathname.includes(t);return o("li",{className:`spectrum-SideNav-item ${s?"is-selected":""}`,children:o("a",{...n,onClick:a,className:"spectrum-SideNav-itemLink",children:e})})},Lye=()=>{const{isDesktopUp:e}=sie(),{toggleNav:t,lineNumbers:r,setLineNumbers:n,comments:i,toggleComments:a}=tb();return o("header",{className:"pageHeader",children:x(Ro,{direction:"row",alignItems:"center",gap:"size-100",children:[e?null:o(xo,{"aria-label":"Open Menu",onClick:()=>t(),children:o(Mye,{})}),e?x(le,{children:[o(fe,{href:"/getting-started/intro",children:"Getting Started"}),o(fe,{href:"/api-reference/useField",children:"Api Reference"}),o(fe,{href:"/examples/array-field",children:"Examples"}),o(fe,{href:"/playground",children:"Playground"}),o("li",{className:"spectrum-SideNav-item",children:o("a",{href:"/informed/olddocs",className:"spectrum-SideNav-itemLink",children:"Old Docs"})})]}):null,x("div",{className:"toggle",style:{position:"absolute",display:"flex",alignItems:"center",gap:"5px"},children:[o("span",{children:"Show Comments"}),o(Ore,{"aria-label":"show-comments",isSelected:i,onChange:a})]})]})})},Qye="/informed/assets/notfound-55c94053.svg",Vye=()=>o("div",{className:"doge",children:o("img",{src:Qye,alt:"Not Found"})}),zye="/informed/assets/unauthorized-4e199455.svg",jye=()=>o("div",{className:"doge",children:o("img",{src:zye,alt:"Unauthorized logo"})});function Wye(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,l,s=[],u=!0,c=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(d){c=!0,i=d}finally{try{if(!u&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw i}}return s}}function sN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function ci(e,t){if(e==null)return{};var r=qye(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Rr(e,t){return Kye(e)||Wye(e,t)||uI(e,t)||Xye()}function Zn(e){return Hye(e)||Yye(e)||uI(e)||Gye()}function Hye(e){if(Array.isArray(e))return WA(e)}function Kye(e){if(Array.isArray(e))return e}function Yye(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uI(e,t){if(e){if(typeof e=="string")return WA(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 WA(e,t)}}function WA(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,l=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return a=u.done,u},e:function(u){l=!0,s=u},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw s}}}}var Xc=w.createContext({}),cie=w.createContext({}),die=w.createContext({}),fie=w.createContext(),hie=w.createContext(),pie=w.createContext(),mie=w.createContext(),gie=w.createContext(),ZA=w.createContext(),cN=w.createContext(),UA=w.createContext(),vie=w.createContext(),oa=w.createContext(),bie=w.createContext();function ji(){var e=O.useContext(Xc);return e}var e4e=function(t){var r=O.useRef(),n=O.useRef(!1),i=O.useRef(!1),a=O.useState(0),l=Rr(a,2);l[0];var s=l[1];n.current&&(i.current=!0),O.useEffect(function(){return n.current||(r.current=t(),n.current=!0),s(function(u){return u+1}),function(){i.current&&r.current&&r.current()}},[])};function hh(e){var t=O.useRef(),r=O.useRef(!0),n=O.useState(e),i=Rr(n,2),a=i[0],l=i[1];t.current=a;var s=function(d){t.current=d,r.current&&l(d)},u=function(){return t.current};return e4e(function(){return function(){r.current=!1}}),[a,s,u]}function t4e(e,t){for(var r=0,n=0;n{let $=S=>{S.pointerType==="mouse"&&d(!0)},y=S=>{S.pointerType==="mouse"&&d(!1)};return document.addEventListener("pointerdown",$,{capture:!0}),document.addEventListener("pointerup",y,{capture:!0}),()=>{document.removeEventListener("pointerdown",$,{capture:!0}),document.removeEventListener("pointerup",y,{capture:!0})}},[]);let{inputProps:f,resizerProps:h}=nye(Oe(e,{"aria-label":s.format("columnResizer"),isDisabled:i}),a,t),p=a.getColumnMinWidth(r.key)>=a.getColumnWidth(r.key),m=a.getColumnMaxWidth(r.key)<=a.getColumnWidth(r.key),g=a.resizingColumn===r.key,b="";p?b=u==="rtl"?qd.w:qd.e:m?b=u==="rtl"?qd.e:qd.w:b=qd.ew;let v={...h.style,height:"100%",display:n?void 0:"none",cursor:b};return w.createElement(w.Fragment,null,w.createElement(_r,{within:!0,focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...h,role:"presentation",style:v,className:z(Ne(pe),"spectrum-Table-columnResizer")},w.createElement("input",{ref:t,...Oe(f,{onFocus:l})}))),w.createElement("div",{"aria-hidden":!0,role:"presentation",className:z(Ne(pe),"spectrum-Table-columnResizerPlaceholder")}),w.createElement(lye,{show:g&&c},w.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:b}})))}function lye(e){let{show:t,children:r}=e;return t?pc.createPortal(r,document.body):null}const oye=w.forwardRef(aye);function sye(){let{dropState:e,dragAndDropHooks:t,state:r}=Ei(),n=O.useRef(),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:"root"}},e,n),a=e.isDropTarget({type:"root"}),{visuallyHiddenProps:l}=Tu();return!a&&i["aria-hidden"]?null:w.createElement("div",{role:"row","aria-hidden":i["aria-hidden"]},w.createElement("div",{role:"gridcell","aria-selected":"false","aria-colspan":r.collection.columns.length},w.createElement("div",{role:"button",...l,...i,ref:n})))}function uye(e){let{itemText:t,itemCount:r,height:n,maxWidth:i}=e,a=r>1;return w.createElement(To,{justifyContent:"space-between",height:n,maxWidth:i,UNSAFE_className:z(Ne(pe),"spectrum-Table-row",z(Ne(kt),"react-spectrum-Table-row","react-spectrum-Table-row-dragPreview",{"react-spectrum-Table-row-dragPreview--multiple":a}))},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-cell",z(Ne(kt),"react-spectrum-Table-cell"))},w.createElement("span",{className:z(Ne(pe),"spectrum-Table-cellContents")},t)),a&&w.createElement("div",{className:z(Ne(kt),"react-spectrum-Table-row-badge")},r))}const nN={medium:34,large:40},iN={medium:38,large:46},n4={compact:{medium:32,large:40},regular:{medium:40,large:50},spacious:{medium:48,large:60}},aN={medium:38,large:48},lN={medium:16,large:20},oN={medium:16,large:20},rie=w.createContext(null);function Ei(){return O.useContext(rie)}const nie=w.createContext(null);function cye(){return O.useContext(nie)}function dye(e,t){var r;e=Fn(e);let{isQuiet:n,onAction:i,onResizeStart:a,onResizeEnd:l,dragAndDropHooks:s,state:u}=e,c=!!(s!=null&&s.useDraggableCollectionState),d=!!(s!=null&&s.useDroppableCollectionState),f=O.useRef(c),h=O.useRef(d);O.useEffect(()=>{f.current!==c&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),h.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),"expandedKeys"in u&&(c||d)&&console.warn("Drag and drop is not yet fully supported with expandable rows and may produce unexpected results.")},[c,d,u]);let{styleProps:p}=Nt(e),{direction:m}=yr(),{scale:g}=Gn();const b=O.useCallback(({props:{hideHeader:ke,isSelectionCell:xe,showDivider:Ye,isDragButtonCell:We}})=>{if(ke){let at=iN[g];return Ye?at+1:at}else{if(xe)return aN[g];if(We)return lN[g]}},[g]),v=O.useCallback(({props:{hideHeader:ke,isSelectionCell:xe,showDivider:Ye,isDragButtonCell:We}})=>{if(ke){let at=iN[g];return Ye?at+1:at}else{if(xe)return aN[g];if(We)return lN[g]}return 75},[g]);let[$,y]=O.useState(!1),[,S]=O.useState(!1),k=Xr(t),C=O.useRef(),F=O.useRef(),E=or(Ne(yd),"@react-spectrum/table"),M=e.density||"regular",D=O.useMemo(()=>new Wbe({getDefaultWidth:b,getDefaultMinWidth:v}),[b,v]),R=O.useMemo(()=>new B0e({rowHeight:e.overflowMode==="wrap"?null:n4[M][g],estimatedRowHeight:e.overflowMode==="wrap"?n4[M][g]:null,headingHeight:e.overflowMode==="wrap"?null:nN[g],estimatedHeadingHeight:e.overflowMode==="wrap"?nN[g]:null,columnLayout:D,initialCollection:u.collection}),[e.overflowMode,g,M,D]),B=O.useMemo(()=>new Proxy(R,{get(xe,Ye,We){return Ye==="tableState"?u:Reflect.get(xe,Ye,We)}}),[u,R]),T,_=O.useRef(null);c&&(T=s.useDraggableCollectionState({collection:u.collection,selectionManager:u.selectionManager,preview:_}),s.useDraggableCollection({},T,k));let Q=s==null?void 0:s.DragPreview,W,Z,q;d&&(W=s.useDroppableCollectionState({collection:u.collection,selectionManager:u.selectionManager}),Z=s.useDroppableCollection({keyboardDelegate:B,dropTargetDelegate:B},W,k),q=W.isDropTarget({type:"root"}));let{gridProps:U}=Xbe({...e,isVirtualized:!0,layout:B,onRowAction:i},u,k),[A,j]=O.useState(!1),[V,I]=O.useState(!1),Y=(ke,xe,Ye,We)=>{let at=jv(xe.layoutInfo,m,ke&&ke.layoutInfo);if(at.overflow==="hidden"&&(at.overflow="visible"),xe.viewType==="rowgroup")return w.createElement(yye,{key:xe.key,style:at},d&&w.createElement(sye,{key:"root"}),We(Ye));if(xe.viewType==="header")return w.createElement(hye,{key:xe.key,style:at},We(Ye));if(xe.viewType==="row")return w.createElement(xye,{key:xe.key,item:xe.content,style:at,hasActions:i,isTableDroppable:d,isTableDraggable:c},We(Ye));if(xe.viewType==="headerrow")return w.createElement(Sye,{onHoverChange:I,key:xe.key,style:at,item:xe.content},We(Ye));let re,ge;return d&&(ke.content&&(re=W.isDropTarget({type:"item",dropPosition:"on",key:ke.content.key})),ge=W.isDropTarget({type:"root"})),w.createElement(rI,{key:xe.key,layoutInfo:xe.layoutInfo,virtualizer:xe.virtualizer,parent:ke==null?void 0:ke.layoutInfo,className:z(Ne(pe),"spectrum-Table-cellWrapper",z(Ne(kt),{"react-spectrum-Table-cellWrapper":!xe.layoutInfo.estimatedSize,"react-spectrum-Table-cellWrapper--dropTarget":re||ge}))},xe.rendered)},ee=(ke,xe)=>{switch(ke){case"header":case"rowgroup":case"section":case"row":case"headerrow":return null;case"cell":return xe.props.isSelectionCell?w.createElement(kye,{cell:xe}):xe.props.isDragButtonCell?w.createElement(wye,{cell:xe}):w.createElement(Cye,{cell:xe});case"placeholder":return w.createElement("div",{role:"gridcell","aria-colindex":xe.index+1,"aria-colspan":xe.colspan>1?xe.colspan:null});case"column":return xe.props.isSelectionCell?w.createElement(vye,{column:xe}):xe.props.isDragButtonCell?w.createElement(bye,{column:xe}):xe.props.hideHeader?w.createElement(_v,{placement:"top",trigger:"focus"},w.createElement(sN,{column:xe}),w.createElement(Bv,{placement:"top"},xe.rendered)):xe.props.allowsResizing&&!xe.hasChildNodes?w.createElement(gye,{tableRef:k,column:xe}):w.createElement(sN,{column:xe});case"loader":return w.createElement(uN,null,w.createElement(vd,{isIndeterminate:!0,"aria-label":u.collection.size>0?E.format("loadingMore"):E.format("loading")}));case"empty":{let Ye=e.renderEmptyState?e.renderEmptyState():null;return Ye==null?null:w.createElement(uN,null,Ye)}}},[se,le]=O.useState(!1),[be,Je]=O.useState(!1),Ve=O.useRef({x:0,y:0,width:0,height:0}),Re=O.useCallback(ke=>{Ve.current.width===ke.width&&Ve.current.height===ke.height||(Ve.current=ke,F.current&&(le(F.current.clientWidth+2{F.current.scrollLeft=C.current.scrollLeft},Lt=O.useCallback(ke=>{S(!0),a==null||a(ke)},[S,a]),hr=O.useCallback(ke=>{y(!1),S(!1),l==null||l(ke)},[l,y,S]),yt=u.selectionManager.focusedKey;(W==null||(r=W.target)===null||r===void 0?void 0:r.type)==="item"&&(yt=W.target.key);let ye=Oe(d&&(Z==null?void 0:Z.collectionProps),U,At,(s==null?void 0:s.isVirtualDragging())&&{tabIndex:null});return w.createElement(rie.Provider,{value:{state:u,dragState:T,dropState:W,dragAndDropHooks:s,isTableDraggable:c,isTableDroppable:d,layout:B,onResizeStart:Lt,onResize:e.onResize,onResizeEnd:hr,headerRowHovered:V,isInResizeMode:$,setIsInResizeMode:y,isEmpty:pt,onFocusedResizer:fr,headerMenuOpen:A,setHeaderMenuOpen:j}},w.createElement(fye,{...ye,...p,className:z(Ne(pe),"spectrum-Table",`spectrum-Table--${M}`,{"spectrum-Table--quiet":n,"spectrum-Table--wrap":e.overflowMode==="wrap","spectrum-Table--loadingMore":u.collection.body.props.loadingState==="loadingMore","spectrum-Table--isVerticalScrollbarVisible":se,"spectrum-Table--isHorizontalScrollbarVisible":be},z(Ne(kt),"react-spectrum-Table"),p.className),layout:B,collection:u.collection,focusedKey:yt,renderView:ee,renderWrapper:Y,onVisibleRectChange:Re,domRef:k,headerRef:C,bodyRef:F,isFocusVisible:Ie,isVirtualDragging:s==null?void 0:s.isVirtualDragging(),isRootDropTarget:q}),Q&&c&&w.createElement(Q,{ref:_},()=>{if(s.renderPreview)return s.renderPreview(T.draggingKeys,T.draggedKey);let ke=T.draggingKeys.size,xe=F.current.getBoundingClientRect().width,Ye=n4[M][g],We=u.collection.getTextValue(T.draggedKey);return w.createElement(uye,{itemText:We,itemCount:ke,height:Ye,maxWidth:xe})}))}function fye(e){var t;let{layout:r,collection:n,focusedKey:i,renderView:a,renderWrapper:l,domRef:s,bodyRef:u,headerRef:c,onVisibleRectChange:d,isFocusVisible:f,isVirtualDragging:h,isRootDropTarget:p,...m}=e,{direction:g}=yr(),b=n.body.props.loadingState,v=b==="loading"||b==="loadingMore",$=n.body.props.onLoadMore,y=220;v&&(y=160),r.resizingColumn!=null&&(y=0);let S=$G({layout:r,collection:n,renderView:a,renderWrapper:l,onVisibleRectChange(q){u.current.scrollTop=q.y,N0e(u.current,g,q.x)},transitionDuration:y}),k=O.useCallback(q=>{let U=n.getItem(q),A=n.columns[0];S.virtualizer.scrollToItem(q,{duration:0,shouldScrollY:(U==null?void 0:U.type)!=="column",offsetX:A.props.isSelectionCell||A.props.isDragButtonCell?r.getColumnWidth(A.key):0}),c.current.scrollLeft=u.current.scrollLeft},[n,u,c,r,S.virtualizer]),C=O.useMemo(()=>({tabIndex:m.tabIndex,focusedKey:i,scrollToItem:k,isLoading:v,onLoadMore:$}),[m.tabIndex,i,k,v,$]),{virtualizerProps:F,scrollViewProps:{onVisibleRectChange:E}}=kG(C,S,s);O.useEffect(()=>{bs()==="keyboard"&&c.current.contains(document.activeElement)&&(DT(c.current,document.activeElement),io(document.activeElement,{containingElement:s.current}),u.current.scrollLeft=c.current.scrollLeft)},[S.contentSize,c,u,s]);let M=((t=r.getLayoutInfo("header"))===null||t===void 0?void 0:t.rect.height)||0,D=O.useCallback(()=>{c.current.scrollLeft=u.current.scrollLeft},[u,c]),R=r.getResizerPosition()-2,B=R>Math.max(S.virtualizer.contentSize.width,S.virtualizer.visibleRect.width)-3,T=R({width:Q,key:r.resizingColumn}),[Q,r.resizingColumn]),Z=Oe(m,F,h&&{tabIndex:null});return w.createElement(nie.Provider,{value:W},w.createElement(qh,null,w.createElement("div",{...Z,ref:s},w.createElement("div",{role:"presentation",className:z(Ne(pe),"spectrum-Table-headWrapper"),style:{height:M,overflow:"hidden",position:"relative",willChange:S.isScrolling?"scroll-position":void 0,transition:S.isAnimating?`none ${S.virtualizer.transitionDuration}ms`:void 0},ref:c},S.visibleViews[0]),w.createElement(SG,{role:"presentation",className:z(Ne(pe),"spectrum-Table-body",{"focus-ring":f,"spectrum-Table-body--resizerAtTableEdge":_},z(Ne(kt),"react-spectrum-Table-body",{"react-spectrum-Table-body--dropTarget":!!p})),tabIndex:h?null:-1,style:{flex:1},innerStyle:{overflow:"visible",transition:S.isAnimating?`none ${S.virtualizer.transitionDuration}ms`:void 0},ref:u,contentSize:S.contentSize,onVisibleRectChange:yo(E,d),onScrollStart:S.startScrolling,onScrollEnd:S.endScrolling,onScroll:D},S.visibleViews[1],w.createElement("div",{className:z(Ne(pe),"spectrum-Table-bodyResizeIndicator"),style:{[g==="ltr"?"left":"right"]:`${R}px`,height:`${Math.max(S.virtualizer.contentSize.height,S.virtualizer.visibleRect.height)}px`,display:r.resizingColumn?"block":"none"}})))))}function hye({children:e,...t}){let{rowGroupProps:r}=Xne();return w.createElement("div",{...r,...t,className:z(Ne(pe),"spectrum-Table-head")},e)}function sN(e){var t,r,n,i;let{column:a}=e,l=O.useRef(null),{state:s,isEmpty:u}=Ei(),{pressProps:c,isPressed:d}=zi({isDisabled:u}),f=a.props;O.useEffect(()=>{a.hasChildNodes&&f.allowsResizing&&console.warn(`Column key: ${a.key}. Columns with child columns don't allow resizing.`)},[a.hasChildNodes,a.key,f.allowsResizing]);let{columnHeaderProps:h}=nb({node:a,isVirtualized:!0},s,l),{hoverProps:p,isHovered:m}=Er({...e,isDisabled:u});const g=[h,p,c];return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...Oe(...g),ref:l,className:z(Ne(pe),"spectrum-Table-headCell",{"is-active":d,"is-sortable":f.allowsSorting,"is-sorted-desc":((t=s.sortDescriptor)===null||t===void 0?void 0:t.column)===a.key&&((r=s.sortDescriptor)===null||r===void 0?void 0:r.direction)==="descending","is-sorted-asc":((n=s.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key&&((i=s.sortDescriptor)===null||i===void 0?void 0:i.direction)==="ascending","is-hovered":m,"spectrum-Table-cell--hideHeader":f.hideHeader},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignCenter":f.align==="center"||a.colspan>1,"react-spectrum-Table-cell--alignEnd":f.align==="end"}))},f.allowsSorting&&w.createElement(xv,{UNSAFE_className:z(Ne(pe),"spectrum-Table-sortedIcon")}),f.hideHeader?w.createElement(bd,null,a.rendered):w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellContents")},a.rendered)))}let pye=(e,t)=>{let{focusProps:r,alignment:n,...i}=e,{isEmpty:a}=Ei(),l=Ta(t),{buttonProps:s}=Ao({...i,elementType:"div",isDisabled:a},l),{hoverProps:u,isHovered:c}=Er({...i,isDisabled:a});return w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellContents",{"is-hovered":c}),...u},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headCellButton",{"spectrum-Table-headCellButton--alignStart":n==="start","spectrum-Table-headCellButton--alignCenter":n==="center","spectrum-Table-headCellButton--alignEnd":n==="end"}),...Oe(s,r),ref:l},e.children))},mye=w.forwardRef(pye);function gye(e){var t,r,n,i,a;let{column:l}=e,s=O.useRef(null),u=O.useRef(null),c=O.useRef(null),{state:d,layout:f,onResizeStart:h,onResize:p,onResizeEnd:m,headerRowHovered:g,setIsInResizeMode:b,isEmpty:v,isInResizeMode:$,headerMenuOpen:y,setHeaderMenuOpen:S}=Ei(),k=or(Ne(yd),"@react-spectrum/table"),{pressProps:C,isPressed:F}=zi({isDisabled:v}),{columnHeaderProps:E}=nb({node:l,isVirtualized:!0},d,s),{hoverProps:M,isHovered:D}=Er({...e,isDisabled:v||y});const R=[E,C,M];let B=l.props,{isFocusVisible:T,focusProps:_}=Kc();const Q=V=>{switch(V){case"sort-asc":d.sort(l.key,"ascending");break;case"sort-desc":d.sort(l.key,"descending");break;case"resize":f.startResize(l.key),b(!0),d.setKeyboardNavigationDisabled(!0);break}};let W=(t=l.props)===null||t===void 0?void 0:t.allowsSorting,Z=O.useMemo(()=>[W?{label:k.format("sortAscending"),id:"sort-asc"}:void 0,W?{label:k.format("sortDescending"),id:"sort-desc"}:void 0,{label:k.format("resizeColumn"),id:"resize"}],[W]),q=f.resizingColumn,U=!v&&(g&&bs()!=="keyboard"||q!=null),A="start",j="start";return B.align==="center"||l.colspan>1?A="center":B.align==="end"&&(A="end",j="end"),w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...Oe(...R),ref:s,className:z(Ne(pe),"spectrum-Table-headCell",{"is-active":F,"is-resizable":B.allowsResizing,"is-sortable":B.allowsSorting,"is-sorted-desc":((r=d.sortDescriptor)===null||r===void 0?void 0:r.column)===l.key&&((n=d.sortDescriptor)===null||n===void 0?void 0:n.direction)==="descending","is-sorted-asc":((i=d.sortDescriptor)===null||i===void 0?void 0:i.column)===l.key&&((a=d.sortDescriptor)===null||a===void 0?void 0:a.direction)==="ascending","is-hovered":D,"focus-ring":T,"spectrum-Table-cell--hideHeader":B.hideHeader},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignCenter":A==="center","react-spectrum-Table-cell--alignEnd":A==="end"}))},w.createElement(Jge,{onOpenChange:S,align:j},w.createElement(mye,{alignment:A,ref:u,focusProps:_},B.allowsSorting&&w.createElement(xv,{UNSAFE_className:z(Ne(pe),"spectrum-Table-sortedIcon")}),B.hideHeader?w.createElement(bd,null,l.rendered):w.createElement("div",{className:z(Ne(pe),"spectrum-Table-headerCellText")},l.rendered),B.allowsResizing&&w.createElement(z1,{UNSAFE_className:z(Ne(pe),"spectrum-Table-menuChevron")})),w.createElement(nve,{onAction:Q,minWidth:"size-2000",items:Z},V=>w.createElement(A1,null,V.label))),w.createElement(oye,{ref:c,column:l,showResizer:U,onResizeStart:h,onResize:p,onResizeEnd:m,triggerRef:Wg(u)}),w.createElement("div",{"aria-hidden":!0,className:z(Ne(pe),"spectrum-Table-colResizeIndicator",{"spectrum-Table-colResizeIndicator--visible":q!=null,"spectrum-Table-colResizeIndicator--resizing":q===l.key})},w.createElement("div",{className:z(Ne(pe),"spectrum-Table-colResizeNubbin",{"spectrum-Table-colResizeNubbin--visible":$&&q===l.key})},w.createElement(iye,null)))))}function vye({column:e}){let t=O.useRef(),{state:r}=Ei(),n=r.selectionManager.selectionMode==="single",{columnHeaderProps:i}=nb({node:e,isVirtualized:!0},r,t),{checkboxProps:a}=rye(r),{hoverProps:l,isHovered:s}=Er({});return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...Oe(i,l),ref:t,className:z(Ne(pe),"spectrum-Table-headCell","spectrum-Table-checkboxCell",{"is-hovered":s})},n&&w.createElement(bd,null,a["aria-label"]),w.createElement(Y1,{...a,isEmphasized:!0,UNSAFE_style:n?{visibility:"hidden"}:void 0,UNSAFE_className:z(Ne(pe),"spectrum-Table-checkbox")})))}function bye({column:e}){let t=O.useRef(),{state:r}=Ei(),{columnHeaderProps:n}=nb({node:e,isVirtualized:!0},r,t),i=or(Ne(yd),"@react-spectrum/table");return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...n,ref:t,className:z(Ne(pe),"spectrum-Table-headCell",z(Ne(kt),"react-spectrum-Table-headCell","react-spectrum-Table-dragButtonHeadCell"))},w.createElement(bd,null,i.format("drag"))))}function yye({children:e,...t}){let{rowGroupProps:r}=Xne();return w.createElement("div",{...r,...t},e)}function $ye(){let{dragButtonProps:e,dragButtonRef:t,isFocusVisibleWithin:r}=Oye(),{visuallyHiddenProps:n}=Tu();return w.createElement(_r,{focusRingClass:z(Ne(kt),"focus-ring")},w.createElement("div",{...e,className:z(Ne(kt),"react-spectrum-Table-dragButton"),style:r?{}:{...n.style},ref:t,draggable:"true"},w.createElement(V1e,{UNSAFE_className:z(Ne(kt))})))}const iie=w.createContext(null);function Oye(){return O.useContext(iie)}function xye({item:e,children:t,hasActions:r,isTableDraggable:n,isTableDroppable:i,...a}){var l,s,u;let c=O.useRef(),{state:d,layout:f,dragAndDropHooks:h,dragState:p,dropState:m}=Ei(),b=!(d.selectionManager.selectionMode!=="none"||r)||d.disabledKeys.has(e.key),v=i&&!b,$=d.selectionManager.isSelected(e.key),{rowProps:y}=Jbe({node:e,isVirtualized:!0,shouldSelectOnPressUp:n},d,c),{pressProps:S,isPressed:k}=zi({isDisabled:b}),{isFocusVisible:C,focusProps:F}=Kc({within:!0}),{isFocusVisible:E,focusProps:M}=Kc(),{hoverProps:D,isHovered:R}=Er({isDisabled:b}),B=((l=d.collection.rows.find(Y=>Y.level===1))===null||l===void 0?void 0:l.key)===e.key,T=e.nextKey==null,_=!1;T&&((s=f.getContentSize())===null||s===void 0?void 0:s.height)>=((u=f.virtualizer)===null||u===void 0?void 0:u.getVisibleRect().height)&&(_=!0);let Q;n&&(Q=h.useDraggableItem({key:e.key,hasDragButton:!0},p),b&&(Q=null));let W,Z,q=O.useRef();if(i){let Y={type:"item",key:e.key,dropPosition:"on"};W=m.isDropTarget(Y),Z=h.useDropIndicator({target:Y},m,q)}let U=w.useRef(),{buttonProps:A}=Ao({...Q==null?void 0:Q.dragButtonProps,elementType:"div"},U),j=Oe(y,a,F,M,D,S,Q==null?void 0:Q.dragProps,(h==null?void 0:h.isVirtualDragging())&&{tabIndex:null}),V=v?void 0:{"aria-hidden":void 0},{visuallyHiddenProps:I}=Tu();return w.createElement(iie.Provider,{value:{dragButtonProps:A,dragButtonRef:U,isFocusVisibleWithin:C}},i&&B&&w.createElement(rN,{rowProps:j,key:`${e.key}-before`,target:{key:e.key,type:"item",dropPosition:"before"}}),i&&!(Z!=null&&Z.isHidden)&&w.createElement("div",{role:"row",...I},w.createElement("div",{role:"gridcell"},w.createElement("div",{role:"button",...Z==null?void 0:Z.dropIndicatorProps,ref:q}))),w.createElement("div",{...Oe(j,V),ref:c,className:z(Ne(pe),"spectrum-Table-row",{"is-active":k,"is-selected":$,"spectrum-Table-row--highlightSelection":d.selectionManager.selectionBehavior==="replace","is-next-selected":d.selectionManager.isSelected(e.nextKey),"is-focused":C,"focus-ring":E,"is-hovered":R,"is-disabled":b,"spectrum-Table-row--firstRow":B,"spectrum-Table-row--lastRow":T,"spectrum-Table-row--isFlushBottom":_},z(Ne(kt),"react-spectrum-Table-row",{"react-spectrum-Table-row--dropTarget":W}))},t),i&&w.createElement(rN,{rowProps:j,key:`${e.key}-after`,target:{key:e.key,type:"item",dropPosition:"after"}}))}function Sye({item:e,children:t,style:r,...n}){let{state:i,headerMenuOpen:a}=Ei(),l=O.useRef(),{rowProps:s}=eye({node:e,isVirtualized:!0},i,l),{hoverProps:u}=Er({...n,isDisabled:a});return w.createElement("div",{...Oe(s,u),ref:l,style:r},t)}function wye({cell:e}){let t=O.useRef(),{state:r,isTableDraggable:n}=Ei(),i=r.disabledKeys.has(e.parentKey),{gridCellProps:a}=dI({node:e,isVirtualized:!0},r,t);return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...a,ref:t,className:z(Ne(pe),"spectrum-Table-cell",{"is-disabled":i},z(Ne(kt),"react-spectrum-Table-cell","react-spectrum-Table-dragButtonCell"))},n&&!i&&w.createElement($ye,null)))}function kye({cell:e}){let t=O.useRef(),{state:r}=Ei(),n=r.disabledKeys.has(e.parentKey),{gridCellProps:i}=dI({node:e,isVirtualized:!0},r,t),{checkboxProps:a}=tye({key:e.parentKey},r);return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...i,ref:t,className:z(Ne(pe),"spectrum-Table-cell","spectrum-Table-checkboxCell",{"is-disabled":n},z(Ne(kt),"react-spectrum-Table-cell"))},r.selectionManager.selectionMode!=="none"&&w.createElement(Y1,{...a,isEmphasized:!0,isDisabled:n,UNSAFE_className:z(Ne(pe),"spectrum-Table-checkbox")})))}function Cye({cell:e}){let{scale:t}=Gn(),{state:r}=Ei(),n="expandedKeys"in r,i=O.useRef(),a=e.column.props,l=r.disabledKeys.has(e.parentKey),{gridCellProps:s}=dI({node:e,isVirtualized:!0},r,i),{id:u,...c}=s,d=r.collection.rowHeaderColumnKeys.keys().next().value===e.column.key,f=!1,h=!1,p=0;if("expandedKeys"in r){var m,g,b,v,$;f=((g=r.keyMap.get(e.parentKey))===null||g===void 0||(m=g.props.UNSTABLE_childItems)===null||m===void 0?void 0:m.length)>0||(($=r.keyMap.get(e.parentKey))===null||$===void 0||(v=$.props)===null||v===void 0||(b=v.children)===null||b===void 0?void 0:b.length)>r.userColumnCount,h=d&&f,p=(e.level-2)*oN[t]+(h?0:oN[t]*2)}return w.createElement(_r,{focusRingClass:z(Ne(pe),"focus-ring")},w.createElement("div",{...c,"aria-labelledby":u,ref:i,style:n&&d?{paddingInlineStart:p}:{},className:z(Ne(pe),"spectrum-Table-cell",{"spectrum-Table-cell--divider":a.showDivider&&e.column.nextKey!==null,"spectrum-Table-cell--hideHeader":a.hideHeader,"spectrum-Table-cell--hasExpandCollapseButton":h,"is-disabled":l},z(Ne(kt),"react-spectrum-Table-cell",{"react-spectrum-Table-cell--alignStart":a.align==="start","react-spectrum-Table-cell--alignCenter":a.align==="center","react-spectrum-Table-cell--alignEnd":a.align==="end"}))},h&&w.createElement(Eye,{cell:e}),w.createElement("span",{id:u,className:z(Ne(pe),"spectrum-Table-cellContents")},e.rendered)))}function Eye({cell:e}){let{direction:t}=yr(),{state:r}=Ei(),n=O.useRef(),i=or(Ne(yd),"@react-spectrum/table"),a;"expandedKeys"in r&&(a=r.expandedKeys==="all"||r.expandedKeys.has(e.parentKey));let{buttonProps:l}=Ao({onPress:()=>{r.toggleKey(e.parentKey),Oo()||(r.selectionManager.setFocused(!0),r.selectionManager.setFocusedKey(e.parentKey))},elementType:"span","aria-label":a?i.format("collapse"):i.format("expand")},n);return w.createElement("span",{...l,ref:n,tabIndex:Hc()?-1:void 0,className:z(Ne(pe),"spectrum-Table-expandButton",{"is-open":a})},t==="ltr"?w.createElement(_1e,null):w.createElement(R1e,null))}function uN({children:e}){let{state:t}=Ei(),r;if("expandedKeys"in t){let n=[...t.keyMap.get(t.collection.body.key).childNodes].length;r={"aria-level":1,"aria-posinset":n+1,"aria-setsize":n+1}}else r={"aria-rowindex":t.collection.headerRows.length+t.collection.size+1};return w.createElement("div",{role:"row",...r,className:z(Ne(kt),"react-spectrum-Table-centeredWrapper")},w.createElement("div",{role:"rowheader","aria-colspan":t.collection.columns.length},e))}const aie=w.forwardRef(dye);function Pye(e,t){let{selectionStyle:r,dragAndDropHooks:n}=e,[i,a]=O.useState(r!=="highlight"),l=!!(n!=null&&n.useDraggableCollectionState),s=cne({...e,showSelectionCheckboxes:i,showDragButtons:l,selectionBehavior:e.selectionStyle==="highlight"?"replace":"toggle"}),u=s.selectionManager.selectionBehavior!=="replace";return u!==i&&a(u),w.createElement(aie,{...e,state:s,ref:t})}const Fye=w.forwardRef(Pye);function Aye(e,t){let{selectionStyle:r,dragAndDropHooks:n}=e,[i,a]=O.useState(r!=="highlight"),l=!!(n!=null&&n.useDraggableCollectionState),s=Hbe({...e,showSelectionCheckboxes:i,showDragButtons:l,selectionBehavior:e.selectionStyle==="highlight"?"replace":"toggle"}),u=s.selectionManager.selectionBehavior!=="replace";return u!==i&&a(u),w.createElement(aie,{...e,state:s,ref:t})}const Dye=w.forwardRef(Aye);function Rye(e,t){let{UNSTABLE_allowsExpandableRows:r,...n}=e;return Xc()&&r?w.createElement(Dye,{...n,ref:t}):w.createElement(Fye,{...n,ref:t})}const wn=w.forwardRef(Rye),Qe=qbe;function Hd(e){return e&&e.__esModule?e.default:e}function nl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var lie={};nl(lie,"spectrum--darkest",()=>RA,e=>RA=e);var RA;RA="gP7gvq_spectrum--darkest";var Ns={};nl(Ns,"spectrum",()=>TA,e=>TA=e);nl(Ns,"spectrum--dark",()=>IA,e=>IA=e);nl(Ns,"spectrum--darkest",()=>MA,e=>MA=e);nl(Ns,"spectrum--large",()=>BA,e=>BA=e);nl(Ns,"spectrum--light",()=>_A,e=>_A=e);nl(Ns,"spectrum--lightest",()=>NA,e=>NA=e);nl(Ns,"spectrum--medium",()=>LA,e=>LA=e);var TA,IA,MA,BA,_A,NA,LA;TA="zA6MfG_spectrum";IA="zA6MfG_spectrum--dark";MA="zA6MfG_spectrum--darkest";BA="zA6MfG_spectrum--large";_A="zA6MfG_spectrum--light";NA="zA6MfG_spectrum--lightest";LA="zA6MfG_spectrum--medium";var oie={};nl(oie,"spectrum--large",()=>VA,e=>VA=e);var VA;VA="HAZavG_spectrum--large";var sie={};nl(sie,"spectrum--light",()=>QA,e=>QA=e);var QA;QA="PFjRbG_spectrum--light";var uie={};nl(uie,"spectrum--medium",()=>zA,e=>zA=e);var zA;zA="xSyFOq_spectrum--medium";let Tye={global:Hd(Ns),light:Hd(sie),dark:Hd(lie),medium:Hd(uie),large:Hd(oie)};function Iye(e){return e&&e.__esModule?e.default:e}function $d(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Bu={};$d(Bu,"focus-ring",()=>jA,e=>jA=e);$d(Bu,"i18nFontFamily",()=>WA,e=>WA=e);$d(Bu,"spectrum-FocusRing-ring",()=>k0,e=>k0=e);$d(Bu,"spectrum-FocusRing",()=>ZA,e=>ZA=e);$d(Bu,"spectrum-FocusRing--quiet",()=>UA,e=>UA=e);$d(Bu,"spectrum-Well",()=>qA,e=>qA=e);var jA,WA,k0,ZA,UA,qA;jA="SWvLfG_focus-ring";WA="SWvLfG_i18nFontFamily";k0="SWvLfG_spectrum-FocusRing-ring";ZA=`SWvLfG_spectrum-FocusRing ${k0}`;UA="SWvLfG_spectrum-FocusRing--quiet";qA="SWvLfG_spectrum-Well";function Mye(e,t){let{children:r,role:n,...i}=e,a=Xr(t),{styleProps:l}=Nt(i);return!n&&(e["aria-label"]||e["aria-labelledby"])&&console.warn("A labelled Well must have a role."),w.createElement("div",{...Yt(i,{labelable:!!n}),...l,role:n,ref:a,className:z(Iye(Bu),"spectrum-Well",l.className)},r)}const Bye=O.forwardRef(Mye),cie=w.createContext();function ib(){return O.useContext(cie)}var die={};Object.defineProperty(die,"__esModule",{value:!0});var _ye=die.A4uShowMenu=Lye,Gp=Nye(O);function Nye(e){return e&&e.__esModule?e:{default:e}}function C0(){return C0=Object.assign?Object.assign.bind():function(e){for(var t=1;twindow.matchMedia(Qye[e]),jye=e=>zye(e).matches,cN=()=>jye("desktop-up"),fie=()=>{const[e,t]=O.useState(cN());return O.useEffect(()=>{const r=()=>{t(cN())};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),{isDesktopUp:e}},fe=({children:e,href:t,exact:r=!1,...n})=>{const i=F1(),a=u=>{u.preventDefault(),i(t)};let l=P1();const s=r?l.pathname===t:l.pathname.includes(t);return o("li",{className:`spectrum-SideNav-item ${s?"is-selected":""}`,children:o("a",{...n,onClick:a,className:"spectrum-SideNav-itemLink",children:e})})},Wye=()=>{const{isDesktopUp:e}=fie(),{toggleNav:t,lineNumbers:r,setLineNumbers:n,comments:i,toggleComments:a}=ib();return o("header",{className:"pageHeader",children:x(To,{direction:"row",alignItems:"center",gap:"size-100",children:[e?null:o(xo,{"aria-label":"Open Menu",onClick:()=>t(),children:o(Vye,{})}),e?x(ie,{children:[o(fe,{href:"/getting-started/intro",children:"Getting Started"}),o(fe,{href:"/api-reference/useField",children:"Api Reference"}),o(fe,{href:"/examples/array-field",children:"Examples"}),o(fe,{href:"/playground",children:"Playground"}),o("li",{className:"spectrum-SideNav-item",children:o("a",{href:"/informed/olddocs",className:"spectrum-SideNav-itemLink",children:"Old Docs"})})]}):null,x("div",{className:"toggle",style:{position:"absolute",display:"flex",alignItems:"center",gap:"5px"},children:[o("span",{children:"Show Comments"}),o(kre,{"aria-label":"show-comments",isSelected:i,onChange:a})]})]})})},Zye="/informed/assets/notfound-55c94053.svg",Uye=()=>o("div",{className:"doge",children:o("img",{src:Zye,alt:"Not Found"})}),qye="/informed/assets/unauthorized-4e199455.svg",Hye=()=>o("div",{className:"doge",children:o("img",{src:qye,alt:"Unauthorized logo"})});function Kye(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,l,s=[],u=!0,c=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(d){c=!0,i=d}finally{try{if(!u&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw i}}return s}}function dN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function ci(e,t){if(e==null)return{};var r=Xye(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Tr(e,t){return e4e(e)||Kye(e,t)||fI(e,t)||n4e()}function Zn(e){return Jye(e)||t4e(e)||fI(e)||r4e()}function Jye(e){if(Array.isArray(e))return HA(e)}function e4e(e){if(Array.isArray(e))return e}function t4e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fI(e,t){if(e){if(typeof e=="string")return HA(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 HA(e,t)}}function HA(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,l=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return a=u.done,u},e:function(u){l=!0,s=u},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw s}}}}var Jc=w.createContext({}),pie=w.createContext({}),mie=w.createContext({}),gie=w.createContext(),vie=w.createContext(),bie=w.createContext(),yie=w.createContext(),$ie=w.createContext(),KA=w.createContext(),hN=w.createContext(),YA=w.createContext(),Oie=w.createContext(),sa=w.createContext(),xie=w.createContext();function Wi(){var e=O.useContext(Jc);return e}var a4e=function(t){var r=O.useRef(),n=O.useRef(!1),i=O.useRef(!1),a=O.useState(0),l=Tr(a,2);l[0];var s=l[1];n.current&&(i.current=!0),O.useEffect(function(){return n.current||(r.current=t(),n.current=!0),s(function(u){return u+1}),function(){i.current&&r.current&&r.current()}},[])};function ph(e){var t=O.useRef(),r=O.useRef(!0),n=O.useState(e),i=Tr(n,2),a=i[0],l=i[1];t.current=a;var s=function(d){t.current=d,r.current&&l(d)},u=function(){return t.current};return a4e(function(){return function(){r.current=!1}}),[a,s,u]}function l4e(e,t){for(var r=0,n=0;n0&&arguments[0]!==void 0?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return function(){for(var r=arguments.length,n=new Array(r),i=0;i"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?dN(t):typeof window<"u"&&typeof window.navigator<"u"&&window.navigator.product==="ReactNative"&&typeof global<"u"&&__DEV__===!0?(console.log("informed:debug: Detected React Native Environment"),process.type="renderer",(!window.localStorage||!window.localStorage.getItem)&&(window.localStorage={debug:global.DEBUG_INFORMED||"",getItem:function(){return global.DEBUG_INFORMED||""}}),dN(t)):o4e(t)},Xl=An("informed:ObjMap "),Wm=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String.prototype.replace.call(t,/\['(.+?)'\]/g,".$1").split(/[,[\].]+?/).filter(Boolean)},Tf=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=String.prototype.replace.call(r,/\['(.+?)'\]/g,".$1").split(/[,[\].]+?/).filter(Boolean).reduce(function(a,l){return a!=null?a[l]:a},t);return i===void 0||i===t?n:i},s4e=function(t,r,n){if(t[r]&&t[n]){var i=t[r],a=t[n];t[r]=a,t[n]=i}else console.warn("Attempted to swap ".concat(r," with ").concat(n," but one of them does not exist :("))},$ie=function(t){return".".concat(t).replace(/(.*)[.[].*/,"$1").replace(/\./,"")},u4e=function(t){return t.replace($ie(t),"").replace(/\./,"")},c4e=function(t,r){var n=$ie(r),i=u4e(r),a=n?Tf(t,n):t;return!!(a&&Object.hasOwnProperty.call(a,i.replace(/\[(.*)\]/,"$1")))},fN=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;String.prototype.replace.call(r,/\['(.+?)'\]/g,".$1").split(/[,[\].]+?/).filter(Boolean).reduce(function(i,a,l,s){return l===s.length-1?(i[a]=n,i[a]):Ss(i[a])!=="object"?(Number.isInteger(+s[l+1])?i[a]=[]:i[a]={},i[a]):(Number.isInteger(+s[l+1])&&!Array.isArray(i[a])&&(i[a]=[]),i[a])},t)},Oie=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=!1;return String.prototype.replace.call(r,/\['(.+?)'\]/g,".$1").split(/[,[\].]+?/).filter(Boolean).reduce(function(i,a,l,s){return i===void 0?i:(l===s.length-1&&(delete i[a],n=!0),i[a])},t),n},d4e=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n;return String.prototype.replace.call(r,/\['(.+?)'\]/g,".$1").split(/[,[\].]+?/).filter(Boolean).reduce(function(i,a,l,s){return i===void 0?i:(l===s.length-1&&Array.isArray(i)&&(n=i.splice(a,1)),i[a])},t),n},t4=function(t){var r=Wm(t);return Number.isInteger(+r[r.length-1])},he=function(){function e(){rb(this,e)}return nb(e,null,[{key:"empty",value:function(r){for(var n in r)return!1;return!0}},{key:"get",value:function(r,n){var i=Tf(r,n);return i}},{key:"has",value:function(r,n){return c4e(r,n)}},{key:"set",value:function(r,n,i){if(i!==void 0)Xl("Setting",n,i),fN(r,n,i);else if(t4(n)&&e.get(r,n)!==void 0){Xl("Special case SETTING",n,"to undefined"),fN(r,n,void 0);var a=Wm(n);a=a.slice(0,a.length-1),Zm(r,a)}else!t4(n)&&e.get(r,n)!==void 0&&(Xl("Special case REMOVING",n,"from object completley"),e.delete(r,n))}},{key:"delete",value:function(r,n){Xl("DELETE",n),t4(n)?(Xl("ARRAY PATH",n),this.pullOut(r,n)):Oie(r,n);var i=Wm(n);i=i.slice(0,i.length-1),Zm(r,i),Xl("DELETED",n)}},{key:"pullOut",value:function(r,n){var i=Wm(n),a=i[i.length-1];i=i.slice(0,i.length-1),Xl("Pulling out:",i,"index",a);var l=Tf(r,i);Xl("Array Before",JSON.stringify(l)),Array.isArray(l)&&d4e(l,a),Xl("Array After",JSON.stringify(l)),Zm(r,i)}},{key:"purge",value:function(r){var n=Array.isArray(r)?[]:{};return Object.keys(r).forEach(function(i){Ss(r[i])==="object"?(n[i]=e.purge(r[i]),Object.keys(n[i]).length===0&&delete n[i]):r[i]!==void 0&&(n[i]=r[i])}),n}},{key:"swap",value:function(r,n,i,a){console.log("Swaping out out:",n,i,a);var l=Tf(r,n);console.log("Array",l),Array.isArray(l)&&s4e(l,i,a)}}]),e}();function Zm(e,t){if(t.length!==0){var r=Tf(e,t);(Array.isArray(r)?r.every(function(n){return n==null}):JSON.stringify(r)==="{}")&&Oie(e,t),Zm(e,t.slice(0,t.length-1))}}var hN=An("informed:utils "),Sl=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=Math.random()*16|0,n=t=="x"?r:r&3|8;return n.toString(16)})};function pN(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:300,n={};return function(){for(var i=arguments.length,a=new Array(i),l=0;lr)return n("maximum")||"This field should NOT be more than ".concat(r)},x4e=function(t,r,n){if(r!=null&&tr)return n("maxLength")||"This field should NOT be more than ".concat(r," characters")},w4e=function(t,r,n){if(r!=null&&(t==null?void 0:t.length)-1&&(f=p+1,c=c.concat(l.slice(0,p+1)),h=p+1),p<0&&(c=c.concat(l.slice(0,s)),h=s);for(var m=h;m=u)c.push(g);else break}var y=c.join(""),$=a?y.length-a.length:0,S=u&&a&&n&&a.length=u,k=l.slice(u).join(""),C=u&&c.length>u&&(!n||typeof n=="string"&&!n.includes(k));return(S||C)&&($=0,typeof navigator<"u"&&navigator.product==="ReactNative"&&(y=y.slice(0,u))),{value:y,offset:$}},$d=function(t){var r,n,i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=l.formatToParts,u=new Intl.NumberFormat(t,a),c=function(S){return u.formatToParts(S)};s&&(c=function(S){return s(S,t,a)});var d=(r=(n=c(.1).find(function($){var S=$.type;return S==="decimal"}))===null||n===void 0?void 0:n.value)!==null&&r!==void 0?r:".",f=(i=c(-1).find(function($){var S=$.type;return S==="minusSign"}))===null||i===void 0?void 0:i.value;if(!f){var h,p;f=(h=(p=c(-1).find(function($){var S=$.type;return S==="literal"}))===null||p===void 0?void 0:p.value)!==null&&h!==void 0?h:"-"}function m($){return"".concat($).replace(/\D/g,"")}function g($){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return $===S?"":typeof $=="number"?"".concat($).split(".").map(function(k){return m(k)}).join("."):"".concat($).split(S).map(function(k){return m(k)}).join(".")}function b($){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";if(typeof $=="number")return $;var k=parseFloat(g($,S));return Number.isNaN(k)?void 0:k}function v($,S){var k="".concat($).includes(f)||"".concat($).includes("-"),C=g(S,d),F="".concat(C).split(".")[1],E=k?-Number(C):Number(C),M=c(E),D=M.reduce(function(T,B){var R=B.type,_=B.value;return["decimal","fraction"].includes(R)&&F==null?T:["integer","fraction"].includes(R)?[].concat(Zn(T),Zn(_.split("").filter(function(V,j){return R==="fraction"?j0){var u=Object.keys(i).sort(function(f,h){var p=s.indexOf(f),m=s.indexOf(h);return(p>-1?p:s.length+1)-(m>-1?m:s.length+1)}).map(function(f){return f}),c=[],d=[];return a&&a.forEach(function(f){if(f.if){var h=Re({},f);h.then=Re(Re({},f.then),{},{properties:{}}),h.thenProps={},Object.keys(f.then.properties).forEach(function(p){u.includes(p)?h.thenProps[p]=f.then.properties[p]:h.then.properties[p]=f.then.properties[p]}),c.push(h)}else d.push(f)}),{properties:u,conditions:c,components:d}}return{properties:[],conditions:[],components:[]}};function Sie(e,t){return Object.entries(e).every(function(r){var n=Rr(r,2),i=n[0],a=n[1];switch(i){case"const":return Array.isArray(t)&&a?t.sort().toString()==a.sort().toString():t===a;case"minimum":return t>=a;case"exclusiveMinimum":return t>a;case"maximum":return t<=a;case"exclusiveMaximum":return t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,l=A4e(),s=O.useContext(oa),u=typeof r=="function"?[]:r,c=O.useMemo(function(){return typeof r=="function"?r(s):r},[].concat(Zn(u),[l])),d=O.useMemo(function(){return i&&typeof r!="function"?c.map(function(h){return l(h)}):c},[c]),f=ji();O.useEffect(function(){var h=function(m){(m==="_ALL_"||d.includes(m)||m&&d.some(function(g){return a?ph(m,g):ph(g,m)}))&&(D4e("subscription ".concat(t," triggered with target ").concat(m," for"),d),n(m))};return f.emitter.on(t,h),function(){f.emitter.removeListener(t,h)}},Zn(u))},Uu=An("informed:useRelevance "),dI=function(t){var r=t.name,n=t.relevant,i=t.relevanceWhen,a=i===void 0?[]:i,l=t.relevanceDeps,s=l===void 0?[]:l,u=ji(),c=O.useContext(oa),d=O.useRef(c);d.current=c;var f=O.useRef();f.current=s;var h=hh(function(){return n?(Uu("re-evaluated relevance for ".concat(r," for the first inital load")),n({formState:u.getFormState(),formApi:u.getFormApi(),scope:c,relevanceDeps:s})):!0}),p=Rr(h,3),m=p[0],g=p[1],b=p[2],v=typeof a=="function"?[]:a,y=O.useMemo(function(){return typeof a=="function"?a(c):a},[].concat(Zn(v),[c]));return mh("field-value",y,function($){Uu("re-evaluating relevance for ".concat(r," because of ").concat($));var S=n({formState:u.getFormState(),formApi:u.getFormApi(),scope:d.current,relevanceDeps:f.current});b()!=S&&g(S)},typeof a!="function"),O.useEffect(function(){if(n&&typeof a!="function"&&a.length===0){var $=function(k){Uu("re-evaluating relevance for ".concat(r," because of ").concat(k));var C=n({formState:u.getFormState(),formApi:u.getFormApi(),scope:d.current,relevanceDeps:f.current});Uu("re-evaluated relevance for ".concat(r," because of ").concat(k," and got ").concat(C)),b()!=C&&(Uu("updating relevance for ".concat(r," because of ").concat(k," and got ").concat(C)),g(C))};return u.emitter.on("field",$),function(){u.emitter.removeListener("field",$)}}},[]),O.useEffect(function(){n&&(Uu("re-evaluated relevance for ".concat(r," because name change or relevanceDeps")),g(n({formState:u.getFormState(),formApi:u.getFormApi(),scope:d.current,relevanceDeps:f.current})))},[r].concat(Zn(s))),m},di=function(t){var r=t.when,n=t.relevanceWhen,i=t.relevanceDeps,a=t.children,l=ji(),s=O.useContext(oa),u=O.useContext(UA),c=dI({relevant:r,relevanceWhen:n,relevanceDeps:i}),d=O.useMemo(function(){return{isRelevant:c,relevant:function(){return u&&!u.relevant()?!1:r({formState:l.getFormState(),formApi:l.getFormApi(),scope:s,relevanceDeps:i})}}},[c,s,i]);return w.createElement(UA.Provider,{value:d},c?a:null)};function Ns(){var e=O.useContext(cie);return e}function Od(e){var t=O.useContext(oa);return t===e?e:t&&e?"".concat(t,".").concat(e):e||t}var T4e=function(t,r){return{getValue:function(){return t.getValue(r)},setValue:function(i,a,l){return t.setValue(r,i,a,l)},getTouched:function(){return t.getTouched(r)},setTouched:function(i,a){return t.setTouched(r,i,a)},getError:function(){return t.getError(r)},setError:function(i){return t.setError(r,i)},getFocused:function(){return t.getFocused(r)},setFocused:function(i,a){return t.setFocused(r,i,a)},getData:function(){return t.getData(r)},getModified:function(){return t.getModified(r)},reset:function(i){return t.resetField(r,i)},validate:function(){return t.validateField(r)},getDirty:function(){return t.getDirty(r)},getPristine:function(){return t.getPristine(r)},getMaskedValue:function(){return t.getMaskedValue(r)},clearValue:function(){return t.clearValue(r)},setValueQuietly:function(i){return t.setValueQuietly(r,i)},restore:function(i){return t.restore(r,i)},getMemory:function(){return t.getMemory(r)}}};function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=Ns(),n=t?Od(e):e,i=O.useMemo(function(){return T4e(r,n)},[n]);return i}var a4=An("informed:useArrayField "),R4e=function(t){var r=t.name,n=t.initialValue,i=t.defaultValue,a=t.arrayFieldApiRef,l=Od(r),s=O.useContext(Xc),u=_a(l),c=Ns(),d=O.useState(function(){return new Map}),f=Rr(d,1),h=f[0],p=hh(function(){return s.getValue(l)?s.getValue(l):n||s.getInitialValue(l)||i||[]}),m=Rr(p,3),g=m[0],b=m[1],v=m[2],y=Array.isArray(g)?g.map(function(){return Sl()}):[],$=hh(y),S=Rr($,3),k=S[0],C=S[1],F=S[2],E=function(H){var ee=F();s.lockRemoval({index:ee.length-1,name:l});var ue=ee.slice(0,H).concat(ee.slice(H+1,ee.length));C(ue);var se=v(),Ce=se.slice(0,H).concat(se.slice(H+1,se.length));b(Ce),s.pullOut("".concat(l,"[").concat(H,"]")),c.setDirt(l,[]),s.emitter.emit("field-value-set",l)},M=function(H,ee){a4("Swapping","".concat(l,"[").concat(H,"] and ").concat(l,"[").concat(ee,"]")),s.swap(l,H,ee);var ue=F(),se=Zn(ue);ue[H]&&ue[ee]?(se[H]=ue[ee],se[ee]=ue[H]):console.warn("Attempted to swap ".concat(H," with ").concat(ee," but one of them does not exist :(")),C(se)},D=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,ee=F();if(typeof H!="number"||!Number(H)||H<=0)ee.push(Sl());else for(var ue=0;ue1&&arguments[1]!==void 0?arguments[1]:!0,n=r?Od(t):t,i=ji(),a=wie();return O.useEffect(function(){var l=function(u){(u==="_ALL_"||u===n||u&&ph(n,u))&&(I4e("Updating",n),a())};return i.emitter.on("field",l),a(),function(){i.emitter.removeListener("field",l)}},[n]),i.getFieldState(n)},M4e=function(t,r){return{getValue:function(i){return r.getValue("".concat(t,".").concat(i))},setValue:function(i,a,l,s){return r.setValue("".concat(t,".").concat(i),a,l,s)},getTouched:function(i){return r.getTouched("".concat(t,".").concat(i))},setTouched:function(i,a){return r.setTouched("".concat(t,".").concat(i),a)},getFocused:function(i){return r.getFocused("".concat(t,".").concat(i))},setFocused:function(i,a){return r.setFocused("".concat(t,".").concat(i),a)},getError:function(i){return r.getError("".concat(t,".").concat(i))},setError:function(i,a){return r.setError("".concat(t,".").concat(i),a)},getData:function(i){return r.getData("".concat(t,".").concat(i))},getModified:function(i){return r.getModified("".concat(t,".").concat(i))},resetField:function(i){return r.resetField("".concat(t,".").concat(i))},validate:function(i){return r.validate("".concat(t,".").concat(i))},getDirty:function(i){return r.getDirty("".concat(t,".").concat(i))},getPristine:function(i){return r.getPristine("".concat(t,".").concat(i))},getMaskedValue:function(i){return r.getMaskedValue("".concat(t,".").concat(i))},clearValue:function(i){return r.clearValue("".concat(t,".").concat(i))},clearError:function(i){return r.clearError("".concat(t,".").concat(i))},restore:function(i){return r.restore("".concat(t,".").concat(i))}}};function B4e(e){var t=Ns(),r=O.useMemo(function(){return M4e(e,t)},[e]);return r}var _4e=["relevant","relevanceWhen","relevanceDeps","name"],N4e=["children"],vN=An("informed:ArrayField "),br=function(t){var r=t.relevant,n=t.relevanceWhen,i=t.relevanceDeps,a=t.name,l=ci(t,_4e);return r?w.createElement(di,{when:r,relevanceWhen:n,relevanceDeps:i},w.createElement(bN,Un({name:a},l))):w.createElement(bN,Un({name:a},l))},bN=function(t){var r=t.children,n=ci(t,N4e),i=R4e(n),a=i.render,l=i.arrayFieldState,s=i.arrayFieldApi;return a(typeof r=="function"?r(Re(Re({arrayFieldApi:s,arrayFieldState:l},s),l)):r)},L4e=function(t){var r=t.arrayFieldItemState,n=t.arrayFieldItemApi,i=t.children,a=ji(),l=O.useState(function(){return new Map}),s=Rr(l,1),u=s[0],c=Ht(r.name),d=B4e(r.name),f=O.useMemo(function(){return Re(Re({},a),{},{register:function(b,v){u.set(b,v),a.register(b,v)},deregister:function(b,v){u.delete(b),a.deregister(b,v);var y=a.getRemovalLocked();vN("DEREGISTER",b,"SIZE",u.size,"INDEX",r.index,"LOCKEDUNTIL",y),y!=null&&y.index===r.index&&y.name===r.parent&&!Array.from(u.keys()).some(function($){return $.includes("".concat(r.parent,"[").concat(y.index,"]"))})&&(vN("UNLOCKING"),a.unlockRemoval())}})},[r.index]),h=O.useCallback(function(){u.forEach(function(g){g.current.fieldApi.reset()})},[r.name,r.index]),p=Re(Re({},r),{},{values:c.value,errors:c.error,touched:c.touched}),m=O.useMemo(function(){return Re(Re(Re({},n),d),{},{reset:h})},[r.name,r.index]);return typeof i=="function"?w.createElement(Xc.Provider,{value:f},w.createElement(ZA.Provider,{value:m},w.createElement(cN.Provider,{value:p},w.createElement(oa.Provider,{value:r.name},i(Re(Re({},m),{},{name:r.name,index:r.index})))))):w.createElement(Xc.Provider,{value:f},w.createElement(ZA.Provider,{value:n},w.createElement(cN.Provider,{value:r},w.createElement(oa.Provider,{value:r.name},i))))};br.Items=function(e){var t=e.children,r=O.useContext(mie),n=r.fields;return n.map(function(i){var a=i.arrayFieldItemState,l=i.arrayFieldItemApi,s=a.key;return w.createElement(L4e,{key:s,arrayFieldItemApi:l,arrayFieldItemState:a},t)})};br.Items.displayName="ArrayField.Items";function kie(){var e=O.useContext(die);return e}var Ee=function(t){var r=kie(),n={};Object.keys(t).length>0?Object.keys(t).forEach(function(a){n[a]=r[a]}):n=r,O.useEffect(function(){var a;(a=window)!==null&&a!==void 0&&a.Prism&&Prism.highlightAll()},[n]);var i=JSON.stringify(n,null,2);return t.label&&(i="// ".concat(t.label,` -`)+i),w.createElement("pre",{className:"language-js"},w.createElement("code",{className:"language-js"},i))},Q4e=["name"],ws=function(t){var r=t.name,n=ci(t,Q4e),i=Ht(r),a={};Object.keys(n).length>0?Object.keys(n).forEach(function(s){a[s]=i[s]}):a=i,O.useEffect(function(){var s;(s=window)!==null&&s!==void 0&&s.Prism&&Prism.highlightAll()},[a]);var l=JSON.stringify(a,null,2);return n.label&&(l="// ".concat(n.label,` -`)+l),w.createElement("pre",{className:"language-js"},w.createElement("code",{className:"language-js"},l))},_n=function(t){var r=t.scope,n=t.children,i=O.useContext(oa),a;return i?a="".concat(i,".").concat(r):a=r,w.createElement(oa.Provider,{value:a},n)},ve=An("informed:FormController "),Yp=function(t,r){var n=r.formatter,i=r.parser,a=r.initialize,l=r.mask;if(t!=null){if(a&&!i)return a(t);if(n&&!i){var s=cI(t,n);return s.value}return l&&!i?l(t):t}},Gp=function(t,r){var n=r.formatter,i=r.initialize,a=r.mask;if(i)return i(t);if(n){var l=cI(t,n);return l.value}return a?a(t):t},V4e=function(){function e(t){var r;rb(this,e),this.options=t,this.subscriptions=new Map;var n=t.current,i=n.ajv,a=n.schema,l=n.fieldMap,s=n.adapter;this.ajv=i?new i({allErrors:!0}):null,this.ajvValidate=i?this.ajv.compile(a):null,this.fieldMap=s||l,this.emitter=this,this.fieldsMap=new Map,this.validationRequests=new Map,this.dataRequests=new Map,this.removalLocked=void 0,this.state={pristine:!0,dirty:!1,submitted:!1,invalid:!1,valid:!0,submitting:!1,validating:0,gathering:0,values:{},errors:{},touched:{},maskedValues:{},dirt:{},focused:{},modified:{},data:{},initialValues:this.options.current.initialValues||{},disabled:(r=this.options.current.disabled)!==null&&r!==void 0?r:!1,memory:{}},this.getValue=this.getValue.bind(this),this.setValue=this.setValue.bind(this),this.setValueQuietly=this.setValueQuietly.bind(this),this.setValues=this.setValues.bind(this),this.setTheseValues=this.setTheseValues.bind(this),this.resetPath=this.resetPath.bind(this),this.getMaskedValue=this.getMaskedValue.bind(this),this.setMaskedValue=this.setMaskedValue.bind(this),this.setModifiedValue=this.setModifiedValue.bind(this),this.getTouched=this.getTouched.bind(this),this.setTouched=this.setTouched.bind(this),this.getFocused=this.getFocused.bind(this),this.setFocused=this.setFocused.bind(this),this.getError=this.getError.bind(this),this.setError=this.setError.bind(this),this.reset=this.reset.bind(this),this.validate=this.validate.bind(this),this.asyncValidate=this.asyncValidate.bind(this),this.getDirty=this.getDirty.bind(this),this.setDirt=this.setDirt.bind(this),this.getPristine=this.getPristine.bind(this),this.getFormState=this.getFormState.bind(this),this.getFormApi=this.getFormApi.bind(this),this.getFieldState=this.getFieldState.bind(this),this.getValid=this.getValid.bind(this),this.on=this.on.bind(this),this.emit=this.emit.bind(this),this.removeListener=this.removeListener.bind(this),this.remove=this.remove.bind(this),this.swap=this.swap.bind(this),this.pullOut=this.pullOut.bind(this),this.register=this.register.bind(this),this.deregister=this.deregister.bind(this),this.getInitialValue=this.getInitialValue.bind(this),this.initialize=this.initialize.bind(this),this.reformat=this.reformat.bind(this),this.lockRemoval=this.lockRemoval.bind(this),this.unlockRemoval=this.unlockRemoval.bind(this),this.resetField=this.resetField.bind(this),this.getRemovalLocked=this.getRemovalLocked.bind(this),this.isRemovalLocked=this.isRemovalLocked.bind(this),this.submitForm=this.submitForm.bind(this),this.touchAllFields=this.touchAllFields.bind(this),this.keyDown=this.keyDown.bind(this),this.validateAsync=this.validateAsync.bind(this),this.gatherData=this.gatherData.bind(this),this.validated=this.validated.bind(this),this.debouncedValidateAsync=pN(this.validateAsync,this.options.current.debounceError),this.debouncedGatherInfo=pN(this.gatherData,this.options.current.debounceGather),this.getOptions=this.getOptions.bind(this),this.validateField=this.validateField.bind(this),this.getErrorMessage=this.getErrorMessage.bind(this),this.clearValue=this.clearValue.bind(this),this.clearError=this.clearError.bind(this),this.getData=this.getData.bind(this),this.setData=this.setData.bind(this),this.getModified=this.getModified.bind(this),this.updateValid=this.updateValid.bind(this),this.focusFirstError=this.focusFirstError.bind(this),this.scrollToFirstError=this.scrollToFirstError.bind(this),this.setPristine=this.setPristine.bind(this),this.disableForm=this.disableForm.bind(this),this.enableForm=this.enableForm.bind(this),this.getMemory=this.getMemory.bind(this),this.restore=this.restore.bind(this)}return nb(e,[{key:"getOptions",value:function(){return this.options.current}},{key:"getMemory",value:function(r){return he.get(this.state.memory,r)}},{key:"getValue",value:function(r){return he.get(this.state.values,r)}},{key:"getMaskedValue",value:function(r){return he.get(this.state.maskedValues,r)}},{key:"setMaskedValue",value:function(r,n){return he.set(this.state.maskedValues,r,n)}},{key:"setModifiedValue",value:function(r,n){return he.set(this.state.modified,r,n)}},{key:"updateValid",value:function(){var r=this.state.valid;this.state.valid=he.empty(this.state.errors),this.state.invalid=!this.state.valid,r&&!this.state.valid&&this.emit("invalid"),!r&&this.state.valid&&this.emit("valid")}},{key:"setValues",value:function(r){this.fieldsMap.forEach(function(n){var i=he.get(r,n.current.name);n.current.fieldApi.setValue(i)})}},{key:"disableForm",value:function(){this.disabled=!0,this.state.disabled=!0,this.emit("field","_ALL_")}},{key:"enableForm",value:function(){this.disabled=void 0,this.state.disabled=!1,this.emit("field","_ALL_")}},{key:"setTheseValues",value:function(r){this.fieldsMap.forEach(function(n){var i=he.get(r,n.current.name);i!=null&&n.current.fieldApi.setValue(i)})}},{key:"resetPath",value:function(r){this.fieldsMap.forEach(function(n){ph(r,n.current.name)&&n.current.fieldApi.reset()})}},{key:"restore",value:function(r){this.setValue(r,this.getMemory(r))}},{key:"setValueQuietly",value:function(r,n){this.setValue(r,n,void 0,void 0,!0)}},{key:"setValue",value:function(r,n,i,a,l){var s;ve("setValue ".concat(r),n);var u=((s=this.fieldsMap.get(r))===null||s===void 0?void 0:s.current)||{};try{i&&i.target&&i.target.selectionStart&&u.setCursor(i.target.selectionStart,a)}catch($){if(!($ instanceof TypeError))throw $}if(n==="")if(u.allowEmptyString){var c=(u==null?void 0:u.type)==="number"?0:n;u.emptyValue&&(c=u.emptyValue),ve("Setting ".concat(r,"'s value to ").concat(c," because allowEmptyString is set")),he.set(this.state.values,r,c),u.getInitialValue&&u.getInitialValue()!=c?he.set(this.state.modified,r,c):(ve("Removing ".concat(r,"'s modified")),he.delete(this.state.modified,c)),he.set(this.state.maskedValues,r,n)}else ve("Setting ".concat(r,"'s value to undefiend")),he.set(this.state.values,r,void 0),he.set(this.state.modified,r,void 0),he.set(this.state.maskedValues,r,void 0);else if((u==null?void 0:u.type)==="number"&&n!==void 0){var d=n,f=n;u.mask&&!u.maskOnBlur&&(f=u.mask(d)),u.parser&&(d=d!=null?n4(d,u.parser):d),ve("Setting ".concat(r,"'s value to ").concat(+d)),he.set(this.state.values,r,+d),u.getInitialValue&&u.getInitialValue()!=d||u.modifyOnMount?he.set(this.state.modified,r,+d):(ve("Removing ".concat(r,"'s modified")),he.set(this.state.modified,r,void 0)),ve("Setting ".concat(r,"'s maskedValue to"),+f),he.set(this.state.maskedValues,r,+f)}else{var h=n,p=n;if(u.clean&&(h=u.clean(h),p=h),u.formatter){var m=cI(h,u.formatter,this.getMaskedValue(r));u.setCursorOffset(m.offset,a),p=m.value,h=p}u.mask&&!u.maskOnBlur&&(h=u.mask(h),p=h),u.parser&&(h=h!=null?n4(h,u.parser):h),ve("Setting ".concat(r,"'s value to"),h),he.set(this.state.values,r,h),!u.getInitialValue||u.getInitialValue()!=h||u.modifyOnMount?(ve("Setting ".concat(r,"'s modified to"),h),he.set(this.state.modified,r,h)):(ve("Removing ".concat(r,"'s modified")),he.set(this.state.modified,r,void 0)),ve("Setting ".concat(r,"'s maskedValue to"),p),he.set(this.state.maskedValues,r,p)}if(u.validate&&u.validateOn.includes("change")){var g=he.get(this.state.values,r);ve("Validating after change ".concat(r," ").concat(g)),he.set(this.state.errors,r,u.validate(g,this.state.values))}if(u.yupSchema&&u.validateOn.includes("change")&&this.getError(r)===void 0){var b=he.get(this.state.values,r);ve("Validating YUP after change ".concat(r," ").concat(b)),he.set(this.state.errors,r,qA(u.yupSchema,b))}if(u.asyncValidate&&u.validateOn==="change"&&this.getError(r)===void 0&&this.debouncedValidateAsync(r),l||(this.state.pristine=!1,this.state.dirty=!this.state.pristine,he.set(this.state.dirt,r,!0)),this.updateValid(),u.onChange){var v=this.getFieldState(r);u.onChange(v,i)}if(i&&u.onNativeChange){var y=this.getFieldState(r);u.onNativeChange(y,i)}i&&this.emit("field-native",r),u.gatherData&&!u.gatherOnBlur&&this.debouncedGatherInfo(r),this.emit("field",r),this.emit("field-value",r),this.emit("field-modified",r),this.emit("field-value-set",r)}},{key:"validateField",value:function(r){var n,i=(n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current;if(i){if(i.validate){var a=he.get(this.state.values,r);ve("Validating field ".concat(r," via validateField with value ").concat(a)),he.set(this.state.errors,r,i.validate(a,this.state.values))}if(i.yupSchema&&this.getError(r)===void 0){var l=he.get(this.state.values,r);ve("Validating YUP field via validateField ".concat(r," ").concat(l)),he.set(this.state.errors,r,qA(i.yupSchema,l))}this.updateValid(),this.emit("field",r)}}},{key:"getModified",value:function(r){return he.get(this.state.modified,r)}},{key:"getFocused",value:function(r){return he.get(this.state.focused,r)}},{key:"setFocused",value:function(r,n,i){var a;ve("Setting ".concat(r,"'s focused to ").concat(n));var l=((a=this.fieldsMap.get(r))===null||a===void 0?void 0:a.current)||{};if(he.set(this.state.focused,r,n),l.onFocus){var s=this.getFieldState(r);l.onFocus(s,i)}this.emit("field",r)}},{key:"getTouched",value:function(r){return he.get(this.state.touched,r)}},{key:"setTouched",value:function(r,n,i){var a;ve("Setting ".concat(r,"'s touched to ").concat(n));var l=((a=this.fieldsMap.get(r))===null||a===void 0?void 0:a.current)||{};if(he.set(this.state.touched,r,n),l.mask&&l.maskOnBlur){var s=he.get(this.state.values,r),u=s;u=l.mask(s),l.parser&&(s=s!=null?n4(s,l.parser):s),ve("Setting ".concat(r,"'s value to"),u),he.set(this.state.values,r,u),ve("Setting ".concat(r,"'s maskedValue to"),u),he.set(this.state.maskedValues,r,u)}if(l.validate&&(l.validateOn.includes("blur")||l.validateOn.includes("change"))){var c=he.get(this.state.values,r);ve("Validating after blur ".concat(r," ").concat(c)),he.set(this.state.errors,r,l.validate(c,this.state.values))}if(l.asyncValidate&&(l.validateOn==="blur"||l.validateOn==="change-blur"||l.validateOn==="change")&&this.getError(r)===void 0&&this.validateAsync(r),this.updateValid(),l.gatherData&&l.gatherOnBlur&&this.debouncedGatherInfo(r),l.onBlur){var d=this.getFieldState(r);l.onBlur(d,i)}this.emit("field",r)}},{key:"getData",value:function(r){return he.get(this.state.data,r)}},{key:"setData",value:function(r,n){ve("Setting ".concat(r,"'s data to ").concat(n)),he.set(this.state.data,r,n),this.emit("field",r)}},{key:"getError",value:function(r){return he.get(this.state.errors,r)}},{key:"setError",value:function(r,n){ve("Setting ".concat(r,"'s error to ").concat(n)),he.set(this.state.errors,r,n),this.state.valid=he.empty(this.state.errors),this.state.invalid=!this.state.valid,this.emit("field",r)}},{key:"getInitialValue",value:function(r){return he.get(this.state.initialValues,r)}},{key:"getDirty",value:function(r){return!!he.get(this.state.dirt,r)}},{key:"setDirt",value:function(r,n){return he.set(this.state.dirt,r,n)}},{key:"getPristine",value:function(r){return!this.getDirty(r)}},{key:"getValid",value:function(r){return he.get(this.state.errors,r)===void 0}},{key:"getFormState",value:function(){return this.state}},{key:"clearValue",value:function(r){this.setValue(r,void 0),this.emit("clear",r)}},{key:"clearError",value:function(r){this.setError(r,void 0)}},{key:"setPristine",value:function(r){this.state.pristine=r,this.state.dirty=!this.state.pristine,this.emit("field")}},{key:"getFormApi",value:function(){return{getValue:this.getValue,setValue:this.setValue,setValueQuietly:this.setValueQuietly,getMaskedValue:this.getMaskedValue,setMaskedValue:this.setMaskedValue,setModifiedValue:this.setModifiedValue,getTouched:this.getTouched,setTouched:this.setTouched,getError:this.getError,setError:this.setError,getFocused:this.getFocused,setFocused:this.setFocused,getData:this.getData,setData:this.setData,getModified:this.getModified,resetField:this.resetField,reset:this.reset,getFormState:this.getFormState,getPristine:this.getPristine,getDirty:this.getDirty,setDirt:this.setDirt,validateField:this.validateField,getFieldState:this.getFieldState,getInitialValue:this.getInitialValue,touchAllFields:this.touchAllFields,validate:this.validate,asyncValidate:this.asyncValidate,setValues:this.setValues,setTheseValues:this.setTheseValues,resetPath:this.resetPath,submitForm:this.submitForm,clearValue:this.clearValue,clearError:this.clearError,focusFirstError:this.focusFirstError,setPristine:this.setPristine,disable:this.disableForm,enable:this.enableForm,restore:this.restore,getMemory:this.getMemory}}},{key:"getFieldState",value:function(r){var n,i=((n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current)||{},a=this.getError(r),l=!!this.getFocused(r),s=!!this.getModified(r),u=this.getDirty(r),c=this.getValid(r),d=!!this.getTouched(r),f=!u,h=!!this.validationRequests.get(r),p=!!this.dataRequests.get(r),m=this.getMemory(r),g=!1;return i&&i.showErrorIfError?g=a!==void 0:i&&i.showErrorIfDirty?g=a!==void 0&&(u||d):i&&i.showErrorIfTouched&&(g=a!==void 0&&d),{value:this.getValue(r),maskedValue:this.getMaskedValue(r),modified:s,touched:d,error:this.getError(r),data:this.getData(r),pristine:f,dirty:u,valid:c,invalid:!c,showError:g,validating:h,gathering:p,focused:l,memory:m}}},{key:"remove",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ve("Remove",r),this.removalLocked)ve("Removal locked so NOT removing",r);else{var a=n.value,l=a===void 0?!1:a,s=n.error,u=s===void 0?!1:s,c=n.touched,d=c===void 0?!1:c;if(i.remember){var f=this.getValue(r);f!=null&&(ve("Remembering",r,f),he.set(this.state.memory,r,f))}l||(ve("Delete Value",r),he.delete(this.state.values,r),ve("Delete Modified",r),he.delete(this.state.modified,r),ve("Delete Masked",r),he.delete(this.state.maskedValues,r)),d||(ve("Delete Touched",r),he.delete(this.state.touched,r)),u||(ve("Delete Errors",r),he.delete(this.state.errors,r)),ve("Delete Dirt",r),he.delete(this.state.dirt,r),ve("Delete Focused",r),he.delete(this.state.focused,r),ve("Delete Info",r),he.delete(this.state.data,r),this.updateValid(),this.emit("field",r),this.emit("field-value",r),this.emit("field-modified",r)}}},{key:"swap",value:function(r,n,i){ve("Swap",r,n,i),he.swap(this.state.values,r,n,i),he.swap(this.state.modified,r,n,i),he.swap(this.state.maskedValues,r,n,i),he.swap(this.state.touched,r,n,i),he.swap(this.state.errors,r,n,i),he.swap(this.state.dirt,r,n,i),he.swap(this.state.focused,r,n,i),he.swap(this.state.data,r,n,i),this.state.pristine=!1,this.state.dirty=!this.state.pristine}},{key:"pullOut",value:function(r){ve("Pull",r),ve("Pull ".concat(r," from values")),he.delete(this.state.values,r),ve("Pull ".concat(r," from modified")),he.delete(this.state.modified,r),ve("Pull ".concat(r," from maskedValues")),he.delete(this.state.maskedValues,r),ve("Pull ".concat(r," from touched")),he.delete(this.state.touched,r),ve("Pull ".concat(r," from errors")),he.delete(this.state.errors,r),ve("Pull ".concat(r," from dirt")),he.delete(this.state.dirt,r),ve("Pull ".concat(r," from focused")),he.delete(this.state.focused,r),ve("Pull ".concat(r," from data")),he.delete(this.state.data,r),this.state.pristine=!1,this.state.dirty=!this.state.pristine}},{key:"register",value:function(r,n){ve("Register",r,n),this.fieldsMap.get(r)||(this.fieldsMap.set(r,n),this.emit("field",r))}},{key:"deregister",value:function(r){ve("De-Register",r),this.fieldsMap.get(r)&&(this.fieldsMap.delete(r),this.emit("field",r))}},{key:"initialize",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(ve("Initialize",r,"emit:",i,"state:",this.state),this.getValue(r)===void 0&&n.current.initialValue!=null&&(!n.current.initializeValueIfPristine||this.state.pristine)){var a=n.current,l=a.formatter,s=a.parser,u=a.initialize,c=a.clean,d=a.mask,f=a.modifyOnMount,h=c?c(n.current.initialValue):n.current.initialValue,p=Yp(h,{formatter:l,parser:s,initialize:u,mask:d}),m=Gp(h,{formatter:l,initialize:u,mask:d});ve("Initializing ".concat(r,"'s value to ").concat(p)),he.set(this.state.values,r,p),ve("Initializing ".concat(r,"'s maskedValue to ").concat(m)),he.set(this.state.maskedValues,r,m),f&&(ve("Initializing ".concat(r,"'s modified to ").concat(p," because modifyOnMount was passed.")),he.set(this.state.modified,r,p))}if(n.current.validate&&n.current.validateOnMount){var g=he.get(this.state.values,r);ve("Validating on mount ".concat(r," ").concat(g),this.state),he.set(this.state.errors,r,n.current.validate(g,this.state.values))}n.current.asyncValidate&&n.current.validateOnMount===!0&&this.getError(r)===void 0&&this.validateAsync(r),this.state.valid=he.empty(this.state.errors),this.state.invalid=!this.state.valid,n.current.gatherData&&n.current.gatherOnMount===!0&&this.debouncedGatherInfo(r),i&&this.emit("field",r),i&&this.emit("field-value",r)}},{key:"validated",value:function(r,n){if(ve("Setting ".concat(r,"'s error to ").concat(n," with ").concat(this.state.validating," validations left")),he.set(this.state.errors,r,n),this.updateValid(),this.validationRequests.delete(r),this.state.validating>0){ve("Still validating ".concat(this.state.validating," others so just update state.")),this.emit("field",r);return}this.state.submitting&&(this.valid()?(ve("Submit",this.state),this.emit("field",r),this.emit("submit")):(ve("Fail",this.state),this.options.current.focusOnInvalid&&this.focusFirstError(),this.options.current.scrollOnInvalid&&this.scrollToFirstError(),this.emit("field",r),this.emit("failure")),this.state.submitting=!1),this.done&&(this.valid()&&this.done(),this.done=void 0),this.emit("field",r)}},{key:"gathered",value:function(r,n){ve("Setting ".concat(r,"'s data to ").concat(n," with ").concat(this.state.gathering," gatherers left")),he.set(this.state.data,r,n),this.dataRequests.delete(r),this.emit("field",r),this.emit("field-value",r)}},{key:"gatheredError",value:function(r,n){ve("Setting ".concat(r,"'s error to ").concat(n," with ").concat(this.state.gathering," gatherers left")),he.set(this.state.errors,r,n),this.dataRequests.delete(r),this.updateValid(),this.emit("field",r),this.emit("field-value",r)}},{key:"validateAsync",value:function(r){var n,i=this;ve("VALIDATING ASYNC",r);var a=(n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current,l=this.getValue(r);if(a&&a.asyncValidate){this.state.validating=this.state.validating+1;var s=Sl();ve("REQUEST",s),this.validationRequests.set(r,{uuid:s,value:l}),this.emit("field",r),a.asyncValidate(l,this.state.values).then(function(u){i.state.validating=i.state.validating-1;var c=i.validationRequests.get(r).uuid!==s,d=i.validationRequests.get(r).value!==i.getValue(r);!c&&!d?(ve("FINISH",s),i.validated(r,u)):ve("".concat(c?"STALE":"INVALID"," THEN"),s,l,i.getValue(r))}).catch(function(u){i.state.validating=i.state.validating-1;var c=i.validationRequests.get(r).uuid!==s,d=i.validationRequests.get(r).value!==i.getValue(r);!c&&!d?(ve("FINISH",s),i.validated(r,u.message)):ve("".concat(c?"STALE":"INVALID"," THEN"),s,l,i.getValue(r))})}}},{key:"gatherData",value:function(r){var n,i=this;ve("EXECUTING INFO ASYNC",r);var a=(n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current,l=this.getValue(r);if(a&&a.gatherData){this.state.gathering=this.state.gathering+1;var s=Sl();ve("DATA REQUEST",s),this.dataRequests.set(r,{uuid:s,value:l}),this.emit("field",r),a.gatherData(l,this.state).then(function(u){i.state.gathering=i.state.gathering-1;var c=i.dataRequests.get(r).uuid!==s,d=i.dataRequests.get(r).value!==i.getValue(r);!c&&!d?(ve("DATA FINISH",s),i.gathered(r,u)):ve("".concat(c?"STALE":"INVALID"," THEN"),s,l,i.getValue(r))}).catch(function(u){i.state.gathering=i.state.gathering-1;var c=i.dataRequests.get(r).uuid!==s,d=i.dataRequests.get(r).value!==i.getValue(r);!c&&!d?(ve("DATA FINISH",s),i.gatheredError(r,u.message)):ve("".concat(c?"STALE":"INVALID"," THEN"),s,l,i.getValue(r))})}}},{key:"reset",value:function(){var r,n,i,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.options.current.resetOnlyOnscreen){var l;this.state.initialValues=(l=this.options.current.initialValues)!==null&&l!==void 0?l:{},this.fieldsMap.forEach(function(d){d.current.fieldApi.reset({resetValue:c})}),this.emit("reset");return}var s=a.values,u=a.resetValues,c=u===void 0?!0:u;this.state={pristine:!0,dirty:!1,submitted:!1,invalid:!1,valid:!0,submitting:!1,validating:0,gathering:0,values:c?{}:this.state.values,errors:{},touched:{},maskedValues:c?{}:this.state.maskedValues,dirt:{},focused:{},modified:{},data:{},initialValues:(r=s??this.options.current.initialValues)!==null&&r!==void 0?r:{},disabled:(n=(i=this.disabled)!==null&&i!==void 0?i:this.options.current.disabled)!==null&&n!==void 0?n:!1,memory:{}},this.fieldsMap.forEach(function(d){d.current.fieldApi.reset({resetValue:c})}),this.emit("reset")}},{key:"focusFirstError",value:function(){var r=this;this.options.current.focusOnInvalid&&Array.from(this.fieldsMap.values()).some(function(n){var i=n.current,a=i.fieldRef,l=r.getError(i.name);return l&&a?(typeof a.current.focus=="function"&&(ve("Focusing onto",i.name),a.current.focus()),!0):!1})}},{key:"scrollToFirstError",value:function(){var r=this;this.options.current.scrollOnInvalid&&Array.from(this.fieldsMap.values()).some(function(n){var i=n.current,a=i.fieldRef,l=r.getError(i.name);return l&&a?(typeof a.current.scrollIntoView=="function"&&(ve("Scrolling to",i.name),a.current.scrollIntoView(r.options.current.scrollOnInvalid)),!0):!1})}},{key:"resetField",value:function(r){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ve("Resetting",r);var a=((n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current)||{},l=a.formatter,s=a.parser,u=a.initialize,c=a.mask,d=a.modifyOnMount,f=i.value,h=i.resetValue,p=h===void 0?!0:h,m=i.resetError,g=m===void 0?!0:m,b=i.resetTouched,v=b===void 0?!0:b,y=i.resetDirt,$=y===void 0?!0:y,S=i.resetModified,k=S===void 0?!0:S;if(f){var C=Yp(f,{formatter:l,parser:s,initialize:u,mask:c});ve("Resetting ".concat(r,"'s value to ").concat(C)),he.set(this.state.values,r,C);var F=Gp(f,{formatter:l,parser:s,mask:c});ve("Resetting ".concat(r,"'s maskedValue to ").concat(F)),he.set(this.state.maskedValues,r,F)}else if(p){var E=Yp(a.getInitialValue&&a.getInitialValue(),{formatter:l,parser:s,initialize:u,mask:c}),M=Gp(a.getInitialValue&&a.getInitialValue(),{formatter:l,initialize:u,mask:c});ve("Resetting ".concat(r,"'s value to ").concat(E)),he.set(this.state.values,r,E),ve("Resetting ".concat(r,"'s maskedValue to ").concat(M)),he.set(this.state.maskedValues,r,M),d&&k&&(ve("Resetting ".concat(r,"'s modified to ").concat(E," because modifyOnMount was passed.")),he.set(this.state.modified,r,E))}if(g&&(ve("Resetting ".concat(r,"'s error")),he.delete(this.state.errors,r)),v&&(ve("Resetting ".concat(r,"'s touched")),he.delete(this.state.touched,r)),$&&(ve("Resetting ".concat(r,"'s dirt")),he.delete(this.state.dirt,r)),!d&&k&&(ve("Resetting ".concat(r,"'s modified")),he.delete(this.state.modified,r)),a.validate&&a.validateOnMount){var D=he.get(this.state.values,r);ve("Validating on reset because of validateOnMount ".concat(r," ").concat(D),this.state),he.set(this.state.errors,r,a.validate(D,this.state.values))}this.state.valid=he.empty(this.state.errors),this.state.invalid=!this.state.valid,a.gatherData&&a.gatherOnMount===!0&&this.debouncedGatherInfo(r),this.emit("field",r),this.emit("field-value",r),this.emit("field-modified",r)}},{key:"reformat",value:function(r){var n;ve("Reformatting",r);var i=(n=this.fieldsMap.get(r))===null||n===void 0?void 0:n.current,a=he.get(this.state.values,r),l=i.formatter,s=i.parser,u=i.initialize,c=Yp(a,{formatter:l,parser:s,initialize:u}),d=Gp(a,{formatter:l});ve("Reformatting ".concat(r,"'s value to ").concat(c)),he.set(this.state.values,r,c),ve("Reformatting ".concat(r,"'s maskedValue to ").concat(d)),he.set(this.state.maskedValues,r,d),this.emit("field",r),this.emit("field-value",r),this.emit("field-modified",r)}},{key:"lockRemoval",value:function(r){ve("LOCKREMOVAL",r),this.removalLocked=r}},{key:"unlockRemoval",value:function(){ve("UNLOCK REMOVAL"),this.removalLocked=void 0}},{key:"getRemovalLocked",value:function(){return this.removalLocked}},{key:"isRemovalLocked",value:function(){return this.removalLocked!=null}},{key:"valid",value:function(){var r=this.state.errors;return!!he.empty(r)}},{key:"keyDown",value:function(r){if(r.keyCode==13&&this.options.current.preventEnter)return r.preventDefault(r),!1}},{key:"validate",value:function(){var r=this;ve("Validating all fields");var n=this.state.values,i=this.options.current.validateModified;i&&(n=this.state.modified);var a={};if(this.options.current.yupSchema){var l=v4e(this.options.current.yupSchema,n);a=Re(Re({},a),l)}if(this.options.current.schema&&this.options.current.ajv){var s=y4e(this.ajvValidate,n);a=Re(Re({},a),s)}if(this.options.current.validateFields){var u=this.options.current.validateFields(n);a=Re(Re({},a),u),a=he.purge(a)}this.fieldsMap.forEach(function(c){var d=c.current,f=r.getValue(d.name),h=d.validate?d.validate(f,n):void 0;h!=null&&he.set(a,d.name,h)}),this.state.errors=a,this.updateValid(),this.emit("field","_ALL_")}},{key:"asyncValidate",value:function(r){var n=this;ve("Async Validating all fields"),this.done=r,this.fieldsMap.forEach(function(i){var a=i.current.name;n.getError(a)===void 0&&n.validateAsync(a)})}},{key:"getErrorMessage",value:function(r,n){var i;ve("Getting ".concat(r," error message for ").concat(n," Validating all fields"));var a=n;if(this.options.current.schema){for(ve("We have schema so looking in there for error message");a!=="";){ve("Looking for message at ".concat(a));var l=xie(a);ve("Looking for message at schema path ".concat(l));var s=he.get(this.options.current.schema,l);if(s&&s.errorMessage){var u=typeof s.errorMessage=="string"?s.errorMessage:s.errorMessage[r];if(u)return u}ve("Did not find message in schema for ".concat(l),s),a=a.substring(0,a.lastIndexOf("."))}var c=this.options.current.schema;if(c.errorMessage){var d=typeof c.errorMessage=="string"?c.errorMessage:c.errorMessage[r];if(d)return d}}var f=(i=this.fieldsMap.get(n))===null||i===void 0?void 0:i.current;if(f&&f.errorMessage){var h=typeof f.errorMessage=="string"?f.errorMessage:f.errorMessage[r];if(h)return h}if(this.options.current.errorMessage){var p=typeof this.options.current.errorMessage=="string"?this.options.current.errorMessage:this.options.current.errorMessage[r];if(p)return p}}},{key:"touchAllFields",value:function(){var r=this;this.fieldsMap.forEach(function(n){n.current.arrayField||(ve("TouchAllFields - setting ".concat(n.current.name,"'s touched to true")),he.set(r.state.touched,n.current.name,!0))})}},{key:"submitForm",value:function(r){this.state.submitting=!0,!this.options.current.dontPreventDefault&&r&&r.preventDefault(r),this.validate(),this.touchAllFields(),this.emit("field","_ALL_"),this.asyncValidate(),this.valid()&&this.state.validating===0?(ve("Submit",this.state),this.state.submitted=!0,this.emit("submit")):(ve("Fail",this.state),this.options.current.focusOnInvalid&&this.focusFirstError(),this.options.current.scrollOnInvalid&&this.scrollToFirstError(),this.emit("failure")),this.state.validating===0&&(this.state.submitting=!1),this.emit("field")}},{key:"emit",value:function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a=0;H--){I=b[H];var ee=s();if(!I.relevant||I.relevant({formState:ee,formApi:d,scope:f,relevanceDeps:I.relDepsRef.current}))return I.name}},_=function(Q,I){if(I&&typeof I=="function"){var H=u(p.current),ee=Re(Re({},H),{},{values:H.value,errors:H.error});I(ee).then(function(){p.current=Q,F(function(ue){return Re(Re({},ue),{},{current:Q})})}).catch(function(){})}else p.current=Q,F(function(ue){return Re(Re({},ue),{},{current:Q})})},V=function(Q){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=I.skip,ee=B();ee&&(H||d.touchAllFields(),H||a(),H||l(function(){return _(ee,Q)}),H||s().valid&&s().validating===0?_(ee,Q):s().valid||F(function(ue){return Re(Re({},ue),{},{goal:null})}))},j=function(){var Q=R();b.forEach(function(I){d.clearError(I.name)}),Q&&(p.current=Q,F(function(I){return Re(Re({},I),{},{current:Q})}))},Z=function(Q){var I=$.get(Q).index,H=$.get(p.current).index;b.forEach(function(ee){d.clearError(ee.name)}),I1?n-1:0),a=1;a{const{render:r,informed:n,fieldState:i,fieldApi:a,userProps:l,ref:s}=er({type:e??"text",...t}),{required:u,disabled:c}=l,{error:d,showError:f}=i;return r(o(H0e,{validationState:d?"invalid":null,errorMessage:f?d:void 0,isRequired:u,isDisabled:c,...l,...n,onChange:()=>{},onInput:h=>{a.setValue(h.target.value,h)},onBlur:h=>{a.setTouched(!0,h)},ref:h=>{s.current||(s.current=h?h.getInputElement():s.current)}}))},ob=e=>{const{render:t,informed:r,fieldState:n,fieldApi:i,userProps:a,ref:l}=er({type:"number",...e}),{required:s}=a,{error:u,showError:c}=n;return t(o("div",{className:"number-input",children:o(lbe,{ref:l,validationState:u?"invalid":null,errorMessage:c?u:void 0,isRequired:s,...a,...r,onChange:d=>i.setValue(d,{})})}))},Yn=e=>{const{render:t,informed:r,fieldState:n,fieldApi:i,userProps:a,ref:l}=er({type:"text",...e}),{required:s}=a,{error:u,showError:c}=n;return t(o(q1,{ref:l,validationState:u?"invalid":null,errorMessage:c?u:void 0,isRequired:s,...a,...r,isSelected:r.value,onChange:d=>i.setValue(d),children:e.label}))},jr=({children:e,...t})=>{const{render:r,informed:n,fieldState:i,fieldApi:a,userProps:l,ref:s}=er({type:"text",...t}),{required:u,options:c}=l,{error:d,showError:f}=i;return r(o(fbe,{ref:s,validationState:d?"invalid":null,errorMessage:f?d:void 0,isRequired:u,...l,...n,selectedKey:i.value,onSelectionChange:h=>a.setValue(h,{}),children:c?c.map(h=>o(E1,{children:h.label},h.value)):e}))},x3e=e=>{const{render:t,informed:r,fieldState:n,fieldApi:i,userProps:a,ref:l}=er({type:"number",...e}),{required:s}=a,{error:u,showError:c}=n;return t(o(Tbe,{ref:l,validationState:u?"invalid":null,errorMessage:c?u:void 0,isRequired:s,...a,...r,onChange:d=>i.setValue(d)}))},S3e=e=>{const{render:t,informed:r,fieldState:n,fieldApi:i,userProps:a,ref:l}=er({type:"text",...e}),{required:s}=a,{error:u,showError:c}=n;return t(o(Ore,{ref:l,validationState:u?"invalid":null,errorMessage:c?u:void 0,isRequired:s,...a,...r,isSelected:r.value,onChange:d=>i.setValue(d,{}),children:e.label}))},Pie=e=>{const{render:t,informed:r,fieldState:n,fieldApi:i,userProps:a,ref:l}=er({type:"text",...e}),{required:s,disabled:u}=a,{error:c,showError:d}=n;return t(o(U0e,{ref:l,validationState:c?"invalid":null,errorMessage:d?c:void 0,isRequired:s,isDisabled:u,...a,...r,onChange:f=>i.setValue(f)}))},xN=({children:e,...t})=>{const{render:r,informed:n,fieldState:i,fieldApi:a,userProps:l,ref:s}=er({...t}),{required:u,options:c}=l,{error:d,showError:f}=i;return r(o(m0e,{ref:s,validationState:d?"invalid":null,errorMessage:f?d:void 0,isRequired:u,...l,...n,value:i.value,onChange:h=>a.setValue(h,{}),children:c?c.map(h=>o(q1,{value:h.value,children:h.label})):e}))},sb=({children:e,...t})=>{const{render:r,informed:n,fieldState:i,fieldApi:a,userProps:l,ref:s}=er({type:"text",...t}),{required:u,options:c}=l,{error:d,showError:f}=i;return r(o(Obe,{ref:s,validationState:d?"invalid":null,errorMessage:f?d:void 0,isRequired:u,...l,...n,value:n.value,onChange:h=>a.setValue(h),children:c?c.map(h=>o(Ou,{value:h.value,children:h.label},h.value)):e}))},Fie=({children:e,items:t,...r})=>{const{render:n,informed:i,fieldState:a,fieldApi:l,userProps:s,ref:u}=er({type:"text",...r}),{required:c}=s,{error:d,showError:f}=a;return n(o(n1e,{ref:u,validationState:d?"invalid":null,errorMessage:f?d:void 0,isRequired:c,...s,...i,items:t,allowsCustomValue:!0,onInputChange:h=>l.setValue(h,{}),children:h=>o(E1,{children:h.value},h.id)}))},w3e=e=>{const{informed:t,render:r,userProps:n,ref:i}=er({type:"text",...e});return r(o("input",{...t,...n,ref:i,type:"hidden"}))},k3e=e=>{const{fieldState:t,fieldApi:r,render:n,ref:i,userProps:a}=er(e),{maskedValue:l}=t,{setValue:s,setTouched:u}=r,{id:c,...d}=a;return n(o("input",{...d,id:c,ref:i,value:!l&&l!==0?"":l,onChange:f=>{s(f.target.value,f)},onBlur:f=>{u(!0,f)}}))},Aie=()=>{const{add:e}=ib();return o(te,{onClick:e,type:"button",variant:"accent",style:"outline",children:"Add"})},Die=()=>{const{remove:e}=ab();return o(te,{onClick:e,type:"button",variant:"negative",children:"Remove"})},C3e=({name:e,items:t,...r})=>x(br,{name:e,...r,children:[o(Aie,{}),o(br.Items,{children:()=>x(le,{children:[o(ks,{schema:t}),o(Die,{})]})})]});var Tie={};Object.defineProperty(Tie,"__esModule",{value:!0});var E3e=Tie.A4uCopy=F3e,Hr=P3e(O);function P3e(e){return e&&e.__esModule?e:{default:e}}function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;t{Prism.highlightAll()},[e,t,u]),e=e??l;const f=u?"line-numbers":"",h=/(?:^(\r\n|\r|\n))?^.*\/\*.+\*\/.*(\r\n|\r|\n)?/gm;return c||(e=e.replace(h,"")),t?x("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap",width:"100%"},children:[o("pre",{className:`language-${r} ${f}`,style:{flex:"1",minWidth:i},children:o("code",{className:`language-${r} ${f}`,children:e})}),o("pre",{className:`language-${n} ${f}`,style:{flex:"1",minWidth:a},children:o("code",{className:`language-${n} ${f}`,children:t})})]}):x("div",{style:{position:"relative"},children:[s?x(le,{children:[o("div",{style:{position:"absolute",right:"-32px"},children:x(Iv,{children:[o(xo,{"aria-label":"Copy Code",onPress:()=>{navigator.clipboard.writeText(e)},children:o(Rie,{})}),o(Rv,{children:"Copy to clipboard"})]})}),o("div",{style:{position:"absolute",right:"4px"},children:x(Iv,{children:[o(xo,{"aria-label":"Playground",onPress:()=>{let p=e.replace("YourComponents","./YourComponents");p=p.replace(/