ados-rcm 1.1.518 → 1.1.519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AModule/AComponents/AResource/AResource.d.ts +2 -0
- package/dist/index.cjs.js +21 -21
- package/dist/index.es.js +211 -207
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -17,13 +17,13 @@
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
18
18
|
*/var C0;function h4(){return C0||(C0=1,process.env.NODE_ENV!=="production"&&function(){var r=C,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),w=Symbol.iterator,E="@@iterator";function _(Q){if(Q===null||typeof Q!="object")return null;var me=w&&Q[w]||Q[E];return typeof me=="function"?me:null}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(Q){{for(var me=arguments.length,Le=new Array(me>1?me-1:0),ct=1;ct<me;ct++)Le[ct-1]=arguments[ct];D("error",Q,Le)}}function D(Q,me,Le){{var ct=A.ReactDebugCurrentFrame,It=ct.getStackAddendum();It!==""&&(me+="%s",Le=Le.concat([It]));var Rt=Le.map(function(Qt){return String(Qt)});Rt.unshift("Warning: "+me),Function.prototype.apply.call(console[Q],console,Rt)}}var I=!1,P=!1,j=!1,W=!1,F=!1,G;G=Symbol.for("react.module.reference");function pe(Q){return!!(typeof Q=="string"||typeof Q=="function"||Q===n||Q===i||F||Q===o||Q===h||Q===p||W||Q===v||I||P||j||typeof Q=="object"&&Q!==null&&(Q.$$typeof===g||Q.$$typeof===m||Q.$$typeof===a||Q.$$typeof===c||Q.$$typeof===d||Q.$$typeof===G||Q.getModuleId!==void 0))}function B(Q,me,Le){var ct=Q.displayName;if(ct)return ct;var It=me.displayName||me.name||"";return It!==""?Le+"("+It+")":Le}function q(Q){return Q.displayName||"Context"}function V(Q){if(Q==null)return null;if(typeof Q.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Q=="function")return Q.displayName||Q.name||null;if(typeof Q=="string")return Q;switch(Q){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case p:return"SuspenseList"}if(typeof Q=="object")switch(Q.$$typeof){case c:var me=Q;return q(me)+".Consumer";case a:var Le=Q;return q(Le._context)+".Provider";case d:return B(Q,Q.render,"ForwardRef");case m:var ct=Q.displayName||null;return ct!==null?ct:V(Q.type)||"Memo";case g:{var It=Q,Rt=It._payload,Qt=It._init;try{return V(Qt(Rt))}catch{return null}}}return null}var ee=Object.assign,ae=0,ne,oe,le,ge,te,ie,ue;function xe(){}xe.__reactDisabledLog=!0;function ke(){{if(ae===0){ne=console.log,oe=console.info,le=console.warn,ge=console.error,te=console.group,ie=console.groupCollapsed,ue=console.groupEnd;var Q={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:Q,log:Q,warn:Q,error:Q,group:Q,groupCollapsed:Q,groupEnd:Q})}ae++}}function se(){{if(ae--,ae===0){var Q={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ee({},Q,{value:ne}),info:ee({},Q,{value:oe}),warn:ee({},Q,{value:le}),error:ee({},Q,{value:ge}),group:ee({},Q,{value:te}),groupCollapsed:ee({},Q,{value:ie}),groupEnd:ee({},Q,{value:ue})})}ae<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ae=A.ReactCurrentDispatcher,De;function Ge(Q,me,Le){{if(De===void 0)try{throw Error()}catch(It){var ct=It.stack.trim().match(/\n( *(at )?)/);De=ct&&ct[1]||""}return`
|
19
19
|
`+De+Q}}var Ue=!1,we;{var Se=typeof WeakMap=="function"?WeakMap:Map;we=new Se}function _e(Q,me){if(!Q||Ue)return"";{var Le=we.get(Q);if(Le!==void 0)return Le}var ct;Ue=!0;var It=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Rt;Rt=Ae.current,Ae.current=null,ke();try{if(me){var Qt=function(){throw Error()};if(Object.defineProperty(Qt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Qt,[])}catch(Br){ct=Br}Reflect.construct(Q,[],Qt)}else{try{Qt.call()}catch(Br){ct=Br}Q.call(Qt.prototype)}}else{try{throw Error()}catch(Br){ct=Br}Q()}}catch(Br){if(Br&&ct&&typeof Br.stack=="string"){for(var Kt=Br.stack.split(`
|
20
|
-
`),
|
21
|
-
`),pr=Kt.length-1,Tr=
|
22
|
-
`+Kt[pr].replace(" at new "," at ");return Q.displayName&&ur.includes("<anonymous>")&&(ur=ur.replace("<anonymous>",Q.displayName)),typeof Q=="function"&&we.set(Q,ur),ur}while(pr>=1&&Tr>=0);break}}}finally{Ue=!1,Ae.current=Rt,se(),Error.prepareStackTrace=It}var Rn=Q?Q.displayName||Q.name:"",Fn=Rn?Ge(Rn):"";return typeof Q=="function"&&we.set(Q,Fn),Fn}function Re(Q,me,Le){return _e(Q,!1)}function Me(Q){var me=Q.prototype;return!!(me&&me.isReactComponent)}function tt(Q,me,Le){if(Q==null)return"";if(typeof Q=="function")return _e(Q,Me(Q));if(typeof Q=="string")return Ge(Q);switch(Q){case h:return Ge("Suspense");case p:return Ge("SuspenseList")}if(typeof Q=="object")switch(Q.$$typeof){case d:return Re(Q.render);case m:return tt(Q.type,me,Le);case g:{var ct=Q,It=ct._payload,Rt=ct._init;try{return tt(Rt(It),me,Le)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,et={},st=A.ReactDebugCurrentFrame;function ze(Q){if(Q){var me=Q._owner,Le=tt(Q.type,Q._source,me?me.type:null);st.setExtraStackFrame(Le)}else st.setExtraStackFrame(null)}function Ke(Q,me,Le,ct,It){{var Rt=Function.call.bind(We);for(var Qt in Q)if(Rt(Q,Qt)){var Kt=void 0;try{if(typeof Q[Qt]!="function"){var
|
20
|
+
`),br=ct.stack.split(`
|
21
|
+
`),pr=Kt.length-1,Tr=br.length-1;pr>=1&&Tr>=0&&Kt[pr]!==br[Tr];)Tr--;for(;pr>=1&&Tr>=0;pr--,Tr--)if(Kt[pr]!==br[Tr]){if(pr!==1||Tr!==1)do if(pr--,Tr--,Tr<0||Kt[pr]!==br[Tr]){var ur=`
|
22
|
+
`+Kt[pr].replace(" at new "," at ");return Q.displayName&&ur.includes("<anonymous>")&&(ur=ur.replace("<anonymous>",Q.displayName)),typeof Q=="function"&&we.set(Q,ur),ur}while(pr>=1&&Tr>=0);break}}}finally{Ue=!1,Ae.current=Rt,se(),Error.prepareStackTrace=It}var Rn=Q?Q.displayName||Q.name:"",Fn=Rn?Ge(Rn):"";return typeof Q=="function"&&we.set(Q,Fn),Fn}function Re(Q,me,Le){return _e(Q,!1)}function Me(Q){var me=Q.prototype;return!!(me&&me.isReactComponent)}function tt(Q,me,Le){if(Q==null)return"";if(typeof Q=="function")return _e(Q,Me(Q));if(typeof Q=="string")return Ge(Q);switch(Q){case h:return Ge("Suspense");case p:return Ge("SuspenseList")}if(typeof Q=="object")switch(Q.$$typeof){case d:return Re(Q.render);case m:return tt(Q.type,me,Le);case g:{var ct=Q,It=ct._payload,Rt=ct._init;try{return tt(Rt(It),me,Le)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,et={},st=A.ReactDebugCurrentFrame;function ze(Q){if(Q){var me=Q._owner,Le=tt(Q.type,Q._source,me?me.type:null);st.setExtraStackFrame(Le)}else st.setExtraStackFrame(null)}function Ke(Q,me,Le,ct,It){{var Rt=Function.call.bind(We);for(var Qt in Q)if(Rt(Q,Qt)){var Kt=void 0;try{if(typeof Q[Qt]!="function"){var br=Error((ct||"React class")+": "+Le+" type `"+Qt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Q[Qt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw br.name="Invariant Violation",br}Kt=Q[Qt](me,Qt,ct,Le,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pr){Kt=pr}Kt&&!(Kt instanceof Error)&&(ze(It),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ct||"React class",Le,Qt,typeof Kt),ze(null)),Kt instanceof Error&&!(Kt.message in et)&&(et[Kt.message]=!0,ze(It),k("Failed %s type: %s",Le,Kt.message),ze(null))}}}var bt=Array.isArray;function ht(Q){return bt(Q)}function dt(Q){{var me=typeof Symbol=="function"&&Symbol.toStringTag,Le=me&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return Le}}function St(Q){try{return Ve(Q),!1}catch{return!0}}function Ve(Q){return""+Q}function rt(Q){if(St(Q))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",dt(Q)),Ve(Q)}var vt=A.ReactCurrentOwner,Tt={key:!0,ref:!0,__self:!0,__source:!0},xt,Mt;function Vt(Q){if(We.call(Q,"ref")){var me=Object.getOwnPropertyDescriptor(Q,"ref").get;if(me&&me.isReactWarning)return!1}return Q.ref!==void 0}function Ht(Q){if(We.call(Q,"key")){var me=Object.getOwnPropertyDescriptor(Q,"key").get;if(me&&me.isReactWarning)return!1}return Q.key!==void 0}function hr(Q,me){typeof Q.ref=="string"&&vt.current}function _r(Q,me){{var Le=function(){xt||(xt=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",me))};Le.isReactWarning=!0,Object.defineProperty(Q,"key",{get:Le,configurable:!0})}}function yr(Q,me){{var Le=function(){Mt||(Mt=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",me))};Le.isReactWarning=!0,Object.defineProperty(Q,"ref",{get:Le,configurable:!0})}}var Ee=function(Q,me,Le,ct,It,Rt,Qt){var Kt={$$typeof:e,type:Q,key:me,ref:Le,props:Qt,_owner:Rt};return Kt._store={},Object.defineProperty(Kt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Kt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ct}),Object.defineProperty(Kt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:It}),Object.freeze&&(Object.freeze(Kt.props),Object.freeze(Kt)),Kt};function de(Q,me,Le,ct,It){{var Rt,Qt={},Kt=null,br=null;Le!==void 0&&(rt(Le),Kt=""+Le),Ht(me)&&(rt(me.key),Kt=""+me.key),Vt(me)&&(br=me.ref,hr(me,It));for(Rt in me)We.call(me,Rt)&&!Tt.hasOwnProperty(Rt)&&(Qt[Rt]=me[Rt]);if(Q&&Q.defaultProps){var pr=Q.defaultProps;for(Rt in pr)Qt[Rt]===void 0&&(Qt[Rt]=pr[Rt])}if(Kt||br){var Tr=typeof Q=="function"?Q.displayName||Q.name||"Unknown":Q;Kt&&_r(Qt,Tr),br&&yr(Qt,Tr)}return Ee(Q,Kt,br,It,ct,vt.current,Qt)}}var nt=A.ReactCurrentOwner,qe=A.ReactDebugCurrentFrame;function pt(Q){if(Q){var me=Q._owner,Le=tt(Q.type,Q._source,me?me.type:null);qe.setExtraStackFrame(Le)}else qe.setExtraStackFrame(null)}var wt;wt=!1;function _t(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===e}function jt(){{if(nt.current){var Q=V(nt.current.type);if(Q)return`
|
23
23
|
|
24
24
|
Check the render method of \``+Q+"`."}return""}}function Ot(Q){return""}var ir={};function Ft(Q){{var me=jt();if(!me){var Le=typeof Q=="string"?Q:Q.displayName||Q.name;Le&&(me=`
|
25
25
|
|
26
|
-
Check the top-level render call using <`+Le+">.")}return me}}function nr(Q,me){{if(!Q._store||Q._store.validated||Q.key!=null)return;Q._store.validated=!0;var Le=Ft(me);if(ir[Le])return;ir[Le]=!0;var ct="";Q&&Q._owner&&Q._owner!==nt.current&&(ct=" It was passed a child from "+V(Q._owner.type)+"."),pt(Q),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Le,ct),pt(null)}}function tr(Q,me){{if(typeof Q!="object")return;if(ht(Q))for(var Le=0;Le<Q.length;Le++){var ct=Q[Le];_t(ct)&&nr(ct,me)}else if(_t(Q))Q._store&&(Q._store.validated=!0);else if(Q){var It=_(Q);if(typeof It=="function"&&It!==Q.entries)for(var Rt=It.call(Q),Qt;!(Qt=Rt.next()).done;)_t(Qt.value)&&nr(Qt.value,me)}}}function it(Q){{var me=Q.type;if(me==null||typeof me=="string")return;var Le;if(typeof me=="function")Le=me.propTypes;else if(typeof me=="object"&&(me.$$typeof===d||me.$$typeof===m))Le=me.propTypes;else return;if(Le){var ct=V(me);Ke(Le,Q.props,"prop",ct,Q)}else if(me.PropTypes!==void 0&&!wt){wt=!0;var It=V(me);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",It||"Unknown")}typeof me.getDefaultProps=="function"&&!me.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(Q){{for(var me=Object.keys(Q.props),Le=0;Le<me.length;Le++){var ct=me[Le];if(ct!=="children"&&ct!=="key"){pt(Q),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ct),pt(null);break}}Q.ref!==null&&(pt(Q),k("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}var At={};function kt(Q,me,Le,ct,It,Rt){{var Qt=pe(Q);if(!Qt){var Kt="";(Q===void 0||typeof Q=="object"&&Q!==null&&Object.keys(Q).length===0)&&(Kt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var
|
26
|
+
Check the top-level render call using <`+Le+">.")}return me}}function nr(Q,me){{if(!Q._store||Q._store.validated||Q.key!=null)return;Q._store.validated=!0;var Le=Ft(me);if(ir[Le])return;ir[Le]=!0;var ct="";Q&&Q._owner&&Q._owner!==nt.current&&(ct=" It was passed a child from "+V(Q._owner.type)+"."),pt(Q),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Le,ct),pt(null)}}function tr(Q,me){{if(typeof Q!="object")return;if(ht(Q))for(var Le=0;Le<Q.length;Le++){var ct=Q[Le];_t(ct)&&nr(ct,me)}else if(_t(Q))Q._store&&(Q._store.validated=!0);else if(Q){var It=_(Q);if(typeof It=="function"&&It!==Q.entries)for(var Rt=It.call(Q),Qt;!(Qt=Rt.next()).done;)_t(Qt.value)&&nr(Qt.value,me)}}}function it(Q){{var me=Q.type;if(me==null||typeof me=="string")return;var Le;if(typeof me=="function")Le=me.propTypes;else if(typeof me=="object"&&(me.$$typeof===d||me.$$typeof===m))Le=me.propTypes;else return;if(Le){var ct=V(me);Ke(Le,Q.props,"prop",ct,Q)}else if(me.PropTypes!==void 0&&!wt){wt=!0;var It=V(me);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",It||"Unknown")}typeof me.getDefaultProps=="function"&&!me.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(Q){{for(var me=Object.keys(Q.props),Le=0;Le<me.length;Le++){var ct=me[Le];if(ct!=="children"&&ct!=="key"){pt(Q),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ct),pt(null);break}}Q.ref!==null&&(pt(Q),k("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}var At={};function kt(Q,me,Le,ct,It,Rt){{var Qt=pe(Q);if(!Qt){var Kt="";(Q===void 0||typeof Q=="object"&&Q!==null&&Object.keys(Q).length===0)&&(Kt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var br=Ot();br?Kt+=br:Kt+=jt();var pr;Q===null?pr="null":ht(Q)?pr="array":Q!==void 0&&Q.$$typeof===e?(pr="<"+(V(Q.type)||"Unknown")+" />",Kt=" Did you accidentally export a JSX literal instead of a component?"):pr=typeof Q,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pr,Kt)}var Tr=de(Q,me,Le,It,Rt);if(Tr==null)return Tr;if(Qt){var ur=me.children;if(ur!==void 0)if(ct)if(ht(ur)){for(var Rn=0;Rn<ur.length;Rn++)tr(ur[Rn],Q);Object.freeze&&Object.freeze(ur)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else tr(ur,Q)}if(We.call(me,"key")){var Fn=V(Q),Br=Object.keys(me).filter(function(wn){return wn!=="key"}),Ur=Br.length>0?"{key: someKey, "+Br.join(": ..., ")+": ...}":"{key: someKey}";if(!At[Fn+Ur]){var zn=Br.length>0?"{"+Br.join(": ..., ")+": ...}":"{}";k(`A props object containing a "key" prop is being spread into JSX:
|
27
27
|
let props = %s;
|
28
28
|
<%s {...props} />
|
29
29
|
React keys must be passed directly to JSX without using spread:
|
@@ -35,9 +35,9 @@ React keys must be passed directly to JSX without using spread:
|
|
35
35
|
* Released under MIT license <https://lodash.com/license>
|
36
36
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
37
37
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
38
|
-
*/var g4=Ff.exports,_0;function m4(){return _0||(_0=1,function(r,e){(function(){var t,n="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",m=1,g=2,v=4,w=1,E=2,_=1,A=2,k=4,D=8,I=16,P=32,j=64,W=128,F=256,G=512,pe=30,B="...",q=800,V=16,ee=1,ae=2,ne=3,oe=1/0,le=9007199254740991,ge=17976931348623157e292,te=NaN,ie=4294967295,ue=ie-1,xe=ie>>>1,ke=[["ary",W],["bind",_],["bindKey",A],["curry",D],["curryRight",I],["flip",G],["partial",P],["partialRight",j],["rearg",F]],se="[object Arguments]",Ae="[object Array]",De="[object AsyncFunction]",Ge="[object Boolean]",Ue="[object Date]",we="[object DOMException]",Se="[object Error]",_e="[object Function]",Re="[object GeneratorFunction]",Me="[object Map]",tt="[object Number]",We="[object Null]",et="[object Object]",st="[object Promise]",ze="[object Proxy]",Ke="[object RegExp]",bt="[object Set]",ht="[object String]",dt="[object Symbol]",St="[object Undefined]",Ve="[object WeakMap]",rt="[object WeakSet]",vt="[object ArrayBuffer]",Tt="[object DataView]",xt="[object Float32Array]",Mt="[object Float64Array]",Vt="[object Int8Array]",Ht="[object Int16Array]",hr="[object Int32Array]",_r="[object Uint8Array]",vr="[object Uint8ClampedArray]",Ee="[object Uint16Array]",de="[object Uint32Array]",nt=/\b__p \+= '';/g,qe=/\b(__p \+=) '' \+/g,pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,_t=/[&<>"']/g,jt=RegExp(wt.source),Ot=RegExp(_t.source),ir=/<%-([\s\S]+?)%>/g,Ft=/<%([\s\S]+?)%>/g,nr=/<%=([\s\S]+?)%>/g,tr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(At.source),Lt=/^\s+/,qt=/\s/,rr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,me=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,It=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Rt=/\w*$/,Qt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,yr=/^\[object .+?Constructor\]$/,pr=/^0o[0-7]+$/i,Tr=/^(?:0|[1-9]\d*)$/,ur=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rn=/($^)/,Fn=/['\n\r\u2028\u2029\\]/g,Br="\\ud800-\\udfff",Ur="\\u0300-\\u036f",zn="\\ufe20-\\ufe2f",wn="\\u20d0-\\u20ff",to=Ur+zn+wn,ro="\\u2700-\\u27bf",cn="a-z\\xdf-\\xf6\\xf8-\\xff",$n="\\xac\\xb1\\xd7\\xf7",In="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_o="\\u2000-\\u206f",Oo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",No="A-Z\\xc0-\\xd6\\xd8-\\xde",Ln="\\ufe0e\\ufe0f",Mn=$n+In+_o+Oo,mn="['’]",no="["+Br+"]",un="["+Mn+"]",yn="["+to+"]",R="\\d+",$="["+ro+"]",X="["+cn+"]",fe="[^"+Br+Mn+R+ro+cn+No+"]",Fe="\\ud83c[\\udffb-\\udfff]",Ne="(?:"+yn+"|"+Fe+")",Xe="[^"+Br+"]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+No+"]",zt="\\u200d",Ar="(?:"+X+"|"+fe+")",Jr="(?:"+$t+"|"+fe+")",Cn="(?:"+mn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+mn+"(?:D|LL|M|RE|S|T|VE))?",fo=Ne+"?",Vn="["+Ln+"]?",Po="(?:"+zt+"(?:"+[Xe,yt,Nt].join("|")+")"+Vn+fo+")*",rn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ao="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Gn=Vn+fo+Po,oo="(?:"+[$,yt,Nt].join("|")+")"+Gn,Oi="(?:"+[Xe+yn+"?",yn,yt,Nt,no].join("|")+")",vi=RegExp(mn,"g"),yi=RegExp(yn,"g"),Dn=RegExp(Fe+"(?="+Fe+")|"+Oi+Gn,"g"),Ni=RegExp([$t+"?"+X+"+"+Cn+"(?="+[un,$t,"$"].join("|")+")",Jr+"+"+Sn+"(?="+[un,$t+Ar,"$"].join("|")+")",$t+"?"+Ar+"+"+Cn,$t+"+"+Sn,Ao,rn,R,oo].join("|"),"g"),io=RegExp("["+zt+Br+to+Ln+"]"),so=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ni=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pr=-1,kr={};kr[xt]=kr[Mt]=kr[Vt]=kr[Ht]=kr[hr]=kr[_r]=kr[vr]=kr[Ee]=kr[de]=!0,kr[se]=kr[Ae]=kr[vt]=kr[Ge]=kr[Tt]=kr[Ue]=kr[Se]=kr[_e]=kr[Me]=kr[tt]=kr[et]=kr[Ke]=kr[bt]=kr[ht]=kr[Ve]=!1;var Nr={};Nr[se]=Nr[Ae]=Nr[vt]=Nr[Tt]=Nr[Ge]=Nr[Ue]=Nr[xt]=Nr[Mt]=Nr[Vt]=Nr[Ht]=Nr[hr]=Nr[Me]=Nr[tt]=Nr[et]=Nr[Ke]=Nr[bt]=Nr[ht]=Nr[dt]=Nr[_r]=Nr[vr]=Nr[Ee]=Nr[de]=!0,Nr[Se]=Nr[_e]=Nr[Ve]=!1;var O={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},J={"&":"&","<":"<",">":">",'"':""","'":"'"},be={"&":"&","<":"<",">":">",""":'"',"'":"'"},Je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Jt=parseFloat,Ut=parseInt,br=typeof Li=="object"&&Li&&Li.Object===Object&&Li,Er=typeof self=="object"&&self&&self.Object===Object&&self,gr=br||Er||Function("return this")(),Rr=e&&!e.nodeType&&e,nn=Rr&&!0&&r&&!r.nodeType&&r,On=nn&&nn.exports===Rr,Kr=On&&br.process,$r=function(){try{var Te=nn&&nn.require&&nn.require("util").types;return Te||Kr&&Kr.binding&&Kr.binding("util")}catch{}}(),on=$r&&$r.isArrayBuffer,ho=$r&&$r.isDate,Eo=$r&&$r.isMap,Zn=$r&&$r.isRegExp,Pi=$r&&$r.isSet,oi=$r&&$r.isTypedArray;function dn(Te,Qe,Ye){switch(Ye.length){case 0:return Te.call(Qe);case 1:return Te.call(Qe,Ye[0]);case 2:return Te.call(Qe,Ye[0],Ye[1]);case 3:return Te.call(Qe,Ye[0],Ye[1],Ye[2])}return Te.apply(Qe,Ye)}function Is(Te,Qe,Ye,Pt){for(var ar=-1,jr=Te==null?0:Te.length;++ar<jr;){var _n=Te[ar];Qe(Pt,_n,Ye(_n),Te)}return Pt}function Yn(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt&&Qe(Te[Ye],Ye,Te)!==!1;);return Te}function zl(Te,Qe){for(var Ye=Te==null?0:Te.length;Ye--&&Qe(Te[Ye],Ye,Te)!==!1;);return Te}function rl(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt;)if(!Qe(Te[Ye],Ye,Te))return!1;return!0}function ii(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length,ar=0,jr=[];++Ye<Pt;){var _n=Te[Ye];Qe(_n,Ye,Te)&&(jr[ar++]=_n)}return jr}function Bi(Te,Qe){var Ye=Te==null?0:Te.length;return!!Ye&&ji(Te,Qe,0)>-1}function Kn(Te,Qe,Ye){for(var Pt=-1,ar=Te==null?0:Te.length;++Pt<ar;)if(Ye(Qe,Te[Pt]))return!0;return!1}function Qr(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length,ar=Array(Pt);++Ye<Pt;)ar[Ye]=Qe(Te[Ye],Ye,Te);return ar}function Bo(Te,Qe){for(var Ye=-1,Pt=Qe.length,ar=Te.length;++Ye<Pt;)Te[ar+Ye]=Qe[Ye];return Te}function nl(Te,Qe,Ye,Pt){var ar=-1,jr=Te==null?0:Te.length;for(Pt&&jr&&(Ye=Te[++ar]);++ar<jr;)Ye=Qe(Ye,Te[ar],ar,Te);return Ye}function $l(Te,Qe,Ye,Pt){var ar=Te==null?0:Te.length;for(Pt&&ar&&(Ye=Te[--ar]);ar--;)Ye=Qe(Ye,Te[ar],ar,Te);return Ye}function os(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt;)if(Qe(Te[Ye],Ye,Te))return!0;return!1}var Hl=M("length");function ql(Te){return Te.split("")}function ma(Te){return Te.match(me)||[]}function Ms(Te,Qe,Ye){var Pt;return Ye(Te,function(ar,jr,_n){if(Qe(ar,jr,_n))return Pt=jr,!1}),Pt}function Ls(Te,Qe,Ye,Pt){for(var ar=Te.length,jr=Ye+(Pt?1:-1);Pt?jr--:++jr<ar;)if(Qe(Te[jr],jr,Te))return jr;return-1}function ji(Te,Qe,Ye){return Qe===Qe?pf(Te,Qe,Ye):Ls(Te,va,Ye)}function Wl(Te,Qe,Ye,Pt){for(var ar=Ye-1,jr=Te.length;++ar<jr;)if(Pt(Te[ar],Qe))return ar;return-1}function va(Te){return Te!==Te}function ol(Te,Qe){var Ye=Te==null?0:Te.length;return Ye?He(Te,Qe)/Ye:te}function M(Te){return function(Qe){return Qe==null?t:Qe[Te]}}function z(Te){return function(Qe){return Te==null?t:Te[Qe]}}function Z(Te,Qe,Ye,Pt,ar){return ar(Te,function(jr,_n,Yr){Ye=Pt?(Pt=!1,jr):Qe(Ye,jr,_n,Yr)}),Ye}function he(Te,Qe){var Ye=Te.length;for(Te.sort(Qe);Ye--;)Te[Ye]=Te[Ye].value;return Te}function He(Te,Qe){for(var Ye,Pt=-1,ar=Te.length;++Pt<ar;){var jr=Qe(Te[Pt]);jr!==t&&(Ye=Ye===t?jr:Ye+jr)}return Ye}function Be(Te,Qe){for(var Ye=-1,Pt=Array(Te);++Ye<Te;)Pt[Ye]=Qe(Ye);return Pt}function ot(Te,Qe){return Qr(Qe,function(Ye){return[Ye,Te[Ye]]})}function Et(Te){return Te&&Te.slice(0,Gu(Te)+1).replace(Lt,"")}function Wt(Te){return function(Qe){return Te(Qe)}}function mr(Te,Qe){return Qr(Qe,function(Ye){return Te[Ye]})}function lr(Te,Qe){return Te.has(Qe)}function Xr(Te,Qe){for(var Ye=-1,Pt=Te.length;++Ye<Pt&&ji(Qe,Te[Ye],0)>-1;);return Ye}function ao(Te,Qe){for(var Ye=Te.length;Ye--&&ji(Qe,Te[Ye],0)>-1;);return Ye}function jo(Te,Qe){for(var Ye=Te.length,Pt=0;Ye--;)Te[Ye]===Qe&&++Pt;return Pt}var Fo=z(O),ya=z(J);function Ul(Te){return"\\"+Je[Te]}function Ds(Te,Qe){return Te==null?t:Te[Qe]}function ba(Te){return io.test(Te)}function ff(Te){return so.test(Te)}function Vc(Te){for(var Qe,Ye=[];!(Qe=Te.next()).done;)Ye.push(Qe.value);return Ye}function Gc(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt,ar){Ye[++Qe]=[ar,Pt]}),Ye}function Vu(Te,Qe){return function(Ye){return Te(Qe(Ye))}}function Fi(Te,Qe){for(var Ye=-1,Pt=Te.length,ar=0,jr=[];++Ye<Pt;){var _n=Te[Ye];(_n===Qe||_n===p)&&(Te[Ye]=p,jr[ar++]=Ye)}return jr}function il(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt){Ye[++Qe]=Pt}),Ye}function hf(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt){Ye[++Qe]=[Pt,Pt]}),Ye}function pf(Te,Qe,Ye){for(var Pt=Ye-1,ar=Te.length;++Pt<ar;)if(Te[Pt]===Qe)return Pt;return-1}function gf(Te,Qe,Ye){for(var Pt=Ye+1;Pt--;)if(Te[Pt]===Qe)return Pt;return Pt}function xa(Te){return ba(Te)?Vl(Te):Hl(Te)}function vn(Te){return ba(Te)?zo(Te):ql(Te)}function Gu(Te){for(var Qe=Te.length;Qe--&&qt.test(Te.charAt(Qe)););return Qe}var Zu=z(be);function Vl(Te){for(var Qe=Dn.lastIndex=0;Dn.test(Te);)++Qe;return Qe}function zo(Te){return Te.match(Dn)||[]}function Yu(Te){return Te.match(Ni)||[]}var Gl=function Te(Qe){Qe=Qe==null?gr:zi.defaults(gr.Object(),Qe,zi.pick(gr,ni));var Ye=Qe.Array,Pt=Qe.Date,ar=Qe.Error,jr=Qe.Function,_n=Qe.Math,Yr=Qe.Object,wa=Qe.RegExp,Ku=Qe.String,Ko=Qe.TypeError,Zl=Ye.prototype,mf=jr.prototype,is=Yr.prototype,en=Qe["__core-js_shared__"],ss=mf.toString,Vr=is.hasOwnProperty,Zc=0,sn=function(){var s=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),$i=is.toString,Yc=ss.call(Yr),Kc=gr._,Xc=wa("^"+ss.call(Vr).replace(At,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=On?Qe.Buffer:t,Hi=Qe.Symbol,sl=Qe.Uint8Array,al=Ca?Ca.allocUnsafe:t,Os=Vu(Yr.getPrototypeOf,Yr),Sa=Yr.create,Yl=is.propertyIsEnumerable,qi=Zl.splice,Kl=Hi?Hi.isConcatSpreadable:t,si=Hi?Hi.iterator:t,Wi=Hi?Hi.toStringTag:t,as=function(){try{var s=Cu(Yr,"defineProperty");return s({},"",{}),s}catch{}}(),vf=Qe.clearTimeout!==gr.clearTimeout&&Qe.clearTimeout,ll=Pt&&Pt.now!==gr.Date.now&&Pt.now,Xu=Qe.setTimeout!==gr.setTimeout&&Qe.setTimeout,_a=_n.ceil,Ns=_n.floor,Aa=Yr.getOwnPropertySymbols,Xl=Ca?Ca.isBuffer:t,Ea=Qe.isFinite,cl=Zl.join,Ju=Vu(Yr.keys,Yr),fn=_n.max,Nn=_n.min,ls=Pt.now,Jc=Qe.parseInt,cs=_n.random,Jl=Zl.reverse,bi=Cu(Qe,"DataView"),us=Cu(Qe,"Map"),Ta=Cu(Qe,"Promise"),xi=Cu(Qe,"Set"),Ui=Cu(Qe,"WeakMap"),ka=Cu(Yr,"create"),ul=Ui&&new Ui,Ps={},ds=Su(bi),Qc=Su(us),yf=Su(Ta),Qu=Su(xi),Ra=Su(Ui),fs=Hi?Hi.prototype:t,Bs=fs?fs.valueOf:t,dl=fs?fs.toString:t;function Y(s){if(Wn(s)&&!Sr(s)&&!(s instanceof Cr)){if(s instanceof lo)return s;if(Vr.call(s,"__wrapped__"))return zv(s)}return new lo(s)}var Vi=function(){function s(){}return function(u){if(!Pn(u))return{};if(Sa)return Sa(u);s.prototype=u;var x=new s;return s.prototype=t,x}}();function Gi(){}function lo(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}Y.templateSettings={escape:ir,evaluate:Ft,interpolate:nr,variable:"",imports:{_:Y}},Y.prototype=Gi.prototype,Y.prototype.constructor=Y,lo.prototype=Vi(Gi.prototype),lo.prototype.constructor=lo;function Cr(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Ql(){var s=new Cr(this.__wrapped__);return s.__actions__=bo(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=bo(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=bo(this.__views__),s}function fl(){if(this.__filtered__){var s=new Cr(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function ec(){var s=this.__wrapped__.value(),u=this.__dir__,x=Sr(s),L=u<0,U=x?s.length:0,re=PC(0,U,this.__views__),ye=re.start,Ce=re.end,Oe=Ce-ye,ut=L?Ce:ye-1,ft=this.__iteratees__,Ct=ft.length,Bt=0,er=Nn(Oe,this.__takeCount__);if(!x||!L&&U==Oe&&er==Oe)return gd(s,this.__actions__);var dr=[];e:for(;Oe--&&Bt<er;){ut+=u;for(var Dr=-1,fr=s[ut];++Dr<Ct;){var zr=ft[Dr],qr=zr.iteratee,Ji=zr.type,hi=qr(fr);if(Ji==ae)fr=hi;else if(!hi){if(Ji==ee)continue e;break e}}dr[Bt++]=fr}return dr}Cr.prototype=Vi(Gi.prototype),Cr.prototype.constructor=Cr;function wi(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function eu(){this.__data__=ka?ka(null):{},this.size=0}function ed(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function td(s){var u=this.__data__;if(ka){var x=u[s];return x===d?t:x}return Vr.call(u,s)?u[s]:t}function rd(s){var u=this.__data__;return ka?u[s]!==t:Vr.call(u,s)}function bf(s,u){var x=this.__data__;return this.size+=this.has(s)?0:1,x[s]=ka&&u===t?d:u,this}wi.prototype.clear=eu,wi.prototype.delete=ed,wi.prototype.get=td,wi.prototype.has=rd,wi.prototype.set=bf;function Ci(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function xf(){this.__data__=[],this.size=0}function wf(s){var u=this.__data__,x=ai(u,s);if(x<0)return!1;var L=u.length-1;return x==L?u.pop():qi.call(u,x,1),--this.size,!0}function tu(s){var u=this.__data__,x=ai(u,s);return x<0?t:u[x][1]}function hl(s){return ai(this.__data__,s)>-1}function Cf(s,u){var x=this.__data__,L=ai(x,s);return L<0?(++this.size,x.push([s,u])):x[L][1]=u,this}Ci.prototype.clear=xf,Ci.prototype.delete=wf,Ci.prototype.get=tu,Ci.prototype.has=hl,Ci.prototype.set=Cf;function Zi(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function ru(){this.size=0,this.__data__={hash:new wi,map:new(us||Ci),string:new wi}}function tc(s){var u=Th(this,s).delete(s);return this.size-=u?1:0,u}function Sf(s){return Th(this,s).get(s)}function _f(s){return Th(this,s).has(s)}function Af(s,u){var x=Th(this,s),L=x.size;return x.set(s,u),this.size+=x.size==L?0:1,this}Zi.prototype.clear=ru,Zi.prototype.delete=tc,Zi.prototype.get=Sf,Zi.prototype.has=_f,Zi.prototype.set=Af;function po(s){var u=-1,x=s==null?0:s.length;for(this.__data__=new Zi;++u<x;)this.add(s[u])}function nu(s){return this.__data__.set(s,d),this}function rc(s){return this.__data__.has(s)}po.prototype.add=po.prototype.push=nu,po.prototype.has=rc;function Lr(s){var u=this.__data__=new Ci(s);this.size=u.size}function $o(){this.__data__=new Ci,this.size=0}function Ia(s){var u=this.__data__,x=u.delete(s);return this.size=u.size,x}function js(s){return this.__data__.get(s)}function Fr(s){return this.__data__.has(s)}function hs(s,u){var x=this.__data__;if(x instanceof Ci){var L=x.__data__;if(!us||L.length<o-1)return L.push([s,u]),this.size=++x.size,this;x=this.__data__=new Zi(L)}return x.set(s,u),this.size=x.size,this}Lr.prototype.clear=$o,Lr.prototype.delete=Ia,Lr.prototype.get=js,Lr.prototype.has=Fr,Lr.prototype.set=hs;function pl(s,u){var x=Sr(s),L=!x&&_u(s),U=!x&&!L&&bc(s),re=!x&&!L&&!U&&Cd(s),ye=x||L||U||re,Ce=ye?Be(s.length,Ku):[],Oe=Ce.length;for(var ut in s)(u||Vr.call(s,ut))&&!(ye&&(ut=="length"||U&&(ut=="offset"||ut=="parent")||re&&(ut=="buffer"||ut=="byteLength"||ut=="byteOffset")||Al(ut,Oe)))&&Ce.push(ut);return Ce}function To(s){var u=s.length;return u?s[Us(0,u-1)]:t}function Ho(s,u){return kh(bo(s),zs(u,0,s.length))}function Si(s){return kh(bo(s))}function ou(s,u,x){(x!==t&&!Ks(s[u],x)||x===t&&!(u in s))&&qo(s,u,x)}function go(s,u,x){var L=s[u];(!(Vr.call(s,u)&&Ks(L,x))||x===t&&!(u in s))&&qo(s,u,x)}function ai(s,u){for(var x=s.length;x--;)if(Ks(s[x][0],u))return x;return-1}function Fs(s,u,x,L){return ps(s,function(U,re,ye){u(L,U,x(U),ye)}),L}function nd(s,u){return s&&Xo(u,Ro(u),s)}function iu(s,u){return s&&Xo(u,ki(u),s)}function qo(s,u,x){u=="__proto__"&&as?as(s,u,{configurable:!0,enumerable:!0,value:x,writable:!0}):s[u]=x}function su(s,u){for(var x=-1,L=u.length,U=Ye(L),re=s==null;++x<L;)U[x]=re?t:_g(s,u[x]);return U}function zs(s,u,x){return s===s&&(x!==t&&(s=s<=x?s:x),u!==t&&(s=s>=u?s:u)),s}function mo(s,u,x,L,U,re){var ye,Ce=u&m,Oe=u&g,ut=u&v;if(x&&(ye=U?x(s,L,U,re):x(s)),ye!==t)return ye;if(!Pn(s))return s;var ft=Sr(s);if(ft){if(ye=jC(s),!Ce)return bo(s,ye)}else{var Ct=Jo(s),Bt=Ct==_e||Ct==Re;if(bc(s))return bs(s,Ce);if(Ct==et||Ct==se||Bt&&!U){if(ye=Oe||Bt?{}:Mv(s),!Ce)return Oe?kf(s,iu(ye,s)):bd(s,nd(ye,s))}else{if(!Nr[Ct])return U?s:{};ye=FC(s,Ct,Ce)}}re||(re=new Lr);var er=re.get(s);if(er)return er;re.set(s,ye),s0(s)?s.forEach(function(fr){ye.add(mo(fr,u,x,fr,s,re))}):o0(s)&&s.forEach(function(fr,zr){ye.set(zr,mo(fr,u,x,zr,s,re))});var dr=ut?Oe?ug:cg:Oe?ki:Ro,Dr=ft?t:dr(s);return Yn(Dr||s,function(fr,zr){Dr&&(zr=fr,fr=s[zr]),go(ye,zr,mo(fr,u,x,zr,s,re))}),ye}function au(s){var u=Ro(s);return function(x){return lu(x,s,u)}}function lu(s,u,x){var L=x.length;if(s==null)return!L;for(s=Yr(s);L--;){var U=x[L],re=u[U],ye=s[U];if(ye===t&&!(U in s)||!re(ye))return!1}return!0}function cu(s,u,x){if(typeof s!="function")throw new Ko(a);return If(function(){s.apply(t,x)},u)}function $s(s,u,x,L){var U=-1,re=Bi,ye=!0,Ce=s.length,Oe=[],ut=u.length;if(!Ce)return Oe;x&&(u=Qr(u,Wt(x))),L?(re=Kn,ye=!1):u.length>=o&&(re=lr,ye=!1,u=new po(u));e:for(;++U<Ce;){var ft=s[U],Ct=x==null?ft:x(ft);if(ft=L||ft!==0?ft:0,ye&&Ct===Ct){for(var Bt=ut;Bt--;)if(u[Bt]===Ct)continue e;Oe.push(ft)}else re(u,Ct,L)||Oe.push(ft)}return Oe}var ps=b(Wo),uu=b(oc,!0);function od(s,u){var x=!0;return ps(s,function(L,U,re){return x=!!u(L,U,re),x}),x}function nc(s,u,x){for(var L=-1,U=s.length;++L<U;){var re=s[L],ye=u(re);if(ye!=null&&(Ce===t?ye===ye&&!Xi(ye):x(ye,Ce)))var Ce=ye,Oe=re}return Oe}function Ef(s,u,x,L){var U=s.length;for(x=Ir(x),x<0&&(x=-x>U?0:U+x),L=L===t||L>U?U:Ir(L),L<0&&(L+=U),L=x>L?0:l0(L);x<L;)s[x++]=u;return s}function id(s,u){var x=[];return ps(s,function(L,U,re){u(L,U,re)&&x.push(L)}),x}function Xn(s,u,x,L,U){var re=-1,ye=s.length;for(x||(x=$C),U||(U=[]);++re<ye;){var Ce=s[re];u>0&&x(Ce)?u>1?Xn(Ce,u-1,x,L,U):Bo(U,Ce):L||(U[U.length]=Ce)}return U}var du=l(),sd=l(!0);function Wo(s,u){return s&&du(s,u,Ro)}function oc(s,u){return s&&sd(s,u,Ro)}function Ma(s,u){return ii(u,function(x){return El(s[x])})}function gs(s,u){u=Uo(u,s);for(var x=0,L=u.length;s!=null&&x<L;)s=s[za(u[x++])];return x&&x==L?s:t}function gl(s,u,x){var L=u(s);return Sr(s)?L:Bo(L,x(s))}function Hn(s){return s==null?s===t?St:We:Wi&&Wi in Yr(s)?NC(s):ZC(s)}function Hs(s,u){return s>u}function ic(s,u){return s!=null&&Vr.call(s,u)}function La(s,u){return s!=null&&u in Yr(s)}function sc(s,u,x){return s>=Nn(u,x)&&s<fn(u,x)}function Da(s,u,x){for(var L=x?Kn:Bi,U=s[0].length,re=s.length,ye=re,Ce=Ye(re),Oe=1/0,ut=[];ye--;){var ft=s[ye];ye&&u&&(ft=Qr(ft,Wt(u))),Oe=Nn(ft.length,Oe),Ce[ye]=!x&&(u||U>=120&&ft.length>=120)?new po(ye&&ft):t}ft=s[0];var Ct=-1,Bt=Ce[0];e:for(;++Ct<U&&ut.length<Oe;){var er=ft[Ct],dr=u?u(er):er;if(er=x||er!==0?er:0,!(Bt?lr(Bt,dr):L(ut,dr,x))){for(ye=re;--ye;){var Dr=Ce[ye];if(!(Dr?lr(Dr,dr):L(s[ye],dr,x)))continue e}Bt&&Bt.push(dr),ut.push(er)}}return ut}function ac(s,u,x,L){return Wo(s,function(U,re,ye){u(L,x(U),re,ye)}),L}function _i(s,u,x){u=Uo(u,s),s=Nv(s,u);var L=s==null?s:s[za(ws(u))];return L==null?t:dn(L,s,x)}function lc(s){return Wn(s)&&Hn(s)==se}function qs(s){return Wn(s)&&Hn(s)==vt}function ad(s){return Wn(s)&&Hn(s)==Ue}function ml(s,u,x,L,U){return s===u?!0:s==null||u==null||!Wn(s)&&!Wn(u)?s!==s&&u!==u:Oa(s,u,x,L,ml,U)}function Oa(s,u,x,L,U,re){var ye=Sr(s),Ce=Sr(u),Oe=ye?Ae:Jo(s),ut=Ce?Ae:Jo(u);Oe=Oe==se?et:Oe,ut=ut==se?et:ut;var ft=Oe==et,Ct=ut==et,Bt=Oe==ut;if(Bt&&bc(s)){if(!bc(u))return!1;ye=!0,ft=!1}if(Bt&&!ft)return re||(re=new Lr),ye||Cd(s)?kv(s,u,x,L,U,re):DC(s,u,Oe,x,L,U,re);if(!(x&w)){var er=ft&&Vr.call(s,"__wrapped__"),dr=Ct&&Vr.call(u,"__wrapped__");if(er||dr){var Dr=er?s.value():s,fr=dr?u.value():u;return re||(re=new Lr),U(Dr,fr,x,L,re)}}return Bt?(re||(re=new Lr),OC(s,u,x,L,U,re)):!1}function Na(s){return Wn(s)&&Jo(s)==Me}function fu(s,u,x,L){var U=x.length,re=U,ye=!L;if(s==null)return!re;for(s=Yr(s);U--;){var Ce=x[U];if(ye&&Ce[2]?Ce[1]!==s[Ce[0]]:!(Ce[0]in s))return!1}for(;++U<re;){Ce=x[U];var Oe=Ce[0],ut=s[Oe],ft=Ce[1];if(ye&&Ce[2]){if(ut===t&&!(Oe in s))return!1}else{var Ct=new Lr;if(L)var Bt=L(ut,ft,Oe,s,u,Ct);if(!(Bt===t?ml(ft,ut,w|E,L,Ct):Bt))return!1}}return!0}function ld(s){if(!Pn(s)||qC(s))return!1;var u=El(s)?Xc:yr;return u.test(Su(s))}function Ws(s){return Wn(s)&&Hn(s)==Ke}function cc(s){return Wn(s)&&Jo(s)==bt}function Yi(s){return Wn(s)&&Oh(s.length)&&!!kr[Hn(s)]}function uc(s){return typeof s=="function"?s:s==null?Ri:typeof s=="object"?Sr(s)?yl(s[0],s[1]):Ai(s):b0(s)}function Ki(s){if(!Rf(s))return Ju(s);var u=[];for(var x in Yr(s))Vr.call(s,x)&&x!="constructor"&&u.push(x);return u}function vl(s){if(!Pn(s))return GC(s);var u=Rf(s),x=[];for(var L in s)L=="constructor"&&(u||!Vr.call(s,L))||x.push(L);return x}function li(s,u){return s<u}function ci(s,u){var x=-1,L=Ti(s)?Ye(s.length):[];return ps(s,function(U,re,ye){L[++x]=u(U,re,ye)}),L}function Ai(s){var u=fg(s);return u.length==1&&u[0][2]?Dv(u[0][0],u[0][1]):function(x){return x===s||fu(x,s,u)}}function yl(s,u){return pg(s)&&Lv(u)?Dv(za(s),u):function(x){var L=_g(x,s);return L===t&&L===u?Ag(x,s):ml(u,L,w|E)}}function ms(s,u,x,L,U){s!==u&&du(u,function(re,ye){if(U||(U=new Lr),Pn(re))ui(s,u,ye,x,ms,L,U);else{var Ce=L?L(mg(s,ye),re,ye+"",s,u,U):t;Ce===t&&(Ce=re),ou(s,ye,Ce)}},ki)}function ui(s,u,x,L,U,re,ye){var Ce=mg(s,x),Oe=mg(u,x),ut=ye.get(Oe);if(ut){ou(s,x,ut);return}var ft=re?re(Ce,Oe,x+"",s,u,ye):t,Ct=ft===t;if(Ct){var Bt=Sr(Oe),er=!Bt&&bc(Oe),dr=!Bt&&!er&&Cd(Oe);ft=Oe,Bt||er||dr?Sr(Ce)?ft=Ce:Qn(Ce)?ft=bo(Ce):er?(Ct=!1,ft=bs(Oe,!0)):dr?(Ct=!1,ft=Cl(Oe,!0)):ft=[]:Mf(Oe)||_u(Oe)?(ft=Ce,_u(Ce)?ft=c0(Ce):(!Pn(Ce)||El(Ce))&&(ft=Mv(Oe))):Ct=!1}Ct&&(ye.set(Oe,ft),U(ft,Oe,L,re,ye),ye.delete(Oe)),ou(s,x,ft)}function Pa(s,u){var x=s.length;if(x)return u+=u<0?x:0,Al(u,x)?s[u]:t}function dc(s,u,x){u.length?u=Qr(u,function(re){return Sr(re)?function(ye){return gs(ye,re.length===1?re[0]:re)}:re}):u=[Ri];var L=-1;u=Qr(u,Wt(cr()));var U=ci(s,function(re,ye,Ce){var Oe=Qr(u,function(ut){return ut(re)});return{criteria:Oe,index:++L,value:re}});return he(U,function(re,ye){return yc(re,ye,x)})}function bl(s,u){return Ba(s,u,function(x,L){return Ag(s,L)})}function Ba(s,u,x){for(var L=-1,U=u.length,re={};++L<U;){var ye=u[L],Ce=gs(s,ye);x(Ce,ye)&&Vs(re,Uo(ye,s),Ce)}return re}function cd(s){return function(u){return gs(u,s)}}function hu(s,u,x,L){var U=L?Wl:ji,re=-1,ye=u.length,Ce=s;for(s===u&&(u=bo(u)),x&&(Ce=Qr(s,Wt(x)));++re<ye;)for(var Oe=0,ut=u[re],ft=x?x(ut):ut;(Oe=U(Ce,ft,Oe,L))>-1;)Ce!==s&&qi.call(Ce,Oe,1),qi.call(s,Oe,1);return s}function pu(s,u){for(var x=s?u.length:0,L=x-1;x--;){var U=u[x];if(x==L||U!==re){var re=U;Al(U)?qi.call(s,U,1):yo(s,U)}}return s}function Us(s,u){return s+Ns(cs()*(u-s+1))}function gu(s,u,x,L){for(var U=-1,re=fn(_a((u-s)/(x||1)),0),ye=Ye(re);re--;)ye[L?re:++U]=s,s+=x;return ye}function fc(s,u){var x="";if(!s||u<1||u>le)return x;do u%2&&(x+=s),u=Ns(u/2),u&&(s+=s);while(u);return x}function xr(s,u){return vg(Ov(s,u,Ri),s+"")}function xl(s){return To(Sd(s))}function mu(s,u){var x=Sd(s);return kh(x,zs(u,0,x.length))}function Vs(s,u,x,L){if(!Pn(s))return s;u=Uo(u,s);for(var U=-1,re=u.length,ye=re-1,Ce=s;Ce!=null&&++U<re;){var Oe=za(u[U]),ut=x;if(Oe==="__proto__"||Oe==="constructor"||Oe==="prototype")return s;if(U!=ye){var ft=Ce[Oe];ut=L?L(ft,Oe,Ce):t,ut===t&&(ut=Pn(ft)?ft:Al(u[U+1])?[]:{})}go(Ce,Oe,ut),Ce=Ce[Oe]}return s}var hc=ul?function(s,u){return ul.set(s,u),s}:Ri,ud=as?function(s,u){return as(s,"toString",{configurable:!0,enumerable:!1,value:Tg(u),writable:!0})}:Ri;function dd(s){return kh(Sd(s))}function ko(s,u,x){var L=-1,U=s.length;u<0&&(u=-u>U?0:U+u),x=x>U?U:x,x<0&&(x+=U),U=u>x?0:x-u>>>0,u>>>=0;for(var re=Ye(U);++L<U;)re[L]=s[L+u];return re}function fd(s,u){var x;return ps(s,function(L,U,re){return x=u(L,U,re),!x}),!!x}function pc(s,u,x){var L=0,U=s==null?L:s.length;if(typeof u=="number"&&u===u&&U<=xe){for(;L<U;){var re=L+U>>>1,ye=s[re];ye!==null&&!Xi(ye)&&(x?ye<=u:ye<u)?L=re+1:U=re}return U}return vu(s,u,Ri,x)}function vu(s,u,x,L){var U=0,re=s==null?0:s.length;if(re===0)return 0;u=x(u);for(var ye=u!==u,Ce=u===null,Oe=Xi(u),ut=u===t;U<re;){var ft=Ns((U+re)/2),Ct=x(s[ft]),Bt=Ct!==t,er=Ct===null,dr=Ct===Ct,Dr=Xi(Ct);if(ye)var fr=L||dr;else ut?fr=dr&&(L||Bt):Ce?fr=dr&&Bt&&(L||!er):Oe?fr=dr&&Bt&&!er&&(L||!Dr):er||Dr?fr=!1:fr=L?Ct<=u:Ct<u;fr?U=ft+1:re=ft}return Nn(re,ue)}function yu(s,u){for(var x=-1,L=s.length,U=0,re=[];++x<L;){var ye=s[x],Ce=u?u(ye):ye;if(!x||!Ks(Ce,Oe)){var Oe=Ce;re[U++]=ye===0?0:ye}}return re}function hd(s){return typeof s=="number"?s:Xi(s)?te:+s}function vo(s){if(typeof s=="string")return s;if(Sr(s))return Qr(s,vo)+"";if(Xi(s))return dl?dl.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function vs(s,u,x){var L=-1,U=Bi,re=s.length,ye=!0,Ce=[],Oe=Ce;if(x)ye=!1,U=Kn;else if(re>=o){var ut=u?null:Fa(s);if(ut)return il(ut);ye=!1,U=lr,Oe=new po}else Oe=u?[]:Ce;e:for(;++L<re;){var ft=s[L],Ct=u?u(ft):ft;if(ft=x||ft!==0?ft:0,ye&&Ct===Ct){for(var Bt=Oe.length;Bt--;)if(Oe[Bt]===Ct)continue e;u&&Oe.push(Ct),Ce.push(ft)}else U(Oe,Ct,x)||(Oe!==Ce&&Oe.push(Ct),Ce.push(ft))}return Ce}function yo(s,u){return u=Uo(u,s),s=Nv(s,u),s==null||delete s[za(ws(u))]}function pd(s,u,x,L){return Vs(s,u,x(gs(s,u)),L)}function Gs(s,u,x,L){for(var U=s.length,re=L?U:-1;(L?re--:++re<U)&&u(s[re],re,s););return x?ko(s,L?0:re,L?re+1:U):ko(s,L?re+1:0,L?U:re)}function gd(s,u){var x=s;return x instanceof Cr&&(x=x.value()),nl(u,function(L,U){return U.func.apply(U.thisArg,Bo([L],U.args))},x)}function Jn(s,u,x){var L=s.length;if(L<2)return L?vs(s[0]):[];for(var U=-1,re=Ye(L);++U<L;)for(var ye=s[U],Ce=-1;++Ce<L;)Ce!=U&&(re[U]=$s(re[U]||ye,s[Ce],u,x));return vs(Xn(re,1),u,x)}function md(s,u,x){for(var L=-1,U=s.length,re=u.length,ye={};++L<U;){var Ce=L<re?u[L]:t;x(ye,s[L],Ce)}return ye}function gc(s){return Qn(s)?s:[]}function mc(s){return typeof s=="function"?s:Ri}function Uo(s,u){return Sr(s)?s:pg(s,u)?[s]:Fv(an(s))}var vd=xr;function ys(s,u,x){var L=s.length;return x=x===t?L:x,!u&&x>=L?s:ko(s,u,x)}var vc=vf||function(s){return gr.clearTimeout(s)};function bs(s,u){if(u)return s.slice();var x=s.length,L=al?al(x):new s.constructor(x);return s.copy(L),L}function Zs(s){var u=new s.constructor(s.byteLength);return new sl(u).set(new sl(s)),u}function Tf(s,u){var x=u?Zs(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.byteLength)}function bu(s){var u=new s.constructor(s.source,Rt.exec(s));return u.lastIndex=s.lastIndex,u}function wl(s){return Bs?Yr(Bs.call(s)):{}}function Cl(s,u){var x=u?Zs(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.length)}function xu(s,u){if(s!==u){var x=s!==t,L=s===null,U=s===s,re=Xi(s),ye=u!==t,Ce=u===null,Oe=u===u,ut=Xi(u);if(!Ce&&!ut&&!re&&s>u||re&&ye&&Oe&&!Ce&&!ut||L&&ye&&Oe||!x&&Oe||!U)return 1;if(!L&&!re&&!ut&&s<u||ut&&x&&U&&!L&&!re||Ce&&x&&U||!ye&&U||!Oe)return-1}return 0}function yc(s,u,x){for(var L=-1,U=s.criteria,re=u.criteria,ye=U.length,Ce=x.length;++L<ye;){var Oe=xu(U[L],re[L]);if(Oe){if(L>=Ce)return Oe;var ut=x[L];return Oe*(ut=="desc"?-1:1)}}return s.index-u.index}function wu(s,u,x,L){for(var U=-1,re=s.length,ye=x.length,Ce=-1,Oe=u.length,ut=fn(re-ye,0),ft=Ye(Oe+ut),Ct=!L;++Ce<Oe;)ft[Ce]=u[Ce];for(;++U<ye;)(Ct||U<re)&&(ft[x[U]]=s[U]);for(;ut--;)ft[Ce++]=s[U++];return ft}function yd(s,u,x,L){for(var U=-1,re=s.length,ye=-1,Ce=x.length,Oe=-1,ut=u.length,ft=fn(re-Ce,0),Ct=Ye(ft+ut),Bt=!L;++U<ft;)Ct[U]=s[U];for(var er=U;++Oe<ut;)Ct[er+Oe]=u[Oe];for(;++ye<Ce;)(Bt||U<re)&&(Ct[er+x[ye]]=s[U++]);return Ct}function bo(s,u){var x=-1,L=s.length;for(u||(u=Ye(L));++x<L;)u[x]=s[x];return u}function Xo(s,u,x,L){var U=!x;x||(x={});for(var re=-1,ye=u.length;++re<ye;){var Ce=u[re],Oe=L?L(x[Ce],s[Ce],Ce,x,s):t;Oe===t&&(Oe=s[Ce]),U?qo(x,Ce,Oe):go(x,Ce,Oe)}return x}function bd(s,u){return Xo(s,hg(s),u)}function kf(s,u){return Xo(s,Rv(s),u)}function Sl(s,u){return function(x,L){var U=Sr(x)?Is:Fs,re=u?u():{};return U(x,s,cr(L,2),re)}}function ja(s){return xr(function(u,x){var L=-1,U=x.length,re=U>1?x[U-1]:t,ye=U>2?x[2]:t;for(re=s.length>3&&typeof re=="function"?(U--,re):t,ye&&fi(x[0],x[1],ye)&&(re=U<3?t:re,U=1),u=Yr(u);++L<U;){var Ce=x[L];Ce&&s(u,Ce,L,re)}return u})}function b(s,u){return function(x,L){if(x==null)return x;if(!Ti(x))return s(x,L);for(var U=x.length,re=u?U:-1,ye=Yr(x);(u?re--:++re<U)&&L(ye[re],re,ye)!==!1;);return x}}function l(s){return function(u,x,L){for(var U=-1,re=Yr(u),ye=L(u),Ce=ye.length;Ce--;){var Oe=ye[s?Ce:++U];if(x(re[Oe],Oe,re)===!1)break}return u}}function f(s,u,x){var L=u&_,U=N(s);function re(){var ye=this&&this!==gr&&this instanceof re?U:s;return ye.apply(L?x:this,arguments)}return re}function y(s){return function(u){u=an(u);var x=ba(u)?vn(u):t,L=x?x[0]:u.charAt(0),U=x?ys(x,1).join(""):u.slice(1);return L[s]()+U}}function T(s){return function(u){return nl(v0(m0(u).replace(vi,"")),s,"")}}function N(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var x=Vi(s.prototype),L=s.apply(x,u);return Pn(L)?L:x}}function H(s,u,x){var L=N(s);function U(){for(var re=arguments.length,ye=Ye(re),Ce=re,Oe=wd(U);Ce--;)ye[Ce]=arguments[Ce];var ut=re<3&&ye[0]!==Oe&&ye[re-1]!==Oe?[]:Fi(ye,Oe);if(re-=ut.length,re<x)return xs(s,u,Pe,U.placeholder,t,ye,ut,t,t,x-re);var ft=this&&this!==gr&&this instanceof U?L:s;return dn(ft,this,ye)}return U}function K(s){return function(u,x,L){var U=Yr(u);if(!Ti(u)){var re=cr(x,3);u=Ro(u),x=function(Ce){return re(U[Ce],Ce,U)}}var ye=s(u,x,L);return ye>-1?U[re?u[ye]:ye]:t}}function ve(s){return _l(function(u){var x=u.length,L=x,U=lo.prototype.thru;for(s&&u.reverse();L--;){var re=u[L];if(typeof re!="function")throw new Ko(a);if(U&&!ye&&Eh(re)=="wrapper")var ye=new lo([],!0)}for(L=ye?L:x;++L<x;){re=u[L];var Ce=Eh(re),Oe=Ce=="wrapper"?dg(re):t;Oe&&gg(Oe[0])&&Oe[1]==(W|D|P|F)&&!Oe[4].length&&Oe[9]==1?ye=ye[Eh(Oe[0])].apply(ye,Oe[3]):ye=re.length==1&&gg(re)?ye[Ce]():ye.thru(re)}return function(){var ut=arguments,ft=ut[0];if(ye&&ut.length==1&&Sr(ft))return ye.plant(ft).value();for(var Ct=0,Bt=x?u[Ct].apply(this,ut):ft;++Ct<x;)Bt=u[Ct].call(this,Bt);return Bt}})}function Pe(s,u,x,L,U,re,ye,Ce,Oe,ut){var ft=u&W,Ct=u&_,Bt=u&A,er=u&(D|I),dr=u&G,Dr=Bt?t:N(s);function fr(){for(var zr=arguments.length,qr=Ye(zr),Ji=zr;Ji--;)qr[Ji]=arguments[Ji];if(er)var hi=wd(fr),Qi=jo(qr,hi);if(L&&(qr=wu(qr,L,U,er)),re&&(qr=yd(qr,re,ye,er)),zr-=Qi,er&&zr<ut){var eo=Fi(qr,hi);return xs(s,u,Pe,fr.placeholder,x,qr,eo,Ce,Oe,ut-zr)}var Xs=Ct?x:this,kl=Bt?Xs[s]:s;return zr=qr.length,Ce?qr=YC(qr,Ce):dr&&zr>1&&qr.reverse(),ft&&Oe<zr&&(qr.length=Oe),this&&this!==gr&&this instanceof fr&&(kl=Dr||N(kl)),kl.apply(Xs,qr)}return fr}function at(s,u){return function(x,L){return ac(x,s,u(L),{})}}function mt(s,u){return function(x,L){var U;if(x===t&&L===t)return u;if(x!==t&&(U=x),L!==t){if(U===t)return L;typeof x=="string"||typeof L=="string"?(x=vo(x),L=vo(L)):(x=hd(x),L=hd(L)),U=s(x,L)}return U}}function Dt(s){return _l(function(u){return u=Qr(u,Wt(cr())),xr(function(x){var L=this;return s(u,function(U){return dn(U,L,x)})})})}function sr(s,u){u=u===t?" ":vo(u);var x=u.length;if(x<2)return x?fc(u,s):u;var L=fc(u,_a(s/xa(u)));return ba(u)?ys(vn(L),0,s).join(""):L.slice(0,s)}function Hr(s,u,x,L){var U=u&_,re=N(s);function ye(){for(var Ce=-1,Oe=arguments.length,ut=-1,ft=L.length,Ct=Ye(ft+Oe),Bt=this&&this!==gr&&this instanceof ye?re:s;++ut<ft;)Ct[ut]=L[ut];for(;Oe--;)Ct[ut++]=arguments[++Ce];return dn(Bt,U?x:this,Ct)}return ye}function qn(s){return function(u,x,L){return L&&typeof L!="number"&&fi(u,x,L)&&(x=L=t),u=Tl(u),x===t?(x=u,u=0):x=Tl(x),L=L===t?u<x?1:-1:Tl(L),gu(u,x,L,s)}}function Ei(s){return function(u,x){return typeof u=="string"&&typeof x=="string"||(u=Cs(u),x=Cs(x)),s(u,x)}}function xs(s,u,x,L,U,re,ye,Ce,Oe,ut){var ft=u&D,Ct=ft?ye:t,Bt=ft?t:ye,er=ft?re:t,dr=ft?t:re;u|=ft?P:j,u&=~(ft?j:P),u&k||(u&=-4);var Dr=[s,u,U,er,Ct,dr,Bt,Ce,Oe,ut],fr=x.apply(t,Dr);return gg(s)&&Pv(fr,Dr),fr.placeholder=L,Bv(fr,s,u)}function di(s){var u=_n[s];return function(x,L){if(x=Cs(x),L=L==null?0:Nn(Ir(L),292),L&&Ea(x)){var U=(an(x)+"e").split("e"),re=u(U[0]+"e"+(+U[1]+L));return U=(an(re)+"e").split("e"),+(U[0]+"e"+(+U[1]-L))}return u(x)}}var Fa=xi&&1/il(new xi([,-0]))[1]==oe?function(s){return new xi(s)}:Ig;function xd(s){return function(u){var x=Jo(u);return x==Me?Gc(u):x==bt?hf(u):ot(u,s(u))}}function Ys(s,u,x,L,U,re,ye,Ce){var Oe=u&A;if(!Oe&&typeof s!="function")throw new Ko(a);var ut=L?L.length:0;if(ut||(u&=-97,L=U=t),ye=ye===t?ye:fn(Ir(ye),0),Ce=Ce===t?Ce:Ir(Ce),ut-=U?U.length:0,u&j){var ft=L,Ct=U;L=U=t}var Bt=Oe?t:dg(s),er=[s,u,x,L,U,ft,Ct,re,ye,Ce];if(Bt&&VC(er,Bt),s=er[0],u=er[1],x=er[2],L=er[3],U=er[4],Ce=er[9]=er[9]===t?Oe?0:s.length:fn(er[9]-ut,0),!Ce&&u&(D|I)&&(u&=-25),!u||u==_)var dr=f(s,u,x);else u==D||u==I?dr=H(s,u,Ce):(u==P||u==(_|P))&&!U.length?dr=Hr(s,u,x,L):dr=Pe.apply(t,er);var Dr=Bt?hc:Pv;return Bv(Dr(dr,er),s,u)}function Ev(s,u,x,L){return s===t||Ks(s,is[x])&&!Vr.call(L,x)?u:s}function Tv(s,u,x,L,U,re){return Pn(s)&&Pn(u)&&(re.set(u,s),ms(s,u,t,Tv,re),re.delete(u)),s}function LC(s){return Mf(s)?t:s}function kv(s,u,x,L,U,re){var ye=x&w,Ce=s.length,Oe=u.length;if(Ce!=Oe&&!(ye&&Oe>Ce))return!1;var ut=re.get(s),ft=re.get(u);if(ut&&ft)return ut==u&&ft==s;var Ct=-1,Bt=!0,er=x&E?new po:t;for(re.set(s,u),re.set(u,s);++Ct<Ce;){var dr=s[Ct],Dr=u[Ct];if(L)var fr=ye?L(Dr,dr,Ct,u,s,re):L(dr,Dr,Ct,s,u,re);if(fr!==t){if(fr)continue;Bt=!1;break}if(er){if(!os(u,function(zr,qr){if(!lr(er,qr)&&(dr===zr||U(dr,zr,x,L,re)))return er.push(qr)})){Bt=!1;break}}else if(!(dr===Dr||U(dr,Dr,x,L,re))){Bt=!1;break}}return re.delete(s),re.delete(u),Bt}function DC(s,u,x,L,U,re,ye){switch(x){case Tt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case vt:return!(s.byteLength!=u.byteLength||!re(new sl(s),new sl(u)));case Ge:case Ue:case tt:return Ks(+s,+u);case Se:return s.name==u.name&&s.message==u.message;case Ke:case ht:return s==u+"";case Me:var Ce=Gc;case bt:var Oe=L&w;if(Ce||(Ce=il),s.size!=u.size&&!Oe)return!1;var ut=ye.get(s);if(ut)return ut==u;L|=E,ye.set(s,u);var ft=kv(Ce(s),Ce(u),L,U,re,ye);return ye.delete(s),ft;case dt:if(Bs)return Bs.call(s)==Bs.call(u)}return!1}function OC(s,u,x,L,U,re){var ye=x&w,Ce=cg(s),Oe=Ce.length,ut=cg(u),ft=ut.length;if(Oe!=ft&&!ye)return!1;for(var Ct=Oe;Ct--;){var Bt=Ce[Ct];if(!(ye?Bt in u:Vr.call(u,Bt)))return!1}var er=re.get(s),dr=re.get(u);if(er&&dr)return er==u&&dr==s;var Dr=!0;re.set(s,u),re.set(u,s);for(var fr=ye;++Ct<Oe;){Bt=Ce[Ct];var zr=s[Bt],qr=u[Bt];if(L)var Ji=ye?L(qr,zr,Bt,u,s,re):L(zr,qr,Bt,s,u,re);if(!(Ji===t?zr===qr||U(zr,qr,x,L,re):Ji)){Dr=!1;break}fr||(fr=Bt=="constructor")}if(Dr&&!fr){var hi=s.constructor,Qi=u.constructor;hi!=Qi&&"constructor"in s&&"constructor"in u&&!(typeof hi=="function"&&hi instanceof hi&&typeof Qi=="function"&&Qi instanceof Qi)&&(Dr=!1)}return re.delete(s),re.delete(u),Dr}function _l(s){return vg(Ov(s,t,qv),s+"")}function cg(s){return gl(s,Ro,hg)}function ug(s){return gl(s,ki,Rv)}var dg=ul?function(s){return ul.get(s)}:Ig;function Eh(s){for(var u=s.name+"",x=Ps[u],L=Vr.call(Ps,u)?x.length:0;L--;){var U=x[L],re=U.func;if(re==null||re==s)return U.name}return u}function wd(s){var u=Vr.call(Y,"placeholder")?Y:s;return u.placeholder}function cr(){var s=Y.iteratee||kg;return s=s===kg?uc:s,arguments.length?s(arguments[0],arguments[1]):s}function Th(s,u){var x=s.__data__;return HC(u)?x[typeof u=="string"?"string":"hash"]:x.map}function fg(s){for(var u=Ro(s),x=u.length;x--;){var L=u[x],U=s[L];u[x]=[L,U,Lv(U)]}return u}function Cu(s,u){var x=Ds(s,u);return ld(x)?x:t}function NC(s){var u=Vr.call(s,Wi),x=s[Wi];try{s[Wi]=t;var L=!0}catch{}var U=$i.call(s);return L&&(u?s[Wi]=x:delete s[Wi]),U}var hg=Aa?function(s){return s==null?[]:(s=Yr(s),ii(Aa(s),function(u){return Yl.call(s,u)}))}:Mg,Rv=Aa?function(s){for(var u=[];s;)Bo(u,hg(s)),s=Os(s);return u}:Mg,Jo=Hn;(bi&&Jo(new bi(new ArrayBuffer(1)))!=Tt||us&&Jo(new us)!=Me||Ta&&Jo(Ta.resolve())!=st||xi&&Jo(new xi)!=bt||Ui&&Jo(new Ui)!=Ve)&&(Jo=function(s){var u=Hn(s),x=u==et?s.constructor:t,L=x?Su(x):"";if(L)switch(L){case ds:return Tt;case Qc:return Me;case yf:return st;case Qu:return bt;case Ra:return Ve}return u});function PC(s,u,x){for(var L=-1,U=x.length;++L<U;){var re=x[L],ye=re.size;switch(re.type){case"drop":s+=ye;break;case"dropRight":u-=ye;break;case"take":u=Nn(u,s+ye);break;case"takeRight":s=fn(s,u-ye);break}}return{start:s,end:u}}function BC(s){var u=s.match(je);return u?u[1].split(Q):[]}function Iv(s,u,x){u=Uo(u,s);for(var L=-1,U=u.length,re=!1;++L<U;){var ye=za(u[L]);if(!(re=s!=null&&x(s,ye)))break;s=s[ye]}return re||++L!=U?re:(U=s==null?0:s.length,!!U&&Oh(U)&&Al(ye,U)&&(Sr(s)||_u(s)))}function jC(s){var u=s.length,x=new s.constructor(u);return u&&typeof s[0]=="string"&&Vr.call(s,"index")&&(x.index=s.index,x.input=s.input),x}function Mv(s){return typeof s.constructor=="function"&&!Rf(s)?Vi(Os(s)):{}}function FC(s,u,x){var L=s.constructor;switch(u){case vt:return Zs(s);case Ge:case Ue:return new L(+s);case Tt:return Tf(s,x);case xt:case Mt:case Vt:case Ht:case hr:case _r:case vr:case Ee:case de:return Cl(s,x);case Me:return new L;case tt:case ht:return new L(s);case Ke:return bu(s);case bt:return new L;case dt:return wl(s)}}function zC(s,u){var x=u.length;if(!x)return s;var L=x-1;return u[L]=(x>1?"& ":"")+u[L],u=u.join(x>2?", ":" "),s.replace(rr,`{
|
38
|
+
*/var g4=Ff.exports,_0;function m4(){return _0||(_0=1,function(r,e){(function(){var t,n="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",m=1,g=2,v=4,w=1,E=2,_=1,A=2,k=4,D=8,I=16,P=32,j=64,W=128,F=256,G=512,pe=30,B="...",q=800,V=16,ee=1,ae=2,ne=3,oe=1/0,le=9007199254740991,ge=17976931348623157e292,te=NaN,ie=4294967295,ue=ie-1,xe=ie>>>1,ke=[["ary",W],["bind",_],["bindKey",A],["curry",D],["curryRight",I],["flip",G],["partial",P],["partialRight",j],["rearg",F]],se="[object Arguments]",Ae="[object Array]",De="[object AsyncFunction]",Ge="[object Boolean]",Ue="[object Date]",we="[object DOMException]",Se="[object Error]",_e="[object Function]",Re="[object GeneratorFunction]",Me="[object Map]",tt="[object Number]",We="[object Null]",et="[object Object]",st="[object Promise]",ze="[object Proxy]",Ke="[object RegExp]",bt="[object Set]",ht="[object String]",dt="[object Symbol]",St="[object Undefined]",Ve="[object WeakMap]",rt="[object WeakSet]",vt="[object ArrayBuffer]",Tt="[object DataView]",xt="[object Float32Array]",Mt="[object Float64Array]",Vt="[object Int8Array]",Ht="[object Int16Array]",hr="[object Int32Array]",_r="[object Uint8Array]",yr="[object Uint8ClampedArray]",Ee="[object Uint16Array]",de="[object Uint32Array]",nt=/\b__p \+= '';/g,qe=/\b(__p \+=) '' \+/g,pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,_t=/[&<>"']/g,jt=RegExp(wt.source),Ot=RegExp(_t.source),ir=/<%-([\s\S]+?)%>/g,Ft=/<%([\s\S]+?)%>/g,nr=/<%=([\s\S]+?)%>/g,tr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(At.source),Lt=/^\s+/,qt=/\s/,rr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,me=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,It=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Rt=/\w*$/,Qt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,br=/^\[object .+?Constructor\]$/,pr=/^0o[0-7]+$/i,Tr=/^(?:0|[1-9]\d*)$/,ur=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rn=/($^)/,Fn=/['\n\r\u2028\u2029\\]/g,Br="\\ud800-\\udfff",Ur="\\u0300-\\u036f",zn="\\ufe20-\\ufe2f",wn="\\u20d0-\\u20ff",to=Ur+zn+wn,ro="\\u2700-\\u27bf",cn="a-z\\xdf-\\xf6\\xf8-\\xff",$n="\\xac\\xb1\\xd7\\xf7",In="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_o="\\u2000-\\u206f",Oo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",No="A-Z\\xc0-\\xd6\\xd8-\\xde",Ln="\\ufe0e\\ufe0f",Mn=$n+In+_o+Oo,mn="['’]",no="["+Br+"]",un="["+Mn+"]",yn="["+to+"]",R="\\d+",$="["+ro+"]",X="["+cn+"]",fe="[^"+Br+Mn+R+ro+cn+No+"]",Fe="\\ud83c[\\udffb-\\udfff]",Ne="(?:"+yn+"|"+Fe+")",Xe="[^"+Br+"]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+No+"]",zt="\\u200d",Ar="(?:"+X+"|"+fe+")",Jr="(?:"+$t+"|"+fe+")",Cn="(?:"+mn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+mn+"(?:D|LL|M|RE|S|T|VE))?",fo=Ne+"?",Vn="["+Ln+"]?",Po="(?:"+zt+"(?:"+[Xe,yt,Nt].join("|")+")"+Vn+fo+")*",rn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ao="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Gn=Vn+fo+Po,oo="(?:"+[$,yt,Nt].join("|")+")"+Gn,Oi="(?:"+[Xe+yn+"?",yn,yt,Nt,no].join("|")+")",vi=RegExp(mn,"g"),yi=RegExp(yn,"g"),Dn=RegExp(Fe+"(?="+Fe+")|"+Oi+Gn,"g"),Ni=RegExp([$t+"?"+X+"+"+Cn+"(?="+[un,$t,"$"].join("|")+")",Jr+"+"+Sn+"(?="+[un,$t+Ar,"$"].join("|")+")",$t+"?"+Ar+"+"+Cn,$t+"+"+Sn,Ao,rn,R,oo].join("|"),"g"),io=RegExp("["+zt+Br+to+Ln+"]"),so=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ni=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pr=-1,kr={};kr[xt]=kr[Mt]=kr[Vt]=kr[Ht]=kr[hr]=kr[_r]=kr[yr]=kr[Ee]=kr[de]=!0,kr[se]=kr[Ae]=kr[vt]=kr[Ge]=kr[Tt]=kr[Ue]=kr[Se]=kr[_e]=kr[Me]=kr[tt]=kr[et]=kr[Ke]=kr[bt]=kr[ht]=kr[Ve]=!1;var Nr={};Nr[se]=Nr[Ae]=Nr[vt]=Nr[Tt]=Nr[Ge]=Nr[Ue]=Nr[xt]=Nr[Mt]=Nr[Vt]=Nr[Ht]=Nr[hr]=Nr[Me]=Nr[tt]=Nr[et]=Nr[Ke]=Nr[bt]=Nr[ht]=Nr[dt]=Nr[_r]=Nr[yr]=Nr[Ee]=Nr[de]=!0,Nr[Se]=Nr[_e]=Nr[Ve]=!1;var O={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},J={"&":"&","<":"<",">":">",'"':""","'":"'"},be={"&":"&","<":"<",">":">",""":'"',"'":"'"},Je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Jt=parseFloat,Ut=parseInt,xr=typeof Li=="object"&&Li&&Li.Object===Object&&Li,Er=typeof self=="object"&&self&&self.Object===Object&&self,gr=xr||Er||Function("return this")(),Rr=e&&!e.nodeType&&e,nn=Rr&&!0&&r&&!r.nodeType&&r,On=nn&&nn.exports===Rr,Kr=On&&xr.process,$r=function(){try{var Te=nn&&nn.require&&nn.require("util").types;return Te||Kr&&Kr.binding&&Kr.binding("util")}catch{}}(),on=$r&&$r.isArrayBuffer,ho=$r&&$r.isDate,Eo=$r&&$r.isMap,Zn=$r&&$r.isRegExp,Pi=$r&&$r.isSet,oi=$r&&$r.isTypedArray;function dn(Te,Qe,Ye){switch(Ye.length){case 0:return Te.call(Qe);case 1:return Te.call(Qe,Ye[0]);case 2:return Te.call(Qe,Ye[0],Ye[1]);case 3:return Te.call(Qe,Ye[0],Ye[1],Ye[2])}return Te.apply(Qe,Ye)}function Is(Te,Qe,Ye,Pt){for(var ar=-1,jr=Te==null?0:Te.length;++ar<jr;){var _n=Te[ar];Qe(Pt,_n,Ye(_n),Te)}return Pt}function Yn(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt&&Qe(Te[Ye],Ye,Te)!==!1;);return Te}function zl(Te,Qe){for(var Ye=Te==null?0:Te.length;Ye--&&Qe(Te[Ye],Ye,Te)!==!1;);return Te}function rl(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt;)if(!Qe(Te[Ye],Ye,Te))return!1;return!0}function ii(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length,ar=0,jr=[];++Ye<Pt;){var _n=Te[Ye];Qe(_n,Ye,Te)&&(jr[ar++]=_n)}return jr}function Bi(Te,Qe){var Ye=Te==null?0:Te.length;return!!Ye&&ji(Te,Qe,0)>-1}function Kn(Te,Qe,Ye){for(var Pt=-1,ar=Te==null?0:Te.length;++Pt<ar;)if(Ye(Qe,Te[Pt]))return!0;return!1}function Qr(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length,ar=Array(Pt);++Ye<Pt;)ar[Ye]=Qe(Te[Ye],Ye,Te);return ar}function Bo(Te,Qe){for(var Ye=-1,Pt=Qe.length,ar=Te.length;++Ye<Pt;)Te[ar+Ye]=Qe[Ye];return Te}function nl(Te,Qe,Ye,Pt){var ar=-1,jr=Te==null?0:Te.length;for(Pt&&jr&&(Ye=Te[++ar]);++ar<jr;)Ye=Qe(Ye,Te[ar],ar,Te);return Ye}function $l(Te,Qe,Ye,Pt){var ar=Te==null?0:Te.length;for(Pt&&ar&&(Ye=Te[--ar]);ar--;)Ye=Qe(Ye,Te[ar],ar,Te);return Ye}function os(Te,Qe){for(var Ye=-1,Pt=Te==null?0:Te.length;++Ye<Pt;)if(Qe(Te[Ye],Ye,Te))return!0;return!1}var Hl=M("length");function ql(Te){return Te.split("")}function ma(Te){return Te.match(me)||[]}function Ms(Te,Qe,Ye){var Pt;return Ye(Te,function(ar,jr,_n){if(Qe(ar,jr,_n))return Pt=jr,!1}),Pt}function Ls(Te,Qe,Ye,Pt){for(var ar=Te.length,jr=Ye+(Pt?1:-1);Pt?jr--:++jr<ar;)if(Qe(Te[jr],jr,Te))return jr;return-1}function ji(Te,Qe,Ye){return Qe===Qe?pf(Te,Qe,Ye):Ls(Te,va,Ye)}function Wl(Te,Qe,Ye,Pt){for(var ar=Ye-1,jr=Te.length;++ar<jr;)if(Pt(Te[ar],Qe))return ar;return-1}function va(Te){return Te!==Te}function ol(Te,Qe){var Ye=Te==null?0:Te.length;return Ye?He(Te,Qe)/Ye:te}function M(Te){return function(Qe){return Qe==null?t:Qe[Te]}}function z(Te){return function(Qe){return Te==null?t:Te[Qe]}}function Z(Te,Qe,Ye,Pt,ar){return ar(Te,function(jr,_n,Yr){Ye=Pt?(Pt=!1,jr):Qe(Ye,jr,_n,Yr)}),Ye}function he(Te,Qe){var Ye=Te.length;for(Te.sort(Qe);Ye--;)Te[Ye]=Te[Ye].value;return Te}function He(Te,Qe){for(var Ye,Pt=-1,ar=Te.length;++Pt<ar;){var jr=Qe(Te[Pt]);jr!==t&&(Ye=Ye===t?jr:Ye+jr)}return Ye}function Be(Te,Qe){for(var Ye=-1,Pt=Array(Te);++Ye<Te;)Pt[Ye]=Qe(Ye);return Pt}function ot(Te,Qe){return Qr(Qe,function(Ye){return[Ye,Te[Ye]]})}function Et(Te){return Te&&Te.slice(0,Gu(Te)+1).replace(Lt,"")}function Wt(Te){return function(Qe){return Te(Qe)}}function mr(Te,Qe){return Qr(Qe,function(Ye){return Te[Ye]})}function lr(Te,Qe){return Te.has(Qe)}function Xr(Te,Qe){for(var Ye=-1,Pt=Te.length;++Ye<Pt&&ji(Qe,Te[Ye],0)>-1;);return Ye}function ao(Te,Qe){for(var Ye=Te.length;Ye--&&ji(Qe,Te[Ye],0)>-1;);return Ye}function jo(Te,Qe){for(var Ye=Te.length,Pt=0;Ye--;)Te[Ye]===Qe&&++Pt;return Pt}var Fo=z(O),ya=z(J);function Ul(Te){return"\\"+Je[Te]}function Ds(Te,Qe){return Te==null?t:Te[Qe]}function ba(Te){return io.test(Te)}function ff(Te){return so.test(Te)}function Vc(Te){for(var Qe,Ye=[];!(Qe=Te.next()).done;)Ye.push(Qe.value);return Ye}function Gc(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt,ar){Ye[++Qe]=[ar,Pt]}),Ye}function Vu(Te,Qe){return function(Ye){return Te(Qe(Ye))}}function Fi(Te,Qe){for(var Ye=-1,Pt=Te.length,ar=0,jr=[];++Ye<Pt;){var _n=Te[Ye];(_n===Qe||_n===p)&&(Te[Ye]=p,jr[ar++]=Ye)}return jr}function il(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt){Ye[++Qe]=Pt}),Ye}function hf(Te){var Qe=-1,Ye=Array(Te.size);return Te.forEach(function(Pt){Ye[++Qe]=[Pt,Pt]}),Ye}function pf(Te,Qe,Ye){for(var Pt=Ye-1,ar=Te.length;++Pt<ar;)if(Te[Pt]===Qe)return Pt;return-1}function gf(Te,Qe,Ye){for(var Pt=Ye+1;Pt--;)if(Te[Pt]===Qe)return Pt;return Pt}function xa(Te){return ba(Te)?Vl(Te):Hl(Te)}function vn(Te){return ba(Te)?zo(Te):ql(Te)}function Gu(Te){for(var Qe=Te.length;Qe--&&qt.test(Te.charAt(Qe)););return Qe}var Zu=z(be);function Vl(Te){for(var Qe=Dn.lastIndex=0;Dn.test(Te);)++Qe;return Qe}function zo(Te){return Te.match(Dn)||[]}function Yu(Te){return Te.match(Ni)||[]}var Gl=function Te(Qe){Qe=Qe==null?gr:zi.defaults(gr.Object(),Qe,zi.pick(gr,ni));var Ye=Qe.Array,Pt=Qe.Date,ar=Qe.Error,jr=Qe.Function,_n=Qe.Math,Yr=Qe.Object,wa=Qe.RegExp,Ku=Qe.String,Ko=Qe.TypeError,Zl=Ye.prototype,mf=jr.prototype,is=Yr.prototype,en=Qe["__core-js_shared__"],ss=mf.toString,Vr=is.hasOwnProperty,Zc=0,sn=function(){var s=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),$i=is.toString,Yc=ss.call(Yr),Kc=gr._,Xc=wa("^"+ss.call(Vr).replace(At,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=On?Qe.Buffer:t,Hi=Qe.Symbol,sl=Qe.Uint8Array,al=Ca?Ca.allocUnsafe:t,Os=Vu(Yr.getPrototypeOf,Yr),Sa=Yr.create,Yl=is.propertyIsEnumerable,qi=Zl.splice,Kl=Hi?Hi.isConcatSpreadable:t,si=Hi?Hi.iterator:t,Wi=Hi?Hi.toStringTag:t,as=function(){try{var s=Cu(Yr,"defineProperty");return s({},"",{}),s}catch{}}(),vf=Qe.clearTimeout!==gr.clearTimeout&&Qe.clearTimeout,ll=Pt&&Pt.now!==gr.Date.now&&Pt.now,Xu=Qe.setTimeout!==gr.setTimeout&&Qe.setTimeout,_a=_n.ceil,Ns=_n.floor,Aa=Yr.getOwnPropertySymbols,Xl=Ca?Ca.isBuffer:t,Ea=Qe.isFinite,cl=Zl.join,Ju=Vu(Yr.keys,Yr),fn=_n.max,Nn=_n.min,ls=Pt.now,Jc=Qe.parseInt,cs=_n.random,Jl=Zl.reverse,bi=Cu(Qe,"DataView"),us=Cu(Qe,"Map"),Ta=Cu(Qe,"Promise"),xi=Cu(Qe,"Set"),Ui=Cu(Qe,"WeakMap"),ka=Cu(Yr,"create"),ul=Ui&&new Ui,Ps={},ds=Su(bi),Qc=Su(us),yf=Su(Ta),Qu=Su(xi),Ra=Su(Ui),fs=Hi?Hi.prototype:t,Bs=fs?fs.valueOf:t,dl=fs?fs.toString:t;function Y(s){if(Wn(s)&&!Sr(s)&&!(s instanceof Cr)){if(s instanceof lo)return s;if(Vr.call(s,"__wrapped__"))return zv(s)}return new lo(s)}var Vi=function(){function s(){}return function(u){if(!Pn(u))return{};if(Sa)return Sa(u);s.prototype=u;var x=new s;return s.prototype=t,x}}();function Gi(){}function lo(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}Y.templateSettings={escape:ir,evaluate:Ft,interpolate:nr,variable:"",imports:{_:Y}},Y.prototype=Gi.prototype,Y.prototype.constructor=Y,lo.prototype=Vi(Gi.prototype),lo.prototype.constructor=lo;function Cr(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Ql(){var s=new Cr(this.__wrapped__);return s.__actions__=bo(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=bo(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=bo(this.__views__),s}function fl(){if(this.__filtered__){var s=new Cr(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function ec(){var s=this.__wrapped__.value(),u=this.__dir__,x=Sr(s),L=u<0,U=x?s.length:0,re=PC(0,U,this.__views__),ye=re.start,Ce=re.end,Oe=Ce-ye,ut=L?Ce:ye-1,ft=this.__iteratees__,Ct=ft.length,Bt=0,er=Nn(Oe,this.__takeCount__);if(!x||!L&&U==Oe&&er==Oe)return gd(s,this.__actions__);var dr=[];e:for(;Oe--&&Bt<er;){ut+=u;for(var Dr=-1,fr=s[ut];++Dr<Ct;){var zr=ft[Dr],qr=zr.iteratee,Ji=zr.type,hi=qr(fr);if(Ji==ae)fr=hi;else if(!hi){if(Ji==ee)continue e;break e}}dr[Bt++]=fr}return dr}Cr.prototype=Vi(Gi.prototype),Cr.prototype.constructor=Cr;function wi(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function eu(){this.__data__=ka?ka(null):{},this.size=0}function ed(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function td(s){var u=this.__data__;if(ka){var x=u[s];return x===d?t:x}return Vr.call(u,s)?u[s]:t}function rd(s){var u=this.__data__;return ka?u[s]!==t:Vr.call(u,s)}function bf(s,u){var x=this.__data__;return this.size+=this.has(s)?0:1,x[s]=ka&&u===t?d:u,this}wi.prototype.clear=eu,wi.prototype.delete=ed,wi.prototype.get=td,wi.prototype.has=rd,wi.prototype.set=bf;function Ci(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function xf(){this.__data__=[],this.size=0}function wf(s){var u=this.__data__,x=ai(u,s);if(x<0)return!1;var L=u.length-1;return x==L?u.pop():qi.call(u,x,1),--this.size,!0}function tu(s){var u=this.__data__,x=ai(u,s);return x<0?t:u[x][1]}function hl(s){return ai(this.__data__,s)>-1}function Cf(s,u){var x=this.__data__,L=ai(x,s);return L<0?(++this.size,x.push([s,u])):x[L][1]=u,this}Ci.prototype.clear=xf,Ci.prototype.delete=wf,Ci.prototype.get=tu,Ci.prototype.has=hl,Ci.prototype.set=Cf;function Zi(s){var u=-1,x=s==null?0:s.length;for(this.clear();++u<x;){var L=s[u];this.set(L[0],L[1])}}function ru(){this.size=0,this.__data__={hash:new wi,map:new(us||Ci),string:new wi}}function tc(s){var u=Th(this,s).delete(s);return this.size-=u?1:0,u}function Sf(s){return Th(this,s).get(s)}function _f(s){return Th(this,s).has(s)}function Af(s,u){var x=Th(this,s),L=x.size;return x.set(s,u),this.size+=x.size==L?0:1,this}Zi.prototype.clear=ru,Zi.prototype.delete=tc,Zi.prototype.get=Sf,Zi.prototype.has=_f,Zi.prototype.set=Af;function po(s){var u=-1,x=s==null?0:s.length;for(this.__data__=new Zi;++u<x;)this.add(s[u])}function nu(s){return this.__data__.set(s,d),this}function rc(s){return this.__data__.has(s)}po.prototype.add=po.prototype.push=nu,po.prototype.has=rc;function Lr(s){var u=this.__data__=new Ci(s);this.size=u.size}function $o(){this.__data__=new Ci,this.size=0}function Ia(s){var u=this.__data__,x=u.delete(s);return this.size=u.size,x}function js(s){return this.__data__.get(s)}function Fr(s){return this.__data__.has(s)}function hs(s,u){var x=this.__data__;if(x instanceof Ci){var L=x.__data__;if(!us||L.length<o-1)return L.push([s,u]),this.size=++x.size,this;x=this.__data__=new Zi(L)}return x.set(s,u),this.size=x.size,this}Lr.prototype.clear=$o,Lr.prototype.delete=Ia,Lr.prototype.get=js,Lr.prototype.has=Fr,Lr.prototype.set=hs;function pl(s,u){var x=Sr(s),L=!x&&_u(s),U=!x&&!L&&bc(s),re=!x&&!L&&!U&&Cd(s),ye=x||L||U||re,Ce=ye?Be(s.length,Ku):[],Oe=Ce.length;for(var ut in s)(u||Vr.call(s,ut))&&!(ye&&(ut=="length"||U&&(ut=="offset"||ut=="parent")||re&&(ut=="buffer"||ut=="byteLength"||ut=="byteOffset")||Al(ut,Oe)))&&Ce.push(ut);return Ce}function To(s){var u=s.length;return u?s[Us(0,u-1)]:t}function Ho(s,u){return kh(bo(s),zs(u,0,s.length))}function Si(s){return kh(bo(s))}function ou(s,u,x){(x!==t&&!Ks(s[u],x)||x===t&&!(u in s))&&qo(s,u,x)}function go(s,u,x){var L=s[u];(!(Vr.call(s,u)&&Ks(L,x))||x===t&&!(u in s))&&qo(s,u,x)}function ai(s,u){for(var x=s.length;x--;)if(Ks(s[x][0],u))return x;return-1}function Fs(s,u,x,L){return ps(s,function(U,re,ye){u(L,U,x(U),ye)}),L}function nd(s,u){return s&&Xo(u,Ro(u),s)}function iu(s,u){return s&&Xo(u,ki(u),s)}function qo(s,u,x){u=="__proto__"&&as?as(s,u,{configurable:!0,enumerable:!0,value:x,writable:!0}):s[u]=x}function su(s,u){for(var x=-1,L=u.length,U=Ye(L),re=s==null;++x<L;)U[x]=re?t:_g(s,u[x]);return U}function zs(s,u,x){return s===s&&(x!==t&&(s=s<=x?s:x),u!==t&&(s=s>=u?s:u)),s}function mo(s,u,x,L,U,re){var ye,Ce=u&m,Oe=u&g,ut=u&v;if(x&&(ye=U?x(s,L,U,re):x(s)),ye!==t)return ye;if(!Pn(s))return s;var ft=Sr(s);if(ft){if(ye=jC(s),!Ce)return bo(s,ye)}else{var Ct=Jo(s),Bt=Ct==_e||Ct==Re;if(bc(s))return bs(s,Ce);if(Ct==et||Ct==se||Bt&&!U){if(ye=Oe||Bt?{}:Mv(s),!Ce)return Oe?kf(s,iu(ye,s)):bd(s,nd(ye,s))}else{if(!Nr[Ct])return U?s:{};ye=FC(s,Ct,Ce)}}re||(re=new Lr);var er=re.get(s);if(er)return er;re.set(s,ye),s0(s)?s.forEach(function(fr){ye.add(mo(fr,u,x,fr,s,re))}):o0(s)&&s.forEach(function(fr,zr){ye.set(zr,mo(fr,u,x,zr,s,re))});var dr=ut?Oe?ug:cg:Oe?ki:Ro,Dr=ft?t:dr(s);return Yn(Dr||s,function(fr,zr){Dr&&(zr=fr,fr=s[zr]),go(ye,zr,mo(fr,u,x,zr,s,re))}),ye}function au(s){var u=Ro(s);return function(x){return lu(x,s,u)}}function lu(s,u,x){var L=x.length;if(s==null)return!L;for(s=Yr(s);L--;){var U=x[L],re=u[U],ye=s[U];if(ye===t&&!(U in s)||!re(ye))return!1}return!0}function cu(s,u,x){if(typeof s!="function")throw new Ko(a);return If(function(){s.apply(t,x)},u)}function $s(s,u,x,L){var U=-1,re=Bi,ye=!0,Ce=s.length,Oe=[],ut=u.length;if(!Ce)return Oe;x&&(u=Qr(u,Wt(x))),L?(re=Kn,ye=!1):u.length>=o&&(re=lr,ye=!1,u=new po(u));e:for(;++U<Ce;){var ft=s[U],Ct=x==null?ft:x(ft);if(ft=L||ft!==0?ft:0,ye&&Ct===Ct){for(var Bt=ut;Bt--;)if(u[Bt]===Ct)continue e;Oe.push(ft)}else re(u,Ct,L)||Oe.push(ft)}return Oe}var ps=b(Wo),uu=b(oc,!0);function od(s,u){var x=!0;return ps(s,function(L,U,re){return x=!!u(L,U,re),x}),x}function nc(s,u,x){for(var L=-1,U=s.length;++L<U;){var re=s[L],ye=u(re);if(ye!=null&&(Ce===t?ye===ye&&!Xi(ye):x(ye,Ce)))var Ce=ye,Oe=re}return Oe}function Ef(s,u,x,L){var U=s.length;for(x=Ir(x),x<0&&(x=-x>U?0:U+x),L=L===t||L>U?U:Ir(L),L<0&&(L+=U),L=x>L?0:l0(L);x<L;)s[x++]=u;return s}function id(s,u){var x=[];return ps(s,function(L,U,re){u(L,U,re)&&x.push(L)}),x}function Xn(s,u,x,L,U){var re=-1,ye=s.length;for(x||(x=$C),U||(U=[]);++re<ye;){var Ce=s[re];u>0&&x(Ce)?u>1?Xn(Ce,u-1,x,L,U):Bo(U,Ce):L||(U[U.length]=Ce)}return U}var du=l(),sd=l(!0);function Wo(s,u){return s&&du(s,u,Ro)}function oc(s,u){return s&&sd(s,u,Ro)}function Ma(s,u){return ii(u,function(x){return El(s[x])})}function gs(s,u){u=Uo(u,s);for(var x=0,L=u.length;s!=null&&x<L;)s=s[za(u[x++])];return x&&x==L?s:t}function gl(s,u,x){var L=u(s);return Sr(s)?L:Bo(L,x(s))}function Hn(s){return s==null?s===t?St:We:Wi&&Wi in Yr(s)?NC(s):ZC(s)}function Hs(s,u){return s>u}function ic(s,u){return s!=null&&Vr.call(s,u)}function La(s,u){return s!=null&&u in Yr(s)}function sc(s,u,x){return s>=Nn(u,x)&&s<fn(u,x)}function Da(s,u,x){for(var L=x?Kn:Bi,U=s[0].length,re=s.length,ye=re,Ce=Ye(re),Oe=1/0,ut=[];ye--;){var ft=s[ye];ye&&u&&(ft=Qr(ft,Wt(u))),Oe=Nn(ft.length,Oe),Ce[ye]=!x&&(u||U>=120&&ft.length>=120)?new po(ye&&ft):t}ft=s[0];var Ct=-1,Bt=Ce[0];e:for(;++Ct<U&&ut.length<Oe;){var er=ft[Ct],dr=u?u(er):er;if(er=x||er!==0?er:0,!(Bt?lr(Bt,dr):L(ut,dr,x))){for(ye=re;--ye;){var Dr=Ce[ye];if(!(Dr?lr(Dr,dr):L(s[ye],dr,x)))continue e}Bt&&Bt.push(dr),ut.push(er)}}return ut}function ac(s,u,x,L){return Wo(s,function(U,re,ye){u(L,x(U),re,ye)}),L}function _i(s,u,x){u=Uo(u,s),s=Nv(s,u);var L=s==null?s:s[za(ws(u))];return L==null?t:dn(L,s,x)}function lc(s){return Wn(s)&&Hn(s)==se}function qs(s){return Wn(s)&&Hn(s)==vt}function ad(s){return Wn(s)&&Hn(s)==Ue}function ml(s,u,x,L,U){return s===u?!0:s==null||u==null||!Wn(s)&&!Wn(u)?s!==s&&u!==u:Oa(s,u,x,L,ml,U)}function Oa(s,u,x,L,U,re){var ye=Sr(s),Ce=Sr(u),Oe=ye?Ae:Jo(s),ut=Ce?Ae:Jo(u);Oe=Oe==se?et:Oe,ut=ut==se?et:ut;var ft=Oe==et,Ct=ut==et,Bt=Oe==ut;if(Bt&&bc(s)){if(!bc(u))return!1;ye=!0,ft=!1}if(Bt&&!ft)return re||(re=new Lr),ye||Cd(s)?kv(s,u,x,L,U,re):DC(s,u,Oe,x,L,U,re);if(!(x&w)){var er=ft&&Vr.call(s,"__wrapped__"),dr=Ct&&Vr.call(u,"__wrapped__");if(er||dr){var Dr=er?s.value():s,fr=dr?u.value():u;return re||(re=new Lr),U(Dr,fr,x,L,re)}}return Bt?(re||(re=new Lr),OC(s,u,x,L,U,re)):!1}function Na(s){return Wn(s)&&Jo(s)==Me}function fu(s,u,x,L){var U=x.length,re=U,ye=!L;if(s==null)return!re;for(s=Yr(s);U--;){var Ce=x[U];if(ye&&Ce[2]?Ce[1]!==s[Ce[0]]:!(Ce[0]in s))return!1}for(;++U<re;){Ce=x[U];var Oe=Ce[0],ut=s[Oe],ft=Ce[1];if(ye&&Ce[2]){if(ut===t&&!(Oe in s))return!1}else{var Ct=new Lr;if(L)var Bt=L(ut,ft,Oe,s,u,Ct);if(!(Bt===t?ml(ft,ut,w|E,L,Ct):Bt))return!1}}return!0}function ld(s){if(!Pn(s)||qC(s))return!1;var u=El(s)?Xc:br;return u.test(Su(s))}function Ws(s){return Wn(s)&&Hn(s)==Ke}function cc(s){return Wn(s)&&Jo(s)==bt}function Yi(s){return Wn(s)&&Oh(s.length)&&!!kr[Hn(s)]}function uc(s){return typeof s=="function"?s:s==null?Ri:typeof s=="object"?Sr(s)?yl(s[0],s[1]):Ai(s):b0(s)}function Ki(s){if(!Rf(s))return Ju(s);var u=[];for(var x in Yr(s))Vr.call(s,x)&&x!="constructor"&&u.push(x);return u}function vl(s){if(!Pn(s))return GC(s);var u=Rf(s),x=[];for(var L in s)L=="constructor"&&(u||!Vr.call(s,L))||x.push(L);return x}function li(s,u){return s<u}function ci(s,u){var x=-1,L=Ti(s)?Ye(s.length):[];return ps(s,function(U,re,ye){L[++x]=u(U,re,ye)}),L}function Ai(s){var u=fg(s);return u.length==1&&u[0][2]?Dv(u[0][0],u[0][1]):function(x){return x===s||fu(x,s,u)}}function yl(s,u){return pg(s)&&Lv(u)?Dv(za(s),u):function(x){var L=_g(x,s);return L===t&&L===u?Ag(x,s):ml(u,L,w|E)}}function ms(s,u,x,L,U){s!==u&&du(u,function(re,ye){if(U||(U=new Lr),Pn(re))ui(s,u,ye,x,ms,L,U);else{var Ce=L?L(mg(s,ye),re,ye+"",s,u,U):t;Ce===t&&(Ce=re),ou(s,ye,Ce)}},ki)}function ui(s,u,x,L,U,re,ye){var Ce=mg(s,x),Oe=mg(u,x),ut=ye.get(Oe);if(ut){ou(s,x,ut);return}var ft=re?re(Ce,Oe,x+"",s,u,ye):t,Ct=ft===t;if(Ct){var Bt=Sr(Oe),er=!Bt&&bc(Oe),dr=!Bt&&!er&&Cd(Oe);ft=Oe,Bt||er||dr?Sr(Ce)?ft=Ce:Qn(Ce)?ft=bo(Ce):er?(Ct=!1,ft=bs(Oe,!0)):dr?(Ct=!1,ft=Cl(Oe,!0)):ft=[]:Mf(Oe)||_u(Oe)?(ft=Ce,_u(Ce)?ft=c0(Ce):(!Pn(Ce)||El(Ce))&&(ft=Mv(Oe))):Ct=!1}Ct&&(ye.set(Oe,ft),U(ft,Oe,L,re,ye),ye.delete(Oe)),ou(s,x,ft)}function Pa(s,u){var x=s.length;if(x)return u+=u<0?x:0,Al(u,x)?s[u]:t}function dc(s,u,x){u.length?u=Qr(u,function(re){return Sr(re)?function(ye){return gs(ye,re.length===1?re[0]:re)}:re}):u=[Ri];var L=-1;u=Qr(u,Wt(cr()));var U=ci(s,function(re,ye,Ce){var Oe=Qr(u,function(ut){return ut(re)});return{criteria:Oe,index:++L,value:re}});return he(U,function(re,ye){return yc(re,ye,x)})}function bl(s,u){return Ba(s,u,function(x,L){return Ag(s,L)})}function Ba(s,u,x){for(var L=-1,U=u.length,re={};++L<U;){var ye=u[L],Ce=gs(s,ye);x(Ce,ye)&&Vs(re,Uo(ye,s),Ce)}return re}function cd(s){return function(u){return gs(u,s)}}function hu(s,u,x,L){var U=L?Wl:ji,re=-1,ye=u.length,Ce=s;for(s===u&&(u=bo(u)),x&&(Ce=Qr(s,Wt(x)));++re<ye;)for(var Oe=0,ut=u[re],ft=x?x(ut):ut;(Oe=U(Ce,ft,Oe,L))>-1;)Ce!==s&&qi.call(Ce,Oe,1),qi.call(s,Oe,1);return s}function pu(s,u){for(var x=s?u.length:0,L=x-1;x--;){var U=u[x];if(x==L||U!==re){var re=U;Al(U)?qi.call(s,U,1):yo(s,U)}}return s}function Us(s,u){return s+Ns(cs()*(u-s+1))}function gu(s,u,x,L){for(var U=-1,re=fn(_a((u-s)/(x||1)),0),ye=Ye(re);re--;)ye[L?re:++U]=s,s+=x;return ye}function fc(s,u){var x="";if(!s||u<1||u>le)return x;do u%2&&(x+=s),u=Ns(u/2),u&&(s+=s);while(u);return x}function wr(s,u){return vg(Ov(s,u,Ri),s+"")}function xl(s){return To(Sd(s))}function mu(s,u){var x=Sd(s);return kh(x,zs(u,0,x.length))}function Vs(s,u,x,L){if(!Pn(s))return s;u=Uo(u,s);for(var U=-1,re=u.length,ye=re-1,Ce=s;Ce!=null&&++U<re;){var Oe=za(u[U]),ut=x;if(Oe==="__proto__"||Oe==="constructor"||Oe==="prototype")return s;if(U!=ye){var ft=Ce[Oe];ut=L?L(ft,Oe,Ce):t,ut===t&&(ut=Pn(ft)?ft:Al(u[U+1])?[]:{})}go(Ce,Oe,ut),Ce=Ce[Oe]}return s}var hc=ul?function(s,u){return ul.set(s,u),s}:Ri,ud=as?function(s,u){return as(s,"toString",{configurable:!0,enumerable:!1,value:Tg(u),writable:!0})}:Ri;function dd(s){return kh(Sd(s))}function ko(s,u,x){var L=-1,U=s.length;u<0&&(u=-u>U?0:U+u),x=x>U?U:x,x<0&&(x+=U),U=u>x?0:x-u>>>0,u>>>=0;for(var re=Ye(U);++L<U;)re[L]=s[L+u];return re}function fd(s,u){var x;return ps(s,function(L,U,re){return x=u(L,U,re),!x}),!!x}function pc(s,u,x){var L=0,U=s==null?L:s.length;if(typeof u=="number"&&u===u&&U<=xe){for(;L<U;){var re=L+U>>>1,ye=s[re];ye!==null&&!Xi(ye)&&(x?ye<=u:ye<u)?L=re+1:U=re}return U}return vu(s,u,Ri,x)}function vu(s,u,x,L){var U=0,re=s==null?0:s.length;if(re===0)return 0;u=x(u);for(var ye=u!==u,Ce=u===null,Oe=Xi(u),ut=u===t;U<re;){var ft=Ns((U+re)/2),Ct=x(s[ft]),Bt=Ct!==t,er=Ct===null,dr=Ct===Ct,Dr=Xi(Ct);if(ye)var fr=L||dr;else ut?fr=dr&&(L||Bt):Ce?fr=dr&&Bt&&(L||!er):Oe?fr=dr&&Bt&&!er&&(L||!Dr):er||Dr?fr=!1:fr=L?Ct<=u:Ct<u;fr?U=ft+1:re=ft}return Nn(re,ue)}function yu(s,u){for(var x=-1,L=s.length,U=0,re=[];++x<L;){var ye=s[x],Ce=u?u(ye):ye;if(!x||!Ks(Ce,Oe)){var Oe=Ce;re[U++]=ye===0?0:ye}}return re}function hd(s){return typeof s=="number"?s:Xi(s)?te:+s}function vo(s){if(typeof s=="string")return s;if(Sr(s))return Qr(s,vo)+"";if(Xi(s))return dl?dl.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function vs(s,u,x){var L=-1,U=Bi,re=s.length,ye=!0,Ce=[],Oe=Ce;if(x)ye=!1,U=Kn;else if(re>=o){var ut=u?null:Fa(s);if(ut)return il(ut);ye=!1,U=lr,Oe=new po}else Oe=u?[]:Ce;e:for(;++L<re;){var ft=s[L],Ct=u?u(ft):ft;if(ft=x||ft!==0?ft:0,ye&&Ct===Ct){for(var Bt=Oe.length;Bt--;)if(Oe[Bt]===Ct)continue e;u&&Oe.push(Ct),Ce.push(ft)}else U(Oe,Ct,x)||(Oe!==Ce&&Oe.push(Ct),Ce.push(ft))}return Ce}function yo(s,u){return u=Uo(u,s),s=Nv(s,u),s==null||delete s[za(ws(u))]}function pd(s,u,x,L){return Vs(s,u,x(gs(s,u)),L)}function Gs(s,u,x,L){for(var U=s.length,re=L?U:-1;(L?re--:++re<U)&&u(s[re],re,s););return x?ko(s,L?0:re,L?re+1:U):ko(s,L?re+1:0,L?U:re)}function gd(s,u){var x=s;return x instanceof Cr&&(x=x.value()),nl(u,function(L,U){return U.func.apply(U.thisArg,Bo([L],U.args))},x)}function Jn(s,u,x){var L=s.length;if(L<2)return L?vs(s[0]):[];for(var U=-1,re=Ye(L);++U<L;)for(var ye=s[U],Ce=-1;++Ce<L;)Ce!=U&&(re[U]=$s(re[U]||ye,s[Ce],u,x));return vs(Xn(re,1),u,x)}function md(s,u,x){for(var L=-1,U=s.length,re=u.length,ye={};++L<U;){var Ce=L<re?u[L]:t;x(ye,s[L],Ce)}return ye}function gc(s){return Qn(s)?s:[]}function mc(s){return typeof s=="function"?s:Ri}function Uo(s,u){return Sr(s)?s:pg(s,u)?[s]:Fv(an(s))}var vd=wr;function ys(s,u,x){var L=s.length;return x=x===t?L:x,!u&&x>=L?s:ko(s,u,x)}var vc=vf||function(s){return gr.clearTimeout(s)};function bs(s,u){if(u)return s.slice();var x=s.length,L=al?al(x):new s.constructor(x);return s.copy(L),L}function Zs(s){var u=new s.constructor(s.byteLength);return new sl(u).set(new sl(s)),u}function Tf(s,u){var x=u?Zs(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.byteLength)}function bu(s){var u=new s.constructor(s.source,Rt.exec(s));return u.lastIndex=s.lastIndex,u}function wl(s){return Bs?Yr(Bs.call(s)):{}}function Cl(s,u){var x=u?Zs(s.buffer):s.buffer;return new s.constructor(x,s.byteOffset,s.length)}function xu(s,u){if(s!==u){var x=s!==t,L=s===null,U=s===s,re=Xi(s),ye=u!==t,Ce=u===null,Oe=u===u,ut=Xi(u);if(!Ce&&!ut&&!re&&s>u||re&&ye&&Oe&&!Ce&&!ut||L&&ye&&Oe||!x&&Oe||!U)return 1;if(!L&&!re&&!ut&&s<u||ut&&x&&U&&!L&&!re||Ce&&x&&U||!ye&&U||!Oe)return-1}return 0}function yc(s,u,x){for(var L=-1,U=s.criteria,re=u.criteria,ye=U.length,Ce=x.length;++L<ye;){var Oe=xu(U[L],re[L]);if(Oe){if(L>=Ce)return Oe;var ut=x[L];return Oe*(ut=="desc"?-1:1)}}return s.index-u.index}function wu(s,u,x,L){for(var U=-1,re=s.length,ye=x.length,Ce=-1,Oe=u.length,ut=fn(re-ye,0),ft=Ye(Oe+ut),Ct=!L;++Ce<Oe;)ft[Ce]=u[Ce];for(;++U<ye;)(Ct||U<re)&&(ft[x[U]]=s[U]);for(;ut--;)ft[Ce++]=s[U++];return ft}function yd(s,u,x,L){for(var U=-1,re=s.length,ye=-1,Ce=x.length,Oe=-1,ut=u.length,ft=fn(re-Ce,0),Ct=Ye(ft+ut),Bt=!L;++U<ft;)Ct[U]=s[U];for(var er=U;++Oe<ut;)Ct[er+Oe]=u[Oe];for(;++ye<Ce;)(Bt||U<re)&&(Ct[er+x[ye]]=s[U++]);return Ct}function bo(s,u){var x=-1,L=s.length;for(u||(u=Ye(L));++x<L;)u[x]=s[x];return u}function Xo(s,u,x,L){var U=!x;x||(x={});for(var re=-1,ye=u.length;++re<ye;){var Ce=u[re],Oe=L?L(x[Ce],s[Ce],Ce,x,s):t;Oe===t&&(Oe=s[Ce]),U?qo(x,Ce,Oe):go(x,Ce,Oe)}return x}function bd(s,u){return Xo(s,hg(s),u)}function kf(s,u){return Xo(s,Rv(s),u)}function Sl(s,u){return function(x,L){var U=Sr(x)?Is:Fs,re=u?u():{};return U(x,s,cr(L,2),re)}}function ja(s){return wr(function(u,x){var L=-1,U=x.length,re=U>1?x[U-1]:t,ye=U>2?x[2]:t;for(re=s.length>3&&typeof re=="function"?(U--,re):t,ye&&fi(x[0],x[1],ye)&&(re=U<3?t:re,U=1),u=Yr(u);++L<U;){var Ce=x[L];Ce&&s(u,Ce,L,re)}return u})}function b(s,u){return function(x,L){if(x==null)return x;if(!Ti(x))return s(x,L);for(var U=x.length,re=u?U:-1,ye=Yr(x);(u?re--:++re<U)&&L(ye[re],re,ye)!==!1;);return x}}function l(s){return function(u,x,L){for(var U=-1,re=Yr(u),ye=L(u),Ce=ye.length;Ce--;){var Oe=ye[s?Ce:++U];if(x(re[Oe],Oe,re)===!1)break}return u}}function f(s,u,x){var L=u&_,U=N(s);function re(){var ye=this&&this!==gr&&this instanceof re?U:s;return ye.apply(L?x:this,arguments)}return re}function y(s){return function(u){u=an(u);var x=ba(u)?vn(u):t,L=x?x[0]:u.charAt(0),U=x?ys(x,1).join(""):u.slice(1);return L[s]()+U}}function T(s){return function(u){return nl(v0(m0(u).replace(vi,"")),s,"")}}function N(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var x=Vi(s.prototype),L=s.apply(x,u);return Pn(L)?L:x}}function H(s,u,x){var L=N(s);function U(){for(var re=arguments.length,ye=Ye(re),Ce=re,Oe=wd(U);Ce--;)ye[Ce]=arguments[Ce];var ut=re<3&&ye[0]!==Oe&&ye[re-1]!==Oe?[]:Fi(ye,Oe);if(re-=ut.length,re<x)return xs(s,u,Pe,U.placeholder,t,ye,ut,t,t,x-re);var ft=this&&this!==gr&&this instanceof U?L:s;return dn(ft,this,ye)}return U}function K(s){return function(u,x,L){var U=Yr(u);if(!Ti(u)){var re=cr(x,3);u=Ro(u),x=function(Ce){return re(U[Ce],Ce,U)}}var ye=s(u,x,L);return ye>-1?U[re?u[ye]:ye]:t}}function ve(s){return _l(function(u){var x=u.length,L=x,U=lo.prototype.thru;for(s&&u.reverse();L--;){var re=u[L];if(typeof re!="function")throw new Ko(a);if(U&&!ye&&Eh(re)=="wrapper")var ye=new lo([],!0)}for(L=ye?L:x;++L<x;){re=u[L];var Ce=Eh(re),Oe=Ce=="wrapper"?dg(re):t;Oe&&gg(Oe[0])&&Oe[1]==(W|D|P|F)&&!Oe[4].length&&Oe[9]==1?ye=ye[Eh(Oe[0])].apply(ye,Oe[3]):ye=re.length==1&&gg(re)?ye[Ce]():ye.thru(re)}return function(){var ut=arguments,ft=ut[0];if(ye&&ut.length==1&&Sr(ft))return ye.plant(ft).value();for(var Ct=0,Bt=x?u[Ct].apply(this,ut):ft;++Ct<x;)Bt=u[Ct].call(this,Bt);return Bt}})}function Pe(s,u,x,L,U,re,ye,Ce,Oe,ut){var ft=u&W,Ct=u&_,Bt=u&A,er=u&(D|I),dr=u&G,Dr=Bt?t:N(s);function fr(){for(var zr=arguments.length,qr=Ye(zr),Ji=zr;Ji--;)qr[Ji]=arguments[Ji];if(er)var hi=wd(fr),Qi=jo(qr,hi);if(L&&(qr=wu(qr,L,U,er)),re&&(qr=yd(qr,re,ye,er)),zr-=Qi,er&&zr<ut){var eo=Fi(qr,hi);return xs(s,u,Pe,fr.placeholder,x,qr,eo,Ce,Oe,ut-zr)}var Xs=Ct?x:this,kl=Bt?Xs[s]:s;return zr=qr.length,Ce?qr=YC(qr,Ce):dr&&zr>1&&qr.reverse(),ft&&Oe<zr&&(qr.length=Oe),this&&this!==gr&&this instanceof fr&&(kl=Dr||N(kl)),kl.apply(Xs,qr)}return fr}function at(s,u){return function(x,L){return ac(x,s,u(L),{})}}function mt(s,u){return function(x,L){var U;if(x===t&&L===t)return u;if(x!==t&&(U=x),L!==t){if(U===t)return L;typeof x=="string"||typeof L=="string"?(x=vo(x),L=vo(L)):(x=hd(x),L=hd(L)),U=s(x,L)}return U}}function Dt(s){return _l(function(u){return u=Qr(u,Wt(cr())),wr(function(x){var L=this;return s(u,function(U){return dn(U,L,x)})})})}function sr(s,u){u=u===t?" ":vo(u);var x=u.length;if(x<2)return x?fc(u,s):u;var L=fc(u,_a(s/xa(u)));return ba(u)?ys(vn(L),0,s).join(""):L.slice(0,s)}function Hr(s,u,x,L){var U=u&_,re=N(s);function ye(){for(var Ce=-1,Oe=arguments.length,ut=-1,ft=L.length,Ct=Ye(ft+Oe),Bt=this&&this!==gr&&this instanceof ye?re:s;++ut<ft;)Ct[ut]=L[ut];for(;Oe--;)Ct[ut++]=arguments[++Ce];return dn(Bt,U?x:this,Ct)}return ye}function qn(s){return function(u,x,L){return L&&typeof L!="number"&&fi(u,x,L)&&(x=L=t),u=Tl(u),x===t?(x=u,u=0):x=Tl(x),L=L===t?u<x?1:-1:Tl(L),gu(u,x,L,s)}}function Ei(s){return function(u,x){return typeof u=="string"&&typeof x=="string"||(u=Cs(u),x=Cs(x)),s(u,x)}}function xs(s,u,x,L,U,re,ye,Ce,Oe,ut){var ft=u&D,Ct=ft?ye:t,Bt=ft?t:ye,er=ft?re:t,dr=ft?t:re;u|=ft?P:j,u&=~(ft?j:P),u&k||(u&=-4);var Dr=[s,u,U,er,Ct,dr,Bt,Ce,Oe,ut],fr=x.apply(t,Dr);return gg(s)&&Pv(fr,Dr),fr.placeholder=L,Bv(fr,s,u)}function di(s){var u=_n[s];return function(x,L){if(x=Cs(x),L=L==null?0:Nn(Ir(L),292),L&&Ea(x)){var U=(an(x)+"e").split("e"),re=u(U[0]+"e"+(+U[1]+L));return U=(an(re)+"e").split("e"),+(U[0]+"e"+(+U[1]-L))}return u(x)}}var Fa=xi&&1/il(new xi([,-0]))[1]==oe?function(s){return new xi(s)}:Ig;function xd(s){return function(u){var x=Jo(u);return x==Me?Gc(u):x==bt?hf(u):ot(u,s(u))}}function Ys(s,u,x,L,U,re,ye,Ce){var Oe=u&A;if(!Oe&&typeof s!="function")throw new Ko(a);var ut=L?L.length:0;if(ut||(u&=-97,L=U=t),ye=ye===t?ye:fn(Ir(ye),0),Ce=Ce===t?Ce:Ir(Ce),ut-=U?U.length:0,u&j){var ft=L,Ct=U;L=U=t}var Bt=Oe?t:dg(s),er=[s,u,x,L,U,ft,Ct,re,ye,Ce];if(Bt&&VC(er,Bt),s=er[0],u=er[1],x=er[2],L=er[3],U=er[4],Ce=er[9]=er[9]===t?Oe?0:s.length:fn(er[9]-ut,0),!Ce&&u&(D|I)&&(u&=-25),!u||u==_)var dr=f(s,u,x);else u==D||u==I?dr=H(s,u,Ce):(u==P||u==(_|P))&&!U.length?dr=Hr(s,u,x,L):dr=Pe.apply(t,er);var Dr=Bt?hc:Pv;return Bv(Dr(dr,er),s,u)}function Ev(s,u,x,L){return s===t||Ks(s,is[x])&&!Vr.call(L,x)?u:s}function Tv(s,u,x,L,U,re){return Pn(s)&&Pn(u)&&(re.set(u,s),ms(s,u,t,Tv,re),re.delete(u)),s}function LC(s){return Mf(s)?t:s}function kv(s,u,x,L,U,re){var ye=x&w,Ce=s.length,Oe=u.length;if(Ce!=Oe&&!(ye&&Oe>Ce))return!1;var ut=re.get(s),ft=re.get(u);if(ut&&ft)return ut==u&&ft==s;var Ct=-1,Bt=!0,er=x&E?new po:t;for(re.set(s,u),re.set(u,s);++Ct<Ce;){var dr=s[Ct],Dr=u[Ct];if(L)var fr=ye?L(Dr,dr,Ct,u,s,re):L(dr,Dr,Ct,s,u,re);if(fr!==t){if(fr)continue;Bt=!1;break}if(er){if(!os(u,function(zr,qr){if(!lr(er,qr)&&(dr===zr||U(dr,zr,x,L,re)))return er.push(qr)})){Bt=!1;break}}else if(!(dr===Dr||U(dr,Dr,x,L,re))){Bt=!1;break}}return re.delete(s),re.delete(u),Bt}function DC(s,u,x,L,U,re,ye){switch(x){case Tt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case vt:return!(s.byteLength!=u.byteLength||!re(new sl(s),new sl(u)));case Ge:case Ue:case tt:return Ks(+s,+u);case Se:return s.name==u.name&&s.message==u.message;case Ke:case ht:return s==u+"";case Me:var Ce=Gc;case bt:var Oe=L&w;if(Ce||(Ce=il),s.size!=u.size&&!Oe)return!1;var ut=ye.get(s);if(ut)return ut==u;L|=E,ye.set(s,u);var ft=kv(Ce(s),Ce(u),L,U,re,ye);return ye.delete(s),ft;case dt:if(Bs)return Bs.call(s)==Bs.call(u)}return!1}function OC(s,u,x,L,U,re){var ye=x&w,Ce=cg(s),Oe=Ce.length,ut=cg(u),ft=ut.length;if(Oe!=ft&&!ye)return!1;for(var Ct=Oe;Ct--;){var Bt=Ce[Ct];if(!(ye?Bt in u:Vr.call(u,Bt)))return!1}var er=re.get(s),dr=re.get(u);if(er&&dr)return er==u&&dr==s;var Dr=!0;re.set(s,u),re.set(u,s);for(var fr=ye;++Ct<Oe;){Bt=Ce[Ct];var zr=s[Bt],qr=u[Bt];if(L)var Ji=ye?L(qr,zr,Bt,u,s,re):L(zr,qr,Bt,s,u,re);if(!(Ji===t?zr===qr||U(zr,qr,x,L,re):Ji)){Dr=!1;break}fr||(fr=Bt=="constructor")}if(Dr&&!fr){var hi=s.constructor,Qi=u.constructor;hi!=Qi&&"constructor"in s&&"constructor"in u&&!(typeof hi=="function"&&hi instanceof hi&&typeof Qi=="function"&&Qi instanceof Qi)&&(Dr=!1)}return re.delete(s),re.delete(u),Dr}function _l(s){return vg(Ov(s,t,qv),s+"")}function cg(s){return gl(s,Ro,hg)}function ug(s){return gl(s,ki,Rv)}var dg=ul?function(s){return ul.get(s)}:Ig;function Eh(s){for(var u=s.name+"",x=Ps[u],L=Vr.call(Ps,u)?x.length:0;L--;){var U=x[L],re=U.func;if(re==null||re==s)return U.name}return u}function wd(s){var u=Vr.call(Y,"placeholder")?Y:s;return u.placeholder}function cr(){var s=Y.iteratee||kg;return s=s===kg?uc:s,arguments.length?s(arguments[0],arguments[1]):s}function Th(s,u){var x=s.__data__;return HC(u)?x[typeof u=="string"?"string":"hash"]:x.map}function fg(s){for(var u=Ro(s),x=u.length;x--;){var L=u[x],U=s[L];u[x]=[L,U,Lv(U)]}return u}function Cu(s,u){var x=Ds(s,u);return ld(x)?x:t}function NC(s){var u=Vr.call(s,Wi),x=s[Wi];try{s[Wi]=t;var L=!0}catch{}var U=$i.call(s);return L&&(u?s[Wi]=x:delete s[Wi]),U}var hg=Aa?function(s){return s==null?[]:(s=Yr(s),ii(Aa(s),function(u){return Yl.call(s,u)}))}:Mg,Rv=Aa?function(s){for(var u=[];s;)Bo(u,hg(s)),s=Os(s);return u}:Mg,Jo=Hn;(bi&&Jo(new bi(new ArrayBuffer(1)))!=Tt||us&&Jo(new us)!=Me||Ta&&Jo(Ta.resolve())!=st||xi&&Jo(new xi)!=bt||Ui&&Jo(new Ui)!=Ve)&&(Jo=function(s){var u=Hn(s),x=u==et?s.constructor:t,L=x?Su(x):"";if(L)switch(L){case ds:return Tt;case Qc:return Me;case yf:return st;case Qu:return bt;case Ra:return Ve}return u});function PC(s,u,x){for(var L=-1,U=x.length;++L<U;){var re=x[L],ye=re.size;switch(re.type){case"drop":s+=ye;break;case"dropRight":u-=ye;break;case"take":u=Nn(u,s+ye);break;case"takeRight":s=fn(s,u-ye);break}}return{start:s,end:u}}function BC(s){var u=s.match(je);return u?u[1].split(Q):[]}function Iv(s,u,x){u=Uo(u,s);for(var L=-1,U=u.length,re=!1;++L<U;){var ye=za(u[L]);if(!(re=s!=null&&x(s,ye)))break;s=s[ye]}return re||++L!=U?re:(U=s==null?0:s.length,!!U&&Oh(U)&&Al(ye,U)&&(Sr(s)||_u(s)))}function jC(s){var u=s.length,x=new s.constructor(u);return u&&typeof s[0]=="string"&&Vr.call(s,"index")&&(x.index=s.index,x.input=s.input),x}function Mv(s){return typeof s.constructor=="function"&&!Rf(s)?Vi(Os(s)):{}}function FC(s,u,x){var L=s.constructor;switch(u){case vt:return Zs(s);case Ge:case Ue:return new L(+s);case Tt:return Tf(s,x);case xt:case Mt:case Vt:case Ht:case hr:case _r:case yr:case Ee:case de:return Cl(s,x);case Me:return new L;case tt:case ht:return new L(s);case Ke:return bu(s);case bt:return new L;case dt:return wl(s)}}function zC(s,u){var x=u.length;if(!x)return s;var L=x-1;return u[L]=(x>1?"& ":"")+u[L],u=u.join(x>2?", ":" "),s.replace(rr,`{
|
39
39
|
/* [wrapped with `+u+`] */
|
40
|
-
`)}function $C(s){return Sr(s)||_u(s)||!!(Kl&&s&&s[Kl])}function Al(s,u){var x=typeof s;return u=u??le,!!u&&(x=="number"||x!="symbol"&&Tr.test(s))&&s>-1&&s%1==0&&s<u}function fi(s,u,x){if(!Pn(x))return!1;var L=typeof u;return(L=="number"?Ti(x)&&Al(u,x.length):L=="string"&&u in x)?Ks(x[u],s):!1}function pg(s,u){if(Sr(s))return!1;var x=typeof s;return x=="number"||x=="symbol"||x=="boolean"||s==null||Xi(s)?!0:it.test(s)||!tr.test(s)||u!=null&&s in Yr(u)}function HC(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function gg(s){var u=Eh(s),x=Y[u];if(typeof x!="function"||!(u in Cr.prototype))return!1;if(s===x)return!0;var L=dg(x);return!!L&&s===L[0]}function qC(s){return!!sn&&sn in s}var WC=en?El:Lg;function Rf(s){var u=s&&s.constructor,x=typeof u=="function"&&u.prototype||is;return s===x}function Lv(s){return s===s&&!Pn(s)}function Dv(s,u){return function(x){return x==null?!1:x[s]===u&&(u!==t||s in Yr(x))}}function UC(s){var u=Lh(s,function(L){return x.size===h&&x.clear(),L}),x=u.cache;return u}function VC(s,u){var x=s[1],L=u[1],U=x|L,re=U<(_|A|W),ye=L==W&&x==D||L==W&&x==F&&s[7].length<=u[8]||L==(W|F)&&u[7].length<=u[8]&&x==D;if(!(re||ye))return s;L&_&&(s[2]=u[2],U|=x&_?0:k);var Ce=u[3];if(Ce){var Oe=s[3];s[3]=Oe?wu(Oe,Ce,u[4]):Ce,s[4]=Oe?Fi(s[3],p):u[4]}return Ce=u[5],Ce&&(Oe=s[5],s[5]=Oe?yd(Oe,Ce,u[6]):Ce,s[6]=Oe?Fi(s[5],p):u[6]),Ce=u[7],Ce&&(s[7]=Ce),L&W&&(s[8]=s[8]==null?u[8]:Nn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=U,s}function GC(s){var u=[];if(s!=null)for(var x in Yr(s))u.push(x);return u}function ZC(s){return $i.call(s)}function Ov(s,u,x){return u=fn(u===t?s.length-1:u,0),function(){for(var L=arguments,U=-1,re=fn(L.length-u,0),ye=Ye(re);++U<re;)ye[U]=L[u+U];U=-1;for(var Ce=Ye(u+1);++U<u;)Ce[U]=L[U];return Ce[u]=x(ye),dn(s,this,Ce)}}function Nv(s,u){return u.length<2?s:gs(s,ko(u,0,-1))}function YC(s,u){for(var x=s.length,L=Nn(u.length,x),U=bo(s);L--;){var re=u[L];s[L]=Al(re,x)?U[re]:t}return s}function mg(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var Pv=jv(hc),If=Xu||function(s,u){return gr.setTimeout(s,u)},vg=jv(ud);function Bv(s,u,x){var L=u+"";return vg(s,zC(L,KC(BC(L),x)))}function jv(s){var u=0,x=0;return function(){var L=ls(),U=V-(L-x);if(x=L,U>0){if(++u>=q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function kh(s,u){var x=-1,L=s.length,U=L-1;for(u=u===t?L:u;++x<u;){var re=Us(x,U),ye=s[re];s[re]=s[x],s[x]=ye}return s.length=u,s}var Fv=UC(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(lt,function(x,L,U,re){u.push(U?re.replace(ct,"$1"):L||x)}),u});function za(s){if(typeof s=="string"||Xi(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function Su(s){if(s!=null){try{return ss.call(s)}catch{}try{return s+""}catch{}}return""}function KC(s,u){return Yn(ke,function(x){var L="_."+x[0];u&x[1]&&!Bi(s,L)&&s.push(L)}),s.sort()}function zv(s){if(s instanceof Cr)return s.clone();var u=new lo(s.__wrapped__,s.__chain__);return u.__actions__=bo(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function XC(s,u,x){(x?fi(s,u,x):u===t)?u=1:u=fn(Ir(u),0);var L=s==null?0:s.length;if(!L||u<1)return[];for(var U=0,re=0,ye=Ye(_a(L/u));U<L;)ye[re++]=ko(s,U,U+=u);return ye}function JC(s){for(var u=-1,x=s==null?0:s.length,L=0,U=[];++u<x;){var re=s[u];re&&(U[L++]=re)}return U}function QC(){var s=arguments.length;if(!s)return[];for(var u=Ye(s-1),x=arguments[0],L=s;L--;)u[L-1]=arguments[L];return Bo(Sr(x)?bo(x):[x],Xn(u,1))}var eS=xr(function(s,u){return Qn(s)?$s(s,Xn(u,1,Qn,!0)):[]}),tS=xr(function(s,u){var x=ws(u);return Qn(x)&&(x=t),Qn(s)?$s(s,Xn(u,1,Qn,!0),cr(x,2)):[]}),rS=xr(function(s,u){var x=ws(u);return Qn(x)&&(x=t),Qn(s)?$s(s,Xn(u,1,Qn,!0),t,x):[]});function nS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),ko(s,u<0?0:u,L)):[]}function oS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),u=L-u,ko(s,0,u<0?0:u)):[]}function iS(s,u){return s&&s.length?Gs(s,cr(u,3),!0,!0):[]}function sS(s,u){return s&&s.length?Gs(s,cr(u,3),!0):[]}function aS(s,u,x,L){var U=s==null?0:s.length;return U?(x&&typeof x!="number"&&fi(s,u,x)&&(x=0,L=U),Ef(s,u,x,L)):[]}function $v(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=x==null?0:Ir(x);return U<0&&(U=fn(L+U,0)),Ls(s,cr(u,3),U)}function Hv(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=L-1;return x!==t&&(U=Ir(x),U=x<0?fn(L+U,0):Nn(U,L-1)),Ls(s,cr(u,3),U,!0)}function qv(s){var u=s==null?0:s.length;return u?Xn(s,1):[]}function lS(s){var u=s==null?0:s.length;return u?Xn(s,oe):[]}function cS(s,u){var x=s==null?0:s.length;return x?(u=u===t?1:Ir(u),Xn(s,u)):[]}function uS(s){for(var u=-1,x=s==null?0:s.length,L={};++u<x;){var U=s[u];L[U[0]]=U[1]}return L}function Wv(s){return s&&s.length?s[0]:t}function dS(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=x==null?0:Ir(x);return U<0&&(U=fn(L+U,0)),ji(s,u,U)}function fS(s){var u=s==null?0:s.length;return u?ko(s,0,-1):[]}var hS=xr(function(s){var u=Qr(s,gc);return u.length&&u[0]===s[0]?Da(u):[]}),pS=xr(function(s){var u=ws(s),x=Qr(s,gc);return u===ws(x)?u=t:x.pop(),x.length&&x[0]===s[0]?Da(x,cr(u,2)):[]}),gS=xr(function(s){var u=ws(s),x=Qr(s,gc);return u=typeof u=="function"?u:t,u&&x.pop(),x.length&&x[0]===s[0]?Da(x,t,u):[]});function mS(s,u){return s==null?"":cl.call(s,u)}function ws(s){var u=s==null?0:s.length;return u?s[u-1]:t}function vS(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=L;return x!==t&&(U=Ir(x),U=U<0?fn(L+U,0):Nn(U,L-1)),u===u?gf(s,u,U):Ls(s,va,U,!0)}function yS(s,u){return s&&s.length?Pa(s,Ir(u)):t}var bS=xr(Uv);function Uv(s,u){return s&&s.length&&u&&u.length?hu(s,u):s}function xS(s,u,x){return s&&s.length&&u&&u.length?hu(s,u,cr(x,2)):s}function wS(s,u,x){return s&&s.length&&u&&u.length?hu(s,u,t,x):s}var CS=_l(function(s,u){var x=s==null?0:s.length,L=su(s,u);return pu(s,Qr(u,function(U){return Al(U,x)?+U:U}).sort(xu)),L});function SS(s,u){var x=[];if(!(s&&s.length))return x;var L=-1,U=[],re=s.length;for(u=cr(u,3);++L<re;){var ye=s[L];u(ye,L,s)&&(x.push(ye),U.push(L))}return pu(s,U),x}function yg(s){return s==null?s:Jl.call(s)}function _S(s,u,x){var L=s==null?0:s.length;return L?(x&&typeof x!="number"&&fi(s,u,x)?(u=0,x=L):(u=u==null?0:Ir(u),x=x===t?L:Ir(x)),ko(s,u,x)):[]}function AS(s,u){return pc(s,u)}function ES(s,u,x){return vu(s,u,cr(x,2))}function TS(s,u){var x=s==null?0:s.length;if(x){var L=pc(s,u);if(L<x&&Ks(s[L],u))return L}return-1}function kS(s,u){return pc(s,u,!0)}function RS(s,u,x){return vu(s,u,cr(x,2),!0)}function IS(s,u){var x=s==null?0:s.length;if(x){var L=pc(s,u,!0)-1;if(Ks(s[L],u))return L}return-1}function MS(s){return s&&s.length?yu(s):[]}function LS(s,u){return s&&s.length?yu(s,cr(u,2)):[]}function DS(s){var u=s==null?0:s.length;return u?ko(s,1,u):[]}function OS(s,u,x){return s&&s.length?(u=x||u===t?1:Ir(u),ko(s,0,u<0?0:u)):[]}function NS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),u=L-u,ko(s,u<0?0:u,L)):[]}function PS(s,u){return s&&s.length?Gs(s,cr(u,3),!1,!0):[]}function BS(s,u){return s&&s.length?Gs(s,cr(u,3)):[]}var jS=xr(function(s){return vs(Xn(s,1,Qn,!0))}),FS=xr(function(s){var u=ws(s);return Qn(u)&&(u=t),vs(Xn(s,1,Qn,!0),cr(u,2))}),zS=xr(function(s){var u=ws(s);return u=typeof u=="function"?u:t,vs(Xn(s,1,Qn,!0),t,u)});function $S(s){return s&&s.length?vs(s):[]}function HS(s,u){return s&&s.length?vs(s,cr(u,2)):[]}function qS(s,u){return u=typeof u=="function"?u:t,s&&s.length?vs(s,t,u):[]}function bg(s){if(!(s&&s.length))return[];var u=0;return s=ii(s,function(x){if(Qn(x))return u=fn(x.length,u),!0}),Be(u,function(x){return Qr(s,M(x))})}function Vv(s,u){if(!(s&&s.length))return[];var x=bg(s);return u==null?x:Qr(x,function(L){return dn(u,t,L)})}var WS=xr(function(s,u){return Qn(s)?$s(s,u):[]}),US=xr(function(s){return Jn(ii(s,Qn))}),VS=xr(function(s){var u=ws(s);return Qn(u)&&(u=t),Jn(ii(s,Qn),cr(u,2))}),GS=xr(function(s){var u=ws(s);return u=typeof u=="function"?u:t,Jn(ii(s,Qn),t,u)}),ZS=xr(bg);function YS(s,u){return md(s||[],u||[],go)}function KS(s,u){return md(s||[],u||[],Vs)}var XS=xr(function(s){var u=s.length,x=u>1?s[u-1]:t;return x=typeof x=="function"?(s.pop(),x):t,Vv(s,x)});function Gv(s){var u=Y(s);return u.__chain__=!0,u}function JS(s,u){return u(s),s}function Rh(s,u){return u(s)}var QS=_l(function(s){var u=s.length,x=u?s[0]:0,L=this.__wrapped__,U=function(re){return su(re,s)};return u>1||this.__actions__.length||!(L instanceof Cr)||!Al(x)?this.thru(U):(L=L.slice(x,+x+(u?1:0)),L.__actions__.push({func:Rh,args:[U],thisArg:t}),new lo(L,this.__chain__).thru(function(re){return u&&!re.length&&re.push(t),re}))});function e_(){return Gv(this)}function t_(){return new lo(this.value(),this.__chain__)}function r_(){this.__values__===t&&(this.__values__=a0(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function n_(){return this}function o_(s){for(var u,x=this;x instanceof Gi;){var L=zv(x);L.__index__=0,L.__values__=t,u?U.__wrapped__=L:u=L;var U=L;x=x.__wrapped__}return U.__wrapped__=s,u}function i_(){var s=this.__wrapped__;if(s instanceof Cr){var u=s;return this.__actions__.length&&(u=new Cr(this)),u=u.reverse(),u.__actions__.push({func:Rh,args:[yg],thisArg:t}),new lo(u,this.__chain__)}return this.thru(yg)}function s_(){return gd(this.__wrapped__,this.__actions__)}var a_=Sl(function(s,u,x){Vr.call(s,x)?++s[x]:qo(s,x,1)});function l_(s,u,x){var L=Sr(s)?rl:od;return x&&fi(s,u,x)&&(u=t),L(s,cr(u,3))}function c_(s,u){var x=Sr(s)?ii:id;return x(s,cr(u,3))}var u_=K($v),d_=K(Hv);function f_(s,u){return Xn(Ih(s,u),1)}function h_(s,u){return Xn(Ih(s,u),oe)}function p_(s,u,x){return x=x===t?1:Ir(x),Xn(Ih(s,u),x)}function Zv(s,u){var x=Sr(s)?Yn:ps;return x(s,cr(u,3))}function Yv(s,u){var x=Sr(s)?zl:uu;return x(s,cr(u,3))}var g_=Sl(function(s,u,x){Vr.call(s,x)?s[x].push(u):qo(s,x,[u])});function m_(s,u,x,L){s=Ti(s)?s:Sd(s),x=x&&!L?Ir(x):0;var U=s.length;return x<0&&(x=fn(U+x,0)),Nh(s)?x<=U&&s.indexOf(u,x)>-1:!!U&&ji(s,u,x)>-1}var v_=xr(function(s,u,x){var L=-1,U=typeof u=="function",re=Ti(s)?Ye(s.length):[];return ps(s,function(ye){re[++L]=U?dn(u,ye,x):_i(ye,u,x)}),re}),y_=Sl(function(s,u,x){qo(s,x,u)});function Ih(s,u){var x=Sr(s)?Qr:ci;return x(s,cr(u,3))}function b_(s,u,x,L){return s==null?[]:(Sr(u)||(u=u==null?[]:[u]),x=L?t:x,Sr(x)||(x=x==null?[]:[x]),dc(s,u,x))}var x_=Sl(function(s,u,x){s[x?0:1].push(u)},function(){return[[],[]]});function w_(s,u,x){var L=Sr(s)?nl:Z,U=arguments.length<3;return L(s,cr(u,4),x,U,ps)}function C_(s,u,x){var L=Sr(s)?$l:Z,U=arguments.length<3;return L(s,cr(u,4),x,U,uu)}function S_(s,u){var x=Sr(s)?ii:id;return x(s,Dh(cr(u,3)))}function __(s){var u=Sr(s)?To:xl;return u(s)}function A_(s,u,x){(x?fi(s,u,x):u===t)?u=1:u=Ir(u);var L=Sr(s)?Ho:mu;return L(s,u)}function E_(s){var u=Sr(s)?Si:dd;return u(s)}function T_(s){if(s==null)return 0;if(Ti(s))return Nh(s)?xa(s):s.length;var u=Jo(s);return u==Me||u==bt?s.size:Ki(s).length}function k_(s,u,x){var L=Sr(s)?os:fd;return x&&fi(s,u,x)&&(u=t),L(s,cr(u,3))}var R_=xr(function(s,u){if(s==null)return[];var x=u.length;return x>1&&fi(s,u[0],u[1])?u=[]:x>2&&fi(u[0],u[1],u[2])&&(u=[u[0]]),dc(s,Xn(u,1),[])}),Mh=ll||function(){return gr.Date.now()};function I_(s,u){if(typeof u!="function")throw new Ko(a);return s=Ir(s),function(){if(--s<1)return u.apply(this,arguments)}}function Kv(s,u,x){return u=x?t:u,u=s&&u==null?s.length:u,Ys(s,W,t,t,t,t,u)}function Xv(s,u){var x;if(typeof u!="function")throw new Ko(a);return s=Ir(s),function(){return--s>0&&(x=u.apply(this,arguments)),s<=1&&(u=t),x}}var xg=xr(function(s,u,x){var L=_;if(x.length){var U=Fi(x,wd(xg));L|=P}return Ys(s,L,u,x,U)}),Jv=xr(function(s,u,x){var L=_|A;if(x.length){var U=Fi(x,wd(Jv));L|=P}return Ys(u,L,s,x,U)});function Qv(s,u,x){u=x?t:u;var L=Ys(s,D,t,t,t,t,t,u);return L.placeholder=Qv.placeholder,L}function e0(s,u,x){u=x?t:u;var L=Ys(s,I,t,t,t,t,t,u);return L.placeholder=e0.placeholder,L}function t0(s,u,x){var L,U,re,ye,Ce,Oe,ut=0,ft=!1,Ct=!1,Bt=!0;if(typeof s!="function")throw new Ko(a);u=Cs(u)||0,Pn(x)&&(ft=!!x.leading,Ct="maxWait"in x,re=Ct?fn(Cs(x.maxWait)||0,u):re,Bt="trailing"in x?!!x.trailing:Bt);function er(eo){var Xs=L,kl=U;return L=U=t,ut=eo,ye=s.apply(kl,Xs),ye}function dr(eo){return ut=eo,Ce=If(zr,u),ft?er(eo):ye}function Dr(eo){var Xs=eo-Oe,kl=eo-ut,x0=u-Xs;return Ct?Nn(x0,re-kl):x0}function fr(eo){var Xs=eo-Oe,kl=eo-ut;return Oe===t||Xs>=u||Xs<0||Ct&&kl>=re}function zr(){var eo=Mh();if(fr(eo))return qr(eo);Ce=If(zr,Dr(eo))}function qr(eo){return Ce=t,Bt&&L?er(eo):(L=U=t,ye)}function Ji(){Ce!==t&&vc(Ce),ut=0,L=Oe=U=Ce=t}function hi(){return Ce===t?ye:qr(Mh())}function Qi(){var eo=Mh(),Xs=fr(eo);if(L=arguments,U=this,Oe=eo,Xs){if(Ce===t)return dr(Oe);if(Ct)return vc(Ce),Ce=If(zr,u),er(Oe)}return Ce===t&&(Ce=If(zr,u)),ye}return Qi.cancel=Ji,Qi.flush=hi,Qi}var M_=xr(function(s,u){return cu(s,1,u)}),L_=xr(function(s,u,x){return cu(s,Cs(u)||0,x)});function D_(s){return Ys(s,G)}function Lh(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Ko(a);var x=function(){var L=arguments,U=u?u.apply(this,L):L[0],re=x.cache;if(re.has(U))return re.get(U);var ye=s.apply(this,L);return x.cache=re.set(U,ye)||re,ye};return x.cache=new(Lh.Cache||Zi),x}Lh.Cache=Zi;function Dh(s){if(typeof s!="function")throw new Ko(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function O_(s){return Xv(2,s)}var N_=vd(function(s,u){u=u.length==1&&Sr(u[0])?Qr(u[0],Wt(cr())):Qr(Xn(u,1),Wt(cr()));var x=u.length;return xr(function(L){for(var U=-1,re=Nn(L.length,x);++U<re;)L[U]=u[U].call(this,L[U]);return dn(s,this,L)})}),wg=xr(function(s,u){var x=Fi(u,wd(wg));return Ys(s,P,t,u,x)}),r0=xr(function(s,u){var x=Fi(u,wd(r0));return Ys(s,j,t,u,x)}),P_=_l(function(s,u){return Ys(s,F,t,t,t,u)});function B_(s,u){if(typeof s!="function")throw new Ko(a);return u=u===t?u:Ir(u),xr(s,u)}function j_(s,u){if(typeof s!="function")throw new Ko(a);return u=u==null?0:fn(Ir(u),0),xr(function(x){var L=x[u],U=ys(x,0,u);return L&&Bo(U,L),dn(s,this,U)})}function F_(s,u,x){var L=!0,U=!0;if(typeof s!="function")throw new Ko(a);return Pn(x)&&(L="leading"in x?!!x.leading:L,U="trailing"in x?!!x.trailing:U),t0(s,u,{leading:L,maxWait:u,trailing:U})}function z_(s){return Kv(s,1)}function $_(s,u){return wg(mc(u),s)}function H_(){if(!arguments.length)return[];var s=arguments[0];return Sr(s)?s:[s]}function q_(s){return mo(s,v)}function W_(s,u){return u=typeof u=="function"?u:t,mo(s,v,u)}function U_(s){return mo(s,m|v)}function V_(s,u){return u=typeof u=="function"?u:t,mo(s,m|v,u)}function G_(s,u){return u==null||lu(s,u,Ro(u))}function Ks(s,u){return s===u||s!==s&&u!==u}var Z_=Ei(Hs),Y_=Ei(function(s,u){return s>=u}),_u=lc(function(){return arguments}())?lc:function(s){return Wn(s)&&Vr.call(s,"callee")&&!Yl.call(s,"callee")},Sr=Ye.isArray,K_=on?Wt(on):qs;function Ti(s){return s!=null&&Oh(s.length)&&!El(s)}function Qn(s){return Wn(s)&&Ti(s)}function X_(s){return s===!0||s===!1||Wn(s)&&Hn(s)==Ge}var bc=Xl||Lg,J_=ho?Wt(ho):ad;function Q_(s){return Wn(s)&&s.nodeType===1&&!Mf(s)}function e3(s){if(s==null)return!0;if(Ti(s)&&(Sr(s)||typeof s=="string"||typeof s.splice=="function"||bc(s)||Cd(s)||_u(s)))return!s.length;var u=Jo(s);if(u==Me||u==bt)return!s.size;if(Rf(s))return!Ki(s).length;for(var x in s)if(Vr.call(s,x))return!1;return!0}function t3(s,u){return ml(s,u)}function r3(s,u,x){x=typeof x=="function"?x:t;var L=x?x(s,u):t;return L===t?ml(s,u,t,x):!!L}function Cg(s){if(!Wn(s))return!1;var u=Hn(s);return u==Se||u==we||typeof s.message=="string"&&typeof s.name=="string"&&!Mf(s)}function n3(s){return typeof s=="number"&&Ea(s)}function El(s){if(!Pn(s))return!1;var u=Hn(s);return u==_e||u==Re||u==De||u==ze}function n0(s){return typeof s=="number"&&s==Ir(s)}function Oh(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=le}function Pn(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Wn(s){return s!=null&&typeof s=="object"}var o0=Eo?Wt(Eo):Na;function o3(s,u){return s===u||fu(s,u,fg(u))}function i3(s,u,x){return x=typeof x=="function"?x:t,fu(s,u,fg(u),x)}function s3(s){return i0(s)&&s!=+s}function a3(s){if(WC(s))throw new ar(i);return ld(s)}function l3(s){return s===null}function c3(s){return s==null}function i0(s){return typeof s=="number"||Wn(s)&&Hn(s)==tt}function Mf(s){if(!Wn(s)||Hn(s)!=et)return!1;var u=Os(s);if(u===null)return!0;var x=Vr.call(u,"constructor")&&u.constructor;return typeof x=="function"&&x instanceof x&&ss.call(x)==Yc}var Sg=Zn?Wt(Zn):Ws;function u3(s){return n0(s)&&s>=-9007199254740991&&s<=le}var s0=Pi?Wt(Pi):cc;function Nh(s){return typeof s=="string"||!Sr(s)&&Wn(s)&&Hn(s)==ht}function Xi(s){return typeof s=="symbol"||Wn(s)&&Hn(s)==dt}var Cd=oi?Wt(oi):Yi;function d3(s){return s===t}function f3(s){return Wn(s)&&Jo(s)==Ve}function h3(s){return Wn(s)&&Hn(s)==rt}var p3=Ei(li),g3=Ei(function(s,u){return s<=u});function a0(s){if(!s)return[];if(Ti(s))return Nh(s)?vn(s):bo(s);if(si&&s[si])return Vc(s[si]());var u=Jo(s),x=u==Me?Gc:u==bt?il:Sd;return x(s)}function Tl(s){if(!s)return s===0?s:0;if(s=Cs(s),s===oe||s===-1/0){var u=s<0?-1:1;return u*ge}return s===s?s:0}function Ir(s){var u=Tl(s),x=u%1;return u===u?x?u-x:u:0}function l0(s){return s?zs(Ir(s),0,ie):0}function Cs(s){if(typeof s=="number")return s;if(Xi(s))return te;if(Pn(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Pn(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Et(s);var x=Kt.test(s);return x||pr.test(s)?Ut(s.slice(2),x?2:8):Qt.test(s)?te:+s}function c0(s){return Xo(s,ki(s))}function m3(s){return s?zs(Ir(s),-9007199254740991,le):s===0?s:0}function an(s){return s==null?"":vo(s)}var v3=ja(function(s,u){if(Rf(u)||Ti(u)){Xo(u,Ro(u),s);return}for(var x in u)Vr.call(u,x)&&go(s,x,u[x])}),u0=ja(function(s,u){Xo(u,ki(u),s)}),Ph=ja(function(s,u,x,L){Xo(u,ki(u),s,L)}),y3=ja(function(s,u,x,L){Xo(u,Ro(u),s,L)}),b3=_l(su);function x3(s,u){var x=Vi(s);return u==null?x:nd(x,u)}var w3=xr(function(s,u){s=Yr(s);var x=-1,L=u.length,U=L>2?u[2]:t;for(U&&fi(u[0],u[1],U)&&(L=1);++x<L;)for(var re=u[x],ye=ki(re),Ce=-1,Oe=ye.length;++Ce<Oe;){var ut=ye[Ce],ft=s[ut];(ft===t||Ks(ft,is[ut])&&!Vr.call(s,ut))&&(s[ut]=re[ut])}return s}),C3=xr(function(s){return s.push(t,Tv),dn(d0,t,s)});function S3(s,u){return Ms(s,cr(u,3),Wo)}function _3(s,u){return Ms(s,cr(u,3),oc)}function A3(s,u){return s==null?s:du(s,cr(u,3),ki)}function E3(s,u){return s==null?s:sd(s,cr(u,3),ki)}function T3(s,u){return s&&Wo(s,cr(u,3))}function k3(s,u){return s&&oc(s,cr(u,3))}function R3(s){return s==null?[]:Ma(s,Ro(s))}function I3(s){return s==null?[]:Ma(s,ki(s))}function _g(s,u,x){var L=s==null?t:gs(s,u);return L===t?x:L}function M3(s,u){return s!=null&&Iv(s,u,ic)}function Ag(s,u){return s!=null&&Iv(s,u,La)}var L3=at(function(s,u,x){u!=null&&typeof u.toString!="function"&&(u=$i.call(u)),s[u]=x},Tg(Ri)),D3=at(function(s,u,x){u!=null&&typeof u.toString!="function"&&(u=$i.call(u)),Vr.call(s,u)?s[u].push(x):s[u]=[x]},cr),O3=xr(_i);function Ro(s){return Ti(s)?pl(s):Ki(s)}function ki(s){return Ti(s)?pl(s,!0):vl(s)}function N3(s,u){var x={};return u=cr(u,3),Wo(s,function(L,U,re){qo(x,u(L,U,re),L)}),x}function P3(s,u){var x={};return u=cr(u,3),Wo(s,function(L,U,re){qo(x,U,u(L,U,re))}),x}var B3=ja(function(s,u,x){ms(s,u,x)}),d0=ja(function(s,u,x,L){ms(s,u,x,L)}),j3=_l(function(s,u){var x={};if(s==null)return x;var L=!1;u=Qr(u,function(re){return re=Uo(re,s),L||(L=re.length>1),re}),Xo(s,ug(s),x),L&&(x=mo(x,m|g|v,LC));for(var U=u.length;U--;)yo(x,u[U]);return x});function F3(s,u){return f0(s,Dh(cr(u)))}var z3=_l(function(s,u){return s==null?{}:bl(s,u)});function f0(s,u){if(s==null)return{};var x=Qr(ug(s),function(L){return[L]});return u=cr(u),Ba(s,x,function(L,U){return u(L,U[0])})}function $3(s,u,x){u=Uo(u,s);var L=-1,U=u.length;for(U||(U=1,s=t);++L<U;){var re=s==null?t:s[za(u[L])];re===t&&(L=U,re=x),s=El(re)?re.call(s):re}return s}function H3(s,u,x){return s==null?s:Vs(s,u,x)}function q3(s,u,x,L){return L=typeof L=="function"?L:t,s==null?s:Vs(s,u,x,L)}var h0=xd(Ro),p0=xd(ki);function W3(s,u,x){var L=Sr(s),U=L||bc(s)||Cd(s);if(u=cr(u,4),x==null){var re=s&&s.constructor;U?x=L?new re:[]:Pn(s)?x=El(re)?Vi(Os(s)):{}:x={}}return(U?Yn:Wo)(s,function(ye,Ce,Oe){return u(x,ye,Ce,Oe)}),x}function U3(s,u){return s==null?!0:yo(s,u)}function V3(s,u,x){return s==null?s:pd(s,u,mc(x))}function G3(s,u,x,L){return L=typeof L=="function"?L:t,s==null?s:pd(s,u,mc(x),L)}function Sd(s){return s==null?[]:mr(s,Ro(s))}function Z3(s){return s==null?[]:mr(s,ki(s))}function Y3(s,u,x){return x===t&&(x=u,u=t),x!==t&&(x=Cs(x),x=x===x?x:0),u!==t&&(u=Cs(u),u=u===u?u:0),zs(Cs(s),u,x)}function K3(s,u,x){return u=Tl(u),x===t?(x=u,u=0):x=Tl(x),s=Cs(s),sc(s,u,x)}function X3(s,u,x){if(x&&typeof x!="boolean"&&fi(s,u,x)&&(u=x=t),x===t&&(typeof u=="boolean"?(x=u,u=t):typeof s=="boolean"&&(x=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Tl(s),u===t?(u=s,s=0):u=Tl(u)),s>u){var L=s;s=u,u=L}if(x||s%1||u%1){var U=cs();return Nn(s+U*(u-s+Jt("1e-"+((U+"").length-1))),u)}return Us(s,u)}var J3=T(function(s,u,x){return u=u.toLowerCase(),s+(x?g0(u):u)});function g0(s){return Eg(an(s).toLowerCase())}function m0(s){return s=an(s),s&&s.replace(ur,Fo).replace(yi,"")}function Q3(s,u,x){s=an(s),u=vo(u);var L=s.length;x=x===t?L:zs(Ir(x),0,L);var U=x;return x-=u.length,x>=0&&s.slice(x,U)==u}function eA(s){return s=an(s),s&&Ot.test(s)?s.replace(_t,ya):s}function tA(s){return s=an(s),s&&kt.test(s)?s.replace(At,"\\$&"):s}var rA=T(function(s,u,x){return s+(x?"-":"")+u.toLowerCase()}),nA=T(function(s,u,x){return s+(x?" ":"")+u.toLowerCase()}),oA=y("toLowerCase");function iA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;if(!u||L>=u)return s;var U=(u-L)/2;return sr(Ns(U),x)+s+sr(_a(U),x)}function sA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;return u&&L<u?s+sr(u-L,x):s}function aA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;return u&&L<u?sr(u-L,x)+s:s}function lA(s,u,x){return x||u==null?u=0:u&&(u=+u),Jc(an(s).replace(Lt,""),u||0)}function cA(s,u,x){return(x?fi(s,u,x):u===t)?u=1:u=Ir(u),fc(an(s),u)}function uA(){var s=arguments,u=an(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var dA=T(function(s,u,x){return s+(x?"_":"")+u.toLowerCase()});function fA(s,u,x){return x&&typeof x!="number"&&fi(s,u,x)&&(u=x=t),x=x===t?ie:x>>>0,x?(s=an(s),s&&(typeof u=="string"||u!=null&&!Sg(u))&&(u=vo(u),!u&&ba(s))?ys(vn(s),0,x):s.split(u,x)):[]}var hA=T(function(s,u,x){return s+(x?" ":"")+Eg(u)});function pA(s,u,x){return s=an(s),x=x==null?0:zs(Ir(x),0,s.length),u=vo(u),s.slice(x,x+u.length)==u}function gA(s,u,x){var L=Y.templateSettings;x&&fi(s,u,x)&&(u=t),s=an(s),u=Ph({},u,L,Ev);var U=Ph({},u.imports,L.imports,Ev),re=Ro(U),ye=mr(U,re),Ce,Oe,ut=0,ft=u.interpolate||Rn,Ct="__p += '",Bt=wa((u.escape||Rn).source+"|"+ft.source+"|"+(ft===nr?It:Rn).source+"|"+(u.evaluate||Rn).source+"|$","g"),er="//# sourceURL="+(Vr.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pr+"]")+`
|
40
|
+
`)}function $C(s){return Sr(s)||_u(s)||!!(Kl&&s&&s[Kl])}function Al(s,u){var x=typeof s;return u=u??le,!!u&&(x=="number"||x!="symbol"&&Tr.test(s))&&s>-1&&s%1==0&&s<u}function fi(s,u,x){if(!Pn(x))return!1;var L=typeof u;return(L=="number"?Ti(x)&&Al(u,x.length):L=="string"&&u in x)?Ks(x[u],s):!1}function pg(s,u){if(Sr(s))return!1;var x=typeof s;return x=="number"||x=="symbol"||x=="boolean"||s==null||Xi(s)?!0:it.test(s)||!tr.test(s)||u!=null&&s in Yr(u)}function HC(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function gg(s){var u=Eh(s),x=Y[u];if(typeof x!="function"||!(u in Cr.prototype))return!1;if(s===x)return!0;var L=dg(x);return!!L&&s===L[0]}function qC(s){return!!sn&&sn in s}var WC=en?El:Lg;function Rf(s){var u=s&&s.constructor,x=typeof u=="function"&&u.prototype||is;return s===x}function Lv(s){return s===s&&!Pn(s)}function Dv(s,u){return function(x){return x==null?!1:x[s]===u&&(u!==t||s in Yr(x))}}function UC(s){var u=Lh(s,function(L){return x.size===h&&x.clear(),L}),x=u.cache;return u}function VC(s,u){var x=s[1],L=u[1],U=x|L,re=U<(_|A|W),ye=L==W&&x==D||L==W&&x==F&&s[7].length<=u[8]||L==(W|F)&&u[7].length<=u[8]&&x==D;if(!(re||ye))return s;L&_&&(s[2]=u[2],U|=x&_?0:k);var Ce=u[3];if(Ce){var Oe=s[3];s[3]=Oe?wu(Oe,Ce,u[4]):Ce,s[4]=Oe?Fi(s[3],p):u[4]}return Ce=u[5],Ce&&(Oe=s[5],s[5]=Oe?yd(Oe,Ce,u[6]):Ce,s[6]=Oe?Fi(s[5],p):u[6]),Ce=u[7],Ce&&(s[7]=Ce),L&W&&(s[8]=s[8]==null?u[8]:Nn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=U,s}function GC(s){var u=[];if(s!=null)for(var x in Yr(s))u.push(x);return u}function ZC(s){return $i.call(s)}function Ov(s,u,x){return u=fn(u===t?s.length-1:u,0),function(){for(var L=arguments,U=-1,re=fn(L.length-u,0),ye=Ye(re);++U<re;)ye[U]=L[u+U];U=-1;for(var Ce=Ye(u+1);++U<u;)Ce[U]=L[U];return Ce[u]=x(ye),dn(s,this,Ce)}}function Nv(s,u){return u.length<2?s:gs(s,ko(u,0,-1))}function YC(s,u){for(var x=s.length,L=Nn(u.length,x),U=bo(s);L--;){var re=u[L];s[L]=Al(re,x)?U[re]:t}return s}function mg(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var Pv=jv(hc),If=Xu||function(s,u){return gr.setTimeout(s,u)},vg=jv(ud);function Bv(s,u,x){var L=u+"";return vg(s,zC(L,KC(BC(L),x)))}function jv(s){var u=0,x=0;return function(){var L=ls(),U=V-(L-x);if(x=L,U>0){if(++u>=q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function kh(s,u){var x=-1,L=s.length,U=L-1;for(u=u===t?L:u;++x<u;){var re=Us(x,U),ye=s[re];s[re]=s[x],s[x]=ye}return s.length=u,s}var Fv=UC(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(lt,function(x,L,U,re){u.push(U?re.replace(ct,"$1"):L||x)}),u});function za(s){if(typeof s=="string"||Xi(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function Su(s){if(s!=null){try{return ss.call(s)}catch{}try{return s+""}catch{}}return""}function KC(s,u){return Yn(ke,function(x){var L="_."+x[0];u&x[1]&&!Bi(s,L)&&s.push(L)}),s.sort()}function zv(s){if(s instanceof Cr)return s.clone();var u=new lo(s.__wrapped__,s.__chain__);return u.__actions__=bo(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function XC(s,u,x){(x?fi(s,u,x):u===t)?u=1:u=fn(Ir(u),0);var L=s==null?0:s.length;if(!L||u<1)return[];for(var U=0,re=0,ye=Ye(_a(L/u));U<L;)ye[re++]=ko(s,U,U+=u);return ye}function JC(s){for(var u=-1,x=s==null?0:s.length,L=0,U=[];++u<x;){var re=s[u];re&&(U[L++]=re)}return U}function QC(){var s=arguments.length;if(!s)return[];for(var u=Ye(s-1),x=arguments[0],L=s;L--;)u[L-1]=arguments[L];return Bo(Sr(x)?bo(x):[x],Xn(u,1))}var eS=wr(function(s,u){return Qn(s)?$s(s,Xn(u,1,Qn,!0)):[]}),tS=wr(function(s,u){var x=ws(u);return Qn(x)&&(x=t),Qn(s)?$s(s,Xn(u,1,Qn,!0),cr(x,2)):[]}),rS=wr(function(s,u){var x=ws(u);return Qn(x)&&(x=t),Qn(s)?$s(s,Xn(u,1,Qn,!0),t,x):[]});function nS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),ko(s,u<0?0:u,L)):[]}function oS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),u=L-u,ko(s,0,u<0?0:u)):[]}function iS(s,u){return s&&s.length?Gs(s,cr(u,3),!0,!0):[]}function sS(s,u){return s&&s.length?Gs(s,cr(u,3),!0):[]}function aS(s,u,x,L){var U=s==null?0:s.length;return U?(x&&typeof x!="number"&&fi(s,u,x)&&(x=0,L=U),Ef(s,u,x,L)):[]}function $v(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=x==null?0:Ir(x);return U<0&&(U=fn(L+U,0)),Ls(s,cr(u,3),U)}function Hv(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=L-1;return x!==t&&(U=Ir(x),U=x<0?fn(L+U,0):Nn(U,L-1)),Ls(s,cr(u,3),U,!0)}function qv(s){var u=s==null?0:s.length;return u?Xn(s,1):[]}function lS(s){var u=s==null?0:s.length;return u?Xn(s,oe):[]}function cS(s,u){var x=s==null?0:s.length;return x?(u=u===t?1:Ir(u),Xn(s,u)):[]}function uS(s){for(var u=-1,x=s==null?0:s.length,L={};++u<x;){var U=s[u];L[U[0]]=U[1]}return L}function Wv(s){return s&&s.length?s[0]:t}function dS(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=x==null?0:Ir(x);return U<0&&(U=fn(L+U,0)),ji(s,u,U)}function fS(s){var u=s==null?0:s.length;return u?ko(s,0,-1):[]}var hS=wr(function(s){var u=Qr(s,gc);return u.length&&u[0]===s[0]?Da(u):[]}),pS=wr(function(s){var u=ws(s),x=Qr(s,gc);return u===ws(x)?u=t:x.pop(),x.length&&x[0]===s[0]?Da(x,cr(u,2)):[]}),gS=wr(function(s){var u=ws(s),x=Qr(s,gc);return u=typeof u=="function"?u:t,u&&x.pop(),x.length&&x[0]===s[0]?Da(x,t,u):[]});function mS(s,u){return s==null?"":cl.call(s,u)}function ws(s){var u=s==null?0:s.length;return u?s[u-1]:t}function vS(s,u,x){var L=s==null?0:s.length;if(!L)return-1;var U=L;return x!==t&&(U=Ir(x),U=U<0?fn(L+U,0):Nn(U,L-1)),u===u?gf(s,u,U):Ls(s,va,U,!0)}function yS(s,u){return s&&s.length?Pa(s,Ir(u)):t}var bS=wr(Uv);function Uv(s,u){return s&&s.length&&u&&u.length?hu(s,u):s}function xS(s,u,x){return s&&s.length&&u&&u.length?hu(s,u,cr(x,2)):s}function wS(s,u,x){return s&&s.length&&u&&u.length?hu(s,u,t,x):s}var CS=_l(function(s,u){var x=s==null?0:s.length,L=su(s,u);return pu(s,Qr(u,function(U){return Al(U,x)?+U:U}).sort(xu)),L});function SS(s,u){var x=[];if(!(s&&s.length))return x;var L=-1,U=[],re=s.length;for(u=cr(u,3);++L<re;){var ye=s[L];u(ye,L,s)&&(x.push(ye),U.push(L))}return pu(s,U),x}function yg(s){return s==null?s:Jl.call(s)}function _S(s,u,x){var L=s==null?0:s.length;return L?(x&&typeof x!="number"&&fi(s,u,x)?(u=0,x=L):(u=u==null?0:Ir(u),x=x===t?L:Ir(x)),ko(s,u,x)):[]}function AS(s,u){return pc(s,u)}function ES(s,u,x){return vu(s,u,cr(x,2))}function TS(s,u){var x=s==null?0:s.length;if(x){var L=pc(s,u);if(L<x&&Ks(s[L],u))return L}return-1}function kS(s,u){return pc(s,u,!0)}function RS(s,u,x){return vu(s,u,cr(x,2),!0)}function IS(s,u){var x=s==null?0:s.length;if(x){var L=pc(s,u,!0)-1;if(Ks(s[L],u))return L}return-1}function MS(s){return s&&s.length?yu(s):[]}function LS(s,u){return s&&s.length?yu(s,cr(u,2)):[]}function DS(s){var u=s==null?0:s.length;return u?ko(s,1,u):[]}function OS(s,u,x){return s&&s.length?(u=x||u===t?1:Ir(u),ko(s,0,u<0?0:u)):[]}function NS(s,u,x){var L=s==null?0:s.length;return L?(u=x||u===t?1:Ir(u),u=L-u,ko(s,u<0?0:u,L)):[]}function PS(s,u){return s&&s.length?Gs(s,cr(u,3),!1,!0):[]}function BS(s,u){return s&&s.length?Gs(s,cr(u,3)):[]}var jS=wr(function(s){return vs(Xn(s,1,Qn,!0))}),FS=wr(function(s){var u=ws(s);return Qn(u)&&(u=t),vs(Xn(s,1,Qn,!0),cr(u,2))}),zS=wr(function(s){var u=ws(s);return u=typeof u=="function"?u:t,vs(Xn(s,1,Qn,!0),t,u)});function $S(s){return s&&s.length?vs(s):[]}function HS(s,u){return s&&s.length?vs(s,cr(u,2)):[]}function qS(s,u){return u=typeof u=="function"?u:t,s&&s.length?vs(s,t,u):[]}function bg(s){if(!(s&&s.length))return[];var u=0;return s=ii(s,function(x){if(Qn(x))return u=fn(x.length,u),!0}),Be(u,function(x){return Qr(s,M(x))})}function Vv(s,u){if(!(s&&s.length))return[];var x=bg(s);return u==null?x:Qr(x,function(L){return dn(u,t,L)})}var WS=wr(function(s,u){return Qn(s)?$s(s,u):[]}),US=wr(function(s){return Jn(ii(s,Qn))}),VS=wr(function(s){var u=ws(s);return Qn(u)&&(u=t),Jn(ii(s,Qn),cr(u,2))}),GS=wr(function(s){var u=ws(s);return u=typeof u=="function"?u:t,Jn(ii(s,Qn),t,u)}),ZS=wr(bg);function YS(s,u){return md(s||[],u||[],go)}function KS(s,u){return md(s||[],u||[],Vs)}var XS=wr(function(s){var u=s.length,x=u>1?s[u-1]:t;return x=typeof x=="function"?(s.pop(),x):t,Vv(s,x)});function Gv(s){var u=Y(s);return u.__chain__=!0,u}function JS(s,u){return u(s),s}function Rh(s,u){return u(s)}var QS=_l(function(s){var u=s.length,x=u?s[0]:0,L=this.__wrapped__,U=function(re){return su(re,s)};return u>1||this.__actions__.length||!(L instanceof Cr)||!Al(x)?this.thru(U):(L=L.slice(x,+x+(u?1:0)),L.__actions__.push({func:Rh,args:[U],thisArg:t}),new lo(L,this.__chain__).thru(function(re){return u&&!re.length&&re.push(t),re}))});function e_(){return Gv(this)}function t_(){return new lo(this.value(),this.__chain__)}function r_(){this.__values__===t&&(this.__values__=a0(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function n_(){return this}function o_(s){for(var u,x=this;x instanceof Gi;){var L=zv(x);L.__index__=0,L.__values__=t,u?U.__wrapped__=L:u=L;var U=L;x=x.__wrapped__}return U.__wrapped__=s,u}function i_(){var s=this.__wrapped__;if(s instanceof Cr){var u=s;return this.__actions__.length&&(u=new Cr(this)),u=u.reverse(),u.__actions__.push({func:Rh,args:[yg],thisArg:t}),new lo(u,this.__chain__)}return this.thru(yg)}function s_(){return gd(this.__wrapped__,this.__actions__)}var a_=Sl(function(s,u,x){Vr.call(s,x)?++s[x]:qo(s,x,1)});function l_(s,u,x){var L=Sr(s)?rl:od;return x&&fi(s,u,x)&&(u=t),L(s,cr(u,3))}function c_(s,u){var x=Sr(s)?ii:id;return x(s,cr(u,3))}var u_=K($v),d_=K(Hv);function f_(s,u){return Xn(Ih(s,u),1)}function h_(s,u){return Xn(Ih(s,u),oe)}function p_(s,u,x){return x=x===t?1:Ir(x),Xn(Ih(s,u),x)}function Zv(s,u){var x=Sr(s)?Yn:ps;return x(s,cr(u,3))}function Yv(s,u){var x=Sr(s)?zl:uu;return x(s,cr(u,3))}var g_=Sl(function(s,u,x){Vr.call(s,x)?s[x].push(u):qo(s,x,[u])});function m_(s,u,x,L){s=Ti(s)?s:Sd(s),x=x&&!L?Ir(x):0;var U=s.length;return x<0&&(x=fn(U+x,0)),Nh(s)?x<=U&&s.indexOf(u,x)>-1:!!U&&ji(s,u,x)>-1}var v_=wr(function(s,u,x){var L=-1,U=typeof u=="function",re=Ti(s)?Ye(s.length):[];return ps(s,function(ye){re[++L]=U?dn(u,ye,x):_i(ye,u,x)}),re}),y_=Sl(function(s,u,x){qo(s,x,u)});function Ih(s,u){var x=Sr(s)?Qr:ci;return x(s,cr(u,3))}function b_(s,u,x,L){return s==null?[]:(Sr(u)||(u=u==null?[]:[u]),x=L?t:x,Sr(x)||(x=x==null?[]:[x]),dc(s,u,x))}var x_=Sl(function(s,u,x){s[x?0:1].push(u)},function(){return[[],[]]});function w_(s,u,x){var L=Sr(s)?nl:Z,U=arguments.length<3;return L(s,cr(u,4),x,U,ps)}function C_(s,u,x){var L=Sr(s)?$l:Z,U=arguments.length<3;return L(s,cr(u,4),x,U,uu)}function S_(s,u){var x=Sr(s)?ii:id;return x(s,Dh(cr(u,3)))}function __(s){var u=Sr(s)?To:xl;return u(s)}function A_(s,u,x){(x?fi(s,u,x):u===t)?u=1:u=Ir(u);var L=Sr(s)?Ho:mu;return L(s,u)}function E_(s){var u=Sr(s)?Si:dd;return u(s)}function T_(s){if(s==null)return 0;if(Ti(s))return Nh(s)?xa(s):s.length;var u=Jo(s);return u==Me||u==bt?s.size:Ki(s).length}function k_(s,u,x){var L=Sr(s)?os:fd;return x&&fi(s,u,x)&&(u=t),L(s,cr(u,3))}var R_=wr(function(s,u){if(s==null)return[];var x=u.length;return x>1&&fi(s,u[0],u[1])?u=[]:x>2&&fi(u[0],u[1],u[2])&&(u=[u[0]]),dc(s,Xn(u,1),[])}),Mh=ll||function(){return gr.Date.now()};function I_(s,u){if(typeof u!="function")throw new Ko(a);return s=Ir(s),function(){if(--s<1)return u.apply(this,arguments)}}function Kv(s,u,x){return u=x?t:u,u=s&&u==null?s.length:u,Ys(s,W,t,t,t,t,u)}function Xv(s,u){var x;if(typeof u!="function")throw new Ko(a);return s=Ir(s),function(){return--s>0&&(x=u.apply(this,arguments)),s<=1&&(u=t),x}}var xg=wr(function(s,u,x){var L=_;if(x.length){var U=Fi(x,wd(xg));L|=P}return Ys(s,L,u,x,U)}),Jv=wr(function(s,u,x){var L=_|A;if(x.length){var U=Fi(x,wd(Jv));L|=P}return Ys(u,L,s,x,U)});function Qv(s,u,x){u=x?t:u;var L=Ys(s,D,t,t,t,t,t,u);return L.placeholder=Qv.placeholder,L}function e0(s,u,x){u=x?t:u;var L=Ys(s,I,t,t,t,t,t,u);return L.placeholder=e0.placeholder,L}function t0(s,u,x){var L,U,re,ye,Ce,Oe,ut=0,ft=!1,Ct=!1,Bt=!0;if(typeof s!="function")throw new Ko(a);u=Cs(u)||0,Pn(x)&&(ft=!!x.leading,Ct="maxWait"in x,re=Ct?fn(Cs(x.maxWait)||0,u):re,Bt="trailing"in x?!!x.trailing:Bt);function er(eo){var Xs=L,kl=U;return L=U=t,ut=eo,ye=s.apply(kl,Xs),ye}function dr(eo){return ut=eo,Ce=If(zr,u),ft?er(eo):ye}function Dr(eo){var Xs=eo-Oe,kl=eo-ut,x0=u-Xs;return Ct?Nn(x0,re-kl):x0}function fr(eo){var Xs=eo-Oe,kl=eo-ut;return Oe===t||Xs>=u||Xs<0||Ct&&kl>=re}function zr(){var eo=Mh();if(fr(eo))return qr(eo);Ce=If(zr,Dr(eo))}function qr(eo){return Ce=t,Bt&&L?er(eo):(L=U=t,ye)}function Ji(){Ce!==t&&vc(Ce),ut=0,L=Oe=U=Ce=t}function hi(){return Ce===t?ye:qr(Mh())}function Qi(){var eo=Mh(),Xs=fr(eo);if(L=arguments,U=this,Oe=eo,Xs){if(Ce===t)return dr(Oe);if(Ct)return vc(Ce),Ce=If(zr,u),er(Oe)}return Ce===t&&(Ce=If(zr,u)),ye}return Qi.cancel=Ji,Qi.flush=hi,Qi}var M_=wr(function(s,u){return cu(s,1,u)}),L_=wr(function(s,u,x){return cu(s,Cs(u)||0,x)});function D_(s){return Ys(s,G)}function Lh(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Ko(a);var x=function(){var L=arguments,U=u?u.apply(this,L):L[0],re=x.cache;if(re.has(U))return re.get(U);var ye=s.apply(this,L);return x.cache=re.set(U,ye)||re,ye};return x.cache=new(Lh.Cache||Zi),x}Lh.Cache=Zi;function Dh(s){if(typeof s!="function")throw new Ko(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function O_(s){return Xv(2,s)}var N_=vd(function(s,u){u=u.length==1&&Sr(u[0])?Qr(u[0],Wt(cr())):Qr(Xn(u,1),Wt(cr()));var x=u.length;return wr(function(L){for(var U=-1,re=Nn(L.length,x);++U<re;)L[U]=u[U].call(this,L[U]);return dn(s,this,L)})}),wg=wr(function(s,u){var x=Fi(u,wd(wg));return Ys(s,P,t,u,x)}),r0=wr(function(s,u){var x=Fi(u,wd(r0));return Ys(s,j,t,u,x)}),P_=_l(function(s,u){return Ys(s,F,t,t,t,u)});function B_(s,u){if(typeof s!="function")throw new Ko(a);return u=u===t?u:Ir(u),wr(s,u)}function j_(s,u){if(typeof s!="function")throw new Ko(a);return u=u==null?0:fn(Ir(u),0),wr(function(x){var L=x[u],U=ys(x,0,u);return L&&Bo(U,L),dn(s,this,U)})}function F_(s,u,x){var L=!0,U=!0;if(typeof s!="function")throw new Ko(a);return Pn(x)&&(L="leading"in x?!!x.leading:L,U="trailing"in x?!!x.trailing:U),t0(s,u,{leading:L,maxWait:u,trailing:U})}function z_(s){return Kv(s,1)}function $_(s,u){return wg(mc(u),s)}function H_(){if(!arguments.length)return[];var s=arguments[0];return Sr(s)?s:[s]}function q_(s){return mo(s,v)}function W_(s,u){return u=typeof u=="function"?u:t,mo(s,v,u)}function U_(s){return mo(s,m|v)}function V_(s,u){return u=typeof u=="function"?u:t,mo(s,m|v,u)}function G_(s,u){return u==null||lu(s,u,Ro(u))}function Ks(s,u){return s===u||s!==s&&u!==u}var Z_=Ei(Hs),Y_=Ei(function(s,u){return s>=u}),_u=lc(function(){return arguments}())?lc:function(s){return Wn(s)&&Vr.call(s,"callee")&&!Yl.call(s,"callee")},Sr=Ye.isArray,K_=on?Wt(on):qs;function Ti(s){return s!=null&&Oh(s.length)&&!El(s)}function Qn(s){return Wn(s)&&Ti(s)}function X_(s){return s===!0||s===!1||Wn(s)&&Hn(s)==Ge}var bc=Xl||Lg,J_=ho?Wt(ho):ad;function Q_(s){return Wn(s)&&s.nodeType===1&&!Mf(s)}function e3(s){if(s==null)return!0;if(Ti(s)&&(Sr(s)||typeof s=="string"||typeof s.splice=="function"||bc(s)||Cd(s)||_u(s)))return!s.length;var u=Jo(s);if(u==Me||u==bt)return!s.size;if(Rf(s))return!Ki(s).length;for(var x in s)if(Vr.call(s,x))return!1;return!0}function t3(s,u){return ml(s,u)}function r3(s,u,x){x=typeof x=="function"?x:t;var L=x?x(s,u):t;return L===t?ml(s,u,t,x):!!L}function Cg(s){if(!Wn(s))return!1;var u=Hn(s);return u==Se||u==we||typeof s.message=="string"&&typeof s.name=="string"&&!Mf(s)}function n3(s){return typeof s=="number"&&Ea(s)}function El(s){if(!Pn(s))return!1;var u=Hn(s);return u==_e||u==Re||u==De||u==ze}function n0(s){return typeof s=="number"&&s==Ir(s)}function Oh(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=le}function Pn(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Wn(s){return s!=null&&typeof s=="object"}var o0=Eo?Wt(Eo):Na;function o3(s,u){return s===u||fu(s,u,fg(u))}function i3(s,u,x){return x=typeof x=="function"?x:t,fu(s,u,fg(u),x)}function s3(s){return i0(s)&&s!=+s}function a3(s){if(WC(s))throw new ar(i);return ld(s)}function l3(s){return s===null}function c3(s){return s==null}function i0(s){return typeof s=="number"||Wn(s)&&Hn(s)==tt}function Mf(s){if(!Wn(s)||Hn(s)!=et)return!1;var u=Os(s);if(u===null)return!0;var x=Vr.call(u,"constructor")&&u.constructor;return typeof x=="function"&&x instanceof x&&ss.call(x)==Yc}var Sg=Zn?Wt(Zn):Ws;function u3(s){return n0(s)&&s>=-9007199254740991&&s<=le}var s0=Pi?Wt(Pi):cc;function Nh(s){return typeof s=="string"||!Sr(s)&&Wn(s)&&Hn(s)==ht}function Xi(s){return typeof s=="symbol"||Wn(s)&&Hn(s)==dt}var Cd=oi?Wt(oi):Yi;function d3(s){return s===t}function f3(s){return Wn(s)&&Jo(s)==Ve}function h3(s){return Wn(s)&&Hn(s)==rt}var p3=Ei(li),g3=Ei(function(s,u){return s<=u});function a0(s){if(!s)return[];if(Ti(s))return Nh(s)?vn(s):bo(s);if(si&&s[si])return Vc(s[si]());var u=Jo(s),x=u==Me?Gc:u==bt?il:Sd;return x(s)}function Tl(s){if(!s)return s===0?s:0;if(s=Cs(s),s===oe||s===-1/0){var u=s<0?-1:1;return u*ge}return s===s?s:0}function Ir(s){var u=Tl(s),x=u%1;return u===u?x?u-x:u:0}function l0(s){return s?zs(Ir(s),0,ie):0}function Cs(s){if(typeof s=="number")return s;if(Xi(s))return te;if(Pn(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Pn(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Et(s);var x=Kt.test(s);return x||pr.test(s)?Ut(s.slice(2),x?2:8):Qt.test(s)?te:+s}function c0(s){return Xo(s,ki(s))}function m3(s){return s?zs(Ir(s),-9007199254740991,le):s===0?s:0}function an(s){return s==null?"":vo(s)}var v3=ja(function(s,u){if(Rf(u)||Ti(u)){Xo(u,Ro(u),s);return}for(var x in u)Vr.call(u,x)&&go(s,x,u[x])}),u0=ja(function(s,u){Xo(u,ki(u),s)}),Ph=ja(function(s,u,x,L){Xo(u,ki(u),s,L)}),y3=ja(function(s,u,x,L){Xo(u,Ro(u),s,L)}),b3=_l(su);function x3(s,u){var x=Vi(s);return u==null?x:nd(x,u)}var w3=wr(function(s,u){s=Yr(s);var x=-1,L=u.length,U=L>2?u[2]:t;for(U&&fi(u[0],u[1],U)&&(L=1);++x<L;)for(var re=u[x],ye=ki(re),Ce=-1,Oe=ye.length;++Ce<Oe;){var ut=ye[Ce],ft=s[ut];(ft===t||Ks(ft,is[ut])&&!Vr.call(s,ut))&&(s[ut]=re[ut])}return s}),C3=wr(function(s){return s.push(t,Tv),dn(d0,t,s)});function S3(s,u){return Ms(s,cr(u,3),Wo)}function _3(s,u){return Ms(s,cr(u,3),oc)}function A3(s,u){return s==null?s:du(s,cr(u,3),ki)}function E3(s,u){return s==null?s:sd(s,cr(u,3),ki)}function T3(s,u){return s&&Wo(s,cr(u,3))}function k3(s,u){return s&&oc(s,cr(u,3))}function R3(s){return s==null?[]:Ma(s,Ro(s))}function I3(s){return s==null?[]:Ma(s,ki(s))}function _g(s,u,x){var L=s==null?t:gs(s,u);return L===t?x:L}function M3(s,u){return s!=null&&Iv(s,u,ic)}function Ag(s,u){return s!=null&&Iv(s,u,La)}var L3=at(function(s,u,x){u!=null&&typeof u.toString!="function"&&(u=$i.call(u)),s[u]=x},Tg(Ri)),D3=at(function(s,u,x){u!=null&&typeof u.toString!="function"&&(u=$i.call(u)),Vr.call(s,u)?s[u].push(x):s[u]=[x]},cr),O3=wr(_i);function Ro(s){return Ti(s)?pl(s):Ki(s)}function ki(s){return Ti(s)?pl(s,!0):vl(s)}function N3(s,u){var x={};return u=cr(u,3),Wo(s,function(L,U,re){qo(x,u(L,U,re),L)}),x}function P3(s,u){var x={};return u=cr(u,3),Wo(s,function(L,U,re){qo(x,U,u(L,U,re))}),x}var B3=ja(function(s,u,x){ms(s,u,x)}),d0=ja(function(s,u,x,L){ms(s,u,x,L)}),j3=_l(function(s,u){var x={};if(s==null)return x;var L=!1;u=Qr(u,function(re){return re=Uo(re,s),L||(L=re.length>1),re}),Xo(s,ug(s),x),L&&(x=mo(x,m|g|v,LC));for(var U=u.length;U--;)yo(x,u[U]);return x});function F3(s,u){return f0(s,Dh(cr(u)))}var z3=_l(function(s,u){return s==null?{}:bl(s,u)});function f0(s,u){if(s==null)return{};var x=Qr(ug(s),function(L){return[L]});return u=cr(u),Ba(s,x,function(L,U){return u(L,U[0])})}function $3(s,u,x){u=Uo(u,s);var L=-1,U=u.length;for(U||(U=1,s=t);++L<U;){var re=s==null?t:s[za(u[L])];re===t&&(L=U,re=x),s=El(re)?re.call(s):re}return s}function H3(s,u,x){return s==null?s:Vs(s,u,x)}function q3(s,u,x,L){return L=typeof L=="function"?L:t,s==null?s:Vs(s,u,x,L)}var h0=xd(Ro),p0=xd(ki);function W3(s,u,x){var L=Sr(s),U=L||bc(s)||Cd(s);if(u=cr(u,4),x==null){var re=s&&s.constructor;U?x=L?new re:[]:Pn(s)?x=El(re)?Vi(Os(s)):{}:x={}}return(U?Yn:Wo)(s,function(ye,Ce,Oe){return u(x,ye,Ce,Oe)}),x}function U3(s,u){return s==null?!0:yo(s,u)}function V3(s,u,x){return s==null?s:pd(s,u,mc(x))}function G3(s,u,x,L){return L=typeof L=="function"?L:t,s==null?s:pd(s,u,mc(x),L)}function Sd(s){return s==null?[]:mr(s,Ro(s))}function Z3(s){return s==null?[]:mr(s,ki(s))}function Y3(s,u,x){return x===t&&(x=u,u=t),x!==t&&(x=Cs(x),x=x===x?x:0),u!==t&&(u=Cs(u),u=u===u?u:0),zs(Cs(s),u,x)}function K3(s,u,x){return u=Tl(u),x===t?(x=u,u=0):x=Tl(x),s=Cs(s),sc(s,u,x)}function X3(s,u,x){if(x&&typeof x!="boolean"&&fi(s,u,x)&&(u=x=t),x===t&&(typeof u=="boolean"?(x=u,u=t):typeof s=="boolean"&&(x=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Tl(s),u===t?(u=s,s=0):u=Tl(u)),s>u){var L=s;s=u,u=L}if(x||s%1||u%1){var U=cs();return Nn(s+U*(u-s+Jt("1e-"+((U+"").length-1))),u)}return Us(s,u)}var J3=T(function(s,u,x){return u=u.toLowerCase(),s+(x?g0(u):u)});function g0(s){return Eg(an(s).toLowerCase())}function m0(s){return s=an(s),s&&s.replace(ur,Fo).replace(yi,"")}function Q3(s,u,x){s=an(s),u=vo(u);var L=s.length;x=x===t?L:zs(Ir(x),0,L);var U=x;return x-=u.length,x>=0&&s.slice(x,U)==u}function eA(s){return s=an(s),s&&Ot.test(s)?s.replace(_t,ya):s}function tA(s){return s=an(s),s&&kt.test(s)?s.replace(At,"\\$&"):s}var rA=T(function(s,u,x){return s+(x?"-":"")+u.toLowerCase()}),nA=T(function(s,u,x){return s+(x?" ":"")+u.toLowerCase()}),oA=y("toLowerCase");function iA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;if(!u||L>=u)return s;var U=(u-L)/2;return sr(Ns(U),x)+s+sr(_a(U),x)}function sA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;return u&&L<u?s+sr(u-L,x):s}function aA(s,u,x){s=an(s),u=Ir(u);var L=u?xa(s):0;return u&&L<u?sr(u-L,x)+s:s}function lA(s,u,x){return x||u==null?u=0:u&&(u=+u),Jc(an(s).replace(Lt,""),u||0)}function cA(s,u,x){return(x?fi(s,u,x):u===t)?u=1:u=Ir(u),fc(an(s),u)}function uA(){var s=arguments,u=an(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var dA=T(function(s,u,x){return s+(x?"_":"")+u.toLowerCase()});function fA(s,u,x){return x&&typeof x!="number"&&fi(s,u,x)&&(u=x=t),x=x===t?ie:x>>>0,x?(s=an(s),s&&(typeof u=="string"||u!=null&&!Sg(u))&&(u=vo(u),!u&&ba(s))?ys(vn(s),0,x):s.split(u,x)):[]}var hA=T(function(s,u,x){return s+(x?" ":"")+Eg(u)});function pA(s,u,x){return s=an(s),x=x==null?0:zs(Ir(x),0,s.length),u=vo(u),s.slice(x,x+u.length)==u}function gA(s,u,x){var L=Y.templateSettings;x&&fi(s,u,x)&&(u=t),s=an(s),u=Ph({},u,L,Ev);var U=Ph({},u.imports,L.imports,Ev),re=Ro(U),ye=mr(U,re),Ce,Oe,ut=0,ft=u.interpolate||Rn,Ct="__p += '",Bt=wa((u.escape||Rn).source+"|"+ft.source+"|"+(ft===nr?It:Rn).source+"|"+(u.evaluate||Rn).source+"|$","g"),er="//# sourceURL="+(Vr.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pr+"]")+`
|
41
41
|
`;s.replace(Bt,function(fr,zr,qr,Ji,hi,Qi){return qr||(qr=Ji),Ct+=s.slice(ut,Qi).replace(Fn,Ul),zr&&(Ce=!0,Ct+=`' +
|
42
42
|
__e(`+zr+`) +
|
43
43
|
'`),hi&&(Oe=!0,Ct+=`';
|
@@ -54,7 +54,7 @@ __p += '`),qr&&(Ct+=`' +
|
|
54
54
|
function print() { __p += __j.call(arguments, '') }
|
55
55
|
`:`;
|
56
56
|
`)+Ct+`return __p
|
57
|
-
}`;var Dr=y0(function(){return jr(re,er+"return "+Ct).apply(t,ye)});if(Dr.source=Ct,Cg(Dr))throw Dr;return Dr}function mA(s){return an(s).toLowerCase()}function vA(s){return an(s).toUpperCase()}function yA(s,u,x){if(s=an(s),s&&(x||u===t))return Et(s);if(!s||!(u=vo(u)))return s;var L=vn(s),U=vn(u),re=Xr(L,U),ye=ao(L,U)+1;return ys(L,re,ye).join("")}function bA(s,u,x){if(s=an(s),s&&(x||u===t))return s.slice(0,Gu(s)+1);if(!s||!(u=vo(u)))return s;var L=vn(s),U=ao(L,vn(u))+1;return ys(L,0,U).join("")}function xA(s,u,x){if(s=an(s),s&&(x||u===t))return s.replace(Lt,"");if(!s||!(u=vo(u)))return s;var L=vn(s),U=Xr(L,vn(u));return ys(L,U).join("")}function wA(s,u){var x=pe,L=B;if(Pn(u)){var U="separator"in u?u.separator:U;x="length"in u?Ir(u.length):x,L="omission"in u?vo(u.omission):L}s=an(s);var re=s.length;if(ba(s)){var ye=vn(s);re=ye.length}if(x>=re)return s;var Ce=x-xa(L);if(Ce<1)return L;var Oe=ye?ys(ye,0,Ce).join(""):s.slice(0,Ce);if(U===t)return Oe+L;if(ye&&(Ce+=Oe.length-Ce),Sg(U)){if(s.slice(Ce).search(U)){var ut,ft=Oe;for(U.global||(U=wa(U.source,an(Rt.exec(U))+"g")),U.lastIndex=0;ut=U.exec(ft);)var Ct=ut.index;Oe=Oe.slice(0,Ct===t?Ce:Ct)}}else if(s.indexOf(vo(U),Ce)!=Ce){var Bt=Oe.lastIndexOf(U);Bt>-1&&(Oe=Oe.slice(0,Bt))}return Oe+L}function CA(s){return s=an(s),s&&jt.test(s)?s.replace(wt,Zu):s}var SA=T(function(s,u,x){return s+(x?" ":"")+u.toUpperCase()}),Eg=y("toUpperCase");function v0(s,u,x){return s=an(s),u=x?t:u,u===t?ff(s)?Yu(s):ma(s):s.match(u)||[]}var y0=xr(function(s,u){try{return dn(s,t,u)}catch(x){return Cg(x)?x:new ar(x)}}),_A=_l(function(s,u){return Yn(u,function(x){x=za(x),qo(s,x,xg(s[x],s))}),s});function AA(s){var u=s==null?0:s.length,x=cr();return s=u?Qr(s,function(L){if(typeof L[1]!="function")throw new Ko(a);return[x(L[0]),L[1]]}):[],xr(function(L){for(var U=-1;++U<u;){var re=s[U];if(dn(re[0],this,L))return dn(re[1],this,L)}})}function EA(s){return au(mo(s,m))}function Tg(s){return function(){return s}}function TA(s,u){return s==null||s!==s?u:s}var kA=ve(),RA=ve(!0);function Ri(s){return s}function kg(s){return uc(typeof s=="function"?s:mo(s,m))}function IA(s){return Ai(mo(s,m))}function MA(s,u){return yl(s,mo(u,m))}var LA=xr(function(s,u){return function(x){return _i(x,s,u)}}),DA=xr(function(s,u){return function(x){return _i(s,x,u)}});function Rg(s,u,x){var L=Ro(u),U=Ma(u,L);x==null&&!(Pn(u)&&(U.length||!L.length))&&(x=u,u=s,s=this,U=Ma(u,Ro(u)));var re=!(Pn(x)&&"chain"in x)||!!x.chain,ye=El(s);return Yn(U,function(Ce){var Oe=u[Ce];s[Ce]=Oe,ye&&(s.prototype[Ce]=function(){var ut=this.__chain__;if(re||ut){var ft=s(this.__wrapped__),Ct=ft.__actions__=bo(this.__actions__);return Ct.push({func:Oe,args:arguments,thisArg:s}),ft.__chain__=ut,ft}return Oe.apply(s,Bo([this.value()],arguments))})}),s}function OA(){return gr._===this&&(gr._=Kc),this}function Ig(){}function NA(s){return s=Ir(s),xr(function(u){return Pa(u,s)})}var PA=Dt(Qr),BA=Dt(rl),jA=Dt(os);function b0(s){return pg(s)?M(za(s)):cd(s)}function FA(s){return function(u){return s==null?t:gs(s,u)}}var zA=qn(),$A=qn(!0);function Mg(){return[]}function Lg(){return!1}function HA(){return{}}function qA(){return""}function WA(){return!0}function UA(s,u){if(s=Ir(s),s<1||s>le)return[];var x=ie,L=Nn(s,ie);u=cr(u),s-=ie;for(var U=Be(L,u);++x<s;)u(x);return U}function VA(s){return Sr(s)?Qr(s,za):Xi(s)?[s]:bo(Fv(an(s)))}function GA(s){var u=++Zc;return an(s)+u}var ZA=mt(function(s,u){return s+u},0),YA=di("ceil"),KA=mt(function(s,u){return s/u},1),XA=di("floor");function JA(s){return s&&s.length?nc(s,Ri,Hs):t}function QA(s,u){return s&&s.length?nc(s,cr(u,2),Hs):t}function e4(s){return ol(s,Ri)}function t4(s,u){return ol(s,cr(u,2))}function r4(s){return s&&s.length?nc(s,Ri,li):t}function n4(s,u){return s&&s.length?nc(s,cr(u,2),li):t}var o4=mt(function(s,u){return s*u},1),i4=di("round"),s4=mt(function(s,u){return s-u},0);function a4(s){return s&&s.length?He(s,Ri):0}function l4(s,u){return s&&s.length?He(s,cr(u,2)):0}return Y.after=I_,Y.ary=Kv,Y.assign=v3,Y.assignIn=u0,Y.assignInWith=Ph,Y.assignWith=y3,Y.at=b3,Y.before=Xv,Y.bind=xg,Y.bindAll=_A,Y.bindKey=Jv,Y.castArray=H_,Y.chain=Gv,Y.chunk=XC,Y.compact=JC,Y.concat=QC,Y.cond=AA,Y.conforms=EA,Y.constant=Tg,Y.countBy=a_,Y.create=x3,Y.curry=Qv,Y.curryRight=e0,Y.debounce=t0,Y.defaults=w3,Y.defaultsDeep=C3,Y.defer=M_,Y.delay=L_,Y.difference=eS,Y.differenceBy=tS,Y.differenceWith=rS,Y.drop=nS,Y.dropRight=oS,Y.dropRightWhile=iS,Y.dropWhile=sS,Y.fill=aS,Y.filter=c_,Y.flatMap=f_,Y.flatMapDeep=h_,Y.flatMapDepth=p_,Y.flatten=qv,Y.flattenDeep=lS,Y.flattenDepth=cS,Y.flip=D_,Y.flow=kA,Y.flowRight=RA,Y.fromPairs=uS,Y.functions=R3,Y.functionsIn=I3,Y.groupBy=g_,Y.initial=fS,Y.intersection=hS,Y.intersectionBy=pS,Y.intersectionWith=gS,Y.invert=L3,Y.invertBy=D3,Y.invokeMap=v_,Y.iteratee=kg,Y.keyBy=y_,Y.keys=Ro,Y.keysIn=ki,Y.map=Ih,Y.mapKeys=N3,Y.mapValues=P3,Y.matches=IA,Y.matchesProperty=MA,Y.memoize=Lh,Y.merge=B3,Y.mergeWith=d0,Y.method=LA,Y.methodOf=DA,Y.mixin=Rg,Y.negate=Dh,Y.nthArg=NA,Y.omit=j3,Y.omitBy=F3,Y.once=O_,Y.orderBy=b_,Y.over=PA,Y.overArgs=N_,Y.overEvery=BA,Y.overSome=jA,Y.partial=wg,Y.partialRight=r0,Y.partition=x_,Y.pick=z3,Y.pickBy=f0,Y.property=b0,Y.propertyOf=FA,Y.pull=bS,Y.pullAll=Uv,Y.pullAllBy=xS,Y.pullAllWith=wS,Y.pullAt=CS,Y.range=zA,Y.rangeRight=$A,Y.rearg=P_,Y.reject=S_,Y.remove=SS,Y.rest=B_,Y.reverse=yg,Y.sampleSize=A_,Y.set=H3,Y.setWith=q3,Y.shuffle=E_,Y.slice=_S,Y.sortBy=R_,Y.sortedUniq=MS,Y.sortedUniqBy=LS,Y.split=fA,Y.spread=j_,Y.tail=DS,Y.take=OS,Y.takeRight=NS,Y.takeRightWhile=PS,Y.takeWhile=BS,Y.tap=JS,Y.throttle=F_,Y.thru=Rh,Y.toArray=a0,Y.toPairs=h0,Y.toPairsIn=p0,Y.toPath=VA,Y.toPlainObject=c0,Y.transform=W3,Y.unary=z_,Y.union=jS,Y.unionBy=FS,Y.unionWith=zS,Y.uniq=$S,Y.uniqBy=HS,Y.uniqWith=qS,Y.unset=U3,Y.unzip=bg,Y.unzipWith=Vv,Y.update=V3,Y.updateWith=G3,Y.values=Sd,Y.valuesIn=Z3,Y.without=WS,Y.words=v0,Y.wrap=$_,Y.xor=US,Y.xorBy=VS,Y.xorWith=GS,Y.zip=ZS,Y.zipObject=YS,Y.zipObjectDeep=KS,Y.zipWith=XS,Y.entries=h0,Y.entriesIn=p0,Y.extend=u0,Y.extendWith=Ph,Rg(Y,Y),Y.add=ZA,Y.attempt=y0,Y.camelCase=J3,Y.capitalize=g0,Y.ceil=YA,Y.clamp=Y3,Y.clone=q_,Y.cloneDeep=U_,Y.cloneDeepWith=V_,Y.cloneWith=W_,Y.conformsTo=G_,Y.deburr=m0,Y.defaultTo=TA,Y.divide=KA,Y.endsWith=Q3,Y.eq=Ks,Y.escape=eA,Y.escapeRegExp=tA,Y.every=l_,Y.find=u_,Y.findIndex=$v,Y.findKey=S3,Y.findLast=d_,Y.findLastIndex=Hv,Y.findLastKey=_3,Y.floor=XA,Y.forEach=Zv,Y.forEachRight=Yv,Y.forIn=A3,Y.forInRight=E3,Y.forOwn=T3,Y.forOwnRight=k3,Y.get=_g,Y.gt=Z_,Y.gte=Y_,Y.has=M3,Y.hasIn=Ag,Y.head=Wv,Y.identity=Ri,Y.includes=m_,Y.indexOf=dS,Y.inRange=K3,Y.invoke=O3,Y.isArguments=_u,Y.isArray=Sr,Y.isArrayBuffer=K_,Y.isArrayLike=Ti,Y.isArrayLikeObject=Qn,Y.isBoolean=X_,Y.isBuffer=bc,Y.isDate=J_,Y.isElement=Q_,Y.isEmpty=e3,Y.isEqual=t3,Y.isEqualWith=r3,Y.isError=Cg,Y.isFinite=n3,Y.isFunction=El,Y.isInteger=n0,Y.isLength=Oh,Y.isMap=o0,Y.isMatch=o3,Y.isMatchWith=i3,Y.isNaN=s3,Y.isNative=a3,Y.isNil=c3,Y.isNull=l3,Y.isNumber=i0,Y.isObject=Pn,Y.isObjectLike=Wn,Y.isPlainObject=Mf,Y.isRegExp=Sg,Y.isSafeInteger=u3,Y.isSet=s0,Y.isString=Nh,Y.isSymbol=Xi,Y.isTypedArray=Cd,Y.isUndefined=d3,Y.isWeakMap=f3,Y.isWeakSet=h3,Y.join=mS,Y.kebabCase=rA,Y.last=ws,Y.lastIndexOf=vS,Y.lowerCase=nA,Y.lowerFirst=oA,Y.lt=p3,Y.lte=g3,Y.max=JA,Y.maxBy=QA,Y.mean=e4,Y.meanBy=t4,Y.min=r4,Y.minBy=n4,Y.stubArray=Mg,Y.stubFalse=Lg,Y.stubObject=HA,Y.stubString=qA,Y.stubTrue=WA,Y.multiply=o4,Y.nth=yS,Y.noConflict=OA,Y.noop=Ig,Y.now=Mh,Y.pad=iA,Y.padEnd=sA,Y.padStart=aA,Y.parseInt=lA,Y.random=X3,Y.reduce=w_,Y.reduceRight=C_,Y.repeat=cA,Y.replace=uA,Y.result=$3,Y.round=i4,Y.runInContext=Te,Y.sample=__,Y.size=T_,Y.snakeCase=dA,Y.some=k_,Y.sortedIndex=AS,Y.sortedIndexBy=ES,Y.sortedIndexOf=TS,Y.sortedLastIndex=kS,Y.sortedLastIndexBy=RS,Y.sortedLastIndexOf=IS,Y.startCase=hA,Y.startsWith=pA,Y.subtract=s4,Y.sum=a4,Y.sumBy=l4,Y.template=gA,Y.times=UA,Y.toFinite=Tl,Y.toInteger=Ir,Y.toLength=l0,Y.toLower=mA,Y.toNumber=Cs,Y.toSafeInteger=m3,Y.toString=an,Y.toUpper=vA,Y.trim=yA,Y.trimEnd=bA,Y.trimStart=xA,Y.truncate=wA,Y.unescape=CA,Y.uniqueId=GA,Y.upperCase=SA,Y.upperFirst=Eg,Y.each=Zv,Y.eachRight=Yv,Y.first=Wv,Rg(Y,function(){var s={};return Wo(Y,function(u,x){Vr.call(Y.prototype,x)||(s[x]=u)}),s}(),{chain:!1}),Y.VERSION=n,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){Y[s].placeholder=Y}),Yn(["drop","take"],function(s,u){Cr.prototype[s]=function(x){x=x===t?1:fn(Ir(x),0);var L=this.__filtered__&&!u?new Cr(this):this.clone();return L.__filtered__?L.__takeCount__=Nn(x,L.__takeCount__):L.__views__.push({size:Nn(x,ie),type:s+(L.__dir__<0?"Right":"")}),L},Cr.prototype[s+"Right"]=function(x){return this.reverse()[s](x).reverse()}}),Yn(["filter","map","takeWhile"],function(s,u){var x=u+1,L=x==ee||x==ne;Cr.prototype[s]=function(U){var re=this.clone();return re.__iteratees__.push({iteratee:cr(U,3),type:x}),re.__filtered__=re.__filtered__||L,re}}),Yn(["head","last"],function(s,u){var x="take"+(u?"Right":"");Cr.prototype[s]=function(){return this[x](1).value()[0]}}),Yn(["initial","tail"],function(s,u){var x="drop"+(u?"":"Right");Cr.prototype[s]=function(){return this.__filtered__?new Cr(this):this[x](1)}}),Cr.prototype.compact=function(){return this.filter(Ri)},Cr.prototype.find=function(s){return this.filter(s).head()},Cr.prototype.findLast=function(s){return this.reverse().find(s)},Cr.prototype.invokeMap=xr(function(s,u){return typeof s=="function"?new Cr(this):this.map(function(x){return _i(x,s,u)})}),Cr.prototype.reject=function(s){return this.filter(Dh(cr(s)))},Cr.prototype.slice=function(s,u){s=Ir(s);var x=this;return x.__filtered__&&(s>0||u<0)?new Cr(x):(s<0?x=x.takeRight(-s):s&&(x=x.drop(s)),u!==t&&(u=Ir(u),x=u<0?x.dropRight(-u):x.take(u-s)),x)},Cr.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},Cr.prototype.toArray=function(){return this.take(ie)},Wo(Cr.prototype,function(s,u){var x=/^(?:filter|find|map|reject)|While$/.test(u),L=/^(?:head|last)$/.test(u),U=Y[L?"take"+(u=="last"?"Right":""):u],re=L||/^find/.test(u);U&&(Y.prototype[u]=function(){var ye=this.__wrapped__,Ce=L?[1]:arguments,Oe=ye instanceof Cr,ut=Ce[0],ft=Oe||Sr(ye),Ct=function(zr){var qr=U.apply(Y,Bo([zr],Ce));return L&&Bt?qr[0]:qr};ft&&x&&typeof ut=="function"&&ut.length!=1&&(Oe=ft=!1);var Bt=this.__chain__,er=!!this.__actions__.length,dr=re&&!Bt,Dr=Oe&&!er;if(!re&&ft){ye=Dr?ye:new Cr(this);var fr=s.apply(ye,Ce);return fr.__actions__.push({func:Rh,args:[Ct],thisArg:t}),new lo(fr,Bt)}return dr&&Dr?s.apply(this,Ce):(fr=this.thru(Ct),dr?L?fr.value()[0]:fr.value():fr)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(s){var u=Zl[s],x=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",L=/^(?:pop|shift)$/.test(s);Y.prototype[s]=function(){var U=arguments;if(L&&!this.__chain__){var re=this.value();return u.apply(Sr(re)?re:[],U)}return this[x](function(ye){return u.apply(Sr(ye)?ye:[],U)})}}),Wo(Cr.prototype,function(s,u){var x=Y[u];if(x){var L=x.name+"";Vr.call(Ps,L)||(Ps[L]=[]),Ps[L].push({name:u,func:x})}}),Ps[Pe(t,A).name]=[{name:"wrapper",func:t}],Cr.prototype.clone=Ql,Cr.prototype.reverse=fl,Cr.prototype.value=ec,Y.prototype.at=QS,Y.prototype.chain=e_,Y.prototype.commit=t_,Y.prototype.next=r_,Y.prototype.plant=o_,Y.prototype.reverse=i_,Y.prototype.toJSON=Y.prototype.valueOf=Y.prototype.value=s_,Y.prototype.first=Y.prototype.head,si&&(Y.prototype[si]=n_),Y},zi=Gl();nn?((nn.exports=zi)._=zi,Rr._=zi):gr._=zi}).call(g4)}(Ff,Ff.exports)),Ff.exports}var Od=m4();const qa=of(Od),v4=r=>{try{return JSON.parse(r)}catch{return}},y4=(r,e)=>JSON.stringify(r,null,e),b4=r=>Object.keys(r),x4=r=>Object.values(r),w4=r=>Object.entries(r),C4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},S4=(r,e)=>Object.keys(r).includes(e),_4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),A4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),E4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),vx=r=>C.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(vx),T4=(r,e)=>qa.isEqual(r,e),or={equal:T4,parse:v4,stringify:y4,keys:b4,values:x4,entries:w4,forEach:C4,hasKey:S4,map:_4,some:A4,find:E4,isReactNode:vx},yx="_NoSelect_29290_1",bx="_NoTransition_29290_6",xx="_IsFixedShape_29290_10",wx="_IsCursorPointer_29290_15",Cx="_IsInteractive_29290_19",xc={NoSelect:yx,NoTransition:bx,IsFixedShape:xx,IsCursorPointer:wx,IsInteractive:Cx},k4="_Display1_11vgm_1",R4="_Display2_11vgm_6",I4="_Title1_11vgm_11",M4="_Title2_11vgm_16",L4="_Title3_11vgm_21",D4="_Headline1_11vgm_26",O4="_Headline2_11vgm_31",N4="_Body1Normal_11vgm_36",P4="_Body1Reading_11vgm_41",B4="_Label1_11vgm_46",j4="_Label2_11vgm_51",F4="_Caption1_11vgm_56",z4="_Caption2_11vgm_61",$4="_Regular_11vgm_66",H4="_Medium_11vgm_70",q4="_SemiBold_11vgm_74",W4="_Bold_11vgm_78",Vo={Display1:k4,Display2:R4,Title1:I4,Title2:M4,Title3:L4,Headline1:D4,Headline2:O4,Body1Normal:N4,Body1Reading:P4,Label1:B4,Label2:j4,Caption1:F4,Caption2:z4,Regular:$4,Medium:H4,SemiBold:q4,Bold:W4};function A0(...r){return r.filter(Boolean).join(" ")}const Sx={NoSelect:xc.NoSelect,NoTransition:xc.NoTransition,IsClickable:A0(xc.NoSelect,xc.IsCursorPointer,xc.IsFixedShape),IsInteractive:A0(xc.NoSelect,xc.IsCursorPointer,xc.IsInteractive)},_x={Display1:Vo.Display1,Display2:Vo.Display2,Title1:Vo.Title1,Title2:Vo.Title2,Title3:Vo.Title3,Headline1:Vo.Headline1,Headline2:Vo.Headline2,Body1Normal:Vo.Body1Normal,Body1Reading:Vo.Body1Reading,Label1:Vo.Label1,Label2:Vo.Label2,Caption1:Vo.Caption1,Caption2:Vo.Caption2,Regular:Vo.Regular,Medium:Vo.Medium,SemiBold:Vo.SemiBold,Bold:Vo.Bold};let O1={};const Qf={...Sx,..._x,...O1};let N1=or.keys(Qf);function U4(){Object.assign(Qf,O1),N1=or.keys(Qf)}function V4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];N1.includes(n)&&(n=Qf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function G4(r,...e){const t=[],n=or.keys(r);for(let o=0;o<e.length;o++){let i=e[o];N1.includes(i)?i=Qf[i]:n.includes(i)&&(i=r[i]),typeof i=="string"&&i!==""&&t.push(i)}return t.join(" ")}const Ze={clsx:V4,sclsx:G4,classes:Sx,typographies:_x,additionalClasses:O1,updateKeys:U4},Go={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},gt=(r,e=Go.md)=>{const t=Go[r],n=t/e,o={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const i=(e-t)/2;return{...o,viewBox:`${i} ${i} ${t} ${t}`,transform:`scale(${n})`}}return o},_d=(r,e=Go.md)=>{const t=Go[r],n=40,o=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(o<0){const a=(e-t)/2;return{...i,viewBox:`${a} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${o})`}}return i},bn=(r,e=2)=>({fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round"}),ln=r=>{const{icon:e,style:t,svgRef:n,...o}=r,i=C.useMemo(()=>Wp[e],[e]);return S.jsx(i,{...o,style:{...t,flexShrink:0}})},Z4=r=>{const e=or.keys(r);return n=>{const{icon:o,svgRef:i,...a}=n,c=C.useMemo(()=>e.includes(o)?r[o]:Wp[o],[o]);return S.jsx(c,{...a})}},Wp=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})})},ArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},Chat:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 17.17 18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},"Check.Checked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:n,...i,ref:o,children:[S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),S.jsx("path",{d:"M6.25009 10.4324L4.22884 8.41116C4.00148 8.1838 3.63305 8.18315 3.40489 8.40971V8.40971C3.17558 8.6374 3.17492 9.00808 3.40343 9.23658L5.54298 11.3761C5.93351 11.7667 6.56667 11.7667 6.9572 11.3761L12.8387 5.49459C13.0659 5.26741 13.0659 4.89908 12.8387 4.6719V4.6719C12.6116 4.44479 12.2435 4.4447 12.0162 4.6717L6.25009 10.4324Z",fill:t})]})},"Check.Indeterminate":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:n,...i,ref:o,children:[S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),S.jsx("rect",{fill:t,height:"1",width:"10",x:"3",y:"7"})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:n,...i,ref:o,children:S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})})},ClipBoard:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},Close:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Document:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})},Menu:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})},PersonOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),S.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Search:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})},Send:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})},Spinner:(r={})=>{const{size:e="3xl",primaryColor:t="var(--label-strong)",secondaryColor:n="var(--elevation-10)",svgRef:o,...i}=r,a=Go["3xl"];return S.jsxs("svg",{...gt(e,a),fill:"none",strokeWidth:"12",...i,ref:o,children:[S.jsx("circle",{cx:"32",cy:"32",r:"22",stroke:n,style:{...i.style,transition:"stroke var(--Transition)"}}),S.jsx("path",{d:"M10 32C10 29.1109 10.569 26.2501 11.6746 23.581C12.7803 20.9118 14.4008 18.4865 16.4437 16.4436C18.4865 14.4008 20.9118 12.7803 23.581 11.6747C26.2501 10.569 29.1109 10 32 10",stroke:t,style:{...i.style,transition:"stroke var(--Transition)"},children:S.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",calcMode:"spline",dur:"1s",from:"0 32 32",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1",repeatCount:"indefinite",to:"360 32 32",type:"rotate"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2z"})})},TriangleAlert2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),S.jsx("line",{x1:"12",x2:"12",y1:"9",y2:"13"}),S.jsx("line",{x1:"12",x2:"12.01",y1:"17",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,28),...bn(t),strokeWidth:1,...i,ref:o,children:[S.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),S.jsx("path",{d:"M21.1213 21.1213L19 19"}),S.jsx("path",{d:"M24 14L21 14"}),S.jsx("path",{d:"M9.12132 19L7 21.1213"}),S.jsx("path",{d:"M14 21L14 24"}),S.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),S.jsx("path",{d:"M4 14L7 14"}),S.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),S.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,28),...i,ref:o,children:[S.jsx("mask",{fill:n,id:"path-1-inside-1_640_3082",children:S.jsx("path",{clipRule:"evenodd",d:"M23 14.9271C21.7297 16.1977 19.9746 16.9836 18.036 16.9836C14.1593 16.9836 11.0167 13.841 11.0167 9.96435C11.0167 8.02554 11.8027 6.27032 13.0735 5C8.53643 5.47528 5 9.31228 5 13.9753C5 18.9595 9.04054 23 14.0248 23C18.6876 23 22.5244 19.4639 23 14.9271Z",fillRule:"evenodd"})}),S.jsx("path",{d:"M23 14.9271L23.9945 15.0313L24.2889 12.2235L22.2928 14.2201L23 14.9271ZM13.0735 5L13.7805 5.70724L15.7772 3.71131L12.9694 4.00544L13.0735 5ZM22.2928 14.2201C21.2024 15.3108 19.6987 15.9836 18.036 15.9836V17.9836C20.2505 17.9836 22.257 17.0846 23.7072 15.6341L22.2928 14.2201ZM18.036 15.9836C14.7116 15.9836 12.0167 13.2887 12.0167 9.96435H10.0167C10.0167 14.3933 13.607 17.9836 18.036 17.9836V15.9836ZM12.0167 9.96435C12.0167 8.30147 12.6897 6.79768 13.7805 5.70724L12.3666 4.29276C10.9158 5.74295 10.0167 7.7496 10.0167 9.96435H12.0167ZM6 13.9753C6 9.8296 9.14442 6.41706 13.1777 5.99456L12.9694 4.00544C7.92844 4.5335 4 8.79496 4 13.9753H6ZM14.0248 22C9.59282 22 6 18.4072 6 13.9753H4C4 19.5118 8.48825 24 14.0248 24V22ZM22.0054 14.8228C21.5827 18.8559 18.1703 22 14.0248 22V24C19.2049 24 23.4662 20.0719 23.9945 15.0313L22.0054 14.8228Z",fill:t,mask:"url(#path-1-inside-1_640_3082)"})]})},CCTV:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...i}=r,a=Go["2xs"];return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("rect",{fill:t,height:"5",width:"1",x:"1",y:"5"}),S.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),S.jsx("rect",{fill:t,height:"3",transform:"rotate(45 5.12132 2)",width:"5.13925",x:"5.12132",y:"2"}),S.jsx("rect",{fill:t,height:"2.19393",transform:"rotate(45 8.83633 6.28503)",width:"1",x:"8.83633",y:"6.28503"}),S.jsx("clipPath",{id:"clip0_2241_2464",children:S.jsx("rect",{fill:n,height:"12",width:"12"})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"})})},KeyboardArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},KeyboardArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Alert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="var(--background-normal)",svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:n,...i,ref:o,children:S.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[S.jsx("path",{d:"M11.1238 2.59312C11.5037 1.90234 12.4963 1.90234 12.8762 2.59312L22.1849 19.5181C22.5515 20.1845 22.0693 21 21.3087 21H2.69127C1.93067 21 1.44851 20.1845 1.81506 19.5181L11.1238 2.59312Z",fill:t}),S.jsx("path",{d:"M12.8169 8H11.1691L11.2958 15.0451H12.6902L12.8169 8ZM11.0001 17.0287C10.993 17.5622 11.4508 17.9932 12 18C12.5423 17.9932 12.993 17.5622 13 17.0287C12.993 16.4952 12.5423 16.0575 12 16.0575C11.4508 16.0575 10.993 16.4952 11.0001 17.0287Z",fill:n,style:{...i.style,transition:"fill var(--Transition)"}})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:"none",...i,ref:o,children:S.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:"none",...i,ref:o,children:S.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:"none",...i,ref:o,children:[S.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),S.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t,opacity:"0.2"})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t,opacity:"0.2"}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},Favorite:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},FavoriteDisabled:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),fill:n,strokeWidth:"1",...i,ref:o,children:S.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},Main:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t,svgRef:n,...o}=r;return S.jsxs("svg",{height:"84",viewBox:"0 0 118 84",width:"118",...o,ref:n,children:[S.jsx("path",{clipRule:"evenodd",d:"M66.0843 0.94382H8.51123C4.34117 0.94382 0.960666 4.32432 0.960666 8.49438V49.0787C0.960666 53.77 4.76373 57.573 9.45505 57.573H66.0843C70.7756 57.573 74.5787 53.77 74.5787 49.0787V9.4382C74.5787 4.74688 70.7756 0.94382 66.0843 0.94382ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M108.556 26.4272H51.927C47.2357 26.4272 43.4326 30.2302 43.4326 34.9216V74.562C43.4326 79.2533 47.2357 83.0564 51.927 83.0564H108.556C113.248 83.0564 117.051 79.2533 117.051 74.562V34.9216C117.051 30.2302 113.248 26.4272 108.556 26.4272ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M66.0843 1.88764H8.51123C4.86243 1.88764 1.90449 4.84558 1.90449 8.49438V49.0787C1.90449 53.2487 5.28499 56.6292 9.45505 56.6292H66.0843C70.2543 56.6292 73.6348 53.2487 73.6348 49.0787V9.4382C73.6348 5.26814 70.2543 1.88764 66.0843 1.88764ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M108.556 27.371H51.927C47.7569 27.371 44.3764 30.7515 44.3764 34.9216V74.562C44.3764 78.7321 47.7569 82.1126 51.927 82.1126H108.556C112.726 82.1126 116.107 78.7321 116.107 74.562V34.9216C116.107 30.7515 112.726 27.371 108.556 27.371ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e,fillRule:"evenodd"})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...o}=r;return S.jsx("svg",{fill:t,height:"1112",viewBox:"0 0 1482 1112",width:"1482",...o,ref:n,children:S.jsxs("g",{children:[S.jsx("path",{d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",opacity:"0.22",stroke:e}),S.jsx("path",{d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",opacity:"0.48",stroke:e}),S.jsx("path",{d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",opacity:"0.74",stroke:e}),S.jsx("path",{d:"M1082.91 1111.17L0.667969 880.19V231.81L1082.91 0.829102V1111.17Z",stroke:e})]})})},FileDownload:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"})})},File:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V7L15 2ZM6 20V4H14V8H18V20H6ZM16 10V15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V8.5C8 7.03 9.26 5.86 10.76 6.01C12.06 6.14 13 7.33 13 8.64V15H11V8.5C11 8.22 10.78 8 10.5 8C10.22 8 10 8.22 10 8.5V15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15V10H16Z"})})},File2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),S.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),overflow:"hidden",strokeWidth:"0.5",...i,ref:o,children:[S.jsx("path",{d:"M7.85 9.679C7.92 9.747 8.03 9.745 8.1 9.674 8.17 9.606 8.17 9.497 8.1 9.428L6.84 8.17 8.17 6.844 9.43 8.103C9.5 8.171 9.61 8.169 9.68 8.098 9.75 8.03 9.75 7.921 9.68 7.852L8.42 6.594 9.39 5.629 8.13 4.377C7.15 3.389 5.56 3.335 4.51 4.254L4.13 3.857C3.29 2.997 2.15 2.511 0.95 2.508L0.35 2.508 0.35 2.862 0.95 2.862C2.05 2.865 3.11 3.312 3.87 4.104L4.26 4.504C3.34 5.555 3.39 7.143 4.38 8.133L5.63 9.385 6.59 8.42ZM4.63 7.883C3.73 6.984 3.73 5.526 4.63 4.627 5.53 3.728 6.98 3.728 7.88 4.627L8.88 5.629 5.63 8.885Z",fill:t,stroke:t}),S.jsx("path",{d:"M16.06 14.167C15.01 14.169 13.99 13.758 13.23 13.021L12.78 12.58C13.69 11.529 13.64 9.946 12.65 8.959L11.4 7.707 7.64 11.464 8.9 12.716C9.89 13.707 11.47 13.757 12.52 12.831L12.99 13.276C13.81 14.076 14.91 14.523 16.06 14.521L16.65 14.521 16.65 14.167ZM9.15 12.465 8.14 11.464 11.4 8.208 12.4 9.21C13.31 10.104 13.31 11.562 12.42 12.466 11.53 13.369 10.07 13.377 9.16 12.483 9.16 12.477 9.15 12.471 9.15 12.465Z",fill:t,stroke:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),overflow:"hidden",strokeWidth:"0.166718",...i,ref:o,children:[S.jsx("path",{d:"M9.81667 8.6C9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.68333 7.41667 8.61667 6.55 7.43333 6.66667 6.65 6.75 5.98333 7.23333 5.66667 7.95L5.96667 8.08333C6.36667 7.15 7.45 6.73333 8.38333 7.13333 8.96667 7.38333 9.36667 7.91667 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55L9.1 8.18333 8.86667 8.41667 9.65 9.2 10.4333 8.41667 10.2 8.18333 9.81667 8.6Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),S.jsx("path",{d:"M7.66667 10.6667C6.75 10.6667 5.98333 10 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1L6.21667 9.46667 6.45 9.23333 5.66667 8.43333 4.88333 9.21667 5.11667 9.45 5.5 9.06667C5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.63333 10.25 6.68333 11.1167 7.88333 11 8.66667 10.9167 9.33333 10.4333 9.65 9.71667L9.35 9.58333C9.05 10.2333 8.4 10.6667 7.66667 10.6667Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),S.jsx("path",{d:"M13.4333 7.48333C13.3 6.66667 12.85 5.93333 12.1833 5.45 11.4833 4.96667 10.6333 4.78333 9.8 4.95 9.13333 3.95 8.03333 3.33333 6.83333 3.33333 6.56667 3.33333 6.28333 3.36667 6.01667 3.43333 4.6 3.8 3.53333 4.98333 3.31667 6.43333 2.36667 6.46667 1.5 6.91667 0.933333 7.66667 0.266667 8.6 0.15 9.81667 0.616667 10.8667 1.1 11.9 2.1 12.5833 3.23333 12.65L4.45 12.65 11.3667 12.6667 13.1333 12.6667C14.5667 12.6333 15.7 11.4333 15.6667 10 15.6333 8.71667 14.6833 7.66667 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333ZM15.3333 10.2C15.25 11.3667 14.3 12.3 13.1333 12.3333L11.3667 12.3333 4.45 12.3167 3.25 12.3167C2.25 12.25 1.35 11.65 0.933333 10.7333 0.5 9.8 0.6 8.7 1.2 7.86667 1.71667 7.2 2.48333 6.8 3.33333 6.76667L3.61667 6.75 3.65 6.48333C3.85 5.16667 4.81667 4.1 6.1 3.75 6.33333 3.7 6.58333 3.66667 6.83333 3.66667 7.91667 3.66667 8.93333 4.21667 9.51667 5.13333L9.63333 5.31667 9.85 5.26667C10.5833 5.11667 11.35 5.28333 11.9667 5.71667 12.5667 6.15 12.9667 6.8 13.0833 7.53333L13.1167 7.76667 13.35 7.8C14.55 7.98333 15.3833 9.01667 15.3333 10.2L15.3333 10.2Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"})})},DateRange:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"})})},PlayArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})})},MailOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),S.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),S.jsx("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})},Download:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"})})},FolderPost:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"})})},FolderOpen:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"})})},FolderCopy:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),S.jsx("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})]})},FolderAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})})},FolderMove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"})})},FirstPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),S.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})})},NavigateBefore:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})},NavigateNext:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})})},ListAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"})})},ListRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14.41 22z"})})},Cancel:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})})},Article:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"})})},Info:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M11,7h2v2h-2V7z M11,11h2v6h-2V11z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20 c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"})})},Type:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),S.jsx("line",{x1:"9",x2:"15",y1:"20",y2:"20"}),S.jsx("line",{x1:"12",x2:"12",y1:"4",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m2 2v2h3v3h2v-3h3v-2h-3V7h-2v3zM1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},CheckNormal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:t})})},Create:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})})},PersonRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m3 2v2h6v-2zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},Refresh:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Undo:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"})})},Return:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M4 15L3.46967 14.4697C3.17678 14.7626 3.17678 15.2374 3.46967 15.5303L4 15ZM7.53033 12.5303C7.82322 12.2374 7.82322 11.7626 7.53033 11.4697C7.23744 11.1768 6.76256 11.1768 6.46967 11.4697L7.53033 12.5303ZM6.46967 18.5303C6.76256 18.8232 7.23744 18.8232 7.53033 18.5303C7.82322 18.2374 7.82322 17.7626 7.53033 17.4697L6.46967 18.5303ZM6.46967 11.4697L3.46967 14.4697L4.53033 15.5303L7.53033 12.5303L6.46967 11.4697ZM3.46967 15.5303L6.46967 18.5303L7.53033 17.4697L4.53033 14.4697L3.46967 15.5303Z",fill:"#333333"}),S.jsx("path",{d:"M11 5.25C10.5858 5.25 10.25 5.58579 10.25 6C10.25 6.41421 10.5858 6.75 11 6.75V5.25ZM4 14.25C3.58579 14.25 3.25 14.5858 3.25 15C3.25 15.4142 3.58579 15.75 4 15.75V14.25ZM11 6.75H16V5.25H11V6.75ZM16 15.75C17.3742 15.75 18.5687 15.0388 19.3991 14.0651C20.2284 13.0926 20.75 11.7983 20.75 10.5H19.25C19.25 11.4109 18.8762 12.3665 18.2577 13.0918C17.6404 13.8157 16.835 14.25 16 14.25V15.75ZM16 6.75C16.8349 6.75 17.6404 7.18427 18.2577 7.90822C18.8762 8.63348 19.25 9.58913 19.25 10.5H20.75C20.75 9.20173 20.2284 7.90738 19.3991 6.93492C18.5687 5.96116 17.3741 5.25 16 5.25V6.75ZM16 14.25H4V15.75H16V14.25Z",fill:"#333333"})]})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},TriangleUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),...i,ref:o,children:S.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),...i,ref:o,children:S.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})})},Cow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("g",{transform:"scale(0.046875 0.046875)",children:S.jsx("path",{d:"M510.256,187.787c-2.16-7.414-6.118-13.725-11.079-18.567c-7.477-7.3-16.818-11.393-26.211-13.777 c-9.43-2.386-19.109-3.114-28.034-3.124c-7.732,0-14.89,0.562-20.744,1.219h0.016c-4.732,0.531-9.07,1.426-12.788,2.103 c-3.697,0.708-6.821,1.156-8.597,1.136l-0.557-0.042c-0.031-0.167-0.063-0.261-0.094-0.48c-2.63-18.598-4.03-36.864-9.06-55.494 c-5.004-18.619-13.976-37.457-30.986-55.826c-8.07-8.83-17.973-13.454-27.476-13.403c-8.43-0.01-15.98,3.489-21.312,8.779 c-5.337,5.279-8.763,12.517-8.784,20.504c-0.005,3.686,0.88,7.466,2.484,11.028l-0.067,0.031c4.992,13.434,7.794,25.784,7.768,35.719 c0,5.935-0.948,10.955-2.754,15.141c-2.77,6.227-7.196,11.111-15.923,15.193c-8.695,4.019-21.816,6.685-40.06,6.664 c-24.388,0.042-39.4-4.759-47.454-11.039c-4.082-3.155-6.697-6.623-8.529-10.819c-1.807-4.186-2.754-9.206-2.754-15.141 c-0.026-9.935,2.77-22.285,7.768-35.719l-0.068-0.02c1.604-3.582,2.489-7.352,2.485-11.028c-0.021-7.997-3.448-15.235-8.784-20.514 c-5.332-5.29-12.882-8.789-21.311-8.789c-9.502-0.042-19.406,4.571-27.476,13.412c-17.01,18.359-25.982,37.207-30.985,55.826 c-5.035,18.63-6.431,36.896-9.06,55.494c-0.032,0.229-0.063,0.312-0.099,0.48l-0.552,0.042c-1.77,0.02-4.894-0.428-8.596-1.136 c-3.718-0.687-8.055-1.572-12.793-2.103h0.01c-5.836-0.646-13.001-1.208-20.733-1.219c-11.892,0.031-25.143,1.25-37.338,6.134 c-6.087,2.458-11.939,5.904-16.906,10.768c-4.962,4.842-8.919,11.153-11.08,18.567C0.563,191.806,0,196.014,0,200.282 c0.099,18.276,9.836,37.583,27.684,53.817c16.844,15.245,41.243,27.617,72.728,33.24c0.114,0.489,0.223,0.896,0.344,1.458 c1.874,8.664,4.102,25.242,8.247,44.591c6.285,29.115,16.896,65.167,39.16,94.835c11.142,14.798,25.31,27.981,43.201,37.364 c17.879,9.404,39.378,14.902,64.636,14.892c37.978,0.083,67.422-12.58,88.905-31.667c32.281-28.669,47.173-70.136,55.613-104.562 c4.186-17.234,6.706-32.854,8.654-44.225c0.912-5.353,1.708-9.748,2.4-12.674c31.496-5.624,55.9-17.994,72.744-33.25 c17.848-16.234,27.58-35.541,27.684-53.817C512,196.014,511.438,191.806,510.256,187.787z M165.549,59.409 c5.118-5.456,9.022-6.508,11.804-6.55c2.499,0,4.665,1,6.316,2.615c1.651,1.624,2.473,3.696,2.453,5.352l-0.625,2.572 l-0.261,0.522l-0.198,0.541c-5.508,14.923-9.076,29.376-9.101,43.133c0,8.195,1.312,16.192,4.498,23.586 c2.526,5.946,6.404,11.288,11.32,15.912c-7.967-0.167-16.605-0.292-24.993-0.396c-13.745-0.168-26.596-0.25-34.136-0.303 c1.818-14.35,3.453-27.606,6.847-40.05C143.884,90.254,150.908,75.321,165.549,59.409z M318.981,441.844 c-16.234,10.59-36.442,17.276-62.98,17.307c-33.38-0.083-56.795-10.528-74.784-26.315c-12.834-11.267-22.712-25.689-30.455-41.195 c0.901-4.78,3.015-9.133,6.436-13.392c6.935-8.612,19.78-16.308,36.791-21.514c16.974-5.258,37.921-8.122,60.576-8.122 c30.204-0.031,57.394,5.144,76.138,14.1c9.383,4.456,16.584,9.809,21.234,15.536c4.483,5.581,6.706,11.33,6.893,17.994 c-0.625,1.156-1.15,2.364-1.801,3.499C347.508,416.477,335.189,431.243,318.981,441.844z M470.002,238.292 c-14.417,13.058-36.708,24.524-67.495,29.033l-2.374,0.344l-1.994,1.333c-2.578,1.79-3.583,3.53-4.39,4.904 c-1.431,2.708-2.014,4.927-2.702,7.571c-1.203,4.864-2.213,10.954-3.473,18.26c-1.524,8.625-3.428,19.124-6.134,30.576 c-7.247,29.665-20.215,66.061-48.03,91.907c-16.028,14.232-36.169,24.516-64.055,24.466c-21.776,0-40.292-4.969-55.129-12.732 c-14.839-7.742-27.058-18.692-36.544-30.747c-19.038-25.604-28.956-57.424-34.635-85.312c-1.642-8.429-2.642-14.843-3.494-19.853 c-0.693-3.697-1.256-5.834-1.943-7.519c-0.688-1.698-1.743-3.24-4.323-5.03l-1.989-1.333l-2.374-0.344 c-30.788-4.509-53.083-15.975-67.5-29.033c-15.05-13.646-22.688-28.674-22.749-38.01c0-1.625,0.396-3.859,1.057-6.283 c1.261-4.849,3.597-10.709,6.665-16.755c5.97-12.085,14.748-24.971,25.422-36.775c2.188,1.828,4.64,3.501,7.441,4.98 c9.854,5.132,22.406,8.838,35.833,9.723c12.073,0.823,24.653-0.057,35.493-3.755c10.859-3.666,20.146-9.648,26.908-17.71 c6.767-8.081,10.94-18.221,11.255-29.685c0-2.073-0.26-3.948-0.64-5.901c-0.26-1.203-0.484-2.452-0.641-3.667 c-1.78-12.632-5.748-24.661-11.853-37.393c-3.062-6.173-6.634-12.165-9.359-17.301c-0.932-1.801-1.776-3.414-2.552-5.155 c4.911-5.416,10.209-10.13,15.51-14.678c12.045-10.674,23.606-19.829,33.336-26.128c7.47,6.566,14.801,14.498,21.238,23.858 c12.843,18.226,20.273,37.197,25.055,55.19c4.794,17.983,6.636,34.864,9.055,50.801c0.78,4.584,1.35,8.114,2.373,11.554 c0.98,3.229,2.306,6.316,4.664,9.208c2.396,2.892,5.74,5.532,10.96,6.409c1.296,0.219,3.84-0.5,7.683-1.187 c3.838-0.641,8.727-1.448,14.168-1.948c5.423-0.625,11.573-1.036,18.168-1.057c8.92,0,18.659,0.667,28.086,2.807 c9.426,2.141,17.48,6.104,23.654,12.281c3.177,3.093,5.784,6.775,7.579,10.938c1.778,4.141,2.74,8.704,2.74,13.314 C492.688,209.625,485.052,224.646,470.002,238.292z"})})})},CircleAlertOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"10"}),S.jsx("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),S.jsx("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Manager:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("circle",{cx:"10",cy:"8",r:"4"}),S.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})]})},ManagerOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,96),...bn(t),...i,ref:o,children:[S.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[S.jsx("path",{d:"M80 84V76C80 71.7565 78.3143 67.6869 75.3137 64.6863C72.3131 61.6857 68.2435 60 64 60V70L48 60L32 70V60C27.7565 60 23.6869 61.6857 20.6863 64.6863C17.6857 67.6869 16 71.7565 16 76V84",strokeWidth:"8"}),S.jsx("path",{d:"M48 44C56.8366 44 64 36.8366 64 28C64 19.1634 56.8366 12 48 12C39.1634 12 32 19.1634 32 28C32 36.8366 39.1634 44 48 44Z",strokeWidth:"8"})]}),S.jsx("defs",{children:S.jsx("clipPath",{id:"clip0_1_3",children:S.jsx("rect",{fill:"white",height:"96",width:"96"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"})})},Equalizer:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1zM8 10v5H6.5v-1.5h-2V15H3v-5c0-.55.45-1 1-1h3c.55 0 1 .45 1 1m-1.5.5h-2V12h2zm7 1.5c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-4V9h4c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1M11 10.5v.75h2v-.75zm2 2.25h-2v.75h2z"})})},Auth:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"})})},AuthAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"})})},Switch:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"})})},Add:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41"})})},EditOff:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m14.06 9.02.92.92-1.11 1.11 1.41 1.41 2.52-2.52-3.75-3.75-2.52 2.52 1.41 1.41zm6.65-1.98c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75zM2.81 2.81 1.39 4.22l7.32 7.32L3 17.25V21h3.75l5.71-5.71 7.32 7.32 1.41-1.41zM5.92 19H5v-.92l5.13-5.13.92.92z"})})},Delete:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"})})},Save:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})})},Remove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})})},X:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("line",{x1:"18",x2:"6",y1:"6",y2:"18"}),S.jsx("line",{x1:"6",x2:"18",y1:"6",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"1"}),S.jsx("circle",{cx:"12",cy:"5",r:"1"}),S.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"1"}),S.jsx("circle",{cx:"19",cy:"12",r:"1"}),S.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.708 4.03551C11.4008 3.27361 12.5992 3.27361 13.292 4.03551C14.0105 4.82555 15.0715 5.21174 16.1297 5.06835C17.1502 4.93006 18.0682 5.70033 18.1092 6.72935C18.1518 7.79637 18.7163 8.77423 19.6191 9.34458C20.4898 9.89462 20.6979 11.0747 20.0678 11.8894C19.4146 12.7341 19.2185 13.8461 19.5435 14.8633C19.8569 15.8443 19.2577 16.8821 18.2514 17.1012C17.208 17.3284 16.343 18.0542 15.9381 19.0423C15.5476 19.9952 14.4216 20.4051 13.5099 19.9261C12.5646 19.4294 11.4354 19.4294 10.4901 19.9261C9.57843 20.4051 8.45237 19.9952 8.06187 19.0423C7.65695 18.0542 6.79199 17.3284 5.74857 17.1012C4.7423 16.8821 4.14314 15.8443 4.45654 14.8633C4.7815 13.8461 4.58543 12.7341 3.93215 11.8894C3.30214 11.0747 3.51023 9.89462 4.38087 9.34458C5.28366 8.77423 5.84823 7.79637 5.89077 6.72935C5.9318 5.70033 6.84977 4.93006 7.87028 5.06835C8.92848 5.21174 9.98951 4.82555 10.708 4.03551Z",strokeWidth:"1.5"}),S.jsx("path",{clipRule:"evenodd",d:"M16.5682 10.0607L15.5076 9.00002L11.0719 13.4357L8.56068 10.9244L7.50002 11.9851L11.0719 15.557L12.1326 14.4963L12.1326 14.4963L16.5682 10.0607Z",fill:t,fillRule:"evenodd",strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.1531 3.53092C11.1435 2.44181 12.8565 2.44181 13.8469 3.53092V3.53092C14.3994 4.13844 15.2153 4.4354 16.029 4.32514V4.32514C17.4878 4.12747 18.8 5.22853 18.8586 6.69947V6.69947C18.8913 7.51998 19.3255 8.27193 20.0197 8.71052V8.71052C21.2643 9.49677 21.5617 11.1837 20.6611 12.3482V12.3482C20.1588 12.9978 20.008 13.8529 20.2579 14.6351V14.6351C20.7059 16.0374 19.8494 17.5208 18.411 17.834V17.834C17.6086 18.0087 16.9435 18.5668 16.6321 19.3267V19.3267C16.0739 20.6888 14.4643 21.2747 13.1611 20.59V20.59C12.4341 20.2081 11.5659 20.2081 10.8389 20.59V20.59C9.53573 21.2747 7.92608 20.6888 7.36788 19.3267V19.3267C7.05651 18.5668 6.39137 18.0087 5.58901 17.834V17.834C4.1506 17.5208 3.29413 16.0374 3.74211 14.6351V14.6351C3.992 13.8529 3.84122 12.9978 3.33887 12.3482V12.3482C2.43829 11.1837 2.73574 9.49677 3.98029 8.71052V8.71052C4.67452 8.27193 5.10865 7.51998 5.14137 6.69947V6.69947C5.20002 5.22853 6.51221 4.12747 7.97099 4.32514V4.32514C8.78471 4.4354 9.60062 4.13844 10.1531 3.53092V3.53092Z",stroke:"var(--line-normal)",strokeDasharray:"0.75 1.5",strokeLinecap:"round",strokeMiterlimit:"11.4737",strokeWidth:"0.75",style:{...i.style,transition:"stroke var(--Transition)"}}),S.jsx("path",{d:"M16.2224 8.5837L16.4875 8.31854C16.3411 8.17209 16.1037 8.17209 15.9572 8.31854L16.2224 8.5837ZM17.5013 9.86264L17.7665 10.1278C17.9129 9.98136 17.9129 9.74392 17.7665 9.59747L17.5013 9.86264ZM10.8739 13.9322L10.6087 14.1974C10.679 14.2677 10.7744 14.3072 10.8739 14.3072C10.9733 14.3072 11.0687 14.2677 11.139 14.1974L10.8739 13.9322ZM7.84584 10.9042L8.111 10.639C8.04068 10.5687 7.9453 10.5292 7.84584 10.5292C7.74638 10.5292 7.651 10.5687 7.58067 10.639L7.84584 10.9042ZM6.5669 12.1831L6.30174 11.9179C6.15529 12.0644 6.15529 12.3018 6.30174 12.4483L6.5669 12.1831ZM10.8739 16.4901L10.6087 16.7553C10.7552 16.9017 10.9926 16.9017 11.1391 16.7553L10.8739 16.4901ZM12.1528 15.2112L12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L12.1528 15.2112ZM12.1528 15.2111L11.8876 14.946C11.7412 15.0924 11.7412 15.3299 11.8876 15.4763L12.1528 15.2111ZM15.6601 8.61568C15.5136 8.76212 15.5136 8.99956 15.6601 9.14601C15.8065 9.29245 16.044 9.29245 16.1904 9.14601L15.6601 8.61568ZM15.0018 10.3346C15.1483 10.1881 15.1483 9.95068 15.0018 9.80423C14.8554 9.65778 14.618 9.65778 14.4715 9.80423L15.0018 10.3346ZM13.8772 10.3985C13.7308 10.545 13.7308 10.7824 13.8772 10.9288C14.0237 11.0753 14.2611 11.0753 14.4076 10.9288L13.8772 10.3985ZM13.219 12.1174C13.3655 11.9709 13.3655 11.7335 13.219 11.5871C13.0726 11.4406 12.8351 11.4406 12.6887 11.5871L13.219 12.1174ZM12.0944 12.1813C11.948 12.3278 11.948 12.5652 12.0944 12.7117C12.2409 12.8581 12.4783 12.8581 12.6247 12.7117L12.0944 12.1813ZM11.4362 13.9002C11.5826 13.7538 11.5826 13.5163 11.4362 13.3699C11.2897 13.2234 11.0523 13.2234 10.9059 13.3699L11.4362 13.9002ZM10.8867 13.4147C10.7403 13.2683 10.5028 13.2683 10.3564 13.4147C10.2099 13.5611 10.2099 13.7986 10.3564 13.945L10.8867 13.4147ZM9.34703 12.9357C9.49348 13.0821 9.73091 13.0821 9.87736 12.9357C10.0238 12.7892 10.0238 12.5518 9.87736 12.4054L9.34703 12.9357ZM9.37269 11.9007C9.22624 11.7542 8.9888 11.7542 8.84236 11.9007C8.69591 12.0471 8.69591 12.2846 8.84236 12.431L9.37269 11.9007ZM7.83301 11.4217C7.97946 11.5681 8.21689 11.5681 8.36334 11.4217C8.50979 11.2752 8.50979 11.0378 8.36334 10.8913L7.83301 11.4217ZM7.36752 10.8522C7.22107 10.9986 7.22107 11.236 7.36752 11.3825C7.51396 11.5289 7.7514 11.5289 7.89785 11.3825L7.36752 10.8522ZM7.04522 12.2351C7.19167 12.0887 7.19167 11.8512 7.04522 11.7048C6.89878 11.5583 6.66134 11.5583 6.51489 11.7048L7.04522 12.2351ZM6.54101 12.6875C6.68746 12.834 6.9249 12.834 7.07134 12.6875C7.21779 12.5411 7.21779 12.3037 7.07134 12.1572L6.54101 12.6875ZM8.02845 13.1143C7.88201 12.9679 7.64457 12.9679 7.49812 13.1143C7.35168 13.2608 7.35168 13.4982 7.49812 13.6446L8.02845 13.1143ZM7.97668 14.1232C8.12312 14.2697 8.36056 14.2697 8.50701 14.1232C8.65345 13.9768 8.65345 13.7393 8.50701 13.5929L7.97668 14.1232ZM9.46412 14.55C9.31767 14.4035 9.08023 14.4035 8.93379 14.55C8.78734 14.6964 8.78734 14.9339 8.93379 15.0803L9.46412 14.55ZM9.41234 15.5589C9.55879 15.7053 9.79623 15.7053 9.94267 15.5589C10.0891 15.4124 10.0891 15.175 9.94267 15.0285L9.41234 15.5589ZM10.8998 15.9856C10.7533 15.8392 10.5159 15.8392 10.3695 15.9856C10.223 16.1321 10.223 16.3695 10.3695 16.516L10.8998 15.9856ZM11.3522 16.5421C11.4987 16.3957 11.4987 16.1582 11.3522 16.0118C11.2058 15.8653 10.9683 15.8653 10.8219 16.0118L11.3522 16.5421ZM11.6745 15.1591C11.5281 15.3056 11.5281 15.543 11.6745 15.6895C11.821 15.8359 12.0584 15.8359 12.2048 15.6895L11.6745 15.1591ZM12.418 14.946C12.2715 14.7995 12.0341 14.7995 11.8877 14.946C11.7412 15.0924 11.7412 15.3299 11.8877 15.4763L12.418 14.946ZM11.8877 15.4763C12.0341 15.6228 12.2715 15.6228 12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L11.8877 15.4763ZM12.7151 15.1792C12.8616 15.0327 12.8616 14.7953 12.7151 14.6488C12.5687 14.5024 12.3312 14.5024 12.1848 14.6488L12.7151 15.1792ZM13.3733 13.4603C13.2269 13.6067 13.2269 13.8442 13.3733 13.9906C13.5198 14.1371 13.7572 14.1371 13.9037 13.9906L13.3733 13.4603ZM14.498 13.3963C14.6444 13.2499 14.6444 13.0124 14.498 12.866C14.3515 12.7196 14.1141 12.7196 13.9676 12.866L14.498 13.3963ZM15.1562 11.6774C15.0097 11.8239 15.0097 12.0613 15.1562 12.2078C15.3026 12.3542 15.5401 12.3542 15.6865 12.2078L15.1562 11.6774ZM16.2808 11.6135C16.4272 11.4671 16.4272 11.2296 16.2808 11.0832C16.1343 10.9367 15.8969 10.9367 15.7505 11.0832L16.2808 11.6135ZM16.939 9.89461C16.7926 10.0411 16.7926 10.2785 16.939 10.4249C17.0855 10.5714 17.3229 10.5714 17.4693 10.4249L16.939 9.89461ZM17.5533 9.38432C17.4069 9.23787 17.1694 9.23787 17.023 9.38432C16.8765 9.53076 16.8765 9.7682 17.023 9.91465L17.5533 9.38432ZM16.1704 9.06202C16.3168 9.20847 16.5542 9.20847 16.7007 9.06202C16.8471 8.91558 16.8471 8.67814 16.7007 8.53169L16.1704 9.06202ZM15.9572 8.31854L15.6601 8.61568L16.1904 9.14601L16.4875 8.84887L15.9572 8.31854ZM14.4715 9.80423L13.8772 10.3985L14.4076 10.9288L15.0018 10.3346L14.4715 9.80423ZM12.6887 11.5871L12.0944 12.1813L12.6247 12.7117L13.219 12.1174L12.6887 11.5871ZM10.9059 13.3699L10.6087 13.667L11.139 14.1974L11.4362 13.9002L10.9059 13.3699ZM11.139 13.667L10.8867 13.4147L10.3564 13.945L10.6087 14.1974L11.139 13.667ZM9.87736 12.4054L9.37269 11.9007L8.84236 12.431L9.34703 12.9357L9.87736 12.4054ZM8.36334 10.8913L8.111 10.639L7.58067 11.1693L7.83301 11.4217L8.36334 10.8913ZM7.58067 10.639L7.36752 10.8522L7.89785 11.3825L8.111 11.1693L7.58067 10.639ZM6.51489 11.7048L6.30174 11.9179L6.83207 12.4483L7.04522 12.2351L6.51489 11.7048ZM6.30174 12.4483L6.54101 12.6875L7.07134 12.1572L6.83207 11.9179L6.30174 12.4483ZM7.49812 13.6446L7.97668 14.1232L8.50701 13.5929L8.02845 13.1143L7.49812 13.6446ZM8.93379 15.0803L9.41234 15.5589L9.94267 15.0285L9.46412 14.55L8.93379 15.0803ZM10.3695 16.516L10.6087 16.7553L11.1391 16.2249L10.8998 15.9856L10.3695 16.516ZM11.1391 16.7553L11.3522 16.5421L10.8219 16.0118L10.6087 16.2249L11.1391 16.7553ZM12.2048 15.6895L12.418 15.4763L11.8877 14.946L11.6745 15.1591L12.2048 15.6895ZM12.418 14.946L12.418 14.946L11.8877 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 14.946L12.418 14.946L11.8876 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 15.4763L12.7151 15.1792L12.1848 14.6488L11.8876 14.946L12.418 15.4763ZM13.9037 13.9906L14.498 13.3963L13.9676 12.866L13.3733 13.4603L13.9037 13.9906ZM15.6865 12.2078L16.2808 11.6135L15.7505 11.0832L15.1562 11.6774L15.6865 12.2078ZM17.4693 10.4249L17.7665 10.1278L17.2361 9.59747L16.939 9.89461L17.4693 10.4249ZM17.7665 9.59747L17.5533 9.38432L17.023 9.91465L17.2361 10.1278L17.7665 9.59747ZM16.7007 8.53169L16.4875 8.31854L15.9572 8.84887L16.1704 9.06202L16.7007 8.53169Z",fill:"var(--line-normal)",strokeWidth:0,style:{...i.style,transition:"fill var(--Transition)"}})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),S.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})},Trash:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("polyline",{points:"3 6 5 6 21 6"}),S.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),S.jsx("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),S.jsx("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M200-560h560v-240H200v240Zm-80 400v-720h720v720H680v-80h80v-240H200v240h80v80H120Zm360-320Zm0-80v80-80Zm0 0ZM440-80v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddRowAbove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M200-160h560v-240H200v240Zm640 80H120v-720h160v80h-80v240h560v-240h-80v-80h160v720ZM480-480Zm0 80v-80 80Zm0 0Zm-40-240v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M160-760v560h240v-560H160ZM80-120v-720h720v160h-80v-80H480v560h240v-80h80v160H80Zm400-360Zm-80 0h80-80Zm0 0Zm320 120v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M800-200v-560H560v560h240Zm-640 80v-160h80v80h240v-560H240v80h-80v-160h720v720H160Zm320-360Zm80 0h-80 80Zm0 0ZM160-360v-80H80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},RemoveCol:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M360-440h240v-80H360v80Zm-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z"})})},RemoveRow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{..._d(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M360-440h240v-80H360v80Z"}),S.jsx("path",{d:"M-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z",transform:"rotate(90 480 -480)"})]})},Table:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...bn(t),...o,ref:n,children:S.jsx("path",{className:"ql-stroke ql-thick",d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"})})},Minus:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...bn(t),...o,ref:n,children:S.jsx("line",{className:"ql-stroke ql-thick",x1:"5",x2:"19",y1:"12",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...i,ref:o,children:[S.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),S.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...o,ref:n,children:S.jsx("g",{id:"target",children:S.jsx("path",{d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",fill:t,id:"Vector"})})})},DividerExpand:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t,1.5),...o,ref:n,children:[S.jsx("path",{d:"M4 6V18"}),S.jsx("path",{d:"M8 12H20"}),S.jsx("path",{d:"M12 8L8 12L12 16"})]})},AlignLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"17",x2:"3",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"17",x2:"3",y1:"18",y2:"18"})]})},AlignCenter:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"18",x2:"6",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"18",x2:"6",y1:"18",y2:"18"})]})},AlignRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"21",x2:"7",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"21",x2:"7",y1:"18",y2:"18"})]})},AlignJustify:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"21",x2:"3",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"21",x2:"3",y1:"18",y2:"18"})]})}}),P1=or.keys(Wp),Y4={Ok:"Ok",Cancel:"Cancel"},K4={"select n":r=>S.jsxs(S.Fragment,{children:["Select ",r]}),"deselect n":r=>S.jsxs(S.Fragment,{children:["Deselect ",r]}),"Search(Placeholder)":"Search","Search(Button)":"Search",Items:"Items","*Click row for single select":"*Click row for single select","*Change order to row drag":"*Change order to row drag","Loading Contents...":"Loading Contents..."},X4={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select Date":"Select Date"},J4={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select DateRange":"Select DateRange","1일":"1 Day","1주일":"1 Week","1개월":"1 Month","3개월":"3 Months"},Q4={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},eE={"Checked n items":r=>S.jsxs(S.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>S.jsxs(S.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>S.jsxs(S.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>S.jsxs(S.Fragment,{children:["Sort by ",r]}),"Sort up":"Sort up","Sort down":"Sort down",Asc:"Asc",Desc:"Desc","Search(Placeholder)":"Search","Search(Button)":"Search","Clear(Button)":"Clear",Select:"Select","Toggle Filter":"Toggle Filter","No Items":"No Items"},tE={"Select(Placeholder)":"Select"},rE={"Select(Placeholder)":"Select"},nE={"Insert Full Width Table":"Insert Full Width Table",Custom:"Custom",Confirm:"Confirm",Cancel:"Cancel",Row:"Row",Column:"Column","Not Positive Number Error":"Please enter a positive integer",perWidthInsufficient:"The table needs to be converted to a fixed width.",Transparent:"Transparent",Clear:"Clear","Insert Column Right":"Insert Column Right","Insert Column Left":"Insert Column Left","Insert Row Top":"Insert Row Top","Insert Row Bottom":"Insert Row Bottom","Delete Column":"Delete Column","Delete Row":"Delete Row","Delete Table":"Delete Table","Set Background Color":"Set Background Color","Set Border Color":"Set Border Color","Switch Table Width":"Switch Table Width","Insert Table Caption":"Insert Table Caption","Merge Cell":"Merge Cell","Split Cell":"Split Cell","Right click to open properties":"Right click to open properties",Default:"Default","Enter link:":"Enter link:","Enter video:":"Enter video:","Visit URL:":"Visit URL:",Save:"Save",Remove:"Remove"},oE={Asterisk:"Required field"},iE={Delete:"Delete","Fail Download":"Fail Download",Download:"Download","Drop file to select":"Drop file to select","Insert File":"Insert File","Download All":"Download All","Delete All":"Delete All","Unsupported file format detected.":"Unsupported file format detected.","Invalid file(s)":"Invalid file(s)","Supported file format(s)":"Supported file format(s)",and:"and","more file(s)":"more file(s)"},sE={Progress:"Progress"},aE={Expand:"Expand",Collapse:"Collapse"},wr={ADialog:Y4,ATree:K4,ADatePicker:X4,ADateRangePicker:J4,AFileBox:Q4,ATable:eE,ASelect:tE,AMultiSelect:rE,AEditor:nE,AWrap:oE,AFileUploader:iE,AProgressBar:sE,ADivideFrame:aE};function lE(r,e){or.keys(e).forEach(t=>{r[t]=e[t]})}const cE=(r,e)=>{lE(wr[r],e)},uE="_AProgressBar_17v9w_1",dE="_Header_17v9w_7",fE="_Percentage_17v9w_13",hE="_BarContainer_17v9w_16",pE="_Bar_17v9w_16",gE="_CustomHeight_17v9w_31",mE="_CustomRadius_17v9w_34",vE="_CustomColor_17v9w_40",wc={AProgressBar:uE,Header:dE,Percentage:fE,BarContainer:hE,Bar:pE,CustomHeight:gE,CustomRadius:mE,CustomColor:vE},Ax=({progress:r=0,backgroundColor:e,color:t,height:n,borderRadius:o,showPercentage:i=!0,style:a,className:c,resources:d,label:h})=>{const p=C.useMemo(()=>({...wr.AProgressBar,...d}),[d]),m=C.useMemo(()=>h??p.Progress,[h,p]),g=Math.min(Math.max(r,0),100),v=C.useMemo(()=>{const E={};return n&&(E["--progress-bar-height"]=`${n}px`),o&&(E["--progress-bar-radius"]=`${o}px`),e&&(E["--progress-bar-background-custom"]=e),t&&(E["--progress-bar-color-custom"]=t),E},[n,o,e,t]),w=C.useMemo(()=>Ze.clsx(wc.AProgressBar,n&&wc.CustomHeight,o&&wc.CustomRadius,(e||t)&&wc.CustomColor,c),[n,o,e,t,c]);return S.jsxs("div",{className:w,style:{...v,...a},children:[S.jsxs("div",{className:wc.Header,children:[S.jsx("div",{className:Ze.clsx("Label1"),children:m}),i&&S.jsxs("div",{className:wc.Percentage,children:[g,"%"]})]}),S.jsx("div",{className:wc.BarContainer,children:S.jsx("div",{className:wc.Bar,style:{width:`${g}%`}})})]})};var Cc={},Au={};/**
|
57
|
+
}`;var Dr=y0(function(){return jr(re,er+"return "+Ct).apply(t,ye)});if(Dr.source=Ct,Cg(Dr))throw Dr;return Dr}function mA(s){return an(s).toLowerCase()}function vA(s){return an(s).toUpperCase()}function yA(s,u,x){if(s=an(s),s&&(x||u===t))return Et(s);if(!s||!(u=vo(u)))return s;var L=vn(s),U=vn(u),re=Xr(L,U),ye=ao(L,U)+1;return ys(L,re,ye).join("")}function bA(s,u,x){if(s=an(s),s&&(x||u===t))return s.slice(0,Gu(s)+1);if(!s||!(u=vo(u)))return s;var L=vn(s),U=ao(L,vn(u))+1;return ys(L,0,U).join("")}function xA(s,u,x){if(s=an(s),s&&(x||u===t))return s.replace(Lt,"");if(!s||!(u=vo(u)))return s;var L=vn(s),U=Xr(L,vn(u));return ys(L,U).join("")}function wA(s,u){var x=pe,L=B;if(Pn(u)){var U="separator"in u?u.separator:U;x="length"in u?Ir(u.length):x,L="omission"in u?vo(u.omission):L}s=an(s);var re=s.length;if(ba(s)){var ye=vn(s);re=ye.length}if(x>=re)return s;var Ce=x-xa(L);if(Ce<1)return L;var Oe=ye?ys(ye,0,Ce).join(""):s.slice(0,Ce);if(U===t)return Oe+L;if(ye&&(Ce+=Oe.length-Ce),Sg(U)){if(s.slice(Ce).search(U)){var ut,ft=Oe;for(U.global||(U=wa(U.source,an(Rt.exec(U))+"g")),U.lastIndex=0;ut=U.exec(ft);)var Ct=ut.index;Oe=Oe.slice(0,Ct===t?Ce:Ct)}}else if(s.indexOf(vo(U),Ce)!=Ce){var Bt=Oe.lastIndexOf(U);Bt>-1&&(Oe=Oe.slice(0,Bt))}return Oe+L}function CA(s){return s=an(s),s&&jt.test(s)?s.replace(wt,Zu):s}var SA=T(function(s,u,x){return s+(x?" ":"")+u.toUpperCase()}),Eg=y("toUpperCase");function v0(s,u,x){return s=an(s),u=x?t:u,u===t?ff(s)?Yu(s):ma(s):s.match(u)||[]}var y0=wr(function(s,u){try{return dn(s,t,u)}catch(x){return Cg(x)?x:new ar(x)}}),_A=_l(function(s,u){return Yn(u,function(x){x=za(x),qo(s,x,xg(s[x],s))}),s});function AA(s){var u=s==null?0:s.length,x=cr();return s=u?Qr(s,function(L){if(typeof L[1]!="function")throw new Ko(a);return[x(L[0]),L[1]]}):[],wr(function(L){for(var U=-1;++U<u;){var re=s[U];if(dn(re[0],this,L))return dn(re[1],this,L)}})}function EA(s){return au(mo(s,m))}function Tg(s){return function(){return s}}function TA(s,u){return s==null||s!==s?u:s}var kA=ve(),RA=ve(!0);function Ri(s){return s}function kg(s){return uc(typeof s=="function"?s:mo(s,m))}function IA(s){return Ai(mo(s,m))}function MA(s,u){return yl(s,mo(u,m))}var LA=wr(function(s,u){return function(x){return _i(x,s,u)}}),DA=wr(function(s,u){return function(x){return _i(s,x,u)}});function Rg(s,u,x){var L=Ro(u),U=Ma(u,L);x==null&&!(Pn(u)&&(U.length||!L.length))&&(x=u,u=s,s=this,U=Ma(u,Ro(u)));var re=!(Pn(x)&&"chain"in x)||!!x.chain,ye=El(s);return Yn(U,function(Ce){var Oe=u[Ce];s[Ce]=Oe,ye&&(s.prototype[Ce]=function(){var ut=this.__chain__;if(re||ut){var ft=s(this.__wrapped__),Ct=ft.__actions__=bo(this.__actions__);return Ct.push({func:Oe,args:arguments,thisArg:s}),ft.__chain__=ut,ft}return Oe.apply(s,Bo([this.value()],arguments))})}),s}function OA(){return gr._===this&&(gr._=Kc),this}function Ig(){}function NA(s){return s=Ir(s),wr(function(u){return Pa(u,s)})}var PA=Dt(Qr),BA=Dt(rl),jA=Dt(os);function b0(s){return pg(s)?M(za(s)):cd(s)}function FA(s){return function(u){return s==null?t:gs(s,u)}}var zA=qn(),$A=qn(!0);function Mg(){return[]}function Lg(){return!1}function HA(){return{}}function qA(){return""}function WA(){return!0}function UA(s,u){if(s=Ir(s),s<1||s>le)return[];var x=ie,L=Nn(s,ie);u=cr(u),s-=ie;for(var U=Be(L,u);++x<s;)u(x);return U}function VA(s){return Sr(s)?Qr(s,za):Xi(s)?[s]:bo(Fv(an(s)))}function GA(s){var u=++Zc;return an(s)+u}var ZA=mt(function(s,u){return s+u},0),YA=di("ceil"),KA=mt(function(s,u){return s/u},1),XA=di("floor");function JA(s){return s&&s.length?nc(s,Ri,Hs):t}function QA(s,u){return s&&s.length?nc(s,cr(u,2),Hs):t}function e4(s){return ol(s,Ri)}function t4(s,u){return ol(s,cr(u,2))}function r4(s){return s&&s.length?nc(s,Ri,li):t}function n4(s,u){return s&&s.length?nc(s,cr(u,2),li):t}var o4=mt(function(s,u){return s*u},1),i4=di("round"),s4=mt(function(s,u){return s-u},0);function a4(s){return s&&s.length?He(s,Ri):0}function l4(s,u){return s&&s.length?He(s,cr(u,2)):0}return Y.after=I_,Y.ary=Kv,Y.assign=v3,Y.assignIn=u0,Y.assignInWith=Ph,Y.assignWith=y3,Y.at=b3,Y.before=Xv,Y.bind=xg,Y.bindAll=_A,Y.bindKey=Jv,Y.castArray=H_,Y.chain=Gv,Y.chunk=XC,Y.compact=JC,Y.concat=QC,Y.cond=AA,Y.conforms=EA,Y.constant=Tg,Y.countBy=a_,Y.create=x3,Y.curry=Qv,Y.curryRight=e0,Y.debounce=t0,Y.defaults=w3,Y.defaultsDeep=C3,Y.defer=M_,Y.delay=L_,Y.difference=eS,Y.differenceBy=tS,Y.differenceWith=rS,Y.drop=nS,Y.dropRight=oS,Y.dropRightWhile=iS,Y.dropWhile=sS,Y.fill=aS,Y.filter=c_,Y.flatMap=f_,Y.flatMapDeep=h_,Y.flatMapDepth=p_,Y.flatten=qv,Y.flattenDeep=lS,Y.flattenDepth=cS,Y.flip=D_,Y.flow=kA,Y.flowRight=RA,Y.fromPairs=uS,Y.functions=R3,Y.functionsIn=I3,Y.groupBy=g_,Y.initial=fS,Y.intersection=hS,Y.intersectionBy=pS,Y.intersectionWith=gS,Y.invert=L3,Y.invertBy=D3,Y.invokeMap=v_,Y.iteratee=kg,Y.keyBy=y_,Y.keys=Ro,Y.keysIn=ki,Y.map=Ih,Y.mapKeys=N3,Y.mapValues=P3,Y.matches=IA,Y.matchesProperty=MA,Y.memoize=Lh,Y.merge=B3,Y.mergeWith=d0,Y.method=LA,Y.methodOf=DA,Y.mixin=Rg,Y.negate=Dh,Y.nthArg=NA,Y.omit=j3,Y.omitBy=F3,Y.once=O_,Y.orderBy=b_,Y.over=PA,Y.overArgs=N_,Y.overEvery=BA,Y.overSome=jA,Y.partial=wg,Y.partialRight=r0,Y.partition=x_,Y.pick=z3,Y.pickBy=f0,Y.property=b0,Y.propertyOf=FA,Y.pull=bS,Y.pullAll=Uv,Y.pullAllBy=xS,Y.pullAllWith=wS,Y.pullAt=CS,Y.range=zA,Y.rangeRight=$A,Y.rearg=P_,Y.reject=S_,Y.remove=SS,Y.rest=B_,Y.reverse=yg,Y.sampleSize=A_,Y.set=H3,Y.setWith=q3,Y.shuffle=E_,Y.slice=_S,Y.sortBy=R_,Y.sortedUniq=MS,Y.sortedUniqBy=LS,Y.split=fA,Y.spread=j_,Y.tail=DS,Y.take=OS,Y.takeRight=NS,Y.takeRightWhile=PS,Y.takeWhile=BS,Y.tap=JS,Y.throttle=F_,Y.thru=Rh,Y.toArray=a0,Y.toPairs=h0,Y.toPairsIn=p0,Y.toPath=VA,Y.toPlainObject=c0,Y.transform=W3,Y.unary=z_,Y.union=jS,Y.unionBy=FS,Y.unionWith=zS,Y.uniq=$S,Y.uniqBy=HS,Y.uniqWith=qS,Y.unset=U3,Y.unzip=bg,Y.unzipWith=Vv,Y.update=V3,Y.updateWith=G3,Y.values=Sd,Y.valuesIn=Z3,Y.without=WS,Y.words=v0,Y.wrap=$_,Y.xor=US,Y.xorBy=VS,Y.xorWith=GS,Y.zip=ZS,Y.zipObject=YS,Y.zipObjectDeep=KS,Y.zipWith=XS,Y.entries=h0,Y.entriesIn=p0,Y.extend=u0,Y.extendWith=Ph,Rg(Y,Y),Y.add=ZA,Y.attempt=y0,Y.camelCase=J3,Y.capitalize=g0,Y.ceil=YA,Y.clamp=Y3,Y.clone=q_,Y.cloneDeep=U_,Y.cloneDeepWith=V_,Y.cloneWith=W_,Y.conformsTo=G_,Y.deburr=m0,Y.defaultTo=TA,Y.divide=KA,Y.endsWith=Q3,Y.eq=Ks,Y.escape=eA,Y.escapeRegExp=tA,Y.every=l_,Y.find=u_,Y.findIndex=$v,Y.findKey=S3,Y.findLast=d_,Y.findLastIndex=Hv,Y.findLastKey=_3,Y.floor=XA,Y.forEach=Zv,Y.forEachRight=Yv,Y.forIn=A3,Y.forInRight=E3,Y.forOwn=T3,Y.forOwnRight=k3,Y.get=_g,Y.gt=Z_,Y.gte=Y_,Y.has=M3,Y.hasIn=Ag,Y.head=Wv,Y.identity=Ri,Y.includes=m_,Y.indexOf=dS,Y.inRange=K3,Y.invoke=O3,Y.isArguments=_u,Y.isArray=Sr,Y.isArrayBuffer=K_,Y.isArrayLike=Ti,Y.isArrayLikeObject=Qn,Y.isBoolean=X_,Y.isBuffer=bc,Y.isDate=J_,Y.isElement=Q_,Y.isEmpty=e3,Y.isEqual=t3,Y.isEqualWith=r3,Y.isError=Cg,Y.isFinite=n3,Y.isFunction=El,Y.isInteger=n0,Y.isLength=Oh,Y.isMap=o0,Y.isMatch=o3,Y.isMatchWith=i3,Y.isNaN=s3,Y.isNative=a3,Y.isNil=c3,Y.isNull=l3,Y.isNumber=i0,Y.isObject=Pn,Y.isObjectLike=Wn,Y.isPlainObject=Mf,Y.isRegExp=Sg,Y.isSafeInteger=u3,Y.isSet=s0,Y.isString=Nh,Y.isSymbol=Xi,Y.isTypedArray=Cd,Y.isUndefined=d3,Y.isWeakMap=f3,Y.isWeakSet=h3,Y.join=mS,Y.kebabCase=rA,Y.last=ws,Y.lastIndexOf=vS,Y.lowerCase=nA,Y.lowerFirst=oA,Y.lt=p3,Y.lte=g3,Y.max=JA,Y.maxBy=QA,Y.mean=e4,Y.meanBy=t4,Y.min=r4,Y.minBy=n4,Y.stubArray=Mg,Y.stubFalse=Lg,Y.stubObject=HA,Y.stubString=qA,Y.stubTrue=WA,Y.multiply=o4,Y.nth=yS,Y.noConflict=OA,Y.noop=Ig,Y.now=Mh,Y.pad=iA,Y.padEnd=sA,Y.padStart=aA,Y.parseInt=lA,Y.random=X3,Y.reduce=w_,Y.reduceRight=C_,Y.repeat=cA,Y.replace=uA,Y.result=$3,Y.round=i4,Y.runInContext=Te,Y.sample=__,Y.size=T_,Y.snakeCase=dA,Y.some=k_,Y.sortedIndex=AS,Y.sortedIndexBy=ES,Y.sortedIndexOf=TS,Y.sortedLastIndex=kS,Y.sortedLastIndexBy=RS,Y.sortedLastIndexOf=IS,Y.startCase=hA,Y.startsWith=pA,Y.subtract=s4,Y.sum=a4,Y.sumBy=l4,Y.template=gA,Y.times=UA,Y.toFinite=Tl,Y.toInteger=Ir,Y.toLength=l0,Y.toLower=mA,Y.toNumber=Cs,Y.toSafeInteger=m3,Y.toString=an,Y.toUpper=vA,Y.trim=yA,Y.trimEnd=bA,Y.trimStart=xA,Y.truncate=wA,Y.unescape=CA,Y.uniqueId=GA,Y.upperCase=SA,Y.upperFirst=Eg,Y.each=Zv,Y.eachRight=Yv,Y.first=Wv,Rg(Y,function(){var s={};return Wo(Y,function(u,x){Vr.call(Y.prototype,x)||(s[x]=u)}),s}(),{chain:!1}),Y.VERSION=n,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){Y[s].placeholder=Y}),Yn(["drop","take"],function(s,u){Cr.prototype[s]=function(x){x=x===t?1:fn(Ir(x),0);var L=this.__filtered__&&!u?new Cr(this):this.clone();return L.__filtered__?L.__takeCount__=Nn(x,L.__takeCount__):L.__views__.push({size:Nn(x,ie),type:s+(L.__dir__<0?"Right":"")}),L},Cr.prototype[s+"Right"]=function(x){return this.reverse()[s](x).reverse()}}),Yn(["filter","map","takeWhile"],function(s,u){var x=u+1,L=x==ee||x==ne;Cr.prototype[s]=function(U){var re=this.clone();return re.__iteratees__.push({iteratee:cr(U,3),type:x}),re.__filtered__=re.__filtered__||L,re}}),Yn(["head","last"],function(s,u){var x="take"+(u?"Right":"");Cr.prototype[s]=function(){return this[x](1).value()[0]}}),Yn(["initial","tail"],function(s,u){var x="drop"+(u?"":"Right");Cr.prototype[s]=function(){return this.__filtered__?new Cr(this):this[x](1)}}),Cr.prototype.compact=function(){return this.filter(Ri)},Cr.prototype.find=function(s){return this.filter(s).head()},Cr.prototype.findLast=function(s){return this.reverse().find(s)},Cr.prototype.invokeMap=wr(function(s,u){return typeof s=="function"?new Cr(this):this.map(function(x){return _i(x,s,u)})}),Cr.prototype.reject=function(s){return this.filter(Dh(cr(s)))},Cr.prototype.slice=function(s,u){s=Ir(s);var x=this;return x.__filtered__&&(s>0||u<0)?new Cr(x):(s<0?x=x.takeRight(-s):s&&(x=x.drop(s)),u!==t&&(u=Ir(u),x=u<0?x.dropRight(-u):x.take(u-s)),x)},Cr.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},Cr.prototype.toArray=function(){return this.take(ie)},Wo(Cr.prototype,function(s,u){var x=/^(?:filter|find|map|reject)|While$/.test(u),L=/^(?:head|last)$/.test(u),U=Y[L?"take"+(u=="last"?"Right":""):u],re=L||/^find/.test(u);U&&(Y.prototype[u]=function(){var ye=this.__wrapped__,Ce=L?[1]:arguments,Oe=ye instanceof Cr,ut=Ce[0],ft=Oe||Sr(ye),Ct=function(zr){var qr=U.apply(Y,Bo([zr],Ce));return L&&Bt?qr[0]:qr};ft&&x&&typeof ut=="function"&&ut.length!=1&&(Oe=ft=!1);var Bt=this.__chain__,er=!!this.__actions__.length,dr=re&&!Bt,Dr=Oe&&!er;if(!re&&ft){ye=Dr?ye:new Cr(this);var fr=s.apply(ye,Ce);return fr.__actions__.push({func:Rh,args:[Ct],thisArg:t}),new lo(fr,Bt)}return dr&&Dr?s.apply(this,Ce):(fr=this.thru(Ct),dr?L?fr.value()[0]:fr.value():fr)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(s){var u=Zl[s],x=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",L=/^(?:pop|shift)$/.test(s);Y.prototype[s]=function(){var U=arguments;if(L&&!this.__chain__){var re=this.value();return u.apply(Sr(re)?re:[],U)}return this[x](function(ye){return u.apply(Sr(ye)?ye:[],U)})}}),Wo(Cr.prototype,function(s,u){var x=Y[u];if(x){var L=x.name+"";Vr.call(Ps,L)||(Ps[L]=[]),Ps[L].push({name:u,func:x})}}),Ps[Pe(t,A).name]=[{name:"wrapper",func:t}],Cr.prototype.clone=Ql,Cr.prototype.reverse=fl,Cr.prototype.value=ec,Y.prototype.at=QS,Y.prototype.chain=e_,Y.prototype.commit=t_,Y.prototype.next=r_,Y.prototype.plant=o_,Y.prototype.reverse=i_,Y.prototype.toJSON=Y.prototype.valueOf=Y.prototype.value=s_,Y.prototype.first=Y.prototype.head,si&&(Y.prototype[si]=n_),Y},zi=Gl();nn?((nn.exports=zi)._=zi,Rr._=zi):gr._=zi}).call(g4)}(Ff,Ff.exports)),Ff.exports}var Od=m4();const qa=of(Od),v4=r=>{try{return JSON.parse(r)}catch{return}},y4=(r,e)=>JSON.stringify(r,null,e),b4=r=>Object.keys(r),x4=r=>Object.values(r),w4=r=>Object.entries(r),C4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},S4=(r,e)=>Object.keys(r).includes(e),_4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),A4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),E4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),vx=r=>C.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(vx),T4=(r,e)=>qa.isEqual(r,e),or={equal:T4,parse:v4,stringify:y4,keys:b4,values:x4,entries:w4,forEach:C4,hasKey:S4,map:_4,some:A4,find:E4,isReactNode:vx},yx="_NoSelect_29290_1",bx="_NoTransition_29290_6",xx="_IsFixedShape_29290_10",wx="_IsCursorPointer_29290_15",Cx="_IsInteractive_29290_19",xc={NoSelect:yx,NoTransition:bx,IsFixedShape:xx,IsCursorPointer:wx,IsInteractive:Cx},k4="_Display1_11vgm_1",R4="_Display2_11vgm_6",I4="_Title1_11vgm_11",M4="_Title2_11vgm_16",L4="_Title3_11vgm_21",D4="_Headline1_11vgm_26",O4="_Headline2_11vgm_31",N4="_Body1Normal_11vgm_36",P4="_Body1Reading_11vgm_41",B4="_Label1_11vgm_46",j4="_Label2_11vgm_51",F4="_Caption1_11vgm_56",z4="_Caption2_11vgm_61",$4="_Regular_11vgm_66",H4="_Medium_11vgm_70",q4="_SemiBold_11vgm_74",W4="_Bold_11vgm_78",Vo={Display1:k4,Display2:R4,Title1:I4,Title2:M4,Title3:L4,Headline1:D4,Headline2:O4,Body1Normal:N4,Body1Reading:P4,Label1:B4,Label2:j4,Caption1:F4,Caption2:z4,Regular:$4,Medium:H4,SemiBold:q4,Bold:W4};function A0(...r){return r.filter(Boolean).join(" ")}const Sx={NoSelect:xc.NoSelect,NoTransition:xc.NoTransition,IsClickable:A0(xc.NoSelect,xc.IsCursorPointer,xc.IsFixedShape),IsInteractive:A0(xc.NoSelect,xc.IsCursorPointer,xc.IsInteractive)},_x={Display1:Vo.Display1,Display2:Vo.Display2,Title1:Vo.Title1,Title2:Vo.Title2,Title3:Vo.Title3,Headline1:Vo.Headline1,Headline2:Vo.Headline2,Body1Normal:Vo.Body1Normal,Body1Reading:Vo.Body1Reading,Label1:Vo.Label1,Label2:Vo.Label2,Caption1:Vo.Caption1,Caption2:Vo.Caption2,Regular:Vo.Regular,Medium:Vo.Medium,SemiBold:Vo.SemiBold,Bold:Vo.Bold};let O1={};const Qf={...Sx,..._x,...O1};let N1=or.keys(Qf);function U4(){Object.assign(Qf,O1),N1=or.keys(Qf)}function V4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];N1.includes(n)&&(n=Qf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function G4(r,...e){const t=[],n=or.keys(r);for(let o=0;o<e.length;o++){let i=e[o];N1.includes(i)?i=Qf[i]:n.includes(i)&&(i=r[i]),typeof i=="string"&&i!==""&&t.push(i)}return t.join(" ")}const Ze={clsx:V4,sclsx:G4,classes:Sx,typographies:_x,additionalClasses:O1,updateKeys:U4},Go={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},gt=(r,e=Go.md)=>{const t=Go[r],n=t/e,o={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const i=(e-t)/2;return{...o,viewBox:`${i} ${i} ${t} ${t}`,transform:`scale(${n})`}}return o},_d=(r,e=Go.md)=>{const t=Go[r],n=40,o=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(o<0){const a=(e-t)/2;return{...i,viewBox:`${a} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${o})`}}return i},bn=(r,e=2)=>({fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round"}),ln=r=>{const{icon:e,style:t,svgRef:n,...o}=r,i=C.useMemo(()=>Wp[e],[e]);return S.jsx(i,{...o,style:{...t,flexShrink:0}})},Z4=r=>{const e=or.keys(r);return n=>{const{icon:o,svgRef:i,...a}=n,c=C.useMemo(()=>e.includes(o)?r[o]:Wp[o],[o]);return S.jsx(c,{...a})}},Wp=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})})},ArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},Chat:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 17.17 18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},"Check.Checked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:n,...i,ref:o,children:[S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),S.jsx("path",{d:"M6.25009 10.4324L4.22884 8.41116C4.00148 8.1838 3.63305 8.18315 3.40489 8.40971V8.40971C3.17558 8.6374 3.17492 9.00808 3.40343 9.23658L5.54298 11.3761C5.93351 11.7667 6.56667 11.7667 6.9572 11.3761L12.8387 5.49459C13.0659 5.26741 13.0659 4.89908 12.8387 4.6719V4.6719C12.6116 4.44479 12.2435 4.4447 12.0162 4.6717L6.25009 10.4324Z",fill:t})]})},"Check.Indeterminate":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:n,...i,ref:o,children:[S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"}),S.jsx("rect",{fill:t,height:"1",width:"10",x:"3",y:"7"})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:n,...i,ref:o,children:S.jsx("rect",{height:"15",rx:"1.5",stroke:t,width:"15",x:"0.5",y:"0.5"})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})})},ClipBoard:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})})},Close:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Document:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"})})},Menu:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})})},PersonOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),S.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Search:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})})},Send:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})},Spinner:(r={})=>{const{size:e="3xl",primaryColor:t="var(--label-strong)",secondaryColor:n="var(--elevation-10)",svgRef:o,...i}=r,a=Go["3xl"];return S.jsxs("svg",{...gt(e,a),fill:"none",strokeWidth:"12",...i,ref:o,children:[S.jsx("circle",{cx:"32",cy:"32",r:"22",stroke:n,style:{...i.style,transition:"stroke var(--Transition)"}}),S.jsx("path",{d:"M10 32C10 29.1109 10.569 26.2501 11.6746 23.581C12.7803 20.9118 14.4008 18.4865 16.4437 16.4436C18.4865 14.4008 20.9118 12.7803 23.581 11.6747C26.2501 10.569 29.1109 10 32 10",stroke:t,style:{...i.style,transition:"stroke var(--Transition)"},children:S.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",calcMode:"spline",dur:"1s",from:"0 32 32",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1",repeatCount:"indefinite",to:"360 32 32",type:"rotate"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2z"})})},TriangleAlert2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),S.jsx("line",{x1:"12",x2:"12",y1:"9",y2:"13"}),S.jsx("line",{x1:"12",x2:"12.01",y1:"17",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,28),...bn(t),strokeWidth:1,...i,ref:o,children:[S.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),S.jsx("path",{d:"M21.1213 21.1213L19 19"}),S.jsx("path",{d:"M24 14L21 14"}),S.jsx("path",{d:"M9.12132 19L7 21.1213"}),S.jsx("path",{d:"M14 21L14 24"}),S.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),S.jsx("path",{d:"M4 14L7 14"}),S.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),S.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,28),...i,ref:o,children:[S.jsx("mask",{fill:n,id:"path-1-inside-1_640_3082",children:S.jsx("path",{clipRule:"evenodd",d:"M23 14.9271C21.7297 16.1977 19.9746 16.9836 18.036 16.9836C14.1593 16.9836 11.0167 13.841 11.0167 9.96435C11.0167 8.02554 11.8027 6.27032 13.0735 5C8.53643 5.47528 5 9.31228 5 13.9753C5 18.9595 9.04054 23 14.0248 23C18.6876 23 22.5244 19.4639 23 14.9271Z",fillRule:"evenodd"})}),S.jsx("path",{d:"M23 14.9271L23.9945 15.0313L24.2889 12.2235L22.2928 14.2201L23 14.9271ZM13.0735 5L13.7805 5.70724L15.7772 3.71131L12.9694 4.00544L13.0735 5ZM22.2928 14.2201C21.2024 15.3108 19.6987 15.9836 18.036 15.9836V17.9836C20.2505 17.9836 22.257 17.0846 23.7072 15.6341L22.2928 14.2201ZM18.036 15.9836C14.7116 15.9836 12.0167 13.2887 12.0167 9.96435H10.0167C10.0167 14.3933 13.607 17.9836 18.036 17.9836V15.9836ZM12.0167 9.96435C12.0167 8.30147 12.6897 6.79768 13.7805 5.70724L12.3666 4.29276C10.9158 5.74295 10.0167 7.7496 10.0167 9.96435H12.0167ZM6 13.9753C6 9.8296 9.14442 6.41706 13.1777 5.99456L12.9694 4.00544C7.92844 4.5335 4 8.79496 4 13.9753H6ZM14.0248 22C9.59282 22 6 18.4072 6 13.9753H4C4 19.5118 8.48825 24 14.0248 24V22ZM22.0054 14.8228C21.5827 18.8559 18.1703 22 14.0248 22V24C19.2049 24 23.4662 20.0719 23.9945 15.0313L22.0054 14.8228Z",fill:t,mask:"url(#path-1-inside-1_640_3082)"})]})},CCTV:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:o,...i}=r,a=Go["2xs"];return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("rect",{fill:t,height:"5",width:"1",x:"1",y:"5"}),S.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),S.jsx("rect",{fill:t,height:"3",transform:"rotate(45 5.12132 2)",width:"5.13925",x:"5.12132",y:"2"}),S.jsx("rect",{fill:t,height:"2.19393",transform:"rotate(45 8.83633 6.28503)",width:"1",x:"8.83633",y:"6.28503"}),S.jsx("clipPath",{id:"clip0_2241_2464",children:S.jsx("rect",{fill:n,height:"12",width:"12"})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"})})},KeyboardArrowUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})},KeyboardArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Alert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="var(--background-normal)",svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:n,...i,ref:o,children:S.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[S.jsx("path",{d:"M11.1238 2.59312C11.5037 1.90234 12.4963 1.90234 12.8762 2.59312L22.1849 19.5181C22.5515 20.1845 22.0693 21 21.3087 21H2.69127C1.93067 21 1.44851 20.1845 1.81506 19.5181L11.1238 2.59312Z",fill:t}),S.jsx("path",{d:"M12.8169 8H11.1691L11.2958 15.0451H12.6902L12.8169 8ZM11.0001 17.0287C10.993 17.5622 11.4508 17.9932 12 18C12.5423 17.9932 12.993 17.5622 13 17.0287C12.993 16.4952 12.5423 16.0575 12 16.0575C11.4508 16.0575 10.993 16.4952 11.0001 17.0287Z",fill:n,style:{...i.style,transition:"fill var(--Transition)"}})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:"none",...i,ref:o,children:S.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsx("svg",{...gt(e,a),fill:"none",...i,ref:o,children:S.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),fill:"none",...i,ref:o,children:[S.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),S.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t,opacity:"0.2"})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t,opacity:"0.2"}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),...i,ref:o,children:[S.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),S.jsx("path",{d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},Favorite:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},FavoriteDisabled:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),fill:n,strokeWidth:"1",...i,ref:o,children:S.jsx("path",{d:"M12 4L13.7961 9.52786H19.6085L14.9062 12.9443L16.7023 18.4721L12 15.0557L7.29772 18.4721L9.09383 12.9443L4.39155 9.52786H10.2039L12 4Z"})})},Main:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t,svgRef:n,...o}=r;return S.jsxs("svg",{height:"84",viewBox:"0 0 118 84",width:"118",...o,ref:n,children:[S.jsx("path",{clipRule:"evenodd",d:"M66.0843 0.94382H8.51123C4.34117 0.94382 0.960666 4.32432 0.960666 8.49438V49.0787C0.960666 53.77 4.76373 57.573 9.45505 57.573H66.0843C70.7756 57.573 74.5787 53.77 74.5787 49.0787V9.4382C74.5787 4.74688 70.7756 0.94382 66.0843 0.94382ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M108.556 26.4272H51.927C47.2357 26.4272 43.4326 30.2302 43.4326 34.9216V74.562C43.4326 79.2533 47.2357 83.0564 51.927 83.0564H108.556C113.248 83.0564 117.051 79.2533 117.051 74.562V34.9216C117.051 30.2302 113.248 26.4272 108.556 26.4272ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M66.0843 1.88764H8.51123C4.86243 1.88764 1.90449 4.84558 1.90449 8.49438V49.0787C1.90449 53.2487 5.28499 56.6292 9.45505 56.6292H66.0843C70.2543 56.6292 73.6348 53.2487 73.6348 49.0787V9.4382C73.6348 5.26814 70.2543 1.88764 66.0843 1.88764ZM8.51123 0C3.81991 0 0.0168457 3.80306 0.0168457 8.49438V49.0787C0.0168457 54.2912 4.24247 58.5169 9.45505 58.5169H66.0843C71.2968 58.5169 75.5225 54.2912 75.5225 49.0787V9.4382C75.5225 4.22563 71.2968 0 66.0843 0H8.51123Z",fill:e,fillRule:"evenodd"}),S.jsx("path",{clipRule:"evenodd",d:"M108.556 27.371H51.927C47.7569 27.371 44.3764 30.7515 44.3764 34.9216V74.562C44.3764 78.7321 47.7569 82.1126 51.927 82.1126H108.556C112.726 82.1126 116.107 78.7321 116.107 74.562V34.9216C116.107 30.7515 112.726 27.371 108.556 27.371ZM51.927 25.4834C46.7144 25.4834 42.4888 29.709 42.4888 34.9216V74.562C42.4888 79.7746 46.7144 84.0002 51.927 84.0002H108.556C113.769 84.0002 117.994 79.7746 117.994 74.562V34.9216C117.994 29.709 113.769 25.4834 108.556 25.4834H51.927Z",fill:e,fillRule:"evenodd"})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...o}=r;return S.jsx("svg",{fill:t,height:"1112",viewBox:"0 0 1482 1112",width:"1482",...o,ref:n,children:S.jsxs("g",{children:[S.jsx("path",{d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",opacity:"0.22",stroke:e}),S.jsx("path",{d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",opacity:"0.48",stroke:e}),S.jsx("path",{d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",opacity:"0.74",stroke:e}),S.jsx("path",{d:"M1082.91 1111.17L0.667969 880.19V231.81L1082.91 0.829102V1111.17Z",stroke:e})]})})},FileDownload:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"})})},File:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V7L15 2ZM6 20V4H14V8H18V20H6ZM16 10V15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V8.5C8 7.03 9.26 5.86 10.76 6.01C12.06 6.14 13 7.33 13 8.64V15H11V8.5C11 8.22 10.78 8 10.5 8C10.22 8 10 8.22 10 8.5V15C10 16.1 10.9 17 12 17C13.1 17 14 16.1 14 15V10H16Z"})})},File2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),S.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),overflow:"hidden",strokeWidth:"0.5",...i,ref:o,children:[S.jsx("path",{d:"M7.85 9.679C7.92 9.747 8.03 9.745 8.1 9.674 8.17 9.606 8.17 9.497 8.1 9.428L6.84 8.17 8.17 6.844 9.43 8.103C9.5 8.171 9.61 8.169 9.68 8.098 9.75 8.03 9.75 7.921 9.68 7.852L8.42 6.594 9.39 5.629 8.13 4.377C7.15 3.389 5.56 3.335 4.51 4.254L4.13 3.857C3.29 2.997 2.15 2.511 0.95 2.508L0.35 2.508 0.35 2.862 0.95 2.862C2.05 2.865 3.11 3.312 3.87 4.104L4.26 4.504C3.34 5.555 3.39 7.143 4.38 8.133L5.63 9.385 6.59 8.42ZM4.63 7.883C3.73 6.984 3.73 5.526 4.63 4.627 5.53 3.728 6.98 3.728 7.88 4.627L8.88 5.629 5.63 8.885Z",fill:t,stroke:t}),S.jsx("path",{d:"M16.06 14.167C15.01 14.169 13.99 13.758 13.23 13.021L12.78 12.58C13.69 11.529 13.64 9.946 12.65 8.959L11.4 7.707 7.64 11.464 8.9 12.716C9.89 13.707 11.47 13.757 12.52 12.831L12.99 13.276C13.81 14.076 14.91 14.523 16.06 14.521L16.65 14.521 16.65 14.167ZM9.15 12.465 8.14 11.464 11.4 8.208 12.4 9.21C13.31 10.104 13.31 11.562 12.42 12.466 11.53 13.369 10.07 13.377 9.16 12.483 9.16 12.477 9.15 12.471 9.15 12.465Z",fill:t,stroke:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r,a=Go.xs;return S.jsxs("svg",{...gt(e,a),overflow:"hidden",strokeWidth:"0.166718",...i,ref:o,children:[S.jsx("path",{d:"M9.81667 8.6C9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.81667 8.6 9.68333 7.41667 8.61667 6.55 7.43333 6.66667 6.65 6.75 5.98333 7.23333 5.66667 7.95L5.96667 8.08333C6.36667 7.15 7.45 6.73333 8.38333 7.13333 8.96667 7.38333 9.36667 7.91667 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55 9.46667 8.55L9.1 8.18333 8.86667 8.41667 9.65 9.2 10.4333 8.41667 10.2 8.18333 9.81667 8.6Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),S.jsx("path",{d:"M7.66667 10.6667C6.75 10.6667 5.98333 10 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1 5.85 9.1L6.21667 9.46667 6.45 9.23333 5.66667 8.43333 4.88333 9.21667 5.11667 9.45 5.5 9.06667C5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.5 9.06667 5.63333 10.25 6.68333 11.1167 7.88333 11 8.66667 10.9167 9.33333 10.4333 9.65 9.71667L9.35 9.58333C9.05 10.2333 8.4 10.6667 7.66667 10.6667Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),S.jsx("path",{d:"M13.4333 7.48333C13.3 6.66667 12.85 5.93333 12.1833 5.45 11.4833 4.96667 10.6333 4.78333 9.8 4.95 9.13333 3.95 8.03333 3.33333 6.83333 3.33333 6.56667 3.33333 6.28333 3.36667 6.01667 3.43333 4.6 3.8 3.53333 4.98333 3.31667 6.43333 2.36667 6.46667 1.5 6.91667 0.933333 7.66667 0.266667 8.6 0.15 9.81667 0.616667 10.8667 1.1 11.9 2.1 12.5833 3.23333 12.65L4.45 12.65 11.3667 12.6667 13.1333 12.6667C14.5667 12.6333 15.7 11.4333 15.6667 10 15.6333 8.71667 14.6833 7.66667 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333 13.4333 7.48333ZM15.3333 10.2C15.25 11.3667 14.3 12.3 13.1333 12.3333L11.3667 12.3333 4.45 12.3167 3.25 12.3167C2.25 12.25 1.35 11.65 0.933333 10.7333 0.5 9.8 0.6 8.7 1.2 7.86667 1.71667 7.2 2.48333 6.8 3.33333 6.76667L3.61667 6.75 3.65 6.48333C3.85 5.16667 4.81667 4.1 6.1 3.75 6.33333 3.7 6.58333 3.66667 6.83333 3.66667 7.91667 3.66667 8.93333 4.21667 9.51667 5.13333L9.63333 5.31667 9.85 5.26667C10.5833 5.11667 11.35 5.28333 11.9667 5.71667 12.5667 6.15 12.9667 6.8 13.0833 7.53333L13.1167 7.76667 13.35 7.8C14.55 7.98333 15.3833 9.01667 15.3333 10.2L15.3333 10.2Z",fill:t,stroke:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"})})},DateRange:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"})})},PlayArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"})})},MailOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),S.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),S.jsx("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})},Download:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"})})},FolderPost:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"})})},FolderOpen:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"})})},FolderCopy:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),S.jsx("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})]})},FolderAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})})},FolderMove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"})})},FirstPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),S.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})})},NavigateBefore:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})},NavigateNext:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})})},ListAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"})})},ListRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 10H3v2h11v-2zm0-4H3v2h11V6zM3 16h7v-2H3v2zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59 14.41 22z"})})},Cancel:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})})},Article:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"})})},Info:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M11,7h2v2h-2V7z M11,11h2v6h-2V11z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20 c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"})})},Type:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),S.jsx("line",{x1:"9",x2:"15",y1:"20",y2:"20"}),S.jsx("line",{x1:"12",x2:"12",y1:"4",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m2 2v2h3v3h2v-3h3v-2h-3V7h-2v3zM1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},CheckNormal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:t})})},Create:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})})},PersonRemove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m3 2v2h6v-2zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4"})})},Refresh:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"})})},Undo:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"})})},Return:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M4 15L3.46967 14.4697C3.17678 14.7626 3.17678 15.2374 3.46967 15.5303L4 15ZM7.53033 12.5303C7.82322 12.2374 7.82322 11.7626 7.53033 11.4697C7.23744 11.1768 6.76256 11.1768 6.46967 11.4697L7.53033 12.5303ZM6.46967 18.5303C6.76256 18.8232 7.23744 18.8232 7.53033 18.5303C7.82322 18.2374 7.82322 17.7626 7.53033 17.4697L6.46967 18.5303ZM6.46967 11.4697L3.46967 14.4697L4.53033 15.5303L7.53033 12.5303L6.46967 11.4697ZM3.46967 15.5303L6.46967 18.5303L7.53033 17.4697L4.53033 14.4697L3.46967 15.5303Z",fill:"#333333"}),S.jsx("path",{d:"M11 5.25C10.5858 5.25 10.25 5.58579 10.25 6C10.25 6.41421 10.5858 6.75 11 6.75V5.25ZM4 14.25C3.58579 14.25 3.25 14.5858 3.25 15C3.25 15.4142 3.58579 15.75 4 15.75V14.25ZM11 6.75H16V5.25H11V6.75ZM16 15.75C17.3742 15.75 18.5687 15.0388 19.3991 14.0651C20.2284 13.0926 20.75 11.7983 20.75 10.5H19.25C19.25 11.4109 18.8762 12.3665 18.2577 13.0918C17.6404 13.8157 16.835 14.25 16 14.25V15.75ZM16 6.75C16.8349 6.75 17.6404 7.18427 18.2577 7.90822C18.8762 8.63348 19.25 9.58913 19.25 10.5H20.75C20.75 9.20173 20.2284 7.90738 19.3991 6.93492C18.5687 5.96116 17.3741 5.25 16 5.25V6.75ZM16 14.25H4V15.75H16V14.25Z",fill:"#333333"})]})},Gear:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},TriangleUp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),...i,ref:o,children:S.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),...bn(t),...i,ref:o,children:S.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})})},Cow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("g",{transform:"scale(0.046875 0.046875)",children:S.jsx("path",{d:"M510.256,187.787c-2.16-7.414-6.118-13.725-11.079-18.567c-7.477-7.3-16.818-11.393-26.211-13.777 c-9.43-2.386-19.109-3.114-28.034-3.124c-7.732,0-14.89,0.562-20.744,1.219h0.016c-4.732,0.531-9.07,1.426-12.788,2.103 c-3.697,0.708-6.821,1.156-8.597,1.136l-0.557-0.042c-0.031-0.167-0.063-0.261-0.094-0.48c-2.63-18.598-4.03-36.864-9.06-55.494 c-5.004-18.619-13.976-37.457-30.986-55.826c-8.07-8.83-17.973-13.454-27.476-13.403c-8.43-0.01-15.98,3.489-21.312,8.779 c-5.337,5.279-8.763,12.517-8.784,20.504c-0.005,3.686,0.88,7.466,2.484,11.028l-0.067,0.031c4.992,13.434,7.794,25.784,7.768,35.719 c0,5.935-0.948,10.955-2.754,15.141c-2.77,6.227-7.196,11.111-15.923,15.193c-8.695,4.019-21.816,6.685-40.06,6.664 c-24.388,0.042-39.4-4.759-47.454-11.039c-4.082-3.155-6.697-6.623-8.529-10.819c-1.807-4.186-2.754-9.206-2.754-15.141 c-0.026-9.935,2.77-22.285,7.768-35.719l-0.068-0.02c1.604-3.582,2.489-7.352,2.485-11.028c-0.021-7.997-3.448-15.235-8.784-20.514 c-5.332-5.29-12.882-8.789-21.311-8.789c-9.502-0.042-19.406,4.571-27.476,13.412c-17.01,18.359-25.982,37.207-30.985,55.826 c-5.035,18.63-6.431,36.896-9.06,55.494c-0.032,0.229-0.063,0.312-0.099,0.48l-0.552,0.042c-1.77,0.02-4.894-0.428-8.596-1.136 c-3.718-0.687-8.055-1.572-12.793-2.103h0.01c-5.836-0.646-13.001-1.208-20.733-1.219c-11.892,0.031-25.143,1.25-37.338,6.134 c-6.087,2.458-11.939,5.904-16.906,10.768c-4.962,4.842-8.919,11.153-11.08,18.567C0.563,191.806,0,196.014,0,200.282 c0.099,18.276,9.836,37.583,27.684,53.817c16.844,15.245,41.243,27.617,72.728,33.24c0.114,0.489,0.223,0.896,0.344,1.458 c1.874,8.664,4.102,25.242,8.247,44.591c6.285,29.115,16.896,65.167,39.16,94.835c11.142,14.798,25.31,27.981,43.201,37.364 c17.879,9.404,39.378,14.902,64.636,14.892c37.978,0.083,67.422-12.58,88.905-31.667c32.281-28.669,47.173-70.136,55.613-104.562 c4.186-17.234,6.706-32.854,8.654-44.225c0.912-5.353,1.708-9.748,2.4-12.674c31.496-5.624,55.9-17.994,72.744-33.25 c17.848-16.234,27.58-35.541,27.684-53.817C512,196.014,511.438,191.806,510.256,187.787z M165.549,59.409 c5.118-5.456,9.022-6.508,11.804-6.55c2.499,0,4.665,1,6.316,2.615c1.651,1.624,2.473,3.696,2.453,5.352l-0.625,2.572 l-0.261,0.522l-0.198,0.541c-5.508,14.923-9.076,29.376-9.101,43.133c0,8.195,1.312,16.192,4.498,23.586 c2.526,5.946,6.404,11.288,11.32,15.912c-7.967-0.167-16.605-0.292-24.993-0.396c-13.745-0.168-26.596-0.25-34.136-0.303 c1.818-14.35,3.453-27.606,6.847-40.05C143.884,90.254,150.908,75.321,165.549,59.409z M318.981,441.844 c-16.234,10.59-36.442,17.276-62.98,17.307c-33.38-0.083-56.795-10.528-74.784-26.315c-12.834-11.267-22.712-25.689-30.455-41.195 c0.901-4.78,3.015-9.133,6.436-13.392c6.935-8.612,19.78-16.308,36.791-21.514c16.974-5.258,37.921-8.122,60.576-8.122 c30.204-0.031,57.394,5.144,76.138,14.1c9.383,4.456,16.584,9.809,21.234,15.536c4.483,5.581,6.706,11.33,6.893,17.994 c-0.625,1.156-1.15,2.364-1.801,3.499C347.508,416.477,335.189,431.243,318.981,441.844z M470.002,238.292 c-14.417,13.058-36.708,24.524-67.495,29.033l-2.374,0.344l-1.994,1.333c-2.578,1.79-3.583,3.53-4.39,4.904 c-1.431,2.708-2.014,4.927-2.702,7.571c-1.203,4.864-2.213,10.954-3.473,18.26c-1.524,8.625-3.428,19.124-6.134,30.576 c-7.247,29.665-20.215,66.061-48.03,91.907c-16.028,14.232-36.169,24.516-64.055,24.466c-21.776,0-40.292-4.969-55.129-12.732 c-14.839-7.742-27.058-18.692-36.544-30.747c-19.038-25.604-28.956-57.424-34.635-85.312c-1.642-8.429-2.642-14.843-3.494-19.853 c-0.693-3.697-1.256-5.834-1.943-7.519c-0.688-1.698-1.743-3.24-4.323-5.03l-1.989-1.333l-2.374-0.344 c-30.788-4.509-53.083-15.975-67.5-29.033c-15.05-13.646-22.688-28.674-22.749-38.01c0-1.625,0.396-3.859,1.057-6.283 c1.261-4.849,3.597-10.709,6.665-16.755c5.97-12.085,14.748-24.971,25.422-36.775c2.188,1.828,4.64,3.501,7.441,4.98 c9.854,5.132,22.406,8.838,35.833,9.723c12.073,0.823,24.653-0.057,35.493-3.755c10.859-3.666,20.146-9.648,26.908-17.71 c6.767-8.081,10.94-18.221,11.255-29.685c0-2.073-0.26-3.948-0.64-5.901c-0.26-1.203-0.484-2.452-0.641-3.667 c-1.78-12.632-5.748-24.661-11.853-37.393c-3.062-6.173-6.634-12.165-9.359-17.301c-0.932-1.801-1.776-3.414-2.552-5.155 c4.911-5.416,10.209-10.13,15.51-14.678c12.045-10.674,23.606-19.829,33.336-26.128c7.47,6.566,14.801,14.498,21.238,23.858 c12.843,18.226,20.273,37.197,25.055,55.19c4.794,17.983,6.636,34.864,9.055,50.801c0.78,4.584,1.35,8.114,2.373,11.554 c0.98,3.229,2.306,6.316,4.664,9.208c2.396,2.892,5.74,5.532,10.96,6.409c1.296,0.219,3.84-0.5,7.683-1.187 c3.838-0.641,8.727-1.448,14.168-1.948c5.423-0.625,11.573-1.036,18.168-1.057c8.92,0,18.659,0.667,28.086,2.807 c9.426,2.141,17.48,6.104,23.654,12.281c3.177,3.093,5.784,6.775,7.579,10.938c1.778,4.141,2.74,8.704,2.74,13.314 C492.688,209.625,485.052,224.646,470.002,238.292z"})})})},CircleAlertOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"10"}),S.jsx("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),S.jsx("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Manager:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),fill:t,...i,ref:o,children:[S.jsx("circle",{cx:"10",cy:"8",r:"4"}),S.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})]})},ManagerOutline:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e,96),...bn(t),...i,ref:o,children:[S.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[S.jsx("path",{d:"M80 84V76C80 71.7565 78.3143 67.6869 75.3137 64.6863C72.3131 61.6857 68.2435 60 64 60V70L48 60L32 70V60C27.7565 60 23.6869 61.6857 20.6863 64.6863C17.6857 67.6869 16 71.7565 16 76V84",strokeWidth:"8"}),S.jsx("path",{d:"M48 44C56.8366 44 64 36.8366 64 28C64 19.1634 56.8366 12 48 12C39.1634 12 32 19.1634 32 28C32 36.8366 39.1634 44 48 44Z",strokeWidth:"8"})]}),S.jsx("defs",{children:S.jsx("clipPath",{id:"clip0_1_3",children:S.jsx("rect",{fill:"white",height:"96",width:"96"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"})})},Equalizer:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1zM8 10v5H6.5v-1.5h-2V15H3v-5c0-.55.45-1 1-1h3c.55 0 1 .45 1 1m-1.5.5h-2V12h2zm7 1.5c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-4V9h4c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1M11 10.5v.75h2v-.75zm2 2.25h-2v.75h2z"})})},Auth:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"})})},AuthAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61M19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2z"})})},Switch:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"})})},Add:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41"})})},EditOff:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"m14.06 9.02.92.92-1.11 1.11 1.41 1.41 2.52-2.52-3.75-3.75-2.52 2.52 1.41 1.41zm6.65-1.98c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75zM2.81 2.81 1.39 4.22l7.32 7.32L3 17.25V21h3.75l5.71-5.71 7.32 7.32 1.41-1.41zM5.92 19H5v-.92l5.13-5.13.92.92z"})})},Delete:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"})})},Save:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})})},Remove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{...gt(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})})},X:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("line",{x1:"18",x2:"6",y1:"6",y2:"18"}),S.jsx("line",{x1:"6",x2:"18",y1:"6",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"1"}),S.jsx("circle",{cx:"12",cy:"5",r:"1"}),S.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("circle",{cx:"12",cy:"12",r:"1"}),S.jsx("circle",{cx:"19",cy:"12",r:"1"}),S.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.708 4.03551C11.4008 3.27361 12.5992 3.27361 13.292 4.03551C14.0105 4.82555 15.0715 5.21174 16.1297 5.06835C17.1502 4.93006 18.0682 5.70033 18.1092 6.72935C18.1518 7.79637 18.7163 8.77423 19.6191 9.34458C20.4898 9.89462 20.6979 11.0747 20.0678 11.8894C19.4146 12.7341 19.2185 13.8461 19.5435 14.8633C19.8569 15.8443 19.2577 16.8821 18.2514 17.1012C17.208 17.3284 16.343 18.0542 15.9381 19.0423C15.5476 19.9952 14.4216 20.4051 13.5099 19.9261C12.5646 19.4294 11.4354 19.4294 10.4901 19.9261C9.57843 20.4051 8.45237 19.9952 8.06187 19.0423C7.65695 18.0542 6.79199 17.3284 5.74857 17.1012C4.7423 16.8821 4.14314 15.8443 4.45654 14.8633C4.7815 13.8461 4.58543 12.7341 3.93215 11.8894C3.30214 11.0747 3.51023 9.89462 4.38087 9.34458C5.28366 8.77423 5.84823 7.79637 5.89077 6.72935C5.9318 5.70033 6.84977 4.93006 7.87028 5.06835C8.92848 5.21174 9.98951 4.82555 10.708 4.03551Z",strokeWidth:"1.5"}),S.jsx("path",{clipRule:"evenodd",d:"M16.5682 10.0607L15.5076 9.00002L11.0719 13.4357L8.56068 10.9244L7.50002 11.9851L11.0719 15.557L12.1326 14.4963L12.1326 14.4963L16.5682 10.0607Z",fill:t,fillRule:"evenodd",strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M10.1531 3.53092C11.1435 2.44181 12.8565 2.44181 13.8469 3.53092V3.53092C14.3994 4.13844 15.2153 4.4354 16.029 4.32514V4.32514C17.4878 4.12747 18.8 5.22853 18.8586 6.69947V6.69947C18.8913 7.51998 19.3255 8.27193 20.0197 8.71052V8.71052C21.2643 9.49677 21.5617 11.1837 20.6611 12.3482V12.3482C20.1588 12.9978 20.008 13.8529 20.2579 14.6351V14.6351C20.7059 16.0374 19.8494 17.5208 18.411 17.834V17.834C17.6086 18.0087 16.9435 18.5668 16.6321 19.3267V19.3267C16.0739 20.6888 14.4643 21.2747 13.1611 20.59V20.59C12.4341 20.2081 11.5659 20.2081 10.8389 20.59V20.59C9.53573 21.2747 7.92608 20.6888 7.36788 19.3267V19.3267C7.05651 18.5668 6.39137 18.0087 5.58901 17.834V17.834C4.1506 17.5208 3.29413 16.0374 3.74211 14.6351V14.6351C3.992 13.8529 3.84122 12.9978 3.33887 12.3482V12.3482C2.43829 11.1837 2.73574 9.49677 3.98029 8.71052V8.71052C4.67452 8.27193 5.10865 7.51998 5.14137 6.69947V6.69947C5.20002 5.22853 6.51221 4.12747 7.97099 4.32514V4.32514C8.78471 4.4354 9.60062 4.13844 10.1531 3.53092V3.53092Z",stroke:"var(--line-normal)",strokeDasharray:"0.75 1.5",strokeLinecap:"round",strokeMiterlimit:"11.4737",strokeWidth:"0.75",style:{...i.style,transition:"stroke var(--Transition)"}}),S.jsx("path",{d:"M16.2224 8.5837L16.4875 8.31854C16.3411 8.17209 16.1037 8.17209 15.9572 8.31854L16.2224 8.5837ZM17.5013 9.86264L17.7665 10.1278C17.9129 9.98136 17.9129 9.74392 17.7665 9.59747L17.5013 9.86264ZM10.8739 13.9322L10.6087 14.1974C10.679 14.2677 10.7744 14.3072 10.8739 14.3072C10.9733 14.3072 11.0687 14.2677 11.139 14.1974L10.8739 13.9322ZM7.84584 10.9042L8.111 10.639C8.04068 10.5687 7.9453 10.5292 7.84584 10.5292C7.74638 10.5292 7.651 10.5687 7.58067 10.639L7.84584 10.9042ZM6.5669 12.1831L6.30174 11.9179C6.15529 12.0644 6.15529 12.3018 6.30174 12.4483L6.5669 12.1831ZM10.8739 16.4901L10.6087 16.7553C10.7552 16.9017 10.9926 16.9017 11.1391 16.7553L10.8739 16.4901ZM12.1528 15.2112L12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L12.1528 15.2112ZM12.1528 15.2111L11.8876 14.946C11.7412 15.0924 11.7412 15.3299 11.8876 15.4763L12.1528 15.2111ZM15.6601 8.61568C15.5136 8.76212 15.5136 8.99956 15.6601 9.14601C15.8065 9.29245 16.044 9.29245 16.1904 9.14601L15.6601 8.61568ZM15.0018 10.3346C15.1483 10.1881 15.1483 9.95068 15.0018 9.80423C14.8554 9.65778 14.618 9.65778 14.4715 9.80423L15.0018 10.3346ZM13.8772 10.3985C13.7308 10.545 13.7308 10.7824 13.8772 10.9288C14.0237 11.0753 14.2611 11.0753 14.4076 10.9288L13.8772 10.3985ZM13.219 12.1174C13.3655 11.9709 13.3655 11.7335 13.219 11.5871C13.0726 11.4406 12.8351 11.4406 12.6887 11.5871L13.219 12.1174ZM12.0944 12.1813C11.948 12.3278 11.948 12.5652 12.0944 12.7117C12.2409 12.8581 12.4783 12.8581 12.6247 12.7117L12.0944 12.1813ZM11.4362 13.9002C11.5826 13.7538 11.5826 13.5163 11.4362 13.3699C11.2897 13.2234 11.0523 13.2234 10.9059 13.3699L11.4362 13.9002ZM10.8867 13.4147C10.7403 13.2683 10.5028 13.2683 10.3564 13.4147C10.2099 13.5611 10.2099 13.7986 10.3564 13.945L10.8867 13.4147ZM9.34703 12.9357C9.49348 13.0821 9.73091 13.0821 9.87736 12.9357C10.0238 12.7892 10.0238 12.5518 9.87736 12.4054L9.34703 12.9357ZM9.37269 11.9007C9.22624 11.7542 8.9888 11.7542 8.84236 11.9007C8.69591 12.0471 8.69591 12.2846 8.84236 12.431L9.37269 11.9007ZM7.83301 11.4217C7.97946 11.5681 8.21689 11.5681 8.36334 11.4217C8.50979 11.2752 8.50979 11.0378 8.36334 10.8913L7.83301 11.4217ZM7.36752 10.8522C7.22107 10.9986 7.22107 11.236 7.36752 11.3825C7.51396 11.5289 7.7514 11.5289 7.89785 11.3825L7.36752 10.8522ZM7.04522 12.2351C7.19167 12.0887 7.19167 11.8512 7.04522 11.7048C6.89878 11.5583 6.66134 11.5583 6.51489 11.7048L7.04522 12.2351ZM6.54101 12.6875C6.68746 12.834 6.9249 12.834 7.07134 12.6875C7.21779 12.5411 7.21779 12.3037 7.07134 12.1572L6.54101 12.6875ZM8.02845 13.1143C7.88201 12.9679 7.64457 12.9679 7.49812 13.1143C7.35168 13.2608 7.35168 13.4982 7.49812 13.6446L8.02845 13.1143ZM7.97668 14.1232C8.12312 14.2697 8.36056 14.2697 8.50701 14.1232C8.65345 13.9768 8.65345 13.7393 8.50701 13.5929L7.97668 14.1232ZM9.46412 14.55C9.31767 14.4035 9.08023 14.4035 8.93379 14.55C8.78734 14.6964 8.78734 14.9339 8.93379 15.0803L9.46412 14.55ZM9.41234 15.5589C9.55879 15.7053 9.79623 15.7053 9.94267 15.5589C10.0891 15.4124 10.0891 15.175 9.94267 15.0285L9.41234 15.5589ZM10.8998 15.9856C10.7533 15.8392 10.5159 15.8392 10.3695 15.9856C10.223 16.1321 10.223 16.3695 10.3695 16.516L10.8998 15.9856ZM11.3522 16.5421C11.4987 16.3957 11.4987 16.1582 11.3522 16.0118C11.2058 15.8653 10.9683 15.8653 10.8219 16.0118L11.3522 16.5421ZM11.6745 15.1591C11.5281 15.3056 11.5281 15.543 11.6745 15.6895C11.821 15.8359 12.0584 15.8359 12.2048 15.6895L11.6745 15.1591ZM12.418 14.946C12.2715 14.7995 12.0341 14.7995 11.8877 14.946C11.7412 15.0924 11.7412 15.3299 11.8877 15.4763L12.418 14.946ZM11.8877 15.4763C12.0341 15.6228 12.2715 15.6228 12.418 15.4763C12.5644 15.3299 12.5644 15.0924 12.418 14.946L11.8877 15.4763ZM12.7151 15.1792C12.8616 15.0327 12.8616 14.7953 12.7151 14.6488C12.5687 14.5024 12.3312 14.5024 12.1848 14.6488L12.7151 15.1792ZM13.3733 13.4603C13.2269 13.6067 13.2269 13.8442 13.3733 13.9906C13.5198 14.1371 13.7572 14.1371 13.9037 13.9906L13.3733 13.4603ZM14.498 13.3963C14.6444 13.2499 14.6444 13.0124 14.498 12.866C14.3515 12.7196 14.1141 12.7196 13.9676 12.866L14.498 13.3963ZM15.1562 11.6774C15.0097 11.8239 15.0097 12.0613 15.1562 12.2078C15.3026 12.3542 15.5401 12.3542 15.6865 12.2078L15.1562 11.6774ZM16.2808 11.6135C16.4272 11.4671 16.4272 11.2296 16.2808 11.0832C16.1343 10.9367 15.8969 10.9367 15.7505 11.0832L16.2808 11.6135ZM16.939 9.89461C16.7926 10.0411 16.7926 10.2785 16.939 10.4249C17.0855 10.5714 17.3229 10.5714 17.4693 10.4249L16.939 9.89461ZM17.5533 9.38432C17.4069 9.23787 17.1694 9.23787 17.023 9.38432C16.8765 9.53076 16.8765 9.7682 17.023 9.91465L17.5533 9.38432ZM16.1704 9.06202C16.3168 9.20847 16.5542 9.20847 16.7007 9.06202C16.8471 8.91558 16.8471 8.67814 16.7007 8.53169L16.1704 9.06202ZM15.9572 8.31854L15.6601 8.61568L16.1904 9.14601L16.4875 8.84887L15.9572 8.31854ZM14.4715 9.80423L13.8772 10.3985L14.4076 10.9288L15.0018 10.3346L14.4715 9.80423ZM12.6887 11.5871L12.0944 12.1813L12.6247 12.7117L13.219 12.1174L12.6887 11.5871ZM10.9059 13.3699L10.6087 13.667L11.139 14.1974L11.4362 13.9002L10.9059 13.3699ZM11.139 13.667L10.8867 13.4147L10.3564 13.945L10.6087 14.1974L11.139 13.667ZM9.87736 12.4054L9.37269 11.9007L8.84236 12.431L9.34703 12.9357L9.87736 12.4054ZM8.36334 10.8913L8.111 10.639L7.58067 11.1693L7.83301 11.4217L8.36334 10.8913ZM7.58067 10.639L7.36752 10.8522L7.89785 11.3825L8.111 11.1693L7.58067 10.639ZM6.51489 11.7048L6.30174 11.9179L6.83207 12.4483L7.04522 12.2351L6.51489 11.7048ZM6.30174 12.4483L6.54101 12.6875L7.07134 12.1572L6.83207 11.9179L6.30174 12.4483ZM7.49812 13.6446L7.97668 14.1232L8.50701 13.5929L8.02845 13.1143L7.49812 13.6446ZM8.93379 15.0803L9.41234 15.5589L9.94267 15.0285L9.46412 14.55L8.93379 15.0803ZM10.3695 16.516L10.6087 16.7553L11.1391 16.2249L10.8998 15.9856L10.3695 16.516ZM11.1391 16.7553L11.3522 16.5421L10.8219 16.0118L10.6087 16.2249L11.1391 16.7553ZM12.2048 15.6895L12.418 15.4763L11.8877 14.946L11.6745 15.1591L12.2048 15.6895ZM12.418 14.946L12.418 14.946L11.8877 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 14.946L12.418 14.946L11.8876 15.4763L11.8877 15.4763L12.418 14.946ZM12.418 15.4763L12.7151 15.1792L12.1848 14.6488L11.8876 14.946L12.418 15.4763ZM13.9037 13.9906L14.498 13.3963L13.9676 12.866L13.3733 13.4603L13.9037 13.9906ZM15.6865 12.2078L16.2808 11.6135L15.7505 11.0832L15.1562 11.6774L15.6865 12.2078ZM17.4693 10.4249L17.7665 10.1278L17.2361 9.59747L16.939 9.89461L17.4693 10.4249ZM17.7665 9.59747L17.5533 9.38432L17.023 9.91465L17.2361 10.1278L17.7665 9.59747ZM16.7007 8.53169L16.4875 8.31854L15.9572 8.84887L16.1704 9.06202L16.7007 8.53169Z",fill:"var(--line-normal)",strokeWidth:0,style:{...i.style,transition:"fill var(--Transition)"}})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),S.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})},Trash:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...bn(t),...i,ref:o,children:[S.jsx("polyline",{points:"3 6 5 6 21 6"}),S.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),S.jsx("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),S.jsx("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M200-560h560v-240H200v240Zm-80 400v-720h720v720H680v-80h80v-240H200v240h80v80H120Zm360-320Zm0-80v80-80Zm0 0ZM440-80v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddRowAbove:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M200-160h560v-240H200v240Zm640 80H120v-720h160v80h-80v240h560v-240h-80v-80h160v720ZM480-480Zm0 80v-80 80Zm0 0Zm-40-240v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M160-760v560h240v-560H160ZM80-120v-720h720v160h-80v-80H480v560h240v-80h80v160H80Zm400-360Zm-80 0h80-80Zm0 0Zm320 120v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},AddColLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M800-200v-560H560v560h240Zm-640 80v-160h80v80h240v-560H240v80h-80v-160h720v720H160Zm320-360Zm80 0h-80 80Zm0 0ZM160-360v-80H80v-80h80v-80h80v80h80v80h-80v80h-80Z"})})},RemoveCol:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsx("svg",{..._d(e),fill:t,...i,ref:o,children:S.jsx("path",{d:"M360-440h240v-80H360v80Zm-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z"})})},RemoveRow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:o,...i}=r;return S.jsxs("svg",{..._d(e),fill:t,...i,ref:o,children:[S.jsx("path",{d:"M360-440h240v-80H360v80Z"}),S.jsx("path",{d:"M-80-120Zm240 0ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v80h-80v-80H200v560h160v-80h80v80q0 33-23.5 56.5T360-120H200Zm400 0q-33 0-56.5-23.5T520-200v-80h80v80h160v-560H600v80h-80v-80q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H600Z",transform:"rotate(90 480 -480)"})]})},Table:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...bn(t),...o,ref:n,children:S.jsx("path",{className:"ql-stroke ql-thick",d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"})})},Minus:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...bn(t),...o,ref:n,children:S.jsx("line",{className:"ql-stroke ql-thick",x1:"5",x2:"19",y1:"12",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:o,...i}=r;return S.jsxs("svg",{...gt(e),...i,ref:o,children:[S.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),S.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsx("svg",{...gt(e),...o,ref:n,children:S.jsx("g",{id:"target",children:S.jsx("path",{d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",fill:t,id:"Vector"})})})},DividerExpand:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t,1.5),...o,ref:n,children:[S.jsx("path",{d:"M4 6V18"}),S.jsx("path",{d:"M8 12H20"}),S.jsx("path",{d:"M12 8L8 12L12 16"})]})},AlignLeft:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"17",x2:"3",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"17",x2:"3",y1:"18",y2:"18"})]})},AlignCenter:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"18",x2:"6",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"18",x2:"6",y1:"18",y2:"18"})]})},AlignRight:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"21",x2:"7",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"21",x2:"7",y1:"18",y2:"18"})]})},AlignJustify:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...o}=r;return S.jsxs("svg",{...gt(e),...bn(t),...o,ref:n,children:[S.jsx("line",{x1:"21",x2:"3",y1:"10",y2:"10"}),S.jsx("line",{x1:"21",x2:"3",y1:"6",y2:"6"}),S.jsx("line",{x1:"21",x2:"3",y1:"14",y2:"14"}),S.jsx("line",{x1:"21",x2:"3",y1:"18",y2:"18"})]})}}),P1=or.keys(Wp),Y4={Ok:"Ok",Cancel:"Cancel"},K4={"select n":r=>S.jsxs(S.Fragment,{children:["Select ",r]}),"deselect n":r=>S.jsxs(S.Fragment,{children:["Deselect ",r]}),"Search(Placeholder)":"Search","Search(Button)":"Search",Items:"Items","*Click row for single select":"*Click row for single select","*Change order to row drag":"*Change order to row drag","Loading Contents...":"Loading Contents..."},X4={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select Date":"Select Date"},J4={weekDays:r=>["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r],months:r=>["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r],"Select DateRange":"Select DateRange","1일":"1 Day","1주일":"1 Week","1개월":"1 Month","3개월":"3 Months"},Q4={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},eE={"Checked n items":r=>S.jsxs(S.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>S.jsxs(S.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>S.jsxs(S.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>S.jsxs(S.Fragment,{children:["Sort by ",r]}),"Sort up":"Sort up","Sort down":"Sort down",Asc:"Asc",Desc:"Desc","Search(Placeholder)":"Search","Search(Button)":"Search","Clear(Button)":"Clear",Select:"Select","Toggle Filter":"Toggle Filter","No Items":"No Items"},tE={"Select(Placeholder)":"Select"},rE={"Select(Placeholder)":"Select"},nE={"Insert Full Width Table":"Insert Full Width Table",Custom:"Custom",Confirm:"Confirm",Cancel:"Cancel","Copy Cell":"Copy Cell","Cut Cell":"Cut Cell",Row:"Row",Column:"Column","Not Positive Number Error":"Please enter a positive integer",perWidthInsufficient:"The table needs to be converted to a fixed width.",Transparent:"Transparent",Clear:"Clear","Insert Column Right":"Insert Column Right","Insert Column Left":"Insert Column Left","Insert Row Top":"Insert Row Top","Insert Row Bottom":"Insert Row Bottom","Delete Column":"Delete Column","Delete Row":"Delete Row","Delete Table":"Delete Table","Set Background Color":"Set Background Color","Set Border Color":"Set Border Color","Switch Table Width":"Switch Table Width","Insert Table Caption":"Insert Table Caption","Merge Cell":"Merge Cell","Split Cell":"Split Cell","Right click to open properties":"Right click to open properties",Default:"Default","Enter link:":"Enter link:","Enter video:":"Enter video:","Visit URL:":"Visit URL:",Save:"Save",Remove:"Remove"},oE={Asterisk:"Required field"},iE={Delete:"Delete","Fail Download":"Fail Download",Download:"Download","Drop file to select":"Drop file to select","Insert File":"Insert File","Download All":"Download All","Delete All":"Delete All","Unsupported file format detected.":"Unsupported file format detected.","Invalid file(s)":"Invalid file(s)","Supported file format(s)":"Supported file format(s)",and:"and","more file(s)":"more file(s)"},sE={Progress:"Progress"},aE={Expand:"Expand",Collapse:"Collapse"},vr={ADialog:Y4,ATree:K4,ADatePicker:X4,ADateRangePicker:J4,AFileBox:Q4,ATable:eE,ASelect:tE,AMultiSelect:rE,AEditor:nE,AWrap:oE,AFileUploader:iE,AProgressBar:sE,ADivideFrame:aE};function lE(r,e){or.keys(e).forEach(t=>{r[t]=e[t]})}const cE=(r,e)=>{lE(vr[r],e)},uE="_AProgressBar_17v9w_1",dE="_Header_17v9w_7",fE="_Percentage_17v9w_13",hE="_BarContainer_17v9w_16",pE="_Bar_17v9w_16",gE="_CustomHeight_17v9w_31",mE="_CustomRadius_17v9w_34",vE="_CustomColor_17v9w_40",wc={AProgressBar:uE,Header:dE,Percentage:fE,BarContainer:hE,Bar:pE,CustomHeight:gE,CustomRadius:mE,CustomColor:vE},Ax=({progress:r=0,backgroundColor:e,color:t,height:n,borderRadius:o,showPercentage:i=!0,style:a,className:c,resources:d,label:h})=>{const p=C.useMemo(()=>({...vr.AProgressBar,...d}),[d]),m=C.useMemo(()=>h??p.Progress,[h,p]),g=Math.min(Math.max(r,0),100),v=C.useMemo(()=>{const E={};return n&&(E["--progress-bar-height"]=`${n}px`),o&&(E["--progress-bar-radius"]=`${o}px`),e&&(E["--progress-bar-background-custom"]=e),t&&(E["--progress-bar-color-custom"]=t),E},[n,o,e,t]),w=C.useMemo(()=>Ze.clsx(wc.AProgressBar,n&&wc.CustomHeight,o&&wc.CustomRadius,(e||t)&&wc.CustomColor,c),[n,o,e,t,c]);return S.jsxs("div",{className:w,style:{...v,...a},children:[S.jsxs("div",{className:wc.Header,children:[S.jsx("div",{className:Ze.clsx("Label1"),children:m}),i&&S.jsxs("div",{className:wc.Percentage,children:[g,"%"]})]}),S.jsx("div",{className:wc.BarContainer,children:S.jsx("div",{className:wc.Bar,style:{width:`${g}%`}})})]})};var Cc={},Au={};/**
|
58
58
|
* @license React
|
59
59
|
* react-dom-server-legacy.browser.production.min.js
|
60
60
|
*
|
@@ -68,7 +68,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
68
68
|
`?R.push(`
|
69
69
|
`,X):R.push(""+X))}return typeof Ne=="string"&&Ne[0]===`
|
70
70
|
`&&R.push(`
|
71
|
-
`),Ne;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":R.push(q($));for(var Cn in X)if(t.call(X,Cn)&&(Ne=X[Cn],Ne!=null))switch(Cn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,$));default:j(R,fe,Cn,Ne)}return R.push("/>"),null;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 G(R,X,$,fe);case"html":return Fe.insertionMode===0&&R.push("<!DOCTYPE html>"),G(R,X,$,fe);default:if($.indexOf("-")===-1&&typeof X.is!="string")return G(R,X,$,fe);R.push(q($)),Xe=Ne=null;for($t in X)if(t.call(X,$t)&&(yt=X[$t],yt!=null))switch($t){case"children":Ne=yt;break;case"dangerouslySetInnerHTML":Xe=yt;break;case"style":P(R,fe,yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a($t)&&typeof yt!="function"&&typeof yt!="symbol"&&R.push(" ",$t,'="',w(yt),'"')}return R.push(">"),W(R,Xe,Ne),Ne}}function ee(R,$,X){if(R.push('<!--$?--><template id="'),X===null)throw Error(e(395));return R.push(X),R.push('"></template>')}function ae(R,$,X,fe){switch(X.insertionMode){case 0:case 1:return R.push('<div hidden id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 2:return R.push('<svg aria-hidden="true" style="display:none" id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 3:return R.push('<math aria-hidden="true" style="display:none" id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 4:return R.push('<table hidden id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 5:return R.push('<table hidden><tbody id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 6:return R.push('<table hidden><tr id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 7:return R.push('<table hidden><colgroup id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');default:throw Error(e(397))}}function ne(R,$){switch($.insertionMode){case 0:case 1:return R.push("</div>");case 2:return R.push("</svg>");case 3:return R.push("</math>");case 4:return R.push("</table>");case 5:return R.push("</tbody></table>");case 6:return R.push("</tr></table>");case 7:return R.push("</colgroup></table>");default:throw Error(e(397))}}var oe=/[<\u2028\u2029]/g;function le(R){return JSON.stringify(R).replace(oe,function($){switch($){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ge(R,$){return $=$===void 0?"":$,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:$+"P:",segmentPrefix:$+"S:",boundaryPrefix:$+"B:",idPrefix:$,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:R}}function te(R,$,X,fe){return X.generateStaticMarkup?(R.push(w($)),!1):($===""?R=fe:(fe&&R.push("<!-- -->"),R.push(w($)),R=!0),R)}var ie=Object.assign,ue=Symbol.for("react.element"),xe=Symbol.for("react.portal"),ke=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),Ae=Symbol.for("react.profiler"),De=Symbol.for("react.provider"),Ge=Symbol.for("react.context"),Ue=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),Me=Symbol.for("react.scope"),tt=Symbol.for("react.debug_trace_mode"),We=Symbol.for("react.legacy_hidden"),et=Symbol.for("react.default_value"),st=Symbol.iterator;function ze(R){if(R==null)return null;if(typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case ke:return"Fragment";case xe:return"Portal";case Ae:return"Profiler";case se:return"StrictMode";case we:return"Suspense";case Se:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case Ge:return(R.displayName||"Context")+".Consumer";case De:return(R._context.displayName||"Context")+".Provider";case Ue:var $=R.render;return R=R.displayName,R||(R=$.displayName||$.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case _e:return $=R.displayName||null,$!==null?$:ze(R.type)||"Memo";case Re:$=R._payload,R=R._init;try{return ze(R($))}catch{}}return null}var Ke={};function bt(R,$){if(R=R.contextTypes,!R)return Ke;var X={},fe;for(fe in R)X[fe]=$[fe];return X}var ht=null;function dt(R,$){if(R!==$){R.context._currentValue2=R.parentValue,R=R.parent;var X=$.parent;if(R===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));dt(R,X)}$.context._currentValue2=$.value}}function St(R){R.context._currentValue2=R.parentValue,R=R.parent,R!==null&&St(R)}function Ve(R){var $=R.parent;$!==null&&Ve($),R.context._currentValue2=R.value}function rt(R,$){if(R.context._currentValue2=R.parentValue,R=R.parent,R===null)throw Error(e(402));R.depth===$.depth?dt(R,$):rt(R,$)}function vt(R,$){var X=$.parent;if(X===null)throw Error(e(402));R.depth===X.depth?dt(R,X):vt(R,X),$.context._currentValue2=$.value}function Tt(R){var $=ht;$!==R&&($===null?Ve(R):R===null?St($):$.depth===R.depth?dt($,R):$.depth>R.depth?rt($,R):vt($,R),ht=R)}var xt={isMounted:function(){return!1},enqueueSetState:function(R,$){R=R._reactInternals,R.queue!==null&&R.queue.push($)},enqueueReplaceState:function(R,$){R=R._reactInternals,R.replace=!0,R.queue=[$]},enqueueForceUpdate:function(){}};function Mt(R,$,X,fe){var Fe=R.state!==void 0?R.state:null;R.updater=xt,R.props=X,R.state=Fe;var Ne={queue:[],replace:!1};R._reactInternals=Ne;var Xe=$.contextType;if(R.context=typeof Xe=="object"&&Xe!==null?Xe._currentValue2:fe,Xe=$.getDerivedStateFromProps,typeof Xe=="function"&&(Xe=Xe(X,Fe),Fe=Xe==null?Fe:ie({},Fe,Xe),R.state=Fe),typeof $.getDerivedStateFromProps!="function"&&typeof R.getSnapshotBeforeUpdate!="function"&&(typeof R.UNSAFE_componentWillMount=="function"||typeof R.componentWillMount=="function"))if($=R.state,typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount(),$!==R.state&&xt.enqueueReplaceState(R,R.state,null),Ne.queue!==null&&0<Ne.queue.length)if($=Ne.queue,Xe=Ne.replace,Ne.queue=null,Ne.replace=!1,Xe&&$.length===1)R.state=$[0];else{for(Ne=Xe?$[0]:R.state,Fe=!0,Xe=Xe?1:0;Xe<$.length;Xe++){var yt=$[Xe];yt=typeof yt=="function"?yt.call(R,Ne,X,fe):yt,yt!=null&&(Fe?(Fe=!1,Ne=ie({},Ne,yt)):ie(Ne,yt))}R.state=Ne}else Ne.queue=null}var Vt={id:1,overflow:""};function Ht(R,$,X){var fe=R.id;R=R.overflow;var Fe=32-hr(fe)-1;fe&=~(1<<Fe),X+=1;var Ne=32-hr($)+Fe;if(30<Ne){var Xe=Fe-Fe%5;return Ne=(fe&(1<<Xe)-1).toString(32),fe>>=Xe,Fe-=Xe,{id:1<<32-hr($)+Fe|X<<Fe|fe,overflow:Ne+R}}return{id:1<<Ne|X<<Fe|fe,overflow:R}}var hr=Math.clz32?Math.clz32:Ee,_r=Math.log,vr=Math.LN2;function Ee(R){return R>>>=0,R===0?32:31-(_r(R)/vr|0)|0}function de(R,$){return R===$&&(R!==0||1/R===1/$)||R!==R&&$!==$}var nt=typeof Object.is=="function"?Object.is:de,qe=null,pt=null,wt=null,_t=null,jt=!1,Ot=!1,ir=0,Ft=null,nr=0;function tr(){if(qe===null)throw Error(e(321));return qe}function it(){if(0<nr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function lt(){return _t===null?wt===null?(jt=!1,wt=_t=it()):(jt=!0,_t=wt):_t.next===null?(jt=!1,_t=_t.next=it()):(jt=!0,_t=_t.next),_t}function At(){pt=qe=null,Ot=!1,wt=null,nr=0,_t=Ft=null}function kt(R,$){return typeof $=="function"?$(R):$}function Lt(R,$,X){if(qe=tr(),_t=lt(),jt){var fe=_t.queue;if($=fe.dispatch,Ft!==null&&(X=Ft.get(fe),X!==void 0)){Ft.delete(fe),fe=_t.memoizedState;do fe=R(fe,X.action),X=X.next;while(X!==null);return _t.memoizedState=fe,[fe,$]}return[_t.memoizedState,$]}return R=R===kt?typeof $=="function"?$():$:X!==void 0?X($):$,_t.memoizedState=R,R=_t.queue={last:null,dispatch:null},R=R.dispatch=rr.bind(null,qe,R),[_t.memoizedState,R]}function qt(R,$){if(qe=tr(),_t=lt(),$=$===void 0?null:$,_t!==null){var X=_t.memoizedState;if(X!==null&&$!==null){var fe=X[1];e:if(fe===null)fe=!1;else{for(var Fe=0;Fe<fe.length&&Fe<$.length;Fe++)if(!nt($[Fe],fe[Fe])){fe=!1;break e}fe=!0}if(fe)return X[0]}}return R=R(),_t.memoizedState=[R,$],R}function rr(R,$,X){if(25<=nr)throw Error(e(301));if(R===qe)if(Ot=!0,R={action:X,next:null},Ft===null&&(Ft=new Map),X=Ft.get($),X===void 0)Ft.set($,R);else{for($=X;$.next!==null;)$=$.next;$.next=R}}function je(){throw Error(e(394))}function Q(){}var me={readContext:function(R){return R._currentValue2},useContext:function(R){return tr(),R._currentValue2},useMemo:qt,useReducer:Lt,useRef:function(R){qe=tr(),_t=lt();var $=_t.memoizedState;return $===null?(R={current:R},_t.memoizedState=R):$},useState:function(R){return Lt(kt,R)},useInsertionEffect:Q,useLayoutEffect:function(){},useCallback:function(R,$){return qt(function(){return R},$)},useImperativeHandle:Q,useEffect:Q,useDebugValue:Q,useDeferredValue:function(R){return tr(),R},useTransition:function(){return tr(),[!1,je]},useId:function(){var R=pt.treeContext,$=R.overflow;R=R.id,R=(R&~(1<<32-hr(R)-1)).toString(32)+$;var X=Le;if(X===null)throw Error(e(404));return $=ir++,R=":"+X.idPrefix+"R"+R,0<$&&(R+="H"+$.toString(32)),R+":"},useMutableSource:function(R,$){return tr(),$(R._source)},useSyncExternalStore:function(R,$,X){if(X===void 0)throw Error(e(407));return X()}},Le=null,ct=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function It(R){return console.error(R),null}function Rt(){}function Qt(R,$,X,fe,Fe,Ne,Xe,yt,Nt){var $t=[],zt=new Set;return $={destination:null,responseState:$,progressiveChunkSize:fe===void 0?12800:fe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:zt,pingedTasks:$t,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Fe===void 0?It:Fe,onAllReady:Rt,onShellReady:Xe===void 0?Rt:Xe,onShellError:Rt,onFatalError:Rt},X=yr($,0,null,X,!1,!1),X.parentFlushed=!0,R=Kt($,R,null,X,zt,Ke,null,Vt),$t.push(R),$}function Kt(R,$,X,fe,Fe,Ne,Xe,yt){R.allPendingTasks++,X===null?R.pendingRootTasks++:X.pendingTasks++;var Nt={node:$,ping:function(){var $t=R.pingedTasks;$t.push(Nt),$t.length===1&&In(R)},blockedBoundary:X,blockedSegment:fe,abortSet:Fe,legacyContext:Ne,context:Xe,treeContext:yt};return Fe.add(Nt),Nt}function yr(R,$,X,fe,Fe,Ne){return{status:0,id:-1,index:$,parentFlushed:!1,chunks:[],children:[],formatContext:fe,boundary:X,lastPushedText:Fe,textEmbedded:Ne}}function pr(R,$){if(R=R.onError($),R!=null&&typeof R!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof R+'" instead');return R}function Tr(R,$){var X=R.onShellError;X($),X=R.onFatalError,X($),R.destination!==null?(R.status=2,R.destination.destroy($)):(R.status=1,R.fatalError=$)}function ur(R,$,X,fe,Fe){for(qe={},pt=$,ir=0,R=X(fe,Fe);Ot;)Ot=!1,ir=0,nr+=1,_t=null,R=X(fe,Fe);return At(),R}function Rn(R,$,X,fe){var Fe=X.render(),Ne=fe.childContextTypes;if(Ne!=null){var Xe=$.legacyContext;if(typeof X.getChildContext!="function")fe=Xe;else{X=X.getChildContext();for(var yt in X)if(!(yt in Ne))throw Error(e(108,ze(fe)||"Unknown",yt));fe=ie({},Xe,X)}$.legacyContext=fe,Ur(R,$,Fe),$.legacyContext=Xe}else Ur(R,$,Fe)}function Fn(R,$){if(R&&R.defaultProps){$=ie({},$),R=R.defaultProps;for(var X in R)$[X]===void 0&&($[X]=R[X]);return $}return $}function Br(R,$,X,fe,Fe){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Fe=bt(X,$.legacyContext);var Ne=X.contextType;Ne=new X(fe,typeof Ne=="object"&&Ne!==null?Ne._currentValue2:Fe),Mt(Ne,X,fe,Fe),Rn(R,$,Ne,X)}else{Ne=bt(X,$.legacyContext),Fe=ur(R,$,X,fe,Ne);var Xe=ir!==0;if(typeof Fe=="object"&&Fe!==null&&typeof Fe.render=="function"&&Fe.$$typeof===void 0)Mt(Fe,X,fe,Ne),Rn(R,$,Fe,X);else if(Xe){fe=$.treeContext,$.treeContext=Ht(fe,1,0);try{Ur(R,$,Fe)}finally{$.treeContext=fe}}else Ur(R,$,Fe)}else if(typeof X=="string"){switch(Fe=$.blockedSegment,Ne=V(Fe.chunks,X,fe,R.responseState,Fe.formatContext),Fe.lastPushedText=!1,Xe=Fe.formatContext,Fe.formatContext=D(Xe,X,fe),wn(R,$,Ne),Fe.formatContext=Xe,X){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Fe.chunks.push("</",X,">")}Fe.lastPushedText=!1}else{switch(X){case We:case tt:case se:case Ae:case ke:Ur(R,$,fe.children);return;case Se:Ur(R,$,fe.children);return;case Me:throw Error(e(343));case we:e:{X=$.blockedBoundary,Fe=$.blockedSegment,Ne=fe.fallback,fe=fe.children,Xe=new Set;var yt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Xe,errorDigest:null},Nt=yr(R,Fe.chunks.length,yt,Fe.formatContext,!1,!1);Fe.children.push(Nt),Fe.lastPushedText=!1;var $t=yr(R,0,null,Fe.formatContext,!1,!1);$t.parentFlushed=!0,$.blockedBoundary=yt,$.blockedSegment=$t;try{if(wn(R,$,fe),R.responseState.generateStaticMarkup||$t.lastPushedText&&$t.textEmbedded&&$t.chunks.push("<!-- -->"),$t.status=1,cn(yt,$t),yt.pendingTasks===0)break e}catch(zt){$t.status=4,yt.forceClientRender=!0,yt.errorDigest=pr(R,zt)}finally{$.blockedBoundary=X,$.blockedSegment=Fe}$=Kt(R,Ne,X,Nt,Xe,$.legacyContext,$.context,$.treeContext),R.pingedTasks.push($)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case Ue:if(fe=ur(R,$,X.render,fe,Fe),ir!==0){X=$.treeContext,$.treeContext=Ht(X,1,0);try{Ur(R,$,fe)}finally{$.treeContext=X}}else Ur(R,$,fe);return;case _e:X=X.type,fe=Fn(X,fe),Br(R,$,X,fe,Fe);return;case De:if(Fe=fe.children,X=X._context,fe=fe.value,Ne=X._currentValue2,X._currentValue2=fe,Xe=ht,ht=fe={parent:Xe,depth:Xe===null?0:Xe.depth+1,context:X,parentValue:Ne,value:fe},$.context=fe,Ur(R,$,Fe),R=ht,R===null)throw Error(e(403));fe=R.parentValue,R.context._currentValue2=fe===et?R.context._defaultValue:fe,R=ht=R.parent,$.context=R;return;case Ge:fe=fe.children,fe=fe(X._currentValue2),Ur(R,$,fe);return;case Re:Fe=X._init,X=Fe(X._payload),fe=Fn(X,fe),Br(R,$,X,fe,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Ur(R,$,X){if($.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case ue:Br(R,$,X.type,X.props,X.ref);return;case xe:throw Error(e(257));case Re:var fe=X._init;X=fe(X._payload),Ur(R,$,X);return}if(A(X)){zn(R,$,X);return}if(X===null||typeof X!="object"?fe=null:(fe=st&&X[st]||X["@@iterator"],fe=typeof fe=="function"?fe:null),fe&&(fe=fe.call(X))){if(X=fe.next(),!X.done){var Fe=[];do Fe.push(X.value),X=fe.next();while(!X.done);zn(R,$,Fe)}return}throw R=Object.prototype.toString.call(X),Error(e(31,R==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":R))}typeof X=="string"?(fe=$.blockedSegment,fe.lastPushedText=te($.blockedSegment.chunks,X,R.responseState,fe.lastPushedText)):typeof X=="number"&&(fe=$.blockedSegment,fe.lastPushedText=te($.blockedSegment.chunks,""+X,R.responseState,fe.lastPushedText))}function zn(R,$,X){for(var fe=X.length,Fe=0;Fe<fe;Fe++){var Ne=$.treeContext;$.treeContext=Ht(Ne,fe,Fe);try{wn(R,$,X[Fe])}finally{$.treeContext=Ne}}}function wn(R,$,X){var fe=$.blockedSegment.formatContext,Fe=$.legacyContext,Ne=$.context;try{return Ur(R,$,X)}catch(Nt){if(At(),typeof Nt=="object"&&Nt!==null&&typeof Nt.then=="function"){X=Nt;var Xe=$.blockedSegment,yt=yr(R,Xe.chunks.length,null,Xe.formatContext,Xe.lastPushedText,!0);Xe.children.push(yt),Xe.lastPushedText=!1,R=Kt(R,$.node,$.blockedBoundary,yt,$.abortSet,$.legacyContext,$.context,$.treeContext).ping,X.then(R,R),$.blockedSegment.formatContext=fe,$.legacyContext=Fe,$.context=Ne,Tt(Ne)}else throw $.blockedSegment.formatContext=fe,$.legacyContext=Fe,$.context=Ne,Tt(Ne),Nt}}function to(R){var $=R.blockedBoundary;R=R.blockedSegment,R.status=3,$n(this,$,R)}function ro(R,$,X){var fe=R.blockedBoundary;R.blockedSegment.status=3,fe===null?($.allPendingTasks--,$.status!==2&&($.status=2,$.destination!==null&&$.destination.push(null))):(fe.pendingTasks--,fe.forceClientRender||(fe.forceClientRender=!0,R=X===void 0?Error(e(432)):X,fe.errorDigest=$.onError(R),fe.parentFlushed&&$.clientRenderedBoundaries.push(fe)),fe.fallbackAbortableTasks.forEach(function(Fe){return ro(Fe,$,X)}),fe.fallbackAbortableTasks.clear(),$.allPendingTasks--,$.allPendingTasks===0&&(fe=$.onAllReady,fe()))}function cn(R,$){if($.chunks.length===0&&$.children.length===1&&$.children[0].boundary===null){var X=$.children[0];X.id=$.id,X.parentFlushed=!0,X.status===1&&cn(R,X)}else R.completedSegments.push($)}function $n(R,$,X){if($===null){if(X.parentFlushed){if(R.completedRootSegment!==null)throw Error(e(389));R.completedRootSegment=X}R.pendingRootTasks--,R.pendingRootTasks===0&&(R.onShellError=Rt,$=R.onShellReady,$())}else $.pendingTasks--,$.forceClientRender||($.pendingTasks===0?(X.parentFlushed&&X.status===1&&cn($,X),$.parentFlushed&&R.completedBoundaries.push($),$.fallbackAbortableTasks.forEach(to,R),$.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(cn($,X),$.completedSegments.length===1&&$.parentFlushed&&R.partialBoundaries.push($)));R.allPendingTasks--,R.allPendingTasks===0&&(R=R.onAllReady,R())}function In(R){if(R.status!==2){var $=ht,X=ct.current;ct.current=me;var fe=Le;Le=R.responseState;try{var Fe=R.pingedTasks,Ne;for(Ne=0;Ne<Fe.length;Ne++){var Xe=Fe[Ne],yt=R,Nt=Xe.blockedSegment;if(Nt.status===0){Tt(Xe.context);try{Ur(yt,Xe,Xe.node),yt.responseState.generateStaticMarkup||Nt.lastPushedText&&Nt.textEmbedded&&Nt.chunks.push("<!-- -->"),Xe.abortSet.delete(Xe),Nt.status=1,$n(yt,Xe.blockedBoundary,Nt)}catch(Sn){if(At(),typeof Sn=="object"&&Sn!==null&&typeof Sn.then=="function"){var $t=Xe.ping;Sn.then($t,$t)}else{Xe.abortSet.delete(Xe),Nt.status=4;var zt=Xe.blockedBoundary,Ar=Sn,Jr=pr(yt,Ar);if(zt===null?Tr(yt,Ar):(zt.pendingTasks--,zt.forceClientRender||(zt.forceClientRender=!0,zt.errorDigest=Jr,zt.parentFlushed&&yt.clientRenderedBoundaries.push(zt))),yt.allPendingTasks--,yt.allPendingTasks===0){var Cn=yt.onAllReady;Cn()}}}finally{}}}Fe.splice(0,Ne),R.destination!==null&&mn(R,R.destination)}catch(Sn){pr(R,Sn),Tr(R,Sn)}finally{Le=fe,ct.current=X,X===me&&Tt($)}}}function _o(R,$,X){switch(X.parentFlushed=!0,X.status){case 0:var fe=X.id=R.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,R=R.responseState,$.push('<template id="'),$.push(R.placeholderPrefix),R=fe.toString(16),$.push(R),$.push('"></template>');case 1:X.status=2;var Fe=!0;fe=X.chunks;var Ne=0;X=X.children;for(var Xe=0;Xe<X.length;Xe++){for(Fe=X[Xe];Ne<Fe.index;Ne++)$.push(fe[Ne]);Fe=Oo(R,$,Fe)}for(;Ne<fe.length-1;Ne++)$.push(fe[Ne]);return Ne<fe.length&&(Fe=$.push(fe[Ne])),Fe;default:throw Error(e(390))}}function Oo(R,$,X){var fe=X.boundary;if(fe===null)return _o(R,$,X);if(fe.parentFlushed=!0,fe.forceClientRender)return R.responseState.generateStaticMarkup||(fe=fe.errorDigest,$.push("<!--$!-->"),$.push("<template"),fe&&($.push(' data-dgst="'),fe=w(fe),$.push(fe),$.push('"')),$.push("></template>")),_o(R,$,X),R=R.responseState.generateStaticMarkup?!0:$.push("<!--/$-->"),R;if(0<fe.pendingTasks){fe.rootSegmentID=R.nextSegmentId++,0<fe.completedSegments.length&&R.partialBoundaries.push(fe);var Fe=R.responseState,Ne=Fe.nextSuspenseID++;return Fe=Fe.boundaryPrefix+Ne.toString(16),fe=fe.id=Fe,ee($,R.responseState,fe),_o(R,$,X),$.push("<!--/$-->")}if(fe.byteSize>R.progressiveChunkSize)return fe.rootSegmentID=R.nextSegmentId++,R.completedBoundaries.push(fe),ee($,R.responseState,fe.id),_o(R,$,X),$.push("<!--/$-->");if(R.responseState.generateStaticMarkup||$.push("<!--$-->"),X=fe.completedSegments,X.length!==1)throw Error(e(391));return Oo(R,$,X[0]),R=R.responseState.generateStaticMarkup?!0:$.push("<!--/$-->"),R}function No(R,$,X){return ae($,R.responseState,X.formatContext,X.id),Oo(R,$,X),ne($,X.formatContext)}function Ln(R,$,X){for(var fe=X.completedSegments,Fe=0;Fe<fe.length;Fe++)Mn(R,$,X,fe[Fe]);if(fe.length=0,R=R.responseState,fe=X.id,X=X.rootSegmentID,$.push(R.startInlineScript),R.sentCompleteBoundaryFunction?$.push('$RC("'):(R.sentCompleteBoundaryFunction=!0,$.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),fe===null)throw Error(e(395));return X=X.toString(16),$.push(fe),$.push('","'),$.push(R.segmentPrefix),$.push(X),$.push('")<\/script>')}function Mn(R,$,X,fe){if(fe.status===2)return!0;var Fe=fe.id;if(Fe===-1){if((fe.id=X.rootSegmentID)===-1)throw Error(e(392));return No(R,$,fe)}return No(R,$,fe),R=R.responseState,$.push(R.startInlineScript),R.sentCompleteSegmentFunction?$.push('$RS("'):(R.sentCompleteSegmentFunction=!0,$.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),$.push(R.segmentPrefix),Fe=Fe.toString(16),$.push(Fe),$.push('","'),$.push(R.placeholderPrefix),$.push(Fe),$.push('")<\/script>')}function mn(R,$){try{var X=R.completedRootSegment;if(X!==null&&R.pendingRootTasks===0){Oo(R,$,X),R.completedRootSegment=null;var fe=R.responseState.bootstrapChunks;for(X=0;X<fe.length-1;X++)$.push(fe[X]);X<fe.length&&$.push(fe[X])}var Fe=R.clientRenderedBoundaries,Ne;for(Ne=0;Ne<Fe.length;Ne++){var Xe=Fe[Ne];fe=$;var yt=R.responseState,Nt=Xe.id,$t=Xe.errorDigest,zt=Xe.errorMessage,Ar=Xe.errorComponentStack;if(fe.push(yt.startInlineScript),yt.sentClientRenderFunction?fe.push('$RX("'):(yt.sentClientRenderFunction=!0,fe.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Nt===null)throw Error(e(395));if(fe.push(Nt),fe.push('"'),$t||zt||Ar){fe.push(",");var Jr=le($t||"");fe.push(Jr)}if(zt||Ar){fe.push(",");var Cn=le(zt||"");fe.push(Cn)}if(Ar){fe.push(",");var Sn=le(Ar);fe.push(Sn)}if(!fe.push(")<\/script>")){R.destination=null,Ne++,Fe.splice(0,Ne);return}}Fe.splice(0,Ne);var fo=R.completedBoundaries;for(Ne=0;Ne<fo.length;Ne++)if(!Ln(R,$,fo[Ne])){R.destination=null,Ne++,fo.splice(0,Ne);return}fo.splice(0,Ne);var Vn=R.partialBoundaries;for(Ne=0;Ne<Vn.length;Ne++){var Po=Vn[Ne];e:{Fe=R,Xe=$;var rn=Po.completedSegments;for(yt=0;yt<rn.length;yt++)if(!Mn(Fe,Xe,Po,rn[yt])){yt++,rn.splice(0,yt);var Ao=!1;break e}rn.splice(0,yt),Ao=!0}if(!Ao){R.destination=null,Ne++,Vn.splice(0,Ne);return}}Vn.splice(0,Ne);var Gn=R.completedBoundaries;for(Ne=0;Ne<Gn.length;Ne++)if(!Ln(R,$,Gn[Ne])){R.destination=null,Ne++,Gn.splice(0,Ne);return}Gn.splice(0,Ne)}finally{R.allPendingTasks===0&&R.pingedTasks.length===0&&R.clientRenderedBoundaries.length===0&&R.completedBoundaries.length===0&&$.push(null)}}function no(R,$){try{var X=R.abortableTasks;X.forEach(function(fe){return ro(fe,R,$)}),X.clear(),R.destination!==null&&mn(R,R.destination)}catch(fe){pr(R,fe),Tr(R,fe)}}function un(){}function yn(R,$,X,fe){var Fe=!1,Ne=null,Xe="",yt={push:function($t){return $t!==null&&(Xe+=$t),!0},destroy:function($t){Fe=!0,Ne=$t}},Nt=!1;if(R=Qt(R,ge(X,$?$.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,un,void 0,function(){Nt=!0}),In(R),no(R,fe),R.status===1)R.status=2,yt.destroy(R.fatalError);else if(R.status!==2&&R.destination===null){R.destination=yt;try{mn(R,yt)}catch($t){pr(R,$t),Tr(R,$t)}}if(Fe)throw Ne;if(!Nt)throw Error(e(426));return Xe}return Au.renderToNodeStream=function(){throw Error(e(207))},Au.renderToStaticMarkup=function(R,$){return yn(R,$,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Au.renderToStaticNodeStream=function(){throw Error(e(208))},Au.renderToString=function(R,$){return yn(R,$,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Au.version="18.3.1",Au}var jh={};/**
|
71
|
+
`),Ne;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":R.push(q($));for(var Cn in X)if(t.call(X,Cn)&&(Ne=X[Cn],Ne!=null))switch(Cn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,$));default:j(R,fe,Cn,Ne)}return R.push("/>"),null;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 G(R,X,$,fe);case"html":return Fe.insertionMode===0&&R.push("<!DOCTYPE html>"),G(R,X,$,fe);default:if($.indexOf("-")===-1&&typeof X.is!="string")return G(R,X,$,fe);R.push(q($)),Xe=Ne=null;for($t in X)if(t.call(X,$t)&&(yt=X[$t],yt!=null))switch($t){case"children":Ne=yt;break;case"dangerouslySetInnerHTML":Xe=yt;break;case"style":P(R,fe,yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a($t)&&typeof yt!="function"&&typeof yt!="symbol"&&R.push(" ",$t,'="',w(yt),'"')}return R.push(">"),W(R,Xe,Ne),Ne}}function ee(R,$,X){if(R.push('<!--$?--><template id="'),X===null)throw Error(e(395));return R.push(X),R.push('"></template>')}function ae(R,$,X,fe){switch(X.insertionMode){case 0:case 1:return R.push('<div hidden id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 2:return R.push('<svg aria-hidden="true" style="display:none" id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 3:return R.push('<math aria-hidden="true" style="display:none" id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 4:return R.push('<table hidden id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 5:return R.push('<table hidden><tbody id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 6:return R.push('<table hidden><tr id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');case 7:return R.push('<table hidden><colgroup id="'),R.push($.segmentPrefix),$=fe.toString(16),R.push($),R.push('">');default:throw Error(e(397))}}function ne(R,$){switch($.insertionMode){case 0:case 1:return R.push("</div>");case 2:return R.push("</svg>");case 3:return R.push("</math>");case 4:return R.push("</table>");case 5:return R.push("</tbody></table>");case 6:return R.push("</tr></table>");case 7:return R.push("</colgroup></table>");default:throw Error(e(397))}}var oe=/[<\u2028\u2029]/g;function le(R){return JSON.stringify(R).replace(oe,function($){switch($){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ge(R,$){return $=$===void 0?"":$,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:$+"P:",segmentPrefix:$+"S:",boundaryPrefix:$+"B:",idPrefix:$,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:R}}function te(R,$,X,fe){return X.generateStaticMarkup?(R.push(w($)),!1):($===""?R=fe:(fe&&R.push("<!-- -->"),R.push(w($)),R=!0),R)}var ie=Object.assign,ue=Symbol.for("react.element"),xe=Symbol.for("react.portal"),ke=Symbol.for("react.fragment"),se=Symbol.for("react.strict_mode"),Ae=Symbol.for("react.profiler"),De=Symbol.for("react.provider"),Ge=Symbol.for("react.context"),Ue=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),Me=Symbol.for("react.scope"),tt=Symbol.for("react.debug_trace_mode"),We=Symbol.for("react.legacy_hidden"),et=Symbol.for("react.default_value"),st=Symbol.iterator;function ze(R){if(R==null)return null;if(typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case ke:return"Fragment";case xe:return"Portal";case Ae:return"Profiler";case se:return"StrictMode";case we:return"Suspense";case Se:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case Ge:return(R.displayName||"Context")+".Consumer";case De:return(R._context.displayName||"Context")+".Provider";case Ue:var $=R.render;return R=R.displayName,R||(R=$.displayName||$.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case _e:return $=R.displayName||null,$!==null?$:ze(R.type)||"Memo";case Re:$=R._payload,R=R._init;try{return ze(R($))}catch{}}return null}var Ke={};function bt(R,$){if(R=R.contextTypes,!R)return Ke;var X={},fe;for(fe in R)X[fe]=$[fe];return X}var ht=null;function dt(R,$){if(R!==$){R.context._currentValue2=R.parentValue,R=R.parent;var X=$.parent;if(R===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));dt(R,X)}$.context._currentValue2=$.value}}function St(R){R.context._currentValue2=R.parentValue,R=R.parent,R!==null&&St(R)}function Ve(R){var $=R.parent;$!==null&&Ve($),R.context._currentValue2=R.value}function rt(R,$){if(R.context._currentValue2=R.parentValue,R=R.parent,R===null)throw Error(e(402));R.depth===$.depth?dt(R,$):rt(R,$)}function vt(R,$){var X=$.parent;if(X===null)throw Error(e(402));R.depth===X.depth?dt(R,X):vt(R,X),$.context._currentValue2=$.value}function Tt(R){var $=ht;$!==R&&($===null?Ve(R):R===null?St($):$.depth===R.depth?dt($,R):$.depth>R.depth?rt($,R):vt($,R),ht=R)}var xt={isMounted:function(){return!1},enqueueSetState:function(R,$){R=R._reactInternals,R.queue!==null&&R.queue.push($)},enqueueReplaceState:function(R,$){R=R._reactInternals,R.replace=!0,R.queue=[$]},enqueueForceUpdate:function(){}};function Mt(R,$,X,fe){var Fe=R.state!==void 0?R.state:null;R.updater=xt,R.props=X,R.state=Fe;var Ne={queue:[],replace:!1};R._reactInternals=Ne;var Xe=$.contextType;if(R.context=typeof Xe=="object"&&Xe!==null?Xe._currentValue2:fe,Xe=$.getDerivedStateFromProps,typeof Xe=="function"&&(Xe=Xe(X,Fe),Fe=Xe==null?Fe:ie({},Fe,Xe),R.state=Fe),typeof $.getDerivedStateFromProps!="function"&&typeof R.getSnapshotBeforeUpdate!="function"&&(typeof R.UNSAFE_componentWillMount=="function"||typeof R.componentWillMount=="function"))if($=R.state,typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount(),$!==R.state&&xt.enqueueReplaceState(R,R.state,null),Ne.queue!==null&&0<Ne.queue.length)if($=Ne.queue,Xe=Ne.replace,Ne.queue=null,Ne.replace=!1,Xe&&$.length===1)R.state=$[0];else{for(Ne=Xe?$[0]:R.state,Fe=!0,Xe=Xe?1:0;Xe<$.length;Xe++){var yt=$[Xe];yt=typeof yt=="function"?yt.call(R,Ne,X,fe):yt,yt!=null&&(Fe?(Fe=!1,Ne=ie({},Ne,yt)):ie(Ne,yt))}R.state=Ne}else Ne.queue=null}var Vt={id:1,overflow:""};function Ht(R,$,X){var fe=R.id;R=R.overflow;var Fe=32-hr(fe)-1;fe&=~(1<<Fe),X+=1;var Ne=32-hr($)+Fe;if(30<Ne){var Xe=Fe-Fe%5;return Ne=(fe&(1<<Xe)-1).toString(32),fe>>=Xe,Fe-=Xe,{id:1<<32-hr($)+Fe|X<<Fe|fe,overflow:Ne+R}}return{id:1<<Ne|X<<Fe|fe,overflow:R}}var hr=Math.clz32?Math.clz32:Ee,_r=Math.log,yr=Math.LN2;function Ee(R){return R>>>=0,R===0?32:31-(_r(R)/yr|0)|0}function de(R,$){return R===$&&(R!==0||1/R===1/$)||R!==R&&$!==$}var nt=typeof Object.is=="function"?Object.is:de,qe=null,pt=null,wt=null,_t=null,jt=!1,Ot=!1,ir=0,Ft=null,nr=0;function tr(){if(qe===null)throw Error(e(321));return qe}function it(){if(0<nr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function lt(){return _t===null?wt===null?(jt=!1,wt=_t=it()):(jt=!0,_t=wt):_t.next===null?(jt=!1,_t=_t.next=it()):(jt=!0,_t=_t.next),_t}function At(){pt=qe=null,Ot=!1,wt=null,nr=0,_t=Ft=null}function kt(R,$){return typeof $=="function"?$(R):$}function Lt(R,$,X){if(qe=tr(),_t=lt(),jt){var fe=_t.queue;if($=fe.dispatch,Ft!==null&&(X=Ft.get(fe),X!==void 0)){Ft.delete(fe),fe=_t.memoizedState;do fe=R(fe,X.action),X=X.next;while(X!==null);return _t.memoizedState=fe,[fe,$]}return[_t.memoizedState,$]}return R=R===kt?typeof $=="function"?$():$:X!==void 0?X($):$,_t.memoizedState=R,R=_t.queue={last:null,dispatch:null},R=R.dispatch=rr.bind(null,qe,R),[_t.memoizedState,R]}function qt(R,$){if(qe=tr(),_t=lt(),$=$===void 0?null:$,_t!==null){var X=_t.memoizedState;if(X!==null&&$!==null){var fe=X[1];e:if(fe===null)fe=!1;else{for(var Fe=0;Fe<fe.length&&Fe<$.length;Fe++)if(!nt($[Fe],fe[Fe])){fe=!1;break e}fe=!0}if(fe)return X[0]}}return R=R(),_t.memoizedState=[R,$],R}function rr(R,$,X){if(25<=nr)throw Error(e(301));if(R===qe)if(Ot=!0,R={action:X,next:null},Ft===null&&(Ft=new Map),X=Ft.get($),X===void 0)Ft.set($,R);else{for($=X;$.next!==null;)$=$.next;$.next=R}}function je(){throw Error(e(394))}function Q(){}var me={readContext:function(R){return R._currentValue2},useContext:function(R){return tr(),R._currentValue2},useMemo:qt,useReducer:Lt,useRef:function(R){qe=tr(),_t=lt();var $=_t.memoizedState;return $===null?(R={current:R},_t.memoizedState=R):$},useState:function(R){return Lt(kt,R)},useInsertionEffect:Q,useLayoutEffect:function(){},useCallback:function(R,$){return qt(function(){return R},$)},useImperativeHandle:Q,useEffect:Q,useDebugValue:Q,useDeferredValue:function(R){return tr(),R},useTransition:function(){return tr(),[!1,je]},useId:function(){var R=pt.treeContext,$=R.overflow;R=R.id,R=(R&~(1<<32-hr(R)-1)).toString(32)+$;var X=Le;if(X===null)throw Error(e(404));return $=ir++,R=":"+X.idPrefix+"R"+R,0<$&&(R+="H"+$.toString(32)),R+":"},useMutableSource:function(R,$){return tr(),$(R._source)},useSyncExternalStore:function(R,$,X){if(X===void 0)throw Error(e(407));return X()}},Le=null,ct=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function It(R){return console.error(R),null}function Rt(){}function Qt(R,$,X,fe,Fe,Ne,Xe,yt,Nt){var $t=[],zt=new Set;return $={destination:null,responseState:$,progressiveChunkSize:fe===void 0?12800:fe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:zt,pingedTasks:$t,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Fe===void 0?It:Fe,onAllReady:Rt,onShellReady:Xe===void 0?Rt:Xe,onShellError:Rt,onFatalError:Rt},X=br($,0,null,X,!1,!1),X.parentFlushed=!0,R=Kt($,R,null,X,zt,Ke,null,Vt),$t.push(R),$}function Kt(R,$,X,fe,Fe,Ne,Xe,yt){R.allPendingTasks++,X===null?R.pendingRootTasks++:X.pendingTasks++;var Nt={node:$,ping:function(){var $t=R.pingedTasks;$t.push(Nt),$t.length===1&&In(R)},blockedBoundary:X,blockedSegment:fe,abortSet:Fe,legacyContext:Ne,context:Xe,treeContext:yt};return Fe.add(Nt),Nt}function br(R,$,X,fe,Fe,Ne){return{status:0,id:-1,index:$,parentFlushed:!1,chunks:[],children:[],formatContext:fe,boundary:X,lastPushedText:Fe,textEmbedded:Ne}}function pr(R,$){if(R=R.onError($),R!=null&&typeof R!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof R+'" instead');return R}function Tr(R,$){var X=R.onShellError;X($),X=R.onFatalError,X($),R.destination!==null?(R.status=2,R.destination.destroy($)):(R.status=1,R.fatalError=$)}function ur(R,$,X,fe,Fe){for(qe={},pt=$,ir=0,R=X(fe,Fe);Ot;)Ot=!1,ir=0,nr+=1,_t=null,R=X(fe,Fe);return At(),R}function Rn(R,$,X,fe){var Fe=X.render(),Ne=fe.childContextTypes;if(Ne!=null){var Xe=$.legacyContext;if(typeof X.getChildContext!="function")fe=Xe;else{X=X.getChildContext();for(var yt in X)if(!(yt in Ne))throw Error(e(108,ze(fe)||"Unknown",yt));fe=ie({},Xe,X)}$.legacyContext=fe,Ur(R,$,Fe),$.legacyContext=Xe}else Ur(R,$,Fe)}function Fn(R,$){if(R&&R.defaultProps){$=ie({},$),R=R.defaultProps;for(var X in R)$[X]===void 0&&($[X]=R[X]);return $}return $}function Br(R,$,X,fe,Fe){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Fe=bt(X,$.legacyContext);var Ne=X.contextType;Ne=new X(fe,typeof Ne=="object"&&Ne!==null?Ne._currentValue2:Fe),Mt(Ne,X,fe,Fe),Rn(R,$,Ne,X)}else{Ne=bt(X,$.legacyContext),Fe=ur(R,$,X,fe,Ne);var Xe=ir!==0;if(typeof Fe=="object"&&Fe!==null&&typeof Fe.render=="function"&&Fe.$$typeof===void 0)Mt(Fe,X,fe,Ne),Rn(R,$,Fe,X);else if(Xe){fe=$.treeContext,$.treeContext=Ht(fe,1,0);try{Ur(R,$,Fe)}finally{$.treeContext=fe}}else Ur(R,$,Fe)}else if(typeof X=="string"){switch(Fe=$.blockedSegment,Ne=V(Fe.chunks,X,fe,R.responseState,Fe.formatContext),Fe.lastPushedText=!1,Xe=Fe.formatContext,Fe.formatContext=D(Xe,X,fe),wn(R,$,Ne),Fe.formatContext=Xe,X){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Fe.chunks.push("</",X,">")}Fe.lastPushedText=!1}else{switch(X){case We:case tt:case se:case Ae:case ke:Ur(R,$,fe.children);return;case Se:Ur(R,$,fe.children);return;case Me:throw Error(e(343));case we:e:{X=$.blockedBoundary,Fe=$.blockedSegment,Ne=fe.fallback,fe=fe.children,Xe=new Set;var yt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Xe,errorDigest:null},Nt=br(R,Fe.chunks.length,yt,Fe.formatContext,!1,!1);Fe.children.push(Nt),Fe.lastPushedText=!1;var $t=br(R,0,null,Fe.formatContext,!1,!1);$t.parentFlushed=!0,$.blockedBoundary=yt,$.blockedSegment=$t;try{if(wn(R,$,fe),R.responseState.generateStaticMarkup||$t.lastPushedText&&$t.textEmbedded&&$t.chunks.push("<!-- -->"),$t.status=1,cn(yt,$t),yt.pendingTasks===0)break e}catch(zt){$t.status=4,yt.forceClientRender=!0,yt.errorDigest=pr(R,zt)}finally{$.blockedBoundary=X,$.blockedSegment=Fe}$=Kt(R,Ne,X,Nt,Xe,$.legacyContext,$.context,$.treeContext),R.pingedTasks.push($)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case Ue:if(fe=ur(R,$,X.render,fe,Fe),ir!==0){X=$.treeContext,$.treeContext=Ht(X,1,0);try{Ur(R,$,fe)}finally{$.treeContext=X}}else Ur(R,$,fe);return;case _e:X=X.type,fe=Fn(X,fe),Br(R,$,X,fe,Fe);return;case De:if(Fe=fe.children,X=X._context,fe=fe.value,Ne=X._currentValue2,X._currentValue2=fe,Xe=ht,ht=fe={parent:Xe,depth:Xe===null?0:Xe.depth+1,context:X,parentValue:Ne,value:fe},$.context=fe,Ur(R,$,Fe),R=ht,R===null)throw Error(e(403));fe=R.parentValue,R.context._currentValue2=fe===et?R.context._defaultValue:fe,R=ht=R.parent,$.context=R;return;case Ge:fe=fe.children,fe=fe(X._currentValue2),Ur(R,$,fe);return;case Re:Fe=X._init,X=Fe(X._payload),fe=Fn(X,fe),Br(R,$,X,fe,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Ur(R,$,X){if($.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case ue:Br(R,$,X.type,X.props,X.ref);return;case xe:throw Error(e(257));case Re:var fe=X._init;X=fe(X._payload),Ur(R,$,X);return}if(A(X)){zn(R,$,X);return}if(X===null||typeof X!="object"?fe=null:(fe=st&&X[st]||X["@@iterator"],fe=typeof fe=="function"?fe:null),fe&&(fe=fe.call(X))){if(X=fe.next(),!X.done){var Fe=[];do Fe.push(X.value),X=fe.next();while(!X.done);zn(R,$,Fe)}return}throw R=Object.prototype.toString.call(X),Error(e(31,R==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":R))}typeof X=="string"?(fe=$.blockedSegment,fe.lastPushedText=te($.blockedSegment.chunks,X,R.responseState,fe.lastPushedText)):typeof X=="number"&&(fe=$.blockedSegment,fe.lastPushedText=te($.blockedSegment.chunks,""+X,R.responseState,fe.lastPushedText))}function zn(R,$,X){for(var fe=X.length,Fe=0;Fe<fe;Fe++){var Ne=$.treeContext;$.treeContext=Ht(Ne,fe,Fe);try{wn(R,$,X[Fe])}finally{$.treeContext=Ne}}}function wn(R,$,X){var fe=$.blockedSegment.formatContext,Fe=$.legacyContext,Ne=$.context;try{return Ur(R,$,X)}catch(Nt){if(At(),typeof Nt=="object"&&Nt!==null&&typeof Nt.then=="function"){X=Nt;var Xe=$.blockedSegment,yt=br(R,Xe.chunks.length,null,Xe.formatContext,Xe.lastPushedText,!0);Xe.children.push(yt),Xe.lastPushedText=!1,R=Kt(R,$.node,$.blockedBoundary,yt,$.abortSet,$.legacyContext,$.context,$.treeContext).ping,X.then(R,R),$.blockedSegment.formatContext=fe,$.legacyContext=Fe,$.context=Ne,Tt(Ne)}else throw $.blockedSegment.formatContext=fe,$.legacyContext=Fe,$.context=Ne,Tt(Ne),Nt}}function to(R){var $=R.blockedBoundary;R=R.blockedSegment,R.status=3,$n(this,$,R)}function ro(R,$,X){var fe=R.blockedBoundary;R.blockedSegment.status=3,fe===null?($.allPendingTasks--,$.status!==2&&($.status=2,$.destination!==null&&$.destination.push(null))):(fe.pendingTasks--,fe.forceClientRender||(fe.forceClientRender=!0,R=X===void 0?Error(e(432)):X,fe.errorDigest=$.onError(R),fe.parentFlushed&&$.clientRenderedBoundaries.push(fe)),fe.fallbackAbortableTasks.forEach(function(Fe){return ro(Fe,$,X)}),fe.fallbackAbortableTasks.clear(),$.allPendingTasks--,$.allPendingTasks===0&&(fe=$.onAllReady,fe()))}function cn(R,$){if($.chunks.length===0&&$.children.length===1&&$.children[0].boundary===null){var X=$.children[0];X.id=$.id,X.parentFlushed=!0,X.status===1&&cn(R,X)}else R.completedSegments.push($)}function $n(R,$,X){if($===null){if(X.parentFlushed){if(R.completedRootSegment!==null)throw Error(e(389));R.completedRootSegment=X}R.pendingRootTasks--,R.pendingRootTasks===0&&(R.onShellError=Rt,$=R.onShellReady,$())}else $.pendingTasks--,$.forceClientRender||($.pendingTasks===0?(X.parentFlushed&&X.status===1&&cn($,X),$.parentFlushed&&R.completedBoundaries.push($),$.fallbackAbortableTasks.forEach(to,R),$.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(cn($,X),$.completedSegments.length===1&&$.parentFlushed&&R.partialBoundaries.push($)));R.allPendingTasks--,R.allPendingTasks===0&&(R=R.onAllReady,R())}function In(R){if(R.status!==2){var $=ht,X=ct.current;ct.current=me;var fe=Le;Le=R.responseState;try{var Fe=R.pingedTasks,Ne;for(Ne=0;Ne<Fe.length;Ne++){var Xe=Fe[Ne],yt=R,Nt=Xe.blockedSegment;if(Nt.status===0){Tt(Xe.context);try{Ur(yt,Xe,Xe.node),yt.responseState.generateStaticMarkup||Nt.lastPushedText&&Nt.textEmbedded&&Nt.chunks.push("<!-- -->"),Xe.abortSet.delete(Xe),Nt.status=1,$n(yt,Xe.blockedBoundary,Nt)}catch(Sn){if(At(),typeof Sn=="object"&&Sn!==null&&typeof Sn.then=="function"){var $t=Xe.ping;Sn.then($t,$t)}else{Xe.abortSet.delete(Xe),Nt.status=4;var zt=Xe.blockedBoundary,Ar=Sn,Jr=pr(yt,Ar);if(zt===null?Tr(yt,Ar):(zt.pendingTasks--,zt.forceClientRender||(zt.forceClientRender=!0,zt.errorDigest=Jr,zt.parentFlushed&&yt.clientRenderedBoundaries.push(zt))),yt.allPendingTasks--,yt.allPendingTasks===0){var Cn=yt.onAllReady;Cn()}}}finally{}}}Fe.splice(0,Ne),R.destination!==null&&mn(R,R.destination)}catch(Sn){pr(R,Sn),Tr(R,Sn)}finally{Le=fe,ct.current=X,X===me&&Tt($)}}}function _o(R,$,X){switch(X.parentFlushed=!0,X.status){case 0:var fe=X.id=R.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,R=R.responseState,$.push('<template id="'),$.push(R.placeholderPrefix),R=fe.toString(16),$.push(R),$.push('"></template>');case 1:X.status=2;var Fe=!0;fe=X.chunks;var Ne=0;X=X.children;for(var Xe=0;Xe<X.length;Xe++){for(Fe=X[Xe];Ne<Fe.index;Ne++)$.push(fe[Ne]);Fe=Oo(R,$,Fe)}for(;Ne<fe.length-1;Ne++)$.push(fe[Ne]);return Ne<fe.length&&(Fe=$.push(fe[Ne])),Fe;default:throw Error(e(390))}}function Oo(R,$,X){var fe=X.boundary;if(fe===null)return _o(R,$,X);if(fe.parentFlushed=!0,fe.forceClientRender)return R.responseState.generateStaticMarkup||(fe=fe.errorDigest,$.push("<!--$!-->"),$.push("<template"),fe&&($.push(' data-dgst="'),fe=w(fe),$.push(fe),$.push('"')),$.push("></template>")),_o(R,$,X),R=R.responseState.generateStaticMarkup?!0:$.push("<!--/$-->"),R;if(0<fe.pendingTasks){fe.rootSegmentID=R.nextSegmentId++,0<fe.completedSegments.length&&R.partialBoundaries.push(fe);var Fe=R.responseState,Ne=Fe.nextSuspenseID++;return Fe=Fe.boundaryPrefix+Ne.toString(16),fe=fe.id=Fe,ee($,R.responseState,fe),_o(R,$,X),$.push("<!--/$-->")}if(fe.byteSize>R.progressiveChunkSize)return fe.rootSegmentID=R.nextSegmentId++,R.completedBoundaries.push(fe),ee($,R.responseState,fe.id),_o(R,$,X),$.push("<!--/$-->");if(R.responseState.generateStaticMarkup||$.push("<!--$-->"),X=fe.completedSegments,X.length!==1)throw Error(e(391));return Oo(R,$,X[0]),R=R.responseState.generateStaticMarkup?!0:$.push("<!--/$-->"),R}function No(R,$,X){return ae($,R.responseState,X.formatContext,X.id),Oo(R,$,X),ne($,X.formatContext)}function Ln(R,$,X){for(var fe=X.completedSegments,Fe=0;Fe<fe.length;Fe++)Mn(R,$,X,fe[Fe]);if(fe.length=0,R=R.responseState,fe=X.id,X=X.rootSegmentID,$.push(R.startInlineScript),R.sentCompleteBoundaryFunction?$.push('$RC("'):(R.sentCompleteBoundaryFunction=!0,$.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),fe===null)throw Error(e(395));return X=X.toString(16),$.push(fe),$.push('","'),$.push(R.segmentPrefix),$.push(X),$.push('")<\/script>')}function Mn(R,$,X,fe){if(fe.status===2)return!0;var Fe=fe.id;if(Fe===-1){if((fe.id=X.rootSegmentID)===-1)throw Error(e(392));return No(R,$,fe)}return No(R,$,fe),R=R.responseState,$.push(R.startInlineScript),R.sentCompleteSegmentFunction?$.push('$RS("'):(R.sentCompleteSegmentFunction=!0,$.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),$.push(R.segmentPrefix),Fe=Fe.toString(16),$.push(Fe),$.push('","'),$.push(R.placeholderPrefix),$.push(Fe),$.push('")<\/script>')}function mn(R,$){try{var X=R.completedRootSegment;if(X!==null&&R.pendingRootTasks===0){Oo(R,$,X),R.completedRootSegment=null;var fe=R.responseState.bootstrapChunks;for(X=0;X<fe.length-1;X++)$.push(fe[X]);X<fe.length&&$.push(fe[X])}var Fe=R.clientRenderedBoundaries,Ne;for(Ne=0;Ne<Fe.length;Ne++){var Xe=Fe[Ne];fe=$;var yt=R.responseState,Nt=Xe.id,$t=Xe.errorDigest,zt=Xe.errorMessage,Ar=Xe.errorComponentStack;if(fe.push(yt.startInlineScript),yt.sentClientRenderFunction?fe.push('$RX("'):(yt.sentClientRenderFunction=!0,fe.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Nt===null)throw Error(e(395));if(fe.push(Nt),fe.push('"'),$t||zt||Ar){fe.push(",");var Jr=le($t||"");fe.push(Jr)}if(zt||Ar){fe.push(",");var Cn=le(zt||"");fe.push(Cn)}if(Ar){fe.push(",");var Sn=le(Ar);fe.push(Sn)}if(!fe.push(")<\/script>")){R.destination=null,Ne++,Fe.splice(0,Ne);return}}Fe.splice(0,Ne);var fo=R.completedBoundaries;for(Ne=0;Ne<fo.length;Ne++)if(!Ln(R,$,fo[Ne])){R.destination=null,Ne++,fo.splice(0,Ne);return}fo.splice(0,Ne);var Vn=R.partialBoundaries;for(Ne=0;Ne<Vn.length;Ne++){var Po=Vn[Ne];e:{Fe=R,Xe=$;var rn=Po.completedSegments;for(yt=0;yt<rn.length;yt++)if(!Mn(Fe,Xe,Po,rn[yt])){yt++,rn.splice(0,yt);var Ao=!1;break e}rn.splice(0,yt),Ao=!0}if(!Ao){R.destination=null,Ne++,Vn.splice(0,Ne);return}}Vn.splice(0,Ne);var Gn=R.completedBoundaries;for(Ne=0;Ne<Gn.length;Ne++)if(!Ln(R,$,Gn[Ne])){R.destination=null,Ne++,Gn.splice(0,Ne);return}Gn.splice(0,Ne)}finally{R.allPendingTasks===0&&R.pingedTasks.length===0&&R.clientRenderedBoundaries.length===0&&R.completedBoundaries.length===0&&$.push(null)}}function no(R,$){try{var X=R.abortableTasks;X.forEach(function(fe){return ro(fe,R,$)}),X.clear(),R.destination!==null&&mn(R,R.destination)}catch(fe){pr(R,fe),Tr(R,fe)}}function un(){}function yn(R,$,X,fe){var Fe=!1,Ne=null,Xe="",yt={push:function($t){return $t!==null&&(Xe+=$t),!0},destroy:function($t){Fe=!0,Ne=$t}},Nt=!1;if(R=Qt(R,ge(X,$?$.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,un,void 0,function(){Nt=!0}),In(R),no(R,fe),R.status===1)R.status=2,yt.destroy(R.fatalError);else if(R.status!==2&&R.destination===null){R.destination=yt;try{mn(R,yt)}catch($t){pr(R,$t),Tr(R,$t)}}if(Fe)throw Ne;if(!Nt)throw Error(e(426));return Xe}return Au.renderToNodeStream=function(){throw Error(e(207))},Au.renderToStaticMarkup=function(R,$){return yn(R,$,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Au.renderToStaticNodeStream=function(){throw Error(e(208))},Au.renderToString=function(R,$){return yn(R,$,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Au.version="18.3.1",Au}var jh={};/**
|
72
72
|
* @license React
|
73
73
|
* react-dom-server.browser.production.min.js
|
74
74
|
*
|
@@ -80,7 +80,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
80
80
|
`),bt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ht=new Map;function dt(M){var z=ht.get(M);if(z===void 0){if(!bt.test(M))throw Error(e(65,M));z=h("<"+M),ht.set(M,z)}return z}var St=h("<!DOCTYPE html>");function Ve(M,z,Z,he,He){switch(z){case"select":M.push(dt("select"));var Be=null,ot=null;for(lr in Z)if(m.call(Z,lr)){var Et=Z[lr];if(Et!=null)switch(lr){case"children":Be=Et;break;case"dangerouslySetInnerHTML":ot=Et;break;case"defaultValue":case"value":break;default:Re(M,he,lr,Et)}}return M.push(Me),We(M,ot,Be),Be;case"option":ot=He.selectedValue,M.push(dt("option"));var Wt=Et=null,mr=null,lr=null;for(Be in Z)if(m.call(Z,Be)){var Xr=Z[Be];if(Xr!=null)switch(Be){case"children":Et=Xr;break;case"selected":mr=Xr;break;case"dangerouslySetInnerHTML":lr=Xr;break;case"value":Wt=Xr;default:Re(M,he,Be,Xr)}}if(ot!=null)if(Z=Wt!==null?""+Wt:et(Et),pe(ot)){for(he=0;he<ot.length;he++)if(""+ot[he]===Z){M.push(st);break}}else""+ot===Z&&M.push(st);else mr&&M.push(st);return M.push(Me),We(M,lr,Et),Et;case"textarea":M.push(dt("textarea")),lr=ot=Be=null;for(Et in Z)if(m.call(Z,Et)&&(Wt=Z[Et],Wt!=null))switch(Et){case"children":lr=Wt;break;case"value":Be=Wt;break;case"defaultValue":ot=Wt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Re(M,he,Et,Wt)}if(Be===null&&ot!==null&&(Be=ot),M.push(Me),lr!=null){if(Be!=null)throw Error(e(92));if(pe(lr)&&1<lr.length)throw Error(e(93));Be=""+lr}return typeof Be=="string"&&Be[0]===`
|
81
81
|
`&&M.push(Ke),Be!==null&&M.push(d(W(""+Be))),null;case"input":M.push(dt("input")),Wt=lr=Et=Be=null;for(ot in Z)if(m.call(Z,ot)&&(mr=Z[ot],mr!=null))switch(ot){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Wt=mr;break;case"defaultValue":Et=mr;break;case"checked":lr=mr;break;case"value":Be=mr;break;default:Re(M,he,ot,mr)}return lr!==null?Re(M,he,"checked",lr):Wt!==null&&Re(M,he,"checked",Wt),Be!==null?Re(M,he,"value",Be):Et!==null&&Re(M,he,"value",Et),M.push(tt),null;case"menuitem":M.push(dt("menuitem"));for(var ao in Z)if(m.call(Z,ao)&&(Be=Z[ao],Be!=null))switch(ao){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Re(M,he,ao,Be)}return M.push(Me),null;case"title":M.push(dt("title")),Be=null;for(Xr in Z)if(m.call(Z,Xr)&&(ot=Z[Xr],ot!=null))switch(Xr){case"children":Be=ot;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Re(M,he,Xr,ot)}return M.push(Me),Be;case"listing":case"pre":M.push(dt(z)),ot=Be=null;for(Wt in Z)if(m.call(Z,Wt)&&(Et=Z[Wt],Et!=null))switch(Wt){case"children":Be=Et;break;case"dangerouslySetInnerHTML":ot=Et;break;default:Re(M,he,Wt,Et)}if(M.push(Me),ot!=null){if(Be!=null)throw Error(e(60));if(typeof ot!="object"||!("__html"in ot))throw Error(e(61));Z=ot.__html,Z!=null&&(typeof Z=="string"&&0<Z.length&&Z[0]===`
|
82
82
|
`?M.push(Ke,d(Z)):M.push(d(""+Z)))}return typeof Be=="string"&&Be[0]===`
|
83
|
-
`&&M.push(Ke),Be;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":M.push(dt(z));for(var jo in Z)if(m.call(Z,jo)&&(Be=Z[jo],Be!=null))switch(jo){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,z));default:Re(M,he,jo,Be)}return M.push(tt),null;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 ze(M,Z,z,he);case"html":return He.insertionMode===0&&M.push(St),ze(M,Z,z,he);default:if(z.indexOf("-")===-1&&typeof Z.is!="string")return ze(M,Z,z,he);M.push(dt(z)),ot=Be=null;for(mr in Z)if(m.call(Z,mr)&&(Et=Z[mr],Et!=null))switch(mr){case"children":Be=Et;break;case"dangerouslySetInnerHTML":ot=Et;break;case"style":Ge(M,he,Et);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(mr)&&typeof Et!="function"&&typeof Et!="symbol"&&M.push(Ue,d(mr),we,d(W(Et)),Se)}return M.push(Me),We(M,ot,Be),Be}}var rt=h("</"),vt=h(">"),Tt=h('<template id="'),xt=h('"></template>'),Mt=h("<!--$-->"),Vt=h('<!--$?--><template id="'),Ht=h('"></template>'),hr=h("<!--$!-->"),_r=h("<!--/$-->"),vr=h("<template"),Ee=h('"'),de=h(' data-dgst="');h(' data-msg="'),h(' data-stck="');var nt=h("></template>");function qe(M,z,Z){if(o(M,Vt),Z===null)throw Error(e(395));return o(M,Z),i(M,Ht)}var pt=h('<div hidden id="'),wt=h('">'),_t=h("</div>"),jt=h('<svg aria-hidden="true" style="display:none" id="'),Ot=h('">'),ir=h("</svg>"),Ft=h('<math aria-hidden="true" style="display:none" id="'),nr=h('">'),tr=h("</math>"),it=h('<table hidden id="'),lt=h('">'),At=h("</table>"),kt=h('<table hidden><tbody id="'),Lt=h('">'),qt=h("</tbody></table>"),rr=h('<table hidden><tr id="'),je=h('">'),Q=h("</tr></table>"),me=h('<table hidden><colgroup id="'),Le=h('">'),ct=h("</colgroup></table>");function It(M,z,Z,he){switch(Z.insertionMode){case 0:case 1:return o(M,pt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,wt);case 2:return o(M,jt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Ot);case 3:return o(M,Ft),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,nr);case 4:return o(M,it),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,lt);case 5:return o(M,kt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Lt);case 6:return o(M,rr),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,je);case 7:return o(M,me),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Le);default:throw Error(e(397))}}function Rt(M,z){switch(z.insertionMode){case 0:case 1:return i(M,_t);case 2:return i(M,ir);case 3:return i(M,tr);case 4:return i(M,At);case 5:return i(M,qt);case 6:return i(M,Q);case 7:return i(M,ct);default:throw Error(e(397))}}var Qt=h('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Kt=h('$RS("'),yr=h('","'),pr=h('")<\/script>'),Tr=h('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ur=h('$RC("'),Rn=h('","'),Fn=h('")<\/script>'),Br=h('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ur=h('$RX("'),zn=h('"'),wn=h(")<\/script>"),to=h(","),ro=/[<\u2028\u2029]/g;function cn(M){return JSON.stringify(M).replace(ro,function(z){switch(z){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var $n=Object.assign,In=Symbol.for("react.element"),_o=Symbol.for("react.portal"),Oo=Symbol.for("react.fragment"),No=Symbol.for("react.strict_mode"),Ln=Symbol.for("react.profiler"),Mn=Symbol.for("react.provider"),mn=Symbol.for("react.context"),no=Symbol.for("react.forward_ref"),un=Symbol.for("react.suspense"),yn=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),Fe=Symbol.for("react.legacy_hidden"),Ne=Symbol.for("react.default_value"),Xe=Symbol.iterator;function yt(M){if(M==null)return null;if(typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case Oo:return"Fragment";case _o:return"Portal";case Ln:return"Profiler";case No:return"StrictMode";case un:return"Suspense";case yn:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case mn:return(M.displayName||"Context")+".Consumer";case Mn:return(M._context.displayName||"Context")+".Provider";case no:var z=M.render;return M=M.displayName,M||(M=z.displayName||z.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case R:return z=M.displayName||null,z!==null?z:yt(M.type)||"Memo";case $:z=M._payload,M=M._init;try{return yt(M(z))}catch{}}return null}var Nt={};function $t(M,z){if(M=M.contextTypes,!M)return Nt;var Z={},he;for(he in M)Z[he]=z[he];return Z}var zt=null;function Ar(M,z){if(M!==z){M.context._currentValue=M.parentValue,M=M.parent;var Z=z.parent;if(M===null){if(Z!==null)throw Error(e(401))}else{if(Z===null)throw Error(e(401));Ar(M,Z)}z.context._currentValue=z.value}}function Jr(M){M.context._currentValue=M.parentValue,M=M.parent,M!==null&&Jr(M)}function Cn(M){var z=M.parent;z!==null&&Cn(z),M.context._currentValue=M.value}function Sn(M,z){if(M.context._currentValue=M.parentValue,M=M.parent,M===null)throw Error(e(402));M.depth===z.depth?Ar(M,z):Sn(M,z)}function fo(M,z){var Z=z.parent;if(Z===null)throw Error(e(402));M.depth===Z.depth?Ar(M,Z):fo(M,Z),z.context._currentValue=z.value}function Vn(M){var z=zt;z!==M&&(z===null?Cn(M):M===null?Jr(z):z.depth===M.depth?Ar(z,M):z.depth>M.depth?Sn(z,M):fo(z,M),zt=M)}var Po={isMounted:function(){return!1},enqueueSetState:function(M,z){M=M._reactInternals,M.queue!==null&&M.queue.push(z)},enqueueReplaceState:function(M,z){M=M._reactInternals,M.replace=!0,M.queue=[z]},enqueueForceUpdate:function(){}};function rn(M,z,Z,he){var He=M.state!==void 0?M.state:null;M.updater=Po,M.props=Z,M.state=He;var Be={queue:[],replace:!1};M._reactInternals=Be;var ot=z.contextType;if(M.context=typeof ot=="object"&&ot!==null?ot._currentValue:he,ot=z.getDerivedStateFromProps,typeof ot=="function"&&(ot=ot(Z,He),He=ot==null?He:$n({},He,ot),M.state=He),typeof z.getDerivedStateFromProps!="function"&&typeof M.getSnapshotBeforeUpdate!="function"&&(typeof M.UNSAFE_componentWillMount=="function"||typeof M.componentWillMount=="function"))if(z=M.state,typeof M.componentWillMount=="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount=="function"&&M.UNSAFE_componentWillMount(),z!==M.state&&Po.enqueueReplaceState(M,M.state,null),Be.queue!==null&&0<Be.queue.length)if(z=Be.queue,ot=Be.replace,Be.queue=null,Be.replace=!1,ot&&z.length===1)M.state=z[0];else{for(Be=ot?z[0]:M.state,He=!0,ot=ot?1:0;ot<z.length;ot++){var Et=z[ot];Et=typeof Et=="function"?Et.call(M,Be,Z,he):Et,Et!=null&&(He?(He=!1,Be=$n({},Be,Et)):$n(Be,Et))}M.state=Be}else Be.queue=null}var Ao={id:1,overflow:""};function Gn(M,z,Z){var he=M.id;M=M.overflow;var He=32-oo(he)-1;he&=~(1<<He),Z+=1;var Be=32-oo(z)+He;if(30<Be){var ot=He-He%5;return Be=(he&(1<<ot)-1).toString(32),he>>=ot,He-=ot,{id:1<<32-oo(z)+He|Z<<He|he,overflow:Be+M}}return{id:1<<Be|Z<<He|he,overflow:M}}var oo=Math.clz32?Math.clz32:yi,Oi=Math.log,vi=Math.LN2;function yi(M){return M>>>=0,M===0?32:31-(Oi(M)/vi|0)|0}function Dn(M,z){return M===z&&(M!==0||1/M===1/z)||M!==M&&z!==z}var Ni=typeof Object.is=="function"?Object.is:Dn,io=null,so=null,ni=null,Pr=null,kr=!1,Nr=!1,O=0,J=null,be=0;function Je(){if(io===null)throw Error(e(321));return io}function Jt(){if(0<be)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ut(){return Pr===null?ni===null?(kr=!1,ni=Pr=Jt()):(kr=!0,Pr=ni):Pr.next===null?(kr=!1,Pr=Pr.next=Jt()):(kr=!0,Pr=Pr.next),Pr}function br(){so=io=null,Nr=!1,ni=null,be=0,Pr=J=null}function Er(M,z){return typeof z=="function"?z(M):z}function gr(M,z,Z){if(io=Je(),Pr=Ut(),kr){var he=Pr.queue;if(z=he.dispatch,J!==null&&(Z=J.get(he),Z!==void 0)){J.delete(he),he=Pr.memoizedState;do he=M(he,Z.action),Z=Z.next;while(Z!==null);return Pr.memoizedState=he,[he,z]}return[Pr.memoizedState,z]}return M=M===Er?typeof z=="function"?z():z:Z!==void 0?Z(z):z,Pr.memoizedState=M,M=Pr.queue={last:null,dispatch:null},M=M.dispatch=nn.bind(null,io,M),[Pr.memoizedState,M]}function Rr(M,z){if(io=Je(),Pr=Ut(),z=z===void 0?null:z,Pr!==null){var Z=Pr.memoizedState;if(Z!==null&&z!==null){var he=Z[1];e:if(he===null)he=!1;else{for(var He=0;He<he.length&&He<z.length;He++)if(!Ni(z[He],he[He])){he=!1;break e}he=!0}if(he)return Z[0]}}return M=M(),Pr.memoizedState=[M,z],M}function nn(M,z,Z){if(25<=be)throw Error(e(301));if(M===io)if(Nr=!0,M={action:Z,next:null},J===null&&(J=new Map),Z=J.get(z),Z===void 0)J.set(z,M);else{for(z=Z;z.next!==null;)z=z.next;z.next=M}}function On(){throw Error(e(394))}function Kr(){}var $r={readContext:function(M){return M._currentValue},useContext:function(M){return Je(),M._currentValue},useMemo:Rr,useReducer:gr,useRef:function(M){io=Je(),Pr=Ut();var z=Pr.memoizedState;return z===null?(M={current:M},Pr.memoizedState=M):z},useState:function(M){return gr(Er,M)},useInsertionEffect:Kr,useLayoutEffect:function(){},useCallback:function(M,z){return Rr(function(){return M},z)},useImperativeHandle:Kr,useEffect:Kr,useDebugValue:Kr,useDeferredValue:function(M){return Je(),M},useTransition:function(){return Je(),[!1,On]},useId:function(){var M=so.treeContext,z=M.overflow;M=M.id,M=(M&~(1<<32-oo(M)-1)).toString(32)+z;var Z=on;if(Z===null)throw Error(e(404));return z=O++,M=":"+Z.idPrefix+"R"+M,0<z&&(M+="H"+z.toString(32)),M+":"},useMutableSource:function(M,z){return Je(),z(M._source)},useSyncExternalStore:function(M,z,Z){if(Z===void 0)throw Error(e(407));return Z()}},on=null,ho=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Eo(M){return console.error(M),null}function Zn(){}function Pi(M,z,Z,he,He,Be,ot,Et,Wt){var mr=[],lr=new Set;return z={destination:null,responseState:z,progressiveChunkSize:he===void 0?12800:he,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lr,pingedTasks:mr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:He===void 0?Eo:He,onAllReady:Be===void 0?Zn:Be,onShellReady:ot===void 0?Zn:ot,onShellError:Et===void 0?Zn:Et,onFatalError:Wt===void 0?Zn:Wt},Z=dn(z,0,null,Z,!1,!1),Z.parentFlushed=!0,M=oi(z,M,null,Z,lr,Nt,null,Ao),mr.push(M),z}function oi(M,z,Z,he,He,Be,ot,Et){M.allPendingTasks++,Z===null?M.pendingRootTasks++:Z.pendingTasks++;var Wt={node:z,ping:function(){var mr=M.pingedTasks;mr.push(Wt),mr.length===1&&ql(M)},blockedBoundary:Z,blockedSegment:he,abortSet:He,legacyContext:Be,context:ot,treeContext:Et};return He.add(Wt),Wt}function dn(M,z,Z,he,He,Be){return{status:0,id:-1,index:z,parentFlushed:!1,chunks:[],children:[],formatContext:he,boundary:Z,lastPushedText:He,textEmbedded:Be}}function Is(M,z){if(M=M.onError(z),M!=null&&typeof M!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof M+'" instead');return M}function Yn(M,z){var Z=M.onShellError;Z(z),Z=M.onFatalError,Z(z),M.destination!==null?(M.status=2,p(M.destination,z)):(M.status=1,M.fatalError=z)}function zl(M,z,Z,he,He){for(io={},so=z,O=0,M=Z(he,He);Nr;)Nr=!1,O=0,be+=1,Pr=null,M=Z(he,He);return br(),M}function rl(M,z,Z,he){var He=Z.render(),Be=he.childContextTypes;if(Be!=null){var ot=z.legacyContext;if(typeof Z.getChildContext!="function")he=ot;else{Z=Z.getChildContext();for(var Et in Z)if(!(Et in Be))throw Error(e(108,yt(he)||"Unknown",Et));he=$n({},ot,Z)}z.legacyContext=he,Kn(M,z,He),z.legacyContext=ot}else Kn(M,z,He)}function ii(M,z){if(M&&M.defaultProps){z=$n({},z),M=M.defaultProps;for(var Z in M)z[Z]===void 0&&(z[Z]=M[Z]);return z}return z}function Bi(M,z,Z,he,He){if(typeof Z=="function")if(Z.prototype&&Z.prototype.isReactComponent){He=$t(Z,z.legacyContext);var Be=Z.contextType;Be=new Z(he,typeof Be=="object"&&Be!==null?Be._currentValue:He),rn(Be,Z,he,He),rl(M,z,Be,Z)}else{Be=$t(Z,z.legacyContext),He=zl(M,z,Z,he,Be);var ot=O!==0;if(typeof He=="object"&&He!==null&&typeof He.render=="function"&&He.$$typeof===void 0)rn(He,Z,he,Be),rl(M,z,He,Z);else if(ot){he=z.treeContext,z.treeContext=Gn(he,1,0);try{Kn(M,z,He)}finally{z.treeContext=he}}else Kn(M,z,He)}else if(typeof Z=="string"){switch(He=z.blockedSegment,Be=Ve(He.chunks,Z,he,M.responseState,He.formatContext),He.lastPushedText=!1,ot=He.formatContext,He.formatContext=ie(ot,Z,he),Bo(M,z,Be),He.formatContext=ot,Z){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:He.chunks.push(rt,d(Z),vt)}He.lastPushedText=!1}else{switch(Z){case Fe:case fe:case No:case Ln:case Oo:Kn(M,z,he.children);return;case yn:Kn(M,z,he.children);return;case X:throw Error(e(343));case un:e:{Z=z.blockedBoundary,He=z.blockedSegment,Be=he.fallback,he=he.children,ot=new Set;var Et={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ot,errorDigest:null},Wt=dn(M,He.chunks.length,Et,He.formatContext,!1,!1);He.children.push(Wt),He.lastPushedText=!1;var mr=dn(M,0,null,He.formatContext,!1,!1);mr.parentFlushed=!0,z.blockedBoundary=Et,z.blockedSegment=mr;try{if(Bo(M,z,he),mr.lastPushedText&&mr.textEmbedded&&mr.chunks.push(ue),mr.status=1,os(Et,mr),Et.pendingTasks===0)break e}catch(lr){mr.status=4,Et.forceClientRender=!0,Et.errorDigest=Is(M,lr)}finally{z.blockedBoundary=Z,z.blockedSegment=He}z=oi(M,Be,Z,Wt,ot,z.legacyContext,z.context,z.treeContext),M.pingedTasks.push(z)}return}if(typeof Z=="object"&&Z!==null)switch(Z.$$typeof){case no:if(he=zl(M,z,Z.render,he,He),O!==0){Z=z.treeContext,z.treeContext=Gn(Z,1,0);try{Kn(M,z,he)}finally{z.treeContext=Z}}else Kn(M,z,he);return;case R:Z=Z.type,he=ii(Z,he),Bi(M,z,Z,he,He);return;case Mn:if(He=he.children,Z=Z._context,he=he.value,Be=Z._currentValue,Z._currentValue=he,ot=zt,zt=he={parent:ot,depth:ot===null?0:ot.depth+1,context:Z,parentValue:Be,value:he},z.context=he,Kn(M,z,He),M=zt,M===null)throw Error(e(403));he=M.parentValue,M.context._currentValue=he===Ne?M.context._defaultValue:he,M=zt=M.parent,z.context=M;return;case mn:he=he.children,he=he(Z._currentValue),Kn(M,z,he);return;case $:He=Z._init,Z=He(Z._payload),he=ii(Z,he),Bi(M,z,Z,he,void 0);return}throw Error(e(130,Z==null?Z:typeof Z,""))}}function Kn(M,z,Z){if(z.node=Z,typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case In:Bi(M,z,Z.type,Z.props,Z.ref);return;case _o:throw Error(e(257));case $:var he=Z._init;Z=he(Z._payload),Kn(M,z,Z);return}if(pe(Z)){Qr(M,z,Z);return}if(Z===null||typeof Z!="object"?he=null:(he=Xe&&Z[Xe]||Z["@@iterator"],he=typeof he=="function"?he:null),he&&(he=he.call(Z))){if(Z=he.next(),!Z.done){var He=[];do He.push(Z.value),Z=he.next();while(!Z.done);Qr(M,z,He)}return}throw M=Object.prototype.toString.call(Z),Error(e(31,M==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":M))}typeof Z=="string"?(he=z.blockedSegment,he.lastPushedText=xe(z.blockedSegment.chunks,Z,M.responseState,he.lastPushedText)):typeof Z=="number"&&(he=z.blockedSegment,he.lastPushedText=xe(z.blockedSegment.chunks,""+Z,M.responseState,he.lastPushedText))}function Qr(M,z,Z){for(var he=Z.length,He=0;He<he;He++){var Be=z.treeContext;z.treeContext=Gn(Be,he,He);try{Bo(M,z,Z[He])}finally{z.treeContext=Be}}}function Bo(M,z,Z){var he=z.blockedSegment.formatContext,He=z.legacyContext,Be=z.context;try{return Kn(M,z,Z)}catch(Wt){if(br(),typeof Wt=="object"&&Wt!==null&&typeof Wt.then=="function"){Z=Wt;var ot=z.blockedSegment,Et=dn(M,ot.chunks.length,null,ot.formatContext,ot.lastPushedText,!0);ot.children.push(Et),ot.lastPushedText=!1,M=oi(M,z.node,z.blockedBoundary,Et,z.abortSet,z.legacyContext,z.context,z.treeContext).ping,Z.then(M,M),z.blockedSegment.formatContext=he,z.legacyContext=He,z.context=Be,Vn(Be)}else throw z.blockedSegment.formatContext=he,z.legacyContext=He,z.context=Be,Vn(Be),Wt}}function nl(M){var z=M.blockedBoundary;M=M.blockedSegment,M.status=3,Hl(this,z,M)}function $l(M,z,Z){var he=M.blockedBoundary;M.blockedSegment.status=3,he===null?(z.allPendingTasks--,z.status!==2&&(z.status=2,z.destination!==null&&z.destination.close())):(he.pendingTasks--,he.forceClientRender||(he.forceClientRender=!0,M=Z===void 0?Error(e(432)):Z,he.errorDigest=z.onError(M),he.parentFlushed&&z.clientRenderedBoundaries.push(he)),he.fallbackAbortableTasks.forEach(function(He){return $l(He,z,Z)}),he.fallbackAbortableTasks.clear(),z.allPendingTasks--,z.allPendingTasks===0&&(he=z.onAllReady,he()))}function os(M,z){if(z.chunks.length===0&&z.children.length===1&&z.children[0].boundary===null){var Z=z.children[0];Z.id=z.id,Z.parentFlushed=!0,Z.status===1&&os(M,Z)}else M.completedSegments.push(z)}function Hl(M,z,Z){if(z===null){if(Z.parentFlushed){if(M.completedRootSegment!==null)throw Error(e(389));M.completedRootSegment=Z}M.pendingRootTasks--,M.pendingRootTasks===0&&(M.onShellError=Zn,z=M.onShellReady,z())}else z.pendingTasks--,z.forceClientRender||(z.pendingTasks===0?(Z.parentFlushed&&Z.status===1&&os(z,Z),z.parentFlushed&&M.completedBoundaries.push(z),z.fallbackAbortableTasks.forEach(nl,M),z.fallbackAbortableTasks.clear()):Z.parentFlushed&&Z.status===1&&(os(z,Z),z.completedSegments.length===1&&z.parentFlushed&&M.partialBoundaries.push(z)));M.allPendingTasks--,M.allPendingTasks===0&&(M=M.onAllReady,M())}function ql(M){if(M.status!==2){var z=zt,Z=ho.current;ho.current=$r;var he=on;on=M.responseState;try{var He=M.pingedTasks,Be;for(Be=0;Be<He.length;Be++){var ot=He[Be],Et=M,Wt=ot.blockedSegment;if(Wt.status===0){Vn(ot.context);try{Kn(Et,ot,ot.node),Wt.lastPushedText&&Wt.textEmbedded&&Wt.chunks.push(ue),ot.abortSet.delete(ot),Wt.status=1,Hl(Et,ot.blockedBoundary,Wt)}catch(Fo){if(br(),typeof Fo=="object"&&Fo!==null&&typeof Fo.then=="function"){var mr=ot.ping;Fo.then(mr,mr)}else{ot.abortSet.delete(ot),Wt.status=4;var lr=ot.blockedBoundary,Xr=Fo,ao=Is(Et,Xr);if(lr===null?Yn(Et,Xr):(lr.pendingTasks--,lr.forceClientRender||(lr.forceClientRender=!0,lr.errorDigest=ao,lr.parentFlushed&&Et.clientRenderedBoundaries.push(lr))),Et.allPendingTasks--,Et.allPendingTasks===0){var jo=Et.onAllReady;jo()}}}finally{}}}He.splice(0,Be),M.destination!==null&&va(M,M.destination)}catch(Fo){Is(M,Fo),Yn(M,Fo)}finally{on=he,ho.current=Z,Z===$r&&Vn(z)}}}function ma(M,z,Z){switch(Z.parentFlushed=!0,Z.status){case 0:var he=Z.id=M.nextSegmentId++;return Z.lastPushedText=!1,Z.textEmbedded=!1,M=M.responseState,o(z,Tt),o(z,M.placeholderPrefix),M=d(he.toString(16)),o(z,M),i(z,xt);case 1:Z.status=2;var He=!0;he=Z.chunks;var Be=0;Z=Z.children;for(var ot=0;ot<Z.length;ot++){for(He=Z[ot];Be<He.index;Be++)o(z,he[Be]);He=Ms(M,z,He)}for(;Be<he.length-1;Be++)o(z,he[Be]);return Be<he.length&&(He=i(z,he[Be])),He;default:throw Error(e(390))}}function Ms(M,z,Z){var he=Z.boundary;if(he===null)return ma(M,z,Z);if(he.parentFlushed=!0,he.forceClientRender)he=he.errorDigest,i(z,hr),o(z,vr),he&&(o(z,de),o(z,d(W(he))),o(z,Ee)),i(z,nt),ma(M,z,Z);else if(0<he.pendingTasks){he.rootSegmentID=M.nextSegmentId++,0<he.completedSegments.length&&M.partialBoundaries.push(he);var He=M.responseState,Be=He.nextSuspenseID++;He=h(He.boundaryPrefix+Be.toString(16)),he=he.id=He,qe(z,M.responseState,he),ma(M,z,Z)}else if(he.byteSize>M.progressiveChunkSize)he.rootSegmentID=M.nextSegmentId++,M.completedBoundaries.push(he),qe(z,M.responseState,he.id),ma(M,z,Z);else{if(i(z,Mt),Z=he.completedSegments,Z.length!==1)throw Error(e(391));Ms(M,z,Z[0])}return i(z,_r)}function Ls(M,z,Z){return It(z,M.responseState,Z.formatContext,Z.id),Ms(M,z,Z),Rt(z,Z.formatContext)}function ji(M,z,Z){for(var he=Z.completedSegments,He=0;He<he.length;He++)Wl(M,z,Z,he[He]);if(he.length=0,M=M.responseState,he=Z.id,Z=Z.rootSegmentID,o(z,M.startInlineScript),M.sentCompleteBoundaryFunction?o(z,ur):(M.sentCompleteBoundaryFunction=!0,o(z,Tr)),he===null)throw Error(e(395));return Z=d(Z.toString(16)),o(z,he),o(z,Rn),o(z,M.segmentPrefix),o(z,Z),i(z,Fn)}function Wl(M,z,Z,he){if(he.status===2)return!0;var He=he.id;if(He===-1){if((he.id=Z.rootSegmentID)===-1)throw Error(e(392));return Ls(M,z,he)}return Ls(M,z,he),M=M.responseState,o(z,M.startInlineScript),M.sentCompleteSegmentFunction?o(z,Kt):(M.sentCompleteSegmentFunction=!0,o(z,Qt)),o(z,M.segmentPrefix),He=d(He.toString(16)),o(z,He),o(z,yr),o(z,M.placeholderPrefix),o(z,He),i(z,pr)}function va(M,z){t=new Uint8Array(512),n=0;try{var Z=M.completedRootSegment;if(Z!==null&&M.pendingRootTasks===0){Ms(M,z,Z),M.completedRootSegment=null;var he=M.responseState.bootstrapChunks;for(Z=0;Z<he.length-1;Z++)o(z,he[Z]);Z<he.length&&i(z,he[Z])}var He=M.clientRenderedBoundaries,Be;for(Be=0;Be<He.length;Be++){var ot=He[Be];he=z;var Et=M.responseState,Wt=ot.id,mr=ot.errorDigest,lr=ot.errorMessage,Xr=ot.errorComponentStack;if(o(he,Et.startInlineScript),Et.sentClientRenderFunction?o(he,Ur):(Et.sentClientRenderFunction=!0,o(he,Br)),Wt===null)throw Error(e(395));o(he,Wt),o(he,zn),(mr||lr||Xr)&&(o(he,to),o(he,d(cn(mr||"")))),(lr||Xr)&&(o(he,to),o(he,d(cn(lr||"")))),Xr&&(o(he,to),o(he,d(cn(Xr)))),i(he,wn)}He.splice(0,Be);var ao=M.completedBoundaries;for(Be=0;Be<ao.length;Be++)ji(M,z,ao[Be]);ao.splice(0,Be),a(z),t=new Uint8Array(512),n=0;var jo=M.partialBoundaries;for(Be=0;Be<jo.length;Be++){var Fo=jo[Be];e:{He=M,ot=z;var ya=Fo.completedSegments;for(Et=0;Et<ya.length;Et++)if(!Wl(He,ot,Fo,ya[Et])){Et++,ya.splice(0,Et);var Ul=!1;break e}ya.splice(0,Et),Ul=!0}if(!Ul){M.destination=null,Be++,jo.splice(0,Be);return}}jo.splice(0,Be);var Ds=M.completedBoundaries;for(Be=0;Be<Ds.length;Be++)ji(M,z,Ds[Be]);Ds.splice(0,Be)}finally{a(z),M.allPendingTasks===0&&M.pingedTasks.length===0&&M.clientRenderedBoundaries.length===0&&M.completedBoundaries.length===0&&z.close()}}function ol(M,z){try{var Z=M.abortableTasks;Z.forEach(function(he){return $l(he,M,z)}),Z.clear(),M.destination!==null&&va(M,M.destination)}catch(he){Is(M,he),Yn(M,he)}}return jh.renderToReadableStream=function(M,z){return new Promise(function(Z,he){var He,Be,ot=new Promise(function(lr,Xr){Be=lr,He=Xr}),Et=Pi(M,le(z?z.identifierPrefix:void 0,z?z.nonce:void 0,z?z.bootstrapScriptContent:void 0,z?z.bootstrapScripts:void 0,z?z.bootstrapModules:void 0),te(z?z.namespaceURI:void 0),z?z.progressiveChunkSize:void 0,z?z.onError:void 0,Be,function(){var lr=new ReadableStream({type:"bytes",pull:function(Xr){if(Et.status===1)Et.status=2,p(Xr,Et.fatalError);else if(Et.status!==2&&Et.destination===null){Et.destination=Xr;try{va(Et,Xr)}catch(ao){Is(Et,ao),Yn(Et,ao)}}},cancel:function(){ol(Et)}},{highWaterMark:0});lr.allReady=ot,Z(lr)},function(lr){ot.catch(function(){}),he(lr)},He);if(z&&z.signal){var Wt=z.signal,mr=function(){ol(Et,Wt.reason),Wt.removeEventListener("abort",mr)};Wt.addEventListener("abort",mr)}ql(Et)})},jh.version="18.3.1",jh}var Eu={};/**
|
83
|
+
`&&M.push(Ke),Be;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":M.push(dt(z));for(var jo in Z)if(m.call(Z,jo)&&(Be=Z[jo],Be!=null))switch(jo){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,z));default:Re(M,he,jo,Be)}return M.push(tt),null;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 ze(M,Z,z,he);case"html":return He.insertionMode===0&&M.push(St),ze(M,Z,z,he);default:if(z.indexOf("-")===-1&&typeof Z.is!="string")return ze(M,Z,z,he);M.push(dt(z)),ot=Be=null;for(mr in Z)if(m.call(Z,mr)&&(Et=Z[mr],Et!=null))switch(mr){case"children":Be=Et;break;case"dangerouslySetInnerHTML":ot=Et;break;case"style":Ge(M,he,Et);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(mr)&&typeof Et!="function"&&typeof Et!="symbol"&&M.push(Ue,d(mr),we,d(W(Et)),Se)}return M.push(Me),We(M,ot,Be),Be}}var rt=h("</"),vt=h(">"),Tt=h('<template id="'),xt=h('"></template>'),Mt=h("<!--$-->"),Vt=h('<!--$?--><template id="'),Ht=h('"></template>'),hr=h("<!--$!-->"),_r=h("<!--/$-->"),yr=h("<template"),Ee=h('"'),de=h(' data-dgst="');h(' data-msg="'),h(' data-stck="');var nt=h("></template>");function qe(M,z,Z){if(o(M,Vt),Z===null)throw Error(e(395));return o(M,Z),i(M,Ht)}var pt=h('<div hidden id="'),wt=h('">'),_t=h("</div>"),jt=h('<svg aria-hidden="true" style="display:none" id="'),Ot=h('">'),ir=h("</svg>"),Ft=h('<math aria-hidden="true" style="display:none" id="'),nr=h('">'),tr=h("</math>"),it=h('<table hidden id="'),lt=h('">'),At=h("</table>"),kt=h('<table hidden><tbody id="'),Lt=h('">'),qt=h("</tbody></table>"),rr=h('<table hidden><tr id="'),je=h('">'),Q=h("</tr></table>"),me=h('<table hidden><colgroup id="'),Le=h('">'),ct=h("</colgroup></table>");function It(M,z,Z,he){switch(Z.insertionMode){case 0:case 1:return o(M,pt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,wt);case 2:return o(M,jt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Ot);case 3:return o(M,Ft),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,nr);case 4:return o(M,it),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,lt);case 5:return o(M,kt),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Lt);case 6:return o(M,rr),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,je);case 7:return o(M,me),o(M,z.segmentPrefix),o(M,d(he.toString(16))),i(M,Le);default:throw Error(e(397))}}function Rt(M,z){switch(z.insertionMode){case 0:case 1:return i(M,_t);case 2:return i(M,ir);case 3:return i(M,tr);case 4:return i(M,At);case 5:return i(M,qt);case 6:return i(M,Q);case 7:return i(M,ct);default:throw Error(e(397))}}var Qt=h('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Kt=h('$RS("'),br=h('","'),pr=h('")<\/script>'),Tr=h('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ur=h('$RC("'),Rn=h('","'),Fn=h('")<\/script>'),Br=h('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ur=h('$RX("'),zn=h('"'),wn=h(")<\/script>"),to=h(","),ro=/[<\u2028\u2029]/g;function cn(M){return JSON.stringify(M).replace(ro,function(z){switch(z){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var $n=Object.assign,In=Symbol.for("react.element"),_o=Symbol.for("react.portal"),Oo=Symbol.for("react.fragment"),No=Symbol.for("react.strict_mode"),Ln=Symbol.for("react.profiler"),Mn=Symbol.for("react.provider"),mn=Symbol.for("react.context"),no=Symbol.for("react.forward_ref"),un=Symbol.for("react.suspense"),yn=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),Fe=Symbol.for("react.legacy_hidden"),Ne=Symbol.for("react.default_value"),Xe=Symbol.iterator;function yt(M){if(M==null)return null;if(typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case Oo:return"Fragment";case _o:return"Portal";case Ln:return"Profiler";case No:return"StrictMode";case un:return"Suspense";case yn:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case mn:return(M.displayName||"Context")+".Consumer";case Mn:return(M._context.displayName||"Context")+".Provider";case no:var z=M.render;return M=M.displayName,M||(M=z.displayName||z.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case R:return z=M.displayName||null,z!==null?z:yt(M.type)||"Memo";case $:z=M._payload,M=M._init;try{return yt(M(z))}catch{}}return null}var Nt={};function $t(M,z){if(M=M.contextTypes,!M)return Nt;var Z={},he;for(he in M)Z[he]=z[he];return Z}var zt=null;function Ar(M,z){if(M!==z){M.context._currentValue=M.parentValue,M=M.parent;var Z=z.parent;if(M===null){if(Z!==null)throw Error(e(401))}else{if(Z===null)throw Error(e(401));Ar(M,Z)}z.context._currentValue=z.value}}function Jr(M){M.context._currentValue=M.parentValue,M=M.parent,M!==null&&Jr(M)}function Cn(M){var z=M.parent;z!==null&&Cn(z),M.context._currentValue=M.value}function Sn(M,z){if(M.context._currentValue=M.parentValue,M=M.parent,M===null)throw Error(e(402));M.depth===z.depth?Ar(M,z):Sn(M,z)}function fo(M,z){var Z=z.parent;if(Z===null)throw Error(e(402));M.depth===Z.depth?Ar(M,Z):fo(M,Z),z.context._currentValue=z.value}function Vn(M){var z=zt;z!==M&&(z===null?Cn(M):M===null?Jr(z):z.depth===M.depth?Ar(z,M):z.depth>M.depth?Sn(z,M):fo(z,M),zt=M)}var Po={isMounted:function(){return!1},enqueueSetState:function(M,z){M=M._reactInternals,M.queue!==null&&M.queue.push(z)},enqueueReplaceState:function(M,z){M=M._reactInternals,M.replace=!0,M.queue=[z]},enqueueForceUpdate:function(){}};function rn(M,z,Z,he){var He=M.state!==void 0?M.state:null;M.updater=Po,M.props=Z,M.state=He;var Be={queue:[],replace:!1};M._reactInternals=Be;var ot=z.contextType;if(M.context=typeof ot=="object"&&ot!==null?ot._currentValue:he,ot=z.getDerivedStateFromProps,typeof ot=="function"&&(ot=ot(Z,He),He=ot==null?He:$n({},He,ot),M.state=He),typeof z.getDerivedStateFromProps!="function"&&typeof M.getSnapshotBeforeUpdate!="function"&&(typeof M.UNSAFE_componentWillMount=="function"||typeof M.componentWillMount=="function"))if(z=M.state,typeof M.componentWillMount=="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount=="function"&&M.UNSAFE_componentWillMount(),z!==M.state&&Po.enqueueReplaceState(M,M.state,null),Be.queue!==null&&0<Be.queue.length)if(z=Be.queue,ot=Be.replace,Be.queue=null,Be.replace=!1,ot&&z.length===1)M.state=z[0];else{for(Be=ot?z[0]:M.state,He=!0,ot=ot?1:0;ot<z.length;ot++){var Et=z[ot];Et=typeof Et=="function"?Et.call(M,Be,Z,he):Et,Et!=null&&(He?(He=!1,Be=$n({},Be,Et)):$n(Be,Et))}M.state=Be}else Be.queue=null}var Ao={id:1,overflow:""};function Gn(M,z,Z){var he=M.id;M=M.overflow;var He=32-oo(he)-1;he&=~(1<<He),Z+=1;var Be=32-oo(z)+He;if(30<Be){var ot=He-He%5;return Be=(he&(1<<ot)-1).toString(32),he>>=ot,He-=ot,{id:1<<32-oo(z)+He|Z<<He|he,overflow:Be+M}}return{id:1<<Be|Z<<He|he,overflow:M}}var oo=Math.clz32?Math.clz32:yi,Oi=Math.log,vi=Math.LN2;function yi(M){return M>>>=0,M===0?32:31-(Oi(M)/vi|0)|0}function Dn(M,z){return M===z&&(M!==0||1/M===1/z)||M!==M&&z!==z}var Ni=typeof Object.is=="function"?Object.is:Dn,io=null,so=null,ni=null,Pr=null,kr=!1,Nr=!1,O=0,J=null,be=0;function Je(){if(io===null)throw Error(e(321));return io}function Jt(){if(0<be)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Ut(){return Pr===null?ni===null?(kr=!1,ni=Pr=Jt()):(kr=!0,Pr=ni):Pr.next===null?(kr=!1,Pr=Pr.next=Jt()):(kr=!0,Pr=Pr.next),Pr}function xr(){so=io=null,Nr=!1,ni=null,be=0,Pr=J=null}function Er(M,z){return typeof z=="function"?z(M):z}function gr(M,z,Z){if(io=Je(),Pr=Ut(),kr){var he=Pr.queue;if(z=he.dispatch,J!==null&&(Z=J.get(he),Z!==void 0)){J.delete(he),he=Pr.memoizedState;do he=M(he,Z.action),Z=Z.next;while(Z!==null);return Pr.memoizedState=he,[he,z]}return[Pr.memoizedState,z]}return M=M===Er?typeof z=="function"?z():z:Z!==void 0?Z(z):z,Pr.memoizedState=M,M=Pr.queue={last:null,dispatch:null},M=M.dispatch=nn.bind(null,io,M),[Pr.memoizedState,M]}function Rr(M,z){if(io=Je(),Pr=Ut(),z=z===void 0?null:z,Pr!==null){var Z=Pr.memoizedState;if(Z!==null&&z!==null){var he=Z[1];e:if(he===null)he=!1;else{for(var He=0;He<he.length&&He<z.length;He++)if(!Ni(z[He],he[He])){he=!1;break e}he=!0}if(he)return Z[0]}}return M=M(),Pr.memoizedState=[M,z],M}function nn(M,z,Z){if(25<=be)throw Error(e(301));if(M===io)if(Nr=!0,M={action:Z,next:null},J===null&&(J=new Map),Z=J.get(z),Z===void 0)J.set(z,M);else{for(z=Z;z.next!==null;)z=z.next;z.next=M}}function On(){throw Error(e(394))}function Kr(){}var $r={readContext:function(M){return M._currentValue},useContext:function(M){return Je(),M._currentValue},useMemo:Rr,useReducer:gr,useRef:function(M){io=Je(),Pr=Ut();var z=Pr.memoizedState;return z===null?(M={current:M},Pr.memoizedState=M):z},useState:function(M){return gr(Er,M)},useInsertionEffect:Kr,useLayoutEffect:function(){},useCallback:function(M,z){return Rr(function(){return M},z)},useImperativeHandle:Kr,useEffect:Kr,useDebugValue:Kr,useDeferredValue:function(M){return Je(),M},useTransition:function(){return Je(),[!1,On]},useId:function(){var M=so.treeContext,z=M.overflow;M=M.id,M=(M&~(1<<32-oo(M)-1)).toString(32)+z;var Z=on;if(Z===null)throw Error(e(404));return z=O++,M=":"+Z.idPrefix+"R"+M,0<z&&(M+="H"+z.toString(32)),M+":"},useMutableSource:function(M,z){return Je(),z(M._source)},useSyncExternalStore:function(M,z,Z){if(Z===void 0)throw Error(e(407));return Z()}},on=null,ho=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Eo(M){return console.error(M),null}function Zn(){}function Pi(M,z,Z,he,He,Be,ot,Et,Wt){var mr=[],lr=new Set;return z={destination:null,responseState:z,progressiveChunkSize:he===void 0?12800:he,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lr,pingedTasks:mr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:He===void 0?Eo:He,onAllReady:Be===void 0?Zn:Be,onShellReady:ot===void 0?Zn:ot,onShellError:Et===void 0?Zn:Et,onFatalError:Wt===void 0?Zn:Wt},Z=dn(z,0,null,Z,!1,!1),Z.parentFlushed=!0,M=oi(z,M,null,Z,lr,Nt,null,Ao),mr.push(M),z}function oi(M,z,Z,he,He,Be,ot,Et){M.allPendingTasks++,Z===null?M.pendingRootTasks++:Z.pendingTasks++;var Wt={node:z,ping:function(){var mr=M.pingedTasks;mr.push(Wt),mr.length===1&&ql(M)},blockedBoundary:Z,blockedSegment:he,abortSet:He,legacyContext:Be,context:ot,treeContext:Et};return He.add(Wt),Wt}function dn(M,z,Z,he,He,Be){return{status:0,id:-1,index:z,parentFlushed:!1,chunks:[],children:[],formatContext:he,boundary:Z,lastPushedText:He,textEmbedded:Be}}function Is(M,z){if(M=M.onError(z),M!=null&&typeof M!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof M+'" instead');return M}function Yn(M,z){var Z=M.onShellError;Z(z),Z=M.onFatalError,Z(z),M.destination!==null?(M.status=2,p(M.destination,z)):(M.status=1,M.fatalError=z)}function zl(M,z,Z,he,He){for(io={},so=z,O=0,M=Z(he,He);Nr;)Nr=!1,O=0,be+=1,Pr=null,M=Z(he,He);return xr(),M}function rl(M,z,Z,he){var He=Z.render(),Be=he.childContextTypes;if(Be!=null){var ot=z.legacyContext;if(typeof Z.getChildContext!="function")he=ot;else{Z=Z.getChildContext();for(var Et in Z)if(!(Et in Be))throw Error(e(108,yt(he)||"Unknown",Et));he=$n({},ot,Z)}z.legacyContext=he,Kn(M,z,He),z.legacyContext=ot}else Kn(M,z,He)}function ii(M,z){if(M&&M.defaultProps){z=$n({},z),M=M.defaultProps;for(var Z in M)z[Z]===void 0&&(z[Z]=M[Z]);return z}return z}function Bi(M,z,Z,he,He){if(typeof Z=="function")if(Z.prototype&&Z.prototype.isReactComponent){He=$t(Z,z.legacyContext);var Be=Z.contextType;Be=new Z(he,typeof Be=="object"&&Be!==null?Be._currentValue:He),rn(Be,Z,he,He),rl(M,z,Be,Z)}else{Be=$t(Z,z.legacyContext),He=zl(M,z,Z,he,Be);var ot=O!==0;if(typeof He=="object"&&He!==null&&typeof He.render=="function"&&He.$$typeof===void 0)rn(He,Z,he,Be),rl(M,z,He,Z);else if(ot){he=z.treeContext,z.treeContext=Gn(he,1,0);try{Kn(M,z,He)}finally{z.treeContext=he}}else Kn(M,z,He)}else if(typeof Z=="string"){switch(He=z.blockedSegment,Be=Ve(He.chunks,Z,he,M.responseState,He.formatContext),He.lastPushedText=!1,ot=He.formatContext,He.formatContext=ie(ot,Z,he),Bo(M,z,Be),He.formatContext=ot,Z){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:He.chunks.push(rt,d(Z),vt)}He.lastPushedText=!1}else{switch(Z){case Fe:case fe:case No:case Ln:case Oo:Kn(M,z,he.children);return;case yn:Kn(M,z,he.children);return;case X:throw Error(e(343));case un:e:{Z=z.blockedBoundary,He=z.blockedSegment,Be=he.fallback,he=he.children,ot=new Set;var Et={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ot,errorDigest:null},Wt=dn(M,He.chunks.length,Et,He.formatContext,!1,!1);He.children.push(Wt),He.lastPushedText=!1;var mr=dn(M,0,null,He.formatContext,!1,!1);mr.parentFlushed=!0,z.blockedBoundary=Et,z.blockedSegment=mr;try{if(Bo(M,z,he),mr.lastPushedText&&mr.textEmbedded&&mr.chunks.push(ue),mr.status=1,os(Et,mr),Et.pendingTasks===0)break e}catch(lr){mr.status=4,Et.forceClientRender=!0,Et.errorDigest=Is(M,lr)}finally{z.blockedBoundary=Z,z.blockedSegment=He}z=oi(M,Be,Z,Wt,ot,z.legacyContext,z.context,z.treeContext),M.pingedTasks.push(z)}return}if(typeof Z=="object"&&Z!==null)switch(Z.$$typeof){case no:if(he=zl(M,z,Z.render,he,He),O!==0){Z=z.treeContext,z.treeContext=Gn(Z,1,0);try{Kn(M,z,he)}finally{z.treeContext=Z}}else Kn(M,z,he);return;case R:Z=Z.type,he=ii(Z,he),Bi(M,z,Z,he,He);return;case Mn:if(He=he.children,Z=Z._context,he=he.value,Be=Z._currentValue,Z._currentValue=he,ot=zt,zt=he={parent:ot,depth:ot===null?0:ot.depth+1,context:Z,parentValue:Be,value:he},z.context=he,Kn(M,z,He),M=zt,M===null)throw Error(e(403));he=M.parentValue,M.context._currentValue=he===Ne?M.context._defaultValue:he,M=zt=M.parent,z.context=M;return;case mn:he=he.children,he=he(Z._currentValue),Kn(M,z,he);return;case $:He=Z._init,Z=He(Z._payload),he=ii(Z,he),Bi(M,z,Z,he,void 0);return}throw Error(e(130,Z==null?Z:typeof Z,""))}}function Kn(M,z,Z){if(z.node=Z,typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case In:Bi(M,z,Z.type,Z.props,Z.ref);return;case _o:throw Error(e(257));case $:var he=Z._init;Z=he(Z._payload),Kn(M,z,Z);return}if(pe(Z)){Qr(M,z,Z);return}if(Z===null||typeof Z!="object"?he=null:(he=Xe&&Z[Xe]||Z["@@iterator"],he=typeof he=="function"?he:null),he&&(he=he.call(Z))){if(Z=he.next(),!Z.done){var He=[];do He.push(Z.value),Z=he.next();while(!Z.done);Qr(M,z,He)}return}throw M=Object.prototype.toString.call(Z),Error(e(31,M==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":M))}typeof Z=="string"?(he=z.blockedSegment,he.lastPushedText=xe(z.blockedSegment.chunks,Z,M.responseState,he.lastPushedText)):typeof Z=="number"&&(he=z.blockedSegment,he.lastPushedText=xe(z.blockedSegment.chunks,""+Z,M.responseState,he.lastPushedText))}function Qr(M,z,Z){for(var he=Z.length,He=0;He<he;He++){var Be=z.treeContext;z.treeContext=Gn(Be,he,He);try{Bo(M,z,Z[He])}finally{z.treeContext=Be}}}function Bo(M,z,Z){var he=z.blockedSegment.formatContext,He=z.legacyContext,Be=z.context;try{return Kn(M,z,Z)}catch(Wt){if(xr(),typeof Wt=="object"&&Wt!==null&&typeof Wt.then=="function"){Z=Wt;var ot=z.blockedSegment,Et=dn(M,ot.chunks.length,null,ot.formatContext,ot.lastPushedText,!0);ot.children.push(Et),ot.lastPushedText=!1,M=oi(M,z.node,z.blockedBoundary,Et,z.abortSet,z.legacyContext,z.context,z.treeContext).ping,Z.then(M,M),z.blockedSegment.formatContext=he,z.legacyContext=He,z.context=Be,Vn(Be)}else throw z.blockedSegment.formatContext=he,z.legacyContext=He,z.context=Be,Vn(Be),Wt}}function nl(M){var z=M.blockedBoundary;M=M.blockedSegment,M.status=3,Hl(this,z,M)}function $l(M,z,Z){var he=M.blockedBoundary;M.blockedSegment.status=3,he===null?(z.allPendingTasks--,z.status!==2&&(z.status=2,z.destination!==null&&z.destination.close())):(he.pendingTasks--,he.forceClientRender||(he.forceClientRender=!0,M=Z===void 0?Error(e(432)):Z,he.errorDigest=z.onError(M),he.parentFlushed&&z.clientRenderedBoundaries.push(he)),he.fallbackAbortableTasks.forEach(function(He){return $l(He,z,Z)}),he.fallbackAbortableTasks.clear(),z.allPendingTasks--,z.allPendingTasks===0&&(he=z.onAllReady,he()))}function os(M,z){if(z.chunks.length===0&&z.children.length===1&&z.children[0].boundary===null){var Z=z.children[0];Z.id=z.id,Z.parentFlushed=!0,Z.status===1&&os(M,Z)}else M.completedSegments.push(z)}function Hl(M,z,Z){if(z===null){if(Z.parentFlushed){if(M.completedRootSegment!==null)throw Error(e(389));M.completedRootSegment=Z}M.pendingRootTasks--,M.pendingRootTasks===0&&(M.onShellError=Zn,z=M.onShellReady,z())}else z.pendingTasks--,z.forceClientRender||(z.pendingTasks===0?(Z.parentFlushed&&Z.status===1&&os(z,Z),z.parentFlushed&&M.completedBoundaries.push(z),z.fallbackAbortableTasks.forEach(nl,M),z.fallbackAbortableTasks.clear()):Z.parentFlushed&&Z.status===1&&(os(z,Z),z.completedSegments.length===1&&z.parentFlushed&&M.partialBoundaries.push(z)));M.allPendingTasks--,M.allPendingTasks===0&&(M=M.onAllReady,M())}function ql(M){if(M.status!==2){var z=zt,Z=ho.current;ho.current=$r;var he=on;on=M.responseState;try{var He=M.pingedTasks,Be;for(Be=0;Be<He.length;Be++){var ot=He[Be],Et=M,Wt=ot.blockedSegment;if(Wt.status===0){Vn(ot.context);try{Kn(Et,ot,ot.node),Wt.lastPushedText&&Wt.textEmbedded&&Wt.chunks.push(ue),ot.abortSet.delete(ot),Wt.status=1,Hl(Et,ot.blockedBoundary,Wt)}catch(Fo){if(xr(),typeof Fo=="object"&&Fo!==null&&typeof Fo.then=="function"){var mr=ot.ping;Fo.then(mr,mr)}else{ot.abortSet.delete(ot),Wt.status=4;var lr=ot.blockedBoundary,Xr=Fo,ao=Is(Et,Xr);if(lr===null?Yn(Et,Xr):(lr.pendingTasks--,lr.forceClientRender||(lr.forceClientRender=!0,lr.errorDigest=ao,lr.parentFlushed&&Et.clientRenderedBoundaries.push(lr))),Et.allPendingTasks--,Et.allPendingTasks===0){var jo=Et.onAllReady;jo()}}}finally{}}}He.splice(0,Be),M.destination!==null&&va(M,M.destination)}catch(Fo){Is(M,Fo),Yn(M,Fo)}finally{on=he,ho.current=Z,Z===$r&&Vn(z)}}}function ma(M,z,Z){switch(Z.parentFlushed=!0,Z.status){case 0:var he=Z.id=M.nextSegmentId++;return Z.lastPushedText=!1,Z.textEmbedded=!1,M=M.responseState,o(z,Tt),o(z,M.placeholderPrefix),M=d(he.toString(16)),o(z,M),i(z,xt);case 1:Z.status=2;var He=!0;he=Z.chunks;var Be=0;Z=Z.children;for(var ot=0;ot<Z.length;ot++){for(He=Z[ot];Be<He.index;Be++)o(z,he[Be]);He=Ms(M,z,He)}for(;Be<he.length-1;Be++)o(z,he[Be]);return Be<he.length&&(He=i(z,he[Be])),He;default:throw Error(e(390))}}function Ms(M,z,Z){var he=Z.boundary;if(he===null)return ma(M,z,Z);if(he.parentFlushed=!0,he.forceClientRender)he=he.errorDigest,i(z,hr),o(z,yr),he&&(o(z,de),o(z,d(W(he))),o(z,Ee)),i(z,nt),ma(M,z,Z);else if(0<he.pendingTasks){he.rootSegmentID=M.nextSegmentId++,0<he.completedSegments.length&&M.partialBoundaries.push(he);var He=M.responseState,Be=He.nextSuspenseID++;He=h(He.boundaryPrefix+Be.toString(16)),he=he.id=He,qe(z,M.responseState,he),ma(M,z,Z)}else if(he.byteSize>M.progressiveChunkSize)he.rootSegmentID=M.nextSegmentId++,M.completedBoundaries.push(he),qe(z,M.responseState,he.id),ma(M,z,Z);else{if(i(z,Mt),Z=he.completedSegments,Z.length!==1)throw Error(e(391));Ms(M,z,Z[0])}return i(z,_r)}function Ls(M,z,Z){return It(z,M.responseState,Z.formatContext,Z.id),Ms(M,z,Z),Rt(z,Z.formatContext)}function ji(M,z,Z){for(var he=Z.completedSegments,He=0;He<he.length;He++)Wl(M,z,Z,he[He]);if(he.length=0,M=M.responseState,he=Z.id,Z=Z.rootSegmentID,o(z,M.startInlineScript),M.sentCompleteBoundaryFunction?o(z,ur):(M.sentCompleteBoundaryFunction=!0,o(z,Tr)),he===null)throw Error(e(395));return Z=d(Z.toString(16)),o(z,he),o(z,Rn),o(z,M.segmentPrefix),o(z,Z),i(z,Fn)}function Wl(M,z,Z,he){if(he.status===2)return!0;var He=he.id;if(He===-1){if((he.id=Z.rootSegmentID)===-1)throw Error(e(392));return Ls(M,z,he)}return Ls(M,z,he),M=M.responseState,o(z,M.startInlineScript),M.sentCompleteSegmentFunction?o(z,Kt):(M.sentCompleteSegmentFunction=!0,o(z,Qt)),o(z,M.segmentPrefix),He=d(He.toString(16)),o(z,He),o(z,br),o(z,M.placeholderPrefix),o(z,He),i(z,pr)}function va(M,z){t=new Uint8Array(512),n=0;try{var Z=M.completedRootSegment;if(Z!==null&&M.pendingRootTasks===0){Ms(M,z,Z),M.completedRootSegment=null;var he=M.responseState.bootstrapChunks;for(Z=0;Z<he.length-1;Z++)o(z,he[Z]);Z<he.length&&i(z,he[Z])}var He=M.clientRenderedBoundaries,Be;for(Be=0;Be<He.length;Be++){var ot=He[Be];he=z;var Et=M.responseState,Wt=ot.id,mr=ot.errorDigest,lr=ot.errorMessage,Xr=ot.errorComponentStack;if(o(he,Et.startInlineScript),Et.sentClientRenderFunction?o(he,Ur):(Et.sentClientRenderFunction=!0,o(he,Br)),Wt===null)throw Error(e(395));o(he,Wt),o(he,zn),(mr||lr||Xr)&&(o(he,to),o(he,d(cn(mr||"")))),(lr||Xr)&&(o(he,to),o(he,d(cn(lr||"")))),Xr&&(o(he,to),o(he,d(cn(Xr)))),i(he,wn)}He.splice(0,Be);var ao=M.completedBoundaries;for(Be=0;Be<ao.length;Be++)ji(M,z,ao[Be]);ao.splice(0,Be),a(z),t=new Uint8Array(512),n=0;var jo=M.partialBoundaries;for(Be=0;Be<jo.length;Be++){var Fo=jo[Be];e:{He=M,ot=z;var ya=Fo.completedSegments;for(Et=0;Et<ya.length;Et++)if(!Wl(He,ot,Fo,ya[Et])){Et++,ya.splice(0,Et);var Ul=!1;break e}ya.splice(0,Et),Ul=!0}if(!Ul){M.destination=null,Be++,jo.splice(0,Be);return}}jo.splice(0,Be);var Ds=M.completedBoundaries;for(Be=0;Be<Ds.length;Be++)ji(M,z,Ds[Be]);Ds.splice(0,Be)}finally{a(z),M.allPendingTasks===0&&M.pingedTasks.length===0&&M.clientRenderedBoundaries.length===0&&M.completedBoundaries.length===0&&z.close()}}function ol(M,z){try{var Z=M.abortableTasks;Z.forEach(function(he){return $l(he,M,z)}),Z.clear(),M.destination!==null&&va(M,M.destination)}catch(he){Is(M,he),Yn(M,he)}}return jh.renderToReadableStream=function(M,z){return new Promise(function(Z,he){var He,Be,ot=new Promise(function(lr,Xr){Be=lr,He=Xr}),Et=Pi(M,le(z?z.identifierPrefix:void 0,z?z.nonce:void 0,z?z.bootstrapScriptContent:void 0,z?z.bootstrapScripts:void 0,z?z.bootstrapModules:void 0),te(z?z.namespaceURI:void 0),z?z.progressiveChunkSize:void 0,z?z.onError:void 0,Be,function(){var lr=new ReadableStream({type:"bytes",pull:function(Xr){if(Et.status===1)Et.status=2,p(Xr,Et.fatalError);else if(Et.status!==2&&Et.destination===null){Et.destination=Xr;try{va(Et,Xr)}catch(ao){Is(Et,ao),Yn(Et,ao)}}},cancel:function(){ol(Et)}},{highWaterMark:0});lr.allReady=ot,Z(lr)},function(lr){ot.catch(function(){}),he(lr)},He);if(z&&z.signal){var Wt=z.signal,mr=function(){ol(Et,Wt.reason),Wt.removeEventListener("abort",mr)};Wt.addEventListener("abort",mr)}ql(Et)})},jh.version="18.3.1",jh}var Eu={};/**
|
84
84
|
* @license React
|
85
85
|
* react-dom-server-legacy.browser.development.js
|
86
86
|
*
|
@@ -88,11 +88,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
88
88
|
*
|
89
89
|
* This source code is licensed under the MIT license found in the
|
90
90
|
* LICENSE file in the root directory of this source tree.
|
91
|
-
*/var k0;function xE(){return k0||(k0=1,process.env.NODE_ENV!=="production"&&function(){var r=C,e="18.3.1",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(l){{for(var f=arguments.length,y=new Array(f>1?f-1:0),T=1;T<f;T++)y[T-1]=arguments[T];i("warn",l,y)}}function o(l){{for(var f=arguments.length,y=new Array(f>1?f-1:0),T=1;T<f;T++)y[T-1]=arguments[T];i("error",l,y)}}function i(l,f,y){{var T=t.ReactDebugCurrentFrame,N=T.getStackAddendum();N!==""&&(f+="%s",y=y.concat([N]));var H=y.map(function(K){return String(K)});H.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,H)}}function a(l){l()}function c(l){}function d(l,f){h(l,f)}function h(l,f){return l.push(f)}function p(l){}function m(l){l.push(null)}function g(l){return l}function v(l){return l}function w(l,f){l.destroy(f)}function E(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,y=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return y}}function _(l){try{return A(l),!1}catch{return!0}}function A(l){return""+l}function k(l,f){if(_(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),A(l)}function D(l,f){if(_(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),A(l)}function I(l){if(_(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",E(l)),A(l)}var P=Object.prototype.hasOwnProperty,j=0,W=1,F=2,G=3,pe=4,B=5,q=6,V=":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",ee=V+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ae=new RegExp("^["+V+"]["+ee+"]*$"),ne={},oe={};function le(l){return P.call(oe,l)?!0:P.call(ne,l)?!1:ae.test(l)?(oe[l]=!0,!0):(ne[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function ge(l,f,y,T){if(y!==null&&y.type===j)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(y!==null)return!y.acceptsBooleans;var N=l.toLowerCase().slice(0,5);return N!=="data-"&&N!=="aria-"}default:return!1}}function te(l){return ue.hasOwnProperty(l)?ue[l]:null}function ie(l,f,y,T,N,H,K){this.acceptsBooleans=f===F||f===G||f===pe,this.attributeName=T,this.attributeNamespace=N,this.mustUseProperty=y,this.propertyName=l,this.type=f,this.sanitizeURL=H,this.removeEmptyString=K}var ue={},xe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];xe.forEach(function(l){ue[l]=new ie(l,j,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],y=l[1];ue[f]=new ie(f,W,!1,y,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ue[l]=new ie(l,F,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ue[l]=new ie(l,F,!1,l,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"].forEach(function(l){ue[l]=new ie(l,G,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ue[l]=new ie(l,G,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ue[l]=new ie(l,pe,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ue[l]=new ie(l,q,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ue[l]=new ie(l,B,!1,l.toLowerCase(),null,!1,!1)});var ke=/[\-\:]([a-z])/g,se=function(l){return l[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"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ue[l]=new ie(l,W,!1,l.toLowerCase(),null,!1,!1)});var Ae="xlinkHref";ue[Ae]=new ie("xlinkHref",W,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ue[l]=new ie(l,W,!1,l.toLowerCase(),null,!0,!0)});var De={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};function Ge(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var Ue=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(l){Ue.forEach(function(f){De[Ge(f,l)]=De[l]})});var we={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Se(l,f){we[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function _e(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){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 Re={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Me={},tt=new RegExp("^(aria)-["+ee+"]*$"),We=new RegExp("^(aria)[A-Z]["+ee+"]*$");function et(l,f){{if(P.call(Me,f)&&Me[f])return!0;if(We.test(f)){var y="aria-"+f.slice(4).toLowerCase(),T=Re.hasOwnProperty(y)?y:null;if(T==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),Me[f]=!0,!0;if(f!==T)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,T),Me[f]=!0,!0}if(tt.test(f)){var N=f.toLowerCase(),H=Re.hasOwnProperty(N)?N:null;if(H==null)return Me[f]=!0,!1;if(f!==H)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,H),Me[f]=!0,!0}}return!0}function st(l,f){{var y=[];for(var T in f){var N=et(l,T);N||y.push(T)}var H=y.map(function(K){return"`"+K+"`"}).join(", ");y.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",H,l):y.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",H,l)}}function ze(l,f){_e(l,f)||st(l,f)}var Ke=!1;function bt(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!Ke&&(Ke=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var ht={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},dt=function(){};{var St={},Ve=/^on./,rt=/^on[^A-Z]/,vt=new RegExp("^(aria)-["+ee+"]*$"),Tt=new RegExp("^(aria)[A-Z]["+ee+"]*$");dt=function(l,f,y,T){if(P.call(St,f)&&St[f])return!0;var N=f.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),St[f]=!0,!0;if(T!=null){var H=T.registrationNameDependencies,K=T.possibleRegistrationNames;if(H.hasOwnProperty(f))return!0;var ve=K.hasOwnProperty(N)?K[N]:null;if(ve!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,ve),St[f]=!0,!0;if(Ve.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),St[f]=!0,!0}else if(Ve.test(f))return rt.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),St[f]=!0,!0;if(vt.test(f)||Tt.test(f))return!0;if(N==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),St[f]=!0,!0;if(N==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),St[f]=!0,!0;if(N==="is"&&y!==null&&y!==void 0&&typeof y!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof y),St[f]=!0,!0;if(typeof y=="number"&&isNaN(y))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),St[f]=!0,!0;var Pe=te(f),at=Pe!==null&&Pe.type===j;if(ht.hasOwnProperty(N)){var mt=ht[N];if(mt!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,mt),St[f]=!0,!0}else if(!at&&f!==N)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,N),St[f]=!0,!0;return typeof y=="boolean"&&ge(f,y,Pe)?(y?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',y,f,f,y,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',y,f,f,y,f,f,f),St[f]=!0,!0):at?!0:ge(f,y,Pe)?(St[f]=!0,!1):((y==="false"||y==="true")&&Pe!==null&&Pe.type===G&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",y,f,y==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,y),St[f]=!0),!0)}}var xt=function(l,f,y){{var T=[];for(var N in f){var H=dt(l,N,f[N],y);H||T.push(N)}var K=T.map(function(ve){return"`"+ve+"`"}).join(", ");T.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",K,l):T.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",K,l)}};function Mt(l,f,y){_e(l,f)||xt(l,f,y)}var Vt=function(){};{var Ht=/^(?:webkit|moz|o)[A-Z]/,hr=/^-ms-/,_r=/-(.)/g,vr=/;\s*$/,Ee={},de={},nt=!1,qe=!1,pt=function(l){return l.replace(_r,function(f,y){return y.toUpperCase()})},wt=function(l){Ee.hasOwnProperty(l)&&Ee[l]||(Ee[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,pt(l.replace(hr,"ms-"))))},_t=function(l){Ee.hasOwnProperty(l)&&Ee[l]||(Ee[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},jt=function(l,f){de.hasOwnProperty(f)&&de[f]||(de[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(vr,"")))},Ot=function(l,f){nt||(nt=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},ir=function(l,f){qe||(qe=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Vt=function(l,f){l.indexOf("-")>-1?wt(l):Ht.test(l)?_t(l):vr.test(f)&&jt(l,f),typeof f=="number"&&(isNaN(f)?Ot(l,f):isFinite(f)||ir(l,f))}}var Ft=Vt,nr=/["'&<>]/;function tr(l){I(l);var f=""+l,y=nr.exec(f);if(!y)return f;var T,N="",H,K=0;for(H=y.index;H<f.length;H++){switch(f.charCodeAt(H)){case 34:T=""";break;case 38:T="&";break;case 39:T="'";break;case 60:T="<";break;case 62:T=">";break;default:continue}K!==H&&(N+=f.substring(K,H)),K=H+1,N+=T}return K!==H?N+f.substring(K,H):N}function it(l){return typeof l=="boolean"||typeof l=="number"?""+l:tr(l)}var lt=/([A-Z])/g,At=/^ms-/;function kt(l){return l.replace(lt,"-$1").toLowerCase().replace(At,"-ms-")}var Lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,qt=!1;function rr(l){!qt&&Lt.test(l)&&(qt=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var je=Array.isArray;function Q(l){return je(l)}var me="<script>";function Le(l,f,y,T,N){var H=l===void 0?"":l,K=me,ve=[];return{bootstrapChunks:ve,startInlineScript:K,placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ct=0,It=1,Rt=2,Qt=3,Kt=4,yr=5,pr=6,Tr=7;function ur(l,f){return{insertionMode:l,selectedValue:f}}function Rn(l,f,y){switch(f){case"select":return ur(It,y.value!=null?y.value:y.defaultValue);case"svg":return ur(Rt,null);case"math":return ur(Qt,null);case"foreignObject":return ur(It,null);case"table":return ur(Kt,null);case"thead":case"tbody":case"tfoot":return ur(yr,null);case"colgroup":return ur(Tr,null);case"tr":return ur(pr,null)}return l.insertionMode>=Kt||l.insertionMode===ct?ur(It,null):l}var Fn=null;function Br(l){var f=l.nextSuspenseID++;return l.boundaryPrefix+f.toString(16)}function Ur(l,f,y){var T=l.idPrefix,N=":"+T+"R"+f;return y>0&&(N+="H"+y.toString(32)),N+":"}function zn(l){return it(l)}var wn="<!-- -->";function to(l,f,y,T){return f===""?T:(T&&l.push(wn),l.push(zn(f)),!0)}function ro(l,f,y,T){y&&T&&l.push(wn)}var cn=new Map;function $n(l){var f=cn.get(l);if(f!==void 0)return f;var y=it(kt(l));return cn.set(l,y),y}var In=' style="',_o=":",Oo=";";function No(l,f,y){if(typeof y!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var T=!0;for(var N in y)if(P.call(y,N)){var H=y[N];if(!(H==null||typeof H=="boolean"||H==="")){var K=void 0,ve=void 0,Pe=N.indexOf("--")===0;Pe?(K=it(N),D(H,N),ve=it((""+H).trim())):(Ft(N,H),K=$n(N),typeof H=="number"?H!==0&&!P.call(De,N)?ve=H+"px":ve=""+H:(D(H,N),ve=it((""+H).trim()))),T?(T=!1,l.push(In,K,_o,ve)):l.push(Oo,K,_o,ve)}}T||l.push(mn)}var Ln=" ",Mn='="',mn='"',no='=""';function un(l,f,y,T){switch(y){case"style":{No(l,f,T);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(y.length>2&&(y[0]==="o"||y[0]==="O")&&(y[1]==="n"||y[1]==="N"))){var N=te(y);if(N!==null){switch(typeof T){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}var H=N.attributeName,K=H;switch(N.type){case G:T&&l.push(Ln,K,no);return;case pe:T===!0?l.push(Ln,K,no):T===!1||l.push(Ln,K,Mn,it(T),mn);return;case B:isNaN(T)||l.push(Ln,K,Mn,it(T),mn);break;case q:!isNaN(T)&&T>=1&&l.push(Ln,K,Mn,it(T),mn);break;default:N.sanitizeURL&&(k(T,H),T=""+T,rr(T)),l.push(Ln,K,Mn,it(T),mn)}}else if(le(y)){switch(typeof T){case"function":case"symbol":return;case"boolean":{var ve=y.toLowerCase().slice(0,5);if(ve!=="data-"&&ve!=="aria-")return}}l.push(Ln,y,Mn,it(T),mn)}}}var yn=">",R="/>";function $(l,f,y){if(f!=null){if(y!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var T=f.__html;T!=null&&(I(T),l.push(""+T))}}var X=!1,fe=!1,Fe=!1,Ne=!1,Xe=!1,yt=!1,Nt=!1;function $t(l,f){{var y=l[f];if(y!=null){var T=Q(y);l.multiple&&!T?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&T&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function zt(l,f,y){Se("select",f),$t(f,"value"),$t(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!Fe&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Fe=!0),l.push(Dn("select"));var T=null,N=null;for(var H in f)if(P.call(f,H)){var K=f[H];if(K==null)continue;switch(H){case"children":T=K;break;case"dangerouslySetInnerHTML":N=K;break;case"defaultValue":case"value":break;default:un(l,y,H,K);break}}return l.push(yn),$(l,N,T),T}function Ar(l){var f="";return r.Children.forEach(l,function(y){y!=null&&(f+=y,!Xe&&typeof y!="string"&&typeof y!="number"&&(Xe=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Jr=' selected=""';function Cn(l,f,y,T){var N=T.selectedValue;l.push(Dn("option"));var H=null,K=null,ve=null,Pe=null;for(var at in f)if(P.call(f,at)){var mt=f[at];if(mt==null)continue;switch(at){case"children":H=mt;break;case"selected":ve=mt,Nt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nt=!0);break;case"dangerouslySetInnerHTML":Pe=mt;break;case"value":K=mt;default:un(l,y,at,mt);break}}if(N!=null){var Dt;if(K!==null?(k(K,"value"),Dt=""+K):(Pe!==null&&(yt||(yt=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Dt=Ar(H)),Q(N))for(var sr=0;sr<N.length;sr++){k(N[sr],"value");var Hr=""+N[sr];if(Hr===Dt){l.push(Jr);break}}else k(N,"select.value"),""+N===Dt&&l.push(Jr)}else ve&&l.push(Jr);return l.push(yn),$(l,Pe,H),H}function Sn(l,f,y){Se("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!fe&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),fe=!0),f.value!==void 0&&f.defaultValue!==void 0&&!X&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),X=!0),l.push(Dn("input"));var T=null,N=null,H=null,K=null;for(var ve in f)if(P.call(f,ve)){var Pe=f[ve];if(Pe==null)continue;switch(ve){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":K=Pe;break;case"defaultValue":N=Pe;break;case"checked":H=Pe;break;case"value":T=Pe;break;default:un(l,y,ve,Pe);break}}return H!==null?un(l,y,"checked",H):K!==null&&un(l,y,"checked",K),T!==null?un(l,y,"value",T):N!==null&&un(l,y,"value",N),l.push(R),null}function fo(l,f,y){Se("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!Ne&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ne=!0),l.push(Dn("textarea"));var T=null,N=null,H=null;for(var K in f)if(P.call(f,K)){var ve=f[K];if(ve==null)continue;switch(K){case"children":H=ve;break;case"value":T=ve;break;case"defaultValue":N=ve;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:un(l,y,K,ve);break}}if(T===null&&N!==null&&(T=N),l.push(yn),H!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),T!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Q(H)){if(H.length>1)throw new Error("<textarea> can only have at most one child.");I(H[0]),T=""+H[0]}I(H),T=""+H}return typeof T=="string"&&T[0]===`
|
91
|
+
*/var k0;function xE(){return k0||(k0=1,process.env.NODE_ENV!=="production"&&function(){var r=C,e="18.3.1",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(l){{for(var f=arguments.length,y=new Array(f>1?f-1:0),T=1;T<f;T++)y[T-1]=arguments[T];i("warn",l,y)}}function o(l){{for(var f=arguments.length,y=new Array(f>1?f-1:0),T=1;T<f;T++)y[T-1]=arguments[T];i("error",l,y)}}function i(l,f,y){{var T=t.ReactDebugCurrentFrame,N=T.getStackAddendum();N!==""&&(f+="%s",y=y.concat([N]));var H=y.map(function(K){return String(K)});H.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,H)}}function a(l){l()}function c(l){}function d(l,f){h(l,f)}function h(l,f){return l.push(f)}function p(l){}function m(l){l.push(null)}function g(l){return l}function v(l){return l}function w(l,f){l.destroy(f)}function E(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,y=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return y}}function _(l){try{return A(l),!1}catch{return!0}}function A(l){return""+l}function k(l,f){if(_(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),A(l)}function D(l,f){if(_(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,E(l)),A(l)}function I(l){if(_(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",E(l)),A(l)}var P=Object.prototype.hasOwnProperty,j=0,W=1,F=2,G=3,pe=4,B=5,q=6,V=":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",ee=V+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ae=new RegExp("^["+V+"]["+ee+"]*$"),ne={},oe={};function le(l){return P.call(oe,l)?!0:P.call(ne,l)?!1:ae.test(l)?(oe[l]=!0,!0):(ne[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function ge(l,f,y,T){if(y!==null&&y.type===j)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(y!==null)return!y.acceptsBooleans;var N=l.toLowerCase().slice(0,5);return N!=="data-"&&N!=="aria-"}default:return!1}}function te(l){return ue.hasOwnProperty(l)?ue[l]:null}function ie(l,f,y,T,N,H,K){this.acceptsBooleans=f===F||f===G||f===pe,this.attributeName=T,this.attributeNamespace=N,this.mustUseProperty=y,this.propertyName=l,this.type=f,this.sanitizeURL=H,this.removeEmptyString=K}var ue={},xe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];xe.forEach(function(l){ue[l]=new ie(l,j,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],y=l[1];ue[f]=new ie(f,W,!1,y,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ue[l]=new ie(l,F,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ue[l]=new ie(l,F,!1,l,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"].forEach(function(l){ue[l]=new ie(l,G,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ue[l]=new ie(l,G,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ue[l]=new ie(l,pe,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ue[l]=new ie(l,q,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ue[l]=new ie(l,B,!1,l.toLowerCase(),null,!1,!1)});var ke=/[\-\:]([a-z])/g,se=function(l){return l[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"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(ke,se);ue[f]=new ie(f,W,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ue[l]=new ie(l,W,!1,l.toLowerCase(),null,!1,!1)});var Ae="xlinkHref";ue[Ae]=new ie("xlinkHref",W,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ue[l]=new ie(l,W,!1,l.toLowerCase(),null,!0,!0)});var De={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};function Ge(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var Ue=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(l){Ue.forEach(function(f){De[Ge(f,l)]=De[l]})});var we={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Se(l,f){we[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function _e(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){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 Re={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Me={},tt=new RegExp("^(aria)-["+ee+"]*$"),We=new RegExp("^(aria)[A-Z]["+ee+"]*$");function et(l,f){{if(P.call(Me,f)&&Me[f])return!0;if(We.test(f)){var y="aria-"+f.slice(4).toLowerCase(),T=Re.hasOwnProperty(y)?y:null;if(T==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),Me[f]=!0,!0;if(f!==T)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,T),Me[f]=!0,!0}if(tt.test(f)){var N=f.toLowerCase(),H=Re.hasOwnProperty(N)?N:null;if(H==null)return Me[f]=!0,!1;if(f!==H)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,H),Me[f]=!0,!0}}return!0}function st(l,f){{var y=[];for(var T in f){var N=et(l,T);N||y.push(T)}var H=y.map(function(K){return"`"+K+"`"}).join(", ");y.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",H,l):y.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",H,l)}}function ze(l,f){_e(l,f)||st(l,f)}var Ke=!1;function bt(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!Ke&&(Ke=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var ht={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},dt=function(){};{var St={},Ve=/^on./,rt=/^on[^A-Z]/,vt=new RegExp("^(aria)-["+ee+"]*$"),Tt=new RegExp("^(aria)[A-Z]["+ee+"]*$");dt=function(l,f,y,T){if(P.call(St,f)&&St[f])return!0;var N=f.toLowerCase();if(N==="onfocusin"||N==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),St[f]=!0,!0;if(T!=null){var H=T.registrationNameDependencies,K=T.possibleRegistrationNames;if(H.hasOwnProperty(f))return!0;var ve=K.hasOwnProperty(N)?K[N]:null;if(ve!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,ve),St[f]=!0,!0;if(Ve.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),St[f]=!0,!0}else if(Ve.test(f))return rt.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),St[f]=!0,!0;if(vt.test(f)||Tt.test(f))return!0;if(N==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),St[f]=!0,!0;if(N==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),St[f]=!0,!0;if(N==="is"&&y!==null&&y!==void 0&&typeof y!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof y),St[f]=!0,!0;if(typeof y=="number"&&isNaN(y))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),St[f]=!0,!0;var Pe=te(f),at=Pe!==null&&Pe.type===j;if(ht.hasOwnProperty(N)){var mt=ht[N];if(mt!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,mt),St[f]=!0,!0}else if(!at&&f!==N)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,N),St[f]=!0,!0;return typeof y=="boolean"&&ge(f,y,Pe)?(y?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',y,f,f,y,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',y,f,f,y,f,f,f),St[f]=!0,!0):at?!0:ge(f,y,Pe)?(St[f]=!0,!1):((y==="false"||y==="true")&&Pe!==null&&Pe.type===G&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",y,f,y==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,y),St[f]=!0),!0)}}var xt=function(l,f,y){{var T=[];for(var N in f){var H=dt(l,N,f[N],y);H||T.push(N)}var K=T.map(function(ve){return"`"+ve+"`"}).join(", ");T.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",K,l):T.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",K,l)}};function Mt(l,f,y){_e(l,f)||xt(l,f,y)}var Vt=function(){};{var Ht=/^(?:webkit|moz|o)[A-Z]/,hr=/^-ms-/,_r=/-(.)/g,yr=/;\s*$/,Ee={},de={},nt=!1,qe=!1,pt=function(l){return l.replace(_r,function(f,y){return y.toUpperCase()})},wt=function(l){Ee.hasOwnProperty(l)&&Ee[l]||(Ee[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,pt(l.replace(hr,"ms-"))))},_t=function(l){Ee.hasOwnProperty(l)&&Ee[l]||(Ee[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},jt=function(l,f){de.hasOwnProperty(f)&&de[f]||(de[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(yr,"")))},Ot=function(l,f){nt||(nt=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},ir=function(l,f){qe||(qe=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Vt=function(l,f){l.indexOf("-")>-1?wt(l):Ht.test(l)?_t(l):yr.test(f)&&jt(l,f),typeof f=="number"&&(isNaN(f)?Ot(l,f):isFinite(f)||ir(l,f))}}var Ft=Vt,nr=/["'&<>]/;function tr(l){I(l);var f=""+l,y=nr.exec(f);if(!y)return f;var T,N="",H,K=0;for(H=y.index;H<f.length;H++){switch(f.charCodeAt(H)){case 34:T=""";break;case 38:T="&";break;case 39:T="'";break;case 60:T="<";break;case 62:T=">";break;default:continue}K!==H&&(N+=f.substring(K,H)),K=H+1,N+=T}return K!==H?N+f.substring(K,H):N}function it(l){return typeof l=="boolean"||typeof l=="number"?""+l:tr(l)}var lt=/([A-Z])/g,At=/^ms-/;function kt(l){return l.replace(lt,"-$1").toLowerCase().replace(At,"-ms-")}var Lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,qt=!1;function rr(l){!qt&&Lt.test(l)&&(qt=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var je=Array.isArray;function Q(l){return je(l)}var me="<script>";function Le(l,f,y,T,N){var H=l===void 0?"":l,K=me,ve=[];return{bootstrapChunks:ve,startInlineScript:K,placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ct=0,It=1,Rt=2,Qt=3,Kt=4,br=5,pr=6,Tr=7;function ur(l,f){return{insertionMode:l,selectedValue:f}}function Rn(l,f,y){switch(f){case"select":return ur(It,y.value!=null?y.value:y.defaultValue);case"svg":return ur(Rt,null);case"math":return ur(Qt,null);case"foreignObject":return ur(It,null);case"table":return ur(Kt,null);case"thead":case"tbody":case"tfoot":return ur(br,null);case"colgroup":return ur(Tr,null);case"tr":return ur(pr,null)}return l.insertionMode>=Kt||l.insertionMode===ct?ur(It,null):l}var Fn=null;function Br(l){var f=l.nextSuspenseID++;return l.boundaryPrefix+f.toString(16)}function Ur(l,f,y){var T=l.idPrefix,N=":"+T+"R"+f;return y>0&&(N+="H"+y.toString(32)),N+":"}function zn(l){return it(l)}var wn="<!-- -->";function to(l,f,y,T){return f===""?T:(T&&l.push(wn),l.push(zn(f)),!0)}function ro(l,f,y,T){y&&T&&l.push(wn)}var cn=new Map;function $n(l){var f=cn.get(l);if(f!==void 0)return f;var y=it(kt(l));return cn.set(l,y),y}var In=' style="',_o=":",Oo=";";function No(l,f,y){if(typeof y!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var T=!0;for(var N in y)if(P.call(y,N)){var H=y[N];if(!(H==null||typeof H=="boolean"||H==="")){var K=void 0,ve=void 0,Pe=N.indexOf("--")===0;Pe?(K=it(N),D(H,N),ve=it((""+H).trim())):(Ft(N,H),K=$n(N),typeof H=="number"?H!==0&&!P.call(De,N)?ve=H+"px":ve=""+H:(D(H,N),ve=it((""+H).trim()))),T?(T=!1,l.push(In,K,_o,ve)):l.push(Oo,K,_o,ve)}}T||l.push(mn)}var Ln=" ",Mn='="',mn='"',no='=""';function un(l,f,y,T){switch(y){case"style":{No(l,f,T);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(y.length>2&&(y[0]==="o"||y[0]==="O")&&(y[1]==="n"||y[1]==="N"))){var N=te(y);if(N!==null){switch(typeof T){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}var H=N.attributeName,K=H;switch(N.type){case G:T&&l.push(Ln,K,no);return;case pe:T===!0?l.push(Ln,K,no):T===!1||l.push(Ln,K,Mn,it(T),mn);return;case B:isNaN(T)||l.push(Ln,K,Mn,it(T),mn);break;case q:!isNaN(T)&&T>=1&&l.push(Ln,K,Mn,it(T),mn);break;default:N.sanitizeURL&&(k(T,H),T=""+T,rr(T)),l.push(Ln,K,Mn,it(T),mn)}}else if(le(y)){switch(typeof T){case"function":case"symbol":return;case"boolean":{var ve=y.toLowerCase().slice(0,5);if(ve!=="data-"&&ve!=="aria-")return}}l.push(Ln,y,Mn,it(T),mn)}}}var yn=">",R="/>";function $(l,f,y){if(f!=null){if(y!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var T=f.__html;T!=null&&(I(T),l.push(""+T))}}var X=!1,fe=!1,Fe=!1,Ne=!1,Xe=!1,yt=!1,Nt=!1;function $t(l,f){{var y=l[f];if(y!=null){var T=Q(y);l.multiple&&!T?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&T&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function zt(l,f,y){Se("select",f),$t(f,"value"),$t(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!Fe&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Fe=!0),l.push(Dn("select"));var T=null,N=null;for(var H in f)if(P.call(f,H)){var K=f[H];if(K==null)continue;switch(H){case"children":T=K;break;case"dangerouslySetInnerHTML":N=K;break;case"defaultValue":case"value":break;default:un(l,y,H,K);break}}return l.push(yn),$(l,N,T),T}function Ar(l){var f="";return r.Children.forEach(l,function(y){y!=null&&(f+=y,!Xe&&typeof y!="string"&&typeof y!="number"&&(Xe=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Jr=' selected=""';function Cn(l,f,y,T){var N=T.selectedValue;l.push(Dn("option"));var H=null,K=null,ve=null,Pe=null;for(var at in f)if(P.call(f,at)){var mt=f[at];if(mt==null)continue;switch(at){case"children":H=mt;break;case"selected":ve=mt,Nt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nt=!0);break;case"dangerouslySetInnerHTML":Pe=mt;break;case"value":K=mt;default:un(l,y,at,mt);break}}if(N!=null){var Dt;if(K!==null?(k(K,"value"),Dt=""+K):(Pe!==null&&(yt||(yt=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Dt=Ar(H)),Q(N))for(var sr=0;sr<N.length;sr++){k(N[sr],"value");var Hr=""+N[sr];if(Hr===Dt){l.push(Jr);break}}else k(N,"select.value"),""+N===Dt&&l.push(Jr)}else ve&&l.push(Jr);return l.push(yn),$(l,Pe,H),H}function Sn(l,f,y){Se("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!fe&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),fe=!0),f.value!==void 0&&f.defaultValue!==void 0&&!X&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),X=!0),l.push(Dn("input"));var T=null,N=null,H=null,K=null;for(var ve in f)if(P.call(f,ve)){var Pe=f[ve];if(Pe==null)continue;switch(ve){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":K=Pe;break;case"defaultValue":N=Pe;break;case"checked":H=Pe;break;case"value":T=Pe;break;default:un(l,y,ve,Pe);break}}return H!==null?un(l,y,"checked",H):K!==null&&un(l,y,"checked",K),T!==null?un(l,y,"value",T):N!==null&&un(l,y,"value",N),l.push(R),null}function fo(l,f,y){Se("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!Ne&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ne=!0),l.push(Dn("textarea"));var T=null,N=null,H=null;for(var K in f)if(P.call(f,K)){var ve=f[K];if(ve==null)continue;switch(K){case"children":H=ve;break;case"value":T=ve;break;case"defaultValue":N=ve;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:un(l,y,K,ve);break}}if(T===null&&N!==null&&(T=N),l.push(yn),H!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),T!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Q(H)){if(H.length>1)throw new Error("<textarea> can only have at most one child.");I(H[0]),T=""+H[0]}I(H),T=""+H}return typeof T=="string"&&T[0]===`
|
92
92
|
`&&l.push(oo),T!==null&&(k(T,"value"),l.push(zn(""+T))),null}function Vn(l,f,y,T){l.push(Dn(y));for(var N in f)if(P.call(f,N)){var H=f[N];if(H==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error(y+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:un(l,T,N,H);break}}return l.push(R),null}function Po(l,f,y){l.push(Dn("menuitem"));for(var T in f)if(P.call(f,T)){var N=f[T];if(N==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:un(l,y,T,N);break}}return l.push(yn),null}function rn(l,f,y){l.push(Dn("title"));var T=null;for(var N in f)if(P.call(f,N)){var H=f[N];if(H==null)continue;switch(N){case"children":T=H;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:un(l,y,N,H);break}}l.push(yn);{var K=Array.isArray(T)&&T.length<2?T[0]||null:T;Array.isArray(T)&&T.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):K!=null&&K.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):K!=null&&typeof K!="string"&&typeof K!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return T}function Ao(l,f,y,T){l.push(Dn(y));var N=null,H=null;for(var K in f)if(P.call(f,K)){var ve=f[K];if(ve==null)continue;switch(K){case"children":N=ve;break;case"dangerouslySetInnerHTML":H=ve;break;default:un(l,T,K,ve);break}}return l.push(yn),$(l,H,N),typeof N=="string"?(l.push(zn(N)),null):N}function Gn(l,f,y,T){l.push(Dn(y));var N=null,H=null;for(var K in f)if(P.call(f,K)){var ve=f[K];if(ve==null)continue;switch(K){case"children":N=ve;break;case"dangerouslySetInnerHTML":H=ve;break;case"style":No(l,T,ve);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:le(K)&&typeof ve!="function"&&typeof ve!="symbol"&&l.push(Ln,K,Mn,it(ve),mn);break}}return l.push(yn),$(l,H,N),N}var oo=`
|
93
93
|
`;function Oi(l,f,y,T){l.push(Dn(y));var N=null,H=null;for(var K in f)if(P.call(f,K)){var ve=f[K];if(ve==null)continue;switch(K){case"children":N=ve;break;case"dangerouslySetInnerHTML":H=ve;break;default:un(l,T,K,ve);break}}if(l.push(yn),H!=null){if(N!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof H!="object"||!("__html"in H))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Pe=H.__html;Pe!=null&&(typeof Pe=="string"&&Pe.length>0&&Pe[0]===`
|
94
94
|
`?l.push(oo,Pe):(I(Pe),l.push(""+Pe)))}return typeof N=="string"&&N[0]===`
|
95
|
-
`&&l.push(oo),N}var vi=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yi=new Map;function Dn(l){var f=yi.get(l);if(f===void 0){if(!vi.test(l))throw new Error("Invalid tag: "+l);f="<"+l,yi.set(l,f)}return f}var Ni="<!DOCTYPE html>";function io(l,f,y,T,N){switch(ze(f,y),bt(f,y),Mt(f,y,null),!y.suppressContentEditableWarning&&y.contentEditable&&y.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),N.insertionMode!==Rt&&N.insertionMode!==Qt&&f.indexOf("-")===-1&&typeof y.is!="string"&&f.toLowerCase()!==f&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",f),f){case"select":return zt(l,y,T);case"option":return Cn(l,y,T,N);case"textarea":return fo(l,y,T);case"input":return Sn(l,y,T);case"menuitem":return Po(l,y,T);case"title":return rn(l,y,T);case"listing":case"pre":return Oi(l,y,f,T);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Vn(l,y,f,T);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 Ao(l,y,f,T);case"html":return N.insertionMode===ct&&l.push(Ni),Ao(l,y,f,T);default:return f.indexOf("-")===-1&&typeof y.is!="string"?Ao(l,y,f,T):Gn(l,y,f,T)}}var so="</",ni=">";function Pr(l,f,y){switch(f){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(so,f,ni)}}function kr(l,f){for(var y=f.bootstrapChunks,T=0;T<y.length-1;T++)d(l,y[T]);return T<y.length?h(l,y[T]):!0}var Nr='<template id="',O='"></template>';function J(l,f,y){d(l,Nr),d(l,f.placeholderPrefix);var T=y.toString(16);return d(l,T),h(l,O)}var be="<!--$-->",Je='<!--$?--><template id="',Jt='"></template>',Ut="<!--$!-->",
|
95
|
+
`&&l.push(oo),N}var vi=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yi=new Map;function Dn(l){var f=yi.get(l);if(f===void 0){if(!vi.test(l))throw new Error("Invalid tag: "+l);f="<"+l,yi.set(l,f)}return f}var Ni="<!DOCTYPE html>";function io(l,f,y,T,N){switch(ze(f,y),bt(f,y),Mt(f,y,null),!y.suppressContentEditableWarning&&y.contentEditable&&y.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),N.insertionMode!==Rt&&N.insertionMode!==Qt&&f.indexOf("-")===-1&&typeof y.is!="string"&&f.toLowerCase()!==f&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",f),f){case"select":return zt(l,y,T);case"option":return Cn(l,y,T,N);case"textarea":return fo(l,y,T);case"input":return Sn(l,y,T);case"menuitem":return Po(l,y,T);case"title":return rn(l,y,T);case"listing":case"pre":return Oi(l,y,f,T);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Vn(l,y,f,T);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 Ao(l,y,f,T);case"html":return N.insertionMode===ct&&l.push(Ni),Ao(l,y,f,T);default:return f.indexOf("-")===-1&&typeof y.is!="string"?Ao(l,y,f,T):Gn(l,y,f,T)}}var so="</",ni=">";function Pr(l,f,y){switch(f){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(so,f,ni)}}function kr(l,f){for(var y=f.bootstrapChunks,T=0;T<y.length-1;T++)d(l,y[T]);return T<y.length?h(l,y[T]):!0}var Nr='<template id="',O='"></template>';function J(l,f,y){d(l,Nr),d(l,f.placeholderPrefix);var T=y.toString(16);return d(l,T),h(l,O)}var be="<!--$-->",Je='<!--$?--><template id="',Jt='"></template>',Ut="<!--$!-->",xr="<!--/$-->",Er="<template",gr='"',Rr=' data-dgst="',nn=' data-msg="',On=' data-stck="',Kr="></template>";function $r(l,f){return h(l,be)}function on(l,f,y){if(d(l,Je),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(l,y),h(l,Jt)}function ho(l,f,y,T,N){var H;return H=h(l,Ut),d(l,Er),y&&(d(l,Rr),d(l,it(y)),d(l,gr)),T&&(d(l,nn),d(l,it(T)),d(l,gr)),N&&(d(l,On),d(l,it(N)),d(l,gr)),H=h(l,Kr),H}function Eo(l,f){return h(l,xr)}function Zn(l,f){return h(l,xr)}function Pi(l,f){return h(l,xr)}var oi='<div hidden id="',dn='">',Is="</div>",Yn='<svg aria-hidden="true" style="display:none" id="',zl='">',rl="</svg>",ii='<math aria-hidden="true" style="display:none" id="',Bi='">',Kn="</math>",Qr='<table hidden id="',Bo='">',nl="</table>",$l='<table hidden><tbody id="',os='">',Hl="</tbody></table>",ql='<table hidden><tr id="',ma='">',Ms="</tr></table>",Ls='<table hidden><colgroup id="',ji='">',Wl="</colgroup></table>";function va(l,f,y,T){switch(y.insertionMode){case ct:case It:return d(l,oi),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,dn);case Rt:return d(l,Yn),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,zl);case Qt:return d(l,ii),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,Bi);case Kt:return d(l,Qr),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,Bo);case br:return d(l,$l),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,os);case pr:return d(l,ql),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,ma);case Tr:return d(l,Ls),d(l,f.segmentPrefix),d(l,T.toString(16)),h(l,ji);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function ol(l,f){switch(f.insertionMode){case ct:case It:return h(l,Is);case Rt:return h(l,rl);case Qt:return h(l,Kn);case Kt:return h(l,nl);case br:return h(l,Hl);case pr:return h(l,Ms);case Tr:return h(l,Wl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var M="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",z='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Z='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',he=M+';$RS("',He='$RS("',Be='","',ot='")<\/script>';function Et(l,f,y){d(l,f.startInlineScript),f.sentCompleteSegmentFunction?d(l,He):(f.sentCompleteSegmentFunction=!0,d(l,he)),d(l,f.segmentPrefix);var T=y.toString(16);return d(l,T),d(l,Be),d(l,f.placeholderPrefix),d(l,T),h(l,ot)}var Wt=z+';$RC("',mr='$RC("',lr='","',Xr='")<\/script>';function ao(l,f,y,T){if(d(l,f.startInlineScript),f.sentCompleteBoundaryFunction?d(l,mr):(f.sentCompleteBoundaryFunction=!0,d(l,Wt)),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var N=T.toString(16);return d(l,y),d(l,lr),d(l,f.segmentPrefix),d(l,N),h(l,Xr)}var jo=Z+';$RX("',Fo='$RX("',ya='"',Ul=")<\/script>",Ds=",";function ba(l,f,y,T,N,H){if(d(l,f.startInlineScript),f.sentClientRenderFunction?d(l,Fo):(f.sentClientRenderFunction=!0,d(l,jo)),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(l,y),d(l,ya),(T||N||H)&&(d(l,Ds),d(l,Vc(T||""))),(N||H)&&(d(l,Ds),d(l,Vc(N||""))),H&&(d(l,Ds),d(l,Vc(H))),h(l,Ul)}var ff=/[<\u2028\u2029]/g;function Vc(l){var f=JSON.stringify(l);return f.replace(ff,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Gc(l,f){var y=Le(f);return{bootstrapChunks:y.bootstrapChunks,startInlineScript:y.startInlineScript,placeholderPrefix:y.placeholderPrefix,segmentPrefix:y.segmentPrefix,boundaryPrefix:y.boundaryPrefix,idPrefix:y.idPrefix,nextSuspenseID:y.nextSuspenseID,sentCompleteSegmentFunction:y.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:y.sentCompleteBoundaryFunction,sentClientRenderFunction:y.sentClientRenderFunction,generateStaticMarkup:l}}function Vu(){return{insertionMode:It,selectedValue:null}}function Fi(l,f,y,T){return y.generateStaticMarkup?(l.push(it(f)),!1):to(l,f,y,T)}function il(l,f,y,T){if(!f.generateStaticMarkup)return ro(l,f,y,T)}function hf(l,f){return f.generateStaticMarkup?!0:$r(l)}function pf(l,f,y,T,N){return f.generateStaticMarkup?!0:ho(l,f,y,T,N)}function gf(l,f){return f.generateStaticMarkup?!0:Eo(l)}function xa(l,f){return f.generateStaticMarkup?!0:Pi(l)}var vn=Object.assign,Gu=Symbol.for("react.element"),Zu=Symbol.for("react.portal"),Vl=Symbol.for("react.fragment"),zo=Symbol.for("react.strict_mode"),Yu=Symbol.for("react.profiler"),Gl=Symbol.for("react.provider"),zi=Symbol.for("react.context"),Te=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),Pt=Symbol.for("react.memo"),ar=Symbol.for("react.lazy"),jr=Symbol.for("react.scope"),_n=Symbol.for("react.debug_trace_mode"),Yr=Symbol.for("react.legacy_hidden"),wa=Symbol.for("react.default_value"),Ku=Symbol.iterator,Ko="@@iterator";function Zl(l){if(l===null||typeof l!="object")return null;var f=Ku&&l[Ku]||l[Ko];return typeof f=="function"?f:null}function mf(l,f,y){var T=l.displayName;if(T)return T;var N=f.displayName||f.name||"";return N!==""?y+"("+N+")":y}function is(l){return l.displayName||"Context"}function en(l){if(l==null)return null;if(typeof l.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Vl:return"Fragment";case Zu:return"Portal";case Yu:return"Profiler";case zo:return"StrictMode";case Qe:return"Suspense";case Ye:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case zi:var f=l;return is(f)+".Consumer";case Gl:var y=l;return is(y._context)+".Provider";case Te:return mf(l,l.render,"ForwardRef");case Pt:var T=l.displayName||null;return T!==null?T:en(l.type)||"Memo";case ar:{var N=l,H=N._payload,K=N._init;try{return en(K(H))}catch{return null}}}return null}var ss=0,Vr,Zc,sn,$i,Yc,Kc,Xc;function Ca(){}Ca.__reactDisabledLog=!0;function Hi(){{if(ss===0){Vr=console.log,Zc=console.info,sn=console.warn,$i=console.error,Yc=console.group,Kc=console.groupCollapsed,Xc=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ca,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ss++}}function sl(){{if(ss--,ss===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:vn({},l,{value:Vr}),info:vn({},l,{value:Zc}),warn:vn({},l,{value:sn}),error:vn({},l,{value:$i}),group:vn({},l,{value:Yc}),groupCollapsed:vn({},l,{value:Kc}),groupEnd:vn({},l,{value:Xc})})}ss<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var al=t.ReactCurrentDispatcher,Os;function Sa(l,f,y){{if(Os===void 0)try{throw Error()}catch(N){var T=N.stack.trim().match(/\n( *(at )?)/);Os=T&&T[1]||""}return`
|
96
96
|
`+Os+l}}var Yl=!1,qi;{var Kl=typeof WeakMap=="function"?WeakMap:Map;qi=new Kl}function si(l,f){if(!l||Yl)return"";{var y=qi.get(l);if(y!==void 0)return y}var T;Yl=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var H;H=al.current,al.current=null,Hi();try{if(f){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(qn){T=qn}Reflect.construct(l,[],K)}else{try{K.call()}catch(qn){T=qn}l.call(K.prototype)}}else{try{throw Error()}catch(qn){T=qn}l()}}catch(qn){if(qn&&T&&typeof qn.stack=="string"){for(var ve=qn.stack.split(`
|
97
97
|
`),Pe=T.stack.split(`
|
98
98
|
`),at=ve.length-1,mt=Pe.length-1;at>=1&&mt>=0&&ve[at]!==Pe[mt];)mt--;for(;at>=1&&mt>=0;at--,mt--)if(ve[at]!==Pe[mt]){if(at!==1||mt!==1)do if(at--,mt--,mt<0||ve[at]!==Pe[mt]){var Dt=`
|
@@ -119,7 +119,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
119
119
|
Previous: %s
|
120
120
|
Incoming: %s`,Ho,"["+l.join(", ")+"]","["+f.join(", ")+"]");for(var y=0;y<f.length&&y<l.length;y++)if(!Af(l[y],f[y]))return!1;return!0}function go(){if(hs>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function ai(){return Lr===null?rc===null?($o=!1,rc=Lr=go()):($o=!0,Lr=rc):Lr.next===null?($o=!1,Lr=Lr.next=go()):($o=!0,Lr=Lr.next),Lr}function Fs(l,f){po=f,nu=l,To=!1,js=0}function nd(l,f,y,T){for(;Ia;)Ia=!1,js=0,hs+=1,Lr=null,y=l(f,T);return qo(),y}function iu(){var l=js!==0;return l}function qo(){To=!1,po=null,nu=null,Ia=!1,rc=null,hs=0,Fr=null,Lr=null}function su(l){return To&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),ds(l)}function zs(l){return Ho="useContext",Si(),ds(l)}function mo(l,f){return typeof f=="function"?f(l):f}function au(l){return Ho="useState",lu(mo,l)}function lu(l,f,y){if(l!==mo&&(Ho="useReducer"),po=Si(),Lr=ai(),$o){var T=Lr.queue,N=T.dispatch;if(Fr!==null){var H=Fr.get(T);if(H!==void 0){Fr.delete(T);var K=Lr.memoizedState,ve=H;do{var Pe=ve.action;To=!0,K=l(K,Pe),To=!1,ve=ve.next}while(ve!==null);return Lr.memoizedState=K,[K,N]}}return[Lr.memoizedState,N]}else{To=!0;var at;l===mo?at=typeof f=="function"?f():f:at=y!==void 0?y(f):f,To=!1,Lr.memoizedState=at;var mt=Lr.queue={last:null,dispatch:null},Dt=mt.dispatch=uu.bind(null,po,mt);return[Lr.memoizedState,Dt]}}function cu(l,f){po=Si(),Lr=ai();var y=f===void 0?null:f;if(Lr!==null){var T=Lr.memoizedState;if(T!==null&&y!==null){var N=T[1];if(ou(y,N))return T[0]}}To=!0;var H=l();return To=!1,Lr.memoizedState=[H,y],H}function $s(l){po=Si(),Lr=ai();var f=Lr.memoizedState;if(f===null){var y={current:l};return Object.seal(y),Lr.memoizedState=y,y}else return f}function ps(l,f){Ho="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function uu(l,f,y){if(hs>=pl)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===po){Ia=!0;var T={action:y,next:null};Fr===null&&(Fr=new Map);var N=Fr.get(f);if(N===void 0)Fr.set(f,T);else{for(var H=N;H.next!==null;)H=H.next;H.next=T}}}function od(l,f){return cu(function(){return l},f)}function nc(l,f,y){return Si(),f(l._source)}function Ef(l,f,y){if(y===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return y()}function id(l){return Si(),l}function Xn(){throw new Error("startTransition cannot be called during server rendering.")}function du(){return Si(),[!1,Xn]}function sd(){var l=nu,f=wf(l.treeContext),y=Ma;if(y===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var T=js++;return Ur(y,f,T)}function Wo(){}var oc={readContext:su,useContext:zs,useMemo:cu,useReducer:lu,useRef:$s,useState:au,useInsertionEffect:Wo,useLayoutEffect:ps,useCallback:od,useImperativeHandle:Wo,useEffect:Wo,useDebugValue:Wo,useDeferredValue:id,useTransition:du,useId:sd,useMutableSource:nc,useSyncExternalStore:Ef},Ma=null;function gs(l){Ma=l}function gl(l){try{var f="",y=l;do{switch(y.tag){case 0:f+=Sa(y.type,null,null);break;case 1:f+=as(y.type,null,null);break;case 2:f+=Wi(y.type,null,null);break}y=y.parent}while(y);return f}catch(T){return`
|
121
121
|
Error generating stack: `+T.message+`
|
122
|
-
`+T.stack}}var Hn=t.ReactCurrentDispatcher,Hs=t.ReactDebugCurrentFrame,ic=0,La=1,sc=2,Da=3,ac=4,_i=0,lc=1,qs=2,ad=12800;function ml(l){return console.error(l),null}function Oa(){}function Na(l,f,y,T,N,H,K,ve,Pe){var at=[],mt=new Set,Dt={destination:null,responseState:f,progressiveChunkSize:T===void 0?ad:T,status:_i,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:mt,pingedTasks:at,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:N===void 0?ml:N,onAllReady:Oa,onShellReady:K===void 0?Oa:K,onShellError:Oa,onFatalError:Oa},sr=cc(Dt,0,null,y,!1,!1);sr.parentFlushed=!0;var Hr=Ws(Dt,l,null,sr,mt,Ea,Nn,xf);return at.push(Hr),Dt}function fu(l,f){var y=l.pingedTasks;y.push(f),y.length===1&&a(function(){return vc(l)})}function ld(l,f){return{id:Fn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function Ws(l,f,y,T,N,H,K,ve){l.allPendingTasks++,y===null?l.pendingRootTasks++:y.pendingTasks++;var Pe={node:f,ping:function(){return fu(l,Pe)},blockedBoundary:y,blockedSegment:T,abortSet:N,legacyContext:H,context:K,treeContext:ve};return Pe.componentStack=null,N.add(Pe),Pe}function cc(l,f,y,T,N,H){return{status:ic,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:y,lastPushedText:N,textEmbedded:H}}var Yi=null;function uc(){return Yi===null||Yi.componentStack===null?"":gl(Yi.componentStack)}function Ki(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function vl(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function li(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function ci(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ai=null;function yl(l,f){{var y;typeof f=="string"?y=f:f&&typeof f.message=="string"?y=f.message:y=String(f);var T=Ai||uc();Ai=null,l.errorMessage=y,l.errorComponentStack=T}}function ms(l,f){var y=l.onError(f);if(y!=null&&typeof y!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof y+'" instead');return y}function ui(l,f){var y=l.onShellError;y(f);var T=l.onFatalError;T(f),l.destination!==null?(l.status=qs,w(l.destination,f)):(l.status=lc,l.fatalError=f)}function Pa(l,f,y){Ki(f,"Suspense");var T=f.blockedBoundary,N=f.blockedSegment,H=y.fallback,K=y.children,ve=new Set,Pe=ld(l,ve),at=N.chunks.length,mt=cc(l,at,Pe,N.formatContext,!1,!1);N.children.push(mt),N.lastPushedText=!1;var Dt=cc(l,0,null,N.formatContext,!1,!1);Dt.parentFlushed=!0,f.blockedBoundary=Pe,f.blockedSegment=Dt;try{if(Jn(l,f,K),il(Dt.chunks,l.responseState,Dt.lastPushedText,Dt.textEmbedded),Dt.status=La,Uo(Pe,Dt),Pe.pendingTasks===0){ci(f);return}}catch(Hr){Dt.status=ac,Pe.forceClientRender=!0,Pe.errorDigest=ms(l,Hr),yl(Pe,Hr)}finally{f.blockedBoundary=T,f.blockedSegment=N}var sr=Ws(l,H,T,mt,ve,f.legacyContext,f.context,f.treeContext);sr.componentStack=f.componentStack,l.pingedTasks.push(sr),ci(f)}function dc(l,f,y,T){Ki(f,y);var N=f.blockedSegment,H=io(N.chunks,y,T,l.responseState,N.formatContext);N.lastPushedText=!1;var K=N.formatContext;N.formatContext=Rn(K,y,T),Jn(l,f,H),N.formatContext=K,Pr(N.chunks,y),N.lastPushedText=!1,ci(f)}function bl(l){return l.prototype&&l.prototype.isReactComponent}function Ba(l,f,y,T,N){var H={};Fs(f,H);var K=y(T,N);return nd(y,T,K,N)}function cd(l,f,y,T,N){var H=y.render();y.props!==N&&(xr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(T)||"a component"),xr=!0);{var K=T.childContextTypes;if(K!=null){var ve=f.legacyContext,Pe=Ju(y,T,ve,K);f.legacyContext=Pe,yo(l,f,H),f.legacyContext=ve;return}}yo(l,f,H)}function hu(l,f,y,T){li(f,y);var N=cl(y,f.legacyContext),H=ed(y,T,N);Ci(H,y,T,N),cd(l,f,H,y,T),ci(f)}var pu={},Us={},gu={},fc={},xr=!1,xl={},mu=!1,Vs=!1,hc=!1;function ud(l,f,y,T){var N;if(N=cl(y,f.legacyContext),vl(f,y),y.prototype&&typeof y.prototype.render=="function"){var H=en(y)||"Unknown";pu[H]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",H,H),pu[H]=!0)}var K=Ba(l,f,y,T,N),ve=iu();if(typeof K=="object"&&K!==null&&typeof K.render=="function"&&K.$$typeof===void 0){var Pe=en(y)||"Unknown";Us[Pe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Pe,Pe,Pe),Us[Pe]=!0)}if(typeof K=="object"&&K!==null&&typeof K.render=="function"&&K.$$typeof===void 0){{var at=en(y)||"Unknown";Us[at]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",at,at,at),Us[at]=!0)}Ci(K,y,T,N),cd(l,f,K,y,T)}else if(dd(y),ve){var mt=f.treeContext,Dt=1,sr=0;f.treeContext=tu(mt,Dt,sr);try{yo(l,f,K)}finally{f.treeContext=mt}}else yo(l,f,K);ci(f)}function dd(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var f=en(l)||"Unknown";xl[f]||(o("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",f),xl[f]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var y=en(l)||"Unknown";fc[y]||(o("%s: Function components do not support getDerivedStateFromProps.",y),fc[y]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var T=en(l)||"Unknown";gu[T]||(o("%s: Function components do not support contextType.",T),gu[T]=!0)}}}function ko(l,f){if(l&&l.defaultProps){var y=vn({},f),T=l.defaultProps;for(var N in T)y[N]===void 0&&(y[N]=T[N]);return y}return f}function fd(l,f,y,T,N){vl(f,y.render);var H=Ba(l,f,y.render,T,N),K=iu();if(K){var ve=f.treeContext,Pe=1,at=0;f.treeContext=tu(ve,Pe,at);try{yo(l,f,H)}finally{f.treeContext=ve}}else yo(l,f,H);ci(f)}function pc(l,f,y,T,N){var H=y.type,K=ko(H,T);vo(l,f,H,K,N)}function vu(l,f,y,T){y._context===void 0?y!==y.Consumer&&(hc||(hc=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):y=y._context;var N=T.children;typeof N!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var H=ds(y),K=N(H);yo(l,f,K)}function yu(l,f,y,T){var N=y._context,H=T.value,K=T.children,ve;ve=f.context,f.context=ka(N,H),yo(l,f,K),f.context=ul(N),ve!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function hd(l,f,y,T,N){Ki(f,"Lazy");var H=y._payload,K=y._init,ve=K(H),Pe=ko(ve,T);vo(l,f,ve,Pe,N),ci(f)}function vo(l,f,y,T,N){if(typeof y=="function")if(bl(y)){hu(l,f,y,T);return}else{ud(l,f,y,T);return}if(typeof y=="string"){dc(l,f,y,T);return}switch(y){case Yr:case _n:case zo:case Yu:case Vl:{yo(l,f,T.children);return}case Ye:{Ki(f,"SuspenseList"),yo(l,f,T.children),ci(f);return}case jr:throw new Error("ReactDOMServer does not yet support scope components.");case Qe:{Pa(l,f,T);return}}if(typeof y=="object"&&y!==null)switch(y.$$typeof){case Te:{fd(l,f,y,T,N);return}case Pt:{pc(l,f,y,T,N);return}case Gl:{yu(l,f,y,T);return}case zi:{vu(l,f,y,T);return}case ar:{hd(l,f,y,T);return}}var H="";throw(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(y==null?y:typeof y)+"."+H))}function vs(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(mu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),mu=!0),l.entries===f&&(Vs||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Vs=!0)}function yo(l,f,y){try{return pd(l,f,y)}catch(T){throw typeof T=="object"&&T!==null&&typeof T.then=="function"||(Ai=Ai!==null?Ai:uc()),T}}function pd(l,f,y){if(f.node=y,typeof y=="object"&&y!==null){switch(y.$$typeof){case Gu:{var T=y,N=T.type,H=T.props,K=T.ref;vo(l,f,N,H,K);return}case Zu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ar:{var ve=y,Pe=ve._payload,at=ve._init,mt;try{mt=at(Pe)}catch(Fa){throw typeof Fa=="object"&&Fa!==null&&typeof Fa.then=="function"&&Ki(f,"Lazy"),Fa}yo(l,f,mt);return}}if(Q(y)){Gs(l,f,y);return}var Dt=Zl(y);if(Dt){vs(y,Dt);var sr=Dt.call(y);if(sr){var Hr=sr.next();if(!Hr.done){var qn=[];do qn.push(Hr.value),Hr=sr.next();while(!Hr.done);Gs(l,f,qn);return}return}}var Ei=Object.prototype.toString.call(y);throw new Error("Objects are not valid as a React child (found: "+(Ei==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Ei)+"). If you meant to render a collection of children, use an array instead.")}if(typeof y=="string"){var xs=f.blockedSegment;xs.lastPushedText=Fi(f.blockedSegment.chunks,y,l.responseState,xs.lastPushedText);return}if(typeof y=="number"){var di=f.blockedSegment;di.lastPushedText=Fi(f.blockedSegment.chunks,""+y,l.responseState,di.lastPushedText);return}typeof y=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Gs(l,f,y){for(var T=y.length,N=0;N<T;N++){var H=f.treeContext;f.treeContext=tu(H,T,N);try{Jn(l,f,y[N])}finally{f.treeContext=H}}}function gd(l,f,y){var T=f.blockedSegment,N=T.chunks.length,H=cc(l,N,null,T.formatContext,T.lastPushedText,!0);T.children.push(H),T.lastPushedText=!1;var K=Ws(l,f.node,f.blockedBoundary,H,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(K.componentStack=f.componentStack.parent);var ve=K.ping;y.then(ve,ve)}function Jn(l,f,y){var T=f.blockedSegment.formatContext,N=f.legacyContext,H=f.context,K=null;K=f.componentStack;try{return yo(l,f,y)}catch(ve){if(qo(),typeof ve=="object"&&ve!==null&&typeof ve.then=="function"){gd(l,f,ve),f.blockedSegment.formatContext=T,f.legacyContext=N,f.context=H,Ui(H),f.componentStack=K;return}else throw f.blockedSegment.formatContext=T,f.legacyContext=N,f.context=H,Ui(H),f.componentStack=K,ve}}function md(l,f,y,T){var N=ms(l,T);if(f===null?ui(l,T):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=N,yl(f,T),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var H=l.onAllReady;H()}}function gc(l){var f=this,y=l.blockedBoundary,T=l.blockedSegment;T.status=Da,vd(f,y,T)}function mc(l,f,y){var T=l.blockedBoundary,N=l.blockedSegment;if(N.status=Da,T===null)f.allPendingTasks--,f.status!==qs&&(f.status=qs,f.destination!==null&&m(f.destination));else{if(T.pendingTasks--,!T.forceClientRender){T.forceClientRender=!0;var H=y===void 0?new Error("The render was aborted by the server without a reason."):y;T.errorDigest=f.onError(H);{var K="The server did not finish this Suspense boundary: ";H&&typeof H.message=="string"?H=K+H.message:H=K+String(H);var ve=Yi;Yi=l;try{yl(T,H)}finally{Yi=ve}}T.parentFlushed&&f.clientRenderedBoundaries.push(T)}if(T.fallbackAbortableTasks.forEach(function(at){return mc(at,f,y)}),T.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var Pe=f.onAllReady;Pe()}}}function Uo(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var y=f.children[0];y.id=f.id,y.parentFlushed=!0,y.status===La&&Uo(l,y)}else{var T=l.completedSegments;T.push(f)}}function vd(l,f,y){if(f===null){if(y.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=y}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Oa;var T=l.onShellReady;T()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)y.parentFlushed&&y.status===La&&Uo(f,y),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(gc,l),f.fallbackAbortableTasks.clear();else if(y.parentFlushed&&y.status===La){Uo(f,y);var N=f.completedSegments;N.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var H=l.onAllReady;H()}}function ys(l,f){var y=f.blockedSegment;if(y.status===ic){Ui(f.context);var T=null;T=Yi,Yi=f;try{yo(l,f,f.node),il(y.chunks,l.responseState,y.lastPushedText,y.textEmbedded),f.abortSet.delete(f),y.status=La,vd(l,f.blockedBoundary,y)}catch(H){if(qo(),typeof H=="object"&&H!==null&&typeof H.then=="function"){var N=f.ping;H.then(N,N)}else f.abortSet.delete(f),y.status=ac,md(l,f.blockedBoundary,y,H)}finally{Yi=T}}}function vc(l){if(l.status!==qs){var f=Ps(),y=Hn.current;Hn.current=oc;var T;T=Hs.getCurrentStack,Hs.getCurrentStack=uc;var N=Ma;gs(l.responseState);try{var H=l.pingedTasks,K;for(K=0;K<H.length;K++){var ve=H[K];ys(l,ve)}H.splice(0,K),l.destination!==null&&yc(l,l.destination)}catch(Pe){ms(l,Pe),ui(l,Pe)}finally{gs(N),Hn.current=y,Hs.getCurrentStack=T,y===oc&&Ui(f)}}}function bs(l,f,y){switch(y.parentFlushed=!0,y.status){case ic:{var T=y.id=l.nextSegmentId++;return y.lastPushedText=!1,y.textEmbedded=!1,J(f,l.responseState,T)}case La:{y.status=sc;for(var N=!0,H=y.chunks,K=0,ve=y.children,Pe=0;Pe<ve.length;Pe++){for(var at=ve[Pe];K<at.index;K++)d(f,H[K]);N=Zs(l,f,at)}for(;K<H.length-1;K++)d(f,H[K]);return K<H.length&&(N=h(f,H[K])),N}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Zs(l,f,y){var T=y.boundary;if(T===null)return bs(l,f,y);if(T.parentFlushed=!0,T.forceClientRender)return pf(f,l.responseState,T.errorDigest,T.errorMessage,T.errorComponentStack),bs(l,f,y),xa(f,l.responseState);if(T.pendingTasks>0){T.rootSegmentID=l.nextSegmentId++,T.completedSegments.length>0&&l.partialBoundaries.push(T);var N=T.id=Br(l.responseState);return on(f,l.responseState,N),bs(l,f,y),Zn(f,l.responseState)}else{if(T.byteSize>l.progressiveChunkSize)return T.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(T),on(f,l.responseState,T.id),bs(l,f,y),Zn(f,l.responseState);hf(f,l.responseState);var H=T.completedSegments;if(H.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var K=H[0];return Zs(l,f,K),gf(f,l.responseState)}}function Tf(l,f,y){return ba(f,l.responseState,y.id,y.errorDigest,y.errorMessage,y.errorComponentStack)}function bu(l,f,y){return va(f,l.responseState,y.formatContext,y.id),Zs(l,f,y),ol(f,y.formatContext)}function wl(l,f,y){for(var T=y.completedSegments,N=0;N<T.length;N++){var H=T[N];xu(l,f,y,H)}return T.length=0,ao(f,l.responseState,y.id,y.rootSegmentID)}function Cl(l,f,y){for(var T=y.completedSegments,N=0;N<T.length;N++){var H=T[N];if(!xu(l,f,y,H))return N++,T.splice(0,N),!1}return T.splice(0,N),!0}function xu(l,f,y,T){if(T.status===sc)return!0;var N=T.id;if(N===-1){var H=T.id=y.rootSegmentID;if(H===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return bu(l,f,T)}else return bu(l,f,T),Et(f,l.responseState,N)}function yc(l,f){try{var y=l.completedRootSegment;y!==null&&l.pendingRootTasks===0&&(Zs(l,f,y),l.completedRootSegment=null,kr(f,l.responseState));var T=l.clientRenderedBoundaries,N;for(N=0;N<T.length;N++){var H=T[N];if(!Tf(l,f,H)){l.destination=null,N++,T.splice(0,N);return}}T.splice(0,N);var K=l.completedBoundaries;for(N=0;N<K.length;N++){var ve=K[N];if(!wl(l,f,ve)){l.destination=null,N++,K.splice(0,N);return}}K.splice(0,N);var Pe=l.partialBoundaries;for(N=0;N<Pe.length;N++){var at=Pe[N];if(!Cl(l,f,at)){l.destination=null,N++,Pe.splice(0,N);return}}Pe.splice(0,N);var mt=l.completedBoundaries;for(N=0;N<mt.length;N++){var Dt=mt[N];if(!wl(l,f,Dt)){l.destination=null,N++,mt.splice(0,N);return}}mt.splice(0,N)}finally{l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),m(f))}}function wu(l){a(function(){return vc(l)})}function yd(l,f){if(l.status===lc){l.status=qs,w(f,l.fatalError);return}if(l.status!==qs&&l.destination===null){l.destination=f;try{yc(l,f)}catch(y){ms(l,y),ui(l,y)}}}function bo(l,f){try{var y=l.abortableTasks;y.forEach(function(T){return mc(T,l,f)}),y.clear(),l.destination!==null&&yc(l,l.destination)}catch(T){ms(l,T),ui(l,T)}}function Xo(){}function bd(l,f,y,T){var N=!1,H=null,K="",ve={push:function(Dt){return Dt!==null&&(K+=Dt),!0},destroy:function(Dt){N=!0,H=Dt}},Pe=!1;function at(){Pe=!0}var mt=Na(l,Gc(y,f?f.identifierPrefix:void 0),Vu(),1/0,Xo,void 0,at);if(wu(mt),bo(mt,T),yd(mt,ve),N)throw H;if(!Pe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return K}function kf(l,f){return bd(l,f,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Sl(l,f){return bd(l,f,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function ja(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function b(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Eu.renderToNodeStream=ja,Eu.renderToStaticMarkup=Sl,Eu.renderToStaticNodeStream=b,Eu.renderToString=kf,Eu.version=e}()),Eu}var Fh={};/**
|
122
|
+
`+T.stack}}var Hn=t.ReactCurrentDispatcher,Hs=t.ReactDebugCurrentFrame,ic=0,La=1,sc=2,Da=3,ac=4,_i=0,lc=1,qs=2,ad=12800;function ml(l){return console.error(l),null}function Oa(){}function Na(l,f,y,T,N,H,K,ve,Pe){var at=[],mt=new Set,Dt={destination:null,responseState:f,progressiveChunkSize:T===void 0?ad:T,status:_i,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:mt,pingedTasks:at,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:N===void 0?ml:N,onAllReady:Oa,onShellReady:K===void 0?Oa:K,onShellError:Oa,onFatalError:Oa},sr=cc(Dt,0,null,y,!1,!1);sr.parentFlushed=!0;var Hr=Ws(Dt,l,null,sr,mt,Ea,Nn,xf);return at.push(Hr),Dt}function fu(l,f){var y=l.pingedTasks;y.push(f),y.length===1&&a(function(){return vc(l)})}function ld(l,f){return{id:Fn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function Ws(l,f,y,T,N,H,K,ve){l.allPendingTasks++,y===null?l.pendingRootTasks++:y.pendingTasks++;var Pe={node:f,ping:function(){return fu(l,Pe)},blockedBoundary:y,blockedSegment:T,abortSet:N,legacyContext:H,context:K,treeContext:ve};return Pe.componentStack=null,N.add(Pe),Pe}function cc(l,f,y,T,N,H){return{status:ic,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:y,lastPushedText:N,textEmbedded:H}}var Yi=null;function uc(){return Yi===null||Yi.componentStack===null?"":gl(Yi.componentStack)}function Ki(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function vl(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function li(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function ci(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ai=null;function yl(l,f){{var y;typeof f=="string"?y=f:f&&typeof f.message=="string"?y=f.message:y=String(f);var T=Ai||uc();Ai=null,l.errorMessage=y,l.errorComponentStack=T}}function ms(l,f){var y=l.onError(f);if(y!=null&&typeof y!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof y+'" instead');return y}function ui(l,f){var y=l.onShellError;y(f);var T=l.onFatalError;T(f),l.destination!==null?(l.status=qs,w(l.destination,f)):(l.status=lc,l.fatalError=f)}function Pa(l,f,y){Ki(f,"Suspense");var T=f.blockedBoundary,N=f.blockedSegment,H=y.fallback,K=y.children,ve=new Set,Pe=ld(l,ve),at=N.chunks.length,mt=cc(l,at,Pe,N.formatContext,!1,!1);N.children.push(mt),N.lastPushedText=!1;var Dt=cc(l,0,null,N.formatContext,!1,!1);Dt.parentFlushed=!0,f.blockedBoundary=Pe,f.blockedSegment=Dt;try{if(Jn(l,f,K),il(Dt.chunks,l.responseState,Dt.lastPushedText,Dt.textEmbedded),Dt.status=La,Uo(Pe,Dt),Pe.pendingTasks===0){ci(f);return}}catch(Hr){Dt.status=ac,Pe.forceClientRender=!0,Pe.errorDigest=ms(l,Hr),yl(Pe,Hr)}finally{f.blockedBoundary=T,f.blockedSegment=N}var sr=Ws(l,H,T,mt,ve,f.legacyContext,f.context,f.treeContext);sr.componentStack=f.componentStack,l.pingedTasks.push(sr),ci(f)}function dc(l,f,y,T){Ki(f,y);var N=f.blockedSegment,H=io(N.chunks,y,T,l.responseState,N.formatContext);N.lastPushedText=!1;var K=N.formatContext;N.formatContext=Rn(K,y,T),Jn(l,f,H),N.formatContext=K,Pr(N.chunks,y),N.lastPushedText=!1,ci(f)}function bl(l){return l.prototype&&l.prototype.isReactComponent}function Ba(l,f,y,T,N){var H={};Fs(f,H);var K=y(T,N);return nd(y,T,K,N)}function cd(l,f,y,T,N){var H=y.render();y.props!==N&&(wr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(T)||"a component"),wr=!0);{var K=T.childContextTypes;if(K!=null){var ve=f.legacyContext,Pe=Ju(y,T,ve,K);f.legacyContext=Pe,yo(l,f,H),f.legacyContext=ve;return}}yo(l,f,H)}function hu(l,f,y,T){li(f,y);var N=cl(y,f.legacyContext),H=ed(y,T,N);Ci(H,y,T,N),cd(l,f,H,y,T),ci(f)}var pu={},Us={},gu={},fc={},wr=!1,xl={},mu=!1,Vs=!1,hc=!1;function ud(l,f,y,T){var N;if(N=cl(y,f.legacyContext),vl(f,y),y.prototype&&typeof y.prototype.render=="function"){var H=en(y)||"Unknown";pu[H]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",H,H),pu[H]=!0)}var K=Ba(l,f,y,T,N),ve=iu();if(typeof K=="object"&&K!==null&&typeof K.render=="function"&&K.$$typeof===void 0){var Pe=en(y)||"Unknown";Us[Pe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Pe,Pe,Pe),Us[Pe]=!0)}if(typeof K=="object"&&K!==null&&typeof K.render=="function"&&K.$$typeof===void 0){{var at=en(y)||"Unknown";Us[at]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",at,at,at),Us[at]=!0)}Ci(K,y,T,N),cd(l,f,K,y,T)}else if(dd(y),ve){var mt=f.treeContext,Dt=1,sr=0;f.treeContext=tu(mt,Dt,sr);try{yo(l,f,K)}finally{f.treeContext=mt}}else yo(l,f,K);ci(f)}function dd(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var f=en(l)||"Unknown";xl[f]||(o("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",f),xl[f]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var y=en(l)||"Unknown";fc[y]||(o("%s: Function components do not support getDerivedStateFromProps.",y),fc[y]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var T=en(l)||"Unknown";gu[T]||(o("%s: Function components do not support contextType.",T),gu[T]=!0)}}}function ko(l,f){if(l&&l.defaultProps){var y=vn({},f),T=l.defaultProps;for(var N in T)y[N]===void 0&&(y[N]=T[N]);return y}return f}function fd(l,f,y,T,N){vl(f,y.render);var H=Ba(l,f,y.render,T,N),K=iu();if(K){var ve=f.treeContext,Pe=1,at=0;f.treeContext=tu(ve,Pe,at);try{yo(l,f,H)}finally{f.treeContext=ve}}else yo(l,f,H);ci(f)}function pc(l,f,y,T,N){var H=y.type,K=ko(H,T);vo(l,f,H,K,N)}function vu(l,f,y,T){y._context===void 0?y!==y.Consumer&&(hc||(hc=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):y=y._context;var N=T.children;typeof N!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var H=ds(y),K=N(H);yo(l,f,K)}function yu(l,f,y,T){var N=y._context,H=T.value,K=T.children,ve;ve=f.context,f.context=ka(N,H),yo(l,f,K),f.context=ul(N),ve!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function hd(l,f,y,T,N){Ki(f,"Lazy");var H=y._payload,K=y._init,ve=K(H),Pe=ko(ve,T);vo(l,f,ve,Pe,N),ci(f)}function vo(l,f,y,T,N){if(typeof y=="function")if(bl(y)){hu(l,f,y,T);return}else{ud(l,f,y,T);return}if(typeof y=="string"){dc(l,f,y,T);return}switch(y){case Yr:case _n:case zo:case Yu:case Vl:{yo(l,f,T.children);return}case Ye:{Ki(f,"SuspenseList"),yo(l,f,T.children),ci(f);return}case jr:throw new Error("ReactDOMServer does not yet support scope components.");case Qe:{Pa(l,f,T);return}}if(typeof y=="object"&&y!==null)switch(y.$$typeof){case Te:{fd(l,f,y,T,N);return}case Pt:{pc(l,f,y,T,N);return}case Gl:{yu(l,f,y,T);return}case zi:{vu(l,f,y,T);return}case ar:{hd(l,f,y,T);return}}var H="";throw(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(y==null?y:typeof y)+"."+H))}function vs(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(mu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),mu=!0),l.entries===f&&(Vs||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Vs=!0)}function yo(l,f,y){try{return pd(l,f,y)}catch(T){throw typeof T=="object"&&T!==null&&typeof T.then=="function"||(Ai=Ai!==null?Ai:uc()),T}}function pd(l,f,y){if(f.node=y,typeof y=="object"&&y!==null){switch(y.$$typeof){case Gu:{var T=y,N=T.type,H=T.props,K=T.ref;vo(l,f,N,H,K);return}case Zu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ar:{var ve=y,Pe=ve._payload,at=ve._init,mt;try{mt=at(Pe)}catch(Fa){throw typeof Fa=="object"&&Fa!==null&&typeof Fa.then=="function"&&Ki(f,"Lazy"),Fa}yo(l,f,mt);return}}if(Q(y)){Gs(l,f,y);return}var Dt=Zl(y);if(Dt){vs(y,Dt);var sr=Dt.call(y);if(sr){var Hr=sr.next();if(!Hr.done){var qn=[];do qn.push(Hr.value),Hr=sr.next();while(!Hr.done);Gs(l,f,qn);return}return}}var Ei=Object.prototype.toString.call(y);throw new Error("Objects are not valid as a React child (found: "+(Ei==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Ei)+"). If you meant to render a collection of children, use an array instead.")}if(typeof y=="string"){var xs=f.blockedSegment;xs.lastPushedText=Fi(f.blockedSegment.chunks,y,l.responseState,xs.lastPushedText);return}if(typeof y=="number"){var di=f.blockedSegment;di.lastPushedText=Fi(f.blockedSegment.chunks,""+y,l.responseState,di.lastPushedText);return}typeof y=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Gs(l,f,y){for(var T=y.length,N=0;N<T;N++){var H=f.treeContext;f.treeContext=tu(H,T,N);try{Jn(l,f,y[N])}finally{f.treeContext=H}}}function gd(l,f,y){var T=f.blockedSegment,N=T.chunks.length,H=cc(l,N,null,T.formatContext,T.lastPushedText,!0);T.children.push(H),T.lastPushedText=!1;var K=Ws(l,f.node,f.blockedBoundary,H,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(K.componentStack=f.componentStack.parent);var ve=K.ping;y.then(ve,ve)}function Jn(l,f,y){var T=f.blockedSegment.formatContext,N=f.legacyContext,H=f.context,K=null;K=f.componentStack;try{return yo(l,f,y)}catch(ve){if(qo(),typeof ve=="object"&&ve!==null&&typeof ve.then=="function"){gd(l,f,ve),f.blockedSegment.formatContext=T,f.legacyContext=N,f.context=H,Ui(H),f.componentStack=K;return}else throw f.blockedSegment.formatContext=T,f.legacyContext=N,f.context=H,Ui(H),f.componentStack=K,ve}}function md(l,f,y,T){var N=ms(l,T);if(f===null?ui(l,T):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=N,yl(f,T),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var H=l.onAllReady;H()}}function gc(l){var f=this,y=l.blockedBoundary,T=l.blockedSegment;T.status=Da,vd(f,y,T)}function mc(l,f,y){var T=l.blockedBoundary,N=l.blockedSegment;if(N.status=Da,T===null)f.allPendingTasks--,f.status!==qs&&(f.status=qs,f.destination!==null&&m(f.destination));else{if(T.pendingTasks--,!T.forceClientRender){T.forceClientRender=!0;var H=y===void 0?new Error("The render was aborted by the server without a reason."):y;T.errorDigest=f.onError(H);{var K="The server did not finish this Suspense boundary: ";H&&typeof H.message=="string"?H=K+H.message:H=K+String(H);var ve=Yi;Yi=l;try{yl(T,H)}finally{Yi=ve}}T.parentFlushed&&f.clientRenderedBoundaries.push(T)}if(T.fallbackAbortableTasks.forEach(function(at){return mc(at,f,y)}),T.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var Pe=f.onAllReady;Pe()}}}function Uo(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var y=f.children[0];y.id=f.id,y.parentFlushed=!0,y.status===La&&Uo(l,y)}else{var T=l.completedSegments;T.push(f)}}function vd(l,f,y){if(f===null){if(y.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=y}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Oa;var T=l.onShellReady;T()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)y.parentFlushed&&y.status===La&&Uo(f,y),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(gc,l),f.fallbackAbortableTasks.clear();else if(y.parentFlushed&&y.status===La){Uo(f,y);var N=f.completedSegments;N.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var H=l.onAllReady;H()}}function ys(l,f){var y=f.blockedSegment;if(y.status===ic){Ui(f.context);var T=null;T=Yi,Yi=f;try{yo(l,f,f.node),il(y.chunks,l.responseState,y.lastPushedText,y.textEmbedded),f.abortSet.delete(f),y.status=La,vd(l,f.blockedBoundary,y)}catch(H){if(qo(),typeof H=="object"&&H!==null&&typeof H.then=="function"){var N=f.ping;H.then(N,N)}else f.abortSet.delete(f),y.status=ac,md(l,f.blockedBoundary,y,H)}finally{Yi=T}}}function vc(l){if(l.status!==qs){var f=Ps(),y=Hn.current;Hn.current=oc;var T;T=Hs.getCurrentStack,Hs.getCurrentStack=uc;var N=Ma;gs(l.responseState);try{var H=l.pingedTasks,K;for(K=0;K<H.length;K++){var ve=H[K];ys(l,ve)}H.splice(0,K),l.destination!==null&&yc(l,l.destination)}catch(Pe){ms(l,Pe),ui(l,Pe)}finally{gs(N),Hn.current=y,Hs.getCurrentStack=T,y===oc&&Ui(f)}}}function bs(l,f,y){switch(y.parentFlushed=!0,y.status){case ic:{var T=y.id=l.nextSegmentId++;return y.lastPushedText=!1,y.textEmbedded=!1,J(f,l.responseState,T)}case La:{y.status=sc;for(var N=!0,H=y.chunks,K=0,ve=y.children,Pe=0;Pe<ve.length;Pe++){for(var at=ve[Pe];K<at.index;K++)d(f,H[K]);N=Zs(l,f,at)}for(;K<H.length-1;K++)d(f,H[K]);return K<H.length&&(N=h(f,H[K])),N}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Zs(l,f,y){var T=y.boundary;if(T===null)return bs(l,f,y);if(T.parentFlushed=!0,T.forceClientRender)return pf(f,l.responseState,T.errorDigest,T.errorMessage,T.errorComponentStack),bs(l,f,y),xa(f,l.responseState);if(T.pendingTasks>0){T.rootSegmentID=l.nextSegmentId++,T.completedSegments.length>0&&l.partialBoundaries.push(T);var N=T.id=Br(l.responseState);return on(f,l.responseState,N),bs(l,f,y),Zn(f,l.responseState)}else{if(T.byteSize>l.progressiveChunkSize)return T.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(T),on(f,l.responseState,T.id),bs(l,f,y),Zn(f,l.responseState);hf(f,l.responseState);var H=T.completedSegments;if(H.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var K=H[0];return Zs(l,f,K),gf(f,l.responseState)}}function Tf(l,f,y){return ba(f,l.responseState,y.id,y.errorDigest,y.errorMessage,y.errorComponentStack)}function bu(l,f,y){return va(f,l.responseState,y.formatContext,y.id),Zs(l,f,y),ol(f,y.formatContext)}function wl(l,f,y){for(var T=y.completedSegments,N=0;N<T.length;N++){var H=T[N];xu(l,f,y,H)}return T.length=0,ao(f,l.responseState,y.id,y.rootSegmentID)}function Cl(l,f,y){for(var T=y.completedSegments,N=0;N<T.length;N++){var H=T[N];if(!xu(l,f,y,H))return N++,T.splice(0,N),!1}return T.splice(0,N),!0}function xu(l,f,y,T){if(T.status===sc)return!0;var N=T.id;if(N===-1){var H=T.id=y.rootSegmentID;if(H===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return bu(l,f,T)}else return bu(l,f,T),Et(f,l.responseState,N)}function yc(l,f){try{var y=l.completedRootSegment;y!==null&&l.pendingRootTasks===0&&(Zs(l,f,y),l.completedRootSegment=null,kr(f,l.responseState));var T=l.clientRenderedBoundaries,N;for(N=0;N<T.length;N++){var H=T[N];if(!Tf(l,f,H)){l.destination=null,N++,T.splice(0,N);return}}T.splice(0,N);var K=l.completedBoundaries;for(N=0;N<K.length;N++){var ve=K[N];if(!wl(l,f,ve)){l.destination=null,N++,K.splice(0,N);return}}K.splice(0,N);var Pe=l.partialBoundaries;for(N=0;N<Pe.length;N++){var at=Pe[N];if(!Cl(l,f,at)){l.destination=null,N++,Pe.splice(0,N);return}}Pe.splice(0,N);var mt=l.completedBoundaries;for(N=0;N<mt.length;N++){var Dt=mt[N];if(!wl(l,f,Dt)){l.destination=null,N++,mt.splice(0,N);return}}mt.splice(0,N)}finally{l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),m(f))}}function wu(l){a(function(){return vc(l)})}function yd(l,f){if(l.status===lc){l.status=qs,w(f,l.fatalError);return}if(l.status!==qs&&l.destination===null){l.destination=f;try{yc(l,f)}catch(y){ms(l,y),ui(l,y)}}}function bo(l,f){try{var y=l.abortableTasks;y.forEach(function(T){return mc(T,l,f)}),y.clear(),l.destination!==null&&yc(l,l.destination)}catch(T){ms(l,T),ui(l,T)}}function Xo(){}function bd(l,f,y,T){var N=!1,H=null,K="",ve={push:function(Dt){return Dt!==null&&(K+=Dt),!0},destroy:function(Dt){N=!0,H=Dt}},Pe=!1;function at(){Pe=!0}var mt=Na(l,Gc(y,f?f.identifierPrefix:void 0),Vu(),1/0,Xo,void 0,at);if(wu(mt),bo(mt,T),yd(mt,ve),N)throw H;if(!Pe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return K}function kf(l,f){return bd(l,f,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Sl(l,f){return bd(l,f,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function ja(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function b(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Eu.renderToNodeStream=ja,Eu.renderToStaticMarkup=Sl,Eu.renderToStaticNodeStream=b,Eu.renderToString=kf,Eu.version=e}()),Eu}var Fh={};/**
|
123
123
|
* @license React
|
124
124
|
* react-dom-server.browser.development.js
|
125
125
|
*
|
@@ -127,11 +127,11 @@ Error generating stack: `+T.message+`
|
|
127
127
|
*
|
128
128
|
* This source code is licensed under the MIT license found in the
|
129
129
|
* LICENSE file in the root directory of this source tree.
|
130
|
-
*/var R0;function wE(){return R0||(R0=1,process.env.NODE_ENV!=="production"&&function(){var r=C,e="18.3.1",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var l=arguments.length,f=new Array(l>1?l-1:0),y=1;y<l;y++)f[y-1]=arguments[y];i("warn",b,f)}}function o(b){{for(var l=arguments.length,f=new Array(l>1?l-1:0),y=1;y<l;y++)f[y-1]=arguments[y];i("error",b,f)}}function i(b,l,f){{var y=t.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(l+="%s",f=f.concat([T]));var N=f.map(function(H){return String(H)});N.unshift("Warning: "+l),Function.prototype.apply.call(console[b],console,N)}}function a(b){b()}var c=512,d=null,h=0;function p(b){d=new Uint8Array(c),h=0}function m(b,l){if(l.length!==0){if(l.length>c){h>0&&(b.enqueue(new Uint8Array(d.buffer,0,h)),d=new Uint8Array(c),h=0),b.enqueue(l);return}var f=l,y=d.length-h;y<f.length&&(y===0?b.enqueue(d):(d.set(f.subarray(0,y),h),b.enqueue(d),f=f.subarray(y)),d=new Uint8Array(c),h=0),d.set(f,h),h+=f.length}}function g(b,l){return m(b,l),!0}function v(b){d&&h>0&&(b.enqueue(new Uint8Array(d.buffer,0,h)),d=null,h=0)}function w(b){b.close()}var E=new TextEncoder;function _(b){return E.encode(b)}function A(b){return E.encode(b)}function k(b,l){typeof b.error=="function"?b.error(l):b.close()}function D(b){{var l=typeof Symbol=="function"&&Symbol.toStringTag,f=l&&b[Symbol.toStringTag]||b.constructor.name||"Object";return f}}function I(b){try{return P(b),!1}catch{return!0}}function P(b){return""+b}function j(b,l){if(I(b))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,D(b)),P(b)}function W(b,l){if(I(b))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,D(b)),P(b)}function F(b){if(I(b))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(b)),P(b)}var G=Object.prototype.hasOwnProperty,pe=0,B=1,q=2,V=3,ee=4,ae=5,ne=6,oe=":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",le=oe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("^["+oe+"]["+le+"]*$"),te={},ie={};function ue(b){return G.call(ie,b)?!0:G.call(te,b)?!1:ge.test(b)?(ie[b]=!0,!0):(te[b]=!0,o("Invalid attribute name: `%s`",b),!1)}function xe(b,l,f,y){if(f!==null&&f.type===pe)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(f!==null)return!f.acceptsBooleans;var T=b.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function ke(b){return Ae.hasOwnProperty(b)?Ae[b]:null}function se(b,l,f,y,T,N,H){this.acceptsBooleans=l===q||l===V||l===ee,this.attributeName=y,this.attributeNamespace=T,this.mustUseProperty=f,this.propertyName=b,this.type=l,this.sanitizeURL=N,this.removeEmptyString=H}var Ae={},De=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];De.forEach(function(b){Ae[b]=new se(b,pe,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var l=b[0],f=b[1];Ae[l]=new se(l,B,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){Ae[b]=new se(b,q,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){Ae[b]=new se(b,q,!1,b,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"].forEach(function(b){Ae[b]=new se(b,V,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){Ae[b]=new se(b,V,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){Ae[b]=new se(b,ee,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){Ae[b]=new se(b,ne,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){Ae[b]=new se(b,ae,!1,b.toLowerCase(),null,!1,!1)});var Ge=/[\-\:]([a-z])/g,Ue=function(b){return b[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"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){Ae[b]=new se(b,B,!1,b.toLowerCase(),null,!1,!1)});var we="xlinkHref";Ae[we]=new se("xlinkHref",B,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){Ae[b]=new se(b,B,!1,b.toLowerCase(),null,!0,!0)});var Se={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};function _e(b,l){return b+l.charAt(0).toUpperCase()+l.substring(1)}var Re=["Webkit","ms","Moz","O"];Object.keys(Se).forEach(function(b){Re.forEach(function(l){Se[_e(l,b)]=Se[b]})});var Me={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function tt(b,l){Me[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function We(b,l){if(b.indexOf("-")===-1)return typeof l.is=="string";switch(b){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 et={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},st={},ze=new RegExp("^(aria)-["+le+"]*$"),Ke=new RegExp("^(aria)[A-Z]["+le+"]*$");function bt(b,l){{if(G.call(st,l)&&st[l])return!0;if(Ke.test(l)){var f="aria-"+l.slice(4).toLowerCase(),y=et.hasOwnProperty(f)?f:null;if(y==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),st[l]=!0,!0;if(l!==y)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,y),st[l]=!0,!0}if(ze.test(l)){var T=l.toLowerCase(),N=et.hasOwnProperty(T)?T:null;if(N==null)return st[l]=!0,!1;if(l!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,N),st[l]=!0,!0}}return!0}function ht(b,l){{var f=[];for(var y in l){var T=bt(b,y);T||f.push(y)}var N=f.map(function(H){return"`"+H+"`"}).join(", ");f.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,b):f.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,b)}}function dt(b,l){We(b,l)||ht(b,l)}var St=!1;function Ve(b,l){{if(b!=="input"&&b!=="textarea"&&b!=="select")return;l!=null&&l.value===null&&!St&&(St=!0,b==="select"&&l.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",b):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",b))}}var rt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},vt=function(){};{var Tt={},xt=/^on./,Mt=/^on[^A-Z]/,Vt=new RegExp("^(aria)-["+le+"]*$"),Ht=new RegExp("^(aria)[A-Z]["+le+"]*$");vt=function(b,l,f,y){if(G.call(Tt,l)&&Tt[l])return!0;var T=l.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Tt[l]=!0,!0;if(y!=null){var N=y.registrationNameDependencies,H=y.possibleRegistrationNames;if(N.hasOwnProperty(l))return!0;var K=H.hasOwnProperty(T)?H[T]:null;if(K!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",l,K),Tt[l]=!0,!0;if(xt.test(l))return o("Unknown event handler property `%s`. It will be ignored.",l),Tt[l]=!0,!0}else if(xt.test(l))return Mt.test(l)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Tt[l]=!0,!0;if(Vt.test(l)||Ht.test(l))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tt[l]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tt[l]=!0,!0;if(T==="is"&&f!==null&&f!==void 0&&typeof f!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Tt[l]=!0,!0;if(typeof f=="number"&&isNaN(f))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),Tt[l]=!0,!0;var ve=ke(l),Pe=ve!==null&&ve.type===pe;if(rt.hasOwnProperty(T)){var at=rt[T];if(at!==l)return o("Invalid DOM property `%s`. Did you mean `%s`?",l,at),Tt[l]=!0,!0}else if(!Pe&&l!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,T),Tt[l]=!0,!0;return typeof f=="boolean"&&xe(l,f,ve)?(f?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,l,l,f,l):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,l,l,f,l,l,l),Tt[l]=!0,!0):Pe?!0:xe(l,f,ve)?(Tt[l]=!0,!1):((f==="false"||f==="true")&&ve!==null&&ve.type===V&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,l,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,f),Tt[l]=!0),!0)}}var hr=function(b,l,f){{var y=[];for(var T in l){var N=vt(b,T,l[T],f);N||y.push(T)}var H=y.map(function(K){return"`"+K+"`"}).join(", ");y.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,b):y.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,b)}};function _r(b,l,f){We(b,l)||hr(b,l,f)}var vr=function(){};{var Ee=/^(?:webkit|moz|o)[A-Z]/,de=/^-ms-/,nt=/-(.)/g,qe=/;\s*$/,pt={},wt={},_t=!1,jt=!1,Ot=function(b){return b.replace(nt,function(l,f){return f.toUpperCase()})},ir=function(b){pt.hasOwnProperty(b)&&pt[b]||(pt[b]=!0,o("Unsupported style property %s. Did you mean %s?",b,Ot(b.replace(de,"ms-"))))},Ft=function(b){pt.hasOwnProperty(b)&&pt[b]||(pt[b]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",b,b.charAt(0).toUpperCase()+b.slice(1)))},nr=function(b,l){wt.hasOwnProperty(l)&&wt[l]||(wt[l]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,b,l.replace(qe,"")))},tr=function(b,l){_t||(_t=!0,o("`NaN` is an invalid value for the `%s` css style property.",b))},it=function(b,l){jt||(jt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",b))};vr=function(b,l){b.indexOf("-")>-1?ir(b):Ee.test(b)?Ft(b):qe.test(l)&&nr(b,l),typeof l=="number"&&(isNaN(l)?tr(b,l):isFinite(l)||it(b,l))}}var lt=vr,At=/["'&<>]/;function kt(b){F(b);var l=""+b,f=At.exec(l);if(!f)return l;var y,T="",N,H=0;for(N=f.index;N<l.length;N++){switch(l.charCodeAt(N)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}H!==N&&(T+=l.substring(H,N)),H=N+1,T+=y}return H!==N?T+l.substring(H,N):T}function Lt(b){return typeof b=="boolean"||typeof b=="number"?""+b:kt(b)}var qt=/([A-Z])/g,rr=/^ms-/;function je(b){return b.replace(qt,"-$1").toLowerCase().replace(rr,"-ms-")}var Q=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,me=!1;function Le(b){!me&&Q.test(b)&&(me=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(b)))}var ct=Array.isArray;function It(b){return ct(b)}var Rt=A("<script>"),Qt=A("<\/script>"),Kt=A('<script src="'),yr=A('<script type="module" src="'),pr=A('" async=""><\/script>');function Tr(b){return F(b),(""+b).replace(ur,Rn)}var ur=/(<\/|<)(s)(cript)/gi,Rn=function(b,l,f,y){return""+l+(f==="s"?"\\u0073":"\\u0053")+y};function Fn(b,l,f,y,T){var N=b===void 0?"":b,H=l===void 0?Rt:A('<script nonce="'+Lt(l)+'">'),K=[];if(f!==void 0&&K.push(H,_(Tr(f)),Qt),y!==void 0)for(var ve=0;ve<y.length;ve++)K.push(Kt,_(Lt(y[ve])),pr);if(T!==void 0)for(var Pe=0;Pe<T.length;Pe++)K.push(yr,_(Lt(T[Pe])),pr);return{bootstrapChunks:K,startInlineScript:H,placeholderPrefix:A(N+"P:"),segmentPrefix:A(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Br=0,Ur=1,zn=2,wn=3,to=4,ro=5,cn=6,$n=7;function In(b,l){return{insertionMode:b,selectedValue:l}}function _o(b){var l=b==="http://www.w3.org/2000/svg"?zn:b==="http://www.w3.org/1998/Math/MathML"?wn:Br;return In(l,null)}function Oo(b,l,f){switch(l){case"select":return In(Ur,f.value!=null?f.value:f.defaultValue);case"svg":return In(zn,null);case"math":return In(wn,null);case"foreignObject":return In(Ur,null);case"table":return In(to,null);case"thead":case"tbody":case"tfoot":return In(ro,null);case"colgroup":return In($n,null);case"tr":return In(cn,null)}return b.insertionMode>=to||b.insertionMode===Br?In(Ur,null):b}var No=null;function Ln(b){var l=b.nextSuspenseID++;return A(b.boundaryPrefix+l.toString(16))}function Mn(b,l,f){var y=b.idPrefix,T=":"+y+"R"+l;return f>0&&(T+="H"+f.toString(32)),T+":"}function mn(b){return Lt(b)}var no=A("<!-- -->");function un(b,l,f,y){return l===""?y:(y&&b.push(no),b.push(_(mn(l))),!0)}function yn(b,l,f,y){f&&y&&b.push(no)}var R=new Map;function $(b){var l=R.get(b);if(l!==void 0)return l;var f=A(Lt(je(b)));return R.set(b,f),f}var X=A(' style="'),fe=A(":"),Fe=A(";");function Ne(b,l,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var T in f)if(G.call(f,T)){var N=f[T];if(!(N==null||typeof N=="boolean"||N==="")){var H=void 0,K=void 0,ve=T.indexOf("--")===0;ve?(H=_(Lt(T)),W(N,T),K=_(Lt((""+N).trim()))):(lt(T,N),H=$(T),typeof N=="number"?N!==0&&!G.call(Se,T)?K=_(N+"px"):K=_(""+N):(W(N,T),K=_(Lt((""+N).trim())))),y?(y=!1,b.push(X,H,fe,K)):b.push(Fe,H,fe,K)}}y||b.push(Nt)}var Xe=A(" "),yt=A('="'),Nt=A('"'),$t=A('=""');function zt(b,l,f,y){switch(f){case"style":{Ne(b,l,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var T=ke(f);if(T!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var N=T.attributeName,H=_(N);switch(T.type){case V:y&&b.push(Xe,H,$t);return;case ee:y===!0?b.push(Xe,H,$t):y===!1||b.push(Xe,H,yt,_(Lt(y)),Nt);return;case ae:isNaN(y)||b.push(Xe,H,yt,_(Lt(y)),Nt);break;case ne:!isNaN(y)&&y>=1&&b.push(Xe,H,yt,_(Lt(y)),Nt);break;default:T.sanitizeURL&&(j(y,N),y=""+y,Le(y)),b.push(Xe,H,yt,_(Lt(y)),Nt)}}else if(ue(f)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var K=f.toLowerCase().slice(0,5);if(K!=="data-"&&K!=="aria-")return}}b.push(Xe,_(f),yt,_(Lt(y)),Nt)}}}var Ar=A(">"),Jr=A("/>");function Cn(b,l,f){if(l!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=l.__html;y!=null&&(F(y),b.push(_(""+y)))}}var Sn=!1,fo=!1,Vn=!1,Po=!1,rn=!1,Ao=!1,Gn=!1;function oo(b,l){{var f=b[l];if(f!=null){var y=It(f);b.multiple&&!y?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!b.multiple&&y&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function Oi(b,l,f){tt("select",l),oo(l,"value"),oo(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!Vn&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Vn=!0),b.push(Jt("select"));var y=null,T=null;for(var N in l)if(G.call(l,N)){var H=l[N];if(H==null)continue;switch(N){case"children":y=H;break;case"dangerouslySetInnerHTML":T=H;break;case"defaultValue":case"value":break;default:zt(b,f,N,H);break}}return b.push(Ar),Cn(b,T,y),y}function vi(b){var l="";return r.Children.forEach(b,function(f){f!=null&&(l+=f,!rn&&typeof f!="string"&&typeof f!="number"&&(rn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var yi=A(' selected=""');function Dn(b,l,f,y){var T=y.selectedValue;b.push(Jt("option"));var N=null,H=null,K=null,ve=null;for(var Pe in l)if(G.call(l,Pe)){var at=l[Pe];if(at==null)continue;switch(Pe){case"children":N=at;break;case"selected":K=at,Gn||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Gn=!0);break;case"dangerouslySetInnerHTML":ve=at;break;case"value":H=at;default:zt(b,f,Pe,at);break}}if(T!=null){var mt;if(H!==null?(j(H,"value"),mt=""+H):(ve!==null&&(Ao||(Ao=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),mt=vi(N)),It(T))for(var Dt=0;Dt<T.length;Dt++){j(T[Dt],"value");var sr=""+T[Dt];if(sr===mt){b.push(yi);break}}else j(T,"select.value"),""+T===mt&&b.push(yi)}else K&&b.push(yi);return b.push(Ar),Cn(b,ve,N),N}function Ni(b,l,f){tt("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!fo&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),fo=!0),l.value!==void 0&&l.defaultValue!==void 0&&!Sn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Sn=!0),b.push(Jt("input"));var y=null,T=null,N=null,H=null;for(var K in l)if(G.call(l,K)){var ve=l[K];if(ve==null)continue;switch(K){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=ve;break;case"defaultValue":T=ve;break;case"checked":N=ve;break;case"value":y=ve;break;default:zt(b,f,K,ve);break}}return N!==null?zt(b,f,"checked",N):H!==null&&zt(b,f,"checked",H),y!==null?zt(b,f,"value",y):T!==null&&zt(b,f,"value",T),b.push(Jr),null}function io(b,l,f){tt("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Po&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Po=!0),b.push(Jt("textarea"));var y=null,T=null,N=null;for(var H in l)if(G.call(l,H)){var K=l[H];if(K==null)continue;switch(H){case"children":N=K;break;case"value":y=K;break;case"defaultValue":T=K;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:zt(b,f,H,K);break}}if(y===null&&T!==null&&(y=T),b.push(Ar),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(It(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");F(N[0]),y=""+N[0]}F(N),y=""+N}return typeof y=="string"&&y[0]===`
|
130
|
+
*/var R0;function wE(){return R0||(R0=1,process.env.NODE_ENV!=="production"&&function(){var r=C,e="18.3.1",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var l=arguments.length,f=new Array(l>1?l-1:0),y=1;y<l;y++)f[y-1]=arguments[y];i("warn",b,f)}}function o(b){{for(var l=arguments.length,f=new Array(l>1?l-1:0),y=1;y<l;y++)f[y-1]=arguments[y];i("error",b,f)}}function i(b,l,f){{var y=t.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(l+="%s",f=f.concat([T]));var N=f.map(function(H){return String(H)});N.unshift("Warning: "+l),Function.prototype.apply.call(console[b],console,N)}}function a(b){b()}var c=512,d=null,h=0;function p(b){d=new Uint8Array(c),h=0}function m(b,l){if(l.length!==0){if(l.length>c){h>0&&(b.enqueue(new Uint8Array(d.buffer,0,h)),d=new Uint8Array(c),h=0),b.enqueue(l);return}var f=l,y=d.length-h;y<f.length&&(y===0?b.enqueue(d):(d.set(f.subarray(0,y),h),b.enqueue(d),f=f.subarray(y)),d=new Uint8Array(c),h=0),d.set(f,h),h+=f.length}}function g(b,l){return m(b,l),!0}function v(b){d&&h>0&&(b.enqueue(new Uint8Array(d.buffer,0,h)),d=null,h=0)}function w(b){b.close()}var E=new TextEncoder;function _(b){return E.encode(b)}function A(b){return E.encode(b)}function k(b,l){typeof b.error=="function"?b.error(l):b.close()}function D(b){{var l=typeof Symbol=="function"&&Symbol.toStringTag,f=l&&b[Symbol.toStringTag]||b.constructor.name||"Object";return f}}function I(b){try{return P(b),!1}catch{return!0}}function P(b){return""+b}function j(b,l){if(I(b))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,D(b)),P(b)}function W(b,l){if(I(b))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,D(b)),P(b)}function F(b){if(I(b))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(b)),P(b)}var G=Object.prototype.hasOwnProperty,pe=0,B=1,q=2,V=3,ee=4,ae=5,ne=6,oe=":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",le=oe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ge=new RegExp("^["+oe+"]["+le+"]*$"),te={},ie={};function ue(b){return G.call(ie,b)?!0:G.call(te,b)?!1:ge.test(b)?(ie[b]=!0,!0):(te[b]=!0,o("Invalid attribute name: `%s`",b),!1)}function xe(b,l,f,y){if(f!==null&&f.type===pe)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(f!==null)return!f.acceptsBooleans;var T=b.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function ke(b){return Ae.hasOwnProperty(b)?Ae[b]:null}function se(b,l,f,y,T,N,H){this.acceptsBooleans=l===q||l===V||l===ee,this.attributeName=y,this.attributeNamespace=T,this.mustUseProperty=f,this.propertyName=b,this.type=l,this.sanitizeURL=N,this.removeEmptyString=H}var Ae={},De=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];De.forEach(function(b){Ae[b]=new se(b,pe,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var l=b[0],f=b[1];Ae[l]=new se(l,B,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){Ae[b]=new se(b,q,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){Ae[b]=new se(b,q,!1,b,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"].forEach(function(b){Ae[b]=new se(b,V,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){Ae[b]=new se(b,V,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){Ae[b]=new se(b,ee,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){Ae[b]=new se(b,ne,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){Ae[b]=new se(b,ae,!1,b.toLowerCase(),null,!1,!1)});var Ge=/[\-\:]([a-z])/g,Ue=function(b){return b[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"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var l=b.replace(Ge,Ue);Ae[l]=new se(l,B,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){Ae[b]=new se(b,B,!1,b.toLowerCase(),null,!1,!1)});var we="xlinkHref";Ae[we]=new se("xlinkHref",B,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){Ae[b]=new se(b,B,!1,b.toLowerCase(),null,!0,!0)});var Se={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};function _e(b,l){return b+l.charAt(0).toUpperCase()+l.substring(1)}var Re=["Webkit","ms","Moz","O"];Object.keys(Se).forEach(function(b){Re.forEach(function(l){Se[_e(l,b)]=Se[b]})});var Me={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function tt(b,l){Me[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function We(b,l){if(b.indexOf("-")===-1)return typeof l.is=="string";switch(b){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 et={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},st={},ze=new RegExp("^(aria)-["+le+"]*$"),Ke=new RegExp("^(aria)[A-Z]["+le+"]*$");function bt(b,l){{if(G.call(st,l)&&st[l])return!0;if(Ke.test(l)){var f="aria-"+l.slice(4).toLowerCase(),y=et.hasOwnProperty(f)?f:null;if(y==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),st[l]=!0,!0;if(l!==y)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,y),st[l]=!0,!0}if(ze.test(l)){var T=l.toLowerCase(),N=et.hasOwnProperty(T)?T:null;if(N==null)return st[l]=!0,!1;if(l!==N)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,N),st[l]=!0,!0}}return!0}function ht(b,l){{var f=[];for(var y in l){var T=bt(b,y);T||f.push(y)}var N=f.map(function(H){return"`"+H+"`"}).join(", ");f.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,b):f.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",N,b)}}function dt(b,l){We(b,l)||ht(b,l)}var St=!1;function Ve(b,l){{if(b!=="input"&&b!=="textarea"&&b!=="select")return;l!=null&&l.value===null&&!St&&(St=!0,b==="select"&&l.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",b):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",b))}}var rt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},vt=function(){};{var Tt={},xt=/^on./,Mt=/^on[^A-Z]/,Vt=new RegExp("^(aria)-["+le+"]*$"),Ht=new RegExp("^(aria)[A-Z]["+le+"]*$");vt=function(b,l,f,y){if(G.call(Tt,l)&&Tt[l])return!0;var T=l.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Tt[l]=!0,!0;if(y!=null){var N=y.registrationNameDependencies,H=y.possibleRegistrationNames;if(N.hasOwnProperty(l))return!0;var K=H.hasOwnProperty(T)?H[T]:null;if(K!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",l,K),Tt[l]=!0,!0;if(xt.test(l))return o("Unknown event handler property `%s`. It will be ignored.",l),Tt[l]=!0,!0}else if(xt.test(l))return Mt.test(l)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Tt[l]=!0,!0;if(Vt.test(l)||Ht.test(l))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tt[l]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tt[l]=!0,!0;if(T==="is"&&f!==null&&f!==void 0&&typeof f!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Tt[l]=!0,!0;if(typeof f=="number"&&isNaN(f))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),Tt[l]=!0,!0;var ve=ke(l),Pe=ve!==null&&ve.type===pe;if(rt.hasOwnProperty(T)){var at=rt[T];if(at!==l)return o("Invalid DOM property `%s`. Did you mean `%s`?",l,at),Tt[l]=!0,!0}else if(!Pe&&l!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,T),Tt[l]=!0,!0;return typeof f=="boolean"&&xe(l,f,ve)?(f?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,l,l,f,l):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,l,l,f,l,l,l),Tt[l]=!0,!0):Pe?!0:xe(l,f,ve)?(Tt[l]=!0,!1):((f==="false"||f==="true")&&ve!==null&&ve.type===V&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,l,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,f),Tt[l]=!0),!0)}}var hr=function(b,l,f){{var y=[];for(var T in l){var N=vt(b,T,l[T],f);N||y.push(T)}var H=y.map(function(K){return"`"+K+"`"}).join(", ");y.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,b):y.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,b)}};function _r(b,l,f){We(b,l)||hr(b,l,f)}var yr=function(){};{var Ee=/^(?:webkit|moz|o)[A-Z]/,de=/^-ms-/,nt=/-(.)/g,qe=/;\s*$/,pt={},wt={},_t=!1,jt=!1,Ot=function(b){return b.replace(nt,function(l,f){return f.toUpperCase()})},ir=function(b){pt.hasOwnProperty(b)&&pt[b]||(pt[b]=!0,o("Unsupported style property %s. Did you mean %s?",b,Ot(b.replace(de,"ms-"))))},Ft=function(b){pt.hasOwnProperty(b)&&pt[b]||(pt[b]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",b,b.charAt(0).toUpperCase()+b.slice(1)))},nr=function(b,l){wt.hasOwnProperty(l)&&wt[l]||(wt[l]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,b,l.replace(qe,"")))},tr=function(b,l){_t||(_t=!0,o("`NaN` is an invalid value for the `%s` css style property.",b))},it=function(b,l){jt||(jt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",b))};yr=function(b,l){b.indexOf("-")>-1?ir(b):Ee.test(b)?Ft(b):qe.test(l)&&nr(b,l),typeof l=="number"&&(isNaN(l)?tr(b,l):isFinite(l)||it(b,l))}}var lt=yr,At=/["'&<>]/;function kt(b){F(b);var l=""+b,f=At.exec(l);if(!f)return l;var y,T="",N,H=0;for(N=f.index;N<l.length;N++){switch(l.charCodeAt(N)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}H!==N&&(T+=l.substring(H,N)),H=N+1,T+=y}return H!==N?T+l.substring(H,N):T}function Lt(b){return typeof b=="boolean"||typeof b=="number"?""+b:kt(b)}var qt=/([A-Z])/g,rr=/^ms-/;function je(b){return b.replace(qt,"-$1").toLowerCase().replace(rr,"-ms-")}var Q=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,me=!1;function Le(b){!me&&Q.test(b)&&(me=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(b)))}var ct=Array.isArray;function It(b){return ct(b)}var Rt=A("<script>"),Qt=A("<\/script>"),Kt=A('<script src="'),br=A('<script type="module" src="'),pr=A('" async=""><\/script>');function Tr(b){return F(b),(""+b).replace(ur,Rn)}var ur=/(<\/|<)(s)(cript)/gi,Rn=function(b,l,f,y){return""+l+(f==="s"?"\\u0073":"\\u0053")+y};function Fn(b,l,f,y,T){var N=b===void 0?"":b,H=l===void 0?Rt:A('<script nonce="'+Lt(l)+'">'),K=[];if(f!==void 0&&K.push(H,_(Tr(f)),Qt),y!==void 0)for(var ve=0;ve<y.length;ve++)K.push(Kt,_(Lt(y[ve])),pr);if(T!==void 0)for(var Pe=0;Pe<T.length;Pe++)K.push(br,_(Lt(T[Pe])),pr);return{bootstrapChunks:K,startInlineScript:H,placeholderPrefix:A(N+"P:"),segmentPrefix:A(N+"S:"),boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Br=0,Ur=1,zn=2,wn=3,to=4,ro=5,cn=6,$n=7;function In(b,l){return{insertionMode:b,selectedValue:l}}function _o(b){var l=b==="http://www.w3.org/2000/svg"?zn:b==="http://www.w3.org/1998/Math/MathML"?wn:Br;return In(l,null)}function Oo(b,l,f){switch(l){case"select":return In(Ur,f.value!=null?f.value:f.defaultValue);case"svg":return In(zn,null);case"math":return In(wn,null);case"foreignObject":return In(Ur,null);case"table":return In(to,null);case"thead":case"tbody":case"tfoot":return In(ro,null);case"colgroup":return In($n,null);case"tr":return In(cn,null)}return b.insertionMode>=to||b.insertionMode===Br?In(Ur,null):b}var No=null;function Ln(b){var l=b.nextSuspenseID++;return A(b.boundaryPrefix+l.toString(16))}function Mn(b,l,f){var y=b.idPrefix,T=":"+y+"R"+l;return f>0&&(T+="H"+f.toString(32)),T+":"}function mn(b){return Lt(b)}var no=A("<!-- -->");function un(b,l,f,y){return l===""?y:(y&&b.push(no),b.push(_(mn(l))),!0)}function yn(b,l,f,y){f&&y&&b.push(no)}var R=new Map;function $(b){var l=R.get(b);if(l!==void 0)return l;var f=A(Lt(je(b)));return R.set(b,f),f}var X=A(' style="'),fe=A(":"),Fe=A(";");function Ne(b,l,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var T in f)if(G.call(f,T)){var N=f[T];if(!(N==null||typeof N=="boolean"||N==="")){var H=void 0,K=void 0,ve=T.indexOf("--")===0;ve?(H=_(Lt(T)),W(N,T),K=_(Lt((""+N).trim()))):(lt(T,N),H=$(T),typeof N=="number"?N!==0&&!G.call(Se,T)?K=_(N+"px"):K=_(""+N):(W(N,T),K=_(Lt((""+N).trim())))),y?(y=!1,b.push(X,H,fe,K)):b.push(Fe,H,fe,K)}}y||b.push(Nt)}var Xe=A(" "),yt=A('="'),Nt=A('"'),$t=A('=""');function zt(b,l,f,y){switch(f){case"style":{Ne(b,l,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var T=ke(f);if(T!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var N=T.attributeName,H=_(N);switch(T.type){case V:y&&b.push(Xe,H,$t);return;case ee:y===!0?b.push(Xe,H,$t):y===!1||b.push(Xe,H,yt,_(Lt(y)),Nt);return;case ae:isNaN(y)||b.push(Xe,H,yt,_(Lt(y)),Nt);break;case ne:!isNaN(y)&&y>=1&&b.push(Xe,H,yt,_(Lt(y)),Nt);break;default:T.sanitizeURL&&(j(y,N),y=""+y,Le(y)),b.push(Xe,H,yt,_(Lt(y)),Nt)}}else if(ue(f)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var K=f.toLowerCase().slice(0,5);if(K!=="data-"&&K!=="aria-")return}}b.push(Xe,_(f),yt,_(Lt(y)),Nt)}}}var Ar=A(">"),Jr=A("/>");function Cn(b,l,f){if(l!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=l.__html;y!=null&&(F(y),b.push(_(""+y)))}}var Sn=!1,fo=!1,Vn=!1,Po=!1,rn=!1,Ao=!1,Gn=!1;function oo(b,l){{var f=b[l];if(f!=null){var y=It(f);b.multiple&&!y?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!b.multiple&&y&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function Oi(b,l,f){tt("select",l),oo(l,"value"),oo(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!Vn&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Vn=!0),b.push(Jt("select"));var y=null,T=null;for(var N in l)if(G.call(l,N)){var H=l[N];if(H==null)continue;switch(N){case"children":y=H;break;case"dangerouslySetInnerHTML":T=H;break;case"defaultValue":case"value":break;default:zt(b,f,N,H);break}}return b.push(Ar),Cn(b,T,y),y}function vi(b){var l="";return r.Children.forEach(b,function(f){f!=null&&(l+=f,!rn&&typeof f!="string"&&typeof f!="number"&&(rn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var yi=A(' selected=""');function Dn(b,l,f,y){var T=y.selectedValue;b.push(Jt("option"));var N=null,H=null,K=null,ve=null;for(var Pe in l)if(G.call(l,Pe)){var at=l[Pe];if(at==null)continue;switch(Pe){case"children":N=at;break;case"selected":K=at,Gn||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Gn=!0);break;case"dangerouslySetInnerHTML":ve=at;break;case"value":H=at;default:zt(b,f,Pe,at);break}}if(T!=null){var mt;if(H!==null?(j(H,"value"),mt=""+H):(ve!==null&&(Ao||(Ao=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),mt=vi(N)),It(T))for(var Dt=0;Dt<T.length;Dt++){j(T[Dt],"value");var sr=""+T[Dt];if(sr===mt){b.push(yi);break}}else j(T,"select.value"),""+T===mt&&b.push(yi)}else K&&b.push(yi);return b.push(Ar),Cn(b,ve,N),N}function Ni(b,l,f){tt("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!fo&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),fo=!0),l.value!==void 0&&l.defaultValue!==void 0&&!Sn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Sn=!0),b.push(Jt("input"));var y=null,T=null,N=null,H=null;for(var K in l)if(G.call(l,K)){var ve=l[K];if(ve==null)continue;switch(K){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=ve;break;case"defaultValue":T=ve;break;case"checked":N=ve;break;case"value":y=ve;break;default:zt(b,f,K,ve);break}}return N!==null?zt(b,f,"checked",N):H!==null&&zt(b,f,"checked",H),y!==null?zt(b,f,"value",y):T!==null&&zt(b,f,"value",T),b.push(Jr),null}function io(b,l,f){tt("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Po&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Po=!0),b.push(Jt("textarea"));var y=null,T=null,N=null;for(var H in l)if(G.call(l,H)){var K=l[H];if(K==null)continue;switch(H){case"children":N=K;break;case"value":y=K;break;case"defaultValue":T=K;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:zt(b,f,H,K);break}}if(y===null&&T!==null&&(y=T),b.push(Ar),N!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(It(N)){if(N.length>1)throw new Error("<textarea> can only have at most one child.");F(N[0]),y=""+N[0]}F(N),y=""+N}return typeof y=="string"&&y[0]===`
|
131
131
|
`&&b.push(O),y!==null&&(j(y,"value"),b.push(_(mn(""+y)))),null}function so(b,l,f,y){b.push(Jt(f));for(var T in l)if(G.call(l,T)){var N=l[T];if(N==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(b,y,T,N);break}}return b.push(Jr),null}function ni(b,l,f){b.push(Jt("menuitem"));for(var y in l)if(G.call(l,y)){var T=l[y];if(T==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:zt(b,f,y,T);break}}return b.push(Ar),null}function Pr(b,l,f){b.push(Jt("title"));var y=null;for(var T in l)if(G.call(l,T)){var N=l[T];if(N==null)continue;switch(T){case"children":y=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:zt(b,f,T,N);break}}b.push(Ar);{var H=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&H.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&typeof H!="string"&&typeof H!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function kr(b,l,f,y){b.push(Jt(f));var T=null,N=null;for(var H in l)if(G.call(l,H)){var K=l[H];if(K==null)continue;switch(H){case"children":T=K;break;case"dangerouslySetInnerHTML":N=K;break;default:zt(b,y,H,K);break}}return b.push(Ar),Cn(b,N,T),typeof T=="string"?(b.push(_(mn(T))),null):T}function Nr(b,l,f,y){b.push(Jt(f));var T=null,N=null;for(var H in l)if(G.call(l,H)){var K=l[H];if(K==null)continue;switch(H){case"children":T=K;break;case"dangerouslySetInnerHTML":N=K;break;case"style":Ne(b,y,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ue(H)&&typeof K!="function"&&typeof K!="symbol"&&b.push(Xe,_(H),yt,_(Lt(K)),Nt);break}}return b.push(Ar),Cn(b,N,T),T}var O=A(`
|
132
132
|
`);function J(b,l,f,y){b.push(Jt(f));var T=null,N=null;for(var H in l)if(G.call(l,H)){var K=l[H];if(K==null)continue;switch(H){case"children":T=K;break;case"dangerouslySetInnerHTML":N=K;break;default:zt(b,y,H,K);break}}if(b.push(Ar),N!=null){if(T!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof N!="object"||!("__html"in N))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ve=N.__html;ve!=null&&(typeof ve=="string"&&ve.length>0&&ve[0]===`
|
133
133
|
`?b.push(O,_(ve)):(F(ve),b.push(_(""+ve))))}return typeof T=="string"&&T[0]===`
|
134
|
-
`&&b.push(O),T}var be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Je=new Map;function Jt(b){var l=Je.get(b);if(l===void 0){if(!be.test(b))throw new Error("Invalid tag: "+b);l=A("<"+b),Je.set(b,l)}return l}var Ut=A("<!DOCTYPE html>");function
|
134
|
+
`&&b.push(O),T}var be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Je=new Map;function Jt(b){var l=Je.get(b);if(l===void 0){if(!be.test(b))throw new Error("Invalid tag: "+b);l=A("<"+b),Je.set(b,l)}return l}var Ut=A("<!DOCTYPE html>");function xr(b,l,f,y,T){switch(dt(l,f),Ve(l,f),_r(l,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),T.insertionMode!==zn&&T.insertionMode!==wn&&l.indexOf("-")===-1&&typeof f.is!="string"&&l.toLowerCase()!==l&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return Oi(b,f,y);case"option":return Dn(b,f,y,T);case"textarea":return io(b,f,y);case"input":return Ni(b,f,y);case"menuitem":return ni(b,f,y);case"title":return Pr(b,f,y);case"listing":case"pre":return J(b,f,l,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return so(b,f,l,y);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 kr(b,f,l,y);case"html":return T.insertionMode===Br&&b.push(Ut),kr(b,f,l,y);default:return l.indexOf("-")===-1&&typeof f.is!="string"?kr(b,f,l,y):Nr(b,f,l,y)}}var Er=A("</"),gr=A(">");function Rr(b,l,f){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:b.push(Er,_(l),gr)}}function nn(b,l){for(var f=l.bootstrapChunks,y=0;y<f.length-1;y++)m(b,f[y]);return y<f.length?g(b,f[y]):!0}var On=A('<template id="'),Kr=A('"></template>');function $r(b,l,f){m(b,On),m(b,l.placeholderPrefix);var y=_(f.toString(16));return m(b,y),g(b,Kr)}var on=A("<!--$-->"),ho=A('<!--$?--><template id="'),Eo=A('"></template>'),Zn=A("<!--$!-->"),Pi=A("<!--/$-->"),oi=A("<template"),dn=A('"'),Is=A(' data-dgst="'),Yn=A(' data-msg="'),zl=A(' data-stck="'),rl=A("></template>");function ii(b,l){return g(b,on)}function Bi(b,l,f){if(m(b,ho),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(b,f),g(b,Eo)}function Kn(b,l,f,y,T){var N;return N=g(b,Zn),m(b,oi),f&&(m(b,Is),m(b,_(Lt(f))),m(b,dn)),y&&(m(b,Yn),m(b,_(Lt(y))),m(b,dn)),T&&(m(b,zl),m(b,_(Lt(T))),m(b,dn)),N=g(b,rl),N}function Qr(b,l){return g(b,Pi)}function Bo(b,l){return g(b,Pi)}function nl(b,l){return g(b,Pi)}var $l=A('<div hidden id="'),os=A('">'),Hl=A("</div>"),ql=A('<svg aria-hidden="true" style="display:none" id="'),ma=A('">'),Ms=A("</svg>"),Ls=A('<math aria-hidden="true" style="display:none" id="'),ji=A('">'),Wl=A("</math>"),va=A('<table hidden id="'),ol=A('">'),M=A("</table>"),z=A('<table hidden><tbody id="'),Z=A('">'),he=A("</tbody></table>"),He=A('<table hidden><tr id="'),Be=A('">'),ot=A("</tr></table>"),Et=A('<table hidden><colgroup id="'),Wt=A('">'),mr=A("</colgroup></table>");function lr(b,l,f,y){switch(f.insertionMode){case Br:case Ur:return m(b,$l),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,os);case zn:return m(b,ql),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,ma);case wn:return m(b,Ls),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,ji);case to:return m(b,va),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,ol);case ro:return m(b,z),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,Z);case cn:return m(b,He),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,Be);case $n:return m(b,Et),m(b,l.segmentPrefix),m(b,_(y.toString(16))),g(b,Wt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Xr(b,l){switch(l.insertionMode){case Br:case Ur:return g(b,Hl);case zn:return g(b,Ms);case wn:return g(b,Wl);case to:return g(b,M);case ro:return g(b,he);case cn:return g(b,ot);case $n:return g(b,mr);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ao="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",jo='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Fo='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ya=A(ao+';$RS("'),Ul=A('$RS("'),Ds=A('","'),ba=A('")<\/script>');function ff(b,l,f){m(b,l.startInlineScript),l.sentCompleteSegmentFunction?m(b,Ul):(l.sentCompleteSegmentFunction=!0,m(b,ya)),m(b,l.segmentPrefix);var y=_(f.toString(16));return m(b,y),m(b,Ds),m(b,l.placeholderPrefix),m(b,y),g(b,ba)}var Vc=A(jo+';$RC("'),Gc=A('$RC("'),Vu=A('","'),Fi=A('")<\/script>');function il(b,l,f,y){if(m(b,l.startInlineScript),l.sentCompleteBoundaryFunction?m(b,Gc):(l.sentCompleteBoundaryFunction=!0,m(b,Vc)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var T=_(y.toString(16));return m(b,f),m(b,Vu),m(b,l.segmentPrefix),m(b,T),g(b,Fi)}var hf=A(Fo+';$RX("'),pf=A('$RX("'),gf=A('"'),xa=A(")<\/script>"),vn=A(",");function Gu(b,l,f,y,T,N){if(m(b,l.startInlineScript),l.sentClientRenderFunction?m(b,pf):(l.sentClientRenderFunction=!0,m(b,hf)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(b,f),m(b,gf),(y||T||N)&&(m(b,vn),m(b,_(Vl(y||"")))),(T||N)&&(m(b,vn),m(b,_(Vl(T||"")))),N&&(m(b,vn),m(b,_(Vl(N)))),g(b,xa)}var Zu=/[<\u2028\u2029]/g;function Vl(b){var l=JSON.stringify(b);return l.replace(Zu,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var zo=Object.assign,Yu=Symbol.for("react.element"),Gl=Symbol.for("react.portal"),zi=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),Qe=Symbol.for("react.profiler"),Ye=Symbol.for("react.provider"),Pt=Symbol.for("react.context"),ar=Symbol.for("react.forward_ref"),jr=Symbol.for("react.suspense"),_n=Symbol.for("react.suspense_list"),Yr=Symbol.for("react.memo"),wa=Symbol.for("react.lazy"),Ku=Symbol.for("react.scope"),Ko=Symbol.for("react.debug_trace_mode"),Zl=Symbol.for("react.legacy_hidden"),mf=Symbol.for("react.default_value"),is=Symbol.iterator,en="@@iterator";function ss(b){if(b===null||typeof b!="object")return null;var l=is&&b[is]||b[en];return typeof l=="function"?l:null}function Vr(b,l,f){var y=b.displayName;if(y)return y;var T=l.displayName||l.name||"";return T!==""?f+"("+T+")":f}function Zc(b){return b.displayName||"Context"}function sn(b){if(b==null)return null;if(typeof b.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case zi:return"Fragment";case Gl:return"Portal";case Qe:return"Profiler";case Te:return"StrictMode";case jr:return"Suspense";case _n:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case Pt:var l=b;return Zc(l)+".Consumer";case Ye:var f=b;return Zc(f._context)+".Provider";case ar:return Vr(b,b.render,"ForwardRef");case Yr:var y=b.displayName||null;return y!==null?y:sn(b.type)||"Memo";case wa:{var T=b,N=T._payload,H=T._init;try{return sn(H(N))}catch{return null}}}return null}var $i=0,Yc,Kc,Xc,Ca,Hi,sl,al;function Os(){}Os.__reactDisabledLog=!0;function Sa(){{if($i===0){Yc=console.log,Kc=console.info,Xc=console.warn,Ca=console.error,Hi=console.group,sl=console.groupCollapsed,al=console.groupEnd;var b={configurable:!0,enumerable:!0,value:Os,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}$i++}}function Yl(){{if($i--,$i===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:zo({},b,{value:Yc}),info:zo({},b,{value:Kc}),warn:zo({},b,{value:Xc}),error:zo({},b,{value:Ca}),group:zo({},b,{value:Hi}),groupCollapsed:zo({},b,{value:sl}),groupEnd:zo({},b,{value:al})})}$i<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qi=t.ReactCurrentDispatcher,Kl;function si(b,l,f){{if(Kl===void 0)try{throw Error()}catch(T){var y=T.stack.trim().match(/\n( *(at )?)/);Kl=y&&y[1]||""}return`
|
135
135
|
`+Kl+b}}var Wi=!1,as;{var vf=typeof WeakMap=="function"?WeakMap:Map;as=new vf}function ll(b,l){if(!b||Wi)return"";{var f=as.get(b);if(f!==void 0)return f}var y;Wi=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var N;N=qi.current,qi.current=null,Sa();try{if(l){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Hr){y=Hr}Reflect.construct(b,[],H)}else{try{H.call()}catch(Hr){y=Hr}b.call(H.prototype)}}else{try{throw Error()}catch(Hr){y=Hr}b()}}catch(Hr){if(Hr&&y&&typeof Hr.stack=="string"){for(var K=Hr.stack.split(`
|
136
136
|
`),ve=y.stack.split(`
|
137
137
|
`),Pe=K.length-1,at=ve.length-1;Pe>=1&&at>=0&&K[Pe]!==ve[at];)at--;for(;Pe>=1&&at>=0;Pe--,at--)if(K[Pe]!==ve[at]){if(Pe!==1||at!==1)do if(Pe--,at--,at<0||K[Pe]!==ve[at]){var mt=`
|
@@ -158,13 +158,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
158
158
|
Previous: %s
|
159
159
|
Incoming: %s`,ai,"["+b.join(", ")+"]","["+l.join(", ")+"]");for(var f=0;f<l.length&&f<b.length;f++)if(!Lr(b[f],l[f]))return!1;return!0}function iu(){if(Si>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function qo(){return Fr===null?js===null?(hs=!1,js=Fr=iu()):(hs=!0,Fr=js):Fr.next===null?(hs=!1,Fr=Fr.next=iu()):(hs=!0,Fr=Fr.next),Fr}function su(b,l){$o=l,Ia=b,go=!1,To=0}function zs(b,l,f,y){for(;pl;)pl=!1,To=0,Si+=1,Fr=null,f=b(l,y);return au(),f}function mo(){var b=To!==0;return b}function au(){go=!1,$o=null,Ia=null,pl=!1,js=null,Si=0,Ho=null,Fr=null}function lu(b){return go&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ra(b)}function cu(b){return ai="useContext",Fs(),Ra(b)}function $s(b,l){return typeof l=="function"?l(b):l}function ps(b){return ai="useState",uu($s,b)}function uu(b,l,f){if(b!==$s&&(ai="useReducer"),$o=Fs(),Fr=qo(),hs){var y=Fr.queue,T=y.dispatch;if(Ho!==null){var N=Ho.get(y);if(N!==void 0){Ho.delete(y);var H=Fr.memoizedState,K=N;do{var ve=K.action;go=!0,H=b(H,ve),go=!1,K=K.next}while(K!==null);return Fr.memoizedState=H,[H,T]}}return[Fr.memoizedState,T]}else{go=!0;var Pe;b===$s?Pe=typeof l=="function"?l():l:Pe=f!==void 0?f(l):l,go=!1,Fr.memoizedState=Pe;var at=Fr.queue={last:null,dispatch:null},mt=at.dispatch=id.bind(null,$o,at);return[Fr.memoizedState,mt]}}function od(b,l){$o=Fs(),Fr=qo();var f=l===void 0?null:l;if(Fr!==null){var y=Fr.memoizedState;if(y!==null&&f!==null){var T=y[1];if(nd(f,T))return y[0]}}go=!0;var N=b();return go=!1,Fr.memoizedState=[N,f],N}function nc(b){$o=Fs(),Fr=qo();var l=Fr.memoizedState;if(l===null){var f={current:b};return Object.seal(f),Fr.memoizedState=f,f}else return l}function Ef(b,l){ai="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function id(b,l,f){if(Si>=ou)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(b===$o){pl=!0;var y={action:f,next:null};Ho===null&&(Ho=new Map);var T=Ho.get(l);if(T===void 0)Ho.set(l,y);else{for(var N=T;N.next!==null;)N=N.next;N.next=y}}}function Xn(b,l){return od(function(){return b},l)}function du(b,l,f){return Fs(),l(b._source)}function sd(b,l,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function Wo(b){return Fs(),b}function oc(){throw new Error("startTransition cannot be called during server rendering.")}function Ma(){return Fs(),[!1,oc]}function gs(){var b=Ia,l=Zi(b.treeContext),f=Hs;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=To++;return Mn(f,l,y)}function gl(){}var Hn={readContext:lu,useContext:cu,useMemo:od,useReducer:uu,useRef:nc,useState:ps,useInsertionEffect:gl,useLayoutEffect:Ef,useCallback:Xn,useImperativeHandle:gl,useEffect:gl,useDebugValue:gl,useDeferredValue:Wo,useTransition:Ma,useId:gs,useMutableSource:du,useSyncExternalStore:sd},Hs=null;function ic(b){Hs=b}function La(b){try{var l="",f=b;do{switch(f.tag){case 0:l+=si(f.type,null,null);break;case 1:l+=_a(f.type,null,null);break;case 2:l+=Xu(f.type,null,null);break}f=f.parent}while(f);return l}catch(y){return`
|
160
160
|
Error generating stack: `+y.message+`
|
161
|
-
`+y.stack}}var sc=t.ReactCurrentDispatcher,Da=t.ReactDebugCurrentFrame,ac=0,_i=1,lc=2,qs=3,ad=4,ml=0,Oa=1,Na=2,fu=12800;function ld(b){return console.error(b),null}function Ws(){}function cc(b,l,f,y,T,N,H,K,ve){var Pe=[],at=new Set,mt={destination:null,responseState:l,progressiveChunkSize:y===void 0?fu:y,status:ml,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:Pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:T===void 0?ld:T,onAllReady:N===void 0?Ws:N,onShellReady:H===void 0?Ws:H,onShellError:K===void 0?Ws:K,onFatalError:ve===void 0?Ws:ve},Dt=vl(mt,0,null,f,!1,!1);Dt.parentFlushed=!0;var sr=Ki(mt,b,null,Dt,at,Nn,Jl,Cf);return Pe.push(sr),mt}function Yi(b,l){var f=b.pingedTasks;f.push(l),f.length===1&&a(function(){return bu(b)})}function uc(b,l){return{id:No,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Ki(b,l,f,y,T,N,H,K){b.allPendingTasks++,f===null?b.pendingRootTasks++:f.pendingTasks++;var ve={node:l,ping:function(){return Yi(b,ve)},blockedBoundary:f,blockedSegment:y,abortSet:T,legacyContext:N,context:H,treeContext:K};return ve.componentStack=null,T.add(ve),ve}function vl(b,l,f,y,T,N){return{status:ac,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:f,lastPushedText:T,textEmbedded:N}}var li=null;function ci(){return li===null||li.componentStack===null?"":La(li.componentStack)}function Ai(b,l){b.componentStack={tag:0,parent:b.componentStack,type:l}}function yl(b,l){b.componentStack={tag:1,parent:b.componentStack,type:l}}function ms(b,l){b.componentStack={tag:2,parent:b.componentStack,type:l}}function ui(b){b.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):b.componentStack=b.componentStack.parent}var Pa=null;function dc(b,l){{var f;typeof l=="string"?f=l:l&&typeof l.message=="string"?f=l.message:f=String(l);var y=Pa||ci();Pa=null,b.errorMessage=f,b.errorComponentStack=y}}function bl(b,l){var f=b.onError(l);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Ba(b,l){var f=b.onShellError;f(l);var y=b.onFatalError;y(l),b.destination!==null?(b.status=Na,k(b.destination,l)):(b.status=Oa,b.fatalError=l)}function cd(b,l,f){Ai(l,"Suspense");var y=l.blockedBoundary,T=l.blockedSegment,N=f.fallback,H=f.children,K=new Set,ve=uc(b,K),Pe=T.chunks.length,at=vl(b,Pe,ve,T.formatContext,!1,!1);T.children.push(at),T.lastPushedText=!1;var mt=vl(b,0,null,T.formatContext,!1,!1);mt.parentFlushed=!0,l.blockedBoundary=ve,l.blockedSegment=mt;try{if(Uo(b,l,H),yn(mt.chunks,b.responseState,mt.lastPushedText,mt.textEmbedded),mt.status=_i,bs(ve,mt),ve.pendingTasks===0){ui(l);return}}catch(sr){mt.status=ad,ve.forceClientRender=!0,ve.errorDigest=bl(b,sr),dc(ve,sr)}finally{l.blockedBoundary=y,l.blockedSegment=T}var Dt=Ki(b,N,y,at,K,l.legacyContext,l.context,l.treeContext);Dt.componentStack=l.componentStack,b.pingedTasks.push(Dt),ui(l)}function hu(b,l,f,y){Ai(l,f);var T=l.blockedSegment,N=br(T.chunks,f,y,b.responseState,T.formatContext);T.lastPushedText=!1;var H=T.formatContext;T.formatContext=Oo(H,f,y),Uo(b,l,N),T.formatContext=H,Rr(T.chunks,f),T.lastPushedText=!1,ui(l)}function pu(b){return b.prototype&&b.prototype.isReactComponent}function Us(b,l,f,y,T){var N={};su(l,N);var H=f(y,T);return zs(f,y,H,T)}function gu(b,l,f,y,T){var N=f.render();f.props!==T&&(hc||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",sn(y)||"a component"),hc=!0);{var H=y.childContextTypes;if(H!=null){var K=l.legacyContext,ve=Jc(f,y,K,H);l.legacyContext=ve,Jn(b,l,N),l.legacyContext=K;return}}Jn(b,l,N)}function fc(b,l,f,y){ms(l,f);var T=ls(f,l.legacyContext),N=Ci(f,y,T);hl(N,f,y,T),gu(b,l,N,f,y),ui(l)}var xr={},xl={},mu={},Vs={},hc=!1,ud={},dd=!1,ko=!1,fd=!1;function pc(b,l,f,y){var T;if(T=ls(f,l.legacyContext),yl(l,f),f.prototype&&typeof f.prototype.render=="function"){var N=sn(f)||"Unknown";xr[N]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",N,N),xr[N]=!0)}var H=Us(b,l,f,y,T),K=mo();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var ve=sn(f)||"Unknown";xl[ve]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ve,ve,ve),xl[ve]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var Pe=sn(f)||"Unknown";xl[Pe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Pe,Pe,Pe),xl[Pe]=!0)}hl(H,f,y,T),gu(b,l,H,f,y)}else if(vu(f),K){var at=l.treeContext,mt=1,Dt=0;l.treeContext=ru(at,mt,Dt);try{Jn(b,l,H)}finally{l.treeContext=at}}else Jn(b,l,H);ui(l)}function vu(b){{if(b&&b.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",b.displayName||b.name||"Component"),b.defaultProps!==void 0){var l=sn(b)||"Unknown";ud[l]||(o("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),ud[l]=!0)}if(typeof b.getDerivedStateFromProps=="function"){var f=sn(b)||"Unknown";Vs[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),Vs[f]=!0)}if(typeof b.contextType=="object"&&b.contextType!==null){var y=sn(b)||"Unknown";mu[y]||(o("%s: Function components do not support contextType.",y),mu[y]=!0)}}}function yu(b,l){if(b&&b.defaultProps){var f=zo({},l),y=b.defaultProps;for(var T in y)f[T]===void 0&&(f[T]=y[T]);return f}return l}function hd(b,l,f,y,T){yl(l,f.render);var N=Us(b,l,f.render,y,T),H=mo();if(H){var K=l.treeContext,ve=1,Pe=0;l.treeContext=ru(K,ve,Pe);try{Jn(b,l,N)}finally{l.treeContext=K}}else Jn(b,l,N);ui(l)}function vo(b,l,f,y,T){var N=f.type,H=yu(N,y);Gs(b,l,N,H,T)}function vs(b,l,f,y){f._context===void 0?f!==f.Consumer&&(fd||(fd=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var T=y.children;typeof T!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var N=Ra(f),H=T(N);Jn(b,l,H)}function yo(b,l,f,y){var T=f._context,N=y.value,H=y.children,K;K=l.context,l.context=Qc(T,N),Jn(b,l,H),l.context=yf(T),K!==l.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function pd(b,l,f,y,T){Ai(l,"Lazy");var N=f._payload,H=f._init,K=H(N),ve=yu(K,y);Gs(b,l,K,ve,T),ui(l)}function Gs(b,l,f,y,T){if(typeof f=="function")if(pu(f)){fc(b,l,f,y);return}else{pc(b,l,f,y);return}if(typeof f=="string"){hu(b,l,f,y);return}switch(f){case Zl:case Ko:case Te:case Qe:case zi:{Jn(b,l,y.children);return}case _n:{Ai(l,"SuspenseList"),Jn(b,l,y.children),ui(l);return}case Ku:throw new Error("ReactDOMServer does not yet support scope components.");case jr:{cd(b,l,y);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case ar:{hd(b,l,f,y,T);return}case Yr:{vo(b,l,f,y,T);return}case Ye:{yo(b,l,f,y);return}case Pt:{vs(b,l,f,y);return}case wa:{pd(b,l,f,y);return}}var N="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+N))}function gd(b,l){typeof Symbol=="function"&&b[Symbol.toStringTag]==="Generator"&&(dd||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),dd=!0),b.entries===l&&(ko||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ko=!0)}function Jn(b,l,f){try{return md(b,l,f)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(Pa=Pa!==null?Pa:ci()),y}}function md(b,l,f){if(l.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Yu:{var y=f,T=y.type,N=y.props,H=y.ref;Gs(b,l,T,N,H);return}case Gl:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case wa:{var K=f,ve=K._payload,Pe=K._init,at;try{at=Pe(ve)}catch(di){throw typeof di=="object"&&di!==null&&typeof di.then=="function"&&Ai(l,"Lazy"),di}Jn(b,l,at);return}}if(It(f)){gc(b,l,f);return}var mt=ss(f);if(mt){gd(f,mt);var Dt=mt.call(f);if(Dt){var sr=Dt.next();if(!sr.done){var Hr=[];do Hr.push(sr.value),sr=Dt.next();while(!sr.done);gc(b,l,Hr);return}return}}var qn=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(qn==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":qn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var Ei=l.blockedSegment;Ei.lastPushedText=un(l.blockedSegment.chunks,f,b.responseState,Ei.lastPushedText);return}if(typeof f=="number"){var xs=l.blockedSegment;xs.lastPushedText=un(l.blockedSegment.chunks,""+f,b.responseState,xs.lastPushedText);return}typeof f=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function gc(b,l,f){for(var y=f.length,T=0;T<y;T++){var N=l.treeContext;l.treeContext=ru(N,y,T);try{Uo(b,l,f[T])}finally{l.treeContext=N}}}function mc(b,l,f){var y=l.blockedSegment,T=y.chunks.length,N=vl(b,T,null,y.formatContext,y.lastPushedText,!0);y.children.push(N),y.lastPushedText=!1;var H=Ki(b,l.node,l.blockedBoundary,N,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(H.componentStack=l.componentStack.parent);var K=H.ping;f.then(K,K)}function Uo(b,l,f){var y=l.blockedSegment.formatContext,T=l.legacyContext,N=l.context,H=null;H=l.componentStack;try{return Jn(b,l,f)}catch(K){if(au(),typeof K=="object"&&K!==null&&typeof K.then=="function"){mc(b,l,K),l.blockedSegment.formatContext=y,l.legacyContext=T,l.context=N,ds(N),l.componentStack=H;return}else throw l.blockedSegment.formatContext=y,l.legacyContext=T,l.context=N,ds(N),l.componentStack=H,K}}function vd(b,l,f,y){var T=bl(b,y);if(l===null?Ba(b,y):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=T,dc(l,y),l.parentFlushed&&b.clientRenderedBoundaries.push(l))),b.allPendingTasks--,b.allPendingTasks===0){var N=b.onAllReady;N()}}function ys(b){var l=this,f=b.blockedBoundary,y=b.blockedSegment;y.status=qs,Zs(l,f,y)}function vc(b,l,f){var y=b.blockedBoundary,T=b.blockedSegment;if(T.status=qs,y===null)l.allPendingTasks--,l.status!==Na&&(l.status=Na,l.destination!==null&&w(l.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var N=f===void 0?new Error("The render was aborted by the server without a reason."):f;y.errorDigest=l.onError(N);{var H="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=H+N.message:N=H+String(N);var K=li;li=b;try{dc(y,N)}finally{li=K}}y.parentFlushed&&l.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Pe){return vc(Pe,l,f)}),y.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var ve=l.onAllReady;ve()}}}function bs(b,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var f=l.children[0];f.id=l.id,f.parentFlushed=!0,f.status===_i&&bs(b,f)}else{var y=b.completedSegments;y.push(l)}}function Zs(b,l,f){if(l===null){if(f.parentFlushed){if(b.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");b.completedRootSegment=f}if(b.pendingRootTasks--,b.pendingRootTasks===0){b.onShellError=Ws;var y=b.onShellReady;y()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)f.parentFlushed&&f.status===_i&&bs(l,f),l.parentFlushed&&b.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(ys,b),l.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===_i){bs(l,f);var T=l.completedSegments;T.length===1&&l.parentFlushed&&b.partialBoundaries.push(l)}}if(b.allPendingTasks--,b.allPendingTasks===0){var N=b.onAllReady;N()}}function Tf(b,l){var f=l.blockedSegment;if(f.status===ac){ds(l.context);var y=null;y=li,li=l;try{Jn(b,l,l.node),yn(f.chunks,b.responseState,f.lastPushedText,f.textEmbedded),l.abortSet.delete(l),f.status=_i,Zs(b,l.blockedBoundary,f)}catch(N){if(au(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var T=l.ping;N.then(T,T)}else l.abortSet.delete(l),f.status=ad,vd(b,l.blockedBoundary,f,N)}finally{li=y}}}function bu(b){if(b.status!==Na){var l=Qu(),f=sc.current;sc.current=Hn;var y;y=Da.getCurrentStack,Da.getCurrentStack=ci;var T=Hs;ic(b.responseState);try{var N=b.pingedTasks,H;for(H=0;H<N.length;H++){var K=N[H];Tf(b,K)}N.splice(0,H),b.destination!==null&&Xo(b,b.destination)}catch(ve){bl(b,ve),Ba(b,ve)}finally{ic(T),sc.current=f,Da.getCurrentStack=y,f===Hn&&ds(l)}}}function wl(b,l,f){switch(f.parentFlushed=!0,f.status){case ac:{var y=f.id=b.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,$r(l,b.responseState,y)}case _i:{f.status=lc;for(var T=!0,N=f.chunks,H=0,K=f.children,ve=0;ve<K.length;ve++){for(var Pe=K[ve];H<Pe.index;H++)m(l,N[H]);T=Cl(b,l,Pe)}for(;H<N.length-1;H++)m(l,N[H]);return H<N.length&&(T=g(l,N[H])),T}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cl(b,l,f){var y=f.boundary;if(y===null)return wl(b,l,f);if(y.parentFlushed=!0,y.forceClientRender)return Kn(l,b.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),wl(b,l,f),nl(l,b.responseState);if(y.pendingTasks>0){y.rootSegmentID=b.nextSegmentId++,y.completedSegments.length>0&&b.partialBoundaries.push(y);var T=y.id=Ln(b.responseState);return Bi(l,b.responseState,T),wl(b,l,f),Bo(l,b.responseState)}else{if(y.byteSize>b.progressiveChunkSize)return y.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(y),Bi(l,b.responseState,y.id),wl(b,l,f),Bo(l,b.responseState);ii(l,b.responseState);var N=y.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=N[0];return Cl(b,l,H),Qr(l,b.responseState)}}function xu(b,l,f){return Gu(l,b.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function yc(b,l,f){return lr(l,b.responseState,f.formatContext,f.id),Cl(b,l,f),Xr(l,f.formatContext)}function wu(b,l,f){for(var y=f.completedSegments,T=0;T<y.length;T++){var N=y[T];bo(b,l,f,N)}return y.length=0,il(l,b.responseState,f.id,f.rootSegmentID)}function yd(b,l,f){for(var y=f.completedSegments,T=0;T<y.length;T++){var N=y[T];if(!bo(b,l,f,N))return T++,y.splice(0,T),!1}return y.splice(0,T),!0}function bo(b,l,f,y){if(y.status===lc)return!0;var T=y.id;if(T===-1){var N=y.id=f.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return yc(b,l,y)}else return yc(b,l,y),ff(l,b.responseState,T)}function Xo(b,l){p();try{var f=b.completedRootSegment;f!==null&&b.pendingRootTasks===0&&(Cl(b,l,f),b.completedRootSegment=null,nn(l,b.responseState));var y=b.clientRenderedBoundaries,T;for(T=0;T<y.length;T++){var N=y[T];xu(b,l,N)}y.splice(0,T);var H=b.completedBoundaries;for(T=0;T<H.length;T++){var K=H[T];wu(b,l,K)}H.splice(0,T),v(l),p(l);var ve=b.partialBoundaries;for(T=0;T<ve.length;T++){var Pe=ve[T];if(!yd(b,l,Pe)){b.destination=null,T++,ve.splice(0,T);return}}ve.splice(0,T);var at=b.completedBoundaries;for(T=0;T<at.length;T++){var mt=at[T];wu(b,l,mt)}at.splice(0,T)}finally{v(l),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&(b.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),w(l))}}function bd(b){a(function(){return bu(b)})}function kf(b,l){if(b.status===Oa){b.status=Na,k(l,b.fatalError);return}if(b.status!==Na&&b.destination===null){b.destination=l;try{Xo(b,l)}catch(f){bl(b,f),Ba(b,f)}}}function Sl(b,l){try{var f=b.abortableTasks;f.forEach(function(y){return vc(y,b,l)}),f.clear(),b.destination!==null&&Xo(b,b.destination)}catch(y){bl(b,y),Ba(b,y)}}function ja(b,l){return new Promise(function(f,y){var T,N,H=new Promise(function(Dt,sr){N=Dt,T=sr});function K(){var Dt=new ReadableStream({type:"bytes",pull:function(sr){kf(Pe,sr)},cancel:function(sr){Sl(Pe)}},{highWaterMark:0});Dt.allReady=H,f(Dt)}function ve(Dt){H.catch(function(){}),y(Dt)}var Pe=cc(b,Fn(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),_o(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,N,K,ve,T);if(l&&l.signal){var at=l.signal,mt=function(){Sl(Pe,at.reason),at.removeEventListener("abort",mt)};at.addEventListener("abort",mt)}bd(Pe)})}Fh.renderToReadableStream=ja,Fh.version=e}()),Fh}var I0;function CE(){if(I0)return Cc;I0=1;var r,e;return process.env.NODE_ENV==="production"?(r=yE(),e=bE()):(r=xE(),e=wE()),Cc.version=r.version,Cc.renderToString=r.renderToString,Cc.renderToStaticMarkup=r.renderToStaticMarkup,Cc.renderToNodeStream=r.renderToNodeStream,Cc.renderToStaticNodeStream=r.renderToStaticNodeStream,Cc.renderToReadableStream=e.renderToReadableStream,Cc}var Ex=CE();const yp=of(Ex);function zf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Iu={_canvas:null,_cache:new Map,_fontCache:{value:"",timestamp:0},_charWidthMap:new Map,clearCache(){this._cache.clear(),this._canvas=null,this._fontCache={value:"",timestamp:0},this._charWidthMap.clear()},getDefaultFont(){const r=Date.now();if(this._fontCache.value&&r-this._fontCache.timestamp<3e5)return this._fontCache.value;try{const e=getComputedStyle(document.documentElement).getPropertyValue("--Font").trim()||"400 14px pretendard";return this._fontCache={value:e,timestamp:r},e}catch{return"400 14px pretendard"}},measureCharWidth(r,e){var o,i,a,c,d,h;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const p=this._canvas.getContext("2d");if(p){p.font=e;const m=p.measureText(r).width;return this._charWidthMap.set(t,m),m}}catch{}let n;return r===" "?n=parseInt(((o=e.match(/(\d+)px/))==null?void 0:o[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((i=e.match(/(\d+)px/))==null?void 0:i[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((a=e.match(/(\d+)px/))==null?void 0:a[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((c=e.match(/(\d+)px/))==null?void 0:c[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((d=e.match(/(\d+)px/))==null?void 0:d[1])||"14")*.25:n=parseInt(((h=e.match(/(\d+)px/))==null?void 0:h[1])||"14")*.67,this._charWidthMap.set(t,n),n},extractTextFromNode(r){if(r==null)return"";if(typeof r=="string")return r;if(typeof r=="number"||typeof r=="boolean")return`${r}`;if(Array.isArray(r))return r.map(e=>this.extractTextFromNode(e)).join("");if(C.isValidElement(r))try{const t=Ex.renderToString(r).replace(/<[^>]*>/g,""),n=document.createElement("div");return n.innerHTML=t,n.textContent||""}catch{return r.props&&r.props.children?this.extractTextFromNode(r.props.children):""}return""},measureTextWidth(r,e){var i;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,o=this._cache.get(n);if(o!==void 0)return o;try{this._canvas||(this._canvas=document.createElement("canvas"));const a=this._canvas.getContext("2d");if(a){a.font=t;const c=a.measureText(r),d=Math.ceil(c.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(p=>this._cache.delete(p)),this._cache.set(n,d),d}}catch{}try{const a=document.createElement("span");a.style.font=t,a.style.position="absolute",a.style.visibility="hidden",a.style.whiteSpace="nowrap",a.textContent=r,document.body.appendChild(a);const c=Math.ceil(a.getBoundingClientRect().width);return document.body.removeChild(a),this._cache.set(n,c),c}catch{}try{let a=0;for(let d=0;d<r.length;d++)a+=this.measureCharWidth(r[d],t);a*=.95;const c=Math.ceil(a);return this._cache.set(n,c),c}catch{}try{const a=parseInt(((i=t.match(/(\d+)px/))==null?void 0:i[1])||"14");let c=0;for(let h=0;h<r.length;h++){const p=r[h];p===" "?c+=.33:/^[A-Z]$/.test(p)?c+=.67:/^[a-z]$/.test(p)?c+=.5:/^\d$/.test(p)?c+=.6:/^[.,;:!?]$/.test(p)?c+=.25:c+=.67}const d=Math.ceil(c*a);return this._cache.set(n,d),d}catch{const c=r.length*10;return this._cache.set(n,c),c}},measureTextWithElementStyle(r,e){if(!e)return 0;try{const t=window.getComputedStyle(r),n=t.getPropertyValue("--Font").trim()||`${t.fontWeight} ${t.fontSize} ${t.fontFamily}`;return this.measureTextWidth(e,n)}catch{return this.measureTextWidth(e)}},measureReactNodeWidth(r){const e=this.extractTextFromNode(r);return this.measureTextWidth(e)},measureRenderedOptionWidth(r,e){if(r==null)return 0;const t=e(r),n=this.extractTextFromNode(t);return this.measureTextWidth(n)},calculateOptimalSelectWidth({elementRef:r,options:e=[],selectedOption:t=null,selectedOptions:n=[],placeholder:o="",optionRenderer:i,type:a="Primary",isMulti:c=!1}){if(!r.current)return 200;try{let d=0;if(e&&e.length>0){const v=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(E,_)=>e[Math.floor(_*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],w=Array.from(new Set(v.filter(Boolean)));for(const E of w){if(!E)continue;const _=this.measureRenderedOptionWidth(E,i);d=Math.max(d,_)}}let h=0;if(!c&&t)h=this.measureRenderedOptionWidth(t,i);else if(c&&n&&n.length){if(n.length===1)h=this.measureRenderedOptionWidth(n[0],i);else if(h=this.measureTextWidth(`${n.length} selected`),n.length>0){let v=0;for(const w of n){const E=this.measureRenderedOptionWidth(w,i);v=Math.max(v,E)}h=Math.max(h,v)}}let p=0;o&&(p=this.measureReactNodeWidth(o));const g=Math.max(d,h,p,50);if(r.current){const v=window.getComputedStyle(r.current),w=parseFloat(v.paddingLeft||"0")+parseFloat(v.paddingRight||"0"),E=parseFloat(v.borderLeftWidth||"0")+parseFloat(v.borderRightWidth||"0"),_=a==="Primary"?30:20,A=c?24:0,k=Math.ceil(g*.05)+10;return Math.ceil(g+w+E+_+A+k)}return g+60}catch{return 200}}};var Io=(r=>(r.E="East",r.N="North",r.S="South",r.W="West",r))(Io||{}),sf=(r=>(r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.N="North",r.NE="NorthEast",r.NW="NorthWest",r.S="South",r.SE="SouthEast",r.SW="SouthWest",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(sf||{});function B1(r,e,t,n){if(!r.current||!e.current)return;const o=r.current.getBoundingClientRect(),i=e.current.getBoundingClientRect();let a={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":a=i?{bottom:window.innerHeight-o.top,left:o.left+o.width/2-i.width/2}:{bottom:window.innerHeight-o.top,left:o.left};break;case"NorthWest":a={bottom:window.innerHeight-o.top,left:o.left};break;case"NorthEast":a={bottom:window.innerHeight-o.top,right:window.innerWidth-o.left-o.width};break;case"South":a=i?{top:o.bottom,left:o.left+o.width/2-i.width/2}:{top:o.bottom,left:o.left};break;case"SouthWest":a={top:o.bottom,left:o.left};break;case"SouthEast":a={top:o.bottom,right:window.innerWidth-o.left-o.width};break;case"East":a=i?{top:o.top+o.height/2-i.height/2,left:o.right}:{top:o.top,left:o.right};break;case"EastNorth":a={bottom:window.innerHeight-o.top-o.height,left:o.right};break;case"EastSouth":a={top:o.top,left:o.right};break;case"West":a=i?{top:o.top+o.height/2-i.height/2,right:window.innerWidth-o.left}:{top:o.top,right:window.innerWidth-o.left};break;case"WestNorth":a={bottom:window.innerHeight-o.top-o.height,right:window.innerWidth-o.left};break;case"WestSouth":a={top:o.top,right:window.innerWidth-o.left};break;default:a={top:o.top,left:o.left}}n&&(n.x&&a.left&&(a.left+=n.x),n.y&&a.top&&(a.top+=n.y)),a=kx(a,i),e.current.style.top=a.top+"px",e.current.style.left=a.left+"px",e.current.style.bottom=a.bottom+"px",e.current.style.right=a.right+"px"}function Tx(r,e,t,n){if(!r)return;const o=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!o)return;const i=r.getBoundingClientRect(),a=o.getBoundingClientRect();let c={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":c=a?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-a.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":c={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":c={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":c=a?{top:i.bottom,left:i.left+i.width/2-a.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":c={top:i.bottom,left:i.left};break;case"SouthEast":c={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":c=a?{top:i.top+i.height/2-a.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":c={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":c={top:i.top,left:i.right};break;case"West":c=a?{top:i.top+i.height/2-a.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":c={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":c={top:i.top,right:window.innerWidth-i.left};break;default:c={top:i.top,left:i.left}}return n&&(n.x&&c.left&&(c.left+=n.x),n.y&&c.top&&(c.top+=n.y)),c=kx(c,a),o.style.top=c.top+"px",o.style.left=c.left+"px",o.style.bottom=c.bottom+"px",o.style.right=c.right+"px",c}function kx(r,e,t=10){return r.left&&r.left<t&&(r.left=t),r.right&&r.right<t&&(r.right=t),r.top&&r.top<t&&(r.top=t),r.bottom&&r.bottom<t&&(r.bottom=t),r.left&&e&&r.left+e.width>window.innerWidth-t&&(r.left=window.innerWidth-e.width-t),r.right&&e&&r.right+e.width>window.innerWidth-t&&(r.right=window.innerWidth-e.width-t),r.top&&e&&r.top+e.height>window.innerHeight-t&&(r.top=window.innerHeight-e.height-t),r.bottom&&e&&r.bottom+e.height>window.innerHeight-t&&(r.bottom=window.innerHeight-e.height-t),r}function ku(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const SE="_Tooltip_1khnz_1",_E="_Arrow_1khnz_17",M0={Tooltip:SE,Arrow:_E},Rx=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:o=10,direction:i=Io.S}=r,[a,c]=C.useState(!1),d=C.useRef(null),h=C.useRef(null),p=C.useRef(null),m=C.useCallback(()=>{c(!0),p.current&&(clearTimeout(p.current),p.current=null);const E=setTimeout(()=>L0(t,d,h,o,i),n);p.current=E},[t,n,o,i]),g=C.useCallback(()=>c(!1),[]);C.useEffect(()=>{const E=t.current;if(E)return E.addEventListener("mouseenter",m),E.addEventListener("mouseleave",g),()=>{E.removeEventListener("mouseenter",m),E.removeEventListener("mouseleave",g)}},[t,g,m]);const v=C.useCallback(()=>{L0(t,d,h,o,i)},[t,o,i]);C.useEffect(()=>{if(!t.current||!d.current||!a)return;const E=t.current.parentElement;let _=E;for(;_;)_.addEventListener("scroll",v),_=_.parentElement;return()=>{let A=E;for(;A;)A.removeEventListener("scroll",v),A=A.parentElement}},[t,v,a]),C.useEffect(()=>{v()},[e,v]);const w=C.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!a||w?null:ks.createPortal(S.jsxs("div",{ref:d,className:Ze.clsx(M0.Tooltip,"NoSelect"),children:[e,S.jsx("div",{ref:h,className:M0.Arrow})]}),document.body)},zh="5px solid var(--ATooltip_background-color)";function L0(r,e,t,n,o=Io.S){if(!r.current||!e.current||!t.current)return;const i=AE(r.current,e.current,n,o);if(!i)return;const{left:a,top:c,arrowDir:d,arrow:h}=i;e.current.style.left=`${a}px`,e.current.style.top=`${c}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",d===Io.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderBottom=zh):d===Io.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderTop=zh):d===Io.W?(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=zh):d===Io.E&&(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=zh)}const Sc=5;function AE(r,e,t,n){const o=r.getBoundingClientRect(),i=e.getBoundingClientRect();function a(){if(window.innerHeight-o.bottom>i.height+t){const p=o.bottom+t,m=o.left+(o.width-i.width)/2,g=zf(m,Sc,window.innerWidth-Sc-i.width),v=Io.N;return{left:g,top:p,arrowDir:v,arrow:{left:m-g}}}}function c(){if(o.top>i.height+t){const p=o.top-i.height-t,m=o.left+(o.width-i.width)/2,g=zf(m,Sc,window.innerWidth-Sc-i.width),v=Io.S;return{left:g,top:p,arrowDir:v,arrow:{left:m-g}}}}function d(){if(window.innerWidth-o.right>i.width+t){const p=o.right+t,m=o.top+(o.height-i.height)/2,g=zf(m,Sc,window.innerHeight-Sc-i.height),v=Io.W;return{left:p,top:g,arrowDir:v,arrow:{top:m-g}}}}function h(){if(o.left>i.width+t){const p=o.left-i.width-t,m=o.top+(o.height-i.height)/2,g=zf(m,Sc,window.innerHeight-Sc-i.height),v=Io.E;return{left:p,top:g,arrowDir:v,arrow:{top:m-g}}}}if(n===Io.E)return d()||h()||a()||c();if(n===Io.S)return a()||c()||d()||h();if(n===Io.W)return h()||d()||a()||c();if(n===Io.N)return c()||a()||d()||h()}const EE="_ABase_c7a1t_1",TE="_UseDimming_c7a1t_6",kE="_Dimmer_c7a1t_6",RE="_Spinner_c7a1t_9",IE="_Dimmed_c7a1t_12",ME="_HasProgress_c7a1t_18",LE="_IsDimmed_c7a1t_36",DE="_IsLoading_c7a1t_41",OE="_IsDisabled_c7a1t_46",Ad={ABase:EE,UseDimming:TE,Dimmer:kE,Spinner:RE,Dimmed:IE,HasProgress:ME,IsDimmed:LE,IsLoading:DE,IsDisabled:OE},Zr=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:o,isDimmed:i,tooltip:a,tooltipDistance:c=10,tooltipDelay:d=0,tooltipDirection:h=Io.S,progress:p,progressProps:m,...g}=r,v=C.useRef(null),w=C.useMemo(()=>t??v,[t]),E=C.useMemo(()=>typeof n=="string"&&n!==""?n:a!==void 0?a:"",[n,a]),_=C.useMemo(()=>n||o||i,[n,o,i]),A=C.useMemo(()=>n!==void 0||o!==void 0||i!==void 0,[n,o,i]),k=typeof p=="number"&&o;return S.jsxs("div",{...g,ref:w,className:Ze.clsx(g.className,Ad.ABase,A&&Ad.UseDimming,_&&Ad.Dimmed,k&&Ad.HasProgress),children:[e,A&&S.jsx("div",{className:Ze.sclsx(Ad,"Dimmer",n&&"IsDisabled",o&&"IsLoading",i&&"IsDimmed",k&&"HasProgress")}),o&&S.jsxs("div",{className:Ze.sclsx(Ad,"Spinner",n&&"IsDisabled",o&&"IsLoading",k&&"HasProgress"),children:[S.jsx(ln,{icon:"Spinner"}),k&&S.jsx(Ax,{progress:p,...m})]}),S.jsx(Rx,{delay:d,direction:h,distance:c,targetRef:w,tooltip:E})]})},NE="_AButton_vulhu_1",PE="_Primary_vulhu_14",BE="_Secondary_vulhu_19",jE="_Alter_vulhu_24",FE="_AIconButton_vulhu_30",zE="_AThemeButton_vulhu_71",eh={AButton:NE,Primary:PE,Secondary:BE,Alter:jE,AIconButton:FE,AThemeButton:zE},$E=["Primary","Secondary","Alter","Raw"],Zo=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...o}=r,i=C.useMemo(()=>o.isDisabled||o.isLoading,[o.isDisabled,o.isLoading]),a=C.useCallback(c=>{i||t==null||t(c)},[i,t]);return S.jsx(Zr,{...o,className:Ze.clsx(o.className,eh.AButton,e!=="Raw"&&eh[e],"IsClickable",!i&&!n&&"IsInteractive"),onClick:a})},HE=["Primary","Secondary","Raw"],So=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:o,isDisabled:i,isLoading:a,tooltip:c,className:d,...h}=r,p=C.useMemo(()=>i||a,[i,a]),m=C.useCallback(v=>{p||o==null||o(v)},[p,o]),g=C.useMemo(()=>P1.includes(e)?S.jsx(ln,{icon:e,size:t}):e,[e,t]);return S.jsx(Zr,{className:Ze.clsx(eh.AIconButton,!i&&!a&&"IsClickable",n!=="Raw"&&eh[n],d),isDisabled:i,isLoading:a,tooltip:c,onClick:m,...h,children:g})};function gn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=C.useState(e);return C.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const qE="_AWrap_u1f1h_1",WE="_Label_u1f1h_8",UE="_Asterisk_u1f1h_19",VE="_HelperTextConatiner_u1f1h_23",GE="_HelperText_u1f1h_23",Ed={AWrap:qE,Label:WE,Asterisk:UE,HelperTextConatiner:VE,HelperText:GE,Error:"_Error_u1f1h_38"},ZE=["Default","Error"],zc=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:o="Default",label:i,labelProps:a,children:c}=r,d=C.useRef(null),[h,p]=C.useState({height:0}),m=C.useRef(null),[g,v]=C.useMemo(()=>{let E=n,_=o;if(Array.isArray(t)){const A=t.filter(Boolean);A.length>0&&([E,_]=[A,"Error"])}else t&&([E,_]=[t,"Error"]);return Array.isArray(E)&&(_!=="Error"&&(E=E.filter(Boolean)),E=E.map((A,k)=>S.jsxs(C.Fragment,{children:[A,S.jsx("br",{})]},k))),[E,_]},[n,t,o]);C.useEffect(()=>{if(!g||!d.current)p({height:0});else{const E=d.current.getBoundingClientRect();p({height:E.height,marginTop:E.height===0?0:6})}},[g]);const w=C.useMemo(()=>{switch(typeof(a==null?void 0:a.prefix)){case"string":return S.jsx(ln,{height:"1rem",icon:a.prefix,width:"1rem"});case"boolean":return S.jsx(ln,{height:10,icon:"Target",width:10});default:return a==null?void 0:a.prefix}},[a==null?void 0:a.prefix]);return S.jsxs("div",{...e,ref:m,className:Ze.clsx(e==null?void 0:e.className,Ed.AWrap),children:[i&&S.jsxs("div",{className:Ze.clsx(Ed.Label,"NoSelect",a==null?void 0:a.className),style:a==null?void 0:a.style,children:[w,i,(a==null?void 0:a.asterisk)&&S.jsx(Zr,{className:Ed.Asterisk,tooltip:wr.AWrap.Asterisk,children:"*"})]}),c,g!==void 0&&S.jsx("div",{className:Ze.clsx(Ed.HelperTextConatiner,"NoSelect"),style:h,children:S.jsx("div",{ref:d,className:Ze.clsx(Ed.HelperText,Ed[v]),children:g})})]})},YE="_ASwitch_nlcij_1",KE="_Track_nlcij_6",XE="_Truthy_nlcij_13",JE="_Thumb_nlcij_17",Of={ASwitch:YE,Track:KE,Truthy:XE,Thumb:JE},Ix=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:o,...i}=r,[a,c]=gn(o,!1),d=C.useCallback(h=>{var p;i.isDisabled||i.isLoading||(c==null||c(!a),(p=i.onClick)==null||p.call(i,h))},[i,a,c]);return S.jsx(zc,{helperText:t,label:n,wrapProps:{...e},children:S.jsx(Zr,{...i,className:Of.ASwitch,onClick:d,children:S.jsx("div",{className:Ze.clsx(Of.Track,a&&Of.Truthy),children:S.jsx("div",{className:Ze.clsx(Of.Thumb,a&&Of.Truthy)})})})})},QE={palette:{"mode-1":{"common-100":"#ffffff","common-0":"#000000","neutral-99":"#fcfcfc","neutral-94":"#efefef","neutral-89":"#e2e2e2","neutral-84":"#d6d6d6","neutral-79":"#c9c9c9","neutral-73":"#bababa","neutral-65":"#a5a5a5","neutral-54":"#898989","neutral-42":"#6b6b6b","neutral-30":"#4c4c4c","neutral-20":"#333333","neutral-15":"#2c2c2c","neutral-10":"#191919","neutral-5":"#0c0c0c","cool-neutral-99":"#fcfcfc","cool-neutral-94":"#efeff0","cool-neutral-89":"#e1e2e4","cool-neutral-84":"#d4d5d7","cool-neutral-79":"#c7c8cb","cool-neutral-73":"#b7b9bc","cool-neutral-65":"#a2a4a9","cool-neutral-54":"#85888e","cool-neutral-42":"#66696f","cool-neutral-30":"#494b4f","cool-neutral-20":"#303235","cool-neutral-10":"#18191a","cool-neutral-5":"#0c0c0c","red-99":"#fff9f9","red-95":"#ffe5e5","red-90":"#ffcccc","red-84":"#ffadad","red-76":"#ff8484","red-66":"#ff5151","red-53":"#ff0f0f","red-45":"#e50000","red-34":"#a80000","red-30":"#990000","red-24":"#7a0000","red-10":"#330000","green-99":"#fafffa","green-95":"#e5ffe8","green-90":"#ccffd1","green-84":"#adffb6","green-76":"#84ff90","green-66":"#51ff62","green-48":"#00f418","green-45":"#00e517","green-34":"#00a810","green-30":"#00990f","green-24":"#007a0c","green-10":"#003305","blue-99":"#fafdff","blue-95":"#e5f3ff","blue-90":"#cce6ff","blue-84":"#add7ff","blue-76":"#84c3ff","blue-66":"#51abff","blue-53":"#0f8bff","blue-45":"#0077e5","blue-34":"#0056a8","blue-30":"#004f99","blue-24":"#003f7a","blue-10":"#001a33","orange-99":"#fffcfa","orange-95":"#ffefe5","orange-90":"#ffdecc","orange-84":"#ffcbad","orange-76":"#ffb184","orange-66":"#ff9151","orange-53":"#ff670f","orange-45":"#e55400","orange-34":"#a83d00","orange-30":"#993800","orange-24":"#7a2c00","orange-10":"#331200","violet-99":"#fcfaff","violet-95":"#eee5ff","violet-90":"#dcccff","violet-84":"#c7adff","violet-76":"#ab84ff","violet-66":"#8852ff","violet-53":"#5b0fff","violet-45":"#4900e5","violet-34":"#3500a8","violet-28":"#2d008e","violet-24":"#26007a","violet-10":"#100033","cyan-99":"#faffff","cyan-95":"#e5fdff","cyan-90":"#ccfbff","cyan-84":"#adf9ff","cyan-76":"#84f6ff","cyan-66":"#51f3ff","cyan-50":"#00edff","cyan-45":"#00d6e5","cyan-40":"#00becc","cyan-30":"#008e99","cyan-21":"#00636b","cyan-10":"#002f33","pink-99":"#fffefa","pink-95":"#ffe5f5","pink-90":"#ffccea","pink-84":"#ffadde","pink-76":"#ff84ce","pink-66":"#ff51b9","pink-53":"#ff0f9f","pink-45":"#e5008a","pink-40":"#cc007a","pink-30":"#99005b","pink-21":"#6b0040","pink-10":"#33001e","lime-99":"#fcfffa","lime-95":"#eeffe5","lime-90":"#ddffcc","lime-84":"#c8ffad","lime-76":"#adff84","lime-66":"#8bff51","lime-49":"#53f900","lime-45":"#4ce500","lime-40":"#44cc00","lime-30":"#339900","lime-21":"#236b00","lime-10":"#113300","brand-b-color":"#386fff"}},semantic:{light:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","acent-brand-fill":"blue-95","label-normal":"neutral-20","label-strong":"neutral-5","label-neutral":"neutral-73","line-normal":"neutral-79","line-strong":"neutral-65","line-neutral":"neutral-89","background-normal":"common-100","elevation-0":"common-100","elevation-10":"neutral-94","elevation-20":"neutral-73","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-84","inverse-label-strong":"neutral-99","inverse-label-neutral":"neutral-30","inverse-line-normal":"neutral-30","inverse-line-strong":"neutral-54","inverse-line-neutral":"neutral-20","inverse-elevation-0":"neutral-5","inverse-elevation-10":"neutral-10","inverse-elevation-20":"neutral-15"},dark:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","acent-brand-fill":"blue-10","label-normal":"neutral-84","label-strong":"neutral-99","label-neutral":"neutral-30","line-normal":"neutral-30","line-strong":"neutral-54","line-neutral":"neutral-20","background-normal":"neutral-5","elevation-0":"neutral-5","elevation-10":"neutral-10","elevation-20":"neutral-15","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-20","inverse-label-strong":"neutral-5","inverse-label-neutral":"neutral-73","inverse-line-normal":"neutral-79","inverse-line-strong":"neutral-65","inverse-line-neutral":"neutral-89","inverse-elevation-0":"common-100","inverse-elevation-10":"neutral-94","inverse-elevation-20":"neutral-73"}}},Do=Od.cloneDeep(QE);or.keys(Do.semantic).forEach(r=>{const e=Do.semantic[r];or.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const Up=or.keys(Do.palette),Mx=or.keys(Do.palette[Up[0]]);function eT(){return uo.paletteMode}function tT(r,e=uo.paletteMode){return Do.palette[e][r]}function rT(r){return Gp(r)}const bp=[];function Lx(r){uo.paletteMode=r,Mx.forEach(e=>document.documentElement.style.setProperty(`--${e}`,Do.palette[r][e])),bp.forEach(e=>e(r))}function Dx(r,e="all"){or.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Up.forEach(i=>{Do.palette[i][n]=o}):Do.palette[e][n]=o)})}const Zd=or.keys(Do.semantic),Ox=or.keys(Do.semantic[Zd[0]]);function nT(){return uo.semanticMode}function oT(r,e=uo.semanticMode){return Do.semantic[e][r]}function iT(r){return Gp(r)}const xp=[];function j1(r){uo.semanticMode=r,document.documentElement.setAttribute("data-theme",r),Ox.forEach(e=>document.documentElement.style.setProperty(`--${e}`,Do.semantic[r][e])),xp.forEach(e=>e(r)),uo.save==="localStorage"?localStorage.setItem("semanticMode",r):uo.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function Nx(r,e=uo.semanticMode){or.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Zd.forEach(i=>{Do.semantic[i][n]=o}):Do.semantic[e][n]=o)})}const Px=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition","Transition-Enabled"],Bx=["ABase_Dimming_background-color"],jx=["ATooltip_background-color","ATooltip_color"],Fx=["AButton_Primary_border","AButton_Primary_background-color","AButton_Primary_color","AButton_Secondary_border","AButton_Secondary_background-color","AButton_Secondary_color","AButton_Alter_border","AButton_Alter_background-color","AButton_Alter_color"],zx=["AInput_Primary_background-color","AInput_Primary_border","AInput_Primary_color","AInput_Primary_hover_border","AInput_Primary_focus_background-color","AInput_Primary_focus_border","AInput_Primary_placeholder_color","AInput_Secondary_background-color","AInput_Secondary_border","AInput_Secondary_color","AInput_Secondary_hover_border","AInput_Secondary_focus_border","AInput_Secondary_placeholder_color","AInput_ReadOnly_background-color","AInput_ReadOnly_border","AInput_ReadOnly_color","AInput_Error_HelperText_color","AInput_Error_background-color","AInput_Error_border","AInput_Error_color","AInput_Error_placeholder_color"],$x=["ATextArea_Primary_background-color","ATextArea_Primary_border","ATextArea_Primary_color","ATextArea_Primary_hover_border","ATextArea_Primary_focus_background-color","ATextArea_Primary_focus_border","ATextArea_Secondary_background-color","ATextArea_Secondary_border","ATextArea_Secondary_color","ATextArea_Secondary_hover_border","ATextArea_Secondary_focus_border","ATextArea_ReadOnly_background-color","ATextArea_ReadOnly_border","ATextArea_ReadOnly_color","ATextArea_Error_background-color","ATextArea_Error_border","ATextArea_Error_color","ATextArea_Error_placeholder_color"],Hx=["AEditor_Primary_background-color","AEditor_Primary_border","AEditor_Primary_color","AEditor_Primary_hover_border","AEditor_Primary_focus_background-color","AEditor_Primary_focus_border","AEditor_ReadOnly_background-color","AEditor_ReadOnly_border","AEditor_ReadOnly_hover_border","AEditor_ReadOnly_focus_border","AEditor_ReadOnly_color","AEditor_Error_background-color","AEditor_Error_border","AEditor_Error_color","AEditor_Error_placeholder_color","AEditor_Addon_Primary_background-color","AEditor_Addon_Primary_border","AEditor_Addon_Primary_color","AEditor_Addon_Secondary_background-color","AEditor_Addon_Secondary_border","AEditor_Addon_Secondary_color","AEditor_Addon_hover_background-color","AEditor_Addon_hover_color","AEditor_Addon_focus_border","AEditor_border-radius","AEditor_Select_border-radius","AEditor_Option_border-radius"],qx=["ACheckBox_color"],Wx=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],Ux=["ASelect_Placeholder_color","ASelect_Primary_border","ASelect_Primary_hover_border","ASelect_Primary_Arrow_color","ASelect_Primary_Options_background-color","ASelect_Primary_Options_border","ASelect_Primary_Option_hover_background-color","ASelect_Primary_Option_active_background-color","ASelect_Primary_Option_Selected_background-color","ASelect_Secondary_border","ASelect_Secondary_hover_border","ASelect_Secondary_background-color","ASelect_Secondary_Arrow_color","ASelect_Secondary_Options_background-color","ASelect_Secondary_Options_border","ASelect_Secondary_Option_hover_background-color","ASelect_Secondary_Option_active_background-color","ASelect_Secondary_Option_Selected_background-color"],Vx=["AMultiSelect_Placeholder_color","AMultiSelect_Primary_border","AMultiSelect_Primary_hover_border","AMultiSelect_Primary_Arrow_color","AMultiSelect_Primary_Options_background-color","AMultiSelect_Primary_Options_border","AMultiSelect_Primary_Option_hover_background-color","AMultiSelect_Primary_Option_active_background-color","AMultiSelect_Primary_Option_Selected_background-color","AMultiSelect_Secondary_border","AMultiSelect_Secondary_hover_border","AMultiSelect_Secondary_background-color","AMultiSelect_Secondary_Arrow_color","AMultiSelect_Secondary_Options_background-color","AMultiSelect_Secondary_Options_border","AMultiSelect_Secondary_Option_hover_background-color","AMultiSelect_Secondary_Option_active_background-color","AMultiSelect_Secondary_Option_Selected_background-color"],Gx=["ATree_background-color","ATree_Indent_border","ATreeBodyHeader_border-bottom","ATreeItem_hover_background-color","ATreeItem_active_background-color","ATreeItem_select_background-color","ATreeItem_search_background-color","ATreeItem_search_border-top","ATreeItem_search_border-bottom","ATreeItem_select_color"],Zx=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],Yx=["ATab_IndicatorTrack_Primary_border-bottom","ATab_Indicator_Primary_background-color","ATab_Option_Secondary_border","ATab_Option_Secondary_IsSelected_border-bottom","ATab_Option_Secondary_IsDisabled_border","ATab_IndicatorTrack_Tertiary_background-color","ATab_Indicator_Tertiary_background-color","ATab_Option_Tertiary_color","ATab_Option_Tertiary_IsSelected_color","ATab_Option_Quaternary_color","ATab_Option_Quaternary_IsSelected_color"],Kx=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],Xx=["AListView_border-thin","AListView_border-thick"],Jx=["AStepper_OutCircle_background-color","AStepper_OutCircle_IsOver_background-color","AStepper_InCircle_background-color","AStepper_InCircle_IsOver_background-color","AStepper_Line_background-color","AStepper_Line_IsOver_background-color"],Qx=["ADatePicker_Anchor_border","ADatePicker_Anchor_color","ADatePicker_Anchor_Placeholder_color","ADatePicker_Anchor_hover_border","ADatePicker_Anchor_focus_border","ADatePicker_Anchor_Icon_Primary_color","ADatePicker_Anchor_Icon_Secondary_color","ADatePicker_background-color","ADatePicker_border","ADatePicker_StringInputContainer_background-color","ADatePicker_String_border","ADatePicker_Prev_background-color","ADatePicker_Prev_border-right","ADatePicker_Next_background-color","ADatePicker_Next_border-left","ADatePicker_Cell_color","ADatePicker_Cell_IsNotCurrentMonth_color","ADatePicker_Cell_IsDisabled_color","ADatePicker_Cell_IsSelected_background-color","ADatePicker_Cell_IsSelected_color","ADatePicker_Cell_IsHovered_background-color"],ew=["ADateRangePicker_Anchor_border","ADateRangePicker_Anchor_color","ADateRangePicker_Anchor_Placeholder_color","ADateRangePicker_Anchor_hover_border","ADateRangePicker_Anchor_focus_border","ADateRangePicker_Anchor_Icon_Primary_color","ADateRangePicker_Anchor_Icon_Secondary_color","ADateRangePicker_background-color","ADateRangePicker_border","ADateRangePicker_StringInputContainer_background-color","ADateRangePicker_String_border","ADateRangePicker_Prev_background-color","ADateRangePicker_Prev_border-right","ADateRangePicker_Next_background-color","ADateRangePicker_Next_border-left","ADateRangePicker_Cell_color","ADateRangePicker_Cell_IsNotCurrentMonth_color","ADateRangePicker_Cell_IsDisabled_color","ADateRangePicker_Cell_IsSelected_background-color","ADateRangePicker_Cell_IsSelected_color","ADateRangePicker_Cell_IsHovered_background-color"],tw=["AIconButton_Primary_color","AIconButton_Primary_border","AIconButton_Primary_background-color","AIconButton_Primary_hover_background-color","AIconButton_Primary_active_background-color","AIconButton_Secondary_color","AIconButton_Secondary_background-color","AIconButton_Secondary_hover_background-color","AIconButton_Secondary_active_background-color"],rw=["ATableBody_TRow_border-bottom","ATableBody_TRow_IsSelected_background-color","ATableBody_TRow_IsSelectable_hover_background-color","ATableBody_TH_color","ATableBody_TD_IsMarked_background-color","ATableBody_TD_IsMarked_color","ATableBody_Resizer_hover_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerOut_background-color","ATableBody_Resizer_active_ResizerIn_background-color","ATableFooter_Button_IsSelected_background-color","ATableFooter_Button_IsSelected_color","ATableFooter_Button_IsDisabled_color","ATableFilter_SubFilters_background-color","ATableFilter_SubFilters_border","ATableFilter_Icon_color","ATableFilter_Alert_color"],nw=["ADivideFrame_DividerInner_background-color"],ow=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],iw=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],sw=["AWrap_Error_color"],aw=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],lw=["AChip_background-color","AChip_color","AChip_border","AChip_hover_background-color","AChip_hover_color","AChip_DeleteButton_border","AChip_DeleteButton_color","AChip_DeleteButton_hover_border","AChip_DeleteButton_hover_color"],sT=[...Px,...Bx,...jx,...Fx,...zx,...$x,...Hx,...qx,...Wx,...Ux,...Vx,...Gx,...Zx,...Yx,...Kx,...Xx,...Jx,...Qx,...ew,...tw,...rw,...nw,...ow,...iw,...sw,...aw,...lw],Vp={"Body-background-color":"var(--background-normal)","Body-color":"var(--label-normal)","Body-transition":"background-color var(--Transition), color var(--Transition)",Font:"400 16px pretendard","Scrollbar-handle":"var(--label-neutral)","Scrollbar-handle-hover":"var(--label-normal)","Scrollbar-handle-active":"var(--label-strong)","Scrollbar-track":"var(--elevation-10)","Scrollbar-border-radius":"6px","Scrollbar-width":"12px",Transition:"300ms","Transition-Enabled":"1","ABase_Dimming_background-color":"var(--elevation-0)","ATooltip_background-color":"var(--inverse-elevation-0)",ATooltip_color:"var(--inverse-label-strong)",AButton_Primary_border:"none","AButton_Primary_background-color":"var(--acent-brand)",AButton_Primary_color:"var(--static-white)",AButton_Secondary_border:"1px solid var(--elevation-10)","AButton_Secondary_background-color":"var(--elevation-10)",AButton_Secondary_color:"var(--label-normal)",AButton_Alter_border:"1px solid var(--line-normal)","AButton_Alter_background-color":"var(--elevation-0)",AButton_Alter_color:"var(--label-normal)","AInput_Primary_background-color":"var(--elevation-0)",AInput_Primary_border:"1px solid var(--line-normal)",AInput_Primary_color:"var(--label-normal)",AInput_Primary_hover_border:"1px solid var(--line-strong)","AInput_Primary_focus_background-color":"var(--elevation-10)",AInput_Primary_focus_border:"1px solid var(--line-strong)",AInput_Primary_placeholder_color:"var(--label-neutral)","AInput_Secondary_background-color":"var(--elevation-0)",AInput_Secondary_border:"1px solid var(--line-normal)",AInput_Secondary_color:"var(--label-normal)",AInput_Secondary_hover_border:"1px solid var(--line-strong)",AInput_Secondary_focus_border:"1px solid var(--line-strong)",AInput_Secondary_placeholder_color:"var(--label-neutral)","AInput_ReadOnly_background-color":"var(--elevation-10)",AInput_ReadOnly_border:"none",AInput_ReadOnly_color:"var(--label-normal)",AInput_Error_HelperText_color:"var(--alert-danger)","AInput_Error_background-color":"inherit",AInput_Error_border:"1px solid var(--line-normal)",AInput_Error_color:"var(--label-normal)",AInput_Error_placeholder_color:"var(--label-neutral)","ATextArea_Primary_background-color":"var(--elevation-0)",ATextArea_Primary_border:"1px solid var(--line-normal)",ATextArea_Primary_color:"var(--label-normal)",ATextArea_Primary_hover_border:"1px solid var(--line-strong)","ATextArea_Primary_focus_background-color":"var(--elevation-10)",ATextArea_Primary_focus_border:"1px solid var(--line-strong)","ATextArea_Secondary_background-color":"var(--elevation-0)",ATextArea_Secondary_border:"1px solid var(--line-normal)",ATextArea_Secondary_color:"var(--label-normal)",ATextArea_Secondary_hover_border:"1px solid var(--line-strong)",ATextArea_Secondary_focus_border:"1px solid var(--line-strong)","ATextArea_ReadOnly_background-color":"var(--elevation-10)",ATextArea_ReadOnly_border:"none",ATextArea_ReadOnly_color:"var(--label-normal)","ATextArea_Error_background-color":"inherit",ATextArea_Error_border:"1px solid var(--line-normal)",ATextArea_Error_color:"var(--label-normal)",ATextArea_Error_placeholder_color:"var(--label-neutral)","AEditor_Primary_background-color":"var(--elevation-0)",AEditor_Primary_border:"1px solid var(--line-normal)",AEditor_Primary_color:"var(--label-normal)",AEditor_Primary_hover_border:"1px solid var(--line-strong)","AEditor_Primary_focus_background-color":"var(--elevation-0)",AEditor_Primary_focus_border:"1px solid var(--line-strong)","AEditor_ReadOnly_background-color":"var(--elevation-0)",AEditor_ReadOnly_border:"1px solid var(--line-normal)",AEditor_ReadOnly_hover_border:"1px solid var(--line-strong)",AEditor_ReadOnly_focus_border:"1px solid var(--line-strong)",AEditor_ReadOnly_color:"var(--label-normal)","AEditor_Error_background-color":"inherit",AEditor_Error_border:"1px solid var(--alert-danger)",AEditor_Error_color:"var(--alert-danger)",AEditor_Error_placeholder_color:"var(--alert-danger)","AEditor_Addon_Primary_background-color":"var(--background-normal)",AEditor_Addon_Primary_border:"1px solid var(--line-normal)",AEditor_Addon_Primary_color:"var(--label-normal)","AEditor_Addon_Secondary_background-color":"var(--background-normal)",AEditor_Addon_Secondary_border:"1px solid var(--line-strong)",AEditor_Addon_Secondary_color:"var(--label-neutral)","AEditor_Addon_hover_background-color":"var(--elevation-10)",AEditor_Addon_hover_color:"var(--acent-brand)",AEditor_Addon_focus_border:"1px solid var(--line-strong)","AEditor_border-radius":"2px","AEditor_Select_border-radius":"6px","AEditor_Option_border-radius":"6px",ACheckBox_color:"var(--label-normal)","ADialog_Paper_background-color":"#00000060","ADialog_background-color":"var(--elevation-0)",ADialog_border:"1px solid var(--line-neutral)","ADialog_Action_background-color":"var(--elevation-0)",ASelect_Placeholder_color:"var(--label-neutral)",ASelect_Primary_border:"1px solid var(--line-normal)",ASelect_Primary_hover_border:"1px solid var(--line-strong)",ASelect_Primary_Arrow_color:"var(--label-normal)","ASelect_Primary_Options_background-color":"var(--elevation-0)",ASelect_Primary_Options_border:"1px solid var(--line-normal)","ASelect_Primary_Option_hover_background-color":"var(--elevation-10)","ASelect_Primary_Option_active_background-color":"var(--elevation-10)","ASelect_Primary_Option_Selected_background-color":"var(--elevation-20)",ASelect_Secondary_border:"1px solid var(--elevation-10)",ASelect_Secondary_hover_border:"1px solid var(--elevation-10)","ASelect_Secondary_background-color":"var(--elevation-10)",ASelect_Secondary_Arrow_color:"var(--label-normal)","ASelect_Secondary_Options_background-color":"var(--elevation-0)",ASelect_Secondary_Options_border:"var(--line-normal)","ASelect_Secondary_Option_hover_background-color":"var(--elevation-10)","ASelect_Secondary_Option_active_background-color":"var(--elevation-10)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Placeholder_color:"var(--label-neutral)",AMultiSelect_Primary_border:"1px solid var(--line-normal)",AMultiSelect_Primary_hover_border:"1px solid var(--line-strong)",AMultiSelect_Primary_Arrow_color:"var(--label-normal)","AMultiSelect_Primary_Options_background-color":"var(--elevation-0)",AMultiSelect_Primary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Primary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Secondary_border:"1px solid var(--elevation-10)",AMultiSelect_Secondary_hover_border:"1px solid var(--elevation-10)","AMultiSelect_Secondary_background-color":"var(--elevation-10)",AMultiSelect_Secondary_Arrow_color:"var(--label-normal)","AMultiSelect_Secondary_Options_background-color":"var(--elevation-0)",AMultiSelect_Secondary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Secondary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_Selected_background-color":"var(--elevation-20)","ATree_background-color":"var(--elevation-0)",ATree_Indent_border:"1px solid var(--line-normal)","ATreeBodyHeader_border-bottom":"1px solid var(--line-normal)","ATreeItem_hover_background-color":"var(--elevation-10)","ATreeItem_active_background-color":"var(--elevation-10)","ATreeItem_select_background-color":"var(--elevation-10)","ATreeItem_search_background-color":"yellow","ATreeItem_search_border-top":"1px dashed var(--label-normal)","ATreeItem_search_border-bottom":"1px dashed var(--label-normal)",ATreeItem_select_color:"var(--label-normal)",ASwitch_Track_Falsy_border:"12px solid var(--elevation-20)",ASwitch_Track_Truthy_border:"12px solid var(--acent-brand)",ASwitch_Thumb_border:"9px solid var(--static-white)","ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--line-normal)","ATab_Indicator_Primary_background-color":"var(--label-normal)",ATab_Option_Secondary_border:"2px solid var(--label-normal)","ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--elevation-0)",ATab_Option_Secondary_IsDisabled_border:"2px solid var(--line-neutral)","ATab_IndicatorTrack_Tertiary_background-color":"var(--line-normal)","ATab_Indicator_Tertiary_background-color":"var(--elevation-0)",ATab_Option_Tertiary_color:"var(--line-strong)",ATab_Option_Tertiary_IsSelected_color:"var(--label-strong)",ATab_Option_Quaternary_color:"var(--label-neutral)",ATab_Option_Quaternary_IsSelected_color:"var(--label-normal)",AFileBox_border:"1px dashed var(--label-normal)","AFileBox_background-color":"var(--elevation-10)",AFileBox_SelectedFile_color:"var(--label-normal)",AFileBox_Dropping_color:"var(--label-normal)","AListView_border-thin":"1px solid var(--line-neutral)","AListView_border-thick":"3px solid var(--line-neutral)","AStepper_OutCircle_background-color":"transparent","AStepper_OutCircle_IsOver_background-color":"var(--elevation-10)","AStepper_InCircle_background-color":"var(--elevation-20)","AStepper_InCircle_IsOver_background-color":"var(--label-normal)","AStepper_Line_background-color":"var(--line-neutral)","AStepper_Line_IsOver_background-color":"var(--label-normal)",ADatePicker_Anchor_border:"1px solid var(--line-normal)",ADatePicker_Anchor_color:"var(--label-normal)",ADatePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADatePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADatePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADatePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADatePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADatePicker_background-color":"var(--elevation-0)",ADatePicker_border:"1px solid var(--line-neutral)","ADatePicker_StringInputContainer_background-color":"var(--label-neutral)",ADatePicker_String_border:"1px solid var(--label-normal)","ADatePicker_Prev_background-color":"var(--elevation-10)","ADatePicker_Prev_border-right":"6px solid var(--label-normal)","ADatePicker_Next_background-color":"var(--elevation-10)","ADatePicker_Next_border-left":"6px solid var(--label-normal)",ADatePicker_Cell_color:"var(--label-normal)",ADatePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADatePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADatePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADatePicker_Cell_IsSelected_color:"var(--label-normal)","ADatePicker_Cell_IsHovered_background-color":"var(--elevation-10)",ADateRangePicker_Anchor_border:"1px solid var(--line-normal)",ADateRangePicker_Anchor_color:"var(--label-normal)",ADateRangePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADateRangePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADateRangePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADateRangePicker_background-color":"var(--elevation-0)",ADateRangePicker_border:"1px solid var(--line-neutral)","ADateRangePicker_StringInputContainer_background-color":"var(--label-neutral)",ADateRangePicker_String_border:"1px solid var(--label-normal)","ADateRangePicker_Prev_background-color":"var(--elevation-10)","ADateRangePicker_Prev_border-right":"6px solid var(--label-normal)","ADateRangePicker_Next_background-color":"var(--elevation-10)","ADateRangePicker_Next_border-left":"6px solid var(--label-normal)",ADateRangePicker_Cell_color:"var(--label-normal)",ADateRangePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADateRangePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADateRangePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADateRangePicker_Cell_IsSelected_color:"var(--label-normal)","ADateRangePicker_Cell_IsHovered_background-color":"var(--elevation-10)",AIconButton_Primary_color:"var(--label-normal)",AIconButton_Primary_border:"1px solid var(--line-normal)","AIconButton_Primary_background-color":"var(--elevation-0)","AIconButton_Primary_hover_background-color":"var(--elevation-10)","AIconButton_Primary_active_background-color":"var(--elevation-20)",AIconButton_Secondary_color:"var(--label-normal)","AIconButton_Secondary_background-color":"var(--elevation-0)","AIconButton_Secondary_hover_background-color":"var(--elevation-10)","AIconButton_Secondary_active_background-color":"var(--elevation-20)","ATableBody_TRow_border-bottom":"1px solid var(--line-normal)","ATableBody_TRow_IsSelected_background-color":"var(--elevation-10)","ATableBody_TRow_IsSelectable_hover_background-color":"var(--elevation-10)",ATableBody_TH_color:"var(--label-neutral)","ATableBody_TD_IsMarked_background-color":"yellow",ATableBody_TD_IsMarked_color:"var(--label-normal)","ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerOut_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerIn_background-color":"var(--line-neutral)","ATableFooter_Button_IsSelected_background-color":"var(--elevation-10)",ATableFooter_Button_IsSelected_color:"var(--label-normal)",ATableFooter_Button_IsDisabled_color:"var(--label-neutral)","ATableFilter_SubFilters_background-color":"var(--elevation-0)",ATableFilter_SubFilters_border:"1px solid var(--line-normal)",ATableFilter_Icon_color:"var(--label-normal)",ATableFilter_Alert_color:"var(--alert-danger)","ADivideFrame_DividerInner_background-color":"var(--line-normal)","AFloatMenu_background-color":"var(--elevation-0)","AFloatMenu_hover_background-color":"var(--elevation-10)",AFloatMenu_color:"var(--label-normal)",AFloatMenu_border:"1px solid var(--line-neutral)","ALoadingBorder_background-color":"var(--label-normal)","ALoadingBorder_ProgressBar_background-color":"var(--elevation-0)","ALoadingBorder_Cover_background-color":"var(--label-normal)",AWrap_Error_color:"var(--alert-danger)",ARadioSelect_RadioButton_border:"1px solid var(--line-normal)","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color":"var(--acent-brand)","AChip_background-color":"var(--elevation-10)",AChip_color:"var(--label-normal)",AChip_border:"1px solid var(--line-normal)","AChip_hover_background-color":"var(--elevation-20)",AChip_hover_color:"var(--label-normal)",AChip_DeleteButton_border:"9px solid var(--line-normal)",AChip_DeleteButton_color:"var(--label-normal)",AChip_DeleteButton_hover_border:"9px solid var(--line-strong)",AChip_DeleteButton_hover_color:"var(--label-normal)"};function aT(r){return Vp[r]}function lT(r){return Gp(r)}function cw(r){or.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),Vp[t]=n)})}function cT(r){or.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const o=Do.semantic[uo.semanticMode][n];o!==void 0&&(document.documentElement.style.setProperty(t,o),Vp[t]=o)})}const uo={paletteMode:Up[0],semanticMode:Zd[0],save:"",followDeviceSetting:!1};function uT({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(uo.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),o=a=>{uo.semanticMode=a.matches?"dark":"light"};o(n);const i=a=>o(a);n.addEventListener("change",i)}if(e!==void 0){if(uo.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Zd.includes(n)&&(uo.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Zd.includes(n)&&(uo.semanticMode=n)}}r!==void 0&&(uo.semanticMode=r),Lx(uo.paletteMode),j1(uo.semanticMode),Dx(Do.palette[uo.paletteMode]),Nx(Do.semantic[uo.semanticMode]),cw(Vp)}function dT(r){r.type==="semanticModeChange"?xp.push(r.listener):r.type==="paletteModeChange"?bp.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function fT(r){if(r.type==="semanticModeChange"){const e=xp.indexOf(r.listener);e!==-1&&xp.splice(e,1)}else if(r.type==="paletteModeChange"){const e=bp.indexOf(r.listener);e!==-1&&bp.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function Gp(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function hT(r){Object.assign(Ze.additionalClasses,r),Ze.updateKeys(),Ze.additionalClasses=Ze.additionalClasses}const $f={getCurrentPaletteMode:eT,getPaletteValue:tT,getPaletteDeepValue:rT,changePaletteMode:Lx,editPalette:Dx,getCurrentSemanticMode:nT,getSemanticValue:oT,getSemanticDeepValue:iT,changeSemanticMode:j1,editSemantic:Nx,getComponentStyleValue:aT,getComponentStyleDeepValue:lT,editComponentStyle:cw,editComponentStyleWithSemantic:cT,init:uT,addEventListener:dT,removeEventListener:fT,getDeepValue:Gp,addClasses:hT},pT=r=>{const{onChange:e,onClick:t,type:n="Icon",...o}=r,[i,a]=C.useState($f.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),c=C.useCallback(d=>{const h=$f.getCurrentSemanticMode();let p="light";h==="light"?p="dark":h==="dark"&&(p="light"),$f.changeSemanticMode(p),a(gT[p]),e==null||e(p),t==null||t(d)},[e,t]);if(n==="Icon")return S.jsx(So,{...o,className:Ze.clsx(eh.AThemeButton,o.className,"IsInteractive"),icon:i,type:"Raw",onClick:c});if(n==="Switch")return S.jsx(Ix,{...o,useCheck:[$f.getCurrentSemanticMode()==="dark",c]})},gT={light:"Sun",dark:"Moon"},mT="_ACheckBoxWrap_1ozuz_1",vT="_ACheckBox_1ozuz_1",D0={ACheckBoxWrap:mT,ACheckBox:vT},Yd=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:o,onClick:i,...a}=r,[c,d]=gn(e,!1),h=C.useCallback(p=>{n||o||(d==null||d(!c),i==null||i(p))},[n,o,i,c,d]);return S.jsx(Zr,{...a,className:Ze.clsx(a.className,D0.ACheckBoxWrap),isDisabled:n,isLoading:o,onClick:h,children:S.jsx(ln,{className:D0.ACheckBox,icon:t?"Check.Indeterminate":c?"Check.Checked":"Check.UnChecked"})})};function yT(r){return typeof r=="function"}function bT(r,e){return yT(r)?r(e):r}const Or={getContent:bT};class O0{constructor(e){ce(this,"capacity");ce(this,"cache",new Map);this.capacity=e}get(e){if(!this.cache.has(e))return;const t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}put(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.capacity){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(e,t)}delete(e){return this.cache.delete(e)}clear(){this.cache.clear()}entries(){return Array.from(this.cache.entries())}}const Ru=class Ru{constructor(){ce(this,"databases",{});ce(this,"caches",{});ce(this,"DEFAULT_CACHE_SIZE",100)}static getInstance(){return Ru.instance||(Ru.instance=new Ru),Ru.instance}getCache(e,t){const n=`${e}_${t}`;return this.caches[n]||(this.caches[n]=new O0(this.DEFAULT_CACHE_SIZE)),this.caches[n]}async getDB(e,t,n=1){return this.databases[e]?this.databases[e]:new Promise((o,i)=>{if(!window.indexedDB){console.error("이 브라우저는 IndexedDB를 지원하지 않습니다."),i(new Error("IndexedDB not supported"));return}const a=window.indexedDB.open(e,n);a.onerror=c=>{console.error("IndexedDB 연결 오류:",c.target.error),i(c.target.error)},a.onsuccess=c=>{const d=c.target.result;this.databases[e]=d,o(d)},a.onupgradeneeded=c=>{const d=c.target.result;d.objectStoreNames.contains(t)||d.createObjectStore(t,{keyPath:"id"}).createIndex("updatedAt_idx","updatedAt",{unique:!1})}})}async save(e,t,n){this.getCache(e,t).put(n.id,{...n});const c=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const p=c.put(n);p.onsuccess=()=>d(),p.onerror=m=>{console.error("데이터 저장 오류:",m.target.error),h(m.target.error)}})}async batchSave(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.put(d.id,{...d}));const a=(await this.getDB(e,t)).transaction([t],"readwrite"),c=a.objectStore(t);return new Promise((d,h)=>{a.oncomplete=()=>d(),a.onerror=p=>{console.error("배치 저장 오류:",p.target.error),h(p.target.error)},n.forEach(p=>c.put(p))})}async get(e,t,n){const o=this.getCache(e,t),i=o.get(n);if(i)return i;const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((h,p)=>{const m=d.get(n);m.onsuccess=()=>{const g=m.result;g&&o.put(n,g),h(g||null)},m.onerror=g=>{console.error("데이터 조회 오류:",g.target.error),p(g.target.error)}})}async getByIndex(e,t,n,o){const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t).index(n);return new Promise((h,p)=>{const m=d.getAll(o);m.onsuccess=()=>{const g=m.result,v=this.getCache(e,t);g.forEach(w=>{w&&w.id&&v.put(w.id,w)}),h(g)},m.onerror=g=>{console.error("인덱스 조회 오류:",g.target.error),p(g.target.error)}})}async delete(e,t,n){this.getCache(e,t).delete(n);const c=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const p=c.delete(n);p.onsuccess=()=>d(),p.onerror=m=>{console.error("데이터 삭제 오류:",m.target.error),h(m.target.error)}})}async batchDelete(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.delete(d));const a=(await this.getDB(e,t)).transaction([t],"readwrite"),c=a.objectStore(t);return new Promise((d,h)=>{a.oncomplete=()=>d(),a.onerror=p=>{console.error("배치 삭제 오류:",p.target.error),h(p.target.error)},n.forEach(p=>c.delete(p))})}async getAll(e,t){const i=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((a,c)=>{const d=i.getAll();d.onsuccess=()=>{const h=d.result,p={},m=this.getCache(e,t);h.forEach(g=>{g.id&&(p[g.id]=g,m.put(g.id,g))}),a(p)},d.onerror=h=>{console.error("데이터 전체 조회 오류:",h.target.error),c(h.target.error)}})}async clear(e,t){this.getCache(e,t).clear();const a=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((c,d)=>{const h=a.clear();h.onsuccess=()=>c(),h.onerror=p=>{console.error("데이터 초기화 오류:",p.target.error),d(p.target.error)}})}getCached(e,t,n){return this.getCache(e,t).get(n)||null}clearCached(e,t){this.getCache(e,t).clear()}setCacheSize(e,t,n){const o=`${e}_${t}`,a=this.getCache(e,t).entries();this.caches[o]=new O0(n);for(const[c,d]of a)this.caches[o].get(c)===void 0&&c!==void 0&&this.caches[o].put(c,d)}};ce(Ru,"instance");let e1=Ru;const Js=e1.getInstance(),ta={save:(r,e,t)=>Js.save(r,e,t),get:(r,e,t)=>Js.get(r,e,t),delete:(r,e,t)=>Js.delete(r,e,t),getAll:(r,e)=>Js.getAll(r,e),clear:(r,e)=>Js.clear(r,e),batchSave:(r,e,t)=>Js.batchSave(r,e,t),batchDelete:(r,e,t)=>Js.batchDelete(r,e,t),getByIndex:(r,e,t,n)=>Js.getByIndex(r,e,t,n),getCached:(r,e,t)=>Js.getCached(r,e,t),clearCached:(r,e)=>Js.clearCached(r,e),setCacheSize:(r,e,t)=>Js.setCacheSize(r,e,t)};function uw(r,e,t={}){const{dataFieldName:n="data"}=t,[o,i]=C.useState(!1),[a,c]=C.useState(null),d=C.useRef(new Map);C.useEffect(()=>{const F=d.current;return()=>{F.forEach(G=>G.abort()),F.clear()}},[]);const h=C.useCallback(F=>{const G=d.current,pe=G.get(F);pe&&pe.abort();const B=new AbortController;return G.set(F,B),B},[]),p=C.useCallback(F=>{d.current.delete(F)},[]),m=C.useCallback(async(F,G)=>{try{i(!0),c(null),h(F);const pe=await G();return p(F),pe}catch(pe){return pe instanceof Error&&pe.name==="AbortError"||c(pe instanceof Error?pe:new Error(String(pe))),null}finally{i(!1)}},[h,p]),g=C.useCallback(async(F,G)=>F?await m(`save_${F}`,async()=>(await ta.save(r,e,{id:F,[n]:G,updatedAt:new Date().toISOString()}),!0))===!0:!1,[r,e,n,m]),v=C.useCallback(async F=>F.length?await m(`batch_save_${Date.now()}`,async()=>{const G=F.map(pe=>({id:pe.id,[n]:pe.data,updatedAt:new Date().toISOString()}));return await ta.batchSave(r,e,G),!0})===!0:!1,[r,e,n,m]),w=C.useCallback(async F=>F?await m(`get_${F}`,async()=>{const G=await ta.get(r,e,F);return(G==null?void 0:G[n])||null}):null,[r,e,n,m]),E=C.useCallback(F=>{if(!F)return null;const G=ta.getCached(r,e,F);return(G==null?void 0:G[n])||null},[r,e,n]),_=C.useCallback(async F=>F?await m(`delete_${F}`,async()=>(await ta.delete(r,e,F),!0))===!0:!1,[r,e,m]),A=C.useCallback(async F=>F.length?await m(`batch_delete_${Date.now()}`,async()=>(await ta.batchDelete(r,e,F),!0))===!0:!1,[r,e,m]),k=C.useCallback(async()=>await m(`get_all_${Date.now()}`,async()=>{const F=await ta.getAll(r,e);return Object.entries(F).reduce((G,[pe,B])=>(G[pe]=B[n],G),{})})||{},[r,e,n,m]),D=C.useCallback(async()=>await m(`clear_all_${Date.now()}`,async()=>(await ta.clear(r,e),!0))===!0,[r,e,m]),I=C.useCallback(F=>{const G=d.current.get(F);G&&(G.abort(),d.current.delete(F))},[]),P=C.useCallback(()=>{new Map(d.current).forEach(G=>G.abort()),d.current.clear()},[]),j=C.useCallback(F=>{ta.setCacheSize(r,e,F)},[r,e]),W=C.useCallback(()=>{ta.clearCached(r,e)},[r,e]);return{save:g,get:w,delete:_,getAll:k,clearAll:D,batchSave:v,batchDelete:A,getCached:E,setCacheSize:j,clearCache:W,cancelOperation:I,cancelAllOperations:P,isLoading:o,error:a}}const xT="LayoutDB",wT="layouts";function dw(){const r=uw(xT,wT,{dataFieldName:"lengths"}),[e,t]=C.useState({}),n=C.useRef({}),o=async(p,m)=>await r.save(p,m),i=async p=>await r.get(p),a=p=>r.getCached(p),c=p=>{const m=a(p);return m?{data:m,isLoaded:!0}:n.current[p]!==void 0?{data:n.current[p],isLoaded:!!e[p]}:(e[p]||(n.current[p]=null,i(p).then(g=>{n.current[p]=g,t(v=>({...v,[p]:!0}))})),{data:null,isLoaded:!1})},d=async p=>(t(m=>{const g={...m};return delete g[p],g}),n.current[p]!==void 0&&delete n.current[p],await r.delete(p)),h=C.useCallback(()=>{t({}),n.current={}},[]);return{save:o,get:i,getCached:a,getSync:c,deleteItem:d,resetSyncState:h,isLoading:r.isLoading,error:r.error}}const CT="_ARowFrame_1vo43_1",ST="_AColFrame_1vo43_7",_T="_AOverflowFrame_1vo43_13",AT="_ADivideFrame_1vo43_22",ET="_Row_1vo43_30",TT="_Col_1vo43_33",kT="_FadeIn_1vo43_36",RT="_NoTransition_1vo43_39",IT="_ChildFrame_1vo43_43",MT="_Divider_1vo43_61",LT="_IsMoving_1vo43_69",DT="_NoDraggable_1vo43_69",OT="_DividerInner_1vo43_72",NT="_IsClicked_1vo43_97",PT="_RemoteButton_1vo43_132",BT="_isExpanded_1vo43_139",co={ARowFrame:CT,AColFrame:ST,AOverflowFrame:_T,ADivideFrame:AT,Row:ET,Col:TT,FadeIn:kT,NoTransition:RT,ChildFrame:IT,Divider:MT,IsMoving:LT,NoDraggable:DT,DividerInner:OT,IsClicked:NT,RemoteButton:PT,isExpanded:BT},Tn=r=>S.jsx(Zr,{...r,className:Ze.clsx(co.ARowFrame,r.className),children:r.children}),fw=r=>S.jsx("div",{...r,className:Ze.clsx(co.AColFrame,r.className),children:r.children}),Ya=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:o,className:i,noOverflowTooltip:a,...c}=r,d=C.useRef(null),h=C.useMemo(()=>n??d,[n]),[p,m]=C.useState(!1),g=C.useCallback(()=>m(!0),[]),v=C.useCallback(()=>m(!1),[]);C.useEffect(()=>{const E=h.current;if(E)return E.addEventListener("mouseenter",g),E.addEventListener("mouseleave",v),()=>{E.removeEventListener("mouseenter",g),E.removeEventListener("mouseleave",v)}},[h,g,v]);const w=C.useMemo(()=>o?"":a||!p||!h.current?e:h.current.scrollWidth>h.current.clientWidth?t:e,[h,o,t,e,a,p]);return S.jsx(Zr,{...c,children:t,abaseRef:h,className:Ze.clsx(co.AOverflowFrame,i),isDisabled:o,tooltip:w})},hw=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:S.jsx(C.Suspense,{children:t[e]})},pw=C.memo(r=>{const{pk:e,direction:t="Row",lefts:n,minLength:o=40,children:i,childStyle:a,childClassName:c,dividerStyle:d,dividerClassName:h,dividerPadding:p,dividerInnerClassName:m,dividerInnerStyle:g,showRemote:v,ShowRemoteRenderer:w=jT,noDividerDraggable:E,resources:_,...A}=r,k=C.useMemo(()=>({...wr.ADivideFrame,..._}),[_]),D=C.useRef(null),I=C.useRef(!1),P=C.useRef(!0),j=C.useRef(n),[W,F]=C.useState(),[G,pe]=C.useState(n),[B,q]=C.useState("FadeOut"),[V,ee]=C.useState(!1),{save:ae,getSync:ne,deleteItem:oe}=dw(),le=C.useCallback(()=>{P.current&&requestAnimationFrame(()=>{P.current=!1,q("FadeIn")})},[]),ge=C.useMemo(()=>{let we;return Array.isArray(i)?we=i:we=[i],we.filter(Boolean)},[i]),te=C.useMemo(()=>e&&!v,[e,v]),ie=C.useCallback(()=>{if(!te){le();return}try{const we=String(e),{data:Se,isLoaded:_e}=ne(we);Se?(pe(Se),_e&&le()):_e?(pe(n),ae(String(e),n),le()):pe(n)}catch{pe(n),le()}},[te,le,e,ne,n,ae]);C.useEffect(()=>{if(te){ie();const we=String(e),Se=()=>{const{isLoaded:_e}=ne(we);_e?le():requestAnimationFrame(Se)};Se()}else le()},[te,ie,le,e,ne]),C.useEffect(()=>{j.current!==n&&(j.current=n,I.current||(pe(n),te&&ae(String(e),n)),I.current=!1)},[te,n,e,ae]);const ue=C.useMemo(()=>{const we=p??0;return typeof o=="number"?Array(ge.length).fill(o+we):o.map(Se=>Se+we)},[o,ge.length,p]),xe=C.useMemo(()=>(W==null?void 0:W.lefts)||G,[W,G]),ke=C.useRef({x:0,y:0}),se=C.useCallback((we,Se,_e)=>{const Re=xe[we],Me=we===0?0:xe[we-1],tt=Re-Me,We={...a,...FT(t,tt,Se)};return p!==void 0&&(t==="Row"?(_e||(We.paddingLeft=p),Se||(We.paddingRight=p)):(_e||(We.paddingTop=p),Se||(We.paddingBottom=p))),We},[xe,a,t,p]),Ae=C.useCallback(()=>{if(!(!v||t!=="Row")){if(V)pe(n),I.current=!1;else{const we=ge.length;if(we<=1)return;const Se=[],_e=[];for(let Me=0;Me<we;Me++)typeof o=="number"?_e.push(o):_e.push(o[Me]||o[0]);let Re=0;for(let Me=0;Me<we-1;Me++)Re+=_e[Me],Se.push(Re);pe(Se),I.current=!0}ee(we=>!we),P.current=!1}},[v,t,V,ge.length,n,o]),De=C.useCallback((we,Se)=>{if(Se)return _e=>{if(!D.current)return;P.current=!1;const Re=D.current;ke.current={x:_e.clientX,y:_e.clientY},F({idx:we,lefts:[...G]});let Me=[...G];const tt=et=>{const st=Re.getBoundingClientRect(),ze=t==="Row"?st.left:st.top,Ke=t==="Row"?st.width:st.height;Me=$T(G,t,we,et,ze,Ke,ue),F({idx:we,lefts:Me})},We=()=>{F(void 0),pe(Me),I.current=!0,te&&ae(String(e),Me),window.removeEventListener("mousemove",tt),window.removeEventListener("mouseup",We)};window.addEventListener("mousemove",tt),window.addEventListener("mouseup",We)}},[G,t,ue,te,e,ae]),Ge=C.useCallback(we=>{if(we)return()=>{pe(n),I.current=!1,F(void 0),te&&oe(String(e))}},[n,te,e,oe]),Ue=C.useMemo(()=>ge.map((we,Se)=>{const _e=v&&(V||!V&&Se===ge.length-2);return!(E||_e)}),[ge,v,V,E]);return S.jsx("div",{...A,ref:D,className:Ze.clsx(co.ADivideFrame,r.className,co[t],co[B],P.current&&co.NoTransition),children:ge.map((we,Se)=>{const _e=Se===0,Re=Se===ge.length-1,Me=se(Se,Re,_e),tt=xe[Se],We=Ue[Se],et=De(Se,We),st=Ge(We);return S.jsxs(C.Fragment,{children:[S.jsxs("div",{style:Me,className:Ze.clsx(co.ChildFrame,c,W&&co.IsMoving,P.current&&co.NoTransition,co[t]),children:[Re&&v&&t==="Row"&&S.jsx(w,{handleToggleExpand:Ae,isExpanded:V,resources:k}),we]}),!Re&&S.jsx("div",{"data-nodraggable":We?void 0:"true",className:Ze.clsx(co.Divider,co[t],"NoSelect",W&&co.IsMoving,(W==null?void 0:W.idx)===Se&&co.IsClicked,P.current&&co.NoTransition,!We&&co.NoDraggable,h),style:{...d,...zT(t,tt)},onDoubleClick:st,onMouseDown:et,children:S.jsx("div",{className:Ze.clsx(co.DividerInner,m),style:{...g}})})]},Se)})})});pw.displayName="ADivideFrame";const jT=r=>{const{handleToggleExpand:e,isExpanded:t,resources:n}=r;return S.jsx(So,{className:Ze.clsx(co.RemoteButton,t&&co.isExpanded),icon:"DividerExpand",iconSize:"md",tabIndex:0,tooltip:t?n.Collapse:n.Expand,type:"Raw",onClick:e})};function FT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function zT(r,e){return r==="Col"?{top:e}:{left:e}}function $T(r,e,t,n,o,i,a){const c=[...r];let d=e==="Row"?n.clientX-o-r[t]:n.clientY-o-r[t];const h=[],p=[];let m=0;for(let v=0;v<=a.length;v++)h[v]=m,v<a.length&&(m+=a[v]);let g=0;for(let v=a.length-2;v>=0;v--)g+=a[v],p[v]=g;if(p[a.length-1]=0,d<0){let v=c[t]+d;if(v<=h[t+1])for(let w=0;w<=t;w++)c[w]=h[w+1];else if(c[t]=v,t>0)for(let w=t-1;w>=0&&v-c[w]<a[w];w--)c[w]=v-a[t],v=c[w]}else if(d>0){let v=c[t]+d;const w=t===a.length-2?a[a.length-1]:0;if(v>=i-p[t]-w)for(let E=t;E<r.length;E++)c[E]=i-p[E]-(E===r.length-1?0:w);else if(c[t]=v,t<r.length-1)for(let E=t+1;E<r.length&&c[E]-v<a[E];E++)c[E]=v+a[E],v=c[E]}return c}const Fu=()=>S.jsx("div",{style:{display:"flex",flexGrow:1}}),HT="_ASpace_1okqf_1",qT={ASpace:HT},kn=r=>{const{h:e,w:t,...n}=r;return S.jsx("div",{...n,className:Ze.clsx(qT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},WT="_AChipsContainer_1ag9v_1",UT="_AChip_1ag9v_1",VT="_Clickable_1ag9v_21",GT="_AChipDelete_1ag9v_26",ZT="_IsHover_1ag9v_40",YT="_AChipDeleteIcon_1ag9v_45",Fd={AChipsContainer:WT,AChip:UT,Clickable:VT,AChipDelete:GT,IsHover:ZT,AChipDeleteIcon:YT},KT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:o,ChipOnDelete:i,ChipOnClick:a,ChipIcon:c,className:d,style:h,ButtonRenderer:p=gw,gap:m=8,...g}=r,[v,w]=gn(e,[]),E=C.useCallback(A=>{!w||!i||(i({label:A}),w(v.filter(k=>k!==A)))},[w,i,v]),_=C.useCallback(A=>{const k={label:A};return{label:A,useLabel:[A,()=>{}],style:Or.getContent(n,k),className:Or.getContent(o,k),icon:Or.getContent(c,k),onDelete:()=>E(A),onClick:a?()=>a({label:A}):void 0}},[o,c,a,n,E]);return S.jsx(Zr,{...g,className:Ze.clsx(Fd.AChipsContainer,d),style:{...h,alignItems:t,gap:m},children:v.map((A,k)=>S.jsx(F1,{..._(A),ButtonRenderer:p},k))})},F1=r=>{const{label:e,useLabel:t,icon:n,className:o,onDelete:i,onClick:a,ButtonRenderer:c=gw,width:d="fit-content",style:h,...p}=r;return e===void 0?S.jsx(S.Fragment,{}):S.jsxs(Zr,{...p,className:Ze.clsx("NoSelect",Fd.AChip,a&&Fd.Clickable,a&&"IsClickable",o),style:{...h,width:d},onClick:a,children:[S.jsx(Ya,{children:e}),c({...r})]})},gw=r=>{const{label:e,icon:t,onDelete:n,useLabel:o}=r,[,i]=gn(o,e),[a,c]=C.useState(!1),d=C.useCallback(m=>{n&&(m.stopPropagation(),i==null||i(void 0),n(r))},[n,r,i]),h=()=>{c(!0)},p=()=>{c(!1)};return S.jsx(S.Fragment,{children:n&&S.jsxs(S.Fragment,{children:[S.jsx(Fu,{}),S.jsx(kn,{w:24}),S.jsx(Zr,{className:Ze.clsx(Fd.AChipDelete,"IsClickable",a&&Fd.IsHover)}),S.jsx(So,{className:Fd.AChipDeleteIcon,icon:t||S.jsx(ln,{height:14,icon:"Close",stroke:"currentColor",width:14}),type:"Raw",onClick:d,onMouseEnter:h,onMouseLeave:p})]})})},Mu=r=>{if(!r)return"0 bytes";const e=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB","RB","QB"];let t=0;for(;r>=1024&&t<e.length-1;)r/=1024,t++;return`${t===0?Math.floor(r):r.toFixed(1)} ${e[t]}`},XT=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),o=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=o.toString().padStart(2,"0"),e},JT=/[a-zA-Z0-9]/,QT=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,e5=/^[a-zA-Z0-9._-]+$/,t5=/^[0-9a-fA-F-]+$/i,r5=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,n5=/^\S*$/,o5=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,i5=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,s5=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,a5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/,l5={hasKr:r=>/[가-힣ㄱ-ㅎㅏ-ㅣ]/.test(r),hasMalKr:r=>/[ㄱ-ㅎㅏ-ㅣ]/.test(r),hasBlank:r=>/\s/.test(r),isBlank:r=>/^\s*$/.test(r),isUuid:r=>/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/.test(r),isEmail:r=>/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/.test(r),isAlphabet:r=>/^[a-zA-Z]*$/.test(r),isAlphaNumeric:r=>/^[a-zA-Z0-9]*$/.test(r),isKr:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ]*$/.test(r),isKrNumeric:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ0-9]*/.test(r),isNumeric:r=>/^[0-9]$/.test(r),isLenMinMax:(r,e)=>t=>!(r!==void 0&&t.length<r||e!==void 0&&t.length>e)},c5=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const e=Math.random()*16|0;return(r=="x"?e:e&3|8).toString(16)}),z1={secondToTime:XT,validate:l5,FileSizeTrans:Mu,uuid:c5},u5=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:o,actionRef:i,wrapProps:a,helperText:c,label:d,...h}=r,[p,m]=C.useState(0),[g,v]=C.useState(!o);C.useEffect(()=>{if(!g||h.isDisabled||h.isLoading)return;const D=setInterval(()=>m(I=>I+1),t);return()=>clearInterval(D)},[t,g,h.isDisabled,h.isLoading]);const w=C.useCallback(()=>{n==null||n(),v(!1)},[n]);C.useEffect(()=>{p>=e&&!h.isDisabled&&!h.isLoading&&w()},[p,e,w,h.isDisabled,h.isLoading]);const E=C.useCallback(()=>{h.isDisabled||v(!0)},[h.isDisabled]),_=C.useCallback(()=>{h.isDisabled||v(!1)},[h.isDisabled]),A=C.useCallback(()=>{h.isDisabled||(v(!1),m(0))},[h.isDisabled]);C.useEffect(()=>{i&&(i.current={start:E,stop:_,reset:A,setTicks:m})},[i,E,_,A]);const k=e-p;return S.jsx(zc,{wrapProps:a,helperText:c,label:d,children:S.jsx(Zr,{...h,children:z1.secondToTime(k>0?k:0)})})};function ua(r){const e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate();return`${e}-${t<10?"0"+t:t}-${n<10?"0"+n:n}`}function d5(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function f5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function h5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function N0(r,e){return ua(r)===ua(e)}function zd(r,e){return ua(r)>ua(e)}function wp(r,e){return ua(r)>=ua(e)}function Cp(r,e){return ua(r)<ua(e)}function Sp(r,e){return ua(r)<=ua(e)}function P0(r,e,t){return zd(r,t)?zd(e,t)&&Cp(e,r):zd(e,r)&&Cp(e,t)}function B0(r,e,t){return zd(r,t)?wp(e,t)&&Sp(e,r):wp(e,r)&&Sp(e,t)}const Zt={toString:ua,toDate:d5,makeSDate:f5,makeEDate:h5,"===":N0,">":zd,">=":wp,"<":Cp,"<=":Sp,"s<d<e|e<d<s":P0,"s<=d<=e|e<=d<=s":B0,eq:N0,g:zd,ge:wp,l:Cp,le:Sp,b:P0,be:B0},p5="_InputContainer_44opg_7",g5="_AInput_44opg_21",m5="_LeftAddon_44opg_43",v5="_RightAddon_44opg_49",y5="_ErrorHelperText_44opg_55",b5="_Primary_44opg_59",x5="_UnAvailable_44opg_64",w5="_Secondary_44opg_75",C5="_ReadOnly_44opg_90",mi={InputContainer:p5,AInput:g5,LeftAddon:m5,RightAddon:v5,ErrorHelperText:y5,Primary:b5,UnAvailable:x5,Secondary:w5,ReadOnly:C5,Error:"_Error_44opg_55"},S5=["Primary","Secondary","ReadOnly","Error"],$c=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:o,useValue:i,isReadonly:a,placeholder:c,minLength:d,maxLength:h,tabIndex:p,autoFocus:m,isPassword:g,autoComplete:v="off",inputProps:w,LeftAddon:E,RightAddon:_,wrapProps:A,helperText:k,label:D,wrapType:I,labelProps:P,dataList:j=[],id:W=(w==null?void 0:w.id)??z1.uuid(),...F}=r,G=C.useMemo(()=>_5(t)?"Error":n,[t,n]),pe=C.useMemo(()=>G==="ReadOnly"?!0:a,[G,a]),B=C.useMemo(()=>F.isDisabled||F.isLoading,[F.isDisabled,F.isLoading]),[q,V]=gn(i,""),ee=C.useCallback(ne=>{var oe;B||((oe=w==null?void 0:w.onKeyDown)==null||oe.call(w,ne),["Escape","Enter","ArrowUp","ArrowDown"].includes(ne.key)||ne.stopPropagation(),ne.key==="Enter"&&e&&e(ne.currentTarget.value))},[B,w,e]),ae=C.useCallback(ne=>{var oe;B||d&&ne.target.value.length<d||(V==null||V(ne.target.value),(oe=w==null?void 0:w.onChange)==null||oe.call(w,ne))},[B,d,V,w]);return g?S.jsx(zc,{wrapProps:A,label:D,helperText:k,errorMessage:t,wrapType:I,labelProps:P,children:S.jsx("form",{onSubmit:ne=>ne.preventDefault(),children:S.jsxs(Zr,{...F,className:Ze.clsx(mi.InputContainer,mi[G],B&&mi.UnAvailable,F.className),children:[E&&S.jsx("div",{className:mi.LeftAddon,children:E}),S.jsx("input",{...w,ref:o,autoComplete:v,autoFocus:m,className:Ze.clsx(mi.AInput,G==="Error"&&mi.InputError,w==null?void 0:w.className),id:W,list:`${W}-datalist`,maxLength:h,placeholder:c,readOnly:pe,tabIndex:F.isDisabled||F.isLoading?-1:p,type:"password",value:q,onChange:ae,onKeyDown:ee}),j.length>0&&S.jsx("datalist",{id:`${W}-datalist`,children:j.map((ne,oe)=>S.jsx("option",{value:ne},oe))}),_&&S.jsx("div",{className:Ze.clsx(mi.RightAddon,"NoSelect"),children:_})]})})}):S.jsx(zc,{wrapProps:A,label:D,helperText:k,errorMessage:t,wrapType:I,labelProps:P,children:S.jsxs(Zr,{...F,className:Ze.clsx(mi.InputContainer,mi[G],B&&mi.UnAvailable,F.className),children:[E&&S.jsx("div",{className:mi.LeftAddon,children:E}),S.jsx("input",{...w,ref:o,autoComplete:v,autoFocus:m,className:Ze.clsx(mi.AInput,G==="Error"&&mi.InputError,w==null?void 0:w.className),id:W,list:`${W}-datalist`,maxLength:h,placeholder:c,readOnly:pe,tabIndex:F.isDisabled||F.isLoading?-1:p,value:q,onChange:ae,onKeyDown:ee}),j.length>0&&S.jsx("datalist",{id:`${W}-datalist`,children:j.map((ne,oe)=>S.jsx("option",{value:ne},oe))}),_&&S.jsx("div",{className:mi.RightAddon,children:_})]})})};function _5(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const A5="_ASelect_vvzf4_1",E5="_Arrow_vvzf4_14",T5="_Primary_vvzf4_23",k5="_UnAvailable_vvzf4_34",R5="_IsOpen_vvzf4_34",I5="_Secondary_vvzf4_41",M5="_Placeholder_vvzf4_57",L5="_ValuesContainer_vvzf4_61",D5="_Values_vvzf4_61",O5="_Options_vvzf4_80",N5="_Option_vvzf4_80",P5="_Selected_vvzf4_122",B5="_CheckBox_vvzf4_129",es={ASelect:A5,Arrow:E5,Primary:T5,UnAvailable:k5,IsOpen:R5,Secondary:I5,Placeholder:M5,ValuesContainer:L5,Values:D5,Options:O5,Option:N5,Selected:P5,CheckBox:B5},j5=["Primary","Secondary"],Hc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=wr.ASelect["Select(Placeholder)"],onClose:i,OptionRenderer:a=z5,SelectedRenderer:c=$5,minShowRows:d=2,maxShowRows:h=6,arrowProps:p,isAutoWidth:m=!1,...g}=r,v=C.useRef(null),w=C.useMemo(()=>g.abaseRef??v,[g.abaseRef]),E=C.useRef(null),[_,A]=gn(t,e[0]),[k,D]=C.useState(void 0),[I,P]=C.useState(!1),[j,W]=C.useState(!1),F=C.useRef(e),G=C.useRef(null),pe=C.useCallback(()=>W(!1),[]),B=C.useCallback(()=>{g.isDisabled||g.isLoading||e.length<1||(W(!0),setTimeout(()=>P(!0),0),setTimeout(()=>Dg(E,w,e,d,h),0))},[w,g.isDisabled,g.isLoading,e,d,h]),q=C.useCallback(()=>{P(!1),W(!0),i==null||i()},[i]),V=C.useCallback(te=>{var ie;I?q():B(),setTimeout(()=>Dg(E,w,e,d,h),0),(ie=g.onClick)==null||ie.call(g,te)},[w,g,e,I,q,B,d,h]),ee=C.useCallback(()=>{Dg(E,w,e,d,h)},[w,e,d,h]);C.useEffect(()=>{if(!I||!w.current)return;const te=w.current;let ie=te.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ue=te.parentElement;for(;ue;)ue.removeEventListener("scroll",ee),ue=ue.parentElement}},[w,I,ee]),C.useEffect(()=>{if(I)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[I,ee]);const ae=C.useCallback(te=>{te[0].intersectionRatio===0&&q()},[q]);C.useEffect(()=>{if(!I)return;const te=new IntersectionObserver(ae,{threshold:0});return w.current&&te.observe(w.current),()=>te.disconnect()},[w,I,ae]);const ne=C.useCallback(te=>{const ie=te.target,ue=w.current,xe=E.current;!ue||!ie||!xe||!ue.contains(ie)&&!xe.contains(ie)&&q()},[w,q]),oe=C.useMemo(()=>g.isDisabled||g.isLoading||e.length<1,[g.isDisabled,g.isLoading,e]);C.useEffect(()=>{if(I)return setTimeout(()=>document.addEventListener("mousedown",ne),0),()=>document.removeEventListener("mousedown",ne)},[I,ne]);const le=C.useCallback((te,ie)=>{te.stopPropagation(),te.preventDefault(),A==null||A(ie),q()},[A,q]),ge=C.useCallback(()=>{if(!m||!w.current)return;const te=Iu.calculateOptimalSelectWidth({elementRef:w,options:e,selectedOption:_,placeholder:o,optionRenderer:ie=>ie===null?null:a({option:ie}),type:n,isMulti:!1});D(te)},[m,w,e,_,o,a,n]);return C.useEffect(()=>m?((e!==F.current||k===void 0)&&(G.current!==null&&cancelAnimationFrame(G.current),G.current=requestAnimationFrame(()=>{ge(),G.current=null,F.current=[...e]})),()=>{G.current!==null&&(cancelAnimationFrame(G.current),G.current=null)}):void 0,[m,e,ge,k]),C.useEffect(()=>()=>{typeof Iu.clearCache=="function"&&Iu.clearCache()},[]),S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...g,abaseRef:w,isDisabled:g.isDisabled||e.length<1,className:Ze.clsx(g.className,es.ASelect,"NoSelect",I&&es.IsOpen,oe&&es.UnAvailable,es[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:k?`${k}px`:m?"100px":void 0,...g.style},onClick:V,children:[S.jsx("div",{className:es.ValuesContainer,children:S.jsx("div",{className:Ze.clsx(es.Values,(_==null||_==="")&&es.Placeholder),children:S.jsx(c,{OptionRenderer:a,placeholder:o,selectedOption:_})})}),S.jsx("div",{...p,className:Ze.clsx(es.Arrow,p==null?void 0:p.className),children:S.jsx(ln,{icon:"TriangleDown",style:{transform:I?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(I||j)&&ks.createPortal(S.jsx("div",{ref:E,className:Ze.clsx(es.Options,es[n]),style:{opacity:+I,visibility:I?"visible":"hidden",pointerEvents:I?void 0:"none",borderRadius:w.current?window.getComputedStyle(w.current).borderRadius:void 0,width:k?`${k}px`:m?"100px":void 0},onTransitionEnd:pe,children:e.map((te,ie)=>{const ue=_===te,xe=w.current?window.getComputedStyle(w.current):void 0;return te===null?null:S.jsx("div",{className:Ze.clsx(es.Option,ue&&es.Selected,"NoSelect",es[n]),style:{height:xe==null?void 0:xe.height},onClick:ke=>le(ke,te),children:S.jsx(a,{option:te})},ie)})}),document.body)]})};function Dg(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const i=e.current.getBoundingClientRect(),a=F5(i,t.length,n,o),c=window.getComputedStyle(e.current);r.current.style.top=`calc(${a.top??0}px - ${c.borderTopWidth})`,r.current.style.bottom=a.bottom?a.bottom+"px":"",r.current.style.left=a.left+"px",r.current.style.width||(r.current.style.minWidth=a.minWidth+"px"),r.current.style.minHeight=a.minHeight+"px",r.current.style.maxHeight=a.maxHeight+"px",r.current.style.visibility="visible"}function F5(r,e,t,n){const o={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const z5=r=>{const{option:e}=r;return or.isReactNode(e)?e:null},$5=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:S.jsx(t,{option:e})},H5="_Anchor_27s50_1",q5="_Primary_27s50_18",W5="_Secondary_27s50_21",U5="_Placeholder_27s50_25",V5="_Icon_27s50_30",G5="_ADatePicker_27s50_37",Z5="_StringInputWrap_27s50_48",Y5="_StringInputContainer_27s50_53",K5="_StringInput_27s50_48",X5="_IsIdx_27s50_68",J5="_CalendarContainer_27s50_72",Q5="_Header_27s50_78",e6="_Prev_27s50_82",t6="_Next_27s50_83",r6="_MonthYear_27s50_116",n6="_Select_27s50_121",o6="_Calendar_27s50_72",i6="_Cell_27s50_131",s6="_IsNotCurrentMonth_27s50_143",a6="_IsSelected_27s50_147",l6="_IsDisabled_27s50_151",c6="_IsHovered_27s50_154",u6="_Week_27s50_158",d6="_WeekDay_27s50_163",hn={Anchor:H5,Primary:q5,Secondary:W5,Placeholder:U5,Icon:V5,ADatePicker:G5,StringInputWrap:Z5,StringInputContainer:Y5,StringInput:K5,String:"_String_27s50_48",IsIdx:X5,CalendarContainer:J5,Header:Q5,Prev:e6,Next:t6,MonthYear:r6,Select:n6,Calendar:o6,Cell:i6,IsNotCurrentMonth:s6,IsSelected:a6,IsDisabled:l6,IsHovered:c6,Week:u6,WeekDay:d6},f6="_Anchor_1x8q1_1",h6="_Primary_1x8q1_18",p6="_Secondary_1x8q1_22",g6="_Placeholder_1x8q1_26",m6="_Icon_1x8q1_31",v6="_ADateRangePicker_1x8q1_38",y6="_StringInputWrap_1x8q1_49",b6="_StringInputContainer_1x8q1_53",x6="_StringInput_1x8q1_49",w6="_IsIdx_1x8q1_69",C6="_CalendarContainer_1x8q1_73",S6="_Header_1x8q1_79",_6="_Prev_1x8q1_83",A6="_Next_1x8q1_84",E6="_MonthYear_1x8q1_117",T6="_Select_1x8q1_122",k6="_Calendar_1x8q1_73",R6="_Cell_1x8q1_132",I6="_IsNotCurrentMonth_1x8q1_144",M6="_IsSelected_1x8q1_148",L6="_IsDisabled_1x8q1_152",D6="_IsHovered_1x8q1_155",O6="_Week_1x8q1_159",N6="_WeekDay_1x8q1_164",P6="_ChoiceButton_1x8q1_168",Wr={Anchor:f6,Primary:h6,Secondary:p6,Placeholder:g6,Icon:m6,ADateRangePicker:v6,StringInputWrap:y6,StringInputContainer:b6,StringInput:x6,String:"_String_1x8q1_49",IsIdx:w6,CalendarContainer:C6,Header:S6,Prev:_6,Next:A6,MonthYear:E6,Select:T6,Calendar:k6,Cell:R6,IsNotCurrentMonth:I6,IsSelected:M6,IsDisabled:L6,IsHovered:D6,Week:O6,WeekDay:N6,ChoiceButton:P6},$1=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:o,position:i=sf.SE,minDate:a,maxDate:c,isDisabled:d,isLoading:h,yearsOptionSize:p,noDefaultChoices:m,LeftAddon:g,RightAddon:v,placeholder:w,noClearButton:E,resources:_,onClick:A,...k}=r,D=C.useMemo(()=>({...wr.ADateRangePicker,..._}),[_]),I=C.useMemo(()=>w??D["Select DateRange"],[w,D]),[P,j]=C.useMemo(()=>{let de,nt;if(a&&(de=Zt.makeSDate(a)),c&&(nt=Zt.makeEDate(c)),de&&nt&&Zt["<"](nt,de)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const qe=de;de=nt,nt=qe}return[de,nt]},[a,c]),[W,F]=C.useState("sD"),[G,pe]=gn(n,void 0),B=C.useCallback(de=>{pe&&(de===void 0?(pe(void 0),_e(""),tt("")):(pe({sDate:Zt.makeSDate(de.sDate),eDate:Zt.makeEDate(de.eDate)}),_e(Zt.toString(de.sDate)),tt(Zt.toString(de.eDate))))},[pe]);C.useEffect(()=>{G&&(_e(Zt.toString(G.sDate)),tt(Zt.toString(G.eDate)))},[G]);const q=C.useCallback(de=>{if(!pe)return;let nt=G?G.sDate:Zt.makeSDate(de);de=Zt.makeEDate(de),pe({sDate:nt,eDate:de}),_e(Zt.toString(nt)),tt(Zt.toString(de))},[pe,G]),[V,ee]=C.useState(),[ae,ne]=C.useState(),oe=C.useCallback(de=>{W==="sD"&&B({sDate:de,eDate:de}),ee(de),ne(de)},[W,B,ee]),le=C.useCallback(de=>{W==="sD"?V&&(Zt.eq(V,de)?F("eD"):Zt[">"](de,V)?(q(de),ee(void 0)):(B({sDate:de,eDate:V}),ee(void 0))):(G?Zt["<"](de,G.sDate)?B({sDate:de,eDate:G.eDate}):q(de):B({sDate:de,eDate:de}),ee(void 0),F("sD"))},[q,V,F,W,B,G,ee]),ge=C.useCallback(de=>{V&&ne(de)},[V]),te=C.useCallback(()=>{ne(void 0),ee(void 0),F("sD")},[F,ee]),[ie,ue]=C.useState(j0(G,P,j)),xe=C.useMemo(()=>H1(ie.year,P,j,p),[ie.year,P,j,p]),ke=C.useMemo(()=>th(ie.year,P,j),[P,j,ie.year]),se=C.useCallback(de=>{if(!xe.includes(de))return;const nt={month:ie.month,year:de},qe=th(nt.year,P,j);qe.length<1||(qe.includes(nt.month)||(nt.month<qe[0]?nt.month=qe[0]:nt.month>qe[qe.length-1]&&(nt.month=qe[qe.length-1])),ue(nt))},[P,j,xe,ie.month]),Ae=C.useCallback(de=>{ke.includes(de)&&ue({month:de,year:ie.year})},[ke,ie.year]),De=C.useMemo(()=>j?new Date(ie.year,ie.month+1,1)>j:!1,[ie,j]),Ge=C.useCallback(()=>{if(De||ke.length<1)return;const de=ie.month+1;de>11?ue({month:ke[0],year:ie.year+1}):ue({month:de,year:ie.year})},[De,ke,ie]),Ue=C.useMemo(()=>P?new Date(ie.year,ie.month,0)<P:!1,[ie,P]),we=C.useCallback(()=>{if(Ue||ke.length<1)return;const de=ie.month-1;de<ke[0]?ue({month:ke[ke.length-1],year:ie.year-1}):ue({month:de,year:ie.year})},[Ue,ke,ie]),[Se,_e]=C.useState(G!=null&&G.sDate?Zt.toString(G.sDate):""),Re=C.useCallback(de=>{if(de.length>10||(_e(de),de.length<10)||!pe)return;let nt=Zt.toDate(de);if(!nt)return;P&&nt<P&&(nt=P),j&&nt>j&&(nt=j);let qe=G?G.eDate:nt;G&&Zt[">"](nt,qe)&&([nt,qe]=F0(nt,qe)),B({sDate:nt,eDate:qe}),ue({month:nt.getMonth(),year:nt.getFullYear()})},[pe,B,G,P,j]),[Me,tt]=C.useState(G!=null&&G.eDate?Zt.toString(G.eDate):""),We=C.useCallback(de=>{if(de.length>10||(tt(de),de.length<10)||!pe)return;let nt=Zt.toDate(de);if(!nt)return;P&&nt<P&&(nt=P),j&&nt>j&&(nt=j);let qe=G?G.sDate:nt;G&&Zt[">"](qe,nt)&&([qe,nt]=F0(qe,nt)),B({sDate:qe,eDate:nt}),ue({month:nt.getMonth(),year:nt.getFullYear()})},[pe,B,G,P,j]),et=C.useCallback(()=>{G&&(_e(Zt.toString(G.sDate)),tt(Zt.toString(G.eDate)))},[G]),st=C.useMemo(()=>{const{month:de,year:nt}=ie,qe=new Date(nt,de,1),pt=new Date(nt,de+1,0),wt=[];for(let jt=0;jt<qe.getDay();jt++){const ir=new Date(nt,de,0).getDate()-qe.getDay()+jt+1,Ft=new Date(nt,de-1,ir),nr=P&&P>Ft||j&&j<Ft,tr=G?Zt.be(G.sDate,Ft,G.eDate):!1,it=ae&&G&&Zt.be(G.sDate,Ft,ae);wt.push({day:ir,isSelected:tr,isHovered:it,date:Ft,isDisabled:nr,isCurrentMonth:!1})}for(let jt=1;jt<=pt.getDate();jt++){const Ot=new Date(nt,de,jt),ir=P&&P>Ot||j&&j<Ot,Ft=G?Zt.be(G.sDate,Ot,G.eDate):!1,nr=ae&&G&&Zt.be(G.sDate,Ot,ae);wt.push({day:jt,isSelected:Ft,isHovered:nr,date:Ot,isDisabled:ir,isCurrentMonth:!0})}for(let jt=0;jt<7-pt.getDay()-1;jt++){const Ot=new Date(nt,de+1,jt+1),ir=P&&P>Ot||j&&j<Ot,Ft=G?Zt.be(G.sDate,Ot,G.eDate):!1,nr=ae&&G&&Zt.be(G.sDate,Ot,ae);wt.push({day:jt+1,isSelected:Ft,isHovered:nr,date:Ot,isDisabled:ir,isCurrentMonth:!1})}const _t=[];for(let jt=0;jt<wt.length/7;jt++)_t.push(S.jsx("div",{className:Wr.Week,children:wt.slice(jt*7,jt*7+7).map((Ot,ir)=>S.jsx(Zo,{isDisabled:Ot.isDisabled,type:"Raw",className:Ze.clsx(Wr.Cell,Ot.isDisabled?Wr.IsDisabled:Ot.isCurrentMonth?Ot.isSelected?Wr.IsSelected:Ot.isHovered&&Wr.IsHovered:Wr.IsNotCurrentMonth),onMouseDown:()=>Ot.isCurrentMonth&&oe(Ot.date),onMouseEnter:()=>Ot.isCurrentMonth&&ge(Ot.date),onMouseUp:()=>Ot.isCurrentMonth&&le(Ot.date),children:Ot.day},ir))},jt));return _t},[ie,ae,G,P,j,oe,le,ge]),ze=C.useRef(null),Ke=C.useCallback(()=>{ze&&B1(ze,Ve,i)},[ze,i]),[bt,ht]=C.useState(!1),[dt,St]=C.useState(!1),Ve=C.useRef(null),rt=C.useCallback(()=>{d||h||(ht(!0),setTimeout(()=>St(!0),0),setTimeout(()=>Ke(),0),ue(j0(G,P,j)))},[d,h,G,Ke,P,j]),vt=C.useCallback(()=>{d||h||(ht(!0),St(!1))},[d,h]),Tt=C.useMemo(()=>dt?vt:rt,[dt,rt,vt]),xt=C.useCallback(()=>ht(!1),[]),Mt=C.useCallback(de=>{const nt=document.getElementById("root"),qe=de.target,pt=Ve.current,wt=ze.current;!nt||!pt||!qe||!wt||!pt.contains(qe)&&nt.contains(qe)&&!wt.contains(qe)&&vt()},[vt]);C.useEffect(()=>{if(dt)return setTimeout(()=>document.addEventListener("mousedown",Mt),0),()=>document.removeEventListener("mousedown",Mt)},[dt,Mt]);const Vt=C.useCallback(()=>{Ke()},[Ke]);C.useEffect(()=>{if(!dt||!(ze!=null&&ze.current))return;const de=ze.current;let nt=de.parentElement;for(;nt;)nt.addEventListener("scroll",Vt),nt=nt.parentElement;return()=>{let qe=de.parentElement;for(;qe;)qe.removeEventListener("scroll",Vt),qe=qe.parentElement}},[ze,dt,Vt]),C.useEffect(()=>{if(dt)return window.addEventListener("resize",Vt),()=>window.removeEventListener("resize",Vt)},[dt,Vt]);const Ht=C.useCallback(de=>{de[0].intersectionRatio===0&&vt()},[vt]);C.useEffect(()=>{if(!dt)return;const de=new IntersectionObserver(Ht,{threshold:0});return Ve.current&&de.observe(Ve.current),()=>de.disconnect()},[Ve,dt,Ht]),C.useEffect(()=>{o&&(o.current={open:rt,close:vt,toggle:Tt})},[o,rt,vt,Tt]),C.useEffect(()=>{if(!G)return;let de={sDate:G.sDate,eDate:G.eDate};P&&(Zt["<"](G.sDate,P)&&(de.sDate=P),Zt["<"](G.eDate,P)&&(de.eDate=P)),j&&(Zt[">"](G.sDate,j)&&(de.sDate=j),Zt[">"](G.eDate,j)&&(de.eDate=j)),(de.sDate!==G.sDate||de.eDate!==G.eDate)&&B(de)},[P,j,G,B]);const hr=C.useCallback(de=>{A==null||A(de),Tt()},[A,Tt]),_r=C.useCallback(de=>{B(void 0),vt(),de.stopPropagation()},[B,vt]),vr=C.useCallback(()=>G?S.jsx(So,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:_r}):null,[G,_r]),Ee=C.useMemo(()=>G?`${Zt.toString(G.sDate)} ~ ${Zt.toString(G.eDate)}`:S.jsx("span",{className:Wr.Placeholder,children:I}),[G,I]);return S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...k,abaseRef:ze,className:Ze.clsx(Wr.Anchor,"IsClickable",Wr[e],t),isDisabled:d,isLoading:h,onClick:hr,children:[g,e==="Primary"&&S.jsxs(S.Fragment,{children:[S.jsx(ln,{className:Ze.clsx(Wr.Icon,Wr[e]),icon:"CalendarDay"}),S.jsx(kn,{w:4})]}),Ee,S.jsx(Fu,{}),!E&&S.jsx(vr,{}),e==="Secondary"&&S.jsx(ln,{className:Ze.clsx(Wr.Icon,Wr[e]),icon:"CalendarDay"}),v&&v]}),(dt||bt)&&ks.createPortal(S.jsxs("div",{ref:Ve,className:Wr.ADateRangePicker,style:{opacity:+dt,visibility:dt?"visible":"hidden"},onMouseLeave:te,onTransitionEnd:xt,children:[S.jsxs("div",{className:Wr.StringInputContainer,children:[S.jsxs(Tn,{children:[S.jsx($c,{className:Ze.clsx(Wr.String,W==="sD"&&ae&&Wr.IsIdx),inputProps:{className:Wr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Se,Re],wrapProps:{className:Wr.StringInputWrap},onBlur:et}),S.jsx(kn,{w:8}),S.jsx($c,{className:Ze.clsx(Wr.String,W==="eD"&&ae&&Wr.IsIdx),inputProps:{className:Wr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Me,We],wrapProps:{className:Wr.StringInputWrap},onBlur:et})]}),!m&&S.jsxs(Tn,{style:{marginTop:4},children:[S.jsx($h,{children:D["1일"],onClick:()=>B({sDate:new Date,eDate:new Date})}),S.jsx($h,{children:D["1주일"],onClick:()=>B({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),S.jsx($h,{children:D["1개월"],onClick:()=>B({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),S.jsx($h,{children:D["3개월"],onClick:()=>B({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),S.jsxs("div",{className:Wr.CalendarContainer,children:[S.jsxs(Tn,{className:Wr.Header,children:[S.jsx(Zo,{className:Wr.Prev,isDisabled:Ue,type:"Raw",onClick:we}),S.jsxs("div",{className:Wr.MonthYear,children:[S.jsx(Hc,{isAutoWidth:!0,className:Wr.Select,OptionRenderer:de=>D.months(de.option),options:ke,SelectedRenderer:de=>D.months(de.selectedOption),type:"Secondary",useSelect:[ie.month,Ae]}),S.jsx(kn,{w:8}),S.jsx(Hc,{isAutoWidth:!0,className:Wr.Select,options:xe,type:"Secondary",useSelect:[ie.year,se]})]}),S.jsx(Zo,{className:Wr.Next,isDisabled:De,type:"Raw",onClick:Ge})]}),S.jsx(kn,{h:10}),S.jsxs("div",{className:Wr.Calendar,children:[S.jsx("div",{className:Wr.Week,children:[0,1,2,3,4,5,6].map(de=>S.jsx("div",{className:Ze.clsx(Wr.WeekDay,Wr.Cell),children:D.weekDays(de)},de))}),st]})]})]}),document.body)]})};function th(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let o=11;t&&t.getFullYear()===r&&(o=t.getMonth());const i=[];for(let a=n;a<=o;a++)i.push(a);return i}function H1(r,e,t,n=5){const o=[];let i=r-n/2+n%2/2;e&&i<e.getFullYear()&&(i=e.getFullYear());let a=i+n-1;t&&a>t.getFullYear()&&(a=t.getFullYear());for(let c=i;c<=a;c++)o.push(c);return o}function j0(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&Zt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&Zt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function F0(r,e){return[e,r]}const $h=r=>S.jsx(Zo,{className:Ze.clsx(Wr.ChoiceButton,"Headline2"),type:"Secondary",...r}),B6=["Primary","Secondary","Raw"],q1=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:o,position:i=sf.SE,minDate:a,maxDate:c,isDisabled:d,isLoading:h,placeholder:p,LeftAddon:m,RightAddon:g,resources:v,noClearButton:w,onClick:E,..._}=r,A=C.useMemo(()=>({...wr.ADatePicker,...v}),[v]),k=C.useMemo(()=>p??A["Select Date"],[p,A]),[D,I]=C.useMemo(()=>{let Ve,rt;return a&&(Ve=Zt.makeSDate(a)),c&&(rt=Zt.makeEDate(c)),Ve&&rt&&Zt["<"](rt,Ve)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Zt.makeSDate(rt),Zt.makeEDate(Ve)]):[Ve,rt]},[a,c]),[P,j]=gn(n,null),[W,F]=C.useState(P?Zt.toString(P):""),[G,pe]=C.useState(()=>{const Ve=P??new Date;return D&&Ve<D?D.getMonth():I&&Ve>I?I.getMonth():(Ve??new Date).getMonth()}),[B,q]=C.useState(()=>{const Ve=P??new Date;return D&&Ve<D?D.getFullYear():I&&Ve>I?I.getFullYear():(Ve??new Date).getFullYear()}),V=C.useCallback(Ve=>{q(Ve);const rt=th(Ve,D,I);rt.includes(G)||(G<rt[0]?pe(rt[0]):G>rt[rt.length-1]&&pe(rt[rt.length-1]))},[D,I,G]),ee=C.useCallback(Ve=>{if(Ve.length>10||(F(Ve),Ve.length<10)||!j)return;let rt=Zt.toDate(Ve);rt&&(D&&rt<D&&(rt=D),I&&rt>I&&(rt=I),j(rt),q(rt.getFullYear()),pe(rt.getMonth()))},[j,D,I]),ae=C.useCallback(Ve=>{const rt=B+Ve;rt<0||q(rt)},[B]),ne=C.useCallback(Ve=>{const rt=G+Ve;rt<0?(pe(11),ae(-1)):rt>11?(pe(0),ae(1)):pe(rt)},[G,ae]),oe=C.useCallback(Ve=>{j&&(Ve===void 0?(j(void 0),F("")):(j(Ve),F(Zt.toString(Ve))))},[j]),le=C.useMemo(()=>{const Ve=new Date(B,G,0);return D&&Ve<D},[B,G,D]),ge=C.useMemo(()=>{const Ve=new Date(B,G+1,1);return I&&Ve>I},[B,G,I]),te=C.useCallback(()=>{le||ne(-1)},[ne,le]),ie=C.useCallback(()=>{ge||ne(1)},[ne,ge]),[ue,xe]=C.useState(null),ke=C.useCallback(()=>{j&&xe(null)},[j]),se=C.useCallback(Ve=>{j&&xe(Ve)},[j]),Ae=C.useMemo(()=>{const Ve=new Date(B,G,1),rt=new Date(B,G+1,0),vt=[];for(let xt=0;xt<Ve.getDay();xt++){const Vt=new Date(B,G,0).getDate()-Ve.getDay()+xt+1,Ht=new Date(B,G-1,Vt),hr=D&&D>Ht||I&&I<Ht,_r=P&&Zt.eq(Ht,P),vr=ue&&Zt.eq(Ht,ue);vt.push({day:Vt,isSelected:_r,date:Ht,isDisabled:hr,isHovered:vr,isCurrentMonth:!1})}for(let xt=1;xt<=rt.getDate();xt++){const Mt=new Date(B,G,xt),Vt=D&&D>Mt||I&&I<Mt,Ht=P&&Zt.eq(Mt,P),hr=ue&&Zt.eq(Mt,ue);vt.push({day:xt,isSelected:Ht,date:Mt,isDisabled:Vt,isHovered:hr,isCurrentMonth:!0})}for(let xt=0;xt<7-rt.getDay()-1;xt++){const Mt=new Date(B,G+1,xt+1),Vt=D&&D>Mt||I&&I<Mt,Ht=P&&Zt.eq(Mt,P),hr=ue&&Zt.eq(Mt,ue);vt.push({day:xt+1,isSelected:Ht,date:Mt,isDisabled:Vt,isHovered:hr,isCurrentMonth:!1})}const Tt=[];for(let xt=0;xt<vt.length/7;xt++)Tt.push(S.jsx("div",{className:hn.Week,children:vt.slice(xt*7,xt*7+7).map((Mt,Vt)=>S.jsx(Zo,{isDisabled:Mt.isDisabled,type:"Raw",className:Ze.clsx(hn.Cell,Mt.isDisabled?hn.IsDisabled:Mt.isCurrentMonth?Mt.isSelected?hn.IsSelected:Mt.isHovered&&hn.IsHovered:hn.IsNotCurrentMonth),onClick:()=>Mt.isCurrentMonth&&oe(Mt.date),onMouseEnter:()=>Mt.isCurrentMonth&&se(Mt.date),onMouseLeave:()=>Mt.isCurrentMonth&&ke(),children:Mt.day},Vt))},xt));return Tt},[G,oe,P,B,D,I,ue,ke,se]),De=C.useRef(null),Ge=C.useCallback(()=>{De&&B1(De,Re,i)},[De,i]),[Ue,we]=C.useState(!1),[Se,_e]=C.useState(!1),Re=C.useRef(null),Me=C.useCallback(()=>{d||h||(we(!0),setTimeout(()=>_e(!0),0),setTimeout(()=>Ge(),0),F(P?Zt.toString(P):""),pe(()=>{const Ve=P??new Date;return D&&Ve<D?D.getMonth():I&&Ve>I?I.getMonth():Ve.getMonth()}),q(()=>{const Ve=P??new Date;return D&&Ve<D?D.getFullYear():I&&Ve>I?I.getFullYear():Ve.getFullYear()}))},[d,h,P,Ge,D,I]),tt=C.useCallback(()=>{d||h||(we(!0),_e(!1))},[d,h]),We=C.useMemo(()=>Se?tt:Me,[Se,Me,tt]),et=C.useCallback(()=>we(!1),[]),st=C.useCallback(Ve=>{const rt=document.getElementById("root"),vt=Ve.target,Tt=Re.current,xt=De.current;!rt||!Tt||!vt||!xt||!Tt.contains(vt)&&rt.contains(vt)&&!xt.contains(vt)&&tt()},[tt]);C.useEffect(()=>{if(Se)return setTimeout(()=>document.addEventListener("mousedown",st),0),()=>document.removeEventListener("mousedown",st)},[Se,st]);const ze=C.useCallback(()=>{Ge()},[Ge]);C.useEffect(()=>{if(!Se||!(De!=null&&De.current))return;const Ve=De.current;let rt=Ve.parentElement;for(;rt;)rt.addEventListener("scroll",ze),rt=rt.parentElement;return()=>{let vt=Ve.parentElement;for(;vt;)vt.removeEventListener("scroll",ze),vt=vt.parentElement}},[De,Se,ze]),C.useEffect(()=>{if(Se)return window.addEventListener("resize",ze),()=>window.removeEventListener("resize",ze)},[Se,ze]);const Ke=C.useCallback(Ve=>{Ve[0].intersectionRatio===0&&tt()},[tt]);C.useEffect(()=>{if(!Se)return;const Ve=new IntersectionObserver(Ke,{threshold:0});return Re.current&&Ve.observe(Re.current),()=>Ve.disconnect()},[Re,Se,Ke]),C.useEffect(()=>{o&&(o.current={open:Me,close:tt,toggle:We})},[o,Me,tt,We]);const bt=C.useCallback(Ve=>{E==null||E(Ve),We()},[E,We]),ht=C.useCallback(Ve=>{oe(void 0),tt(),Ve.stopPropagation()},[oe,tt]),dt=C.useCallback(()=>P?S.jsx(So,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:ht}):null,[P,ht]),St=C.useMemo(()=>P?Zt.toString(P):S.jsx("span",{className:hn.Placeholder,children:k}),[P,k]);return S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{..._,abaseRef:De,className:Ze.clsx(hn.Anchor,"IsClickable",hn[e],t),isDisabled:d,isLoading:h,onClick:bt,children:[m,e==="Primary"&&S.jsxs(S.Fragment,{children:[S.jsx(ln,{className:Ze.clsx(hn.Icon,hn[e]),icon:"CalendarDay"}),S.jsx(kn,{w:4})]}),St,S.jsx(Fu,{}),!w&&S.jsx(dt,{}),e==="Secondary"&&S.jsx(ln,{className:Ze.clsx(hn.Icon,hn[e]),icon:"CalendarDay"}),g&&g]}),(Se||Ue)&&ks.createPortal(S.jsxs("div",{ref:Re,className:hn.ADatePicker,style:{opacity:+Se,visibility:Se?"visible":"hidden"},onTransitionEnd:et,children:[S.jsx("div",{className:hn.StringInputContainer,children:S.jsx($c,{className:hn.String,inputProps:{className:hn.StringInput},maxLength:P?30:11,placeholder:"YYYY-MM-DD",useValue:[W,ee],wrapProps:{className:hn.StringInputWrap}})}),S.jsxs("div",{className:hn.CalendarContainer,children:[S.jsxs(Tn,{className:hn.Header,children:[S.jsx(Zo,{className:hn.Prev,isDisabled:le,type:"Raw",onClick:te}),S.jsxs("div",{className:hn.MonthYear,children:[S.jsx(Hc,{isAutoWidth:!0,className:hn.Select,OptionRenderer:Ve=>A.months(Ve.option),options:th(B,D,I),SelectedRenderer:Ve=>A.months(Ve.selectedOption),type:"Secondary",useSelect:[G,pe]}),S.jsx(kn,{w:8}),S.jsx(Hc,{isAutoWidth:!0,className:hn.Select,options:H1(B,D,I),type:"Secondary",useSelect:[B,V]})]}),S.jsx(Zo,{className:hn.Next,isDisabled:ge,type:"Raw",onClick:ie})]}),S.jsx(kn,{h:10}),S.jsxs("div",{className:hn.Calendar,children:[S.jsx("div",{className:hn.Week,children:[0,1,2,3,4,5,6].map(Ve=>S.jsx("div",{className:Ze.clsx(hn.WeekDay,hn.Cell),children:A.weekDays(Ve)},Ve))}),Ae]})]})]}),document.body)]})},j6="_Paper_e69j5_1",F6="_Card_e69j5_15",z6="_Body_e69j5_26",$6="_Title_e69j5_35",H6="_Content_e69j5_42",q6="_Action_e69j5_45",W6="_Button_e69j5_58",Wa={Paper:j6,Card:F6,Body:z6,Title:$6,Content:H6,Action:q6,Button:W6},U6=["okCancel","cancelOk","ok","cancel","none"],V6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:o,style:i,titleStyle:a,bodyStyle:c,contentStyle:d,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,onOk:g,onCancel:v,onClose:w,onEnterPress:E,onEscPress:_,onSpacePress:A,onPaperClick:k,noDim:D=!1,isLoading:I,isOkDisabled:P,isOkLoading:j,isCancelDisabled:W,isCancelLoading:F,buttonNoInteractive:G,okButtonClassName:pe,cancelButtonClassName:B,progress:q,progressProps:V,resources:ee}=r,ae=C.useMemo(()=>({...wr.ADialog,...ee}),[ee]),[ne,oe]=C.useState(0);C.useEffect(()=>oe(1),[]);const le=C.useCallback(()=>{oe(0)},[]),ge=C.useCallback(()=>{if(!ne){const[,Re]=e.state.useIsOpen;Re==null||Re(!1),w==null||w()}},[ne,w,e]),te=C.useCallback(async()=>{if(!ne||t==="cancel"||t==="none"||I||P||j)return;const{event:Re,e:Me}=ku();await(g==null?void 0:g(Me)),!Re.preventDefault&&le()},[ne,t,le,g,P,I,j]),ie=C.useCallback(async()=>{if(!ne||t==="ok"||t==="none"||I||W||F)return;const{event:Re,e:Me}=ku();await(v==null?void 0:v(Me)),!Re.preventDefault&&le()},[ne,t,le,v,W,I,F]);C.useEffect(()=>{e&&e.state.setAction({close:le,ok:te,cancel:ie})},[e,le,te,ie]);const ue=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(E==null?void 0:E(Me)),!Re.preventDefault&&te()},[E,I,te]),xe=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(A==null?void 0:A(Me)),!Re.preventDefault&&te()},[A,I,te]),ke=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(_==null?void 0:_(Me)),!Re.preventDefault&&ie()},[_,I,ie]),se=C.useRef(null),Ae=C.useCallback(Re=>{const Me=document.body.getElementsByClassName(Wa.Paper);Me.length===0||Me[Me.length-1]!==se.current||(Re.key==="Enter"&&ne?ue():Re.key===" "&&ne?xe():Re.key==="Escape"&&ne&&ke())},[ne,ue,xe,ke]);C.useEffect(()=>{if(ne)return window.addEventListener("keydown",Ae),()=>window.removeEventListener("keydown",Ae)},[ne,Ae]);const De=C.useRef(!1),Ge=C.useRef(!1),Ue=C.useCallback(()=>{De.current=!0},[]),we=C.useCallback(()=>{De.current=!1,Ge.current=!1},[]),Se=C.useCallback(()=>{Ge.current=!0},[]),_e=C.useCallback(async()=>{if(I)return;const Re=!Ge.current||De.current;if(De.current=!1,Ge.current=!1,Re)return;const{event:Me,e:tt}=ku();await(k==null?void 0:k(tt)),!Me.preventDefault&&ie()},[k,I,ie]);return ks.createPortal(S.jsx("div",{ref:se,className:Wa.Paper,style:{backgroundColor:D?"transparent":void 0,pointerEvents:ne?void 0:"none",opacity:ne},onMouseDown:Se,onMouseUp:_e,onTransitionEnd:ge,children:S.jsxs(Zr,{className:Wa.Card,isLoading:I,progress:q,progressProps:V,style:i,onMouseDown:Ue,onMouseUp:we,children:[S.jsxs("div",{className:Wa.Body,style:c,children:[n&&S.jsx(G6,{title:n,titleStyle:a}),o&&S.jsx("div",{className:Wa.Content,style:d,children:o})]}),t!=="none"&&S.jsx(Z6,{type:t,ok:te,cancel:ie,resources:ae,isOkDisabled:P,isOkLoading:j,isCancelDisabled:W,isCancelLoading:F,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,buttonNoInteractive:G,okButtonClassName:pe,cancelButtonClassName:B})]})}),document.body)},G6=r=>{const{title:e,titleStyle:t}=r;return S.jsx("div",{className:Ze.clsx(Wa.Title,"NoSelect","Title3"),style:t,children:e})},Z6=r=>{const{type:e,ok:t,cancel:n,resources:o,isOkDisabled:i,isOkLoading:a,isCancelDisabled:c,isCancelLoading:d,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,buttonNoInteractive:g,okButtonClassName:v,cancelButtonClassName:w}=r,E=C.useMemo(()=>({onClick:t,isDisabled:i,isLoading:a,children:o.Ok,style:h,noInteractive:g,className:Ze.clsx(Wa.Button,v)}),[t,i,a,o.Ok,h,g,v]),_=C.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:c,isLoading:d,children:o.Cancel,style:p,noInteractive:g,className:Ze.clsx(Wa.Button,w)}),[n,c,d,o.Cancel,p,g,w]);if(e==="okCancel"||e==="ok")return S.jsxs("div",{className:Wa.Action,style:{...m},children:[S.jsx(Zo,{...E}),e==="okCancel"&&S.jsxs(S.Fragment,{children:[S.jsx(kn,{w:8}),S.jsx(Zo,{..._})]})]},e);if(e==="cancelOk"||e==="cancel")return S.jsxs("div",{className:Wa.Action,children:[S.jsx(Zo,{..._}),e==="cancelOk"&&S.jsxs(S.Fragment,{children:[S.jsx(kn,{w:8}),S.jsx(Zo,{...E})]})]},e)},Y6=r=>{const e=C.useMemo(()=>Math.random().toFixed(32),[]),t=C.useMemo(()=>{const v={};return r.forEach(w=>{v[w]=w+e}),v},[r,e]),n=C.useMemo(()=>[],[]),o=C.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[i,a]=C.useState([]),c=C.useRef((()=>{const v={};return o.forEach(w=>{v[w]={open:()=>a(E=>[...E,w]),close:()=>{},ok:()=>{},cancel:()=>{}}}),v})()),d=C.useMemo(()=>{const v={};return o.forEach(w=>{v[w]=E=>{a(_=>!E&&_.includes(w)?_.filter(A=>A!==w):E&&!_.includes(w)?[..._,w]:_)}}),v},[o]),h=C.useMemo(()=>{const v={};return o.forEach(w=>{const _=[i.includes(w),d[w]],A=k=>{c.current[w]={...c.current[w],...k}};v[w]={useIsOpen:_,setAction:A}}),v},[i,d,o]),p=C.useMemo(()=>{const v={};return o.forEach(w=>{const E=()=>c.current[w].open(),_=()=>c.current[w].close(),A=()=>c.current[w].ok(),k=()=>c.current[w].cancel();v[w]={open:E,close:_,ok:A,cancel:k}}),v},[o]),m=C.useMemo(()=>({}),[]),g=C.useMemo(()=>(o.forEach(v=>{m[v]={state:h[v],action:p[v]}}),m),[m,o,h,p]);return C.useEffect(()=>(Object.keys(g).forEach(w=>{const E=g[w],_=t[w],A=oa.find(k=>{k.id});A?A.core=E:oa.push({id:_,core:E})}),()=>{const w=Object.keys(g),E=oa.filter(_=>w.includes(_.id));oa.length=0,oa.push(...E)}),[g,t]),g},K6=()=>{const r=C.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=C.useState(!1),n=C.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),o=C.useMemo(()=>({useIsOpen:[e,t],setAction:d=>{n.current={...n.current,...d}}}),[e]),i=C.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),a=C.useMemo(()=>({}),[]),c=C.useMemo(()=>(a.state=o,a.action=i,a),[a,o,i]);return C.useEffect(()=>{const d=oa.find(h=>h.id===r);return d?d.core=c:oa.push({id:r,core:c}),()=>{const h=oa.filter(p=>p.id!==r);oa.length=0,oa.push(...h)}},[r,c]),c},X6=r=>{const{dlgCore:e,children:t}=r,[n,o]=C.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return C.useEffect(()=>()=>o==null?void 0:o(!1),[o]),S.jsx(C.Suspense,{children:n&&t})},J6=r=>e=>{const{dlgCore:t}=e;return S.jsx(X6,{dlgCore:t,children:C.cloneElement(S.jsx(r,{...e}),{dlgCore:t})})},oa=[],Q6={closeAllDlgs:()=>{oa.forEach(r=>{r.core.action.close()})}},ek="_AFileBox_1hlo1_1",tk="_SelectedFile_1hlo1_16",rk="_Dropping_1hlo1_26",W1={AFileBox:ek,SelectedFile:tk,Dropping:rk},nk=r=>{const{useFile:e,FileRenderer:t=ok,SelectRenderer:n=ik,DropRenderer:o=sk,resources:i,accept:a="",onInvalidFileFormat:c,fileSelectButtonClassName:d,isDisabled:h,isLoading:p,className:m,...g}=r,v=C.useMemo(()=>({...wr.AFileBox,...i}),[i]),w=C.useRef(null),E=C.useRef(null),[_,A]=gn(e,null),[k,D]=C.useState(!1),I=C.useMemo(()=>a.split(",").map(ee=>ee.trim()).filter(ee=>ee.length>0&&ee.startsWith(".")),[a]),P=C.useCallback(ee=>{if(I.length===0)return!1;const ae=ee.name.split(".").pop();return ae?!I.includes(`.${ae}`):!0},[I]),j=C.useCallback(ee=>{if(A)if(P(ee)){c==null||c();return}else A(ee);else return},[A,P,c]),W=C.useCallback(ee=>{ee.target.files&&ee.target.files.length>0&&j(ee.target.files[0])},[j]),F=C.useCallback(ee=>{ee.preventDefault(),D(!1),!(h||p)&&ee.dataTransfer.files&&ee.dataTransfer.files.length>0&&j(ee.dataTransfer.files[0])},[j,h,p]),G=C.useCallback(ee=>{ee.preventDefault(),!(h||p)&&D(!0)},[h,p]),pe=C.useCallback(ee=>{ee.target===w.current&&ee.relatedTarget.contains(w.current.parentElement)&&(ee.preventDefault(),D(!1))},[]),B=C.useCallback(ee=>ee.preventDefault(),[]),q=C.useCallback(()=>{var ee;(ee=E.current)==null||ee.click()},[]),V=C.useMemo(()=>k?S.jsx(o,{resources:v}):_?S.jsx(t,{file:_,useFile:e}):S.jsx(n,{fileSelectButtonClassName:d,resources:v,onClick:q}),[t,n,o,v,k,_,e,d,q]);return S.jsxs(Zr,{...g,abaseRef:w,className:Ze.clsx(W1.AFileBox,m),isDisabled:h,isLoading:p,onDragEnter:G,onDragLeave:pe,onDragOver:B,onDrop:F,children:[S.jsx("input",{ref:E,accept:a,style:{display:"none"},type:"file",value:"",onChange:W}),V]})},ok=r=>{const{file:e,useFile:t}=r,[,n]=gn(t,null);return S.jsxs(Tn,{className:W1.SelectedFile,style:{backgroundColor:""},children:[S.jsx(ln,{icon:"File"}),S.jsx(Ya,{children:e.name}),S.jsx(So,{icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},type:"Raw",onClick:()=>n==null?void 0:n(null)})]})},ik=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return S.jsxs(Tn,{className:Ze.clsx("NoSelect"),style:{gap:4},children:[S.jsx(Zo,{className:n,onClick:e,children:t["Select File"]}),t["or Drag & Drop"]]})},sk=r=>{const{resources:e}=r;return S.jsxs(fw,{className:Ze.clsx(W1.Dropping,"NoSelect","Headline2"),children:[S.jsx(ln,{icon:"FileDownload"}),e["drop file to select"]]})},ak="_AFileUploader_4niz4_1",lk="_LabelContainer_4niz4_15",ck="_LabelButton_4niz4_24",uk="_Disabled_4niz4_30",dk="_Delete_4niz4_33",fk="_FileSize_4niz4_37",hk="_TotalFileSize_4niz4_44",pk="_FileBox_4niz4_48",gk="_SelectRenderer_4niz4_67",mk="_ChipsContainer_4niz4_78",vk="_FileChip_4niz4_89",yk="_FileChipContent_4niz4_101",bk="_FileNameContainer_4niz4_112",xk="_ButtonRenderer_4niz4_118",wk="_ErrorBorder_4niz4_129",Ck="_ErrorColor_4niz4_133",Sk="_ErrorCursor_4niz4_137",Bn={AFileUploader:ak,LabelContainer:lk,LabelButton:ck,Disabled:uk,Delete:dk,FileSize:fk,TotalFileSize:hk,FileBox:pk,SelectRenderer:gk,ChipsContainer:mk,FileChip:vk,FileChipContent:yk,FileNameContainer:bk,ButtonRenderer:xk,ErrorBorder:wk,ErrorColor:Ck,ErrorCursor:Sk},_k=({file:r,baseClass:e,errorClass:t,errorCursorClass:n,resources:o,onDownload:i})=>{const[a,c]=C.useState(!1);return S.jsx(So,{className:Ze.clsx(e,t,n),icon:a?"FileDownload":"CircleAlertOutline",iconSize:"sm",tooltip:o["Fail Download"],type:"Raw",onClick:()=>i(r),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1)})},Ak=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:o,wrapType:i,errorMessage:a,useFiles:c,accept:d,onInvalidFileFormat:h,onDownload:p,onDelete:m,type:g,limit:v=1024*1024*1024,maxFileCount:w,useError:E,isLoading:_,resources:A,className:k,...D}=r,I=C.useMemo(()=>({...wr.AFileUploader,...A}),[A]),[P,j]=gn(c,void 0),[W,F]=gn(E,!1),[G,pe]=C.useState({}),[B,q]=C.useState(!1),V=C.useRef(0),ee=C.useRef({}),ae=C.useRef(null),ne=C.useRef(null),oe=C.useCallback(ze=>ze.uniqueId||`${ze.name}-${ze.size}-${ze.lastModified||""}-${ze.idx||""}`,[]),le=C.useMemo(()=>(P==null?void 0:P.reduce((ze,Ke)=>ze+Ke.size,0))||0,[P]);C.useEffect(()=>{F&&F(le>v)},[le,v,F]);const ge=C.useCallback(ze=>{var ht;if(!d||d==="*"||d==="")return!0;const Ke=d.split(",").map(dt=>dt.trim()),bt=`.${(ht=ze.name.split(".").pop())==null?void 0:ht.toLowerCase()}`;return Ke.includes(bt)?!0:Ke.some(dt=>{var St;if(dt.startsWith("."))return!1;if(dt.endsWith("/*")){const Ve=dt.split("/")[0];return(St=ze.type)==null?void 0:St.startsWith(`${Ve}/`)}return ze.type===dt})},[d]),te=C.useCallback((ze,Ke)=>{const bt={...ee.current};bt[ze]=Ke,ee.current=bt,pe(bt)},[pe]),ie=C.useCallback(ze=>{const Ke=oe(ze);return G[Ke]||"Normal"},[G,oe]),ue=C.useCallback(ze=>_||ie(ze)==="Loading",[_,ie]),xe=C.useCallback(ze=>ie(ze)==="Error"||g==="Upload"&&ze.size>v,[ie,v,g]),ke=C.useMemo(()=>P!=null&&P.length?g==="Download"?P.every(xe):!1:!0,[P,g,xe]),se=C.useCallback(()=>{ae.current&&(ae.current.value="")},[]),Ae=C.useMemo(()=>!w||!(P!=null&&P.length)?!1:P.length>=w,[P,w]),De=C.useCallback(ze=>{if(!j)return;const Ke=[];let bt=!1,ht=[],dt=w?w-((P==null?void 0:P.length)||0):1/0;if(!(dt<=0)){if(Array.from(ze).forEach((St,Ve)=>{if(Ve>=dt)return;if(!ge(St)){bt=!0,ht.push(St.name);return}const rt=St;rt.uniqueId=`file-${Date.now()}-${V.current++}`,Ke.push(rt)}),bt)if(h)h();else{const St=d?d.replace(/,/g,", "):"",Ve=St?`${I["Supported file format(s)"]}: ${St}`:"",rt=ht.length>3?`${ht.slice(0,3).join(", ")} ${I.and} ${ht.length-3} ${I["more file(s)"]}`:ht.join(", ");alert(`${I["Unsupported file format detected."]}
|
161
|
+
`+y.stack}}var sc=t.ReactCurrentDispatcher,Da=t.ReactDebugCurrentFrame,ac=0,_i=1,lc=2,qs=3,ad=4,ml=0,Oa=1,Na=2,fu=12800;function ld(b){return console.error(b),null}function Ws(){}function cc(b,l,f,y,T,N,H,K,ve){var Pe=[],at=new Set,mt={destination:null,responseState:l,progressiveChunkSize:y===void 0?fu:y,status:ml,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:Pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:T===void 0?ld:T,onAllReady:N===void 0?Ws:N,onShellReady:H===void 0?Ws:H,onShellError:K===void 0?Ws:K,onFatalError:ve===void 0?Ws:ve},Dt=vl(mt,0,null,f,!1,!1);Dt.parentFlushed=!0;var sr=Ki(mt,b,null,Dt,at,Nn,Jl,Cf);return Pe.push(sr),mt}function Yi(b,l){var f=b.pingedTasks;f.push(l),f.length===1&&a(function(){return bu(b)})}function uc(b,l){return{id:No,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Ki(b,l,f,y,T,N,H,K){b.allPendingTasks++,f===null?b.pendingRootTasks++:f.pendingTasks++;var ve={node:l,ping:function(){return Yi(b,ve)},blockedBoundary:f,blockedSegment:y,abortSet:T,legacyContext:N,context:H,treeContext:K};return ve.componentStack=null,T.add(ve),ve}function vl(b,l,f,y,T,N){return{status:ac,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:f,lastPushedText:T,textEmbedded:N}}var li=null;function ci(){return li===null||li.componentStack===null?"":La(li.componentStack)}function Ai(b,l){b.componentStack={tag:0,parent:b.componentStack,type:l}}function yl(b,l){b.componentStack={tag:1,parent:b.componentStack,type:l}}function ms(b,l){b.componentStack={tag:2,parent:b.componentStack,type:l}}function ui(b){b.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):b.componentStack=b.componentStack.parent}var Pa=null;function dc(b,l){{var f;typeof l=="string"?f=l:l&&typeof l.message=="string"?f=l.message:f=String(l);var y=Pa||ci();Pa=null,b.errorMessage=f,b.errorComponentStack=y}}function bl(b,l){var f=b.onError(l);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Ba(b,l){var f=b.onShellError;f(l);var y=b.onFatalError;y(l),b.destination!==null?(b.status=Na,k(b.destination,l)):(b.status=Oa,b.fatalError=l)}function cd(b,l,f){Ai(l,"Suspense");var y=l.blockedBoundary,T=l.blockedSegment,N=f.fallback,H=f.children,K=new Set,ve=uc(b,K),Pe=T.chunks.length,at=vl(b,Pe,ve,T.formatContext,!1,!1);T.children.push(at),T.lastPushedText=!1;var mt=vl(b,0,null,T.formatContext,!1,!1);mt.parentFlushed=!0,l.blockedBoundary=ve,l.blockedSegment=mt;try{if(Uo(b,l,H),yn(mt.chunks,b.responseState,mt.lastPushedText,mt.textEmbedded),mt.status=_i,bs(ve,mt),ve.pendingTasks===0){ui(l);return}}catch(sr){mt.status=ad,ve.forceClientRender=!0,ve.errorDigest=bl(b,sr),dc(ve,sr)}finally{l.blockedBoundary=y,l.blockedSegment=T}var Dt=Ki(b,N,y,at,K,l.legacyContext,l.context,l.treeContext);Dt.componentStack=l.componentStack,b.pingedTasks.push(Dt),ui(l)}function hu(b,l,f,y){Ai(l,f);var T=l.blockedSegment,N=xr(T.chunks,f,y,b.responseState,T.formatContext);T.lastPushedText=!1;var H=T.formatContext;T.formatContext=Oo(H,f,y),Uo(b,l,N),T.formatContext=H,Rr(T.chunks,f),T.lastPushedText=!1,ui(l)}function pu(b){return b.prototype&&b.prototype.isReactComponent}function Us(b,l,f,y,T){var N={};su(l,N);var H=f(y,T);return zs(f,y,H,T)}function gu(b,l,f,y,T){var N=f.render();f.props!==T&&(hc||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",sn(y)||"a component"),hc=!0);{var H=y.childContextTypes;if(H!=null){var K=l.legacyContext,ve=Jc(f,y,K,H);l.legacyContext=ve,Jn(b,l,N),l.legacyContext=K;return}}Jn(b,l,N)}function fc(b,l,f,y){ms(l,f);var T=ls(f,l.legacyContext),N=Ci(f,y,T);hl(N,f,y,T),gu(b,l,N,f,y),ui(l)}var wr={},xl={},mu={},Vs={},hc=!1,ud={},dd=!1,ko=!1,fd=!1;function pc(b,l,f,y){var T;if(T=ls(f,l.legacyContext),yl(l,f),f.prototype&&typeof f.prototype.render=="function"){var N=sn(f)||"Unknown";wr[N]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",N,N),wr[N]=!0)}var H=Us(b,l,f,y,T),K=mo();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var ve=sn(f)||"Unknown";xl[ve]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ve,ve,ve),xl[ve]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var Pe=sn(f)||"Unknown";xl[Pe]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Pe,Pe,Pe),xl[Pe]=!0)}hl(H,f,y,T),gu(b,l,H,f,y)}else if(vu(f),K){var at=l.treeContext,mt=1,Dt=0;l.treeContext=ru(at,mt,Dt);try{Jn(b,l,H)}finally{l.treeContext=at}}else Jn(b,l,H);ui(l)}function vu(b){{if(b&&b.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",b.displayName||b.name||"Component"),b.defaultProps!==void 0){var l=sn(b)||"Unknown";ud[l]||(o("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),ud[l]=!0)}if(typeof b.getDerivedStateFromProps=="function"){var f=sn(b)||"Unknown";Vs[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),Vs[f]=!0)}if(typeof b.contextType=="object"&&b.contextType!==null){var y=sn(b)||"Unknown";mu[y]||(o("%s: Function components do not support contextType.",y),mu[y]=!0)}}}function yu(b,l){if(b&&b.defaultProps){var f=zo({},l),y=b.defaultProps;for(var T in y)f[T]===void 0&&(f[T]=y[T]);return f}return l}function hd(b,l,f,y,T){yl(l,f.render);var N=Us(b,l,f.render,y,T),H=mo();if(H){var K=l.treeContext,ve=1,Pe=0;l.treeContext=ru(K,ve,Pe);try{Jn(b,l,N)}finally{l.treeContext=K}}else Jn(b,l,N);ui(l)}function vo(b,l,f,y,T){var N=f.type,H=yu(N,y);Gs(b,l,N,H,T)}function vs(b,l,f,y){f._context===void 0?f!==f.Consumer&&(fd||(fd=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var T=y.children;typeof T!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var N=Ra(f),H=T(N);Jn(b,l,H)}function yo(b,l,f,y){var T=f._context,N=y.value,H=y.children,K;K=l.context,l.context=Qc(T,N),Jn(b,l,H),l.context=yf(T),K!==l.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function pd(b,l,f,y,T){Ai(l,"Lazy");var N=f._payload,H=f._init,K=H(N),ve=yu(K,y);Gs(b,l,K,ve,T),ui(l)}function Gs(b,l,f,y,T){if(typeof f=="function")if(pu(f)){fc(b,l,f,y);return}else{pc(b,l,f,y);return}if(typeof f=="string"){hu(b,l,f,y);return}switch(f){case Zl:case Ko:case Te:case Qe:case zi:{Jn(b,l,y.children);return}case _n:{Ai(l,"SuspenseList"),Jn(b,l,y.children),ui(l);return}case Ku:throw new Error("ReactDOMServer does not yet support scope components.");case jr:{cd(b,l,y);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case ar:{hd(b,l,f,y,T);return}case Yr:{vo(b,l,f,y,T);return}case Ye:{yo(b,l,f,y);return}case Pt:{vs(b,l,f,y);return}case wa:{pd(b,l,f,y);return}}var N="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+N))}function gd(b,l){typeof Symbol=="function"&&b[Symbol.toStringTag]==="Generator"&&(dd||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),dd=!0),b.entries===l&&(ko||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ko=!0)}function Jn(b,l,f){try{return md(b,l,f)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(Pa=Pa!==null?Pa:ci()),y}}function md(b,l,f){if(l.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Yu:{var y=f,T=y.type,N=y.props,H=y.ref;Gs(b,l,T,N,H);return}case Gl:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case wa:{var K=f,ve=K._payload,Pe=K._init,at;try{at=Pe(ve)}catch(di){throw typeof di=="object"&&di!==null&&typeof di.then=="function"&&Ai(l,"Lazy"),di}Jn(b,l,at);return}}if(It(f)){gc(b,l,f);return}var mt=ss(f);if(mt){gd(f,mt);var Dt=mt.call(f);if(Dt){var sr=Dt.next();if(!sr.done){var Hr=[];do Hr.push(sr.value),sr=Dt.next();while(!sr.done);gc(b,l,Hr);return}return}}var qn=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(qn==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":qn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var Ei=l.blockedSegment;Ei.lastPushedText=un(l.blockedSegment.chunks,f,b.responseState,Ei.lastPushedText);return}if(typeof f=="number"){var xs=l.blockedSegment;xs.lastPushedText=un(l.blockedSegment.chunks,""+f,b.responseState,xs.lastPushedText);return}typeof f=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function gc(b,l,f){for(var y=f.length,T=0;T<y;T++){var N=l.treeContext;l.treeContext=ru(N,y,T);try{Uo(b,l,f[T])}finally{l.treeContext=N}}}function mc(b,l,f){var y=l.blockedSegment,T=y.chunks.length,N=vl(b,T,null,y.formatContext,y.lastPushedText,!0);y.children.push(N),y.lastPushedText=!1;var H=Ki(b,l.node,l.blockedBoundary,N,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(H.componentStack=l.componentStack.parent);var K=H.ping;f.then(K,K)}function Uo(b,l,f){var y=l.blockedSegment.formatContext,T=l.legacyContext,N=l.context,H=null;H=l.componentStack;try{return Jn(b,l,f)}catch(K){if(au(),typeof K=="object"&&K!==null&&typeof K.then=="function"){mc(b,l,K),l.blockedSegment.formatContext=y,l.legacyContext=T,l.context=N,ds(N),l.componentStack=H;return}else throw l.blockedSegment.formatContext=y,l.legacyContext=T,l.context=N,ds(N),l.componentStack=H,K}}function vd(b,l,f,y){var T=bl(b,y);if(l===null?Ba(b,y):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=T,dc(l,y),l.parentFlushed&&b.clientRenderedBoundaries.push(l))),b.allPendingTasks--,b.allPendingTasks===0){var N=b.onAllReady;N()}}function ys(b){var l=this,f=b.blockedBoundary,y=b.blockedSegment;y.status=qs,Zs(l,f,y)}function vc(b,l,f){var y=b.blockedBoundary,T=b.blockedSegment;if(T.status=qs,y===null)l.allPendingTasks--,l.status!==Na&&(l.status=Na,l.destination!==null&&w(l.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var N=f===void 0?new Error("The render was aborted by the server without a reason."):f;y.errorDigest=l.onError(N);{var H="The server did not finish this Suspense boundary: ";N&&typeof N.message=="string"?N=H+N.message:N=H+String(N);var K=li;li=b;try{dc(y,N)}finally{li=K}}y.parentFlushed&&l.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Pe){return vc(Pe,l,f)}),y.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var ve=l.onAllReady;ve()}}}function bs(b,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var f=l.children[0];f.id=l.id,f.parentFlushed=!0,f.status===_i&&bs(b,f)}else{var y=b.completedSegments;y.push(l)}}function Zs(b,l,f){if(l===null){if(f.parentFlushed){if(b.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");b.completedRootSegment=f}if(b.pendingRootTasks--,b.pendingRootTasks===0){b.onShellError=Ws;var y=b.onShellReady;y()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)f.parentFlushed&&f.status===_i&&bs(l,f),l.parentFlushed&&b.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(ys,b),l.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===_i){bs(l,f);var T=l.completedSegments;T.length===1&&l.parentFlushed&&b.partialBoundaries.push(l)}}if(b.allPendingTasks--,b.allPendingTasks===0){var N=b.onAllReady;N()}}function Tf(b,l){var f=l.blockedSegment;if(f.status===ac){ds(l.context);var y=null;y=li,li=l;try{Jn(b,l,l.node),yn(f.chunks,b.responseState,f.lastPushedText,f.textEmbedded),l.abortSet.delete(l),f.status=_i,Zs(b,l.blockedBoundary,f)}catch(N){if(au(),typeof N=="object"&&N!==null&&typeof N.then=="function"){var T=l.ping;N.then(T,T)}else l.abortSet.delete(l),f.status=ad,vd(b,l.blockedBoundary,f,N)}finally{li=y}}}function bu(b){if(b.status!==Na){var l=Qu(),f=sc.current;sc.current=Hn;var y;y=Da.getCurrentStack,Da.getCurrentStack=ci;var T=Hs;ic(b.responseState);try{var N=b.pingedTasks,H;for(H=0;H<N.length;H++){var K=N[H];Tf(b,K)}N.splice(0,H),b.destination!==null&&Xo(b,b.destination)}catch(ve){bl(b,ve),Ba(b,ve)}finally{ic(T),sc.current=f,Da.getCurrentStack=y,f===Hn&&ds(l)}}}function wl(b,l,f){switch(f.parentFlushed=!0,f.status){case ac:{var y=f.id=b.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,$r(l,b.responseState,y)}case _i:{f.status=lc;for(var T=!0,N=f.chunks,H=0,K=f.children,ve=0;ve<K.length;ve++){for(var Pe=K[ve];H<Pe.index;H++)m(l,N[H]);T=Cl(b,l,Pe)}for(;H<N.length-1;H++)m(l,N[H]);return H<N.length&&(T=g(l,N[H])),T}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cl(b,l,f){var y=f.boundary;if(y===null)return wl(b,l,f);if(y.parentFlushed=!0,y.forceClientRender)return Kn(l,b.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),wl(b,l,f),nl(l,b.responseState);if(y.pendingTasks>0){y.rootSegmentID=b.nextSegmentId++,y.completedSegments.length>0&&b.partialBoundaries.push(y);var T=y.id=Ln(b.responseState);return Bi(l,b.responseState,T),wl(b,l,f),Bo(l,b.responseState)}else{if(y.byteSize>b.progressiveChunkSize)return y.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(y),Bi(l,b.responseState,y.id),wl(b,l,f),Bo(l,b.responseState);ii(l,b.responseState);var N=y.completedSegments;if(N.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=N[0];return Cl(b,l,H),Qr(l,b.responseState)}}function xu(b,l,f){return Gu(l,b.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function yc(b,l,f){return lr(l,b.responseState,f.formatContext,f.id),Cl(b,l,f),Xr(l,f.formatContext)}function wu(b,l,f){for(var y=f.completedSegments,T=0;T<y.length;T++){var N=y[T];bo(b,l,f,N)}return y.length=0,il(l,b.responseState,f.id,f.rootSegmentID)}function yd(b,l,f){for(var y=f.completedSegments,T=0;T<y.length;T++){var N=y[T];if(!bo(b,l,f,N))return T++,y.splice(0,T),!1}return y.splice(0,T),!0}function bo(b,l,f,y){if(y.status===lc)return!0;var T=y.id;if(T===-1){var N=y.id=f.rootSegmentID;if(N===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return yc(b,l,y)}else return yc(b,l,y),ff(l,b.responseState,T)}function Xo(b,l){p();try{var f=b.completedRootSegment;f!==null&&b.pendingRootTasks===0&&(Cl(b,l,f),b.completedRootSegment=null,nn(l,b.responseState));var y=b.clientRenderedBoundaries,T;for(T=0;T<y.length;T++){var N=y[T];xu(b,l,N)}y.splice(0,T);var H=b.completedBoundaries;for(T=0;T<H.length;T++){var K=H[T];wu(b,l,K)}H.splice(0,T),v(l),p(l);var ve=b.partialBoundaries;for(T=0;T<ve.length;T++){var Pe=ve[T];if(!yd(b,l,Pe)){b.destination=null,T++,ve.splice(0,T);return}}ve.splice(0,T);var at=b.completedBoundaries;for(T=0;T<at.length;T++){var mt=at[T];wu(b,l,mt)}at.splice(0,T)}finally{v(l),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&(b.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),w(l))}}function bd(b){a(function(){return bu(b)})}function kf(b,l){if(b.status===Oa){b.status=Na,k(l,b.fatalError);return}if(b.status!==Na&&b.destination===null){b.destination=l;try{Xo(b,l)}catch(f){bl(b,f),Ba(b,f)}}}function Sl(b,l){try{var f=b.abortableTasks;f.forEach(function(y){return vc(y,b,l)}),f.clear(),b.destination!==null&&Xo(b,b.destination)}catch(y){bl(b,y),Ba(b,y)}}function ja(b,l){return new Promise(function(f,y){var T,N,H=new Promise(function(Dt,sr){N=Dt,T=sr});function K(){var Dt=new ReadableStream({type:"bytes",pull:function(sr){kf(Pe,sr)},cancel:function(sr){Sl(Pe)}},{highWaterMark:0});Dt.allReady=H,f(Dt)}function ve(Dt){H.catch(function(){}),y(Dt)}var Pe=cc(b,Fn(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),_o(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,N,K,ve,T);if(l&&l.signal){var at=l.signal,mt=function(){Sl(Pe,at.reason),at.removeEventListener("abort",mt)};at.addEventListener("abort",mt)}bd(Pe)})}Fh.renderToReadableStream=ja,Fh.version=e}()),Fh}var I0;function CE(){if(I0)return Cc;I0=1;var r,e;return process.env.NODE_ENV==="production"?(r=yE(),e=bE()):(r=xE(),e=wE()),Cc.version=r.version,Cc.renderToString=r.renderToString,Cc.renderToStaticMarkup=r.renderToStaticMarkup,Cc.renderToNodeStream=r.renderToNodeStream,Cc.renderToStaticNodeStream=r.renderToStaticNodeStream,Cc.renderToReadableStream=e.renderToReadableStream,Cc}var Ex=CE();const yp=of(Ex);function zf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Iu={_canvas:null,_cache:new Map,_fontCache:{value:"",timestamp:0},_charWidthMap:new Map,clearCache(){this._cache.clear(),this._canvas=null,this._fontCache={value:"",timestamp:0},this._charWidthMap.clear()},getDefaultFont(){const r=Date.now();if(this._fontCache.value&&r-this._fontCache.timestamp<3e5)return this._fontCache.value;try{const e=getComputedStyle(document.documentElement).getPropertyValue("--Font").trim()||"400 14px pretendard";return this._fontCache={value:e,timestamp:r},e}catch{return"400 14px pretendard"}},measureCharWidth(r,e){var o,i,a,c,d,h;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const p=this._canvas.getContext("2d");if(p){p.font=e;const m=p.measureText(r).width;return this._charWidthMap.set(t,m),m}}catch{}let n;return r===" "?n=parseInt(((o=e.match(/(\d+)px/))==null?void 0:o[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((i=e.match(/(\d+)px/))==null?void 0:i[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((a=e.match(/(\d+)px/))==null?void 0:a[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((c=e.match(/(\d+)px/))==null?void 0:c[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((d=e.match(/(\d+)px/))==null?void 0:d[1])||"14")*.25:n=parseInt(((h=e.match(/(\d+)px/))==null?void 0:h[1])||"14")*.67,this._charWidthMap.set(t,n),n},extractTextFromNode(r){if(r==null)return"";if(typeof r=="string")return r;if(typeof r=="number"||typeof r=="boolean")return`${r}`;if(Array.isArray(r))return r.map(e=>this.extractTextFromNode(e)).join("");if(C.isValidElement(r))try{const t=Ex.renderToString(r).replace(/<[^>]*>/g,""),n=document.createElement("div");return n.innerHTML=t,n.textContent||""}catch{return r.props&&r.props.children?this.extractTextFromNode(r.props.children):""}return""},measureTextWidth(r,e){var i;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,o=this._cache.get(n);if(o!==void 0)return o;try{this._canvas||(this._canvas=document.createElement("canvas"));const a=this._canvas.getContext("2d");if(a){a.font=t;const c=a.measureText(r),d=Math.ceil(c.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(p=>this._cache.delete(p)),this._cache.set(n,d),d}}catch{}try{const a=document.createElement("span");a.style.font=t,a.style.position="absolute",a.style.visibility="hidden",a.style.whiteSpace="nowrap",a.textContent=r,document.body.appendChild(a);const c=Math.ceil(a.getBoundingClientRect().width);return document.body.removeChild(a),this._cache.set(n,c),c}catch{}try{let a=0;for(let d=0;d<r.length;d++)a+=this.measureCharWidth(r[d],t);a*=.95;const c=Math.ceil(a);return this._cache.set(n,c),c}catch{}try{const a=parseInt(((i=t.match(/(\d+)px/))==null?void 0:i[1])||"14");let c=0;for(let h=0;h<r.length;h++){const p=r[h];p===" "?c+=.33:/^[A-Z]$/.test(p)?c+=.67:/^[a-z]$/.test(p)?c+=.5:/^\d$/.test(p)?c+=.6:/^[.,;:!?]$/.test(p)?c+=.25:c+=.67}const d=Math.ceil(c*a);return this._cache.set(n,d),d}catch{const c=r.length*10;return this._cache.set(n,c),c}},measureTextWithElementStyle(r,e){if(!e)return 0;try{const t=window.getComputedStyle(r),n=t.getPropertyValue("--Font").trim()||`${t.fontWeight} ${t.fontSize} ${t.fontFamily}`;return this.measureTextWidth(e,n)}catch{return this.measureTextWidth(e)}},measureReactNodeWidth(r){const e=this.extractTextFromNode(r);return this.measureTextWidth(e)},measureRenderedOptionWidth(r,e){if(r==null)return 0;const t=e(r),n=this.extractTextFromNode(t);return this.measureTextWidth(n)},calculateOptimalSelectWidth({elementRef:r,options:e=[],selectedOption:t=null,selectedOptions:n=[],placeholder:o="",optionRenderer:i,type:a="Primary",isMulti:c=!1}){if(!r.current)return 200;try{let d=0;if(e&&e.length>0){const v=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(E,_)=>e[Math.floor(_*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],w=Array.from(new Set(v.filter(Boolean)));for(const E of w){if(!E)continue;const _=this.measureRenderedOptionWidth(E,i);d=Math.max(d,_)}}let h=0;if(!c&&t)h=this.measureRenderedOptionWidth(t,i);else if(c&&n&&n.length){if(n.length===1)h=this.measureRenderedOptionWidth(n[0],i);else if(h=this.measureTextWidth(`${n.length} selected`),n.length>0){let v=0;for(const w of n){const E=this.measureRenderedOptionWidth(w,i);v=Math.max(v,E)}h=Math.max(h,v)}}let p=0;o&&(p=this.measureReactNodeWidth(o));const g=Math.max(d,h,p,50);if(r.current){const v=window.getComputedStyle(r.current),w=parseFloat(v.paddingLeft||"0")+parseFloat(v.paddingRight||"0"),E=parseFloat(v.borderLeftWidth||"0")+parseFloat(v.borderRightWidth||"0"),_=a==="Primary"?30:20,A=c?24:0,k=Math.ceil(g*.05)+10;return Math.ceil(g+w+E+_+A+k)}return g+60}catch{return 200}}};var Io=(r=>(r.E="East",r.N="North",r.S="South",r.W="West",r))(Io||{}),sf=(r=>(r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.N="North",r.NE="NorthEast",r.NW="NorthWest",r.S="South",r.SE="SouthEast",r.SW="SouthWest",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(sf||{});function B1(r,e,t,n){if(!r.current||!e.current)return;const o=r.current.getBoundingClientRect(),i=e.current.getBoundingClientRect();let a={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":a=i?{bottom:window.innerHeight-o.top,left:o.left+o.width/2-i.width/2}:{bottom:window.innerHeight-o.top,left:o.left};break;case"NorthWest":a={bottom:window.innerHeight-o.top,left:o.left};break;case"NorthEast":a={bottom:window.innerHeight-o.top,right:window.innerWidth-o.left-o.width};break;case"South":a=i?{top:o.bottom,left:o.left+o.width/2-i.width/2}:{top:o.bottom,left:o.left};break;case"SouthWest":a={top:o.bottom,left:o.left};break;case"SouthEast":a={top:o.bottom,right:window.innerWidth-o.left-o.width};break;case"East":a=i?{top:o.top+o.height/2-i.height/2,left:o.right}:{top:o.top,left:o.right};break;case"EastNorth":a={bottom:window.innerHeight-o.top-o.height,left:o.right};break;case"EastSouth":a={top:o.top,left:o.right};break;case"West":a=i?{top:o.top+o.height/2-i.height/2,right:window.innerWidth-o.left}:{top:o.top,right:window.innerWidth-o.left};break;case"WestNorth":a={bottom:window.innerHeight-o.top-o.height,right:window.innerWidth-o.left};break;case"WestSouth":a={top:o.top,right:window.innerWidth-o.left};break;default:a={top:o.top,left:o.left}}n&&(n.x&&a.left&&(a.left+=n.x),n.y&&a.top&&(a.top+=n.y)),a=kx(a,i),e.current.style.top=a.top+"px",e.current.style.left=a.left+"px",e.current.style.bottom=a.bottom+"px",e.current.style.right=a.right+"px"}function Tx(r,e,t,n){if(!r)return;const o=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!o)return;const i=r.getBoundingClientRect(),a=o.getBoundingClientRect();let c={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":c=a?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-a.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":c={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":c={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":c=a?{top:i.bottom,left:i.left+i.width/2-a.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":c={top:i.bottom,left:i.left};break;case"SouthEast":c={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":c=a?{top:i.top+i.height/2-a.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":c={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":c={top:i.top,left:i.right};break;case"West":c=a?{top:i.top+i.height/2-a.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":c={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":c={top:i.top,right:window.innerWidth-i.left};break;default:c={top:i.top,left:i.left}}return n&&(n.x&&c.left&&(c.left+=n.x),n.y&&c.top&&(c.top+=n.y)),c=kx(c,a),o.style.top=c.top+"px",o.style.left=c.left+"px",o.style.bottom=c.bottom+"px",o.style.right=c.right+"px",c}function kx(r,e,t=10){return r.left&&r.left<t&&(r.left=t),r.right&&r.right<t&&(r.right=t),r.top&&r.top<t&&(r.top=t),r.bottom&&r.bottom<t&&(r.bottom=t),r.left&&e&&r.left+e.width>window.innerWidth-t&&(r.left=window.innerWidth-e.width-t),r.right&&e&&r.right+e.width>window.innerWidth-t&&(r.right=window.innerWidth-e.width-t),r.top&&e&&r.top+e.height>window.innerHeight-t&&(r.top=window.innerHeight-e.height-t),r.bottom&&e&&r.bottom+e.height>window.innerHeight-t&&(r.bottom=window.innerHeight-e.height-t),r}function ku(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const SE="_Tooltip_1khnz_1",_E="_Arrow_1khnz_17",M0={Tooltip:SE,Arrow:_E},Rx=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:o=10,direction:i=Io.S}=r,[a,c]=C.useState(!1),d=C.useRef(null),h=C.useRef(null),p=C.useRef(null),m=C.useCallback(()=>{c(!0),p.current&&(clearTimeout(p.current),p.current=null);const E=setTimeout(()=>L0(t,d,h,o,i),n);p.current=E},[t,n,o,i]),g=C.useCallback(()=>c(!1),[]);C.useEffect(()=>{const E=t.current;if(E)return E.addEventListener("mouseenter",m),E.addEventListener("mouseleave",g),()=>{E.removeEventListener("mouseenter",m),E.removeEventListener("mouseleave",g)}},[t,g,m]);const v=C.useCallback(()=>{L0(t,d,h,o,i)},[t,o,i]);C.useEffect(()=>{if(!t.current||!d.current||!a)return;const E=t.current.parentElement;let _=E;for(;_;)_.addEventListener("scroll",v),_=_.parentElement;return()=>{let A=E;for(;A;)A.removeEventListener("scroll",v),A=A.parentElement}},[t,v,a]),C.useEffect(()=>{v()},[e,v]);const w=C.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!a||w?null:ks.createPortal(S.jsxs("div",{ref:d,className:Ze.clsx(M0.Tooltip,"NoSelect"),children:[e,S.jsx("div",{ref:h,className:M0.Arrow})]}),document.body)},zh="5px solid var(--ATooltip_background-color)";function L0(r,e,t,n,o=Io.S){if(!r.current||!e.current||!t.current)return;const i=AE(r.current,e.current,n,o);if(!i)return;const{left:a,top:c,arrowDir:d,arrow:h}=i;e.current.style.left=`${a}px`,e.current.style.top=`${c}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",d===Io.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderBottom=zh):d===Io.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${h.left??0}px)`,t.current.style.borderTop=zh):d===Io.W?(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=zh):d===Io.E&&(t.current.style.top=`calc(50% - 5px + ${h.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=zh)}const Sc=5;function AE(r,e,t,n){const o=r.getBoundingClientRect(),i=e.getBoundingClientRect();function a(){if(window.innerHeight-o.bottom>i.height+t){const p=o.bottom+t,m=o.left+(o.width-i.width)/2,g=zf(m,Sc,window.innerWidth-Sc-i.width),v=Io.N;return{left:g,top:p,arrowDir:v,arrow:{left:m-g}}}}function c(){if(o.top>i.height+t){const p=o.top-i.height-t,m=o.left+(o.width-i.width)/2,g=zf(m,Sc,window.innerWidth-Sc-i.width),v=Io.S;return{left:g,top:p,arrowDir:v,arrow:{left:m-g}}}}function d(){if(window.innerWidth-o.right>i.width+t){const p=o.right+t,m=o.top+(o.height-i.height)/2,g=zf(m,Sc,window.innerHeight-Sc-i.height),v=Io.W;return{left:p,top:g,arrowDir:v,arrow:{top:m-g}}}}function h(){if(o.left>i.width+t){const p=o.left-i.width-t,m=o.top+(o.height-i.height)/2,g=zf(m,Sc,window.innerHeight-Sc-i.height),v=Io.E;return{left:p,top:g,arrowDir:v,arrow:{top:m-g}}}}if(n===Io.E)return d()||h()||a()||c();if(n===Io.S)return a()||c()||d()||h();if(n===Io.W)return h()||d()||a()||c();if(n===Io.N)return c()||a()||d()||h()}const EE="_ABase_c7a1t_1",TE="_UseDimming_c7a1t_6",kE="_Dimmer_c7a1t_6",RE="_Spinner_c7a1t_9",IE="_Dimmed_c7a1t_12",ME="_HasProgress_c7a1t_18",LE="_IsDimmed_c7a1t_36",DE="_IsLoading_c7a1t_41",OE="_IsDisabled_c7a1t_46",Ad={ABase:EE,UseDimming:TE,Dimmer:kE,Spinner:RE,Dimmed:IE,HasProgress:ME,IsDimmed:LE,IsLoading:DE,IsDisabled:OE},Zr=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:o,isDimmed:i,tooltip:a,tooltipDistance:c=10,tooltipDelay:d=0,tooltipDirection:h=Io.S,progress:p,progressProps:m,...g}=r,v=C.useRef(null),w=C.useMemo(()=>t??v,[t]),E=C.useMemo(()=>typeof n=="string"&&n!==""?n:a!==void 0?a:"",[n,a]),_=C.useMemo(()=>n||o||i,[n,o,i]),A=C.useMemo(()=>n!==void 0||o!==void 0||i!==void 0,[n,o,i]),k=typeof p=="number"&&o;return S.jsxs("div",{...g,ref:w,className:Ze.clsx(g.className,Ad.ABase,A&&Ad.UseDimming,_&&Ad.Dimmed,k&&Ad.HasProgress),children:[e,A&&S.jsx("div",{className:Ze.sclsx(Ad,"Dimmer",n&&"IsDisabled",o&&"IsLoading",i&&"IsDimmed",k&&"HasProgress")}),o&&S.jsxs("div",{className:Ze.sclsx(Ad,"Spinner",n&&"IsDisabled",o&&"IsLoading",k&&"HasProgress"),children:[S.jsx(ln,{icon:"Spinner"}),k&&S.jsx(Ax,{progress:p,...m})]}),S.jsx(Rx,{delay:d,direction:h,distance:c,targetRef:w,tooltip:E})]})},NE="_AButton_vulhu_1",PE="_Primary_vulhu_14",BE="_Secondary_vulhu_19",jE="_Alter_vulhu_24",FE="_AIconButton_vulhu_30",zE="_AThemeButton_vulhu_71",eh={AButton:NE,Primary:PE,Secondary:BE,Alter:jE,AIconButton:FE,AThemeButton:zE},$E=["Primary","Secondary","Alter","Raw"],Zo=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...o}=r,i=C.useMemo(()=>o.isDisabled||o.isLoading,[o.isDisabled,o.isLoading]),a=C.useCallback(c=>{i||t==null||t(c)},[i,t]);return S.jsx(Zr,{...o,className:Ze.clsx(o.className,eh.AButton,e!=="Raw"&&eh[e],"IsClickable",!i&&!n&&"IsInteractive"),onClick:a})},HE=["Primary","Secondary","Raw"],So=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:o,isDisabled:i,isLoading:a,tooltip:c,className:d,...h}=r,p=C.useMemo(()=>i||a,[i,a]),m=C.useCallback(v=>{p||o==null||o(v)},[p,o]),g=C.useMemo(()=>P1.includes(e)?S.jsx(ln,{icon:e,size:t}):e,[e,t]);return S.jsx(Zr,{className:Ze.clsx(eh.AIconButton,!i&&!a&&"IsClickable",n!=="Raw"&&eh[n],d),isDisabled:i,isLoading:a,tooltip:c,onClick:m,...h,children:g})};function gn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=C.useState(e);return C.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const qE="_AWrap_u1f1h_1",WE="_Label_u1f1h_8",UE="_Asterisk_u1f1h_19",VE="_HelperTextConatiner_u1f1h_23",GE="_HelperText_u1f1h_23",Ed={AWrap:qE,Label:WE,Asterisk:UE,HelperTextConatiner:VE,HelperText:GE,Error:"_Error_u1f1h_38"},ZE=["Default","Error"],zc=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:o="Default",label:i,labelProps:a,children:c}=r,d=C.useRef(null),[h,p]=C.useState({height:0}),m=C.useRef(null),[g,v]=C.useMemo(()=>{let E=n,_=o;if(Array.isArray(t)){const A=t.filter(Boolean);A.length>0&&([E,_]=[A,"Error"])}else t&&([E,_]=[t,"Error"]);return Array.isArray(E)&&(_!=="Error"&&(E=E.filter(Boolean)),E=E.map((A,k)=>S.jsxs(C.Fragment,{children:[A,S.jsx("br",{})]},k))),[E,_]},[n,t,o]);C.useEffect(()=>{if(!g||!d.current)p({height:0});else{const E=d.current.getBoundingClientRect();p({height:E.height,marginTop:E.height===0?0:6})}},[g]);const w=C.useMemo(()=>{switch(typeof(a==null?void 0:a.prefix)){case"string":return S.jsx(ln,{height:"1rem",icon:a.prefix,width:"1rem"});case"boolean":return S.jsx(ln,{height:10,icon:"Target",width:10});default:return a==null?void 0:a.prefix}},[a==null?void 0:a.prefix]);return S.jsxs("div",{...e,ref:m,className:Ze.clsx(e==null?void 0:e.className,Ed.AWrap),children:[i&&S.jsxs("div",{className:Ze.clsx(Ed.Label,"NoSelect",a==null?void 0:a.className),style:a==null?void 0:a.style,children:[w,i,(a==null?void 0:a.asterisk)&&S.jsx(Zr,{className:Ed.Asterisk,tooltip:vr.AWrap.Asterisk,children:"*"})]}),c,g!==void 0&&S.jsx("div",{className:Ze.clsx(Ed.HelperTextConatiner,"NoSelect"),style:h,children:S.jsx("div",{ref:d,className:Ze.clsx(Ed.HelperText,Ed[v]),children:g})})]})},YE="_ASwitch_nlcij_1",KE="_Track_nlcij_6",XE="_Truthy_nlcij_13",JE="_Thumb_nlcij_17",Of={ASwitch:YE,Track:KE,Truthy:XE,Thumb:JE},Ix=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:o,...i}=r,[a,c]=gn(o,!1),d=C.useCallback(h=>{var p;i.isDisabled||i.isLoading||(c==null||c(!a),(p=i.onClick)==null||p.call(i,h))},[i,a,c]);return S.jsx(zc,{helperText:t,label:n,wrapProps:{...e},children:S.jsx(Zr,{...i,className:Of.ASwitch,onClick:d,children:S.jsx("div",{className:Ze.clsx(Of.Track,a&&Of.Truthy),children:S.jsx("div",{className:Ze.clsx(Of.Thumb,a&&Of.Truthy)})})})})},QE={palette:{"mode-1":{"common-100":"#ffffff","common-0":"#000000","neutral-99":"#fcfcfc","neutral-94":"#efefef","neutral-89":"#e2e2e2","neutral-84":"#d6d6d6","neutral-79":"#c9c9c9","neutral-73":"#bababa","neutral-65":"#a5a5a5","neutral-54":"#898989","neutral-42":"#6b6b6b","neutral-30":"#4c4c4c","neutral-20":"#333333","neutral-15":"#2c2c2c","neutral-10":"#191919","neutral-5":"#0c0c0c","cool-neutral-99":"#fcfcfc","cool-neutral-94":"#efeff0","cool-neutral-89":"#e1e2e4","cool-neutral-84":"#d4d5d7","cool-neutral-79":"#c7c8cb","cool-neutral-73":"#b7b9bc","cool-neutral-65":"#a2a4a9","cool-neutral-54":"#85888e","cool-neutral-42":"#66696f","cool-neutral-30":"#494b4f","cool-neutral-20":"#303235","cool-neutral-10":"#18191a","cool-neutral-5":"#0c0c0c","red-99":"#fff9f9","red-95":"#ffe5e5","red-90":"#ffcccc","red-84":"#ffadad","red-76":"#ff8484","red-66":"#ff5151","red-53":"#ff0f0f","red-45":"#e50000","red-34":"#a80000","red-30":"#990000","red-24":"#7a0000","red-10":"#330000","green-99":"#fafffa","green-95":"#e5ffe8","green-90":"#ccffd1","green-84":"#adffb6","green-76":"#84ff90","green-66":"#51ff62","green-48":"#00f418","green-45":"#00e517","green-34":"#00a810","green-30":"#00990f","green-24":"#007a0c","green-10":"#003305","blue-99":"#fafdff","blue-95":"#e5f3ff","blue-90":"#cce6ff","blue-84":"#add7ff","blue-76":"#84c3ff","blue-66":"#51abff","blue-53":"#0f8bff","blue-45":"#0077e5","blue-34":"#0056a8","blue-30":"#004f99","blue-24":"#003f7a","blue-10":"#001a33","orange-99":"#fffcfa","orange-95":"#ffefe5","orange-90":"#ffdecc","orange-84":"#ffcbad","orange-76":"#ffb184","orange-66":"#ff9151","orange-53":"#ff670f","orange-45":"#e55400","orange-34":"#a83d00","orange-30":"#993800","orange-24":"#7a2c00","orange-10":"#331200","violet-99":"#fcfaff","violet-95":"#eee5ff","violet-90":"#dcccff","violet-84":"#c7adff","violet-76":"#ab84ff","violet-66":"#8852ff","violet-53":"#5b0fff","violet-45":"#4900e5","violet-34":"#3500a8","violet-28":"#2d008e","violet-24":"#26007a","violet-10":"#100033","cyan-99":"#faffff","cyan-95":"#e5fdff","cyan-90":"#ccfbff","cyan-84":"#adf9ff","cyan-76":"#84f6ff","cyan-66":"#51f3ff","cyan-50":"#00edff","cyan-45":"#00d6e5","cyan-40":"#00becc","cyan-30":"#008e99","cyan-21":"#00636b","cyan-10":"#002f33","pink-99":"#fffefa","pink-95":"#ffe5f5","pink-90":"#ffccea","pink-84":"#ffadde","pink-76":"#ff84ce","pink-66":"#ff51b9","pink-53":"#ff0f9f","pink-45":"#e5008a","pink-40":"#cc007a","pink-30":"#99005b","pink-21":"#6b0040","pink-10":"#33001e","lime-99":"#fcfffa","lime-95":"#eeffe5","lime-90":"#ddffcc","lime-84":"#c8ffad","lime-76":"#adff84","lime-66":"#8bff51","lime-49":"#53f900","lime-45":"#4ce500","lime-40":"#44cc00","lime-30":"#339900","lime-21":"#236b00","lime-10":"#113300","brand-b-color":"#386fff"}},semantic:{light:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","acent-brand-fill":"blue-95","label-normal":"neutral-20","label-strong":"neutral-5","label-neutral":"neutral-73","line-normal":"neutral-79","line-strong":"neutral-65","line-neutral":"neutral-89","background-normal":"common-100","elevation-0":"common-100","elevation-10":"neutral-94","elevation-20":"neutral-73","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-84","inverse-label-strong":"neutral-99","inverse-label-neutral":"neutral-30","inverse-line-normal":"neutral-30","inverse-line-strong":"neutral-54","inverse-line-neutral":"neutral-20","inverse-elevation-0":"neutral-5","inverse-elevation-10":"neutral-10","inverse-elevation-20":"neutral-15"},dark:{"static-white":"common-100","static-black":"common-0","acent-brand":"brand-b-color","acent-brand-fill":"blue-10","label-normal":"neutral-84","label-strong":"neutral-99","label-neutral":"neutral-30","line-normal":"neutral-30","line-strong":"neutral-54","line-neutral":"neutral-20","background-normal":"neutral-5","elevation-0":"neutral-5","elevation-10":"neutral-10","elevation-20":"neutral-15","alert-warning":"orange-53","alert-success":"green-45","alert-danger":"red-45","inverse-label-normal":"neutral-20","inverse-label-strong":"neutral-5","inverse-label-neutral":"neutral-73","inverse-line-normal":"neutral-79","inverse-line-strong":"neutral-65","inverse-line-neutral":"neutral-89","inverse-elevation-0":"common-100","inverse-elevation-10":"neutral-94","inverse-elevation-20":"neutral-73"}}},Do=Od.cloneDeep(QE);or.keys(Do.semantic).forEach(r=>{const e=Do.semantic[r];or.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const Up=or.keys(Do.palette),Mx=or.keys(Do.palette[Up[0]]);function eT(){return uo.paletteMode}function tT(r,e=uo.paletteMode){return Do.palette[e][r]}function rT(r){return Gp(r)}const bp=[];function Lx(r){uo.paletteMode=r,Mx.forEach(e=>document.documentElement.style.setProperty(`--${e}`,Do.palette[r][e])),bp.forEach(e=>e(r))}function Dx(r,e="all"){or.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Up.forEach(i=>{Do.palette[i][n]=o}):Do.palette[e][n]=o)})}const Zd=or.keys(Do.semantic),Ox=or.keys(Do.semantic[Zd[0]]);function nT(){return uo.semanticMode}function oT(r,e=uo.semanticMode){return Do.semantic[e][r]}function iT(r){return Gp(r)}const xp=[];function j1(r){uo.semanticMode=r,document.documentElement.setAttribute("data-theme",r),Ox.forEach(e=>document.documentElement.style.setProperty(`--${e}`,Do.semantic[r][e])),xp.forEach(e=>e(r)),uo.save==="localStorage"?localStorage.setItem("semanticMode",r):uo.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function Nx(r,e=uo.semanticMode){or.keys(r).forEach(n=>{const o=r[n];o!==void 0&&(document.documentElement.style.setProperty(`--${n}`,o),e==="all"?Zd.forEach(i=>{Do.semantic[i][n]=o}):Do.semantic[e][n]=o)})}const Px=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition","Transition-Enabled"],Bx=["ABase_Dimming_background-color"],jx=["ATooltip_background-color","ATooltip_color"],Fx=["AButton_Primary_border","AButton_Primary_background-color","AButton_Primary_color","AButton_Secondary_border","AButton_Secondary_background-color","AButton_Secondary_color","AButton_Alter_border","AButton_Alter_background-color","AButton_Alter_color"],zx=["AInput_Primary_background-color","AInput_Primary_border","AInput_Primary_color","AInput_Primary_hover_border","AInput_Primary_focus_background-color","AInput_Primary_focus_border","AInput_Primary_placeholder_color","AInput_Secondary_background-color","AInput_Secondary_border","AInput_Secondary_color","AInput_Secondary_hover_border","AInput_Secondary_focus_border","AInput_Secondary_placeholder_color","AInput_ReadOnly_background-color","AInput_ReadOnly_border","AInput_ReadOnly_color","AInput_Error_HelperText_color","AInput_Error_background-color","AInput_Error_border","AInput_Error_color","AInput_Error_placeholder_color"],$x=["ATextArea_Primary_background-color","ATextArea_Primary_border","ATextArea_Primary_color","ATextArea_Primary_hover_border","ATextArea_Primary_focus_background-color","ATextArea_Primary_focus_border","ATextArea_Secondary_background-color","ATextArea_Secondary_border","ATextArea_Secondary_color","ATextArea_Secondary_hover_border","ATextArea_Secondary_focus_border","ATextArea_ReadOnly_background-color","ATextArea_ReadOnly_border","ATextArea_ReadOnly_color","ATextArea_Error_background-color","ATextArea_Error_border","ATextArea_Error_color","ATextArea_Error_placeholder_color"],Hx=["AEditor_Primary_background-color","AEditor_Primary_border","AEditor_Primary_color","AEditor_Primary_hover_border","AEditor_Primary_focus_background-color","AEditor_Primary_focus_border","AEditor_ReadOnly_background-color","AEditor_ReadOnly_border","AEditor_ReadOnly_hover_border","AEditor_ReadOnly_focus_border","AEditor_ReadOnly_color","AEditor_Error_background-color","AEditor_Error_border","AEditor_Error_color","AEditor_Error_placeholder_color","AEditor_Addon_Primary_background-color","AEditor_Addon_Primary_border","AEditor_Addon_Primary_color","AEditor_Addon_Secondary_background-color","AEditor_Addon_Secondary_border","AEditor_Addon_Secondary_color","AEditor_Addon_hover_background-color","AEditor_Addon_hover_color","AEditor_Addon_focus_border","AEditor_border-radius","AEditor_Select_border-radius","AEditor_Option_border-radius"],qx=["ACheckBox_color"],Wx=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],Ux=["ASelect_Placeholder_color","ASelect_Primary_border","ASelect_Primary_hover_border","ASelect_Primary_Arrow_color","ASelect_Primary_Options_background-color","ASelect_Primary_Options_border","ASelect_Primary_Option_hover_background-color","ASelect_Primary_Option_active_background-color","ASelect_Primary_Option_Selected_background-color","ASelect_Secondary_border","ASelect_Secondary_hover_border","ASelect_Secondary_background-color","ASelect_Secondary_Arrow_color","ASelect_Secondary_Options_background-color","ASelect_Secondary_Options_border","ASelect_Secondary_Option_hover_background-color","ASelect_Secondary_Option_active_background-color","ASelect_Secondary_Option_Selected_background-color"],Vx=["AMultiSelect_Placeholder_color","AMultiSelect_Primary_border","AMultiSelect_Primary_hover_border","AMultiSelect_Primary_Arrow_color","AMultiSelect_Primary_Options_background-color","AMultiSelect_Primary_Options_border","AMultiSelect_Primary_Option_hover_background-color","AMultiSelect_Primary_Option_active_background-color","AMultiSelect_Primary_Option_Selected_background-color","AMultiSelect_Secondary_border","AMultiSelect_Secondary_hover_border","AMultiSelect_Secondary_background-color","AMultiSelect_Secondary_Arrow_color","AMultiSelect_Secondary_Options_background-color","AMultiSelect_Secondary_Options_border","AMultiSelect_Secondary_Option_hover_background-color","AMultiSelect_Secondary_Option_active_background-color","AMultiSelect_Secondary_Option_Selected_background-color"],Gx=["ATree_background-color","ATree_Indent_border","ATreeBodyHeader_border-bottom","ATreeItem_hover_background-color","ATreeItem_active_background-color","ATreeItem_select_background-color","ATreeItem_search_background-color","ATreeItem_search_border-top","ATreeItem_search_border-bottom","ATreeItem_select_color"],Zx=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],Yx=["ATab_IndicatorTrack_Primary_border-bottom","ATab_Indicator_Primary_background-color","ATab_Option_Secondary_border","ATab_Option_Secondary_IsSelected_border-bottom","ATab_Option_Secondary_IsDisabled_border","ATab_IndicatorTrack_Tertiary_background-color","ATab_Indicator_Tertiary_background-color","ATab_Option_Tertiary_color","ATab_Option_Tertiary_IsSelected_color","ATab_Option_Quaternary_color","ATab_Option_Quaternary_IsSelected_color"],Kx=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],Xx=["AListView_border-thin","AListView_border-thick"],Jx=["AStepper_OutCircle_background-color","AStepper_OutCircle_IsOver_background-color","AStepper_InCircle_background-color","AStepper_InCircle_IsOver_background-color","AStepper_Line_background-color","AStepper_Line_IsOver_background-color"],Qx=["ADatePicker_Anchor_border","ADatePicker_Anchor_color","ADatePicker_Anchor_Placeholder_color","ADatePicker_Anchor_hover_border","ADatePicker_Anchor_focus_border","ADatePicker_Anchor_Icon_Primary_color","ADatePicker_Anchor_Icon_Secondary_color","ADatePicker_background-color","ADatePicker_border","ADatePicker_StringInputContainer_background-color","ADatePicker_String_border","ADatePicker_Prev_background-color","ADatePicker_Prev_border-right","ADatePicker_Next_background-color","ADatePicker_Next_border-left","ADatePicker_Cell_color","ADatePicker_Cell_IsNotCurrentMonth_color","ADatePicker_Cell_IsDisabled_color","ADatePicker_Cell_IsSelected_background-color","ADatePicker_Cell_IsSelected_color","ADatePicker_Cell_IsHovered_background-color"],ew=["ADateRangePicker_Anchor_border","ADateRangePicker_Anchor_color","ADateRangePicker_Anchor_Placeholder_color","ADateRangePicker_Anchor_hover_border","ADateRangePicker_Anchor_focus_border","ADateRangePicker_Anchor_Icon_Primary_color","ADateRangePicker_Anchor_Icon_Secondary_color","ADateRangePicker_background-color","ADateRangePicker_border","ADateRangePicker_StringInputContainer_background-color","ADateRangePicker_String_border","ADateRangePicker_Prev_background-color","ADateRangePicker_Prev_border-right","ADateRangePicker_Next_background-color","ADateRangePicker_Next_border-left","ADateRangePicker_Cell_color","ADateRangePicker_Cell_IsNotCurrentMonth_color","ADateRangePicker_Cell_IsDisabled_color","ADateRangePicker_Cell_IsSelected_background-color","ADateRangePicker_Cell_IsSelected_color","ADateRangePicker_Cell_IsHovered_background-color"],tw=["AIconButton_Primary_color","AIconButton_Primary_border","AIconButton_Primary_background-color","AIconButton_Primary_hover_background-color","AIconButton_Primary_active_background-color","AIconButton_Secondary_color","AIconButton_Secondary_background-color","AIconButton_Secondary_hover_background-color","AIconButton_Secondary_active_background-color"],rw=["ATableBody_TRow_border-bottom","ATableBody_TRow_IsSelected_background-color","ATableBody_TRow_IsSelectable_hover_background-color","ATableBody_TH_color","ATableBody_TD_IsMarked_background-color","ATableBody_TD_IsMarked_color","ATableBody_Resizer_hover_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerCenter_background-color","ATableBody_Resizer_active_ResizerOut_background-color","ATableBody_Resizer_active_ResizerIn_background-color","ATableFooter_Button_IsSelected_background-color","ATableFooter_Button_IsSelected_color","ATableFooter_Button_IsDisabled_color","ATableFilter_SubFilters_background-color","ATableFilter_SubFilters_border","ATableFilter_Icon_color","ATableFilter_Alert_color"],nw=["ADivideFrame_DividerInner_background-color"],ow=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],iw=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],sw=["AWrap_Error_color"],aw=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],lw=["AChip_background-color","AChip_color","AChip_border","AChip_hover_background-color","AChip_hover_color","AChip_DeleteButton_border","AChip_DeleteButton_color","AChip_DeleteButton_hover_border","AChip_DeleteButton_hover_color"],sT=[...Px,...Bx,...jx,...Fx,...zx,...$x,...Hx,...qx,...Wx,...Ux,...Vx,...Gx,...Zx,...Yx,...Kx,...Xx,...Jx,...Qx,...ew,...tw,...rw,...nw,...ow,...iw,...sw,...aw,...lw],Vp={"Body-background-color":"var(--background-normal)","Body-color":"var(--label-normal)","Body-transition":"background-color var(--Transition), color var(--Transition)",Font:"400 16px pretendard","Scrollbar-handle":"var(--label-neutral)","Scrollbar-handle-hover":"var(--label-normal)","Scrollbar-handle-active":"var(--label-strong)","Scrollbar-track":"var(--elevation-10)","Scrollbar-border-radius":"6px","Scrollbar-width":"12px",Transition:"300ms","Transition-Enabled":"1","ABase_Dimming_background-color":"var(--elevation-0)","ATooltip_background-color":"var(--inverse-elevation-0)",ATooltip_color:"var(--inverse-label-strong)",AButton_Primary_border:"none","AButton_Primary_background-color":"var(--acent-brand)",AButton_Primary_color:"var(--static-white)",AButton_Secondary_border:"1px solid var(--elevation-10)","AButton_Secondary_background-color":"var(--elevation-10)",AButton_Secondary_color:"var(--label-normal)",AButton_Alter_border:"1px solid var(--line-normal)","AButton_Alter_background-color":"var(--elevation-0)",AButton_Alter_color:"var(--label-normal)","AInput_Primary_background-color":"var(--elevation-0)",AInput_Primary_border:"1px solid var(--line-normal)",AInput_Primary_color:"var(--label-normal)",AInput_Primary_hover_border:"1px solid var(--line-strong)","AInput_Primary_focus_background-color":"var(--elevation-10)",AInput_Primary_focus_border:"1px solid var(--line-strong)",AInput_Primary_placeholder_color:"var(--label-neutral)","AInput_Secondary_background-color":"var(--elevation-0)",AInput_Secondary_border:"1px solid var(--line-normal)",AInput_Secondary_color:"var(--label-normal)",AInput_Secondary_hover_border:"1px solid var(--line-strong)",AInput_Secondary_focus_border:"1px solid var(--line-strong)",AInput_Secondary_placeholder_color:"var(--label-neutral)","AInput_ReadOnly_background-color":"var(--elevation-10)",AInput_ReadOnly_border:"none",AInput_ReadOnly_color:"var(--label-normal)",AInput_Error_HelperText_color:"var(--alert-danger)","AInput_Error_background-color":"inherit",AInput_Error_border:"1px solid var(--line-normal)",AInput_Error_color:"var(--label-normal)",AInput_Error_placeholder_color:"var(--label-neutral)","ATextArea_Primary_background-color":"var(--elevation-0)",ATextArea_Primary_border:"1px solid var(--line-normal)",ATextArea_Primary_color:"var(--label-normal)",ATextArea_Primary_hover_border:"1px solid var(--line-strong)","ATextArea_Primary_focus_background-color":"var(--elevation-10)",ATextArea_Primary_focus_border:"1px solid var(--line-strong)","ATextArea_Secondary_background-color":"var(--elevation-0)",ATextArea_Secondary_border:"1px solid var(--line-normal)",ATextArea_Secondary_color:"var(--label-normal)",ATextArea_Secondary_hover_border:"1px solid var(--line-strong)",ATextArea_Secondary_focus_border:"1px solid var(--line-strong)","ATextArea_ReadOnly_background-color":"var(--elevation-10)",ATextArea_ReadOnly_border:"none",ATextArea_ReadOnly_color:"var(--label-normal)","ATextArea_Error_background-color":"inherit",ATextArea_Error_border:"1px solid var(--line-normal)",ATextArea_Error_color:"var(--label-normal)",ATextArea_Error_placeholder_color:"var(--label-neutral)","AEditor_Primary_background-color":"var(--elevation-0)",AEditor_Primary_border:"1px solid var(--line-normal)",AEditor_Primary_color:"var(--label-normal)",AEditor_Primary_hover_border:"1px solid var(--line-strong)","AEditor_Primary_focus_background-color":"var(--elevation-0)",AEditor_Primary_focus_border:"1px solid var(--line-strong)","AEditor_ReadOnly_background-color":"var(--elevation-0)",AEditor_ReadOnly_border:"1px solid var(--line-normal)",AEditor_ReadOnly_hover_border:"1px solid var(--line-strong)",AEditor_ReadOnly_focus_border:"1px solid var(--line-strong)",AEditor_ReadOnly_color:"var(--label-normal)","AEditor_Error_background-color":"inherit",AEditor_Error_border:"1px solid var(--alert-danger)",AEditor_Error_color:"var(--alert-danger)",AEditor_Error_placeholder_color:"var(--alert-danger)","AEditor_Addon_Primary_background-color":"var(--background-normal)",AEditor_Addon_Primary_border:"1px solid var(--line-normal)",AEditor_Addon_Primary_color:"var(--label-normal)","AEditor_Addon_Secondary_background-color":"var(--background-normal)",AEditor_Addon_Secondary_border:"1px solid var(--line-strong)",AEditor_Addon_Secondary_color:"var(--label-neutral)","AEditor_Addon_hover_background-color":"var(--elevation-10)",AEditor_Addon_hover_color:"var(--acent-brand)",AEditor_Addon_focus_border:"1px solid var(--line-strong)","AEditor_border-radius":"2px","AEditor_Select_border-radius":"6px","AEditor_Option_border-radius":"6px",ACheckBox_color:"var(--label-normal)","ADialog_Paper_background-color":"#00000060","ADialog_background-color":"var(--elevation-0)",ADialog_border:"1px solid var(--line-neutral)","ADialog_Action_background-color":"var(--elevation-0)",ASelect_Placeholder_color:"var(--label-neutral)",ASelect_Primary_border:"1px solid var(--line-normal)",ASelect_Primary_hover_border:"1px solid var(--line-strong)",ASelect_Primary_Arrow_color:"var(--label-normal)","ASelect_Primary_Options_background-color":"var(--elevation-0)",ASelect_Primary_Options_border:"1px solid var(--line-normal)","ASelect_Primary_Option_hover_background-color":"var(--elevation-10)","ASelect_Primary_Option_active_background-color":"var(--elevation-10)","ASelect_Primary_Option_Selected_background-color":"var(--elevation-20)",ASelect_Secondary_border:"1px solid var(--elevation-10)",ASelect_Secondary_hover_border:"1px solid var(--elevation-10)","ASelect_Secondary_background-color":"var(--elevation-10)",ASelect_Secondary_Arrow_color:"var(--label-normal)","ASelect_Secondary_Options_background-color":"var(--elevation-0)",ASelect_Secondary_Options_border:"var(--line-normal)","ASelect_Secondary_Option_hover_background-color":"var(--elevation-10)","ASelect_Secondary_Option_active_background-color":"var(--elevation-10)","ASelect_Secondary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Placeholder_color:"var(--label-neutral)",AMultiSelect_Primary_border:"1px solid var(--line-normal)",AMultiSelect_Primary_hover_border:"1px solid var(--line-strong)",AMultiSelect_Primary_Arrow_color:"var(--label-normal)","AMultiSelect_Primary_Options_background-color":"var(--elevation-0)",AMultiSelect_Primary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Primary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Primary_Option_Selected_background-color":"var(--elevation-20)",AMultiSelect_Secondary_border:"1px solid var(--elevation-10)",AMultiSelect_Secondary_hover_border:"1px solid var(--elevation-10)","AMultiSelect_Secondary_background-color":"var(--elevation-10)",AMultiSelect_Secondary_Arrow_color:"var(--label-normal)","AMultiSelect_Secondary_Options_background-color":"var(--elevation-0)",AMultiSelect_Secondary_Options_border:"1px solid var(--line-normal)","AMultiSelect_Secondary_Option_hover_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_active_background-color":"var(--elevation-10)","AMultiSelect_Secondary_Option_Selected_background-color":"var(--elevation-20)","ATree_background-color":"var(--elevation-0)",ATree_Indent_border:"1px solid var(--line-normal)","ATreeBodyHeader_border-bottom":"1px solid var(--line-normal)","ATreeItem_hover_background-color":"var(--elevation-10)","ATreeItem_active_background-color":"var(--elevation-10)","ATreeItem_select_background-color":"var(--elevation-10)","ATreeItem_search_background-color":"yellow","ATreeItem_search_border-top":"1px dashed var(--label-normal)","ATreeItem_search_border-bottom":"1px dashed var(--label-normal)",ATreeItem_select_color:"var(--label-normal)",ASwitch_Track_Falsy_border:"12px solid var(--elevation-20)",ASwitch_Track_Truthy_border:"12px solid var(--acent-brand)",ASwitch_Thumb_border:"9px solid var(--static-white)","ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--line-normal)","ATab_Indicator_Primary_background-color":"var(--label-normal)",ATab_Option_Secondary_border:"2px solid var(--label-normal)","ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--elevation-0)",ATab_Option_Secondary_IsDisabled_border:"2px solid var(--line-neutral)","ATab_IndicatorTrack_Tertiary_background-color":"var(--line-normal)","ATab_Indicator_Tertiary_background-color":"var(--elevation-0)",ATab_Option_Tertiary_color:"var(--line-strong)",ATab_Option_Tertiary_IsSelected_color:"var(--label-strong)",ATab_Option_Quaternary_color:"var(--label-neutral)",ATab_Option_Quaternary_IsSelected_color:"var(--label-normal)",AFileBox_border:"1px dashed var(--label-normal)","AFileBox_background-color":"var(--elevation-10)",AFileBox_SelectedFile_color:"var(--label-normal)",AFileBox_Dropping_color:"var(--label-normal)","AListView_border-thin":"1px solid var(--line-neutral)","AListView_border-thick":"3px solid var(--line-neutral)","AStepper_OutCircle_background-color":"transparent","AStepper_OutCircle_IsOver_background-color":"var(--elevation-10)","AStepper_InCircle_background-color":"var(--elevation-20)","AStepper_InCircle_IsOver_background-color":"var(--label-normal)","AStepper_Line_background-color":"var(--line-neutral)","AStepper_Line_IsOver_background-color":"var(--label-normal)",ADatePicker_Anchor_border:"1px solid var(--line-normal)",ADatePicker_Anchor_color:"var(--label-normal)",ADatePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADatePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADatePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADatePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADatePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADatePicker_background-color":"var(--elevation-0)",ADatePicker_border:"1px solid var(--line-neutral)","ADatePicker_StringInputContainer_background-color":"var(--label-neutral)",ADatePicker_String_border:"1px solid var(--label-normal)","ADatePicker_Prev_background-color":"var(--elevation-10)","ADatePicker_Prev_border-right":"6px solid var(--label-normal)","ADatePicker_Next_background-color":"var(--elevation-10)","ADatePicker_Next_border-left":"6px solid var(--label-normal)",ADatePicker_Cell_color:"var(--label-normal)",ADatePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADatePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADatePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADatePicker_Cell_IsSelected_color:"var(--label-normal)","ADatePicker_Cell_IsHovered_background-color":"var(--elevation-10)",ADateRangePicker_Anchor_border:"1px solid var(--line-normal)",ADateRangePicker_Anchor_color:"var(--label-normal)",ADateRangePicker_Anchor_Placeholder_color:"var(--label-neutral)",ADateRangePicker_Anchor_hover_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_focus_border:"1px solid var(--line-strong)",ADateRangePicker_Anchor_Icon_Primary_color:"var(--label-normal)",ADateRangePicker_Anchor_Icon_Secondary_color:"var(--label-normal)","ADateRangePicker_background-color":"var(--elevation-0)",ADateRangePicker_border:"1px solid var(--line-neutral)","ADateRangePicker_StringInputContainer_background-color":"var(--label-neutral)",ADateRangePicker_String_border:"1px solid var(--label-normal)","ADateRangePicker_Prev_background-color":"var(--elevation-10)","ADateRangePicker_Prev_border-right":"6px solid var(--label-normal)","ADateRangePicker_Next_background-color":"var(--elevation-10)","ADateRangePicker_Next_border-left":"6px solid var(--label-normal)",ADateRangePicker_Cell_color:"var(--label-normal)",ADateRangePicker_Cell_IsNotCurrentMonth_color:"var(--label-neutral)",ADateRangePicker_Cell_IsDisabled_color:"var(--label-neutral)","ADateRangePicker_Cell_IsSelected_background-color":"var(--elevation-20)",ADateRangePicker_Cell_IsSelected_color:"var(--label-normal)","ADateRangePicker_Cell_IsHovered_background-color":"var(--elevation-10)",AIconButton_Primary_color:"var(--label-normal)",AIconButton_Primary_border:"1px solid var(--line-normal)","AIconButton_Primary_background-color":"var(--elevation-0)","AIconButton_Primary_hover_background-color":"var(--elevation-10)","AIconButton_Primary_active_background-color":"var(--elevation-20)",AIconButton_Secondary_color:"var(--label-normal)","AIconButton_Secondary_background-color":"var(--elevation-0)","AIconButton_Secondary_hover_background-color":"var(--elevation-10)","AIconButton_Secondary_active_background-color":"var(--elevation-20)","ATableBody_TRow_border-bottom":"1px solid var(--line-normal)","ATableBody_TRow_IsSelected_background-color":"var(--elevation-10)","ATableBody_TRow_IsSelectable_hover_background-color":"var(--elevation-10)",ATableBody_TH_color:"var(--label-neutral)","ATableBody_TD_IsMarked_background-color":"yellow",ATableBody_TD_IsMarked_color:"var(--label-normal)","ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerCenter_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerOut_background-color":"var(--line-neutral)","ATableBody_Resizer_active_ResizerIn_background-color":"var(--line-neutral)","ATableFooter_Button_IsSelected_background-color":"var(--elevation-10)",ATableFooter_Button_IsSelected_color:"var(--label-normal)",ATableFooter_Button_IsDisabled_color:"var(--label-neutral)","ATableFilter_SubFilters_background-color":"var(--elevation-0)",ATableFilter_SubFilters_border:"1px solid var(--line-normal)",ATableFilter_Icon_color:"var(--label-normal)",ATableFilter_Alert_color:"var(--alert-danger)","ADivideFrame_DividerInner_background-color":"var(--line-normal)","AFloatMenu_background-color":"var(--elevation-0)","AFloatMenu_hover_background-color":"var(--elevation-10)",AFloatMenu_color:"var(--label-normal)",AFloatMenu_border:"1px solid var(--line-neutral)","ALoadingBorder_background-color":"var(--label-normal)","ALoadingBorder_ProgressBar_background-color":"var(--elevation-0)","ALoadingBorder_Cover_background-color":"var(--label-normal)",AWrap_Error_color:"var(--alert-danger)",ARadioSelect_RadioButton_border:"1px solid var(--line-normal)","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color":"var(--acent-brand)","AChip_background-color":"var(--elevation-10)",AChip_color:"var(--label-normal)",AChip_border:"1px solid var(--line-normal)","AChip_hover_background-color":"var(--elevation-20)",AChip_hover_color:"var(--label-normal)",AChip_DeleteButton_border:"9px solid var(--line-normal)",AChip_DeleteButton_color:"var(--label-normal)",AChip_DeleteButton_hover_border:"9px solid var(--line-strong)",AChip_DeleteButton_hover_color:"var(--label-normal)"};function aT(r){return Vp[r]}function lT(r){return Gp(r)}function cw(r){or.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),Vp[t]=n)})}function cT(r){or.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const o=Do.semantic[uo.semanticMode][n];o!==void 0&&(document.documentElement.style.setProperty(t,o),Vp[t]=o)})}const uo={paletteMode:Up[0],semanticMode:Zd[0],save:"",followDeviceSetting:!1};function uT({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(uo.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),o=a=>{uo.semanticMode=a.matches?"dark":"light"};o(n);const i=a=>o(a);n.addEventListener("change",i)}if(e!==void 0){if(uo.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Zd.includes(n)&&(uo.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Zd.includes(n)&&(uo.semanticMode=n)}}r!==void 0&&(uo.semanticMode=r),Lx(uo.paletteMode),j1(uo.semanticMode),Dx(Do.palette[uo.paletteMode]),Nx(Do.semantic[uo.semanticMode]),cw(Vp)}function dT(r){r.type==="semanticModeChange"?xp.push(r.listener):r.type==="paletteModeChange"?bp.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function fT(r){if(r.type==="semanticModeChange"){const e=xp.indexOf(r.listener);e!==-1&&xp.splice(e,1)}else if(r.type==="paletteModeChange"){const e=bp.indexOf(r.listener);e!==-1&&bp.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function Gp(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function hT(r){Object.assign(Ze.additionalClasses,r),Ze.updateKeys(),Ze.additionalClasses=Ze.additionalClasses}const $f={getCurrentPaletteMode:eT,getPaletteValue:tT,getPaletteDeepValue:rT,changePaletteMode:Lx,editPalette:Dx,getCurrentSemanticMode:nT,getSemanticValue:oT,getSemanticDeepValue:iT,changeSemanticMode:j1,editSemantic:Nx,getComponentStyleValue:aT,getComponentStyleDeepValue:lT,editComponentStyle:cw,editComponentStyleWithSemantic:cT,init:uT,addEventListener:dT,removeEventListener:fT,getDeepValue:Gp,addClasses:hT},pT=r=>{const{onChange:e,onClick:t,type:n="Icon",...o}=r,[i,a]=C.useState($f.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),c=C.useCallback(d=>{const h=$f.getCurrentSemanticMode();let p="light";h==="light"?p="dark":h==="dark"&&(p="light"),$f.changeSemanticMode(p),a(gT[p]),e==null||e(p),t==null||t(d)},[e,t]);if(n==="Icon")return S.jsx(So,{...o,className:Ze.clsx(eh.AThemeButton,o.className,"IsInteractive"),icon:i,type:"Raw",onClick:c});if(n==="Switch")return S.jsx(Ix,{...o,useCheck:[$f.getCurrentSemanticMode()==="dark",c]})},gT={light:"Sun",dark:"Moon"},mT="_ACheckBoxWrap_1ozuz_1",vT="_ACheckBox_1ozuz_1",D0={ACheckBoxWrap:mT,ACheckBox:vT},Yd=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:o,onClick:i,...a}=r,[c,d]=gn(e,!1),h=C.useCallback(p=>{n||o||(d==null||d(!c),i==null||i(p))},[n,o,i,c,d]);return S.jsx(Zr,{...a,className:Ze.clsx(a.className,D0.ACheckBoxWrap),isDisabled:n,isLoading:o,onClick:h,children:S.jsx(ln,{className:D0.ACheckBox,icon:t?"Check.Indeterminate":c?"Check.Checked":"Check.UnChecked"})})};function yT(r){return typeof r=="function"}function bT(r,e){return yT(r)?r(e):r}const Or={getContent:bT};class O0{constructor(e){ce(this,"capacity");ce(this,"cache",new Map);this.capacity=e}get(e){if(!this.cache.has(e))return;const t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}put(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.capacity){const n=this.cache.keys().next().value;n!==void 0&&this.cache.delete(n)}this.cache.set(e,t)}delete(e){return this.cache.delete(e)}clear(){this.cache.clear()}entries(){return Array.from(this.cache.entries())}}const Ru=class Ru{constructor(){ce(this,"databases",{});ce(this,"caches",{});ce(this,"DEFAULT_CACHE_SIZE",100)}static getInstance(){return Ru.instance||(Ru.instance=new Ru),Ru.instance}getCache(e,t){const n=`${e}_${t}`;return this.caches[n]||(this.caches[n]=new O0(this.DEFAULT_CACHE_SIZE)),this.caches[n]}async getDB(e,t,n=1){return this.databases[e]?this.databases[e]:new Promise((o,i)=>{if(!window.indexedDB){console.error("이 브라우저는 IndexedDB를 지원하지 않습니다."),i(new Error("IndexedDB not supported"));return}const a=window.indexedDB.open(e,n);a.onerror=c=>{console.error("IndexedDB 연결 오류:",c.target.error),i(c.target.error)},a.onsuccess=c=>{const d=c.target.result;this.databases[e]=d,o(d)},a.onupgradeneeded=c=>{const d=c.target.result;d.objectStoreNames.contains(t)||d.createObjectStore(t,{keyPath:"id"}).createIndex("updatedAt_idx","updatedAt",{unique:!1})}})}async save(e,t,n){this.getCache(e,t).put(n.id,{...n});const c=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const p=c.put(n);p.onsuccess=()=>d(),p.onerror=m=>{console.error("데이터 저장 오류:",m.target.error),h(m.target.error)}})}async batchSave(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.put(d.id,{...d}));const a=(await this.getDB(e,t)).transaction([t],"readwrite"),c=a.objectStore(t);return new Promise((d,h)=>{a.oncomplete=()=>d(),a.onerror=p=>{console.error("배치 저장 오류:",p.target.error),h(p.target.error)},n.forEach(p=>c.put(p))})}async get(e,t,n){const o=this.getCache(e,t),i=o.get(n);if(i)return i;const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((h,p)=>{const m=d.get(n);m.onsuccess=()=>{const g=m.result;g&&o.put(n,g),h(g||null)},m.onerror=g=>{console.error("데이터 조회 오류:",g.target.error),p(g.target.error)}})}async getByIndex(e,t,n,o){const d=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t).index(n);return new Promise((h,p)=>{const m=d.getAll(o);m.onsuccess=()=>{const g=m.result,v=this.getCache(e,t);g.forEach(w=>{w&&w.id&&v.put(w.id,w)}),h(g)},m.onerror=g=>{console.error("인덱스 조회 오류:",g.target.error),p(g.target.error)}})}async delete(e,t,n){this.getCache(e,t).delete(n);const c=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((d,h)=>{const p=c.delete(n);p.onsuccess=()=>d(),p.onerror=m=>{console.error("데이터 삭제 오류:",m.target.error),h(m.target.error)}})}async batchDelete(e,t,n){if(n.length===0)return;const o=this.getCache(e,t);n.forEach(d=>o.delete(d));const a=(await this.getDB(e,t)).transaction([t],"readwrite"),c=a.objectStore(t);return new Promise((d,h)=>{a.oncomplete=()=>d(),a.onerror=p=>{console.error("배치 삭제 오류:",p.target.error),h(p.target.error)},n.forEach(p=>c.delete(p))})}async getAll(e,t){const i=(await this.getDB(e,t)).transaction([t],"readonly").objectStore(t);return new Promise((a,c)=>{const d=i.getAll();d.onsuccess=()=>{const h=d.result,p={},m=this.getCache(e,t);h.forEach(g=>{g.id&&(p[g.id]=g,m.put(g.id,g))}),a(p)},d.onerror=h=>{console.error("데이터 전체 조회 오류:",h.target.error),c(h.target.error)}})}async clear(e,t){this.getCache(e,t).clear();const a=(await this.getDB(e,t)).transaction([t],"readwrite").objectStore(t);return new Promise((c,d)=>{const h=a.clear();h.onsuccess=()=>c(),h.onerror=p=>{console.error("데이터 초기화 오류:",p.target.error),d(p.target.error)}})}getCached(e,t,n){return this.getCache(e,t).get(n)||null}clearCached(e,t){this.getCache(e,t).clear()}setCacheSize(e,t,n){const o=`${e}_${t}`,a=this.getCache(e,t).entries();this.caches[o]=new O0(n);for(const[c,d]of a)this.caches[o].get(c)===void 0&&c!==void 0&&this.caches[o].put(c,d)}};ce(Ru,"instance");let e1=Ru;const Js=e1.getInstance(),ta={save:(r,e,t)=>Js.save(r,e,t),get:(r,e,t)=>Js.get(r,e,t),delete:(r,e,t)=>Js.delete(r,e,t),getAll:(r,e)=>Js.getAll(r,e),clear:(r,e)=>Js.clear(r,e),batchSave:(r,e,t)=>Js.batchSave(r,e,t),batchDelete:(r,e,t)=>Js.batchDelete(r,e,t),getByIndex:(r,e,t,n)=>Js.getByIndex(r,e,t,n),getCached:(r,e,t)=>Js.getCached(r,e,t),clearCached:(r,e)=>Js.clearCached(r,e),setCacheSize:(r,e,t)=>Js.setCacheSize(r,e,t)};function uw(r,e,t={}){const{dataFieldName:n="data"}=t,[o,i]=C.useState(!1),[a,c]=C.useState(null),d=C.useRef(new Map);C.useEffect(()=>{const F=d.current;return()=>{F.forEach(G=>G.abort()),F.clear()}},[]);const h=C.useCallback(F=>{const G=d.current,pe=G.get(F);pe&&pe.abort();const B=new AbortController;return G.set(F,B),B},[]),p=C.useCallback(F=>{d.current.delete(F)},[]),m=C.useCallback(async(F,G)=>{try{i(!0),c(null),h(F);const pe=await G();return p(F),pe}catch(pe){return pe instanceof Error&&pe.name==="AbortError"||c(pe instanceof Error?pe:new Error(String(pe))),null}finally{i(!1)}},[h,p]),g=C.useCallback(async(F,G)=>F?await m(`save_${F}`,async()=>(await ta.save(r,e,{id:F,[n]:G,updatedAt:new Date().toISOString()}),!0))===!0:!1,[r,e,n,m]),v=C.useCallback(async F=>F.length?await m(`batch_save_${Date.now()}`,async()=>{const G=F.map(pe=>({id:pe.id,[n]:pe.data,updatedAt:new Date().toISOString()}));return await ta.batchSave(r,e,G),!0})===!0:!1,[r,e,n,m]),w=C.useCallback(async F=>F?await m(`get_${F}`,async()=>{const G=await ta.get(r,e,F);return(G==null?void 0:G[n])||null}):null,[r,e,n,m]),E=C.useCallback(F=>{if(!F)return null;const G=ta.getCached(r,e,F);return(G==null?void 0:G[n])||null},[r,e,n]),_=C.useCallback(async F=>F?await m(`delete_${F}`,async()=>(await ta.delete(r,e,F),!0))===!0:!1,[r,e,m]),A=C.useCallback(async F=>F.length?await m(`batch_delete_${Date.now()}`,async()=>(await ta.batchDelete(r,e,F),!0))===!0:!1,[r,e,m]),k=C.useCallback(async()=>await m(`get_all_${Date.now()}`,async()=>{const F=await ta.getAll(r,e);return Object.entries(F).reduce((G,[pe,B])=>(G[pe]=B[n],G),{})})||{},[r,e,n,m]),D=C.useCallback(async()=>await m(`clear_all_${Date.now()}`,async()=>(await ta.clear(r,e),!0))===!0,[r,e,m]),I=C.useCallback(F=>{const G=d.current.get(F);G&&(G.abort(),d.current.delete(F))},[]),P=C.useCallback(()=>{new Map(d.current).forEach(G=>G.abort()),d.current.clear()},[]),j=C.useCallback(F=>{ta.setCacheSize(r,e,F)},[r,e]),W=C.useCallback(()=>{ta.clearCached(r,e)},[r,e]);return{save:g,get:w,delete:_,getAll:k,clearAll:D,batchSave:v,batchDelete:A,getCached:E,setCacheSize:j,clearCache:W,cancelOperation:I,cancelAllOperations:P,isLoading:o,error:a}}const xT="LayoutDB",wT="layouts";function dw(){const r=uw(xT,wT,{dataFieldName:"lengths"}),[e,t]=C.useState({}),n=C.useRef({}),o=async(p,m)=>await r.save(p,m),i=async p=>await r.get(p),a=p=>r.getCached(p),c=p=>{const m=a(p);return m?{data:m,isLoaded:!0}:n.current[p]!==void 0?{data:n.current[p],isLoaded:!!e[p]}:(e[p]||(n.current[p]=null,i(p).then(g=>{n.current[p]=g,t(v=>({...v,[p]:!0}))})),{data:null,isLoaded:!1})},d=async p=>(t(m=>{const g={...m};return delete g[p],g}),n.current[p]!==void 0&&delete n.current[p],await r.delete(p)),h=C.useCallback(()=>{t({}),n.current={}},[]);return{save:o,get:i,getCached:a,getSync:c,deleteItem:d,resetSyncState:h,isLoading:r.isLoading,error:r.error}}const CT="_ARowFrame_1vo43_1",ST="_AColFrame_1vo43_7",_T="_AOverflowFrame_1vo43_13",AT="_ADivideFrame_1vo43_22",ET="_Row_1vo43_30",TT="_Col_1vo43_33",kT="_FadeIn_1vo43_36",RT="_NoTransition_1vo43_39",IT="_ChildFrame_1vo43_43",MT="_Divider_1vo43_61",LT="_IsMoving_1vo43_69",DT="_NoDraggable_1vo43_69",OT="_DividerInner_1vo43_72",NT="_IsClicked_1vo43_97",PT="_RemoteButton_1vo43_132",BT="_isExpanded_1vo43_139",co={ARowFrame:CT,AColFrame:ST,AOverflowFrame:_T,ADivideFrame:AT,Row:ET,Col:TT,FadeIn:kT,NoTransition:RT,ChildFrame:IT,Divider:MT,IsMoving:LT,NoDraggable:DT,DividerInner:OT,IsClicked:NT,RemoteButton:PT,isExpanded:BT},Tn=r=>S.jsx(Zr,{...r,className:Ze.clsx(co.ARowFrame,r.className),children:r.children}),fw=r=>S.jsx("div",{...r,className:Ze.clsx(co.AColFrame,r.className),children:r.children}),Ya=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:o,className:i,noOverflowTooltip:a,...c}=r,d=C.useRef(null),h=C.useMemo(()=>n??d,[n]),[p,m]=C.useState(!1),g=C.useCallback(()=>m(!0),[]),v=C.useCallback(()=>m(!1),[]);C.useEffect(()=>{const E=h.current;if(E)return E.addEventListener("mouseenter",g),E.addEventListener("mouseleave",v),()=>{E.removeEventListener("mouseenter",g),E.removeEventListener("mouseleave",v)}},[h,g,v]);const w=C.useMemo(()=>o?"":a||!p||!h.current?e:h.current.scrollWidth>h.current.clientWidth?t:e,[h,o,t,e,a,p]);return S.jsx(Zr,{...c,children:t,abaseRef:h,className:Ze.clsx(co.AOverflowFrame,i),isDisabled:o,tooltip:w})},hw=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:S.jsx(C.Suspense,{children:t[e]})},pw=C.memo(r=>{const{pk:e,direction:t="Row",lefts:n,minLength:o=40,children:i,childStyle:a,childClassName:c,dividerStyle:d,dividerClassName:h,dividerPadding:p,dividerInnerClassName:m,dividerInnerStyle:g,showRemote:v,ShowRemoteRenderer:w=jT,noDividerDraggable:E,resources:_,...A}=r,k=C.useMemo(()=>({...vr.ADivideFrame,..._}),[_]),D=C.useRef(null),I=C.useRef(!1),P=C.useRef(!0),j=C.useRef(n),[W,F]=C.useState(),[G,pe]=C.useState(n),[B,q]=C.useState("FadeOut"),[V,ee]=C.useState(!1),{save:ae,getSync:ne,deleteItem:oe}=dw(),le=C.useCallback(()=>{P.current&&requestAnimationFrame(()=>{P.current=!1,q("FadeIn")})},[]),ge=C.useMemo(()=>{let we;return Array.isArray(i)?we=i:we=[i],we.filter(Boolean)},[i]),te=C.useMemo(()=>e&&!v,[e,v]),ie=C.useCallback(()=>{if(!te){le();return}try{const we=String(e),{data:Se,isLoaded:_e}=ne(we);Se?(pe(Se),_e&&le()):_e?(pe(n),ae(String(e),n),le()):pe(n)}catch{pe(n),le()}},[te,le,e,ne,n,ae]);C.useEffect(()=>{if(te){ie();const we=String(e),Se=()=>{const{isLoaded:_e}=ne(we);_e?le():requestAnimationFrame(Se)};Se()}else le()},[te,ie,le,e,ne]),C.useEffect(()=>{j.current!==n&&(j.current=n,I.current||(pe(n),te&&ae(String(e),n)),I.current=!1)},[te,n,e,ae]);const ue=C.useMemo(()=>{const we=p??0;return typeof o=="number"?Array(ge.length).fill(o+we):o.map(Se=>Se+we)},[o,ge.length,p]),xe=C.useMemo(()=>(W==null?void 0:W.lefts)||G,[W,G]),ke=C.useRef({x:0,y:0}),se=C.useCallback((we,Se,_e)=>{const Re=xe[we],Me=we===0?0:xe[we-1],tt=Re-Me,We={...a,...FT(t,tt,Se)};return p!==void 0&&(t==="Row"?(_e||(We.paddingLeft=p),Se||(We.paddingRight=p)):(_e||(We.paddingTop=p),Se||(We.paddingBottom=p))),We},[xe,a,t,p]),Ae=C.useCallback(()=>{if(!(!v||t!=="Row")){if(V)pe(n),I.current=!1;else{const we=ge.length;if(we<=1)return;const Se=[],_e=[];for(let Me=0;Me<we;Me++)typeof o=="number"?_e.push(o):_e.push(o[Me]||o[0]);let Re=0;for(let Me=0;Me<we-1;Me++)Re+=_e[Me],Se.push(Re);pe(Se),I.current=!0}ee(we=>!we),P.current=!1}},[v,t,V,ge.length,n,o]),De=C.useCallback((we,Se)=>{if(Se)return _e=>{if(!D.current)return;P.current=!1;const Re=D.current;ke.current={x:_e.clientX,y:_e.clientY},F({idx:we,lefts:[...G]});let Me=[...G];const tt=et=>{const st=Re.getBoundingClientRect(),ze=t==="Row"?st.left:st.top,Ke=t==="Row"?st.width:st.height;Me=$T(G,t,we,et,ze,Ke,ue),F({idx:we,lefts:Me})},We=()=>{F(void 0),pe(Me),I.current=!0,te&&ae(String(e),Me),window.removeEventListener("mousemove",tt),window.removeEventListener("mouseup",We)};window.addEventListener("mousemove",tt),window.addEventListener("mouseup",We)}},[G,t,ue,te,e,ae]),Ge=C.useCallback(we=>{if(we)return()=>{pe(n),I.current=!1,F(void 0),te&&oe(String(e))}},[n,te,e,oe]),Ue=C.useMemo(()=>ge.map((we,Se)=>{const _e=v&&(V||!V&&Se===ge.length-2);return!(E||_e)}),[ge,v,V,E]);return S.jsx("div",{...A,ref:D,className:Ze.clsx(co.ADivideFrame,r.className,co[t],co[B],P.current&&co.NoTransition),children:ge.map((we,Se)=>{const _e=Se===0,Re=Se===ge.length-1,Me=se(Se,Re,_e),tt=xe[Se],We=Ue[Se],et=De(Se,We),st=Ge(We);return S.jsxs(C.Fragment,{children:[S.jsxs("div",{style:Me,className:Ze.clsx(co.ChildFrame,c,W&&co.IsMoving,P.current&&co.NoTransition,co[t]),children:[Re&&v&&t==="Row"&&S.jsx(w,{handleToggleExpand:Ae,isExpanded:V,resources:k}),we]}),!Re&&S.jsx("div",{"data-nodraggable":We?void 0:"true",className:Ze.clsx(co.Divider,co[t],"NoSelect",W&&co.IsMoving,(W==null?void 0:W.idx)===Se&&co.IsClicked,P.current&&co.NoTransition,!We&&co.NoDraggable,h),style:{...d,...zT(t,tt)},onDoubleClick:st,onMouseDown:et,children:S.jsx("div",{className:Ze.clsx(co.DividerInner,m),style:{...g}})})]},Se)})})});pw.displayName="ADivideFrame";const jT=r=>{const{handleToggleExpand:e,isExpanded:t,resources:n}=r;return S.jsx(So,{className:Ze.clsx(co.RemoteButton,t&&co.isExpanded),icon:"DividerExpand",iconSize:"md",tabIndex:0,tooltip:t?n.Collapse:n.Expand,type:"Raw",onClick:e})};function FT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function zT(r,e){return r==="Col"?{top:e}:{left:e}}function $T(r,e,t,n,o,i,a){const c=[...r];let d=e==="Row"?n.clientX-o-r[t]:n.clientY-o-r[t];const h=[],p=[];let m=0;for(let v=0;v<=a.length;v++)h[v]=m,v<a.length&&(m+=a[v]);let g=0;for(let v=a.length-2;v>=0;v--)g+=a[v],p[v]=g;if(p[a.length-1]=0,d<0){let v=c[t]+d;if(v<=h[t+1])for(let w=0;w<=t;w++)c[w]=h[w+1];else if(c[t]=v,t>0)for(let w=t-1;w>=0&&v-c[w]<a[w];w--)c[w]=v-a[t],v=c[w]}else if(d>0){let v=c[t]+d;const w=t===a.length-2?a[a.length-1]:0;if(v>=i-p[t]-w)for(let E=t;E<r.length;E++)c[E]=i-p[E]-(E===r.length-1?0:w);else if(c[t]=v,t<r.length-1)for(let E=t+1;E<r.length&&c[E]-v<a[E];E++)c[E]=v+a[E],v=c[E]}return c}const Fu=()=>S.jsx("div",{style:{display:"flex",flexGrow:1}}),HT="_ASpace_1okqf_1",qT={ASpace:HT},kn=r=>{const{h:e,w:t,...n}=r;return S.jsx("div",{...n,className:Ze.clsx(qT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},WT="_AChipsContainer_1ag9v_1",UT="_AChip_1ag9v_1",VT="_Clickable_1ag9v_21",GT="_AChipDelete_1ag9v_26",ZT="_IsHover_1ag9v_40",YT="_AChipDeleteIcon_1ag9v_45",Fd={AChipsContainer:WT,AChip:UT,Clickable:VT,AChipDelete:GT,IsHover:ZT,AChipDeleteIcon:YT},KT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:o,ChipOnDelete:i,ChipOnClick:a,ChipIcon:c,className:d,style:h,ButtonRenderer:p=gw,gap:m=8,...g}=r,[v,w]=gn(e,[]),E=C.useCallback(A=>{!w||!i||(i({label:A}),w(v.filter(k=>k!==A)))},[w,i,v]),_=C.useCallback(A=>{const k={label:A};return{label:A,useLabel:[A,()=>{}],style:Or.getContent(n,k),className:Or.getContent(o,k),icon:Or.getContent(c,k),onDelete:()=>E(A),onClick:a?()=>a({label:A}):void 0}},[o,c,a,n,E]);return S.jsx(Zr,{...g,className:Ze.clsx(Fd.AChipsContainer,d),style:{...h,alignItems:t,gap:m},children:v.map((A,k)=>S.jsx(F1,{..._(A),ButtonRenderer:p},k))})},F1=r=>{const{label:e,useLabel:t,icon:n,className:o,onDelete:i,onClick:a,ButtonRenderer:c=gw,width:d="fit-content",style:h,...p}=r;return e===void 0?S.jsx(S.Fragment,{}):S.jsxs(Zr,{...p,className:Ze.clsx("NoSelect",Fd.AChip,a&&Fd.Clickable,a&&"IsClickable",o),style:{...h,width:d},onClick:a,children:[S.jsx(Ya,{children:e}),c({...r})]})},gw=r=>{const{label:e,icon:t,onDelete:n,useLabel:o}=r,[,i]=gn(o,e),[a,c]=C.useState(!1),d=C.useCallback(m=>{n&&(m.stopPropagation(),i==null||i(void 0),n(r))},[n,r,i]),h=()=>{c(!0)},p=()=>{c(!1)};return S.jsx(S.Fragment,{children:n&&S.jsxs(S.Fragment,{children:[S.jsx(Fu,{}),S.jsx(kn,{w:24}),S.jsx(Zr,{className:Ze.clsx(Fd.AChipDelete,"IsClickable",a&&Fd.IsHover)}),S.jsx(So,{className:Fd.AChipDeleteIcon,icon:t||S.jsx(ln,{height:14,icon:"Close",stroke:"currentColor",width:14}),type:"Raw",onClick:d,onMouseEnter:h,onMouseLeave:p})]})})},Mu=r=>{if(!r)return"0 bytes";const e=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB","RB","QB"];let t=0;for(;r>=1024&&t<e.length-1;)r/=1024,t++;return`${t===0?Math.floor(r):r.toFixed(1)} ${e[t]}`},XT=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),o=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=o.toString().padStart(2,"0"),e},JT=/[a-zA-Z0-9]/,QT=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,e5=/^[a-zA-Z0-9._-]+$/,t5=/^[0-9a-fA-F-]+$/i,r5=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,n5=/^\S*$/,o5=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,i5=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,s5=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,a5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/,l5={hasKr:r=>/[가-힣ㄱ-ㅎㅏ-ㅣ]/.test(r),hasMalKr:r=>/[ㄱ-ㅎㅏ-ㅣ]/.test(r),hasBlank:r=>/\s/.test(r),isBlank:r=>/^\s*$/.test(r),isUuid:r=>/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/.test(r),isEmail:r=>/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/.test(r),isAlphabet:r=>/^[a-zA-Z]*$/.test(r),isAlphaNumeric:r=>/^[a-zA-Z0-9]*$/.test(r),isKr:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ]*$/.test(r),isKrNumeric:r=>/^[가-힣ㄱ-ㅎㅏ-ㅣ0-9]*/.test(r),isNumeric:r=>/^[0-9]$/.test(r),isLenMinMax:(r,e)=>t=>!(r!==void 0&&t.length<r||e!==void 0&&t.length>e)},c5=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const e=Math.random()*16|0;return(r=="x"?e:e&3|8).toString(16)}),z1={secondToTime:XT,validate:l5,FileSizeTrans:Mu,uuid:c5},u5=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:o,actionRef:i,wrapProps:a,helperText:c,label:d,...h}=r,[p,m]=C.useState(0),[g,v]=C.useState(!o);C.useEffect(()=>{if(!g||h.isDisabled||h.isLoading)return;const D=setInterval(()=>m(I=>I+1),t);return()=>clearInterval(D)},[t,g,h.isDisabled,h.isLoading]);const w=C.useCallback(()=>{n==null||n(),v(!1)},[n]);C.useEffect(()=>{p>=e&&!h.isDisabled&&!h.isLoading&&w()},[p,e,w,h.isDisabled,h.isLoading]);const E=C.useCallback(()=>{h.isDisabled||v(!0)},[h.isDisabled]),_=C.useCallback(()=>{h.isDisabled||v(!1)},[h.isDisabled]),A=C.useCallback(()=>{h.isDisabled||(v(!1),m(0))},[h.isDisabled]);C.useEffect(()=>{i&&(i.current={start:E,stop:_,reset:A,setTicks:m})},[i,E,_,A]);const k=e-p;return S.jsx(zc,{wrapProps:a,helperText:c,label:d,children:S.jsx(Zr,{...h,children:z1.secondToTime(k>0?k:0)})})};function ua(r){const e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate();return`${e}-${t<10?"0"+t:t}-${n<10?"0"+n:n}`}function d5(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function f5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function h5(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function N0(r,e){return ua(r)===ua(e)}function zd(r,e){return ua(r)>ua(e)}function wp(r,e){return ua(r)>=ua(e)}function Cp(r,e){return ua(r)<ua(e)}function Sp(r,e){return ua(r)<=ua(e)}function P0(r,e,t){return zd(r,t)?zd(e,t)&&Cp(e,r):zd(e,r)&&Cp(e,t)}function B0(r,e,t){return zd(r,t)?wp(e,t)&&Sp(e,r):wp(e,r)&&Sp(e,t)}const Zt={toString:ua,toDate:d5,makeSDate:f5,makeEDate:h5,"===":N0,">":zd,">=":wp,"<":Cp,"<=":Sp,"s<d<e|e<d<s":P0,"s<=d<=e|e<=d<=s":B0,eq:N0,g:zd,ge:wp,l:Cp,le:Sp,b:P0,be:B0},p5="_InputContainer_44opg_7",g5="_AInput_44opg_21",m5="_LeftAddon_44opg_43",v5="_RightAddon_44opg_49",y5="_ErrorHelperText_44opg_55",b5="_Primary_44opg_59",x5="_UnAvailable_44opg_64",w5="_Secondary_44opg_75",C5="_ReadOnly_44opg_90",mi={InputContainer:p5,AInput:g5,LeftAddon:m5,RightAddon:v5,ErrorHelperText:y5,Primary:b5,UnAvailable:x5,Secondary:w5,ReadOnly:C5,Error:"_Error_44opg_55"},S5=["Primary","Secondary","ReadOnly","Error"],$c=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:o,useValue:i,isReadonly:a,placeholder:c,minLength:d,maxLength:h,tabIndex:p,autoFocus:m,isPassword:g,autoComplete:v="off",inputProps:w,LeftAddon:E,RightAddon:_,wrapProps:A,helperText:k,label:D,wrapType:I,labelProps:P,dataList:j=[],id:W=(w==null?void 0:w.id)??z1.uuid(),...F}=r,G=C.useMemo(()=>_5(t)?"Error":n,[t,n]),pe=C.useMemo(()=>G==="ReadOnly"?!0:a,[G,a]),B=C.useMemo(()=>F.isDisabled||F.isLoading,[F.isDisabled,F.isLoading]),[q,V]=gn(i,""),ee=C.useCallback(ne=>{var oe;B||((oe=w==null?void 0:w.onKeyDown)==null||oe.call(w,ne),["Escape","Enter","ArrowUp","ArrowDown"].includes(ne.key)||ne.stopPropagation(),ne.key==="Enter"&&e&&e(ne.currentTarget.value))},[B,w,e]),ae=C.useCallback(ne=>{var oe;B||d&&ne.target.value.length<d||(V==null||V(ne.target.value),(oe=w==null?void 0:w.onChange)==null||oe.call(w,ne))},[B,d,V,w]);return g?S.jsx(zc,{wrapProps:A,label:D,helperText:k,errorMessage:t,wrapType:I,labelProps:P,children:S.jsx("form",{onSubmit:ne=>ne.preventDefault(),children:S.jsxs(Zr,{...F,className:Ze.clsx(mi.InputContainer,mi[G],B&&mi.UnAvailable,F.className),children:[E&&S.jsx("div",{className:mi.LeftAddon,children:E}),S.jsx("input",{...w,ref:o,autoComplete:v,autoFocus:m,className:Ze.clsx(mi.AInput,G==="Error"&&mi.InputError,w==null?void 0:w.className),id:W,list:`${W}-datalist`,maxLength:h,placeholder:c,readOnly:pe,tabIndex:F.isDisabled||F.isLoading?-1:p,type:"password",value:q,onChange:ae,onKeyDown:ee}),j.length>0&&S.jsx("datalist",{id:`${W}-datalist`,children:j.map((ne,oe)=>S.jsx("option",{value:ne},oe))}),_&&S.jsx("div",{className:Ze.clsx(mi.RightAddon,"NoSelect"),children:_})]})})}):S.jsx(zc,{wrapProps:A,label:D,helperText:k,errorMessage:t,wrapType:I,labelProps:P,children:S.jsxs(Zr,{...F,className:Ze.clsx(mi.InputContainer,mi[G],B&&mi.UnAvailable,F.className),children:[E&&S.jsx("div",{className:mi.LeftAddon,children:E}),S.jsx("input",{...w,ref:o,autoComplete:v,autoFocus:m,className:Ze.clsx(mi.AInput,G==="Error"&&mi.InputError,w==null?void 0:w.className),id:W,list:`${W}-datalist`,maxLength:h,placeholder:c,readOnly:pe,tabIndex:F.isDisabled||F.isLoading?-1:p,value:q,onChange:ae,onKeyDown:ee}),j.length>0&&S.jsx("datalist",{id:`${W}-datalist`,children:j.map((ne,oe)=>S.jsx("option",{value:ne},oe))}),_&&S.jsx("div",{className:mi.RightAddon,children:_})]})})};function _5(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const A5="_ASelect_vvzf4_1",E5="_Arrow_vvzf4_14",T5="_Primary_vvzf4_23",k5="_UnAvailable_vvzf4_34",R5="_IsOpen_vvzf4_34",I5="_Secondary_vvzf4_41",M5="_Placeholder_vvzf4_57",L5="_ValuesContainer_vvzf4_61",D5="_Values_vvzf4_61",O5="_Options_vvzf4_80",N5="_Option_vvzf4_80",P5="_Selected_vvzf4_122",B5="_CheckBox_vvzf4_129",es={ASelect:A5,Arrow:E5,Primary:T5,UnAvailable:k5,IsOpen:R5,Secondary:I5,Placeholder:M5,ValuesContainer:L5,Values:D5,Options:O5,Option:N5,Selected:P5,CheckBox:B5},j5=["Primary","Secondary"],Hc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=vr.ASelect["Select(Placeholder)"],onClose:i,OptionRenderer:a=z5,SelectedRenderer:c=$5,minShowRows:d=2,maxShowRows:h=6,arrowProps:p,isAutoWidth:m=!1,...g}=r,v=C.useRef(null),w=C.useMemo(()=>g.abaseRef??v,[g.abaseRef]),E=C.useRef(null),[_,A]=gn(t,e[0]),[k,D]=C.useState(void 0),[I,P]=C.useState(!1),[j,W]=C.useState(!1),F=C.useRef(e),G=C.useRef(null),pe=C.useCallback(()=>W(!1),[]),B=C.useCallback(()=>{g.isDisabled||g.isLoading||e.length<1||(W(!0),setTimeout(()=>P(!0),0),setTimeout(()=>Dg(E,w,e,d,h),0))},[w,g.isDisabled,g.isLoading,e,d,h]),q=C.useCallback(()=>{P(!1),W(!0),i==null||i()},[i]),V=C.useCallback(te=>{var ie;I?q():B(),setTimeout(()=>Dg(E,w,e,d,h),0),(ie=g.onClick)==null||ie.call(g,te)},[w,g,e,I,q,B,d,h]),ee=C.useCallback(()=>{Dg(E,w,e,d,h)},[w,e,d,h]);C.useEffect(()=>{if(!I||!w.current)return;const te=w.current;let ie=te.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ue=te.parentElement;for(;ue;)ue.removeEventListener("scroll",ee),ue=ue.parentElement}},[w,I,ee]),C.useEffect(()=>{if(I)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[I,ee]);const ae=C.useCallback(te=>{te[0].intersectionRatio===0&&q()},[q]);C.useEffect(()=>{if(!I)return;const te=new IntersectionObserver(ae,{threshold:0});return w.current&&te.observe(w.current),()=>te.disconnect()},[w,I,ae]);const ne=C.useCallback(te=>{const ie=te.target,ue=w.current,xe=E.current;!ue||!ie||!xe||!ue.contains(ie)&&!xe.contains(ie)&&q()},[w,q]),oe=C.useMemo(()=>g.isDisabled||g.isLoading||e.length<1,[g.isDisabled,g.isLoading,e]);C.useEffect(()=>{if(I)return setTimeout(()=>document.addEventListener("mousedown",ne),0),()=>document.removeEventListener("mousedown",ne)},[I,ne]);const le=C.useCallback((te,ie)=>{te.stopPropagation(),te.preventDefault(),A==null||A(ie),q()},[A,q]),ge=C.useCallback(()=>{if(!m||!w.current)return;const te=Iu.calculateOptimalSelectWidth({elementRef:w,options:e,selectedOption:_,placeholder:o,optionRenderer:ie=>ie===null?null:a({option:ie}),type:n,isMulti:!1});D(te)},[m,w,e,_,o,a,n]);return C.useEffect(()=>m?((e!==F.current||k===void 0)&&(G.current!==null&&cancelAnimationFrame(G.current),G.current=requestAnimationFrame(()=>{ge(),G.current=null,F.current=[...e]})),()=>{G.current!==null&&(cancelAnimationFrame(G.current),G.current=null)}):void 0,[m,e,ge,k]),C.useEffect(()=>()=>{typeof Iu.clearCache=="function"&&Iu.clearCache()},[]),S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...g,abaseRef:w,isDisabled:g.isDisabled||e.length<1,className:Ze.clsx(g.className,es.ASelect,"NoSelect",I&&es.IsOpen,oe&&es.UnAvailable,es[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:k?`${k}px`:m?"100px":void 0,...g.style},onClick:V,children:[S.jsx("div",{className:es.ValuesContainer,children:S.jsx("div",{className:Ze.clsx(es.Values,(_==null||_==="")&&es.Placeholder),children:S.jsx(c,{OptionRenderer:a,placeholder:o,selectedOption:_})})}),S.jsx("div",{...p,className:Ze.clsx(es.Arrow,p==null?void 0:p.className),children:S.jsx(ln,{icon:"TriangleDown",style:{transform:I?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(I||j)&&ks.createPortal(S.jsx("div",{ref:E,className:Ze.clsx(es.Options,es[n]),style:{opacity:+I,visibility:I?"visible":"hidden",pointerEvents:I?void 0:"none",borderRadius:w.current?window.getComputedStyle(w.current).borderRadius:void 0,width:k?`${k}px`:m?"100px":void 0},onTransitionEnd:pe,children:e.map((te,ie)=>{const ue=_===te,xe=w.current?window.getComputedStyle(w.current):void 0;return te===null?null:S.jsx("div",{className:Ze.clsx(es.Option,ue&&es.Selected,"NoSelect",es[n]),style:{height:xe==null?void 0:xe.height},onClick:ke=>le(ke,te),children:S.jsx(a,{option:te})},ie)})}),document.body)]})};function Dg(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const i=e.current.getBoundingClientRect(),a=F5(i,t.length,n,o),c=window.getComputedStyle(e.current);r.current.style.top=`calc(${a.top??0}px - ${c.borderTopWidth})`,r.current.style.bottom=a.bottom?a.bottom+"px":"",r.current.style.left=a.left+"px",r.current.style.width||(r.current.style.minWidth=a.minWidth+"px"),r.current.style.minHeight=a.minHeight+"px",r.current.style.maxHeight=a.maxHeight+"px",r.current.style.visibility="visible"}function F5(r,e,t,n){const o={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const z5=r=>{const{option:e}=r;return or.isReactNode(e)?e:null},$5=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:S.jsx(t,{option:e})},H5="_Anchor_27s50_1",q5="_Primary_27s50_18",W5="_Secondary_27s50_21",U5="_Placeholder_27s50_25",V5="_Icon_27s50_30",G5="_ADatePicker_27s50_37",Z5="_StringInputWrap_27s50_48",Y5="_StringInputContainer_27s50_53",K5="_StringInput_27s50_48",X5="_IsIdx_27s50_68",J5="_CalendarContainer_27s50_72",Q5="_Header_27s50_78",e6="_Prev_27s50_82",t6="_Next_27s50_83",r6="_MonthYear_27s50_116",n6="_Select_27s50_121",o6="_Calendar_27s50_72",i6="_Cell_27s50_131",s6="_IsNotCurrentMonth_27s50_143",a6="_IsSelected_27s50_147",l6="_IsDisabled_27s50_151",c6="_IsHovered_27s50_154",u6="_Week_27s50_158",d6="_WeekDay_27s50_163",hn={Anchor:H5,Primary:q5,Secondary:W5,Placeholder:U5,Icon:V5,ADatePicker:G5,StringInputWrap:Z5,StringInputContainer:Y5,StringInput:K5,String:"_String_27s50_48",IsIdx:X5,CalendarContainer:J5,Header:Q5,Prev:e6,Next:t6,MonthYear:r6,Select:n6,Calendar:o6,Cell:i6,IsNotCurrentMonth:s6,IsSelected:a6,IsDisabled:l6,IsHovered:c6,Week:u6,WeekDay:d6},f6="_Anchor_1x8q1_1",h6="_Primary_1x8q1_18",p6="_Secondary_1x8q1_22",g6="_Placeholder_1x8q1_26",m6="_Icon_1x8q1_31",v6="_ADateRangePicker_1x8q1_38",y6="_StringInputWrap_1x8q1_49",b6="_StringInputContainer_1x8q1_53",x6="_StringInput_1x8q1_49",w6="_IsIdx_1x8q1_69",C6="_CalendarContainer_1x8q1_73",S6="_Header_1x8q1_79",_6="_Prev_1x8q1_83",A6="_Next_1x8q1_84",E6="_MonthYear_1x8q1_117",T6="_Select_1x8q1_122",k6="_Calendar_1x8q1_73",R6="_Cell_1x8q1_132",I6="_IsNotCurrentMonth_1x8q1_144",M6="_IsSelected_1x8q1_148",L6="_IsDisabled_1x8q1_152",D6="_IsHovered_1x8q1_155",O6="_Week_1x8q1_159",N6="_WeekDay_1x8q1_164",P6="_ChoiceButton_1x8q1_168",Wr={Anchor:f6,Primary:h6,Secondary:p6,Placeholder:g6,Icon:m6,ADateRangePicker:v6,StringInputWrap:y6,StringInputContainer:b6,StringInput:x6,String:"_String_1x8q1_49",IsIdx:w6,CalendarContainer:C6,Header:S6,Prev:_6,Next:A6,MonthYear:E6,Select:T6,Calendar:k6,Cell:R6,IsNotCurrentMonth:I6,IsSelected:M6,IsDisabled:L6,IsHovered:D6,Week:O6,WeekDay:N6,ChoiceButton:P6},$1=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:o,position:i=sf.SE,minDate:a,maxDate:c,isDisabled:d,isLoading:h,yearsOptionSize:p,noDefaultChoices:m,LeftAddon:g,RightAddon:v,placeholder:w,noClearButton:E,resources:_,onClick:A,...k}=r,D=C.useMemo(()=>({...vr.ADateRangePicker,..._}),[_]),I=C.useMemo(()=>w??D["Select DateRange"],[w,D]),[P,j]=C.useMemo(()=>{let de,nt;if(a&&(de=Zt.makeSDate(a)),c&&(nt=Zt.makeEDate(c)),de&&nt&&Zt["<"](nt,de)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const qe=de;de=nt,nt=qe}return[de,nt]},[a,c]),[W,F]=C.useState("sD"),[G,pe]=gn(n,void 0),B=C.useCallback(de=>{pe&&(de===void 0?(pe(void 0),_e(""),tt("")):(pe({sDate:Zt.makeSDate(de.sDate),eDate:Zt.makeEDate(de.eDate)}),_e(Zt.toString(de.sDate)),tt(Zt.toString(de.eDate))))},[pe]);C.useEffect(()=>{G&&(_e(Zt.toString(G.sDate)),tt(Zt.toString(G.eDate)))},[G]);const q=C.useCallback(de=>{if(!pe)return;let nt=G?G.sDate:Zt.makeSDate(de);de=Zt.makeEDate(de),pe({sDate:nt,eDate:de}),_e(Zt.toString(nt)),tt(Zt.toString(de))},[pe,G]),[V,ee]=C.useState(),[ae,ne]=C.useState(),oe=C.useCallback(de=>{W==="sD"&&B({sDate:de,eDate:de}),ee(de),ne(de)},[W,B,ee]),le=C.useCallback(de=>{W==="sD"?V&&(Zt.eq(V,de)?F("eD"):Zt[">"](de,V)?(q(de),ee(void 0)):(B({sDate:de,eDate:V}),ee(void 0))):(G?Zt["<"](de,G.sDate)?B({sDate:de,eDate:G.eDate}):q(de):B({sDate:de,eDate:de}),ee(void 0),F("sD"))},[q,V,F,W,B,G,ee]),ge=C.useCallback(de=>{V&&ne(de)},[V]),te=C.useCallback(()=>{ne(void 0),ee(void 0),F("sD")},[F,ee]),[ie,ue]=C.useState(j0(G,P,j)),xe=C.useMemo(()=>H1(ie.year,P,j,p),[ie.year,P,j,p]),ke=C.useMemo(()=>th(ie.year,P,j),[P,j,ie.year]),se=C.useCallback(de=>{if(!xe.includes(de))return;const nt={month:ie.month,year:de},qe=th(nt.year,P,j);qe.length<1||(qe.includes(nt.month)||(nt.month<qe[0]?nt.month=qe[0]:nt.month>qe[qe.length-1]&&(nt.month=qe[qe.length-1])),ue(nt))},[P,j,xe,ie.month]),Ae=C.useCallback(de=>{ke.includes(de)&&ue({month:de,year:ie.year})},[ke,ie.year]),De=C.useMemo(()=>j?new Date(ie.year,ie.month+1,1)>j:!1,[ie,j]),Ge=C.useCallback(()=>{if(De||ke.length<1)return;const de=ie.month+1;de>11?ue({month:ke[0],year:ie.year+1}):ue({month:de,year:ie.year})},[De,ke,ie]),Ue=C.useMemo(()=>P?new Date(ie.year,ie.month,0)<P:!1,[ie,P]),we=C.useCallback(()=>{if(Ue||ke.length<1)return;const de=ie.month-1;de<ke[0]?ue({month:ke[ke.length-1],year:ie.year-1}):ue({month:de,year:ie.year})},[Ue,ke,ie]),[Se,_e]=C.useState(G!=null&&G.sDate?Zt.toString(G.sDate):""),Re=C.useCallback(de=>{if(de.length>10||(_e(de),de.length<10)||!pe)return;let nt=Zt.toDate(de);if(!nt)return;P&&nt<P&&(nt=P),j&&nt>j&&(nt=j);let qe=G?G.eDate:nt;G&&Zt[">"](nt,qe)&&([nt,qe]=F0(nt,qe)),B({sDate:nt,eDate:qe}),ue({month:nt.getMonth(),year:nt.getFullYear()})},[pe,B,G,P,j]),[Me,tt]=C.useState(G!=null&&G.eDate?Zt.toString(G.eDate):""),We=C.useCallback(de=>{if(de.length>10||(tt(de),de.length<10)||!pe)return;let nt=Zt.toDate(de);if(!nt)return;P&&nt<P&&(nt=P),j&&nt>j&&(nt=j);let qe=G?G.sDate:nt;G&&Zt[">"](qe,nt)&&([qe,nt]=F0(qe,nt)),B({sDate:qe,eDate:nt}),ue({month:nt.getMonth(),year:nt.getFullYear()})},[pe,B,G,P,j]),et=C.useCallback(()=>{G&&(_e(Zt.toString(G.sDate)),tt(Zt.toString(G.eDate)))},[G]),st=C.useMemo(()=>{const{month:de,year:nt}=ie,qe=new Date(nt,de,1),pt=new Date(nt,de+1,0),wt=[];for(let jt=0;jt<qe.getDay();jt++){const ir=new Date(nt,de,0).getDate()-qe.getDay()+jt+1,Ft=new Date(nt,de-1,ir),nr=P&&P>Ft||j&&j<Ft,tr=G?Zt.be(G.sDate,Ft,G.eDate):!1,it=ae&&G&&Zt.be(G.sDate,Ft,ae);wt.push({day:ir,isSelected:tr,isHovered:it,date:Ft,isDisabled:nr,isCurrentMonth:!1})}for(let jt=1;jt<=pt.getDate();jt++){const Ot=new Date(nt,de,jt),ir=P&&P>Ot||j&&j<Ot,Ft=G?Zt.be(G.sDate,Ot,G.eDate):!1,nr=ae&&G&&Zt.be(G.sDate,Ot,ae);wt.push({day:jt,isSelected:Ft,isHovered:nr,date:Ot,isDisabled:ir,isCurrentMonth:!0})}for(let jt=0;jt<7-pt.getDay()-1;jt++){const Ot=new Date(nt,de+1,jt+1),ir=P&&P>Ot||j&&j<Ot,Ft=G?Zt.be(G.sDate,Ot,G.eDate):!1,nr=ae&&G&&Zt.be(G.sDate,Ot,ae);wt.push({day:jt+1,isSelected:Ft,isHovered:nr,date:Ot,isDisabled:ir,isCurrentMonth:!1})}const _t=[];for(let jt=0;jt<wt.length/7;jt++)_t.push(S.jsx("div",{className:Wr.Week,children:wt.slice(jt*7,jt*7+7).map((Ot,ir)=>S.jsx(Zo,{isDisabled:Ot.isDisabled,type:"Raw",className:Ze.clsx(Wr.Cell,Ot.isDisabled?Wr.IsDisabled:Ot.isCurrentMonth?Ot.isSelected?Wr.IsSelected:Ot.isHovered&&Wr.IsHovered:Wr.IsNotCurrentMonth),onMouseDown:()=>Ot.isCurrentMonth&&oe(Ot.date),onMouseEnter:()=>Ot.isCurrentMonth&&ge(Ot.date),onMouseUp:()=>Ot.isCurrentMonth&&le(Ot.date),children:Ot.day},ir))},jt));return _t},[ie,ae,G,P,j,oe,le,ge]),ze=C.useRef(null),Ke=C.useCallback(()=>{ze&&B1(ze,Ve,i)},[ze,i]),[bt,ht]=C.useState(!1),[dt,St]=C.useState(!1),Ve=C.useRef(null),rt=C.useCallback(()=>{d||h||(ht(!0),setTimeout(()=>St(!0),0),setTimeout(()=>Ke(),0),ue(j0(G,P,j)))},[d,h,G,Ke,P,j]),vt=C.useCallback(()=>{d||h||(ht(!0),St(!1))},[d,h]),Tt=C.useMemo(()=>dt?vt:rt,[dt,rt,vt]),xt=C.useCallback(()=>ht(!1),[]),Mt=C.useCallback(de=>{const nt=document.getElementById("root"),qe=de.target,pt=Ve.current,wt=ze.current;!nt||!pt||!qe||!wt||!pt.contains(qe)&&nt.contains(qe)&&!wt.contains(qe)&&vt()},[vt]);C.useEffect(()=>{if(dt)return setTimeout(()=>document.addEventListener("mousedown",Mt),0),()=>document.removeEventListener("mousedown",Mt)},[dt,Mt]);const Vt=C.useCallback(()=>{Ke()},[Ke]);C.useEffect(()=>{if(!dt||!(ze!=null&&ze.current))return;const de=ze.current;let nt=de.parentElement;for(;nt;)nt.addEventListener("scroll",Vt),nt=nt.parentElement;return()=>{let qe=de.parentElement;for(;qe;)qe.removeEventListener("scroll",Vt),qe=qe.parentElement}},[ze,dt,Vt]),C.useEffect(()=>{if(dt)return window.addEventListener("resize",Vt),()=>window.removeEventListener("resize",Vt)},[dt,Vt]);const Ht=C.useCallback(de=>{de[0].intersectionRatio===0&&vt()},[vt]);C.useEffect(()=>{if(!dt)return;const de=new IntersectionObserver(Ht,{threshold:0});return Ve.current&&de.observe(Ve.current),()=>de.disconnect()},[Ve,dt,Ht]),C.useEffect(()=>{o&&(o.current={open:rt,close:vt,toggle:Tt})},[o,rt,vt,Tt]),C.useEffect(()=>{if(!G)return;let de={sDate:G.sDate,eDate:G.eDate};P&&(Zt["<"](G.sDate,P)&&(de.sDate=P),Zt["<"](G.eDate,P)&&(de.eDate=P)),j&&(Zt[">"](G.sDate,j)&&(de.sDate=j),Zt[">"](G.eDate,j)&&(de.eDate=j)),(de.sDate!==G.sDate||de.eDate!==G.eDate)&&B(de)},[P,j,G,B]);const hr=C.useCallback(de=>{A==null||A(de),Tt()},[A,Tt]),_r=C.useCallback(de=>{B(void 0),vt(),de.stopPropagation()},[B,vt]),yr=C.useCallback(()=>G?S.jsx(So,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:_r}):null,[G,_r]),Ee=C.useMemo(()=>G?`${Zt.toString(G.sDate)} ~ ${Zt.toString(G.eDate)}`:S.jsx("span",{className:Wr.Placeholder,children:I}),[G,I]);return S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...k,abaseRef:ze,className:Ze.clsx(Wr.Anchor,"IsClickable",Wr[e],t),isDisabled:d,isLoading:h,onClick:hr,children:[g,e==="Primary"&&S.jsxs(S.Fragment,{children:[S.jsx(ln,{className:Ze.clsx(Wr.Icon,Wr[e]),icon:"CalendarDay"}),S.jsx(kn,{w:4})]}),Ee,S.jsx(Fu,{}),!E&&S.jsx(yr,{}),e==="Secondary"&&S.jsx(ln,{className:Ze.clsx(Wr.Icon,Wr[e]),icon:"CalendarDay"}),v&&v]}),(dt||bt)&&ks.createPortal(S.jsxs("div",{ref:Ve,className:Wr.ADateRangePicker,style:{opacity:+dt,visibility:dt?"visible":"hidden"},onMouseLeave:te,onTransitionEnd:xt,children:[S.jsxs("div",{className:Wr.StringInputContainer,children:[S.jsxs(Tn,{children:[S.jsx($c,{className:Ze.clsx(Wr.String,W==="sD"&&ae&&Wr.IsIdx),inputProps:{className:Wr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Se,Re],wrapProps:{className:Wr.StringInputWrap},onBlur:et}),S.jsx(kn,{w:8}),S.jsx($c,{className:Ze.clsx(Wr.String,W==="eD"&&ae&&Wr.IsIdx),inputProps:{className:Wr.StringInput},maxLength:11,placeholder:"YYYY-MM-DD",useValue:[Me,We],wrapProps:{className:Wr.StringInputWrap},onBlur:et})]}),!m&&S.jsxs(Tn,{style:{marginTop:4},children:[S.jsx($h,{children:D["1일"],onClick:()=>B({sDate:new Date,eDate:new Date})}),S.jsx($h,{children:D["1주일"],onClick:()=>B({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),S.jsx($h,{children:D["1개월"],onClick:()=>B({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),S.jsx($h,{children:D["3개월"],onClick:()=>B({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),S.jsxs("div",{className:Wr.CalendarContainer,children:[S.jsxs(Tn,{className:Wr.Header,children:[S.jsx(Zo,{className:Wr.Prev,isDisabled:Ue,type:"Raw",onClick:we}),S.jsxs("div",{className:Wr.MonthYear,children:[S.jsx(Hc,{isAutoWidth:!0,className:Wr.Select,OptionRenderer:de=>D.months(de.option),options:ke,SelectedRenderer:de=>D.months(de.selectedOption),type:"Secondary",useSelect:[ie.month,Ae]}),S.jsx(kn,{w:8}),S.jsx(Hc,{isAutoWidth:!0,className:Wr.Select,options:xe,type:"Secondary",useSelect:[ie.year,se]})]}),S.jsx(Zo,{className:Wr.Next,isDisabled:De,type:"Raw",onClick:Ge})]}),S.jsx(kn,{h:10}),S.jsxs("div",{className:Wr.Calendar,children:[S.jsx("div",{className:Wr.Week,children:[0,1,2,3,4,5,6].map(de=>S.jsx("div",{className:Ze.clsx(Wr.WeekDay,Wr.Cell),children:D.weekDays(de)},de))}),st]})]})]}),document.body)]})};function th(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let o=11;t&&t.getFullYear()===r&&(o=t.getMonth());const i=[];for(let a=n;a<=o;a++)i.push(a);return i}function H1(r,e,t,n=5){const o=[];let i=r-n/2+n%2/2;e&&i<e.getFullYear()&&(i=e.getFullYear());let a=i+n-1;t&&a>t.getFullYear()&&(a=t.getFullYear());for(let c=i;c<=a;c++)o.push(c);return o}function j0(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&Zt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&Zt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function F0(r,e){return[e,r]}const $h=r=>S.jsx(Zo,{className:Ze.clsx(Wr.ChoiceButton,"Headline2"),type:"Secondary",...r}),B6=["Primary","Secondary","Raw"],q1=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:o,position:i=sf.SE,minDate:a,maxDate:c,isDisabled:d,isLoading:h,placeholder:p,LeftAddon:m,RightAddon:g,resources:v,noClearButton:w,onClick:E,..._}=r,A=C.useMemo(()=>({...vr.ADatePicker,...v}),[v]),k=C.useMemo(()=>p??A["Select Date"],[p,A]),[D,I]=C.useMemo(()=>{let Ve,rt;return a&&(Ve=Zt.makeSDate(a)),c&&(rt=Zt.makeEDate(c)),Ve&&rt&&Zt["<"](rt,Ve)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Zt.makeSDate(rt),Zt.makeEDate(Ve)]):[Ve,rt]},[a,c]),[P,j]=gn(n,null),[W,F]=C.useState(P?Zt.toString(P):""),[G,pe]=C.useState(()=>{const Ve=P??new Date;return D&&Ve<D?D.getMonth():I&&Ve>I?I.getMonth():(Ve??new Date).getMonth()}),[B,q]=C.useState(()=>{const Ve=P??new Date;return D&&Ve<D?D.getFullYear():I&&Ve>I?I.getFullYear():(Ve??new Date).getFullYear()}),V=C.useCallback(Ve=>{q(Ve);const rt=th(Ve,D,I);rt.includes(G)||(G<rt[0]?pe(rt[0]):G>rt[rt.length-1]&&pe(rt[rt.length-1]))},[D,I,G]),ee=C.useCallback(Ve=>{if(Ve.length>10||(F(Ve),Ve.length<10)||!j)return;let rt=Zt.toDate(Ve);rt&&(D&&rt<D&&(rt=D),I&&rt>I&&(rt=I),j(rt),q(rt.getFullYear()),pe(rt.getMonth()))},[j,D,I]),ae=C.useCallback(Ve=>{const rt=B+Ve;rt<0||q(rt)},[B]),ne=C.useCallback(Ve=>{const rt=G+Ve;rt<0?(pe(11),ae(-1)):rt>11?(pe(0),ae(1)):pe(rt)},[G,ae]),oe=C.useCallback(Ve=>{j&&(Ve===void 0?(j(void 0),F("")):(j(Ve),F(Zt.toString(Ve))))},[j]),le=C.useMemo(()=>{const Ve=new Date(B,G,0);return D&&Ve<D},[B,G,D]),ge=C.useMemo(()=>{const Ve=new Date(B,G+1,1);return I&&Ve>I},[B,G,I]),te=C.useCallback(()=>{le||ne(-1)},[ne,le]),ie=C.useCallback(()=>{ge||ne(1)},[ne,ge]),[ue,xe]=C.useState(null),ke=C.useCallback(()=>{j&&xe(null)},[j]),se=C.useCallback(Ve=>{j&&xe(Ve)},[j]),Ae=C.useMemo(()=>{const Ve=new Date(B,G,1),rt=new Date(B,G+1,0),vt=[];for(let xt=0;xt<Ve.getDay();xt++){const Vt=new Date(B,G,0).getDate()-Ve.getDay()+xt+1,Ht=new Date(B,G-1,Vt),hr=D&&D>Ht||I&&I<Ht,_r=P&&Zt.eq(Ht,P),yr=ue&&Zt.eq(Ht,ue);vt.push({day:Vt,isSelected:_r,date:Ht,isDisabled:hr,isHovered:yr,isCurrentMonth:!1})}for(let xt=1;xt<=rt.getDate();xt++){const Mt=new Date(B,G,xt),Vt=D&&D>Mt||I&&I<Mt,Ht=P&&Zt.eq(Mt,P),hr=ue&&Zt.eq(Mt,ue);vt.push({day:xt,isSelected:Ht,date:Mt,isDisabled:Vt,isHovered:hr,isCurrentMonth:!0})}for(let xt=0;xt<7-rt.getDay()-1;xt++){const Mt=new Date(B,G+1,xt+1),Vt=D&&D>Mt||I&&I<Mt,Ht=P&&Zt.eq(Mt,P),hr=ue&&Zt.eq(Mt,ue);vt.push({day:xt+1,isSelected:Ht,date:Mt,isDisabled:Vt,isHovered:hr,isCurrentMonth:!1})}const Tt=[];for(let xt=0;xt<vt.length/7;xt++)Tt.push(S.jsx("div",{className:hn.Week,children:vt.slice(xt*7,xt*7+7).map((Mt,Vt)=>S.jsx(Zo,{isDisabled:Mt.isDisabled,type:"Raw",className:Ze.clsx(hn.Cell,Mt.isDisabled?hn.IsDisabled:Mt.isCurrentMonth?Mt.isSelected?hn.IsSelected:Mt.isHovered&&hn.IsHovered:hn.IsNotCurrentMonth),onClick:()=>Mt.isCurrentMonth&&oe(Mt.date),onMouseEnter:()=>Mt.isCurrentMonth&&se(Mt.date),onMouseLeave:()=>Mt.isCurrentMonth&&ke(),children:Mt.day},Vt))},xt));return Tt},[G,oe,P,B,D,I,ue,ke,se]),De=C.useRef(null),Ge=C.useCallback(()=>{De&&B1(De,Re,i)},[De,i]),[Ue,we]=C.useState(!1),[Se,_e]=C.useState(!1),Re=C.useRef(null),Me=C.useCallback(()=>{d||h||(we(!0),setTimeout(()=>_e(!0),0),setTimeout(()=>Ge(),0),F(P?Zt.toString(P):""),pe(()=>{const Ve=P??new Date;return D&&Ve<D?D.getMonth():I&&Ve>I?I.getMonth():Ve.getMonth()}),q(()=>{const Ve=P??new Date;return D&&Ve<D?D.getFullYear():I&&Ve>I?I.getFullYear():Ve.getFullYear()}))},[d,h,P,Ge,D,I]),tt=C.useCallback(()=>{d||h||(we(!0),_e(!1))},[d,h]),We=C.useMemo(()=>Se?tt:Me,[Se,Me,tt]),et=C.useCallback(()=>we(!1),[]),st=C.useCallback(Ve=>{const rt=document.getElementById("root"),vt=Ve.target,Tt=Re.current,xt=De.current;!rt||!Tt||!vt||!xt||!Tt.contains(vt)&&rt.contains(vt)&&!xt.contains(vt)&&tt()},[tt]);C.useEffect(()=>{if(Se)return setTimeout(()=>document.addEventListener("mousedown",st),0),()=>document.removeEventListener("mousedown",st)},[Se,st]);const ze=C.useCallback(()=>{Ge()},[Ge]);C.useEffect(()=>{if(!Se||!(De!=null&&De.current))return;const Ve=De.current;let rt=Ve.parentElement;for(;rt;)rt.addEventListener("scroll",ze),rt=rt.parentElement;return()=>{let vt=Ve.parentElement;for(;vt;)vt.removeEventListener("scroll",ze),vt=vt.parentElement}},[De,Se,ze]),C.useEffect(()=>{if(Se)return window.addEventListener("resize",ze),()=>window.removeEventListener("resize",ze)},[Se,ze]);const Ke=C.useCallback(Ve=>{Ve[0].intersectionRatio===0&&tt()},[tt]);C.useEffect(()=>{if(!Se)return;const Ve=new IntersectionObserver(Ke,{threshold:0});return Re.current&&Ve.observe(Re.current),()=>Ve.disconnect()},[Re,Se,Ke]),C.useEffect(()=>{o&&(o.current={open:Me,close:tt,toggle:We})},[o,Me,tt,We]);const bt=C.useCallback(Ve=>{E==null||E(Ve),We()},[E,We]),ht=C.useCallback(Ve=>{oe(void 0),tt(),Ve.stopPropagation()},[oe,tt]),dt=C.useCallback(()=>P?S.jsx(So,{icon:"Close",style:{scale:"0.8"},type:"Raw",onClick:ht}):null,[P,ht]),St=C.useMemo(()=>P?Zt.toString(P):S.jsx("span",{className:hn.Placeholder,children:k}),[P,k]);return S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{..._,abaseRef:De,className:Ze.clsx(hn.Anchor,"IsClickable",hn[e],t),isDisabled:d,isLoading:h,onClick:bt,children:[m,e==="Primary"&&S.jsxs(S.Fragment,{children:[S.jsx(ln,{className:Ze.clsx(hn.Icon,hn[e]),icon:"CalendarDay"}),S.jsx(kn,{w:4})]}),St,S.jsx(Fu,{}),!w&&S.jsx(dt,{}),e==="Secondary"&&S.jsx(ln,{className:Ze.clsx(hn.Icon,hn[e]),icon:"CalendarDay"}),g&&g]}),(Se||Ue)&&ks.createPortal(S.jsxs("div",{ref:Re,className:hn.ADatePicker,style:{opacity:+Se,visibility:Se?"visible":"hidden"},onTransitionEnd:et,children:[S.jsx("div",{className:hn.StringInputContainer,children:S.jsx($c,{className:hn.String,inputProps:{className:hn.StringInput},maxLength:P?30:11,placeholder:"YYYY-MM-DD",useValue:[W,ee],wrapProps:{className:hn.StringInputWrap}})}),S.jsxs("div",{className:hn.CalendarContainer,children:[S.jsxs(Tn,{className:hn.Header,children:[S.jsx(Zo,{className:hn.Prev,isDisabled:le,type:"Raw",onClick:te}),S.jsxs("div",{className:hn.MonthYear,children:[S.jsx(Hc,{isAutoWidth:!0,className:hn.Select,OptionRenderer:Ve=>A.months(Ve.option),options:th(B,D,I),SelectedRenderer:Ve=>A.months(Ve.selectedOption),type:"Secondary",useSelect:[G,pe]}),S.jsx(kn,{w:8}),S.jsx(Hc,{isAutoWidth:!0,className:hn.Select,options:H1(B,D,I),type:"Secondary",useSelect:[B,V]})]}),S.jsx(Zo,{className:hn.Next,isDisabled:ge,type:"Raw",onClick:ie})]}),S.jsx(kn,{h:10}),S.jsxs("div",{className:hn.Calendar,children:[S.jsx("div",{className:hn.Week,children:[0,1,2,3,4,5,6].map(Ve=>S.jsx("div",{className:Ze.clsx(hn.WeekDay,hn.Cell),children:A.weekDays(Ve)},Ve))}),Ae]})]})]}),document.body)]})},j6="_Paper_e69j5_1",F6="_Card_e69j5_15",z6="_Body_e69j5_26",$6="_Title_e69j5_35",H6="_Content_e69j5_42",q6="_Action_e69j5_45",W6="_Button_e69j5_58",Wa={Paper:j6,Card:F6,Body:z6,Title:$6,Content:H6,Action:q6,Button:W6},U6=["okCancel","cancelOk","ok","cancel","none"],V6=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:o,style:i,titleStyle:a,bodyStyle:c,contentStyle:d,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,onOk:g,onCancel:v,onClose:w,onEnterPress:E,onEscPress:_,onSpacePress:A,onPaperClick:k,noDim:D=!1,isLoading:I,isOkDisabled:P,isOkLoading:j,isCancelDisabled:W,isCancelLoading:F,buttonNoInteractive:G,okButtonClassName:pe,cancelButtonClassName:B,progress:q,progressProps:V,resources:ee}=r,ae=C.useMemo(()=>({...vr.ADialog,...ee}),[ee]),[ne,oe]=C.useState(0);C.useEffect(()=>oe(1),[]);const le=C.useCallback(()=>{oe(0)},[]),ge=C.useCallback(()=>{if(!ne){const[,Re]=e.state.useIsOpen;Re==null||Re(!1),w==null||w()}},[ne,w,e]),te=C.useCallback(async()=>{if(!ne||t==="cancel"||t==="none"||I||P||j)return;const{event:Re,e:Me}=ku();await(g==null?void 0:g(Me)),!Re.preventDefault&&le()},[ne,t,le,g,P,I,j]),ie=C.useCallback(async()=>{if(!ne||t==="ok"||t==="none"||I||W||F)return;const{event:Re,e:Me}=ku();await(v==null?void 0:v(Me)),!Re.preventDefault&&le()},[ne,t,le,v,W,I,F]);C.useEffect(()=>{e&&e.state.setAction({close:le,ok:te,cancel:ie})},[e,le,te,ie]);const ue=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(E==null?void 0:E(Me)),!Re.preventDefault&&te()},[E,I,te]),xe=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(A==null?void 0:A(Me)),!Re.preventDefault&&te()},[A,I,te]),ke=C.useCallback(async()=>{if(I)return;const{event:Re,e:Me}=ku();await(_==null?void 0:_(Me)),!Re.preventDefault&&ie()},[_,I,ie]),se=C.useRef(null),Ae=C.useCallback(Re=>{const Me=document.body.getElementsByClassName(Wa.Paper);Me.length===0||Me[Me.length-1]!==se.current||(Re.key==="Enter"&&ne?ue():Re.key===" "&&ne?xe():Re.key==="Escape"&&ne&&ke())},[ne,ue,xe,ke]);C.useEffect(()=>{if(ne)return window.addEventListener("keydown",Ae),()=>window.removeEventListener("keydown",Ae)},[ne,Ae]);const De=C.useRef(!1),Ge=C.useRef(!1),Ue=C.useCallback(()=>{De.current=!0},[]),we=C.useCallback(()=>{De.current=!1,Ge.current=!1},[]),Se=C.useCallback(()=>{Ge.current=!0},[]),_e=C.useCallback(async()=>{if(I)return;const Re=!Ge.current||De.current;if(De.current=!1,Ge.current=!1,Re)return;const{event:Me,e:tt}=ku();await(k==null?void 0:k(tt)),!Me.preventDefault&&ie()},[k,I,ie]);return ks.createPortal(S.jsx("div",{ref:se,className:Wa.Paper,style:{backgroundColor:D?"transparent":void 0,pointerEvents:ne?void 0:"none",opacity:ne},onMouseDown:Se,onMouseUp:_e,onTransitionEnd:ge,children:S.jsxs(Zr,{className:Wa.Card,isLoading:I,progress:q,progressProps:V,style:i,onMouseDown:Ue,onMouseUp:we,children:[S.jsxs("div",{className:Wa.Body,style:c,children:[n&&S.jsx(G6,{title:n,titleStyle:a}),o&&S.jsx("div",{className:Wa.Content,style:d,children:o})]}),t!=="none"&&S.jsx(Z6,{type:t,ok:te,cancel:ie,resources:ae,isOkDisabled:P,isOkLoading:j,isCancelDisabled:W,isCancelLoading:F,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,buttonNoInteractive:G,okButtonClassName:pe,cancelButtonClassName:B})]})}),document.body)},G6=r=>{const{title:e,titleStyle:t}=r;return S.jsx("div",{className:Ze.clsx(Wa.Title,"NoSelect","Title3"),style:t,children:e})},Z6=r=>{const{type:e,ok:t,cancel:n,resources:o,isOkDisabled:i,isOkLoading:a,isCancelDisabled:c,isCancelLoading:d,okButtonStyle:h,cancelButtonStyle:p,actionStyle:m,buttonNoInteractive:g,okButtonClassName:v,cancelButtonClassName:w}=r,E=C.useMemo(()=>({onClick:t,isDisabled:i,isLoading:a,children:o.Ok,style:h,noInteractive:g,className:Ze.clsx(Wa.Button,v)}),[t,i,a,o.Ok,h,g,v]),_=C.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:c,isLoading:d,children:o.Cancel,style:p,noInteractive:g,className:Ze.clsx(Wa.Button,w)}),[n,c,d,o.Cancel,p,g,w]);if(e==="okCancel"||e==="ok")return S.jsxs("div",{className:Wa.Action,style:{...m},children:[S.jsx(Zo,{...E}),e==="okCancel"&&S.jsxs(S.Fragment,{children:[S.jsx(kn,{w:8}),S.jsx(Zo,{..._})]})]},e);if(e==="cancelOk"||e==="cancel")return S.jsxs("div",{className:Wa.Action,children:[S.jsx(Zo,{..._}),e==="cancelOk"&&S.jsxs(S.Fragment,{children:[S.jsx(kn,{w:8}),S.jsx(Zo,{...E})]})]},e)},Y6=r=>{const e=C.useMemo(()=>Math.random().toFixed(32),[]),t=C.useMemo(()=>{const v={};return r.forEach(w=>{v[w]=w+e}),v},[r,e]),n=C.useMemo(()=>[],[]),o=C.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[i,a]=C.useState([]),c=C.useRef((()=>{const v={};return o.forEach(w=>{v[w]={open:()=>a(E=>[...E,w]),close:()=>{},ok:()=>{},cancel:()=>{}}}),v})()),d=C.useMemo(()=>{const v={};return o.forEach(w=>{v[w]=E=>{a(_=>!E&&_.includes(w)?_.filter(A=>A!==w):E&&!_.includes(w)?[..._,w]:_)}}),v},[o]),h=C.useMemo(()=>{const v={};return o.forEach(w=>{const _=[i.includes(w),d[w]],A=k=>{c.current[w]={...c.current[w],...k}};v[w]={useIsOpen:_,setAction:A}}),v},[i,d,o]),p=C.useMemo(()=>{const v={};return o.forEach(w=>{const E=()=>c.current[w].open(),_=()=>c.current[w].close(),A=()=>c.current[w].ok(),k=()=>c.current[w].cancel();v[w]={open:E,close:_,ok:A,cancel:k}}),v},[o]),m=C.useMemo(()=>({}),[]),g=C.useMemo(()=>(o.forEach(v=>{m[v]={state:h[v],action:p[v]}}),m),[m,o,h,p]);return C.useEffect(()=>(Object.keys(g).forEach(w=>{const E=g[w],_=t[w],A=oa.find(k=>{k.id});A?A.core=E:oa.push({id:_,core:E})}),()=>{const w=Object.keys(g),E=oa.filter(_=>w.includes(_.id));oa.length=0,oa.push(...E)}),[g,t]),g},K6=()=>{const r=C.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=C.useState(!1),n=C.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),o=C.useMemo(()=>({useIsOpen:[e,t],setAction:d=>{n.current={...n.current,...d}}}),[e]),i=C.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),a=C.useMemo(()=>({}),[]),c=C.useMemo(()=>(a.state=o,a.action=i,a),[a,o,i]);return C.useEffect(()=>{const d=oa.find(h=>h.id===r);return d?d.core=c:oa.push({id:r,core:c}),()=>{const h=oa.filter(p=>p.id!==r);oa.length=0,oa.push(...h)}},[r,c]),c},X6=r=>{const{dlgCore:e,children:t}=r,[n,o]=C.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return C.useEffect(()=>()=>o==null?void 0:o(!1),[o]),S.jsx(C.Suspense,{children:n&&t})},J6=r=>e=>{const{dlgCore:t}=e;return S.jsx(X6,{dlgCore:t,children:C.cloneElement(S.jsx(r,{...e}),{dlgCore:t})})},oa=[],Q6={closeAllDlgs:()=>{oa.forEach(r=>{r.core.action.close()})}},ek="_AFileBox_1hlo1_1",tk="_SelectedFile_1hlo1_16",rk="_Dropping_1hlo1_26",W1={AFileBox:ek,SelectedFile:tk,Dropping:rk},nk=r=>{const{useFile:e,FileRenderer:t=ok,SelectRenderer:n=ik,DropRenderer:o=sk,resources:i,accept:a="",onInvalidFileFormat:c,fileSelectButtonClassName:d,isDisabled:h,isLoading:p,className:m,...g}=r,v=C.useMemo(()=>({...vr.AFileBox,...i}),[i]),w=C.useRef(null),E=C.useRef(null),[_,A]=gn(e,null),[k,D]=C.useState(!1),I=C.useMemo(()=>a.split(",").map(ee=>ee.trim()).filter(ee=>ee.length>0&&ee.startsWith(".")),[a]),P=C.useCallback(ee=>{if(I.length===0)return!1;const ae=ee.name.split(".").pop();return ae?!I.includes(`.${ae}`):!0},[I]),j=C.useCallback(ee=>{if(A)if(P(ee)){c==null||c();return}else A(ee);else return},[A,P,c]),W=C.useCallback(ee=>{ee.target.files&&ee.target.files.length>0&&j(ee.target.files[0])},[j]),F=C.useCallback(ee=>{ee.preventDefault(),D(!1),!(h||p)&&ee.dataTransfer.files&&ee.dataTransfer.files.length>0&&j(ee.dataTransfer.files[0])},[j,h,p]),G=C.useCallback(ee=>{ee.preventDefault(),!(h||p)&&D(!0)},[h,p]),pe=C.useCallback(ee=>{ee.target===w.current&&ee.relatedTarget.contains(w.current.parentElement)&&(ee.preventDefault(),D(!1))},[]),B=C.useCallback(ee=>ee.preventDefault(),[]),q=C.useCallback(()=>{var ee;(ee=E.current)==null||ee.click()},[]),V=C.useMemo(()=>k?S.jsx(o,{resources:v}):_?S.jsx(t,{file:_,useFile:e}):S.jsx(n,{fileSelectButtonClassName:d,resources:v,onClick:q}),[t,n,o,v,k,_,e,d,q]);return S.jsxs(Zr,{...g,abaseRef:w,className:Ze.clsx(W1.AFileBox,m),isDisabled:h,isLoading:p,onDragEnter:G,onDragLeave:pe,onDragOver:B,onDrop:F,children:[S.jsx("input",{ref:E,accept:a,style:{display:"none"},type:"file",value:"",onChange:W}),V]})},ok=r=>{const{file:e,useFile:t}=r,[,n]=gn(t,null);return S.jsxs(Tn,{className:W1.SelectedFile,style:{backgroundColor:""},children:[S.jsx(ln,{icon:"File"}),S.jsx(Ya,{children:e.name}),S.jsx(So,{icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},type:"Raw",onClick:()=>n==null?void 0:n(null)})]})},ik=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return S.jsxs(Tn,{className:Ze.clsx("NoSelect"),style:{gap:4},children:[S.jsx(Zo,{className:n,onClick:e,children:t["Select File"]}),t["or Drag & Drop"]]})},sk=r=>{const{resources:e}=r;return S.jsxs(fw,{className:Ze.clsx(W1.Dropping,"NoSelect","Headline2"),children:[S.jsx(ln,{icon:"FileDownload"}),e["drop file to select"]]})},ak="_AFileUploader_4niz4_1",lk="_LabelContainer_4niz4_15",ck="_LabelButton_4niz4_24",uk="_Disabled_4niz4_30",dk="_Delete_4niz4_33",fk="_FileSize_4niz4_37",hk="_TotalFileSize_4niz4_44",pk="_FileBox_4niz4_48",gk="_SelectRenderer_4niz4_67",mk="_ChipsContainer_4niz4_78",vk="_FileChip_4niz4_89",yk="_FileChipContent_4niz4_101",bk="_FileNameContainer_4niz4_112",xk="_ButtonRenderer_4niz4_118",wk="_ErrorBorder_4niz4_129",Ck="_ErrorColor_4niz4_133",Sk="_ErrorCursor_4niz4_137",Bn={AFileUploader:ak,LabelContainer:lk,LabelButton:ck,Disabled:uk,Delete:dk,FileSize:fk,TotalFileSize:hk,FileBox:pk,SelectRenderer:gk,ChipsContainer:mk,FileChip:vk,FileChipContent:yk,FileNameContainer:bk,ButtonRenderer:xk,ErrorBorder:wk,ErrorColor:Ck,ErrorCursor:Sk},_k=({file:r,baseClass:e,errorClass:t,errorCursorClass:n,resources:o,onDownload:i})=>{const[a,c]=C.useState(!1);return S.jsx(So,{className:Ze.clsx(e,t,n),icon:a?"FileDownload":"CircleAlertOutline",iconSize:"sm",tooltip:o["Fail Download"],type:"Raw",onClick:()=>i(r),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1)})},Ak=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:o,wrapType:i,errorMessage:a,useFiles:c,accept:d,onInvalidFileFormat:h,onDownload:p,onDelete:m,type:g,limit:v=1024*1024*1024,maxFileCount:w,useError:E,isLoading:_,resources:A,className:k,...D}=r,I=C.useMemo(()=>({...vr.AFileUploader,...A}),[A]),[P,j]=gn(c,void 0),[W,F]=gn(E,!1),[G,pe]=C.useState({}),[B,q]=C.useState(!1),V=C.useRef(0),ee=C.useRef({}),ae=C.useRef(null),ne=C.useRef(null),oe=C.useCallback(ze=>ze.uniqueId||`${ze.name}-${ze.size}-${ze.lastModified||""}-${ze.idx||""}`,[]),le=C.useMemo(()=>(P==null?void 0:P.reduce((ze,Ke)=>ze+Ke.size,0))||0,[P]);C.useEffect(()=>{F&&F(le>v)},[le,v,F]);const ge=C.useCallback(ze=>{var ht;if(!d||d==="*"||d==="")return!0;const Ke=d.split(",").map(dt=>dt.trim()),bt=`.${(ht=ze.name.split(".").pop())==null?void 0:ht.toLowerCase()}`;return Ke.includes(bt)?!0:Ke.some(dt=>{var St;if(dt.startsWith("."))return!1;if(dt.endsWith("/*")){const Ve=dt.split("/")[0];return(St=ze.type)==null?void 0:St.startsWith(`${Ve}/`)}return ze.type===dt})},[d]),te=C.useCallback((ze,Ke)=>{const bt={...ee.current};bt[ze]=Ke,ee.current=bt,pe(bt)},[pe]),ie=C.useCallback(ze=>{const Ke=oe(ze);return G[Ke]||"Normal"},[G,oe]),ue=C.useCallback(ze=>_||ie(ze)==="Loading",[_,ie]),xe=C.useCallback(ze=>ie(ze)==="Error"||g==="Upload"&&ze.size>v,[ie,v,g]),ke=C.useMemo(()=>P!=null&&P.length?g==="Download"?P.every(xe):!1:!0,[P,g,xe]),se=C.useCallback(()=>{ae.current&&(ae.current.value="")},[]),Ae=C.useMemo(()=>!w||!(P!=null&&P.length)?!1:P.length>=w,[P,w]),De=C.useCallback(ze=>{if(!j)return;const Ke=[];let bt=!1,ht=[],dt=w?w-((P==null?void 0:P.length)||0):1/0;if(!(dt<=0)){if(Array.from(ze).forEach((St,Ve)=>{if(Ve>=dt)return;if(!ge(St)){bt=!0,ht.push(St.name);return}const rt=St;rt.uniqueId=`file-${Date.now()}-${V.current++}`,Ke.push(rt)}),bt)if(h)h();else{const St=d?d.replace(/,/g,", "):"",Ve=St?`${I["Supported file format(s)"]}: ${St}`:"",rt=ht.length>3?`${ht.slice(0,3).join(", ")} ${I.and} ${ht.length-3} ${I["more file(s)"]}`:ht.join(", ");alert(`${I["Unsupported file format detected."]}
|
162
162
|
|
163
163
|
${I["Invalid file(s)"]}: ${rt}${Ve?`
|
164
164
|
|
165
|
-
`+Ve:""}`)}Ke.length>0&&j([...P||[],...Ke])}},[j,ge,h,d,I,P,w]),Ge=C.useCallback(()=>{var ze;return(ze=ae.current)==null?void 0:ze.click()},[]),Ue=C.useCallback(ze=>{const Ke=ze.target.files;Ke!=null&&Ke.length&&(De(Ke),se())},[De,se]),we=C.useCallback(ze=>{if(m==null||m(ze),!j||!P)return;const Ke=oe(ze),bt=P.filter(ht=>oe(ht)!==Ke);j(bt),se()},[m,j,P,se,oe]),Se=C.useCallback(()=>{j&&(j([]),se())},[j,se]),_e=C.useCallback(ze=>{if(!p)return Promise.resolve();const Ke=oe(ze);return ee.current[Ke]==="Loading"?Promise.resolve():(te(Ke,"Loading"),new Promise(bt=>{p(ze,ht=>{te(Ke,ht),bt()})}))},[p,oe,te]),Re=C.useCallback(async()=>{if(P!=null&&P.length){if(pe){const ze={...ee.current};P.forEach(Ke=>{ze[oe(Ke)]="Loading"}),ee.current=ze,pe(ze)}for(const ze of P){if(!p)continue;const Ke=oe(ze);await new Promise(bt=>{p(ze,ht=>{if(pe){const dt={...ee.current};dt[Ke]=ht,ee.current=dt,pe(dt)}bt()})})}}},[P,oe,p,pe]),Me=C.useMemo(()=>{const ze=Ke=>(Ke.preventDefault(),Ke.stopPropagation(),Ke);return{onDragEnter:Ke=>{ze(Ke),!W&&!_&&q(!0)},onDragOver:Ke=>{ze(Ke),!W&&!_&&Ke.dataTransfer&&(Ke.dataTransfer.dropEffect="copy")},onDragLeave:Ke=>{var ht;ze(Ke);const bt=(ht=ne.current)==null?void 0:ht.contains(Ke.relatedTarget);(!Ke.relatedTarget||!bt)&&q(!1)},onDrop:Ke=>{var bt;ze(Ke),q(!1),!W&&!_&&((bt=Ke.dataTransfer.files)!=null&&bt.length)&&De(Ke.dataTransfer.files)}}},[W,_,De]),tt=C.useMemo(()=>{const ze=Ze.clsx(Bn.ButtonRenderer,"NoSelect");return{upload:Ke=>S.jsx(So,{className:ze,icon:"X",iconSize:"sm",style:{color:"var(--label-neutral)"},tooltip:I.Delete,type:"Raw",onClick:()=>we(Ke)}),loading:()=>S.jsx(So,{className:ze,icon:"Spinner",iconSize:"sm",type:"Raw"}),error:Ke=>S.jsx(_k,{baseClass:ze,errorClass:Bn.ErrorColor,errorCursorClass:Bn.ErrorCursor,file:Ke,resources:I,onDownload:_e}),download:Ke=>S.jsx(So,{className:ze,icon:"FileDownload",iconSize:"sm",style:{color:"var(--acent-brand)"},tooltip:I.Download,type:"Raw",onClick:()=>_e(Ke)})}},[I,we,_e]),We=C.useCallback((ze,Ke)=>{const bt=ue(ze),ht=xe(ze),dt=()=>g==="Upload"?tt.upload(ze):bt?tt.loading():ht?tt.error(ze):tt.download(ze);return S.jsx(F1,{ButtonRenderer:dt,className:Ze.clsx(Bn.FileChip,ht&&Bn.ErrorBorder),label:S.jsx("div",{className:Bn.FileChipContent,children:S.jsxs(Tn,{className:Bn.FileNameContainer,children:[S.jsx(Ya,{children:ze.name,className:Ze.clsx(ht&&Bn.ErrorColor)}),S.jsx("span",{children:Mu(ze.size),className:Bn.FileSize})]})})},Ke)},[ue,xe,g,tt]),et=C.useCallback(()=>S.jsx("div",{className:Ze.clsx(Bn.FileBox,W&&Bn.ErrorBorder,W&&Bn.ErrorColor,W&&Bn.ErrorCursor,Ae&&Bn.Disabled),...Me,ref:ne,children:B?S.jsxs(Tn,{className:Ze.clsx("NoSelect"),style:{gap:4},children:[S.jsx(ln,{icon:"FileDownload"}),S.jsx("span",{children:I["Drop file to select"]})]}):S.jsxs(Zo,{className:Ze.clsx(Bn.SelectRenderer,"NoSelect"),isDisabled:W||_||Ae,type:"Raw",onClick:Ge,children:[I["Insert File"],w&&` ${(P==null?void 0:P.length)||0} / ${w}`]})}),[W,B,I,Ge,_,Me,P,w,Ae]),st=C.useMemo(()=>{const ze=g==="Upload",Ke=ze?I["Delete All"]:I["Download All"],bt=ze?Se:Re;return S.jsxs(Tn,{className:Bn.LabelContainer,children:[t,g==="Upload"&&S.jsxs(Ya,{className:Ze.clsx(Bn.TotalFileSize,"NoSelect"),children:["(",S.jsx("span",{className:Ze.clsx(W&&Bn.ErrorColor),children:Mu(le)})," / ",Mu(v),")"]}),S.jsx("span",{children:Ke,className:Ze.clsx(Bn.LabelButton,"Label1",ke&&Bn.Disabled,ze&&Bn.Delete),onClick:ke?void 0:bt})]})},[g,I,Se,Re,t,W,le,v,ke]);return g==="Download"&&!(P!=null&&P.length)?null:S.jsxs(zc,{errorMessage:a,helperText:e,label:st,labelProps:n,wrapProps:o,wrapType:i,children:[S.jsx("input",{ref:ae,multiple:!0,accept:d||"",style:{display:"none"},type:"file",onChange:Ue}),S.jsx(Zr,{...D,className:Ze.clsx(Bn.AFileUploader,k),children:S.jsxs(Tn,{className:Bn.ChipsContainer,children:[g==="Upload"&&et(),P==null?void 0:P.map(We)]})})]})},Ek="_AFloatMenu_xco8u_1",Tk="_Content_xco8u_10",z0={AFloatMenu:Ek,Content:Tk},mw=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:o,onClose:i,onClick:a,onPaperClick:c,position:d=sf.ES,width:h=137}=r,p=C.useMemo(()=>({content:kk,...t}),[t]),m=C.useMemo(()=>{const B={};return or.keys(e).forEach(q=>{const V=e[q],ee={...p,...V};ee.noDisplay||(B[q]=ee)}),B},[p,e]),[g,v]=C.useState(null),w=C.useCallback(B=>{Tx(B,D,d,o),v(B)},[d,o]),[E,_]=C.useState(!1),[A,k]=C.useState(!1),D=C.useRef(null),I=C.useCallback(B=>{k(!0),setTimeout(()=>_(!0),0),setTimeout(()=>w(B),0)},[w]),P=C.useCallback(()=>{_(!1),k(!0),i==null||i()},[i]),j=C.useCallback(()=>k(!1),[]),W=C.useCallback(async B=>{const q=document.getElementById("root"),V=B.target,ee=D.current;!q||!ee||!V||!ee.contains(V)&&q.contains(V)&&(await(c==null?void 0:c(B)),P())},[P,c]);C.useEffect(()=>{if(E)return setTimeout(()=>document.addEventListener("mousedown",W),0),()=>document.removeEventListener("mousedown",W)},[E,W]);const F=C.useCallback(()=>{g&&w(g)},[w,g]);C.useEffect(()=>{if(!E||!g)return;let B=g.parentElement;for(;B;)B.addEventListener("scroll",F),B=B.parentElement;return()=>{let q=g.parentElement;for(;q;)q.removeEventListener("scroll",F),q=q.parentElement}},[g,E,F]),C.useEffect(()=>{if(E)return window.addEventListener("resize",F),()=>window.removeEventListener("resize",F)},[E,F]);const G=C.useCallback(B=>{B[0].intersectionRatio===0&&P()},[P]);C.useEffect(()=>{if(!E)return;const B=new IntersectionObserver(G,{threshold:0});return D.current&&B.observe(D.current),()=>B.disconnect()},[D,E,G]),C.useEffect(()=>{n&&(n.current={open:I,close:P})},[n,I,P]);const pe=C.useCallback(B=>{var q;if(E){if((q=m[B])!=null&&q.isDisabled)return}else return;a==null||a(B),P()},[E,a,P,m]);return!E&&!A?null:ks.createPortal(S.jsx("div",{ref:D,className:z0.AFloatMenu,style:{opacity:+E,visibility:E&&Object.keys(m).length>0?"visible":"hidden",minWidth:h},onTransitionEnd:j,children:or.map(m,([B],q)=>{const V={...p,...m[B]};let{content:ee,noDisplay:ae,tooltipDirection:ne=Io.E,...oe}=V;return ae?null:(ee=Or.getContent(V.content,{defKey:B,def:V}),C.createElement(Zr,{...oe,key:q,className:Ze.clsx(z0.Content,"Label2","IsClickable",oe.className),tooltipDirection:ne,onClick:le=>{var ge;pe==null||pe(B),(ge=oe.onClick)==null||ge.call(oe,le)}},ee))})}),document.body)},kk=r=>r.defKey;function Rk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const vw={parseInt:Rk},Ik=`${Number.MAX_SAFE_INTEGER}`.length-1,Mk=r=>{const{unit:e,type:t="Secondary",min:n,max:o,useValue:i,onEnterPress:a,canAsterisk:c=!1,onFocus:d,...h}=r,p=C.useMemo(()=>o!==void 0&&n!==void 0?Math.max(`${o}`.length+1,`${n}`.length+1):Ik,[n,o]),[m,g]=gn(i,""),v=C.useCallback(A=>{if(g)if(c&&A.startsWith("*"))g("*");else if(A==="")g("");else if(A==="-")g("-");else{A=A.replace(/[^0-9-]/g,"");try{const k=vw.parseInt(A);k!==void 0&&(n!==void 0&&k<n?g(`${n}`):o!==void 0&&k>o?g(`${o}`):g(`${k}`))}catch(k){console.error("ANumInput : ",k)}}},[g,c,n,o]),w=C.useRef(null),E=C.useCallback(A=>{var k;(k=w.current)==null||k.blur(),a==null||a(A)},[a]),_=C.useMemo(()=>n===void 0&&o===void 0?e??"number":`${n??""}~${o??""}`,[n,o,e]);return S.jsx($c,{...h,autoComplete:"off",className:Ze.clsx(mi.ANumInput,r.className),inputRef:w,maxLength:p,placeholder:_,RightAddon:r.unit&&S.jsx("span",{style:{marginRight:4},children:r.unit}),type:t,useValue:[m,v],onEnterPress:E})},Lk="_AListView_k7t2d_1",Dk="_Row_k7t2d_10",Ok="_Label_k7t2d_20",Nk="_Content_k7t2d_30",Hh={AListView:Lk,Row:Dk,Label:Ok,Content:Nk},Pk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:o,labelWidth:i,noBorder:a,style:c,...d}=r,h=a?"":"var(--AListView_border-thin)",p=a?"":"var(--AListView_border-thick)",m=C.useMemo(()=>({content:jk,label:Bk,...t}),[t]),g=C.useMemo(()=>{const v={};return or.keys(e).forEach(w=>{const E=e[w],_={...m,...E};v[w]=_}),v},[m,e]);return S.jsx(Zr,{...d,className:Ze.clsx(Hh.AListView,d.className),style:{...c,borderTop:h},children:or.map(g,([v])=>{const w={...m,...g[v]},E=Or.getContent(w.label,{defKey:v,item:n,def:w}),_=Or.getContent(w.content,{defKey:v,item:n||{[v]:""},def:w}),A=Or.getContent(w.bold||"label",{defKey:v,item:n,def:w});return S.jsxs("div",{className:Hh.Row,style:{height:o,borderBottom:h},children:[S.jsx("div",{className:Ze.clsx(Hh.Label,"NoSelect",A!=="content"&&"Bold"),style:{width:i,minWidth:i,maxWidth:i,borderLeft:p,paddingLeft:a?0:10},children:S.jsx(Ya,{children:E})}),S.jsx("div",{className:Ze.clsx(Hh.Content,A!=="label"&&"Bold"),style:{borderLeft:p,borderRight:p},children:S.jsx(Ya,{style:{width:"100%",padding:a?0:10},children:_})})]},v)})})},Bk=r=>r.defKey,jk=r=>{const{defKey:e,item:t}=r;if(t)if(or.hasKey(t,e)){const n=t[e];return or.isReactNode(n)?n:null}else return null;else return null},Fk="_ALoadingBorder_kwc1g_1",zk="_ProgressBar_kwc1g_9",$k="_IsLoading_kwc1g_15",Hk="_Cover_kwc1g_19",Nf={ALoadingBorder:Fk,ProgressBar:zk,IsLoading:$k,Cover:Hk},U1=r=>{const{isLoading:e}=r,[t,n]=C.useState(!1),o=C.useRef(null);return C.useEffect(()=>{e?(n(!0),o.current&&clearTimeout(o.current)):o.current=setTimeout(()=>n(!1),300)},[e]),S.jsxs("div",{className:Nf.ALoadingBorder,children:[S.jsx("div",{className:Ze.clsx(Nf.ProgressBar,t&&Nf.IsLoading)}),S.jsx("div",{className:Ze.clsx(Nf.Cover,e&&Nf.IsLoading),style:{transition:"all 300ms"}})]})},qk="_Container_ez8dc_1",Wk="_Option_ez8dc_7",Uk="_RadioButton_ez8dc_14",Vk="_InnerCircle_ez8dc_24",Gk="_isChecked_ez8dc_29",Nd={Container:qk,Option:Wk,RadioButton:Uk,InnerCircle:Vk,isChecked:Gk},Zk=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:o=23,innerRadius:i=o*.6,OptionRenderer:a=yw}=r,[c,d]=gn(t,e[0]);return S.jsx("div",{className:Nd.Container,children:e.map((h,p)=>{const m=n==null?void 0:n(h),g=()=>m?null:d==null?void 0:d(h);return S.jsxs(Tn,{className:Ze.clsx(Nd.Option,"IsClickable"),isDisabled:m,onClick:g,children:[S.jsx(Yk,{innerRadius:i,isChecked:c===h,radius:o},p),S.jsx(a,{option:h})]},p)})})},yw=({option:r})=>r,Yk=({isChecked:r,radius:e,innerRadius:t})=>S.jsx(Zr,{className:Ze.clsx(Nd.RadioButton,r&&Nd.isChecked),style:{width:e,height:e},children:S.jsx(Zr,{className:Ze.clsx(Nd.InnerCircle,r&&Nd.isChecked),style:{width:t,height:t}})}),Kk="_AMultiSelect_19uuu_1",Xk="_Arrow_19uuu_15",Jk="_Primary_19uuu_24",Qk="_UnAvailable_19uuu_35",eR="_IsOpen_19uuu_35",tR="_Secondary_19uuu_42",rR="_Placeholder_19uuu_58",nR="_ValuesContainer_19uuu_63",oR="_Values_19uuu_63",iR="_Options_19uuu_82",sR="_Option_19uuu_82",aR="_Selected_19uuu_124",lR="_CheckBox_19uuu_131",Ii={AMultiSelect:Kk,Arrow:Xk,Primary:Jk,UnAvailable:Qk,IsOpen:eR,Secondary:tR,Placeholder:rR,ValuesContainer:nR,Values:oR,Options:iR,Option:sR,Selected:aR,CheckBox:lR},cR=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=wr.AMultiSelect["Select(Placeholder)"],onClose:i,SelectedRenderer:a=dR,OptionRenderer:c=fR,minShowRows:d=2,maxShowRows:h=6,arrowProps:p,isAutoWidth:m=!1,...g}=r,v=C.useRef(null),w=C.useMemo(()=>g.abaseRef??v,[g.abaseRef]),E=C.useRef(null),[_,A]=gn(t,[]),[k,D]=C.useState(void 0),I=C.useRef(e),P=C.useRef(null),[j,W]=C.useState(!1),[F,G]=C.useState(!1),pe=C.useCallback(()=>G(!1),[]),B=C.useCallback(()=>{g.isDisabled||g.isLoading||e.length<1||(G(!0),setTimeout(()=>W(!0),0),setTimeout(()=>Og(E,w,e,d,h),0))},[w,g.isDisabled,g.isLoading,e,d,h]),q=C.useCallback(()=>{W(!1),G(!0),i==null||i()},[i]),V=C.useCallback(te=>{var ie;j?q():B(),setTimeout(()=>Og(E,w,e,d,h),0),(ie=g.onClick)==null||ie.call(g,te)},[w,g,e,j,q,B,d,h]),ee=C.useCallback(()=>{Og(E,w,e,d,h)},[w,e,d,h]);C.useEffect(()=>{if(!j||!w.current)return;const te=w.current;let ie=te.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ue=te.parentElement;for(;ue;)ue.removeEventListener("scroll",ee),ue=ue.parentElement}},[w,j,ee]),C.useEffect(()=>{if(j)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[j,ee]);const ae=C.useCallback(te=>{te[0].intersectionRatio===0&&q()},[q]);C.useEffect(()=>{if(!j)return;const te=new IntersectionObserver(ae,{threshold:0});return w.current&&te.observe(w.current),()=>te.disconnect()},[w,j,ae]);const ne=C.useCallback(te=>{const ie=te.target,ue=w.current,xe=E.current;!ue||!ie||!xe||!ue.contains(ie)&&!xe.contains(ie)&&q()},[w,q]),oe=C.useMemo(()=>g.isDisabled||g.isLoading||e.length<1,[g.isDisabled,g.isLoading,e]);C.useEffect(()=>{if(j)return setTimeout(()=>document.addEventListener("mousedown",ne),0),()=>document.removeEventListener("mousedown",ne)},[j,ne]);const le=C.useCallback((te,ie)=>{te.stopPropagation(),te.preventDefault();let ue=[..._];ue.includes(ie)?ue=ue.filter(xe=>xe!==ie):ue.push(ie),A==null||A(ue)},[_,A]),ge=C.useCallback(()=>{if(!m||!w.current)return;const te=Iu.calculateOptimalSelectWidth({elementRef:w,options:e,selectedOptions:_,placeholder:o,optionRenderer:ie=>c({option:ie}),type:n,isMulti:!0});D(te)},[m,w,e,_,o,c,n]);return C.useEffect(()=>m?((e!==I.current||k===void 0)&&(P.current!==null&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(()=>{ge(),P.current=null,I.current=[...e]})),()=>{P.current!==null&&(cancelAnimationFrame(P.current),P.current=null)}):void 0,[m,e,ge,k]),C.useEffect(()=>()=>{typeof Iu.clearCache=="function"&&Iu.clearCache()},[]),S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...g,abaseRef:w,isDisabled:g.isDisabled||e.length<1,className:Ze.clsx(g.className,Ii.AMultiSelect,"NoSelect",j&&Ii.IsOpen,oe&&Ii.UnAvailable,Ii[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:k?`${k}px`:m?"100px":void 0,...g.style},onClick:V,children:[S.jsx("div",{className:Ii.ValuesContainer,children:S.jsx("div",{className:Ze.clsx(Ii.Values,_.length<1&&Ii.Placeholder),children:S.jsx(a,{OptionRenderer:c,placeholder:o,selectedOptions:_})})}),S.jsx("div",{...p,className:Ze.clsx(Ii.Arrow,p==null?void 0:p.className),children:S.jsx(ln,{icon:"TriangleDown",style:{transform:j?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(j||F)&&ks.createPortal(S.jsx("div",{ref:E,className:Ze.clsx(Ii.Options,Ii[n]),style:{opacity:+j,visibility:j?"visible":"hidden",pointerEvents:j?void 0:"none",width:k?`${k}px`:m?"100px":void 0,borderRadius:w.current?window.getComputedStyle(w.current).borderRadius:void 0},onTransitionEnd:pe,children:e.map((te,ie)=>{var xe;const ue=_.includes(te);return S.jsxs("div",{className:Ze.clsx(Ii.Option,ue&&Ii.Selected,"NoSelect",Ii[n]),style:{height:(xe=w.current)==null?void 0:xe.getBoundingClientRect().height},onClick:ke=>le(ke,te),children:[S.jsx(Yd,{className:Ii.CheckBox,useCheck:[+ue,void 0]}),S.jsx(c,{option:te})]},ie)})}),document.body)]})};function Og(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const i=e.current.getBoundingClientRect(),a=uR(i,t.length,n,o),c=window.getComputedStyle(e.current);r.current.style.top=`calc(${a.top??0}px - ${c.borderTopWidth})`,r.current.style.bottom=a.bottom?a.bottom+"px":"",r.current.style.left=a.left+"px",r.current.style.width||(r.current.style.minWidth=a.minWidth+"px"),r.current.style.minHeight=a.minHeight+"px",r.current.style.maxHeight=a.maxHeight+"px",r.current.style.visibility="visible"}function uR(r,e,t,n){const o={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const dR=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?S.jsx(e,{option:t[0]}):`${t.length} selected`},fR=r=>{const{option:e}=r;return or.isReactNode(e)?e:null},hR="_Container_10ion_1",pR="_Steps_10ion_9",gR="_Step_10ion_9",mR="_OutCircle_10ion_26",vR="_IsOver_10ion_37",yR="_InCircle_10ion_41",bR="_Line_10ion_54",xR="_Left_10ion_66",wR="_Right_10ion_69",CR="_ContentContainer_10ion_73",SR="_Content_10ion_73",pi={Container:hR,Steps:pR,Step:gR,OutCircle:mR,IsOver:vR,InCircle:yR,Line:bR,Left:xR,Right:wR,ContentContainer:CR,Content:SR},_R=r=>{const{useSelect:e,steps:t,StepRenderer:n=$0,ContentRenderer:o=$0}=r;if(t.length===0)throw new Error("steps should have at least one element");const i=C.useRef(null),[a,c]=gn(e,t[0]),d=C.useCallback(p=>c==null?void 0:c(p),[c]),h=C.useMemo(()=>t.indexOf(a),[a,t]);return C.useEffect(()=>{h<0&&d(t[0])},[h,t,d]),S.jsxs("div",{className:pi.Container,children:[S.jsx("div",{className:pi.Steps,children:t.map((p,m)=>{const g=t.indexOf(p),v=h>=m,w=h>m;return S.jsxs("div",{className:pi.Step,children:[m!==0&&S.jsx("div",{className:Ze.clsx(pi.Line,pi.Left,v&&pi.IsOver)}),m!==t.length-1&&S.jsx("div",{className:Ze.clsx(pi.Line,pi.Right,w&&pi.IsOver)}),S.jsx(Zo,{className:Ze.clsx(pi.OutCircle,v&&pi.IsOver),type:"Raw",onClick:()=>d(p),children:S.jsx("div",{className:Ze.clsx(pi.InCircle,v&&pi.IsOver)})}),S.jsx(n,{step:p,stepIdx:g})]},m)})}),S.jsx("div",{ref:i,className:pi.ContentContainer,children:t.map((p,m)=>{const g=t.indexOf(p);return S.jsx("div",{className:pi.Content,style:m===0?{marginLeft:`${h*-100}%`}:{},children:S.jsx(o,{step:p,stepIdx:g})},m)})})]})},$0=r=>{const{step:e}=r;return typeof e=="object"?or.stringify(e):e},AR="_ATab_2c2d2_1",ER="_Option_2c2d2_9",TR="_Underline_2c2d2_23",kR="_IsSelected_2c2d2_23",RR="_IndicatorTrack_2c2d2_34",IR="_Indicator_2c2d2_34",MR="_Primary_2c2d2_50",LR="_Secondary_2c2d2_57",DR="_IsDisabled_2c2d2_67",OR="_Tertiary_2c2d2_81",NR="_Quaternary_2c2d2_111",_c={ATab:AR,Option:ER,Underline:TR,IsSelected:kR,IndicatorTrack:RR,Indicator:IR,Primary:MR,Secondary:LR,IsDisabled:DR,Tertiary:OR,Quaternary:NR},PR=["Primary","Secondary","Tertiary","Quaternary"],bw=r=>{const{options:e,useSelect:t,selectDisabled:n,type:o="Primary",tabProps:i,optionProps:a,optionWidth:c,OptionRenderer:d=BR,RightAddon:h,color:p,selectedColor:m,underline:g,indicatorProps:v,indicatorTrackProps:w}=r;if(e.length===0)throw new Error("options should have at least one element");const E=C.useMemo(()=>e.findIndex(ie=>!(n!=null&&n(ie))),[e,n]),_=o==="Tertiary"?2:0,A=o==="Secondary"?8:0,k=C.useMemo(()=>_+A,[_,A]),D=o==="Tertiary"?2:0,I=C.useMemo(()=>(A-_-D-D)/e.length,[e.length,_,A,D]),[P,j]=gn(t,e[E]),W=C.useRef([]),F=C.useCallback(ie=>j==null?void 0:j(ie),[j]),G=C.useMemo(()=>typeof c=="number"?c+"px":c,[c]),pe=C.useMemo(()=>e.indexOf(P),[e,P]),B=C.useMemo(()=>`calc(${100/e.length}% + ${I}px)`,[e.length,I]),q=C.useMemo(()=>G||`calc(${B} - ${k}px)`,[B,k,G]),[V,ee]=C.useState(0),[ae,ne]=C.useState(0),[oe,le]=C.useState(q),ge=C.useMemo(()=>{let ie;switch(G){case void 0:ie=`calc(${B} * ${pe})`;break;case"fit-content":ie=`calc(${V}px)`;break;default:ie=`calc((${G} + ${k}px) * ${pe})`;break}return`calc(${ie} + ${D}px)`},[G,D,B,pe,V,k]),te=C.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${ae}px)`;default:return`calc((${G} + ${k}px - ${I}px) * ${e.length})`}},[G,I,k,e,ae]);return C.useEffect(()=>{var ue,xe;if(e.includes(P)||j==null||j(e[E]),G!=="fit-content"){le(q);return}let ie=0;W.current.forEach((ke,se)=>{se<pe&&ke.current&&(ie+=ke.current.offsetWidth+k)}),ee(ie),le(`calc(${((xe=(ue=W.current[pe])==null?void 0:ue.current)==null?void 0:xe.offsetWidth)||0}px)`),ne(W.current.reduce((ke,se)=>{var Ae;return ke+((((Ae=se.current)==null?void 0:Ae.offsetWidth)||0)+k-I)},0))},[G,W,e,P,j,E,I,k,pe,q]),S.jsxs("div",{...i,className:Ze.clsx(_c.ATab,"Headline2",_c[o],i==null?void 0:i.className),children:[S.jsx("div",{...v,className:Ze.clsx(_c.Indicator,v==null?void 0:v.className),style:{minWidth:oe,left:ge,marginLeft:_,...v==null?void 0:v.style}}),S.jsx("div",{...w,className:Ze.clsx(_c.IndicatorTrack,w==null?void 0:w.className),style:{width:te,...w==null?void 0:w.style}}),S.jsx(kn,{w:D}),e.map((ie,ue)=>{const xe=n==null?void 0:n(ie);return W.current[ue]||(W.current[ue]=C.createRef()),S.jsx(Zr,{abaseRef:W.current[ue],...a,isDisabled:xe,className:Ze.clsx(_c.Option,xe&&_c.IsDiabled,ie===P&&_c.IsSelected,"IsClickable",g&&_c.Underline,a==null?void 0:a.className),style:{minWidth:q,maxWidth:q,marginLeft:_,marginRight:A,"--color":ie===P&&m||p,...a==null?void 0:a.style},onClick:ke=>{!xe&&F(ie),a&&a.onClick&&a.onClick(ke)},children:S.jsx(d,{option:ie})},ue)}),S.jsx(kn,{w:D+D+_}),h&&S.jsxs(S.Fragment,{children:[S.jsx(Fu,{}),h]})]})},BR=r=>{const{option:e}=r;if(typeof e=="string")return e;if(typeof e=="number")return e;if(typeof e=="object"){if(e===null)return"";const t=or.keys(e);return"name"in t?e.name:"label"in t?e.label:"value"in t?e.value:JSON.stringify(e)}else return JSON.stringify(e)};function xw(...r){const e=C.useRef(!1);C.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const ww={String:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;if(t==="")return or.keys(e).some(p=>{const m=e[p],g=Or.getContent(m.asText,{defKey:p,def:m,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(o.toLowerCase());const v=Or.getContent(m.content,{defKey:p,def:m,item:r});return["string","number"].includes(typeof v)&&v!==void 0&&v!==null?v.toString().toLowerCase().includes(o.toLowerCase()):!1});const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0)return d.toString().toLowerCase().includes(o.toLowerCase());const h=Or.getContent(c.content,{defKey:a,def:c,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?h.toString().toLowerCase().includes(o.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:o}=n;if(o==null)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0)return o.toString().toLowerCase()===d.toString().toLowerCase();const h=Or.getContent(c.content,{defKey:a,def:c,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?o.toString().toLowerCase()===h.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0){const p=Zt.toDate(d.toString());return p&&Zt.eq(p,o)}const h=Or.getContent(c.content,{defKey:a,def:c,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const p=Zt.toDate(h.toString());return p&&Zt.eq(p,o)}return!1},DateRange:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0){const p=Zt.toDate(d.toString());return p&&Zt.be(o.sDate,p,o.eDate)}const h=Or.getContent(c.content,{defKey:a,def:c,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const p=Zt.toDate(h.toString());return p&&Zt.be(o.sDate,p,o.eDate)}return!1}},jR=(r,e,t)=>{let n=r;return or.keys(t).forEach(i=>{const a=t[i];a.value===void 0||a.value===null||a.value===""||(n=n.filter(c=>{var d;return(d=a.predicate??ww[a.type])==null?void 0:d(c,e,i,a)}))}),n},FR=(r,e,t)=>{if(!t)return r;const n=t.defKey,o=e[n];if(n===void 0)return r;const i=t.sortF??((a,c)=>{const d=Or.getContent(o.content,{defKey:n,def:o,item:a}),h=Or.getContent(o.content,{defKey:n,def:o,item:c});return typeof d=="string"&&typeof h=="string"?d<h?-1:d>h?1:0:typeof d=="number"&&typeof h=="number"?d-h:typeof d=="string"&&typeof h=="number"?-1:typeof d=="number"&&typeof h=="string"||d===void 0&&h!==void 0?1:d!==void 0&&h===void 0?-1:0});return typeof i=="function"&&i.length>=3?r.slice().sort((a,c)=>i(a,c,t.isAsc)):r.slice().sort((a,c)=>{const d=i(a,c);return t.isAsc?d:-d})},zR=(r,e,t)=>r.slice((e-1)*t,e*t),Cw=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,o)=>o+1)},$R=(r,e,t,n)=>{const o=Cw(e,t),i=Math.floor((r-1)/n),a=i*n+1,c=(i+1)*n,d=o.slice(a-1,c);return{pages:o,rangedPages:d}},HR=(r,e,t)=>{const n=[],o=Object.keys(t),i=[];o.forEach(g=>{const v=t[g],w=Or.getContent(v.hContent,{defKey:g,def:v});if(w!==void 0){if(typeof w=="string"){i.push(w);return}else if(typeof w=="number"){i.push(w.toString());return}}const E=Or.getContent(v.name,{defKey:g,def:v});if(E!==void 0&&typeof E=="string"){i.push(E);return}i.push(g)});const a=i.map(g=>`"${g.replaceAll('"','""')}"`);n.push(a.join(",")),e.forEach(g=>{const v=[];o.forEach(E=>{const _=t[E],A=Or.getContent(_.content,{defKey:E,def:_,item:g});if(A!==void 0){if(typeof A=="string"){v.push(A);return}else if(typeof A=="number"){v.push(A.toString());return}}const k=g[E];typeof k=="string"?v.push(k):typeof k=="number"?v.push(k.toString()):v.push("")});const w=v.map(E=>`"${E.replaceAll('"','""')}"`);n.push(w.join(","))});const c=`${r}.csv`,d="\uFEFF"+n.join(`
|
166
|
-
`),h=new Blob([d],{type:"text/csv;charset=UTF-8"}),p=URL.createObjectURL(h),m=document.createElement("a");m.href=p,m.download=c,m.click(),URL.revokeObjectURL(p)},qR=r=>{const e=or.keys(r);if(e.length!==1)return;const t=e[0];if(t!=="")return;const n=r[t];if(n.type==="String")return n.value},WR=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,o])=>{!o||o.value===void 0||o.value===null||o.value===""||(o.type==="DateRange"?(t[o.sFilterKey]=o.value.sDate,t[o.eFilterKey]=o.value.eDate):t[o.filterKey??n]=o.value)}),t},UR=r=>{const e=or.keys(r).filter(o=>o!=="");if(e.length!==1)return;const t=e[0],n=r[t];return!n||n.value===void 0||n.value===null||n.value===""?{selectedKey:t,value:void 0}:{selectedKey:t,value:n.value}},Il={applyFilteration:jR,applySortation:FR,applyPagination:zR,getPages:Cw,getRangedPages:$R,downloadCsv:HR,getSingleFilterValue:qR,getMultiFilterValues:WR,getSelectFilterValue:UR},VR="_ATable_12zow_1",GR={ATable:VR};function Sw(r,e,t,n){C.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const ZR="_BodyHeader_ys4y0_1",YR="_TRow_ys4y0_7",KR="_OverflowSpace_ys4y0_11",XR="_BodyBody_ys4y0_16",JR="_IsSelected_ys4y0_35",QR="_IsSelectable_ys4y0_39",e8="_IsRowMarked_ys4y0_47",t8="_TH_ys4y0_52",r8="_TD_ys4y0_57",n8="_IsMarked_ys4y0_57",o8="_Resizer_ys4y0_76",i8="_IsMoving_ys4y0_88",s8="_IsResizable_ys4y0_91",a8="_ResizerCenter_ys4y0_94",l8="_ResizerOut_ys4y0_100",c8="_ResizerIn_ys4y0_104",u8="_IsClicked_ys4y0_139",d8="_NoItems_ys4y0_146",f8="_Content_ys4y0_152",An={BodyHeader:ZR,TRow:YR,OverflowSpace:KR,BodyBody:XR,IsSelected:JR,IsSelectable:QR,IsRowMarked:e8,TH:t8,TD:r8,IsMarked:n8,Resizer:o8,IsMoving:i8,IsResizable:s8,ResizerCenter:a8,ResizerOut:l8,ResizerIn:c8,IsClicked:u8,NoItems:d8,Content:f8},Mc=25,Ng=50,h8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:o,isTableDisabled:i,isSelectMulti:a,selectDisabled:c,appliedFilteration:d,useSortation:h,pagination:p,pagedItems:m,noMarking:g,noDefHeader:v,isLoading:w,showRows:E,RowRenderer:_=m8,isRowRendered:A,rowHeight:k,resources:D}=r,[I,P]=C.useMemo(()=>o??[],[o]),j=C.useCallback(We=>{i||!P||!I||c!=null&&c(We)||(a?I.some(et=>t(et,We))?P(I.filter(et=>!t(et,We))):P([...I,We]):P([We]))},[I,c,P,t,i,a]);C.useEffect(()=>{a||!I||!P||I.length>1&&P([I[I.length-1]])},[I,P,a]),C.useEffect(()=>{if(!I||!P)return;I.filter(et=>c==null?void 0:c(et)).length>0&&P(I.filter(et=>!(c!=null&&c(et))))},[I,P,c]);const[W,F]=h,G=C.useCallback((We,et)=>{F&&((W==null?void 0:W.defKey)===We?W.isAsc===!0?F({defKey:We,isAsc:!1,sortF:et}):W.isAsc===!1?F(void 0):F({defKey:We,isAsc:!0,sortF:et}):F({defKey:We,isAsc:!0,sortF:et}))},[W,F]),[pe,B]=C.useState({elem:null,row:null}),q=C.useRef(null),V=C.useRef(null),ee=C.useCallback(()=>B({elem:q.current,row:V.current}),[]);C.useEffect(()=>ee(),[m.length,ee]),Sw(window,"resize",ee);const[ae,ne]=C.useState(k);C.useEffect(()=>{const{row:We}=pe;We!=null&&ne(We.clientHeight)},[pe,ae]);const oe=C.useMemo(()=>{const{elem:We}=pe;return We?Math.floor(We.clientHeight/ae):0},[pe,ae]),le=C.useMemo(()=>E||(m.length<=oe?oe:m.length),[oe,E,m]),ge=C.useMemo(()=>{if(E!==void 0)return E*ae},[E,ae]),te=C.useMemo(()=>ge,[ge]),ie=C.useMemo(()=>{const{elem:We}=pe;return We?We.getBoundingClientRect().height/ae<m.length:!1},[pe,ae,m.length]),[ue,xe]=C.useState(),ke=C.useMemo(()=>{const{elem:We}=pe;return!ue||!We?"100%":We.clientHeight+(A?0:50)},[ue,A,pe]),se=C.useRef(null),[Ae,De]=C.useState({}),Ge=C.useRef({x:0,y:0}),Ue=C.useRef({}),we=C.useMemo(()=>or.keys(Ae),[Ae]),Se=C.useCallback((We,et)=>{const st=se.current;if(!st)return;const ze=[];st.childNodes.forEach(dt=>{dt.classList.contains(An.TH)&&ze.push(dt)});const Ke={};or.keys(e).forEach((dt,St)=>{const Ve=ze[St];if(!Ve)return;const rt=Ve.getBoundingClientRect().width;Ke[dt]=rt}),Ue.current=Ke,xe(et),Ge.current={x:We.clientX,y:We.clientY};const bt=dt=>{if(!se.current)return;const Ve=dt.clientX-Ge.current.x,rt=g8(e,et,Ue.current,Ve);De(rt)};document.addEventListener("mousemove",bt);const ht=()=>{xe(void 0),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",ht)};document.addEventListener("mouseup",ht)},[e]),_e=C.useCallback(()=>{xe(void 0),De({})},[]),Re=C.useMemo(()=>{if(we.length===0){const st={},ze=or.keys(e);for(let Ke=0;Ke<ze.length;Ke++){const bt=ze[Ke],ht=e[bt],dt=Or.getContent(ht.colSpan,{defKey:bt,def:ht}),St=ht.width??80,Ve=ht.minWidth??Mc,rt=ht.maxWidth,vt={width:St,minWidth:Ve,maxWidth:rt,flexGrow:dt??1};if(st[bt]=vt,dt!==void 0){for(let Tt=1;Tt<Math.min(dt,ze.length-Ke);Tt++){const xt=e[ze[Ke+Tt]],Mt=xt.width??80,Vt=xt.minWidth??Mc,Ht=xt.maxWidth;vt.width+=Mt,vt.minWidth+=Vt,vt.maxWidth!==void 0&&(Ht!==void 0?vt.maxWidth+=Ht:vt.maxWidth=void 0)}Ke+=dt-1}}return st}const We={},et=or.keys(e);for(let st=0;st<et.length;st++){let ze=et[st];const Ke=e[ze];let bt=Ae[ze];const ht=Or.getContent(Ke.colSpan,{defKey:ze,def:Ke}),dt=Ke.minWidth??Mc,St=Ke.maxWidth,Ve={width:bt,minWidth:dt,maxWidth:St,flexGrow:ht??1};if(We[ze]=Ve,ht!==void 0){for(let rt=1;rt<Math.min(ht,et.length-st);rt++){const vt=e[et[st+rt]],Tt=Ae[et[st+rt]],xt=vt.minWidth??Mc,Mt=vt.maxWidth;Ve.width+=Tt,Ve.minWidth+=xt,Ve.maxWidth!==void 0&&(Mt!==void 0?Ve.maxWidth+=Mt:Ve.maxWidth=void 0)}st+=ht-1}}return We},[e,we,Ae]),Me=C.useRef(null),tt=C.useMemo(()=>Il.getSingleFilterValue(d),[d]);return C.useEffect(()=>{q.current&&q.current.scrollTo({top:0})},[p.page]),C.useEffect(()=>{A&&V.current&&V.current.scrollIntoView({behavior:"smooth",block:"center"})},[I,m,A]),S.jsxs(S.Fragment,{children:[S.jsx(U1,{isLoading:w}),S.jsx("div",{ref:Me,className:Ze.clsx(An.BodyHeader,ue!==void 0&&An.IsClicked),style:{display:v||A?"none":"flex"},onResizeCapture:ee,children:S.jsx("div",{ref:se,className:An.TRow,style:{minHeight:Ng,maxHeight:Ng},children:or.map(e,([We],et)=>{const st=e[We],ze=Or.getContent(st.hContent,{defKey:We,def:st}),Ke=st.name,bt=et===or.keys(e).length-1,ht=st.width??80,dt=st.minWidth??Mc,St=st.maxWidth,Ve={width:ht,minWidth:dt,maxWidth:St,justifyContent:Or.getContent(st.hAlign,{defKey:We,def:st})??"flex-start",...Or.getContent(st.hStyle,{defKey:We,def:st})};we.includes(We)&&(Ve.width=Ae[We]);const rt=st.isSortable,vt=(W==null?void 0:W.defKey)===We,Tt=W==null?void 0:W.isAsc;return S.jsxs(C.Fragment,{children:[S.jsxs("div",{className:Ze.clsx(An.TH,"Label1",rt?"IsClickable":"NoSelect"),style:Ve,onClick:()=>rt&&G(We,st.sortF),children:[S.jsx(Ya,{children:ze??Ke,className:An.Content}),rt&&S.jsx(ln,{icon:vt?Tt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!bt&&S.jsxs("div",{className:Ze.sclsx(An,"Resizer","IsResizable","NoSelect",ue!==void 0&&"IsMoving"),onDoubleClick:_e,onMouseDown:xt=>Se(xt,We),children:[S.jsx("div",{className:An.ResizerOut}),S.jsx("div",{className:An.ResizerIn}),S.jsx("div",{className:An.ResizerCenter,style:{height:ke}}),S.jsx("div",{className:An.ResizerIn}),S.jsx("div",{className:An.ResizerOut})]}),bt&&S.jsx(kn,{className:An.OverflowSpace,h:Ng,style:{color:Ve.color,backgroundColor:Ve.backgroundColor,transition:Ve.transition},w:"var(--Scrollbar-width)"})]},We)})})}),S.jsxs("div",{ref:q,className:Ze.clsx(An.BodyBody,ue!==void 0&&An.IsClicked),style:{overflowY:ie?"scroll":"hidden",minHeight:ge,maxHeight:te},children:[m.map((We,et)=>{const st=Or.getContent(n,{item:We}),ze=P&&!i,Ke=I==null?void 0:I.some(St=>t(St,We)),bt=I&&(c==null?void 0:c(We)),ht=typeof bt=="string"?bt:void 0,dt={...We};return A&&or.keys(e).forEach(St=>{const Ve=e[St],rt=Or.getContent(Ve.content,{defKey:St,def:Ve,item:We});let vt=!1;if(tt&&!g){const Tt=Or.getContent(Ve.asText,{defKey:St,def:Ve,item:We});Tt!==void 0?vt=Tt.toString().toLowerCase().includes(tt.toLowerCase()):["string","number"].includes(typeof rt)&&rt!==void 0&&rt!==null&&(vt=rt.toString().toLowerCase().includes(tt.toLowerCase()))}dt[St]=S.jsx("span",{className:Ze.clsx(vt&&An.IsRowMarked),children:dt[St]})}),S.jsx(Zr,{isDisabled:bt,tooltip:ht,...st,abaseRef:Ke?V:void 0,className:Ze.clsx(st==null?void 0:st.className,ze&&An.IsSelectable,Ke&&An.IsSelected),onClick:St=>{var Ve;j(We),(Ve=st==null?void 0:st.onClick)==null||Ve.call(st,St)},children:S.jsx(_,{defs:e,isBodyBodyOverflowed:ie,item:We,markedItem:dt,noMarking:g,rowHeight:k,singleFilterValue:tt,spanWidths:Re})},et)}),S.jsx(p8,{isRowRendered:A,itemsLength:m.length,resources:D,rowHeight:ae,showRows:le})]})]})},p8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:o,rowHeight:i}=r,a=C.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:a},(c,d)=>S.jsx("div",{className:Ze.clsx(An.TRow,"NoSelect"),style:{minHeight:i,maxHeight:i,...o&&{border:"none"}},children:t===0&&d===Math.floor(e/2)&&S.jsx(Tn,{className:An.NoItems,children:n["No Items"]})},d))};function g8(r,e,t,n){const o={...t},i=or.keys(r).findIndex(h=>h===e)+1,a=Object.entries(r);let c=i-1,d=i;if(n<0){for(;n<0&&!(c<0||d>=a.length);){const[h,p]=[a[c][0],a[c][1]],[m,g]=[a[d][0],a[d][1]],v=p.minWidth??Mc,w=g.maxWidth,E=o[h],_=o[m];let A=E-v;w!==void 0&&(A=Math.min(A,w-_));let k=-n;k=Math.min(k,A),E-k<=v&&c--,w!==void 0&&_+k>=w&&d++,o[h]=E-k,o[m]=_+k,n+=k}return o}else if(n>0){for(;n>0&&!(c<0||d>=a.length);){const[h,p]=[a[c][0],a[c][1]],[m,g]=[a[d][0],a[d][1]],v=g.minWidth??Mc,w=p.maxWidth,E=o[m],_=o[h];let A=E-v;w!==void 0&&(A=Math.min(A,w-_));let k=n;k=Math.min(k,A),E-k<=v&&d++,w!==void 0&&_+k>=w&&c--,o[m]=E-k,o[h]=_+k,n-=k}return o}return o}const m8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:o,singleFilterValue:i,isBodyBodyOverflowed:a,rowHeight:c}=r;return S.jsx("div",{className:Ze.clsx(An.TRow),style:{minHeight:c,maxHeight:c},children:or.map(e,([d],h)=>{const p=o[d];if(p===void 0)return null;const m=h===or.keys(e).length-1,g=e[d],v=Or.getContent(g.content,{defKey:d,def:g,item:t}),w={width:p.width,minWidth:p.minWidth,maxWidth:p.maxWidth,flexGrow:p.flexGrow,justifyContent:Or.getContent(g.align,{defKey:d,def:g,item:t})??"flex-start",...Or.getContent(g.style,{defKey:d,def:g,item:t})};let E=!1;if(i&&!n){const _=Or.getContent(g.asText,{defKey:d,def:g,item:t});_!==void 0?E=_.toString().toLowerCase().includes(i.toLowerCase()):["string","number"].includes(typeof v)&&v!==void 0&&v!==null&&(E=v.toString().toLowerCase().includes(i.toLowerCase()))}return S.jsxs(C.Fragment,{children:[S.jsx("div",{className:Ze.clsx(An.TD,"Label1",E&&An.IsMarked),style:w,children:S.jsx(Ya,{children:v,className:An.Content})}),!a&&m&&S.jsx(kn,{className:An.OverflowSpace,h:c,style:{color:w.color,backgroundColor:w.backgroundColor},w:"var(--Scrollbar-width)"})]},d)})})},v8="_ATableFooter_w090q_1",y8="_Button_w090q_10",b8="_IsSelected_w090q_26",x8="_IsDisabled_w090q_31",Qs={ATableFooter:v8,Button:y8,IsSelected:b8,IsDisabled:x8},w8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:o}=r,i=C.useMemo(()=>e[e.length-1],[e]);return S.jsxs(Tn,{className:Qs.ATableFooter,children:[S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===1&&Qs.IsDisabled),icon:"FirstPage",onClick:n.moveFirst}),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===1&&Qs.IsDisabled),icon:"NavigateBefore",onClick:n.movePrev}),t.map(a=>S.jsx("div",{className:Ze.clsx(Qs.Button,"NoSelect",o.page===a&&Qs.IsSelected),onClick:()=>n.move(a),children:a},a)),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===i&&Qs.IsDisabled),icon:"NavigateNext",onClick:n.moveNext}),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===i&&Qs.IsDisabled),icon:"LastPage",onClick:n.moveLast})]})},C8="_Filter_1b9j0_1",S8="_SelectFilter_1b9j0_11",_8="_MainFilter_1b9j0_15",A8="_IsOpen_1b9j0_26",E8="_SubFilters_1b9j0_30",T8="_Input_1b9j0_44",k8="_Main_1b9j0_15",R8="_Sub_1b9j0_30",I8="_Actions_1b9j0_62",M8="_Icon_1b9j0_67",L8="_LeftIcon_1b9j0_74",D8="_CircleAlertOutline_1b9j0_79",O8="_Rotate_1b9j0_87",Mr={Filter:C8,SelectFilter:S8,MainFilter:_8,IsOpen:A8,SubFilters:E8,Input:T8,Main:k8,Sub:R8,Actions:I8,Icon:M8,LeftIcon:L8,CircleAlertOutline:D8,Rotate:O8},N8=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:o,isRowRendered:i,isFilterSort:a,filterType:c,resources:d,placeholder:h}=r,[p,m]=C.useState([]),[g,v]=C.useMemo(()=>t,[t]),w=C.useMemo(()=>c==="Select",[c]),E=C.useMemo(()=>or.keys(g).map(se=>String(se)),[g]),[_,A]=C.useState(w&&E.length>0?E[0]:null),k=C.useCallback((se,Ae,De)=>{if(!v)return;const Ge={...g};se.value=Ae,v(Ge),m(Ue=>Ue.map((we,Se)=>Se===(De?De+1:0)?"":we))},[g,v]),D=C.useMemo(()=>{let se=[],Ae=or.keys(g);w&&_&&(Ae=Ae.filter(De=>De===_));for(const De of Ae)se.push({key:De,def:e[De],filter:g[De]});return se},[g,e,w,_]),I=C.useMemo(()=>D.length>0?D[0]:null,[D]),P=C.useMemo(()=>p.length>0?p[0]:"",[p]),j=C.useMemo(()=>D.length>1?D.slice(1):[],[D]),W=C.useMemo(()=>p.length>1?p.slice(1):[],[p]),F=C.useMemo(()=>j.length>0,[j]),[G,pe]=C.useState(!1),[B,q]=C.useState(!1),V=C.useRef(null),ee=C.useCallback(()=>pe(!1),[]),ae=C.useRef(null),ne=C.useCallback(()=>{q(!1),pe(!0),ae.current&&(document.removeEventListener("mousedown",ae.current),ae.current=null)},[]),oe=C.useCallback(()=>{const se=Ae=>{const De=document.getElementById("root"),Ge=Ae.target,Ue=V.current;!De||!Ue||!Ge||!Ue.contains(Ge)&&De.contains(Ge)&&ne()};return ae.current=se,se},[ne]),le=C.useCallback(()=>{pe(!0),q(!0),setTimeout(()=>{const se=oe();document.addEventListener("mousedown",se)},0)},[oe]),ge=C.useMemo(()=>B?ne:le,[B,le,ne]),te=C.useCallback(()=>{const se=D.map((Ae,De)=>Ae.filter.type==="String"&&Ae.filter.validation?Ae.filter.validation(Ae.filter.value||""):Ae.filter.type==="Date"&&Ae.filter.validation||Ae.filter.type==="DateRange"&&Ae.filter.validation?Ae.filter.validation(Ae.filter.value):p[De]);return m(se),se.every(Ae=>!Ae)},[p,D]),ie=C.useCallback(se=>{se.key==="Enter"?(te()&&o.apply(),se.stopPropagation()):se.key==="Escape"&&(q(!1),se.currentTarget.focus(),se.currentTarget.blur(),se.stopPropagation())},[te,q,o]),ue=C.useMemo(()=>({open:le,close:ne,toggle:ge,validate:te}),[le,ne,ge,te]),xe=C.useCallback(()=>{o.clear()},[o]),ke=C.useCallback(se=>{if(!v||!se)return;A(se);const Ae={...g};or.keys(Ae).forEach(De=>{if(De!==se&&Ae[De])switch(Ae[De].type){case"String":Ae[De].value="";break;case"Select":Ae[De].value=null;break;case"Date":Ae[De].value=void 0;break;case"DateRange":Ae[De].value=void 0;break}}),m([]),v(Ae),o.clear(),setTimeout(()=>{var Ge;const De=(Ge=V.current)==null?void 0:Ge.querySelector("input");De&&De.focus()},0)},[g,v,m,o]);return I?S.jsxs(S.Fragment,{children:[w&&S.jsx(Hc,{isAutoWidth:!0,className:Ze.clsx(Mr.SelectFilter),options:E,type:"Secondary",useSelect:[_,ke],OptionRenderer:({option:se})=>{const Ae=e[se];let De;if(Ae!=null&&Ae.hContent){const Ge={defKey:se,def:Ae};De=typeof Ae.hContent=="function"?Ae.hContent(Ge):Ae.hContent}else{const Ge=g[se],Ue=(Ae==null?void 0:Ae.name)||(Ge==null?void 0:Ge.placeholder)||String(se);De=S.jsx("span",{children:Ue})}return De}}),S.jsxs("div",{ref:V,className:Ze.clsx(Mr.Filter),tabIndex:-1,style:{minWidth:i?a?180:void 0:180,maxWidth:i?a?300:void 0:300},onKeyDown:ie,onClick:se=>{se.preventDefault(),se.stopPropagation()},children:[S.jsx(P8,{errorMessage:P,filterF:o,filterSet:I,hasSelectFilterType:w,hasSubFilters:F,hasToggleFilteration:n,isOpen:B,placeholder:h,popupF:ue,resources:d,onChange:k}),!w&&S.jsx(B8,{errorMessages:W,filterF:o,isOpen:B,isTransitioning:G,placeholder:h,resources:d,subFilterSets:j,validate:te,onChange:k,onClearClick:xe,onTransitionEnd:ee})]})]}):null},P8=r=>{var g,v,w,E;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:o,filterF:i,hasSubFilters:a,popupF:c,isOpen:d,resources:h,errorMessage:p,placeholder:m}=r;if(e.filter.type==="String"){const _=[e.filter.value??"",I=>o(e.filter,I)],A=m??e.filter.placeholder??((g=e.def)==null?void 0:g.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"Type",isOpen:d,tooltip:D}),S.jsx($c,{autoFocus:e.filter.autoFocus,className:Ze.clsx(Mr.Input,Mr.Main),dataList:e.filter.dataList,LeftAddon:t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),maxLength:e.filter.maxLength,placeholder:A??h["Search(Placeholder)"],type:p?"Error":"Primary",useValue:_,wrapProps:{style:{width:"100%",boxSizing:"border-box"}},RightAddon:S.jsx(Wh,{errorMessage:p,filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}else if(e.filter.type==="Select"){const _=[e.filter.value??null,I=>{o(e.filter,I),n&&setTimeout(()=>{c.validate()&&i.apply()},0)}],A=m??e.filter.placeholder??((v=e.def)==null?void 0:v.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"Menu",isOpen:d,tooltip:D}),S.jsx(Hc,{className:Ze.clsx(Mr.Input,Mr.Main),OptionRenderer:e.filter.OptionRenderer,options:e.filter.options,placeholder:A,useSelect:_,SelectedRenderer:({OptionRenderer:I,selectedOption:P})=>P===null?A||e.filter.placeholder:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),S.jsx(I,{option:P}),S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,hideSearchButton:!0,isOpen:d,popupF:c,resources:h})]})})]})}else if(e.filter.type==="Date"){const _=[e.filter.value,I=>o(e.filter,I)],A=m??e.filter.placeholder??((w=e.def)==null?void 0:w.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"CalendarDay",isOpen:d,tooltip:D}),S.jsx(q1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,placeholder:A,type:"Raw",useDate:_,LeftAddon:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),!t&&S.jsx(kn,{w:d?0:6}),S.jsx(Ha,{icon:k??"CalendarDay",isOpen:!d,tooltip:D}),S.jsx(kn,{w:d?8:0})]}),RightAddon:S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}else if(e.filter.type==="DateRange"){const _=[e.filter.value,P=>o(e.filter,P)],{noDefaultChoices:A}=e.filter,k=m??e.filter.placeholder??((E=e.def)==null?void 0:E.name),D=e.filter.icon,I=e.filter.iconTooltip??k;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:D??"CalendarDay",isOpen:d,tooltip:I}),S.jsx($1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,noDefaultChoices:A,placeholder:k,type:"Raw",useDateRange:_,LeftAddon:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),!t&&S.jsx(kn,{w:d?0:6}),S.jsx(Ha,{icon:D??"CalendarDay",isOpen:!d,tooltip:I}),S.jsx(kn,{w:d?8:0})]}),RightAddon:S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}return null},qh=r=>{const{filterF:e,popupF:t,resources:n,isOpen:o}=r;return S.jsx(So,{className:Mr.Icon,icon:"Convert",style:{width:o?0:24,marginLeft:o?0:8},tooltip:n["Toggle Filter"],type:"Raw",onMouseDown:i=>i.currentTarget.classList.remove(Mr.Rotate),onClick:i=>{i.currentTarget.classList.add(Mr.Rotate),e.toggle(),t.close(),i.stopPropagation()}})},Wh=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:o,errorMessage:i,hideSearchButton:a,hasSelectFilterType:c,filterF:d}=r,h=C.useCallback(g=>{g.stopPropagation(),t.open()},[t]),p=C.useCallback(g=>{g.stopPropagation(),t.close()},[t]),m=C.useCallback(g=>{g.stopPropagation(),t.validate()&&d.apply()},[t,d]);return S.jsxs(C.Fragment,{children:[i&&S.jsx(So,{className:Mr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:i,type:"Raw"}),e&&!c&&S.jsx(So,{className:Mr.Icon,icon:"ListAdd",type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0},onClick:h}),e&&!c&&S.jsx(So,{className:Mr.Icon,icon:"ListRemove",type:"Raw",style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"},onClick:p}),!a&&S.jsx(So,{className:Mr.Icon,icon:"Search",tooltip:o["Search(Button)"],type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4},onClick:m})]})},B8=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,isOpen:o,isTransitioning:i,onTransitionEnd:a,resources:c,errorMessages:d,placeholder:h,filterF:p,validate:m}=r;return!o&&!i?null:S.jsxs("div",{className:Mr.SubFilters,style:{opacity:+o,visibility:+o?"visible":"hidden"},onTransitionEnd:a,children:[e.map((g,v)=>{var w,E,_,A;if(g.filter.type==="String"){const k=[g.filter.value??"",W=>t(g.filter,W,v)],D=d[v],I=h??g.filter.placeholder??((w=g.def)==null?void 0:w.name),P=g.filter.icon,j=g.filter.iconTooltip??I;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:P??"Type",tooltip:j}),S.jsx($c,{autoFocus:g.filter.autoFocus,className:Ze.clsx(Mr.Input,Mr.Sub),dataList:g.filter.dataList,maxLength:g.filter.maxLength,placeholder:I??c["Search(Placeholder)"],type:D?"Error":"Secondary",useValue:k,wrapProps:{style:{width:"100%"}},RightAddon:D&&S.jsx(So,{className:Mr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:D,type:"Raw"})}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="Select"){const k=[g.filter.value??null,j=>t(g.filter,j)],D=h??g.filter.placeholder??((E=g.def)==null?void 0:E.name),I=g.filter.icon,P=g.filter.iconTooltip??D;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:I??"Menu",tooltip:P}),S.jsx(Hc,{arrowProps:{style:{marginRight:4}},className:Ze.clsx(Mr.Input,Mr.Sub),OptionRenderer:g.filter.OptionRenderer,options:g.filter.options,placeholder:D,type:"Secondary",useSelect:k}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="Date"){const k=[g.filter.value,j=>t(g.filter,j)],D=h??g.filter.placeholder??((_=g.def)==null?void 0:_.name),I=g.filter.icon,P=g.filter.iconTooltip??D;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:I??"CalendarDay",tooltip:P}),S.jsx(q1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Sub),LeftAddon:S.jsx(kn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,placeholder:D,type:"Raw",useDate:k}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="DateRange"){const k=[g.filter.value,W=>t(g.filter,W)],{noDefaultChoices:D}=g.filter,I=h??g.filter.placeholder??((A=g.def)==null?void 0:A.name),P=g.filter.icon,j=g.filter.iconTooltip??I;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:P??"CalendarDay",tooltip:j}),S.jsx($1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Sub),LeftAddon:S.jsx(kn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,noDefaultChoices:D,placeholder:I,type:"Raw",useDateRange:k})]},v)}else return null}),S.jsxs(Tn,{className:Mr.Actions,children:[S.jsx(Zo,{type:"Secondary",onClick:n,children:c["Clear(Button)"]}),S.jsx(Zo,{onClick:()=>{m()&&p.apply()},children:c["Search(Button)"]})]})]})},Ha=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return S.jsx(So,{className:Mr.LeftIcon,icon:e,tooltip:t,type:"Raw",style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},j8="_ATableHeader_1hzfz_1",F8="_LeftHeaderContent_1hzfz_11",z8="_RightHeaderContent_1hzfz_19",$8="_TopRightAddon_1hzfz_27",H8="_HItem_1hzfz_32",Tu={ATableHeader:j8,LeftHeaderContent:F8,RightHeaderContent:z8,TopRightAddon:$8,HItem:H8},q8=r=>{const{defs:e,title:t,totalCount:n,useCheck:o,useFilteration:i,hasToggleFilteration:a,filterF:c,noFilter:d,noCount:h,isFiltered:p,TopLeftAddon:m,TopRightAddon:g,useSortation:v,resources:w=wr.ATable,filterType:E,placeholder:_}=r,[A]=C.useMemo(()=>o||[],[o]),k=C.useMemo(()=>p?w["Searched n items"](n):w["Total n items"](n),[w,p,n]),[D]=i,[I,P]=v,[j,W]=C.useState(!1),F=C.useMemo(()=>{const oe=or.values(D).filter(te=>te.type==="DateRange"),le=or.keys(D).filter(te=>oe.includes(D[te])),ge=or.keys(e).filter(te=>e[te].isSortable);return le.length>0?(le.length>1&&W(!0),ge.map(ie=>le.includes(ie)?[ie+"_Asc",ie+"_Desc"]:ie).flat()):ge},[e,D]),G=C.useMemo(()=>r.isRowRendered&&F.length>0,[F.length,r.isRowRendered]),pe=C.useCallback((oe,le)=>{P&&(I==null?void 0:I.defKey)===oe&&(I.isAsc===!0?P({defKey:oe,isAsc:!1,sortF:le}):P({defKey:oe,isAsc:!0,sortF:le}))},[I,P]),B=C.useRef(),[q,V]=C.useState(),[ee,ae]=C.useState(I?I.defKey:F[0]),ne=C.useMemo(()=>{if(!q)return{};const oe=e[q];return{SortUp:{onClick:()=>{P==null||P({defKey:q,isAsc:!0,sortF:oe.sortF}),ae(q)},content:()=>w["Sort up"]},SortDown:{onClick:()=>{P==null||P({defKey:q,isAsc:!1,sortF:oe.sortF}),ae(q)},content:()=>w["Sort down"]}}},[P,q,e,w]);return S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:Ze.clsx(Tu.ATableHeader),children:[S.jsxs("div",{className:Ze.clsx(Tu.LeftHeaderContent,"NoSelect"),children:[S.jsxs(Tn,{style:{marginBottom:G?8:0},children:[m&&S.jsx("div",{className:Ze.clsx(Tu.HItem),children:m}),t&&S.jsx("div",{className:Ze.clsx(Tu.HItem),style:{whiteSpace:"nowrap"},children:t}),!h&&S.jsxs("div",{className:Ze.clsx(Tu.HItem),style:{maxHeight:14,...G&&{minHeight:14,color:"var(--label-neutral)"}},children:[k,A&&A.length>0&&S.jsxs(S.Fragment,{children:[" / ",w["Checked n items"](A.length)]})]})]}),G&&S.jsx(bw,{options:F,optionWidth:"fit-content",tabProps:{style:{marginRight:8}},type:"Tertiary",useSelect:[ee,()=>{}],optionProps:{style:{cursor:"default"},onClick:oe=>{var te;const le=oe.currentTarget.textContent;if(le===w[le])return;oe.currentTarget.querySelector("svg")===null&&((te=B.current)==null||te.open(oe.currentTarget))}},OptionRenderer:oe=>{const le=/_Asc|_Desc/.test(oe.option),ge=(I==null?void 0:I.defKey)===oe.option,te=ee===oe.option,ie=I==null?void 0:I.isAsc,ue=()=>{if(le){V(void 0),ae(oe.option);const[se,Ae]=oe.option.split("_"),De=Ae==="Asc";P==null||P({defKey:se,isAsc:De,sortF:e[se].sortF})}else te?pe(oe.option,e[oe.option].sortF):V(oe.option)},ke=le?(se=>{const[Ae,De]=se.split("_");return(j?Ae+" ":"")+w[De]})(oe.option):w["Sort by x"](oe.option);return S.jsxs(Tn,{className:Ze.clsx(!(le&&te)&&"IsClickable"),style:{height:"100%"},onClick:ue,children:[ke,te&&!le&&S.jsx(ln,{icon:ge?ie?"RowSortUp":"RowSortDown":"RowSortBoth",style:{marginRight:-5,marginLeft:4}})]},oe.option)}})]}),S.jsx(Fu,{}),S.jsxs("div",{className:Ze.clsx(Tu.RightHeaderContent,"NoSelect"),children:[!d&&S.jsx(N8,{defs:e,filterF:c,filterType:E,hasToggleFilteration:a,isFilterSort:F.length>0,isRowRendered:r.isRowRendered,placeholder:_,resources:w,useFilteration:i}),g&&S.jsx(Tn,{children:g,className:Ze.clsx(Tu.TopRightAddon)})]})]}),S.jsx(mw,{actionRef:B,defs:ne,position:sf.S,width:100,onClose:()=>V(void 0)})]})},W8=r=>{const{defs:e,pk:t,defaultDef:n,rProps:o,useSelect:i,isSelectMulti:a,selectDisabled:c,useCheck:d,checkDisabled:h,isLoading:p,isDisabled:m,title:g,entireItems:v,onStateChange:w,pagedItems:E,totalCount:_,useFilteration:A,useToggleFilteration:k,filterType:D="Default",placeholder:I,rowHeight:P=40,usePagination:j,useSortation:W,showRows:F,noHeader:G,noDefHeader:pe,noFooter:B,noFilter:q,noCount:V,noMarking:ee,noStateChangeOnMount:ae,TopLeftAddon:ne,TopRightAddon:oe,actionRef:le,RowRenderer:ge,resources:te}=r,ie=C.useMemo(()=>({...wr.ATable,...te}),[te]),ue=C.useCallback((me,Le)=>t!==void 0?Array.isArray(t)?t.every(ct=>qa.isEqual(me[ct],Le[ct])):qa.isEqual(me[t],Le[t]):qa.isEqual(me,Le),[t]),xe=C.useMemo(()=>({content:U8,...n}),[n]),ke=C.useMemo(()=>{const me={};return or.keys(e).forEach(Le=>{const ct=e[Le],It={...xe,...ct};me[Le]=It}),me},[xe,e]),[se,Ae]=gn(qa.cloneDeep(A),{"":{type:"String",placeholder:ie["Search(Placeholder)"],value:""}}),[De,Ge]=gn(qa.cloneDeep(k),void 0),[Ue,we]=C.useState(!1),[Se,_e]=C.useMemo(()=>Ue&&De?[De,Ge]:[se,Ae],[se,Ue,Ae,Ge,De]),[Re,Me]=C.useState(Se),tt=C.useMemo(()=>v?Il.applyFilteration(v,ke,Re):[],[v,ke,Re]),We=C.useMemo(()=>{for(const me in Re){const Le=Re[me];if(Le.value!==void 0&&Le.value!==null&&Le.value!=="")return!0}return!1},[Re]),[et,st]=gn(W,void 0),ze=C.useMemo(()=>Il.applySortation(tt,ke,et),[tt,ke,et]),Ke=C.useMemo(()=>{if(E!==void 0)return Il.applySortation(E,ke,et)},[E,ke,et]),[bt,ht]=gn(j,{page:1,pageSize:50,pageRange:10}),dt=C.useMemo(()=>({pageSize:50,page:1,pageRange:10,...bt}),[bt]),{pagedItems:St,totalCount:Ve,pagination:rt}=C.useMemo(()=>{const me={...dt};if(Ke!==void 0){let Le=_??Ke.length;const ct=Il.getPages(Le,me.pageSize);return me.page>ct.length?me.page=ct.length:me.page<1&&(me.page=1),{pagedItems:Ke,totalCount:Le,pagination:me}}else if(v!==void 0){const Le=_??ze.length,ct=Il.getPages(Le,me.pageSize);return me.page>ct.length?me.page=ct.length:me.page<1&&(me.page=1),{pagedItems:Il.applyPagination(ze,me.page,me.pageSize),totalCount:Le,pagination:me}}else return{pagedItems:[],totalCount:_??0,pagination:dt}},[v,Ke,_,dt,ze]),{pages:vt,rangedPages:Tt}=C.useMemo(()=>Il.getRangedPages(rt.page,Ve,rt.pageSize,rt.pageRange),[Ve,rt.pageSize,rt.page,rt.pageRange]),[xt,Mt]=C.useMemo(()=>d??[],[d]),Vt=C.useMemo(()=>St.filter(me=>xt==null?void 0:xt.some(Le=>ue(Le,me))),[St,xt,ue]),Ht=C.useMemo(()=>St.filter(me=>!(h!=null&&h(me))),[St,h]),hr=C.useMemo(()=>Ht.length>0&&Ht.every(me=>Vt.some(Le=>ue(Le,me))),[Vt,Ht,ue]),_r=C.useMemo(()=>hr?!1:Ht.some(me=>Vt.some(Le=>ue(Le,me))),[Vt,Ht,hr,ue]),vr=C.useCallback(()=>{!xt||!Mt||m||Mt(hr||_r?xt.filter(me=>!Ht.some(Le=>ue(Le,me))):[...xt,...Ht])},[xt,Mt,hr,_r,Ht,m,ue]),Ee=C.useCallback(me=>{!xt||!Mt||m||(xt.some(Le=>ue(Le,me))?Mt(xt.filter(Le=>!ue(Le,me))):Mt([...xt,me]))},[xt,Mt,m,ue]);C.useEffect(()=>{if(!Mt||!xt||!h)return;xt.filter(Le=>h(Le)).length>0&&Mt(xt.filter(Le=>!h(Le)))},[h,xt,Mt]);const de=C.useMemo(()=>({hContent:xt&&S.jsx(Yd,{isIndeterminate:_r,useCheck:[hr,vr]}),content:me=>{const{item:Le}=me,ct=h==null?void 0:h(Le),It=typeof ct=="string"?ct:void 0,Rt=xt==null?void 0:xt.some(Qt=>ue(Qt,Le));return S.jsx(Yd,{isDisabled:ct,style:{zIndex:1},tooltip:It,useCheck:[Rt,()=>Ee(Le)],onClick:Qt=>Qt.stopPropagation()})},minWidth:32,maxWidth:32}),[xt,hr,_r,ue,vr,h,Ee]),nt=C.useMemo(()=>d?{checkDef:de,...ke}:ke,[ke,de,d]),[qe,pt]=C.useState(!1),wt=C.useMemo(()=>p??qe,[p,qe]),_t=C.useCallback(async me=>{w&&(pt(!0),await w(me),pt(!1)),ht==null||ht(me.pagination),st==null||st(me.sortation),Me(me.filteration)},[w,ht,st]);C.useEffect(()=>{if(!le)return;const me=ct=>{const It={entireItems:v,filteration:Se,pagination:rt,sortation:et},Rt=ct?ct(It):It;_t(Rt)},Le=ct=>{const It={...rt,page:1},Rt=ct?ct(Se):Se;_t({entireItems:v,filteration:Rt,pagination:It,sortation:et}),_e==null||_e(Rt)};le.current={fireOnStateChange:me,applyFilteration:Le}},[le,_t,v,_e,Se,rt,et]);const jt=C.useCallback(me=>{me.page===rt.page&&me.pageSize===rt.pageSize||(me.page<1?me.page=1:me.page>vt[vt.length-1]&&(me.page=vt[vt.length-1]),_t({entireItems:v,filteration:Re,pagination:me,sortation:et}))},[rt,vt,_t,v,Re,et]),Ot=C.useCallback(me=>{_e&&_e(me)},[_e]),ir=C.useCallback(me=>{_t({entireItems:v,filteration:Re,pagination:rt,sortation:me})},[_t,v,Re,rt]),Ft=C.useCallback(me=>{jt({...rt,page:me})},[jt,rt]),nr=C.useCallback(()=>{Ft(rt.page-1)},[Ft,rt.page]),tr=C.useCallback(()=>{Ft(rt.page+1)},[Ft,rt.page]),it=C.useCallback(()=>{Ft(1)},[Ft]),lt=C.useCallback(()=>{Ft(vt[vt.length-1])},[Ft,vt]),At=C.useMemo(()=>({move:Ft,movePrev:nr,moveNext:tr,moveFirst:it,moveLast:lt}),[Ft,nr,tr,it,lt]),kt=C.useCallback(()=>{const me={...rt,page:1};_t({entireItems:v,filteration:Se,pagination:me,sortation:et})},[Se,rt,_t,v,et]),Lt=C.useCallback(()=>{we(!Ue)},[Ue]),qt=C.useCallback(()=>{Ue&&De?Ge==null||Ge(H0(De)):_e==null||_e(H0(se))},[Ue,De,Ge,se,_e]),rr=C.useMemo(()=>({apply:kt,toggle:Lt,clear:qt}),[kt,Lt,qt]);xw(()=>{ae||_t({entireItems:v,filteration:Se,pagination:rt,sortation:et})});const je=C.useMemo(()=>or.map(ke,([Le])=>ke[Le].minWidth??Mc).reduce((Le,ct)=>Le+ct,0),[ke]),Q=C.useMemo(()=>ge!==void 0,[ge]);return S.jsxs(Zr,{className:GR.ATable,isDisabled:m,style:{minWidth:je},children:[!G&&S.jsx(q8,{defs:ke,filterF:rr,filterType:D,hasToggleFilteration:De!==void 0,isFiltered:We,isRowRendered:Q,noCount:V,noFilter:q,placeholder:I,resources:ie,title:g,TopLeftAddon:ne,TopRightAddon:oe,totalCount:Ve,useCheck:d&&xt?[xt,Mt]:void 0,useFilteration:[Se,Ot],useSortation:[et,ir]}),S.jsx(h8,{appliedFilteration:Re,defs:nt,isEqual:ue,isLoading:wt,isRowRendered:Q,isSelectMulti:a,isTableDisabled:m,noDefHeader:pe,noMarking:ee,pagedItems:St,pagination:rt,resources:ie,rowHeight:P,RowRenderer:ge,rProps:o,selectDisabled:c,showRows:F,useSelect:i,useSortation:[et,ir]}),!B&&S.jsx(w8,{pageF:At,pages:vt,pagination:rt,rangedPages:Tt})]})},U8=r=>{const{defKey:e,item:t}=r;if(or.hasKey(t,e)){const n=t[e];return or.isReactNode(n)?n:null}else return null};function H0(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const V8="_AText_1asz6_1",G8={AText:V8},_w=r=>{const{text:e,styled:t,style:n}=r,o=C.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?S.jsx("b",{children:e}):S.jsx("span",{style:n,children:e});if(typeof t=="string"){const i=e.split(t);return n==="bold"?i.map((a,c)=>S.jsxs(C.Fragment,{children:[Uh(a),c<i.length-1?S.jsx("b",{children:Uh(t)}):""]},c)):i.map((a,c)=>S.jsxs(C.Fragment,{children:[Uh(a),c<i.length-1&&S.jsx("span",{style:n,children:Uh(t)})]},c))}}else return e;else return e;else return""},[e,n,t]);return S.jsx("div",{className:Ze.clsx("Body1Reading",G8.AText,"NoSelect"),children:o})};function Uh(r){const e=r.split(`
|
167
|
-
`);return e.map((t,n)=>S.jsxs(C.Fragment,{children:[t,n!==e.length-1&&S.jsx("br",{})]},n))}const Z8="_Base_cpm4t_7",Y8="_ATextArea_cpm4t_11",K8="_Primary_cpm4t_34",X8="_UnAvailable_cpm4t_39",J8="_Secondary_cpm4t_47",Q8="_ReadOnly_cpm4t_59",Vh={Base:Z8,ATextArea:Y8,Primary:K8,UnAvailable:X8,Secondary:J8,ReadOnly:Q8,Error:"_Error_cpm4t_66"},eI=["Primary","Secondary","ReadOnly","Error"],tI=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:o,useValue:i,rows:a,isReadonly:c,placeholder:d,maxLength:h,tabIndex:p,autoFocus:m,textAreaProps:g,wrapProps:v,helperText:w,label:E,wrapType:_,labelProps:A,...k}=r,D=C.useMemo(()=>rI(t)?"Error":n,[t,n]),I=C.useMemo(()=>D==="ReadOnly"?!0:c,[D,c]),P=C.useMemo(()=>k.isDisabled||k.isLoading,[k.isDisabled,k.isLoading]),[j,W]=gn(i,""),F=C.useCallback(B=>{W&&W(B)},[W]),G=C.useCallback(B=>{var q;P||(F(B.target.value),(q=g==null?void 0:g.onChange)==null||q.call(g,B))},[P,F,g]),pe=C.useCallback(B=>{var q;if(!P){if((q=g==null?void 0:g.onKeyDown)==null||q.call(g,B),B.key==="Tab"){const V=B.currentTarget.selectionStart,ee=B.currentTarget.selectionEnd;B.currentTarget.value=B.currentTarget.value.substring(0,V)+" "+B.currentTarget.value.substring(ee),B.currentTarget.selectionStart=B.currentTarget.selectionEnd=V+1,B.preventDefault()}else B.key==="Enter"&&(e==null||e(B.currentTarget.value),B.stopPropagation());B.key!=="Escape"&&B.stopPropagation()}},[P,e,g]);return S.jsx(zc,{wrapProps:v,label:E,helperText:w,errorMessage:t,labelProps:A,wrapType:_??D==="Error"?"Error":"Default",children:S.jsx(Zr,{...k,className:Ze.clsx(Vh.Base,k.className),children:S.jsx("textarea",{...g,ref:o,autoFocus:m,className:Ze.clsx(Vh.ATextArea,Vh[D],P&&Vh.UnAvailable,g==null?void 0:g.className),maxLength:h,placeholder:d,readOnly:I,rows:a,tabIndex:k.isDisabled||k.isLoading?-1:p,value:j,onChange:G,onKeyDown:pe})})})};function rI(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var Gh={exports:{}},Pg,q0;function nI(){if(q0)return Pg;q0=1;var r=-1,e=1,t=0;function n(B,q,V,ee,ae){if(B===q)return B?[[t,B]]:[];if(V!=null){var ne=G(B,q,V);if(ne)return ne}var oe=c(B,q),le=B.substring(0,oe);B=B.substring(oe),q=q.substring(oe),oe=h(B,q);var ge=B.substring(B.length-oe);B=B.substring(0,B.length-oe),q=q.substring(0,q.length-oe);var te=o(B,q);return le&&te.unshift([t,le]),ge&&te.push([t,ge]),k(te,ae),ee&&m(te),te}function o(B,q){var V;if(!B)return[[e,q]];if(!q)return[[r,B]];var ee=B.length>q.length?B:q,ae=B.length>q.length?q:B,ne=ee.indexOf(ae);if(ne!==-1)return V=[[e,ee.substring(0,ne)],[t,ae],[e,ee.substring(ne+ae.length)]],B.length>q.length&&(V[0][0]=V[2][0]=r),V;if(ae.length===1)return[[r,B],[e,q]];var oe=p(B,q);if(oe){var le=oe[0],ge=oe[1],te=oe[2],ie=oe[3],ue=oe[4],xe=n(le,te),ke=n(ge,ie);return xe.concat([[t,ue]],ke)}return i(B,q)}function i(B,q){for(var V=B.length,ee=q.length,ae=Math.ceil((V+ee)/2),ne=ae,oe=2*ae,le=new Array(oe),ge=new Array(oe),te=0;te<oe;te++)le[te]=-1,ge[te]=-1;le[ne+1]=0,ge[ne+1]=0;for(var ie=V-ee,ue=ie%2!==0,xe=0,ke=0,se=0,Ae=0,De=0;De<ae;De++){for(var Ge=-De+xe;Ge<=De-ke;Ge+=2){var Ue=ne+Ge,we;Ge===-De||Ge!==De&&le[Ue-1]<le[Ue+1]?we=le[Ue+1]:we=le[Ue-1]+1;for(var Se=we-Ge;we<V&&Se<ee&&B.charAt(we)===q.charAt(Se);)we++,Se++;if(le[Ue]=we,we>V)ke+=2;else if(Se>ee)xe+=2;else if(ue){var _e=ne+ie-Ge;if(_e>=0&&_e<oe&&ge[_e]!==-1){var Re=V-ge[_e];if(we>=Re)return a(B,q,we,Se)}}}for(var Me=-De+se;Me<=De-Ae;Me+=2){var _e=ne+Me,Re;Me===-De||Me!==De&&ge[_e-1]<ge[_e+1]?Re=ge[_e+1]:Re=ge[_e-1]+1;for(var tt=Re-Me;Re<V&&tt<ee&&B.charAt(V-Re-1)===q.charAt(ee-tt-1);)Re++,tt++;if(ge[_e]=Re,Re>V)Ae+=2;else if(tt>ee)se+=2;else if(!ue){var Ue=ne+ie-Me;if(Ue>=0&&Ue<oe&&le[Ue]!==-1){var we=le[Ue],Se=ne+we-Ue;if(Re=V-Re,we>=Re)return a(B,q,we,Se)}}}}return[[r,B],[e,q]]}function a(B,q,V,ee){var ae=B.substring(0,V),ne=q.substring(0,ee),oe=B.substring(V),le=q.substring(ee),ge=n(ae,ne),te=n(oe,le);return ge.concat(te)}function c(B,q){if(!B||!q||B.charAt(0)!==q.charAt(0))return 0;for(var V=0,ee=Math.min(B.length,q.length),ae=ee,ne=0;V<ae;)B.substring(ne,ae)==q.substring(ne,ae)?(V=ae,ne=V):ee=ae,ae=Math.floor((ee-V)/2+V);return D(B.charCodeAt(ae-1))&&ae--,ae}function d(B,q){var V=B.length,ee=q.length;if(V==0||ee==0)return 0;V>ee?B=B.substring(V-ee):V<ee&&(q=q.substring(0,V));var ae=Math.min(V,ee);if(B==q)return ae;for(var ne=0,oe=1;;){var le=B.substring(ae-oe),ge=q.indexOf(le);if(ge==-1)return ne;oe+=ge,(ge==0||B.substring(ae-oe)==q.substring(0,oe))&&(ne=oe,oe++)}}function h(B,q){if(!B||!q||B.slice(-1)!==q.slice(-1))return 0;for(var V=0,ee=Math.min(B.length,q.length),ae=ee,ne=0;V<ae;)B.substring(B.length-ae,B.length-ne)==q.substring(q.length-ae,q.length-ne)?(V=ae,ne=V):ee=ae,ae=Math.floor((ee-V)/2+V);return I(B.charCodeAt(B.length-ae))&&ae--,ae}function p(B,q){var V=B.length>q.length?B:q,ee=B.length>q.length?q:B;if(V.length<4||ee.length*2<V.length)return null;function ae(ke,se,Ae){for(var De=ke.substring(Ae,Ae+Math.floor(ke.length/4)),Ge=-1,Ue="",we,Se,_e,Re;(Ge=se.indexOf(De,Ge+1))!==-1;){var Me=c(ke.substring(Ae),se.substring(Ge)),tt=h(ke.substring(0,Ae),se.substring(0,Ge));Ue.length<tt+Me&&(Ue=se.substring(Ge-tt,Ge)+se.substring(Ge,Ge+Me),we=ke.substring(0,Ae-tt),Se=ke.substring(Ae+Me),_e=se.substring(0,Ge-tt),Re=se.substring(Ge+Me))}return Ue.length*2>=ke.length?[we,Se,_e,Re,Ue]:null}var ne=ae(V,ee,Math.ceil(V.length/4)),oe=ae(V,ee,Math.ceil(V.length/2)),le;if(!ne&&!oe)return null;oe?ne?le=ne[4].length>oe[4].length?ne:oe:le=oe:le=ne;var ge,te,ie,ue;B.length>q.length?(ge=le[0],te=le[1],ie=le[2],ue=le[3]):(ie=le[0],ue=le[1],ge=le[2],te=le[3]);var xe=le[4];return[ge,te,ie,ue,xe]}function m(B){for(var q=!1,V=[],ee=0,ae=null,ne=0,oe=0,le=0,ge=0,te=0;ne<B.length;)B[ne][0]==t?(V[ee++]=ne,oe=ge,le=te,ge=0,te=0,ae=B[ne][1]):(B[ne][0]==e?ge+=B[ne][1].length:te+=B[ne][1].length,ae&&ae.length<=Math.max(oe,le)&&ae.length<=Math.max(ge,te)&&(B.splice(V[ee-1],0,[r,ae]),B[V[ee-1]+1][0]=e,ee--,ee--,ne=ee>0?V[ee-1]:-1,oe=0,le=0,ge=0,te=0,ae=null,q=!0)),ne++;for(q&&k(B),A(B),ne=1;ne<B.length;){if(B[ne-1][0]==r&&B[ne][0]==e){var ie=B[ne-1][1],ue=B[ne][1],xe=d(ie,ue),ke=d(ue,ie);xe>=ke?(xe>=ie.length/2||xe>=ue.length/2)&&(B.splice(ne,0,[t,ue.substring(0,xe)]),B[ne-1][1]=ie.substring(0,ie.length-xe),B[ne+1][1]=ue.substring(xe),ne++):(ke>=ie.length/2||ke>=ue.length/2)&&(B.splice(ne,0,[t,ie.substring(0,ke)]),B[ne-1][0]=e,B[ne-1][1]=ue.substring(0,ue.length-ke),B[ne+1][0]=r,B[ne+1][1]=ie.substring(ke),ne++),ne++}ne++}}var g=/[^a-zA-Z0-9]/,v=/\s/,w=/[\r\n]/,E=/\n\r?\n$/,_=/^\r?\n\r?\n/;function A(B){function q(ke,se){if(!ke||!se)return 6;var Ae=ke.charAt(ke.length-1),De=se.charAt(0),Ge=Ae.match(g),Ue=De.match(g),we=Ge&&Ae.match(v),Se=Ue&&De.match(v),_e=we&&Ae.match(w),Re=Se&&De.match(w),Me=_e&&ke.match(E),tt=Re&&se.match(_);return Me||tt?5:_e||Re?4:Ge&&!we&&Se?3:we||Se?2:Ge||Ue?1:0}for(var V=1;V<B.length-1;){if(B[V-1][0]==t&&B[V+1][0]==t){var ee=B[V-1][1],ae=B[V][1],ne=B[V+1][1],oe=h(ee,ae);if(oe){var le=ae.substring(ae.length-oe);ee=ee.substring(0,ee.length-oe),ae=le+ae.substring(0,ae.length-oe),ne=le+ne}for(var ge=ee,te=ae,ie=ne,ue=q(ee,ae)+q(ae,ne);ae.charAt(0)===ne.charAt(0);){ee+=ae.charAt(0),ae=ae.substring(1)+ne.charAt(0),ne=ne.substring(1);var xe=q(ee,ae)+q(ae,ne);xe>=ue&&(ue=xe,ge=ee,te=ae,ie=ne)}B[V-1][1]!=ge&&(ge?B[V-1][1]=ge:(B.splice(V-1,1),V--),B[V][1]=te,ie?B[V+1][1]=ie:(B.splice(V+1,1),V--))}V++}}function k(B,q){B.push([t,""]);for(var V=0,ee=0,ae=0,ne="",oe="",le;V<B.length;){if(V<B.length-1&&!B[V][1]){B.splice(V,1);continue}switch(B[V][0]){case e:ae++,oe+=B[V][1],V++;break;case r:ee++,ne+=B[V][1],V++;break;case t:var ge=V-ae-ee-1;if(q){if(ge>=0&&j(B[ge][1])){var te=B[ge][1].slice(-1);if(B[ge][1]=B[ge][1].slice(0,-1),ne=te+ne,oe=te+oe,!B[ge][1]){B.splice(ge,1),V--;var ie=ge-1;B[ie]&&B[ie][0]===e&&(ae++,oe=B[ie][1]+oe,ie--),B[ie]&&B[ie][0]===r&&(ee++,ne=B[ie][1]+ne,ie--),ge=ie}}if(P(B[V][1])){var te=B[V][1].charAt(0);B[V][1]=B[V][1].slice(1),ne+=te,oe+=te}}if(V<B.length-1&&!B[V][1]){B.splice(V,1);break}if(ne.length>0||oe.length>0){ne.length>0&&oe.length>0&&(le=c(oe,ne),le!==0&&(ge>=0?B[ge][1]+=oe.substring(0,le):(B.splice(0,0,[t,oe.substring(0,le)]),V++),oe=oe.substring(le),ne=ne.substring(le)),le=h(oe,ne),le!==0&&(B[V][1]=oe.substring(oe.length-le)+B[V][1],oe=oe.substring(0,oe.length-le),ne=ne.substring(0,ne.length-le)));var ue=ae+ee;ne.length===0&&oe.length===0?(B.splice(V-ue,ue),V=V-ue):ne.length===0?(B.splice(V-ue,ue,[e,oe]),V=V-ue+1):oe.length===0?(B.splice(V-ue,ue,[r,ne]),V=V-ue+1):(B.splice(V-ue,ue,[r,ne],[e,oe]),V=V-ue+2)}V!==0&&B[V-1][0]===t?(B[V-1][1]+=B[V][1],B.splice(V,1)):V++,ae=0,ee=0,ne="",oe="";break}}B[B.length-1][1]===""&&B.pop();var xe=!1;for(V=1;V<B.length-1;)B[V-1][0]===t&&B[V+1][0]===t&&(B[V][1].substring(B[V][1].length-B[V-1][1].length)===B[V-1][1]?(B[V][1]=B[V-1][1]+B[V][1].substring(0,B[V][1].length-B[V-1][1].length),B[V+1][1]=B[V-1][1]+B[V+1][1],B.splice(V-1,1),xe=!0):B[V][1].substring(0,B[V+1][1].length)==B[V+1][1]&&(B[V-1][1]+=B[V+1][1],B[V][1]=B[V][1].substring(B[V+1][1].length)+B[V+1][1],B.splice(V+1,1),xe=!0)),V++;xe&&k(B,q)}function D(B){return B>=55296&&B<=56319}function I(B){return B>=56320&&B<=57343}function P(B){return I(B.charCodeAt(0))}function j(B){return D(B.charCodeAt(B.length-1))}function W(B){for(var q=[],V=0;V<B.length;V++)B[V][1].length>0&&q.push(B[V]);return q}function F(B,q,V,ee){return j(B)||P(ee)?null:W([[t,B],[r,q],[e,V],[t,ee]])}function G(B,q,V){var ee=typeof V=="number"?{index:V,length:0}:V.oldRange,ae=typeof V=="number"?null:V.newRange,ne=B.length,oe=q.length;if(ee.length===0&&(ae===null||ae.length===0)){var le=ee.index,ge=B.slice(0,le),te=B.slice(le),ie=ae?ae.index:null;e:{var ue=le+oe-ne;if(ie!==null&&ie!==ue||ue<0||ue>oe)break e;var xe=q.slice(0,ue),ke=q.slice(ue);if(ke!==te)break e;var se=Math.min(le,ue),Ae=ge.slice(0,se),De=xe.slice(0,se);if(Ae!==De)break e;var Ge=ge.slice(se),Ue=xe.slice(se);return F(Ae,Ge,Ue,te)}e:{if(ie!==null&&ie!==le)break e;var we=le,xe=q.slice(0,we),ke=q.slice(we);if(xe!==ge)break e;var Se=Math.min(ne-we,oe-we),_e=te.slice(te.length-Se),Re=ke.slice(ke.length-Se);if(_e!==Re)break e;var Ge=te.slice(0,te.length-Se),Ue=ke.slice(0,ke.length-Se);return F(ge,Ge,Ue,_e)}}if(ee.length>0&&ae&&ae.length===0)e:{var Ae=B.slice(0,ee.index),_e=B.slice(ee.index+ee.length),se=Ae.length,Se=_e.length;if(oe<se+Se)break e;var De=q.slice(0,se),Re=q.slice(oe-Se);if(Ae!==De||_e!==Re)break e;var Ge=B.slice(se,ne-Se),Ue=q.slice(se,oe-Se);return F(Ae,Ge,Ue,_e)}return null}function pe(B,q,V,ee){return n(B,q,V,ee,!0)}return pe.INSERT=e,pe.DELETE=r,pe.EQUAL=t,Pg=pe,Pg}var Hf={exports:{}};Hf.exports;var W0;function Aw(){return W0||(W0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",w="[object Object]",E="[object Promise]",_="[object RegExp]",A="[object Set]",k="[object String]",D="[object Symbol]",I="[object WeakMap]",P="[object ArrayBuffer]",j="[object DataView]",W="[object Float32Array]",F="[object Float64Array]",G="[object Int8Array]",pe="[object Int16Array]",B="[object Int32Array]",q="[object Uint8Array]",V="[object Uint8ClampedArray]",ee="[object Uint16Array]",ae="[object Uint32Array]",ne=/[\\^$.*+?()[\]{}|]/g,oe=/\w*$/,le=/^\[object .+?Constructor\]$/,ge=/^(?:0|[1-9]\d*)$/,te={};te[i]=te[a]=te[P]=te[j]=te[c]=te[d]=te[W]=te[F]=te[G]=te[pe]=te[B]=te[g]=te[v]=te[w]=te[_]=te[A]=te[k]=te[D]=te[q]=te[V]=te[ee]=te[ae]=!0,te[h]=te[p]=te[I]=!1;var ie=typeof Li=="object"&&Li&&Li.Object===Object&&Li,ue=typeof self=="object"&&self&&self.Object===Object&&self,xe=ie||ue||Function("return this")(),ke=e&&!e.nodeType&&e,se=ke&&!0&&r&&!r.nodeType&&r,Ae=se&&se.exports===ke;function De(O,J){return O.set(J[0],J[1]),O}function Ge(O,J){return O.add(J),O}function Ue(O,J){for(var be=-1,Je=O?O.length:0;++be<Je&&J(O[be],be,O)!==!1;);return O}function we(O,J){for(var be=-1,Je=J.length,Jt=O.length;++be<Je;)O[Jt+be]=J[be];return O}function Se(O,J,be,Je){for(var Jt=-1,Ut=O?O.length:0;++Jt<Ut;)be=J(be,O[Jt],Jt,O);return be}function _e(O,J){for(var be=-1,Je=Array(O);++be<O;)Je[be]=J(be);return Je}function Re(O,J){return O==null?void 0:O[J]}function Me(O){var J=!1;if(O!=null&&typeof O.toString!="function")try{J=!!(O+"")}catch{}return J}function tt(O){var J=-1,be=Array(O.size);return O.forEach(function(Je,Jt){be[++J]=[Jt,Je]}),be}function We(O,J){return function(be){return O(J(be))}}function et(O){var J=-1,be=Array(O.size);return O.forEach(function(Je){be[++J]=Je}),be}var st=Array.prototype,ze=Function.prototype,Ke=Object.prototype,bt=xe["__core-js_shared__"],ht=function(){var O=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),dt=ze.toString,St=Ke.hasOwnProperty,Ve=Ke.toString,rt=RegExp("^"+dt.call(St).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Ae?xe.Buffer:void 0,Tt=xe.Symbol,xt=xe.Uint8Array,Mt=We(Object.getPrototypeOf,Object),Vt=Object.create,Ht=Ke.propertyIsEnumerable,hr=st.splice,_r=Object.getOwnPropertySymbols,vr=vt?vt.isBuffer:void 0,Ee=We(Object.keys,Object),de=Nt(xe,"DataView"),nt=Nt(xe,"Map"),qe=Nt(xe,"Promise"),pt=Nt(xe,"Set"),wt=Nt(xe,"WeakMap"),_t=Nt(Object,"create"),jt=rn(de),Ot=rn(nt),ir=rn(qe),Ft=rn(pt),nr=rn(wt),tr=Tt?Tt.prototype:void 0,it=tr?tr.valueOf:void 0;function lt(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function At(){this.__data__=_t?_t(null):{}}function kt(O){return this.has(O)&&delete this.__data__[O]}function Lt(O){var J=this.__data__;if(_t){var be=J[O];return be===n?void 0:be}return St.call(J,O)?J[O]:void 0}function qt(O){var J=this.__data__;return _t?J[O]!==void 0:St.call(J,O)}function rr(O,J){var be=this.__data__;return be[O]=_t&&J===void 0?n:J,this}lt.prototype.clear=At,lt.prototype.delete=kt,lt.prototype.get=Lt,lt.prototype.has=qt,lt.prototype.set=rr;function je(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Q(){this.__data__=[]}function me(O){var J=this.__data__,be=ro(J,O);if(be<0)return!1;var Je=J.length-1;return be==Je?J.pop():hr.call(J,be,1),!0}function Le(O){var J=this.__data__,be=ro(J,O);return be<0?void 0:J[be][1]}function ct(O){return ro(this.__data__,O)>-1}function It(O,J){var be=this.__data__,Je=ro(be,O);return Je<0?be.push([O,J]):be[Je][1]=J,this}je.prototype.clear=Q,je.prototype.delete=me,je.prototype.get=Le,je.prototype.has=ct,je.prototype.set=It;function Rt(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Qt(){this.__data__={hash:new lt,map:new(nt||je),string:new lt}}function Kt(O){return yt(this,O).delete(O)}function yr(O){return yt(this,O).get(O)}function pr(O){return yt(this,O).has(O)}function Tr(O,J){return yt(this,O).set(O,J),this}Rt.prototype.clear=Qt,Rt.prototype.delete=Kt,Rt.prototype.get=yr,Rt.prototype.has=pr,Rt.prototype.set=Tr;function ur(O){this.__data__=new je(O)}function Rn(){this.__data__=new je}function Fn(O){return this.__data__.delete(O)}function Br(O){return this.__data__.get(O)}function Ur(O){return this.__data__.has(O)}function zn(O,J){var be=this.__data__;if(be instanceof je){var Je=be.__data__;if(!nt||Je.length<t-1)return Je.push([O,J]),this;be=this.__data__=new Rt(Je)}return be.set(O,J),this}ur.prototype.clear=Rn,ur.prototype.delete=Fn,ur.prototype.get=Br,ur.prototype.has=Ur,ur.prototype.set=zn;function wn(O,J){var be=Oi(O)||oo(O)?_e(O.length,String):[],Je=be.length,Jt=!!Je;for(var Ut in O)St.call(O,Ut)&&!(Jt&&(Ut=="length"||Sn(Ut,Je)))&&be.push(Ut);return be}function to(O,J,be){var Je=O[J];(!(St.call(O,J)&&Gn(Je,be))||be===void 0&&!(J in O))&&(O[J]=be)}function ro(O,J){for(var be=O.length;be--;)if(Gn(O[be][0],J))return be;return-1}function cn(O,J){return O&&Fe(J,Pr(J),O)}function $n(O,J,be,Je,Jt,Ut,br){var Er;if(Je&&(Er=Ut?Je(O,Jt,Ut,br):Je(O)),Er!==void 0)return Er;if(!so(O))return O;var gr=Oi(O);if(gr){if(Er=Ar(O),!J)return fe(O,Er)}else{var Rr=zt(O),nn=Rr==p||Rr==m;if(Dn(O))return Mn(O,J);if(Rr==w||Rr==i||nn&&!Ut){if(Me(O))return Ut?O:{};if(Er=Jr(nn?{}:O),!J)return Ne(O,cn(Er,O))}else{if(!te[Rr])return Ut?O:{};Er=Cn(O,Rr,$n,J)}}br||(br=new ur);var On=br.get(O);if(On)return On;if(br.set(O,Er),!gr)var Kr=be?Xe(O):Pr(O);return Ue(Kr||O,function($r,on){Kr&&(on=$r,$r=O[on]),to(Er,on,$n($r,J,be,Je,on,O,br))}),Er}function In(O){return so(O)?Vt(O):{}}function _o(O,J,be){var Je=J(O);return Oi(O)?Je:we(Je,be(O))}function Oo(O){return Ve.call(O)}function No(O){if(!so(O)||Vn(O))return!1;var J=Ni(O)||Me(O)?rt:le;return J.test(rn(O))}function Ln(O){if(!Po(O))return Ee(O);var J=[];for(var be in Object(O))St.call(O,be)&&be!="constructor"&&J.push(be);return J}function Mn(O,J){if(J)return O.slice();var be=new O.constructor(O.length);return O.copy(be),be}function mn(O){var J=new O.constructor(O.byteLength);return new xt(J).set(new xt(O)),J}function no(O,J){var be=J?mn(O.buffer):O.buffer;return new O.constructor(be,O.byteOffset,O.byteLength)}function un(O,J,be){var Je=J?be(tt(O),!0):tt(O);return Se(Je,De,new O.constructor)}function yn(O){var J=new O.constructor(O.source,oe.exec(O));return J.lastIndex=O.lastIndex,J}function R(O,J,be){var Je=J?be(et(O),!0):et(O);return Se(Je,Ge,new O.constructor)}function $(O){return it?Object(it.call(O)):{}}function X(O,J){var be=J?mn(O.buffer):O.buffer;return new O.constructor(be,O.byteOffset,O.length)}function fe(O,J){var be=-1,Je=O.length;for(J||(J=Array(Je));++be<Je;)J[be]=O[be];return J}function Fe(O,J,be,Je){be||(be={});for(var Jt=-1,Ut=J.length;++Jt<Ut;){var br=J[Jt],Er=void 0;to(be,br,Er===void 0?O[br]:Er)}return be}function Ne(O,J){return Fe(O,$t(O),J)}function Xe(O){return _o(O,Pr,$t)}function yt(O,J){var be=O.__data__;return fo(J)?be[typeof J=="string"?"string":"hash"]:be.map}function Nt(O,J){var be=Re(O,J);return No(be)?be:void 0}var $t=_r?We(_r,Object):kr,zt=Oo;(de&&zt(new de(new ArrayBuffer(1)))!=j||nt&&zt(new nt)!=g||qe&&zt(qe.resolve())!=E||pt&&zt(new pt)!=A||wt&&zt(new wt)!=I)&&(zt=function(O){var J=Ve.call(O),be=J==w?O.constructor:void 0,Je=be?rn(be):void 0;if(Je)switch(Je){case jt:return j;case Ot:return g;case ir:return E;case Ft:return A;case nr:return I}return J});function Ar(O){var J=O.length,be=O.constructor(J);return J&&typeof O[0]=="string"&&St.call(O,"index")&&(be.index=O.index,be.input=O.input),be}function Jr(O){return typeof O.constructor=="function"&&!Po(O)?In(Mt(O)):{}}function Cn(O,J,be,Je){var Jt=O.constructor;switch(J){case P:return mn(O);case c:case d:return new Jt(+O);case j:return no(O,Je);case W:case F:case G:case pe:case B:case q:case V:case ee:case ae:return X(O,Je);case g:return un(O,Je,be);case v:case k:return new Jt(O);case _:return yn(O);case A:return R(O,Je,be);case D:return $(O)}}function Sn(O,J){return J=J??o,!!J&&(typeof O=="number"||ge.test(O))&&O>-1&&O%1==0&&O<J}function fo(O){var J=typeof O;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?O!=="__proto__":O===null}function Vn(O){return!!ht&&ht in O}function Po(O){var J=O&&O.constructor,be=typeof J=="function"&&J.prototype||Ke;return O===be}function rn(O){if(O!=null){try{return dt.call(O)}catch{}try{return O+""}catch{}}return""}function Ao(O){return $n(O,!0,!0)}function Gn(O,J){return O===J||O!==O&&J!==J}function oo(O){return yi(O)&&St.call(O,"callee")&&(!Ht.call(O,"callee")||Ve.call(O)==i)}var Oi=Array.isArray;function vi(O){return O!=null&&io(O.length)&&!Ni(O)}function yi(O){return ni(O)&&vi(O)}var Dn=vr||Nr;function Ni(O){var J=so(O)?Ve.call(O):"";return J==p||J==m}function io(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=o}function so(O){var J=typeof O;return!!O&&(J=="object"||J=="function")}function ni(O){return!!O&&typeof O=="object"}function Pr(O){return vi(O)?wn(O):Ln(O)}function kr(){return[]}function Nr(){return!1}r.exports=Ao}(Hf,Hf.exports)),Hf.exports}var qf={exports:{}};qf.exports;var U0;function Ew(){return U0||(U0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,c="[object Arguments]",d="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",m="[object Date]",g="[object Error]",v="[object Function]",w="[object GeneratorFunction]",E="[object Map]",_="[object Number]",A="[object Null]",k="[object Object]",D="[object Promise]",I="[object Proxy]",P="[object RegExp]",j="[object Set]",W="[object String]",F="[object Symbol]",G="[object Undefined]",pe="[object WeakMap]",B="[object ArrayBuffer]",q="[object DataView]",V="[object Float32Array]",ee="[object Float64Array]",ae="[object Int8Array]",ne="[object Int16Array]",oe="[object Int32Array]",le="[object Uint8Array]",ge="[object Uint8ClampedArray]",te="[object Uint16Array]",ie="[object Uint32Array]",ue=/[\\^$.*+?()[\]{}|]/g,xe=/^\[object .+?Constructor\]$/,ke=/^(?:0|[1-9]\d*)$/,se={};se[V]=se[ee]=se[ae]=se[ne]=se[oe]=se[le]=se[ge]=se[te]=se[ie]=!0,se[c]=se[d]=se[B]=se[p]=se[q]=se[m]=se[g]=se[v]=se[E]=se[_]=se[k]=se[P]=se[j]=se[W]=se[pe]=!1;var Ae=typeof Li=="object"&&Li&&Li.Object===Object&&Li,De=typeof self=="object"&&self&&self.Object===Object&&self,Ge=Ae||De||Function("return this")(),Ue=e&&!e.nodeType&&e,we=Ue&&!0&&r&&!r.nodeType&&r,Se=we&&we.exports===Ue,_e=Se&&Ae.process,Re=function(){try{return _e&&_e.binding&&_e.binding("util")}catch{}}(),Me=Re&&Re.isTypedArray;function tt(O,J){for(var be=-1,Je=O==null?0:O.length,Jt=0,Ut=[];++be<Je;){var br=O[be];J(br,be,O)&&(Ut[Jt++]=br)}return Ut}function We(O,J){for(var be=-1,Je=J.length,Jt=O.length;++be<Je;)O[Jt+be]=J[be];return O}function et(O,J){for(var be=-1,Je=O==null?0:O.length;++be<Je;)if(J(O[be],be,O))return!0;return!1}function st(O,J){for(var be=-1,Je=Array(O);++be<O;)Je[be]=J(be);return Je}function ze(O){return function(J){return O(J)}}function Ke(O,J){return O.has(J)}function bt(O,J){return O==null?void 0:O[J]}function ht(O){var J=-1,be=Array(O.size);return O.forEach(function(Je,Jt){be[++J]=[Jt,Je]}),be}function dt(O,J){return function(be){return O(J(be))}}function St(O){var J=-1,be=Array(O.size);return O.forEach(function(Je){be[++J]=Je}),be}var Ve=Array.prototype,rt=Function.prototype,vt=Object.prototype,Tt=Ge["__core-js_shared__"],xt=rt.toString,Mt=vt.hasOwnProperty,Vt=function(){var O=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),Ht=vt.toString,hr=RegExp("^"+xt.call(Mt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_r=Se?Ge.Buffer:void 0,vr=Ge.Symbol,Ee=Ge.Uint8Array,de=vt.propertyIsEnumerable,nt=Ve.splice,qe=vr?vr.toStringTag:void 0,pt=Object.getOwnPropertySymbols,wt=_r?_r.isBuffer:void 0,_t=dt(Object.keys,Object),jt=$t(Ge,"DataView"),Ot=$t(Ge,"Map"),ir=$t(Ge,"Promise"),Ft=$t(Ge,"Set"),nr=$t(Ge,"WeakMap"),tr=$t(Object,"create"),it=rn(jt),lt=rn(Ot),At=rn(ir),kt=rn(Ft),Lt=rn(nr),qt=vr?vr.prototype:void 0,rr=qt?qt.valueOf:void 0;function je(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Q(){this.__data__=tr?tr(null):{},this.size=0}function me(O){var J=this.has(O)&&delete this.__data__[O];return this.size-=J?1:0,J}function Le(O){var J=this.__data__;if(tr){var be=J[O];return be===n?void 0:be}return Mt.call(J,O)?J[O]:void 0}function ct(O){var J=this.__data__;return tr?J[O]!==void 0:Mt.call(J,O)}function It(O,J){var be=this.__data__;return this.size+=this.has(O)?0:1,be[O]=tr&&J===void 0?n:J,this}je.prototype.clear=Q,je.prototype.delete=me,je.prototype.get=Le,je.prototype.has=ct,je.prototype.set=It;function Rt(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Qt(){this.__data__=[],this.size=0}function Kt(O){var J=this.__data__,be=Mn(J,O);if(be<0)return!1;var Je=J.length-1;return be==Je?J.pop():nt.call(J,be,1),--this.size,!0}function yr(O){var J=this.__data__,be=Mn(J,O);return be<0?void 0:J[be][1]}function pr(O){return Mn(this.__data__,O)>-1}function Tr(O,J){var be=this.__data__,Je=Mn(be,O);return Je<0?(++this.size,be.push([O,J])):be[Je][1]=J,this}Rt.prototype.clear=Qt,Rt.prototype.delete=Kt,Rt.prototype.get=yr,Rt.prototype.has=pr,Rt.prototype.set=Tr;function ur(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Rn(){this.size=0,this.__data__={hash:new je,map:new(Ot||Rt),string:new je}}function Fn(O){var J=Nt(this,O).delete(O);return this.size-=J?1:0,J}function Br(O){return Nt(this,O).get(O)}function Ur(O){return Nt(this,O).has(O)}function zn(O,J){var be=Nt(this,O),Je=be.size;return be.set(O,J),this.size+=be.size==Je?0:1,this}ur.prototype.clear=Rn,ur.prototype.delete=Fn,ur.prototype.get=Br,ur.prototype.has=Ur,ur.prototype.set=zn;function wn(O){var J=-1,be=O==null?0:O.length;for(this.__data__=new ur;++J<be;)this.add(O[J])}function to(O){return this.__data__.set(O,n),this}function ro(O){return this.__data__.has(O)}wn.prototype.add=wn.prototype.push=to,wn.prototype.has=ro;function cn(O){var J=this.__data__=new Rt(O);this.size=J.size}function $n(){this.__data__=new Rt,this.size=0}function In(O){var J=this.__data__,be=J.delete(O);return this.size=J.size,be}function _o(O){return this.__data__.get(O)}function Oo(O){return this.__data__.has(O)}function No(O,J){var be=this.__data__;if(be instanceof Rt){var Je=be.__data__;if(!Ot||Je.length<t-1)return Je.push([O,J]),this.size=++be.size,this;be=this.__data__=new ur(Je)}return be.set(O,J),this.size=be.size,this}cn.prototype.clear=$n,cn.prototype.delete=In,cn.prototype.get=_o,cn.prototype.has=Oo,cn.prototype.set=No;function Ln(O,J){var be=oo(O),Je=!be&&Gn(O),Jt=!be&&!Je&&vi(O),Ut=!be&&!Je&&!Jt&&ni(O),br=be||Je||Jt||Ut,Er=br?st(O.length,String):[],gr=Er.length;for(var Rr in O)Mt.call(O,Rr)&&!(br&&(Rr=="length"||Jt&&(Rr=="offset"||Rr=="parent")||Ut&&(Rr=="buffer"||Rr=="byteLength"||Rr=="byteOffset")||Cn(Rr,gr)))&&Er.push(Rr);return Er}function Mn(O,J){for(var be=O.length;be--;)if(Ao(O[be][0],J))return be;return-1}function mn(O,J,be){var Je=J(O);return oo(O)?Je:We(Je,be(O))}function no(O){return O==null?O===void 0?G:A:qe&&qe in Object(O)?zt(O):Po(O)}function un(O){return so(O)&&no(O)==c}function yn(O,J,be,Je,Jt){return O===J?!0:O==null||J==null||!so(O)&&!so(J)?O!==O&&J!==J:R(O,J,be,Je,yn,Jt)}function R(O,J,be,Je,Jt,Ut){var br=oo(O),Er=oo(J),gr=br?d:Jr(O),Rr=Er?d:Jr(J);gr=gr==c?k:gr,Rr=Rr==c?k:Rr;var nn=gr==k,On=Rr==k,Kr=gr==Rr;if(Kr&&vi(O)){if(!vi(J))return!1;br=!0,nn=!1}if(Kr&&!nn)return Ut||(Ut=new cn),br||ni(O)?Fe(O,J,be,Je,Jt,Ut):Ne(O,J,gr,be,Je,Jt,Ut);if(!(be&o)){var $r=nn&&Mt.call(O,"__wrapped__"),on=On&&Mt.call(J,"__wrapped__");if($r||on){var ho=$r?O.value():O,Eo=on?J.value():J;return Ut||(Ut=new cn),Jt(ho,Eo,be,Je,Ut)}}return Kr?(Ut||(Ut=new cn),Xe(O,J,be,Je,Jt,Ut)):!1}function $(O){if(!io(O)||fo(O))return!1;var J=Dn(O)?hr:xe;return J.test(rn(O))}function X(O){return so(O)&&Ni(O.length)&&!!se[no(O)]}function fe(O){if(!Vn(O))return _t(O);var J=[];for(var be in Object(O))Mt.call(O,be)&&be!="constructor"&&J.push(be);return J}function Fe(O,J,be,Je,Jt,Ut){var br=be&o,Er=O.length,gr=J.length;if(Er!=gr&&!(br&&gr>Er))return!1;var Rr=Ut.get(O);if(Rr&&Ut.get(J))return Rr==J;var nn=-1,On=!0,Kr=be&i?new wn:void 0;for(Ut.set(O,J),Ut.set(J,O);++nn<Er;){var $r=O[nn],on=J[nn];if(Je)var ho=br?Je(on,$r,nn,J,O,Ut):Je($r,on,nn,O,J,Ut);if(ho!==void 0){if(ho)continue;On=!1;break}if(Kr){if(!et(J,function(Eo,Zn){if(!Ke(Kr,Zn)&&($r===Eo||Jt($r,Eo,be,Je,Ut)))return Kr.push(Zn)})){On=!1;break}}else if(!($r===on||Jt($r,on,be,Je,Ut))){On=!1;break}}return Ut.delete(O),Ut.delete(J),On}function Ne(O,J,be,Je,Jt,Ut,br){switch(be){case q:if(O.byteLength!=J.byteLength||O.byteOffset!=J.byteOffset)return!1;O=O.buffer,J=J.buffer;case B:return!(O.byteLength!=J.byteLength||!Ut(new Ee(O),new Ee(J)));case p:case m:case _:return Ao(+O,+J);case g:return O.name==J.name&&O.message==J.message;case P:case W:return O==J+"";case E:var Er=ht;case j:var gr=Je&o;if(Er||(Er=St),O.size!=J.size&&!gr)return!1;var Rr=br.get(O);if(Rr)return Rr==J;Je|=i,br.set(O,J);var nn=Fe(Er(O),Er(J),Je,Jt,Ut,br);return br.delete(O),nn;case F:if(rr)return rr.call(O)==rr.call(J)}return!1}function Xe(O,J,be,Je,Jt,Ut){var br=be&o,Er=yt(O),gr=Er.length,Rr=yt(J),nn=Rr.length;if(gr!=nn&&!br)return!1;for(var On=gr;On--;){var Kr=Er[On];if(!(br?Kr in J:Mt.call(J,Kr)))return!1}var $r=Ut.get(O);if($r&&Ut.get(J))return $r==J;var on=!0;Ut.set(O,J),Ut.set(J,O);for(var ho=br;++On<gr;){Kr=Er[On];var Eo=O[Kr],Zn=J[Kr];if(Je)var Pi=br?Je(Zn,Eo,Kr,J,O,Ut):Je(Eo,Zn,Kr,O,J,Ut);if(!(Pi===void 0?Eo===Zn||Jt(Eo,Zn,be,Je,Ut):Pi)){on=!1;break}ho||(ho=Kr=="constructor")}if(on&&!ho){var oi=O.constructor,dn=J.constructor;oi!=dn&&"constructor"in O&&"constructor"in J&&!(typeof oi=="function"&&oi instanceof oi&&typeof dn=="function"&&dn instanceof dn)&&(on=!1)}return Ut.delete(O),Ut.delete(J),on}function yt(O){return mn(O,Pr,Ar)}function Nt(O,J){var be=O.__data__;return Sn(J)?be[typeof J=="string"?"string":"hash"]:be.map}function $t(O,J){var be=bt(O,J);return $(be)?be:void 0}function zt(O){var J=Mt.call(O,qe),be=O[qe];try{O[qe]=void 0;var Je=!0}catch{}var Jt=Ht.call(O);return Je&&(J?O[qe]=be:delete O[qe]),Jt}var Ar=pt?function(O){return O==null?[]:(O=Object(O),tt(pt(O),function(J){return de.call(O,J)}))}:kr,Jr=no;(jt&&Jr(new jt(new ArrayBuffer(1)))!=q||Ot&&Jr(new Ot)!=E||ir&&Jr(ir.resolve())!=D||Ft&&Jr(new Ft)!=j||nr&&Jr(new nr)!=pe)&&(Jr=function(O){var J=no(O),be=J==k?O.constructor:void 0,Je=be?rn(be):"";if(Je)switch(Je){case it:return q;case lt:return E;case At:return D;case kt:return j;case Lt:return pe}return J});function Cn(O,J){return J=J??a,!!J&&(typeof O=="number"||ke.test(O))&&O>-1&&O%1==0&&O<J}function Sn(O){var J=typeof O;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?O!=="__proto__":O===null}function fo(O){return!!Vt&&Vt in O}function Vn(O){var J=O&&O.constructor,be=typeof J=="function"&&J.prototype||vt;return O===be}function Po(O){return Ht.call(O)}function rn(O){if(O!=null){try{return xt.call(O)}catch{}try{return O+""}catch{}}return""}function Ao(O,J){return O===J||O!==O&&J!==J}var Gn=un(function(){return arguments}())?un:function(O){return so(O)&&Mt.call(O,"callee")&&!de.call(O,"callee")},oo=Array.isArray;function Oi(O){return O!=null&&Ni(O.length)&&!Dn(O)}var vi=wt||Nr;function yi(O,J){return yn(O,J)}function Dn(O){if(!io(O))return!1;var J=no(O);return J==v||J==w||J==h||J==I}function Ni(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function io(O){var J=typeof O;return O!=null&&(J=="object"||J=="function")}function so(O){return O!=null&&typeof O=="object"}var ni=Me?ze(Me):X;function Pr(O){return Oi(O)?Ln(O):fe(O)}function kr(){return[]}function Nr(){return!1}r.exports=yi}(qf,qf.exports)),qf.exports}var Zh={},V0;function oI(){if(V0)return Zh;V0=1,Object.defineProperty(Zh,"__esModule",{value:!0});const r=Aw(),e=Ew();var t;return function(n){function o(d={},h={},p=!1){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});let m=r(h);p||(m=Object.keys(m).reduce((g,v)=>(m[v]!=null&&(g[v]=m[v]),g),{}));for(const g in d)d[g]!==void 0&&h[g]===void 0&&(m[g]=d[g]);return Object.keys(m).length>0?m:void 0}n.compose=o;function i(d={},h={}){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});const p=Object.keys(d).concat(Object.keys(h)).reduce((m,g)=>(e(d[g],h[g])||(m[g]=h[g]===void 0?null:h[g]),m),{});return Object.keys(p).length>0?p:void 0}n.diff=i;function a(d={},h={}){d=d||{};const p=Object.keys(h).reduce((m,g)=>(h[g]!==d[g]&&d[g]!==void 0&&(m[g]=h[g]),m),{});return Object.keys(d).reduce((m,g)=>(d[g]!==h[g]&&h[g]===void 0&&(m[g]=null),m),p)}n.invert=a;function c(d,h,p=!1){if(typeof d!="object")return h;if(typeof h!="object")return;if(!p)return h;const m=Object.keys(h).reduce((g,v)=>(d[v]===void 0&&(g[v]=h[v]),g),{});return Object.keys(m).length>0?m:void 0}n.transform=c}(t||(t={})),Zh.default=t,Zh}var Yh={},G0;function Tw(){if(G0)return Yh;G0=1,Object.defineProperty(Yh,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),Yh.default=r,Yh}var Kh={},Z0;function iI(){if(Z0)return Kh;Z0=1,Object.defineProperty(Kh,"__esModule",{value:!0});const r=Tw();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const o=this.ops[this.index];if(o){const i=this.offset,a=r.default.length(o);if(n>=a-i?(n=a-i,this.index+=1,this.offset=0):this.offset+=n,typeof o.delete=="number")return{delete:n};{const c={};return o.attributes&&(c.attributes=o.attributes),typeof o.retain=="number"?c.retain=n:typeof o.retain=="object"&&o.retain!==null?c.retain=o.retain:typeof o.insert=="string"?c.insert=o.insert.substr(i,n):c.insert=o.insert,c}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,o=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=n,this.index=o,[i].concat(a)}}else return[]}}return Kh.default=e,Kh}var Y0;function sI(){return Y0||(Y0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=nI(),n=Aw(),o=Ew(),i=oI();e.AttributeMap=i.default;const a=Tw();e.Op=a.default;const c=iI();e.OpIterator=c.default;const d="\0",h=(m,g)=>{if(typeof m!="object"||m===null)throw new Error(`cannot retain a ${typeof m}`);if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);const v=Object.keys(m)[0];if(!v||v!==Object.keys(g)[0])throw new Error(`embed types not matched: ${v} != ${Object.keys(g)[0]}`);return[v,m[v],g[v]]};class p{constructor(g){Array.isArray(g)?this.ops=g:g!=null&&Array.isArray(g.ops)?this.ops=g.ops:this.ops=[]}static registerEmbed(g,v){this.handlers[g]=v}static unregisterEmbed(g){delete this.handlers[g]}static getHandler(g){const v=this.handlers[g];if(!v)throw new Error(`no handlers for embed type "${g}"`);return v}insert(g,v){const w={};return typeof g=="string"&&g.length===0?this:(w.insert=g,v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w))}delete(g){return g<=0?this:this.push({delete:g})}retain(g,v){if(typeof g=="number"&&g<=0)return this;const w={retain:g};return v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w)}push(g){let v=this.ops.length,w=this.ops[v-1];if(g=n(g),typeof w=="object"){if(typeof g.delete=="number"&&typeof w.delete=="number")return this.ops[v-1]={delete:w.delete+g.delete},this;if(typeof w.delete=="number"&&g.insert!=null&&(v-=1,w=this.ops[v-1],typeof w!="object"))return this.ops.unshift(g),this;if(o(g.attributes,w.attributes)){if(typeof g.insert=="string"&&typeof w.insert=="string")return this.ops[v-1]={insert:w.insert+g.insert},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this;if(typeof g.retain=="number"&&typeof w.retain=="number")return this.ops[v-1]={retain:w.retain+g.retain},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this}}return v===this.ops.length?this.ops.push(g):this.ops.splice(v,0,g),this}chop(){const g=this.ops[this.ops.length-1];return g&&typeof g.retain=="number"&&!g.attributes&&this.ops.pop(),this}filter(g){return this.ops.filter(g)}forEach(g){this.ops.forEach(g)}map(g){return this.ops.map(g)}partition(g){const v=[],w=[];return this.forEach(E=>{(g(E)?v:w).push(E)}),[v,w]}reduce(g,v){return this.ops.reduce(g,v)}changeLength(){return this.reduce((g,v)=>v.insert?g+a.default.length(v):v.delete?g-v.delete:g,0)}length(){return this.reduce((g,v)=>g+a.default.length(v),0)}slice(g=0,v=1/0){const w=[],E=new c.default(this.ops);let _=0;for(;_<v&&E.hasNext();){let A;_<g?A=E.next(g-_):(A=E.next(v-_),w.push(A)),_+=a.default.length(A)}return new p(w)}compose(g){const v=new c.default(this.ops),w=new c.default(g.ops),E=[],_=w.peek();if(_!=null&&typeof _.retain=="number"&&_.attributes==null){let k=_.retain;for(;v.peekType()==="insert"&&v.peekLength()<=k;)k-=v.peekLength(),E.push(v.next());_.retain-k>0&&w.next(_.retain-k)}const A=new p(E);for(;v.hasNext()||w.hasNext();)if(w.peekType()==="insert")A.push(w.next());else if(v.peekType()==="delete")A.push(v.next());else{const k=Math.min(v.peekLength(),w.peekLength()),D=v.next(k),I=w.next(k);if(I.retain){const P={};if(typeof D.retain=="number")P.retain=typeof I.retain=="number"?k:I.retain;else if(typeof I.retain=="number")D.retain==null?P.insert=D.insert:P.retain=D.retain;else{const W=D.retain==null?"insert":"retain",[F,G,pe]=h(D[W],I.retain),B=p.getHandler(F);P[W]={[F]:B.compose(G,pe,W==="retain")}}const j=i.default.compose(D.attributes,I.attributes,typeof D.retain=="number");if(j&&(P.attributes=j),A.push(P),!w.hasNext()&&o(A.ops[A.ops.length-1],P)){const W=new p(v.rest());return A.concat(W).chop()}}else typeof I.delete=="number"&&(typeof D.retain=="number"||typeof D.retain=="object"&&D.retain!==null)&&A.push(I)}return A.chop()}concat(g){const v=new p(this.ops.slice());return g.ops.length>0&&(v.push(g.ops[0]),v.ops=v.ops.concat(g.ops.slice(1))),v}diff(g,v){if(this.ops===g.ops)return new p;const w=[this,g].map(D=>D.map(I=>{if(I.insert!=null)return typeof I.insert=="string"?I.insert:d;const P=D===g?"on":"with";throw new Error("diff() called "+P+" non-document")}).join("")),E=new p,_=t(w[0],w[1],v,!0),A=new c.default(this.ops),k=new c.default(g.ops);return _.forEach(D=>{let I=D[1].length;for(;I>0;){let P=0;switch(D[0]){case t.INSERT:P=Math.min(k.peekLength(),I),E.push(k.next(P));break;case t.DELETE:P=Math.min(I,A.peekLength()),A.next(P),E.delete(P);break;case t.EQUAL:P=Math.min(A.peekLength(),k.peekLength(),I);const j=A.next(P),W=k.next(P);o(j.insert,W.insert)?E.retain(P,i.default.diff(j.attributes,W.attributes)):E.push(W).delete(P);break}I-=P}}),E.chop()}eachLine(g,v=`
|
165
|
+
`+Ve:""}`)}Ke.length>0&&j([...P||[],...Ke])}},[j,ge,h,d,I,P,w]),Ge=C.useCallback(()=>{var ze;return(ze=ae.current)==null?void 0:ze.click()},[]),Ue=C.useCallback(ze=>{const Ke=ze.target.files;Ke!=null&&Ke.length&&(De(Ke),se())},[De,se]),we=C.useCallback(ze=>{if(m==null||m(ze),!j||!P)return;const Ke=oe(ze),bt=P.filter(ht=>oe(ht)!==Ke);j(bt),se()},[m,j,P,se,oe]),Se=C.useCallback(()=>{j&&(j([]),se())},[j,se]),_e=C.useCallback(ze=>{if(!p)return Promise.resolve();const Ke=oe(ze);return ee.current[Ke]==="Loading"?Promise.resolve():(te(Ke,"Loading"),new Promise(bt=>{p(ze,ht=>{te(Ke,ht),bt()})}))},[p,oe,te]),Re=C.useCallback(async()=>{if(P!=null&&P.length){if(pe){const ze={...ee.current};P.forEach(Ke=>{ze[oe(Ke)]="Loading"}),ee.current=ze,pe(ze)}for(const ze of P){if(!p)continue;const Ke=oe(ze);await new Promise(bt=>{p(ze,ht=>{if(pe){const dt={...ee.current};dt[Ke]=ht,ee.current=dt,pe(dt)}bt()})})}}},[P,oe,p,pe]),Me=C.useMemo(()=>{const ze=Ke=>(Ke.preventDefault(),Ke.stopPropagation(),Ke);return{onDragEnter:Ke=>{ze(Ke),!W&&!_&&q(!0)},onDragOver:Ke=>{ze(Ke),!W&&!_&&Ke.dataTransfer&&(Ke.dataTransfer.dropEffect="copy")},onDragLeave:Ke=>{var ht;ze(Ke);const bt=(ht=ne.current)==null?void 0:ht.contains(Ke.relatedTarget);(!Ke.relatedTarget||!bt)&&q(!1)},onDrop:Ke=>{var bt;ze(Ke),q(!1),!W&&!_&&((bt=Ke.dataTransfer.files)!=null&&bt.length)&&De(Ke.dataTransfer.files)}}},[W,_,De]),tt=C.useMemo(()=>{const ze=Ze.clsx(Bn.ButtonRenderer,"NoSelect");return{upload:Ke=>S.jsx(So,{className:ze,icon:"X",iconSize:"sm",style:{color:"var(--label-neutral)"},tooltip:I.Delete,type:"Raw",onClick:()=>we(Ke)}),loading:()=>S.jsx(So,{className:ze,icon:"Spinner",iconSize:"sm",type:"Raw"}),error:Ke=>S.jsx(_k,{baseClass:ze,errorClass:Bn.ErrorColor,errorCursorClass:Bn.ErrorCursor,file:Ke,resources:I,onDownload:_e}),download:Ke=>S.jsx(So,{className:ze,icon:"FileDownload",iconSize:"sm",style:{color:"var(--acent-brand)"},tooltip:I.Download,type:"Raw",onClick:()=>_e(Ke)})}},[I,we,_e]),We=C.useCallback((ze,Ke)=>{const bt=ue(ze),ht=xe(ze),dt=()=>g==="Upload"?tt.upload(ze):bt?tt.loading():ht?tt.error(ze):tt.download(ze);return S.jsx(F1,{ButtonRenderer:dt,className:Ze.clsx(Bn.FileChip,ht&&Bn.ErrorBorder),label:S.jsx("div",{className:Bn.FileChipContent,children:S.jsxs(Tn,{className:Bn.FileNameContainer,children:[S.jsx(Ya,{children:ze.name,className:Ze.clsx(ht&&Bn.ErrorColor)}),S.jsx("span",{children:Mu(ze.size),className:Bn.FileSize})]})})},Ke)},[ue,xe,g,tt]),et=C.useCallback(()=>S.jsx("div",{className:Ze.clsx(Bn.FileBox,W&&Bn.ErrorBorder,W&&Bn.ErrorColor,W&&Bn.ErrorCursor,Ae&&Bn.Disabled),...Me,ref:ne,children:B?S.jsxs(Tn,{className:Ze.clsx("NoSelect"),style:{gap:4},children:[S.jsx(ln,{icon:"FileDownload"}),S.jsx("span",{children:I["Drop file to select"]})]}):S.jsxs(Zo,{className:Ze.clsx(Bn.SelectRenderer,"NoSelect"),isDisabled:W||_||Ae,type:"Raw",onClick:Ge,children:[I["Insert File"],w&&` ${(P==null?void 0:P.length)||0} / ${w}`]})}),[W,B,I,Ge,_,Me,P,w,Ae]),st=C.useMemo(()=>{const ze=g==="Upload",Ke=ze?I["Delete All"]:I["Download All"],bt=ze?Se:Re;return S.jsxs(Tn,{className:Bn.LabelContainer,children:[t,g==="Upload"&&S.jsxs(Ya,{className:Ze.clsx(Bn.TotalFileSize,"NoSelect"),children:["(",S.jsx("span",{className:Ze.clsx(W&&Bn.ErrorColor),children:Mu(le)})," / ",Mu(v),")"]}),S.jsx("span",{children:Ke,className:Ze.clsx(Bn.LabelButton,"Label1",ke&&Bn.Disabled,ze&&Bn.Delete),onClick:ke?void 0:bt})]})},[g,I,Se,Re,t,W,le,v,ke]);return g==="Download"&&!(P!=null&&P.length)?null:S.jsxs(zc,{errorMessage:a,helperText:e,label:st,labelProps:n,wrapProps:o,wrapType:i,children:[S.jsx("input",{ref:ae,multiple:!0,accept:d||"",style:{display:"none"},type:"file",onChange:Ue}),S.jsx(Zr,{...D,className:Ze.clsx(Bn.AFileUploader,k),children:S.jsxs(Tn,{className:Bn.ChipsContainer,children:[g==="Upload"&&et(),P==null?void 0:P.map(We)]})})]})},Ek="_AFloatMenu_xco8u_1",Tk="_Content_xco8u_10",z0={AFloatMenu:Ek,Content:Tk},mw=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:o,onClose:i,onClick:a,onPaperClick:c,position:d=sf.ES,width:h=137}=r,p=C.useMemo(()=>({content:kk,...t}),[t]),m=C.useMemo(()=>{const B={};return or.keys(e).forEach(q=>{const V=e[q],ee={...p,...V};ee.noDisplay||(B[q]=ee)}),B},[p,e]),[g,v]=C.useState(null),w=C.useCallback(B=>{Tx(B,D,d,o),v(B)},[d,o]),[E,_]=C.useState(!1),[A,k]=C.useState(!1),D=C.useRef(null),I=C.useCallback(B=>{k(!0),setTimeout(()=>_(!0),0),setTimeout(()=>w(B),0)},[w]),P=C.useCallback(()=>{_(!1),k(!0),i==null||i()},[i]),j=C.useCallback(()=>k(!1),[]),W=C.useCallback(async B=>{const q=document.getElementById("root"),V=B.target,ee=D.current;!q||!ee||!V||!ee.contains(V)&&q.contains(V)&&(await(c==null?void 0:c(B)),P())},[P,c]);C.useEffect(()=>{if(E)return setTimeout(()=>document.addEventListener("mousedown",W),0),()=>document.removeEventListener("mousedown",W)},[E,W]);const F=C.useCallback(()=>{g&&w(g)},[w,g]);C.useEffect(()=>{if(!E||!g)return;let B=g.parentElement;for(;B;)B.addEventListener("scroll",F),B=B.parentElement;return()=>{let q=g.parentElement;for(;q;)q.removeEventListener("scroll",F),q=q.parentElement}},[g,E,F]),C.useEffect(()=>{if(E)return window.addEventListener("resize",F),()=>window.removeEventListener("resize",F)},[E,F]);const G=C.useCallback(B=>{B[0].intersectionRatio===0&&P()},[P]);C.useEffect(()=>{if(!E)return;const B=new IntersectionObserver(G,{threshold:0});return D.current&&B.observe(D.current),()=>B.disconnect()},[D,E,G]),C.useEffect(()=>{n&&(n.current={open:I,close:P})},[n,I,P]);const pe=C.useCallback(B=>{var q;if(E){if((q=m[B])!=null&&q.isDisabled)return}else return;a==null||a(B),P()},[E,a,P,m]);return!E&&!A?null:ks.createPortal(S.jsx("div",{ref:D,className:z0.AFloatMenu,style:{opacity:+E,visibility:E&&Object.keys(m).length>0?"visible":"hidden",minWidth:h},onTransitionEnd:j,children:or.map(m,([B],q)=>{const V={...p,...m[B]};let{content:ee,noDisplay:ae,tooltipDirection:ne=Io.E,...oe}=V;return ae?null:(ee=Or.getContent(V.content,{defKey:B,def:V}),C.createElement(Zr,{...oe,key:q,className:Ze.clsx(z0.Content,"Label2","IsClickable",oe.className),tooltipDirection:ne,onClick:le=>{var ge;pe==null||pe(B),(ge=oe.onClick)==null||ge.call(oe,le)}},ee))})}),document.body)},kk=r=>r.defKey;function Rk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const vw={parseInt:Rk},Ik=`${Number.MAX_SAFE_INTEGER}`.length-1,Mk=r=>{const{unit:e,type:t="Secondary",min:n,max:o,useValue:i,onEnterPress:a,canAsterisk:c=!1,onFocus:d,...h}=r,p=C.useMemo(()=>o!==void 0&&n!==void 0?Math.max(`${o}`.length+1,`${n}`.length+1):Ik,[n,o]),[m,g]=gn(i,""),v=C.useCallback(A=>{if(g)if(c&&A.startsWith("*"))g("*");else if(A==="")g("");else if(A==="-")g("-");else{A=A.replace(/[^0-9-]/g,"");try{const k=vw.parseInt(A);k!==void 0&&(n!==void 0&&k<n?g(`${n}`):o!==void 0&&k>o?g(`${o}`):g(`${k}`))}catch(k){console.error("ANumInput : ",k)}}},[g,c,n,o]),w=C.useRef(null),E=C.useCallback(A=>{var k;(k=w.current)==null||k.blur(),a==null||a(A)},[a]),_=C.useMemo(()=>n===void 0&&o===void 0?e??"number":`${n??""}~${o??""}`,[n,o,e]);return S.jsx($c,{...h,autoComplete:"off",className:Ze.clsx(mi.ANumInput,r.className),inputRef:w,maxLength:p,placeholder:_,RightAddon:r.unit&&S.jsx("span",{style:{marginRight:4},children:r.unit}),type:t,useValue:[m,v],onEnterPress:E})},Lk="_AListView_k7t2d_1",Dk="_Row_k7t2d_10",Ok="_Label_k7t2d_20",Nk="_Content_k7t2d_30",Hh={AListView:Lk,Row:Dk,Label:Ok,Content:Nk},Pk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:o,labelWidth:i,noBorder:a,style:c,...d}=r,h=a?"":"var(--AListView_border-thin)",p=a?"":"var(--AListView_border-thick)",m=C.useMemo(()=>({content:jk,label:Bk,...t}),[t]),g=C.useMemo(()=>{const v={};return or.keys(e).forEach(w=>{const E=e[w],_={...m,...E};v[w]=_}),v},[m,e]);return S.jsx(Zr,{...d,className:Ze.clsx(Hh.AListView,d.className),style:{...c,borderTop:h},children:or.map(g,([v])=>{const w={...m,...g[v]},E=Or.getContent(w.label,{defKey:v,item:n,def:w}),_=Or.getContent(w.content,{defKey:v,item:n||{[v]:""},def:w}),A=Or.getContent(w.bold||"label",{defKey:v,item:n,def:w});return S.jsxs("div",{className:Hh.Row,style:{height:o,borderBottom:h},children:[S.jsx("div",{className:Ze.clsx(Hh.Label,"NoSelect",A!=="content"&&"Bold"),style:{width:i,minWidth:i,maxWidth:i,borderLeft:p,paddingLeft:a?0:10},children:S.jsx(Ya,{children:E})}),S.jsx("div",{className:Ze.clsx(Hh.Content,A!=="label"&&"Bold"),style:{borderLeft:p,borderRight:p},children:S.jsx(Ya,{style:{width:"100%",padding:a?0:10},children:_})})]},v)})})},Bk=r=>r.defKey,jk=r=>{const{defKey:e,item:t}=r;if(t)if(or.hasKey(t,e)){const n=t[e];return or.isReactNode(n)?n:null}else return null;else return null},Fk="_ALoadingBorder_kwc1g_1",zk="_ProgressBar_kwc1g_9",$k="_IsLoading_kwc1g_15",Hk="_Cover_kwc1g_19",Nf={ALoadingBorder:Fk,ProgressBar:zk,IsLoading:$k,Cover:Hk},U1=r=>{const{isLoading:e}=r,[t,n]=C.useState(!1),o=C.useRef(null);return C.useEffect(()=>{e?(n(!0),o.current&&clearTimeout(o.current)):o.current=setTimeout(()=>n(!1),300)},[e]),S.jsxs("div",{className:Nf.ALoadingBorder,children:[S.jsx("div",{className:Ze.clsx(Nf.ProgressBar,t&&Nf.IsLoading)}),S.jsx("div",{className:Ze.clsx(Nf.Cover,e&&Nf.IsLoading),style:{transition:"all 300ms"}})]})},qk="_Container_ez8dc_1",Wk="_Option_ez8dc_7",Uk="_RadioButton_ez8dc_14",Vk="_InnerCircle_ez8dc_24",Gk="_isChecked_ez8dc_29",Nd={Container:qk,Option:Wk,RadioButton:Uk,InnerCircle:Vk,isChecked:Gk},Zk=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:o=23,innerRadius:i=o*.6,OptionRenderer:a=yw}=r,[c,d]=gn(t,e[0]);return S.jsx("div",{className:Nd.Container,children:e.map((h,p)=>{const m=n==null?void 0:n(h),g=()=>m?null:d==null?void 0:d(h);return S.jsxs(Tn,{className:Ze.clsx(Nd.Option,"IsClickable"),isDisabled:m,onClick:g,children:[S.jsx(Yk,{innerRadius:i,isChecked:c===h,radius:o},p),S.jsx(a,{option:h})]},p)})})},yw=({option:r})=>r,Yk=({isChecked:r,radius:e,innerRadius:t})=>S.jsx(Zr,{className:Ze.clsx(Nd.RadioButton,r&&Nd.isChecked),style:{width:e,height:e},children:S.jsx(Zr,{className:Ze.clsx(Nd.InnerCircle,r&&Nd.isChecked),style:{width:t,height:t}})}),Kk="_AMultiSelect_19uuu_1",Xk="_Arrow_19uuu_15",Jk="_Primary_19uuu_24",Qk="_UnAvailable_19uuu_35",eR="_IsOpen_19uuu_35",tR="_Secondary_19uuu_42",rR="_Placeholder_19uuu_58",nR="_ValuesContainer_19uuu_63",oR="_Values_19uuu_63",iR="_Options_19uuu_82",sR="_Option_19uuu_82",aR="_Selected_19uuu_124",lR="_CheckBox_19uuu_131",Ii={AMultiSelect:Kk,Arrow:Xk,Primary:Jk,UnAvailable:Qk,IsOpen:eR,Secondary:tR,Placeholder:rR,ValuesContainer:nR,Values:oR,Options:iR,Option:sR,Selected:aR,CheckBox:lR},cR=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:o=vr.AMultiSelect["Select(Placeholder)"],onClose:i,SelectedRenderer:a=dR,OptionRenderer:c=fR,minShowRows:d=2,maxShowRows:h=6,arrowProps:p,isAutoWidth:m=!1,...g}=r,v=C.useRef(null),w=C.useMemo(()=>g.abaseRef??v,[g.abaseRef]),E=C.useRef(null),[_,A]=gn(t,[]),[k,D]=C.useState(void 0),I=C.useRef(e),P=C.useRef(null),[j,W]=C.useState(!1),[F,G]=C.useState(!1),pe=C.useCallback(()=>G(!1),[]),B=C.useCallback(()=>{g.isDisabled||g.isLoading||e.length<1||(G(!0),setTimeout(()=>W(!0),0),setTimeout(()=>Og(E,w,e,d,h),0))},[w,g.isDisabled,g.isLoading,e,d,h]),q=C.useCallback(()=>{W(!1),G(!0),i==null||i()},[i]),V=C.useCallback(te=>{var ie;j?q():B(),setTimeout(()=>Og(E,w,e,d,h),0),(ie=g.onClick)==null||ie.call(g,te)},[w,g,e,j,q,B,d,h]),ee=C.useCallback(()=>{Og(E,w,e,d,h)},[w,e,d,h]);C.useEffect(()=>{if(!j||!w.current)return;const te=w.current;let ie=te.parentElement;for(;ie;)ie.addEventListener("scroll",ee),ie=ie.parentElement;return()=>{let ue=te.parentElement;for(;ue;)ue.removeEventListener("scroll",ee),ue=ue.parentElement}},[w,j,ee]),C.useEffect(()=>{if(j)return window.addEventListener("resize",ee),()=>window.removeEventListener("resize",ee)},[j,ee]);const ae=C.useCallback(te=>{te[0].intersectionRatio===0&&q()},[q]);C.useEffect(()=>{if(!j)return;const te=new IntersectionObserver(ae,{threshold:0});return w.current&&te.observe(w.current),()=>te.disconnect()},[w,j,ae]);const ne=C.useCallback(te=>{const ie=te.target,ue=w.current,xe=E.current;!ue||!ie||!xe||!ue.contains(ie)&&!xe.contains(ie)&&q()},[w,q]),oe=C.useMemo(()=>g.isDisabled||g.isLoading||e.length<1,[g.isDisabled,g.isLoading,e]);C.useEffect(()=>{if(j)return setTimeout(()=>document.addEventListener("mousedown",ne),0),()=>document.removeEventListener("mousedown",ne)},[j,ne]);const le=C.useCallback((te,ie)=>{te.stopPropagation(),te.preventDefault();let ue=[..._];ue.includes(ie)?ue=ue.filter(xe=>xe!==ie):ue.push(ie),A==null||A(ue)},[_,A]),ge=C.useCallback(()=>{if(!m||!w.current)return;const te=Iu.calculateOptimalSelectWidth({elementRef:w,options:e,selectedOptions:_,placeholder:o,optionRenderer:ie=>c({option:ie}),type:n,isMulti:!0});D(te)},[m,w,e,_,o,c,n]);return C.useEffect(()=>m?((e!==I.current||k===void 0)&&(P.current!==null&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(()=>{ge(),P.current=null,I.current=[...e]})),()=>{P.current!==null&&(cancelAnimationFrame(P.current),P.current=null)}):void 0,[m,e,ge,k]),C.useEffect(()=>()=>{typeof Iu.clearCache=="function"&&Iu.clearCache()},[]),S.jsxs(S.Fragment,{children:[S.jsxs(Zr,{...g,abaseRef:w,isDisabled:g.isDisabled||e.length<1,className:Ze.clsx(g.className,Ii.AMultiSelect,"NoSelect",j&&Ii.IsOpen,oe&&Ii.UnAvailable,Ii[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:k?`${k}px`:m?"100px":void 0,...g.style},onClick:V,children:[S.jsx("div",{className:Ii.ValuesContainer,children:S.jsx("div",{className:Ze.clsx(Ii.Values,_.length<1&&Ii.Placeholder),children:S.jsx(a,{OptionRenderer:c,placeholder:o,selectedOptions:_})})}),S.jsx("div",{...p,className:Ze.clsx(Ii.Arrow,p==null?void 0:p.className),children:S.jsx(ln,{icon:"TriangleDown",style:{transform:j?"rotate(180deg)":"",transition:"var(--Transition)"}})})]}),e.length>0&&(j||F)&&ks.createPortal(S.jsx("div",{ref:E,className:Ze.clsx(Ii.Options,Ii[n]),style:{opacity:+j,visibility:j?"visible":"hidden",pointerEvents:j?void 0:"none",width:k?`${k}px`:m?"100px":void 0,borderRadius:w.current?window.getComputedStyle(w.current).borderRadius:void 0},onTransitionEnd:pe,children:e.map((te,ie)=>{var xe;const ue=_.includes(te);return S.jsxs("div",{className:Ze.clsx(Ii.Option,ue&&Ii.Selected,"NoSelect",Ii[n]),style:{height:(xe=w.current)==null?void 0:xe.getBoundingClientRect().height},onClick:ke=>le(ke,te),children:[S.jsx(Yd,{className:Ii.CheckBox,useCheck:[+ue,void 0]}),S.jsx(c,{option:te})]},ie)})}),document.body)]})};function Og(r,e,t,n,o){if(!e.current||!r.current||!t||t.length<1)return;const i=e.current.getBoundingClientRect(),a=uR(i,t.length,n,o),c=window.getComputedStyle(e.current);r.current.style.top=`calc(${a.top??0}px - ${c.borderTopWidth})`,r.current.style.bottom=a.bottom?a.bottom+"px":"",r.current.style.left=a.left+"px",r.current.style.width||(r.current.style.minWidth=a.minWidth+"px"),r.current.style.minHeight=a.minHeight+"px",r.current.style.maxHeight=a.maxHeight+"px",r.current.style.visibility="visible"}function uR(r,e,t,n){const o={top:r.bottom,bottom:void 0,left:r.left,height:"fit-content",minWidth:r.width,minHeight:r.height*Math.min(t,e),maxHeight:r.height*n>window.innerHeight-r.bottom-10?window.innerHeight-r.bottom-10:r.height*n};return window.innerHeight-r.bottom-10<o.height&&(window.innerHeight-r.bottom-10<o.minHeight?(o.top=r.top-e*r.height,o.top<0&&(o.top=10,o.minHeight=r.top-10,o.height=r.top-10)):o.height=window.innerHeight-r.bottom-10),o}const dR=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?S.jsx(e,{option:t[0]}):`${t.length} selected`},fR=r=>{const{option:e}=r;return or.isReactNode(e)?e:null},hR="_Container_10ion_1",pR="_Steps_10ion_9",gR="_Step_10ion_9",mR="_OutCircle_10ion_26",vR="_IsOver_10ion_37",yR="_InCircle_10ion_41",bR="_Line_10ion_54",xR="_Left_10ion_66",wR="_Right_10ion_69",CR="_ContentContainer_10ion_73",SR="_Content_10ion_73",pi={Container:hR,Steps:pR,Step:gR,OutCircle:mR,IsOver:vR,InCircle:yR,Line:bR,Left:xR,Right:wR,ContentContainer:CR,Content:SR},_R=r=>{const{useSelect:e,steps:t,StepRenderer:n=$0,ContentRenderer:o=$0}=r;if(t.length===0)throw new Error("steps should have at least one element");const i=C.useRef(null),[a,c]=gn(e,t[0]),d=C.useCallback(p=>c==null?void 0:c(p),[c]),h=C.useMemo(()=>t.indexOf(a),[a,t]);return C.useEffect(()=>{h<0&&d(t[0])},[h,t,d]),S.jsxs("div",{className:pi.Container,children:[S.jsx("div",{className:pi.Steps,children:t.map((p,m)=>{const g=t.indexOf(p),v=h>=m,w=h>m;return S.jsxs("div",{className:pi.Step,children:[m!==0&&S.jsx("div",{className:Ze.clsx(pi.Line,pi.Left,v&&pi.IsOver)}),m!==t.length-1&&S.jsx("div",{className:Ze.clsx(pi.Line,pi.Right,w&&pi.IsOver)}),S.jsx(Zo,{className:Ze.clsx(pi.OutCircle,v&&pi.IsOver),type:"Raw",onClick:()=>d(p),children:S.jsx("div",{className:Ze.clsx(pi.InCircle,v&&pi.IsOver)})}),S.jsx(n,{step:p,stepIdx:g})]},m)})}),S.jsx("div",{ref:i,className:pi.ContentContainer,children:t.map((p,m)=>{const g=t.indexOf(p);return S.jsx("div",{className:pi.Content,style:m===0?{marginLeft:`${h*-100}%`}:{},children:S.jsx(o,{step:p,stepIdx:g})},m)})})]})},$0=r=>{const{step:e}=r;return typeof e=="object"?or.stringify(e):e},AR="_ATab_2c2d2_1",ER="_Option_2c2d2_9",TR="_Underline_2c2d2_23",kR="_IsSelected_2c2d2_23",RR="_IndicatorTrack_2c2d2_34",IR="_Indicator_2c2d2_34",MR="_Primary_2c2d2_50",LR="_Secondary_2c2d2_57",DR="_IsDisabled_2c2d2_67",OR="_Tertiary_2c2d2_81",NR="_Quaternary_2c2d2_111",_c={ATab:AR,Option:ER,Underline:TR,IsSelected:kR,IndicatorTrack:RR,Indicator:IR,Primary:MR,Secondary:LR,IsDisabled:DR,Tertiary:OR,Quaternary:NR},PR=["Primary","Secondary","Tertiary","Quaternary"],bw=r=>{const{options:e,useSelect:t,selectDisabled:n,type:o="Primary",tabProps:i,optionProps:a,optionWidth:c,OptionRenderer:d=BR,RightAddon:h,color:p,selectedColor:m,underline:g,indicatorProps:v,indicatorTrackProps:w}=r;if(e.length===0)throw new Error("options should have at least one element");const E=C.useMemo(()=>e.findIndex(ie=>!(n!=null&&n(ie))),[e,n]),_=o==="Tertiary"?2:0,A=o==="Secondary"?8:0,k=C.useMemo(()=>_+A,[_,A]),D=o==="Tertiary"?2:0,I=C.useMemo(()=>(A-_-D-D)/e.length,[e.length,_,A,D]),[P,j]=gn(t,e[E]),W=C.useRef([]),F=C.useCallback(ie=>j==null?void 0:j(ie),[j]),G=C.useMemo(()=>typeof c=="number"?c+"px":c,[c]),pe=C.useMemo(()=>e.indexOf(P),[e,P]),B=C.useMemo(()=>`calc(${100/e.length}% + ${I}px)`,[e.length,I]),q=C.useMemo(()=>G||`calc(${B} - ${k}px)`,[B,k,G]),[V,ee]=C.useState(0),[ae,ne]=C.useState(0),[oe,le]=C.useState(q),ge=C.useMemo(()=>{let ie;switch(G){case void 0:ie=`calc(${B} * ${pe})`;break;case"fit-content":ie=`calc(${V}px)`;break;default:ie=`calc((${G} + ${k}px) * ${pe})`;break}return`calc(${ie} + ${D}px)`},[G,D,B,pe,V,k]),te=C.useMemo(()=>{switch(G){case void 0:return;case"fit-content":return`calc(${ae}px)`;default:return`calc((${G} + ${k}px - ${I}px) * ${e.length})`}},[G,I,k,e,ae]);return C.useEffect(()=>{var ue,xe;if(e.includes(P)||j==null||j(e[E]),G!=="fit-content"){le(q);return}let ie=0;W.current.forEach((ke,se)=>{se<pe&&ke.current&&(ie+=ke.current.offsetWidth+k)}),ee(ie),le(`calc(${((xe=(ue=W.current[pe])==null?void 0:ue.current)==null?void 0:xe.offsetWidth)||0}px)`),ne(W.current.reduce((ke,se)=>{var Ae;return ke+((((Ae=se.current)==null?void 0:Ae.offsetWidth)||0)+k-I)},0))},[G,W,e,P,j,E,I,k,pe,q]),S.jsxs("div",{...i,className:Ze.clsx(_c.ATab,"Headline2",_c[o],i==null?void 0:i.className),children:[S.jsx("div",{...v,className:Ze.clsx(_c.Indicator,v==null?void 0:v.className),style:{minWidth:oe,left:ge,marginLeft:_,...v==null?void 0:v.style}}),S.jsx("div",{...w,className:Ze.clsx(_c.IndicatorTrack,w==null?void 0:w.className),style:{width:te,...w==null?void 0:w.style}}),S.jsx(kn,{w:D}),e.map((ie,ue)=>{const xe=n==null?void 0:n(ie);return W.current[ue]||(W.current[ue]=C.createRef()),S.jsx(Zr,{abaseRef:W.current[ue],...a,isDisabled:xe,className:Ze.clsx(_c.Option,xe&&_c.IsDiabled,ie===P&&_c.IsSelected,"IsClickable",g&&_c.Underline,a==null?void 0:a.className),style:{minWidth:q,maxWidth:q,marginLeft:_,marginRight:A,"--color":ie===P&&m||p,...a==null?void 0:a.style},onClick:ke=>{!xe&&F(ie),a&&a.onClick&&a.onClick(ke)},children:S.jsx(d,{option:ie})},ue)}),S.jsx(kn,{w:D+D+_}),h&&S.jsxs(S.Fragment,{children:[S.jsx(Fu,{}),h]})]})},BR=r=>{const{option:e}=r;if(typeof e=="string")return e;if(typeof e=="number")return e;if(typeof e=="object"){if(e===null)return"";const t=or.keys(e);return"name"in t?e.name:"label"in t?e.label:"value"in t?e.value:JSON.stringify(e)}else return JSON.stringify(e)};function xw(...r){const e=C.useRef(!1);C.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const ww={String:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;if(t==="")return or.keys(e).some(p=>{const m=e[p],g=Or.getContent(m.asText,{defKey:p,def:m,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(o.toLowerCase());const v=Or.getContent(m.content,{defKey:p,def:m,item:r});return["string","number"].includes(typeof v)&&v!==void 0&&v!==null?v.toString().toLowerCase().includes(o.toLowerCase()):!1});const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0)return d.toString().toLowerCase().includes(o.toLowerCase());const h=Or.getContent(c.content,{defKey:a,def:c,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?h.toString().toLowerCase().includes(o.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:o}=n;if(o==null)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0)return o.toString().toLowerCase()===d.toString().toLowerCase();const h=Or.getContent(c.content,{defKey:a,def:c,item:r});return["string","number"].includes(typeof h)&&h!==void 0&&h!==null?o.toString().toLowerCase()===h.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0){const p=Zt.toDate(d.toString());return p&&Zt.eq(p,o)}const h=Or.getContent(c.content,{defKey:a,def:c,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const p=Zt.toDate(h.toString());return p&&Zt.eq(p,o)}return!1},DateRange:(r,e,t,n)=>{const{value:o}=n;if(o===void 0)return!1;const i=or.keys(e),a=t;if(!i.includes(a))return!1;const c=e[a],d=Or.getContent(c.asText,{defKey:a,def:c,item:r});if(d!==void 0){const p=Zt.toDate(d.toString());return p&&Zt.be(o.sDate,p,o.eDate)}const h=Or.getContent(c.content,{defKey:a,def:c,item:r});if(["string","number"].includes(typeof h)&&h!==void 0&&h!==null){const p=Zt.toDate(h.toString());return p&&Zt.be(o.sDate,p,o.eDate)}return!1}},jR=(r,e,t)=>{let n=r;return or.keys(t).forEach(i=>{const a=t[i];a.value===void 0||a.value===null||a.value===""||(n=n.filter(c=>{var d;return(d=a.predicate??ww[a.type])==null?void 0:d(c,e,i,a)}))}),n},FR=(r,e,t)=>{if(!t)return r;const n=t.defKey,o=e[n];if(n===void 0)return r;const i=t.sortF??((a,c)=>{const d=Or.getContent(o.content,{defKey:n,def:o,item:a}),h=Or.getContent(o.content,{defKey:n,def:o,item:c});return typeof d=="string"&&typeof h=="string"?d<h?-1:d>h?1:0:typeof d=="number"&&typeof h=="number"?d-h:typeof d=="string"&&typeof h=="number"?-1:typeof d=="number"&&typeof h=="string"||d===void 0&&h!==void 0?1:d!==void 0&&h===void 0?-1:0});return typeof i=="function"&&i.length>=3?r.slice().sort((a,c)=>i(a,c,t.isAsc)):r.slice().sort((a,c)=>{const d=i(a,c);return t.isAsc?d:-d})},zR=(r,e,t)=>r.slice((e-1)*t,e*t),Cw=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,o)=>o+1)},$R=(r,e,t,n)=>{const o=Cw(e,t),i=Math.floor((r-1)/n),a=i*n+1,c=(i+1)*n,d=o.slice(a-1,c);return{pages:o,rangedPages:d}},HR=(r,e,t)=>{const n=[],o=Object.keys(t),i=[];o.forEach(g=>{const v=t[g],w=Or.getContent(v.hContent,{defKey:g,def:v});if(w!==void 0){if(typeof w=="string"){i.push(w);return}else if(typeof w=="number"){i.push(w.toString());return}}const E=Or.getContent(v.name,{defKey:g,def:v});if(E!==void 0&&typeof E=="string"){i.push(E);return}i.push(g)});const a=i.map(g=>`"${g.replaceAll('"','""')}"`);n.push(a.join(",")),e.forEach(g=>{const v=[];o.forEach(E=>{const _=t[E],A=Or.getContent(_.content,{defKey:E,def:_,item:g});if(A!==void 0){if(typeof A=="string"){v.push(A);return}else if(typeof A=="number"){v.push(A.toString());return}}const k=g[E];typeof k=="string"?v.push(k):typeof k=="number"?v.push(k.toString()):v.push("")});const w=v.map(E=>`"${E.replaceAll('"','""')}"`);n.push(w.join(","))});const c=`${r}.csv`,d="\uFEFF"+n.join(`
|
166
|
+
`),h=new Blob([d],{type:"text/csv;charset=UTF-8"}),p=URL.createObjectURL(h),m=document.createElement("a");m.href=p,m.download=c,m.click(),URL.revokeObjectURL(p)},qR=r=>{const e=or.keys(r);if(e.length!==1)return;const t=e[0];if(t!=="")return;const n=r[t];if(n.type==="String")return n.value},WR=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,o])=>{!o||o.value===void 0||o.value===null||o.value===""||(o.type==="DateRange"?(t[o.sFilterKey]=o.value.sDate,t[o.eFilterKey]=o.value.eDate):t[o.filterKey??n]=o.value)}),t},UR=r=>{const e=or.keys(r).filter(o=>o!=="");if(e.length!==1)return;const t=e[0],n=r[t];return!n||n.value===void 0||n.value===null||n.value===""?{selectedKey:t,value:void 0}:{selectedKey:t,value:n.value}},Il={applyFilteration:jR,applySortation:FR,applyPagination:zR,getPages:Cw,getRangedPages:$R,downloadCsv:HR,getSingleFilterValue:qR,getMultiFilterValues:WR,getSelectFilterValue:UR},VR="_ATable_12zow_1",GR={ATable:VR};function Sw(r,e,t,n){C.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const ZR="_BodyHeader_ys4y0_1",YR="_TRow_ys4y0_7",KR="_OverflowSpace_ys4y0_11",XR="_BodyBody_ys4y0_16",JR="_IsSelected_ys4y0_35",QR="_IsSelectable_ys4y0_39",e8="_IsRowMarked_ys4y0_47",t8="_TH_ys4y0_52",r8="_TD_ys4y0_57",n8="_IsMarked_ys4y0_57",o8="_Resizer_ys4y0_76",i8="_IsMoving_ys4y0_88",s8="_IsResizable_ys4y0_91",a8="_ResizerCenter_ys4y0_94",l8="_ResizerOut_ys4y0_100",c8="_ResizerIn_ys4y0_104",u8="_IsClicked_ys4y0_139",d8="_NoItems_ys4y0_146",f8="_Content_ys4y0_152",An={BodyHeader:ZR,TRow:YR,OverflowSpace:KR,BodyBody:XR,IsSelected:JR,IsSelectable:QR,IsRowMarked:e8,TH:t8,TD:r8,IsMarked:n8,Resizer:o8,IsMoving:i8,IsResizable:s8,ResizerCenter:a8,ResizerOut:l8,ResizerIn:c8,IsClicked:u8,NoItems:d8,Content:f8},Mc=25,Ng=50,h8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:o,isTableDisabled:i,isSelectMulti:a,selectDisabled:c,appliedFilteration:d,useSortation:h,pagination:p,pagedItems:m,noMarking:g,noDefHeader:v,isLoading:w,showRows:E,RowRenderer:_=m8,isRowRendered:A,rowHeight:k,resources:D}=r,[I,P]=C.useMemo(()=>o??[],[o]),j=C.useCallback(We=>{i||!P||!I||c!=null&&c(We)||(a?I.some(et=>t(et,We))?P(I.filter(et=>!t(et,We))):P([...I,We]):P([We]))},[I,c,P,t,i,a]);C.useEffect(()=>{a||!I||!P||I.length>1&&P([I[I.length-1]])},[I,P,a]),C.useEffect(()=>{if(!I||!P)return;I.filter(et=>c==null?void 0:c(et)).length>0&&P(I.filter(et=>!(c!=null&&c(et))))},[I,P,c]);const[W,F]=h,G=C.useCallback((We,et)=>{F&&((W==null?void 0:W.defKey)===We?W.isAsc===!0?F({defKey:We,isAsc:!1,sortF:et}):W.isAsc===!1?F(void 0):F({defKey:We,isAsc:!0,sortF:et}):F({defKey:We,isAsc:!0,sortF:et}))},[W,F]),[pe,B]=C.useState({elem:null,row:null}),q=C.useRef(null),V=C.useRef(null),ee=C.useCallback(()=>B({elem:q.current,row:V.current}),[]);C.useEffect(()=>ee(),[m.length,ee]),Sw(window,"resize",ee);const[ae,ne]=C.useState(k);C.useEffect(()=>{const{row:We}=pe;We!=null&&ne(We.clientHeight)},[pe,ae]);const oe=C.useMemo(()=>{const{elem:We}=pe;return We?Math.floor(We.clientHeight/ae):0},[pe,ae]),le=C.useMemo(()=>E||(m.length<=oe?oe:m.length),[oe,E,m]),ge=C.useMemo(()=>{if(E!==void 0)return E*ae},[E,ae]),te=C.useMemo(()=>ge,[ge]),ie=C.useMemo(()=>{const{elem:We}=pe;return We?We.getBoundingClientRect().height/ae<m.length:!1},[pe,ae,m.length]),[ue,xe]=C.useState(),ke=C.useMemo(()=>{const{elem:We}=pe;return!ue||!We?"100%":We.clientHeight+(A?0:50)},[ue,A,pe]),se=C.useRef(null),[Ae,De]=C.useState({}),Ge=C.useRef({x:0,y:0}),Ue=C.useRef({}),we=C.useMemo(()=>or.keys(Ae),[Ae]),Se=C.useCallback((We,et)=>{const st=se.current;if(!st)return;const ze=[];st.childNodes.forEach(dt=>{dt.classList.contains(An.TH)&&ze.push(dt)});const Ke={};or.keys(e).forEach((dt,St)=>{const Ve=ze[St];if(!Ve)return;const rt=Ve.getBoundingClientRect().width;Ke[dt]=rt}),Ue.current=Ke,xe(et),Ge.current={x:We.clientX,y:We.clientY};const bt=dt=>{if(!se.current)return;const Ve=dt.clientX-Ge.current.x,rt=g8(e,et,Ue.current,Ve);De(rt)};document.addEventListener("mousemove",bt);const ht=()=>{xe(void 0),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",ht)};document.addEventListener("mouseup",ht)},[e]),_e=C.useCallback(()=>{xe(void 0),De({})},[]),Re=C.useMemo(()=>{if(we.length===0){const st={},ze=or.keys(e);for(let Ke=0;Ke<ze.length;Ke++){const bt=ze[Ke],ht=e[bt],dt=Or.getContent(ht.colSpan,{defKey:bt,def:ht}),St=ht.width??80,Ve=ht.minWidth??Mc,rt=ht.maxWidth,vt={width:St,minWidth:Ve,maxWidth:rt,flexGrow:dt??1};if(st[bt]=vt,dt!==void 0){for(let Tt=1;Tt<Math.min(dt,ze.length-Ke);Tt++){const xt=e[ze[Ke+Tt]],Mt=xt.width??80,Vt=xt.minWidth??Mc,Ht=xt.maxWidth;vt.width+=Mt,vt.minWidth+=Vt,vt.maxWidth!==void 0&&(Ht!==void 0?vt.maxWidth+=Ht:vt.maxWidth=void 0)}Ke+=dt-1}}return st}const We={},et=or.keys(e);for(let st=0;st<et.length;st++){let ze=et[st];const Ke=e[ze];let bt=Ae[ze];const ht=Or.getContent(Ke.colSpan,{defKey:ze,def:Ke}),dt=Ke.minWidth??Mc,St=Ke.maxWidth,Ve={width:bt,minWidth:dt,maxWidth:St,flexGrow:ht??1};if(We[ze]=Ve,ht!==void 0){for(let rt=1;rt<Math.min(ht,et.length-st);rt++){const vt=e[et[st+rt]],Tt=Ae[et[st+rt]],xt=vt.minWidth??Mc,Mt=vt.maxWidth;Ve.width+=Tt,Ve.minWidth+=xt,Ve.maxWidth!==void 0&&(Mt!==void 0?Ve.maxWidth+=Mt:Ve.maxWidth=void 0)}st+=ht-1}}return We},[e,we,Ae]),Me=C.useRef(null),tt=C.useMemo(()=>Il.getSingleFilterValue(d),[d]);return C.useEffect(()=>{q.current&&q.current.scrollTo({top:0})},[p.page]),C.useEffect(()=>{A&&V.current&&V.current.scrollIntoView({behavior:"smooth",block:"center"})},[I,m,A]),S.jsxs(S.Fragment,{children:[S.jsx(U1,{isLoading:w}),S.jsx("div",{ref:Me,className:Ze.clsx(An.BodyHeader,ue!==void 0&&An.IsClicked),style:{display:v||A?"none":"flex"},onResizeCapture:ee,children:S.jsx("div",{ref:se,className:An.TRow,style:{minHeight:Ng,maxHeight:Ng},children:or.map(e,([We],et)=>{const st=e[We],ze=Or.getContent(st.hContent,{defKey:We,def:st}),Ke=st.name,bt=et===or.keys(e).length-1,ht=st.width??80,dt=st.minWidth??Mc,St=st.maxWidth,Ve={width:ht,minWidth:dt,maxWidth:St,justifyContent:Or.getContent(st.hAlign,{defKey:We,def:st})??"flex-start",...Or.getContent(st.hStyle,{defKey:We,def:st})};we.includes(We)&&(Ve.width=Ae[We]);const rt=st.isSortable,vt=(W==null?void 0:W.defKey)===We,Tt=W==null?void 0:W.isAsc;return S.jsxs(C.Fragment,{children:[S.jsxs("div",{className:Ze.clsx(An.TH,"Label1",rt?"IsClickable":"NoSelect"),style:Ve,onClick:()=>rt&&G(We,st.sortF),children:[S.jsx(Ya,{children:ze??Ke,className:An.Content}),rt&&S.jsx(ln,{icon:vt?Tt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!bt&&S.jsxs("div",{className:Ze.sclsx(An,"Resizer","IsResizable","NoSelect",ue!==void 0&&"IsMoving"),onDoubleClick:_e,onMouseDown:xt=>Se(xt,We),children:[S.jsx("div",{className:An.ResizerOut}),S.jsx("div",{className:An.ResizerIn}),S.jsx("div",{className:An.ResizerCenter,style:{height:ke}}),S.jsx("div",{className:An.ResizerIn}),S.jsx("div",{className:An.ResizerOut})]}),bt&&S.jsx(kn,{className:An.OverflowSpace,h:Ng,style:{color:Ve.color,backgroundColor:Ve.backgroundColor,transition:Ve.transition},w:"var(--Scrollbar-width)"})]},We)})})}),S.jsxs("div",{ref:q,className:Ze.clsx(An.BodyBody,ue!==void 0&&An.IsClicked),style:{overflowY:ie?"scroll":"hidden",minHeight:ge,maxHeight:te},children:[m.map((We,et)=>{const st=Or.getContent(n,{item:We}),ze=P&&!i,Ke=I==null?void 0:I.some(St=>t(St,We)),bt=I&&(c==null?void 0:c(We)),ht=typeof bt=="string"?bt:void 0,dt={...We};return A&&or.keys(e).forEach(St=>{const Ve=e[St],rt=Or.getContent(Ve.content,{defKey:St,def:Ve,item:We});let vt=!1;if(tt&&!g){const Tt=Or.getContent(Ve.asText,{defKey:St,def:Ve,item:We});Tt!==void 0?vt=Tt.toString().toLowerCase().includes(tt.toLowerCase()):["string","number"].includes(typeof rt)&&rt!==void 0&&rt!==null&&(vt=rt.toString().toLowerCase().includes(tt.toLowerCase()))}dt[St]=S.jsx("span",{className:Ze.clsx(vt&&An.IsRowMarked),children:dt[St]})}),S.jsx(Zr,{isDisabled:bt,tooltip:ht,...st,abaseRef:Ke?V:void 0,className:Ze.clsx(st==null?void 0:st.className,ze&&An.IsSelectable,Ke&&An.IsSelected),onClick:St=>{var Ve;j(We),(Ve=st==null?void 0:st.onClick)==null||Ve.call(st,St)},children:S.jsx(_,{defs:e,isBodyBodyOverflowed:ie,item:We,markedItem:dt,noMarking:g,rowHeight:k,singleFilterValue:tt,spanWidths:Re})},et)}),S.jsx(p8,{isRowRendered:A,itemsLength:m.length,resources:D,rowHeight:ae,showRows:le})]})]})},p8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:o,rowHeight:i}=r,a=C.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:a},(c,d)=>S.jsx("div",{className:Ze.clsx(An.TRow,"NoSelect"),style:{minHeight:i,maxHeight:i,...o&&{border:"none"}},children:t===0&&d===Math.floor(e/2)&&S.jsx(Tn,{className:An.NoItems,children:n["No Items"]})},d))};function g8(r,e,t,n){const o={...t},i=or.keys(r).findIndex(h=>h===e)+1,a=Object.entries(r);let c=i-1,d=i;if(n<0){for(;n<0&&!(c<0||d>=a.length);){const[h,p]=[a[c][0],a[c][1]],[m,g]=[a[d][0],a[d][1]],v=p.minWidth??Mc,w=g.maxWidth,E=o[h],_=o[m];let A=E-v;w!==void 0&&(A=Math.min(A,w-_));let k=-n;k=Math.min(k,A),E-k<=v&&c--,w!==void 0&&_+k>=w&&d++,o[h]=E-k,o[m]=_+k,n+=k}return o}else if(n>0){for(;n>0&&!(c<0||d>=a.length);){const[h,p]=[a[c][0],a[c][1]],[m,g]=[a[d][0],a[d][1]],v=g.minWidth??Mc,w=p.maxWidth,E=o[m],_=o[h];let A=E-v;w!==void 0&&(A=Math.min(A,w-_));let k=n;k=Math.min(k,A),E-k<=v&&d++,w!==void 0&&_+k>=w&&c--,o[m]=E-k,o[h]=_+k,n-=k}return o}return o}const m8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:o,singleFilterValue:i,isBodyBodyOverflowed:a,rowHeight:c}=r;return S.jsx("div",{className:Ze.clsx(An.TRow),style:{minHeight:c,maxHeight:c},children:or.map(e,([d],h)=>{const p=o[d];if(p===void 0)return null;const m=h===or.keys(e).length-1,g=e[d],v=Or.getContent(g.content,{defKey:d,def:g,item:t}),w={width:p.width,minWidth:p.minWidth,maxWidth:p.maxWidth,flexGrow:p.flexGrow,justifyContent:Or.getContent(g.align,{defKey:d,def:g,item:t})??"flex-start",...Or.getContent(g.style,{defKey:d,def:g,item:t})};let E=!1;if(i&&!n){const _=Or.getContent(g.asText,{defKey:d,def:g,item:t});_!==void 0?E=_.toString().toLowerCase().includes(i.toLowerCase()):["string","number"].includes(typeof v)&&v!==void 0&&v!==null&&(E=v.toString().toLowerCase().includes(i.toLowerCase()))}return S.jsxs(C.Fragment,{children:[S.jsx("div",{className:Ze.clsx(An.TD,"Label1",E&&An.IsMarked),style:w,children:S.jsx(Ya,{children:v,className:An.Content})}),!a&&m&&S.jsx(kn,{className:An.OverflowSpace,h:c,style:{color:w.color,backgroundColor:w.backgroundColor},w:"var(--Scrollbar-width)"})]},d)})})},v8="_ATableFooter_w090q_1",y8="_Button_w090q_10",b8="_IsSelected_w090q_26",x8="_IsDisabled_w090q_31",Qs={ATableFooter:v8,Button:y8,IsSelected:b8,IsDisabled:x8},w8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:o}=r,i=C.useMemo(()=>e[e.length-1],[e]);return S.jsxs(Tn,{className:Qs.ATableFooter,children:[S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===1&&Qs.IsDisabled),icon:"FirstPage",onClick:n.moveFirst}),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===1&&Qs.IsDisabled),icon:"NavigateBefore",onClick:n.movePrev}),t.map(a=>S.jsx("div",{className:Ze.clsx(Qs.Button,"NoSelect",o.page===a&&Qs.IsSelected),onClick:()=>n.move(a),children:a},a)),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===i&&Qs.IsDisabled),icon:"NavigateNext",onClick:n.moveNext}),S.jsx(ln,{className:Ze.clsx(Qs.Button,o.page===i&&Qs.IsDisabled),icon:"LastPage",onClick:n.moveLast})]})},C8="_Filter_1b9j0_1",S8="_SelectFilter_1b9j0_11",_8="_MainFilter_1b9j0_15",A8="_IsOpen_1b9j0_26",E8="_SubFilters_1b9j0_30",T8="_Input_1b9j0_44",k8="_Main_1b9j0_15",R8="_Sub_1b9j0_30",I8="_Actions_1b9j0_62",M8="_Icon_1b9j0_67",L8="_LeftIcon_1b9j0_74",D8="_CircleAlertOutline_1b9j0_79",O8="_Rotate_1b9j0_87",Mr={Filter:C8,SelectFilter:S8,MainFilter:_8,IsOpen:A8,SubFilters:E8,Input:T8,Main:k8,Sub:R8,Actions:I8,Icon:M8,LeftIcon:L8,CircleAlertOutline:D8,Rotate:O8},N8=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:o,isRowRendered:i,isFilterSort:a,filterType:c,resources:d,placeholder:h}=r,[p,m]=C.useState([]),[g,v]=C.useMemo(()=>t,[t]),w=C.useMemo(()=>c==="Select",[c]),E=C.useMemo(()=>or.keys(g).map(se=>String(se)),[g]),[_,A]=C.useState(w&&E.length>0?E[0]:null),k=C.useCallback((se,Ae,De)=>{if(!v)return;const Ge={...g};se.value=Ae,v(Ge),m(Ue=>Ue.map((we,Se)=>Se===(De?De+1:0)?"":we))},[g,v]),D=C.useMemo(()=>{let se=[],Ae=or.keys(g);w&&_&&(Ae=Ae.filter(De=>De===_));for(const De of Ae)se.push({key:De,def:e[De],filter:g[De]});return se},[g,e,w,_]),I=C.useMemo(()=>D.length>0?D[0]:null,[D]),P=C.useMemo(()=>p.length>0?p[0]:"",[p]),j=C.useMemo(()=>D.length>1?D.slice(1):[],[D]),W=C.useMemo(()=>p.length>1?p.slice(1):[],[p]),F=C.useMemo(()=>j.length>0,[j]),[G,pe]=C.useState(!1),[B,q]=C.useState(!1),V=C.useRef(null),ee=C.useCallback(()=>pe(!1),[]),ae=C.useRef(null),ne=C.useCallback(()=>{q(!1),pe(!0),ae.current&&(document.removeEventListener("mousedown",ae.current),ae.current=null)},[]),oe=C.useCallback(()=>{const se=Ae=>{const De=document.getElementById("root"),Ge=Ae.target,Ue=V.current;!De||!Ue||!Ge||!Ue.contains(Ge)&&De.contains(Ge)&&ne()};return ae.current=se,se},[ne]),le=C.useCallback(()=>{pe(!0),q(!0),setTimeout(()=>{const se=oe();document.addEventListener("mousedown",se)},0)},[oe]),ge=C.useMemo(()=>B?ne:le,[B,le,ne]),te=C.useCallback(()=>{const se=D.map((Ae,De)=>Ae.filter.type==="String"&&Ae.filter.validation?Ae.filter.validation(Ae.filter.value||""):Ae.filter.type==="Date"&&Ae.filter.validation||Ae.filter.type==="DateRange"&&Ae.filter.validation?Ae.filter.validation(Ae.filter.value):p[De]);return m(se),se.every(Ae=>!Ae)},[p,D]),ie=C.useCallback(se=>{se.key==="Enter"?(te()&&o.apply(),se.stopPropagation()):se.key==="Escape"&&(q(!1),se.currentTarget.focus(),se.currentTarget.blur(),se.stopPropagation())},[te,q,o]),ue=C.useMemo(()=>({open:le,close:ne,toggle:ge,validate:te}),[le,ne,ge,te]),xe=C.useCallback(()=>{o.clear()},[o]),ke=C.useCallback(se=>{if(!v||!se)return;A(se);const Ae={...g};or.keys(Ae).forEach(De=>{if(De!==se&&Ae[De])switch(Ae[De].type){case"String":Ae[De].value="";break;case"Select":Ae[De].value=null;break;case"Date":Ae[De].value=void 0;break;case"DateRange":Ae[De].value=void 0;break}}),m([]),v(Ae),o.clear(),setTimeout(()=>{var Ge;const De=(Ge=V.current)==null?void 0:Ge.querySelector("input");De&&De.focus()},0)},[g,v,m,o]);return I?S.jsxs(S.Fragment,{children:[w&&S.jsx(Hc,{isAutoWidth:!0,className:Ze.clsx(Mr.SelectFilter),options:E,type:"Secondary",useSelect:[_,ke],OptionRenderer:({option:se})=>{const Ae=e[se];let De;if(Ae!=null&&Ae.hContent){const Ge={defKey:se,def:Ae};De=typeof Ae.hContent=="function"?Ae.hContent(Ge):Ae.hContent}else{const Ge=g[se],Ue=(Ae==null?void 0:Ae.name)||(Ge==null?void 0:Ge.placeholder)||String(se);De=S.jsx("span",{children:Ue})}return De}}),S.jsxs("div",{ref:V,className:Ze.clsx(Mr.Filter),tabIndex:-1,style:{minWidth:i?a?180:void 0:180,maxWidth:i?a?300:void 0:300},onKeyDown:ie,onClick:se=>{se.preventDefault(),se.stopPropagation()},children:[S.jsx(P8,{errorMessage:P,filterF:o,filterSet:I,hasSelectFilterType:w,hasSubFilters:F,hasToggleFilteration:n,isOpen:B,placeholder:h,popupF:ue,resources:d,onChange:k}),!w&&S.jsx(B8,{errorMessages:W,filterF:o,isOpen:B,isTransitioning:G,placeholder:h,resources:d,subFilterSets:j,validate:te,onChange:k,onClearClick:xe,onTransitionEnd:ee})]})]}):null},P8=r=>{var g,v,w,E;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:o,filterF:i,hasSubFilters:a,popupF:c,isOpen:d,resources:h,errorMessage:p,placeholder:m}=r;if(e.filter.type==="String"){const _=[e.filter.value??"",I=>o(e.filter,I)],A=m??e.filter.placeholder??((g=e.def)==null?void 0:g.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"Type",isOpen:d,tooltip:D}),S.jsx($c,{autoFocus:e.filter.autoFocus,className:Ze.clsx(Mr.Input,Mr.Main),dataList:e.filter.dataList,LeftAddon:t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),maxLength:e.filter.maxLength,placeholder:A??h["Search(Placeholder)"],type:p?"Error":"Primary",useValue:_,wrapProps:{style:{width:"100%",boxSizing:"border-box"}},RightAddon:S.jsx(Wh,{errorMessage:p,filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}else if(e.filter.type==="Select"){const _=[e.filter.value??null,I=>{o(e.filter,I),n&&setTimeout(()=>{c.validate()&&i.apply()},0)}],A=m??e.filter.placeholder??((v=e.def)==null?void 0:v.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"Menu",isOpen:d,tooltip:D}),S.jsx(Hc,{className:Ze.clsx(Mr.Input,Mr.Main),OptionRenderer:e.filter.OptionRenderer,options:e.filter.options,placeholder:A,useSelect:_,SelectedRenderer:({OptionRenderer:I,selectedOption:P})=>P===null?A||e.filter.placeholder:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),S.jsx(I,{option:P}),S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,hideSearchButton:!0,isOpen:d,popupF:c,resources:h})]})})]})}else if(e.filter.type==="Date"){const _=[e.filter.value,I=>o(e.filter,I)],A=m??e.filter.placeholder??((w=e.def)==null?void 0:w.name),k=e.filter.icon,D=e.filter.iconTooltip??A;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:k??"CalendarDay",isOpen:d,tooltip:D}),S.jsx(q1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,placeholder:A,type:"Raw",useDate:_,LeftAddon:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),!t&&S.jsx(kn,{w:d?0:6}),S.jsx(Ha,{icon:k??"CalendarDay",isOpen:!d,tooltip:D}),S.jsx(kn,{w:d?8:0})]}),RightAddon:S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}else if(e.filter.type==="DateRange"){const _=[e.filter.value,P=>o(e.filter,P)],{noDefaultChoices:A}=e.filter,k=m??e.filter.placeholder??((E=e.def)==null?void 0:E.name),D=e.filter.icon,I=e.filter.iconTooltip??k;return S.jsxs("div",{className:Ze.clsx(Mr.MainFilter,d&&Mr.IsOpen),children:[S.jsx(Ha,{icon:D??"CalendarDay",isOpen:d,tooltip:I}),S.jsx($1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,noDefaultChoices:A,placeholder:k,type:"Raw",useDateRange:_,LeftAddon:S.jsxs(S.Fragment,{children:[t&&S.jsx(qh,{isOpen:d,filterF:i,popupF:c,resources:h}),!t&&S.jsx(kn,{w:d?0:6}),S.jsx(Ha,{icon:D??"CalendarDay",isOpen:!d,tooltip:I}),S.jsx(kn,{w:d?8:0})]}),RightAddon:S.jsx(Wh,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:d,popupF:c,resources:h})})]})}return null},qh=r=>{const{filterF:e,popupF:t,resources:n,isOpen:o}=r;return S.jsx(So,{className:Mr.Icon,icon:"Convert",style:{width:o?0:24,marginLeft:o?0:8},tooltip:n["Toggle Filter"],type:"Raw",onMouseDown:i=>i.currentTarget.classList.remove(Mr.Rotate),onClick:i=>{i.currentTarget.classList.add(Mr.Rotate),e.toggle(),t.close(),i.stopPropagation()}})},Wh=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:o,errorMessage:i,hideSearchButton:a,hasSelectFilterType:c,filterF:d}=r,h=C.useCallback(g=>{g.stopPropagation(),t.open()},[t]),p=C.useCallback(g=>{g.stopPropagation(),t.close()},[t]),m=C.useCallback(g=>{g.stopPropagation(),t.validate()&&d.apply()},[t,d]);return S.jsxs(C.Fragment,{children:[i&&S.jsx(So,{className:Mr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:i,type:"Raw"}),e&&!c&&S.jsx(So,{className:Mr.Icon,icon:"ListAdd",type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0},onClick:h}),e&&!c&&S.jsx(So,{className:Mr.Icon,icon:"ListRemove",type:"Raw",style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"},onClick:p}),!a&&S.jsx(So,{className:Mr.Icon,icon:"Search",tooltip:o["Search(Button)"],type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4},onClick:m})]})},B8=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,isOpen:o,isTransitioning:i,onTransitionEnd:a,resources:c,errorMessages:d,placeholder:h,filterF:p,validate:m}=r;return!o&&!i?null:S.jsxs("div",{className:Mr.SubFilters,style:{opacity:+o,visibility:+o?"visible":"hidden"},onTransitionEnd:a,children:[e.map((g,v)=>{var w,E,_,A;if(g.filter.type==="String"){const k=[g.filter.value??"",W=>t(g.filter,W,v)],D=d[v],I=h??g.filter.placeholder??((w=g.def)==null?void 0:w.name),P=g.filter.icon,j=g.filter.iconTooltip??I;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:P??"Type",tooltip:j}),S.jsx($c,{autoFocus:g.filter.autoFocus,className:Ze.clsx(Mr.Input,Mr.Sub),dataList:g.filter.dataList,maxLength:g.filter.maxLength,placeholder:I??c["Search(Placeholder)"],type:D?"Error":"Secondary",useValue:k,wrapProps:{style:{width:"100%"}},RightAddon:D&&S.jsx(So,{className:Mr.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:D,type:"Raw"})}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="Select"){const k=[g.filter.value??null,j=>t(g.filter,j)],D=h??g.filter.placeholder??((E=g.def)==null?void 0:E.name),I=g.filter.icon,P=g.filter.iconTooltip??D;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:I??"Menu",tooltip:P}),S.jsx(Hc,{arrowProps:{style:{marginRight:4}},className:Ze.clsx(Mr.Input,Mr.Sub),OptionRenderer:g.filter.OptionRenderer,options:g.filter.options,placeholder:D,type:"Secondary",useSelect:k}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="Date"){const k=[g.filter.value,j=>t(g.filter,j)],D=h??g.filter.placeholder??((_=g.def)==null?void 0:_.name),I=g.filter.icon,P=g.filter.iconTooltip??D;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:I??"CalendarDay",tooltip:P}),S.jsx(q1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Sub),LeftAddon:S.jsx(kn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,placeholder:D,type:"Raw",useDate:k}),S.jsx(kn,{h:8})]},v)}else if(g.filter.type==="DateRange"){const k=[g.filter.value,W=>t(g.filter,W)],{noDefaultChoices:D}=g.filter,I=h??g.filter.placeholder??((A=g.def)==null?void 0:A.name),P=g.filter.icon,j=g.filter.iconTooltip??I;return S.jsxs(Tn,{style:{marginBottom:6},children:[S.jsx(Ha,{icon:P??"CalendarDay",tooltip:j}),S.jsx($1,{className:Ze.clsx(Mr.DatePicker,Mr.Input,Mr.Sub),LeftAddon:S.jsx(kn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,noDefaultChoices:D,placeholder:I,type:"Raw",useDateRange:k})]},v)}else return null}),S.jsxs(Tn,{className:Mr.Actions,children:[S.jsx(Zo,{type:"Secondary",onClick:n,children:c["Clear(Button)"]}),S.jsx(Zo,{onClick:()=>{m()&&p.apply()},children:c["Search(Button)"]})]})]})},Ha=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return S.jsx(So,{className:Mr.LeftIcon,icon:e,tooltip:t,type:"Raw",style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},j8="_ATableHeader_1hzfz_1",F8="_LeftHeaderContent_1hzfz_11",z8="_RightHeaderContent_1hzfz_19",$8="_TopRightAddon_1hzfz_27",H8="_HItem_1hzfz_32",Tu={ATableHeader:j8,LeftHeaderContent:F8,RightHeaderContent:z8,TopRightAddon:$8,HItem:H8},q8=r=>{const{defs:e,title:t,totalCount:n,useCheck:o,useFilteration:i,hasToggleFilteration:a,filterF:c,noFilter:d,noCount:h,isFiltered:p,TopLeftAddon:m,TopRightAddon:g,useSortation:v,resources:w=vr.ATable,filterType:E,placeholder:_}=r,[A]=C.useMemo(()=>o||[],[o]),k=C.useMemo(()=>p?w["Searched n items"](n):w["Total n items"](n),[w,p,n]),[D]=i,[I,P]=v,[j,W]=C.useState(!1),F=C.useMemo(()=>{const oe=or.values(D).filter(te=>te.type==="DateRange"),le=or.keys(D).filter(te=>oe.includes(D[te])),ge=or.keys(e).filter(te=>e[te].isSortable);return le.length>0?(le.length>1&&W(!0),ge.map(ie=>le.includes(ie)?[ie+"_Asc",ie+"_Desc"]:ie).flat()):ge},[e,D]),G=C.useMemo(()=>r.isRowRendered&&F.length>0,[F.length,r.isRowRendered]),pe=C.useCallback((oe,le)=>{P&&(I==null?void 0:I.defKey)===oe&&(I.isAsc===!0?P({defKey:oe,isAsc:!1,sortF:le}):P({defKey:oe,isAsc:!0,sortF:le}))},[I,P]),B=C.useRef(),[q,V]=C.useState(),[ee,ae]=C.useState(I?I.defKey:F[0]),ne=C.useMemo(()=>{if(!q)return{};const oe=e[q];return{SortUp:{onClick:()=>{P==null||P({defKey:q,isAsc:!0,sortF:oe.sortF}),ae(q)},content:()=>w["Sort up"]},SortDown:{onClick:()=>{P==null||P({defKey:q,isAsc:!1,sortF:oe.sortF}),ae(q)},content:()=>w["Sort down"]}}},[P,q,e,w]);return S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:Ze.clsx(Tu.ATableHeader),children:[S.jsxs("div",{className:Ze.clsx(Tu.LeftHeaderContent,"NoSelect"),children:[S.jsxs(Tn,{style:{marginBottom:G?8:0},children:[m&&S.jsx("div",{className:Ze.clsx(Tu.HItem),children:m}),t&&S.jsx("div",{className:Ze.clsx(Tu.HItem),style:{whiteSpace:"nowrap"},children:t}),!h&&S.jsxs("div",{className:Ze.clsx(Tu.HItem),style:{maxHeight:14,...G&&{minHeight:14,color:"var(--label-neutral)"}},children:[k,A&&A.length>0&&S.jsxs(S.Fragment,{children:[" / ",w["Checked n items"](A.length)]})]})]}),G&&S.jsx(bw,{options:F,optionWidth:"fit-content",tabProps:{style:{marginRight:8}},type:"Tertiary",useSelect:[ee,()=>{}],optionProps:{style:{cursor:"default"},onClick:oe=>{var te;const le=oe.currentTarget.textContent;if(le===w[le])return;oe.currentTarget.querySelector("svg")===null&&((te=B.current)==null||te.open(oe.currentTarget))}},OptionRenderer:oe=>{const le=/_Asc|_Desc/.test(oe.option),ge=(I==null?void 0:I.defKey)===oe.option,te=ee===oe.option,ie=I==null?void 0:I.isAsc,ue=()=>{if(le){V(void 0),ae(oe.option);const[se,Ae]=oe.option.split("_"),De=Ae==="Asc";P==null||P({defKey:se,isAsc:De,sortF:e[se].sortF})}else te?pe(oe.option,e[oe.option].sortF):V(oe.option)},ke=le?(se=>{const[Ae,De]=se.split("_");return(j?Ae+" ":"")+w[De]})(oe.option):w["Sort by x"](oe.option);return S.jsxs(Tn,{className:Ze.clsx(!(le&&te)&&"IsClickable"),style:{height:"100%"},onClick:ue,children:[ke,te&&!le&&S.jsx(ln,{icon:ge?ie?"RowSortUp":"RowSortDown":"RowSortBoth",style:{marginRight:-5,marginLeft:4}})]},oe.option)}})]}),S.jsx(Fu,{}),S.jsxs("div",{className:Ze.clsx(Tu.RightHeaderContent,"NoSelect"),children:[!d&&S.jsx(N8,{defs:e,filterF:c,filterType:E,hasToggleFilteration:a,isFilterSort:F.length>0,isRowRendered:r.isRowRendered,placeholder:_,resources:w,useFilteration:i}),g&&S.jsx(Tn,{children:g,className:Ze.clsx(Tu.TopRightAddon)})]})]}),S.jsx(mw,{actionRef:B,defs:ne,position:sf.S,width:100,onClose:()=>V(void 0)})]})},W8=r=>{const{defs:e,pk:t,defaultDef:n,rProps:o,useSelect:i,isSelectMulti:a,selectDisabled:c,useCheck:d,checkDisabled:h,isLoading:p,isDisabled:m,title:g,entireItems:v,onStateChange:w,pagedItems:E,totalCount:_,useFilteration:A,useToggleFilteration:k,filterType:D="Default",placeholder:I,rowHeight:P=40,usePagination:j,useSortation:W,showRows:F,noHeader:G,noDefHeader:pe,noFooter:B,noFilter:q,noCount:V,noMarking:ee,noStateChangeOnMount:ae,TopLeftAddon:ne,TopRightAddon:oe,actionRef:le,RowRenderer:ge,resources:te}=r,ie=C.useMemo(()=>({...vr.ATable,...te}),[te]),ue=C.useCallback((me,Le)=>t!==void 0?Array.isArray(t)?t.every(ct=>qa.isEqual(me[ct],Le[ct])):qa.isEqual(me[t],Le[t]):qa.isEqual(me,Le),[t]),xe=C.useMemo(()=>({content:U8,...n}),[n]),ke=C.useMemo(()=>{const me={};return or.keys(e).forEach(Le=>{const ct=e[Le],It={...xe,...ct};me[Le]=It}),me},[xe,e]),[se,Ae]=gn(qa.cloneDeep(A),{"":{type:"String",placeholder:ie["Search(Placeholder)"],value:""}}),[De,Ge]=gn(qa.cloneDeep(k),void 0),[Ue,we]=C.useState(!1),[Se,_e]=C.useMemo(()=>Ue&&De?[De,Ge]:[se,Ae],[se,Ue,Ae,Ge,De]),[Re,Me]=C.useState(Se),tt=C.useMemo(()=>v?Il.applyFilteration(v,ke,Re):[],[v,ke,Re]),We=C.useMemo(()=>{for(const me in Re){const Le=Re[me];if(Le.value!==void 0&&Le.value!==null&&Le.value!=="")return!0}return!1},[Re]),[et,st]=gn(W,void 0),ze=C.useMemo(()=>Il.applySortation(tt,ke,et),[tt,ke,et]),Ke=C.useMemo(()=>{if(E!==void 0)return Il.applySortation(E,ke,et)},[E,ke,et]),[bt,ht]=gn(j,{page:1,pageSize:50,pageRange:10}),dt=C.useMemo(()=>({pageSize:50,page:1,pageRange:10,...bt}),[bt]),{pagedItems:St,totalCount:Ve,pagination:rt}=C.useMemo(()=>{const me={...dt};if(Ke!==void 0){let Le=_??Ke.length;const ct=Il.getPages(Le,me.pageSize);return me.page>ct.length?me.page=ct.length:me.page<1&&(me.page=1),{pagedItems:Ke,totalCount:Le,pagination:me}}else if(v!==void 0){const Le=_??ze.length,ct=Il.getPages(Le,me.pageSize);return me.page>ct.length?me.page=ct.length:me.page<1&&(me.page=1),{pagedItems:Il.applyPagination(ze,me.page,me.pageSize),totalCount:Le,pagination:me}}else return{pagedItems:[],totalCount:_??0,pagination:dt}},[v,Ke,_,dt,ze]),{pages:vt,rangedPages:Tt}=C.useMemo(()=>Il.getRangedPages(rt.page,Ve,rt.pageSize,rt.pageRange),[Ve,rt.pageSize,rt.page,rt.pageRange]),[xt,Mt]=C.useMemo(()=>d??[],[d]),Vt=C.useMemo(()=>St.filter(me=>xt==null?void 0:xt.some(Le=>ue(Le,me))),[St,xt,ue]),Ht=C.useMemo(()=>St.filter(me=>!(h!=null&&h(me))),[St,h]),hr=C.useMemo(()=>Ht.length>0&&Ht.every(me=>Vt.some(Le=>ue(Le,me))),[Vt,Ht,ue]),_r=C.useMemo(()=>hr?!1:Ht.some(me=>Vt.some(Le=>ue(Le,me))),[Vt,Ht,hr,ue]),yr=C.useCallback(()=>{!xt||!Mt||m||Mt(hr||_r?xt.filter(me=>!Ht.some(Le=>ue(Le,me))):[...xt,...Ht])},[xt,Mt,hr,_r,Ht,m,ue]),Ee=C.useCallback(me=>{!xt||!Mt||m||(xt.some(Le=>ue(Le,me))?Mt(xt.filter(Le=>!ue(Le,me))):Mt([...xt,me]))},[xt,Mt,m,ue]);C.useEffect(()=>{if(!Mt||!xt||!h)return;xt.filter(Le=>h(Le)).length>0&&Mt(xt.filter(Le=>!h(Le)))},[h,xt,Mt]);const de=C.useMemo(()=>({hContent:xt&&S.jsx(Yd,{isIndeterminate:_r,useCheck:[hr,yr]}),content:me=>{const{item:Le}=me,ct=h==null?void 0:h(Le),It=typeof ct=="string"?ct:void 0,Rt=xt==null?void 0:xt.some(Qt=>ue(Qt,Le));return S.jsx(Yd,{isDisabled:ct,style:{zIndex:1},tooltip:It,useCheck:[Rt,()=>Ee(Le)],onClick:Qt=>Qt.stopPropagation()})},minWidth:32,maxWidth:32}),[xt,hr,_r,ue,yr,h,Ee]),nt=C.useMemo(()=>d?{checkDef:de,...ke}:ke,[ke,de,d]),[qe,pt]=C.useState(!1),wt=C.useMemo(()=>p??qe,[p,qe]),_t=C.useCallback(async me=>{w&&(pt(!0),await w(me),pt(!1)),ht==null||ht(me.pagination),st==null||st(me.sortation),Me(me.filteration)},[w,ht,st]);C.useEffect(()=>{if(!le)return;const me=ct=>{const It={entireItems:v,filteration:Se,pagination:rt,sortation:et},Rt=ct?ct(It):It;_t(Rt)},Le=ct=>{const It={...rt,page:1},Rt=ct?ct(Se):Se;_t({entireItems:v,filteration:Rt,pagination:It,sortation:et}),_e==null||_e(Rt)};le.current={fireOnStateChange:me,applyFilteration:Le}},[le,_t,v,_e,Se,rt,et]);const jt=C.useCallback(me=>{me.page===rt.page&&me.pageSize===rt.pageSize||(me.page<1?me.page=1:me.page>vt[vt.length-1]&&(me.page=vt[vt.length-1]),_t({entireItems:v,filteration:Re,pagination:me,sortation:et}))},[rt,vt,_t,v,Re,et]),Ot=C.useCallback(me=>{_e&&_e(me)},[_e]),ir=C.useCallback(me=>{_t({entireItems:v,filteration:Re,pagination:rt,sortation:me})},[_t,v,Re,rt]),Ft=C.useCallback(me=>{jt({...rt,page:me})},[jt,rt]),nr=C.useCallback(()=>{Ft(rt.page-1)},[Ft,rt.page]),tr=C.useCallback(()=>{Ft(rt.page+1)},[Ft,rt.page]),it=C.useCallback(()=>{Ft(1)},[Ft]),lt=C.useCallback(()=>{Ft(vt[vt.length-1])},[Ft,vt]),At=C.useMemo(()=>({move:Ft,movePrev:nr,moveNext:tr,moveFirst:it,moveLast:lt}),[Ft,nr,tr,it,lt]),kt=C.useCallback(()=>{const me={...rt,page:1};_t({entireItems:v,filteration:Se,pagination:me,sortation:et})},[Se,rt,_t,v,et]),Lt=C.useCallback(()=>{we(!Ue)},[Ue]),qt=C.useCallback(()=>{Ue&&De?Ge==null||Ge(H0(De)):_e==null||_e(H0(se))},[Ue,De,Ge,se,_e]),rr=C.useMemo(()=>({apply:kt,toggle:Lt,clear:qt}),[kt,Lt,qt]);xw(()=>{ae||_t({entireItems:v,filteration:Se,pagination:rt,sortation:et})});const je=C.useMemo(()=>or.map(ke,([Le])=>ke[Le].minWidth??Mc).reduce((Le,ct)=>Le+ct,0),[ke]),Q=C.useMemo(()=>ge!==void 0,[ge]);return S.jsxs(Zr,{className:GR.ATable,isDisabled:m,style:{minWidth:je},children:[!G&&S.jsx(q8,{defs:ke,filterF:rr,filterType:D,hasToggleFilteration:De!==void 0,isFiltered:We,isRowRendered:Q,noCount:V,noFilter:q,placeholder:I,resources:ie,title:g,TopLeftAddon:ne,TopRightAddon:oe,totalCount:Ve,useCheck:d&&xt?[xt,Mt]:void 0,useFilteration:[Se,Ot],useSortation:[et,ir]}),S.jsx(h8,{appliedFilteration:Re,defs:nt,isEqual:ue,isLoading:wt,isRowRendered:Q,isSelectMulti:a,isTableDisabled:m,noDefHeader:pe,noMarking:ee,pagedItems:St,pagination:rt,resources:ie,rowHeight:P,RowRenderer:ge,rProps:o,selectDisabled:c,showRows:F,useSelect:i,useSortation:[et,ir]}),!B&&S.jsx(w8,{pageF:At,pages:vt,pagination:rt,rangedPages:Tt})]})},U8=r=>{const{defKey:e,item:t}=r;if(or.hasKey(t,e)){const n=t[e];return or.isReactNode(n)?n:null}else return null};function H0(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const V8="_AText_1asz6_1",G8={AText:V8},_w=r=>{const{text:e,styled:t,style:n}=r,o=C.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?S.jsx("b",{children:e}):S.jsx("span",{style:n,children:e});if(typeof t=="string"){const i=e.split(t);return n==="bold"?i.map((a,c)=>S.jsxs(C.Fragment,{children:[Uh(a),c<i.length-1?S.jsx("b",{children:Uh(t)}):""]},c)):i.map((a,c)=>S.jsxs(C.Fragment,{children:[Uh(a),c<i.length-1&&S.jsx("span",{style:n,children:Uh(t)})]},c))}}else return e;else return e;else return""},[e,n,t]);return S.jsx("div",{className:Ze.clsx("Body1Reading",G8.AText,"NoSelect"),children:o})};function Uh(r){const e=r.split(`
|
167
|
+
`);return e.map((t,n)=>S.jsxs(C.Fragment,{children:[t,n!==e.length-1&&S.jsx("br",{})]},n))}const Z8="_Base_cpm4t_7",Y8="_ATextArea_cpm4t_11",K8="_Primary_cpm4t_34",X8="_UnAvailable_cpm4t_39",J8="_Secondary_cpm4t_47",Q8="_ReadOnly_cpm4t_59",Vh={Base:Z8,ATextArea:Y8,Primary:K8,UnAvailable:X8,Secondary:J8,ReadOnly:Q8,Error:"_Error_cpm4t_66"},eI=["Primary","Secondary","ReadOnly","Error"],tI=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:o,useValue:i,rows:a,isReadonly:c,placeholder:d,maxLength:h,tabIndex:p,autoFocus:m,textAreaProps:g,wrapProps:v,helperText:w,label:E,wrapType:_,labelProps:A,...k}=r,D=C.useMemo(()=>rI(t)?"Error":n,[t,n]),I=C.useMemo(()=>D==="ReadOnly"?!0:c,[D,c]),P=C.useMemo(()=>k.isDisabled||k.isLoading,[k.isDisabled,k.isLoading]),[j,W]=gn(i,""),F=C.useCallback(B=>{W&&W(B)},[W]),G=C.useCallback(B=>{var q;P||(F(B.target.value),(q=g==null?void 0:g.onChange)==null||q.call(g,B))},[P,F,g]),pe=C.useCallback(B=>{var q;if(!P){if((q=g==null?void 0:g.onKeyDown)==null||q.call(g,B),B.key==="Tab"){const V=B.currentTarget.selectionStart,ee=B.currentTarget.selectionEnd;B.currentTarget.value=B.currentTarget.value.substring(0,V)+" "+B.currentTarget.value.substring(ee),B.currentTarget.selectionStart=B.currentTarget.selectionEnd=V+1,B.preventDefault()}else B.key==="Enter"&&(e==null||e(B.currentTarget.value),B.stopPropagation());B.key!=="Escape"&&B.stopPropagation()}},[P,e,g]);return S.jsx(zc,{wrapProps:v,label:E,helperText:w,errorMessage:t,labelProps:A,wrapType:_??D==="Error"?"Error":"Default",children:S.jsx(Zr,{...k,className:Ze.clsx(Vh.Base,k.className),children:S.jsx("textarea",{...g,ref:o,autoFocus:m,className:Ze.clsx(Vh.ATextArea,Vh[D],P&&Vh.UnAvailable,g==null?void 0:g.className),maxLength:h,placeholder:d,readOnly:I,rows:a,tabIndex:k.isDisabled||k.isLoading?-1:p,value:j,onChange:G,onKeyDown:pe})})})};function rI(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var Gh={exports:{}},Pg,q0;function nI(){if(q0)return Pg;q0=1;var r=-1,e=1,t=0;function n(B,q,V,ee,ae){if(B===q)return B?[[t,B]]:[];if(V!=null){var ne=G(B,q,V);if(ne)return ne}var oe=c(B,q),le=B.substring(0,oe);B=B.substring(oe),q=q.substring(oe),oe=h(B,q);var ge=B.substring(B.length-oe);B=B.substring(0,B.length-oe),q=q.substring(0,q.length-oe);var te=o(B,q);return le&&te.unshift([t,le]),ge&&te.push([t,ge]),k(te,ae),ee&&m(te),te}function o(B,q){var V;if(!B)return[[e,q]];if(!q)return[[r,B]];var ee=B.length>q.length?B:q,ae=B.length>q.length?q:B,ne=ee.indexOf(ae);if(ne!==-1)return V=[[e,ee.substring(0,ne)],[t,ae],[e,ee.substring(ne+ae.length)]],B.length>q.length&&(V[0][0]=V[2][0]=r),V;if(ae.length===1)return[[r,B],[e,q]];var oe=p(B,q);if(oe){var le=oe[0],ge=oe[1],te=oe[2],ie=oe[3],ue=oe[4],xe=n(le,te),ke=n(ge,ie);return xe.concat([[t,ue]],ke)}return i(B,q)}function i(B,q){for(var V=B.length,ee=q.length,ae=Math.ceil((V+ee)/2),ne=ae,oe=2*ae,le=new Array(oe),ge=new Array(oe),te=0;te<oe;te++)le[te]=-1,ge[te]=-1;le[ne+1]=0,ge[ne+1]=0;for(var ie=V-ee,ue=ie%2!==0,xe=0,ke=0,se=0,Ae=0,De=0;De<ae;De++){for(var Ge=-De+xe;Ge<=De-ke;Ge+=2){var Ue=ne+Ge,we;Ge===-De||Ge!==De&&le[Ue-1]<le[Ue+1]?we=le[Ue+1]:we=le[Ue-1]+1;for(var Se=we-Ge;we<V&&Se<ee&&B.charAt(we)===q.charAt(Se);)we++,Se++;if(le[Ue]=we,we>V)ke+=2;else if(Se>ee)xe+=2;else if(ue){var _e=ne+ie-Ge;if(_e>=0&&_e<oe&&ge[_e]!==-1){var Re=V-ge[_e];if(we>=Re)return a(B,q,we,Se)}}}for(var Me=-De+se;Me<=De-Ae;Me+=2){var _e=ne+Me,Re;Me===-De||Me!==De&&ge[_e-1]<ge[_e+1]?Re=ge[_e+1]:Re=ge[_e-1]+1;for(var tt=Re-Me;Re<V&&tt<ee&&B.charAt(V-Re-1)===q.charAt(ee-tt-1);)Re++,tt++;if(ge[_e]=Re,Re>V)Ae+=2;else if(tt>ee)se+=2;else if(!ue){var Ue=ne+ie-Me;if(Ue>=0&&Ue<oe&&le[Ue]!==-1){var we=le[Ue],Se=ne+we-Ue;if(Re=V-Re,we>=Re)return a(B,q,we,Se)}}}}return[[r,B],[e,q]]}function a(B,q,V,ee){var ae=B.substring(0,V),ne=q.substring(0,ee),oe=B.substring(V),le=q.substring(ee),ge=n(ae,ne),te=n(oe,le);return ge.concat(te)}function c(B,q){if(!B||!q||B.charAt(0)!==q.charAt(0))return 0;for(var V=0,ee=Math.min(B.length,q.length),ae=ee,ne=0;V<ae;)B.substring(ne,ae)==q.substring(ne,ae)?(V=ae,ne=V):ee=ae,ae=Math.floor((ee-V)/2+V);return D(B.charCodeAt(ae-1))&&ae--,ae}function d(B,q){var V=B.length,ee=q.length;if(V==0||ee==0)return 0;V>ee?B=B.substring(V-ee):V<ee&&(q=q.substring(0,V));var ae=Math.min(V,ee);if(B==q)return ae;for(var ne=0,oe=1;;){var le=B.substring(ae-oe),ge=q.indexOf(le);if(ge==-1)return ne;oe+=ge,(ge==0||B.substring(ae-oe)==q.substring(0,oe))&&(ne=oe,oe++)}}function h(B,q){if(!B||!q||B.slice(-1)!==q.slice(-1))return 0;for(var V=0,ee=Math.min(B.length,q.length),ae=ee,ne=0;V<ae;)B.substring(B.length-ae,B.length-ne)==q.substring(q.length-ae,q.length-ne)?(V=ae,ne=V):ee=ae,ae=Math.floor((ee-V)/2+V);return I(B.charCodeAt(B.length-ae))&&ae--,ae}function p(B,q){var V=B.length>q.length?B:q,ee=B.length>q.length?q:B;if(V.length<4||ee.length*2<V.length)return null;function ae(ke,se,Ae){for(var De=ke.substring(Ae,Ae+Math.floor(ke.length/4)),Ge=-1,Ue="",we,Se,_e,Re;(Ge=se.indexOf(De,Ge+1))!==-1;){var Me=c(ke.substring(Ae),se.substring(Ge)),tt=h(ke.substring(0,Ae),se.substring(0,Ge));Ue.length<tt+Me&&(Ue=se.substring(Ge-tt,Ge)+se.substring(Ge,Ge+Me),we=ke.substring(0,Ae-tt),Se=ke.substring(Ae+Me),_e=se.substring(0,Ge-tt),Re=se.substring(Ge+Me))}return Ue.length*2>=ke.length?[we,Se,_e,Re,Ue]:null}var ne=ae(V,ee,Math.ceil(V.length/4)),oe=ae(V,ee,Math.ceil(V.length/2)),le;if(!ne&&!oe)return null;oe?ne?le=ne[4].length>oe[4].length?ne:oe:le=oe:le=ne;var ge,te,ie,ue;B.length>q.length?(ge=le[0],te=le[1],ie=le[2],ue=le[3]):(ie=le[0],ue=le[1],ge=le[2],te=le[3]);var xe=le[4];return[ge,te,ie,ue,xe]}function m(B){for(var q=!1,V=[],ee=0,ae=null,ne=0,oe=0,le=0,ge=0,te=0;ne<B.length;)B[ne][0]==t?(V[ee++]=ne,oe=ge,le=te,ge=0,te=0,ae=B[ne][1]):(B[ne][0]==e?ge+=B[ne][1].length:te+=B[ne][1].length,ae&&ae.length<=Math.max(oe,le)&&ae.length<=Math.max(ge,te)&&(B.splice(V[ee-1],0,[r,ae]),B[V[ee-1]+1][0]=e,ee--,ee--,ne=ee>0?V[ee-1]:-1,oe=0,le=0,ge=0,te=0,ae=null,q=!0)),ne++;for(q&&k(B),A(B),ne=1;ne<B.length;){if(B[ne-1][0]==r&&B[ne][0]==e){var ie=B[ne-1][1],ue=B[ne][1],xe=d(ie,ue),ke=d(ue,ie);xe>=ke?(xe>=ie.length/2||xe>=ue.length/2)&&(B.splice(ne,0,[t,ue.substring(0,xe)]),B[ne-1][1]=ie.substring(0,ie.length-xe),B[ne+1][1]=ue.substring(xe),ne++):(ke>=ie.length/2||ke>=ue.length/2)&&(B.splice(ne,0,[t,ie.substring(0,ke)]),B[ne-1][0]=e,B[ne-1][1]=ue.substring(0,ue.length-ke),B[ne+1][0]=r,B[ne+1][1]=ie.substring(ke),ne++),ne++}ne++}}var g=/[^a-zA-Z0-9]/,v=/\s/,w=/[\r\n]/,E=/\n\r?\n$/,_=/^\r?\n\r?\n/;function A(B){function q(ke,se){if(!ke||!se)return 6;var Ae=ke.charAt(ke.length-1),De=se.charAt(0),Ge=Ae.match(g),Ue=De.match(g),we=Ge&&Ae.match(v),Se=Ue&&De.match(v),_e=we&&Ae.match(w),Re=Se&&De.match(w),Me=_e&&ke.match(E),tt=Re&&se.match(_);return Me||tt?5:_e||Re?4:Ge&&!we&&Se?3:we||Se?2:Ge||Ue?1:0}for(var V=1;V<B.length-1;){if(B[V-1][0]==t&&B[V+1][0]==t){var ee=B[V-1][1],ae=B[V][1],ne=B[V+1][1],oe=h(ee,ae);if(oe){var le=ae.substring(ae.length-oe);ee=ee.substring(0,ee.length-oe),ae=le+ae.substring(0,ae.length-oe),ne=le+ne}for(var ge=ee,te=ae,ie=ne,ue=q(ee,ae)+q(ae,ne);ae.charAt(0)===ne.charAt(0);){ee+=ae.charAt(0),ae=ae.substring(1)+ne.charAt(0),ne=ne.substring(1);var xe=q(ee,ae)+q(ae,ne);xe>=ue&&(ue=xe,ge=ee,te=ae,ie=ne)}B[V-1][1]!=ge&&(ge?B[V-1][1]=ge:(B.splice(V-1,1),V--),B[V][1]=te,ie?B[V+1][1]=ie:(B.splice(V+1,1),V--))}V++}}function k(B,q){B.push([t,""]);for(var V=0,ee=0,ae=0,ne="",oe="",le;V<B.length;){if(V<B.length-1&&!B[V][1]){B.splice(V,1);continue}switch(B[V][0]){case e:ae++,oe+=B[V][1],V++;break;case r:ee++,ne+=B[V][1],V++;break;case t:var ge=V-ae-ee-1;if(q){if(ge>=0&&j(B[ge][1])){var te=B[ge][1].slice(-1);if(B[ge][1]=B[ge][1].slice(0,-1),ne=te+ne,oe=te+oe,!B[ge][1]){B.splice(ge,1),V--;var ie=ge-1;B[ie]&&B[ie][0]===e&&(ae++,oe=B[ie][1]+oe,ie--),B[ie]&&B[ie][0]===r&&(ee++,ne=B[ie][1]+ne,ie--),ge=ie}}if(P(B[V][1])){var te=B[V][1].charAt(0);B[V][1]=B[V][1].slice(1),ne+=te,oe+=te}}if(V<B.length-1&&!B[V][1]){B.splice(V,1);break}if(ne.length>0||oe.length>0){ne.length>0&&oe.length>0&&(le=c(oe,ne),le!==0&&(ge>=0?B[ge][1]+=oe.substring(0,le):(B.splice(0,0,[t,oe.substring(0,le)]),V++),oe=oe.substring(le),ne=ne.substring(le)),le=h(oe,ne),le!==0&&(B[V][1]=oe.substring(oe.length-le)+B[V][1],oe=oe.substring(0,oe.length-le),ne=ne.substring(0,ne.length-le)));var ue=ae+ee;ne.length===0&&oe.length===0?(B.splice(V-ue,ue),V=V-ue):ne.length===0?(B.splice(V-ue,ue,[e,oe]),V=V-ue+1):oe.length===0?(B.splice(V-ue,ue,[r,ne]),V=V-ue+1):(B.splice(V-ue,ue,[r,ne],[e,oe]),V=V-ue+2)}V!==0&&B[V-1][0]===t?(B[V-1][1]+=B[V][1],B.splice(V,1)):V++,ae=0,ee=0,ne="",oe="";break}}B[B.length-1][1]===""&&B.pop();var xe=!1;for(V=1;V<B.length-1;)B[V-1][0]===t&&B[V+1][0]===t&&(B[V][1].substring(B[V][1].length-B[V-1][1].length)===B[V-1][1]?(B[V][1]=B[V-1][1]+B[V][1].substring(0,B[V][1].length-B[V-1][1].length),B[V+1][1]=B[V-1][1]+B[V+1][1],B.splice(V-1,1),xe=!0):B[V][1].substring(0,B[V+1][1].length)==B[V+1][1]&&(B[V-1][1]+=B[V+1][1],B[V][1]=B[V][1].substring(B[V+1][1].length)+B[V+1][1],B.splice(V+1,1),xe=!0)),V++;xe&&k(B,q)}function D(B){return B>=55296&&B<=56319}function I(B){return B>=56320&&B<=57343}function P(B){return I(B.charCodeAt(0))}function j(B){return D(B.charCodeAt(B.length-1))}function W(B){for(var q=[],V=0;V<B.length;V++)B[V][1].length>0&&q.push(B[V]);return q}function F(B,q,V,ee){return j(B)||P(ee)?null:W([[t,B],[r,q],[e,V],[t,ee]])}function G(B,q,V){var ee=typeof V=="number"?{index:V,length:0}:V.oldRange,ae=typeof V=="number"?null:V.newRange,ne=B.length,oe=q.length;if(ee.length===0&&(ae===null||ae.length===0)){var le=ee.index,ge=B.slice(0,le),te=B.slice(le),ie=ae?ae.index:null;e:{var ue=le+oe-ne;if(ie!==null&&ie!==ue||ue<0||ue>oe)break e;var xe=q.slice(0,ue),ke=q.slice(ue);if(ke!==te)break e;var se=Math.min(le,ue),Ae=ge.slice(0,se),De=xe.slice(0,se);if(Ae!==De)break e;var Ge=ge.slice(se),Ue=xe.slice(se);return F(Ae,Ge,Ue,te)}e:{if(ie!==null&&ie!==le)break e;var we=le,xe=q.slice(0,we),ke=q.slice(we);if(xe!==ge)break e;var Se=Math.min(ne-we,oe-we),_e=te.slice(te.length-Se),Re=ke.slice(ke.length-Se);if(_e!==Re)break e;var Ge=te.slice(0,te.length-Se),Ue=ke.slice(0,ke.length-Se);return F(ge,Ge,Ue,_e)}}if(ee.length>0&&ae&&ae.length===0)e:{var Ae=B.slice(0,ee.index),_e=B.slice(ee.index+ee.length),se=Ae.length,Se=_e.length;if(oe<se+Se)break e;var De=q.slice(0,se),Re=q.slice(oe-Se);if(Ae!==De||_e!==Re)break e;var Ge=B.slice(se,ne-Se),Ue=q.slice(se,oe-Se);return F(Ae,Ge,Ue,_e)}return null}function pe(B,q,V,ee){return n(B,q,V,ee,!0)}return pe.INSERT=e,pe.DELETE=r,pe.EQUAL=t,Pg=pe,Pg}var Hf={exports:{}};Hf.exports;var W0;function Aw(){return W0||(W0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",w="[object Object]",E="[object Promise]",_="[object RegExp]",A="[object Set]",k="[object String]",D="[object Symbol]",I="[object WeakMap]",P="[object ArrayBuffer]",j="[object DataView]",W="[object Float32Array]",F="[object Float64Array]",G="[object Int8Array]",pe="[object Int16Array]",B="[object Int32Array]",q="[object Uint8Array]",V="[object Uint8ClampedArray]",ee="[object Uint16Array]",ae="[object Uint32Array]",ne=/[\\^$.*+?()[\]{}|]/g,oe=/\w*$/,le=/^\[object .+?Constructor\]$/,ge=/^(?:0|[1-9]\d*)$/,te={};te[i]=te[a]=te[P]=te[j]=te[c]=te[d]=te[W]=te[F]=te[G]=te[pe]=te[B]=te[g]=te[v]=te[w]=te[_]=te[A]=te[k]=te[D]=te[q]=te[V]=te[ee]=te[ae]=!0,te[h]=te[p]=te[I]=!1;var ie=typeof Li=="object"&&Li&&Li.Object===Object&&Li,ue=typeof self=="object"&&self&&self.Object===Object&&self,xe=ie||ue||Function("return this")(),ke=e&&!e.nodeType&&e,se=ke&&!0&&r&&!r.nodeType&&r,Ae=se&&se.exports===ke;function De(O,J){return O.set(J[0],J[1]),O}function Ge(O,J){return O.add(J),O}function Ue(O,J){for(var be=-1,Je=O?O.length:0;++be<Je&&J(O[be],be,O)!==!1;);return O}function we(O,J){for(var be=-1,Je=J.length,Jt=O.length;++be<Je;)O[Jt+be]=J[be];return O}function Se(O,J,be,Je){for(var Jt=-1,Ut=O?O.length:0;++Jt<Ut;)be=J(be,O[Jt],Jt,O);return be}function _e(O,J){for(var be=-1,Je=Array(O);++be<O;)Je[be]=J(be);return Je}function Re(O,J){return O==null?void 0:O[J]}function Me(O){var J=!1;if(O!=null&&typeof O.toString!="function")try{J=!!(O+"")}catch{}return J}function tt(O){var J=-1,be=Array(O.size);return O.forEach(function(Je,Jt){be[++J]=[Jt,Je]}),be}function We(O,J){return function(be){return O(J(be))}}function et(O){var J=-1,be=Array(O.size);return O.forEach(function(Je){be[++J]=Je}),be}var st=Array.prototype,ze=Function.prototype,Ke=Object.prototype,bt=xe["__core-js_shared__"],ht=function(){var O=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),dt=ze.toString,St=Ke.hasOwnProperty,Ve=Ke.toString,rt=RegExp("^"+dt.call(St).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Ae?xe.Buffer:void 0,Tt=xe.Symbol,xt=xe.Uint8Array,Mt=We(Object.getPrototypeOf,Object),Vt=Object.create,Ht=Ke.propertyIsEnumerable,hr=st.splice,_r=Object.getOwnPropertySymbols,yr=vt?vt.isBuffer:void 0,Ee=We(Object.keys,Object),de=Nt(xe,"DataView"),nt=Nt(xe,"Map"),qe=Nt(xe,"Promise"),pt=Nt(xe,"Set"),wt=Nt(xe,"WeakMap"),_t=Nt(Object,"create"),jt=rn(de),Ot=rn(nt),ir=rn(qe),Ft=rn(pt),nr=rn(wt),tr=Tt?Tt.prototype:void 0,it=tr?tr.valueOf:void 0;function lt(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function At(){this.__data__=_t?_t(null):{}}function kt(O){return this.has(O)&&delete this.__data__[O]}function Lt(O){var J=this.__data__;if(_t){var be=J[O];return be===n?void 0:be}return St.call(J,O)?J[O]:void 0}function qt(O){var J=this.__data__;return _t?J[O]!==void 0:St.call(J,O)}function rr(O,J){var be=this.__data__;return be[O]=_t&&J===void 0?n:J,this}lt.prototype.clear=At,lt.prototype.delete=kt,lt.prototype.get=Lt,lt.prototype.has=qt,lt.prototype.set=rr;function je(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Q(){this.__data__=[]}function me(O){var J=this.__data__,be=ro(J,O);if(be<0)return!1;var Je=J.length-1;return be==Je?J.pop():hr.call(J,be,1),!0}function Le(O){var J=this.__data__,be=ro(J,O);return be<0?void 0:J[be][1]}function ct(O){return ro(this.__data__,O)>-1}function It(O,J){var be=this.__data__,Je=ro(be,O);return Je<0?be.push([O,J]):be[Je][1]=J,this}je.prototype.clear=Q,je.prototype.delete=me,je.prototype.get=Le,je.prototype.has=ct,je.prototype.set=It;function Rt(O){var J=-1,be=O?O.length:0;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Qt(){this.__data__={hash:new lt,map:new(nt||je),string:new lt}}function Kt(O){return yt(this,O).delete(O)}function br(O){return yt(this,O).get(O)}function pr(O){return yt(this,O).has(O)}function Tr(O,J){return yt(this,O).set(O,J),this}Rt.prototype.clear=Qt,Rt.prototype.delete=Kt,Rt.prototype.get=br,Rt.prototype.has=pr,Rt.prototype.set=Tr;function ur(O){this.__data__=new je(O)}function Rn(){this.__data__=new je}function Fn(O){return this.__data__.delete(O)}function Br(O){return this.__data__.get(O)}function Ur(O){return this.__data__.has(O)}function zn(O,J){var be=this.__data__;if(be instanceof je){var Je=be.__data__;if(!nt||Je.length<t-1)return Je.push([O,J]),this;be=this.__data__=new Rt(Je)}return be.set(O,J),this}ur.prototype.clear=Rn,ur.prototype.delete=Fn,ur.prototype.get=Br,ur.prototype.has=Ur,ur.prototype.set=zn;function wn(O,J){var be=Oi(O)||oo(O)?_e(O.length,String):[],Je=be.length,Jt=!!Je;for(var Ut in O)St.call(O,Ut)&&!(Jt&&(Ut=="length"||Sn(Ut,Je)))&&be.push(Ut);return be}function to(O,J,be){var Je=O[J];(!(St.call(O,J)&&Gn(Je,be))||be===void 0&&!(J in O))&&(O[J]=be)}function ro(O,J){for(var be=O.length;be--;)if(Gn(O[be][0],J))return be;return-1}function cn(O,J){return O&&Fe(J,Pr(J),O)}function $n(O,J,be,Je,Jt,Ut,xr){var Er;if(Je&&(Er=Ut?Je(O,Jt,Ut,xr):Je(O)),Er!==void 0)return Er;if(!so(O))return O;var gr=Oi(O);if(gr){if(Er=Ar(O),!J)return fe(O,Er)}else{var Rr=zt(O),nn=Rr==p||Rr==m;if(Dn(O))return Mn(O,J);if(Rr==w||Rr==i||nn&&!Ut){if(Me(O))return Ut?O:{};if(Er=Jr(nn?{}:O),!J)return Ne(O,cn(Er,O))}else{if(!te[Rr])return Ut?O:{};Er=Cn(O,Rr,$n,J)}}xr||(xr=new ur);var On=xr.get(O);if(On)return On;if(xr.set(O,Er),!gr)var Kr=be?Xe(O):Pr(O);return Ue(Kr||O,function($r,on){Kr&&(on=$r,$r=O[on]),to(Er,on,$n($r,J,be,Je,on,O,xr))}),Er}function In(O){return so(O)?Vt(O):{}}function _o(O,J,be){var Je=J(O);return Oi(O)?Je:we(Je,be(O))}function Oo(O){return Ve.call(O)}function No(O){if(!so(O)||Vn(O))return!1;var J=Ni(O)||Me(O)?rt:le;return J.test(rn(O))}function Ln(O){if(!Po(O))return Ee(O);var J=[];for(var be in Object(O))St.call(O,be)&&be!="constructor"&&J.push(be);return J}function Mn(O,J){if(J)return O.slice();var be=new O.constructor(O.length);return O.copy(be),be}function mn(O){var J=new O.constructor(O.byteLength);return new xt(J).set(new xt(O)),J}function no(O,J){var be=J?mn(O.buffer):O.buffer;return new O.constructor(be,O.byteOffset,O.byteLength)}function un(O,J,be){var Je=J?be(tt(O),!0):tt(O);return Se(Je,De,new O.constructor)}function yn(O){var J=new O.constructor(O.source,oe.exec(O));return J.lastIndex=O.lastIndex,J}function R(O,J,be){var Je=J?be(et(O),!0):et(O);return Se(Je,Ge,new O.constructor)}function $(O){return it?Object(it.call(O)):{}}function X(O,J){var be=J?mn(O.buffer):O.buffer;return new O.constructor(be,O.byteOffset,O.length)}function fe(O,J){var be=-1,Je=O.length;for(J||(J=Array(Je));++be<Je;)J[be]=O[be];return J}function Fe(O,J,be,Je){be||(be={});for(var Jt=-1,Ut=J.length;++Jt<Ut;){var xr=J[Jt],Er=void 0;to(be,xr,Er===void 0?O[xr]:Er)}return be}function Ne(O,J){return Fe(O,$t(O),J)}function Xe(O){return _o(O,Pr,$t)}function yt(O,J){var be=O.__data__;return fo(J)?be[typeof J=="string"?"string":"hash"]:be.map}function Nt(O,J){var be=Re(O,J);return No(be)?be:void 0}var $t=_r?We(_r,Object):kr,zt=Oo;(de&&zt(new de(new ArrayBuffer(1)))!=j||nt&&zt(new nt)!=g||qe&&zt(qe.resolve())!=E||pt&&zt(new pt)!=A||wt&&zt(new wt)!=I)&&(zt=function(O){var J=Ve.call(O),be=J==w?O.constructor:void 0,Je=be?rn(be):void 0;if(Je)switch(Je){case jt:return j;case Ot:return g;case ir:return E;case Ft:return A;case nr:return I}return J});function Ar(O){var J=O.length,be=O.constructor(J);return J&&typeof O[0]=="string"&&St.call(O,"index")&&(be.index=O.index,be.input=O.input),be}function Jr(O){return typeof O.constructor=="function"&&!Po(O)?In(Mt(O)):{}}function Cn(O,J,be,Je){var Jt=O.constructor;switch(J){case P:return mn(O);case c:case d:return new Jt(+O);case j:return no(O,Je);case W:case F:case G:case pe:case B:case q:case V:case ee:case ae:return X(O,Je);case g:return un(O,Je,be);case v:case k:return new Jt(O);case _:return yn(O);case A:return R(O,Je,be);case D:return $(O)}}function Sn(O,J){return J=J??o,!!J&&(typeof O=="number"||ge.test(O))&&O>-1&&O%1==0&&O<J}function fo(O){var J=typeof O;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?O!=="__proto__":O===null}function Vn(O){return!!ht&&ht in O}function Po(O){var J=O&&O.constructor,be=typeof J=="function"&&J.prototype||Ke;return O===be}function rn(O){if(O!=null){try{return dt.call(O)}catch{}try{return O+""}catch{}}return""}function Ao(O){return $n(O,!0,!0)}function Gn(O,J){return O===J||O!==O&&J!==J}function oo(O){return yi(O)&&St.call(O,"callee")&&(!Ht.call(O,"callee")||Ve.call(O)==i)}var Oi=Array.isArray;function vi(O){return O!=null&&io(O.length)&&!Ni(O)}function yi(O){return ni(O)&&vi(O)}var Dn=yr||Nr;function Ni(O){var J=so(O)?Ve.call(O):"";return J==p||J==m}function io(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=o}function so(O){var J=typeof O;return!!O&&(J=="object"||J=="function")}function ni(O){return!!O&&typeof O=="object"}function Pr(O){return vi(O)?wn(O):Ln(O)}function kr(){return[]}function Nr(){return!1}r.exports=Ao}(Hf,Hf.exports)),Hf.exports}var qf={exports:{}};qf.exports;var U0;function Ew(){return U0||(U0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,c="[object Arguments]",d="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",m="[object Date]",g="[object Error]",v="[object Function]",w="[object GeneratorFunction]",E="[object Map]",_="[object Number]",A="[object Null]",k="[object Object]",D="[object Promise]",I="[object Proxy]",P="[object RegExp]",j="[object Set]",W="[object String]",F="[object Symbol]",G="[object Undefined]",pe="[object WeakMap]",B="[object ArrayBuffer]",q="[object DataView]",V="[object Float32Array]",ee="[object Float64Array]",ae="[object Int8Array]",ne="[object Int16Array]",oe="[object Int32Array]",le="[object Uint8Array]",ge="[object Uint8ClampedArray]",te="[object Uint16Array]",ie="[object Uint32Array]",ue=/[\\^$.*+?()[\]{}|]/g,xe=/^\[object .+?Constructor\]$/,ke=/^(?:0|[1-9]\d*)$/,se={};se[V]=se[ee]=se[ae]=se[ne]=se[oe]=se[le]=se[ge]=se[te]=se[ie]=!0,se[c]=se[d]=se[B]=se[p]=se[q]=se[m]=se[g]=se[v]=se[E]=se[_]=se[k]=se[P]=se[j]=se[W]=se[pe]=!1;var Ae=typeof Li=="object"&&Li&&Li.Object===Object&&Li,De=typeof self=="object"&&self&&self.Object===Object&&self,Ge=Ae||De||Function("return this")(),Ue=e&&!e.nodeType&&e,we=Ue&&!0&&r&&!r.nodeType&&r,Se=we&&we.exports===Ue,_e=Se&&Ae.process,Re=function(){try{return _e&&_e.binding&&_e.binding("util")}catch{}}(),Me=Re&&Re.isTypedArray;function tt(O,J){for(var be=-1,Je=O==null?0:O.length,Jt=0,Ut=[];++be<Je;){var xr=O[be];J(xr,be,O)&&(Ut[Jt++]=xr)}return Ut}function We(O,J){for(var be=-1,Je=J.length,Jt=O.length;++be<Je;)O[Jt+be]=J[be];return O}function et(O,J){for(var be=-1,Je=O==null?0:O.length;++be<Je;)if(J(O[be],be,O))return!0;return!1}function st(O,J){for(var be=-1,Je=Array(O);++be<O;)Je[be]=J(be);return Je}function ze(O){return function(J){return O(J)}}function Ke(O,J){return O.has(J)}function bt(O,J){return O==null?void 0:O[J]}function ht(O){var J=-1,be=Array(O.size);return O.forEach(function(Je,Jt){be[++J]=[Jt,Je]}),be}function dt(O,J){return function(be){return O(J(be))}}function St(O){var J=-1,be=Array(O.size);return O.forEach(function(Je){be[++J]=Je}),be}var Ve=Array.prototype,rt=Function.prototype,vt=Object.prototype,Tt=Ge["__core-js_shared__"],xt=rt.toString,Mt=vt.hasOwnProperty,Vt=function(){var O=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),Ht=vt.toString,hr=RegExp("^"+xt.call(Mt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_r=Se?Ge.Buffer:void 0,yr=Ge.Symbol,Ee=Ge.Uint8Array,de=vt.propertyIsEnumerable,nt=Ve.splice,qe=yr?yr.toStringTag:void 0,pt=Object.getOwnPropertySymbols,wt=_r?_r.isBuffer:void 0,_t=dt(Object.keys,Object),jt=$t(Ge,"DataView"),Ot=$t(Ge,"Map"),ir=$t(Ge,"Promise"),Ft=$t(Ge,"Set"),nr=$t(Ge,"WeakMap"),tr=$t(Object,"create"),it=rn(jt),lt=rn(Ot),At=rn(ir),kt=rn(Ft),Lt=rn(nr),qt=yr?yr.prototype:void 0,rr=qt?qt.valueOf:void 0;function je(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Q(){this.__data__=tr?tr(null):{},this.size=0}function me(O){var J=this.has(O)&&delete this.__data__[O];return this.size-=J?1:0,J}function Le(O){var J=this.__data__;if(tr){var be=J[O];return be===n?void 0:be}return Mt.call(J,O)?J[O]:void 0}function ct(O){var J=this.__data__;return tr?J[O]!==void 0:Mt.call(J,O)}function It(O,J){var be=this.__data__;return this.size+=this.has(O)?0:1,be[O]=tr&&J===void 0?n:J,this}je.prototype.clear=Q,je.prototype.delete=me,je.prototype.get=Le,je.prototype.has=ct,je.prototype.set=It;function Rt(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Qt(){this.__data__=[],this.size=0}function Kt(O){var J=this.__data__,be=Mn(J,O);if(be<0)return!1;var Je=J.length-1;return be==Je?J.pop():nt.call(J,be,1),--this.size,!0}function br(O){var J=this.__data__,be=Mn(J,O);return be<0?void 0:J[be][1]}function pr(O){return Mn(this.__data__,O)>-1}function Tr(O,J){var be=this.__data__,Je=Mn(be,O);return Je<0?(++this.size,be.push([O,J])):be[Je][1]=J,this}Rt.prototype.clear=Qt,Rt.prototype.delete=Kt,Rt.prototype.get=br,Rt.prototype.has=pr,Rt.prototype.set=Tr;function ur(O){var J=-1,be=O==null?0:O.length;for(this.clear();++J<be;){var Je=O[J];this.set(Je[0],Je[1])}}function Rn(){this.size=0,this.__data__={hash:new je,map:new(Ot||Rt),string:new je}}function Fn(O){var J=Nt(this,O).delete(O);return this.size-=J?1:0,J}function Br(O){return Nt(this,O).get(O)}function Ur(O){return Nt(this,O).has(O)}function zn(O,J){var be=Nt(this,O),Je=be.size;return be.set(O,J),this.size+=be.size==Je?0:1,this}ur.prototype.clear=Rn,ur.prototype.delete=Fn,ur.prototype.get=Br,ur.prototype.has=Ur,ur.prototype.set=zn;function wn(O){var J=-1,be=O==null?0:O.length;for(this.__data__=new ur;++J<be;)this.add(O[J])}function to(O){return this.__data__.set(O,n),this}function ro(O){return this.__data__.has(O)}wn.prototype.add=wn.prototype.push=to,wn.prototype.has=ro;function cn(O){var J=this.__data__=new Rt(O);this.size=J.size}function $n(){this.__data__=new Rt,this.size=0}function In(O){var J=this.__data__,be=J.delete(O);return this.size=J.size,be}function _o(O){return this.__data__.get(O)}function Oo(O){return this.__data__.has(O)}function No(O,J){var be=this.__data__;if(be instanceof Rt){var Je=be.__data__;if(!Ot||Je.length<t-1)return Je.push([O,J]),this.size=++be.size,this;be=this.__data__=new ur(Je)}return be.set(O,J),this.size=be.size,this}cn.prototype.clear=$n,cn.prototype.delete=In,cn.prototype.get=_o,cn.prototype.has=Oo,cn.prototype.set=No;function Ln(O,J){var be=oo(O),Je=!be&&Gn(O),Jt=!be&&!Je&&vi(O),Ut=!be&&!Je&&!Jt&&ni(O),xr=be||Je||Jt||Ut,Er=xr?st(O.length,String):[],gr=Er.length;for(var Rr in O)Mt.call(O,Rr)&&!(xr&&(Rr=="length"||Jt&&(Rr=="offset"||Rr=="parent")||Ut&&(Rr=="buffer"||Rr=="byteLength"||Rr=="byteOffset")||Cn(Rr,gr)))&&Er.push(Rr);return Er}function Mn(O,J){for(var be=O.length;be--;)if(Ao(O[be][0],J))return be;return-1}function mn(O,J,be){var Je=J(O);return oo(O)?Je:We(Je,be(O))}function no(O){return O==null?O===void 0?G:A:qe&&qe in Object(O)?zt(O):Po(O)}function un(O){return so(O)&&no(O)==c}function yn(O,J,be,Je,Jt){return O===J?!0:O==null||J==null||!so(O)&&!so(J)?O!==O&&J!==J:R(O,J,be,Je,yn,Jt)}function R(O,J,be,Je,Jt,Ut){var xr=oo(O),Er=oo(J),gr=xr?d:Jr(O),Rr=Er?d:Jr(J);gr=gr==c?k:gr,Rr=Rr==c?k:Rr;var nn=gr==k,On=Rr==k,Kr=gr==Rr;if(Kr&&vi(O)){if(!vi(J))return!1;xr=!0,nn=!1}if(Kr&&!nn)return Ut||(Ut=new cn),xr||ni(O)?Fe(O,J,be,Je,Jt,Ut):Ne(O,J,gr,be,Je,Jt,Ut);if(!(be&o)){var $r=nn&&Mt.call(O,"__wrapped__"),on=On&&Mt.call(J,"__wrapped__");if($r||on){var ho=$r?O.value():O,Eo=on?J.value():J;return Ut||(Ut=new cn),Jt(ho,Eo,be,Je,Ut)}}return Kr?(Ut||(Ut=new cn),Xe(O,J,be,Je,Jt,Ut)):!1}function $(O){if(!io(O)||fo(O))return!1;var J=Dn(O)?hr:xe;return J.test(rn(O))}function X(O){return so(O)&&Ni(O.length)&&!!se[no(O)]}function fe(O){if(!Vn(O))return _t(O);var J=[];for(var be in Object(O))Mt.call(O,be)&&be!="constructor"&&J.push(be);return J}function Fe(O,J,be,Je,Jt,Ut){var xr=be&o,Er=O.length,gr=J.length;if(Er!=gr&&!(xr&&gr>Er))return!1;var Rr=Ut.get(O);if(Rr&&Ut.get(J))return Rr==J;var nn=-1,On=!0,Kr=be&i?new wn:void 0;for(Ut.set(O,J),Ut.set(J,O);++nn<Er;){var $r=O[nn],on=J[nn];if(Je)var ho=xr?Je(on,$r,nn,J,O,Ut):Je($r,on,nn,O,J,Ut);if(ho!==void 0){if(ho)continue;On=!1;break}if(Kr){if(!et(J,function(Eo,Zn){if(!Ke(Kr,Zn)&&($r===Eo||Jt($r,Eo,be,Je,Ut)))return Kr.push(Zn)})){On=!1;break}}else if(!($r===on||Jt($r,on,be,Je,Ut))){On=!1;break}}return Ut.delete(O),Ut.delete(J),On}function Ne(O,J,be,Je,Jt,Ut,xr){switch(be){case q:if(O.byteLength!=J.byteLength||O.byteOffset!=J.byteOffset)return!1;O=O.buffer,J=J.buffer;case B:return!(O.byteLength!=J.byteLength||!Ut(new Ee(O),new Ee(J)));case p:case m:case _:return Ao(+O,+J);case g:return O.name==J.name&&O.message==J.message;case P:case W:return O==J+"";case E:var Er=ht;case j:var gr=Je&o;if(Er||(Er=St),O.size!=J.size&&!gr)return!1;var Rr=xr.get(O);if(Rr)return Rr==J;Je|=i,xr.set(O,J);var nn=Fe(Er(O),Er(J),Je,Jt,Ut,xr);return xr.delete(O),nn;case F:if(rr)return rr.call(O)==rr.call(J)}return!1}function Xe(O,J,be,Je,Jt,Ut){var xr=be&o,Er=yt(O),gr=Er.length,Rr=yt(J),nn=Rr.length;if(gr!=nn&&!xr)return!1;for(var On=gr;On--;){var Kr=Er[On];if(!(xr?Kr in J:Mt.call(J,Kr)))return!1}var $r=Ut.get(O);if($r&&Ut.get(J))return $r==J;var on=!0;Ut.set(O,J),Ut.set(J,O);for(var ho=xr;++On<gr;){Kr=Er[On];var Eo=O[Kr],Zn=J[Kr];if(Je)var Pi=xr?Je(Zn,Eo,Kr,J,O,Ut):Je(Eo,Zn,Kr,O,J,Ut);if(!(Pi===void 0?Eo===Zn||Jt(Eo,Zn,be,Je,Ut):Pi)){on=!1;break}ho||(ho=Kr=="constructor")}if(on&&!ho){var oi=O.constructor,dn=J.constructor;oi!=dn&&"constructor"in O&&"constructor"in J&&!(typeof oi=="function"&&oi instanceof oi&&typeof dn=="function"&&dn instanceof dn)&&(on=!1)}return Ut.delete(O),Ut.delete(J),on}function yt(O){return mn(O,Pr,Ar)}function Nt(O,J){var be=O.__data__;return Sn(J)?be[typeof J=="string"?"string":"hash"]:be.map}function $t(O,J){var be=bt(O,J);return $(be)?be:void 0}function zt(O){var J=Mt.call(O,qe),be=O[qe];try{O[qe]=void 0;var Je=!0}catch{}var Jt=Ht.call(O);return Je&&(J?O[qe]=be:delete O[qe]),Jt}var Ar=pt?function(O){return O==null?[]:(O=Object(O),tt(pt(O),function(J){return de.call(O,J)}))}:kr,Jr=no;(jt&&Jr(new jt(new ArrayBuffer(1)))!=q||Ot&&Jr(new Ot)!=E||ir&&Jr(ir.resolve())!=D||Ft&&Jr(new Ft)!=j||nr&&Jr(new nr)!=pe)&&(Jr=function(O){var J=no(O),be=J==k?O.constructor:void 0,Je=be?rn(be):"";if(Je)switch(Je){case it:return q;case lt:return E;case At:return D;case kt:return j;case Lt:return pe}return J});function Cn(O,J){return J=J??a,!!J&&(typeof O=="number"||ke.test(O))&&O>-1&&O%1==0&&O<J}function Sn(O){var J=typeof O;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?O!=="__proto__":O===null}function fo(O){return!!Vt&&Vt in O}function Vn(O){var J=O&&O.constructor,be=typeof J=="function"&&J.prototype||vt;return O===be}function Po(O){return Ht.call(O)}function rn(O){if(O!=null){try{return xt.call(O)}catch{}try{return O+""}catch{}}return""}function Ao(O,J){return O===J||O!==O&&J!==J}var Gn=un(function(){return arguments}())?un:function(O){return so(O)&&Mt.call(O,"callee")&&!de.call(O,"callee")},oo=Array.isArray;function Oi(O){return O!=null&&Ni(O.length)&&!Dn(O)}var vi=wt||Nr;function yi(O,J){return yn(O,J)}function Dn(O){if(!io(O))return!1;var J=no(O);return J==v||J==w||J==h||J==I}function Ni(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function io(O){var J=typeof O;return O!=null&&(J=="object"||J=="function")}function so(O){return O!=null&&typeof O=="object"}var ni=Me?ze(Me):X;function Pr(O){return Oi(O)?Ln(O):fe(O)}function kr(){return[]}function Nr(){return!1}r.exports=yi}(qf,qf.exports)),qf.exports}var Zh={},V0;function oI(){if(V0)return Zh;V0=1,Object.defineProperty(Zh,"__esModule",{value:!0});const r=Aw(),e=Ew();var t;return function(n){function o(d={},h={},p=!1){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});let m=r(h);p||(m=Object.keys(m).reduce((g,v)=>(m[v]!=null&&(g[v]=m[v]),g),{}));for(const g in d)d[g]!==void 0&&h[g]===void 0&&(m[g]=d[g]);return Object.keys(m).length>0?m:void 0}n.compose=o;function i(d={},h={}){typeof d!="object"&&(d={}),typeof h!="object"&&(h={});const p=Object.keys(d).concat(Object.keys(h)).reduce((m,g)=>(e(d[g],h[g])||(m[g]=h[g]===void 0?null:h[g]),m),{});return Object.keys(p).length>0?p:void 0}n.diff=i;function a(d={},h={}){d=d||{};const p=Object.keys(h).reduce((m,g)=>(h[g]!==d[g]&&d[g]!==void 0&&(m[g]=h[g]),m),{});return Object.keys(d).reduce((m,g)=>(d[g]!==h[g]&&h[g]===void 0&&(m[g]=null),m),p)}n.invert=a;function c(d,h,p=!1){if(typeof d!="object")return h;if(typeof h!="object")return;if(!p)return h;const m=Object.keys(h).reduce((g,v)=>(d[v]===void 0&&(g[v]=h[v]),g),{});return Object.keys(m).length>0?m:void 0}n.transform=c}(t||(t={})),Zh.default=t,Zh}var Yh={},G0;function Tw(){if(G0)return Yh;G0=1,Object.defineProperty(Yh,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),Yh.default=r,Yh}var Kh={},Z0;function iI(){if(Z0)return Kh;Z0=1,Object.defineProperty(Kh,"__esModule",{value:!0});const r=Tw();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const o=this.ops[this.index];if(o){const i=this.offset,a=r.default.length(o);if(n>=a-i?(n=a-i,this.index+=1,this.offset=0):this.offset+=n,typeof o.delete=="number")return{delete:n};{const c={};return o.attributes&&(c.attributes=o.attributes),typeof o.retain=="number"?c.retain=n:typeof o.retain=="object"&&o.retain!==null?c.retain=o.retain:typeof o.insert=="string"?c.insert=o.insert.substr(i,n):c.insert=o.insert,c}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,o=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=n,this.index=o,[i].concat(a)}}else return[]}}return Kh.default=e,Kh}var Y0;function sI(){return Y0||(Y0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=nI(),n=Aw(),o=Ew(),i=oI();e.AttributeMap=i.default;const a=Tw();e.Op=a.default;const c=iI();e.OpIterator=c.default;const d="\0",h=(m,g)=>{if(typeof m!="object"||m===null)throw new Error(`cannot retain a ${typeof m}`);if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);const v=Object.keys(m)[0];if(!v||v!==Object.keys(g)[0])throw new Error(`embed types not matched: ${v} != ${Object.keys(g)[0]}`);return[v,m[v],g[v]]};class p{constructor(g){Array.isArray(g)?this.ops=g:g!=null&&Array.isArray(g.ops)?this.ops=g.ops:this.ops=[]}static registerEmbed(g,v){this.handlers[g]=v}static unregisterEmbed(g){delete this.handlers[g]}static getHandler(g){const v=this.handlers[g];if(!v)throw new Error(`no handlers for embed type "${g}"`);return v}insert(g,v){const w={};return typeof g=="string"&&g.length===0?this:(w.insert=g,v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w))}delete(g){return g<=0?this:this.push({delete:g})}retain(g,v){if(typeof g=="number"&&g<=0)return this;const w={retain:g};return v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w)}push(g){let v=this.ops.length,w=this.ops[v-1];if(g=n(g),typeof w=="object"){if(typeof g.delete=="number"&&typeof w.delete=="number")return this.ops[v-1]={delete:w.delete+g.delete},this;if(typeof w.delete=="number"&&g.insert!=null&&(v-=1,w=this.ops[v-1],typeof w!="object"))return this.ops.unshift(g),this;if(o(g.attributes,w.attributes)){if(typeof g.insert=="string"&&typeof w.insert=="string")return this.ops[v-1]={insert:w.insert+g.insert},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this;if(typeof g.retain=="number"&&typeof w.retain=="number")return this.ops[v-1]={retain:w.retain+g.retain},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this}}return v===this.ops.length?this.ops.push(g):this.ops.splice(v,0,g),this}chop(){const g=this.ops[this.ops.length-1];return g&&typeof g.retain=="number"&&!g.attributes&&this.ops.pop(),this}filter(g){return this.ops.filter(g)}forEach(g){this.ops.forEach(g)}map(g){return this.ops.map(g)}partition(g){const v=[],w=[];return this.forEach(E=>{(g(E)?v:w).push(E)}),[v,w]}reduce(g,v){return this.ops.reduce(g,v)}changeLength(){return this.reduce((g,v)=>v.insert?g+a.default.length(v):v.delete?g-v.delete:g,0)}length(){return this.reduce((g,v)=>g+a.default.length(v),0)}slice(g=0,v=1/0){const w=[],E=new c.default(this.ops);let _=0;for(;_<v&&E.hasNext();){let A;_<g?A=E.next(g-_):(A=E.next(v-_),w.push(A)),_+=a.default.length(A)}return new p(w)}compose(g){const v=new c.default(this.ops),w=new c.default(g.ops),E=[],_=w.peek();if(_!=null&&typeof _.retain=="number"&&_.attributes==null){let k=_.retain;for(;v.peekType()==="insert"&&v.peekLength()<=k;)k-=v.peekLength(),E.push(v.next());_.retain-k>0&&w.next(_.retain-k)}const A=new p(E);for(;v.hasNext()||w.hasNext();)if(w.peekType()==="insert")A.push(w.next());else if(v.peekType()==="delete")A.push(v.next());else{const k=Math.min(v.peekLength(),w.peekLength()),D=v.next(k),I=w.next(k);if(I.retain){const P={};if(typeof D.retain=="number")P.retain=typeof I.retain=="number"?k:I.retain;else if(typeof I.retain=="number")D.retain==null?P.insert=D.insert:P.retain=D.retain;else{const W=D.retain==null?"insert":"retain",[F,G,pe]=h(D[W],I.retain),B=p.getHandler(F);P[W]={[F]:B.compose(G,pe,W==="retain")}}const j=i.default.compose(D.attributes,I.attributes,typeof D.retain=="number");if(j&&(P.attributes=j),A.push(P),!w.hasNext()&&o(A.ops[A.ops.length-1],P)){const W=new p(v.rest());return A.concat(W).chop()}}else typeof I.delete=="number"&&(typeof D.retain=="number"||typeof D.retain=="object"&&D.retain!==null)&&A.push(I)}return A.chop()}concat(g){const v=new p(this.ops.slice());return g.ops.length>0&&(v.push(g.ops[0]),v.ops=v.ops.concat(g.ops.slice(1))),v}diff(g,v){if(this.ops===g.ops)return new p;const w=[this,g].map(D=>D.map(I=>{if(I.insert!=null)return typeof I.insert=="string"?I.insert:d;const P=D===g?"on":"with";throw new Error("diff() called "+P+" non-document")}).join("")),E=new p,_=t(w[0],w[1],v,!0),A=new c.default(this.ops),k=new c.default(g.ops);return _.forEach(D=>{let I=D[1].length;for(;I>0;){let P=0;switch(D[0]){case t.INSERT:P=Math.min(k.peekLength(),I),E.push(k.next(P));break;case t.DELETE:P=Math.min(I,A.peekLength()),A.next(P),E.delete(P);break;case t.EQUAL:P=Math.min(A.peekLength(),k.peekLength(),I);const j=A.next(P),W=k.next(P);o(j.insert,W.insert)?E.retain(P,i.default.diff(j.attributes,W.attributes)):E.push(W).delete(P);break}I-=P}}),E.chop()}eachLine(g,v=`
|
168
168
|
`){const w=new c.default(this.ops);let E=new p,_=0;for(;w.hasNext();){if(w.peekType()!=="insert")return;const A=w.peek(),k=a.default.length(A)-w.peekLength(),D=typeof A.insert=="string"?A.insert.indexOf(v,k)-k:-1;if(D<0)E.push(w.next());else if(D>0)E.push(w.next(D));else{if(g(E,w.next(1).attributes||{},_)===!1)return;_+=1,E=new p}}E.length()>0&&g(E,{},_)}invert(g){const v=new p;return this.reduce((w,E)=>{if(E.insert)v.delete(a.default.length(E));else{if(typeof E.retain=="number"&&E.attributes==null)return v.retain(E.retain),w+E.retain;if(E.delete||typeof E.retain=="number"){const _=E.delete||E.retain;return g.slice(w,w+_).forEach(k=>{E.delete?v.push(k):E.retain&&E.attributes&&v.retain(a.default.length(k),i.default.invert(E.attributes,k.attributes))}),w+_}else if(typeof E.retain=="object"&&E.retain!==null){const _=g.slice(w,w+1),A=new c.default(_.ops).next(),[k,D,I]=h(E.retain,A.insert),P=p.getHandler(k);return v.retain({[k]:P.invert(D,I)},i.default.invert(E.attributes,A.attributes)),w+1}}return w},0),v.chop()}transform(g,v=!1){if(v=!!v,typeof g=="number")return this.transformPosition(g,v);const w=g,E=new c.default(this.ops),_=new c.default(w.ops),A=new p;for(;E.hasNext()||_.hasNext();)if(E.peekType()==="insert"&&(v||_.peekType()!=="insert"))A.retain(a.default.length(E.next()));else if(_.peekType()==="insert")A.push(_.next());else{const k=Math.min(E.peekLength(),_.peekLength()),D=E.next(k),I=_.next(k);if(D.delete)continue;if(I.delete)A.push(I);else{const P=D.retain,j=I.retain;let W=typeof j=="object"&&j!==null?j:k;if(typeof P=="object"&&P!==null&&typeof j=="object"&&j!==null){const F=Object.keys(P)[0];if(F===Object.keys(j)[0]){const G=p.getHandler(F);G&&(W={[F]:G.transform(P[F],j[F],v)})}}A.retain(W,i.default.transform(D.attributes,I.attributes,v))}}return A.chop()}transformPosition(g,v=!1){v=!!v;const w=new c.default(this.ops);let E=0;for(;w.hasNext()&&E<=g;){const _=w.peekLength(),A=w.peekType();if(w.next(),A==="delete"){g-=Math.min(_,g-E);continue}else A==="insert"&&(E<g||!v)&&(g+=_);E+=_}return g}}p.Op=a.default,p.OpIterator=c.default,p.AttributeMap=i.default,p.handlers={},e.default=p,r.exports=p,r.exports.default=p}(Gh,Gh.exports)),Gh.exports}var Rs=sI();const Yt=of(Rs);var kw=typeof global=="object"&&global&&global.Object===Object&&global,aI=typeof self=="object"&&self&&self.Object===Object&&self,tl=kw||aI||Function("return this")(),qc=tl.Symbol,Rw=Object.prototype,lI=Rw.hasOwnProperty,cI=Rw.toString,Pf=qc?qc.toStringTag:void 0;function uI(r){var e=lI.call(r,Pf),t=r[Pf];try{r[Pf]=void 0;var n=!0}catch{}var o=cI.call(r);return n&&(e?r[Pf]=t:delete r[Pf]),o}var dI=Object.prototype,fI=dI.toString;function hI(r){return fI.call(r)}var pI="[object Null]",gI="[object Undefined]",K0=qc?qc.toStringTag:void 0;function af(r){return r==null?r===void 0?gI:pI:K0&&K0 in Object(r)?uI(r):hI(r)}function Nl(r){return r!=null&&typeof r=="object"}var Du=Array.isArray;function Wc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Iw(r){return r}var mI="[object AsyncFunction]",vI="[object Function]",yI="[object GeneratorFunction]",bI="[object Proxy]";function V1(r){if(!Wc(r))return!1;var e=af(r);return e==vI||e==yI||e==mI||e==bI}var Bg=tl["__core-js_shared__"],X0=function(){var r=/[^.]+$/.exec(Bg&&Bg.keys&&Bg.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function xI(r){return!!X0&&X0 in r}var wI=Function.prototype,CI=wI.toString;function zu(r){if(r!=null){try{return CI.call(r)}catch{}try{return r+""}catch{}}return""}var SI=/[\\^$.*+?()[\]{}|]/g,_I=/^\[object .+?Constructor\]$/,AI=Function.prototype,EI=Object.prototype,TI=AI.toString,kI=EI.hasOwnProperty,RI=RegExp("^"+TI.call(kI).replace(SI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function II(r){if(!Wc(r)||xI(r))return!1;var e=V1(r)?RI:_I;return e.test(zu(r))}function MI(r,e){return r==null?void 0:r[e]}function $u(r,e){var t=MI(r,e);return II(t)?t:void 0}var t1=$u(tl,"WeakMap"),J0=Object.create,LI=function(){function r(){}return function(e){if(!Wc(e))return{};if(J0)return J0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function DI(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function OI(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var NI=800,PI=16,BI=Date.now;function jI(r){var e=0,t=0;return function(){var n=BI(),o=PI-(n-t);if(t=n,o>0){if(++e>=NI)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function FI(r){return function(){return r}}var _p=function(){try{var r=$u(Object,"defineProperty");return r({},"",{}),r}catch{}}(),zI=_p?function(r,e){return _p(r,"toString",{configurable:!0,enumerable:!1,value:FI(e),writable:!0})}:Iw,$I=jI(zI);function HI(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var qI=9007199254740991,WI=/^(?:0|[1-9]\d*)$/;function Mw(r,e){var t=typeof r;return e=e??qI,!!e&&(t=="number"||t!="symbol"&&WI.test(r))&&r>-1&&r%1==0&&r<e}function G1(r,e,t){e=="__proto__"&&_p?_p(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function mh(r,e){return r===e||r!==r&&e!==e}var UI=Object.prototype,VI=UI.hasOwnProperty;function Lw(r,e,t){var n=r[e];(!(VI.call(r,e)&&mh(n,t))||t===void 0&&!(e in r))&&G1(r,e,t)}function GI(r,e,t,n){var o=!t;t||(t={});for(var i=-1,a=e.length;++i<a;){var c=e[i],d=void 0;d===void 0&&(d=r[c]),o?G1(t,c,d):Lw(t,c,d)}return t}var Q0=Math.max;function ZI(r,e,t){return e=Q0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,o=-1,i=Q0(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=t(a),DI(r,this,c)}}function YI(r,e){return $I(ZI(r,e,Iw),r+"")}var KI=9007199254740991;function Dw(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=KI}function Zp(r){return r!=null&&Dw(r.length)&&!V1(r)}function XI(r,e,t){if(!Wc(t))return!1;var n=typeof e;return(n=="number"?Zp(t)&&Mw(e,t.length):n=="string"&&e in t)?mh(t[e],r):!1}function JI(r){return YI(function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(o--,i):void 0,a&&XI(t[0],t[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var c=t[n];c&&r(e,c,n,i)}return e})}var QI=Object.prototype;function Z1(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||QI;return r===t}function e9(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var t9="[object Arguments]";function ey(r){return Nl(r)&&af(r)==t9}var Ow=Object.prototype,r9=Ow.hasOwnProperty,n9=Ow.propertyIsEnumerable,r1=ey(function(){return arguments}())?ey:function(r){return Nl(r)&&r9.call(r,"callee")&&!n9.call(r,"callee")};function o9(){return!1}var Nw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ty=Nw&&typeof module=="object"&&module&&!module.nodeType&&module,i9=ty&&ty.exports===Nw,ry=i9?tl.Buffer:void 0,s9=ry?ry.isBuffer:void 0,rh=s9||o9,a9="[object Arguments]",l9="[object Array]",c9="[object Boolean]",u9="[object Date]",d9="[object Error]",f9="[object Function]",h9="[object Map]",p9="[object Number]",g9="[object Object]",m9="[object RegExp]",v9="[object Set]",y9="[object String]",b9="[object WeakMap]",x9="[object ArrayBuffer]",w9="[object DataView]",C9="[object Float32Array]",S9="[object Float64Array]",_9="[object Int8Array]",A9="[object Int16Array]",E9="[object Int32Array]",T9="[object Uint8Array]",k9="[object Uint8ClampedArray]",R9="[object Uint16Array]",I9="[object Uint32Array]",En={};En[C9]=En[S9]=En[_9]=En[A9]=En[E9]=En[T9]=En[k9]=En[R9]=En[I9]=!0;En[a9]=En[l9]=En[x9]=En[c9]=En[w9]=En[u9]=En[d9]=En[f9]=En[h9]=En[p9]=En[g9]=En[m9]=En[v9]=En[y9]=En[b9]=!1;function M9(r){return Nl(r)&&Dw(r.length)&&!!En[af(r)]}function Y1(r){return function(e){return r(e)}}var Pw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Uf=Pw&&typeof module=="object"&&module&&!module.nodeType&&module,L9=Uf&&Uf.exports===Pw,jg=L9&&kw.process,Kd=function(){try{var r=Uf&&Uf.require&&Uf.require("util").types;return r||jg&&jg.binding&&jg.binding("util")}catch{}}(),ny=Kd&&Kd.isTypedArray,K1=ny?Y1(ny):M9,D9=Object.prototype,O9=D9.hasOwnProperty;function Bw(r,e){var t=Du(r),n=!t&&r1(r),o=!t&&!n&&rh(r),i=!t&&!n&&!o&&K1(r),a=t||n||o||i,c=a?e9(r.length,String):[],d=c.length;for(var h in r)(e||O9.call(r,h))&&!(a&&(h=="length"||o&&(h=="offset"||h=="parent")||i&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Mw(h,d)))&&c.push(h);return c}function jw(r,e){return function(t){return r(e(t))}}var N9=jw(Object.keys,Object),P9=Object.prototype,B9=P9.hasOwnProperty;function j9(r){if(!Z1(r))return N9(r);var e=[];for(var t in Object(r))B9.call(r,t)&&t!="constructor"&&e.push(t);return e}function F9(r){return Zp(r)?Bw(r):j9(r)}function z9(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var $9=Object.prototype,H9=$9.hasOwnProperty;function q9(r){if(!Wc(r))return z9(r);var e=Z1(r),t=[];for(var n in r)n=="constructor"&&(e||!H9.call(r,n))||t.push(n);return t}function Fw(r){return Zp(r)?Bw(r,!0):q9(r)}var nh=$u(Object,"create");function W9(){this.__data__=nh?nh(null):{},this.size=0}function U9(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var V9="__lodash_hash_undefined__",G9=Object.prototype,Z9=G9.hasOwnProperty;function Y9(r){var e=this.__data__;if(nh){var t=e[r];return t===V9?void 0:t}return Z9.call(e,r)?e[r]:void 0}var K9=Object.prototype,X9=K9.hasOwnProperty;function J9(r){var e=this.__data__;return nh?e[r]!==void 0:X9.call(e,r)}var Q9="__lodash_hash_undefined__";function e7(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=nh&&e===void 0?Q9:e,this}function Ou(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Ou.prototype.clear=W9;Ou.prototype.delete=U9;Ou.prototype.get=Y9;Ou.prototype.has=J9;Ou.prototype.set=e7;function t7(){this.__data__=[],this.size=0}function Yp(r,e){for(var t=r.length;t--;)if(mh(r[t][0],e))return t;return-1}var r7=Array.prototype,n7=r7.splice;function o7(r){var e=this.__data__,t=Yp(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():n7.call(e,t,1),--this.size,!0}function i7(r){var e=this.__data__,t=Yp(e,r);return t<0?void 0:e[t][1]}function s7(r){return Yp(this.__data__,r)>-1}function a7(r,e){var t=this.__data__,n=Yp(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function jl(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}jl.prototype.clear=t7;jl.prototype.delete=o7;jl.prototype.get=i7;jl.prototype.has=s7;jl.prototype.set=a7;var oh=$u(tl,"Map");function l7(){this.size=0,this.__data__={hash:new Ou,map:new(oh||jl),string:new Ou}}function c7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Kp(r,e){var t=r.__data__;return c7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function u7(r){var e=Kp(this,r).delete(r);return this.size-=e?1:0,e}function d7(r){return Kp(this,r).get(r)}function f7(r){return Kp(this,r).has(r)}function h7(r,e){var t=Kp(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function Hu(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Hu.prototype.clear=l7;Hu.prototype.delete=u7;Hu.prototype.get=d7;Hu.prototype.has=f7;Hu.prototype.set=h7;function p7(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}var zw=jw(Object.getPrototypeOf,Object),g7="[object Object]",m7=Function.prototype,v7=Object.prototype,$w=m7.toString,y7=v7.hasOwnProperty,b7=$w.call(Object);function x7(r){if(!Nl(r)||af(r)!=g7)return!1;var e=zw(r);if(e===null)return!0;var t=y7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&$w.call(t)==b7}function w7(){this.__data__=new jl,this.size=0}function C7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function S7(r){return this.__data__.get(r)}function _7(r){return this.__data__.has(r)}var A7=200;function E7(r,e){var t=this.__data__;if(t instanceof jl){var n=t.__data__;if(!oh||n.length<A7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new Hu(n)}return t.set(r,e),this.size=t.size,this}function Ua(r){var e=this.__data__=new jl(r);this.size=e.size}Ua.prototype.clear=w7;Ua.prototype.delete=C7;Ua.prototype.get=S7;Ua.prototype.has=_7;Ua.prototype.set=E7;var Hw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,oy=Hw&&typeof module=="object"&&module&&!module.nodeType&&module,T7=oy&&oy.exports===Hw,iy=T7?tl.Buffer:void 0,sy=iy?iy.allocUnsafe:void 0;function qw(r,e){if(e)return r.slice();var t=r.length,n=sy?sy(t):new r.constructor(t);return r.copy(n),n}function k7(r,e){for(var t=-1,n=r==null?0:r.length,o=0,i=[];++t<n;){var a=r[t];e(a,t,r)&&(i[o++]=a)}return i}function R7(){return[]}var I7=Object.prototype,M7=I7.propertyIsEnumerable,ay=Object.getOwnPropertySymbols,L7=ay?function(r){return r==null?[]:(r=Object(r),k7(ay(r),function(e){return M7.call(r,e)}))}:R7;function D7(r,e,t){var n=e(r);return Du(r)?n:p7(n,t(r))}function n1(r){return D7(r,F9,L7)}var o1=$u(tl,"DataView"),i1=$u(tl,"Promise"),s1=$u(tl,"Set"),ly="[object Map]",O7="[object Object]",cy="[object Promise]",uy="[object Set]",dy="[object WeakMap]",fy="[object DataView]",N7=zu(o1),P7=zu(oh),B7=zu(i1),j7=zu(s1),F7=zu(t1),na=af;(o1&&na(new o1(new ArrayBuffer(1)))!=fy||oh&&na(new oh)!=ly||i1&&na(i1.resolve())!=cy||s1&&na(new s1)!=uy||t1&&na(new t1)!=dy)&&(na=function(r){var e=af(r),t=e==O7?r.constructor:void 0,n=t?zu(t):"";if(n)switch(n){case N7:return fy;case P7:return ly;case B7:return cy;case j7:return uy;case F7:return dy}return e});var z7=Object.prototype,$7=z7.hasOwnProperty;function H7(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&$7.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Ap=tl.Uint8Array;function X1(r){var e=new r.constructor(r.byteLength);return new Ap(e).set(new Ap(r)),e}function q7(r,e){var t=X1(r.buffer);return new r.constructor(t,r.byteOffset,r.byteLength)}var W7=/\w*$/;function U7(r){var e=new r.constructor(r.source,W7.exec(r));return e.lastIndex=r.lastIndex,e}var hy=qc?qc.prototype:void 0,py=hy?hy.valueOf:void 0;function V7(r){return py?Object(py.call(r)):{}}function Ww(r,e){var t=e?X1(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var G7="[object Boolean]",Z7="[object Date]",Y7="[object Map]",K7="[object Number]",X7="[object RegExp]",J7="[object Set]",Q7="[object String]",eM="[object Symbol]",tM="[object ArrayBuffer]",rM="[object DataView]",nM="[object Float32Array]",oM="[object Float64Array]",iM="[object Int8Array]",sM="[object Int16Array]",aM="[object Int32Array]",lM="[object Uint8Array]",cM="[object Uint8ClampedArray]",uM="[object Uint16Array]",dM="[object Uint32Array]";function fM(r,e,t){var n=r.constructor;switch(e){case tM:return X1(r);case G7:case Z7:return new n(+r);case rM:return q7(r);case nM:case oM:case iM:case sM:case aM:case lM:case cM:case uM:case dM:return Ww(r,t);case Y7:return new n;case K7:case Q7:return new n(r);case X7:return U7(r);case J7:return new n;case eM:return V7(r)}}function Uw(r){return typeof r.constructor=="function"&&!Z1(r)?LI(zw(r)):{}}var hM="[object Map]";function pM(r){return Nl(r)&&na(r)==hM}var gy=Kd&&Kd.isMap,gM=gy?Y1(gy):pM,mM="[object Set]";function vM(r){return Nl(r)&&na(r)==mM}var my=Kd&&Kd.isSet,yM=my?Y1(my):vM,bM=1,Vw="[object Arguments]",xM="[object Array]",wM="[object Boolean]",CM="[object Date]",SM="[object Error]",Gw="[object Function]",_M="[object GeneratorFunction]",AM="[object Map]",EM="[object Number]",Zw="[object Object]",TM="[object RegExp]",kM="[object Set]",RM="[object String]",IM="[object Symbol]",MM="[object WeakMap]",LM="[object ArrayBuffer]",DM="[object DataView]",OM="[object Float32Array]",NM="[object Float64Array]",PM="[object Int8Array]",BM="[object Int16Array]",jM="[object Int32Array]",FM="[object Uint8Array]",zM="[object Uint8ClampedArray]",$M="[object Uint16Array]",HM="[object Uint32Array]",xn={};xn[Vw]=xn[xM]=xn[LM]=xn[DM]=xn[wM]=xn[CM]=xn[OM]=xn[NM]=xn[PM]=xn[BM]=xn[jM]=xn[AM]=xn[EM]=xn[Zw]=xn[TM]=xn[kM]=xn[RM]=xn[IM]=xn[FM]=xn[zM]=xn[$M]=xn[HM]=!0;xn[SM]=xn[Gw]=xn[MM]=!1;function dp(r,e,t,n,o,i){var a,c=e&bM;if(a!==void 0)return a;if(!Wc(r))return r;var d=Du(r);if(d)a=H7(r);else{var h=na(r),p=h==Gw||h==_M;if(rh(r))return qw(r,c);if(h==Zw||h==Vw||p&&!o)a=p?{}:Uw(r);else{if(!xn[h])return o?r:{};a=fM(r,h,c)}}i||(i=new Ua);var m=i.get(r);if(m)return m;i.set(r,a),yM(r)?r.forEach(function(w){a.add(dp(w,e,t,w,r,i))}):gM(r)&&r.forEach(function(w,E){a.set(E,dp(w,e,t,E,r,i))});var g=n1,v=d?void 0:g(r);return HI(v||r,function(w,E){v&&(E=w,w=r[E]),Lw(a,E,dp(w,e,t,E,r,i))}),a}var qM=1,WM=4;function $d(r){return dp(r,qM|WM)}var UM="__lodash_hash_undefined__";function VM(r){return this.__data__.set(r,UM),this}function GM(r){return this.__data__.has(r)}function Ep(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new Hu;++e<t;)this.add(r[e])}Ep.prototype.add=Ep.prototype.push=VM;Ep.prototype.has=GM;function ZM(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function YM(r,e){return r.has(e)}var KM=1,XM=2;function Yw(r,e,t,n,o,i){var a=t&KM,c=r.length,d=e.length;if(c!=d&&!(a&&d>c))return!1;var h=i.get(r),p=i.get(e);if(h&&p)return h==e&&p==r;var m=-1,g=!0,v=t&XM?new Ep:void 0;for(i.set(r,e),i.set(e,r);++m<c;){var w=r[m],E=e[m];if(n)var _=a?n(E,w,m,e,r,i):n(w,E,m,r,e,i);if(_!==void 0){if(_)continue;g=!1;break}if(v){if(!ZM(e,function(A,k){if(!YM(v,k)&&(w===A||o(w,A,t,n,i)))return v.push(k)})){g=!1;break}}else if(!(w===E||o(w,E,t,n,i))){g=!1;break}}return i.delete(r),i.delete(e),g}function JM(r){var e=-1,t=Array(r.size);return r.forEach(function(n,o){t[++e]=[o,n]}),t}function QM(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var eL=1,tL=2,rL="[object Boolean]",nL="[object Date]",oL="[object Error]",iL="[object Map]",sL="[object Number]",aL="[object RegExp]",lL="[object Set]",cL="[object String]",uL="[object Symbol]",dL="[object ArrayBuffer]",fL="[object DataView]",vy=qc?qc.prototype:void 0,Fg=vy?vy.valueOf:void 0;function hL(r,e,t,n,o,i,a){switch(t){case fL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case dL:return!(r.byteLength!=e.byteLength||!i(new Ap(r),new Ap(e)));case rL:case nL:case sL:return mh(+r,+e);case oL:return r.name==e.name&&r.message==e.message;case aL:case cL:return r==e+"";case iL:var c=JM;case lL:var d=n&eL;if(c||(c=QM),r.size!=e.size&&!d)return!1;var h=a.get(r);if(h)return h==e;n|=tL,a.set(r,e);var p=Yw(c(r),c(e),n,o,i,a);return a.delete(r),p;case uL:if(Fg)return Fg.call(r)==Fg.call(e)}return!1}var pL=1,gL=Object.prototype,mL=gL.hasOwnProperty;function vL(r,e,t,n,o,i){var a=t&pL,c=n1(r),d=c.length,h=n1(e),p=h.length;if(d!=p&&!a)return!1;for(var m=d;m--;){var g=c[m];if(!(a?g in e:mL.call(e,g)))return!1}var v=i.get(r),w=i.get(e);if(v&&w)return v==e&&w==r;var E=!0;i.set(r,e),i.set(e,r);for(var _=a;++m<d;){g=c[m];var A=r[g],k=e[g];if(n)var D=a?n(k,A,g,e,r,i):n(A,k,g,r,e,i);if(!(D===void 0?A===k||o(A,k,t,n,i):D)){E=!1;break}_||(_=g=="constructor")}if(E&&!_){var I=r.constructor,P=e.constructor;I!=P&&"constructor"in r&&"constructor"in e&&!(typeof I=="function"&&I instanceof I&&typeof P=="function"&&P instanceof P)&&(E=!1)}return i.delete(r),i.delete(e),E}var yL=1,yy="[object Arguments]",by="[object Array]",Xh="[object Object]",bL=Object.prototype,xy=bL.hasOwnProperty;function xL(r,e,t,n,o,i){var a=Du(r),c=Du(e),d=a?by:na(r),h=c?by:na(e);d=d==yy?Xh:d,h=h==yy?Xh:h;var p=d==Xh,m=h==Xh,g=d==h;if(g&&rh(r)){if(!rh(e))return!1;a=!0,p=!1}if(g&&!p)return i||(i=new Ua),a||K1(r)?Yw(r,e,t,n,o,i):hL(r,e,d,t,n,o,i);if(!(t&yL)){var v=p&&xy.call(r,"__wrapped__"),w=m&&xy.call(e,"__wrapped__");if(v||w){var E=v?r.value():r,_=w?e.value():e;return i||(i=new Ua),o(E,_,t,n,i)}}return g?(i||(i=new Ua),vL(r,e,t,n,o,i)):!1}function Kw(r,e,t,n,o){return r===e?!0:r==null||e==null||!Nl(r)&&!Nl(e)?r!==r&&e!==e:xL(r,e,t,n,Kw,o)}function wL(r){return function(e,t,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var d=a[++o];if(t(i[d],d,i)===!1)break}return e}}var CL=wL();function a1(r,e,t){(t!==void 0&&!mh(r[e],t)||t===void 0&&!(e in r))&&G1(r,e,t)}function SL(r){return Nl(r)&&Zp(r)}function l1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function _L(r){return GI(r,Fw(r))}function AL(r,e,t,n,o,i,a){var c=l1(r,t),d=l1(e,t),h=a.get(d);if(h){a1(r,t,h);return}var p=i?i(c,d,t+"",r,e,a):void 0,m=p===void 0;if(m){var g=Du(d),v=!g&&rh(d),w=!g&&!v&&K1(d);p=d,g||v||w?Du(c)?p=c:SL(c)?p=OI(c):v?(m=!1,p=qw(d,!0)):w?(m=!1,p=Ww(d,!0)):p=[]:x7(d)||r1(d)?(p=c,r1(c)?p=_L(c):(!Wc(c)||V1(c))&&(p=Uw(d))):m=!1}m&&(a.set(d,p),o(p,d,n,i,a),a.delete(d)),a1(r,t,p)}function Xw(r,e,t,n,o){r!==e&&CL(e,function(i,a){if(o||(o=new Ua),Wc(i))AL(r,e,a,t,Xw,n,o);else{var c=n?n(l1(r,a),i,a+"",r,e,o):void 0;c===void 0&&(c=i),a1(r,a,c)}},Fw)}function Lc(r,e){return Kw(r,e)}var jc=JI(function(r,e,t){Xw(r,e,t)}),Xt=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(Xt||{});class Ka{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const o=Xt.TYPE&Xt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Xt.LEVEL|o:Xt.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class Hd extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const Jw=class c1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const o=this.query(t);if(o==null)throw new Hd(`Unable to create ${t} blot`);const i=o,a=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:i.create(n),c=new i(e,a,n);return c1.blots.set(c.domNode,c),c}find(e,t=!1){return c1.find(e,t)}query(e,t=Xt.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&Xt.LEVEL&Xt.BLOCK?n=this.types.block:e&Xt.LEVEL&Xt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(n=this.classes[o],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Xt.LEVEL&n.scope&&t&Xt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,o="attrName"in t;if(!n&&!o)throw new Hd("Invalid definition");if(n&&t.blotName==="abstract")throw new Hd("Cannot register abstract class");const i=n?t.blotName:o?t.attrName:void 0;return this.types[i]=t,o?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(a=>a.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(a=>{(this.tags[a]==null||t.className==null)&&(this.tags[a]=t)}))),t})}};Jw.blots=new WeakMap;let Xd=Jw;function wy(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class EL extends Ka{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){wy(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(wy(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const ha=EL;function zg(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class TL extends Ka{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[zg(this.keyName)]=t,!0):!1}remove(e){e.style[zg(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[zg(this.keyName)];return this.canAdd(e,t)?t:""}}const Uc=TL;class kL{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=Xd.find(this.domNode);if(e==null)return;const t=Ka.keys(this.domNode),n=ha.keys(this.domNode),o=Uc.keys(this.domNode);t.concat(n).concat(o).forEach(i=>{const a=e.scroll.query(i,Xt.ATTRIBUTE);a instanceof Ka&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const Xp=kL,Qw=class{constructor(e,t){this.scroll=e,this.domNode=t,Xd.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Hd("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),Xd.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,o){const i=this.isolate(e,t);if(this.scroll.query(n,Xt.BLOT)!=null&&o)i.wrap(n,o);else if(this.scroll.query(n,Xt.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(n,o)}}insertAt(e,t,n){const o=n==null?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(o,i||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new Hd(`Cannot wrap ${e}`);return n.appendChild(this),n}};Qw.blotName="abstract";let e2=Qw;const t2=class extends e2{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};t2.scope=Xt.INLINE_BLOT;let RL=t2;const ei=RL;class IL{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),o=0;for(;n;){if(n===e)return o;o+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let o=n();for(;o;){const i=o.length();if(e<i||t&&e===i&&(o.next==null||o.next.length()!==0))return[o,e];e-=i,o=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[o,i]=this.find(e);let a=e-i;const c=this.iterator(o);let d=c();for(;d&&a<e+t;){const h=d.length();e>a?n(d,e-a,Math.min(t,a+h-e)):n(d,0,Math.min(h,e+t-a)),a+=h,d=c()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let o=n();for(;o;)t=e(t,o),o=n();return t}}function Cy(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Xt.INLINE);return Array.from(r.childNodes).forEach(o=>{n.domNode.appendChild(o)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const r2=class Tc extends e2{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Tc.uiClass&&this.uiNode.classList.add(Tc.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new IL,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=Cy(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Hd)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,o,i)=>{n.deleteAt(o,i)})}descendant(e,t=0){const[n,o]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,o]:n instanceof Tc?n.descendant(e,o):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let o=[],i=n;return this.children.forEachAt(t,n,(a,c,d)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&o.push(a),a instanceof Tc&&(o=o.concat(a.descendants(e,c,i))),i-=d}),o}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===Xt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Tc?t.unwrap():t.remove())})}formatAt(e,t,n,o){this.children.forEachAt(e,t,(i,a,c)=>{i.formatAt(a,c,n,o)})}insertAt(e,t,n){const[o,i]=this.children.find(e);if(o)o.insertAt(i,t,n);else{const a=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,o]=this.children.find(e,t),i=[[this,e]];return n instanceof Tc?i.concat(n.path(o,t)):(n!=null&&i.push([n,o]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Tc&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(o,i,a)=>{const c=o.split(i,t);c!=null&&n.appendChild(c)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],o=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(n.push(...i.addedNodes),o.push(...i.removedNodes))}),o.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),n.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const c=Cy(i,this.scroll);(c.next!==a||c.next==null)&&(c.parent!=null&&c.parent.removeChild(this),this.insertBefore(c,a||void 0))}),this.enforceAllowedChildren()}};r2.uiClass="";let ML=r2;const aa=ML;function LL(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const kd=class Rd extends aa{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Rd.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Xp(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Rd||(n=n.wrap(Rd.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Xt.INLINE);if(n==null)return;n instanceof Ka?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.formats()[n]!=null||this.scroll.query(n,Xt.ATTRIBUTE)?this.isolate(e,t).format(n,o):super.formatAt(e,t,n,o)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Rd&&n.prev===this&&LL(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof Rd&&this.attributes.move(n),n}};kd.allowedChildren=[kd,ei],kd.blotName="inline",kd.scope=Xt.INLINE_BLOT,kd.tagName="SPAN";let DL=kd;const J1=DL,Id=class u1 extends aa{static create(e){return super.create(e)}static formats(e,t){const n=t.query(u1.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Xp(this.domNode)}format(e,t){const n=this.scroll.query(e,Xt.BLOCK);n!=null&&(n instanceof Ka?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(u1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.scroll.query(n,Xt.BLOCK)!=null?this.format(n,o):super.formatAt(e,t,n,o)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Xt.INLINE)!=null)super.insertAt(e,t,n);else{const o=this.split(e);if(o!=null){const i=this.scroll.create(t,n);o.parent.insertBefore(i,o)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};Id.blotName="block",Id.scope=Xt.BLOCK_BLOT,Id.tagName="P",Id.allowedChildren=[J1,Id,ei];let OL=Id;const ih=OL,d1=class extends aa{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,o){super.formatAt(e,t,n,o),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};d1.blotName="container",d1.scope=Xt.BLOCK_BLOT;let NL=d1;const Jp=NL;class PL extends ei{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,o){e===0&&t===this.length()?this.format(n,o):super.formatAt(e,t,n,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const ns=PL,BL={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},jL=100,Md=class extends aa{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,BL),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=Xt.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,o){this.update(),super.formatAt(e,t,n,o)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const i=(d,h=!0)=>{d==null||d===this||d.domNode.parentNode!=null&&(n.has(d.domNode)||n.set(d.domNode,[]),h&&i(d.parent))},a=d=>{n.has(d.domNode)&&(d instanceof aa&&d.children.forEach(a),n.delete(d.domNode),d.optimize(t))};let c=e;for(let d=0;c.length>0;d+=1){if(d>=jL)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(h=>{const p=this.find(h.target,!0);p!=null&&(p.domNode===h.target&&(h.type==="childList"?(i(this.find(h.previousSibling,!1)),Array.from(h.addedNodes).forEach(m=>{const g=this.find(m,!1);i(g,!1),g instanceof aa&&g.children.forEach(v=>{i(v,!1)})})):h.type==="attributes"&&i(p.prev)),i(p))}),this.children.forEach(a),c=Array.from(this.observer.takeRecords()),o=c.slice();o.length>0;)e.push(o.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(o=>{const i=this.find(o.target,!0);return i==null?null:n.has(i.domNode)?(n.get(i.domNode).push(o),null):(n.set(i.domNode,[o]),i)}).forEach(o=>{o!=null&&o!==this&&n.has(o.domNode)&&o.update(n.get(o.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Md.blotName="scroll",Md.defaultChild=ih,Md.allowedChildren=[ih,Jp],Md.scope=Xt.BLOCK_BLOT,Md.tagName="DIV";let FL=Md;const Q1=FL,f1=class n2 extends ei{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof n2&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};f1.blotName="text",f1.scope=Xt.INLINE_BLOT;let zL=f1;const Tp=zL,$L=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Ka,AttributorStore:Xp,BlockBlot:ih,ClassAttributor:ha,ContainerBlot:Jp,EmbedBlot:ns,InlineBlot:J1,LeafBlot:ei,ParentBlot:aa,Registry:Xd,Scope:Xt,ScrollBlot:Q1,StyleAttributor:Uc,TextBlot:Tp},Symbol.toStringTag,{value:"Module"}));class pa extends ns{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}pa.blotName="break";pa.tagName="BR";let da=class extends Tp{};const HL={"&":"&","<":"<",">":">",'"':""","'":"'"};function Qp(r){return r.replace(/[&<>"']/g,e=>HL[e])}const $a=class $a extends J1{static compare(e,t){const n=$a.order.indexOf(e),o=$a.order.indexOf(t);return n>=0||o>=0?n-o:e===t?0:e<t?-1:1}formatAt(e,t,n,o){if($a.compare(this.statics.blotName,n)<0&&this.scroll.query(n,Xt.BLOT)){const i=this.isolate(e,t);o&&i.wrap(n,o)}else super.formatAt(e,t,n,o)}optimize(e){if(super.optimize(e),this.parent instanceof $a&&$a.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};ce($a,"allowedChildren",[$a,pa,ns,da]),ce($a,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let Xa=$a;const Sy=1;class Yo extends ih{constructor(){super(...arguments);ce(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=o2(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,o,i){n<=0||(this.scroll.query(o,Xt.BLOCK)?t+n===this.length()&&this.format(o,i):super.formatAt(t,Math.min(n,this.length()-t-1),o,i),this.cache={})}insertAt(t,n,o){if(o!=null){super.insertAt(t,n,o),this.cache={};return}if(n.length===0)return;const i=n.split(`
|
169
169
|
`),a=i.shift();a.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});let c=this;i.reduce((d,h)=>(c=c.split(d,!0),c.insertAt(0,h),h.length),t+a.length)}insertBefore(t,n){const{head:o}=this.children;super.insertBefore(t,n),o instanceof pa&&o.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+Sy),this.cache.length}moveChildren(t,n){super.moveChildren(t,n),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n&&(t===0||t>=this.length()-Sy)){const i=this.clone();return t===0?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}const o=super.split(t,n);return this.cache={},o}}Yo.blotName="block";Yo.tagName="P";Yo.defaultChild=pa;Yo.allowedChildren=[pa,Xa,ns,da];class Ts extends ns{attach(){super.attach(),this.attributes=new Xp(this.domNode)}delta(){return new Yt().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,Xt.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,o){this.format(n,o)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const o=t.split(`
|
170
170
|
`),i=o.pop(),a=o.map(d=>{const h=this.scroll.create(Yo.blotName);return h.insertAt(0,d),h}),c=this.split(e);a.forEach(d=>{this.parent.insertBefore(d,c)}),i&&this.parent.insertBefore(this.scroll.create("text",i),c)}}Ts.scope=Xt.BLOCK_BLOT;function o2(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(ei).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),As(n,{},e)),new Yt).insert(`
|
@@ -354,11 +354,11 @@ received: ${r.quality}
|
|
354
354
|
received: ${r.imageType}
|
355
355
|
-> using default image/jpeg`),r.imageType="image/jpeg"),r.keepImageTypes||(r.keepImageTypes=[]),r.keepImageTypes&&!Array.isArray(r.keepImageTypes)&&(e.warn(`quill.imageCompressor: [config error] 'keepImageTypes' is required to be a "array", received: ${r.keepImageTypes} -> using default []`),r.keepImageTypes=[]),r.ignoreImageTypes||(r.ignoreImageTypes=[]),r.ignoreImageTypes&&!Array.isArray(r.ignoreImageTypes)&&(e.warn(`quill.imageCompressor: [config error] 'ignoreImageTypes' is required to be a "array", received: ${r.ignoreImageTypes} -> using default []`),r.ignoreImageTypes=[]),r.handleOnPaste&&typeof r.handleOnPaste!="boolean"&&typeof r.handleOnPaste!="function"&&(e.warn(`quill.imageCompressor: [config error] 'handlePaste' is required to be a "boolean" or a "function", received: ${r.ignoreImageTypes} -> using default true`),r.handleOnPaste=!0),r.insertIntoEditor&&typeof r.insertIntoEditor!="function"&&(e.warn(`quill.imageCompressor: [config error] 'insertIntoEditor' is required to be a "function", received: ${r.insertIntoEditor} -> using default undefined`),r.insertIntoEditor=void 0)}function fb(r){return!!r.match(/^image\/(gif|jpe?g|a?png|svg|webp|bmp)/i)}class QN{constructor(e,t,n,o){ce(this,"localDrag",!1);this.quill=e,this.onNewDataUrl=t,this.logger=n,this.handleOnPaste=o,this.quill.root.addEventListener("dragstart",i=>this.handleDragStart(i),!1),this.quill.root.addEventListener("dragend",i=>this.handleDragEnd(i),!1),this.quill.root.addEventListener("drop",i=>this.handleDrop(i),!0),this.handleOnPaste!==!1&&this.quill.root.addEventListener("paste",i=>this.handlePaste(i),!0)}handleDragStart(e){this.localDrag=!0}handleDragEnd(e){this.localDrag=!1}async handleDrop(e){var i,a,c,d;if(this.localDrag)return;if(e.preventDefault(),document.caretRangeFromPoint){const h=document.getSelection(),p=document.caretRangeFromPoint(e.clientX,e.clientY);h&&p&&h.setBaseAndExtent(p.startContainer,p.startOffset,p.startContainer,p.startOffset)}this.logger.log("handleDrop",{evt:e});const t=(i=e.dataTransfer)==null?void 0:i.files,n=Array.from(t||[]).filter(h=>fb(h.type));if(n.length>0){e.stopPropagation(),this.logger.log("handleDrop","found files",{evt:e,files:t,imageFiles:n}),await this.pasteFilesIntoQuill(n);return}if((a=e.dataTransfer)!=null&&a.items){e.stopPropagation(),this.logger.log("handleDrop","found items",{evt:e,files:t,imageFiles:n}),await this.handleDataTransferList((c=e.dataTransfer)==null?void 0:c.items,e);return}const o=(d=e.dataTransfer)==null?void 0:d.getData("URL");if(this.logger.log("handleDrop","trying getData('URL')",{draggedUrl:o}),o){const h=await(await fetch(o)).blob();this.logger.log("handleDrop","blob from drag event",{evt:e,files:t,imageFiles:n}),await this.pasteFilesIntoQuill([h])}}async handlePaste(e){var t;typeof this.handleOnPaste=="function"&&!this.handleOnPaste(e)||await this.handleDataTransferList((t=e.clipboardData)==null?void 0:t.items,e)}async handleDataTransferList(e,t){const n=Array.from(e||[]),o=n.filter(c=>c.kind==="file"&&fb(c.type)),i=n.map(c=>({type:c.type,kind:c.kind}));if(this.logger.log("handleDataTransferList",{fileTypes:i,imageCount:o.length}),!o.length)return;t.preventDefault(),t.stopPropagation();const a=o.map(c=>c.getAsFile());await this.pasteFilesIntoQuill(a)}async pasteFilesIntoQuill(e){this.logger.log(" pasteFilesIntoQuill",`pasting ${e.length} images...`),await Promise.all(e.map(async(t,n)=>{if(!t)return;const o=await J2(t);this.logger.log(" pasteFilesIntoQuill",`pasting image (${n})`),this.onNewDataUrl(o)})),this.logger.log(" pasteFilesIntoQuill","done")}}class fh{constructor(e,t){ce(this,"quill");ce(this,"range");ce(this,"options");ce(this,"imageDrop");ce(this,"fileHolder");ce(this,"Logger");this.quill=e,this.options=t||{};const n=!!t.debug,o=!!t.suppressErrorLogging;this.Logger=new YN(n,o),JN(t,this.Logger);const i=async c=>{this.Logger.log("onImageDrop",{dataUrl:c});const d=await this.downscaleImageFromUrl(c);this.insertToEditor(d,fh.b64toBlob(d))};this.imageDrop=new QN(e,i,this.Logger,typeof this.options.handleOnPaste=="function"?this.options.handleOnPaste:this.options.handleOnPaste!==!1),this.Logger.log("fileChanged",{options:t,quill:e,debug:n});const a=this.quill.getModule("toolbar");a?a.addHandler("image",()=>this.selectLocalImage()):this.Logger.error("Quill toolbar module not found! need { toolbar: // options } in Quill.modules for image icon to sit in")}static b64toBlob(e){const t=atob(e.split(",")[1]),n=e.slice(5).split(";")[0],o=new ArrayBuffer(t.length);let i=new Uint8Array(o);for(let a=0;a<t.length;a++)i[a]=t.charCodeAt(a);return new Blob([o],{type:n})}destroy(){this.imageDrop&&console.warn("ImageDrop instance cleanup")}selectLocalImage(e){this.range=this.quill.getSelection(),this.fileHolder=document.createElement("input"),this.fileHolder.setAttribute("type","file"),this.fileHolder.setAttribute("accept","image/*"),this.fileHolder.setAttribute("style","visibility:hidden"),this.fileHolder.onchange=()=>this.fileChanged().then(()=>e&&e()),document.body.appendChild(this.fileHolder),this.fileHolder.click(),window.requestAnimationFrame(()=>{this.fileHolder&&document.body.removeChild(this.fileHolder)})}async fileChanged(e){var a;const t=e||((a=this.fileHolder)==null?void 0:a.files);if(!t||!t.length)return;const n=t[0];if(this.Logger.log("fileChanged",{file:n}),!n)return;const o=await J2(n),i=await this.downscaleImageFromUrl(o);this.insertToEditor(i,fh.b64toBlob(i))}async downscaleImageFromUrl(e){const t=await XN(this.Logger,e,this.options.maxWidth,this.options.maxHeight,this.options.imageType,this.options.keepImageTypes,this.options.ignoreImageTypes,this.options.quality);return this.Logger.log("downscaleImageFromUrl",{dataUrl:e,dataUrlCompressed:t}),t}insertToEditor(e,t){if(this.options.insertIntoEditor)this.options.insertIntoEditor(e,t,this.quill);else{this.Logger.log("insertToEditor",{url:e}),this.range=this.quill.getSelection();const n=this.range;if(!n)return;this.logFileSize(e),this.quill.insertEmbed(n.index,"image",`${e}`,"user"),n.index++,this.quill.setSelection(n,"api")}}logFileSize(e){const o=(Math.round((e.length-"data:image/png;base64,".length)*3/4)/1024).toFixed(0);this.Logger.log("estimated img size: "+o+" kb")}}window.imageCompressor=fh;const hh={OVERLAY:"ql-image-resizer-overlay",HANDLE:"ql-image-resizer-handle",DISPLAY:"ql-image-resizer-display",TOOLBAR:"ql-image-resizer-toolbar",TOOLBAR_BUTTON:"ql-image-resizer-toolbar-button"},Ec={BACKSPACE:8,DELETE:46,LEFT:37,UP:38,RIGHT:39,DOWN:40},sp=(r,e)=>{const t=r?"top":"bottom",n=e?"left":"right",o=r===e?"nwse-resize":"nesw-resize";return{[t]:"-5px",[n]:"-5px",cursor:o}},eP={tl:sp(!0,!0),tr:sp(!0,!1),bl:sp(!1,!0),br:sp(!1,!1)},tP={modules:["DisplaySize","Toolbar","Resize","Keyboard"],embedTags:["VIDEO","IFRAME"],tools:["left","center","right","justify"],contentOptions:[{attribute:["width"],limit:{minWidth:100},blotName:"image"},{attribute:["width","height"],limit:{minWidth:200,ratio:.5625},blotName:"video"}]},rP=Ie.import("formats/image");class mp extends rP{static get ATTRIBUTES(){return["alt","height","width","class","style","data-align"]}static formats(e){return this.ATTRIBUTES.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)||""),t),{})}format(e,t){this.constructor.ATTRIBUTES.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}}ce(mp,"blotName","image"),ce(mp,"tagName","img"),ce(mp,"scope",Xt.INLINE);Ie.register("formats/image",mp,!0);class wh{constructor(e){ce(this,"resizer");ce(this,"quill");ce(this,"overlay");ce(this,"activeEle");ce(this,"blot");ce(this,"options");ce(this,"requestUpdate");this.resizer=e,this.quill=e.quill,this.overlay=e.overlay,this.activeEle=e.activeEle,this.blot=e.blot,this.options=e.options,this.requestUpdate=()=>e.onUpdate(!0)}onCreate(){}onDestroy(){}onUpdate(){}}class nP extends wh{constructor(){super(...arguments);ce(this,"display")}onCreate(){var t;this.display=document.createElement("div"),this.display.className=Mi[hh.DISPLAY],(t=this.overlay)==null||t.appendChild(this.display)}onUpdate(){if(!this.display||!this.activeEle)return;const[t,n]=[this.activeEle.offsetWidth,this.activeEle.offsetHeight];this.display.innerHTML=`${t} × ${n}`,this.positionDisplay(t,n)}positionDisplay(t,n){var c;if(!this.display)return;const o=this.display.getBoundingClientRect(),i=t>120&&n>30,a=((c=this.activeEle)==null?void 0:c.style.float)==="right";Object.assign(this.display.style,{right:i?"4px":a?"auto":`-${o.width+4}px`,bottom:i?"4px":`-${o.height+4}px`,left:i?"auto":a?`-${o.width+4}px`:"auto"})}}class oP extends wh{constructor(){super(...arguments);ce(this,"boxes",[]);ce(this,"dragBox",null);ce(this,"dragStartX",0);ce(this,"dragStartY",0);ce(this,"contentOption");ce(this,"preDragSize",{width:0,height:0});ce(this,"naturalSize",[0,0]);ce(this,"handleDragProxy",null);ce(this,"handleMouseupProxy",null);ce(this,"handleMousedown",t=>{!this.blot||!this.activeEle||(this.dragBox=t.target,this.dragStartX=t.clientX,this.dragStartY=t.clientY,this.preDragSize={width:this.activeEle.offsetWidth,height:this.activeEle.offsetHeight},this.naturalSize=this.getNaturalSize(),this.setCursor(window.getComputedStyle(this.dragBox).cursor),this.handleDragProxy=this.handleDrag.bind(this),this.handleMouseupProxy=this.handleMouseup.bind(this),document.addEventListener("mousemove",this.handleDragProxy,!0),document.addEventListener("mouseup",this.handleMouseupProxy,!0))});ce(this,"handleMouseup",t=>{if(!this.activeEle||!this.blot||!this.contentOption)return;const n=this.calcSize(t,this.contentOption.limit);Object.assign(this.activeEle,n),Object.assign(this.activeEle.style,{width:null,height:null}),this.setCursor(""),this.removeEventListeners()});ce(this,"handleDrag",t=>{!this.activeEle||!this.blot||!this.contentOption||(Object.assign(this.activeEle.style,this.calcSize(t,{...this.contentOption.limit,unit:!0})),this.requestUpdate())});ce(this,"handleDoubleClick",t=>{if(!this.blot||!this.activeEle||!this.contentOption)return;t.stopPropagation();const[n,o]=this.naturalSize,i={};this.contentOption.attribute.includes("width")&&(i.width=n),this.contentOption.attribute.includes("height")&&(i.height=o);const a=this.applyConstraints(i,this.contentOption.limit);Object.assign(this.activeEle,a),this.requestUpdate()})}onCreate(){!this.blot||!this.options.contentOptions||(this.contentOption=this.options.contentOptions.find(t=>t.blotName===this.blot.statics.blotName),this.boxes=[],["tl","tr","br","bl"].forEach(this.addBox.bind(this)))}onDestroy(){this.setCursor("")}addBox(t){var o;const n=document.createElement("div");n.className=`${Mi[hh.HANDLE]} ${t}`,n.addEventListener("mousedown",this.handleMousedown,!1),n.addEventListener("dblclick",this.handleDoubleClick,!1),Object.assign(n.style,eP[t]),(o=this.overlay)==null||o.appendChild(n),this.boxes.push(n)}removeEventListeners(){this.handleDragProxy&&(document.removeEventListener("mousemove",this.handleDragProxy,!0),this.handleDragProxy=null),this.handleMouseupProxy&&(document.removeEventListener("mouseup",this.handleMouseupProxy,!0),this.handleMouseupProxy=null)}calcSize(t,n={}){var d;if(!this.dragBox||!this.activeEle)return{};const o=t.clientX-this.dragStartX,i=t.clientY-this.dragStartY,a=this.dragBox===this.boxes[0]||this.dragBox===this.boxes[3]?-1:1,c={};return(d=this.contentOption)!=null&&d.attribute?this.contentOption.attribute.forEach(h=>c[h]=this.preDragSize[h]):c.width=this.preDragSize.width,c.width&&(c.width=Math.round(this.preDragSize.width+o*a)),c.height&&(c.height=Math.round(this.preDragSize.height+i*a)),this.applyConstraints(c,n)}applyConstraints(t,n={}){const o=typeof t.width=="string"?parseInt(t.width,10):t.width||0,i=typeof t.height=="string"?parseInt(t.height,10):t.height||0;let a=o,c=i;if(n.ratio){a=this.applyLimit(a,n.minWidth,n.maxWidth),c=a*n.ratio;const h=this.applyLimit(c,n.minHeight,n.maxHeight);h!==c&&(c=h,a=c/n.ratio)}else o&&(a=this.applyLimit(a,n.minWidth,n.maxWidth)),i&&(c=this.applyLimit(c,n.minHeight,n.maxHeight));const d={};return t.width!==void 0&&(d.width=n.unit?`${a}px`:a),t.height!==void 0&&(d.height=n.unit?`${c}px`:c),d}applyLimit(t,n,o){let i=t;return n!==void 0&&(i=Math.max(n,i)),o!==void 0&&(i=Math.min(o,i)),i}getNaturalSize(){if(!this.activeEle)return[0,0];const t=this.activeEle.getAttribute("data-size");if(!t){const n=this.activeEle,o=[n.offsetWidth,n.offsetHeight];return n.setAttribute("data-size",o.join(",")),o}return t.split(",").map(Number)}setCursor(t){[document.body,this.activeEle].forEach(n=>n&&(n.style.cursor=t))}}const Ic=class Ic extends wh{constructor(){super(...arguments);ce(this,"keyboardProxy",null)}static injectInit(t){var o;const n=(o=t.keyboard)==null?void 0:o.bindings;n&&[Ic.keys.LEFT,Ic.keys.RIGHT].forEach(i=>(n[i]||[]).unshift(Ic.makeArrowHandler(i)))}static makeArrowHandler(t){const n=t===Ic.keys.LEFT;return{key:t,shiftKey:!1,altKey:null,[n?"prefix":"suffix"]:/^$/,handler(o){const i=this.quill;if(!i.resizer)return!0;let a=o.index;const c=t===Ic.keys.RIGHT,[d]=i.getLine(a+(n?-1:0));if(!d)return!0;if(i.resizer.judgeShow(d))return!1;const h=i.getIndex(d);if(c&&h+d.length()-1===a)return!0;c&&(a+=o.length+1);const[p]=i.getLeaf(a);if(!p)return!0;const m=p.offset(p.parent),g=p.constructor&&"scope"in p.constructor&&p.constructor.scope===Xt.BLOCK_BLOT;if(n&&(g&&a===m||a===0||a===h))return!0;let v=p;if(n&&m===0){const[w]=i.getLeaf(a-1);w&&(v=w)}return!v||!i.resizer.judgeShow(v)}}}onCreate(){this.keyboardProxy=this.keyboardHandle.bind(this),document.addEventListener("keydown",this.keyboardProxy,!0)}onDestroy(){this.keyboardProxy&&document.removeEventListener("keydown",this.keyboardProxy,!0)}keyboardHandle(t){if(t.defaultPrevented||t.shiftKey||t.ctrlKey||t.altKey||!this.activeEle)return;const n=t.keyCode;let o=this.blot.offset(this.quill.scroll),i=null,a=!1;n===Ec.BACKSPACE||n===Ec.DELETE?(this.handleDelete(),a=!0):n>=Ec.LEFT&&n<=Ec.DOWN&&([o,i]=this.handleArrowKeys(n,o),a=!0),a&&(t.stopPropagation(),t.preventDefault()),!(i&&this.resizer.judgeShow(i,i.domNode))&&(this.quill.setSelection(o),this.resizer.hide())}handleDelete(){this.blot&&(this.blot.deleteAt(0,1),this.blot.parent.optimize({}))}handleArrowKeys(t,n){let o=null;return t===Ec.RIGHT?n+=this.blot.length()||1:t===Ec.UP?(n=this.getOtherLineIndex(-1),o=this.quill.getLeaf(n)[0]):t===Ec.DOWN&&(n=this.getOtherLineIndex(1),o=this.quill.getLeaf(n)[0]),[n,o]}getOtherLineIndex(t){if(!this.blot)return 0;const n=this.blot.offset(this.quill.scroll),[o]=this.quill.getLine(n);if(!o)return n;const i=this.blot.offset(o)+1,a=t>0?o.next:o.prev;if(!a)return n;let c=a.length();return a.statics.blotName==="block"&&c--,a.offset(this.quill.scroll)+Math.min(c,i)}};ce(Ic,"keys",Ec);let Bp=Ic;const jd=class jd extends wh{constructor(t){super(t);ce(this,"toolbar");ce(this,"blot");this.blot=t.blot}createStyleTool(t,n){const o={left:{float:"left"},right:{float:"right"},center:{display:"block",margin:"0 auto",float:"none"},justify:{display:"block",float:"none",margin:"0",width:"100%"}};return{icon:t,apply:i=>{const a=o[n];Object.assign(i.style,a),i.setAttribute("data-align",n)},isApplied:i=>{const a=i.style;switch(n){case"center":return a.float==="none";case"justify":return a.display==="block"&&a.width==="100%";case"left":case"right":return a.float===n;default:return!1}}}}onCreate(){var t;this.toolbar=document.createElement("div"),this.toolbar.className=Mi[hh.TOOLBAR],(t=this.overlay)==null||t.appendChild(this.toolbar),Object.keys(jd.Tools).forEach(n=>{const o=n;jd.Tools[o]=this.createStyleTool(jd.Tools[o].icon,o)}),this._addToolbarButtons()}_addToolbarButtons(){if(!this.toolbar||!this.activeEle)return;const{Tools:t}=this.constructor;this.options.tools.forEach(n=>{const o=n,i=t[o];if(!i)return;const a=document.createElement("button");a.type="button",a.className=Mi[hh.TOOLBAR_BUTTON],a.innerHTML=yp.renderToString(S.jsx(ln,{icon:i.icon,size:"xs"})),a.setAttribute("data-tool",o),i.isApplied&&i.isApplied.call(this,this.activeEle)&&(a.style.backgroundColor="var(--AEditor_Addon_Secondary_color)"),this.addButtonClickHandler(a,i),this.toolbar.appendChild(a)})}addButtonClickHandler(t,n){!this.activeEle||!this.blot||t.addEventListener("click",o=>{var a;if(o.stopPropagation(),n.handler&&n.handler.call(this,o,t,this.activeEle)!==!0)return;const i=n.isApplied&&n.isApplied.call(this,this.activeEle);return this.toolbar&&Array.from(this.toolbar.querySelectorAll("button")).forEach(c=>c.style.backgroundColor=""),i?(this.activeEle.style.cssText="",this.activeEle.setAttribute("data-align","")):(t.style.backgroundColor="var(--AEditor_Addon_Secondary_color)",(a=n.apply)==null||a.call(n,this.activeEle)),this.requestUpdate(),!1})}};ce(jd,"Tools",{left:{icon:"AlignLeft"},center:{icon:"AlignCenter"},right:{icon:"AlignRight"},justify:{icon:"AlignJustify"}});let T1=jd;class Q2{constructor(e,t={}){ce(this,"quill");ce(this,"options");ce(this,"moduleClasses");ce(this,"modules",[]);ce(this,"blot");ce(this,"selectedBlots",[]);ce(this,"embedClassName","");ce(this,"activeEle");ce(this,"overlay");ce(this,"updateFromModule",!1);ce(this,"hideProxy",null);ce(this,"updateOverlayPositionProxy",null);var o;e.resizer=this,this.quill=e;const n=t.modules?[...t.modules]:null;this.options={...tP,...t},n&&(this.options.modules=n),document.execCommand("enableObjectResizing",!1,"false"),this.moduleClasses=this.options.modules,this.quill.root.addEventListener("mousedown",this.handleClick.bind(this),!1),this.quill.on("text-change",this.handleChange.bind(this)),this.quill.container.style.position=this.quill.container.style.position||"relative",this.quill.on("selection-change",this.addBlotsSelectedClass.bind(this)),Bp.injectInit(this.quill),(o=this.options.embedTags)!=null&&o.length&&this.initializeEmbed()}initializeModules(){this.modules.forEach(e=>e.onDestroy()),this.modules=[],this.modules=this.moduleClasses.map(e=>new(this.constructor.Modules[e]||e)(this)),this.modules.forEach(e=>e.onCreate()),this.repositionElements(),this.modules.forEach(e=>e.onUpdate())}initializeEmbed(){if(!this.options.embedTags.length)return;this.embedClassName=`ql-${Array.from({length},()=>[Math.floor(Math.random()*62)]).join("")}`;const e=[""].concat(this.options.embedTags).join(`, .${this.embedClassName} `).slice(2)+"{pointer-events: none;}",t=document.createElement("style");t.textContent=e,this.quill.container.appendChild(t),this.quill.root.classList.add(this.embedClassName)}onUpdate(e){this.updateFromModule=!!e,this.repositionElements(),this.modules.forEach(t=>t.onUpdate())}handleClick(e){if(this.overlay&&(e.target===this.overlay||this.overlay.contains(e.target)))return;let t=e.target;if(t=this.getEventTarget(e,t),t!=null&&t.tagName){const n=this.quill.scroll.find(t);if(n&&this.judgeShow(n,t)){e.preventDefault();return}}this.activeEle&&this.hide()}getEventTarget(e,t){var i;const n=(i=this.options.embedTags)==null?void 0:i.join();if(!n)return t;const o=this.quill.root;return(t===o||t.querySelectorAll(n).length)&&(o.classList.remove(this.embedClassName),t=document.elementFromPoint(e.clientX,e.clientY),o.classList.add(this.embedClassName)),t}judgeShow(e,t){if(!e||!this.options.contentOptions)return!1;!t&&e.domNode&&(t=e.domNode);const n=this.options.contentOptions.find(i=>i.blotName===e.statics.blotName);if(!n)return!1;if(this.activeEle===t)return!0;const o=n.limit||{};return!o.minWidth||o.minWidth&&t.offsetWidth>=o.minWidth?(this.activeEle&&this.hide(),this.activeEle=t,this.blot=e,this.showOverlay(),this.initializeModules(),!0):!1}handleChange(e,t,n){if(this.updateFromModule){this.updateFromModule=!1;return}n!=="user"||!this.overlay||!this.activeEle||this.onUpdate()}showOverlay(){this.overlay&&this.hideOverlay(),this.quill.setSelection(null),[document.body,this.quill.root].forEach(e=>e.style.userSelect="none"),this.overlay=document.createElement("div"),this.overlay.className=`${Mi[hh.OVERLAY]}`,this.overlay.addEventListener("wheel",e=>{e.stopPropagation(),this.quill.root.scrollTop+=e.deltaY*.5},{passive:!0}),this.quill.container.appendChild(this.overlay),this.hideProxy=()=>this.activeEle&&this.hide(),this.updateOverlayPositionProxy=()=>this.overlay&&(this.overlay.style.marginTop=-1*this.quill.root.scrollTop+"px"),this.quill.root.addEventListener("input",this.hideProxy,!0),this.quill.root.addEventListener("scroll",this.updateOverlayPositionProxy),this.repositionElements()}hideOverlay(){this.overlay&&(this.quill.container.removeChild(this.overlay),this.overlay=void 0,this.hideProxy&&this.quill.root.removeEventListener("input",this.hideProxy,!0),this.updateOverlayPositionProxy&&this.quill.root.removeEventListener("scroll",this.updateOverlayPositionProxy),[document.body,this.quill.root].forEach(e=>e.style.userSelect=""))}repositionElements(){if(!this.overlay||!this.activeEle)return;const e=this.quill.container,t=this.activeEle.getBoundingClientRect(),n=e.getBoundingClientRect();Object.assign(this.overlay.style,{left:`${t.left-n.left-1+e.scrollLeft}px`,top:`${t.top-n.top+this.quill.root.scrollTop}px`,width:`${t.width}px`,height:`${t.height}px`,marginTop:-1*this.quill.root.scrollTop+"px"})}addBlotsSelectedClass(e){if(!e){this.selectedBlots=[];return}try{const t=o=>{var i;return((i=o.statics)==null?void 0:i.blotName)==="image"},n=this.quill.scroll.descendants(t,e.index,e.length);this.selectedBlots=n.filter(o=>!o.statics||!this.options.contentOptions?!1:!!this.options.contentOptions.find(i=>i.blotName===o.statics.blotName))}catch{}}hide(){this.hideOverlay(),this.modules.forEach(e=>e.onDestroy()),this.modules=[],this.activeEle=void 0,this.blot=void 0}}ce(Q2,"Modules",{Base:wh,DisplaySize:nP,Toolbar:T1,Resize:oP,Keyboard:Bp});const ap=Ie.import("delta"),iP=Ie.import("modules/clipboard");function sP(r){let e=Number.parseFloat(r.getAttribute("width")||String(jn.colDefaultWidth));if(Number.isNaN(e)){const t=r.style.width;e=t?Number.parseFloat(t):r.offsetWidth}return e}function aP(r,e){const t=new Array(e).fill(jn.colDefaultWidth),n=Array.from(r.querySelectorAll("tr"));for(const o of n){const i=Array.from(o.querySelectorAll("td"));for(const[a,c]of i.entries())if(a<e){const d=sP(c);t[a]=d||t[a]}else break}return t}class lP extends iP{constructor(t,n){super(t,n);ce(this,"tableId",Lo());ce(this,"rowId",Lo());ce(this,"colIds",[]);ce(this,"rowspanCount",[]);ce(this,"cellCount",0);ce(this,"colCount",0);ce(this,"STYLE_PROPERTIES",["color","background","background-color","mso-pattern","border","border-color","border-top","border-right","border-bottom","border-left"]);this.quill=t,this.addMatcher("table",this.matchTable.bind(this)),this.addMatcher("colgroup",this.matchColgroup.bind(this)),this.addMatcher("col",this.matchCol.bind(this)),this.addMatcher("tr",this.matchTr.bind(this)),this.addMatcher("td",this.matchTd.bind(this)),this.addMatcher("th",this.matchTd.bind(this)),this.addMatcher("caption",this.matchCaption.bind(this))}matchTable(t,n){if(n.ops.length===0)return n;const o=[],i=[];let a=-1;for(let h=0;h<n.ops.length;h++){const{attributes:p,insert:m}=n.ops[h],{table:g,[$e.tableCell]:v,...w}=p||{},E=Od.isObject(m)&&m[$e.tableCol];E?i.push({insert:m}):o.push({attributes:w,insert:m}),!(w!=null&&w[$e.tableCellInner])&&!E&&(a=h)}const d=aP(t,this.colIds.length).reduce((h,p,m)=>(i[m]?h.push(i[m]):h.push({insert:{[$e.tableCol]:{tableId:this.tableId,colId:this.colIds[m],width:p,full:!0}}}),h),[]);return o.splice(a+1,0,...d),this.tableId=Lo(),this.colIds=[],this.rowspanCount=[],this.cellCount=0,this.colCount=0,new ap(o)}matchColgroup(t,n){const o=[];for(let i=0;i<n.ops.length;i++){const a=n.ops[i];a&&Od.isObject(a.insert)&&a.insert[$e.tableCol]&&o.push(a)}return new ap(o)}matchCol(t){this.colIds[this.colCount]=Lo();const n=new ap().insert({[$e.tableCol]:Object.assign(Ol.value(t),{tableId:this.tableId,colId:this.colIds[this.colCount]})});return this.colCount+=1,n}matchTr(t,n){this.rowId=Lo(),this.cellCount=0;for(const[o,i]of this.rowspanCount.entries())i.rowspan>0&&(i.rowspan-=1),i.rowspan<=0&&(this.rowspanCount[o]={rowspan:0,colspan:0});return n}matchTd(t,n){const o=t,i=xo.formats(o);if(!this.colIds[this.cellCount]||!this.rowspanCount[this.cellCount])for(let p=this.cellCount;p>=0;p--)this.colIds[p]||(this.colIds[p]=Lo()),this.rowspanCount[p]||(this.rowspanCount[p]={rowspan:0,colspan:0});const{colspan:a}=this.rowspanCount[this.cellCount];this.cellCount+=a,i.rowspan>0&&(this.rowspanCount[this.cellCount]={rowspan:i.rowspan,colspan:i.colspan});const c=this.colIds[this.cellCount];this.cellCount+=i.colspan;const d=Object.assign(i,{tableId:this.tableId,rowId:this.rowId,colId:c});this.handleBorderNoneStyles(o,d);const h=[];for(const p of n.ops){const{attributes:m={},...g}=p,{[$e.tableCell]:v,...w}=m;h.push({...g,attributes:{...w,[$e.tableCellInner]:d}})}return(h.length<=0||!Od.isString(h[h.length-1].insert)||!h[h.length-1].insert.endsWith(`
|
356
356
|
`))&&h.push({insert:`
|
357
|
-
`,attributes:{[$e.tableCellInner]:d}}),new ap(h)}handleBorderNoneStyles(t,n){if(!(n!=null&&n.style))return;["border",...["top","right","bottom","left"].flatMap(i=>[`border-${i}`,`border-${i}-style`])].filter(i=>t.style[i]==="none").forEach(i=>n.style=n.style.replaceAll(new RegExp(`${i}:none;?`,"g"),""))}convert({html:t,text:n},o={}){if(t){const c=new DOMParser().parseFromString(t,"text/html");this.preprocessTableHtml(c),this.mergeClassStylesToInline(c),t=c.body.innerHTML}const i=super.convert({html:t,text:n},o);if(o[$e.tableCellInner])for(const a of i.ops){if(Od.isObject(a.insert)&&a.insert[$e.tableCol]){a.insert="";continue}a.attributes||(a.attributes={}),a.attributes[$e.tableCellInner]=o[$e.tableCellInner]}return i}parseStyleWithFilter(t,n){if(!t)return{};const o={};let i="",a="",c=!0,d=0;for(let h=0;h<t.length;h++){const p=t[h];p===":"&&c?(i=t.substring(d,h).trim(),d=h+1,c=!1):p===";"&&(!c&&i&&(a=t.substring(d,h).trim(),(!n||n(i))&&(o[i]=a)),d=h+1,c=!0)}return!c&&i&&d<t.length&&(a=t.substring(d).trim(),(!n||n(i))&&(o[i]=a)),o}mergeClassStylesToInline(t){var n;try{const o=t.querySelectorAll("td[class], th[class]");if(o.length===0)return;const i=new Set;for(const p of o)(p.getAttribute("class")||"").split(/\s+/).filter(Boolean).forEach(g=>i.add(g));if(i.size===0)return;const a=t.querySelectorAll("style");if(a.length===0)return;const c=Array.from(a).map(p=>p.textContent||"").join("");if(!c)return;const d={},h=p=>this.STYLE_PROPERTIES.some(m=>p.startsWith(m));for(const p of i){const m=new RegExp(`\\.${p}[^{]*{([^}]*)}`,"g");let g;for(;(g=m.exec(c))!==null;){const v=g[1],w=this.parseStyleWithFilter(v),E={};let _=!1;for(const A in w)h(A)&&(E[A]=w[A],_=!0);_&&(d[p]=E)}}if(Object.keys(d).length===0)return;for(let p=0;p<o.length;p++){const m=o[p],g=((n=m.getAttribute("class"))==null?void 0:n.split(/\s+/).filter(Boolean))||[],v=m.getAttribute("style")||"",w=this.parseStyleWithFilter(v);let E=!1;for(const _ of g){const A=d[_];if(A)for(const k in A)w[k]||(w[k]=A[k],E=!0)}if(E){let _="";for(const A in w)_+=A+":"+w[A]+";";_&&m.setAttribute("style",_)}m.removeAttribute("class")}}catch(o){console.error("스타일 처리 오류",o)}}matchCaption(t,n){for(let o=0;o<n.ops.length;o++){const i=n.ops[o],{attributes:a}=i;a&&a[$e.tableCaption]&&(a[$e.tableCaption].tableId=this.tableId,i.attributes=a)}return n}preprocessTableHtml(t){try{const n=t.querySelectorAll("table");for(const o of Array.from(n))o.querySelectorAll("tr").length!==0&&(this.cleanupTableStyles(o),this.applyRowspanHeights(o),this.fixRowspanCells(o));this.mergeClassStylesToInline(t)}catch(n){console.error("테이블 전처리 오류",n)}}cleanupTableStyles(t){const n=t.querySelectorAll("td, th, tr, colgroup");for(const o of n){const i=o;i.removeAttribute("height");const a=i.getAttribute("style");if(a){const c=a.replace(/height\s*:[^;]*;?/gi,"").trim();i.setAttribute("style",c||"")}}}applyRowspanHeights(t){const o=t.querySelectorAll("td, th");t.style.borderCollapse="collapse";for(const i of o){const a=i,d=parseInt(a.getAttribute("rowspan")||"1")*24,h=a.getAttribute("style")||"",p=h+(h?"; ":"")+`height: ${d}px`;a.setAttribute("style",p)}}fixRowspanCells(t){const n=t.querySelectorAll("tr");if(n.length<=1)return;const o=[],i=new Map;for(let a=0;a<n.length;a++){const d=n[a].querySelectorAll("td, th");if(d.length===0&&a<n.length-1){o.push(a);continue}for(const h of Array.from(d)){const p=parseInt(h.getAttribute("rowspan")||"1");if(p>1)for(let m=1;m<p;m++){const g=a+m;if(g>=n.length)break;i.has(g)||i.set(g,[]),i.get(g).push(h)}}}o.length>0&&this.processEmptyRows(o,n,i)}processEmptyRows(t,n,o){for(const i of t){const a=o.get(i);if(a)for(const c of a){const d=parseInt(c.getAttribute("rowspan")||"1");d>1&&c.setAttribute("rowspan",(d-1).toString())}}for(const i of t.reverse())n[i].remove()}}const cP=()=>{const r=[1,2,3,!1,4],e=Ie.import("ui/icons");e.divider=yp.renderToString(S.jsx(ln,{icon:"Minus",strokeWidth:2.5}));const t=Ie.import("blots/block/embed");class n extends t{static create(a){const c=super.create(a);return c.style.border="var(--AEditor_Addon_Primary_border)",c.style.borderBottom="none",c.style.transition="border var(--Transition)",c}}ce(n,"blotName","divider"),ce(n,"tagName","hr");class o extends Pp{fixUnusuaDeletelTable(){}mergeCells(a){if(!this.table||!this.tableSelection)return;const c=this.tableSelection.selectedTds||[];if(c.length>1&&(a=c),!a||a.length<=1)return;const d=Un(a[0],$e.tableMain),h=d.getRows(),p=a.map(A=>{if(!A||!A.parent||!A.parent.domNode)return null;const k=A.parent.domNode;if(!k)return null;const D=h.findIndex(j=>j.rowId===A.rowId);if(D===-1)return null;const I=A.getColumnIndex();if(I===-1)return null;const P=k.getBoundingClientRect();return!P||P.width===0||P.height===0?null:{td:A,rowIndex:D,colIndex:I,rowspan:A.rowspan,colspan:A.colspan,visualLeft:P.left,visualRight:P.right,visualTop:P.top,visualBottom:P.bottom}}).filter(Boolean);if(p.length<=1)return;p.sort((A,k)=>A.visualTop-k.visualTop||A.visualLeft-k.visualLeft);const m=p[0],g=m.td,v=Math.max(...p.map(A=>A.rowIndex+A.rowspan-1)),w=Math.max(...p.map(A=>A.colIndex+A.colspan-1)),E=v-m.rowIndex+1,_=w-m.colIndex+1;for(const A of p)A.td!==g&&(A.td.moveChildren(g),A.td.parent.remove());g.rowspan=E,g.colspan=_,this.fixTableByRemove(d)}}return Ie.register({"modules/imageCompress":fh,"modules/resize":Q2,"modules/tableUp":o,"modules/magicUrl":YO,"formats/header":hP(r),"formats/divider":n,"modules/clipboard":lP},!0),{header:r,TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider",{[Pp.toolName]:[]},{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],TOOLBAR_TITLE:[["bold","italic","underline","strike",{color:[]},{background:[]},"clean"]]}};let nm=null;const uP=()=>(nm||(nm=cP()),nm),Pd={KB:1024,QUALITY:.7,IMAGE_SIZES:new Map},dP={getCharLength:r=>Array.from(r).length,calculateTextSize:r=>{if(!r.ops||r.ops.length===0)return 0;let e=0;for(const t of r.ops)if(typeof t.insert=="string")e+=new TextEncoder().encode(t.insert).length-1;else if(typeof t.insert=="object"&&t.insert.image){const n=t.insert.image;n&&(e+=Pd.IMAGE_SIZES.get(n)||Math.ceil(n.length*Pd.QUALITY))}return e}};function fP(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function hP(r){const e=Ie.import("formats/header");return e.whitelist=r,e}const pP=C.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:o,useValue:i,useError:a,placeholder:c,tabIndex:d,autoFocus:h,editorProps:p,wrapProps:m,helperText:g,label:v,labelProps:w,wrapType:E,style:_,minHeight:A,maxHeight:k,contentHeight:D,contentMaxHeight:I=1e3,toolbarSize:P="Med",toolbarType:j="Default",readOnly:W,limitPosition:F="Bottom",maxLength:G,size:pe=100,editorClassName:B,editorStyle:q,noImageResize:V,...ee}=r,ae=C.useMemo(()=>uP(),[]),ne=C.useMemo(()=>n==="ReadOnly"||W,[n,W]),oe=C.useMemo(()=>D?20:0,[D]),[le,ge]=C.useState(P==="Med"?40:50),te=C.useMemo(()=>ne?0:le,[ne,le]),[ie,ue]=C.useMemo(()=>!a||ne||F==="Top"?[0,0]:[20,6],[a,ne,F]),xe=C.useMemo(()=>ie+ue,[ie,ue]),[ke,se]=C.useState(D),[Ae,De]=C.useState(!1),[Ge,Ue]=C.useState(!1),we=C.useRef(null),Se=C.useRef(0),_e=C.useRef(0),Re=C.useMemo(()=>v?24:0,[v]),Me=C.useMemo(()=>j==="Title"?!0:void 0,[j]),tt=C.useMemo(()=>D||A||Me,[D,A,Me]),We=C.useMemo(()=>tt?"fit-content":k?k+Re:`calc(100% - ${Re}px)`,[tt,k,Re]),et=C.useMemo(()=>{if(D){if(ke)switch(n){case"ReadOnly":return ke;case"Raw":return ke+xe;default:return ke+te+xe}}else return},[D,ke,n,te,xe]),st=C.useMemo(()=>{if(!(!k||k<=te+xe))switch(n){case"ReadOnly":return k;case"Raw":return k-xe;default:return k-te-xe}},[n,te,xe,k]),ze=C.useMemo(()=>{if(A&&D){const it=Math.min(A-te-xe,D);return ne?it:it+te+xe}else return A||(D?void 0:`calc(100% - ${Re}px)`)},[A,D,Re,te,xe,ne]),Ke=C.useMemo(()=>fP(t)?"Error":n,[t,n]),bt=C.useCallback(it=>{const lt=document.createElement("div");return lt.innerHTML=it,new Ie(lt,{readOnly:!0}).getContents()},[]),[ht,dt]=gn(i,""),[St,Ve]=C.useState(()=>bt(ht));C.useEffect(()=>{dt===void 0&&Ve(bt(ht))},[bt,dt,ht]);const rt=C.useMemo(()=>S.jsx(gP,{htmlDelta:St,isReadonly:ne,limit:pe*Pd.KB,useError:a}),[St,ne,pe,a]),vt=C.useRef(null),Tt=C.useRef([]),[xt,Mt]=C.useState(!0);C.useEffect(()=>{const it=setTimeout(()=>Mt(!1),0);return()=>{clearTimeout(it),Tt.current.forEach(lt=>lt()),Tt.current=[]}},[]);const Vt=C.useCallback((it,lt)=>{if(!D)return lt;const At=A?A-te-xe:D,kt=Math.max(At,0),Lt=k?k-te-xe:I;return Math.min(Lt,Math.max(kt,lt+it))},[D,A,te,xe,k,I]),Ht=C.useCallback(it=>{if(!Ae||!D)return;const lt=it.clientY-_e.current,At=Vt(lt,Se.current);ke!==At&&se(At),it.preventDefault(),it.stopPropagation()},[Ae,D,Vt,ke]),hr=C.useCallback(it=>{De(!1),Ue(!1),document.removeEventListener("mousemove",Ht),document.removeEventListener("mouseup",hr),it.preventDefault(),it.stopPropagation()},[Ht]),_r=C.useCallback(it=>{if(!D)return;if(it.detail===2){se(D);return}ke===void 0?(se(D),Se.current=D):Se.current=ke,De(!0),Ue(!0),_e.current=it.clientY;const lt=kt=>{if(!D)return;const Lt=kt.clientY-_e.current,qt=Vt(Lt,Se.current);se(qt),kt.preventDefault(),kt.stopPropagation()},At=kt=>{De(!1),Ue(!1),document.removeEventListener("mousemove",lt),document.removeEventListener("mouseup",At),kt.preventDefault(),kt.stopPropagation()};document.addEventListener("mousemove",lt),document.addEventListener("mouseup",At),it.preventDefault(),it.stopPropagation()},[D,ke,Vt]),vr=C.useMemo(()=>P==="Med"?7.5:12.5,[P]),Ee=C.useCallback((it,lt,At,kt)=>{if(At!=="user")return;const Lt=kt.getContents(),qt=kt.getLength()-1,rr=G!==void 0&&qt>G,je=it.replace(/\s{2,}/g,ct=>" ".repeat(ct.length));if(!Me&&!rr){Ve(Lt),dt==null||dt(je);return}let Q=Lt;if(Me&&Q.ops){const ct=It=>It.replace(/\n/g," ");Q=new Yt({ops:Q.ops.map(It=>It.insert&&typeof It.insert=="string"?{...It,insert:ct(It.insert)}:It)})}rr&&(Q=de(Q,G)),Ve(Q);const me=new Ie(document.createElement("div"));me.setContents(Q);let Le=me.root.innerHTML;if(Me){Le=Le.replace(/<br\s*\/?>/g," ").replace(/\n/g," ");const ct=document.createElement("div");ct.innerHTML=Le;let It=ct.textContent||"";It=It.trim().replace(/\s{2,}/g,Rt=>" ".repeat(Rt.length)),Le=ct.innerHTML.replace(ct.textContent||"",It)}else Le=Le.replace(/\s{2,}/g,ct=>" ".repeat(ct.length));dt==null||dt(Le)},[Me,dt,G]),de=(it,lt)=>{var Lt,qt,rr;if(!it.ops)return it;const At=new Yt;let kt=0;for(const je of it.ops){if(kt>=lt)break;if(je.insert&&typeof je.insert=="string"){const Q=je.insert,me=lt-kt;if(Q.length<=me)(Lt=At.ops)==null||Lt.push(je),kt+=Q.length;else{const Le={...je,insert:Q.substring(0,me)};(qt=At.ops)==null||qt.push(Le),kt+=me;break}}else kt<lt&&((rr=At.ops)==null||rr.push(je),kt+=1)}return At},nt=C.useCallback(it=>{var Lt,qt;const lt=it.getEditor().container;if(!lt)return null;const At=(Lt=lt.closest(".AEditorContainer"))==null?void 0:Lt.querySelector(".ql-toolbar");return At||((qt=lt.parentElement)==null?void 0:qt.querySelector(".ql-toolbar"))||null},[]),qe=C.useCallback((it,lt,At,kt)=>{if(!it)return;const Lt=At;it.addEventListener(lt,Lt,kt),Tt.current.push(()=>it.removeEventListener(lt,Lt,kt))},[]),pt=C.useCallback((it,lt,At)=>{const kt=lt.getFormat();it.forEach(Lt=>{if(kt[Lt]){const qt=kt[Lt],rr=`.ql-${Lt}`,je=At.querySelector(`${rr} .ql-picker-label`),Q=At.querySelectorAll(`${rr} .ql-picker-item`),me=Array.from(Q).find(Le=>Le.getAttribute("data-value")===qt);me&&(me.classList.add("ql-selected"),je==null||je.classList.add("ql-active"))}})},[]),wt=C.useCallback(it=>{if(!it.length)return;const kt=it[0].target.getBoundingClientRect(),Lt=Math.ceil(kt.height);ge(qt=>Math.abs(qt-Lt)<.1?qt:Lt)},[]),_t=C.useCallback((it,lt)=>{if(it.key!=="Backspace")return;const At=lt.getSelection(!1);if(!At||At.length>0)return;const kt=At.index;if(kt<=0)return;const[Lt]=lt.getLine(kt);if(Lt&&kt===lt.getIndex(Lt)||lt.getFormat(kt,1).link)return;const qt=lt.getFormat(kt-1,1);if(qt.link){it.preventDefault();let rr=kt-1;for(;rr>0&<.getFormat(rr-1,1).link===qt.link;)rr--;const[je]=lt.scroll.descendant(Q=>{var me;return((me=Q==null?void 0:Q.statics)==null?void 0:me.blotName)==="link"},rr);if(je!=null&&je.domNode){const Q=(je.domNode.textContent||"").length;lt.removeFormat(rr,Q)}}},[]),jt=C.useCallback((it,lt)=>{if(it.key==="Enter")return it.preventDefault(),e&&e(lt.root.innerHTML),!1},[e]),Ot=C.useMemo(()=>({clipboard:{...Me&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>!1],["blockquote",()=>!1]]}},keyboard:Me&&{bindings:{Enter:{key:"Enter",handler:it=>(e&&dt&&e(it.root.innerHTML),!1)}}},magicUrl:!0,imageCompress:{quality:Pd.QUALITY,imageType:"image/jpeg",maxWidth:1500,maxHeight:1500,debug:!1,handleOnPaste:it=>{var lt,At;try{const kt=(lt=it.clipboardData)==null?void 0:lt.items;if(!kt)return!0;const Lt=Array.from(kt).some(je=>{const Q=je.type.toLowerCase();return Q.includes("Excel")||Q.includes("text/html")}),qt=(At=it.clipboardData)==null?void 0:At.getData("text/html"),rr=qt&&(qt.includes("<table")||qt.includes("<tbody")||qt.includes("<td"));return!(Lt||rr)}catch(kt){return console.warn("Error in handleOnPaste:",kt),!0}},insertIntoEditor:(it,lt,At)=>{if(Me){console.warn("title mode cannot insert image");return}Pd.IMAGE_SIZES.has(it)||Pd.IMAGE_SIZES.set(it,lt.size);const kt=At.getSelection();kt&&At.insertEmbed(kt.index,"image",it,Ie.sources.USER)}},...!ne&&{...!V&&{resize:{}},...!Me&&{table:!1,tableUp:{fullSwitch:!1,icon:yp.renderToString(S.jsx(ln,{icon:"Table",size:"sm",strokeWidth:2.5})),resize:MN,resizeScale:LN,customSelect:jN,selection:DN,fixUnusuaDeletelTable:!1,selectionOptions:{tableMenu:RN,tableMenuOptions:{localstorageKey:"used-color",tipText:!0,tools:[Gr.InsertCaption,Gr.InsertTop,Gr.InsertRight,Gr.InsertBottom,Gr.InsertLeft,Gr.Break,Gr.MergeCell,Gr.SplitCell,Gr.Break,Gr.DeleteRow,Gr.DeleteColumn,Gr.DeleteTable,Gr.Break,Gr.BackgroundColor,Gr.BorderColor,Gr.Break,Gr.CopyCell,Gr.CutCell,Gr.Break,Gr.SwitchWidth]}},texts:{fullCheckboxText:wr.AEditor["Insert Full Width Table"],customBtnText:wr.AEditor.Custom,confirmText:wr.AEditor.Confirm,cancelText:wr.AEditor.Cancel,rowText:wr.AEditor.Row,colText:wr.AEditor.Column,notPositiveNumberError:wr.AEditor["Not Positive Number Error"],custom:wr.AEditor.Custom,clear:wr.AEditor.Clear,transparent:wr.AEditor.Transparent,perWidthInsufficient:wr.AEditor.perWidthInsufficient,InsertTop:wr.AEditor["Insert Row Top"],InsertRight:wr.AEditor["Insert Column Right"],InsertBottom:wr.AEditor["Insert Row Bottom"],InsertLeft:wr.AEditor["Insert Column Left"],MergeCell:wr.AEditor["Merge Cell"],SplitCell:wr.AEditor["Split Cell"],DeleteRow:wr.AEditor["Delete Row"],DeleteColumn:wr.AEditor["Delete Column"],DeleteTable:wr.AEditor["Delete Table"],BackgroundColor:wr.AEditor["Set Background Color"],BorderColor:wr.AEditor["Set Border Color"],SwitchWidth:wr.AEditor["Switch Table Width"],InsertCaption:wr.AEditor["Insert Table Caption"]}}},toolbar:{container:Me?ae.TOOLBAR_TITLE:ae.TOOLBAR_DEFAULT,handlers:{divider:function(){const it=this.quill,lt=it.getSelection(!0);if(!lt||Me)return;const At=Math.min(lt.index+1,it.getLength()-1);it.insertEmbed(At,"divider",!0,Ie.sources.USER),setTimeout(()=>it.setSelection(Math.min(At+1,it.getLength()-1),0,Ie.sources.SILENT),0)}}}}}),[ne,Me,e,dt,ae,V]),ir=C.useCallback(it=>{if(!it)return;const lt=it.getEditor();if(!lt)return;const At=lt.root,kt=nt(it);At&&B&&At.classList.add(...B.split(" ")),At&&q&&Object.entries(q).forEach(([qt,rr])=>{const je=qt.replace(/([A-Z])/g,Q=>`-${Q[0].toLowerCase()}`);At.style[je]=rr}),Me&&qe(At,"keydown",qt=>jt(qt,lt)),qe(At,"keydown",qt=>_t(qt,lt));const Lt=new ResizeObserver(wt);if(kt){Lt.observe(kt),Tt.current.push(()=>Lt.disconnect());const qt=["header","color","background"];qt.forEach(rr=>{const je=kt.querySelector(`.ql-${rr} .ql-picker-label`);je&&qe(je,"click",()=>pt(qt,lt,kt))})}return()=>{}},[B,q,nt,Me,qe,_t,wt,pt,jt]),Ft=C.useCallback(async(it,lt,At)=>{var je,Q;const kt=async()=>{if(!navigator.clipboard||!lt||!window.ClipboardItem||!window.isSecureContext)return!1;try{return await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([lt],{type:"text/html"}),"text/plain":new Blob([it],{type:"text/plain"})})]),!0}catch{return!1}},Lt=async()=>{if(!navigator.clipboard||!window.isSecureContext)return!1;try{return await navigator.clipboard.writeText(it),!0}catch{return!1}},qt=()=>{if(lt)try{const me=document.createElement("div");me.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",me.innerHTML=lt,document.body.appendChild(me);const Le=document.createRange();Le.selectNodeContents(me);const ct=window.getSelection();if(ct){ct.removeAllRanges(),ct.addRange(Le);const It=document.execCommand("copy");if(ct.removeAllRanges(),document.body.removeChild(me),It)return!0}document.body.removeChild(me)}catch(me){console.error("Failed to copy to clipboard",me)}try{const me=document.createElement("textarea");me.value=it,me.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(me),me.focus(),me.select();const Le=document.execCommand("copy");return document.body.removeChild(me),Le}catch(me){return console.error("Failed to copy to clipboard",me),!1}};let rr=!1;return await kt()||await Lt()?rr=!0:rr=qt(),rr?(je=At==null?void 0:At.onSuccess)==null||je.call(At):(Q=At==null?void 0:At.onError)==null||Q.call(At),rr},[]),nr=C.useCallback(it=>{if(!vt.current){ht&&Ft(ht,void 0,it);return}const lt=vt.current;if(lt.getEditor){const At=lt.getEditor(),kt=At.getText()||ht,Lt=At.root.innerHTML;Ft(kt,Lt,it)}else ht&&Ft(ht,void 0,it)},[ht,Ft]),tr=C.useCallback(it=>{if(Tt.current.forEach(lt=>lt()),Tt.current=[],vt.current=it,it){const lt=it;lt.copyContent=nr,typeof o=="function"?o(lt):o&&(o.current=lt),ir(it)}else typeof o=="function"?o(null):o&&(o.current=null)},[o,ir,nr]);return S.jsx(zc,{helperText:g,wrapType:E,labelProps:{...w,style:{minHeight:v?20:void 0,marginBottom:v?4:0,...w==null?void 0:w.style}},errorMessage:t,label:S.jsxs(Tn,{style:{gap:4},children:[v,F==="Top"&&rt]}),wrapProps:{...m,className:Ze.clsx(m==null?void 0:m.className,!tt&&Mi.AEditorWrapper),style:{...m==null?void 0:m.style,height:We}},children:S.jsxs(Zr,{...ee,className:Ze.clsx(ee.className,Mi.AEditorContainer,xt&&"NoTransition"),style:{..._,height:et,minHeight:ze,position:"relative"},children:[S.jsx(tg,{...p,ref:tr,modules:Ot,placeholder:c,readOnly:ne,theme:"snow",value:St,className:Ze.clsx(p==null?void 0:p.className,Mi.AEditor,Mi[Ke],Me&&"Title",xt&&"NoTransition"),style:{...p==null?void 0:p.style,maxHeight:st?st+te:void 0,"--icon-size":`${P==="Med"?18:24}px`,"--editor-padding":Me?"8px 12px":"12px","--toolbar-padding":`${vr}px`,"--content-height":Me?"fit-content":ke?`${ke}px`:"100%","--content-max-height":st?`${st}px`:"100%","--default-text":`'${wr.AEditor.Default}'`,"--visit-url-text":`'${wr.AEditor["Visit URL:"]}'`,"--enter-link-text":`'${wr.AEditor["Enter link:"]}'`,"--enter-video-text":`'${wr.AEditor["Enter video:"]}'`,"--save-text":`'${wr.AEditor.Save}'`,"--remove-text":`'${wr.AEditor.Remove}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(yp.renderToString(S.jsx(ln,{icon:"EditorArrow"})))}`,"--title-color-picker-width":Me?"780px":"142px"},onChange:Ee}),D&&S.jsxs(S.Fragment,{children:[S.jsx("div",{ref:we,className:Ze.clsx(Mi.Resizer,xt&&"NoTransition"),style:{height:oe,bottom:a&&!ne?xe:0},onMouseDown:_r}),S.jsx("div",{children:`${Math.round(ke)}px`,className:Ze.clsx(Mi.Indicator,"NoSelect","Label1",xt&&"NoTransition"),style:{height:oe,bottom:a&&!ne?xe:0,display:Ge?"flex":"none"}})]}),S.jsx("div",{children:rt,className:Ze.clsx(Mi.LimitContainer,"NoSelect",xt&&"NoTransition"),style:{marginTop:ue,minHeight:ie,display:F==="Bottom"?"flex":"none"}})]})})},(r,e)=>r.errorMessage===e.errorMessage&&r.type===e.type&&r.useValue===e.useValue&&r.useError===e.useError&&r.placeholder===e.placeholder&&r.readOnly===e.readOnly&&r.maxLength===e.maxLength&&r.size===e.size&&r.contentHeight===e.contentHeight&&r.minHeight===e.minHeight&&r.maxHeight===e.maxHeight&&r.toolbarSize===e.toolbarSize&&r.toolbarType===e.toolbarType&&r.limitPosition===e.limitPosition&&r.editorClassName===e.editorClassName&&r.editorStyle===e.editorStyle&&r.noImageResize===e.noImageResize),gP=({htmlDelta:r,limit:e,useError:t,isReadonly:n})=>{const[o,i]=gn(t,!1),a=C.useMemo(()=>dP.calculateTextSize(r),[r]);return C.useEffect(()=>{i&&i(a>e)},[a,e,i]),!t||n?null:S.jsxs(Ya,{className:Mi.Limit,children:["(",S.jsx("span",{className:Ze.clsx(o&&Mi.Error),children:Mu(a)})," / ",Mu(e),")"]})};function mP(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return C.useMemo(()=>n=>{e.forEach(o=>o(n))},e)}const og=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lf(r){const e=Object.prototype.toString.call(r);return e==="[object Window]"||e==="[object global]"}function pv(r){return"nodeType"in r}function Di(r){var e,t;return r?lf(r)?r:pv(r)&&(e=(t=r.ownerDocument)==null?void 0:t.defaultView)!=null?e:window:window}function gv(r){const{Document:e}=Di(r);return r instanceof e}function Ch(r){return lf(r)?!1:r instanceof Di(r).HTMLElement}function eC(r){return r instanceof Di(r).SVGElement}function cf(r){return r?lf(r)?r.document:pv(r)?gv(r)?r:Ch(r)||eC(r)?r.ownerDocument:document:document:document}const el=og?C.useLayoutEffect:C.useEffect;function mv(r){const e=C.useRef(r);return el(()=>{e.current=r}),C.useCallback(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.current==null?void 0:e.current(...n)},[])}function vP(){const r=C.useRef(null),e=C.useCallback((n,o)=>{r.current=setInterval(n,o)},[]),t=C.useCallback(()=>{r.current!==null&&(clearInterval(r.current),r.current=null)},[]);return[e,t]}function ph(r,e){e===void 0&&(e=[r]);const t=C.useRef(r);return el(()=>{t.current!==r&&(t.current=r)},e),t}function Sh(r,e){const t=C.useRef();return C.useMemo(()=>{const n=r(t.current);return t.current=n,n},[...e])}function jp(r){const e=mv(r),t=C.useRef(null),n=C.useCallback(o=>{o!==t.current&&(e==null||e(o,t.current)),t.current=o},[]);return[t,n]}function k1(r){const e=C.useRef();return C.useEffect(()=>{e.current=r},[r]),e.current}let om={};function _h(r,e){return C.useMemo(()=>{if(e)return e;const t=om[r]==null?0:om[r]+1;return om[r]=t,r+"-"+t},[r,e])}function tC(r){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.reduce((i,a)=>{const c=Object.entries(a);for(const[d,h]of c){const p=i[d];p!=null&&(i[d]=p+r*h)}return i},{...e})}}const Gd=tC(1),Fp=tC(-1);function yP(r){return"clientX"in r&&"clientY"in r}function vv(r){if(!r)return!1;const{KeyboardEvent:e}=Di(r.target);return e&&r instanceof e}function bP(r){if(!r)return!1;const{TouchEvent:e}=Di(r.target);return e&&r instanceof e}function R1(r){if(bP(r)){if(r.touches&&r.touches.length){const{clientX:e,clientY:t}=r.touches[0];return{x:e,y:t}}else if(r.changedTouches&&r.changedTouches.length){const{clientX:e,clientY:t}=r.changedTouches[0];return{x:e,y:t}}}return yP(r)?{x:r.clientX,y:r.clientY}:null}const gh=Object.freeze({Translate:{toString(r){if(!r)return;const{x:e,y:t}=r;return"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(r){if(!r)return;const{scaleX:e,scaleY:t}=r;return"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(r){if(r)return[gh.Translate.toString(r),gh.Scale.toString(r)].join(" ")}},Transition:{toString(r){let{property:e,duration:t,easing:n}=r;return e+" "+t+"ms "+n}}}),hb="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function xP(r){return r.matches(hb)?r:r.querySelector(hb)}const wP={display:"none"};function CP(r){let{id:e,value:t}=r;return C.createElement("div",{id:e,style:wP},t)}function SP(r){let{id:e,announcement:t,ariaLiveType:n="assertive"}=r;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return C.createElement("div",{id:e,style:o,role:"status","aria-live":n,"aria-atomic":!0},t)}function _P(){const[r,e]=C.useState("");return{announce:C.useCallback(n=>{n!=null&&e(n)},[]),announcement:r}}const rC=C.createContext(null);function AP(r){const e=C.useContext(rC);C.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of <DndContext>");return e(r)},[r,e])}function EP(){const[r]=C.useState(()=>new Set),e=C.useCallback(n=>(r.add(n),()=>r.delete(n)),[r]);return[C.useCallback(n=>{let{type:o,event:i}=n;r.forEach(a=>{var c;return(c=a[o])==null?void 0:c.call(a,i)})},[r]),e]}const TP={draggable:`
|
357
|
+
`,attributes:{[$e.tableCellInner]:d}}),new ap(h)}handleBorderNoneStyles(t,n){if(!(n!=null&&n.style))return;["border",...["top","right","bottom","left"].flatMap(i=>[`border-${i}`,`border-${i}-style`])].filter(i=>t.style[i]==="none").forEach(i=>n.style=n.style.replaceAll(new RegExp(`${i}:none;?`,"g"),""))}convert({html:t,text:n},o={}){if(t){const c=new DOMParser().parseFromString(t,"text/html");this.preprocessTableHtml(c),this.mergeClassStylesToInline(c),t=c.body.innerHTML}const i=super.convert({html:t,text:n},o);if(o[$e.tableCellInner])for(const a of i.ops){if(Od.isObject(a.insert)&&a.insert[$e.tableCol]){a.insert="";continue}a.attributes||(a.attributes={}),a.attributes[$e.tableCellInner]=o[$e.tableCellInner]}return i}parseStyleWithFilter(t,n){if(!t)return{};const o={};let i="",a="",c=!0,d=0;for(let h=0;h<t.length;h++){const p=t[h];p===":"&&c?(i=t.substring(d,h).trim(),d=h+1,c=!1):p===";"&&(!c&&i&&(a=t.substring(d,h).trim(),(!n||n(i))&&(o[i]=a)),d=h+1,c=!0)}return!c&&i&&d<t.length&&(a=t.substring(d).trim(),(!n||n(i))&&(o[i]=a)),o}mergeClassStylesToInline(t){var n;try{const o=t.querySelectorAll("td[class], th[class]");if(o.length===0)return;const i=new Set;for(const p of o)(p.getAttribute("class")||"").split(/\s+/).filter(Boolean).forEach(g=>i.add(g));if(i.size===0)return;const a=t.querySelectorAll("style");if(a.length===0)return;const c=Array.from(a).map(p=>p.textContent||"").join("");if(!c)return;const d={},h=p=>this.STYLE_PROPERTIES.some(m=>p.startsWith(m));for(const p of i){const m=new RegExp(`\\.${p}[^{]*{([^}]*)}`,"g");let g;for(;(g=m.exec(c))!==null;){const v=g[1],w=this.parseStyleWithFilter(v),E={};let _=!1;for(const A in w)h(A)&&(E[A]=w[A],_=!0);_&&(d[p]=E)}}if(Object.keys(d).length===0)return;for(let p=0;p<o.length;p++){const m=o[p],g=((n=m.getAttribute("class"))==null?void 0:n.split(/\s+/).filter(Boolean))||[],v=m.getAttribute("style")||"",w=this.parseStyleWithFilter(v);let E=!1;for(const _ of g){const A=d[_];if(A)for(const k in A)w[k]||(w[k]=A[k],E=!0)}if(E){let _="";for(const A in w)_+=A+":"+w[A]+";";_&&m.setAttribute("style",_)}m.removeAttribute("class")}}catch(o){console.error("스타일 처리 오류",o)}}matchCaption(t,n){for(let o=0;o<n.ops.length;o++){const i=n.ops[o],{attributes:a}=i;a&&a[$e.tableCaption]&&(a[$e.tableCaption].tableId=this.tableId,i.attributes=a)}return n}preprocessTableHtml(t){try{const n=t.querySelectorAll("table");for(const o of Array.from(n))o.querySelectorAll("tr").length!==0&&(this.cleanupTableStyles(o),this.applyRowspanHeights(o),this.fixRowspanCells(o));this.mergeClassStylesToInline(t)}catch(n){console.error("테이블 전처리 오류",n)}}cleanupTableStyles(t){const n=t.querySelectorAll("td, th, tr, colgroup");for(const o of n){const i=o;i.removeAttribute("height");const a=i.getAttribute("style");if(a){const c=a.replace(/height\s*:[^;]*;?/gi,"").trim();i.setAttribute("style",c||"")}}}applyRowspanHeights(t){const o=t.querySelectorAll("td, th");t.style.borderCollapse="collapse";for(const i of o){const a=i,d=parseInt(a.getAttribute("rowspan")||"1")*24,h=a.getAttribute("style")||"",p=h+(h?"; ":"")+`height: ${d}px`;a.setAttribute("style",p)}}fixRowspanCells(t){const n=t.querySelectorAll("tr");if(n.length<=1)return;const o=[],i=new Map;for(let a=0;a<n.length;a++){const d=n[a].querySelectorAll("td, th");if(d.length===0&&a<n.length-1){o.push(a);continue}for(const h of Array.from(d)){const p=parseInt(h.getAttribute("rowspan")||"1");if(p>1)for(let m=1;m<p;m++){const g=a+m;if(g>=n.length)break;i.has(g)||i.set(g,[]),i.get(g).push(h)}}}o.length>0&&this.processEmptyRows(o,n,i)}processEmptyRows(t,n,o){for(const i of t){const a=o.get(i);if(a)for(const c of a){const d=parseInt(c.getAttribute("rowspan")||"1");d>1&&c.setAttribute("rowspan",(d-1).toString())}}for(const i of t.reverse())n[i].remove()}}const cP=()=>{const r=[1,2,3,!1,4],e=Ie.import("ui/icons");e.divider=yp.renderToString(S.jsx(ln,{icon:"Minus",strokeWidth:2.5}));const t=Ie.import("blots/block/embed");class n extends t{static create(a){const c=super.create(a);return c.style.border="var(--AEditor_Addon_Primary_border)",c.style.borderBottom="none",c.style.transition="border var(--Transition)",c}}ce(n,"blotName","divider"),ce(n,"tagName","hr");class o extends Pp{fixUnusuaDeletelTable(){}mergeCells(a){if(!this.table||!this.tableSelection)return;const c=this.tableSelection.selectedTds||[];if(c.length>1&&(a=c),!a||a.length<=1)return;const d=Un(a[0],$e.tableMain),h=d.getRows(),p=a.map(A=>{if(!A||!A.parent||!A.parent.domNode)return null;const k=A.parent.domNode;if(!k)return null;const D=h.findIndex(j=>j.rowId===A.rowId);if(D===-1)return null;const I=A.getColumnIndex();if(I===-1)return null;const P=k.getBoundingClientRect();return!P||P.width===0||P.height===0?null:{td:A,rowIndex:D,colIndex:I,rowspan:A.rowspan,colspan:A.colspan,visualLeft:P.left,visualRight:P.right,visualTop:P.top,visualBottom:P.bottom}}).filter(Boolean);if(p.length<=1)return;p.sort((A,k)=>A.visualTop-k.visualTop||A.visualLeft-k.visualLeft);const m=p[0],g=m.td,v=Math.max(...p.map(A=>A.rowIndex+A.rowspan-1)),w=Math.max(...p.map(A=>A.colIndex+A.colspan-1)),E=v-m.rowIndex+1,_=w-m.colIndex+1;for(const A of p)A.td!==g&&(A.td.moveChildren(g),A.td.parent.remove());g.rowspan=E,g.colspan=_,this.fixTableByRemove(d)}}return Ie.register({"modules/imageCompress":fh,"modules/resize":Q2,"modules/tableUp":o,"modules/magicUrl":YO,"formats/header":hP(r),"formats/divider":n,"modules/clipboard":lP},!0),{header:r,TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider",{[Pp.toolName]:[]},{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["link","image","video"],["clean"]],TOOLBAR_TITLE:[["bold","italic","underline","strike",{color:[]},{background:[]},"clean"]]}};let nm=null;const uP=()=>(nm||(nm=cP()),nm),Pd={KB:1024,QUALITY:.7,IMAGE_SIZES:new Map},dP={getCharLength:r=>Array.from(r).length,calculateTextSize:r=>{if(!r.ops||r.ops.length===0)return 0;let e=0;for(const t of r.ops)if(typeof t.insert=="string")e+=new TextEncoder().encode(t.insert).length-1;else if(typeof t.insert=="object"&&t.insert.image){const n=t.insert.image;n&&(e+=Pd.IMAGE_SIZES.get(n)||Math.ceil(n.length*Pd.QUALITY))}return e}};function fP(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function hP(r){const e=Ie.import("formats/header");return e.whitelist=r,e}const pP=C.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:o,useValue:i,useError:a,placeholder:c,tabIndex:d,autoFocus:h,editorProps:p,wrapProps:m,helperText:g,label:v,labelProps:w,wrapType:E,style:_,minHeight:A,maxHeight:k,contentHeight:D,contentMaxHeight:I=1e3,toolbarSize:P="Med",toolbarType:j="Default",readOnly:W,limitPosition:F="Bottom",maxLength:G,size:pe=100,editorClassName:B,editorStyle:q,noImageResize:V,...ee}=r,ae=C.useMemo(()=>uP(),[]),ne=C.useMemo(()=>n==="ReadOnly"||W,[n,W]),oe=C.useMemo(()=>D?20:0,[D]),[le,ge]=C.useState(P==="Med"?40:50),te=C.useMemo(()=>ne?0:le,[ne,le]),[ie,ue]=C.useMemo(()=>!a||ne||F==="Top"?[0,0]:[20,6],[a,ne,F]),xe=C.useMemo(()=>ie+ue,[ie,ue]),[ke,se]=C.useState(D),[Ae,De]=C.useState(!1),[Ge,Ue]=C.useState(!1),we=C.useRef(null),Se=C.useRef(0),_e=C.useRef(0),Re=C.useMemo(()=>v?24:0,[v]),Me=C.useMemo(()=>j==="Title"?!0:void 0,[j]),tt=C.useMemo(()=>D||A||Me,[D,A,Me]),We=C.useMemo(()=>tt?"fit-content":k?k+Re:`calc(100% - ${Re}px)`,[tt,k,Re]),et=C.useMemo(()=>{if(D){if(ke)switch(n){case"ReadOnly":return ke;case"Raw":return ke+xe;default:return ke+te+xe}}else return},[D,ke,n,te,xe]),st=C.useMemo(()=>{if(!(!k||k<=te+xe))switch(n){case"ReadOnly":return k;case"Raw":return k-xe;default:return k-te-xe}},[n,te,xe,k]),ze=C.useMemo(()=>{if(A&&D){const it=Math.min(A-te-xe,D);return ne?it:it+te+xe}else return A||(D?void 0:`calc(100% - ${Re}px)`)},[A,D,Re,te,xe,ne]),Ke=C.useMemo(()=>fP(t)?"Error":n,[t,n]),bt=C.useCallback(it=>{const lt=document.createElement("div");return lt.innerHTML=it,new Ie(lt,{readOnly:!0}).getContents()},[]),[ht,dt]=gn(i,""),[St,Ve]=C.useState(()=>bt(ht));C.useEffect(()=>{dt===void 0&&Ve(bt(ht))},[bt,dt,ht]);const rt=C.useMemo(()=>S.jsx(gP,{htmlDelta:St,isReadonly:ne,limit:pe*Pd.KB,useError:a}),[St,ne,pe,a]),vt=C.useRef(null),Tt=C.useRef([]),[xt,Mt]=C.useState(!0);C.useEffect(()=>{const it=setTimeout(()=>Mt(!1),0);return()=>{clearTimeout(it),Tt.current.forEach(lt=>lt()),Tt.current=[]}},[]);const Vt=C.useCallback((it,lt)=>{if(!D)return lt;const At=A?A-te-xe:D,kt=Math.max(At,0),Lt=k?k-te-xe:I;return Math.min(Lt,Math.max(kt,lt+it))},[D,A,te,xe,k,I]),Ht=C.useCallback(it=>{if(!Ae||!D)return;const lt=it.clientY-_e.current,At=Vt(lt,Se.current);ke!==At&&se(At),it.preventDefault(),it.stopPropagation()},[Ae,D,Vt,ke]),hr=C.useCallback(it=>{De(!1),Ue(!1),document.removeEventListener("mousemove",Ht),document.removeEventListener("mouseup",hr),it.preventDefault(),it.stopPropagation()},[Ht]),_r=C.useCallback(it=>{if(!D)return;if(it.detail===2){se(D);return}ke===void 0?(se(D),Se.current=D):Se.current=ke,De(!0),Ue(!0),_e.current=it.clientY;const lt=kt=>{if(!D)return;const Lt=kt.clientY-_e.current,qt=Vt(Lt,Se.current);se(qt),kt.preventDefault(),kt.stopPropagation()},At=kt=>{De(!1),Ue(!1),document.removeEventListener("mousemove",lt),document.removeEventListener("mouseup",At),kt.preventDefault(),kt.stopPropagation()};document.addEventListener("mousemove",lt),document.addEventListener("mouseup",At),it.preventDefault(),it.stopPropagation()},[D,ke,Vt]),yr=C.useMemo(()=>P==="Med"?7.5:12.5,[P]),Ee=C.useCallback((it,lt,At,kt)=>{if(At!=="user")return;const Lt=kt.getContents(),qt=kt.getLength()-1,rr=G!==void 0&&qt>G,je=it.replace(/\s{2,}/g,ct=>" ".repeat(ct.length));if(!Me&&!rr){Ve(Lt),dt==null||dt(je);return}let Q=Lt;if(Me&&Q.ops){const ct=It=>It.replace(/\n/g," ");Q=new Yt({ops:Q.ops.map(It=>It.insert&&typeof It.insert=="string"?{...It,insert:ct(It.insert)}:It)})}rr&&(Q=de(Q,G)),Ve(Q);const me=new Ie(document.createElement("div"));me.setContents(Q);let Le=me.root.innerHTML;if(Me){Le=Le.replace(/<br\s*\/?>/g," ").replace(/\n/g," ");const ct=document.createElement("div");ct.innerHTML=Le;let It=ct.textContent||"";It=It.trim().replace(/\s{2,}/g,Rt=>" ".repeat(Rt.length)),Le=ct.innerHTML.replace(ct.textContent||"",It)}else Le=Le.replace(/\s{2,}/g,ct=>" ".repeat(ct.length));dt==null||dt(Le)},[Me,dt,G]),de=(it,lt)=>{var Lt,qt,rr;if(!it.ops)return it;const At=new Yt;let kt=0;for(const je of it.ops){if(kt>=lt)break;if(je.insert&&typeof je.insert=="string"){const Q=je.insert,me=lt-kt;if(Q.length<=me)(Lt=At.ops)==null||Lt.push(je),kt+=Q.length;else{const Le={...je,insert:Q.substring(0,me)};(qt=At.ops)==null||qt.push(Le),kt+=me;break}}else kt<lt&&((rr=At.ops)==null||rr.push(je),kt+=1)}return At},nt=C.useCallback(it=>{var Lt,qt;const lt=it.getEditor().container;if(!lt)return null;const At=(Lt=lt.closest(".AEditorContainer"))==null?void 0:Lt.querySelector(".ql-toolbar");return At||((qt=lt.parentElement)==null?void 0:qt.querySelector(".ql-toolbar"))||null},[]),qe=C.useCallback((it,lt,At,kt)=>{if(!it)return;const Lt=At;it.addEventListener(lt,Lt,kt),Tt.current.push(()=>it.removeEventListener(lt,Lt,kt))},[]),pt=C.useCallback((it,lt,At)=>{const kt=lt.getFormat();it.forEach(Lt=>{if(kt[Lt]){const qt=kt[Lt],rr=`.ql-${Lt}`,je=At.querySelector(`${rr} .ql-picker-label`),Q=At.querySelectorAll(`${rr} .ql-picker-item`),me=Array.from(Q).find(Le=>Le.getAttribute("data-value")===qt);me&&(me.classList.add("ql-selected"),je==null||je.classList.add("ql-active"))}})},[]),wt=C.useCallback(it=>{if(!it.length)return;const kt=it[0].target.getBoundingClientRect(),Lt=Math.ceil(kt.height);ge(qt=>Math.abs(qt-Lt)<.1?qt:Lt)},[]),_t=C.useCallback((it,lt)=>{if(it.key!=="Backspace")return;const At=lt.getSelection(!1);if(!At||At.length>0)return;const kt=At.index;if(kt<=0)return;const[Lt]=lt.getLine(kt);if(Lt&&kt===lt.getIndex(Lt)||lt.getFormat(kt,1).link)return;const qt=lt.getFormat(kt-1,1);if(qt.link){it.preventDefault();let rr=kt-1;for(;rr>0&<.getFormat(rr-1,1).link===qt.link;)rr--;const[je]=lt.scroll.descendant(Q=>{var me;return((me=Q==null?void 0:Q.statics)==null?void 0:me.blotName)==="link"},rr);if(je!=null&&je.domNode){const Q=(je.domNode.textContent||"").length;lt.removeFormat(rr,Q)}}},[]),jt=C.useCallback((it,lt)=>{if(it.key==="Enter")return it.preventDefault(),e&&e(lt.root.innerHTML),!1},[e]),Ot=C.useMemo(()=>({clipboard:{...Me&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>!1],["blockquote",()=>!1]]}},keyboard:Me&&{bindings:{Enter:{key:"Enter",handler:it=>(e&&dt&&e(it.root.innerHTML),!1)}}},magicUrl:!0,imageCompress:{quality:Pd.QUALITY,imageType:"image/jpeg",maxWidth:1500,maxHeight:1500,debug:!1,handleOnPaste:it=>{var lt,At;try{const kt=(lt=it.clipboardData)==null?void 0:lt.items;if(!kt)return!0;const Lt=Array.from(kt).some(je=>{const Q=je.type.toLowerCase();return Q.includes("Excel")||Q.includes("text/html")}),qt=(At=it.clipboardData)==null?void 0:At.getData("text/html"),rr=qt&&(qt.includes("<table")||qt.includes("<tbody")||qt.includes("<td"));return!(Lt||rr)}catch(kt){return console.warn("Error in handleOnPaste:",kt),!0}},insertIntoEditor:(it,lt,At)=>{if(Me){console.warn("title mode cannot insert image");return}Pd.IMAGE_SIZES.has(it)||Pd.IMAGE_SIZES.set(it,lt.size);const kt=At.getSelection();kt&&At.insertEmbed(kt.index,"image",it,Ie.sources.USER)}},...!ne&&{...!V&&{resize:{}},...!Me&&{table:!1,tableUp:{fullSwitch:!1,icon:yp.renderToString(S.jsx(ln,{icon:"Table",size:"sm",strokeWidth:2.5})),resize:MN,resizeScale:LN,customSelect:jN,selection:DN,fixUnusuaDeletelTable:!1,selectionOptions:{tableMenu:RN,tableMenuOptions:{localstorageKey:"used-color",tipText:!0,tools:[Gr.InsertCaption,Gr.InsertTop,Gr.InsertRight,Gr.InsertBottom,Gr.InsertLeft,Gr.Break,Gr.MergeCell,Gr.SplitCell,Gr.Break,Gr.DeleteRow,Gr.DeleteColumn,Gr.DeleteTable,Gr.Break,Gr.BackgroundColor,Gr.BorderColor,Gr.Break,Gr.CopyCell,Gr.CutCell,Gr.Break,Gr.SwitchWidth]}},texts:{fullCheckboxText:vr.AEditor["Insert Full Width Table"],customBtnText:vr.AEditor.Custom,confirmText:vr.AEditor.Confirm,cancelText:vr.AEditor.Cancel,rowText:vr.AEditor.Row,colText:vr.AEditor.Column,CopyCell:vr.AEditor["Copy Cell"],CutCell:vr.AEditor["Cut Cell"],notPositiveNumberError:vr.AEditor["Not Positive Number Error"],custom:vr.AEditor.Custom,clear:vr.AEditor.Clear,transparent:vr.AEditor.Transparent,perWidthInsufficient:vr.AEditor.perWidthInsufficient,InsertTop:vr.AEditor["Insert Row Top"],InsertRight:vr.AEditor["Insert Column Right"],InsertBottom:vr.AEditor["Insert Row Bottom"],InsertLeft:vr.AEditor["Insert Column Left"],MergeCell:vr.AEditor["Merge Cell"],SplitCell:vr.AEditor["Split Cell"],DeleteRow:vr.AEditor["Delete Row"],DeleteColumn:vr.AEditor["Delete Column"],DeleteTable:vr.AEditor["Delete Table"],BackgroundColor:vr.AEditor["Set Background Color"],BorderColor:vr.AEditor["Set Border Color"],SwitchWidth:vr.AEditor["Switch Table Width"],InsertCaption:vr.AEditor["Insert Table Caption"]}}},toolbar:{container:Me?ae.TOOLBAR_TITLE:ae.TOOLBAR_DEFAULT,handlers:{divider:function(){const it=this.quill,lt=it.getSelection(!0);if(!lt||Me)return;const At=Math.min(lt.index+1,it.getLength()-1);it.insertEmbed(At,"divider",!0,Ie.sources.USER),setTimeout(()=>it.setSelection(Math.min(At+1,it.getLength()-1),0,Ie.sources.SILENT),0)}}}}}),[ne,Me,e,dt,ae,V]),ir=C.useCallback(it=>{if(!it)return;const lt=it.getEditor();if(!lt)return;const At=lt.root,kt=nt(it);At&&B&&At.classList.add(...B.split(" ")),At&&q&&Object.entries(q).forEach(([qt,rr])=>{const je=qt.replace(/([A-Z])/g,Q=>`-${Q[0].toLowerCase()}`);At.style[je]=rr}),Me&&qe(At,"keydown",qt=>jt(qt,lt)),qe(At,"keydown",qt=>_t(qt,lt));const Lt=new ResizeObserver(wt);if(kt){Lt.observe(kt),Tt.current.push(()=>Lt.disconnect());const qt=["header","color","background"];qt.forEach(rr=>{const je=kt.querySelector(`.ql-${rr} .ql-picker-label`);je&&qe(je,"click",()=>pt(qt,lt,kt))})}return()=>{}},[B,q,nt,Me,qe,_t,wt,pt,jt]),Ft=C.useCallback(async(it,lt,At)=>{var je,Q;const kt=async()=>{if(!navigator.clipboard||!lt||!window.ClipboardItem||!window.isSecureContext)return!1;try{return await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([lt],{type:"text/html"}),"text/plain":new Blob([it],{type:"text/plain"})})]),!0}catch{return!1}},Lt=async()=>{if(!navigator.clipboard||!window.isSecureContext)return!1;try{return await navigator.clipboard.writeText(it),!0}catch{return!1}},qt=()=>{if(lt)try{const me=document.createElement("div");me.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",me.innerHTML=lt,document.body.appendChild(me);const Le=document.createRange();Le.selectNodeContents(me);const ct=window.getSelection();if(ct){ct.removeAllRanges(),ct.addRange(Le);const It=document.execCommand("copy");if(ct.removeAllRanges(),document.body.removeChild(me),It)return!0}document.body.removeChild(me)}catch(me){console.error("Failed to copy to clipboard",me)}try{const me=document.createElement("textarea");me.value=it,me.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(me),me.focus(),me.select();const Le=document.execCommand("copy");return document.body.removeChild(me),Le}catch(me){return console.error("Failed to copy to clipboard",me),!1}};let rr=!1;return await kt()||await Lt()?rr=!0:rr=qt(),rr?(je=At==null?void 0:At.onSuccess)==null||je.call(At):(Q=At==null?void 0:At.onError)==null||Q.call(At),rr},[]),nr=C.useCallback(it=>{if(!vt.current){ht&&Ft(ht,void 0,it);return}const lt=vt.current;if(lt.getEditor){const At=lt.getEditor(),kt=At.getText()||ht,Lt=At.root.innerHTML;Ft(kt,Lt,it)}else ht&&Ft(ht,void 0,it)},[ht,Ft]),tr=C.useCallback(it=>{if(Tt.current.forEach(lt=>lt()),Tt.current=[],vt.current=it,it){const lt=it;lt.copyContent=nr,typeof o=="function"?o(lt):o&&(o.current=lt),ir(it)}else typeof o=="function"?o(null):o&&(o.current=null)},[o,ir,nr]);return S.jsx(zc,{helperText:g,wrapType:E,labelProps:{...w,style:{minHeight:v?20:void 0,marginBottom:v?4:0,...w==null?void 0:w.style}},errorMessage:t,label:S.jsxs(Tn,{style:{gap:4},children:[v,F==="Top"&&rt]}),wrapProps:{...m,className:Ze.clsx(m==null?void 0:m.className,!tt&&Mi.AEditorWrapper),style:{...m==null?void 0:m.style,height:We}},children:S.jsxs(Zr,{...ee,className:Ze.clsx(ee.className,Mi.AEditorContainer,xt&&"NoTransition"),style:{..._,height:et,minHeight:ze,position:"relative"},children:[S.jsx(tg,{...p,ref:tr,modules:Ot,placeholder:c,readOnly:ne,theme:"snow",value:St,className:Ze.clsx(p==null?void 0:p.className,Mi.AEditor,Mi[Ke],Me&&"Title",xt&&"NoTransition"),style:{...p==null?void 0:p.style,maxHeight:st?st+te:void 0,"--icon-size":`${P==="Med"?18:24}px`,"--editor-padding":Me?"8px 12px":"12px","--toolbar-padding":`${yr}px`,"--content-height":Me?"fit-content":ke?`${ke}px`:"100%","--content-max-height":st?`${st}px`:"100%","--default-text":`'${vr.AEditor.Default}'`,"--visit-url-text":`'${vr.AEditor["Visit URL:"]}'`,"--enter-link-text":`'${vr.AEditor["Enter link:"]}'`,"--enter-video-text":`'${vr.AEditor["Enter video:"]}'`,"--save-text":`'${vr.AEditor.Save}'`,"--remove-text":`'${vr.AEditor.Remove}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(yp.renderToString(S.jsx(ln,{icon:"EditorArrow"})))}`,"--title-color-picker-width":Me?"780px":"142px"},onChange:Ee}),D&&S.jsxs(S.Fragment,{children:[S.jsx("div",{ref:we,className:Ze.clsx(Mi.Resizer,xt&&"NoTransition"),style:{height:oe,bottom:a&&!ne?xe:0},onMouseDown:_r}),S.jsx("div",{children:`${Math.round(ke)}px`,className:Ze.clsx(Mi.Indicator,"NoSelect","Label1",xt&&"NoTransition"),style:{height:oe,bottom:a&&!ne?xe:0,display:Ge?"flex":"none"}})]}),S.jsx("div",{children:rt,className:Ze.clsx(Mi.LimitContainer,"NoSelect",xt&&"NoTransition"),style:{marginTop:ue,minHeight:ie,display:F==="Bottom"?"flex":"none"}})]})})},(r,e)=>r.errorMessage===e.errorMessage&&r.type===e.type&&r.useValue===e.useValue&&r.useError===e.useError&&r.placeholder===e.placeholder&&r.readOnly===e.readOnly&&r.maxLength===e.maxLength&&r.size===e.size&&r.contentHeight===e.contentHeight&&r.minHeight===e.minHeight&&r.maxHeight===e.maxHeight&&r.toolbarSize===e.toolbarSize&&r.toolbarType===e.toolbarType&&r.limitPosition===e.limitPosition&&r.editorClassName===e.editorClassName&&r.editorStyle===e.editorStyle&&r.noImageResize===e.noImageResize),gP=({htmlDelta:r,limit:e,useError:t,isReadonly:n})=>{const[o,i]=gn(t,!1),a=C.useMemo(()=>dP.calculateTextSize(r),[r]);return C.useEffect(()=>{i&&i(a>e)},[a,e,i]),!t||n?null:S.jsxs(Ya,{className:Mi.Limit,children:["(",S.jsx("span",{className:Ze.clsx(o&&Mi.Error),children:Mu(a)})," / ",Mu(e),")"]})};function mP(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return C.useMemo(()=>n=>{e.forEach(o=>o(n))},e)}const og=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lf(r){const e=Object.prototype.toString.call(r);return e==="[object Window]"||e==="[object global]"}function pv(r){return"nodeType"in r}function Di(r){var e,t;return r?lf(r)?r:pv(r)&&(e=(t=r.ownerDocument)==null?void 0:t.defaultView)!=null?e:window:window}function gv(r){const{Document:e}=Di(r);return r instanceof e}function Ch(r){return lf(r)?!1:r instanceof Di(r).HTMLElement}function eC(r){return r instanceof Di(r).SVGElement}function cf(r){return r?lf(r)?r.document:pv(r)?gv(r)?r:Ch(r)||eC(r)?r.ownerDocument:document:document:document}const el=og?C.useLayoutEffect:C.useEffect;function mv(r){const e=C.useRef(r);return el(()=>{e.current=r}),C.useCallback(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.current==null?void 0:e.current(...n)},[])}function vP(){const r=C.useRef(null),e=C.useCallback((n,o)=>{r.current=setInterval(n,o)},[]),t=C.useCallback(()=>{r.current!==null&&(clearInterval(r.current),r.current=null)},[]);return[e,t]}function ph(r,e){e===void 0&&(e=[r]);const t=C.useRef(r);return el(()=>{t.current!==r&&(t.current=r)},e),t}function Sh(r,e){const t=C.useRef();return C.useMemo(()=>{const n=r(t.current);return t.current=n,n},[...e])}function jp(r){const e=mv(r),t=C.useRef(null),n=C.useCallback(o=>{o!==t.current&&(e==null||e(o,t.current)),t.current=o},[]);return[t,n]}function k1(r){const e=C.useRef();return C.useEffect(()=>{e.current=r},[r]),e.current}let om={};function _h(r,e){return C.useMemo(()=>{if(e)return e;const t=om[r]==null?0:om[r]+1;return om[r]=t,r+"-"+t},[r,e])}function tC(r){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.reduce((i,a)=>{const c=Object.entries(a);for(const[d,h]of c){const p=i[d];p!=null&&(i[d]=p+r*h)}return i},{...e})}}const Gd=tC(1),Fp=tC(-1);function yP(r){return"clientX"in r&&"clientY"in r}function vv(r){if(!r)return!1;const{KeyboardEvent:e}=Di(r.target);return e&&r instanceof e}function bP(r){if(!r)return!1;const{TouchEvent:e}=Di(r.target);return e&&r instanceof e}function R1(r){if(bP(r)){if(r.touches&&r.touches.length){const{clientX:e,clientY:t}=r.touches[0];return{x:e,y:t}}else if(r.changedTouches&&r.changedTouches.length){const{clientX:e,clientY:t}=r.changedTouches[0];return{x:e,y:t}}}return yP(r)?{x:r.clientX,y:r.clientY}:null}const gh=Object.freeze({Translate:{toString(r){if(!r)return;const{x:e,y:t}=r;return"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(r){if(!r)return;const{scaleX:e,scaleY:t}=r;return"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(r){if(r)return[gh.Translate.toString(r),gh.Scale.toString(r)].join(" ")}},Transition:{toString(r){let{property:e,duration:t,easing:n}=r;return e+" "+t+"ms "+n}}}),hb="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function xP(r){return r.matches(hb)?r:r.querySelector(hb)}const wP={display:"none"};function CP(r){let{id:e,value:t}=r;return C.createElement("div",{id:e,style:wP},t)}function SP(r){let{id:e,announcement:t,ariaLiveType:n="assertive"}=r;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return C.createElement("div",{id:e,style:o,role:"status","aria-live":n,"aria-atomic":!0},t)}function _P(){const[r,e]=C.useState("");return{announce:C.useCallback(n=>{n!=null&&e(n)},[]),announcement:r}}const rC=C.createContext(null);function AP(r){const e=C.useContext(rC);C.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of <DndContext>");return e(r)},[r,e])}function EP(){const[r]=C.useState(()=>new Set),e=C.useCallback(n=>(r.add(n),()=>r.delete(n)),[r]);return[C.useCallback(n=>{let{type:o,event:i}=n;r.forEach(a=>{var c;return(c=a[o])==null?void 0:c.call(a,i)})},[r]),e]}const TP={draggable:`
|
358
358
|
To pick up a draggable item, press the space bar.
|
359
359
|
While dragging, use the arrow keys to move the item.
|
360
360
|
Press space again to drop the item in its new position, or press escape to cancel.
|
361
|
-
`},kP={onDragStart(r){let{active:e}=r;return"Picked up draggable item "+e.id+"."},onDragOver(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(r){let{active:e}=r;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function RP(r){let{announcements:e=kP,container:t,hiddenTextDescribedById:n,screenReaderInstructions:o=TP}=r;const{announce:i,announcement:a}=_P(),c=_h("DndLiveRegion"),[d,h]=C.useState(!1);if(C.useEffect(()=>{h(!0)},[]),AP(C.useMemo(()=>({onDragStart(m){let{active:g}=m;i(e.onDragStart({active:g}))},onDragMove(m){let{active:g,over:v}=m;e.onDragMove&&i(e.onDragMove({active:g,over:v}))},onDragOver(m){let{active:g,over:v}=m;i(e.onDragOver({active:g,over:v}))},onDragEnd(m){let{active:g,over:v}=m;i(e.onDragEnd({active:g,over:v}))},onDragCancel(m){let{active:g,over:v}=m;i(e.onDragCancel({active:g,over:v}))}}),[i,e])),!d)return null;const p=C.createElement(C.Fragment,null,C.createElement(CP,{id:n,value:o.draggable}),C.createElement(SP,{id:c,announcement:a}));return t?ks.createPortal(p,t):p}var wo;(function(r){r.DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable"})(wo||(wo={}));function zp(){}function pb(r,e){return C.useMemo(()=>({sensor:r,options:e??{}}),[r,e])}function IP(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return C.useMemo(()=>[...e].filter(n=>n!=null),[...e])}const fa=Object.freeze({x:0,y:0});function MP(r,e){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))}function LP(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return t-n}function DP(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return n-t}function OP(r,e){if(!r||r.length===0)return null;const[t]=r;return t[e]}function gb(r,e,t){return e===void 0&&(e=r.left),t===void 0&&(t=r.top),{x:e+r.width*.5,y:t+r.height*.5}}const NP=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=gb(e,e.left,e.top),i=[];for(const a of n){const{id:c}=a,d=t.get(c);if(d){const h=MP(gb(d),o);i.push({id:c,data:{droppableContainer:a,value:h}})}}return i.sort(LP)};function PP(r,e){const t=Math.max(e.top,r.top),n=Math.max(e.left,r.left),o=Math.min(e.left+e.width,r.left+r.width),i=Math.min(e.top+e.height,r.top+r.height),a=o-n,c=i-t;if(n<o&&t<i){const d=e.width*e.height,h=r.width*r.height,p=a*c,m=p/(d+h-p);return Number(m.toFixed(4))}return 0}const BP=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=[];for(const i of n){const{id:a}=i,c=t.get(a);if(c){const d=PP(c,e);d>0&&o.push({id:a,data:{droppableContainer:i,value:d}})}}return o.sort(DP)};function jP(r,e,t){return{...r,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function nC(r,e){return r&&e?{x:r.left-e.left,y:r.top-e.top}:fa}function FP(r){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,c)=>({...a,top:a.top+r*c.y,bottom:a.bottom+r*c.y,left:a.left+r*c.x,right:a.right+r*c.x}),{...t})}}const zP=FP(1);function $P(r){if(r.startsWith("matrix3d(")){const e=r.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(r.startsWith("matrix(")){const e=r.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function HP(r,e,t){const n=$P(e);if(!n)return r;const{scaleX:o,scaleY:i,x:a,y:c}=n,d=r.left-a-(1-o)*parseFloat(t),h=r.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),p=o?r.width/o:r.width,m=i?r.height/i:r.height;return{width:p,height:m,top:h,right:d+p,bottom:h+m,left:d}}const qP={ignoreTransform:!1};function uf(r,e){e===void 0&&(e=qP);let t=r.getBoundingClientRect();if(e.ignoreTransform){const{transform:h,transformOrigin:p}=Di(r).getComputedStyle(r);h&&(t=HP(t,h,p))}const{top:n,left:o,width:i,height:a,bottom:c,right:d}=t;return{top:n,left:o,width:i,height:a,bottom:c,right:d}}function mb(r){return uf(r,{ignoreTransform:!0})}function WP(r){const e=r.innerWidth,t=r.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function UP(r,e){return e===void 0&&(e=Di(r).getComputedStyle(r)),e.position==="fixed"}function VP(r,e){e===void 0&&(e=Di(r).getComputedStyle(r));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=e[o];return typeof i=="string"?t.test(i):!1})}function yv(r,e){const t=[];function n(o){if(e!=null&&t.length>=e||!o)return t;if(gv(o)&&o.scrollingElement!=null&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Ch(o)||eC(o)||t.includes(o))return t;const i=Di(r).getComputedStyle(o);return o!==r&&VP(o,i)&&t.push(o),UP(o,i)?t:n(o.parentNode)}return r?n(r):t}function oC(r){const[e]=yv(r,1);return e??null}function im(r){return!og||!r?null:lf(r)?r:pv(r)?gv(r)||r===cf(r).scrollingElement?window:Ch(r)?r:null:null}function iC(r){return lf(r)?r.scrollX:r.scrollLeft}function sC(r){return lf(r)?r.scrollY:r.scrollTop}function I1(r){return{x:iC(r),y:sC(r)}}var Mo;(function(r){r[r.Forward=1]="Forward",r[r.Backward=-1]="Backward"})(Mo||(Mo={}));function aC(r){return!og||!r?!1:r===document.scrollingElement}function lC(r){const e={x:0,y:0},t=aC(r)?{height:window.innerHeight,width:window.innerWidth}:{height:r.clientHeight,width:r.clientWidth},n={x:r.scrollWidth-t.width,y:r.scrollHeight-t.height},o=r.scrollTop<=e.y,i=r.scrollLeft<=e.x,a=r.scrollTop>=n.y,c=r.scrollLeft>=n.x;return{isTop:o,isLeft:i,isBottom:a,isRight:c,maxScroll:n,minScroll:e}}const GP={x:.2,y:.2};function ZP(r,e,t,n,o){let{top:i,left:a,right:c,bottom:d}=t;n===void 0&&(n=10),o===void 0&&(o=GP);const{isTop:h,isBottom:p,isLeft:m,isRight:g}=lC(r),v={x:0,y:0},w={x:0,y:0},E={height:e.height*o.y,width:e.width*o.x};return!h&&i<=e.top+E.height?(v.y=Mo.Backward,w.y=n*Math.abs((e.top+E.height-i)/E.height)):!p&&d>=e.bottom-E.height&&(v.y=Mo.Forward,w.y=n*Math.abs((e.bottom-E.height-d)/E.height)),!g&&c>=e.right-E.width?(v.x=Mo.Forward,w.x=n*Math.abs((e.right-E.width-c)/E.width)):!m&&a<=e.left+E.width&&(v.x=Mo.Backward,w.x=n*Math.abs((e.left+E.width-a)/E.width)),{direction:v,speed:w}}function YP(r){if(r===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:e,left:t,right:n,bottom:o}=r.getBoundingClientRect();return{top:e,left:t,right:n,bottom:o,width:r.clientWidth,height:r.clientHeight}}function cC(r){return r.reduce((e,t)=>Gd(e,I1(t)),fa)}function KP(r){return r.reduce((e,t)=>e+iC(t),0)}function XP(r){return r.reduce((e,t)=>e+sC(t),0)}function JP(r,e){if(e===void 0&&(e=uf),!r)return;const{top:t,left:n,bottom:o,right:i}=e(r);oC(r)&&(o<=0||i<=0||t>=window.innerHeight||n>=window.innerWidth)&&r.scrollIntoView({block:"center",inline:"center"})}const QP=[["x",["left","right"],KP],["y",["top","bottom"],XP]];class bv{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=yv(t),o=cC(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[i,a,c]of QP)for(const d of a)Object.defineProperty(this,d,{get:()=>{const h=c(n),p=o[i]-h;return this.rect[d]+p},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Zf{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(t=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...t)})},this.target=e}add(e,t,n){var o;(o=this.target)==null||o.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function eB(r){const{EventTarget:e}=Di(r);return r instanceof e?r:cf(r)}function sm(r,e){const t=Math.abs(r.x),n=Math.abs(r.y);return typeof e=="number"?Math.sqrt(t**2+n**2)>e:"x"in e&&"y"in e?t>e.x&&n>e.y:"x"in e?t>e.x:"y"in e?n>e.y:!1}var _s;(function(r){r.Click="click",r.DragStart="dragstart",r.Keydown="keydown",r.ContextMenu="contextmenu",r.Resize="resize",r.SelectionChange="selectionchange",r.VisibilityChange="visibilitychange"})(_s||(_s={}));function vb(r){r.preventDefault()}function tB(r){r.stopPropagation()}var tn;(function(r){r.Space="Space",r.Down="ArrowDown",r.Right="ArrowRight",r.Left="ArrowLeft",r.Up="ArrowUp",r.Esc="Escape",r.Enter="Enter",r.Tab="Tab"})(tn||(tn={}));const uC={start:[tn.Space,tn.Enter],cancel:[tn.Esc],end:[tn.Space,tn.Enter,tn.Tab]},rB=(r,e)=>{let{currentCoordinates:t}=e;switch(r.code){case tn.Right:return{...t,x:t.x+25};case tn.Left:return{...t,x:t.x-25};case tn.Down:return{...t,y:t.y+25};case tn.Up:return{...t,y:t.y-25}}};class xv{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Zf(cf(t)),this.windowListeners=new Zf(Di(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(_s.Resize,this.handleCancel),this.windowListeners.add(_s.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(_s.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&JP(n),t(fa)}handleKeyDown(e){if(vv(e)){const{active:t,context:n,options:o}=this.props,{keyboardCodes:i=uC,coordinateGetter:a=rB,scrollBehavior:c="smooth"}=o,{code:d}=e;if(i.end.includes(d)){this.handleEnd(e);return}if(i.cancel.includes(d)){this.handleCancel(e);return}const{collisionRect:h}=n.current,p=h?{x:h.left,y:h.top}:fa;this.referenceCoordinates||(this.referenceCoordinates=p);const m=a(e,{active:t,context:n.current,currentCoordinates:p});if(m){const g=Fp(m,p),v={x:0,y:0},{scrollableAncestors:w}=n.current;for(const E of w){const _=e.code,{isTop:A,isRight:k,isLeft:D,isBottom:I,maxScroll:P,minScroll:j}=lC(E),W=YP(E),F={x:Math.min(_===tn.Right?W.right-W.width/2:W.right,Math.max(_===tn.Right?W.left:W.left+W.width/2,m.x)),y:Math.min(_===tn.Down?W.bottom-W.height/2:W.bottom,Math.max(_===tn.Down?W.top:W.top+W.height/2,m.y))},G=_===tn.Right&&!k||_===tn.Left&&!D,pe=_===tn.Down&&!I||_===tn.Up&&!A;if(G&&F.x!==m.x){const B=E.scrollLeft+g.x,q=_===tn.Right&&B<=P.x||_===tn.Left&&B>=j.x;if(q&&!g.y){E.scrollTo({left:B,behavior:c});return}q?v.x=E.scrollLeft-B:v.x=_===tn.Right?E.scrollLeft-P.x:E.scrollLeft-j.x,v.x&&E.scrollBy({left:-v.x,behavior:c});break}else if(pe&&F.y!==m.y){const B=E.scrollTop+g.y,q=_===tn.Down&&B<=P.y||_===tn.Up&&B>=j.y;if(q&&!g.x){E.scrollTo({top:B,behavior:c});return}q?v.y=E.scrollTop-B:v.y=_===tn.Down?E.scrollTop-P.y:E.scrollTop-j.y,v.y&&E.scrollBy({top:-v.y,behavior:c});break}}this.handleMove(e,Gd(Fp(m,this.referenceCoordinates),v))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}xv.activators=[{eventName:"onKeyDown",handler:(r,e,t)=>{let{keyboardCodes:n=uC,onActivation:o}=e,{active:i}=t;const{code:a}=r.nativeEvent;if(n.start.includes(a)){const c=i.activatorNode.current;return c&&r.target!==c?!1:(r.preventDefault(),o==null||o({event:r.nativeEvent}),!0)}return!1}}];function yb(r){return!!(r&&"distance"in r)}function bb(r){return!!(r&&"delay"in r)}class wv{constructor(e,t,n){var o;n===void 0&&(n=eB(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=cf(a),this.documentListeners=new Zf(this.document),this.listeners=new Zf(n),this.windowListeners=new Zf(Di(a)),this.initialCoordinates=(o=R1(i))!=null?o:fa,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(_s.Resize,this.handleCancel),this.windowListeners.add(_s.DragStart,vb),this.windowListeners.add(_s.VisibilityChange,this.handleCancel),this.windowListeners.add(_s.ContextMenu,vb),this.documentListeners.add(_s.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(bb(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(yb(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:o}=this.props;o(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(_s.Click,tB,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(_s.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:c}}=i;if(!o)return;const d=(t=R1(e))!=null?t:fa,h=Fp(o,d);if(!n&&c){if(yb(c)){if(c.tolerance!=null&&sm(h,c.tolerance))return this.handleCancel();if(sm(h,c.distance))return this.handleStart()}if(bb(c)&&sm(h,c.tolerance))return this.handleCancel();this.handlePending(c,h);return}e.cancelable&&e.preventDefault(),a(d)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===tn.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const nB={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Cv extends wv{constructor(e){const{event:t}=e,n=cf(t.target);super(e,nB,n)}}Cv.activators=[{eventName:"onPointerDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return!t.isPrimary||t.button!==0?!1:(n==null||n({event:t}),!0)}}];const oB={move:{name:"mousemove"},end:{name:"mouseup"}};var M1;(function(r){r[r.RightClick=2]="RightClick"})(M1||(M1={}));class iB extends wv{constructor(e){super(e,oB,cf(e.event.target))}}iB.activators=[{eventName:"onMouseDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return t.button===M1.RightClick?!1:(n==null||n({event:t}),!0)}}];const am={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class sB extends wv{constructor(e){super(e,am)}static setup(){return window.addEventListener(am.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(am.move.name,e)};function e(){}}}sB.activators=[{eventName:"onTouchStart",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;const{touches:o}=t;return o.length>1?!1:(n==null||n({event:t}),!0)}}];var Yf;(function(r){r[r.Pointer=0]="Pointer",r[r.DraggableRect=1]="DraggableRect"})(Yf||(Yf={}));var $p;(function(r){r[r.TreeOrder=0]="TreeOrder",r[r.ReversedTreeOrder=1]="ReversedTreeOrder"})($p||($p={}));function aB(r){let{acceleration:e,activator:t=Yf.Pointer,canScroll:n,draggingRect:o,enabled:i,interval:a=5,order:c=$p.TreeOrder,pointerCoordinates:d,scrollableAncestors:h,scrollableAncestorRects:p,delta:m,threshold:g}=r;const v=cB({delta:m,disabled:!i}),[w,E]=vP(),_=C.useRef({x:0,y:0}),A=C.useRef({x:0,y:0}),k=C.useMemo(()=>{switch(t){case Yf.Pointer:return d?{top:d.y,bottom:d.y,left:d.x,right:d.x}:null;case Yf.DraggableRect:return o}},[t,o,d]),D=C.useRef(null),I=C.useCallback(()=>{const j=D.current;if(!j)return;const W=_.current.x*A.current.x,F=_.current.y*A.current.y;j.scrollBy(W,F)},[]),P=C.useMemo(()=>c===$p.TreeOrder?[...h].reverse():h,[c,h]);C.useEffect(()=>{if(!i||!h.length||!k){E();return}for(const j of P){if((n==null?void 0:n(j))===!1)continue;const W=h.indexOf(j),F=p[W];if(!F)continue;const{direction:G,speed:pe}=ZP(j,F,k,e,g);for(const B of["x","y"])v[B][G[B]]||(pe[B]=0,G[B]=0);if(pe.x>0||pe.y>0){E(),D.current=j,w(I,a),_.current=pe,A.current=G;return}}_.current={x:0,y:0},A.current={x:0,y:0},E()},[e,I,n,E,i,a,JSON.stringify(k),JSON.stringify(v),w,h,P,p,JSON.stringify(g)])}const lB={x:{[Mo.Backward]:!1,[Mo.Forward]:!1},y:{[Mo.Backward]:!1,[Mo.Forward]:!1}};function cB(r){let{delta:e,disabled:t}=r;const n=k1(e);return Sh(o=>{if(t||!n||!o)return lB;const i={x:Math.sign(e.x-n.x),y:Math.sign(e.y-n.y)};return{x:{[Mo.Backward]:o.x[Mo.Backward]||i.x===-1,[Mo.Forward]:o.x[Mo.Forward]||i.x===1},y:{[Mo.Backward]:o.y[Mo.Backward]||i.y===-1,[Mo.Forward]:o.y[Mo.Forward]||i.y===1}}},[t,e,n])}function uB(r,e){const t=e!=null?r.get(e):void 0,n=t?t.node.current:null;return Sh(o=>{var i;return e==null?null:(i=n??o)!=null?i:null},[n,e])}function dB(r,e){return C.useMemo(()=>r.reduce((t,n)=>{const{sensor:o}=n,i=o.activators.map(a=>({eventName:a.eventName,handler:e(a.handler,n)}));return[...t,...i]},[]),[r,e])}var nf;(function(r){r[r.Always=0]="Always",r[r.BeforeDragging=1]="BeforeDragging",r[r.WhileDragging=2]="WhileDragging"})(nf||(nf={}));var L1;(function(r){r.Optimized="optimized"})(L1||(L1={}));const xb=new Map;function fB(r,e){let{dragging:t,dependencies:n,config:o}=e;const[i,a]=C.useState(null),{frequency:c,measure:d,strategy:h}=o,p=C.useRef(r),m=_(),g=ph(m),v=C.useCallback(function(A){A===void 0&&(A=[]),!g.current&&a(k=>k===null?A:k.concat(A.filter(D=>!k.includes(D))))},[g]),w=C.useRef(null),E=Sh(A=>{if(m&&!t)return xb;if(!A||A===xb||p.current!==r||i!=null){const k=new Map;for(let D of r){if(!D)continue;if(i&&i.length>0&&!i.includes(D.id)&&D.rect.current){k.set(D.id,D.rect.current);continue}const I=D.node.current,P=I?new bv(d(I),I):null;D.rect.current=P,P&&k.set(D.id,P)}return k}return A},[r,i,t,m,d]);return C.useEffect(()=>{p.current=r},[r]),C.useEffect(()=>{m||v()},[t,m]),C.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),C.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{v(),w.current=null},c))},[c,m,v,...n]),{droppableRects:E,measureDroppableContainers:v,measuringScheduled:i!=null};function _(){switch(h){case nf.Always:return!1;case nf.BeforeDragging:return t;default:return!t}}}function dC(r,e){return Sh(t=>r?t||(typeof e=="function"?e(r):r):null,[e,r])}function hB(r,e){return dC(r,e)}function pB(r){let{callback:e,disabled:t}=r;const n=mv(e),o=C.useMemo(()=>{if(t||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(n)},[n,t]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function ig(r){let{callback:e,disabled:t}=r;const n=mv(e),o=C.useMemo(()=>{if(t||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(n)},[t]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function gB(r){return new bv(uf(r),r)}function wb(r,e,t){e===void 0&&(e=gB);const[n,o]=C.useState(null);function i(){o(d=>{if(!r)return null;if(r.isConnected===!1){var h;return(h=d??t)!=null?h:null}const p=e(r);return JSON.stringify(d)===JSON.stringify(p)?d:p})}const a=pB({callback(d){if(r)for(const h of d){const{type:p,target:m}=h;if(p==="childList"&&m instanceof HTMLElement&&m.contains(r)){i();break}}}}),c=ig({callback:i});return el(()=>{i(),r?(c==null||c.observe(r),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),a==null||a.disconnect())},[r]),n}function mB(r){const e=dC(r);return nC(r,e)}const Cb=[];function vB(r){const e=C.useRef(r),t=Sh(n=>r?n&&n!==Cb&&r&&e.current&&r.parentNode===e.current.parentNode?n:yv(r):Cb,[r]);return C.useEffect(()=>{e.current=r},[r]),t}function yB(r){const[e,t]=C.useState(null),n=C.useRef(r),o=C.useCallback(i=>{const a=im(i.target);a&&t(c=>c?(c.set(a,I1(a)),new Map(c)):null)},[]);return C.useEffect(()=>{const i=n.current;if(r!==i){a(i);const c=r.map(d=>{const h=im(d);return h?(h.addEventListener("scroll",o,{passive:!0}),[h,I1(h)]):null}).filter(d=>d!=null);t(c.length?new Map(c):null),n.current=r}return()=>{a(r),a(i)};function a(c){c.forEach(d=>{const h=im(d);h==null||h.removeEventListener("scroll",o)})}},[o,r]),C.useMemo(()=>r.length?e?Array.from(e.values()).reduce((i,a)=>Gd(i,a),fa):cC(r):fa,[r,e])}function Sb(r,e){e===void 0&&(e=[]);const t=C.useRef(null);return C.useEffect(()=>{t.current=null},e),C.useEffect(()=>{const n=r!==fa;n&&!t.current&&(t.current=r),!n&&t.current&&(t.current=null)},[r]),t.current?Fp(r,t.current):fa}function bB(r){C.useEffect(()=>{if(!og)return;const e=r.map(t=>{let{sensor:n}=t;return n.setup==null?void 0:n.setup()});return()=>{for(const t of e)t==null||t()}},r.map(e=>{let{sensor:t}=e;return t}))}function xB(r,e){return C.useMemo(()=>r.reduce((t,n)=>{let{eventName:o,handler:i}=n;return t[o]=a=>{i(a,e)},t},{}),[r,e])}function fC(r){return C.useMemo(()=>r?WP(r):null,[r])}const _b=[];function wB(r,e){e===void 0&&(e=uf);const[t]=r,n=fC(t?Di(t):null),[o,i]=C.useState(_b);function a(){i(()=>r.length?r.map(d=>aC(d)?n:new bv(e(d),d)):_b)}const c=ig({callback:a});return el(()=>{c==null||c.disconnect(),a(),r.forEach(d=>c==null?void 0:c.observe(d))},[r]),o}function CB(r){if(!r)return null;if(r.children.length>1)return r;const e=r.children[0];return Ch(e)?e:r}function SB(r){let{measure:e}=r;const[t,n]=C.useState(null),o=C.useCallback(h=>{for(const{target:p}of h)if(Ch(p)){n(m=>{const g=e(p);return m?{...m,width:g.width,height:g.height}:g});break}},[e]),i=ig({callback:o}),a=C.useCallback(h=>{const p=CB(h);i==null||i.disconnect(),p&&(i==null||i.observe(p)),n(p?e(p):null)},[e,i]),[c,d]=jp(a);return C.useMemo(()=>({nodeRef:c,rect:t,setRef:d}),[t,c,d])}const _B=[{sensor:Cv,options:{}},{sensor:xv,options:{}}],AB={current:{}},vp={draggable:{measure:mb},droppable:{measure:mb,strategy:nf.WhileDragging,frequency:L1.Optimized},dragOverlay:{measure:uf}};class Kf extends Map{get(e){var t;return e!=null&&(t=super.get(e))!=null?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return(t=(n=this.get(e))==null?void 0:n.node.current)!=null?t:void 0}}const EB={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Kf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:zp},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:vp,measureDroppableContainers:zp,windowRect:null,measuringScheduled:!1},TB={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:zp,draggableNodes:new Map,over:null,measureDroppableContainers:zp},sg=C.createContext(TB),hC=C.createContext(EB);function kB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Kf}}}function RB(r,e){switch(e.type){case wo.DragStart:return{...r,draggable:{...r.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case wo.DragMove:return r.draggable.active==null?r:{...r,draggable:{...r.draggable,translate:{x:e.coordinates.x-r.draggable.initialCoordinates.x,y:e.coordinates.y-r.draggable.initialCoordinates.y}}};case wo.DragEnd:case wo.DragCancel:return{...r,draggable:{...r.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case wo.RegisterDroppable:{const{element:t}=e,{id:n}=t,o=new Kf(r.droppable.containers);return o.set(n,t),{...r,droppable:{...r.droppable,containers:o}}}case wo.SetDroppableDisabled:{const{id:t,key:n,disabled:o}=e,i=r.droppable.containers.get(t);if(!i||n!==i.key)return r;const a=new Kf(r.droppable.containers);return a.set(t,{...i,disabled:o}),{...r,droppable:{...r.droppable,containers:a}}}case wo.UnregisterDroppable:{const{id:t,key:n}=e,o=r.droppable.containers.get(t);if(!o||n!==o.key)return r;const i=new Kf(r.droppable.containers);return i.delete(t),{...r,droppable:{...r.droppable,containers:i}}}default:return r}}function IB(r){let{disabled:e}=r;const{active:t,activatorEvent:n,draggableNodes:o}=C.useContext(sg),i=k1(n),a=k1(t==null?void 0:t.id);return C.useEffect(()=>{if(!e&&!n&&i&&a!=null){if(!vv(i)||document.activeElement===i.target)return;const c=o.get(a);if(!c)return;const{activatorNode:d,node:h}=c;if(!d.current&&!h.current)return;requestAnimationFrame(()=>{for(const p of[d.current,h.current]){if(!p)continue;const m=xP(p);if(m){m.focus();break}}})}},[n,e,o,a,i]),null}function MB(r,e){let{transform:t,...n}=e;return r!=null&&r.length?r.reduce((o,i)=>i({transform:o,...n}),t):t}function LB(r){return C.useMemo(()=>({draggable:{...vp.draggable,...r==null?void 0:r.draggable},droppable:{...vp.droppable,...r==null?void 0:r.droppable},dragOverlay:{...vp.dragOverlay,...r==null?void 0:r.dragOverlay}}),[r==null?void 0:r.draggable,r==null?void 0:r.droppable,r==null?void 0:r.dragOverlay])}function DB(r){let{activeNode:e,measure:t,initialRect:n,config:o=!0}=r;const i=C.useRef(!1),{x:a,y:c}=typeof o=="boolean"?{x:o,y:o}:o;el(()=>{if(!a&&!c||!e){i.current=!1;return}if(i.current||!n)return;const h=e==null?void 0:e.node.current;if(!h||h.isConnected===!1)return;const p=t(h),m=nC(p,n);if(a||(m.x=0),c||(m.y=0),i.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const g=oC(h);g&&g.scrollBy({top:m.y,left:m.x})}},[e,a,c,n,t])}const pC=C.createContext({...fa,scaleX:1,scaleY:1});var kc;(function(r){r[r.Uninitialized=0]="Uninitialized",r[r.Initializing=1]="Initializing",r[r.Initialized=2]="Initialized"})(kc||(kc={}));const OB=C.memo(function(e){var t,n,o,i;let{id:a,accessibility:c,autoScroll:d=!0,children:h,sensors:p=_B,collisionDetection:m=BP,measuring:g,modifiers:v,...w}=e;const E=C.useReducer(RB,void 0,kB),[_,A]=E,[k,D]=EP(),[I,P]=C.useState(kc.Uninitialized),j=I===kc.Initialized,{draggable:{active:W,nodes:F,translate:G},droppable:{containers:pe}}=_,B=W!=null?F.get(W):null,q=C.useRef({initial:null,translated:null}),V=C.useMemo(()=>{var _t;return W!=null?{id:W,data:(_t=B==null?void 0:B.data)!=null?_t:AB,rect:q}:null},[W,B]),ee=C.useRef(null),[ae,ne]=C.useState(null),[oe,le]=C.useState(null),ge=ph(w,Object.values(w)),te=_h("DndDescribedBy",a),ie=C.useMemo(()=>pe.getEnabled(),[pe]),ue=LB(g),{droppableRects:xe,measureDroppableContainers:ke,measuringScheduled:se}=fB(ie,{dragging:j,dependencies:[G.x,G.y],config:ue.droppable}),Ae=uB(F,W),De=C.useMemo(()=>oe?R1(oe):null,[oe]),Ge=wt(),Ue=hB(Ae,ue.draggable.measure);DB({activeNode:W!=null?F.get(W):null,config:Ge.layoutShiftCompensation,initialRect:Ue,measure:ue.draggable.measure});const we=wb(Ae,ue.draggable.measure,Ue),Se=wb(Ae?Ae.parentElement:null),_e=C.useRef({activatorEvent:null,active:null,activeNode:Ae,collisionRect:null,collisions:null,droppableRects:xe,draggableNodes:F,draggingNode:null,draggingNodeRect:null,droppableContainers:pe,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Re=pe.getNodeFor((t=_e.current.over)==null?void 0:t.id),Me=SB({measure:ue.dragOverlay.measure}),tt=(n=Me.nodeRef.current)!=null?n:Ae,We=j?(o=Me.rect)!=null?o:we:null,et=!!(Me.nodeRef.current&&Me.rect),st=mB(et?null:we),ze=fC(tt?Di(tt):null),Ke=vB(j?Re??Ae:null),bt=wB(Ke),ht=MB(v,{transform:{x:G.x-st.x,y:G.y-st.y,scaleX:1,scaleY:1},activatorEvent:oe,active:V,activeNodeRect:we,containerNodeRect:Se,draggingNodeRect:We,over:_e.current.over,overlayNodeRect:Me.rect,scrollableAncestors:Ke,scrollableAncestorRects:bt,windowRect:ze}),dt=De?Gd(De,G):null,St=yB(Ke),Ve=Sb(St),rt=Sb(St,[we]),vt=Gd(ht,Ve),Tt=We?zP(We,ht):null,xt=V&&Tt?m({active:V,collisionRect:Tt,droppableRects:xe,droppableContainers:ie,pointerCoordinates:dt}):null,Mt=OP(xt,"id"),[Vt,Ht]=C.useState(null),hr=et?ht:Gd(ht,rt),_r=jP(hr,(i=Vt==null?void 0:Vt.rect)!=null?i:null,we),vr=C.useRef(null),Ee=C.useCallback((_t,jt)=>{let{sensor:Ot,options:ir}=jt;if(ee.current==null)return;const Ft=F.get(ee.current);if(!Ft)return;const nr=_t.nativeEvent,tr=new Ot({active:ee.current,activeNode:Ft,event:nr,options:ir,context:_e,onAbort(lt){if(!F.get(lt))return;const{onDragAbort:kt}=ge.current,Lt={id:lt};kt==null||kt(Lt),k({type:"onDragAbort",event:Lt})},onPending(lt,At,kt,Lt){if(!F.get(lt))return;const{onDragPending:rr}=ge.current,je={id:lt,constraint:At,initialCoordinates:kt,offset:Lt};rr==null||rr(je),k({type:"onDragPending",event:je})},onStart(lt){const At=ee.current;if(At==null)return;const kt=F.get(At);if(!kt)return;const{onDragStart:Lt}=ge.current,qt={activatorEvent:nr,active:{id:At,data:kt.data,rect:q}};ks.unstable_batchedUpdates(()=>{Lt==null||Lt(qt),P(kc.Initializing),A({type:wo.DragStart,initialCoordinates:lt,active:At}),k({type:"onDragStart",event:qt}),ne(vr.current),le(nr)})},onMove(lt){A({type:wo.DragMove,coordinates:lt})},onEnd:it(wo.DragEnd),onCancel:it(wo.DragCancel)});vr.current=tr;function it(lt){return async function(){const{active:kt,collisions:Lt,over:qt,scrollAdjustedTranslate:rr}=_e.current;let je=null;if(kt&&rr){const{cancelDrop:Q}=ge.current;je={activatorEvent:nr,active:kt,collisions:Lt,delta:rr,over:qt},lt===wo.DragEnd&&typeof Q=="function"&&await Promise.resolve(Q(je))&&(lt=wo.DragCancel)}ee.current=null,ks.unstable_batchedUpdates(()=>{A({type:lt}),P(kc.Uninitialized),Ht(null),ne(null),le(null),vr.current=null;const Q=lt===wo.DragEnd?"onDragEnd":"onDragCancel";if(je){const me=ge.current[Q];me==null||me(je),k({type:Q,event:je})}})}}},[F]),de=C.useCallback((_t,jt)=>(Ot,ir)=>{const Ft=Ot.nativeEvent,nr=F.get(ir);if(ee.current!==null||!nr||Ft.dndKit||Ft.defaultPrevented)return;const tr={active:nr};_t(Ot,jt.options,tr)===!0&&(Ft.dndKit={capturedBy:jt.sensor},ee.current=ir,Ee(Ot,jt))},[F,Ee]),nt=dB(p,de);bB(p),el(()=>{we&&I===kc.Initializing&&P(kc.Initialized)},[we,I]),C.useEffect(()=>{const{onDragMove:_t}=ge.current,{active:jt,activatorEvent:Ot,collisions:ir,over:Ft}=_e.current;if(!jt||!Ot)return;const nr={active:jt,activatorEvent:Ot,collisions:ir,delta:{x:vt.x,y:vt.y},over:Ft};ks.unstable_batchedUpdates(()=>{_t==null||_t(nr),k({type:"onDragMove",event:nr})})},[vt.x,vt.y]),C.useEffect(()=>{const{active:_t,activatorEvent:jt,collisions:Ot,droppableContainers:ir,scrollAdjustedTranslate:Ft}=_e.current;if(!_t||ee.current==null||!jt||!Ft)return;const{onDragOver:nr}=ge.current,tr=ir.get(Mt),it=tr&&tr.rect.current?{id:tr.id,rect:tr.rect.current,data:tr.data,disabled:tr.disabled}:null,lt={active:_t,activatorEvent:jt,collisions:Ot,delta:{x:Ft.x,y:Ft.y},over:it};ks.unstable_batchedUpdates(()=>{Ht(it),nr==null||nr(lt),k({type:"onDragOver",event:lt})})},[Mt]),el(()=>{_e.current={activatorEvent:oe,active:V,activeNode:Ae,collisionRect:Tt,collisions:xt,droppableRects:xe,draggableNodes:F,draggingNode:tt,draggingNodeRect:We,droppableContainers:pe,over:Vt,scrollableAncestors:Ke,scrollAdjustedTranslate:vt},q.current={initial:We,translated:Tt}},[V,Ae,xt,Tt,F,tt,We,xe,pe,Vt,Ke,vt]),aB({...Ge,delta:G,draggingRect:Tt,pointerCoordinates:dt,scrollableAncestors:Ke,scrollableAncestorRects:bt});const qe=C.useMemo(()=>({active:V,activeNode:Ae,activeNodeRect:we,activatorEvent:oe,collisions:xt,containerNodeRect:Se,dragOverlay:Me,draggableNodes:F,droppableContainers:pe,droppableRects:xe,over:Vt,measureDroppableContainers:ke,scrollableAncestors:Ke,scrollableAncestorRects:bt,measuringConfiguration:ue,measuringScheduled:se,windowRect:ze}),[V,Ae,we,oe,xt,Se,Me,F,pe,xe,Vt,ke,Ke,bt,ue,se,ze]),pt=C.useMemo(()=>({activatorEvent:oe,activators:nt,active:V,activeNodeRect:we,ariaDescribedById:{draggable:te},dispatch:A,draggableNodes:F,over:Vt,measureDroppableContainers:ke}),[oe,nt,V,we,A,te,F,Vt,ke]);return C.createElement(rC.Provider,{value:D},C.createElement(sg.Provider,{value:pt},C.createElement(hC.Provider,{value:qe},C.createElement(pC.Provider,{value:_r},h)),C.createElement(IB,{disabled:(c==null?void 0:c.restoreFocus)===!1})),C.createElement(RP,{...c,hiddenTextDescribedById:te}));function wt(){const _t=(ae==null?void 0:ae.autoScrollEnabled)===!1,jt=typeof d=="object"?d.enabled===!1:d===!1,Ot=j&&!_t&&!jt;return typeof d=="object"?{...d,enabled:Ot}:{enabled:Ot}}}),NB=C.createContext(null),Ab="button",PB="Draggable";function BB(r){let{id:e,data:t,disabled:n=!1,attributes:o}=r;const i=_h(PB),{activators:a,activatorEvent:c,active:d,activeNodeRect:h,ariaDescribedById:p,draggableNodes:m,over:g}=C.useContext(sg),{role:v=Ab,roleDescription:w="draggable",tabIndex:E=0}=o??{},_=(d==null?void 0:d.id)===e,A=C.useContext(_?pC:NB),[k,D]=jp(),[I,P]=jp(),j=xB(a,e),W=ph(t);el(()=>(m.set(e,{id:e,key:i,node:k,activatorNode:I,data:W}),()=>{const G=m.get(e);G&&G.key===i&&m.delete(e)}),[m,e]);const F=C.useMemo(()=>({role:v,tabIndex:E,"aria-disabled":n,"aria-pressed":_&&v===Ab?!0:void 0,"aria-roledescription":w,"aria-describedby":p.draggable}),[n,v,E,_,w,p.draggable]);return{active:d,activatorEvent:c,activeNodeRect:h,attributes:F,isDragging:_,listeners:n?void 0:j,node:k,over:g,setNodeRef:D,setActivatorNodeRef:P,transform:A}}function jB(){return C.useContext(hC)}const FB="Droppable",zB={timeout:25};function $B(r){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:o}=r;const i=_h(FB),{active:a,dispatch:c,over:d,measureDroppableContainers:h}=C.useContext(sg),p=C.useRef({disabled:t}),m=C.useRef(!1),g=C.useRef(null),v=C.useRef(null),{disabled:w,updateMeasurementsFor:E,timeout:_}={...zB,...o},A=ph(E??n),k=C.useCallback(()=>{if(!m.current){m.current=!0;return}v.current!=null&&clearTimeout(v.current),v.current=setTimeout(()=>{h(Array.isArray(A.current)?A.current:[A.current]),v.current=null},_)},[_]),D=ig({callback:k,disabled:w||!a}),I=C.useCallback((F,G)=>{D&&(G&&(D.unobserve(G),m.current=!1),F&&D.observe(F))},[D]),[P,j]=jp(I),W=ph(e);return C.useEffect(()=>{!D||!P.current||(D.disconnect(),m.current=!1,D.observe(P.current))},[P,D]),C.useEffect(()=>(c({type:wo.RegisterDroppable,element:{id:n,key:i,disabled:t,node:P,rect:g,data:W}}),()=>c({type:wo.UnregisterDroppable,key:i,id:n})),[n]),C.useEffect(()=>{t!==p.current.disabled&&(c({type:wo.SetDroppableDisabled,id:n,key:i,disabled:t}),p.current.disabled=t)},[n,i,t,c]),{active:a,rect:g,isOver:(d==null?void 0:d.id)===n,node:P,over:d,setNodeRef:j}}function gC(r,e,t){const n={...r};return e.top+r.y<=t.top?n.y=t.top-e.top:e.bottom+r.y>=t.top+t.height&&(n.y=t.top+t.height-e.bottom),e.left+r.x<=t.left?n.x=t.left-e.left:e.right+r.x>=t.left+t.width&&(n.x=t.left+t.width-e.right),n}const HB=r=>{let{containerNodeRect:e,draggingNodeRect:t,transform:n}=r;return!t||!e?n:gC(n,t,e)},qB=r=>{let{transform:e,draggingNodeRect:t,windowRect:n}=r;return!t||!n?e:gC(e,t,n)};function Hp(r,e,t){const n=r.slice();return n.splice(t<0?n.length+t:t,0,n.splice(e,1)[0]),n}function WB(r,e){return r.reduce((t,n,o)=>{const i=e.get(n);return i&&(t[o]=i),t},Array(r.length))}function lp(r){return r!==null&&r>=0}function UB(r,e){if(r===e)return!0;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}function VB(r){return typeof r=="boolean"?{draggable:r,droppable:r}:r}const mC=r=>{let{rects:e,activeIndex:t,overIndex:n,index:o}=r;const i=Hp(e,n,t),a=e[o],c=i[o];return!c||!a?null:{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}},cp={scaleX:1,scaleY:1},GB=r=>{var e;let{activeIndex:t,activeNodeRect:n,index:o,rects:i,overIndex:a}=r;const c=(e=i[t])!=null?e:n;if(!c)return null;if(o===t){const h=i[a];return h?{x:0,y:t<a?h.top+h.height-(c.top+c.height):h.top-c.top,...cp}:null}const d=ZB(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-d,...cp}:o<t&&o>=a?{x:0,y:c.height+d,...cp}:{x:0,y:0,...cp}};function ZB(r,e,t){const n=r[e],o=r[e-1],i=r[e+1];return n?t<e?o?n.top-(o.top+o.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):o?n.top-(o.top+o.height):0:0}const vC="Sortable",yC=C.createContext({activeIndex:-1,containerId:vC,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:mC,disabled:{draggable:!1,droppable:!1}});function YB(r){let{children:e,id:t,items:n,strategy:o=mC,disabled:i=!1}=r;const{active:a,dragOverlay:c,droppableRects:d,over:h,measureDroppableContainers:p}=jB(),m=_h(vC,t),g=c.rect!==null,v=C.useMemo(()=>n.map(j=>typeof j=="object"&&"id"in j?j.id:j),[n]),w=a!=null,E=a?v.indexOf(a.id):-1,_=h?v.indexOf(h.id):-1,A=C.useRef(v),k=!UB(v,A.current),D=_!==-1&&E===-1||k,I=VB(i);el(()=>{k&&w&&p(v)},[k,v,w,p]),C.useEffect(()=>{A.current=v},[v]);const P=C.useMemo(()=>({activeIndex:E,containerId:m,disabled:I,disableTransforms:D,items:v,overIndex:_,useDragOverlay:g,sortedRects:WB(v,d),strategy:o}),[E,m,I.draggable,I.droppable,D,v,_,d,g,o]);return C.createElement(yC.Provider,{value:P},e)}const KB=r=>{let{id:e,items:t,activeIndex:n,overIndex:o}=r;return Hp(t,n,o).indexOf(e)},XB=r=>{let{containerId:e,isSorting:t,wasDragging:n,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:d,transition:h}=r;return!h||!n||c!==i&&o===a?!1:t?!0:a!==o&&e===d},JB={duration:200,easing:"ease"},bC="transform",QB=gh.Transition.toString({property:bC,duration:0,easing:"linear"}),ej={roleDescription:"sortable"};function tj(r){let{disabled:e,index:t,node:n,rect:o}=r;const[i,a]=C.useState(null),c=C.useRef(t);return el(()=>{if(!e&&t!==c.current&&n.current){const d=o.current;if(d){const h=uf(n.current,{ignoreTransform:!0}),p={x:d.left-h.left,y:d.top-h.top,scaleX:d.width/h.width,scaleY:d.height/h.height};(p.x||p.y)&&a(p)}}t!==c.current&&(c.current=t)},[e,t,n,o]),C.useEffect(()=>{i&&a(null)},[i]),i}function rj(r){let{animateLayoutChanges:e=XB,attributes:t,disabled:n,data:o,getNewIndex:i=KB,id:a,strategy:c,resizeObserverConfig:d,transition:h=JB}=r;const{items:p,containerId:m,activeIndex:g,disabled:v,disableTransforms:w,sortedRects:E,overIndex:_,useDragOverlay:A,strategy:k}=C.useContext(yC),D=nj(n,v),I=p.indexOf(a),P=C.useMemo(()=>({sortable:{containerId:m,index:I,items:p},...o}),[m,o,I,p]),j=C.useMemo(()=>p.slice(p.indexOf(a)),[p,a]),{rect:W,node:F,isOver:G,setNodeRef:pe}=$B({id:a,data:P,disabled:D.droppable,resizeObserverConfig:{updateMeasurementsFor:j,...d}}),{active:B,activatorEvent:q,activeNodeRect:V,attributes:ee,setNodeRef:ae,listeners:ne,isDragging:oe,over:le,setActivatorNodeRef:ge,transform:te}=BB({id:a,data:P,attributes:{...ej,...t},disabled:D.draggable}),ie=mP(pe,ae),ue=!!B,xe=ue&&!w&&lp(g)&&lp(_),ke=!A&&oe,se=ke&&xe?te:null,De=xe?se??(c??k)({rects:E,activeNodeRect:V,activeIndex:g,overIndex:_,index:I}):null,Ge=lp(g)&&lp(_)?i({id:a,items:p,activeIndex:g,overIndex:_}):I,Ue=B==null?void 0:B.id,we=C.useRef({activeId:Ue,items:p,newIndex:Ge,containerId:m}),Se=p!==we.current.items,_e=e({active:B,containerId:m,isDragging:oe,isSorting:ue,id:a,index:I,items:p,newIndex:we.current.newIndex,previousItems:we.current.items,previousContainerId:we.current.containerId,transition:h,wasDragging:we.current.activeId!=null}),Re=tj({disabled:!_e,index:I,node:F,rect:W});return C.useEffect(()=>{ue&&we.current.newIndex!==Ge&&(we.current.newIndex=Ge),m!==we.current.containerId&&(we.current.containerId=m),p!==we.current.items&&(we.current.items=p)},[ue,Ge,m,p]),C.useEffect(()=>{if(Ue===we.current.activeId)return;if(Ue!=null&&we.current.activeId==null){we.current.activeId=Ue;return}const tt=setTimeout(()=>{we.current.activeId=Ue},50);return()=>clearTimeout(tt)},[Ue]),{active:B,activeIndex:g,attributes:ee,data:P,rect:W,index:I,newIndex:Ge,items:p,isOver:G,isSorting:ue,isDragging:oe,listeners:ne,node:F,overIndex:_,over:le,setNodeRef:ie,setActivatorNodeRef:ge,setDroppableNodeRef:pe,setDraggableNodeRef:ae,transform:Re??De,transition:Me()};function Me(){if(Re||Se&&we.current.newIndex===I)return QB;if(!(ke&&!vv(q)||!h)&&(ue||_e))return gh.Transition.toString({...h,property:bC})}}function nj(r,e){var t,n;return typeof r=="boolean"?{draggable:r,droppable:!1}:{draggable:(t=r==null?void 0:r.draggable)!=null?t:e.draggable,droppable:(n=r==null?void 0:r.droppable)!=null?n:e.droppable}}tn.Down,tn.Right,tn.Up,tn.Left;function qp(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=qp(t.children,e);if(n)return n}}function Ah(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&Ah(t.children,e)}function xC(r,e){Array.isArray(r)||(r=[r]);const t=[];return Ah(r,(n,o)=>t.push(e(n,o))),t}function wC(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!wC(t.children,e))return!1}return!0}function oj(r,e){Array.isArray(r)||(r=[r]);const t=[];return Ah(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function ij(r){Array.isArray(r)||(r=[r]);let e=0;return Ah(r,()=>e++),e}function sj(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=qp(r,a=>{var c;return(c=a.children)==null?void 0:c.some(d=>n(d,e))}),i=qp(r,a=>{var c;return(c=a.children)==null?void 0:c.some(d=>n(d,t))});if(o===void 0&&i===void 0){const a=r.findIndex(d=>n(d,e)),c=r.findIndex(d=>n(d,t));return r.splice(a,1),r.splice(c,0,e),[...r]}else if(o!==void 0&&i!==void 0&&n(o,i)&&o.children){const a=o.children.findIndex(d=>n(d,e)),c=o.children.findIndex(d=>n(d,t));return a===void 0||c===void 0?null:(o.children.splice(a,1),o.children.splice(c,0,e),o.children=[...o.children],[...r])}return null}function aj(r,e,t){const n=[],o=[...e];for(;o.length>0;){const i=o.shift();if(i&&!n.find(a=>t(a,i))&&(n.push(i),!(!i.children||i.children.length<1)))for(const a of i.children)o.push(a)}return n}function lj(r,e,t){Array.isArray(r)||(r=[r]);const n=xC(r,a=>a),o=[],i=[...e];for(;i.length>0;){const a=i.shift();if(!a||o.find(d=>t(d,a)))continue;o.push(a);const c=n.find(d=>{var h;return(h=d.children)==null?void 0:h.some(p=>t(p,a))});c&&i.push(c)}return o}const Rc={find:qp,forEach:Ah,map:xC,every:wC,filter:oj,length:ij,replace:sj,descendants:aj,ancestors:lj},cj="_AWrap_1tiv0_1",uj="_AContainer_1tiv0_10",dj="_ATree_1tiv0_18",fj="_ATreeBody_1tiv0_30",hj="_CoverBorder_1tiv0_36",pj="_InsertBorder_1tiv0_45",gj="_ATreeHeader_1tiv0_76",mj="_ATreeBodyHeader_1tiv0_82",vj="_ATreeBodyHeaderResources_1tiv0_92",yj="_ATreeItem_1tiv0_98",bj="_IsSelectUsed_1tiv0_114",xj="_IsSelected_1tiv0_117",wj="_IsSearchSelected_1tiv0_122",Cj="_IsHovered_1tiv0_133",Sj="_CheckBox_1tiv0_137",_j="_Indents_1tiv0_149",Aj="_ExpandIcon_1tiv0_156",Ej="_Content_1tiv0_168",Tj="_RightSticky_1tiv0_177",kj="_SearchInputWrap_1tiv0_187",Rj="_SearchInput_1tiv0_187",Ij="_RightAddon_1tiv0_199",Mj="_RightAddonIcon_1tiv0_210",Lj="_Loader_1tiv0_217",Dj="_IsChildOfDragSource_1tiv0_222",pn={AWrap:cj,AContainer:uj,ATree:dj,ATreeBody:fj,CoverBorder:hj,InsertBorder:pj,ATreeHeader:gj,ATreeBodyHeader:mj,ATreeBodyHeaderResources:vj,ATreeItem:yj,IsSelectUsed:bj,IsSelected:xj,IsSearchSelected:wj,IsHovered:Cj,CheckBox:Sj,Indents:_j,ExpandIcon:Aj,Content:Ej,RightSticky:Tj,SearchInputWrap:kj,SearchInput:Rj,RightAddon:Ij,RightAddonIcon:Mj,Loader:Lj,IsChildOfDragSource:Dj},Oj=r=>{const{isEqual:e,item:t,itemId:n,selectDisabled:o,selectUnused:i,isParentDisabled:a,indents:c,extIndents:d,useExpand:h,useSelect:p,useSearch:m,showCheckbox:g,icons:v,iconWidth:w,isSelectMulti:E,isDraggable:_,isParentCheckHovered:A,hoverdItem:k,onMouseOver:D,onMouseLeave:I,ContentRenderer:P,TreeItemRenderer:j,RightStickyAddon:W,resources:F,containerRef:G,TreeItemStyle:pe,TreeItemClassName:B,searchItemStyle:q,searchItemClassName:V,height:ee,isDragSrcItem:ae,isChildOfDragItem:ne}=r,{children:oe}=C.useMemo(()=>t,[t]),[le,ge]=C.useMemo(()=>h,[h]),[te,ie]=C.useMemo(()=>p,[p]),[ue,xe]=C.useMemo(()=>m,[m]),ke=C.useMemo(()=>i?i(t):!1,[i,t]),se=C.useMemo(()=>!o||a?a:o(t),[o,a,t]),Ae=C.useMemo(()=>le.some(qe=>e(qe,t)),[le,e,t]),De=C.useMemo(()=>!oe||oe.length<1?"noChild":Ae?"expanded":"collapsed",[oe,Ae]),Ge=C.useMemo(()=>{const qe=v[De];return P1.includes(qe)?S.jsx(ln,{icon:qe,style:{width:w,height:w}}):qe},[v,w,De]),Ue=C.useCallback(qe=>{!ge||De==="noChild"||(ge(Ae?le.filter(pt=>!e(pt,t)):[...le,t]),qe.stopPropagation())},[ge,le,Ae,t,e,De]),we=C.useMemo(()=>te.some(qe=>e(qe,t)),[te,e,t]),Se=C.useCallback(()=>{!ie||se||(ie(E?we?te.filter(qe=>!e(qe,t)):[...te,t]:[t]),ue&&xe&&ue.items.some(qe=>e(qe,t))&&xe({...ue,item:t}))},[E,se,we,ue,xe,ie,e,te,t]),_e=C.useMemo(()=>ue==null?void 0:ue.items.some(qe=>e(qe,t)),[ue,e,t]),Re=C.useMemo(()=>_e&&(ue==null?void 0:ue.item)&&e(ue.item,t),[_e,ue,e,t]),Me=C.useRef(null),tt=C.useRef(null),{attributes:We,listeners:et,setNodeRef:st,transform:ze,transition:Ke,isDragging:bt}=rj({id:n||`item-${JSON.stringify(t)}`,disabled:!_||!!a||!n}),ht=C.useMemo(()=>ne?ne(t):!1,[ne,t]),dt=C.useMemo(()=>{const qe=ze?{transform:gh.Transform.toString(ze),transition:Ke,opacity:bt?.5:1,zIndex:bt?1:"auto"}:{};return ae||ht?{...qe,opacity:.5,zIndex:10}:qe},[ze,Ke,bt,ae,ht]);C.useEffect(()=>{n&&st&&tt.current&&st(tt.current)},[n,st]),C.useEffect(()=>{setTimeout(()=>{if(Re&&Me.current&&G.current){const{top:qe,bottom:pt}=Me.current.getBoundingClientRect(),{top:wt,bottom:_t}=G.current.getBoundingClientRect();(qe<wt||pt>_t)&&Me.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[G,Re]);const[St,Ve]=C.useState(!1),rt=C.useCallback(()=>!se&&Ve(!0),[se]),vt=C.useCallback(()=>!se&&Ve(!1),[se]),Tt=C.useMemo(()=>Rc.map(t,qe=>qe).filter(qe=>!(o!=null&&o(qe))&&!(i!=null&&i(qe))),[o,i,t]),xt=C.useMemo(()=>!g||!E?!1:we&&Tt.some(qe=>te.some(pt=>e(qe,pt)))&&Tt.some(qe=>!te.some(pt=>e(qe,pt))),[g,E,we,Tt,e,te]),Mt=C.useMemo(()=>g?E?Tt.every(qe=>te.some(pt=>e(qe,pt))):te.some(qe=>e(qe,t)):!1,[g,E,Tt,t,e,te]),Vt=C.useCallback(()=>{if(!(!ie||se))if(E)if(we){const qe=te.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&Tt.some(wt=>e(wt,pt)));qe.length>0&&ie(te.filter(pt=>!qe.some(wt=>e(pt,wt))))}else{const qe=Tt.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&!te.some(wt=>e(wt,pt)));qe.length>0&&ie([...te,...qe])}else ie([t])},[se,o,i,E,ie,e,we,te,Tt,t]),Ht=C.useCallback(qe=>{se||Vt(),qe.stopPropagation()},[se,Vt]),hr=C.useMemo(()=>{if(!g||!E||se)return"";if(we){const pt=te.filter(wt=>!(i!=null&&i(wt))&&!(o!=null&&o(wt))&&Tt.some(_t=>e(_t,wt)));if(pt.length>0)return F["deselect n"](pt.length)}const qe=Tt.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&!te.some(wt=>e(wt,pt)));return F["select n"](qe.length)},[o,i,F,se,g,E,we,Tt,e,te]),_r=C.useMemo(()=>Or.getContent(W,r),[W,r]),vr=C.useMemo(()=>Or.getContent(pe,r),[r,pe]),Ee=C.useMemo(()=>Or.getContent(B,r),[r,B]),de=C.useMemo(()=>Or.getContent(V,r),[r,V]),nt=C.useMemo(()=>Or.getContent(q,r),[r,q]);return S.jsxs(C.Fragment,{children:[S.jsxs(Zr,{abaseRef:tt,isDisabled:se,className:Ze.clsx(pn.ATreeItem,we&&pn.IsSelected,!se&&(St||A)&&pn.IsHovered,_e&&pn.IsSearched,Re&&(de||pn.IsSearchSelected),!ke&&pn.IsSelectUsed,ht&&pn.IsChildOfDragSource,"NoSelect",Ee),style:{...vr,...Re&&nt?nt:{},"--ATreeItem_height":`${ee}px`,...dt||{}},onClick:Se,onMouseLeave:qe=>I==null?void 0:I(qe,t),onMouseOver:qe=>D==null?void 0:D(qe,t),..._&&!se&&We?We:{},..._&&!se&&et?et:{},children:[g&&S.jsx(Yd,{className:pn.CheckBox,isDisabled:se,isIndeterminate:xt,tooltip:hr,useCheck:[+Mt,Vt],style:{visibility:se||ke?"hidden":"visible",zIndex:se||ke?0:2},onClick:Ht,onMouseOut:vt,onMouseOver:rt}),S.jsx("div",{className:pn.Indents,style:{paddingLeft:g?0:r.icons.noChild?12:0},children:c.map((qe,pt)=>{const wt=pt===c.length-1;return S.jsx(hw,{value:qe,map:{Collapsed:d?d({iconWidth:w}).collapsed:S.jsx(Pj,{iconWidth:w}),Expanded:d?d({iconWidth:w,isLast:wt}).expanded:S.jsx(Nj,{iconWidth:w,isLast:wt}),IsLast:d?d({iconWidth:w}).isLast:S.jsx(Bj,{iconWidth:w})}},pt)})}),Ge&&S.jsx("div",{className:pn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:Ue,children:Ge}),S.jsx("div",{className:Ze.clsx(pn.Content,"NoSelect"),children:S.jsx(P,{containerRef:G,ContentRenderer:P,extIndents:d,height:ee,hoverdItem:k,icons:v,iconWidth:w,indents:c,isDraggable:_,isEqual:e,isParentCheckHovered:E&&(St||A),isSelectMulti:E,item:t,itemId:n,resources:F,RightStickyAddon:W,searchItemClassName:de,searchItemStyle:q,showCheckbox:g,TreeItemClassName:B,TreeItemRenderer:j,TreeItemStyle:pe,useExpand:h,useSearch:m,useSelect:p,onMouseLeave:I,onMouseOver:D})}),_r&&S.jsx("div",{className:pn.RightSticky,children:_r})]}),Ae&&(oe==null?void 0:oe.map((qe,pt)=>S.jsx(j,{containerRef:G,ContentRenderer:P,extIndents:d,height:ee,hoverdItem:k,icons:v,iconWidth:w,isChildOfDragItem:ne,isDraggable:_,isDragSrcItem:ae,isEqual:e,isParentCheckHovered:E&&(St||A),isSelectMulti:E,item:qe,itemId:n?`${n}-child-${pt}`:void 0,resources:F,RightStickyAddon:W,searchItemClassName:de,searchItemStyle:q,selectDisabled:o,selectUnused:i,showCheckbox:g,TreeItemClassName:B,TreeItemRenderer:j,TreeItemStyle:pe,useExpand:h,useSearch:m,useSelect:p,indents:[...c.map(wt=>wt==="IsLast"?"Collapsed":wt),pt===oe.length-1?"IsLast":"Expanded"],onMouseLeave:I,onMouseOver:D},pt)))]})},Nj=({iconWidth:r,isLast:e})=>S.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&S.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),Pj=({iconWidth:r})=>S.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),Bj=({iconWidth:r})=>S.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),jj=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:i,searchEnter:a,isDisabled:c,isLoading:d,resources:h,maxLength:p,autoFocus:m}=r,g=C.useCallback(E=>{E.key==="Enter"?a():E.key==="ArrowDown"?i():E.key==="ArrowUp"&&o(),E.preventDefault(),E.stopPropagation()},[i,a,o]),v=C.useCallback(E=>{n(E)},[n]),w=C.useMemo(()=>c||d?-1:void 0,[c,d]);return S.jsx($c,{autoFocus:m,className:pn.SearchInput,isDisabled:c,maxLength:p,placeholder:h["Search(Placeholder)"],tabIndex:w,useValue:[(t==null?void 0:t.keyword)??"",v],RightAddon:S.jsx(Fj,{isEqual:e,resources:h,searchDown:i,searchEnter:a,searchResult:t,searchUp:o}),wrapProps:{className:pn.SearchInputWrap},onKeyDown:g})},Fj=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:i,resources:a}=r,c=C.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(w=>t.item&&e(w,t.item))+1,[t,e]),d=C.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),h=C.useMemo(()=>c<2,[c]),p=C.useMemo(()=>c>=d,[c,d]),m=C.useCallback(w=>{w.stopPropagation(),!h&&n()},[n,h]),g=C.useCallback(w=>{w.stopPropagation(),!p&&o()},[o,p]),v=C.useCallback(w=>{w.stopPropagation(),i()},[i]);return S.jsx("div",{className:Ze.clsx(pn.RightAddon,"NoSelect"),children:t?S.jsxs(S.Fragment,{children:[c,"/",d,S.jsx(Zr,{isDisabled:h,onClick:m,children:S.jsx(ln,{className:pn.RightAddonIcon,icon:"ArrowUp",mask:""})}),S.jsx(Zr,{isDisabled:p,onClick:g,children:S.jsx(ln,{className:pn.RightAddonIcon,icon:"ArrowDown"})})]}):S.jsx(So,{className:pn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:a["Search(Button)"],type:"Raw",onClick:v})})},zj=r=>{var rr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:i,useSelect:a,useSearch:c,showCheckbox:d,iconWidth:h=24,icons:p={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:m,isSelectMulti:g=!1,noSearch:v=!1,isDraggable:w,noSyncSearchSelect:E=!1,actionRef:_,placeholder:A,searchPredicate:k=Hj,isDisabled:D,isLoading:I,ContentRenderer:P=$j,TreeItemRenderer:j=Oj,RightStickyAddon:W,TopRightAddon:F,TreeTopAddon:G,resources:pe,maxLength:B,autoFocus:q,TreeItemStyle:V,TreeItemClassName:ee,OverflowPadding:ae,insertBorder:ne,width:oe,searchItemClassName:le,searchItemStyle:ge,height:te=40,...ie}=r,ue=C.useMemo(()=>({...wr.ATree,...pe}),[pe]),xe=C.useCallback((je,Q)=>e!==void 0?Array.isArray(e)?e.every(me=>qa.isEqual(je[me],Q[me])):qa.isEqual(je[e],Q[e]):qa.isEqual(je,Q),[e]),ke=C.useRef(null),[se,Ae]=gn(o,[]),De=C.useMemo(()=>Rc.map(se,je=>je),[se]),[Ge,Ue]=gn(i,[]),[we,Se]=gn(a,[]),[_e,Re]=gn(c,void 0),Me=C.useCallback(je=>{if(D||!Ue||Ge.some(Le=>xe(Le,je)))return;const Q=[];let me=je;for(;me;){const Le=me;Ge.find(ct=>xe(ct,Le))||Q.push(Le),me=De.find(ct=>{var It;return(It=ct.children)==null?void 0:It.some(Rt=>xe(Rt,Le))})}Ue([...Ge,...Q])},[Ge,D,xe,Ue,De]),tt=C.useCallback(()=>{!Ue||D||Ue([...De])},[De,D,Ue]),We=C.useCallback(()=>{!Ue||D||Ue([])},[Ue,D]),et=C.useCallback(je=>{!Se||D||n!=null&&n(je)||(Se([je]),Me(je))},[Se,D,n,Me]),st=C.useCallback(je=>{if(!Re||D)return;if(!je||v){Re(void 0),E||Se==null||Se([]);return}const Q=Rc.filter(se,Le=>k(je,Le));let me;if(Q.find(Le=>(_e==null?void 0:_e.item)&&xe(Le,_e.item))?me=_e==null?void 0:_e.item:Q.length>0&&(me=Q[0]),Re({keyword:je,items:Q,item:me}),me&&Me(me),Se&&!E)if(g)Se(Q);else{const Le=Q.find(ct=>me&&xe(ct,me));Se(Le?[Le]:[])}},[se,D,xe,k,Re,Se,Me,E,v,g,_e]),ze=C.useRef(!1);C.useEffect(()=>{ze.current=!0},[se]),C.useEffect(()=>{_e&&ze.current&&(st(_e.keyword),ze.current=!1)},[st,_e]);const Ke=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(Q=>_e.item&&xe(Q,_e.item))-1;je<0||(Re({..._e,item:_e.items[je]}),Me(_e.items[je]),E||et(_e.items[je]))},[_e,Me,Re,D,et,xe,E]),bt=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(Q=>_e.item&&xe(Q,_e.item))+1;je>=_e.items.length||(Re({..._e,item:_e.items[je]}),Me(_e.items[je]),E||et(_e.items[je]))},[_e,Me,D,Re,et,xe,E]),ht=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(me=>_e.item&&xe(me,_e.item));if(!E||n!=null&&n(_e.items[je])){bt();return}if(we.some(me=>_e.item&&xe(me,_e.item))){let me=je+1;const Le=_e.items[me];if(me>=_e.items.length)return;Re({..._e,item:Le}),et(Le)}else et(_e.items[je])},[_e,Re,D,we,E,bt,xe,et,n]),[dt,St]=C.useState(!1),Ve=C.useCallback(()=>St(!0),[]),rt=C.useCallback(()=>St(!1),[]),vt=C.useMemo(()=>n?Rc.map(se,je=>je).filter(je=>!n(je)):t?Rc.map(se,je=>je).filter(je=>!t(je)):Rc.map(se,je=>je),[n,t,se]),Tt=C.useMemo(()=>!d||!g?!1:we.length>0&&vt.length>we.length,[d,g,we,vt]),xt=C.useMemo(()=>!d||!g?!1:we.length>0&&vt.length===we.length,[d,g,we,vt]),Mt=C.useCallback(()=>{if(!Se||!g||D)return;const je=we.filter(Q=>!(n!=null&&n(Q))&&!(t!=null&&t(Q))&&vt.some(me=>xe(me,Q)));if(je.length>0)Se(we.filter(Q=>!je.some(me=>xe(Q,me))));else{const Q=vt.filter(me=>!(n!=null&&n(me))&&!(t!=null&&t(me))&&!we.some(Le=>xe(Le,me)));Q.length>0&&Se([...we,...Q])}},[g,D,n,t,Se,we,vt,xe]),Vt=C.useMemo(()=>{if(!d||!g||D)return"";const je=we.filter(Q=>!(n!=null&&n(Q))&&!(t!=null&&t(Q))&&vt.some(me=>xe(me,Q)));if(je.length>0)return ue["deselect n"](je.length);{const Q=vt.filter(me=>!(n!=null&&n(me))&&!(t!=null&&t(me))&&!we.some(Le=>xe(Le,me)));return ue["select n"](Q.length)}},[n,t,D,ue,d,g,vt,we,xe]),[Ht,hr]=C.useState(),_r=IP(pb(Cv,{activationConstraint:{distance:8}}),pb(xv)),vr=C.useRef(new Map),Ee=C.useCallback(je=>{if(!vr.current.has(je)){const Q=`item_${qa.uniqueId()}`;vr.current.set(je,Q)}return vr.current.get(je)},[]),de=C.useCallback(je=>De.find(Q=>Ee(Q)===je),[De,Ee]),nt=C.useCallback(je=>!Ht||!Ht.children?!1:Ht.children.some(me=>xe(me,je))?!0:Ht.children.some(me=>me.children?Rc.find(me,Le=>xe(Le,je))!==void 0:!1),[Ht,xe]),qe=C.useCallback(je=>{if(!w||D)return;const Q=de(je.active.id);Q&&hr(Q)},[w,D,de]),pt=C.useCallback((je,Q,me,Le)=>{const ct=je.findIndex(Rt=>Le(Rt,Q)),It=je.findIndex(Rt=>Le(Rt,me));return ct!==-1&&It!==-1?Hp(je,ct,It):je.map(Rt=>{if(!Rt.children)return Rt;const Qt=Rt.children.findIndex(yr=>Le(yr,Q)),Kt=Rt.children.findIndex(yr=>Le(yr,me));return Qt!==-1&&Kt!==-1?{...Rt,children:Hp(Rt.children,Qt,Kt)}:Rt.children?{...Rt,children:pt(Rt.children,Q,me,Le)}:Rt})},[]),wt=C.useCallback(je=>{!w||D||!Ht||!je.over||de(je.over.id)},[w,D,Ht,de]),_t=C.useCallback(je=>{if(!w||D||!Ae||!Ht||!je.over)return;const Q=de(je.over.id);if(!Q||xe(Ht,Q)){hr(void 0);return}const me=pt(se,Ht,Q,xe);Ae(me),hr(void 0)},[w,D,Ae,Ht,de,xe,se,pt]),jt=C.useMemo(()=>se.map(je=>Ee(je)),[se,Ee]);C.useEffect(()=>{var je;d||(je=ke.current)==null||je.scrollTo(0,0)},[d,ke]),C.useEffect(()=>{!g&&we.length>1&&(Se==null||Se([we[we.length-1]]))},[g,Se,we]),C.useEffect(()=>{_&&(_.current={expandAll:tt,collapseAll:We})},[_,tt,We]),C.useEffect(()=>{if(!t||!Se)return;const je=we.filter(Q=>!t(Q));we.length!==je.length&&Se(je)},[t,we,Se]),C.useEffect(()=>{if(!n||!Se)return;const je=we.filter(Q=>!n(Q));we.length!==je.length&&Se(je)},[n,we,Se]),C.useEffect(()=>{Re&&Re(void 0)},[Re]);const[Ot,ir]=C.useState(!1);C.useEffect(()=>{ir(je=>!je)},[se]);const[Ft,nr]=C.useState(null),tr=C.useCallback((je,Q)=>{D||(je.stopPropagation(),je.preventDefault(),nr(Q))},[D]),it=C.useCallback((je,Q)=>{Ft===null||D||xe(Q,Ft)&&(je.stopPropagation(),je.preventDefault(),nr(null))},[Ft,D,xe]),lt=C.useRef(null),[At,kt]=C.useState(!1),[Lt,qt]=C.useState((rr=lt.current)==null?void 0:rr.scrollHeight);return C.useEffect(()=>{if(Ge.length<0)return;const je=ke.current,Q=lt.current,me=je.clientHeight<Q.clientHeight;qt(me?Q.scrollHeight:je.clientHeight),kt(me)},[Ge]),S.jsxs(Zr,{...ie,className:Ze.clsx(ie.className,pn.AWrap),isDisabled:D,children:[(!v||F)&&S.jsxs(Tn,{className:pn.ATreeHeader,children:[!v&&S.jsx(jj,{autoFocus:q,initSearch:st,isDisabled:D,isEqual:xe,isLoading:I,maxLength:B,resources:ue,searchDown:bt,searchEnter:ht,searchResult:_e,searchUp:Ke}),!v&&F&&S.jsx(kn,{w:8}),F]}),(!v||F||d&&g||w)&&S.jsx(U1,{isLoading:I&&se.length!==0}),(d&&g||w)&&S.jsxs("div",{className:Ze.clsx(pn.ATreeBodyHeader,"NoSelect"),children:[d&&S.jsx(Yd,{className:pn.CheckBox,isDisabled:D,isIndeterminate:Tt,tooltip:Vt,useCheck:[+xt,()=>Mt()],onMouseOut:rt,onMouseOver:Ve}),ue.Items,S.jsx(Fu,{}),S.jsxs("div",{className:Ze.clsx(pn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:At?8:0},children:[S.jsx("span",{children:d&&ue["*Click row for single select"]}),S.jsx("span",{children:w&&ue["*Change order to row drag"]})]})]}),S.jsx("div",{ref:ke,className:Ze.clsx(ie.className,pn.AContainer),children:S.jsxs("div",{className:pn.ATree,style:{minWidth:oe||"fit-content",marginRight:ae&&At?8:0},children:[S.jsxs("div",{ref:lt,className:pn.ATreeBody,children:[se.length===0?I?S.jsx(qj,{text:ue["Loading Contents..."]}):A:G,S.jsx(OB,{collisionDetection:NP,modifiers:[HB,qB],sensors:_r,measuring:{droppable:{strategy:nf.Always}},onDragEnd:_t,onDragOver:wt,onDragStart:qe,children:S.jsx(YB,{items:jt,strategy:GB,children:se.map((je,Q)=>S.jsx(j,{containerRef:ke,ContentRenderer:P,extIndents:m,height:te,hoverdItem:Ft,icons:p,iconWidth:h,indents:[],isChildOfDragItem:nt,isDraggable:w,isDragSrcItem:xe(je,Ht),isEqual:xe,isParentCheckHovered:g&&dt,isParentDisabled:D,isSelectMulti:g,item:je,itemId:Ee(je),resources:ue,RightStickyAddon:W,searchItemClassName:le,searchItemStyle:ge,selectDisabled:t,selectUnused:n,showCheckbox:d,TreeItemClassName:ee,TreeItemRenderer:j,TreeItemStyle:V,useExpand:[Ge,Ue],useSearch:[_e,Re],useSelect:[we,Se],onMouseLeave:it,onMouseOver:tr},`${Q}${Ot}`))})})]}),ne&&S.jsxs(S.Fragment,{children:[S.jsx("div",{className:pn.CoverBorder}),S.jsx("div",{className:pn.InsertBorder,style:{"--InsertBorder_height":`${te}px`,height:At?Lt:"100%"}})]})]})})]})},$j=r=>{const{item:e}=r,t={};return or.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function Hj(r,e){return or.some(e,(t,n)=>{var o;return(o=or.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const qj=r=>{const{text:e}=r;return S.jsxs(Tn,{className:Ze.clsx(pn.Loader,"NoSelect"),children:[S.jsx(ln,{height:40,icon:"Spinner",style:{height:40},width:40}),S.jsx(_w,{text:e})]})};var lm,Eb;function df(){return Eb||(Eb=1,lm=TypeError),lm}const Wj={},Uj=Object.freeze(Object.defineProperty({__proto__:null,default:Wj},Symbol.toStringTag,{value:"Module"})),Vj=d4(Uj);var cm,Tb;function ag(){if(Tb)return cm;Tb=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=o&&i&&typeof i.get=="function"?i.get:null,c=o&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,p=typeof WeakSet=="function"&&WeakSet.prototype,m=p?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,E=Object.prototype.toString,_=Function.prototype.toString,A=String.prototype.match,k=String.prototype.slice,D=String.prototype.replace,I=String.prototype.toUpperCase,P=String.prototype.toLowerCase,j=RegExp.prototype.test,W=Array.prototype.concat,F=Array.prototype.join,G=Array.prototype.slice,pe=Math.floor,B=typeof BigInt=="function"?BigInt.prototype.valueOf:null,q=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ae=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ee||!0)?Symbol.toStringTag:null,ne=Object.prototype.propertyIsEnumerable,oe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ee){return Ee.__proto__}:null);function le(Ee,de){if(Ee===1/0||Ee===-1/0||Ee!==Ee||Ee&&Ee>-1e3&&Ee<1e3||j.call(/e/,de))return de;var nt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Ee=="number"){var qe=Ee<0?-pe(-Ee):pe(Ee);if(qe!==Ee){var pt=String(qe),wt=k.call(de,pt.length+1);return D.call(pt,nt,"$&_")+"."+D.call(D.call(wt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(de,nt,"$&_")}var ge=Vj,te=ge.custom,ie=Me(te)?te:null,ue={__proto__:null,double:'"',single:"'"},xe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};cm=function Ee(de,nt,qe,pt){var wt=nt||{};if(et(wt,"quoteStyle")&&!et(ue,wt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(et(wt,"maxStringLength")&&(typeof wt.maxStringLength=="number"?wt.maxStringLength<0&&wt.maxStringLength!==1/0:wt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var _t=et(wt,"customInspect")?wt.customInspect:!0;if(typeof _t!="boolean"&&_t!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(et(wt,"indent")&&wt.indent!==null&&wt.indent!==" "&&!(parseInt(wt.indent,10)===wt.indent&&wt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(et(wt,"numericSeparator")&&typeof wt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jt=wt.numericSeparator;if(typeof de>"u")return"undefined";if(de===null)return"null";if(typeof de=="boolean")return de?"true":"false";if(typeof de=="string")return vt(de,wt);if(typeof de=="number"){if(de===0)return 1/0/de>0?"0":"-0";var Ot=String(de);return jt?le(de,Ot):Ot}if(typeof de=="bigint"){var ir=String(de)+"n";return jt?le(de,ir):ir}var Ft=typeof wt.depth>"u"?5:wt.depth;if(typeof qe>"u"&&(qe=0),qe>=Ft&&Ft>0&&typeof de=="object")return De(de)?"[Array]":"[Object]";var nr=hr(wt,qe);if(typeof pt>"u")pt=[];else if(Ke(pt,de)>=0)return"[Circular]";function tr(yr,pr,Tr){if(pr&&(pt=G.call(pt),pt.push(pr)),Tr){var ur={depth:wt.depth};return et(wt,"quoteStyle")&&(ur.quoteStyle=wt.quoteStyle),Ee(yr,ur,qe+1,pt)}return Ee(yr,wt,qe+1,pt)}if(typeof de=="function"&&!Ue(de)){var it=ze(de),lt=vr(de,tr);return"[Function"+(it?": "+it:" (anonymous)")+"]"+(lt.length>0?" { "+F.call(lt,", ")+" }":"")}if(Me(de)){var At=ee?D.call(String(de),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(de);return typeof de=="object"&&!ee?xt(At):At}if(rt(de)){for(var kt="<"+P.call(String(de.nodeName)),Lt=de.attributes||[],qt=0;qt<Lt.length;qt++)kt+=" "+Lt[qt].name+"="+ke(se(Lt[qt].value),"double",wt);return kt+=">",de.childNodes&&de.childNodes.length&&(kt+="..."),kt+="</"+P.call(String(de.nodeName))+">",kt}if(De(de)){if(de.length===0)return"[]";var rr=vr(de,tr);return nr&&!Ht(rr)?"["+_r(rr,nr)+"]":"[ "+F.call(rr,", ")+" ]"}if(we(de)){var je=vr(de,tr);return!("cause"in Error.prototype)&&"cause"in de&&!ne.call(de,"cause")?"{ ["+String(de)+"] "+F.call(W.call("[cause]: "+tr(de.cause),je),", ")+" }":je.length===0?"["+String(de)+"]":"{ ["+String(de)+"] "+F.call(je,", ")+" }"}if(typeof de=="object"&&_t){if(ie&&typeof de[ie]=="function"&&ge)return ge(de,{depth:Ft-qe});if(_t!=="symbol"&&typeof de.inspect=="function")return de.inspect()}if(bt(de)){var Q=[];return n&&n.call(de,function(yr,pr){Q.push(tr(pr,de,!0)+" => "+tr(yr,de))}),Vt("Map",t.call(de),Q,nr)}if(St(de)){var me=[];return c&&c.call(de,function(yr){me.push(tr(yr,de))}),Vt("Set",a.call(de),me,nr)}if(ht(de))return Mt("WeakMap");if(Ve(de))return Mt("WeakSet");if(dt(de))return Mt("WeakRef");if(_e(de))return xt(tr(Number(de)));if(tt(de))return xt(tr(B.call(de)));if(Re(de))return xt(w.call(de));if(Se(de))return xt(tr(String(de)));if(typeof window<"u"&&de===window)return"{ [object Window] }";if(typeof globalThis<"u"&&de===globalThis||typeof Li<"u"&&de===Li)return"{ [object globalThis] }";if(!Ge(de)&&!Ue(de)){var Le=vr(de,tr),ct=oe?oe(de)===Object.prototype:de instanceof Object||de.constructor===Object,It=de instanceof Object?"":"null prototype",Rt=!ct&&ae&&Object(de)===de&&ae in de?k.call(st(de),8,-1):It?"Object":"",Qt=ct||typeof de.constructor!="function"?"":de.constructor.name?de.constructor.name+" ":"",Kt=Qt+(Rt||It?"["+F.call(W.call([],Rt||[],It||[]),": ")+"] ":"");return Le.length===0?Kt+"{}":nr?Kt+"{"+_r(Le,nr)+"}":Kt+"{ "+F.call(Le,", ")+" }"}return String(de)};function ke(Ee,de,nt){var qe=nt.quoteStyle||de,pt=ue[qe];return pt+Ee+pt}function se(Ee){return D.call(String(Ee),/"/g,""")}function Ae(Ee){return!ae||!(typeof Ee=="object"&&(ae in Ee||typeof Ee[ae]<"u"))}function De(Ee){return st(Ee)==="[object Array]"&&Ae(Ee)}function Ge(Ee){return st(Ee)==="[object Date]"&&Ae(Ee)}function Ue(Ee){return st(Ee)==="[object RegExp]"&&Ae(Ee)}function we(Ee){return st(Ee)==="[object Error]"&&Ae(Ee)}function Se(Ee){return st(Ee)==="[object String]"&&Ae(Ee)}function _e(Ee){return st(Ee)==="[object Number]"&&Ae(Ee)}function Re(Ee){return st(Ee)==="[object Boolean]"&&Ae(Ee)}function Me(Ee){if(ee)return Ee&&typeof Ee=="object"&&Ee instanceof Symbol;if(typeof Ee=="symbol")return!0;if(!Ee||typeof Ee!="object"||!V)return!1;try{return V.call(Ee),!0}catch{}return!1}function tt(Ee){if(!Ee||typeof Ee!="object"||!B)return!1;try{return B.call(Ee),!0}catch{}return!1}var We=Object.prototype.hasOwnProperty||function(Ee){return Ee in this};function et(Ee,de){return We.call(Ee,de)}function st(Ee){return E.call(Ee)}function ze(Ee){if(Ee.name)return Ee.name;var de=A.call(_.call(Ee),/^function\s*([\w$]+)/);return de?de[1]:null}function Ke(Ee,de){if(Ee.indexOf)return Ee.indexOf(de);for(var nt=0,qe=Ee.length;nt<qe;nt++)if(Ee[nt]===de)return nt;return-1}function bt(Ee){if(!t||!Ee||typeof Ee!="object")return!1;try{t.call(Ee);try{a.call(Ee)}catch{return!0}return Ee instanceof Map}catch{}return!1}function ht(Ee){if(!h||!Ee||typeof Ee!="object")return!1;try{h.call(Ee,h);try{m.call(Ee,m)}catch{return!0}return Ee instanceof WeakMap}catch{}return!1}function dt(Ee){if(!v||!Ee||typeof Ee!="object")return!1;try{return v.call(Ee),!0}catch{}return!1}function St(Ee){if(!a||!Ee||typeof Ee!="object")return!1;try{a.call(Ee);try{t.call(Ee)}catch{return!0}return Ee instanceof Set}catch{}return!1}function Ve(Ee){if(!m||!Ee||typeof Ee!="object")return!1;try{m.call(Ee,m);try{h.call(Ee,h)}catch{return!0}return Ee instanceof WeakSet}catch{}return!1}function rt(Ee){return!Ee||typeof Ee!="object"?!1:typeof HTMLElement<"u"&&Ee instanceof HTMLElement?!0:typeof Ee.nodeName=="string"&&typeof Ee.getAttribute=="function"}function vt(Ee,de){if(Ee.length>de.maxStringLength){var nt=Ee.length-de.maxStringLength,qe="... "+nt+" more character"+(nt>1?"s":"");return vt(k.call(Ee,0,de.maxStringLength),de)+qe}var pt=xe[de.quoteStyle||"single"];pt.lastIndex=0;var wt=D.call(D.call(Ee,pt,"\\$1"),/[\x00-\x1f]/g,Tt);return ke(wt,"single",de)}function Tt(Ee){var de=Ee.charCodeAt(0),nt={8:"b",9:"t",10:"n",12:"f",13:"r"}[de];return nt?"\\"+nt:"\\x"+(de<16?"0":"")+I.call(de.toString(16))}function xt(Ee){return"Object("+Ee+")"}function Mt(Ee){return Ee+" { ? }"}function Vt(Ee,de,nt,qe){var pt=qe?_r(nt,qe):F.call(nt,", ");return Ee+" ("+de+") {"+pt+"}"}function Ht(Ee){for(var de=0;de<Ee.length;de++)if(Ke(Ee[de],`
|
361
|
+
`},kP={onDragStart(r){let{active:e}=r;return"Picked up draggable item "+e.id+"."},onDragOver(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(r){let{active:e}=r;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function RP(r){let{announcements:e=kP,container:t,hiddenTextDescribedById:n,screenReaderInstructions:o=TP}=r;const{announce:i,announcement:a}=_P(),c=_h("DndLiveRegion"),[d,h]=C.useState(!1);if(C.useEffect(()=>{h(!0)},[]),AP(C.useMemo(()=>({onDragStart(m){let{active:g}=m;i(e.onDragStart({active:g}))},onDragMove(m){let{active:g,over:v}=m;e.onDragMove&&i(e.onDragMove({active:g,over:v}))},onDragOver(m){let{active:g,over:v}=m;i(e.onDragOver({active:g,over:v}))},onDragEnd(m){let{active:g,over:v}=m;i(e.onDragEnd({active:g,over:v}))},onDragCancel(m){let{active:g,over:v}=m;i(e.onDragCancel({active:g,over:v}))}}),[i,e])),!d)return null;const p=C.createElement(C.Fragment,null,C.createElement(CP,{id:n,value:o.draggable}),C.createElement(SP,{id:c,announcement:a}));return t?ks.createPortal(p,t):p}var wo;(function(r){r.DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable"})(wo||(wo={}));function zp(){}function pb(r,e){return C.useMemo(()=>({sensor:r,options:e??{}}),[r,e])}function IP(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return C.useMemo(()=>[...e].filter(n=>n!=null),[...e])}const fa=Object.freeze({x:0,y:0});function MP(r,e){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))}function LP(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return t-n}function DP(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return n-t}function OP(r,e){if(!r||r.length===0)return null;const[t]=r;return t[e]}function gb(r,e,t){return e===void 0&&(e=r.left),t===void 0&&(t=r.top),{x:e+r.width*.5,y:t+r.height*.5}}const NP=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=gb(e,e.left,e.top),i=[];for(const a of n){const{id:c}=a,d=t.get(c);if(d){const h=MP(gb(d),o);i.push({id:c,data:{droppableContainer:a,value:h}})}}return i.sort(LP)};function PP(r,e){const t=Math.max(e.top,r.top),n=Math.max(e.left,r.left),o=Math.min(e.left+e.width,r.left+r.width),i=Math.min(e.top+e.height,r.top+r.height),a=o-n,c=i-t;if(n<o&&t<i){const d=e.width*e.height,h=r.width*r.height,p=a*c,m=p/(d+h-p);return Number(m.toFixed(4))}return 0}const BP=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=[];for(const i of n){const{id:a}=i,c=t.get(a);if(c){const d=PP(c,e);d>0&&o.push({id:a,data:{droppableContainer:i,value:d}})}}return o.sort(DP)};function jP(r,e,t){return{...r,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function nC(r,e){return r&&e?{x:r.left-e.left,y:r.top-e.top}:fa}function FP(r){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,c)=>({...a,top:a.top+r*c.y,bottom:a.bottom+r*c.y,left:a.left+r*c.x,right:a.right+r*c.x}),{...t})}}const zP=FP(1);function $P(r){if(r.startsWith("matrix3d(")){const e=r.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(r.startsWith("matrix(")){const e=r.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function HP(r,e,t){const n=$P(e);if(!n)return r;const{scaleX:o,scaleY:i,x:a,y:c}=n,d=r.left-a-(1-o)*parseFloat(t),h=r.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),p=o?r.width/o:r.width,m=i?r.height/i:r.height;return{width:p,height:m,top:h,right:d+p,bottom:h+m,left:d}}const qP={ignoreTransform:!1};function uf(r,e){e===void 0&&(e=qP);let t=r.getBoundingClientRect();if(e.ignoreTransform){const{transform:h,transformOrigin:p}=Di(r).getComputedStyle(r);h&&(t=HP(t,h,p))}const{top:n,left:o,width:i,height:a,bottom:c,right:d}=t;return{top:n,left:o,width:i,height:a,bottom:c,right:d}}function mb(r){return uf(r,{ignoreTransform:!0})}function WP(r){const e=r.innerWidth,t=r.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function UP(r,e){return e===void 0&&(e=Di(r).getComputedStyle(r)),e.position==="fixed"}function VP(r,e){e===void 0&&(e=Di(r).getComputedStyle(r));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=e[o];return typeof i=="string"?t.test(i):!1})}function yv(r,e){const t=[];function n(o){if(e!=null&&t.length>=e||!o)return t;if(gv(o)&&o.scrollingElement!=null&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Ch(o)||eC(o)||t.includes(o))return t;const i=Di(r).getComputedStyle(o);return o!==r&&VP(o,i)&&t.push(o),UP(o,i)?t:n(o.parentNode)}return r?n(r):t}function oC(r){const[e]=yv(r,1);return e??null}function im(r){return!og||!r?null:lf(r)?r:pv(r)?gv(r)||r===cf(r).scrollingElement?window:Ch(r)?r:null:null}function iC(r){return lf(r)?r.scrollX:r.scrollLeft}function sC(r){return lf(r)?r.scrollY:r.scrollTop}function I1(r){return{x:iC(r),y:sC(r)}}var Mo;(function(r){r[r.Forward=1]="Forward",r[r.Backward=-1]="Backward"})(Mo||(Mo={}));function aC(r){return!og||!r?!1:r===document.scrollingElement}function lC(r){const e={x:0,y:0},t=aC(r)?{height:window.innerHeight,width:window.innerWidth}:{height:r.clientHeight,width:r.clientWidth},n={x:r.scrollWidth-t.width,y:r.scrollHeight-t.height},o=r.scrollTop<=e.y,i=r.scrollLeft<=e.x,a=r.scrollTop>=n.y,c=r.scrollLeft>=n.x;return{isTop:o,isLeft:i,isBottom:a,isRight:c,maxScroll:n,minScroll:e}}const GP={x:.2,y:.2};function ZP(r,e,t,n,o){let{top:i,left:a,right:c,bottom:d}=t;n===void 0&&(n=10),o===void 0&&(o=GP);const{isTop:h,isBottom:p,isLeft:m,isRight:g}=lC(r),v={x:0,y:0},w={x:0,y:0},E={height:e.height*o.y,width:e.width*o.x};return!h&&i<=e.top+E.height?(v.y=Mo.Backward,w.y=n*Math.abs((e.top+E.height-i)/E.height)):!p&&d>=e.bottom-E.height&&(v.y=Mo.Forward,w.y=n*Math.abs((e.bottom-E.height-d)/E.height)),!g&&c>=e.right-E.width?(v.x=Mo.Forward,w.x=n*Math.abs((e.right-E.width-c)/E.width)):!m&&a<=e.left+E.width&&(v.x=Mo.Backward,w.x=n*Math.abs((e.left+E.width-a)/E.width)),{direction:v,speed:w}}function YP(r){if(r===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:e,left:t,right:n,bottom:o}=r.getBoundingClientRect();return{top:e,left:t,right:n,bottom:o,width:r.clientWidth,height:r.clientHeight}}function cC(r){return r.reduce((e,t)=>Gd(e,I1(t)),fa)}function KP(r){return r.reduce((e,t)=>e+iC(t),0)}function XP(r){return r.reduce((e,t)=>e+sC(t),0)}function JP(r,e){if(e===void 0&&(e=uf),!r)return;const{top:t,left:n,bottom:o,right:i}=e(r);oC(r)&&(o<=0||i<=0||t>=window.innerHeight||n>=window.innerWidth)&&r.scrollIntoView({block:"center",inline:"center"})}const QP=[["x",["left","right"],KP],["y",["top","bottom"],XP]];class bv{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=yv(t),o=cC(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[i,a,c]of QP)for(const d of a)Object.defineProperty(this,d,{get:()=>{const h=c(n),p=o[i]-h;return this.rect[d]+p},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Zf{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(t=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...t)})},this.target=e}add(e,t,n){var o;(o=this.target)==null||o.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function eB(r){const{EventTarget:e}=Di(r);return r instanceof e?r:cf(r)}function sm(r,e){const t=Math.abs(r.x),n=Math.abs(r.y);return typeof e=="number"?Math.sqrt(t**2+n**2)>e:"x"in e&&"y"in e?t>e.x&&n>e.y:"x"in e?t>e.x:"y"in e?n>e.y:!1}var _s;(function(r){r.Click="click",r.DragStart="dragstart",r.Keydown="keydown",r.ContextMenu="contextmenu",r.Resize="resize",r.SelectionChange="selectionchange",r.VisibilityChange="visibilitychange"})(_s||(_s={}));function vb(r){r.preventDefault()}function tB(r){r.stopPropagation()}var tn;(function(r){r.Space="Space",r.Down="ArrowDown",r.Right="ArrowRight",r.Left="ArrowLeft",r.Up="ArrowUp",r.Esc="Escape",r.Enter="Enter",r.Tab="Tab"})(tn||(tn={}));const uC={start:[tn.Space,tn.Enter],cancel:[tn.Esc],end:[tn.Space,tn.Enter,tn.Tab]},rB=(r,e)=>{let{currentCoordinates:t}=e;switch(r.code){case tn.Right:return{...t,x:t.x+25};case tn.Left:return{...t,x:t.x-25};case tn.Down:return{...t,y:t.y+25};case tn.Up:return{...t,y:t.y-25}}};class xv{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Zf(cf(t)),this.windowListeners=new Zf(Di(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(_s.Resize,this.handleCancel),this.windowListeners.add(_s.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(_s.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&JP(n),t(fa)}handleKeyDown(e){if(vv(e)){const{active:t,context:n,options:o}=this.props,{keyboardCodes:i=uC,coordinateGetter:a=rB,scrollBehavior:c="smooth"}=o,{code:d}=e;if(i.end.includes(d)){this.handleEnd(e);return}if(i.cancel.includes(d)){this.handleCancel(e);return}const{collisionRect:h}=n.current,p=h?{x:h.left,y:h.top}:fa;this.referenceCoordinates||(this.referenceCoordinates=p);const m=a(e,{active:t,context:n.current,currentCoordinates:p});if(m){const g=Fp(m,p),v={x:0,y:0},{scrollableAncestors:w}=n.current;for(const E of w){const _=e.code,{isTop:A,isRight:k,isLeft:D,isBottom:I,maxScroll:P,minScroll:j}=lC(E),W=YP(E),F={x:Math.min(_===tn.Right?W.right-W.width/2:W.right,Math.max(_===tn.Right?W.left:W.left+W.width/2,m.x)),y:Math.min(_===tn.Down?W.bottom-W.height/2:W.bottom,Math.max(_===tn.Down?W.top:W.top+W.height/2,m.y))},G=_===tn.Right&&!k||_===tn.Left&&!D,pe=_===tn.Down&&!I||_===tn.Up&&!A;if(G&&F.x!==m.x){const B=E.scrollLeft+g.x,q=_===tn.Right&&B<=P.x||_===tn.Left&&B>=j.x;if(q&&!g.y){E.scrollTo({left:B,behavior:c});return}q?v.x=E.scrollLeft-B:v.x=_===tn.Right?E.scrollLeft-P.x:E.scrollLeft-j.x,v.x&&E.scrollBy({left:-v.x,behavior:c});break}else if(pe&&F.y!==m.y){const B=E.scrollTop+g.y,q=_===tn.Down&&B<=P.y||_===tn.Up&&B>=j.y;if(q&&!g.x){E.scrollTo({top:B,behavior:c});return}q?v.y=E.scrollTop-B:v.y=_===tn.Down?E.scrollTop-P.y:E.scrollTop-j.y,v.y&&E.scrollBy({top:-v.y,behavior:c});break}}this.handleMove(e,Gd(Fp(m,this.referenceCoordinates),v))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}xv.activators=[{eventName:"onKeyDown",handler:(r,e,t)=>{let{keyboardCodes:n=uC,onActivation:o}=e,{active:i}=t;const{code:a}=r.nativeEvent;if(n.start.includes(a)){const c=i.activatorNode.current;return c&&r.target!==c?!1:(r.preventDefault(),o==null||o({event:r.nativeEvent}),!0)}return!1}}];function yb(r){return!!(r&&"distance"in r)}function bb(r){return!!(r&&"delay"in r)}class wv{constructor(e,t,n){var o;n===void 0&&(n=eB(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=cf(a),this.documentListeners=new Zf(this.document),this.listeners=new Zf(n),this.windowListeners=new Zf(Di(a)),this.initialCoordinates=(o=R1(i))!=null?o:fa,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(_s.Resize,this.handleCancel),this.windowListeners.add(_s.DragStart,vb),this.windowListeners.add(_s.VisibilityChange,this.handleCancel),this.windowListeners.add(_s.ContextMenu,vb),this.documentListeners.add(_s.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(bb(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(yb(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:o}=this.props;o(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(_s.Click,tB,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(_s.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:c}}=i;if(!o)return;const d=(t=R1(e))!=null?t:fa,h=Fp(o,d);if(!n&&c){if(yb(c)){if(c.tolerance!=null&&sm(h,c.tolerance))return this.handleCancel();if(sm(h,c.distance))return this.handleStart()}if(bb(c)&&sm(h,c.tolerance))return this.handleCancel();this.handlePending(c,h);return}e.cancelable&&e.preventDefault(),a(d)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===tn.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const nB={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Cv extends wv{constructor(e){const{event:t}=e,n=cf(t.target);super(e,nB,n)}}Cv.activators=[{eventName:"onPointerDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return!t.isPrimary||t.button!==0?!1:(n==null||n({event:t}),!0)}}];const oB={move:{name:"mousemove"},end:{name:"mouseup"}};var M1;(function(r){r[r.RightClick=2]="RightClick"})(M1||(M1={}));class iB extends wv{constructor(e){super(e,oB,cf(e.event.target))}}iB.activators=[{eventName:"onMouseDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return t.button===M1.RightClick?!1:(n==null||n({event:t}),!0)}}];const am={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class sB extends wv{constructor(e){super(e,am)}static setup(){return window.addEventListener(am.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(am.move.name,e)};function e(){}}}sB.activators=[{eventName:"onTouchStart",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;const{touches:o}=t;return o.length>1?!1:(n==null||n({event:t}),!0)}}];var Yf;(function(r){r[r.Pointer=0]="Pointer",r[r.DraggableRect=1]="DraggableRect"})(Yf||(Yf={}));var $p;(function(r){r[r.TreeOrder=0]="TreeOrder",r[r.ReversedTreeOrder=1]="ReversedTreeOrder"})($p||($p={}));function aB(r){let{acceleration:e,activator:t=Yf.Pointer,canScroll:n,draggingRect:o,enabled:i,interval:a=5,order:c=$p.TreeOrder,pointerCoordinates:d,scrollableAncestors:h,scrollableAncestorRects:p,delta:m,threshold:g}=r;const v=cB({delta:m,disabled:!i}),[w,E]=vP(),_=C.useRef({x:0,y:0}),A=C.useRef({x:0,y:0}),k=C.useMemo(()=>{switch(t){case Yf.Pointer:return d?{top:d.y,bottom:d.y,left:d.x,right:d.x}:null;case Yf.DraggableRect:return o}},[t,o,d]),D=C.useRef(null),I=C.useCallback(()=>{const j=D.current;if(!j)return;const W=_.current.x*A.current.x,F=_.current.y*A.current.y;j.scrollBy(W,F)},[]),P=C.useMemo(()=>c===$p.TreeOrder?[...h].reverse():h,[c,h]);C.useEffect(()=>{if(!i||!h.length||!k){E();return}for(const j of P){if((n==null?void 0:n(j))===!1)continue;const W=h.indexOf(j),F=p[W];if(!F)continue;const{direction:G,speed:pe}=ZP(j,F,k,e,g);for(const B of["x","y"])v[B][G[B]]||(pe[B]=0,G[B]=0);if(pe.x>0||pe.y>0){E(),D.current=j,w(I,a),_.current=pe,A.current=G;return}}_.current={x:0,y:0},A.current={x:0,y:0},E()},[e,I,n,E,i,a,JSON.stringify(k),JSON.stringify(v),w,h,P,p,JSON.stringify(g)])}const lB={x:{[Mo.Backward]:!1,[Mo.Forward]:!1},y:{[Mo.Backward]:!1,[Mo.Forward]:!1}};function cB(r){let{delta:e,disabled:t}=r;const n=k1(e);return Sh(o=>{if(t||!n||!o)return lB;const i={x:Math.sign(e.x-n.x),y:Math.sign(e.y-n.y)};return{x:{[Mo.Backward]:o.x[Mo.Backward]||i.x===-1,[Mo.Forward]:o.x[Mo.Forward]||i.x===1},y:{[Mo.Backward]:o.y[Mo.Backward]||i.y===-1,[Mo.Forward]:o.y[Mo.Forward]||i.y===1}}},[t,e,n])}function uB(r,e){const t=e!=null?r.get(e):void 0,n=t?t.node.current:null;return Sh(o=>{var i;return e==null?null:(i=n??o)!=null?i:null},[n,e])}function dB(r,e){return C.useMemo(()=>r.reduce((t,n)=>{const{sensor:o}=n,i=o.activators.map(a=>({eventName:a.eventName,handler:e(a.handler,n)}));return[...t,...i]},[]),[r,e])}var nf;(function(r){r[r.Always=0]="Always",r[r.BeforeDragging=1]="BeforeDragging",r[r.WhileDragging=2]="WhileDragging"})(nf||(nf={}));var L1;(function(r){r.Optimized="optimized"})(L1||(L1={}));const xb=new Map;function fB(r,e){let{dragging:t,dependencies:n,config:o}=e;const[i,a]=C.useState(null),{frequency:c,measure:d,strategy:h}=o,p=C.useRef(r),m=_(),g=ph(m),v=C.useCallback(function(A){A===void 0&&(A=[]),!g.current&&a(k=>k===null?A:k.concat(A.filter(D=>!k.includes(D))))},[g]),w=C.useRef(null),E=Sh(A=>{if(m&&!t)return xb;if(!A||A===xb||p.current!==r||i!=null){const k=new Map;for(let D of r){if(!D)continue;if(i&&i.length>0&&!i.includes(D.id)&&D.rect.current){k.set(D.id,D.rect.current);continue}const I=D.node.current,P=I?new bv(d(I),I):null;D.rect.current=P,P&&k.set(D.id,P)}return k}return A},[r,i,t,m,d]);return C.useEffect(()=>{p.current=r},[r]),C.useEffect(()=>{m||v()},[t,m]),C.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),C.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{v(),w.current=null},c))},[c,m,v,...n]),{droppableRects:E,measureDroppableContainers:v,measuringScheduled:i!=null};function _(){switch(h){case nf.Always:return!1;case nf.BeforeDragging:return t;default:return!t}}}function dC(r,e){return Sh(t=>r?t||(typeof e=="function"?e(r):r):null,[e,r])}function hB(r,e){return dC(r,e)}function pB(r){let{callback:e,disabled:t}=r;const n=mv(e),o=C.useMemo(()=>{if(t||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(n)},[n,t]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function ig(r){let{callback:e,disabled:t}=r;const n=mv(e),o=C.useMemo(()=>{if(t||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(n)},[t]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function gB(r){return new bv(uf(r),r)}function wb(r,e,t){e===void 0&&(e=gB);const[n,o]=C.useState(null);function i(){o(d=>{if(!r)return null;if(r.isConnected===!1){var h;return(h=d??t)!=null?h:null}const p=e(r);return JSON.stringify(d)===JSON.stringify(p)?d:p})}const a=pB({callback(d){if(r)for(const h of d){const{type:p,target:m}=h;if(p==="childList"&&m instanceof HTMLElement&&m.contains(r)){i();break}}}}),c=ig({callback:i});return el(()=>{i(),r?(c==null||c.observe(r),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),a==null||a.disconnect())},[r]),n}function mB(r){const e=dC(r);return nC(r,e)}const Cb=[];function vB(r){const e=C.useRef(r),t=Sh(n=>r?n&&n!==Cb&&r&&e.current&&r.parentNode===e.current.parentNode?n:yv(r):Cb,[r]);return C.useEffect(()=>{e.current=r},[r]),t}function yB(r){const[e,t]=C.useState(null),n=C.useRef(r),o=C.useCallback(i=>{const a=im(i.target);a&&t(c=>c?(c.set(a,I1(a)),new Map(c)):null)},[]);return C.useEffect(()=>{const i=n.current;if(r!==i){a(i);const c=r.map(d=>{const h=im(d);return h?(h.addEventListener("scroll",o,{passive:!0}),[h,I1(h)]):null}).filter(d=>d!=null);t(c.length?new Map(c):null),n.current=r}return()=>{a(r),a(i)};function a(c){c.forEach(d=>{const h=im(d);h==null||h.removeEventListener("scroll",o)})}},[o,r]),C.useMemo(()=>r.length?e?Array.from(e.values()).reduce((i,a)=>Gd(i,a),fa):cC(r):fa,[r,e])}function Sb(r,e){e===void 0&&(e=[]);const t=C.useRef(null);return C.useEffect(()=>{t.current=null},e),C.useEffect(()=>{const n=r!==fa;n&&!t.current&&(t.current=r),!n&&t.current&&(t.current=null)},[r]),t.current?Fp(r,t.current):fa}function bB(r){C.useEffect(()=>{if(!og)return;const e=r.map(t=>{let{sensor:n}=t;return n.setup==null?void 0:n.setup()});return()=>{for(const t of e)t==null||t()}},r.map(e=>{let{sensor:t}=e;return t}))}function xB(r,e){return C.useMemo(()=>r.reduce((t,n)=>{let{eventName:o,handler:i}=n;return t[o]=a=>{i(a,e)},t},{}),[r,e])}function fC(r){return C.useMemo(()=>r?WP(r):null,[r])}const _b=[];function wB(r,e){e===void 0&&(e=uf);const[t]=r,n=fC(t?Di(t):null),[o,i]=C.useState(_b);function a(){i(()=>r.length?r.map(d=>aC(d)?n:new bv(e(d),d)):_b)}const c=ig({callback:a});return el(()=>{c==null||c.disconnect(),a(),r.forEach(d=>c==null?void 0:c.observe(d))},[r]),o}function CB(r){if(!r)return null;if(r.children.length>1)return r;const e=r.children[0];return Ch(e)?e:r}function SB(r){let{measure:e}=r;const[t,n]=C.useState(null),o=C.useCallback(h=>{for(const{target:p}of h)if(Ch(p)){n(m=>{const g=e(p);return m?{...m,width:g.width,height:g.height}:g});break}},[e]),i=ig({callback:o}),a=C.useCallback(h=>{const p=CB(h);i==null||i.disconnect(),p&&(i==null||i.observe(p)),n(p?e(p):null)},[e,i]),[c,d]=jp(a);return C.useMemo(()=>({nodeRef:c,rect:t,setRef:d}),[t,c,d])}const _B=[{sensor:Cv,options:{}},{sensor:xv,options:{}}],AB={current:{}},vp={draggable:{measure:mb},droppable:{measure:mb,strategy:nf.WhileDragging,frequency:L1.Optimized},dragOverlay:{measure:uf}};class Kf extends Map{get(e){var t;return e!=null&&(t=super.get(e))!=null?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return(t=(n=this.get(e))==null?void 0:n.node.current)!=null?t:void 0}}const EB={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Kf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:zp},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:vp,measureDroppableContainers:zp,windowRect:null,measuringScheduled:!1},TB={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:zp,draggableNodes:new Map,over:null,measureDroppableContainers:zp},sg=C.createContext(TB),hC=C.createContext(EB);function kB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Kf}}}function RB(r,e){switch(e.type){case wo.DragStart:return{...r,draggable:{...r.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case wo.DragMove:return r.draggable.active==null?r:{...r,draggable:{...r.draggable,translate:{x:e.coordinates.x-r.draggable.initialCoordinates.x,y:e.coordinates.y-r.draggable.initialCoordinates.y}}};case wo.DragEnd:case wo.DragCancel:return{...r,draggable:{...r.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case wo.RegisterDroppable:{const{element:t}=e,{id:n}=t,o=new Kf(r.droppable.containers);return o.set(n,t),{...r,droppable:{...r.droppable,containers:o}}}case wo.SetDroppableDisabled:{const{id:t,key:n,disabled:o}=e,i=r.droppable.containers.get(t);if(!i||n!==i.key)return r;const a=new Kf(r.droppable.containers);return a.set(t,{...i,disabled:o}),{...r,droppable:{...r.droppable,containers:a}}}case wo.UnregisterDroppable:{const{id:t,key:n}=e,o=r.droppable.containers.get(t);if(!o||n!==o.key)return r;const i=new Kf(r.droppable.containers);return i.delete(t),{...r,droppable:{...r.droppable,containers:i}}}default:return r}}function IB(r){let{disabled:e}=r;const{active:t,activatorEvent:n,draggableNodes:o}=C.useContext(sg),i=k1(n),a=k1(t==null?void 0:t.id);return C.useEffect(()=>{if(!e&&!n&&i&&a!=null){if(!vv(i)||document.activeElement===i.target)return;const c=o.get(a);if(!c)return;const{activatorNode:d,node:h}=c;if(!d.current&&!h.current)return;requestAnimationFrame(()=>{for(const p of[d.current,h.current]){if(!p)continue;const m=xP(p);if(m){m.focus();break}}})}},[n,e,o,a,i]),null}function MB(r,e){let{transform:t,...n}=e;return r!=null&&r.length?r.reduce((o,i)=>i({transform:o,...n}),t):t}function LB(r){return C.useMemo(()=>({draggable:{...vp.draggable,...r==null?void 0:r.draggable},droppable:{...vp.droppable,...r==null?void 0:r.droppable},dragOverlay:{...vp.dragOverlay,...r==null?void 0:r.dragOverlay}}),[r==null?void 0:r.draggable,r==null?void 0:r.droppable,r==null?void 0:r.dragOverlay])}function DB(r){let{activeNode:e,measure:t,initialRect:n,config:o=!0}=r;const i=C.useRef(!1),{x:a,y:c}=typeof o=="boolean"?{x:o,y:o}:o;el(()=>{if(!a&&!c||!e){i.current=!1;return}if(i.current||!n)return;const h=e==null?void 0:e.node.current;if(!h||h.isConnected===!1)return;const p=t(h),m=nC(p,n);if(a||(m.x=0),c||(m.y=0),i.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const g=oC(h);g&&g.scrollBy({top:m.y,left:m.x})}},[e,a,c,n,t])}const pC=C.createContext({...fa,scaleX:1,scaleY:1});var kc;(function(r){r[r.Uninitialized=0]="Uninitialized",r[r.Initializing=1]="Initializing",r[r.Initialized=2]="Initialized"})(kc||(kc={}));const OB=C.memo(function(e){var t,n,o,i;let{id:a,accessibility:c,autoScroll:d=!0,children:h,sensors:p=_B,collisionDetection:m=BP,measuring:g,modifiers:v,...w}=e;const E=C.useReducer(RB,void 0,kB),[_,A]=E,[k,D]=EP(),[I,P]=C.useState(kc.Uninitialized),j=I===kc.Initialized,{draggable:{active:W,nodes:F,translate:G},droppable:{containers:pe}}=_,B=W!=null?F.get(W):null,q=C.useRef({initial:null,translated:null}),V=C.useMemo(()=>{var _t;return W!=null?{id:W,data:(_t=B==null?void 0:B.data)!=null?_t:AB,rect:q}:null},[W,B]),ee=C.useRef(null),[ae,ne]=C.useState(null),[oe,le]=C.useState(null),ge=ph(w,Object.values(w)),te=_h("DndDescribedBy",a),ie=C.useMemo(()=>pe.getEnabled(),[pe]),ue=LB(g),{droppableRects:xe,measureDroppableContainers:ke,measuringScheduled:se}=fB(ie,{dragging:j,dependencies:[G.x,G.y],config:ue.droppable}),Ae=uB(F,W),De=C.useMemo(()=>oe?R1(oe):null,[oe]),Ge=wt(),Ue=hB(Ae,ue.draggable.measure);DB({activeNode:W!=null?F.get(W):null,config:Ge.layoutShiftCompensation,initialRect:Ue,measure:ue.draggable.measure});const we=wb(Ae,ue.draggable.measure,Ue),Se=wb(Ae?Ae.parentElement:null),_e=C.useRef({activatorEvent:null,active:null,activeNode:Ae,collisionRect:null,collisions:null,droppableRects:xe,draggableNodes:F,draggingNode:null,draggingNodeRect:null,droppableContainers:pe,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Re=pe.getNodeFor((t=_e.current.over)==null?void 0:t.id),Me=SB({measure:ue.dragOverlay.measure}),tt=(n=Me.nodeRef.current)!=null?n:Ae,We=j?(o=Me.rect)!=null?o:we:null,et=!!(Me.nodeRef.current&&Me.rect),st=mB(et?null:we),ze=fC(tt?Di(tt):null),Ke=vB(j?Re??Ae:null),bt=wB(Ke),ht=MB(v,{transform:{x:G.x-st.x,y:G.y-st.y,scaleX:1,scaleY:1},activatorEvent:oe,active:V,activeNodeRect:we,containerNodeRect:Se,draggingNodeRect:We,over:_e.current.over,overlayNodeRect:Me.rect,scrollableAncestors:Ke,scrollableAncestorRects:bt,windowRect:ze}),dt=De?Gd(De,G):null,St=yB(Ke),Ve=Sb(St),rt=Sb(St,[we]),vt=Gd(ht,Ve),Tt=We?zP(We,ht):null,xt=V&&Tt?m({active:V,collisionRect:Tt,droppableRects:xe,droppableContainers:ie,pointerCoordinates:dt}):null,Mt=OP(xt,"id"),[Vt,Ht]=C.useState(null),hr=et?ht:Gd(ht,rt),_r=jP(hr,(i=Vt==null?void 0:Vt.rect)!=null?i:null,we),yr=C.useRef(null),Ee=C.useCallback((_t,jt)=>{let{sensor:Ot,options:ir}=jt;if(ee.current==null)return;const Ft=F.get(ee.current);if(!Ft)return;const nr=_t.nativeEvent,tr=new Ot({active:ee.current,activeNode:Ft,event:nr,options:ir,context:_e,onAbort(lt){if(!F.get(lt))return;const{onDragAbort:kt}=ge.current,Lt={id:lt};kt==null||kt(Lt),k({type:"onDragAbort",event:Lt})},onPending(lt,At,kt,Lt){if(!F.get(lt))return;const{onDragPending:rr}=ge.current,je={id:lt,constraint:At,initialCoordinates:kt,offset:Lt};rr==null||rr(je),k({type:"onDragPending",event:je})},onStart(lt){const At=ee.current;if(At==null)return;const kt=F.get(At);if(!kt)return;const{onDragStart:Lt}=ge.current,qt={activatorEvent:nr,active:{id:At,data:kt.data,rect:q}};ks.unstable_batchedUpdates(()=>{Lt==null||Lt(qt),P(kc.Initializing),A({type:wo.DragStart,initialCoordinates:lt,active:At}),k({type:"onDragStart",event:qt}),ne(yr.current),le(nr)})},onMove(lt){A({type:wo.DragMove,coordinates:lt})},onEnd:it(wo.DragEnd),onCancel:it(wo.DragCancel)});yr.current=tr;function it(lt){return async function(){const{active:kt,collisions:Lt,over:qt,scrollAdjustedTranslate:rr}=_e.current;let je=null;if(kt&&rr){const{cancelDrop:Q}=ge.current;je={activatorEvent:nr,active:kt,collisions:Lt,delta:rr,over:qt},lt===wo.DragEnd&&typeof Q=="function"&&await Promise.resolve(Q(je))&&(lt=wo.DragCancel)}ee.current=null,ks.unstable_batchedUpdates(()=>{A({type:lt}),P(kc.Uninitialized),Ht(null),ne(null),le(null),yr.current=null;const Q=lt===wo.DragEnd?"onDragEnd":"onDragCancel";if(je){const me=ge.current[Q];me==null||me(je),k({type:Q,event:je})}})}}},[F]),de=C.useCallback((_t,jt)=>(Ot,ir)=>{const Ft=Ot.nativeEvent,nr=F.get(ir);if(ee.current!==null||!nr||Ft.dndKit||Ft.defaultPrevented)return;const tr={active:nr};_t(Ot,jt.options,tr)===!0&&(Ft.dndKit={capturedBy:jt.sensor},ee.current=ir,Ee(Ot,jt))},[F,Ee]),nt=dB(p,de);bB(p),el(()=>{we&&I===kc.Initializing&&P(kc.Initialized)},[we,I]),C.useEffect(()=>{const{onDragMove:_t}=ge.current,{active:jt,activatorEvent:Ot,collisions:ir,over:Ft}=_e.current;if(!jt||!Ot)return;const nr={active:jt,activatorEvent:Ot,collisions:ir,delta:{x:vt.x,y:vt.y},over:Ft};ks.unstable_batchedUpdates(()=>{_t==null||_t(nr),k({type:"onDragMove",event:nr})})},[vt.x,vt.y]),C.useEffect(()=>{const{active:_t,activatorEvent:jt,collisions:Ot,droppableContainers:ir,scrollAdjustedTranslate:Ft}=_e.current;if(!_t||ee.current==null||!jt||!Ft)return;const{onDragOver:nr}=ge.current,tr=ir.get(Mt),it=tr&&tr.rect.current?{id:tr.id,rect:tr.rect.current,data:tr.data,disabled:tr.disabled}:null,lt={active:_t,activatorEvent:jt,collisions:Ot,delta:{x:Ft.x,y:Ft.y},over:it};ks.unstable_batchedUpdates(()=>{Ht(it),nr==null||nr(lt),k({type:"onDragOver",event:lt})})},[Mt]),el(()=>{_e.current={activatorEvent:oe,active:V,activeNode:Ae,collisionRect:Tt,collisions:xt,droppableRects:xe,draggableNodes:F,draggingNode:tt,draggingNodeRect:We,droppableContainers:pe,over:Vt,scrollableAncestors:Ke,scrollAdjustedTranslate:vt},q.current={initial:We,translated:Tt}},[V,Ae,xt,Tt,F,tt,We,xe,pe,Vt,Ke,vt]),aB({...Ge,delta:G,draggingRect:Tt,pointerCoordinates:dt,scrollableAncestors:Ke,scrollableAncestorRects:bt});const qe=C.useMemo(()=>({active:V,activeNode:Ae,activeNodeRect:we,activatorEvent:oe,collisions:xt,containerNodeRect:Se,dragOverlay:Me,draggableNodes:F,droppableContainers:pe,droppableRects:xe,over:Vt,measureDroppableContainers:ke,scrollableAncestors:Ke,scrollableAncestorRects:bt,measuringConfiguration:ue,measuringScheduled:se,windowRect:ze}),[V,Ae,we,oe,xt,Se,Me,F,pe,xe,Vt,ke,Ke,bt,ue,se,ze]),pt=C.useMemo(()=>({activatorEvent:oe,activators:nt,active:V,activeNodeRect:we,ariaDescribedById:{draggable:te},dispatch:A,draggableNodes:F,over:Vt,measureDroppableContainers:ke}),[oe,nt,V,we,A,te,F,Vt,ke]);return C.createElement(rC.Provider,{value:D},C.createElement(sg.Provider,{value:pt},C.createElement(hC.Provider,{value:qe},C.createElement(pC.Provider,{value:_r},h)),C.createElement(IB,{disabled:(c==null?void 0:c.restoreFocus)===!1})),C.createElement(RP,{...c,hiddenTextDescribedById:te}));function wt(){const _t=(ae==null?void 0:ae.autoScrollEnabled)===!1,jt=typeof d=="object"?d.enabled===!1:d===!1,Ot=j&&!_t&&!jt;return typeof d=="object"?{...d,enabled:Ot}:{enabled:Ot}}}),NB=C.createContext(null),Ab="button",PB="Draggable";function BB(r){let{id:e,data:t,disabled:n=!1,attributes:o}=r;const i=_h(PB),{activators:a,activatorEvent:c,active:d,activeNodeRect:h,ariaDescribedById:p,draggableNodes:m,over:g}=C.useContext(sg),{role:v=Ab,roleDescription:w="draggable",tabIndex:E=0}=o??{},_=(d==null?void 0:d.id)===e,A=C.useContext(_?pC:NB),[k,D]=jp(),[I,P]=jp(),j=xB(a,e),W=ph(t);el(()=>(m.set(e,{id:e,key:i,node:k,activatorNode:I,data:W}),()=>{const G=m.get(e);G&&G.key===i&&m.delete(e)}),[m,e]);const F=C.useMemo(()=>({role:v,tabIndex:E,"aria-disabled":n,"aria-pressed":_&&v===Ab?!0:void 0,"aria-roledescription":w,"aria-describedby":p.draggable}),[n,v,E,_,w,p.draggable]);return{active:d,activatorEvent:c,activeNodeRect:h,attributes:F,isDragging:_,listeners:n?void 0:j,node:k,over:g,setNodeRef:D,setActivatorNodeRef:P,transform:A}}function jB(){return C.useContext(hC)}const FB="Droppable",zB={timeout:25};function $B(r){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:o}=r;const i=_h(FB),{active:a,dispatch:c,over:d,measureDroppableContainers:h}=C.useContext(sg),p=C.useRef({disabled:t}),m=C.useRef(!1),g=C.useRef(null),v=C.useRef(null),{disabled:w,updateMeasurementsFor:E,timeout:_}={...zB,...o},A=ph(E??n),k=C.useCallback(()=>{if(!m.current){m.current=!0;return}v.current!=null&&clearTimeout(v.current),v.current=setTimeout(()=>{h(Array.isArray(A.current)?A.current:[A.current]),v.current=null},_)},[_]),D=ig({callback:k,disabled:w||!a}),I=C.useCallback((F,G)=>{D&&(G&&(D.unobserve(G),m.current=!1),F&&D.observe(F))},[D]),[P,j]=jp(I),W=ph(e);return C.useEffect(()=>{!D||!P.current||(D.disconnect(),m.current=!1,D.observe(P.current))},[P,D]),C.useEffect(()=>(c({type:wo.RegisterDroppable,element:{id:n,key:i,disabled:t,node:P,rect:g,data:W}}),()=>c({type:wo.UnregisterDroppable,key:i,id:n})),[n]),C.useEffect(()=>{t!==p.current.disabled&&(c({type:wo.SetDroppableDisabled,id:n,key:i,disabled:t}),p.current.disabled=t)},[n,i,t,c]),{active:a,rect:g,isOver:(d==null?void 0:d.id)===n,node:P,over:d,setNodeRef:j}}function gC(r,e,t){const n={...r};return e.top+r.y<=t.top?n.y=t.top-e.top:e.bottom+r.y>=t.top+t.height&&(n.y=t.top+t.height-e.bottom),e.left+r.x<=t.left?n.x=t.left-e.left:e.right+r.x>=t.left+t.width&&(n.x=t.left+t.width-e.right),n}const HB=r=>{let{containerNodeRect:e,draggingNodeRect:t,transform:n}=r;return!t||!e?n:gC(n,t,e)},qB=r=>{let{transform:e,draggingNodeRect:t,windowRect:n}=r;return!t||!n?e:gC(e,t,n)};function Hp(r,e,t){const n=r.slice();return n.splice(t<0?n.length+t:t,0,n.splice(e,1)[0]),n}function WB(r,e){return r.reduce((t,n,o)=>{const i=e.get(n);return i&&(t[o]=i),t},Array(r.length))}function lp(r){return r!==null&&r>=0}function UB(r,e){if(r===e)return!0;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}function VB(r){return typeof r=="boolean"?{draggable:r,droppable:r}:r}const mC=r=>{let{rects:e,activeIndex:t,overIndex:n,index:o}=r;const i=Hp(e,n,t),a=e[o],c=i[o];return!c||!a?null:{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}},cp={scaleX:1,scaleY:1},GB=r=>{var e;let{activeIndex:t,activeNodeRect:n,index:o,rects:i,overIndex:a}=r;const c=(e=i[t])!=null?e:n;if(!c)return null;if(o===t){const h=i[a];return h?{x:0,y:t<a?h.top+h.height-(c.top+c.height):h.top-c.top,...cp}:null}const d=ZB(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-d,...cp}:o<t&&o>=a?{x:0,y:c.height+d,...cp}:{x:0,y:0,...cp}};function ZB(r,e,t){const n=r[e],o=r[e-1],i=r[e+1];return n?t<e?o?n.top-(o.top+o.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):o?n.top-(o.top+o.height):0:0}const vC="Sortable",yC=C.createContext({activeIndex:-1,containerId:vC,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:mC,disabled:{draggable:!1,droppable:!1}});function YB(r){let{children:e,id:t,items:n,strategy:o=mC,disabled:i=!1}=r;const{active:a,dragOverlay:c,droppableRects:d,over:h,measureDroppableContainers:p}=jB(),m=_h(vC,t),g=c.rect!==null,v=C.useMemo(()=>n.map(j=>typeof j=="object"&&"id"in j?j.id:j),[n]),w=a!=null,E=a?v.indexOf(a.id):-1,_=h?v.indexOf(h.id):-1,A=C.useRef(v),k=!UB(v,A.current),D=_!==-1&&E===-1||k,I=VB(i);el(()=>{k&&w&&p(v)},[k,v,w,p]),C.useEffect(()=>{A.current=v},[v]);const P=C.useMemo(()=>({activeIndex:E,containerId:m,disabled:I,disableTransforms:D,items:v,overIndex:_,useDragOverlay:g,sortedRects:WB(v,d),strategy:o}),[E,m,I.draggable,I.droppable,D,v,_,d,g,o]);return C.createElement(yC.Provider,{value:P},e)}const KB=r=>{let{id:e,items:t,activeIndex:n,overIndex:o}=r;return Hp(t,n,o).indexOf(e)},XB=r=>{let{containerId:e,isSorting:t,wasDragging:n,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:d,transition:h}=r;return!h||!n||c!==i&&o===a?!1:t?!0:a!==o&&e===d},JB={duration:200,easing:"ease"},bC="transform",QB=gh.Transition.toString({property:bC,duration:0,easing:"linear"}),ej={roleDescription:"sortable"};function tj(r){let{disabled:e,index:t,node:n,rect:o}=r;const[i,a]=C.useState(null),c=C.useRef(t);return el(()=>{if(!e&&t!==c.current&&n.current){const d=o.current;if(d){const h=uf(n.current,{ignoreTransform:!0}),p={x:d.left-h.left,y:d.top-h.top,scaleX:d.width/h.width,scaleY:d.height/h.height};(p.x||p.y)&&a(p)}}t!==c.current&&(c.current=t)},[e,t,n,o]),C.useEffect(()=>{i&&a(null)},[i]),i}function rj(r){let{animateLayoutChanges:e=XB,attributes:t,disabled:n,data:o,getNewIndex:i=KB,id:a,strategy:c,resizeObserverConfig:d,transition:h=JB}=r;const{items:p,containerId:m,activeIndex:g,disabled:v,disableTransforms:w,sortedRects:E,overIndex:_,useDragOverlay:A,strategy:k}=C.useContext(yC),D=nj(n,v),I=p.indexOf(a),P=C.useMemo(()=>({sortable:{containerId:m,index:I,items:p},...o}),[m,o,I,p]),j=C.useMemo(()=>p.slice(p.indexOf(a)),[p,a]),{rect:W,node:F,isOver:G,setNodeRef:pe}=$B({id:a,data:P,disabled:D.droppable,resizeObserverConfig:{updateMeasurementsFor:j,...d}}),{active:B,activatorEvent:q,activeNodeRect:V,attributes:ee,setNodeRef:ae,listeners:ne,isDragging:oe,over:le,setActivatorNodeRef:ge,transform:te}=BB({id:a,data:P,attributes:{...ej,...t},disabled:D.draggable}),ie=mP(pe,ae),ue=!!B,xe=ue&&!w&&lp(g)&&lp(_),ke=!A&&oe,se=ke&&xe?te:null,De=xe?se??(c??k)({rects:E,activeNodeRect:V,activeIndex:g,overIndex:_,index:I}):null,Ge=lp(g)&&lp(_)?i({id:a,items:p,activeIndex:g,overIndex:_}):I,Ue=B==null?void 0:B.id,we=C.useRef({activeId:Ue,items:p,newIndex:Ge,containerId:m}),Se=p!==we.current.items,_e=e({active:B,containerId:m,isDragging:oe,isSorting:ue,id:a,index:I,items:p,newIndex:we.current.newIndex,previousItems:we.current.items,previousContainerId:we.current.containerId,transition:h,wasDragging:we.current.activeId!=null}),Re=tj({disabled:!_e,index:I,node:F,rect:W});return C.useEffect(()=>{ue&&we.current.newIndex!==Ge&&(we.current.newIndex=Ge),m!==we.current.containerId&&(we.current.containerId=m),p!==we.current.items&&(we.current.items=p)},[ue,Ge,m,p]),C.useEffect(()=>{if(Ue===we.current.activeId)return;if(Ue!=null&&we.current.activeId==null){we.current.activeId=Ue;return}const tt=setTimeout(()=>{we.current.activeId=Ue},50);return()=>clearTimeout(tt)},[Ue]),{active:B,activeIndex:g,attributes:ee,data:P,rect:W,index:I,newIndex:Ge,items:p,isOver:G,isSorting:ue,isDragging:oe,listeners:ne,node:F,overIndex:_,over:le,setNodeRef:ie,setActivatorNodeRef:ge,setDroppableNodeRef:pe,setDraggableNodeRef:ae,transform:Re??De,transition:Me()};function Me(){if(Re||Se&&we.current.newIndex===I)return QB;if(!(ke&&!vv(q)||!h)&&(ue||_e))return gh.Transition.toString({...h,property:bC})}}function nj(r,e){var t,n;return typeof r=="boolean"?{draggable:r,droppable:!1}:{draggable:(t=r==null?void 0:r.draggable)!=null?t:e.draggable,droppable:(n=r==null?void 0:r.droppable)!=null?n:e.droppable}}tn.Down,tn.Right,tn.Up,tn.Left;function qp(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=qp(t.children,e);if(n)return n}}function Ah(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&Ah(t.children,e)}function xC(r,e){Array.isArray(r)||(r=[r]);const t=[];return Ah(r,(n,o)=>t.push(e(n,o))),t}function wC(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!wC(t.children,e))return!1}return!0}function oj(r,e){Array.isArray(r)||(r=[r]);const t=[];return Ah(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function ij(r){Array.isArray(r)||(r=[r]);let e=0;return Ah(r,()=>e++),e}function sj(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=qp(r,a=>{var c;return(c=a.children)==null?void 0:c.some(d=>n(d,e))}),i=qp(r,a=>{var c;return(c=a.children)==null?void 0:c.some(d=>n(d,t))});if(o===void 0&&i===void 0){const a=r.findIndex(d=>n(d,e)),c=r.findIndex(d=>n(d,t));return r.splice(a,1),r.splice(c,0,e),[...r]}else if(o!==void 0&&i!==void 0&&n(o,i)&&o.children){const a=o.children.findIndex(d=>n(d,e)),c=o.children.findIndex(d=>n(d,t));return a===void 0||c===void 0?null:(o.children.splice(a,1),o.children.splice(c,0,e),o.children=[...o.children],[...r])}return null}function aj(r,e,t){const n=[],o=[...e];for(;o.length>0;){const i=o.shift();if(i&&!n.find(a=>t(a,i))&&(n.push(i),!(!i.children||i.children.length<1)))for(const a of i.children)o.push(a)}return n}function lj(r,e,t){Array.isArray(r)||(r=[r]);const n=xC(r,a=>a),o=[],i=[...e];for(;i.length>0;){const a=i.shift();if(!a||o.find(d=>t(d,a)))continue;o.push(a);const c=n.find(d=>{var h;return(h=d.children)==null?void 0:h.some(p=>t(p,a))});c&&i.push(c)}return o}const Rc={find:qp,forEach:Ah,map:xC,every:wC,filter:oj,length:ij,replace:sj,descendants:aj,ancestors:lj},cj="_AWrap_1tiv0_1",uj="_AContainer_1tiv0_10",dj="_ATree_1tiv0_18",fj="_ATreeBody_1tiv0_30",hj="_CoverBorder_1tiv0_36",pj="_InsertBorder_1tiv0_45",gj="_ATreeHeader_1tiv0_76",mj="_ATreeBodyHeader_1tiv0_82",vj="_ATreeBodyHeaderResources_1tiv0_92",yj="_ATreeItem_1tiv0_98",bj="_IsSelectUsed_1tiv0_114",xj="_IsSelected_1tiv0_117",wj="_IsSearchSelected_1tiv0_122",Cj="_IsHovered_1tiv0_133",Sj="_CheckBox_1tiv0_137",_j="_Indents_1tiv0_149",Aj="_ExpandIcon_1tiv0_156",Ej="_Content_1tiv0_168",Tj="_RightSticky_1tiv0_177",kj="_SearchInputWrap_1tiv0_187",Rj="_SearchInput_1tiv0_187",Ij="_RightAddon_1tiv0_199",Mj="_RightAddonIcon_1tiv0_210",Lj="_Loader_1tiv0_217",Dj="_IsChildOfDragSource_1tiv0_222",pn={AWrap:cj,AContainer:uj,ATree:dj,ATreeBody:fj,CoverBorder:hj,InsertBorder:pj,ATreeHeader:gj,ATreeBodyHeader:mj,ATreeBodyHeaderResources:vj,ATreeItem:yj,IsSelectUsed:bj,IsSelected:xj,IsSearchSelected:wj,IsHovered:Cj,CheckBox:Sj,Indents:_j,ExpandIcon:Aj,Content:Ej,RightSticky:Tj,SearchInputWrap:kj,SearchInput:Rj,RightAddon:Ij,RightAddonIcon:Mj,Loader:Lj,IsChildOfDragSource:Dj},Oj=r=>{const{isEqual:e,item:t,itemId:n,selectDisabled:o,selectUnused:i,isParentDisabled:a,indents:c,extIndents:d,useExpand:h,useSelect:p,useSearch:m,showCheckbox:g,icons:v,iconWidth:w,isSelectMulti:E,isDraggable:_,isParentCheckHovered:A,hoverdItem:k,onMouseOver:D,onMouseLeave:I,ContentRenderer:P,TreeItemRenderer:j,RightStickyAddon:W,resources:F,containerRef:G,TreeItemStyle:pe,TreeItemClassName:B,searchItemStyle:q,searchItemClassName:V,height:ee,isDragSrcItem:ae,isChildOfDragItem:ne}=r,{children:oe}=C.useMemo(()=>t,[t]),[le,ge]=C.useMemo(()=>h,[h]),[te,ie]=C.useMemo(()=>p,[p]),[ue,xe]=C.useMemo(()=>m,[m]),ke=C.useMemo(()=>i?i(t):!1,[i,t]),se=C.useMemo(()=>!o||a?a:o(t),[o,a,t]),Ae=C.useMemo(()=>le.some(qe=>e(qe,t)),[le,e,t]),De=C.useMemo(()=>!oe||oe.length<1?"noChild":Ae?"expanded":"collapsed",[oe,Ae]),Ge=C.useMemo(()=>{const qe=v[De];return P1.includes(qe)?S.jsx(ln,{icon:qe,style:{width:w,height:w}}):qe},[v,w,De]),Ue=C.useCallback(qe=>{!ge||De==="noChild"||(ge(Ae?le.filter(pt=>!e(pt,t)):[...le,t]),qe.stopPropagation())},[ge,le,Ae,t,e,De]),we=C.useMemo(()=>te.some(qe=>e(qe,t)),[te,e,t]),Se=C.useCallback(()=>{!ie||se||(ie(E?we?te.filter(qe=>!e(qe,t)):[...te,t]:[t]),ue&&xe&&ue.items.some(qe=>e(qe,t))&&xe({...ue,item:t}))},[E,se,we,ue,xe,ie,e,te,t]),_e=C.useMemo(()=>ue==null?void 0:ue.items.some(qe=>e(qe,t)),[ue,e,t]),Re=C.useMemo(()=>_e&&(ue==null?void 0:ue.item)&&e(ue.item,t),[_e,ue,e,t]),Me=C.useRef(null),tt=C.useRef(null),{attributes:We,listeners:et,setNodeRef:st,transform:ze,transition:Ke,isDragging:bt}=rj({id:n||`item-${JSON.stringify(t)}`,disabled:!_||!!a||!n}),ht=C.useMemo(()=>ne?ne(t):!1,[ne,t]),dt=C.useMemo(()=>{const qe=ze?{transform:gh.Transform.toString(ze),transition:Ke,opacity:bt?.5:1,zIndex:bt?1:"auto"}:{};return ae||ht?{...qe,opacity:.5,zIndex:10}:qe},[ze,Ke,bt,ae,ht]);C.useEffect(()=>{n&&st&&tt.current&&st(tt.current)},[n,st]),C.useEffect(()=>{setTimeout(()=>{if(Re&&Me.current&&G.current){const{top:qe,bottom:pt}=Me.current.getBoundingClientRect(),{top:wt,bottom:_t}=G.current.getBoundingClientRect();(qe<wt||pt>_t)&&Me.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[G,Re]);const[St,Ve]=C.useState(!1),rt=C.useCallback(()=>!se&&Ve(!0),[se]),vt=C.useCallback(()=>!se&&Ve(!1),[se]),Tt=C.useMemo(()=>Rc.map(t,qe=>qe).filter(qe=>!(o!=null&&o(qe))&&!(i!=null&&i(qe))),[o,i,t]),xt=C.useMemo(()=>!g||!E?!1:we&&Tt.some(qe=>te.some(pt=>e(qe,pt)))&&Tt.some(qe=>!te.some(pt=>e(qe,pt))),[g,E,we,Tt,e,te]),Mt=C.useMemo(()=>g?E?Tt.every(qe=>te.some(pt=>e(qe,pt))):te.some(qe=>e(qe,t)):!1,[g,E,Tt,t,e,te]),Vt=C.useCallback(()=>{if(!(!ie||se))if(E)if(we){const qe=te.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&Tt.some(wt=>e(wt,pt)));qe.length>0&&ie(te.filter(pt=>!qe.some(wt=>e(pt,wt))))}else{const qe=Tt.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&!te.some(wt=>e(wt,pt)));qe.length>0&&ie([...te,...qe])}else ie([t])},[se,o,i,E,ie,e,we,te,Tt,t]),Ht=C.useCallback(qe=>{se||Vt(),qe.stopPropagation()},[se,Vt]),hr=C.useMemo(()=>{if(!g||!E||se)return"";if(we){const pt=te.filter(wt=>!(i!=null&&i(wt))&&!(o!=null&&o(wt))&&Tt.some(_t=>e(_t,wt)));if(pt.length>0)return F["deselect n"](pt.length)}const qe=Tt.filter(pt=>!(i!=null&&i(pt))&&!(o!=null&&o(pt))&&!te.some(wt=>e(wt,pt)));return F["select n"](qe.length)},[o,i,F,se,g,E,we,Tt,e,te]),_r=C.useMemo(()=>Or.getContent(W,r),[W,r]),yr=C.useMemo(()=>Or.getContent(pe,r),[r,pe]),Ee=C.useMemo(()=>Or.getContent(B,r),[r,B]),de=C.useMemo(()=>Or.getContent(V,r),[r,V]),nt=C.useMemo(()=>Or.getContent(q,r),[r,q]);return S.jsxs(C.Fragment,{children:[S.jsxs(Zr,{abaseRef:tt,isDisabled:se,className:Ze.clsx(pn.ATreeItem,we&&pn.IsSelected,!se&&(St||A)&&pn.IsHovered,_e&&pn.IsSearched,Re&&(de||pn.IsSearchSelected),!ke&&pn.IsSelectUsed,ht&&pn.IsChildOfDragSource,"NoSelect",Ee),style:{...yr,...Re&&nt?nt:{},"--ATreeItem_height":`${ee}px`,...dt||{}},onClick:Se,onMouseLeave:qe=>I==null?void 0:I(qe,t),onMouseOver:qe=>D==null?void 0:D(qe,t),..._&&!se&&We?We:{},..._&&!se&&et?et:{},children:[g&&S.jsx(Yd,{className:pn.CheckBox,isDisabled:se,isIndeterminate:xt,tooltip:hr,useCheck:[+Mt,Vt],style:{visibility:se||ke?"hidden":"visible",zIndex:se||ke?0:2},onClick:Ht,onMouseOut:vt,onMouseOver:rt}),S.jsx("div",{className:pn.Indents,style:{paddingLeft:g?0:r.icons.noChild?12:0},children:c.map((qe,pt)=>{const wt=pt===c.length-1;return S.jsx(hw,{value:qe,map:{Collapsed:d?d({iconWidth:w}).collapsed:S.jsx(Pj,{iconWidth:w}),Expanded:d?d({iconWidth:w,isLast:wt}).expanded:S.jsx(Nj,{iconWidth:w,isLast:wt}),IsLast:d?d({iconWidth:w}).isLast:S.jsx(Bj,{iconWidth:w})}},pt)})}),Ge&&S.jsx("div",{className:pn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:Ue,children:Ge}),S.jsx("div",{className:Ze.clsx(pn.Content,"NoSelect"),children:S.jsx(P,{containerRef:G,ContentRenderer:P,extIndents:d,height:ee,hoverdItem:k,icons:v,iconWidth:w,indents:c,isDraggable:_,isEqual:e,isParentCheckHovered:E&&(St||A),isSelectMulti:E,item:t,itemId:n,resources:F,RightStickyAddon:W,searchItemClassName:de,searchItemStyle:q,showCheckbox:g,TreeItemClassName:B,TreeItemRenderer:j,TreeItemStyle:pe,useExpand:h,useSearch:m,useSelect:p,onMouseLeave:I,onMouseOver:D})}),_r&&S.jsx("div",{className:pn.RightSticky,children:_r})]}),Ae&&(oe==null?void 0:oe.map((qe,pt)=>S.jsx(j,{containerRef:G,ContentRenderer:P,extIndents:d,height:ee,hoverdItem:k,icons:v,iconWidth:w,isChildOfDragItem:ne,isDraggable:_,isDragSrcItem:ae,isEqual:e,isParentCheckHovered:E&&(St||A),isSelectMulti:E,item:qe,itemId:n?`${n}-child-${pt}`:void 0,resources:F,RightStickyAddon:W,searchItemClassName:de,searchItemStyle:q,selectDisabled:o,selectUnused:i,showCheckbox:g,TreeItemClassName:B,TreeItemRenderer:j,TreeItemStyle:pe,useExpand:h,useSearch:m,useSelect:p,indents:[...c.map(wt=>wt==="IsLast"?"Collapsed":wt),pt===oe.length-1?"IsLast":"Expanded"],onMouseLeave:I,onMouseOver:D},pt)))]})},Nj=({iconWidth:r,isLast:e})=>S.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&S.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),Pj=({iconWidth:r})=>S.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),Bj=({iconWidth:r})=>S.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),jj=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:i,searchEnter:a,isDisabled:c,isLoading:d,resources:h,maxLength:p,autoFocus:m}=r,g=C.useCallback(E=>{E.key==="Enter"?a():E.key==="ArrowDown"?i():E.key==="ArrowUp"&&o(),E.preventDefault(),E.stopPropagation()},[i,a,o]),v=C.useCallback(E=>{n(E)},[n]),w=C.useMemo(()=>c||d?-1:void 0,[c,d]);return S.jsx($c,{autoFocus:m,className:pn.SearchInput,isDisabled:c,maxLength:p,placeholder:h["Search(Placeholder)"],tabIndex:w,useValue:[(t==null?void 0:t.keyword)??"",v],RightAddon:S.jsx(Fj,{isEqual:e,resources:h,searchDown:i,searchEnter:a,searchResult:t,searchUp:o}),wrapProps:{className:pn.SearchInputWrap},onKeyDown:g})},Fj=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:i,resources:a}=r,c=C.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(w=>t.item&&e(w,t.item))+1,[t,e]),d=C.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),h=C.useMemo(()=>c<2,[c]),p=C.useMemo(()=>c>=d,[c,d]),m=C.useCallback(w=>{w.stopPropagation(),!h&&n()},[n,h]),g=C.useCallback(w=>{w.stopPropagation(),!p&&o()},[o,p]),v=C.useCallback(w=>{w.stopPropagation(),i()},[i]);return S.jsx("div",{className:Ze.clsx(pn.RightAddon,"NoSelect"),children:t?S.jsxs(S.Fragment,{children:[c,"/",d,S.jsx(Zr,{isDisabled:h,onClick:m,children:S.jsx(ln,{className:pn.RightAddonIcon,icon:"ArrowUp",mask:""})}),S.jsx(Zr,{isDisabled:p,onClick:g,children:S.jsx(ln,{className:pn.RightAddonIcon,icon:"ArrowDown"})})]}):S.jsx(So,{className:pn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:a["Search(Button)"],type:"Raw",onClick:v})})},zj=r=>{var rr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:i,useSelect:a,useSearch:c,showCheckbox:d,iconWidth:h=24,icons:p={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:m,isSelectMulti:g=!1,noSearch:v=!1,isDraggable:w,noSyncSearchSelect:E=!1,actionRef:_,placeholder:A,searchPredicate:k=Hj,isDisabled:D,isLoading:I,ContentRenderer:P=$j,TreeItemRenderer:j=Oj,RightStickyAddon:W,TopRightAddon:F,TreeTopAddon:G,resources:pe,maxLength:B,autoFocus:q,TreeItemStyle:V,TreeItemClassName:ee,OverflowPadding:ae,insertBorder:ne,width:oe,searchItemClassName:le,searchItemStyle:ge,height:te=40,...ie}=r,ue=C.useMemo(()=>({...vr.ATree,...pe}),[pe]),xe=C.useCallback((je,Q)=>e!==void 0?Array.isArray(e)?e.every(me=>qa.isEqual(je[me],Q[me])):qa.isEqual(je[e],Q[e]):qa.isEqual(je,Q),[e]),ke=C.useRef(null),[se,Ae]=gn(o,[]),De=C.useMemo(()=>Rc.map(se,je=>je),[se]),[Ge,Ue]=gn(i,[]),[we,Se]=gn(a,[]),[_e,Re]=gn(c,void 0),Me=C.useCallback(je=>{if(D||!Ue||Ge.some(Le=>xe(Le,je)))return;const Q=[];let me=je;for(;me;){const Le=me;Ge.find(ct=>xe(ct,Le))||Q.push(Le),me=De.find(ct=>{var It;return(It=ct.children)==null?void 0:It.some(Rt=>xe(Rt,Le))})}Ue([...Ge,...Q])},[Ge,D,xe,Ue,De]),tt=C.useCallback(()=>{!Ue||D||Ue([...De])},[De,D,Ue]),We=C.useCallback(()=>{!Ue||D||Ue([])},[Ue,D]),et=C.useCallback(je=>{!Se||D||n!=null&&n(je)||(Se([je]),Me(je))},[Se,D,n,Me]),st=C.useCallback(je=>{if(!Re||D)return;if(!je||v){Re(void 0),E||Se==null||Se([]);return}const Q=Rc.filter(se,Le=>k(je,Le));let me;if(Q.find(Le=>(_e==null?void 0:_e.item)&&xe(Le,_e.item))?me=_e==null?void 0:_e.item:Q.length>0&&(me=Q[0]),Re({keyword:je,items:Q,item:me}),me&&Me(me),Se&&!E)if(g)Se(Q);else{const Le=Q.find(ct=>me&&xe(ct,me));Se(Le?[Le]:[])}},[se,D,xe,k,Re,Se,Me,E,v,g,_e]),ze=C.useRef(!1);C.useEffect(()=>{ze.current=!0},[se]),C.useEffect(()=>{_e&&ze.current&&(st(_e.keyword),ze.current=!1)},[st,_e]);const Ke=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(Q=>_e.item&&xe(Q,_e.item))-1;je<0||(Re({..._e,item:_e.items[je]}),Me(_e.items[je]),E||et(_e.items[je]))},[_e,Me,Re,D,et,xe,E]),bt=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(Q=>_e.item&&xe(Q,_e.item))+1;je>=_e.items.length||(Re({..._e,item:_e.items[je]}),Me(_e.items[je]),E||et(_e.items[je]))},[_e,Me,D,Re,et,xe,E]),ht=C.useCallback(()=>{if(!_e||!Re||D)return;let je=_e.items.findIndex(me=>_e.item&&xe(me,_e.item));if(!E||n!=null&&n(_e.items[je])){bt();return}if(we.some(me=>_e.item&&xe(me,_e.item))){let me=je+1;const Le=_e.items[me];if(me>=_e.items.length)return;Re({..._e,item:Le}),et(Le)}else et(_e.items[je])},[_e,Re,D,we,E,bt,xe,et,n]),[dt,St]=C.useState(!1),Ve=C.useCallback(()=>St(!0),[]),rt=C.useCallback(()=>St(!1),[]),vt=C.useMemo(()=>n?Rc.map(se,je=>je).filter(je=>!n(je)):t?Rc.map(se,je=>je).filter(je=>!t(je)):Rc.map(se,je=>je),[n,t,se]),Tt=C.useMemo(()=>!d||!g?!1:we.length>0&&vt.length>we.length,[d,g,we,vt]),xt=C.useMemo(()=>!d||!g?!1:we.length>0&&vt.length===we.length,[d,g,we,vt]),Mt=C.useCallback(()=>{if(!Se||!g||D)return;const je=we.filter(Q=>!(n!=null&&n(Q))&&!(t!=null&&t(Q))&&vt.some(me=>xe(me,Q)));if(je.length>0)Se(we.filter(Q=>!je.some(me=>xe(Q,me))));else{const Q=vt.filter(me=>!(n!=null&&n(me))&&!(t!=null&&t(me))&&!we.some(Le=>xe(Le,me)));Q.length>0&&Se([...we,...Q])}},[g,D,n,t,Se,we,vt,xe]),Vt=C.useMemo(()=>{if(!d||!g||D)return"";const je=we.filter(Q=>!(n!=null&&n(Q))&&!(t!=null&&t(Q))&&vt.some(me=>xe(me,Q)));if(je.length>0)return ue["deselect n"](je.length);{const Q=vt.filter(me=>!(n!=null&&n(me))&&!(t!=null&&t(me))&&!we.some(Le=>xe(Le,me)));return ue["select n"](Q.length)}},[n,t,D,ue,d,g,vt,we,xe]),[Ht,hr]=C.useState(),_r=IP(pb(Cv,{activationConstraint:{distance:8}}),pb(xv)),yr=C.useRef(new Map),Ee=C.useCallback(je=>{if(!yr.current.has(je)){const Q=`item_${qa.uniqueId()}`;yr.current.set(je,Q)}return yr.current.get(je)},[]),de=C.useCallback(je=>De.find(Q=>Ee(Q)===je),[De,Ee]),nt=C.useCallback(je=>!Ht||!Ht.children?!1:Ht.children.some(me=>xe(me,je))?!0:Ht.children.some(me=>me.children?Rc.find(me,Le=>xe(Le,je))!==void 0:!1),[Ht,xe]),qe=C.useCallback(je=>{if(!w||D)return;const Q=de(je.active.id);Q&&hr(Q)},[w,D,de]),pt=C.useCallback((je,Q,me,Le)=>{const ct=je.findIndex(Rt=>Le(Rt,Q)),It=je.findIndex(Rt=>Le(Rt,me));return ct!==-1&&It!==-1?Hp(je,ct,It):je.map(Rt=>{if(!Rt.children)return Rt;const Qt=Rt.children.findIndex(br=>Le(br,Q)),Kt=Rt.children.findIndex(br=>Le(br,me));return Qt!==-1&&Kt!==-1?{...Rt,children:Hp(Rt.children,Qt,Kt)}:Rt.children?{...Rt,children:pt(Rt.children,Q,me,Le)}:Rt})},[]),wt=C.useCallback(je=>{!w||D||!Ht||!je.over||de(je.over.id)},[w,D,Ht,de]),_t=C.useCallback(je=>{if(!w||D||!Ae||!Ht||!je.over)return;const Q=de(je.over.id);if(!Q||xe(Ht,Q)){hr(void 0);return}const me=pt(se,Ht,Q,xe);Ae(me),hr(void 0)},[w,D,Ae,Ht,de,xe,se,pt]),jt=C.useMemo(()=>se.map(je=>Ee(je)),[se,Ee]);C.useEffect(()=>{var je;d||(je=ke.current)==null||je.scrollTo(0,0)},[d,ke]),C.useEffect(()=>{!g&&we.length>1&&(Se==null||Se([we[we.length-1]]))},[g,Se,we]),C.useEffect(()=>{_&&(_.current={expandAll:tt,collapseAll:We})},[_,tt,We]),C.useEffect(()=>{if(!t||!Se)return;const je=we.filter(Q=>!t(Q));we.length!==je.length&&Se(je)},[t,we,Se]),C.useEffect(()=>{if(!n||!Se)return;const je=we.filter(Q=>!n(Q));we.length!==je.length&&Se(je)},[n,we,Se]),C.useEffect(()=>{Re&&Re(void 0)},[Re]);const[Ot,ir]=C.useState(!1);C.useEffect(()=>{ir(je=>!je)},[se]);const[Ft,nr]=C.useState(null),tr=C.useCallback((je,Q)=>{D||(je.stopPropagation(),je.preventDefault(),nr(Q))},[D]),it=C.useCallback((je,Q)=>{Ft===null||D||xe(Q,Ft)&&(je.stopPropagation(),je.preventDefault(),nr(null))},[Ft,D,xe]),lt=C.useRef(null),[At,kt]=C.useState(!1),[Lt,qt]=C.useState((rr=lt.current)==null?void 0:rr.scrollHeight);return C.useEffect(()=>{if(Ge.length<0)return;const je=ke.current,Q=lt.current,me=je.clientHeight<Q.clientHeight;qt(me?Q.scrollHeight:je.clientHeight),kt(me)},[Ge]),S.jsxs(Zr,{...ie,className:Ze.clsx(ie.className,pn.AWrap),isDisabled:D,children:[(!v||F)&&S.jsxs(Tn,{className:pn.ATreeHeader,children:[!v&&S.jsx(jj,{autoFocus:q,initSearch:st,isDisabled:D,isEqual:xe,isLoading:I,maxLength:B,resources:ue,searchDown:bt,searchEnter:ht,searchResult:_e,searchUp:Ke}),!v&&F&&S.jsx(kn,{w:8}),F]}),(!v||F||d&&g||w)&&S.jsx(U1,{isLoading:I&&se.length!==0}),(d&&g||w)&&S.jsxs("div",{className:Ze.clsx(pn.ATreeBodyHeader,"NoSelect"),children:[d&&S.jsx(Yd,{className:pn.CheckBox,isDisabled:D,isIndeterminate:Tt,tooltip:Vt,useCheck:[+xt,()=>Mt()],onMouseOut:rt,onMouseOver:Ve}),ue.Items,S.jsx(Fu,{}),S.jsxs("div",{className:Ze.clsx(pn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:At?8:0},children:[S.jsx("span",{children:d&&ue["*Click row for single select"]}),S.jsx("span",{children:w&&ue["*Change order to row drag"]})]})]}),S.jsx("div",{ref:ke,className:Ze.clsx(ie.className,pn.AContainer),children:S.jsxs("div",{className:pn.ATree,style:{minWidth:oe||"fit-content",marginRight:ae&&At?8:0},children:[S.jsxs("div",{ref:lt,className:pn.ATreeBody,children:[se.length===0?I?S.jsx(qj,{text:ue["Loading Contents..."]}):A:G,S.jsx(OB,{collisionDetection:NP,modifiers:[HB,qB],sensors:_r,measuring:{droppable:{strategy:nf.Always}},onDragEnd:_t,onDragOver:wt,onDragStart:qe,children:S.jsx(YB,{items:jt,strategy:GB,children:se.map((je,Q)=>S.jsx(j,{containerRef:ke,ContentRenderer:P,extIndents:m,height:te,hoverdItem:Ft,icons:p,iconWidth:h,indents:[],isChildOfDragItem:nt,isDraggable:w,isDragSrcItem:xe(je,Ht),isEqual:xe,isParentCheckHovered:g&&dt,isParentDisabled:D,isSelectMulti:g,item:je,itemId:Ee(je),resources:ue,RightStickyAddon:W,searchItemClassName:le,searchItemStyle:ge,selectDisabled:t,selectUnused:n,showCheckbox:d,TreeItemClassName:ee,TreeItemRenderer:j,TreeItemStyle:V,useExpand:[Ge,Ue],useSearch:[_e,Re],useSelect:[we,Se],onMouseLeave:it,onMouseOver:tr},`${Q}${Ot}`))})})]}),ne&&S.jsxs(S.Fragment,{children:[S.jsx("div",{className:pn.CoverBorder}),S.jsx("div",{className:pn.InsertBorder,style:{"--InsertBorder_height":`${te}px`,height:At?Lt:"100%"}})]})]})})]})},$j=r=>{const{item:e}=r,t={};return or.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function Hj(r,e){return or.some(e,(t,n)=>{var o;return(o=or.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const qj=r=>{const{text:e}=r;return S.jsxs(Tn,{className:Ze.clsx(pn.Loader,"NoSelect"),children:[S.jsx(ln,{height:40,icon:"Spinner",style:{height:40},width:40}),S.jsx(_w,{text:e})]})};var lm,Eb;function df(){return Eb||(Eb=1,lm=TypeError),lm}const Wj={},Uj=Object.freeze(Object.defineProperty({__proto__:null,default:Wj},Symbol.toStringTag,{value:"Module"})),Vj=d4(Uj);var cm,Tb;function ag(){if(Tb)return cm;Tb=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=o&&i&&typeof i.get=="function"?i.get:null,c=o&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,p=typeof WeakSet=="function"&&WeakSet.prototype,m=p?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,E=Object.prototype.toString,_=Function.prototype.toString,A=String.prototype.match,k=String.prototype.slice,D=String.prototype.replace,I=String.prototype.toUpperCase,P=String.prototype.toLowerCase,j=RegExp.prototype.test,W=Array.prototype.concat,F=Array.prototype.join,G=Array.prototype.slice,pe=Math.floor,B=typeof BigInt=="function"?BigInt.prototype.valueOf:null,q=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ae=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ee||!0)?Symbol.toStringTag:null,ne=Object.prototype.propertyIsEnumerable,oe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ee){return Ee.__proto__}:null);function le(Ee,de){if(Ee===1/0||Ee===-1/0||Ee!==Ee||Ee&&Ee>-1e3&&Ee<1e3||j.call(/e/,de))return de;var nt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Ee=="number"){var qe=Ee<0?-pe(-Ee):pe(Ee);if(qe!==Ee){var pt=String(qe),wt=k.call(de,pt.length+1);return D.call(pt,nt,"$&_")+"."+D.call(D.call(wt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(de,nt,"$&_")}var ge=Vj,te=ge.custom,ie=Me(te)?te:null,ue={__proto__:null,double:'"',single:"'"},xe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};cm=function Ee(de,nt,qe,pt){var wt=nt||{};if(et(wt,"quoteStyle")&&!et(ue,wt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(et(wt,"maxStringLength")&&(typeof wt.maxStringLength=="number"?wt.maxStringLength<0&&wt.maxStringLength!==1/0:wt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var _t=et(wt,"customInspect")?wt.customInspect:!0;if(typeof _t!="boolean"&&_t!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(et(wt,"indent")&&wt.indent!==null&&wt.indent!==" "&&!(parseInt(wt.indent,10)===wt.indent&&wt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(et(wt,"numericSeparator")&&typeof wt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jt=wt.numericSeparator;if(typeof de>"u")return"undefined";if(de===null)return"null";if(typeof de=="boolean")return de?"true":"false";if(typeof de=="string")return vt(de,wt);if(typeof de=="number"){if(de===0)return 1/0/de>0?"0":"-0";var Ot=String(de);return jt?le(de,Ot):Ot}if(typeof de=="bigint"){var ir=String(de)+"n";return jt?le(de,ir):ir}var Ft=typeof wt.depth>"u"?5:wt.depth;if(typeof qe>"u"&&(qe=0),qe>=Ft&&Ft>0&&typeof de=="object")return De(de)?"[Array]":"[Object]";var nr=hr(wt,qe);if(typeof pt>"u")pt=[];else if(Ke(pt,de)>=0)return"[Circular]";function tr(br,pr,Tr){if(pr&&(pt=G.call(pt),pt.push(pr)),Tr){var ur={depth:wt.depth};return et(wt,"quoteStyle")&&(ur.quoteStyle=wt.quoteStyle),Ee(br,ur,qe+1,pt)}return Ee(br,wt,qe+1,pt)}if(typeof de=="function"&&!Ue(de)){var it=ze(de),lt=yr(de,tr);return"[Function"+(it?": "+it:" (anonymous)")+"]"+(lt.length>0?" { "+F.call(lt,", ")+" }":"")}if(Me(de)){var At=ee?D.call(String(de),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(de);return typeof de=="object"&&!ee?xt(At):At}if(rt(de)){for(var kt="<"+P.call(String(de.nodeName)),Lt=de.attributes||[],qt=0;qt<Lt.length;qt++)kt+=" "+Lt[qt].name+"="+ke(se(Lt[qt].value),"double",wt);return kt+=">",de.childNodes&&de.childNodes.length&&(kt+="..."),kt+="</"+P.call(String(de.nodeName))+">",kt}if(De(de)){if(de.length===0)return"[]";var rr=yr(de,tr);return nr&&!Ht(rr)?"["+_r(rr,nr)+"]":"[ "+F.call(rr,", ")+" ]"}if(we(de)){var je=yr(de,tr);return!("cause"in Error.prototype)&&"cause"in de&&!ne.call(de,"cause")?"{ ["+String(de)+"] "+F.call(W.call("[cause]: "+tr(de.cause),je),", ")+" }":je.length===0?"["+String(de)+"]":"{ ["+String(de)+"] "+F.call(je,", ")+" }"}if(typeof de=="object"&&_t){if(ie&&typeof de[ie]=="function"&&ge)return ge(de,{depth:Ft-qe});if(_t!=="symbol"&&typeof de.inspect=="function")return de.inspect()}if(bt(de)){var Q=[];return n&&n.call(de,function(br,pr){Q.push(tr(pr,de,!0)+" => "+tr(br,de))}),Vt("Map",t.call(de),Q,nr)}if(St(de)){var me=[];return c&&c.call(de,function(br){me.push(tr(br,de))}),Vt("Set",a.call(de),me,nr)}if(ht(de))return Mt("WeakMap");if(Ve(de))return Mt("WeakSet");if(dt(de))return Mt("WeakRef");if(_e(de))return xt(tr(Number(de)));if(tt(de))return xt(tr(B.call(de)));if(Re(de))return xt(w.call(de));if(Se(de))return xt(tr(String(de)));if(typeof window<"u"&&de===window)return"{ [object Window] }";if(typeof globalThis<"u"&&de===globalThis||typeof Li<"u"&&de===Li)return"{ [object globalThis] }";if(!Ge(de)&&!Ue(de)){var Le=yr(de,tr),ct=oe?oe(de)===Object.prototype:de instanceof Object||de.constructor===Object,It=de instanceof Object?"":"null prototype",Rt=!ct&&ae&&Object(de)===de&&ae in de?k.call(st(de),8,-1):It?"Object":"",Qt=ct||typeof de.constructor!="function"?"":de.constructor.name?de.constructor.name+" ":"",Kt=Qt+(Rt||It?"["+F.call(W.call([],Rt||[],It||[]),": ")+"] ":"");return Le.length===0?Kt+"{}":nr?Kt+"{"+_r(Le,nr)+"}":Kt+"{ "+F.call(Le,", ")+" }"}return String(de)};function ke(Ee,de,nt){var qe=nt.quoteStyle||de,pt=ue[qe];return pt+Ee+pt}function se(Ee){return D.call(String(Ee),/"/g,""")}function Ae(Ee){return!ae||!(typeof Ee=="object"&&(ae in Ee||typeof Ee[ae]<"u"))}function De(Ee){return st(Ee)==="[object Array]"&&Ae(Ee)}function Ge(Ee){return st(Ee)==="[object Date]"&&Ae(Ee)}function Ue(Ee){return st(Ee)==="[object RegExp]"&&Ae(Ee)}function we(Ee){return st(Ee)==="[object Error]"&&Ae(Ee)}function Se(Ee){return st(Ee)==="[object String]"&&Ae(Ee)}function _e(Ee){return st(Ee)==="[object Number]"&&Ae(Ee)}function Re(Ee){return st(Ee)==="[object Boolean]"&&Ae(Ee)}function Me(Ee){if(ee)return Ee&&typeof Ee=="object"&&Ee instanceof Symbol;if(typeof Ee=="symbol")return!0;if(!Ee||typeof Ee!="object"||!V)return!1;try{return V.call(Ee),!0}catch{}return!1}function tt(Ee){if(!Ee||typeof Ee!="object"||!B)return!1;try{return B.call(Ee),!0}catch{}return!1}var We=Object.prototype.hasOwnProperty||function(Ee){return Ee in this};function et(Ee,de){return We.call(Ee,de)}function st(Ee){return E.call(Ee)}function ze(Ee){if(Ee.name)return Ee.name;var de=A.call(_.call(Ee),/^function\s*([\w$]+)/);return de?de[1]:null}function Ke(Ee,de){if(Ee.indexOf)return Ee.indexOf(de);for(var nt=0,qe=Ee.length;nt<qe;nt++)if(Ee[nt]===de)return nt;return-1}function bt(Ee){if(!t||!Ee||typeof Ee!="object")return!1;try{t.call(Ee);try{a.call(Ee)}catch{return!0}return Ee instanceof Map}catch{}return!1}function ht(Ee){if(!h||!Ee||typeof Ee!="object")return!1;try{h.call(Ee,h);try{m.call(Ee,m)}catch{return!0}return Ee instanceof WeakMap}catch{}return!1}function dt(Ee){if(!v||!Ee||typeof Ee!="object")return!1;try{return v.call(Ee),!0}catch{}return!1}function St(Ee){if(!a||!Ee||typeof Ee!="object")return!1;try{a.call(Ee);try{t.call(Ee)}catch{return!0}return Ee instanceof Set}catch{}return!1}function Ve(Ee){if(!m||!Ee||typeof Ee!="object")return!1;try{m.call(Ee,m);try{h.call(Ee,h)}catch{return!0}return Ee instanceof WeakSet}catch{}return!1}function rt(Ee){return!Ee||typeof Ee!="object"?!1:typeof HTMLElement<"u"&&Ee instanceof HTMLElement?!0:typeof Ee.nodeName=="string"&&typeof Ee.getAttribute=="function"}function vt(Ee,de){if(Ee.length>de.maxStringLength){var nt=Ee.length-de.maxStringLength,qe="... "+nt+" more character"+(nt>1?"s":"");return vt(k.call(Ee,0,de.maxStringLength),de)+qe}var pt=xe[de.quoteStyle||"single"];pt.lastIndex=0;var wt=D.call(D.call(Ee,pt,"\\$1"),/[\x00-\x1f]/g,Tt);return ke(wt,"single",de)}function Tt(Ee){var de=Ee.charCodeAt(0),nt={8:"b",9:"t",10:"n",12:"f",13:"r"}[de];return nt?"\\"+nt:"\\x"+(de<16?"0":"")+I.call(de.toString(16))}function xt(Ee){return"Object("+Ee+")"}function Mt(Ee){return Ee+" { ? }"}function Vt(Ee,de,nt,qe){var pt=qe?_r(nt,qe):F.call(nt,", ");return Ee+" ("+de+") {"+pt+"}"}function Ht(Ee){for(var de=0;de<Ee.length;de++)if(Ke(Ee[de],`
|
362
362
|
`)>=0)return!1;return!0}function hr(Ee,de){var nt;if(Ee.indent===" ")nt=" ";else if(typeof Ee.indent=="number"&&Ee.indent>0)nt=F.call(Array(Ee.indent+1)," ");else return null;return{base:nt,prev:F.call(Array(de+1),nt)}}function _r(Ee,de){if(Ee.length===0)return"";var nt=`
|
363
363
|
`+de.prev+de.base;return nt+F.call(Ee,","+nt)+`
|
364
|
-
`+de.prev}function vr(Ee,de){var nt=De(Ee),qe=[];if(nt){qe.length=Ee.length;for(var pt=0;pt<Ee.length;pt++)qe[pt]=et(Ee,pt)?de(Ee[pt],Ee):""}var wt=typeof q=="function"?q(Ee):[],_t;if(ee){_t={};for(var jt=0;jt<wt.length;jt++)_t["$"+wt[jt]]=wt[jt]}for(var Ot in Ee)et(Ee,Ot)&&(nt&&String(Number(Ot))===Ot&&Ot<Ee.length||ee&&_t["$"+Ot]instanceof Symbol||(j.call(/[^\w$]/,Ot)?qe.push(de(Ot,Ee)+": "+de(Ee[Ot],Ee)):qe.push(Ot+": "+de(Ee[Ot],Ee))));if(typeof q=="function")for(var ir=0;ir<wt.length;ir++)ne.call(Ee,wt[ir])&&qe.push("["+de(wt[ir])+"]: "+de(Ee[wt[ir]],Ee));return qe}return cm}var um,kb;function Gj(){if(kb)return um;kb=1;var r=ag(),e=df(),t=function(c,d,h){for(var p=c,m;(m=p.next)!=null;p=m)if(m.key===d)return p.next=m.next,h||(m.next=c.next,c.next=m),m},n=function(c,d){if(c){var h=t(c,d);return h&&h.value}},o=function(c,d,h){var p=t(c,d);p?p.value=h:c.next={key:d,next:c.next,value:h}},i=function(c,d){return c?!!t(c,d):!1},a=function(c,d){if(c)return t(c,d,!0)};return um=function(){var d,h={assert:function(p){if(!h.has(p))throw new e("Side channel does not contain "+r(p))},delete:function(p){var m=d&&d.next,g=a(d,p);return g&&m&&m===g&&(d=void 0),!!g},get:function(p){return n(d,p)},has:function(p){return i(d,p)},set:function(p,m){d||(d={next:void 0}),o(d,p,m)}};return h},um}var dm,Rb;function CC(){return Rb||(Rb=1,dm=Object),dm}var fm,Ib;function Zj(){return Ib||(Ib=1,fm=Error),fm}var hm,Mb;function Yj(){return Mb||(Mb=1,hm=EvalError),hm}var pm,Lb;function Kj(){return Lb||(Lb=1,pm=RangeError),pm}var gm,Db;function Xj(){return Db||(Db=1,gm=ReferenceError),gm}var mm,Ob;function Jj(){return Ob||(Ob=1,mm=SyntaxError),mm}var vm,Nb;function Qj(){return Nb||(Nb=1,vm=URIError),vm}var ym,Pb;function eF(){return Pb||(Pb=1,ym=Math.abs),ym}var bm,Bb;function tF(){return Bb||(Bb=1,bm=Math.floor),bm}var xm,jb;function rF(){return jb||(jb=1,xm=Math.max),xm}var wm,Fb;function nF(){return Fb||(Fb=1,wm=Math.min),wm}var Cm,zb;function oF(){return zb||(zb=1,Cm=Math.pow),Cm}var Sm,$b;function iF(){return $b||($b=1,Sm=Math.round),Sm}var _m,Hb;function sF(){return Hb||(Hb=1,_m=Number.isNaN||function(e){return e!==e}),_m}var Am,qb;function aF(){if(qb)return Am;qb=1;var r=sF();return Am=function(t){return r(t)||t===0?t:t<0?-1:1},Am}var Em,Wb;function lF(){return Wb||(Wb=1,Em=Object.getOwnPropertyDescriptor),Em}var Tm,Ub;function SC(){if(Ub)return Tm;Ub=1;var r=lF();if(r)try{r([],"length")}catch{r=null}return Tm=r,Tm}var km,Vb;function cF(){if(Vb)return km;Vb=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return km=r,km}var Rm,Gb;function uF(){return Gb||(Gb=1,Rm=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,t);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),Rm}var Im,Zb;function dF(){if(Zb)return Im;Zb=1;var r=typeof Symbol<"u"&&Symbol,e=uF();return Im=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Im}var Mm,Yb;function _C(){return Yb||(Yb=1,Mm=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Mm}var Lm,Kb;function AC(){if(Kb)return Lm;Kb=1;var r=CC();return Lm=r.getPrototypeOf||null,Lm}var Dm,Xb;function fF(){if(Xb)return Dm;Xb=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(d,h){for(var p=[],m=0;m<d.length;m+=1)p[m]=d[m];for(var g=0;g<h.length;g+=1)p[g+d.length]=h[g];return p},i=function(d,h){for(var p=[],m=h,g=0;m<d.length;m+=1,g+=1)p[g]=d[m];return p},a=function(c,d){for(var h="",p=0;p<c.length;p+=1)h+=c[p],p+1<c.length&&(h+=d);return h};return Dm=function(d){var h=this;if(typeof h!="function"||e.apply(h)!==n)throw new TypeError(r+h);for(var p=i(arguments,1),m,g=function(){if(this instanceof m){var A=h.apply(this,o(p,arguments));return Object(A)===A?A:this}return h.apply(d,o(p,arguments))},v=t(0,h.length-p.length),w=[],E=0;E<v;E++)w[E]="$"+E;if(m=Function("binder","return function ("+a(w,",")+"){ return binder.apply(this,arguments); }")(g),h.prototype){var _=function(){};_.prototype=h.prototype,m.prototype=new _,_.prototype=null}return m},Dm}var Om,Jb;function lg(){if(Jb)return Om;Jb=1;var r=fF();return Om=Function.prototype.bind||r,Om}var Nm,Qb;function Sv(){return Qb||(Qb=1,Nm=Function.prototype.call),Nm}var Pm,ex;function EC(){return ex||(ex=1,Pm=Function.prototype.apply),Pm}var Bm,tx;function hF(){return tx||(tx=1,Bm=typeof Reflect<"u"&&Reflect&&Reflect.apply),Bm}var jm,rx;function pF(){if(rx)return jm;rx=1;var r=lg(),e=EC(),t=Sv(),n=hF();return jm=n||r.call(t,e),jm}var Fm,nx;function TC(){if(nx)return Fm;nx=1;var r=lg(),e=df(),t=Sv(),n=pF();return Fm=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return n(r,t,i)},Fm}var zm,ox;function gF(){if(ox)return zm;ox=1;var r=TC(),e=SC(),t;try{t=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!t&&e&&e(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return zm=n&&typeof n.get=="function"?r([n.get]):typeof i=="function"?function(c){return i(c==null?c:o(c))}:!1,zm}var $m,ix;function mF(){if(ix)return $m;ix=1;var r=_C(),e=AC(),t=gF();return $m=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,$m}var Hm,sx;function vF(){if(sx)return Hm;sx=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=lg();return Hm=t.call(r,e),Hm}var qm,ax;function _v(){if(ax)return qm;ax=1;var r,e=CC(),t=Zj(),n=Yj(),o=Kj(),i=Xj(),a=Jj(),c=df(),d=Qj(),h=eF(),p=tF(),m=rF(),g=nF(),v=oF(),w=iF(),E=aF(),_=Function,A=function(Ue){try{return _('"use strict"; return ('+Ue+").constructor;")()}catch{}},k=SC(),D=cF(),I=function(){throw new c},P=k?function(){try{return arguments.callee,I}catch{try{return k(arguments,"callee").get}catch{return I}}}():I,j=dF()(),W=mF(),F=AC(),G=_C(),pe=EC(),B=Sv(),q={},V=typeof Uint8Array>"u"||!W?r:W(Uint8Array),ee={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":j&&W?W([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":q,"%AsyncGenerator%":q,"%AsyncGeneratorFunction%":q,"%AsyncIteratorPrototype%":q,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":q,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&W?W(W([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!W?r:W(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!W?r:W(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&W?W(""[Symbol.iterator]()):r,"%Symbol%":j?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":P,"%TypedArray%":V,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":pe,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":F,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":m,"%Math.min%":g,"%Math.pow%":v,"%Math.round%":w,"%Math.sign%":E,"%Reflect.getPrototypeOf%":G};if(W)try{null.error}catch(Ue){var ae=W(W(Ue));ee["%Error.prototype%"]=ae}var ne=function Ue(we){var Se;if(we==="%AsyncFunction%")Se=A("async function () {}");else if(we==="%GeneratorFunction%")Se=A("function* () {}");else if(we==="%AsyncGeneratorFunction%")Se=A("async function* () {}");else if(we==="%AsyncGenerator%"){var _e=Ue("%AsyncGeneratorFunction%");_e&&(Se=_e.prototype)}else if(we==="%AsyncIteratorPrototype%"){var Re=Ue("%AsyncGenerator%");Re&&W&&(Se=W(Re.prototype))}return ee[we]=Se,Se},oe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},le=lg(),ge=vF(),te=le.call(B,Array.prototype.concat),ie=le.call(pe,Array.prototype.splice),ue=le.call(B,String.prototype.replace),xe=le.call(B,String.prototype.slice),ke=le.call(B,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ae=/\\(\\)?/g,De=function(we){var Se=xe(we,0,1),_e=xe(we,-1);if(Se==="%"&&_e!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(_e==="%"&&Se!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Re=[];return ue(we,se,function(Me,tt,We,et){Re[Re.length]=We?ue(et,Ae,"$1"):tt||Me}),Re},Ge=function(we,Se){var _e=we,Re;if(ge(oe,_e)&&(Re=oe[_e],_e="%"+Re[0]+"%"),ge(ee,_e)){var Me=ee[_e];if(Me===q&&(Me=ne(_e)),typeof Me>"u"&&!Se)throw new c("intrinsic "+we+" exists, but is not available. Please file an issue!");return{alias:Re,name:_e,value:Me}}throw new a("intrinsic "+we+" does not exist!")};return qm=function(we,Se){if(typeof we!="string"||we.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Se!="boolean")throw new c('"allowMissing" argument must be a boolean');if(ke(/^%?[^%]*%?$/,we)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _e=De(we),Re=_e.length>0?_e[0]:"",Me=Ge("%"+Re+"%",Se),tt=Me.name,We=Me.value,et=!1,st=Me.alias;st&&(Re=st[0],ie(_e,te([0,1],st)));for(var ze=1,Ke=!0;ze<_e.length;ze+=1){var bt=_e[ze],ht=xe(bt,0,1),dt=xe(bt,-1);if((ht==='"'||ht==="'"||ht==="`"||dt==='"'||dt==="'"||dt==="`")&&ht!==dt)throw new a("property names with quotes must have matching quotes");if((bt==="constructor"||!Ke)&&(et=!0),Re+="."+bt,tt="%"+Re+"%",ge(ee,tt))We=ee[tt];else if(We!=null){if(!(bt in We)){if(!Se)throw new c("base intrinsic for "+we+" exists, but the property is not available.");return}if(k&&ze+1>=_e.length){var St=k(We,bt);Ke=!!St,Ke&&"get"in St&&!("originalValue"in St.get)?We=St.get:We=We[bt]}else Ke=ge(We,bt),We=We[bt];Ke&&!et&&(ee[tt]=We)}}return We},qm}var Wm,lx;function kC(){if(lx)return Wm;lx=1;var r=_v(),e=TC(),t=e([r("%String.prototype.indexOf%")]);return Wm=function(o,i){var a=r(o,!!i);return typeof a=="function"&&t(o,".prototype.")>-1?e([a]):a},Wm}var Um,cx;function RC(){if(cx)return Um;cx=1;var r=_v(),e=kC(),t=ag(),n=df(),o=r("%Map%",!0),i=e("Map.prototype.get",!0),a=e("Map.prototype.set",!0),c=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return Um=!!o&&function(){var m,g={assert:function(v){if(!g.has(v))throw new n("Side channel does not contain "+t(v))},delete:function(v){if(m){var w=d(m,v);return h(m)===0&&(m=void 0),w}return!1},get:function(v){if(m)return i(m,v)},has:function(v){return m?c(m,v):!1},set:function(v,w){m||(m=new o),a(m,v,w)}};return g},Um}var Vm,ux;function yF(){if(ux)return Vm;ux=1;var r=_v(),e=kC(),t=ag(),n=RC(),o=df(),i=r("%WeakMap%",!0),a=e("WeakMap.prototype.get",!0),c=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return Vm=i?function(){var m,g,v={assert:function(w){if(!v.has(w))throw new o("Side channel does not contain "+t(w))},delete:function(w){if(i&&w&&(typeof w=="object"||typeof w=="function")){if(m)return h(m,w)}else if(n&&g)return g.delete(w);return!1},get:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?a(m,w):g&&g.get(w)},has:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?d(m,w):!!g&&g.has(w)},set:function(w,E){i&&w&&(typeof w=="object"||typeof w=="function")?(m||(m=new i),c(m,w,E)):n&&(g||(g=n()),g.set(w,E))}};return v}:n,Vm}var Gm,dx;function bF(){if(dx)return Gm;dx=1;var r=df(),e=ag(),t=Gj(),n=RC(),o=yF(),i=o||n||t;return Gm=function(){var c,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+e(h))},delete:function(h){return!!c&&c.delete(h)},get:function(h){return c&&c.get(h)},has:function(h){return!!c&&c.has(h)},set:function(h,p){c||(c=i()),c.set(h,p)}};return d},Gm}var Zm,fx;function Av(){if(fx)return Zm;fx=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Zm={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},Zm}var Ym,hx;function IC(){if(hx)return Ym;hx=1;var r=Av(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var _=[],A=0;A<256;++A)_.push("%"+((A<16?"0":"")+A.toString(16)).toUpperCase());return _}(),o=function(A){for(;A.length>1;){var k=A.pop(),D=k.obj[k.prop];if(t(D)){for(var I=[],P=0;P<D.length;++P)typeof D[P]<"u"&&I.push(D[P]);k.obj[k.prop]=I}}},i=function(A,k){for(var D=k&&k.plainObjects?{__proto__:null}:{},I=0;I<A.length;++I)typeof A[I]<"u"&&(D[I]=A[I]);return D},a=function _(A,k,D){if(!k)return A;if(typeof k!="object"&&typeof k!="function"){if(t(A))A.push(k);else if(A&&typeof A=="object")(D&&(D.plainObjects||D.allowPrototypes)||!e.call(Object.prototype,k))&&(A[k]=!0);else return[A,k];return A}if(!A||typeof A!="object")return[A].concat(k);var I=A;return t(A)&&!t(k)&&(I=i(A,D)),t(A)&&t(k)?(k.forEach(function(P,j){if(e.call(A,j)){var W=A[j];W&&typeof W=="object"&&P&&typeof P=="object"?A[j]=_(W,P,D):A.push(P)}else A[j]=P}),A):Object.keys(k).reduce(function(P,j){var W=k[j];return e.call(P,j)?P[j]=_(P[j],W,D):P[j]=W,P},I)},c=function(A,k){return Object.keys(k).reduce(function(D,I){return D[I]=k[I],D},A)},d=function(_,A,k){var D=_.replace(/\+/g," ");if(k==="iso-8859-1")return D.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(D)}catch{return D}},h=1024,p=function(A,k,D,I,P){if(A.length===0)return A;var j=A;if(typeof A=="symbol"?j=Symbol.prototype.toString.call(A):typeof A!="string"&&(j=String(A)),D==="iso-8859-1")return escape(j).replace(/%u[0-9a-f]{4}/gi,function(V){return"%26%23"+parseInt(V.slice(2),16)+"%3B"});for(var W="",F=0;F<j.length;F+=h){for(var G=j.length>=h?j.slice(F,F+h):j,pe=[],B=0;B<G.length;++B){var q=G.charCodeAt(B);if(q===45||q===46||q===95||q===126||q>=48&&q<=57||q>=65&&q<=90||q>=97&&q<=122||P===r.RFC1738&&(q===40||q===41)){pe[pe.length]=G.charAt(B);continue}if(q<128){pe[pe.length]=n[q];continue}if(q<2048){pe[pe.length]=n[192|q>>6]+n[128|q&63];continue}if(q<55296||q>=57344){pe[pe.length]=n[224|q>>12]+n[128|q>>6&63]+n[128|q&63];continue}B+=1,q=65536+((q&1023)<<10|G.charCodeAt(B)&1023),pe[pe.length]=n[240|q>>18]+n[128|q>>12&63]+n[128|q>>6&63]+n[128|q&63]}W+=pe.join("")}return W},m=function(A){for(var k=[{obj:{o:A},prop:"o"}],D=[],I=0;I<k.length;++I)for(var P=k[I],j=P.obj[P.prop],W=Object.keys(j),F=0;F<W.length;++F){var G=W[F],pe=j[G];typeof pe=="object"&&pe!==null&&D.indexOf(pe)===-1&&(k.push({obj:j,prop:G}),D.push(pe))}return o(k),A},g=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},v=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},w=function(A,k){return[].concat(A,k)},E=function(A,k){if(t(A)){for(var D=[],I=0;I<A.length;I+=1)D.push(k(A[I]));return D}return k(A)};return Ym={arrayToObject:i,assign:c,combine:w,compact:m,decode:d,encode:p,isBuffer:v,isRegExp:g,maybeMap:E,merge:a},Ym}var Km,px;function xF(){if(px)return Km;px=1;var r=bF(),e=IC(),t=Av(),n=Object.prototype.hasOwnProperty,o={brackets:function(_){return _+"[]"},comma:"comma",indices:function(_,A){return _+"["+A+"]"},repeat:function(_){return _}},i=Array.isArray,a=Array.prototype.push,c=function(E,_){a.apply(E,i(_)?_:[_])},d=Date.prototype.toISOString,h=t.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:t.formatters[h],indices:!1,serializeDate:function(_){return d.call(_)},skipNulls:!1,strictNullHandling:!1},m=function(_){return typeof _=="string"||typeof _=="number"||typeof _=="boolean"||typeof _=="symbol"||typeof _=="bigint"},g={},v=function E(_,A,k,D,I,P,j,W,F,G,pe,B,q,V,ee,ae,ne,oe){for(var le=_,ge=oe,te=0,ie=!1;(ge=ge.get(g))!==void 0&&!ie;){var ue=ge.get(_);if(te+=1,typeof ue<"u"){if(ue===te)throw new RangeError("Cyclic object value");ie=!0}typeof ge.get(g)>"u"&&(te=0)}if(typeof G=="function"?le=G(A,le):le instanceof Date?le=q(le):k==="comma"&&i(le)&&(le=e.maybeMap(le,function(tt){return tt instanceof Date?q(tt):tt})),le===null){if(P)return F&&!ae?F(A,p.encoder,ne,"key",V):A;le=""}if(m(le)||e.isBuffer(le)){if(F){var xe=ae?A:F(A,p.encoder,ne,"key",V);return[ee(xe)+"="+ee(F(le,p.encoder,ne,"value",V))]}return[ee(A)+"="+ee(String(le))]}var ke=[];if(typeof le>"u")return ke;var se;if(k==="comma"&&i(le))ae&&F&&(le=e.maybeMap(le,F)),se=[{value:le.length>0?le.join(",")||null:void 0}];else if(i(G))se=G;else{var Ae=Object.keys(le);se=pe?Ae.sort(pe):Ae}var De=W?String(A).replace(/\./g,"%2E"):String(A),Ge=D&&i(le)&&le.length===1?De+"[]":De;if(I&&i(le)&&le.length===0)return Ge+"[]";for(var Ue=0;Ue<se.length;++Ue){var we=se[Ue],Se=typeof we=="object"&&we&&typeof we.value<"u"?we.value:le[we];if(!(j&&Se===null)){var _e=B&&W?String(we).replace(/\./g,"%2E"):String(we),Re=i(le)?typeof k=="function"?k(Ge,_e):Ge:Ge+(B?"."+_e:"["+_e+"]");oe.set(_,te);var Me=r();Me.set(g,oe),c(ke,E(Se,Re,k,D,I,P,j,W,k==="comma"&&ae&&i(le)?null:F,G,pe,B,q,V,ee,ae,ne,Me))}}return ke},w=function(_){if(!_)return p;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.encodeDotInKeys<"u"&&typeof _.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(_.encoder!==null&&typeof _.encoder<"u"&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var A=_.charset||p.charset;if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var k=t.default;if(typeof _.format<"u"){if(!n.call(t.formatters,_.format))throw new TypeError("Unknown format option provided.");k=_.format}var D=t.formatters[k],I=p.filter;(typeof _.filter=="function"||i(_.filter))&&(I=_.filter);var P;if(_.arrayFormat in o?P=_.arrayFormat:"indices"in _?P=_.indices?"indices":"repeat":P=p.arrayFormat,"commaRoundTrip"in _&&typeof _.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof _.allowDots>"u"?_.encodeDotInKeys===!0?!0:p.allowDots:!!_.allowDots;return{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:p.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:P,charset:A,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!_.commaRoundTrip,delimiter:typeof _.delimiter>"u"?p.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:p.encode,encodeDotInKeys:typeof _.encodeDotInKeys=="boolean"?_.encodeDotInKeys:p.encodeDotInKeys,encoder:typeof _.encoder=="function"?_.encoder:p.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:p.encodeValuesOnly,filter:I,format:k,formatter:D,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:p.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:p.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:p.strictNullHandling}};return Km=function(E,_){var A=E,k=w(_),D,I;typeof k.filter=="function"?(I=k.filter,A=I("",A)):i(k.filter)&&(I=k.filter,D=I);var P=[];if(typeof A!="object"||A===null)return"";var j=o[k.arrayFormat],W=j==="comma"&&k.commaRoundTrip;D||(D=Object.keys(A)),k.sort&&D.sort(k.sort);for(var F=r(),G=0;G<D.length;++G){var pe=D[G],B=A[pe];k.skipNulls&&B===null||c(P,v(B,pe,j,W,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,F))}var q=P.join(k.delimiter),V=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?V+="utf8=%26%2310003%3B&":V+="utf8=%E2%9C%93&"),q.length>0?V+q:""},Km}var Xm,gx;function wF(){if(gx)return Xm;gx=1;var r=IC(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(g){return g.replace(/&#(\d+);/g,function(v,w){return String.fromCharCode(parseInt(w,10))})},i=function(g,v,w){if(g&&typeof g=="string"&&v.comma&&g.indexOf(",")>-1)return g.split(",");if(v.throwOnLimitExceeded&&w>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return g},a="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(v,w){var E={__proto__:null},_=w.ignoreQueryPrefix?v.replace(/^\?/,""):v;_=_.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var A=w.parameterLimit===1/0?void 0:w.parameterLimit,k=_.split(w.delimiter,w.throwOnLimitExceeded?A+1:A);if(w.throwOnLimitExceeded&&k.length>A)throw new RangeError("Parameter limit exceeded. Only "+A+" parameter"+(A===1?"":"s")+" allowed.");var D=-1,I,P=w.charset;if(w.charsetSentinel)for(I=0;I<k.length;++I)k[I].indexOf("utf8=")===0&&(k[I]===c?P="utf-8":k[I]===a&&(P="iso-8859-1"),D=I,I=k.length);for(I=0;I<k.length;++I)if(I!==D){var j=k[I],W=j.indexOf("]="),F=W===-1?j.indexOf("="):W+1,G,pe;F===-1?(G=w.decoder(j,n.decoder,P,"key"),pe=w.strictNullHandling?null:""):(G=w.decoder(j.slice(0,F),n.decoder,P,"key"),pe=r.maybeMap(i(j.slice(F+1),w,t(E[G])?E[G].length:0),function(q){return w.decoder(q,n.decoder,P,"value")})),pe&&w.interpretNumericEntities&&P==="iso-8859-1"&&(pe=o(String(pe))),j.indexOf("[]=")>-1&&(pe=t(pe)?[pe]:pe);var B=e.call(E,G);B&&w.duplicates==="combine"?E[G]=r.combine(E[G],pe):(!B||w.duplicates==="last")&&(E[G]=pe)}return E},h=function(g,v,w,E){var _=0;if(g.length>0&&g[g.length-1]==="[]"){var A=g.slice(0,-1).join("");_=Array.isArray(v)&&v[A]?v[A].length:0}for(var k=E?v:i(v,w,_),D=g.length-1;D>=0;--D){var I,P=g[D];if(P==="[]"&&w.parseArrays)I=w.allowEmptyArrays&&(k===""||w.strictNullHandling&&k===null)?[]:r.combine([],k);else{I=w.plainObjects?{__proto__:null}:{};var j=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,W=w.decodeDotInKeys?j.replace(/%2E/g,"."):j,F=parseInt(W,10);!w.parseArrays&&W===""?I={0:k}:!isNaN(F)&&P!==W&&String(F)===W&&F>=0&&w.parseArrays&&F<=w.arrayLimit?(I=[],I[F]=k):W!=="__proto__"&&(I[W]=k)}k=I}return k},p=function(v,w,E,_){if(v){var A=E.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,k=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,I=E.depth>0&&k.exec(A),P=I?A.slice(0,I.index):A,j=[];if(P){if(!E.plainObjects&&e.call(Object.prototype,P)&&!E.allowPrototypes)return;j.push(P)}for(var W=0;E.depth>0&&(I=D.exec(A))!==null&&W<E.depth;){if(W+=1,!E.plainObjects&&e.call(Object.prototype,I[1].slice(1,-1))&&!E.allowPrototypes)return;j.push(I[1])}if(I){if(E.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+E.depth+" and strictDepth is true");j.push("["+A.slice(I.index)+"]")}return h(j,w,E,_)}},m=function(v){if(!v)return n;if(typeof v.allowEmptyArrays<"u"&&typeof v.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof v.decodeDotInKeys<"u"&&typeof v.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(v.decoder!==null&&typeof v.decoder<"u"&&typeof v.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof v.charset<"u"&&v.charset!=="utf-8"&&v.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof v.throwOnLimitExceeded<"u"&&typeof v.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var w=typeof v.charset>"u"?n.charset:v.charset,E=typeof v.duplicates>"u"?n.duplicates:v.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var _=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:n.allowDots:!!v.allowDots;return{allowDots:_,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:n.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:n.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:n.arrayLimit,charset:w,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:n.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:n.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:n.decoder,delimiter:typeof v.delimiter=="string"||r.isRegExp(v.delimiter)?v.delimiter:n.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:n.depth,duplicates:E,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:n.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:n.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:n.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return Xm=function(g,v){var w=m(v);if(g===""||g===null||typeof g>"u")return w.plainObjects?{__proto__:null}:{};for(var E=typeof g=="string"?d(g,w):g,_=w.plainObjects?{__proto__:null}:{},A=Object.keys(E),k=0;k<A.length;++k){var D=A[k],I=p(D,E[D],w,typeof g=="string");_=r.merge(_,I,w)}return w.allowSparse===!0?_:r.compact(_)},Xm}var Jm,mx;function CF(){if(mx)return Jm;mx=1;var r=xF(),e=wF(),t=Av();return Jm={formats:t,parse:e,stringify:r},Jm}var SF=CF();const _F=of(SF),D1={StoredContexts:{},defaultHandler:()=>{}},MC={Init:()=>{},Create:r=>{const e=r.method+r.url;return D1.StoredContexts[e]=r,AF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{D1.defaultHandler=r}};function AF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:o,method:i,stream:a,paramType:c}=r;const{po:d,onStream:h,onStreamEnd:p,noDefaultHandle:m=[]}=n??{};(c==="query"||i==="GET")&&d!==void 0&&(o+="?"+_F.stringify(d,{arrayFormat:"comma"}));const g={method:i,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(c==="form"){const E=new FormData;if(d!==void 0)for(const _ in d){const A=d[_];E.append(_,A)}g.body=E}else(c==="body"||c===void 0&&r.method!=="GET")&&(g.body=JSON.stringify(d),g.headers["Content-Type"]="application/json;charset=UTF-8");let v={errorCode:0,message:""};const w=Date.now();o=MC.FetchBaseUrl()+o;try{let E=await fetch(o,g);if(E.ok===!1)return v.errorCode=E.status,v.message=E.statusText,v;{const _=new TextDecoder("utf-8");if(a){if(E.body){let A=E.body.getReader(),k="";for(;;){const D=await A.read();if(D.done)break;const I=_.decode(D.value).trim();k+=I;let P=null;try{const j=I.split("\0");let W=j[j.length-1];for(let F=j.length-2;F>=0;F--)if(j[F].trim().length!==0){W=j[F];break}P=await JSON.parse(W)}catch{try{const W=k.split("\0");let F=W[W.length-1];for(let G=W.length-2;G>=0;G--)if(W[G].trim().length!==0){F=W[G];break}P=await JSON.parse(F)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?v.errorCode=P.err_code:(v.errorCode=0,v.data=P,k="",D.done?p==null||p(v.data):h==null||h(v.data))),D.done)break}}}else if(E.body){const k=await E.body.getReader().read(),D=_.decode(k.value);if(D==="null")return v;{let I=await JSON.parse(D.replaceAll("\0",""));Object.keys(I).includes("err_code")?(v.errorCode=I.err_code,v.message=I.err_msg):v.data=I}}}}catch(E){console.warn(E),v.errorCode=-1,v.message=E.message}return console.debug(`${e} ${Date.now()-w}ms`),m!==!0&&await D1.defaultHandler(v,m),v}}}async function EF(r){const e=new Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{o.result?typeof o.result=="string"?t(o.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},o.onerror=n,o.readAsDataURL(r)});try{return await e}catch{return}}function TF(r,e){var c,d;const t=r.split(","),n=(d=(c=t[0])==null?void 0:c.match(/:(.*?);/))==null?void 0:d[1],o=atob(t[1]);let i=o.length;const a=new Uint8Array(i);for(;i--;)a[i]=o.charCodeAt(i);return new File([a],e,{type:n})}const kF={toBase64:EF,toFile:TF};exports.ABase=Zr;exports.ABaseStyleKeys=Bx;exports.AButton=Zo;exports.AButtonStyleKeys=Fx;exports.AButtonTypes=$E;exports.ACheckBox=Yd;exports.ACheckBoxStyleKeys=qx;exports.AChip=F1;exports.AChipKeys=lw;exports.AChips=KT;exports.AClock=u5;exports.AColFrame=fw;exports.ADatePicker=q1;exports.ADatePickerStyleKeys=Qx;exports.ADatePickerTypes=B6;exports.ADateRangePicker=$1;exports.ADateRangePickerStyleKeys=ew;exports.ADialog=V6;exports.ADialogStyleKeys=Wx;exports.ADialogTypes=U6;exports.ADivideFrame=pw;exports.AEditor=pP;exports.AEditorStyleKeys=Hx;exports.AFileBox=nk;exports.AFileBoxStyleKeys=Kx;exports.AFileUploader=Ak;exports.AFloatMenu=mw;exports.AFloatMenuKeys=ow;exports.AFrameStyleKeys=nw;exports.AGrow=Fu;exports.AIcon=ln;exports.AIconButton=So;exports.AIconButtonStyleKeys=tw;exports.AIconButtonTypes=HE;exports.AIconHOC=Z4;exports.AIcons=P1;exports.AInput=$c;exports.AInputStyleKeys=zx;exports.AInputTypes=S5;exports.AListView=Pk;exports.AListViewStyleKeys=Xx;exports.ALoadingBorder=U1;exports.ALoadingBorderKeys=iw;exports.AMultiSelect=cR;exports.AMultiSelectStyleKeys=Vx;exports.ANumInput=Mk;exports.AOverflowFrame=Ya;exports.AProgressBar=Ax;exports.ARadioSelect=Zk;exports.ARadioSelectKeys=aw;exports.ARowFrame=Tn;exports.ASelect=Hc;exports.ASelectStyleKeys=Ux;exports.ASelectTypes=j5;exports.ASpace=kn;exports.AStepper=_R;exports.AStepperStyleKeys=Jx;exports.ASwitch=Ix;exports.ASwitchFrame=hw;exports.ASwitchStyleKeys=Zx;exports.ATab=bw;exports.ATabStyleKeys=Yx;exports.ATabTypes=PR;exports.ATable=W8;exports.ATableStyleKeys=rw;exports.AText=_w;exports.ATextArea=tI;exports.ATextAreaStyleKeys=$x;exports.ATextAreaTypes=eI;exports.AThemeButton=pT;exports.AThemes=$f;exports.ATooltip=Rx;exports.ATooltipStyleKeys=jx;exports.ATree=zj;exports.ATreeStyleKeys=Gx;exports.AWrap=zc;exports.AWrapKeys=sw;exports.AWrapTypes=ZE;exports.ApiContext=MC;exports.BodyStyleKeys=Px;exports.CreateADC=J6;exports.DefaultOptionRenderer=yw;exports.EDir12=sf;exports.EDir4=Io;exports.FileSizeTrans=Mu;exports.Icons=Wp;exports.IsCursorPointer=wx;exports.IsFixedShape=xx;exports.IsInteractive=Cx;exports.NoSelect=yx;exports.NoTransition=bx;exports.Resources=wr;exports.SetResources=cE;exports.alphanumericRegex=JT;exports.bound=zf;exports.cbF=Or;exports.changeSemanticMode=j1;exports.componentStyleKeys=sT;exports.createEvent=ku;exports.dateF=Zt;exports.dbF=ta;exports.defaultPredicate=ww;exports.dlgF=Q6;exports.emailIdRegex=e5;exports.emailRegex=QT;exports.fileF=kF;exports.getMonthsOptions=th;exports.getYearsOptions=H1;exports.hangulRegex=r5;exports.hexRegex=t5;exports.noHanguljamoRegex=o5;exports.noSpaceRegex=n5;exports.numF=vw;exports.objF=or;exports.paletteKeys=Mx;exports.paletteModes=Up;exports.passwordRegex=s5;exports.refinedDesignTokens=Do;exports.sF=Ze;exports.semanticKeys=Ox;exports.semanticModes=Zd;exports.setDir12Style=B1;exports.setDir12StyleElem=Tx;exports.specialCharRegex=i5;exports.strF=z1;exports.tableF=Il;exports.textMeasurement=Iu;exports.treeF=Rc;exports.useADialogCore=K6;exports.useADialogCores=Y6;exports.useDB=uw;exports.useEvent=Sw;exports.useInit=xw;exports.useLayoutDB=dw;exports.useValues=gn;exports.uuidRegex=a5;
|
364
|
+
`+de.prev}function yr(Ee,de){var nt=De(Ee),qe=[];if(nt){qe.length=Ee.length;for(var pt=0;pt<Ee.length;pt++)qe[pt]=et(Ee,pt)?de(Ee[pt],Ee):""}var wt=typeof q=="function"?q(Ee):[],_t;if(ee){_t={};for(var jt=0;jt<wt.length;jt++)_t["$"+wt[jt]]=wt[jt]}for(var Ot in Ee)et(Ee,Ot)&&(nt&&String(Number(Ot))===Ot&&Ot<Ee.length||ee&&_t["$"+Ot]instanceof Symbol||(j.call(/[^\w$]/,Ot)?qe.push(de(Ot,Ee)+": "+de(Ee[Ot],Ee)):qe.push(Ot+": "+de(Ee[Ot],Ee))));if(typeof q=="function")for(var ir=0;ir<wt.length;ir++)ne.call(Ee,wt[ir])&&qe.push("["+de(wt[ir])+"]: "+de(Ee[wt[ir]],Ee));return qe}return cm}var um,kb;function Gj(){if(kb)return um;kb=1;var r=ag(),e=df(),t=function(c,d,h){for(var p=c,m;(m=p.next)!=null;p=m)if(m.key===d)return p.next=m.next,h||(m.next=c.next,c.next=m),m},n=function(c,d){if(c){var h=t(c,d);return h&&h.value}},o=function(c,d,h){var p=t(c,d);p?p.value=h:c.next={key:d,next:c.next,value:h}},i=function(c,d){return c?!!t(c,d):!1},a=function(c,d){if(c)return t(c,d,!0)};return um=function(){var d,h={assert:function(p){if(!h.has(p))throw new e("Side channel does not contain "+r(p))},delete:function(p){var m=d&&d.next,g=a(d,p);return g&&m&&m===g&&(d=void 0),!!g},get:function(p){return n(d,p)},has:function(p){return i(d,p)},set:function(p,m){d||(d={next:void 0}),o(d,p,m)}};return h},um}var dm,Rb;function CC(){return Rb||(Rb=1,dm=Object),dm}var fm,Ib;function Zj(){return Ib||(Ib=1,fm=Error),fm}var hm,Mb;function Yj(){return Mb||(Mb=1,hm=EvalError),hm}var pm,Lb;function Kj(){return Lb||(Lb=1,pm=RangeError),pm}var gm,Db;function Xj(){return Db||(Db=1,gm=ReferenceError),gm}var mm,Ob;function Jj(){return Ob||(Ob=1,mm=SyntaxError),mm}var vm,Nb;function Qj(){return Nb||(Nb=1,vm=URIError),vm}var ym,Pb;function eF(){return Pb||(Pb=1,ym=Math.abs),ym}var bm,Bb;function tF(){return Bb||(Bb=1,bm=Math.floor),bm}var xm,jb;function rF(){return jb||(jb=1,xm=Math.max),xm}var wm,Fb;function nF(){return Fb||(Fb=1,wm=Math.min),wm}var Cm,zb;function oF(){return zb||(zb=1,Cm=Math.pow),Cm}var Sm,$b;function iF(){return $b||($b=1,Sm=Math.round),Sm}var _m,Hb;function sF(){return Hb||(Hb=1,_m=Number.isNaN||function(e){return e!==e}),_m}var Am,qb;function aF(){if(qb)return Am;qb=1;var r=sF();return Am=function(t){return r(t)||t===0?t:t<0?-1:1},Am}var Em,Wb;function lF(){return Wb||(Wb=1,Em=Object.getOwnPropertyDescriptor),Em}var Tm,Ub;function SC(){if(Ub)return Tm;Ub=1;var r=lF();if(r)try{r([],"length")}catch{r=null}return Tm=r,Tm}var km,Vb;function cF(){if(Vb)return km;Vb=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return km=r,km}var Rm,Gb;function uF(){return Gb||(Gb=1,Rm=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,t);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),Rm}var Im,Zb;function dF(){if(Zb)return Im;Zb=1;var r=typeof Symbol<"u"&&Symbol,e=uF();return Im=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Im}var Mm,Yb;function _C(){return Yb||(Yb=1,Mm=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Mm}var Lm,Kb;function AC(){if(Kb)return Lm;Kb=1;var r=CC();return Lm=r.getPrototypeOf||null,Lm}var Dm,Xb;function fF(){if(Xb)return Dm;Xb=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(d,h){for(var p=[],m=0;m<d.length;m+=1)p[m]=d[m];for(var g=0;g<h.length;g+=1)p[g+d.length]=h[g];return p},i=function(d,h){for(var p=[],m=h,g=0;m<d.length;m+=1,g+=1)p[g]=d[m];return p},a=function(c,d){for(var h="",p=0;p<c.length;p+=1)h+=c[p],p+1<c.length&&(h+=d);return h};return Dm=function(d){var h=this;if(typeof h!="function"||e.apply(h)!==n)throw new TypeError(r+h);for(var p=i(arguments,1),m,g=function(){if(this instanceof m){var A=h.apply(this,o(p,arguments));return Object(A)===A?A:this}return h.apply(d,o(p,arguments))},v=t(0,h.length-p.length),w=[],E=0;E<v;E++)w[E]="$"+E;if(m=Function("binder","return function ("+a(w,",")+"){ return binder.apply(this,arguments); }")(g),h.prototype){var _=function(){};_.prototype=h.prototype,m.prototype=new _,_.prototype=null}return m},Dm}var Om,Jb;function lg(){if(Jb)return Om;Jb=1;var r=fF();return Om=Function.prototype.bind||r,Om}var Nm,Qb;function Sv(){return Qb||(Qb=1,Nm=Function.prototype.call),Nm}var Pm,ex;function EC(){return ex||(ex=1,Pm=Function.prototype.apply),Pm}var Bm,tx;function hF(){return tx||(tx=1,Bm=typeof Reflect<"u"&&Reflect&&Reflect.apply),Bm}var jm,rx;function pF(){if(rx)return jm;rx=1;var r=lg(),e=EC(),t=Sv(),n=hF();return jm=n||r.call(t,e),jm}var Fm,nx;function TC(){if(nx)return Fm;nx=1;var r=lg(),e=df(),t=Sv(),n=pF();return Fm=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return n(r,t,i)},Fm}var zm,ox;function gF(){if(ox)return zm;ox=1;var r=TC(),e=SC(),t;try{t=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!t&&e&&e(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return zm=n&&typeof n.get=="function"?r([n.get]):typeof i=="function"?function(c){return i(c==null?c:o(c))}:!1,zm}var $m,ix;function mF(){if(ix)return $m;ix=1;var r=_C(),e=AC(),t=gF();return $m=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,$m}var Hm,sx;function vF(){if(sx)return Hm;sx=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=lg();return Hm=t.call(r,e),Hm}var qm,ax;function _v(){if(ax)return qm;ax=1;var r,e=CC(),t=Zj(),n=Yj(),o=Kj(),i=Xj(),a=Jj(),c=df(),d=Qj(),h=eF(),p=tF(),m=rF(),g=nF(),v=oF(),w=iF(),E=aF(),_=Function,A=function(Ue){try{return _('"use strict"; return ('+Ue+").constructor;")()}catch{}},k=SC(),D=cF(),I=function(){throw new c},P=k?function(){try{return arguments.callee,I}catch{try{return k(arguments,"callee").get}catch{return I}}}():I,j=dF()(),W=mF(),F=AC(),G=_C(),pe=EC(),B=Sv(),q={},V=typeof Uint8Array>"u"||!W?r:W(Uint8Array),ee={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":j&&W?W([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":q,"%AsyncGenerator%":q,"%AsyncGeneratorFunction%":q,"%AsyncIteratorPrototype%":q,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":q,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&W?W(W([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!W?r:W(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!W?r:W(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&W?W(""[Symbol.iterator]()):r,"%Symbol%":j?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":P,"%TypedArray%":V,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":pe,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":F,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":m,"%Math.min%":g,"%Math.pow%":v,"%Math.round%":w,"%Math.sign%":E,"%Reflect.getPrototypeOf%":G};if(W)try{null.error}catch(Ue){var ae=W(W(Ue));ee["%Error.prototype%"]=ae}var ne=function Ue(we){var Se;if(we==="%AsyncFunction%")Se=A("async function () {}");else if(we==="%GeneratorFunction%")Se=A("function* () {}");else if(we==="%AsyncGeneratorFunction%")Se=A("async function* () {}");else if(we==="%AsyncGenerator%"){var _e=Ue("%AsyncGeneratorFunction%");_e&&(Se=_e.prototype)}else if(we==="%AsyncIteratorPrototype%"){var Re=Ue("%AsyncGenerator%");Re&&W&&(Se=W(Re.prototype))}return ee[we]=Se,Se},oe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},le=lg(),ge=vF(),te=le.call(B,Array.prototype.concat),ie=le.call(pe,Array.prototype.splice),ue=le.call(B,String.prototype.replace),xe=le.call(B,String.prototype.slice),ke=le.call(B,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ae=/\\(\\)?/g,De=function(we){var Se=xe(we,0,1),_e=xe(we,-1);if(Se==="%"&&_e!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(_e==="%"&&Se!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Re=[];return ue(we,se,function(Me,tt,We,et){Re[Re.length]=We?ue(et,Ae,"$1"):tt||Me}),Re},Ge=function(we,Se){var _e=we,Re;if(ge(oe,_e)&&(Re=oe[_e],_e="%"+Re[0]+"%"),ge(ee,_e)){var Me=ee[_e];if(Me===q&&(Me=ne(_e)),typeof Me>"u"&&!Se)throw new c("intrinsic "+we+" exists, but is not available. Please file an issue!");return{alias:Re,name:_e,value:Me}}throw new a("intrinsic "+we+" does not exist!")};return qm=function(we,Se){if(typeof we!="string"||we.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Se!="boolean")throw new c('"allowMissing" argument must be a boolean');if(ke(/^%?[^%]*%?$/,we)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _e=De(we),Re=_e.length>0?_e[0]:"",Me=Ge("%"+Re+"%",Se),tt=Me.name,We=Me.value,et=!1,st=Me.alias;st&&(Re=st[0],ie(_e,te([0,1],st)));for(var ze=1,Ke=!0;ze<_e.length;ze+=1){var bt=_e[ze],ht=xe(bt,0,1),dt=xe(bt,-1);if((ht==='"'||ht==="'"||ht==="`"||dt==='"'||dt==="'"||dt==="`")&&ht!==dt)throw new a("property names with quotes must have matching quotes");if((bt==="constructor"||!Ke)&&(et=!0),Re+="."+bt,tt="%"+Re+"%",ge(ee,tt))We=ee[tt];else if(We!=null){if(!(bt in We)){if(!Se)throw new c("base intrinsic for "+we+" exists, but the property is not available.");return}if(k&&ze+1>=_e.length){var St=k(We,bt);Ke=!!St,Ke&&"get"in St&&!("originalValue"in St.get)?We=St.get:We=We[bt]}else Ke=ge(We,bt),We=We[bt];Ke&&!et&&(ee[tt]=We)}}return We},qm}var Wm,lx;function kC(){if(lx)return Wm;lx=1;var r=_v(),e=TC(),t=e([r("%String.prototype.indexOf%")]);return Wm=function(o,i){var a=r(o,!!i);return typeof a=="function"&&t(o,".prototype.")>-1?e([a]):a},Wm}var Um,cx;function RC(){if(cx)return Um;cx=1;var r=_v(),e=kC(),t=ag(),n=df(),o=r("%Map%",!0),i=e("Map.prototype.get",!0),a=e("Map.prototype.set",!0),c=e("Map.prototype.has",!0),d=e("Map.prototype.delete",!0),h=e("Map.prototype.size",!0);return Um=!!o&&function(){var m,g={assert:function(v){if(!g.has(v))throw new n("Side channel does not contain "+t(v))},delete:function(v){if(m){var w=d(m,v);return h(m)===0&&(m=void 0),w}return!1},get:function(v){if(m)return i(m,v)},has:function(v){return m?c(m,v):!1},set:function(v,w){m||(m=new o),a(m,v,w)}};return g},Um}var Vm,ux;function yF(){if(ux)return Vm;ux=1;var r=_v(),e=kC(),t=ag(),n=RC(),o=df(),i=r("%WeakMap%",!0),a=e("WeakMap.prototype.get",!0),c=e("WeakMap.prototype.set",!0),d=e("WeakMap.prototype.has",!0),h=e("WeakMap.prototype.delete",!0);return Vm=i?function(){var m,g,v={assert:function(w){if(!v.has(w))throw new o("Side channel does not contain "+t(w))},delete:function(w){if(i&&w&&(typeof w=="object"||typeof w=="function")){if(m)return h(m,w)}else if(n&&g)return g.delete(w);return!1},get:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?a(m,w):g&&g.get(w)},has:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?d(m,w):!!g&&g.has(w)},set:function(w,E){i&&w&&(typeof w=="object"||typeof w=="function")?(m||(m=new i),c(m,w,E)):n&&(g||(g=n()),g.set(w,E))}};return v}:n,Vm}var Gm,dx;function bF(){if(dx)return Gm;dx=1;var r=df(),e=ag(),t=Gj(),n=RC(),o=yF(),i=o||n||t;return Gm=function(){var c,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+e(h))},delete:function(h){return!!c&&c.delete(h)},get:function(h){return c&&c.get(h)},has:function(h){return!!c&&c.has(h)},set:function(h,p){c||(c=i()),c.set(h,p)}};return d},Gm}var Zm,fx;function Av(){if(fx)return Zm;fx=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Zm={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},Zm}var Ym,hx;function IC(){if(hx)return Ym;hx=1;var r=Av(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var _=[],A=0;A<256;++A)_.push("%"+((A<16?"0":"")+A.toString(16)).toUpperCase());return _}(),o=function(A){for(;A.length>1;){var k=A.pop(),D=k.obj[k.prop];if(t(D)){for(var I=[],P=0;P<D.length;++P)typeof D[P]<"u"&&I.push(D[P]);k.obj[k.prop]=I}}},i=function(A,k){for(var D=k&&k.plainObjects?{__proto__:null}:{},I=0;I<A.length;++I)typeof A[I]<"u"&&(D[I]=A[I]);return D},a=function _(A,k,D){if(!k)return A;if(typeof k!="object"&&typeof k!="function"){if(t(A))A.push(k);else if(A&&typeof A=="object")(D&&(D.plainObjects||D.allowPrototypes)||!e.call(Object.prototype,k))&&(A[k]=!0);else return[A,k];return A}if(!A||typeof A!="object")return[A].concat(k);var I=A;return t(A)&&!t(k)&&(I=i(A,D)),t(A)&&t(k)?(k.forEach(function(P,j){if(e.call(A,j)){var W=A[j];W&&typeof W=="object"&&P&&typeof P=="object"?A[j]=_(W,P,D):A.push(P)}else A[j]=P}),A):Object.keys(k).reduce(function(P,j){var W=k[j];return e.call(P,j)?P[j]=_(P[j],W,D):P[j]=W,P},I)},c=function(A,k){return Object.keys(k).reduce(function(D,I){return D[I]=k[I],D},A)},d=function(_,A,k){var D=_.replace(/\+/g," ");if(k==="iso-8859-1")return D.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(D)}catch{return D}},h=1024,p=function(A,k,D,I,P){if(A.length===0)return A;var j=A;if(typeof A=="symbol"?j=Symbol.prototype.toString.call(A):typeof A!="string"&&(j=String(A)),D==="iso-8859-1")return escape(j).replace(/%u[0-9a-f]{4}/gi,function(V){return"%26%23"+parseInt(V.slice(2),16)+"%3B"});for(var W="",F=0;F<j.length;F+=h){for(var G=j.length>=h?j.slice(F,F+h):j,pe=[],B=0;B<G.length;++B){var q=G.charCodeAt(B);if(q===45||q===46||q===95||q===126||q>=48&&q<=57||q>=65&&q<=90||q>=97&&q<=122||P===r.RFC1738&&(q===40||q===41)){pe[pe.length]=G.charAt(B);continue}if(q<128){pe[pe.length]=n[q];continue}if(q<2048){pe[pe.length]=n[192|q>>6]+n[128|q&63];continue}if(q<55296||q>=57344){pe[pe.length]=n[224|q>>12]+n[128|q>>6&63]+n[128|q&63];continue}B+=1,q=65536+((q&1023)<<10|G.charCodeAt(B)&1023),pe[pe.length]=n[240|q>>18]+n[128|q>>12&63]+n[128|q>>6&63]+n[128|q&63]}W+=pe.join("")}return W},m=function(A){for(var k=[{obj:{o:A},prop:"o"}],D=[],I=0;I<k.length;++I)for(var P=k[I],j=P.obj[P.prop],W=Object.keys(j),F=0;F<W.length;++F){var G=W[F],pe=j[G];typeof pe=="object"&&pe!==null&&D.indexOf(pe)===-1&&(k.push({obj:j,prop:G}),D.push(pe))}return o(k),A},g=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},v=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},w=function(A,k){return[].concat(A,k)},E=function(A,k){if(t(A)){for(var D=[],I=0;I<A.length;I+=1)D.push(k(A[I]));return D}return k(A)};return Ym={arrayToObject:i,assign:c,combine:w,compact:m,decode:d,encode:p,isBuffer:v,isRegExp:g,maybeMap:E,merge:a},Ym}var Km,px;function xF(){if(px)return Km;px=1;var r=bF(),e=IC(),t=Av(),n=Object.prototype.hasOwnProperty,o={brackets:function(_){return _+"[]"},comma:"comma",indices:function(_,A){return _+"["+A+"]"},repeat:function(_){return _}},i=Array.isArray,a=Array.prototype.push,c=function(E,_){a.apply(E,i(_)?_:[_])},d=Date.prototype.toISOString,h=t.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:t.formatters[h],indices:!1,serializeDate:function(_){return d.call(_)},skipNulls:!1,strictNullHandling:!1},m=function(_){return typeof _=="string"||typeof _=="number"||typeof _=="boolean"||typeof _=="symbol"||typeof _=="bigint"},g={},v=function E(_,A,k,D,I,P,j,W,F,G,pe,B,q,V,ee,ae,ne,oe){for(var le=_,ge=oe,te=0,ie=!1;(ge=ge.get(g))!==void 0&&!ie;){var ue=ge.get(_);if(te+=1,typeof ue<"u"){if(ue===te)throw new RangeError("Cyclic object value");ie=!0}typeof ge.get(g)>"u"&&(te=0)}if(typeof G=="function"?le=G(A,le):le instanceof Date?le=q(le):k==="comma"&&i(le)&&(le=e.maybeMap(le,function(tt){return tt instanceof Date?q(tt):tt})),le===null){if(P)return F&&!ae?F(A,p.encoder,ne,"key",V):A;le=""}if(m(le)||e.isBuffer(le)){if(F){var xe=ae?A:F(A,p.encoder,ne,"key",V);return[ee(xe)+"="+ee(F(le,p.encoder,ne,"value",V))]}return[ee(A)+"="+ee(String(le))]}var ke=[];if(typeof le>"u")return ke;var se;if(k==="comma"&&i(le))ae&&F&&(le=e.maybeMap(le,F)),se=[{value:le.length>0?le.join(",")||null:void 0}];else if(i(G))se=G;else{var Ae=Object.keys(le);se=pe?Ae.sort(pe):Ae}var De=W?String(A).replace(/\./g,"%2E"):String(A),Ge=D&&i(le)&&le.length===1?De+"[]":De;if(I&&i(le)&&le.length===0)return Ge+"[]";for(var Ue=0;Ue<se.length;++Ue){var we=se[Ue],Se=typeof we=="object"&&we&&typeof we.value<"u"?we.value:le[we];if(!(j&&Se===null)){var _e=B&&W?String(we).replace(/\./g,"%2E"):String(we),Re=i(le)?typeof k=="function"?k(Ge,_e):Ge:Ge+(B?"."+_e:"["+_e+"]");oe.set(_,te);var Me=r();Me.set(g,oe),c(ke,E(Se,Re,k,D,I,P,j,W,k==="comma"&&ae&&i(le)?null:F,G,pe,B,q,V,ee,ae,ne,Me))}}return ke},w=function(_){if(!_)return p;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.encodeDotInKeys<"u"&&typeof _.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(_.encoder!==null&&typeof _.encoder<"u"&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var A=_.charset||p.charset;if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var k=t.default;if(typeof _.format<"u"){if(!n.call(t.formatters,_.format))throw new TypeError("Unknown format option provided.");k=_.format}var D=t.formatters[k],I=p.filter;(typeof _.filter=="function"||i(_.filter))&&(I=_.filter);var P;if(_.arrayFormat in o?P=_.arrayFormat:"indices"in _?P=_.indices?"indices":"repeat":P=p.arrayFormat,"commaRoundTrip"in _&&typeof _.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof _.allowDots>"u"?_.encodeDotInKeys===!0?!0:p.allowDots:!!_.allowDots;return{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:p.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:P,charset:A,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!_.commaRoundTrip,delimiter:typeof _.delimiter>"u"?p.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:p.encode,encodeDotInKeys:typeof _.encodeDotInKeys=="boolean"?_.encodeDotInKeys:p.encodeDotInKeys,encoder:typeof _.encoder=="function"?_.encoder:p.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:p.encodeValuesOnly,filter:I,format:k,formatter:D,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:p.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:p.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:p.strictNullHandling}};return Km=function(E,_){var A=E,k=w(_),D,I;typeof k.filter=="function"?(I=k.filter,A=I("",A)):i(k.filter)&&(I=k.filter,D=I);var P=[];if(typeof A!="object"||A===null)return"";var j=o[k.arrayFormat],W=j==="comma"&&k.commaRoundTrip;D||(D=Object.keys(A)),k.sort&&D.sort(k.sort);for(var F=r(),G=0;G<D.length;++G){var pe=D[G],B=A[pe];k.skipNulls&&B===null||c(P,v(B,pe,j,W,k.allowEmptyArrays,k.strictNullHandling,k.skipNulls,k.encodeDotInKeys,k.encode?k.encoder:null,k.filter,k.sort,k.allowDots,k.serializeDate,k.format,k.formatter,k.encodeValuesOnly,k.charset,F))}var q=P.join(k.delimiter),V=k.addQueryPrefix===!0?"?":"";return k.charsetSentinel&&(k.charset==="iso-8859-1"?V+="utf8=%26%2310003%3B&":V+="utf8=%E2%9C%93&"),q.length>0?V+q:""},Km}var Xm,gx;function wF(){if(gx)return Xm;gx=1;var r=IC(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(g){return g.replace(/&#(\d+);/g,function(v,w){return String.fromCharCode(parseInt(w,10))})},i=function(g,v,w){if(g&&typeof g=="string"&&v.comma&&g.indexOf(",")>-1)return g.split(",");if(v.throwOnLimitExceeded&&w>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return g},a="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(v,w){var E={__proto__:null},_=w.ignoreQueryPrefix?v.replace(/^\?/,""):v;_=_.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var A=w.parameterLimit===1/0?void 0:w.parameterLimit,k=_.split(w.delimiter,w.throwOnLimitExceeded?A+1:A);if(w.throwOnLimitExceeded&&k.length>A)throw new RangeError("Parameter limit exceeded. Only "+A+" parameter"+(A===1?"":"s")+" allowed.");var D=-1,I,P=w.charset;if(w.charsetSentinel)for(I=0;I<k.length;++I)k[I].indexOf("utf8=")===0&&(k[I]===c?P="utf-8":k[I]===a&&(P="iso-8859-1"),D=I,I=k.length);for(I=0;I<k.length;++I)if(I!==D){var j=k[I],W=j.indexOf("]="),F=W===-1?j.indexOf("="):W+1,G,pe;F===-1?(G=w.decoder(j,n.decoder,P,"key"),pe=w.strictNullHandling?null:""):(G=w.decoder(j.slice(0,F),n.decoder,P,"key"),pe=r.maybeMap(i(j.slice(F+1),w,t(E[G])?E[G].length:0),function(q){return w.decoder(q,n.decoder,P,"value")})),pe&&w.interpretNumericEntities&&P==="iso-8859-1"&&(pe=o(String(pe))),j.indexOf("[]=")>-1&&(pe=t(pe)?[pe]:pe);var B=e.call(E,G);B&&w.duplicates==="combine"?E[G]=r.combine(E[G],pe):(!B||w.duplicates==="last")&&(E[G]=pe)}return E},h=function(g,v,w,E){var _=0;if(g.length>0&&g[g.length-1]==="[]"){var A=g.slice(0,-1).join("");_=Array.isArray(v)&&v[A]?v[A].length:0}for(var k=E?v:i(v,w,_),D=g.length-1;D>=0;--D){var I,P=g[D];if(P==="[]"&&w.parseArrays)I=w.allowEmptyArrays&&(k===""||w.strictNullHandling&&k===null)?[]:r.combine([],k);else{I=w.plainObjects?{__proto__:null}:{};var j=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,W=w.decodeDotInKeys?j.replace(/%2E/g,"."):j,F=parseInt(W,10);!w.parseArrays&&W===""?I={0:k}:!isNaN(F)&&P!==W&&String(F)===W&&F>=0&&w.parseArrays&&F<=w.arrayLimit?(I=[],I[F]=k):W!=="__proto__"&&(I[W]=k)}k=I}return k},p=function(v,w,E,_){if(v){var A=E.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,k=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,I=E.depth>0&&k.exec(A),P=I?A.slice(0,I.index):A,j=[];if(P){if(!E.plainObjects&&e.call(Object.prototype,P)&&!E.allowPrototypes)return;j.push(P)}for(var W=0;E.depth>0&&(I=D.exec(A))!==null&&W<E.depth;){if(W+=1,!E.plainObjects&&e.call(Object.prototype,I[1].slice(1,-1))&&!E.allowPrototypes)return;j.push(I[1])}if(I){if(E.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+E.depth+" and strictDepth is true");j.push("["+A.slice(I.index)+"]")}return h(j,w,E,_)}},m=function(v){if(!v)return n;if(typeof v.allowEmptyArrays<"u"&&typeof v.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof v.decodeDotInKeys<"u"&&typeof v.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(v.decoder!==null&&typeof v.decoder<"u"&&typeof v.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof v.charset<"u"&&v.charset!=="utf-8"&&v.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof v.throwOnLimitExceeded<"u"&&typeof v.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var w=typeof v.charset>"u"?n.charset:v.charset,E=typeof v.duplicates>"u"?n.duplicates:v.duplicates;if(E!=="combine"&&E!=="first"&&E!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var _=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:n.allowDots:!!v.allowDots;return{allowDots:_,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:n.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:n.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:n.arrayLimit,charset:w,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:n.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:n.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:n.decoder,delimiter:typeof v.delimiter=="string"||r.isRegExp(v.delimiter)?v.delimiter:n.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:n.depth,duplicates:E,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:n.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:n.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:n.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return Xm=function(g,v){var w=m(v);if(g===""||g===null||typeof g>"u")return w.plainObjects?{__proto__:null}:{};for(var E=typeof g=="string"?d(g,w):g,_=w.plainObjects?{__proto__:null}:{},A=Object.keys(E),k=0;k<A.length;++k){var D=A[k],I=p(D,E[D],w,typeof g=="string");_=r.merge(_,I,w)}return w.allowSparse===!0?_:r.compact(_)},Xm}var Jm,mx;function CF(){if(mx)return Jm;mx=1;var r=xF(),e=wF(),t=Av();return Jm={formats:t,parse:e,stringify:r},Jm}var SF=CF();const _F=of(SF),D1={StoredContexts:{},defaultHandler:()=>{}},MC={Init:()=>{},Create:r=>{const e=r.method+r.url;return D1.StoredContexts[e]=r,AF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{D1.defaultHandler=r}};function AF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:o,method:i,stream:a,paramType:c}=r;const{po:d,onStream:h,onStreamEnd:p,noDefaultHandle:m=[]}=n??{};(c==="query"||i==="GET")&&d!==void 0&&(o+="?"+_F.stringify(d,{arrayFormat:"comma"}));const g={method:i,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(c==="form"){const E=new FormData;if(d!==void 0)for(const _ in d){const A=d[_];E.append(_,A)}g.body=E}else(c==="body"||c===void 0&&r.method!=="GET")&&(g.body=JSON.stringify(d),g.headers["Content-Type"]="application/json;charset=UTF-8");let v={errorCode:0,message:""};const w=Date.now();o=MC.FetchBaseUrl()+o;try{let E=await fetch(o,g);if(E.ok===!1)return v.errorCode=E.status,v.message=E.statusText,v;{const _=new TextDecoder("utf-8");if(a){if(E.body){let A=E.body.getReader(),k="";for(;;){const D=await A.read();if(D.done)break;const I=_.decode(D.value).trim();k+=I;let P=null;try{const j=I.split("\0");let W=j[j.length-1];for(let F=j.length-2;F>=0;F--)if(j[F].trim().length!==0){W=j[F];break}P=await JSON.parse(W)}catch{try{const W=k.split("\0");let F=W[W.length-1];for(let G=W.length-2;G>=0;G--)if(W[G].trim().length!==0){F=W[G];break}P=await JSON.parse(F)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?v.errorCode=P.err_code:(v.errorCode=0,v.data=P,k="",D.done?p==null||p(v.data):h==null||h(v.data))),D.done)break}}}else if(E.body){const k=await E.body.getReader().read(),D=_.decode(k.value);if(D==="null")return v;{let I=await JSON.parse(D.replaceAll("\0",""));Object.keys(I).includes("err_code")?(v.errorCode=I.err_code,v.message=I.err_msg):v.data=I}}}}catch(E){console.warn(E),v.errorCode=-1,v.message=E.message}return console.debug(`${e} ${Date.now()-w}ms`),m!==!0&&await D1.defaultHandler(v,m),v}}}async function EF(r){const e=new Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{o.result?typeof o.result=="string"?t(o.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},o.onerror=n,o.readAsDataURL(r)});try{return await e}catch{return}}function TF(r,e){var c,d;const t=r.split(","),n=(d=(c=t[0])==null?void 0:c.match(/:(.*?);/))==null?void 0:d[1],o=atob(t[1]);let i=o.length;const a=new Uint8Array(i);for(;i--;)a[i]=o.charCodeAt(i);return new File([a],e,{type:n})}const kF={toBase64:EF,toFile:TF};exports.ABase=Zr;exports.ABaseStyleKeys=Bx;exports.AButton=Zo;exports.AButtonStyleKeys=Fx;exports.AButtonTypes=$E;exports.ACheckBox=Yd;exports.ACheckBoxStyleKeys=qx;exports.AChip=F1;exports.AChipKeys=lw;exports.AChips=KT;exports.AClock=u5;exports.AColFrame=fw;exports.ADatePicker=q1;exports.ADatePickerStyleKeys=Qx;exports.ADatePickerTypes=B6;exports.ADateRangePicker=$1;exports.ADateRangePickerStyleKeys=ew;exports.ADialog=V6;exports.ADialogStyleKeys=Wx;exports.ADialogTypes=U6;exports.ADivideFrame=pw;exports.AEditor=pP;exports.AEditorStyleKeys=Hx;exports.AFileBox=nk;exports.AFileBoxStyleKeys=Kx;exports.AFileUploader=Ak;exports.AFloatMenu=mw;exports.AFloatMenuKeys=ow;exports.AFrameStyleKeys=nw;exports.AGrow=Fu;exports.AIcon=ln;exports.AIconButton=So;exports.AIconButtonStyleKeys=tw;exports.AIconButtonTypes=HE;exports.AIconHOC=Z4;exports.AIcons=P1;exports.AInput=$c;exports.AInputStyleKeys=zx;exports.AInputTypes=S5;exports.AListView=Pk;exports.AListViewStyleKeys=Xx;exports.ALoadingBorder=U1;exports.ALoadingBorderKeys=iw;exports.AMultiSelect=cR;exports.AMultiSelectStyleKeys=Vx;exports.ANumInput=Mk;exports.AOverflowFrame=Ya;exports.AProgressBar=Ax;exports.ARadioSelect=Zk;exports.ARadioSelectKeys=aw;exports.ARowFrame=Tn;exports.ASelect=Hc;exports.ASelectStyleKeys=Ux;exports.ASelectTypes=j5;exports.ASpace=kn;exports.AStepper=_R;exports.AStepperStyleKeys=Jx;exports.ASwitch=Ix;exports.ASwitchFrame=hw;exports.ASwitchStyleKeys=Zx;exports.ATab=bw;exports.ATabStyleKeys=Yx;exports.ATabTypes=PR;exports.ATable=W8;exports.ATableStyleKeys=rw;exports.AText=_w;exports.ATextArea=tI;exports.ATextAreaStyleKeys=$x;exports.ATextAreaTypes=eI;exports.AThemeButton=pT;exports.AThemes=$f;exports.ATooltip=Rx;exports.ATooltipStyleKeys=jx;exports.ATree=zj;exports.ATreeStyleKeys=Gx;exports.AWrap=zc;exports.AWrapKeys=sw;exports.AWrapTypes=ZE;exports.ApiContext=MC;exports.BodyStyleKeys=Px;exports.CreateADC=J6;exports.DefaultOptionRenderer=yw;exports.EDir12=sf;exports.EDir4=Io;exports.FileSizeTrans=Mu;exports.Icons=Wp;exports.IsCursorPointer=wx;exports.IsFixedShape=xx;exports.IsInteractive=Cx;exports.NoSelect=yx;exports.NoTransition=bx;exports.Resources=vr;exports.SetResources=cE;exports.alphanumericRegex=JT;exports.bound=zf;exports.cbF=Or;exports.changeSemanticMode=j1;exports.componentStyleKeys=sT;exports.createEvent=ku;exports.dateF=Zt;exports.dbF=ta;exports.defaultPredicate=ww;exports.dlgF=Q6;exports.emailIdRegex=e5;exports.emailRegex=QT;exports.fileF=kF;exports.getMonthsOptions=th;exports.getYearsOptions=H1;exports.hangulRegex=r5;exports.hexRegex=t5;exports.noHanguljamoRegex=o5;exports.noSpaceRegex=n5;exports.numF=vw;exports.objF=or;exports.paletteKeys=Mx;exports.paletteModes=Up;exports.passwordRegex=s5;exports.refinedDesignTokens=Do;exports.sF=Ze;exports.semanticKeys=Ox;exports.semanticModes=Zd;exports.setDir12Style=B1;exports.setDir12StyleElem=Tx;exports.specialCharRegex=i5;exports.strF=z1;exports.tableF=Il;exports.textMeasurement=Iu;exports.treeF=Rc;exports.useADialogCore=K6;exports.useADialogCores=Y6;exports.useDB=uw;exports.useEvent=Sw;exports.useInit=xw;exports.useLayoutDB=dw;exports.useValues=gn;exports.uuidRegex=a5;
|